/*
 * ColiGo, site public. CSS écrit à la main, mobile d'abord, sans framework — mêmes variables et
 * mêmes composants qu'une architecture éprouvée ailleurs dans le studio, seules les valeurs de
 * couleur changent pour la marque ColiGo : sarcelle #0E6E6A (--petrol), orange #FF7A45 (--amber),
 * vert confirmation #2E9E5B (--green). Police Manrope (SIL OFL 1.1, public/fonts/OFL.txt).
 */

@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/manrope-400.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/manrope-500.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/manrope-700.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/manrope-800.woff2") format("woff2"); }

:root {
    /* Marque */
    --petrol: #0e6e6a;
    --petrol-deep: #0b5753;
    --petrol-night: #073b39;
    --petrol-soft: #d7ece9;
    --petrol-mist: #edf7f6;
    --green: #2e9e5b;
    --green-deep: #227a46;
    --green-soft: #dff3e6;
    --green-ink: #0f3a22;
    --amber: #ff7a45;
    --amber-deep: #e35b28;
    --amber-soft: #ffe4d7;
    --amber-ink: #3a1c0e;
    --red: #c0262d;
    --red-soft: #fde3e3;
    --num-amber: #c1501b;

    /* Surfaces et texte */
    --bg: #ffffff;
    --canvas: #f1f5f7;
    --card: #ffffff;
    --ink: #13212b;
    --ink-2: #2b3a44;
    --muted: #4f5d66;
    --line: #dce4e8;
    --line-strong: #c3d0d6;
    --link: #0b5753;
    --focus: #0e6e6a;

    /* Afficheur de pompe */
    --display-bg: #0d1f1d;
    --display-edge: #203a38;
    --display-label: #9fbfb8;
    --digit-amber: #ffa36b;
    --digit-green: #6ee39a;
    --digit-red: #ff8a80;

    /* Illustrations (trait commun : 3 px, couleur --ill-stroke) */
    --ill-stroke: #0b2e38;
    --ill-body: #ffffff;
    --ill-soft: #e3eef2;
    --ill-street: #ffffff;
    --ill-block: #dbe8ed;

    --radius: 20px;
    --radius-s: 12px;
    --radius-xs: 8px;
    --shadow-1: 0 1px 2px rgba(11, 58, 72, .06), 0 4px 14px rgba(11, 58, 72, .08);
    --shadow-2: 0 2px 6px rgba(11, 58, 72, .08), 0 18px 40px rgba(11, 58, 72, .16);
    --max: 1200px;
    --gutter: clamp(16px, 4.2vw, 32px);
    --header-h: 64px;
    --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --ease-out: cubic-bezier(.2, .75, .25, 1);
    --ease-spring: cubic-bezier(.34, 1.45, .64, 1);
    color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
    :root {
        --petrol: #4fd1be;
        --petrol-deep: #12847b;
        --petrol-night: #052e2b;
        --petrol-soft: #123c38;
        --petrol-mist: #0e2420;
        --green: #4fcb82;
        --green-deep: #238f55;
        --green-soft: #103a26;
        --green-ink: #cff3da;
        --amber: #ff9466;
        --amber-deep: #ff7a45;
        --amber-soft: #3a2212;
        --red: #ff8a80;
        --red-soft: #3b1214;
        --num-amber: #ffa36b;

        --bg: #0b1215;
        --canvas: #0f181c;
        --card: #151e22;
        --ink: #e8eef1;
        --ink-2: #cfd9de;
        --muted: #a5b1b8;
        --line: #26333a;
        --line-strong: #34444c;
        --link: #6fe0d2;
        --focus: #6fe0d2;

        --display-bg: #060c0e;
        --display-edge: #1d2b31;

        --ill-stroke: #041a20;
        --ill-body: #e3edf1;
        --ill-soft: #23343b;
        --ill-street: #1c292f;
        --ill-block: #13252c;

        --shadow-1: 0 1px 2px rgba(0, 0, 0, .4);
        --shadow-2: 0 18px 40px rgba(0, 0, 0, .45);
    }
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
@media (min-width: 720px) { body { font-size: 1.0625rem; } }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { text-decoration-thickness: 2.5px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { line-height: 1.1; letter-spacing: -.025em; margin: 0 0 .5em; font-weight: 800; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 6.4vw, 4.25rem); letter-spacing: -.035em; line-height: 1.02; }
h2 { font-size: clamp(1.75rem, 4.2vw, 2.9rem); letter-spacing: -.03em; }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); line-height: 1.25; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; }
strong { font-weight: 800; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.digits { font-variant-numeric: tabular-nums lining-nums; font-feature-settings: "tnum", "lnum"; }
.nowrap { white-space: nowrap; }

.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--petrol-deep); color: #fff; padding: 10px 14px; border-radius: 0 0 10px 0; font-weight: 700; }
.skip:focus { left: 0; }

/* Bande d'auvent : le motif des stations, en séparateur. */
.canopy { height: 10px; background: linear-gradient(to bottom, var(--petrol-deep) 0 5px, var(--amber) 5px 8px, var(--green-deep) 8px 10px); }
.canopy--thin { height: 6px; background: linear-gradient(to bottom, var(--amber) 0 3px, var(--green-deep) 3px 6px); }

/* ---------- Boutons ---------- */

.btn {
    --btn-bg: var(--petrol-deep);
    --btn-fg: #fff;
    display: inline-flex; align-items: center; justify-content: center; gap: .55em;
    min-height: 48px; padding: 12px 22px;
    border: 0; border-radius: 999px;
    background: var(--btn-bg); color: var(--btn-fg);
    font: inherit; font-weight: 800; font-size: 1rem; letter-spacing: -.005em; line-height: 1.1;
    text-decoration: none; cursor: pointer;
    box-shadow: 0 1px 0 rgba(0, 0, 0, .06), 0 6px 16px -6px rgba(8, 74, 92, .45);
    transition: transform .18s var(--ease-out), box-shadow .18s var(--ease-out), background-color .18s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 2px 0 rgba(0, 0, 0, .06), 0 12px 24px -8px rgba(8, 74, 92, .55); text-decoration: none; color: var(--btn-fg); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .icon { width: 1.2em; height: 1.2em; flex: none; transition: transform .2s var(--ease-out); }
.btn:hover .icon--arrow { transform: translateX(4px); }
.btn:hover .icon--download { transform: translateY(2px); }
.btn--go { --btn-bg: var(--green); }
.btn--amber { --btn-bg: var(--amber); --btn-fg: var(--amber-ink); box-shadow: 0 1px 0 rgba(0, 0, 0, .06), 0 6px 16px -6px rgba(217, 154, 30, .7); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--petrol-night); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--link); box-shadow: inset 0 0 0 2px currentColor; }
.btn--ghost:hover { box-shadow: inset 0 0 0 2px currentColor; }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .55); }
.btn--ghost-light:hover { box-shadow: inset 0 0 0 2px #fff; }
.btn--sm { min-height: 44px; padding: 9px 16px; font-size: .92rem; }
@media (prefers-color-scheme: dark) {
    .btn { --btn-bg: var(--petrol-deep); }
    .btn--go { --btn-bg: #1b8a44; }
    .btn--amber { --btn-bg: var(--amber); }
    .btn--light { --btn-bg: #e8eef1; --btn-fg: #063845; }
    .btn--ghost { --btn-bg: transparent; }
    .btn--ghost-light { --btn-bg: transparent; }
}
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 800; text-decoration: none; color: var(--link); min-height: 44px; }
.link-arrow .icon { width: 1.15em; height: 1.15em; transition: transform .2s var(--ease-out); }
.link-arrow:hover { text-decoration: underline; }
.link-arrow:hover .icon { transform: translateX(4px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; }

/* Étiquette au-dessus d'un titre */
.kicker {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
    color: var(--petrol); margin: 0 0 14px;
}
.kicker::before { content: ""; width: 22px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--amber) 0 50%, var(--green) 50% 100%); }
.kicker--light { color: #bfe3ec; }
.kicker--ink { color: var(--amber-ink); }
.kicker--ink::before { background: linear-gradient(90deg, var(--amber-ink) 0 50%, var(--green-deep) 50% 100%); }

.lead { font-size: clamp(1.08rem, 1.7vw, 1.28rem); line-height: 1.55; color: var(--ink-2); max-width: 38em; }

/* ---------- En-tête ---------- */

.site-header {
    position: sticky; top: 0; z-index: 50;
    /* Fond plein : un backdrop-filter ferait du panneau du menu (position fixe) un enfant de l'en-tête. */
    background: var(--bg);
    border-top: 4px solid var(--amber);
    box-shadow: 0 1px 0 var(--line);
    transition: box-shadow .2s;
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 10px 24px -14px rgba(11, 58, 72, .35); }
.site-header__bar { position: relative; display: flex; align-items: center; gap: 12px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.5rem; letter-spacing: -.04em; color: var(--ink); text-decoration: none; min-height: 44px; flex: none; }
.brand img { width: 36px; height: 36px; transition: transform .35s var(--ease-spring); }
.brand:hover img { transform: rotate(-8deg) scale(1.06); }
.brand--light { color: #fff; }
.site-header__actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.header-cta { display: none; white-space: nowrap; }

/* Navigation principale (ordinateur) : un bouton par menu, panneau déroulant animé. */
.primary-nav { display: none; margin-left: 6px; }
.primary-nav__list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-item { position: relative; }
/* Le méga-menu des villes se place sous toute la barre, pas sous son bouton. */
.nav-item--prices { position: static; }
.nav-item__trigger {
    position: relative; display: inline-flex; align-items: center; gap: 5px; min-height: 44px; padding: 0 9px 0 12px;
    border: 0; border-radius: 12px; background: transparent; color: var(--ink); cursor: pointer;
    font: inherit; font-weight: 700; font-size: .95rem; white-space: nowrap; transition: background-color .2s, color .2s;
}
.nav-item__trigger .icon { width: 16px; height: 16px; color: var(--muted); transition: transform .35s var(--ease-spring), color .2s; }
.nav-item__trigger::after {
    content: ""; position: absolute; left: 12px; right: 30px; bottom: 5px; height: 3px; border-radius: 2px;
    background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease-out);
}
.nav-item__trigger:hover, .nav-item.is-open > .nav-item__trigger { background: var(--petrol-mist); }
.nav-item.is-open > .nav-item__trigger .icon { transform: rotate(180deg); color: var(--petrol); }
.nav-item__trigger.is-current { color: var(--petrol); }
.nav-item__trigger.is-current::after, .nav-item__trigger:hover::after { transform: scaleX(1); }

.nav-drop {
    position: absolute; z-index: 60; top: calc(100% + 8px); left: -6px; width: 390px;
    opacity: 0; visibility: hidden; transform: translateY(-10px) scale(.98); transform-origin: 40px 0;
    transition: opacity .18s var(--ease-out), transform .3s var(--ease-spring), visibility 0s linear .3s;
}
/* Pont invisible entre le bouton et le panneau : le survol ne se perd pas dans l'écart. */
.nav-drop::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav-item.is-open > .nav-drop,
html:not(.js) .nav-item:hover > .nav-drop,
html:not(.js) .nav-item:focus-within > .nav-drop { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav-item--partners .nav-drop, .nav-item--help .nav-drop { left: auto; right: -6px; transform-origin: calc(100% - 40px) 0; }
.nav-drop--wide { width: 640px; }
.nav-drop--mega { left: var(--gutter); right: var(--gutter); width: auto; top: calc(100% - 4px); transform-origin: 50% 0; }
.nav-drop__card {
    position: relative; overflow: hidden; padding: 16px 10px 10px; border-radius: 20px;
    background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line), var(--shadow-2);
}
/* Le motif de l'auvent de station, en haut de chaque panneau. */
.nav-drop__card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(to bottom, var(--amber) 0 3px, var(--green-deep) 3px 6px); }
.nav-drop__cols { display: grid; gap: 6px; }
.nav-drop--wide .nav-drop__cols { grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); }
.nav-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; align-content: start; }
.nav-link, .macc__link { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: center; text-decoration: none; }
.nav-link { padding: 10px 12px; border-radius: 14px; color: var(--ink); transition: background-color .18s; }
.nav-link:hover { background: var(--petrol-mist); color: var(--ink); }
.nav-link__icon {
    display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
    background: var(--petrol-mist); color: var(--petrol); transition: transform .35s var(--ease-spring), background-color .2s, color .2s;
}
.nav-link__icon .icon { width: 20px; height: 20px; }
.nav-link:hover .nav-link__icon { transform: rotate(-7deg) scale(1.07); background: var(--amber); color: var(--amber-ink); }
.nav-link strong { display: block; font-size: .98rem; line-height: 1.25; }
.nav-link__text > span { display: block; margin-top: 2px; font-size: .84rem; line-height: 1.4; font-weight: 600; color: var(--muted); }
.nav-link[aria-current="page"] strong { color: var(--petrol); }
.nav-link[aria-current="page"] .nav-link__icon { background: var(--petrol-deep); color: #fff; }
.nav-reading { padding: 10px 12px 8px; border-radius: 14px; background: var(--canvas); }
.nav-reading__title { margin: 0 0 6px; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.nav-reading ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.nav-reading a { display: grid; gap: 1px; padding: 8px 10px; margin-inline: -10px; border-radius: 10px; color: var(--ink); text-decoration: none; transition: background-color .18s; }
.nav-reading a:hover { background: var(--card); }
.nav-reading small { font-size: .72rem; font-weight: 800; letter-spacing: .04em; color: var(--petrol); }
.nav-reading a span { font-weight: 700; font-size: .92rem; line-height: 1.3; }
.nav-reading a[aria-current="page"] span { color: var(--petrol); }
/* Entrée en cascade des liens */
.js .nav-drop .nav-links > li, .js .nav-drop .nav-reading li, .js .nav-mega__provinces > li { opacity: 0; transform: translateY(-5px); transition: opacity .25s var(--ease-out), transform .35s var(--ease-out); }
.js .nav-item.is-open .nav-links > li, .js .nav-item.is-open .nav-reading li, .js .nav-item.is-open .nav-mega__provinces > li { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 35ms + 40ms); }

/* Méga-menu des villes : province puis villes */
.nav-mega { display: grid; grid-template-columns: 220px 250px minmax(0, 1fr); gap: 10px; }
.nav-mega__intro {
    position: relative; display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: 16px; overflow: hidden;
    background: linear-gradient(160deg, var(--petrol), var(--petrol-deep) 60%, var(--petrol-night)); color: #d3ebf1; font-size: .9rem;
}
.nav-mega__intro::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 140px; height: 140px; border-radius: 50%; border: 22px solid rgba(242, 179, 61, .16); pointer-events: none; }
.nav-mega__intro p { margin: 0; line-height: 1.5; }
.nav-mega__intro .nav-mega__title { color: #fff; font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; line-height: 1.15; }
.nav-mega__all {
    position: relative; z-index: 1; margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 12px 14px; border-radius: 14px; background: var(--amber); color: var(--amber-ink); text-decoration: none;
    transition: transform .2s var(--ease-out), box-shadow .2s;
}
.nav-mega__all:hover { color: var(--amber-ink); transform: translateY(-2px); box-shadow: 0 10px 20px -10px rgba(0, 0, 0, .5); }
.nav-mega__all strong { display: block; font-size: 1rem; }
.nav-mega__all small { display: block; font-size: .78rem; font-weight: 700; opacity: .85; }
.nav-mega__all .icon { width: 20px; height: 20px; flex: none; transition: transform .2s var(--ease-out); }
.nav-mega__all:hover .icon { transform: translateX(4px); }
.nav-mega__provinces { list-style: none; margin: 0; padding: 4px 0; display: grid; gap: 2px; align-content: start; }
.nav-prov {
    position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 38px;
    padding: 5px 10px 5px 16px; border: 0; border-radius: 11px; background: transparent; color: var(--ink); cursor: pointer;
    font: inherit; font-weight: 700; font-size: .93rem; text-align: left; transition: background-color .18s, color .18s;
}
.nav-prov::before { content: ""; position: absolute; left: 5px; top: 10px; bottom: 10px; width: 3px; border-radius: 2px; background: var(--amber); transform: scaleY(0); transition: transform .25s var(--ease-spring); }
.nav-prov:hover { background: var(--canvas); }
.nav-prov.is-active { background: var(--petrol-mist); color: var(--petrol); }
.nav-prov.is-active::before { transform: none; }
.nav-prov__count { flex: none; min-width: 28px; padding: 1px 8px; border-radius: 999px; background: var(--canvas); color: var(--muted); font-size: .75rem; font-weight: 800; text-align: center; }
.nav-prov.is-active .nav-prov__count { background: var(--petrol); color: #fff; }
.nav-mega__cities { min-width: 0; padding: 8px 10px 6px 18px; border-left: 1.5px solid var(--line); }
html:not(.js) .nav-mega__cities { max-height: 60vh; overflow-y: auto; }
.js .nav-cities { display: none; }
.js .nav-cities.is-active { display: block; animation: rise .3s var(--ease-out); }
.nav-cities + .nav-cities { margin-top: 14px; }
.js .nav-cities + .nav-cities { margin-top: 0; }
.nav-cities__title { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.nav-cities__title::after { content: ""; flex: 1; height: 1.5px; background: var(--line); }
.nav-cities ul { list-style: none; margin: 0; padding: 0; columns: 4 140px; column-gap: 10px; }
.nav-cities li { break-inside: avoid; }
.nav-cities a {
    display: flex; align-items: center; gap: 9px; min-height: 32px; padding: 3px 8px; margin-left: -8px; border-radius: 9px;
    color: var(--ink); font-weight: 700; font-size: .92rem; line-height: 1.25; text-decoration: none; transition: background-color .18s, color .18s;
}
.nav-cities a::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); transition: background-color .2s, transform .25s var(--ease-spring); }
.nav-cities a:hover { background: var(--petrol-mist); color: var(--petrol); }
.nav-cities a:hover::before { background: var(--green); transform: scale(1.45); }
.nav-cities a[aria-current="page"] { color: var(--petrol); }
.nav-cities a[aria-current="page"]::before { background: var(--amber); transform: scale(1.45); }

/* Sélecteur de langue : drapeau + code, liste déroulante des deux langues */
.lang-select { position: relative; flex: none; }
.lang-select__button {
    display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 10px 0 12px;
    border: 1.5px solid var(--line-strong); border-radius: 999px; background: var(--card); color: var(--ink);
    font: inherit; font-weight: 800; font-size: .9rem; letter-spacing: .02em; cursor: pointer; transition: border-color .2s, background-color .2s;
}
.lang-select__button:hover, .lang-select.is-open .lang-select__button { border-color: var(--petrol); background: var(--petrol-mist); }
.lang-select img, .lang-choice img, .lang-switch img { width: auto; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .14); }
.lang-select__button img { height: 14px; }
.lang-select__button .icon { width: 15px; height: 15px; color: var(--muted); transition: transform .35s var(--ease-spring); }
.lang-select.is-open .lang-select__button .icon { transform: rotate(180deg); }
.lang-select__menu {
    position: absolute; z-index: 60; right: 0; top: calc(100% + 8px); min-width: 220px; margin: 0; padding: 12px 6px 6px; list-style: none;
    border-radius: 18px; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line), var(--shadow-2); overflow: hidden;
    opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.97); transform-origin: calc(100% - 30px) 0;
    transition: opacity .18s var(--ease-out), transform .3s var(--ease-spring), visibility 0s linear .3s;
}
.lang-select__menu::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(to bottom, var(--amber) 0 3px, var(--green-deep) 3px 6px); }
.lang-select.is-open .lang-select__menu,
html:not(.js) .lang-select:hover .lang-select__menu,
html:not(.js) .lang-select:focus-within .lang-select__menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.lang-select__option {
    display: flex; align-items: center; gap: 12px; min-height: 50px; padding: 0 14px; border-radius: 12px;
    color: var(--ink); font-weight: 800; text-decoration: none; transition: background-color .18s;
}
.lang-select__option img { height: 18px; transition: transform .3s var(--ease-spring); }
.lang-select__option:hover { background: var(--petrol-mist); color: var(--ink); }
.lang-select__option:hover img { transform: rotate(-6deg) scale(1.08); }
.lang-select__option[aria-current] { color: var(--petrol); }
.lang-select__option .icon { margin-left: auto; width: 18px; height: 18px; color: var(--green); }

/* Lien de langue du pied de page */
.lang-switch {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px;
    border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: .92rem;
    border: 1.5px solid var(--line-strong); transition: border-color .2s, background-color .2s;
}
.lang-switch:hover { border-color: var(--petrol); background: var(--petrol-mist); }
.lang-switch img { height: 14px; }
.lang-switch--light { color: #fff; border-color: rgba(255, 255, 255, .35); }
.lang-switch--light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

.menu-toggle {
    display: inline-grid; place-items: center; width: 48px; height: 48px; margin-right: -8px; flex: none;
    border: 0; border-radius: 12px; background: transparent; color: var(--ink); cursor: pointer;
}
.menu-toggle:hover { background: var(--canvas); }
.menu-toggle__bars { position: relative; width: 24px; height: 18px; }
.menu-toggle__bars span {
    position: absolute; left: 0; width: 100%; height: 2.5px; border-radius: 2px; background: currentColor;
    transition: transform .3s var(--ease-out), opacity .2s, top .3s var(--ease-out), width .3s var(--ease-out);
}
.menu-toggle__bars span:nth-child(1) { top: 0; }
.menu-toggle__bars span:nth-child(2) { top: 7.75px; width: 70%; }
.menu-toggle__bars span:nth-child(3) { top: 15.5px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(1) { top: 7.75px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(2) { opacity: 0; width: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(3) { top: 7.75px; transform: rotate(-45deg); }

/* Menu mobile : panneau pleine hauteur sous l'en-tête, menus en accordéons. Sans JS, tout est déplié en bas de l'en-tête. */
.menu-panel { background: var(--petrol-night); color: #fff; }
.js .menu-panel {
    position: fixed; left: 0; right: 0; top: calc(var(--header-h) + 4px); bottom: 0; overflow-y: auto; overscroll-behavior: contain;
    visibility: hidden; opacity: 0; transform: translateY(-12px);
    transition: opacity .25s var(--ease-out), transform .3s var(--ease-out), visibility 0s linear .3s;
}
.js .menu-panel.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.menu-panel__inner { padding-top: 12px; padding-bottom: 40px; }
.menu-panel ul { list-style: none; margin: 0; padding: 0; }
.menu-panel__home {
    display: flex; align-items: center; min-height: 60px; color: #fff; text-decoration: none;
    font-weight: 800; font-size: 1.45rem; letter-spacing: -.02em; border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.menu-panel__home[aria-current="page"], .macc__trigger.is-current > span:first-child { color: var(--amber); }
.macc__item { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.macc__trigger {
    display: flex; align-items: center; gap: 12px; width: 100%; min-height: 62px; padding: 0; margin: 0;
    border: 0; background: none; color: #fff; cursor: pointer; text-align: left;
    font: inherit; font-weight: 800; font-size: 1.45rem; letter-spacing: -.02em;
}
.macc__trigger > span:first-child { flex: 1; min-width: 0; }
.macc__sign { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .09); transition: transform .4s var(--ease-spring), background-color .2s; }
.macc__sign::before, .macc__sign::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2.5px; margin: -1.25px 0 0 -7px; border-radius: 2px; background: var(--amber); transition: background-color .2s; }
.macc__sign::after { transform: rotate(90deg); }
.macc__item.is-open > .macc__trigger .macc__sign { transform: rotate(135deg); background: var(--amber); }
.macc__item.is-open > .macc__trigger .macc__sign::before, .macc__item.is-open > .macc__trigger .macc__sign::after { background: var(--petrol-night); }
.js .macc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .42s var(--ease-out); }
.js .macc__item.is-open > .macc__panel { grid-template-rows: 1fr; }
.macc__inner { min-height: 0; overflow: hidden; }
.js .macc__inner { visibility: hidden; opacity: 0; transform: translateY(-6px); transition: opacity .3s var(--ease-out), transform .4s var(--ease-out), visibility 0s linear .42s; }
.js .macc__item.is-open > .macc__panel > .macc__inner { visibility: visible; opacity: 1; transform: none; transition-delay: .05s, .05s, 0s; }
.macc__links { display: grid; gap: 2px; padding: 0 0 16px !important; }
.macc__link { grid-template-columns: 38px minmax(0, 1fr); padding: 9px 8px; margin-inline: -8px; border-radius: 14px; color: #fff; }
.macc__link:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.macc__link .nav-link__icon { width: 38px; height: 38px; background: rgba(242, 179, 61, .15); color: var(--amber); }
.macc__link strong { display: block; font-size: 1.05rem; line-height: 1.3; }
.macc__link span span { display: block; font-size: .86rem; line-height: 1.4; color: #a9cfd9; font-weight: 600; }
.macc__link[aria-current="page"] strong { color: var(--amber); }
.macc__all {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 2px 0 6px; padding: 12px 16px;
    border-radius: 16px; background: var(--amber); color: var(--amber-ink); text-decoration: none;
}
.macc__all:hover { color: var(--amber-ink); }
.macc__all strong { display: block; font-size: 1.05rem; }
.macc__all small { display: block; font-size: .82rem; font-weight: 700; opacity: .85; }
.macc__all .icon { width: 22px; height: 22px; flex: none; }
.macc--sub { padding-bottom: 12px !important; }
.macc--sub .macc__item { border-bottom-color: rgba(255, 255, 255, .08); }
.macc--sub .macc__item:last-child { border-bottom: 0; }
.macc__trigger--sub { min-height: 52px; font-size: 1.08rem; font-weight: 700; letter-spacing: -.01em; color: #e2f2f6; }
.macc__trigger--sub .macc__sign { width: 28px; height: 28px; }
.macc__trigger--sub .macc__sign::before, .macc__trigger--sub .macc__sign::after { width: 12px; margin-left: -6px; }
.macc__count { flex: none; min-width: 28px; padding: 2px 8px; border-radius: 999px; background: rgba(255, 255, 255, .09); color: #cfe8ee; font-size: .78rem; font-weight: 800; text-align: center; letter-spacing: 0; }
.macc__cities { display: flex; flex-wrap: wrap; gap: 8px; padding: 2px 0 16px !important; }
.macc__cities a {
    display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 999px;
    background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .12); color: #fff; font-weight: 700; text-decoration: none;
    transition: background-color .18s, box-shadow .18s;
}
.macc__cities a:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.macc__cities a[aria-current="page"] { background: var(--amber); color: var(--amber-ink); box-shadow: none; }
.js .menu-panel__home, .js .macc > .macc__item { opacity: 0; transform: translateX(-14px); transition: opacity .3s var(--ease-out), transform .35s var(--ease-out); transition-delay: calc(var(--i, 0) * 40ms + 60ms); }
.js .menu-panel.is-open .menu-panel__home, .js .menu-panel.is-open .macc > .macc__item { opacity: 1; transform: none; }
.js .macc--sub > .macc__item { opacity: 1; transform: none; transition: none; }
.menu-panel__foot { margin-top: 26px; display: grid; gap: 14px; justify-items: start; }
.menu-panel__label { margin: 0; font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #a9cfd9; }
.lang-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; max-width: 440px; margin-bottom: 10px !important; }
.lang-choice a {
    display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 12px; border-radius: 16px;
    background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .2); color: #fff; font-weight: 800; text-decoration: none;
    transition: background-color .18s, box-shadow .18s;
}
.lang-choice a:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.lang-choice a[aria-current] { background: #fff; color: var(--petrol-night); box-shadow: none; }
.lang-choice img { height: 16px; }
.menu-panel :focus-visible { outline-color: var(--amber); }
body.menu-open { overflow: hidden; }

@media (min-width: 560px) {
    .header-cta { display: inline-flex; }
}
@media (min-width: 1140px) {
    :root { --header-h: 72px; }
    .primary-nav { display: block; }
    .menu-toggle, .menu-panel { display: none !important; }
}

/* ---------- Badges des stores (fichiers officiels non modifiés : ni animation, ni effet) ---------- */

.stores { --badge-h: 48px; }
.stores--compact { --badge-h: 42px; }
.stores__list { display: flex; flex-wrap: wrap; gap: 14px 16px; list-style: none; margin: 0; padding: 0; align-items: center; }
/* Chaque badge dans sa propre boîte flex : pas d'alignement sur la ligne de base du texte, qui
   décalait le badge Google Play (marges transparentes compensées) par rapport à celui d'Apple. */
.stores__list > li { display: flex; align-items: center; }
.store-badge { position: relative; display: inline-flex; flex-direction: column; align-items: flex-start; text-decoration: none; border-radius: 9px; overflow: visible; }
.store-badge__img { display: block; height: var(--badge-h); width: auto; max-width: none; }
.store-badge__img--google_play-fr { height: calc(var(--badge-h) * 250 / 192); margin-block: calc(var(--badge-h) * -29 / 192); }
.store-badge__img--google_play-en { height: calc(var(--badge-h) * 250 / 168); margin: calc(var(--badge-h) * -41 / 168); }
.store-badge--soon { cursor: default; }
.store-badge__soon {
    order: -1; display: inline-block; margin-bottom: 6px; padding: 3px 9px; border-radius: 999px;
    font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
    background: var(--amber-soft); color: var(--amber-ink); border: 1px solid var(--amber);
}
@media (prefers-color-scheme: dark) { .store-badge__soon { color: var(--amber); } }
.stores__note { margin: 12px 0 0; font-size: .9rem; color: var(--muted); max-width: 32em; }




/* ---------- Héros de l'accueil ---------- */

.hero { position: relative; overflow: hidden; background: var(--canvas); }
.hero__grid { display: grid; gap: 28px; padding-top: clamp(28px, 6vw, 64px); }
.hero__copy { position: relative; z-index: 2; padding-bottom: 8px; }
.hero__tag {
    display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 6px 12px 6px 8px; border-radius: 999px;
    background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line); font-size: .85rem; font-weight: 800; color: var(--ink-2);
}
.hero__tag .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }
.js .hero__tag .dot { animation: live 2s ease-in-out infinite; }
.hero h1 { max-width: 11.5em; font-size: clamp(1.9rem, 4vw + 1rem, 4.25rem); }
.hero__grid > *, .page-hero__grid > *, .split > *, .faq-layout > *, .doc > * { min-width: 0; }
.hero h1 .swash { position: relative; white-space: nowrap; color: var(--petrol); }
.hero h1 .swash svg { position: absolute; left: -2%; bottom: -.16em; width: 104%; height: .32em; overflow: visible; }
.hero h1 .swash path { fill: none; stroke: var(--amber); stroke-width: 9; stroke-linecap: round; }
.js .hero h1 .swash path { stroke-dasharray: 420; stroke-dashoffset: 420; animation: draw 1s .5s var(--ease-out) forwards; }
.hero .lead { margin-bottom: 26px; }
.hero__stores { margin-top: 26px; }
@media (min-width: 960px) {
    .hero__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); align-items: start; gap: 24px; padding-bottom: 0; }
    .hero__copy { padding-top: 24px; padding-bottom: 64px; }
}

/* Illustration de l'accueil : un slot simple (image de marque centrée) à la place de la mise en
   scène pompe/téléphone/jauge de l'original, qui reconstituait un écran d'app en direct — sans
   équivalent côté ColiGo. Même idiome que .page-hero__art / .split__art (centré, largeur bornée). */
.hero__art { display: flex; justify-content: center; align-items: center; padding: 24px 0 8px; }
.hero__art img { width: min(420px, 85%); height: auto; }
@media (min-width: 960px) { .hero__art { padding: 0; height: 100%; } .hero__art img { width: 100%; max-width: 460px; } }

/* ---------- Recherche de stations (accueil, prix par ville) ---------- */

.finder { position: relative; max-width: 620px; }
.finder__label { display: block; font-weight: 800; font-size: .95rem; margin-bottom: 8px; color: var(--ink); }
.finder__field {
    position: relative; display: flex; align-items: center; gap: 6px; padding: 6px 6px 6px 16px;
    background: var(--card); border-radius: 999px; box-shadow: inset 0 0 0 2px var(--line-strong), var(--shadow-1);
    transition: box-shadow .2s;
}
.finder__field:focus-within { box-shadow: inset 0 0 0 2.5px var(--petrol), 0 0 0 5px color-mix(in srgb, var(--petrol) 18%, transparent), var(--shadow-1); }
.finder__field > .icon { width: 22px; height: 22px; color: var(--petrol); flex: none; }
.finder__input {
    flex: 1; min-width: 0; height: 48px; border: 0; outline: 0; background: transparent; color: var(--ink);
    font: inherit; font-weight: 700; font-size: 1.05rem;
}
.finder__input::placeholder { color: var(--muted); font-weight: 600; opacity: 1; }
.finder__submit { min-height: 48px; padding: 10px 18px; flex: none; }
.finder__submit span { display: none; }
@media (min-width: 420px) { .finder__submit span { display: inline; } }
/* ---------- Badges de source (mêmes codes que l'app) ---------- */

.badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 999px; font-size: .74rem; font-weight: 800; background: var(--canvas); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; }

/* ---------- Sections ---------- */

.section { padding-block: clamp(56px, 9vw, 112px); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.section--canvas { background: var(--canvas); }
.section--petrol { background: linear-gradient(170deg, var(--petrol-deep), var(--petrol-night)); color: #fff; }
.section--petrol h2, .section--petrol h3 { color: #fff; }
.section--petrol .lead, .section--petrol p { color: #d3ebf1; }
.section--petrol a:not(.btn) { color: #fff; }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p:last-child { margin-bottom: 0; }


/* Compteurs */
.counters { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 45%), 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; border-radius: var(--radius); overflow: hidden; box-shadow: inset 0 0 0 1.5px var(--line); background: var(--card); }
.counter { padding: clamp(18px, 3vw, 26px) clamp(14px, 2.4vw, 22px); border-left: 1.5px solid var(--line); margin-left: -1.5px; border-top: 1.5px solid var(--line); margin-top: -1.5px; }
.counter__value { display: block; font-size: clamp(2rem, 5.4vw, 3.4rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--petrol-night); font-variant-numeric: tabular-nums; }
@media (prefers-color-scheme: dark) { .counter__value { color: #fff; } }
.counter__value small { font-size: .45em; letter-spacing: 0; margin-left: 4px; color: var(--green); }
.counter__label { display: block; margin-top: 10px; font-weight: 700; color: var(--ink-2); line-height: 1.4; max-width: 18em; font-size: clamp(.86rem, 1.6vw, 1rem); }
.counters--stack { grid-template-columns: 1fr; }

/* « Comment ça marche » en route */
.road { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 34px; counter-reset: step; }
.road::before { content: ""; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 6px; border-radius: 3px; background: repeating-linear-gradient(to bottom, var(--amber) 0 18px, transparent 18px 32px); }
.road li { position: relative; padding-left: 84px; counter-increment: step; }
.road li::before {
    content: counter(step); position: absolute; left: 0; top: -4px; width: 60px; height: 60px; border-radius: 18px;
    display: grid; place-items: center; background: var(--display-bg); color: var(--digit-amber); font-weight: 800; font-size: 1.8rem;
    box-shadow: inset 0 0 0 2px var(--display-edge), var(--shadow-1); text-shadow: 0 0 14px rgba(255, 200, 87, .5);
}
.road h3 { margin-bottom: 6px; }
.road p { margin: 0; color: var(--ink-2); max-width: 30em; }
@media (min-width: 900px) {
    .road { grid-template-columns: repeat(3, 1fr); gap: 32px; }
    .road::before { left: 30px; right: 30px; top: 27px; bottom: auto; width: auto; height: 6px; background: repeating-linear-gradient(to right, var(--amber) 0 18px, transparent 18px 32px); }
    .road li { padding-left: 0; padding-top: 88px; }
}

/* Mise en page éditoriale : deux colonnes décalées */
.split { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 900px) {
    .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .split--wide-text { grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); }
    .split--wide-art { grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); }
    .split--flip > :first-child { order: 2; }
}
.split__art { position: relative; display: flex; justify-content: center; }



.apps { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 22px; padding: 0; list-style: none; }
.apps li { padding: 8px 14px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 800; font-size: .9rem; }




/* Cartes des articles du blog (accueil, pages de ville et de bornes, blog) */
.section-head--split { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 8px 24px; max-width: none; }
.section-head--split h2 { margin-bottom: 0; }
.post-cards { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); list-style: none; margin: 0; padding: 0; }
.post-card {
    position: relative; display: flex; flex-direction: column; height: 100%; border-radius: var(--radius); overflow: hidden;
    background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line); transition: transform .25s var(--ease-out), box-shadow .25s;
}
.post-card:hover, .post-card:focus-within { transform: translateY(-4px); box-shadow: inset 0 0 0 2px var(--petrol), var(--shadow-2); }
.post-card__img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--petrol-mist); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.post-card:hover .post-card__img img { transform: scale(1.04); }
/* Same box, filled with an icon instead of a cover photo (no article covers yet). */
.post-card__img.is-icon { display: grid; place-items: center; }
.post-card__img.is-icon .icon { width: 25%; height: 25%; min-width: 36px; min-height: 36px; color: var(--petrol); transition: transform .3s var(--ease-spring); }
.post-card:hover .post-card__img.is-icon .icon { transform: scale(1.1) rotate(-6deg); }
.post-card__body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 18px 20px 20px; }
.post-card__cat { margin: 0; font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--petrol); }
.post-card__title { margin: 0; font-size: clamp(1.15rem, 2vw, 1.32rem); line-height: 1.22; letter-spacing: -.02em; }
.post-card__link { color: var(--ink); text-decoration: none; }
.post-card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.post-card__link:focus-visible { outline: none; }
.post-card:has(.post-card__link:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
.post-card__text { margin: 0; color: var(--ink-2); font-size: .97rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card__meta { margin: auto 0 0; padding-top: 6px; font-size: .82rem; font-weight: 700; color: var(--muted); }

/* FAQ */
.faq-layout { display: grid; gap: 28px; }
@media (min-width: 900px) { .faq-layout { grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 56px; } }
.accordion { border-top: 1.5px solid var(--line); }
.accordion details { border-bottom: 1.5px solid var(--line); }
.accordion summary {
    display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 64px; padding: 14px 0;
    list-style: none; cursor: pointer; font-weight: 800; font-size: 1.06rem; line-height: 1.35;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
    content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%;
    background: var(--canvas) no-repeat center / 14px 14px
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 1v12M1 7h12' stroke='%230f7591' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
    transition: transform .3s var(--ease-out), background-color .2s;
}
.accordion details[open] summary::after { transform: rotate(135deg); background-color: var(--amber-soft); }
.section--canvas .accordion summary::after { background-color: var(--card); }
.accordion summary:hover { color: var(--petrol); }
.accordion .answer { padding: 0 52px 20px 0; color: var(--ink-2); }
.accordion .answer p:last-child { margin-bottom: 0; }
.js .accordion details[open] .answer { animation: rise .3s var(--ease-out); }
.faq-group { margin-bottom: 44px; }
.faq-group h2 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); display: flex; align-items: center; gap: 12px; }
.faq-group h2 .icon { width: 30px; height: 30px; color: var(--petrol); }
.faq-filter { margin-bottom: 30px; }
/* Filtre de la FAQ : affiché par site.js ; sa place est réservée dès le premier rendu (classe .js posée dans
   <head>), sinon la page saute quand il apparaît (CLS, docs/seo.md). */
.js .faq-filter[hidden] { display: block; }
.faq-empty { display: none; }

/* Bloc de téléchargement (toutes les pages) */
.download { position: relative; overflow: hidden; background: var(--amber); color: var(--amber-ink); }
.download::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .0) 0 26px, rgba(255, 255, 255, .12) 26px 52px); pointer-events: none; }
.download__inner { position: relative; display: grid; gap: 8px; padding-top: clamp(48px, 7vw, 88px); }
.download h2 { color: var(--amber-ink); font-size: clamp(2rem, 5vw, 3.4rem); max-width: 12em; }
.download p { color: #3d2a05; font-weight: 600; max-width: 30em; }
.download .stores__note { color: #3d2a05; }
.download .store-badge__soon { background: var(--amber-ink); color: var(--amber); border-color: var(--amber-ink); }
.download__text { padding-bottom: 36px; }
.download__phones { position: relative; display: flex; justify-content: center; height: 300px; overflow: hidden; margin-inline: calc(var(--gutter) * -1); }
.download__phones .phone { --phone-w: 210px; position: absolute; top: 0; }
.download__phones .phone:first-child { transform: translateX(-38%) rotate(-6deg); top: 30px; }
.download__phones .phone:last-child { transform: translateX(38%) rotate(5deg); }
@media (prefers-color-scheme: dark) { .download { background: #f2b33d; } }
@media (min-width: 900px) {
    .download__inner { grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: end; }
    .download__text { padding-bottom: 88px; }
    .download__phones { height: 400px; margin: 0; }
    .download__phones .phone { --phone-w: 250px; }
}

/* ---------- Pied de page ---------- */

.site-footer { background: #0a1a20; color: #b9cbd2; font-size: .93rem; }
.site-footer__grid { display: grid; gap: 32px 24px; padding-top: 52px; padding-bottom: 36px; grid-template-columns: 1fr 1fr; }
.site-footer__brand { grid-column: 1 / -1; }
.site-footer__brand p { margin: 14px 0 0; max-width: 26em; }
.site-footer__social { font-size: .85rem; color: #8fa6ae; }
.site-footer h2 { font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; color: #dbe7eb; text-decoration: none; font-weight: 600; }
.site-footer li a:hover { color: #fff; text-decoration: underline; }
.site-footer__sources li { margin-bottom: 8px; font-size: .86rem; line-height: 1.5; }
.site-footer__sources li a { display: inline; min-height: 0; color: #fff; text-decoration: underline; }
.site-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 20px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }
.site-footer__bottom p { margin: 0; }
.site-footer__credits { flex-basis: 100%; font-size: .8rem; opacity: .78; }
.site-footer__credits a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.site-footer__socials { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 12px; }
.licences { display: grid; gap: 6px; padding-left: 18px; }
@media (min-width: 760px) { .site-footer__grid { grid-template-columns: 1fr 1fr 1fr 1fr; } }
@media (min-width: 1100px) { .site-footer__grid { grid-template-columns: 1.4fr .8fr .8fr .9fr 1.1fr; } .site-footer__brand { grid-column: auto; } }

/* ---------- Pages intérieures ---------- */

.breadcrumb { font-size: .85rem; font-weight: 700; color: var(--muted); padding-top: 6px; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .6; }
.breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; color: inherit; }
.breadcrumb li { display: inline-flex; align-items: center; }
.breadcrumb [aria-current] { color: var(--ink); }
.page-hero--dark .breadcrumb, .page-hero--dark .breadcrumb [aria-current] { color: #bfe0e8; }
.page-hero--dark .breadcrumb a { color: #fff; }

.page-hero { position: relative; overflow: hidden; background: var(--canvas); }
.page-hero__grid { display: grid; gap: 28px; padding-top: clamp(24px, 4vw, 48px); padding-bottom: clamp(44px, 6vw, 80px); align-items: center; }
.page-hero h1 { font-size: clamp(2.2rem, 5.6vw, 3.9rem); max-width: 14em; }
.page-hero .lead { margin-bottom: 0; }
.page-hero__art { position: relative; display: flex; justify-content: center; }
@media (min-width: 900px) { .page-hero__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr); } }
.page-hero--dark { background: linear-gradient(160deg, var(--petrol) 0%, var(--petrol-deep) 50%, var(--petrol-night) 100%); color: #fff; }
.page-hero--dark h1 { color: #fff; }
.page-hero--dark .lead { color: #d3ebf1; }
.page-hero--dark .kicker { color: #bfe3ec; }
.page-hero--green { background: linear-gradient(160deg, #13803b, #0d6a30 60%, #0a5527); color: #fff; }
.page-hero--green h1 { color: #fff; }
.page-hero--green .lead { color: #dcf5e4; }
.page-hero--green .kicker { color: #dcf5e4; }
.page-hero--green .kicker::before { background: linear-gradient(90deg, var(--amber) 0 50%, #fff 50% 100%); }
.page-hero--green .breadcrumb, .page-hero--green .breadcrumb [aria-current] { color: #cdeed8; }
.page-hero--green .breadcrumb a { color: #fff; }

.step-index ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.step-index a { display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 10px 16px; border-radius: 16px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .16); color: #fff; text-decoration: none; font-weight: 800; transition: background-color .2s, transform .25s var(--ease-out); }
.step-index a:hover { background: rgba(255, 255, 255, .16); transform: translateX(4px); }
.step-index__n { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--display-bg); color: var(--digit-amber); font-size: 1.25rem; text-shadow: 0 0 12px rgba(255, 200, 87, .45); }

/* Blocs numérotés (Comment ça marche, conseils) */
.chapter { display: grid; gap: 24px; padding-block: clamp(36px, 6vw, 72px); border-top: 1.5px solid var(--line); align-items: center; }
.chapter:first-of-type { border-top: 0; }
.chapter__num { font-size: clamp(4rem, 12vw, 7.5rem); font-weight: 800; line-height: .8; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 2.5px var(--petrol); font-variant-numeric: tabular-nums; }
.chapter h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
.chapter p { color: var(--ink-2); max-width: 34em; }
.chapter .phone { --phone-w: 230px; margin-inline: auto; }
@media (min-width: 900px) {
    .chapter { grid-template-columns: 150px minmax(0, 1fr) 300px; gap: 40px; }
    .chapter .phone { --phone-w: 260px; }
}

/* Sources et badges expliqués */
.source-table { display: grid; gap: 14px; }
.source-row { display: grid; gap: 8px 18px; padding: 18px 20px; border-radius: var(--radius-s); background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line); }
.source-row p { margin: 0; color: var(--ink-2); }
@media (min-width: 720px) { .source-row { grid-template-columns: 240px 1fr; align-items: center; } }


/* Feature rows (texte + capture, alternés) */
.feature { display: grid; gap: 28px; align-items: center; padding-block: clamp(32px, 5vw, 64px); }
.feature + .feature { border-top: 1.5px solid var(--line); }
.feature__art { display: flex; justify-content: center; }
.feature__art .phone { --phone-w: 240px; }
.feature__icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--petrol-mist); color: var(--petrol); margin-bottom: 16px; }
.feature__icon .icon { width: 30px; height: 30px; }
@media (min-width: 900px) {
    .feature { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
    .feature--flip .feature__art { order: -1; }
    .feature__art .phone { --phone-w: 270px; }
}

/* Économiser */
.disclosure { display: flex; gap: 12px; padding: 16px 18px; border-radius: var(--radius-s); background: var(--amber-soft); color: var(--amber-ink); font-weight: 600; margin-bottom: 26px; }
@media (prefers-color-scheme: dark) { .disclosure { color: #f6e3b9; } }
.disclosure .icon { width: 22px; height: 22px; flex: none; margin-top: 2px; }
.disclosure p { margin: 0; }
.empty-state { padding: 28px; border-radius: var(--radius); background: var(--canvas); box-shadow: inset 0 0 0 1.5px dashed var(--line); border: 2px dashed var(--line-strong); }
.empty-state p:last-child { margin-bottom: 0; }

/* À propos */
.principles { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.principles li { display: grid; gap: 6px 28px; padding: 24px 0; border-top: 1.5px solid var(--line); }
.principles h3 { margin: 0; font-size: clamp(1.2rem, 2.4vw, 1.5rem); }
.principles p { margin: 0; color: var(--ink-2); }
@media (min-width: 900px) { .principles li { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } }
.data-sources { display: grid; gap: 14px; }
@media (min-width: 760px) { .data-sources { grid-template-columns: repeat(2, 1fr); } }
.data-source { padding: 20px 22px; border-radius: var(--radius-s); background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line); }
.data-source h3 { margin-bottom: 6px; font-size: 1.08rem; }
.data-source p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.data-source .badge { margin-bottom: 10px; }

/* Texte long (légal, articles) */
.prose { max-width: 44rem; }
.prose h2 { font-size: clamp(1.35rem, 2.6vw, 1.7rem); margin-top: 1.9em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.25em; }
.prose li { margin-bottom: .55em; }
.prose li::marker { color: var(--petrol); }
.prose p, .prose li { color: var(--ink-2); }
.doc { display: grid; gap: 32px; padding-block: clamp(36px, 6vw, 72px); }
@media (min-width: 1000px) { .doc { grid-template-columns: 260px minmax(0, 1fr); gap: 64px; } }
.toc { align-self: start; padding: 18px 20px; border-radius: var(--radius-s); background: var(--canvas); font-size: .9rem; }
.toc h2 { font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc a { display: flex; align-items: center; min-height: 44px; padding: 8px 0; color: var(--ink-2); font-weight: 700; text-decoration: none; line-height: 1.35; }
.toc a:hover { color: var(--petrol); text-decoration: underline; }
@media (min-width: 1000px) { .toc { position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; } }
.callout { padding: 20px 22px; border-radius: var(--radius-s); background: var(--petrol-mist); box-shadow: inset 4px 0 0 var(--petrol); margin: 26px 0; }
.callout h2, .callout h3 { margin-top: 0 !important; font-size: 1.1rem; }
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }

.notice { padding: 18px 20px; border-radius: var(--radius-s); background: var(--green-soft); color: var(--ink); }
.notice.estimate { background: var(--canvas); box-shadow: inset 0 0 0 1.5px var(--line); }
.notice.warn { background: var(--amber-soft); }
.notice h2, .notice h3 { margin-bottom: .3em; font-size: 1.1rem; }
.notice p:last-child { margin-bottom: 0; }
.spaced { margin-top: 24px; }

/* Support */
.contact-card { display: grid; gap: 18px; padding: clamp(24px, 4vw, 36px); border-radius: var(--radius); background: var(--petrol-night); color: #fff; }
.contact-card h2 { color: #fff; margin: 0; }
.contact-card p { margin: 0; color: #d3ebf1; }
.contact-card .btn { justify-self: start; word-break: break-all; }
.topics { display: grid; gap: 12px; }
@media (min-width: 720px) { .topics { grid-template-columns: repeat(2, 1fr); } }
.topic { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 16px 18px; border-radius: var(--radius-s); background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line); }
.topic .icon { width: 28px; height: 28px; color: var(--petrol); margin-top: 2px; }
.topic h3 { margin: 0 0 4px; font-size: 1.05rem; }
.topic p { margin: 0; color: var(--ink-2); font-size: .95rem; }
/* .topic doubling as a link card (home quick tools): same box, just clickable. */
a.topic { text-decoration: none; color: inherit; transition: transform .2s var(--ease-out), box-shadow .2s; }
a.topic:hover, a.topic:focus-visible { color: inherit; transform: translateY(-3px); box-shadow: inset 0 0 0 2px var(--petrol), var(--shadow-2); }

.about-mission p { color: var(--ink-2); max-width: 36em; }

/* 404 */
.lost { text-align: left; }
.lost__grid { display: grid; gap: 28px; align-items: center; padding-block: clamp(48px, 8vw, 110px); }
@media (min-width: 900px) { .lost__grid { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); } }
.lost__code { font-size: .9rem; font-weight: 800; letter-spacing: .14em; color: var(--red); text-transform: uppercase; margin-bottom: 12px; display: block; }
.lost__art { max-width: 380px; margin: 0 auto; }

/* ---------- Illustrations (trait commun) ---------- */

.ill .s { stroke: var(--ill-stroke); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ill .no { fill: none; }
.ill .f-body { fill: var(--ill-body); }
.ill .f-soft { fill: var(--ill-soft); }
.ill .f-petrol { fill: #0f7591; }
.ill .f-deep { fill: #084a5c; }
.ill .f-night { fill: #073b4c; }
.ill .f-green { fill: #13803b; }
.ill .f-amber { fill: #f2b33d; }
.ill .f-red { fill: #c0262d; }
.ill .f-ink { fill: #0d1a1f; }
.ill .f-white { fill: #ffffff; }
.ill .f-glass { fill: #bfe3ec; }
.ill .t-label { font-family: var(--font); font-weight: 800; fill: var(--ink); }
.ill .seg { fill: var(--digit-amber); }
.js .ill .seg { animation: flicker 3.2s steps(1) infinite; animation-delay: calc(var(--i, 0) * 230ms); }

.gauge { width: 100%; height: auto; filter: drop-shadow(0 12px 20px rgba(4, 30, 38, .35)); }
.gauge .face { fill: #fff; }
.gauge .rim { fill: #0d1a1f; }
.gauge .tick { stroke: #0d1a1f; stroke-width: 3; stroke-linecap: round; }
.gauge .red-zone { fill: none; stroke: var(--red); stroke-width: 8; }
.gauge .needle { transform-origin: 60px 62px; transform: rotate(var(--to, 50deg)); }
.js .gauge .needle { transform: rotate(-115deg); animation: needle 2.2s .5s var(--ease-spring) forwards; }
.js .gauge--empty .needle { animation: needle-empty 3.4s .3s ease-in-out infinite; }
.gauge text { font-family: var(--font); font-weight: 800; font-size: 13px; fill: #0d1a1f; }
.gauge .lamp { fill: var(--amber); }
.js .gauge--empty .lamp { animation: blink 1.1s steps(1) infinite; }

/* ---------- Apparition au défilement et animations ---------- */

.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .55s var(--ease-out), transform .65s var(--ease-out); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal="left"] { transform: translateX(-26px); }
.js [data-reveal="right"] { transform: translateX(26px); }
.js [data-reveal="zoom"] { transform: scale(.94); }

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes drop { 0% { opacity: 0; transform: translateY(-40px); } 60% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes pulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.2); opacity: 0; } }
@keyframes drive { to { offset-distance: 100%; } }
@keyframes live { 0%, 100% { box-shadow: 0 0 0 4px var(--green-soft); } 50% { box-shadow: 0 0 0 7px transparent; } }
@keyframes flicker { 0%, 100% { opacity: 1; } 47% { opacity: .35; } 50% { opacity: 1; } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .15; } }
@keyframes needle { 0% { transform: rotate(-115deg); } 100% { transform: rotate(var(--to, 50deg)); } }
@keyframes needle-empty { 0%, 100% { transform: rotate(-112deg); } 50% { transform: rotate(-104deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.js .hero__gauge { animation: float 6s ease-in-out 3s infinite; }

/* Trajet qui voyage le long d'un chemin (offset-path) : apparaît, parcourt, disparaît, recommence —
   le « saut » au point de boucle reste invisible grâce au fondu aux deux bouts. */
@keyframes travel {
    0% { offset-distance: 0%; opacity: 0; }
    8% { opacity: 1; }
    90% { opacity: 1; }
    100% { offset-distance: 100%; opacity: 0; }
}
/* Léger balancement (icône avion/valise). */
@keyframes sway { 0%, 100% { transform: rotate(0deg); } 25% { transform: rotate(-4deg); } 75% { transform: rotate(4deg); } }
/* Pulsation discrète d'un badge/coche. */
@keyframes badge-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }

/* ---------- Mouvement ambiant discret (illustrations, badges, trajet) ---------- */
/* Utilitaires réutilisés sur plusieurs pages pour que les illustrations ne soient plus seulement
   « apparaît une fois au défilement » : un léger mouvement continu, désactivé ci-dessous pour
   prefers-reduced-motion comme tout le reste de cette section. */
.js .ill-float { animation: float 6s ease-in-out infinite; }
.js .ill-sway { animation: sway 5s ease-in-out infinite; transform-origin: 50% 85%; }
.js .badge-pulse { animation: badge-pulse 2.4s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important; }
    .js [data-reveal] { opacity: 1; transform: none; }
    .js .map-canada .pin { opacity: 1; transform: none; }
    .js .route-art .route, .js .route-art .route-glow { stroke-dashoffset: 0; }
    .js .hero h1 .swash path { stroke-dashoffset: 0; }
    .js .route-art .car { offset-distance: 100%; }
    .js .gauge .needle { transform: rotate(var(--to, 50deg)); }
    .js .gauge--empty .needle { transform: rotate(-108deg); }
    .js .menu-panel__home, .js .macc > .macc__item, .js .nav-drop .nav-links > li, .js .nav-drop .nav-reading li, .js .nav-mega__provinces > li { opacity: 1; transform: none; }
    /* Mouvement ambiant (illustrations, badges, trajet) : arrêt net plutôt qu'un simple ralenti,
       chaque élément retrouve un état immobile cohérent (jamais à mi-fondu ou hors trajet). */
    .js .ill-float, .js .ill-sway, .js .badge-pulse { animation: none !important; transform: none !important; }
    .js .route-motif__traveler { animation: none !important; offset-distance: 55% !important; opacity: 1 !important; }
    .js .route-motif__halo { animation: none !important; transform: none !important; opacity: .35 !important; }
}

/* ---------- Compléments des pages intérieures ---------- */

.page-hero__sidebar { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.page-hero__sidebar-art { width: min(200px, 70%); margin: 0 auto; }
.page-hero__panel { width: 100%; padding: clamp(18px, 3vw, 26px); border-radius: var(--radius); background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .16); }
.page-hero:not(.page-hero--dark):not(.page-hero--green):not(.page-hero--plus) .page-hero__panel { background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line), var(--shadow-1); }
.page-hero--dark .finder__label, .page-hero--dark .finder__locate { color: #fff; }
.page-hero--dark .finder__results { color: var(--ink); }
.page-hero--editorial { background: var(--bg); border-bottom: 1.5px solid var(--line); }
.page-hero--editorial h1 { font-size: clamp(2.3rem, 6vw, 4.4rem); max-width: 16em; }
.city-hero__fuel { margin: 0 0 4px; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #bfe3ec; }
.city-hero__boards { margin-top: 10px; }
.city-cta { padding: clamp(22px, 4vw, 32px); border-radius: var(--radius); background: var(--amber); color: var(--amber-ink); }
.city-cta h2 { color: var(--amber-ink); font-size: clamp(1.4rem, 3vw, 1.9rem); }
.city-cta p { color: #3d2a05; font-weight: 600; }
.city-cta .store-badge__soon { background: var(--amber-ink); color: var(--amber); border-color: var(--amber-ink); }

/* Comment ça marche : la question du retour */
.prompt-card { display: grid; gap: 6px; justify-items: start; width: min(100%, 300px); margin-inline: auto; padding: 24px; border-radius: 26px; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line), var(--shadow-2); }
.prompt-card__icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 8px; border-radius: 16px; background: var(--green-soft); color: var(--green-ink); }
.prompt-card__icon .icon { width: 28px; height: 28px; }
.prompt-card strong { font-size: 1.25rem; letter-spacing: -.02em; }
.prompt-card > span:not([class]) { color: var(--muted); font-weight: 700; font-size: .9rem; }
.prompt-card__actions { display: flex; gap: 8px; width: 100%; margin-top: 14px; }
.prompt-card__yes, .prompt-card__no { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; border-radius: 999px; font-weight: 800; font-size: .92rem; }
.prompt-card__yes { background: var(--green); color: #fff; }
@media (prefers-color-scheme: dark) { .prompt-card__yes { background: #1b8a44; } }
.prompt-card__yes .icon { width: 18px; height: 18px; }
.prompt-card__no { box-shadow: inset 0 0 0 2px var(--line-strong); color: var(--ink); }
.js .is-visible .prompt-card__yes { animation: tap 2.8s 1s ease-in-out infinite; }



/* Stations partenaires */
.perk-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 20px; }
.perk-list li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
.perk-list__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--green-soft); color: var(--green-ink); }
@media (prefers-color-scheme: dark) { .perk-list__icon { color: var(--green); } }
.perk-list__icon .icon { width: 26px; height: 26px; }
.perk-list strong { display: block; font-size: 1.08rem; margin-bottom: 2px; }
.perk-list span { color: var(--ink-2); }


/* À propos */
.about-drop img { width: min(240px, 60vw); height: auto; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .35)); }
.js .about-drop img { animation: float 7s ease-in-out infinite; }

.about-mission p { color: var(--ink-2); max-width: 36em; }

/* 404 */
.lost__links { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 22px; }


@keyframes tap { 0%, 80%, 100% { transform: scale(1); } 86% { transform: scale(.94); } 92% { transform: scale(1.03); } }




/* ---------- Estimateur de prix (widget réutilisable, Tarifs/Entreprise...) ---------- */
.estimator { padding: clamp(20px, 3vw, 28px); border-radius: var(--radius); background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line); }
.estimator__fields { display: grid; gap: 16px; margin: 16px 0; }
@media (min-width: 560px) { .estimator__fields { grid-template-columns: 1fr 1fr; } }
.estimator__unit { padding-right: 10px; font-weight: 800; font-size: .85rem; color: var(--muted); flex: none; white-space: nowrap; }
.estimator__result { display: flex; align-items: baseline; gap: 10px; margin: 4px 0 18px; }
.estimator__total { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -.03em; color: var(--petrol-night); }
@media (prefers-color-scheme: dark) { .estimator__total { color: #fff; } }
.estimator .notice { margin: 0; }

/* ---------- Trajets récents (widget réutilisable : teaser de données réelles) ---------- */
.routes-card { padding: clamp(20px, 3vw, 28px); border-radius: var(--radius); background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line); }
.routes-teaser { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.routes-teaser__item { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--radius-s); background: var(--canvas); font-weight: 700; }
.routes-teaser__city { color: var(--ink); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.routes-teaser__arrow { color: var(--petrol); flex: none; }
.routes-teaser__kind { margin-left: auto; flex: none; }
.routes-card .empty-state { margin-top: 16px; }

/* ---------- Motif de trajet animé (accueil, Entreprise, Comment ça marche, Envoyer un colis,
   Devenir voyageur) : deux points reliés par un trait pointillé, une icône qui parcourt le trajet
   en boucle — rappelle le vrai flux ColiGo (une annonce a toujours une origine et une destination,
   voir docs/api.md) sans jamais afficher de ville ni de donnée réelle. SVG en ligne (pas un fichier
   externe) : seule façon de cibler une partie précise avec ce CSS. Variante --compact : même tracé,
   affiché plus petit, sans l'étiquette de code. */
.route-motif { width: 100%; max-width: 560px; margin: 0 auto; }
.route-motif--compact { max-width: 260px; }
.route-motif svg { width: 100%; height: auto; overflow: visible; }
.route-motif__glow { fill: none; stroke: color-mix(in srgb, var(--amber) 30%, transparent); stroke-width: 11; stroke-linecap: round; }
.route-motif__path { fill: none; stroke: var(--amber); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 9 11; }
.route-motif__halo { fill: var(--petrol); opacity: .35; transform-box: fill-box; transform-origin: center; }
.route-motif__pin { stroke: var(--bg); stroke-width: 3; }
.route-motif__pin--origin { fill: var(--petrol); }
.route-motif__pin--dest { fill: var(--amber-deep); }
.route-motif__traveler { offset-path: path("M40,120 Q280,10 520,40"); offset-rotate: auto; offset-distance: 0%; display: none; }
@supports (offset-path: path("M0 0")) { .route-motif__traveler { display: inline; } }
.route-motif__traveler path { fill: var(--amber-deep); }
.route-motif__tag-bg { fill: var(--petrol-deep); }
.route-motif__tag-text { font-family: var(--font); font-weight: 800; font-size: 13px; fill: #fff; }
.js .is-visible .route-motif__halo { animation: pulse 2.4s ease-out infinite; }
.js .is-visible .route-motif__traveler { animation: travel 6s linear infinite; }

/* ---------- Formulaires (Contact, liste d'attente Entreprise) ---------- */
.form { display: grid; gap: 20px; max-width: 42rem; }
.form-row { display: grid; gap: 20px; }
@media (min-width: 640px) { .form-row { grid-template-columns: repeat(2, 1fr); } }
.form-field { display: grid; gap: 8px; }
.form-field label { font-weight: 800; font-size: .92rem; color: var(--ink); }
.form-field input, .form-field textarea {
    width: 100%; min-height: 48px; padding: 12px 16px; border: none; border-radius: var(--radius-s);
    background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line); font: inherit; color: var(--ink);
    transition: box-shadow .2s;
}
.form-field textarea { min-height: 150px; padding-top: 14px; resize: vertical; }
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--muted); font-weight: 600; opacity: 1; }
.form-field input:focus, .form-field textarea:focus { outline: none; box-shadow: inset 0 0 0 2.5px var(--petrol), 0 0 0 5px color-mix(in srgb, var(--petrol) 18%, transparent); }
.form-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

/* Impression : contenu seul */
@media print {
    .site-header, .download, .site-footer, .finder, .menu-panel { display: none !important; }
    body { color: #000; background: #fff; }
}
