/*
 * comparateur-sejours-ski.fr — design system (P4, P4.1).
 * One stylesheet, tokens first; no framework. Mobile first (320 px), then 640 / 1024 / 1280.
 * Colour is never the only carrier of information: every status also has an icon and a word.
 */

@font-face {
    font-family: "Inter";
    src: url("../fonts/inter-latin-wght-normal-XNcuA7u.woff2") format("woff2-variations"), url("../fonts/inter-latin-wght-normal-XNcuA7u.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Brand palette (docs/branding/BRANDING.md §3): the only source of colour. Blue is the only call to action; green,
       amber and red only carry a state, always with an icon and a word. */
    --brand-navy: #082D5B;
    --brand-blue: #2563EB;
    --brand-sky: #60A5FA;
    --brand-ice: #E0ECFF;
    --surface-page: #F8FAFC;
    --surface-card: #FFFFFF;
    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --border: #D1D5DB;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    /* Derived shades (same hues): the state colours of the guide are too light for text on white (AA 4.5:1), so
       state TEXT uses the darker shade, the guide colour stays for icons, borders and fills. */
    --heading: var(--brand-navy);
    --brand-blue-hover: #1D4ED8;
    --brand-ice-strong: #C7DBFF;
    --border-subtle: #E5E7EB;
    --border-hover: #9CA3AF;
    --text-on-ice: #4B5563;    /* secondary text on --brand-ice selections (AA 6.6:1; --text-secondary is 4.05:1 there) */
    --surface-hero: #EAF2FE;   /* top of the light hero and page heads */
    --warning-border: #FDE68A;
    --danger-border: #FECACA;
    --success-text: #047857;
    --success-soft: #ECFDF5;
    --warning-text: #92400E;
    --warning-soft: #FFFBEB;
    --danger-text: #B91C1C;
    --danger-soft: #FEF2F2;
    --on-dark: #FFFFFF;
    --on-dark-muted: #B9C9E0;
    --focus-ring: 0 0 0 3px rgba(96, 165, 250, 0.55);
    /* Shape */
    --radius-sm: 8px;      /* chips, small controls */
    --radius-md: 10px;     /* buttons, fields */
    --radius-lg: 14px;     /* cards, panels */
    --radius-xl: 20px;     /* search card, feature cards */
    --radius-pill: 999px;
    --shadow-sm: 0 1px 2px rgba(8, 45, 91, 0.06);
    --shadow-md: 0 2px 4px rgba(8, 45, 91, 0.04), 0 8px 24px rgba(8, 45, 91, 0.07);
    --shadow-lg: 0 4px 8px rgba(8, 45, 91, 0.05), 0 18px 48px rgba(8, 45, 91, 0.14);
    /* Spacing scale (4 px) */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 24px;
    --space-6: 32px;
    --space-7: 48px;
    --space-8: 64px;
    /* Type (BRANDING.md §4): H1 32→48, H2 24→32, H3 20→24, body 16, secondary 14, caption 12, buttons 16/600 */
    --font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --fs-h1: clamp(2rem, 1.45rem + 2.2vw, 3rem);
    --fs-h2: clamp(1.5rem, 1.25rem + 1vw, 2rem);
    --fs-h3: clamp(1.25rem, 1.15rem + 0.4vw, 1.5rem);
    --fs-body: 1rem;
    --fs-sm: 0.875rem;
    --fs-xs: 0.75rem;
    --container: 1320px;
    --gutter: 16px;
    --header-h: 64px;
    color-scheme: light;
}

@media (min-width: 640px) {
    :root { --gutter: 24px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: var(--fs-body);
    line-height: 1.5;
    color: var(--text-primary);
    background: var(--surface-page);
    font-feature-settings: "cv11", "ss01";
    -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }  /* the hidden attribute always wins over a component's display */
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-blue); text-underline-offset: 2px; }
a:hover { color: var(--brand-blue-hover); }
h1, h2, h3 { color: var(--heading); line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: var(--fs-h1); line-height: 1.17; font-weight: 750; letter-spacing: -0.03em; }
h2 { font-size: var(--fs-h2); line-height: 1.25; font-weight: 650; letter-spacing: -0.02em; }
h3 { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; }   /* components; section titles of level 3 use --fs-h3 */
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--brand-blue); outline-offset: 2px; border-radius: 2px; }
.icon { width: 1em; height: 1em; flex: none; vertical-align: -0.125em; }
/* Icons on a blue background (P6): PRIMARY BLUE BACKGROUND = WHITE ICON, LIGHT BLUE BACKGROUND = NAVY ICON. The sprite
   icons carry no colour of their own; elsewhere they keep the text colour of their context. */
.btn--primary .icon,
.opt[aria-current="true"] .opt__box .icon,
.dest-feature__card:is(:hover, :focus-visible, :active) .dest-feature__go .icon { fill: var(--on-dark); }
.dest-feature__go .icon, .trust__icon .icon, .station-list__icon .icon, .chip .icon,
.summary__items .icon, .site-nav a[aria-current="page"] .icon { fill: var(--brand-navy); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.muted { color: var(--text-secondary); }
.small { font-size: 0.875rem; }
.skip-link { position: absolute; left: 8px; top: -120px; z-index: 100; background: var(--surface-card); padding: 10px 14px; border-radius: var(--radius-sm); box-shadow: var(--shadow-md); }
.skip-link:focus { top: 8px; }

/* ---------- Header / footer */
.site-header { position: relative; z-index: 20; background: var(--surface-card); border-bottom: 1px solid var(--border-subtle); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: var(--space-4); }
@media (min-width: 1024px) { :root { --header-h: 72px; } }
.brand { display: inline-flex; align-items: center; flex: none; text-decoration: none; border-radius: var(--radius-sm); }
/* logo V2 (design-assets/brand/logo-pack-v2/logo-header.svg, BRAND-1): self-contained SVG, 510 × 155, text in paths;
   sized by its HEIGHT only, width auto, the natural ratio kept: 70 px on desktop (230 px wide), 56 px below 1024 px
   (184 px wide; at 48 px its wordmark would be smaller than P6's, the symbol taking more height; no compact variant
   needed) — the header keeps its 72 / 64 px, the SVG carrying its own top and bottom margins */
.logo { display: block; height: 56px; width: auto; }
@media (min-width: 1024px) { .logo { height: 70px; } }
.site-nav { display: flex; align-items: center; gap: var(--space-1); font-size: 0.95rem; }
.site-nav__links { display: flex; align-items: center; gap: var(--space-1); }
.site-nav a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 var(--space-3); border-radius: var(--radius-md); color: var(--heading); text-decoration: none; font-weight: 550; }
.site-nav a:hover { background: var(--surface-page); color: var(--brand-blue); }
.site-nav a[aria-current="page"] { color: var(--brand-blue-hover); background: var(--brand-ice); }
.site-nav a[aria-current="page"] .icon { color: var(--brand-blue-hover); }
.site-nav .icon { color: var(--brand-blue); }
/* MOBILE-HEADER-RESPONSIVE-01. From 1024 px: the links in the header row, as before; the search shortcut, the menu
   button and the menu-only icons are hidden. Below 1024 px with JavaScript (html.js-nav): logo, search shortcut, menu
   button; the links in a panel under the header. Below 1024 px without it: the links as a second row under the logo. */
.site-nav .site-nav__search, .site-nav__toggle, .site-nav__menu-icon { display: none; }
.site-nav__toggle { align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0; border: 0; border-radius: var(--radius-md); background: none; color: var(--heading); font: inherit; font-size: 1.5rem; cursor: pointer; }
.site-nav__toggle:hover { background: var(--surface-page); color: var(--brand-blue); }
.site-nav__toggle[aria-expanded="true"] { background: var(--brand-ice); color: var(--brand-blue-hover); }
.site-nav__toggle .site-nav__close, .site-nav__toggle[aria-expanded="true"] .site-nav__open { display: none; }
.site-nav__toggle[aria-expanded="true"] .site-nav__close { display: block; font-size: 1.25rem; }
@media (max-width: 1023px) {
    .site-header .container { gap: var(--space-2); }
    html:not(.js-nav) .site-header .container { flex-wrap: wrap; }
    html:not(.js-nav) .site-nav { flex: 1 0 100%; min-width: 0; }
    html:not(.js-nav) .site-nav__links { overflow-x: auto; margin-inline: calc(-1 * var(--space-3)); padding-bottom: var(--space-2); white-space: nowrap; }
    .js-nav .site-nav { gap: 0; }
    .js-nav .site-nav .site-nav__search, .js-nav .site-nav__toggle { display: inline-flex; justify-content: center; min-width: 44px; padding: 0; }
    .js-nav .site-nav__search .icon { font-size: 1.25rem; }
    .js-nav .site-nav__links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; max-height: calc(100dvh - var(--header-h)); overflow-y: auto; padding: var(--space-2) var(--gutter) var(--space-4); background: var(--surface-card); border-block: 1px solid var(--border-subtle); box-shadow: var(--shadow-md); font-size: 1rem; }
    .js-nav .site-nav.is-open .site-nav__links { display: flex; }
    .js-nav .site-nav__links a { min-height: 48px; gap: var(--space-3); }
    .js-nav .site-nav__links a:focus-visible { outline-offset: -3px; }
    .js-nav .site-nav__menu-icon { display: block; }
}
.site-footer { margin-top: var(--space-8); background: var(--brand-navy); color: var(--on-dark-muted); padding: var(--space-7) 0 var(--space-6); font-size: 0.9rem; }
.site-footer__grid { display: grid; gap: 28px 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.site-footer__about { grid-column: 1 / -1; }
@media (max-width: 639px) { .site-footer { padding-top: var(--space-6); } .site-footer__grid { gap: 24px 16px; } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: 2fr repeat(4, 1fr); } .site-footer__about { grid-column: auto; } }
.site-footer__about p { max-width: 52ch; }
.site-footer__logo { display: inline-block; margin-bottom: var(--space-3); }
.site-footer__logo .logo { height: 56px; }
.site-footer h2 { font-size: 0.95rem; margin-bottom: 10px; color: var(--on-dark); letter-spacing: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--brand-ice); text-decoration: none; }
.site-footer a:hover { color: var(--on-dark); text-decoration: underline; }
.site-footer :focus-visible { outline-color: var(--brand-sky); }
.site-footer__legal { margin-top: var(--space-6); padding-top: var(--space-4); border-top: 1px solid rgba(224, 236, 255, 0.16); font-size: var(--fs-sm); }

/* ---------- Buttons, fields (BRANDING.md §6) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--radius-md); border: 1px solid transparent; font: inherit; font-size: 1rem; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s; }
.btn--primary { background: var(--brand-blue); color: var(--on-dark); box-shadow: 0 1px 2px rgba(37, 99, 235, 0.25); }
.btn--primary:hover { background: var(--brand-blue-hover); color: var(--on-dark); }
.btn--secondary { background: var(--surface-card); color: var(--brand-blue); border-color: var(--border); }
.btn--secondary:hover { border-color: var(--brand-blue); color: var(--brand-blue-hover); background: var(--surface-page); }
.btn:focus-visible { outline: 3px solid var(--brand-blue); outline-offset: 2px; box-shadow: var(--focus-ring); }
.btn--block { width: 100%; }
.btn[aria-busy="true"] { opacity: 0.75; cursor: progress; }
.btn--link { background: none; border: 0; padding: 0; min-height: 0; color: var(--brand-blue); font-weight: 600; box-shadow: none; }
.field { display: grid; gap: 6px; min-width: 0; align-content: start; }
.field > label, .field__label { font-size: 0.9rem; font-weight: 550; color: var(--text-primary); padding: 0; }
.input, .select {
    width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; color: var(--heading);
    background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--radius-md); appearance: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.input::placeholder { color: var(--text-secondary); opacity: 1; }
.input:hover, .select:hover { border-color: var(--border-hover); }
.select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16' fill='%236B7280'%3E%3Cpath d='M1.6 5.1a.7.7 0 0 1 1 0L8 10.5l5.4-5.4a.7.7 0 1 1 1 1l-5.9 5.9a.7.7 0 0 1-1 0L1.6 6.1a.7.7 0 0 1 0-1z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.input:focus, .select:focus { outline: 2px solid transparent; border-color: var(--brand-blue); box-shadow: var(--focus-ring); }
.input[aria-invalid="true"], .select[aria-invalid="true"] { border-color: var(--danger-text); }
.field__error { color: var(--danger-text); font-size: 0.85rem; font-weight: 550; display: flex; gap: 6px; align-items: flex-start; }
.field__hint { color: var(--text-secondary); font-size: 0.85rem; line-height: 1.45; }
/* a field with a leading icon (decorative: the label names the field) */
.control { position: relative; display: block; min-width: 0; }
.control__icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-secondary); font-size: 1.05rem; pointer-events: none; z-index: 1; }
.control .input, .control .select { padding-left: 42px; }
.control:focus-within .control__icon { color: var(--brand-blue); }

/* ---------- Search form: the heart of the product */
.search { background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); padding: var(--space-4); display: grid; gap: var(--space-4); }
.search__row { display: grid; gap: var(--space-4); }
@media (min-width: 640px) { .search { padding: var(--space-5); } .search__row { grid-template-columns: 1fr 1fr; } .search__dest { grid-column: 1 / -1; } }
/* P6.1, Voyageurs compacted: from 1200 px one main line Destination | Arrivée | Durée | Voyageurs | Rechercher, the
   quick filters and the accommodation type on a second line; 1024–1199 px: the button joins the second line */
@media (min-width: 1024px) {
    .search { padding: 20px 22px; }
    .search__row { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1.1fr); align-items: end; gap: var(--space-4) 14px; }
    .search__dest { grid-column: auto; }
    .search__options { grid-column: 1 / 4; grid-row: 2; }
    .search__submit { grid-column: 4 / 5; grid-row: 2; align-self: center; }
    .search__submit .btn { min-height: 52px; font-size: 1.05rem; }
}
@media (min-width: 1200px) {
    .search { padding: 24px 28px; }
    .search__row { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1.1fr) auto; column-gap: 16px; }
    .search__options { grid-column: 1 / -1; }
    .search__submit { grid-column: -2 / -1; grid-row: 1; align-self: end; }
    .search__submit .btn { min-width: 170px; }
}
.search__options { display: flex; flex-wrap: wrap; gap: 0 var(--space-4); align-items: center; font-size: 0.95rem; }
@media (min-width: 640px) { .search__options { grid-column: 1 / -1; gap: var(--space-3) var(--space-5); } }
@media (min-width: 1024px) { .search__options { border-top: 1px solid var(--border-subtle); padding-top: var(--space-4); } }
.search__options .field { min-width: 240px; }
@media (max-width: 479px) { .search__options .field { min-width: 0; width: 100%; margin-top: var(--space-2); } }
@media (min-width: 640px) and (max-width: 1023px) { .search__submit { grid-column: 1 / -1; } }
.when__modes { display: inline-flex; gap: 2px; padding: 3px; background: var(--brand-ice); border-radius: var(--radius-sm); width: fit-content; }
.when__modes label { padding: 4px 12px; min-height: 32px; display: inline-flex; align-items: center; border-radius: 6px; font-size: 0.875rem; font-weight: 600; color: var(--brand-navy); cursor: pointer; }
.when__modes input { position: absolute; opacity: 0; pointer-events: none; }
.when__modes label:has(input:checked) { background: var(--brand-blue); color: var(--on-dark); box-shadow: var(--shadow-sm); }
.when__modes label:has(input:focus-visible) { outline: 3px solid var(--brand-blue); outline-offset: 2px; }
.when__inputs { display: grid; grid-template-columns: 1fr; gap: 8px; }
.when:has(input[value="mois"]:checked) .when__date { display: none; }
.when:has(input[value="date"]:checked) .when__month { display: none; }
.when__date { display: grid; grid-template-columns: minmax(0, 1fr) 118px; gap: 8px; }
/* enhanced: the flexibility is chosen in the calendar (the native field stays in the form) */
.when__date:has(.when__day.is-enhanced) { grid-template-columns: minmax(0, 1fr); }
.when__date:has(.when__day.is-enhanced) .when__flex { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; font-weight: 500; color: var(--text-primary); }
.toggle input { width: 20px; height: 20px; accent-color: var(--brand-blue); margin: 0; }
.stepper { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface-card); min-height: 48px; overflow: hidden; transition: border-color 0.15s, box-shadow 0.15s; }
.stepper input { width: 100%; border: 0; text-align: center; font: inherit; font-weight: 700; color: var(--heading); background: transparent; -moz-appearance: textfield; min-width: 0; }
.stepper input:focus { outline: none; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper button { height: 100%; min-height: 44px; border: 0; background: none; color: var(--brand-blue); cursor: pointer; font-size: 1.05rem; }
.stepper button .icon { fill: var(--brand-blue); }
.stepper button:hover:not(:disabled) { background: var(--brand-ice); }
.stepper button:focus-visible { outline: 3px solid var(--brand-blue); outline-offset: -3px; }
.stepper button:disabled { color: var(--border); cursor: default; }
.stepper button:disabled .icon { fill: var(--border); }
.stepper:focus-within { border-color: var(--brand-blue); box-shadow: var(--focus-ring); }

/* Travellers: without JavaScript the steppers in place; enhanced, one compact control and a popover */
.travelers__panel { display: grid; gap: var(--space-3); }
.travelers__row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.travelers__name { font-weight: 500; color: var(--text-primary); }
.travelers__row .stepper { width: 140px; flex: none; }
.travelers .party__note { margin: 0; }
.travelers > .control__icon { display: none; }
/* first paint with scripts on the way ("js" on <html>): the compact control already, the steppers in its popover */
.js .travelers .travelers__trigger[hidden] { display: flex !important; }
.js .travelers:not(.is-enhanced) .travelers__panel { display: none; }

/* ---------- Pickers (P6.1): one component family — trigger, popover panel, options, selected state */
.picker { position: relative; }
.picker.is-enhanced > .picker__native { position: absolute; inset: auto auto 0 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.picker.is-enhanced > .control__icon { display: none; }
.picker__trigger {
    position: relative; display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 0 38px 0 14px;
    font: inherit; color: var(--heading); text-align: left; cursor: pointer;
    background: var(--surface-card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16' fill='%236B7280'%3E%3Cpath d='M1.6 5.1a.7.7 0 0 1 1 0L8 10.5l5.4-5.4a.7.7 0 1 1 1 1l-5.9 5.9a.7.7 0 0 1-1 0L1.6 6.1a.7.7 0 0 1 0-1z'/%3E%3C/svg%3E") no-repeat right 14px center;
    border: 1px solid var(--border); border-radius: var(--radius-md); transition: border-color 0.15s, box-shadow 0.15s;
}
.picker__trigger:hover { border-color: var(--border-hover); }
.picker__trigger:focus-visible { outline: 2px solid transparent; border-color: var(--brand-blue); box-shadow: var(--focus-ring); }
.picker.is-open > .picker__trigger { border-color: var(--brand-blue); }
.picker__trigger .control__icon { position: static; transform: none; flex: none; }
.picker__trigger.is-placeholder .picker__value { color: var(--text-secondary); }
.picker__value { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.picker__chevron { display: none; }
.picker__panel, .combo__list {
    position: absolute; z-index: 40; top: calc(100% + 6px); left: 0; min-width: 100%; margin: 0; padding: 6px;
    background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.picker__panel[hidden], .combo__list[hidden] { display: none; }
.picker__panel:focus { outline: none; }
.picker__panel:focus-visible { box-shadow: var(--shadow-lg), var(--focus-ring); }
.picker__panel--list { width: max-content; max-width: min(360px, calc(100vw - 32px)); max-height: 340px; overflow: auto; }
.picker__group { padding-top: 4px; }
.picker__group::before { content: attr(data-label); display: block; padding: 8px 12px 4px; font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-secondary); }
.picker__option { padding: 9px 12px; border-radius: var(--radius-sm); color: var(--text-primary); cursor: pointer; white-space: nowrap; }
.picker__option:hover, .picker__option.is-active { background: var(--brand-ice); color: var(--heading); }
.picker__option[aria-selected="true"] { background: var(--brand-blue); color: var(--on-dark); font-weight: 600; }
.picker__option[aria-selected="true"].is-active { background: var(--brand-blue-hover); box-shadow: inset 0 0 0 2px var(--brand-navy); }
/* months: a compact grid, "Toutes les dates" on its own line */
.picker__panel--grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; width: 432px; max-width: calc(100vw - 32px); }
.picker__panel--grid .picker__option { text-align: center; padding: 10px 6px; white-space: normal; line-height: 1.25; font-size: 0.92rem; }
.picker__panel--grid .picker__option:first-child { grid-column: 1 / -1; }
.when__flex .picker__panel { left: auto; right: 0; }
.search__type .picker__panel { min-width: 100%; }

/* Calendar ("Date précise"): two months on wide screens, one on phones */
.calendar { width: max-content; max-width: calc(100vw - 32px); padding: 14px 16px 16px; }
.calendar__head { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; justify-content: space-between; pointer-events: none; }
.calendar__nav { pointer-events: auto; display: inline-grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--border-subtle); border-radius: 50%; background: var(--surface-card); color: var(--heading); cursor: pointer; }
.calendar__nav .icon { fill: var(--brand-navy); }
.calendar__nav:hover:not(:disabled) { background: var(--brand-ice); }
.calendar__nav:disabled { opacity: 0.35; cursor: default; }
.calendar__nav:focus-visible { outline: 3px solid var(--brand-blue); outline-offset: 2px; }
.calendar__months { display: flex; gap: 24px; }
.calendar__title { margin: 6px 0 10px; text-align: center; font-weight: 600; color: var(--heading); text-transform: capitalize; }
.calendar__grid { border-collapse: collapse; }
.calendar__grid th { width: 38px; padding: 0 0 4px; font-size: var(--fs-xs); font-weight: 600; color: var(--text-secondary); text-transform: capitalize; }
.calendar__grid td { padding: 1px; text-align: center; }
.calendar__day { width: 36px; height: 36px; border: 0; border-radius: var(--radius-sm); background: none; font: inherit; font-size: 0.92rem; color: var(--text-primary); cursor: pointer; font-variant-numeric: tabular-nums; }
.calendar__day:hover:not(:disabled) { background: var(--brand-ice); color: var(--heading); }
.calendar__day:focus-visible { outline: 3px solid var(--brand-blue); outline-offset: 1px; }
.calendar__day[aria-current="date"] { box-shadow: inset 0 0 0 1px var(--brand-sky); font-weight: 600; }
.calendar__day[aria-pressed="true"] { background: var(--brand-blue); color: var(--on-dark); font-weight: 600; }
.calendar__day:disabled { color: var(--border); cursor: default; }
.calendar__flex { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border-subtle); }
.calendar__flex-label { margin-right: 4px; font-size: var(--fs-sm); color: var(--text-secondary); }
.calendar__chip { min-height: 36px; padding: 0 12px; border: 1px solid var(--border); border-radius: var(--radius-pill); background: var(--surface-card); font: inherit; font-size: 0.9rem; color: var(--text-primary); cursor: pointer; }
.calendar__chip:hover { background: var(--brand-ice); border-color: var(--brand-ice-strong); }
.calendar__chip[aria-pressed="true"] { background: var(--brand-blue); border-color: var(--brand-blue); color: var(--on-dark); font-weight: 600; }
.calendar__chip:focus-visible { outline: 3px solid var(--brand-blue); outline-offset: 2px; }
@media (max-width: 639px) { .calendar { left: 0; right: 0; width: auto; max-width: none; } .calendar__months { justify-content: center; } }
@media (max-width: 359px) { .calendar { padding: 12px 8px; } .calendar__grid th { width: 34px; } .calendar__day { width: 34px; height: 34px; } }

/* Travellers popover (enhanced) */
.travelers.is-enhanced .travelers__panel { position: absolute; z-index: 40; top: calc(100% + 6px); right: 0; width: 320px; max-width: calc(100vw - 32px); padding: var(--space-4); background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.travelers.is-enhanced .travelers__panel[hidden] { display: none; }
@media (max-width: 1023px) { .travelers.is-enhanced .travelers__panel { left: 0; right: auto; } }
@media (max-width: 639px) { .travelers.is-enhanced .travelers__panel { width: 100%; } }
.travelers__done { min-height: 44px; }

/* Destination picker (combobox): suggestions and grouped results */
.combo { position: relative; }
.combo__list { right: 0; max-height: min(440px, 60vh); overflow: auto; }
@media (min-width: 640px) { .combo__list { right: auto; width: max(100%, 440px); max-width: calc(100vw - 48px); } }
.combo__group + .combo__group { margin-top: 4px; border-top: 1px solid var(--border-subtle); padding-top: 4px; }
.combo__heading { padding: 8px 12px 4px; font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-secondary); }
.combo__option { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: var(--radius-sm); cursor: pointer; }
.combo__option:hover, .combo__option[aria-selected="true"] { background: var(--brand-ice); }
.combo__icon { display: inline-grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--brand-ice); font-size: 0.95rem; }
.combo__icon .icon { fill: var(--brand-navy); }
.combo__option:hover .combo__icon, .combo__option[aria-selected="true"] .combo__icon { background: var(--surface-card); }
.combo__text { display: grid; flex: 1; min-width: 0; }
.combo__label { color: var(--heading); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.combo__meta { color: var(--text-secondary); font-size: 0.85rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.combo__option[aria-selected="true"] .combo__meta, .combo__option:hover .combo__meta, .combo__option:hover .combo__count, .combo__option[aria-selected="true"] .combo__count { color: var(--text-on-ice); }
.combo__count { flex: none; font-size: 0.82rem; color: var(--text-secondary); font-variant-numeric: tabular-nums; }

/* ---------- Home */
/* Hero (BRANDING.md §5, P6): the licensed photograph in its natural colours (art-directed crops,
   _partials/hero_picture.html.twig).
   - Phones and tablets: a short photo strip above the H1, faded into the page at its bottom only; the text and the
     search card follow on the page background (no veil over the photo, no navy text over the blue sky).
   - Desktop: the photo fills the hero behind the H1; a white gradient on the left keeps the H1 calm and AA, the skier
     stays in full colour on the right, above the search card. Never a dark veil. */
.hero { position: relative; z-index: 2; isolation: isolate; overflow-x: clip; background: var(--surface-page); padding: 0 0 24px; }  /* the search pickers open over the next section */
.hero__visual { position: relative; height: clamp(136px, 38vw, 230px); overflow: hidden; }
.hero__visual picture { display: block; height: 100%; }
.hero__visual img, .hero__visual svg { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; display: block; }
.hero__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(248, 250, 252, 0) 58%, var(--surface-page) 100%); }
.hero__inner { position: relative; margin-top: -14px; }
@media (min-width: 640px) { .hero__visual img { object-position: 70% 50%; } }
@media (min-width: 1024px) {
    .hero { padding: 56px 0 28px; }
    .hero__visual { position: absolute; inset: 0 0 120px 0; height: auto; z-index: -1; }
    .hero__visual img, .hero__visual svg { object-position: 0% 40%; }
    .hero__visual::after { background:
        linear-gradient(90deg, rgba(248, 250, 252, 0.96) 0%, rgba(248, 250, 252, 0.9) 30%, rgba(248, 250, 252, 0.45) 52%, rgba(248, 250, 252, 0) 68%),
        linear-gradient(180deg, rgba(248, 250, 252, 0) 62%, var(--surface-page) 100%); }
    .hero__inner { margin-top: 0; }
}
@media (min-width: 1280px) { .hero__visual img { object-position: 78% 25%; } }
@media (min-width: 1536px) { .hero__visual img { object-position: 0% 25%; } }
.hero__text { max-width: 940px; }
.hero__kicker { margin: 0 0 var(--space-3); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-navy); }
.hero h1 { color: var(--heading); margin-bottom: var(--space-3); text-wrap: balance; }
.hero__lead { max-width: 64ch; text-wrap: pretty; font-size: 1.05rem; color: var(--text-primary); margin-bottom: var(--space-5); }
@media (min-width: 1024px) { .hero__lead { font-size: 1.125rem; margin-bottom: var(--space-6); } }
.hero__credit { position: absolute; right: 12px; top: 10px; margin: 0; font-size: var(--fs-xs); color: var(--brand-navy); background: rgba(255, 255, 255, 0.85); padding: 2px 10px; border-radius: var(--radius-pill); }
@media (max-width: 1023px) { .hero__credit { top: auto; bottom: 6px; } }
/* Trust: three factual reminders, not marketing blocks */
.trust { display: grid; gap: 10px; margin: var(--space-4) 0 0; padding: 0; list-style: none; font-size: 0.9375rem; line-height: 1.35; color: var(--text-primary); }
@media (min-width: 768px) { .trust { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); } .trust li { justify-content: center; } }
@media (min-width: 1024px) { .trust { margin-top: var(--space-5); } }
.trust li { display: flex; gap: 8px; align-items: center; font-weight: 500; }
.trust__icon { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--brand-ice); font-size: 1rem; flex: none; }
.section { padding: var(--space-6) 0 var(--space-2); }
@media (min-width: 640px) { .section { padding-top: var(--space-7); } }
@media (min-width: 1024px) { .section { padding-top: var(--space-8); } }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--space-2) var(--space-5); flex-wrap: wrap; margin-bottom: var(--space-5); }
.section__head h2 { margin-bottom: var(--space-1); }
.section__lead { margin: 0; color: var(--text-secondary); font-size: 1.05rem; }
.section__aside { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-size: var(--fs-sm); color: var(--text-secondary); max-width: 46ch; }
.section__aside .icon { color: var(--brand-blue); margin-top: 2px; font-size: 1.1rem; }
.section__note { margin: var(--space-3) 0 0; font-size: var(--fs-xs); color: var(--text-secondary); }
/* Main destinations: large visual cards with the price and its basis */
.dest-feature { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .dest-feature { gap: var(--space-4); } }
@media (min-width: 1024px) { .dest-feature { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-5); } }
@media (max-width: 359px) { .dest-feature { grid-template-columns: minmax(0, 1fr); } }
.dest-feature__card { position: relative; display: grid; grid-template-rows: auto 1fr; height: 100%; background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-xl); overflow: hidden; text-decoration: none; color: var(--text-primary); box-shadow: var(--shadow-sm); transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s; }
.dest-feature__card:hover { box-shadow: var(--shadow-md); border-color: var(--border); color: var(--text-primary); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .dest-feature__card:hover { transform: none; } }
.dest-feature__visual { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--brand-ice); }
.dest-feature__visual { overflow: hidden; }
.dest-feature__visual picture { display: block; height: 100%; }
.dest-feature__visual svg, .dest-feature__visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* the illustration is a wide panorama: frame the peaks, not the sky */
.dest-feature__visual svg { transform: scale(1.2); transform-origin: 50% 72%; }
/* the snowy edge between photo and text */
.dest-feature__visual::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -1px; height: 18%; background: var(--surface-card); border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.dest-feature__body { display: grid; gap: 2px; align-content: start; padding: 0 var(--space-4) var(--space-4); }
@media (min-width: 1024px) { .dest-feature__body { padding: 0 var(--space-5) var(--space-5); } }
.dest-feature__name { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font-size: 1.15rem; font-weight: 700; color: var(--heading); letter-spacing: -0.01em; }
@media (min-width: 1024px) { .dest-feature__name { font-size: 1.3rem; } }
.flag { width: 24px; height: 18px; flex: none; border-radius: 3px; box-shadow: 0 0 0 1px rgba(8, 45, 91, 0.12); }
.dest-feature__count { color: var(--text-secondary); font-size: 0.92rem; }
.dest-feature__price { color: var(--heading); font-size: 1.05rem; }
.dest-feature__price strong { font-size: 1.25rem; font-weight: 700; }
.dest-feature__basis { display: block; font-size: var(--fs-sm); color: var(--text-secondary); }
.dest-feature__go { position: absolute; right: var(--space-4); bottom: var(--space-4); display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand-ice); color: var(--brand-blue); font-size: 1rem; transition: background-color 0.15s, color 0.15s; }
.dest-feature__card:is(:hover, :focus-visible, :active) .dest-feature__go { background: var(--brand-blue); color: var(--on-dark); }
@media (max-width: 639px) {
    .dest-feature__body { padding: 0 var(--space-3) var(--space-3); }
    .dest-feature__name { font-size: 1.05rem; gap: 8px; }
    .flag { width: 20px; height: 15px; }
    .dest-feature__price, .dest-feature__count { white-space: nowrap; font-size: 0.88rem; }
    .dest-feature__price strong { font-size: 1.05rem; }
    .dest-feature__go { display: none; }
}
.dest-more__title { margin: var(--space-6) 0 var(--space-3); font-size: 1.05rem; }
.dest-more { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-2); grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
@media (max-width: 639px) {
    /* phones: a compact two-column grid (P6), every country still a real link */
    .dest-more { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dest-more a { padding: 10px 12px; }
    .dest-more__meta { font-size: 0.82rem; line-height: 1.35; }
}
.dest-more a { display: grid; gap: 2px; height: 100%; padding: 12px 16px; background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); text-decoration: none; color: var(--text-primary); transition: border-color 0.15s, box-shadow 0.15s; }
.dest-more a:hover { border-color: var(--brand-blue); box-shadow: var(--shadow-sm); color: var(--text-primary); }
/* a long name without a break opportunity (« Kaprun / Fusch an der Großglocknerstraße ») wraps inside its tile, never
   wider than a phone */
.dest-more__name { font-weight: 600; color: var(--heading); overflow-wrap: anywhere; }
.dest-more__meta { font-size: var(--fs-sm); color: var(--text-secondary); }
.nowrap { white-space: nowrap; }
/* secondary text inside a selected item (ice background) stays AA */
[aria-current] .muted, [aria-current] .opt__count, [aria-current] .date-strip__dow, [aria-current] .date-strip__price { color: var(--text-on-ice); }
/* Stations: compact clickable tiles */
.station-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-2); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .station-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); } }
@media (min-width: 1024px) { .station-list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.station-list a { display: flex; gap: 10px; align-items: center; height: 100%; padding: 10px 12px; border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); background: var(--surface-card); text-decoration: none; color: var(--text-primary); transition: border-color 0.15s, box-shadow 0.15s; }
.station-list a:hover { border-color: var(--brand-blue); box-shadow: var(--shadow-sm); color: var(--text-primary); }
.station-list__icon { display: inline-grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--brand-ice); color: var(--brand-blue); }
.station-list__name { display: block; font-weight: 600; color: var(--heading); line-height: 1.3; }
.station-list__meta { display: block; font-size: 0.82rem; color: var(--text-secondary); line-height: 1.35; }
@media (max-width: 479px) { .station-list a { padding: 8px 10px; gap: 8px; } .station-list__icon { width: 28px; height: 28px; font-size: 0.85rem; } }
@media (max-width: 359px) { .station-list__icon { display: none; } }
/* P6.2 home catalogue: four stays, themes, stations, budgets. Grids only (no carousel): 4 columns on desktop, 2 × 2 on
   tablets, 1 column on phones; every card is a real link that works without JavaScript. */
.section__more { margin: var(--space-4) 0 0; }
.section__more a { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; }
.section--compact { padding-bottom: var(--space-4); }
.section--compact .dest-more__title { margin-top: 0; }
.stay-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-4); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .stay-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .stay-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-5); } }
.stay-card { position: relative; display: grid; grid-template-rows: auto 1fr; background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow 0.2s, border-color 0.2s; }
.stay-card:hover { box-shadow: var(--shadow-md); border-color: var(--border); }
.stay-card__media { aspect-ratio: 3 / 2; background: var(--brand-ice); }
.stay-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.stay-card__body { display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-4); }
@media (min-width: 1024px) { .stay-card__body { padding: var(--space-4) var(--space-4) var(--space-5); } }
.stay-card__where { margin: 0; font-size: var(--fs-sm); color: var(--text-secondary); }
.stay-card__name { margin: 0; font-size: 1.1rem; line-height: 1.3; color: var(--heading); }
.stay-card__meta { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; margin: 0; font-size: var(--fs-sm); color: var(--text-secondary); }
.stay-card .features { flex-direction: column; gap: 4px; font-size: 0.9rem; }
.stay-card__stay { display: flex; gap: 8px; align-items: flex-start; margin: 0; font-size: 0.9rem; color: var(--text-primary); }
.stay-card__stay .icon { margin-top: 3px; color: var(--text-secondary); }
.stay-card__tag { margin: 0; }
.stay-card__price { margin: auto 0 0; padding-top: var(--space-3); border-top: 1px solid var(--border-subtle); color: var(--heading); line-height: 1.35; }
.stay-card__from { display: block; font-size: var(--fs-sm); color: var(--text-secondary); }
.stay-card__price strong { font-size: 1.4rem; font-weight: 700; letter-spacing: -0.01em; }
.stay-card__total { display: block; font-size: var(--fs-sm); color: var(--text-secondary); }
.stay-card__cta { width: 100%; min-height: 44px; }
/* the whole card opens the stay (one link, the button) */
.stay-card__cta::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.stay-card:focus-within { outline: 3px solid var(--brand-blue); outline-offset: 2px; }
.stay-card__cta:focus-visible { outline: none; box-shadow: none; }
@media (max-width: 639px) {
    .stay-card__media { aspect-ratio: 16 / 9; }
}
/* ---------- Home V3 (BRAND-1 logo, HOME-V3): see the "Accueil V3" section at the end of this file */

/* ---------- Results */
.results-head { background: linear-gradient(180deg, var(--surface-card) 0%, var(--surface-page) 100%); border-bottom: 1px solid var(--border-subtle); padding: 18px 0; }
.summary { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.summary__items { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; color: var(--heading); font-weight: 550; }
.summary__items li { display: inline-flex; gap: 8px; align-items: center; padding: 6px 12px; border-radius: var(--radius-pill); background: var(--brand-ice); font-size: 0.95rem; }
.summary__items .icon { color: var(--brand-blue); }
.summary__page { margin: 8px 0 0; font-weight: 600; }
.summary__page a { display: inline-flex; gap: 6px; align-items: center; }
.modify > summary { list-style: none; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; font-weight: 600; color: var(--brand-blue); }
.modify > summary::-webkit-details-marker { display: none; }
.modify[open] > summary { margin-bottom: 14px; }
.modify .search { box-shadow: var(--shadow-md); }
.results-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 24px; }
@media (min-width: 1024px) { .results-layout { grid-template-columns: 264px minmax(0, 1fr); align-items: start; gap: 28px; } .results-layout--single { grid-template-columns: minmax(0, 1fr); } }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.toolbar__count { margin: 0; font-size: 1.15rem; }
.toolbar__count strong { color: var(--heading); }
.toolbar__actions { display: flex; gap: 10px; align-items: center; min-width: 0; max-width: 100%; }
.sort { display: flex; gap: 8px; align-items: center; min-width: 0; }
.sort .select { min-height: 42px; width: auto; min-width: 0; max-width: 100%; }
@media (max-width: 479px) { .toolbar__actions { width: 100%; } .sort { flex: 1; } .sort .select { flex: 1; } }
.filters-open { display: inline-flex; }
@media (min-width: 1024px) { .filters-open { display: none; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 16px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 12px; border-radius: 999px; background: var(--brand-ice); color: var(--brand-blue-hover); font-size: 0.88rem; font-weight: 600; text-decoration: none; }
.chip:hover { background: var(--brand-ice-strong); }
.notice { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius-md); background: var(--warning-soft); border: 1px solid var(--warning-border); color: var(--warning-text); font-size: 0.92rem; margin-bottom: 16px; }
.notice--error { background: var(--danger-soft); border-color: var(--danger-border); color: var(--danger-text); }
.notice .icon { margin-top: 3px; }
.price__amount--text { font-size: 1.05rem; line-height: 1.3; letter-spacing: 0; }
.empty__secondary { max-width: 460px; margin: 18px auto 0; }

/* Filters: sidebar ≥ 1024 px, full-screen panel below (opened by #filtres, enhanced by JS) */
.filters { background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.filters__head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--border-subtle); }
.filters__head h2 { font-size: 1.05rem; margin: 0; }
.filters__body { padding: 2px 16px 8px; }
.filters__foot { display: none; }
.filter-group { padding: 14px 0; border-bottom: 1px solid var(--border-subtle); }
.filter-group:last-child { border-bottom: 0; }
.filter-group h3 { font-size: 0.92rem; margin-bottom: 8px; }
.filter-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.opt { display: flex; align-items: center; gap: 10px; padding: 6px 4px; border-radius: 6px; text-decoration: none; color: var(--text-primary); font-size: 0.9rem; }
.opt:hover { background: var(--surface-page); color: var(--heading); }
.opt__box { width: 18px; height: 18px; flex: none; border: 1.5px solid var(--border); border-radius: 4px; display: grid; place-items: center; color: var(--on-dark); background: var(--surface-card); }
.opt__box--radio { border-radius: 50%; }
.opt[aria-current="true"] .opt__box { background: var(--brand-blue); border-color: var(--brand-blue); }
.opt[aria-current="true"] .opt__box--radio { background: var(--surface-card); box-shadow: inset 0 0 0 4px var(--brand-blue); }
.opt__label { flex: 1; }
.opt__count { color: var(--text-secondary); font-size: 0.85rem; font-variant-numeric: tabular-nums; }
.filter-group__note { font-size: 0.85rem; line-height: 1.45; color: var(--text-secondary); margin: 8px 0 0; }
.nights-grid { grid-template-columns: repeat(auto-fill, minmax(54px, 1fr)) !important; gap: 6px !important; }
.nights-grid .opt { flex-direction: column; gap: 0; border: 1px solid var(--border-subtle); text-align: center; padding: 6px 2px; }
.nights-grid .opt[aria-current="true"] { border-color: var(--brand-blue); background: var(--brand-ice); color: var(--brand-blue-hover); }
.nights-grid .opt__box { display: none; }
.more-filters > summary { cursor: pointer; padding: 14px 0; font-weight: 600; color: var(--brand-blue); list-style: none; display: flex; gap: 6px; align-items: center; }
.more-filters > summary::-webkit-details-marker { display: none; }
@media (max-width: 1023px) {
    .filters { position: fixed; inset: 0; z-index: 50; border-radius: 0; border: 0; display: none; flex-direction: column; }
    .filters:target, .filters.is-open { display: flex; }
    .filters__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; }
    .filters__foot { display: block; padding: 12px 18px; border-top: 1px solid var(--border-subtle); box-shadow: 0 -4px 12px rgba(8, 45, 91, 0.06); }
}
@media (min-width: 1024px) { .filters__close { display: none; } }

/* Cards: one per accommodation */
.cards { display: grid; gap: 16px; list-style: none; padding: 0; margin: 0; }
.card { display: grid; background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; transition: box-shadow 0.15s, border-color 0.15s; }
.card:hover { box-shadow: var(--shadow-md); border-color: var(--border); }
.card__media { position: relative; aspect-ratio: 4 / 3; background: var(--surface-page); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.no-photo { width: 100%; height: 100%; display: grid; place-items: center; color: var(--text-secondary); font-size: 0.85rem; gap: 6px; text-align: center; background: repeating-linear-gradient(135deg, var(--brand-ice) 0 12px, var(--surface-page) 12px 24px); }
.no-photo .icon { font-size: 1.6rem; }
.card__body { padding: 16px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.card__where { font-size: 0.875rem; color: var(--text-secondary); display: flex; gap: 6px; align-items: center; }
.card__name { font-size: 1.15rem; margin: 0; }
.card__name a { color: var(--heading); text-decoration: none; }
.card__name a:hover { color: var(--brand-blue); }
.card__name a::after { content: ""; position: absolute; inset: 0; } /* whole card clickable, nested links stay on top */
.card { position: relative; }
.card a:not(.card__title-link), .card .btn { position: relative; z-index: 1; }
.card__meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 0.88rem; color: var(--text-secondary); align-items: center; }
.stars { color: var(--brand-navy); display: inline-flex; gap: 1px; align-items: center; }
.features { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 0.92rem; }
@media (min-width: 640px) { .features { flex-direction: row; flex-wrap: wrap; gap: 6px 22px; } }
.features li { display: flex; gap: 8px; align-items: flex-start; color: var(--text-primary); }
.features .icon { margin-top: 3px; color: var(--text-secondary); }
.status--included { color: var(--success-text); font-weight: 600; }
.status--included .icon { color: var(--success-text); }
.status--unknown { color: var(--warning-text); }
.status--unknown .icon { color: var(--warning-text); }
.features__detail { display: block; color: var(--text-secondary); font-size: 0.85rem; font-weight: 400; }
.stay { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; font-size: 0.9rem; color: var(--text-primary); background: var(--surface-page); padding: 8px 10px; border-radius: var(--radius-sm); }
.stay .icon { color: var(--text-secondary); }
.stay__sep { color: var(--text-secondary); }
.tag { display: inline-flex; align-items: center; gap: 4px; font-size: 0.8rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--surface-card); border: 1px solid var(--border-subtle); color: var(--text-primary); }
.badge-included { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: var(--success-soft); color: var(--success-text); font-size: 0.82rem; font-weight: 600; }
.card__amenities { font-size: 0.875rem; color: var(--text-secondary); }
.card__price { padding: 16px; border-top: 1px solid var(--border-subtle); display: grid; gap: 4px; align-content: start; }
.price { display: grid; gap: 2px; justify-items: inherit; }
.price__main { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; justify-content: inherit; }
.price__from { font-size: 0.85rem; color: var(--text-secondary); font-weight: 600; }
.price__amount { font-size: 1.75rem; font-weight: 700; color: var(--heading); letter-spacing: -0.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.price__caption { font-size: 0.9rem; color: var(--text-primary); }
.price__pp { font-size: 0.875rem; color: var(--text-secondary); }
.price__before { font-size: 0.85rem; color: var(--text-secondary); }
.price__before s { margin-right: 4px; }
.price__note { font-size: 0.875rem; line-height: 1.45; color: var(--warning-text); display: flex; gap: 6px; }
.price__note .icon { margin-top: 3px; }
.price__supplier { font-size: 0.875rem; color: var(--text-secondary); }
.price__claim { font-size: 0.875rem; color: var(--success-text); font-weight: 600; }
.card__cta { margin-top: 8px; }
.card__more { font-size: 0.85rem; color: var(--text-secondary); text-align: center; }
@media (min-width: 640px) and (max-width: 1023px) {
    .card { grid-template-columns: 240px minmax(0, 1fr); }
    .card__media { aspect-ratio: auto; min-height: 100%; grid-row: span 2; }
    .card__price { border-top: 1px solid var(--border-subtle); }
}
@media (min-width: 1024px) {
    .card { grid-template-columns: 260px minmax(0, 1fr) 210px; }
    .card__media { aspect-ratio: auto; min-height: 100%; }
    .card__price { border-top: 0; border-left: 1px solid var(--border-subtle); text-align: right; justify-items: end; }
    .price__note { text-align: left; }
    .card__cta { width: 100%; }
}
@media (min-width: 1280px) { .card { grid-template-columns: 300px minmax(0, 1fr) 220px; } }

/* Pagination, empty state */
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 28px 0 0; padding: 0; list-style: none; }
.pagination a, .pagination span { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 10px; border-radius: var(--radius-sm); border: 1px solid var(--border-subtle); background: var(--surface-card); text-decoration: none; color: var(--text-primary); font-weight: 600; }
.pagination a:hover { border-color: var(--brand-blue); color: var(--brand-blue); }
.pagination [aria-current="page"] { background: var(--brand-blue); border-color: var(--brand-blue); color: var(--on-dark); }
.pagination .gap { border: 0; background: none; min-width: 20px; }
.empty { background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); padding: 28px 22px; text-align: center; }
.empty .icon { font-size: 1.8rem; color: var(--text-secondary); }
.empty ul { list-style: none; padding: 0; margin: 16px auto 0; display: grid; gap: 8px; max-width: 460px; }
.empty li a { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 12px; text-align: left; padding: 12px 14px; border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); text-decoration: none; font-weight: 600; }
.empty li a:hover { border-color: var(--brand-blue); }
.empty li a > span:last-child { white-space: nowrap; }

/* ---------- Accommodation page */
.crumbs { font-size: 0.85rem; color: var(--text-secondary); padding: 16px 0 6px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; padding: 0; margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--border); }
.crumbs a { color: var(--text-secondary); }
.acc-head { display: grid; gap: 6px; margin-bottom: 16px; }
.acc-head h1 { margin: 0; }
.gallery { display: grid; gap: 8px; border-radius: var(--radius-xl); overflow: hidden; }
.gallery__main { aspect-ratio: 16 / 10; background: var(--surface-page); }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__side { display: none; }
@media (min-width: 1024px) {
    .gallery { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; height: 440px; }
    .gallery__main { grid-row: span 2; aspect-ratio: auto; }
    .gallery__side { display: block; background: var(--surface-page); }
    .gallery__side img { width: 100%; height: 100%; object-fit: cover; }
}
.strip { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 0 4px; margin: 0; list-style: none; border-radius: var(--radius-sm); }
.strip:focus-visible { outline-offset: 3px; }  /* keyboard scrolling of the photo strip */
.strip li { flex: 0 0 auto; scroll-snap-align: start; }
.strip img { width: 160px; height: 120px; object-fit: cover; border-radius: var(--radius-sm); }
.credit { font-size: 0.8rem; color: var(--text-secondary); margin-top: 4px; }
/* Gallery interactions (gallery_controller): every photo is a button, with the look unchanged; a zoom cursor on the
   large photo, a discreet ring on the thumbnail shown; the viewer is a full-screen native dialog, photos contained */
.gallery__btn { display: block; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.gallery__btn--zoom { cursor: zoom-in; }
.gallery__btn:focus-visible { outline: 3px solid var(--brand-blue); outline-offset: -3px; }
.gallery__btn[aria-current="true"] img { outline: 3px solid var(--brand-sky); outline-offset: -3px; }
.strip .gallery__btn { width: auto; height: auto; border-radius: var(--radius-sm); }
.strip .gallery__btn img { display: block; }
.has-lightbox { overflow: hidden; }
.lightbox { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(4, 16, 33, 0.94); color: #fff; overflow: hidden; }
.lightbox[open] { display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.lightbox::backdrop { background: rgba(4, 16, 33, 0.6); }
.lightbox__stage { display: grid; place-items: center; min-height: 0; padding: 64px 72px 8px; touch-action: pan-y; }
.lightbox__img { display: block; width: auto; height: auto; max-width: min(100%, calc(100vw - 144px)); max-height: calc(100dvh - 120px); object-fit: contain; border-radius: var(--radius-sm); user-select: none; -webkit-user-drag: none; }
.lightbox__count { margin: 0; padding: 8px 16px 20px; text-align: center; font-size: 0.9rem; color: rgba(255, 255, 255, 0.85); font-variant-numeric: tabular-nums; }
.lightbox__btn { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: var(--radius-pill); background: rgba(255, 255, 255, 0.14); color: #fff; cursor: pointer; }
.lightbox__btn .icon { width: 22px; height: 22px; fill: #fff; }
.lightbox__btn:hover { background: rgba(255, 255, 255, 0.26); }
.lightbox__btn:focus-visible { outline: 3px solid var(--brand-sky); outline-offset: 2px; }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 12px; }
.lightbox__nav--next { right: 12px; }
@media (max-width: 640px) {
    .lightbox__stage { padding: 64px 8px 8px; }
    .lightbox__img { max-width: 100%; max-height: calc(100dvh - 150px); }
    .lightbox__nav { top: auto; bottom: 12px; transform: none; }  /* below the photo: the swipe is the main gesture */
    .lightbox__count { padding-bottom: 26px; }
}
.acc-layout { display: grid; gap: 24px; margin-top: 24px; }
@media (min-width: 1024px) { .acc-layout { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; } .acc-aside.is-sticky { position: sticky; top: 16px; } }
.panel { background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 20px; }
@media (min-width: 640px) { .panel { padding: var(--space-5); } }
.panel > h2, .panel > section > h2 { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); }
.panel + .panel { margin-top: 16px; }
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 0.93rem; }
.facts li { display: flex; gap: 10px; align-items: flex-start; }
.facts .icon { margin-top: 3px; color: var(--text-secondary); }
.offers-controls { display: grid; gap: 14px; margin-bottom: 18px; }
.duration-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.duration-chips a { display: grid; padding: 6px 12px; border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); text-decoration: none; color: var(--text-primary); font-size: 0.9rem; line-height: 1.3; }
.duration-chips a strong { color: var(--heading); }
.duration-chips a[aria-current="true"] { border-color: var(--brand-blue); background: var(--brand-ice); }
.offers-form { display: grid; gap: 12px; align-items: end; grid-template-columns: 1fr 1fr; }
.offers-form > .btn { grid-column: 1 / -1; }
@media (min-width: 640px) { .offers-form { grid-template-columns: 140px 140px auto; justify-content: start; } .offers-form > .btn { grid-column: auto; } }
.date-nav { border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); padding: 14px 14px 12px; margin-bottom: 16px; }
.date-nav__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.date-nav__head h3 { margin: 0; font-size: 1rem; }
.date-nav__month .select { min-height: 40px; width: auto; padding-block: 6px; }
.date-nav__row { display: grid; grid-template-columns: 36px minmax(0, 1fr) 36px; gap: 6px; align-items: center; }
.date-nav__step { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border-subtle); color: var(--brand-blue); text-decoration: none; }
.date-nav__step:hover { border-color: var(--brand-blue); }
span.date-nav__step { border-color: transparent; }
.date-strip { position: relative; display: flex; gap: 6px; overflow-x: auto; scroll-snap-type: x proximity; list-style: none; margin: 0; padding: 2px; scrollbar-width: thin; }
.date-strip li { flex: 0 0 auto; scroll-snap-align: center; }
.date-strip a { display: grid; justify-items: center; min-width: 78px; padding: 8px 10px; border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); text-decoration: none; color: var(--text-primary); line-height: 1.3; }
.date-strip a:hover { border-color: var(--brand-blue); color: var(--text-primary); }
.date-strip a[aria-current="date"] { border-color: var(--brand-blue); background: var(--brand-ice); box-shadow: inset 0 0 0 1px var(--brand-blue); }
.date-strip__dow { font-size: 0.85rem; color: var(--text-secondary); }
.date-strip__day { font-weight: 700; color: var(--heading); white-space: nowrap; }
.date-strip__price { font-size: 0.875rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.date-nav__note { font-size: 0.875rem; color: var(--text-secondary); margin: 8px 0 0; }
.stay-block { border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); overflow: hidden; }
.stay-block + .stay-block { margin-top: 12px; }
.stay-block__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding: 12px 16px; background: var(--surface-page); font-weight: 600; color: var(--heading); }
.offer { display: grid; gap: 10px; padding: 14px 16px; border-top: 1px solid var(--border-subtle); }
.offer:first-of-type { border-top: 0; }
.offer__main { min-width: 0; }
.offer__unit { font-weight: 600; color: var(--heading); margin: 0; }
.offer__unit-details { margin: 2px 0 0; font-size: 0.9rem; color: var(--text-secondary); }
.offer__main .features { margin-top: 10px; }
.offer__others { margin-top: 12px; border-radius: var(--radius-md); background: var(--surface-page); }
.offer__others > summary { list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; gap: 4px 12px; justify-content: space-between; align-items: center; min-height: 44px; padding: 8px 12px; font-size: 0.9rem; color: var(--text-primary); border-radius: var(--radius-md); }
.offer__others > summary::-webkit-details-marker { display: none; }
.offer__others > summary:hover { background: var(--brand-ice); }
.offer__others-toggle { display: inline-flex; gap: 6px; align-items: center; color: var(--brand-blue); font-weight: 600; }
.offer__others[open] .offer__others-toggle .icon { transform: rotate(180deg); }
.offer__others:not([open]) .offer__others-open, .offer__others[open] .offer__others-closed { display: none; }
.offer__others ul { list-style: none; margin: 0; padding: 4px 12px 10px; display: grid; gap: 6px; font-size: 0.9rem; color: var(--text-primary); }
.offer__others li { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.more-offers { border-top: 1px solid var(--border-subtle); }
.more-offers > summary { list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; justify-content: center; padding: 14px 16px; font-weight: 600; color: var(--brand-blue); text-align: center; }
.more-offers > summary::-webkit-details-marker { display: none; }
.more-offers > summary:hover { background: var(--brand-ice); }
.more-offers__label { display: inline-flex; gap: 8px; align-items: center; }
.more-offers__adds { font-weight: 500; color: var(--text-secondary); font-size: 0.9rem; }
.more-offers[open] > summary { border-bottom: 1px solid var(--border-subtle); }
.more-offers[open] > summary .icon { transform: rotate(180deg); }
.more-offers:not([open]) .more-offers__label--open, .more-offers[open] .more-offers__label--closed, .more-offers[open] .more-offers__adds { display: none; }
.offer__price { display: grid; gap: 2px; }
.offer__price .tag { justify-self: start; }
.offer__cta { display: grid; gap: 4px; }
.offer__cta .btn { padding-inline: 14px; white-space: nowrap; }
/* OFFER-CTA: a label too wide for its button ("Réserver chez SnowTrex" below 360 px, the family "Vérifier le tarif chez
   SnowTrex" up to 389 px and in the 250 px desktop column, OFFER-FAMILY-CTA-RESPONSIVE) goes on two balanced lines */
.offer__cta .btn { white-space: normal; text-wrap: balance; }
@media (min-width: 768px) {
    .offer { grid-template-columns: minmax(0, 1.5fr) minmax(160px, 1fr) 250px; align-items: center; }
    .offer__price { text-align: right; justify-items: end; }
    .offer__price .tag { justify-self: end; }
}
.offer .features { flex-direction: column; font-size: 0.9rem; }
.partner-note { font-size: 0.82rem; line-height: 1.4; color: var(--text-secondary); text-align: center; }
.description p { max-width: 70ch; }
.description h3 { margin-top: 1.2em; font-size: 1rem; }
.amenity-list { columns: 2; column-gap: 24px; list-style: none; padding: 0; margin: 0; font-size: 0.93rem; }
.amenity-list li { break-inside: avoid; display: flex; gap: 8px; padding: 3px 0; }
.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.6em; }

/* ---------- Destination pages (P5): same tokens and components as P4 */
.dest-head { background: linear-gradient(180deg, var(--surface-hero) 0%, var(--surface-page) 100%); border-bottom: 1px solid var(--border-subtle); padding: 4px 0 28px; }
.dest-head__kicker { margin: 6px 0 6px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-navy); }
.dest-head h1 { margin-bottom: 10px; }
.dest-head__intro { max-width: 72ch; color: var(--text-primary); }
.dest-head__intro p { margin: 0 0 0.6em; }
.key-figures { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; padding: 0; margin: 14px 0 0; }
.key-figures li { display: block; padding: 12px 16px; background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); color: var(--text-primary); min-width: 140px; }
.key-figures strong { color: var(--heading); font-size: 1.35rem; font-weight: 700; letter-spacing: -0.01em; }
.key-figures__basis { display: block; font-size: 0.85rem; color: var(--text-secondary); }
.definition { display: flex; gap: 10px; align-items: flex-start; max-width: 80ch; margin-top: 12px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--brand-ice); color: var(--heading); }
.definition p { margin: 0; }
.definition .icon { margin-top: 4px; color: var(--brand-blue); }
.dest-body { padding-top: 24px; }
.dest-search .search { box-shadow: var(--shadow-md); }
.dest-section { margin-top: 36px; }
.dest-section h2 { margin-bottom: 12px; }
.dest-section__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
.dest-section__head h2 { margin: 0; }
.dest-note { font-size: 0.875rem; color: var(--text-secondary); margin: 8px 0 12px; }
/* exploration lists: one quiet surface, sections separated by thin rules, titles one step down (P6) */
.dest-explore { margin-top: var(--space-7); padding: var(--space-2) var(--space-4) var(--space-4); background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-xl); }
@media (min-width: 640px) { .dest-explore { padding: var(--space-2) var(--space-6) var(--space-5); } }
.dest-explore:not(:has(.dest-section)) { display: none; }
.dest-explore > .dest-section { margin-top: 0; padding-top: var(--space-5); }
.dest-explore > .dest-section + .dest-section { border-top: 1px solid var(--border-subtle); margin-top: var(--space-5); }
.dest-explore > .dest-section > h2 { font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.3rem); font-weight: 600; margin-bottom: var(--space-3); }
.dest-explore .dest-more a, .dest-explore .month-list a, .dest-explore .station-list a { background: var(--surface-page); border-color: transparent; }
.dest-explore .dest-more a:hover, .dest-explore .month-list a:hover, .dest-explore .station-list a:hover { background: var(--brand-ice); border-color: transparent; }
.dest-explore .refine-list a, .dest-explore .refine-list > li > span { background: var(--surface-page); border-color: transparent; }
.dest-note--last { margin-top: 36px; }
/* ADR 0013 A5 landing pages: the reviewed text (sections, FAQ) at a readable width; a place without a public page is
   listed without a link, with the look of the linked ones */
.dest-text, .dest-faq { max-width: 72ch; }
.dest-text h3, .dest-faq h3 { margin: 1.1em 0 0.35em; font-size: 1.05rem; color: var(--heading); }
.dest-text p, .dest-faq p { margin: 0 0 0.7em; }
.dest-text ul, .dest-faq ul { margin: 0 0 0.8em; padding-left: 1.2em; }
.station-list__plain { display: flex; gap: 10px; align-items: center; height: 100%; padding: 10px 12px; border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); background: var(--surface-card); color: var(--text-primary); }
.dest-explore .station-list__plain { background: var(--surface-page); border-color: transparent; }
/* ADR 0013 A5 §8 hub /selections, as a catalogue (UX 2026-11-15): the home hero, country and category cards of the home
   page, then short pill links grouped by country and category, and an editorial list of guides. No script. */
.hub-hero .crumbs { margin: 0 0 var(--space-2); }
.hub-quick { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.hub-quick ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hub-quick a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: var(--radius-pill); background: var(--surface-card); border: 1px solid var(--border-subtle); box-shadow: var(--shadow-sm); color: var(--brand-navy); font-weight: 650; text-decoration: none; }
.hub-quick a .icon { color: var(--brand-blue); }
.hub-quick a:hover { border-color: var(--brand-blue); color: var(--brand-blue); }
.hub-quick__count { margin: 0; color: var(--text-secondary); font-size: .95rem; }
.hub-section { scroll-margin-top: 12px; }
.hub-countries { grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); }
@media (min-width: 1024px) { .hub-countries { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); } }
@media (max-width: 639px) { .hub-countries { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 359px) { .hub-countries { grid-template-columns: minmax(0, 1fr); } }
/* category cards: the home "envie" card, three per row; a denser veil keeps the text readable on any photograph */
.envies.hub-envies { grid-template-columns: repeat(3, 1fr); }
.envies.hub-envies .envie { aspect-ratio: 4 / 3; }
.envies.hub-envies .envie::before { background: linear-gradient(180deg, rgba(8, 45, 91, .08) 0%, rgba(8, 45, 91, .3) 38%, rgba(8, 45, 91, .86) 100%); }
.envies.hub-envies .envie__text { display: block; }
.envies.hub-envies .envie__cta { display: inline-flex; }
@media (max-width: 1023px) { .envies.hub-envies { grid-template-columns: repeat(2, 1fr); } }
/* phones: two compact cards per row, the title and the count (the text is in the list below) */
@media (max-width: 599px) {
    .envies.hub-envies { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .envies.hub-envies .envie { aspect-ratio: 1 / 1; border-radius: 14px; }
    .envies.hub-envies .envie__body { padding: 12px; }
    .envies.hub-envies .envie__title { font-size: 1.02rem; }
    .envies.hub-envies .envie__text { display: none; }
    .envies.hub-envies .envie__cta { margin-top: 8px; padding: 5px 10px; font-size: .8rem; }
}
.hub-blocks { display: grid; gap: var(--space-4); margin-top: clamp(28px, 3.4vw, 44px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 1024px) { .hub-blocks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hub-block { scroll-margin-top: 12px; padding: clamp(16px, 2vw, 24px); background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-xl); box-shadow: var(--shadow-sm); }
.hub-block h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 var(--space-2); font-size: 1.2rem; color: var(--heading); }
.hub-block__group + .hub-block__group { margin-top: 12px; }
.hub-block__label { margin: 0 0 6px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-secondary); }
.hub-block__note { margin: -4px 0 10px; font-size: .88rem; color: var(--text-secondary); }
.hub-block__more { margin: 14px 0 0; font-size: .92rem; font-weight: 600; }
.hub-pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hub-pills a { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 13px; border-radius: var(--radius-pill); background: var(--surface-page); border: 1px solid var(--border-subtle); color: var(--brand-navy); font-size: .92rem; font-weight: 550; line-height: 1.3; text-decoration: none; }
.hub-pills a:hover { border-color: var(--brand-blue); color: var(--brand-blue); background: var(--brand-ice); }
.hub-guides { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); grid-template-columns: 1fr; }
@media (min-width: 768px) { .hub-guides { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hub-guide { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; height: 100%; padding: 14px; background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-xl); box-shadow: var(--shadow-sm); color: var(--text-primary); text-decoration: none; transition: box-shadow .2s, border-color .2s; }
@media (min-width: 768px) { .hub-guide { grid-template-columns: 132px 1fr; gap: 20px; padding: 16px; } }
.hub-guide:hover { box-shadow: var(--shadow-md); border-color: var(--border); color: var(--text-primary); }
.hub-guide__media { display: block; aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden; background: var(--brand-ice); }
.hub-guide__media picture, .hub-guide__media img, .hub-guide__media svg { display: block; width: 100%; height: 100%; object-fit: cover; }
.hub-guide__body { display: grid; gap: 4px; align-content: center; }
.hub-guide__kicker { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-blue); }
.hub-guide__title { font-size: 1.08rem; font-weight: 700; line-height: 1.25; color: var(--heading); }
.hub-guide__text { font-size: .92rem; line-height: 1.45; color: var(--text-secondary); }
@media (max-width: 767px) { .hub-guide__text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; } }
.fact-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.fact-card { background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: var(--space-4) var(--space-5); }
.fact-card h3 { margin: 0 0 10px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.fact-card dl, .fact-list { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 0; }
.fact-card dt, .fact-list dt { font-size: 0.85rem; color: var(--text-secondary); }
.fact-card dd, .fact-list dd { margin: 0; font-weight: 600; color: var(--heading); }
.fact-card__source { margin: 10px 0 0; font-size: 0.85rem; color: var(--text-secondary); }
.refine-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.refine-list a, .refine-list > li > span { display: inline-flex; gap: 8px; align-items: baseline; padding: 8px 12px; border: 1px solid var(--border-subtle); border-radius: 999px; background: var(--surface-card); text-decoration: none; color: var(--text-primary); font-size: 0.92rem; }
.refine-list a:hover { border-color: var(--brand-blue); color: var(--brand-blue); }
.month-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.month-list a { display: grid; gap: 2px; padding: 10px 14px; border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); background: var(--surface-card); text-decoration: none; color: var(--text-primary); }
.month-list a:hover { border-color: var(--brand-blue); color: var(--text-primary); }
.month-list__name { font-weight: 600; color: var(--heading); }
.month-list__meta { font-size: 0.875rem; color: var(--text-secondary); }
@media (max-width: 639px) { .dest-cards > li:nth-child(n+5) { display: none; } } /* 4 cards on phones; the full list is one tap away */

/* ---------- Accueil V3 (HOME-V3, docs/home/HOME-V3A-DESIGN-PROPOSAL.md): the four sections after the stays.
   Photographs: licensed derivatives (docs/branding/home-v3/), the text in the lower part of each card over a navy
   gradient that leaves the upper half of the photograph untouched; a station without a licensed photograph shows the
   original illustration. No library, no script needed (the rail only gains a focus helper, rail_controller.js). */
/* one vertical rhythm for every section (40 px on phones up to 72 px on wide screens); two plain sections in a row
   share a single gap, a coloured band (ice, navy) always keeps its full padding above and below its content */
.home-sec { --home-sec-space: clamp(40px, 5vw, 72px); padding-block: var(--home-sec-space); }
.home-sec:not(.home-sec--ice, .home-sec--navy) + .home-sec:not(.home-sec--ice, .home-sec--navy) { padding-top: 0; }
.home-sec--ice { background: linear-gradient(180deg, var(--surface-hero) 0%, #F4F8FE 100%); }
.home-sec--navy { background: var(--brand-navy); color: var(--on-dark); }
.home-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px 32px; flex-wrap: wrap; margin-bottom: clamp(20px, 2.6vw, 36px); }
.home-kicker { margin: 0 0 8px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-blue); }
.home-sec--navy .home-kicker { color: var(--brand-sky); }
.home-head h2 { margin: 0; font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.6rem); line-height: 1.12; letter-spacing: -0.02em; color: var(--heading); max-width: 26ch; }
.home-sec--navy .home-head h2 { color: var(--on-dark); }
.home-lead { margin: 10px 0 0; max-width: 56ch; font-size: 1.08rem; color: var(--text-secondary); }
.home-sec--navy .home-lead { color: var(--on-dark-muted); }
.home-head__link { font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; }
.home-head__link::after { content: "→"; transition: transform .2s; }
.home-head__link:hover::after { transform: translateX(3px); }

/* photograph or illustration of a card: fills the card, explicit size on the <img> (no layout shift) */
.card-media { position: absolute; inset: 0; overflow: hidden; background: var(--brand-ice); }
.card-media picture, .card-media img, .card-media svg { display: block; width: 100%; height: 100%; }
.card-media img { object-fit: cover; transition: transform .5s ease; }
.card-media svg { transition: transform .5s ease; }

/* 1. envies: four photo cards, the whole card is the link */
.envies { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 24px); }
.envie { position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; box-shadow: var(--shadow-md); }
.envie::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(8, 45, 91, 0) 0%, rgba(8, 45, 91, 0) 46%, rgba(8, 45, 91, .38) 64%, rgba(8, 45, 91, .8) 100%); }
.envie__body { position: relative; z-index: 2; padding: clamp(16px, 1.8vw, 24px); text-shadow: 0 1px 2px rgba(8, 45, 91, .45); }
.envie__title { display: block; font-size: clamp(1.2rem, 1rem + .7vw, 1.55rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; }
.envie__short { display: none; }
.envie__text { display: block; margin-top: 6px; font-size: .95rem; line-height: 1.4; color: rgba(255, 255, 255, .92); }
.envie__cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; padding: 7px 14px; border-radius: var(--radius-pill); background: rgba(255, 255, 255, .95); color: var(--brand-navy); font-size: .88rem; font-weight: 650; text-shadow: none; }
.envie__cta::after { content: "→"; transition: transform .2s; }
.envie:hover .card-media img, .envie:hover .card-media svg { transform: scale(1.04); }
.envie:hover .envie__cta::after { transform: translateX(3px); }
.envie:focus-visible { outline: 3px solid var(--brand-blue); outline-offset: 3px; }
.envies-also { margin: clamp(16px, 2vw, 24px) 0 0; display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; color: var(--text-secondary); font-size: .95rem; }
.envies-also a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: var(--radius-pill); border: 1px solid var(--border-subtle); background: var(--surface-card); color: var(--brand-navy); font-weight: 600; text-decoration: none; }
.envies-also a:hover { border-color: var(--brand-blue); color: var(--brand-blue); }
.envies-also small { color: var(--text-secondary); font-weight: 500; font-size: .85rem; }

/* 2. stations: a grid on desktop, one native horizontal row (scroll-snap) below 1024 px */
.stations-hint { display: none; }
.stations { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 24px); }
.station { position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 1 / 1; border-radius: 18px; overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; box-shadow: var(--shadow-md); }
.station::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(8, 45, 91, 0) 0%, rgba(8, 45, 91, 0) 50%, rgba(8, 45, 91, .4) 68%, rgba(8, 45, 91, .8) 100%); }
.station__body { position: relative; z-index: 2; padding: 18px 18px 16px; text-shadow: 0 1px 2px rgba(8, 45, 91, .45); }
.station__place { display: block; font-size: .82rem; font-weight: 600; letter-spacing: .02em; color: rgba(255, 255, 255, .9); }
.station__name { display: block; margin-top: 2px; font-size: 1.45rem; font-weight: 750; line-height: 1.1; letter-spacing: -0.015em; }
.station__facts { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 10px; font-size: .88rem; color: rgba(255, 255, 255, .94); }
.station__price { font-weight: 700; color: #fff; }
.station:hover .card-media img, .station:hover .card-media svg { transform: scale(1.04); }
.station:focus-visible { outline: 3px solid var(--brand-blue); outline-offset: 3px; }
.home-note { display: flex; gap: 8px; align-items: flex-start; margin: 18px 0 0; font-size: .88rem; color: var(--text-on-ice); }
.home-note .icon { flex: none; margin-top: 2px; }
.home-more { margin-top: clamp(28px, 3vw, 40px); padding-top: 20px; border-top: 1px solid rgba(8, 45, 91, .1); display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 18px; }
.home-more__title { font-size: .95rem; font-weight: 700; color: var(--brand-navy); margin: 0; }
.home-more ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.home-more a { color: var(--brand-navy); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(37, 99, 235, .35); }
.home-more a:hover { color: var(--brand-blue); border-color: var(--brand-blue); }
.home-more small { color: var(--text-on-ice); font-weight: 500; }

/* 3. budget (navy band): the budget, then the number of stays, then the link; never a share or a chart */
.budgets { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 24px); }
.budget { display: flex; flex-direction: column; height: 100%; padding: clamp(18px, 2vw, 26px); border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: var(--on-dark); text-decoration: none; transition: background .2s, border-color .2s, transform .2s; }
.budget:hover { background: rgba(255, 255, 255, .11); border-color: rgba(96, 165, 250, .6); transform: translateY(-2px); color: var(--on-dark); }
.budget:focus-visible { outline: 3px solid var(--brand-sky); outline-offset: 3px; }
.budget__label { font-size: .9rem; font-weight: 600; color: var(--brand-sky); }
.budget__price { margin-top: 6px; font-size: clamp(1.45rem, 1.1rem + 1vw, 1.95rem); font-weight: 750; letter-spacing: -0.02em; line-height: 1.1; white-space: nowrap; }
.budget__unit { display: block; margin-top: 2px; font-size: .85rem; font-weight: 500; color: var(--on-dark-muted); }
.budget__count { margin-top: auto; padding-top: 18px; font-size: 1.05rem; font-weight: 700; color: #fff; }
.budget__go { margin-top: 10px; display: flex; justify-content: space-between; align-items: center; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .9rem; font-weight: 600; color: var(--brand-sky); }
.budget__go::after { content: "→"; transition: transform .2s; }
.budget:hover .budget__go::after { transform: translateX(3px); }
.budget-note { margin: 20px 0 0; font-size: .9rem; line-height: 1.5; color: var(--on-dark-muted); max-width: 90ch; }

/* 4. comparez simplement */
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 48px); }
.how-step { position: relative; padding-top: 56px; }
.how-step__num { position: absolute; top: 0; left: 0; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-ice); color: var(--brand-navy); font-weight: 750; font-size: 1.1rem; }
.how-step:not(:last-child)::after { content: ""; position: absolute; top: 21px; left: 54px; right: -12px; height: 2px; background: repeating-linear-gradient(90deg, var(--brand-ice-strong) 0 8px, transparent 8px 14px); }
.how-step h3 { margin: 0 0 6px; font-size: 1.15rem; color: var(--heading); }
.how-step p { margin: 0; color: var(--text-secondary); line-height: 1.5; }
.how-trust { margin-top: clamp(24px, 3vw, 36px); display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; padding: 18px 22px; border-radius: var(--radius-lg); background: var(--surface-page); border: 1px solid var(--border-subtle); }
.how-trust p { margin: 0; color: var(--text-primary); }
.how-trust a { font-weight: 650; }

/* 5. guide (HOME-SEO-01): the editorial block, on the ice band; an introduction in two parts, four cards, a native
   accordion; the tokens, icons and accordion pattern of the site (.more-offers), no script */
.home-guide__intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 16px clamp(24px, 4vw, 64px); align-items: start; }
.home-guide__head h2 { margin: 0; font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.6rem); line-height: 1.12; letter-spacing: -0.02em; color: var(--heading); }
.home-guide__lead p { margin: 0 0 0.9em; max-width: 68ch; line-height: 1.65; color: var(--text-primary); }
.home-guide__lead p:first-child { font-size: 1.08rem; color: var(--heading); }
.home-guide__lead p:last-child { margin-bottom: 0; }
.home-guide__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); margin-top: clamp(32px, 4vw, 56px); }
.home-guide__card { padding: clamp(20px, 2.4vw, 32px); border-radius: var(--radius-lg); background: var(--surface-card); border: 1px solid var(--border-subtle); box-shadow: var(--shadow-sm); }
.home-guide__icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: 50%; background: var(--brand-ice); color: var(--brand-navy); }
.home-guide__icon .icon { width: 1.25rem; height: 1.25rem; }
.home-guide__card h2 { margin: 0 0 12px; font-size: clamp(1.2rem, 1.1rem + 0.4vw, 1.4rem); line-height: 1.25; letter-spacing: -0.01em; color: var(--heading); }
.home-guide__card p { margin: 0 0 0.85em; line-height: 1.6; color: var(--text-primary); }
.home-guide__card p:last-child { margin-bottom: 0; }
.home-guide a { font-weight: 600; }
.home-guide__faq { margin-top: clamp(40px, 5vw, 64px); max-width: 860px; }
.home-guide__faq > h2 { margin: 0 0 16px; font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.8rem); line-height: 1.2; letter-spacing: -0.01em; color: var(--heading); }
.home-faq-list { border-radius: var(--radius-lg); background: var(--surface-card); border: 1px solid var(--border-subtle); box-shadow: var(--shadow-sm); overflow: hidden; }
.home-faq + .home-faq { border-top: 1px solid var(--border-subtle); }
.home-faq > summary { list-style: none; cursor: pointer; display: flex; gap: 16px; align-items: center; justify-content: space-between; min-height: 44px; padding: 16px 20px; }
.home-faq > summary::-webkit-details-marker { display: none; }
.home-faq > summary:hover { background: var(--brand-ice); }
.home-faq > summary:focus-visible { outline: 3px solid var(--brand-blue); outline-offset: -3px; }
.home-faq > summary h3 { margin: 0; font-size: 1.05rem; font-weight: 650; line-height: 1.35; color: var(--heading); }
.home-faq > summary .icon { color: var(--brand-blue); transition: transform .2s; }
.home-faq[open] > summary .icon { transform: rotate(180deg); }
.home-faq__answer { padding: 0 20px 18px; }
.home-faq__answer p { margin: 0; max-width: 72ch; line-height: 1.6; color: var(--text-primary); }
@media (max-width: 899px) {
    .home-guide__intro, .home-guide__grid { grid-template-columns: 1fr; }
}

@media (max-width: 1023px) {
    .envies, .budgets { grid-template-columns: repeat(2, 1fr); }
    .envie { aspect-ratio: 4 / 3; }
    /* stations: one horizontal row (native scroll-snap, no script), so the page does not grow by eight cards */
    .stations-rail { margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
    .stations-rail::-webkit-scrollbar { display: none; }
    .stations-rail:focus-visible { outline: 3px solid var(--brand-blue); outline-offset: 4px; }
    .stations { display: flex; gap: 14px; width: max-content; padding-bottom: 4px; }
    .stations > li { width: 300px; scroll-snap-align: start; }
    .stations-hint { display: flex; align-items: center; gap: 6px; margin: -6px 0 12px; font-size: .82rem; color: var(--text-on-ice); }
}
@media (max-width: 767px) {
    .envies { gap: 10px; }
    .envie { aspect-ratio: 3 / 4; border-radius: 14px; }
    .envie__body { padding: 12px; }
    .envie__title { font-size: 1.05rem; }
    /* phones: the short title is shown, the long one stays for screen readers */
    .envie__long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .envie__short { display: inline; }
    .envie__short::after { content: "\00a0→"; }
    .envie__text, .envie__cta { display: none; }
    .stations { gap: 12px; }
    .stations > li { width: 72vw; max-width: 300px; }
    .station { aspect-ratio: 4 / 5; }
    .home-more ul { gap: 4px 14px; font-size: .92rem; }
    .budgets { grid-template-columns: 1fr; gap: 10px; }
    .budget { display: grid; grid-template-columns: 1fr auto; column-gap: 14px; align-items: center; padding: 14px 16px; }
    .budget__label, .budget__price, .budget__unit { grid-column: 1; }
    .budget__price { font-size: 1.3rem; }
    .budget__count { grid-column: 2; grid-row: 1 / span 2; margin: 0; padding: 0; text-align: right; font-size: .95rem; }
    .budget__go { grid-column: 2; grid-row: 3; margin: 0; padding: 0; border: 0; justify-content: flex-end; gap: 6px; font-size: .85rem; }
    .budget-note { font-size: .92rem; }
    .how-steps { grid-template-columns: 1fr; gap: 20px; }
    .how-step { padding: 0 0 0 58px; min-height: 42px; }
    .how-step:not(:last-child)::after { top: 48px; left: 20px; right: auto; bottom: -16px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--brand-ice-strong) 0 6px, transparent 6px 11px); }
    .how-trust { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    .card-media img, .card-media svg, .home-head__link::after, .envie__cta::after, .budget, .budget__go::after, .home-faq > summary .icon { transition: none; }
    .envie:hover .card-media img, .envie:hover .card-media svg, .station:hover .card-media img, .station:hover .card-media svg { transform: none; }
    .budget:hover { transform: none; }
}
