:root {
    --primary-color: #0c7b41;
    --primary-gradient: linear-gradient(135deg, #0c7b41 0%, #17c96a 100%);
    --primary-hover: #09592f;
    --secondary-color: #f7a800;
    --secondary-gradient: linear-gradient(135deg, #f7a800 0%, #ffe38f 100%);
    --text-light: #ffffff;
    --text-dark: #333333;
    
    --bg-dark: #020804;
    --bg-card: rgba(255, 255, 255, 0.04);
    --bg-card-hover: rgba(255, 255, 255, 0.08);
    --border-card: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-light);
    line-height: 1.6;
    background-color: var(--bg-dark);
    overflow-x: hidden;
    position: relative;
    /* Soft noise pattern for a premium feel */
    background-image: radial-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Ambient Glowing Orbs Background (Waouh Effect) */
.ambient-orbs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.35;
    animation: float 25s infinite ease-in-out alternate;
}

.orb-1 { top: -10%; left: 10%; width: 50vw; height: 50vw; max-width: 600px; max-height: 600px; background: rgba(12, 123, 65, 0.2); animation-delay: 0s; }
.orb-2 { bottom: -20%; right: -10%; width: 40vw; height: 40vw; max-width: 500px; max-height: 500px; background: rgba(247, 168, 0, 0.15); animation-delay: -5s; }
.orb-3 { top: 40%; left: 30%; width: 30vw; height: 30vw; max-width: 400px; max-height: 400px; background: rgba(23, 201, 106, 0.15); animation-delay: -10s; }

@keyframes float {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    50% { transform: translate(50px, -50px) scale(1.1) rotate(10deg); }
    100% { transform: translate(-30px, 30px) scale(0.9) rotate(-5deg); }
}

/* Language Switcher & Webmail Top Bar */
.lang-switcher {
    position: absolute;
    top: 15px;
    right: 25px;
    z-index: 100;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 6px 18px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.webmail-top-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #e0e0e0;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.3s ease;
}
.webmail-top-btn:hover { color: var(--secondary-color); }
.webmail-top-btn svg { width: 16px; height: 16px; }

.lang-sep { color: rgba(255,255,255,0.3); font-size: 0.9rem; }

.lang-btn {
    background: none;
    border: none;
    color: #888;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}
.lang-btn:hover { color: #fff; transform: scale(1.1); }
.lang-btn.active { color: var(--secondary-color); text-shadow: 0 0 10px rgba(247,168,0,0.5); }
.lang-sep { color: #555; font-size: 0.8rem; }


/* =====================================================================
   MOBILE FIRST LAYOUT (Default styles for Mobile & Tablets)
======================================================================== */
.split-layout {
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
    z-index: 1;
}

/* PARTIE GAUCHE (Image) */
.left-pane-wrapper {
    flex: none;
    height: 70vh; /* Taller on mobile for a grand entrance */
    position: relative;
    overflow: hidden;
}

.left-pane {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url('img/imagenanga.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.05); /* Slight scale for image to breathe */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(2,8,4,0.6) 70%, var(--bg-dark) 100%);
    z-index: 1;
}

/* TEXTE ANIME "ODAMA" SUR L'IMAGE */
.left-pane-content {
    position: absolute;
    bottom: 40px;
    left: 25px;
    z-index: 2;
    animation: fadeInRight 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) both 0.5s;
}

.greeting-container {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.greeting-word {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 10vw, 5.5rem);
    font-style: italic;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1;
    text-shadow: 2px 4px 15px rgba(0,0,0,0.9);
    margin-bottom: -5px;
}

.typing-container {
    display: flex;
    align-items: flex-end;
    gap: 5px;
}

.greeting-city {
    font-size: clamp(1.8rem, 7vw, 3.8rem);
    font-weight: 800;
    color: #ffffff;
    text-shadow: 2px 4px 15px rgba(0,0,0,0.9);
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cursor {
    font-size: clamp(1.8rem, 7vw, 3.8rem);
    color: var(--primary-color);
    font-weight: 800;
    animation: blink 0.8s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* PARTIE DROITE */
.right-pane {
    flex: none;
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.right-content {
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* BRANDING */
.brand-content {
    text-align: center;
    position: relative;
}

.horizontal-logo-wrapper {
    background: #ffffff; /* Fond blanc pur pour fusionner parfaitement avec le logo */
    padding: 12px 20px;
    border-radius: 12px; /* Bords légèrement arrondis, très élégant */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6), inset 0 0 0 1px rgba(0,0,0,0.05);
    transition: transform 0.4s ease;
}

.horizontal-logo-wrapper:hover {
    transform: scale(1.02);
}

.horizontal-logo {
    width: 100%;
    max-width: 200px;
    display: block;
    height: auto;
}

.brand-content h1 {
    font-size: clamp(1.4rem, 6vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
    color: #fff;
    text-shadow: 0px 4px 15px rgba(0,0,0,0.6);
}

.highlight {
    background: var(--secondary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tagline {
    font-size: 0.95rem;
    font-weight: 300;
    color: #e0e0e0;
}

.separator {
    color: var(--primary-color); /* Vert pour le contraste */
    margin: 0 8px;
    font-weight: 600;
}

/* VIP Cards */
.vip-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 24px;
    padding: 30px;
    box-shadow: var(--glass-shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.card-glow {
    position: absolute;
    top: -40px;
    left: -40px;
    width: 120px;
    height: 120px;
    background: var(--primary-color);
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
    pointer-events: none;
}

.vip-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.1);
    background: var(--bg-card-hover);
}
.vip-card:hover .card-glow { opacity: 0.25; }
/* IMPORTANT: On ne cible pas le card-glow pour ne pas casser sa position absolue */
.vip-card > *:not(.card-glow) { position: relative; z-index: 1; }

/* Coming Soon & Countdown */
.coming-soon { text-align: center; }
.section-title { font-size: clamp(1.4rem, 5vw, 1.8rem); margin-bottom: 25px; font-weight: 700; color: #fff; letter-spacing: 1px; }

/* Countdown fixes overflow by using Grid */
.countdown {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.time-block {
    flex: 1 1 calc(25% - 12px); /* 4 items in a row */
    min-width: 75px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.5);
    padding: 15px 10px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.5);
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.time-block:hover {
    transform: translateY(-3px);
    border-color: rgba(255,255,255,0.15);
}

.time-block .number {
    font-size: clamp(1.4rem, 6vw, 2.8rem);
    font-weight: 800;
    background: var(--secondary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 5px;
}
.time-block .label {
    font-size: clamp(0.55rem, 2vw, 0.85rem);
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #bbb;
    font-weight: 600;
}

/* Form Grid */
.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.vip-card h3, .footer-content h4 {
    font-size: 1.6rem; /* Agrandissement pour "Restez Informés" et "Contactez-nous" */
    margin-bottom: 15px;
    font-weight: 800;
    color: #fff; /* Changement en blanc pour contraster fortement */
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    position: relative;
    display: inline-block;
}

.vip-card h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 4px; /* Un peu plus épais */
    background: var(--primary-gradient);
    border-radius: 2px;
}

.newsletter p { margin-bottom: 25px; font-size: 1.05rem; color: #ddd; }

/* Forms & Inputs */
.vip-form { display: flex; flex-direction: column; gap: 18px; }
.input-row { display: flex; flex-direction: column; gap: 18px; }
.input-row input { flex: 1; }

.vip-input {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.08); /* Beaucoup plus clair pour être bien visible */
    border: 1px solid rgba(255, 255, 255, 0.2); /* Bordure plus visible */
    border-radius: 12px;
    color: white;
    font-family: inherit;
    font-size: 1.05rem;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.2);
}
.vip-input::placeholder {
    color: rgba(255, 255, 255, 0.6); /* Placeholder plus lisible */
}
.vip-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 4px rgba(12, 123, 65, 0.25), inset 0 2px 5px rgba(0,0,0,0.2);
}
textarea.vip-input { resize: vertical; min-height: 140px; }

/* Anti-Robot Checkbox */
.anti-robot-check {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    background: rgba(0, 0, 0, 0.2);
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px dashed rgba(255,255,255,0.15);
}
.anti-robot-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
}
.anti-robot-check label {
    color: #ccc;
    font-size: 0.9rem;
    cursor: pointer;
}

/* Button */
.pulse-btn {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: clamp(12px, 3vw, 20px) clamp(20px, 5vw, 35px);
    border-radius: 12px;
    font-size: clamp(1rem, 4vw, 1.2rem);
    font-weight: 700;
    letter-spacing: 1px;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(12, 123, 65, 0.4);
    position: relative;
    overflow: hidden;
}
.pulse-btn span { position: relative; z-index: 2; }
.pulse-btn::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, #17c96a 0%, #0c7b41 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}
.pulse-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(12, 123, 65, 0.6), 0 0 15px rgba(12, 123, 65, 0.3);
}
.pulse-btn:hover::before { opacity: 1; }

/* Contact */
.contact-details { display: flex; flex-direction: column; gap: 15px; margin-top: 15px; }
.contact-item { display: flex; align-items: center; gap: 15px; color: #e0e0e0; text-decoration: none; font-size: 1.05rem; transition: all 0.3s ease; }
.contact-item:hover { color: #fff; transform: translateX(8px); }
.icon-wrapper {
    background: rgba(255, 255, 255, 0.05);
    width: 48px; height: 48px; border-radius: 12px; 
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.05);
    flex-shrink: 0;
}
.contact-item:hover .icon-wrapper {
    background: var(--primary-color);
    border-color: transparent;
    box-shadow: 0 5px 15px rgba(12, 123, 65, 0.4);
}
.icon-wrapper svg { width: 22px; height: 22px; color: var(--secondary-color); transition: color 0.3s ease; }
.contact-item:hover .icon-wrapper svg { color: #fff; }

/* Footer */
.footer { text-align: center; padding: 20px 0 50px; }
.footer-content p { font-size: 1rem; margin-bottom: 5px; color: #aaa; }
.copyright { margin-top: 25px; padding-top: 25px; border-top: 1px solid rgba(255, 255, 255, 0.05); font-size: 0.9rem; color: #777; line-height: 1.5; }

/* Animations */
.animate-slide-down { animation: slideDownFade 1s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.animate-slide-up { animation: slideUpFade 1s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.animate-pop-in { animation: popIn 1s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
.animate-fade-in { animation: fadeIn 1.2s ease-out both; }
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.5s; }
.delay-4 { animation-delay: 0.6s; }
.delay-5 { animation-delay: 0.8s; }

@keyframes slideDownFade { 0% { opacity: 0; transform: translateY(-40px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes slideUpFade { 0% { opacity: 0; transform: translateY(40px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes popIn { 0% { opacity: 0; transform: scale(0.9); } 100% { opacity: 1; transform: scale(1); } }
@keyframes fadeIn { 0% { opacity: 0; } 100% { opacity: 1; } }
@keyframes fadeInRight { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }

/* SweetAlert2 */
div:where(.swal2-container) div:where(.swal2-popup) { background: rgba(5, 12, 8, 0.95) !important; backdrop-filter: blur(30px) !important; border: 1px solid rgba(255,255,255,0.1) !important; color: #fff !important; border-radius: 24px !important; box-shadow: 0 20px 50px rgba(0,0,0,0.6) !important; }
div:where(.swal2-container) h2:where(.swal2-title) { color: #fff !important; }
div:where(.swal2-container) div:where(.swal2-html-container) { color: #ccc !important; }
div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm { background: var(--primary-gradient) !important; border-radius: 12px !important; padding: 14px 35px !important; font-size: 1.1rem !important; font-weight: 600 !important; }


/* =====================================================================
   DESKTOP (min-width: 992px) - BULLETPROOF SPLIT LAYOUT
======================================================================== */
@media (min-width: 992px) {
    /* Instead of flex stretching, use fixed left pane and margin right pane for guaranteed no-overflow */
    .split-layout {
        display: block; /* Disable flex column */
        width: 100%;
    }
    
    .lang-switcher {
        position: fixed;
        top: 25px;
    }
    
    .ambient-orbs {
        left: 50%; width: 50%; /* Only behind the right pane */
    }
    
    /* Fixed Left Pane */
    .left-pane-wrapper {
        position: fixed;
        top: 0;
        left: 0;
        width: 50%;
        height: 100vh;
        overflow: hidden;
    }
    
    .left-pane {
        width: 100%;
        height: 100%;
        position: relative; /* Reset absolute */
    }

    .overlay {
        background: linear-gradient(90deg, rgba(0,0,0,0.2) 0%, rgba(2,8,4,0.4) 70%, var(--bg-dark) 100%);
    }
    
    .left-pane-content {
        bottom: 80px;
        left: 60px;
    }
    
    .greeting-word { margin-bottom: -10px; }
    .greeting-city { letter-spacing: 2px; }

    /* Scrollable Right Pane */
    .right-pane {
        margin-left: 50%;
        width: 50%;
        min-height: 100vh;
        padding: 90px 40px 40px 40px; /* Padding haut augmenté pour ne pas coller à la barre Webmail/Langue */
        display: flex;
        justify-content: center;
        align-items: center; 
    }
    
    .right-content {
        max-width: 700px;
        margin: 20px 0; 
        gap: 15px; /* Très peu d'espace entre les grandes sections pour tout remonter */
    }
    
    .horizontal-logo-wrapper {
        padding: 10px 25px;
        border-radius: 12px; 
        margin-bottom: 15px; /* Réduit */
    }
    .horizontal-logo { max-width: 180px; } /* Réduit */
    .brand-content h1 { margin-bottom: 10px; line-height: 1.1; }
    .tagline { font-size: 1.1rem; }
    
    .vip-card { padding: 25px 35px 35px 35px; border-radius: 20px; } /* Padding haut réduit pour remonter les titres */
    .section-title { margin-bottom: 20px; } /* Réduit */
    
    /* Countdown fix: Responsive Flex */
    .countdown { 
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 12px; 
    }
    
    .time-block { padding: 15px 10px; }
    .time-block .number { margin-bottom: 5px; }
    .time-block .label { letter-spacing: 1px; }
    
    .form-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .input-row { flex-direction: row; }
    
    .vip-input { padding: 18px 25px; font-size: 1.1rem; }
    .pulse-btn { padding: 20px 35px; font-size: 1.2rem; }
}

@media (min-width: 1400px) {
    .horizontal-logo { max-width: 220px; }
}
