/* =========================================================
   Débarras Vendée — feuille de style
   Palette : bleu nuit + vert forêt + gris-vert clair.
   Polices : Bricolage Grotesque (titres) / Inter (texte).
   ========================================================= */

:root {
  --navy: #0f2438;
  --navy-2: #163350;
  --navy-3: #0a1a29;
  --ink: #17212b;
  --muted: #5a6977;
  --line: #e2e8e4;
  --sand: #f3f7f2;
  --sand-2: #e3eee5;
  --cream: #fbfcf8;
  --white: #ffffff;
  --amber: #2f8a55;       /* vert forêt (accents, fonds) — nom historique */
  --amber-2: #1f5f3c;     /* vert forêt profond (textes sur fond clair) */
  --amber-light: #6fd49a; /* vert clair (accents sur fond bleu nuit) */
  --green: #2f8a55;
  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(15,36,56,.06), 0 10px 30px rgba(15,36,56,.08);
  --shadow-lg: 0 2px 6px rgba(15,36,56,.06), 0 30px 60px rgba(15,36,56,.16);
  --font-title: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-title); line-height: 1.08; margin: 0; letter-spacing: -.025em; font-weight: 700; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--amber-light); color: var(--navy); }
.link { color: var(--amber-2); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }

.container { width: min(var(--container), 100% - 2.5rem); margin-inline: auto; }
.section { padding-block: clamp(4.5rem, 9vw, 8rem); overflow-x: clip; }
.section--sand { background: var(--sand); }
.section--navy { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.section--navy::before { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 400px at 85% 0%, rgba(111,212,154,.14), transparent 60%), radial-gradient(600px 400px at 0% 100%, rgba(47,138,85,.18), transparent 60%); pointer-events: none; }
.section--navy > .container { position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--amber-2);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; background: var(--amber); border-radius: 50%; box-shadow: 0 0 0 4px rgba(47,138,85,.15); }
.section--navy .eyebrow { color: var(--amber-light); }
.section--navy .eyebrow::before { background: var(--amber-light); box-shadow: 0 0 0 4px rgba(111,212,154,.18); }
.section-head { max-width: 700px; margin-bottom: clamp(2.4rem, 5vw, 4rem); }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin-top: .9rem; }
.section-head p { margin-top: 1.1rem; color: var(--muted); font-size: 1.1rem; }
.section--navy .section-head p { color: rgba(255,255,255,.72); }
.section-head--center { margin-inline: auto; text-align: center; }
.why__title { font-size: clamp(2rem, 4.2vw, 2.9rem); margin-top: .9rem; }

/* ---------- Boutons ---------- */
.btn {
  --bg: var(--navy); --fg: #fff;
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.5rem; border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg); font-weight: 700; font-size: .98rem;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s;
  white-space: nowrap;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(15,36,56,.22); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0) scale(.98); }
.btn:disabled { opacity: .45; pointer-events: none; }
.btn--amber { --bg: var(--amber); --fg: #fff; }
.btn--amber:hover { background: #35995f; box-shadow: 0 12px 28px rgba(47,138,85,.4); }
.btn--ghost { --bg: transparent; --fg: var(--navy); box-shadow: inset 0 0 0 2px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 2px var(--navy); }
.btn--ghost-dark { --bg: var(--sand); --fg: var(--navy); }
.btn--light { --bg: #fff; --fg: var(--navy); }
.btn--lg { padding: 1.1rem 1.9rem; font-size: 1.04rem; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 1000; background: var(--navy);
  display: grid; place-items: center;
  transition: clip-path .9s var(--ease), visibility .9s;
  clip-path: inset(0 0 0 0);
}
.loader.is-done { clip-path: inset(0 0 100% 0); visibility: hidden; }
.loader__img { width: min(130px, 30vw); height: auto; animation: loaderPulse 1.2s ease-in-out infinite; }
@keyframes loaderPulse { 0%, 100% { opacity: .55; transform: scale(.97);} 50% { opacity: 1; transform: scale(1);} }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding-block: 1rem;
  transition: padding .4s var(--ease), background .4s, box-shadow .4s;
}
.header .container { display: flex; align-items: center; gap: 1.5rem; }
.header.is-scrolled { padding-block: .55rem; background: rgba(255,255,255,.88); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(15,36,56,.06); }
.logo { display: flex; align-items: center; gap: .7rem; font-family: var(--font-title); font-weight: 800; font-size: 1.18rem; letter-spacing: -.02em; color: var(--navy); line-height: 1.1; }
.logo__mark { width: 52px; height: 52px; flex: none; object-fit: contain; }
.logo__mark--light { display: none; }
.logo small { display: block; white-space: nowrap; font-family: var(--font-body); font-size: .66rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--amber-2); line-height: 1; margin-top: .3rem; }
.nav { margin-left: auto; display: flex; gap: .15rem; }
.nav a { position: relative; white-space: nowrap; padding: .5rem .85rem; font-weight: 600; font-size: .93rem; color: var(--navy); border-radius: 999px; transition: color .3s, background .3s; }
.nav a:hover { background: var(--sand); }
.nav a.is-active { background: var(--sand-2); }
.header__cta { display: flex; align-items: center; gap: .6rem; }
.header__phone { display: inline-flex; white-space: nowrap; align-items: center; gap: .45rem; font-weight: 700; color: var(--navy); padding: .6rem .9rem; border-radius: 999px; transition: background .3s; }
.header__phone:hover { background: var(--sand); }
.header__phone svg { width: 18px; height: 18px; color: var(--amber); }
.burger { display: none; width: 46px; height: 46px; border: 0; background: transparent; border-radius: 12px; margin-left: auto; position: relative; z-index: 2; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .4s var(--ease), opacity .3s, top .4s var(--ease), background .3s; }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 28px; }
.burger.is-open span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(7.5rem, 13vw, 9.5rem); padding-bottom: clamp(3.5rem, 7vw, 6rem); overflow: hidden; background: linear-gradient(180deg, var(--cream) 0%, var(--sand) 100%); }
.hero__grid-bg { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(15,36,56,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(15,36,56,.05) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 30% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 30% 40%, #000 20%, transparent 75%); }
.hero .container { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; position: relative; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: .55rem; padding: .45rem .95rem .45rem .6rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: .82rem; font-weight: 600; color: var(--navy); box-shadow: var(--shadow); }
.hero__eyebrow .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); animation: ping 1.8s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(47,138,85,.5);} 100% { box-shadow: 0 0 0 12px rgba(47,138,85,0);} }
.hero h1 { font-size: clamp(2.7rem, 6.2vw, 5rem); font-weight: 800; margin-top: 1.3rem; color: var(--navy); letter-spacing: -.035em; line-height: 1.02; }
.hero h1 .accent { position: relative; display: inline-block; color: var(--amber); z-index: 0; }
.hero h1 .accent::after { content: ""; position: absolute; left: -.04em; right: -.04em; bottom: .04em; height: .22em; background: rgba(111,212,154,.45); border-radius: 6px; z-index: -1; transform: scaleX(0); transform-origin: left; animation: underline 1s var(--ease) 1.2s forwards; }
@keyframes underline { to { transform: scaleX(1);} }
.hero__lead { margin-top: 1.4rem; font-size: 1.15rem; color: var(--muted); max-width: 540px; }

.hero__picker { margin-top: 1.9rem; }
.hero__picker-label { font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); opacity: .7; margin-bottom: .7rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { display: inline-flex; align-items: center; gap: .5rem; padding: .62rem 1rem .62rem .8rem; background: #fff; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 600; font-size: .92rem; color: var(--navy); transition: border-color .3s, background .3s, color .3s, transform .35s var(--ease), box-shadow .35s; }
.chip svg { width: 18px; height: 18px; color: var(--amber); transition: color .3s; }
.chip:hover { border-color: var(--navy); transform: translateY(-2px); box-shadow: var(--shadow); }
.chip:hover svg { color: var(--navy); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

/* animation d'entrée du hero */
.hero [data-hero] { opacity: 0; transform: translateY(26px); animation: heroIn 1s var(--ease) forwards; }
.hero [data-hero="1"] { animation-delay: .15s; } .hero [data-hero="4"] { animation-delay: .75s; }
.hero [data-hero="5"] { animation-delay: .9s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

.hero__visual { position: relative; opacity: 0; animation: heroIn 1.2s var(--ease) .45s forwards; }
.hero__frame { position: relative; border-radius: 32px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 4.7; transform: rotate(1.2deg); }
.hero__frame img { width: 100%; height: 112%; object-fit: cover; will-change: transform; }
.hero__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,36,56,0) 60%, rgba(15,36,56,.35)); }
.hero__card { position: absolute; display: flex; align-items: center; gap: .8rem; background: #fff; border-radius: 18px; padding: .85rem 1.1rem .85rem .85rem; box-shadow: var(--shadow-lg); animation: cardFloat 6s ease-in-out infinite; }
.hero__card strong { display: block; font-family: var(--font-title); font-size: 1.12rem; color: var(--navy); line-height: 1.1; }
.hero__card span { font-size: .8rem; color: var(--muted); }
.hero__card--1 { top: 9%; left: -9%; }
.hero__card--2 { bottom: 15%; right: -7%; animation-delay: -3s; }
.hero__card .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--sand-2); color: var(--amber-2); flex: none; }
.hero__card .ico svg { width: 22px; height: 22px; }
@keyframes cardFloat { 0%, 100% { transform: translateY(0);} 50% { transform: translateY(-10px);} }
.hero__tag { position: absolute; left: 1.4rem; bottom: 1.3rem; color: #fff; font-family: var(--font-title); font-size: 1.05rem; font-weight: 600; text-shadow: 0 2px 12px rgba(0,0,0,.35); transform: rotate(1.2deg); }
.hero__tag b { color: var(--amber-light); }

/* ---------- Bandeau villes ---------- */
.marquee { background: var(--navy); color: #fff; padding-block: 1.05rem; overflow: hidden; }
.marquee__track { display: flex; width: max-content; gap: 3rem; animation: marquee 45s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { display: inline-flex; align-items: center; gap: .9rem; font-family: var(--font-title); font-weight: 600; font-size: 1.02rem; white-space: nowrap; opacity: .9; }
.marquee__track span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--amber-light); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Engagements ---------- */
.pledges { background: #fff; border-bottom: 1px solid var(--line); }
.pledges .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.pledge { display: flex; align-items: center; gap: 1rem; padding: 2rem 1.4rem; border-right: 1px solid var(--line); }
.pledge:first-child { padding-left: 0; }
.pledge:last-child { border-right: 0; }
.pledge__big { font-family: var(--font-title); font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--amber); letter-spacing: -.03em; line-height: 1; white-space: nowrap; }
.pledge__txt { font-size: .9rem; color: var(--muted); line-height: 1.35; font-weight: 500; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.service {
  position: relative; display: flex; flex-direction: column; gap: .9rem; padding: 1.8rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s;
  overflow: hidden;
}
.service::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 0%), rgba(47,138,85,.12), transparent 45%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service:hover::before { opacity: 1; }
.service__icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--sand); color: var(--amber-2); transition: background .4s, color .4s, transform .5s var(--ease); }
.service__icon svg { width: 26px; height: 26px; }
.service:hover .service__icon { background: var(--navy); color: var(--amber-light); transform: rotate(-6deg) scale(1.05); }
.service h3 { font-size: 1.3rem; }
.service p { color: var(--muted); font-size: .97rem; flex: 1; }
.service__link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--navy); font-size: .92rem; }
.service__link svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.service:hover .service__link svg { transform: translateX(4px); }
.service--photo { padding: 0; grid-row: span 3; min-height: 100%; }
.service--photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform 1.2s var(--ease); }
.service--photo:hover img { transform: scale(1.06); }
.service--photo .service__body { position: relative; z-index: 1; margin-top: auto; padding: 1.8rem; color: #fff; background: linear-gradient(180deg, rgba(15,36,56,0), rgba(15,36,56,.92) 55%); padding-top: 5rem; }
.service--photo .service__body h3 { color: #fff; font-size: 1.6rem; }
.service--photo .service__body p { color: rgba(255,255,255,.82); margin-top: .5rem; }
.service--photo .service__link { color: var(--amber-light); margin-top: .9rem; }

/* ---------- Estimateur ---------- */
.estimator { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.estimator__intro h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin-top: .9rem; }
.estimator__intro > p { margin-top: 1.1rem; color: rgba(255,255,255,.75); font-size: 1.08rem; }
.estimator__notes { margin-top: 1.6rem; display: grid; gap: .6rem; }
.estimator__notes li { display: flex; gap: .6rem; align-items: flex-start; font-size: .92rem; color: rgba(255,255,255,.6); }
.estimator__notes li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: .55rem; border-radius: 50%; background: var(--amber-light); }
.estimator__panel { background: #fff; color: var(--ink); border-radius: 28px; padding: clamp(1.3rem, 3vw, 2rem); box-shadow: 0 40px 80px rgba(0,0,0,.35); }
.est-rows { display: grid; gap: .35rem; }
.est-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem .9rem; border-radius: 14px; transition: background .3s; }
.est-row:hover { background: var(--sand); }
.est-row.has-value { background: var(--sand); }
.est-row__label strong { display: block; font-family: var(--font-title); font-size: 1.05rem; color: var(--navy); font-weight: 700; }
.est-row__label span { font-size: .82rem; color: var(--muted); }
.stepper { display: flex; align-items: center; gap: .25rem; flex: none; background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: .2rem; }
.stepper button { width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--sand); color: var(--navy); font-size: 1.2rem; font-weight: 700; line-height: 1; display: grid; place-items: center; transition: background .25s, color .25s, transform .25s var(--ease); }
.stepper button:hover { background: var(--navy); color: #fff; }
.stepper button:active { transform: scale(.9); }
.stepper output { min-width: 1.8rem; text-align: center; font-family: var(--font-title); font-weight: 800; font-size: 1.1rem; color: var(--navy); }
.est-row.has-value .stepper { border-color: var(--amber); }
.est-level { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: 1.1rem; padding: 1rem .9rem 0; border-top: 1px solid var(--line); }
.est-level legend { float: left; font-size: .85rem; font-weight: 700; color: var(--muted); margin-right: .4rem; padding: 0; }
.est-level label, .pills label { position: relative; }
.est-level input, .pills input, .type-card input { position: absolute; opacity: 0; pointer-events: none; }
.est-level span, .pills span { display: inline-block; padding: .5rem .95rem; border-radius: 999px; border: 1.5px solid var(--line); font-size: .88rem; font-weight: 600; color: var(--navy); cursor: pointer; transition: all .3s var(--ease); }
.est-level input:checked + span, .pills input:checked + span { background: var(--navy); color: #fff; border-color: var(--navy); }
.est-level input:focus-visible + span, .pills input:focus-visible + span, .type-card input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
.est-result { margin-top: 1.2rem; padding: 1.3rem; background: var(--navy); color: #fff; border-radius: 20px; }
.est-result__gauge { height: 8px; border-radius: 999px; background: rgba(255,255,255,.12); overflow: hidden; }
.est-result__fill { height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--amber), var(--amber-light)); transition: width .8s var(--ease); }
.est-result__nums { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-top: 1rem; }
.est-result__big { font-family: var(--font-title); font-weight: 800; font-size: clamp(2.6rem, 6vw, 3.4rem); line-height: 1; letter-spacing: -.04em; color: var(--amber-light); }
.est-result__mid { display: block; font-family: var(--font-title); font-weight: 700; font-size: 1.35rem; line-height: 1.1; text-align: right; }
.est-result__unit { display: block; font-size: .82rem; color: rgba(255,255,255,.6); margin-top: .2rem; }
.est-result__nums > div:last-child .est-result__unit { text-align: right; }
.est-result__cta { width: 100%; margin-top: 1.1rem; }

/* ---------- Étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; position: relative; }
.steps__line { position: absolute; top: 30px; left: 16%; right: 16%; height: 2px; background: var(--line); }
.steps__line span { display: block; height: 100%; width: 0; background: var(--amber); transition: width 1.6s var(--ease) .3s; }
.steps.is-visible .steps__line span { width: 100%; }
.step { position: relative; text-align: center; padding: 0 1rem; }
.step__num { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 1.4rem; background: var(--navy); color: #fff; font-family: var(--font-title); font-weight: 800; font-size: 1.35rem; box-shadow: 0 0 0 8px #fff, 0 0 0 9px var(--line); position: relative; transition: background .4s, transform .5s var(--ease); }
.step:hover .step__num { background: var(--amber); transform: scale(1.08); }
.step h3 { font-size: 1.35rem; margin-bottom: .6rem; }
.step p { color: var(--muted); max-width: 330px; margin-inline: auto; }

/* ---------- Tri / flux ---------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; counter-reset: flow; }
.flow__item { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem 1.5rem; transition: transform .5s var(--ease), box-shadow .5s; }
.flow__item:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.flow__item::after { counter-increment: flow; content: "0" counter(flow); position: absolute; top: 1.3rem; right: 1.4rem; font-family: var(--font-title); font-weight: 800; font-size: 1rem; color: var(--sand-2); }
.flow__ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 1.2rem; }
.flow__ico svg { width: 26px; height: 26px; }
.flow__ico--a { background: #fdf3e3; color: #b26a12; }
.flow__ico--b { background: #e8f0fb; color: #2a5a9a; }
.flow__ico--c { background: #fde9ec; color: #b63a52; }
.flow__ico--d { background: var(--sand-2); color: var(--amber-2); }
.flow__item h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.flow__item p { color: var(--muted); font-size: .95rem; }

/* ---------- Pour qui ---------- */
.why { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.why--solo { grid-template-columns: 1fr; }
.why--solo .section-head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.why--solo .why__list { grid-template-columns: 1fr 1fr; margin-top: 0; }
@media (max-width: 700px) { .why--solo .why__list { grid-template-columns: 1fr; } }
.why__media { position: relative; }
.why__media img { object-position: center 70%; border-radius: 28px; box-shadow: var(--shadow-lg); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.why__badge { position: absolute; right: -1.2rem; bottom: 2.5rem; background: var(--navy); color: #fff; padding: 1rem 1.3rem; border-radius: 18px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: .9rem; }
.why__badge svg { width: 30px; height: 30px; color: var(--amber-light); }
.why__badge strong { display: block; font-family: var(--font-title); font-size: 1.1rem; line-height: 1.1; }
.why__badge span { font-size: .8rem; opacity: .75; }
.why__list { display: grid; gap: .9rem; margin-top: 2rem; }
.why__item { display: flex; gap: 1rem; padding: 1.1rem 1.2rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); transition: transform .4s var(--ease), box-shadow .4s, border-color .3s; }
.why__item:hover { transform: translateX(6px); box-shadow: var(--shadow); border-color: transparent; }
.why__item .ico { width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--sand); display: grid; place-items: center; color: var(--amber-2); }
.why__item .ico svg { width: 22px; height: 22px; }
.why__item h4 { font-size: 1.1rem; margin-bottom: .2rem; }
.why__item p { font-size: .93rem; color: var(--muted); }

/* ---------- Zones ---------- */
.zones { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.zones__lead { margin-top: 1rem; color: var(--muted); font-size: 1.06rem; }
.radar { position: relative; aspect-ratio: 1; max-width: 440px; width: 100%; margin-inline: auto; display: grid; place-items: center; }
.radar__ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(15,36,56,.14); animation: radar 4.5s var(--ease) infinite; }
.radar__ring:nth-child(2) { animation-delay: 1.5s; } .radar__ring:nth-child(3) { animation-delay: 3s; }
@keyframes radar { 0% { transform: scale(.25); opacity: .9; } 100% { transform: scale(1); opacity: 0; } }
.radar__sweep { position: absolute; inset: 4%; border-radius: 50%; background: conic-gradient(from 0deg, rgba(47,138,85,.22), transparent 25%); animation: sweep 6s linear infinite; }
@keyframes sweep { to { transform: rotate(360deg); } }
.radar__core { position: relative; width: 56%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #fff, var(--sand-2)); box-shadow: var(--shadow-lg); display: grid; place-items: center; text-align: center; }
.radar__core strong { font-family: var(--font-title); font-size: clamp(3rem, 8vw, 5rem); font-weight: 800; color: var(--navy); line-height: 1; letter-spacing: -.04em; }
.radar__core span { display: block; font-size: .85rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--amber-2); margin-top: .3rem; }
.radar__pin { position: absolute; width: 14px; height: 14px; border-radius: 50% 50% 50% 0; background: var(--amber); transform: rotate(-45deg); box-shadow: 0 4px 10px rgba(47,138,85,.5); animation: pinDrop .8s var(--ease) both; }
.radar__pin::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: #fff; }
.radar__pin i { position: absolute; left: 50%; top: 50%; transform: rotate(45deg) translate(10px, -26px); white-space: nowrap; font-style: normal; font-size: .72rem; font-weight: 700; color: var(--navy); background: #fff; padding: .15rem .5rem; border-radius: 999px; box-shadow: var(--shadow); }
@keyframes pinDrop { from { transform: rotate(-45deg) translate(-20px, 20px) scale(0); opacity: 0; } to { transform: rotate(-45deg); opacity: 1; } }
.cities { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.8rem; }
.cities li { padding: .5rem .95rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: .88rem; font-weight: 600; color: var(--navy); transition: background .3s, color .3s, transform .3s var(--ease); }
.cities li:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }
.zones__more { margin-top: 1.4rem; color: var(--muted); font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.faq-wrap .section-head { position: sticky; top: 110px; margin-bottom: 0; }
.faq { display: grid; gap: .7rem; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; transition: box-shadow .4s, border-color .3s; }
.faq__item.is-open { box-shadow: var(--shadow); border-color: transparent; }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 1.4rem; border: 0; background: transparent; text-align: left; font-family: var(--font-title); font-weight: 700; font-size: 1.08rem; color: var(--navy); }
.faq__q .plus { width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--sand); display: grid; place-items: center; position: relative; transition: background .3s, transform .4s var(--ease); }
.faq__q .plus::before, .faq__q .plus::after { content: ""; position: absolute; background: var(--navy); border-radius: 2px; transition: transform .4s var(--ease), background .3s; }
.faq__q .plus::before { width: 12px; height: 2px; } .faq__q .plus::after { width: 2px; height: 12px; }
.faq__item.is-open .plus { background: var(--amber); transform: rotate(180deg); }
.faq__item.is-open .plus::before, .faq__item.is-open .plus::after { background: #fff; }
.faq__item.is-open .plus::after { transform: scaleY(0); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 1.4rem 1.3rem; color: var(--muted); }

/* ---------- Contact + formulaire en étapes ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact__info { display: grid; gap: .8rem; margin-top: 2rem; }
.contact__row { display: flex; gap: 1rem; align-items: center; padding: .95rem 1.2rem; background: #fff; border-radius: var(--radius-sm); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
a.contact__row:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.contact__row .ico { width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--navy); color: var(--amber-light); display: grid; place-items: center; }
.contact__row .ico svg { width: 22px; height: 22px; }
.contact__row strong { display: block; font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.contact__row .val { font-weight: 700; color: var(--navy); font-size: 1.04rem; word-break: break-word; }

.form { background: #fff; border-radius: 28px; padding: clamp(1.4rem, 3.5vw, 2.4rem); box-shadow: var(--shadow-lg); border: 1px solid var(--line); position: relative; overflow: hidden; }
.wizard__progress { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; padding-bottom: 1rem; margin-bottom: 1.6rem; font-size: .8rem; font-weight: 700; color: var(--muted); }
.wizard__progress::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; border-radius: 4px; background: var(--sand-2); }
.wizard__progress span { transition: color .3s; }
.wizard__progress span.is-active, .wizard__progress span.is-done { color: var(--navy); }
.wizard__bar { position: absolute; left: 0; bottom: 0; height: 4px; border-radius: 4px; width: 33.33%; background: var(--amber); transition: width .6s var(--ease); }
.wizard__title { font-family: var(--font-title); font-weight: 700; font-size: 1.45rem; color: var(--navy); margin-bottom: 1.2rem; padding: 0; letter-spacing: -.02em; }
.js .wizard__step { display: none; }
.js .wizard__step.is-active { display: block; animation: stepIn .5s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
.type-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.type-card { position: relative; }
.type-card span { display: flex; flex-direction: column; align-items: flex-start; gap: .7rem; height: 100%; padding: 1rem; border: 1.5px solid var(--line); border-radius: 16px; font-weight: 700; font-size: .93rem; color: var(--navy); line-height: 1.25; cursor: pointer; transition: border-color .3s, background .3s, transform .35s var(--ease), box-shadow .35s; }
.type-card svg { width: 26px; height: 26px; color: var(--amber); }
.type-card:hover span { border-color: var(--navy); transform: translateY(-2px); }
.type-card input:checked + span { border-color: var(--amber); background: var(--sand); box-shadow: 0 0 0 3px rgba(47,138,85,.18); }
.type-grid.is-invalid .type-card span { border-color: #d6455d; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .4rem; }
.field--full { grid-column: 1 / -1; }
.field label, .field__label { font-size: .85rem; font-weight: 700; color: var(--navy); }
.field .opt { font-weight: 500; color: var(--muted); }
.field input, .field textarea { width: 100%; padding: .9rem 1rem; border: 1.5px solid var(--line); border-radius: 12px; background: var(--cream); font: inherit; color: var(--ink); transition: border-color .3s, box-shadow .3s, background .3s; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--amber); box-shadow: 0 0 0 4px rgba(47,138,85,.18); background: #fff; }
.field input.is-invalid { border-color: #d6455d; }
.field textarea { min-height: 110px; resize: vertical; }
.pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .85rem; color: var(--muted); margin-top: 1.1rem; }
.check input { margin-top: .2rem; accent-color: var(--amber); width: 18px; height: 18px; flex: none; }
.check.is-invalid span { color: #d6455d; }
.wizard__nav { display: flex; gap: .7rem; margin-top: 1.6rem; }
.wizard__nav .wizard__next, .wizard__nav .form__submit { flex: 1; }
.wizard__nav [hidden] { display: none; }
.form__hint { text-align: center; margin-top: .9rem; font-size: .84rem; color: var(--muted); }
.form__success { position: absolute; inset: 0; background: #fff; display: grid; place-items: center; text-align: center; padding: 2rem; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .6s var(--ease); }
.form.is-sent .form__success { opacity: 1; visibility: visible; transform: none; }
.form__success .check-anim { width: 84px; height: 84px; border-radius: 50%; background: var(--green); display: grid; place-items: center; margin: 0 auto 1.2rem; animation: pop .6s var(--ease); }
.form__success .check-anim svg { width: 44px; height: 44px; color: #fff; stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .8s var(--ease) .3s forwards; }
@keyframes pop { from { transform: scale(.4); opacity: 0;} to { transform: scale(1); opacity: 1;} }
@keyframes draw { to { stroke-dashoffset: 0; } }
.form__success h3 { font-size: 1.6rem; }
.form__success p { color: var(--muted); margin: .6rem auto 1.4rem; max-width: 380px; }
.form__success .btn--light { box-shadow: inset 0 0 0 2px var(--line); }

/* ---------- CTA finale ---------- */
.cta-wrap { padding-top: 0; }
.cta-band { position: relative; overflow: hidden; background: var(--navy); color: #fff; border-radius: 32px; padding: clamp(2.8rem, 6vw, 5rem); text-align: center; }
.cta-band::before { content: ""; position: absolute; width: 640px; height: 640px; border-radius: 50%; background: radial-gradient(circle, rgba(111,212,154,.28), transparent 60%); top: -320px; right: -200px; animation: float 10s ease-in-out infinite; }
.cta-band::after { content: ""; position: absolute; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(47,138,85,.3), transparent 60%); bottom: -300px; left: -150px; animation: float 12s ease-in-out infinite reverse; }
@keyframes float { 0%, 100% { transform: translate(0,0); } 50% { transform: translate(-20px, 30px); } }
.cta-band h2 { font-size: clamp(2rem, 4.6vw, 3.3rem); position: relative; z-index: 1; }
.cta-band p { position: relative; z-index: 1; margin-top: .9rem; color: rgba(255,255,255,.75); font-size: 1.08rem; }
.cta-band .actions { position: relative; z-index: 1; display: flex; justify-content: center; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-3); color: rgba(255,255,255,.72); padding: 4.5rem 0 2rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2rem; }
.footer .logo { color: #fff; }
.footer .logo small { color: var(--amber-light); }
.footer p { font-size: .92rem; margin-top: 1rem; max-width: 380px; }
.footer h4 { color: #fff; font-family: var(--font-body); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; }
.footer li { margin-bottom: .55rem; font-size: .93rem; }
.footer a { transition: color .3s; }
.footer a:hover { color: var(--amber-light); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem; color: rgba(255,255,255,.5); }

/* ---------- WhatsApp flottant ---------- */
.wa-float { position: fixed; left: 1.2rem; bottom: 1.2rem; z-index: 80; display: flex; align-items: center; gap: .6rem; padding: .55rem 1.1rem .55rem .55rem; background: #fff; color: var(--navy); border-radius: 999px; box-shadow: var(--shadow-lg); font-weight: 700; font-size: .88rem; opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .5s var(--ease); }
.wa-float svg { width: 38px; height: 38px; padding: 8px; border-radius: 50%; background: #25d366; color: #fff; flex: none; }
.wa-float.is-visible { opacity: 1; visibility: visible; transform: none; }
.wa-float:hover { transform: translateY(-3px); }

/* ---------- Barre mobile ---------- */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none; gap: .5rem; padding: .65rem .8rem calc(.65rem + env(safe-area-inset-bottom)); background: rgba(255,255,255,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
.mobile-bar .btn { flex: 1; padding: .85rem .6rem; font-size: .92rem; gap: .4rem; }
.mobile-bar .btn--amber { flex: 1.4; }

/* ---------- Bouton retour haut ---------- */
.to-top { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 80; width: 48px; height: 48px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); background: var(--navy); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .5s var(--ease); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Reveal au scroll ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal--left { transform: translateX(-40px); }
.reveal--right { transform: translateX(40px); }
.reveal--scale { transform: scale(.94); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Texte animé mot par mot ---------- */
.split-words .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding: 0 .04em .14em; margin: 0 -.04em -.14em; }
.split-words .wi { display: inline-block; transform: translateY(115%); opacity: 0; transition: transform .9s var(--ease), opacity .5s; transition-delay: calc(var(--i) * 55ms + var(--base, 0ms)); }
.split-words.is-inview .wi { transform: none; opacity: 1; }
.split-fade .wi { display: inline-block; opacity: 0; transform: translateY(8px); transition: opacity .55s, transform .7s var(--ease); transition-delay: calc(var(--i) * 14ms + var(--base, 0ms)); }
.split-fade.is-inview .wi { opacity: 1; transform: none; }

/* ---------- Page mentions légales ---------- */
.legal { padding-top: clamp(7rem, 14vw, 9rem); padding-bottom: 5rem; max-width: 780px; }
.legal h1 { font-size: clamp(2.2rem, 4.4vw, 3rem); color: var(--navy); }
.legal h2 { font-size: 1.35rem; margin-top: 2.2rem; color: var(--navy); }
.legal p { margin-top: .8rem; color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .service--photo { grid-row: auto; grid-column: 1 / -1; min-height: 360px; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .pledges .container { grid-template-columns: repeat(2, 1fr); }
  .pledge { border-right: 0; border-bottom: 1px solid var(--line); padding-left: 0; }
  .pledge:nth-child(odd) { border-right: 1px solid var(--line); }
  .pledge:nth-child(even) { padding-left: 1.4rem; }
  .pledge:nth-last-child(-n+2) { border-bottom: 0; }
  .estimator, .faq-wrap { grid-template-columns: 1fr; }
  .faq-wrap .section-head { position: static; }
}
@media (max-width: 900px) {
  .nav, .header__cta { display: none; }
  .burger { display: block; }
  .nav.is-open { display: flex; flex-direction: column; position: fixed; inset: 0; background: var(--navy); padding: 6.5rem 2rem 2rem; gap: .3rem; margin: 0; animation: heroIn .5s var(--ease); }
  .nav.is-open a { color: #fff; font-size: 1.7rem; font-family: var(--font-title); padding: .6rem 0; background: none; }
  .header.is-open { background: transparent; box-shadow: none; backdrop-filter: none; }
  .header.is-open .logo { color: #fff; position: relative; z-index: 2; }
  .header.is-open .logo small { color: var(--amber-light); }
  .header.is-open .logo__mark--dark { display: none; }
  .header.is-open .logo__mark--light { display: block; }
  .header.is-open .burger span { background: #fff; }
  .hero .container, .why, .zones, .contact { grid-template-columns: 1fr; }
  .hero__visual { max-width: 560px; margin-inline: auto; width: 100%; }
  .hero__frame { aspect-ratio: 4 / 3.3; transform: none; }
  .hero__tag { transform: none; }
  .hero__card--1 { left: .8rem; top: .8rem; } .hero__card--2 { right: .8rem; bottom: 3.6rem; }
  .steps { grid-template-columns: 1fr; gap: 2.4rem; }
  .steps__line { display: none; }
  .why__badge { right: .8rem; }
  .why__media img { aspect-ratio: 4 / 3; }
  .mobile-bar { display: flex; }
  .wa-float { display: none; }
  body { padding-bottom: 78px; }
  .to-top { bottom: 5.6rem; }
}
@media (max-width: 600px) {
  .container { width: calc(100% - 2rem); }
  .services, .footer__grid, .flow { grid-template-columns: 1fr; }
  .form__grid { grid-template-columns: 1fr; }
  .type-grid { grid-template-columns: 1fr 1fr; }
  .hero__card { padding: .6rem .8rem .6rem .6rem; }
  .hero__card .ico { width: 34px; height: 34px; }
  .hero__card strong { font-size: .98rem; }
  .hero__card span { font-size: .72rem; }
  .btn--lg { padding: 1rem 1.4rem; }
  .hero__actions .btn { width: 100%; }
  .chip { font-size: .86rem; padding: .55rem .85rem .55rem .7rem; }
  .pledges .container { grid-template-columns: 1fr 1fr; }
  .pledge { flex-direction: column; align-items: flex-start; gap: .4rem; padding: 1.4rem 0; }
  .pledge:nth-child(even) { padding-left: 1rem; }
  .est-row { padding: .6rem .5rem; }
  .est-row__label span { display: none; }
  .radar__pin i { font-size: .62rem; }
  .hero__tag { display: none; }
  .hero__card--2 { bottom: .8rem; }
  .contact__row .val { font-size: .95rem; }
}

/* ---------- Accessibilité : mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero [data-hero], .hero__visual { opacity: 1; transform: none; }
  .split-words .wi, .split-fade .wi { opacity: 1; transform: none; }
}
