/* ============================================================
   POMSKY CHIOTS — Frontend styles
   DA : blanc cassé #FAF7F2 · bordeaux #7B1E3C · or #C9A84C
   ============================================================ */

:root {
  --pc-bordeaux:  #7B1E3C;
  --pc-bordeaux2: #9B2E52;
  --pc-or:        #C9A84C;
  --pc-or2:       #D4B96A;
  --pc-blanc:     #FAF7F2;
  --pc-gris:      #EDE7DE;
  --pc-dark:      #2C1810;
  --pc-text:      #4A3028;
  --pc-radius:    16px;
  --pc-shadow:    0 4px 20px rgba(44,24,16,.08);
  --pc-font-titre: 'Cormorant Garamond', Georgia, serif;
  --pc-font:       'Nunito', 'Segoe UI', sans-serif;
}

.pc-archive-wrap,
.pc-single-wrap {
  font-family: var(--pc-font);
  color: var(--pc-text);
  overflow-x: hidden;
}

/* ── Décor flou discret ───────────────────────────── */
.pc-splash {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .06;
  pointer-events: none;
  z-index: 0;
}
.pc-splash--1 { width: 500px; height: 500px; background: var(--pc-bordeaux); top: -80px;   left: -150px; }
.pc-splash--2 { width: 380px; height: 380px; background: var(--pc-or);       top: 300px;   right: -120px; }
.pc-splash--3 { width: 280px; height: 280px; background: var(--pc-bordeaux); bottom: 0;    left: 20%; }
.pc-splash--a { width: 420px; height: 420px; background: var(--pc-bordeaux); top: -100px;  right: -100px; }
.pc-splash--b { width: 260px; height: 260px; background: var(--pc-or);       bottom: 60px; left: -60px; }

/* ════════════════════════════════════════════════════
   ARCHIVE
   ════════════════════════════════════════════════════ */

.pc-archive-wrap {
  padding: 0 20px 80px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.pc-archive-hero {
  text-align: center;
  padding: 48px 20px 36px;
  position: relative;
  z-index: 1;
}

.pc-archive-title {
  font-family: var(--pc-font-titre);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--pc-dark);
  line-height: 1.15;
  margin: 0;
  letter-spacing: .02em;
}

.pc-archive-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--pc-bordeaux), var(--pc-or));
  margin: 14px auto 0;
}

.pc-archive-subtitle {
  font-size: 1rem;
  color: #8a6a5e;
  max-width: 480px;
  margin: 20px auto 0;
  line-height: 1.65;
  font-family: var(--pc-font-titre);
  font-style: italic;
}

/* Filtres */
.pc-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
}

.pc-filter-btn {
  padding: 7px 20px;
  border-radius: 50px;
  border: 1.5px solid var(--pc-gris);
  background: white;
  color: #8a6a5e;
  font-family: var(--pc-font);
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s ease;
}
.pc-filter-btn:hover {
  border-color: var(--pc-bordeaux);
  color: var(--pc-bordeaux);
}
.pc-filter-btn.active {
  border-color: var(--pc-bordeaux);
  background: var(--pc-bordeaux);
  color: white;
  box-shadow: 0 3px 12px rgba(123,30,60,.25);
}

/* Grille */
.pc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  position: relative;
  z-index: 1;
}

/* Carte */
.pc-card {
  border-radius: var(--pc-radius);
  overflow: hidden;
  background: white;
  box-shadow: var(--pc-shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.pc-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(44,24,16,.14);
}
.pc-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.pc-card-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--pc-gris);
}
.pc-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.pc-card:hover .pc-card-img { transform: scale(1.04); }

.pc-card-statut {
  position: absolute;
  bottom: 10px;
  right: 10px;
  padding: 4px 11px;
  border-radius: 50px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  backdrop-filter: blur(4px);
}
.pc-card-statut--green  { background: rgba(212,237,218,.92); color: #155724; }
.pc-card-statut--orange { background: rgba(255,243,205,.92); color: #856404; }
.pc-card-statut--gray   { background: rgba(222,215,207,.92); color: #5a4030; }

.pc-card-body { padding: 14px 18px 18px; }

.pc-card-accent-bar {
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--pc-bordeaux), var(--pc-or));
  margin-bottom: 10px;
  width: 32px;
  transition: width .3s ease;
}
.pc-card:hover .pc-card-accent-bar { width: 60px; }

.pc-card-name {
  font-family: var(--pc-font-titre);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--pc-dark);
}

.pc-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.pc-tag {
  display: inline-block;
  padding: 2px 9px;
  background: var(--pc-blanc);
  border-radius: 50px;
  font-size: .75rem;
  color: #7a5040;
  border: 1px solid var(--pc-gris);
}
.pc-tag--color {
  background: rgba(201,168,76,.1);
  border-color: rgba(201,168,76,.3);
  color: #7a5a10;
}

/* Empty */
.pc-empty {
  text-align: center;
  padding: 80px 20px;
  position: relative;
  z-index: 1;
}
.pc-empty-icon { font-size: 3.5rem; margin-bottom: 14px; }
.pc-empty p { font-size: 1rem; color: #8a7060; line-height: 1.7; }
.pc-empty a { color: var(--pc-bordeaux); font-weight: 600; }

/* ════════════════════════════════════════════════════
   SINGLE FICHE CHIOT
   ════════════════════════════════════════════════════ */

.pc-single-wrap {
  padding: 0 20px 80px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.pc-breadcrumb {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 20px 0 28px;
  font-size: .85rem;
  color: #bbb;
  position: relative;
  z-index: 1;
}
.pc-breadcrumb a { color: var(--pc-bordeaux); text-decoration: none; }
.pc-breadcrumb a:hover { text-decoration: underline; }

.pc-single-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: start;
  position: relative;
  z-index: 1;
}
@media (max-width: 768px) {
  .pc-single-inner { grid-template-columns: 1fr; gap: 28px; }
}

/* Galerie */
.pc-single-gallery { position: sticky; top: 90px; }

.pc-main-photo {
  position: relative;
  border-radius: var(--pc-radius);
  overflow: hidden;
  background: var(--pc-gris);
  aspect-ratio: 1;
  cursor: zoom-in;
  box-shadow: 0 8px 30px rgba(44,24,16,.12);
}
.pc-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
  display: block;
}
.pc-main-photo:hover .pc-main-img { transform: scale(1.02); }

.pc-zoom-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.88);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pc-dark);
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  transition: background .2s;
}
.pc-zoom-btn:hover { background: white; }

.pc-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.pc-thumb {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  border: 2.5px solid transparent;
  cursor: pointer;
  padding: 0;
  background: none;
  transition: border-color .2s, transform .2s;
}
.pc-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pc-thumb:hover { transform: translateY(-2px); border-color: var(--pc-or); }
.pc-thumb.active { border-color: var(--pc-bordeaux); }

/* Infos */
.pc-single-infos { padding-top: 8px; }
.pc-single-header { margin-bottom: 18px; }

.pc-statut-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  margin-bottom: 12px;
}
.pc-statut-badge--green  { background: #d4edda; color: #155724; }
.pc-statut-badge--orange { background: #fff3cd; color: #856404; }
.pc-statut-badge--gray   { background: var(--pc-gris); color: #5a4030; }

.pc-single-name {
  font-family: var(--pc-font-titre);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  color: var(--pc-dark);
  margin: 0;
  line-height: 1.1;
}

.pc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 26px;
}

.pc-chip {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 12px;
  font-family: var(--pc-font);
  font-size: .9rem;
  font-weight: 600;
}
.pc-chip-icon { font-size: 1.1rem; }
.pc-chip--sexe    { background: rgba(123,30,60,.08);  border: 1.5px solid rgba(123,30,60,.2);  color: var(--pc-bordeaux); }
.pc-chip--gen     { background: rgba(201,168,76,.1);  border: 1.5px solid rgba(201,168,76,.3); color: #7a5a10; }
.pc-chip--couleur { background: rgba(44,24,16,.05);   border: 1.5px solid rgba(44,24,16,.12);  color: var(--pc-dark); }

.pc-description {
  background: white;
  border-radius: var(--pc-radius);
  padding: 20px 24px;
  box-shadow: var(--pc-shadow);
  margin-bottom: 24px;
  border-left: 3px solid var(--pc-or);
}
.pc-desc-title {
  font-family: var(--pc-font);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #bbb;
  margin: 0 0 10px;
}
.pc-description p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--pc-text);
  margin: 0;
}

/* CTA */
.pc-cta {
  background: linear-gradient(135deg, var(--pc-bordeaux) 0%, #4A0E22 100%);
  border-radius: var(--pc-radius);
  padding: 24px;
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}
.pc-cta::before {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 120px; height: 120px;
  background: rgba(201,168,76,.15);
  border-radius: 50%;
}
.pc-cta-text {
  color: white;
  font-size: 1rem;
  margin: 0 0 14px;
  position: relative;
}
.pc-cta-reserved {
  color: rgba(255,255,255,.85);
  font-size: .9rem;
  margin: 0 0 14px;
  position: relative;
}

.pc-btn-contact {
  display: inline-block;
  padding: 12px 30px;
  background: var(--pc-or);
  color: var(--pc-dark);
  border-radius: 50px;
  font-family: var(--pc-font);
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s, background .2s;
  box-shadow: 0 3px 15px rgba(0,0,0,.15);
  position: relative;
}
.pc-btn-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(0,0,0,.2);
  background: var(--pc-or2);
  color: var(--pc-dark);
}
.pc-btn-contact--secondary {
  background: rgba(255,255,255,.15);
  color: white;
  border: 2px solid rgba(255,255,255,.6);
}
.pc-btn-contact--secondary:hover {
  background: white;
  color: var(--pc-bordeaux);
}

.pc-back-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--pc-bordeaux);
  font-weight: 600;
  text-decoration: none;
  font-size: .9rem;
}
.pc-back-link:hover { text-decoration: underline; }

/* ════════════════════════════════════════════════════
   LIGHTBOX
   ════════════════════════════════════════════════════ */

.pc-lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(20,10,8,.92);
  z-index: 9998;
  backdrop-filter: blur(8px);
}
.pc-lightbox-overlay.active { display: block; }

.pc-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.pc-lightbox.active { display: flex; }

.pc-lightbox-img-wrap { max-width: 90vw; max-height: 85vh; display: flex; align-items: center; justify-content: center; }
.pc-lightbox-img { max-width: 100%; max-height: 85vh; border-radius: 10px; object-fit: contain; display: block; }

.pc-lightbox-close {
  position: fixed; top: 18px; right: 22px;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,.12); border: none; color: white;
  font-size: 1.6rem; cursor: pointer; display: flex;
  align-items: center; justify-content: center;
  transition: background .2s; line-height: 1;
}
.pc-lightbox-close:hover { background: rgba(255,255,255,.25); }

.pc-lightbox-prev,
.pc-lightbox-next {
  position: fixed; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.12); border: none; color: white;
  font-size: 1.8rem; cursor: pointer; display: flex;
  align-items: center; justify-content: center;
  transition: background .2s; line-height: 1;
}
.pc-lightbox-prev { left: 14px; }
.pc-lightbox-next { right: 14px; }
.pc-lightbox-prev:hover,
.pc-lightbox-next:hover { background: rgba(255,255,255,.25); }
.pc-lightbox-prev:disabled,
.pc-lightbox-next:disabled { opacity: .25; cursor: default; }

.pc-lightbox-counter {
  position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.6); font-size: .85rem; font-family: var(--pc-font);
}

/* Responsive */
@media (max-width: 600px) {
  .pc-grid { grid-template-columns: 1fr; gap: 18px; }
  .pc-card-name { font-size: 1.1rem; }
  .pc-chips { gap: 7px; }
  .pc-chip { padding: 7px 12px; font-size: .82rem; }
}
