:root {
    --blue-900: #0b3a54;
    --blue: #0e7fa8;
    --blue-50: #e9f3f8;
    --orange: #d45a3d;
    --orange-700: #ab4227;
    --sand: #f8f5f1;
    --paper: #ffffff;
    --ink: #1b2430;
    --muted: #5d6b79;
    --line: #e4ded7;
    --brown: #33291f;
    --radius: 14px;
    --shadow-sm: 0 1px 2px rgba(27, 36, 48, .06);
    --shadow: 0 2px 4px rgba(27, 36, 48, .05), 0 14px 34px -22px rgba(27, 36, 48, .5);
    --wrap: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Poppins, system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    padding-bottom: 64px; /* place pour la barre d'onglets mobile */
}

h1, h2, h3 {
    font-family: Fraunces, Georgia, "Times New Roman", serif;
    font-weight: 600;
    line-height: 1.14;
    letter-spacing: -.015em;
    text-wrap: balance;
    margin: 0;
}

h1 { font-size: clamp(2rem, 6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); }
h3 { font-size: 1.12rem; line-height: 1.3; }
p { margin: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap {
    width: 100%;
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 1.25rem;
}

.eyebrow {
    font-size: .74rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--blue);
}

.lede { color: var(--muted); font-size: 1.03rem; max-width: 60ch; }

section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-head { display: flex; flex-direction: column; gap: .6rem; margin-bottom: 2rem; }
.section-head.center { align-items: center; text-align: center; }
.section-head.center .lede { text-align: center; }

/* ---------- boutons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .85rem 1.6rem;
    border-radius: 999px;
    font-weight: 500;
    font-size: .96rem;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
    cursor: pointer;
}
.btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.btn-primary { background: var(--orange); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--orange-700); transform: translateY(-1px); }
.btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-ghost:hover { background: rgba(255, 255, 255, .22); }
.btn-outline { background: transparent; color: var(--blue-900); border-color: var(--line); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- en-tête ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    min-height: 72px;
}
.nav .logo img { height: 46px; width: auto; }
.nav-links {
    display: none;
    gap: 1.4rem;
    margin-left: auto;
    font-size: .93rem;
}
.nav-links a { text-decoration: none; color: var(--ink); padding: .3rem 0; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a.active { border-color: var(--orange); }
.nav-actions { display: flex; align-items: center; gap: .75rem; margin-left: auto; }
.lang {
    display: inline-flex; align-items: center; gap: .35rem;
    font-size: .85rem; color: var(--muted); text-decoration: none;
    background: none; border: 1px solid var(--line); border-radius: 999px;
    padding: .3rem .7rem; cursor: pointer; font-family: inherit;
}
.lang:hover { border-color: var(--blue); color: var(--blue); }
.lang img { height: 16px; width: 22px; object-fit: cover; border-radius: 2px; }
.nav-cta { display: none; }

@media (min-width: 900px) {
    .nav-links { display: flex; }
    .nav-actions { margin-left: 0; }
    .nav-cta { display: inline-flex; }
}

/* ---------- héros ---------- */
.hero {
    position: relative;
    min-height: min(82vh, 680px);
    display: flex;
    align-items: flex-end;
    color: #fff;
    background: #0b3a54 url("assets/images/optimized/video-poster.webp") center / cover no-repeat;
    overflow: hidden;
    padding: 0;
}
.hero video {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}
.hero::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(11, 58, 84, .35) 0%, rgba(11, 58, 84, .55) 45%, rgba(11, 58, 84, .88) 100%);
}
.hero-inner {
    position: relative;
    z-index: 2;
    padding: clamp(4rem, 12vw, 7rem) 0 clamp(2rem, 5vw, 3.5rem);
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    max-width: 40rem;
}
.hero .eyebrow { color: #ffd9cd; }
.hero h1 { color: #fff; }
.hero p { color: rgba(255, 255, 255, .92); font-size: 1.05rem; max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .4rem; }
.hero-trust {
    display: flex; flex-wrap: wrap; gap: .5rem 1.4rem;
    font-size: .82rem; color: rgba(255, 255, 255, .8);
    border-top: 1px solid rgba(255, 255, 255, .25);
    padding-top: 1rem; margin-top: 1.4rem;
}

/* ---------- services ---------- */
.services { background: var(--sand); }
.grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}
.card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: .6rem;
    box-shadow: var(--shadow-sm);
}
.card .icon {
    width: 42px; height: 42px;
    display: grid; place-items: center;
    border-radius: 10px;
    background: var(--blue-50);
    color: var(--blue);
    margin-bottom: .3rem;
}
.card p { color: var(--muted); font-size: .93rem; }
.card .link {
    margin-top: auto;
    font-size: .88rem;
    color: var(--blue);
    text-decoration: none;
    font-weight: 500;
    padding-top: .6rem;
}
.card .link:hover { text-decoration: underline; }

/* ---------- départs / offres ---------- */
.departures-empty {
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    background: var(--sand);
    padding: clamp(2rem, 5vw, 3rem);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .8rem;
}
.departures-empty p { color: var(--muted); max-width: 46ch; }

/* ---------- cartes de depart ---------- */
.departures { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
@media (min-width: 820px) { .departures { grid-template-columns: 1fr 1fr; } }
.dep {
    display: grid;
    grid-template-columns: 116px 1fr;
    gap: 1.1rem;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.1rem;
    box-shadow: var(--shadow-sm);
}
@media (min-width: 480px) { .dep { grid-template-columns: 150px 1fr; } }
.dep-flyer { position: relative; }
.dep-flyer img {
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: 10px;
    background: var(--sand);
}
.dep-body { display: flex; flex-direction: column; gap: .5rem; }
.dep-dates {
    font-size: .78rem; letter-spacing: .06em; text-transform: uppercase;
    color: var(--orange); font-weight: 500;
}
.dep-price {
    font-family: Fraunces, Georgia, serif;
    font-size: 1.35rem; font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--blue-900);
}
.dep-price small { display: block; font-family: Poppins, sans-serif; font-size: .78rem; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.dep ul { margin: 0; padding-left: 1.05rem; color: var(--muted); font-size: .88rem; display: flex; flex-direction: column; gap: .15rem; }
.dep .btn { align-self: flex-start; margin-top: .3rem; padding: .6rem 1.15rem; font-size: .88rem; }
.dep-limited {
    display: inline-block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
    background: #fdece7; color: var(--orange-700); border-radius: 4px; padding: .12rem .45rem;
}

/* ---------- destinations ---------- */
.dest-grid {
    display: grid;
    gap: .9rem;
    grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 760px) {
    .dest-grid { grid-template-columns: repeat(4, 1fr); }
    .dest-card.tall { grid-row: span 2; }
    .dest-card.wide { grid-column: span 2; }
}
.dest-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 190px;
    display: flex;
    align-items: flex-end;
    text-decoration: none;
    color: #fff;
    box-shadow: var(--shadow-sm);
}
.dest-card img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.dest-card::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(11, 58, 84, 0) 35%, rgba(11, 58, 84, .82) 100%);
}
.dest-card:hover img { transform: scale(1.05); }
.dest-label { position: relative; z-index: 2; padding: 1rem 1.1rem; }
.dest-label strong { display: block; font-size: 1.02rem; font-weight: 600; }
.dest-label span { font-size: .8rem; opacity: .85; }

/* ---------- confiance ---------- */
.trust { background: var(--blue-900); color: #fff; }
.trust h2 { color: #fff; }
.trust .lede { color: rgba(255, 255, 255, .78); }
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}
.stat {
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: var(--radius);
    padding: 1.2rem;
}
.stat b {
    display: block;
    font-family: Fraunces, Georgia, serif;
    font-size: 2rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}
.stat span { font-size: .85rem; color: rgba(255, 255, 255, .75); }
.partners {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem 2.5rem;
    padding-top: 1.6rem;
    border-top: 1px solid rgba(255, 255, 255, .18);
}
.partners img { height: 30px; width: auto; filter: brightness(0) invert(1); opacity: .8; }
.partners span { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }

/* ---------- étapes ---------- */
.steps { counter-reset: step; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.step {
    border-left: 3px solid var(--orange);
    padding: .2rem 0 .2rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: .4rem;
}
.step::before {
    counter-increment: step;
    content: "Étape " counter(step);
    font-size: .72rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--orange);
    font-weight: 500;
}
.step p { color: var(--muted); font-size: .93rem; }

/* ---------- devis ---------- */
.quote { background: var(--sand); }
.quote-grid { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 860px) { .quote-grid { grid-template-columns: 1.1fr .9fr; gap: 3rem; } }
.contact-list { display: flex; flex-direction: column; gap: .9rem; margin-top: 1.5rem; }
.contact-item { display: flex; gap: .8rem; align-items: flex-start; }
.contact-item .icon {
    width: 36px; height: 36px; flex: none;
    display: grid; place-items: center;
    background: var(--paper); border: 1px solid var(--line);
    border-radius: 9px; color: var(--blue);
}
.contact-item b { display: block; font-size: .93rem; font-weight: 600; }
.contact-item span { font-size: .88rem; color: var(--muted); }
.contact-item a { color: var(--muted); text-decoration: none; }
.contact-item a:hover { color: var(--blue); }

form.quote-form {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: .9rem;
    box-shadow: var(--shadow);
}
.field { display: flex; flex-direction: column; gap: .3rem; }
.field label { font-size: .82rem; font-weight: 500; color: var(--ink); }
.field input, .field select, .field textarea {
    font-family: inherit;
    font-size: .95rem;
    padding: .7rem .85rem;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #fff;
    color: var(--ink);
    width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(14, 127, 168, .15);
}
.field-row { display: grid; gap: .9rem; grid-template-columns: 1fr; }
@media (min-width: 520px) { .field-row { grid-template-columns: 1fr 1fr; } }
.form-note { font-size: .78rem; color: var(--muted); }

/* ---------- pied de page ---------- */
footer.site-footer { background: var(--brown); color: rgba(255, 255, 255, .82); padding: 3rem 0 2rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.footer-grid h3 { font-family: Poppins, sans-serif; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: .9rem; font-weight: 600; }
.footer-grid a { color: rgba(255, 255, 255, .82); text-decoration: none; font-size: .9rem; display: block; padding: .18rem 0; }
.footer-grid a:hover { color: #fff; text-decoration: underline; }
.footer-grid p { font-size: .9rem; }
.footer-bottom {
    margin-top: 2.5rem; padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, .18);
    font-size: .82rem; color: rgba(255, 255, 255, .6);
    display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between;
}
.footer-logo img { height: 54px; background: #fff; border-radius: 10px; padding: 6px; margin-bottom: .9rem; }

/* ---------- barre d'onglets mobile ---------- */
.tabbar {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 70;
    display: flex;
    background: rgba(255, 255, 255, .97);
    border-top: 1px solid var(--line);
    box-shadow: 0 -2px 12px rgba(27, 36, 48, .07);
    padding-bottom: env(safe-area-inset-bottom);
}
.tabbar a {
    flex: 1;
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    padding: .5rem 0 .45rem;
    font-size: .66rem;
    color: var(--muted);
    text-decoration: none;
}
.tabbar a.active { color: var(--orange); }
.tabbar svg { width: 20px; height: 20px; }
@media (min-width: 900px) {
    .tabbar { display: none; }
    body { padding-bottom: 0; }
}

/* bouton WhatsApp flottant */
.wa-float {
    position: fixed;
    right: 1rem;
    bottom: 76px;
    z-index: 65;
    width: 52px; height: 52px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: grid; place-items: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .22);
    text-decoration: none;
}
@media (min-width: 900px) { .wa-float { bottom: 1.5rem; } }

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

/* =========================================================
   Composants des pages intérieures
   ========================================================= */

/* En-tête de page (version courte du héros) */
.page-hero {
    position: relative;
    background: var(--blue-900);
    color: #fff;
    padding: clamp(2.5rem, 7vw, 4.5rem) 0 clamp(2rem, 5vw, 3rem);
    overflow: hidden;
}
.page-hero::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(120deg, rgba(11, 58, 84, .96) 40%, rgba(11, 58, 84, .72) 100%);
}
.page-hero img.bg {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: .55;
}
.page-hero .wrap { position: relative; z-index: 2; display: flex; flex-direction: column; gap: .7rem; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 5vw, 2.9rem); }
.page-hero p { color: rgba(255, 255, 255, .88); max-width: 52ch; }
.page-hero .eyebrow { color: #ffd9cd; }

/* Fil d'Ariane */
.crumbs { font-size: .8rem; color: rgba(255, 255, 255, .7); }
.crumbs a { color: rgba(255, 255, 255, .7); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }

/* Texte long */
.prose { max-width: 68ch; display: flex; flex-direction: column; gap: 1rem; color: var(--muted); }
.prose h2, .prose h3 { color: var(--ink); margin-top: .8rem; }
.prose strong { color: var(--ink); font-weight: 600; }

/* Cartes d'offre rendues par js/offres.js */
.offers-container { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .offers-container { grid-template-columns: 1fr 1fr; } }
.offer-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow);
}
.offer-card .flyer { position: relative; background: var(--sand); }
.offer-card .flyer img { width: 100%; height: auto; display: block; cursor: zoom-in; }
.offer-card .offer-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .7rem; }
.offer-card h3 { font-size: 1.3rem; }
.offer-card .offer-meta { display: flex; flex-wrap: wrap; gap: .4rem .8rem; font-size: .82rem; color: var(--muted); }
.offer-card .offer-price {
    font-family: Fraunces, Georgia, serif;
    font-size: 1.5rem; font-weight: 600; color: var(--blue-900);
    font-variant-numeric: tabular-nums;
}
.offer-card .offer-price small { display: block; font-family: Poppins, sans-serif; font-size: .8rem; font-weight: 400; color: var(--muted); }
.offer-card ul { margin: 0; padding-left: 1.1rem; color: var(--muted); font-size: .9rem; display: flex; flex-direction: column; gap: .2rem; }
.offer-card .offer-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .3rem; }

/* Fenêtre modale (réservation d'une offre, fiche équipe) */
.modal {
    position: fixed; inset: 0; z-index: 90;
    display: none;
    align-items: center; justify-content: center;
    padding: 1rem;
    background: rgba(11, 58, 84, .55);
    backdrop-filter: blur(3px);
}
.modal.open { display: flex; }
.modal-card {
    background: var(--paper);
    border-radius: var(--radius);
    width: min(38rem, 100%);
    max-height: 90vh;
    overflow-y: auto;
    padding: 1.6rem;
    display: flex; flex-direction: column; gap: 1rem;
    box-shadow: 0 24px 60px -20px rgba(11, 58, 84, .6);
}
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.modal-close {
    background: none; border: none; cursor: pointer;
    font-size: 1.5rem; line-height: 1; color: var(--muted); padding: .2rem .4rem;
}
.modal-close:hover { color: var(--ink); }

/* Équipe */
.team-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.team-card {
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow-sm);
}
.team-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: var(--sand); }
.team-card .team-body { padding: .9rem 1rem 1.1rem; display: flex; flex-direction: column; gap: .15rem; }
.team-card b { font-size: .98rem; }
.team-card span { font-size: .84rem; color: var(--muted); }

/* Carte Leaflet */
#map { height: 420px; width: 100%; border-radius: var(--radius); border: 1px solid var(--line); z-index: 1; }

/* Grille de destinations détaillée */
.dest-detail { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.dest-detail article {
    border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
    background: var(--paper); box-shadow: var(--shadow-sm);
    display: flex; flex-direction: column;
}
.dest-detail img { width: 100%; height: 170px; object-fit: cover; }
.dest-detail .body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .4rem; }
.dest-detail p { font-size: .9rem; color: var(--muted); }
.dest-detail .link { margin-top: auto; font-size: .87rem; color: var(--blue); text-decoration: none; font-weight: 500; padding-top: .5rem; }

/* Bandeau de confirmation */
.confirm {
    max-width: 34rem; margin: 0 auto; text-align: center;
    display: flex; flex-direction: column; align-items: center; gap: 1rem;
    padding: clamp(2.5rem, 8vw, 5rem) 1.25rem;
}
.confirm .tick {
    width: 64px; height: 64px; border-radius: 50%;
    background: var(--ok-soft, #e3f1eb); color: #1a6f52;
    display: grid; place-items: center;
}
.confirm p { color: var(--muted); }

/* Groupes de champs sur trois colonnes */
@media (min-width: 720px) { .field-row.three { grid-template-columns: repeat(3, 1fr); } }
.fieldset {
    border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.2rem; display: flex; flex-direction: column; gap: .9rem;
    background: var(--paper);
}
.fieldset > legend {
    font-size: .74rem; letter-spacing: .14em; text-transform: uppercase;
    color: var(--blue); font-weight: 500; padding: 0 .4rem;
}
.radio-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.radio-row label {
    border: 1px solid var(--line); border-radius: 999px;
    padding: .45rem 1rem; font-size: .88rem; cursor: pointer;
    display: inline-flex; align-items: center; gap: .4rem;
}
.radio-row input { accent-color: var(--blue); }
.radio-row label:has(input:checked) { border-color: var(--blue); background: var(--blue-50); color: var(--blue-900); }

.modal-card form { display: flex; flex-direction: column; gap: .9rem; }
.modal-card .btn { align-self: flex-start; }

.btn-outline.active { border-color: var(--blue); background: var(--blue-50); color: var(--blue-900); }

/* Marqueurs de la carte Leaflet */
.marker-pin {
    width: 22px; height: 22px; border-radius: 50% 50% 50% 0;
    background: var(--orange); transform: rotate(-45deg);
    border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .3);
}
.custom-popup .leaflet-popup-content-wrapper { border-radius: 12px; }
.custom-popup .leaflet-popup-content { margin: .9rem; font-family: Poppins, sans-serif; }
.destination-popup strong { font-family: Fraunces, Georgia, serif; font-size: 1.05rem; }

/* Compteurs de voyageurs */
.counters { display: grid; gap: .8rem; grid-template-columns: 1fr; }
@media (min-width: 620px) { .counters { grid-template-columns: repeat(3, 1fr); } }
.counter { display: flex; flex-direction: column; gap: .35rem; }
.counter label { font-size: .82rem; font-weight: 500; }
.counter-controls {
    display: inline-flex; align-items: center; gap: .2rem;
    border: 1px solid var(--line); border-radius: 999px; padding: .2rem; width: fit-content;
}
.counter-controls button {
    width: 32px; height: 32px; border-radius: 50%;
    border: none; background: var(--sand); color: var(--ink);
    font-size: 1.05rem; line-height: 1; cursor: pointer;
}
.counter-controls button:hover { background: var(--blue-50); color: var(--blue); }
.counter-controls input {
    width: 2.4rem; text-align: center; border: none; background: none;
    font-family: inherit; font-size: .95rem; font-variant-numeric: tabular-nums;
    -moz-appearance: textfield;
}
.counter-controls input::-webkit-outer-spin-button,
.counter-controls input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.quote-grid aside { display: flex; flex-direction: column; gap: 1.2rem; }

.team-initials {
    aspect-ratio: 1 / 1; display: grid; place-items: center;
    background: var(--blue-50); color: var(--blue);
    font-family: Fraunces, Georgia, serif; font-size: 2rem; font-weight: 600;
}
.team-card .link {
    background: none; border: none; padding: .4rem 0 0; cursor: pointer;
    font-family: inherit; font-size: .84rem; color: var(--blue); font-weight: 500; text-align: left;
}
.team-card .link:hover { text-decoration: underline; }

/* Barre de sections de la page d'accueil */
.section-nav {
    position: sticky; top: 71px; z-index: 50;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}
.section-nav .wrap {
    display: flex; gap: .3rem; overflow-x: auto;
    padding-top: .5rem; padding-bottom: .5rem;
    scrollbar-width: none;
}
.section-nav .wrap::-webkit-scrollbar { display: none; }
.section-nav a {
    flex: none; padding: .4rem .95rem; border-radius: 999px;
    font-size: .86rem; color: var(--muted); text-decoration: none; white-space: nowrap;
    transition: background-color .18s ease, color .18s ease;
}
.section-nav a:hover { color: var(--blue); background: var(--blue-50); }
.section-nav a.active { background: var(--blue-900); color: #fff; }
main section[id] { scroll-margin-top: 128px; }

/* Vignette en haut des cartes de services */
.card .thumb {
    position: relative;
    margin: -1.5rem -1.5rem 1.7rem;
    height: 158px;
    overflow: hidden;
    border-radius: 13px 13px 0 0;
    background: var(--sand);
}
.card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.card .thumb + .icon {
    position: relative;
    z-index: 2;
    margin-top: -3.6rem;
    margin-bottom: .5rem;
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}
.card .thumb ~ h3 { margin-top: .5rem; }

/* Vignette sans photo, pour les services que nous n'illustrons pas encore */
.card .thumb.plain {
    display: grid; place-items: center;
    background: linear-gradient(160deg, var(--blue-50), var(--sand));
    color: var(--blue);
}

/* =========================================================
   Point d'entrée du héros, statut d'ouverture, barre d'actions
   ========================================================= */

/* Mini formulaire posé sur la vidéo */
.hero-search {
    display: grid;
    grid-template-columns: 1fr;
    gap: .7rem;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(6px);
    border-radius: var(--radius);
    padding: 1rem;
    margin-top: .6rem;
    box-shadow: 0 18px 40px -22px rgba(11, 58, 84, .8);
}
.hero-search .field label { color: var(--ink); }
.hero-search .btn { width: 100%; }
@media (min-width: 720px) {
    .hero-search {
        grid-template-columns: 1.4fr 1fr 1fr .7fr auto;
        align-items: end;
        gap: .6rem;
    }
    .hero-search .btn { width: auto; white-space: nowrap; }
}

/* Statut d'ouverture calculé en direct */
.hours-badge {
    display: inline-flex; align-items: center; gap: .4rem;
    font-size: .78rem; color: var(--muted);
    border: 1px solid var(--line); border-radius: 999px; padding: .25rem .7rem;
    white-space: nowrap;
}
.hours-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.hours-badge.open .dot { background: #1a9c62; box-shadow: 0 0 0 3px rgba(26, 156, 98, .18); }
.hours-badge.closed .dot { background: #c25c3a; }
.hours-badge.dark { color: rgba(255, 255, 255, .85); border-color: rgba(255, 255, 255, .28); }
@media (max-width: 899px) { .site-header .hours-badge { display: none; } }

/* Menu mobile */
.burger {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 4px;
    width: 40px; height: 40px; padding: 0 9px;
    background: none; border: 1px solid var(--line); border-radius: 10px; cursor: pointer;
}
.burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (min-width: 900px) { .burger { display: none; } }

@media (max-width: 899px) {
    .nav-links {
        position: absolute; left: 0; right: 0; top: 100%;
        display: none; flex-direction: column; gap: 0;
        background: var(--paper); border-bottom: 1px solid var(--line);
        padding: .4rem 1.25rem 1rem;
        box-shadow: 0 18px 30px -24px rgba(11, 58, 84, .8);
    }
    .nav-links.open { display: flex; }
    .nav-links a { padding: .7rem 0; border-bottom: 1px solid var(--line-soft); border-left: 0; }
    .nav-links a:last-child { border-bottom: none; }
    .nav-links a.active { border-color: var(--line-soft); color: var(--orange); }
    .site-header .nav { position: relative; }
}

/* Barre d'actions en bas d'écran (téléphone) */
.actionbar {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 70;
    display: flex; gap: .5rem;
    padding: .5rem .75rem calc(.5rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .97);
    border-top: 1px solid var(--line);
    box-shadow: 0 -2px 14px rgba(27, 36, 48, .08);
}
.actionbar a {
    flex: 1;
    display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
    padding: .65rem .5rem; border-radius: 999px;
    font-size: .85rem; font-weight: 500; text-decoration: none;
    border: 1px solid var(--line); color: var(--ink); background: var(--paper);
}
.actionbar svg { width: 18px; height: 18px; }
.actionbar a.wa { background: #25d366; border-color: #25d366; color: #fff; }
.actionbar a.primary { background: var(--orange); border-color: var(--orange); color: #fff; }
@media (min-width: 900px) { .actionbar { display: none; } body { padding-bottom: 0; } }
@media (max-width: 899px) { .wa-float.desktop-only { display: none; } }

/* Compte à rebours d'un départ */
.countdown {
    display: inline-flex; align-items: center; gap: .35rem;
    background: var(--orange); color: #fff;
    font-size: .74rem; letter-spacing: .04em; text-transform: uppercase; font-weight: 500;
    border-radius: 999px; padding: .18rem .6rem;
}
.dep-flyer .countdown, .offer-card .flyer .countdown { position: absolute; top: .6rem; left: .6rem; z-index: 2; }

/* Apparition au défilement */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
}


/* Questions frequentes */
.faq-list { max-width: 62rem; margin: 0 auto; display: grid; gap: .75rem; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; }
.faq-item summary {
    cursor: pointer; padding: 1.05rem 1.25rem; font-weight: 600; color: var(--blue-900);
    list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: ''; width: 10px; height: 10px; flex: 0 0 auto;
    border-right: 2px solid var(--orange); border-bottom: 2px solid var(--orange);
    transform: rotate(45deg); transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-item summary:hover { background: var(--sand); }
.faq-item p { margin: 0; padding: 0 1.25rem 1.15rem; color: var(--muted); line-height: 1.65; }
