/* ==========================================================================
   1. VARIABLES DE CONFIGURATION DE LA MARQUE & PALETTE DE MARQUE
   ========================================================================== */
:root {
    --bg-dark: #0D0D0D;
    --bg-neutral-dark: #1F1F1F;  /* Fond riche sombre du deck */
    --bg-light: #D9E1E8;         /* Gris argent / bleu premium du deck */
    --bg-white: #FFFFFF;         /* Blanc pur officiel */
    
    --text-dark: #1F1F1F;        /* Anthracite profond pour une lecture haut de gamme */
    --text-light: #F5F5F7;
    --text-muted: #4A4D50;       /* Charcoal pour les textes secondaires */
    
    /* Couleurs de surlignage officiel du deck */
    --hl-yellow: #F4F0BE;        /* Jaune beurre pâle */
    --hl-blue: #A2C9EC;          /* Bleu ciel technique */
    
    --border: rgba(74, 77, 80, 0.15);
    --border-dark: rgba(255, 255, 255, 0.08);
    
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   2. EFFETS DE SURLIGNAGE RECTILIGNES (PILE SUR LE TEXTE - STYLE DECK)
   ========================================================================== */
.highlight-yellow, .highlight-blue {
    position: relative;
    display: inline-block;
    font-weight: 700;
    color: var(--text-dark) !important;
    padding: 0;
    margin: 0;
    isolation: isolate; 
}

.highlight-yellow::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: var(--hl-yellow);
    z-index: -1;
}

.highlight-blue::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: var(--hl-blue);
    z-index: -1;
}

/* ==========================================================================
   3. FILIGRANE QUADRILLÉ TECHNIQUE (BACKGROUND PATTERN)
   ========================================================================== */
.bg-grid-texture {
    background-color: var(--bg-white);
    background-image: 
        linear-gradient(to right, rgba(74, 77, 80, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(74, 77, 80, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* ==========================================================================
   4. STRUCTURES GLOBAL & UTILS
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.max-width-md { max-width: 850px; }
.text-center { text-align: center; }
.font-bold { font-weight: 600; }

.section { padding: 8rem 0; }
.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--bg-dark); }
.bg-white { background-color: var(--bg-white); }
.text-light { color: var(--text-light); }
.border-top { border-top: 1px solid var(--border); }

/* COMPOSANTS BOUTONS */
.btn {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--bg-neutral-dark);
    color: var(--bg-white);
    border: 1px solid var(--bg-neutral-dark);
}

.btn-primary:hover {
    background-color: var(--bg-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--bg-neutral-dark);
    border: 1px solid var(--bg-neutral-dark);
}

.btn-outline:hover {
    background-color: var(--bg-neutral-dark);
    color: var(--bg-white);
    transform: translateY(-2px);
}

.btn-outline-light {
    background-color: transparent;
    color: var(--text-light);
    border: 1px solid var(--text-light);
}

.btn-outline-light:hover {
    background-color: var(--bg-white);
    color: var(--bg-neutral-dark);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
}

.img-responsive {
    width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   5. NAVBAR
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 75px;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--text-dark);
}

.logo img { height: 34px; }
.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 0.5px;
}

.nav-menu { display: flex; gap: 2.5rem; }
.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 400;
    transition: var(--transition);
}
.nav-link:hover { color: var(--text-muted); }

.nav-actions { display: flex; align-items: center; gap: 1.5rem; }

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-heading);
    font-size: 0.85rem;
}

.lang-link {
    text-decoration: none;
    color: var(--text-muted);
    transition: var(--transition);
}
.lang-link:hover { color: var(--text-dark); }
.lang-current { color: var(--text-dark); font-weight: 700; }
.divider { color: var(--border); user-select: none; }

/* ==========================================================================
   6. HERO SECTION
   ========================================================================== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--bg-dark);
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 75% center;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--text-light);
    max-width: 540px;
    margin-left: 0;
    margin-right: auto;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: #C5C5C7;
    font-weight: 300;
}

/* ==========================================================================
   7. BANDEAU DES INDUSTRIES (CORRECTIF DE PROPORTION ET CADRAGE)
   ========================================================================== */
.industry-ribbon {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border);
    padding: 3rem 0;
}

.ribbon-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    justify-items: center;
    align-items: center;
}

.ribbon-item {
    display: flex;
    flex-direction: column; 
    align-items: center;
    text-align: center;
    gap: 1.2rem;
}

/* CORRECTIF HARMONISATION VECTEURS : Boite de collision carrée fixe */
.ribbon-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
}

.ribbon-icon img {
    /* L'image s'adapte au maximum de la boite sans jamais dépasser la hauteur ou largeur max */
    max-width: 100%;
    max-height: 100%;
    display: block;
    object-fit: contain;
}

.ribbon-item h3 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
    white-space: nowrap;
}

/* ==========================================================================
   8. CONTENU SECTIONS & COMPOSANTS EN PNG
   ========================================================================== */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem auto;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
    line-height: 1.25;
    letter-spacing: -0.5px;
}

.section-lead {
    font-size: 1.15rem;
    color: var(--text-muted);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.feature-card {
    background: var(--bg-white);
    padding: 3.5rem 2.5rem;
    border-radius: 6px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.04);
}

/* CORRECTIF GRILLE OFFRES : Même logique de boite carrée pour l'harmonie */
.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 1.8rem;
}

.feature-icon img {
    max-width: 100%;
    max-height: 100%;
    display: block;
    object-fit: contain;
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}
.feature-card p { color: var(--text-muted); font-size: 0.95rem; }

/* VISION SPLIT */
.vision-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.vision-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #A1A1A6;
    font-weight: 300;
}

.vision-text .highlight-text {
    color: var(--text-light);
    font-weight: 400;
    border-left: 2px solid var(--text-light);
    padding-left: 1.2rem;
    margin-top: 2rem;
}

.floating-animation { animation: floatEffect 6s ease-in-out infinite; }
@keyframes floatEffect {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.about-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-dark);
}

/* ==========================================================================
   9. TUNNEL CONTACT PREMIUM ASYMÉTRIQUE
   ========================================================================== */
.contact-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 4rem;
}

.contact-card { 
    padding: 5.5rem 4.5rem; 
    text-align: center;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition);
}

.contact-card.b2b-portal {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.contact-card.investor-portal {
    background-color: var(--bg-neutral-dark);
    color: var(--text-light);
}

.contact-card.investor-portal h3 { color: var(--text-light); }
.contact-card.investor-portal p { color: #C5C5C7; }

.contact-card h3 {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    margin-bottom: 1.5rem;
}

.contact-card p {
    font-size: 1.05rem;
    max-width: 440px;
    margin-bottom: 3rem;
}

.contact-card .btn {
    margin-top: auto; 
    width: 100%;
    max-width: 320px;
}

.trust-badge {
    text-align: center;
    margin-top: 4rem;
    padding: 1.5rem;
    background-color: var(--bg-light);
    border-radius: 4px;
    font-size: 0.95rem;
    color: var(--text-dark);
}

/* ==========================================================================
   10. FOOTER & RESPONSIVE
   ========================================================================== */
.footer {
    background-color: var(--bg-dark);
    color: #666666;
    padding: 3rem 0;
    font-size: 0.85rem;
    border-top: 1px solid var(--border-dark);
}

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

.footer-sub:hover { color: var(--text-light); cursor: pointer; }

@media (max-width: 968px) {
    .hero-content { max-width: 100%; }
    .hero-title { font-size: 2.6rem; }
    .ribbon-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; justify-items: start; }
    .ribbon-item { align-items: flex-start; text-align: left; }
    .ribbon-item h3 { white-space: normal; }
    .features-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .vision-split { grid-template-columns: 1fr; gap: 3.5rem; }
    .contact-split { grid-template-columns: 1fr; gap: 1.5rem; }
    .contact-card { padding: 4rem 2rem; }
    .contact-card p { margin-bottom: 2rem; }
    .nav-menu { display: none; }
}