/* ==========================================================================
   Danakil — Agence de tourisme à Djibouti
   Mobile-first. Palette inspirée du basalte, du sel, de l'ocre et du lagon.
   ========================================================================== */

:root {
    --basalt: #14110f;
    --basalt-2: #221d19;
    --sand: #f5eee4;
    --salt: #fffaf3;
    --ochre: #c4682a;
    --ochre-dark: #9f4f1b;
    --lagoon: #0d7f80;
    --ink: #1d1a17;
    --muted: #675d54;
    --line: #e4d9cb;

    --wa: #1a8f4c;
    --wa-hover: #157a40;
    --wa-bright: #25d366;

    --font-display: "Fraunces", Georgia, "Times New Roman", serif;
    --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    --radius: 18px;
    --radius-sm: 10px;
    --shadow: 0 18px 50px -20px rgb(20 17 15 / .35);
    --header-h: 68px;
    --gutter: 16px;
    --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-h);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--sand);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--ochre); outline-offset: 3px; border-radius: 4px; }

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

.skip-link {
    position: absolute; left: var(--gutter); top: -100px; z-index: 100;
    background: var(--salt); padding: .6rem 1rem; border-radius: var(--radius-sm);
}
.skip-link:focus { top: var(--gutter); }

.container {
    width: 100%;
    max-width: 1240px;
    margin-inline: auto;
    padding-inline: var(--gutter);
}

/* ---------- Typo utilitaires ---------- */

.eyebrow {
    display: inline-flex; align-items: center; gap: .6rem;
    font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
    color: var(--ochre-dark);
    margin-bottom: .9rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.eyebrow-light { color: #f2c59c; }

.section { padding-block: clamp(4.5rem, 10vw, 8rem); }

.section-head { max-width: 720px; margin: 0 auto clamp(2.5rem, 6vw, 4rem); text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head-left { margin-inline: 0; text-align: left; margin-bottom: 1.5rem; }
.section-head-left .eyebrow { justify-content: flex-start; }

.section-title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(2rem, 5.2vw, 3.4rem);
    letter-spacing: -.015em;
}
.section-title em { font-style: italic; color: var(--ochre); }
.section-lead { margin-top: 1.1rem; font-size: 1.08rem; color: var(--muted); }

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

.btn {
    --btn-bg: var(--ink);
    display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
    min-height: 48px;
    padding: .75rem 1.35rem;
    border: 0; border-radius: 999px;
    background: var(--btn-bg); color: #fff;
    font: 600 .98rem/1.2 var(--font-body);
    text-decoration: none; text-align: center;
    cursor: pointer;
    transition: transform .25s var(--ease), background-color .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn .icon { width: 1.25em; height: 1.25em; flex: none; }

.btn-wa { --btn-bg: var(--wa); box-shadow: 0 10px 24px -10px rgb(26 143 76 / .7); }
.btn-wa:hover { --btn-bg: var(--wa-hover); box-shadow: 0 14px 30px -10px rgb(26 143 76 / .8); }

.btn-primary { --btn-bg: var(--ochre); box-shadow: 0 10px 24px -10px rgb(196 104 42 / .7); }
.btn-primary:hover { --btn-bg: var(--ochre-dark); }

.btn-ghost {
    --btn-bg: rgb(255 255 255 / .1);
    border: 1.5px solid rgb(255 255 255 / .6);
    backdrop-filter: blur(6px);
}
.btn-ghost:hover { --btn-bg: rgb(255 255 255 / .2); }

.btn-lg { min-height: 56px; padding: 1rem 1.7rem; font-size: 1.04rem; }
.btn-block { width: 100%; }

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

.site-header {
    position: fixed; inset: 0 0 auto; z-index: 50;
    height: var(--header-h);
    color: #fff;
    transition: background-color .35s, box-shadow .35s, color .35s;
}
.site-header.is-scrolled,
.site-header.is-open {
    background: rgb(20 17 15 / .92);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgb(255 255 255 / .06);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: inherit; }
.brand-logo { display: block; width: auto; height: 42px; }

.nav-toggle {
    position: relative; z-index: 2;
    width: 46px; height: 46px; border: 0; border-radius: 50%;
    background: rgb(255 255 255 / .12); color: #fff; cursor: pointer;
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
    position: absolute; left: 50%; width: 20px; height: 2px; margin-left: -10px;
    background: currentColor; border-radius: 2px;
    transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle-bar { top: 50%; margin-top: -1px; }
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; left: 0; margin-left: 0; }
.nav-toggle-bar::before { transform: translateY(-6px); }
.nav-toggle-bar::after { transform: translateY(6px); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: rotate(-45deg); }

.main-nav {
    position: fixed; inset: var(--header-h) 0 auto;
    height: calc(100dvh - var(--header-h));
    display: flex; flex-direction: column; gap: 2rem;
    padding: 2rem var(--gutter) 3rem;
    background: var(--basalt);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s, transform .3s var(--ease), visibility .3s;
    overflow-y: auto;
}
.main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
.main-nav ul { display: grid; gap: .25rem; }
.main-nav ul a {
    display: block; padding: .7rem 0;
    font-family: var(--font-display); font-size: 1.8rem;
    text-decoration: none; border-bottom: 1px solid rgb(255 255 255 / .08);
}
.main-nav ul a:hover, .main-nav ul a[aria-current="page"] { color: #f2a65a; }

/* Sélecteur de langue (FR / EN) */
.main-nav .lang-switch { display: flex; gap: .4rem; }
.main-nav .lang-switch a {
    display: grid; place-items: center;
    min-width: 44px; min-height: 40px; padding: .3rem .7rem;
    border: 1px solid rgb(255 255 255 / .25); border-radius: 999px;
    font-family: var(--font-body); font-size: .85rem; font-weight: 600; letter-spacing: .06em;
    color: rgb(255 255 255 / .75);
}
.main-nav .lang-switch a:hover { color: #fff; border-color: rgb(255 255 255 / .6); }
.main-nav .lang-switch a[aria-current] { background: #fff; color: var(--ink); border-color: #fff; }

body.nav-locked { overflow: hidden; }

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

.hero {
    position: relative;
    min-height: 100svh;
    display: flex; flex-direction: column; justify-content: flex-end;
    padding-top: calc(var(--header-h) + 2rem);
    color: #fff;
    background: var(--basalt);
    overflow: hidden;
    isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
/* Diaporama : les photos se superposent et apparaissent en fondu, avec un zoom lent sur la photo affichée. */
.hero-slide {
    position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%;
    opacity: 0; transition: opacity 1.6s ease;
}
.hero-slide.is-active { opacity: 1; animation: hero-zoom 9s ease-out both; }
.hero-media::after {
    content: ""; position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgb(20 17 15 / .55) 0%, rgb(20 17 15 / .05) 30%, rgb(20 17 15 / .25) 55%, rgb(20 17 15 / .88) 100%),
        linear-gradient(90deg, rgb(20 17 15 / .45), transparent 70%);
}
@keyframes hero-zoom { from { transform: scale(1.1); } to { transform: scale(1); } }

.hero-controls { display: flex; align-items: center; gap: .55rem; margin-top: 1.6rem; }
.hero-controls[hidden] { display: none; }
.hero-dot {
    width: 30px; height: 30px; padding: 0; border: 0; background: none; cursor: pointer;
    display: grid; place-items: center;
}
.hero-dot::before {
    content: ""; width: 9px; height: 9px; border-radius: 999px;
    background: rgb(255 255 255 / .45); transition: width .4s var(--ease), background-color .3s;
}
.hero-dot:hover::before { background: rgb(255 255 255 / .8); }
.hero-dot[aria-current]::before { width: 26px; background: #f2a65a; }
.hero-pause {
    display: grid; place-items: center; width: 34px; height: 34px; margin-left: .4rem; padding: 0;
    border: 1px solid rgb(255 255 255 / .35); border-radius: 50%;
    background: rgb(20 17 15 / .25); color: #fff; cursor: pointer;
}
.hero-pause:hover { border-color: #fff; }
.hero-pause svg { width: 14px; height: 14px; }
.hero-pause .icon-play, .hero-pause[aria-pressed="true"] .icon-pause { display: none; }
.hero-pause[aria-pressed="true"] .icon-play { display: inline; }

.hero-content { padding-bottom: 2.5rem; }
.hero-title {
    font-family: var(--font-display); font-weight: 500;
    font-size: clamp(2.6rem, 9vw, 5.6rem);
    letter-spacing: -.025em; line-height: 1.02;
    max-width: 14ch;
    text-wrap: balance;
}
.hero-title span {
    display: block; margin-top: .9rem;
    font-size: clamp(1.15rem, 3.2vw, 1.75rem); font-style: italic; letter-spacing: 0; line-height: 1.3;
    color: #f6c99d; max-width: 30ch;
}
.hero-lead { max-width: 52ch; margin-top: 1.4rem; font-size: clamp(1.02rem, 2.4vw, 1.18rem); color: rgb(255 255 255 / .88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-actions .btn { flex: 1 1 260px; }
.hero-note { display: flex; align-items: center; gap: .55rem; margin-top: 1.1rem; font-size: .9rem; color: rgb(255 255 255 / .75); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wa-bright); box-shadow: 0 0 0 4px rgb(37 211 102 / .25); }

.hero-facts {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
    padding-block: 1.4rem 1.6rem;
    border-top: 1px solid rgb(255 255 255 / .18);
}
.hero-facts strong { display: block; font-family: var(--font-display); font-size: clamp(1.25rem, 4vw, 2rem); font-weight: 500; color: #fff; }
.hero-facts span { display: block; font-size: .78rem; line-height: 1.35; color: rgb(255 255 255 / .72); }

/* ---------- En-tête des pages intérieures ---------- */

.page-hero {
    position: relative; isolation: isolate; overflow: hidden;
    min-height: clamp(380px, 58vh, 560px);
    display: flex; align-items: flex-end;
    padding: calc(var(--header-h) + 3rem) 0 clamp(2.5rem, 6vw, 4rem);
    color: #fff; background: var(--basalt);
}
.page-hero-media { position: absolute; inset: 0; z-index: -1; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-media::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgb(20 17 15 / .6) 0%, rgb(20 17 15 / .2) 40%, rgb(20 17 15 / .85) 100%);
}
.page-hero-title {
    font-family: var(--font-display); font-weight: 500;
    font-size: clamp(2.3rem, 7vw, 4.4rem); letter-spacing: -.02em; line-height: 1.05;
    max-width: 18ch; text-wrap: balance;
}
.page-hero-title em { font-style: italic; color: #f2a65a; }
.page-hero-lead { max-width: 60ch; margin-top: 1.1rem; font-size: clamp(1rem, 2.2vw, 1.15rem); color: rgb(255 255 255 / .88); }

.more-link { margin-top: 2.5rem; text-align: center; }
.more-link-left { margin-top: 1.8rem; }

/* ---------- Destinations ---------- */

.places-title {
    display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem 1rem;
    margin: 0 0 1.2rem; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.6rem, 4vw, 2.1rem);
}
.places-title span { font-family: var(--font-body); font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ochre-dark); }
.places + .places-title, .cards + .places-title, .featured + .places-title, .soon-note + .places-title { margin-top: clamp(2.5rem, 6vw, 4rem); }

/* Pays sans circuit pour le moment (ex. Érythrée) */
.soon-badge {
    display: inline-block; margin-bottom: .7rem; padding: .25rem .75rem; border-radius: 999px;
    background: #f2a65a; color: var(--ink); text-shadow: none;
    font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.place-soon { display: block; min-height: 340px; }
.place-soon .place-body p { max-width: 62ch; font-size: 1rem; }
.place-soon .btn { margin-top: 1.1rem; }
.soon-note { color: var(--muted); }
.soon-note a { color: var(--ochre-dark); font-weight: 600; }

.countries { display: grid; gap: 1rem; }
.country { display: block; min-height: 420px; text-decoration: none; }
.country h3 { font-size: clamp(2rem, 4vw, 2.6rem) !important; }
.country-tag { font-size: .76rem !important; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #f2c59c !important; margin: 0 0 .3rem !important; }
.country-link { display: inline-block; margin-top: .9rem; font-weight: 600; color: #f2a65a; }
.country:hover .country-link { text-decoration: underline; text-underline-offset: 4px; }

.places { display: grid; gap: 1rem; }
.place {
    position: relative; overflow: hidden;
    min-height: 300px; border-radius: var(--radius);
    color: #fff; background: var(--basalt);
}
.place img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.place:hover img { transform: scale(1.06); }
.place::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgb(20 17 15 / .85)); }
.place-body { position: absolute; inset: auto 0 0; z-index: 1; padding: 1.4rem; text-shadow: 0 1px 14px rgb(0 0 0 / .5); }
.place :is(h3, h4) { font-family: var(--font-display); font-weight: 500; font-size: 1.6rem; }
.place p { margin-top: .35rem; font-size: .95rem; color: rgb(255 255 255 / .85); max-width: 42ch; }

.pillars { display: grid; gap: 1rem; margin-top: clamp(2.5rem, 6vw, 4rem); }
.pillar { padding: 1.8rem; border-radius: var(--radius); background: var(--salt); border: 1px solid var(--line); }
.pillar-icon {
    display: grid; place-items: center;
    width: 52px; height: 52px; margin-bottom: 1.1rem;
    border-radius: 14px; background: #f7e1cd; color: var(--ochre-dark);
}
.pillar-icon svg { width: 26px; height: 26px; }
.pillar h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.4rem; margin-bottom: .5rem; }
.pillar p { color: var(--muted); }

/* ---------- Itinéraires ---------- */

.itineraries { background: var(--salt); }

.cards { display: grid; gap: 1.5rem; }
.card {
    display: flex; flex-direction: column;
    overflow: hidden; border-radius: var(--radius);
    background: #fff; border: 1px solid var(--line);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-media { display: block; position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--basalt-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card:hover .card-media img { transform: scale(1.06); }
.badge {
    position: absolute; left: 1rem; top: 1rem;
    padding: .35rem .8rem; border-radius: 999px;
    background: rgb(255 250 243 / .94); color: var(--ink);
    font-size: .82rem; font-weight: 600;
}
.card-body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem; }
.card-level { font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--lagoon); }
.card-title { margin-top: .35rem; font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; }
.card-text { margin-top: .6rem; color: var(--muted); font-size: .97rem; }
.card-list { display: grid; gap: .35rem; margin: 1rem 0 1.5rem; font-size: .93rem; }
.card-list li { position: relative; padding-left: 1.4rem; }
.card-list li::before {
    content: ""; position: absolute; left: 0; top: .6em;
    width: .55rem; height: .55rem; border-radius: 50%;
    border: 2px solid var(--ochre);
}
.card-title a { color: inherit; text-decoration: none; }
.card-title a:hover { color: var(--ochre-dark); }
.card-actions { display: flex; gap: .5rem; margin-top: auto; }
.card-actions .btn { flex: 1; font-size: .93rem; }
.card-actions .card-wa { flex: 0 0 48px; padding: 0; }
.card-actions .card-wa .icon { width: 1.4em; height: 1.4em; }

.featured {
    position: relative; isolation: isolate; overflow: hidden;
    margin-block: 2.5rem 0; border-radius: calc(var(--radius) + 6px);
    min-height: 460px; display: flex; align-items: flex-end;
    color: #fff; background: var(--basalt);
}
.featured img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.featured::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(20 17 15 / .05) 20%, rgb(20 17 15 / .88)); }
.featured-body { padding: 1.8rem; max-width: 620px; }
.featured h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.9rem, 5vw, 3rem); }
.featured p { margin-top: .8rem; color: rgb(255 255 255 / .88); }
.featured .hero-actions { margin-top: 1.5rem; }

.custom-trip { margin-top: 2rem; text-align: center; color: var(--muted); }
.custom-trip a { color: var(--ochre-dark); font-weight: 600; text-underline-offset: 4px; }

/* ---------- Galerie ---------- */

.gallery-section { background: var(--basalt); color: #fff; }
.gallery-section .section-lead { color: rgb(255 255 255 / .7); }
.gallery-section .section-title em { color: #f2a65a; }

.gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
    grid-auto-flow: dense;
    gap: .6rem;
}
.gallery-item {
    position: relative; overflow: hidden;
    border-radius: var(--radius-sm); background: var(--basalt-2);
    cursor: zoom-in;
}
.gallery-item.is-wide { grid-column: span 2; }
.gallery-item.is-tall { grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .5s; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-caption {
    position: absolute; inset: auto 0 0; padding: 2rem .9rem .8rem;
    font-size: .85rem; line-height: 1.3;
    background: linear-gradient(180deg, transparent, rgb(0 0 0 / .7));
    opacity: 0; transform: translateY(6px);
    transition: opacity .35s, transform .35s var(--ease);
}
.gallery-item:hover .gallery-caption,
.gallery-item:focus-visible .gallery-caption { opacity: 1; transform: none; }

/* Lightbox */
.lightbox {
    position: fixed; inset: 0; z-index: 200;
    display: grid; place-items: center;
    padding: 4rem var(--gutter);
    background: rgb(10 8 7 / .94);
}
.lightbox[hidden] { display: none; }
.lightbox-figure { margin: 0; max-width: 1200px; }
.lightbox-figure img { max-height: 78vh; width: auto; margin-inline: auto; border-radius: var(--radius-sm); }
.lightbox-figure figcaption { margin-top: .9rem; text-align: center; color: rgb(255 255 255 / .8); font-size: .95rem; }
.lightbox-close, .lightbox-nav {
    position: absolute;
    display: grid; place-items: center;
    width: 48px; height: 48px; border: 0; border-radius: 50%;
    background: rgb(255 255 255 / .12); color: #fff;
    font-size: 1.9rem; line-height: 1; cursor: pointer;
}
.lightbox-close:hover, .lightbox-nav:hover { background: rgb(255 255 255 / .24); }
.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-nav { top: 50%; transform: translateY(-50%); }
.lightbox-prev { left: .5rem; }
.lightbox-next { right: .5rem; }

/* ---------- Bandeau CTA ---------- */

.cta-band {
    position: relative; isolation: isolate; overflow: hidden;
    padding-block: clamp(5rem, 14vw, 9rem);
    color: #fff; text-align: center; background: var(--lagoon);
}
.cta-band img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(8 40 44 / .55), rgb(20 17 15 / .7)); }
.cta-band-inner { max-width: 760px; }
.cta-band h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(2rem, 5.5vw, 3.4rem); text-wrap: balance; }
.cta-band-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; }
.cta-band p { margin: 1.1rem auto 2rem; max-width: 52ch; color: rgb(255 255 255 / .9); font-size: 1.08rem; }

/* ---------- À propos ---------- */

.about-grid { display: grid; gap: 3rem; }
.about-media { position: relative; padding-bottom: 3rem; }
.about-media > img:first-child { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--radius); }
.about-media-inset {
    position: absolute; right: 0; bottom: 0;
    width: 46%; aspect-ratio: 1; object-fit: cover;
    border-radius: var(--radius); border: 6px solid var(--sand);
    box-shadow: var(--shadow);
}
.about-text > p { color: var(--muted); font-size: 1.05rem; }
.about-text > p + p { margin-top: 1rem; }
.features { display: grid; gap: 1.4rem; margin-top: 1.2rem; }
.features li { padding-left: 1.2rem; border-left: 2px solid var(--ochre); }
.features-title { margin-top: 2rem; font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; }
.features h4 { font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; }
.features p { margin-top: .3rem; color: var(--muted); }

.steps { display: grid; gap: 1rem; margin-top: clamp(3rem, 8vw, 5rem); counter-reset: none; }
.step { padding: 1.6rem; border-radius: var(--radius); background: var(--salt); border: 1px solid var(--line); }
.step-num {
    display: grid; place-items: center;
    width: 42px; height: 42px; margin-bottom: 1rem;
    border-radius: 50%; background: var(--ink); color: #fff;
    font-family: var(--font-display); font-size: 1.15rem;
}
.step h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; }
.step p { margin-top: .35rem; color: var(--muted); }

/* ---------- Contact ---------- */

.contact { background: var(--basalt-2); color: #fff; }
.contact .section-lead { color: rgb(255 255 255 / .72); }
.contact .section-title em { color: #f2a65a; }
.contact .eyebrow { color: #f2c59c; }
.contact-grid { display: grid; gap: 2.5rem; }

.contact-wa {
    display: flex; align-items: center; gap: 1rem;
    margin-top: 2rem; padding: 1.1rem 1.3rem;
    border-radius: var(--radius); background: var(--wa);
    text-decoration: none;
    transition: background-color .25s, transform .25s var(--ease);
}
.contact-wa:hover { background: var(--wa-hover); transform: translateY(-2px); }
.contact-wa-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: rgb(255 255 255 / .16); flex: none; }
.contact-wa-icon .icon { width: 28px; height: 28px; }
.contact-wa strong { display: block; font-size: 1.1rem; }
.contact-wa span span { font-size: .95rem; opacity: .9; }

.contact-list { display: grid; gap: 1rem; margin-top: 2rem; }
.contact-list li { display: grid; gap: .1rem; padding-bottom: 1rem; border-bottom: 1px solid rgb(255 255 255 / .1); }
.contact-list span { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: rgb(255 255 255 / .55); }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: #f2a65a; }

.contact-form {
    display: grid; gap: 1.1rem;
    padding: 1.5rem; border-radius: calc(var(--radius) + 4px);
    background: var(--salt); color: var(--ink);
    align-self: start;
}
.field { display: grid; gap: .35rem; }
.field-row { display: grid; grid-template-columns: 1fr 110px; gap: 1rem; }
.field label { font-size: .88rem; font-weight: 600; }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
    width: 100%; min-height: 48px;
    padding: .7rem .9rem;
    border: 1.5px solid var(--line); border-radius: var(--radius-sm);
    background: #fff; color: var(--ink);
    font: 400 1rem/1.4 var(--font-body);
    transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none; border-color: var(--ochre); box-shadow: 0 0 0 4px rgb(196 104 42 / .15);
}
.form-note { font-size: .82rem; color: var(--muted); text-align: center; }
.field-row-even { grid-template-columns: 1fr; }
.field-error { font-size: .85rem; color: #b42318; }
.field [aria-invalid="true"] { border-color: #b42318; }
.field-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { padding: .9rem 1rem; border-radius: var(--radius-sm); font-size: .95rem; }
.form-alert strong { display: block; }
.form-alert-success { background: #e3f4ea; color: #14532d; border: 1px solid #a7d8b9; }
.form-alert-error { background: #fdecea; color: #8a1c12; border: 1px solid #f3b8b1; }

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

.site-footer { background: var(--basalt); color: rgb(255 255 255 / .75); padding-top: 4rem; }
.footer-grid { display: grid; gap: 2.5rem; padding-bottom: 3rem; }
.brand-footer .brand-logo { height: 72px; }
.footer-tagline { margin-top: 1rem; max-width: 38ch; font-size: .95rem; }
.footer-title { font-family: var(--font-body); font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.footer-links { display: grid; gap: .55rem; font-size: .95rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: #f2a65a; }
.footer-bottom {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
    padding-block: 1.5rem 6.5rem;
    border-top: 1px solid rgb(255 255 255 / .1);
    font-size: .85rem;
}

/* ---------- Bouton WhatsApp flottant ---------- */

.wa-float {
    position: fixed; right: var(--gutter); bottom: calc(var(--gutter) + env(safe-area-inset-bottom, 0px)); z-index: 60;
    display: flex; align-items: center; gap: .7rem;
    text-decoration: none; color: #fff;
}
.wa-float-icon {
    position: relative;
    display: grid; place-items: center;
    width: 60px; height: 60px; border-radius: 50%;
    background: var(--wa-bright); color: #fff;
    box-shadow: 0 12px 28px -6px rgb(0 0 0 / .4);
    transition: transform .3s var(--ease);
}
.wa-float-icon .icon { width: 32px; height: 32px; }
.wa-float-icon::before {
    content: ""; position: absolute; inset: 0; border-radius: 50%;
    background: var(--wa-bright); z-index: -1;
    animation: wa-pulse 2.6s ease-out infinite;
}
.wa-float:hover .wa-float-icon { transform: scale(1.08); }
@keyframes wa-pulse {
    0% { transform: scale(1); opacity: .55; }
    80%, 100% { transform: scale(1.7); opacity: 0; }
}
.wa-float-label {
    display: none;
    padding: .6rem 1rem; border-radius: 999px;
    background: #fff; color: var(--ink); font-size: .9rem;
    box-shadow: 0 10px 26px -10px rgb(0 0 0 / .35);
    opacity: 0; transform: translateX(10px);
    transition: opacity .4s, transform .4s var(--ease);
}
.wa-float-label strong { color: var(--wa); }
.wa-float.show-label .wa-float-label { opacity: 1; transform: none; }

/* ---------- Animations d'apparition ---------- */

.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Page détaillée d'un circuit
   ========================================================================== */

.trip-hero { min-height: clamp(460px, 70vh, 680px); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.2rem; font-size: .85rem; color: rgb(255 255 255 / .7); }
.breadcrumb a { color: rgb(255 255 255 / .85); text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.trip-hero .hero-actions { margin-top: 1.6rem; }

.trip-facts-bar { background: var(--basalt); color: #fff; border-top: 1px solid rgb(255 255 255 / .1); }
.trip-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 1.5rem; margin-block: 0; padding-block: 1.3rem; }
.trip-facts dt { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #f2c59c; }
.trip-facts dd { margin: .2rem 0 0; font-weight: 500; }

.trip-body { padding-block: clamp(3rem, 7vw, 5rem); }
.trip-layout { display: grid; gap: 2.5rem; }
.trip-main { min-width: 0; }
.trip-block + .trip-block { margin-top: clamp(2.5rem, 6vw, 3.5rem); }
.trip-title { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.6rem, 3.5vw, 2rem); margin-bottom: 1rem; }
.trip-subtitle { font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; margin: 1.8rem 0 .8rem; }
.trip-text { color: var(--muted); font-size: 1.05rem; max-width: 70ch; }
.trip-text + .trip-text { margin-top: 1rem; }
.trip-highlights { display: grid; gap: .6rem; }
.trip-highlights li { position: relative; padding-left: 1.8rem; }
.trip-highlights li::before { content: ""; position: absolute; left: 0; top: .45em; width: .8rem; height: .8rem; border-radius: 50%; border: 2px solid var(--ochre); }

.trip-block-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .5rem 1rem; }
.trip-block-head .trip-title { margin-bottom: .3rem; }
.trip-toggle-all { padding: 0; border: 0; background: none; color: var(--ochre-dark); font: 600 .9rem var(--font-body); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.trip-note { color: var(--muted); font-size: .95rem; margin-bottom: 1.4rem; }

/* Programme : une frise verticale, un accordéon par jour */
.trip-days { position: relative; display: grid; gap: .8rem; }
.trip-days::before { content: ""; position: absolute; left: 21px; top: 24px; bottom: 24px; width: 2px; background: var(--line); }
.trip-day { position: relative; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--salt); }
.trip-day > summary {
    display: flex; align-items: center; gap: 1rem;
    padding: .9rem 1rem .9rem .6rem; cursor: pointer; list-style: none;
}
.trip-day > summary::-webkit-details-marker { display: none; }
.trip-day-num {
    flex: none; display: grid; place-items: center;
    min-width: 72px; padding: .3rem .6rem; border-radius: 999px;
    background: var(--ink); color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.trip-day[open] .trip-day-num { background: var(--ochre); }
.trip-day-title { font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; line-height: 1.3; }
.trip-day-chevron { margin-left: auto; width: 10px; height: 10px; flex: none; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .25s; }
.trip-day[open] .trip-day-chevron { transform: rotate(-135deg); }
.trip-day-body { padding: 0 1.2rem 1.2rem calc(72px + 1.6rem); color: var(--muted); }
.trip-day-meta { display: grid; gap: .4rem; margin-top: 1rem; padding-top: .9rem; border-top: 1px dashed var(--line); font-size: .93rem; color: var(--ink); }
.trip-day-meta li { display: flex; align-items: flex-start; gap: .5rem; }
.trip-day-meta svg { width: 18px; height: 18px; flex: none; margin-top: .15em; color: var(--ochre); }

/* Inclus / non inclus */
.trip-incl { display: grid; gap: 2rem; }
.trip-list { display: grid; gap: .55rem; }
.trip-list li { position: relative; padding-left: 1.8rem; }
.trip-list li::before { position: absolute; left: 0; top: 0; font-weight: 700; }
.trip-list-yes li::before { content: "✓"; color: #1a8f4c; }
.trip-list-no li::before { content: "✕"; color: #b42318; }

/* Colonne latérale */
.trip-side-card { padding: 1.6rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; gap: .8rem; }
.trip-side-price { font-family: var(--font-display); font-size: 1.5rem; color: var(--ochre-dark); }
.trip-side-title { font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; }
.trip-side-text { color: var(--muted); font-size: .95rem; }
.trip-side-contact { font-size: .85rem; color: var(--muted); text-align: center; overflow-wrap: anywhere; }
.trip-side-contact a { color: inherit; }

.trip-related { padding-top: clamp(3rem, 7vw, 5rem); }

@media (min-width: 640px) {
    .trip-facts { grid-template-columns: repeat(3, 1fr); }
    .trip-incl { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1000px) {
    .trip-facts { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
    .trip-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 4rem; align-items: start; }
    .trip-side { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}
@media (max-width: 639px) {
    .trip-day-body { padding-left: 1.2rem; }
    .trip-days::before { display: none; }
}

/* ==========================================================================
   Avis des voyageurs
   ========================================================================== */

.reviews-section { background: var(--salt); }
.stars { display: inline-flex; gap: 2px; vertical-align: middle; }
.star { width: 18px; height: 18px; }
.stars-lg .star { width: 24px; height: 24px; }
.star-full { fill: #e8a33a; }
.star-empty { fill: #e4d9cb; }
.star-half { fill: #e8a33a; opacity: .5; }
.reviews-summary { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .5rem .8rem; margin-top: 1.1rem; font-size: 1.05rem; }
.reviews-summary strong { font-family: var(--font-display); font-size: 1.4rem; font-weight: 500; }
.reviews-summary span { color: var(--muted); }
.reviews-summary-left { justify-content: flex-start; margin: 0 0 1.5rem; }
.reviews-none { text-align: center; color: var(--muted); font-size: 1.05rem; }

.reviews-grid { display: grid; gap: 1.2rem; }
.review {
    display: flex; flex-direction: column; gap: .8rem; margin: 0;
    padding: 1.6rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
}
.review-demo { align-self: flex-start; margin-top: -.3rem; padding: .1rem .55rem; border-radius: 999px; border: 1px dashed var(--ochre-dark); color: var(--ochre-dark); font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.review-title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; }
.review-body { position: relative; margin: 0; color: var(--muted); }
.review-body.is-long:not(.is-open) { max-height: 9.5em; overflow: hidden; }
.review-body.is-long:not(.is-open)::after { content: ""; position: absolute; inset: auto 0 0; height: 3em; background: linear-gradient(transparent, #fff); }
.review-more { align-self: flex-start; padding: 0; border: 0; background: none; color: var(--ochre-dark); font: 600 .9rem var(--font-body); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.review-author { display: flex; align-items: center; gap: .8rem; margin-top: auto; padding-top: .9rem; border-top: 1px solid var(--line); }
.review-avatar { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%; background: #f7e1cd; color: var(--ochre-dark); font-family: var(--font-display); font-size: 1.2rem; }
.review-author > span:last-child { display: grid; gap: .05rem; min-width: 0; }
.review-meta, .review-trip { font-size: .85rem; color: var(--muted); }
.review-trip a { color: var(--ochre-dark); }
.trip-reviews-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0 1.5rem; }
.trip-reviews-head .places-title { margin-bottom: 1rem; }

/* Formulaire : choix de la note en étoiles (boutons radio) */
.rating-field { border: 0; margin: 0; padding: 0; min-width: 0; }
.rating-field legend { font-size: .88rem; font-weight: 600; margin-bottom: .35rem; padding: 0; }
.rating-input { display: inline-flex; flex-direction: row-reverse; gap: .2rem; width: max-content; }
.rating-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rating-input label { cursor: pointer; padding: .1rem; border-radius: 6px; }
.rating-input svg { width: 34px; height: 34px; fill: #e4d9cb; transition: fill .15s, transform .15s; }
.rating-input label:hover svg, .rating-input label:hover ~ label svg,
.rating-input input:checked ~ label svg { fill: #e8a33a; }
.rating-input label:hover svg { transform: scale(1.1); }
.rating-input input:focus-visible + label { outline: 3px solid var(--ochre); outline-offset: 2px; }
.rating-field[aria-invalid="true"] .rating-input svg { stroke: #b42318; stroke-width: 1; }
.consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .92rem; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: .15rem; accent-color: var(--ochre); flex: none; }
.field-help { font-size: .82rem; color: var(--muted); }

@media (min-width: 760px) { .reviews-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .reviews-grid { grid-template-columns: repeat(3, 1fr); } }

/* ==========================================================================
   Breakpoints
   ========================================================================== */

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

    .hero-actions .btn { flex: 0 0 auto; }
    .hero-facts span { font-size: .86rem; }

    .places { grid-template-columns: repeat(2, 1fr); }
    .place-lg, .place-wide { grid-column: span 2; }
    .cards { grid-template-columns: repeat(2, 1fr); }
    .gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; }
    .steps { grid-template-columns: repeat(3, 1fr); }
    .featured-body { padding: 2.8rem; }
    .contact-form { padding: 2rem; }
    .field-row-even { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1.6fr 1fr 1.2fr; }
    .wa-float-label { display: block; }
}

@media (min-width: 900px) {
    .places { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 260px; }
    .place { min-height: 0; }
    .place-lg { grid-column: span 2; grid-row: span 2; }
    .place-wide { grid-column: span 2; }
    .place-lg :is(h3, h4) { font-size: 2.1rem; }
    .pillars { grid-template-columns: repeat(3, 1fr); }
    .countries { grid-template-columns: repeat(3, 1fr); }
    .country { min-height: 480px; }
    .place-soon { min-height: 380px; }
    .about-grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 5rem; }
    .contact-grid { grid-template-columns: 1fr 1.05fr; gap: 4rem; }
    .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: .8rem; }
    .lightbox-prev { left: 1.5rem; }
    .lightbox-next { right: 1.5rem; }
}

@media (min-width: 1100px) {
    .cards { grid-template-columns: repeat(3, 1fr); }
    .card-title { font-size: 1.4rem; }
    .featured { min-height: 520px; }
    .featured-body { padding: 3.5rem; }
}

/* Navigation horizontale sur desktop */
@media (min-width: 1000px) {
    :root { --header-h: 84px; }

    .nav-toggle { display: none; }
    .main-nav {
        position: static; height: auto; padding: 0;
        flex-direction: row; align-items: center; gap: 2rem;
        background: none; opacity: 1; visibility: visible; transform: none; overflow: visible;
    }
    .main-nav ul { display: flex; gap: 1.8rem; }
    .main-nav ul a {
        padding: .3rem 0; border: 0;
        font-family: var(--font-body); font-size: .95rem; font-weight: 500;
        position: relative;
    }
    .main-nav ul a::after {
        content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px;
        background: currentColor; transform: scaleX(0); transform-origin: left;
        transition: transform .3s var(--ease);
    }
    .main-nav ul a:hover::after, .main-nav ul a[aria-current="page"]::after { transform: scaleX(1); }
    .main-nav .lang-switch { gap: .2rem; }
    .main-nav .lang-switch a { min-width: 0; min-height: 0; padding: .3rem .55rem; font-size: .78rem; }
    .main-nav .lang-switch a::after { display: none; }
    .brand-logo { height: 52px; }
    .nav-cta { min-height: 42px; padding: .55rem 1.1rem; font-size: .9rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .js .reveal { opacity: 1; transform: none; }
}
