/*
Theme Name:  ZoYa On the Road
Theme URI:   https://zoya-ontheroad.com
Author:      ZoYa On the Road
Description: Thème WordPress pour ZoYa On the Road — Aventures en camping-car en famille à travers l'Europe.
Version:     1.0.0
Text Domain: zoya-ontheroad
License:     GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* ══════════════════════════════════════════════════════════════════════
   ZoYa On the Road — CSS Principal
   ══════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Open+Sans:wght@400;600&display=swap');

/* ── Variables ──────────────────────────────────────────────────────── */
:root {
    --dark:      #1c2e40;
    --primary:   #2980b9;
    --accent:    #e8a020;
    --accent-d:  #c87d10;
    --green:     #27ae60;
    --light:     #f5f7fa;
    --white:     #ffffff;
    --text:      #2c3e50;
    --muted:     #7f8c8d;
    --border:    #e8ecef;

    --header-h:  80px;
    --max-w:     1100px;
    --section-y: 80px;
    --radius:    12px;
    --radius-sm: 6px;

    --shadow:    0 4px 20px rgba(0,0,0,0.08);
    --shadow-h:  0 12px 40px rgba(0,0,0,0.16);
    --trans:     all 0.3s ease;
}

/* ── Reset & Base ───────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html  { scroll-behavior: smooth; }
body  { font-family: 'Open Sans', sans-serif; color: var(--text); background: var(--white); line-height: 1.7; }
h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; line-height: 1.25; color: var(--dark); }
img   { max-width: 100%; height: auto; display: block; }
a     { text-decoration: none; color: inherit; }
ul    { list-style: none; }

/* ── WordPress admin bar offset ────────────────────────────────────── */
.admin-bar #main-header { top: 32px; }
@media screen and (max-width: 782px) {
    .admin-bar #main-header { top: 46px; }
}

/* ── Header ─────────────────────────────────────────────────────────── */
header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--header-h);
    background: var(--white);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.3s;
}
header.scrolled { box-shadow: var(--shadow); border-bottom-color: transparent; }

.nav-container {
    max-width: var(--max-w);
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    gap: 20px;
}

.nav-logo img { height: 62px; width: auto; transition: opacity 0.2s; }
.nav-logo:hover img { opacity: 0.82; }

/* WP custom logo */
.nav-logo .custom-logo-link img { height: 62px; width: auto; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.2rem;
    padding: 0;
    margin: 0;
    list-style: none;
}
.nav-links a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.3px;
    color: var(--text);
    position: relative;
    padding-bottom: 3px;
    transition: color 0.2s;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transition: width 0.3s;
}
/* Lien actif — classe native WP et classe JS */
.nav-links a:hover,
.nav-links a.active,
.nav-links .current-menu-item > a,
.nav-links .current_page_item > a { color: var(--accent); }

.nav-links a:hover::after,
.nav-links a.active::after,
.nav-links .current-menu-item > a::after,
.nav-links .current_page_item > a::after { width: 100%; }

.nav-social { display: flex; align-items: center; gap: 10px; }

/* ── Bouton déconnexion visiteur ─────────────────────────────────────── */
#btn-visitor-logout {
    background: none;
    border: 1.5px solid var(--border);
    color: var(--muted);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--trans);
    flex-shrink: 0;
}
#btn-visitor-logout:hover {
    background: var(--light);
    border-color: var(--muted);
    color: var(--dark);
    transform: scale(1.1);
}
.social-icon {
    width: 36px; height: 36px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white;
    font-size: 0.88rem;
    transition: transform 0.2s, opacity 0.2s;
    flex-shrink: 0;
}
.social-icon:hover { transform: scale(1.12); opacity: 0.88; }
.social-icon.youtube   { background: #ff0000; }
.social-icon.instagram { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.social-icon.facebook  { background: #1877f2; }

/* ── Burger ─────────────────────────────────────────────────────────── */
.burger {
    display: none;
    background: none;
    border: 1.5px solid var(--border);
    color: var(--dark);
    font-size: 1.2rem;
    width: 40px; height: 40px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: var(--trans);
    font-family: inherit;
}
.burger:hover { background: var(--light); border-color: #ccc; }

/* ── Main ───────────────────────────────────────────────────────────── */
main { margin-top: var(--header-h); }

/* ── Boutons ────────────────────────────────────────────────────────── */
.btn-primary {
    display: inline-block;
    background: var(--accent);
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 14px 32px;
    border-radius: 30px;
    border: 2px solid var(--accent);
    cursor: pointer;
    transition: var(--trans);
    letter-spacing: 0.3px;
}
.btn-primary:hover {
    background: var(--accent-d);
    border-color: var(--accent-d);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232,160,32,0.4);
}
.btn-outline {
    display: inline-block;
    background: transparent;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 14px 32px;
    border-radius: 30px;
    border: 2px solid rgba(255,255,255,0.65);
    cursor: pointer;
    transition: var(--trans);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: white;
    transform: translateY(-2px);
}
.btn-dark {
    display: inline-block;
    background: var(--dark);
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.88rem;
    padding: 12px 28px;
    border-radius: 30px;
    border: 2px solid var(--dark);
    cursor: pointer;
    transition: var(--trans);
}
.btn-dark:hover { background: #2a3f56; transform: translateY(-2px); }
.btn-accent {
    display: inline-block;
    background: var(--accent);
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 10px 24px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    transition: var(--trans);
}
.btn-accent:hover { background: var(--accent-d); transform: translateY(-2px); }

/* ── Sections helpers ───────────────────────────────────────────────── */
.section-wrap {
    padding: var(--section-y) 28px;
    max-width: var(--max-w);
    margin: 0 auto;
}
.section-alt  { background: var(--light); }
.section-dark { background: var(--dark); }
.section-dark * { color: rgba(255,255,255,0.85); }
.section-dark h2, .section-dark h3 { color: white; }

.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 {
    font-size: 2.1rem;
    font-weight: 800;
    display: inline-block;
    position: relative;
    margin-bottom: 4px;
}
.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px; left: 50%;
    transform: translateX(-50%);
    width: 52px; height: 3px;
    background: var(--accent);
    border-radius: 2px;
}
.section-header p { color: var(--muted); font-size: 1rem; margin-top: 20px; }

/* ── Hero ───────────────────────────────────────────────────────────── */
#hero {
    height: 100vh;
    min-height: 580px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 24px;
    position: relative;
    margin-top: 0;
}
.hero-eyebrow {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    opacity: 0.8;
    margin-bottom: 18px;
    display: block;
}
#hero h1 {
    font-size: clamp(2.4rem, 6vw, 5rem);
    font-weight: 800;
    color: white;
    text-shadow: 2px 4px 16px rgba(0,0,0,0.5);
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}
.hero-sub {
    font-size: clamp(1rem, 2vw, 1.25rem);
    opacity: 0.88;
    margin-bottom: 36px;
    max-width: 520px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero-scroll {
    position: absolute;
    bottom: 28px; left: 50%;
    transform: translateX(-50%);
    font-size: 1.1rem;
    opacity: 0.55;
    animation: bounce 2.2s ease-in-out infinite;
    color: white;
}
@keyframes bounce {
    0%,100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(9px); }
}

/* ── Mini-hero (pages internes) ────────────────────────────────────── */
.page-hero {
    height: 38vh;
    min-height: 240px;
    background:
        linear-gradient(rgba(20,35,50,0.55), rgba(20,35,50,0.7)),
        url('https://images.unsplash.com/photo-1469854523086-cc02fe5d8800?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 24px;
}
.page-hero h1 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
    color: white;
    text-shadow: 1px 2px 8px rgba(0,0,0,0.4);
    margin-bottom: 8px;
}
.page-hero p { opacity: 0.8; font-size: 1rem; }

/* ── Cards Voyages ──────────────────────────────────────────────────── */
.voyages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}
.voyage-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--trans);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    border: 1px solid var(--border);
}
.voyage-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-h);
    border-color: transparent;
}
.voyage-card-img {
    height: 210px;
    background: var(--dark) center/cover no-repeat;
    position: relative;
    overflow: hidden;
}
.voyage-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.45), transparent 55%);
    transition: opacity 0.3s;
}
.voyage-card:hover .voyage-card-img::after { opacity: 0.7; }
.badge-wrap { position: absolute; top: 14px; left: 14px; z-index: 1; }
.voyage-badge {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}
.voyage-badge.prep   { background: var(--accent); color: white; }
.voyage-badge.future { background: rgba(255,255,255,0.18); color: white; border: 1px solid rgba(255,255,255,0.45); backdrop-filter: blur(4px); }
.voyage-badge.done   { background: var(--green); color: white; }

.voyage-card-body {
    padding: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.voyage-card-body h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 5px; }
.voyage-dates { font-size: 0.8rem; color: var(--muted); margin-bottom: 10px; font-style: italic; }
.voyage-card-body p { font-size: 0.88rem; color: #555; line-height: 1.65; flex: 1; margin-bottom: 16px; }
.voyage-cta {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s, color 0.2s;
}
.voyage-card:hover .voyage-cta { gap: 10px; color: var(--accent); }
.voyage-cta.coming { color: var(--muted); cursor: default; }

.voyage-card.coming-soon { opacity: 0.72; cursor: default; }
.voyage-card.coming-soon:hover { transform: none; box-shadow: var(--shadow); border-color: var(--border); }

.placeholder-img {
    background: linear-gradient(135deg, #dde4ea, #c5d0db) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

/* ── Single Voyage ──────────────────────────────────────────────────── */
.voyage-hero {
    height: 65vh;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 24px;
    position: relative;
    overflow: hidden;
    background: var(--dark) center/cover no-repeat;
}
.voyage-hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: white;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.55);
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}
.voyage-hero-sub {
    opacity: 0.9;
    font-size: clamp(1rem, 2.2vw, 1.5rem);
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
    font-family: 'Open Sans', sans-serif;
}
.voyage-meta-bar {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 40px;
    padding: 10px 28px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}
.voyage-meta-bar span { display: flex; align-items: center; gap: 6px; }

/* Quand un logo bas est présent, on agrandit le héro pour lui laisser la place */
.voyage-hero.has-portrait {
    padding-bottom: 240px;
    min-height: 560px;
    justify-content: center;
}
@media (max-width: 600px) {
    .voyage-hero.has-portrait {
        padding-bottom: 160px;
        min-height: 420px;
    }
}

/* Logo / image centrale semi-transparente (fond) */
.hero-logo-bg {
    position: absolute;
    width: 480px;
    max-width: 90%;
    opacity: 0.75;
    pointer-events: none;
    user-select: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

/* Logo affiché en bas du héro */
.hero-portrait {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    pointer-events: none;
    user-select: none;
}
.hero-portrait img {
    height: 300px;
    width: auto;
    display: block;
    filter: drop-shadow(0 4px 20px rgba(0,0,0,0.5));
}

/* Sous-titre de la section Itinéraire */
.itinerary-subtitle {
    text-align: center;
    font-size: 0.95rem;
    color: var(--muted);
    margin-bottom: 2rem;
    font-style: italic;
}
.voyage-content {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 60px 28px;
}
.voyage-content h2 {
    font-size: 1.6rem;
    font-weight: 800;
    margin: 40px 0 16px;
    color: var(--dark);
}
.voyage-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 24px 0 10px;
}
.voyage-content p { margin-bottom: 14px; font-size: 0.95rem; line-height: 1.8; }
.voyage-content ul { margin: 10px 0 14px 20px; list-style: disc; }
.voyage-content ul li { margin-bottom: 6px; font-size: 0.95rem; }
.voyage-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 32px;
    transition: color 0.2s;
}
.voyage-back:hover { color: var(--accent); }

/* ── Timeline futurs voyages ────────────────────────────────────────── */
.future-timeline { padding-left: 30px; position: relative; }
.future-timeline::before {
    content: '';
    position: absolute;
    left: 8px; top: 8px; bottom: 8px;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent), var(--border));
    border-radius: 2px;
}
.future-item { position: relative; padding: 0 0 38px 30px; }
.future-item::before {
    content: '';
    position: absolute;
    left: -28px; top: 5px;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--accent);
    border: 3px solid white;
    box-shadow: 0 0 0 2px var(--accent);
}
.future-item.dim::before { background: var(--border); box-shadow: 0 0 0 2px var(--border); }
.future-year {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 4px;
}
.future-item.dim .future-year { color: var(--muted); }
.future-item h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.future-item p { font-size: 0.88rem; color: var(--muted); }

/* ── Notre Projet split ─────────────────────────────────────────────── */
.projet-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.projet-eyebrow {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 3px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}
.projet-text h2 { font-size: 2rem; font-weight: 800; margin-bottom: 18px; }
.projet-text p { color: #555; font-size: 0.95rem; margin-bottom: 14px; line-height: 1.8; }
.projet-img img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-h);
    object-fit: cover;
    aspect-ratio: 4/3;
}

/* ── Section Réseaux Sociaux ────────────────────────────────────────── */
.social-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.social-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px 24px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--trans);
}
.social-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-h); border-color: transparent; }
.social-card-icon {
    width: 64px; height: 64px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.5rem;
    color: white;
}
.social-card-icon.yt { background: #ff0000; }
.social-card-icon.ig { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.social-card-icon.fb { background: #1877f2; }
.social-card-icon.ps { background: linear-gradient(135deg,#f07057,#f0a500); }
.social-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; }
.social-card p { font-size: 0.86rem; color: var(--muted); margin-bottom: 18px; }
.social-card a { font-family: 'Montserrat', sans-serif; font-size: 0.84rem; font-weight: 700; color: var(--primary); transition: color 0.2s; }
.social-card a:hover { color: var(--accent); }

/* ── Footer ─────────────────────────────────────────────────────────── */
footer {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding: 56px 28px 30px;
}
.footer-grid {
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 44px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 26px;
}
.footer-brand img { height: 68px; opacity: 0.92; margin-bottom: 14px; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4)); }
.footer-brand p { font-size: 0.87rem; line-height: 1.75; max-width: 240px; }
.footer-col h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem; font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.86rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-social { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-social .social-icon { width: 34px; height: 34px; font-size: 0.8rem; }
.footer-bottom {
    max-width: var(--max-w);
    margin: 0 auto;
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.45;
}

/* ── Page En Construction (WIP) ─────────────────────────────────────── */
.wip-wrapper {
    min-height: calc(100vh - var(--header-h));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    background:
        linear-gradient(rgba(20,35,50,0.56), rgba(20,35,50,0.68)),
        url('https://images.unsplash.com/photo-1533619043865-1c2e2f32ff2f?auto=format&fit=crop&w=1920&q=80')
        center/cover no-repeat fixed;
}
.wip-card {
    background: rgba(255,255,255,0.96);
    border-radius: 20px;
    padding: 52px 44px 48px;
    max-width: 520px;
    width: 100%;
    text-align: center;
    box-shadow: 0 24px 64px rgba(0,0,0,0.28);
}
.wip-icon {
    font-size: 3.6rem;
    line-height: 1;
    margin-bottom: 16px;
    animation: wip-float 3s ease-in-out infinite;
}
@keyframes wip-float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-10px); }
}
.wip-eyebrow {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
}
.wip-card h1 { font-size: 1.75rem; font-weight: 800; color: var(--dark); margin-bottom: 14px; }
.wip-card p { color: var(--muted); font-size: 0.95rem; line-height: 1.75; margin-bottom: 28px; }
.wip-socials { display: flex; justify-content: center; gap: 12px; margin-bottom: 28px; }
.wip-socials .social-icon { width: 48px; height: 48px; font-size: 1.1rem; }

/* ── Utilitaires ────────────────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-lg { margin-top: 40px; }
.hidden { display: none !important; }

/* ── Itinéraire Voyage — accordéon des étapes ───────────────────────── */
.voyage-itinerary {
    background: var(--light);
    padding: var(--section-y) 0;
}
.voyage-itinerary .section-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 28px;
}
.voyage-itinerary h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 2rem;
    text-align: center;
}

.timeline .day {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
    border-left: 5px solid var(--primary);
    transition: transform 0.2s, box-shadow 0.2s;
}
.timeline .day:hover     { transform: translateX(5px); box-shadow: var(--shadow-h); }

.day-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    cursor: pointer;
    user-select: none;
}

.toggle-icon {
    font-size: 1.6rem;
    font-weight: 300;
    color: var(--primary);
    line-height: 1;
    flex-shrink: 0;
    transition: transform 0.3s;
    margin-top: 4px;
}
.day.open .toggle-icon { transform: rotate(45deg); }

.day-detail {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.3s ease;
    padding-top: 0;
}
.day.open .day-detail {
    max-height: 3000px;
    padding-top: 1.5rem;
}

.timeline h3 {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark);
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}
.timeline p {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 0;
}

.step-badge {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
}

.day-meta {
    margin-top: 0.6rem;
    font-size: 0.85rem;
    color: var(--muted);
    font-style: italic;
}

/* Strip de photos */
.photos-strip {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.8rem;
    margin-bottom: 1.2rem;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) #f0f0f0;
}

.photo-item {
    flex: 0 0 260px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: 0 3px 8px rgba(0,0,0,0.12);
    cursor: zoom-in;
    position: relative;
}
.photo-item::after {
    content: '';
    position: absolute;
    inset: 0 0 26px 0;
    background: rgba(0,0,0,0);
    transition: background 0.2s;
    pointer-events: none;
}
.photo-item:hover::after { background: rgba(0,0,0,0.18); }
.photo-item img {
    width: 100%;
    height: 175px;
    object-fit: cover;
    display: block;
    transition: transform 0.35s;
}
.photo-item:hover img { transform: scale(1.05); }
.photo-item--video { cursor: default; }
.photo-item--video::after { display: none; }
.photo-item--video video {
    width: 100%;
    height: 175px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    display: block;
}
.photo-item--yt {
    flex: 0 0 320px;
    height: 180px;
    overflow: hidden;
    border-radius: var(--radius-sm);
    position: relative;
}
.photo-item--yt .video-embed-wrap {
    position: absolute !important;
    inset: 0 !important;
    padding-top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 0;
}
.photo-item--yt .video-embed-wrap iframe {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border: none;
}
.photo-item span {
    display: block;
    text-align: center;
    font-size: 0.78rem;
    color: #555;
    background: var(--light);
    padding: 0.35rem 0.5rem;
    font-style: italic;
}

/* Grille des blocs de détail */
.detail-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.2rem;
    border-top: 2px dashed var(--border);
    padding-top: 1.2rem;
}

.detail-block {
    grid-column: span 3; /* demi-colonne par défaut */
    background: var(--light);
    border-radius: var(--radius-sm);
    padding: 1rem 1.2rem;
}
.detail-block--full  { grid-column: span 6; }
.detail-block--half  { grid-column: span 3; }
.detail-block--third { grid-column: span 2; }
.detail-block h4 {
    color: var(--dark);
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Montserrat', sans-serif;
}
.detail-block ul {
    padding-left: 1.2rem;
    margin: 0;
    list-style: disc;
}
.detail-block ul li { font-size: 0.9rem; margin-bottom: 0.3rem; color: #444; }
.detail-block p     { font-size: 0.9rem; color: #444; line-height: 1.6; }

/* Embed vidéo responsive (ratio 16/9) */
.video-embed-wrap {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    border-radius: 8px;
    overflow: hidden;
}
.video-embed-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* Carte Google My Maps — style identique à road26 */
.map-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.mymaps-iframe-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.13);
}
.mymaps-iframe-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}
.map-link {
    text-align: center;
}
.map-link a {
    display: inline-block;
    background-color: var(--color-ocean);
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
}
.map-link a:hover {
    background-color: var(--color-forest);
}
.carte-img {
    width: 100%;
    border-radius: 10px;
    display: block;
    box-shadow: 0 4px 16px rgba(0,0,0,0.13);
}
@media (max-width: 900px) {
    .mymaps-iframe-wrapper { height: 380px; }
}
@media (max-width: 600px) {
    .mymaps-iframe-wrapper { height: 280px; }
}

/* ── Sections du voyage (Carte, Budget, Check-list, Réservations) ───── */
.voyage-sections {
    background: var(--white);
    padding: var(--section-y) 0;
}
.voyage-sections .section-container {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 28px;
}
.voyage-section {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}
.voyage-section {
    margin-bottom: 48px;
}
.voyage-section:last-child { margin-bottom: 0; }
.voyage-section > h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.2rem;
    padding-bottom: .5rem;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

/* Budget */
.voyage-budget { overflow-x: auto; }
.budget-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}
.budget-table th,
.budget-table td {
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}
.budget-table thead th {
    background: var(--light);
    font-weight: 700;
    color: var(--dark);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: .4px;
}
.budget-table tfoot th {
    background: #f0f6fc;
    font-weight: 700;
    border-top: 2px solid var(--primary);
}
.budget-table tbody tr:hover { background: var(--light); }
.budget-ecart { font-weight: 600; }
.ecart-pos { color: #00a32a; }
.ecart-neg { color: #b32d2e; }

/* Check-list */
.voyage-checklist {
    list-style: none !important;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.voyage-checklist li {
    background: var(--light);
    border-radius: 8px;
    border-left: 3px solid var(--primary);
    list-style: none !important;
    padding: 0;
    margin: 0;
}
.voyage-checklist li::before,
.voyage-checklist li::after {
    display: none !important;
    content: none !important;
}
.voyage-checklist li label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    cursor: pointer;
    font-size: 0.95rem;
    user-select: none;
    width: 100%;
    box-sizing: border-box;
}
.voyage-checklist li label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    accent-color: var(--primary);
    cursor: pointer;
    flex-shrink: 0;
}
.voyage-checklist li label span {
    transition: opacity 0.2s;
}
.voyage-checklist li label:has(input:checked) span {
    text-decoration: line-through;
    opacity: 0.45;
}
.voyage-checklist li:has(input:checked) {
    border-left-color: #00a32a;
    background: #f0faf2;
}

/* Réservations */
.voyage-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}
.voyage-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.voyage-card--confirme   { border-left: 4px solid #00a32a; }
.voyage-card--en-attente { border-left: 4px solid #f0b429; }
.voyage-card--a-faire    { border-left: 4px solid #787c82; }

.voyage-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}
.voyage-card-titre {
    font-weight: 700;
    font-size: 1rem;
    color: var(--dark);
}
.voyage-card-statut {
    font-size: 0.82rem;
    white-space: nowrap;
    color: #555;
}
.voyage-card-details {
    font-size: 0.88rem;
    color: #444;
    line-height: 1.6;
    white-space: pre-line;
}
.voyage-card-lien {
    font-size: 0.85rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}
.voyage-card-lien:hover { text-decoration: underline; }
.voyage-card-etape-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.82rem;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    background: #eef4fb;
    border: 1px solid #c3d9ef;
    border-radius: 20px;
    padding: 3px 10px;
    transition: background 0.15s;
}
.voyage-card-etape-link:hover { background: #d6e8f7; }

/* Badge 🏕️ sur l'étape */
.etape-resa-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #00622a;
    background: #e6f4ec;
    border: 1px solid #a8d5b5;
    border-radius: 20px;
    padding: 2px 10px;
    margin-top: 4px;
    text-decoration: none;
    transition: background 0.15s;
}
.etape-resa-badge:hover { background: #c8ebd4; }

@media (max-width: 600px) {
    .voyage-cards { grid-template-columns: 1fr; }
    .budget-table th,
    .budget-table td { padding: 8px 10px; font-size: 0.82rem; }
}

/* ── Lightbox photos ────────────────────────────────────────────────── */
.lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    gap: 16px;
}
.lightbox-overlay.active { display: flex; }

.lightbox-content {
    text-align: center;
    max-width: 90vw;
}
.lightbox-img {
    max-height: 80vh;
    max-width: 90vw;
    border-radius: var(--radius-sm);
    box-shadow: 0 8px 40px rgba(0,0,0,0.5);
    display: block;
    margin: 0 auto;
}
.lightbox-caption {
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    margin-top: 12px;
}
.lightbox-counter {
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
    margin-top: 4px;
}
.lightbox-close {
    position: fixed;
    top: 16px; right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 2.2rem;
    cursor: pointer;
    line-height: 1;
    opacity: 0.75;
    transition: opacity 0.2s;
    z-index: 10000;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-btn {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    font-size: 2rem;
    cursor: pointer;
    border-radius: 50%;
    width: 50px; height: 50px;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
    flex-shrink: 0;
}
.lightbox-btn:hover     { background: rgba(255,255,255,0.28); }
.lightbox-btn.hidden    { visibility: hidden; pointer-events: none; }

/* ════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════════════════ */

@media (hover: none) {
    .voyage-card:hover  { transform: none; box-shadow: var(--shadow); }
    .social-card:hover  { transform: none; }
    .btn-primary:hover,
    .btn-dark:hover,
    .btn-accent:hover   { transform: none; }
}

/* ── Tablette ≤ 900px ───────────────────────────────────────────────── */
@media (max-width: 900px) {
    :root { --section-y: 56px; }

    .burger { display: flex; }

    .nav-links {
        display: none;
        position: absolute;
        top: var(--header-h); left: 0; right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 12px 24px 20px;
        gap: 0;
        box-shadow: 0 8px 24px rgba(0,0,0,0.1);
        border-top: 1px solid var(--border);
        z-index: 999;
    }
    .nav-links.open { display: flex; }
    .nav-links li { border-bottom: 1px solid var(--border); }
    .nav-links li:last-child { border-bottom: none; }
    .nav-links a { display: block; padding: 13px 0; font-size: 1rem; }
    .nav-links a::after { display: none; }

    .projet-split   { grid-template-columns: 1fr; gap: 32px; }
    .social-cards   { grid-template-columns: 1fr 1fr; }
    .footer-grid    { grid-template-columns: 1fr 1fr; }
    .timeline .day:hover { transform: none; }
}

/* ── Mobile ≤ 600px ─────────────────────────────────────────────────── */
@media (max-width: 600px) {
    :root { --header-h: 66px; --section-y: 40px; }

    .nav-container { padding: 0 16px; }
    .nav-logo img  { height: 48px; }
    .nav-links     { top: var(--header-h); }
    .nav-social    { gap: 7px; }
    .social-icon   { width: 30px; height: 30px; font-size: 0.78rem; }

    #hero          { min-height: 100svh; }
    #hero h1       { font-size: 2rem; }
    .hero-sub      { font-size: 0.92rem; }
    .hero-btns     { flex-direction: column; align-items: center; }
    .btn-primary,
    .btn-outline   { width: 100%; max-width: 260px; text-align: center; }

    .page-hero     { height: 30vh; min-height: 180px; }
    .page-hero h1  { font-size: 1.7rem; }

    .section-header h2 { font-size: 1.6rem; }

    .voyages-grid  { grid-template-columns: 1fr; gap: 18px; }
    .social-cards  { grid-template-columns: 1fr; }
    .footer-grid   { grid-template-columns: 1fr; gap: 28px; }

    .footer-brand img { height: 56px; }
    footer         { padding: 40px 20px 24px; }

    .wip-card { padding: 40px 24px 36px; }
    .wip-card h1 { font-size: 1.45rem; }
    .wip-icon { font-size: 2.8rem; }

    .voyage-hero   { height: 55vh; min-height: 300px; }
    .voyage-meta-bar { gap: 14px; padding: 8px 18px; font-size: 0.76rem; }
    .photo-item  { flex: 0 0 200px; }
    .photo-item img { height: 145px; }
    .detail-grid { grid-template-columns: 1fr; }
    .detail-block,
    .detail-block--full,
    .detail-block--half,
    .detail-block--third { grid-column: span 1; }
    .lightbox-btn { width: 38px; height: 38px; font-size: 1.5rem; }
    .hero-portrait img { height: 190px; }
    .hero-logo-bg { width: 300px; }
}

/* ── Très petit ≤ 380px ─────────────────────────────────────────────── */
@media (max-width: 380px) {
    #hero h1       { font-size: 1.7rem; }
    .page-hero h1  { font-size: 1.4rem; }
    .section-header h2 { font-size: 1.4rem; }
}
