/* ============================================================
   LA BELLE TOILE — Palette Beige · Sauge · Gold
   Playfair Display (titres) + Jost (texte)
   ============================================================ */

/* ── Polices hébergées en local (RGPD, performance) ── */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/playfair-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/playfair-latin-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url('../fonts/jost-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Jost';
  font-style: italic;
  font-weight: 200 700;
  font-display: swap;
  src: url('../fonts/jost-latin-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Surfaces — beige chaud */
  --bg:        #F5EEE4;
  --bg-soft:   #ECE1D2;
  --white:     #EFE6D9;

  /* Encre — noir chaud */
  --ink:       #1C2119;
  --ink-soft:  #6A6258;
  --ink-mute:  #9A9088;

  /* Sauge (principal) */
  --sage:      #7B9E87;
  --sage-d:    #5A7A66;
  --sage-soft: #E3E5D0;
  --sage-sh:   rgba(123,158,135,0.32);

  /* Gold (remplace pêche) */
  --peach:     #B8871C;
  --peach-d:   #9A7218;
  --peach-soft:#F5E9CC;
  --peach-sh:  rgba(184,135,28,0.34);

  --line:      rgba(28,33,25,0.10);

  --head: 'Playfair Display', Georgia, serif;
  --body: 'Jost', sans-serif;

  --max: 1180px;
  --gut: clamp(1.3rem, 5vw, 4.5rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.16, 1, 0.3, 1);
  --rad: 14px;
  --rad-s: 8px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: var(--body); font-size: 17px; font-weight: 400;
  background: var(--bg); color: var(--ink-soft); line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
/* Retire le flash gris par défaut au tap sur mobile, pour laisser nos propres
   effets :active (boutons, cartes) s'afficher proprement. */
a, button { -webkit-tap-highlight-color: transparent; }
/* Coupe net tout débordement horizontal (blobs décoratifs, états initiaux des reveals).
   clip plutôt que hidden : ne crée pas de contexte de scroll, préserve les sticky. */
html, body { overflow-x: clip; }
section { overflow-x: clip; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
button { font: inherit; border: none; background: none; cursor: pointer; color: inherit; }
::selection { background: var(--sage-soft); color: var(--ink); }
:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }

/* ── Typo ── */
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); font-weight: 700; line-height: 1.12; letter-spacing: -0.01em; }
.h-xl { font-size: clamp(2.5rem, 6.5vw, 5rem); line-height: 1.02; letter-spacing: -0.02em; }
.h-lg { font-size: clamp(2rem, 4.5vw, 3.4rem); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.6; color: var(--ink-soft); }

/* eyebrow pill */
.eyebrow {
  display: inline-block; font-family: var(--head); font-weight: 700;
  font-size: 0.88rem; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--peach); background: var(--peach-soft);
  padding: 0.5rem 1.15rem; border-radius: 50px; margin-bottom: 1.4rem;
}
.eyebrow.peach { color: var(--peach-d); background: var(--peach-soft); }

/* ── Boutons ── */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--head); font-weight: 600; font-size: 0.95rem;
  padding: 0.92rem 1.8rem; border-radius: 50px;
  transition: transform 0.3s var(--spring), box-shadow 0.35s var(--ease), background 0.3s var(--ease);
}
.btn .ar { transition: transform 0.35s var(--ease); }
.btn:hover .ar { transform: translateX(4px); }
.btn-sage  { background: var(--sage-d); color: #fff; box-shadow: 0 10px 24px var(--sage-sh); }
.btn-sage:hover  { background: var(--sage); transform: translateY(-3px); box-shadow: 0 16px 32px var(--sage-sh); }
.btn-peach { background: var(--peach); color: #fff; box-shadow: 0 10px 24px var(--peach-sh); }
.btn-peach:hover { background: var(--peach-d); transform: translateY(-3px); box-shadow: 0 16px 32px var(--peach-sh); }
.btn-soft  { background: var(--sage-soft); color: var(--peach); }
.btn-soft:hover  { background: #cfead3; transform: translateY(-3px); }
.btn-white { background: #fff; color: var(--ink); box-shadow: 0 10px 24px rgba(28,33,25,0.1); }
.btn-white:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(28,33,25,0.15); }
/* Le retour au toucher doit l'emporter sur le survol quand les deux sont actifs
   (souris maintenue enfoncée, ou "sticky hover" de certains navigateurs mobiles). */
.btn:active { transform: scale(0.96) !important; transition: transform 0.12s var(--ease); }
.btn:active .ar { transform: translateX(4px); }
.btn-ghost { border: 1.5px solid var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--sage); color: var(--peach); transform: translateY(-3px); }

.txt-link { font-family: var(--head); font-weight: 600; color: var(--peach); display: inline-flex; align-items: center; gap: 0.4rem; }
.txt-link .ar { transition: transform 0.3s var(--ease); }
.txt-link:hover .ar { transform: translateX(4px); }
/* Sur 2 lignes (mobile), la flèche doit suivre le texte au lieu de flotter à droite */
@media (max-width: 480px) { .txt-link { display: inline; } }

/* ── Reveal ── (masqué UNIQUEMENT si le JS est actif → jamais de page blanche) */
[data-rv] { transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js [data-rv] { opacity: 0; transform: translateY(26px); }
[data-rv].in { opacity: 1 !important; transform: none !important; }
[data-d="1"]{ transition-delay: 0.08s; } [data-d="2"]{ transition-delay: 0.16s; }
[data-d="3"]{ transition-delay: 0.24s; } [data-d="4"]{ transition-delay: 0.32s; }

/* ════════ NAV ════════ */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 1000; height: 82px; display: flex; align-items: center;
  transition: height 0.4s var(--ease), background 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.nav.solid { height: 68px; background: rgba(245,238,228,0.85); backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 4px 24px rgba(28,33,25,0.06); }
.nav-in { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.logo { font-family: var(--head); font-weight: 700; font-size: 1.35rem; color: var(--ink); display: inline-flex; align-items: center; gap: 0.4rem; white-space: nowrap; flex-shrink: 0; }
.logo .dot {
  position: relative; display: inline-block;
  width: 34px; height: 10px; margin-left: 3px; vertical-align: middle;
  animation: logoShoot 7s ease-in-out infinite 2s;
}
.logo .dot::before {
  content: ''; position: absolute;
  right: 12px; top: 50%;
  width: 20px; height: 1.5px;
  background: linear-gradient(90deg, transparent 0%, rgba(184,135,28,0.18) 35%, rgba(184,135,28,0.68) 100%);
  transform: translateY(-50%) rotate(-26deg) scaleX(0);
  transform-origin: right center;
  border-radius: 1px;
  opacity: 0;
  animation: trailGrow 7s ease-in-out infinite 2s;
}
.logo .dot::after {
  content: '★'; position: absolute;
  right: 0; top: 50%;
  font-size: 10px; line-height: 1;
  color: var(--peach);
  transform: translateY(-50%);
  text-shadow: 0 0 6px rgba(184,135,28,0.65), 0 0 2px rgba(184,135,28,1);
}
@keyframes logoShoot {
  0%, 68%, 100% { opacity: 1; transform: none; }
  78%  { opacity: 0; transform: translate(18px, -9px); }
  79%  { opacity: 0; transform: translate(-18px, 9px); }
  93%  { opacity: 1; transform: none; }
}
@keyframes trailGrow {
  0%, 63% { transform: translateY(-50%) rotate(-26deg) scaleX(0); opacity: 0; }
  69%  { transform: translateY(-50%) rotate(-26deg) scaleX(1); opacity: 1; }
  77%  { transform: translateY(-50%) rotate(-26deg) scaleX(1); opacity: 0.3; }
  80%, 100% { transform: translateY(-50%) rotate(-26deg) scaleX(0); opacity: 0; }
}
.nav-links { display: flex; gap: 1.5rem; }
.nav-links a { font-family: var(--head); font-weight: 600; font-size: 0.92rem; color: var(--ink-soft); transition: color 0.25s; position: relative; white-space: nowrap; }
.nav-links a::after { content: ''; position: absolute; left: 0; bottom: -4px; width: 100%; height: 2px; border-radius: 2px; background: var(--sage); transform: scaleX(0); transform-origin: right; transition: transform 0.3s var(--ease); }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-actions { display: flex; align-items: center; gap: 0.7rem; }
/* Liens repris dans le panneau burger uniquement */
.nav-mobile-only { display: none; }
.nav-contact { font-family: var(--head); font-weight: 600; font-size: 0.9rem; color: var(--ink-soft); transition: color 0.25s; white-space: nowrap; }
.nav-contact:hover { color: var(--peach); }
.nav-cta { font-family: var(--head); font-weight: 600; font-size: 0.9rem; padding: 0.6rem 1.3rem; border-radius: 50px; background: var(--sage); color: #fff; box-shadow: 0 8px 20px var(--sage-sh); transition: transform 0.3s var(--spring), background 0.3s; }
.nav-cta:hover { background: var(--sage-d); transform: translateY(-2px); }
.burger { display: none; flex-direction: column; gap: 5px; width: 30px; height: 30px; align-items: center; justify-content: center; }
.burger span { width: 23px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform 0.35s var(--ease), opacity 0.35s; }
.burger.x span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.burger.x span:nth-child(2){ opacity: 0; }
.burger.x span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ════════ HERO ════════ */
.hero { padding: 8.5rem 0 5rem; position: relative; overflow: hidden; }
.hero::before { content:''; position: absolute; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, var(--peach-soft) 0%, transparent 68%); top: -180px; right: -160px; opacity: 0.7; z-index: -1; }
.hero::after { content:''; position: absolute; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, var(--sage-soft) 0%, transparent 68%); bottom: -220px; left: -180px; opacity: 0.6; z-index: -1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3.5rem; align-items: center; }
.hero h1 span { color: var(--ink); }
.hero h1 .pch { color: var(--peach-d); }
.hero .lead { margin: 1.6rem 0 2.2rem; max-width: 38ch; }
.hero-btns { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.hero-trust { display: flex; align-items: center; gap: 0.7rem; margin-top: 2.2rem; font-size: 0.9rem; color: var(--ink-mute); }
.hero-trust .hearts { color: var(--peach); letter-spacing: -2px; }

/* visuel hero + cartes flottantes */
.hero-visual { position: relative; }
.float-card { position: absolute; background: #fff; border-radius: 18px; padding: 0.85rem 1.1rem;
  box-shadow: 0 16px 40px rgba(28,33,25,0.16); display: flex; align-items: center; gap: 0.7rem; }
.float-card .fc-ic { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.float-card .fc-t { font-family: var(--head); font-weight: 700; font-size: 0.85rem; color: var(--ink); line-height: 1.2; }
.float-card .fc-s { font-size: 0.74rem; color: var(--ink-mute); }
.fc-rsvp { top: 8%; left: -6%; animation: floaty 5s var(--ease) infinite; }
.fc-rsvp .fc-ic { background: var(--sage-soft); }
.fc-count { bottom: 10%; right: -7%; animation: floaty 6s var(--ease) infinite 0.6s; }
.fc-count .fc-ic { background: var(--peach-soft); }
.fc-count .fc-num { font-family: var(--head); font-weight: 700; color: var(--peach-d); }
@keyframes floaty { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-12px); } }

/* Téléphone du hero (montre un vrai site de mariage = le produit) */
.phone { position: relative; width: clamp(240px, 80%, 300px); margin: 0 auto; aspect-ratio: 9 / 18.6;
  background: var(--ink); border-radius: 40px; padding: 9px; box-shadow: 0 34px 70px rgba(28,33,25,0.24); }
.phone-notch { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 86px; height: 7px;
  border-radius: 10px; background: rgba(255,255,255,0.22); z-index: 3; }
.phone-screen { width: 100%; height: 100%; border-radius: 32px; overflow: hidden; background: #fff;
  display: flex; flex-direction: column; }
.mini-site { display: flex; flex-direction: column; height: 100%; }
.ms-hero { flex: 1; background: linear-gradient(165deg, #EDD9A3 0%, var(--bg) 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 1.4rem 1.1rem; }
.ms-kicker { font-family: var(--head); font-weight: 600; font-size: 0.5rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--peach); margin-bottom: 0.7rem; }
.ms-names { font-family: var(--head); font-weight: 700; font-size: 1.55rem; color: var(--ink); line-height: 1.1; }
.ms-names em { font-style: normal; color: var(--peach-d); }
.ms-date { font-family: var(--body); font-size: 0.6rem; color: var(--ink-soft); margin-top: 0.5rem; letter-spacing: 0.03em; }
.ms-tag { display: inline-block; margin-top: 1rem; font-family: var(--head); font-weight: 600; font-size: 0.5rem;
  color: var(--ink); background: rgba(255,255,255,0.7); padding: 0.3rem 0.7rem; border-radius: 50px; }
.ms-body { padding: 0.9rem 0.9rem 1.1rem; background: #fff; }
.ms-btn { display: block; text-align: center; background: var(--sage); color: #fff; font-family: var(--head);
  font-weight: 600; font-size: 0.62rem; padding: 0.55rem; border-radius: 50px; }
.ms-nav { display: flex; justify-content: space-around; margin-top: 0.75rem; }
.ms-nav span { font-family: var(--head); font-weight: 500; font-size: 0.52rem; color: var(--ink-mute); }

/* Mini-site accordé à la démo « Dolce Vita » (Toscane) */
.ms-hero { position: relative; overflow: hidden;
  background: linear-gradient(170deg, #FBEFD8 0%, #F3D2A6 60%, #ECC089 100%); }
.ms-sun { position: absolute; top: 12%; left: 50%; transform: translateX(-50%); width: 72%; aspect-ratio: 1;
  border-radius: 50%; z-index: 0;
  background: radial-gradient(circle, rgba(255,247,225,0.95) 0%, rgba(247,201,118,0.7) 35%, rgba(232,154,83,0) 70%); }
.ms-hero > *:not(.ms-sun):not(.ms-hills) { position: relative; z-index: 1; }
.ms-hills { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: auto; z-index: 0; }
.ms-kicker { color: #9E4A2C; font-style: italic; text-transform: none; letter-spacing: 0.06em; }
.ms-names em { font-style: italic; color: #C2613C; }
.ms-tag { color: #9E4A2C; background: rgba(255,247,225,0.7); }
.ms-btn { background: #C2613C; }

/* ════════ SECTION ════════ */
.section { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.section.cream { background: var(--bg-soft); }
.section.sage  { background: var(--sage); color: #eaf5ec; }
.section.sage h2 { color: #fff; }
.section.sage h3 { color: #fff; }
.section.sage .tl-content h3 { color: var(--ink); }
.section.sage .eyebrow { background: rgba(255,255,255,0.18); color: #fff; }
.s-head { text-align: center; max-width: 640px; margin: 0 auto 3.5rem; }
.s-head .lead { margin-top: 0.9rem; }
.apercu-wink { font-family: var(--head); font-style: italic; font-size: 1.2rem; color: var(--peach); margin-top: 1.1rem; }

/* ════════ POURQUOI (cartes) ════════ */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(185px,1fr)); gap: 1.3rem; }
.why-card { background: var(--white); border-radius: var(--rad); padding: 2rem 1.6rem; text-align: center;
  box-shadow: 0 10px 30px rgba(28,33,25,0.05); transition: transform 0.4s var(--spring), box-shadow 0.4s; }
.why-card:hover { transform: translateY(-8px); box-shadow: 0 22px 50px rgba(28,33,25,0.12); }
.why-card:active { transform: scale(0.97); box-shadow: 0 8px 20px rgba(28,33,25,0.14); transition: transform 0.15s var(--ease); }
.why-card .ic { width: 64px; height: 64px; border-radius: 20px; margin: 0 auto 1.3rem; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; }
.why-card:nth-child(odd) .ic { background: var(--sage-soft); }
.why-card:nth-child(even) .ic { background: var(--peach-soft); }
.why-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.why-card p { font-size: 0.9rem; line-height: 1.6; color: var(--ink-soft); }

/* ════════ UNIVERS (aperçu live — faux navigateur) ════════ */

/* ════════ APERÇU LIVE — faux navigateur ════════ */
.theme-tabs { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin-bottom: 2.4rem; }
.ttab { font-family: var(--head); font-weight: 600; font-size: 0.9rem; padding: 0.6rem 1.25rem; border-radius: 50px;
  background: #fff; color: var(--ink-soft); box-shadow: 0 6px 16px rgba(28,33,25,0.06);
  display: inline-flex; align-items: center; gap: 0.5rem; transition: transform 0.3s var(--spring), background 0.3s, color 0.3s; }
.ttab b { color: var(--peach-d); font-weight: 700; }
.ttab:hover { transform: translateY(-3px); }
.ttab.on { background: var(--sage); color: #fff; box-shadow: 0 12px 26px var(--sage-sh); }
.ttab.on b { color: #fff; }

.browser-wrap { max-width: 980px; margin: 0 auto; }

/* Le mockup s'adapte au type d'appareil qui le regarde : un vrai cadre de
   navigateur sur desktop (démo live), un cadre de tablette sur tablette, un
   cadre de téléphone sur mobile — chacun avec une capture fidèle à ce que
   donne réellement le site à cette taille, pour que le client se projette. */
.device { display: none; }

/* ── Desktop (≥1024px) : fenêtre de navigateur, démo live en iframe ── */
@media (min-width: 1024px) { .device-desktop { display: block; } }
.browser { background: #fff; border-radius: 24px; overflow: hidden;
  box-shadow: 0 34px 80px rgba(28,33,25,0.18); transition: transform 0.5s var(--spring), box-shadow 0.5s; }
.browser:hover { transform: translateY(-4px); box-shadow: 0 44px 100px rgba(28,33,25,0.22); }
.browser-bar { display: flex; align-items: center; gap: 0.9rem; padding: 0.85rem 1.2rem; background: #EFEAE2; }
.bdot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.bdot:nth-child(1){ background: #F1A084; } .bdot:nth-child(2){ background: #F2C879; } .bdot:nth-child(3){ background: #6FAE7E; }
.burl { flex: 1; background: #fff; border-radius: 50px; padding: 0.42rem 1rem; font-family: var(--body); font-size: 0.8rem;
  color: var(--ink-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center; }
.bviewport { position: relative; width: 100%; overflow: hidden; background: #fff; }
.bframe { display: none; }
.bframe.on { display: block; }
.bframe iframe { border: none; display: block; width: 1280px; height: 850px; transform-origin: top left; }

/* ── Tablette (768–1023px) : cadre tablette, démo live ── */
@media (min-width: 768px) and (max-width: 1023px) { .device-tablet { display: block; } }
.tablet-frame { position: relative; width: min(100%, 600px); margin: 0 auto;
  background: #1C2119; border-radius: 28px; padding: 16px 14px;
  box-shadow: 0 34px 80px rgba(28,33,25,0.18); }
.tablet-cam { position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
  width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.25); }
/* aspect-ratio posé ici (pas sur .tablet-frame) : source de vérité unique, calée
   exactement sur les dimensions de la capture/iframe (820×1180), pas de dérive
   d'arrondi entre le cadre et son contenu comme quand on subit le padding. */
.tablet-screen { position: relative; width: 100%; aspect-ratio: 820 / 1180; border-radius: 12px; overflow: hidden; background: #fff; }

/* ── Mobile (≤767px) : cadre téléphone, démo live ── */
@media (max-width: 767px) { .device-phone { display: block; } }
.phone-frame { position: relative; width: min(100%, 340px); margin: 0 auto;
  background: #1C2119; border-radius: 38px; padding: 10px;
  box-shadow: 0 34px 80px rgba(28,33,25,0.18); }
.phone-frame-notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 80px; height: 7px; border-radius: 10px; background: rgba(255,255,255,0.22); z-index: 2; }
.phone-frame-screen { position: relative; width: 100%; aspect-ratio: 390 / 844; border-radius: 28px; overflow: hidden; background: #fff; }

.device-live { position: absolute; top: 0; left: 0; border: none; display: block; transform-origin: top left; }

.browser-cap { text-align: center; margin-top: 1.4rem; font-size: 0.9rem; color: var(--ink-mute); }
.browser-cap a { font-family: var(--head); font-weight: 600; color: var(--peach); white-space: nowrap; transition: color 0.25s; }
.browser-cap a:hover { color: var(--peach-d); }
.browser-cap-btn { text-align: center; }
.browser-cap-btn .bopen { margin: 0 auto; color: var(--peach); }
.browser-cap-btn .bopen:hover { color: var(--peach-d); }
.browser-cap-btn-top { margin-bottom: 1.6rem; }
@media (max-width: 620px) { .ttab { font-size: 0.82rem; padding: 0.5rem 0.95rem; } }

/* ════════ FORMULES ════════ */
.plans { display: grid; grid-template-columns: repeat(3,1fr); column-gap: 1.5rem; row-gap: 0; align-items: start;
  position: relative; overflow: hidden; padding-top: 22px; margin-top: -22px; }
.plan { background: var(--white); border-radius: var(--rad); padding: 2.4rem 2rem;
  display: grid; grid-row: span 6; grid-template-rows: subgrid;
  box-shadow: 0 20px 55px rgba(28,33,25,0.10); border: 1px solid rgba(184,135,28,0.15);
  transition: transform 0.4s var(--spring), box-shadow 0.4s; position: relative; }
.plan:hover { transform: translateY(-8px); box-shadow: 0 34px 72px rgba(28,33,25,0.16); }
.plan:active { transform: scale(0.98); box-shadow: 0 14px 32px rgba(28,33,25,0.16); transition: transform 0.15s var(--ease); }
.plan .ptag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--peach); color: #fff;
  font-family: var(--head); font-weight: 700; font-size: 0.72rem; padding: 0.35rem 1rem; border-radius: 50px;
  box-shadow: 0 8px 18px var(--peach-sh); white-space: nowrap; }
.plan .pname { font-size: 1.45rem; margin-bottom: 0.4rem; text-align: center; }
.plan .pdesc { font-size: 0.86rem; color: var(--ink-mute); margin-bottom: 1.4rem; min-height: 2.7em; }
.plan .pprice { font-family: var(--head); font-weight: 700; color: var(--ink); display: flex; align-items: baseline; gap: 0.15rem; margin-bottom: 0.3rem; }
.plan .pprice b { font-size: 3rem; font-weight: 700; line-height: 1; color: var(--peach); }
.plan .pprice sup { font-size: 1.4rem; font-weight: 600; color: var(--ink); }
.plan .pnote { font-size: 0.78rem; color: var(--ink-mute); margin-bottom: 1.6rem; }
.plan ul { display: flex; flex-direction: column; gap: 0.65rem; margin-bottom: 1.8rem; }
.plan li { font-size: 0.88rem; line-height: 1.5; padding-left: 1.7rem; position: relative; color: var(--ink-soft); }
.plan li::before { content: '✓'; position: absolute; left: 0; top: 0; font-weight: 700; color: var(--peach); }
.plan .btn { width: 100%; justify-content: center; }
.plans-foot { text-align: center; margin-top: 2.4rem; }


/* ════════ PROCESS — TIMELINE ════════ */
.timeline { position: relative; max-width: 900px; margin: 0 auto; padding: 0.5rem 0; }

.tl-track {
  position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%);
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.3) 8%, rgba(255,255,255,0.3) 92%, transparent);
  pointer-events: none;
}

.tl-item { display: grid; grid-template-columns: 1fr 72px 1fr; align-items: center; margin-bottom: 3.5rem; }
.tl-item:last-child { margin-bottom: 0; }

.tl-item > .tl-content  { grid-column: 1; margin-right: 2rem; }
.tl-item > .tl-node     { grid-column: 2; justify-self: center; }
.tl-item > .tl-spacer   { grid-column: 3; }
.tl-item.tl-right > .tl-spacer  { grid-column: 1; }
.tl-item.tl-right > .tl-node    { grid-column: 2; justify-self: center; }
.tl-item.tl-right > .tl-content { grid-column: 3; margin-right: 0; margin-left: 2rem; }

.tl-node {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255,255,255,0.15); border: 2px solid rgba(255,255,255,0.6);
  backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 2; flex-shrink: 0;
}
.tl-node::before {
  content: ''; position: absolute; inset: -7px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.22);
  animation: ringPulse 2.8s ease-out infinite;
}
.tl-node span { font-family: var(--head); font-weight: 700; font-size: 0.82rem; color: #fff; letter-spacing: 0.03em; }

.tl-item[data-rv].in .tl-node { animation: nodeIn 0.7s var(--spring) 0.25s backwards; }
@keyframes nodeIn { from { transform: scale(0); opacity: 0; } 65% { transform: scale(1.2); } to { transform: scale(1); opacity: 1; } }
@keyframes ringPulse { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(1.7); opacity: 0; } }

.tl-content {
  background: var(--white); border-radius: var(--rad); padding: 1.8rem 1.8rem 1.6rem;
  position: relative; overflow: hidden;
  box-shadow: 0 12px 40px rgba(28,33,25,0.12); border: 1px solid rgba(255,255,255,0.5);
  transition: transform 0.4s var(--spring), box-shadow 0.4s;
}
.tl-content:hover { transform: translateY(-5px); box-shadow: 0 22px 55px rgba(28,33,25,0.18); }

.tl-item > .tl-content::after {
  content: ''; position: absolute; right: -9px; top: 28px;
  border: 9px solid transparent; border-left-color: var(--white);
}
.tl-item.tl-right > .tl-content::after {
  right: auto; left: -9px; border-left-color: transparent; border-right-color: var(--white);
}

.tl-bg-num {
  position: absolute; font-family: var(--head); font-size: 5rem; font-weight: 700;
  color: var(--ink); opacity: 0.05; line-height: 1; bottom: 0.7rem; right: 1rem;
  user-select: none; pointer-events: none;
}

.tl-top { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.7rem; }
.tl-ico { font-size: 1.5rem; line-height: 1; }
.tl-content h3 { font-size: 1.15rem; color: var(--ink); margin: 0; }
.tl-content p { font-size: 0.92rem; color: var(--ink-soft); line-height: 1.7; margin-bottom: 1rem; }

.tl-list {
  list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.3rem;
  border-top: 1px solid rgba(184,135,28,0.12); padding-top: 0.85rem;
}
.tl-list li { font-size: 0.84rem; color: var(--ink-soft); padding-left: 1.25rem; position: relative; }
.tl-list li::before { content: '✦'; position: absolute; left: 0; color: var(--peach); font-size: 0.58rem; top: 0.22rem; }

/* === Animations supplémentaires timeline === */

/* Ligne qui se dessine de haut en bas */
.tl-track { transform-origin: top center; transform: translateX(-50%) scaleY(0); opacity: 0; }
.tl-track[data-rv].in { animation: drawLine 1.6s cubic-bezier(0.16,1,0.3,1) 0.1s forwards; }
@keyframes drawLine {
  from { transform: translateX(-50%) scaleY(0); opacity: 0; }
  8%   { opacity: 1; }
  to   { transform: translateX(-50%) scaleY(1); opacity: 1; }
}

/* Shimmer sur les cartes à l'apparition */
.tl-content::before {
  content: ''; position: absolute; top: 0; left: -120%; width: 55%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.45), transparent);
  transform: skewX(-22deg); pointer-events: none; z-index: 1;
}
.tl-item[data-rv].in .tl-content::before { animation: tlShimmer 0.9s ease 0.55s forwards; }
@keyframes tlShimmer { from { left: -120%; } to { left: 170%; } }

/* Numéro décoratif qui remonte à l'apparition */
.tl-bg-num { transform: translateY(6px); }
.tl-item[data-rv].in .tl-bg-num { animation: numUp 0.8s var(--spring) 0.3s backwards; }
@keyframes numUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 0.05; transform: translateY(6px); } }

/* Icône qui rebondit à l'apparition */
.tl-item[data-rv].in .tl-ico { animation: iconBounce 0.6s var(--spring) 0.4s backwards; }
@keyframes iconBounce { from { transform: scale(0) rotate(-15deg); } 70% { transform: scale(1.2) rotate(5deg); } to { transform: scale(1) rotate(0); } }

/* ════════ COMPARAISON ════════ */
.comp-grid {
  display: grid;
  grid-template-columns: 1fr 1.12fr 1fr;
  gap: 1.5rem;
  align-items: start;
  max-width: 920px;
  margin: 0 auto;
}
.comp-col {
  border-radius: var(--rad);
  background: var(--white);
  border: 1px solid rgba(184,135,28,0.12);
  box-shadow: 0 8px 30px rgba(28,33,25,0.07);
  overflow: hidden;
  transition: transform 0.4s var(--spring), box-shadow 0.4s;
}
.comp-col:hover { transform: translateY(-4px); box-shadow: 0 18px 50px rgba(28,33,25,0.11); }

.comp-col.comp-us {
  background: var(--sage-d);
  border-color: transparent;
  box-shadow: 0 20px 55px rgba(90,122,102,0.38);
  position: relative; z-index: 1;
}
.comp-col.comp-us:hover { box-shadow: 0 28px 70px rgba(90,122,102,0.45); }

.comp-badge {
  background: var(--peach);
  color: #fff;
  font-family: var(--head);
  font-weight: 700;
  font-size: 0.72rem;
  text-align: center;
  padding: 0.4rem 1rem;
  letter-spacing: 0.05em;
}
.comp-head {
  padding: 1.4rem 1.5rem 1.1rem;
  font-family: var(--head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.comp-head small { display: block; font-weight: 400; font-size: 0.8rem; color: var(--ink-soft); margin-top: 0.2rem; }
.comp-us .comp-head { color: #fff; border-bottom-color: rgba(255,255,255,0.14); }
.comp-us .comp-head small { color: rgba(255,255,255,0.65); }

.comp-col ul { list-style: none; padding: 0; margin: 0; }
.comp-col li {
  display: flex; align-items: center; gap: 0.65rem;
  padding: 0.7rem 1.5rem;
  font-size: 0.86rem;
  color: var(--ink-soft);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.comp-col li:last-child { border-bottom: none; }
.comp-col li::before { font-size: 1rem; flex-shrink: 0; font-weight: 700; }
.comp-col li.yes::before  { content: '✓'; color: var(--sage-d); }
.comp-col li.no::before   { content: '✗'; color: #b94040; }
.comp-col li.mid::before  { content: '≈'; color: var(--peach); }

.comp-us li { color: rgba(255,255,255,0.85); border-bottom-color: rgba(255,255,255,0.09); }
.comp-us li.yes::before { color: #8cefaa; }
.comp-us li.no::before  { color: rgba(255,255,255,0.35); }

.comp-btn {
  display: flex; align-items: center; justify-content: center;
  margin: 1.4rem 1.5rem 1.5rem;
  background: #fff; color: var(--sage-d);
  font-family: var(--head); font-weight: 700; font-size: 0.9rem;
  padding: 0.7rem 1.5rem; border-radius: 50px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  transition: transform 0.3s var(--spring), box-shadow 0.3s, background 0.3s;
}
.comp-btn:hover { background: var(--peach-soft); color: var(--peach-d); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,0.16); }

/* Colonnes qui entrent en décalé */
.comp-grid[data-rv].in .comp-col { animation: compIn 0.65s var(--spring) backwards; }
.comp-grid[data-rv].in .comp-col:nth-child(1) { animation-delay: 0s; }
.comp-grid[data-rv].in .comp-col:nth-child(2) { animation-delay: 0.13s; }
.comp-grid[data-rv].in .comp-col:nth-child(3) { animation-delay: 0.26s; }
@keyframes compIn { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

/* Lignes de comparaison qui s'allument en décalé */
.comp-grid[data-rv].in .comp-col li { animation: rowIn 0.4s ease backwards; }
.comp-grid[data-rv].in .comp-col li:nth-child(1) { animation-delay: 0.3s; }
.comp-grid[data-rv].in .comp-col li:nth-child(2) { animation-delay: 0.37s; }
.comp-grid[data-rv].in .comp-col li:nth-child(3) { animation-delay: 0.44s; }
.comp-grid[data-rv].in .comp-col li:nth-child(4) { animation-delay: 0.51s; }
.comp-grid[data-rv].in .comp-col li:nth-child(5) { animation-delay: 0.58s; }
.comp-grid[data-rv].in .comp-col li:nth-child(6) { animation-delay: 0.65s; }
.comp-grid[data-rv].in .comp-col li:nth-child(7) { animation-delay: 0.72s; }
@keyframes rowIn { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }

@media (max-width: 680px) {
  .comp-grid { grid-template-columns: 1fr; max-width: 460px; }
  .comp-col.comp-us { order: -1; }
}

/* ════════ FAQ ════════ */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item { background: var(--white); border-radius: var(--rad-s); margin-bottom: 0.9rem; overflow: hidden;
  box-shadow: 0 6px 20px rgba(28,33,25,0.05); transition: box-shadow 0.3s; }
.faq-item.open { box-shadow: 0 14px 36px rgba(28,33,25,0.1); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; text-align: left; padding: 1.3rem 1.6rem; }
.faq-q span { font-family: var(--head); font-weight: 600; font-size: 1.02rem; color: var(--ink); }
.faq-q .pm { position: relative; width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%; background: var(--sage-soft); }
.faq-q .pm::before, .faq-q .pm::after { content: ''; position: absolute; top: 50%; left: 50%; background: var(--sage-d); border-radius: 2px; transition: transform 0.35s var(--ease); }
.faq-q .pm::before { width: 10px; height: 2px; transform: translate(-50%,-50%); }
.faq-q .pm::after  { width: 2px; height: 10px; transform: translate(-50%,-50%); }
.faq-item.open .pm::after { transform: translate(-50%,-50%) scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.45s var(--ease); }
.faq-a p { padding: 0 1.6rem 1.4rem; font-size: 0.92rem; line-height: 1.7; }

/* ════════ CTA FINAL ════════ */
.cta { text-align: center; }
.cta-box { background: linear-gradient(150deg, var(--bg), #EDD9A3); border-radius: 40px; padding: clamp(2.5rem,6vw,5rem) 1.5rem; }
.cta-box .lead { max-width: 44ch; margin: 0.9rem auto 2rem; }
.cta-box .hero-btns { justify-content: center; }

/* ════════ FOOTER ════════ */
.footer { background: var(--ink); color: #b9c5bc; padding: 4rem 0 2rem; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer .logo { color: #fff; }
.footer p.tagline { margin-top: 1rem; max-width: 28ch; font-size: 0.9rem; color: #97a399; }
.footer h4 { font-family: var(--head); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--peach); margin-bottom: 1.1rem; }
.footer-col a, .footer-col p { display: block; font-size: 0.9rem; color: #b9c5bc; margin-bottom: 0.55rem; transition: color 0.25s; }
.footer-col a:hover { color: #fff; }
.footer-bot { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.8rem; font-size: 0.8rem; color: #7d897f; }

/* ════════ RESPONSIVE ════════ */

/* ── Tablette (≤ 980px) ── */
@media (max-width: 980px) {
  /* Hero : passage en colonne + centrage */
  .hero { padding: 7rem 0 4rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
  .hero-text { display: flex; flex-direction: column; align-items: center; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero-btns { justify-content: center; }
  .hero-trust { justify-content: center; flex-wrap: wrap; }
  .hero-visual { max-width: 400px; margin: 0 auto; width: 100%; }
  .float-card { display: none; }
  .eyebrow[data-rv] { transform-origin: center center; }
  /* Grilles */
  .why-grid { grid-template-columns: repeat(2,1fr); }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; row-gap: 1.5rem; }
  .plan { display: flex; flex-direction: column; grid-row: auto; }
  .plan ul { flex: 1; }
  /* Timeline */
  .tl-track { left: 26px; transform: none; }
  .tl-item, .tl-item.tl-right { grid-template-columns: 56px 1fr; }
  .tl-spacer { display: none; }
  .tl-item > .tl-content, .tl-item.tl-right > .tl-content { grid-column: 2; grid-row: 1; margin: 0 0 0 1.2rem; }
  .tl-item > .tl-node, .tl-item.tl-right > .tl-node { grid-column: 1; grid-row: 1; justify-self: start; }
  .tl-item > .tl-content::after, .tl-item.tl-right > .tl-content::after { right: auto; left: -9px; border-left-color: transparent; border-right-color: var(--white); }
  /* Footer */
  .footer-top { grid-template-columns: 1fr 1fr; }
}

/* ── Nav condensée (≤ 1120px) : la nav complète a besoin de ~1150px pour tenir,
   le burger prend donc le relais bien avant, en gardant le bouton Devis visible ── */
@media (max-width: 1120px) {
  .nav-links { display: none; }
  .nav-contact { display: none; }
  /* Regroupe le bouton Devis à droite, contre le burger */
  .nav-actions { margin-left: auto; }
  .nav-links.show {
    display: flex; flex-direction: column; align-items: flex-start; position: fixed;
    top: 68px; left: 0; right: 0; z-index: 999;
    background: rgba(245,238,228,0.98); backdrop-filter: blur(18px);
    padding: 2rem var(--gut); gap: 1.4rem;
    border-bottom: 1px solid rgba(28,33,25,0.12);
    box-shadow: 0 24px 40px -18px rgba(28,33,25,0.28);
  }
  .nav-links.show a { font-size: 1.1rem; }
  .nav-links.show .nav-mobile-only {
    display: block; margin-top: 0.4rem; padding-top: 1.4rem;
    border-top: 1px solid rgba(28,33,25,0.12);
  }
  .burger { display: flex; }
}

/* ── Mobile (≤ 767px) ── */
@media (max-width: 767px) {
  /* Le mockup téléphone du héros fait doublon avec le vrai cadre interactif de la
     section "Exemple de réalisation" juste après (remontée avant "Pourquoi nous"
     sur mobile, voir vitrine.js) : pas la peine de montrer deux fois un téléphone. */
  .hero-visual { display: none; }
  /* Les halos du héros sont dimensionnés pour un large canvas desktop : sur un
     écran étroit ils sortent presque entièrement du cadre (overflow:hidden les
     coupe) et l'effet disparaît. Recalibrés pour rester bien visibles ici. */
  .hero::before { width: 380px; height: 380px; top: -100px; right: -120px; opacity: 0.85; }
  .hero::after { width: 340px; height: 340px; bottom: -100px; left: -130px; opacity: 0.75; }
}

/* ── Mobile (≤ 620px) ── */
@media (max-width: 620px) {
  body { font-size: 16px; }
  /* Hero boutons */
  .hero-btns { flex-direction: column; align-items: center; gap: 0.7rem; }
  .hero-btns .btn { width: 100%; max-width: 340px; justify-content: center; }
  /* Grilles */
  .why-grid { grid-template-columns: 1fr; }
  /* Timeline */
  .tl-item, .tl-item.tl-right { grid-template-columns: 48px 1fr; margin-bottom: 2rem; }
  .tl-node { width: 48px; height: 48px; }
  .tl-node::before { inset: -5px; }
  /* Footer */
  .footer-top { grid-template-columns: 1fr; gap: 1.6rem; }
  .footer-bot { flex-direction: column; align-items: center; text-align: center; gap: 0.6rem; }
}

/* ── Petit mobile (≤ 400px) ── */
@media (max-width: 400px) {
  .hero { padding: 6rem 0 3rem; }
  .h-xl { font-size: clamp(2.1rem, 9vw, 2.5rem); }
  .plans { max-width: 100%; }
}

/* ════════════════════════════════════════
   PAGES INTERNES — en-tête
════════════════════════════════════════ */
.page-hero { padding: 9rem 0 3rem; text-align: center; position: relative; overflow: hidden; }
.page-hero .eyebrow { margin-bottom: 1rem; }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
.page-hero p { max-width: 48ch; margin: 1rem auto 0; }
.breadcrumb { font-family: var(--head); font-weight: 600; font-size: 0.85rem; color: var(--ink-mute); margin-bottom: 1.4rem; }
.breadcrumb a:hover { color: var(--peach); }

/* ════════ COMPARATEUR PREMIUM ════════ */
.cmp-outer { overflow-x: auto; border-radius: var(--rad); box-shadow: 0 24px 70px rgba(28,33,25,0.11); background: var(--white); }
.cmp-inner { min-width: 580px; }
.cmp-header, .cmp-row { display: grid; grid-template-columns: 1.5fr repeat(3, 130px); }
.cmp-header { background: var(--ink); }
.cmp-header-feat { padding: 1.5rem 1.8rem; }
.cmp-header-plan { padding: 1.4rem 1rem; text-align: center; border-left: 1px solid rgba(255,255,255,0.08); display: flex; flex-direction: column; align-items: center; gap: 0.25rem; }
.chp-name { font-family: var(--head); font-weight: 700; font-size: 1rem; color: #fff; }
.chp-price { font-family: var(--head); font-weight: 600; font-size: 0.82rem; color: var(--peach-soft); }
.cmp-cat { display: flex; align-items: center; gap: 0.65rem; padding: 0.8rem 1.8rem; background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cmp-cat-icon { font-size: 0.9rem; }
.cmp-cat-name { font-family: var(--head); font-weight: 700; font-size: 0.76rem; letter-spacing: 0.11em; text-transform: uppercase; color: var(--ink); }
.cmp-row { border-bottom: 1px solid var(--line); transition: background 0.18s var(--ease); }
.cmp-row:last-child { border-bottom: none; }
.cmp-row:hover { background: rgba(184,135,28,0.04); }
.cmp-feat { padding: 0.85rem 1.8rem; font-size: 0.86rem; color: var(--ink-soft); display: flex; align-items: center; }
.cmp-val { display: flex; align-items: center; justify-content: center; padding: 0.85rem 0.4rem; border-left: 1px solid var(--line); font-size: 0.81rem; color: var(--ink-soft); text-align: center; line-height: 1.4; }
.cmp-yes { display: inline-flex; width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, var(--peach), var(--peach-d)); color: #fff; font-size: 0.68rem; font-weight: 700; align-items: center; justify-content: center; box-shadow: 0 4px 12px var(--peach-sh); flex-shrink: 0; }
.cmp-no  { color: #ccc; font-size: 1rem; line-height: 1; }
.cmp-opt { font-family: var(--head); font-size: 0.76rem; color: var(--ink-mute); font-weight: 600; }

/* Animation : cercles ✓ qui pop quand la ligne entre dans le viewport */
@keyframes checkPop { from { transform:scale(0) rotate(-15deg); opacity:0; } 65% { transform:scale(1.25) rotate(5deg); opacity:1; } to { transform:scale(1) rotate(0); opacity:1; } }
.cmp-row.in .cmp-yes { animation: checkPop 0.42s var(--spring) 0.12s both; }

/* Responsive */
@media (max-width: 680px) {
  .cmp-header, .cmp-row { grid-template-columns: 1fr repeat(3, 70px); }
  .cmp-feat, .cmp-header-feat { padding-left: 1rem; }
  .cmp-val, .cmp-header-plan { padding-left: 0.3rem; padding-right: 0.3rem; }
  .chp-name { font-size: 0.76rem; }
  .cmp-feat { font-size: 0.78rem; }
  .cmp-opt { font-size: 0.68rem; }
}

/* ════════ CONFIGURATEUR ════════ */
.cfg-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 2.5rem; align-items: start; }
.cfg-steps { display: flex; flex-direction: column; gap: 2.2rem; }
.cfg-step .cfg-label { font-family: var(--head); font-weight: 700; font-size: 1.1rem; color: var(--ink); margin-bottom: 1rem; display: flex; align-items: center; gap: 0.6rem; }
.cfg-label .n { width: 28px; height: 28px; border-radius: 50%; background: var(--peach); color: #fff; font-size: 0.85rem; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cfg-opts { display: grid; gap: 0.7rem; }
.cfg-opts.cols { grid-template-columns: repeat(3,1fr); }
.opt {
  display: flex; align-items: center; gap: 0.9rem; padding: 1rem 1.2rem; background: #fff;
  border: 2px solid transparent; border-radius: var(--rad-s); cursor: pointer; transition: all 0.25s var(--ease);
  box-shadow: 0 6px 18px rgba(28,33,25,0.05);
}
.opt:hover { transform: translateY(-2px); }
.opt.on { border-color: var(--peach); background: var(--peach-soft); }
.opt .opt-radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); flex-shrink: 0; transition: all 0.25s; position: relative; }
.opt.on .opt-radio { border-color: var(--peach); }
.opt.on .opt-radio::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--peach); }
.opt .opt-check { width: 20px; height: 20px; border-radius: 6px; border: 2px solid var(--line); flex-shrink: 0; display: flex; align-items: center; justify-content: center; transition: all 0.25s; }
.opt.on .opt-check { border-color: var(--peach); background: var(--peach); }
.opt.on .opt-check::after { content: '✓'; color: #fff; font-size: 0.75rem; font-weight: 700; }
.opt .opt-main { flex: 1; }
.opt .opt-name { font-family: var(--head); font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.opt .opt-sub { font-size: 0.78rem; color: var(--ink-mute); }
.opt .opt-price { font-family: var(--head); font-weight: 700; font-size: 0.9rem; color: var(--peach); white-space: nowrap; }
.cfg-opts.cols .opt { flex-direction: column; align-items: flex-start; gap: 0.5rem; text-align: left; }

/* Option non pertinente pour la formule → masquée */
.opt.hide { display: none; }
/* Option déjà incluse dans la formule → non sélectionnable */
.opt.incl { opacity: 0.6; cursor: not-allowed; background: var(--bg); box-shadow: none; }
.opt.incl:hover { transform: none; }
.opt.incl .opt-check { background: var(--peach-soft); border-color: var(--peach); }
.opt.incl .opt-check::after { content: '✓'; color: var(--peach); font-size: 0.75rem; font-weight: 700; }
.opt.incl .opt-price { color: var(--peach); font-weight: 700; }

.cfg-recap { position: sticky; top: 92px; background: #fff; border-radius: var(--rad); padding: 2rem; box-shadow: 0 18px 50px rgba(28,33,25,0.1); }
.cfg-recap h3 { font-size: 1.2rem; margin-bottom: 1.2rem; }
.recap-line { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.88rem; padding: 0.55rem 0; border-bottom: 1px dashed var(--line); }
.recap-line span:first-child { color: var(--ink-soft); }
.recap-line span:last-child { font-family: var(--head); font-weight: 600; color: var(--ink); }
.recap-total { display: flex; justify-content: space-between; align-items: baseline; margin: 1.3rem 0 0.3rem; }
.recap-total .rt-label { font-family: var(--head); font-weight: 700; color: var(--ink); }
.recap-total .rt-val { font-family: var(--head); font-weight: 700; font-size: 2.4rem; color: var(--peach); }
.recap-acompte { font-size: 0.82rem; color: var(--ink-mute); margin-bottom: 1.4rem; }
.recap-acompte b { color: var(--peach-d); }
.cfg-recap .btn { width: 100%; justify-content: center; }

@media (max-width: 880px) {
  .cfg-layout { grid-template-columns: 1fr; }
  .cfg-recap { position: static; }
  .cfg-opts.cols { grid-template-columns: 1fr; }
}

/* ════════ DEMANDE DE DEVIS (formulaire) ════════ */
.devis-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 2.5rem; align-items: start; }
.devis-recap { background: linear-gradient(160deg, #fff, var(--peach-soft)); border-radius: var(--rad); padding: 2rem;
  box-shadow: 0 14px 40px rgba(28,33,25,0.08); position: sticky; top: 92px; }
.devis-recap h3 { font-size: 1.2rem; margin-bottom: 1.2rem; }
.devis-recap .recap-line span:last-child { text-align: right; }
.devis-recap .badge-auto { display: inline-flex; align-items: center; gap: 0.4rem; font-family: var(--head); font-weight: 600;
  font-size: 0.72rem; color: var(--peach); background: rgba(255,255,255,0.7); padding: 0.35rem 0.8rem; border-radius: 50px; margin-bottom: 1rem; }
.devis-form { background: #fff; border-radius: var(--rad); padding: 2rem; box-shadow: 0 14px 40px rgba(28,33,25,0.07);
  display: flex; flex-direction: column; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-family: var(--head); font-weight: 600; font-size: 0.82rem; color: var(--ink); }
.field input, .field textarea {
  font-family: var(--body); font-size: 0.95rem; color: var(--ink); padding: 0.85rem 1.1rem;
  border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg); outline: none; width: 100%;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-mute); }
.field input:focus, .field textarea:focus { border-color: var(--sage); box-shadow: 0 0 0 3px var(--sage-soft); }
.field textarea { resize: vertical; min-height: 110px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.devis-form .btn { width: 100%; justify-content: center; margin-top: 0.3rem; }
.devis-form .form-note { font-size: 0.76rem; color: var(--ink-mute); text-align: center; }
@media (max-width: 880px) { .devis-layout { grid-template-columns: 1fr; } .devis-recap { position: static; } .field-row { grid-template-columns: 1fr; } }

/* ════════════════════════════════════════
   ✦ ANIMATIONS SUPPLÉMENTAIRES ✦
════════════════════════════════════════ */

/* Barre de progression de scroll */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 2000;
  background: linear-gradient(90deg, var(--sage), var(--peach)); box-shadow: 0 0 12px var(--sage-sh); }

/* Variantes de reveal */
.js [data-rv="left"]  { transform: translateX(-44px); }
.js [data-rv="right"] { transform: translateX(44px); }
.js [data-rv="scale"] { transform: scale(0.88); }

/* Titre hero : mots qui montent un à un */
.hero-title .w { display: inline-block; opacity: 0; transform: translateY(40px) rotate(3deg);
  animation: wordUp 0.85s var(--spring) forwards; }
.hero-title .w.accent { color: var(--peach); font-style: italic; }
.hero-title .w:nth-child(1){ animation-delay: 0.15s; }
.hero-title .w:nth-child(2){ animation-delay: 0.27s; }
.hero-title .w:nth-child(3){ animation-delay: 0.39s; }
.hero-title .w:nth-child(4){ animation-delay: 0.51s; }
.hero-title .w:nth-child(5){ animation-delay: 0.63s; }
.hero-title .w:nth-child(6){ animation-delay: 0.75s; }
.hero-title .w:nth-child(7){ animation-delay: 0.87s; }
@keyframes wordUp { to { opacity: 1; transform: none; } }

/* ═══════════════════════════════════════
   ANIMATIONS PREMIUM
   ═══════════════════════════════════════ */

/* ── Aurora animée dans le hero ── */
.hero { position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: -20%; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 65% 50% at 12% 70%, rgba(123,158,135,0.22) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 88% 20%, rgba(184,135,28,0.11) 0%, transparent 55%),
    radial-gradient(ellipse 35% 30% at 60% 88%, rgba(184,135,28,0.08) 0%, transparent 55%);
  animation: aurora 10s ease-in-out infinite alternate;
}
@keyframes aurora {
  from { transform: scale(1)    translate(0%,    0%);    opacity: 1;   }
  to   { transform: scale(1.12) translate(2.5%, -2.5%); opacity: 0.65; }
}
.hero .wrap { position: relative; z-index: 1; }

/* ── Nav : underline dorée qui glisse ── */
.nav-links a { position: relative; }
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1.5px; background: var(--peach); border-radius: 2px;
  transition: width 0.35s var(--spring);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

/* ── Spotlight curseur sur les cartes ── */
.plan, .why-card { --sx: 50%; --sy: 50%; }
.plan::before, .why-card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(260px circle at var(--sx) var(--sy), rgba(184,135,28,0.09), transparent 70%);
  opacity: 0; transition: opacity 0.4s; pointer-events: none; z-index: 0;
}
.plan:hover::before, .why-card:hover::before { opacity: 1; }

/* ── Plan "best" : halo doré pulsant ── */
.plan.best { box-shadow: 0 20px 55px rgba(28,33,25,0.10), 0 0 0 1.5px rgba(184,135,28,0.18); }
.plan.best::after {
  content: ''; position: absolute; inset: -2px; border-radius: calc(var(--rad) + 2px);
  background: transparent; border: 1.5px solid rgba(184,135,28,0);
  animation: bestGlow 3s ease-in-out infinite;
  pointer-events: none; z-index: 0;
}
@keyframes bestGlow {
  0%, 100% { border-color: rgba(184,135,28,0);   box-shadow: none; }
  50%       { border-color: rgba(184,135,28,0.3); box-shadow: 0 0 28px rgba(184,135,28,0.12); }
}

/* ── Ripple au clic sur les boutons ── */
.btn, .nav-cta { position: relative; overflow: hidden; }
.btn-ripple {
  position: absolute; border-radius: 50%; pointer-events: none;
  background: rgba(255,255,255,0.28);
  animation: rippleOut 0.7s ease-out forwards;
}
@keyframes rippleOut {
  from { transform: scale(0); opacity: 1; }
  to   { transform: scale(1); opacity: 0; }
}

/* Reflet lumineux discret sur le bouton principal du héros (une passe toutes les
   quelques secondes, pas en continu, pour ne pas distraire) */
.btn-shimmer::before {
  content: ''; position: absolute; top: 0; left: -60%; width: 35%; height: 100%;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,0.4) 50%, transparent 100%);
  transform: skewX(-20deg); pointer-events: none;
  animation: btnShimmer 4.5s ease-in-out 1.8s infinite;
}
@keyframes btnShimmer {
  0%, 24% { left: -60%; }
  44%, 100% { left: 130%; }
}

/* ── Eyebrow : pop avec scale ── */
.eyebrow[data-rv] { transform-origin: left center; }
.eyebrow[data-rv].in { animation: eyePop 0.55s var(--spring) backwards; }
@keyframes eyePop { from { opacity: 0; transform: scaleX(0.6) translateX(-12px); } to { opacity: 1; transform: none; } }

/* ── Why-cards : shimmer à l'apparition ── */
.why-card { position: relative; overflow: hidden; }
.why-card::after {
  content: ''; position: absolute; top: 0; left: -120%; width: 55%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
  transform: skewX(-20deg); pointer-events: none;
}
.why-card[data-rv].in::after { animation: whyShimmer 0.85s ease 0.4s forwards; }
@keyframes whyShimmer { from { left: -120%; } to { left: 170%; } }

/* ── Icônes why-card : rebond amélioré ── */
.why-card[data-rv].in .ic { animation: popIn 0.6s var(--spring) 0.15s backwards; }
@keyframes popIn { from { transform: scale(0) rotate(-20deg); } 70% { transform: scale(1.25) rotate(6deg); } to { transform: scale(1) rotate(0); } }

/* ── Float-cards hero : lévitation douce ── */
.float-card:nth-child(odd)  { animation: fcFloat 5s ease-in-out infinite; }
.float-card:nth-child(even) { animation: fcFloat 5s ease-in-out infinite 2.5s; }
@keyframes fcFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ── Plan cards : hover glow enrichi ── */
.plan:hover { box-shadow: 0 28px 65px rgba(28,33,25,0.14), 0 0 0 1px rgba(184,135,28,0.14); }

/* ── Sections texte lead : slide depuis le bas ── */
.section .lead[data-rv] { transform: translateY(20px); }
.section .lead[data-rv].in { transform: none; }

/* ════════════════════════════════════════
   ✦ CONFIGURATEUR v2 — WIZARD GUIDÉ ✦
════════════════════════════════════════ */

.cfg2-section { background: var(--bg); }
.cfg2-shell { display: grid; grid-template-columns: 1fr 320px; gap: 3rem; align-items: start; }

/* Barre de progression */
.cfg2-progress { height: 3px; background: var(--line); border-radius: 4px; overflow: hidden; margin-bottom: 0.5rem; grid-column: 1; }
.cfg2-progress-inner { height: 100%; background: linear-gradient(90deg, var(--sage), var(--peach)); transition: width 0.7s cubic-bezier(0.34,1.56,0.64,1); }
.cfg2-steps-label { display: flex; margin-bottom: 2.5rem; grid-column: 1; }
.cfg2-sl { flex: 1; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); text-align: center; transition: color 0.3s; font-weight: 500; }
.cfg2-sl.active { color: var(--peach); font-weight: 700; }

/* Panels animés */
.cfg2-panel { grid-column: 1; }
.cfg2-panel:not([hidden]) { animation: cfg2In 0.5s cubic-bezier(0.22,1,0.36,1) both; }
@keyframes cfg2In { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ── Étape 1 : Guide cards ── */
.cfg2-q { font-family: var(--head); font-size: clamp(1.4rem,3vw,2rem); color: var(--ink); margin-bottom: 2rem; line-height: 1.15; }
.cfg2-guide-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.2rem; }
.cfg2-gc {
  background: #fff; border: 2px solid var(--line); border-radius: var(--rad);
  padding: 2rem 1.6rem; text-align: left; cursor: pointer; width: 100%;
  display: flex; flex-direction: column; gap: 0.75rem;
  transition: border-color 0.3s, transform 0.35s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s;
  position: relative; overflow: hidden;
}
.cfg2-gc::before { content:''; position:absolute; inset:0; background:linear-gradient(135deg,rgba(123,158,135,0.06),transparent 60%); opacity:0; transition:opacity 0.3s; }
.cfg2-gc:hover { border-color:var(--sage); transform:translateY(-5px); box-shadow:0 20px 50px rgba(100,130,100,0.16); }
.cfg2-gc:hover::before { opacity:1; }
.cfg2-gc:active { transform:scale(0.98); }
.cfg2-gc-orb { font-size:2.2rem; line-height:1; display:block; }
.cfg2-gc-name { font-family:var(--head); font-size:1.05rem; font-weight:700; color:var(--ink); }
.cfg2-gc-desc { font-size:0.84rem; color:var(--ink-soft); line-height:1.55; flex:1; }
.cfg2-gc-hint { font-size:0.76rem; color:var(--peach); font-weight:700; letter-spacing:0.02em; padding-top:0.5rem; border-top:1px solid var(--line); margin-top:auto; }

/* ── Bannière recommandation ── */
.cfg2-rec-banner {
  display:flex; align-items:center; gap:0.9rem;
  background:linear-gradient(135deg,rgba(184,135,28,0.07),rgba(184,135,28,0.03));
  border:1.5px solid rgba(184,135,28,0.28); border-radius:var(--rad);
  padding:1rem 1.4rem; margin-bottom:1.8rem;
  font-size:0.92rem; color:var(--ink-soft); animation:cfg2In 0.4s both;
}
.cfg2-rec-banner strong { color:var(--ink); font-family:var(--head); font-weight:700; }
.cfg2-rec-star { color:var(--peach); font-size:1.3rem; flex-shrink:0; animation:starSpin 0.6s cubic-bezier(0.34,1.56,0.64,1) both; }
@keyframes starSpin { from { transform:scale(0) rotate(-90deg); } to { transform:scale(1) rotate(0); } }

/* ── Étape 2 : Formule cards ── */
.cfg2-formule-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1rem; margin-bottom:2rem; }
.cfg2-plan {
  background:#fff; border:2px solid var(--line); border-radius:var(--rad);
  padding:1.6rem 1.4rem; cursor:pointer; position:relative;
  display:flex; flex-direction:column; gap:1.1rem;
  transition:border-color 0.3s cubic-bezier(0.34,1.56,0.64,1), transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s;
}
.cfg2-plan:hover { border-color:var(--sage-soft); transform:translateY(-3px); box-shadow:0 12px 35px rgba(100,130,100,0.13); }
.cfg2-plan.on { border-color:var(--sage); background:linear-gradient(160deg,#f5f9f5,#fff); box-shadow:0 16px 45px rgba(100,130,100,0.18); transform:translateY(-4px); }
.cfg2-plan.rec { border-color:rgba(184,135,28,0.4); }
.cfg2-plan.rec.on { border-color:var(--sage); }
.cfg2-plan-badge {
  position:absolute; top:-13px; left:50%; transform:translateX(-50%);
  background:linear-gradient(90deg,var(--peach-d),var(--peach));
  color:#fff; font-size:0.68rem; font-weight:700; letter-spacing:0.07em;
  text-transform:uppercase; padding:4px 14px; border-radius:50px; white-space:nowrap;
  box-shadow:0 4px 12px rgba(184,135,28,0.3);
}
.cfg2-plan-top { display:flex; flex-direction:column; gap:0.25rem; }
.cfg2-plan-name { font-family:var(--head); font-weight:700; font-size:1.05rem; color:var(--ink); }
.cfg2-plan-price { font-family:var(--head); font-weight:700; font-size:1.9rem; color:var(--peach); line-height:1; }
.cfg2-plan-feat { list-style:none; display:flex; flex-direction:column; gap:0.45rem; flex:1; }
.cfg2-plan-feat li { font-size:0.8rem; color:var(--ink-soft); padding-left:1.3rem; position:relative; line-height:1.4; }
.cfg2-plan-feat li::before { content:'✓'; position:absolute; left:0; color:var(--sage); font-weight:800; font-size:0.75rem; }
.cfg2-plan-cta {
  text-align:center; font-size:0.8rem; font-family:var(--head); font-weight:700;
  color:var(--ink-mute); padding:0.55rem; border-radius:50px;
  border:1.5px solid var(--line); transition:all 0.25s;
}
.cfg2-plan:hover .cfg2-plan-cta { border-color:var(--sage); color:var(--sage); }
.cfg2-plan.on .cfg2-plan-cta { background:var(--sage); border-color:var(--sage); color:#fff; }
.cfg2-plan.on .cfg2-plan-cta::before { content:'✓ '; }

/* ── Labels et blocs ── */
.cfg2-block { margin-bottom:2rem; }
.cfg2-block-label { font-family:var(--head); font-weight:700; font-size:1rem; color:var(--ink); margin-bottom:1rem; display:flex; align-items:center; gap:0.6rem; }
.cfg2-block-label .n { width:28px; height:28px; border-radius:50%; background:var(--peach); color:#fff; font-size:0.82rem; display:inline-flex; align-items:center; justify-content:center; flex-shrink:0; }
.cfg2-opts-2col { grid-template-columns:1fr 1fr !important; }
.cfg2-opts-group { margin-bottom:2rem; }

/* ── Navigation ── */
.cfg2-step-nav { display:flex; align-items:center; justify-content:space-between; margin-top:2.5rem; padding-top:1.5rem; border-top:1px solid var(--line); }
.cfg2-back { background:none; border:none; color:var(--ink-mute); font-size:0.87rem; cursor:pointer; padding:0; font-family:var(--body); transition:color 0.2s; }
.cfg2-back:hover { color:var(--ink); }

/* ── Récap flottant ── */
.cfg2-recap { grid-column:2; grid-row:1 / 10; position:sticky; top:92px; }
.cfg2-recap-title { font-size:1.15rem; margin-bottom:1.2rem; }

/* Responsive */
@media (max-width:960px) {
  .cfg2-shell { grid-template-columns:1fr; }
  .cfg2-guide-grid { grid-template-columns:1fr; }
  .cfg2-formule-grid { grid-template-columns:1fr; }
  .cfg2-opts-2col { grid-template-columns:1fr !important; }
  .cfg2-recap { grid-column:1; grid-row:auto; position:static; }
}

/* Carte 3D — s'incline vers la souris */
.why-grid, .plans { perspective: 1100px; }
.why-card, .plan { transform-style: preserve-3d; will-change: transform; }

/* Formes décoratives flottantes dans les sections */
.blob { --py: 0px; position: absolute; border-radius: 46% 54% 52% 48%; z-index: 0; pointer-events: none;
  filter: blur(2px); opacity: 0.5; animation: blobFloat 16s ease-in-out infinite; }
.blob.sage  { background: var(--sage-soft); }
.blob.peach { background: var(--peach-soft); }
@keyframes blobFloat {
  0%,100%{ transform: translate(0, var(--py)) rotate(0deg) scale(1);}
  50%    { transform: translate(20px, calc(var(--py) - 26px)) rotate(20deg) scale(1.12);}
}
.section { position: relative; }
.section .wrap { position: relative; z-index: 1; }

/* Spotlight unique qui balaye les 3 formules de gauche à droite */
.plans::after { content: ''; position: absolute; top: 0; left: -22%; width: 14%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.52), transparent);
  transform: skewX(-18deg); pointer-events: none; z-index: 2;
  animation: sweepPlans 5s cubic-bezier(0.45, 0, 0.55, 1) infinite; }
@keyframes sweepPlans {
  0%, 10% { left: -22%; opacity: 0; }
  13%      { opacity: 1; }
  74%      { opacity: 1; }
  80%, 100% { left: 112%; opacity: 0; }
}

/* Étoiles scintillantes (déco hero) */
.spark { position: absolute; color: var(--peach); z-index: 0; pointer-events: none; opacity: 0;
  animation: twinkle 3.5s ease-in-out infinite; }
@keyframes twinkle { 0%,100%{ opacity:0; transform: scale(0.6);} 50%{ opacity:0.9; transform: scale(1);} }

/* Blobs du hero qui dérivent doucement */
.hero::before { animation: drift1 18s ease-in-out infinite; }
.hero::after  { animation: drift2 22s ease-in-out infinite; }
@keyframes drift1 { 0%,100%{ transform: translate(0,0) scale(1);} 50%{ transform: translate(-34px,34px) scale(1.08);} }
@keyframes drift2 { 0%,100%{ transform: translate(0,0) scale(1);} 50%{ transform: translate(34px,-28px) scale(1.06);} }

/* Particules dorées — ambiance luxe */
.particle {
  position: absolute; border-radius: 50%; pointer-events: none; z-index: 0;
  opacity: 0; animation: particleRise linear infinite;
}
@keyframes particleRise {
  0%   { transform: translateY(0) scale(0.6); opacity: 0; }
  12%  { opacity: 0.55; }
  75%  { opacity: 0.18; }
  100% { transform: translateY(-180px) scale(0.1); opacity: 0; }
}

/* Parallaxe souris du visuel hero */
.hero-visual { transition: transform 0.4s var(--ease); will-change: transform; }

/* Icônes "pourquoi" qui pop à l'apparition */
.why-card[data-rv].in .ic { animation: popIn 0.6s var(--spring) 0.1s backwards; }
@keyframes popIn { 0%{ transform: scale(0) rotate(-12deg);} 60%{ transform: scale(1.18) rotate(6deg);} 100%{ transform: scale(1) rotate(0);} }
.why-card .ic { transition: transform 0.4s var(--spring); }
.why-card:hover .ic { transform: translateY(-4px) rotate(-6deg) scale(1.08); }


/* Petit scintillement sur l'eyebrow */
.eyebrow { transition: transform 0.3s var(--spring); }
.eyebrow:hover { transform: scale(1.04); }

/* Flèche du scroll-cue (réutilisable) */
@keyframes bob { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(6px);} }

/* ════════ MOUVEMENT RÉDUIT ════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-rv] { opacity: 1; transform: none; }
}


/* ════════ BANDEAU STUDIO ════════ */
.studio-band {
  padding: 2.8rem 0;
  background: var(--ink);
  position: relative; overflow: hidden;
}
.studio-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 100% at 50% 50%, rgba(123,158,135,0.10) 0%, transparent 70%);
  pointer-events: none;
}
.studio-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2.5rem; flex-wrap: wrap;
}
.studio-quote {
  display: flex; align-items: flex-start; gap: 1rem;
  flex: 1; min-width: 260px;
}
.studio-mark {
  font-family: var(--head); font-size: 4rem; line-height: 0.8;
  color: var(--peach); opacity: 0.55; flex-shrink: 0; margin-top: 0.3rem;
  user-select: none;
}
.studio-quote p {
  font-family: var(--head); font-weight: 400; font-style: italic;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem); color: rgba(255,255,255,0.90);
  line-height: 1.5;
}
.studio-meta {
  display: flex; flex-direction: column; align-items: flex-end;
  gap: 0.25rem; flex-shrink: 0;
}
.studio-sig {
  font-family: var(--head); font-weight: 700; font-size: 1rem;
  color: var(--peach); letter-spacing: 0.03em;
}
.studio-sub {
  font-size: 0.74rem; color: rgba(255,255,255,0.38);
  letter-spacing: 0.10em; text-transform: uppercase;
}

/* ════════ RÉALISATION — 3 PROMESSES ════════ */
.real-promise {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1.4rem; margin-top: 2.5rem;
}
.rp-item {
  display: flex; align-items: flex-start; gap: 0.85rem;
  background: var(--white); border-radius: var(--rad-s);
  padding: 1.4rem 1.2rem;
  box-shadow: 0 8px 24px rgba(28,33,25,0.06);
  transition: transform 0.35s var(--spring), box-shadow 0.35s;
}
.rp-item:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(28,33,25,0.10); }
.rp-ico { font-size: 1.5rem; flex-shrink: 0; line-height: 1; margin-top: 0.1rem; }
.rp-item p { font-size: 0.88rem; line-height: 1.65; color: var(--ink-soft); }

@media (max-width: 720px) {
  .real-promise { grid-template-columns: 1fr; }
  .studio-inner { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .studio-meta { align-items: flex-start; }
}

/* ════════ CASE CGV (formulaire devis) ════════ */
.field-check { margin-top: .4rem; }
.check-label { display: flex; align-items: flex-start; gap: .75rem; cursor: pointer; font-size: .88rem; color: var(--ink-soft); line-height: 1.55; }
.check-label input[type="checkbox"] { flex-shrink: 0; margin-top: .18rem; width: 1rem; height: 1rem; accent-color: var(--peach); cursor: pointer; }
.check-label a { color: var(--peach); text-decoration: underline; }
.check-label a:hover { color: var(--ink); }

/* ════════════════════════════════════════
   ✦ STUDIO — PARCOURS GUIDÉ ✦
   Remplace le comparateur + configurateur v2
════════════════════════════════════════ */

.stu-section { background: var(--bg-soft); }

/* Shell : 2 colonnes comme cfg2 */
.stu-shell { display: grid; grid-template-columns: 1fr 320px; gap: 3rem; align-items: start; }

/* ── Stepper horizontal ── */
.stu-stepper { display: flex; align-items: center; margin-bottom: 2.4rem; }
.stu-step-item { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; flex-shrink: 0; }
.stu-step-dot {
  width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid var(--line); background: #fff;
  transition: border-color 0.4s var(--spring), background 0.4s var(--spring), box-shadow 0.4s;
}
.stu-step-item.active .stu-step-dot { border-color: var(--peach); background: var(--peach); box-shadow: 0 0 0 4px var(--peach-soft); }
.stu-step-item.done .stu-step-dot { border-color: var(--sage); background: var(--sage); }
.stu-step-item.done { cursor: pointer; }
.stu-step-lbl { font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); white-space: nowrap; font-weight: 500; transition: color 0.3s; }
.stu-step-item.active .stu-step-lbl { color: var(--peach); font-weight: 700; }
.stu-step-item.done .stu-step-lbl { color: var(--sage-d); }
.stu-step-line { flex: 1; height: 1.5px; background: var(--line); margin: 0 0.6rem; margin-bottom: 1rem; transition: background 0.5s var(--ease); min-width: 1.5rem; }
.stu-step-line.done { background: var(--sage); }

/* ── Panels ── */
.stu-panel { }
.stu-panel:not([hidden]) { animation: stuIn 0.55s cubic-bezier(0.22,1,0.36,1) both; }
@keyframes stuIn { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:none; } }

/* ── Étape 1 : Question + checks ── */
.stu-q { font-family: var(--head); font-size: clamp(1.4rem,3vw,2rem); color: var(--ink); margin-bottom: 0.5rem; line-height: 1.15; }
.stu-qsub { font-size: 0.88rem; color: var(--ink-mute); margin-bottom: 1.8rem; }

.stu-checks { display: grid; grid-template-columns: repeat(4,1fr); gap: 0.85rem; margin-bottom: 2rem; }
.stu-checks-accomp { grid-template-columns: repeat(3,1fr); }
.stu-checks-section-lbl { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 0.7rem; font-family: var(--body); }

.stu-chk {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 0.55rem;
  padding: 1.3rem 0.9rem 1rem; background: #fff; border: 2px solid var(--line); border-radius: var(--rad);
  cursor: pointer; text-align: center; width: 100%;
  transition: border-color 0.3s cubic-bezier(0.34,1.56,0.64,1), transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s, background 0.25s;
  box-shadow: 0 4px 14px rgba(28,33,25,0.05);
}
.stu-chk:hover { border-color: var(--sage); transform: translateY(-4px); box-shadow: 0 14px 32px rgba(100,130,100,0.16); }
.stu-chk.on { border-color: var(--sage); background: var(--sage-soft); box-shadow: 0 8px 26px rgba(100,130,100,0.18); transform: translateY(-2px); }
.stu-chk[data-key="base"].on, .stu-chk[data-key="rsvp"].on { border-color: var(--peach); background: var(--peach-soft); cursor: default; }
.stu-chk[data-key="base"].on:hover, .stu-chk[data-key="rsvp"].on:hover { transform: translateY(-2px); }

/* Checkmark top-right */
.stu-chk-sel {
  position: absolute; top: 9px; right: 9px;
  width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line);
  background: transparent; display: flex; align-items: center; justify-content: center;
  color: transparent; transition: all 0.25s;
}
.stu-chk.on .stu-chk-sel { background: var(--sage); border-color: var(--sage); color: #fff; animation: checkPop 0.4s var(--spring) both; }
.stu-chk[data-key="base"].on .stu-chk-sel, .stu-chk[data-key="rsvp"].on .stu-chk-sel { background: var(--peach); border-color: var(--peach); }
.stu-chk-sel svg { width: 10px; height: 10px; }

/* Icône SVG */
.stu-chk-ico { width: 36px; height: 36px; color: var(--ink-mute); transition: color 0.25s, transform 0.3s var(--spring); }
.stu-chk.on .stu-chk-ico { color: var(--sage-d); }
.stu-chk[data-key="base"].on .stu-chk-ico, .stu-chk[data-key="rsvp"].on .stu-chk-ico { color: var(--peach-d); }
.stu-chk:hover .stu-chk-ico { transform: scale(1.12) translateY(-2px); }
.stu-chk-ico svg { width: 100%; height: 100%; }

.stu-chk strong { font-family: var(--head); font-size: 0.85rem; color: var(--ink); line-height: 1.2; }
.stu-chk-tier { font-size: 0.66rem; letter-spacing: 0.02em; color: var(--ink-mute); }
.stu-chk-tier.all { color: var(--sage-d); }
.stu-chk-tier.charme { color: var(--sage-d); }
.stu-chk-tier.prestige { color: var(--peach-d); }

/* ── Navigation entre étapes ── */
.stu-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.stu-nav-right { justify-content: flex-end; }
.stu-back { background: none; border: none; color: var(--ink-mute); font-size: 0.87rem; cursor: pointer; padding: 0; font-family: var(--body); transition: color 0.2s; }
.stu-back:hover { color: var(--ink); }

/* ── Étape 2 : Révélation ── */
.stu-reveal { margin-bottom: 2rem; }

.stu-rev-loader { display: flex; flex-direction: column; align-items: center; gap: 1rem; padding: 2.5rem 1rem; }
.stu-rev-ring { width: 44px; height: 44px; }
.stu-rev-loader p { font-family: var(--head); font-style: italic; color: var(--ink-mute); font-size: 0.95rem; }

/* Carte de révélation — le moment WHAOOOU */
.stu-rev-card {
  position: relative; text-align: center;
  background: linear-gradient(135deg, var(--peach-soft) 0%, rgba(255,255,255,0.95) 55%);
  border: 1.5px solid rgba(184,135,28,0.3); border-radius: 20px;
  padding: 2rem 2.5rem 2.2rem; overflow: hidden;
}
.stu-rev-card.appear { animation: revIn 0.9s cubic-bezier(0.16,1,0.3,1) both; }
@keyframes revIn {
  0%   { opacity:0; transform: scale(0.80) translateY(18px); }
  65%  { transform: scale(1.025) translateY(-3px); }
  100% { opacity:1; transform: none; }
}

/* Halo pulsant derrière la carte */
.stu-rev-glow {
  position: absolute; inset: -2px; border-radius: 22px; pointer-events: none;
  border: 2px solid rgba(184,135,28,0);
  box-shadow: none;
  animation: revGlow 2.8s ease-in-out infinite;
}
@keyframes revGlow {
  0%,100% { border-color: rgba(184,135,28,0); box-shadow: none; }
  50%      { border-color: rgba(184,135,28,0.38); box-shadow: 0 0 38px rgba(184,135,28,0.13), inset 0 0 24px rgba(184,135,28,0.04); }
}

.stu-rev-label {
  font-family: var(--head); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--peach); margin-bottom: 0.6rem; position: relative; z-index: 1;
}
.stu-rev-name {
  font-family: var(--head); font-size: clamp(1.9rem,4vw,3rem); font-weight: 700; color: var(--ink);
  line-height: 1; margin-bottom: 0.5rem; position: relative; z-index: 1;
}
.stu-rev-price {
  display: flex; align-items: baseline; justify-content: center; gap: 0.2rem;
  font-family: var(--head); font-weight: 700; color: var(--peach);
  margin-bottom: 1rem; position: relative; z-index: 1;
}
.stu-rev-price b { font-size: 3.6rem; line-height: 1; }
.stu-rev-price sup { font-size: 1.5rem; font-weight: 600; }
.stu-rev-why {
  font-size: 0.92rem; color: var(--ink-soft); line-height: 1.65;
  max-width: 46ch; margin: 0 auto; position: relative; z-index: 1;
}

/* ── Switch formule (3 cartes compactes) ── */
.stu-switch-lbl { font-size: 0.82rem; color: var(--ink-mute); margin-bottom: 0.9rem; text-align: center; }
.stu-fgrid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin-bottom: 2rem; }

.stu-fcard {
  background: #fff; border: 2px solid var(--line); border-radius: var(--rad);
  padding: 1.4rem 1.2rem 1rem; cursor: pointer; position: relative;
  display: flex; flex-direction: column; gap: 0.85rem; outline: none;
  transition: border-color 0.3s cubic-bezier(0.34,1.56,0.64,1), transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s;
}
.stu-fcard:hover { border-color: var(--sage-soft); transform: translateY(-3px); box-shadow: 0 10px 28px rgba(100,130,100,0.12); }
.stu-fcard.on { border-color: var(--sage); background: linear-gradient(160deg,#f4f9f5,#fff); box-shadow: 0 14px 38px rgba(100,130,100,0.18); transform: translateY(-4px); }
.stu-fcard.rec { border-color: rgba(184,135,28,0.35); }
.stu-fcard.rec.on { border-color: var(--peach); background: linear-gradient(160deg, var(--peach-soft), #fff); box-shadow: 0 14px 38px rgba(184,135,28,0.14); }

.stu-fcard:focus-visible { outline: 2px solid var(--sage); outline-offset: 2px; }

.stu-fbadge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(90deg, var(--peach-d), var(--peach));
  color: #fff; font-size: 0.64rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 3px 12px; border-radius: 50px;
  box-shadow: 0 4px 10px rgba(184,135,28,0.28); white-space: nowrap;
}
.stu-fcard-head { display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem; }
.stu-fname { font-family: var(--head); font-weight: 700; font-size: 0.98rem; color: var(--ink); }
.stu-fprice { font-family: var(--head); font-weight: 700; font-size: 1.05rem; color: var(--peach); white-space: nowrap; }
.stu-flist { list-style: none; display: flex; flex-direction: column; gap: 0.32rem; flex: 1; }
.stu-flist li { font-size: 0.76rem; color: var(--ink-soft); padding-left: 1.1rem; position: relative; line-height: 1.45; }
.stu-flist li::before { content:'✓'; position:absolute; left:0; color:var(--sage); font-weight:800; font-size:0.68rem; top:0.1rem; }

.stu-fcard-cta {
  text-align: center; font-size: 0.76rem; font-family: var(--head); font-weight: 700;
  color: var(--ink-mute); padding: 0.48rem; border-radius: 50px;
  border: 1.5px solid var(--line); transition: all 0.25s;
}
.stu-fcard:hover .stu-fcard-cta { border-color: var(--sage); color: var(--sage); }
.stu-fcard.on .stu-fcard-cta { background: var(--sage); border-color: var(--sage); color: #fff; }
.stu-fcard.on .stu-fcard-cta::before { content:'✓ '; }
.stu-fcard.rec.on .stu-fcard-cta { background: var(--peach); border-color: var(--peach); }

/* Stagger d'apparition des cartes formule */
.stu-fgrid.appear .stu-fcard { animation: fCardIn 0.5s var(--spring) both; }
.stu-fgrid.appear .stu-fcard:nth-child(1) { animation-delay: 0.08s; }
.stu-fgrid.appear .stu-fcard:nth-child(2) { animation-delay: 0.18s; }
.stu-fgrid.appear .stu-fcard:nth-child(3) { animation-delay: 0.28s; }
@keyframes fCardIn { from { opacity:0; transform:translateY(18px); } to { opacity:1; transform:none; } }

/* ── Blocs communs (délai, options) ── */
.stu-block { margin-bottom: 2rem; }
.stu-block-lbl { font-family: var(--head); font-weight: 700; font-size: 1rem; color: var(--ink); margin-bottom: 1rem; }
.stu-opts-grp { margin-bottom: 2rem; }

/* ── Récap sticky ── */
.stu-recap { grid-column: 2; grid-row: 1 / 10; position: sticky; top: 92px; }

/* ── Responsive ── */
@media (max-width: 960px) {
  .stu-shell { grid-template-columns: 1fr; }
  .stu-recap { grid-column: 1; grid-row: auto; position: static; }
  .stu-checks { grid-template-columns: repeat(2,1fr); }
  .stu-fgrid { grid-template-columns: 1fr; }
  .cfg2-opts-2col { grid-template-columns: 1fr !important; }
}
@media (max-width: 600px) {
  /* Les boutons "← retour" et "suivant →" se serraient sur une seule ligne
     (bouton retour écrasé par le CTA sur téléphone) : on les empile, CTA
     pleine largeur au-dessus, retour centré en dessous. */
  .stu-nav { flex-direction: column-reverse; gap: 0.9rem; align-items: stretch; }
  .stu-nav .btn { justify-content: center; }
  .stu-back { text-align: center; padding: 0.4rem 0; }
}
@media (max-width: 480px) {
  .stu-checks { grid-template-columns: repeat(2,1fr); gap: 0.6rem; }
  .stu-chk { padding: 1rem 0.6rem 0.8rem; }
  .stu-chk strong { font-size: 0.78rem; }
}

/* ════════ PAGES LÉGALES (CGV, Mentions, RGPD) ════════ */
.legal-content {
  max-width: 780px; margin: 0 auto;
  font-size: 0.97rem; line-height: 1.85; color: var(--ink);
}
.legal-content h2 {
  font-family: var(--head); font-size: 1.25rem; font-weight: 700;
  color: var(--ink); margin: 2.8rem 0 0.8rem;
  padding-bottom: 0.4rem;
  border-bottom: 1.5px solid var(--line);
}
.legal-content h3 {
  font-family: var(--head); font-size: 1rem; font-weight: 600;
  color: var(--ink); margin: 1.8rem 0 0.5rem;
}
.legal-content p { margin: 0 0 1rem; }
.legal-content ul, .legal-content ol {
  padding-left: 1.4rem; margin: 0 0 1.2rem;
}
.legal-content li { margin-bottom: 0.4rem; }
.legal-content a { color: var(--peach); text-decoration: underline; }
.legal-content a:hover { color: var(--ink); }
.legal-content strong { font-weight: 600; color: var(--ink); }
