/* Import/Export Québec - Style CSS Principal */
/* Design minimaliste inspiré Apple avec tons terreux naturels */
/* Optimisé avec animations professionnelles et effets visuels avancés */

:root {
    /* Palette Ultra Professionnelle Épurée */
    --primary-color: #0a1628;      /* Bleu nuit ultra profond */
    --secondary-color: #1a2f4a;    /* Bleu nuit moyen */
    --accent-color: #2a4565;       /* Bleu sophistiqué */
    --highlight-color: #c9a868;    /* Or élégant */
    --text-dark: #0a1628;
    --text-medium: #4b5563;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #FFFFFF;
    --border-light: #e5e7eb;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0a1628 0%, #1a2f4a 100%);
    --gradient-accent: linear-gradient(135deg, #1a2f4a 0%, #2a4565 100%);
    --gradient-highlight: linear-gradient(135deg, #c9a868 0%, #b89858 100%);
    --gradient-overlay: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 100%);
    
    /* Shadows Subtiles */
    --shadow-sm: 0 1px 3px rgba(10, 22, 40, 0.05);
    --shadow-md: 0 4px 12px rgba(10, 22, 40, 0.08);
    --shadow-lg: 0 10px 30px rgba(10, 22, 40, 0.12);
    --shadow-xl: 0 20px 50px rgba(10, 22, 40, 0.15);
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

*::before,
*::after {
    box-sizing: inherit;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    font-weight: 400;
    background: #FFFFFF;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
}

/* =============================================
   PRELOADER PREMIUM avec Logo Import/Export Québec
   Animation élégante et professionnelle
   ============================================= */

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

/* Container pour logo et animation */
.preloader-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

/* Logo Import/Export Québec central */
.preloader-logo {
    width: 280px;
    height: 280px;
    background-image: url('https://page.gensparksite.com/v1/base64_upload/6d2a8805e2522bdfc3fadcc4996c1939');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    animation: logoEntrance 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards,
               logoPulse 2s ease-in-out 1.2s infinite;
    opacity: 0;
    transform: scale(0.3) rotate(-180deg);
    filter: drop-shadow(0 10px 30px rgba(10, 22, 40, 0.15));
}

/* Animation d'entrée du logo */
@keyframes logoEntrance {
    0% {
        opacity: 0;
        transform: scale(0.3) rotate(-180deg);
    }
    70% {
        transform: scale(1.05) rotate(10deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

/* Animation pulse continue */
@keyframes logoPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 10px 30px rgba(10, 22, 40, 0.15));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 15px 40px rgba(10, 22, 40, 0.2));
    }
}

/* Cercles animés autour du logo */
.preloader-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 350px;
}

.preloader-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-radius: 50%;
    animation: ringRotate 3s linear infinite;
}

.preloader-ring:nth-child(1) {
    border-top-color: #1a2f4a;
    border-right-color: #1a2f4a;
    animation-duration: 2s;
}

.preloader-ring:nth-child(2) {
    border-bottom-color: #6B8CAE;
    border-left-color: #6B8CAE;
    animation-duration: 3s;
    animation-direction: reverse;
}

.preloader-ring:nth-child(3) {
    border-top-color: #c9a868;
    animation-duration: 2.5s;
    width: 90%;
    height: 90%;
    top: 5%;
    left: 5%;
}

@keyframes ringRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Texte de chargement */
.preloader-text {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--primary-color);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: textFade 1.5s ease-in-out infinite;
    margin-top: 1rem;
}

@keyframes textFade {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

/* Barre de progression */
.preloader-progress {
    width: 280px;
    height: 3px;
    background: rgba(10, 22, 40, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 1.5rem;
}

.preloader-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #1a2f4a 0%, #6B8CAE 50%, #1a2f4a 100%);
    background-size: 200% 100%;
    animation: progressMove 1.5s ease-in-out infinite;
    border-radius: 3px;
}

@keyframes progressMove {
    0% {
        width: 0%;
        background-position: 0% 0%;
    }
    50% {
        width: 70%;
        background-position: 100% 0%;
    }
    100% {
        width: 100%;
        background-position: 0% 0%;
    }
}

/* Responsive preloader */
@media (max-width: 768px) {
    .preloader-logo {
        width: 200px;
        height: 200px;
    }
    
    .preloader-rings {
        width: 250px;
        height: 250px;
    }
    
    .preloader-text {
        font-size: 1rem;
    }
    
    .preloader-progress {
        width: 200px;
    }
}

@media (max-width: 480px) {
    .preloader-logo {
        width: 160px;
        height: 160px;
    }
    
    .preloader-rings {
        width: 200px;
        height: 200px;
    }
    
    .preloader-text {
        font-size: 0.9rem;
    }
    
    .preloader-progress {
        width: 160px;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Header Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    z-index: 1000;
    padding: 1.5rem 2rem;
    box-shadow: 0 4px 20px rgba(10, 22, 40, 0.08),
                0 0 40px rgba(201, 168, 104, 0.05);
    transition: all var(--transition-base), transform 0.3s ease;
    transform: translateY(0);
    border-bottom: 1px solid rgba(26, 43, 74, 0.1);
}

header.scrolled {
    box-shadow: 0 6px 30px rgba(10, 22, 40, 0.12),
                0 0 50px rgba(201, 168, 104, 0.08);
    padding: 1rem 2rem;
}

header.hide {
    transform: translateY(-100%);
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease;
}

header.scrolled::before {
    transform: scaleX(1);
}

/* Logo avec texte - Animations améliorées */
.logo-container {
    display: flex;
    align-items: center;
    gap: 2rem;
    text-decoration: none;
    perspective: 1200px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-container:hover {
    transform: scale(1.02);
}

.logo {
    height: 95px;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2))
            drop-shadow(0 8px 16px rgba(0, 0, 0, 0.15))
            drop-shadow(0 0 20px rgba(201, 168, 104, 0.1));
    animation: logoFloat 5s ease-in-out infinite, 
               logoGlow 4s ease-in-out infinite,
               logoPulse 3s ease-in-out infinite;
    transform-style: preserve-3d;
    will-change: transform, filter;
}

.logo-container:hover .logo {
    transform: scale(1.12) rotateY(8deg) rotateZ(-2deg);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3))
            drop-shadow(0 16px 32px rgba(0, 0, 0, 0.25))
            drop-shadow(0 0 40px rgba(201, 168, 104, 0.3));
    animation-play-state: paused;
}

.logo-text {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--primary-color);
    white-space: nowrap;
    letter-spacing: -0.02em;
    text-shadow: 
        2px 2px 4px rgba(10, 22, 40, 0.15),
        4px 4px 8px rgba(10, 22, 40, 0.1),
        0 0 20px rgba(10, 22, 40, 0.05);
    animation: textFloat 5s ease-in-out infinite, 
               textShine 6s ease-in-out infinite,
               textGlow 3.5s ease-in-out infinite;
    background: linear-gradient(135deg, 
        var(--primary-color) 0%, 
        var(--secondary-color) 25%,
        var(--accent-color) 50%, 
        var(--secondary-color) 75%,
        var(--primary-color) 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, text-shadow;
}

.logo-container:hover .logo-text {
    transform: translateX(5px) scale(1.03);
    text-shadow: 
        3px 3px 6px rgba(10, 22, 40, 0.2),
        6px 6px 12px rgba(10, 22, 40, 0.15),
        0 0 30px rgba(201, 168, 104, 0.3),
        0 0 50px rgba(201, 168, 104, 0.2);
}

/* Animation float pour le logo - Améliorée */
@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px) rotateY(0deg) rotateZ(0deg);
    }
    20% {
        transform: translateY(-6px) rotateY(4deg) rotateZ(1deg);
    }
    40% {
        transform: translateY(-10px) rotateY(2deg) rotateZ(-1deg);
    }
    60% {
        transform: translateY(-6px) rotateY(-2deg) rotateZ(1deg);
    }
    80% {
        transform: translateY(-3px) rotateY(-4deg) rotateZ(-1deg);
    }
}

/* Animation glow pour le logo - Améliorée */
@keyframes logoGlow {
    0%, 100% {
        filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2))
                drop-shadow(0 8px 16px rgba(0, 0, 0, 0.15))
                drop-shadow(0 0 20px rgba(201, 168, 104, 0.1));
    }
    33% {
        filter: drop-shadow(0 6px 12px rgba(10, 22, 40, 0.25))
                drop-shadow(0 12px 24px rgba(201, 168, 104, 0.2))
                drop-shadow(0 0 35px rgba(201, 168, 104, 0.25));
    }
    66% {
        filter: drop-shadow(0 5px 10px rgba(10, 22, 40, 0.22))
                drop-shadow(0 10px 20px rgba(201, 168, 104, 0.18))
                drop-shadow(0 0 40px rgba(201, 168, 104, 0.3));
    }
}

/* Nouvelle animation pulse pour le logo */
@keyframes logoPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
}

/* Animation float pour le texte - Améliorée */
@keyframes textFloat {
    0%, 100% {
        transform: translateY(0px) translateZ(0) scale(1);
    }
    20% {
        transform: translateY(-4px) translateZ(8px) scale(1.01);
    }
    40% {
        transform: translateY(-8px) translateZ(15px) scale(1.02);
    }
    60% {
        transform: translateY(-5px) translateZ(10px) scale(1.01);
    }
    80% {
        transform: translateY(-2px) translateZ(5px) scale(1.005);
    }
}

/* Animation shine pour le texte - Améliorée */
@keyframes textShine {
    0% {
        background-position: 0% 50%;
    }
    25% {
        background-position: 50% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    75% {
        background-position: 50% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Nouvelle animation glow pour le texte */
@keyframes textGlow {
    0%, 100% {
        text-shadow: 
            2px 2px 4px rgba(10, 22, 40, 0.15),
            4px 4px 8px rgba(10, 22, 40, 0.1),
            0 0 20px rgba(10, 22, 40, 0.05);
    }
    50% {
        text-shadow: 
            2px 2px 4px rgba(10, 22, 40, 0.2),
            4px 4px 8px rgba(10, 22, 40, 0.15),
            0 0 30px rgba(201, 168, 104, 0.2),
            0 0 50px rgba(201, 168, 104, 0.1);
    }
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.catalogue-link {
    background: linear-gradient(135deg, #E8A55C 0%, #D4935A 100%);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    color: white !important;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(232, 165, 92, 0.3);
}

.catalogue-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(232, 165, 92, 0.5);
    background: linear-gradient(135deg, #D4935A 0%, #E8A55C 100%);
}

.catalogue-link::after {
    display: none !important;
}

.lang-toggle {
    background: var(--bg-light);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.lang-toggle:hover {
    background: var(--primary-color);
    color: white;
}

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

.mobile-menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

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

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

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

/* Main Content */
main {
    margin-top: 0;
    min-height: calc(100vh - 80px);
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

/* Sections */
section {
    padding: 3rem 2rem;
    position: relative;
    clear: both;
    margin-bottom: 0;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all var(--transition-base);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-accent);
    z-index: -1;
    transition: opacity var(--transition-base);
    opacity: 0;
}

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

.btn:hover::before {
    opacity: 1;
}

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

.btn:active::after {
    width: 300px;
    height: 300px;
    transition: width 0s, height 0s;
}

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

.btn-secondary::before {
    background: var(--primary-color);
}

.btn-secondary:hover {
    color: white;
    border-color: var(--primary-color);
}

/* Floating Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.btn-float {
    animation: float 3s ease-in-out infinite;
}

/* Cards */
.card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.card:hover::before {
    left: 100%;
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-primary);
    border-radius: 16px;
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.card:hover::after {
    opacity: 0.1;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

table thead {
    background: var(--primary-color);
    color: white;
}

table th,
table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

table tbody tr:hover {
    background: var(--bg-light);
}

/* Technical Specification Page Styles */
.tech-header {
    background: linear-gradient(135deg, #0a1628 0%, #1a2f4a 50%, #0f1e33 100%);
    color: white;
    padding: 10rem 2rem 6rem;
    text-align: center;
    margin-top: 0;
    position: relative;
    overflow: hidden;
    min-height: 450px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 100%;
}

/* Overlay gradient luxueux */
.tech-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 40%, rgba(201, 168, 104, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(107, 140, 174, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, transparent 0%, rgba(10, 22, 40, 0.4) 100%);
    z-index: 1;
}

/* Particules décoratives */
.tech-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(201, 168, 104, 0.4) 1px, transparent 1px),
        radial-gradient(circle at 80% 20%, rgba(201, 168, 104, 0.3) 1px, transparent 1px),
        radial-gradient(circle at 40% 30%, rgba(255, 255, 255, 0.3) 1px, transparent 1px),
        radial-gradient(circle at 60% 70%, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
    background-size: 50px 50px, 80px 80px, 60px 60px, 90px 90px;
    opacity: 0.4;
    z-index: 2;
}

.tech-header > * {
    position: relative;
    z-index: 10;
}

.tech-header h1 {
    font-size: 3.2rem;
    margin-bottom: 2rem;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    font-weight: 300;
    max-width: 900px;
    line-height: 1.25;
    letter-spacing: -0.01em;
    word-wrap: break-word;
    opacity: 0;
    animation: slideInUp 1s ease 0.2s forwards;
}

.tech-header .subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
    font-weight: 300;
    max-width: 750px;
    line-height: 1.7;
    letter-spacing: 0.02em;
    word-wrap: break-word;
    color: rgba(255, 255, 255, 0.9);
    opacity: 0;
    animation: slideInUp 1s ease 0.4s forwards;
}

/* Animation slide in */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tech-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem 6rem;
    position: relative;
    z-index: 10;
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
}

.tech-section {
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    border-radius: 16px;
    padding: 3.5rem;
    margin-bottom: 3rem;
    box-shadow: 0 4px 20px rgba(10, 22, 40, 0.06);
    border: 1px solid rgba(26, 47, 74, 0.08);
    position: relative;
    z-index: 5;
    overflow: visible;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tech-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #1a2f4a 0%, #6B8CAE 50%, #c9a868 100%);
    border-radius: 16px 16px 0 0;
}

.tech-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(10, 22, 40, 0.12), 0 0 30px rgba(201, 168, 104, 0.08);
}

.tech-section h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-weight: 600;
    background: linear-gradient(135deg, #1a2f4a 0%, #2a4565 50%, #1a2f4a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    position: relative;
    padding-bottom: 1rem;
}

.tech-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #c9a868, transparent);
    border-radius: 2px;
}

.product-image {
    width: 100%;
    max-width: 600px;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    margin: 2rem auto;
    display: block;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.info-item {
    padding: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    border-radius: 12px;
    border: 1px solid rgba(26, 47, 74, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 12px rgba(26, 43, 74, 0.06);
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.info-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #1a2f4a 0%, #6B8CAE 50%, #c9a868 100%);
}

.info-item:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 8px 30px rgba(26, 43, 74, 0.12), 0 0 25px rgba(201, 168, 104, 0.1);
    border-color: rgba(201, 168, 104, 0.3);
}

.info-item strong {
    color: #1a2f4a;
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    font-size: 1.1rem;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
}

.info-item p {
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 0;
    font-size: 0.95rem;
}

.nutritional-table {
    margin: 2rem 0;
}

.nutritional-table th {
    background: var(--gradient-primary);
    color: white;
}

.process-steps {
    list-style: none;
    counter-reset: step-counter;
}

.process-steps li {
    counter-increment: step-counter;
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
    position: relative;
    padding-left: 5rem;
}

.process-steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.allergen-badge {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: #FFF3CD;
    border: 2px solid #FFC107;
    border-radius: 20px;
    font-weight: 600;
    margin: 0.5rem;
    color: #856404;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.2);
}

.certification-badge {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: #D4EDDA;
    border: 2px solid #28A745;
    border-radius: 20px;
    font-weight: 600;
    margin: 0.5rem;
    color: #155724;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.2);
}

.cta-section {
    background: linear-gradient(135deg, #1A2B4A 0%, #3A5A7A 50%, #6B8CAE 100%);
    color: white;
    padding: 5rem 2rem;
    border-radius: 12px;
    text-align: center;
    margin: 4rem 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(26, 43, 74, 0.15);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    opacity: 1;
}

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

.cta-section h2 {
    color: white;
    margin-bottom: 2rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    font-weight: 700;
    font-size: 2.5rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.cta-buttons .btn:hover {
    background: var(--accent-color);
    color: white;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
}

/* Footer */
footer {
    background: var(--primary-color);
    color: white;
    padding: 4rem 2rem 2rem;
    margin-top: 4rem;
    position: relative;
    z-index: 10;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--highlight-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section p,
.footer-section a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    display: block;
    margin-bottom: 0.7rem;
    line-height: 1.6;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.75);
}

/* Responsive */
@media (max-width: 968px) {
    .container {
        padding: 1rem;
    }
    
    .info-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    /* Typography optimisée mobile */
    h1 { font-size: 2.2rem; line-height: 1.2; font-weight: 600; }
    h2 { font-size: 1.9rem; line-height: 1.3; font-weight: 600; }
    h3 { font-size: 1.4rem; line-height: 1.4; font-weight: 600; }
    
    /* Header mobile optimisé */
    header {
        padding: 1rem 1.25rem;
        box-shadow: 0 2px 15px rgba(10, 22, 40, 0.1);
    }
    
    /* Show mobile menu toggle */
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Mobile Slide-in Menu - Amélioré */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85vw;
        max-width: 320px;
        height: 100vh;
        background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
        flex-direction: column;
        padding: 6rem 2rem 2rem;
        gap: 0;
        box-shadow: -8px 0 30px rgba(0, 0, 0, 0.15);
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        width: 100%;
        border-bottom: 1px solid var(--border-light);
    }
    
    .nav-links li:last-child {
        border-bottom: none;
        margin-top: 1rem;
    }
    
    .nav-links a {
        display: block;
        padding: 1.2rem 1rem;
        color: var(--text-dark);
        font-size: 1.15rem;
        font-weight: 500;
        transition: all var(--transition-fast);
        border-radius: 8px;
        margin: 0.25rem 0;
    }
    
    .nav-links a::after {
        display: none;
    }
    
    .nav-links a:hover,
    .nav-links a:active {
        color: white;
        background: var(--primary-color);
        padding-left: 1.5rem;
        box-shadow: 0 4px 12px rgba(10, 22, 40, 0.15);
    }
    
    .lang-toggle {
        width: 100%;
        margin-top: 1rem;
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }
    
    /* Mobile menu overlay - Amélioré */
    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
        z-index: 999;
        opacity: 0;
        transition: opacity 0.35s ease;
    }
    
    .nav-overlay.active {
        display: block;
        opacity: 1;
    }
    
    nav {
        justify-content: space-between;
    }
    
    /* Logo mobile plus grand et texte optimisé */
    .logo {
        height: 55px;
        animation: none; /* Désactive animations complexes sur mobile */
    }
    
    .logo-text {
        font-size: 1.3rem;
        animation: none; /* Désactive animations complexes sur mobile */
    }
    
    .logo-container {
        gap: 1rem;
    }
    
    .tech-header {
        padding: 7rem 1.5rem 4rem;
        min-height: 350px;
    }
    
    .tech-header h1 {
        font-size: 1.9rem;
        padding: 0;
        line-height: 1.3;
        max-width: 100%;
        margin-bottom: 1.5rem;
    }
    
    .tech-header .subtitle {
        font-size: 1.05rem;
        padding: 0;
        line-height: 1.65;
        max-width: 100%;
    }
    
    .tech-section {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    section {
        padding: 2.5rem 1.25rem;
        margin-bottom: 0;
    }
    
    /* Espacement optimisé pour mobile */
    .features,
    .products-preview,
    .values,
    .cta-section-home {
        padding: 2.5rem 1.25rem;
    }
    
    .product-image {
        max-width: 100%;
        height: 300px;
        margin: 1.5rem auto;
    }
    
    .process-steps li {
        padding: 1.5rem 1rem 1.5rem 4.5rem;
    }
    
    .process-steps li::before {
        left: 1rem;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    /* Mobile specific adjustments */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
        border-radius: 12px;
    }
    
    .feature-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .cta-section {
        padding: 2.5rem 1.5rem;
    }
    
    .cta-section h2 {
        font-size: 1.9rem;
        line-height: 1.3;
    }
    
    .cta-section p {
        font-size: 1.05rem;
        line-height: 1.7;
    }
    
    table {
        font-size: 0.85rem;
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    table thead th,
    table tbody td {
        padding: 0.75rem 0.5rem;
        min-width: 100px;
    }
    
    .card {
        padding: 1.5rem;
        border-radius: 12px;
    }
    
    /* Zones tactiles optimisées - Minimum 44px */
    .btn,
    button,
    a.btn,
    .mobile-menu-toggle {
        min-height: 44px;
        min-width: 44px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(10, 22, 40, 0.1);
    }
    
    /* Feedback tactile pour tous les éléments interactifs */
    .btn:active,
    button:active,
    a.btn:active,
    .product-card:active,
    .feature-card:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Hero mobile optimization - Amélioré */
    .hero-content {
        padding: 2rem 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
        margin-bottom: 1.2rem;
        letter-spacing: -0.01em;
    }
    
    .hero-content .tagline {
        font-size: 1.1rem;
        margin-bottom: 1.2rem;
    }
    
    .hero-content p {
        font-size: 1.05rem;
        line-height: 1.7;
        margin-bottom: 2rem;
    }
    
    /* Hero CTA mobile - Boutons empilés avec espacement optimisé */
    .hero-cta {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        padding: 0 1rem;
    }
    
    .hero-cta .btn {
        width: 100%;
        padding: 1.1rem 2rem;
        font-size: 1rem;
        /* Animations réduites sur mobile */
        animation: none;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
    
    .hero-cta .btn:active {
        transform: scale(0.97);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }
}

/* Tr\u00e8s petits \u00e9crans (320px - 480px) */
@media (max-width: 480px) {
    /* Typography tr\u00e8s petits \u00e9crans */
    h1 { font-size: 1.9rem; }
    h2 { font-size: 1.7rem; }
    h3 { font-size: 1.3rem; }
    
    /* Logo encore plus compact */
    .logo {
        height: 48px;
    }
    
    .logo-text {
        font-size: 1.1rem;
    }
    
    /* Hero ultra compact */
    .hero-content h1 {
        font-size: 1.9rem;
    }
    
    .hero-content .tagline {
        font-size: 1rem;
    }
    
    .hero-content p {
        font-size: 0.95rem;
    }
    
    /* Boutons compacts */
    .hero-cta .btn {
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
    }
    
    /* Sections ultra compactes */
    section {
        padding: 2rem 1rem;
    }
    
    .feature-card {
        padding: 1.5rem 1.25rem;
    }
    
    /* Menu mobile full width sur petits \u00e9crans */
    .nav-links {
        width: 90vw;
    }
}

/* Tablet Optimization (768px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        max-width: 960px;
    }
    
    .features-grid,
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .tech-header h1 {
        font-size: 3rem;
    }
    
    .tech-section {
        padding: 2.5rem;
    }
    
    section {
        padding: 4.5rem 2rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    table {
        font-size: 0.95rem;
    }
}

/* Advanced Animations */
@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(0.95);
    }
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes borderRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Animation Classes */
.animate-fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.animate-slide-up {
    animation: slideInUp 0.8s ease forwards;
}

.animate-slide-left {
    animation: slideInLeft 0.8s ease forwards;
}

.animate-slide-right {
    animation: slideInRight 0.8s ease forwards;
}

.animate-scale-in {
    animation: scaleIn 0.6s ease forwards;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* Stagger Animation Delays */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }
.stagger-6 { animation-delay: 0.6s; }

/* Scroll Reveal - CORRECTION: Affichage par défaut, animation optionnelle */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
}

.reveal.animate-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.animate-on-scroll {
    opacity: 0;
    transform: translateX(-40px);
}

.reveal-left.animate-on-scroll.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.animate-on-scroll {
    opacity: 0;
    transform: translateX(40px);
}

.reveal-right.animate-on-scroll.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 1;
    transform: scale(1);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.animate-on-scroll {
    opacity: 0;
    transform: scale(0.9);
}

.reveal-scale.animate-on-scroll.active {
    opacity: 1;
    transform: scale(1);
}

/* Particle Background - HIDDEN (remplacé par texture 3D) */
.particles-bg {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(107, 140, 174, 0.15);
    animation: float-particle 20s infinite ease-in-out;
}

@keyframes float-particle {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    25% {
        transform: translateY(-30px) translateX(30px);
    }
    50% {
        transform: translateY(-60px) translateX(-30px);
    }
    75% {
        transform: translateY(-30px) translateX(30px);
    }
}

.particle:nth-child(1) { width: 80px; height: 80px; left: 10%; top: 20%; animation-duration: 18s; }
.particle:nth-child(2) { width: 60px; height: 60px; left: 70%; top: 40%; animation-duration: 22s; animation-delay: -5s; }
.particle:nth-child(3) { width: 100px; height: 100px; left: 40%; top: 60%; animation-duration: 25s; animation-delay: -10s; }
.particle:nth-child(4) { width: 50px; height: 50px; left: 80%; top: 80%; animation-duration: 20s; animation-delay: -15s; }
.particle:nth-child(5) { width: 70px; height: 70px; left: 20%; top: 70%; animation-duration: 23s; animation-delay: -8s; }

/* Gradient Text */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

/* Glassmorphism Effect */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Section Title */
.section-title {
    text-align: center;
    font-size: 2.75rem;
    margin-bottom: 2.5rem;
    color: var(--primary-color);
    font-weight: 300;
    letter-spacing: -0.02em;
    line-height: 1.2;
    position: relative;
    padding-bottom: 0;
}

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

/* Lists Styles */
ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

ul li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Product Highlights List */
.product-highlights {
    list-style: none;
    margin: 2rem 0;
    padding: 0;
}

.product-highlights li {
    padding: 1rem 0;
    color: var(--text-dark);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    line-height: 1.7;
    border-bottom: 1px solid var(--border-light);
}

.product-highlights li:last-child {
    border-bottom: none;
}

.product-highlights li::before {
    content: '✓';
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(58, 90, 122, 0.1);
    border-radius: 50%;
}

/* Utility Classes */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.position-relative { position: relative; }
.overflow-hidden { overflow: hidden; }

/* ===============================================
   AMÉLIORATIONS PROFESSIONNELLES AVANCÉES
   Effets visuels modernes et animations fluides
   =============================================== */

/* Smooth Page Transition Effect */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    z-index: 10000;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.page-transition.active {
    opacity: 1;
}

/* Enhanced Card Hover Effects (3D Transform) */
.card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    border-radius: 16px;
    transition: opacity var(--transition-base);
    z-index: -1;
}

.card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.4;
}

.card p {
    color: var(--text-dark);
    line-height: 1.7;
}

.card:hover {
    transform: translateY(-8px) rotateX(2deg);
    box-shadow: var(--shadow-xl);
}

.card:hover::before {
    opacity: 0.05;
}

/* Smooth Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    z-index: 9998;
    transition: width 0.1s ease;
}

/* Enhanced Button Ripple Effect */
.btn-ripple {
    position: relative;
    overflow: hidden;
}

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

.btn-ripple:active::after {
    width: 300px;
    height: 300px;
}

/* Floating Animation for Hero Elements */
@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(1deg);
    }
    50% {
        transform: translateY(-20px) rotate(-1deg);
    }
    75% {
        transform: translateY(-10px) rotate(1deg);
    }
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

/* Magnetic Card Effect */
.magnetic-card {
    transition: transform 0.2s ease-out;
}

.magnetic-card:hover {
    transform: scale(1.05);
}

/* Text Reveal Animation */
@keyframes textReveal {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.text-reveal {
    opacity: 0;
    animation: textReveal 0.8s ease forwards;
}

.text-reveal.delay-1 { animation-delay: 0.2s; }
.text-reveal.delay-2 { animation-delay: 0.4s; }
.text-reveal.delay-3 { animation-delay: 0.6s; }

/* Gradient Border Animation */
@keyframes gradientBorderRotate {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.gradient-border {
    position: relative;
    border-radius: 16px;
    padding: 3px;
    background: linear-gradient(45deg, #1A2B4A, #3A5A7A, #6B8CAE, #1A2B4A);
    background-size: 300% 300%;
    animation: gradientBorderRotate 4s ease infinite;
}

.gradient-border-inner {
    background: white;
    border-radius: 14px;
    padding: 2rem;
}

/* Backdrop Blur Section */
.blur-section {
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Parallax Background Effect */
.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.parallax-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

/* Smooth Image Loading */
.image-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.image-container img {
    transition: transform 0.5s ease, filter 0.5s ease;
    filter: blur(10px);
    opacity: 0;
}

.image-container img.loaded {
    filter: blur(0);
    opacity: 1;
}

.image-container:hover img {
    transform: scale(1.08);
}

/* Text Gradient Shimmer Effect */
.text-shimmer {
    background: linear-gradient(90deg, #1A2B4A, #3A5A7A, #6B8CAE, #3A5A7A, #1A2B4A);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

/* Counter Animation */
.counter {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    display: block;
}

/* Tooltip Styles */
.tooltip {
    position: relative;
    cursor: help;
}

.tooltip::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%) scale(0);
    background: var(--text-dark);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-base);
    z-index: 1000;
}

.tooltip::after {
    content: '';
    position: absolute;
    bottom: 115%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--text-dark);
    opacity: 0;
    transition: all var(--transition-base);
}

.tooltip:hover::before,
.tooltip:hover::after {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

/* Enhanced Table Styles */
table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

table thead {
    background: var(--gradient-primary);
}

table thead th {
    padding: 1.25rem;
    text-align: left;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
}

table tbody tr {
    background: white;
    transition: all var(--transition-fast);
}

table tbody tr:nth-child(even) {
    background: var(--bg-light);
}

table tbody tr:hover {
    background: rgba(139, 111, 71, 0.05);
    transform: scale(1.01);
    box-shadow: 0 2px 8px rgba(139, 111, 71, 0.1);
}

table tbody td {
    padding: 1.25rem;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-dark);
}

table tbody tr:last-child td {
    border-bottom: none;
}

/* Loading Skeleton Animation */
@keyframes skeleton-loading {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: 4px;
}

/* Glow Effect on Hover */
.glow-on-hover {
    position: relative;
    transition: all var(--transition-base);
}

.glow-on-hover:hover {
    box-shadow: 0 0 20px rgba(139, 111, 71, 0.4),
                0 0 40px rgba(139, 111, 71, 0.2),
                0 0 60px rgba(139, 111, 71, 0.1);
}

/* Badge Styles */
.badge {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-primary {
    background: var(--gradient-primary);
    color: white;
}

.badge-success {
    background: linear-gradient(135deg, #28A745 0%, #20C997 100%);
    color: white;
}

.badge-info {
    background: linear-gradient(135deg, #17A2B8 0%, #138496 100%);
    color: white;
}

/* Subtle Hover Lift Effect */
.lift-on-hover {
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.lift-on-hover:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Icon Pulse Animation */
@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.icon-pulse {
    animation: iconPulse 2s ease-in-out infinite;
}

/* Fade Scale Animation for Modals */
@keyframes fadeScaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.fade-scale-in {
    animation: fadeScaleIn 0.3s ease forwards;
}

/* Enhanced Focus States for Accessibility */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

/* Smooth Color Transitions */
* {
    color-interpolation-filters: sRGB;
}

/* Performance Optimizations */
.gpu-accelerated {
    transform: translate3d(0, 0, 0);
    will-change: transform;
}

/* Responsive Enhancements */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* =============================================
   OPTIMISATIONS MOBILE AVANC\u00c9ES
   Performance et exp\u00e9rience tactile
   ============================================= */

/* D\u00e9sactiver animations complexes sur mobile */
@media (max-width: 768px) {
    /* D\u00e9sactiver animations float et glow sur mobile */
    .logo,
    .logo-text,
    .hero-cta .btn {
        animation: none !important;
    }
    
    /* Garder seulement les transitions simples */
    .logo:active {
        transform: scale(0.95);
        transition: transform 0.1s ease;
    }
    
    /* Particules d\u00e9sactiv\u00e9es sur mobile */
    .particles-bg,
    .particle {
        display: none !important;
    }
    
    /* Simplifier hover effects sur tactile */
    .card:hover,
    .feature-card:hover,
    .product-card:hover {
        transform: none;
    }
    
    /* Feedback tactile imm\u00e9diat */
    .card:active,
    .feature-card:active,
    .product-card:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
}

/* Optimisation images mobile */
@media (max-width: 768px) {
    img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
    
    .product-image,
    .product-preview-card img,
    .product-image-container img {
        height: auto;
        max-height: 250px;
        object-fit: cover;
    }
    
    /* Hero background optimis\u00e9 */
    .hero::before {
        opacity: 0.05;
    }
    
    /* R\u00e9duire ombres complexes sur mobile */
    .card,
    .feature-card,
    .product-card {
        box-shadow: 0 2px 8px rgba(10, 22, 40, 0.08);
    }
}

/* Améliorations interactivité tactile */
@media (max-width: 768px) {
    /* Zone de touch \u00e9tendue pour les liens */
    nav a,
    .nav-links a {
        padding: 1.2rem 1rem;
        margin: 0.2rem 0;
    }
    
    /* Bouton hamburger plus grand */
    .mobile-menu-toggle {
        width: 48px;
        height: 48px;
        padding: 12px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1001;
    }
    
    .mobile-menu-toggle span {
        width: 100%;
        height: 3px;
        background: var(--primary-color);
        border-radius: 3px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    /* Animation hamburger vers X */
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translateY(12px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-20px);
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translateY(-12px);
    }
    
    /* Scroll smooth optimis\u00e9 mobile */
    html {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Suppression des d\u00e9lais de click sur iOS */
    a, button, input, textarea, select {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    
    /* Input et form optimis\u00e9s */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea {
        font-size: 16px; /* Emp\u00eache le zoom automatique sur iOS */
        padding: 1rem;
        border-radius: 8px;
    }
}

/* Mode paysage mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 3rem 0;
    }
    
    .hero-content {
        padding: 2rem 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    section {
        padding: 2rem 1.25rem;
    }
}

/* Print Styles */
@media print {
    header, footer, .btn, .preloader {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .tech-section {
        page-break-inside: avoid;
    }
}
