/* =========================================================
   Voyage Asie SE 2026 — Design System v2
   Modern travel UI · glassmorphism · crisp typography
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,700;9..144,900&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Core palette */
    --color-ink:        #111820;
    --color-ink-soft:   #3d5166;
    --color-muted:      #7f96a8;
    --color-line:       #e2e8ed;
    --color-bg:         #f8f5f0;
    --color-bg-alt:     #f0ebe3;
    --color-card:       #ffffff;

    /* Brand */
    --color-teal:       #0a4d5a;
    --color-teal-dark:  #072f38;
    --color-teal-light: #178a68;
    --color-coral:      #f05c30;
    --color-coral-dark: #d44420;
    --color-gold:       #f0b429;
    --color-sand:       #e0d0b0;

    /* Shadows — layered for depth */
    --shadow-xs: 0 1px 3px rgba(10,77,90,.07);
    --shadow-sm: 0 2px 10px rgba(10,77,90,.08), 0 1px 3px rgba(10,77,90,.06);
    --shadow-md: 0 8px 28px rgba(10,77,90,.11), 0 2px 8px rgba(10,77,90,.07);
    --shadow-lg: 0 20px 60px rgba(10,77,90,.15), 0 4px 16px rgba(10,77,90,.08);
    --shadow-glow: 0 0 0 3px rgba(10,77,90,.12);

    /* Geometry */
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    --space-unit: 8px;
    --container: 1200px;

    /* Fonts */
    --font-display: 'Fraunces', 'Georgia', serif;
    --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Transitions */
    --ease: cubic-bezier(.25,.46,.45,.94);
    --ease-spring: cubic-bezier(.34,1.56,.64,1);
}

/* ============ Reset & Base ============ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--color-ink);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img, svg, video { max-width: 100%; display: block; }
a { color: var(--color-teal); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--color-coral); }
button { font: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.12;
    color: var(--color-ink);
    letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.6rem, 5.5vw, 4.4rem); font-weight: 900; }
h2 { font-size: clamp(1.9rem, 3.5vw, 3rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); margin-bottom: .5rem; }
h4 { font-size: 1.05rem; margin-bottom: .4rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.muted { color: var(--color-muted); font-size: .9em; }
.section { padding: 7rem 0; }
.section-title {
    text-align: center;
    margin-bottom: 4.5rem;
}
.section-title .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-body);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-coral);
    background: rgba(240,92,48,.08);
    padding: .35rem .9rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

/* ============ Header ============ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(248,245,240,.88);
    backdrop-filter: saturate(200%) blur(16px);
    -webkit-backdrop-filter: saturate(200%) blur(16px);
    border-bottom: 1px solid rgba(226,232,237,.7);
    box-shadow: 0 1px 0 rgba(255,255,255,.5), var(--shadow-xs);
}
.header-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 14px 28px;
    display: flex;
    align-items: center;
    gap: 2.5rem;
}
.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    color: var(--color-ink);
    flex-shrink: 0;
    transition: opacity .2s;
}
.brand:hover { color: var(--color-ink); opacity: .75; }
.brand-icon {
    font-size: 1.7rem;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,.12));
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}
.brand-text small { font-size: .75rem; color: var(--color-muted); }

.site-nav {
    display: flex;
    align-items: center;
    gap: .2rem;
    margin-left: auto;
    flex-wrap: nowrap;
}
.site-nav a {
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: .87rem;
    font-weight: 500;
    color: var(--color-ink-soft);
    transition: all .18s var(--ease);
    letter-spacing: -0.01em;
    white-space: nowrap;
}
.nav-sep {
    width: 1px;
    height: 20px;
    background: var(--color-line);
    margin: 0 .4rem;
    flex-shrink: 0;
}
.nav-private {
    color: var(--color-teal) !important;
    font-weight: 600 !important;
}
.site-nav a:hover {
    background: rgba(10,77,90,.07);
    color: var(--color-teal);
}
.site-nav a.active {
    background: var(--color-teal);
    color: #fff;
    box-shadow: 0 2px 8px rgba(10,77,90,.25);
}

.nav-toggle {
    display: none;
    margin-left: auto;
    width: 38px;
    height: 38px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    border-radius: var(--radius-sm);
    transition: background .2s;
}
.nav-toggle:hover { background: var(--color-bg-alt); }
.nav-toggle span {
    width: 20px;
    height: 2px;
    background: var(--color-ink);
    transition: all .3s var(--ease);
    border-radius: 2px;
}

/* ============ Hero fade-in ============ */
@keyframes heroFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ============ Hero (accueil) ============ */
.hero {
    position: relative;
    min-height: 640px;
    display: flex;
    align-items: center;
    padding: 6rem 0 8rem;
    overflow: hidden;
    background:
        linear-gradient(to bottom, rgba(7,47,56,.68) 0%, rgba(7,47,56,.45) 40%, rgba(0,0,0,.62) 100%),
        url('../img/hero-home.jpg') center/cover no-repeat;
    background-color: #072f38;
    color: #fff;
    animation: heroFadeIn .9s ease forwards;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 50% at 15% 15%, rgba(10,77,90,.3) 0%, transparent 60%);
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 160px;
    background: linear-gradient(to bottom, transparent, rgba(7,47,56,.4));
    pointer-events: none;
}
.hero-inner {
    position: relative;
    z-index: 2;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 28px;
    width: 100%;
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 100px;
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .1em;
    margin-bottom: 1.8rem;
    text-transform: uppercase;
}
.hero h1 {
    color: #fff;
    font-weight: 900;
    margin-bottom: 1.2rem;
    text-shadow: 0 4px 40px rgba(0,0,0,.18);
    max-width: 820px;
}
.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.45rem);
    font-weight: 300;
    color: rgba(255,255,255,.92);
    margin-bottom: 2.5rem;
    max-width: 640px;
    font-family: var(--font-display);
    font-style: italic;
    line-height: 1.5;
}
.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    font-size: 1rem;
}
.hero-meta-item strong {
    display: block;
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.02em;
}
.hero-meta-item small {
    opacity: .8;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 500;
}

/* ============ Cards grid ============ */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.75rem;
}
.country-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    color: #fff;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.2rem;
    box-shadow: var(--shadow-md);
    transition: transform .35s var(--ease-spring), box-shadow .35s var(--ease);
}
.country-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: var(--shadow-lg);
    color: #fff;
}
.country-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,.05) 0%, rgba(0,0,0,.7) 100%);
    z-index: 1;
    transition: opacity .3s;
}
.country-card:hover::after { opacity: .85; }
.country-card > * { position: relative; z-index: 2; }
.country-card .flag {
    font-size: 3.2rem;
    margin-bottom: 1rem;
    display: inline-block;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,.2));
}
.country-card h3 {
    color: #fff;
    font-size: 1.9rem;
    margin-bottom: .3rem;
    text-shadow: 0 2px 12px rgba(0,0,0,.2);
}
.country-card p { opacity: .9; margin-bottom: 1.2rem; font-size: .95rem; }
.country-card .card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    margin-bottom: 1.2rem;
    font-size: .82rem;
}
.country-card .card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(4px);
    padding: 3px 10px;
    border-radius: 999px;
}
.country-card .card-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: rgba(255,255,255,.18);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 100px;
    font-size: .88rem;
    font-weight: 600;
    color: #fff;
    width: fit-content;
    transition: all .22s var(--ease);
    letter-spacing: .01em;
}
.country-card:hover .card-btn {
    background: #fff;
    color: var(--color-ink);
    border-color: #fff;
}

/* ============ Stats section ============ */
.stats {
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
    padding: 4rem 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}
.stat {
    text-align: center;
    padding: 1.5rem;
}
.stat-value {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-coral) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: .5rem;
    letter-spacing: -0.03em;
}
.stat-label {
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--color-ink-soft);
}

/* ============ Timeline ============ */
.timeline {
    position: relative;
    padding-left: 2rem;
    border-left: 2px dashed var(--color-sand);
}
.timeline-step {
    position: relative;
    padding-bottom: 2.5rem;
}
.timeline-step::before {
    content: '';
    position: absolute;
    left: -2.6rem;
    top: 8px;
    width: 14px;
    height: 14px;
    background: var(--color-coral);
    border: 3px solid var(--color-bg);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(240,92,48,.2);
}
.timeline-step .step-date {
    display: inline-block;
    font-size: .78rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--color-coral);
    font-weight: 700;
    margin-bottom: .3rem;
}
.timeline-step h4 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    margin-bottom: .4rem;
}
.timeline-step p { color: var(--color-ink-soft); }

/* ============ Country hero (pages intérieures) ============ */
.country-hero {
    position: relative;
    padding: 6.5rem 0 5rem;
    color: #fff;
    overflow: hidden;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    animation: heroFadeIn .9s ease forwards;
}
.country-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,.28) 0%, rgba(0,0,0,.72) 100%);
    z-index: 1;
}
/* Hero sans photo — overlay neutre */
.country-hero--gradient::before {
    background: rgba(0,0,0,.08);
}
.country-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 140px;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,.35));
    z-index: 1;
}
.country-hero > * { position: relative; z-index: 2; }
.country-hero .container { position: relative; z-index: 2; }
.country-hero .flag-large {
    font-size: 5rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 6px 20px rgba(0,0,0,.25));
    display: block;
}
.country-hero h1 {
    color: #fff;
    margin-bottom: .6rem;
    text-shadow: 0 4px 30px rgba(0,0,0,.2);
}
.country-hero .tagline {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.25rem;
    opacity: .95;
    margin-bottom: 2rem;
    max-width: 680px;
    font-weight: 300;
    line-height: 1.55;
}
.country-hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    max-width: 900px;
}
.country-hero-grid div {
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    transition: background .2s;
}
.country-hero-grid div:hover { background: rgba(255,255,255,.18); }
.country-hero-grid strong {
    display: block;
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    opacity: .7;
    margin-bottom: 3px;
}

/* ============ Day card ============ */
.days-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.day-card {
    background: var(--color-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-line);
    overflow: hidden;
    transition: box-shadow .25s var(--ease), border-color .25s;
}
.day-card:hover { box-shadow: var(--shadow-md); border-color: rgba(10,77,90,.15); }
.day-head {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.3rem 1.6rem;
    cursor: pointer;
    user-select: none;
    flex-wrap: wrap;
}
.day-n {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-teal-light) 100%);
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 4px 12px rgba(10,77,90,.22);
}
.day-n small { font-size: .52rem; font-weight: 600; letter-spacing: .1em; opacity: .8; text-transform: uppercase; margin-top: 2px; }
.day-head-text { flex: 1; min-width: 220px; }
.day-head-text .date {
    font-size: .76rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--color-muted);
    font-weight: 600;
}
.day-head-text h3 {
    font-size: 1.25rem;
    margin-bottom: .25rem;
    margin-top: 2px;
    letter-spacing: -0.01em;
}
.day-head-text p {
    color: var(--color-ink-soft);
    margin-bottom: 0;
    font-size: .92rem;
}
.intensity-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    background: var(--color-bg-alt);
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 600;
    color: var(--color-ink);
    flex-shrink: 0;
    letter-spacing: .01em;
}
.chevron {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-muted);
    transition: transform .25s var(--ease);
    background: var(--color-bg-alt);
    border-radius: 999px;
}
.day-card.open .chevron { transform: rotate(180deg); background: var(--color-teal); color: #fff; }
.day-body {
    padding: 0;
    display: none;
    border-top: 1px solid var(--color-line);
}
.day-card.open .day-body { display: block; animation: fadeIn .25s var(--ease); padding: 1.6rem; }
.schedule {
    display: flex;
    flex-direction: column;
    gap: .7rem;
    margin-bottom: 1.5rem;
}
.schedule-item {
    display: flex;
    gap: 1rem;
    padding: .6rem .8rem;
    border-radius: var(--radius-sm);
    transition: background .15s;
}
.schedule-item:hover { background: var(--color-bg-alt); }
.schedule-time {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--color-teal);
    min-width: 58px;
    padding-top: 1px;
    font-size: .95rem;
}
.schedule-text { color: var(--color-ink-soft); font-size: .95rem; }
.tip {
    padding: 1.1rem 1.3rem;
    background: linear-gradient(135deg, rgba(240,180,41,.1), rgba(240,92,48,.07));
    border-left: 3px solid var(--color-gold);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: .9rem;
    line-height: 1.6;
}
.tip strong { color: var(--color-coral-dark); }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============ Excursion cards ============ */
.excursion-card {
    background: var(--color-card);
    border-radius: var(--radius-md);
    padding: 1.6rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-line);
    transition: all .25s var(--ease);
}
.excursion-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(240,180,41,.4);
}
.excursion-card .emoji {
    font-size: 2rem;
    margin-bottom: .8rem;
}
.excursion-card h4 { margin-bottom: .5rem; font-size: 1.1rem; }
.excursion-card .excursion-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
    font-size: .77rem;
    color: var(--color-muted);
    margin-bottom: .7rem;
    padding-bottom: .7rem;
    border-bottom: 1px dashed var(--color-line);
}
.excursion-card .excursion-meta span { display: inline-flex; align-items: center; gap: 4px; }
.excursion-card .excursion-meta strong { color: var(--color-ink); }
.excursion-card p { font-size: .9rem; color: var(--color-ink-soft); }

/* ============ Budget ============ */
.budget-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.8rem;
    margin-bottom: 3.5rem;
}
.budget-top[style*="repeat(3"] {
    grid-template-columns: repeat(3, 1fr) !important;
}
.budget-card-big {
    background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-teal-dark) 100%);
    color: #fff;
    border-radius: var(--radius-xl);
    padding: 3rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.budget-card-big.alt {
    background: linear-gradient(135deg, var(--color-coral) 0%, var(--color-coral-dark) 100%);
}
.budget-card-big::before {
    content: '';
    position: absolute;
    top: -50px; right: -50px;
    width: 200px; height: 200px;
    background: rgba(255,255,255,.06);
    border-radius: 50%;
}
.budget-card-big::after {
    content: '';
    position: absolute;
    bottom: -30px; left: -30px;
    width: 140px; height: 140px;
    background: rgba(255,255,255,.04);
    border-radius: 50%;
}
.budget-card-big h3 { color: rgba(255,255,255,.8); font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: .8rem; font-family: var(--font-body); font-weight: 600; position: relative; z-index: 2; }
.budget-card-big .big-value {
    font-family: var(--font-display);
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: .6rem;
    letter-spacing: -0.03em;
    position: relative;
    z-index: 2;
}
.budget-card-big small { opacity: .82; font-size: .88rem; position: relative; z-index: 2; }

.budget-calc {
    background: var(--color-card);
    border-radius: var(--radius-xl);
    padding: 3rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 3.5rem;
    border: 1px solid var(--color-line);
}
.budget-calc h3 { margin-bottom: .4rem; }
.option-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--color-line);
    flex-wrap: wrap;
    gap: .8rem;
    transition: background .15s;
}
.option-row:hover { background: transparent; }
.option-row:last-of-type { border-bottom: none; }
.option-info { flex: 1; min-width: 200px; }
.option-info strong { display: block; font-size: .95rem; font-weight: 600; }
.option-info small { color: var(--color-muted); font-size: .82rem; }
.option-amount {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--color-teal);
    min-width: 100px;
    text-align: right;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
}

.toggle-switch {
    position: relative;
    width: 48px;
    height: 26px;
    background: var(--color-line);
    border-radius: 26px;
    cursor: pointer;
    transition: background .22s var(--ease);
    flex-shrink: 0;
}
.toggle-switch::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    transition: transform .22s var(--ease-spring);
    box-shadow: 0 2px 6px rgba(0,0,0,.18);
}
.toggle-switch.active { background: var(--color-teal); }
.toggle-switch.active::after { transform: translateX(22px); }

.budget-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 1.5rem 0 0;
    margin-top: 1.5rem;
    border-top: 2px solid var(--color-ink);
    font-family: var(--font-display);
}
.budget-total strong { font-size: 1.2rem; letter-spacing: -0.01em; }
.budget-total .total-value {
    font-size: 2.6rem;
    font-weight: 900;
    color: var(--color-coral);
    letter-spacing: -0.03em;
}

.budget-breakdown {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}
.breakdown-card {
    background: var(--color-card);
    border-radius: var(--radius-lg);
    padding: 2.2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-line);
    transition: box-shadow .25s;
}
.breakdown-card:hover { box-shadow: var(--shadow-md); }
.breakdown-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--color-bg-alt);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}
.breakdown-card h3 .total {
    margin-left: auto;
    color: var(--color-coral);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.05rem;
}

/* ============ Checklist ============ */
.checklist-intro {
    background: var(--color-card);
    border-radius: var(--radius-lg);
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}
.checklist-progress { display: flex; align-items: center; gap: 1rem; }
.progress-circle { position: relative; width: 64px; height: 64px; }
.progress-circle svg { transform: rotate(-90deg); }
.progress-circle .progress-bg { stroke: var(--color-line); }
.progress-circle .progress-fg {
    stroke: var(--color-coral);
    stroke-dasharray: 188;
    stroke-dashoffset: 188;
    transition: stroke-dashoffset .5s var(--ease);
}
.progress-circle-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--color-teal);
    font-size: .9rem;
}
.btn-reset {
    padding: 8px 18px;
    background: var(--color-bg-alt);
    color: var(--color-ink-soft);
    border-radius: var(--radius-sm);
    font-size: .85rem;
    font-weight: 500;
    transition: all .2s var(--ease);
}
.btn-reset:hover { background: var(--color-coral); color: #fff; transform: translateY(-1px); }

.checklist-group {
    background: var(--color-card);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-line);
}
.checklist-group h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--color-bg-alt);
}
.checklist-group h3::before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-coral);
    flex-shrink: 0;
}
.checklist-group[data-priority="prio-haute"] h3::before { background: #ef5350; }
.checklist-group[data-priority="prio-moyenne"] h3::before { background: var(--color-gold); }
.checklist-group[data-priority="prio-basse"] h3::before { background: var(--color-teal-light); }
.checklist-group[data-priority="formalites"] h3::before { background: #5c6bc0; }

.check-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 13px 8px;
    border-bottom: 1px solid var(--color-line);
    cursor: pointer;
    user-select: none;
    border-radius: var(--radius-sm);
    transition: background .15s;
}
.check-item:hover { background: var(--color-bg-alt); }
.check-item:last-child { border-bottom: none; }
.check-item input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border: 2px solid var(--color-line);
    border-radius: 7px;
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
    transition: all .2s var(--ease);
    margin-top: 1px;
    background: #fff;
}
.check-item input[type="checkbox"]:checked {
    background: var(--color-teal);
    border-color: var(--color-teal);
}
.check-item input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    inset: 0;
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}
.check-item-text { flex: 1; }
.check-item-text strong { display: block; font-weight: 500; color: var(--color-ink); font-size: .95rem; }
.check-item-text small { color: var(--color-muted); font-size: .8rem; }
.check-item input[type="checkbox"]:checked ~ .check-item-text strong {
    text-decoration: line-through;
    color: var(--color-muted);
}

/* ============ Info cards ============ */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}
.info-card {
    background: var(--color-card);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-line);
    transition: all .25s var(--ease);
}
.info-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
    border-color: rgba(10,77,90,.15);
}
.info-card h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}
.info-card h3 .emoji { font-size: 1.5rem; }
.info-card ul { list-style: none; padding-left: 0; }
.info-card li {
    position: relative;
    padding: 6px 0 6px 16px;
    color: var(--color-ink-soft);
    font-size: .93rem;
    line-height: 1.55;
}
.info-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 5px;
    height: 5px;
    background: var(--color-coral);
    border-radius: 50%;
}

/* ============ Flight viz ============ */
.flight-viz {
    background: var(--color-card);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    margin-bottom: 3rem;
    border: 1px solid var(--color-line);
}
.flight-route {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.flight-stop { text-align: center; min-width: 110px; }
.flight-stop .flag { font-size: 2.4rem; margin-bottom: .3rem; }
.flight-stop strong { display: block; font-family: var(--font-display); font-size: 1.05rem; letter-spacing: -0.01em; }
.flight-stop small { color: var(--color-muted); font-size: .78rem; }
.flight-line {
    flex: 1;
    min-width: 60px;
    height: 2px;
    background: linear-gradient(to right, var(--color-teal) 50%, transparent 50%);
    background-size: 12px 2px;
    position: relative;
    margin-top: 2rem;
}
.flight-line::after {
    content: '✈️';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-card);
    padding: 0 8px;
    font-size: 1rem;
}

/* ============ Countdown ============ */
.hero-countdown {
    display: inline-flex;
    align-items: center;
    gap: 0;
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: var(--radius-lg);
    padding: .9rem 1.5rem;
    margin-bottom: 2rem;
}
.countdown-blocks {
    display: flex;
    align-items: center;
}
.countdown-block {
    text-align: center;
    padding: 0 .9rem;
    border-right: 1px solid rgba(255,255,255,.15);
}
.countdown-block:last-child { border-right: none; }
.countdown-num {
    display: block;
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    letter-spacing: -0.03em;
}
.countdown-lbl {
    display: block;
    font-size: .58rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: rgba(255,255,255,.55);
    margin-top: 4px;
    font-weight: 600;
}
.countdown-title {
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .15em;
    color: rgba(255,255,255,.55);
    font-weight: 600;
    padding-right: 1.2rem;
    border-right: 1px solid rgba(255,255,255,.15);
    white-space: nowrap;
    align-self: center;
}

/* ============ Hotel photo card ============ */
.hotel-photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.75rem;
}
.hotel-photo-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--color-card);
    border: 1px solid var(--color-line);
    transition: transform .35s var(--ease-spring), box-shadow .35s var(--ease);
    display: flex;
    flex-direction: column;
}
.hotel-photo-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(10,77,90,.2);
}
.hotel-photo-img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
}
.hotel-photo-body {
    padding: 1.6rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.hotel-photo-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .7rem;
    font-weight: 700;
    padding: .28rem .85rem;
    border-radius: 999px;
    color: #fff;
    margin-bottom: .9rem;
    align-self: flex-start;
    letter-spacing: .04em;
}
.hotel-photo-card h3 { font-size: 1.15rem; margin-bottom: .25rem; letter-spacing: -.01em; }
.hotel-photo-flag { font-size: .9rem; margin-right: 5px; }
.hotel-photo-area { font-size: .83rem; color: var(--color-muted); margin-bottom: 1rem; line-height: 1.4; }
.hotel-photo-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    padding-top: .9rem;
    border-top: 1px solid var(--color-line);
    margin-top: auto;
    font-size: .78rem;
    color: var(--color-ink-soft);
}
.hotel-photo-meta span {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: var(--color-bg-alt);
    padding: 3px 9px;
    border-radius: 999px;
}
.hotel-photo-price {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-coral);
    margin-top: .8rem;
    letter-spacing: -.01em;
}

/* ============ Photo accent strip ============ */
.photo-accent {
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    display: block;
}
.photo-accent-sm {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    display: block;
}

/* ============ Footer ============ */
.site-footer {
    background: linear-gradient(135deg, var(--color-teal-dark) 0%, #0a3040 100%);
    color: rgba(255,255,255,.8);
    margin-top: 6rem;
    padding: 4.5rem 0 2.5rem;
}
.footer-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 28px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-col h4 {
    color: #fff;
    font-family: var(--font-display);
    font-size: 1rem;
    margin-bottom: 1.1rem;
    padding-bottom: .6rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-col a {
    display: block;
    padding: 4px 0;
    color: rgba(255,255,255,.6);
    font-size: .88rem;
    transition: color .18s;
}
.footer-col a:hover { color: var(--color-gold); }
.footer-col p { font-size: .86rem; line-height: 1.65; margin-bottom: .6rem; }
.footer-col .muted { color: rgba(255,255,255,.45); font-size: .78rem; }
.footer-bottom {
    max-width: var(--container);
    margin: 0 auto;
    padding: 2rem 28px 0;
    border-top: 1px solid rgba(255,255,255,.08);
    text-align: center;
    color: rgba(255,255,255,.45);
    font-family: var(--font-display);
    font-style: italic;
    font-size: .9rem;
}

/* ============ Utilities ============ */
.lead {
    font-size: 1.15rem;
    color: var(--color-ink-soft);
    line-height: 1.75;
    max-width: 720px;
    margin-bottom: 2rem;
}
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* ============ Responsive ============ */

/* ── Tablette large (≤ 1024px) ── */
@media (max-width: 1024px) {
    .budget-top[style*="repeat(3"] {
        grid-template-columns: 1fr 1fr !important;
    }
    .budget-top[style*="repeat(3"] .budget-card-big:last-child {
        grid-column: 1 / -1;
    }
    .flight-route { gap: .5rem; }
    .flight-stop { min-width: 80px; }
}

/* ── Tablette (≤ 900px) ── */
@media (max-width: 900px) {
    /* Navigation hamburger */
    .nav-toggle { display: flex; }
    .nav-sep { display: none; }
    .site-nav {
        position: fixed;
        top: 66px;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: rgba(255,255,255,.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-top: 1px solid var(--color-line);
        max-height: 0;
        overflow: hidden;
        transition: max-height .38s var(--ease);
        box-shadow: var(--shadow-md);
        z-index: 99;
    }
    .site-nav.open { max-height: 800px; padding: 1rem 0 1.5rem; }
    .site-nav a {
        padding: 14px 28px;
        border-radius: 0;
        font-size: .98rem;
        border-bottom: 1px solid var(--color-line);
        color: var(--color-ink);
    }
    .site-nav a:last-child { border-bottom: none; }
    .site-nav a.active {
        background: rgba(10,77,90,.07);
        color: var(--color-teal);
        box-shadow: none;
        border-left: 3px solid var(--color-teal);
    }
    .nav-private { border-top: 1px solid var(--color-line) !important; }

    /* Layout général */
    .header-inner { gap: 1rem; }
    .section { padding: 4rem 0; }
    .section-title { margin-bottom: 3rem; }
    .container { padding: 0 22px; }

    /* Hero accueil */
    .hero { min-height: 500px; padding: 4rem 0 5rem; }
    .hero-meta { gap: 1.5rem; flex-wrap: wrap; }
    .hero-countdown { padding: .8rem 1.2rem; }
    .countdown-block { padding: 0 .7rem; }
    .countdown-num { font-size: 2rem; }
    .countdown-title { font-size: .7rem; padding-right: 1rem; }

    /* Country hero grid → 2 colonnes */
    .country-hero-grid { grid-template-columns: 1fr 1fr; }

    /* Split → 1 colonne */
    .split { grid-template-columns: 1fr; gap: 2rem; }

    /* Cards pays */
    .card-grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
    .country-card { min-height: 340px; padding: 1.5rem; }

    /* Budget */
    .budget-top,
    .budget-top[style*="repeat(3"] { grid-template-columns: 1fr !important; }
    .budget-calc { padding: 1.8rem; }

    /* Hôtels */
    .hotel-photo-grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }

    /* Jours */
    .day-head { padding: 1rem 1.2rem; flex-wrap: wrap; gap: .8rem; }
    .day-card.open .day-body { padding: 1.2rem; }
    .intensity-chip { font-size: .72rem; padding: 4px 10px; }

    /* Stats */
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }

    /* Info grid */
    .info-grid { grid-template-columns: repeat(2, 1fr); }

    /* Budget breakdown */
    .budget-breakdown { grid-template-columns: 1fr; }

    /* Photo accent */
    .photo-accent { height: 280px; }
    .photo-accent-sm { height: 200px; }

    /* Vols viz */
    .flight-route {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }
    .flight-line {
        width: 2px;
        height: 40px;
        min-width: unset;
        background: linear-gradient(to bottom, var(--color-teal) 50%, transparent 50%);
        background-size: 2px 10px;
        margin: 0 0 0 55px;
    }
    .flight-line::after {
        top: 50%;
        left: -12px;
        transform: translateY(-50%) rotate(90deg);
    }
    .flight-stop { display: flex; align-items: center; gap: 12px; text-align: left; min-width: unset; }
    .flight-stop .flag { font-size: 1.8rem; margin-bottom: 0; }

    /* Country hero */
    .country-hero { padding: 4.5rem 0 3.5rem; }
}

/* ── Téléphone (≤ 600px) ── */
@media (max-width: 600px) {
    /* Cards pays : 1 colonne */
    .card-grid { grid-template-columns: 1fr; }
    .country-card { min-height: 300px; }

    /* Hôtels : 1 colonne */
    .hotel-photo-grid { grid-template-columns: 1fr; }

    /* Info grid : 1 colonne */
    .info-grid { grid-template-columns: 1fr; }

    /* Photos accent : stack */
    .split [style*="grid-template-columns:1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
    .photo-accent-sm { height: 220px; }
}

/* ── Petit téléphone (≤ 480px) ── */
@media (max-width: 480px) {
    .container { padding: 0 16px; }

    /* Typography */
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.65rem; }

    /* Header */
    .brand-text small { display: none; }
    .header-inner { padding: 12px 16px; }

    /* Hero */
    .hero { min-height: 420px; padding: 3rem 0 4rem; }
    .hero h1 { font-size: clamp(2rem, 8vw, 2.8rem); }
    .hero-subtitle { font-size: 1rem; }
    .hero-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 1.5rem; }
    .hero-meta-item strong { font-size: 1.7rem; }
    .hero-meta-item small { font-size: .68rem; }
    /* Countdown : titre au-dessus, 4 chiffres en ligne */
    .hero-countdown { flex-direction: column; align-items: center; gap: .6rem; padding: .9rem 1.2rem; }
    .countdown-title { border-right: none; border-bottom: 1px solid rgba(255,255,255,.15); padding: 0 0 .4rem; width: 100%; text-align: center; }
    .countdown-blocks { gap: 0; }
    .countdown-block { padding: 0 .75rem; }
    .countdown-num { font-size: 1.7rem; }

    /* Country hero */
    .country-hero { padding: 3rem 0 2.5rem; }
    .country-hero h1 { font-size: 2rem; }
    .country-hero .tagline { font-size: 1rem; }
    .country-hero-grid { grid-template-columns: 1fr 1fr; }

    /* Jour card */
    .day-n { width: 44px; height: 44px; font-size: .9rem; border-radius: 12px; }
    .day-head-text h3 { font-size: 1.1rem; }
    .day-head-text { min-width: unset; }
    .schedule-time { min-width: 46px; font-size: .88rem; }

    /* Budget */
    .budget-card-big { padding: 1.6rem; }
    .budget-card-big .big-value { font-size: 2.3rem; }
    .budget-calc { padding: 1.4rem; }
    .option-row { flex-wrap: wrap; gap: .6rem; }
    .option-amount { min-width: unset; }
    .budget-total .total-value { font-size: 2rem; }

    /* Checklist */
    .checklist-intro { flex-direction: column; text-align: center; }
    .checklist-progress { flex-direction: column; align-items: center; }

    /* Stats */
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: .8rem; }
    .stat-value { font-size: 2.5rem; }

    /* Breakdown */
    .breakdown-card { padding: 1.4rem; }

    /* Info card */
    .info-card { padding: 1.6rem; }

    /* Footer */
    .footer-inner { gap: 2rem; }
    .footer-col:last-child { display: none; }
}
