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

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

:root {
    /* Couleurs principales */
    --bg-primary: #111827;
    --bg-secondary: #12121a;
    --bg-tertiary: #1a1a24;
    --text-primary: #ffffff;
    --text-secondary: #b0b0c0;
    --text-muted: #6b6b7f;
    
    /* Accents */
    --accent-purple: #8b5cf6;
    --accent-blue: #3b82f6;
    --accent-blue-vivid: #4ea8de;
    --accent-blue-hover: #3b82c4;
    --accent-electric: #00d9ff;
    --accent-gradient: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 50%, #00d9ff 100%);
    
    /* Nouveau fond dégradé animé */
    --bg-gradient-start: #a0c4ff;
    --bg-gradient-end: #cdb4db;
    --bg-gradient: linear-gradient(90deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

html {
    scroll-behavior: smooth;
}

/* Noise texture SVG pour anti-banding */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
}

body {
    font-family: var(--font-primary);
    position: relative;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    /* Fond animé avec dégradé élargi pour éviter le banding */
    background: linear-gradient(
        90deg,
        var(--bg-gradient-start) 0%,
        #b5d0ff 25%,
        #c8b8e0 50%,
        var(--bg-gradient-end) 75%,
        var(--bg-gradient-start) 100%
    );
    background-size: 400% 400%;
    background-attachment: fixed;
    animation: gradientShift 30s ease infinite;
}

/* Animation du dégradé horizontal */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Variante radial optionnelle - décommenter pour activer */
/*
body {
    background: radial-gradient(
        ellipse at center,
        var(--bg-gradient-start) 0%,
        #b5d0ff 30%,
        #c8b8e0 60%,
        var(--bg-gradient-end) 100%
    );
    background-size: 200% 200%;
    animation: gradientShiftRadial 30s ease infinite;
}

@keyframes gradientShiftRadial {
    0% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 100%;
    }
    100% {
        background-position: 0% 0%;
    }
}
*/

/* Assurer que le contenu est au-dessus du fond */
body > * {
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1000;
    padding: var(--spacing-sm) 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand a {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
}

.nav-menu a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.nav-menu a:hover {
    color: var(--accent-purple);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-fast);
}

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

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-normal);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--accent-blue-vivid);
    color: var(--text-primary);
    box-shadow: 0 4px 15px rgba(78, 168, 222, 0.4);
    font-weight: 600;
}

.btn-primary:hover {
    background: var(--accent-blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 196, 0.5);
}

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

.btn-outline:hover {
    background: var(--accent-purple);
    color: var(--text-primary);
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
}

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

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--spacing-xl) 0;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.hero-content {
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4), 0 1px 3px rgba(0, 0, 0, 0.3);
    /* Contraste AA/AAA amélioré */
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4), 0 1px 2px rgba(0, 0, 0, 0.3);
    font-weight: 500;
    /* Contraste amélioré pour accessibilité */
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-card {
    width: 300px;
    height: 400px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(6px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    position: relative;
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25), 
                0 0 0 1px rgba(167, 139, 250, 0.1);
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s ease;
}

.floating-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 20px;
    background: var(--accent-gradient);
    opacity: 0.4;
    z-index: -1;
    filter: blur(20px);
    animation: glowPulse 3s ease-in-out infinite;
}

/* Glow pulsé dynamique */
@keyframes glowPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.05);
    }
}

.floating-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 80px rgba(139, 92, 246, 0.4),
                0 0 0 2px rgba(167, 139, 250, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

.floating-card:hover::before {
    opacity: 0.6;
    filter: blur(30px);
}

.card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: var(--accent-gradient);
    border-radius: 50%;
    opacity: 0.15;
    filter: blur(60px);
    animation: glowRotate 8s linear infinite;
}

@keyframes glowRotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Particules animées */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    border-radius: 20px;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.9) 0%, rgba(78, 168, 222, 0.6) 100%);
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(167, 139, 250, 0.8);
    animation: particleFloat 15s infinite ease-in-out;
}

.particle:nth-child(1) {
    left: 20%;
    top: 15%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.particle:nth-child(2) {
    left: 60%;
    top: 25%;
    animation-delay: -2s;
    animation-duration: 14s;
}

.particle:nth-child(3) {
    left: 80%;
    top: 45%;
    animation-delay: -4s;
    animation-duration: 16s;
}

.particle:nth-child(4) {
    left: 30%;
    top: 65%;
    animation-delay: -6s;
    animation-duration: 13s;
}

.particle:nth-child(5) {
    left: 70%;
    top: 75%;
    animation-delay: -8s;
    animation-duration: 15s;
}

.particle:nth-child(6) {
    left: 15%;
    top: 50%;
    animation-delay: -10s;
    animation-duration: 17s;
}

.particle:nth-child(7) {
    left: 50%;
    top: 10%;
    animation-delay: -12s;
    animation-duration: 14s;
}

.particle:nth-child(8) {
    left: 85%;
    top: 85%;
    animation-delay: -14s;
    animation-duration: 16s;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    25% {
        transform: translate(20px, -30px) scale(1.2);
        opacity: 1;
    }
    50% {
        transform: translate(-15px, -50px) scale(0.8);
        opacity: 0.8;
    }
    75% {
        transform: translate(30px, -20px) scale(1.1);
        opacity: 0.9;
    }
}

/* Pictogramme IA/Chatbot */
.ai-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    opacity: 0.7;
    transition: all 0.4s ease;
    z-index: 2;
}

.ai-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 8px rgba(167, 139, 250, 0.4));
    animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

.floating-card:hover .ai-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.floating-card:hover .ai-icon svg {
    filter: drop-shadow(0 6px 12px rgba(167, 139, 250, 0.6));
}

/* Preview au hover */
.card-preview {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 3;
    pointer-events: none;
}

.card-preview p {
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 4px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.card-preview span {
    color: var(--text-primary);
    font-size: 0.75rem;
    opacity: 0.9;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.floating-card:hover .card-preview {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}

/* Effet ripple au click */
.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(167, 139, 250, 0.4);
    width: 20px;
    height: 20px;
    margin-left: -10px;
    margin-top: -10px;
    pointer-events: none;
    animation: ripple 0.6s ease-out;
}

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

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

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

section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--spacing-lg);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.page-hero {
    padding: var(--spacing-xl) 0;
    margin-top: 70px;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-subtitle {
    font-size: 1.25rem;
    color: var(--text-primary);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.service-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: var(--spacing-md);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.service-card p {
    color: var(--text-primary);
    opacity: 0.95;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    font-weight: 400;
}

/* ============================================
   POUR QUI SECTION
   ============================================ */

.pour-qui {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.pour-qui-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.pour-qui-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: var(--spacing-md);
    border-radius: 16px;
    text-align: center;
    transition: all var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.pour-qui-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.pour-qui-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.pour-qui-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.pour-qui-card p {
    color: var(--text-primary);
    opacity: 0.95;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    font-weight: 400;
}

/* ============================================
   EXEMPLE SECTION
   ============================================ */

.exemple-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.chatbot-demo {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.chatbot-header {
    background: rgba(255, 255, 255, 0.15);
    padding: var(--spacing-sm) var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.chatbot-status {
    width: 10px;
    height: 10px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.chatbot-messages {
    padding: var(--spacing-md);
    min-height: 300px;
    max-height: 400px;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.05);
}

.message {
    margin-bottom: var(--spacing-sm);
    padding: var(--spacing-sm);
    border-radius: 12px;
    max-width: 80%;
}

.bot-message {
    background: rgba(255, 255, 255, 0.15);
    border-left: 3px solid var(--accent-purple);
}

.user-message {
    background: rgba(59, 130, 246, 0.2);
    border-left: 3px solid var(--accent-blue);
    margin-left: auto;
}

.message p {
    margin: 0;
    color: var(--text-primary);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.chatbot-input {
    display: flex;
    padding: var(--spacing-sm) var(--spacing-md);
    background: rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    gap: var(--spacing-sm);
}

.chatbot-input input {
    flex: 1;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: var(--spacing-sm);
    color: var(--text-primary);
    font-family: var(--font-primary);
}

.chatbot-input input:focus {
    outline: none;
    border-color: var(--accent-purple);
}

.chatbot-input input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.chatbot-input button {
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--accent-purple);
    color: var(--text-primary);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition-fast);
}

.chatbot-input button:hover {
    background: var(--accent-blue);
}

.exemple-text h3 {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.exemple-text p {
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.exemple-list {
    list-style: none;
}

.exemple-list li {
    padding: var(--spacing-xs) 0;
    color: var(--text-primary);
    font-size: 1.125rem;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* ============================================
   PACKS SECTION
   ============================================ */

.packs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.pack-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: var(--spacing-md);
    transition: all var(--transition-normal);
    position: relative;
}

.pack-card:hover {
    transform: translateY(-10px);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.pack-featured {
    border: 2px solid var(--accent-purple);
    transform: scale(1.05);
}

.pack-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(139, 92, 246, 0.3);
    color: var(--text-primary);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.pack-badge-featured {
    background: var(--accent-gradient);
    color: var(--text-primary);
}

.pack-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.pack-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.pack-features {
    list-style: none;
    margin-bottom: var(--spacing-md);
}

.pack-features li {
    padding: var(--spacing-xs) 0;
    color: var(--text-primary);
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* ============================================
   INCLUS SECTION
   ============================================ */

.inclus {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.inclus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.inclus-item {
    text-align: center;
    padding: var(--spacing-md);
}

.inclus-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.inclus-item h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.inclus-item p {
    color: var(--text-primary);
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* ============================================
   FAQ SECTION
   ============================================ */

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    margin-bottom: var(--spacing-sm);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.faq-question {
    width: 100%;
    padding: var(--spacing-md);
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.125rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background var(--transition-fast);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.1);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--accent-purple);
    transition: transform var(--transition-fast);
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 var(--spacing-md) var(--spacing-md);
    color: var(--text-primary);
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* ============================================
   CTA FINAL SECTION
   ============================================ */

.cta-final {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    text-align: center;
    padding: var(--spacing-xl) 0;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.cta-content p {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    opacity: 0.9;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-section {
    padding: var(--spacing-xl) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.contact-form-wrapper h2,
.chatbot-wrapper h2 {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: var(--spacing-md);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: var(--spacing-sm);
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-purple);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group textarea {
    resize: vertical;
}

.form-message {
    margin-top: var(--spacing-md);
    padding: var(--spacing-sm);
    border-radius: 8px;
    display: none;
}

.form-message.success {
    background: rgba(16, 185, 129, 0.3);
    color: #ffffff;
    display: block;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.form-message.error {
    background: rgba(239, 68, 68, 0.3);
    color: #ffffff;
    display: block;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.chatbot-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 600px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

#chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.05);
}

.chatbot-quick-replies {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chatbot-quick-reply {
    padding: 8px 16px;
    background: rgba(139, 92, 246, 0.3);
    border: 1px solid rgba(139, 92, 246, 0.5);
    border-radius: 8px;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 0.875rem;
    transition: all var(--transition-fast);
    font-family: var(--font-primary);
    font-weight: 500;
}

.chatbot-quick-reply:hover {
    background: rgba(139, 92, 246, 0.4);
    border-color: var(--accent-purple);
    transform: translateY(-2px);
}

.chatbot-quick-reply:active {
    transform: translateY(0);
}

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

.footer {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: var(--spacing-lg) 0 var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.footer-brand h3 {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-xs);
}

.footer-brand p {
    color: var(--text-primary);
    font-size: 0.875rem;
    opacity: 0.8;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.footer-links {
    display: flex;
    gap: var(--spacing-md);
}

.footer-links a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.footer-links a:hover {
    color: var(--accent-purple);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
    color: var(--text-primary);
    font-size: 0.875rem;
    opacity: 0.7;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

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

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}

.fade-in-delay.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay-2 {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease 0.4s, transform 0.6s ease 0.4s;
}

.fade-in-delay-2.visible {
    opacity: 1;
    transform: translateY(0);
}

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

/* Optimisation performance pour mobile */
@media (max-width: 768px) {
    /* Réduire l'animation sur mobile pour meilleure performance */
    body {
        animation: gradientShift 40s ease infinite;
        background-size: 300% 300%;
    }
    
    body::before {
        opacity: 0.2; /* Réduire le noise sur mobile */
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(20px);
        width: 100%;
        padding: var(--spacing-md);
        transition: left var(--transition-normal);
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .exemple-content {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .packs-grid {
        grid-template-columns: 1fr;
    }

    .pack-featured {
        transform: scale(1);
    }

    .section-title {
        font-size: 2rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .footer-content {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }
}

@media (max-width: 480px) {
    /* Optimisation performance pour petits écrans */
    body {
        animation: gradientShift 50s ease infinite;
        background-size: 250% 250%;
    }
    
    body::before {
        opacity: 0.15;
    }
    
    .hero-title {
        font-size: 2rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }

    .btn-large {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

/* Préférence utilisateur pour réduire les animations (accessibilité) */
@media (prefers-reduced-motion: reduce) {
    body {
        animation: none;
        background: linear-gradient(90deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
        background-size: 100% 100%;
    }
    
    .fade-in,
    .fade-in-delay,
    .fade-in-delay-2 {
        transition: none;
        opacity: 1;
        transform: none;
    }
    
    .floating-card {
        animation: none;
    }
    
    .chatbot-status {
        animation: none;
    }
}
