/* ============================================
   WHY NOT BULLY — style.css
   ============================================ */

:root {
  /* Fond crème éditorial */
  --bg: #f7f3ec;
  --bg-soft: #efe8dd;
  --surface: #ffffff;
  --surface-light: #faf6f0;
  --text: #171310;
  --text-dim: #6b6158;
  --border: rgba(23,19,16,.12);

  /* Rouge bordeaux (boutons & accents forts) */
  --primary: #8c1c2b;
  --primary-light: #b32b3d;
  --accent: #8c1c2b;
  --accent-2: #5e1019;

  /* Doré (sur-titres, numéros, détails) */
  /* Plus de doré : on conserve les variables pour compatibilité,
     mais elles pointent désormais vers le rouge de la charte. */
  --gold: #b32b3d;
  --gold-light: #d4495c;

  /* Sections sombres */
  --dark-bg: #12100e;
  --dark-surface: #1c1916;
  --dark-text: #f7f3ec;
  --dark-text-dim: #a89e93;

  --radius: 4px;
  --radius-lg: 6px;
  --shadow: 0 14px 44px rgba(23,19,16,.08);
  --shadow-dark: 0 20px 60px rgba(0,0,0,.45);
  --ease: cubic-bezier(.22,1,.36,1);
  --serif: 'Poppins', system-ui, sans-serif;
}

/* ---------- Sections sombres (alternance) ---------- */
.section.dark, footer.site-footer, .hero {
  --surface: var(--dark-surface);
  --text: var(--dark-text);
  --text-dim: var(--dark-text-dim);
  --border: rgba(255,255,255,.1);
  background: var(--dark-bg);
  color: var(--dark-text);
}
.section.dark .card, .hero .card { border-color: rgba(255,255,255,.08); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100%; }
body {
  margin: 0;
  font-family: 'Poppins', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}
h1,h2,h3,h4 { font-family: 'Poppins', system-ui, sans-serif; font-weight: 800; margin: 0 0 .5em; letter-spacing: -.02em; line-height: 1.18; }
.sans { font-family: 'Poppins', sans-serif; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1200px, 92%); margin-inline: auto; }
.section { padding: 100px 0; position: relative; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: 'Poppins', sans-serif; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 18px; padding: 0; border: none; background: none;
}
.eyebrow::before { content: ''; width: 46px; height: 1px; background: var(--gold); opacity: .7; }
.section-head .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.section-head p { color: var(--text-dim); font-size: 1.05rem; }

/* ---------- Background blobs animés ---------- */
.blob-layer {
  position: absolute; top: 0; left: 0; width: 100%; height: 1400px;
  overflow: hidden; pointer-events: none; z-index: 0;
}
.blob {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: .18; z-index: 0; pointer-events: none;
  animation: float 16s ease-in-out infinite;
}
@keyframes float {
  0%,100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(40px,-30px) scale(1.1); }
  66% { transform: translate(-30px,30px) scale(.95); }
}

/* ---------- NAVIGATION CAPSULE ---------- */
.navbar {
  position: fixed; top: 18px; left: 50%; transform: translateX(-50%);
  width: min(1100px, 92%); z-index: 1000;
  background: rgba(26,18,21,.88);
  color: #fff;
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 100px;
  padding: 10px 14px 10px 20px;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: var(--shadow-dark);
  transition: all .4s var(--ease);
}
/* Au défilement, le header passe en blanc (texte sombre) */
.navbar.scrolled {
  top: 10px;
  background: rgba(255,255,255,.95);
  border-color: rgba(23,19,16,.08);
  box-shadow: 0 10px 40px rgba(23,19,16,.12);
}
.navbar.scrolled .brand { color: var(--text); }
.navbar.scrolled .brand span b { color: var(--primary); }
.navbar .brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.05rem; color: #fff; transition: color .4s var(--ease); }
.navbar .brand img { height: 42px; width: 42px; border-radius: 50%; object-fit: cover; }
.navbar .brand span b { color: #e0697c; }

.burger {
  width: 50px; height: 50px; border-radius: 50%; border: none; cursor: pointer;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 5px;
  transition: transform .3s var(--ease);
}
.burger:hover { transform: scale(1.06) rotate(8deg); }
.burger span { width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: all .3s var(--ease); }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.menu-overlay {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(18,12,14,.75); backdrop-filter: blur(10px);
  display: flex; align-items: flex-start; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), visibility 0s linear .3s;
  padding: 86px 18px 26px; overflow: hidden;
}
.menu-overlay.open { opacity: 1; visibility: visible; transition: opacity .3s var(--ease); }
.menu-panel {
  position: relative; width: min(660px, 100%); margin: 0 auto;
  background: linear-gradient(160deg, #241a1d, #1a1215);
  border: 1px solid rgba(255,255,255,.12); border-radius: 28px;
  padding: 26px 26px 22px; box-shadow: var(--shadow-dark);
  max-height: calc(100vh - 112px); overflow-y: auto; scrollbar-width: none;
  transform: translateY(16px) scale(.97); transition: transform .35s var(--ease);
}
.menu-overlay.open .menu-panel { transform: translateY(0) scale(1); }
.menu-panel::-webkit-scrollbar { display: none; }

/* Écrans peu hauts : on masque les cartes-images pour éviter tout défilement */
@media (max-height: 820px) { .menu-tiles { display: none; } }
@media (max-height: 640px) {
  .menu-grid .ic { width: 44px; height: 44px; border-radius: 13px; }
  .menu-grid .ic svg { width: 20px; height: 20px; }
  .menu-grid a { padding: 10px 6px; font-size: .72rem; }
  .menu-footer { margin-top: 12px; padding-top: 12px; }
}
.menu-panel .close-menu {
  position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #fff;
  cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all .3s var(--ease);
}
.menu-panel .close-menu svg { width: 18px; height: 18px; }
.menu-panel .close-menu:hover { background: var(--primary); border-color: var(--primary); transform: rotate(90deg); }
.menu-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.menu-grid a {
  display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
  padding: 14px 8px; border-radius: 16px; color: #fff; font-size: .78rem; font-weight: 600; line-height: 1.25;
  transition: background .25s var(--ease), transform .25s var(--ease);
  opacity: 0; transform: translateY(14px);
}
.menu-overlay.open .menu-grid a { opacity: 1; transform: translateY(0); transition: opacity .4s var(--ease), transform .4s var(--ease), background .25s; }
.menu-overlay.open .menu-grid a:nth-child(1){transition-delay:.04s}
.menu-overlay.open .menu-grid a:nth-child(2){transition-delay:.07s}
.menu-overlay.open .menu-grid a:nth-child(3){transition-delay:.10s}
.menu-overlay.open .menu-grid a:nth-child(4){transition-delay:.13s}
.menu-overlay.open .menu-grid a:nth-child(5){transition-delay:.16s}
.menu-overlay.open .menu-grid a:nth-child(6){transition-delay:.19s}
.menu-overlay.open .menu-grid a:nth-child(7){transition-delay:.22s}
.menu-overlay.open .menu-grid a:nth-child(8){transition-delay:.25s}
.menu-grid a:hover { background: rgba(255,255,255,.05); transform: translateY(-3px); }
.menu-grid .ic {
  width: 54px; height: 54px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: var(--primary-light);
  transition: all .3s var(--ease);
}
.menu-grid .ic svg { width: 23px; height: 23px; }
.menu-grid a:hover .ic { background: var(--primary); border-color: var(--primary); color: #fff; transform: scale(1.06); }
.menu-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
.menu-tiles .img-tile { aspect-ratio: 16/9; border-radius: 12px; }
.menu-tiles .img-tile.is-wide { grid-column: span 2; aspect-ratio: 24/6; }
.menu-tiles .tile-body { left: 16px; bottom: 14px; }
.menu-tiles .tile-ic { width: 34px; height: 34px; margin-bottom: 8px; font-size: .9rem; }
.menu-tiles .tile-body b { font-size: 1.05rem; }
@media (max-width: 640px) {
  .menu-tiles { gap: 8px; margin-top: 18px; }
  .menu-tiles .img-tile { aspect-ratio: 16/11; border-radius: 12px; }
  .menu-tiles .tile-body b { font-size: .92rem; }
}

.menu-footer {
  margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.menu-footer .phone { color: #fff; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.menu-footer .phone svg { width: 18px; height: 18px; color: var(--primary-light); }
.menu-social { display: flex; gap: 10px; }
.menu-social a {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.15); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: .78rem; font-weight: 700; transition: all .3s;
}
.menu-social a:hover { background: var(--primary); border-color: var(--primary); }
@media (max-width: 640px) {
  .menu-panel { padding: 30px 12px 18px; border-radius: 20px; }
  .menu-grid { grid-template-columns: repeat(4, 1fr); gap: 4px; }
  .menu-grid a { padding: 10px 2px; font-size: .62rem; gap: 7px; }
  .menu-grid .ic { width: 44px; height: 44px; border-radius: 13px; }
  .menu-grid .ic svg { width: 19px; height: 19px; }
  .menu-footer { justify-content: center; gap: 12px; }
  .menu-footer .phone { font-size: .88rem; }
}

/* ---------- HERO éditorial ---------- */
.hero {
  position: relative; min-height: 88vh; display: flex; align-items: center;
  padding: 170px 0 90px; overflow: hidden; background: var(--dark-bg);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center right; opacity: .85; }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10,8,7,.96) 0%, rgba(10,8,7,.88) 32%, rgba(10,8,7,.35) 62%, rgba(10,8,7,.15) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero-inner { max-width: 760px; }
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 4.1rem); color: #fff; line-height: 1.12; margin-bottom: 26px; }
.hero h1 .line { display: block; }
.hero h1 .accent { color: #fff; }
.hero p.lead { color: rgba(255,255,255,.78); font-size: 1.1rem; line-height: 1.85; max-width: 620px; margin: 0 0 20px; }
.hero p.lead strong { color: #fff; font-weight: 600; }
.hero .eyebrow { color: var(--gold-light); }
.hero .eyebrow::before { background: var(--gold-light); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }

.hero .stats-strip {
  display: flex; gap: 0; margin-top: 44px; flex-wrap: nowrap; align-items: stretch;
  overflow: visible; /* jamais de scroll ni de scrollbar, quelle que soit la taille d'écran */
}
.hero .stats-strip > div { display: flex; flex-direction: row; align-items: center; gap: 12px; padding: 0 28px; position: relative; flex-shrink: 0; }
.hero .stats-strip > div:first-child { padding-left: 0; }
.hero .stats-strip > div + div::before {
  content: ''; position: absolute; left: 0; top: 6px; bottom: 6px; width: 1px;
  background: rgba(255,255,255,.22);
}
.stat-ic {
  width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: var(--primary-light);
  flex-shrink: 0; transition: all .4s var(--ease);
}
.stat-ic svg { width: 17px; height: 17px; }
.hero .stats-strip > div:hover .stat-ic { background: var(--primary); border-color: var(--primary); color: #fff; transform: translateY(-3px); }

.hero .stats-strip div b { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 2.1rem; line-height: 1; display: inline-block; color: #fff; background: none; -webkit-text-fill-color: currentColor; }
.hero .stats-strip div span { font-family: 'Poppins',sans-serif; color: rgba(255,255,255,.6); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
@media (max-width: 760px) {
  .hero { min-height: 0; padding: 140px 0 64px; }
  .hero-bg img { object-position: center; }
  .hero-bg::after { background: linear-gradient(180deg, rgba(10,8,7,.9) 0%, rgba(10,8,7,.82) 50%, rgba(10,8,7,.94) 100%); }
  .hero .stats-strip { gap: 0; }
  .hero .stats-strip > div { padding: 0 12px; gap: 8px; }
  .hero .stats-strip .stat-ic { width: 32px; height: 32px; }
  .hero .stats-strip .stat-ic svg { width: 14px; height: 14px; }
  .hero .stats-strip > div:first-child { padding-left: 0; }
  .hero .stats-strip > div + div::before { top: 10px; bottom: 10px; }
  .hero .stats-strip b { font-size: 1.4rem; }
  .hero .stats-strip span { font-size: .6rem; white-space: nowrap; }
  .hero .stats-strip div b { font-size: 1.7rem; }
}
/* En dessous de 480px : grille 2x2 (plus de ligne unique), pour qu'il n'y ait
   jamais de débordement ni de scrollbar, même avec 4 compteurs affichés. */
@media (max-width: 640px) {
  .hero .stats-strip { flex-wrap: wrap; row-gap: 18px; column-gap: 0; }
  .hero .stats-strip > div { width: 50%; padding: 0 10px; box-sizing: border-box; justify-content: flex-start; }
  .hero .stats-strip > div:first-child { padding-left: 0; }
  .hero .stats-strip > div:nth-child(2) { padding-right: 0; }
  .hero .stats-strip > div:nth-child(3) { padding-left: 0; }
  .hero .stats-strip > div + div::before { display: none; } /* plus de trait vertical en grille 2x2 */
  .hero .stats-strip .stat-ic { width: 30px; height: 30px; }
  .hero .stats-strip .stat-ic svg { width: 13px; height: 13px; }
  .hero .stats-strip div b { font-size: 1.5rem; }
  .hero .stats-strip span { font-size: .6rem; }
}



/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 34px; border: none; cursor: pointer; position: relative; overflow: hidden;
  font-family: 'Poppins', sans-serif; font-size: .8rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
  transition: all .35s var(--ease); will-change: transform; border-radius: 100px;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--accent-2); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(140,28,43,.3); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.hero .btn-ghost, .section.dark .btn-ghost, .cta-split .btn-ghost {
  color: #fff; border-color: rgba(255,255,255,.4);
}
.hero .btn-ghost:hover, .section.dark .btn-ghost:hover, .cta-split .btn-ghost:hover {
  background: #fff; color: var(--dark-bg); border-color: #fff;
}
.btn-sm { padding: 11px 22px; font-size: .72rem; }

/* ---------- Badges flottants (hérités) ---------- */
.badge-float {
  position: absolute; z-index: 6; background: var(--surface); padding: 16px 20px; border-radius: var(--radius);
  box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px; border: 1px solid var(--border);
}
.badge-float .icon { width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color:#fff; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.badge-float b { display: block; font-size: 1.05rem; }
.badge-float span { color: var(--text-dim); font-size: .76rem; }

/* ---------- Hero des pages villes ---------- */
.hero-city { min-height: 70vh; padding: 160px 0 80px; }
.hero-city .hero-bg img { object-position: center 35%; }
.hero-city .hero-bg::after {
  background: linear-gradient(100deg, rgba(10,8,7,.95) 0%, rgba(10,8,7,.86) 38%, rgba(10,8,7,.45) 70%, rgba(10,8,7,.25) 100%);
}
.hero-city h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
.hero-facts {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  margin-top: 46px; border-top: 1px solid rgba(255,255,255,.16);
}
.hero-facts > div { display: flex; align-items: center; gap: 13px; padding: 22px 24px 0 0; }
.hero-facts > div + div { border-left: 1px solid rgba(255,255,255,.16); padding-left: 24px; }
.hero-facts .ic { width: 22px; height: 22px; color: var(--primary-light); flex-shrink: 0; }
.hero-facts .ic svg { width: 100%; height: 100%; }
.hero-facts small {
  display: block; font-size: .62rem; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.55); font-weight: 600; margin-bottom: 3px;
}
.hero-facts b { color: #fff; font-size: .92rem; font-weight: 600; line-height: 1.3; }
@media (max-width: 860px) {
  .hero-city { min-height: 0; padding: 130px 0 56px; }
  .hero-facts { grid-template-columns: 1fr; margin-top: 32px; }
  .hero-facts > div { padding: 16px 0; }
  .hero-facts > div + div { border-left: none; border-top: 1px solid rgba(255,255,255,.14); padding-left: 0; }
}

/* ===================================================
   COMPOSANTS ÉDITORIAUX
   =================================================== */

/* --- En-tête de section sur 2 colonnes --- */
.split-head { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; margin-bottom: 52px; }
.split-head h2 { font-size: clamp(1.9rem, 3.4vw, 3rem); margin: 0; }
.split-head .intro { color: var(--text-dim); font-size: 1.04rem; line-height: 1.8; padding-top: 10px; }
.split-head .intro strong, .split-head .intro .hl { color: var(--text); font-weight: 600; }
.section.dark .split-head .intro strong { color: #fff; }
@media (max-width: 900px) { .split-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 36px; } }

/* --- Cartes numérotées --- */
.feature-row { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--border); background: var(--surface); }
.feature-cell { padding: 30px 24px 34px; border-right: 1px solid var(--border); transition: background .4s var(--ease); }
.feature-cell:last-child { border-right: none; }
.feature-cell:hover { background: var(--surface-light); }
.feature-cell .num { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 2.1rem; color: var(--gold); display: block; margin-bottom: 26px; line-height: 1; }
.feature-cell h3 { font-family: 'Poppins', sans-serif; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text); margin-bottom: 12px; }
.feature-cell p { color: var(--text-dim); font-size: .88rem; line-height: 1.72; margin: 0; }
.feature-cell.is-dark { background: var(--dark-bg); border-color: var(--dark-bg); }
.feature-cell.is-dark:hover { background: #1c1916; }
.feature-cell.is-dark h3 { color: #fff; }
.feature-cell.is-dark p { color: rgba(255,255,255,.7); }
.feature-cell.is-dark .num { color: #fff; }
@media (max-width: 1100px) { .feature-row { grid-template-columns: repeat(2, 1fr); }
  .feature-cell { border-bottom: 1px solid var(--border); }
  .feature-cell:nth-child(2n) { border-right: none; } }
@media (max-width: 620px) { .feature-row { grid-template-columns: 1fr; } .feature-cell { border-right: none; } }

/* --- Étapes numérotées --- */
.steps-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps-row.steps-row-5 { grid-template-columns: repeat(5, 1fr); }
.step-cell { background: var(--bg-soft); border: 1px solid var(--border); padding: 30px 26px 34px; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.step-cell:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step-cell .badge { width: 44px; height: 44px; background: var(--dark-bg); color: #fff; display: flex; align-items: center; justify-content: center; font-family: 'Poppins', sans-serif; font-size: .76rem; font-weight: 700; margin-bottom: 26px; }
.step-cell h3 { font-size: 1.3rem; margin-bottom: 12px; line-height: 1.25; }
.step-cell p { color: var(--text-dim); font-size: .88rem; line-height: 1.72; margin: 0; }
.section.dark .step-cell { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.section.dark .step-cell .badge { background: var(--primary); color: #fff; }
@media (max-width: 1100px) { .steps-row, .steps-row.steps-row-5 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 580px) { .steps-row, .steps-row.steps-row-5 { grid-template-columns: 1fr; } }

/* --- Cartes-images avec overlay --- */
.img-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.img-tile { position: relative; overflow: hidden; display: block; aspect-ratio: 4/3; }
.img-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.img-tile:hover img { transform: scale(1.07); }
.img-tile::after { content:''; position:absolute; inset:0; background: linear-gradient(to top, rgba(10,8,7,.85) 5%, rgba(10,8,7,.1) 55%, transparent); }
.img-tile .tile-body { position: absolute; left: 22px; bottom: 20px; z-index: 2; color: #fff; }
.img-tile .tile-ic { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.14); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.3); display: flex; align-items: center; justify-content: center; margin-bottom: 12px; font-size: 1.05rem; transition: all .4s var(--ease); }
.img-tile:hover .tile-ic { background: var(--primary); border-color: var(--primary); }
.img-tile .tile-body b { font-family: 'Poppins', sans-serif; font-size: 1.25rem; font-weight: 700; display: block; }
.img-tile .tile-body > span:last-child { font-family: 'Poppins',sans-serif; font-size: .8rem; color: rgba(255,255,255,.75); display: block; margin-top: 2px; }
.img-tile.is-wide { grid-column: span 3; aspect-ratio: 21/7; }
@media (max-width: 860px) { .img-tiles { grid-template-columns: repeat(2,1fr); } .img-tile.is-wide { grid-column: span 2; aspect-ratio: 16/8; } }
@media (max-width: 540px) { .img-tiles { grid-template-columns: 1fr; } .img-tile.is-wide { grid-column: span 1; aspect-ratio: 4/3; } }

/* --- CTA scindé --- */
.cta-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 420px; } /* -25% de hauteur */
.cta-split .pane-text { background: var(--dark-bg); color: var(--dark-text); padding: 44px 46px; display: flex; flex-direction: column; justify-content: center; }
.cta-split .pane-text h2 { color: #fff; font-size: clamp(1.6rem, 2.5vw, 2.2rem); margin-bottom: 16px; }
.cta-split .pane-text p { color: rgba(255,255,255,.72); line-height: 1.65; font-size: .92rem; margin-bottom: 22px; }
.cta-split .pane-text p strong { color: #fff; font-weight: 600; }
.cta-split .pane-text .eyebrow { color: var(--gold-light); }
.cta-split .pane-text .eyebrow::before { background: var(--gold-light); }
.cta-split .pane-img { position: relative; overflow: hidden; }
.cta-split .pane-img img { width: 100%; height: 100%; object-fit: cover; }
.cta-contacts { display: flex; flex-wrap: wrap; margin-top: 26px; border-top: 1px solid rgba(255,255,255,.14); }
.cta-contacts > * { flex: 1 1 220px; padding: 16px 24px 16px 0; display: flex; align-items: center; gap: 14px; }
.cta-contacts > * + * { border-left: 1px solid rgba(255,255,255,.14); padding-left: 24px; }
.cta-contacts .ic { width: 20px; height: 20px; color: var(--gold-light); flex-shrink: 0; }
.cta-contacts .ic svg { width: 100%; height: 100%; }
.cta-contacts small { display: block; font-family: 'Poppins',sans-serif; font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); font-weight: 600; margin-bottom: 4px; }
.cta-contacts b { color: #fff; font-family: 'Poppins',sans-serif; font-size: .94rem; font-weight: 600; }
@media (max-width: 980px) {
  .cta-split { grid-template-columns: 1fr; min-height: 0; }
  .cta-split .pane-text { padding: 48px 26px; order: 2; }
  .cta-split .pane-img { order: 1; height: 240px; }
  .cta-contacts > * { flex: 1 1 100%; padding: 16px 0; }
  .cta-contacts > * + * { border-left: none; border-top: 1px solid rgba(255,255,255,.14); padding-left: 0; }
}

/* --- Badges de certification --- */
.cert-row { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; margin-top: 34px; }
.cert-row .cert-list { display: flex; gap: 14px; }
.cert-badge { width: 58px; height: 58px; border-radius: 50%; border: 1px solid rgba(255,255,255,.28); display: flex; align-items: center; justify-content: center; font-family: 'Poppins',sans-serif; font-size: .6rem; font-weight: 800; letter-spacing: .04em; color: #fff; text-align: center; line-height: 1.1; }
.cert-row .cert-text { font-family: 'Poppins',sans-serif; font-size: .68rem; letter-spacing: .13em; text-transform: uppercase; color: rgba(255,255,255,.78); line-height: 2; }

/* ---------- Tiret animé sous les titres ---------- */
.section-head h2, h1.has-dash, h2.has-dash, h3.has-dash, .split-head h2,
.section > .container > h2, .article-content h2, .contact-form-wrap h2 { position: relative; padding-bottom: 18px; }
.section-head h2::after, h1.has-dash::after, h2.has-dash::after, h3.has-dash::after, .split-head h2::after,
.section > .container > h2::after, .article-content h2::after, .contact-form-wrap h2::after {
  content: ''; position: absolute; bottom: 0; left: 0; height: 3px; width: 0; border-radius: 3px;
  background: var(--primary); transition: width .9s var(--ease) .15s;
}
.section-head h2::after { left: 50%; transform: translateX(-50%); }
.section-head.in h2::after, .in h1.has-dash::after, .in h2.has-dash::after, .in h3.has-dash::after,
h1.has-dash.in::after, h2.has-dash.in::after, h3.has-dash.in::after, .split-head.in h2::after,
.section > .container > h2::after, .article-content h2::after, .contact-form-wrap h2::after { width: 68px; }
.cta-split .pane-text h2::after, .hero h1::after { background: var(--primary-light); }
h3.has-dash { padding-bottom: 12px; }
h3.has-dash::after { height: 2px; }

/* ---------- Surlignage des mots importants ---------- */
.hl {
  display: inline; font-weight: 600; color: var(--text);
  background: linear-gradient(120deg, color-mix(in srgb, var(--primary) 20%, transparent), color-mix(in srgb, var(--primary) 20%, transparent));
  background-repeat: no-repeat; background-size: 0% 36%; background-position: 0 86%;
  transition: background-size .8s var(--ease) .3s; padding: 0 2px;
}
.in .hl, .hl.in { background-size: 100% 36%; }
.section.dark .hl, .hero .hl { color: #fff; }

/* ---------- Motion design ---------- */
.split-word { display: inline-block; opacity: 0; transform: translateY(24px); }
.in .split-word { animation: wordIn .65s var(--ease) forwards; }
@keyframes wordIn { to { opacity:1; transform: none; } }
.parallax { will-change: transform; }
.btn { will-change: transform; }
.btn-primary::after { content:''; position:absolute; top:0; left:-120%; width:60%; height:100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent); transform: skewX(-20deg); transition: left .7s var(--ease); }
.btn-primary:hover::after { left: 140%; }
.card { will-change: transform; }
.card .body h3 { transition: color .3s var(--ease); }
.card:hover .body h3 { color: var(--primary); }
/* Les animations restent actives même si le système demande de les réduire
   (Windows active ce réglage par défaut chez beaucoup d'utilisateurs).
   On se contente de supprimer les mouvements décoratifs en boucle. */
@media (prefers-reduced-motion: reduce) {
  .blob { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { opacity: 0; transform: translateY(30px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal-stagger.in > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(1){transition-delay:.05s}
.reveal-stagger.in > *:nth-child(2){transition-delay:.12s}
.reveal-stagger.in > *:nth-child(3){transition-delay:.19s}
.reveal-stagger.in > *:nth-child(4){transition-delay:.26s}
.reveal-stagger.in > *:nth-child(5){transition-delay:.33s}
.reveal-stagger.in > *:nth-child(6){transition-delay:.40s}

/* ---------- CARDS (chiens / chiots / mariages / blog) ---------- */
/* Grilles auto-adaptatives : les colonnes se centrent automatiquement dès qu'il
   y a moins d'éléments que de colonnes prévues (fini les grilles collées à
   gauche avec un vide à droite quand il n'y a que 1, 2 ou 3 cartes). */
/* Flexbox plutôt que CSS Grid : avec Grid, une 2e ligne incomplète reste collée
   à gauche. En flex + justify-content:center, CHAQUE ligne se recentre, même
   la dernière quand elle est incomplète. */
.grid { display: flex; flex-wrap: wrap; gap: 28px; justify-content: center; }
.grid > * { flex: 0 1 auto; }
.grid-4 > * { width: 280px; }
.grid-3 > * { width: 340px; }
.grid-2 > * { width: 420px; }
@media (max-width: 640px) {
  .grid-4 > *, .grid-3 > *, .grid-2 > * { width: 100%; max-width: 360px; }
}

.card {
  background: var(--surface); border-radius: var(--radius); overflow: hidden; position: relative;
  border: 1px solid var(--border); transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.card .media { position: relative; height: 260px; overflow: hidden; }
.card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
/* Vignettes des mâles, femelles et chiots : format portrait (plus de hauteur
   que de largeur), pour ne plus couper le haut/bas des photos verticales. */
.card .media.media-portrait { height: 0; padding-bottom: 125%; }
.card .media.media-portrait img { position: absolute; top: 0; left: 0; object-position: top center; }
.card:hover .media img { transform: scale(1.08); }
.card .media::after { content:''; position:absolute; inset:0; background: linear-gradient(to top, rgba(26,18,21,.45), transparent 55%); }
.card .body { padding: 20px 22px 24px; }
.card .body h3 { font-size: 1.25rem; margin-bottom: 4px; }
.card .meta { display: flex; gap: 10px; flex-wrap: wrap; margin: 10px 0; }
.tag {
  font-size: .72rem; font-weight: 700; padding: 5px 12px; border-radius: 50px; letter-spacing: .03em;
  background: color-mix(in srgb, var(--text) 6%, transparent); color: var(--text-dim); border: 1px solid var(--border);
}
.tag.sex-male { color: #2f6ea8; background: rgba(47,110,168,.12); border-color: rgba(47,110,168,.3); }
.tag.sex-femelle { color: #a8407a; background: rgba(168,64,122,.12); border-color: rgba(168,64,122,.3); }
.tag.status-disponible { color: #1d7a52; background: rgba(29,122,82,.12); border-color: rgba(29,122,82,.3); animation: pulse 2s infinite; }
.tag.status-reserve { color: var(--primary-light); background: rgba(179,43,61,.1); border-color: rgba(179,43,61,.3); }
.tag.status-vendu { color: var(--text-dim); background: color-mix(in srgb, var(--text) 5%, transparent); }
@keyframes pulse { 0%,100%{box-shadow:0 0 0 0 rgba(29,122,82,.35)} 50%{box-shadow:0 0 0 6px rgba(29,122,82,0)} }

.badge-corner {
  position: absolute; top: 16px; left: 16px; z-index: 2; padding: 6px 14px; border-radius: 50px;
  font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em;
  background: rgba(26,18,21,.72); color: #fff; backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.18);
}

/* ---------- Mating card (vs layout) ---------- */
/* ---------- Page mariage : montage + parents ---------- */
/* Montage du mariage en portrait, centré et limité en largeur */
.mating-cover {
  max-width: 540px; margin: 0 auto; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow);
}
.mating-cover img { width: 100%; height: auto; aspect-ratio: 3/4; object-fit: cover; object-position: center; display: block; cursor: zoom-in; }

/* Les deux parents, sous le montage */
.parents-duo { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; margin-top: 34px; }
.parent-card {
  display: flex; align-items: center; gap: 16px; width: 320px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 14px; box-shadow: var(--shadow); transition: all .4s var(--ease);
}
.parent-card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(23,19,16,.14); border-color: var(--primary); }
.parent-photo { width: 84px; height: 110px; border-radius: 12px; overflow: hidden; flex-shrink: 0; }
.parent-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .7s var(--ease); }
.parent-card:hover .parent-photo img { transform: scale(1.08); }
.parent-info { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.parent-info b { font-size: 1.1rem; font-weight: 700; color: var(--text); }
.parent-info .see-more { font-size: .78rem; font-weight: 700; color: var(--primary); letter-spacing: .03em; transition: transform .35s var(--ease); }
.parent-card:hover .parent-info .see-more { transform: translateX(5px); }
@media (max-width: 760px) {
  .parent-card { width: 100%; max-width: 360px; }
}

/* Galerie de l'union : photos côte à côte, toutes de même taille */
/* 3 colonnes : avec 6 photos on obtient un 3x2 parfaitement équilibré */
.union-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; columns: unset; }
.union-grid .gallery-item { margin: 0; border-radius: 12px; aspect-ratio: 3/4; }
.union-grid .gallery-item img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
@media (max-width: 860px) { .union-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

/* Cartes des parents (bas de page mariage) */
.parent-big .media { height: 340px; }
.parent-big .body { padding: 22px 26px 26px; }
.parent-big .body h3 { font-size: 1.45rem; margin: 10px 0 6px; }
.parent-big .see-more {
  font-size: .82rem; font-weight: 700; color: var(--primary); letter-spacing: .04em;
  display: inline-block; transition: transform .35s var(--ease);
}
.parent-big:hover .see-more { transform: translateX(6px); }

/* Carte de mariage : deux photos côte à côte (mâle | femelle) */
.mating-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; height: 220px; overflow: hidden; }
.mating-photo { position: relative; overflow: hidden; }
.mating-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.mating-card:hover .mating-photo img { transform: scale(1.08); }
.mating-card .body { padding: 22px 24px 26px; }
.mating-card .body h3 { font-size: 1.3rem; margin-bottom: 10px; }
.mating-parents {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin: 0 0 12px; font-size: .92rem; color: var(--text-dim); font-weight: 600;
}
.mating-parents em { font-style: normal; color: var(--primary); font-weight: 800; }
.mating-card:hover .mating-parents em { animation: pulseX .6s var(--ease); }
@keyframes pulseX { 0%,100% { transform: scale(1); } 50% { transform: scale(1.5) rotate(90deg); } }

/* ---------- Section band ---------- */
.band { background: var(--bg-soft); }

/* ---------- Footer ---------- */
.footer-certs { display: flex; gap: 12px; margin-top: 22px; }
.footer-certs .cert-badge { width: 54px; height: 54px; font-size: .58rem; border-color: rgba(255,255,255,.22); }

footer.site-footer { background: var(--dark-bg); padding: 80px 0 40px; border-top: 1px solid var(--border); position: relative; z-index: 2; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: var(--primary-light); margin-bottom: 18px; font-weight: 700; }
.footer-grid a { display: block; color: rgba(255,255,255,.72); margin-bottom: 10px; transition: color .3s; }
.footer-grid a:hover { color: var(--primary-light); }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; }
.footer-social a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.footer-cities { border-top: 1px solid rgba(255,255,255,.08); margin-top: 44px; padding-top: 34px; text-align: center; }
.footer-cities h4 { margin-bottom: 20px; color: #fff; letter-spacing: .08em; }
.city-pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.city-pill {
  padding: 9px 18px; border-radius: 50px; font-size: .82rem; font-weight: 600;
  background: color-mix(in srgb, var(--text) 6%, transparent);
  border: 1px solid var(--border); color: var(--text);
  transition: all .3s var(--ease); will-change: transform;
}
.city-pill:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.city-pill.is-all { background: color-mix(in srgb, var(--primary) 12%, transparent); border-color: color-mix(in srgb, var(--primary) 45%, transparent); color: var(--primary); }
/* Contexte sombre (footer et sections .dark) */
footer.site-footer .city-pill, .section.dark .city-pill {
  background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: rgba(255,255,255,.94);
}
footer.site-footer .city-pill:hover, .section.dark .city-pill:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
footer.site-footer .city-pill.is-all, .section.dark .city-pill.is-all {
  background: color-mix(in srgb, var(--primary) 45%, transparent); border-color: var(--primary-light); color: #fff;
}

.footer-bottom { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: var(--text-dim); font-size: .85rem; }
.footer-bottom a:hover { color: var(--primary-light); }

/* ---------- Bottom mobile nav ---------- */
.mobile-tabbar {
  display: none; position: fixed; bottom: 14px; left: 50%; transform: translateX(-50%); z-index: 998;
  width: min(420px, 94%); background: rgba(26,18,21,.92); backdrop-filter: blur(16px);
  border: 1px solid var(--border); border-radius: 100px; padding: 10px 6px;
  box-shadow: var(--shadow); justify-content: space-around; align-items: center;
}
.mobile-tabbar .tab-link {
  display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: .62rem; font-weight: 600;
  color: rgba(255,255,255,.65); padding: 8px 12px; border-radius: 16px; background: none; border: none; font-family: inherit;
  cursor: pointer; position: relative; overflow: hidden; -webkit-tap-highlight-color: transparent;
}
.mobile-tabbar .tab-link .ic { width: 22px; height: 22px; color: #fff; display: flex; }
.mobile-tabbar .tab-link .ic svg { width: 100%; height: 100%; }
.mobile-tabbar .tab-link.active { color: #fff; background: linear-gradient(135deg, var(--primary), var(--primary-light)); }
.mobile-tabbar .tab-link.active .ic { color: #fff; }
.mobile-tabbar .tab-link.tap::after {
  content: ''; position: absolute; inset: 0; border-radius: 16px; background: rgba(179,43,61,.4);
  animation: tabTap .4s ease-out;
}
@keyframes tabTap { from { opacity: 1; transform: scale(.7); } to { opacity: 0; transform: scale(1.4); } }
.mobile-tabbar .tab-link:active { transform: scale(.92); }

/* ---------- Forms ---------- */
.form-field { margin-bottom: 20px; }
.form-field label { display: block; font-size: .85rem; color: var(--text-dim); margin-bottom: 8px; font-weight: 600; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 14px 18px; border-radius: 14px; border: 1px solid var(--border);
  background: var(--bg); color: var(--text); font-family: inherit; font-size: .95rem; transition: border-color .3s;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 12%, transparent); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.alert { padding: 16px 20px; border-radius: 14px; margin-bottom: 20px; font-size: .9rem; }
.alert-success { background: rgba(29,122,82,.1); border: 1px solid rgba(29,122,82,.3); color: #1d7a52; }
.alert-error { background: rgba(176,42,42,.1); border: 1px solid rgba(176,42,42,.3); color: #b02a2a; }

/* ---------- Page header (pages intérieures) ---------- */
.page-header { padding: 180px 0 70px; position: relative; overflow: hidden; }
.page-header h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.breadcrumb { color: var(--text-dim); font-size: .85rem; margin-bottom: 16px; }
.page-intro { color: var(--text-dim); max-width: 620px; font-size: 1.05rem; margin-top: 18px; }
.page-header h1 { padding-bottom: 20px; }
.breadcrumb a:hover { color: var(--accent); }

/* ---------- Detail page (chien/chiot/mariage) ---------- */
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.gallery-main { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 14px; box-shadow: var(--shadow); }
.gallery-main img { width: 100%; height: 480px; object-fit: cover; cursor: zoom-in; }
/* Fiches chiots : grande photo en format portrait (les photos de chiots sont
   majoritairement verticales, un cadre paysage les recadrait trop fort). */
.gallery-main-portrait { position: relative; }
.gallery-main-portrait img { height: auto; aspect-ratio: 3/4; object-position: top center; }
.gallery-thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.gallery-thumbs img { width: 84px; height: 84px; object-fit: cover; border-radius: 12px; cursor: pointer; border: 2px solid transparent; opacity: .6; transition: all .3s; }
.gallery-thumbs img:hover, .gallery-thumbs img.active { opacity: 1; border-color: var(--primary); }
.info-box { background: var(--surface); border-radius: var(--radius); padding: 28px; margin-top: 24px; }
.info-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: .92rem; }
.info-row:last-child { border-bottom: none; }
.info-row span:first-child { color: var(--text-dim); }
.parents-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 10px; }
.parent-card {
  display: flex; align-items: center; gap: 14px; background: var(--surface); padding: 14px;
  border: 1px solid var(--border); border-radius: 16px; transition: transform .3s var(--ease), box-shadow .3s;
}
.parent-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
@media (max-width: 560px) { .parents-row { grid-template-columns: 1fr; } }
.parent-card img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(10,8,7,.95); z-index: 3500; display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 86vw; max-height: 82vh; border-radius: 10px; box-shadow: var(--shadow-dark); user-select: none; }
.lb-close {
  position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: #fff;
  display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all .3s var(--ease); z-index: 2;
}
.lb-close svg { width: 18px; height: 18px; }
.lb-close:hover { background: var(--primary); border-color: var(--primary); transform: rotate(90deg); }
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: #fff;
  display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all .3s var(--ease); z-index: 2;
}
.lb-nav svg { width: 22px; height: 22px; }
.lb-nav:hover { background: var(--primary); border-color: var(--primary); }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
.lb-counter {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.75);
  font-size: .82rem; font-weight: 600; letter-spacing: .05em; background: rgba(255,255,255,.08);
  padding: 7px 16px; border-radius: 50px; border: 1px solid rgba(255,255,255,.14);
}
@media (max-width: 640px) {
  .lb-nav { width: 42px; height: 42px; }
  .lb-nav svg { width: 18px; height: 18px; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
}

/* Blog */
.blog-card .body { padding: 22px; }
.blog-card .date { color: var(--accent); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.article-content { font-size: 1.06rem; color: var(--text-dim); line-height: 1.78; }
.article-content img { border-radius: var(--radius); margin: 28px 0; }
.article-content h2 {
  margin-top: 46px; margin-bottom: 20px; color: var(--text); font-size: 1.55rem; line-height: 1.25;
}
.article-content h3 { margin-top: 30px; margin-bottom: 8px; color: var(--text); font-size: 1.15rem; }
.article-content p { margin: 0 0 18px; }
.article-content p.lead {
  font-size: 1.2rem; color: var(--text); font-weight: 500; line-height: 1.65;
  padding-bottom: 22px; margin-bottom: 28px; border-bottom: 1px solid var(--border);
}
.article-content strong { color: var(--text); font-weight: 700; }
.article-content a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.article-content ul, .article-content ol { margin: 0 0 22px; padding-left: 4px; }
.article-content li { margin-bottom: 10px; padding-left: 26px; position: relative; list-style: none; }
.article-content ul > li::before {
  content: ''; position: absolute; left: 4px; top: .62em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--primary);
}
.article-content ol { counter-reset: artcount; }
.article-content ol > li { counter-increment: artcount; }
.article-content ol > li::before {
  content: counter(artcount); position: absolute; left: 0; top: .1em;
  width: 20px; height: 20px; border-radius: 50%; font-size: .68rem; font-weight: 800;
  background: color-mix(in srgb, var(--primary) 14%, transparent); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
}
.article-content blockquote {
  margin: 30px 0; padding: 22px 26px; border-radius: var(--radius);
  background: color-mix(in srgb, var(--primary) 7%, transparent);
  border-left: 4px solid var(--primary);
  font-size: 1.08rem; font-style: italic; color: var(--text); line-height: 1.6;
}
.article-content blockquote p:last-child { margin-bottom: 0; }

/* CTA band */
.cta-band {
  margin: 0 auto; border-radius: var(--radius-lg); padding: 70px 50px; text-align: center; position: relative; overflow: hidden;
  background: linear-gradient(120deg, #2a161a, #4a1620); border: 1px solid var(--border);
}
.cta-band { color: #fff; }
.cta-band h2 { font-size: clamp(1.8rem,4vw,2.6rem); color: #fff; }
.cta-band p { color: rgba(255,255,255,.8); max-width: 540px; margin: 14px auto 32px; }
.cta-band .btn-primary { background: #fff; color: var(--primary); box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.cta-band .btn-primary:hover { background: #fff; color: var(--accent-2); box-shadow: 0 16px 40px rgba(0,0,0,.35); }

/* Empty state */
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-dim); }
.empty-state .ic { font-size: 3rem; margin-bottom: 16px; }

/* ---------- Chiots réservés / adoptés : photo en noir et blanc ---------- */
.card .media img.is-unavailable,
.gallery-main img.is-unavailable { filter: grayscale(1) contrast(1.02); }
.status-dot {
  position: absolute; top: 16px; right: 16px; z-index: 3; width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.status-dot.is-reserve { background: #9a6a12; }
.status-dot.is-vendu { background: #4a4440; }

/* ---------- Galerie ---------- */
.gallery-masonry { columns: 3; column-gap: 14px; }
.gallery-item { margin: 0 0 14px; break-inside: avoid; position: relative; overflow: hidden; background: var(--surface); }
.gallery-item img { width: 100%; display: block; transition: transform .8s var(--ease); cursor: zoom-in; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 18px 14px; color: #fff; font-size: .85rem;
  background: linear-gradient(to top, rgba(10,8,7,.85), transparent);
  opacity: 0; transform: translateY(8px); transition: all .4s var(--ease);
}
.gallery-item:hover figcaption { opacity: 1; transform: none; }
@media (max-width: 900px) { .gallery-masonry { columns: 2; } }
@media (max-width: 560px) { .gallery-masonry { columns: 1; } }

/* ---------- Page contact ---------- */
/* ---------- Sélecteur de chiot en photos (page contact) ---------- */
.puppy-picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 10px; }
.puppy-pick-item {
  background: none; border: 2px solid var(--border); border-radius: 14px; padding: 0; cursor: pointer;
  overflow: hidden; position: relative; aspect-ratio: 1/1; transition: all .3s var(--ease);
}
.puppy-pick-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.puppy-pick-ph {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 800; color: var(--text-dim); background: var(--bg-soft);
}
.puppy-pick-item small {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 5px 4px;
  background: linear-gradient(to top, rgba(10,8,7,.88), transparent);
  color: #fff; font-size: .66rem; font-weight: 700; text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.puppy-pick-item:hover { transform: translateY(-3px); border-color: var(--primary); }
.puppy-pick-item.selected { border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 20%, transparent); }
.puppy-pick-item.selected::after {
  content: '✓'; position: absolute; top: 6px; right: 6px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--primary); color: #fff; font-size: .7rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

.subject-panel {
  max-height: 0; overflow: hidden; opacity: 0; margin-top: 0;
  transition: max-height .6s var(--ease), opacity .5s var(--ease), margin-top .6s var(--ease);
}
.subject-panel.open { max-height: 900px; opacity: 1; margin-top: 46px; }
.subject-panel h3 { text-align: center; margin-bottom: 26px; }
.subject-panel h3.has-dash::after { left: 50%; transform: translateX(-50%); }

.contact-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: 46px; align-items: start; }
.contact-cards { display: flex; flex-direction: column; gap: 12px; }
.contact-card {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--primary) 35%, transparent); }
.contact-card .ic {
  width: 48px; height: 48px; flex-shrink: 0; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--primary) 10%, transparent); color: var(--primary);
}
.contact-card .ic svg { width: 22px; height: 22px; }
.contact-card small { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-dim); font-weight: 700; margin-bottom: 3px; }
.contact-card b { display: block; font-size: 1.02rem; line-height: 1.3; }
.contact-card span { display: block; font-size: .8rem; color: var(--text-dim); margin-top: 2px; }
.contact-card.is-primary { background: linear-gradient(135deg, var(--primary), var(--accent-2)); border-color: transparent; color: #fff; }
.contact-card.is-primary .ic { background: rgba(255,255,255,.18); color: #fff; }
.contact-card.is-primary small { color: rgba(255,255,255,.75); }
.contact-card.is-review .ic { color: var(--primary); background: color-mix(in srgb, var(--primary) 10%, transparent); }

.contact-social { margin-top: 30px; padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.contact-social h3 { font-size: 1.05rem; margin-bottom: 8px; }
.contact-social p { color: var(--text-dim); font-size: .88rem; margin-bottom: 16px; }
.contact-social .footer-social a { border-color: var(--border); color: var(--text); }
.contact-social .footer-social a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

.contact-form-wrap {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 38px 34px; box-shadow: var(--shadow);
}
.contact-form-wrap h2 { font-size: 1.5rem; }
@media (max-width: 980px) {
  .contact-layout { grid-template-columns: 1fr; gap: 30px; }
  .contact-form-wrap { padding: 28px 22px; }
}

/* ---------- Modal multi-étapes (demande d'adoption) ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2500; background: rgba(18,12,14,.75); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility 0s linear .3s;
  overflow-y: auto;
}
.modal-overlay.open { opacity: 1; visibility: visible; transition: opacity .3s var(--ease); }
.modal-box {
  position: relative; background: var(--surface); color: var(--text);
  border-radius: 26px; padding: 34px 30px 26px; width: min(520px, 100%);
  box-shadow: 0 30px 80px rgba(0,0,0,.35); border: 1px solid var(--border);
  transform: translateY(18px) scale(.97); transition: transform .35s var(--ease);
  margin: auto;
}
.modal-overlay.open .modal-box { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 50%;
  background: color-mix(in srgb, var(--text) 7%, transparent); border: 1px solid var(--border);
  color: var(--text); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all .3s var(--ease);
}
.modal-close svg { width: 16px; height: 16px; }
.modal-close:hover { background: var(--primary); border-color: var(--primary); color: #fff; transform: rotate(90deg); }
.modal-head { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.modal-head img { width: 64px; height: 64px; border-radius: 16px; object-fit: cover; }

.steps-bar { display: flex; align-items: center; margin-bottom: 26px; }
.step-dot { display: flex; flex-direction: column; align-items: center; gap: 5px; flex-shrink: 0; }
.step-dot span {
  width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .88rem; background: color-mix(in srgb, var(--text) 8%, transparent);
  color: var(--text-dim); border: 1px solid var(--border); transition: all .35s var(--ease);
}
.step-dot small { font-size: .68rem; color: var(--text-dim); font-weight: 600; }
.step-dot.active span { background: var(--primary); color: #fff; border-color: var(--primary); }
.step-dot.done span { background: color-mix(in srgb, var(--primary) 18%, transparent); color: var(--primary); border-color: var(--primary); }
.step-dot.active small { color: var(--primary); }
.step-line { flex: 1; height: 2px; background: var(--border); margin: 0 8px 16px; }

.form-step { display: none; animation: stepIn .35s var(--ease); }
.form-step.active { display: block; }
@keyframes stepIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: translateX(0); } }
.form-field.antispam {
  background: color-mix(in srgb, var(--primary) 6%, transparent); border: 1px dashed color-mix(in srgb, var(--primary) 35%, transparent);
  padding: 16px; border-radius: 14px;
}
.form-field.antispam label { color: var(--text); }
.modal-actions { display: flex; gap: 12px; margin-top: 22px; }
.modal-actions .btn { flex: 1; justify-content: center; }
.legal-note { font-size: .74rem; color: var(--text-dim); text-align: center; margin: 16px 0 0; line-height: 1.5; }
.legal-note a { color: var(--primary); text-decoration: underline; }

/* ---------- Modale de remerciement ---------- */
.thank-you-box { text-align: center; padding: 48px 36px 38px; }
.thank-you-check { width: 86px; height: 86px; margin: 0 auto 24px; }
.thank-you-check svg { width: 100%; height: 100%; }
.thank-you-check circle {
  stroke: var(--primary); stroke-width: 3; stroke-dasharray: 151; stroke-dashoffset: 151;
  animation: tyCircle .6s var(--ease) forwards;
}
.thank-you-check path {
  stroke: var(--primary); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 36; stroke-dashoffset: 36; animation: tyCheck .4s var(--ease) .5s forwards;
}
@keyframes tyCircle { to { stroke-dashoffset: 0; } }
@keyframes tyCheck { to { stroke-dashoffset: 0; } }
.thank-you-box h3 { font-size: 1.5rem; margin-bottom: 10px; }
.thank-you-box p { color: var(--text-dim); margin-bottom: 28px; }
#thankYouModal .modal-box { max-width: 420px; }

/* ---------- Popup contextuelle ---------- */
.site-popup-overlay {
  position: fixed; inset: 0; z-index: 3000; background: rgba(10,8,5,.75); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility 0s linear .35s;
}
.site-popup-overlay.open { opacity: 1; visibility: visible; transition: opacity .35s var(--ease); }
.site-popup {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 36px 32px; max-width: 420px; width: 100%; text-align: center; position: relative;
  box-shadow: var(--shadow); transform: translateY(20px) scale(.97); transition: transform .35s var(--ease);
}
.site-popup-overlay.open .site-popup { transform: translateY(0) scale(1); }
.site-popup .close-popup {
  position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%;
  background: color-mix(in srgb, var(--text) 8%, transparent); border: none; color: var(--text); cursor: pointer; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
}
.site-popup .close-popup:hover { background: var(--primary); color: #fff; }
.site-popup .popup-icon { font-size: 2.2rem; margin-bottom: 14px; }
.site-popup h3 { font-size: 1.3rem; margin-bottom: 10px; }
.site-popup p { color: var(--text-dim); margin-bottom: 22px; }

/* Scroll-to-top */
#scrollTop { position: fixed; bottom: 90px; right: 24px; width: 50px; height: 50px; border-radius: 50%; background: var(--surface); color: var(--text); box-shadow: var(--shadow); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: all .3s; z-index: 500; }
#scrollTop.show { opacity: 1; pointer-events: auto; }

/* Custom select / gallery contact form button fixed on detail page */
.contact-sticky-btn { position: sticky; bottom: 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .detail-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .mobile-tabbar { display: flex; }
  body { padding-bottom: 30px; }
  .navbar { padding: 10px 16px; justify-content: center; }
  .navbar .burger { display: none; }
  .navbar .brand { gap: 8px; }
}

/* ---------- Bannière cookies ---------- */
#cookieBanner {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 4000; max-width: 520px;
  background: var(--dark-bg); color: #fff; border-radius: var(--radius-lg); padding: 24px 26px;
  box-shadow: var(--shadow-dark); border: 1px solid rgba(255,255,255,.1);
  transform: translateY(140%); transition: transform .6s var(--ease);
}
#cookieBanner.show { transform: translateY(0); }
#cookieBanner h4 { font-size: 1rem; margin-bottom: 8px; color: #fff; }
#cookieBanner p { font-size: .84rem; color: rgba(255,255,255,.72); line-height: 1.6; margin-bottom: 18px; }
#cookieBanner p a { color: var(--primary-light); text-decoration: underline; }
#cookieBanner .cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
#cookieBanner .btn-ghost { border-color: rgba(255,255,255,.3); color: #fff; }
@media (max-width: 560px) { #cookieBanner { left: 12px; right: 12px; bottom: 12px; padding: 20px; } }

/* ---------- Animations renforcées ---------- */
/* Cascade plus marquée sur les grilles */
.reveal-stagger > * { opacity: 0; transform: translateY(34px) scale(.98); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-stagger.in > * { opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(1){transition-delay:.04s}
.reveal-stagger.in > *:nth-child(2){transition-delay:.12s}
.reveal-stagger.in > *:nth-child(3){transition-delay:.20s}
.reveal-stagger.in > *:nth-child(4){transition-delay:.28s}
.reveal-stagger.in > *:nth-child(5){transition-delay:.36s}
.reveal-stagger.in > *:nth-child(6){transition-delay:.44s}
.reveal-stagger.in > *:nth-child(7){transition-delay:.52s}
.reveal-stagger.in > *:nth-child(8){transition-delay:.60s}

/* Zoom + élévation au survol des cartes */
.card { transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.card:hover { transform: translateY(-9px); box-shadow: 0 24px 60px rgba(23,19,16,.16); }
.card .media img { transition: transform .9s var(--ease); }
.card:hover .media img { transform: scale(1.09); }

/* Les compteurs apparaissent en cascade */
.hero .stats-strip > div { opacity: 0; transform: translateY(18px); animation: statIn .7s var(--ease) forwards; display: flex; }
.hero .stats-strip > div:nth-child(1){animation-delay:.25s}
.hero .stats-strip > div:nth-child(2){animation-delay:.38s}
.hero .stats-strip > div:nth-child(3){animation-delay:.51s}
.hero .stats-strip > div:nth-child(4){animation-delay:.64s}
@keyframes statIn { to { opacity: 1; transform: none; } }

/* Contenu du hero en entrée */
.hero .eyebrow, .hero h1, .hero p.lead, .hero-actions, .hero-facts {
  opacity: 0; transform: translateY(22px); animation: heroIn .85s var(--ease) forwards;
}
.hero .eyebrow { animation-delay: .05s; }
.hero h1 { animation-delay: .14s; }
.hero p.lead { animation-delay: .24s; }
.hero-actions { animation-delay: .34s; }
.hero-facts { animation-delay: .44s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* Cellules numérotées : révélation latérale */
.feature-row .feature-cell { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease), background .4s; }
.feature-row.in .feature-cell { opacity: 1; transform: none; }
.feature-row.in .feature-cell:nth-child(1){transition-delay:.05s}
.feature-row.in .feature-cell:nth-child(2){transition-delay:.14s}
.feature-row.in .feature-cell:nth-child(3){transition-delay:.23s}
.feature-row.in .feature-cell:nth-child(4){transition-delay:.32s}
.feature-row.in .feature-cell:nth-child(5){transition-delay:.41s}
.feature-cell .num { transition: transform .4s var(--ease); }
.feature-cell:hover .num { transform: translateY(-4px); }

/* Étapes : le badge pivote au survol */
.step-cell .badge { transition: transform .45s var(--ease), background .3s; }
.step-cell:hover .badge { transform: rotate(-8deg) scale(1.08); }

/* Tuiles images : légère montée du texte */
.img-tile .tile-body { transition: transform .5s var(--ease); }
.img-tile:hover .tile-body { transform: translateY(-5px); }
