/* =================================================================
   Landing MaPrimeAdapt' — adaptation du logement
   DA : "Clair premium" — blanc cassé chaud + bleu confiance + ambre
   ================================================================= */

/* ---------------------------- Tokens ---------------------------- */
:root {
  /* fonds — thème clair chaud */
  --bg:        #f5f3ee;
  --bg-2:      #ffffff;
  --bg-3:      #ece9e1;
  --surface:   #ffffff;
  --surface-2: #f7f5ef;
  --line:      rgba(21, 36, 58, 0.10);
  --line-2:    rgba(21, 36, 58, 0.16);

  /* encre — bleu nuit */
  --ink:       #15243a;
  --ink-soft:  rgba(21, 36, 58, 0.66);
  --ink-faint: rgba(21, 36, 58, 0.46);

  /* accents — bleu confiance + ambre chaud */
  --blue:      #1f6f8b;
  --blue-deep: #155a73;
  --amber:     #e0a458;
  --amber-deep:#cf8f3e;

  /* effets */
  --glow-blue:  rgba(31, 111, 139, 0.20);
  --glow-amber: rgba(224, 164, 88, 0.20);
  --shadow:      0 24px 60px -30px rgba(21, 36, 58, 0.22);
  --shadow-blue: 0 14px 36px -16px rgba(31, 111, 139, 0.34);

  /* typo */
  --font-display: "Clash Display", "Geist", system-ui, sans-serif;
  --font-body:    "General Sans", system-ui, -apple-system, sans-serif;
  --font-mono:    "Space Mono", ui-monospace, monospace;

  /* layout */
  --maxw: 1180px;
  --pad:  clamp(20px, 5vw, 48px);
  --radius:    22px;
  --radius-sm: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: clamp(15px, 1.05vw, 17px);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--blue); color: #ffffff; }

/* ---------------------- Texture & overlays ---------------------- */
.grain {
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: 0.025; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------------------------- Layout ---------------------------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }

.section { padding-block: clamp(78px, 11vh, 140px); position: relative; }
.section--alt {
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(31,111,139,0.05), transparent 60%),
    var(--bg-2);
  border-block: 1px solid var(--line);
}

.section__head { max-width: 740px; margin: 0 auto clamp(44px, 6vw, 68px); text-align: center; }
.section__head--left { margin-inline: 0; text-align: left; }
.section__lead { color: var(--ink-soft); font-size: clamp(16px, 1.4vw, 19px); margin-top: 18px; }

/* ---------------------- Typographie commune --------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--blue);
  padding: 7px 14px; border: 1px solid var(--line-2); border-radius: 100px;
  background: rgba(31,111,139,0.05); margin-bottom: 18px;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--amber);
  box-shadow: 0 0 0 0 var(--glow-amber); animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 var(--glow-amber); }
  70%  { box-shadow: 0 0 0 8px rgba(224,164,88,0); }
  100% { box-shadow: 0 0 0 0 rgba(224,164,88,0); }
}

.section__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(31px, 5vw, 58px); line-height: 1.04;
  letter-spacing: -0.02em;
}
.section__title br { display: block; }
.section__title em { font-style: normal; color: var(--blue); }

/* ---------------------------- Boutons --------------------------- */
.btn {
  --pad-y: 14px; --pad-x: 24px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--pad-y) var(--pad-x);
  font-weight: 600; font-size: 15px; letter-spacing: -0.01em;
  border-radius: 100px; position: relative; isolation: isolate;
  background: var(--blue); color: #ffffff;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s;
  box-shadow: var(--shadow-blue);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -16px rgba(31,111,139,0.46); }
.btn:active { transform: translateY(0); }
.btn__arrow { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--lg { --pad-y: 17px; --pad-x: 30px; font-size: 16px; }
.btn--sm { --pad-y: 10px; --pad-x: 18px; font-size: 14px; }
.btn--block { width: 100%; margin-top: 8px; }
.btn--amber { background: var(--amber); color: #3a2a0c; box-shadow: 0 14px 36px -16px var(--glow-amber); }
.btn--amber:hover { box-shadow: 0 18px 40px -16px rgba(224,164,88,0.5); background: var(--amber-deep); }
.btn--ghost {
  background: transparent; color: var(--ink); border: 1px solid var(--line-2);
  box-shadow: none;
}
.btn--ghost:hover { background: var(--surface-2); border-color: var(--line-2); box-shadow: none; }

/* ============================ NAV ============================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 16px var(--pad);
  transition: background .4s, backdrop-filter .4s, border-color .4s, padding .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(245,243,238,0.82); backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line); padding-block: 11px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: 0.01em; }
.brand__name { line-height: 1.1; }
.brand__name b { font-weight: 600; }
.brand__name span { display: block; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); }
.nav__links { display: flex; gap: 26px; }
.nav__links a { font-size: 14.5px; color: var(--ink-soft); transition: color .25s; position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -4px; height: 1.5px; width: 0; background: var(--blue); transition: width .3s var(--ease); }
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { width: 100%; }
.nav__burger { display: none; width: 42px; height: 42px; border-radius: 11px; border: 1px solid var(--line-2); position: relative; }
.nav__burger span { position: absolute; left: 11px; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav__burger span:first-child { top: 16px; } .nav__burger span:last-child { top: 24px; }
.nav.menu-open .nav__burger span:first-child { transform: translateY(4px) rotate(45deg); }
.nav.menu-open .nav__burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ============================ HERO ============================ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding-top: 124px; padding-bottom: 60px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 25%, transparent 75%);
  opacity: 0.5;
}
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.55; will-change: transform; }
.orb--blue  { width: 46vw; height: 46vw; max-width: 620px; max-height: 620px; top: -12%; right: -8%; background: radial-gradient(circle, var(--glow-blue), transparent 65%); }
.orb--amber { width: 40vw; height: 40vw; max-width: 540px; max-height: 540px; bottom: -16%; left: -10%; background: radial-gradient(circle, var(--glow-amber), transparent 65%); }

.hero__inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(28px, 4vw, 52px); align-items: center;
  max-width: var(--maxw); text-align: left;
}
.hero__copy { max-width: 620px; }

.hero__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(38px, 6vw, 82px); line-height: 1.03; letter-spacing: -0.025em;
  margin: 0 0 24px; text-wrap: balance;
}
.hero__title .line { display: block; }
.hero__title em { font-style: normal; color: var(--blue); }
.hero__sub { font-size: clamp(16px, 1.7vw, 21px); color: var(--ink-soft); max-width: 560px; margin-inline: 0; }
.hero__sub strong { color: var(--ink); font-weight: 600; }

.hero__args { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 10px 24px; margin: 28px 0 32px; }
.hero__args li { display: inline-flex; align-items: center; gap: 9px; font-size: 14.5px; color: var(--ink); font-weight: 500; }
.chk { width: 19px; height: 19px; flex: none; fill: none; stroke: var(--blue); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

.hero__cta { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 14px; }

/* hero — visuel : salle de bain adaptée (douche de plain-pied sécurisée) */
.hero__media { position: relative; width: 100%; max-width: 560px; margin-inline: auto; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%;
  aspect-ratio: 4 / 5; border-radius: var(--radius);
  border: 1px solid var(--line-2); box-shadow: var(--shadow);
}
.hero__media__cap {
  position: absolute; left: 14px; bottom: 14px; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 15px; border-radius: 100px;
  background: rgba(255,255,255,0.88); backdrop-filter: blur(8px);
  border: 1px solid var(--line-2); box-shadow: var(--shadow);
  font-size: 13px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em;
}
.hero__media__cap svg { width: 16px; height: 16px; flex: none; fill: none; stroke: var(--blue); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.hero__badge {
  position: absolute; right: clamp(-8px, 0.5vw, 6px); top: -22px; z-index: 3;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; border-radius: 16px; background: var(--surface);
  border: 1px solid var(--line-2); box-shadow: var(--shadow);
}
.hero__badge b { font-family: var(--font-display); font-size: 26px; color: var(--blue); line-height: 1; }
.hero__badge span { font-size: 12.5px; color: var(--ink-soft); display: block; max-width: 120px; }

/* ---- Placeholder image réutilisable ---- */
.ph {
  position: relative; width: 100%; display: grid; place-items: center; gap: 10px;
  background:
    repeating-linear-gradient(45deg, rgba(31,111,139,0.04) 0 12px, transparent 12px 24px),
    linear-gradient(160deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line-2); border-radius: var(--radius-sm); overflow: hidden;
  color: var(--ink-faint); text-align: center; padding: 18px;
}
.ph svg { width: 34px; height: 34px; fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; opacity: .7; }
.ph span { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }

/* ============================ MARQUEE ============================ */
.marquee { border-block: 1px solid var(--line); background: var(--bg-2); overflow: hidden; padding: 16px 0; }
.marquee__track { display: inline-flex; align-items: center; gap: 28px; white-space: nowrap; animation: marquee 34s linear infinite; }
.marquee span { font-family: var(--font-display); font-weight: 500; font-size: clamp(16px, 2vw, 23px); color: var(--ink-soft); }
.marquee .sep { color: var(--amber); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Profondeur douce des panneaux */
.card, .bento__item, .split__col, .step, .feat, .work, .case, .why {
  box-shadow: 0 1px 2px rgba(21,36,58,0.04), 0 16px 36px -28px rgba(21,36,58,0.22);
}

/* ===================== CARDS génériques ===================== */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  position: relative; padding: 30px 26px 28px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--surface);
  transition: transform .4s var(--ease), border-color .4s, background .4s;
  overflow: hidden;
}
.card::after { content: ""; position: absolute; inset: 0; opacity: 0;
  background: radial-gradient(120% 80% at 0% 0%, rgba(31,111,139,0.08), transparent 60%); transition: opacity .4s; }
.card:hover { transform: translateY(-6px); border-color: var(--line-2); background: var(--surface-2); box-shadow: 0 26px 50px -28px rgba(21,36,58,0.32); }
.card:hover::after { opacity: 1; }
.card__ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: rgba(31,111,139,0.08); border: 1px solid var(--line-2); }
.card__ico svg { width: 25px; height: 25px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-family: var(--font-display); font-weight: 600; font-size: 21px; letter-spacing: -0.01em; margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: 15px; }

.callout {
  display: flex; align-items: center; gap: 18px; margin-top: 26px; padding: 22px 26px;
  border-radius: var(--radius-sm); border: 1px solid var(--line-2);
  background: linear-gradient(100deg, rgba(31,111,139,0.08), rgba(224,164,88,0.06));
}
.callout__ico { width: 30px; height: 30px; flex: none; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.callout p { font-size: 15.5px; color: var(--ink); }
.callout strong { color: var(--blue); }

/* ===================== FEAT (pourquoi agir — 5 icônes) ===================== */
.feats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.feat {
  padding: 26px 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface);
  text-align: center; transition: transform .4s var(--ease), border-color .4s, background .4s;
}
.feat:hover { transform: translateY(-6px); border-color: var(--line-2); background: var(--surface-2); }
.feat__ico { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 16px; display: grid; place-items: center;
  background: rgba(31,111,139,0.08); border: 1px solid var(--line-2); }
.feat__ico svg { width: 28px; height: 28px; fill: none; stroke: var(--blue); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feat h3 { font-family: var(--font-display); font-weight: 600; font-size: 16.5px; letter-spacing: -0.01em; }

/* ===================== WORKS (travaux finançables) ===================== */
.works { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.work { padding: 30px 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface);
  transition: transform .4s var(--ease), border-color .4s, background .4s; }
.work:hover { transform: translateY(-5px); border-color: var(--line-2); background: var(--surface-2); }
.work__top { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.work__ico { width: 48px; height: 48px; flex: none; border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(150deg, rgba(31,111,139,0.12), rgba(224,164,88,0.10)); border: 1px solid var(--line-2); }
.work__ico svg { width: 24px; height: 24px; fill: none; stroke: var(--blue); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.work h3 { font-family: var(--font-display); font-weight: 600; font-size: 21px; }

/* listes à coches (réutilisé works + conditions) */
.ticks li { position: relative; padding: 10px 0 10px 30px; font-size: 15.5px; border-bottom: 1px solid var(--line); }
.ticks li:last-child { border-bottom: none; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; border-radius: 50%; background: rgba(31,111,139,0.12);
  box-shadow: inset 0 0 0 1.5px var(--blue); }
.ticks li::after { content: ""; position: absolute; left: 6px; top: 50%; transform: translateY(-60%) rotate(45deg);
  width: 4px; height: 8px; border: solid var(--blue); border-width: 0 2px 2px 0; }

/* ===================== ÉLIGIBILITÉ (3 profils + conditions) ===================== */
.elig .card { text-align: left; }
.elig .card__ico { background: linear-gradient(150deg, rgba(31,111,139,0.12), rgba(224,164,88,0.12)); }
.conditions {
  margin-top: 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  padding: 24px; border-radius: var(--radius); border: 1px solid var(--line-2);
  background: linear-gradient(100deg, rgba(31,111,139,0.06), rgba(224,164,88,0.05));
}
.condition { display: flex; align-items: center; gap: 13px; font-size: 15.5px; font-weight: 500; }
.condition svg { width: 24px; height: 24px; flex: none; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ===================== MONEY (combien) ===================== */
.money { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 4vw, 52px); align-items: center; }
.money__big { font-family: var(--font-display); font-weight: 600; line-height: 1; letter-spacing: -0.02em; }
.money__big .num { display: block; font-size: clamp(72px, 13vw, 150px); color: var(--blue); }
.money__big .label { display: block; font-size: clamp(18px, 2.2vw, 24px); color: var(--ink); margin-top: 6px; }
.gauge { margin-top: 26px; height: 12px; border-radius: 100px; background: var(--bg-3); overflow: hidden; border: 1px solid var(--line); }
.gauge__fill { height: 100%; width: 0; border-radius: 100px; background: linear-gradient(90deg, var(--blue), var(--amber)); }
.gauge__legend { display: flex; justify-content: space-between; margin-top: 8px; font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-faint); }

.example { padding: clamp(26px, 3vw, 36px); border-radius: var(--radius); border: 1px solid var(--line-2);
  background: linear-gradient(165deg, #ffffff, var(--surface-2)); box-shadow: var(--shadow); }
.example__tag { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); }
.example__rows { margin: 18px 0 24px; }
.example__row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.example__row:last-child { border-bottom: none; }
.example__row span { color: var(--ink-soft); font-size: 15px; }
.example__row b { font-family: var(--font-display); font-weight: 600; font-size: clamp(22px, 3vw, 30px); }
.example__row--aide b { color: var(--blue); }
.example__row--reste b { color: var(--amber-deep); }

/* ===================== STEPS (comment ça marche — 5) ===================== */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; }
.step { padding: 28px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); position: relative; }
.step__n { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; margin-bottom: 18px;
  font-family: var(--font-display); font-weight: 600; font-size: 20px; color: #ffffff;
  background: linear-gradient(140deg, var(--blue), var(--blue-deep)); box-shadow: var(--shadow-blue); }
.step h3 { font-family: var(--font-display); font-weight: 600; font-size: 17.5px; margin-bottom: 7px; letter-spacing: -0.01em; }
.step p { color: var(--ink-soft); font-size: 14px; }

/* ===================== RENO (avant / après — cas vedette + exemples) ===================== */
.reno {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(20px, 3vw, 40px); align-items: center;
  padding: clamp(16px, 2vw, 24px); border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--surface);
  box-shadow: 0 1px 2px rgba(21,36,58,0.04), 0 16px 36px -28px rgba(21,36,58,0.22);
}
.reno__media { border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); }
.reno__media img { width: 100%; height: auto; display: block; }
.reno__panel h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(20px, 2.4vw, 27px); line-height: 1.1; letter-spacing: -0.01em; }
.reno__lead { color: var(--ink-soft); font-size: 15px; margin: 12px 0 20px; }

/* chiffrages réutilisés (montant / aide / reste) */
.case__figs { display: grid; gap: 10px; }
.case__fig { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; font-size: 14px; }
.case__fig span { color: var(--ink-soft); }
.case__fig b { font-family: var(--font-display); font-weight: 600; font-size: 17px; }
.case__fig--aide b { color: var(--blue); }
.case__fig--reste b { color: var(--amber-deep); }
.reno .case__figs { margin-bottom: 20px; }
.reno .case__fig { padding: 12px 0; border-bottom: 1px solid var(--line); }
.reno .case__fig:last-child { border-bottom: none; }
.reno .case__fig b { font-size: clamp(18px, 2.4vw, 22px); }

.reno__more { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.reno__ex {
  padding: 26px 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface);
  box-shadow: 0 1px 2px rgba(21,36,58,0.04), 0 16px 36px -28px rgba(21,36,58,0.22);
  transition: transform .4s var(--ease), border-color .4s, background .4s;
}
.reno__ex:hover { transform: translateY(-5px); border-color: var(--line-2); background: var(--surface-2); }
.reno__ex-head { display: flex; align-items: center; gap: 13px; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.reno__ex-ico { width: 46px; height: 46px; flex: none; border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(150deg, rgba(31,111,139,0.12), rgba(224,164,88,0.10)); border: 1px solid var(--line-2); }
.reno__ex-ico svg { width: 23px; height: 23px; fill: none; stroke: var(--blue); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.reno__ex h4 { font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: -0.01em; }
.reno__ex .case__fig { padding: 9px 0; border-bottom: 1px solid var(--line); }
.reno__ex .case__fig:last-child { border-bottom: none; }

/* ===================== INFOGRAPHIC (référence encadrée) ===================== */
.infographic { margin-top: clamp(28px, 4vw, 40px); display: grid; gap: 20px; }
.infographic__cap { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; max-width: 640px; margin-inline: auto; }
.infographic__cap .eyebrow { margin-bottom: 0; }
.infographic__cap p { color: var(--ink-soft); font-size: clamp(15px, 1.4vw, 17px); }
.infographic__cap strong { color: var(--blue); }
.infographic__frame { position: relative; display: block; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line-2); background: var(--surface); box-shadow: var(--shadow); }
.infographic__frame img { width: 100%; height: auto; display: block; }
.infographic__zoom { position: absolute; right: 14px; bottom: 14px; width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center; background: rgba(255,255,255,0.92); backdrop-filter: blur(6px);
  border: 1px solid var(--line-2); box-shadow: var(--shadow);
  opacity: 0; transform: translateY(6px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.infographic__frame:hover .infographic__zoom { opacity: 1; transform: translateY(0); }
.infographic__zoom svg { width: 21px; height: 21px; fill: none; stroke: var(--blue); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* ===================== WHY (pourquoi nous choisir) ===================== */
.whys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why { padding: 32px 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface);
  transition: transform .4s var(--ease), border-color .4s, background .4s; }
.why:hover { transform: translateY(-6px); border-color: var(--line-2); background: var(--surface-2); }
.why__tag { display: inline-flex; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--blue); padding: 5px 12px; border-radius: 100px; background: rgba(31,111,139,0.08); border: 1px solid var(--line-2); margin-bottom: 16px; }
.why__ico { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px;
  background: rgba(31,111,139,0.08); border: 1px solid var(--line-2); }
.why__ico svg { width: 25px; height: 25px; fill: none; stroke: var(--blue); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.why h3 { font-family: var(--font-display); font-weight: 600; font-size: 22px; margin-bottom: 8px; }
.why p { color: var(--ink-soft); font-size: 15px; }

/* ===================== FORMULAIRE ===================== */
.section--form {
  background:
    radial-gradient(80% 60% at 80% 0%, rgba(31,111,139,0.08), transparent 55%),
    radial-gradient(70% 60% at 10% 100%, rgba(224,164,88,0.08), transparent 55%),
    var(--bg-2);
  border-top: 1px solid var(--line);
}
.form-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.form-intro { position: sticky; top: 110px; }
.form-intro .section__title { margin-top: 8px; }
.form-intro__list { margin: 26px 0; display: grid; gap: 12px; }
.form-intro__list li { display: flex; align-items: center; gap: 11px; font-size: 15.5px; }
.form-intro__legal { font-size: 12.5px; color: var(--ink-faint); border-left: 2px solid var(--line-2); padding-left: 14px; line-height: 1.55; }

.form-card { position: relative; padding: clamp(24px, 3vw, 38px); border-radius: var(--radius);
  border: 1px solid var(--line-2); background: linear-gradient(165deg, #ffffff, var(--surface-2));
  box-shadow: var(--shadow); }

/* toggle profil (Pour moi / Pour un proche) */
.profile-toggle { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
  padding: 6px; border-radius: 100px; border: 1px solid var(--line-2); background: var(--bg-3); margin-bottom: 26px; }
.profile-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.profile-toggle label { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px; border-radius: 100px; font-weight: 600; font-size: 15px; color: var(--ink-soft); transition: color .3s; user-select: none; }
.profile-toggle label svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.profile-toggle__glider { position: absolute; z-index: 1; top: 6px; left: 6px; width: calc(50% - 9px); height: calc(100% - 12px);
  border-radius: 100px; background: linear-gradient(140deg, var(--blue), var(--blue-deep)); box-shadow: var(--shadow-blue);
  transition: transform .4s var(--ease); }
#p-proche:checked ~ .profile-toggle__glider { transform: translateX(calc(100% + 6px)); }
#p-moi:checked ~ label[for="p-moi"], #p-proche:checked ~ label[for="p-proche"] { color: #ffffff; }

/* visibilité Moi / Proche (source de vérité, anti-flash) */
#lead-form:not([data-profil]) .field--proche-only,
#lead-form[data-profil="Pour moi"] .field--proche-only { display: none; }

/* champs */
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label, .field-block__label { font-size: 13px; font-weight: 600; color: var(--ink-soft); letter-spacing: 0.01em; }
.req { color: var(--blue); }

.field input[type="text"], .field input[type="tel"], .field input[type="email"],
.field input[type="number"], .field textarea, .select-wrap select {
  width: 100%; padding: 14px 16px; font-family: inherit; font-size: 15px; color: var(--ink);
  background: #f8f7f2; border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  transition: border-color .25s, box-shadow .25s, background .25s; appearance: none;
}
.field textarea { resize: vertical; min-height: 96px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }
.field input:focus, .field textarea:focus, .select-wrap select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31,111,139,0.16); background: #ffffff; }
.field input.invalid, .field textarea.invalid, .select-wrap select.invalid { border-color: #dc2626; box-shadow: 0 0 0 3px rgba(220,38,38,0.14); }

.select-wrap { position: relative; }
.select-wrap::after { content: ""; position: absolute; right: 16px; top: 50%; width: 9px; height: 9px;
  border-right: 2px solid var(--ink-soft); border-bottom: 2px solid var(--ink-soft); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.select-wrap select { padding-right: 40px; cursor: pointer; }
.select-wrap select option { background: var(--bg-3); color: var(--ink); }

.field-block { margin-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; padding: 10px 16px; font-size: 14px; font-weight: 500; border-radius: 100px;
  border: 1px solid var(--line-2); background: #f3f1ea; color: var(--ink-soft); transition: all .25s; user-select: none; }
.chip span:hover { border-color: var(--blue); color: var(--ink); }
.chip input:checked + span { background: rgba(31,111,139,0.14); border-color: var(--blue); color: var(--blue); }
.chip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(31,111,139,0.2); }

/* consentement */
.consent { display: flex; gap: 13px; margin: 24px 0 4px; cursor: pointer; align-items: flex-start; }
.consent input { position: absolute; opacity: 0; pointer-events: none; }
.consent__box { flex: none; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--line-2);
  display: grid; place-items: center; margin-top: 1px; transition: all .25s; background: #ffffff; }
.consent__box svg { width: 14px; height: 14px; fill: none; stroke: #ffffff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transform: scale(.5); transition: all .2s; }
.consent input:checked + .consent__box { background: var(--blue); border-color: var(--blue); }
.consent input:checked + .consent__box svg { opacity: 1; transform: scale(1); }
.consent input:focus-visible + .consent__box { box-shadow: 0 0 0 3px rgba(31,111,139,0.2); }
.consent input.invalid + .consent__box { border-color: #dc2626; }
.consent__txt { font-size: 12.5px; color: var(--ink-faint); line-height: 1.5; }

.form-error { margin-top: 16px; padding: 12px 16px; border-radius: var(--radius-sm); font-size: 14px;
  background: rgba(220,38,38,0.07); border: 1px solid rgba(220,38,38,0.28); color: #b91c1c; }
.form-card__foot { text-align: center; margin-top: 16px; font-size: 12px; color: var(--ink-faint); }

/* bouton submit loading */
.btn.is-loading { pointer-events: none; opacity: .8; }
.btn.is-loading .btn__label { opacity: .5; }
.btn.is-loading .btn__arrow { animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* success */
.form-success { text-align: center; padding: 30px 10px; }
.form-success__ring { width: 76px; height: 76px; margin: 0 auto 22px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(31,111,139,0.12); border: 1px solid var(--blue); }
.form-success__ring svg { width: 36px; height: 36px; fill: none; stroke: var(--blue); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .6s var(--ease) .15s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.form-success h3 { font-family: var(--font-display); font-weight: 600; font-size: 26px; margin-bottom: 12px; }
.form-success p { color: var(--ink-soft); max-width: 440px; margin: 0 auto 24px; }

/* ===================== FOOTER ===================== */
.footer { border-top: 1px solid var(--line); background: var(--bg); padding-top: 58px; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer__name { display: inline-block; font-family: var(--font-display); font-weight: 600; font-size: 22px; letter-spacing: -0.01em; }
.footer__brand p { color: var(--ink-soft); font-size: 14.5px; max-width: 400px; margin-top: 14px; }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.footer__legal { font-size: 12px; color: var(--ink-faint); line-height: 1.55; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  padding: 22px 0 40px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink-faint); }

/* ===================== Reveal (état initial sous JS) ===================== */
html.gsap-ready [data-reveal], html.gsap-ready [data-reveal-line] { will-change: transform, opacity; }

/* ===================== Responsive ===================== */
@media (max-width: 1080px) {
  .feats { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 980px) {
  .cards-3, .whys { grid-template-columns: 1fr 1fr; }
  .works { grid-template-columns: 1fr; }
  .money { grid-template-columns: 1fr; }
  .conditions { grid-template-columns: 1fr; }
  .form-wrap { grid-template-columns: 1fr; }
  .form-intro { position: static; }
  .reno { grid-template-columns: 1fr; gap: 24px; }

  /* Hero : passage en colonne, texte centré, visuel en dessous */
  .hero__inner { grid-template-columns: 1fr; text-align: center; gap: clamp(30px, 6vw, 44px); }
  .hero__copy { max-width: 640px; margin-inline: auto; }
  .hero__sub { max-width: 600px; margin-inline: auto; }
  .hero__args, .hero__cta { justify-content: center; }
  .hero__media { max-width: 440px; }
}
@media (max-width: 720px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .nav.menu-open .nav__links {
    display: flex; flex-direction: column; gap: 4px; position: absolute; top: 100%; left: 0; right: 0;
    padding: 14px var(--pad) 22px; background: rgba(245,243,238,0.97); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
  }
  .nav.menu-open .nav__links a { padding: 12px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .feats, .cards-3, .whys, .steps, .reno__more { grid-template-columns: 1fr; }
  .field-grid { grid-template-columns: 1fr; }
  .footer__inner, .footer__bottom { grid-template-columns: 1fr; }
  .hero { padding-top: 104px; }
  .hero__badge { top: -18px; padding: 12px 15px; }
  .hero__badge b { font-size: 23px; }
}

/* ===================== Reduced motion ===================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .marquee__track { animation: none; }
  html.gsap-ready [data-reveal], html.gsap-ready [data-reveal-line] { opacity: 1 !important; transform: none !important; }
}
