:root {
    /* Couleurs principales */
    --primary: #4b3795;           /* Violet de base */
    --primary-medium: #6b4fc4;    /* Violet moyen lumineux */
    --primary-light: #8b6fd9;     /* Violet clair */
    --accent: #00d4ff;            /* Cyan électrique vif */
    --accent-light: #5de4ff;      /* Cyan clair */
    --accent-dark: #0096d4;       /* Cyan foncé */
    
    /* Couleurs de texte */
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --text-gray: #cccccc;
    --text-medium: #666;
    --text-secondary: #555;
    
    /* Backgrounds */
    --bg-white: #fff;
    --bg-light: #f8f9fa;
    --bg-dark: #1a1a1a;
    --bg-darker: #0a0a0a;
    
    /* Effets et ombres */
    --glow-cyan: rgba(0, 212, 255, 0.5);
    --glow-violet: rgba(75, 55, 149, 0.5);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background: var(--bg-white);
}

/* Navigation Menu */
.nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 999;
    padding: 1rem 2rem;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.nav-menu.hidden {
    transform: translateY(-100%);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-logo img {
    height: 40px;
    width: auto;
}

.nav-logo-text {
    color: var(--accent);
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

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

.nav-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    white-space: nowrap;
    text-transform: uppercase;;
}

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

.nav-cta {
    padding: 0.7rem 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-medium) 100%);
    color: var(--accent-light) !important;
    border-radius: 25px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px var(--glow-violet);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--glow-violet);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--accent);
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 50%, var(--bg-darker) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Lighthouse Effect - Main Beam */
.lighthouse-beam {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    perspective: 1000px;
    pointer-events: none;
}

.beam-container {
    position: absolute;
    width: 200%;
    height: 200%;
    top: 50%;
    left: 50%;
    transform-origin: center center;
    animation: rotateLighthouse 12s linear infinite;
}

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

.light-cone {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-left: 300px solid transparent;
    border-right: 300px solid transparent;
    border-bottom: 1200px solid rgba(91, 197, 212, 0.15);
    transform-origin: top center;
    transform: translate(-50%, -50%) rotateX(60deg);
    filter: blur(20px);
}

/* Secondary beam for depth */
.light-cone-2 {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-left: 200px solid transparent;
    border-right: 200px solid transparent;
    border-bottom: 1000px solid rgba(91, 197, 212, 0.25);
    transform-origin: top center;
    transform: translate(-50%, -50%) rotateX(60deg);
    filter: blur(10px);
}

/* Light glow at source */
.lighthouse-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(91, 197, 212, 0.6) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: glowPulse 2s ease-in-out infinite;
    box-shadow: 0 0 100px var(--glow-cyan);
}

@keyframes glowPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 1;
    }
}

/* Fog effect */
.fog {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 30% 50%, rgba(91, 197, 212, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 50%, rgba(91, 197, 212, 0.03) 0%, transparent 50%);
    animation: fogMove 20s ease-in-out infinite;
}

@keyframes fogMove {
    0%, 100% {
        transform: translateX(0);
        opacity: 0.5;
    }
    50% {
        transform: translateX(50px);
        opacity: 0.8;
    }
}

/* Animated Grid Background */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(91, 197, 212, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(91, 197, 212, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    z-index: 1;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

/* Floating Light Orbs */
.hero::after {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(91, 197, 212, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    top: -200px;
    right: -200px;
    animation: floatOrb 8s ease-in-out infinite;
    z-index: 1;
}

@keyframes floatOrb {
    0%, 100% { 
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }
    50% { 
        transform: translate(-100px, 100px) scale(1.2);
        opacity: 0.8;
    }
}

/* Moving Light Beam */
.light-beam {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

/* Particle Effect */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 15s infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; }
.particle:nth-child(3) { left: 30%; animation-delay: 4s; }
.particle:nth-child(4) { left: 40%; animation-delay: 1s; }
.particle:nth-child(5) { left: 50%; animation-delay: 3s; }
.particle:nth-child(6) { left: 60%; animation-delay: 5s; }
.particle:nth-child(7) { left: 70%; animation-delay: 2.5s; }
.particle:nth-child(8) { left: 80%; animation-delay: 4.5s; }
.particle:nth-child(9) { left: 90%; animation-delay: 1.5s; }
.particle:nth-child(10) { left: 15%; animation-delay: 3.5s; }

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.5;
    }
    90% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(-100px) scale(1);
        opacity: 0;
    }
}

/* Neural Network Lines */
.neural-network {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.1;
}

.network-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    animation: networkPulse 3s ease-in-out infinite;
}

.network-line:nth-child(1) {
    top: 20%;
    width: 300px;
    left: 10%;
    animation-delay: 0s;
}

.network-line:nth-child(2) {
    top: 40%;
    width: 250px;
    right: 15%;
    animation-delay: 1s;
}

.network-line:nth-child(3) {
    top: 60%;
    width: 200px;
    left: 20%;
    animation-delay: 2s;
}

.network-line:nth-child(4) {
    top: 80%;
    width: 280px;
    right: 10%;
    animation-delay: 1.5s;
}

@keyframes networkPulse {
    0%, 100% {
        opacity: 0;
        transform: scaleX(0);
    }
    50% {
        opacity: 0.3;
        transform: scaleX(1);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem;
    max-width: 1100px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 900;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
    text-transform: uppercase;
    animation: fadeInTitle 1.5s ease-out;
    text-shadow: 
        0 0 20px var(--glow-cyan),
        0 0 40px rgba(91, 197, 212, 0.3),
        2px 2px 4px rgba(0, 0, 0, 0.8);
}

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

.hero-subtitle {
    font-size: 1.6rem;
    color: var(--accent);
    margin-bottom: 1rem;
    font-weight: 600;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-tagline {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.6s both;
}

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

.cta-primary {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-medium) 100%);
    color: var(--accent-light);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 800;
    border-radius: 50px;
    transition: all 0.4s ease;
    box-shadow: 0 10px 40px var(--glow-violet);
    animation: fadeInUp 1s ease-out 0.9s both;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 60px var(--glow-violet);
    background: linear-gradient(135deg, var(--primary-medium) 0%, var(--primary-light) 100%);
}

/* Scroll Animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.scroll-reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.scroll-reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-reveal-scale.revealed {
    opacity: 1;
    transform: scale(1);
}

/* Stagger animation delays */
.scroll-reveal.delay-1 { transition-delay: 0.1s; }
.scroll-reveal.delay-2 { transition-delay: 0.2s; }
.scroll-reveal.delay-3 { transition-delay: 0.3s; }
.scroll-reveal.delay-4 { transition-delay: 0.4s; }

/* Counter Animation */
.counter {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary);
}

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

.counter.counting {
    animation: countUp 0.6s ease-out;
}

/* Partners Section */
.partners-section {
    padding: 3rem 2rem;
    background: var(--bg-white);
    text-align: center;
}

.partners-content {
    max-width: 800px;
    margin: 0 auto;
}

.partners-section h3 {
    font-size: 1.3rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
    font-weight: 600;
}

.partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.partner-logo {
    height: 60px;
    width: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.partner-logo:hover {
    opacity: 1;
}

/* Context Section */
.context-section {
    padding: 5rem 2rem;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.context-section::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(91, 197, 212, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    top: -100px;
    right: -100px;
    animation: floatSlow 10s ease-in-out infinite;
}

@keyframes floatSlow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-20px, 20px) scale(1.1); }
}

.context-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.context-content h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 2.5rem;
    font-weight: 800;
    text-align: center;
}

.context-boxes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.context-box {
    padding: 2.5rem;
    border-radius: 20px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.context-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--primary-medium));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.context-box:hover::before {
    transform: scaleX(1);
}

.context-box:hover {
    transform: translateY(-10px);
}

.highlight-box {
    background: linear-gradient(135deg, var(--bg-white) 0%, #f0e8f5 100%);
    box-shadow: 0 5px 25px rgba(43, 27, 61, 0.15);
    border: 2px solid rgba(43, 27, 61, 0.2);
}

.highlight-box:hover {
    box-shadow: 0 15px 40px rgba(43, 27, 61, 0.25);
}

.creative-box {
    background: linear-gradient(135deg, #fff5f5 0%, var(--bg-white) 100%);
    box-shadow: 0 5px 25px rgba(255, 107, 107, 0.1);
    border: 2px solid rgba(255, 107, 107, 0.15);
}

.creative-box:hover {
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.2);
}

.audience-box {
    background: linear-gradient(135deg, #f5f5ff 0%, var(--bg-white) 100%);
    box-shadow: 0 5px 25px rgba(150, 100, 255, 0.1);
    border: 2px solid rgba(150, 100, 255, 0.15);
}

.audience-box:hover {
    box-shadow: 0 15px 40px rgba(150, 100, 255, 0.2);
}

.usage-box {
    background: linear-gradient(135deg, #f5fff5 0%, var(--bg-white) 100%);
    box-shadow: 0 5px 25px rgba(100, 200, 100, 0.1);
    border: 2px solid rgba(100, 200, 100, 0.15);
}

.usage-box:hover {
    box-shadow: 0 15px 40px rgba(100, 200, 100, 0.2);
}

.box-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    animation: bounce 2s ease-in-out infinite;
}

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

.context-box p {
    font-size: 1.05rem;
    color: #333;
    line-height: 1.8;
    margin: 0;
}

.context-box strong {
    color: var(--primary-medium);
    font-weight: 700;
}

/* Guide Preview Section */
.guide-preview-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--bg-white) 0%, #f0f9ff 100%);
    position: relative;
    overflow: hidden;
}

.guide-preview-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(91, 197, 212, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -200px;
    right: -200px;
}

.guide-preview-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.guide-preview-text h2 {
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 800;
}

.guide-tagline {
    font-size: 1.2rem;
    color: var(--accent-dark);
    margin-bottom: 2.5rem;
    font-weight: 500;
}

.guide-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.highlight-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.highlight-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(43, 27, 61, 0.2);
}

.highlight-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 0.3rem;
}

.highlight-number.counter {
    font-size: 2.5rem;
}

.highlight-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-medium);
    font-weight: 600;
}

.guide-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.guide-preview-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.guide-cover-placeholder {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 0.7;
    background: 
        linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('../res/images/raconte-ton-ia.jpg') center/cover no-repeat,
        linear-gradient(135deg, var(--bg-dark) 0%, #2d2d2d 100%);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.guide-cover-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(91, 197, 212, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.guide-cover-placeholder:hover {
    transform: scale(1.03);
    box-shadow: 0 25px 70px var(--glow-cyan);
}

.guide-cover-placeholder:hover::before {
    opacity: 1;
}

.cover-content {
    text-align: center;
    color: white;
    position: relative;
    z-index: 2;
}

.cover-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent);
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.cover-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    color: var(--text-light);
    font-weight: 400;
}

.cover-authors {
    margin-bottom: 2rem;
    padding: 1.5rem 0;
    border-top: 2px solid rgba(91, 197, 212, 0.3);
    border-bottom: 2px solid rgba(91, 197, 212, 0.3);
}

.cover-authors p {
    margin: 0.3rem 0;
    font-size: 0.95rem;
    color: var(--text-gray);
}

.cover-footer {
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 600;
    font-style: italic;
}

.cover-note {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: #999;
    text-align: center;
}

/* Video Section */
.video-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #2d2d2d 100%);
    text-align: center;
}

.video-section h2 {
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.video-intro {
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1.15rem;
    color: #ccc;
    line-height: 1.8;
    text-align: center;
}

.video-container {
    max-width: 400px;
    margin: 0 auto 3rem;
    aspect-ratio: 9 / 16;
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--accent);
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.video-cta {
    margin-top: 3rem;
}

.video-cta p {
    color: #ccc;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.cta-secondary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: rgba(43,27, 61, 0.3);
    color: var(--accent-light);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.4s ease;
    border: 2px solid var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-secondary:hover {
    background: var(--primary);
    color: var(--accent-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--glow-violet);
}

/* Characters Section */
.characters-section {
    padding: 5rem 2rem;
    background: var(--bg-white);
}

.characters-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 800;
}

.characters-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.characters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.character-card {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
}

.character-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(43, 27, 61, 0.2);
    border-color: var(--primary);
}

.character-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--accent);
    box-shadow: 0 8px 25px var(--glow-cyan);
    transition: all 0.4s ease;
}

.character-card:hover .character-avatar {
    transform: scale(1.05);
    border-color: var(--primary);
    box-shadow: 0 12px 35px var(--glow-violet);
}

.character-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.character-name {
    font-size: 2rem;
    color: var(--primary-medium);
    margin-bottom: 0.5rem;
    font-weight: 800;
    text-align: center;
}

.character-age {
    font-size: 1rem;
    color: #999;
    margin-bottom: 1rem;
    text-align: center;
}

.character-location {
    font-size: 1rem;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    font-style: italic;
    text-align: center;
}

.character-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    text-align: left;
}

/* Features Section */
.features-section {
    padding: 5rem 2rem;
    background: var(--bg-light);
}

.features-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 3rem;
    font-weight: 800;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border-left: 5px solid var(--primary);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(43, 27, 61, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-description {
    font-size: 1.05rem;
    color: var(--text-medium);
    line-height: 1.7;
}

/* Collaborative Section */
.collaborative-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-medium) 100%);
    color: var(--text-light);
}

.collaborative-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.collaborative-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 800;
}

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

.collab-item {
    background: rgba(255, 255, 255, 0.15);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.collab-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

.collab-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

/* Beyond Section */
.beyond-section {
    padding: 5rem 2rem;
    background: var(--bg-dark);
    color: var(--text-light);
}

.beyond-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    font-weight: 800;
    color: var(--accent);
}

.beyond-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.beyond-item {
    background: #2d2d2d;
    padding: 2.5rem;
    border-radius: 15px;
    border: 2px solid var(--primary);
    transition: all 0.3s ease;
}

.beyond-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px var(--glow-violet);
}

.beyond-item h3 {
    font-size: 1.6rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.beyond-item p {
    font-size: 1.05rem;
    color: #ccc;
    line-height: 1.7;
}

/* Questionnaire Section */
.questionnaire-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #f0f9ff 0%, var(--bg-white) 100%);
    position: relative;
    overflow: hidden;
}

.questionnaire-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(91, 197, 212, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    top: -150px;
    left: -150px;
}

.questionnaire-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.questionnaire-section h2 {
    font-size: 2.3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.3;
}

.questionnaire-intro {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.questionnaire-cta {
    display: inline-block;
    padding: 1.3rem 3rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-medium) 100%);
    color: var(--accent-light);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 800;
    border-radius: 50px;
    transition: all 0.4s ease;
    box-shadow: 0 10px 40px var(--glow-violet);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.questionnaire-cta:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 60px var(--glow-violet);
    background: linear-gradient(135deg, var(--primary-medium) 0%, var(--primary-light) 100%);
}

/* Download Section */
.download-section {
    padding: 6rem 2rem;
    background: var(--bg-light);
    text-align: center;
}

.download-section h2 {
    font-size: 2.7rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.download-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.download-cta {
    display: inline-block;
    padding: 1.4rem 3.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-medium) 100%);
    color: var(--accent-light);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 800;
    border-radius: 50px;
    transition: all 0.4s ease;
    box-shadow: 0 15px 50px rgba(43, 27, 61, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 3px solid var(--primary-light);
}

.download-cta:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 25px 70px var(--glow-violet);
    background: linear-gradient(135deg, var(--primary-medium) 0%, var(--primary-light) 100%);
    color: var(--text-light);
}

.download-note {
    margin-top: 2rem;
    font-size: 0.95rem;
    color: #999;
}

/* Footer */
footer {
    background: var(--bg-dark);
    color: #ccc;
    padding: 3rem 2rem 1rem 2rem;
    text-align: center;
}

.footer-content {
    /*max-width: 1000px;*/
    margin: 0 auto;
}

.footer-authors {
    margin-bottom: 2rem;
}

.footer-authors h3 {
    color: var(--accent);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
}

.authors-cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto 2rem;
}

.author-card {
    background: linear-gradient(135deg, #2d2d2d 0%, var(--bg-dark) 100%);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.author-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 15px 40px var(--glow-violet);
}

.author-photo {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent);
    box-shadow: 0 5px 20px var(--glow-cyan);
}

.author-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-name {
    color: var(--accent);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.author-role {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-reinitialisons {
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
    border-top: 1px solid #444;
}

.reinitialisons-logo {
    max-width: 150px;
    margin: 1rem auto;
}

.reinitialisons-logo img {
    width: 100%;
    height: auto;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--accent-light);
    transform: translateY(-2px);
}

.footer-initiative {
    padding-top: 1rem;
    border-top: 1px solid #444;
}

.footer-initiative strong {
    color: var(--accent);
}

/* Podcast Player */
.podcast-player {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    right: auto;
    z-index: 1000;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #2d2d2d 100%);
    border-radius: 60px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
}

.podcast-player.expanded {
    border-radius: 20px;
    padding: 1.5rem;
    width: 320px;
}

.podcast-toggle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-medium) 100%);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px var(--glow-violet);
}

.podcast-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px var(--glow-violet);
}

.podcast-player.expanded .podcast-toggle {
    display: none;
}

.podcast-controls {
    display: none;
}

.podcast-player.expanded .podcast-controls {
    display: block;
}

.podcast-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.podcast-title {
    color: var(--accent);
    font-size: 1.1rem;
    font-weight: 700;
}

.podcast-close {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.podcast-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.podcast-status {
    color: #ccc;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    min-height: 1.5rem;
}

.podcast-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.podcast-btn {
    flex: 1;
    padding: 0.8rem;
    background: rgba(43, 27, 61, 0.3);
    border: 2px solid var(--primary);
    color: var(--accent-light);
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.podcast-btn:hover {
    background: rgba(43, 27, 61, 0.5);
    transform: translateY(-2px);
}

.podcast-btn.active {
    background: var(--primary);
    color: var(--accent-light);
}

.podcast-speed {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.speed-btn {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.speed-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.speed-btn.active {
    background: var(--primary);
    color: var(--accent-light);
    border-color: var(--primary);
}

/* Chatbot */
.chatbot-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #2d2d2d 100%);
    border-radius: 60px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
}

.chatbot-container.expanded {
    border-radius: 20px;
    width: 380px;
    height: 500px;
}

.chatbot-toggle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-medium) 100%);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px var(--glow-violet);
}

.chatbot-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px var(--glow-violet);
}

.chatbot-container.expanded .chatbot-toggle {
    display: none;
}

.chatbot-content {
    display: none;
    height: 100%;
    flex-direction: column;
    padding: 1.5rem;
}

.chatbot-container.expanded .chatbot-content {
    display: flex;
}

.chatbot-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chatbot-title {
    color: var(--accent);
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chatbot-close {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.chatbot-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chatbot-message {
    padding: 0.8rem 1rem;
    border-radius: 15px;
    max-width: 80%;
    word-wrap: break-word;
}

.chatbot-message.user {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-medium) 100%);
    color: var(--accent-light);
    align-self: flex-end;
    margin-left: auto;
}

.chatbot-message.assistant {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    align-self: flex-start;
}

.chatbot-message.typing {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent);
    font-style: italic;
}

.chatbot-input-container {
    display: flex;
    gap: 0.5rem;
}

.chatbot-input {
    flex: 1;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(91, 197, 212, 0.3);
    border-radius: 10px;
    color: var(--text-light);
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
}

.chatbot-input:focus {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.15);
}

.chatbot-send {
    padding: 0.8rem 1.2rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-medium) 100%);
    border: none;
    border-radius: 10px;
    color: var(--accent-light);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chatbot-send:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--glow-violet);
}

.chatbot-send:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 968px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(26, 26, 26, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-logo-text {
        font-size: 1rem;
    }

    .guide-preview-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .guide-highlights {
        grid-template-columns: repeat(3, 1fr);
    }

    .guide-cover-placeholder {
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-tagline {
        font-size: 1rem;
    }

    .context-boxes {
        grid-template-columns: 1fr;
    }

    .context-content h2,
    .video-section h2,
    .characters-section h2,
    .features-section h2,
    .collaborative-section h2,
    .beyond-section h2 {
        font-size: 2rem;
    }

    .download-section h2 {
        font-size: 2.2rem;
    }
    
    .questionnaire-section h2 {
        font-size: 1.8rem;
    }

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

@media (max-width: 640px) {
    .guide-highlights {
        grid-template-columns: 1fr;
    }

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

    .cover-subtitle {
        font-size: 1rem;
    }

    .video-container {
        max-width: 300px;
    }

    .podcast-player {
        bottom: 1rem;
        left: 1rem;
    }

    .podcast-player.expanded {
        width: calc(100vw - 2rem);
        left: 1rem;
    }

    .chatbot-container {
        bottom: 1rem;
        right: 1rem;
    }

    .chatbot-container.expanded {
        width: calc(100vw - 2rem);
        right: 1rem;
        height: 70vh;
    }
}

@media (max-width: 968px) {
    .authors-cards {
        grid-template-columns: repeat(3, 1fr);
        max-width: 900px;
    }
}

@media (max-width: 768px) {
    .authors-cards {
        grid-template-columns: repeat(2, 1fr);
        max-width: 600px;
    }
}

@media (max-width: 640px) {
    .authors-cards {
        grid-template-columns: 1fr;
        max-width: 350px;
    }
}