/*
Theme Name: Babylon Freefly B2C
Description: Thème premium pour Babylon Skydive
Version: 1.2
*/

:root {
    --babylon-orange: #ff882e;
    --babylon-orange-hover: #e67520;
    --babylon-dark: #1a1c29;
    --babylon-gray: #35384b;
    --text-light: #ffffff;
    --text-dark: #333333;
}
html {
    scroll-behavior: smooth;
}


/* ================= 0. RESET GLOBAL ================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: #f8f9fa;
    padding-top: 60px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

/* ================= 0.1 HEADER & NAVIGATION ================= */
.babylon-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 25px 0;
    background-color: var(--babylon-dark); /* Transparent au chargement par dessus l'image */
}

/* La classe ajoutée par ton JS lors du défilement */
.babylon-header.header-scrolled {
    background-color: #eaeaea;
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    text-decoration: none;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 900;
    color: #ffffff;
    transition: color 0.3s ease;
}

/* La classe pour cacher le header vers le haut */
.babylon-header.header-hidden {
    transform: translateY(-100%);
    box-shadow: none; /* On enlève l'ombre quand il est caché pour éviter les bugs visuels */
}

/* Le texte du logo devient sombre quand le fond devient blanc */
.babylon-header.header-scrolled .logo-text {
    color: var(--babylon-dark);
}

.header-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-menu a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
}

/* Les liens du menu deviennent sombres quand le fond devient blanc */
.babylon-header.header-scrolled .nav-menu a {
    color: var(--babylon-dark);
}

.nav-menu a:hover {
    color: var(--babylon-orange) !important;
}

/* --- CTAs (Boutons B2C et B2B) --- */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-b2b-header, 
.btn-b2c-header {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

/* CTA B2C (Orange) */
.btn-b2c-header {
    background-color: var(--babylon-orange);
    color: #ffffff;
}
.btn-b2c-header:hover {
    background-color: var(--babylon-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 136, 46, 0.3);
}

/* CTA B2B (Transparent / Sombre) */
.btn-b2b-header {
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}
.babylon-header.header-scrolled .btn-b2b-header {
    color: var(--babylon-dark);
    border-color: var(--babylon-dark);
}
.btn-b2b-header:hover {
    background-color: #ffffff;
    color: var(--babylon-dark) !important;
    border-color: #ffffff;
}
.babylon-header.header-scrolled .btn-b2b-header:hover {
    background-color: var(--babylon-dark);
    color: #ffffff !important;
}

/* --- Menu Mobile (Hamburger) --- */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
}

.hamburger-line {
    width: 30px;
    height: 3px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.babylon-header.header-scrolled .hamburger-line {
    background-color: var(--babylon-dark);
}

/* --- Responsive Mobile Header --- */
@media (max-width: 1024px) {
    .btn-b2b-header { display: none; } /* On cache l'accès pro sur tablette pour aérer */
}

@media (max-width: 900px) {
    .header-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        padding: 30px 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        transform: translateY(-150%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.5, 0, 0, 1);
        z-index: 999;
    }
    
    .header-nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

/* --- On corrige l'alignement et on donne un look Premium --- */
    .nav-menu { 
        flex-direction: column; 
        align-items: center; 
        width: 100%;
        padding: 0; /* CRUCIAL : Supprime le décalage invisible par défaut */
        margin: 0;
        gap: 30px; /* Plus d'espace pour aérer */
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
    }

    .nav-menu a { 
        display: block; /* Élargit la zone de clic pour les gros doigts */
        color: var(--babylon-dark) !important; 
        font-size: 1.4rem; /* Plus grand pour un effet titre */
        font-weight: 800;
        text-transform: uppercase; /* Effet menu très moderne */
        letter-spacing: 1px;
    }
    .mobile-menu-toggle { display: flex; }
}

@media (max-width: 768px) {
    .btn-b2c-header { padding: 8px 12px; font-size: 0.8rem; }
}
/* ================= 1. HERO & RECHERCHE ================= */
/* Cache ce qui dépasse si la vidéo est plus grande que l'écran */
.babylon-hero {
    position: relative;
    height: 90vh;
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden; 
}

/* La vidéo qui prend tout l'espace */
.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Permet à la vidéo de se recadrer proprement sans se déformer */
    z-index: 1;
}

/* Le filtre sombre pour la lisibilité (30% d'opacité) */
.hero-overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3); /* Noir à 30% */
    z-index: 2;
}

/* On s'assure que le contenu est bien au-dessus de la vidéo et du filtre (z-index: 3) */
.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 850px;
    animation: fadeIn 1s ease-out forwards;
}

.hero-badge {
    display: inline-block;
    background-color: rgba(255, 136, 46, 0.2);
    color: var(--babylon-orange);
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    margin-bottom: 20px;
    border: 1px solid var(--babylon-orange);
}

.hero-title {
    color: var(--text-light);
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.hero-subtitle {
    color: #e2e8f0;
    font-size: 1.3rem;
    margin-bottom: 45px;
    font-weight: 400;
}

.hero-search-widget {
    background: white;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    max-width: 700px;
    margin: 0 auto;
}

.search-form {
    display: flex;
    align-items: center;
    background: #f4f5f7;
    border-radius: 8px;
    padding: 10px;
}

.input-group {
    flex: 1;
    text-align: left;
    padding: 0 15px;
    border-right: 1px solid #e2e8f0;
}

.input-group label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--babylon-gray);
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

.select-wrapper {
    position: relative;
}

.search-select {
    width: 100%;
    border: none;
    background: transparent;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--babylon-dark);
    cursor: pointer;
    outline: none;
    appearance: none;
}

.btn-primary {
    background-color: var(--babylon-orange);
    color: white;
    border: none;
    padding: 18px 35px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 10px;
    white-space: nowrap;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background-color: var(--babylon-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 136, 46, 0.3);
}

@media (max-width: 900px) {
    .hero-title { font-size: 3.2rem; }
    .search-form { flex-direction: column; background: transparent; padding: 0; }
    .input-group { border-right: none; background: #f4f5f7; border-radius: 8px; padding: 15px; margin-bottom: 10px; width: 100%; }
    .btn-primary { width: 100%; margin-left: 0; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .hero-search-widget { background: transparent; box-shadow: none; padding: 0; }
}

/* ================= 2. RÉASSURANCE (TRUST & LABELS) ================= */
.babylon-trust {
    background-color: white;
    padding: 60px 0;
    border-bottom: 1px solid #eaeaea;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.trust-item {
    padding: 20px;
    transition: transform 0.3s ease;
}

.trust-item:hover {
    transform: translateY(-5px);
}

.trust-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px auto;
    color: var(--babylon-orange);
    background: rgba(255, 136, 46, 0.1);
    border-radius: 50%;
    padding: 15px;
}

.trust-item h3 {
    color: var(--babylon-dark);
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 800;
}

.trust-item p {
    color: #64748b;
    font-size: 1rem;
}

.babylon-labels {
    background: #ffffff;
    padding: 20px 0;
    border-bottom: 1px solid #e2e8f0;
}

.labels-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.label-item {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1rem;
    color: var(--babylon-dark);
}

.label-separator {
    width: 2px;
    height: 30px;
    background: #e2e8f0;
}

@media (max-width: 768px) {
    .trust-grid { grid-template-columns: 1fr; gap: 20px; }
    .label-separator { display: none; }
}

/* ================= 3. CATALOGUE (EXPÉRIENCES) ================= */
.babylon-experiences {
    padding: 80px 0;
    background-color: #f8f9fa; /* Zébrage : Gris */
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    color: var(--babylon-dark);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.section-subtitle {
    color: #64748b;
    font-size: 1.1rem;
}

.experiences-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.experience-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.experience-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.premium-card {
    border: 2px solid var(--babylon-orange);
    position: relative;
    top: -10px;
}

.card-image {
    height: 220px;
    background-size: cover;
    background-position: center;
}

.card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-tag {
    display: inline-block;
    align-self: flex-start;
    background: #e2e8f0;
    color: var(--babylon-gray);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.tag-premium {
    background: var(--babylon-orange);
    color: white;
}

.card-title {
    color: var(--babylon-dark);
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.card-desc {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 25px;
    flex-grow: 1;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f1f5f9;
    padding-top: 20px;
}

.card-price {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--babylon-dark);
}

.btn-outline {
    color: var(--babylon-dark);
    border: 2px solid #e2e8f0;
    padding: 8px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    border-color: var(--babylon-orange);
    color: var(--babylon-orange);
}

.btn-primary-small {
    background: var(--babylon-orange);
    color: white;
    padding: 10px 22px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-primary-small:hover {
    background: var(--babylon-orange-hover);
}

@media (max-width: 900px) {
    .experiences-grid { grid-template-columns: repeat(2, 1fr); }
    .premium-card { top: 0; }
}

@media (max-width: 768px) {
    .experiences-grid { grid-template-columns: 1fr; }
    .section-title { font-size: 2rem; }
}
@media (max-width: 768px) {
    .section-title { font-size: 2rem; }
    
    /* 1. On transforme la grille verticale en ligne horizontale défilable */
    .experiences-grid { 
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory; /* Active l'aimant au défilement */
        gap: 20px;
        padding-bottom: 30px; /* Laisse de la place pour l'ombre portée des cartes */
        
        /* Cache la barre de défilement pour faire plus "Application native" */
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    
    .experiences-grid::-webkit-scrollbar {
        display: none;
    }

    /* 2. On dimensionne la carte pour créer l'effet "Peek" (Aperçu de la suivante) */
    .experience-card {
        flex: 0 0 85%; /* La carte prend 85% de l'écran, on voit donc 15% de la suivante ! */
        scroll-snap-align: center; /* La carte s'aimante bien au centre de l'écran quand on glisse */
    }

    /* 3. On enlève le décalage vers le haut de la carte Premium pour qu'elle s'aligne avec les autres sur le swipe */
    .premium-card { 
        top: 0; 
    }
}

/* ================= 4. CARTE INTERACTIVE ================= */
.babylon-map-section {
    padding: 80px 0; 
    background-color: #ffffff; /* Zébrage : Blanc */
}

.interactive-map-wrapper {
    position: relative;
    max-width: 850px; 
    margin: 0 auto;
    padding: 0; 
}

.france-svg {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.05));
}

.map-pin {
    position: absolute;
    width: 20px;
    height: 20px;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 10;
    text-decoration: none;
}

.pin-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    background-color: var(--babylon-orange);
    border-radius: 50%;
    border: 2px solid #ffffff;
    z-index: 2;
}

.pin-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background-color: var(--babylon-orange);
    border-radius: 50%;
    z-index: 1;
    animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
    0% { transform: translate(-50%, -50%) scale(0.5); opacity: 0; }
    50% { opacity: 0.5; }
    100% { transform: translate(-50%, -50%) scale(2.5); opacity: 0; }
}

.pin-tooltip {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--babylon-dark);
    color: #ffffff;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    text-align: center;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    pointer-events: none;
}

.pin-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: var(--babylon-dark) transparent transparent transparent;
}

.map-pin:hover .pin-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* ================= 5. HOW IT WORKS ================= */
.babylon-how-it-works {
    padding: 80px 0;
    background-color: #f8f9fa; /* Zébrage : Gris */
}

.steps-container {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 60px;
}

.steps-line {
    position: absolute;
    top: 35px;
    left: 10%;
    right: 10%;
    height: 3px;
    background-color: #e2e8f0;
    z-index: 1;
}

.step-box {
    flex: 1;
    text-align: center;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 70px;
    height: 70px;
    background-color: var(--babylon-orange);
    color: white;
    font-size: 1.8rem;
    font-weight: 900;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px auto;
    border: 8px solid #f8f9fa;
    box-shadow: 0 10px 20px rgba(255, 136, 46, 0.25);
    transition: transform 0.3s ease;
}

.step-box:hover .step-number {
    transform: scale(1.1);
}

.step-title {
    color: var(--babylon-dark);
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.step-desc {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
}

.steps-cta-box {
    margin-top: 70px;
    padding-top: 50px;
    border-top: 2px dashed #e2e8f0;
    text-align: center;
}

.cta-box-title {
    color: var(--babylon-dark);
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.cta-box-subtitle {
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.btn-large {
    padding: 20px 45px;
    font-size: 1.2rem;
    box-shadow: 0 10px 25px rgba(255, 136, 46, 0.4);
}

.btn-large:hover {
    box-shadow: 0 15px 35px rgba(255, 136, 46, 0.6);
}

@media (max-width: 900px) {
    .steps-container { flex-direction: column; gap: 50px; }
    .steps-line { display: none; }
}
@media (max-width: 768px) {
    .cta-box-title { font-size: 1.6rem; }
    .btn-large { width: 100%; display: block; }
}

/* ================= 6. MONITEURS (CAROUSEL) ================= */
.babylon-team {
    padding: 80px 0;
    background-color: #ffffff; /* Zébrage : Blanc */
}

.team-carousel-wrapper {
    width: 100%;
    overflow: hidden;
    margin-top: 40px;
}

.team-carousel {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 30px;
    
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.team-carousel::-webkit-scrollbar {
    display: none;
}

.carousel-card {
    flex: 0 0 320px;
    scroll-snap-align: start;
    background: #f8f9fa;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease;
}

.carousel-card:hover {
    transform: translateY(-8px);
}

.card-img-top {
    height: 220px;
    background-size: cover;
    background-position: center;
}

.carousel-card-body {
    padding: 25px;
}

.carousel-card-body h4 {
    font-size: 1.5rem;
    color: var(--babylon-dark);
    margin-bottom: 5px;
    font-weight: 800;
}

.monitor-zone {
    color: var(--babylon-orange);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.monitor-stats {
    list-style: none;
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    padding: 12px 0;
}

.monitor-stats li {
    font-size: 0.85rem;
    color: #64748b;
}

.monitor-stats strong {
    display: block;
    color: var(--babylon-dark);
    font-size: 1.1rem;
    font-weight: 900;
}

.monitor-teaser {
    font-size: 0.95rem;
    color: #475569;
    margin-bottom: 25px;
    line-height: 1.5;
    min-height: 65px;
}

.btn-outline-small {
    display: block;
    text-align: center;
    border: 2px solid var(--babylon-dark);
    color: var(--babylon-dark);
    padding: 10px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-outline-small:hover {
    background: var(--babylon-dark);
    color: #ffffff;
}

@media (max-width: 768px) {
    .carousel-card { flex: 0 0 280px; }
}

/* --- Carte Spéciale Recrutement B2B --- */
.b2b-recruit-card {
    background: linear-gradient(135deg, var(--babylon-orange) 0%, #e67520 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 25px; /* Ajuste le padding interne */
}

/* On désactive l'effet de survol vers le haut pour cette carte pour qu'elle ait l'air d'une bannière solide */
.b2b-recruit-card:hover {
    transform: none; 
}

.b2b-recruit-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.b2b-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.b2b-icon svg {
    width: 40px;
    height: 40px;
    color: white;
}

.b2b-recruit-card h4 {
    color: white;
    font-size: 1.6rem;
    margin-bottom: 15px;
    font-weight: 900;
}

.b2b-recruit-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    margin-bottom: 30px;
    line-height: 1.5;
}

/* ================= 7. NOTRE ADN ================= */
.babylon-about {
    padding: 80px 0;
    background-color: #f8f9fa; /* Zébrage : Gris */
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.section-badge {
    display: inline-block;
    background-color: rgba(255, 136, 46, 0.1);
    color: var(--babylon-orange);
    padding: 6px 14px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.about-text p {
    color: #64748b;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.rounded-image {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    object-fit: cover;
    aspect-ratio: 4/3;
}

@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ================= 8. CADEAUX & ÉVÉNEMENTS ================= */
.babylon-gifts { 
    padding: 80px 0; 
    background-color: #ffffff; /* Zébrage : Blanc */
}

.gifts-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 20px; 
    margin-top: 40px; 
}

.gift-card {
    position: relative;
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 25px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.gift-card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 15px 30px rgba(0,0,0,0.2); 
}

.gift-bg {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover; background-position: center; z-index: 1; transition: transform 0.5s ease;
}
.gift-card:hover .gift-bg { transform: scale(1.05); }

.gift-overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(26,28,41,0.9) 0%, rgba(26,28,41,0.1) 100%); z-index: 2;
}

.gift-content { position: relative; z-index: 3; color: white; }
.gift-content h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 5px; }
.gift-content p { font-size: 0.9rem; opacity: 0.9; margin: 0; }

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

/* ================= 9. FAQ ================= */
.babylon-faq {
    padding: 80px 0;
    background-color: #f8f9fa; /* Zébrage : Gris */
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.faq-question {
    padding: 20px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--babylon-dark);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question:hover {
    background-color: #f1f5f9;
}

.faq-question::after {
    content: '+';
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--babylon-orange);
    transition: transform 0.3s ease;
    line-height: 1;
}

details[open] .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 20px 20px 20px;
    color: #64748b;
    line-height: 1.6;
    border-top: 1px solid #f1f5f9;
    margin-top: 10px;
    padding-top: 15px;
    font-size: 1rem;
}

/* ================= 10. B2B BRIDGE ================= */
.babylon-b2b-bridge { 
    padding: 60px 0; 
    background: var(--babylon-dark); /* Sort du zébrage, fin visuelle forte */
}

.b2b-bridge-content { 
    background: linear-gradient(135deg, var(--babylon-orange) 0%, #e67520 100%); 
    border-radius: 20px; 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    overflow: hidden;
}

.b2b-text { padding: 50px; color: white; display: flex; flex-direction: column; justify-content: center; }
.b2b-text h2 { font-size: 2rem; font-weight: 900; margin-bottom: 15px; line-height: 1.2; }
.b2b-text p { font-size: 1.05rem; margin-bottom: 20px; opacity: 0.9; }

.b2b-features-list { list-style: none; margin-bottom: 30px; }
.b2b-features-list li { font-weight: 700; margin-bottom: 10px; font-size: 1rem; }

.b2b-image { position: relative; }
.dashboard-mockup { width: 120%; height: 100%; object-fit: cover; object-position: left center; border-left: 5px solid rgba(255,255,255,0.2); }

@media (max-width: 900px) {
    .b2b-bridge-content { grid-template-columns: 1fr; }
    .dashboard-mockup { width: 100%; height: 250px; border-left: none; border-top: 5px solid rgba(255,255,255,0.2); }
}

/* ================= OPTIMISATION B2B MOBILE ================= */
@media (max-width: 768px) {
    /* 1. On réduit les marges internes pour laisser respirer le texte sur petit écran */
    .b2b-text {
        padding: 40px 20px;
        text-align: center; /* On centre tout le texte */
    }

    /* 2. On ajuste la taille du titre */
    .b2b-text h2 {
        font-size: 1.7rem;
        margin-bottom: 20px;
    }

    /* 3. On centre le bloc de la liste (tout en gardant l'alignement gauche des puces) */
    .b2b-features-list {
        display: inline-block;
        text-align: left;
        margin: 0 auto 30px auto;
        background: rgba(0, 0, 0, 0.1); /* Petit fond subtil pour faire ressortir les arguments */
        padding: 15px 25px;
        border-radius: 12px;
    }

    .b2b-features-list li {
        margin-bottom: 12px;
        font-size: 0.95rem;
    }

    /* 4. Le CTA devient massif et facile à cliquer avec le pouce */
    .b2b-text .btn-primary {
        display: block;
        width: 100%;
        padding: 18px 0;
        font-size: 1.1rem;
        box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    }

    /* 5. On ajuste la hauteur de l'image de l'ERP en bas */
    .dashboard-mockup {
        height: 220px;
        border-top: 3px solid rgba(255, 255, 255, 0.2);
    }
}

/* ================= 11. GLOBAL RESPONSIVE FIX (MOBILE) ================= */
@media (max-width: 768px) {
    /* Réduction des grands espaces vides sur mobile */
    .babylon-experiences,
    .babylon-map-section,
    .babylon-how-it-works,
    .babylon-team,
    .babylon-about,
    .babylon-gifts,
    .babylon-faq,
    .babylon-b2b-bridge {
        padding: 40px 0;
    }
}

/* ================= ANIMATIONS AU SCROLL ================= */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Optionnel : pour créer un effet de cascade si plusieurs éléments sont côte à côte */
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }

/* NOUVEAU : On annule totalement l'animation reveal pour les cartes du catalogue sur mobile */
@media (max-width: 768px) {
    .experiences-grid .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* ================= 12. FOOTER GLOBAL ================= */
.babylon-footer {
    background-color: var(--babylon-dark);
    color: #94a3b8;
    font-size: 0.95rem;
}

/* --- Bandeau Newsletter (Top Footer) --- */
.footer-newsletter-banner {
    background-color: var(--babylon-orange);
    padding: 40px 0;
    margin-bottom: 60px;
    color: white;
}

.newsletter-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.newsletter-text {
    display: flex;
    align-items: center;
    gap: 20px;
}

.newsletter-icon {
    font-size: 2.5rem;
    background: rgba(255, 255, 255, 0.2);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.newsletter-text-content h4 {
    font-size: 1.4rem;
    font-weight: 900;
    margin-bottom: 5px;
    text-transform: uppercase;
    color: white;
}

.newsletter-text-content p {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
}

.newsletter-inline-form {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.newsletter-inline-form input {
    padding: 12px 20px;
    border-radius: 8px;
    border: none;
    width: 300px;
    font-size: 1rem;
    outline: none;
    color: var(--babylon-dark);
}

.btn-dark-small {
    background-color: var(--babylon-dark);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.3s ease;
}

.btn-dark-small:hover {
    background-color: #000;
    transform: translateY(-2px);
}

/* --- Grille des 4 Colonnes --- */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 60px;
}

.babylon-footer h3, 
.babylon-footer h4 {
    color: #ffffff;
    font-weight: 800;
    margin-bottom: 25px;
}

.babylon-footer h3 {
    font-size: 1.5rem;
    color: var(--babylon-orange);
}

.footer-brand p {
    line-height: 1.7;
    padding-right: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-links a:hover {
    color: var(--babylon-orange);
    padding-left: 5px;
}

.pro-link {
    color: #ffffff !important;
    font-weight: 700;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.3);
}

/* --- Labels --- */
.labels-container {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.footer-label-img {
    height: 60px;
    width: auto;
    background: #ffffff;
    padding: 5px;
    border-radius: 6px;
}

/* --- Barre de Copyright --- */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 0;
    font-size: 0.85rem;
}

.footer-socials {
    display: flex;
    gap: 20px;
}

.footer-socials a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-socials a:hover {
    color: var(--babylon-orange);
}

/* --- Responsive Mobile --- */
@media (max-width: 992px) {
    .newsletter-flex {
        flex-direction: column;
        text-align: center;
    }
    .newsletter-text {
        flex-direction: column;
    }
    .newsletter-inline-form {
        width: 100%;
        max-width: 500px;
    }
    .newsletter-inline-form input {
        flex-grow: 1;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    .newsletter-inline-form {
        flex-direction: column;
    }
    .newsletter-inline-form input,
    .btn-dark-small {
        width: 100%;
    }
}
@media (max-width: 768px) {
    /* Bouton "Choisir mon expérience" et "Découvrir toute l'équipe" */
    .btn-large,
    .team-cta-box .btn-primary {
        width: calc(100% - 40px) !important; /* 100% moins 20px de chaque côté */
        margin: 0 auto !important; /* Centre le bouton */
        display: block;
        box-sizing: border-box;
    }
    
    /* On donne aussi un peu d'air au texte au-dessus du bouton de l'équipe */
    .team-cta-box {
        padding: 0 20px;
    }
}
/* --- Responsive Mobile pour le Footer --- */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr; /* Passage sur 2 colonnes sur tablette */
    }
}

@media (max-width: 768px) {
    .babylon-footer {
        padding: 60px 0 20px 0;
    }
    .footer-grid {
        grid-template-columns: 1fr; /* Empilement total sur mobile */
        gap: 40px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}