/* ============================================================
   FRANCE ÉVASION RÉGIONS — Feuille de styles principale
   Design premium "magazine de voyage"
   ============================================================ */

:root {
    /* ── Palette "Forêts & Or" ── */
    --primary:        #1b4332;
    --primary-light:  #2d6a4f;
    --accent:         #c8772e;
    --gold:           #d4a017;   /* or ambré — plus luxueux que l'ancien #e9c46a */
    --dark:           #0d1117;
    --text:           #1c1917;   /* encre nocturne */
    --text-muted:     #78716c;   /* gris chaud */
    --bg:             #faf7f2;   /* crème parchemin */
    --bg-warm:        #f0ebe1;
    --bg-card:        #ffffff;
    --border:         #e5ddd3;   /* bordure chaude */

    /* Fond secondaire (cartes, alternances) */
    --bg-secondary:   #ede8df;

    /* Legacy aliases */
    --primary-dark:   #152e24;
    --secondary:      #2d6a4f;
    --text-light:     #78716c;
    --bg-light:       #f0ebe1;

    /* Tokens UI */
    --radius:         14px;
    --radius-sm:      8px;
    --radius-xs:      4px;
    --shadow:         0 1px 4px rgba(28,25,23,.06), 0 1px 2px rgba(28,25,23,.04);
    --shadow-md:      0 4px 16px rgba(28,25,23,.10), 0 2px 6px rgba(28,25,23,.06);
    --shadow-lg:      0 12px 40px rgba(28,25,23,.14), 0 4px 12px rgba(28,25,23,.08);
    --shadow-xl:      0 24px 60px rgba(28,25,23,.20);

    /* Typo */
    --font-heading:   'Playfair Display', Georgia, serif;
    --font-body:      'Inter', system-ui, sans-serif;
    --font:           var(--font-body);

    --max-w:          1200px;

    /* Transitions */
    --transition:     .22s cubic-bezier(.4,0,.2,1);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.75;
    font-size: 1.0625rem;
    letter-spacing: .01em;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    line-height: 1.15;
    color: var(--text);
    letter-spacing: -.02em;
}

/* ============================================================
   UTILITAIRES
   ============================================================ */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
}
.card {
    background: var(--bg-card);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 36px 32px;
    margin-bottom: 32px;
    border: 1px solid var(--border);
}
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--bg-warm);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: .8rem;
    color: var(--text-muted);
    font-weight: 500;
}
.btn-primary {
    background: var(--primary);
    color: #fff;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: background var(--transition), transform var(--transition);
    font-family: var(--font-body);
}
.btn-primary:hover {
    background: var(--primary-light);
    text-decoration: none;
    color: #fff;
    transform: translateY(-1px);
}
.no-data { color: var(--text-muted); font-size: .95rem; }
.no-data .hint { font-size: .85rem; margin-top: 8px; }
.empty-state { color: var(--text-muted); text-align: center; padding: 40px; }

/* Section titles */
.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
    letter-spacing: -.025em;
}
.section-sub {
    color: var(--text-muted);
    font-size: .95rem;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* ============================================================
   EN-TÊTE
   ============================================================ */
.site-header {
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 200;
    transition: box-shadow var(--transition), background var(--transition);
}
.site-header.header-scrolled {
    box-shadow: 0 4px 24px rgba(0,0,0,.10);
    background: rgba(255,255,255,.98);
}
.site-header .container {
    display: flex;
    align-items: center;
    gap: 28px;
    height: 68px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}
.logo:hover { text-decoration: none; }
.logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 6px rgba(27,67,50,.25));
    transition: transform var(--transition);
}
.logo:hover .logo-mark { transform: rotate(-5deg) scale(1.05); }
.logo-text {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--text);
    font-weight: 400;
    letter-spacing: -.02em;
    line-height: 1.15;
}
.logo-text strong {
    color: var(--primary);
    font-weight: 700;
}
.logo-evasion {
    color: var(--gold) !important;
}
.logo-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    margin-left: 2px;
    vertical-align: super;
}

/* Nav */
.main-nav {
    display: flex;
    gap: 4px;
    margin-left: 4px;
}
.main-nav a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: .92rem;
    padding: 7px 12px;
    border-radius: var(--radius-sm);
    border-bottom: none;
    transition: color var(--transition), background var(--transition);
    text-decoration: none;
    letter-spacing: .01em;
}
.main-nav a:hover {
    color: var(--primary);
    background: rgba(27,67,50,.07);
    text-decoration: none;
}
.nav-favoris {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
}
.nav-favoris svg {
    color: #ef4444;
    flex-shrink: 0;
}

/* --- Dropdown régions dans le nav --- */
.nav-item-has-dropdown {
    position: relative;
}
.nav-regions-trigger {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--text-muted);
    font-weight: 500;
    font-size: .92rem;
    padding: 7px 12px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    cursor: pointer;
    transition: color var(--transition), background var(--transition);
    letter-spacing: .01em;
    white-space: nowrap;
    background: none;
    border: none;
}
.nav-regions-trigger:hover,
.nav-item-has-dropdown:hover .nav-regions-trigger,
.nav-item-has-dropdown.is-open .nav-regions-trigger {
    color: var(--primary);
    background: rgba(27,67,50,.07);
}
.nav-chevron-icon {
    transition: transform .2s ease;
    opacity: .6;
    flex-shrink: 0;
}
.nav-item-has-dropdown.is-open .nav-chevron-icon {
    transform: rotate(180deg);
}
.nav-regions-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    width: 640px;
    background: var(--bg-card, #fff);
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0,0,0,.14), 0 0 0 1px rgba(0,0,0,.06);
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
    transform: translateX(-50%) translateY(-6px);
    z-index: 500;
}
.nav-item-has-dropdown.is-open .nav-regions-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
.nav-regions-dropdown-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-subtle, #e5e7eb);
}
.nav-regions-dropdown-header span {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text-muted, #6b7280);
}
.nav-regions-see-all {
    font-size: .8rem;
    font-weight: 600;
    color: var(--primary, #1a6b4a);
    text-decoration: none;
}
.nav-regions-see-all:hover { text-decoration: underline; }
.nav-regions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}
.nav-region-pill {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: .83rem;
    font-weight: 500;
    color: var(--text-primary, #111827);
    text-decoration: none;
    transition: background .14s, color .14s;
    line-height: 1.3;
}
.nav-region-pill:hover {
    background: rgba(27,67,50,.08);
    color: var(--primary, #1a6b4a);
}
.nav-region-pill-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 7px;
    background: rgba(27,67,50,.08);
    color: var(--primary, #1a6b4a);
    flex-shrink: 0;
    transition: background .14s, color .14s;
}
.nav-region-pill:hover .nav-region-pill-icon {
    background: rgba(27,67,50,.15);
    color: var(--primary, #1a6b4a);
}

/* dark mode dropdown */
[data-theme="dark"] .nav-regions-dropdown {
    background: var(--bg-card);
    box-shadow: 0 8px 40px rgba(0,0,0,.4), 0 0 0 1px rgba(255,255,255,.06);
}
[data-theme="dark"] .nav-region-pill { color: var(--text-muted); }
[data-theme="dark"] .nav-region-pill:hover { background: rgba(64,145,108,.12); color: var(--primary-light); }
.nav-fav-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: #ef4444;
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    line-height: 1;
}

/* Barre de recherche header */
.search-header { margin-left: auto; }
.search-form-mini {
    display: flex;
    align-items: center;
    position: relative;
}
.search-icon-left {
    position: absolute;
    left: 14px;
    font-size: .85rem;
    pointer-events: none;
    z-index: 1;
    opacity: .5;
}
.search-form-mini input {
    border: 1.5px solid var(--border);
    border-radius: 28px;
    padding: 9px 38px 9px 38px;
    font-size: .88rem;
    width: 240px;
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition), width var(--transition);
    background: var(--bg);
    font-family: var(--font-body);
    color: var(--text);
}
.search-form-mini input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(27,67,50,.12);
    width: 280px;
    background: #fff;
}
.search-form-mini input::placeholder { color: var(--text-muted); }

/* Bouton ✕ header */
.search-clear {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: .8rem;
    color: var(--text-muted);
    padding: 4px 7px;
    border-radius: 50%;
    transition: background var(--transition), color var(--transition);
    line-height: 1;
}
.search-clear:hover { background: var(--bg-warm); color: var(--text); }

/* Dropdown autocomplete */
.search-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 340px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    z-index: 300;
    overflow: hidden;
    padding: 6px 0;
}
.search-result-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    text-decoration: none;
    color: var(--text);
    transition: background var(--transition);
    cursor: pointer;
}
.search-result-item:hover,
.search-result-item.active {
    background: rgba(27,67,50,.06);
    text-decoration: none;
}
.sr-icon { display: flex; align-items: center; flex-shrink: 0; opacity: .75; }
.sr-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1; }
.sr-nom  { font-weight: 700; font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sr-sous { color: var(--text-muted); font-size: .78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sr-dept { color: var(--text-muted); font-size: .78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sr-badge {
    font-size: .68rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 10px;
    background: color-mix(in srgb, var(--badge-color, #2d6a4f) 12%, transparent);
    color: var(--badge-color, #2d6a4f);
    border: 1px solid color-mix(in srgb, var(--badge-color, #2d6a4f) 25%, transparent);
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: .02em;
}
.search-separator { height: 1px; background: var(--border); margin: 3px 0; }
.search-no-result { padding: 12px 16px; color: var(--text-muted); font-size: .88rem; }

/* Résultat combiné "smart" dans le dropdown */
.search-result-item[href*="?ville="],
a.search-result-item.smart-item {
    background: linear-gradient(90deg, rgba(124,58,237,.06) 0%, transparent 100%);
}

/* Bandeau smart result sur la page de recherche */
.smart-result-banner {
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
    border: 1px solid #c4b5fd;
    border-radius: var(--radius);
    padding: 16px 20px;
    margin-bottom: 28px;
}
.smart-result-emoji { font-size: 1.8rem; flex-shrink: 0; }
.smart-result-text  { flex: 1; }
.smart-result-text strong { display: block; font-size: 1rem; color: #4c1d95; }
.smart-result-text span   { font-size: .82rem; color: #6d28d9; }
.smart-result-btn   { flex-shrink: 0; background: #7c3aed; border-color: #7c3aed; font-size: .9rem; padding: 8px 18px; }
.smart-result-btn:hover { background: #6d28d9; border-color: #6d28d9; }

/* ============================================================
   FIL D'ARIANE
   ============================================================ */
.breadcrumb {
    background: #fff;
    border-bottom: 1px solid var(--border);
    font-size: .83rem;
    padding: 10px 0;
    position: relative;
    z-index: 15;
}
.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    list-style: none;
}
.breadcrumb a { color: var(--primary); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { color: var(--text-muted); }
.breadcrumb li:last-child { color: var(--text-muted); font-weight: 500; }

/* ============================================================
   HERO HOMEPAGE
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background:
        linear-gradient(
            160deg,
            rgba(13,17,23,.72) 0%,
            rgba(27,67,50,.60) 55%,
            rgba(13,17,23,.78) 100%
        ),
        var(--hero-bg, linear-gradient(160deg, #1b4332 0%, #0d1117 100%));
    background-size: cover;
    background-position: center;
}

/* ── Bannière "Explorer les régions" (accueil) ─────────── */
.home-regions-banner-section {
    padding: 0 0 48px;
    background: var(--bg);
}
.home-regions-banner {
    position: relative;
    height: 420px;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-radius: 28px;
    background-image: url('/assets/hero-village.jpg');
    background-size: cover;
    background-position: center 55%;
    box-shadow: 0 24px 60px -20px rgba(15,23,42,.30), 0 8px 24px -8px rgba(15,23,42,.15);
    cursor: pointer;
}
/* Lien invisible couvrant toute la bannière */
.home-regions-banner-cover {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.home-regions-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(8,16,32,.42) 30%, rgba(8,16,32,.05) 100%);
}
.home-regions-banner-inner {
    position: relative;
    z-index: 2;
    pointer-events: none;
    width: 100%;
    padding: 0 48px;
    display: flex;
    align-items: center;
    gap: 56px;
}
.home-regions-banner-text { flex: 1 1 420px; }
.home-regions-banner-eyebrow {
    display: block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255,255,255,.60);
    margin-bottom: 12px;
}
.home-regions-banner-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
    margin: 0 0 14px;
}
.home-regions-banner-sub {
    font-size: 1rem;
    line-height: 1.65;
    color: rgba(255,255,255,.78);
    margin: 0 0 28px;
    max-width: 480px;
}
/* Bouton pill unique (bannière régions) */
.hrb-pill {
    position: relative;
    z-index: 2;
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #1c1917;
    border-radius: 999px;
    padding: 13px 26px;
    font-size: .92rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 6px 20px -4px rgba(0,0,0,.22);
    transition: background .18s, box-shadow .18s, color .18s;
    white-space: nowrap;
}
.home-regions-banner:hover .hrb-pill,
.hrb-pill:hover {
    background: #e9c46a;
    box-shadow: 0 10px 28px -6px rgba(233,196,106,.55);
    color: #1c1917;
}
.home-regions-banner-map {
    flex: 0 0 340px;
    max-width: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
}
#home-regions-svg {
    width: 100%;
    height: auto;
    overflow: visible;
    filter: drop-shadow(0 6px 24px rgba(0,0,0,.40));
}
.hrb-map-region {
    fill: rgba(255,255,255,.12);
    stroke: rgba(255,255,255,.45);
    stroke-width: 1.2;
    transition: fill 1s ease, stroke 1s ease, stroke-width .8s ease;
}
.hrb-map-region--glow {
    fill: rgba(255,255,255,.60);
    stroke: rgba(255,255,255,.95);
    stroke-width: 2;
}
@media (max-width: 960px) {
    .home-regions-banner-map { display: none; }
    .home-regions-banner-inner { padding: 0 32px; }
    .home-regions-banner { height: auto; padding: 64px 0; }
    .home-regions-banner-overlay { background: linear-gradient(135deg, rgba(8,16,32,.65) 0%, rgba(8,16,32,.25) 100%); }
}
@media (max-width: 600px) {
    .home-regions-banner { padding: 48px 0; border-radius: 20px; }
    .home-regions-banner-inner { padding: 0 24px; }
    .home-regions-banner-title { font-size: 1.7rem; line-height: 1.2; }
    .home-regions-banner-sub { font-size: .9rem; margin-bottom: 20px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .hrb-pill { font-size: .85rem; padding: 11px 20px; white-space: normal; text-align: center; }
}
.hero-content {
    position: relative;
    z-index: 2;
    padding: 100px 24px 80px;
    max-width: 860px;
    margin: 0 auto;
}
.hero-eyebrow {
    display: inline-block;
    background: rgba(233,196,106,.18);
    border: 1px solid rgba(233,196,106,.40);
    color: var(--gold);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 20px;
    margin-bottom: 24px;
    backdrop-filter: blur(6px);
}
.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.05;
    margin-bottom: 20px;
    letter-spacing: -.03em;
    text-shadow: 0 2px 32px rgba(0,0,0,.35);
}
.hero h1 em {
    font-style: italic;
    color: var(--gold);
    font-weight: 600;
}
.hero-sub {
    font-size: clamp(.95rem, 2vw, 1.15rem);
    color: rgba(255,255,255,.82);
    margin-bottom: 44px;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    font-weight: 300;
}

/* Formulaire de recherche hero */
.search-form-hero {
    max-width: 720px;
    margin: 0 auto 16px;
    animation: heroEntrance .7s .7s both;
}
.search-hero-inner {
    display: flex;
    align-items: stretch;
    background: rgba(255,255,255,.97);
    border-radius: 50px;
    box-shadow: 0 8px 40px rgba(0,0,0,.40);
    border: 1px solid rgba(255,255,255,.22);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    height: 58px;
}

/* Partie lieu */
.search-hero-loc {
    flex: 1 1 0;
    position: relative;
    display: flex;
    align-items: center;
    min-width: 0;
}
.search-hero-pin {
    position: absolute;
    left: 18px;
    color: var(--text-muted);
    pointer-events: none;
    flex-shrink: 0;
}
.search-hero-loc input {
    width: 100%;
    padding: 0 42px 0 44px;
    border: none;
    outline: none;
    font-size: .97rem;
    font-family: var(--font-body);
    color: var(--text);
    background: transparent;
    height: 100%;
}
.search-hero-loc input::placeholder { color: var(--text-muted); }
.search-clear-hero {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: .82rem;
    color: var(--text-muted);
    padding: 4px 7px;
    border-radius: 50%;
    transition: background var(--transition), color var(--transition);
    line-height: 1;
}
.search-clear-hero:hover { background: var(--bg-warm); color: var(--text); }

/* Séparateur vertical */
.search-hero-sep {
    width: 1px;
    background: #e5e7eb;
    margin: 12px 0;
    flex-shrink: 0;
}

/* Partie catégorie */
.search-hero-cat {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 14px 0 14px;
    flex-shrink: 0;
    min-width: 0;
    max-width: 220px;
}
.search-hero-grid {
    color: var(--text-muted);
    pointer-events: none;
    flex-shrink: 0;
}
.search-hero-cat select {
    border: none;
    outline: none;
    background: transparent;
    font-size: .9rem;
    font-family: var(--font-body);
    color: var(--text);
    padding: 0 22px 0 8px;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    height: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 160px;
}
.search-hero-chevron {
    position: absolute;
    right: 14px;
    color: var(--text-muted);
    pointer-events: none;
}

/* Cat picker custom dropdown */
.cat-picker { cursor: pointer; }
.cat-picker-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: .9rem;
    color: var(--text);
    padding: 0 28px 0 0;
    height: 100%;
    white-space: nowrap;
    width: 100%;
}
.cat-picker-btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--text-muted);
}
.cat-picker-icon-svg {
    width: 26px;
    height: 26px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--poi-color, var(--primary)) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--poi-color, var(--primary)) 25%, transparent);
    color: var(--poi-color, var(--primary));
    flex-shrink: 0;
}
.cat-picker-icon-svg svg { width: 13px; height: 13px; }
.cat-picker-label { overflow: hidden; text-overflow: ellipsis; max-width: 130px; }
.cat-picker-chevron { position: absolute; right: 14px; color: var(--text-muted); pointer-events: none; transition: transform .2s; }
.cat-picker[aria-expanded="true"] .cat-picker-chevron,
.cat-picker.is-open .cat-picker-chevron { transform: rotate(180deg); }
.cat-picker-dropdown {
    position: fixed;
    min-width: 220px;
    max-height: 70vh;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(0,0,0,.12);
    padding: 6px;
    list-style: none;
    margin: 0;
    z-index: 9999;
}
.cat-picker-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 9px;
    cursor: pointer;
    font-size: .88rem;
    color: var(--text);
    transition: background .15s;
}
.cat-picker-item:hover { background: #f5f5f0; }
.cat-picker-item--active { background: rgba(27,67,50,.07); font-weight: 600; color: var(--primary); }
.cat-picker-item-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--poi-color, var(--primary)) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--poi-color, var(--primary)) 25%, transparent);
    color: var(--poi-color, var(--primary));
    flex-shrink: 0;
}
.cat-picker-item-icon svg { width: 13px; height: 13px; }
.cat-picker-item-icon--all { background: #f3f4f6; border-color: #e5e7eb; color: #6b7280; }

/* Bouton */
.btn-hero-search {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 0 26px;
    border-radius: 0 50px 50px 0;
    font-size: .93rem;
    font-weight: 700;
    cursor: pointer;
    transition: background var(--transition);
    white-space: nowrap;
    font-family: var(--font-body);
    letter-spacing: .02em;
    display: flex;
    align-items: center;
    gap: 7px;
    flex-shrink: 0;
    height: 100%;
}
.btn-hero-search:hover { background: #bf6f2a; }

.hero-hint {
    color: rgba(255,255,255,.72);
    font-size: .8rem;
    margin-top: 8px;
}

/* Scroll indicator */
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin: 40px auto 0;
    width: fit-content;
    color: rgba(255,255,255,.5);
    font-size: .7rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    animation: fadeInScroll 1s 1.2s both;
    /* Reset bouton */
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font-family: var(--font-body);
    transition: color var(--transition);
}
.scroll-indicator:hover { color: rgba(255,255,255,.85); }
.scroll-arrow {
    width: 32px;
    height: 32px;
    border: 1.5px solid rgba(255,255,255,.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 2s infinite;
    transition: border-color var(--transition);
}
.scroll-indicator:hover .scroll-arrow { border-color: rgba(255,255,255,.7); }
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(6px); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateX(-50%) translateY(12px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
@keyframes fadeInScroll {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Dropdown hero */
.search-dropdown-hero {
    width: 100%;
    top: calc(100% + 8px);
    left: 0;
    border-radius: var(--radius);
}

/* ============================================================
   STATS BANNER (accueil) — redesign large
   ============================================================ */
.stats-banner {
    background: #1c1917;   /* encre nocturne — spec éditorial */
    padding: 36px 0;
    position: relative;
    z-index: 90;
    overflow: hidden;
    border-bottom: 1px solid rgba(255,255,255,.06);
    box-shadow: 0 6px 32px rgba(0,0,0,.45);
}
.stats-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 300% at 15% 50%, rgba(27,67,50,.45) 0%, transparent 60%),
        radial-gradient(ellipse 60% 300% at 85% 50%, rgba(212,129,58,.15) 0%, transparent 60%),
        radial-gradient(ellipse 40% 200% at 50% 50%, rgba(27,67,50,.2) 0%, transparent 70%);
    pointer-events: none;
}
.stats-banner::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(233,196,106,.3), transparent);
}
.stats-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    position: relative;
    align-items: center;
}
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 40px;
    border-right: 1px solid rgba(255,255,255,.15);  /* séparateur renforcé */
    position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-num {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    letter-spacing: -.02em;
}
.stat-label {
    font-size: .72rem;
    color: rgba(255,255,255,.72);
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* ============================================================
   CARTE SVG FRANCE (accueil)
   ============================================================ */
.france-svg-section {
    padding: 80px 0 60px;
    background: var(--bg);
    scroll-margin-top: 85px;
}
/* Titre centré au-dessus du layout */
.fsv-top {
    text-align: center;
    margin-bottom: 32px;
}
/* Layout 2 colonnes : carte gauche, liste droite */
.fsv-layout {
    display: grid;
    grid-template-columns: 1fr 240px;
    gap: 28px;
    align-items: start;
}
.fsv-map-col { min-width: 0; }
.fsv-legend-col {
    position: sticky;
    top: 100px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 18px;
    box-shadow: var(--shadow-md);
}
.fsv-legend-title {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 12px;
}
.fsv-legend-v {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.fsv-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    padding: 5px 8px;
    border-radius: 8px;
    border: 1px solid transparent;
    transition: background var(--transition), border-color var(--transition);
    cursor: pointer;
}
.fsv-legend-item:hover {
    background: var(--bg-warm);
    border-color: var(--border);
    opacity: 1;
}
.fsv-legend-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}
.fsv-legend-label {
    font-size: .82rem;
    color: var(--text);
    white-space: nowrap;
    font-weight: 500;
}
/* Ancienne légende horizontale (conservée pour compatibilité) */
.fsv-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    max-width: 520px;
}
/* Responsive : empiler sous 900px */
@media (max-width: 900px) {
    .fsv-layout {
        grid-template-columns: 1fr;
    }
    .fsv-legend-col {
        position: static;
        display: flex;
        flex-wrap: wrap;
        gap: 4px 0;
        padding: 14px 12px;
    }
    .fsv-legend-title { width: 100%; }
    .fsv-legend-v {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 2px 4px;
    }
    .fsv-legend-item { padding: 3px 8px 3px 6px; }
    .fsv-legend-label { font-size: .75rem; }
}

/* SVG map wrapper */
.fsv-wrap {
    position: relative;
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
}
.fsv-svg {
    display: block;
    width: 100%;
    height: auto;
}
.fsv-path {
    fill-opacity: 0.72;
    transition: fill-opacity .15s, filter .15s;
    cursor: pointer;
}
.fsv-dept:hover .fsv-path {
    fill-opacity: 1;
    filter: url(#fsv-hover-glow);
}

/* Tooltip */
.fsv-tooltip {
    position: absolute;
    z-index: 10;
    pointer-events: none;
    background: rgba(15,20,30,.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 10px;
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 160px;
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
/* display:flex ne doit pas écraser l'attribut hidden */
.fsv-tooltip[hidden] { display: none !important; }
.fsv-tip-code {
    font-size: .7rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: .08em;
}
.fsv-tip-nom {
    font-family: var(--font-heading);
    font-size: .98rem;
    color: #fff;
}
.fsv-tip-region {
    font-size: .75rem;
    color: rgba(255,255,255,.72);
}
.fsv-tip-cta {
    font-size: .72rem;
    color: var(--gold);
    margin-top: 4px;
    font-style: normal;
}

/* Surlignage région */
.fsv-dept.fsv-dimmed .fsv-path {
    fill-opacity: 0.12;
    transition: fill-opacity .2s;
}
.fsv-dept.fsv-highlighted .fsv-path {
    fill-opacity: 1;
    filter: url(#fsv-hover-glow);
    transition: fill-opacity .2s;
}

/* Légende cliquable */
.fsv-legend-item {
    cursor: pointer;
    padding: 3px 8px 3px 4px;
    border-radius: 20px;
    border: 1px solid transparent;
    transition: border-color .15s, background .15s;
}
.fsv-legend-item:hover {
    border-color: var(--border);
    background: var(--bg-card);
    opacity: 1;
}
.fsv-legend-label {
    font-size: .75rem;
    color: var(--text-muted);
    white-space: nowrap;
    transition: color .15s;
}
.fsv-legend-item:hover .fsv-legend-label { color: var(--text); }

/* ============================================================
   SECTION RÉGIONS
   ============================================================ */
.regions-section {
    padding: 80px 0;
    background: var(--bg);
    scroll-margin-top: 185px;
}
.regions-section .section-title { margin-bottom: 10px; }
.regions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 28px;
    margin-top: 40px;
}

/* ── PhotoStack Region Cards (composant/region.txt → vanilla CSS) ── */
.region-photo-card {
    position: relative;
    display: block;
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 24px 24px 24px;
    height: 288px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    cursor: pointer;
    text-decoration: none;
    color: var(--text);
    transition: transform .45s cubic-bezier(.34,1.56,.64,1),
                box-shadow .45s cubic-bezier(.4,0,.2,1);
    will-change: transform;
}
.region-photo-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: var(--shadow-xl);
    text-decoration: none;
    color: var(--text);
}
[data-theme="dark"] .region-photo-card {
    background: var(--bg-card);
    border-color: var(--border);
    color: var(--text);
}
[data-theme="dark"] .region-photo-card:hover { color: var(--text); }

/* Texte haut gauche */
.rpc-text { position: relative; z-index: 5; }
.rpc-tag {
    font-size: .63rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--text-muted);
    display: block;
    margin-bottom: 8px;
}
.rpc-title {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -.025em;
    line-height: 1.15;
    margin-bottom: 6px;
}
.rpc-sub {
    font-size: .8rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* Pile de photos — bas droite */
.rpc-stack {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 68%;
    height: 78%;
    pointer-events: none;
    z-index: 0; /* stacking context isolé sous rpc-text */
}
.rpc-img {
    position: absolute;
    bottom: 10px;
    right: 14px;
    width: 128px;
    height: 158px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    border: 3px solid var(--bg-card);
    box-shadow: 0 8px 24px rgba(0,0,0,.22);
    transform-origin: bottom center;
    transition: transform .5s cubic-bezier(.34,1.56,.64,1),
                box-shadow .45s cubic-bezier(.4,0,.2,1);
    will-change: transform;
}
[data-theme="dark"] .rpc-img { border-color: var(--bg-card); }
.rpc-img--2 {   /* dos */
    transform: rotate(-7deg) translate(-20px, 10px);
    z-index: 0;
    filter: brightness(.58);
}
.rpc-img--1 {   /* milieu */
    transform: rotate(-2deg) translate(-10px, 5px);
    z-index: 1;
    filter: brightness(.8);
}
.rpc-img--0 {   /* devant */
    transform: rotate(3deg);
    z-index: 2;
}

/* Survol : éventail */
.region-photo-card:hover .rpc-img--2 {
    transform: rotate(-16deg) translate(-34px, 0);
    box-shadow: 0 14px 36px rgba(0,0,0,.30);
}
.region-photo-card:hover .rpc-img--1 {
    transform: rotate(-5deg) translate(-17px, -14px);
    box-shadow: 0 12px 30px rgba(0,0,0,.24);
}
.region-photo-card:hover .rpc-img--0 {
    transform: rotate(8deg) translateY(-16px);
    box-shadow: 0 16px 40px rgba(0,0,0,.28);
}

/* "Explorer" — apparaît au survol */
.rpc-explore {
    position: absolute;
    bottom: 18px;
    left: 24px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--primary);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .3s, transform .3s;
}
.region-photo-card:hover .rpc-explore {
    opacity: 1;
    transform: translateY(0);
}
[data-theme="dark"] .rpc-explore { color: var(--primary-light); }

/* ============================================================
   GRILLE ÉDITORIALE RÉGIONS — style magazine asymétrique
   ============================================================ */
.regions-editorial {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 44px;
}

/* Groupe : grande carte (2/3) + petites (1/3) */
.reg-group {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 440px;
    gap: 16px;
}
.reg-group--reverse {
    grid-template-columns: 1fr 2fr;
}
/* Sur reverse : les petites passent en premier */
.reg-group--reverse .reg-smalls { order: -1; }

.reg-smalls {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 16px;
}

/* Carte régionale */
.reg-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: var(--radius);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    text-decoration: none;
    color: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,.20);
    transition: transform .4s cubic-bezier(.4,0,.2,1),
                box-shadow .4s cubic-bezier(.4,0,.2,1);
    cursor: pointer;
}
.reg-card:hover {
    transform: scale(1.025);
    box-shadow: 0 16px 48px rgba(0,0,0,.38);
    text-decoration: none;
    color: #fff;
}

/* Gradient sombre */
.reg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(8,14,10,.92) 0%,
        rgba(8,14,10,.38) 50%,
        rgba(8,14,10,.05) 100%
    );
    transition: background .35s;
}
.reg-card:hover .reg-overlay {
    background: linear-gradient(
        to top,
        rgba(8,14,10,.96) 0%,
        rgba(8,14,10,.55) 60%,
        rgba(8,14,10,.12) 100%
    );
}

/* Étiquette — haut gauche */
.reg-tag {
    position: absolute;
    top: 16px;
    left: 18px;
    z-index: 3;
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(0,0,0,.28);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(212,160,23,.25);
    padding: 3px 10px 3px;
    border-radius: 4px;
    line-height: 1.6;
}

/* Corps — bas de carte */
.reg-body {
    position: relative;
    z-index: 2;
    padding: 0 22px 20px;
}

.reg-title {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -.02em;
    text-shadow: 0 2px 20px rgba(0,0,0,.55);
    margin-bottom: 6px;
}
.reg-card--large .reg-title {
    font-size: 2.1rem;
}

.reg-dept {
    font-size: .78rem;
    color: rgba(255,255,255,.72);
    font-weight: 400;
    letter-spacing: .02em;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .3s, transform .3s;
}
.reg-card:hover .reg-dept {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
    .reg-group { grid-template-rows: 360px; }
    .reg-title { font-size: 1.3rem; }
    .reg-card--large .reg-title { font-size: 1.7rem; }
}
@media (max-width: 640px) {
    .reg-group,
    .reg-group--reverse {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .reg-group--reverse .reg-smalls { order: 0; }
    .reg-card--large { height: 280px; }
    .reg-smalls { grid-template-rows: 160px 160px; }
    .reg-card--small { height: auto; }
}

/* ============================================================
   VILLES POPULAIRES — redesign moderne
   ============================================================ */
.popular-section {
    background: var(--bg);
    padding: 72px 0;
    border-top: 1px solid var(--border);
}
.popular-section .section-title { margin-bottom: 8px; }
.popular-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
    margin-top: 36px;
}
.popular-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 18px;
    text-decoration: none;
    color: var(--text);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.popular-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: var(--primary);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform var(--transition);
    border-radius: 0 2px 2px 0;
}
.popular-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    text-decoration: none;
    color: var(--text);
}
.popular-card:hover::before { transform: scaleY(1); }
.popular-card-pin {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(27,67,50,.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary);
    transition: background var(--transition), transform var(--transition);
}
.popular-card-pin svg { width: 16px; height: 16px; }
.popular-card:hover .popular-card-pin {
    background: rgba(27,67,50,.15);
    transform: scale(1.1);
}
.popular-card-info { min-width: 0; flex: 1; }
.popular-name {
    font-weight: 700;
    font-size: .97rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text);
}
.popular-dept {
    font-size: .76rem;
    color: var(--text-muted);
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.popular-card-arrow {
    color: var(--text-muted);
    font-size: 1rem;
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity var(--transition), transform var(--transition);
    flex-shrink: 0;
}
.popular-card:hover .popular-card-arrow {
    opacity: 1;
    transform: translateX(0);
}

[data-theme="dark"] .popular-section { background: var(--bg); }
[data-theme="dark"] .popular-card { background: var(--bg-card); border-color: var(--border); }
[data-theme="dark"] .popular-card:hover { border-color: var(--primary); }
[data-theme="dark"] .popular-card-pin { background: rgba(64,145,108,.1); color: var(--primary-light); }
[data-theme="dark"] .popular-card:hover .popular-card-pin { background: rgba(64,145,108,.2); }

@media (max-width: 640px) {
    .popular-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
}

/* ============================================================
   SECTION FEATURES / POURQUOI NOUS CHOISIR
   ============================================================ */
/* ── Section features premium ───────────────────────────────── */
.feat-premium-section {
    padding: 90px 0 100px;
    background: linear-gradient(160deg, #0d2018 0%, #1b4332 45%, #102a1e 100%);
    position: relative;
    overflow: hidden;
}
.feat-premium-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 70% 40%, rgba(233,196,106,.06) 0%, transparent 70%);
    pointer-events: none;
}
.feat-premium-intro {
    text-align: center;
    margin-bottom: 56px;
}
.feat-eyebrow {
    display: inline-block;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #e9c46a;
    margin-bottom: 14px;
}
.feat-premium-intro h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.2;
}
/* Grille 3 colonnes */
.feat-premium-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
/* Card */
.feat-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 28px 26px 24px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(233,196,106,.14);
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition: transform .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.feat-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, #e9c46a 0%, rgba(233,196,106,.2) 100%);
    border-radius: 16px 16px 0 0;
    opacity: .7;
    transition: opacity .25s;
}
.feat-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,.075);
    border-color: rgba(233,196,106,.35);
    box-shadow: 0 24px 48px rgba(0,0,0,.45), 0 0 0 1px rgba(233,196,106,.1);
}
.feat-card:hover::after { opacity: 1; }
/* Top row: icon + tag */
.feat-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}
.feat-icon-wrap {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(233,196,106,.1);
    border: 1px solid rgba(233,196,106,.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e9c46a;
    transition: background .25s, transform .25s;
    flex-shrink: 0;
}
.feat-card:hover .feat-icon-wrap {
    background: rgba(233,196,106,.18);
    transform: scale(1.06) rotate(-4deg);
}
.feat-tag {
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255,255,255,.35);
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 99px;
    padding: 3px 10px;
}
/* Stat number */
.feat-stat-num {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: #e9c46a;
    line-height: 1;
    letter-spacing: -.02em;
    margin: 4px 0 -4px;
}
/* Texts */
.feat-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
    line-height: 1.3;
}
.feat-desc {
    font-size: .87rem;
    color: rgba(255,255,255,.52);
    line-height: 1.65;
    margin: 0;
    flex: 1;
}
.feat-arrow {
    font-size: .8rem;
    font-weight: 600;
    color: #e9c46a;
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity .25s, transform .25s;
    margin-top: 4px;
    display: block;
}
.feat-card:hover .feat-arrow { opacity: 1; transform: translateX(0); }
/* Responsive */
@media (max-width: 960px) { .feat-premium-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .feat-premium-grid { grid-template-columns: 1fr; gap: 14px; }
    .feat-premium-section { padding: 60px 0 70px; }
    .feat-premium-intro { margin-bottom: 36px; }
}

/* ============================================================
   PAGE RÉGION
   ============================================================ */
.page-header {
    padding: 40px 0 24px;
}
.page-header h1 {
    font-family: var(--font-heading);
    font-size: 2rem;
}
.page-sub { color: var(--text-muted); margin-top: 8px; }
.page-region { padding-bottom: 60px; }

/* Grandes villes */
.grandes-villes-section h2 { margin-bottom: 16px; }
.grandes-villes-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.grande-ville-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    background: var(--bg);
    border: 1px solid var(--border);
    text-decoration: none;
    transition: border-color .18s, background .18s, transform .18s;
}
.grande-ville-pill:hover {
    border-color: var(--primary);
    background: color-mix(in srgb, var(--primary) 6%, var(--bg));
    transform: translateY(-2px);
}
.grande-ville-nom { font-weight: 600; font-size: .93rem; color: var(--text); }
.grande-ville-pop { font-size: .73rem; color: var(--text-muted); }
@media (max-width: 480px) { .grande-ville-pill { padding: 8px 14px; } }

.depts-grid { display: flex; flex-direction: column; gap: 10px; }
.dept-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    text-decoration: none;
    color: var(--text);
    transition: border-color var(--transition), background var(--transition), transform var(--transition);
}
.dept-card:hover {
    border-color: var(--primary);
    background: rgba(27,67,50,.04);
    text-decoration: none;
    transform: translateX(4px);
}
.dept-num {
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
    border-radius: var(--radius-sm);
    min-width: 52px;
    text-align: center;
    padding: 7px 8px;
    font-family: var(--font-heading);
}
.dept-info { flex: 1; }
.dept-info h2 { font-size: 1.05rem; font-weight: 600; margin-bottom: 2px; font-family: var(--font-body); }
.dept-info p { font-size: .85rem; color: var(--text-muted); }
.dept-arrow { color: var(--text-muted); font-size: 1.3rem; }

/* ============================================================
   PAGE DÉPARTEMENT
   ============================================================ */
.page-departement { padding-bottom: 60px; }

/* Section carte département */
.dept-map-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 28px;
    box-shadow: var(--shadow-sm);
}
.dept-map-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 24px;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
}
.dept-map-header-left {
    display: flex;
    align-items: center;
    gap: 14px;
}
.dept-map-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    font-size: .9rem;
    flex-shrink: 0;
}
.dept-map-header h2 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    margin: 0 0 2px;
    color: var(--text);
    border: none !important;
    padding: 0 !important;
}
.dept-map-header p {
    font-size: .83rem;
    color: var(--text-muted);
    margin: 0;
}
.dept-map-osm-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .8rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition);
    white-space: nowrap;
}
.dept-map-osm-link:hover { color: var(--primary); }
.dept-map-container {
    height: 420px;
    width: 100%;
    background: #f0ede8;
}
@media (max-width: 600px) { .dept-map-container { height: 280px; } }

/* ============================================================
   PAGE LISTE DÉPARTEMENTS
   ============================================================ */
.page-depts-list { padding-bottom: 60px; }

.dept-region-group { margin-bottom: 48px; }

.dept-region-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--text);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
}
.dept-region-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
    transition: color var(--transition);
}
.dept-region-link:hover { color: var(--primary); text-decoration: none; }
.dept-region-count {
    font-family: var(--font-body);
    font-size: .78rem;
    font-weight: 500;
    color: var(--text-muted);
    background: var(--bg-warm);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2px 10px;
}

.depts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}
.dept-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px 10px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    text-align: center;
    min-height: 110px;
    justify-content: center;
}
.dept-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
    text-decoration: none;
    color: var(--text);
}
.dept-card-flag {
    width: 48px;
    height: auto;
    max-height: 56px;
    object-fit: contain;
    filter: drop-shadow(0 1px 3px rgba(0,0,0,.15));
}
.dept-card-code-placeholder {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--gold);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}
.dept-card-code {
    font-size: .72rem;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--bg-warm);
    border-radius: 4px;
    padding: 1px 6px;
}
.dept-card-nom {
    font-size: .82rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.3;
}
.page-departement .card h2 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--border);
}
.page-departement section > h2 {
    font-size: 1.3rem;
    margin-bottom: 20px;
}
.dept-badge {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius-sm);
    padding: 2px 10px;
    font-size: .85rem;
    font-weight: 700;
    margin-right: 8px;
    vertical-align: middle;
}

.alpha-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 20px 0 28px;
}
.alpha-btn {
    padding: 6px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: .83rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: all var(--transition);
    font-family: var(--font-body);
}
.alpha-btn:hover, .alpha-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    text-decoration: none;
}

.communes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 8px;
}
.commune-item {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    text-decoration: none;
    color: var(--text);
    transition: border-color var(--transition), background var(--transition);
    font-size: .9rem;
}
.commune-item:hover {
    border-color: var(--primary);
    background: rgba(27,67,50,.04);
    text-decoration: none;
}
.commune-name { font-weight: 600; }
.commune-cp   { color: var(--text-muted); font-size: .8rem; margin-top: 2px; }
.commune-pop  { color: var(--text-muted); font-size: .75rem; }

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 40px 0 20px;
}
.page-btn {
    background: var(--primary);
    color: #fff;
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    text-decoration: none;
    transition: background var(--transition);
}
.page-btn:hover { background: var(--primary-light); text-decoration: none; color: #fff; }
.page-info { color: var(--text-muted); font-size: .9rem; }

/* ============================================================
   PAGE COMMUNE
   ============================================================ */
.page-commune { padding-bottom: 60px; }

.commune-header {
    padding: 40px 0 20px;
}
.commune-header h1 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
}
.commune-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

/* Chips modernes pour les infos communes */
.meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px 5px 10px;
    border-radius: 20px;
    font-size: .8rem;
    font-weight: 500;
    letter-spacing: .01em;
    white-space: nowrap;
    backdrop-filter: blur(8px);
    background: rgba(255,255,255,.18);
    border: 1px solid rgba(255,255,255,.3);
    color: #fff;
}
.meta-chip svg { flex-shrink: 0; opacity: .85; }
.meta-chip--muted {
    background: rgba(255,255,255,.10);
    border-color: rgba(255,255,255,.18);
    color: rgba(255,255,255,.7);
}
/* Version sans photo (fond clair) */
.commune-header .meta-chip {
    background: var(--bg-warm);
    border-color: var(--border);
    color: var(--text-muted);
}
.commune-header .meta-chip svg { color: var(--primary); }

.commune-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}
@media (max-width: 768px) {
    .commune-content-grid { grid-template-columns: 1fr; }
}

/* Météo */
.weather-card h2, .markets-card h2 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border);
}
.weather-current {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.weather-main {
    display: flex;
    align-items: center;
    gap: 12px;
}
.weather-temp {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    display: block;
}
.weather-desc {
    font-size: .93rem;
    color: var(--text-muted);
    text-transform: capitalize;
}
.weather-details {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-left: auto;
}
.weather-detail {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--bg);
    border-radius: var(--radius-sm);
    padding: 8px 14px;
    min-width: 70px;
    text-align: center;
    border: 1px solid var(--border);
}
.wd-label { font-size: .7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; }
.wd-val   { font-size: .98rem; font-weight: 600; margin-top: 2px; }

.weather-forecast h3 { font-size: .95rem; margin-bottom: 12px; color: var(--text-muted); }
.forecast-row {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 6px;
}
.forecast-day {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: var(--bg);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    padding: 12px 14px;
    min-width: 90px;
    text-align: center;
    flex-shrink: 0;
}
.f-date { font-size: .73rem; font-weight: 600; color: var(--text-muted); }
.f-icon { font-size: 1.6rem; }
.f-desc { font-size: .7rem; color: var(--text-muted); text-transform: capitalize; }
.f-temps { display: flex; gap: 6px; font-size: .88rem; font-weight: 600; }
.f-max { color: #dc2626; }
.f-min { color: var(--primary); }
.weather-source { font-size: .73rem; color: var(--text-muted); margin-top: 16px; text-align: right; }

/* Marchés */
.markets-count { color: var(--text-muted); font-size: .9rem; margin-bottom: 16px; }
.market-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-bottom: 14px;
    background: var(--bg);
}
.market-item:last-of-type { margin-bottom: 0; }
.market-name { font-size: 1rem; font-weight: 600; margin-bottom: 10px; }
.market-schedule { margin-bottom: 8px; }
.schedule-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    font-size: .9rem;
    margin-bottom: 4px;
}
.schedule-days  { font-weight: 600; color: var(--primary); }
.schedule-hours { color: var(--text-muted); }
.market-desc    { font-size: .85rem; color: var(--text-muted); margin-top: 8px; line-height: 1.5; }
.markets-source { font-size: .73rem; color: var(--text-muted); margin-top: 16px; text-align: right; }

/* Communes voisines */
.communes-voisines h2 { font-family: var(--font-heading); font-size: 1.15rem; margin-bottom: 16px; }
.voisines-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; margin-bottom: 16px; }
.voisine-card { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; background: var(--bg-secondary); border: 1px solid var(--border); border-radius: 10px; text-decoration: none; color: var(--text); transition: border-color .18s, transform .18s, box-shadow .18s; }
.voisine-card:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: 0 4px 14px rgba(45,106,79,.13); color: var(--primary); }
.voisine-nom { font-weight: 600; font-size: .93rem; line-height: 1.3; }
.voisine-cp { font-size: .78rem; color: var(--text-muted); }
.voisine-pop { font-size: .78rem; color: var(--text-muted); }
.btn-all-communes { display: inline-block; margin-top: 4px; font-size: .88rem; color: var(--primary); text-decoration: none; font-weight: 500; }
.btn-all-communes:hover { text-decoration: underline; }

/* Infos pratiques */
.commune-infos h2 { font-family: var(--font-heading); font-size: 1.15rem; margin-bottom: 16px; }
.info-list { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; font-size: .93rem; }
.info-list dt { font-weight: 600; color: var(--text-muted); white-space: nowrap; }
.info-list dd { color: var(--text); }

/* ============================================================
   STATS POI (région / département) — icônes SVG modernes
   ============================================================ */
.region-stats-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--border);
    color: var(--text);
}
.poi-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 14px;
}
.poi-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--bg);
    border-radius: var(--radius);
    padding: 22px 14px 18px;
    text-align: center;
    border: 1px solid var(--border);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    gap: 6px;
}
.poi-stat:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--poi-color, var(--primary));
}

/* Icône POI moderne */
.poi-stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--poi-color, var(--primary)) 12%, transparent);
    border: 1.5px solid color-mix(in srgb, var(--poi-color, var(--primary)) 25%, transparent);
    color: var(--poi-color, var(--primary));
    margin-bottom: 4px;
    transition: background var(--transition), transform var(--transition);
    flex-shrink: 0;
}
.poi-stat-icon svg { width: 24px; height: 24px; }
.poi-stat:hover .poi-stat-icon {
    background: color-mix(in srgb, var(--poi-color, var(--primary)) 20%, transparent);
    transform: scale(1.08) rotate(-3deg);
}

/* Fallback navigateurs sans color-mix (Firefox < 113, Safari < 16.2) */
@supports not (background: color-mix(in srgb, red, blue)) {
    .poi-stat-icon { background: rgba(27,67,50,.1); border-color: rgba(27,67,50,.25); color: var(--primary); }
}

.poi-stat-emoji  { font-size: 1.5rem; } /* fallback si pas d'icône SVG */
.poi-stat-num    { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; color: var(--text); line-height: 1; }
.poi-stat-label  { font-size: .72rem; color: var(--text-muted); font-weight: 500; line-height: 1.3; }
.poi-stat-sub    { font-size: .7rem; color: var(--text-muted); }

[data-theme="dark"] .poi-stat { background: var(--bg-warm); border-color: var(--border); }
[data-theme="dark"] .poi-stat-num { color: var(--text); }

.poi-stat-link {
    display: flex;
    text-decoration: none;
    color: var(--text);
    transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
}
.poi-stat-link:hover {
    background: rgba(27,67,50,.06);
    box-shadow: 0 4px 12px rgba(27,67,50,.15);
    transform: translateY(-2px);
    text-decoration: none;
    color: var(--text);
}

/* ============================================================
   TOP ACTIVITÉS (page région)
   ============================================================ */
.top-activites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}
.activite-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    color: var(--text);
    transition: box-shadow var(--transition), transform var(--transition);
    background: var(--bg-card);
    display: flex;
    flex-direction: column;
}
.activite-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    text-decoration: none;
}
.activite-img img { width: 100%; height: 180px; object-fit: cover; display: block; }
.activite-img-placeholder {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--poi-color, var(--primary)) 10%, var(--bg)),
        color-mix(in srgb, var(--poi-color, var(--primary)) 20%, var(--bg)));
    border-bottom: 1px solid color-mix(in srgb, var(--poi-color, var(--primary)) 20%, transparent);
}
@supports not (background: color-mix(in srgb, red, blue)) {
    .activite-img-placeholder { background: linear-gradient(135deg, rgba(27,67,50,.08), rgba(27,67,50,.16)); }
}
.activite-placeholder-icon {
    opacity: .35;
    transform: scale(2.2);
    display: flex;
    color: var(--poi-color, var(--primary));
}
/* Image cassée → placeholder identique */
.poi-img-broken {
    height: 180px;
    background: linear-gradient(135deg, var(--bg-warm), var(--bg));
    display: flex;
    align-items: center;
    justify-content: center;
}
.poi-img-broken::after {
    content: '';
    width: 40px;
    height: 40px;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%23aaa' stroke-width='1.5' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpath d='M21 15l-5-5L5 21'/%3E%3C/svg%3E") center/contain no-repeat;
    opacity: .4;
}
.activite-body { padding: 14px 16px; flex: 1; }
.activite-cat {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .72rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: .06em;
}
.activite-cat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--poi-color, var(--primary));
}
.activite-cat-icon svg { width: 16px; height: 16px; }
.activite-body h3 { font-family: var(--font-heading); font-size: 1rem; margin: 6px 0 4px; }
.activite-ville { font-size: .82rem; color: var(--text-muted); margin-bottom: 6px; }
.activite-desc  { font-size: .82rem; color: var(--text-muted); line-height: 1.5; }

/* ============================================================
   TOP COMMUNES (page département)
   ============================================================ */
.top-communes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
}
.top-commune-card {
    display: flex;
    flex-direction: column;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    text-decoration: none;
    color: var(--text);
    transition: border-color var(--transition), background var(--transition), transform var(--transition);
}
.top-commune-card:hover {
    border-color: var(--primary);
    background: rgba(27,67,50,.04);
    transform: translateY(-2px);
}
.tc-nom { font-weight: 600; font-size: .93rem; }
.tc-poi { font-size: .78rem; color: var(--primary); font-weight: 500; margin-top: 2px; }
.tc-pop { font-size: .73rem; color: var(--text-muted); }

/* ============================================================
   MARCHÉS DÉPARTEMENT
   ============================================================ */
.marches-dept-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 10px;
}
.marche-dept-item {
    display: flex;
    flex-direction: column;
    background: rgba(233,196,106,.08);
    border: 1px solid rgba(233,196,106,.35);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    text-decoration: none;
    color: var(--text);
    transition: background var(--transition);
    gap: 3px;
}
.marche-dept-item:hover { background: rgba(233,196,106,.16); text-decoration: none; }
.md-ville   { font-size: .73rem; color: var(--text-muted); }
.md-nom     { font-weight: 600; font-size: .9rem; }
.md-adresse { font-size: .76rem; color: var(--text-muted); }

/* ============================================================
   BROCANTES & VIDE-GRENIERS
   ============================================================ */
.section-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}
.section-header-row h2 { margin-bottom: 0; }
.section-voir-tout {
    font-size: .82rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
    opacity: .85;
    transition: opacity var(--transition);
}
.section-voir-tout:hover { opacity: 1; text-decoration: none; }

.brocantes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 10px;
}
.brocante-item {
    display: flex;
    flex-direction: column;
    background: rgba(123,94,58,.07);
    border: 1px solid rgba(123,94,58,.28);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    text-decoration: none;
    color: var(--text);
    transition: background var(--transition);
    gap: 4px;
}
.brocante-item:hover { background: rgba(123,94,58,.14); text-decoration: none; }
.brocante-ville { font-size: .73rem; color: var(--text-muted); }
.brocante-nom   { font-weight: 600; font-size: .88rem; line-height: 1.3; }
.brocante-date  { font-size: .75rem; color: #7b5e3a; font-weight: 500; margin-top: 2px; }

[data-theme="dark"] .brocante-item { background: rgba(123,94,58,.12); border-color: rgba(180,140,90,.25); }
[data-theme="dark"] .brocante-item:hover { background: rgba(123,94,58,.2); }
[data-theme="dark"] .brocante-date { color: #c9a87a; }

/* ============================================================
   POI SECTIONS (page commune)
   ============================================================ */
.poi-section h2 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border);
    display: flex;
    align-items: center;
    gap: 12px;
}
.poi-section-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--poi-color, var(--primary)) 12%, transparent);
    color: var(--poi-color, var(--primary));
    flex-shrink: 0;
}
.poi-section-icon svg { width: 18px; height: 18px; }
@supports not (background: color-mix(in srgb, red, blue)) {
    .poi-section-icon { background: rgba(27,67,50,.1); color: var(--primary); }
}
.poi-count {
    background: var(--primary);
    color: #fff;
    font-size: .73rem;
    font-weight: 700;
    border-radius: 20px;
    padding: 2px 10px;
    margin-left: auto;
    font-family: var(--font-body);
}
.poi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}
.poi-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-card);
    transition: transform var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
}
.poi-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.poi-img img    { width: 100%; height: 180px; object-fit: cover; display: block; }
.poi-body       { padding: 14px; flex: 1; display: flex; flex-direction: column; }
.poi-nom        { font-weight: 600; font-size: 1rem; margin-bottom: 6px; }
.poi-adresse    { font-size: .82rem; color: var(--text-muted); margin-bottom: 6px; }
.poi-desc       { font-size: .85rem; color: var(--text-muted); line-height: 1.5; margin-bottom: 10px; }
.poi-contacts   { display: flex; flex-wrap: wrap; gap: 8px; }
.poi-contact {
    font-size: .78rem;
    color: var(--primary);
    text-decoration: none;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 3px 10px;
    transition: background var(--transition);
}
.poi-contact:hover { background: rgba(27,67,50,.08); }
.poi-dt { background: rgba(27,67,50,.06); border-color: rgba(27,67,50,.25); color: var(--primary-light); }
.poi-dt:hover { background: rgba(27,67,50,.12); }

.poi-card-link {
    display: block;
    text-decoration: none;
    color: var(--text);
    transition: box-shadow var(--transition), transform var(--transition);
}
.poi-card-link:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
    text-decoration: none;
    color: var(--text);
}

.poi-date-badge {
    font-size: .78rem;
    font-weight: 700;
    color: #fff;
    background: var(--primary);
    border-radius: 20px;
    padding: 3px 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 6px;
    font-family: var(--font-body);
}
.poi-lire-plus {
    display: inline-block;
    margin-top: auto;
    padding-top: 10px;
    font-size: .82rem;
    color: var(--primary);
    font-weight: 600;
}

.region-stats-card h2 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    margin-bottom: 16px;
}

/* ============================================================
   PAGE POI DETAIL
   ============================================================ */
.page-poi-detail { padding-top: 32px; padding-bottom: 60px; }

.poi-detail-header { margin-bottom: 28px; }
.poi-detail-cat span:not(.poi-section-icon) {
    display: inline-block;
    font-size: .83rem;
    font-weight: 600;
    color: var(--primary);
    background: rgba(27,67,50,.08);
    border: 1px solid rgba(27,67,50,.2);
    border-radius: 20px;
    padding: 3px 14px;
    margin-bottom: 10px;
}
.poi-detail-header h1 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 10px;
    line-height: 1.2;
}
.poi-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    color: var(--text-muted);
    font-size: .9rem;
}

.poi-detail-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 28px;
    align-items: start;
}
@media (max-width: 900px) {
    .poi-detail-grid { grid-template-columns: 1fr; }
}

/* Photos */
.poi-photos { margin-bottom: 24px; }
.poi-photo-main {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: zoom-in;
    background: #f0f0f0;
}
.poi-main-img {
    width: 100%;
    max-height: 420px;
    object-fit: contain;
    display: block;
}
.poi-photo-count {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0,0,0,.55);
    color: #fff;
    font-size: .75rem;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    pointer-events: none;
}
.poi-expand-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0,0,0,.55);
    color: #fff;
    border: none;
    border-radius: 8px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: background .15s;
}
.poi-expand-btn:hover { background: rgba(0,0,0,.8); }
.poi-photo-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    flex-wrap: wrap;
}
.poi-thumb {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color .15s;
}
.poi-thumb.active,
.poi-thumb:hover { border-color: var(--primary); }

/* --- Lightbox --- */
.poi-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0,0,0,.92);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
}
.poi-lightbox[hidden] { display: none; }
.poi-lb-inner {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.poi-lb-img {
    max-width: 90vw;
    max-height: 82vh;
    object-fit: contain;
    border-radius: 6px;
    display: block;
}
.poi-lb-counter {
    color: rgba(255,255,255,.7);
    font-size: .82rem;
    font-weight: 500;
}
.poi-lb-close {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255,255,255,.12);
    border: none;
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .15s;
    z-index: 10;
}
.poi-lb-close:hover { background: rgba(255,255,255,.25); }
.poi-lb-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,.12);
    border: none;
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .15s;
    z-index: 10;
}
.poi-lb-nav:hover { background: rgba(255,255,255,.25); }
.poi-lb-prev { left: 20px; }
.poi-lb-next { right: 20px; }

/* Description */
.poi-full-desc {
    line-height: 1.8;
    font-size: .95rem;
    color: var(--text);
}
.poi-full-desc p { margin-bottom: .75rem; }
.poi-full-desc p:last-child { margin-bottom: 0; }
.poi-full-desc a { color: var(--primary); text-decoration: underline; }
.poi-full-desc strong, .poi-full-desc b { font-weight: 600; }
.poi-full-desc ul, .poi-full-desc ol { padding-left: 1.4rem; margin-bottom: .75rem; }
.poi-full-desc li { margin-bottom: .3rem; }

/* Aside */
.poi-detail-aside .card h2 {
    font-family: var(--font-heading);
    font-size: .98rem;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border);
}
.aside-block {
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
}
.aside-block:last-child { border-bottom: none; margin-bottom: 0; }
.aside-block h3 {
    font-size: .83rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 6px;
    font-family: var(--font-body);
}
.aside-block p { font-size: .9rem; margin-bottom: 4px; }
.aside-block a { font-size: .9rem; }
.aside-horaire-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: .88rem; padding: 3px 0; border-bottom: 1px solid var(--border); }
.aside-horaire-row:last-child { border-bottom: none; }
.aside-horaire-days { font-weight: 600; color: var(--text); }
.aside-horaire-time { color: var(--text-muted); white-space: nowrap; }
.aside-tarif-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: .88rem; padding: 3px 0; border-bottom: 1px solid var(--border); }
.aside-tarif-row:last-child { border-bottom: none; }
.aside-tarif-label { color: var(--text-muted); font-size: .83rem; }
.aside-tarif-price { font-weight: 700; color: var(--primary); white-space: nowrap; }

.btn-map, .btn-dt {
    display: inline-block;
    margin-top: 8px;
    padding: 7px 16px;
    border-radius: var(--radius-sm);
    font-size: .83rem;
    font-weight: 600;
    text-decoration: none;
    transition: background var(--transition), transform var(--transition);
    font-family: var(--font-body);
}
.btn-map {
    background: rgba(27,67,50,.07);
    color: var(--primary);
    border: 1px solid rgba(27,67,50,.25);
}
.btn-map:hover { background: rgba(27,67,50,.14); text-decoration: none; transform: translateY(-1px); }
.btn-dt {
    background: rgba(233,196,106,.12);
    color: #7a5c10;
    border: 1px solid rgba(233,196,106,.5);
}
.btn-dt:hover { background: rgba(233,196,106,.22); text-decoration: none; transform: translateY(-1px); }
.btn-back {
    display: inline-block;
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: .88rem;
    font-weight: 600;
    text-decoration: none;
    transition: background var(--transition), border-color var(--transition);
    font-family: var(--font-body);
}
.btn-back:hover { background: var(--bg-warm); border-color: var(--primary); text-decoration: none; }

/* ============================================================
   PAGE POI LIST (par catégorie / département)
   ============================================================ */
.page-poi-list { padding-top: 32px; padding-bottom: 60px; }

.poi-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}
.poi-list-card {
    display: flex;
    background: var(--bg-card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    text-decoration: none;
    color: var(--text);
    transition: box-shadow var(--transition), transform var(--transition);
    border: 1px solid var(--border);
}
.poi-list-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
    text-decoration: none;
    color: var(--text);
}
.poi-list-card.poi-past { opacity: .75; }

.plc-img {
    width: 120px;
    min-width: 120px;
    flex-shrink: 0;
    overflow: hidden;
}
.plc-img img {
    width: 120px;
    height: 100%;
    min-height: 120px;
    object-fit: cover;
    display: block;
    transition: transform .4s;
}
.poi-list-card:hover .plc-img img { transform: scale(1.06); }
.plc-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-warm);
    font-size: 2.2rem;
}
.plc-body {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
    min-width: 0;
}
.plc-date {
    font-size: .78rem;
    font-weight: 700;
    border-radius: 20px;
    padding: 2px 10px;
    display: inline-block;
    width: fit-content;
    font-family: var(--font-body);
}
.plc-date-upcoming { color: var(--primary); background: rgba(27,67,50,.08); }
.plc-date-past     { color: var(--text-muted); background: var(--bg-warm); }
.plc-nom {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.plc-lieu {
    font-size: .8rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.plc-desc {
    font-size: .82rem;
    color: var(--text-muted);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.plc-lire { font-size: .8rem; font-weight: 600; color: var(--primary); margin-top: auto; }

/* ============================================================
   POI CARD — PHOTOS MULTIPLES
   ============================================================ */
.poi-img img { width: 100%; height: 180px; object-fit: cover; display: block; }
.poi-img-multi { position: relative; }
.poi-img-multi .poi-img-main { height: 160px; }
.poi-img-strip {
    display: flex;
    gap: 2px;
    background: #000;
}
.poi-img-strip img {
    flex: 1;
    height: 60px;
    object-fit: cover;
    opacity: .82;
    transition: opacity var(--transition);
}
.poi-img-strip img:hover { opacity: 1; }
.poi-photo-count {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0,0,0,.55);
    color: #fff;
    font-size: .7rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

/* ============================================================
   BANNIÈRE PAYSAGE (Pixabay)
   ============================================================ */
.landscape-banner {
    width: 100%;
    height: 420px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    margin-bottom: 32px;
    overflow: hidden;
}
.landscape-banner-commune { height: 300px; }

.landscape-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,.08) 0%,
        rgba(13,17,23,.62) 100%
    );
    display: flex;
    align-items: flex-end;
    padding: 40px 56px;
}
.landscape-overlay .container { width: 100%; }
.landscape-overlay h1 {
    font-family: var(--font-heading);
    color: #fff;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    text-shadow: 0 2px 12px rgba(0,0,0,.5);
    margin-bottom: 10px;
}
.landscape-overlay p {
    color: rgba(255,255,255,.82);
    font-size: 1rem;
    text-shadow: 0 1px 6px rgba(0,0,0,.4);
}
/* Drapeaux / blasons */
.banner-title-row {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    padding: 0 0 0 8px;
}
.landscape-overlay--centered {
    align-items: center;
    justify-content: center;
}
.landscape-overlay--centered .container {
    display: flex;
    justify-content: center;
}
.banner-title-row--centered {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0;
}
.banner-title-row--centered .dept-flag-banner {
    margin-bottom: 8px;
}
.dept-flag-banner {
    width: 70px;
    height: auto;
    max-height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,.6));
    flex-shrink: 0;
}
.page-header-row {
    display: flex;
    align-items: center;
    gap: 20px;
}
.dept-flag-header {
    width: 56px;
    height: auto;
    max-height: 70px;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 1px 4px rgba(0,0,0,.15));
}

/* Lien région dans le header département */
.landscape-overlay .dept-region-link {
    display: inline;
}
.dept-region-link {
    color: rgba(255,255,255,.75);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(255,255,255,.3);
    transition: color .15s, text-decoration-color .15s;
}
.dept-region-link:hover {
    color: #fff;
    text-decoration-color: rgba(255,255,255,.7);
}
.page-sub .dept-region-link {
    color: var(--primary);
    text-decoration-color: transparent;
}
.page-sub .dept-region-link:hover {
    color: var(--primary-dark, #155e3a);
    text-decoration-color: var(--primary);
}

.dept-badge-hero {
    display: inline-block;
    background: rgba(255,255,255,.2);
    backdrop-filter: blur(6px);
    color: #fff;
    border: 1px solid rgba(255,255,255,.4);
    border-radius: 6px;
    padding: 2px 10px;
    font-size: 1.15rem;
    font-weight: 700;
    margin-right: 8px;
    vertical-align: middle;
}
.badge-light {
    background: rgba(255,255,255,.18);
    backdrop-filter: blur(4px);
    color: #fff;
    border-color: rgba(255,255,255,.3);
}

/* ============================================================
   PIED DE PAGE
   ============================================================ */
.site-footer {
    background: var(--dark);
    color: rgba(255,255,255,.55);
    padding: 64px 0 28px;
    margin-top: 0;
    border-top: 1px solid rgba(255,255,255,.06);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}
@media (max-width: 1100px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 32px; }
    .footer-grid .footer-col:last-child { grid-column: 2 / span 2; } }
@media (max-width: 760px)  { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
    .footer-grid .footer-col:last-child { grid-column: auto; } }
@media (max-width: 480px)  { .footer-grid { grid-template-columns: 1fr; gap: 24px; } }

/* Colonne logo/description */
.footer-brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    text-decoration: none;
}
.footer-brand-logo:hover { text-decoration: none; }
.footer-brand-logo .logo-mark { opacity: .9; }
.footer-brand-logo .logo-text {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: rgba(255,255,255,.9);
}
.footer-brand-logo .logo-text strong { color: var(--gold); }

.footer-desc {
    font-size: .88rem;
    line-height: 1.75;
    color: rgba(255,255,255,.48);
    max-width: 280px;
}
.footer-tagline {
    margin-top: 20px;
    display: inline-block;
    background: rgba(233,196,106,.1);
    border: 1px solid rgba(233,196,106,.25);
    color: var(--gold);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
}

/* Colonnes liens */
.site-footer h4 {
    color: rgba(255,255,255,.85);
    font-family: var(--font-heading);
    font-size: .95rem;
    margin-bottom: 16px;
    font-weight: 600;
}
.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.footer-col a {
    color: rgba(255,255,255,.48);
    font-size: .88rem;
    transition: color var(--transition);
    text-decoration: none;
}
.footer-col a:hover { color: rgba(255,255,255,.9); text-decoration: none; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: .8rem;
    color: rgba(255,255,255,.3);
}
.footer-bottom-links {
    display: flex;
    gap: 20px;
}
.footer-bottom-links a {
    color: rgba(255,255,255,.3);
    font-size: .8rem;
    transition: color var(--transition);
    text-decoration: none;
}
.footer-bottom-links a:hover { color: rgba(255,255,255,.7); }

/* Compat ancienne structure footer */
.site-footer h3 { color: rgba(255,255,255,.85); font-size: 1rem; margin-bottom: 12px; font-family: var(--font-heading); }
.site-footer p  { font-size: .88rem; line-height: 1.75; }

/* ============================================================
   TOUCH — désactiver les élévations sur appareils sans hover
   ============================================================ */
@media (hover: none) {
    .region-photo-card:hover { transform: none; box-shadow: var(--shadow-md); }
    .region-photo-card:hover .rpc-img--2 { transform: rotate(-7deg) translate(-20px, 10px); }
    .region-photo-card:hover .rpc-img--1 { transform: rotate(-2deg) translate(-10px, 5px); }
    .region-photo-card:hover .rpc-img--0 { transform: rotate(3deg); }
    .region-card:hover,
    .poi-card:hover,
    .poi-card-link:hover,
    .activite-card:hover,
    .popular-card:hover,
    .voisine-card:hover,
    .top-commune-card:hover,
    .feature:hover,
    .poi-stat:hover,
    .poi-stat-link:hover,
    .poi-list-card:hover { transform: none; box-shadow: var(--shadow); }
    .dept-card:hover { transform: none; }
    .region-card-wrap:hover .region-stack-back--1 { transform: rotate(2.5deg) translateY(6px) scale(.97); opacity: .55; }
    .region-card-wrap:hover .region-stack-back--2 { transform: rotate(-2deg) translateY(10px) scale(.94); opacity: .35; }
    .popular-card:hover::before { transform: scaleY(0); }
    .region-card:hover .region-card-img { transform: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .regions-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
    .landscape-banner { height: 320px; }
}
@media (max-width: 640px) {
    .site-header .container { flex-wrap: nowrap; height: 60px; padding: 0 16px; gap: 10px; }
    .main-nav { display: none; }
    .search-header { display: none; }
    .search-dropdown { width: calc(100vw - 32px); left: 50%; transform: translateX(-50%); }
    .sr-dept { white-space: normal; overflow: visible; text-overflow: clip; }
    .popular-dept { white-space: normal; overflow: visible; text-overflow: clip; }
    .theme-toggle { display: none; }
    .search-icon-mobile { display: flex; }

    .hero { min-height: auto; background: var(--dark); }
    .hero h1 { font-size: 2rem; }
    .hero-content { padding: 56px 20px 44px; }
    .scroll-indicator { display: none; }
    /* Barre de recherche : pilule horizontale, sans catégorie */
    .search-hero-inner { height: 56px; }
    .search-hero-sep { display: none; }
    .search-hero-cat { display: none; }
    .btn-hero-search { padding: 0 20px; font-size: .93rem; }

    .regions-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .region-photo-card { height: 220px; }
    .rpc-title { font-size: 1.1rem; }
    .rpc-img { width: 95px; height: 118px; }
    .stats-banner { display: none; }
    .france-svg-section { display: none; }

    .communes-grid { grid-template-columns: 1fr 1fr; }
    .weather-current { flex-direction: column; }
    .weather-details { margin-left: 0; }

    .landscape-banner { height: 260px; }
    .landscape-banner-commune { height: 200px; }
    .landscape-overlay h1 { font-size: 1.5rem; }

    .poi-list-grid { grid-template-columns: 1fr; }
    .plc-img { width: 90px; min-width: 90px; }
    .poi-detail-header h1 { font-size: 1.4rem; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
    .hero-content { padding: 44px 16px 36px; }
    .hero h1 { font-size: 1.75rem; }
    .hero-sub { font-size: .9rem; margin-bottom: 24px; }
    .hero-eyebrow { font-size: .7rem; padding: 5px 14px; }
    .search-hero-inner { height: 52px; }
    .btn-hero-search { padding: 0 16px; font-size: .88rem; }
}

/* ============================================================
   DARK MODE — Variables et overrides
   ============================================================ */
[data-theme="dark"] {
    --primary:        #40916c;
    --primary-light:  #52b788;
    --accent:         #e08a46;
    --gold:           #f3c969;
    --dark:           #060d09;
    --text:           #dce9e2;
    --text-muted:     #7a9e8e;
    --bg:             #0c1510;
    --bg-warm:        #111d15;
    --bg-card:        #162118;
    --border:         #243529;
    --primary-dark:   #2d6a4f;
    --secondary:      #40916c;
    --text-light:     #7a9e8e;
    --bg-light:       #111d15;
    --shadow:         0 1px 4px rgba(0,0,0,.4), 0 1px 2px rgba(0,0,0,.25);
    --shadow-md:      0 4px 16px rgba(0,0,0,.45), 0 2px 6px rgba(0,0,0,.25);
    --shadow-lg:      0 12px 40px rgba(0,0,0,.55), 0 4px 12px rgba(0,0,0,.3);
    --shadow-xl:      0 24px 60px rgba(0,0,0,.65);
    --bg-secondary:   #1a2720;
}

[data-theme="dark"] body { background: var(--bg); color: var(--text); }
[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5 { color: var(--text); }
[data-theme="dark"] a { color: var(--primary-light); }

/* Header */
[data-theme="dark"] .site-header {
    background: rgba(12,21,16,.92);
    border-bottom-color: var(--border);
}
[data-theme="dark"] .site-header.header-scrolled {
    background: rgba(12,21,16,.98);
    box-shadow: 0 4px 24px rgba(0,0,0,.5);
}
[data-theme="dark"] .logo-text { color: var(--text); }
[data-theme="dark"] .logo-text strong { color: var(--primary-light); }
[data-theme="dark"] .logo-evasion { color: var(--gold) !important; }
[data-theme="dark"] .main-nav a { color: var(--text-muted); }
[data-theme="dark"] .main-nav a:hover { color: var(--primary-light); background: rgba(64,145,108,.1); }

/* Recherche */
[data-theme="dark"] .search-form-mini input {
    background: var(--bg-warm);
    border-color: var(--border);
    color: var(--text);
}
[data-theme="dark"] .search-form-mini input:focus {
    background: var(--bg-card);
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(64,145,108,.2);
}
[data-theme="dark"] .search-form-mini input::placeholder { color: var(--text-muted); }
[data-theme="dark"] .search-dropdown {
    background: var(--bg-card);
    border-color: var(--border);
    box-shadow: var(--shadow-lg);
}
[data-theme="dark"] .search-result-item { color: var(--text); }
[data-theme="dark"] .search-result-item:hover,
[data-theme="dark"] .search-result-item.active { background: rgba(64,145,108,.1); }
[data-theme="dark"] .search-no-result { color: var(--text-muted); }

/* Fil d'Ariane */
[data-theme="dark"] .breadcrumb {
    background: var(--bg-card);
    border-bottom-color: var(--border);
}
[data-theme="dark"] .breadcrumb a { color: var(--primary-light); }
[data-theme="dark"] .breadcrumb li:last-child { color: var(--text-muted); }

/* Cartes génériques */
[data-theme="dark"] .card {
    background: var(--bg-card);
    border-color: var(--border);
}
[data-theme="dark"] .badge {
    background: var(--bg-warm);
    border-color: var(--border);
    color: var(--text-muted);
}

/* Sections homepage */
[data-theme="dark"] .regions-section { background: var(--bg); }
[data-theme="dark"] .popular-section {
    background: var(--bg-warm);
    border-top-color: var(--border);
}
[data-theme="dark"] .popular-card {
    background: var(--bg-card);
    border-color: var(--border);
    color: var(--text);
}
[data-theme="dark"] .popular-card:hover {
    background: var(--bg-warm);
    border-color: var(--primary);
}
[data-theme="dark"] .popular-name { color: var(--text); }
[data-theme="dark"] .popular-dept { color: var(--text-muted); }
[data-theme="dark"] .features-section {
    background: var(--bg-card);
    border-top-color: var(--border);
}
[data-theme="dark"] .feature {
    background: var(--bg);
    border-color: var(--border);
}
[data-theme="dark"] .feature h3 { color: var(--text); }
[data-theme="dark"] .feature p { color: var(--text-muted); }

/* Hero recherche */
[data-theme="dark"] .search-hero-inner {
    background: var(--bg-card);
}
[data-theme="dark"] .search-hero-loc input {
    color: var(--text);
}
[data-theme="dark"] .search-hero-loc input::placeholder { color: var(--text-muted); }
[data-theme="dark"] .search-hero-cat select { color: var(--text); }
[data-theme="dark"] .search-hero-sep { background: var(--border); }
[data-theme="dark"] .search-hero-cat { border-top-color: var(--border); }
[data-theme="dark"] .search-dropdown-hero {
    background: var(--bg-card);
    border-color: var(--border);
}

/* Météo */
[data-theme="dark"] .weather-detail {
    background: var(--bg-warm);
    border-color: var(--border);
}
[data-theme="dark"] .wd-label { color: var(--text-muted); }
[data-theme="dark"] .wd-val { color: var(--text); }
[data-theme="dark"] .forecast-day {
    background: var(--bg-warm);
    border-color: var(--border);
}
[data-theme="dark"] .f-date { color: var(--text-muted); }
[data-theme="dark"] .f-desc { color: var(--text-muted); }
[data-theme="dark"] .weather-source { color: var(--text-muted); }

/* Marchés */
[data-theme="dark"] .market-item {
    background: var(--bg-warm);
    border-color: var(--border);
}
[data-theme="dark"] .market-name { color: var(--text); }
[data-theme="dark"] .schedule-days { color: var(--primary-light); }
[data-theme="dark"] .schedule-hours { color: var(--text-muted); }
[data-theme="dark"] .market-desc { color: var(--text-muted); }
[data-theme="dark"] .marche-dept-item {
    background: rgba(243,201,105,.05);
    border-color: rgba(243,201,105,.2);
}
[data-theme="dark"] .marche-dept-item:hover { background: rgba(243,201,105,.1); }
[data-theme="dark"] .md-ville { color: var(--text-muted); }
[data-theme="dark"] .md-nom { color: var(--text); }
[data-theme="dark"] .md-adresse { color: var(--text-muted); }

/* Communes & départements */
[data-theme="dark"] .dept-card {
    background: var(--bg-card);
    border-color: var(--border);
    color: var(--text);
}
[data-theme="dark"] .dept-card:hover {
    border-color: var(--primary);
    background: rgba(64,145,108,.06);
    color: var(--text);
}
[data-theme="dark"] .dept-info h2 { color: var(--text); }
[data-theme="dark"] .dept-info p { color: var(--text-muted); }
[data-theme="dark"] .dept-region-title {
    color: var(--text);
    border-bottom-color: var(--border);
}
[data-theme="dark"] .dept-region-count {
    background: var(--bg-warm);
    border-color: var(--border);
    color: var(--text-muted);
}
[data-theme="dark"] .dept-region-link { color: var(--text); }
[data-theme="dark"] .dept-region-link:hover { color: var(--primary-light); }
[data-theme="dark"] .commune-item {
    background: var(--bg-card);
    border-color: var(--border);
    color: var(--text);
}
[data-theme="dark"] .commune-item:hover {
    border-color: var(--primary);
    background: rgba(64,145,108,.06);
}
[data-theme="dark"] .commune-name { color: var(--text); }
[data-theme="dark"] .commune-cp { color: var(--text-muted); }
[data-theme="dark"] .commune-header .meta-chip {
    background: var(--bg-warm);
    border-color: var(--border);
    color: var(--text-muted);
}
[data-theme="dark"] .info-list dt { color: var(--text-muted); }
[data-theme="dark"] .info-list dd { color: var(--text); }

/* POI */
[data-theme="dark"] .poi-card {
    background: var(--bg-card);
    border-color: var(--border);
}
[data-theme="dark"] .poi-card-link { color: var(--text); }
[data-theme="dark"] .poi-card-link:hover { color: var(--text); }
[data-theme="dark"] .poi-body { background: var(--bg-card); }
[data-theme="dark"] .poi-nom { color: var(--text); }
[data-theme="dark"] .poi-adresse { color: var(--text-muted); }
[data-theme="dark"] .poi-desc { color: var(--text-muted); }
[data-theme="dark"] .poi-lire-plus { color: var(--primary-light); }
[data-theme="dark"] .poi-stat {
    background: var(--bg-warm);
    border-color: var(--border);
}
[data-theme="dark"] .poi-stat-num { color: var(--primary-light); }
[data-theme="dark"] .poi-stat-label { color: var(--text-muted); }
[data-theme="dark"] .poi-stat-link { color: var(--text); }
[data-theme="dark"] .poi-stat-link:hover {
    background: rgba(64,145,108,.08);
    color: var(--text);
}
[data-theme="dark"] .activite-card {
    background: var(--bg-card);
    border-color: var(--border);
    color: var(--text);
}
[data-theme="dark"] .activite-cat { color: var(--primary-light); }
[data-theme="dark"] .activite-body h3 { color: var(--text); }
[data-theme="dark"] .activite-ville { color: var(--text-muted); }
[data-theme="dark"] .activite-desc { color: var(--text-muted); }
[data-theme="dark"] .top-commune-card {
    background: var(--bg-warm);
    border-color: var(--border);
    color: var(--text);
}
[data-theme="dark"] .top-commune-card:hover {
    border-color: var(--primary);
    background: rgba(64,145,108,.06);
}
[data-theme="dark"] .tc-nom { color: var(--text); }
[data-theme="dark"] .tc-poi { color: var(--primary-light); }
[data-theme="dark"] .tc-pop { color: var(--text-muted); }
[data-theme="dark"] .poi-list-card {
    background: var(--bg-card);
    border-color: var(--border);
    color: var(--text);
}
[data-theme="dark"] .poi-list-card:hover { color: var(--text); }
[data-theme="dark"] .plc-img-placeholder { background: var(--bg-warm); }
[data-theme="dark"] .plc-date-upcoming { color: var(--primary-light); background: rgba(64,145,108,.12); }
[data-theme="dark"] .plc-date-past { color: var(--text-muted); background: var(--bg-warm); }
[data-theme="dark"] .plc-nom { color: var(--text); }
[data-theme="dark"] .plc-lieu { color: var(--text-muted); }
[data-theme="dark"] .plc-desc { color: var(--text-muted); }
[data-theme="dark"] .plc-lire { color: var(--primary-light); }

/* POI Detail */
[data-theme="dark"] .poi-detail-aside .card { background: var(--bg-card); border-color: var(--border); }
[data-theme="dark"] .poi-detail-cat span:not(.poi-section-icon) {
    background: rgba(64,145,108,.1);
    border-color: rgba(64,145,108,.3);
    color: var(--primary-light);
}
[data-theme="dark"] .aside-block { border-bottom-color: var(--border); }
[data-theme="dark"] .aside-block h3 { color: var(--text-muted); }
[data-theme="dark"] .poi-full-desc { color: var(--text); }
[data-theme="dark"] .poi-detail-meta { color: var(--text-muted); }
[data-theme="dark"] .btn-back {
    background: var(--bg-warm);
    border-color: var(--border);
    color: var(--text);
}
[data-theme="dark"] .btn-back:hover {
    background: var(--bg-card);
    border-color: var(--primary);
}
[data-theme="dark"] .btn-map {
    background: rgba(64,145,108,.1);
    border-color: rgba(64,145,108,.3);
    color: var(--primary-light);
}
[data-theme="dark"] .btn-dt {
    background: rgba(243,201,105,.08);
    border-color: rgba(243,201,105,.3);
    color: #c8a840;
}

/* Filtres */
[data-theme="dark"] .alpha-btn {
    border-color: var(--border);
    color: var(--text-muted);
    background: transparent;
}
[data-theme="dark"] .alpha-btn:hover,
[data-theme="dark"] .alpha-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* Pagination */
[data-theme="dark"] .page-btn { background: var(--primary); }
[data-theme="dark"] .page-btn:hover { background: var(--primary-light); }
[data-theme="dark"] .page-info { color: var(--text-muted); }

/* Bannière paysage */
[data-theme="dark"] .landscape-banner { filter: brightness(.9); }

/* Sections avec fond blanc hardcodé */
[data-theme="dark"] .weather-card h2,
[data-theme="dark"] .markets-card h2 { border-bottom-color: var(--border); color: var(--text); }
[data-theme="dark"] .poi-section h2 { border-bottom-color: var(--border); color: var(--text); }

/* ============================================================
   DARK MODE TOGGLE BUTTON
   ============================================================ */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
    color: var(--text-muted);
    transition: all var(--transition);
    flex-shrink: 0;
    padding: 0;
    font-family: inherit;
}
.theme-toggle:hover {
    background: var(--bg-warm);
    border-color: var(--primary);
    color: var(--primary);
}
.theme-toggle svg { width: 18px; height: 18px; pointer-events: none; }
.theme-toggle .icon-sun  { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun  { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle:hover {
    background: rgba(64,145,108,.12);
    border-color: var(--primary);
    color: var(--primary-light);
}

/* ============================================================
   NAVIGATION MOBILE — Loupe & Hamburger
   ============================================================ */
.search-icon-mobile {
    display: none;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    flex-shrink: 0;
    transition: color var(--transition), background var(--transition);
    margin-left: auto;
}
.search-icon-mobile:hover { color: var(--primary); background: var(--bg-warm); text-decoration: none; }
[data-theme="dark"] .search-icon-mobile { color: var(--text-muted); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
    transition: all var(--transition);
    padding: 0;
}
.nav-toggle:hover { background: var(--bg-warm); border-color: var(--primary); }
.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text-muted);
    border-radius: 2px;
    transition: all .25s cubic-bezier(.4,0,.2,1);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
[data-theme="dark"] .nav-toggle { border-color: var(--border); }
[data-theme="dark"] .nav-toggle span { background: var(--text-muted); }

@media (max-width: 640px) {
    .nav-toggle { display: flex; }
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255,255,255,.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-bottom: 1px solid var(--border);
        padding: 10px 16px 14px;
        flex-direction: column;
        gap: 2px;
        z-index: 199;
        box-shadow: 0 8px 24px rgba(0,0,0,.1);
    }
    .main-nav.open { display: flex; }
    .main-nav a { padding: 10px 14px; border-radius: var(--radius-sm); font-size: .95rem; }
    [data-theme="dark"] .main-nav {
        background: rgba(12,21,16,.98);
        border-bottom-color: var(--border);
    }
}

/* ============================================================
   TESTIMONIALS SECTION
   ============================================================ */
.testimonials-section {
    padding: 80px 0;
    background: var(--bg-warm);
    border-top: 1px solid var(--border);
}
[data-theme="dark"] .testimonials-section {
    background: var(--bg-warm);
    border-top-color: var(--border);
}
.testimonials-section .section-title { text-align: center; }
.testimonials-section .section-sub   { text-align: center; }

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 22px;
    transition: transform var(--transition), box-shadow var(--transition);
    opacity: 0;
    transform: translateY(24px);
}
.testimonial-card.is-visible {
    animation: testimonialFadeIn .55s ease forwards;
}
.testimonial-card:nth-child(1) { animation-delay: 0s; }
.testimonial-card:nth-child(2) { animation-delay: .1s; }
.testimonial-card:nth-child(3) { animation-delay: .2s; }
.testimonial-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: var(--shadow-lg);
}
[data-theme="dark"] .testimonial-card {
    background: var(--bg-card);
    border-color: var(--border);
}

@keyframes testimonialFadeIn {
    to { opacity: 1; transform: translateY(0); }
}

.testimonial-top { display: flex; flex-direction: column; gap: 14px; }

.testimonial-stars { display: flex; gap: 3px; }
.star-full  { color: #fbbf24; font-size: .95rem; }
.star-empty { color: var(--border); font-size: .95rem; }

.testimonial-quote {
    font-size: .97rem;
    line-height: 1.8;
    color: var(--text);
    font-style: italic;
    position: relative;
    padding-left: 20px;
}
.testimonial-quote::before {
    content: '\201C';
    position: absolute;
    left: 0;
    top: -4px;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--primary);
    opacity: .4;
    line-height: 1;
    font-style: normal;
}
[data-theme="dark"] .testimonial-quote::before { color: var(--primary-light); }
[data-theme="dark"] .testimonial-quote { color: var(--text); }

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}
[data-theme="dark"] .testimonial-author { border-top-color: var(--border); }

.testimonial-avatar-placeholder {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    flex-shrink: 0;
}
.testimonial-name {
    font-weight: 600;
    font-size: .93rem;
    color: var(--text);
    line-height: 1.3;
}
.testimonial-meta {
    font-size: .78rem;
    color: var(--text-muted);
    margin-top: 2px;
}
[data-theme="dark"] .testimonial-name { color: var(--text); }
[data-theme="dark"] .testimonial-meta { color: var(--text-muted); }

@media (max-width: 640px) {
    .testimonials-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   ICÔNES MÉTÉO ANIMÉES (CSS — adaptation du composant framer-motion)
   ============================================================ */

/* Keyframes */
@keyframes wxSunRotate  { to { transform: rotate(360deg); } }
@keyframes wxSunPulse   { 0%,100% { opacity: .15; } 50% { opacity: .3; } }
@keyframes wxCloudFloat { 0%,100% { transform: translateX(0); } 50% { transform: translateX(3px); } }
@keyframes wxRainFall   {
    0%   { transform: translateY(0);    opacity: .9; }
    100% { transform: translateY(14px); opacity: 0;  }
}
@keyframes wxHeavyRain  {
    0%   { transform: translateY(0)   skewX(-8deg); opacity: 1;  }
    100% { transform: translateY(16px) skewX(-8deg); opacity: 0; }
}
@keyframes wxSnowFall   {
    0%   { transform: translateY(0)    translateX(0);  opacity: .85; }
    50%  { transform: translateY(7px)  translateX(4px); }
    100% { transform: translateY(14px) translateX(0);  opacity: 0;   }
}
@keyframes wxBolt       {
    0%,82%,100% { opacity: 0; }
    88%,96%     { opacity: 1; }
}
@keyframes wxStarBlink  { 0%,100% { opacity: .15; transform: scale(.8); } 50% { opacity: .9; transform: scale(1.2); } }
@keyframes wxFogDrift   { 0%,100% { opacity: .25; transform: translateX(0); } 50% { opacity: .65; transform: translateX(4px); } }

/* Classes d'animation */
.wx-sun-rays { animation: wxSunRotate 14s linear infinite; transform-origin: 24px 24px; }
.wx-sun-halo { animation: wxSunPulse 3s ease-in-out infinite; transform-origin: 24px 24px; }
.wx-cloud    { animation: wxCloudFloat 6s ease-in-out infinite; }
.wx-drop-1   { animation: wxRainFall .85s ease-in infinite 0s; }
.wx-drop-2   { animation: wxRainFall .85s ease-in infinite .25s; }
.wx-drop-3   { animation: wxRainFall .85s ease-in infinite .5s; }
.wx-drop-4   { animation: wxRainFall .85s ease-in infinite .12s; }
.wx-hdrop-1  { animation: wxHeavyRain .65s ease-in infinite 0s; }
.wx-hdrop-2  { animation: wxHeavyRain .65s ease-in infinite .12s; }
.wx-hdrop-3  { animation: wxHeavyRain .65s ease-in infinite .24s; }
.wx-hdrop-4  { animation: wxHeavyRain .65s ease-in infinite .36s; }
.wx-hdrop-5  { animation: wxHeavyRain .65s ease-in infinite .08s; }
.wx-hdrop-6  { animation: wxHeavyRain .65s ease-in infinite .44s; }
.wx-flake-1  { animation: wxSnowFall 2s ease-in infinite 0s; }
.wx-flake-2  { animation: wxSnowFall 2s ease-in infinite .5s; }
.wx-flake-3  { animation: wxSnowFall 2s ease-in infinite .2s; }
.wx-flake-4  { animation: wxSnowFall 2s ease-in infinite .8s; }
.wx-flake-5  { animation: wxSnowFall 2s ease-in infinite .35s; }
.wx-bolt     { animation: wxBolt 3.2s ease-in-out infinite; }
.wx-star-1   { animation: wxStarBlink 2.2s ease-in-out infinite 0s; }
.wx-star-2   { animation: wxStarBlink 2.2s ease-in-out infinite .6s; }
.wx-star-3   { animation: wxStarBlink 2.2s ease-in-out infinite 1.2s; }
.wx-fog-1    { animation: wxFogDrift 3s ease-in-out infinite 0s; }
.wx-fog-2    { animation: wxFogDrift 3s ease-in-out infinite .55s; }
.wx-fog-3    { animation: wxFogDrift 3s ease-in-out infinite 1.1s; }
.wx-fog-4    { animation: wxFogDrift 3s ease-in-out infinite 1.65s; }

/* Wrapper icône météo */
.wx-icon { display: inline-flex; align-items: center; justify-content: center; }
.wx-icon svg { display: block; overflow: visible; }

/* Adaptation dark mode pour les icônes météo */
[data-theme="dark"] .wx-icon svg .wx-cloud-path { stroke: #64748b; fill-opacity: .08; }
[data-theme="dark"] .wx-icon svg .wx-rain-stroke { stroke: #93c5fd; }
[data-theme="dark"] .wx-icon svg .wx-snow-fill { fill: #e2e8f0; }

/* Bloc météo refonte — icône principale agrandie et centrée */
.weather-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    background: linear-gradient(135deg, rgba(27,67,50,.08), rgba(233,196,106,.08));
    border-radius: 20px;
    border: 1px solid var(--border);
    flex-shrink: 0;
    transition: transform var(--transition);
}
.weather-icon-wrap:hover { transform: scale(1.06); }
[data-theme="dark"] .weather-icon-wrap {
    background: linear-gradient(135deg, rgba(64,145,108,.1), rgba(243,201,105,.06));
    border-color: var(--border);
}

/* ============================================================
   SECTION HERO — améliorations mineures
   ============================================================ */
.hero-stats-inline {
    display: flex;
    gap: 28px;
    justify-content: center;
    margin-top: 36px;
    flex-wrap: wrap;
}
.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}
.hero-stat-num {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}
.hero-stat-lbl {
    font-size: .68rem;
    color: rgba(255,255,255,.5);
    letter-spacing: .06em;
    text-transform: uppercase;
}

/* ============================================================
   WIDGET MÉTÉO MODERNE
   ============================================================ */
.wx-widget {
    background: linear-gradient(160deg, #1b2a4a 0%, #243558 45%, #1a2d50 100%);
    border-radius: var(--radius);
    padding: 24px;
    color: #e8f0fe;
    margin-bottom: 28px;
    box-shadow: 0 12px 40px rgba(0,0,0,.35), 0 2px 8px rgba(0,0,0,.2);
    overflow: hidden;
    position: relative;
}
/* Halo lunaire + étoiles */
.wx-widget::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 85% 10%, rgba(200,180,255,.18) 0%, transparent 35%),
        radial-gradient(2px 2px   at 8%  12%, #fff 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 18% 6%,  #fff 0%, transparent 100%),
        radial-gradient(2px 2px   at 30% 18%, #fff 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 45% 8%,  #fff 0%, transparent 100%),
        radial-gradient(2.5px 2.5px at 58% 4%,  #fff 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 68% 14%, #fff 0%, transparent 100%),
        radial-gradient(2px 2px   at 78% 22%, #fff 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 88% 6%,  #fff 0%, transparent 100%),
        radial-gradient(2px 2px   at 95% 18%, #fff 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 12% 32%, #fff 0%, transparent 100%),
        radial-gradient(2px 2px   at 22% 28%, #fff 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 50% 25%, #fff 0%, transparent 100%),
        radial-gradient(2px 2px   at 72% 30%, #fff 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 92% 38%, #fff 0%, transparent 100%),
        radial-gradient(2px 2px   at 35% 10%, rgba(200,220,255,.9) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 80% 15%, rgba(200,220,255,.8) 0%, transparent 100%);
    pointer-events: none;
}

/* Header */
.wx-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: .8rem;
    color: rgba(232,240,254,.55);
    gap: 8px;
}
.wx-header-left { display: flex; align-items: center; gap: 6px; }
.wx-header-left strong { color: rgba(232,240,254,.9); font-weight: 600; }
.wx-updated {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 20px;
    padding: 2px 10px;
    font-size: .72rem;
    flex-shrink: 0;
}

/* Bloc principal */
.wx-main {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.wx-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    min-width: 220px;
}
.wx-icon-xl { flex-shrink: 0; filter: drop-shadow(0 4px 12px rgba(0,0,0,.3)); }
.wx-temp-block { display: flex; flex-direction: column; gap: 4px; }
.wx-temp {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    font-family: var(--font-heading);
    letter-spacing: -.04em;
}
.wx-condition {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: rgba(232,240,254,.9);
}
.wx-ressenti {
    display: block;
    font-size: .8rem;
    color: rgba(232,240,254,.5);
    margin-top: 2px;
}

/* Détails */
.wx-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    flex-shrink: 0;
}
.wx-detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 10px;
    padding: 10px 14px;
    transition: background .2s;
}
.wx-detail-item:hover { background: rgba(255,255,255,.09); }
.wx-detail-icon { color: rgba(232,240,254,.45); flex-shrink: 0; }
.wx-detail-label {
    font-size: .72rem;
    color: rgba(232,240,254,.45);
    flex: 1;
}
.wx-detail-val {
    font-size: .88rem;
    font-weight: 600;
    color: rgba(232,240,254,.95);
}

/* Prévisions */
.wx-forecast {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    border-top: 1px solid rgba(255,255,255,.07);
    padding-top: 20px;
    margin-bottom: 16px;
}
.wx-day {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 12px;
    padding: 12px 8px;
    text-align: center;
    opacity: 0;
    transform: translateY(12px);
    animation: wxDayIn .4s ease forwards;
    transition: background .2s, border-color .2s;
}
.wx-day:hover {
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.15);
}
@keyframes wxDayIn {
    to { opacity: 1; transform: translateY(0); }
}
.wx-day-name {
    font-size: .72rem;
    font-weight: 600;
    color: rgba(232,240,254,.55);
    text-transform: uppercase;
    letter-spacing: .06em;
}
.wx-day-icon { line-height: 0; }
.wx-day-desc {
    font-size: .65rem;
    color: rgba(232,240,254,.45);
    line-height: 1.3;
}
.wx-day-temps {
    display: flex;
    gap: 6px;
    align-items: baseline;
}
.wx-day-max {
    font-size: .95rem;
    font-weight: 700;
    color: #fff;
}
.wx-day-min {
    font-size: .8rem;
    color: rgba(232,240,254,.4);
}
.wx-day-precip {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: .65rem;
    color: #60a5fa;
}

/* Source */
.wx-source {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: .72rem;
    color: rgba(232,240,254,.3);
}

/* Erreur */
.wx-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 32px;
    color: rgba(232,240,254,.4);
    text-align: center;
}

/* Overrides dark mode — déjà sombre, pas de changement */
[data-theme="dark"] .wx-widget { box-shadow: 0 8px 32px rgba(0,0,0,.5); }

/* Mode jour (entre lever et coucher du soleil) */
.wx-day-mode {
    background: linear-gradient(160deg, #1a6fa8 0%, #2389cc 40%, #38a8e8 100%);
    color: #fff;
    box-shadow: 0 12px 40px rgba(26, 111, 168, .35), 0 2px 8px rgba(26, 111, 168, .2);
}
.wx-day-mode::before {
    display: none;
}
.wx-day-mode .wx-header { border-bottom-color: rgba(255, 255, 255, .18); }
.wx-day-mode .wx-location { color: #fff; }
.wx-day-mode .wx-updated { color: rgba(255, 255, 255, .60); }
.wx-day-mode .wx-desc { color: rgba(255, 255, 255, .85); }
.wx-day-mode .wx-feels { color: rgba(255, 255, 255, .70); }
.wx-day-mode .wx-detail-item { background: rgba(255, 255, 255, .15); border-color: rgba(255, 255, 255, .20); color: #fff; }
.wx-day-mode .wx-detail-label { color: rgba(255, 255, 255, .65); }
.wx-day-mode .wx-day { background: rgba(255, 255, 255, .15); border-color: rgba(255, 255, 255, .18); }
.wx-day-mode .wx-day-name { color: rgba(255, 255, 255, .70); }
.wx-day-mode .wx-day-max { color: #fff; }
.wx-day-mode .wx-day-min { color: rgba(255, 255, 255, .60); }
.wx-day-mode .wx-day:hover { background: rgba(255, 255, 255, .25); }
.wx-day-mode .wx-forecast-title { color: rgba(255, 255, 255, .60); }
.wx-day-mode .wx-source { color: rgba(255, 255, 255, .45); }
.wx-day-mode .wx-error { color: rgba(255, 255, 255, .50); }
.wx-day-mode .wx-day-precip { color: #bfecff; }

/* Icônes SVG — forcer blanc en mode jour */
.wx-day-mode .wx-cloud path {
    stroke: rgba(255, 255, 255, .95) !important;
    fill: rgba(255, 255, 255, .25) !important;
    opacity: 1 !important;
}
.wx-day-mode .wx-icon-xl .wx-cloud path {
    stroke: rgba(255, 255, 255, .90) !important;
    fill: rgba(255, 255, 255, .20) !important;
}
.wx-day-mode .wx-fog-1,
.wx-day-mode .wx-fog-2,
.wx-day-mode .wx-fog-3,
.wx-day-mode .wx-fog-4 { stroke: rgba(255,255,255,.7) !important; }

/* Commentaire météo — colonne centrale dans wx-main */
.wx-comment {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: .85rem;
    color: rgba(232,240,254,.60);
    font-style: italic;
    line-height: 1.5;
    margin: 0;
    padding: 0 12px;
    background: transparent;
    border: none;
}
.wx-day-mode .wx-comment {
    color: rgba(255,255,255,.75);
}

/* Soleil — lever/coucher */
.wx-sun-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 12px;
    padding: 10px 16px;
    margin-bottom: 16px;
}
.wx-day-mode .wx-sun-row {
    background: rgba(255, 255, 255, .15);
    border-color: rgba(255, 255, 255, .22);
}
.wx-sun-item {
    display: flex;
    align-items: center;
    gap: 7px;
    flex: 1;
    justify-content: center;
}
.wx-sun-item svg { opacity: .75; flex-shrink: 0; }
.wx-sun-label {
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    opacity: .55;
    font-weight: 600;
}
.wx-sun-val {
    font-size: .95rem;
    font-weight: 700;
    letter-spacing: .02em;
}
.wx-sun-sep {
    width: 1px;
    height: 28px;
    background: rgba(255, 255, 255, .15);
    margin: 0 8px;
    flex-shrink: 0;
}
.wx-day-mode .wx-sun-sep { background: rgba(30, 90, 160, .18); }

/* Mobile */
@media (max-width: 640px) {
    .wx-main { gap: 16px; }
    .wx-left { min-width: 0; }
    .wx-temp { font-size: 3rem; }
    .wx-details { grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; }
    .wx-forecast { grid-template-columns: repeat(5, 1fr); gap: 4px; }
    .wx-day { padding: 8px 4px; }
    .wx-day-name { font-size: .62rem; }
    .wx-day-desc { display: none; }
}

/* ============================================================
   WIDGET MARÉES
   ============================================================ */
.tide-widget {
    background: linear-gradient(135deg, #0c2340 0%, #103a60 60%, #0a2d50 100%);
    border-radius: var(--radius);
    padding: 24px;
    color: #cfe8ff;
    margin-bottom: 28px;
    box-shadow: 0 8px 28px rgba(10,45,80,.3);
    position: relative;
    overflow: hidden;
}
.tide-widget::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 80% 0%, rgba(56,168,232,.12) 0%, transparent 55%),
        radial-gradient(ellipse at 10% 100%, rgba(30,100,180,.10) 0%, transparent 45%);
    pointer-events: none;
}
.tide-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 20px;
}
.tide-title svg { opacity: .85; flex-shrink: 0; }
.tide-coeff {
    font-size: .78rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: .04em;
}
.coeff-high { background: rgba(239,68,68,.2); color: #fca5a5; border: 1px solid rgba(239,68,68,.3); }
.coeff-mid  { background: rgba(59,130,246,.2); color: #93c5fd; border: 1px solid rgba(59,130,246,.3); }
.coeff-low  { background: rgba(148,163,184,.15); color: #cbd5e1; border: 1px solid rgba(148,163,184,.25); }

.tide-days {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}
.tide-day-block {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 12px;
    padding: 14px 16px;
}
.tide-day-label {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: rgba(207,232,255,.5);
    margin: 0 0 12px;
}
/* ── Tableau marées ── */
.tide-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .88rem;
}
.tide-table thead tr {
    background: rgba(10,30,60,.55);
    border-radius: 8px;
}
.tide-table thead th {
    padding: 9px 10px;
    text-align: left;
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: rgba(207,232,255,.5);
}
.tide-table thead th:first-child { border-radius: 8px 0 0 8px; width: 22px; }
.tide-table thead th:nth-child(2) { padding-left: 0; }
.tide-table thead th:last-child  { border-radius: 0 8px 8px 0; text-align: right; }
.tide-table thead th:nth-child(3),
.tide-table thead th:nth-child(4),
.tide-table thead th:nth-child(5) { text-align: right; }
.tide-table tbody tr {
    border-bottom: 1px solid rgba(255,255,255,.05);
}
.tide-table tbody tr:last-child { border-bottom: none; }
.tide-table tbody td { padding: 9px 10px; vertical-align: middle; }
.tide-table tbody td:nth-child(3),
.tide-table tbody td:nth-child(4),
.tide-table tbody td:nth-child(5) { text-align: right; }
/* icône flèche */
.tide-type-icon { display: flex; align-items: center; padding-right: 0; }
.tide-pm .tide-type-icon svg { stroke: #60c8ff; }
.tide-bm .tide-type-icon svg { stroke: #94a3b8; }
/* PM/BM label */
.tide-type-label {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    color: rgba(207,232,255,.6);
    padding-left: 2px;
}
/* heure */
.tide-time {
    font-size: .92rem;
    font-weight: 700;
    color: #fff;
}
/* hauteur */
.tide-height {
    font-size: .88rem;
    font-weight: 600;
    color: rgba(207,232,255,.75);
}
.tide-height::after { content: ' m'; font-size: .75em; opacity: .7; }
/* coefficient */
.tide-event-coeff {
    font-size: .85rem;
    font-weight: 700;
    color: #fbbf24;
    letter-spacing: .02em;
}
.tide-event-coeff--none {
    color: rgba(207,232,255,.25);
    font-weight: 400;
    font-size: .8rem;
}
.tide-source {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: .72rem;
    color: rgba(207,232,255,.3);
    margin: 0;
}

@media (max-width: 640px) {
    .tide-days { grid-template-columns: 1fr; }
    .tide-widget { padding: 20px 16px; }
    .tide-day-block { padding: 10px 12px; }
    /* Cache les labels de colonnes : "Coefficient" (11 chars) écrase la mise en page */
    .tide-col-row { display: none; }
    .tide-table tbody td { padding: 7px 6px; }
}

@media (max-width: 400px) {
    .tide-widget { padding: 16px 12px; }
    .tide-day-block { padding: 8px 10px; }
    .tide-table { font-size: .82rem; }
    .tide-table tbody td { padding: 5px 4px; }
}

/* ============================================================
   RESPONSIVE — compléments
   ============================================================ */
@media (max-width: 640px) {
    .testimonials-grid { gap: 16px; }
    .testimonial-card { padding: 22px 20px; }
    .weather-icon-wrap { width: 72px; height: 72px; border-radius: 16px; }
    .theme-toggle { display: none; }
    .search-icon-mobile { display: flex; }

    /* Paddings de sections réduits */
    .regions-section { padding: 44px 0; }
    .popular-section { padding: 40px 0; }
    .features-section { padding: 40px 0; }
    .testimonials-section { padding: 40px 0; }

    /* Container — légèrement plus aéré */
    .container { padding: 0 16px; }

    /* Noms de villes populaires — ne pas tronquer */
    .popular-name { white-space: normal; }

    /* Features — 1 colonne, icône plus petite */
    .features-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 28px; }
    .feature { padding: 20px 18px; display: flex; flex-direction: row; align-items: flex-start; gap: 16px; text-align: left; }
    .feature-icon { margin: 0; flex-shrink: 0; width: 48px; height: 48px; border-radius: 14px; }
    .feature h3 { font-size: 1rem; margin-bottom: 4px; }
    .feature p { font-size: .85rem; }

    /* Régions — section title */
    .regions-section .section-title { font-size: 1.5rem; }
    .section-sub { font-size: .88rem; margin-bottom: 24px; }

    /* Popular grid — 1 colonne sur très petits écrans */
    .popular-grid { grid-template-columns: 1fr; }

    /* Hero hint — plus discret */
    .hero-hint { font-size: .75rem; }

    /* Footer bottom */
    .footer-bottom { gap: 8px; }
}

/* ============================================================
   SCROLL REVEAL SYSTEM
   ============================================================ */
.reveal,
.reveal-left,
.reveal-right,
.reveal-scale {
    will-change: opacity, transform;
}
.reveal        { opacity: 0; transform: translateY(28px); }
.reveal-left   { opacity: 0; transform: translateX(-36px); }
.reveal-right  { opacity: 0; transform: translateX(36px); }
.reveal-scale  { opacity: 0; transform: scale(.94) translateY(16px); }

.reveal.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible,
.reveal-scale.is-visible {
    opacity: 1;
    transform: none;
    transition: opacity .65s cubic-bezier(.4,0,.2,1),
                transform .65s cubic-bezier(.4,0,.2,1);
}

/* Stagger — children animés en cascade */
.reveal-stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .5s cubic-bezier(.4,0,.2,1),
                transform .5s cubic-bezier(.4,0,.2,1);
    will-change: opacity, transform;
}
.reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay:   0ms; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay:  80ms; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 240ms; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 320ms; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 400ms; }
.reveal-stagger.is-visible > *:nth-child(7) { transition-delay: 480ms; }
.reveal-stagger.is-visible > *:nth-child(8) { transition-delay: 560ms; }

@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal-left, .reveal-right, .reveal-scale,
    .reveal-stagger > * {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}


/* ============================================================
   MENU FLOTTANT — navigation par sections (commune)
   ============================================================ */
.page-nav {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 900;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

/* Bouton toggle */
.page-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #2d6a4f;
    color: #fff;
    border: none;
    border-radius: 10px 0 0 10px;
    cursor: pointer;
    box-shadow: -3px 2px 12px rgba(0,0,0,.18);
    transition: background .2s;
    flex-shrink: 0;
    order: -1;  /* toujours en haut */
}
.page-nav-toggle:hover { background: #1b4332; }

/* Icônes burger / croix */
.page-nav-toggle .icon-close { display: none; }
.page-nav--open .page-nav-toggle .icon-menu  { display: none; }
.page-nav--open .page-nav-toggle .icon-close { display: block; }

/* Liste — CACHÉE par défaut via CSS, visible uniquement avec .page-nav--open */
.page-nav-list {
    display: none;  /* ← caché par défaut, priorité CSS suffisante */
    list-style: none;
    margin: 4px 0 0;
    padding: 6px 0;
    background: #fff;
    border-radius: 12px 0 0 12px;
    box-shadow: -4px 4px 20px rgba(0,0,0,.13);
    width: 190px;
    max-height: 70vh;
    overflow-y: auto;
    overflow-x: hidden;
}
/* Visible uniquement quand le nav parent a la classe --open */
.page-nav--open .page-nav-list {
    display: block;
    animation: navSlideIn .22s ease;
}
@keyframes navSlideIn {
    from { opacity: 0; transform: translateX(12px); }
    to   { opacity: 1; transform: translateX(0); }
}

.page-nav-list li { margin: 0; }

.page-nav-link {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 14px 8px 12px;
    text-decoration: none;
    color: #374151;
    font-size: .82rem;
    font-weight: 500;
    transition: background .15s, color .15s;
    border-left: 3px solid transparent;
    line-height: 1.3;
}
.page-nav-link:hover {
    background: #f0faf4;
    color: #2d6a4f;
    border-left-color: #a8d5b5;
}
.page-nav-link--active {
    background: #e8f5e9;
    color: #1b4332;
    font-weight: 700;
    border-left-color: #2d6a4f;
}

.page-nav-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    color: inherit;
    opacity: .7;
}
.page-nav-link--active .page-nav-icon { opacity: 1; }

.page-nav-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Scrollbar discrète */
.page-nav-list::-webkit-scrollbar { width: 4px; }
.page-nav-list::-webkit-scrollbar-track { background: transparent; }
.page-nav-list::-webkit-scrollbar-thumb { background: #c8e6c9; border-radius: 4px; }

/* Tablette : menu légèrement plus compact */
@media (max-width: 1024px) {
    .page-nav-list { width: 160px; }
    .page-nav-link { font-size: .78rem; padding: 7px 10px 7px 10px; }
}

/* Mobile < 768px : replié par défaut, toggle visible */
@media (max-width: 767px) {
    .page-nav { top: auto; bottom: 80px; transform: none; }
    .page-nav-list { width: 170px; max-height: 55vh; }
}

/* ============================================================
   RANDONNÉES & VÉLO
   ============================================================ */
.rando-widget {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 16px rgba(0,0,0,.07);
    padding: 28px 32px;
    margin-bottom: 28px;
}

.rando-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a3a2a;
    margin: 0 0 22px;
    padding-bottom: 14px;
    border-bottom: 2px solid #e8f5e9;
}

/* Deux colonnes côte à côte sur desktop */
.rando-panels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.rando-panel-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 700;
    color: #2d6a4f;
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e8f5e9;
}

/* Grille de cartes à l'intérieur de chaque panel */
.rando-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rando-card {
    background: #f7fbf8;
    border: 1px solid #d4edda;
    border-radius: 12px;
    padding: 14px 16px;
    transition: box-shadow .2s, border-color .2s;
}
.rando-card:hover {
    box-shadow: 0 4px 14px rgba(45,106,79,.12);
    border-color: #a8d5b5;
}

.rando-card-top {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.rando-network-badge {
    display: inline-block;
    background: #2d6a4f;
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 20px;
    letter-spacing: .01em;
}
.rando-network-badge--velo {
    background: #1565c0;
}

.rando-ref {
    font-size: .8rem;
    color: #555;
    font-weight: 600;
    background: #e8f5e9;
    padding: 1px 7px;
    border-radius: 8px;
}

.rando-nom {
    font-size: .95rem;
    font-weight: 600;
    color: #1a3a2a;
    margin: 0 0 8px;
    line-height: 1.35;
}

.rando-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.rando-meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: .82rem;
    color: #444;
}
.rando-meta-item svg { flex-shrink: 0; opacity: .65; }

/* Badges de difficulté */
.rando-diff {
    font-size: .75rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.diff-easy   { background: #d4edda; color: #155724; }
.diff-medium { background: #fff3cd; color: #856404; }
.diff-hard   { background: #fde8e8; color: #7f1d1d; }
.diff-expert { background: #3b1a6e; color: #fff; }

.rando-surface {
    font-size: .78rem;
    color: #666;
    margin: 4px 0 6px;
    font-style: italic;
}

.rando-osm-link {
    display: inline-block;
    margin-top: 6px;
    font-size: .8rem;
    color: #2d6a4f;
    text-decoration: none;
    font-weight: 600;
    opacity: .85;
    transition: opacity .15s;
}
.rando-osm-link:hover { opacity: 1; text-decoration: underline; }

.rando-source {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 20px 0 0;
    font-size: .75rem;
    color: #888;
    padding-top: 14px;
    border-top: 1px solid #e8f5e9;
}
.rando-source a { color: #2d6a4f; }

/* ---- Responsive ---- */
@media (max-width: 860px) {
    /* Deux panels passent en colonne dès tablette */
    .rando-panels { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 640px) {
    .rando-widget { padding: 20px 16px; }
    .rando-title  { font-size: 1.1rem; margin-bottom: 16px; }
    .rando-card   { padding: 12px 14px; }
    .rando-nom    { font-size: .9rem; }
}

@media (max-width: 400px) {
    .rando-widget { padding: 16px 12px; border-radius: 14px; }
    .rando-card   { padding: 10px 12px; }
    .rando-nom    { font-size: .85rem; }
    .rando-meta-item { font-size: .78rem; }
}

/* ============================================================
   HERO PREMIUM — grain + lustre
   ============================================================ */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.04'/%3E%3C/svg%3E");
    background-size: 256px 256px;
    z-index: 1;
    opacity: .55;
    mix-blend-mode: overlay;
}
.hero-content { z-index: 3; }
.hero .scroll-indicator { z-index: 3; }

/* Entrée du hero au chargement */
@keyframes heroEntrance {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow { animation: heroEntrance .7s .2s both; }
.hero h1      { animation: heroEntrance .7s .4s both; }
.hero-sub     { animation: heroEntrance .7s .55s both; }
.hero-hint    { animation: heroEntrance .7s .8s both; }

/* ============================================================
   SECTION DIVIDERS — bordure supérieure décorative
   ============================================================ */
.regions-section,
.popular-section,
.features-section,
.testimonials-section {
    position: relative;
}
.regions-section::before,
.features-section::before {
    content: '';
    position: absolute;
    top: 0; left: 50%; transform: translateX(-50%);
    width: 64px; height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--gold), var(--primary));
    border-radius: 2px;
    opacity: .55;
}

/* ============================================================
   STATS — animation compteur
   ============================================================ */
.stat-num {
    display: block;
    font-variant-numeric: tabular-nums;
    transition: color .3s;
}
.stats-banner.is-counting .stat-num {
    color: var(--gold);
}

/* ============================================================
   LANDSCAPE BANNER — parallax setup
   ============================================================ */
.landscape-banner {
    background-attachment: fixed;
    background-size: cover;
    background-position: center 40%;
}
@media (max-width: 768px) {
    /* fixed attachment buggy sur mobile Safari */
    .landscape-banner { background-attachment: scroll; }
}

/* ============================================================
   REGION CARDS — améliorations hover premium
   ============================================================ */
.region-card-wrap { cursor: pointer; }
.region-card::after {
    content: 'Explorer →';
    position: absolute;
    bottom: 18px;
    right: 18px;
    z-index: 3;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--gold);
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity var(--transition), transform var(--transition);
}
.region-card:hover::after {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================================
   FEATURES — icônes premium
   ============================================================ */
.feature::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    background: linear-gradient(135deg, transparent 60%, rgba(45,106,79,.04) 100%);
    pointer-events: none;
}
.feature { position: relative; overflow: hidden; }

/* ============================================================
   POPULAR CARDS — bordure gauche dorée au hover
   ============================================================ */
.popular-card::before { background: linear-gradient(to bottom, var(--gold), var(--primary)); }

/* ============================================================
   SECTION TITLE — ligne décorative
   ============================================================ */
.section-title-decorated {
    display: inline-flex;
    flex-direction: column;
    gap: 8px;
}
.section-title-decorated::after {
    content: '';
    display: block;
    height: 2px;
    width: 40px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    border-radius: 2px;
}

/* ============================================================
   DARK MODE — ajustements reveal
   ============================================================ */
[data-theme="dark"] .regions-section::before,
[data-theme="dark"] .features-section::before { opacity: .3; }

/* ============================================================
   PAGES HUB (événements, marchés, météo, activités)
   ============================================================ */

/* Hero hub — charte "Forêts & Or" */
/* =========================================================
   HUB PAGES — Premium redesign
   ========================================================= */

/* Hero with real photo background */
.hub-hero {
    min-height: 340px;
    display: flex;
    align-items: center;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    /* fallback gradient if no photo */
    background-color: #0d2018;
}
.hub-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(13,32,24,.55) 0%,
        rgba(13,32,24,.72) 60%,
        rgba(13,32,24,.88) 100%
    );
    pointer-events: none;
}
/* Subtle grain texture overlay */
.hub-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
    opacity: .4;
    pointer-events: none;
}
.hub-hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 72px 0 110px; /* extra bottom padding for floating filter card */
}
.hub-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .26em;
    color: #e9c46a;
    margin-bottom: 16px;
    opacity: .95;
}
.hub-hero-eyebrow::before,
.hub-hero-eyebrow::after {
    content: '';
    display: inline-block;
    width: 28px;
    height: 1px;
    background: rgba(233,196,106,.5);
}
.hub-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5.5vw, 3.6rem);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.01em;
    text-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.hub-hero-sub {
    font-size: 1.05rem;
    opacity: .75;
    max-width: 480px;
    margin: 0 auto 24px;
    line-height: 1.65;
    font-weight: 400;
}
.hub-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px 5px 10px;
    background: rgba(233,196,106,.18);
    border: 1px solid rgba(233,196,106,.4);
    border-radius: 20px;
    font-size: .82rem;
    font-weight: 600;
    color: #e9c46a;
    letter-spacing: .02em;
    backdrop-filter: blur(4px);
}
.hub-hero-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #e9c46a;
    box-shadow: 0 0 6px rgba(233,196,106,.7);
}

/* Fallback gradients (used only when no photo inline style) */
.hub-hero--evenements { background-color: #1b2a38; }
.hub-hero--marches    { background-color: #1b1a0d; }
.hub-hero--meteo      { background-color: #0b1e2e; }
.hub-hero--activites  { background-color: #0d1f15; }

/* ---- Floating filter card ---- */
.hub-page {
    padding-top: 0;
    padding-bottom: 60px;
}
.hub-filter-float-wrap {
    margin-top: -64px;
    position: relative;
    z-index: 10;
    margin-bottom: 48px;
}
.hub-filters-card {
    background: #fff;
    border: none;
    border-radius: 16px;
    padding: 28px 32px;
    box-shadow: 0 8px 40px rgba(0,0,0,.18), 0 2px 8px rgba(0,0,0,.08);
}
.hub-filters-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
}
.hub-filters-title-icon {
    width: 30px;
    height: 30px;
    background: var(--primary);
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
    flex-shrink: 0;
}
.hub-filters {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
}
.hub-filters-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: flex-end;
}
.hub-filter-group { display: flex; flex-direction: column; gap: 5px; flex: 1; min-width: 160px; }
.hub-filter-group label {
    font-size: .72rem;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: .09em;
}
.hub-filter-group select,
.hub-filter-group input[type="text"],
.hub-filter-group input[type="date"] {
    padding: 10px 14px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-size: .92rem;
    font-family: var(--font-body);
    background: #f9fafb;
    color: var(--text);
    transition: border-color .2s, background .2s, box-shadow .2s;
}
.hub-filter-group select:focus,
.hub-filter-group input:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(27,67,50,.1);
}
.hub-filter-group .cat-picker { width: 100%; }
.hub-filter-group .cat-picker-btn {
    width: 100%;
    padding: 10px 36px 10px 14px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-size: .92rem;
    font-family: var(--font-body);
    background: #f9fafb;
    color: var(--text);
    justify-content: flex-start;
    gap: 8px;
    transition: border-color .2s, background .2s, box-shadow .2s;
}
.hub-filter-group .cat-picker-btn:hover,
.hub-filter-group .cat-picker.is-open .cat-picker-btn {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(27,67,50,.1);
}
.hub-filter-group .cat-picker-chevron { right: 12px; }
/* Ville autocomplete */
.ville-ac-wrap { position: relative; }
.ville-ac-wrap input[type="text"] { width: 100%; box-sizing: border-box; }
.ville-ac-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: 0 8px 28px rgba(0,0,0,.14);
    z-index: 200;
    max-height: 260px;
    overflow-y: auto;
}
.ville-ac-item {
    display: flex;
    flex-direction: column;
    padding: 10px 14px;
    cursor: pointer;
    border-bottom: 1px solid var(--border);
    transition: background var(--transition);
}
.ville-ac-item:last-child { border-bottom: none; }
.ville-ac-item:hover, .ville-ac-item.active { background: rgba(27,67,50,.07); }
.ville-ac-nom { font-weight: 600; font-size: .9rem; color: var(--text); }
.ville-ac-sous { font-size: .78rem; color: var(--text-muted); }

.hub-filter-actions { flex-direction: row; gap: 10px; align-items: center; min-width: auto; }
.hub-filter-btn {
    padding: 11px 30px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-family: var(--font-body);
    font-size: .9rem;
    letter-spacing: .03em;
    cursor: pointer;
    transition: background .2s, transform .2s, box-shadow .2s;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(27,67,50,.25);
}
.hub-filter-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(27,67,50,.3);
}
.hub-filter-reset {
    font-size: .85rem;
    color: var(--text-muted);
    text-decoration: none;
    white-space: nowrap;
    transition: color .2s;
}
.hub-filter-reset:hover { color: var(--accent); }

/* ---- Hub tab nav ---- */
.hub-tab-nav {
    display: flex;
    gap: 0;
    margin-bottom: 40px;
    border-bottom: 2px solid var(--border);
}
.hub-tab {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 11px 22px;
    border-radius: 0;
    border: none;
    background: none;
    color: var(--text-muted);
    text-decoration: none;
    font-size: .9rem;
    font-weight: 500;
    transition: color .2s, background .2s;
    position: relative;
    bottom: -2px;
    border-bottom: 2px solid transparent;
}
.hub-tab:hover { color: var(--primary); background: rgba(27,67,50,.04); }
.hub-tab--active { color: var(--primary); font-weight: 700; border-bottom-color: var(--primary); background: none; }
.hub-tab-icon {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--poi-color, var(--primary)) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--poi-color, var(--primary)) 25%, transparent);
    color: var(--poi-color, var(--primary));
    flex-shrink: 0;
}
.hub-tab-icon svg { width: 12px; height: 12px; }

/* ---- Section titles ---- */
.hub-section-title {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    margin-bottom: 22px;
    color: var(--text);
    position: relative;
    padding-bottom: 12px;
    display: flex;
    align-items: baseline;
    gap: 12px;
}
.hub-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 44px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    border-radius: 2px;
}
.hub-section-count {
    font-family: var(--font-body);
    font-size: .82rem;
    font-weight: 600;
    color: var(--text-muted);
    background: #f1f5f1;
    padding: 2px 10px;
    border-radius: 12px;
    align-self: center;
}

/* ---- Stats chips ---- */
.hub-stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 36px;
}
.hub-stat-chip {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 22px;
    text-decoration: none;
    color: var(--text);
    font-size: .88rem;
    font-weight: 500;
    transition: all .2s;
    box-shadow: 0 1px 3px rgba(0,0,0,.05);
}
.hub-stat-chip:hover { border-color: var(--primary); background: rgba(27,67,50,.04); box-shadow: 0 2px 8px rgba(27,67,50,.1); }
.hub-stat-chip--active { border-color: var(--primary); background: rgba(27,67,50,.08); font-weight: 700; color: var(--primary); }
.hub-stat-emoji { font-size: 1.1rem; }
.hub-stat-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--poi-color, var(--primary)) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--poi-color, var(--primary)) 25%, transparent);
    color: var(--poi-color, var(--primary));
    flex-shrink: 0;
}
.hub-stat-icon svg { width: 16px; height: 16px; }
.hub-stat-count {
    font-size: .75rem;
    color: #6b7280;
    background: #f3f4f6;
    padding: 1px 8px;
    border-radius: 10px;
    font-weight: 600;
}

/* ---- Region cards grid (premium) ---- */
.hub-regions-overview { margin-bottom: 48px; }
.hub-regions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 14px;
}
.hub-region-card {
    display: flex;
    flex-direction: column;
    padding: 0;
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 14px;
    text-decoration: none;
    color: var(--text);
    transition: transform .22s, box-shadow .22s, border-color .22s;
    position: relative;
    overflow: hidden;
}
/* Colored top border driven by --card-accent CSS var */
.hub-region-card::before {
    content: '';
    display: block;
    height: 4px;
    background: var(--card-accent, var(--primary));
    border-radius: 14px 14px 0 0;
}
.hub-region-card-body {
    padding: 18px 20px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.hub-region-card-count {
    font-size: 2rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--card-accent, var(--primary));
    line-height: 1;
    letter-spacing: -.03em;
}
.hub-region-card strong {
    font-family: var(--font-heading);
    font-size: .95rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text);
}
.hub-region-card-label {
    font-size: .78rem;
    color: #9ca3af;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.hub-region-card-arrow {
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--card-accent, var(--primary));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity .2s, transform .2s;
}
.hub-region-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,.12);
    border-color: var(--card-accent, var(--primary));
}
.hub-region-card:hover .hub-region-card-arrow { opacity: 1; transform: translateX(0); }

/* ---- Dept chips ---- */
.hub-page-ellipsis { display: inline-flex; align-items: center; color: var(--text-muted); padding: 0 6px; }
.hub-dept-overview { margin-bottom: 32px; }
.hub-dept-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.hub-dept-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 16px;
    text-decoration: none;
    color: var(--text);
    font-size: .88rem;
    transition: all .2s;
}
.hub-dept-chip:hover { border-color: var(--primary); background: rgba(27,67,50,.04); }
.hub-dept-chip--active { border-color: var(--primary); background: rgba(27,67,50,.1); font-weight: 600; }
.hub-dept-code { font-weight: 700; color: var(--primary); }
.hub-dept-count { font-size: .78rem; color: var(--text-muted); }

/* ---- Results ---- */
.hub-results { margin-bottom: 40px; }
.hub-empty { color: var(--text-muted); font-style: italic; padding: 48px 0; text-align: center; }
.hub-empty a { color: var(--primary); text-decoration: underline; }

/* ---- Cards grid (événements / activités) ---- */
.hub-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
.hub-card {
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text);
    transition: transform .22s, box-shadow .22s, border-color .22s;
    display: flex;
    flex-direction: column;
}
.hub-card:hover { transform: translateY(-5px); box-shadow: 0 12px 36px rgba(0,0,0,.13); border-color: rgba(27,67,50,.2); }
.hub-card-img {
    height: 175px;
    background-size: cover;
    background-position: center;
    background-color: #e9ece8;
    flex-shrink: 0;
    position: relative;
}
.hub-card-img--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--poi-color, #2d6a4f) 10%, white);
}
.hub-card-img-icon {
    width: 64px;
    height: 64px;
    opacity: .35;
    color: var(--poi-color, #2d6a4f);
    display: flex;
    align-items: center;
    justify-content: center;
}
.hub-card-img-icon svg { width: 100%; height: 100%; }
.hub-card-cat-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(27,67,50,.85);
    backdrop-filter: blur(4px);
    color: #e9c46a;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .05em;
    padding: 3px 10px;
    border-radius: 10px;
}
.hub-card-body { padding: 16px 18px 18px; flex: 1; display: flex; flex-direction: column; }
.hub-card-cat { font-size: .78rem; color: var(--text-muted); display: block; margin-bottom: 5px; }
.hub-card-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    margin-bottom: 8px;
    line-height: 1.3;
    color: var(--text);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    flex: 1;
}
.hub-card-lieu { font-size: .82rem; color: var(--text-muted); margin-bottom: 4px; display: flex; align-items: center; gap: 4px; }
.hub-card-lieu::before { content: '📍'; font-size: .75rem; opacity: .7; }
.hub-card-date {
    font-size: .82rem;
    color: var(--primary);
    font-weight: 600;
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid #f1f5f1;
}
.hub-card-desc { font-size: .82rem; color: var(--text-muted); line-height: 1.45; margin-top: 6px; }

/* ---- List layout v2 (marchés) ---- */
.hub-list-v2 {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.hub-list-item-v2 {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text);
    transition: transform .18s, box-shadow .18s, border-color .18s;
}
.hub-list-item-v2:hover {
    transform: translateX(3px);
    box-shadow: 0 4px 16px rgba(0,0,0,.09);
    border-color: rgba(27,67,50,.25);
}
.hub-list-icon-sq {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(27,67,50,.1), rgba(27,67,50,.06));
    border: 1px solid rgba(27,67,50,.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.hub-list-body-v2 { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hub-list-title-v2 {
    font-size: .95rem;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}
.hub-list-loc {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: .82rem;
    color: #6b7280;
    font-weight: 500;
}
.hub-list-loc-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #d1d5db;
    flex-shrink: 0;
}
.hub-list-adresse-v2 { font-size: .78rem; color: #9ca3af; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hub-list-arrow-v2 {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1.5px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    color: #9ca3af;
    transition: border-color .18s, color .18s, background .18s, transform .18s;
    opacity: 0;
}
.hub-list-item-v2:hover .hub-list-arrow-v2 {
    opacity: 1;
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(27,67,50,.06);
    transform: translateX(2px);
}

/* Keep old .hub-list classes intact for any legacy use */
.hub-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg);
}
.hub-list-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 15px 20px;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    text-decoration: none;
    color: var(--text);
    transition: background .15s;
}
.hub-list-item:last-child { border-bottom: none; }
.hub-list-item:hover { background: rgba(27,67,50,.04); }
.hub-list-emoji {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(27,67,50,.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}
.hub-list-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--poi-color, var(--primary)) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--poi-color, var(--primary)) 25%, transparent);
    color: var(--poi-color, var(--primary));
    flex-shrink: 0;
}
.hub-list-icon svg { width: 17px; height: 17px; }
.hub-list-body { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hub-list-title { font-size: .95rem; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hub-list-lieu { font-size: .82rem; color: var(--text-muted); font-weight: 500; }
.hub-list-adresse { font-size: .78rem; color: var(--text-muted); font-style: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hub-list-arrow {
    font-size: 1rem;
    color: var(--text-muted);
    flex-shrink: 0;
    transition: transform .15s, color .15s;
    opacity: .4;
}
.hub-list-item:hover .hub-list-arrow { transform: translateX(3px); color: var(--primary); opacity: 1; }

/* Pagination */
.hub-pagination { display: flex; justify-content: center; gap: 6px; margin-top: 32px; flex-wrap: wrap; }
.hub-page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    text-decoration: none;
    color: var(--text);
    font-size: .9rem;
    transition: all .2s;
}
.hub-page-link:hover { border-color: var(--primary); }
.hub-page-link--active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Hub tab nav — style onglets soulignés */
.hub-tab-nav {
    display: flex;
    gap: 0;
    margin-bottom: 32px;
    border-bottom: 2px solid var(--border);
}
.hub-tab {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 11px 22px;
    border-radius: 0;
    border: none;
    background: none;
    color: var(--text-muted);
    text-decoration: none;
    font-size: .9rem;
    font-weight: 500;
    transition: color .2s, background .2s;
    position: relative;
    bottom: -2px;
    border-bottom: 2px solid transparent;
}
.hub-tab:hover { color: var(--primary); background: rgba(27,67,50,.04); }
.hub-tab--active { color: var(--primary); font-weight: 700; border-bottom-color: var(--primary); background: none; }

/* POI detail — "Voir aussi" hub links */
.aside-block--hub h3 { margin-bottom: 10px; font-size: .82rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; }
.hub-link-pill {
    display: block;
    padding: 7px 12px;
    margin-bottom: 6px;
    background: var(--bg-subtle, rgba(27,67,50,.06));
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--primary);
    text-decoration: none;
    font-size: .85rem;
    font-weight: 500;
    transition: background .2s, border-color .2s;
}
.hub-link-pill:hover { background: rgba(27,67,50,.12); border-color: var(--primary); }

/* Commune hub links grid */
.commune-hub-links h2 { margin-bottom: 16px; }
.commune-hub-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.commune-hub-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
    padding: 16px 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-subtle, rgba(27,67,50,.04));
    text-decoration: none;
    color: var(--text);
    transition: all .2s;
}
.commune-hub-card:hover { border-color: var(--primary); background: rgba(27,67,50,.08); transform: translateY(-2px); }
.commune-hub-emoji { font-size: 1.8rem; line-height: 1; }
.commune-hub-card strong { font-size: .88rem; color: var(--primary); }
.commune-hub-card span { font-size: .78rem; color: var(--text-muted); }

/* Region/dept hub link pills */
.region-hub-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 16px 0 24px;
}
.region-hub-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    border-radius: 24px;
    border: 1.5px solid var(--border);
    background: var(--card-bg);
    color: var(--text);
    text-decoration: none;
    font-size: .88rem;
    font-weight: 500;
    transition: all .2s;
}
.region-hub-pill:hover { border-color: var(--primary); color: var(--primary); background: rgba(27,67,50,.05); }

@media (max-width: 700px) {
    .commune-hub-grid { grid-template-columns: repeat(2, 1fr); }
    .region-hub-links { flex-direction: column; }
    .region-hub-pill { justify-content: center; }
}
@media (max-width: 420px) {
    .commune-hub-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
}

/* Search bar (météo) */
.hub-search-bar { margin-bottom: 36px; }
.hub-search-form { display: flex; gap: 10px; max-width: 600px; margin: 0 auto; }
.hub-search-form input {
    flex: 1;
    padding: 12px 18px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    background: var(--card-bg);
    color: var(--text);
}
.hub-search-form button {
    padding: 12px 24px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

/* Météo regions */
.meteo-regions h2 { font-family: var(--font-heading); font-size: 1.4rem; margin-bottom: 20px; }
.meteo-regions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 20px;
}
.meteo-region-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    transition: border-color .2s;
}
.meteo-region-card:hover { border-color: var(--primary); }
.meteo-region-header h3 { font-family: var(--font-heading); font-size: 1.1rem; margin-bottom: 4px; }
.meteo-region-header h3 a { color: var(--text); text-decoration: none; }
.meteo-region-header h3 a:hover { color: var(--primary); }
.meteo-region-info { font-size: .82rem; color: var(--text-muted); }
.meteo-region-ref { margin-top: 12px; }
.meteo-ville-link {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(59,130,246,.1);
    color: #1d4ed8;
    border-radius: 6px;
    text-decoration: none;
    font-size: .88rem;
    font-weight: 500;
    transition: background .2s;
}
.meteo-ville-link:hover { background: rgba(59,130,246,.2); }
.meteo-dept-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.meteo-dept-tag {
    font-size: .8rem;
    padding: 4px 10px;
    background: var(--bg);
    border-radius: 6px;
    text-decoration: none;
    color: var(--text-muted);
    transition: all .2s;
}
.meteo-dept-tag:hover { color: var(--primary); background: rgba(27,67,50,.06); }

/* Responsive hub */
@media (max-width: 768px) {
    .hub-hero { padding: 48px 0 36px; }
    .hub-hero h1 { font-size: 1.8rem; }
    .hub-hero-sub { font-size: .95rem; }
    .hub-filters-card { padding: 20px; }
    .hub-filters-row { flex-direction: column; gap: 12px; }
    .hub-filter-group { min-width: 100%; }
    .hub-filter-actions { flex-direction: row; }
    .hub-cards-grid { grid-template-columns: 1fr; }
    .hub-regions-grid { grid-template-columns: 1fr; }
    .meteo-regions-grid { grid-template-columns: 1fr; }
    .hub-stats-row { gap: 8px; }
    .hub-stat-chip { font-size: .82rem; padding: 6px 12px; }
    .hub-stat-label { display: none; }
}


/* ============================================================
   PAGE WEEK-END
   ============================================================ */

/* Hero */
.wkd-hero {
    position: relative;
    min-height: 260px;
    display: flex;
    align-items: flex-end;
    background: var(--primary);
    background-size: cover;
    background-position: center 40%;
    overflow: hidden;
}
.wkd-hero--photo .wkd-hero-overlay {
    background: linear-gradient(0deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.30) 60%, rgba(0,0,0,.10) 100%);
}
.wkd-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(0deg, rgba(27,67,50,.85) 0%, rgba(27,67,50,.45) 70%, rgba(27,67,50,.1) 100%);
}
.wkd-hero-inner { position: relative; padding: 48px 0 36px; }
.wkd-hero-text h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.7rem, 4vw, 2.6rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px;
    line-height: 1.15;
}
.wkd-hero-sub {
    font-size: 1.05rem;
    color: rgba(255,255,255,.88);
    margin: 0 0 14px;
}
.wkd-hero-updated {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .82rem;
    color: rgba(255,255,255,.7);
    background: rgba(255,255,255,.12);
    border-radius: 20px;
    padding: 4px 12px;
}

/* Corps */
.wkd-body { padding: 40px 0 60px; }

/* Tabs catégories */
.wkd-cat-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 36px;
}
.wkd-cat-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 16px;
    border: 1.5px solid var(--border);
    border-radius: 20px;
    background: #fff;
    color: var(--text);
    font-size: .88rem;
    font-weight: 500;
    cursor: pointer;
    transition: all .18s;
}
.wkd-cat-btn:hover { border-color: var(--primary); color: var(--primary); background: rgba(27,67,50,.04); }
.wkd-cat-btn--active { background: var(--primary); color: #fff; border-color: var(--primary); }
.wkd-cat-count {
    background: rgba(255,255,255,.25);
    border-radius: 10px;
    padding: 1px 6px;
    font-size: .78rem;
}
.wkd-cat-btn--active .wkd-cat-count { background: rgba(255,255,255,.25); }
.wkd-cat-btn:not(.wkd-cat-btn--active) .wkd-cat-count { background: rgba(27,67,50,.08); color: var(--primary); }

/* Sections */
.wkd-section { margin-bottom: 48px; }
.wkd-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border);
}
.wkd-section-emoji { font-size: 1.4rem; }
.wkd-section-nb {
    margin-left: auto;
    font-size: .82rem;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--bg);
    border-radius: 12px;
    padding: 3px 10px;
}

/* Grille cards */
.wkd-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
.wkd-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text);
    transition: box-shadow .18s, transform .18s;
}
.wkd-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.10); transform: translateY(-2px); }
.wkd-card-img {
    height: 160px;
    background: var(--bg) center/cover no-repeat;
}
.wkd-card-img--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(27,67,50,.06);
    color: var(--primary);
}
.wkd-card-body { padding: 16px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.wkd-card-cat {
    font-size: .75rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: .04em;
}
.wkd-card-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
    line-height: 1.3;
}
.wkd-card-loc,
.wkd-card-date {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: .8rem;
    color: var(--text-muted);
}
.wkd-card-desc {
    font-size: .82rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 4px 0 0;
}

/* État vide */
.wkd-empty {
    text-align: center;
    padding: 64px 24px;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

/* Maillage régions */
.wkd-regions-section {
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: 52px 0 60px;
}
.wkd-regions-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 28px;
}
.wkd-regions-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
}
.wkd-region-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 24px;
    text-decoration: none;
    color: var(--text);
    font-size: .9rem;
    font-weight: 500;
    transition: all .18s;
}
.wkd-region-pill:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(27,67,50,.04);
    transform: translateY(-1px);
    box-shadow: 0 3px 12px rgba(27,67,50,.10);
}
.wkd-region-emoji { font-size: 1.1rem; }
.wkd-region-name { font-weight: 600; }
.wkd-regions-cta-wrap { text-align: center; margin-top: 8px; }
.btn-outline-green {
    display: inline-block;
    padding: 11px 28px;
    border: 2px solid var(--primary);
    border-radius: 8px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: .95rem;
    transition: all .18s;
}
.btn-outline-green:hover { background: var(--primary); color: #fff; }

/* Responsive */
@media (max-width: 640px) {
    .wkd-hero-inner { padding: 36px 0 28px; }
    .wkd-grid { grid-template-columns: 1fr; }
    .wkd-cat-nav { gap: 6px; }
    .wkd-cat-btn { font-size: .82rem; padding: 6px 12px; }
    .wkd-regions-grid { gap: 8px; }
    .wkd-region-pill { font-size: .84rem; padding: 7px 14px; }
}

/* Barre villes principales — liens événements (page région) */
.region-top-villes-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 14px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 18px;
    font-size: .86rem;
}
.region-top-villes-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
    padding-right: 4px;
}
.region-top-villes-label svg { color: var(--text-muted); flex-shrink: 0; }
.region-top-ville-link {
    display: inline-block;
    padding: 4px 11px;
    border-radius: 20px;
    background: rgba(45,106,79,.08);
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background .15s, color .15s;
}
.region-top-ville-link:hover {
    background: var(--primary);
    color: #fff;
}
[data-theme="dark"] .region-top-villes-bar { background: var(--bg-card); }
[data-theme="dark"] .region-top-ville-link { background: rgba(82,183,136,.12); }
@media (max-width: 600px) {
    .region-top-villes-bar { gap: 6px; font-size: .82rem; }
    .region-top-ville-link { padding: 4px 9px; }
}

/* GetYourGuide widget */
.gyg-widget-wrap {
    padding: 40px 0 56px;
    border-top: 1px solid var(--border);
    margin-top: 16px;
}
.gyg-widget-title {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 20px;
}
.gyg-widget-title svg { color: var(--primary); flex-shrink: 0; }
.gyg-widget-wrap--poi {
    border-top: 1px solid var(--border);
    padding: 36px 0 56px;
    margin-top: 0;
}

/* Pill week-end (mis en avant sur page région) */
.region-hub-pill--weekend {
    background: linear-gradient(135deg, var(--primary) 0%, #2d6a4f 100%);
    color: #fff !important;
    border-color: transparent;
    font-weight: 600;
}
.region-hub-pill--weekend:hover {
    opacity: .9;
    color: #fff !important;
}


/* ============================================================
   HOME EXPLORE — carousel regions
   ============================================================ */
.home-explore { padding: 56px 0 48px; background: #fff; }
.home-explore-header {
    display: flex; align-items: flex-start; justify-content: space-between;
    gap: 24px; margin-bottom: 32px; flex-wrap: wrap;
}
.home-explore-lead h2 {
    font-family: var(--font-heading); font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700; color: var(--text); margin: 0 0 6px;
}
.home-explore-lead p { color: var(--text-muted); font-size: .95rem; margin: 0 0 16px; }
.home-explore-cta {
    display: inline-flex; align-items: center; gap: 6px; padding: 9px 20px;
    border: 2px solid var(--primary); border-radius: 8px; color: var(--primary);
    text-decoration: none; font-weight: 600; font-size: .9rem; transition: all .18s;
}
.home-explore-cta:hover { background: var(--primary); color: #fff; }
.home-hub-pills { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-start; }
.home-hub-pill {
    display: flex; flex-direction: column; align-items: center; gap: 5px;
    padding: 12px 16px; background: var(--bg); border: 1.5px solid var(--border);
    border-radius: 12px; text-decoration: none; color: var(--text-muted);
    font-size: .78rem; font-weight: 600; transition: all .18s; min-width: 72px; text-align: center;
}
.home-hub-pill:hover { border-color: var(--primary); color: var(--primary); background: rgba(27,67,50,.04); }
.hhp-icon { color: var(--primary); line-height: 0; }
.home-carousel-wrap { position: relative; }
.home-carousel {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
    scrollbar-width: none; -ms-overflow-style: none; padding-bottom: 8px;
}
.home-carousel::-webkit-scrollbar { display: none; }
.home-rc {
    flex: 0 0 220px; height: 220px; border-radius: 16px; overflow: hidden; position: relative;
    background-size: cover; background-position: center; text-decoration: none;
    scroll-snap-align: start; display: flex; flex-direction: column; justify-content: flex-end;
    transition: transform .2s, box-shadow .2s;
}
.home-rc:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(0,0,0,.2); }
.home-rc-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.18) 60%, transparent 100%);
}
.home-rc-badge {
    position: absolute; top: 12px; left: 12px; background: rgba(233,196,106,.92);
    color: #1c1917; font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 12px;
}
.home-rc-body { position: relative; padding: 14px; }
.home-rc-body h3 {
    font-family: var(--font-heading); font-size: 1.05rem; font-weight: 700;
    color: #fff; margin: 0 0 3px; line-height: 1.2;
}
.home-rc-body p { font-size: .76rem; color: rgba(255,255,255,.75); margin: 0; }
.home-rc--all {
    flex-direction: column; align-items: center; justify-content: center; gap: 10px;
    background: var(--bg); border: 2px dashed var(--border); color: var(--text-muted);
    font-size: .88rem; font-weight: 600; text-align: center;
}
.home-rc--all:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-3px); }
.home-carousel-btn {
    position: absolute; top: 50%; transform: translateY(-60%);
    width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--border);
    background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.12);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: var(--text); transition: all .18s; z-index: 10;
}
.home-carousel-btn:hover { border-color: var(--primary); color: var(--primary); }
.home-carousel-btn--prev { left: -18px; }
.home-carousel-btn--next { right: -18px; }

/* ============================================================
   HOME MAP SECTION — deux colonnes
   ============================================================ */
.home-map-section { background: var(--bg); padding: 64px 0 72px; border-top: 1px solid var(--border); }
.home-map-container { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.home-map-left { display: flex; flex-direction: column; }
.home-map-title {
    font-family: var(--font-heading); font-size: clamp(1.9rem, 3.5vw, 2.8rem);
    font-weight: 700; color: var(--text); line-height: 1.15; margin: 0 0 12px;
}
.home-map-sub { color: var(--text-muted); font-size: .98rem; margin: 0 0 28px; line-height: 1.6; }
.home-map-search {
    display: flex; border-radius: 10px; overflow: hidden; border: 1.5px solid var(--border);
    box-shadow: 0 2px 12px rgba(0,0,0,.06); margin-bottom: 24px;
}
.home-map-search input {
    flex: 1; padding: 13px 18px; border: none; outline: none;
    font-size: .95rem; font-family: var(--font-body); color: var(--text); background: #fff;
}
.home-map-search input::placeholder { color: var(--text-muted); }
.home-map-search button {
    display: flex; align-items: center; gap: 7px; padding: 13px 22px;
    background: var(--primary); color: #fff; border: none; font-size: .9rem;
    font-weight: 600; cursor: pointer; font-family: var(--font-body);
    transition: background .18s; white-space: nowrap;
}
.home-map-search button:hover { background: var(--primary-light); }
.home-map-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.home-map-stat {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    padding: 16px 18px; background: #fff; border: 1.5px solid var(--border);
    border-radius: 12px; text-decoration: none; color: var(--text); transition: all .18s;
}
.home-map-stat:hover { border-color: var(--primary); box-shadow: 0 4px 16px rgba(27,67,50,.08); }
.home-map-stat svg { color: var(--primary); margin-bottom: 4px; }
.hms-num { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; color: var(--text); line-height: 1; }
.hms-lbl { font-size: .78rem; color: var(--text-muted); font-weight: 500; }
.home-map-right-inner { display: grid; grid-template-columns: 1fr 200px; gap: 20px; align-items: start; }
.home-region-list {
    background: #fff; border: 1.5px solid var(--border); border-radius: 14px;
    padding: 18px 16px; max-height: 480px; overflow-y: auto;
}
.home-region-list-title {
    font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
    color: var(--text-muted); margin: 0 0 10px;
}
.home-region-row {
    display: flex; align-items: center; gap: 8px; padding: 7px 6px;
    border-radius: 8px; text-decoration: none; color: var(--text); font-size: .84rem; transition: background .15s;
}
.home-region-row:hover { background: rgba(27,67,50,.06); color: var(--primary); }
.home-region-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.home-region-name { flex: 1; font-weight: 500; }
.home-region-count { font-size: .78rem; font-weight: 700; color: var(--text-muted); }
.home-region-all-link {
    display: block; text-align: center; padding: 10px; font-size: .82rem;
    font-weight: 600; color: var(--primary); text-decoration: none;
    border-top: 1px solid var(--border); margin-top: 8px;
}
.home-region-all-link:hover { text-decoration: underline; }
@media (max-width: 900px) {
    .home-map-container { grid-template-columns: 1fr; gap: 40px; }
    .home-map-right-inner { grid-template-columns: 1fr; }
    .home-region-list { max-height: 280px; }
}
@media (max-width: 640px) {
    .home-explore { padding: 36px 0 32px; }
    .home-explore-header { flex-direction: column; }
    .home-hub-pills { gap: 8px; }
    .home-hub-pill { min-width: 60px; padding: 10px 12px; font-size: .72rem; }
    .home-rc { flex: 0 0 180px; height: 190px; }
    .home-map-stats { grid-template-columns: repeat(2, 1fr); }
    .home-carousel-btn { display: none; }
}

/* ============================================================
   LE WEEK-END — Hero éditorial premium
   ============================================================ */
.weekend-hero-section {
    padding: 80px 0 32px;
    background: var(--bg);
}
.weekend-hero {
    position: relative;
    display: block;
    border-radius: 28px;
    overflow: hidden;
    min-height: 360px;
    background-color: #1c1917;
    text-decoration: none;
    color: #fff;
    box-shadow: 0 24px 60px -20px rgba(15, 23, 42, .35), 0 8px 24px -8px rgba(15, 23, 42, .2);
    transition: transform .4s cubic-bezier(.22, 1, .36, 1), box-shadow .4s;
    isolation: isolate;
}
.weekend-bg-stack {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.weekend-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: saturate(1.35) brightness(1.12) contrast(1.05);
    opacity: 0;
    transition: opacity 1.1s cubic-bezier(.4, 0, .2, 1), transform 6s linear;
    transform: scale(1);
}
.weekend-bg.is-active {
    opacity: 1;
    transform: scale(1.04);
}
.weekend-dots {
    position: absolute;
    bottom: 22px;
    right: 26px;
    z-index: 4;
    display: flex;
    gap: 7px;
}
.weekend-swipe-hint {
    display: none;
}
@media (max-width: 640px) {
    .weekend-swipe-hint {
        display: flex;
        align-items: center;
        gap: 6px;
        position: absolute;
        bottom: 66px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 5;
        font-size: .72rem;
        font-weight: 500;
        color: rgba(255, 255, 255, .75);
        letter-spacing: .04em;
        white-space: nowrap;
        pointer-events: none;
        animation: swipeHintFade 4s ease forwards;
        animation-delay: 1s;
        opacity: 0;
    }
}
@keyframes swipeHintFade {
    0%   { opacity: 0; }
    15%  { opacity: 1; }
    75%  { opacity: 1; }
    100% { opacity: 0; }
}
.weekend-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .35);
    transition: background .3s, width .3s;
}
.weekend-dot.is-active {
    background: #e9c46a;
    width: 22px;
    border-radius: 4px;
}
.weekend-hero:hover {
    box-shadow: 0 32px 70px -22px rgba(15, 23, 42, .45), 0 12px 28px -10px rgba(15, 23, 42, .25);
}
.weekend-hero, .weekend-hero:hover, .weekend-hero:focus,
.weekend-hero *, .weekend-hero:hover * {
    text-decoration: none !important;
}
.weekend-hero:hover .weekend-bg.is-active {
    transform: scale(1.08);
    transition: transform 1.2s cubic-bezier(.22, 1, .36, 1);
}
.weekend-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(95deg, rgba(15, 23, 42, .72) 0%, rgba(15, 23, 42, .35) 45%, rgba(15, 23, 42, 0) 78%),
        linear-gradient(0deg, rgba(0, 0, 0, .22), rgba(0, 0, 0, 0) 35%);
    z-index: 1;
}
.weekend-hero-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.06) 1px, transparent 0);
    background-size: 22px 22px;
    mix-blend-mode: overlay;
    opacity: .5;
    z-index: 2;
    pointer-events: none;
}
.weekend-hero-content {
    position: relative;
    z-index: 3;
    padding: 56px 60px 56px;
    max-width: 620px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
}
.weekend-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    background: rgba(255, 255, 255, .14);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #fff;
}
.weekend-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4.4vw, 3.4rem);
    font-weight: 700;
    line-height: 1.05;
    margin: 0;
    color: #fff;
    letter-spacing: -.01em;
    text-shadow: 0 2px 24px rgba(0, 0, 0, .35);
}
.weekend-hero-title em {
    font-style: italic;
    color: #e9c46a;
    font-weight: 700;
}
.weekend-hero-sub {
    font-size: 1.05rem;
    line-height: 1.5;
    margin: 0;
    color: rgba(255, 255, 255, .88);
    max-width: 480px;
    text-shadow: 0 1px 12px rgba(0, 0, 0, .35);
}
.weekend-hero-sub strong {
    color: #fff;
    font-weight: 700;
}
.weekend-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    padding: 14px 26px;
    background: #fff;
    color: #1c1917;
    border-radius: 999px;
    font-size: .92rem;
    font-weight: 600;
    letter-spacing: .01em;
    box-shadow: 0 6px 20px -4px rgba(0, 0, 0, .25);
    transition: transform .25s, box-shadow .25s, background .25s;
}
.weekend-hero:hover .weekend-hero-cta {
    background: #e9c46a;
    transform: translateX(4px);
    box-shadow: 0 10px 28px -6px rgba(233, 196, 106, .55);
}
.weekend-hero-cta svg { transition: transform .25s; }
.weekend-hero:hover .weekend-hero-cta svg { transform: translateX(3px); }

/* Date de mise à jour */
.wh-update {
    font-size: .72rem;
    color: rgba(255,255,255,.55);
    letter-spacing: .02em;
}

/* Flèches de navigation manuelle */
.wh-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,.35);
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(6px);
    color: #fff;
    cursor: pointer;
    transition: background .2s, transform .2s;
    text-decoration: none !important;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    pointer-events: all;
}
.wh-btn:hover {
    background: rgba(255,255,255,.3);
    transform: translateY(-50%) scale(1.08);
}
.wh-btn--prev { left: 1.25rem; }
.wh-btn--next { right: 1.25rem; }
@media (max-width: 640px) {
    .wh-btn { display: none; }
    .weekend-dots { right: auto; left: 50%; transform: translateX(-50%); bottom: 90px; }
}

@media (max-width: 720px) {
    .weekend-hero-section { padding: 16px 0 20px; }
    .weekend-hero { min-height: 340px; border-radius: 22px; }
    .weekend-hero-content { padding: 32px 24px; gap: 10px; }
    .weekend-hero-cta { padding: 11px 20px; font-size: .86rem; }
    .weekend-hero-title { font-size: 1.55rem; }
    .weekend-hero-sub { font-size: .95rem; max-width: 100%; min-height: calc(2 * .95rem * 1.5); }
    .wh-update { display: none; }
}
@media (max-width: 480px) {
    .weekend-hero { min-height: auto; height: auto; padding-bottom: 24px; }
    .weekend-hero-content { padding: 24px 52px; gap: 8px; }
    .weekend-hero-title { font-size: 1.25rem; }
    .weekend-hero-eyebrow { font-size: .64rem; padding: 4px 9px; }
    .weekend-hero-cta { padding: 9px 16px; font-size: .8rem; }
    .weekend-hero-sub { font-size: .82rem; min-height: calc(2 * .82rem * 1.5); }
}

/* ============================================================
   EXPLORER LES RÉGIONS — Carrousel premium
   ============================================================ */
.regions-explore-section {
    padding: 56px 0 80px;
    background: var(--bg);
}
.regions-explore-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.regions-explore-eyebrow {
    display: block;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 6px;
}
.regions-explore-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    line-height: 1.1;
    margin: 0;
    color: var(--text);
    letter-spacing: -.01em;
}
.regions-explore-all {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--primary);
    font-size: .92rem;
    font-weight: 600;
    text-decoration: none;
    transition: gap .2s, color .2s;
    padding-bottom: 6px;
}
.regions-explore-all:hover { gap: 11px; color: var(--primary-light); }

.regions-carousel-wrap { position: relative; }
.regions-carousel {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 8px 4px 16px;
    margin: 0 -4px;
}
.regions-carousel::-webkit-scrollbar { display: none; }

.rc-card {
    position: relative;
    flex: 0 0 280px;
    height: 380px;
    border-radius: 20px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    text-decoration: none;
    scroll-snap-align: start;
    color: #fff;
    box-shadow: 0 8px 24px -8px rgba(15, 23, 42, .25);
    transition: transform .4s cubic-bezier(.22, 1, .36, 1), box-shadow .4s;
    isolation: isolate;
}
.rc-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 44px -12px rgba(15, 23, 42, .4);
}
.rc-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(15, 23, 42, .92) 0%, rgba(15, 23, 42, .55) 35%, rgba(15, 23, 42, .12) 70%, transparent 100%);
    z-index: 1;
    transition: background .3s;
}
.rc-card:hover .rc-overlay {
    background: linear-gradient(0deg, rgba(15, 23, 42, .96) 0%, rgba(15, 23, 42, .6) 40%, rgba(15, 23, 42, .15) 75%, transparent 100%);
}
.rc-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 22px 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.rc-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.15;
    margin: 0;
    color: #fff;
    letter-spacing: -.005em;
    text-shadow: 0 2px 16px rgba(0, 0, 0, .4);
}
.rc-count {
    font-size: .82rem;
    color: rgba(255, 255, 255, .82);
    font-weight: 500;
    letter-spacing: .01em;
}
.rc-count--muted { color: rgba(255, 255, 255, .65); font-style: italic; }

.rc-arrow {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, .28);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity .3s, transform .3s, background .25s;
}
.rc-card:hover .rc-arrow {
    opacity: 1;
    transform: translateX(0);
    background: rgba(255, 255, 255, .3);
}

.regions-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text);
    transition: all .2s;
    z-index: 10;
}
.regions-carousel-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 6px 18px rgba(27, 67, 50, .15);
}
.regions-carousel-btn:disabled {
    opacity: 0;
    pointer-events: none;
}
.regions-carousel-btn--prev { left: -22px; }
.regions-carousel-btn--next { right: -22px; }

@media (max-width: 900px) {
    .regions-carousel-btn { display: none; }
}
@media (max-width: 640px) {
    .regions-explore-section { padding: 40px 0 56px; }
    .rc-card { flex: 0 0 240px; height: 320px; }
    .rc-name { font-size: 1.2rem; }
}

/* ============================================================
   ÉVÉNEMENTS — Hero immersif + sidebar + cartes premium
   ============================================================ */

/* HERO */
.evt-hero {
    position: relative;
    min-height: 260px;
    display: flex;
    align-items: center;
    background-image: var(--evt-hero-bg);
    background-size: cover;
    background-position: center;
    color: #fff;
    isolation: isolate;
    overflow: hidden;
}
.evt-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, .35) 0%, rgba(15, 23, 42, .55) 60%, rgba(15, 23, 42, .82) 100%),
        linear-gradient(95deg, rgba(15, 23, 42, .55) 0%, rgba(15, 23, 42, .15) 60%, rgba(15, 23, 42, 0) 100%);
    z-index: 0;
}
.evt-hero-content {
    position: relative;
    z-index: 2;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 14px;
    width: 100%;
}
.evt-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.1;
    margin: 0;
    color: #fff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, .35);
    letter-spacing: -.01em;
}
.evt-hero-title em {
    font-style: italic;
    color: #e9c46a;
    font-weight: 700;
}
.evt-hero-sub {
    font-size: 1.05rem;
    line-height: 1.5;
    margin: 0;
    color: rgba(255, 255, 255, .92);
    text-shadow: 0 1px 12px rgba(0, 0, 0, .3);
    max-width: 540px;
}

/* HERO SEARCH BAR */
.evt-hero-search {
    display: flex;
    align-items: stretch;
    gap: 0;
    width: 100%;
    max-width: 880px;
    margin-top: 10px;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 999px;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, .35);
    overflow: hidden;
    color: var(--text);
}
.evt-hero-search > div { display: flex; align-items: center; gap: 8px; padding: 0 18px; flex: 1; min-width: 0; }
.evt-hero-search > div svg { color: var(--text-muted); flex-shrink: 0; }
.evt-hs-loc input,
.evt-hs-date select,
.evt-hs-cat select {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font: inherit;
    font-size: .92rem;
    color: var(--text);
    padding: 14px 0;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    min-width: 0;
}
.evt-hs-loc input { cursor: text; }
.evt-hs-loc input::placeholder { color: var(--text-muted); }
.evt-hs-divider {
    width: 1px;
    background: var(--border);
    flex: 0 0 1px;
    margin: 12px 0;
    padding: 0 !important;
}
.evt-hs-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 30px;
    background: var(--primary);
    color: #fff;
    border: none;
    font: inherit;
    font-size: .92rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
    flex-shrink: 0;
}
.evt-hs-btn:hover { background: var(--primary-light); }

/* CATEGORY STRIP */
.evt-cat-strip {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 24px 0 10px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.evt-cat-strip::-webkit-scrollbar { display: none; }
.evt-cat-card {
    position: relative;
    flex: 0 0 auto;
    width: 130px;
    height: 96px;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background-image: var(--cat-bg);
    background-size: cover;
    background-position: center;
    transition: transform .22s, box-shadow .22s;
    box-shadow: 0 4px 14px -4px rgba(0,0,0,.28);
    isolation: isolate;
}
.evt-cat-card:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 28px -6px rgba(0,0,0,.38);
}
.evt-cat-card--active {
    outline: 3px solid #e9c46a;
    outline-offset: 2px;
    box-shadow: 0 10px 28px -6px rgba(0,0,0,.38);
}
.evt-cat-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,20,12,.22) 0%, rgba(10,20,12,.72) 100%);
    transition: background .22s;
    z-index: 0;
}
.evt-cat-card:hover .evt-cat-card-overlay,
.evt-cat-card--active .evt-cat-card-overlay {
    background: linear-gradient(180deg, rgba(10,20,12,.15) 0%, rgba(10,20,12,.80) 100%);
}
.evt-cat-card-emoji {
    font-size: 1.7rem;
    line-height: 1;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 1px 6px rgba(0,0,0,.5));
}
.evt-cat-card-label {
    font-size: .72rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .04em;
    text-align: center;
    line-height: 1.2;
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 6px rgba(0,0,0,.6);
    padding: 0 8px;
}
.evt-cat-card-check {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #e9c46a;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    color: #1b4332;
}
@media (max-width: 640px) {
    .evt-cat-card { width: 108px; height: 82px; }
    .evt-cat-card-emoji { font-size: 1.4rem; }
    .evt-cat-card-label { font-size: .67rem; }
}

/* PAGE LAYOUT */
.evt-page {
    margin-top: 32px;
    position: relative;
    z-index: 5;
    padding-bottom: 60px;
    max-width: 1500px;
}
.evt-page-form {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 24px;
    align-items: start;
}

/* SIDEBAR */
.evt-sidebar {
    background: #fff;
    border-radius: 16px;
    padding: 22px 22px 24px;
    box-shadow: 0 6px 24px -8px rgba(15, 23, 42, .15), 0 2px 8px -2px rgba(15, 23, 42, .08);
    position: sticky;
    top: 88px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}
.evt-sidebar-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}
.evt-filter-section {
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
}
.evt-filter-section:last-of-type { border-bottom: none; }
.evt-filter-section--block { padding: 14px 0 8px; }
.evt-filter-section summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-weight: 600;
    font-size: .92rem;
    color: var(--text);
    list-style: none;
    padding: 4px 0;
    user-select: none;
}
.evt-filter-section summary::-webkit-details-marker { display: none; }
.evt-filter-section[open] .evt-chev { transform: rotate(180deg); }
.evt-chev { transition: transform .25s; flex-shrink: 0; color: var(--text-muted); }
.evt-filter-body { padding-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.evt-filter-label {
    display: block;
    font-weight: 600;
    font-size: .92rem;
    color: var(--text);
    margin-bottom: 8px;
}

/* RADIO */
.evt-radio {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 4px;
    cursor: pointer;
    border-radius: 8px;
    transition: background .15s;
}
.evt-radio:hover { background: rgba(27, 67, 50, .04); }
.evt-radio input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.evt-radio-mark {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1.8px solid #d1d5db;
    flex-shrink: 0;
    position: relative;
    transition: border-color .2s;
}
.evt-radio input:checked + .evt-radio-mark {
    border-color: var(--primary);
    border-width: 5px;
}
.evt-radio-label {
    font-size: .89rem;
    color: var(--text);
}
.evt-radio input:checked ~ .evt-radio-label { font-weight: 600; }

/* CHECKBOX */
.evt-check {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 4px;
    cursor: pointer;
    border-radius: 8px;
    transition: background .15s;
}
.evt-check:hover { background: rgba(27, 67, 50, .04); }
.evt-check input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.evt-check-mark {
    width: 17px;
    height: 17px;
    border-radius: 5px;
    border: 1.8px solid #d1d5db;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: transparent;
    transition: all .2s;
}
.evt-check input:checked + .evt-check-mark {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
.evt-check-label { font-size: .89rem; color: var(--text); }
.evt-check input:checked ~ .evt-check-label { font-weight: 600; }

/* SELECT WRAP */
.evt-select-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.evt-select-wrap select {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    padding: 10px 36px 10px 14px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font: inherit;
    font-size: .9rem;
    background: #fff;
    color: var(--text);
    cursor: pointer;
    transition: border-color .2s, box-shadow .2s;
}
.evt-select-wrap select:hover,
.evt-select-wrap select:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(27, 67, 50, .08);
}
.evt-select-wrap .evt-chev {
    position: absolute;
    right: 14px;
    pointer-events: none;
}

/* Champ ville (autocomplete) dans la sidebar événements */
.evt-sidebar .ville-ac-wrap { width: 100%; }
.evt-sidebar .ville-ac-wrap input[type="text"] {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 14px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font: inherit;
    font-size: .9rem;
    background: #fff;
    color: var(--text);
    transition: border-color .2s, box-shadow .2s;
}
.evt-sidebar .ville-ac-wrap input[type="text"]:hover,
.evt-sidebar .ville-ac-wrap input[type="text"]:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(27, 67, 50, .08);
}

/* DATE INPUT */
.evt-date-input {
    width: 100%;
    padding: 9px 12px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font: inherit;
    font-size: .88rem;
    color: var(--text);
    background: #fff;
    margin-top: 4px;
}

/* SIDEBAR ACTIONS */
.evt-apply-btn {
    width: 100%;
    margin-top: 18px;
    padding: 12px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 10px;
    font: inherit;
    font-size: .92rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s, transform .15s;
}
.evt-apply-btn:hover { background: var(--primary-light); transform: translateY(-1px); }
.evt-reset-btn {
    display: block;
    margin-top: 10px;
    padding: 11px;
    background: #fff;
    color: var(--primary);
    border: 1.5px solid var(--primary);
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    font-size: .9rem;
    transition: all .2s;
}
.evt-reset-btn:hover { background: var(--primary); color: #fff; }

/* MAIN */
.evt-main { min-width: 0; }

/* Bandeau villes — page /evenements/{region}/ */
.evt-villes-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    padding: 10px 14px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    font-size: .84rem;
}
.evt-villes-bar-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
    padding-right: 2px;
}
.evt-villes-bar-label svg { color: var(--text-muted); }
.evt-ville-pill {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    background: rgba(45,106,79,.08);
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background .15s, color .15s;
}
.evt-ville-pill:hover { background: var(--primary); color: #fff; }
[data-theme="dark"] .evt-villes-bar { background: var(--bg-card); }
[data-theme="dark"] .evt-ville-pill { background: rgba(82,183,136,.12); }
@media (max-width: 600px) {
    .evt-villes-bar { font-size: .8rem; gap: 5px; }
    .evt-ville-pill { padding: 3px 8px; }
}

.evt-results-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
    padding-bottom: 8px;
    flex-wrap: wrap;
}
.evt-results-count {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
    line-height: 1.2;
    border-bottom: 3px solid #e9c46a;
    padding-bottom: 6px;
    display: inline-block;
}
.evt-view-toggle {
    display: flex;
    gap: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
}
.evt-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: #fff;
    border: none;
    color: var(--text-muted);
    font: inherit;
    font-size: .85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s;
}
.evt-view-btn--active {
    background: var(--primary);
    color: #fff;
}

/* GRID */
.evt-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
@media (max-width: 900px) {
    .evt-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .evt-grid { grid-template-columns: 1fr; }
}

/* Mode liste : 1 colonne, carte horizontale (image | contenu) */
.evt-grid.evt-grid--list { grid-template-columns: 1fr; gap: 14px; }
.evt-grid.evt-grid--list .evt-card {
    display: grid;
    grid-template-columns: 260px 1fr;
}
.evt-grid.evt-grid--list .evt-card-media { height: 100%; min-height: 180px; }
.evt-grid.evt-grid--list .evt-card-body { padding: 18px 22px; }
@media (max-width: 600px) {
    .evt-grid.evt-grid--list .evt-card { grid-template-columns: 1fr; }
    .evt-grid.evt-grid--list .evt-card-media { min-height: 160px; }
}

/* CARD */
.evt-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text);
    box-shadow: 0 4px 14px -4px rgba(15, 23, 42, .12);
    transition: transform .25s cubic-bezier(.22, 1, .36, 1), box-shadow .3s;
    display: flex;
    flex-direction: column;
    border: 1px solid #f3f4f6;
}
.evt-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 36px -10px rgba(15, 23, 42, .22);
}
.evt-card-media {
    position: relative;
    height: 180px;
    overflow: hidden;
}
.evt-card-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform .6s cubic-bezier(.22, 1, .36, 1);
}
.evt-card:hover .evt-card-img { transform: scale(1.06); }
.evt-card-img--placeholder {
    background: color-mix(in srgb, var(--c, #2d6a4f) 12%, white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c, #2d6a4f);
}
.evt-card-img--noimg {
    display: flex;
    align-items: center;
    justify-content: center;
}
.evt-card-noimg-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: .5;
}
.evt-card-noimg-icon svg { width: 64px; height: 64px; }
.evt-card-img--landscape {
    filter: saturate(.75) brightness(.95);
}
.evt-card-img-icon { width: 56px; height: 56px; opacity: .35; }
.evt-card-img-icon svg { width: 100%; height: 100%; }
.evt-card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    padding: 6px 12px;
    color: #fff;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .08em;
    border-radius: 999px;
    box-shadow: 0 4px 14px -2px rgba(0, 0, 0, .28);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.evt-card-fav {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, .92);
    color: #6b7280;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
}
.evt-card-fav:hover { background: #fff; color: #ef4444; transform: scale(1.05); }
.evt-card-fav.is-fav { background: #fff; color: #ef4444; }
.evt-card-fav.is-fav svg { fill: #ef4444; }
.evt-card-body {
    padding: 16px 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}
.evt-card-date {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    color: var(--text-muted);
    margin: 0;
    text-transform: uppercase;
}
.evt-card-title {
    font-family: var(--font-heading);
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
    margin: 0;
    letter-spacing: -.005em;
}
.evt-card-loc {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: .82rem;
    color: var(--text-muted);
    margin: 0;
}
.evt-card-loc svg { color: var(--primary); flex-shrink: 0; }
.evt-card-pill {
    display: inline-block;
    align-self: flex-start;
    padding: 4px 12px;
    background: color-mix(in srgb, var(--c, #2d6a4f) 12%, white);
    color: var(--c, #2d6a4f);
    border-radius: 999px;
    font-size: .76rem;
    font-weight: 600;
    margin-top: 2px;
}
.evt-card-desc {
    font-size: .85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 4px 0 0;
}

/* EMPTY */
.evt-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 24px;
    background: #fff;
    border-radius: 14px;
    color: var(--text-muted);
}
.evt-empty a { color: var(--primary); font-weight: 600; }

/* PAGINATION */
.evt-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 40px;
    flex-wrap: wrap;
}
.evt-page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 8px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    text-decoration: none;
    font-size: .9rem;
    font-weight: 500;
    transition: all .15s;
}
.evt-page-link:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.evt-page-link--active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    font-weight: 700;
}
.evt-page-link--nav { font-size: 1.1rem; line-height: 1; }
.evt-page-ellipsis {
    color: var(--text-muted);
    padding: 0 6px;
    font-size: .9rem;
}

/* RESPONSIVE */
@media (max-width: 980px) {
    .evt-page-form { grid-template-columns: 1fr; }
    .evt-sidebar { position: static; max-height: none; }
}
@media (max-width: 720px) {
    .evt-hero-content { padding: 50px 16px 60px; }
    .evt-hero-title { font-size: 1.6rem; line-height: 1.2; }
    .evt-hero-search {
        flex-wrap: wrap;
        border-radius: 18px;
        padding: 8px;
        gap: 8px;
    }
    .evt-hero-search > div { flex: 1 1 100%; padding: 4px 12px; }
    .evt-hs-divider { display: none; }
    .evt-hs-btn {
        flex: 1 1 100%;
        padding: 12px;
        border-radius: 10px;
        justify-content: center;
    }
    .evt-page { margin-top: 24px; }
    .evt-grid { grid-template-columns: 1fr; }
}



/* ── Dropdown catégories avec icônes SVG (/evenements/) ───── */
.cat-dd { position: relative; }

.cat-dd-trigger {
    display: flex;
    align-items: center;
    gap: .55rem;
    width: 100%;
    padding: .55rem .75rem;
    background: #fff;
    border: 1.5px solid #d1d5db;
    border-radius: .5rem;
    font-size: .88rem;
    color: #111827;
    cursor: pointer;
    text-align: left;
    transition: border-color .15s, box-shadow .15s;
}
.cat-dd-trigger:hover,
.cat-dd-trigger[aria-expanded="true"] {
    border-color: #16a34a;
    box-shadow: 0 0 0 3px rgba(22,163,74,.08);
}
.cat-dd-trigger[aria-expanded="true"] .cat-dd-chev { transform: rotate(180deg); }

.cat-dd-icon { display: flex; align-items: center; flex-shrink: 0; }
.cat-dd-icon svg { width: 18px; height: 18px; }
.cat-dd-lbl { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cat-dd-chev { margin-left: auto; flex-shrink: 0; color: #6b7280; transition: transform .2s; }

.cat-dd-list {
    position: absolute;
    top: calc(100% + .35rem);
    left: 0;
    right: 0;
    z-index: 300;
    background: #fff;
    border: 1.5px solid #d1d5db;
    border-radius: .6rem;
    box-shadow: 0 10px 28px rgba(0,0,0,.13);
    overflow-y: auto;
    max-height: 340px;
    padding: .3rem;
    list-style: none;
    margin: 0;
}

.cat-dd-item {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .45rem .65rem;
    border-radius: .4rem;
    font-size: .87rem;
    color: #111827;
    cursor: pointer;
    transition: background .12s;
}
.cat-dd-item:hover  { background: #f0fdf4; }
.cat-dd-item.is-sel { background: #f0fdf4; font-weight: 600; }

.cat-dd-item-icon { display: flex; align-items: center; flex-shrink: 0; }
.cat-dd-item-icon svg { width: 17px; height: 17px; }
.cat-dd-item-lbl  { flex: 1; }

.cat-dd-check { margin-left: auto; flex-shrink: 0; color: #16a34a; opacity: 0; transition: opacity .12s; }
.cat-dd-item.is-sel .cat-dd-check { opacity: 1; }

/* ============================================================
   PAGE RÉGIONS — rgs-*
   ============================================================ */

/* --- Hero --- */
.rgs-hero {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 5;
    height: 480px;
    display: flex;
    align-items: center;
    color: #fff;
    background-image: var(--rgs-hero-img);
    background-size: cover;
    background-position: center 55%;
}
/* spacer supprimé — layout full-fixed */
.rgs-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(8,16,32,.42) 30%, rgba(8,16,32,.05) 100%);
}
.rgs-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 64px 48px;
    display: flex;
    align-items: center;
    gap: 48px;
}
.rgs-hero-text { flex: 1 1 420px; }
.rgs-hero-eyebrow {
    display: inline-block;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.65);
    margin-bottom: 12px;
}
.rgs-hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 16px;
    color: #fff;
}
.rgs-hero-sub {
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(255,255,255,.82);
    margin: 0;
}

/* --- Carte SVG dans le hero --- */
.rgs-hero-map {
    flex: 0 0 340px;
    max-width: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
}
#rgs-france-svg {
    width: 100%;
    height: auto;
    overflow: visible;
    filter: drop-shadow(0 8px 24px rgba(0,0,0,.4));
}
.rgs-map-region {
    fill: rgba(255,255,255,.18);
    stroke: rgba(255,255,255,.55);
    stroke-width: 1.2;
    transition: fill .22s ease, stroke .22s ease, filter .22s ease;
    cursor: pointer;
}
.rgs-map-region--active {
    fill: rgba(255,255,255,.9) !important;
    stroke: #fff !important;
    stroke-width: 1.5;
    filter: drop-shadow(0 0 8px rgba(255,255,255,.6));
}
.rgs-map-region--dim {
    fill: rgba(255,255,255,.07) !important;
    stroke: rgba(255,255,255,.2) !important;
}

/* --- Barre titre fixe (sous le hero) --- */
.rgs-page-bar {
    position: fixed;
    top: 480px;
    left: 0;
    right: 0;
    z-index: 6;
    background: var(--bg-main, #f8f9fb);
    border-bottom: 1px solid var(--border, #e5e7eb);
    height: 64px;
    display: flex;
    align-items: center;
}
.rgs-page-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
}
.rgs-page-header {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 16px;
    flex: 1 1 auto;
    min-width: 0;
}

/* --- Zone cartes scrollable --- */
.rgs-cards-area {
    position: fixed;
    top: 480px;
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: auto;
    z-index: 4;
    background: var(--bg-main, #f8f9fb);
}

/* --- Page body (à l'intérieur du scroll) --- */
.rgs-page {
    padding-top: 36px;
    padding-bottom: 80px;
}
.rgs-section-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-primary, #111827);
}
.rgs-section-sub {
    font-size: .9rem;
    color: var(--text-muted, #6b7280);
    margin: 0;
    flex: 1 1 auto;
}
.rgs-view-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--bg-subtle, #f3f4f6);
    border-radius: 8px;
    padding: 3px;
}
.rgs-view-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: .82rem;
    font-weight: 500;
    color: var(--text-muted, #6b7280);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background .15s, color .15s;
}
.rgs-view-btn--active {
    background: #fff;
    color: var(--text-primary, #111827);
    box-shadow: 0 1px 4px rgba(0,0,0,.1);
}

/* --- Grandes villes --- */
.rgs-grandes-villes { margin-bottom: 40px; }
.rgs-grandes-villes-title { font-size: 1rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .07em; margin-bottom: 14px; }
.rgs-grandes-villes-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.rgs-ville-pill {
    display: inline-block;
    padding: 7px 16px;
    border-radius: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    font-size: .88rem;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    transition: border-color .18s, background .18s, transform .18s;
}
.rgs-ville-pill:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: color-mix(in srgb, var(--primary) 6%, var(--bg-card));
    transform: translateY(-2px);
}

/* --- Grille des cartes --- */
.rgs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.rgs-grid--map-view {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

/* --- Card région --- */
.rgs-card {
    display: block;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-card, #fff);
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
    text-decoration: none;
    color: inherit;
    transition: transform .22s ease, box-shadow .22s ease;
    border: 1.5px solid transparent;
}
.rgs-card:hover,
.rgs-card--map-hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0,0,0,.14);
    border-color: var(--color-primary, #1a6b4a);
}
.rgs-card-media {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--bg-subtle, #f3f4f6);
}
.rgs-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.rgs-card:hover .rgs-card-img { transform: scale(1.05); }
.rgs-card-img--placeholder {
    background: linear-gradient(135deg, #d1e8d9 0%, #a8d5b5 100%);
}
.rgs-card-media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.45) 0%, transparent 60%);
    pointer-events: none;
}
.rgs-card-body {
    padding: 16px 18px 14px;
}
.rgs-card-name {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 5px;
    color: var(--text-primary, #111827);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.rgs-card-desc {
    font-size: .82rem;
    line-height: 1.5;
    color: var(--text-muted, #6b7280);
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.rgs-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.rgs-card-stat {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: .78rem;
    font-weight: 500;
    color: var(--color-primary, #1a6b4a);
}
.rgs-card-arrow {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--color-primary, #1a6b4a);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background .15s;
}
.rgs-card:hover .rgs-card-arrow { background: #155c3e; }

/* --- Bouton favori région --- */
.rgs-card-fav {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 5;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,.90);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: none;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s, transform .15s, color .2s, box-shadow .2s;
    padding: 0;
    box-shadow: 0 2px 6px rgba(0,0,0,.25);
}
.rgs-card-fav:hover {
    background: #fff;
    color: #ef4444;
    transform: scale(1.12);
    box-shadow: 0 3px 10px rgba(0,0,0,.3);
}
.rgs-card-fav.is-fav {
    background: #ef4444;
    color: #fff;
}
.rgs-card-fav.is-fav svg {
    fill: #fff;
    stroke: #fff;
}

/* --- Outre-Mer toggle --- */
.rgs-outremer-toggle-wrap {
    display: flex;
    justify-content: center;
    margin: 48px 0 0;
}
.rgs-outremer-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 100px;
    border: 2px solid var(--color-primary, #1a6b4a);
    color: var(--color-primary, #1a6b4a);
    background: transparent;
    font-size: .92rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .18s, color .18s;
}
.rgs-outremer-btn:hover,
.rgs-outremer-btn--open {
    background: var(--color-primary, #1a6b4a);
    color: #fff;
}
.rgs-outremer-chevron { transition: transform .25s ease; }

/* --- Section outre-mer --- */
.rgs-outremer-section {
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--border-subtle, #e5e7eb);
}
.rgs-section-title--outremer { margin-bottom: 28px; }
.rgs-grid--outremer {
    grid-template-columns: repeat(5, 1fr);
}

/* --- Badge zone géographique (sur photo) --- */
.rgs-om-zone-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0,0,0,.52);
    color: #fff;
    font-size: .7rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    letter-spacing: .03em;
    pointer-events: none;
}

/* --- Chips infos outre-mer --- */
.rgs-om-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 8px 0 6px;
}
.rgs-om-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: .68rem;
    font-weight: 500;
    color: var(--text-muted, #6b7280);
    background: var(--bg-subtle, #f3f4f6);
    border-radius: 20px;
    padding: 2px 7px;
    white-space: nowrap;
}
.rgs-om-chip--statut {
    background: rgba(27,67,50,.1);
    color: var(--primary, #1a6b4a);
    font-weight: 700;
}

/* --- Responsive --- */
@media (max-width: 1100px) {
    .rgs-grid { grid-template-columns: repeat(3, 1fr); }
    .rgs-grid--outremer { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
    .rgs-hero-inner { padding: 40px 24px; flex-direction: column; gap: 32px; }
    .rgs-hero-map { flex: 0 0 260px; max-width: 260px; }
    .rgs-hero-text { flex: 1 1 100%; }
    .rgs-grid { grid-template-columns: repeat(2, 1fr); }
    .rgs-grid--outremer { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .rgs-hero { height: 300px; background-attachment: scroll; }
    .rgs-cards-area { top: 300px; }
    .rgs-hero-map { display: none; }
    .rgs-hero-inner { padding: 68px 20px 16px; gap: 0; }
    .rgs-hero-title { font-size: 1.6rem; margin-bottom: 10px; }
    .rgs-hero-sub { font-size: .88rem; line-height: 1.5; }
    .rgs-grid { grid-template-columns: 1fr; gap: 16px; }
    .rgs-grid--outremer { grid-template-columns: 1fr 1fr; gap: 12px; }
    .rgs-page { padding-top: 32px; }
    .rgs-page-header { flex-direction: column; align-items: flex-start; gap: 6px; }
}


/* ============================================================
   MARCHÉS DE NOËL — styles spécifiques /marches-de-noel/
   ============================================================ */

/* Hero */
.noel-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0d1b2a 0%, #1b2a4a 45%, #2d1b3d 100%);
    min-height: 260px;
    display: flex;
    align-items: center;
    text-align: center;
}
.noel-hero--photo { background-size: cover; background-position: center; }
.noel-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10,20,40,.55) 0%, rgba(10,20,40,.80) 100%);
}
/* Flocons animés */
.noel-hero-snow { position: absolute; inset: 0; pointer-events: none; }
.noel-hero-snow span {
    position: absolute;
    width: 6px; height: 6px;
    background: rgba(255,255,255,.7);
    border-radius: 50%;
    animation: noelSnowFall linear infinite;
}
.noel-hero-snow span:nth-child(1)  { left: 10%; animation-duration: 8s;  animation-delay: 0s;    width:4px; height:4px; }
.noel-hero-snow span:nth-child(2)  { left: 22%; animation-duration: 11s; animation-delay: 1.5s; }
.noel-hero-snow span:nth-child(3)  { left: 38%; animation-duration: 9s;  animation-delay: 3s;    width:5px; height:5px; }
.noel-hero-snow span:nth-child(4)  { left: 55%; animation-duration: 12s; animation-delay: 0.5s; width:3px; height:3px; }
.noel-hero-snow span:nth-child(5)  { left: 67%; animation-duration: 10s; animation-delay: 2s; }
.noel-hero-snow span:nth-child(6)  { left: 78%; animation-duration: 8.5s;animation-delay: 4s;    width:4px; height:4px; }
.noel-hero-snow span:nth-child(7)  { left: 88%; animation-duration: 13s; animation-delay: 1s;    width:7px; height:7px; }
.noel-hero-snow span:nth-child(8)  { left: 5%;  animation-duration: 7s;  animation-delay: 2.5s; width:3px; height:3px; }
.noel-hero-snow span:nth-child(9)  { left: 45%; animation-duration: 10s; animation-delay: 3.5s; width:5px; height:5px; }
.noel-hero-snow span:nth-child(10) { left: 92%; animation-duration: 9s;  animation-delay: 0.8s; }
@keyframes noelSnowFall {
    0%   { transform: translateY(-20px) rotate(0deg);   opacity: 1; }
    100% { transform: translateY(280px) rotate(360deg); opacity: 0; }
}
.noel-hero-content {
    position: relative;
    z-index: 1;
    padding: 48px 20px 52px;
    width: 100%;
}
.noel-hero-eyebrow {
    display: inline-block;
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: #ffd700;
    margin-bottom: 12px;
}
.noel-hero-title {
    font-size: clamp(1.7rem, 4vw, 2.6rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 14px;
    line-height: 1.2;
    text-shadow: 0 2px 12px rgba(0,0,0,.5);
}
.noel-hero-sub { font-size: 1.05rem; color: rgba(255,255,255,.85); margin: 0; }

/* Onglet Noël dans la nav hub */
.hub-tab--noel { background: rgba(220,38,38,.08); color: #dc2626; border-color: rgba(220,38,38,.25); }
.hub-tab--noel.hub-tab--active { background: #dc2626; color: #fff; border-color: #dc2626; }

/* Layout */
.noel-page { padding-top: 20px; padding-bottom: 60px; }

/* Bloc éditorial */
.noel-editorial {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: start;
    background: linear-gradient(135deg, #fff8f8 0%, #fff 100%);
    border: 1px solid #fecaca;
    border-left: 4px solid #dc2626;
    border-radius: 12px;
    padding: 24px;
    margin: 20px 0 28px;
}
.noel-editorial-text h2 { font-size: 1.2rem; font-weight: 700; margin: 0 0 10px; }
.noel-editorial-text p  { margin: 0; color: #555; line-height: 1.65; font-size: .95rem; }
.noel-editorial-highlights { display: flex; flex-direction: column; gap: 12px; min-width: 140px; }
.noel-hl-item {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    background: #fff; border: 1px solid #fecaca; border-radius: 10px;
    padding: 10px 14px; gap: 2px;
}
.noel-hl-icon { font-size: 1.3rem; }
.noel-hl-item strong { font-size: 1rem; font-weight: 800; color: #dc2626; }
.noel-hl-item span   { font-size: .75rem; color: #888; }

/* Grille régions */
.noel-regions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
    margin-top: 14px;
}
.noel-region-card {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    background: #fff; border: 1px solid #e5e7eb; border-radius: 12px;
    padding: 18px 14px; text-decoration: none; color: inherit;
    transition: border-color .2s, box-shadow .2s, transform .15s; gap: 6px;
}
.noel-region-card:hover { border-color: #dc2626; box-shadow: 0 4px 16px rgba(220,38,38,.12); transform: translateY(-2px); }
.noel-region-icon  { font-size: 1.6rem; }
.noel-region-nom   { font-size: .88rem; font-weight: 700; }
.noel-region-count { font-size: .78rem; color: #dc2626; font-weight: 600; }

/* Liste marchés */
.noel-list { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.noel-list-item {
    display: flex; align-items: center; gap: 14px;
    background: #fff; border: 1px solid #e5e7eb; border-radius: 12px;
    padding: 14px 16px; text-decoration: none; color: inherit;
    transition: border-color .2s, box-shadow .2s;
}
.noel-list-item:hover { border-color: #dc2626; box-shadow: 0 3px 12px rgba(220,38,38,.1); }
.noel-list-img { width: 96px; height: 72px; border-radius: 8px; overflow: hidden; flex-shrink: 0; background: #f9fafb; }
.noel-list-img img { width: 100%; height: 100%; object-fit: cover; }
.noel-list-img--empty {
    display: flex; align-items: center; justify-content: center; font-size: 2rem;
    background: linear-gradient(135deg, #fff1f2, #fef2f2); border: 1px solid #fecaca;
}
.noel-list-body  { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.noel-list-title { font-size: .97rem; font-weight: 700; }
.noel-list-lieu  { font-size: .82rem; color: #555; }
.noel-list-dept  { color: #999; }
.noel-list-dates { font-size: .8rem; color: #dc2626; font-weight: 600; }
.noel-list-desc  { font-size: .8rem; color: #777; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.noel-list-arrow { color: #ccc; font-size: 1.2rem; flex-shrink: 0; }

/* Zone vide */
.noel-empty {
    text-align: center; padding: 40px 24px;
    background: #fafafa; border: 1px dashed #ddd; border-radius: 12px;
    color: #666; line-height: 1.7;
}
.noel-empty a { margin-top: 16px; display: inline-block; }

/* Section FAQ/SEO bas de page */
.noel-seo-footer {
    margin-top: 48px; padding: 32px;
    background: #f8fafc; border-radius: 16px; border: 1px solid #e5e7eb;
}
.noel-seo-footer h2 { font-size: 1.25rem; font-weight: 700; margin: 0 0 12px; }
.noel-seo-footer > p { color: #555; line-height: 1.7; margin: 0 0 24px; }
.noel-faq-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.noel-faq-item { background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; padding: 18px; }
.noel-faq-item h3 { font-size: .92rem; font-weight: 700; color: #dc2626; margin: 0 0 8px; }
.noel-faq-item p  { font-size: .85rem; color: #555; line-height: 1.6; margin: 0; }

/* Responsive */
@media (max-width: 700px) {
    .noel-editorial { grid-template-columns: 1fr; }
    .noel-editorial-highlights { flex-direction: row; flex-wrap: wrap; justify-content: center; }
    .noel-regions-grid { grid-template-columns: repeat(2, 1fr); }
    .noel-list-img { width: 64px; height: 56px; }
    .noel-list-desc { display: none; }
    .noel-seo-footer { padding: 20px; }
    .noel-faq-grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
    .noel-hero-content { padding: 32px 16px 36px; }
    .noel-regions-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}
