/* ==========================================================================
   CHARTE VISUELLE GLOBALE — NERION TECH (ÉCOSYSTÈME FEEL)
   Fichier de style unifié - out/assets/style.css
   ========================================================================== */

:root {
    /* Palette Officielle Nerion */
    --bg-main: #0B2530;       /* Bleu nuit */
    --bg-card: #123544;       /* Bleu profond */
    --accent-ocean: #1F6170;  /* Océan */
    --accent-light: #70C8C1;  /* Turquoise doux */
    --text-ecume: #DCEFEB;    /* Écume */
    --text-white: #F7FBFA;    /* Blanc pur */
    --corail: #D88972;        /* Corail terre cuite */
    --corail-dark: #A9564D;   /* Corail foncé */
    
    /* Variables de Structure & Animation */
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --font-base: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* Reset & Comportement Global */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-white);
    font-family: var(--font-base);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   HEADER & INTERFACE DE NAVIGATION
   ========================================================================== */

header {
    max-width: 1300px;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 10;
}

/* Zone du Logo Vectoriel */
.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-text {
    font-size: 26px;
    font-weight: 900;
    letter-spacing: 3px;
    background: linear-gradient(135deg, var(--text-white), var(--accent-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tagline-feel {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--corail);
    font-weight: 700;
    display: block;
    margin-top: 2px;
}

/* Liens du Menu de Navigation */
nav {
    display: flex;
    gap: 35px;
}

nav a {
    color: var(--text-ecume);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    opacity: 0.8;
    transition: var(--transition-smooth);
    position: relative;
    padding: 5px 0;
}

nav a:hover {
    color: var(--accent-light);
    opacity: 1;
}

/* Soulignement stylisé au survol */
nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 20px;
    border-bottom: 2px solid var(--accent-light);
    transition: var(--transition-smooth);
    opacity: 0;
}

nav a:hover::after {
    width: 100%;
    opacity: 1;
}

/* ==========================================================================
   BOUTONS, COMPOSANTS CORE & SECTIONS IMMERSIVES
   ========================================================================== */

/* Bouton d'action principal B2B */
.btn {
    display: inline-block;
    background-color: var(--corail);
    color: var(--bg-main);
    padding: 18px 42px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(216, 137, 114, 0.25);
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn:hover {
    background-color: var(--text-white);
    color: var(--bg-main);
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(112, 200, 193, 0.3);
}

/* Zone d'accueil (Hero text) */
.hero {
    max-width: 1100px;
    margin: 80px auto 120px auto;
    padding: 0 20px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(36px, 5.5vw, 54px);
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 30px;
    letter-spacing: -1px;
}

.hero p {
    color: var(--text-ecume);
    font-size: clamp(16px, 2vw, 20px);
    max-width: 750px;
    margin: 0 auto 45px auto;
    opacity: 0.85;
    line-height: 1.6;
}

/* Section en Parallaxe Réel - SYNTAXE INTERNE SVG VERROUILLÉE ET CORRIGÉE */
.parallax-section {
    position: relative;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: linear-gradient(rgba(11, 37, 48, 0.75), rgba(11, 37, 48, 0.75)), url('data:image/svg+xml;utf8,<svg xmlns="http://w3.org" width="100" height="100" viewBox="0 0 100 100"><g stroke="%231F6170" stroke-width="0.5" fill="none"><path d="M0 0l100 100M100 0L0 100"/></g></svg>');
    box-shadow: inset 0 25px 50px rgba(0,0,0,0.4), inset 0 -25px 50px rgba(0,0,0,0.4);
}

.parallax-content {
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
    z-index: 2;
}

.parallax-content h2 {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--accent-light);
}

.parallax-content p {
    color: var(--text-ecume);
    font-size: 18px;
    opacity: 0.95;
    line-height: 1.6;
}

/* ==========================================================================
   GRILLES DE CONTENU, MODULE SIMULATEUR & COMPOSANTS FOOTER
   ========================================================================== */

/* Blocs Asymétriques */
.section-asym {
    background-color: var(--bg-card);
    padding: 100px 0;
    border-top: 1px solid rgba(112, 200, 193, 0.1);
    border-bottom: 1px solid rgba(112, 200, 193, 0.1);
}

.container-asym {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.asym-text h3 { font-size: 36px; margin-bottom: 20px; font-weight: 800; line-height: 1.2; }
.asym-text p { color: var(--text-ecume); font-size: 16px; opacity: 0.85; line-height: 1.6; }

.piliers-stack { display: flex; flex-direction: column; gap: 20px; }
.pilier-item {
    background: rgba(11, 37, 48, 0.6);
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid var(--accent-light);
    transition: var(--transition-smooth);
}
.pilier-item:hover { transform: scale(1.02) translateX(5px); }
.pilier-item h4 { font-size: 18px; color: var(--accent-light); margin-bottom: 6px; }
.pilier-item p { color: var(--text-ecume); font-size: 14px; opacity: 0.8; }

/* Catalogue & Cartes Teasing */
.section-teaser-catalog { padding: 120px 0; }
.section-title { text-align: center; font-size: 40px; font-weight: 800; margin-bottom: 15px; }
.section-subtitle { text-align: center; color: var(--text-ecume); font-size: 16px; margin-bottom: 60px; opacity: 0.8; }

.briques-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.brique-card {
    background: linear-gradient(145deg, rgba(18, 53, 68, 0.4), rgba(11, 37, 48, 0.6));
    border-radius: 16px;
    padding: 40px 30px;
    border: 1px solid rgba(255,255,255,0.02);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
    min-height: 300px;
}

.brique-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-light);
    background: rgba(18, 53, 68, 0.7);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.brique-card h5 { font-size: 22px; margin-bottom: 12px; font-weight: 800; color: var(--text-white); }
.brique-card p { color: var(--text-ecume); font-size: 14px; opacity: 0.8; margin-bottom: 30px; line-height: 1.5; }

.link-teasing {
    font-size: 14px;
    font-weight: 700;
    color: var(--corail);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: auto;
    transition: var(--transition-smooth);
}
.brique-card:hover .link-teasing { color: var(--text-white); padding-left: 5px; }

/* Section Simulateur */
.section-teaser-simulateur {
    background: radial-gradient(circle at top right, var(--accent-ocean) 0%, var(--bg-main) 100%);
    padding: 100px 0;
}
.interactive-dock {
    max-width: 1200px; margin: 0 auto; padding: 0 20px;
    display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 60px; align-items: center;
}
.teaser-text h3 { font-size: 36px; margin-bottom: 20px; font-weight: 800; line-height: 1.2; }
.teaser-text p { color: var(--text-ecume); opacity: 0.85; font-size: 15px; line-height: 1.6; margin-bottom: 25px; }
.badge-dev {
    display: inline-block; background: rgba(216, 137, 114, 0.15); color: var(--corail);
    padding: 6px 14px; border-radius: 20px; font-size: 11px; font-weight: 700; margin-bottom: 15px;
    text-transform: uppercase; letter-spacing: 1.5px;
}
.mini-preview {
    background: rgba(11, 37, 48, 0.9); padding: 35px; border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.04); box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}
.sim-line { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 10px; color: var(--text-ecume); }

/* Pied de page */
footer {
    background-color: #061318;
    padding: 80px 20px 40px 20px;
    border-top: 1px solid rgba(112, 200, 193, 0.25);
    position: relative;
}
footer::before {
    content: '';
    position: absolute; top: 0; left: 0; width: 100%; height: 20px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), transparent);
    pointer-events: none;
}
.footer-container {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px;
    margin-bottom: 40px;
}
.footer-brand p { font-size: 14px; color: var(--text-ecume); opacity: 0.7; margin-top: 15px; line-height: 1.6; }
.footer-col h6 { font-size: 14px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--accent-light); margin-bottom: 20px; font-weight: 700; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: var(--text-ecume); text-decoration: none; font-size: 14px; opacity: 0.8; transition: var(--transition-smooth); }
.footer-col ul li a:hover { color: var(--corail); opacity: 1; padding-left: 3px; }

.footer-bottom {
    max-width: 1200px; margin: 0 auto; padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex; justify-content: space-between; align-items: center;
    font-size: 13px; color: var(--text-ecume); opacity: 0.6;
}

/* Responsivité Média */
@media (max-width: 960px) {
    .container-asym, .interactive-dock { grid-template-columns: 1fr; gap: 40px; }
    .footer-container { grid-template-columns: 1fr; gap: 30px; }
}

/* ==========================================================================
   SYSTÈME DE MENU DÉROULANT (DROPDOWN) EN PUR CSS
   ========================================================================== */

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: #071921;
    min-width: 220px;
    border-radius: 8px;
    border: 1px solid rgba(112, 200, 193, 0.2);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    padding: 10px 0;
    z-index: 100;
    opacity: 0;
    transition: var(--transition-smooth);
}

.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
    display: block;
    color: var(--text-ecume);
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition-smooth);
    opacity: 0.85;
}

.dropdown-menu a:hover {
    background-color: rgba(112, 200, 193, 0.08);
    color: var(--accent-light);
    opacity: 1;
    padding-left: 25px;
}

.dropdown-menu a::after {
    display: none;
}

/* ==========================================================================
   KEYFRAMES LOGIQUES ET ANIMATIONS CENTRALISÉES
   ========================================================================== */
@keyframes pulse {
    0%, 100% { transform: scaleY(1); opacity: 0.6; }
    50% { transform: scaleY(1.3); opacity: 1; }
}

/* ==========================================================================
   RENDRE LE LOGO CLIQUABLE (INDEX.HTML) SANS ALTÉRER LES COULEURS
   ========================================================================== */
header .logo-container {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    display: flex;
    align-items: center; /* Aligne le logo au centre vertical du texte */
    gap: 10px;
    text-decoration: none;
}
header .logo-container:hover {
    opacity: 0.9;
}
