/* ==========================================================================
   THÈME V2 — feuille unique, écrite à la main, mobile-first.

   Langage visuel : canevas papier chaud, cartes blanches à liseré fin et
   coins très arrondis, un seul accent (la couleur de marque servie par
   l'API), Poppins en graisses fortes, header transparent non collant,
   tiroir mobile à droite, bandes de contenu alternées, appel à l'action en
   dégradé, sous-pages à colonne étroite.

   Pas de Tailwind ici : les vues du thème n'utilisent que ces classes. Les
   couleurs de marque arrivent en variables `--brand-primary` (triplet RGB)
   injectées par partials/head.php ; tout le reste en découle.

   Points de rupture : 560 (formulaires), 720 (tablette), 860 (nav desktop),
   1100 (hero en deux colonnes).
   ========================================================================== */

/* -------------------------------------------------------------- Tokens -- */

:root {
    /* Marque : la teinte vient de l'API, les déclinaisons sont calculées. Le
       repli (sans color-mix) prend la couleur de survol du back-office. */
    --brand-rgb:   var(--brand-primary, 0 64 153);
    --brand-500:   rgb(var(--brand-rgb));
    --brand-600:   rgb(var(--brand-primary-hover, 0 51 122));
    --brand-700:   rgb(var(--brand-primary-hover, 0 51 122));
    --brand-ink:   rgb(var(--brand-primary-hover, 0 51 122));
    --brand-50:    rgb(var(--brand-rgb) / 0.07);
    --brand-100:   rgb(var(--brand-rgb) / 0.14);
    --brand-200:   rgb(var(--brand-rgb) / 0.30);
    --brand-300:   rgb(var(--brand-rgb) / 0.55);

    /* Neutres chauds : du papier à l'encre. */
    --paper:    #F7F6F3;
    --paper-2:  #F1EFEA;
    --surface:  #FFFFFF;
    --line:     #E7E4DD;
    --line-2:   #D9D5CC;
    --ink-900:  #16141C;
    --ink-700:  #3B3942;
    --ink-500:  #6B6873;
    --ink-400:  #9A97A1;

    /* Sémantiques, distinctes de la marque. */
    --success:     #1F8A5B;
    --success-bg:  #E3F3EA;
    --success-ink: #136B45;
    --warning:     #C7891A;
    --warning-bg:  #FBF1DC;
    --warning-ink: #8A5B00;
    --danger:      #D8443C;
    --danger-bg:   #FBE7E6;
    --danger-ink:  #A8302A;
    --star:        #F4C02B;

    /* Rayons. */
    --r-xs: 6px;
    --r-sm: 9px;
    --r-md: 13px;
    --r-lg: 18px;
    --r-xl: 24px;
    --r-pill: 999px;

    /* Élévations. */
    --sh-1: 0 1px 2px rgba(22, 20, 28, .05), 0 1px 1px rgba(22, 20, 28, .04);
    --sh-2: 0 2px 4px rgba(22, 20, 28, .06), 0 4px 12px rgba(22, 20, 28, .05);
    --sh-3: 0 8px 24px rgba(22, 20, 28, .10), 0 2px 6px rgba(22, 20, 28, .06);
    --sh-pop: 0 18px 48px rgba(22, 20, 28, .18), 0 4px 12px rgba(22, 20, 28, .10);
    --ring: 0 0 0 3px rgb(var(--brand-rgb) / 0.24);

    --font-sans: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;

    /* Largeur de la page et gouttières. */
    --wrap: 1120px;
    --gutter: 22px;
}

@supports (color: color-mix(in srgb, red, blue)) {
    :root {
        --brand-600: color-mix(in srgb, var(--brand-500) 86%, #000);
        --brand-700: color-mix(in srgb, var(--brand-500) 72%, #000);
        --brand-ink: color-mix(in srgb, var(--brand-500) 55%, #0B1230);
    }
}

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

*, *::before, *::after { box-sizing: border-box; }

html {
    background: var(--paper);
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

/* `clip` et non `hidden` : pas de nouveau conteneur de défilement, les
   éléments collants (texte du hero) continuent de fonctionner. */
html, body { overflow-x: clip; max-width: 100%; }

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink-900);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--brand-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-700); }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }

h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: 34px; font-weight: 700; letter-spacing: -.025em; }
h2 { font-size: 24px; font-weight: 700; }
h3 { font-size: 16px; font-weight: 600; letter-spacing: -.01em; }

/* Les listes de navigation et de cartes portent leur propre classe ; les
   listes de texte (juridique, réponses du back-office) gardent leurs puces. */
.list-reset { list-style: none; margin: 0; padding: 0; }

table { border-collapse: collapse; }

::selection { background: var(--brand-200); color: var(--ink-900); }

:focus-visible { outline: none; box-shadow: var(--ring); border-radius: var(--r-xs); }

/* Icônes Material Symbols (fonts.css définit la famille). */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    flex: none;
    user-select: none;
}
.icon-filled { font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24; }
.ic-16 { font-size: 16px; }
.ic-18 { font-size: 18px; }
.ic-20 { font-size: 20px; }
.ic-22 { font-size: 22px; }
.ic-28 { font-size: 28px; }

/* ----------------------------------------------------------- Utilitaires -- */

.wrap {
    width: 100%;
    max-width: var(--wrap);
    margin: 0 auto;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}

/* Classes basculées par app.js : elles doivent exister ici. */
.hidden { display: none !important; }
.opacity-0 { opacity: 0; }
.text-error { color: var(--danger-ink) !important; }
.text-text-muted { color: var(--ink-500); }

.sr-only {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0);
    white-space: nowrap; border: 0;
}

/* Mobile d'abord : ce qui est réservé au bureau est masqué par défaut. */
.desk-only { display: none !important; }

/* `.only-narrow` / `.only-wide` : l'un ou l'autre selon la largeur (720 px).
   Masqués par media query et non par une valeur de `display` : un élément
   `.only-wide` garde ainsi son propre mode d'affichage (grille des champs de
   date) une fois visible, au lieu de se voir imposer `block`. */
@media (max-width: 719.98px) {
    .only-wide { display: none !important; }
}

.muted { color: var(--ink-500); }
.small { font-size: 13.5px; }
.text-center { text-align: center; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }

.inline-link {
    display: inline-flex; align-items: center; gap: 6px;
    font-weight: 600; color: var(--brand-600); text-decoration: none;
}
.inline-link:hover { text-decoration: underline; }
.inline-link.muted { color: var(--ink-500); }
.inline-link.muted:hover { color: var(--ink-900); }
.inline-link .material-symbols-outlined { font-size: 18px; transition: transform .15s; }
.inline-link:hover .material-symbols-outlined { transform: translateX(2px); }

/* Texte riche venant du back-office (réponses de FAQ…). */
.rich p { margin: 0 0 10px; }
.rich p:last-child { margin-bottom: 0; }
.rich ul, .rich ol { margin: 0 0 10px; padding-left: 22px; }
.rich li { margin-bottom: 4px; }
.rich a { color: var(--brand-600); font-weight: 500; }

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

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 44px;
    padding: 11px 18px;
    border-radius: var(--r-sm);
    border: 1px solid transparent;
    font-weight: 600; font-size: 14.5px; line-height: 1.2;
    text-decoration: none; white-space: nowrap;
    cursor: pointer;
    transition: background .15s, border-color .15s, box-shadow .15s, color .15s, transform .05s;
}
.btn:active { transform: translateY(.5px); }
.btn:focus-visible { box-shadow: var(--ring); }
.btn .material-symbols-outlined { font-size: 18px; }

.btn--primary { background: var(--brand-500); color: #fff; box-shadow: var(--sh-1); }
.btn--primary:hover { background: var(--brand-600); color: #fff; }
.btn--primary:active { background: var(--brand-700); }

.btn--secondary { background: var(--surface); color: var(--ink-900); border-color: var(--line-2); }
.btn--secondary:hover { background: var(--paper-2); border-color: var(--ink-400); color: var(--ink-900); }

.btn--ghost { background: transparent; color: var(--ink-700); }
.btn--ghost:hover { background: var(--paper-2); color: var(--ink-900); }

.btn--white { background: #fff; color: var(--brand-700); }
.btn--white:hover { background: rgba(255, 255, 255, .9); color: var(--brand-700); }

.btn--whatsapp { background: #1FA855; color: #fff; }
.btn--whatsapp:hover { background: #178F47; color: #fff; }

.btn--sm { min-height: 38px; padding: 8px 13px; font-size: 13.5px; }
.btn--lg { min-height: 54px; padding: 15px 24px; font-size: 16px; border-radius: var(--r-md); }
.btn--block { width: 100%; }
.btn--icon { width: 42px; height: 42px; min-height: 0; padding: 0; border-radius: var(--r-sm); }
.btn--icon .material-symbols-outlined { font-size: 22px; }

.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }

/* Bouton en attente (app.js `data-loading-form`). */
.btn.opacity-70 { opacity: .7; pointer-events: none; }

/* --------------------------------------------------------- Chips, badges -- */

.chip {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 6px 12px;
    border-radius: var(--r-pill);
    background: var(--brand-50); color: var(--brand-ink);
    font-size: 12.5px; font-weight: 600; letter-spacing: .01em;
}
.chip .material-symbols-outlined { font-size: 16px; color: var(--brand-600); }

.badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 11px;
    border-radius: var(--r-pill);
    background: var(--brand-50); color: var(--brand-ink);
    font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
}
.badge--soft { background: var(--paper-2); color: var(--ink-700); }
.badge--success { background: var(--success-bg); color: var(--success-ink); }
.badge--warning { background: var(--warning-bg); color: var(--warning-ink); }

/* --------------------------------------------------------------- Header -- */

.site-header {
    position: relative; z-index: 30;
    background: transparent;
}
.site-header__inner {
    display: flex; align-items: center; gap: 10px;
    padding-top: 16px; padding-bottom: 16px;
}
.site-header__spacer { flex: 1; }

.brand {
    display: inline-flex; align-items: center; gap: 10px;
    color: var(--brand-ink); text-decoration: none;
    min-width: 0;
}
.brand img { height: 36px; width: auto; }
.brand__word {
    font-size: 20px; font-weight: 700; letter-spacing: -.03em;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.site-nav { display: none; }
.navlink {
    display: inline-flex; align-items: center;
    padding: 8px 11px; border-radius: var(--r-sm);
    color: var(--ink-700); text-decoration: none;
    font-weight: 500; font-size: 14px;
    transition: background .15s, color .15s;
}
.navlink:hover { background: var(--paper-2); color: var(--ink-900); }
.navlink.is-active { color: var(--brand-600); font-weight: 600; }

.site-header__phone {
    display: none;
    align-items: center; gap: 7px;
    color: var(--ink-700); text-decoration: none;
    font-weight: 600; font-size: 14px;
    padding: 8px 10px; border-radius: var(--r-sm);
    white-space: nowrap;
}
.site-header__phone:hover { background: var(--paper-2); color: var(--ink-900); }
.site-header__phone .material-symbols-outlined { font-size: 18px; color: var(--brand-600); }

/* ----------------------------------------------------- Sélecteur de langue -- */

.lang-switch { position: relative; flex: none; }
.lang-switch__btn {
    display: inline-flex; align-items: center; gap: 6px;
    height: 42px; padding: 0 10px 0 12px;
    border-radius: var(--r-sm);
    border: 1px solid var(--line-2); background: var(--surface);
    color: var(--ink-900); font-weight: 600; font-size: 13.5px;
    text-transform: uppercase; letter-spacing: .02em;
}
.lang-switch__btn:hover { background: var(--paper-2); }
.lang-switch__btn .material-symbols-outlined { font-size: 18px; color: var(--ink-500); transition: transform .15s; }
.lang-switch__btn .lang-switch__globe { font-size: 20px; color: var(--brand-600); }
.lang-switch__code {
    display: inline-grid; place-items: center;
    width: 30px; height: 22px; border-radius: 5px;
    background: var(--paper-2); color: var(--ink-700);
    font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
}
.lang-switch__item.is-active .lang-switch__code { background: var(--brand-500); color: #fff; }
.lang-switch__menu {
    position: absolute; right: 0; top: calc(100% + 6px); z-index: 50;
    min-width: 176px; padding: 6px;
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--r-md); box-shadow: var(--sh-pop);
}
.lang-switch__menu[hidden] { display: none; }
.lang-switch__item {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 10px; border-radius: var(--r-sm);
    color: var(--ink-900); text-decoration: none; font-size: 14px; font-weight: 500;
}
.lang-switch__item:hover { background: var(--paper-2); color: var(--ink-900); }
.lang-switch__item.is-active { background: var(--brand-50); color: var(--brand-ink); font-weight: 600; }
.lang-switch__item .material-symbols-outlined { margin-left: auto; font-size: 18px; color: var(--brand-600); }

/* Variante inline (pied de page). */
.lang-inline { display: flex; flex-wrap: wrap; gap: 6px; }
.lang-inline a {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 10px; border-radius: var(--r-pill);
    border: 1px solid var(--line); background: var(--surface);
    color: var(--ink-700); text-decoration: none;
    font-size: 13px; font-weight: 600; text-transform: uppercase;
}
.lang-inline a:hover { background: var(--paper-2); color: var(--ink-900); }
.lang-inline a.is-active { background: var(--brand-500); border-color: var(--brand-500); color: #fff; }

/* ------------------------------------------------------- Tiroir mobile -- */

.drawer-scrim {
    position: fixed; inset: 0; z-index: 80;
    background: rgba(22, 20, 28, .42);
    opacity: 0; pointer-events: none;
    transition: opacity .25s;
}
.drawer {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 81;
    width: 86vw; max-width: 360px;
    background: var(--surface);
    box-shadow: -12px 0 40px rgba(22, 20, 28, .18);
    display: flex; flex-direction: column;
    transform: translateX(calc(100% + 64px));
    transition: transform .3s cubic-bezier(.32, .72, 0, 1), visibility 0s linear .3s;
    visibility: hidden; pointer-events: none;
    padding-top: env(safe-area-inset-top);
}
body.drawer-open { overflow: hidden; }
body.drawer-open .drawer-scrim { opacity: 1; pointer-events: auto; }
body.drawer-open .drawer {
    transform: translateX(0);
    visibility: visible; pointer-events: auto;
    transition: transform .3s cubic-bezier(.32, .72, 0, 1), visibility 0s;
}
.drawer__head {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 18px 20px 14px;
    border-bottom: 1px solid var(--line);
}
.drawer__nav { flex: 1; padding: 12px; display: flex; flex-direction: column; gap: 2px; overflow-y: auto; }
.drawer__nav a {
    display: flex; align-items: center; gap: 12px;
    padding: 13px 14px; border-radius: var(--r-md);
    color: var(--ink-900); text-decoration: none;
    font-size: 16px; font-weight: 500;
    transition: background .15s;
}
.drawer__nav a:hover, .drawer__nav a:active { background: var(--paper-2); }
.drawer__nav a.is-active { background: var(--brand-50); color: var(--brand-ink); font-weight: 600; }
.drawer__nav a .material-symbols-outlined { font-size: 22px; color: var(--ink-400); }
.drawer__nav a.is-active .material-symbols-outlined { color: var(--brand-600); }
.drawer__nav .drawer__sep { height: 1px; background: var(--line); margin: 8px 14px; }
.drawer__nav .drawer__small { font-size: 14.5px; color: var(--ink-700); padding-top: 10px; padding-bottom: 10px; }
.drawer__foot {
    padding: 14px 18px;
    padding-bottom: calc(18px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    display: flex; flex-direction: column; gap: 10px;
}

/* ----------------------------------------------------------------- Hero -- */

.hero {
    display: grid; grid-template-columns: 1fr; gap: 26px;
    padding-top: 12px; padding-bottom: 34px;
    align-items: start;
}
.hero__text { min-width: 0; }
.hero h1 {
    font-size: 34px; line-height: 1.1; font-weight: 700;
    letter-spacing: -.025em; margin: 16px 0 0;
    color: var(--ink-900);
}
.hero__lead { font-size: 15.5px; line-height: 1.6; color: var(--ink-500); margin: 14px 0 0; }
.hero__aside { min-width: 0; order: -1; }   /* carte d'abord en une colonne ; remise à sa place à 1100 px */

/* Carte de réservation. */
.book-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: 0 14px 36px rgba(22, 20, 28, .10);
    padding: 22px 20px 20px;
}
.book-card__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.book-card__price { display: flex; align-items: baseline; gap: 8px; margin: 14px 0 18px; flex-wrap: wrap; }
.book-card__from { font-size: 15px; font-weight: 600; color: var(--ink-500); }
.book-card__amt { font-size: 40px; font-weight: 700; letter-spacing: -.02em; line-height: 1; color: var(--ink-900); }
.book-card__unit { font-size: 14.5px; color: var(--ink-500); }
.book-card__note { font-size: 14px; color: var(--ink-500); line-height: 1.5; margin: 0 0 18px; }
.book-card__fields { display: grid; grid-template-columns: 1fr; gap: 12px; }
/* Une date ne se coupe jamais : « 24 septembre 2026 » reste sur sa ligne. */
.book-card__fields .dp-value { white-space: nowrap; }
.book-card__cta { margin-top: 14px; }
.book-card__cta .btn { width: 100%; box-shadow: 0 8px 22px rgb(var(--brand-rgb) / .32); font-size: 16.5px; font-weight: 700; }
.book-card__status { margin: 10px 0 0; font-size: 13.5px; line-height: 1.45; }
.book-card__checks {
    display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 18px;
    margin-top: 14px;
    font-size: 12.5px; font-weight: 500; color: var(--ink-500);
}
.book-card__checks span { display: inline-flex; align-items: center; gap: 5px; }
.book-card__checks .material-symbols-outlined { font-size: 16px; color: var(--success); }

/* ---------------------------------------------------------- Chiffres clés -- */

.keyfacts-wrap { margin-top: 4px; }
.keyfacts {
    list-style: none; margin: 0; padding: 18px 16px;
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 14px;
    grid-auto-rows: 1fr;
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--r-lg); box-shadow: var(--sh-1);
}
.keyfact { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 8px; min-width: 0; }
.keyfact__ic {
    width: 40px; height: 40px; border-radius: var(--r-md); flex: none;
    background: var(--brand-50); color: var(--brand-600);
    display: grid; place-items: center;
}
.keyfact__ic .material-symbols-outlined { font-size: 22px; }
.keyfact__txt { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.keyfact__v { font-size: 15px; font-weight: 700; color: var(--ink-900); letter-spacing: -.01em; line-height: 1.2; }
.keyfact__l { font-size: 12.5px; color: var(--ink-500); line-height: 1.35; margin-top: 2px; }

/* --------------------------------------------------------------- Bandes -- */

.band { padding-top: 44px; padding-bottom: 44px; }
.band--alt { background: var(--paper-2); }
.band--tight { padding-top: 28px; padding-bottom: 28px; }
.band__head { margin-bottom: 22px; }
.band__title { font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.band__lead { font-size: 15px; color: var(--ink-500); margin-top: 8px; max-width: 60ch; }
.band__head--row { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 12px 20px; }
.band__foot { margin-top: 22px; }

/* --------------------------------------------------------------- Cartes -- */

.card {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--r-lg); box-shadow: var(--sh-1);
}
.card--pad { padding: 20px; }

.features { display: grid; grid-template-columns: 1fr; gap: 14px; }
.feature-card {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--r-lg); padding: 22px; box-shadow: var(--sh-1);
    display: flex; flex-direction: column;
}
.feature-card__ic {
    width: 44px; height: 44px; border-radius: var(--r-md);
    background: var(--brand-50); color: var(--brand-600);
    display: grid; place-items: center;
}
.feature-card__ic .material-symbols-outlined { font-size: 24px; }
.feature-card h3 { font-size: 16.5px; font-weight: 600; margin: 14px 0 0; }
.feature-card p { font-size: 14.5px; color: var(--ink-500); margin: 6px 0 0; line-height: 1.55; }
.feature-card .plist { margin-top: 14px; }
.feature-card__tag { align-self: flex-start; margin-bottom: 14px; }
.feature-card--featured { border-color: var(--brand-200); box-shadow: var(--sh-2); position: relative; }
.feature-card--featured::before {
    content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
    background: linear-gradient(90deg, var(--brand-600), var(--brand-500));
    border-radius: var(--r-lg) var(--r-lg) 0 0;
}

/* Cartes « Pourquoi nous ? » : photo optionnelle au-dessus. */
.facilities { display: grid; grid-template-columns: 1fr; gap: 14px; }
.fac-card {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-1);
    transition: box-shadow .3s ease, transform .3s ease;
}
.fac-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.fac-card__media picture { display: block; width: 100%; height: 100%; }
.fac-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
/* Sans photo : un aplat teinté de la marque avec l'icône en grand, pour que
   les cartes d'une même rangée gardent la même silhouette. */
.fac-card__media--icon {
    display: grid; place-items: center;
    background: linear-gradient(135deg, var(--brand-50), var(--paper-2));
    color: var(--brand-600);
}
.fac-card__media--icon .material-symbols-outlined { font-size: 56px; font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 48; }
.fac-card__body { padding: 16px 18px 20px; }
.fac-card__title { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; color: var(--ink-900); }
.fac-card__ic {
    width: 38px; height: 38px; border-radius: var(--r-md); flex: none;
    background: var(--brand-50); color: var(--brand-600);
    display: grid; place-items: center;
}
.fac-card__ic .material-symbols-outlined { font-size: 22px; }
.fac-card__sub { font-size: 14.5px; color: var(--ink-500); margin: 8px 0 0; line-height: 1.55; }

/* Étapes numérotées. En une colonne (mobile), le numéro est à gauche du texte,
   en rangée compacte ; à partir de 720 px les cartes se rangent en grille et
   le numéro repasse au-dessus. */
.steps-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.step-card {
    display: flex; align-items: center; gap: 14px;
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--r-md); padding: 14px 16px; box-shadow: var(--sh-1);
}
.step-card__n {
    width: 32px; height: 32px; border-radius: 50%; flex: none;
    background: var(--brand-500); color: #fff;
    display: grid; place-items: center; font-weight: 700; font-size: 14px;
}
.step-card__body { min-width: 0; }
.step-card h3 { font-size: 15px; font-weight: 600; margin: 0; line-height: 1.35; }
.step-card p { font-size: 13.5px; color: var(--ink-500); margin: 4px 0 0; line-height: 1.5; }

/* Avis clients : défilement horizontal en mobile, grille au-delà. */
.avis-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 14px 20px; margin-bottom: 20px; }
.avis-head__rating { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--ink-500); margin-top: 8px; }
.stars { display: inline-flex; align-items: center; gap: 1px; color: var(--star); }
.stars .material-symbols-outlined { font-size: 18px; }
.stars--lg .material-symbols-outlined { font-size: 20px; }

.testimonials {
    display: grid; grid-auto-flow: column; grid-auto-columns: min(84%, 340px);
    gap: 12px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--gutter);
    padding: 2px var(--gutter) 10px;
    margin: 0 calc(-1 * var(--gutter));
    scrollbar-width: none;
}
.testimonials::-webkit-scrollbar { display: none; }
.tcard {
    scroll-snap-align: start;
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--r-lg); box-shadow: var(--sh-1); padding: 20px;
    display: flex; flex-direction: column; gap: 12px; min-width: 0;
}
.tcard__text { font-size: 14.5px; color: var(--ink-700); line-height: 1.6; margin: 0; }
.tcard__author { display: flex; align-items: center; gap: 11px; margin-top: auto; }
.tcard__avatar {
    width: 38px; height: 38px; border-radius: 50%; flex: none;
    background: var(--brand-50); color: var(--brand-600);
    display: grid; place-items: center; font-weight: 700; font-size: 15px;
}
.tcard__name { display: block; font-size: 14px; font-weight: 600; color: var(--ink-900); }
.tcard__meta { display: block; font-size: 12.5px; color: var(--ink-500); }

/* --------------------------------------------------- Appel à l'action -- */

.cta-band {
    display: flex; flex-direction: column; gap: 18px;
    background: linear-gradient(120deg, var(--brand-600), var(--brand-500));
    color: #fff; border-radius: var(--r-xl);
    padding: 28px 24px;
    box-shadow: var(--sh-2);
}
.cta-band h2 { font-size: 22px; font-weight: 700; letter-spacing: -.02em; margin: 0; color: #fff; }
.cta-band p { margin: 8px 0 0; color: rgba(255, 255, 255, .84); font-size: 14.5px; line-height: 1.5; }
.cta-band__actions { display: flex; flex-direction: column; gap: 10px; }
.cta-band__actions .btn { width: 100%; }
.cta-band__link { color: #fff; font-weight: 600; font-size: 14px; text-align: center; }
.cta-band-wrap { padding-top: 24px; padding-bottom: 36px; }

/* ------------------------------------------------------- Sous-pages -- */

.page-head { width: 100%; max-width: 860px; margin: 0 auto; padding: 22px var(--gutter) 4px; }
.page-head__back {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 13.5px; font-weight: 500; color: var(--ink-500); text-decoration: none;
    margin-bottom: 14px;
}
.page-head__back:hover { color: var(--ink-900); }
.page-head__back .material-symbols-outlined { font-size: 16px; }
.page-head__eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-600); margin: 0 0 8px; }
.page-head__h1 { font-size: 28px; font-weight: 700; letter-spacing: -.02em; margin: 0 0 10px; color: var(--ink-900); }
.page-head__lead { font-size: 15.5px; color: var(--ink-500); line-height: 1.6; margin: 0; max-width: 62ch; }
.page-head__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.page-head--wide { max-width: var(--wrap); }

.page-wrap { width: 100%; max-width: 860px; margin: 0 auto; padding: 0 var(--gutter); }
.page-section { padding-top: 22px; padding-bottom: 6px; }
.page-section h2 { font-size: 20px; margin-bottom: 14px; }

/* Tableau tarifaire. */
.ptable-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ptable {
    width: 100%; margin: 0;
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-1);
    border-collapse: separate; border-spacing: 0;
}
.ptable th, .ptable td { text-align: left; padding: 14px 18px; font-size: 15px; border-bottom: 1px solid var(--line); }
.ptable thead th { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-500); background: var(--paper-2); }
.ptable tbody tr:last-child td { border-bottom: none; }
.ptable td.ptable__price { font-weight: 700; color: var(--ink-900); white-space: nowrap; text-align: right; }
.ptable th.ptable__price { text-align: right; }
.ptable__perday { display: block; font-weight: 500; color: var(--ink-400); font-size: 12.5px; margin-top: 2px; }
.ptable__best {
    display: inline-block; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
    color: var(--brand-ink); background: var(--brand-50); border-radius: var(--r-pill);
    padding: 3px 8px; margin-left: 8px; vertical-align: middle;
}
.ptable tr.is-best td { background: rgb(var(--brand-rgb) / .035); }
.ptable__extra td { color: var(--ink-700); background: var(--paper); }
.ptable__note { font-size: 13px; color: var(--ink-400); margin: 12px 0 0; line-height: 1.55; }

/* Liste à coches vertes. */
.plist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.plist li { position: relative; padding-left: 28px; font-size: 15px; color: var(--ink-700); line-height: 1.5; }
.plist li::before {
    content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
    background: var(--success-bg) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F8A5B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6 9 17l-5-5'/></svg>") center/12px no-repeat;
}
.plist--compact li { font-size: 14px; }

/* Accordéon natif (FAQ, saisons). */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--sh-1); }
.faq-item > summary {
    list-style: none; cursor: pointer; position: relative;
    padding: 15px 46px 15px 18px;
    font-size: 15.5px; font-weight: 600; color: var(--ink-900); line-height: 1.4;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after {
    content: ""; position: absolute; right: 18px; top: 50%; width: 14px; height: 14px;
    transform: translateY(-50%) rotate(0deg);
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B6873' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>") center/14px no-repeat;
    transition: transform .18s ease;
}
.faq-item[open] > summary::after { transform: translateY(-50%) rotate(180deg); }
.faq-item[open] > summary { color: var(--brand-ink); }
.faq-item > summary:hover { background: var(--paper); }
.faq-item__a { padding: 0 18px 16px; font-size: 14.5px; line-height: 1.6; color: var(--ink-700); }
.faq-group { margin-top: 28px; }
.faq-group__title { display: flex; align-items: center; gap: 10px; font-size: 18px; margin-bottom: 12px; }
.faq-group__title .material-symbols-outlined { font-size: 22px; color: var(--brand-600); }

/* Contact. */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.contact-card {
    display: flex; gap: 13px; align-items: flex-start;
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--r-md); padding: 16px 18px; box-shadow: var(--sh-1);
}
.contact-card__ic {
    flex: none; width: 40px; height: 40px; border-radius: var(--r-sm);
    background: var(--brand-50); color: var(--brand-600);
    display: grid; place-items: center;
}
.contact-card__ic .material-symbols-outlined { font-size: 20px; }
.contact-card__t { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-400); margin: 0 0 4px; }
.contact-card__v { font-size: 15px; color: var(--ink-900); font-weight: 500; line-height: 1.45; text-decoration: none; overflow-wrap: anywhere; }
a.contact-card__v:hover { text-decoration: underline; color: var(--brand-700); }
.contact-card__s { font-size: 13px; color: var(--ink-500); margin-top: 3px; }
.contact-layout { display: grid; grid-template-columns: 1fr; gap: 24px; }

/* ------------------------------------------------------------ Juridique -- */

.legal { width: 100%; max-width: 820px; margin: 0 auto; padding: 22px var(--gutter) 40px; overflow-wrap: break-word; }
.legal__back { display: inline-flex; align-items: center; gap: 5px; font-size: 13.5px; font-weight: 500; color: var(--ink-500); text-decoration: none; margin-bottom: 16px; }
.legal__back:hover { color: var(--ink-900); }
.legal__back .material-symbols-outlined { font-size: 16px; }
.legal h1 { font-size: clamp(27px, 5vw, 36px); font-weight: 700; letter-spacing: -.02em; margin: 0 0 6px; }
.legal__updated { font-size: 13px; color: var(--ink-400); margin: 0 0 22px; }
.legal__nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 30px; }
.legal__nav a {
    font-size: 13px; font-weight: 600; color: var(--ink-700); text-decoration: none;
    background: var(--paper-2); border-radius: var(--r-pill); padding: 7px 14px;
    transition: background .15s, color .15s;
}
.legal__nav a:hover { background: var(--brand-50); color: var(--brand-ink); }
.legal__nav a[aria-current="page"] { background: var(--brand-500); color: #fff; }
.legal__foot { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--ink-500); }
.legal__foot a { font-weight: 600; }

.legal-prose h2, .legal-prose h3 { scroll-margin-top: 24px; }
.legal-prose h2 { font-size: 19px; font-weight: 700; color: var(--ink-900); margin: 34px 0 10px; letter-spacing: -.01em; }
.legal-prose h3 { font-size: 15.5px; font-weight: 600; color: var(--ink-900); margin: 22px 0 6px; }
.legal-prose p, .legal-prose li { font-size: 15px; line-height: 1.65; color: var(--ink-700); }
.legal-prose p { margin: 0 0 13px; }
.legal-prose ul, .legal-prose ol { margin: 0 0 15px; padding-left: 22px; }
.legal-prose li { margin-bottom: 7px; }
.legal-prose a { color: var(--brand-600); }
.legal-prose strong { color: var(--ink-900); }
.legal-prose table { width: 100%; font-size: 14px; margin: 8px 0 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); border-collapse: separate; border-spacing: 0; overflow: hidden; }
.legal-prose th, .legal-prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-700); }
.legal-prose thead th { background: var(--paper-2); color: var(--ink-500); font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.legal-prose tr:last-child td { border-bottom: 0; }
.legal-prose .table-wrap { overflow-x: auto; margin: 8px 0 18px; }
.legal-prose .table-wrap table { margin: 0; }

/* Mention nominative manquante — volontairement voyante (cf. legal_field()). */
mark.legal-todo { background: var(--warning-bg); color: var(--warning-ink); border-radius: 4px; padding: 1px 6px; font-style: italic; font-weight: 600; }

/* ------------------------------------------------------- Landing (SEO) -- */

.landing { display: grid; grid-template-columns: 1fr; gap: 32px; padding-top: 22px; padding-bottom: 40px; }
.landing__main { min-width: 0; }
.landing__intro { margin-bottom: 26px; }
.landing__intro h1 { font-size: 30px; font-weight: 700; letter-spacing: -.025em; margin-bottom: 12px; }
.landing__intro p { font-size: 15.5px; color: var(--ink-500); line-height: 1.6; max-width: 62ch; }
.landing__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.prose h2 { font-size: 21px; font-weight: 700; letter-spacing: -.015em; margin: 32px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 16px; font-weight: 600; margin: 20px 0 8px; }
.prose p { font-size: 15.5px; line-height: 1.65; color: var(--ink-700); margin: 0 0 14px; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 22px; }
.prose li { font-size: 15.5px; line-height: 1.6; color: var(--ink-700); margin-bottom: 6px; }
.prose a { color: var(--brand-600); font-weight: 500; }
.prose strong { color: var(--ink-900); }
.prose .faq-list { margin-top: 12px; }
.prose .ptable-wrap { margin: 8px 0 14px; }
.landing__aside { display: flex; flex-direction: column; gap: 14px; }
.aside-card { padding: 20px; }
.aside-card h2, .aside-card h3 { font-size: 16.5px; font-weight: 600; margin-bottom: 8px; }
.aside-card p { font-size: 14.5px; color: var(--ink-500); line-height: 1.55; }
.aside-card .btn { margin-top: 14px; }
.aside-card--brand { background: linear-gradient(140deg, var(--brand-600), var(--brand-500)); color: #fff; border-color: transparent; }
.aside-card--brand h2, .aside-card--brand h3 { color: #fff; }
.aside-card--brand p { color: rgba(255, 255, 255, .84); }
.aside-list { list-style: none; margin: 0; padding: 0; }
.aside-list li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--ink-700); }
.aside-list li:last-child { border-bottom: 0; }
.aside-list strong { color: var(--ink-900); white-space: nowrap; }
.aside-info { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-700); line-height: 1.5; }
.aside-info + .aside-info { margin-top: 10px; }
.aside-info .material-symbols-outlined { font-size: 20px; color: var(--brand-600); }

/* ----------------------------------------------------------- Formulaires -- */

.form { display: flex; flex-direction: column; gap: 16px; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field__label { font-size: 13.5px; font-weight: 600; color: var(--ink-700); display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.field__opt { font-weight: 500; color: var(--ink-400); font-size: 12.5px; }
.field__hint { font-size: 12.5px; color: var(--ink-500); margin: 0; line-height: 1.45; }
.field__err { font-size: 12.5px; color: var(--danger-ink); font-weight: 600; margin: 0; }

.input, .textarea, .select {
    width: 100%;
    min-height: 48px;
    padding: 11px 14px;
    background: var(--surface);
    border: 1px solid var(--line-2);
    border-radius: var(--r-md);
    color: var(--ink-900);
    font-size: 16px;
    transition: border-color .15s, box-shadow .15s;
}
.textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.select {
    appearance: none;
    padding-right: 40px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B6873' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>");
    background-repeat: no-repeat; background-position: right 14px center; background-size: 16px;
}
.input::placeholder, .textarea::placeholder { color: var(--ink-400); }
.input:hover, .textarea:hover, .select:hover { border-color: var(--ink-400); }
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--brand-500); box-shadow: var(--ring); }
.input[aria-invalid="true"], .textarea[aria-invalid="true"], .select[aria-invalid="true"] { border-color: var(--danger); }
.input[aria-invalid="true"]:focus, .textarea[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(216, 68, 60, .2); }

.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-700); line-height: 1.5; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--brand-500); }

.radio-card {
    display: flex; gap: 12px; align-items: flex-start;
    padding: 14px 16px; border: 1px solid var(--line-2); border-radius: var(--r-md);
    background: var(--surface); cursor: pointer; transition: border-color .15s, background .15s;
}
.radio-card:hover { border-color: var(--ink-400); }
.radio-card:has(input:checked) { border-color: var(--brand-500); background: var(--brand-50); box-shadow: 0 0 0 1px var(--brand-500) inset; }
.radio-card input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--brand-500); }
.radio-card__t { font-weight: 600; color: var(--ink-900); font-size: 15px; }
.radio-card__s { font-size: 13.5px; color: var(--ink-500); margin-top: 2px; line-height: 1.45; }
.radio-list { display: flex; flex-direction: column; gap: 10px; }

.alert {
    display: flex; gap: 12px; align-items: flex-start;
    padding: 14px 16px; border-radius: var(--r-md);
    font-size: 14.5px; line-height: 1.5;
    background: var(--paper-2); color: var(--ink-700); border: 1px solid var(--line);
}
.alert .material-symbols-outlined { font-size: 22px; flex: none; margin-top: 1px; }
.alert strong { display: block; color: inherit; font-weight: 700; margin-bottom: 2px; }
.alert p { margin: 0; }
.alert--success { background: var(--success-bg); color: var(--success-ink); border-color: transparent; }
.alert--error { background: var(--danger-bg); color: var(--danger-ink); border-color: transparent; }
.alert--warning { background: var(--warning-bg); color: var(--warning-ink); border-color: transparent; }
.alert--info { background: var(--brand-50); color: var(--brand-ink); border-color: transparent; }
.alert a { color: inherit; font-weight: 600; }

.form-card { padding: 22px 20px; }
.form-card__title { font-size: 19px; font-weight: 700; letter-spacing: -.015em; margin-bottom: 4px; }
.form-card__lead { font-size: 14.5px; color: var(--ink-500); margin-bottom: 18px; line-height: 1.55; }
.form-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.form-actions .btn { width: 100%; }
.form-note { font-size: 12.5px; color: var(--ink-400); line-height: 1.5; }

/* Récapitulatif d'une réservation (lookup, remboursement). */
.resa-line { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; color: var(--ink-700); }
.resa-line strong { color: var(--ink-900); }
.resa-ref { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-weight: 700; letter-spacing: .02em; color: var(--brand-ink); }
.choice-list { display: flex; flex-direction: column; gap: 10px; }
.choice-list a {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 14px 16px; border: 1px solid var(--line-2); border-radius: var(--r-md);
    background: var(--surface); color: var(--ink-900); text-decoration: none;
    transition: border-color .15s, background .15s;
}
.choice-list a:hover { border-color: var(--brand-500); background: var(--brand-50); }
.choice-list .material-symbols-outlined { color: var(--brand-600); }

/* ----------------------------------------------------- Calendrier (dp-*) -- */
/* Mêmes sélecteurs que public/assets/js/datepicker.js, habillage du thème. */

.dp { position: relative; }
.dp-trigger {
    display: flex; align-items: center; gap: 10px;
    width: 100%; min-height: 48px; padding: 0 14px;
    background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-md);
    text-align: left; transition: border-color .15s, box-shadow .15s;
}
.dp-trigger:hover { border-color: var(--ink-400); }
.dp-trigger:focus-visible, .dp[data-open="true"] .dp-trigger { outline: none; border-color: var(--brand-500); box-shadow: var(--ring); }
.dp-trigger[aria-invalid="true"] { border-color: var(--danger); }
.dp-trigger .dp-icon { color: var(--brand-600); font-size: 20px; flex: none; }
.dp-value { font-size: 15.5px; color: var(--ink-900); line-height: 1.2; font-weight: 500; }
.dp-value[data-empty="true"] { color: var(--ink-400); font-weight: 400; }

.dp-backdrop { position: fixed; inset: 0; z-index: 59; background: transparent; }
.dp-panel {
    position: fixed; z-index: 60;
    width: 328px; max-width: calc(100vw - 2rem);
    padding: 16px;
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--r-lg); box-shadow: var(--sh-pop);
}
.dp-panel[hidden] { display: none; }
.dp-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.dp-title { font-size: 16px; font-weight: 700; color: var(--ink-900); text-transform: capitalize; }
.dp-nav {
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 50%;
    color: var(--brand-600); transition: background-color .15s;
}
.dp-nav:hover:not(:disabled) { background: var(--brand-50); }
.dp-nav:disabled { color: var(--line-2); cursor: not-allowed; }
.dp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.dp-weekday { padding-bottom: 8px; font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-400); text-align: center; }
.dp-day { position: relative; height: 40px; border-radius: 50%; font-size: 14px; font-weight: 500; color: var(--ink-900); transition: background-color .12s, color .12s; }
.dp-day:hover:not([data-disabled]):not([data-selected="true"]) { background: var(--brand-100); }
.dp-day:focus-visible { outline: 2px solid var(--brand-500); outline-offset: -2px; box-shadow: none; }
.dp-day[data-outside="true"] { color: var(--ink-400); font-weight: 400; opacity: .7; }
.dp-day[data-disabled] { color: var(--line-2); cursor: not-allowed; text-decoration: line-through; text-decoration-thickness: 1px; }
.dp-day[data-today="true"]::after { content: ""; position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%); width: 4px; height: 4px; border-radius: 50%; background: var(--brand-500); }
.dp-day[data-in-range="true"] { background: var(--brand-50); border-radius: 0; }
.dp-day[data-selected="true"] { background: var(--brand-500); color: #fff; font-weight: 700; }
.dp-day[data-disabled][data-selected="true"] { color: #fff; text-decoration: none; cursor: default; }
.dp-day[data-selected="true"][data-today="true"]::after { background: #fff; }
.dp-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.dp-hint { font-size: 12.5px; color: var(--ink-500); line-height: 1.4; }
.dp-clear { font-size: 13px; font-weight: 600; color: var(--brand-600); padding: 6px 10px; border-radius: var(--r-sm); white-space: nowrap; }
.dp-clear:hover { background: var(--brand-50); }

/* Écran étroit : datepicker.js retire son positionnement inline sous 480 px
   et laisse la CSS placer le panneau. Ici, une feuille qui monte du bas de
   l'écran sur un voile sombre — `!important` au cas où un repositionnement
   (défilement, rotation) réécrirait `top`/`left` avant le point de rupture. */
/* Petits écrans : la plage « 24 septembre — 29 septembre 2026 » doit tenir sur
   une ligne dans la carte. Mesuré à 375 px : 282 px de texte pour 229 px de
   place. On resserre la carte et le champ (+18 px) et la taille suit la largeur
   de l'écran (13,1 px à 375, 12,5 px à 360) ; le format du libellé reste
   celui de datepicker.js, partagé avec le tunnel. */
@media (max-width: 480px) {
    .book-card { padding: 18px 14px 16px; }
    .dp-trigger { padding: 0 12px; gap: 8px; }
    .dp-value { font-size: clamp(12.5px, 3.5vw, 15px); }
}
@media (max-width: 480px) {
    .dp-panel {
        top: auto !important; bottom: 0 !important; left: 0 !important; right: 0;
        width: 100%; max-width: none;
        padding: 18px 18px calc(18px + env(safe-area-inset-bottom));
        border-radius: var(--r-xl) var(--r-xl) 0 0;
        border-left: 0; border-right: 0; border-bottom: 0;
        box-shadow: 0 -18px 48px rgba(22, 20, 28, .22);
    }
    .dp-backdrop { background: rgba(22, 20, 28, .42); }
    .dp-day { height: 44px; }
}

/* --------------------------------------------------- Carte promotionnelle -- */

.promo-float {
    position: fixed; z-index: 40;
    left: 16px; right: 16px; bottom: 16px;
    transform: translateY(24px); opacity: 0;
    transition: transform .4s cubic-bezier(.32, .72, 0, 1), opacity .4s, bottom .3s;
}
.promo-float[data-visible="true"] { transform: none; opacity: 1; }
.promo-float[data-visible="false"] { transform: translateY(24px); opacity: 0; }
body[data-cta-visible="true"] .promo-float { bottom: 92px; }
/* Une seule rangée : icône | texte | code. La croix est en coin, le retour
   « Code copié » se superpose sous le texte sans décaler la rangée. */
.promo-float__card {
    position: relative;
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--r-lg); box-shadow: var(--sh-pop);
    padding: 12px 36px 12px 12px;
    display: flex; align-items: center; gap: 10px;
}
.promo-float__ic { width: 36px; height: 36px; border-radius: var(--r-sm); background: var(--brand-50); color: var(--brand-600); display: grid; place-items: center; flex: none; }
.promo-float__ic .material-symbols-outlined { font-size: 20px; }
.promo-float__title { flex: 1; min-width: 0; font-size: 13px; font-weight: 700; color: var(--ink-900); line-height: 1.3; margin: 0; }
.promo-float__code {
    display: inline-flex; align-items: center; gap: 6px; flex: none;
    padding: 7px 10px;
    border: 1px dashed var(--brand-300); border-radius: var(--r-sm);
    background: var(--brand-50); color: var(--brand-ink);
    font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-weight: 700; font-size: 13px; letter-spacing: .06em;
    white-space: nowrap;
}
.promo-float__code .material-symbols-outlined { font-size: 16px; }
.promo-float__feedback {
    position: absolute; left: 58px; bottom: 1px; margin: 0;
    font-size: 11px; font-weight: 600; color: var(--success-ink);
    transition: opacity .3s; pointer-events: none;
}
.promo-float__close {
    position: absolute; top: 50%; right: 6px; transform: translateY(-50%);
    width: 28px; height: 28px; border-radius: 50%;
    display: grid; place-items: center; color: var(--ink-400);
}
.promo-float__close:hover { background: var(--paper-2); color: var(--ink-900); }
.promo-float__close .material-symbols-outlined { font-size: 18px; }

/* ------------------------------------------------ Appel à l'action collant -- */

.sticky-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 35;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(247, 246, 243, .92);
    backdrop-filter: saturate(140%) blur(10px);
    border-top: 1px solid var(--line);
    transform: translateY(110%);
    transition: transform .3s cubic-bezier(.32, .72, 0, 1);
}
.sticky-cta[data-visible="true"] { transform: none; }
.sticky-cta .btn { width: 100%; }
body.has-sticky-cta { padding-bottom: 84px; }

/* ------------------------------------------------- Bandeau API hors ligne -- */

.api-offline {
    display: flex; gap: 10px; align-items: flex-start;
    margin: 12px var(--gutter) 0;
    padding: 12px 14px; border-radius: var(--r-md);
    background: var(--danger-bg); color: var(--danger-ink);
    font-size: 13.5px; line-height: 1.45;
}
.api-offline .material-symbols-outlined { font-size: 20px; }
.api-offline code { font-size: 12px; word-break: break-all; }

/* ----------------------------------------------------------- Bandeau flash -- */

.flash-wrap { padding-top: 12px; }

/* --------------------------------------------------------------- Footer -- */

.site-footer { padding-top: 44px; padding-bottom: 26px; margin-top: 16px; border-top: 1px solid var(--line); background: var(--paper); }
.site-footer__inner { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: start; }
.site-footer__brand .brand img { height: 32px; }
.site-footer__tag { font-size: 13.5px; color: var(--ink-500); margin: 12px 0 0; max-width: 300px; line-height: 1.55; }
.site-footer__col-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-400); margin: 0 0 13px; }
.site-footer__links { display: flex; flex-direction: column; gap: 9px; }
.site-footer__links a { color: var(--ink-600, var(--ink-700)); text-decoration: none; font-size: 14px; font-weight: 500; transition: color .15s; }
.site-footer__links a:hover { color: var(--ink-900); text-decoration: underline; }
.site-footer__contact { display: flex; flex-direction: column; gap: 11px; font-style: normal; }
.site-footer__contact a, .site-footer__contact span { display: inline-flex; align-items: flex-start; gap: 9px; color: var(--ink-700); text-decoration: none; font-size: 14px; font-weight: 500; line-height: 1.4; transition: color .15s; }
.site-footer__contact a:hover { color: var(--ink-900); }
.site-footer__contact .material-symbols-outlined { font-size: 18px; color: var(--brand-600); margin-top: 1px; }
.site-footer__payments { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.pay-badge {
    display: inline-flex; align-items: center; justify-content: center;
    height: 26px; min-width: 42px; padding: 0 8px;
    background: var(--surface); border: 1px solid var(--line); border-radius: 6px;
    font-size: 10.5px; font-weight: 700; color: var(--ink-700); letter-spacing: .02em;
}
.pay-badge img { height: 16px; width: auto; }
.site-footer__bottom {
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
    margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line);
}
.site-footer__copy { font-size: 12.5px; color: var(--ink-400); }

/* ------------------------------------------------------------- Page 404 -- */

.error-page { max-width: 560px; margin: 0 auto; padding: 48px var(--gutter) 64px; text-align: center; }
.error-page__code { font-size: 64px; font-weight: 700; letter-spacing: -.04em; color: var(--brand-200); line-height: 1; }
.error-page h1 { font-size: 26px; margin-top: 8px; }
.error-page p { color: var(--ink-500); margin-top: 10px; }
.error-page .btn { margin-top: 22px; }

/* ==========================================================================
   Tablette (≥ 560 / 720)
   ========================================================================== */

@media (min-width: 560px) {
    .book-card__fields { grid-template-columns: 1fr 1fr; }
    .form-grid { grid-template-columns: 1fr 1fr; }
    .form-grid .field--full { grid-column: 1 / -1; }
    .form-actions { flex-direction: row; align-items: center; justify-content: space-between; }
    .form-actions .btn { width: auto; }
    .contact-grid { grid-template-columns: 1fr 1fr; }
    .cta-band__actions { flex-direction: row; align-items: center; }
    .cta-band__actions .btn { width: auto; }
    .promo-float { left: auto; right: 20px; width: 430px; }
}

@media (min-width: 720px) {
    .only-narrow { display: none !important; }

    h1 { font-size: 40px; }
    .hero { padding-top: 24px; padding-bottom: 44px; }
    .hero h1 { font-size: 44px; }
    .hero__lead { font-size: 16.5px; }
    .book-card { padding: 28px 26px 24px; }

    .keyfacts { grid-template-columns: repeat(4, 1fr); padding: 20px 22px; gap: 20px; }
    .keyfact { flex-direction: row; align-items: center; justify-content: flex-start; text-align: left; gap: 11px; }
    .keyfact__txt { align-items: flex-start; }

    .band { padding-top: 56px; padding-bottom: 56px; }
    .band__title { font-size: 28px; }

    .features, .facilities, .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .step-card { flex-direction: column; align-items: flex-start; gap: 0; padding: 20px; border-radius: var(--r-lg); }
    .step-card h3 { font-size: 15.5px; margin-top: 12px; }
    .step-card p { font-size: 14px; margin-top: 6px; }
    .testimonials {
        grid-auto-flow: row; grid-template-columns: repeat(2, 1fr); grid-auto-columns: auto;
        overflow: visible; margin: 0; padding: 0; gap: 16px;
    }

    .cta-band { padding: 34px 36px; }
    .cta-band h2 { font-size: 26px; }

    .page-head { padding-top: 40px; padding-bottom: 8px; }
    .page-head__h1 { font-size: 36px; }
    .page-head__lead { font-size: 16px; }
    .page-section { padding-top: 30px; }
    .page-section h2 { font-size: 22px; }
    .legal { padding-top: 36px; }
    .legal-prose h2 { font-size: 21px; }

    .form-card { padding: 28px; }
    .contact-layout { grid-template-columns: 1.1fr .9fr; align-items: start; }

    .landing__intro h1 { font-size: 38px; }

    .site-footer__inner { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }

    .sticky-cta { display: none; }
    body.has-sticky-cta { padding-bottom: 0; }
    body[data-cta-visible="true"] .promo-float { bottom: 20px; }
}

/* ==========================================================================
   Bureau (≥ 860)
   ========================================================================== */

@media (min-width: 860px) {
    :root { --gutter: 32px; }

    .desk-only { display: inline-flex !important; }
    .mob-only { display: none !important; }
    .drawer, .drawer-scrim { display: none; }

    .site-header__inner { padding-top: 22px; padding-bottom: 22px; gap: 12px; }
    .brand img { height: 40px; }
    .site-nav { display: flex; align-items: center; gap: 2px; margin-left: 18px; }
    .site-header__phone { display: inline-flex; }

    .features, .facilities { grid-template-columns: repeat(4, 1fr); gap: 18px; }
    .facilities--3 { grid-template-columns: repeat(3, 1fr); }
    .steps-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
    .testimonials { grid-template-columns: repeat(3, 1fr); gap: 18px; }

    .landing { grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; padding-top: 36px; }
    .landing__aside { position: sticky; top: 24px; }

    .error-page { padding-top: 72px; }
}

/* ==========================================================================
   Grand écran (≥ 1100) : hero en deux colonnes
   ========================================================================== */

@media (min-width: 1100px) {
    .hero { grid-template-columns: 1.1fr .9fr; gap: 56px; padding-top: 40px; padding-bottom: 60px; }
    .hero__text { position: sticky; top: 24px; }
    .hero__aside { order: 0; }
    /* La carte redevient étroite (~400 px) : les deux dates repassent l'une
       sous l'autre, sinon « 24 septembre 2026 » se coupe en deux lignes. */
    .book-card__fields { grid-template-columns: 1fr; }
    .hero h1 { font-size: 54px; line-height: 1.04; letter-spacing: -.03em; }
    .hero__lead { font-size: 17px; max-width: 50ch; }
    .band { padding-top: 68px; padding-bottom: 68px; }
    .band__title { font-size: 32px; }
    .band__head { margin-bottom: 30px; }
}

/* ==========================================================================
   Mouvement réduit
   ========================================================================== */

@media (hover: hover) and (min-width: 860px) {
    .fac-card:hover { box-shadow: var(--sh-3); transform: translateY(-2px); }
    .fac-card:hover .fac-card__media img { transform: scale(1.05); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
    .fac-card:hover, .fac-card:hover .fac-card__media img { transform: none; }
}
