/* =========================================================================
   H comme Local — style.css
   Charte HCL : Craie, Encre, Bleu Devanture, Bleu Nuit, Bleu Clair (fond
   sombre uniquement), Safran (le pin et les accents, jamais le texte).
   Police : Poppins, en local. Parti pris : épuré, beaucoup d'air, un seul
   geste fort par écran, et le pin qui « pose le commerce sur la carte ».
   ========================================================================= */

@font-face { font-family: "Poppins"; src: url("fonts/poppins-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("fonts/poppins-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("fonts/poppins-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("fonts/poppins-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --bg: #FAF7F0;          /* Craie */
  --bg-2: #F2EEE4;
  --card: #FFFFFF;
  --ink: #1B1F2A;         /* Encre */
  --muted: #5B6070;
  --line: #E3DDD0;
  --brand: #1F3D8C;       /* Bleu Devanture */
  --brand-ink: #FAF7F0;
  --brand-hover: #152A63; /* Bleu Nuit */
  --deep: #152A63;
  --deep-ink: #FAF7F0;
  --deep-muted: #B9C3E3;
  --deep-line: rgba(250, 247, 240, .16);
  --accent-on-deep: #4A78D8; /* Bleu Clair, fond sombre seulement */
  --safran: #F2A93B;
  --safran-soft: #FDF0DA;
  --font: "Poppins", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --wrap: 1160px;
  --gut: clamp(16px, 4vw, 40px);
  --sec: clamp(72px, 11vw, 136px);
  --r: 16px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1B1F2A; --bg-2: #20253A; --card: #242A3D; --ink: #FAF7F0; --muted: #AEB5C8; --line: #343B52;
    --brand: #4A78D8; --brand-ink: #10141F; --brand-hover: #6B92E4; --deep: #152A63; --deep-ink: #FAF7F0; --deep-muted: #B9C3E3;
    --safran-soft: #3A3020; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #1B1F2A; --bg-2: #20253A; --card: #242A3D; --ink: #FAF7F0; --muted: #AEB5C8; --line: #343B52;
  --brand: #4A78D8; --brand-ink: #10141F; --brand-hover: #6B92E4; --deep: #152A63; --deep-ink: #FAF7F0; --deep-muted: #B9C3E3;
  --safran-soft: #3A3020; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.65 var(--font); }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--brand); text-underline-offset: 3px; }
button { font: inherit; color: inherit; }
svg { flex: none; }
:focus-visible { outline: 3px solid var(--safran); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--bg); padding: 10px 14px; z-index: 60; border-radius: 8px; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gut); }
.eyebrow { font-weight: 600; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.sec--deep .eyebrow { color: var(--safran); }
.pin__hole { fill: var(--bg); }
.ok { width: 22px; height: 22px; fill: var(--brand); }
.ok .ok__tick, .ok__tick { stroke: var(--brand-ink); }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .75rem 1.4rem; border-radius: 999px; border: 2px solid transparent; font-weight: 600; text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background-color .2s, color .2s, border-color .2s, box-shadow .2s; }
.btn svg { width: 20px; height: 20px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brand); color: var(--brand-ink); box-shadow: 0 12px 28px -14px color-mix(in srgb, var(--brand) 85%, transparent); }
.btn--primary:hover { background: var(--brand-hover); }
.btn--ghost { border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); }
.btn--lg { min-height: 58px; padding: .9rem 1.7rem; font-size: 1.05rem; }
.btn--sm { min-height: 44px; padding: .5rem 1.1rem; font-size: .95rem; }
.btn--block { width: 100%; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); }
.logo__mark { display: inline-flex; align-items: flex-end; gap: 3px; }
.logo__h { width: 34px; height: 26px; fill: var(--brand); }
.logo__pin { width: 11px; height: 14px; fill: var(--safran); margin-bottom: 1px; }
.logo__txt { display: grid; line-height: 1; font-weight: 700; font-size: 1.1rem; color: var(--brand); padding-left: .6rem; border-left: 1.5px solid var(--line); }
.logo__txt small { font-weight: 500; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .15rem; }

/* ---------- En-tête ---------- */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.top.is-scrolled { border-bottom-color: var(--line); }
.top__row { display: flex; align-items: center; gap: 1.5rem; min-height: 72px; }
.top .logo { margin-right: auto; }
.nav { display: flex; gap: .25rem; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; padding: .5rem .85rem; border-radius: 999px; transition: background-color .2s; }
.nav a:hover { background: var(--bg-2); }

/* ---------- Hero ---------- */
.hero { overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(32px, 6vw, 88px); align-items: center; padding-block: clamp(40px, 7vw, 96px) clamp(64px, 9vw, 120px); }
.hero__text { min-width: 0; }
h1 { margin-top: 1.1rem; font-weight: 700; font-size: clamp(2.7rem, 7.2vw, 5.6rem); line-height: 1.02; letter-spacing: -.035em; }
.map-word { position: relative; display: inline-block; color: var(--brand); }
.map-word::after { content: ""; position: absolute; left: .04em; right: .04em; bottom: .02em; height: .09em; background: repeating-linear-gradient(90deg, var(--safran) 0 .28em, transparent .28em .44em); border-radius: 99px; }
.drop { position: absolute; width: .42em; height: .55em; right: -.2em; top: -.42em; fill: var(--safran); }
.js .drop { animation: drop 1.1s .5s cubic-bezier(.3, 1.6, .5, 1) both; }
@keyframes drop { 0% { transform: translateY(-1.4em); opacity: 0; } 60% { opacity: 1; } 100% { transform: none; } }
.lede { margin-top: 1.5rem; max-width: 34ch; font-size: clamp(1.1rem, 1.7vw, 1.3rem); color: var(--muted); }
.lede strong { color: var(--ink); font-weight: 600; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }
.proofs { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin-top: 1.8rem; font-size: .95rem; font-weight: 500; }
.proofs li { display: inline-flex; align-items: center; gap: .45rem; }
.proofs .ok { width: 20px; height: 20px; }

/* Démo téléphone */
.demo { display: grid; justify-items: center; gap: 1.4rem; min-width: 0; }
.phone { position: relative; width: min(300px, 78vw); aspect-ratio: 9 / 18.5; border-radius: 44px; padding: 12px; background: var(--ink); box-shadow: 0 50px 80px -40px rgba(21, 42, 99, .55), inset 0 0 0 2px rgba(255,255,255,.06); }
.phone::after { content: ""; position: absolute; inset: -26px -40px auto auto; width: 120px; height: 120px; border-radius: 50%; background: var(--safran); opacity: .22; filter: blur(30px); z-index: -1; }
.phone__notch { position: absolute; top: 20px; left: 50%; width: 84px; height: 22px; margin-left: -42px; border-radius: 99px; background: var(--ink); z-index: 2; }
.phone__screen { height: 100%; border-radius: 33px; background: #FAF7F0; color: #1B1F2A; padding: 52px 18px 18px; display: flex; flex-direction: column; gap: .6rem; overflow: hidden; }
.ph__tag { font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #8A6A2F; }
.ph__name { font-weight: 700; font-size: 1.45rem; line-height: 1.1; letter-spacing: -.02em; }
.ph__line { font-size: .8rem; color: #5B6070; }
.ph__img { flex: 1; min-height: 120px; border-radius: 18px; background: var(--ph, linear-gradient(135deg, #F2A93B, #E26D3A)); position: relative; overflow: hidden; transition: background .6s var(--ease); }
.ph__img::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-35deg, transparent 0 14px, rgba(255, 255, 255, .12) 14px 16px); }
.ph__btns { display: grid; gap: .45rem; }
.ph__btn { display: block; text-align: center; padding: .7rem; border-radius: 12px; font-weight: 600; font-size: .85rem; background: #EDE8DC; }
.ph__btn--main { background: #1F3D8C; color: #FAF7F0; }
.ph__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .35rem; }
.ph__row span { font-size: .66rem; text-align: center; padding: .45rem .2rem; border: 1px solid #E3DDD0; border-radius: 10px; font-weight: 500; }
.ph__via { font-size: .68rem; color: #5B6070; text-align: center; }
.phone__screen.is-swap > * { animation: swap .5s var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.jobs { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; max-width: 420px; }
.jobs button { min-height: 40px; padding: .4rem .9rem; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; font-size: .85rem; font-weight: 500; transition: border-color .2s, background-color .2s, color .2s; }
.jobs button:hover { border-color: var(--ink); }
.jobs button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ---------- Sections ---------- */
.sec { padding-block: var(--sec); }
.sec--deep { background: var(--deep); color: var(--deep-ink); }
.sec--tint { background: var(--bg-2); }
.head { max-width: 46rem; margin-bottom: clamp(36px, 5vw, 64px); }
.head--center { margin-inline: auto; text-align: center; }
.sec h2 { margin-top: .8rem; font-weight: 700; font-size: clamp(1.9rem, 4.4vw, 3.2rem); line-height: 1.1; letter-spacing: -.025em; }
.head__sub { margin-top: 1rem; color: var(--muted); font-size: 1.08rem; }

/* Étapes */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); counter-reset: s; }
.step { position: relative; padding: clamp(24px, 3vw, 36px); border-radius: var(--r); background: var(--card); border: 1px solid var(--line); display: grid; gap: .6rem; align-content: start; }
.step--you { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.step__who { justify-self: start; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: .25rem .7rem; border-radius: 99px; background: var(--bg-2); color: var(--muted); }
.step--you .step__who { background: var(--safran); color: #1B1F2A; }
.step__n { position: absolute; top: 14px; right: 22px; font-weight: 700; font-size: 4.2rem; line-height: 1; color: var(--line); }
.step--you .step__n { color: rgba(250, 247, 240, .18); }
.step h3 { margin-top: .6rem; font-size: 1.35rem; font-weight: 600; }
.step p { color: var(--muted); }
.step--you p { color: color-mix(in srgb, var(--brand-ink) 82%, transparent); }

/* Écosystème */
.eco { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.eco__text p:not(.eyebrow) { margin-top: 1.2rem; color: var(--deep-muted); max-width: 44ch; font-size: 1.08rem; }
.eco__viz { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: center; }
.eco__viz figure { margin: 0; display: grid; gap: .8rem; justify-items: center; }
.eco__viz figcaption { font-size: .82rem; color: var(--deep-muted); font-weight: 500; }
.crowd__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; width: 100%; max-width: 230px; }
.crowd__grid i { aspect-ratio: 1; border-radius: 6px; background: var(--deep-line); }
.crowd__grid i.is-you { background: var(--safran); }
.js .crowd__grid i { animation: twinkle 3.2s ease-in-out infinite; animation-delay: calc(var(--i) * -0.13s); }
.js .crowd__grid i.is-you { animation: none; }
@keyframes twinkle { 50% { background: rgba(250, 247, 240, .3); } }
.solo__card { width: 100%; max-width: 210px; aspect-ratio: 1; border-radius: 22px; background: var(--deep-ink); color: #1B1F2A; display: grid; place-content: center; justify-items: center; gap: .5rem; padding: 1rem; text-align: center; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.solo__pin { width: 30px; height: 38px; fill: var(--safran); }
.solo__pin .pin__hole { fill: var(--deep-ink); }
.solo__card span { font-weight: 600; }
.solo__card b { background: #1F3D8C; color: #FAF7F0; padding: .45rem 1.1rem; border-radius: 99px; font-size: .85rem; }

/* ---------- Formules ---------- */
.advisor { max-width: 860px; margin: 0 auto clamp(28px, 4vw, 44px); padding: 1.2rem 1.4rem; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); display: grid; gap: .9rem; }
.advisor__q { font-weight: 600; }
.advisor__opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
.tog { position: relative; cursor: pointer; }
.tog input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.tog span { display: flex; align-items: center; gap: .6rem; height: 100%; min-height: 56px; padding: .7rem .9rem; border: 1.5px solid var(--line); border-radius: 12px; font-size: .9rem; line-height: 1.35; transition: border-color .2s, background-color .2s; }
.tog span::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--muted); transition: background-color .2s, border-color .2s; }
.tog input:checked + span { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 8%, transparent); }
.tog input:checked + span::before { background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%23FAF7F0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; border-color: var(--brand); }
.tog input:focus-visible + span { outline: 3px solid var(--safran); outline-offset: 2px; }
.advisor__a { font-size: .98rem; color: var(--muted); }
.advisor__a strong { color: var(--ink); }

.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 18px); align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: .5rem; padding: 1.8rem 1.4rem 1.4rem; border-radius: var(--r); background: var(--card); border: 1.5px solid var(--line); transition: transform .35s var(--ease), border-color .3s, box-shadow .35s; }
.plan h3 { font-size: 1.3rem; font-weight: 700; display: flex; align-items: center; gap: .4rem; }
.star { width: 18px; height: 18px; fill: var(--safran); }
.plan__tag { font-size: .9rem; color: var(--muted); min-height: 2.6em; }
.plan__price { display: flex; align-items: flex-end; gap: .4rem; margin: .4rem 0 .6rem; }
.plan__price b { font-size: 3.2rem; font-weight: 700; line-height: .9; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.plan__price span { font-size: .75rem; line-height: 1.2; color: var(--muted); padding-bottom: .25rem; }
.plan__plus { font-size: .8rem; font-weight: 600; color: var(--brand); }
.plan__list { display: grid; gap: .45rem; margin-bottom: 1.2rem; font-size: .92rem; }
.plan__list li { position: relative; padding-left: 1.5rem; }
.plan__list li::before { content: ""; position: absolute; left: 0; top: .42em; width: 14px; height: 14px; border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%23FAF7F0' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px no-repeat; }
.btn--plan { margin-top: auto; border-color: var(--brand); color: var(--brand); background: transparent; }
.btn--plan:hover { background: var(--brand); color: var(--brand-ink); }
.plan--top { background: var(--deep); color: var(--deep-ink); border-color: var(--deep); }
.plan--top .plan__tag, .plan--top .plan__price span { color: var(--deep-muted); }
.plan--top .plan__plus { color: var(--safran); }
.plan--top .plan__list li::before { background-color: var(--safran); }
.plan--top .btn--plan { border-color: var(--deep-ink); color: var(--deep-ink); }
.plan--top .btn--plan:hover { background: var(--deep-ink); color: var(--deep); }
.plan__badge { position: absolute; top: -13px; left: 1.2rem; padding: .2rem .75rem; border-radius: 99px; background: var(--safran); color: #1B1F2A; font-size: .74rem; font-weight: 700; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--ease); }
.plan.is-reco { border-color: var(--safran); box-shadow: 0 26px 50px -30px rgba(242, 169, 59, .9); transform: translateY(-6px); }
.plan.is-reco .plan__badge { opacity: 1; transform: none; }
.plan.is-reco .btn--plan { background: var(--brand); color: var(--brand-ink); }
.plan--top.is-reco .btn--plan { background: var(--safran); border-color: var(--safran); color: #1B1F2A; }
.plans__base { display: flex; gap: .6rem; align-items: flex-start; max-width: 820px; margin: 2rem auto 0; font-size: .95rem; }
.plans__base .ok { margin-top: .1rem; }
.plans__fine { text-align: center; margin-top: .8rem; font-size: .85rem; color: var(--muted); }

.compare { max-width: 980px; margin: 2.4rem auto 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.compare summary { list-style: none; cursor: pointer; display: flex; justify-content: center; align-items: center; gap: .6rem; min-height: 64px; font-weight: 600; color: var(--brand); }
.compare summary::-webkit-details-marker { display: none; }
.compare summary svg { transform: rotate(90deg); transition: transform .3s var(--ease); }
.compare[open] summary svg { transform: rotate(-90deg); }
.compare__scroll { overflow-x: auto; padding-bottom: 1.4rem; }
.ctable { width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 0; font-size: .92rem; font-variant-numeric: tabular-nums; }
.ctable th, .ctable td { padding: .7rem .6rem; border-bottom: 1px solid var(--line); text-align: center; }
.ctable tbody th { text-align: left; font-weight: 400; }
.ctable thead th { position: sticky; top: 0; background: var(--bg); font-weight: 700; font-size: .95rem; padding-top: 1rem; }
.ctable thead small { display: block; font-weight: 500; color: var(--muted); font-size: .8rem; }
.ctable thead th.is-top { color: var(--brand); }
.ctable td:last-child { background: color-mix(in srgb, var(--brand) 6%, transparent); }
.ctable .grp th { padding-top: 1.4rem; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #B7791F; border-bottom: 0; background: none; }
.ctable td.y::before { content: ""; display: inline-block; width: 22px; height: 22px; border-radius: 50%; vertical-align: middle; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%23FAF7F0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.ctable td.n::before { content: ""; display: inline-block; width: 14px; height: 2px; vertical-align: middle; background: var(--line); }
.ctable td.y, .ctable td.n { font-size: 0; }
.pill { display: inline-block; padding: .15rem .6rem; border-radius: 99px; background: var(--bg-2); border: 1px solid var(--line); font-size: .8rem; font-weight: 500; }
.pill--strong { border-color: var(--brand); color: var(--brand); }

/* ---------- Engagements ---------- */
.promise { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.promise__lede { margin-top: 1.2rem; color: var(--muted); font-size: 1.1rem; }
.pledges { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem 2rem; }
.pledges li { padding-top: 1.1rem; border-top: 2px solid var(--ink); }
.pledges h3 { font-size: 1.1rem; font-weight: 600; }
.pledges p { margin-top: .4rem; color: var(--muted); font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 64px; padding: .8rem 0; font-weight: 600; font-size: 1.05rem; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); font-weight: 500; transition: transform .3s var(--ease), background-color .2s; }
.faq__list details[open] summary::after { transform: rotate(45deg); background: var(--bg-2); }
.faq__list details p { padding: 0 2.6rem 1.3rem 0; color: var(--muted); }

/* ---------- Rappel ---------- */
.callback { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.callback__ticks { margin-top: 1.8rem; display: grid; gap: .8rem; }
.callback__ticks li { display: flex; align-items: center; gap: .6rem; color: var(--deep-ink); }
.sec--deep .ok { fill: var(--safran); }
.sec--deep .ok__tick { stroke: #1B1F2A; }
.form { background: var(--card); color: var(--ink); padding: clamp(22px, 3.4vw, 36px); border-radius: 22px; display: grid; gap: 1rem; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); min-width: 0; }
.hp { position: absolute; left: -9999px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.field { display: grid; gap: .35rem; font-weight: 500; font-size: .92rem; border: 0; padding: 0; margin: 0; min-width: 0; }
.field legend { padding: 0; margin-bottom: .35rem; }
.opt { font-weight: 400; color: var(--muted); font-size: .82rem; }
input, select { font: inherit; font-weight: 400; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px; padding: .75rem .9rem; min-height: 50px; width: 100%; }
input:focus, select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); }
.field.is-invalid input { border-color: #C2410C; }
.slots__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.slot { position: relative; cursor: pointer; }
.slot input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.slot span { display: grid; place-items: center; min-height: 48px; border: 1.5px solid var(--line); border-radius: 12px; font-size: .92rem; transition: border-color .2s, background-color .2s, color .2s; }
.slot input:checked + span { border-color: var(--brand); background: var(--brand); color: var(--brand-ink); }
.slot input:focus-visible + span { outline: 3px solid var(--safran); outline-offset: 2px; }
.legalnote { font-size: .82rem; color: var(--muted); text-align: center; }
.form__msg:empty { display: none; }
.form__msg { font-size: .95rem; text-align: center; }
.form__msg.is-ok { padding: 1rem; border-radius: 12px; background: var(--safran-soft); color: var(--ink); font-weight: 500; }
.form__msg.is-err { color: #C2410C; }

/* ---------- Pied de page ---------- */
.foot { padding-block: clamp(48px, 7vw, 80px) 28px; border-top: 1px solid var(--line); font-size: .92rem; }
.foot__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-bottom: 1.6rem; }
.foot__top p { color: var(--muted); max-width: 40ch; }
.legal { border-top: 1px solid var(--line); }
.legal summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; min-height: 52px; font-weight: 600; }
.legal summary::-webkit-details-marker { display: none; }
.legal summary::after { content: "+"; font-size: 1.3rem; transition: transform .3s; }
.legal[open] summary::after { transform: rotate(45deg); }
.legal__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem 2rem; padding-bottom: 1rem; }
.legal h3 { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .4rem; }
.legal p { margin-bottom: .35rem; overflow-wrap: anywhere; }
.legal__draft { font-size: .8rem; color: var(--muted); font-style: italic; padding-bottom: 1.2rem; }
.miss { background: #FFF1C9; color: #6A4B00; padding: 0 .3em; border-radius: 3px; font-size: .9em; }
.foot__copy { padding-top: 1.4rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.dock { display: none; }

/* ---------- Apparition ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.6rem; }
  .nav { display: none; }
}
@media (max-width: 860px) {
  .hero__grid, .eco, .promise, .faq, .callback { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .advisor__opts { grid-template-columns: 1fr; }
  .demo { margin-top: .5rem; }
}
@media (max-width: 600px) {
  body { padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
  .top .btn--sm { display: none; }
  .plans { grid-template-columns: 1fr; }
  .plan__tag { min-height: 0; }
  .pledges, .grid2, .legal__grid { grid-template-columns: 1fr; }
  .eco__viz { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .hero__cta .btn { width: 100%; }
  .dock { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .35s var(--ease); }
  .dock.is-on { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
.js .plan.is-reco.is-in { transform: translateY(-6px); }

.ctable .s { display: none; }
@media (max-width: 600px) {
  .compare__scroll { overflow-x: visible; }
  .ctable { min-width: 0; font-size: .8rem; table-layout: fixed; }
  .ctable thead th:first-child, .ctable tbody th { width: 38%; }
  .ctable th, .ctable td { padding: .55rem .2rem; }
  .ctable tbody th { padding-left: 0; }
  .ctable .l { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ctable .s { display: block; }
  .ctable thead small { font-size: .7rem; }
  .ctable td.y::before { width: 18px; height: 18px; background-size: 11px; }
  .pill { padding: .1rem .3rem; font-size: .64rem; }
  .ctable .grp th { font-size: .66rem; }
}
