/* --- VARIABLES & RESET --- */
:root {
    --primary-blue: #0d233a;
    --accent-blue: #1d4ed8;
    --light-blue: #38bdf8;
    --bg-dark: #070d16;
    --text-color: #f8fafc;
    --text-muted: #94a3b8;
    --font-title: 'Oswald', sans-serif;
    --font-body: 'Montserrat', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- HEADER FIXE --- */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(7, 13, 22, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.3s ease;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-color);
}

.logo-img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-title);
    font-size: 1.5rem;
    letter-spacing: 1px;
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--light-blue);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    color: var(--text-color);
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--light-blue);
}

/* --- HERO SECTION --- */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    transition: transform 1.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(7, 13, 22, 0.4), rgba(7, 13, 22, 0.85));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 1.5rem;
}

.hero-content .subtitle {
    display: block;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--light-blue);
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero-content h1 {
    font-family: var(--font-title);
    font-size.clamp: 4rem;
    font-size: 5rem;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.cta-button {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    background: var(--light-blue);
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: background 0.3s, transform 0.3s;
}

.cta-button:hover {
    background: #fff;
    transform: translateY(-2px);
}

/* --- IMMERSIVE SECTIONS (APPLE STYLE) --- */
.immersive-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 10%;
    overflow: hidden;
}

.media-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    will-change: transform;
}

.media-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 13, 22, 0.55);
}

.content-container {
    position: relative;
    z-index: 2;
    max-width: 650px;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.content-container.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-tag {
    display: inline-block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--light-blue);
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.immersive-section h2 {
    font-family: var(--font-title);
    font-size: 3.5rem;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    line-height: 1.1;
}

.immersive-section p {
    font-size: 1.15rem;
    color: #e2e8f0;
    margin-bottom: 1.5rem;
}

.features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.features-list li {
    position: relative;
    padding-left: 1.5rem;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.features-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--light-blue);
}

/* --- INFO SECTION (LIEU) --- */
.info-section {
    padding: 8rem 10%;
    background: #0b1320;
    text-align: center;
}

.info-content {
    max-width: 800px;
    margin: 0 auto;
}

.info-section h2 {
    font-family: var(--font-title);
    font-size: 3rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.highlight-text {
    font-size: 1.5rem;
    color: var(--light-blue);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.info-section p {
    color: var(--text-muted);
    font-size: 1.15rem;
    margin-bottom: 3rem;
}

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

.info-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: left;
}

.info-card h3 {
    font-family: var(--font-title);
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: var(--light-blue);
}

.info-card p {
    margin-bottom: 0;
    font-size: 1.05rem;
}

/* --- CONTACT SECTION --- */
.contact-section {
    padding: 8rem 10%;
    background: var(--bg-dark);
}

.contact-container {
    max-width: 650px;
    margin: 0 auto;
    background: #0b1320;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 4rem 3rem;
    border-radius: 16px;
}

.contact-container h2 {
    font-family: var(--font-title);
    font-size: 3rem;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
}

.contact-container > p {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.form-group {
    margin-bottom: 1.8rem;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.6rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--light-blue);
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--light-blue);
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    background: #fff;
}

/* --- FOOTER --- */
footer {
    padding: 3rem 2rem;
    background: #04080e;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.tech-note {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Simplifié ou masqué sur mobile pour version one-page épurée */
    }
    
    .immersive-section {
        padding: 0 5%;
        justify-content: center;
        text-align: center;
    }

    .features-list li {
        padding-left: 0;
    }
    
    .features-list li::before {
        display: none;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .immersive-section h2, .info-section h2, .contact-container h2 {
        font-size: 2.4rem;
    }

    .contact-container {
        padding: 2.5rem 1.5rem;
    }
}
