/* ============================================
   MURIO LANDING PAGE V2
   Gold Theme with Light/Dark Mode
   ============================================ */

/* ==========================================
   DESIGN TOKENS
   ========================================== */
:root {
    /* Gold Palette */
    --gold: #D4AF37;
    --gold-light: #F4E4BA;
    --gold-dark: #B8860B;
    --gold-glow: rgba(212, 175, 55, 0.35);

    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Shadows */
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 8px 40px rgba(0, 0, 0, 0.12);
    --shadow-gold: 0 4px 30px var(--gold-glow);

    /* Spacing */
    --section-padding: 120px;
    --container-max: 1100px;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

    /* Dark Theme Enforced */
    --bg-primary: #0F172A;
    --bg-secondary: #1E293B;
    --bg-tertiary: #334155;
    --text-primary: #F8FAFC;
    --text-secondary: #CBD5E1;
    --text-tertiary: #94A3B8;
    --border-color: #334155;
    --card-bg: #1E293B;
}

/* ==========================================
   RESET & BASE
   ========================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    /* FIX MOBILE: Empêche le scroll horizontal au niveau global */
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background: var(--bg-primary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    transition: background 0.3s, color 0.3s;
    /* FIX MOBILE: Sécurité supplémentaire */
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ==========================================
   NAVIGATION
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 32px;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s;
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo Styles */
.nav-logo img {
    height: 75px;
    width: auto;
}

.logo-light {
    display: none !important;
}

.logo-dark {
    display: block !important;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-cta {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: #FFFFFF !important;
    padding: 10px 24px;
    border-radius: 100px;
    font-weight: 600;
    box-shadow: var(--shadow-gold);
    transition: all 0.3s;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px var(--gold-glow);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: 24px;
}

/* Removed Theme Toggle Styles */

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 1px;
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s var(--ease-out);
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: #FFFFFF;
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px var(--gold-glow);
}

.btn-badge {
    background: rgba(255, 255, 255, 0.25);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.05rem;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    padding: 140px 32px 100px;
    background: var(--bg-primary);
    overflow: hidden;
    /* Empêche les bulles de déborder */
}

.hero-container {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-tagline {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gold);
    margin-bottom: 16px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.highlight {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
}

.hero-note {
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

/* Phone Frame */
.phone-frame {
    width: 280px;
    height: 560px;
    background: linear-gradient(145deg, #1a1a1a, #2d2d2d);
    border-radius: 44px;
    padding: 10px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    margin: 0 auto;
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 36px;
    overflow: hidden;
    position: relative;
    background: #000;
}

.phone-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.scan-effect {
    position: absolute;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    box-shadow: 0 0 20px var(--gold);
    animation: scanMove 3s ease-in-out infinite;
}

@keyframes scanMove {

    0%,
    100% {
        top: 15%;
        opacity: 0;
    }

    10%,
    90% {
        opacity: 1;
    }

    50% {
        top: 80%;
    }
}

.data-bubble {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px 16px;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    animation: bubbleFloat 4s ease-in-out infinite;
    max-width: 150px;
    z-index: 2;
}

.bubble-1 {
    top: 25%;
    left: -15px;
    animation-delay: 0s;
}

.bubble-2 {
    top: 55%;
    right: -20px;
    animation-delay: 0.8s;
}

@keyframes bubbleFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.bubble-label {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #7A7A7A;
    margin-bottom: 2px;
}

.bubble-value {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    color: #1A1A1A;
}

/* ==========================================
   SECTIONS COMMON
   ========================================== */
.section {
    padding: var(--section-padding) 32px;
    overflow: hidden;
    /* Sécurité anti-débordement */
}

.section-container {
    max-width: var(--container-max);
    margin: 0 auto;
    width: 100%;
}

.section-header {
    max-width: 700px;
    margin-bottom: 60px;
}

.section-header.centered {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-intro {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.section-collection {
    background: var(--bg-secondary);
}

/* Badges Horizontal Slider */
.badges-slider-wrapper {
    position: relative;
    margin: 0 -32px;
    padding: 0 32px;
    width: calc(100% + 64px);
    /* Ajustement précis */
}

.badges-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 20px 0 30px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.badges-slider::-webkit-scrollbar {
    display: none;
}

.badge-card {
    position: relative;
    background: var(--card-bg);
    padding: 28px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.4s var(--ease-out);
    overflow: hidden;
    min-width: 300px;
    max-width: 320px;
    flex-shrink: 0;
    scroll-snap-align: start;
}

.badge-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-light), var(--gold), var(--gold-light));
    opacity: 0;
    transition: opacity 0.3s;
}

.badge-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    border-color: var(--gold-light);
}

.badge-card:hover::before {
    opacity: 1;
}

.badge-card.featured {
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
}

.badge-card.featured::before {
    opacity: 1;
}

.badge-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--gold-light) 0%, rgba(212, 175, 55, 0.15) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.badge-icon svg {
    width: 26px;
    height: 26px;
    color: var(--gold-dark);
}

.badge-content {
    margin-bottom: 16px;
}

.badge-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.badge-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 12px;
}

.badge-requirement {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-tertiary);
    padding: 6px 12px;
    background: var(--bg-tertiary);
    border-radius: 100px;
}

.badge-category {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold);
    padding: 4px 10px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 100px;
}

/* ==========================================
   AVENTURE SECTION
   ========================================== */
.section-aventure {
    background: var(--bg-primary);
}

.aventure-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.fog-map-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    background: #0a0a0a;
}

.fog-map-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 45% 40%, rgba(20, 20, 30, 0.5) 0%, #0a0a0a 70%);
}

.fog-map-image {
    width: 100%;
    display: block;
    opacity: 0.4;
    filter: grayscale(0.3);
}

.illuminated-zone {
    position: absolute;
    top: 25%;
    left: 35%;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, var(--gold) 0%, rgba(212, 175, 55, 0.4) 40%, transparent 70%);
    border-radius: 50%;
    animation: illuminatePulse 3s ease-in-out infinite;
}

@keyframes illuminatePulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.15);
        opacity: 1;
    }
}

.discovery-pulse {
    position: absolute;
    top: calc(25% + 50px);
    left: calc(35% + 50px);
    width: 20px;
    height: 20px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--gold);
}

.discovery-pulse::after {
    content: '';
    position: absolute;
    inset: -8px;
    border: 2px solid var(--gold);
    border-radius: 50%;
    animation: pingPulse 2s ease-out infinite;
}

@keyframes pingPulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.discovery-label {
    position: absolute;
    top: calc(25% + 85px);
    left: calc(35% + 20px);
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--gold-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    /* Empêche le retour à la ligne */
}

.adventure-features {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.adv-feature {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.adv-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.adv-icon svg {
    width: 22px;
    height: 22px;
    color: #FFFFFF;
}

.adv-text h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.adv-text p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==========================================
   COLLECTION SECTION
   ========================================== */
.section-collection {
    background: var(--bg-secondary);
}

.collection-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Progress Bar */
.collection-progress {
    margin-top: 32px;
    padding: 20px;
    background: var(--bg-tertiary);
    border-radius: 16px;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.progress-label {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.progress-value {
    font-weight: 700;
    color: var(--gold);
}

.progress-bar {
    height: 8px;
    background: var(--border-color);
    border-radius: 100px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-dark) 100%);
    border-radius: 100px;
    transition: width 1s var(--ease-out);
}

.progress-hint {
    margin-top: 12px;
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

/* Collection Stats */
.collection-stats {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.coll-stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.2s;
}

.coll-stat.featured {
    border-color: var(--gold-light);
    box-shadow: var(--shadow-soft);
}

.coll-stat-style {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--text-primary);
}

.coll-stat-rarity {
    padding: 5px 12px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
}

.coll-stat-rarity.local {
    background: rgba(16, 185, 129, 0.12);
    color: #10B981;
}

.coll-stat-rarity.rare {
    background: rgba(139, 92, 246, 0.12);
    color: #8B5CF6;
}

.coll-stat-rarity.legendary {
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold-dark);
}

.gallery-preview {
    position: relative;
}

.gallery-img {
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
}

.gallery-img.main {
    width: 100%;
}

.gallery-img.secondary {
    position: absolute;
    width: 50%;
    bottom: -30px;
    right: -20px;
    border: 4px solid var(--bg-secondary);
}

/* ==========================================
   MANIFESTE SECTION
   ========================================== */
.section-manifeste {
    background: var(--bg-primary);
    padding: 100px 32px;
}

.manifeste-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.manifeste-quote {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 500;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 32px;
    position: relative;
}

.manifeste-quote::before {
    content: '"';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 5rem;
    color: var(--gold-light);
    font-family: var(--font-display);
    line-height: 1;
    opacity: 0.5;
}

.manifeste-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.9;
}

.manifeste-text strong {
    color: var(--gold-dark);
    font-weight: 600;
}

/* ==========================================
   CTA SECTION
   ========================================== */
.section-cta {
    background: var(--bg-tertiary);
    text-align: center;
}

.cta-content {
    max-width: 520px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.2;
}

.cta-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

/* Beta Form */
.beta-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-row.single {
    grid-template-columns: 1fr;
}

.turnstile-container {
    display: flex;
    justify-content: center;
    margin: 8px 0;
}

.beta-form input {
    width: 100%;
    padding: 16px 20px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.2s;
}

.beta-form input::placeholder {
    color: var(--text-tertiary);
}

.beta-form input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 4px var(--gold-glow);
}

.department-input {
    position: relative;
}

.autocomplete-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border: 2px solid var(--gold);
    border-top: none;
    border-radius: 0 0 12px 12px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 100;
    display: none;
}

.autocomplete-results.active {
    display: block;
}

.autocomplete-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    cursor: pointer;
    transition: background 0.2s;
    color: var(--text-primary);
}

.autocomplete-item:hover,
.autocomplete-item.selected {
    background: var(--bg-tertiary);
}

.autocomplete-item .dept-code {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: #FFFFFF;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
}

.form-success {
    display: none;
    padding: 48px;
    background: var(--bg-secondary);
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.form-success.show {
    display: block;
}

.success-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.success-icon svg {
    width: 28px;
    height: 28px;
    color: #FFFFFF;
}

.form-success h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-success p {
    color: var(--text-secondary);
}

/* ==========================================
   LEGAL PAGES
   ========================================== */
.legal-page {
    padding: 140px 32px 80px;
    background: var(--bg-primary);
    min-height: 100vh;
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
}

.legal-header {
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-color);
}

.legal-header h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.legal-intro,
.legal-version {
    font-size: 1rem;
    color: var(--text-secondary);
}

.legal-version {
    font-weight: 500;
    color: var(--gold);
}

.legal-content {
    margin-bottom: 48px;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--gold-light);
}

.legal-section p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 12px;
}

.legal-section ul {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}

.legal-section li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.legal-section li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
}

.legal-section strong {
    color: var(--text-primary);
}

.legal-section a {
    color: var(--gold);
    transition: color 0.2s;
}

.legal-section a:hover {
    color: var(--gold-dark);
}

.legal-nav {
    display: flex;
    gap: 24px;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

.legal-nav a {
    font-size: 0.9rem;
    color: var(--gold);
    font-weight: 500;
    transition: color 0.2s;
}

.legal-nav a:hover {
    color: var(--gold-dark);
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background: var(--bg-primary);
    padding: 60px 32px 40px;
    border-top: 1px solid var(--border-color);
    overflow: hidden;
}

.footer-container {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.footer-logo {
    height: 36px;
}

.footer-tagline {
    margin-top: 12px;
    font-size: 0.9rem;
    color: var(--text-tertiary);
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-bottom {
    max-width: var(--container-max);
    margin: 24px auto 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {

    .hero-container,
    .aventure-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .hero-container {
        text-align: center;
    }

    .aventure-layout {
        direction: rtl;
    }

    .aventure-layout>* {
        direction: ltr;
    }

    .gallery-img.secondary {
        position: static;
        width: 100%;
        margin-top: 16px;
        border: none;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }

    .navbar {
        padding: 12px 20px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg-primary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        display: none;
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        font-size: 1.25rem;
    }

    .nav-actions {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
        z-index: 1001;
    }

    .hero {
        padding: 120px 20px 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .phone-frame {
        width: 240px;
        height: 480px;
    }

    .data-bubble {
        padding: 8px 12px;
        font-size: 0.85rem;
    }

    .bubble-1 {
        left: -5px;
    }

    .bubble-2 {
        right: -10px;
    }

    /* Badges slider mobile */
    .badges-slider-wrapper {
        margin: 0 -20px;
        padding: 0 20px;
        width: calc(100% + 40px);
        /* Ajustement pour éviter le scroll de page */
    }

    .badge-card {
        min-width: 260px;
        padding: 24px;
    }

    /* Section headers */
    .section-title {
        font-size: 1.75rem;
    }

    .section-intro {
        font-size: 1rem;
    }

    /* Adventure features */
    .adventure-features {
        gap: 20px;
    }

    .adv-feature {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .adv-icon {
        margin: 0 auto;
    }

    /* Footer */
    .footer-container {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    /* Legal pages */
    .legal-page {
        padding: 110px 20px 60px;
    }

    .legal-header h1 {
        font-size: 1.75rem;
    }

    .legal-section h2 {
        font-size: 1.15rem;
    }

    .legal-nav {
        flex-direction: column;
        gap: 12px;
    }

    /* Manifeste */
    .manifeste-quote {
        font-size: 1.5rem;
    }

    .manifeste-quote::before {
        font-size: 3rem;
        top: -20px;
    }

    /* CTA */
    .cta-title {
        font-size: 1.75rem;
    }

    .btn-large {
        width: 100%;
        padding: 16px 24px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 100px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .section {
        padding: 50px 16px;
    }

    .phone-frame {
        width: 220px;
        height: 440px;
    }

    .badge-card {
        min-width: 240px;
    }

    .fog-map-wrapper {
        border-radius: 12px;
    }

    .coll-stat {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .btn {
        padding: 14px 24px;
        font-size: 0.95rem;
    }

    .nav-logo img {
        height: 32px;
    }
}