/* =========================================================
   SCAY Énergie — landing particuliers (mobile d'abord)
   ========================================================= */
:root {
  --sky: #36ADF3;          /* bleu ciel SCAY (accent de référence) */
  --sky-600: #1C8FD6;
  --sky-700: #0F6FAF;
  --sky-50: #EEF8FE;
  --sky-100: #D9F0FD;
  --sun: #F6B03C;          /* orange du soleil du logo, usage ponctuel */
  --ink: #0B1B2B;
  --ink-2: #3D4F61;
  --ink-3: #6A7B8C;
  --line: #DCE6EF;
  --bg: #FFFFFF;
  --bg-2: #F5F9FC;
  --danger: #C62828;
  --ok: #1E8E5A;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(11, 27, 43, .06), 0 6px 20px rgba(11, 27, 43, .06);
  --font-title: "Montserrat", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --head-h: 64px;
  --btn: #1680C6;          /* bleu SCAY soutenu : texte blanc lisible */
  --btn-hover: #0F6AA8;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font: 17px/1.6 var(--font); color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; }
a { color: var(--sky-700); }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-title); font-weight: 700; line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.wrap--narrow { max-width: 780px; }
.center { text-align: center; }
.kicker { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sky-700); margin-bottom: .6em; }
.h2 { font-size: clamp(1.5rem, 4.2vw, 2.2rem); }
.lead { font-size: 1.08rem; color: var(--ink-2); max-width: 62ch; }
.center .lead { margin-left: auto; margin-right: auto; }
.note, .hint { color: var(--ink-3); font-size: .93rem; }
.hint--box { background: var(--sky-50); border-left: 4px solid var(--sky); padding: 12px 14px; border-radius: 8px; color: var(--ink-2); }
.disclaimer { font-size: .82rem; color: var(--ink-3); margin-top: 1.5em; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 2px solid var(--btn);
  background: var(--btn); color: #fff; font: 700 1rem/1.2 var(--font-title); text-decoration: none; text-align: center;
  cursor: pointer; transition: background .15s, border-color .15s, transform .15s;
}
.btn:hover { background: var(--btn-hover); border-color: var(--btn-hover); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn--lg { min-height: 56px; padding: 14px 28px; font-size: 1.05rem; }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .9rem; }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { background: var(--bg-2); border-color: var(--ink-3); color: var(--ink); }
.btn--light { background: #fff; border-color: #fff; color: var(--ink); }
.btn--light:hover { background: var(--sky-50); border-color: var(--sky-50); color: var(--ink); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- En-tête ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.top__in { max-width: 1180px; margin: 0 auto; padding: 0 16px; height: var(--head-h); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.top__logo { display: block; flex: none; }
.top__logo img { display: block; height: 46px; width: auto; }
.top__right { display: flex; align-items: center; gap: 10px; }
.langs { display: none; gap: 2px; }
@media (min-width: 860px) { .langs { display: flex; } .langmenu { display: none; } }
.flag { display: block; border-radius: 3px; box-shadow: 0 0 0 1px rgba(11,27,43,.15); }
.langs a { display: grid; place-items: center; padding: 8px 6px; border-radius: 6px; opacity: .55; transition: opacity .15s; }
.langs a:hover { opacity: 1; }
.langs a[aria-current] { opacity: 1; background: var(--sky-50); }
.langmenu { position: relative; }
.langmenu summary { display: flex; align-items: center; gap: 6px; padding: 8px; border-radius: 8px; cursor: pointer; list-style: none; color: var(--ink-2); }
.langmenu summary::-webkit-details-marker { display: none; }
.langmenu[open] summary { background: var(--sky-50); }
.langmenu__pop { position: absolute; right: 0; top: calc(100% + 6px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow); padding: 6px; display: grid; min-width: 190px; z-index: 60; }
.langmenu__pop a { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.langmenu__pop a:hover, .langmenu__pop a[aria-current] { background: var(--sky-50); }
.top__phone { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font: 700 1rem/1 var(--font-title); white-space: nowrap; }
.top__phone-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--btn); color: #fff; flex: none; }
.top__phone:hover { color: var(--btn); }
.top__phone-num { display: none; }
@media (min-width: 560px) { .top__phone-num { display: inline; } }
.top__cta { display: none; }
.top__contact { font-weight: 700; font-size: .9rem; color: var(--ink); text-decoration: none; cursor: pointer; list-style: none; padding: 8px 4px; }
.top__contact::-webkit-details-marker { display: none; }
.top__contact-menu { position: relative; }
.top__pop { position: absolute; right: 0; top: calc(100% + 6px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow); padding: 10px 14px; display: grid; gap: 6px; min-width: 230px; }
.top__pop a { white-space: nowrap; }
.top__quit { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--ink-2); }
.top__quit:hover { background: var(--bg-2); color: var(--ink); }
.top--compact .top__logo img { height: 44px; }
@media (max-width: 360px) { .top__logo img { height: 40px; } }
@media (min-width: 980px) {
  :root { --head-h: 80px; }
  .top__logo img, .top--compact .top__logo img { height: 60px; }
  .top__cta { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--sky-50) 0%, #fff 100%); padding: 28px 0 40px; }
.hero__grid { display: grid; gap: 28px; }
.hero__title { font-size: clamp(1.85rem, 6.5vw, 3.1rem); font-weight: 700; }
.hero__em { display: block; color: var(--sky-700); font-weight: 700; font-size: .72em; margin-top: .35em; }
.hero__lead { font-size: 1.08rem; color: var(--ink-2); max-width: 58ch; }
.hero__ctas { display: flex; flex-direction: column; gap: 10px; margin: 1.4em 0 .8em; }
.hero__ctas--center { align-items: center; }
.hero__note { font-size: .9rem; color: var(--ink-3); }
@media (min-width: 560px) { .hero__ctas { flex-direction: row; flex-wrap: wrap; } }
@media (min-width: 980px) {
  .hero { padding: 56px 0 72px; }
  .hero__grid { grid-template-columns: 1.15fr .85fr; align-items: center; gap: 48px; }
}
.hero--city .hero__ctas .btn { white-space: normal; }
.crumbs { font-size: .85rem; color: var(--ink-3); margin-bottom: 14px; }
.crumbs a { color: var(--ink-3); }

/* Carte « démarrer » (étape 1 directement dans le hero) */
.start { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 22px 18px; }
.start__step { font-size: .82rem; color: var(--ink-3); margin-bottom: .4em; }
.start__title { font-size: 1.25rem; }
.start__choices { display: grid; gap: 10px; margin: 14px 0 16px; }

/* ---------- Cartes de choix (accueil + parcours) ---------- */
.choice {
  position: relative; display: flex; align-items: center; gap: 14px; min-height: 64px;
  padding: 14px 16px; border: 2px solid var(--line); border-radius: var(--radius); background: #fff;
  color: var(--ink); text-decoration: none; cursor: pointer; transition: border-color .15s, box-shadow .15s, background .15s;
}
.choice:hover { border-color: var(--sky); box-shadow: var(--shadow); color: var(--ink); }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice:has(input:focus-visible) { outline: 3px solid var(--sky); outline-offset: 2px; }
.choice:has(input:checked) { border-color: var(--sky); background: var(--sky-50); }
.choice__body { display: grid; gap: 2px; flex: 1; }
.choice__label { font: 700 1.02rem/1.3 var(--font-title); flex: 1; }
.choice__desc { font-size: .88rem; color: var(--ink-3); line-height: 1.4; }
.choice__arrow { color: var(--sky-700); font-weight: 700; }
.choice__tick { flex: none; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line); background: #fff; }
.choice:has(input:checked) .choice__tick { border-color: var(--sky); background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%230B1B2B' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
/* ► Illustration de carte : n'existe dans le HTML que si un fichier est présent (voir illu() en PHP).
     Sécurité supplémentaire : un conteneur vide reste invisible. */
.choice__illu { flex: none; width: 56px; height: 56px; display: grid; place-items: center; }
.choice__illu:empty { display: none; }
.choice__illu img { width: 100%; height: 100%; object-fit: contain; }
.card .choice__illu { width: 64px; height: 64px; margin-bottom: 8px; }

/* ---------- Sections ---------- */
.section { padding: 52px 0; }
.section--tint { background: var(--bg-2); }
@media (min-width: 980px) { .section { padding: 80px 0; } }

.cards { display: grid; gap: 14px; margin: 28px 0; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .cards { grid-template-columns: repeat(4, 1fr); } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; }
.card--on { border-color: var(--sky); box-shadow: 0 0 0 2px var(--sky-100); }
.card__title { font-size: 1.12rem; }
.card p { color: var(--ink-2); font-size: .97rem; flex: 1; }
.card__link { font-weight: 700; text-decoration: none; }

.looks { list-style: none; padding: 0; margin: 28px 0 18px; display: grid; gap: 14px; }
@media (min-width: 720px) { .looks { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .looks { grid-template-columns: repeat(4, 1fr); } }
.looks li { background: #fff; border-radius: var(--radius); padding: 20px; border-top: 4px solid var(--sky); }
.looks h3 { font-size: 1.05rem; }
.looks p { color: var(--ink-2); font-size: .95rem; margin: 0; }

.band { background: var(--ink); color: #fff; padding: 36px 0; }
.band__in { display: grid; gap: 18px; align-items: center; }
.band__title { font-size: clamp(1.3rem, 3.6vw, 1.8rem); color: #fff; }
.band p { color: #C9D6E2; margin: 0; }
@media (min-width: 860px) { .band__in { grid-template-columns: 1fr auto; } }

.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; counter-reset: s; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { position: relative; padding-left: 56px; }
@media (min-width: 860px) { .steps li { padding: 56px 0 0; } }
.steps__n { position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--btn); color: #fff; font: 700 1.05rem/40px var(--font-title); text-align: center; }
.steps h3 { font-size: 1.05rem; }
.steps p { color: var(--ink-2); font-size: .95rem; }
.steps--compact { text-align: left; }
@media (min-width: 860px) { .steps--compact { grid-template-columns: 1fr; } .steps--compact li { padding: 0 0 0 56px; } }

.reas { display: grid; gap: 28px; }
@media (min-width: 900px) { .reas { grid-template-columns: 1.3fr 1fr; align-items: center; } }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 34px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--sky-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%230F6FAF' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/15px no-repeat; }
.reas__cta { background: #fff; border-radius: 22px; padding: 26px; box-shadow: var(--shadow); text-align: center; }
.reas__q { font: 700 1.15rem/1.4 var(--font-title); }
.badge { display: inline-block; margin: 14px 8px 0 0; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .85rem; }

.pills { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pills--center { justify-content: center; }
.pills a { display: inline-block; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); background: #fff; }
.pills a:hover { border-color: var(--sky); }
.near__title { font-size: 1rem; margin-top: 2em; }

.faq { margin-top: 24px; display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.faq summary { cursor: pointer; padding: 16px 48px 16px 18px; font-weight: 700; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--sky-700); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 18px 16px; margin: 0; color: var(--ink-2); }

.final { padding: 56px 0 64px; background: linear-gradient(180deg, #fff 0%, var(--sky-50) 100%); }
.prose h2 { font-size: 1.2rem; margin-top: 1.6em; }
.draftbar { margin: 0; background: var(--sun); color: var(--ink); text-align: center; font-weight: 700; padding: 8px 16px; font-size: .9rem; }

/* ---------- Pied de page ---------- */
.foot { background: var(--ink); color: #C9D6E2; padding: 48px 0 24px; font-size: .95rem; }
.foot a { color: #fff; }
.foot__grid { display: grid; gap: 28px; }
@media (min-width: 860px) { .foot__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.foot__logo { height: 52px; width: auto; background: #fff; border-radius: 10px; padding: 6px 10px; margin-bottom: 14px; }
.foot__h { font-size: .95rem; color: #fff; }
.foot__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 18px; font-size: .85rem; }
.foot__bottom p { margin: 0; }
.foot__official { font-size: .8rem; color: #9FB2C4 !important; text-decoration: underline; text-underline-offset: 2px; }
.foot__official:hover { color: #fff !important; }

/* ---------- Consentement ---------- */
.consent { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 80; max-width: 560px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 40px rgba(11,27,43,.18); padding: 16px 18px; font-size: .9rem; }
.consent p { margin: 0 0 12px; color: var(--ink-2); }
.consent__btns { display: flex; gap: 10px; justify-content: flex-end; }

/* =========================================================
   PARCOURS IMMERSIF (page formulaire)
   ========================================================= */
.is-form { background: var(--bg-2); }
.is-form .top { background: #fff; }
.flow { min-height: calc(100vh - var(--head-h)); min-height: calc(100dvh - var(--head-h)); display: flex; flex-direction: column; }
.flow__bar { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: var(--head-h); z-index: 40; }
.flow__bar-in { display: flex; align-items: center; gap: 14px; padding-top: 10px; padding-bottom: 10px; }
.flow__count { margin: 0; font-size: .85rem; font-weight: 700; color: var(--ink-2); white-space: nowrap; min-width: 6.5em; }
.progress { flex: 1; height: 8px; background: var(--sky-100); border-radius: 999px; overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--sky); border-radius: 999px; transition: width .35s ease; }
.progress--mini { height: 6px; }

.flow__grid { flex: 1; display: grid; gap: 24px; padding-top: 24px; padding-bottom: 24px; align-items: start; }
@media (min-width: 1024px) { .flow__grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; padding-top: 48px; } }
.flow__main { background: #fff; border-radius: 22px; padding: 22px 16px 18px; box-shadow: var(--shadow); width: 100%; max-width: 760px; margin: 0 auto; }
@media (min-width: 640px) { .flow__main { padding: 36px 40px 28px; } }

.step { border: 0; padding: 0; margin: 0 0 24px; min-width: 0; }
.step__q { font: 700 clamp(1.4rem, 5vw, 2rem)/1.2 var(--font-title); padding: 0; margin: 0 0 .35em; text-align: center; width: 100%; }
.step__help { text-align: center; color: var(--ink-3); margin-bottom: 1.3em; }
.step__prefill { text-align: center; font-size: .9rem; background: var(--sky-50); border-radius: 8px; padding: 8px 12px; color: var(--ink-2); }
.choices { display: grid; gap: 12px; }
@media (min-width: 640px) { .choices--2 { grid-template-columns: repeat(2, 1fr); } }

.field { margin-bottom: 20px; }
.field__label { display: block; font-weight: 700; margin: 0 0 8px; font-size: .98rem; }
.field-row { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.input { width: 100%; min-height: 52px; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 2px solid var(--line); border-radius: var(--radius-sm); }
.input:focus { border-color: var(--sky); outline: none; box-shadow: 0 0 0 4px var(--sky-100); }
.input[aria-invalid="true"] { border-color: var(--danger); }
textarea.input { min-height: 72px; resize: vertical; }
.field__err { color: var(--danger); font-size: .9rem; font-weight: 600; margin: 6px 0 0; }
.field__err[hidden] { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border: 2px solid var(--line); border-radius: 999px; background: #fff; font-weight: 600; font-size: .95rem; transition: border-color .15s, background .15s; }
.chip:hover span { border-color: var(--sky); }
.chip input:checked + span { border-color: var(--sky); background: var(--sky-50); }
.chip input:focus-visible + span { outline: 3px solid var(--sky); outline-offset: 2px; }
.chip input[aria-invalid="true"] + span { border-color: #E9A9A9; }
.field--rdv { background: var(--bg-2); border-radius: var(--radius-sm); padding: 14px; }
.js .field--rdv:not(.is-on) { display: none; }

.consentbox { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--ink-2); cursor: pointer; }
.consentbox input { flex: none; width: 22px; height: 22px; margin-top: 2px; accent-color: var(--sky-700); }

.alert { background: #FDECEC; border: 1px solid #F3B9B9; color: #8E1C1C; border-radius: var(--radius-sm); padding: 12px 14px; margin-bottom: 18px; font-weight: 600; }
.alert[hidden] { display: none; }
.flow__note { background: var(--sky-50); padding: 10px 14px; border-radius: 8px; font-size: .9rem; }

.flow__nav { display: flex; gap: 10px; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 18px; }
.flow__nav [hidden] { display: none; }
.flow__next, .flow__submit { margin-left: auto; min-width: 150px; }
.flow__mobile-reas { text-align: center; font-size: .85rem; color: var(--ink-3); margin: 14px 0 0; }
@media (min-width: 1024px) { .flow__mobile-reas { display: none; } }

/* Mode JS : une étape à la fois */
.js .flow .step { display: none; }
.js .flow .step.is-active { display: block; animation: stepIn .25s ease both; }
@keyframes stepIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.js .flow__submit[data-hide] { display: none; }

.flow__aside { display: none; }
@media (min-width: 1024px) {
  .flow__aside { display: block; position: sticky; top: calc(var(--head-h) + 80px); background: #fff; border-radius: 22px; padding: 26px; box-shadow: var(--shadow); }
}
.flow__aside-title { font-size: 1.1rem; }
.flow__aside .checks { font-size: .95rem; }
.flow__help { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 14px; font-size: .92rem; }
.flow__help p { margin: 0 0 4px; }
.flow__foot { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; padding-top: 12px; padding-bottom: 24px; font-size: .82rem; }
.flow__foot a { color: var(--ink-3); }

/* Mobile : barre d'actions collée en bas pour garder les boutons sous le pouce */
@media (max-width: 639px) {
  .js .flow__nav { position: sticky; bottom: 0; background: #fff; margin: 0 -16px -18px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-radius: 0 0 22px 22px; box-shadow: 0 -6px 16px rgba(11,27,43,.06); }
  .flow__next, .flow__submit { min-width: 0; flex: 1; }
}

.thanks { padding-top: 40px; padding-bottom: 40px; text-align: center; }
.thanks .steps { max-width: 560px; margin: 24px auto; }
.thanks__icon { color: var(--ok); margin-bottom: 12px; }

/* =========================================================
   EMPLACEMENTS D'IMAGES (n'existent dans le HTML que si le fichier est présent)
   ========================================================= */
.hero--img { position: relative; overflow: hidden; padding-top: 0; }
.hero__media { display: block; margin: 0 0 24px; height: 220px; }
.hero__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 980px) {
  .hero--img { padding-top: 56px; }
  .hero__media { position: absolute; top: 0; right: 0; bottom: 0; width: 58%; height: auto; margin: 0; }
  .hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #F2F9FE 0%, rgba(242,249,254,.85) 22%, rgba(242,249,254,0) 60%); }
  .hero--img .hero__grid { position: relative; z-index: 1; }
}
.card__img { display: block; margin: -22px -22px 18px; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.look__img { display: block; margin: -20px -20px 16px; aspect-ratio: 16 / 10; overflow: hidden; }
.reas__img { display: block; margin: -26px -26px 20px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 22px 22px 0 0; }
.steps__img { display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 14px; margin-bottom: 14px; }
.card__img img, .look__img img, .reas__img img, .steps__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.looks li { overflow: hidden; }
.steps--img li { padding: 0; }
.steps--img .steps__n { position: static; display: block; margin-bottom: 10px; }
@media (min-width: 860px) { .steps--img li { padding: 0; } }

/* Cartes du parcours */
.choice__illu { width: 64px; height: 64px; }
.choices--2 .choice { flex-direction: column; align-items: stretch; padding: 16px 44px 16px 16px; }
.choices--2 .choice__tick { position: absolute; top: 14px; right: 14px; }
.choices--2 .choice__illu { width: 100%; height: 120px; margin-bottom: 4px; }
.choices--2 .choice__illu img { object-fit: contain; }

/* =========================================================
   RENDEZ-VOUS : calendrier + tranches de 2 h
   ========================================================= */
.rdv { display: grid; gap: 4px 24px; margin-top: 12px; }

.cal { background: #fff; border: 2px solid var(--line); border-radius: var(--radius); padding: 12px; width: 100%; max-width: 380px; }
.cal[hidden] { display: none; }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal__month { margin: 0; font: 700 1rem/1.2 var(--font-title); text-transform: capitalize; }
.cal__nav { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 1.3rem; line-height: 1; cursor: pointer; color: var(--ink); }
.cal__nav:hover:not([disabled]) { border-color: var(--btn); color: var(--btn); }
.cal__nav[disabled] { opacity: .3; cursor: default; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal__wd { font-size: .72rem; font-weight: 700; color: var(--ink-3); text-transform: uppercase; padding: 4px 0; }
.cal__day { height: 40px; min-width: 0; padding: 0; border: 0; border-radius: 10px; background: var(--bg-2); font: 600 .95rem/1 var(--font); color: var(--ink); cursor: pointer; }
.cal__day:hover:not([disabled]) { background: var(--sky-100); }
.cal__day[disabled] { background: transparent; color: #B9C5D1; cursor: default; }
.cal__day[aria-pressed="true"] { background: var(--btn); color: #fff; }
.cal__day:focus-visible { outline: 3px solid var(--sky); outline-offset: 1px; }
.slots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; max-width: 480px; }
@media (min-width: 420px) { .slots { grid-template-columns: repeat(3, 1fr); } }
.chip--slot span { width: 100%; justify-content: center; white-space: nowrap; font-size: .92rem; padding: 10px 8px; }
.chip input:checked + span { color: var(--ink); }

/* =========================================================
   PIED DE PAGE
   ========================================================= */
.foot__logo { height: 72px; width: auto; background: none; padding: 0; border-radius: 0; margin-bottom: 14px; }
@media (min-width: 860px) { .foot__grid { grid-template-columns: 1.3fr 1fr 1.1fr 1.1fr; } }
.foot__act { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.foot__h--sm { margin: 6px 0 0; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: #9FB2C4; }
.social { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; transition: background .15s; }
.social a:hover { background: var(--btn); }
.btn--wa { background: #128C7E; border-color: #128C7E; color: #fff; }
.btn--wa:hover { background: #0C6B60; border-color: #0C6B60; }
.foot__cities { margin-top: 28px; }
.pills--dark a { background: transparent; color: #fff; border-color: rgba(255,255,255,.25); }

/* Retour en haut : apparaît après défilement (classe posée par site.js) */
.totop {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 70;
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--btn); color: #fff; box-shadow: 0 6px 18px rgba(11,27,43,.22);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .2s, transform .2s, visibility .2s, background .15s;
}
.totop.is-on { opacity: 1; visibility: visible; transform: none; }
.totop:hover { background: var(--btn-hover); color: #fff; }
@media (min-width: 980px) { .totop { right: 24px; bottom: 24px; width: 52px; height: 52px; } }
.js-consent-open .totop { bottom: calc(150px + env(safe-area-inset-bottom)); }
