/* ==========================================================================
   SkiAlpine — feuille de style
   Maquette : bleu nuit + orange, titres Outfit, texte DM Sans.
   ========================================================================== */

:root {
    --navy: #0b1a33;
    --navy-2: #13294d;
    --blue: #1e4e8c;
    --blue-600: #2a62a8;
    --blue-50: #e8f0fa;
    --orange: #ff6b3d;
    --orange-600: #f2582a;
    --orange-50: #fff1eb;
    --orange-ink: #b8431b; /* orange lisible en texte sur fond clair */
    --green: #1a7a50;
    --green-50: #e7f5ee;
    --red: #e5484d;

    --ink: #0b1a33;
    --ink-2: #33415c;
    --muted: #5f6e85;
    --line: #e3e8f0;
    --line-2: #d5dde8;
    --bg: #ffffff;
    --bg-soft: #f4f6fa;

    --slope-green: #2e9e6a;
    --slope-blue: #2f7ed8;
    --slope-red: #e5484d;
    --slope-black: #1a1f2c;

    /* Une couleur par département (carte, mini-carte, légendes). Palette validée daltonisme : départements limitrophes bien séparés. */
    --dept-74: #1baf7a; --dept-73: #2a78d6; --dept-38: #eda100; --dept-26: #9443c4;
    --dept-05: #a2622a; --dept-04: #e87ba4; --dept-06: #008300;
    /* Hors de France, une couleur par pays pour toutes ses zones (provinces, cantons), doublée d'une forme propre
       (carré pour l'Italie, losange pour la Suisse) : on ne dépend pas de la couleur seule pour les distinguer. */
    --country-italy: #3a3f58; --country-switzerland: #d7263d;
    --dept-AO: var(--country-italy); --dept-SO: var(--country-italy); --dept-BZ: var(--country-italy); --dept-BL: var(--country-italy); --dept-TO: var(--country-italy);
    --dept-VS: var(--country-switzerland); --dept-GR: var(--country-switzerland); --dept-UR: var(--country-switzerland); --dept-OW: var(--country-switzerland); --dept-BE: var(--country-switzerland); --dept-VD: var(--country-switzerland); --dept-FR: var(--country-switzerland); --dept-LU: var(--country-switzerland); --dept-NW: var(--country-switzerland); --dept-SZ: var(--country-switzerland); --dept-GL: var(--country-switzerland); --dept-SG: var(--country-switzerland); --dept-TI: var(--country-switzerland);

    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --shadow-sm: 0 1px 2px rgba(11, 26, 51, .05);
    --shadow: 0 6px 24px rgba(11, 26, 51, .07);
    --shadow-lg: 0 18px 50px rgba(11, 26, 51, .16);

    --font-title: "Outfit", system-ui, sans-serif;
    --font-body: "DM Sans", system-ui, sans-serif;
    --container: 1296px;
    --nav-h: 88px;
    --keyfacts-overlap: 44px; /* chevauchement de .keyfacts sur le bandeau .st-hero */
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.55;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
main { flex: 1; }
h1, h2, h3, h4 { font-family: var(--font-title); font-weight: 600; line-height: 1.12; margin: 0; }
strong, b { font-weight: 600; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: #fff; color: var(--ink); padding: 12px 16px; border-radius: var(--radius-sm); font-weight: 600; }
.skip-link:focus { top: 12px; }

.icon { width: 1.1em; height: 1.1em; flex: none; }
.icon--xs { width: 12px; height: 12px; }

.eyebrow { font-size: 14px; font-weight: 500; color: var(--muted); }
.section { padding: clamp(56px, 7vw, 88px) 0; }
.section--soft { background: var(--bg-soft); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.section__head h2 { font-size: clamp(28px, 3.4vw, 40px); margin-top: 8px; letter-spacing: -.01em; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--blue); white-space: nowrap; }
.link-arrow:hover { color: var(--orange-ink); }
.muted { color: var(--muted); }

/* ---------- Boutons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 48px; padding: 0 24px; border-radius: var(--radius);
    font-weight: 600; font-size: 16px; white-space: nowrap;
    border: 1px solid transparent; transition: background .15s, border-color .15s, color .15s, transform .15s, box-shadow .15s;
}
.btn:active { transform: translateY(1px); }
.btn--sm { height: 44px; padding: 0 16px; }
.btn--lg { height: 56px; padding: 0 32px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--orange { background: var(--orange); color: var(--navy); font-family: var(--font-title); font-weight: 600; } /* bleu nuit : 6,1:1 sur l'orange, contre 2,8:1 pour le blanc */
.btn--orange:hover { background: var(--orange-600); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-2); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--blue-50); }
.btn--outline { background: #fff; border-color: var(--line-2); color: var(--ink); }
.btn--outline:hover { border-color: var(--blue); color: var(--blue); }
.btn--outline-light { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn--outline-light:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn--ghost { color: var(--blue); padding: 0 8px; height: auto; }
.btn[disabled], .btn.is-disabled { opacity: .45; pointer-events: none; }
.btn .icon { width: 16px; height: 16px; }

/* ---------- Navigation ---------- */
.site-nav { background: var(--navy); color: #fff; position: relative; z-index: 40; }
.site-nav--transparent { position: absolute; inset: 0 0 auto; background: var(--navy); box-shadow: 0 1px 0 rgba(255, 255, 255, .08), 0 6px 20px rgba(11, 26, 51, .28); } /* même couleur que sur les autres pages */
.site-nav__inner { display: flex; align-items: center; gap: 24px; height: var(--nav-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-title); font-weight: 600; font-size: 24px; letter-spacing: -.02em; color: #fff; white-space: nowrap; flex: none; }
.brand__mark img { display: block; width: auto; height: 28px; }
.site-nav__links { display: flex; gap: 40px; margin: 0 auto; }
.site-nav__links a, .site-nav__consent { color: rgba(255, 255, 255, .92); font-size: 16px; font-weight: 500; white-space: nowrap; transition: color .15s; }
.site-nav__links a:hover, .site-nav__links a.is-active, .site-nav__consent:hover { color: var(--orange); }
.site-nav__consent { text-align: left; }
.site-nav__links a.is-active { color: #ff8a63; }
.site-nav__actions { display: flex; align-items: center; gap: 12px; }
.site-nav__fav .icon { width: 16px; height: 16px; }
.site-nav__toggle { display: none; width: 44px; height: 44px; border-radius: var(--radius); color: #fff; align-items: center; justify-content: center; }
.site-nav__toggle .icon { width: 24px; height: 24px; }
.site-nav__toggle .site-nav__icon-close, .site-nav__toggle[aria-expanded="true"] .site-nav__icon-open { display: none; }
.site-nav__toggle[aria-expanded="true"] .site-nav__icon-close { display: block; }
.site-nav__mobile-only { display: none; }

/* Recherche du header : champ en ligne sur grand écran, icône + panneau en dessous de 1280 px */
.nav-search { position: relative; }
.nav-search.is-hidden { visibility: hidden; } /* page qui a déjà son propre champ : la place reste réservée, les liens ne bougent pas */
.nav-search__toggle {
    display: none; width: 44px; height: 44px; border-radius: var(--radius); color: #fff; place-items: center;
    border: 1px solid rgba(255, 255, 255, .45); transition: background .15s, border-color .15s;
}
.nav-search__toggle:hover, .nav-search.is-open .nav-search__toggle { background: rgba(255, 255, 255, .1); border-color: #fff; }
.nav-search__toggle .icon { width: 16px; height: 16px; }
.nav-search__form { position: relative; width: 262px; }
.nav-search__form > .icon {
    position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px;
    color: rgba(255, 255, 255, .75); pointer-events: none; z-index: 1;
}
.nav-search__input {
    width: 100%; height: 44px; border-radius: var(--radius); border: 1px solid rgba(255, 255, 255, .3);
    background: rgba(255, 255, 255, .1); color: #fff; padding: 0 16px 0 44px; font-size: 16px;
    transition: background .15s, border-color .15s, color .15s;
}
.nav-search__input::placeholder { color: rgba(255, 255, 255, .72); }
.nav-search__input:hover { border-color: rgba(255, 255, 255, .55); }
.nav-search__input:focus { outline: none; background: #fff; color: var(--ink); border-color: #fff; box-shadow: 0 0 0 4px rgba(255, 107, 61, .35); }
.nav-search__input:focus::placeholder { color: var(--muted); }
.nav-search__form:focus-within > .icon { color: var(--blue); }
.nav-search .suggestions { left: auto; right: 0; width: 360px; }

.user-menu { position: relative; }
.user-menu__btn { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 500; height: 44px; padding: 0 4px; }
.user-menu__name { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--orange); color: var(--navy); font-family: var(--font-title); font-weight: 600; display: inline-grid; place-items: center; font-size: 16px; text-transform: uppercase; }
.avatar--lg { width: 72px; height: 72px; font-size: 28px; }
.user-menu__panel {
    position: absolute; right: 0; top: calc(100% + 10px); width: 240px; background: #fff; color: var(--ink);
    border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 8px; border: 1px solid var(--line);
}
.user-menu__head { padding: 12px 12px 12px; border-bottom: 1px solid var(--line); margin-bottom: 8px; display: grid; gap: 2px; }
.user-menu__head span { font-size: 14px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.user-menu__panel a, .user-menu__panel button { display: flex; align-items: center; gap: 8px; width: 100%; padding: 12px 12px; border-radius: var(--radius-sm); font-size: 16px; text-align: left; }
.user-menu__panel a:hover, .user-menu__panel button:hover { background: var(--bg-soft); }
.user-menu__panel [data-logout] { color: var(--red); }
.user-menu__panel .icon { width: 16px; height: 16px; color: var(--muted); }
.user-menu__panel [data-logout] .icon { color: var(--red); }

/* ---------- Hero accueil ---------- */
.hero {
    position: relative; overflow: hidden; color: #fff;
    /* voile bleu nuit côté texte (gauche) et en bas, montagnes dégagées à droite + photo ; le dégradé seul sert de secours si la photo manque */
    background:
        linear-gradient(90deg, rgba(11, 26, 51, .74) 0%, rgba(11, 26, 51, .6) 48%, rgba(11, 26, 51, .08) 82%),
        linear-gradient(180deg, rgba(11, 26, 51, .5) 0%, rgba(11, 26, 51, .1) 45%, rgba(11, 26, 51, .6) 100%),
        url("../images/hero-accueil.webp") center 70% / cover no-repeat,
        linear-gradient(180deg, #0b1a33 0%, #173a68 42%, #2d5f97 78%, #3a6ea6 100%);
    padding: calc(var(--nav-h) + 72px) 0 152px;
}
/* Sur une étiquette : la neige passe derrière le texte, sans voile de ce côté de la photo */
.hero__credit {
    position: absolute; right: 16px; bottom: 120px; z-index: 2; padding: 2px 8px; border-radius: var(--radius-sm);
    font-size: 12px; color: #fff; background: rgba(11, 26, 51, .6);
}
.hero__credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.hero__credit a:hover { color: #fff; }
.hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 110px; color: var(--bg-soft); } /* enchaîne sur le bandeau de chiffres */
.hero__inner { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(40px, 5.6vw, 72px); letter-spacing: -.02em; margin: 0 0 20px; max-width: 920px; line-height: 1.04; }
.hero__lead { font-size: 18px; color: #fff; max-width: 640px; }
/* Raccourcis vers les pages pays, sous le formulaire */
.hero__countries { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 24px; font-size: 14px; color: rgba(255, 255, 255, .8); }
.hero__countries > span { margin-right: 4px; }
/* Bleu nuit plein sur la photo, blanc au survol : discret à côté de « Trouver ma station » */
.hero__countries .btn {
    height: 36px; padding: 0 12px 0 14px; gap: 8px; font-size: 14px; font-weight: 500; border-radius: var(--radius-sm);
    background: rgba(11, 26, 51, .62); border-color: rgba(255, 255, 255, .14); transition: background-color .15s, border-color .15s, color .15s;
}
.hero__countries .btn:hover, .hero__countries .btn:focus-visible { background: #fff; border-color: #fff; color: var(--ink); }
.hero__countries .btn .icon { width: 14px; height: 14px; opacity: .6; transition: transform .15s, opacity .15s; }
.hero__countries .btn:hover .icon { opacity: 1; transform: translateX(2px); }
.hero__countries-count { font-weight: 400; font-variant-numeric: tabular-nums; opacity: .6; }

.finder {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; align-items: center;
    margin: 48px 0 0; background: #fff; color: var(--ink);
    border-radius: var(--radius-lg); padding: 12px 12px 12px 16px; box-shadow: var(--shadow-lg); text-align: left;
}
.finder__field { position: relative; display: flex; align-items: center; gap: 12px; padding: 8px 16px; min-width: 0; }
.finder__field + .finder__field::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.finder__icon { width: 40px; height: 40px; border-radius: var(--radius-sm); background: var(--bg-soft); color: var(--ink-2); display: grid; place-items: center; flex: none; }
.finder__icon .icon { width: 20px; height: 20px; }
.finder__text { display: block; min-width: 0; flex: 1; min-height: 44px; }
.finder__label { display: block; font-size: 14px; line-height: 20px; color: var(--muted); }
/* Toute la surface du champ ouvre la liste : 16 + 40 + 12 = aligné sous le libellé */
.finder select {
    position: absolute; inset: 0; width: 100%; height: 100%; border-radius: var(--radius);
    appearance: none; border: 0; background: transparent; padding: 28px 36px 8px 68px; font-size: 16px; color: var(--ink);
    cursor: pointer; text-overflow: ellipsis; white-space: nowrap; overflow: hidden;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7a90' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 16px center; background-size: 12px;
}
/* Liste stylée là où le navigateur le permet (Chrome 135+) ; ailleurs, la liste native reste */
@supports (appearance: base-select) {
    .finder select, .finder select::picker(select) { appearance: base-select; }
    .finder select { display: block; } /* base-select passe en flex : le texte doit rester sous le libellé */
    .finder select::picker-icon { display: none; } /* le chevron reste celui de l'arrière-plan */
    .finder select:open { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7a90' stroke-width='2.5'%3E%3Cpath d='m6 15 6-6 6 6'/%3E%3C/svg%3E"); }
    .finder select::picker(select) {
        margin: 8px 0; min-width: anchor-size(width); padding: 4px; /* marge des deux côtés : la liste s'ouvre vers le haut s'il manque de place */ border: 1px solid var(--line); border-radius: var(--radius);
        background: #fff; box-shadow: var(--shadow-lg); opacity: 0; translate: 0 -4px;
        transition: opacity .15s, translate .15s, overlay .15s allow-discrete, display .15s allow-discrete;
    }
    .finder select:open::picker(select) { opacity: 1; translate: 0 0; }
    @starting-style { .finder select:open::picker(select) { opacity: 0; translate: 0 -4px; } }
    .finder option {
        display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 12px; border-radius: var(--radius-sm);
        font-size: 15px; color: var(--ink-2); cursor: pointer; transition: background-color .1s, color .1s;
    }
    .finder option::checkmark { order: 1; margin-left: auto; content: ""; width: 16px; height: 16px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / contain no-repeat; }
    .finder option:hover, .finder option:focus-visible { background: var(--bg-soft); color: var(--ink); outline: none; }
    .finder option:checked { color: var(--orange-ink); font-weight: 500; }
    .finder option:first-child { color: var(--muted); } /* « Tous… » = pas de filtre */
    .finder option:first-child:checked { color: var(--ink); }
}
.finder select:focus { outline: none; }
.finder select:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
.finder__field:focus-within { background: var(--bg-soft); border-radius: var(--radius); }
.finder .btn { height: 60px; padding: 0 32px; border-radius: var(--radius); }

/* ---------- Critères ---------- */
/* Bandeau de chiffres : colonnes calées sur les cartes critères juste en dessous */
.home-stats { position: relative; margin-top: -1px; background: var(--bg-soft); padding: 20px 0 48px; } /* -1px : masque la jointure avec la vague sur les écrans à 125 % */
.home-stats__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.home-stats__list li { display: grid; gap: 4px; }
.home-stats strong { font-family: var(--font-title); font-size: clamp(32px, 3.4vw, 40px); line-height: 1; letter-spacing: -.01em; color: var(--ink); }
.home-stats span { font-size: 14px; color: var(--muted); }

/* Une ligne de texte plutôt qu'une rangée de cartes : ces blocs ne sont pas des liens */
.criteria { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.criteria__card { padding-top: 20px; border-top: 1px solid var(--line); }
.criteria__icon { width: 48px; height: 48px; border-radius: var(--radius); display: grid; place-items: center; margin-bottom: 20px; }
.criteria__icon .icon { width: 20px; height: 20px; }
.criteria__card h3 { font-size: 20px; margin-bottom: 8px; }
.criteria__card p { color: var(--muted); font-size: 14px; }
/* Icônes : une seule teinte neutre. Les couleurs vives restent réservées aux photos, à la carte et aux pistes. */
.tone-orange, .tone-blue, .tone-green, .tone-purple { background: var(--bg-soft); color: var(--ink-2); }

/* ---------- Cartes station ---------- */
.st-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; }
.st-grid--4 { grid-template-columns: repeat(4, 1fr); gap: 28px; }
.st-grid--3 { grid-template-columns: repeat(3, 1fr); }

.st-card {
    --c1: #1e3f73; --c2: #5b8fc9; --snow: #eef2f8; --edge: #7fb0e0;
    position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg);
    box-shadow: 0 2px 14px rgba(11, 26, 51, .07); border: 1px solid transparent; overflow: hidden;
    transition: transform .2s, box-shadow .2s, border-color .2s, opacity .2s;
}
.st-card:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(11, 26, 51, .13); }
.st-card:focus-within { box-shadow: 0 0 0 3px rgba(255, 107, 61, .35), var(--shadow); }
.st-card.is-selected { border-color: var(--orange); box-shadow: 0 0 0 1px var(--orange), var(--shadow); }
.st-card.is-leaving { opacity: 0; transform: scale(.96); }

/* Station sans photo : une seule illustration bleue, quel que soit le thème éditorial */
.theme-blue, .theme-green, .theme-amber, .theme-purple, .theme-teal, .theme-dusk, .theme-steel, .theme-emerald { --c1: #1e3f73; --c2: #5f94cf; --snow: #eef2f8; --edge: #86b3e2; }

.st-card__media { position: relative; aspect-ratio: 2 / 1.02; background: linear-gradient(180deg, var(--c1) 0%, var(--c2) 100%); border-bottom: 1px solid var(--edge); }
.st-card__media .art { position: absolute; inset: auto 0 0; width: 100%; height: 76%; }
.art__snow { fill: var(--snow); }
.st-card__dept {
    position: absolute; left: 12px; top: 12px; z-index: 2; padding: 4px 8px; border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, .92); font-size: 12px; font-weight: 500; color: var(--ink);
}
.fav-btn {
    position: absolute; right: 12px; top: 12px; z-index: 3; width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255, 255, 255, .92); color: var(--orange-ink); display: grid; place-items: center;
    transition: transform .15s, background .15s, color .15s;
}
.fav-btn .icon { width: 16px; height: 16px; }
.fav-btn:hover { transform: scale(1.08); }
.fav-btn[aria-pressed="true"] { background: var(--orange-ink); color: #fff; }
.fav-btn[aria-pressed="true"] .icon { fill: currentColor; }
.fav-btn.pop { animation: pop .32s ease; }
@keyframes pop { 50% { transform: scale(1.25); } }

.st-card__body { padding: 20px 20px 24px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.st-card__head { display: flex; justify-content: space-between; gap: 12px; }
.st-card__title { font-size: 20px; }
.st-card__sub { color: var(--muted); font-size: 14px; margin-top: 4px; }
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }
/* Chiffres en 3 colonnes égales, calés en bas de la carte : alignés d'une carte à l'autre. */
.st-card__stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 8px; margin-top: auto; background: var(--bg-soft); border-radius: var(--radius); padding: 12px 16px; }
.st-card__stats div { display: flex; flex-direction: column-reverse; }
.st-card__stats div:nth-child(2) { text-align: center; }
.st-card__stats div:last-child { text-align: right; }
.st-card__stats dd { font-family: var(--font-title); font-weight: 600; font-size: clamp(14px, 1.2vw, 16px); white-space: nowrap; }
.st-card__stats dt { font-size: 12px; color: var(--muted); white-space: nowrap; }
/* Barre de pistes : fine et rapprochée des chiffres (8 px au lieu des 16 px d'écart de la carte). */
.st-card__stats + .slope-bar { height: 4px; margin-top: -8px; }
/* Station sans données de pistes : rien d'affiché, mais les chiffres restent alignés sur les autres cartes. */
.st-card__stats:has(+ .tags) { margin-bottom: 12px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 4px 8px; border-radius: var(--radius-sm); background: var(--bg-soft); color: var(--ink-2); font-size: 12px; font-weight: 500; }

.st-card__select { position: relative; z-index: 2; cursor: pointer; flex: none; }
.st-card__select input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.checkbox {
    width: 24px; height: 24px; border-radius: 4px; border: 2px solid var(--line-2); background: #fff;
    display: grid; place-items: center; color: #fff; transition: background .15s, border-color .15s;
}
.checkbox .icon { width: 16px; height: 16px; opacity: 0; stroke-width: 3; }
input:checked + .checkbox { background: var(--orange); border-color: var(--orange); color: var(--navy); }
input:checked + .checkbox .icon { opacity: 1; }
input:focus-visible + .checkbox { outline: 3px solid var(--orange); outline-offset: 2px; }

/* ---------- Départements ---------- */
.depts {
    display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 9fr); gap: 48px; align-items: center;
    border-radius: var(--radius-xl); padding: clamp(32px, 4.6vw, 56px); color: #fff;
    background: var(--navy);
}
.depts .eyebrow { color: rgba(255, 255, 255, .72); }
.depts h2 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -.01em; margin: 8px 0 16px; }
.depts p { color: rgba(255, 255, 255, .78); font-size: 16px; margin-bottom: 28px; }
/* Une carte par pays : en-tête vers la page du pays, puis ses zones les plus fournies */
.countries { display: grid; gap: 16px; }
.country-card { border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius-lg); background: rgba(255, 255, 255, .06); padding: 8px; }
.country-card__head { display: flex; align-items: center; gap: 16px; padding: 12px; border-radius: var(--radius); transition: background .15s; }
.country-card__head:hover { background: rgba(255, 255, 255, .08); }
.country-card__head > .icon { width: 20px; height: 20px; margin-left: auto; flex: none; }
.country-card__code { width: 48px; height: 48px; border-radius: var(--radius); background: #fff; color: var(--blue); font-family: var(--font-title); font-weight: 600; font-size: 18px; display: grid; place-items: center; flex: none; }
.country-card__title { display: grid; gap: 2px; min-width: 0; }
.country-card__title strong { font-family: var(--font-title); font-size: 20px; font-weight: 600; }
.country-card__title span { font-size: 14px; color: rgba(255, 255, 255, .7); font-variant-numeric: tabular-nums; }
.country-card__zones { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 12px 12px; }
.country-card__zones a { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .08); font-size: 14px; transition: background .15s; }
.country-card__zones a:hover { background: rgba(255, 255, 255, .16); }
.country-card__zones span { color: rgba(255, 255, 255, .6); font-variant-numeric: tabular-nums; }

/* ---------- Profils de séjour, FAQ et appel final (accueil) ---------- */
.profiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; border-top: 1px solid var(--line); }
.profile {
    display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 8px 16px; align-items: center;
    padding: 20px 0; border-bottom: 1px solid var(--line);
}
.profile .criteria__icon { margin: 0; }
.profile__body { display: grid; gap: 4px; }
.profile__body strong { font-family: var(--font-title); font-size: 18px; transition: color .15s; }
.profile__body span { color: var(--muted); font-size: 14px; }
.profile__count { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 14px; color: var(--blue); white-space: nowrap; transition: color .15s; }
.profile:hover strong, .profile:hover .profile__count { color: var(--orange-ink); }

.faq-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; align-items: start; }
.faq-layout .section__head { margin-bottom: 0; }
.faq { display: grid; gap: 12px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.faq__item summary {
    display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px;
    font-family: var(--font-title); font-size: 18px; font-weight: 600; cursor: pointer; list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { width: 20px; height: 20px; color: var(--muted); transition: transform .2s; }
.faq__item[open] summary .icon { transform: rotate(180deg); }
.faq__item p { padding: 0 24px 24px; color: var(--ink-2); }
.faq__item a { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.faq__item a:hover { color: var(--orange-ink); }
/* Infos pratiques d'une fiche station, dans un panneau */
.faq--panel { gap: 8px; }
.faq--panel .faq__item summary { padding: 16px 20px; font-size: 16px; }
.faq--panel .faq__item p { padding: 0 20px 20px; }

.home-cta {
    display: flex; align-items: center; justify-content: space-between; gap: 32px;
    border-radius: var(--radius-xl); padding: clamp(32px, 4.6vw, 56px);
    background: var(--bg-soft);
}
.home-cta h2 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -.01em; margin-bottom: 12px; }
.home-cta p { color: var(--ink-2); font-size: 16px; max-width: 620px; }
.home-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }

/* Classements des bons plans : n°1 en photo, n°2 et 3 en lignes. */
.deal-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.deal-card {
    --tint: var(--bg-soft);
    /* subgrid : en-tête, liste et lien partagent les rangées de la grille, d'une carte à l'autre (sous-titres de 1 ou 2 lignes) */
    display: grid; grid-row: span 3; grid-template-rows: subgrid; align-content: start; row-gap: 20px;
    padding: 24px; border-radius: var(--radius-lg); background: #fff;
    box-shadow: 0 2px 14px rgba(11, 26, 51, .07);
}
.deal-card__head { display: flex; align-items: flex-start; gap: 12px; } /* en haut : titres sur une même ligne, sous-titres de 1 ou 2 lignes */
.deal-card__head .criteria__icon { width: 48px; height: 48px; border-radius: 12px; margin: 0; flex: none; }
.deal-card__head h2, .deal-card__head h3 { font-size: 20px; font-weight: 600; }
.deal-card__head p { color: var(--muted); font-size: 14px; margin-top: 4px; }
.deal-card__list a { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 12px; margin: 0 -12px; border-radius: var(--radius); transition: background .15s; }
.deal-card__list a:hover { background: var(--bg-soft); }
.deal-card__list li + li { border-top: 1px solid var(--line); }
.deal-card__top { padding-bottom: 8px; }
.deal-card__top a { display: block; padding: 0; margin: 0; }
.deal-card__top a:hover { background: none; }
.deal-card__media, .deal-card__thumb {
    position: relative; display: block; overflow: hidden; border-radius: var(--radius);
    background: linear-gradient(180deg, var(--c1) 0%, var(--c2) 100%);
}
.deal-card__media { aspect-ratio: 16 / 9; }
@media (min-width: 1025px) { .deal-cards:not(.deal-cards--2) .deal-card__media { aspect-ratio: 2 / 1; } } /* accueil, 3 colonnes : photo moins haute pour des sections de taille voisine */
.deal-card__media.has-photo::after, .cmp-col__art.has-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 26, 51, 0) 55%, rgba(11, 26, 51, .55) 100%); pointer-events: none; }
.deal-card__media .art, .deal-card__thumb .art { position: absolute; inset: auto 0 0; width: 100%; height: 72%; }
.deal-card__media img, .deal-card__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.deal-card__top a:hover img { transform: scale(1.04); }
.deal-card__badge {
    position: absolute; left: 12px; top: 12px; z-index: 2; padding: 4px 8px; border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, .94); color: var(--ink); font-family: var(--font-title); font-weight: 600; font-size: 12px;
}
.deal-card__main { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-top: 16px; }
.deal-card__name { display: grid; min-width: 0; }
.deal-card__name strong, .deal-card__name small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.deal-card__name strong { font-family: var(--font-title); font-size: 16px; font-weight: 600; }
.deal-card__top .deal-card__name strong { font-size: 20px; }
.deal-card__name small { color: var(--muted); font-size: 12px; }
.deal-card__value { font-family: var(--font-title); font-size: 24px; font-weight: 600; line-height: 1.1; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
/* hauteur de la barre des pistes réservée partout, texte en bas : les lignes suivantes restent alignées d'une carte à l'autre */
.deal-card__detail { display: flex; flex-direction: column; justify-content: flex-end; min-height: calc(16px + 1.5em); margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.deal-card__detail .slope-bar { height: 8px; margin-bottom: 8px; }
.deal-card__pic { position: relative; }
.deal-card__thumb { width: 52px; height: 52px; border-radius: var(--radius); }
.deal-card__n {
    position: absolute; right: -6px; bottom: -6px; width: 24px; height: 24px; border-radius: 50%;
    display: grid; place-items: center; background: #fff; box-shadow: 0 1px 4px rgba(11, 26, 51, .18);
    color: var(--ink); font-size: 12px; font-weight: 600;
}
.deal-card__pill { padding: 4px 8px; border-radius: var(--radius-sm); background: var(--tint); color: var(--ink); font-family: var(--font-title); font-weight: 600; font-size: 14px; white-space: nowrap; }
.deal-card__more { align-self: end; justify-self: start; }

/* ---------- En-tête de page ---------- */
.page-header { background: var(--navy); color: #fff; padding: 28px 0 44px; }
.page-header__inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.page-header h1 { font-size: clamp(32px, 4vw, 48px); margin: 24px 0 12px; letter-spacing: -.02em; }
.page-header__sub { color: rgba(255, 255, 255, .72); font-size: 16px; }
.page-header__aside { flex: 0 1 414px; width: 100%; }
.breadcrumb { font-size: 14px; color: rgba(255, 255, 255, .7); display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb__sep { opacity: .7; }

.search-box { position: relative; }
.search-box__input {
    width: 100%; height: 56px; border-radius: var(--radius); border: 0; background: #fff; color: var(--ink);
    padding: 0 16px 0 44px; font-size: 16px;
}
.search-box__input::placeholder { color: var(--muted); }
.search-box > .icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--blue); pointer-events: none; }
.suggestions {
    position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 30; background: #fff; color: var(--ink);
    border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 8px; max-height: 360px; overflow: auto;
}
.suggestions a, .suggestions p { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 12px; border-radius: var(--radius-sm); }
.suggestions a[aria-selected="true"], .suggestions a:hover { background: var(--bg-soft); }
.suggestions a span { white-space: nowrap; }
.suggestions small { color: var(--muted); font-size: 14px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.suggestions mark { background: none; color: var(--orange-ink); font-weight: 600; }
.suggestions p { color: var(--muted); }

/* ---------- Liste des stations ---------- */
.catalog { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 32px; padding-block: 36px 80px; align-items: start; }
/* Plus haut que l'écran d'un portable (≈ 1 100 px) : défile dans sa colonne, bouton « Afficher » toujours visible en bas */
.filters {
    position: sticky; top: 20px; max-height: calc(100vh - 40px); overflow-y: auto; overscroll-behavior: contain;
    border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px 24px; background: #fff;
}
/* bottom: 0 = au-dessus du padding du panneau ; l'ombre blanche masque les filtres qui défilent dessous, jusqu'au bord */
.filters [data-count-btn] { position: sticky; bottom: 0; z-index: 1; box-shadow: 0 0 0 14px #fff, 0 12px 0 14px #fff; }
.filters__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.filters__head h2 { font-size: 20px; font-weight: 600; }
.filters__reset { font-size: 14px; color: var(--blue); font-weight: 500; }
.filters__reset:hover { color: var(--orange-ink); }
.filters__close { display: none; }
.filter-group { border: 0; margin: 0 0 24px; padding: 0; min-width: 0; }
.filter-group legend, .filter-group__title { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 12px; padding: 0; }
.filter-group__hint { font-weight: 400; color: var(--muted); }
.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-block; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px;
    color: var(--ink-2); transition: background .15s, border-color .15s, color .15s;
}
.chip:hover span { border-color: var(--blue); }
.chip input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.checks { display: grid; gap: 8px; }
.check { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 16px; color: var(--ink-2); position: relative; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check .checkbox { width: 18px; height: 18px; border-radius: 4px; border-width: 1.5px; }
.check .checkbox .icon { width: 12px; height: 12px; }
.check input:checked + .checkbox { background: var(--blue); border-color: var(--blue); }

.range { position: relative; height: 24px; margin: 8px 4px 12px; }
.range__track, .range__fill { position: absolute; top: 50%; height: 6px; margin-top: -4px; border-radius: 3px; }
.range__track { left: 0; right: 0; background: var(--line); }
.range__fill { background: var(--orange); }
.range input[type=range] {
    position: absolute; inset: 0; width: 100%; margin: 0; background: none; pointer-events: none; appearance: none; -webkit-appearance: none; height: 24px;
}
.range input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none; pointer-events: auto; width: 22px; height: 22px; border-radius: 50%;
    background: #fff; border: 3px solid var(--orange); cursor: grab; box-shadow: var(--shadow-sm);
}
.range input[type=range]::-moz-range-thumb {
    pointer-events: auto; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--orange); cursor: grab;
}
.range input[type=range]::-moz-range-track { background: none; }
.range input[type=range]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(255, 107, 61, .3); }
.range__values { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; }

/* Page d'un département : présentation, chiffres clés et liens vers les autres départements */
.dept-intro { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px 28px; background: #fff; margin-bottom: 28px; }
.dept-intro > p { color: var(--ink-2); line-height: 1.7; }
.dept-intro > .dept-intro__note { margin-top: 16px; font-size: 14px; color: var(--muted); }
.dept-intro__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-top: 20px; }
.dept-intro__facts div { border-radius: 12px; background: var(--bg-soft); padding: 12px 16px; }
.dept-intro__facts dt { font-size: 14px; color: var(--muted); }
.dept-intro__facts dd { font-weight: 600; margin-top: 2px; }
.dept-intro__links { display: flex; flex-wrap: wrap; gap: 8px 12px; margin-top: 20px; font-size: 14px; color: var(--muted); }
.dept-intro__links a { color: var(--blue); font-weight: 600; }
.dept-intro__links a:hover { color: var(--orange-ink); }
/* Onglets des pays au-dessus des résultats (passent à la ligne sur mobile : l'onglet actif reste visible). */
.country-tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 24px; }
.country-tabs__label { font-size: 14px; font-weight: 600; color: var(--muted); margin-right: 4px; flex: none; }
.country-tab { display: inline-flex; align-items: center; gap: 8px; flex: none; padding: 10px 18px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; font-size: 15px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.country-tab:hover { border-color: var(--navy); color: var(--ink); }
.country-tab__count { font-size: 13px; font-weight: 500; color: var(--muted); }
.country-tab.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.country-tab.is-active .country-tab__count { color: rgba(255, 255, 255, .75); }
.results__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 24px; }
.results__head h2 { font-size: 24px; font-weight: 600; }
.results__summary { color: var(--muted); font-size: 14px; margin-top: 4px; }
.results__tools { display: flex; gap: 8px; align-items: center; }
.select {
    appearance: none; height: 44px; border-radius: var(--radius); border: 1px solid var(--line-2); background: #fff; padding: 0 40px 0 16px;
    font-size: 16px; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230b1a33'%3E%3Cpath d='M7 10h10l-5 6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center; background-size: 14px;
}
.segmented { display: inline-flex; flex-wrap: wrap; max-width: 100%; padding: 4px; border: 1px solid var(--line-2); border-radius: var(--radius); gap: 2px; background: #fff; }
.segmented a { padding: 8px 12px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.segmented a.is-active { background: var(--navy); color: #fff; }
.filters-toggle { display: none; }
/* Pastille de la navigation (favoris, comparateur) */
.nav-count {
    display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin-left: 6px; padding: 0 6px; border-radius: 999px;
    background: var(--orange); color: var(--ink); font-size: 12px; font-weight: 600; line-height: 1; vertical-align: 1px;
}
.nav-count[hidden] { display: none; }
.filters-toggle__count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--orange); color: var(--ink); font-size: 12px; font-weight: 600; }
/* Grand écran : les filtres s'appliquent dès qu'on les change, le bouton du bas devient inutile */
.filters--live [data-count-btn] { display: none; }
/* Filtres actifs : une puce par critère, « × » pour le retirer */
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.active-filter {
    display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px 6px 12px; border-radius: 999px;
    background: var(--bg-soft); border: 1px solid var(--line-2); color: var(--ink); font-size: 14px; font-weight: 500;
    transition: border-color .15s, color .15s;
}
.active-filter .icon { width: 14px; height: 14px; }
.active-filter:hover { border-color: var(--blue); color: var(--blue); }
.active-filters__clear { display: inline-flex; align-items: center; height: 100%; padding: 6px 4px; font-size: 14px; font-weight: 500; color: var(--blue); text-decoration: underline; }
.active-filters__clear:hover { color: var(--orange-ink); }
.did-you-mean { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: -12px 0 24px; }

.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 36px; }
.page-btn {
    min-width: 44px; height: 44px; padding: 0 12px; border-radius: var(--radius); border: 1px solid var(--line-2); background: #fff;
    display: inline-grid; place-items: center; font-weight: 600; font-size: 16px;
}
.page-btn .icon { width: 16px; height: 16px; }
a.page-btn:hover { border-color: var(--blue); color: var(--blue); }
.page-btn.is-current { background: var(--navy); border-color: var(--navy); color: #fff; }
.page-btn.is-disabled { opacity: .4; }
.page-gap { color: var(--muted); padding: 0 2px; }

.empty {
    text-align: center; border: 1px dashed var(--line-2); border-radius: var(--radius-lg); padding: 56px 24px; background: var(--bg-soft);
}
.empty__icon { width: 60px; height: 60px; border-radius: 50%; background: #fff; display: grid; place-items: center; margin: 0 auto 16px; color: var(--ink-2); box-shadow: var(--shadow-sm); }
.empty__icon .icon { width: 24px; height: 24px; }
.empty h2, .empty h3 { font-size: 24px; font-weight: 600; margin-bottom: 8px; }
.empty p { color: var(--muted); margin: 0 auto 24px; max-width: 460px; }

.map { height: 640px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--bg-soft); z-index: 0; }
.map--sm { height: 190px; border-radius: var(--radius); }
.map--tall { height: min(680px, 75vh); }
.map-filters { display: grid; gap: 12px; margin-bottom: 20px; }
.map-filters__country { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: baseline; }
.map-filters__label { font-size: 14px; font-weight: 600; color: var(--ink); }
/* Mobile : une ligne de puces par pays, qui défile à l'horizontale, pour que la carte reste près du haut de page. */
@media (max-width: 640px) {
    .map-filters__country { grid-template-columns: 1fr; gap: 8px; }
    .map-filters__country .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
    .map-filters__country .chip { flex: none; }
}
button.chip span { display: inline-flex; align-items: center; gap: 8px; }
button.chip[aria-pressed="true"] span { background: var(--blue); border-color: var(--blue); color: #fff; }
button.chip .dot { border: 2px solid #fff; width: 12px; height: 12px; }
.map-pin { display: block; width: 16px; height: 16px; border-radius: 50%; background: #898781; border: 3px solid #fff; box-shadow: 0 2px 6px rgba(11, 26, 51, .35); }
/* Couleurs des départements : variables --dept-XX (:root). */
.map-pin--74 { background: var(--dept-74); } .map-pin--73 { background: var(--dept-73); } .map-pin--38 { background: var(--dept-38); } .map-pin--26 { background: var(--dept-26); }
.map-pin--05 { background: var(--dept-05); } .map-pin--04 { background: var(--dept-04); } .map-pin--06 { background: var(--dept-06); }
.d-74 { --dept: var(--dept-74); } .d-73 { --dept: var(--dept-73); } .d-38 { --dept: var(--dept-38); } .d-26 { --dept: var(--dept-26); }
.d-05 { --dept: var(--dept-05); } .d-04 { --dept: var(--dept-04); } .d-06 { --dept: var(--dept-06); }
/* Italie et Suisse : couleur du pays (variables --dept-XX) et forme propre, sur la carte, dans les puces et la légende. */
.map-pin--AO, .map-pin--SO, .map-pin--BZ, .map-pin--BL, .map-pin--TO { background: var(--country-italy); }
.map-pin--VS, .map-pin--GR, .map-pin--UR, .map-pin--OW, .map-pin--BE, .map-pin--VD, .map-pin--FR, .map-pin--LU, .map-pin--NW, .map-pin--SZ, .map-pin--GL, .map-pin--SG, .map-pin--TI { background: var(--country-switzerland); }
:is(.map-pin--AO, .map-pin--SO, .map-pin--BZ, .map-pin--BL, .map-pin--TO):is(.map-pin, .dot, .map-legend i) { border-radius: 3px; }
:is(.map-pin--VS, .map-pin--GR, .map-pin--UR, .map-pin--OW, .map-pin--BE, .map-pin--VD, .map-pin--FR, .map-pin--LU, .map-pin--NW, .map-pin--SZ, .map-pin--GL, .map-pin--SG, .map-pin--TI):is(.map-pin, .dot, .map-legend i) { border-radius: 2px; transform: rotate(45deg) scale(.86); }
.d-AO, .d-SO, .d-BZ, .d-BL, .d-TO, .d-italy { --dept: var(--country-italy); }
.d-VS, .d-GR, .d-UR, .d-OW, .d-BE, .d-VD, .d-FR, .d-LU, .d-NW, .d-SZ, .d-GL, .d-SG, .d-TI, .d-switzerland { --dept: var(--country-switzerland); }
/* Tuiles pays de l'accueil (fond bleu nuit) : même forme que sur la carte, liseré clair pour que l'ardoise italienne reste visible. */
.leaflet-popup-content-wrapper { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.leaflet-popup-content { margin: 16px 16px; font-family: var(--font-body); }
.map-popup strong { font-family: var(--font-title); font-size: 16px; display: block; }
.map-popup small { color: var(--muted); display: block; margin-bottom: 8px; }
.map-popup dl { display: flex; gap: 12px; margin-bottom: 12px; font-size: 14px; }
.map-popup dd { font-weight: 600; }
.map-popup dt { color: var(--muted); }
.map-popup a { color: var(--blue); font-weight: 600; }
.map-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 16px; font-size: 14px; color: var(--ink-2); }
.map-legend span { display: inline-flex; align-items: center; gap: 8px; }
.map-legend i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }

/* ---------- Fiche station ---------- */
.st-hero { position: relative; overflow: hidden; color: #fff; background: linear-gradient(180deg, #0b1a33 0%, #1c3a64 55%, #2b4d78 100%); padding: 192px 0 104px; }
.st-hero .hero-art { position: absolute; inset: 60px 0 0; width: 100%; height: calc(100% - 60px); }
.st-hero__inner { position: relative; z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.st-hero .breadcrumb { color: #fff; }
.st-hero__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 20px; }
.st-hero__tags li { padding: 4px 12px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .3); font-size: 14px; font-weight: 500; }
.st-hero h1 { font-size: clamp(40px, 5.6vw, 64px); letter-spacing: -.02em; }
.st-hero__tagline { font-size: 18px; color: #fff; margin-top: 16px; max-width: 720px; }
.st-hero__actions { display: flex; gap: 12px; flex: none; }
.st-hero__actions .btn { height: 52px; border-radius: var(--radius); }
.btn--fav[aria-pressed="true"] { background: var(--orange-50); color: var(--orange-ink); }
.btn--fav[aria-pressed="true"] .icon { fill: currentColor; }

.keyfacts {
    position: relative; z-index: 3; margin-top: calc(-1 * var(--keyfacts-overlap)); display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px;
    background: #fff; border-radius: var(--radius-lg); padding: 24px 36px; box-shadow: 0 10px 34px rgba(11, 26, 51, .08);
}
.keyfacts div { display: flex; flex-direction: column-reverse; }
.keyfacts dd { font-family: var(--font-title); font-weight: 600; font-size: 24px; }
.keyfacts dt { color: var(--muted); font-size: 14px; }

.detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; padding: 48px 0 24px; align-items: start; }
.tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 24px; background: #fff; }
.tabs button { min-height: 44px; padding: 0 16px; border-radius: var(--radius-sm); font-size: 16px; font-weight: 500; color: var(--ink-2); }
.tabs button:hover { background: var(--bg-soft); }
.tabs button[aria-selected="true"] { background: var(--navy); color: #fff; }
.tab-panel { display: grid; gap: 24px; }
.panel { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 28px 28px; background: #fff; }
.panel__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 20px; }
.panel h2 { font-size: 24px; font-weight: 600; }
.panel__note { font-size: 14px; color: var(--muted); }
.panel p { color: var(--ink-2); line-height: 1.7; }
.panel p + p { margin-top: 12px; }

.slope-bar { display: flex; height: 12px; border-radius: 4px; overflow: hidden; gap: 0; background: var(--line); }
.slope-bar span { display: block; }
.slope-legend { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 16px; font-size: 16px; color: var(--ink-2); }
.slope-legend li { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex: none; }
.bg-green { background: var(--slope-green); } .bg-blue { background: var(--slope-blue); }
.bg-red { background: var(--slope-red); } .bg-black { background: var(--slope-black); }

.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.service { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: var(--radius); font-size: 14px; font-weight: 500; }
.service .icon { width: 16px; height: 16px; stroke-width: 2.5; }
.service--yes { background: var(--green-50); color: var(--ink); }
.service--yes .icon { color: var(--green); }
.service--no { background: var(--bg-soft); color: var(--muted); }
.service--unknown { background: var(--bg-soft); color: var(--muted); }
.service--unknown small { font-size: 12px; font-weight: 400; }
.service__unknown, .unknown { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid currentColor; font-size: 11px; font-weight: 600; line-height: 1; flex: none; }
.unknown { color: var(--muted); }

.gauges { display: grid; gap: 16px; }
.gauge { display: grid; grid-template-columns: 170px 1fr 36px; align-items: center; gap: 16px; font-size: 16px; color: var(--ink-2); }
.gauge__bars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.gauge__bars i { height: 8px; border-radius: 4px; background: var(--line); }
.gauge__bars i.on { background: var(--blue); }
.gauge strong { text-align: right; color: var(--ink); font-size: 16px; }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.stat { background: var(--bg-soft); border-radius: var(--radius); padding: 16px 20px; display: flex; flex-direction: column-reverse; }
.stat dd { font-family: var(--font-title); font-weight: 600; font-size: 24px; }
.stat dt { color: var(--muted); font-size: 14px; }
.stat--green dd { color: var(--slope-green); } .stat--blue dd { color: var(--slope-blue); }
.stat--red dd { color: var(--slope-red); } .stat--black dd { color: var(--slope-black); }

.aside { display: grid; gap: 24px; position: sticky; top: 20px; }
/* Budget + accès ≈ 1 050 px : collée sur un écran moins haut, la colonne cacherait sa carte « Accès » */
@media (max-height: 1099px) { .aside { position: static; } }
.budget-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; background: #fff; }
.budget-card__label { font-size: 14px; font-weight: 500; color: var(--muted); }
.budget-card__total { display: flex; align-items: baseline; gap: 8px; margin: 16px 0 20px; flex-wrap: wrap; }
.budget-card__eur { font-size: 14px; color: var(--muted); margin: -4px 0 12px; }
.budget-card__total strong { font-family: var(--font-title); font-size: 40px; letter-spacing: -.02em; line-height: 1; }
.budget-card__total span { color: var(--muted); font-size: 14px; }
.budget-lines { display: grid; gap: 12px; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line); font-size: 16px; color: var(--ink-2); }
.budget-lines div { display: flex; justify-content: space-between; gap: 12px; }
.budget-lines dd { font-weight: 600; color: var(--ink); }
.budget-card .btn { width: 100%; margin-bottom: 16px; border-radius: var(--radius); }
.budget-card__note { font-size: 14px; color: var(--muted); }
.access-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; background: #fff; }
.access-card h2 { font-size: 24px; font-weight: 600; margin-bottom: 20px; }
.access-list { display: grid; gap: 16px; margin-bottom: 20px; }
.access-list dt { color: var(--muted); font-size: 14px; }
.access-list dd { font-weight: 600; }
.map-link { display: inline-flex; gap: 8px; align-items: center; margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--blue); }

/* Barre de réservation : affichée sous 1 025 px seulement (voir Responsive), masquée par book-bar.js quand la carte budget est visible */
.book-bar {
    display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    align-items: center; justify-content: space-between; gap: 12px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(11, 26, 51, .08);
    transition: transform .2s ease, visibility 0s;
}
.book-bar.is-hidden { transform: translateY(100%); visibility: hidden; transition: transform .2s ease, visibility 0s linear .2s; }
.book-bar__price { display: grid; line-height: 1.2; }
.book-bar__price strong { font-family: var(--font-title); font-size: 20px; font-weight: 600; white-space: nowrap; }
.book-bar__price span { font-size: 14px; color: var(--muted); white-space: nowrap; }
.book-bar .btn { flex: 0 1 auto; padding: 0 16px; font-size: 14px; }

.similar { padding: 48px 0 88px; }
.similar h2 { font-size: 32px; font-weight: 600; margin-bottom: 28px; }

/* ---------- Comparateur ---------- */
.compare-wrap { padding-block: 40px 88px; }
.compare { border: 1px solid var(--line); border-radius: var(--radius-xl); overflow: hidden; background: #fff; }
/* position: relative : les textes .sr-only (absolus) des cellules restent dans la zone qui défile au lieu d'élargir la page */
.compare__scroll { overflow-x: auto; position: relative; }
/* Libellés des lignes figés pendant le défilement horizontal ; bordures en ombre, les bordures fusionnées ne suivent pas une cellule sticky */
.compare thead td:first-child, .compare tbody th[scope="row"], .compare tfoot td:first-child {
    position: sticky; left: 0; z-index: 3; background: #fff; box-shadow: inset -1px 0 0 var(--line); /* 3 : au-dessus de .cmp-col__remove */
}
.compare tbody th[scope="row"] { box-shadow: inset -1px 0 0 var(--line), inset 0 -1px 0 var(--line); }
.compare__group { position: sticky; left: 20px; }
.compare table { width: 100%; border-collapse: collapse; min-width: 760px; table-layout: fixed; }
.compare th, .compare td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: middle; font-size: 16px; }
.compare thead th, .compare thead td { border-bottom: 0; padding: 24px 20px 20px; vertical-align: top; }
.compare tbody th { font-weight: 400; color: var(--muted); width: 22%; }
.compare tbody td { font-weight: 600; }
.compare__intro strong { font-family: var(--font-title); font-size: 20px; display: block; margin-bottom: 8px; }
.switch { display: inline-flex; align-items: flex-start; gap: 8px; font-size: 14px; color: var(--blue); cursor: pointer; position: relative; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch__ui { width: 36px; height: 20px; border-radius: 999px; background: var(--line-2); position: relative; flex: none; transition: background .15s; margin-top: 1px; }
.switch__ui::after { content: ""; position: absolute; width: 16px; height: 16px; left: 2px; top: 2px; background: #fff; border-radius: 50%; transition: transform .15s; box-shadow: var(--shadow-sm); }
.switch input:checked + .switch__ui { background: var(--blue); }
.switch input:checked + .switch__ui::after { transform: translateX(16px); }
.switch input:focus-visible + .switch__ui { outline: 3px solid var(--orange); outline-offset: 2px; }
.cmp-col__art { display: block; position: relative; height: 120px; border-radius: var(--radius); overflow: hidden; background: linear-gradient(180deg, var(--c1), var(--c2)); margin-bottom: 16px; }
.cmp-col__art .art { position: absolute; inset: auto 0 0; width: 100%; height: 70%; }
.cmp-col__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cmp-col__remove { position: absolute; left: 8px; top: 8px; width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, .92); display: grid; place-items: center; color: var(--ink); z-index: 2; }
.cmp-col__remove .icon { width: 12px; height: 12px; }
.cmp-col h3 { font-size: 20px; font-weight: 600; }
.cmp-col h3 a:hover { color: var(--blue); }
.cmp-col p { color: var(--muted); font-size: 14px; margin-top: 2px; font-weight: 400; }
.compare .group-row th { background: var(--bg-soft); font-size: 14px; font-weight: 600; color: var(--ink-2); padding: 12px 20px; }
.compare td.is-best { background: var(--orange-50); }
.best { display: inline-block; margin-left: 8px; color: var(--orange-ink); font-size: 12px; font-weight: 600; }
.yes { color: var(--green); } .no { color: var(--muted); }
.yes .icon, .no .icon { width: 16px; height: 16px; display: inline-block; vertical-align: -3px; }
.compare tfoot td { border-bottom: 0; padding: 20px 20px 24px; }
.compare tfoot .btn { width: 100%; height: 44px; font-size: 14px; }
.compare.only-diff tr.is-same { display: none; }
.cmp-add { border: 1.5px dashed var(--line-2); border-radius: var(--radius); height: 120px; display: grid; place-items: center; margin-bottom: 16px; color: var(--muted); padding: 0 12px; }
.cmp-add .select { width: 100%; }
/* Recherche + liste : la case s'agrandit pour les deux champs */
.cmp-add:has(.cmp-add__search) { height: auto; min-height: 120px; gap: 8px; padding: 12px; align-content: center; }
.cmp-add__search { width: 100%; }
.cmp-add__search .search-box__input { height: 44px; border: 1px solid var(--line-2); font-size: 16px; }
.empty .cmp-add__search { margin-bottom: 8px; text-align: left; }

/* ---------- Favoris ---------- */
.favs-wrap { padding-block: 40px 88px; }
.selection-bar {
    display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    border: 1.5px solid var(--orange); border-radius: var(--radius-lg); padding: 20px 24px; margin-bottom: 28px; background: #fff;
}
.selection-bar p { font-weight: 600; }
.selection-bar .muted { font-weight: 400; }
.notice { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; background: var(--blue-50); color: var(--blue); border-radius: var(--radius-lg); padding: 16px 20px; margin-bottom: 20px; font-size: 16px; }
.notice a { font-weight: 600; text-decoration: underline; }

/* ---------- Authentification ---------- */
.auth { display: grid; grid-template-columns: minmax(0, 896fr) minmax(0, 1000fr); min-height: 100vh; }
.auth__visual {
    position: relative; overflow: hidden; color: #fff; padding: 68px 80px;
    background: linear-gradient(180deg, #0b1a33 0%, #173a68 45%, #1e4e8c 62%, #5b8dc0 100%);
}
.auth__visual .hero-art { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 52%; }
.auth__visual .brand { position: relative; z-index: 2; font-size: 24px; }
.auth__visual .brand__mark img { height: 34px; }
.auth__pitch { position: relative; z-index: 2; margin-top: 128px; }
.auth__pitch h1 { font-size: clamp(32px, 3.6vw, 48px); letter-spacing: -.02em; line-height: 1.12; }
.auth__pitch ul { margin-top: 24px; display: grid; gap: 16px; font-size: 18px; color: rgba(255, 255, 255, .9); }
.auth__pitch li { display: flex; align-items: center; gap: 12px; }
.auth__pitch .icon { width: 20px; height: 20px; }
.auth__form { display: flex; align-items: center; justify-content: center; padding: 48px 24px; }
.auth__card { width: 100%; max-width: 528px; }
.auth__card h2 { font-size: 40px; letter-spacing: -.02em; }
.auth__switch { margin: 20px 0 32px; color: var(--blue); font-size: 16px; }
.auth__switch a { font-weight: 500; }
.auth__switch a:hover { text-decoration: underline; }
.btn-google { width: 100%; height: 56px; border-radius: var(--radius); border: 1px solid var(--line-2); background: #fff; font-size: 16px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 12px; }
.btn-google:hover { border-color: var(--blue); }
.btn-google b { font-family: var(--font-title); color: var(--blue); font-size: 18px; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 16px; margin: 28px 0 24px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.field { display: grid; gap: 8px; margin-bottom: 24px; align-content: start; }
.field__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.field label { font-weight: 600; font-size: 16px; }
.field__link { font-size: 14px; color: var(--blue); }
.field__link:hover { text-decoration: underline; }
/* Mot de passe + bouton « Afficher / Masquer » ajouté par app.js */
.pw-field { position: relative; }
.pw-field .input { width: 100%; padding-right: 96px; }
.pw-toggle {
    position: absolute; right: 6px; top: 50%; transform: translateY(-50%); min-height: 36px; padding: 0 12px;
    border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; color: var(--blue);
}
.pw-toggle:hover { background: var(--bg-soft); }
.pw-toggle:focus-visible { outline: 3px solid var(--orange); outline-offset: 1px; }
.input, .textarea, .field select {
    width: 100%; height: 56px; padding: 0 16px; border-radius: var(--radius); border: 1px solid var(--line-2); background: var(--bg-soft);
    font-size: 16px; transition: border-color .15s, background .15s, box-shadow .15s;
}
.textarea { height: auto; min-height: 160px; padding: 16px; resize: vertical; line-height: 1.5; }
.input::placeholder, .textarea::placeholder { color: var(--muted); }
.input:focus, .textarea:focus, .field select:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(30, 78, 140, .12); }
.input[readonly] { color: var(--muted); }
.input--sm, .field--sm select { height: 48px; font-size: 16px; border-radius: var(--radius); }
.field--sm label { font-size: 16px; }
.field__error { color: #b42318; font-size: 14px; }
.consent { display: flex; align-items: center; gap: 12px; color: var(--ink-2); font-size: 16px; margin: 4px 0 24px; cursor: pointer; position: relative; }
.consent input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.consent a { text-decoration: underline; }
.btn--submit { width: 100%; height: 56px; border-radius: var(--radius); font-size: 16px; }
.alert { border-radius: var(--radius); padding: 16px 16px; font-size: 16px; margin-bottom: 20px; }
.alert--error { background: #fdecec; color: #b42318; }
.alert--success { background: var(--green-50); color: #13603e; }
.alert--info { background: var(--blue-50); color: var(--blue); }
.auth__back { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 16px; margin-bottom: 32px; }
.auth__back:hover { color: var(--ink); }
.auth__lead { margin: 16px 0 28px; color: var(--ink-2); font-size: 16px; }
.auth__foot { margin-top: 24px; text-align: center; color: var(--ink-2); font-size: 16px; }
.auth__foot a { color: var(--blue); font-weight: 500; }
.auth__foot a:hover { text-decoration: underline; }
.auth__badge { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); margin-bottom: 24px; }
.auth__badge .icon { width: 24px; height: 24px; }
.auth__badge--success { background: var(--green-50); color: var(--green); }
.auth__actions { display: grid; gap: 12px; }
.auth__card h2:focus { outline: none; }

/* ---------- Pages de contenu (à propos, contact, légal, compte) ---------- */
.content-wrap { padding-block: 48px 88px; }
.station-index { margin-top: 56px; }
.station-index > h2 { font-size: 24px; font-weight: 600; }
.station-index__intro { color: var(--ink-2); line-height: 1.7; margin-top: 8px; max-width: 780px; }
.station-index__group { margin-top: 32px; }
.station-index__country { font-size: 20px; font-weight: 600; margin-top: 40px; }
.station-index__country a { color: var(--ink); }
.station-index__country a:hover, .station-index__group :is(h3, h4) a:hover { color: var(--orange-ink); }
.station-index__group :is(h3, h4) { font-size: 18px; font-weight: 600; margin-bottom: 12px; }
.station-index__country + .station-index__group { margin-top: 16px; }
.station-index__group :is(h3, h4) a { color: var(--ink); }
.station-index__group ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 6px 24px; font-size: 15px; }
.station-index__group li a { color: var(--blue); font-weight: 600; }
.station-index__group li a:hover { color: var(--orange-ink); }
.station-index__group li span { color: var(--muted); font-size: 13px; }
.prose { max-width: 780px; }
.prose h2 { font-size: 24px; font-weight: 600; margin: 36px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-2); line-height: 1.75; }
.prose p + p { margin-top: 12px; }
.prose ul { list-style: disc; padding-left: 24px; margin-top: 12px; display: grid; gap: 8px; }
.prose a { color: var(--blue); text-decoration: underline; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; background: #fff; }
.card h2 { font-size: 24px; font-weight: 600; margin-bottom: 16px; }
.card h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.card + .card { margin-top: 24px; }
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stats-band .stat { background: #fff; border: 1px solid var(--line); }
.stats-band .stat dd { font-size: 32px; }
.info-list { display: grid; gap: 16px; margin-top: 28px; }
.info-list li { display: flex; gap: 12px; align-items: flex-start; }
.info-list .criteria__icon { width: 48px; height: 48px; margin: 0; border-radius: var(--radius); }
.info-list strong { display: block; }
.info-list span { color: var(--muted); font-size: 14px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-grid .field--full { grid-column: 1 / -1; }

.account { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; align-items: start; padding-block: 40px 88px; }
.account__nav { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 12px; display: grid; gap: 2px; position: sticky; top: 20px; }
.account__nav a { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: var(--radius); font-weight: 500; color: var(--ink-2); }
.account__nav a:hover { background: var(--bg-soft); }
.account__nav a.is-active { background: var(--navy); color: #fff; }
.account__nav .icon { width: 16px; height: 16px; }
.profile-head { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.profile-head strong { font-family: var(--font-title); font-size: 24px; display: block; }
.danger { border-color: #f5c2c0; }
.danger h2 { color: #b42318; }
.btn--danger { background: #fff; border-color: #f5c2c0; color: #b42318; }
.btn--danger:hover { background: #fdecec; }
.toggle-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.toggle-row:last-of-type { border-bottom: 0; }
.toggle-row span { color: var(--muted); font-size: 14px; display: block; }

/* ---------- Bons plans ---------- */
/* Classements : les cartes de l'accueil (.deal-card), deux par rangée */
.deal-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.deal-cards--2 .deal-card__media { aspect-ratio: 2 / 1; }
/* Conseils : une ligne de texte par conseil, comme .criteria ; ce ne sont pas des liens, donc pas des cartes */
.tips { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.tips__intro h2 { font-size: clamp(28px, 3.4vw, 40px); margin: 8px 0 16px; letter-spacing: -.01em; }
.tips__intro p { color: var(--ink-2); margin-bottom: 32px; max-width: 420px; }
.tips__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; }
.tips__list li { padding-top: 20px; border-top: 1px solid var(--line); }
.tips__tag { display: block; font-size: 14px; font-weight: 500; color: var(--muted); }
.tips__list h3 { font-size: 20px; margin: 8px 0; }
.tips__list p { color: var(--muted); font-size: 14px; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--navy); color: #fff; padding: 64px 0 40px; margin-top: auto; }
.site-footer__top { display: flex; justify-content: space-between; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.site-footer__logo { font-family: var(--font-title); font-weight: 600; font-size: 24px; letter-spacing: -.02em; }
.site-footer__brand p { color: rgba(255, 255, 255, .72); margin-top: 20px; font-size: 16px; line-height: 1.6; }
.site-footer__social { display: flex; gap: 8px; margin-top: 24px; }
.site-footer__social a {
    display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .24); color: rgba(255, 255, 255, .85); transition: background .15s, border-color .15s, color .15s;
}
.site-footer__social a:hover { background: #fff; border-color: #fff; color: var(--navy); }
.site-footer__social a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.site-footer__social .icon { width: 20px; height: 20px; }
.site-footer__cols { display: flex; gap: clamp(32px, 5vw, 80px); }
.site-footer__cols h2 { font-family: var(--font-body); font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.site-footer__cols div { display: grid; align-content: start; gap: 8px; }
.site-footer__cols a { color: rgba(255, 255, 255, .72); font-size: 14px; }
.site-footer__cols a:hover { color: #fff; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 36px; font-size: 14px; color: rgba(255, 255, 255, .55); }
.site-footer__bottom a:hover, .site-footer__consent:hover { color: #fff; }

/* ---------- Toasts ---------- */
.toast-region { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 1000; display: grid; gap: 8px; width: min(460px, calc(100vw - 32px)); pointer-events: none; }
.toast {
    display: flex; justify-content: space-between; align-items: center; gap: 16px; background: var(--navy); color: #fff;
    border-radius: var(--radius); padding: 16px 20px; box-shadow: var(--shadow-lg); font-size: 16px; animation: toast-in .25s ease; pointer-events: auto;
}
.toast a { color: #ffb193; font-weight: 600; white-space: nowrap; }
.toast.is-leaving { opacity: 0; transform: translateY(8px); transition: .2s; }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } }

.spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--orange); animation: spin .8s linear infinite; margin: 60px auto; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   Responsive
   ========================================================================== */
/* ── Avis des skieurs (fiche station, cartes) ── */
/* Étoiles : 5 étoiles grises, remplissage orange au prorata de la note (largeur en %) */
.stars {
    --s: 20px;
    position: relative; display: inline-block; flex: none; width: calc(var(--s) * 5); height: var(--s);
    background: var(--line-2);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2.8 2.8 5.8 6.4.9-4.6 4.5 1.1 6.3L12 17.3l-5.7 3 1.1-6.3L2.8 9.5l6.4-.9z'/%3E%3C/svg%3E") repeat-x 0 0 / var(--s) var(--s);
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2.8 2.8 5.8 6.4.9-4.6 4.5 1.1 6.3L12 17.3l-5.7 3 1.1-6.3L2.8 9.5l6.4-.9z'/%3E%3C/svg%3E") repeat-x 0 0 / var(--s) var(--s);
}
.stars__fill { position: absolute; inset: 0 auto 0 0; background: var(--orange); }
.stars--light { background: rgba(255, 255, 255, .4); }

.st-hero__rating { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: #fff; font-size: 16px; }
.st-hero__rating strong { font-family: var(--font-title); font-size: 18px; }
.st-hero__rating:hover { text-decoration: underline; }

.st-card__rating { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; font-size: 14px; font-weight: 600; color: var(--ink); }
.st-card__rating .icon { width: 14px; height: 14px; color: var(--orange); }
.st-card__rating span span { color: var(--muted); font-weight: 400; }

.reviews { display: grid; gap: 24px; margin-top: 24px; }
.reviews .panel__head { margin-bottom: 0; }
.reviews__summary { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 16px 36px; align-items: center; }
.reviews .reviews__empty { grid-column: 1 / -1; color: var(--ink-2); }
.reviews__score { display: grid; justify-items: start; gap: 8px; }
.reviews .reviews__avg { display: flex; align-items: baseline; gap: 8px; line-height: 1; }
.reviews__avg strong { font-family: var(--font-title); font-size: 48px; letter-spacing: -.02em; }
.reviews__avg span { color: var(--muted); font-size: 14px; }
.reviews .reviews__count { color: var(--muted); font-size: 14px; line-height: 1.4; }
.reviews__bars { display: grid; gap: 8px; }
.reviews__bars li { display: grid; grid-template-columns: 38px minmax(0, 1fr) 28px; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); }
.reviews__bars li > span:first-child { display: inline-flex; align-items: center; gap: 4px; }
.reviews__bars .icon { color: var(--orange); }
.reviews__bars li > span:last-child { text-align: right; color: var(--muted); }
.reviews__bar { height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; }
.reviews__bar i { display: block; height: 100%; border-radius: 4px; background: var(--orange); }
.reviews__criteria { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid var(--line); }
.reviews__criteria .gauge__bars i.on { background: var(--orange); }

.reviews__member .btn { justify-self: start; }
.reviews__mine { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 16px 20px; border-radius: var(--radius); background: var(--bg-soft); }
.reviews__mine-actions { display: flex; gap: 8px; }

.reviews__list { display: grid; }
.reviews__list:empty { display: none; }
.review { display: grid; gap: 12px; padding: 24px 0; border-top: 1px solid var(--line); }
.review__head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.review__author { font-weight: 600; overflow-wrap: anywhere; }
.reviews .review__meta { font-size: 14px; color: var(--muted); line-height: 1.4; }
.review .stars { --s: 16px; }
.review__criteria { display: flex; flex-wrap: wrap; gap: 8px; }
.review__criteria div { display: flex; gap: 8px; padding: 4px 12px; border-radius: 999px; background: var(--bg-soft); font-size: 14px; }
.review__criteria dt { color: var(--muted); }
.review__criteria dd { font-weight: 600; }
.reviews .review__text { overflow-wrap: anywhere; }
.review__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.review__report { display: inline-flex; align-items: center; gap: 8px; padding: 4px 8px; border-radius: 4px; color: var(--muted); font-size: 14px; }
.review__report:hover { color: #b42318; background: #fdecec; }
.review__report[disabled] { color: var(--muted); background: none; cursor: default; }
.reviews__more { justify-self: center; }
.reviews .reviews__notice { font-size: 14px; color: var(--muted); line-height: 1.5; }

.reviews__form { padding: 24px; border-radius: var(--radius-lg); background: var(--bg-soft); }
.review-form h3 { font-size: 20px; font-weight: 600; margin-bottom: 16px; }
.review-form h3:focus { outline: none; }
.reviews .review-form__label { font-weight: 600; color: var(--ink); margin: 20px 0 8px; }
.review-form__criteria { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; margin-bottom: 24px; }
.review-form__criteria legend { font-weight: 500; font-size: 14px; color: var(--ink-2); }
.star-input { border: 0; padding: 0; margin: 0; min-width: 0; }
.star-input legend { padding: 0; margin-bottom: 4px; font-weight: 600; }
.star-input__stars { display: inline-flex; gap: 2px; vertical-align: middle; }
.star-input input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.star-input label { padding: 2px; border-radius: 4px; line-height: 0; color: var(--line-2); cursor: pointer; }
.star-input label svg { width: 32px; height: 32px; fill: currentColor; transition: transform .1s; }
.review-form__criteria .star-input label svg { width: 24px; height: 24px; }
.star-input label.is-on { color: var(--orange); }
.star-input label:hover svg { transform: scale(1.12); }
.star-input input:focus-visible + label { outline: 3px solid var(--orange); outline-offset: 1px; }
.star-input__clear { margin-left: 8px; font-size: 14px; color: var(--muted); text-decoration: underline; vertical-align: middle; }
.star-input__req { color: var(--orange-ink); }
.review-form__date { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 8px; }
.review-form .textarea { min-height: 140px; }
.review-form__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Connecté : avec le nom à côté de l'avatar, la barre déborde jusqu'à 1 440 px ; le nom reste dans le menu déroulant */
@media (max-width: 1439px) {
    .user-menu__name { display: none; }
}

@media (max-width: 1280px) {
    .nav-search__toggle { display: inline-grid; }
    .nav-search__form {
        display: none; position: absolute; right: 0; top: calc(100% + 12px); z-index: 45;
        width: min(420px, calc(100vw - 32px));
    }
    .nav-search.is-open .nav-search__form { display: block; }
    .nav-search__input { height: 52px; background: #fff; color: var(--ink); border-color: #fff; box-shadow: var(--shadow-lg); }
    .nav-search__input::placeholder { color: var(--muted); }
    .nav-search__form > .icon { color: var(--blue); }
    .nav-search .suggestions { width: 100%; }
}

@media (max-width: 1180px) {
    .site-nav__links { gap: 24px; }
    .finder { grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px; }
    .finder__field + .finder__field::before { display: none; }
    .finder__field { border: 1px solid var(--line); border-radius: var(--radius); }
    .finder .btn { grid-column: 1 / -1; height: 56px; }
    .criteria, .st-grid--4 { grid-template-columns: repeat(2, 1fr); }
        .depts { grid-template-columns: 1fr; }
    .keyfacts { grid-template-columns: repeat(3, 1fr); row-gap: 20px; }
    .tips { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}

@media (max-width: 1024px) {
    /* minmax(0, …) : une colonne seule ne s'élargit pas au-delà de l'écran pour un bouton ou un mot trop long */
    .catalog { grid-template-columns: minmax(0, 1fr); }
    .filters {
        position: fixed; inset: 0 auto 0 0; width: min(360px, 90vw); max-height: none; z-index: 60; border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
        transform: translateX(-105%); transition: transform .25s ease; box-shadow: var(--shadow-lg);
    }
    .filters.is-open { transform: none; }
    .filters__close { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--bg-soft); }
    .filters-backdrop { position: fixed; inset: 0; background: rgba(11, 26, 51, .45); z-index: 55; }
    .filters-toggle { display: inline-flex; }
    .st-grid--3 { grid-template-columns: repeat(2, 1fr); }
    .detail { grid-template-columns: minmax(0, 1fr); }
    .aside { position: static; grid-template-columns: 1fr 1fr; }
    .book-bar { display: flex; }
    body:has(.book-bar) { padding-bottom: 72px; } /* le bas du pied de page reste visible au-dessus de la barre */
    body:has(.book-bar) .toast-region { bottom: 84px; }
    .st-hero__inner { flex-direction: column; align-items: flex-start; }
    .auth { grid-template-columns: 1fr; }
    .auth__visual { padding: 32px 24px 180px; }
    .auth__pitch { margin-top: 40px; }
    .auth__visual .hero-art { height: 42%; }
    .account { grid-template-columns: minmax(0, 1fr); }
    .account__nav { position: static; grid-auto-flow: column; overflow-x: auto; }
    .two-col { grid-template-columns: 1fr; }
    .deal-cards { grid-template-columns: minmax(0, 1fr); }
    /* .deal-cards--2 aussi : son ratio 2/1, combiné à la hauteur fixe, élargissait la photo au-delà de la carte */
    .deal-card__media, .deal-cards--2 .deal-card__media { aspect-ratio: auto; height: 200px; }
    /* accueil : les 3 classements défilent côte à côte, comme le carrousel, au lieu de s'empiler sur plus de 2 000 px */
    /* position: relative : sinon les .sr-only des cartes sortent du défilement et élargissent la page */
    .deal-cards:not(.deal-cards--2) { position: relative; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 16px; margin: -4px -4px 0; }
    .deal-cards:not(.deal-cards--2) > .deal-card { flex: 0 0 min(85%, 380px); scroll-snap-align: start; grid-template-rows: auto 1fr auto; } /* hors grille, pas de subgrid : le lien reste en bas */
}

/* Menu burger : en dessous de 1024 px, logo, liens et boutons ne tiennent plus sur une ligne */
@media (max-width: 1023px) {
    /* Le texte occupe presque toute la largeur : voile sur toute la photo */
    .hero { background-image:
        linear-gradient(180deg, rgba(11, 26, 51, .78) 0%, rgba(11, 26, 51, .72) 58%, rgba(11, 26, 51, .66) 100%),
        none, /* même nombre de couches que sur grand écran : position et taille de la photo restent appliquées */
        url("../images/hero-accueil.webp"),
        linear-gradient(180deg, #0b1a33 0%, #173a68 42%, #2d5f97 78%, #3a6ea6 100%); }
    .site-nav__toggle { display: inline-flex; }
    .site-nav__actions { margin-left: auto; }
    .nav-search { position: static; } /* le panneau prend toute la largeur sous la navbar */
    .nav-search__form { left: 16px; right: 16px; top: calc(100% - 6px); width: auto; }
    .site-nav__fav, .site-nav__actions > [data-guest-only] { display: none; }
    .site-nav__links {
        position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; margin: 0;
        background: var(--navy); padding: 8px 16px 20px; border-top: 1px solid rgba(255, 255, 255, .1);
        display: none; box-shadow: 0 20px 40px rgba(0, 0, 0, .25);
    }
    .site-nav__links.is-open { display: flex; }
    .site-nav__links a, .site-nav__consent { padding: 16px 4px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
    .site-nav__mobile-only { display: block; }
    .site-nav--transparent .site-nav__links { background: var(--navy); }
}

@media (max-width: 900px) {
    :root { --nav-h: 72px; }
    .results__head { flex-direction: column; }
    /* « Filtres » et Grille / Carte sur une ligne, le tri en pleine largeur dessous : deux lignes au lieu de trois */
    .results__tools { flex-wrap: wrap; width: 100%; }
    .results__tools .filters-toggle { flex: 1 1 auto; justify-content: center; }
    .results__tools .select { order: 3; flex: 1 1 100%; min-width: 0; }
    .section__head { flex-direction: column; align-items: flex-start; }
    .profiles { grid-template-columns: minmax(0, 1fr); }
    .faq-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .page-header__inner { flex-direction: column; align-items: stretch; }
    .page-header__aside { flex-basis: auto; }
    .services { grid-template-columns: 1fr 1fr; }
    .lists { grid-template-columns: minmax(0, 1fr); }
    .stats-band { grid-template-columns: repeat(2, 1fr); }
    .site-footer__top { flex-direction: column; }
    .home-cta { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
    /* Un libellé long (« Connectez-vous pour donner votre avis ») passe sur 2 lignes au lieu de déborder de l'écran */
    .btn { white-space: normal; line-height: 1.2; text-align: center; }
    .hero { padding: calc(var(--nav-h) + 36px) 0 140px; } /* 140 : le crédit photo (bottom 96px) passe sous les boutons des pays */
    .hero { background-image:
        linear-gradient(180deg, rgba(11, 26, 51, .78) 0%, rgba(11, 26, 51, .72) 58%, rgba(11, 26, 51, .66) 100%),
        none, /* même nombre de couches que sur grand écran : position et taille de la photo restent appliquées */
        url("../images/hero-accueil-mobile.webp"),
        linear-gradient(180deg, #0b1a33 0%, #173a68 42%, #2d5f97 78%, #3a6ea6 100%); }
    .hero__credit { bottom: 96px; right: 12px; font-size: 12px; }
    .hero h1 { font-size: 36px; margin-bottom: 14px; }
    .hero__lead { font-size: 16px; }
    /* Formulaire compact en 2 × 2 : sans icônes, chevron à côté du libellé pour laisser toute la largeur à la valeur */
    .finder { margin-top: 28px; padding: 8px; }
    .finder__field { padding: 8px 12px; }
    .finder__icon { display: none; }
    .finder__text { min-height: 42px; }
    .finder__label { font-size: 13px; }
    .finder select { padding: 26px 12px 8px; background-position: right 12px top 15px; }
    .finder .btn { height: 52px; }
    /* « Par pays » sur sa ligne, les trois pays côte à côte en largeur égale */
    .hero__countries > span { flex-basis: 100%; }
    .hero__countries .btn { flex: 1; justify-content: center; padding: 0 8px; }
    .criteria, .st-grid--4, .st-grid--3, .tips__list, .profiles { grid-template-columns: 1fr; }
    .tips__list { gap: 24px; }
    /* Sur une colonne, des rangées égales alignent toutes les tuiles sur la plus haute : hauteur selon le contenu */
    .criteria { grid-auto-rows: auto; }
    .criteria { gap: 12px; }
    .criteria__card { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 4px 16px; padding-top: 16px; }
    .criteria__card .criteria__icon { width: 48px; height: 48px; margin: 0; grid-row: span 2; }
    .criteria__card h3 { font-size: 20px; margin: 0; }
    .depts { padding: 28px 20px; }
    .profile { grid-template-columns: 48px minmax(0, 1fr); padding: 16px 0; }
    .profile__count { grid-column: 2; }
    .faq__item summary { padding: 16px 20px; font-size: 16px; }
    .faq__item p { padding: 0 20px 20px; }
    .home-cta__actions, .home-cta__actions .btn { width: 100%; }
    .depts .btn { width: 100%; }
    .deal-card { padding: 20px; }
    .deal-card__media { height: 170px; }
    .home-stats__list { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
    .keyfacts { grid-template-columns: repeat(2, 1fr); padding: 20px; }
    .keyfacts dd { font-size: 20px; }
    .st-hero { padding: 120px 0 112px; } /* place pour un crédit photo sur 2 lignes au-dessus de .keyfacts */
    .st-hero__actions { flex-direction: column; width: 100%; }
    /* Onglets de la fiche sur une seule ligne qui défile, plutôt que sur deux lignes */
    .tabs { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
    .tabs::-webkit-scrollbar { display: none; }
    .tabs button { flex: none; white-space: nowrap; scroll-snap-align: start; }
    .aside { grid-template-columns: 1fr; }
    .services { grid-template-columns: 1fr; }
    .gauge { grid-template-columns: 1fr 36px; }
    .gauge__bars { grid-column: 1 / -1; grid-row: 2; }
    .panel { padding: 20px; }
    /* Visuel réduit à un bandeau : le formulaire apparaît sans faire défiler */
    .auth__visual { padding: 24px 20px 96px; }
    .auth__visual .brand { font-size: 24px; }
    .auth__visual .brand__mark img { height: 28px; }
    .auth__pitch { margin-top: 24px; }
    .auth__pitch h1 { font-size: 28px; }
    .auth__pitch ul { margin-top: 16px; gap: 8px; font-size: 16px; }
    .auth__visual .hero-art { height: 34%; }
    .auth__form { padding: 28px 16px 40px; }
    .auth__back { margin-bottom: 20px; }
    .auth__card h2 { font-size: 32px; }
    .input, .btn-google, .btn--submit { height: 56px; font-size: 16px; }
    .field label { font-size: 16px; }
    .form-grid { grid-template-columns: 1fr; }
    .site-footer__cols { flex-wrap: wrap; }
    .map { height: 460px; }
    /* Comparateur : colonne des libellés plus étroite, pour voir une station et demie à côté */
    .compare table { min-width: 560px; }
    .compare__intro { width: 128px; }
    .compare th, .compare td { padding: 12px; font-size: 14px; }
    .compare thead th, .compare thead td { padding: 16px 12px; }
    .compare .group-row th { padding: 12px 12px; }
    .compare tfoot td { padding: 16px 12px 20px; }
    .compare__intro strong, .cmp-col h3 { font-size: 18px; }
    .compare__intro .switch { flex-direction: column; gap: 8px; }
    .selection-bar { padding: 16px; }
    .selection-bar .btn { width: 100%; }
    .reviews__summary, .review-form__criteria { grid-template-columns: 1fr; }
    .reviews__form { padding: 20px; }
    .reviews__mine { flex-direction: column; align-items: stretch; }
    .reviews__mine-actions .btn, .review-form__actions .btn { flex: 1 1 0; }
    .reviews__member .btn { width: 100%; }
    .review__head { grid-template-columns: auto minmax(0, 1fr); }
    .review__head .stars { grid-column: 2; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}


/* ── Photos des stations ── */
.st-card__media.has-photo { background: #0b1a33; overflow: hidden; }
.st-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.st-card__media.has-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,26,51,.28) 0%, rgba(11,26,51,0) 38%, rgba(11,26,51,.55) 100%); pointer-events: none; }
.st-card__media > .st-card__dept { z-index: 2; }
.photo-credit { position: absolute; left: 8px; right: 8px; bottom: 6px; z-index: 2; font-size: 12px; font-weight: 400; line-height: 1.3; color: rgba(255,255,255,.88); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 2px rgba(0,0,0,.6); pointer-events: none; }
.st-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.st-hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,26,51,.72) 0%, rgba(11,26,51,.5) 45%, rgba(11,26,51,.78) 100%); }
.st-hero__credit { position: absolute; right: 24px; bottom: calc(var(--keyfacts-overlap) + 10px); z-index: 2; max-width: calc(100% - 48px); font-size: 12px; color: rgba(255,255,255,.85); text-align: right; text-shadow: 0 1px 2px rgba(0,0,0,.6); }
.st-hero__credit a { color: inherit; text-decoration: underline; }
