/* ==========================================================================
   Base Variables & Core Setup
   ========================================================================== */
   :root {
    /* Immersive Dark Theme Colors */
    --bg-deep: #050a15;
    --bg-panel: rgba(14, 21, 38, 0.6);
    --bg-glass: rgba(255, 255, 255, 0.03);
    
    --primary-orange: #FF7A00;
    --primary-glow: rgba(255, 122, 0, 0.3);
    --primary-glow-intense: rgba(255, 122, 0, 0.6);
    
    --secondary-blue: #00D2FF;
    --secondary-glow: rgba(0, 210, 255, 0.3);
    
    --text-main: #E2E8F0;
    --text-muted: #94A3B8;
    --white: #FFFFFF;
    
    --border-glass: 1px solid rgba(255, 255, 255, 0.1);
    --border-glass-hover: 1px solid rgba(255, 122, 0, 0.4);
    
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;
    
    --t-time: 0.4s;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-deep);
    overflow-x: hidden;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-main);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-top: 0;
    color: var(--white);
    letter-spacing: -0.02em;
}

/* EXTREMELY IMPORTANT: Explicit transitions to avoid GSAP conflict */
a {
    text-decoration: none;
    color: inherit;
    transition: color var(--t-time) ease, background-color var(--t-time) ease;
}

.text-orange { color: var(--primary-orange); }
.text-blue { color: var(--secondary-blue); }
.text-center { text-align: center; }
ul { list-style: none; margin: 0; padding: 0; }

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}
.container-narrow { max-width: 900px; }
.section-padding { padding: 120px 0; }

/* ==========================================================================
   Background Dynamics
   ========================================================================== */
.site-background {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -10;
    background: var(--bg-deep);
    overflow: hidden;
}

.grid-overlay {
    position: absolute;
    width: 200%; height: 200%;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    transform: perspective(600px) rotateX(60deg) translateY(-100px) translateZ(-200px);
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: perspective(600px) rotateX(60deg) translateY(0) translateZ(-200px); }
    100% { transform: perspective(600px) rotateX(60deg) translateY(60px) translateZ(-200px); }
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.6;
}
.orb-1 {
    top: -10%; right: -10%;
    width: 500px; height: 500px;
    background: var(--primary-glow-intense);
}
.orb-2 {
    bottom: -20%; left: -10%;
    width: 600px; height: 600px;
    background: var(--secondary-glow);
}

/* ==========================================================================
   Glassmorphism System & Buttons
   ========================================================================== */
.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: var(--border-glass);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.glow-btn {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 14px 28px;
    background: transparent;
    border: 1px solid var(--primary-orange);
    border-radius: 8px;
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 0 15px var(--primary-glow);
    transition: background-color var(--t-time), box-shadow var(--t-time), color var(--t-time);
}

.glow-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.glow-btn:hover {
    background: var(--primary-orange);
    color: var(--bg-deep);
    box-shadow: 0 0 30px var(--primary-glow-intense);
}
.glow-btn:hover::before { left: 100%; }

/* ==========================================================================
   Header Navigation
   ========================================================================== */
.header {
    position: fixed; width: 100%; top: 0; z-index: 1000;
    padding: 15px 0; border-bottom: var(--border-glass);
    background: rgba(5, 10, 21, 0.92);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 30px rgba(0,0,0,0.5);
    transition: padding var(--t-time), background-color var(--t-time), border-color var(--t-time);
}

.header.scrolled-header {
    background: rgba(5, 10, 21, 0.98);
    padding: 12px 0;
}

.header-container { display: flex; justify-content: space-between; align-items: center; }

/* Hide mobile items by default on desktop */
.mobile-only-item { display: none; }


/* Hamburger Button Icon */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    position: relative;
    z-index: 1100;
    align-items: center;
    justify-content: center;
}

.hamburger {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--white);
    position: relative;
    transition: background 0.3s ease;
}

.hamburger::before, .hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--white);
    left: 0;
    transition: transform 0.3s ease;
}

.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }

/* Active State (X morph) */
.mobile-menu-btn.active .hamburger { background: transparent !important; }
.mobile-menu-btn.active .hamburger::before { transform: translateY(8px) rotate(45deg) !important; }
.mobile-menu-btn.active .hamburger::after { transform: translateY(-8px) rotate(-45deg) !important; }

/* Ensure actions container doesn't collapse */
.header-actions {
    display: flex !important;
    align-items: center;
    gap: 15px;
}



/* Hero Content Refining */
.badge-pro {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,107,0,0.1); padding: 8px 16px; border-radius: 30px;
    border: 1px solid rgba(255,107,0,0.2); font-size: 11px; font-weight: 700; font-family: var(--font-heading);
    letter-spacing: 2px; color: var(--primary-orange); margin-bottom: 25px;
}
.badge-pro .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary-orange); box-shadow: 0 0 10px var(--primary-orange); animation: pulse 2s infinite; }

.hero-link { color: var(--text-muted); font-size: 16px; font-weight: 500; transition: color var(--t-time); display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.hero-link:hover { color: var(--white); }
.hero-link .arrow-circle { display: inline-flex; justify-content: center; align-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); transition: all var(--t-time); font-size: 18px; }
.hero-link:hover .arrow-circle { border-color: var(--primary-orange); background: rgba(255,255,255,0.05); transform: translateX(5px); }

.hero-partners { margin-top: 50px; display: flex; flex-direction: column; gap: 12px; }
.hero-partners span { font-size: 11px; font-weight: 800; font-family: var(--font-heading); letter-spacing: 2px; color: rgba(255,255,255,0.3); }
.partner-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.partner-badge { background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255,255,255,0.08); color: var(--text-muted); padding: 8px 20px; border-radius: 8px; font-weight: 600; font-family: var(--font-main); font-size: 13px; transition: all var(--t-smooth); }
.partner-badge:hover { background: rgba(255, 255, 255, 0.1); color: #fff; border-color: rgba(255,255,255,0.3); }

/* Hero Centered Core Section */
.hero-container-orbital {
    position: relative;
    z-index: 2;
    padding: 100px 0;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

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

.hero-actions-centered {
    display: flex;
    gap: 25px;
    align-items: center;
    justify-content: center;
    margin-top: 45px;
}

.hero-partners-centered {
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hero-partners-centered span {
    font-size: 11px;
    font-weight: 800;
    font-family: var(--font-heading);
    letter-spacing: 2px;
    color: rgba(255,255,255,0.25);
}

.partner-badges {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.centered-badges {
    justify-content: center;
}

.partner-badge {
    padding: 7px 16px;
    border: 1px solid var(--primary-orange);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--white);
    background: rgba(255, 107, 0, 0.03);
    box-shadow: 0 0 10px rgba(255, 107, 0, 0.2), inset 0 0 5px rgba(255, 107, 0, 0.1);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.partner-badge:hover {
    background: rgba(255, 107, 0, 0.12);
    box-shadow: 0 0 20px rgba(255, 107, 0, 0.5), inset 0 0 10px rgba(255, 107, 0, 0.2);
    transform: translateY(-2px);
}

/* Orbital Widgets System */
.orbital-widgets {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.orbital-widget {
    pointer-events: auto;
    position: absolute;
    background: rgba(10, 15, 30, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 18px 25px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.orbital-widget:hover {
    border-color: var(--primary-orange);
    transform: scale(1.08) !important;
    background: rgba(255, 107, 0, 0.08);
    box-shadow: 0 0 30px rgba(255, 107, 0, 0.15);
}

.orb-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 107, 0, 0.12);
    color: var(--primary-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 107, 0, 0.2);
}

.orb-value {
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 2px;
    color: #fff;
    font-family: var(--font-heading);
}

.orb-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    font-weight: 700;
}

.orb-sublabel {
    font-size: 10px;
    color: rgba(255,255,255,0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 3px;
}

/* Desktop Orbital Positions - Calibrated for equal spacing and readability */
.widget-tl { top: 18%; left: 2%; }
.widget-ml { top: 50%; left: 2%; transform: translateY(-50%); }
.widget-bl { bottom: 18%; left: 2%; }

.widget-tr { top: 30%; right: 2%; }
.widget-br { bottom: 30%; right: 2%; }

/* Dynamic Floating Animations */
@keyframes orbitalFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes orbitalFloatReverse {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(20px); }
}

.float-1 { animation: orbitalFloat 6s ease-in-out infinite; }
.float-2 { animation: orbitalFloatReverse 7s ease-in-out infinite; }
.float-3 { animation: orbitalFloat 5.5s ease-in-out infinite; }

.delay-1px { animation-delay: 1.5s; }
.delay-2px { animation-delay: 2.5s; }

/* Responsive Adjustments for Orbital Layout */
@media (max-width: 1200px) {
    .widget-tl { left: 2%; }
    .widget-tr { right: 2%; }
}

@media (max-width: 1024px) {
    .orbital-widgets {
        position: relative;
        height: auto;
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
        margin-top: 60px;
        pointer-events: auto;
        padding-bottom: 50px;
    }
    .orbital-widget {
        position: static !important;
        flex: 1 1 200px;
        max-width: 260px;
        transform: none !important;
        animation: none !important;
    }
    .widget-bc { transform: none !important; }
}

.logo { display: inline-flex; align-items: center; background: transparent; padding: 8px 0; border-radius: 0; backdrop-filter: none; border: none; }
.logo img { height: 45px; filter: drop-shadow(0px 0px 4px rgba(255, 255, 255, 1)) drop-shadow(0px 0px 12px rgba(255, 255, 255, 0.8)) drop-shadow(0px 0px 25px rgba(255, 255, 255, 0.4)); }

.nav-list { display: flex; gap: 40px; }
.nav-link { color: var(--text-main); font-weight: 600; font-family: var(--font-heading); font-size: 14px; text-transform: uppercase; letter-spacing: 1px; position: relative;}
.nav-link::after {
    content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px;
    background: var(--primary-orange); transition: width var(--t-time) ease;
}
.nav-link:hover::after,
.nav-link.active::after { 
    width: 100%; 
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero { 
    position: relative; 
    min-height: 100vh; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    padding-top: 80px; 
    overflow: hidden; /* Hide floating widgets that might overflow horizontally */
}
.hero-bg {
    position: absolute; top:0; left:0; width: 100%; height: 100%;
    background: url('../img/hero_bg.png') center/cover no-repeat;
    opacity: 0.4; z-index: -1;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 50%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 50%, transparent 100%);
}

.badge-tech {
    display: inline-block; padding: 6px 14px;
    border: 1px solid rgba(0, 210, 255, 0.4); border-radius: 20px;
    font-size: 12px; font-family: var(--font-heading); letter-spacing: 2px;
    color: var(--secondary-blue); margin-bottom: 30px;
    background: rgba(0, 210, 255, 0.05);
}

.hero-title { font-size: clamp(40px, 6vw, 75px); line-height: 1.1; margin-bottom: 25px; }

.gradient-text {
    background: linear-gradient(90deg, var(--primary-orange), #ff9a44);
    background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px var(--primary-glow);
}

.hero-subtitle { font-size: 19px; color: var(--text-muted); max-width: 650px; margin: 0 auto 40px auto;}
.hero-cta { display: flex; gap: 20px; justify-content: center;}

.btn { 
    padding: 16px 32px; border-radius: 8px; font-family: var(--font-heading); font-weight: 700; cursor: pointer; 
    transition: background-color var(--t-time), box-shadow var(--t-time), border-color var(--t-time);
}
.btn-primary { background: var(--primary-orange); color: #000; box-shadow: 0 0 20px var(--primary-glow); border: 1px solid transparent;}
.btn-primary:hover { box-shadow: 0 0 35px var(--primary-glow-intense); background: #ff8c22; }
.btn-outline { background: transparent; border: 1px solid var(--text-muted); color: var(--white); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

/* ==========================================================================
   Trust Banner (Infinite Marquee)
   ========================================================================== */
.trust-banner { 
    border-top: var(--border-glass); border-bottom: var(--border-glass); 
    background: rgba(14, 21, 38, 0.4); padding: 25px 0; 
    backdrop-filter: blur(10px); 
    overflow: hidden; white-space: nowrap; 
}
.ticker-track {
    display: flex; width: max-content;
    animation: infinite-scroll 25s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; } /* Permet de figer l'animation au survol */
.ticker-group {
    display: flex; gap: 80px; padding-right: 80px; /* Doit être exactement égal au gap pour boucler sans saut */
}
.trust-item { display: flex; align-items: center; gap: 15px; font-family: var(--font-heading); font-size: 14px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); }
.trust-item svg { stroke: var(--primary-orange); filter: drop-shadow(0 0 5px var(--primary-orange)); flex-shrink: 0; }

@keyframes infinite-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); } 
}

/* ==========================================================================
   Sections & Services
   ========================================================================== */
.section-title { font-size: 42px; margin-bottom: 15px; }
.section-subtitle { color: var(--text-muted); font-size: 18px; max-width: 600px; margin: 0 auto 60px; }

.services-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 30px; 
    perspective: 1200px; /* Essential for 3D reveal animations */
}

@media (min-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.service-card { 
    padding: 40px 30px; 
    cursor: pointer; 
    /* DO NOT use 'transition: transform' to avoid GSAP conflict */
    transition: border-color var(--t-time), box-shadow var(--t-time), background var(--t-time);
}
.service-card::before {
    content: ''; position: absolute; top: -1px; left: -1px; right: -1px; bottom: -1px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
    z-index: -1; border-radius: 16px; opacity: 0; transition: opacity var(--t-time);
}
.service-card:hover { border-color: rgba(255,122,0,0.4); box-shadow: 0 15px 40px rgba(0,0,0,0.6); background: rgba(255,255,255,0.05); }
.service-card:hover::before { opacity: 1; }

.icon-hexagon {
    width: 65px; height: 65px; border: 1px solid rgba(255,255,255,0.15); border-radius: 14px;
    display: flex; align-items: center; justify-content: center; margin-bottom: 25px;
    background: rgba(255,255,255,0.03); 
    transition: background-color var(--t-time), border-color var(--t-time), box-shadow var(--t-time);
}
.service-card:hover .icon-hexagon { background: rgba(255,122,0,0.15); border-color: var(--primary-orange); box-shadow: 0 0 25px var(--primary-glow); }
.service-card h3 { font-size: 22px; margin-bottom: 15px; }

/* Tech Focus Card (Horizontal Highlight) */
.tech-focus-card {
    margin-top: 50px;
    padding: 30px 40px;
    border-left: 4px solid var(--secondary-blue);
    position: relative;
    overflow: hidden;
}

.tech-focus-card h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--white);
    font-family: var(--font-heading);
}

.tech-focus-card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
    max-width: 900px;
    margin-bottom: 25px;
}

.tech-tags {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.tech-tag {
    padding: 6px 14px;
    border: 1px solid rgba(0, 163, 255, 0.3);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    color: var(--secondary-blue);
    background: rgba(0, 163, 255, 0.05);
    box-shadow: 0 0 10px rgba(0, 163, 255, 0.1);
    transition: all 0.3s ease;
    cursor: default;
}

.tech-tag:hover {
    border-color: var(--secondary-blue);
    background: rgba(0, 163, 255, 0.15);
    box-shadow: 0 0 15px rgba(0, 163, 255, 0.4);
}

/* ==========================================================================
   Section: Nos Moyens
   ========================================================================== */
.moyens-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 60px;
}

@media (max-width: 992px) {
    .moyens-grid { grid-template-columns: 1fr; }
}

.moyens-card {
    padding: 45px;
}

.moyens-card h3 {
    font-size: 24px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-badge-inline {
    background: var(--secondary-blue);
    color: #000;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 800;
    text-transform: uppercase;
}

.moyens-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.moyens-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 18px;
    line-height: 1.4;
}

.moyens-list li::before {
    content: '→';
    color: var(--secondary-blue);
    font-weight: 800;
    font-size: 14px;
}

.moyens-list li strong {
    color: var(--white);
    font-weight: 600;
}

/* Fleet Grid */
.fleet-title {
    font-size: 14px;
    letter-spacing: 2px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 30px;
    display: block;
}

.fleet-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

@media (max-width: 1200px) {
    .fleet-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .fleet-grid { grid-template-columns: repeat(2, 1fr); }
}

.fleet-item {
    text-align: center;
    padding: 30px 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.fleet-item:hover {
    background: rgba(0, 163, 255, 0.05);
    border-color: rgba(0, 163, 255, 0.3);
    transform: translateY(-5px);
}

.fleet-number {
    display: block;
    font-size: 48px;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--secondary-blue);
    margin-bottom: 8px;
    text-shadow: 0 0 20px rgba(0, 163, 255, 0.3);
}

.fleet-label {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ==========================================================================
   Section: Partenaires
   ========================================================================== */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 40px;
}

@media (max-width: 992px) {
    .partners-grid { grid-template-columns: 1fr; }
}

.partner-card {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 25px;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.partner-branding-box {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: 800;
    font-size: 14px;
    line-height: 1.2;
    text-align: center;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    padding: 10px;
}

.partner-branding-box::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
    pointer-events: none;
}

.brand-free { background: #0033cc; color: white; box-shadow: 0 0 20px rgba(0, 51, 204, 0.3); }
.brand-spie { background: #ff7a00; color: #000; box-shadow: 0 0 20px rgba(255, 122, 0, 0.3); }
.brand-orange { background: #ff6600; color: white; box-shadow: 0 0 20px rgba(255, 102, 0, 0.3); }
.brand-altitude { background: #339933; color: white; box-shadow: 0 0 20px rgba(51, 153, 51, 0.3); }

.partner-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--white);
}

.partner-info p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}
.service-card p { color: var(--text-muted); font-size: 15px; line-height: 1.7; }

/* ==========================================================================
   Immersive Timeline Process
   ========================================================================== */
.timeline-container { position: relative; padding: 40px 0; }
.timeline-line { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: rgba(255,255,255,0.05); transform: translateX(-50%); }
.timeline-progress { position: absolute; left: 50%; top: 0; width: 2px; background: var(--primary-orange); transform: translateX(-50%); height: 0; box-shadow: 0 0 15px var(--primary-orange); }

.timeline-step { display: flex; justify-content: flex-end; align-items: center; position: relative; margin-bottom: 60px; width: 50%; }
.timeline-step:nth-child(odd) { justify-content: flex-start; left: 50%; padding-left: 50px; }
.timeline-step:nth-child(even) { left: 0; padding-right: 50px; }

.timeline-dot { 
    position: absolute; width: 16px; height: 16px; border-radius: 50%; background: var(--bg-deep); 
    border: 2px solid var(--text-muted); top: 50%; transform: translateY(-50%); z-index: 2; 
    transition: background-color var(--t-time), border-color var(--t-time), box-shadow var(--t-time); 
}
.timeline-step:nth-child(odd) .timeline-dot { left: -8px; }
.timeline-step:nth-child(even) .timeline-dot { right: -8px; }

.timeline-step.active .timeline-dot { border-color: var(--primary-orange); background: var(--primary-orange); box-shadow: 0 0 20px var(--primary-orange); }
.timeline-step.active .timeline-content { border-color: rgba(255,122,0,0.4); }

.timeline-content { 
    padding: 30px; width: 100%; transition: border-color var(--t-time);
}
/* Empêcher le texte de la carte d'écraser la numérotation */
.timeline-step:nth-child(odd) .timeline-content { padding-right: 120px; }
.timeline-step:nth-child(even) .timeline-content { padding-left: 120px; }

.step-badge { display: inline-block; font-family: var(--font-heading); color: var(--primary-orange); font-size: 45px; font-weight: 800; opacity: 0.15; position: absolute; right: 25px; top: 20px; line-height: 1; }
.timeline-step:nth-child(even) .step-badge { right: auto; left: 25px; }

/* ==========================================================================
   Parallax Cinema Realizations
   ========================================================================== */
.cinema-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; }
.cinema-card { position: relative; border-radius: 16px; overflow: hidden; border: var(--border-glass); aspect-ratio: 4/5; cursor: pointer; }
.cinema-img-wrapper { position: absolute; top: -10%; left: -10%; width: 120%; height: 120%; z-index: 1; }
.parallax-img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(50%) brightness(0.6); transition: filter var(--t-time); }
.cinema-card:hover .parallax-img { filter: grayscale(0%) brightness(0.9); }
.cinema-overlay { position: absolute; bottom: 0; left: 0; width: 100%; height: 70%; background: linear-gradient(to top, var(--bg-deep) 10%, transparent 100%); z-index: 2; }
.cinema-content { position: absolute; bottom: 0; left: 0; width: 100%; padding: 40px 30px; z-index: 3; }
.tech-tag { font-family: var(--font-heading); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--secondary-blue); margin-bottom: 10px; }
.cinema-title { font-size: 24px; margin-bottom: 10px; }
.cinema-card p { color: var(--text-muted); font-size: 14px; margin: 0; transform: translateY(20px); opacity: 0; transition: transform var(--t-time), opacity var(--t-time); }
.cinema-card:hover p { transform: translateY(0); opacity: 1; }

/* ==========================================================================
   Hybrid FAQ & Contact
   ========================================================================== */
.hybrid-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }

/* FAQ */
.faq-item { border-bottom: var(--border-glass); margin-bottom: 15px; }
.faq-question { width: 100%; text-align: left; background: none; border: none; color: var(--white); font-family: var(--font-heading); font-size: 18px; padding: 20px 0; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-indicator { width: 15px; height: 15px; position: relative; }
.faq-indicator::before, .faq-indicator::after { content:''; position: absolute; background: var(--primary-orange); transition: transform var(--t-time), opacity var(--t-time); }
.faq-indicator::before { top: 7px; left: 0; width: 15px; height: 2px; }
.faq-indicator::after { top: 0; left: 7px; width: 2px; height: 15px; }
.faq-question.active .faq-indicator::after { transform: rotate(90deg); opacity: 0; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.faq-answer p { color: var(--text-muted); padding-bottom: 25px; margin: 0; }

/* Form */
.contact-form-wrapper { padding: 40px; }
.contact-form-wrapper h3 { font-size: 28px; margin-bottom: 10px;}
.input-matrix { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { position: relative; margin-bottom: 30px; }
.tech-input { width: 100%; background: rgba(0,0,0,0.3); border: none; border-bottom: 1px solid rgba(255,255,255,0.2); color: var(--white); font-family: var(--font-body); padding: 15px 0; font-size: 16px; box-sizing: border-box; transition: border-color var(--t-time); }
.tech-input:focus { outline: none; border-bottom-color: var(--primary-orange); }
.tech-label { position: absolute; left: 0; top: 15px; font-family: var(--font-heading); font-size: 12px; letter-spacing: 1px; color: var(--text-muted); pointer-events: none; transition: top 0.3s, font-size 0.3s, color 0.3s; }
.tech-input:focus ~ .tech-label, .tech-input:valid ~ .tech-label { top: -10px; font-size: 10px; color: var(--primary-orange); }
.submit-btn-fw { width: 100%; border-radius: 8px; padding: 18px; display: block; margin-top: 20px;}

/* ==========================================================================
   Footer (SEO Local France)
   ========================================================================== */
.tech-footer { border-top: var(--border-glass); padding-top: 80px; position: relative; overflow: hidden; background: #03060E; }
.footer-content-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; margin-bottom: 60px; }
.footer-content-grid > div { flex: 1; min-width: 250px; }
.f-logo { height: 45px; margin-bottom: 20px; background: transparent; padding: 0; border: none; box-shadow: none; filter: drop-shadow(0px 0px 4px rgba(255, 255, 255, 1)) drop-shadow(0px 0px 12px rgba(255, 255, 255, 0.8)) drop-shadow(0px 0px 25px rgba(255, 255, 255, 0.4)); }
.f-brand p { color: var(--text-muted); max-width: 350px; font-size: 15px; line-height: 1.7; }
.tech-footer h4 { font-size: 14px; letter-spacing: 2px; color: var(--text-muted); margin-bottom: 20px;}

.footer-seo-list { padding: 0; margin: 0; }
.footer-seo-list li { color: var(--text-muted); font-size: 15px; margin-bottom: 12px; position: relative; padding-left: 15px; transition: color var(--t-time); }
.footer-seo-list li::before { content: '>'; position: absolute; left: 0; color: var(--primary-orange); font-family: var(--font-heading); font-weight: 800; font-size: 12px; top: 2px; }
.footer-seo-list li:hover { color: var(--white); }

.address-box, .contact-links p { color: var(--text-muted); font-size: 15px; margin-bottom: 12px; line-height: 1.6; }
.mt-10 { margin-top: 20px; display: inline-flex; }

.footer-bottom { border-top: var(--border-glass); padding: 25px 0; color: var(--text-muted); font-size: 14px; text-align: center; }

/* ==========================================================================
   Floating WhatsApp Button
   ========================================================================== */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 2000;
    transition: transform var(--t-time), box-shadow var(--t-time);
}
.floating-wa svg { margin-top: 1px; margin-left: 2px; }
.floating-wa:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

/* ==========================================================================
   Responsive Architecture
   ========================================================================== */

/* 1. Base Utility for Mobile Menu Toggle */
.mobile-menu-btn { display: none; }

@media (max-width: 1024px) {
    .section-padding { padding: 80px 0; }
    
    /* Header & Nav */
    .nav-list { display: none; }
    .mobile-menu-btn { display: flex; }
    
    .navbar.active {
        display: block;
        position: fixed;
        top: 0; left: 0; width: 100%; height: 100vh;
        background: var(--bg-deep);
        z-index: 1000;
        padding-top: 100px;
    }
    
    .navbar.active .nav-list {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .navbar.active .nav-link { font-size: 24px; font-weight: 700; color: var(--white); }
}

@media (max-width: 1024px) {
    .section-padding { padding: 80px 0 !important; }
    
    .nav-list { display: none !important; }
    .mobile-menu-btn { display: flex !important; visibility: visible !important; opacity: 1 !important; }
    
    /* Modern Glassmorphic Menu */
    .navbar {
        position: fixed !important;
        top: 0; right: 0; width: 100%; height: 100vh;
        background: rgba(5, 10, 21, 0.85) !important;
        backdrop-filter: blur(15px);
        z-index: 1000 !important;
        padding-top: 120px;
        transform: translateX(100%);
        transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
        display: block !important;
    }
    
    .navbar.active {
        transform: translateX(0);
    }
    
    .navbar .nav-list {
        display: flex !important;
        flex-direction: column !important;
        align-items: center;
        gap: 35px;
    }
    
    .navbar .nav-link { 
        font-size: 28px !important; 
        font-weight: 700; 
        color: var(--white) !important; 
        letter-spacing: 1px;
    }

    /* Conditionnal Buttons */
    .nav-btn-desktop { display: none !important; }
    
    .mobile-only-item { display: block !important; width: 100%; text-align: center; margin-top: 20px; }
    .nav-btn-mobile { 
        display: inline-flex !important; 
        padding: 15px 40px !important; 
        font-size: 16px !important;
    }

    body.no-scroll { overflow: hidden !important; }
}

@media (max-width: 768px) {
    .section-padding { padding: 60px 0 !important; }
    
    /* Global Overflow fix for nested elements */
    .site-background, .grid-overlay { width: 100% !important; overflow: hidden !important; }
    
    /* Hero Section Fixes */
    .hero-title { font-size: 38px !important; line-height: 1.2 !important; }
    .hero-subtitle { font-size: 15px !important; margin-bottom: 30px !important; }
    
    .hero-core-center {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 5% !important;
    }

    .hero-actions-centered { 
        display: flex !important; 
        flex-direction: column !important; 
        gap: 15px !important; 
        width: 100% !important; 
        max-width: 320px; 
        margin: 40px auto 0 auto !important;
    }
    .hero-actions-centered .btn, .hero-actions-centered .hero-link { 
        width: 100% !important; 
        justify-content: center !important; 
        padding: 18px !important;
    }
    /* Orbital Widgets Reintegration */
    .orbital-widgets { 
        display: grid !important; 
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
        margin-top: 50px !important;
        position: relative !important;
        width: 100% !important;
        max-width: 500px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        pointer-events: auto !important;
        padding-bottom: 20px !important;
    }
    
    .orbital-widget {
        position: static !important;
        transform: none !important;
        animation: none !important;
        padding: 12px 15px !important;
        border-radius: 12px !important;
        justify-content: flex-start !important;
        background: rgba(14, 21, 38, 0.4) !important;
    }

    .orb-icon { width: 28px !important; height: 28px !important; border-radius: 8px !important; }
    .orb-icon svg { width: 14px !important; }
    .orb-value { font-size: 16px !important; }
    .orb-label { font-size: 8px !important; letter-spacing: 1px !important; }
    .orb-sublabel { font-size: 8px !important; }

    /* Special case for the 5th widget to span across columns if odd */
    .orbital-widget:nth-child(5) {
        grid-column: span 2 !important;
        max-width: 240px;
        margin: 0 auto;
    }
    
    /* Grids Management */
    .services-grid, .moyens-grid, .partners-grid { 
        grid-template-columns: 1fr !important; 
        gap: 25px !important; 
    }
    .fleet-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 15px !important; }
    
    /* FAQ & Contact Mobile Fix */
    .hybrid-grid, .input-matrix { 
        grid-template-columns: 1fr !important;
        gap: 30px !important; 
    }
    .contact-form-wrapper { padding: 30px 20px !important; }
    .contact-form-wrapper h3 { font-size: 24px !important; }
    
    /* Timeline Mobile */
    .timeline-line, .timeline-progress { left: 30px !important; }
    .timeline-step { 
        width: 100% !important; 
        left: 0 !important; 
        padding-left: 60px !important; 
        padding-right: 0 !important;
        margin-bottom: 40px !important;
    }
    .timeline-dot { left: 30px !important; }
    .timeline-content { padding: 25px !important; width: 100% !important; }
    .step-badge { 
        font-size: 35px !important; 
        right: 15px !important; 
        left: auto !important; 
        top: 15px !important; 
    }

    /* Footer & Bottom */
    .footer-content-grid { flex-direction: column !important; text-align: center !important; gap: 40px !important; }
    .f-brand p { margin: 0 auto 20px auto !important; }
    .footer-seo-list li { padding-left: 0 !important; }
    .footer-seo-list li::before { display: none !important; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 32px !important; }
    .container { width: 90% !important; }
    .fleet-grid { grid-template-columns: 1fr !important; }
    .orbital-widgets { grid-template-columns: 1fr !important; }
    .orbital-widget:nth-child(5) { max-width: 100% !important; }
    .logo img { height: 32px !important; }
}
