/**
 * ════════════════════════════════════════════════════════════════════════════
 * O'FITNESS - HIGH ENERGY DESIGN SYSTEM (WHITE MODE)
 * ════════════════════════════════════════════════════════════════════════════
 * 
 * DESCRIPTION :
 * Système de design premium pour site sport B2B.
 * Mode clair (White Mode) par défaut avec effets visuels modernes.
 * 
 * SECTIONS :
 * 1. Variables & Tokens (couleurs, typographie, espacements)
 * 2. Curseur personnalisé (effet magnétique)
 * 3. Header & Navigation (style glass)
 * 4. Hero Section (titre XXL, vidéo, animations)
 * 5. Animations au scroll (reveal, stagger, parallaxe)
 * 6. Cartes et composants (hover effects premium)
 * 7. Formulaire de contact
 * 8. Footer
 * 9. Utilitaires
 * 10. Responsive
 * 
 * AUTEUR : O'Fitness
 * VERSION : 2.0 - White Mode
 * ════════════════════════════════════════════════════════════════════════════
 */


/* ════════════════════════════════════════════════════════════════════════════
   1. VARIABLES & DESIGN TOKENS
   ════════════════════════════════════════════════════════════════════════════
   
   RÔLE : Centraliser toutes les valeurs de design pour faciliter les 
   modifications globales. Changer une variable ici affecte tout le site.
   
   ORGANISATION :
   - --he-bg-* : Couleurs de fond (background)
   - --he-text-* : Couleurs de texte
   - --he-accent-* : Couleurs d'accent (CTA, liens, highlights)
   - --he-font-* : Typographie
   - --he-transition-* : Courbes d'animation
   
   ════════════════════════════════════════════════════════════════════════════ */

:root {
    /* ─────────────────────────────────────────────
     COULEURS DE FOND - WHITE MODE
     ───────────────────────────────────────────── */
    --he-bg-primary: #FAFAFA;
    /* Fond principal (blanc cassé) */
    --he-bg-secondary: #FFFFFF;
    /* Fond cartes (blanc pur) */
    --he-bg-tertiary: #F0F4F8;
    /* Fond sections alternées */
    --he-bg-dark: #1A1A2E;
    /* Fond sections sombres (hero, contact) */

    /* ─────────────────────────────────────────────
     COULEURS D'ACCENT - BLEU O'FITNESS
     ───────────────────────────────────────────── */
    --he-accent: #0066B3;
    /* Bleu principal O'Fitness */
    --he-accent-light: #00A3FF;
    /* Bleu électrique (hover) */
    --he-accent-dark: #004C8C;
    /* Bleu foncé */
    --he-accent-glow: rgba(0, 102, 179, 0.25);
    /* Halo lumineux */
    --he-accent-secondary: #7C3AED;
    /* Violet accent (dégradés) */

    /* ─────────────────────────────────────────────
     COULEURS DE TEXTE
     ───────────────────────────────────────────── */
    --he-text-primary: #1A1A2E;
    /* Texte principal (noir bleuté) */
    --he-text-secondary: #4A5568;
    /* Texte secondaire (gris) */
    --he-text-muted: #718096;
    /* Texte discret */
    --he-text-light: #FFFFFF;
    /* Texte sur fond sombre */

    /* ─────────────────────────────────────────────
     DÉGRADÉS
     ───────────────────────────────────────────── */
    --he-gradient-accent: linear-gradient(135deg, var(--he-accent) 0%, var(--he-accent-light) 100%);
    --he-gradient-dark: linear-gradient(180deg, #1A1A2E 0%, #0D0D1A 100%);
    --he-gradient-light: linear-gradient(180deg, #FFFFFF 0%, #F0F4F8 100%);

    /* ─────────────────────────────────────────────
     TYPOGRAPHIE - MONTSERRAT
     ───────────────────────────────────────────── */
    --he-font-family: 'Montserrat', sans-serif;
    --he-font-weight-regular: 400;
    --he-font-weight-medium: 500;
    --he-font-weight-semibold: 600;
    --he-font-weight-bold: 700;
    --he-font-weight-extrabold: 800;

    /* ─────────────────────────────────────────────
     ANIMATIONS - COURBES DE BÉZIER
     ───────────────────────────────────────────── */
    --he-transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    /* Transition fluide */
    --he-transition-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    /* Rebond léger */
    --he-transition-fast: 0.2s ease;
    --he-transition-medium: 0.4s ease;

    /* ─────────────────────────────────────────────
     EFFETS VISUELS
     ───────────────────────────────────────────── */
    --he-blur-glass: blur(20px);
    /* Effet verre dépoli */
    --he-shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);
    --he-shadow-medium: 0 10px 40px rgba(0, 0, 0, 0.12);
    --he-shadow-accent: 0 10px 40px var(--he-accent-glow);
}


/* ════════════════════════════════════════════════════════════════════════════
   2. STYLES DE BASE - WHITE MODE
   ════════════════════════════════════════════════════════════════════════════
   
   RÔLE : Appliquer le mode clair comme style par défaut.
   La classe .high-energy active toutes les fonctionnalités premium.
   
   ════════════════════════════════════════════════════════════════════════════ */

body.high-energy {
    background: var(--he-bg-primary);
    color: var(--he-text-primary);
    font-family: var(--he-font-family);
}

/* Fond avec dégradé subtil - Effet premium */
body.high-energy::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 0%, rgba(0, 102, 179, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(0, 163, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}


/* ════════════════════════════════════════════════════════════════════════════
   3. CURSEUR PERSONNALISÉ - EFFET MAGNÉTIQUE
   ════════════════════════════════════════════════════════════════════════════
   
   RÔLE : Remplacer le curseur standard par un curseur custom qui réagit
   aux éléments interactifs (boutons, liens, cartes).
   
   FONCTIONNEMENT :
   - .cursor-dot : Point central qui suit instantanément la souris
   - .cursor-ring : Cercle qui suit avec un léger délai (effet fluide)
   - .cursor-ring.hover : Agrandissement au survol d'éléments cliquables
   
   NOTE : Désactivé sur mobile (écrans tactiles)
   
   ════════════════════════════════════════════════════════════════════════════ */

.cursor-dot,
.cursor-ring {
    position: fixed;
    pointer-events: none;
    z-index: 99999;
    transition: transform 0.15s var(--he-transition-smooth);
}

/* Point central - Suit instantanément la souris */
.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--he-accent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

/* Cercle extérieur - Suit avec délai pour effet fluide */
.cursor-ring {
    width: 40px;
    height: 40px;
    border: 2px solid var(--he-accent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.2s var(--he-transition-smooth);
}

/* État hover - Agrandissement sur éléments cliquables */
.cursor-ring.hover {
    width: 60px;
    height: 60px;
    border-color: var(--he-accent);
    background: var(--he-accent-glow);
}

/* Masquer le curseur par défaut sur desktop */
/* Cursor hidden rule removed to restore default mouse pointer */
body.high-energy,
body.high-energy * {
    cursor: auto !important;
}

/* Mobile : Restaurer le curseur normal (pas de hover sur tactile) */
@media (max-width: 1024px) {

    .cursor-dot,
    .cursor-ring {
        display: none !important;
    }

    body.high-energy,
    body.high-energy * {
        cursor: auto !important;
    }
}


/* ════════════════════════════════════════════════════════════════════════════
   4. HEADER & NAVIGATION - STYLE GLASS
   ════════════════════════════════════════════════════════════════════════════
   
   RÔLE : Navigation fixe en haut avec effet de transparence.
   Au scroll, le header devient plus opaque pour rester lisible.
   
   ÉLÉMENTS :
   - .header : Conteneur principal avec backdrop-filter (flou)
   - .nav-link : Liens avec underline animé au hover
   - .btn-primary : Bouton CTA avec dégradé et effet brillance
   
   ════════════════════════════════════════════════════════════════════════════ */

body.high-energy .header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: var(--he-blur-glass);
    -webkit-backdrop-filter: var(--he-blur-glass);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--he-shadow-soft);
}

/* Header après scroll - Plus opaque */
body.high-energy .header.scrolled {
    background: rgba(255, 255, 255, 0.98);
}

/* Liens de navigation */
body.high-energy .nav-link {
    color: var(--he-text-secondary);
    font-weight: var(--he-font-weight-medium);
    position: relative;
    transition: color 0.3s ease;
}

body.high-energy .nav-link:hover,
body.high-energy .nav-link.active {
    color: var(--he-accent);
}

/* Underline animé sous les liens */
body.high-energy .nav-link::after {
    background: var(--he-accent);
}

/* Bouton CTA principal - Dégradé avec effet brillance */
body.high-energy .btn-primary {
    background: var(--he-gradient-accent);
    border: none;
    color: var(--he-text-light);
    font-weight: var(--he-font-weight-semibold);
    position: relative;
    overflow: hidden;
    box-shadow: var(--he-shadow-accent);
}

/* Effet de brillance qui traverse le bouton au hover */
body.high-energy .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

body.high-energy .btn-primary:hover::before {
    left: 100%;
}

body.high-energy .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px var(--he-accent-glow);
}


/* ════════════════════════════════════════════════════════════════════════════
   5. HERO SECTION - IMMERSIVE
   ════════════════════════════════════════════════════════════════════════════
   
   RÔLE : Première impression du site. Section plein écran avec :
   - Vidéo/image d'ambiance en arrière-plan
   - Titre XXL animé
   - CTA proéminent
   
   STRUCTURE :
   - .hero-bg : Conteneur média (vidéo/image) avec overlay sombre
   - .hero-title-outline : Texte géant en arrière-plan (effet de profondeur)
   - .hero-content : Contenu principal (titre, sous-titre, CTA)
   
   ════════════════════════════════════════════════════════════════════════════ */

body.high-energy .hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--he-bg-dark);
}

/* Conteneur média arrière-plan */
body.high-energy .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Overlay dégradé - Assure la lisibilité du texte */
body.high-energy .hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
            rgba(26, 26, 46, 0.3) 0%,
            rgba(26, 26, 46, 0.5) 50%,
            rgba(26, 26, 46, 0.8) 100%);
    z-index: 2;
}

/* Vidéo/Image - Animation de zoom lent */
body.high-energy .hero-bg img,
body.high-energy .hero-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.1);
    transform: scale(1.05);
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    0% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1.12);
    }
}

/* Conteneur principal du contenu */
body.high-energy .hero .container {
    position: relative;
    z-index: 10;
}

body.high-energy .hero-content {
    text-align: left;
    max-width: 800px;
}

/* Badge animé - "Le Sport, la Santé" */
body.high-energy .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: rgba(0, 102, 179, 0.15);
    border: 1px solid rgba(0, 163, 255, 0.4);
    border-radius: 100px;
    color: var(--he-accent-light);
    font-size: 13px;
    font-weight: var(--he-font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(0, 163, 255, 0.3);
    }

    50% {
        box-shadow: 0 0 20px 5px rgba(0, 163, 255, 0.2);
    }
}

/* Point clignotant dans le badge */
body.high-energy .hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--he-accent-light);
    border-radius: 50%;
    animation: dotBlink 1.5s ease-in-out infinite;
}

@keyframes dotBlink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

/* Titre XXL - Typographie massive */
body.high-energy .hero h1 {
    font-family: var(--he-font-family);
    font-size: clamp(36px, 7vw, 72px);
    font-weight: var(--he-font-weight-extrabold);
    line-height: 1.1;
    color: var(--he-text-light);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

/* Texte avec dégradé de couleur */
body.high-energy .hero h1 .text-gradient {
    background: var(--he-gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Texte en contour (outline) - Effet moderne */
body.high-energy .hero h1 .text-outline {
    color: transparent;
    -webkit-text-stroke: 2px var(--he-accent-light);
    transition: all 0.3s ease;
}

body.high-energy .hero h1 .text-outline:hover {
    color: var(--he-accent-light);
    -webkit-text-stroke: 2px transparent;
}

/* Titre géant en arrière-plan - Effet de profondeur */
body.high-energy .hero-title-outline {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--he-font-family);
    font-size: clamp(80px, 18vw, 220px);
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.03);
    text-transform: uppercase;
    pointer-events: none;
    z-index: 0;
    white-space: nowrap;
    animation: outlineFloat 15s ease-in-out infinite;
}

@keyframes outlineFloat {

    0%,
    100% {
        transform: translate(-50%, -50%) translateX(0);
    }

    50% {
        transform: translate(-50%, -50%) translateX(-3%);
    }
}

/* Sous-titre */
body.high-energy .hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 560px;
    font-weight: var(--he-font-weight-regular);
}

/* Boutons CTA du Hero */
body.high-energy .hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

body.high-energy .hero-cta .btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s var(--he-transition-bounce);
}

body.high-energy .hero-cta .btn:hover {
    transform: translateY(-4px);
}

/* Zone de confiance sous le Hero */
body.high-energy .hero-trust {
    margin-top: 48px !important;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

body.high-energy .hero-trust p {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 14px;
}


/* ════════════════════════════════════════════════════════════════════════════
   6. ANIMATIONS AU SCROLL - REVEAL & STAGGER
   ════════════════════════════════════════════════════════════════════════════
   
   RÔLE : Animer l'apparition des éléments quand ils entrent dans le viewport.
   
   CLASSES DISPONIBLES :
   - .he-reveal : Apparition simple (fade up)
   - .he-stagger : Apparition décalée pour les enfants (effet cascade)
   - .he-slide-left : Glissement depuis la gauche
   - .he-slide-right : Glissement depuis la droite
   - .he-scale : Zoom in
   
   FONCTIONNEMENT :
   L'état initial est invisible (opacity: 0, transform).
   JavaScript ajoute la classe .revealed quand l'élément est visible.
   
   ════════════════════════════════════════════════════════════════════════════ */

/* Apparition basique - Fade Up */
.he-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s var(--he-transition-smooth);
}

.he-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Apparition en cascade - Pour les grilles */
.he-stagger>* {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s var(--he-transition-smooth);
}

/* Délais progressifs pour chaque enfant */
.he-stagger.revealed>*:nth-child(1) {
    transition-delay: 0.1s;
}

.he-stagger.revealed>*:nth-child(2) {
    transition-delay: 0.2s;
}

.he-stagger.revealed>*:nth-child(3) {
    transition-delay: 0.3s;
}

.he-stagger.revealed>*:nth-child(4) {
    transition-delay: 0.4s;
}

.he-stagger.revealed>*:nth-child(5) {
    transition-delay: 0.5s;
}

.he-stagger.revealed>*:nth-child(6) {
    transition-delay: 0.6s;
}

.he-stagger.revealed>* {
    opacity: 1;
    transform: translateY(0);
}

/* Glissement depuis la gauche */
.he-slide-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.8s var(--he-transition-smooth);
}

.he-slide-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* Glissement depuis la droite */
.he-slide-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.8s var(--he-transition-smooth);
}

.he-slide-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* Zoom in */
.he-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s var(--he-transition-smooth);
}

.he-scale.revealed {
    opacity: 1;
    transform: scale(1);
}


/* ════════════════════════════════════════════════════════════════════════════
   7. SECTIONS - WHITE MODE PREMIUM
   ════════════════════════════════════════════════════════════════════════════
   
   RÔLE : Style des sections de contenu avec alternance clair/très clair.
   
   ════════════════════════════════════════════════════════════════════════════ */

body.high-energy section {
    background: var(--he-bg-primary);
    position: relative;
}

/* Sections alternées - Légèrement plus foncées */
body.high-energy .section-alt {
    background: var(--he-bg-tertiary);
}

/* Labels de section - "Notre Vision", etc. */
body.high-energy .section-label {
    background: rgba(0, 102, 179, 0.08);
    color: var(--he-accent);
    border: 1px solid rgba(0, 102, 179, 0.15);
    font-weight: var(--he-font-weight-semibold);
}

/* Titres de section */
body.high-energy .section-title {
    color: var(--he-text-primary);
    font-family: var(--he-font-family);
    font-weight: var(--he-font-weight-bold);
}

/* Titre géant en arrière-plan des sections */
.section-title-bg {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--he-font-family);
    font-size: clamp(60px, 12vw, 140px);
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px rgba(0, 102, 179, 0.03);
    text-transform: uppercase;
    pointer-events: none;
    white-space: nowrap;
    z-index: 0;
}


/* ════════════════════════════════════════════════════════════════════════════
   8. CARTES & COMPOSANTS - HOVER EFFECTS
   ════════════════════════════════════════════════════════════════════════════
   
   RÔLE : Style des cartes (solutions, bénéfices, étapes) avec effets au survol.
   
   EFFETS AU HOVER :
   - Élévation (translateY)
   - Légère rotation (0.5deg) pour effet dynamique
   - Bordure accent
   - Ombre portée accentuée
   
   ════════════════════════════════════════════════════════════════════════════ */

body.high-energy .solution-card,
body.high-energy .difference-item,
body.high-energy .step-item,
body.high-energy .benefit-item {
    background: var(--he-bg-secondary);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--he-shadow-soft);
    transition: all 0.4s var(--he-transition-smooth);
}

/* Effet au survol - Élévation + Rotation subtile */
body.high-energy .solution-card:hover,
body.high-energy .difference-item:hover,
body.high-energy .step-item:hover,
body.high-energy .benefit-item:hover {
    transform: translateY(-8px) rotate(0.5deg);
    border-color: var(--he-accent);
    box-shadow:
        var(--he-shadow-medium),
        0 0 0 1px var(--he-accent),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* Titres des cartes */
body.high-energy .solution-card h3,
body.high-energy .difference-content h3,
body.high-energy .step-item h3,
body.high-energy .benefit-item h3 {
    color: var(--he-text-primary);
    font-weight: var(--he-font-weight-semibold);
}

/* Textes des cartes */
body.high-energy .solution-card p,
body.high-energy .difference-content p,
body.high-energy .step-item p,
body.high-energy .benefit-item p {
    color: var(--he-text-secondary);
}

/* Icônes des solutions - Dégradé + Glow */
body.high-energy .solution-icon {
    background: var(--he-gradient-accent);
    box-shadow: 0 8px 24px var(--he-accent-glow);
}

body.high-energy .solution-icon svg {
    stroke: var(--he-text-light);
}

/* Numéros des étapes */
body.high-energy .step-number {
    background: var(--he-gradient-accent);
    color: var(--he-text-light);
    box-shadow: 0 8px 24px var(--he-accent-glow);
    font-weight: var(--he-font-weight-bold);
}

/* Icônes des différences */
body.high-energy .difference-icon {
    background: var(--he-gradient-accent);
}

body.high-energy .difference-icon svg {
    stroke: var(--he-text-light);
}


/* ════════════════════════════════════════════════════════════════════════════
   9. SECTION CONTACT
   ════════════════════════════════════════════════════════════════════════════
   
   RÔLE : Formulaire de contact avec style premium.
   Fond sombre pour contraste avec le reste du site (White Mode).
   
   ════════════════════════════════════════════════════════════════════════════ */

body.high-energy .contact {
    background: var(--he-gradient-dark);
    color: var(--he-text-light);
}

body.high-energy .contact .section-label {
    background: rgba(0, 163, 255, 0.15);
    color: var(--he-accent-light);
    border-color: rgba(0, 163, 255, 0.3);
}

body.high-energy .contact .section-title {
    color: var(--he-text-light);
}

/* Formulaire */
body.high-energy .contact-form {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: var(--he-blur-glass);
    -webkit-backdrop-filter: var(--he-blur-glass);
}

/* Champs de formulaire */
body.high-energy .form-group input,
body.high-energy .form-group textarea {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--he-text-light);
    font-family: var(--he-font-family);
}

body.high-energy .form-group input:focus,
body.high-energy .form-group textarea:focus {
    border-color: var(--he-accent-light);
    box-shadow: 0 0 0 3px rgba(0, 163, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
}

body.high-energy .form-group input::placeholder,
body.high-energy .form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

body.high-energy .form-group label {
    color: rgba(255, 255, 255, 0.8);
    font-weight: var(--he-font-weight-medium);
}

/* Aside contact */
body.high-energy .contact-aside h3 {
    color: var(--he-text-light);
}

body.high-energy .contact-aside p {
    color: rgba(255, 255, 255, 0.7);
}

body.high-energy .contact-feature {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.high-energy .contact-feature-icon {
    background: var(--he-gradient-accent);
}


/* ════════════════════════════════════════════════════════════════════════════
   10. TÉMOIGNAGES
   ════════════════════════════════════════════════════════════════════════════ */

body.high-energy .testimonial {
    background: var(--he-bg-secondary);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--he-shadow-soft);
}

body.high-energy .testimonial-text {
    color: var(--he-text-primary);
    font-style: italic;
}

body.high-energy .testimonial-author strong {
    color: var(--he-text-primary);
}

body.high-energy .testimonial-author span {
    color: var(--he-text-muted);
}

body.high-energy .testimonial-avatar {
    background: var(--he-gradient-accent);
    color: var(--he-text-light);
    font-weight: var(--he-font-weight-semibold);
}


/* ════════════════════════════════════════════════════════════════════════════
   11. FOOTER
   ════════════════════════════════════════════════════════════════════════════ */

body.high-energy .footer {
    background: var(--he-bg-tertiary);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

body.high-energy .footer-slogan {
    color: var(--he-text-muted);
}

body.high-energy .footer-links a {
    color: var(--he-text-secondary);
    transition: color 0.3s ease;
}

body.high-energy .footer-links a:hover {
    color: var(--he-accent);
}

body.high-energy .footer-copy {
    color: var(--he-text-muted);
}

body.high-energy .social-link {
    background: var(--he-bg-secondary);
    border: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--he-text-secondary);
    transition: all 0.3s ease;
}

body.high-energy .social-link:hover {
    background: var(--he-accent);
    color: var(--he-text-light);
    border-color: var(--he-accent);
    transform: translateY(-2px);
}


/* ════════════════════════════════════════════════════════════════════════════
   12. WHATSAPP FLOAT BUTTON
   ════════════════════════════════════════════════════════════════════════════ */

body.high-energy .whatsapp-float a {
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}

body.high-energy .whatsapp-float a:hover {
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
    transform: scale(1.1);
}


/* ════════════════════════════════════════════════════════════════════════════
   13. BARRE DE PROGRESSION DU SCROLL
   ════════════════════════════════════════════════════════════════════════════
   
   RÔLE : Barre fine en haut de l'écran qui indique la progression dans la page.
   
   ════════════════════════════════════════════════════════════════════════════ */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(0, 0, 0, 0.05);
    z-index: 9999;
}

.scroll-progress-bar {
    height: 100%;
    background: var(--he-gradient-accent);
    width: 0%;
    transition: width 0.1s linear;
}


/* ════════════════════════════════════════════════════════════════════════════
   14. EFFET SKEW AU SCROLL
   ════════════════════════════════════════════════════════════════════════════
   
   RÔLE : Les éléments se déforment légèrement selon la direction du scroll.
   Crée une sensation de vitesse et de dynamisme.
   
   ════════════════════════════════════════════════════════════════════════════ */

.skew-on-scroll {
    transition: transform 0.3s var(--he-transition-smooth);
}

.skew-on-scroll.skewing-down {
    transform: skewY(-0.5deg);
}

.skew-on-scroll.skewing-up {
    transform: skewY(0.5deg);
}


/* ════════════════════════════════════════════════════════════════════════════
   15. PRELOADER
   ════════════════════════════════════════════════════════════════════════════
   
   RÔLE : Écran de chargement affiché pendant le chargement initial.
   Se ferme automatiquement après 1.5 secondes.
   
   ════════════════════════════════════════════════════════════════════════════ */

.he-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--he-bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.he-preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.he-preloader-inner {
    text-align: center;
}

.he-preloader-logo {
    width: 100px;
    height: auto;
    display: block;
    /* Comportement bloc pour le margin auto */
    margin: 0 auto 24px;
    /* Centré horizontalement + Marge bas */
    animation: preloaderPulse 1.5s ease-in-out infinite;
}

@keyframes preloaderPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

.he-preloader-bar {
    width: 200px;
    height: 3px;
    background: rgba(0, 102, 179, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto;
    /* Centrage horizontal */
}

.he-preloader-progress {
    height: 100%;
    background: var(--he-gradient-accent);
    width: 0%;
    animation: preloaderProgress 1.8s ease forwards;
}

@keyframes preloaderProgress {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}


/* ════════════════════════════════════════════════════════════════════════════
   16. CLASSES UTILITAIRES
   ════════════════════════════════════════════════════════════════════════════
   
   RÔLE : Classes réutilisables pour des effets rapides.
   
   ════════════════════════════════════════════════════════════════════════════ */

/* Texte avec dégradé de couleur */
.text-gradient {
    background: var(--he-gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Texte en contour uniquement */
.text-outline {
    color: transparent;
    -webkit-text-stroke: 2px var(--he-accent);
    transition: all 0.3s ease;
}

.text-outline:hover {
    color: var(--he-accent);
    -webkit-text-stroke: 2px transparent;
}

/* Effet de halo lumineux */
.glow {
    box-shadow: 0 0 30px var(--he-accent-glow);
}

/* Effet verre dépoli */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: var(--he-blur-glass);
    -webkit-backdrop-filter: var(--he-blur-glass);
    border: 1px solid rgba(0, 0, 0, 0.05);
}


/* ════════════════════════════════════════════════════════════════════════════
   17. RESPONSIVE - ADAPTATIONS MOBILE
   ════════════════════════════════════════════════════════════════════════════
   
   RÔLE : Ajustements pour les écrans mobiles et tablettes.
   
   ════════════════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {

    /* Hero - Centré sur mobile */
    body.high-energy .hero h1 {
        font-size: clamp(28px, 8vw, 42px);
        text-align: center;
    }

    body.high-energy .hero-content {
        text-align: center;
    }

    body.high-energy .hero-subtitle {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    body.high-energy .hero-cta {
        justify-content: center;
    }

    /* Masquer les éléments trop grands sur mobile */
    body.high-energy .hero-title-outline {
        display: none;
    }

    .section-title-bg {
        display: none;
    }

    /* Badge plus petit */
    body.high-energy .hero-badge {
        font-size: 11px;
        padding: 8px 16px;
    }
}

/* ════════════════════════════════════════════════════════════════════════════
   14. ANIMATIONS SCROLL REVEAL (Manquantes)
   ════════════════════════════════════════════════════════════════════════════ 
   Activées par high-energy.js via IntersectionObserver.
*/

/* --- ÉLÉMENTS DE BASE --- */
.he-reveal,
.he-slide-left,
.he-slide-right,
.he-scale {
    opacity: 0;
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
    /* Fix flou : retrait will-change + lissage police */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Décalage Gauche (Sort de gauche, va vers droite) */
.he-slide-left {
    transform: translateX(-80px);
    /* Plus prononcé */
}

/* Décalage Droite (Sort de droite, va vers gauche) */
.he-slide-right {
    transform: translateX(80px);
    /* Plus prononcé */
}

/* Mise à l'échelle (Zoom in) */
.he-scale {
    transform: scale(0.9);
}

/* --- ÉTAT RÉVÉLÉ (Ajouté par le JS) --- */
/* --- ÉTAT RÉVÉLÉ (Ajouté par le JS) --- */
.revealed {
    opacity: 1 !important;
    transform: translate(0, 0) scale(1) !important;
    filter: blur(0) !important;
    /* Reset du flou mobile */
}

/* ============ MOBILE OPTIMIZATIONS (Max 768px) ============ */
@media (max-width: 768px) {

    /* 1. Reset des mouvements latéraux (Trop agressifs sur mobile) */
    .he-slide-left,
    .he-slide-right {
        transform: translateY(40px) !important;
        /* Devient un Fade Up vertical */
    }

    /* 2. Effet Blur Focus pour les textes (Vision) */
    /* On cible les contenus qui avaient des slides latéraux */
    .vision-content.he-slide-left,
    .hero-power-slide {
        filter: blur(10px);
        /* Commence flou */
        transition: opacity 1s ease, transform 1s cubic-bezier(0.2, 0.8, 0.2, 1), filter 1.2s ease;
    }

    /* 3. Image : Zoom doux au lieu de slide */
    .vision-image.he-slide-right {
        transform: scale(0.9) translateY(20px) !important;
    }
}