/* =========================================
   1. VARIABLES & BASE
   ========================================= */
:root {
    /* MODE CLAIR (Défaut) */
    --color-main: #2b4f6c;       /* Bleu Numibat */
    --color-accent: #a1d7e6;     /* Bleu clair */
    
    --bg-body: #fafafa;          /* Blanc cassé */
    --bg-card: #ffffff;          /* Carte blanche */
    --bg-card-hover: #fcfcfc;
    
    --text-main: #1d1d1f;        /* Noir Apple */
    --text-muted: #555555;
    --text-inverse: #ffffff;

    --nav-bg: rgba(250, 250, 250, 0.95);
    --border-color: rgba(0, 0, 0, 0.08);
    --shadow-card: 0 10px 40px rgba(0,0,0,0.06);

    --bottom-fade: #fafafa; 

    --radius-l: 24px;
    --radius-pill: 100px;
    --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* MODE SOMBRE */
[data-theme="dark"] {
    --bg-body: #050505;          /* Noir profond */
    --bg-card: #1c1c1e;          /* Gris anthracite */
    --bg-card-hover: #2c2c2e;
    
    --text-main: #f5f5f7;        /* Blanc cassé */
    --text-muted: #98989d;
    --text-inverse: #000000;

    --nav-bg: rgba(15, 15, 15, 0.9);
    --border-color: rgba(255, 255, 255, 0.15);
    --shadow-card: 0 0 0 1px rgba(255,255,255,0.1);

    --bottom-fade: #050505; 
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body { 
    background-color: var(--bg-body); 
    color: var(--text-main); 
    font-family: 'Poppins', sans-serif; 
    overflow-x: hidden; 
    transition: background-color 0.4s, color 0.4s; 
}

h1, h2, h3, h4, h5, h6 { 
    font-family: 'Montserrat', sans-serif; 
    font-weight: 700; 
    letter-spacing: -0.5px; 
    color: var(--text-main); 
}

p, li, span { color: inherit; }
a { text-decoration: none; }
ul { list-style: none; }

/* =========================================
   2. HEADER & NAVIGATION
   ========================================= */
header {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    transition: var(--transition); padding: 25px 0;
}
header.scrolled {
    background: var(--nav-bg);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    padding: 15px 0; border-bottom: 1px solid var(--border-color);
}
.nav-container {
    max-width: 1200px; margin: 0 auto; display: flex;
    justify-content: space-between; align-items: center; padding: 0 20px;
}
.logo-link { display: flex; align-items: center; gap: 15px; }
.nav-logo { height: 60px; width: auto; display: block; }
.logo-text { font-size: 1.5rem; font-weight: 800; color: var(--text-main); }

.nav-right { display: flex; align-items: center; gap: 30px; }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { color: var(--text-main); font-size: 0.9rem; font-weight: 500; transition: color 0.3s; }
.nav-links a:hover, .nav-links a.active { color: var(--color-main); }

.btn-nav {
    background: var(--text-main); color: var(--bg-body) !important; padding: 10px 24px;
    border-radius: var(--radius-pill); font-weight: 600 !important; font-size: 0.85rem !important;
}
.btn-nav:hover { background: var(--color-main); color: white !important; }

.theme-switch {
    background: transparent; border: none; cursor: pointer;
    font-size: 1.2rem; color: var(--text-main); transition: transform 0.3s;
}

/* =========================================
   3. HERO SECTION (ACCUEIL)
   ========================================= */
.hero {
    position: relative; height: 100vh; width: 100%;
    display: flex; align-items: center; justify-content: center;
    text-align: center; overflow: hidden; 
    color: white !important; 
}
.hero h1, .hero p, .hero span { color: white !important; }

.video-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; }
video { width: 100%; height: 100%; object-fit: cover; display: block; }

.video-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5); 
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute; bottom: 0; left: 0; width: 100%; height: 150px;
    background: linear-gradient(to top, var(--bottom-fade) 0%, transparent 100%);
    z-index: 2; pointer-events: none;
}

.hero-content { z-index: 3; max-width: 900px; padding: 20px; position: relative; }
.hero-glow {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(161, 215, 230, 0.4) 0%, rgba(43, 79, 108, 0.2) 40%, rgba(0,0,0,0) 70%);
    filter: blur(80px); z-index: -1; pointer-events: none;
}
.hero-title { font-size: 4rem; line-height: 1.1; margin-bottom: 25px; text-shadow: 0 4px 30px rgba(0,0,0,0.8); }
.gradient-text { 
    background: linear-gradient(135deg, #ffffff 0%, var(--color-accent) 100%); 
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; 
    animation: gradientFlow 3s ease infinite;
}
.hero-subtitle { font-size: 1.3rem; margin-bottom: 50px; font-weight: 300; max-width: 700px; margin-left: auto; margin-right: auto; text-shadow: 0 2px 10px rgba(0,0,0,0.8); }

.hero-buttons { display: flex; justify-content: center; gap: 20px; }

/* BOUTONS */
.btn { 
    display: inline-block; padding: 16px 36px; border-radius: var(--radius-pill); 
    font-weight: 600; cursor: pointer; transition: var(--transition); 
    font-size: 1rem; position: relative; overflow: hidden; 
}
.btn-primary { background-color: var(--color-main); color: white !important; border: 1px solid var(--color-main); }
.btn-primary:hover { background-color: var(--color-accent); border-color: var(--color-accent); color: #000 !important; transform: translateY(-3px); }
.btn-glass { background: rgba(255, 255, 255, 0.2); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.4); color: white !important; }
.btn-glass:hover { background: white; color: black !important; border-color: white; transform: translateY(-3px); }
.btn-outline-large { 
    padding: 15px 40px; border: 1px solid var(--text-muted); 
    border-radius: var(--radius-pill); color: var(--text-main); font-weight: 500; transition: 0.3s; 
}
.btn-outline-large:hover { background: var(--text-main); color: var(--bg-body); border-color: var(--text-main); }

/* =========================================
   4. LAYOUT & SECTIONS
   ========================================= */
.section-std { padding: 120px 0; background-color: var(--bg-body); }
.section-alt { padding: 120px 0; background-color: #f5f5f7; }
[data-theme="dark"] .section-alt { background-color: #0e0e0e; }
.section-black { background-color: #000000; padding: 100px 0; color: white !important; position: relative; overflow: hidden; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 30px; }
.section-header { text-align: center; margin-bottom: 80px; }
.section-header h2 { font-size: 3rem; margin-bottom: 15px; color: var(--text-main); }
.section-header p { color: var(--text-muted); font-size: 1.2rem; }

/* Split Layout */
.split-layout { display: flex; align-items: center; gap: 60px; }
.split-text { flex: 1; }
.split-image { flex: 1; }
.split-image img { width: 100%; border-radius: var(--radius-l); box-shadow: var(--shadow-card); transition: transform 0.5s ease; }
.split-image img:hover { transform: scale(1.02) rotate(1deg); }
.lead-text { font-size: 1.3rem; color: var(--color-main); margin-bottom: 20px; font-weight: 600; }
.split-text p { color: var(--text-muted); margin-bottom: 15px; line-height: 1.7; }
.split-text h2 { font-size: 2.5rem; margin-bottom: 25px; color: var(--text-main); }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; color: var(--color-main); font-weight: 600; transition: 0.3s; }

/* =========================================
   5. COMPOSANTS (VR, VIDEO, GRILLES)
   ========================================= */

/* SECTION VR (NOIRE ANIMÉE) */
.vr-layout { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.vr-text { flex: 1; z-index: 2; color: white !important; }
.tag-tech { display: inline-block; color: var(--color-accent); font-size: 0.8rem; font-weight: 700; border: 1px solid var(--color-accent); padding: 5px 15px; border-radius: 20px; margin-bottom: 15px; }
.vr-text h2 { font-size: 3rem; margin-bottom: 20px; background: linear-gradient(to right, #fff, #888); -webkit-background-clip: text; -webkit-text-fill-color: transparent; color: white !important; }
.vr-lead { color: #ddd !important; font-size: 1.3rem; margin-bottom: 15px; }
.vr-desc { font-size: 1rem !important; color: #888 !important; max-width: 500px; line-height: 1.6; }
.vr-visual { flex: 1.2; position: relative; display: flex; justify-content: center; height: 550px; }
.floating-vr { width: 100%; max-width: 650px; z-index: 2; animation: floatRotate 6s ease-in-out infinite; filter: drop-shadow(0 40px 60px rgba(0,0,0,0.6)); }
.vr-glow-bg { position: absolute; width: 500px; height: 500px; background: radial-gradient(circle, var(--color-accent) 0%, transparent 70%); opacity: 0.2; filter: blur(60px); animation: pulseGlow 4s infinite; }

/* SECTION VIDEO SHOWCASE (APPLE STYLE) */
.section-black.video-showcase { background-color: #050505; padding: 120px 0; color: white; position: relative; overflow: hidden; }
.video-layout { display: flex; align-items: center; gap: 80px; }
.video-card-wrapper { flex: 1; position: relative; }
.video-card { width: 100%; aspect-ratio: 4/3; border-radius: 30px; overflow: hidden; position: relative; border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 30px 60px rgba(0,0,0,0.5); }
.video-card video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-reflection { position: absolute; top: 0; left: 0; right: 0; bottom: 0; border-radius: 30px; background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 40%); pointer-events: none; z-index: 2; border: 1px solid rgba(255,255,255,0.05); }
.text-content-right { flex: 0.9; }
.text-content-right h2 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 25px; background: linear-gradient(to bottom, #ffffff, #aaaaaa); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.lead-text-white { font-size: 1.4rem; font-weight: 500; color: white; margin-bottom: 20px; }
.desc-text-grey { font-size: 1.1rem; color: #86868b; line-height: 1.6; margin-bottom: 30px; }
.check-list-white { list-style: none; margin-bottom: 40px; }
.check-list-white li { display: flex; align-items: center; gap: 15px; font-size: 1rem; color: #d2d2d7; margin-bottom: 12px; }
.check-list-white i { color: var(--color-accent); font-size: 1.2rem; }
.btn-outline-white { display: inline-block; padding: 15px 35px; border: 1px solid rgba(255,255,255,0.3); border-radius: 100px; color: white; font-weight: 500; transition: 0.3s; }
.btn-outline-white:hover { background: white; color: black; border-color: white; transform: translateY(-3px); }

/* FEATURES GRID (AVANTAGES) */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; text-align: center; }
.feature-card { padding: 40px 30px; background: var(--bg-card); border-radius: var(--radius-l); box-shadow: var(--shadow-card); transition: all 0.4s ease; border: 1px solid var(--border-color); }
.feature-card:hover { transform: translateY(-15px); border-color: var(--color-accent); }
.feature-icon { font-size: 2.5rem; color: var(--color-main); margin-bottom: 20px; animation: float 6s ease-in-out infinite; }
.feature-card p { font-size: 0.95rem; line-height: 1.6; color: var(--text-muted); }

/* GALERIE */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px; margin-bottom: 60px; }
.gallery-img-box { width: 100%; height: 300px; border-radius: var(--radius-l); overflow: hidden; margin-bottom: 20px; border: 1px solid var(--border-color); box-shadow: var(--shadow-card); position: relative; }
.gallery-img-box img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1); }
.gallery-item:hover .gallery-img-box img { transform: scale(1.15); }
.gallery-info h3 { font-size: 1.4rem; margin-bottom: 5px; color: var(--text-main); transition: 0.3s; }
.gallery-item:hover h3 { color: var(--color-main); }
.gallery-info p { color: var(--text-muted); font-size: 0.9rem; }

/* TÉMOIGNAGES */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 40px; }
.testimonial-card { background: var(--bg-card); padding: 40px; border-radius: var(--radius-l); box-shadow: var(--shadow-card); border: 1px solid var(--border-color); transition: 0.4s; }
.testimonial-card:hover { transform: scale(1.02); border-color: var(--color-main); }
.quote-icon { font-size: 2rem; color: var(--color-accent); margin-bottom: 20px; opacity: 0.5; }
.testimonial-text { font-size: 1.1rem; font-style: italic; margin-bottom: 30px; color: var(--text-main); line-height: 1.6; }
.client-info strong { display: block; color: var(--color-main); font-size: 1rem; }
.client-info span { font-size: 0.85rem; color: var(--text-muted); }

/* PARALLAX BANNER */
.parallax-banner {
    position: relative; padding: 150px 0;
    background-image: url('media/fond-process.jpg'); 
    background-attachment: fixed; background-position: center; background-repeat: no-repeat; background-size: cover;
    display: flex; align-items: center; justify-content: center; flex-direction: column; color: white !important;
}
.parallax-banner h2, .parallax-banner p { color: white !important; }
.parallax-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); z-index: 1; }
.relative-z { position: relative; z-index: 2; }
.text-center { text-align: center; }
.parallax-title { 
    font-size: 2.5rem; font-style: italic; max-width: 800px; 
    margin: 0 auto 50px auto; 
    line-height: 1.4; 
}
.mt-30 { margin-top: 20px; }
.center-btn { text-align: center; margin-top: 40px; }

/* LOGOS */
.section-logos { background: #111; padding: 50px 0; text-align: center; border-top: 1px solid #333; }
.logos-title { color: #555; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 30px; font-weight: 600; }
.logos-wrapper { display: flex; justify-content: center; flex-wrap: wrap; gap: 40px; align-items: center; }
.tech-name { font-family: 'Montserrat'; font-weight: 800; font-size: 1.5rem; color: #444; transition: 0.3s; cursor: default; }
.tech-name:hover { color: var(--color-accent); text-shadow: 0 0 10px rgba(161, 215, 230, 0.3); }

/* =========================================
   6. STYLES SPÉCIFIQUES PAGES (OFFRES, APPROCHE, EXPERTISE)
   ========================================= */
.page-header { padding-top: 150px; padding-bottom: 60px; }
.page-header h1 { font-size: 3.5rem; margin-bottom: 20px; line-height: 1.1; }
.subtitle { font-size: 1.2rem; color: var(--text-muted); max-width: 600px; margin: 0 auto; }

/* PARALLAX IMAGES */
.parallax-wrapper { overflow: hidden; border-radius: var(--radius-l); box-shadow: var(--shadow-card); height: 400px; position: relative; }
.parallax-img { width: 100%; height: 120%; object-fit: cover; transform: translateY(0); transition: transform 0.1s linear; }

/* PRICING GRID */
.pricing-wrapper { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; align-items: flex-start; }
.pricing-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-l); width: 100%; max-width: 350px; display: flex; flex-direction: column; transition: transform 0.4s ease, box-shadow 0.4s ease; position: relative; box-shadow: var(--shadow-card); overflow: hidden; }
.pricing-card:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(0,0,0,0.15); border-color: var(--color-accent); }
.pricing-img { width: 100%; height: 180px; position: relative; overflow: hidden; }
.pricing-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.pricing-card:hover .pricing-img img { transform: scale(1.1); }
.img-overlay { position: absolute; bottom: 0; left: 0; width: 100%; height: 50%; background: linear-gradient(to top, var(--bg-card), transparent); }
.card-content { padding: 30px; }
.pricing-card.premium { border: 2px solid var(--color-main); transform: scale(1.05); z-index: 2; }
.pricing-card.premium:hover { transform: scale(1.05) translateY(-10px); }
.badge-best { position: absolute; top: 15px; right: 15px; z-index: 10; background: var(--color-main); color: white; padding: 6px 12px; border-radius: 8px; font-size: 0.75rem; font-weight: 700; box-shadow: 0 5px 15px rgba(0,0,0,0.2); }
.pricing-card h3 { font-size: 1.6rem; margin-bottom: 5px; }
.target { font-size: 0.85rem; color: var(--color-main); font-weight: 600; text-transform: uppercase; margin-bottom: 15px; }
.price { margin-bottom: 15px; padding-bottom: 15px; border-bottom: 1px solid var(--border-color); }
.currency { display: block; font-size: 0.9rem; color: var(--text-muted); }
.amount { font-size: 2.2rem; font-weight: 800; color: var(--text-main); }
.desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.5; margin-bottom: 20px; min-height: 45px; }
.features-list { list-style: none; margin-bottom: 20px; text-align: left; }
.features-list li { margin-bottom: 12px; font-size: 0.95rem; color: var(--text-muted); display: flex; align-items: flex-start; gap: 10px; }
.features-list li i { color: var(--color-accent); margin-top: 4px; }
.features-list li strong { color: var(--text-main); font-weight: 600; }
details.more-details { background: rgba(0,0,0,0.02); border-radius: 12px; padding: 10px; margin-bottom: 20px; transition: 0.3s; }
details.more-details[open] { background: rgba(0,0,0,0.04); }
summary { cursor: pointer; font-weight: 600; font-size: 0.9rem; color: var(--color-main); display: flex; justify-content: space-between; align-items: center; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary i { transition: transform 0.3s; }
details[open] summary i { transform: rotate(180deg); }
.hidden-features { list-style: none; margin-top: 15px; padding-top: 10px; border-top: 1px solid var(--border-color); }
.hidden-features li { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 8px; }
.hidden-features li strong { color: var(--text-main); }
.hidden-features li.option { font-style: italic; color: var(--color-main); }
.mt-20 { margin-top: 20px; }
.full-width { display: block; width: 100%; text-align: center; }

/* TABLEAU COMPARATIF */
.compare-section { text-align: center; }
.table-responsive { overflow-x: auto; margin-top: 40px; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 600px; background: var(--bg-card); border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-card); border: 1px solid var(--border-color); }
.compare-table th, .compare-table td { padding: 20px; text-align: center; border-bottom: 1px solid var(--border-color); color: var(--text-muted); font-size: 0.95rem; }
.compare-table th { background: var(--color-main); color: white; font-weight: 600; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px; }
.compare-table th:first-child { text-align: left; border-top-left-radius: var(--radius-l); }
.compare-table th:last-child { border-top-right-radius: var(--radius-l); background: var(--color-accent); color: #000; }
.compare-table td:first-child { text-align: left; font-weight: 600; color: var(--text-main); }
.active-check { color: var(--color-accent); font-size: 1.2rem; }

/* SECTION SUR-MESURE */
.custom-card { background: #111; color: white; border-radius: var(--radius-l); padding: 60px; display: flex; align-items: center; justify-content: space-between; gap: 50px; background-image: url('media/fond-process.jpg'); background-size: cover; background-blend-mode: overlay; box-shadow: 0 20px 50px rgba(0,0,0,0.3); }
.custom-content h2 { color: white; font-size: 2.5rem; margin-bottom: 10px; }
.custom-content .subtitle { color: var(--color-accent); margin: 0 0 20px 0; text-align: left; }
.custom-content p { color: #ddd; margin-bottom: 30px; max-width: 600px; }
.custom-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.custom-list li { color: #eee; display: flex; align-items: center; gap: 12px; }
.custom-list i { color: var(--color-accent); font-size: 1.2rem; }
.custom-action { text-align: center; min-width: 200px; }
.price-quote { font-size: 2rem; font-weight: 800; margin-bottom: 20px; display: block; }

/* TIMELINE ZIG-ZAG (PAGE APPROCHE) */
.process-timeline { position: relative; padding-top: 50px; }
.step-item { display: flex; align-items: center; gap: 80px; margin-bottom: 120px; }
.step-item.reverse { flex-direction: row-reverse; }
.step-content { flex: 1; position: relative; }
.step-image { flex: 1; position: relative; }
.step-image img { width: 100%; border-radius: var(--radius-l); box-shadow: var(--shadow-card); transition: transform 0.5s ease; }
.step-item:hover .step-image img { transform: scale(1.02); }
.step-number { font-size: 6rem; font-weight: 800; color: var(--color-main); opacity: 0.1; position: absolute; top: -60px; left: 0; z-index: -1; line-height: 1; }
.step-content h3 { font-size: 2rem; margin-bottom: 20px; color: var(--text-main); }
.step-content p { color: var(--text-muted); margin-bottom: 25px; line-height: 1.7; font-size: 1.05rem; }
.step-list { list-style: none; }
.step-list li { margin-bottom: 12px; font-size: 1rem; color: var(--text-main); display: flex; align-items: center; gap: 15px; }
.step-list li i { color: var(--color-accent); background: rgba(43, 79, 108, 0.1); width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; }

/* FAQ STYLING */
.faq-grid { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 15px; margin-bottom: 15px; overflow: hidden; transition: all 0.3s ease; }
.faq-item[open] { box-shadow: var(--shadow-card); border-color: var(--color-accent); }
.faq-item summary { padding: 20px 25px; font-weight: 600; font-size: 1.1rem; color: var(--text-main); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { color: var(--color-main); transition: transform 0.3s; }
.faq-item[open] summary i { transform: rotate(45deg); }
.faq-content { padding: 0 25px 25px 25px; color: var(--text-muted); line-height: 1.6; border-top: 1px solid transparent; }
.faq-item[open] .faq-content { border-top-color: var(--border-color); padding-top: 15px; }

/* --- STYLE PAGE EXPERTISE --- */
/* LISTE À PUCES STANDARD (COCHE) */
.check-list-std { list-style: none; margin-top: 20px; }
.check-list-std li { display: flex; align-items: center; gap: 15px; font-size: 1rem; color: var(--text-main); margin-bottom: 12px; }
.check-list-std i { color: var(--color-accent); background: rgba(43, 79, 108, 0.1); width: 25px; height: 25px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; }

/* GRILLE TECH STACK (LOGICIELS) */
.tech-stack-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; margin-top: 40px; }
.tech-item { background: var(--bg-card); padding: 30px 20px; border-radius: var(--radius-l); border: 1px solid var(--border-color); box-shadow: var(--shadow-card); transition: transform 0.3s ease; text-align: center; }
.tech-item:hover { transform: translateY(-5px); border-color: var(--color-accent); }
.tech-item i { font-size: 2.5rem; color: var(--color-main); margin-bottom: 15px; }
.tech-item h4 { font-size: 1.2rem; margin-bottom: 10px; color: var(--text-main); }
.tech-item p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.4; }

/* SECTION PERFORMANCE (DARK) */
.performance-section { display: flex; align-items: center; justify-content: center; padding: 100px 0; }
.performance-section .container { display: flex; align-items: center; gap: 60px; }
.perf-content { flex: 1; z-index: 2; }
.perf-content h2 { font-size: 3rem; margin-bottom: 20px; background: linear-gradient(to right, #fff, #999); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.perf-stats { display: flex; gap: 40px; margin-top: 40px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; }
.stat-box { display: flex; flex-direction: column; }
.stat-big { font-size: 2.5rem; font-weight: 800; color: var(--color-accent); line-height: 1; }
.stat-desc { font-size: 0.8rem; color: #888; text-transform: uppercase; letter-spacing: 1px; margin-top: 5px; }
.perf-visual { flex: 1; position: relative; }
.hardware-img { width: 100%; border-radius: 20px; box-shadow: 0 30px 60px rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.1); filter: grayscale(0.5) contrast(1.2); transition: filter 0.5s ease; }
.hardware-img:hover { filter: grayscale(0) contrast(1); }

/* --- STYLE PAGE CONTACT --- */
.contact-section { padding-bottom: 100px; }
.contact-wrapper { display: grid; grid-template-columns: 1fr 1.5fr; gap: 0; background: var(--bg-card); border-radius: var(--radius-l); box-shadow: var(--shadow-card); border: 1px solid var(--border-color); overflow: hidden; }
.contact-info { background: linear-gradient(145deg, var(--color-main), #1a3042); padding: 60px 40px; color: white; display: flex; flex-direction: column; justify-content: space-between; }
.contact-info h3 { color: white; font-size: 1.8rem; margin-bottom: 20px; }
.info-intro { color: rgba(255,255,255,0.8); font-size: 0.95rem; line-height: 1.6; margin-bottom: 40px; }
.info-list { display: flex; flex-direction: column; gap: 30px; }
.info-item { display: flex; align-items: center; gap: 20px; }
.icon-circle { width: 50px; height: 50px; background: rgba(255,255,255,0.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--color-accent); transition: 0.3s; }
.info-item:hover .icon-circle { background: white; color: var(--color-main); transform: scale(1.1); }
.info-item .label { display: block; font-size: 0.8rem; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-bottom: 2px; letter-spacing: 1px; }
.info-item .value { color: white; font-weight: 600; font-size: 1.1rem; text-decoration: none; transition: 0.3s; }
.info-item a.value:hover { color: var(--color-accent); }
.social-connect p { font-size: 0.9rem; color: rgba(255,255,255,0.8); margin-bottom: 15px; }
.social-icons { display: flex; gap: 15px; }
.social-icons a { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,0.3); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; transition: 0.3s; }
.social-icons a:hover { background: white; color: var(--color-main); border-color: white; }
.contact-form-box { padding: 60px; background: var(--bg-card); }
.clean-form { display: flex; flex-direction: column; gap: 25px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 0.9rem; font-weight: 600; color: var(--text-main); margin-left: 5px; }
input, select, textarea { width: 100%; padding: 15px 20px; background: var(--bg-body); border: 1px solid var(--border-color); border-radius: 12px; font-family: 'Poppins', sans-serif; font-size: 1rem; color: var(--text-main); transition: all 0.3s ease; outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--color-accent); box-shadow: 0 0 0 4px rgba(161, 215, 230, 0.2); background: var(--bg-card); }
textarea { resize: vertical; min-height: 120px; }

/* SECTION RASSURANCE CONTACT */
.contact-features { padding-bottom: 60px; padding-top: 0; }
.features-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; border-bottom: 1px solid var(--border-color); padding-bottom: 60px; }
.feat-item { padding: 20px; transition: transform 0.3s ease; }
.feat-item:hover { transform: translateY(-5px); }
.feat-icon { font-size: 2.5rem; color: var(--color-main); margin-bottom: 20px; background: var(--bg-card); width: 80px; height: 80px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-left: auto; margin-right: auto; box-shadow: var(--shadow-card); }
.feat-item h4 { font-size: 1.2rem; margin-bottom: 10px; color: var(--text-main); }
.feat-item p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.5; max-width: 300px; margin: 0 auto; }

/* =========================================
   7. FOOTER
   ========================================= */
.footer-section { background-color: #050505; padding: 80px 0 30px 0; color: #98989d; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 60px; }
.footer-brand { display: flex; align-items: center; gap: 15px; margin-bottom: 25px; }
.footer-logo-img { height: 70px; width: auto; }
.footer-logo-text { font-family: 'Montserrat', sans-serif; font-size: 1.8rem; font-weight: 800; color: white; letter-spacing: 1px; }
.footer-desc { line-height: 1.6; color: #888; max-width: 300px; }
.footer-col h4 { color: white; font-size: 1rem; font-weight: 700; margin-bottom: 25px; text-transform: uppercase; }
.footer-links a { color: #98989d; transition: 0.3s; }
.footer-links a:hover { color: var(--color-accent); padding-left: 5px; }
.contact-list li { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; color: #98989d; }
.contact-list i { color: var(--color-accent); font-size: 1rem; }
.footer-socials { margin-top: 25px; display: flex; gap: 15px; }
.footer-socials a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: rgba(255, 255, 255, 0.1); border-radius: 50%; color: white; transition: all 0.3s ease; }
.footer-socials a:hover { background: var(--color-main); color: var(--color-accent); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.05); padding-top: 30px; text-align: center; font-size: 0.85rem; color: #555; }

/* =========================================
   8. ANIMATIONS CLÉS
   ========================================= */
@keyframes shimmer { 0% { left: -100%; opacity: 0; } 50% { opacity: 0.5; } 100% { left: 100%; opacity: 0; } }
.shimmer { position: relative; overflow: hidden; }
.shimmer::before { content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%; background: linear-gradient(to right, transparent, rgba(255,255,255,0.4), transparent); transform: skewX(-20deg); animation: shimmer 3s infinite; }
@keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-10px); } 100% { transform: translateY(0px); } }
@keyframes floatRotate { 0% { transform: translateY(0px) rotate(0deg) scale(1); } 50% { transform: translateY(-20px) rotate(5deg) scale(1.05); } 100% { transform: translateY(0px) rotate(0deg) scale(1); } }
@keyframes pulseGlow { 0% { transform: scale(1); opacity: 0.2; } 50% { transform: scale(1.2); opacity: 0.4; } 100% { transform: scale(1); opacity: 0.2; } }
@keyframes gradientFlow { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.reveal { opacity: 0; transform: translateY(40px); transition: all 1s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }
.features-grid .feature-card:nth-child(1) { transition-delay: 0.1s; }
.features-grid .feature-card:nth-child(2) { transition-delay: 0.2s; }
.features-grid .feature-card:nth-child(3) { transition-delay: 0.3s; }
.gallery-grid .gallery-item:nth-child(1) { transition-delay: 0.1s; }
.gallery-grid .gallery-item:nth-child(2) { transition-delay: 0.2s; }
.gallery-grid .gallery-item:nth-child(3) { transition-delay: 0.3s; }

/* =========================================
   9. RESPONSIVE MOBILE (CORRECTIF MENU & GRILLES)
   ========================================= */
.burger { display: none; } /* Caché sur PC */

@media (max-width: 900px) {

    /* --- 1. LE MENU BURGER (LA CORRECTION) --- */
    
    /* Le bouton Burger (Les 3 barres) */
    .burger { 
        display: block; 
        cursor: pointer; 
        z-index: 2001; /* TRÈS IMPORTANT : Doit être au-dessus du menu pour pouvoir cliquer pour fermer */
        position: relative;
    }
    
    .burger div { 
        width: 25px; 
        height: 3px; 
        background-color: var(--text-main); 
        margin: 5px; 
        transition: all 0.3s ease; 
        border-radius: 2px;
    }

    /* Le Panneau Latéral (Menu) */
    .nav-right {
        position: fixed; 
        right: 0; 
        top: 0; 
        height: 100vh; 
        width: 100%; /* Prend tout l'écran pour éviter les bugs de clic à côté */
        background-color: var(--nav-bg); /* Couleur du thème (blanc ou noir) */
        backdrop-filter: blur(20px); /* Flou Apple */
        -webkit-backdrop-filter: blur(20px);
        
        /* Flexbox pour tout centrer */
        display: flex; 
        flex-direction: column; 
        align-items: center; 
        justify-content: center; 
        gap: 40px;

        /* Animation : Caché à droite par défaut */
        transform: translateX(100%); 
        transition: transform 0.4s cubic-bezier(0.77, 0.2, 0.05, 1.0);
        z-index: 2000; /* Juste en dessous du bouton burger */
    }

    /* Classe active ajoutée par le JS pour ouvrir */
    .nav-right.nav-active { 
        transform: translateX(0%); 
    }

    /* Les Liens */
    .nav-links { 
        flex-direction: column; 
        gap: 30px; 
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        font-size: 1.5rem; /* Plus gros pour le tactile */
        display: block;
    }

    /* Le Bouton Lune/Soleil dans le menu */
    .theme-switch { 
        margin-top: 20px; 
        font-size: 2rem; 
        border: 2px solid var(--border-color); 
        width: 60px; height: 60px; 
        border-radius: 50%; 
        display: flex; align-items: center; justify-content: center; 
    }

    /* Animation Croix du Burger */
    .toggle .line1 { transform: rotate(-45deg) translate(-5px, 6px); }
    .toggle .line2 { opacity: 0; }
    .toggle .line3 { transform: rotate(45deg) translate(-5px, -6px); }


    /* --- 2. CORRECTIFS GRILLES & CONTENU MOBILE --- */
    
    .hero-title { font-size: 2.5rem; }
    .split-layout { flex-direction: column; }
    
    /* Tout en 1 colonne */
    .gallery-grid, .features-grid, .testimonials-grid, .footer-grid, .pricing-wrapper, .video-layout, .vr-layout, .tech-stack-grid, .contact-wrapper, .features-row, .form-row { 
        grid-template-columns: 1fr; 
        flex-direction: column;
        align-items: center;
    }

    /* Ordre spécifique (Image au dessus) */
    .vr-layout { flex-direction: column-reverse; } 
    .video-layout { flex-direction: column; }
    
    /* Timeline Approche */
    .step-item { flex-direction: column; gap: 30px; margin-bottom: 80px; text-align: center; }
    .step-item.reverse { flex-direction: column; }
    .step-image { order: -1; }
    .step-number { top: -40px; left: 50%; transform: translateX(-50%); }
    .step-list { text-align: left; display: inline-block; }

    /* Cartes & Images */
    .pricing-card, .video-card { width: 100%; max-width: 100%; }
    .video-card { aspect-ratio: 16/9; }
    .vr-visual { height: 350px; }
    .custom-card { flex-direction: column; padding: 40px 20px; text-align: center; gap: 40px; height: auto; }
    .custom-list { grid-template-columns: 1fr; text-align: left; max-width: 300px; margin: 0 auto; }
    .custom-action { width: 100%; border-top: 1px solid rgba(255,255,255,0.2); padding-top: 30px; }

    /* Footer & Contact */
    .footer-grid, .contact-info { text-align: center; }
    .footer-brand, .contact-list li, .footer-socials, .info-list, .social-icons { justify-content: center; }
    .contact-form-box { padding: 40px 20px; }
    
    /* Désactiver Parallaxe (économise batterie) */
    .section-parallax { background-attachment: scroll; }
}
/* --- CORRECTIF PAGE CONTACT MOBILE --- */
    
    /* 1. Le Conteneur Principal : On passe de Grille à Colonne */
    .contact-wrapper { 
        display: flex;
        flex-direction: column; /* Empile les blocs verticalement */
        width: 100%; 
        padding: 0;
        margin: 0;
        border-radius: var(--radius-l);
        overflow: hidden; /* Garde les bords ronds */
    }

    /* 2. La Colonne Bleue (Infos) */
    .contact-info { 
        width: 100%;
        padding: 40px 20px; 
        text-align: center; /* Centre le texte */
    }

    /* 3. La Colonne Blanche (Formulaire) */
    .contact-form-box { 
        width: 100%;
        padding: 40px 20px; 
    }

    /* 4. Les lignes du formulaire (Nom/Prénom côte à côte) -> On les empile */
    .form-row { 
        grid-template-columns: 1fr; /* Une seule colonne */
        gap: 20px;
    }

    /* 5. Alignement des icônes infos */
    .info-list {
        align-items: center; /* Centre les éléments flex */
    }
    
    .info-item {
        flex-direction: column; /* Icône au dessus du texte */
        gap: 10px;
        margin-bottom: 25px;
    }

    .social-icons {
        justify-content: center;
    }

    /* --- PAGE MENTIONS LÉGALES --- */
.legal-content {
    max-width: 900px; /* Plus étroit pour la lecture */
    margin: 0 auto;
}

.legal-block {
    margin-bottom: 50px;
    background: var(--bg-card);
    padding: 40px;
    border-radius: var(--radius-l);
    border: 1px solid var(--border-color);
}

.legal-block h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-main);
    border-left: 4px solid var(--color-main);
    padding-left: 15px;
}

.legal-block p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.legal-list {
    list-style: none;
    margin-top: 15px;
}

.legal-list li {
    margin-bottom: 10px;
    color: var(--text-muted);
    font-size: 0.95rem;
    border-bottom: 1px dashed var(--border-color);
    padding-bottom: 8px;
}

.legal-list li strong {
    color: var(--text-main);
    display: inline-block;
    width: 250px; /* Aligne les deux points */
}

@media (max-width: 768px) {
    .legal-list li strong {
        display: block; /* Sur mobile, label au dessus */
        width: 100%;
        margin-bottom: 3px;
    }
}

/* --- STYLE PAGE CGU / CGV --- */

.last-update {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 15px;
    font-style: italic;
}

.legal-section-title {
    font-size: 2rem;
    margin: 60px 0 30px 0;
    color: var(--color-main);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 15px;
}

.legal-separator {
    border: 0;
    height: 1px;
    background: var(--border-color);
    margin: 60px 0;
}

/* Le reste (.legal-block, .legal-list) est déjà géré par le CSS des mentions légales */