/**
 * Enkki Studio - CSS Pur
 * Design moderne et technologique
 */

/* ============================================
   RESET & BASE
   ============================================ */

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #e5e7eb;
    background-color: #0f172a;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

/* ============================================
   VARIABLES CSS
   ============================================ */

:root {
    --enkki-primary: #3b82f6;
    --enkki-secondary: #06b6d4;
    --enkki-ecommerce: #10b981;
    --enkki-audit: #f59e0b;
    --enkki-dark: #0f172a;
    --enkki-light: #1e293b;
    --gray-50: #1e293b;
    --gray-100: #334155;
    --gray-600: #94a3b8;
    --gray-700: #cbd5e1;
    --gray-800: #64748b;
    --white: #f1f5f9;
    --container-width: 1200px;
    --menu-height: 100px;
    --menu-height-mobile: 70px;
    --border-radius: 10%;
    --transition: all 0.3s ease;
}

/* ============================================
   LAYOUT
   ============================================ */

.container-boxed {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}

@media (min-width: 640px) {
    .container-boxed {
        padding: 0 24px;
    }
}

@media (min-width: 1024px) {
    .container-boxed {
        padding: 0 32px;
    }
}

/* Exception pour le menu sticky - padding géré par nav */
.menu-sticky > .container-boxed {
    padding-left: 0;
    padding-right: 0;
}

/* ============================================
   MENU STICKY
   ============================================ */

.menu-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--menu-height-mobile);
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    border-radius: 0;
    transition: height 0.3s ease;
    width: 100%;
    max-width: 100vw;
    overflow: visible;
    box-sizing: border-box;
}

@media (max-width: 767px) {
    .menu-sticky {
        overflow: visible;
    }
}

@media (min-width: 1024px) {
    .menu-sticky {
        height: var(--menu-height);
        border-radius: 0 0 var(--border-radius) var(--border-radius);
    }
}

.menu-sticky .container-boxed {
    height: 100%;
    padding-left: 0;
    padding-right: 0;
    width: 100%;
    max-width: 100%;
    margin: 0;
}

@media (min-width: 1024px) {
    .menu-sticky .container-boxed {
        padding-left: 24px;
        padding-right: 24px;
        max-width: var(--container-width);
        margin: 0 auto;
    }
}

.menu-sticky nav {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    gap: 8px;
    padding: 0 12px;
    width: 100%;
    box-sizing: border-box;
    min-width: 0;
}

@media (min-width: 375px) {
    .menu-sticky nav {
        gap: 10px;
        padding: 0 16px;
    }
}

@media (min-width: 640px) {
    .menu-sticky nav {
        gap: 12px;
        padding: 0 20px;
    }
}

@media (min-width: 1024px) {
    .menu-sticky nav {
        gap: 16px;
        padding: 0;
    }
}

.menu-sticky .logo {
    display: inline-block;
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 52px);
    overflow: hidden;
}

@media (min-width: 375px) {
    .menu-sticky .logo {
        max-width: calc(100% - 56px);
    }
}

@media (min-width: 640px) {
    .menu-sticky .logo {
        max-width: calc(100% - 60px);
    }
}

@media (min-width: 1024px) {
    .menu-sticky .logo {
        flex: 0 0 auto;
        max-width: none;
    }
}

.menu-sticky .logo-img {
    height: 40px;
    width: auto;
    max-width: 100%;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: high-quality;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: height 0.3s ease;
    object-fit: contain;
}

@media (min-width: 375px) {
    .menu-sticky .logo-img {
        height: 45px;
    }
}

@media (min-width: 1024px) {
    .menu-sticky .logo-img {
        height: 60px;
    }
}

.menu-sticky .nav-links {
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-sticky .nav-links a {
    color: #ffffff;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    padding: 8px 12px; /* aération: cadre non collé au texte (plus compact) */
    border-radius: 8px;
    transition:
        color 0.25s cubic-bezier(0.4, 0, 0.2, 1),
        background-color 0.25s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: color, background-color, box-shadow;
    background-color: transparent;
    box-shadow: none;
}

.menu-sticky .nav-links a:hover,
.menu-sticky .nav-links a:focus {
    color: var(--enkki-secondary);
    background-color: rgba(59, 130, 246, 0.10);
    box-shadow:
        0 0 0 1px rgba(59, 130, 246, 0.28) inset,
        0 10px 24px rgba(0, 0, 0, 0.22),
        0 0 18px rgba(59, 130, 246, 0.18);
}

.menu-sticky .nav-links a:hover,
.menu-sticky .nav-links a:focus {
    color: var(--enkki-secondary);
    background-color: rgba(59, 130, 246, 0.10);
    box-shadow:
        0 0 0 1px rgba(59, 130, 246, 0.28) inset,
        0 10px 24px rgba(0, 0, 0, 0.22),
        0 0 18px rgba(59, 130, 246, 0.18);
}

.menu-sticky .nav-links a:hover i {
    color: var(--enkki-secondary);
    filter: drop-shadow(0 0 6px rgba(59, 130, 246, 0.8));
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                filter 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Assurer que le texte et l'icône sont au-dessus des effets */
.menu-sticky .nav-links a span,
.menu-sticky .nav-links a i {
    position: relative;
    z-index: 1;
}

.menu-sticky .nav-links i {
    font-size: 16px;
    width: 18px;
    text-align: center;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                filter 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: filter;
}

.menu-sticky .mobile-menu-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    padding: 6px;
    width: 40px;
    height: 40px;
    min-width: 40px;
    max-width: 40px;
    flex: 0 0 40px;
    flex-shrink: 0;
    position: relative;
    z-index: 1001;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    visibility: visible;
    opacity: 1;
    will-change: transform;
}

.menu-sticky .mobile-menu-btn:active {
    transform: scale(0.95);
}

@media (min-width: 640px) {
    .menu-sticky .mobile-menu-btn {
        width: 44px;
        height: 44px;
        min-width: 44px;
        max-width: 44px;
        flex: 0 0 44px;
        padding: 8px;
    }
}

.menu-sticky .mobile-menu-btn:hover {
    color: var(--enkki-secondary);
    opacity: 0.9;
}

.menu-sticky .mobile-menu-btn:active {
    opacity: 0.8;
}

.menu-sticky .mobile-menu-btn:focus {
    outline: 2px solid var(--enkki-primary);
    outline-offset: 2px;
    border-radius: 4px;
}

.hamburger-icon {
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    position: relative;
    visibility: visible;
    opacity: 1;
}

.hamburger-line {
    display: block !important;
    width: 100%;
    height: 3px;
    background-color: currentColor;
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: center;
    visibility: visible;
    opacity: 1;
    will-change: transform, opacity;
}

/* Délais légèrement décalés pour chaque ligne */
.hamburger-line:nth-child(1) {
    transition-delay: 0s;
}

.hamburger-line:nth-child(2) {
    transition-delay: 0.05s;
}

.hamburger-line:nth-child(3) {
    transition-delay: 0.1s;
}

.mobile-menu-btn[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
    transition-delay: 0.1s;
}

.mobile-menu-btn[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
    transition-delay: 0.05s;
}

.mobile-menu-btn[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
    transition-delay: 0.15s;
}

/* Animation de retour (fermeture) avec délais inversés */
.mobile-menu-btn[aria-expanded="false"] .hamburger-line:nth-child(1) {
    transition-delay: 0.15s;
}

.mobile-menu-btn[aria-expanded="false"] .hamburger-line:nth-child(2) {
    transition-delay: 0.1s;
}

.mobile-menu-btn[aria-expanded="false"] .hamburger-line:nth-child(3) {
    transition-delay: 0.05s;
}

@media (min-width: 1024px) {
    .menu-sticky .nav-links {
        display: flex !important;
        position: static !important;
        max-height: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        background: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        overflow: visible !important;
        width: auto !important;
        height: auto !important;
    }
    
    /* Sur desktop, la classe mobile-open ne doit rien changer */
    .menu-sticky .nav-links.mobile-open {
        display: flex !important;
    }
    
    .menu-sticky .nav-links li {
        opacity: 1;
        transform: none;
        margin-bottom: 0;
    }
    
    .menu-sticky .nav-links a {
        padding: 8px 12px;
        border-radius: 8px;
        font-size: inherit;
    }
    
    .menu-sticky .nav-links a:hover,
    .menu-sticky .nav-links a:focus {
        background-color: rgba(59, 130, 246, 0.10);
        transform: none;
        box-shadow:
            0 0 0 1px rgba(59, 130, 246, 0.28) inset,
            0 10px 24px rgba(0, 0, 0, 0.22),
            0 0 18px rgba(59, 130, 246, 0.18);
    }
    
    .menu-sticky .mobile-menu-btn {
        display: none !important;
    }
}

/* Tablette = hamburger comme mobile : pas de styles desktop ici */

/* S'assurer que le bouton est visible sur mobile + tablette */
@media (max-width: 1023px) {
    .menu-sticky .mobile-menu-btn {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .hamburger-icon {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .hamburger-line {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

/* Menu mobile - APPROCHE SIMPLIFIÉE */
@media (max-width: 1023px) {
    .menu-sticky nav {
        flex-wrap: nowrap;
    }
    
    /* Menu caché par défaut sur mobile */
    .menu-sticky .nav-links {
        display: none;
        opacity: 0;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                    opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                    backdrop-filter 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        will-change: transform, opacity;
    }
    
    /* Menu visible quand la classe mobile-open est présente */
    .menu-sticky .nav-links.mobile-open {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: fixed !important;
        top: 70px !important;
        left: auto !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 85vw !important;
        max-width: 360px !important;
        height: calc(100vh - 70px) !important;
        background-color: rgba(15, 23, 42, 0.98) !important;
        backdrop-filter: blur(16px) !important;
        -webkit-backdrop-filter: blur(16px) !important;
        flex-direction: column !important;
        padding: 20px 12px !important;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4) !important;
        z-index: 10000 !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        pointer-events: auto !important;
        margin: 0 !important;
        transform: translateX(0) !important;
        animation: slideInRight 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    
    @media (min-width: 375px) {
        .menu-sticky .nav-links {
            padding: 24px 16px !important;
        }
    }
    
    .menu-sticky .nav-links.mobile-open li {
        margin-bottom: 0;
        width: 100%;
        opacity: 0;
        visibility: visible !important;
        transform: translateX(20px);
        display: list-item !important;
        animation: fadeInStagger 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
        will-change: transform, opacity;
    }
    
    /* Délais progressifs pour l'effet stagger */
    .menu-sticky .nav-links.mobile-open li:nth-child(1) {
        animation-delay: 0.1s;
    }
    .menu-sticky .nav-links.mobile-open li:nth-child(2) {
        animation-delay: 0.15s;
    }
    .menu-sticky .nav-links.mobile-open li:nth-child(3) {
        animation-delay: 0.2s;
    }
    .menu-sticky .nav-links.mobile-open li:nth-child(4) {
        animation-delay: 0.25s;
    }
    .menu-sticky .nav-links.mobile-open li:nth-child(5) {
        animation-delay: 0.3s;
    }
    .menu-sticky .nav-links.mobile-open li:nth-child(6) {
        animation-delay: 0.35s;
    }
    .menu-sticky .nav-links.mobile-open li:nth-child(7) {
        animation-delay: 0.4s;
    }
    
    .menu-sticky .nav-links a {
        display: flex !important;
        align-items: center;
        gap: 10px;
        padding: 10px 16px;
        width: 100%;
        border-radius: 10px;
        transition:
            color 0.25s cubic-bezier(0.4, 0, 0.2, 1),
            background-color 0.25s cubic-bezier(0.4, 0, 0.2, 1),
            box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        font-size: 16px;
        font-weight: 500;
        color: var(--white) !important;
        position: relative;
        overflow: hidden;
        will-change: background-color, box-shadow, color;
    }
    
    @media (min-width: 375px) {
        .menu-sticky .nav-links a {
            gap: 12px;
            padding: 10px 16px;
            font-size: 18px;
        }
    }
    
    .menu-sticky .nav-links a:hover,
    .menu-sticky .nav-links a:focus {
        background-color: rgba(59, 130, 246, 0.12);
        color: var(--enkki-secondary) !important;
        transform: none;
        box-shadow:
            0 0 0 1px rgba(59, 130, 246, 0.28) inset,
            0 10px 24px rgba(0, 0, 0, 0.22),
            0 0 18px rgba(59, 130, 246, 0.18);
    }
    
    .menu-sticky .nav-links a i {
        font-size: 20px;
        width: 24px;
        text-align: center;
    }
    
    /* Empêcher le scroll du body quand le menu est ouvert */
    body.menu-open {
        overflow: hidden;
    }
}

/* ============================================
   SECTIONS
   ============================================ */

.section {
    padding: 64px 0;
}

@media (min-width: 768px) {
    .section {
        padding: 96px 0;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    padding-top: calc(var(--menu-height-mobile) + 60px);
    padding-bottom: 96px;
    min-height: calc(100vh - var(--menu-height-mobile));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--white);
    text-align: center;
    margin-top: var(--menu-height-mobile);
}

@media (max-width: 767px) {
    .hero {
        margin-top: var(--menu-height-mobile);
    }
}

@media (min-width: 768px) {
    .hero {
        padding-top: calc(var(--menu-height) + 80px);
        min-height: calc(100vh - var(--menu-height));
        margin-top: 0;
    }
}

/* Réduire les animations si l'utilisateur préfère moins de mouvement */
/* Arrière-plan avec gradient premium sobre */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--enkki-primary) 0%, #2563eb 25%, var(--enkki-secondary) 75%, #0891b2 100%);
    background-size: 200% 200%;
    animation: gradientShift 40s ease-in-out infinite;
    z-index: 0;
    will-change: background-position;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    25% {
        background-position: 30% 70%;
    }
    50% {
        background-position: 60% 40%;
    }
    75% {
        background-position: 40% 80%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Animation plus fluide pour le gradient */
.hero::before {
    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Container pour les effets visuels */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    overflow: hidden;
}



/* Réseau de connexions minimal (desktop uniquement) */
.hero-network {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
    display: none;
}

@media (min-width: 1024px) {
    .hero-network {
        display: block;
    }
}

.network-svg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0.6;
}

.network-svg line {
    stroke: url(#lineGradient);
    stroke-width: 2;
    opacity: 0.6;
    filter: drop-shadow(0 0 4px rgba(59, 130, 246, 0.5));
    animation: linePulse 3s ease-in-out infinite;
}

@keyframes linePulse {
    0%, 100% {
        opacity: 0.5;
        stroke-width: 1.5;
    }
    50% {
        opacity: 0.8;
        stroke-width: 2.5;
    }
}

.network-node {
    position: absolute;
    width: 12px;
    height: 12px;
    background: rgba(59, 130, 246, 0.7);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(59, 130, 246, 1),
                0 0 40px rgba(59, 130, 246, 0.6),
                0 0 60px rgba(59, 130, 246, 0.3);
    transform: translateZ(0);
    animation: nodePulse 4s ease-in-out infinite;
    will-change: transform, opacity;
}

.network-node.node-1 {
    top: 20%;
    left: 25%;
    animation-delay: 0s;
}

.network-node.node-2 {
    top: 50%;
    right: 30%;
    animation-delay: 2s;
}

@keyframes nodePulse {
    0%, 100% {
        transform: translateZ(0) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translateZ(0) scale(1.4);
        opacity: 1;
    }
}

/* Effet 3D sur le contenu - profondeur de base */
.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}


/* Overlay lumineux premium sobre */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.22) 0%, transparent 60%);
    animation: overlayPulse 6s ease-in-out infinite;
    z-index: 1;
    will-change: opacity, transform;
}

@keyframes overlayPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

/* Wrapper pour le titre hero - pleine largeur */
.hero-title-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0;
    margin: 0;
    margin-bottom: 40px;
    text-align: center;
}

/* Contenu de la hero */
.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: center;
}

.hero-title {
    font-size: 36px;
    font-weight: 700;
    margin: 0 auto;
    padding: 0;
    line-height: 1.3;
    text-align: center;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    color: rgba(255, 255, 255, 0.98);
    will-change: transform;
    transition: transform 0.1s ease-out;
}


/* Respecter les préférences d'animation réduite */
@media (prefers-reduced-motion: reduce) {
    /* Désactiver uniquement les animations du contenu */
    .hero-title,
    .hero-subtitle,
    .hero .cta-buttons {
        animation: none !important;
    }
    
    /* Les animations de fond (gradient, overlay, réseau) peuvent rester très subtiles */
    .hero::before {
        animation-duration: 300s !important; /* Ralentir encore plus si besoin */
    }
    
    .hero-overlay {
        animation-duration: 20s !important; /* Ralentir la pulsation */
    }
    
    .network-node {
        animation: none !important; /* Désactiver les nœuds en animation réduite */
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   NOUVELLES KEYFRAMES MODERNES
   ============================================ */

/**
 * Animation fadeInScale - Apparition avec mise à l'échelle
 */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/**
 * Animation slideInUp - Entrée depuis le bas avec fade
 */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/**
 * Animation revealText - Révélation progressive du texte
 */
@keyframes revealText {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/**
 * Animation staggerFadeIn - Pour les animations séquentielles
 */
@keyframes staggerFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Classes d'animation pour utilisation directe en CSS */
.animate-fade-in-scale {
    animation: fadeInScale 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-slide-in-up {
    animation: slideInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-reveal-text {
    animation: revealText 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-stagger {
    animation: staggerFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Styles pour les mots révélés */
.reveal-word {
    display: inline-block;
    will-change: transform, opacity;
}

/* Respecter les préférences d'animation réduite pour les nouvelles animations */
@media (prefers-reduced-motion: reduce) {
    .animate-fade-in-scale,
    .animate-slide-in-up,
    .animate-reveal-text,
    .animate-stagger {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    
    .reveal-word {
        opacity: 1 !important;
        transform: none !important;
    }
    
    /* Désactiver les animations du menu mobile */
    .menu-sticky .nav-links.mobile-open {
        animation: none !important;
    }
    
    .menu-sticky .nav-links.mobile-open li {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    
    /* Désactiver les animations hover */
    .menu-sticky .nav-links a::before,
    .menu-sticky .nav-links a::after {
        display: none !important;
        animation: none !important;
    }
    
    .menu-sticky .nav-links a {
        will-change: auto !important;
    }
    
    .menu-sticky .nav-links a:hover {
        background-color: transparent !important;
    }
    
    .menu-sticky .nav-links a:hover i {
        filter: none !important;
    }
    
    /* Désactiver l'animation hamburger */
    .hamburger-line {
        transition: none !important;
    }
}

/* ============================================
   ANIMATIONS MENU MOBILE
   ============================================ */

/**
 * Animation slideInRight - Menu qui glisse depuis la droite
 */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/**
 * Animation slideOutRight - Menu qui glisse vers la droite
 */
@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/**
 * Animation fadeInStagger - Apparition séquentielle des liens
 */
@keyframes fadeInStagger {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


.hero-subtitle {
    font-size: 17px;
    margin-bottom: 48px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 300;
    line-height: 1.8;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 16px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5),
                 0 1px 4px rgba(0, 0, 0, 0.4);
    letter-spacing: 0.2px;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform 0.1s ease-out;
}

@media (min-width: 1024px) {
    .hero-subtitle {
        max-width: 1200px;
    }
}

/* Espacement entre les phrases du sous-titre */
.hero-subtitle br {
    display: block;
    content: "";
    margin-top: 0.8em;
}

.hero .cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
    align-items: center;
    will-change: transform;
    transition: transform 0.1s ease-out;
}

.hero-proof {
    margin-top: 65px;
    padding: 0 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    justify-content: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.88);
}

.hero-proof li {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    line-height: 1.4;
    padding: 10px 12px;
    border-radius: 999px;
    font-weight: 500;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(203, 213, 225, 0.18);
    box-shadow:
        0 10px 22px rgba(0, 0, 0, 0.22),
        0 0 0 1px rgba(59, 130, 246, 0.12) inset;
}

.hero-proof li i {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.18);
    border: 1px solid rgba(59, 130, 246, 0.28);
    color: rgba(191, 219, 254, 0.95);
}

.hero .btn {
    min-width: 220px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    backface-visibility: hidden;
    will-change: transform, box-shadow;
}

.hero .btn span,
.hero .btn i {
    position: relative;
    z-index: 1;
}

.hero .btn-white {
    background-color: var(--white);
    color: var(--enkki-primary) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.hero .btn-white:hover {
    background-color: var(--white);
    color: var(--enkki-secondary) !important;
    transform: translateY(-4px) translateZ(10px) scale(1.02);
    opacity: 0.95;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35),
                0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.hero .btn-dark {
    background-color: rgba(15, 23, 42, 0.8);
    color: var(--white) !important;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
    .hero .btn-dark {
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
}

.hero .btn-dark:hover {
    background-color: rgba(15, 23, 42, 0.95);
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--white) !important;
    transform: translateY(-4px) translateZ(10px) scale(1.02);
    opacity: 0.95;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4),
                0 0 20px rgba(59, 130, 246, 0.2);
}


@media (min-width: 640px) {
    .hero {
        padding-top: calc(var(--menu-height-mobile) + 80px);
        padding-bottom: 120px;
    }
    
    .hero-title {
        font-size: 48px;
        gap: 12px;
    }
    
    
    .hero-subtitle {
        font-size: 18px;
        margin-bottom: 56px;
        line-height: 1.85;
        max-width: 850px;
    }
    
    .hero-subtitle br {
        margin-top: 14px;
    }
    
    .hero .cta-buttons {
        flex-direction: row;
        gap: 24px;
    }
    
    .hero .btn {
        min-width: 240px;
    }
}

@media (min-width: 768px) {
    .hero {
        padding-top: calc(var(--menu-height) + 120px);
        padding-bottom: 140px;
        min-height: calc(100vh - var(--menu-height));
    }
    
    .hero-title {
        font-size: 60px;
        gap: 12px;
    }
    
    .hero-title-wrapper {
        margin-bottom: 44px;
    }
    
    .hero-subtitle {
        font-size: 19px;
        margin-bottom: 64px;
        line-height: 1.9;
        max-width: 880px;
    }
    
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 72px;
        gap: 14px;
    }
    
    .hero-title-wrapper {
        margin-bottom: 48px;
    }
    
    .hero-subtitle {
        font-size: 20px;
        margin-bottom: 72px;
        line-height: 1.9;
        max-width: 980px;
    }
    
    
    .hero .cta-buttons {
        gap: 32px;
    }
    
    .hero .btn {
        min-width: 260px;
        padding: 18px 40px;
        font-size: 18px;
    }
}

@media (min-width: 1280px) {
    .hero-title {
        font-size: 80px;
        gap: 16px;
    }
    
    .hero-title-wrapper {
        margin-bottom: 52px;
    }
    
    .hero-subtitle {
        font-size: 21px;
        max-width: 1020px;
        line-height: 1.9;
        margin-bottom: 80px;
    }
    
}

/* Amélioration de la lisibilité sur mobile */
@media (max-width: 639px) {
    .hero {
        padding-top: calc(var(--menu-height-mobile) + 48px);
        padding-bottom: 64px;
        min-height: auto;
    }
    
    .hero-content {
        width: 100%;
        padding: 0 8px;
    }
    
    .hero-title {
        font-size: 32px;
        gap: 8px;
        line-height: 1.25;
    }
    
    .hero-title-wrapper {
        margin-bottom: 28px;
    }
    
    
    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 44px;
        padding: 0 16px;
        line-height: 1.8;
        max-width: 100%;
    }
    
    
    .hero .cta-buttons {
        gap: 16px;
        padding: 0 8px;
        width: 100%;
    }
    
    .hero .btn {
        min-width: 100%;
        width: 100%;
        max-width: 320px;
        padding: 14px 24px;
        font-size: 16px;
    }
    
    /* Réduire les effets sur mobile pour les performances */
    
    .hero-overlay {
        opacity: 0.5;
    }
}

/* Optimisation pour tablettes */
@media (min-width: 640px) and (max-width: 767px) {
    .hero {
        padding-top: calc(var(--menu-height-mobile) + 64px);
        padding-bottom: 80px;
    }
    
    .hero-title {
        font-size: 42px;
        gap: 10px;
    }
    
    .hero-title-wrapper {
        margin-bottom: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
        max-width: 740px;
        line-height: 1.85;
        margin-bottom: 52px;
    }
    
    .hero-subtitle br {
        margin-top: 14px;
    }
    
    .hero .btn {
        min-width: 200px;
    }
}

/* Ajustements pour très grands écrans */
@media (min-width: 1600px) {
    .hero {
        padding-top: calc(var(--menu-height) + 140px);
        padding-bottom: 160px;
    }
    
    .hero-title {
        font-size: 88px;
        gap: 18px;
    }
    
    .hero-title-wrapper {
        margin-bottom: 56px;
    }
    
    .hero-subtitle {
        font-size: 22px;
        margin-bottom: 88px;
        max-width: 1140px;
        line-height: 1.95;
    }
    
    .hero-subtitle br {
        margin-top: 24px;
    }
    
    .hero .cta-buttons {
        gap: 40px;
    }
    
    .hero .btn {
        min-width: 280px;
        padding: 20px 48px;
        font-size: 20px;
    }
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    font-weight: 600;
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn i {
    font-size: 16px;
    line-height: 1;
}

.btn span {
    display: inline-block;
}

.btn-primary {
    background-color: var(--enkki-primary);
    color: var(--white) !important;
}

.btn-primary:hover {
    background-color: #2563eb;
    color: var(--white) !important;
    transform: scale(1.05);
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background-color: var(--enkki-secondary);
    color: var(--white) !important;
}

.btn-secondary:hover {
    background-color: #0891b2;
    color: var(--white) !important;
    transform: scale(1.05);
    box-shadow: 0 10px 15px -3px rgba(6, 182, 212, 0.4);
}

.btn-white {
    background-color: var(--white);
    color: var(--enkki-primary) !important;
}

.btn-white:hover {
    background-color: var(--gray-700);
    color: var(--enkki-secondary) !important;
}

.btn-dark {
    background-color: var(--enkki-dark);
    color: var(--white) !important;
}

.btn-dark:hover {
    background-color: var(--gray-800);
    color: var(--white) !important;
}

.btn-ecommerce {
    background-color: var(--enkki-ecommerce);
    color: var(--white) !important;
}

.btn-ecommerce:hover {
    background-color: #059669;
    color: var(--white) !important;
    transform: scale(1.05);
    box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.4);
}

.btn-audit {
    background-color: var(--enkki-audit);
    color: var(--white) !important;
}

.btn-audit:hover {
    background-color: #d97706;
    color: var(--white) !important;
    transform: scale(1.05);
    box-shadow: 0 10px 15px -3px rgba(245, 158, 11, 0.4);
}

.btn-block {
    width: 100%;
    display: block;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

h2 {
    font-size: 30px;
    text-align: center;
    margin-bottom: 48px;
    color: var(--white);
}

h3 {
    font-size: 24px;
    color: var(--enkki-secondary);
    margin-bottom: 16px;
}

h4 {
    font-size: 18px;
    font-weight: 600;
}

p {
    margin-bottom: 16px;
    color: var(--gray-600);
}

.text-center {
    text-align: center;
}

.text-primary {
    color: var(--enkki-primary);
}

.text-secondary {
    color: var(--enkki-secondary);
}

.text-ecommerce {
    color: var(--enkki-ecommerce);
}

.text-audit {
    color: var(--enkki-audit);
}

.text-gray {
    color: var(--gray-600);
    font-size: 14px;
}

.text-white {
    color: var(--white);
}

@media (min-width: 768px) {
    h2 {
        font-size: 36px;
    }
}

/* ============================================
   CARDS
   ============================================ */

.card {
    background-color: var(--enkki-light);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(59, 130, 246, 0.1);
    transform-style: preserve-3d;
    backface-visibility: hidden;
    will-change: transform, box-shadow;
}

.product-card:hover,
.product-card:focus-within {
    transform: translateY(-8px) translateZ(20px) scale(1.02);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 
        0 8px 16px rgba(0, 0, 0, 0.12),
        0 16px 32px rgba(0, 0, 0, 0.16),
        0 0 0 1px rgba(0, 0, 0, 0.05) inset,
        0 0 0 1px rgba(59, 130, 246, 0.32),
        0 0 40px rgba(59, 130, 246, 0.22),
        0 0 60px rgba(59, 130, 246, 0.12);
}

.product-card.secondary:hover,
.product-card.secondary:focus-within {
    transform: translateY(-8px) translateZ(20px) scale(1.02);
    border-color: rgba(6, 182, 212, 0.5);
    box-shadow: 
        0 8px 16px rgba(0, 0, 0, 0.12),
        0 16px 32px rgba(0, 0, 0, 0.16),
        0 0 0 1px rgba(0, 0, 0, 0.05) inset,
        0 0 0 1px rgba(6, 182, 212, 0.32),
        0 0 40px rgba(6, 182, 212, 0.22),
        0 0 60px rgba(6, 182, 212, 0.12);
}

.product-card.ecommerce:hover,
.product-card.ecommerce:focus-within {
    transform: translateY(-8px) translateZ(20px) scale(1.02);
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow: 
        0 8px 16px rgba(0, 0, 0, 0.12),
        0 16px 32px rgba(0, 0, 0, 0.16),
        0 0 0 1px rgba(0, 0, 0, 0.05) inset,
        0 0 0 1px rgba(16, 185, 129, 0.32),
        0 0 40px rgba(16, 185, 129, 0.22),
        0 0 60px rgba(16, 185, 129, 0.12);
}

.product-card.audit:hover,
.product-card.audit:focus-within {
    transform: translateY(-8px) translateZ(20px) scale(1.02);
    border-color: rgba(245, 158, 11, 0.5);
    box-shadow: 
        0 8px 16px rgba(0, 0, 0, 0.12),
        0 16px 32px rgba(0, 0, 0, 0.16),
        0 0 0 1px rgba(0, 0, 0, 0.05) inset,
        0 0 0 1px rgba(245, 158, 11, 0.32),
        0 0 40px rgba(245, 158, 11, 0.22),
        0 0 60px rgba(245, 158, 11, 0.12);
}

.card img {
    border-radius: 8px;
    margin-bottom: 16px;
}

.card h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--white);
}

.card p {
    color: var(--gray-600);
    margin-bottom: 16px;
}

.card a:not(.btn):not(.portfolio-link) {
    color: var(--enkki-secondary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.card a:not(.btn):not(.portfolio-link):hover {
    text-decoration: underline;
    color: var(--enkki-primary);
}

.card a:not(.btn):not(.portfolio-link) i {
    font-size: 14px;
}

/* Portfolio Link Styles */
.portfolio-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    margin-top: 8px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    color: var(--enkki-primary);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.portfolio-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(16, 185, 129, 0.2) 100%);
    transition: left 0.3s ease;
    z-index: 0;
}

.portfolio-link span,
.portfolio-link i {
    position: relative;
    z-index: 1;
}

.portfolio-link:hover {
    border-color: var(--enkki-primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(59, 130, 246, 0.3);
}

.portfolio-link:hover::before {
    left: 0;
}

.portfolio-link i {
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: inline-block;
    position: relative;
}

.portfolio-link:hover i {
    transform: translateX(6px) scale(1.1);
    color: var(--white);
}

.portfolio-link:active i {
    transform: translateX(8px) scale(1.05);
}

/* Animation pulsante subtile pour attirer l'attention */
.portfolio-link i::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: width 0.4s ease, height 0.4s ease, opacity 0.4s ease;
    opacity: 0;
}

/* Portfolio Link Disabled - Application métier privée */
.portfolio-link-disabled {
    opacity: 0.5;
    cursor: not-allowed !important;
    background: linear-gradient(135deg, rgba(107, 114, 128, 0.1) 0%, rgba(75, 85, 99, 0.1) 100%) !important;
    border-color: rgba(107, 114, 128, 0.3) !important;
    color: rgba(107, 114, 128, 0.8) !important;
    pointer-events: auto;
}

.portfolio-link-disabled:hover {
    transform: none !important;
    box-shadow: none !important;
    border-color: rgba(107, 114, 128, 0.3) !important;
    color: rgba(107, 114, 128, 0.8) !important;
}

.portfolio-link-disabled:hover::before {
    left: -100% !important;
}

.portfolio-link-disabled:hover i {
    transform: none !important;
    color: rgba(107, 114, 128, 0.8) !important;
}

.portfolio-link-disabled i::after {
    display: none;
}

.portfolio-link:hover i::after {
    width: 30px;
    height: 30px;
    opacity: 1;
}

.portfolio-link:focus {
    outline: 2px solid var(--enkki-primary);
    outline-offset: 2px;
}

/* ============================================
   GRID LAYOUTS
   ============================================ */

.grid {
    display: grid;
    gap: 32px;
}

.grid-2 {
    grid-template-columns: 1fr;
    gap: 32px;
}

.grid-3 {
    grid-template-columns: 1fr;
    gap: 32px;
}

.grid-4 {
    grid-template-columns: 1fr;
    gap: 24px;
}

/* Grille spécifique pour les produits avec plus d'espace */
#products .grid-4 {
    gap: 32px;
}

@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    #products .grid-4 {
        gap: 40px;
    }
}

@media (min-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    #products .grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 48px;
    }
}

@media (min-width: 1280px) {
    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
    
    #products .grid-4 {
        grid-template-columns: repeat(4, 1fr);
        gap: 40px;
    }
}

@media (min-width: 1600px) {
    #products .grid-4 {
        gap: 48px;
    }
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}

.about-content img {
    border-radius: 8px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
    width: 100%;
}

.about-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.about-logo-circle {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(6, 182, 212, 0.1));
    border: 4px solid rgba(59, 130, 246, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1),
                0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.about-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: high-quality;
    image-rendering: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}

@media (min-width: 768px) {
    .about-logo-circle {
        width: 350px;
        height: 350px;
    }
}

@media (min-width: 1024px) {
    .about-logo-circle {
        width: 400px;
        height: 400px;
    }
}

@media (max-width: 767px) {
    .about-logo-circle {
        width: 250px;
        height: 250px;
    }
    
    /* Logo au-dessus du texte sur mobile */
    .about-content {
        display: flex;
        flex-direction: column;
    }
    
    .about-logo-container {
        order: -1;
        margin-bottom: 32px;
    }
}

/* Justification du texte dans la section Présentation */
.about-content p,
.about-content li {
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
}

.about-points {
    margin-top: 8px;
    display: grid;
    gap: 12px;
}

.about-points li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--gray-700);
    font-size: 15px;
    line-height: 1.45;
}

.about-points li i {
    margin-top: 2px;
    color: var(--enkki-primary);
    flex: 0 0 18px;
}

/* Style pour les icônes dans le texte de présentation */
.about-content p i {
    margin-right: 8px;
    font-size: 1.1em;
    vertical-align: middle;
}

.about-content p i:first-child {
    margin-right: 10px;
    font-size: 1.2em;
}

@media (min-width: 768px) {
    .about-content {
        grid-template-columns: 1fr 1fr;
    }
}

/* ============================================
   PORTFOLIO SECTION
   ============================================ */

.portfolio-item {
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.portfolio-item img {
    height: auto;
    max-height: 300px;
    object-fit: contain;
    border-radius: 8px;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                filter 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.portfolio-item:hover img {
    transform: scale(1.05) translateZ(10px);
    opacity: 0.95;
    filter: brightness(1.1);
}

.portfolio-item:hover {
    transform: translateY(-6px) translateZ(15px);
}

.portfolio-image-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.portfolio-image-hidden {
    display: none !important;
}

.portfolio-item .portfolio-link {
    margin-top: auto;
}

/* ============================================
   TECHNOLOGIES SECTION
   ============================================ */

.tech-card {
    text-align: center;
    padding: 32px 24px;
    position: relative;
    overflow: hidden;
}

.tech-card::before {
    display: none;
}

/* .tech-card:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 130, 246, 0.5);
} */

.tech-icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--enkki-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 16px;
}

/* .tech-card:hover .tech-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(59, 130, 246, 0.2);
    color: var(--enkki-secondary);
} */

.tech-card h3 {
    font-size: 22px;
    color: var(--white);
    margin-bottom: 12px;
    font-weight: 600;
}

.tech-card p {
    color: var(--gray-600);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */

.testimonials-coming-soon {
    text-align: center;
    padding: 80px 32px;
    max-width: 600px;
    margin: 0 auto;
}

.coming-soon-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(6, 182, 212, 0.1));
    border-radius: 50%;
    border: 3px solid rgba(59, 130, 246, 0.2);
    position: relative;
    animation: pulse 2s ease-in-out infinite;
}

.coming-soon-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid rgba(6, 182, 212, 0.3);
    animation: ripple 2s ease-out infinite;
}

.coming-soon-icon i {
    font-size: 48px;
    color: var(--enkki-secondary);
    position: relative;
    z-index: 1;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 20px rgba(59, 130, 246, 0);
    }
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.testimonials-coming-soon h3 {
    font-size: 28px;
    color: var(--white);
    margin-bottom: 16px;
    font-weight: 600;
}

.testimonials-coming-soon p {
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
}

.testimonial {
    margin-bottom: 32px;
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--white);
    background-color: var(--enkki-primary);
    margin-right: 16px;
}

.testimonial-avatar.secondary {
    background-color: var(--enkki-secondary);
    color: var(--enkki-dark);
}

.testimonial-content {
    font-style: italic;
    color: var(--gray-600);
    margin-bottom: 16px;
}

.testimonial-stars {
    color: #facc15;
    font-size: 20px;
    margin-top: 16px;
}

.testimonial-header h4 {
    margin-bottom: 4px;
    font-size: 16px;
}

.testimonial-header p {
    font-size: 14px;
    margin: 0;
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */

.products-grid {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

/* Section Produits avec container élargi pour utiliser plus d'espace */
#products .container-boxed {
    max-width: 100%;
    padding-left: 24px;
    padding-right: 24px;
}

@media (min-width: 768px) {
    #products .container-boxed {
        padding-left: 48px;
        padding-right: 48px;
    }
}

@media (min-width: 1024px) {
    #products .container-boxed {
        padding-left: 64px;
        padding-right: 64px;
    }
}

@media (min-width: 1400px) {
    #products .container-boxed {
        padding-left: 80px;
        padding-right: 80px;
    }
}

@media (min-width: 1600px) {
    #products .container-boxed {
        padding-left: 120px;
        padding-right: 120px;
    }
}

.product-card {
    --product-accent-rgb: 59, 130, 246;
    border: 2px solid rgba(59, 130, 246, 0.6);
    border-color: rgba(var(--product-accent-rgb), 0.6);
    background-color: var(--enkki-light);
    background-image: linear-gradient(180deg, rgba(241, 245, 249, 0.09) 0%, rgba(241, 245, 249, 0.03) 100%);
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 16px;
    padding: 32px 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.05),
        0 4px 12px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(0, 0, 0, 0.02) inset,
        0 0 0 1px rgba(59, 130, 246, 0.22),
        0 0 28px rgba(59, 130, 246, 0.12);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    backface-visibility: hidden;
    will-change: transform, box-shadow;
}

.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.92;
    z-index: 0;
    background:
        radial-gradient(1000px circle at 0% 0%, rgba(59, 130, 246, 0.42) 0%, transparent 55%),
        radial-gradient(700px circle at 100% 0%, rgba(59, 130, 246, 0.24) 0%, transparent 50%);
    background:
        radial-gradient(1000px circle at 0% 0%, rgba(var(--product-accent-rgb), 0.42) 0%, transparent 55%),
        radial-gradient(700px circle at 100% 0%, rgba(var(--product-accent-rgb), 0.24) 0%, transparent 50%);
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card > * {
    position: relative;
    z-index: 1;
}

.product-card:hover::before,
.product-card:focus-within::before {
    opacity: 1;
}

.product-card.secondary {
    --product-accent-rgb: 6, 182, 212;
    border-color: rgba(6, 182, 212, 0.6);
    border-color: rgba(var(--product-accent-rgb), 0.6);
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.05),
        0 4px 12px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(0, 0, 0, 0.02) inset,
        0 0 0 1px rgba(6, 182, 212, 0.22),
        0 0 24px rgba(6, 182, 212, 0.12);
}

.product-card.secondary h3 {
    color: var(--enkki-secondary);
}

.product-card.ecommerce {
    --product-accent-rgb: 16, 185, 129;
    border-color: rgba(16, 185, 129, 0.6);
    border-color: rgba(var(--product-accent-rgb), 0.6);
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.05),
        0 4px 12px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(0, 0, 0, 0.02) inset,
        0 0 0 1px rgba(16, 185, 129, 0.22),
        0 0 24px rgba(16, 185, 129, 0.12);
}

.product-card.ecommerce h3 {
    color: var(--enkki-ecommerce);
}

.product-card.audit {
    --product-accent-rgb: 245, 158, 11;
    border-color: rgba(245, 158, 11, 0.6);
    border-color: rgba(var(--product-accent-rgb), 0.6);
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.05),
        0 4px 12px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(0, 0, 0, 0.02) inset,
        0 0 0 1px rgba(245, 158, 11, 0.22),
        0 0 24px rgba(245, 158, 11, 0.12);
}

.product-card.audit h3 {
    color: var(--enkki-audit);
}

.product-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: 36px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.product-card .product-icon {
    background: rgba(59, 130, 246, 0.28);
    background: rgba(var(--product-accent-rgb), 0.28);
    color: var(--enkki-primary);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.22),
                0 0 0 1px rgba(59, 130, 246, 0.24) inset;
    box-shadow: 0 2px 8px rgba(var(--product-accent-rgb), 0.22),
                0 0 0 1px rgba(var(--product-accent-rgb), 0.24) inset;
}

.product-card.ecommerce .product-icon {
    color: var(--enkki-ecommerce);
}

.product-card.secondary .product-icon {
    color: var(--enkki-secondary);
}

.product-card.audit .product-icon {
    color: var(--enkki-audit);
}

.product-card:hover .product-icon,
.product-card:focus-within .product-icon {
    transform: scale(1.12) translateZ(15px) rotateY(5deg);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.5),
                0 0 0 1px rgba(59, 130, 246, 0.38) inset,
                0 0 34px rgba(59, 130, 246, 0.34);
    box-shadow: 0 8px 20px rgba(var(--product-accent-rgb), 0.5),
                0 0 0 1px rgba(var(--product-accent-rgb), 0.38) inset,
                0 0 34px rgba(var(--product-accent-rgb), 0.34);
}

.product-card.ecommerce:hover .product-icon,
.product-card.ecommerce:focus-within .product-icon {
    transform: scale(1.12) translateZ(15px) rotateY(5deg);
    box-shadow: 0 8px 20px rgba(var(--product-accent-rgb), 0.42),
                0 0 0 1px rgba(var(--product-accent-rgb), 0.32) inset,
                0 0 30px rgba(var(--product-accent-rgb), 0.3);
}

.product-card.secondary:hover .product-icon,
.product-card.secondary:focus-within .product-icon {
    transform: scale(1.12) translateZ(15px) rotateY(5deg);
    box-shadow: 0 8px 20px rgba(var(--product-accent-rgb), 0.42),
                0 0 0 1px rgba(var(--product-accent-rgb), 0.32) inset,
                0 0 30px rgba(var(--product-accent-rgb), 0.3);
}

.product-card.audit:hover .product-icon,
.product-card.audit:focus-within .product-icon {
    transform: scale(1.12) translateZ(15px) rotateY(5deg);
    box-shadow: 0 8px 20px rgba(var(--product-accent-rgb), 0.42),
                0 0 0 1px rgba(var(--product-accent-rgb), 0.32) inset,
                0 0 30px rgba(var(--product-accent-rgb), 0.3);
}

@media (prefers-reduced-motion: reduce) {
    .product-card,
    .product-card .product-icon {
        transition: none !important;
        transform: none !important;
    }
    
    .product-card:hover,
    .product-card:focus-within {
        transform: none !important;
    }
    
    .product-card:hover .product-icon,
    .product-card:focus-within .product-icon {
        transform: none !important;
    }
}

.product-card h3 {
    text-align: center;
    margin-bottom: 12px;
    font-size: 24px;
    font-weight: 700;
}

.product-card .subtitle {
    text-align: center;
    color: rgba(203, 213, 225, 0.82);
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.5;
    min-height: 72px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
}

.product-price {
    text-align: center;
    margin-bottom: 28px;
    padding: 16px 0;
    height: 104px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-top: 1px solid rgba(148, 163, 184, 0.22);
    border-bottom: 1px solid rgba(148, 163, 184, 0.22);
}

.product-price .price-label {
    display: block;
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.product-price .price-amount {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--enkki-primary);
}

.product-card.secondary .product-price .price-amount {
    color: var(--enkki-secondary);
}

.product-card.ecommerce .product-price .price-amount {
    color: var(--enkki-ecommerce);
}

.product-card.audit .product-price .price-amount {
    color: var(--enkki-audit);
}

.product-features {
    margin-bottom: 28px;
    flex-grow: 1;
}

.product-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 15px;
    line-height: 1.45;
}

.product-features li .check {
    color: var(--enkki-primary);
    font-weight: 700;
    flex: 0 0 18px;
    line-height: 1.2;
    margin-top: 1px;
}

.product-card.secondary .product-features li .check {
    color: var(--enkki-secondary);
}

.product-card.ecommerce .product-features li .check {
    color: var(--enkki-ecommerce);
}

.product-card.audit .product-features li .check {
    color: var(--enkki-audit);
}

.product-info {
    font-size: 14px;
    color: rgba(203, 213, 225, 0.76);
    margin-bottom: 20px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    height: 128px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    overflow: hidden;
}

.product-info strong {
    font-weight: 600;
}

/* Aligner le bouton en bas de la carte (juste après l'avantage) */
.product-card .btn {
    margin-top: 0;
}

/* ============================================
   CONTACT FORM
   ============================================ */

.contact-form {
    max-width: 980px;
    margin: 0 auto;
}

/* Layout du formulaire */
#contact-form.card {
    padding: 24px;
}

@media (min-width: 1024px) {
    #contact-form.card {
        padding: 32px;
    }
}

.form-intro {
    margin-bottom: 18px;
    color: var(--gray-600);
    font-size: 14px;
    line-height: 1.6;
}

.form-actions {
    margin-top: 4px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1280px) {
    .form-row.form-row-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.form-group {
    margin-bottom: 0;
}

/* Marge pour les form-group qui ne sont pas dans un form-row */
form > .form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--gray-700);
}

.form-group label .required {
    color: #ef4444;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #475569;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition);
    background-color: var(--enkki-dark);
    color: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--enkki-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
    background-color: var(--enkki-light);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-privacy {
    margin-top: 0;
    font-size: 13px;
    color: var(--gray-600);
    text-align: center;
    line-height: 1.5;
}

.form-privacy a {
    color: var(--enkki-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #ef4444;
}

.alert {
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 24px;
}

.alert-error {
    background-color: #7f1d1d;
    border: 1px solid #dc2626;
    color: #fca5a5;
}

.alert-success {
    background-color: #14532d;
    border: 1px solid #22c55e;
    color: #86efac;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background-color: #020617;
    color: #64748b;
    padding: 32px 0;
    text-align: center;
}

.footer p {
    color: #64748b;
    margin: 0;
}

.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(100, 116, 139, 0.1);
    color: #64748b;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid rgba(100, 116, 139, 0.2);
}

.social-link:hover {
    background-color: rgba(59, 130, 246, 0.1);
    border-color: #3b82f6;
    color: #3b82f6;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.social-link i {
    font-size: 20px;
}

.social-link:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* ============================================
   BACKGROUND COLORS
   ============================================ */

.bg-white {
    background-color: var(--enkki-light);
}

.bg-gray-50 {
    background-color: var(--enkki-dark);
}

.bg-dark {
    background-color: #020617;
}

/* ============================================
   UTILITIES
   ============================================ */

.flex {
    display: flex;
}

.menu-sticky .flex.items-center {
    display: flex;
    align-items: center;
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
    max-width: 100%;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.items-start {
    align-items: flex-start;
}

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

.justify-between {
    justify-content: space-between;
}

.gap-4 {
    gap: 16px;
}

.gap-8 {
    gap: 32px;
}

.mb-4 {
    margin-bottom: 16px;
}

.mb-6 {
    margin-bottom: 24px;
}

.mb-8 {
    margin-bottom: 32px;
}

.mb-12 {
    margin-bottom: 48px;
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.font-semibold {
    font-weight: 600;
}

.mt-4 {
    margin-top: 16px;
}

.ml-4 {
    margin-left: 16px;
}

.mr-2 {
    margin-right: 8px;
}

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.italic {
    font-style: italic;
}

.rounded {
    border-radius: 8px;
}

.rounded-lg {
    border-radius: 8px;
}

.rounded-full {
    border-radius: 50%;
}

.shadow-xl {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
}

/* ============================================
   ANIMATIONS SCROLL
   ============================================ */

[data-animate] {
    opacity: 0;
    transition: transform 0.7s ease-out, opacity 0.7s ease-out, filter 0.7s ease-out;
}

/* Anciens styles d'animation supprimés - remplacés par le nouveau système modulaire */

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 767px) {
    .menu-sticky {
        border-radius: 0;
    }
    
    h2 {
        font-size: 28px;
    }
    
    .section {
        padding: 48px 0;
    }
    
    /* Optimisations de performance pour mobile */
    .hero-network {
        display: none;
    }
    
    .hero-overlay {
        opacity: 0.4;
    }
    
    /* Amélioration de la lisibilité sur mobile */
    .card {
        padding: 20px;
    }
    
    .btn {
        padding: 14px 24px;
        font-size: 16px;
    }
    
    /* Optimisation des transitions sur mobile */
    * {
        -webkit-tap-highlight-color: rgba(59, 130, 246, 0.2);
    }
}

/* GLightbox - Amélioration de la lisibilité des légendes */
.glightbox-container .gslide-description {
    background: rgba(0, 0, 0, 0.85) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.glightbox-container .gdesc-inner {
    background: rgba(0, 0, 0, 0.85) !important;
    padding: 22px 20px !important;
}

.glightbox-container .gslide-title {
    color: #ffffff !important;
    font-weight: 600 !important;
    margin-bottom: 12px !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.glightbox-container .gslide-desc {
    color: #e0e0e0 !important;
    line-height: 1.6 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.glightbox-mobile .glightbox-container .gslide-description {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.9) 100%) !important;
}

.glightbox-mobile .glightbox-container .gslide-title {
    color: #ffffff !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

.glightbox-mobile .glightbox-container .gslide-desc {
    color: #e0e0e0 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
}

/* ============================================
   BANNIÈRE RGPD
   ============================================ */

.rgpd-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--enkki-dark) 0%, var(--enkki-light) 100%);
    border-top: 2px solid var(--enkki-primary);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    padding: 20px;
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s ease-out, opacity 0.4s ease-out, visibility 0.4s;
}

.rgpd-banner.rgpd-banner-visible {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.rgpd-banner-content {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.rgpd-banner-text {
    flex: 1;
    min-width: 250px;
}

.rgpd-banner-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
}

.rgpd-banner-message {
    font-size: 14px;
    color: var(--gray-700);
    line-height: 1.6;
    margin: 0;
}

.rgpd-banner-link {
    color: var(--enkki-primary);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.rgpd-banner-link:hover {
    color: var(--enkki-secondary);
}

.rgpd-banner-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.rgpd-btn-accept,
.rgpd-btn-refuse {
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.rgpd-btn-accept {
    background: var(--enkki-primary);
    color: var(--white);
    border: 2px solid var(--enkki-primary);
}

.rgpd-btn-accept:hover {
    background: #2563eb;
    border-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.rgpd-btn-refuse {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--gray-600);
}

.rgpd-btn-refuse:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--gray-700);
}

/* Responsive bannière RGPD */
@media (max-width: 768px) {
    .rgpd-banner {
        padding: 16px;
    }

    .rgpd-banner-content {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .rgpd-banner-text {
        min-width: 100%;
    }

    .rgpd-banner-title {
        font-size: 16px;
    }

    .rgpd-banner-message {
        font-size: 13px;
    }

    .rgpd-banner-actions {
        flex-direction: column;
        width: 100%;
    }

    .rgpd-btn-accept,
    .rgpd-btn-refuse {
        width: 100%;
        padding: 14px 24px;
    }
}

/* ============================================
   PAGE MENTIONS LÉGALES
   ============================================ */

.mentions-content {
    max-width: 900px;
    margin: 0 auto;
}

.mentions-content .card {
    scroll-margin-top: 120px;
}

.mentions-content h3 {
    color: var(--enkki-primary);
    border-bottom: 2px solid var(--enkki-primary);
    padding-bottom: 8px;
}

.mentions-content h4 {
    color: var(--white);
    margin-top: 24px;
    margin-bottom: 12px;
}

.mentions-content h5 {
    color: var(--gray-700);
    margin-top: 16px;
    margin-bottom: 8px;
}

.mentions-content p {
    line-height: 1.8;
    color: var(--gray-700);
}

.mentions-content ul {
    list-style: disc;
    margin-left: 24px;
    margin-top: 8px;
    margin-bottom: 16px;
    color: var(--gray-700);
}

.mentions-content li {
    line-height: 1.8;
    margin-bottom: 8px;
}

.mentions-content a {
    color: var(--enkki-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.mentions-content a:hover {
    color: var(--enkki-secondary);
    text-decoration: underline;
}

/* Responsive mentions légales */
@media (max-width: 768px) {
    .mentions-content .card {
        padding: 16px;
    }

    .mentions-content h3 {
        font-size: 18px;
    }

    .mentions-content h4 {
        font-size: 16px;
    }

    .mentions-content h5 {
        font-size: 14px;
    }
}

