/* ============================================
   TIMELINE 20 ANS - STYLES PREMIUM
   Parapente Dé Z'Îles
   ============================================ */

/* Variables CSS - Adapté aux couleurs du site Parapente Dé Z'Îles */
:root {
    --color-bg-soft: #ffffff;
    --color-accent-gold: #ff7a00; /* Orange du site */
    --color-accent-gold-light: #ffa800;
    --color-white: #ffffff;
    --color-text-dark: #001325; /* Bleu foncé du site */
    --color-text-light: #498cc4; /* Bleu principal du site (pour accents) */
    --color-text-content: #4a5568; /* Gris foncé pour meilleur contraste sur texte */
    --color-text-medium: #2d5a7a; /* Bleu assombri pour sous-titres */
    --color-border: rgba(0, 0, 0, 0.06);
    --color-green: #bcdc28; /* Vert lime du site */
    --color-green-dark: #71930c; /* Vert foncé du site */
    --font-primary: 'Rum Raisin', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --spacing-xl: 120px;
    --spacing-lg: 80px;
    --spacing-md: 40px;
    --spacing-sm: 20px;
    --border-radius: 24px;
    --shadow-soft: 0 2px 24px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 8px 32px rgba(0, 0, 0, 0.08);
}

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

/* Le body est géré par le site, on adapte seulement la section timeline */
.timeline-section {
    font-family: var(--font-body);
}

.timeline-section .timeline-title,
.timeline-section h3 {
    font-family: var(--font-primary);
}

/* ============================================
   SECTION PRINCIPALE
   ============================================ */

.timeline-section {
    position: relative;
    min-height: 100vh;
    padding: var(--spacing-xl) var(--spacing-sm) var(--spacing-lg);
    background: linear-gradient(180deg, 
        rgba(73, 140, 196, 0.1) 0%, 
        rgba(73, 140, 196, 0.05) 25%, 
        rgba(255, 255, 255, 0.95) 50%, 
        rgba(255, 255, 255, 1) 75%, 
        #ffffff 100%);
    overflow: hidden;
}

/* Éléments décoratifs avec bleu plus visible */
.timeline-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 15% 25%, rgba(0, 91, 187, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 85% 65%, rgba(0, 123, 255, 0.06) 0%, transparent 60%),
        radial-gradient(circle at 50% 10%, rgba(245, 166, 35, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Nuages flottants dans toute la section */
.timeline-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.4) 0%, transparent 25%),
        radial-gradient(circle at 90% 40%, rgba(255, 255, 255, 0.3) 0%, transparent 25%),
        radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.35) 0%, transparent 25%),
        radial-gradient(circle at 70% 85%, rgba(255, 255, 255, 0.3) 0%, transparent 25%);
    pointer-events: none;
    z-index: 0;
    animation: cloudDrift 60s infinite ease-in-out;
}

@keyframes cloudDrift {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(20px, -10px);
    }
}

/* ============================================
   HEADER AVEC NUAGES
   ============================================ */

.timeline-header {
    position: relative;
    text-align: center;
    margin-bottom: var(--spacing-xl);
    padding: 60px var(--spacing-sm) 80px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    z-index: 3;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.4) 0%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0.4) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -1px 0 rgba(0, 0, 0, 0.02);
    overflow: hidden;
}

.timeline-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, 
        rgba(245, 166, 35, 0.1) 0%, 
        transparent 70%);
    animation: headerGlow 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes headerGlow {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(20px, 20px) scale(1.1);
        opacity: 0.8;
    }
}

/* Nuages flottants sur toute la page */
.clouds-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.cloud {
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50px;
    filter: blur(2px);
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.4);
    opacity: 0.7;
}

.cloud::before,
.cloud::after {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50px;
    filter: blur(2px);
}

.cloud-1 {
    width: 140px;
    height: 50px;
    top: 5%;
    left: -8%;
    animation: float 28s infinite ease-in-out;
}

.cloud-1::before {
    width: 70px;
    height: 70px;
    top: -35px;
    left: 20px;
}

.cloud-1::after {
    width: 90px;
    height: 60px;
    top: -25px;
    right: 20px;
}

.cloud-2 {
    width: 160px;
    height: 55px;
    top: 15%;
    right: -8%;
    animation: float 32s infinite ease-in-out;
    animation-delay: -8s;
}

.cloud-2::before {
    width: 80px;
    height: 80px;
    top: -40px;
    left: 30px;
}

.cloud-2::after {
    width: 100px;
    height: 65px;
    top: -30px;
    right: 30px;
}

.cloud-3 {
    width: 120px;
    height: 45px;
    top: 30%;
    left: 10%;
    animation: float 36s infinite ease-in-out;
    animation-delay: -15s;
}

.cloud-3::before {
    width: 60px;
    height: 60px;
    top: -30px;
    left: 18px;
}

.cloud-3::after {
    width: 80px;
    height: 55px;
    top: -20px;
    right: 18px;
}

.cloud-4 {
    width: 110px;
    height: 40px;
    top: 45%;
    left: 60%;
    animation: float 30s infinite ease-in-out;
    animation-delay: -5s;
}

.cloud-4::before {
    width: 55px;
    height: 55px;
    top: -28px;
    left: 15px;
}

.cloud-4::after {
    width: 75px;
    height: 50px;
    top: -18px;
    right: 15px;
}

.cloud-5 {
    width: 130px;
    height: 48px;
    top: 55%;
    right: 15%;
    animation: float 34s infinite ease-in-out;
    animation-delay: -12s;
}

.cloud-5::before {
    width: 65px;
    height: 65px;
    top: -32px;
    left: 22px;
}

.cloud-5::after {
    width: 85px;
    height: 58px;
    top: -22px;
    right: 22px;
}

.cloud-6 {
    width: 100px;
    height: 38px;
    top: 70%;
    left: 5%;
    animation: float 38s infinite ease-in-out;
    animation-delay: -20s;
}

.cloud-6::before {
    width: 50px;
    height: 50px;
    top: -25px;
    left: 15px;
}

.cloud-6::after {
    width: 70px;
    height: 48px;
    top: -15px;
    right: 15px;
}

.cloud-7 {
    width: 150px;
    height: 52px;
    top: 80%;
    right: 5%;
    animation: float 29s infinite ease-in-out;
    animation-delay: -3s;
}

.cloud-7::before {
    width: 75px;
    height: 75px;
    top: -37px;
    left: 25px;
}

.cloud-7::after {
    width: 95px;
    height: 62px;
    top: -27px;
    right: 25px;
}

.cloud-8 {
    width: 115px;
    height: 42px;
    top: 10%;
    left: 40%;
    animation: float 31s infinite ease-in-out;
    animation-delay: -7s;
}

.cloud-8::before {
    width: 58px;
    height: 58px;
    top: -29px;
    left: 17px;
}

.cloud-8::after {
    width: 78px;
    height: 52px;
    top: -19px;
    right: 17px;
}

.cloud-9 {
    width: 125px;
    height: 46px;
    top: 35%;
    right: 25%;
    animation: float 33s infinite ease-in-out;
    animation-delay: -10s;
}

.cloud-9::before {
    width: 63px;
    height: 63px;
    top: -31px;
    left: 20px;
}

.cloud-9::after {
    width: 83px;
    height: 56px;
    top: -21px;
    right: 20px;
}

.cloud-10 {
    width: 105px;
    height: 39px;
    top: 50%;
    left: 25%;
    animation: float 35s infinite ease-in-out;
    animation-delay: -14s;
}

.cloud-10::before {
    width: 53px;
    height: 53px;
    top: -26px;
    left: 16px;
}

.cloud-10::after {
    width: 73px;
    height: 49px;
    top: -16px;
    right: 16px;
}

.cloud-11 {
    width: 135px;
    height: 49px;
    top: 65%;
    right: 35%;
    animation: float 37s infinite ease-in-out;
    animation-delay: -18s;
}

.cloud-11::before {
    width: 68px;
    height: 68px;
    top: -34px;
    left: 21px;
}

.cloud-11::after {
    width: 88px;
    height: 59px;
    top: -24px;
    right: 21px;
}

.cloud-12 {
    width: 145px;
    height: 51px;
    top: 90%;
    left: 50%;
    animation: float 27s infinite ease-in-out;
    animation-delay: -1s;
}

.cloud-12::before {
    width: 73px;
    height: 73px;
    top: -36px;
    left: 24px;
}

.cloud-12::after {
    width: 93px;
    height: 61px;
    top: -26px;
    right: 24px;
}

@keyframes float {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(calc(100vw + 150px));
    }
    100% {
        transform: translateX(0);
    }
}

/* ============================================
   PETITS PARAPENTES FLOTTANTS
   ============================================ */

.paragliders-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.paraglider {
    position: absolute;
    opacity: 0.75;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.15));
}

.paraglider svg {
    display: block;
}

.paraglider-1 {
    top: 8%;
    left: -5%;
    animation: paraglideFloat 45s infinite ease-in-out;
    animation-delay: 0s;
}

.paraglider-2 {
    top: 18%;
    right: -5%;
    animation: paraglideFloat 50s infinite ease-in-out;
    animation-delay: -8s;
    transform: scaleX(-1);
}

.paraglider-3 {
    top: 28%;
    left: -5%;
    animation: paraglideFloat 55s infinite ease-in-out;
    animation-delay: -15s;
}

.paraglider-4 {
    top: 38%;
    right: -5%;
    animation: paraglideFloat 48s infinite ease-in-out;
    animation-delay: -5s;
    transform: scaleX(-1);
}

.paraglider-5 {
    top: 48%;
    left: -5%;
    animation: paraglideFloat 52s infinite ease-in-out;
    animation-delay: -12s;
}

.paraglider-6 {
    top: 58%;
    right: -5%;
    animation: paraglideFloat 47s infinite ease-in-out;
    animation-delay: -20s;
    transform: scaleX(-1);
}

.paraglider-7 {
    top: 68%;
    left: -5%;
    animation: paraglideFloat 53s infinite ease-in-out;
    animation-delay: -10s;
}

.paraglider-8 {
    top: 78%;
    right: -5%;
    animation: paraglideFloat 49s infinite ease-in-out;
    animation-delay: -18s;
    transform: scaleX(-1);
}

.paraglider-9 {
    top: 15%;
    left: 25%;
    animation: paraglideFloat 51s infinite ease-in-out;
    animation-delay: -3s;
    transform: scaleX(-1);
}

.paraglider-10 {
    top: 35%;
    right: 15%;
    animation: paraglideFloat 46s infinite ease-in-out;
    animation-delay: -13s;
}

.paraglider-11 {
    top: 65%;
    left: 35%;
    animation: paraglideFloat 54s infinite ease-in-out;
    animation-delay: -7s;
    transform: scaleX(-1);
}

.paraglider-12 {
    top: 85%;
    right: 25%;
    animation: paraglideFloat 50s infinite ease-in-out;
    animation-delay: -22s;
}

@keyframes paraglideFloat {
    0% {
        transform: translateX(0) translateY(0) rotate(0deg);
    }
    25% {
        transform: translateX(calc(100vw + 100px)) translateY(-20px) rotate(5deg);
    }
    50% {
        transform: translateX(calc(200vw + 200px)) translateY(10px) rotate(-3deg);
    }
    75% {
        transform: translateX(calc(300vw + 300px)) translateY(-15px) rotate(4deg);
    }
    100% {
        transform: translateX(calc(400vw + 400px)) translateY(0) rotate(0deg);
    }
}

/* Animation de balancement pour les parapentes */
@keyframes paraglideSway {
    0%, 100% {
        transform: rotate(-2deg);
    }
    50% {
        transform: rotate(2deg);
    }
}

.paraglider svg {
    animation: paraglideSway 3s ease-in-out infinite;
}

/* ============================================
   GÂTEAUX D'ANNIVERSAIRE AVEC BOUGIES
   ============================================ */

.cakes-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.cake {
    position: absolute;
    opacity: 0.8;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.2));
}

.cake svg {
    display: block;
}

/* Animation des flammes des bougies */
.cake .flame {
    animation: candleFlicker 1.5s ease-in-out infinite;
    transform-origin: center bottom;
}

@keyframes candleFlicker {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    25% {
        transform: scale(1.1) translateX(1px);
        opacity: 0.9;
    }
    50% {
        transform: scale(0.95) translateX(-1px);
        opacity: 0.85;
    }
    75% {
        transform: scale(1.05) translateX(0.5px);
        opacity: 0.95;
    }
}

/* Positions et animations des gâteaux */
.cake-1 {
    top: 10%;
    left: -5%;
    animation: cakeFloat 60s infinite ease-in-out;
    animation-delay: 0s;
}

.cake-2 {
    top: 22%;
    right: -5%;
    animation: cakeFloat 65s infinite ease-in-out;
    animation-delay: -10s;
}

.cake-3 {
    top: 35%;
    left: -5%;
    animation: cakeFloat 58s infinite ease-in-out;
    animation-delay: -5s;
}

.cake-4 {
    top: 48%;
    right: -5%;
    animation: cakeFloat 62s infinite ease-in-out;
    animation-delay: -15s;
}

.cake-5 {
    top: 60%;
    left: -5%;
    animation: cakeFloat 64s infinite ease-in-out;
    animation-delay: -8s;
}

.cake-6 {
    top: 72%;
    right: -5%;
    animation: cakeFloat 59s infinite ease-in-out;
    animation-delay: -12s;
}

.cake-7 {
    top: 15%;
    left: 20%;
    animation: cakeFloat 61s infinite ease-in-out;
    animation-delay: -3s;
}

.cake-8 {
    top: 40%;
    right: 15%;
    animation: cakeFloat 63s infinite ease-in-out;
    animation-delay: -18s;
}

.cake-9 {
    top: 65%;
    left: 30%;
    animation: cakeFloat 57s infinite ease-in-out;
    animation-delay: -7s;
}

.cake-10 {
    top: 25%;
    right: 25%;
    animation: cakeFloat 66s infinite ease-in-out;
    animation-delay: -13s;
}

.cake-11 {
    top: 55%;
    left: 40%;
    animation: cakeFloat 60s infinite ease-in-out;
    animation-delay: -20s;
}

.cake-12 {
    top: 80%;
    right: 30%;
    animation: cakeFloat 58s infinite ease-in-out;
    animation-delay: -2s;
}

@keyframes cakeFloat {
    0% {
        transform: translateX(0) translateY(0) rotate(0deg);
    }
    25% {
        transform: translateX(calc(100vw + 100px)) translateY(-15px) rotate(3deg);
    }
    50% {
        transform: translateX(calc(200vw + 200px)) translateY(10px) rotate(-2deg);
    }
    75% {
        transform: translateX(calc(300vw + 300px)) translateY(-10px) rotate(2deg);
    }
    100% {
        transform: translateX(calc(400vw + 400px)) translateY(0) rotate(0deg);
    }
}

/* Animation de flottement pour les gâteaux */
.cake svg {
    animation: cakeSway 4s ease-in-out infinite;
}

@keyframes cakeSway {
    0%, 100% {
        transform: translateY(0) rotate(-1deg);
    }
    50% {
        transform: translateY(-5px) rotate(1deg);
    }
}

/* Ligne décorative sous le titre */
.timeline-header::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-accent-gold), transparent);
    border-radius: 2px;
}

.timeline-title {
    font-size: clamp(2.75rem, 7vw, 4.5rem);
    font-weight: 700;
    font-family: var(--font-primary);
    background: linear-gradient(135deg, 
        var(--color-text-dark) 0%, 
        var(--color-text-dark) 50%,
        var(--color-accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
    line-height: 1.1;
    position: relative;
    display: inline-block;
    text-shadow: 0 2px 20px rgba(255, 122, 0, 0.1);
}

/* Accent décoratif moderne */
.timeline-title::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -40px;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--color-accent-gold), 
        transparent);
    border-radius: 2px;
    opacity: 0.6;
    transform: translateY(-50%);
    animation: titleLine 3s ease-in-out infinite;
}

.timeline-title::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -40px;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--color-accent-gold), 
        transparent);
    border-radius: 2px;
    opacity: 0.6;
    transform: translateY(-50%);
    animation: titleLine 3s ease-in-out infinite 1.5s;
}

@keyframes titleLine {
    0%, 100% {
        opacity: 0.3;
        transform: translateY(-50%) scaleX(0.8);
    }
    50% {
        opacity: 0.8;
        transform: translateY(-50%) scaleX(1.2);
    }
}

.timeline-subtitle {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 500;
    color: var(--color-text-medium);
    letter-spacing: 0.02em;
    line-height: 1.6;
    margin-top: 12px;
    opacity: 0.95;
}

.timeline-quote {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    font-style: italic;
    color: #2d3748;
    font-weight: 500;
    line-height: 1.8;
    max-width: 700px;
    margin: 24px auto 0;
    padding: 24px;
    position: relative;
    background: rgba(255, 122, 0, 0.05);
    border-radius: 12px;
    border-left: 4px solid var(--color-accent-gold);
}

.timeline-quote::before {
    content: '';
    position: absolute;
    left: 50%;
    top: -12px;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--color-accent-gold), 
        transparent);
    border-radius: 2px;
}


/* ============================================
   TIMELINE CONTAINER
   ============================================ */

.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
    z-index: 3;
}

/* Ligne centrale - Design premium avec glow */
.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, 
        transparent 0%, 
        rgba(0, 0, 0, 0.08) 20%, 
        rgba(0, 0, 0, 0.08) 80%, 
        transparent 100%);
    transform: translateX(-50%);
    z-index: 1;
    border-radius: 2px;
}

.timeline-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, 
        var(--color-accent-gold) 0%, 
        #FF8C42 30%,
        var(--color-accent-gold) 60%,
        #FF8C42 100%);
    background-size: 100% 200%;
    animation: progressShine 3s ease-in-out infinite;
    box-shadow: 
        0 0 12px rgba(245, 166, 35, 0.5),
        0 0 24px rgba(245, 166, 35, 0.3),
        inset 0 0 8px rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    transition: height 0.3s ease-out;
}

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

/* ============================================
   TIMELINE CONTENT
   ============================================ */

.timeline-content {
    position: relative;
    z-index: 2;
}

.timeline-item {
    position: relative;
    margin-bottom: var(--spacing-xl);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease-out, 
                transform 0.4s ease-out;
    will-change: opacity, transform;
}

.timeline-item.visible,
.timeline-item.visible-on-load {
    opacity: 1;
    transform: translateY(0);
}

/* Première card visible immédiatement */
.timeline-item.visible-on-load {
    animation: fadeInUp 0.6s ease-out forwards;
}

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

.timeline-item.final {
    margin-bottom: 0;
}

/* ============================================
   CARDS
   ============================================ */

.timeline-card {
    position: relative;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.98) 0%,
        rgba(255, 255, 255, 0.95) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -1px 0 rgba(0, 0, 0, 0.02),
        0 0 0 1px rgba(245, 166, 35, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out, border-color 0.3s ease-out;
    max-width: 500px;
    margin: 0 auto;
    will-change: transform;
}

/* Effet de lumière animé sur les cards - Optimisé */
.timeline-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, 
        rgba(245, 166, 35, 0.1) 0%, 
        transparent 70%);
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Animation désactivée pour alléger le scroll */

.timeline-card:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.03),
        0 0 0 1px rgba(245, 166, 35, 0.2);
    border-color: rgba(245, 166, 35, 0.3);
}

.timeline-card:hover::before {
    opacity: 0.3;
}

/* Alternance gauche/droite */
.timeline-item:nth-child(odd) .timeline-card {
    margin-left: 0;
    margin-right: auto;
}

.timeline-item:nth-child(even) .timeline-card {
    margin-left: auto;
    margin-right: 0;
}

.timeline-item.final .timeline-card {
    margin-left: auto;
    margin-right: auto;
}

/* Point sur la ligne centrale - Design premium avec glow animé */
.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 18px;
    height: 18px;
    background: linear-gradient(135deg, 
        var(--color-white) 0%,
        rgba(255, 255, 255, 0.9) 100%);
    border: 3px solid var(--color-accent-gold);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 
        0 0 0 0 rgba(245, 166, 35, 0),
        0 2px 8px rgba(0, 0, 0, 0.1);
}

.timeline-item.visible::before {
    background: linear-gradient(135deg, 
        var(--color-accent-gold) 0%, 
        #FF8C42 100%);
    border-color: var(--color-accent-gold);
    box-shadow: 
        0 0 0 6px rgba(245, 166, 35, 0.15),
        0 0 0 12px rgba(245, 166, 35, 0.08),
        0 0 0 18px rgba(245, 166, 35, 0.04),
        0 4px 12px rgba(245, 166, 35, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    animation: pulsePoint 2.5s ease-in-out infinite;
    transform: translate(-50%, -50%) scale(1);
}

@keyframes pulsePoint {
    0%, 100% {
        box-shadow: 
            0 0 0 6px rgba(245, 166, 35, 0.15),
            0 0 0 12px rgba(245, 166, 35, 0.08),
            0 0 0 18px rgba(245, 166, 35, 0.04),
            0 4px 12px rgba(245, 166, 35, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        box-shadow: 
            0 0 0 8px rgba(245, 166, 35, 0.2),
            0 0 0 16px rgba(245, 166, 35, 0.12),
            0 0 0 24px rgba(245, 166, 35, 0.06),
            0 6px 16px rgba(245, 166, 35, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.4);
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* Image de la card avec effet premium */
.card-image {
    position: relative;
    width: 100%;
    height: 340px;
    overflow: hidden;
    background: linear-gradient(135deg, #F5F5F5 0%, #E8E8E8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Overlay gradient moderne sur l'image */
.card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, 
        rgba(245, 166, 35, 0.05) 0%, 
        transparent 30%,
        transparent 70%,
        rgba(0, 0, 0, 0.03) 100%);
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.6s ease;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.5s ease-out, filter 0.5s ease-out;
    filter: brightness(1) contrast(1) saturate(1);
    transform: scale(1);
    will-change: transform;
    display: block;
}

.timeline-card:hover .card-image img {
    transform: scale(1.05);
    filter: brightness(1.03) contrast(1.05) saturate(1.08);
}

.timeline-card:hover .card-image::after {
    opacity: 0.8;
    background: linear-gradient(180deg, 
        rgba(245, 166, 35, 0.1) 0%, 
        transparent 30%,
        transparent 70%,
        rgba(0, 0, 0, 0.05) 100%);
}

/* Contenu de la card avec espacement premium */
.card-content {
    padding: 32px 36px;
    position: relative;
    z-index: 2;
}

.year-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, 
        rgba(245, 166, 35, 0.1) 0%,
        rgba(245, 166, 35, 0.05) 100%);
    color: var(--color-accent-gold);
    padding: 10px 18px;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    position: relative;
    border-radius: 20px;
    border: 1px solid rgba(245, 166, 35, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 
        0 2px 8px rgba(245, 166, 35, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* Ligne décorative moderne avant le badge */
.year-badge::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--color-accent-gold), 
        transparent);
    border-radius: 2px;
    opacity: 0.5;
    animation: badgeLine 2s ease-in-out infinite;
}

@keyframes badgeLine {
    0%, 100% {
        opacity: 0.3;
        transform: translateY(-50%) scaleX(0.8);
    }
    50% {
        opacity: 0.7;
        transform: translateY(-50%) scaleX(1.2);
    }
}

.year-badge.special {
    font-size: 1rem;
    font-weight: 600;
}

.year-badge.special::before {
    width: 12px;
    opacity: 0.5;
}

.card-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    font-family: var(--font-primary);
    color: var(--color-text-dark);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    line-height: 1.3;
    position: relative;
}

.card-content h3 span {
    color: var(--color-accent-gold);
}

.card-content p {
    font-size: 1.125rem;
    color: var(--color-text-content);
    line-height: 1.75;
    font-weight: 400;
    letter-spacing: 0.01em;
}

/* Textes teaser et transitions */
.teaser-text,
.transition-text {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--color-accent-gold);
    font-style: italic;
    margin-bottom: 12px;
    opacity: 0.9;
    letter-spacing: 0.02em;
}

/* CTA Button Premium */
.cta-button {
    display: inline-block;
    margin-top: var(--spacing-md);
    padding: 16px 36px;
    background: linear-gradient(135deg, 
        var(--color-accent-gold) 0%, 
        #FF8C42 50%,
        var(--color-accent-gold) 100%);
    background-size: 200% 200%;
    color: var(--color-white);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    letter-spacing: 0.02em;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 4px 16px rgba(245, 166, 35, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
    font-size: 1rem;
}

/* Effet de brillance animé */
.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent);
    transition: left 0.6s ease;
}

.cta-button::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 12px;
    background: linear-gradient(135deg, 
        var(--color-accent-gold), 
        #FF8C42);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    filter: blur(8px);
}

.cta-button:hover {
    background-position: 100% 0;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 8px 24px rgba(245, 166, 35, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1),
        0 0 20px rgba(245, 166, 35, 0.3);
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover::after {
    opacity: 0.6;
}

.cta-button:active {
    transform: translateY(-1px) scale(1.02);
}

/* CTA intermédiaires dans les cards */
.cta-intermediate {
    font-size: 1rem;
    padding: 14px 30px;
    margin-top: 20px;
    text-transform: none;
    letter-spacing: 0.01em;
    animation: ctaPulse 3s ease-in-out infinite;
}

@keyframes ctaPulse {
    0%, 100% {
        box-shadow: 
            0 4px 16px rgba(245, 166, 35, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
    50% {
        box-shadow: 
            0 6px 20px rgba(245, 166, 35, 0.5),
            inset 0 1px 0 rgba(255, 255, 255, 0.4),
            0 0 15px rgba(245, 166, 35, 0.4);
    }
}

/* ============================================
   FEUX D'ARTIFICE
   ============================================ */

.fireworks-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fireworks-container.active {
    opacity: 0.6;
}

.fireworks-svg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.spark {
    opacity: 0;
    fill: var(--color-accent-gold);
}

.fireworks-container.active .spark-1 {
    animation: firework1 1.5s ease-out forwards;
}

.fireworks-container.active .spark-2 {
    animation: firework2 1.5s ease-out 0.1s forwards;
}

.fireworks-container.active .spark-3 {
    animation: firework3 1.5s ease-out 0.2s forwards;
}

.fireworks-container.active .spark-4 {
    animation: firework4 1.5s ease-out 0.3s forwards;
}

.fireworks-container.active .spark-5 {
    animation: firework5 1.5s ease-out 0.4s forwards;
}

.fireworks-container.active .spark-6 {
    animation: firework6 1.5s ease-out 0.5s forwards;
}

.fireworks-container.active .spark-7 {
    animation: firework7 1.5s ease-out 0.6s forwards;
}

.fireworks-container.active .spark-8 {
    animation: firework8 1.5s ease-out 0.7s forwards;
}

@keyframes firework1 {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-80px, -80px) scale(0);
    }
}

@keyframes firework2 {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(80px, -80px) scale(0);
    }
}

@keyframes firework3 {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-80px, 80px) scale(0);
    }
}

@keyframes firework4 {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(80px, 80px) scale(0);
    }
}

@keyframes firework5 {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(0, -100px) scale(0);
    }
}

@keyframes firework6 {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(0, 100px) scale(0);
    }
}

@keyframes firework7 {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-100px, 0) scale(0);
    }
}

@keyframes firework8 {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(100px, 0) scale(0);
    }
}

/* ============================================
   RESPONSIVE - MOBILE FIRST
   ============================================ */

@media (max-width: 768px) {
    /* Réduire les nuages sur mobile pour performance */
    .clouds-background .cloud {
        opacity: 0.5;
    }
    
    .clouds-background .cloud-7,
    .clouds-background .cloud-8,
    .clouds-background .cloud-9,
    .clouds-background .cloud-10,
    .clouds-background .cloud-11,
    .clouds-background .cloud-12 {
        display: none;
    }
    
    .timeline-section {
        padding: var(--spacing-lg) var(--spacing-sm) var(--spacing-md);
    }

    .timeline-header {
        margin-bottom: var(--spacing-lg);
        padding: 0;
    }

    .timeline-title {
        font-size: 2.25rem;
    }

    .timeline-subtitle {
        font-size: 1.125rem;
    }

    /* Ligne centrale sur mobile */
    .timeline-line {
        left: 24px;
    }

    /* Tous les cards alignés à gauche sur mobile */
    .timeline-item::before {
        left: 24px;
        width: 10px;
        height: 10px;
    }

    .timeline-item .timeline-card,
    .timeline-item:nth-child(odd) .timeline-card,
    .timeline-item:nth-child(even) .timeline-card {
        margin-left: 48px;
        margin-right: 0;
        max-width: calc(100% - 48px);
    }

    .timeline-item {
        margin-bottom: var(--spacing-lg);
    }

    .card-image {
        height: 240px;
        min-height: 200px;
        max-height: 280px;
    }
    
    .card-image img {
        object-fit: cover;
        object-position: center center;
        min-width: 100%;
        min-height: 100%;
    }

    .card-content {
        padding: var(--spacing-md);
    }

    .card-content h3 {
        font-size: 1.375rem;
    }

    .card-content p {
        font-size: 1.125rem;
        line-height: 1.8;
    }
}

@media (max-width: 480px) {
    .timeline-section {
        padding: 40px 10px 60px;
    }

    .timeline-header {
        margin-bottom: 40px;
        padding: 20px 10px;
    }

    .timeline-title {
        font-size: 1.75rem;
    }

    .card-image {
        height: auto;
        min-height: 220px;
        max-height: 280px;
        aspect-ratio: 4 / 3;
    }
    
    .card-image img {
        object-fit: cover;
        object-position: center center;
        width: 100%;
        height: 100%;
        min-width: 100%;
        min-height: 100%;
    }
    
    /* Assurer que les images ne débordent pas */
    .timeline-card {
        overflow: hidden;
    }

    .card-content {
        padding: 15px;
    }
    
    .timeline-item .timeline-card {
        max-width: calc(100% - 48px);
    }
}

/* Amélioration pour très petits écrans */
@media (max-width: 360px) {
    .card-image {
        height: auto;
        min-height: 200px;
        max-height: 240px;
        aspect-ratio: 3 / 2;
    }
    
    .card-image img {
        object-fit: cover;
        object-position: center center;
        width: 100%;
        height: 100%;
    }
    
    .timeline-item .timeline-card {
        max-width: calc(100% - 40px);
    }
    
    .timeline-item .timeline-card,
    .timeline-item:nth-child(odd) .timeline-card,
    .timeline-item:nth-child(even) .timeline-card {
        margin-left: 40px;
    }
    
    .timeline-item::before {
        left: 20px;
    }
    
    .timeline-line {
        left: 20px;
    }
}

/* ============================================
   CARTE CONCOURS
   ============================================ */

.timeline-item.contest {
    margin-bottom: var(--spacing-xl);
}

.timeline-item.contest.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
    display: block !important;
    visibility: visible !important;
}

.timeline-item.contest .card-content {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

.timeline-item.contest .card-content * {
    opacity: 1 !important;
    visibility: visible !important;
}

/* ============================================
   MODAL CONCOURS
   ============================================ */

.contest-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.contest-modal.active {
    opacity: 1;
    visibility: visible;
}

.contest-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.contest-modal-content {
    position: relative;
    background: var(--color-white);
    border-radius: var(--border-radius);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
    z-index: 1001;
}

.contest-modal.active .contest-modal-content {
    transform: scale(1) translateY(0);
}

.contest-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    font-size: 24px;
    color: var(--color-text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.contest-modal-close:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: rotate(90deg);
}

.contest-modal-header {
    padding: 40px 40px 30px;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}

.contest-modal-header h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.contest-modal-header p {
    font-size: 1.125rem;
    color: var(--color-text-medium);
}

.contest-modal-steps {
    padding: 30px 40px;
}

.contest-step {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.contest-step:last-child {
    margin-bottom: 0;
}

.step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--color-accent-gold);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.125rem;
    box-shadow: 0 4px 12px rgba(245, 166, 35, 0.3);
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: 14px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.0625rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.facebook-link {
    background: #1877F2;
    color: white;
}

.facebook-link:hover {
    background: #166FE5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
}

.instagram-link {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.instagram-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(188, 24, 136, 0.3);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.contest-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contest-input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--color-border);
    border-radius: 8px;
    font-size: 1.125rem;
    font-family: var(--font-primary);
    transition: all 0.3s ease;
    background: var(--color-white);
}

.contest-input:focus {
    outline: none;
    border-color: var(--color-accent-gold);
    box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.1);
}

.contest-submit-btn {
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--color-accent-gold) 0%, #FF8C42 100%);
    color: var(--color-white);
    border: none;
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
}

.contest-submit-btn:hover {
    background: linear-gradient(135deg, #FF8C42 0%, var(--color-accent-gold) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 166, 35, 0.4);
}

.contest-submit-btn:active {
    transform: translateY(0);
}

.contest-modal-footer {
    padding: 20px 40px 30px;
    text-align: center;
    border-top: 1px solid var(--color-border);
}

.contest-modal-footer p {
    font-size: 1rem;
    color: var(--color-text-content);
    margin: 6px 0;
}

.contest-rules {
    font-size: 0.8125rem !important;
    opacity: 0.7;
}

/* Message de succès */
.contest-success {
    padding: 60px 40px;
    text-align: center;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #27AE60 0%, #2ECC71 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0 auto 30px;
    box-shadow: 0 4px 20px rgba(39, 174, 96, 0.3);
    animation: successPulse 0.6s ease-out;
}

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

.contest-success h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: 15px;
}

.contest-success p {
    font-size: 1rem;
    color: var(--color-text-content);
    line-height: 1.6;
}

.contest-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Responsive modal */
@media (max-width: 768px) {
    .contest-modal-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .contest-modal-header,
    .contest-modal-steps,
    .contest-modal-footer {
        padding: 30px 20px;
    }
    
    .contest-modal-header h2 {
        font-size: 1.5rem;
    }
    
    .contest-step {
        flex-direction: column;
        gap: 15px;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

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

.timeline-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--color-border);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    transform: translateX(-50%) translateY(-20px);
}

.timeline-nav.visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-progress {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 150px;
}

.nav-progress-text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-dark);
    white-space: nowrap;
}

.nav-progress-bar {
    flex: 1;
    height: 4px;
    background: var(--color-border);
    border-radius: 2px;
    overflow: hidden;
    min-width: 80px;
}

.nav-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-accent-gold) 0%, #FF8C42 100%);
    border-radius: 2px;
    transition: width 0.3s ease;
    width: 0%;
}

.nav-menu-toggle {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    color: var(--color-text-dark);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-menu-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
}

.nav-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-white);
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    display: none;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 200px;
    max-width: 300px;
    border: 1px solid var(--color-border);
}

.nav-menu.active {
    display: flex;
}

.nav-link {
    padding: 10px 18px;
    background: rgba(245, 166, 35, 0.1);
    color: var(--color-accent-gold);
    border-radius: 20px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    background: var(--color-accent-gold);
    color: var(--color-white);
    transform: translateY(-2px);
}

.nav-to-top {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--color-accent-gold);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(245, 166, 35, 0.3);
}

.nav-to-top:hover {
    background: #FF8C42;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 166, 35, 0.4);
}

/* ============================================
   BULLE NOTIFICATION CONCOURS - DESIGN PREMIUM
   ============================================ */

/* ============================================
   BULLE NOTIFICATION - MOBILE FIRST
   ============================================ */

.notification-bubble {
    position: fixed;
    bottom: 16px;
    left: 16px;
    right: 16px;
    z-index: 999;
    max-width: 100%;
    width: auto;
    overflow: visible;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: bubbleSlideIn 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s both;
    display: none;
    filter: drop-shadow(0 16px 48px rgba(0, 0, 0, 0.12));
    border-radius: 24px;
    text-decoration: none;
    color: inherit;
}

/* Effet de bordure animée avec gradient */
.notification-bubble::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 26px;
    background: linear-gradient(135deg, 
        var(--color-accent-gold) 0%, 
        #FF8C42 25%,
        var(--color-accent-gold) 50%,
        #FF8C42 75%,
        var(--color-accent-gold) 100%);
    background-size: 300% 300%;
    animation: borderRotate 4s linear infinite;
    z-index: -1;
    opacity: 0.6;
    filter: blur(6px);
}

@keyframes borderRotate {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 300% 300%;
    }
}

/* Effet de brillance qui traverse la bulle */
.notification-bubble::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(255, 255, 255, 0.3) 50%, 
        transparent 70%);
    animation: shineSweep 3s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

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

.notification-bubble.hidden {
    animation: bubbleSlideOut 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
    transform: translateY(30px) scale(0.85);
    pointer-events: none;
}

@keyframes bubbleSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.85) rotate(-2deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1) rotate(0deg);
    }
}

@keyframes bubbleSlideOut {
    to {
        opacity: 0;
        transform: translateY(30px) scale(0.85);
    }
}

.notification-bubble:hover {
    transform: translateY(-8px) scale(1.03);
    filter: drop-shadow(0 28px 80px rgba(245, 166, 35, 0.35));
}

.notification-bubble:hover::before {
    opacity: 0.8;
    filter: blur(12px);
    animation-duration: 2s;
}

/* Conteneur principal avec fond glassmorphism premium - MOBILE FIRST */
.bubble-content {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.99) 0%,
        rgba(255, 255, 255, 0.97) 30%,
        rgba(255, 255, 255, 0.95) 70%,
        rgba(255, 255, 255, 0.99) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1.5px solid rgba(255, 255, 255, 0.95);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 2px 0 rgba(255, 255, 255, 1),
        inset 0 -2px 0 rgba(0, 0, 0, 0.03),
        0 0 0 1px rgba(245, 166, 35, 0.15),
        0 0 20px rgba(245, 166, 35, 0.08);
    border-radius: 24px 24px 0 0;
    z-index: 2;
}

/* Effet de particules subtiles */
.bubble-content::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(245, 166, 35, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 140, 66, 0.08) 0%, transparent 50%);
    border-radius: 28px 28px 0 0;
    pointer-events: none;
    animation: particlesFloat 6s ease-in-out infinite;
}

@keyframes particlesFloat {
    0%, 100% {
        transform: translate(0, 0);
        opacity: 0.5;
    }
    50% {
        transform: translate(10px, -10px);
        opacity: 0.8;
    }
}

/* Icône avec fond gradient animé premium - MOBILE FIRST */
.bubble-icon {
    position: relative;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    line-height: 1;
    flex-shrink: 0;
    background: linear-gradient(135deg, 
        #FFD56B 0%, 
        #F5A623 30%,
        #FF8C42 60%,
        #F5A623 100%);
    background-size: 200% 200%;
    border-radius: 14px;
    box-shadow: 
        0 8px 24px rgba(245, 166, 35, 0.4),
        0 0 0 2px rgba(255, 255, 255, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.4),
        inset 0 -2px 0 rgba(0, 0, 0, 0.15),
        0 0 16px rgba(245, 166, 35, 0.2);
    animation: iconFloat 3s ease-in-out infinite, iconGradient 4s ease-in-out infinite;
    transform-style: preserve-3d;
    z-index: 3;
}

.bubble-icon::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 22px;
    background: linear-gradient(135deg, 
        rgba(255, 213, 107, 0.8) 0%, 
        rgba(245, 166, 35, 0.6) 50%,
        rgba(255, 140, 66, 0.8) 100%);
    z-index: -1;
    opacity: 0.6;
    animation: iconGlow 3s ease-in-out infinite;
    filter: blur(8px);
}

.bubble-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.3) 0%, 
        transparent 50%,
        rgba(0, 0, 0, 0.1) 100%);
    pointer-events: none;
    border-radius: 18px;
}

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

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(1) perspective(1000px) rotateY(0deg);
    }
    25% {
        transform: translateY(-8px) rotate(-5deg) scale(1.08) perspective(1000px) rotateY(-5deg);
    }
    50% {
        transform: translateY(-6px) rotate(0deg) scale(1.06) perspective(1000px) rotateY(0deg);
    }
    75% {
        transform: translateY(-7px) rotate(5deg) scale(1.07) perspective(1000px) rotateY(5deg);
    }
}

@keyframes iconGlow {
    0%, 100% {
        opacity: 0.4;
        transform: scale(1);
        filter: blur(8px);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.2);
        filter: blur(12px);
    }
}

/* Texte avec typographie premium */
.bubble-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    position: relative;
    z-index: 2;
}

.bubble-text strong {
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, 
        var(--color-text-dark) 0%, 
        #2C3E50 50%,
        var(--color-accent-gold) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGradient 4s ease-in-out infinite;
    position: relative;
    text-shadow: 0 2px 10px rgba(245, 166, 35, 0.1);
}

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

.bubble-text span {
    font-size: 1rem;
    color: var(--color-text-light);
    font-weight: 600;
    letter-spacing: 0.02em;
    opacity: 0.9;
    position: relative;
}

/* Bouton fermer premium avec effet 3D - MOBILE FIRST */
.bubble-close {
    width: 32px;
    height: 32px;
    border: none;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.05) 0%,
        rgba(0, 0, 0, 0.03) 100%);
    color: var(--color-text-light);
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    flex-shrink: 0;
    padding: 0;
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 3;
}

.bubble-close::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.3) 0%,
        transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bubble-close:hover {
    background: linear-gradient(135deg, 
        rgba(255, 71, 87, 0.1) 0%,
        rgba(255, 71, 87, 0.05) 100%);
    color: #FF4757;
    transform: rotate(90deg) scale(1.15);
    box-shadow: 
        0 4px 12px rgba(255, 71, 87, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    border-color: rgba(255, 71, 87, 0.2);
}

.bubble-close:hover::before {
    opacity: 1;
}

.bubble-close:active {
    transform: rotate(90deg) scale(1.05);
}

/* Bouton action premium avec effets avancés - MOBILE FIRST */
.bubble-action {
    position: relative;
    width: 100%;
    padding: 18px 24px;
    margin-top: 0;
    background: linear-gradient(135deg, 
        #F5A623 0%, 
        #FF8C42 30%,
        #F5A623 60%,
        #FF8C42 100%);
    background-size: 300% 300%;
    color: var(--color-white);
    border: none;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-family: var(--font-primary);
    border-radius: 0 0 24px 24px;
    box-shadow: 
        0 4px 16px rgba(245, 166, 35, 0.4),
        inset 0 2px 0 rgba(255, 255, 255, 0.3),
        inset 0 -2px 0 rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    overflow: hidden;
    text-transform: uppercase;
    z-index: 2;
    animation: buttonGradient 3s ease-in-out infinite;
    text-align: center;
    display: block;
}

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

.bubble-action::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.3) 0%, 
        transparent 40%,
        transparent 60%,
        rgba(255, 255, 255, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: buttonShine 2s ease-in-out infinite;
}

@keyframes buttonShine {
    0%, 100% {
        transform: translateX(-100%);
        opacity: 0;
    }
    50% {
        transform: translateX(100%);
        opacity: 0.6;
    }
}

.bubble-action::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 0 0 30px 30px;
    background: linear-gradient(135deg, 
        var(--color-accent-gold), 
        #FF8C42);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    filter: blur(10px);
}

.bubble-action:hover {
    background-position: 100% 0;
    transform: translateY(-3px);
    box-shadow: 
        0 10px 30px rgba(245, 166, 35, 0.5),
        inset 0 2px 0 rgba(255, 255, 255, 0.4),
        inset 0 -2px 0 rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.2),
        0 0 40px rgba(245, 166, 35, 0.3);
    animation-duration: 1.5s;
}

.bubble-action:hover::before {
    opacity: 1;
    animation-duration: 1s;
}

.bubble-action:hover::after {
    opacity: 0.7;
}

.bubble-action:active {
    transform: translateY(-1px) scale(0.98);
}

/* Badge notification pulsant premium - MOBILE FIRST */
.bubble-pulse {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, #FF4757 0%, #FF6B7A 50%, #FF4757 100%);
    background-size: 200% 200%;
    border-radius: 50%;
    border: 2.5px solid var(--color-white);
    animation: pulseDot 2s ease-in-out infinite, pulseGradient 3s ease-in-out infinite;
    z-index: 25;
    box-shadow: 
        0 0 0 0 rgba(255, 71, 87, 0.5),
        0 0 0 2px rgba(255, 71, 87, 0.2),
        0 2px 8px rgba(255, 71, 87, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

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

.bubble-pulse::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: #FF4757;
    border-radius: 50%;
    animation: pulseRing 2s ease-in-out infinite;
}

.bubble-pulse::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, 
        rgba(255, 71, 87, 0.3) 0%, 
        transparent 70%);
    border-radius: 50%;
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 
            0 0 0 0 rgba(255, 71, 87, 0.5),
            0 0 0 2px rgba(255, 71, 87, 0.2),
            0 3px 10px rgba(255, 71, 87, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
        box-shadow: 
            0 0 0 6px rgba(255, 71, 87, 0.3),
            0 0 0 12px rgba(255, 71, 87, 0.15),
            0 4px 14px rgba(255, 71, 87, 0.5),
            inset 0 1px 0 rgba(255, 255, 255, 0.4);
    }
}

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

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.5);
    }
}

/* ============================================
   CTA FLOTTANT FIXE
   ============================================ */

.floating-cta {
    position: fixed;
    bottom: 90px;
    right: 20px;
    z-index: 998;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: linear-gradient(135deg, 
        var(--color-accent-gold) 0%, 
        #FF8C42 100%);
    color: var(--color-white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9375rem;
    box-shadow: 
        0 6px 20px rgba(245, 166, 35, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: ctaSlideIn 0.5s ease-out 0.8s forwards;
}

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

.floating-cta:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 8px 24px rgba(245, 166, 35, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    background: linear-gradient(135deg, 
        #FF8C42 0%, 
        var(--color-accent-gold) 100%);
}

.cta-icon {
    font-size: 1.25rem;
    line-height: 1;
}

.cta-text {
    white-space: nowrap;
}

@media (max-width: 768px) {
    .floating-cta {
        bottom: 80px;
        right: 16px;
        padding: 12px 18px;
        font-size: 0.875rem;
    }
    
    .cta-text {
        display: none;
    }
    
    .cta-icon {
        font-size: 1.5rem;
    }
}

/* ============================================
   DESKTOP - Améliorations pour écrans larges
   ============================================ */

@media (min-width: 769px) {
    .notification-bubble {
        bottom: 24px;
        right: 24px;
        left: auto;
        max-width: 380px;
        width: calc(100% - 48px);
        filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.15));
        border-radius: 28px;
    }
    
    .notification-bubble::before {
        border-radius: 30px;
        filter: blur(8px);
    }
    
    .bubble-content {
        padding: 24px 28px;
        gap: 18px;
        border-radius: 28px 28px 0 0;
        backdrop-filter: blur(25px) saturate(200%);
        -webkit-backdrop-filter: blur(25px) saturate(200%);
    }
    
    .bubble-icon {
        width: 64px;
        height: 64px;
        font-size: 2.5rem;
        border-radius: 18px;
    }
    
    .bubble-text strong {
        font-size: 1.25rem;
    }
    
    .bubble-text span {
        font-size: 0.9375rem;
    }
    
    .bubble-close {
        width: 36px;
        height: 36px;
        font-size: 1.375rem;
        border-radius: 12px;
        backdrop-filter: blur(15px) saturate(180%);
        -webkit-backdrop-filter: blur(15px) saturate(180%);
    }
    
    .bubble-action {
        padding: 18px 28px;
        font-size: 0.9375rem;
        border-radius: 0 0 28px 28px;
    }
    
    .bubble-pulse {
        top: 20px;
        right: 20px;
        width: 12px;
        height: 12px;
        border: 3px solid var(--color-white);
    }
}

/* ============================================
   BOUTONS DE PARTAGE SOCIAL
   ============================================ */

.social-share {
    text-align: center;
    padding: var(--spacing-lg) var(--spacing-sm);
    margin-top: var(--spacing-xl);
    border-top: 1px solid var(--color-border);
}

.share-label {
    font-size: 1.125rem;
    color: var(--color-text-light);
    margin-bottom: 20px;
    font-weight: 500;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.0625rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.share-fb {
    background: #1877F2;
    color: white;
}

.share-fb:hover {
    background: #166FE5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
}

.share-ig {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.share-ig:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(188, 24, 136, 0.3);
}

.share-whatsapp {
    background: #25D366;
    color: white;
    border: none;
    font-family: var(--font-primary);
}

.share-whatsapp:hover {
    background: #20BA5A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.share-btn svg {
    width: 18px;
    height: 18px;
}

@media (max-width: 768px) {
    .timeline-nav {
        top: 10px;
        padding: 10px 16px;
        gap: 10px;
    }
    
    .nav-progress {
        min-width: 120px;
    }
    
    .nav-progress-text {
        font-size: 0.9375rem;
    }
    
    .nav-menu {
        left: auto;
        right: 0;
        transform: none;
        max-width: 250px;
    }
    
    .nav-to-top {
        width: 32px;
        height: 32px;
    }
    
    .contest-floating-badge {
        bottom: 20px;
        right: 20px;
        padding: 12px 16px;
        font-size: 0.875rem;
    }
    
    .badge-text {
        display: none;
    }
    
    .share-buttons {
        gap: 10px;
    }
    
    .share-btn {
        padding: 12px 18px;
        font-size: 1rem;
    }
}

/* Animations simplifiées - gérées par JS */

/* ============================================
   OPTIMISATIONS PERFORMANCE
   ============================================ */

.timeline-card img {
    will-change: transform;
}

.timeline-item {
    will-change: opacity, transform;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

