/* ===== Variables CSS ===== */
:root {
    --primary-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --secondary-gradient: linear-gradient(135deg, #14b8a6 0%, #0891b2 100%);
    --dark-gradient: linear-gradient(135deg, #111827 0%, #000000 100%);
    --glow-color: rgba(16, 185, 129, 0.6);
    --text-gradient: linear-gradient(90deg, #10b981, #14b8a6, #0891b2, #10b981);
    --animation-duration: 0.8s;
    --elastic: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Variables pour le système de cookies */
    --z-modal: 1000;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --line-height-relaxed: 1.625;
    --primary-black: #111827;
    --text-gray: #6b7280;
    --light-gray: #f3f4f6;
    --border-gray: #e5e7eb;
    --accent-green: #10b981;
    --accent-blue: #3b82f6;
    --gradient-primary: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-green: 0 4px 14px 0 rgba(16, 185, 129, 0.39);
    --shadow-green-hover: 0 6px 20px 0 rgba(16, 185, 129, 0.5);
    --shadow-blue: 0 4px 14px 0 rgba(59, 130, 246, 0.39);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
}

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

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    background: #ffffff;
    position: relative;
}

/* ===== Animations Keyframes ===== */
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(2deg); }
    66% { transform: translateY(10px) rotate(-2deg); }
}


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

@keyframes sparkle {
    0% { transform: scale(0) rotate(0deg); opacity: 0; }
    50% { transform: scale(1) rotate(180deg); opacity: 1; }
    100% { transform: scale(0) rotate(360deg); opacity: 0; }
}

@keyframes wave {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes morph {
    0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
}

@keyframes text-reveal {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
        filter: blur(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* ===== Background Animations ===== */
.bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: morph 20s ease-in-out infinite;
    z-index: 0;
}

/* Ensure content sections are above background blobs */
body > section,
section:not(.hero-section) {
    position: relative;
    z-index: 1;
}

/* Allow blobs to be visible through section backgrounds */
section.bg-gray-50 {
    background-color: rgba(249, 250, 251, 0.9);
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #10b981, #14b8a6);
    top: -250px;
    left: -250px;
    animation-duration: 25s;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #14b8a6, #0891b2);
    top: 20%;
    right: -200px;
    animation-duration: 30s;
}



/* ===== Floating Shapes ===== */
.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.shape {
    position: absolute;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(20, 184, 166, 0.1));
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.shape-1 {
    width: 100px;
    height: 100px;
    top: 10%;
    left: 10%;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: float 15s ease-in-out infinite;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 10%;
    border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    animation: float 20s ease-in-out infinite reverse;
}



/* ===== Particles Effect ===== */
#particles-container {
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(16, 185, 129, 0.6);
    border-radius: 50%;
    animation: particle-float 20s linear infinite;
}

@keyframes particle-float {
    from {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    to {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}

/* ===== Header Styles ===== */
/* Réduction de la hauteur du header en mobile */
#header {
    min-height: auto;
}
#header nav.header-compact {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}
@media (max-width: 767px) {
    #header nav.header-compact {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }
    #header .logo-container {
        gap: 0.5rem;
    }
    #header .logo-box {
        width: 32px;
        height: 32px;
    }
    #header .logo-text .text-xl {
        font-size: 1rem;
    }
    #header .logo-text .text-xs {
        font-size: 0.65rem;
    }
}

.glass-effect {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.glass-effect.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

/* Keep header visible on mobile */
@media (max-width: 768px) {
    #header {
        transform: translateY(0) !important;
    }
}

/* Logo Animations */
.logo-container {
    position: relative;
}

.logo-box {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s var(--elastic);
    overflow: hidden;
}

.logo-container:hover .logo-svg {
    transform: scale(1.1) rotate(10deg);
}

.logo-svg {
    transition: transform 0.3s ease;
    /* Force GPU acceleration */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

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

@media (max-width: 768px) {
    /* Simplified logo animations for mobile */
    .logo-node {
        animation: pulse 3s ease-in-out infinite;
        animation-delay: calc(var(--i) * 0.2s);
    }
    
    .logo-line {
        stroke-dasharray: none;
        animation: none;
    }
    
    .logo-outer {
        animation: none;
        opacity: 0.8;
    }
}

@media (min-width: 769px) {
    /* Full animations on desktop */
    .logo-node {
        animation: float 3s ease-in-out infinite;
        animation-delay: calc(var(--i) * 0.2s);
    }
    
    .logo-line {
        stroke-dasharray: 20;
        stroke-dashoffset: 20;
        animation: draw 2s ease-in-out infinite alternate;
    }
    
    .logo-outer {
        animation: orbit 10s linear infinite;
        transform-origin: 24px 24px;
    }
    
    @keyframes orbit {
        from { transform: rotate(0deg); }
        to { transform: rotate(360deg); }
    }
}

/* Navigation Links */
.nav-link {
    position: relative;
    color: #4b5563;
    font-weight: 500;
    transition: all 0.3s ease;
    overflow: hidden;
    padding: 8px 16px;
    border-radius: 8px;
}

.nav-text {
    position: relative;
    z-index: 2;
}

.nav-indicator {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-link:hover .nav-indicator {
    width: 80%;
}

.nav-link:hover {
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 8px;
    margin-top: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    min-width: 280px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: 8px;
    color: #374151;
    transition: all 0.2s ease;
    text-decoration: none;
    font-size: 14px;
}

.dropdown-item:hover {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    transform: translateX(4px);
}

.dropdown-icon {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    padding: 4px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dropdown-icon-wrapper {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    padding: 4px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dropdown-item-title {
    font-weight: 500;
    font-size: 14px;
    color: #1f2937;
}

.dropdown-item-description {
    font-size: 12px;
    color: #6b7280;
}

/* CTA Button */
.cta-button {
    position: relative;
    padding: 12px 24px;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
}

.button-glow {
    position: absolute;
    inset: -2px;
    background: var(--primary-gradient);
    border-radius: 12px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
    filter: blur(10px);
}

.cta-button:hover .button-glow {
    opacity: 0.5;
}

/* Mobile Menu */
.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-20px);
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 50;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-menu-item {
    padding: 12px 20px;
    color: #374151;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mobile-menu-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--primary-gradient);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.mobile-menu-item:hover {
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    padding-left: 28px;
}

.mobile-menu-item:hover::before {
    transform: translateX(0);
}

/* ===== Hero Section ===== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    /* Fix text clipping */
    overflow: visible;
}

.hero-gradient {
    /* position: absolute; */
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(20, 184, 166, 0.1) 0%, transparent 50%);
}

/* Badge Animation */
.badge-container {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(20, 184, 166, 0.1));
    border: 1px solid rgba(16, 185, 129, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.badge-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--primary-gradient);
    border-radius: 9999px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.badge-container:hover::before {
    opacity: 0.2;
}

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

.badge-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.3) 0%, transparent 70%);
    opacity: 0;
    animation: pulse 2s ease-in-out infinite;
}

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

/* Hero Title Animation */
.hero-title {
    animation: hero-title-reveal 1.2s ease-out;
    position: relative;
    /* Fix text clipping */
    overflow: visible;
    line-height: 1.1;
}

@keyframes hero-title-reveal {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.title-line-1 {
    display: inline-block;
    animation: text-reveal 0.8s ease-out;
}

.title-line-2 {
    display: inline-block;
    background: var(--text-gradient);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: text-reveal 1s ease-out 0.2s both, gradient-shift 3s ease-in-out infinite;
    /* Force GPU acceleration for smoother animation */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    will-change: background-position;
    /* Fix text clipping */
    line-height: 1.1;
    padding-bottom: 0.1em;
    margin-bottom: -0.1em;
}

@media (max-width: 768px) {
    .title-line-2 {
        /* Optimize gradient animation for mobile */
        animation: text-reveal 1s ease-out 0.2s both, gradient-shift 4s linear infinite;
        background-size: 200% 100%;
    }
}

.hero-description {
    animation: hero-description-reveal 1s ease-out 0.3s both;
}

@keyframes hero-description-reveal {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Search Bar Super Animated */
.search-container {
    animation: search-reveal 1s ease-out 0.5s both;
}

@keyframes search-reveal {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-box {
    position: relative;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.search-glow {
    position: absolute;
    inset: -2px;
    background: var(--primary-gradient);
    border-radius: 18px;
    opacity: 0;
    transition: opacity 0.3s ease;
    filter: blur(20px);
    z-index: -1;
}

.search-box:hover .search-glow,
.search-box:focus-within .search-glow {
    opacity: 0.3;
}

.search-input {
    width: 100%;
    padding: 16px 16px 16px 48px;
    border: 2px solid transparent;
    border-radius: 16px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: transparent;
    position: relative;
    z-index: 2;
}

.search-input:focus {
    outline: none;
    border-color: #10b981;
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    width: 20px;
    height: 20px;
    z-index: 3;
    transition: all 0.3s ease;
}

.search-box:focus-within .search-icon {
    color: #10b981;
    transform: translateY(-50%) scale(1.1) rotate(90deg);
}

.search-pulse {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    pointer-events: none;
}

.search-box:focus-within .search-pulse {
    animation: search-pulse 1.5s ease-out;
}

@keyframes search-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* Stats Animation */
.stats-grid {
    animation: stats-reveal 1s ease-out 0.7s both;
}

@keyframes stats-reveal {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


.stat-item:nth-child(1) { animation-delay: 0.8s; }
.stat-item:nth-child(2) { animation-delay: 0.9s; }
.stat-item:nth-child(3) { animation-delay: 1.0s; }
.stat-item:nth-child(4) { animation-delay: 1.1s; }

@keyframes stat-item-reveal {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-item {
    position: relative;
    padding: 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    animation: stat-item-reveal 0.6s ease-out both;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(16, 185, 129, 0.05);
}

.stat-number {
    background: linear-gradient(135deg, #111827, #374151);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
    position: relative;
}

.stat-item:hover .stat-number {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: scale(1.1);
}

.stat-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.stat-item:hover .stat-glow {
    opacity: 1;
}

/* ===== Lead Magnets Section ===== */
/* .lead-magnets-section {
    background: linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
} */

/* .section-bg {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(16, 185, 129, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(20, 184, 166, 0.05) 0%, transparent 50%);
} */

.section-title {
    opacity: 0;
    animation: text-reveal 0.8s ease-out forwards;
}

.section-subtitle {
    opacity: 0;
    animation: text-reveal 0.8s ease-out 0.2s forwards;
}

.magnet-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
}

.magnet-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(16, 185, 129, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.magnet-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.magnet-card:hover::before {
    opacity: 1;
}

.magnet-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: all 0.4s var(--elastic);
    position: relative;
}

.magnet-card:hover .magnet-icon-box {
    transform: scale(1.2) rotate(5deg);
}

.magnet-icon-box::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 16px;
    background: inherit;
    filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.magnet-card:hover .magnet-icon-box::after {
    opacity: 0.5;
}

.download-icon {
    transition: all 0.3s ease;
    opacity: 0.5;
}

.magnet-card:hover .download-icon {
    opacity: 1;
    color: #10b981;
    transform: translateY(2px);
}

/* ===== Categories Section ===== */
.categories-section {
    position: relative;
}

.category-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
}

.category-tab {
    padding: 12px 24px;
    border-radius: 12px;
    border: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background: #f3f4f6;
    color: #374151;
}

.category-tab::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary-gradient);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.category-tab:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.category-tab.active {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

.category-tab.active i,
.category-tab.active span {
    color: white;
}

.category-tab.active:hover,
.category-tab.active:hover i {
    color: white;
}

/* Articles Cards */
.article-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
    cursor: pointer;
}

/* La carte doit être la boîte de référence du ::after */
.article-card { position: relative; }

/* Style de base du lien fantôme */
.card-link {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  transition-property: all;
  transition-duration: 0.3s;
  transition-timing-function: ease-in-out;
  text-decoration: none;
  color: transparent;
  cursor: pointer;
}

/* Feedback visuel quand on survole la carte entière */
.group:hover .card-link {
  color: #0f172a; /* équivalent à slate-900 */
}

.article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

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

.article-card.featured {
    border: 2px solid #10b981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.featured-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.1));
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 500;
    color: #059669;
    margin: 16px 16px 0 16px;
}

.level-badge {
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 500;
    display: inline-block;
}

.level-beginner {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
}

.level-intermediate {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
}

.level-advanced {
    background: rgba(249, 115, 22, 0.1);
    color: #ea580c;
}

.level-expert {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

.article-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    margin: 12px 0;
    transition: color 0.3s ease;
}

.article-card:hover .article-title {
    color: #10b981;
}

.read-more {
    display: inline-flex;
    align-items: center;
    color: #10b981;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
}

.read-more-icon {
    margin-left: 6px;
    margin-top: 1px;
    transition: transform 0.3s ease;
}

.article-card:hover .read-more-icon {
    transform: translateX(4px);
}

/* ===== Prestations Section ===== */
.prestations-section {
    position: relative;
    overflow: hidden;
}

.prestations-grid {
    display: grid;
    gap: 2rem;
}

/* Prestation Cards */
.prestation-card {
    background: white;
    border-radius: 20px;
    padding: 32px;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    overflow: hidden;
}

.prestation-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(16, 185, 129, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.prestation-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.prestation-card:hover::before {
    opacity: 1;
}

/* Featured Card */
.prestation-card.featured {
    border: 2px solid #10b981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
    transform: scale(1.05);
}

.prestation-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 30px 60px rgba(16, 185, 129, 0.2);
}

/* Badge */
.prestation-badge {
    position: absolute;
    top:3px;
    right: 8px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

/* Header */
.prestation-header {
    text-align: center;
    margin-bottom: 32px;
    position: relative;
    z-index: 2;
}

.prestation-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    transition: all 0.4s var(--elastic);
}

.prestation-card:hover .prestation-icon {
    transform: scale(1.1) rotate(5deg);
}

.prestation-icon::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 20px;
    background: inherit;
    filter: blur(15px);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.prestation-card:hover .prestation-icon::after {
    opacity: 0.5;
}

.prestation-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #111827;
}

.prestation-type {
    color: #6b7280;
    font-size: 14px;
}

/* Features */
.prestation-features {
    list-style: none;
    margin-bottom: 32px;
    position: relative;
    z-index: 2;
}

.prestation-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: #374151;
    font-size: 15px;
    transition: all 0.3s ease;
}

.prestation-features li:hover {
    color: #111827;
    padding-left: 8px;
}

.prestation-features i {
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.prestation-features li:hover i {
    transform: scale(1.2);
}

/* Price */
.prestation-price {
    text-align: center;
    margin-bottom: 24px;
    padding: 20px;
    background: linear-gradient(135deg, #f9fafb, #f3f4f6);
    border-radius: 12px;
    position: relative;
    z-index: 2;
}

.price-amount {
    display: block;
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, #10b981, #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.price-label {
    font-size: 14px;
    color: #6b7280;
}

/* CTA Button */
.prestation-cta {
    width: 100%;
    padding: 16px 32px;
    background: white;
    color: #374151;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 2;
}

.prestation-cta:hover {
    color: #10b981;
    border-color: #10b981;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.15);
}

.prestation-cta.primary {
    background: var(--primary-gradient);
    color: white;
    border: none;
}

.prestation-cta.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.3);
}

.cta-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.prestation-cta:hover .cta-shimmer {
    left: 100%;
}

/* Responsive */
@media (max-width: 768px) {
    .prestations-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .prestation-card.featured {
        transform: scale(1);
    }
    
    .prestation-card.featured:hover {
        transform: translateY(-10px);
    }
    
    .price-amount {
        font-size: 28px;
    }
}

/* ===== Newsletter Section ===== */
/* .newsletter-section {
    position: relative;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 50%, #a7f3d0 100%);
    overflow: hidden;
} */

/* .newsletter-bg {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.8) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.8) 0%, transparent 50%);
} */

.newsletter-input {
    padding: 12px 16px;
    border: 2px solid #d1d5db;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}

.newsletter-input:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.newsletter-button {
    padding: 12px 24px;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.button-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
    transition: left 0.5s ease;
}

.newsletter-button:hover .button-shimmer {
    left: 100%;
}

.newsletter-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
}

/* ===== CTA Section ===== */
.cta-section {
    background: var(--dark-gradient);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
}

.cta-blob-1,
.cta-blob-2 {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.2;
}

.cta-blob-1 {
    width: 600px;
    height: 600px;
    background: #10b981;
    top: -300px;
    left: -300px;
    animation: morph 25s ease-in-out infinite;
}

.cta-blob-2 {
    width: 800px;
    height: 800px;
    background: #14b8a6;
    bottom: -400px;
    right: -400px;
    animation: morph 30s ease-in-out infinite reverse;
}

.cta-badge {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    backdrop-filter: blur(10px);
}

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

.cta-title {
    margin-bottom: 24px;
    opacity: 0;
    animation: text-reveal 0.8s ease-out forwards;
}

.cta-description {
    margin-bottom: 32px;
    opacity: 0;
    animation: text-reveal 0.8s ease-out 0.2s forwards;
}

.primary-cta-button {
    display: inline-flex;
    align-items: center;
    padding: 16px 32px;
    background: var(--primary-gradient);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.primary-cta-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.primary-cta-button:hover::before {
    transform: translateX(0);
}

.primary-cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.4);
}

.secondary-cta-button {
    display: inline-flex;
    align-items: center;
    padding: 16px 32px;
    background: #374151;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    border: 2px solid #4b5563;
    transition: all 0.3s ease;
}

.secondary-cta-button:hover {
    background: #4b5563;
    border-color: #6b7280;
    transform: translateY(-2px);
}

/* ===== Footer ===== */
.footer-section {
    position: relative;
    overflow: hidden;
    background: #111827;
}

.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #10b981 50%, transparent 100%);
    animation: wave 3s linear infinite;
}

.footer-column {
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.6s ease-out forwards;
}

.footer-column.visible {
    animation: fadeInUp 0.6s ease-out forwards;
}

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

/* Logo Footer Animation */
.logo-footer {
    cursor: pointer;
}

.logo-svg {
    transition: transform 0.3s ease;
}

.logo-footer:hover .logo-svg {
    transform: scale(1.1) rotate(10deg);
}

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

.logo-node {
    animation: float 3s ease-in-out infinite;
    animation-delay: calc(var(--i) * 0.2s);
}

.logo-line {
    stroke-dasharray: 20;
    stroke-dashoffset: 20;
    animation: draw 2s ease-in-out infinite alternate;
}

@keyframes draw {
    to {
        stroke-dashoffset: 0;
    }
}

.logo-outer {
    animation: orbit 10s linear infinite;
    transform-origin: 24px 24px;
}

@keyframes orbit {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Social Links */
.social-link {
    width: 32px;
    height: 32px;
    background: #374151;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.social-icon {
    font-size: 12px;
    font-weight: 600;
    color: white;
    z-index: 2;
    position: relative;
}

.social-glow {
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, #10b981, #14b8a6, #0891b2, #10b981);
    border-radius: 8px;
    opacity: 0;
    filter: blur(8px);
    transition: opacity 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    background: transparent;
}

.social-link:hover .social-glow {
    opacity: 1;
    animation: gradient-shift 2s linear infinite;
}

/* Footer Links */
.footer-link {
    color: #9ca3af;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #10b981, #14b8a6);
    transition: width 0.3s ease;
}

.footer-link:hover {
    color: white;
    transform: translateX(5px);
}

.footer-link:hover::after {
    width: 100%;
}

/* Team & Hiring Badges */
.team-badge,
.hiring-badge {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 500;
}

.team-badge {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.3);
}

.hiring-badge {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

/* Category Footer Cards */
.category-footer-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: block;
}

.category-icon-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    transition: all 0.4s ease;
}

.category-hover-effect {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.category-footer-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.2);
}

.category-footer-card:hover .category-icon-wrapper {
    transform: scale(1.2) rotate(10deg);
}

.category-footer-card:hover .category-hover-effect {
    opacity: 1;
}

/* Newsletter Footer */
.newsletter-footer {
    position: relative;
}

.newsletter-input-footer {
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.newsletter-input-footer:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.newsletter-btn-footer {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-shimmer {
    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;
}

.newsletter-btn-footer:hover .btn-shimmer {
    left: 100%;
}

/* Certifications SPECTACULAIRES */
.certifications-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.certification-badge {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.4s ease;
    overflow: hidden;
}

.cert-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 2;
}

.cert-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.cert-text {
    display: flex;
    flex-direction: column;
}

.cert-name {
    font-size: 14px;
    font-weight: 600;
    color: white;
}

.cert-status {
    font-size: 11px;
    color: #9ca3af;
}

.cert-glow {
    position: absolute;
    inset: -2px;
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

/* Specific certification styles */
.google-partner:hover .cert-glow {
    background: linear-gradient(45deg, #4285F4, #34A853, #FBBC05, #EA4335);
    filter: blur(10px);
    opacity: 0.5;
    animation: gradient-shift 3s linear infinite;
}

.meta-partner:hover .cert-glow {
    background: linear-gradient(45deg, #1877F2, #42b3f5);
    filter: blur(10px);
    opacity: 0.5;
}

.aws-partner:hover .cert-glow {
    background: linear-gradient(45deg, #FF9900, #FFB84D);
    filter: blur(10px);
    opacity: 0.5;
}

.intercom-partner:hover .cert-glow {
    background: linear-gradient(45deg, #14b8a6, #0891b2);
    filter: blur(10px);
    opacity: 0.5;
}

.certification-badge:hover {
    transform: translateY(-5px) scale(1.05);
    background: rgba(255, 255, 255, 0.05);
    border-color: transparent;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.certification-badge:hover .cert-icon {
    transform: rotate(10deg) scale(1.1);
}

/* Trust Indicators */
.trust-indicators {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #9ca3af;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.trust-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    transform: translateY(-2px);
}

/* Status Indicator */
.status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
    margin-right: 4px;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

/* Legal Links */
.legal-link {
    color: #9ca3af;
    transition: all 0.3s ease;
    position: relative;
}

.legal-link:hover {
    color: #10b981;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(90deg, #10b981, #14b8a6, #0891b2, #10b981);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease-in-out infinite;
}

/* Hover Mouse Effect for Category Cards */
.category-footer-card {
    --x: 50%;
    --y: 50%;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .certifications-container {
        gap: 8px;
    }
    
    .certification-badge {
        padding: 8px 12px;
        flex-grow: 1;
    }
    
    .cert-icon {
        width: 32px;
        height: 32px;
    }
    
    .trust-indicators {
        gap: 12px;
    }
    
    .trust-item {
        font-size: 12px;
        padding: 6px 12px;
    }
}

/* ===== Utility Classes ===== */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.6s ease-out forwards;
}

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

.slide-up {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.6s ease-out forwards;
}

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

/* ===== Mobile Optimizations ===== */
@media (max-width: 768px) {
    /* Optimize animations for mobile performance */
    .bg-blob,
    .shape,
    .particle {
        animation-play-state: paused;
    }
    
    .in-view .bg-blob,
    .in-view .shape,
    .in-view .particle {
        animation-play-state: running;
    }
    
    /* Simplify complex animations on mobile */
    .logo-node,
    .logo-line,
    .logo-outer {
        animation: none;
    }
    
    .logo-center {
        animation: pulse 3s ease-in-out infinite;
    }
    
    /* Hero adjustments */
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .title-line-2 {
        animation: text-reveal 1s ease-out 0.2s both, gradient-shift 4s ease-in-out infinite;
        animation-delay: 0.3s;
    }
    
    /* Better mobile scroll performance */
    .reveal {
        transition: all 0.6s ease;
    }
    
    /* Stats optimization */
    .stats-grid {
        gap: 12px;
    }
    
    .stat-item {
        padding: 15px 10px;
    }
    
    /* Category tabs mobile */
    .category-tabs {
        gap: 8px;
        padding: 0 10px;
    }
    
    .category-tab {
        padding: 8px 12px;
        font-size: 13px;
        flex-grow: 1;
    }
    
    /* Mobile menu improvements */
    .mobile-menu {
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .mobile-cta-button {
        width: 100%;
        padding: 14px 24px;
        background: var(--primary-gradient);
        color: white;
        border: none;
        border-radius: 12px;
        font-weight: 600;
        font-size: 16px;
        margin-top: 16px;
    }
    
    /* Categories dropdown in mobile menu */
    .mobile-submenu {
        margin-left: 20px;
        margin-top: 8px;
        display: none;
    }
    
    .mobile-submenu.active {
        display: block;
    }
    
    .mobile-submenu-item {
        padding: 10px 16px;
        color: #4b5563;
        text-decoration: none;
        border-radius: 8px;
        font-size: 14px;
        display: flex;
        align-items: center;
        gap: 8px;
        transition: all 0.2s ease;
    }
    
    .mobile-submenu-item:hover {
        background: rgba(16, 185, 129, 0.1);
        color: #10b981;
    }
    
    .mobile-menu-item.has-submenu {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .submenu-toggle {
        padding: 4px;
        transition: transform 0.3s ease;
    }
    
    .submenu-toggle.active {
        transform: rotate(180deg);
    }
    
    /* Improve section visibility on scroll */
    section {
        min-height: auto;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
    
    .section-title {
        font-size: 1.875rem;
        margin-bottom: 0.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    /* Reduce particle count on mobile */
    .particle:nth-child(n+25) {
        display: none;
    }
    
    /* Optimize card animations */
    .magnet-card,
    .article-card,
    .prestation-card {
        transition: transform 0.3s ease;
    }
    
    .magnet-card:hover,
    .article-card:hover,
    .prestation-card:hover {
        transform: translateY(-5px);
    }
    
    /* Simplify hover effects */
    .nav-link:hover,
    .footer-link:hover,
    .social-link:hover {
        transform: none;
    }
    
    /* Better touch targets */
    .mobile-menu-item,
    .mobile-submenu-item,
    .category-tab,
    button {
        min-height: 44px;
    }
}

/* ===== Loading Animation ===== */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(16, 185, 129, 0.3);
    border-radius: 50%;
    border-top-color: #10b981;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}


/* ===== Scroll Reveal ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}


/* ===== Glow Text ===== */
.glow-text {
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.5),
                 0 0 20px rgba(16, 185, 129, 0.3),
                 0 0 30px rgba(16, 185, 129, 0.2);
}

/* ===== Performance Optimizations ===== */
/* Disable animations when scrolling on mobile */
.is-scrolling * {
    animation-play-state: paused !important;
    transition: none !important;
}

/* Optimize mobile rendering */
@media (max-width: 768px) {
    /* Force hardware acceleration for smooth scrolling */
    .mobile-menu,
    .article-card,
    .magnet-card,
    .prestation-card {
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
        will-change: transform;
    }
    
    /* Prevent layout shifts */
    img {
        max-width: 100%;
        height: auto;
        aspect-ratio: attr(width) / attr(height);
    }
    
    /* Better touch scrolling */
    .mobile-menu {
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
    
    /* Reduce motion for better performance */
    @media (prefers-reduced-motion: reduce) {
        * {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
            scroll-behavior: auto !important;
        }
    }
}

/* ===== Additional Mobile Menu Styles ===== */
.mobile-cta-button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.mobile-cta-button:active {
    transform: scale(0.98);
}

.mobile-submenu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 300px;
    }
}

.submenu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ===== FAQ Section ===== */
/* .faq-section {
    background: #f9fafb;
} */

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: white;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: #374151;
    text-align: left;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: #10b981;
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.3s ease;
    padding: 0 24px 0;
    opacity: 0;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 24px 20px;
    opacity: 1;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-item.active {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* ===== Mobile Content Visibility Fix ===== */
@media (max-width: 768px) {
    /* Ensure sections are visible on scroll */
    section {
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    
    /* Fix for content not appearing */
    .hero-content,
    .section-title,
    .section-subtitle,
    .magnets-grid,
    .articles-container,
    .newsletter-form,
    .prestations-grid,
    .faq-container {
        opacity: 1;
        visibility: visible;
    }
    
    /* Prevent content from being hidden */
    * {
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }
    
    /* Fix gradient animation performance */
    @supports (-webkit-background-clip: text) {
        .title-line-2,
        .gradient-text {
            -webkit-transform: translateZ(0);
            transform: translateZ(0);
        }
    }
    
    /* Optimize scroll performance */
    body {
        -webkit-overflow-scrolling: touch;
    }
    
    /* Ensure smooth animations */
    .hero-title,
    .hero-description,
    .search-container,
    .stat-item {
        will-change: opacity, transform;
    }
}

/* ===== FAQ Tabs ===== */
.faq-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
}

.faq-tab {
    padding: 12px 20px;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    background: white;
    color: #6b7280;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 8px;
}

.faq-tab::before {
    content: '';
    /* position: absolute; */
    inset: 0;
    background: var(--primary-gradient);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1;
}

.faq-tab:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: #10b981;
}

.faq-tab.active {
    background: var(--primary-gradient);
    color: white !important;
    border-color: #10b981;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.faq-tab.active::before {
    transform: translateX(0);
}

.faq-tab i,
.faq-tab span {
    position: relative;
    z-index: 3;
    transition: all 0.3s ease;
}

.faq-tab.active i,
.faq-tab.active span {
    color: white !important;
}

.faq-tab.active * {
    color: white !important;
}

.faq-content {
    position: relative;
}

.faq-category {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.faq-category.active {
    display: block;
}

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

/* Mobile FAQ Tabs */
@media (max-width: 768px) {
    .faq-tabs {
        gap: 8px;
        padding: 0 10px;
    }
    
    .faq-tab {
        padding: 10px 16px;
        font-size: 14px;
        flex-grow: 1;
        min-width: 0;
    }
    
    .faq-tab i {
        display: none;
    }
}

/* ===== Devis Simulator Styles ===== */
.step-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    margin-bottom: 30px;
    transition: all 0.3s ease;
    opacity: 0;
    animation: step-card-reveal 0.8s ease-out forwards;
    /* Fix text clipping */
    overflow: visible;
}

@keyframes step-card-reveal {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.step-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f3f4f6;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: white;
    font-size: 24px;
}

.step-title h3 {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
}

.step-title p {
    color: #6b7280;
    font-size: 16px;
}

.step-content {
    padding: 0;
}

.question-group {
    margin-bottom: 40px;
}

.question-label {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 20px;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.option-card {
    cursor: pointer;
    transition: all 0.4s ease;
    opacity: 0;
    animation: option-reveal 0.6s ease-out forwards;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(16, 185, 129, 0.1);
    border-radius: 16px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    display: block;
}

.option-card:nth-child(1) { animation-delay: 0.1s; }
.option-card:nth-child(2) { animation-delay: 0.2s; }
.option-card:nth-child(3) { animation-delay: 0.3s; }
.option-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes option-reveal {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.option-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.2);
}

.option-content {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    display: flex;
    align-items: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: visible;
}

.option-card input:checked + .option-content {
    background: transparent;
    border: none;
    transform: none;
}

.option-card input:checked {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(16, 185, 129, 0.05) 100%);
    border-color: #10b981;
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.4), 0 0 0 1px rgba(16, 185, 129, 0.2);
    transform: translateY(-2px);
}

.option-card input:checked::before {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
    opacity: 1;
}

/* Effet de hover avec gradient radial comme les boutons de catégories */
.option-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: 16px;
}

.option-card:hover::before {
    opacity: 1;
}


.option-icon {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: #10b981;
    font-size: 20px;
    z-index: 2;
    position: relative;
    transition: all 0.3s ease;
}

.option-card input:checked + .option-content .option-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.option-text {
    flex: 1;
    z-index: 2;
    position: relative;
}

.option-title {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 4px;
    transition: all 0.3s ease;
}

.option-subtitle {
    font-size: 14px;
    color: #6b7280;
    transition: all 0.3s ease;
}

.option-card input:checked + .option-content .option-title {
    color: #10b981;
    font-weight: 700;
}

.option-card input:checked + .option-content .option-subtitle {
    color: #059669;
    font-weight: 500;
}

.option-check {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 2;
    position: relative;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.option-card input:checked + .option-content .option-check {
    opacity: 1;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.progress-container {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.progress-info {
    display: flex;
    flex-direction: column;
}

.progress-label {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

.progress-step {
    font-size: 16px;
    color: #1f2937;
    font-weight: 600;
}

.progress-percentage {
    font-size: 24px;
    font-weight: 700;
    color: #0AA473;
}

.progress-bar-container {
    position: relative;
}

.progress-bar-bg {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: var(--primary-gradient);
    border-radius: 4px;
    transition: width 0.5s ease;
    position: relative;
}

.progress-bar-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: progressGlow 2s infinite;
}

@keyframes progressGlow {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    position: relative;
}

.progress-step-dot {
    width: 40px;
    height: 40px;
    background: #e5e7eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.step-number {
    font-size: 14px;
    font-weight: 700;
    color: inherit;
    z-index: 3;
    position: relative;
}

.progress-step-dot.active {
    background: var(--primary-gradient);
    color: white;
    transform: scale(1.1);
}

.progress-step-dot.completed {
    background: #10b981;
    color: white;
    transform: scale(1.05);
}

.progress-step-dot.completed .step-number {
    color: white;
}

.step-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #f3f4f6;
}

.nav-button {
    display: inline-flex;
    align-items: center;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.nav-button-prev {
    background: #f3f4f6;
    color: #6b7280;
    border: 2px solid #e5e7eb;
}

.nav-button-prev:hover {
    background: #e5e7eb;
    color: #374151;
    transform: translateY(-2px);
}

.nav-button-next {
    background: var(--primary-gradient);
    color: white;
    margin-left: auto;
}

.nav-button-next:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.4);
}

.nav-button-submit {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    margin-left: auto;
}

.nav-button-submit:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.4);
}

.results-section {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    position: relative;
    overflow: hidden;
}

.results-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 20px;
}

.results-title {
    font-size: 48px;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 20px;
}

.results-description {
    font-size: 20px;
    color: #6b7280;
    max-width: 800px;
    margin: 0 auto;
}

.results-card {
    background: white;
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    margin-bottom: 50px;
}

.results-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 2px solid #f3f4f6;
}

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

.result-stat-number {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 10px;
    display: block;
}

.result-stat-label {
    font-size: 16px;
    color: #6b7280;
    font-weight: 500;
}

.services-section {
    margin-top: 40px;
}

.services-section h3 {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
}

.services-list {
    display: grid;
    gap: 15px;
}

.service-item {
    display: flex;
    align-items: center;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.service-item:hover {
    background: #f1f5f9;
    transform: translateX(5px);
}

.service-icon {
    width: 40px;
    height: 40px;
    background: #10b981;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 15px;
    font-size: 16px;
}

.service-text {
    font-size: 16px;
    color: #1f2937;
    font-weight: 500;
}

.results-cta {
    text-align: center;
    margin-top: 60px;
}

.cta-content h3 {
    font-size: 32px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    color: #6b7280;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.tertiary-cta-button {
    display: inline-flex;
    align-items: center;
    padding: 16px 32px;
    background: transparent;
    color: #6b7280;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.tertiary-cta-button:hover {
    background: #f3f4f6;
    color: #374151;
    border-color: #d1d5db;
    transform: translateY(-2px);
}

/* ===== Devis Checkbox Styles ===== */
.step-content input[type="checkbox"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    background: white;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.step-content input[type="checkbox"]:checked {
    background: var(--primary-gradient);
    border-color: #10b981;
}

.step-content input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.step-content input[type="checkbox"]:hover {
    border-color: #10b981;
    transform: scale(1.05);
}

/* ===== Devis Form Input Styles ===== */
.step-content input[type="text"],
.step-content input[type="email"],
.step-content input[type="tel"],
.step-content input[type="url"],
.step-content textarea,
.step-content select {
    transition: all 0.3s ease;
    border: 2px solid #e5e7eb;
}

.step-content input[type="text"]:focus,
.step-content input[type="email"]:focus,
.step-content input[type="tel"]:focus,
.step-content input[type="url"]:focus,
.step-content textarea:focus,
.step-content select:focus {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
    transform: translateY(-1px);
}

/* Focus styles for all form inputs */
.step-content input:focus,
.step-content textarea:focus,
.step-content select:focus {
    border-color: #10b981 !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1) !important;
}

/* ===== Devis Progress Animations ===== */
.progress-step-dot {
    transition: all 0.5s ease;
}

.progress-step-dot.active {
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }
}

/* ===== Devis Results Animations ===== */
.result-stat-number {
    animation: count-up 1.5s ease-out;
}

@keyframes count-up {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.service-item {
    animation: slide-in 0.6s ease-out forwards;
    opacity: 0;
    transform: translateX(-20px);
}

.service-item:nth-child(1) { animation-delay: 0.1s; }
.service-item:nth-child(2) { animation-delay: 0.2s; }
.service-item:nth-child(3) { animation-delay: 0.3s; }
.service-item:nth-child(4) { animation-delay: 0.4s; }
.service-item:nth-child(5) { animation-delay: 0.5s; }
.service-item:nth-child(6) { animation-delay: 0.6s; }

@keyframes slide-in {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== Contact Page Styles ===== */
.contact-section {
    position: relative;
}

.contact-form-container {
    position: relative;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(20, 184, 166, 0.1));
    border-radius: 2rem;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-form-container:hover::before {
    opacity: 1;
}

.form-input {
    transition: all 0.3s ease;
}

.form-input:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.15);
}

.contact-info > div {
    transition: all 0.3s ease;
}

.contact-info > div:hover {
    /* Hover effects removed */
}

/* Contact method cards hover effect */
.contact-info .flex:hover {
    /* Hover effects removed */
}

/* Form validation styles */
.field-error {
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Notification styles */
.notification {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Contact page specific animations */
.contact-hero {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(20, 184, 166, 0.05) 100%);
}

/* Contact page FAQ specific styles - Simplified */
#faq-section {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

#faq-section .space-y-4 > div {
    transition: all 0.3s ease;
}

#faq-section .space-y-4 > div:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

#faq-section button {
    transition: all 0.3s ease;
}

#faq-section button:hover {
    background-color: #f9fafb;
}

#faq-section [id^="answer-"] {
    transition: all 0.3s ease;
}

#faq-section [id^="icon-"] {
    transition: transform 0.3s ease;
}

/* Mobile contact page optimizations */
@media (max-width: 768px) {
    .contact-form-container {
        margin: 0 -1rem;
    }
    
    .contact-info > div {
        margin-bottom: 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons a {
        width: 100%;
        text-align: center;
    }
    
    .faq-section .faq-question {
        padding: 16px 20px;
        font-size: 14px;
    }
    
    .faq-section .faq-answer {
        padding: 0 20px 0;
    }
    
    .faq-section .faq-item.active .faq-answer {
        padding: 0 20px 16px;
    }
}

/* ===== Devis Popup Styles ===== */
.devis-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.devis-popup.show {
    opacity: 1;
    visibility: visible;
}

.devis-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.devis-popup-content {
    position: relative;
    background: white;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s ease;
}

.devis-popup.show .devis-popup-content {
    transform: scale(1) translateY(0);
}

.devis-popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 32px;
    border-bottom: 1px solid #e5e7eb;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.devis-popup-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.devis-popup-title h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.devis-popup-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: #f3f4f6;
    border-radius: 10px;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s ease;
}

.devis-popup-close:hover {
    background: #e5e7eb;
    color: #374151;
    transform: scale(1.05);
}

.devis-popup-body {
    padding: 32px;
    max-height: 60vh;
    overflow-y: auto;
}

.devis-popup-footer {
    display: flex;
    gap: 16px;
    padding: 24px 32px;
    border-top: 1px solid #e5e7eb;
    background: #f9fafb;
}

.devis-btn-primary {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.devis-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

.devis-btn-secondary {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    background: white;
    color: #374151;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.devis-btn-secondary:hover {
    border-color: #10b981;
    color: #10b981;
    transform: translateY(-1px);
}

/* Bouton pour revoir le devis */
.revoir-devis-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.revoir-devis-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.revoir-devis-button {
    display: flex;
    align-items: center;
    padding: 16px 24px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
}

.revoir-devis-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(59, 130, 246, 0.4);
}

/* Contenu du devis */
.devis-summary {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border: 2px solid #bbf7d0;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
}

.devis-price {
    font-size: 48px;
    font-weight: 800;
    color: #059669;
    text-align: center;
    margin: 16px 0;
}

.devis-duration {
    text-align: center;
    color: #6b7280;
    font-size: 18px;
    margin-bottom: 24px;
}

.devis-details {
    display: grid;
    gap: 16px;
    margin-bottom: 24px;
}

.devis-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: white;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
}

.devis-detail-label {
    font-weight: 600;
    color: #374151;
}

.devis-detail-value {
    color: #6b7280;
}

/* Responsive */
@media (max-width: 768px) {
    .devis-popup {
        padding: 10px;
    }
    
    .devis-popup-content {
        max-height: 95vh;
    }
    
    .devis-popup-header,
    .devis-popup-body,
    .devis-popup-footer {
        padding: 20px;
    }
    
    .devis-popup-footer {
        flex-direction: column;
    }
    
    .revoir-devis-btn {
        bottom: 20px;
        right: 20px;
    }
    
    .revoir-devis-button {
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* ===== Coming Soon Modal Styles ===== */
.coming-soon-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.coming-soon-modal.show {
    opacity: 1;
    visibility: visible;
}

.coming-soon-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
}

.coming-soon-content {
    position: relative;
    background: white;
    border-radius: 24px;
    box-shadow: 0 32px 64px -12px rgba(0, 0, 0, 0.4);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    transform: scale(0.9) translateY(30px);
    transition: all 0.4s ease;
    border: 1px solid rgba(10, 164, 115, 0.2);
}

.coming-soon-modal.show .coming-soon-content {
    transform: scale(1) translateY(0);
}

.coming-soon-header {
    position: relative;
    padding: 32px 32px 24px;
    text-align: center;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border-bottom: 1px solid #bbf7d0;
}

.coming-soon-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    color: white;
    margin-bottom: 16px;
    animation: pulse 2s infinite;
}

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

.coming-soon-title {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px 0;
    background: linear-gradient(135deg, #0f172a 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.coming-soon-close {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
}

.coming-soon-close:hover {
    background: white;
    color: #374151;
    transform: scale(1.1);
}

.coming-soon-body {
    padding: 32px;
}

.coming-soon-description {
    font-size: 16px;
    line-height: 1.6;
    color: #4b5563;
    text-align: center;
    margin-bottom: 32px;
}

.newsletter-form {
    margin-bottom: 32px;
}

.newsletter-signup {
    width: 100%;
}

.form-group {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.newsletter-input {
    flex: 1;
    padding: 16px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.2s ease;
    background: #f9fafb;
}

.newsletter-input:focus {
    outline: none;
    border-color: #10b981;
    background: white;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.newsletter-button {
    display: flex;
    align-items: center;
    padding: 16px 24px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    white-space: nowrap;
}

.newsletter-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

.newsletter-button:active {
    transform: translateY(0);
}

.newsletter-privacy {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

.coming-soon-benefits {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 20px;
    padding: 28px;
    border: 2px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.coming-soon-benefits::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
}

.coming-soon-benefits h4 {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 20px 0;
    text-align: center;
    background: linear-gradient(135deg, #0f172a 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 16px;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    font-size: 15px;
    color: #374151;
    line-height: 1.6;
    padding: 12px 16px;
    background: white;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.benefits-list li:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: #10b981;
}

.benefits-list li i {
    color: #10b981;
    margin-right: 20px;
    flex-shrink: 0;
    margin-top: 2px;
    font-size: 18px;
}

/* Success state */
.newsletter-success {
    text-align: center;
    padding: 24px;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border: 2px solid #bbf7d0;
    border-radius: 16px;
    margin-bottom: 24px;
}

.newsletter-success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #10b981;
    border-radius: 50%;
    color: white;
    margin-bottom: 16px;
}

.newsletter-success h4 {
    font-size: 20px;
    font-weight: 700;
    color: #059669;
    margin: 0 0 8px 0;
}

.newsletter-success p {
    color: #047857;
    margin: 0;
    font-size: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .coming-soon-modal {
        padding: 10px;
    }
    
    .coming-soon-content {
        max-height: 95vh;
    }
    
    .coming-soon-header,
    .coming-soon-body {
        padding: 24px 20px;
    }
    
    .form-group {
        flex-direction: column;
    }
    
    .newsletter-button {
        justify-content: center;
    }
    
    .coming-soon-title {
        font-size: 24px;
    }
    
    .coming-soon-icon {
        width: 56px;
        height: 56px;
    }
}

/* ===== Search Dropdown Styles ===== */
.search-dropdown {
    backdrop-filter: blur(10px);
    border: 1px solid rgba(16, 185, 129, 0.2);
    box-shadow: 0 20px 40px -12px rgba(16, 185, 129, 0.3), 0 8px 16px -8px rgba(0, 0, 0, 0.1);
    animation: searchDropdownFadeIn 0.3s ease-out;
    display: none;
    position: fixed;
    z-index: 40; /* Inférieur au header (z-50) */
    background: white;
    border-radius: 1rem;
    max-height: 400px;
    overflow-y: auto;
    width: auto;
    transition: all 0.2s ease;
}

.search-dropdown.show {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Effet de "connexion" avec la barre de recherche */
.search-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid white;
    filter: drop-shadow(0 -2px 4px rgba(0, 0, 0, 0.1));
}

@keyframes searchDropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.search-result-item {
    position: relative;
    border-bottom: 1px solid rgba(229, 231, 235, 0.3);
    transition: all 0.3s ease;
    border-radius: 12px;
    margin: 0 8px 4px 8px;
}

.search-result-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.search-result-item:hover,
.search-result-item.active {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(20, 184, 166, 0.08) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.search-result-item.active {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(20, 184, 166, 0.12) 100%);
    border-left: 4px solid #10b981;
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.2);
}

/* Titre principal - Priorité 1 */
.search-result-item h4 {
    line-height: 1.3;
    font-weight: 700;
    color: #111827;
    transition: all 0.2s ease;
    font-size: 1.125rem;
    letter-spacing: -0.025em;
}

.search-result-item:hover h4,
.search-result-item.active h4 {
    color: #059669;
    transform: translateX(2px);
}

/* Description - Priorité 2 */
.search-result-item p {
    line-height: 1.6;
    color: #4b5563;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.search-result-item:hover p {
    color: #374151;
}

/* Métadonnées - Priorité 3 */
.search-result-item .flex.items-center.space-x-3 {
    gap: 12px;
}

/* Indicateur de clic */
.search-result-item .group-hover\:text-green-600 {
    transition: all 0.2s ease;
}

.search-result-item:hover .group-hover\:text-green-600 {
    color: #059669 !important;
    transform: translateX(2px);
}

.search-result-item mark {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    font-weight: 600;
    padding: 1px 3px;
    border-radius: 3px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.level-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.search-result-item:hover .level-badge {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.level-beginner {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
    border: 1px solid rgba(6, 95, 70, 0.2);
}

.level-intermediate {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1e40af;
    border: 1px solid rgba(30, 64, 175, 0.2);
}

.level-advanced {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    border: 1px solid rgba(146, 64, 14, 0.2);
}

.level-expert {
    background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%);
    color: #be185d;
    border: 1px solid rgba(190, 24, 93, 0.2);
}

/* Search dropdown responsive */
@media (max-width: 768px) {
    .search-dropdown {
        margin: 0 -1rem;
        border-radius: 1rem;
        max-height: 80vh;
    }
    
    .search-result-item {
        padding: 12px 16px;
    }
    
    .search-result-item h4 {
        font-size: 13px;
    }
    
    .search-result-item p {
        font-size: 11px;
    }
    
    .level-badge {
        font-size: 9px;
        padding: 1px 6px;
    }
}

/* Search container styles */
.search-container {
    position: relative !important;
    z-index: 10 !important;
}

/* S'assurer que le dropdown ne perturbe pas le flux de la page */
.search-dropdown {
    position: fixed;
    top: auto;
    left: auto;
    right: auto;
    width: auto;
    transform: none;
    margin: 0;
}

/* S'assurer que les stats ne passent pas par-dessus le dropdown */
.stats-grid {
    position: relative !important;
    z-index: 1 !important;
}

/* Search input focus states */
.search-input:focus + .search-dropdown {
    display: block !important;
}

/* Force dropdown visibility when not hidden */
.search-dropdown.show {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Smooth scrolling for search results */
.search-dropdown::-webkit-scrollbar {
    width: 6px;
}

.search-dropdown::-webkit-scrollbar-track {
    background: rgba(243, 244, 246, 0.5);
    border-radius: 3px;
}

.search-dropdown::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #10b981 0%, #14b8a6 100%);
    border-radius: 3px;
}

.search-dropdown::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #059669 0%, #0d9488 100%);
}

/* =============================
   Footer – Sites Verticaux
   ============================= */
.footer-vertical-sites {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #1f2937; /* border-gray-800 */
}

.footer-vertical-sites .modern-title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.footer-vertical-sites .title-container {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.footer-vertical-sites .title-icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(16,185,129,0.15) 0%, rgba(20,184,166,0.15) 100%);
    box-shadow: 0 6px 18px rgba(16,185,129,0.18);
}

.footer-vertical-sites .title-svg {
    filter: drop-shadow(0 2px 6px rgba(16,185,129,0.25));
}

.footer-vertical-sites .title-text {
    color: #ffffff;
    font-weight: 800;
    letter-spacing: -0.015em;
}

.footer-vertical-sites .title-underline {
    height: 3px;
    width: 160px;
    margin: 10px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #10b981 0%, #14b8a6 100%);
    opacity: 0.75;
}

.vertical-sites-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

@media (max-width: 640px) {
    .vertical-sites-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.vertical-site-item {
    position: relative;
}

.vertical-site-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(17, 24, 39, 0.6); /* gray-900 with transparency */
    border: 1px solid rgba(31, 41, 55, 0.9); /* gray-800 */
    border-radius: 12px;
    color: #e5e7eb; /* gray-200 */
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
    overflow: hidden;
}

.vertical-site-link:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, rgba(16,185,129,0.10) 0%, rgba(20,184,166,0.10) 100%);
    border-color: rgba(16, 185, 129, 0.35);
    box-shadow: 0 8px 24px rgba(16,185,129,0.18);
}

.vertical-site-link:active {
    transform: translateY(0);
}

.vertical-site-item::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 12px;
    pointer-events: none;
    background: radial-gradient(120px 60px at var(--mx, 50%) var(--my, 50%), rgba(16,185,129,0.10), transparent 70%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.vertical-site-item:hover::after {
    opacity: 1;
}

.vertical-site-link .site-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(16,185,129,0.18) 0%, rgba(20,184,166,0.18) 100%);
    color: #10b981;
    box-shadow: inset 0 0 0 1px rgba(16,185,129,0.25);
    flex-shrink: 0;
}

.vertical-site-link .site-text {
    font-weight: 600;
    color: #f3f4f6; /* gray-100 */
    letter-spacing: -0.01em;
}

.vertical-site-link:hover .site-text {
    color: #ffffff;
}

.footer-animate {
    animation: footerFadeIn 600ms ease both;
}

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

/* Cursor follow effect for glow (optional JS could update --mx/--my) */
.vertical-site-item {
    --mx: 50%;
    --my: 50%;
}
