/* ============================================================
   ARCHIVE CHIOTS
   ============================================================ */

/* ── Filtres ──────────────────────────────────────────────── */
.chiots-filtres-section {
  background: #fff;
  padding: 28px 0 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.chiots-filtres {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 16px;
  border-bottom: 1px solid #EDE8E2;
}
.chiots-filtres__group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.chiots-filtres__row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.chiots-filtre {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 50px;
  border: 1px solid #E8E4DF;
  font-size: 0.83rem;
  font-weight: 500;
  color: #5a4a42;
  background: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  white-space: nowrap;
}
.chiots-filtre:hover {
  border-color: var(--color-rose);
  color: var(--color-rose);
}
.chiots-filtre.active {
  background: var(--color-rose);
  border-color: var(--color-rose);
  color: #fff;
}
.chiots-filtre--sm {
  padding: 5px 12px;
  font-size: 0.78rem;
}
.chiots-filtres__tri {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #8a7068;
  flex-shrink: 0;
}

/* ── Grille ───────────────────────────────────────────────── */
.chiots-grille-section {
  padding: 48px 0 72px;
  background: var(--color-creme);
}
.chiots-grille {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ── Card ─────────────────────────────────────────────────── */
.chiot-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #E8E4DF;
  box-shadow: 0 2px 12px rgba(160,150,140,0.09), 0 0 0 1px rgba(160,150,140,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.chiot-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.1);
}
.chiot-card--adopte { opacity: 0.65; }

/* Image */
.chiot-card__img {
  position: relative;
  display: block;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: #EDE8E2;
}
.chiot-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.chiot-card:hover .chiot-card__img img { transform: scale(1.04); }
.chiot-card__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #EDE8E2 0%, #F5E9E3 100%);
}

/* Badge statut */
.chiot-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 50px;
}
.chiot-card__badge--disponible { background: #C4717A; color: #fff; }
.chiot-card__badge--reserve    { background: #E8A85A; color: #fff; }
.chiot-card__badge--adopte     { background: #8a7068; color: #fff; }

/* Favori */
.chiot-card__fav {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255,255,255,0.92);
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #C4717A;
  transition: background 0.2s, color 0.2s;
}
.chiot-card__fav:hover,
.chiot-card__fav.active { background: #C4717A; color: #fff; }

/* Corps */
.chiot-card__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.chiot-card__name {
  font-family: var(--font-titre);
  font-size: 1.1rem;
  color: #3D2B1F;
  margin: 0;
}
.chiot-card__race {
  font-size: 0.8rem;
  color: var(--color-rose);
  font-weight: 500;
}
.chiot-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}
.chiot-card__meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  color: #8a7068;
}
.chiot-card__meta-item svg { color: #C4A882; }

.chiot-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #F5E9E3;
}
.chiot-card__prix {
  font-family: var(--font-titre);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-bordeaux);
}
.chiot-card__reserve {
  font-size: 0.78rem;
  color: #E8A85A;
  font-weight: 600;
  background: #FEF3E7;
  padding: 3px 10px;
  border-radius: 50px;
}
.chiot-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-rose);
  text-decoration: none;
  border: 1px solid #E8E4DF;
  padding: 6px 12px;
  border-radius: 50px;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.chiot-card__btn:hover {
  background: var(--color-rose);
  border-color: var(--color-rose);
  color: #fff;
}

/* ── Vide ─────────────────────────────────────────────────── */
.chiots-vide {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 80px 20px;
  text-align: center;
}
.chiots-vide h3 {
  font-family: var(--font-titre);
  font-size: 1.4rem;
  color: #3D2B1F;
  margin: 0;
}
.chiots-vide p { color: #8a7068; font-size: 0.95rem; }

/* ── Garanties ────────────────────────────────────────────── */
.chiots-garanties-section {
  padding: 56px 0;
  background: var(--color-sauge);
}
.chiots-garanties {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.chiots-garantie {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  color: #fff;
}
.chiots-garantie svg { opacity: 0.9; }
.chiots-garantie strong { font-size: 0.85rem; font-weight: 700; }
.chiots-garantie span { font-size: 0.78rem; opacity: 0.85; line-height: 1.4; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1200px) {
  .chiots-grille { grid-template-columns: repeat(3, 1fr); }
  .chiots-garanties { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .chiots-grille { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .chiots-filtres { flex-direction: column; align-items: flex-start; }
  .chiots-garanties { grid-template-columns: repeat(2, 1fr); }
  .chiots-filtres-section { position: static; }
}
@media (max-width: 480px) {
  .chiots-grille { grid-template-columns: 1fr; }
}

/* ── Fix hero sur archives CPT ────────────────────────────── */
.chiots-archive .negan-hero,
.chiots-archive .negan-hero--inner {
  margin-top: 0;
}

/* ── Features 5 colonnes forcées ─────────────────────────── */
.chiots-archive .negan-features__inner {
  grid-template-columns: repeat(5, 1fr) !important;
}
@media (max-width: 900px) {
  .chiots-archive .negan-features__inner {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}
@media (max-width: 600px) {
  .chiots-archive .negan-features__inner {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ── Section intro chiots (présentation avant la grille) ── */
.chiots-intro-section {
    margin-bottom: 20px;
}
.chiots-intro {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
    padding: 8px 0;
}
@media (max-width: 860px) {
    .chiots-intro { grid-template-columns: 1fr; }
}
.chiots-intro__title {
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: #3a2c24;
    margin: 0 0 14px;
}
.chiots-intro__lead {
    font-size: 1rem;
    color: #3a2c24;
    margin: 0 0 12px;
}
.chiots-intro__text p {
    font-family: 'Nunito', sans-serif;
    font-size: 0.93rem;
    color: #5a4640;
    line-height: 1.78;
    margin: 0 0 12px;
}
.chiots-intro__text h3 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1rem;
    font-weight: 600;
    color: #3a2c24;
    margin: 18px 0 8px;
}
.chiots-intro__text a { color: #C4717A; }
.chiots-intro__note {
    font-size: 0.88rem !important;
    color: #9a8070 !important;
    background: #FAF8F4;
    border-left: 3px solid #C4717A;
    border-radius: 0 8px 8px 0;
    padding: 10px 14px !important;
    margin-top: 16px !important;
}
.chiots-intro__note a { color: #C4717A; font-weight: 600; }

/* Card livraison */
.chiots-intro__livraison-card {
    background: #FAF8F4;
    border: 1px solid #EBE0D9;
    border-radius: 16px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.chiots-intro__livraison-card h3 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #3a2c24;
    margin: 0;
}
.chiots-intro__livraison-card p {
    font-family: 'Nunito', sans-serif;
    font-size: 0.88rem;
    color: #6b5448;
    line-height: 1.7;
    margin: 0;
}
