
:root {
    --color-black: #0a0a0a;
    --color-white: #ffffff;
    --color-orange: #FF6B35;
    --color-gray-light: #f5f5f5;
    --color-gray-dark: #1a1a1a;
    
    --font-main: 'Chakra Petch', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-black);
    color: var(--color-white);
    overflow-x: hidden;
    line-height: 1.6;
    cursor: none;
}

/* Curseur personnalisé */
.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-orange);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.15s ease, background 0.15s ease;
    transform: translate(-50%, -50%);
}

.custom-cursor.hover {
    transform: translate(-50%, -50%) scale(1.5);
    background: rgba(255, 107, 53, 0.3);
}

.custom-cursor.click {
    transform: translate(-50%, -50%) scale(0.8);
}

.cursor-dot {
    position: fixed;
    width: 6px;
    height: 6px;
    background: var(--color-orange);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
}

/* VHS Noise Effect */
.vhs-noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    animation: noise 0.2s steps(10) infinite;
}

@keyframes noise {
    0%, 100% { transform: translate(0, 0); }
    10% { transform: translate(-1%, -1%); }
    20% { transform: translate(1%, 1%); }
    30% { transform: translate(-1%, 1%); }
    40% { transform: translate(1%, -1%); }
    50% { transform: translate(-1%, 0); }
    60% { transform: translate(1%, 0); }
    70% { transform: translate(0, 1%); }
    80% { transform: translate(0, -1%); }
    90% { transform: translate(1%, 1%); }
}

/* Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-orange), #ff9a5a, var(--color-orange));
    z-index: 1001;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px var(--color-orange);
}

/* Cyberpunk Grid Background */
.cyber-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, rgba(255, 107, 53, 0.03) 1px, transparent 1px),
        linear-gradient(rgba(255, 107, 53, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: perspective(500px) rotateX(60deg) translateY(0); }
    100% { transform: perspective(500px) rotateX(60deg) translateY(60px); }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--color-orange);
    border: none;
    border-radius: 50%;
    cursor: none;
    z-index: 1000;
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.4);
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.6);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    fill: white;
}

/* Ripple Effect */
.ripple {
    position: relative;
    overflow: hidden;
}

.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Stagger Animation for Cards */
.video-card {
    opacity: 1;
    transform: translateY(0);
}

.video-card.animate-in {
    animation: cardFadeIn 0.6s ease forwards;
}

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

/* Enhanced Section Transitions */
.section {
    position: relative;
    overflow: hidden;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.chaine::before {
    background: radial-gradient(ellipse at center, rgba(255, 107, 53, 0.05) 0%, transparent 70%);
}

.chaine.visible::before {
    opacity: 1;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    transform: translateY(-100%);
    transition: var(--transition-smooth);
    opacity: 0;
}

.navbar.visible {
    transform: translateY(0);
    opacity: 1;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

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

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: transparent;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.28);
}

.nav-toggle:focus-visible {
    outline: 2px solid var(--color-orange);
    outline-offset: 4px;
}

.nav-toggle-bar {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: var(--color-white);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.navbar.menu-open .nav-toggle {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.28);
}

.navbar.menu-open .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.navbar.menu-open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.navbar.menu-open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.logo-c {
    color: var(--color-white);
    font-size: 1.8rem;
}

.logo-text {
    color: var(--color-orange);
    margin-left: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    color: var(--color-white);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    padding: 0.5rem 0;
}

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

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

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 10, 0.3) 0%,
        rgba(10, 10, 10, 0.6) 100%
    );
    z-index: 2;
}

.crt-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.15),
        rgba(0, 0, 0, 0.15) 1px,
        transparent 1px,
        transparent 2px
    );
    pointer-events: none;
    z-index: 2;
    animation: scanline 8s linear infinite;
}

@keyframes scanline {
    0% { transform: translateY(0); }
    100% { transform: translateY(4px); }
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 0 2rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero-logo {
    margin-bottom: 2rem;
}

.logo-img {
    width: 350px;
    height: auto;
    filter: drop-shadow(0 0 40px rgba(255, 107, 53, 0.4));
    animation: logoFloat 6s ease-in-out infinite;
}

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

.hero-tagline {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    opacity: 0.9;
    display: flex;
    justify-content: center;
    align-items: baseline;
    flex-wrap: wrap;
    column-gap: 0.34em;
    row-gap: 0.14em;
    line-height: 1.12;
}

.hero-tagline .canal-plus-inline {
    display: inline-block;
    flex: 0 0 auto;
    height: 0.82em;
    width: auto;
    margin-left: 0;
    vertical-align: baseline;
    transform: translateY(0.07em);
}

.hero-year {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-orange);
    letter-spacing: 0.3em;
}

/* Scroll Indicator - Masquée */
.scroll-indicator {
    display: none;
}

.scroll-arrow {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    position: relative;
    animation: scrollBounce 2s infinite;
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    width: 6px;
    height: 6px;
    background: var(--color-white);
    border-radius: 50%;
    transform: translateX(-50%);
    animation: scrollDot 2s infinite;
}

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

@keyframes scrollDot {
    0% { top: 10px; opacity: 1; }
    100% { top: 30px; opacity: 0; }
}

/* Sections générales */
.section {
    padding: 8rem 0;
    position: relative;
}

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

/* Section Découvrir */
.decouvrir .subsection-title {
    margin-bottom: 2rem;
}

.decouvrir {
    background-color: var(--color-gray-light);
    color: var(--color-black);
    padding: 4rem 0 2rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 4rem;
    border-bottom: 3px solid var(--color-black);
    padding-bottom: 2rem;
}

.section-title {
    font-size: clamp(3rem, 12vw, 10rem);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.03em;
    margin: 0 0 4rem 0;
    text-align: center;
}

.section-year {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--color-orange);
}

.text-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 5rem;
}

.text-block {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-smooth);
}

.text-block.visible {
    opacity: 1;
    transform: translateY(0);
}

.text-block h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-black);
}

.text-block p {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
}

.video-presentation {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-presentation.visible {
    opacity: 1;
    transform: scale(1);
}

/* Split Layout pour Découvrir */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    min-height: 60vh;
    align-items: center;
    margin-bottom: 4rem;
}

.split-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.big-title {
    margin-bottom: 2rem;
}

.title-c {
    display: block;
    font-size: clamp(4rem, 15vw, 12rem);
    font-weight: 800;
    line-height: 0.9;
    color: var(--color-black);
    letter-spacing: -0.05em;
}

.title-year {
    display: block;
    font-size: clamp(2rem, 8vw, 6rem);
    font-weight: 700;
    color: var(--color-orange);
    line-height: 1;
    margin-top: 0.5rem;
}

.title-sub {
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 600;
    line-height: 1.4;
    color: var(--color-black);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    max-width: 400px;
}

.split-right {
    display: flex;
    align-items: center;
}

.story-text {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #333;
}

.decouvrir-story {
    max-width: 46rem;
    padding: 2.25rem 2.5rem;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(10, 10, 10, 0.08);
    border-top: 4px solid var(--color-black);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.08);
}

.story-text p {
    margin-bottom: 1.5rem;
}

.story-text .lead-text {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-black);
    line-height: 1.7;
}

.story-text strong {
    color: var(--color-orange);
    font-weight: 700;
}

.decouvrir-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin: 0 0 3.5rem;
}

.decouvrir-fact {
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(10, 10, 10, 0.08);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.06);
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.decouvrir-fact .decouvrir-fact-label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-orange);
    margin-bottom: 0.35rem;
}

.decouvrir-fact .decouvrir-fact-value,
.decouvrir-fact p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #333;
    margin: 0;
}

.decouvrir-fact.visible {
    opacity: 1;
    transform: translateY(0);
}

.decouvrir .service-card {
    padding: 1.25rem 1.5rem;
}

.decouvrir .service-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.decouvrir .service-card p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0;
}
    border-color: rgba(255, 107, 53, 0.45);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.08);
}

.decouvrir-fact-label {
    display: block;
    margin-bottom: 0.7rem;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #666;
}

.decouvrir-fact-value {
    display: block;
    margin-bottom: 0.6rem;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-black);
}

.decouvrir-fact p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.65;
    color: #444;
}

.decouvrir .video-presentation {
    margin-top: 0;
}

.decouvrir .custom-video-player {
    border-radius: 18px;
    border: 1px solid rgba(10, 10, 10, 0.12);
    box-shadow: 0 28px 54px rgba(0, 0, 0, 0.18);
}

@media (max-width: 1024px) {
    .split-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
        min-height: auto;
    }
    
    .split-left {
        text-align: center;
    }
    
    .title-sub {
        margin: 0 auto;
    }

    .decouvrir-story {
        padding: 1.75rem;
    }

    .decouvrir-facts {
        grid-template-columns: 1fr;
    }
}

.present-video {
    width: 100%;
    height: auto;
    display: block;
}

/* Vidéo responsive avec contrôles */
.video-presentation.responsive-video {
    max-width: 100%;
    margin: 0 auto;
}

.video-presentation.responsive-video .present-video {
    max-height: 70vh;
    object-fit: contain;
}

/* Player vidéo personnalisé stylé */
.custom-video-player {
    position: relative;
    width: 100%;
    background: #000;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.custom-video-player video {
    width: 100%;
    height: auto;
    display: block;
}

/* Masquer les contrôles natifs pour utiliser les contrôles custom */
.custom-video-player video::-webkit-media-controls {
    display: none !important;
}

.custom-video-player video::-webkit-media-controls-enclosure {
    display: none !important;
}

.custom-video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
    padding: 20px 15px 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.custom-video-player:hover .custom-video-controls,
.custom-video-player.playing .custom-video-controls {
    opacity: 1;
}

/* Barre de progression */
.video-progress-container {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
}

.video-progress-bar {
    height: 100%;
    background: var(--color-orange);
    border-radius: 2px;
    width: 0%;
    position: relative;
    transition: height 0.2s;
}

.video-progress-container:hover .video-progress-bar {
    height: 6px;
    margin-top: -1px;
}

.video-progress-handle {
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: var(--color-orange);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.2s;
}

.video-progress-container:hover .video-progress-handle {
    opacity: 1;
}

/* Boutons de contrôle */
.video-controls-row {
    display: flex;
    align-items: center;
    gap: 15px;
}

.video-control-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    border-radius: 4px;
}

.video-control-btn:hover {
    background: rgba(255, 107, 53, 0.2);
    color: var(--color-orange);
}

.video-control-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.video-control-btn.play-pause svg {
    width: 24px;
    height: 24px;
}

/* Volume */
.video-volume-container {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.video-volume-slider {
    width: 80px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
}

.video-volume-level {
    height: 100%;
    background: var(--color-orange);
    border-radius: 2px;
    width: 70%;
}

/* Temps */
.video-time {
    color: white;
    font-family: var(--font-main);
    font-size: 0.85rem;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.05em;
}

/* Plein écran */
.video-control-btn.fullscreen {
    margin-left: auto;
}

/* Bouton play overlay */
.video-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 107, 53, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 1;
    transition: all 0.3s;
    border: 3px solid white;
}

.video-play-overlay:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--color-orange);
    box-shadow: 0 0 30px rgba(255, 107, 53, 0.6);
}

.video-play-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.video-play-overlay svg {
    width: 30px;
    height: 30px;
    fill: white;
    margin-left: 5px;
}

/* Loading overlay */
.video-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.video-loading-overlay.active {
    opacity: 1;
}

.video-loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 107, 53, 0.3);
    border-top-color: var(--color-orange);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Section Origines */
/* Section Origines */
.origines .section-title-light {
    color: #1a1a1a;
}

.origines {
    padding-top: 4rem;
    padding-bottom: 2.5rem;
}

.origines .story-text p:last-child {
    margin-bottom: 0 !important;
}

.origines .origines-text {
    max-width: 800px;
    margin: 2rem auto 0;
    text-align: center;
}

.origines .origines-text p {
    color: rgba(40, 40, 40, 0.9);
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.chaine {
    background-color: var(--color-black);
    padding-top: 4.5rem;
    padding-bottom: 3rem;
}

.section-title-light {
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 5rem;
    letter-spacing: 0.1em;
    color: var(--color-white);
}

/* Grille exemple (juillet 1997) */
.programme-table-wrap {
    max-width: 980px;
    margin: 0 auto 2.2rem;
    position: relative;
    z-index: 2;
}

.programme-table-wrap .subsection-title {
    margin-bottom: 0.75rem;
    text-align: center;
}

.programme-board {
    border: 2px solid var(--color-orange);
    border-radius: 14px;
    overflow: hidden;
    background: radial-gradient(circle at 60% 40%, rgba(255, 107, 53, 0.14), rgba(20, 10, 10, 0.94) 70%);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.34);
    overflow-x: auto;
}

.programme-board-head,
.programme-row {
    display: grid;
    grid-template-columns: 140px 1fr 280px;
    align-items: center;
    gap: 1rem;
    min-width: 640px;
}

.programme-board-head {
    background: rgba(10, 10, 10, 0.72);
    border-bottom: 1px solid rgba(255, 107, 53, 0.35);
    padding: 0.9rem 1.2rem;
}

.programme-board-head span {
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.82rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.96);
    white-space: nowrap;
}

.programme-board-head span:last-child,
.programme-row span:last-child {
    text-align: right;
}

.programme-board-body {
    padding: 0.15rem 0;
}

.programme-row {
    padding: 0.62rem 1.2rem;
    min-height: 52px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.programme-row:last-child {
    border-bottom: none;
}

.programme-row:hover {
    background: rgba(255, 107, 53, 0.16);
}

.programme-row span {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.94);
}

.programme-time {
    font-weight: 700;
    color: #ff9a5a;
    white-space: nowrap;
}

.programme-table-note {
    margin-top: 0.55rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.75);
    text-align: center;
    font-size: 0.92rem;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline-line {
    display: none;
}

.timeline-section {
    margin-bottom: 6rem;
    opacity: 1;
    transform: translateY(0);
    transition: var(--transition-smooth);
}

.timeline-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.category-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.category-title {
    display: inline-block;
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: var(--color-black);
    padding: 0.5rem 2rem;
    border: 2px solid var(--color-orange);
    color: var(--color-white);
}

/* Grid */
.grid-regular {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.video-card {
    background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 107, 53, 0.1);
    transition: var(--transition-bounce);
    cursor: none;
    opacity: 1;
    transform: translateY(0);
}

.chaine .video-card {
    background: linear-gradient(135deg, #333 0%, #2a2a2a 100%);
    border: 1px solid rgba(255, 107, 53, 0.2);
}

.video-card.animate-in {
    animation: cardFadeIn 0.6s ease forwards;
}

.video-card.preview-active {
    border-color: rgba(255, 107, 53, 0.55);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.22);
}

@media (hover: hover) and (pointer: fine) {
    .video-card:hover {
        border-color: var(--color-orange);
        transform: scale(1.03);
        box-shadow: 0 20px 40px rgba(255, 107, 53, 0.3);
    }
}

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

.video-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 50%, #1a1a1a 100%);
}

.video-thumbnail::after {
    content: '▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: var(--color-orange);
    opacity: 0.7;
    transition: var(--transition-smooth);
}

.video-card:hover .video-thumbnail::after,
.video-card.preview-active .video-thumbnail::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.2);
}

.hover-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.1);
    transition: var(--transition-smooth);
}

.video-card:hover .hover-video,
.video-card.preview-active .hover-video {
    opacity: 1;
    transform: scale(1);
}

.video-thumbnail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--color-orange), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.video-card:hover .video-thumbnail::before,
.video-card.preview-active .video-thumbnail::before {
    opacity: 0.3;
}

.video-info {
    padding: 1.5rem;
}

.video-info h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-white);
}

.video-info p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

[data-hidden] {
    display: none !important;
}

.chaine .video-info p {
    color: rgba(255, 255, 255, 0.95);
}

.video-card.small .video-thumbnail {
    aspect-ratio: 16/9;
}

/* Section Téléchargement */
.telechargement {
    background-color: var(--color-gray-light);
    color: var(--color-black);
    padding: 6rem 0;
}

.telechargement .intro-block-dark {
    background: var(--color-black);
    color: var(--color-white);
    padding: 3rem;
    border-radius: 12px;
    margin-bottom: 4rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 107, 53, 0.3);
}

.telechargement .intro-block-dark p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--color-white) !important;
    margin: 0;
    text-align: center;
}

.telechargement .intro-block-dark strong {
    color: var(--color-orange);
    font-weight: 700;
}

/* Schéma Full Width */
.schema-fullwidth {
    width: 100%;
    margin-bottom: 5rem;
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-smooth);
}

.schema-fullwidth.visible {
    opacity: 1;
    transform: translateY(0);
}

.schema-diagram {
    width: 100%;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 107, 53, 0.3);
    position: relative;
    overflow: hidden;
}

.schema-diagram::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.schema-svg-large {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
}

/* Animations des signaux */
.signal-flow {
    animation: signalFlow 2s linear infinite;
}

.signal-flow-down {
    animation: signalFlowDown 1.5s linear infinite;
}

@keyframes signalFlow {
    0% {
        stroke-dashoffset: 0;
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
    100% {
        stroke-dashoffset: -24;
        opacity: 1;
    }
}

@keyframes signalFlowDown {
    0% {
        stroke-dashoffset: 0;
        opacity: 0.8;
    }
    100% {
        stroke-dashoffset: -30;
        opacity: 0.8;
    }
}

.schema-element {
    filter: drop-shadow(0 0 10px rgba(255, 107, 53, 0.3));
    transition: filter 0.3s ease;
}

.schema-element:hover {
    filter: drop-shadow(0 0 20px rgba(255, 107, 53, 0.6));
}

/* Info blocks */
.telechargement-info {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 5rem;
}

.info-block {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-smooth);
    border-left: 4px solid transparent;
}

.info-block.visible {
    opacity: 1;
    transform: translateY(0);
}

.info-block:nth-child(1).visible { border-left-color: #FF6B35; }
.info-block:nth-child(2).visible { border-left-color: #FF6B35; }
.info-block:nth-child(3).visible { border-left-color: #FF6B35; }
.info-block:nth-child(4).visible { border-left-color: #FF6B35; }

.info-block h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-black);
}

.info-block p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 0;
}

.info-block p:empty {
    display: none;
}

.simple-list {
    list-style: none;
    padding: 0;
}

.simple-list li {
    padding: 0.4rem 0;
    font-size: 0.9rem;
    color: #444;
    position: relative;
    padding-left: 1.2rem;
}

.simple-list li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--color-orange);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Services cards */
.telechargement-services {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.service-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--color-orange);
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-black);
}

.service-card p {
    font-size: 1rem;
    line-height: 1.8;
    color: #444;
}

.config-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--color-orange);
    font-weight: bold;
}

.subsection-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--color-black);
}

.videos-tutoriels {
    margin-top: 4rem;
}

.videos-tutoriels .video-card {
    background: var(--color-white);
    border: 1px solid #ddd;
}

.videos-tutoriels .video-info h4 {
    color: var(--color-black);
}

.decouvrir .archives-press-intro,
.decouvrir .archives-logos-intro,
.decouvrir .archives-navigation-intro,
.decouvrir .archives-discover-intro {
    margin-bottom: 1.5rem;
}

.decouvrir .archive-filepath {
    margin-top: 1rem;
    color: var(--color-orange);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.decouvrir .archive-logo-preview {
    width: 100%;
    max-width: 180px;
    height: auto;
    display: block;
    margin-bottom: 1rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.2);
    padding: 0.4rem;
}

.archives .subsection-title {
    color: var(--color-white);
}

.archives .telechargement-services {
    margin-bottom: 3rem;
}

.archives .archives-press-intro {
    margin-bottom: 1.5rem;
}

.archives .archives-logos-intro,
.archives .archives-credits-intro,
.archives .archives-navigation-intro,
.archives .archives-discover-intro {
    margin-bottom: 1.5rem;
}

.archives .archive-filepath {
    margin-top: 1rem;
    color: var(--color-orange);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.archives .archive-logo-preview {
    width: 100%;
    max-width: 180px;
    height: auto;
    display: block;
    margin-bottom: 1rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.2);
    padding: 0.4rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.97);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    backdrop-filter: blur(3px);
}

.modal.active {
    display: flex;
}

.modal-content {
    position: relative;
    max-width: 1000px;
    width: 100%;
    background: var(--color-gray-dark);
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--color-orange);
    max-height: calc(100vh - 2rem);
    display: flex;
    flex-direction: column;
}

.modal-close {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    font-size: 2rem;
    color: var(--color-white);
    cursor: pointer;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.78);
    border: 1px solid rgba(255, 107, 53, 0.55);
    border-radius: 50%;
    transition: var(--transition-smooth);
}

.modal-close:hover {
    background: var(--color-orange);
}

/* Loader rétro */
.retro-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-black);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: opacity 0.5s ease;
}

.retro-loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader-text {
    font-family: var(--font-main);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-orange);
    letter-spacing: 0.3em;
    margin-bottom: 2rem;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.loader-bar {
    width: 300px;
    height: 20px;
    border: 2px solid var(--color-orange);
    background: rgba(255, 107, 53, 0.1);
    position: relative;
    overflow: hidden;
}

.loader-progress {
    height: 100%;
    background: var(--color-orange);
    width: 0%;
    animation: loadProgress 2s ease-out forwards;
}

@keyframes loadProgress {
    0% { width: 0%; }
    100% { width: 100%; }
}

.loader-blocks {
    display: flex;
    gap: 10px;
    margin-top: 2rem;
}

.loader-blocks span {
    width: 15px;
    height: 15px;
    background: var(--color-orange);
    animation: blockPulse 0.5s infinite alternate;
}

.loader-blocks span:nth-child(2) { animation-delay: 0.1s; }
.loader-blocks span:nth-child(3) { animation-delay: 0.2s; }
.loader-blocks span:nth-child(4) { animation-delay: 0.3s; }
.loader-blocks span:nth-child(5) { animation-delay: 0.4s; }

@keyframes blockPulse {
    from { opacity: 0.3; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

#modalVideo {
    width: 100%;
    height: auto;
    max-height: min(70vh, calc(100vh - 210px));
    background: #000;
    object-fit: contain;
    display: block;
}

.modal-info {
    padding: 1.1rem 1.25rem 1.25rem;
    max-height: 26vh;
    overflow-y: auto;
}

.modal-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--color-white);
}

.modal-info p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .modal {
        padding: 0.6rem;
    }

    .modal-content {
        max-height: calc(100vh - 1.2rem);
    }

    #modalVideo {
        max-height: calc(100vh - 170px);
    }

    .modal-info {
        padding: 0.9rem 1rem 1rem;
        max-height: 24vh;
    }

    .modal-info h3 {
        font-size: 1.25rem;
        margin-bottom: 0.55rem;
    }

    .modal-info p {
        font-size: 0.96rem;
        line-height: 1.5;
    }
}

/* Easter egg - Glitch effect */
.glitch-mode {
    animation: glitch 0.3s infinite;
}

@keyframes glitch {
    0% {
        transform: translate(0);
        filter: hue-rotate(0deg);
    }
    20% {
        transform: translate(-2px, 2px);
        filter: hue-rotate(90deg);
    }
    40% {
        transform: translate(-2px, -2px);
        filter: hue-rotate(180deg);
    }
    60% {
        transform: translate(2px, 2px);
        filter: hue-rotate(270deg);
    }
    80% {
        transform: translate(2px, -2px);
        filter: hue-rotate(360deg);
    }
    100% {
        transform: translate(0);
        filter: hue-rotate(0deg);
    }
}

.glitch-mode .hero {
    box-shadow: inset 0 0 50px rgba(255, 107, 53, 0.5);
}

/* Responsive */
@media (max-width: 1024px) {
    .split-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
        min-height: auto;
    }
    
    .split-left {
        text-align: center;
    }
    
    .title-sub {
        margin: 0 auto;
        max-width: 500px;
    }
    
    .telechargement-info {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .telechargement-services {
        grid-template-columns: 1fr;
    }
    
    .grid-regular {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px), (max-width: 1024px) and (orientation: portrait) {
    .navbar {
        padding: 1rem 0;
    }

    .nav-container {
        position: relative;
        flex-wrap: wrap;
        gap: 0.85rem;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav-menu {
        order: 3;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin: 0;
        max-height: 0;
        padding: 0;
        overflow: hidden;
        opacity: 0;
        pointer-events: none;
        background: rgba(18, 18, 18, 0.96);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 18px;
        box-shadow: 0 24px 40px rgba(0, 0, 0, 0.28);
        transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.25s ease, margin-top 0.25s ease;
    }

    .navbar.menu-open .nav-menu {
        max-height: 320px;
        margin-top: 0.25rem;
        padding: 0.5rem 0;
        opacity: 1;
        pointer-events: auto;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        padding: 0.95rem 1.25rem;
    }

    .nav-menu a::after {
        display: none;
    }
    
    .grid-regular {
        grid-template-columns: 1fr;
    }
    
    .logo-img {
        width: 200px;
    }
    
    .section {
        padding: 5rem 0;
    }
    
    .timeline-line {
        left: 20px;
    }
    
    .telechargement-info {
        grid-template-columns: 1fr;
    }
    
    .schema-diagram {
        padding: 1.25rem;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }

    .schema-svg-large {
        min-width: 900px;
    }
    
    .telechargement .intro-block-dark {
        padding: 2rem;
        margin-bottom: 3rem;
    }
    
    .telechargement .intro-block-dark p {
        font-size: 1rem;
    }

    .programme-table-wrap {
        margin-bottom: 2.25rem;
    }

    .programme-board-head,
    .programme-row {
        grid-template-columns: 110px 1fr 220px;
        min-width: 560px;
        gap: 0.7rem;
    }

    .programme-board-head {
        padding: 0.72rem 0.85rem;
    }

    .programme-board-head span {
        font-size: 0.72rem;
    }

    .programme-row {
        padding: 0.52rem 0.85rem;
        min-height: 44px;
    }

    .programme-row span {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
    }
    
    .back-to-top {
        right: 20px;
    }
}

/* Animation spin pour le loader */
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Section Comparaison Débit */
.debit {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    color: var(--color-white);
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.debit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 107, 53, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.section-title-center {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--color-white);
    letter-spacing: 0.1em;
    position: relative;
    z-index: 1;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.speed-comparison {
    max-width: 900px;
    margin: 0 auto 4rem;
    position: relative;
    z-index: 1;
}

.speed-bar-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-bottom: 4rem;
}

.speed-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(255, 107, 53, 0.2);
    transition: all 0.3s ease;
}

.speed-item:hover {
    border-color: var(--color-orange);
    background: rgba(255, 107, 53, 0.05);
}

.speed-item.cdirect {
    border-color: var(--color-orange);
    background: rgba(255, 107, 53, 0.1);
}

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

.speed-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-white);
}

.speed-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-orange);
    font-family: var(--font-main);
}

.speed-bar {
    width: 100%;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.speed-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-orange) 0%, #ff8c5a 100%);
    border-radius: 15px;
    width: 0%;
    transition: width 2s ease-out;
    position: relative;
    overflow: hidden;
}

.speed-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
    animation: shimmer 2s infinite;
}

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

.speed-item.modem .speed-fill {
    background: linear-gradient(90deg, #666 0%, #888 100%);
}

.speed-time {
    display: block;
    margin-top: 0.8rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

.speed-visual {
    display: flex;
    justify-content: center;
    margin: 3rem 0;
}

.file-download {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 107, 53, 0.3);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    min-width: 300px;
}

.file-icon {
    color: var(--color-orange);
    margin-bottom: 1rem;
}

.file-name {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 1rem;
    font-family: monospace;
}

.download-progress {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.download-bar {
    height: 100%;
    background: var(--color-orange);
    border-radius: 4px;
    width: 0%;
    animation: downloadFill 3s ease-out forwards;
}

@keyframes downloadFill {
    0% { width: 0%; }
    100% { width: 100%; }
}

.speed-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    justify-content: center;
    gap: 2rem;
    max-width: 620px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 107, 53, 0.2);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.stat-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.stat-item:nth-child(1).visible { transition-delay: 0s; }
.stat-item:nth-child(2).visible { transition-delay: 0.2s; }

.stat-number {
    display: block;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--color-orange);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

@media (max-width: 768px) {
    .speed-stats {
        grid-template-columns: 1fr;
        max-width: 420px;
    }
    
    .speed-label {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* Section Interface 1996 */
.interface {
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 8rem 0;
}

.interface-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.interface-main {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
    border: 2px solid rgba(255, 107, 53, 0.3);
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-smooth);
}

.interface-main.visible {
    opacity: 1;
    transform: translateY(0);
}

.interface-img-main {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.interface-caption {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}

.interface-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.interface-thumb {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid rgba(255, 107, 53, 0.2);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.interface-thumb.visible {
    opacity: 1;
    transform: translateY(0);
}

.interface-thumb:nth-child(1).visible { transition-delay: 0.1s; }
.interface-thumb:nth-child(2).visible { transition-delay: 0.2s; }
.interface-thumb:nth-child(3).visible { transition-delay: 0.3s; }
.interface-thumb:nth-child(4).visible { transition-delay: 0.4s; }
.interface-thumb:nth-child(5).visible { transition-delay: 0.5s; }
.interface-thumb:nth-child(6).visible { transition-delay: 0.6s; }

.interface-thumb:hover {
    border-color: var(--color-orange);
    transform: scale(1.05);
    background: rgba(255, 107, 53, 0.1);
}

.interface-thumb img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.interface-thumb span {
    font-size: 0.9rem;
    color: var(--color-white);
    font-weight: 600;
}

.interface-info {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 3rem;
    border: 1px solid rgba(255, 107, 53, 0.2);
}

.info-tech {
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.info-tech.visible {
    opacity: 1;
    transform: translateY(0);
}

.info-tech h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--color-orange);
}

.tech-list {
    list-style: none;
    padding: 0;
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
}

.tech-list li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 107, 53, 0.2);
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
}

.tech-list li:last-child {
    border-bottom: none;
}

.tech-list strong {
    color: var(--color-orange);
    font-weight: 700;
}

@media (max-width: 1024px) {
    .interface-gallery {
        grid-template-columns: 1fr;
    }
    
    .interface-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

/* Interface Modal Lightbox */
.interface-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.interface-modal-content {
    position: relative;
    max-width: 900px;
    width: 100%;
    text-align: center;
}

.interface-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    font-size: 2.5rem;
    color: var(--color-white);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}

.interface-modal-close:hover {
    color: var(--color-orange);
}

.interface-modal img {
    max-width: 100%;
    max-height: 70vh;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.interface-modal p {
    margin-top: 1rem;
    font-size: 1.2rem;
    color: var(--color-white);
}

/* Touch devices - hide custom cursor */
@media (hover: none) and (pointer: coarse) {
    .custom-cursor,
    .cursor-dot {
        display: none !important;
    }
    
    body {
        cursor: auto !important;
    }
    
    .video-card,
    button,
    a {
        cursor: pointer !important;
    }
}

/* === SECTION OFFRE COMPONENTS === */
.offre-components {
    margin-top: 5rem;
}

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

.component-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-top: 4px solid var(--color-orange);
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-smooth);
}

.component-card.visible {
    opacity: 1;
    transform: translateY(0);
}

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

.component-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--color-orange), #ff9a5a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.component-icon svg {
    width: 35px;
    height: 35px;
    fill: white;
}

.component-card h4 {
    color: var(--color-black);
    margin-bottom: 1rem;
    font-size: 1.15rem;
    font-weight: 700;
}

.component-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* === SECTION TIMELINE HISTORIQUE === */
.histoire {
    background: linear-gradient(135deg, #0a0a0a 0%, #151515 50%, #0a0a0a 100%);
    padding: 8rem 0;
    position: relative;
}

.histoire::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(255, 107, 53, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.timeline-historique {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline-historique::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, transparent, var(--color-orange), transparent);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    padding: 1.5rem 0;
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
    transform: translateX(50px);
}

.timeline-item:nth-child(even).visible {
    transform: translateX(0);
}

.timeline-marker {
    width: 24px;
    height: 24px;
    background: var(--color-orange);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.6), 0 0 40px rgba(255, 107, 53, 0.3);
    border: 3px solid var(--color-black);
}

.timeline-content {
    width: 42%;
    background: rgba(255, 255, 255, 0.05);
    padding: 1.75rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 107, 53, 0.3);
    backdrop-filter: blur(10px);
}

.timeline-date {
    display: inline-block;
    background: var(--color-orange);
    color: white;
    padding: 0.35rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.timeline-content h4 {
    color: var(--color-white);
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.timeline-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
}

.timeline-item.future .timeline-marker {
    background: transparent;
    border: 3px solid var(--color-orange);
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.4);
}

.timeline-item.future .timeline-content {
    border-style: dashed;
    opacity: 0.8;
}

.timeline-item.future .timeline-date {
    background: transparent;
    border: 2px solid var(--color-orange);
    color: var(--color-orange);
}

@media (max-width: 768px) {
    .timeline-historique::before {
        left: 20px;
    }
    
    .timeline-item,
    .timeline-item:nth-child(even) {
        flex-direction: row;
        padding-left: 60px;
        transform: translateY(30px);
    }
    
    .timeline-item.visible,
    .timeline-item:nth-child(even).visible {
        transform: translateY(0);
    }
    
    .timeline-marker {
        left: 20px;
    }
    
    .timeline-content {
        width: 100%;
    }
}

/* === SECTION PRÉCURSEUR === */
.precurseur {
    background: var(--color-gray-light);
    color: var(--color-black);
    padding: 8rem 0;
}

.precurseur .section-title-center {
    color: var(--color-black);
}

.precurseur .section-subtitle {
    color: #666;
}

.precurseur-comparison {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.precurseur-card {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
    max-width: 380px;
    width: 100%;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease;
}

.precurseur-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.cdirect-card {
    border-top: 5px solid var(--color-orange);
}

.modern-card {
    border-top: 5px solid #333;
}

.precurseur-logo {
    text-align: center;
    margin-bottom: 1.5rem;
}

.precurseur-logo img {
    height: 50px;
    width: auto;
}

.cdirect-card .precurseur-logo img {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.precurseur-icons {
    text-align: center;
    margin-bottom: 1.5rem;
}

.modern-service {
    display: inline-block;
    background: #333;
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0.25rem;
}

.precurseur-card h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.precurseur-year {
    display: block;
    text-align: center;
    color: var(--color-orange);
    font-weight: 800;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.precurseur-card ul {
    list-style: none;
}

.precurseur-card ul li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.precurseur-card ul li::before {
    content: '✓';
    color: var(--color-orange);
    font-weight: bold;
    margin-right: 0.75rem;
}

.precurseur-card ul li:last-child {
    border-bottom: none;
}

.precurseur-arrow {
    color: var(--color-orange);
    flex-shrink: 0;
}

.precurseur-arrow svg {
    width: 48px;
    height: 48px;
}

.precurseur-quote {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.precurseur-quote.visible {
    opacity: 1;
    transform: translateY(0);
}

.precurseur-quote blockquote {
    font-size: 1.4rem;
    font-style: italic;
    color: #555;
    position: relative;
    padding: 2rem;
    line-height: 1.8;
}

.precurseur-quote blockquote::before,
.precurseur-quote blockquote::after {
    content: '"';
    font-size: 5rem;
    color: var(--color-orange);
    opacity: 0.2;
    position: absolute;
    font-family: Georgia, serif;
}

.precurseur-quote blockquote::before {
    top: -20px;
    left: 0;
}

.precurseur-quote blockquote::after {
    content: '"';
    bottom: -40px;
    right: 0;
}

@media (max-width: 768px) {
    .precurseur-comparison {
        flex-direction: column;
    }
    
    .precurseur-arrow {
        transform: rotate(90deg);
    }
}

/* === SECTION ÉQUIPE === */
.equipe {
    background: var(--color-black);
    padding: 8rem 0;
}

.equipe .section-title-center {
    color: var(--color-white);
}

.equipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 5rem;
}

.equipe-section {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.equipe-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.equipe-section h3 {
    color: var(--color-orange);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-orange);
}

.equipe-members {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.member {
    display: flex;
    flex-direction: column;
}

.member-name {
    color: var(--color-white);
    font-weight: 500;
    font-size: 1rem;
}

.member-role {
    color: #888;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.equipe-members.small {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.equipe-members.small .member-name {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 107, 53, 0.2);
    transition: all 0.3s ease;
}

.equipe-members.small .member-name:hover {
    border-color: var(--color-orange);
    background: rgba(255, 107, 53, 0.1);
}

.partenaires-section {
    text-align: center;
    margin-bottom: 5rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.partenaires-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.partenaires-section h3 {
    color: var(--color-orange);
    font-size: 1.4rem;
    margin-bottom: 2rem;
}

.partenaires-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.partenaire {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-white);
    padding: 0.85rem 1.75rem;
    border-radius: 6px;
    font-size: 0.95rem;
    border: 1px solid rgba(255, 107, 53, 0.3);
    transition: all 0.3s ease;
}

.partenaire:hover {
    border-color: var(--color-orange);
    background: rgba(255, 107, 53, 0.15);
    transform: translateY(-3px);
}

.fiche-technique {
    max-width: 700px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fiche-technique.visible {
    opacity: 1;
    transform: translateY(0);
}

.fiche-technique h3 {
    text-align: center;
    color: var(--color-orange);
    font-size: 1.4rem;
    margin-bottom: 2rem;
}

.fiche-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.fiche-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(255, 107, 53, 0.2);
}

.fiche-label {
    display: block;
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.fiche-value {
    color: var(--color-white);
    font-weight: 700;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .fiche-grid {
        grid-template-columns: 1fr;
    }
}

/* === FOOTER === */
.footer {
    background: linear-gradient(to top, #0a0a0a, #151515);
    padding: 4rem 0;
    border-top: 3px solid var(--color-orange);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
}

.footer-logo img {
    height: 50px;
    opacity: 0.9;
    filter: drop-shadow(0 0 10px rgba(255, 107, 53, 0.3));
}

.footer-text {
    color: #888;
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-encyclomedia {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.25rem;
}

.footer-encyclomedia-logo {
    width: min(180px, 54vw);
    height: auto;
    opacity: 0.92;
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.12));
}

.footer-credit {
    margin: 0;
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Schema Interactive Panel - Épuré */
.schema-fullwidth {
    margin-bottom: 4rem;
}

.schema-clickable {
    transition: filter 0.3s ease;
}

.schema-clickable:hover {
    filter: drop-shadow(0 0 8px rgba(255, 107, 53, 0.6)) drop-shadow(0 0 20px rgba(255, 107, 53, 0.3));
}

.schema-info-panel {
    background: #0a0a0a;
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 8px;
    padding: 2rem;
    margin: 4rem auto 6rem auto;
    max-width: 700px;
    position: relative;
    z-index: 10;
}

.schema-info-content {
    text-align: center;
}

.schema-info-content h3 {
    color: #FF6B35;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.schema-info-content p {
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.schema-info-content .highlight {
    color: #FF6B35;
    font-weight: 600;
}

.schema-info-content strong {
    color: #fff;
    font-weight: 600;
}

.schema-info-content {
    text-align: center;
}

.schema-info-content h3 {
    color: #FF6B35;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.schema-info-content p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.schema-info-content .highlight {
    color: #FF6B35;
    font-weight: 600;
}

.schema-info-content strong {
    color: #fff;
    font-weight: 600;
}
