/* ============================================================
   KLINN — Page d'accueil premium
   Charte : vert sauge #3E524C
   ============================================================ */

:root {
  --sage:        #3E524C;
  --sage-deep:   #2C3B36;
  --sage-soft:   #6E837B;
  --sage-tint:   #EBEEEC;
  --cream:       #F5F3EE;
  --paper:       #FBFAF7;
  --mist:        #EDF3EC;
  --mist-2:      #E6EFE6;
  --ink:         #232b27;
  --muted:       #6b746f;
  --gold:        #B49161;
  --gold-soft:   #cdb389;
  --line:        rgba(62, 82, 76, 0.14);
  --white:       #ffffff;

  --shadow-sm: 0 2px 10px rgba(44, 59, 54, 0.06);
  --shadow-md: 0 14px 40px rgba(44, 59, 54, 0.10);
  --shadow-lg: 0 30px 70px rgba(44, 59, 54, 0.16);

  --radius: 20px;
  --radius-sm: 13px;

  --maxw: 1180px;
  --ease: cubic-bezier(.22, .61, .36, 1);

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-accent: "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, sans-serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--sage-deep);
}
em { font-style: italic; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 26px;
}
.container-narrow { max-width: 820px; }

/* ---------- Eyebrow / section heads ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.65);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  backdrop-filter: blur(10px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px 7px 12px;
  border-radius: 999px;
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.eyebrow-light { color: #fff; background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.3); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.eyebrow-light::before { background: currentColor; }

.section { padding: clamp(64px, 9vw, 130px) 0; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(40px, 5vw, 64px); }
.section-head .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.section-intro { margin-top: 18px; color: var(--muted); font-size: 1.08rem; }
.section-intro-light { color: rgba(255,255,255,.82); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  --bg: var(--sage);
  --fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.96rem;
  letter-spacing: 0.01em;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  background: var(--bg);
  color: var(--fg);
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { flex: none; }

.btn-primary { background: var(--sage); color: #fff; box-shadow: 0 12px 28px rgba(62,82,76,.30); }
.btn-primary:hover { background: var(--sage-deep); box-shadow: 0 18px 36px rgba(62,82,76,.40); }

.btn-outline { background: transparent; color: var(--sage); border-color: rgba(62,82,76,.35); }
.btn-outline:hover { background: var(--sage); color: #fff; border-color: var(--sage); }

.btn-ghost { background: rgba(255,255,255,.10); color: #fff; border-color: rgba(255,255,255,.5); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: #fff; color: var(--sage-deep); border-color: #fff; }

.btn-light { background: #fff; color: var(--sage-deep); box-shadow: var(--shadow-md); }
.btn-light:hover { background: var(--cream); }

.btn-whatsapp { background: #25D366; color: #073f23; }
.btn-whatsapp:hover { background: #1ebe5a; }

.btn-glass {
  background: rgba(255,255,255,0.55);
  color: var(--sage-deep);
  border-color: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  box-shadow: 0 8px 26px rgba(44,59,54,.12), inset 0 1px 0 rgba(255,255,255,.95);
}
.btn-glass:hover { background: #fff; }
.btn-glass svg { color: var(--gold); }

.btn-lg { padding: 17px 34px; font-size: 1.02rem; }
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }
.btn-block { width: 100%; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 18px 0;
  background: rgba(251,250,247,.5);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid rgba(255,255,255,.45);
  transition: padding .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled {
  padding: 10px 0;
  background: rgba(251,250,247,.8);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  backdrop-filter: blur(18px) saturate(170%);
  box-shadow: 0 8px 28px rgba(44,59,54,.10);
}

/* ---- Header au-dessus d'une section sombre ----
   le verre reste, mais teinté foncé et texte clair : sans ça, du sage-deep
   translucide sur un fond vert foncé devient illisible. Classe posée par main.js. */
.site-header.on-dark {
  background: rgba(26,35,31,.44);
  border-bottom-color: rgba(255,255,255,.14);
}
.site-header.on-dark.scrolled {
  background: rgba(26,35,31,.72);
  box-shadow: 0 8px 28px rgba(0,0,0,.22);
}
.site-header.on-dark .brand-name,
.site-header.on-dark .nav a,
.site-header.on-dark .header-phone { color: #fff; }
.site-header.on-dark .nav a:hover { color: var(--gold-soft); }
.site-header.on-dark .header-phone svg { color: var(--gold-soft); }
.site-header.on-dark .burger span { background: #fff; }
/* le CTA sauge se noierait sur fond sombre : il passe en doré */
.site-header.on-dark .btn-primary {
  background: var(--gold);
  border-color: var(--gold);
  color: #1f2823;
}
.site-header.on-dark .btn-primary:hover { background: var(--gold-soft); border-color: var(--gold-soft); }
/* menu mobile déroulé : il garde son fond clair, donc textes foncés */
.site-header.on-dark .nav.open a { color: var(--sage-deep); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 42px; height: 42px; border-radius: 11px; box-shadow: var(--shadow-sm); }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: 0.02em;
  color: var(--sage-deep);
}

.nav { display: flex; gap: 30px; }
.nav a {
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--sage-deep);
  position: relative;
  transition: color .25s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width .28s var(--ease);
}
.nav a:hover::after { width: 100%; }
.nav a:hover { color: var(--sage); }

.header-cta { display: flex; align-items: center; gap: 16px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 700; font-size: 0.92rem;
  color: var(--sage-deep);
}
.header-phone svg { color: var(--gold); }

.burger { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; flex-direction: column; gap: 5px; justify-content: center; align-items: center; }
.burger span { width: 24px; height: 2px; background: var(--sage-deep); border-radius: 2px; transition: .3s var(--ease); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO — concept « à travers la vitre » (glassmorphism)
   ============================================================ */
.hero {
  position: relative;
  min-height: 94vh;
  display: flex;
  align-items: center;
  padding: 150px 0 90px;
  overflow: hidden;
  background: #f5f8f3;
}

/* fond : halos flous (le flou léger premium) */
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(78px); }
.orb-a { width: 480px; height: 480px; top: -110px; right: 5%; background: radial-gradient(circle at 30% 30%, rgba(110,131,123,.85), transparent 70%); opacity: .5; animation: float 15s var(--ease) infinite; }
.orb-b { width: 360px; height: 360px; bottom: -80px; left: -55px; background: radial-gradient(circle at 30% 30%, rgba(126,155,135,.80), transparent 70%); opacity: .45; animation: float 19s var(--ease) infinite reverse; }
.orb-c { width: 300px; height: 300px; top: 42%; left: 44%; background: radial-gradient(circle at 30% 30%, rgba(216,195,156,.65), transparent 70%); opacity: .28; animation: float 22s var(--ease) infinite; }
@keyframes float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(0, -28px); } }

.hero-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(38px, 6vw, 78px);
  align-items: center;
}
.hero-copy { max-width: 620px; }
.hero h1 {
  color: var(--sage-deep);
  font-size: clamp(2.5rem, 5vw, 4.3rem);
  font-weight: 600;
  line-height: 1.05;
  margin-bottom: 22px;
}
.hero h1 em { color: var(--gold); font-weight: 600; }
.hero-sub {
  font-size: clamp(1.05rem, 1.8vw, 1.24rem);
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 28px;
}

.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 12px; margin-bottom: 32px; }
.glass-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--sage-deep);
  padding: 9px 17px;
  border-radius: 999px;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.9);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  box-shadow: 0 6px 18px rgba(44,59,54,.08), inset 0 1px 0 rgba(255,255,255,.9);
}
.chip-ic { width: 15px; height: 15px; flex: none; color: var(--gold); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }
.hero-micro { font-size: 0.9rem; color: var(--sage-soft); }

/* --- photo du hero (nette, sans cadre) --- */
.hero-visual { position: relative; }
.hero-photo {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 3.4;
  box-shadow: 0 34px 74px rgba(44,59,54,.22);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pane-shine {
  position: absolute; top: -30%; left: -60%;
  width: 42%; height: 160%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-18deg);
  animation: paneShine 7s var(--ease) infinite;
  pointer-events: none;
}
@keyframes paneShine {
  0%   { left: -60%; opacity: 0; }
  10%  { opacity: .85; }
  28%  { opacity: 0; }
  100% { left: 170%; opacity: 0; }
}

/* --- cartes en verre dépoli flottantes --- */
.glass-card {
  position: absolute;
  background: rgba(255,255,255,0.62);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(44,59,54,.20), inset 0 1px 0 rgba(255,255,255,.95);
  z-index: 2;
}
.float-rating {
  left: -26px; bottom: 32px;
  display: flex; flex-direction: column; align-items: center;
  padding: 15px 22px;
  animation: float 9s var(--ease) infinite;
}
.fr-score { font-family: var(--font-display); font-weight: 700; font-size: 2rem; line-height: 1; color: var(--sage-deep); }
.fr-stars { color: var(--gold); font-size: .78rem; letter-spacing: 1px; margin: 2px 0; }
.fr-label { font-size: .72rem; font-weight: 600; color: var(--muted); }
.float-credit {
  right: -18px; top: 24px;
  display: flex; flex-direction: column; align-items: center;
  padding: 13px 19px;
  animation: float 11s var(--ease) infinite reverse;
}
.float-credit b { font-family: var(--font-display); font-size: 1.55rem; color: var(--sage); line-height: 1; }
.float-credit span { font-size: .68rem; font-weight: 600; color: var(--muted); letter-spacing: .03em; }

/* ============================================================
   BANDEAU RÉASSURANCE
   ============================================================ */
.reassurance { background: var(--sage-deep); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.12); }
.reassurance-inner {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 46px;
  padding: 22px 26px;
}
.re-item { display: inline-flex; align-items: center; gap: 10px; font-size: 0.94rem; font-weight: 600; letter-spacing: .01em; }
.re-ic { display: inline-flex; color: var(--gold-soft); }
.re-ic svg { width: 19px; height: 19px; }

/* ============================================================
   SPLIT LAYOUT (texte + média)
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.split-reverse .split-media { order: -1; }
.split-text h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin-bottom: 22px; }
.lead { font-size: 1.18rem; color: var(--ink); margin-bottom: 16px; }
.split-text p { color: var(--muted); margin-bottom: 14px; }
.split-text .lead { color: var(--ink); }

.ticks { margin-top: 22px; display: grid; gap: 13px; }
.ticks li { position: relative; padding-left: 34px; color: var(--ink); font-weight: 500; }
.ticks li::before {
  content: "";
  position: absolute; left: 0; top: 3px;
  width: 21px; height: 21px;
  border-radius: 50%;
  background: var(--sage-tint);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%233E524C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* media */
.split-media img { box-shadow: var(--shadow-lg); }
.rounded-media { border-radius: var(--radius); }
.rounded-media.tall { aspect-ratio: 4/5; object-fit: cover; width: 100%; }

/* avant / après */
.ba-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.ba-frame img { width: 100%; display: block; }
.ba-frame::after {
  content: ""; position: absolute; top: 0; left: -85%;
  width: 48%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-20deg);
  transition: left .9s var(--ease);
  pointer-events: none;
}
.ba-frame:hover::after { left: 150%; }
.ba-tag {
  position: absolute; top: 18px; z-index: 1;
  font-size: 0.72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px; color: #fff;
  backdrop-filter: blur(6px);
}
.ba-before { left: 18px; background: rgba(35,43,39,.6); border: 1px solid rgba(255,255,255,.25); }
.ba-after { right: 18px; background: rgba(62,82,76,.85); border: 1px solid rgba(255,255,255,.3); }
figcaption { margin-top: 16px; font-size: 0.92rem; color: var(--muted); text-align: center; font-style: italic; }

/* ============================================================
   COMPARATEUR AVANT / APRÈS (curseur à glisser)
   ============================================================ */
.avant-apres {
  background:
    radial-gradient(120% 90% at 50% -10%, rgba(182,206,193,.22), transparent 60%),
    radial-gradient(90% 70% at 100% 110%, rgba(205,179,137,.12), transparent 60%),
    var(--paper);
}
/* mise en page : texte à gauche, comparateur (plus petit) à droite — desktop */
.ba-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.ba-intro h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); }
.ba-intro .section-intro { margin-top: 16px; }
.ba-compare { margin: 0; }

/* tablette / mobile : on empile et on recentre */
@media (max-width: 860px) {
  .ba-layout { display: block; }
  .ba-intro { text-align: center; margin-bottom: clamp(28px, 6vw, 40px); }
  .ba-intro h2 { font-size: clamp(2rem, 5.5vw, 2.7rem); }
  .ba-compare { max-width: 940px; margin: 0 auto; }
}

.bac-stage {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(44,59,54,.20), 0 0 26px rgba(255,255,255,.14);
  cursor: ew-resize;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  --pos: 50%;
}
/* liseré "verre" doré, comme les autres médias */
.bac-stage::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg,
    rgba(255,255,255,.95) 0%,
    rgba(255,255,255,.35) 22%,
    rgba(255,255,255,.05) 48%,
    rgba(205,179,137,.4) 74%,
    rgba(205,179,137,.65) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  z-index: 6;
}

.bac-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  -webkit-user-drag: none;
}
/* l'image AVANT est posée par-dessus puis rognée jusqu'au curseur */
.bac-before-wrap {
  position: absolute; inset: 0;
  z-index: 2;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
  -webkit-clip-path: inset(0 calc(100% - var(--pos)) 0 0);
  will-change: clip-path;
}
/* l'AVANT légèrement terni pour vendre la transformation */
.bac-before { filter: saturate(.82) brightness(.94) contrast(.97); }

/* étiquettes */
.bac-label {
  position: absolute; top: 16px; z-index: 4;
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: 7px 14px; border-radius: 999px; color: #fff;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: var(--shadow-sm);
}
.bac-label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.bac-label-before { left: 16px; background: rgba(35,43,39,.62); border: 1px solid rgba(255,255,255,.22); }
.bac-label-after  { right: 16px; background: linear-gradient(135deg, var(--gold) 0%, #9c7c4f 100%); border: 1px solid rgba(255,255,255,.3); }

/* ligne + poignée */
.bac-divider {
  position: absolute; top: 0; bottom: 0; left: var(--pos);
  width: 3px; z-index: 4;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(255,255,255,.4), #fff 18%, #fff 82%, rgba(255,255,255,.4));
  box-shadow: 0 0 14px rgba(180,145,97,.55), 0 0 2px rgba(0,0,0,.25);
  pointer-events: none;
}
.bac-handle {
  position: absolute; top: 50%; left: 50%;
  width: 56px; height: 56px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  border: 2px solid rgba(180,145,97,.85);
  box-shadow: 0 8px 22px rgba(44,59,54,.30), inset 0 1px 0 rgba(255,255,255,.9);
  display: grid; place-items: center;
  color: var(--sage);
}
.bac-handle svg { width: 26px; height: 26px; }
/* léger pouls d'invitation tant que personne n'a touché */
.bac-stage:not(.is-touched) .bac-handle { animation: bacPulse 2.4s var(--ease) infinite; }
@keyframes bacPulse {
  0%, 100% { box-shadow: 0 8px 22px rgba(44,59,54,.30), inset 0 1px 0 rgba(255,255,255,.9), 0 0 0 0 rgba(180,145,97,.45); }
  50%      { box-shadow: 0 8px 22px rgba(44,59,54,.30), inset 0 1px 0 rgba(255,255,255,.9), 0 0 0 12px rgba(180,145,97,0); }
}

/* la zone de glisse (transparente, accessible clavier) */
.bac-range {
  position: absolute; inset: 0; z-index: 5;
  width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize;
  -webkit-appearance: none; appearance: none; background: transparent;
}
.bac-range:focus-visible { outline: none; }
.bac-range:focus-visible ~ .bac-divider .bac-handle { box-shadow: 0 0 0 4px rgba(180,145,97,.45), 0 8px 22px rgba(44,59,54,.30); }
.bac-range::-webkit-slider-thumb { -webkit-appearance: none; width: 56px; height: 56px; cursor: ew-resize; }
.bac-range::-moz-range-thumb { width: 56px; height: 56px; border: 0; background: transparent; cursor: ew-resize; }

/* indice "glissez pour comparer" */
.bac-hint {
  position: absolute; left: 50%; bottom: 16px; z-index: 4;
  transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: .02em; white-space: nowrap;
  color: var(--sage-deep);
  background: rgba(255,255,255,.86);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.7);
  padding: 8px 15px; border-radius: 999px;
  box-shadow: var(--shadow-sm);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
  pointer-events: none;
}
.bac-hint svg { width: 16px; height: 16px; }
.bac-stage.is-touched .bac-hint { opacity: 0; transform: translateX(-50%) translateY(8px); }

/* ============================================================
   BADGE "PHOTO RÉELLE KLINN" (cliquable → pop-up) — sur toutes les images
   ============================================================ */
.photo-badge {
  position: absolute; right: 14px; bottom: 14px; z-index: 5;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-body);
  font-size: 0.68rem; font-weight: 600; letter-spacing: .03em;
  color: #fff; cursor: pointer;
  background: rgba(35,43,39,.5);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.22);
  padding: 6px 11px; border-radius: 999px;
  box-shadow: 0 4px 14px rgba(20,28,25,.28);
  transition: background .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.photo-badge:hover { background: rgba(35,43,39,.74); transform: translateY(-1px); box-shadow: 0 7px 20px rgba(20,28,25,.34); }
.photo-badge:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(180,145,97,.6); }
.photo-badge svg { width: 14px; height: 14px; flex: none; opacity: .9; }
.photo-badge sup { font-size: .85em; margin-left: 1px; color: var(--gold-soft); }
/* variante coin gauche (comparateur avant/après : au-dessus de la zone de glisse) */
.photo-badge--left { right: auto; left: 14px; z-index: 6; }

/* bandeau de preuves sous le comparateur */
.bac-stats {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 12px 28px;
  margin-top: 26px;
}
.bac-stats li {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 600; color: var(--sage-deep); font-size: 0.98rem;
}
.bac-stats svg { width: 20px; height: 20px; color: var(--gold); flex: none; }

@media (max-width: 640px) {
  .bac-stage { aspect-ratio: 4 / 3; border-radius: 15px; }
  .bac-handle { width: 48px; height: 48px; }
  .bac-handle svg { width: 22px; height: 22px; }
  .bac-label { font-size: 0.66rem; padding: 6px 11px; top: 12px; }
  .bac-label-before { left: 12px; } .bac-label-after { right: 12px; }
  /* mobile : badge réduit à l'icône + astérisque (gain de place, pas de chevauchement) */
  .photo-badge { font-size: 0; padding: 6px 9px; right: 12px; bottom: 12px; gap: 4px; }
  .photo-badge svg { width: 14px; height: 14px; }
  .photo-badge sup { font-size: 11px; margin-left: 0; }
  .photo-badge--left { left: 12px; right: auto; }
  .bac-stats { gap: 10px 20px; }
  .bac-stats li { font-size: 0.9rem; }
}
@media (prefers-reduced-motion: reduce) {
  .bac-stage:not(.is-touched) .bac-handle { animation: none; }
}

/* liseré "verre" sur les images (reflet de lumière, premium 2026) */
#how .split-media,
#solaire .split-media { position: relative; border-radius: var(--radius); }
.hero-photo, .ba-frame, #serenite .split-media, #how .split-media img, #solaire .split-media img {
  box-shadow: 0 26px 60px rgba(44,59,54,.22), 0 0 24px rgba(255,255,255,.14);
}
.hero-photo::before,
.ba-frame::before,
#serenite .split-media::before,
#how .split-media::before,
#solaire .split-media::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg,
    rgba(255,255,255,.95) 0%,
    rgba(255,255,255,.35) 22%,
    rgba(255,255,255,.05) 48%,
    rgba(205,179,137,.4) 74%,
    rgba(205,179,137,.65) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  z-index: 3;
}

/* Panneaux photovoltaïques */
.solaire-cta { margin-top: 30px; }

/* Notre différence — section vert foncé sauge */
.detail {
  background:
    radial-gradient(135% 105% at 86% -12%, rgba(182,206,193,.18), transparent 55%),
    radial-gradient(120% 120% at 6% 108%, rgba(20,28,25,.55), transparent 60%),
    linear-gradient(150deg, #567066 0%, #3E524C 48%, #243029 100%);
  color: #fff;
}
.detail .eyebrow { color: var(--gold-soft); background: rgba(205,179,137,.14); }
.detail h2 { color: #fff; }
.detail h2 em { color: var(--gold-soft); }
.detail .split-text p { color: rgba(255,255,255,.78); }
.detail .split-text .lead { color: rgba(255,255,255,.9); }
.detail .split-text .lead strong { color: #fff; }
.detail .ticks li { color: rgba(255,255,255,.92); }
.detail .ticks li::before {
  background-color: rgba(255,255,255,.14);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23cdb389' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}
.detail figcaption { color: rgba(255,255,255,.72); }

/* ============================================================
   FORMULES
   ============================================================ */
.cards-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 920px;
  margin: 0 auto;
}
.plan {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 34px;
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.plan-featured {
  border: 1.5px solid var(--sage);
  box-shadow: var(--shadow-md);
  background: linear-gradient(180deg, #fff, #fbfdfb);
}
.plan-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: #fff;
  font-size: 0.72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 7px 18px; border-radius: 999px;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}
.plan-head { margin-bottom: 26px; }
.plan-head h3 { font-size: 2rem; }
.plan-tagline { color: var(--muted); font-size: 1rem; margin-top: 6px; font-style: italic; }

.plan-feats { display: grid; gap: 13px; margin-bottom: 30px; flex: 1; }
.plan-feats li {
  position: relative; padding-left: 32px;
  font-weight: 500; color: var(--ink);
  display: flex; align-items: center; gap: 8px;
}
.plan-feats li span {
  font-size: 0.78rem; font-weight: 600; color: var(--gold);
  background: rgba(180,145,97,.12); padding: 2px 9px; border-radius: 999px;
}
.plan-feats li::before { content: ""; position: absolute; left: 0; width: 20px; height: 20px; background-repeat: no-repeat; background-position: center; }
.plan-feats li.ok::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%233E524C' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); }
.plan-feats li.opt::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23B49161' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3C/svg%3E"); }
.plan-feats li.no { color: #adb3b0; }
.plan-feats li.no::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23c2c7c4' stroke-width='2.5' stroke-linecap='round'%3E%3Cline x1='6' y1='12' x2='18' y2='12'/%3E%3C/svg%3E"); }

.formules-foot { text-align: center; margin-top: 34px; color: var(--muted); }

/* ---- Estimation du coût ---- */
.estim-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 920px;
  margin: 0 auto;
}
.estim-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 32px 34px;
  text-align: center;
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.estim-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.estim-featured {
  border: 1.5px solid var(--sage);
  box-shadow: var(--shadow-md);
  background: linear-gradient(180deg, #fff, #fbfdfb);
}
.estim-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: #fff;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 7px 18px; border-radius: 999px;
  box-shadow: var(--shadow-sm); white-space: nowrap;
}
.estim-ico { color: var(--sage); margin-bottom: 8px; }
.estim-head h3 { font-size: 1.7rem; }
.estim-tagline { color: var(--muted); font-size: .92rem; margin-top: 6px; }
.estim-price { margin: 22px 0 16px; display: flex; flex-direction: column; gap: 5px; flex: 1; justify-content: center; }
.ep-label { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ep-amount {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.4rem, 5.4vw, 3rem); line-height: 1; color: var(--sage-deep);
}
.estim-featured .ep-amount { color: var(--sage); }
.ep-after { font-size: .9rem; font-weight: 700; color: var(--gold); }
.ep-gross {
  font-size: .92rem; color: var(--muted);
  padding: 14px 0 22px; margin-top: 4px;
  border-top: 1px solid var(--line);
}
.ep-gross b { color: var(--ink); font-weight: 700; }

/* estimateur interactif */
.estim-tool {
  max-width: 920px; margin: 28px auto 0;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 34px;
}
.estim-tool-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 26px;
}
.estim-field label { display: block; font-weight: 700; color: var(--sage-deep); font-size: 1rem; margin-bottom: 10px; }
.estim-input { position: relative; display: flex; align-items: center; }
.estim-input input {
  font-family: var(--font-body); font-size: 1.4rem; font-weight: 600; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line);
  border-radius: 12px; padding: 13px 54px 13px 16px; width: 100%;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.estim-input input::placeholder { color: #c4cac6; }
.estim-input input:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px rgba(62,82,76,.12); }
.estim-input-unit { position: absolute; right: 16px; font-weight: 700; color: var(--muted); pointer-events: none; }
.estim-base { font-size: .78rem; color: var(--muted); margin-top: 8px; }
.estim-arrow { color: var(--gold); flex: none; display: flex; }
.estim-out {
  text-align: center; background: #fff; border-radius: var(--radius-sm);
  padding: 18px 20px; box-shadow: var(--shadow-sm);
}
.estim-out-label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.estim-out-amount {
  display: block; margin: 4px 0 2px;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.2rem, 5.4vw, 2.8rem); line-height: 1.1; color: var(--sage);
}
.estim-out-gross { display: block; font-size: .9rem; color: var(--muted); }
.estim-note { text-align: center; margin-top: 18px; font-size: .82rem; color: var(--muted); }

@media (max-width: 720px) {
  .estim-cards { grid-template-columns: 1fr; }
  .estim-tool { padding: 26px 22px; }
  .estim-tool-inner { grid-template-columns: 1fr; gap: 16px; }
  .estim-arrow { transform: rotate(90deg); margin: 0 auto; }
}

/* ============================================================
   SÉRÉNITÉ
   ============================================================ */
/* Sérénité — section sombre (brun des encadrements de la photo, #302720) */
.serenite {
  background:
    radial-gradient(135% 105% at 12% -12%, rgba(205,179,137,.16), transparent 55%),
    radial-gradient(120% 120% at 92% 110%, rgba(12,9,6,.6), transparent 60%),
    linear-gradient(150deg, #4d4031 0%, #302720 50%, #17110d 100%);
  color: #fff;
}
.serenite .eyebrow { color: var(--gold-soft); background: rgba(205,179,137,.14); }
.serenite h2 { color: #fff; }
.serenite h2 em { color: var(--gold-soft); }
.serenite .lead { color: rgba(255,255,255,.82); }
.serenite .lead strong { color: #fff; }
.serenite .ticks li { color: rgba(255,255,255,.9); }
.serenite .ticks li::before {
  background-color: rgba(255,255,255,.12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23cdb389' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}
.serenite .btn-primary {
  background: var(--gold);
  box-shadow: 0 14px 30px rgba(180,145,97,.35);
}
.serenite .btn-primary:hover {
  background: var(--gold-soft); color: var(--sage-deep);
  box-shadow: 0 18px 38px rgba(180,145,97,.45);
}
/* cartes & encadré en verre sur fond sombre */
.serenite .rythme {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.14);
  backdrop-filter: blur(6px);
}
.serenite .rythme-pass { color: rgba(255,255,255,.62); }
.serenite .rythme-off { color: var(--gold-soft); }
.serenite .rythme-off-full { color: #fff; }
.serenite .rythme-sub { color: rgba(255,255,255,.62); }
.serenite .rythme-best {
  border-color: var(--gold-soft);
  background: rgba(255,255,255,.10);
  box-shadow: 0 14px 30px rgba(0,0,0,.32);
}
.serenite .rythmes-cap { color: rgba(255,255,255,.62); }
.serenite .rythmes-cap strong { color: #fff; }
.serenite .callout {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
  border-left-color: var(--gold-soft);
  color: rgba(255,255,255,.85);
  box-shadow: 0 14px 30px rgba(0,0,0,.25);
  backdrop-filter: blur(6px);
}
.serenite .callout strong { color: #fff; }
.serenite .callout b { color: var(--gold-soft); }
.serenite .callout-note { color: rgba(255,255,255,.6); }

/* barème de fidélité — comprendre Sérénité d'un coup d'œil */
.rythmes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 22px 0 10px; }
.rythmes-2 { grid-template-columns: 1fr 1fr; gap: 14px; max-width: 480px; }
.rythme {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 8px 15px;
  text-align: center;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.rythme:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.rythme-pass { display: block; font-size: .67rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--muted); }
.rythme-off { display: block; margin-top: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.9rem; line-height: 1; color: var(--gold); }
.rythme-off-full { font-size: 1.02rem; color: var(--sage-deep); margin-top: 12px; }
.rythme-sub { display: block; margin-top: 6px; font-size: .74rem; font-weight: 600; color: var(--muted); }
.rythme-best { border-color: var(--sage); box-shadow: 0 12px 28px rgba(62,82,76,.14); }
.rythme-badge {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: #fff;
  font-size: .55rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 999px; white-space: nowrap;
}
.rythmes-cap { font-size: .8rem; color: var(--muted); margin: 0 0 22px; }

/* Sérénité — deux paliers de remise selon le rythme */
.sr-tiers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 26px 0 14px;
}
.sr-tier {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 24px 18px 20px;
  border-radius: 18px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(6px);
  /* état de départ pour l'animation d'entrée */
  opacity: 0;
  transform: translateY(18px) scale(.96);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
/* pop-in en cascade quand la section devient visible */
.reveal.is-visible .sr-tier { animation: srPop .7s cubic-bezier(.22,1.2,.36,1) forwards; }
.reveal.is-visible .sr-tier:nth-child(1) { animation-delay: .15s; }
.reveal.is-visible .sr-tier:nth-child(2) { animation-delay: .3s; }
@keyframes srPop {
  0%   { opacity: 0; transform: translateY(18px) scale(.96); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.sr-tier:hover { transform: translateY(-6px) scale(1.015); box-shadow: 0 20px 44px rgba(0,0,0,.36); }
.sr-tier-freq {
  font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: rgba(255,255,255,.62);
}
.sr-tier-off {
  display: flex; align-items: flex-start; justify-content: center;
  font-family: var(--font-display); font-weight: 700; line-height: .9;
  font-size: 3.6rem; color: var(--gold-soft);
}
.sr-tier-off i { font-style: normal; font-size: 1.5rem; margin-top: .3em; margin-left: 2px; }
.sr-tier-ex {
  margin-top: 4px; padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.12);
  width: 100%;
  font-size: .92rem; font-weight: 700; color: #fff;
}
/* palier le plus avantageux — mis en avant + pulsation douce */
.sr-tier-best {
  border-color: var(--gold-soft);
  background: linear-gradient(160deg, rgba(205,179,137,.22), rgba(255,255,255,.05));
}
.sr-tier-best .sr-tier-off { color: #fff; }
.reveal.is-visible .sr-tier.sr-tier-best { animation: srPop .7s cubic-bezier(.22,1.2,.36,1) .3s forwards, srGlow 2.8s var(--ease) 1.1s infinite; }
@keyframes srGlow {
  0%, 100% { box-shadow: 0 10px 26px rgba(180,145,97,.18); }
  50%      { box-shadow: 0 16px 42px rgba(205,179,137,.5); }
}
.sr-tier-badge {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: #fff;
  font-size: .58rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 6px 16px rgba(180,145,97,.5);
}
@media (prefers-reduced-motion: reduce) {
  .sr-tier { opacity: 1; transform: none; animation: none !important; }
  .reveal.is-visible .sr-tier, .reveal.is-visible .sr-tier-best { animation: none !important; opacity: 1; transform: none; }
}
@media (max-width: 520px) {
  .sr-tiers { grid-template-columns: 1fr; gap: 26px; }
}

/* Sérénité — surfaces couvertes par la prestation */
.sr-applies {
  padding: 22px clamp(18px, 3vw, 30px) 24px;
  border-radius: 18px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(6px);
}
.sr-applies-title {
  margin: 0 0 16px;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gold-soft); text-align: center;
}
.sr-applies-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.sr-surface {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px;
  padding: 16px 10px;
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  transition: transform .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.sr-surface:hover {
  transform: translateY(-4px);
  border-color: var(--gold-soft);
  background: rgba(205,179,137,.12);
}
.sr-surface svg { width: 30px; height: 30px; color: var(--gold-soft); }
.sr-surface span { font-size: .92rem; font-weight: 700; color: #fff; }
.sr-surface small { font-size: .66rem; color: rgba(255,255,255,.55); }
@media (max-width: 620px) {
  .sr-applies-grid { grid-template-columns: 1fr 1fr; }
}

#serenite .split { align-items: stretch; }
/* le cadre suit la hauteur du texte ; l'image le remplit (recadrage doux si besoin) */
#serenite .split-media {
  position: relative;
  min-height: 360px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
#serenite .split-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

/* bande inférieure pleine largeur : puces + encadré + CTA */
.serenite-foot { margin-top: clamp(26px, 4vw, 44px); display: grid; gap: 18px; }
.serenite-foot .ticks { margin-top: 0; display: flex; flex-wrap: wrap; gap: 12px 40px; }

/* encadré + bouton CTA côte à côte, même hauteur */
.serenite-cta { display: flex; align-items: stretch; gap: 22px; margin-top: 4px; }
.serenite-cta .callout { flex: 1 1 auto; max-width: none; margin: 0; }
.serenite-cta-btn {
  flex: 0 0 auto; align-self: stretch;
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 0 36px; min-width: 230px;
  font-size: 1.08rem; text-align: center; line-height: 1.2;
  border-radius: var(--radius-sm);
  animation: ctaGlow 2.6s var(--ease) infinite;
}
.serenite-cta-btn span, .serenite-cta-btn svg { position: relative; z-index: 1; }
.serenite-cta-btn svg { transition: transform .25s var(--ease); }
.serenite-cta-btn:hover svg { transform: translateX(4px); }
/* reflet qui balaye */
.serenite-cta-btn::after {
  content: ""; position: absolute; top: 0; left: -130%; z-index: 0;
  width: 55%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.5), transparent);
  transform: skewX(-20deg);
  animation: ctaSheen 3.4s var(--ease) infinite;
}
@keyframes ctaGlow {
  0%, 100% { box-shadow: 0 12px 26px rgba(180,145,97,.30); }
  50%      { box-shadow: 0 16px 40px rgba(180,145,97,.62); }
}
@keyframes ctaSheen {
  0%       { left: -130%; }
  60%, 100% { left: 165%; }
}
@media (prefers-reduced-motion: reduce) {
  .serenite-cta-btn { animation: none; }
  .serenite-cta-btn::after { display: none; }
}
@media (max-width: 620px) {
  .serenite-cta { flex-direction: column; align-items: stretch; }
  .serenite-cta-btn { width: 100%; padding: 16px 24px; }
}
.callout {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin: 26px 0 28px;
  font-size: 1.05rem;
  box-shadow: var(--shadow-sm);
}
.callout strong { color: var(--sage-deep); }
.callout-note { display: block; font-size: 0.85rem; color: var(--muted); margin-top: 4px; }

/* ============================================================
   CRÉDIT D'IMPÔT
   ============================================================ */
.credit { background: linear-gradient(155deg, #4c6259 0%, var(--sage) 42%, var(--sage-deep) 100%); color: #fff; }
.credit-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 78px);
  align-items: start;
}
.credit-intro h2 { color: #fff; font-size: clamp(2rem, 4.2vw, 3.1rem); margin-bottom: 20px; }
.credit-intro h2 em { color: var(--gold-soft); }
.section-intro-light { color: rgba(255,255,255,.82); font-size: 1.06rem; }
/* réassurance en pastilles compactes (remplace l'ancienne liste à puces) */
.credit-chips {
  margin-top: 24px; padding: 0; list-style: none;
  display: flex; flex-wrap: wrap; gap: 9px;
}
.credit-chips li {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px 7px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  font-size: .85rem; font-weight: 600; line-height: 1.2;
  color: rgba(255,255,255,.9);
}
.credit-chips li::before {
  content: ""; flex: none;
  width: 14px; height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23cdb389' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: contain;
}

/* --- la facture premium --- */
.credit-bill {
  background: #fff;
  color: var(--ink);
  border-radius: 24px;
  padding: 32px 34px 28px;
  box-shadow: 0 44px 90px rgba(18,26,22,.34);
}
.cb-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.cb-plan { font-family: var(--font-body); font-weight: 700; font-size: 0.76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cb-badge { background: var(--gold); color: #fff; font-weight: 800; font-size: 0.92rem; padding: 6px 14px; border-radius: 999px; box-shadow: 0 8px 18px rgba(180,145,97,.35); white-space: nowrap; }

/* calcul en 3 temps : prix − crédit = ce que vous payez */
.cb-calc { display: grid; }
.cb-row {
  display: grid; grid-template-columns: 26px 1fr auto;
  align-items: center; gap: 14px; padding: 15px 2px;
}
.cb-row + .cb-row { border-top: 1px solid var(--line); }
.cb-op {
  font-family: var(--font-display); font-weight: 600; font-size: 1.5rem;
  line-height: 1; color: var(--muted); text-align: center;
}
.cb-row-label { display: flex; flex-direction: column; font-weight: 600; color: var(--ink); }
.cb-row-label small { font-size: .74rem; font-weight: 500; color: var(--muted); letter-spacing: .04em; margin-top: 3px; text-transform: uppercase; }
.cb-row-val { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; line-height: 1; color: var(--sage-deep); white-space: nowrap; }
.cb-row-deduct .cb-op,
.cb-row-deduct .cb-row-val { color: var(--gold); }

.cb-row-final {
  margin-top: 14px; padding: 20px 18px;
  border-top: 0; border-radius: 16px;
  background: var(--sage-tint);
}
.cb-row-final .cb-op { color: var(--sage); }
.cb-row-final .cb-row-label { font-weight: 800; font-size: 1.1rem; color: var(--sage-deep); }
.cb-row-final .cb-row-val {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.3rem, 4.6vw, 3rem); line-height: 1; color: var(--sage);
}
@media (max-width: 420px) {
  .cb-row { grid-template-columns: 20px 1fr auto; gap: 10px; }
  .cb-row-final { padding: 16px 14px; }
}
.cb-note { margin-top: 16px; font-size: .77rem; color: var(--muted); text-align: center; }

/* --- petits liens vers les sources officielles --- */
.official-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .78rem; font-weight: 600; letter-spacing: .01em;
  color: var(--muted); text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .18s ease, border-color .18s ease;
}
.official-link svg { flex: none; opacity: .8; }
.official-link:hover { color: var(--gold); border-bottom-color: rgba(180,145,97,.5); }
.official-link:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.step-precision { color: var(--muted); font-size: .92em; }

/* --- « l'inscription est simple » : 3 micro-étapes rassurantes --- */
.credit-how {
  margin-top: 26px; padding: 20px 22px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 16px;
  backdrop-filter: blur(10px) saturate(120%);
}
.chow-title {
  font-family: var(--font-body); font-weight: 700;
  font-size: .78rem; letter-spacing: .13em; text-transform: uppercase;
  color: var(--gold-soft); margin-bottom: 14px;
}
.chow-steps { display: grid; gap: 11px; list-style: none; margin: 0; padding: 0; counter-reset: none; }
.chow-steps li {
  display: grid; grid-template-columns: 22px 1fr; gap: 11px;
  align-items: start;
  font-size: .93rem; line-height: 1.5; color: rgba(255,255,255,.82);
}
.chow-n {
  display: flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(205,179,137,.18); border: 1px solid rgba(205,179,137,.42);
  /* Manrope (pas le serif) : chiffres à métriques régulières, donc réellement centrés */
  font-family: var(--font-body); font-weight: 700; font-size: .72rem;
  line-height: 1; font-variant-numeric: tabular-nums;
  color: var(--gold-soft);
}

/* --- chiffre clé animé (Avance Immédiate), sous la facture --- */
.credit-stat { margin-top: 30px; padding: 0 4px; }
.cs-val {
  display: block;
  font-family: var(--font-display); font-weight: 700; line-height: 1;
  font-size: clamp(2.9rem, 6vw, 3.9rem);
  color: var(--gold-soft);
}
.cs-bar {
  height: 6px; margin: 15px 0 13px;
  border-radius: 999px; background: rgba(255,255,255,.13);
  overflow: hidden;
}
.cs-fill {
  display: block; height: 100%; width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold-soft), var(--gold));
  transition: width 1.3s cubic-bezier(.2,.7,.3,1) .15s;
}
.reveal.is-visible .cs-fill { width: var(--w); }
.cs-label { font-size: .95rem; line-height: 1.55; color: rgba(255,255,255,.74); max-width: 42ch; }
.cs-label strong { color: #fff; font-weight: 700; }
@media (prefers-reduced-motion: reduce) {
  .cs-fill { transition: none; width: var(--w); }
}

.credit-sources { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 20px; }
.official-link-light { color: rgba(255,255,255,.66); }
.official-link-light:hover { color: var(--gold-soft); border-bottom-color: rgba(205,179,137,.55); }

/* ============================================================
   COMMENT ÇA MARCHE
   ============================================================ */
.steps { display: grid; gap: 26px; margin-top: 30px; }
.steps li { display: flex; gap: 20px; align-items: flex-start; }
.step-n {
  flex: none;
  width: 50px; height: 50px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--sage); color: #fff;
  /* Manrope, pas le serif : les chiffres de Cormorant ont des métriques
     verticales qui les décentrent dans une pastille ronde */
  font-family: var(--font-body); font-weight: 700; font-size: 1.18rem;
  line-height: 1; font-variant-numeric: tabular-nums;
  box-shadow: var(--shadow-sm);
}
.steps h3 { font-size: 1.4rem; margin-bottom: 4px; }
.steps p { color: var(--muted); }

/* ============================================================
   ENGAGEMENTS
   ============================================================ */
.commit {
  background-color: var(--mist);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cg fill='none' stroke='%233E524C' stroke-opacity='0.08' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg transform='translate(20 26) rotate(-18) scale(1.15)'%3E%3Crect x='27' y='6' width='10' height='20' rx='5'/%3E%3Cpath d='M32 26 v6'/%3E%3Crect x='10' y='32' width='44' height='8' rx='3'/%3E%3Cpath d='M15 44 h34'/%3E%3C/g%3E%3Cg transform='translate(115 112) rotate(30) scale(1.15)'%3E%3Crect x='27' y='6' width='10' height='20' rx='5'/%3E%3Cpath d='M32 26 v6'/%3E%3Crect x='10' y='32' width='44' height='8' rx='3'/%3E%3Cpath d='M15 44 h34'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-size: 220px 220px;
}
.commit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.commit-item {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  display: flex; gap: 16px; align-items: flex-start;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.commit-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

/* reflet de verre balayant la carte au survol */
.commit-item::after,
.avis-card::after {
  content: "";
  position: absolute; top: 0; left: -85%;
  width: 55%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-20deg);
  transition: left .8s var(--ease);
  pointer-events: none;
}
.commit-item:hover::after,
.avis-card:hover::after { left: 145%; }
.commit-ic {
  flex: none;
  width: 50px; height: 50px;
  border-radius: 16px;
  display: grid; place-items: center;
  background: var(--sage-tint);
  color: var(--sage);
}
.commit-ic svg { width: 26px; height: 26px; }
.commit-item p { font-weight: 500; color: var(--ink); }

/* ============================================================
   AVIS
   ============================================================ */
.avis-rating { text-align: center; margin-bottom: 34px; }
.rating-score { font-family: var(--font-display); font-weight: 700; font-size: 3.2rem; line-height: 1; color: var(--sage-deep); }
.rating-stars { color: var(--gold); font-size: 1.3rem; letter-spacing: 4px; margin: 4px 0; }
.rating-meta { color: var(--muted); font-size: 0.88rem; }

.avis-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.avis-card {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 24px;
  display: flex; flex-direction: column; gap: 11px;
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.avis-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(180,145,97,.4); }
.avis-card:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.avis-card .stars { color: var(--gold); letter-spacing: 2px; }
.avis-card p {
  font-family: var(--font-accent); font-size: 1.12rem; line-height: 1.45; color: var(--ink); font-style: italic;
  display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden;
}
.avis-card cite { font-style: normal; font-size: 0.88rem; font-weight: 600; color: var(--sage-soft); margin-top: auto; }
/* pied de carte avis : avatar Google premium */
.avis-author { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 4px; }
.avis-avatar {
  width: 46px; height: 46px; flex: none;
  border-radius: 50%; object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1.5px var(--gold-soft), 0 5px 14px rgba(44,59,54,.16);
}
.avis-avatar--initial {
  display: grid; place-items: center;
  background: var(--sage); color: #fff;
  font-family: var(--font-body); font-weight: 700; font-size: 1.1rem;
}
.avis-id { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.avis-name { font-family: var(--font-body); font-size: 0.92rem; font-weight: 700; color: var(--sage-deep); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.avis-src { display: inline-flex; align-items: center; gap: 5px; font-size: 0.76rem; color: var(--sage-soft); }
.avis-src .g-ic { flex: none; }

/* pop-up : avis complet au clic */
.avis-modal {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: center; justify-content: center;
  padding: 22px;
  background: rgba(20,26,24,.55);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden;
  transition: opacity .25s var(--ease), visibility .25s var(--ease);
}
.avis-modal.open { opacity: 1; visibility: visible; }
.avis-modal-box {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  width: 100%; max-width: 560px; max-height: 85vh; overflow-y: auto;
  padding: 38px 36px 30px;
  box-shadow: var(--shadow-lg);
  transform: translateY(14px) scale(.98);
  transition: transform .28s var(--ease);
}
.avis-modal.open .avis-modal-box { transform: none; }
.avis-modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px; border-radius: 50%;
  border: none; cursor: pointer;
  background: var(--cream); color: var(--sage-deep);
  font-size: 1.5rem; line-height: 1;
  display: grid; place-items: center;
  transition: background .2s var(--ease);
}
.avis-modal-close:hover { background: var(--sage-tint); }
.avis-modal .stars { color: var(--gold); letter-spacing: 2px; font-size: 1.05rem; margin-bottom: 14px; }
.avis-modal-text { font-family: var(--font-accent); font-style: italic; font-size: 1.28rem; line-height: 1.55; color: var(--ink); margin-bottom: 22px; }
.avis-modal-foot { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); }
.avis-modal-link { display: inline-flex; align-items: center; gap: 4px; font-size: 0.9rem; font-weight: 700; color: var(--sage); }
.avis-modal-link:hover { color: var(--sage-deep); }
.avis-foot { text-align: center; margin-top: 40px; font-size: 1.1rem; color: var(--muted); }
.avis-actions {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 14px; margin-top: 22px;
}
.avis-actions .btn { display: inline-flex; align-items: center; gap: 9px; }
.avis-actions .btn svg { flex: none; }
@media (max-width: 460px) {
  .avis-actions { flex-direction: column; align-items: stretch; }
  .avis-actions .btn { justify-content: center; }
}

/* ============================================================
   TERRITOIRE — liste éditoriale
   ============================================================ */
.territoire { background: var(--cream); }
.terr-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1080px; margin: 0 auto;
}
.terr-zone {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 26px 28px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.terr-zone:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(180,145,97,.4); }
.terr-zone h3 {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.42rem; line-height: 1; color: var(--sage-deep); margin-bottom: 12px;
}
.terr-zone h3::before {
  content: ""; flex: none;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--sage); box-shadow: 0 0 0 4px var(--sage-tint);
}
.terr-main {
  font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; line-height: 1.35;
  color: var(--sage); margin-bottom: 9px;
}
.terr-main::before { content: "★ "; color: var(--gold); }
.terr-cities { font-size: 0.95rem; line-height: 1.7; color: var(--muted); }

/* carte d'appel "votre commune ?" */
.terr-cta {
  border-color: transparent;
  background: var(--sage-deep);
  color: #fff;
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  justify-content: center;
}
.terr-cta:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.terr-cta h3 { color: #fff; margin-bottom: 0; }
.terr-cta h3::before { background: var(--gold); box-shadow: 0 0 0 4px rgba(180,145,97,.25); }
.terr-cta-text { color: rgba(255,255,255,.85); font-size: 0.95rem; line-height: 1.55; }
.terr-cta .btn { margin-top: 2px; }

/* --- Suisse : encadré compact, rouge en accent seulement --- */
.suisse {
  --swiss: #C8322A;
  max-width: 1080px; margin: 22px auto 0;
  padding: 20px 24px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 26px rgba(18,26,22,.05);
}
/* en-tête sur une seule ligne : drapeau + titre + pastille */
.suisse-top {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 13px; margin-bottom: 15px;
  border-bottom: 1px solid var(--line);
}
.suisse-flag { display: inline-flex; line-height: 0; flex: none; }
.suisse-top h3 {
  font-size: 1.36rem; line-height: 1.1; color: var(--sage-deep); margin: 0;
}
.suisse-tag {
  margin-left: auto; flex: none;
  padding: 3px 10px; border-radius: 999px;
  background: rgba(200,50,42,.09); border: 1px solid rgba(200,50,42,.28);
  font-family: var(--font-body); font-weight: 700;
  font-size: .62rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--swiss);
}

.suisse-zones { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 40px; }
/* filet vertical entre les deux colonnes plutôt qu'un empilement */
.suisse-zone + .suisse-zone { padding-left: 40px; border-left: 1px solid var(--line); margin-left: -40px; }
.suisse-zone h4 {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px;
  font-family: var(--font-body); font-weight: 700;
  font-size: .66rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 5px;
}
/* la ville phare, en serif, sur la même ligne que le nom de zone */
.suisse-zone h4 b {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.12rem; letter-spacing: 0; text-transform: none;
  color: var(--sage-deep);
}
.suisse-zone h4 b::before { content: "★ "; color: var(--swiss); font-size: .82em; }
.suisse-cities { font-size: .86rem; line-height: 1.6; color: var(--muted); }

.suisse-note {
  margin-top: 15px; padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: .76rem; line-height: 1.5; color: var(--muted);
}
@media (max-width: 760px) {
  .suisse { padding: 18px 18px 16px; }
  .suisse-zones { grid-template-columns: 1fr; gap: 16px; }
  .suisse-zone + .suisse-zone {
    padding-left: 0; margin-left: 0; border-left: 0;
    padding-top: 15px; border-top: 1px solid var(--line);
  }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { display: grid; gap: 14px; }
.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 6px 26px;
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.faq-item[open] { box-shadow: var(--shadow-sm); border-color: rgba(62,82,76,.25); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--sage-deep);
  padding: 18px 36px 18px 0;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.6rem; color: var(--gold);
  transition: transform .3s var(--ease);
  font-family: var(--font-body); font-weight: 300;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { color: var(--muted); padding: 0 0 20px; max-width: 90%; }

/* ============================================================
   PROFESSIONNELS (B2B)
   ============================================================ */
.pro { background: var(--cream); }
.pro-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  max-width: 1080px; margin: 0 auto;
}
.pro-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 24px; text-align: center;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.pro-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(180,145,97,.4); }
.pro-ic {
  width: 54px; height: 54px; margin: 0 auto 16px;
  display: grid; place-items: center; border-radius: 15px;
  background: var(--sage-tint); color: var(--sage);
  transition: background .3s var(--ease), color .3s var(--ease);
}
.pro-ic svg { width: 27px; height: 27px; }
.pro-card:hover .pro-ic { background: var(--gold); color: #fff; }
.pro-card h3 { font-size: 1.22rem; margin-bottom: 7px; }
.pro-card p { color: var(--muted); font-size: .92rem; line-height: 1.5; }
.pro-foot {
  margin-top: clamp(34px, 5vw, 54px);
  display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center;
}
.pro-foot-note { font-size: .9rem; color: var(--muted); }
.pro-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
@media (max-width: 980px) { .pro-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .pro-grid { grid-template-columns: 1fr; } }

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta {
  background: var(--sage-deep);
  color: #fff;
  text-align: center;
  padding: clamp(70px, 10vw, 120px) 0;
}
.final-inner h2 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 16px; }
.final-inner h2 em { color: var(--gold-soft); }
.final-inner > p { color: rgba(255,255,255,.85); font-size: 1.15rem; margin-bottom: 34px; }
.final-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #1f2823; color: rgba(255,255,255,.72); padding: 70px 0 30px; font-size: 0.92rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.1); }
.brand-footer .brand-name { color: #fff; }
.footer-brand p { margin-top: 18px; max-width: 320px; line-height: 1.7; }
.footer-col h4 { color: #fff; font-family: var(--font-body); font-size: 0.8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--gold-soft); }
/* pas de filet ici : celui du .footer-grid (border-bottom) suffit,
   sinon deux traits se suivent à 28px d'intervalle */
.footer-photo {
  display: flex; align-items: flex-start; gap: 11px;
  margin-top: 26px;
}
.footer-photo > svg { width: 19px; height: 19px; flex: none; margin-top: 2px; color: var(--gold-soft); }
.footer-photo p { font-size: 0.82rem; line-height: 1.6; color: rgba(255,255,255,.55); max-width: 760px; }
.footer-photo strong { color: rgba(255,255,255,.8); font-weight: 700; }

/* pop-up "photos authentiques" */
.photo-modal {
  position: fixed; inset: 0; z-index: 320;
  display: flex; align-items: center; justify-content: center; padding: 22px;
  background: rgba(20,26,24,.55);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden;
  transition: opacity .25s var(--ease), visibility .25s var(--ease);
}
.photo-modal.open { opacity: 1; visibility: visible; }
.photo-modal-box {
  position: relative;
  background: var(--paper);
  border-radius: 20px;
  padding: 34px 30px 30px;
  max-width: 440px; width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transform: translateY(12px) scale(.98);
  transition: transform .25s var(--ease);
}
.photo-modal.open .photo-modal-box { transform: none; }
.photo-modal-close {
  position: absolute; top: 8px; right: 14px;
  background: none; border: 0; font-size: 1.9rem; line-height: 1;
  color: var(--muted); cursor: pointer; padding: 4px;
}
.photo-modal-close:hover { color: var(--sage-deep); }
.photo-modal-ic {
  display: inline-grid; place-items: center;
  width: 56px; height: 56px; margin-bottom: 16px;
  border-radius: 50%;
  background: var(--sage-tint); color: var(--sage);
}
.photo-modal-ic svg { width: 27px; height: 27px; }
.photo-modal-box h3 { font-size: 1.55rem; color: var(--sage-deep); margin-bottom: 12px; }
.photo-modal-box p { color: var(--muted); font-size: .98rem; line-height: 1.62; }
.photo-modal-box p strong { color: var(--sage-deep); font-weight: 700; }
.photo-modal-note { margin-top: 13px; font-size: .86rem; color: var(--sage-soft); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 26px; font-size: 0.85rem; color: rgba(255,255,255,.5); }

/* ============================================================
   BARRE MOBILE COLLANTE
   ============================================================ */
.mobile-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  background: rgba(251,250,247,.7);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border-top: 1px solid rgba(255,255,255,.5);
  padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
  gap: 9px;
  box-shadow: 0 -6px 22px rgba(44,59,54,.12);
}
.mb-item {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 7px;
  padding: 13px 8px;
  border-radius: 12px;
  font-weight: 700; font-size: 0.9rem;
  background: #fff; color: var(--sage-deep);
  border: 1px solid var(--line);
}
.mb-primary { background: var(--sage); color: #fff; border-color: var(--sage); }
.mb-wa { background: #25D366; color: #073f23; border-color: #25D366; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* révélation des images : zoom doux */
.reveal-img { opacity: 0; transform: scale(1.08); transition: opacity 1s var(--ease), transform 1.5s var(--ease); }
.reveal-img.is-visible { opacity: 1; transform: scale(1); }

/* barre de progression de défilement */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%;
  background: var(--gold);
  transform: scaleX(0); transform-origin: 0 50%;
  z-index: 200; pointer-events: none;
  transition: transform .12s linear;
}

/* ============================================================
   GLASSMORPHISME subtil (façon Apple) — cartes claires
   ============================================================ */
.plan,
.terr-zone:not(.terr-cta),
.commit-item,
.avis-card,
.pro-card,
.faq-item {
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: blur(12px) saturate(118%);
          backdrop-filter: blur(12px) saturate(118%);
  box-shadow: 0 10px 30px rgba(44, 59, 54, .07), inset 0 1px 0 rgba(255, 255, 255, .6);
}
/* garder le liseré sauge de la formule mise en avant */
.plan-featured { border-color: var(--sage); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .commit-grid { grid-template-columns: repeat(2, 1fr); }
  .terr-grid { grid-template-columns: repeat(2, 1fr); }
  .avis-grid { grid-template-columns: 1fr; max-width: 540px; margin: 0 auto; }
}

@media (max-width: 860px) {
  .nav, .header-phone { display: none; }
  .burger { display: flex; }
  .header-cta .btn { display: none; }

  .nav.open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(251,250,247,.98);
    backdrop-filter: blur(12px);
    padding: 14px 26px 24px;
    box-shadow: var(--shadow-md);
  }
  .nav.open a { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--sage-deep); font-size: 1.05rem; }

  .split { grid-template-columns: 1fr; gap: 38px; }
  .split-reverse .split-media { order: 0; }
  .credit-grid { grid-template-columns: 1fr; gap: 40px; }
  .mobile-bar { display: flex; }
  body { padding-bottom: 72px; }
  .rounded-media.tall { aspect-ratio: 16/10; }

  /* hero verre : passage en colonne */
  .hero { min-height: auto; padding: 146px 0 74px; }
  .hero-inner { grid-template-columns: 1fr; gap: 46px; }
  .hero-copy { max-width: none; }
  .hero-photo { max-width: 520px; margin: 0 auto; }
  .float-rating { left: 4px; }
  .float-credit { right: 4px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .cards-2 { grid-template-columns: 1fr; }
  .commit-grid { grid-template-columns: 1fr; }
  .terr-grid { grid-template-columns: 1fr; }
  .rythmes { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .rythme-off { font-size: 1.7rem; }
  .reassurance-inner { gap: 12px 24px; }
  .re-item { font-size: 0.85rem; }
  .hero { padding: 140px 0 56px; }
  .hero-actions .btn { width: 100%; }
  .float-rating, .float-credit { display: none; }
  .credit-card { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   CONVERSION — prix de départ, garantie, formulaire de devis
   ============================================================ */

/* prix de départ sur les formules */
.plan-price {
  margin: 2px 0 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 3px;
}
.pp-from { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pp-amount { font-family: var(--font-display); font-weight: 700; font-size: 2.5rem; line-height: 1; color: var(--sage-deep); }
.plan-featured .pp-amount { color: var(--sage); }
.pp-net { font-size: .9rem; font-weight: 600; color: var(--muted); }
.pp-net b { color: var(--gold); font-weight: 700; }

/* garantie sous les formules */
/* texte sur plusieurs lignes : encadré plutôt que pilule (une pilule
   à 999px de rayon ne tient que sur une seule ligne) */
.guarantee {
  display: flex; align-items: flex-start; gap: 13px;
  max-width: 740px; margin: 30px auto 0;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 17px 24px;
  color: var(--ink); font-size: .94rem; line-height: 1.55;
}
.guarantee svg { color: var(--sage); flex: none; margin-top: 2px; }
.guarantee strong { color: var(--sage-deep); }

/* ---- bloc devis (CTA final) ---- */
.devis-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
  text-align: left;
}

/* colonne gauche : désir + réassurance */
.devis-copy h2 { color: #fff; font-size: clamp(2rem, 4.2vw, 3.2rem); margin-bottom: 16px; }
.devis-copy h2 em { color: var(--gold-soft); }
.devis-lead { color: rgba(255,255,255,.86); font-size: 1.12rem; margin-bottom: 24px; }
.devis-assur { display: grid; gap: 11px; margin-bottom: 22px; }
.devis-assur li { position: relative; padding-left: 32px; color: rgba(255,255,255,.9); font-weight: 500; }
.devis-assur li strong { color: #fff; }
.devis-assur li::before {
  content: ""; position: absolute; left: 0; top: 2px;
  width: 21px; height: 21px; border-radius: 50%;
  background-color: rgba(255,255,255,.14);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23cdb389' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}
.devis-rare {
  display: flex; gap: 11px; align-items: flex-start;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  border-left: 3px solid var(--gold-soft);
  border-radius: 14px; padding: 14px 16px;
  font-size: .92rem; line-height: 1.5; color: rgba(255,255,255,.82);
  margin-bottom: 24px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.devis-rare svg { color: var(--gold-soft); flex: none; margin-top: 1px; }
.devis-alt { display: flex; flex-direction: column; gap: 12px; }
.devis-alt-label { font-size: .92rem; color: rgba(255,255,255,.7); }
.devis-alt-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* colonne droite : carte formulaire */
.devis-form-card {
  position: relative;
  background: var(--cream);
  border: 1px solid rgba(62,82,76,.12);
  border-radius: 22px;
  padding: clamp(26px, 3vw, 36px);
  box-shadow: 0 44px 90px rgba(8,13,10,.45), inset 0 1px 0 rgba(255,255,255,.6);
  overflow: hidden;
}
/* liseré doré subtil en haut de la carte */
.devis-form-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, rgba(180,145,97,0) 0%, var(--gold) 28%, var(--gold-soft) 72%, rgba(180,145,97,0) 100%);
}
.devis-form h3 { font-size: 1.7rem; color: var(--sage-deep); margin-bottom: 4px; }
.devis-form-sub { color: var(--muted); font-size: .94rem; margin-bottom: 22px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: .82rem; font-weight: 700; color: var(--sage-deep); }
.field label span { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: .98rem; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line);
  border-radius: 12px; padding: 12px 14px; width: 100%;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: #aab0ac; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(62,82,76,.12);
}
.field textarea { resize: vertical; min-height: 58px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.devis-submit { margin-top: 8px; }
.devis-submit svg { color: #fff; }
.devis-form-note { margin-top: 12px; font-size: .76rem; line-height: 1.5; color: var(--muted); text-align: center; }

/* choix du type de devis (RDV / photos) */
/* --- pays (France / Suisse), compact --- */
.pays { border: 0; padding: 0; margin: 0 0 14px; }
.pays legend {
  font-size: .72rem; font-weight: 700; letter-spacing: .06em;
  color: var(--muted); padding: 0; margin-bottom: 6px;
}
.pays-list { display: flex; gap: 6px; }
.pays-item { cursor: pointer; display: inline-block; }
.pays-item input { position: absolute; opacity: 0; width: 0; height: 0; }
.pays-pill {
  display: inline-flex; align-items: center;
  padding: 5px 13px; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff;
  font-size: .78rem; font-weight: 600; line-height: 1.25; color: var(--muted);
  transition: border-color .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.pays-item:hover .pays-pill { border-color: rgba(62,82,76,.45); }
.pays-item input:checked + .pays-pill {
  border-color: var(--sage); background: var(--sage-tint); color: var(--sage-deep);
}
.pays-item input:focus-visible + .pays-pill { outline: 2px solid var(--gold); outline-offset: 2px; }

/* --- prestations à cocher (multi-choix) --- */
.checks { border: 0; padding: 0; margin: 4px 0 16px; }
.checks legend { font-size: .82rem; font-weight: 700; color: var(--sage-deep); padding: 0; margin-bottom: 8px; }
.check-list { display: flex; flex-wrap: wrap; gap: 8px; }
.check-item { cursor: pointer; display: inline-block; }
.check-item input { position: absolute; opacity: 0; width: 0; height: 0; }
.check-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 15px 9px 11px;
  border: 1.5px solid var(--line); border-radius: 999px; background: #fff;
  font-size: .88rem; font-weight: 600; line-height: 1.2; color: var(--sage-deep);
  transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.check-dot {
  flex: none; position: relative;
  width: 17px; height: 17px; border-radius: 50%;
  border: 1.5px solid rgba(62,82,76,.32); background: #fff;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.check-dot::after {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 11px 11px;
  opacity: 0; transition: opacity .18s var(--ease);
}
.check-item:hover .check-pill { border-color: rgba(62,82,76,.45); }
.check-item input:checked + .check-pill {
  border-color: var(--sage); background: var(--sage-tint);
  box-shadow: 0 0 0 3px rgba(62,82,76,.10);
}
.check-item input:checked + .check-pill .check-dot { background: var(--sage); border-color: var(--sage); }
.check-item input:checked + .check-pill .check-dot::after { opacity: 1; }
.check-item input:focus-visible + .check-pill { outline: 2px solid var(--gold); outline-offset: 2px; }
.checks-error { margin-top: 9px; font-size: .82rem; font-weight: 600; color: #b4342b; }
.checks-error[hidden] { display: none; }
.checks.is-error .check-pill { border-color: rgba(180,52,43,.55); }

.choice { border: 0; padding: 0; margin: 4px 0 16px; }
.choice legend { font-size: .82rem; font-weight: 700; color: var(--sage-deep); padding: 0; margin-bottom: 8px; }
.choice-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice-tile { cursor: pointer; display: block; }
.choice-tile input { position: absolute; opacity: 0; width: 0; height: 0; }
.choice-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; height: 100%; text-align: center; position: relative;
  padding: 16px 10px;
  border: 1.5px solid var(--line); border-radius: 12px; background: #fff;
  color: var(--sage-deep); font-weight: 600; font-size: .9rem; line-height: 1.25;
  transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.choice-ic { display: inline-flex; color: var(--sage); transition: color .2s var(--ease); }
.choice-ic svg { width: 24px; height: 24px; }
.choice-tile:hover .choice-card { border-color: rgba(62,82,76,.45); }
.choice-card .choice-ic { color: var(--sage); }
.choice-card .choice-t { color: var(--sage-deep); }
.choice-tile input:checked + .choice-card {
  border-color: var(--sage); background: var(--sage-tint);
  box-shadow: 0 0 0 3px rgba(62,82,76,.10);
}
.choice-tile input:checked + .choice-card::after {
  content: "✓";
  position: absolute; top: 8px; right: 9px;
  width: 19px; height: 19px; border-radius: 50%;
  background: var(--gold); color: #fff;
  font-size: 11px; font-weight: 800; line-height: 19px; text-align: center;
}
.choice-tile input:focus-visible + .choice-card { box-shadow: 0 0 0 3px rgba(180,145,97,.5); }

/* pop-up QR WhatsApp (ordinateur / tablette) */
.wa-modal {
  position: fixed; inset: 0; z-index: 320;
  display: flex; align-items: center; justify-content: center; padding: 22px;
  background: rgba(20,26,24,.55);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden;
  transition: opacity .25s var(--ease), visibility .25s var(--ease);
}
.wa-modal.open { opacity: 1; visibility: visible; }
.wa-modal-box {
  position: relative; background: rgba(252,251,248,.86);
  -webkit-backdrop-filter: blur(24px) saturate(150%); backdrop-filter: blur(24px) saturate(150%);
  border: 1px solid rgba(255,255,255,.55); border-radius: var(--radius);
  width: 100%; max-width: 410px; padding: 36px 32px 28px; text-align: center;
  box-shadow: var(--shadow-lg);
  transform: translateY(14px) scale(.98); transition: transform .28s var(--ease);
}
.wa-modal.open .wa-modal-box { transform: none; }
.wa-modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px; border-radius: 50%;
  border: none; cursor: pointer;
  background: var(--cream); color: var(--sage-deep);
  font-size: 1.5rem; line-height: 1;
  display: grid; place-items: center;
  transition: background .2s var(--ease);
}
.wa-modal-close:hover { background: var(--sage-tint); }
.wa-modal h3 { font-size: 1.65rem; color: var(--sage-deep); margin-bottom: 10px; }
.wa-modal-sub { color: var(--muted); font-size: .95rem; line-height: 1.55; margin-bottom: 20px; }
.wa-modal-sub strong { color: var(--sage-deep); }
.wa-qr {
  display: inline-block; padding: 14px; background: #fff;
  border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm);
}
.wa-qr canvas { display: block; width: 220px; height: 220px; image-rendering: pixelated; }
.wa-modal-or {
  display: flex; align-items: center; gap: 12px;
  margin: 20px 0; color: var(--muted); font-size: .85rem; font-weight: 600;
}
.wa-modal-or::before, .wa-modal-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.wa-modal-note { margin-top: 10px; font-size: .78rem; color: var(--muted); }

@media (max-width: 860px) {
  .devis-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 540px) {
  .field-row { grid-template-columns: 1fr; }
  .guarantee { border-radius: var(--radius-sm); align-items: flex-start; }
}

/* ============================================================
   JEU DES VITRES (Blockudoku) — bouton + popup plein écran
   ============================================================ */
.hero-game { margin-top: 26px; text-align: center; }
.game-launch {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px; border-radius: 999px; cursor: pointer;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.9);
  -webkit-backdrop-filter: blur(12px) saturate(150%); backdrop-filter: blur(12px) saturate(150%);
  color: var(--sage-deep); font-family: var(--font-body); font-weight: 700; font-size: .9rem;
  box-shadow: 0 8px 26px rgba(44,59,54,.12), inset 0 1px 0 rgba(255,255,255,.9);
  transition: transform .25s var(--ease), background .25s var(--ease);
}
.game-launch:hover { transform: translateY(-2px); background: #fff; }
.game-launch svg { color: var(--gold); flex: none; }

.game-modal {
  position: fixed; inset: 0; z-index: 340;
  display: none; align-items: center; justify-content: center;
  padding: 18px;
  background: rgba(12,17,14,.66);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  overscroll-behavior: contain;
}
.game-modal.open { display: flex; }
.game-inner {
  position: relative;
  width: min(94vw, 600px);
  max-height: 94vh; overflow-y: auto;
  display: flex; flex-direction: column; align-items: center;
  padding: clamp(22px, 3vw, 34px) clamp(18px, 3vw, 30px) 26px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 50px 110px rgba(0,0,0,.55);
  overscroll-behavior: contain;
  background:
    radial-gradient(120% 80% at 82% -8%, rgba(205,179,137,.12), transparent 55%),
    radial-gradient(120% 90% at 8% 112%, rgba(10,15,12,.6), transparent 60%),
    linear-gradient(160deg, #2a3730 0%, #1c2520 55%, #141b18 100%);
}
.game-close {
  position: absolute; top: 14px; right: 14px; z-index: 5;
  width: 40px; height: 40px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,.12); color: #fff; font-size: 1.6rem; line-height: 1;
  display: grid; place-items: center;
  transition: background .2s var(--ease);
}
.game-close:hover { background: rgba(255,255,255,.24); }

/* version canvas */
.game-canvas-wrap { width: 100%; display: flex; justify-content: center; margin-top: 4px; }
#gameCanvas { display: block; touch-action: none; }
.game-head { text-align: center; color: #fff; margin-bottom: 14px; }
.game-eyebrow {
  font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-soft); margin-bottom: 6px;
}
.game-head h3 { color: #fff; font-size: clamp(1.4rem, 3.5vw, 2rem); line-height: 1.1; }

.game-hud { display: flex; gap: 10px; margin-bottom: 16px; width: 100%; max-width: 420px; }
.ghud {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 10px 6px; border-radius: 12px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
}
.ghud-l { font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.ghud-v { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; line-height: 1; color: #fff; }
#gUser { font-size: 1.05rem; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.game-board {
  display: grid; grid-template-columns: repeat(9, 1fr);
  width: min(80vw, 44vh, 460px); aspect-ratio: 1; gap: 3px;
  padding: 8px; border-radius: 16px;
  background: rgba(0,0,0,.30); border: 1px solid rgba(255,255,255,.16);
  box-shadow: inset 0 2px 24px rgba(0,0,0,.45);
  touch-action: none;
}
.gcell {
  border-radius: 4px; background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.10);
  transition: background-color .15s var(--ease);
}
.gcell-alt { background: rgba(255,255,255,.13); }
.gcell.preview { background: rgba(205,179,137,.45); box-shadow: inset 0 0 0 1px rgba(205,179,137,.85); }
.gcell.preview-bad { background: rgba(200,95,85,.45); }
/* aperçu : vitres qui vont être nettoyées -> doré (ombre nette, pas de flou coûteux) */
.gcell.willclear { box-shadow: inset 0 0 0 2px var(--gold); z-index: 1; }
.gcell.filled.willclear, .gcell.preview.willclear {
  background: linear-gradient(135deg, rgba(216,190,148,.92), rgba(180,145,97,.95));
}
/* pendant le drag : aucune transition sur les cases (évite les micro-freezes) */
.game-board.dragging .gcell { transition: none; }

/* vitre en verre (cellule remplie ou pièce) */
.gcell.filled, .pcell {
  border-radius: 4px;
  background: linear-gradient(135deg, rgba(176,210,194,.85), rgba(98,132,119,.9));
  border: 1px solid rgba(255,255,255,.55);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.65), inset 0 -3px 8px rgba(18,28,24,.42), 0 2px 7px rgba(0,0,0,.3);
  position: relative; overflow: hidden;
}
.gcell.filled::after, .pcell::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 38%, rgba(255,255,255,.4) 50%, transparent 62%);
}

/* pioche = 3 emplacements FIXES (taille stable quelle que soit la pièce) */
.game-tray {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  width: 100%; max-width: 440px; height: 148px;
  margin-top: 18px; align-items: center; justify-items: center;
}
.piece-slot { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.piece {
  --pc: clamp(14px, 4vw, 22px);
  display: grid; gap: 3px; cursor: grab;
  padding: 4px; border-radius: 12px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
}
.piece:active { cursor: grabbing; }
.piece-used { opacity: 0; pointer-events: none; }
.piece-dragging { opacity: .25; }
.pcell, .pcell-empty { width: var(--pc); height: var(--pc); }
.pcell-empty { visibility: hidden; }

.piece-ghost {
  --gpc: 30px;
  position: fixed; left: 0; top: 0; z-index: 360; pointer-events: none;
  padding: 0; background: none; border: none; gap: 3px; opacity: .92;
  will-change: transform;
}
.piece-ghost .pcell, .piece-ghost .pcell-empty { width: var(--gpc); height: var(--gpc); }

.game-actions { margin-top: 18px; display: flex; gap: 10px; justify-content: center; }
.game-actions .btn-glass { color: #fff; background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.3); }
.game-actions .btn-glass:hover { background: rgba(255,255,255,.2); color: #fff; }

/* overlays (pseudo / fin de partie) */
.game-overlay {
  position: absolute; inset: 0; z-index: 8;
  display: none; align-items: center; justify-content: center; padding: 20px;
  background: rgba(15,20,17,.7); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
  border-radius: 16px;
}
.game-overlay.show { display: flex; }
.game-overlay-box {
  background: rgba(252,251,248,.88); color: var(--ink);
  -webkit-backdrop-filter: blur(20px) saturate(150%); backdrop-filter: blur(20px) saturate(150%);
  border-radius: var(--radius); padding: 30px 28px; text-align: center;
  width: 100%; max-width: 340px; box-shadow: var(--shadow-lg);
}
.game-overlay-box h4 { font-size: 1.6rem; color: var(--sage-deep); margin-bottom: 8px; }
.game-overlay-box p { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.game-overlay-box b { color: var(--sage-deep); }
.game-overlay-box input {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: 12px;
  padding: 12px 14px; margin-bottom: 14px; text-align: center;
}
.game-overlay-box input:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px rgba(62,82,76,.12); }

/* ============================================================
   PASSAGES Sérénité — mini-graphique (1ᵉʳ prix normal, puis −10 %)
   ============================================================ */
.passages { margin: 18px 0 6px; }
.pg-row { display: flex; align-items: flex-end; gap: 10px; height: 130px; }
.pg-bar { flex: 1; display: flex; align-items: flex-end; justify-content: center; height: 100%; }
.pg-fill {
  width: 100%; max-width: 46px; border-radius: 9px 9px 3px 3px;
  height: 0; transition: height .9s cubic-bezier(.22, 1, .36, 1);
}
.reveal.is-visible .pg-fill { height: var(--h); }
.pg-bar:nth-child(2) .pg-fill { transition-delay: .08s; }
.pg-bar:nth-child(3) .pg-fill { transition-delay: .16s; }
.pg-bar:nth-child(4) .pg-fill { transition-delay: .24s; }
.pg-bar:nth-child(5) .pg-fill { transition-delay: .32s; }
.pg-fill-full { background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.32); }
.pg-fill-off { background: linear-gradient(180deg, var(--gold-soft), var(--gold)); box-shadow: 0 6px 18px rgba(180,145,97,.4); }
.pg-fill-more { background: linear-gradient(180deg, rgba(205,179,137,.42), rgba(180,145,97,.3)); }
.pg-labels { display: flex; gap: 10px; margin-top: 10px; }
.pg-lab { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.pg-lab b { font-family: var(--font-display); font-size: .95rem; font-weight: 700; color: #fff; }
.pg-lab i { font-size: .66rem; font-style: normal; color: rgba(255,255,255,.55); margin-top: 2px; }
.pg-lab i.off { color: var(--gold-soft); font-weight: 700; }

/* ============================================================
   Glassmorphisme « Apple » + survol des cartes (toutes sections)
   ============================================================ */
.plan,
.commit-item,
.avis-card,
.terr-zone:not(.terr-cta),
.pro-card,
.faq-item {
  background: rgba(255,255,255,.6);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: 0 10px 30px rgba(44,59,54,.09), inset 0 1px 0 rgba(255,255,255,.65);
  transition: transform .32s var(--ease), box-shadow .32s var(--ease), background .32s var(--ease), border-color .32s var(--ease);
}
.plan:hover,
.commit-item:hover,
.avis-card:hover,
.terr-zone:not(.terr-cta):hover,
.pro-card:hover,
.faq-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 54px rgba(44,59,54,.17), inset 0 1px 0 rgba(255,255,255,.85);
  background: rgba(255,255,255,.78);
  border-color: rgba(255,255,255,.95);
}
/* préserver le liseré sauge de la formule mise en avant */
.plan-featured, .plan-featured:hover { border-color: var(--sage); }

/* la facture crédit reste blanche, juste un léger lift au survol */
.credit-bill { transition: transform .32s var(--ease), box-shadow .32s var(--ease); }
.credit-bill:hover { transform: translateY(-5px); box-shadow: 0 30px 64px rgba(0,0,0,.30); }

/* survol du mini-graphique Sérénité */
.pg-fill { transition: height .9s cubic-bezier(.22,1,.36,1), transform .28s var(--ease), filter .28s var(--ease), box-shadow .28s var(--ease); }
.pg-bar { cursor: default; }
.pg-bar:hover .pg-fill { transform: translateY(-7px); filter: brightness(1.14); }
.pg-bar:hover .pg-fill-off { box-shadow: 0 14px 30px rgba(180,145,97,.6); }
.pg-bar:hover .pg-fill-full { box-shadow: 0 14px 30px rgba(255,255,255,.18); }

/* ---------- Accessibilité : mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto; }
  .reveal, .reveal-img { opacity: 1; transform: none; }
  .scroll-progress { display: none; }
}

/* ============================================================
   POURQUOI ENTRETENIR — lémanique / 2× par an
   ============================================================ */
.pourquoi { background: var(--mist); }
.why-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px;
  max-width: 1000px; margin: 0 auto;
  /* 5 rangées partagées (icône · titre · lead · liste · pied) : les cartes
     s'alignent ligne à ligne, donc le filet du .why-foot est à la même hauteur
     dans les deux colonnes, quelle que soit la longueur des listes. */
  grid-template-rows: auto auto auto 1fr auto;
}
.why-card {
  display: grid;
  grid-row: span 5;
  grid-template-rows: subgrid;
  row-gap: 0;
  align-content: start;
  background: rgba(255,255,255,.62);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(255,255,255,.6);
  border-radius: var(--radius);
  padding: clamp(26px, 3vw, 38px);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.why-ic {
  width: 52px; height: 52px; display: grid; place-items: center;
  border-radius: 15px; background: var(--sage-tint); color: var(--sage); margin-bottom: 16px;
}
.why-ic svg { width: 27px; height: 27px; }
.why-card h3 { font-size: 1.5rem; margin-bottom: 6px; }
.why-lead { color: var(--muted); margin-bottom: 16px; font-weight: 500; }
.why-card .ticks li { font-weight: 400; color: var(--ink); }
.why-foot {
  margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line);
  color: var(--ink); font-size: .96rem; line-height: 1.55;
}
/* repli si subgrid indisponible : le pied est au moins collé en bas */
@supports not (grid-template-rows: subgrid) {
  .why-card { display: flex; flex-direction: column; }
  .why-foot { margin-top: auto; }
}

.why-rythme { max-width: 1000px; margin: clamp(28px, 4vw, 46px) auto 0; text-align: center; }
.why-rythme-title { font-family: var(--font-display); font-size: 1.55rem; color: var(--sage-deep); margin-bottom: 22px; }
.why-seasons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-bottom: 28px; text-align: left; }
.why-season {
  display: flex; flex-direction: column; gap: 7px;
  background: rgba(255,255,255,.5);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px;
}
.why-season-ic { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--sage-tint); color: var(--gold); margin-bottom: 4px; }
.why-season-ic svg { width: 23px; height: 23px; }
.why-season b { font-family: var(--font-display); font-size: 1.2rem; color: var(--sage-deep); }
.why-season span:last-child { color: var(--muted); font-size: .92rem; line-height: 1.5; }

@media (max-width: 760px) {
  /* une seule colonne : plus rien à aligner, on sort du subgrid */
  .why-grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .why-card { display: block; }
  .why-seasons { grid-template-columns: 1fr; }
}

/* ===== Hero pages villes : photo plein cadre (différent de l'accueil) ===== */
/* La photo se règle par page via la variable --hero-img en inline sur la section. */
.hero--photo {
  min-height: 74vh;
  color: #fff;
  background-color: #1c2620;
  background-image:
    linear-gradient(180deg, rgba(18,26,22,.34) 0%, rgba(18,26,22,.52) 50%, rgba(18,26,22,.86) 100%),
    var(--hero-img, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero--photo .hero-inner { grid-template-columns: 1fr; }
.hero--photo .hero-copy { max-width: 760px; }
.hero--photo h1 { color: #fff; }
.hero--photo .hero-sub { color: rgba(255,255,255,.9); max-width: 640px; }
.hero--photo .hero-micro { color: rgba(255,255,255,.74); }
@media (max-width: 760px) {
  .hero--photo { min-height: 62vh; }
}

/* ============================================================
   ALERTE FLOTTANTE « PÉRIODE CHARGÉE » (posée sur le hero)
   ============================================================ */
html { scroll-padding-top: 96px; }

.announce-float {
  position: absolute;
  top: 96px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  max-width: calc(100% - 40px);
  padding: 8px 8px 8px 17px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  backdrop-filter: blur(12px) saturate(150%);
  border: 1px solid rgba(193, 58, 45, .28);
  box-shadow: 0 12px 34px rgba(44, 59, 54, .16), inset 0 1px 0 rgba(255, 255, 255, .8);
  animation: announceDrop .5s var(--ease) both;
}
@keyframes announceDrop {
  from { opacity: 0; transform: translate(-50%, -12px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}
.announce-dot {
  flex: none;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #d6362b;
  box-shadow: 0 0 0 0 rgba(214, 54, 43, .55);
  animation: announcePulse 1.7s infinite;
}
@keyframes announcePulse {
  0%   { box-shadow: 0 0 0 0 rgba(214, 54, 43, .55); }
  70%  { box-shadow: 0 0 0 9px rgba(214, 54, 43, 0); }
  100% { box-shadow: 0 0 0 0 rgba(214, 54, 43, 0); }
}
.announce-text {
  margin: 0;
  font-size: .84rem;
  line-height: 1.3;
  color: #7c2b23;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.announce-text strong { color: #a5241b; font-weight: 800; }
.announce-cta {
  flex: none;
  font-size: .8rem;
  font-weight: 700;
  color: #fff;
  background: #c0392b;
  padding: 7px 15px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(192, 57, 43, .28);
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.announce-cta:hover { background: #a5241b; transform: translateY(-1px); }
.announce-close {
  flex: none;
  width: 26px; height: 26px;
  border: none; cursor: pointer;
  border-radius: 50%;
  background: transparent;
  color: #a5241b;
  font-size: 20px; line-height: 1;
  transition: background .2s;
}
.announce-close:hover { background: rgba(165, 36, 27, .13); }

body.announce-hidden .announce-float { display: none; }

@media (max-width: 760px) {
  .announce-float {
    top: 88px;
    gap: 8px;
    padding: 7px 7px 7px 14px;
  }
  .announce-text { font-size: .74rem; }
  .announce-cta { padding: 6px 12px; font-size: .72rem; }
  .announce-close { width: 22px; height: 22px; font-size: 18px; }
}
@media (max-width: 400px) {
  .announce-cta { display: none; }
}

/* ============================================================
   POP-UP OFFRE SÉRÉNITÉ (déclenché au scroll)
   ============================================================ */
.sr-pop {
  position: fixed;
  inset: 0;
  z-index: 340;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
}
.sr-pop[hidden] { display: none; }
.sr-pop-overlay {
  position: absolute;
  inset: 0;
  background: rgba(24, 34, 29, .55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.sr-pop.open .sr-pop-overlay { opacity: 1; }
.sr-pop-card {
  position: relative;
  width: min(520px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  background: linear-gradient(180deg, #fff, var(--paper));
  border: 1px solid rgba(180, 145, 97, .35);
  border-radius: 22px;
  padding: 30px 30px 26px;
  box-shadow: 0 40px 90px rgba(24, 34, 29, .4);
  transform: translateY(18px) scale(.97);
  opacity: 0;
  transition: transform .38s var(--ease), opacity .34s var(--ease);
}
.sr-pop.open .sr-pop-card { transform: translateY(0) scale(1); opacity: 1; }
.sr-pop-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 34px; height: 34px;
  border: none; cursor: pointer;
  border-radius: 50%;
  background: var(--sage-tint);
  color: var(--sage-deep);
  font-size: 22px; line-height: 1;
  transition: background .2s, transform .2s;
}
.sr-pop-close:hover { background: var(--mist-2); transform: rotate(90deg); }
.sr-pop-flash {
  display: inline-block;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  background: var(--gold-deep, #8A6A39);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.sr-pop-eyebrow { margin-bottom: 8px; }
.sr-pop-title {
  font-size: clamp(1.5rem, 4.4vw, 1.95rem);
  line-height: 1.08;
  margin-bottom: 12px;
}
.sr-pop-title em { color: var(--gold); }
.sr-pop-lead {
  font-size: .95rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 18px;
}
.sr-pop-lead strong { color: var(--sage-deep); }
.sr-pop-tiers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
}
.sr-pop-tier {
  position: relative;
  text-align: center;
  padding: 16px 12px 14px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
}
.sr-pop-tier.best {
  border: 1.5px solid var(--gold);
  background: linear-gradient(180deg, #fff, #fbf6ee);
  box-shadow: 0 12px 28px rgba(138, 106, 57, .14);
}
.sr-pop-tag {
  position: absolute;
  top: -10px; left: 50%;
  transform: translateX(-50%);
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--gold-deep, #8A6A39);
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.sr-pop-freq {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.sr-pop-off {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--sage-deep);
}
.sr-pop-tier.best .sr-pop-off { color: var(--gold-deep, #8A6A39); }
.sr-pop-off i { font-style: normal; font-size: 1.3rem; }
.sr-pop-ex {
  display: block;
  font-size: .74rem;
  color: var(--muted);
  margin-top: 5px;
}
/* --- chemin des deux remises --- */
.sr-pop-path-title {
  text-align: center;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--sage-deep);
  margin: 0 0 12px;
}
.sr-pop-path {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 4px;
  margin-bottom: 20px;
}
.spp-node {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 62px;
  padding: 9px 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.spp-node .spp-amt {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1;
  color: var(--sage-deep);
}
.spp-node .spp-lbl {
  font-size: .56rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}
.spp-node.final {
  border: none;
  background: linear-gradient(150deg, var(--sage-deep), var(--sage));
}
.spp-node.final .spp-amt { color: #fff; }
.spp-node.final .spp-lbl { color: rgba(255, 255, 255, .82); }
.spp-arrow {
  flex: 1 1 auto;
  min-width: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  color: var(--sage);
}
.spp-arrow .spp-badge {
  font-size: .62rem;
  font-weight: 800;
  color: var(--sage-deep);
  background: var(--sage-tint);
  padding: 1px 7px;
  border-radius: 999px;
  white-space: nowrap;
}
.spp-arrow.gold { color: var(--gold-deep, #8A6A39); }
.spp-arrow.gold .spp-badge {
  color: #fff;
  background: var(--gold-deep, #8A6A39);
}
.spp-arrow svg { width: 22px; height: 22px; }
.spp-arrow .spp-cap {
  font-size: .54rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.sr-pop-perks {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}
.sr-pop-perks li {
  position: relative;
  padding-left: 26px;
  font-size: .88rem;
  color: var(--ink);
  line-height: 1.4;
}
.sr-pop-perks li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--mist-2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233E524C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l4 4 10-10'/%3E%3C/svg%3E");
  background-size: 11px;
  background-position: center;
  background-repeat: no-repeat;
}
.sr-pop-perks strong { color: var(--sage-deep); }
.sr-pop-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.sr-pop-btn { flex: 1; text-align: center; min-width: 180px; }
.sr-pop-later {
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: .86rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sr-pop-later:hover { color: var(--sage-deep); }
.sr-pop-fine {
  margin-top: 14px;
  font-size: .7rem;
  color: var(--muted);
  line-height: 1.4;
}
@media (max-width: 480px) {
  .sr-pop-card { padding: 26px 20px 22px; }
  .sr-pop-tiers { gap: 9px; }
  .sr-pop-off { font-size: 2rem; }
  .sr-pop-path { gap: 2px; }
  .spp-node { min-width: 50px; padding: 8px 4px; }
  .spp-node .spp-amt { font-size: 1rem; }
  .spp-arrow { min-width: 34px; }
  .spp-arrow svg { width: 18px; height: 18px; }
  .spp-arrow .spp-cap { white-space: normal; line-height: 1.1; text-align: center; }
}
body.srpop-lock { position: fixed; width: 100%; overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .announce-dot { animation: none; }
  .sr-pop-card, .sr-pop-overlay { transition: opacity .2s; }
}

/* ============================================================
   ABONNEMENT SÉRÉNITÉ — module dynamique (calcul des remises)
   ============================================================ */
/* --- parcours fidélité --- */
.fid-journey {
  margin-top: 22px;
  padding: 17px 16px 14px;
  background: var(--sage-tint);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.fj-title {
  text-align: center;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-deep, #8A6A39);
  margin: 0 0 14px;
}
.fj-track {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 5px;
}
.fj-step {
  flex: 1 1 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 14px 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(44, 59, 54, .05);
}
.fj-step.best {
  border: 1.5px solid var(--gold);
  background: linear-gradient(180deg, #fff, #fbf6ee);
  box-shadow: 0 12px 26px rgba(138, 106, 57, .16);
}
.fj-tag {
  position: absolute;
  top: -10px; left: 50%;
  transform: translateX(-50%);
  font-size: .56rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--gold-deep, #8A6A39);
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}
.fj-when {
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.2;
}
.fj-val {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.9rem;
  line-height: 1;
  color: var(--sage-deep);
}
.fj-step.best .fj-val { color: var(--gold-deep, #8A6A39); }
.fj-val.fj-val-txt { font-size: 1.12rem; }
.fj-val i { font-style: normal; font-size: 1rem; }
.fj-arrow {
  flex: 0 0 auto;
  align-self: center;
  display: flex;
  align-items: center;
  color: var(--gold);
}
.fj-arrow svg { width: 20px; height: 20px; }
.fj-note {
  text-align: center;
  font-size: .78rem;
  color: var(--muted);
  margin: 13px 0 0;
  line-height: 1.4;
}
.fj-note b { color: var(--sage-deep); font-weight: 700; }

@media (max-width: 480px) {
  .fid-journey { padding: 15px 12px 12px; }
  .fj-track { gap: 3px; }
  .fj-step { padding: 13px 5px; }
  .fj-val { font-size: 1.55rem; }
  .fj-val.fj-val-txt { font-size: 1rem; }
  .fj-arrow svg { width: 15px; height: 15px; }
}

.sra-calc {
  position: relative;
  margin-top: 20px;
  background: linear-gradient(180deg, #fff, var(--paper));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 11px;
  box-shadow: var(--shadow-md);
}
/* tampon « Exemple » collé sur le bord de la fiche */
.sra-stamp {
  position: absolute;
  top: -11px;
  right: 16px;
  z-index: 3;
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #fff;
  background: var(--gold-deep, #8A6A39);
  padding: 4px 11px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(138, 106, 57, .25);
}

/* --- sélecteur de fréquence --- */
.sra-toggle {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 5px;
  background: var(--sage-tint);
  border-radius: 13px;
  margin-bottom: 9px;
}
.sra-opt {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 8px 8px 9px;
  border: 1.5px solid transparent;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.sra-opt.is-active {
  background: #fff;
  border-color: var(--gold);
  box-shadow: 0 8px 20px rgba(138, 106, 57, .14);
}
.sra-opt-best {
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--gold-deep, #8A6A39);
  padding: 2px 8px;
  border-radius: 999px;
  margin-bottom: 2px;
}
.sra-opt-freq { font-size: .9rem; font-weight: 700; color: var(--sage-deep); }
.sra-opt-tag { font-size: .78rem; font-weight: 700; color: var(--gold-deep, #8A6A39); }
.sra-opt:not(.is-active) .sra-opt-tag { color: var(--muted); }

/* --- cascade de calcul --- */
.sra-flow { display: grid; gap: 2px; }
.sra-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 4px;
}
.sra-row + .sra-row { border-top: 1px dashed var(--line); }
.sra-row-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  color: var(--ink);
}
.sra-row-label b {
  font-weight: 800;
  color: var(--gold-deep, #8A6A39);
  background: rgba(180, 145, 97, .13);
  padding: 1px 8px;
  border-radius: 999px;
  font-size: .82rem;
}
.sra-step {
  flex: none;
  width: 18px; height: 18px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--sage);
  color: #fff;
  font-size: .66rem;
  font-weight: 800;
  font-style: normal;
}
.sra-row-val {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--sage-deep);
  white-space: nowrap;
}
.sra-row.is-cut .sra-row-val { color: var(--gold-deep, #8A6A39); }
.sra-row-sub { border-top: 1.5px solid var(--line) !important; }
.sra-row-sub .sra-row-label { font-weight: 700; color: var(--sage-deep); }
.sra-row-sub .sra-row-val { font-size: 1.05rem; }

/* --- total --- */
.sra-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 5px;
  padding: 8px 14px;
  background: linear-gradient(150deg, var(--sage-deep), var(--sage));
  border-radius: 14px;
  color: #fff;
}
.sra-total-lbl {
  display: flex;
  flex-direction: column;
  font-size: 1rem;
  font-weight: 700;
}
.sra-total-lbl small {
  font-size: .72rem;
  font-weight: 500;
  opacity: .8;
  margin-top: 2px;
}
.sra-total-nums { display: flex; align-items: baseline; gap: 8px; }
.sra-total-nums s { font-size: .9rem; opacity: .6; }
.sra-total-nums b {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.95rem;
  line-height: 1;
  color: #fff;
}
.sra-ttc {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  opacity: .72;
  align-self: flex-end;
  margin-bottom: 3px;
}
.sra-save {
  margin-top: 9px;
  text-align: center;
  font-size: .85rem;
  color: var(--muted);
}
.sra-save b {
  color: var(--gold-deep, #8A6A39);
  font-weight: 800;
  background: rgba(180, 145, 97, .13);
  padding: 1px 9px;
  border-radius: 999px;
}
.sra-save span { display: inline; }

/* --- animation au changement de fréquence --- */
.sra-flow.is-anim .sra-row-val,
.sra-flow.is-anim .sra-total-nums b,
.sra-flow.is-anim .sra-row-label b { animation: sraFlash .42s var(--ease); }
@keyframes sraFlash {
  0%   { opacity: .15; transform: translateY(-5px); }
  100% { opacity: 1; transform: none; }
}

/* --- points de confiance --- */
.sra-trust {
  display: grid;
  gap: 10px;
  max-width: 680px;
  margin: 4px auto 22px;
}
.sra-trust li {
  position: relative;
  padding-left: 30px;
  font-size: .95rem;
  color: var(--ink);
  line-height: 1.4;
}
.sra-trust li::before {
  content: "";
  position: absolute;
  left: 0; top: 1px;
  width: 19px; height: 19px;
  border-radius: 50%;
  background: var(--mist-2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233E524C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l4 4 10-10'/%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}
.sra-trust strong { color: var(--sage-deep); font-weight: 800; }

.sra-cta-note {
  margin-top: 12px;
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.45;
  max-width: 560px;
}

@media (max-width: 560px) {
  .sra-calc { padding: 14px; }
  .sra-row-label { font-size: .84rem; }
  .sra-row-val { font-size: 1.1rem; }
  .sra-total-nums b { font-size: 1.7rem; }
  .sra-total-lbl { font-size: .9rem; }
  .sra-toggle { gap: 5px; padding: 5px; }
  .sra-opt { padding: 9px 4px 10px; }
  .sra-opt-freq { font-size: .74rem; line-height: 1.15; }
  .sra-opt-tag { font-size: .68rem; }
  .sra-opt-best { font-size: .5rem; padding: 2px 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .sra-flow.is-anim .sra-row-val,
  .sra-flow.is-anim .sra-total-nums b,
  .sra-flow.is-anim .sra-row-label b { animation: none; }
}
