/* ============================================================
   COULEURS ET POLICES — modifie ici pour changer tout le site
   ============================================================ */
:root {
    --noir: #08090c;
    --anthracite: #15181e;
    --acier: #242a33;
    --metal: #8b95a3;
    --metal-clair: #c9d0d9;
    --texte: #e8ecf1;
    --bleu: #1e90ff;
    --bleu-vif: #4fb0ff;
    --erreur: #ff6b6b;
    --ok: #3ddc97;

    --police-titre: 'Barlow Condensed', 'Arial Narrow', sans-serif;
    --police-texte: 'Barlow', 'Segoe UI', Arial, sans-serif;

    --largeur: 1180px;
    --hauteur-menu: 76px;   /* le menu et le bandeau « Calculez votre prix » ont cette hauteur */
    --rayon: 10px;
}

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

html, body { margin: 0; padding: 0; }

body {
    font-family: var(--police-texte);
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--texte);
    background-color: var(--noir);
    background-image:
        radial-gradient(ellipse 80% 50% at 15% 0%, rgba(30, 144, 255, 0.10), transparent 60%),
        radial-gradient(ellipse 60% 40% at 90% 30%, rgba(201, 208, 217, 0.06), transparent 70%),
        linear-gradient(180deg, var(--noir) 0%, var(--anthracite) 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

img { max-width: 100%; display: block; }

a { color: var(--bleu-vif); }
a:hover { color: var(--texte); }

h1, h2, h3 {
    font-family: var(--police-titre);
    font-weight: 600;
    line-height: 1.1;
    margin: 0 0 0.5em;
    letter-spacing: 0.01em;
}

p { margin: 0 0 1em; }

:focus-visible {
    outline: 2px solid var(--bleu-vif);
    outline-offset: 3px;
}

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

.conteneur {
    width: 100%;
    max-width: var(--largeur);
    margin: 0 auto;
    padding: 0 24px;
}

.centre { text-align: center; }

/* ---------- Titres métal ---------- */
.titre-metal {
    font-size: clamp(2.6rem, 6vw, 4.6rem);
    font-weight: 700;
    background: linear-gradient(175deg, #ffffff 0%, var(--metal-clair) 40%, var(--metal) 60%, #eef2f6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.titre-section {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    color: var(--metal-clair);
    margin-bottom: 0.7em;
}

/* ---------- Boutons ---------- */
.btn {
    display: inline-block;
    font-family: var(--police-titre);
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-decoration: none;
    text-align: center;
    padding: 0.8em 1.8em;
    border: 0;
    border-radius: 6px;
    cursor: pointer;
    transition: box-shadow 0.2s, background-color 0.2s;
}

.btn-plein {
    background: linear-gradient(180deg, var(--bleu-vif) 0%, var(--bleu) 100%);
    color: #fff;
    box-shadow: 0 0 0 1px rgba(79, 176, 255, 0.4), 0 0 22px rgba(30, 144, 255, 0.45);
}

.btn-plein:hover {
    color: #fff;
    box-shadow: 0 0 0 1px rgba(79, 176, 255, 0.7), 0 0 34px rgba(30, 144, 255, 0.75);
}

.btn-petit {
    font-size: 1rem;
    padding: 0.5em 1.2em;
    background: transparent;
    color: var(--bleu-vif);
    border: 1px solid var(--bleu);
}

.btn-petit:hover {
    background: var(--bleu);
    color: #fff;
}

.lien-fleche {
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
}

/* ---------- En-tête ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(8, 9, 12, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--acier);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--hauteur-menu);
}

.logo { display: block; }
.logo img { height: 60px; width: auto; border-radius: 8px; }

.menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.menu ul {
    display: flex;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu ul a {
    color: var(--metal-clair);
    text-decoration: none;
    font-weight: 500;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
}

.menu ul a:hover { color: #fff; }

.menu ul a[aria-current="page"] {
    color: #fff;
    border-bottom-color: var(--bleu);
}

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    padding: 10px;
    cursor: pointer;
}

.menu-toggle .barre {
    display: block;
    width: 26px;
    height: 2px;
    margin: 6px 0;
    background: var(--metal-clair);
}

/* ---------- Hero ---------- */
.hero {
    padding: 64px 0 20px;
    background:
        radial-gradient(circle at 75% 45%, rgba(30, 144, 255, 0.18), transparent 45%);
}

.hero-intro {
    font-size: 1.2rem;
    color: var(--metal-clair);
    max-width: 38em;
}

.hero-points {
    list-style: none;
    padding: 0;
    margin: 28px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 28px;
    color: var(--metal);
}

.hero-points li::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 10px;
    border-radius: 50%;
    background: var(--bleu);
    box-shadow: 0 0 8px var(--bleu);
    vertical-align: middle;
}

/* ---------- Bandeau « Calculez votre prix » ----------
   Il est placé dans l'en-tête (includes/header.php) : comme le menu,
   il reste collé en haut de l'écran quand la page défile.
   Sur ordinateur, il a la même hauteur que le menu. */
.bandeau-prix {
    border-top: 1px solid var(--acier);
    background: linear-gradient(180deg, rgba(36, 42, 51, 0.7) 0%, rgba(21, 24, 30, 0.7) 100%);
    box-shadow: inset 0 -1px 0 rgba(30, 144, 255, 0.5);
}

.bandeau-prix-formulaire {
    display: grid;
    grid-template-columns: auto repeat(3, minmax(0, 1fr));
    align-items: center;
    column-gap: 24px;
    min-height: calc(var(--hauteur-menu) - 1px);   /* + 1 px de bordure = la hauteur du menu */
}

.bandeau-prix-titre {
    margin: 0 20px 0 0;
    font-family: var(--police-titre);
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
}

/* Dans le bandeau, le nom du champ est écrit dans la case, au-dessus de la date */
.bandeau-prix .champ-date { margin-bottom: 0; }

.bandeau-prix .champ-date label {
    position: absolute;
    top: 6px;
    left: 15px;
    z-index: 1;
    margin: 0;
    font-size: 0.75rem;
    line-height: 1.3;
    color: var(--metal);
    white-space: nowrap;
    pointer-events: none;
}

.bandeau-prix .champ-date input,
.bandeau-prix .date-bouton {
    height: 52px;
    padding: 21px 14px 5px;
}

.bandeau-prix .date-icone { align-self: flex-start; margin-top: -8px; }

.bandeau-prix .btn {
    width: 100%;
    height: 52px;
    padding: 0 0.6em;
    line-height: 1.2;
    white-space: nowrap;
}

/* Page Tarifs, prix affiché : « Voir mon prix » passe en contour (plus étroit)
   et « Réserver ces dates » apparaît en bleu à côté. Changer une date remet le bandeau comme avant (main.js). */
.btn-bandeau-reserver { display: none; }
.bandeau-prix-formulaire.avec-reserver { grid-template-columns: auto repeat(2, minmax(0, 1fr)) minmax(0, 0.72fr) minmax(0, 1fr); }
.bandeau-prix-formulaire.avec-reserver .btn-bandeau-reserver { display: inline-flex; align-items: center; justify-content: center; }
.bandeau-prix-formulaire.avec-reserver .btn-voir-prix,
.bandeau-prix-formulaire.avec-reserver .btn-voir-prix:hover {
    background: transparent;
    color: var(--bleu-vif);
    box-shadow: inset 0 0 0 1px var(--bleu);
}
.bandeau-prix-formulaire.avec-reserver .btn-voir-prix:hover { background: rgba(30, 144, 255, 0.16); color: #fff; }

/* ---------- Champs de formulaire ---------- */
label {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--metal-clair);
    margin-bottom: 6px;
}

input, textarea {
    width: 100%;
    font: inherit;
    color: var(--texte);
    background: rgba(8, 9, 12, 0.6);
    border: 1px solid var(--acier);
    border-radius: 6px;
    padding: 12px 14px;
    margin-bottom: 18px;
    color-scheme: dark;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--bleu);
    box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.25);
}

.champ-double {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 18px;
}

.champ-cache { position: absolute; left: -9999px; }

/* ---------- Champs de date et leur calendrier ----------
   Chaque champ de date est dans un bloc .champ-date. Le script
   assets/js/dates.js le remplace par un bouton qui ouvre le calendrier
   du site. Sans JavaScript, le champ de date du navigateur reste en place. */
.champ-date { position: relative; margin-bottom: 18px; }
.champ-date input, .champ-date .date-bouton { margin-bottom: 0; }

.date-bouton {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    font: inherit;
    color: var(--texte);
    text-align: left;
    background: rgba(8, 9, 12, 0.6);
    border: 1px solid var(--acier);
    border-radius: 6px;
    padding: 12px 14px;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.date-bouton:hover { border-color: var(--metal); }

.date-bouton:focus-visible,
.date-bouton[aria-expanded="true"] {
    outline: none;
    border-color: var(--bleu);
    box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.25);
}

.date-valeur { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.date-bouton.vide .date-valeur { color: var(--metal); }
.date-courte { display: none; }   /* 10/10/2026 : pour les cases étroites */
.date-icone { flex: none; color: var(--bleu-vif); }

/* Le calendrier : le fond du site, cerné de blanc pour bien le distinguer */
.cal {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 30;
    width: 320px;
    max-width: calc(100vw - 16px);
    padding: 14px;
    color: var(--texte);
    background-color: var(--noir);
    background-image:
        radial-gradient(ellipse 90% 55% at 15% 0%, rgba(30, 144, 255, 0.14), transparent 65%),
        linear-gradient(180deg, var(--noir) 0%, var(--anthracite) 100%);
    border: 2px solid #fff;
    border-radius: 12px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
}

.cal[hidden] { display: none; }

.cal-tete {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.cal-mois {
    margin: 0;
    font-family: var(--police-titre);
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #fff;
}

.cal-nav {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    color: var(--metal-clair);
    background: none;
    border: 1px solid var(--acier);
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
}

.cal-nav:hover:not(:disabled) { color: #fff; border-color: #fff; }
.cal-nav:disabled { opacity: 0.3; cursor: default; }

.cal-semaine, .cal-jours {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.cal-semaine span {
    padding: 4px 0;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    color: var(--metal);
}

.cal-jours { grid-auto-rows: 40px; }

.cal-jour {
    padding: 0;
    font: inherit;
    font-size: 1rem;
    line-height: 1;
    color: var(--texte);
    background: none;
    border: 1px solid transparent;
    border-radius: 8px;
    cursor: pointer;
}

.cal-jour:hover:not(:disabled) { border-color: var(--metal-clair); background: rgba(255, 255, 255, 0.06); }
.cal-jour:disabled { color: #4b535f; cursor: default; }
.cal-jour:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }

.cal-jour.cal-aujourdhui { border-color: var(--metal); }

/* Les jours du séjour, entre le dépôt et la récupération */
.cal-jour.cal-entre { background: rgba(30, 144, 255, 0.16); }
.cal-jour.cal-borne { border-color: var(--bleu-vif); color: var(--bleu-vif); font-weight: 600; }

/* Le jour choisi : le même bleu électrique que le bouton « Voir mon prix » */
.cal-jour.cal-choisi,
.cal-jour.cal-choisi:hover {
    color: #fff;
    font-weight: 600;
    background: linear-gradient(180deg, var(--bleu-vif) 0%, var(--bleu) 100%);
    border-color: transparent;
    box-shadow: 0 0 0 1px rgba(79, 176, 255, 0.4), 0 0 18px rgba(30, 144, 255, 0.6);
}

.cal-pied { margin-top: 6px; text-align: right; }
.cal-pied[hidden] { display: none; }

.cal-effacer {
    padding: 6px 4px;
    font: inherit;
    font-size: 0.95rem;
    color: var(--bleu-vif);
    background: none;
    border: 0;
    text-decoration: underline;
    cursor: pointer;
}

.cal-effacer:hover { color: #fff; }

/* ---------- Sections ---------- */
.section { padding: 48px 0; }

.section-claire {
    background: linear-gradient(180deg, rgba(36, 42, 51, 0.35) 0%, rgba(36, 42, 51, 0.12) 100%);
    border-top: 1px solid var(--acier);
    border-bottom: 1px solid var(--acier);
}

.page-entete {
    padding: 48px 0 0;
}

.page-entete p {
    font-size: 1.2rem;
    color: var(--metal-clair);
    max-width: 40em;
}

.texte-court { max-width: 760px; }

/* ---------- Étapes ---------- */
.etapes {
    list-style: none;
    counter-reset: etape;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.etapes li {
    counter-increment: etape;
    position: relative;
    padding-top: 56px;
    border-top: 1px solid var(--acier);
}

.etapes li::before {
    content: counter(etape);
    position: absolute;
    top: 12px;
    left: 0;
    font-family: var(--police-titre);
    font-size: 2rem;
    font-weight: 700;
    color: var(--bleu-vif);
    line-height: 1;
}

.etapes h3 { font-size: 1.4rem; color: #fff; }
.etapes p { color: var(--metal); margin: 0; }

/* ---------- Services ---------- */
.services-liste {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 48px;
    margin-bottom: 32px;
}

/* Accueil : 3 services (ou 6, 9…) se rangent par trois */
.services-par-trois { grid-template-columns: repeat(3, 1fr); }

.service {
    padding: 24px 0;
    border-bottom: 1px solid var(--acier);
}

.service h2, .service h3 { font-size: 1.5rem; color: #fff; }
.service p { color: var(--metal); margin: 0; }

.services-grands .service h2 { font-size: 1.9rem; }

.infos-pratiques {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

/* ---------- Bandeau d'appel ---------- */
.bandeau-cta {
    background: radial-gradient(ellipse at 50% 100%, rgba(30, 144, 255, 0.2), transparent 70%);
}

.bandeau-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.bandeau-inner h2 { font-size: 2.2rem; color: #fff; }
.bandeau-inner p { color: var(--metal-clair); margin: 0; }

/* ---------- Tarifs ---------- */
.resultat { padding: 12px 0; }

/* Page Tarifs : le prix arrive juste sous le titre */
.section-resultat { padding-top: 8px; }

/* Sous le titre d'une page (Tarifs, Services, Contact, Réservation) : le contenu suit de près */
.page-entete p { margin-bottom: 0; }
.page-entete + .section { padding-top: 20px; }
.reservation-recap { margin-top: 0; }

.resultat-label { color: var(--metal-clair); font-size: 1.15rem; margin: 0; }

.resultat-prix {
    font-family: var(--police-titre);
    font-size: clamp(3.5rem, 8vw, 5.5rem);
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-shadow: 0 0 30px rgba(30, 144, 255, 0.55);
    margin: 10px 0 14px;
}

.resultat-detail { color: var(--metal); }
.resultat-vide { color: var(--metal); font-size: 1.15rem; }

/* ---------- Contact ---------- */
/* Trois boutons côte à côte (e-mail, formulaire, appeler), puis le formulaire en dessous */
.contact-boutons {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 40px;
}

/* Ordinateur, quatre boutons côte à côte : texte un peu plus petit pour tenir */
@media (min-width: 761px) {
    .contact-boutons .btn-contact { gap: 14px; padding: 14px 16px; }
    .contact-boutons .btn-contact-valeur,
    .contact-boutons .btn-contact-plein .btn-contact-valeur { font-size: 1.3rem; }
    .contact-boutons .btn-contact-detail { font-size: 0.9rem; }
}

/* Écran moyen (tablette, petit ordinateur) : icône au-dessus, texte centré */
@media (min-width: 761px) and (max-width: 1100px) {
    .contact-boutons .btn-contact { flex-direction: column; justify-content: flex-start; gap: 8px; padding: 16px 10px 14px; text-align: center; }
    .contact-boutons .btn-contact-texte { justify-items: center; }
    .contact-boutons .btn-contact-valeur,
    .contact-boutons .btn-contact-plein .btn-contact-valeur { font-size: 1.2rem; }
}

/* Ordinateur : « Enregistrer le contact » est le 4e bouton, côte à côte avec les trois autres.
   Téléphone : il passe en dessous, sur toute la largeur (voir plus bas). */

.contact-formulaire { max-width: 760px; }

/* Le lien « Formulaire de contact » arrête le formulaire sous l'en-tête collé en haut, pas derrière */
#formulaire { scroll-margin-top: 176px; }
.insecable { white-space: nowrap; }

@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}

.btn-contact {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    color: var(--bleu-vif);
    text-decoration: none;
    border: 1px solid var(--bleu);
    border-radius: var(--rayon);
    transition: box-shadow 0.2s, background-color 0.2s, color 0.2s;
}

.btn-contact svg { flex: none; }
.btn-contact-texte { display: grid; min-width: 0; }
.btn-contact-detail { font-size: 0.95rem; font-weight: 500; line-height: 1.3; opacity: 0.85; }

.btn-contact-valeur {
    font-family: var(--police-titre);
    font-size: 1.45rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.01em;
    overflow-wrap: anywhere;
}

.btn-contact:hover { color: #fff; background: rgba(30, 144, 255, 0.16); }

.btn-contact-plein,
.btn-contact-plein:hover {
    color: #fff;
    background: linear-gradient(180deg, var(--bleu-vif) 0%, var(--bleu) 100%);
    border-color: transparent;
    box-shadow: 0 0 0 1px rgba(79, 176, 255, 0.4), 0 0 22px rgba(30, 144, 255, 0.45);
}

.btn-contact-plein:hover { box-shadow: 0 0 0 1px rgba(79, 176, 255, 0.7), 0 0 34px rgba(30, 144, 255, 0.75); }
.btn-contact-plein .btn-contact-valeur { font-size: 1.6rem; }

/* Numéro de téléphone cliquable dans un texte */
.lien-tel { color: #fff; font-weight: 600; white-space: nowrap; }

/* ---------- Messages ---------- */
.message {
    padding: 14px 18px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.message p:last-child { margin: 0; }

.message-erreur {
    color: var(--erreur);
    background: rgba(255, 107, 107, 0.08);
    border: 1px solid rgba(255, 107, 107, 0.35);
}

.message-ok {
    color: var(--ok);
    background: rgba(61, 220, 151, 0.08);
    border: 1px solid rgba(61, 220, 151, 0.35);
}

/* ---------- Pied de page ---------- */
.site-footer {
    background: var(--noir);
    border-top: 1px solid var(--acier);
    padding: 32px 0 18px;
    color: var(--metal);
    font-size: 0.97rem;
}

.footer-grille {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 24px 0;   /* la carte est centrée entre l'adresse et le bord droit */
}

.footer-nom {
    font-family: var(--police-titre);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--metal-clair);
    margin-bottom: 6px;
}

.footer-titre { color: var(--metal-clair); font-weight: 600; margin-bottom: 6px; }
.site-footer a { color: var(--metal-clair); text-decoration: none; }
.site-footer a:hover { color: var(--bleu-vif); }
.footer-reseaux a { margin-right: 14px; }

.footer-bas {
    margin-top: 24px;
    padding-top: 14px;
    border-top: 1px solid var(--acier);
    font-size: 0.9rem;
}

.footer-bas p { margin: 0; }

/* ---------- Tablette ---------- */
@media (max-width: 960px) {
    /* Bandeau : cases plus étroites, la date s'écrit en chiffres */
    .bandeau-prix-formulaire { column-gap: 16px; }
    .bandeau-prix-titre { margin-right: 4px; font-size: 1.35rem; }
    .bandeau-prix .date-longue { display: none; }
    .bandeau-prix .date-courte { display: inline; }
    .etapes { grid-template-columns: repeat(2, 1fr); }
    .footer-grille { grid-template-columns: auto 1fr; }
}

/* ---------- Mobile ---------- */
@media (max-width: 760px) {
    .menu-toggle { display: block; }

    .menu {
        display: none;
        position: absolute;
        top: var(--hauteur-menu);
        z-index: 40;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 20px 24px 28px;
        background: var(--anthracite);
        border-bottom: 1px solid var(--acier);
    }

    .menu.ouvert { display: flex; }
    .menu ul { flex-direction: column; gap: 4px; }
    .menu ul a { display: block; padding: 10px 0; }

    .hero { padding: 36px 0 12px; }
    .page-entete + .section { padding-top: 16px; }
    .section { padding: 36px 0; }
    .page-entete { padding-top: 32px; }
    .etapes, .services-liste, .infos-pratiques, .champ-double, .footer-grille { grid-template-columns: 1fr; }

    /* Bandeau de calcul : le texte sur une ligne, puis les deux dates et le bouton côte à côte */
    .bandeau-prix-formulaire {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px 8px;
        min-height: 0;
        padding: 7px 0 10px;
    }

    .bandeau-prix-formulaire.dates-pretes { grid-template-columns: repeat(3, minmax(0, 1fr)); }

    .bandeau-prix-titre { grid-column: 1 / -1; margin: 0; font-size: 1.15rem; line-height: 1.25; }
    .bandeau-prix .libelle-long, .bandeau-prix .date-icone { display: none; }
    .bandeau-prix .champ-date label { top: 5px; left: 10px; font-size: 0.72rem; }

    .bandeau-prix .champ-date input,
    .bandeau-prix .date-bouton {
        height: 48px;
        padding: 20px 9px 4px;
        font-size: 0.92rem;
    }

    .bandeau-prix .btn { grid-column: 1 / -1; height: 48px; padding: 0 4px; font-size: 1.05rem; }
    .bandeau-prix-formulaire.dates-pretes .btn { grid-column: auto; }
    /* Sur téléphone, le bandeau ne change pas : « Réserver ces dates » reste sous le prix */
    .bandeau-prix-formulaire.avec-reserver { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bandeau-prix-formulaire.avec-reserver.dates-pretes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .bandeau-prix-formulaire.avec-reserver .btn-bandeau-reserver { display: none; }
    .bandeau-prix-formulaire.avec-reserver .btn-voir-prix {
        background: linear-gradient(180deg, var(--bleu-vif) 0%, var(--bleu) 100%);
        color: #fff;
        box-shadow: 0 0 0 1px rgba(79, 176, 255, 0.4), 0 0 22px rgba(30, 144, 255, 0.45);
    }

    .cal { padding: 12px; }
}

/* Très petits téléphones : on gagne un peu de place pour que la date tienne en entier */
@media (max-width: 350px) {
    .bandeau-prix .conteneur { padding: 0 12px; }
    .bandeau-prix-formulaire { column-gap: 6px; }
    .bandeau-prix .champ-date label { left: 8px; }
    .bandeau-prix .champ-date input, .bandeau-prix .date-bouton { padding: 20px 7px 4px; font-size: 0.875rem; }
    .bandeau-prix .btn { font-size: 1rem; }
}

/* Écran très peu haut (téléphone couché) : l'en-tête ne reste pas collé, il prendrait toute la place */
@media (max-height: 480px) {
    .site-header { position: relative; }
}

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; }
}

/* ---------- Carte Google Maps (accueil et contact) ---------- */
.nous-trouver {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 48px;
}

.nous-trouver p { color: var(--metal-clair); }
.nous-trouver-adresse { font-size: 1.25rem; color: #fff !important; }

.carte { width: 100%; max-width: 340px; }

.carte-cadre {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--anthracite);
    border: 1px solid var(--acier);
    border-radius: var(--rayon);
}

.carte-cadre iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(0.9); }

/* Toute la carte est cliquable et ouvre Google Maps */
.carte-clic { position: absolute; inset: 0; z-index: 1; }
.carte-clic[hidden] { display: none; }
.carte-active .carte-cadre:hover { border-color: var(--bleu); box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.25); }

.carte-attente {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 10px;
    padding: 20px;
    text-align: center;
    color: var(--metal-clair);
    background: radial-gradient(circle at 50% 35%, rgba(30, 144, 255, 0.14), transparent 65%);
}

.carte-attente[hidden] { display: none; }
.carte-attente svg { color: var(--bleu-vif); }
.carte-attente p { margin: 0; font-size: 0.95rem; }

.carte-lien { display: inline-block; margin-top: 10px; font-weight: 500; }

/* ---------- Bandeau cookies ---------- */
.cookies {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 60;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
    max-width: 920px;
    margin: 0 auto;
    padding: 18px 22px;
    background-color: var(--noir);
    background-image: linear-gradient(180deg, var(--anthracite) 0%, var(--noir) 100%);
    border: 2px solid #fff;
    border-radius: 14px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
}

.cookies[hidden] { display: none; }
.cookies-titre { margin: 0 0 4px; font-family: var(--police-titre); font-size: 1.5rem; font-weight: 600; color: #fff; }
.cookies-texte p:last-child { margin: 0; color: var(--metal-clair); font-size: 0.97rem; }
.cookies-boutons { display: flex; gap: 12px; }
.cookies-boutons .btn { padding: 0.6em 1.4em; white-space: nowrap; }

.btn-accepter {
    color: var(--bleu-vif);
    background: transparent;
    box-shadow: inset 0 0 0 1px var(--bleu);
}

.btn-accepter:hover { color: #fff; box-shadow: inset 0 0 0 1px var(--bleu-vif), 0 0 18px rgba(30, 144, 255, 0.35); }

.btn-refuser {
    color: #fff;
    background: linear-gradient(180deg, #34c77b 0%, #1f9d5c 100%);
    box-shadow: 0 0 0 1px rgba(52, 199, 123, 0.45);
}

.btn-refuser:hover { color: #fff; box-shadow: 0 0 0 1px rgba(52, 199, 123, 0.8), 0 0 22px rgba(52, 199, 123, 0.45); }

.lien-cookies {
    padding: 0;
    font: inherit;
    color: var(--metal-clair);
    background: none;
    border: 0;
    text-decoration: underline;
    cursor: pointer;
}

.lien-cookies:hover { color: var(--bleu-vif); }

@media (max-width: 760px) {
    .nous-trouver { grid-template-columns: 1fr; gap: 24px; }
    .cookies { grid-template-columns: auto 1fr; gap: 12px 16px; padding: 16px; }
    .cookies-bonhomme { width: 72px; height: 72px; }
    .cookies-boutons { grid-column: 1 / -1; }
    .cookies-boutons .btn { flex: 1; }
}

/* ---------- Page « Votre demande de réservation » (reservation.php) ---------- */
.reservation { max-width: 640px; }

.reservation-recap {
    display: grid;
    gap: 6px;
    margin: 0 0 32px;
    padding: 20px 24px;
    background: rgba(36, 42, 51, 0.45);
    border: 1px solid var(--acier);
    border-left: 3px solid var(--bleu);
    border-radius: var(--rayon);
}

.reservation-recap p { margin: 0; color: var(--metal-clair); }
.reservation-recap strong { color: #fff; font-weight: 600; }
.reservation-prix { font-family: var(--police-titre); font-size: 1.6rem; font-weight: 600; color: #fff !important; }

.facultatif { font-weight: 400; color: var(--metal); }
.aide-champ { margin: -12px 0 18px; font-size: 0.9rem; color: var(--metal); }

.reservation .btn-plein { margin-top: 8px; }
.reservation-envoye { margin-bottom: 20px; }

/* Pied de page : Car'in, puis Contact et Horaires dessous ; l'adresse, puis la carte tout à droite */
.footer-infos { display: grid; gap: 18px; }
.footer-colonnes { display: flex; flex-wrap: wrap; gap: 8px 56px; }
.footer-colonnes p:last-child, .footer-adresse p:last-of-type { margin-bottom: 0; }
/* La carte prend toute la place à droite de l'adresse, en format large */
.site-footer .carte { width: auto; max-width: none; justify-self: stretch; margin-left: 56px; text-align: center; }
.site-footer .carte-cadre { aspect-ratio: auto; height: 200px; }
.site-footer .carte-attente { gap: 8px; padding: 12px; }
.site-footer .carte-attente p { font-size: 0.85rem; }
.site-footer .carte-attente svg { width: 26px; height: 26px; }
.site-footer .carte-lien { font-size: 0.92rem; }

/* « Enregistrer le contact », à côté du nom Car'in (ordinateur et téléphone) */
.footer-marque { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-bottom: 6px; }
.footer-marque .footer-nom { margin: 0; }
.site-footer .btn-fiche-contact {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 13px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--bleu-vif);
    border: 1px solid var(--bleu);
    border-radius: 999px;
    transition: background-color 0.2s, color 0.2s;
}
.site-footer .btn-fiche-contact:hover { color: #fff; background: rgba(30, 144, 255, 0.16); }

/* Lien Waze : seulement sur téléphone */
.lien-waze { display: none; }

/* Page Contact sur téléphone : les trois boutons restent côte à côte, en plus petit */
@media (max-width: 760px) {
    .contact-boutons { gap: 8px; margin-bottom: 28px; }
    .btn-contact { flex-direction: column; justify-content: flex-start; gap: 6px; padding: 14px 6px 12px; text-align: center; }
    .btn-contact svg { width: 22px; height: 22px; }
    .btn-contact-texte { justify-items: center; }
    .btn-contact-valeur,
    .btn-contact-plein .btn-contact-valeur { font-size: 1.05rem; line-height: 1.15; overflow-wrap: normal; }
    .btn-contact-detail { font-size: 0.78rem; }
    #formulaire { scroll-margin-top: 196px; }
    .contact-boutons { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .contact-boutons .btn-contact-large { grid-column: 1 / -1; flex-direction: row; justify-content: center; gap: 12px; padding: 12px 14px; text-align: left; }
    .contact-boutons .btn-contact-large .btn-contact-texte { justify-items: start; }
}

@media (max-width: 760px) {
    .footer-grille { grid-template-columns: 1fr; }
    .site-footer .carte { width: 100%; max-width: 260px; margin-left: 0; justify-self: center; }
    .site-footer .carte-cadre { aspect-ratio: 1 / 1; height: auto; }
    .lien-waze {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        margin-top: 12px;
        padding: 9px 16px;
        font-weight: 600;
        color: #fff !important;
        text-decoration: none;
        background: #33ccff;
        background: linear-gradient(180deg, #4fd2ff 0%, #1fb6e8 100%);
        border-radius: 999px;
    }
}

/* Téléphone : l'adresse, le bouton Waze et la carte au centre de l'écran */
@media (max-width: 760px) {
    .footer-adresse { width: 100%; text-align: center; }
    .site-footer .carte { margin: 0 auto; }
}

/* Fenêtre « Enregistrer le contact » sur ordinateur : QR code à scanner */
.fiche-qr {
    width: min(360px, calc(100% - 32px));
    padding: 28px 26px 24px;
    color: var(--metal-clair);
    text-align: center;
    background: var(--anthracite);
    border: 2px solid #fff;
    border-radius: var(--rayon);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}
.fiche-qr::backdrop { background: rgba(5, 6, 8, 0.75); }
.fiche-qr-titre { margin: 0 0 16px; font-family: var(--police-titre); font-size: 1.45rem; font-weight: 600; color: #fff; }
.fiche-qr-code { width: 240px; margin: 0 auto 16px; padding: 8px; background: #fff; border-radius: 6px; }
.fiche-qr-code svg { display: block; width: 100%; height: auto; }
.fiche-qr p { font-size: 0.95rem; }
.fiche-qr-lien { color: var(--bleu-vif); font-size: 0.92rem; }
.fiche-qr-fermer {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 34px;
    height: 34px;
    font-size: 1.6rem;
    line-height: 1;
    color: var(--metal-clair);
    background: none;
    border: 0;
    cursor: pointer;
}
.fiche-qr-fermer:hover { color: #fff; }
