/* ==========================================
   DISCOVERA - MAIN STYLESHEET
   Corporate Elegant Design
   N0U$ $0Mm3 1@ --- J & C ---
   ========================================== */

:root {
    /* Corporate Palette - Beige & Grey */
    --bg-primary: #F5F1E8;
    --bg-secondary: #FEFDFB;
    --bg-accent: #E8DCC4;
    
    --text-primary: #3A3A3A;
    --text-secondary: #7A7A7A;
    --text-light: #A0A0A0;
    
    --accent-taupe: #B8A691;
    --accent-gold: #C9B896;
    
    --border-light: #E0D8C8;
    --shadow-soft: rgba(58, 58, 58, 0.08);
    --shadow-medium: rgba(58, 58, 58, 0.12);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-primary);
    background: var(--bg-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==========================================
   LANGUAGE TOGGLE
   ========================================== */

.lang-toggle {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 1000;
    display: flex;
    gap: 0.5rem;
    background: var(--bg-secondary);
    padding: 0.5rem;
    border-radius: 30px;
    box-shadow: 0 2px 8px var(--shadow-soft);
}

.lang-btn {
    background: transparent;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-btn.active {
    background: var(--accent-taupe);
    color: white;
}

.lang-btn:hover:not(.active) {
    background: var(--bg-accent);
    color: var(--text-primary);
}

/* ==========================================
   HERO SECTION WITH VIDEO BACKGROUND
   ========================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 2rem;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-accent) 100%);
    overflow: hidden;
}

/* Video Background Container */
#video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

#video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

/* Overlay pour lisibilité du texte */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(245, 241, 232, 0.60) 0%,
        rgba(232, 220, 196, 0.50) 100%
    );
    z-index: 1;
    pointer-events: none;
}

/* Gradient subtil par-dessus pour depth */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(184, 166, 145, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(201, 184, 150, 0.15) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
}

.logo {
    font-size: 4rem;
    font-weight: 300;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.tagline {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-weight: 300;
    letter-spacing: 0.02em;
}

.construction-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 400;
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 12px var(--shadow-soft);
}

.construction-icon {
    font-size: 1.2rem;
    animation: pulse 2s ease-in-out infinite;
}

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

/* ==========================================
   INFO SECTION
   ========================================== */

.info-section {
    padding: 6rem 2rem;
    background: var(--bg-secondary);
}

.info-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: 0.02em;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 4rem;
    font-weight: 300;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.info-card {
    background: var(--bg-primary);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    transition: all 0.4s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px var(--shadow-medium);
    border-color: var(--accent-taupe);
}

.info-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.info-title {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.info-text {
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 300;
}

/* ==========================================
   PRIVACY SECTION
   ========================================== */

.privacy-section {
    padding: 6rem 2rem;
    background: var(--bg-primary);
}

.privacy-container {
    max-width: 900px;
    margin: 0 auto;
}

.privacy-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.privacy-content {
    background: var(--bg-secondary);
    padding: 3rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-taupe);
    box-shadow: 0 4px 12px var(--shadow-soft);
}

.privacy-content h3 {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 1rem;
    margin-top: 2rem;
    color: var(--text-primary);
}

.privacy-content h3:first-child {
    margin-top: 0;
}

.privacy-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-weight: 300;
}

.privacy-content ul {
    margin: 1rem 0 1rem 2rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.privacy-content li {
    margin-bottom: 0.5rem;
    font-weight: 300;
}

.privacy-content strong {
    color: var(--text-primary);
    font-weight: 500;
}

.privacy-highlight {
    background: var(--bg-accent);
    padding: 1.5rem;
    border-radius: 6px;
    margin: 2rem 0;
    border-left: 3px solid var(--accent-gold);
}

/* ==========================================
   FOOTER
   ========================================== */

footer {
    background: var(--text-primary);
    color: var(--bg-primary);
    padding: 3rem 2rem 2rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-text {
    font-size: 0.95rem;
    opacity: 0.8;
    margin-bottom: 0.5rem;
    font-weight: 300;
}

.footer-signature {
    margin-top: 2rem;
    font-size: 0.85rem;
    opacity: 0.1;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.05em;
}

/* ==========================================
   LANGUAGE CONTENT
   ========================================== */

[lang]:not(.active-lang) {
    display: none;
}

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 768px) {
    .lang-toggle {
        top: 1rem;
        right: 1rem;
    }

    .logo {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1.1rem;
    }

    .construction-badge {
        font-size: 0.9rem;
        padding: 0.75rem 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .privacy-content {
        padding: 2rem 1.5rem;
    }

    /* Désactiver vidéos sur mobile (géré par JS mais backup CSS) */
    #video-background {
        display: none;
    }

    /* Renforcer l'overlay sur mobile pour meilleur contraste */
    .hero::before {
        background: linear-gradient(
            135deg,
            rgba(245, 241, 232, 0.95) 0%,
            rgba(232, 220, 196, 0.90) 100%
        );
    }
}

/* ==========================================
   ANIMATIONS
   ========================================== */

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

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.info-card {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.info-card:nth-child(1) { animation-delay: 0.1s; }
.info-card:nth-child(2) { animation-delay: 0.2s; }
.info-card:nth-child(3) { animation-delay: 0.3s; }

/* ==========================================
   UTILITIES
   ========================================== */

.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-2 {
    margin-top: 2rem;
}
