/* --- 1. CONFIGURATION GLOBALE --- */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700&family=Montserrat:wght@300;400;600;700;800&display=swap');

:root {
    --bg-dark: #050505;
    --text-white: #ffffff;
    --brand-orange: #d35400;
    --neon-glow: 0 0 10px rgba(211, 84, 0, 0.5);
    --font-heading: 'Cinzel', serif;
    --font-body: 'Montserrat', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }

body { 
    background-color: var(--bg-dark); 
    color: var(--text-white); 
    font-family: var(--font-body); 
    overflow-x: hidden; 
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* --- HEADER --- */
.top-bar {
    background-color: var(--brand-orange);
    color: white;
    text-align: center;
    font-size: 0.7rem;
    padding: 8px 0;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-body);
}

nav {
    background-color: #000000;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #1a1a1a;
}

/* LE PETIT LOGO (Noir/Fondre dans la masse) */
.nav-logo img {
    height: 45px;
    /* J'ai enlevé 'filter: invert(1)' pour qu'il garde son fond noir d'origine et se fonde dans la barre */
    border-radius: 5px; 
}

.nav-menu { display: flex; gap: 40px; }
.nav-menu a {
    color: white; font-size: 0.85rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.nav-menu a:hover { color: var(--brand-orange); }

.nav-icons { display: flex; align-items: center; gap: 25px; }
.nav-icons a { color: white; font-size: 1.1rem; }

.cart-wrapper { position: relative; display: flex; align-items: center; }
.badge {
    position: absolute; top: -8px; right: -10px;
    background-color: var(--brand-orange); color: white;
    font-size: 0.7rem; font-weight: bold; height: 18px; width: 18px;
    border-radius: 50%; display: flex; justify-content: center; align-items: center;
}

/* --- HERO SECTION --- */
.hero-split {
    display: flex;
    /* CHANGE ICI : Utilise min-height au lieu de height */
    min-height: calc(100vh - 110px); 
    height: auto; /* Permet de grandir si on zoome */
    width: 100%;
    border-bottom: 1px solid #222;
    overflow: hidden; /* Évite les dépassements bizarres */
    flex-wrap: wrap; /* Permet de passer à la ligne sur petits écrans */
}

.hero-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* CHANGE ICI : Padding en % pour s'adapter au zoom/dézoom */
    padding: 5% 8%; 
    background: #000;
    position: relative;
    z-index: 1;
    min-width: 300px; /* Évite que ça devienne trop petit */
}

/* LE GRAND LOGO DANS LA HERO SECTION */
.hero-logo-large {
    width: 100%;
    /* CHANGE ICI : Réduit un peu la taille max pour laisser de la place au texte */
    max-width: 300px; 
    height: auto;
    margin-bottom: 20px; /* Réduit un peu la marge */
    display: block;
    mix-blend-mode: screen; 
}

.hero-logo-fixed {
    position: absolute;
    top: 60px;
    left: 80px;
    width: 110px;
    opacity: 0.95;
    z-index: 3;
}

.hero-tag { color: var(--brand-orange); letter-spacing: 3px; font-weight: 800; margin-bottom: 20px; display: block; text-transform: uppercase; font-size: 0.8rem; }
.hero-title { font-family: var(--font-heading); font-size: 4rem; line-height: 1.1; text-transform: uppercase; margin-bottom: 40px; color: white; }

.btn-white {
    display: inline-block; padding: 18px 40px; background: white; color: black;
    font-weight: 800; text-transform: uppercase; letter-spacing: 1px; font-size: 0.8rem; border: none; cursor: pointer; transition: 0.3s;
}
.btn-white:hover { background: var(--brand-orange); color: white; }

.hero-right { flex: 1; position: relative; }
.hero-img { width: 100%; height: 100%; object-fit: cover; border-left: 1px solid #333; }

/* --- LE RESTE (MARQUEE, PRODUIT, FOOTER) --- */
.marquee-container { background: var(--brand-orange); color: white; padding: 10px 0; overflow: hidden; white-space: nowrap; border-top: 2px solid white; border-bottom: 2px solid white; }
.marquee-content { display: inline-block; animation: scrollText 20s linear infinite; font-weight: 800; font-size: 1.2rem; text-transform: uppercase; }

.product-section { padding: 100px 5%; background: radial-gradient(circle at top right, #1a1a1a, #000); display: flex; flex-wrap: wrap; gap: 50px; align-items: center; justify-content: center; }
.tech-card {
    background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1); padding: 40px; border-radius: 15px;
    flex: 1; min-width: 300px; max-width: 600px; box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transform: translateY(50px); opacity: 0; transition: 0.6s;
}
.tech-card.visible { transform: translateY(0); opacity: 1; }
.product-title { font-family: var(--font-heading); font-size: 2.5rem; margin-bottom: 15px; }
.price-tag { font-size: 2rem; color: var(--brand-orange); font-weight: bold; }
.specs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 30px; }
.spec-item { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: #aaa; }
.spec-item i { color: var(--brand-orange); }

.btn-tech {
    background: linear-gradient(45deg, var(--brand-orange), #a04000); border: none; color: white; padding: 15px 40px; font-weight: bold; text-transform: uppercase; cursor: pointer;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); transition: 0.3s; width: 100%; margin-top: 20px;
}
.btn-tech:hover { filter: brightness(1.2); box-shadow: var(--neon-glow); }

footer { background: black; color: #444; text-align: center; padding: 30px; border-top: 1px solid #222; }

/* ANIMATIONS & RESPONSIVE */
@keyframes loadLine { 0% { width: 0; } 100% { width: 200px; } }
@keyframes pulse { 0% { opacity: 0.5; } 50% { opacity: 1; } 100% { opacity: 0.5; } }
@keyframes scrollText { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

#loader { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: #000; z-index: 9999; display: flex; justify-content: center; align-items: center; flex-direction: column; transition: opacity 0.8s ease-out; }
.loader-logo { width: 100px; animation: pulse 1.5s infinite; }
.loader-line { width: 0; height: 2px; background: var(--brand-orange); margin-top: 20px; animation: loadLine 2s forwards; }

/* --- RESPONSIVE : MODE TÉLÉPHONE (FIX FINAL) --- */
@media (max-width: 900px) {
    
    .hero-split {
        flex-direction: column;
        height: auto; 
        min-height: 100vh;
    }

    .hero-left {
        width: 100%;
        height: auto;
        padding: 80px 20px; /* Un peu plus d'espace vertical */
        align-items: center;
        text-align: center;
        overflow: visible;
    }

    /* Ajustement du titre sur mobile */
    .hero-title {
        font-size: 2.8rem;
        margin-bottom: 20px;
    }

    .hero-right {
        width: 100%;
        height: 450px; /* Taille fixe pour l'image sur mobile */
    }

    .nav-menu { display: none; }
    nav { padding: 0 20px; }
    
    /* On empile aussi la section produit */
    .product-section { padding: 50px 20px; flex-direction: column; }
}
/* --- RESPONSIVE FIX (POUR LE ZOOM ET MOBILE) --- */
@media (max-width: 1024px) {
    .hero-split {
        flex-direction: column; /* Empile les éléments verticalement */
    }

    .hero-left {
        width: 100%;
        padding: 60px 40px;
        align-items: center; /* Centre tout */
        text-align: center;
    }

    .hero-right {
        width: 100%;
        height: 50vh; /* Donne une hauteur fixe à l'image quand elle est en dessous */
        min-height: 400px;
    }

    .hero-title {
        font-size: 3rem; /* Réduit un peu la police du titre */
    }
}



footer {
            background-color: #111;
            color: #fff;
            padding-top: 60px;
            border-top: 1px solid #222;
            font-family: 'Segoe UI', sans-serif;
        }

        .footer-container {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(4, 1fr); /* 4 Colonnes */
            gap: 40px;
            padding: 0 20px 60px 20px;
        }

        /* COLONNE 1 : LOGO & INFO */
        .footer-logo { width: 120px; margin-bottom: 20px; }
        .footer-desc { color: #888; font-size: 0.9rem; line-height: 1.6; margin-bottom: 20px; }
        .social-links a {
            display: inline-flex; justify-content: center; align-items: center;
            width: 35px; height: 35px; background: #222; color: #fff;
            border-radius: 50%; text-decoration: none; margin-right: 10px; transition: 0.3s;
        }
        .social-links a:hover { background: #d35400; }

        /* TITRES COLONNES */
        h4.footer-title {
            color: #fff; text-transform: uppercase; letter-spacing: 2px;
            margin-bottom: 25px; font-size: 1rem; border-left: 3px solid #d35400; padding-left: 10px;
        }

        /* COLONNE 2 : LIENS */
        .footer-links ul { list-style: none; padding: 0; }
        .footer-links li { margin-bottom: 12px; }
        .footer-links a { color: #888; text-decoration: none; transition: 0.3s; font-size: 0.9rem; }
        .footer-links a:hover { color: #d35400; padding-left: 5px; }

        /* COLONNE 3 : NEWSLETTER */
        .newsletter-text { color: #888; font-size: 0.9rem; margin-bottom: 15px; }
        .newsletter-form { display: flex; flex-direction: column; gap: 10px; }
        .newsletter-input {
            padding: 12px; background: #000; border: 1px solid #333; color: white; border-radius: 4px; outline: none;
        }
        .newsletter-input:focus { border-color: #d35400; }
        .newsletter-btn {
            background: #d35400; color: white; border: none; padding: 12px; border-radius: 4px;
            cursor: pointer; font-weight: bold; text-transform: uppercase; letter-spacing: 1px; transition: 0.3s;
        }
        .newsletter-btn:hover { background: #e67e22; }

        /* COLONNE 4 : MAP */
        .map-container {
            width: 100%; height: 200px; border-radius: 8px; overflow: hidden; border: 1px solid #333;
        }

        /* COPYRIGHT BAR */
        .copyright {
            background: #000; text-align: center; padding: 20px; color: #555; font-size: 0.8rem; border-top: 1px solid #1a1a1a;
        }

        /* RESPONSIVE MOBILE */
        @media (max-width: 900px) {
            .footer-container { grid-template-columns: 1fr; gap: 40px; } /* Tout sur 1 colonne */
        }