/* Badge offshore */
.offshore-badge {
    position: absolute;
    top: 2rem;
    left: 2rem;
    background: #FFD700;
    color: #222;
    font-weight: bold;
    padding: 0.7rem 1.2rem;
    border-radius: 1.2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    font-size: 1.1rem;
    z-index: 10;
}
/* HERO SECTION PRINCIPALE - Style NEXGEN */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background-color: #0f172a !important;
    background-image: url('../images/hero-bg.png') !important;
    background-position: center center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    overflow: hidden;
}

/* Masquer toutes les images IMG dans le hero */
.hero-section img {
    display: none !important;
}

/* Empêcher TOUS les enfants directs et indirects d'avoir un background */
.hero-section *,
.hero-section > *,
.hero-section > div,
.hero-section div,
.hero-section::before,
.hero-section::after,
.hero-section *::before,
.hero-section *::after {
    background-image: none !important;
    background: none !important;
}

/* Container des boutons Hero */
.hero-section .hero-buttons {
    display: flex !important;
    gap: 1.25rem !important;
    flex-wrap: wrap !important;
    margin-top: 2rem !important;
    background: none !important;
}

/* Bouton Primary - Fond blanc avec texte bleu */
.hero-section .btn-primary,
.hero-section .hero-buttons .btn-primary,
.hero-section a.btn-primary {
    background: #ffffff !important;
    background-image: none !important;
    color: #1e88e5 !important;
    border: 2px solid #ffffff !important;
    padding: 0.875rem 1.75rem !important;
    border-radius: 0.5rem !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    letter-spacing: 0.01em !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 200px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.hero-section .btn-primary:hover,
.hero-section .hero-buttons .btn-primary:hover,
.hero-section a.btn-primary:hover {
    background: #f8fafc !important;
    color: #1565c0 !important;
    border-color: #f8fafc !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

/* Bouton Outline - Transparent avec bordure blanche */
.hero-section .btn-outline,
.hero-section .hero-buttons .btn-outline,
.hero-section a.btn-outline {
    background: transparent !important;
    background-image: none !important;
    border: 2px solid rgba(255, 255, 255, 0.8) !important;
    color: #ffffff !important;
    padding: 0.875rem 1.75rem !important;
    border-radius: 0.5rem !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    letter-spacing: 0.01em !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 200px !important;
}

.hero-section .btn-outline:hover,
.hero-section .hero-buttons .btn-outline:hover,
.hero-section a.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: #ffffff !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
}

/* Effet actif au clic */
.hero-section .btn-primary:active,
.hero-section .btn-outline:active {
    transform: translateY(-1px) scale(0.98) !important;
}

/* Responsive pour mobile */
@media (max-width: 640px) {
    .hero-section .hero-buttons {
        flex-direction: column !important;
        gap: 1rem !important;
    }
    
    .hero-section .btn-primary,
    .hero-section .btn-outline {
        width: 100% !important;
        min-width: auto !important;
    }
}

.hero-overlay {
    /* Overlay désactivé - image déjà sombre */
    display: none !important;
}
.hero-content {
    position: relative;
    z-index: 3;
    text-align: left;
    padding: 5rem 2rem;
    max-width: 700px;
    margin-left: 8vw;
}
@media (max-width: 900px) {
    .hero-content {
        margin-left: 0;
        max-width: 100%;
        padding: 2.5rem 1.5rem;
    }
    .hero-section {
        justify-content: center;
    }
}
/* === Topbar Sticky - Design NEXGEN Dark Moderne === */
.topbar-sticky {
    position: sticky;
    top: 0;
    width: 100%;
    background: #0a1628;
    color: #e5e7eb;
    font-size: 0.875rem;
    z-index: 2100;
    border-bottom: none;
}
.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 0.5rem 0;
}
.topbar-hours {
    flex: 1;
    min-width: 120px;
    font-weight: 400;
}
.topbar-contact {
    flex: 2;
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center;
}
.topbar-contact a {
    color: #e5e7eb;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 400;
}
.topbar-contact a:hover {
    color: #3b9fd9;
}
.topbar-social {
    flex: 1;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}
.topbar-social a {
    color: #e5e7eb;
    opacity: 0.7;
    transition: all 0.3s ease;
}
.topbar-social a:hover {
    color: #3b9fd9;
    opacity: 1;
}
@media (max-width: 768px) {
    .topbar-sticky {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 2100;
    }
    .topbar-inner {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
        padding: 0.3rem 0;
    }
    .topbar-contact {
        flex-direction: column;
        gap: 0.3rem;
    }
    .topbar-social {
        justify-content: center;
    }
}

.hero-overlay {
    /* Overlay désactivé - image déjà sombre */
    display: none;
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    padding: 5rem 2rem;
    max-width: 700px;
    margin-left: 8vw;
}

/* Typographie Hero - Style NEXGEN */
.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-content p {
    font-size: 1.25rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    font-weight: 400;
}

/* Boutons génériques - Les spécifiques .hero-section sont définis plus haut */
.hero-buttons {
    display: flex;
    gap: 1.25rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

/* Styles génériques pour boutons (utilisés ailleurs que dans hero) */
.btn-primary {
    background: #14b8a6;
    color: #fff;
    border: 2px solid #14b8a6;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1.0625rem;
    letter-spacing: 0.01em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary:hover {
    background: #0d9488;
    border-color: #0d9488;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 24px rgba(20, 184, 166, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid #14b8a6;
    color: #14b8a6;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1.0625rem;
    letter-spacing: 0.01em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline:hover {
    background: #14b8a6;
    border-color: #14b8a6;
    color: #fff;
    transform: translateY(-3px) scale(1.02);
}

/* Responsive Hero */
@media (max-width: 900px) {
    .hero-content {
        margin-left: 0;
        max-width: 100%;
        padding: 3rem 1.5rem;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
    }
    
    .hero-section {
        min-height: 70vh;
    }
}
/**
 * Hemera Template - Premium Professional Design
 * Modern, responsive & elegant for digital solutions
 * @package Hemera Media
 */

/* ========================================
   CSS Variables & Root Styles
   ======================================== */
:root {
    /* Brand Colors - Hemera Style */
    --color-primary: #000080;
    --color-secondary: #0052cc;
    --color-accent: #5FD3D3;
    --color-cyan-light: #7FE5E5;
    --color-yellow: #FFD700;
    --color-success: #00c853;
    --color-warning: #ff9800;
    --color-danger: #f44336;
    
    /* Neutrals - Enhanced Contrast */
    --color-white: #ffffff;
    --color-gray-50: #fafbfc;
    --color-gray-100: #f4f6f8;
    --color-gray-200: #e1e8ed;
    --color-gray-300: #c1ccd6;
    --color-gray-400: #8899a6;
    --color-gray-500: #657786;
    --color-gray-600: #495057;
    --color-gray-700: #2c3e50;
    --color-gray-800: #1a252f;
    --color-gray-900: #0f1419;
    --color-gray-950: #050a0e;
    /* Premium Scale */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-family-heading: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-size-xs: 0.75rem;      /* 12px */
    --font-size-sm: 0.875rem;     /* 14px */
    --font-size-base: 1rem;       /* 16px */
    --font-size-lg: 1.125rem;     /* 18px */
    --font-size-xl: 1.25rem;      /* 20px */
    --font-size-2xl: 1.5rem;      /* 24px */
    --font-size-3xl: 2rem;        /* 32px */
    --font-size-4xl: 2.5rem;      /* 40px */
    --font-size-5xl: 3.5rem;      /* 56px */
    --font-size-6xl: 4.5rem;      /* 72px */
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    
    /* Spacing */
    /* Modern Radius */
    --border-radius-sm: 0.25rem;
    --border-radius: 0.5rem;
    --border-radius-lg: 0.75rem;
    --border-radius-xl: 1rem;
    --border-radius-2xl: 1.5rem;
    --border-radius-full: 9999px;
    
    /* Shadows - Enhanced Depth */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0066ff 0%, #00d4ff 100%);
    --gradient-secondary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-hero: linear-gradient(135deg, #0f1419 0%, #1a252f 50%, #2c3e50 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(0, 102, 255, 0.9) 0%, rgba(0, 82, 204, 0.95) 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Transitions */
    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
    
    /* Container widths */
    --container-sm: 640px;
    --container-md: 768px;
    --container-lg: 1024px;
    --container-xl: 1280px;
    --container-2xl: 1400px;
}

/* ========================================
   Base Reset & Typography
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-normal);
    line-height: 1.7;
    color: var(--color-gray-700);
    background-color: #f8fafc;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: -0.01em;
}

/* Couleur sombre uniquement pour la page d'accueil */
body.is-homepage {
    background-color: #0a1628;
}

/* Typography - Premium */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-heading);
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    color: var(--color-gray-900);
    margin-bottom: var(--spacing-lg);
    letter-spacing: -0.02em;
}

h1 { 
    font-size: var(--font-size-5xl); 
    font-weight: var(--font-weight-extrabold);
    line-height: 1.1;
}
h2 { 
    font-size: var(--font-size-4xl); 
    font-weight: var(--font-weight-bold);
}
h3 { 
    font-size: var(--font-size-3xl); 
    font-weight: var(--font-weight-semibold);
}
h4 { font-size: var(--font-size-2xl); }
h5 { font-size: var(--font-size-xl); }
h6 { font-size: var(--font-size-lg); }

p {
    margin-bottom: var(--spacing-md);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--color-secondary);
}

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

/* ========================================
   Layout & Container
   ======================================== */
.container {
    width: 100%;
    max-width: 100vw;
    margin: 0 auto;
    padding-left: 2vw;
    padding-right: 2vw;
    box-sizing: border-box;
}

.container-fluid {
    width: 100%;
    padding: 0 var(--spacing-lg);
}

/* ========================================
   Header - Style Hemera actuel
   ======================================== */
/* ========================================
   Header - Style NEXGEN Dark Moderne
   ======================================== */
.site-header {
    background: #0a1628;
    border-bottom: none;
    position: relative;
    z-index: 2000;
    padding: 1rem 0;
    backdrop-filter: blur(10px);
    margin-top: -1px;
    transition: all 0.3s ease;
}

/* Header sur la homepage - comportement identique */
body.home .site-header,
body.frontpage .site-header {
    background: #0a1628;
    position: relative;
}

/* Header sticky sur scroll */
.sticky-header .site-header,
body.scrolled .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(15px);
}

.section-logo-navigation {
    display: flex;
    align-items: center;
    justify-content: center; /* Centrage horizontal */
    gap: 5rem; /* Augmentation de l'espace entre logo et menu */
    padding: 3.5rem 4rem 1.25rem 4rem; /* Augmentation de l'espace top */
    max-width: 1400px;
    margin: 0 auto;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Logo */
.site-logo {
    flex: 0 0 auto;
    order: 1;
    margin-right: 12.5rem; /* Espacement optimal pour desktop */
}

.site-logo a {
    display: block;
    transition: opacity 0.3s ease;
}

.site-logo a:hover {
    opacity: 0.85;
}

.logo-image {
    max-height: 80px;
    width: auto;
    display: block;
}

/* Slogan à droite */
.header-slogan {
    display: none;
}

.site-title {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-extrabold);
    color: var(--color-primary);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 3000;
    position: relative;
    order: 2;
}

.mobile-menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: #ffffff;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ========================================
   Navigation
   ======================================== */
.site-navigation {
    flex: 1 1 auto; /* Prendre l'espace disponible */
    display: flex;
    justify-content: flex-end; /* Alignement vers la droite */
    align-items: center;
    order: 3;
    padding-right: 2rem; /* Espacement du bord droit */
}

/* Cibler tous les types de listes */
.site-navigation ul,
.site-navigation .nav,
.site-navigation .menu {
    list-style: none;
    display: flex;
    gap: 3rem; /* Espacement optimal entre les items */
    margin: 0;
    padding: 0;
    align-items: center; /* Centrage vertical parfait */
}

.site-navigation li {
    position: relative;
    list-style: none;
    display: flex; /* Flexbox pour l'item */
    align-items: center; /* Centrage vertical */
}

/* Niveau 1 - Liens horizontaux */
.site-navigation > ul > li > a,
.site-navigation > .nav > li > a,
.site-navigation > .menu > li > a,
.site-navigation > div > ul > li > a,
.site-navigation nav > ul > li > a {
    display: flex; /* Flexbox pour alignement */
    align-items: center; /* Centrage vertical du texte */
    padding: 0.5rem 0;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9375rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s ease; /* Transitions fluides */
    white-space: nowrap;
    text-decoration: none;
    position: relative;
    line-height: 1; /* Ligne unique pour éviter décalages */
}

/* Effet underline au hover */
.site-navigation > ul > li > a::after,
.site-navigation > .nav > li > a::after,
.site-navigation > .menu > li > a::after,
.site-navigation > div > ul > li > a::after,
.site-navigation nav > ul > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b9fd9, #0367a1);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1); /* Animation fluide et élégante */
    border-radius: 2px; /* Légèrement arrondi pour modernité */
}

.site-navigation > ul > li > a:hover,
.site-navigation > ul > li.active > a,
.site-navigation > ul > li.current > a,
.site-navigation > .nav > li > a:hover,
.site-navigation > .nav > li.active > a,
.site-navigation > .menu > li > a:hover,
.site-navigation > .menu > li.active > a,
.site-navigation > div > ul > li > a:hover,
.site-navigation > div > ul > li.active > a {
    color: #3b9fd9;
    background: none;
    transform: translateY(-1px); /* Micro-animation élégante */
}

.site-navigation > ul > li > a:hover::after,
.site-navigation > ul > li.active > a::after,
.site-navigation > .nav > li > a:hover::after,
.site-navigation > .nav > li.active > a::after,
.site-navigation > .menu > li > a:hover::after,
.site-navigation > .menu > li.active > a::after,
.site-navigation > div > ul > li > a:hover::after,
.site-navigation > div > ul > li.active > a::after {
    width: 100%;
}

/* Dernier item = Bouton CTA bleu (CONTACT) */
.site-navigation > ul > li:last-child > a,
.site-navigation > .nav > li:last-child > a,
.site-navigation > .menu > li:last-child > a,
.site-navigation > div > ul > li:last-child > a {
    background: #0367a1;
    color: #fff;
    padding: 0.75rem 2rem;
    border-radius: 0.375rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.site-navigation > ul > li:last-child > a::after,
.site-navigation > .nav > li:last-child > a::after,
.site-navigation > .menu > li:last-child > a::after,
.site-navigation > div > ul > li:last-child > a::after {
    display: none;
}

.site-navigation > ul > li:last-child > a:hover,
.site-navigation > .nav > li:last-child > a:hover,
.site-navigation > .menu > li:last-child > a:hover,
.site-navigation > div > ul > li:last-child > a:hover {
    background: #025a85;
    transform: translateY(-2px) scale(1.02); /* Légère augmentation de taille */
    box-shadow: 0 6px 16px rgba(3, 103, 161, 0.6); /* Ombre plus prononcée */
    color: #fff;
}

/* Masquer complètement les textes visually-hidden, titres de menu ET boutons toggle Joomla */
.site-navigation .visually-hidden,
.site-navigation .nav-header,
.site-navigation .menu-heading,
.site-navigation .mod-menu__sub-header,
.site-navigation .mod-menu__toggle {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
}

/* Forcer l'alignement et supprimer tous les espaces indésirables */
.site-navigation * {
    vertical-align: middle !important;
}

.site-navigation > div,
.site-navigation > nav,
.site-navigation .mod-menu {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ========================================
   Sous-menus niveau 2 - Desktop uniquement (>768px)
   ======================================== */

/* Sous-menus niveau 2 - Amélioration comportement */
.site-navigation ul ul,
.site-navigation .nav .nav,
.site-navigation .menu .menu,
.site-navigation .mod-menu .mod-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.08);
    min-width: 260px;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 0.75rem 0;
    border-top: 3px solid #0367a1;
    border-radius: 0 0 0.5rem 0.5rem;
    z-index: 999;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

/* Affichage du sous-menu au hover */
.site-navigation li:hover > ul,
.site-navigation li:hover > .nav,
.site-navigation li:hover > .menu,
.site-navigation li:hover > .mod-menu,
.site-navigation li.submenu-open > ul,
.site-navigation li.submenu-open > .nav,
.site-navigation li.submenu-open > .menu,
.site-navigation li.submenu-open > .mod-menu {
    display: flex;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Réinitialiser tous les backgrounds dans les sous-menus */
.site-navigation ul ul *,
.site-navigation .nav .nav *,
.site-navigation .menu .menu *,
.site-navigation .mod-menu .mod-menu * {
    background: none !important;
}

.site-navigation ul ul,
.site-navigation .nav .nav,
.site-navigation .menu .menu,
.site-navigation .mod-menu .mod-menu {
    background: #ffffff !important;
}

.site-navigation ul ul li,
.site-navigation .nav .nav li,
.site-navigation .menu .menu li,
.site-navigation .mod-menu .mod-menu li {
    width: 100%;
    background: transparent !important;
}

.site-navigation ul ul a,
.site-navigation .nav .nav a,
.site-navigation .menu .menu a,
.site-navigation .mod-menu .mod-menu a {
    color: #374151 !important; /* Gris foncé - force la couleur */
    text-transform: none;
    border-right: none;
    border-bottom: 1px solid #f3f4f6;
    padding: 0.875rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0;
    transition: all 0.2s ease;
    position: relative;
    background: transparent; /* Pas de fond par défaut */
    background-color: transparent; /* Force background transparent */
}

/* Indicateur visuel au hover */
.site-navigation ul ul a::before,
.site-navigation .nav .nav a::before,
.site-navigation .menu .menu a::before,
.site-navigation .mod-menu .mod-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(180deg, #3b9fd9, #0367a1);
    transition: width 0.2s ease;
}

.site-navigation ul ul li:last-child a,
.site-navigation .nav .nav li:last-child a,
.site-navigation .menu .menu li:last-child a,
.site-navigation .mod-menu .mod-menu li:last-child a {
    border-bottom: none;
}

.site-navigation ul ul a:hover,
.site-navigation .nav .nav a:hover,
.site-navigation .menu .menu a:hover,
.site-navigation .mod-menu .mod-menu a:hover,
.site-navigation ul ul a:focus,
.site-navigation .nav .nav a:focus,
.site-navigation .menu .menu a:focus,
.site-navigation .mod-menu .mod-menu a:focus {
    background: #f9fafb !important;
    color: #0367a1 !important;
    padding-left: 1.75rem;
}

.site-navigation ul ul a:hover::before,
.site-navigation .nav .nav a:hover::before,
.site-navigation .menu .menu a:hover::before,
.site-navigation .mod-menu .mod-menu a:hover::before {
    width: 3px;
}

/* Liens actifs/current dans les sous-menus - pas de fond bleu */
.site-navigation ul ul li.active > a,
.site-navigation ul ul li.current > a,
.site-navigation .nav .nav li.active > a,
.site-navigation .nav .nav li.current > a,
.site-navigation .menu .menu li.active > a,
.site-navigation .menu .menu li.current > a,
.site-navigation .mod-menu .mod-menu li.active > a,
.site-navigation .mod-menu .mod-menu li.current > a {
    background: transparent !important;
    color: #0367a1 !important;
    font-weight: 600;
}

/* Indicateur de menu parent avec sous-menu */
.site-navigation > ul > li:has(ul) > a::after,
.site-navigation > .nav > li:has(ul) > a::after,
.site-navigation > .menu > li:has(ul) > a::after {
    content: none !important;
}

.site-navigation > ul > li:has(ul) > a,
.site-navigation > .nav > li:has(ul) > a,
.site-navigation > .menu > li:has(ul) > a {
    padding-right: 1.25rem;
    position: relative;
}

/* Icône dropdown pour indiquer un sous-menu */
.site-navigation > ul > li:has(ul) > a::before,
.site-navigation > .nav > li:has(ul) > a::before,
.site-navigation > .menu > li:has(ul) > a::before {
    content: '▾';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.75rem;
    opacity: 0.7;
    transition: transform 0.3s ease;
}

.site-navigation > ul > li:hover:has(ul) > a::before,
.site-navigation > .nav > li:hover:has(ul) > a::before,
.site-navigation > .menu > li:hover:has(ul) > a::before {
    transform: translateY(-50%) rotate(180deg);
}

/* ========================================
   Hero Section - Impactful & Modern
   ======================================== */




.hero-section > * {
    position: relative;
    z-index: 1;
}

.hero-section > div {
    position: relative;
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2vw;
}

.hero-section h1 {
    color: var(--color-white);
    margin-bottom: 2.5rem;
    font-size: 2.8rem;
    line-height: 1.15;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
    font-weight: 800;
    letter-spacing: -0.01em;
}

.hero-section p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.96);
    max-width: 700px;
    margin: 0 auto 2.5rem auto;
    line-height: 1.7;
}

/* Note: Les styles .btn-primary et .btn-outline pour .hero-section sont définis en haut du fichier */

/* Badge offshore */
.offshore-badge {
    position: absolute;
    top: 2rem;
    left: 2rem;
    background: #FFD700;
    color: #222;
    font-weight: bold;
    padding: 0.7rem 1.2rem;
    border-radius: 1.2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    font-size: 1.1rem;
    line-height: 1.4;
    z-index: 10;
}

.main-content-wrapper.has-sidebar {
    grid-template-columns: 1fr;
}

.sidebar-left + .main-content {
    order: 2;
}

.sidebar-left {
    order: 1;
}

/* Masquer la sidebar par défaut sur homepage */
.itemid-101 .sidebar-right {
    display: none;
}

/* Masquer le titre "Accueil" sur homepage et page d'accueil, plus robuste */
.itemid-101 .page-header,
.itemid-101 h1.page-title,
.itemid-101 h1:not(.hero-section h1),
.view-featured .page-header,
.view-featured h1.page-title {
    display: none !important;
}

/* Sections */
.features-section {
    padding: 5rem 0 5rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
}

.piliers-section {
    padding: 2rem 0 2rem 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-gray-900);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-gray-600);
    line-height: 1.6;
}

.piliers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.pilier-card {
    background: white;
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e1e8ed;
    position: relative;
    overflow: hidden;
}

.pilier-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #0066ff 0%, #00d4ff 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.pilier-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    border-color: transparent;
}

.pilier-card:hover::before {
    transform: scaleX(1);
}

.pilier-icon {
    width: 64px;
    height: 64px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

.pilier-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-gray-900);
}

.pilier-card p {
    color: var(--color-gray-700);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.pilier-card .btn-link {
    display: inline-block;
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pilier-card .btn-link:hover {
    color: var(--color-secondary);
    transform: translateX(4px);
}

.services-section {
    background: var(--color-white);
    padding: 0;
    width: 100%;
    margin-bottom: 0;
}

.cta-section {
    background: linear-gradient(135deg, #0066ff 0%, #00d4ff 100%);
    color: white;
    padding: 5rem 0;
    margin: 0 !important;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.cta-section > div,
.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.95;
}

.cta-section .btn {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.cta-section .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* ========================================
   Footer - Design Professionnel Moderne
   ======================================== */
.site-footer {
    background: linear-gradient(180deg, #0a1628 0%, #050d1a 100%);
    color: #e5e7eb;
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
    display: block !important;
}

/* Supprimer TOUT espace avant le footer */
section + .site-footer,
.services-section + .site-footer,
.cta-section + .site-footer {
    margin-top: 0 !important;
}

/* Footer Main - Contenu principal */
.footer-main {
    padding: 4rem 0 3rem 0;
    margin: 0 !important;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
}

/* Colonne À propos */
.footer-about .footer-logo {
    margin-bottom: 1.5rem;
}

.footer-about .footer-logo img {
    max-height: 60px;
    width: auto;
}

.footer-description {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #cbd5e1;
    margin-bottom: 1.5rem;
}

.footer-certifications {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.cert-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(59, 159, 217, 0.1);
    border: 1px solid rgba(59, 159, 217, 0.3);
    padding: 0.4rem 0.9rem;
    border-radius: 1rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #7dd3fc;
}

/* Titres des colonnes */
.footer-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #3b9fd9, #0367a1);
    border-radius: 2px;
}

/* Listes de liens */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    position: relative;
    padding-left: 0;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
    color: #3b9fd9;
}

.footer-links a:hover {
    color: #3b9fd9;
    padding-left: 20px;
}

.footer-links a:hover::before {
    opacity: 1;
    left: 0;
}

/* Colonne Contact */
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.footer-contact-list svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: #3b9fd9;
}

.footer-contact-list a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-list a:hover {
    color: #3b9fd9;
}

/* Réseaux sociaux dans footer */
.footer-social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.footer-social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(59, 159, 217, 0.1);
    border: 1px solid rgba(59, 159, 217, 0.2);
    border-radius: 50%;
    color: #cbd5e1;
    transition: all 0.3s ease;
}

.footer-social-links a:hover {
    background: #3b9fd9;
    border-color: #3b9fd9;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(59, 159, 217, 0.4);
}

/* Footer Bottom - Barre inférieure */
.footer-bottom {
    background: #050d1a;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-copyright {
    font-size: 0.875rem;
    color: #94a3b8;
    margin: 0;
}

.footer-copyright p {
    margin: 0;
}

.footer-copyright strong {
    color: #ffffff;
    font-weight: 600;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Style pour le module de menu dans footer-legal */
.footer-legal ul.mod-menu,
.footer-legal ul.nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
    flex-wrap: wrap;
}

.footer-legal li.nav-item {
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

/* Ajouter le séparateur après chaque item (sauf le dernier) */
.footer-legal li.nav-item:not(:last-child)::after {
    content: "•";
    color: #94a3b8;
    margin-left: 0.5rem;
    user-select: none;
}

/* Liens du menu footer - Texte blanc */
.footer-legal ul.nav a,
.footer-legal .mod-menu a {
    color: #e5e7eb;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 400;
    transition: font-weight 0.2s ease;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
}

/* Au survol : texte en gras et blanc pur (pas de fond bleu ni bordure) */
.footer-legal ul.nav a:hover,
.footer-legal .mod-menu a:hover,
.footer-legal ul.nav a:focus,
.footer-legal .mod-menu a:focus,
.footer-legal ul.nav a:active,
.footer-legal .mod-menu a:active {
    font-weight: 700;
    color: #ffffff;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    transform: none !important;
}

.footer-legal .separator {
    color: #475569;
    user-select: none;
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    
    .footer-about {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .footer-main {
        padding: 3rem 0 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-about {
        grid-column: 1;
        text-align: center;
    }
    
    .footer-about .footer-logo {
        display: flex;
        justify-content: center;
    }
    
    .footer-certifications {
        justify-content: center;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-contact-list {
        align-items: center;
    }
    
    .footer-social-links {
        justify-content: center;
    }
    
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-legal {
        justify-content: center;
    }
}

/* ========================================
   Back to Top Button
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    border-radius: var(--border-radius-full);
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 999;
}

.back-to-top:hover {
    background: var(--color-secondary);
    transform: translateY(-3px);
}

.back-to-top.visible {
    display: flex;
}

/* ========================================
   Buttons & Forms - Modern Design
   ======================================== */
.btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    background: var(--gradient-primary);
    color: var(--color-white);
    border: none;
    border-radius: var(--border-radius-lg);
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-base);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--color-gray-700);
}

.btn-secondary:hover {
    background: var(--color-gray-800);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
textarea,
select {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid var(--color-gray-300);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: var(--font-size-base);
    transition: var(--transition-fast);
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* ========================================
   Responsive Design - Mobile First
   ======================================== */

/* Desktop - Garantir le bon fonctionnement du menu niveau 2 (>768px) */
@media (min-width: 769px) {
    /* S'assurer que les sous-menus fonctionnent correctement sur desktop */
    .site-navigation ul ul,
    .site-navigation .nav .nav,
    .site-navigation .menu .menu,
    .site-navigation .mod-menu .mod-menu {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        width: auto !important;
        min-width: 260px !important;
        background: #ffffff !important;
        display: none !important;
        flex-direction: column !important;
    }
    
    /* Affichage au hover ou avec classe active */
    .site-navigation li:hover > ul,
    .site-navigation li:hover > .nav,
    .site-navigation li:hover > .menu,
    .site-navigation li:hover > .mod-menu,
    .site-navigation li.submenu-open > ul,
    .site-navigation li.submenu-open > .nav,
    .site-navigation li.submenu-open > .menu,
    .site-navigation li.submenu-open > .mod-menu {
        display: flex !important;
        opacity: 1 !important;
        transform: translateY(0) !important;
        pointer-events: auto !important;
    }
}

/* ========================================
   Responsive Design - Mobile First
   ======================================== */

/* Tablets and below (768px) */
@media (max-width: 768px) {
    :root {
        --font-size-4xl: 2rem;
        --font-size-3xl: 1.5rem;
        --font-size-2xl: 1.25rem;
    }
    

    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section p {
        font-size: 1.1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .piliers-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-section {
        padding: 4rem 0;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .cta-section p {
        font-size: 1.1rem;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
        order: 2;
        z-index: 3000;
    }
    
    /* Forcer le header à être fixe sur mobile */
    .site-header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 2000 !important;
        background: rgba(10, 22, 40, 0.98) !important;
        margin-top: 100px !important;
    }
    
    .section-logo-navigation {
        padding: 0.75rem 2rem;
        min-height: 70px;
    }
    
    .site-logo {
        order: 1;
        margin-right: 0; /* Pas d'espacement sur mobile, logo et burger aux extrémités */
    }
    
    .logo-image {
        max-height: 60px !important;
    }
    
    /* Ajouter padding au body pour topbar+header fixes */
    body {
        padding-top: 170px !important;
    }
    
    /* Homepage : pas de padding-top, hero en plein écran */
    body.is-homepage,
    body.home {
        padding-top: 0 !important;
    }
    
    /* Hero section mobile - adapter la hauteur et padding pour header fixe */
    .hero-section {
        min-height: 100vh !important;
        padding-top: 70px !important; /* Espace pour topbar + header fixes */
    }
    
    .site-navigation {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background: #0a1628 !important;
        transform: translateX(-100%);
        opacity: 0;
        transition: all 0.3s ease;
        z-index: 2500 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        padding: 3rem 2rem 2rem 2rem !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
    }
    
    .site-navigation.active {
        transform: translateX(0) !important;
        opacity: 1 !important;
    }
    
    /* Forcer l'affichage de TOUT le contenu en mobile */
    .site-navigation *,
    .site-navigation > *,
    .site-navigation nav,
    .site-navigation div,
    .site-navigation .mod-menu,
    .site-navigation > ul,
    .site-navigation > .nav,
    .site-navigation > .menu,
    .site-navigation li {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .site-navigation a {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .site-navigation ul,
    .site-navigation .nav,
    .site-navigation .menu {
        flex-direction: column !important;
        gap: 0 !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .site-navigation li {
        width: 100% !important;
        text-align: left !important;
        border-bottom: 1px solid rgba(255,255,255,0.1) !important;
        list-style: none !important;
    }
    
    .site-navigation a {
        padding: 1.2rem 1rem !important;
        font-size: 1rem !important;
        width: 100% !important;
        color: #ffffff !important;
        background: none !important;
        text-transform: none !important;
        font-weight: 500 !important;
        text-decoration: none !important;
        border: none !important;
        box-shadow: none !important;
        transform: none !important;
    }
    
    .site-navigation a::after,
    .site-navigation a::before {
        display: none !important;
    }
    
    .site-navigation a:hover {
        background: rgba(255,255,255,0.1) !important;
        color: #3b9fd9 !important;
    }
    
    /* Indicateur pour les items avec sous-menu en mobile */
    .site-navigation > ul > li:has(ul) > a,
    .site-navigation > .nav > li:has(ul) > a,
    .site-navigation > .menu > li:has(ul) > a {
        position: relative !important;
        padding-right: 3rem !important;
    }
    
    .site-navigation > ul > li:has(ul) > a::after,
    .site-navigation > .nav > li:has(ul) > a::after,
    .site-navigation > .menu > li:has(ul) > a::after {
        content: '▼' !important;
        display: block !important;
        position: absolute !important;
        right: 1rem !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        font-size: 0.75rem !important;
        opacity: 0.7 !important;
        transition: transform 0.3s ease !important;
    }
    
    .site-navigation > ul > li.submenu-open > a::after,
    .site-navigation > .nav > li.submenu-open > a::after,
    .site-navigation > .menu > li.submenu-open > a::after {
        transform: translateY(-50%) rotate(180deg) !important;
    }
    
    /* Sous-menus en mode mobile - affichage vertical */
    .site-navigation ul ul,
    .site-navigation .nav .nav,
    .site-navigation .menu .menu,
    .site-navigation .mod-menu .mod-menu {
        position: static !important;
        box-shadow: none !important;
        padding: 0 !important;
        padding-left: 1.5rem !important;
        background: rgba(0,0,0,0.3) !important;
        transform: none !important;
        opacity: 1 !important;
        border-top: none !important;
        border-radius: 0 !important;
        min-width: auto !important;
        width: 100% !important;
        max-height: 0 !important;
        overflow: hidden !important;
        transition: max-height 0.3s ease !important;
        display: block !important;
    }
    
    .site-navigation li.submenu-open > ul,
    .site-navigation li.submenu-open > .nav,
    .site-navigation li.submenu-open > .menu,
    .site-navigation li.submenu-open > .mod-menu {
        max-height: 1000px !important; /* Valeur élevée pour l'animation */
    }
    
    .site-navigation ul ul li,
    .site-navigation .nav .nav li,
    .site-navigation .menu .menu li,
    .site-navigation .mod-menu .mod-menu li {
        border-bottom: 1px solid rgba(255,255,255,0.05) !important;
    }
    
    .site-navigation ul ul a,
    .site-navigation .nav .nav a,
    .site-navigation .menu .menu a,
    .site-navigation .mod-menu .mod-menu a {
        font-size: 0.9rem !important;
        padding: 1rem 1rem 1rem 1rem !important;
        color: rgba(255,255,255,0.85) !important;
        font-weight: 400 !important;
    }
    
    .site-navigation ul ul a:hover,
    .site-navigation .nav .nav a:hover,
    .site-navigation .menu .menu a:hover,
    .site-navigation .mod-menu .mod-menu a:hover {
        color: #3b9fd9 !important;
        background: rgba(255,255,255,0.05) !important;
        padding-left: 1.5rem !important;
    }
    
    .main-content-wrapper.has-sidebar {
        grid-template-columns: 1fr;
    }
    
    .sidebar-left,
    .sidebar-right {
        order: 3;
    }
    
    .main-content {
        order: 2;
    }
    
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
}

/* Mobile phones (480px) */
@media (max-width: 480px) {
    .container,
    .container-fluid {
        padding: 0 var(--spacing-md);
    }
    
    .site-main {
        padding: var(--spacing-xl) 0;
    }
    
    /* Mobile H1 size override for solutions pages */
    body.is-solutions h1,
    body.is-solutions .page-header h1 {
        font-size: 1.5rem !important;
        line-height: 1.2 !important;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
    }
}

/* Tablet/Mobile (768px) - H1 adjustments */
@media (max-width: 768px) {
    /* Tablet H1 size override for solutions pages */
    body.is-solutions h1,
    body.is-solutions .page-header h1 {
        font-size: 2rem !important;
        line-height: 1.2 !important;
    }
}

/* ========================================
   Utility Classes
   ======================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }
.mb-4 { margin-bottom: var(--spacing-xl); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }
.mt-4 { margin-top: var(--spacing-xl); }

.hidden { display: none; }
.visible { display: block; }
