/* ============================================
   APPLE DESIGN SYSTEM - PIXEL PERFECT
   ============================================ */

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

/* Orientation fixe - pas de rotation automatique */
img.gallery-img-apple,
img.timeline-img,
.gallery-img-apple,
.timeline-img {
    image-orientation: none !important;
    -webkit-image-orientation: none !important;
    transform: none !important;
    -webkit-transform: none !important;
}

:root {
    /* Apple Colors */
    --apple-black: #000000;
    --apple-white: #ffffff;
    --apple-gray-1: #f5f5f7;
    --apple-gray-2: #d2d2d7;
    --apple-gray-3: #86868b;
    --apple-gray-4: #424245;
    --apple-gray-5: #1d1d1f;
    
    /* Accent Colors - Enhanced */
    --accent-rose: #ff6b9d;
    --accent-purple: #c77dff;
    --accent-blue: #5ac8fa;
    --accent-gold: #ffd700;
    
    /* Glow Colors */
    --glow-rose: rgba(255, 107, 157, 0.4);
    --glow-purple: rgba(199, 125, 255, 0.4);
    --glow-blue: rgba(90, 200, 250, 0.3);
    
    /* Typography - Apple Style */
    --font-apple: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', sans-serif;
    
    /* Spacing System - Apple */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.5rem;
    --space-6: 2rem;
    --space-8: 3rem;
    --space-10: 4rem;
    --space-12: 6rem;
    --space-16: 8rem;
    --space-20: 10rem;
    
    /* Animations - Apple Easing */
    --ease-apple: cubic-bezier(0.25, 0.1, 0.25, 1);
    --ease-out-apple: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-in-apple: cubic-bezier(0.4, 0, 1, 1);
    --ease-in-out-apple: cubic-bezier(0.4, 0, 0.2, 1);
}


html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   KEYFRAMES - ADVANCED ANIMATIONS
   ============================================ */

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

@keyframes glowPulse {
    0%, 100% {
        box-shadow: 0 0 20px var(--glow-rose), 0 0 40px var(--glow-rose), 0 0 60px var(--glow-rose);
    }
    50% {
        box-shadow: 0 0 30px var(--glow-purple), 0 0 60px var(--glow-purple), 0 0 90px var(--glow-purple);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

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

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


body {
    font-family: var(--font-apple);
    font-weight: 400;
    font-size: 17px;
    line-height: 1.47059;
    letter-spacing: -0.022em;
    color: var(--apple-white);
    background: var(--apple-black);
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
}
    position: relative;
}

/* ============================================
   EMOJI DECORATIVE
   ============================================ */

.emoji-decorative {
    display: inline-block;
    animation: heartPulse 2s ease-in-out infinite;
    filter: drop-shadow(0 0 8px var(--glow-rose));
}

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

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

.apple-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: var(--space-4) var(--space-8);
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s var(--ease-apple);
}

.apple-nav.scrolled {
    background: rgba(0, 0, 0, 0.95);
    padding: var(--space-3) var(--space-8);
}

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

.nav-logo {
    font-size: 21px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--apple-white);
}


.nav-menu {
    display: flex;
    gap: var(--space-8);
    align-items: center;
}

.nav-item {
    font-size: 14px;
    font-weight: 400;
    color: var(--apple-gray-2);
    text-decoration: none;
    letter-spacing: -0.01em;
    position: relative;
    transition: color 0.3s var(--ease-apple);
    padding: var(--space-2) 0;
    outline: none;
}

.nav-item:focus-visible {
    outline: 2px solid var(--accent-rose);
    outline-offset: 4px;
    border-radius: 4px;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--apple-white);
    transition: width 0.3s var(--ease-apple);
}


.nav-item:hover,
.nav-item.active {
    color: var(--apple-white);
}


.nav-item:hover::after,
.nav-item.active::after {
    width: 100%;
}

/* ============================================
   HERO APPLE
   ============================================ */

.hero-apple {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-20) var(--space-8) var(--space-12);
    position: relative;
    text-align: center;
    overflow: hidden;
}

.hero-apple::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--glow-rose) 0%, transparent 70%);
    opacity: 0.15;
    animation: rotate 20s linear infinite, glowIntense 4s ease-in-out infinite;
    pointer-events: none;
}

/* Particules de lumière dans le hero */
.hero-apple {
    position: relative;
}

.hero-apple::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, var(--glow-purple) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, var(--glow-blue) 0%, transparent 50%);
    opacity: 0.08;
    pointer-events: none;
    animation: float 15s ease-in-out infinite, glowIntense 4s ease-in-out infinite;
}

/* Sparkles animés */
.hero-sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-rose);
    border-radius: 50%;
    pointer-events: none;
    animation: sparkle 2s ease-in-out infinite;
    box-shadow: 0 0 10px var(--accent-rose), 0 0 20px var(--accent-purple);
}

.hero-apple::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, var(--glow-purple) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, var(--glow-blue) 0%, transparent 50%);
    opacity: 0.05;
    pointer-events: none;
    animation: float 15s ease-in-out infinite;
}

.hero-content {
    max-width: 980px;
    z-index: 1;
}

.hero-badge-apple {
    display: inline-flex;
    align-items: baseline;
    gap: var(--space-3);
    margin-bottom: var(--space-10);
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    animation: fadeInUpApple 1s var(--ease-out-apple) 0.3s forwards, scaleIn 0.8s var(--ease-out-apple) 0.3s forwards;
    position: relative;
    padding: var(--space-4) var(--space-8);
    border-radius: 50px;
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.1) 0%, rgba(199, 125, 255, 0.1) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 40px var(--glow-rose),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: fadeInUpApple 1s var(--ease-out-apple) 0.3s forwards, 
               scaleIn 0.8s var(--ease-out-apple) 0.3s forwards,
               glowIntense 3s ease-in-out infinite 1.5s;
}

.hero-badge-apple::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--accent-rose), var(--accent-purple), var(--accent-blue));
    border-radius: 50px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.6s var(--ease-out-apple);
    filter: blur(10px);
}

.hero-badge-apple:hover::before {
    opacity: 0.3;
    animation: glowPulse 2s ease-in-out infinite;
}

.badge-number {
    font-size: 80px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--apple-white);
    line-height: 1;
}

.badge-text {
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 0.01em;
    color: var(--apple-gray-2);
    text-transform: uppercase;
}

.hero-title-apple {
    font-size: clamp(56px, 10vw, 112px);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.07143;
    margin-bottom: var(--space-6);
}

.title-main {
    color: var(--apple-white);
    display: block;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUpApple 1s var(--ease-out-apple) 0.6s forwards, titleReveal 1.5s var(--ease-out-apple) 0.6s forwards;
    background: linear-gradient(135deg, 
        var(--apple-white) 0%, 
        var(--accent-rose) 30%,
        var(--accent-purple) 60%,
        var(--apple-white) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUpApple 1s var(--ease-out-apple) 0.6s forwards, 
               titleReveal 1.5s var(--ease-out-apple) 0.6s forwards,
               shimmerText 3s linear infinite 2s;
}

.title-accent {
    background: linear-gradient(135deg, var(--accent-rose) 0%, var(--accent-purple) 50%, var(--accent-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUpApple 1s var(--ease-out-apple) 0.8s forwards;
    position: relative;
    filter: drop-shadow(0 0 20px var(--glow-rose));
}

.title-accent::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--accent-rose) 0%, var(--accent-purple) 50%, var(--accent-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    animation: shimmer 3s infinite;
    background-size: 200% 100%;
}

.hero-subtitle-apple {
    font-size: clamp(21px, 2.5vw, 28px);
    font-weight: 400;
    letter-spacing: 0.004em;
    line-height: 1.14286;
    color: var(--apple-gray-2);
    margin-bottom: var(--space-10);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUpApple 1s var(--ease-out-apple) 1s forwards;
}

.hero-date-apple {
    font-size: 17px;
    font-weight: 400;
    color: var(--apple-gray-3);
    letter-spacing: -0.022em;
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUpApple 1s var(--ease-out-apple) 1.2s forwards;
}

.date-value {
    color: var(--apple-white);
    font-weight: 500;
}

/* Compteur en temps réel */
.hero-counter-apple {
    display: flex;
    gap: var(--space-8);
    justify-content: center;
    margin-top: var(--space-10);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUpApple 1s var(--ease-out-apple) 1.4s forwards;
}

.counter-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
}

.counter-number {
    font-size: 48px;
    font-weight: 600;
    color: var(--accent-rose);
    line-height: 1;
    text-shadow: 0 0 20px var(--glow-rose);
}

.counter-label {
    font-size: 14px;
    font-weight: 400;
    color: var(--apple-gray-3);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.scroll-indicator-apple {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--apple-white), transparent);
    animation: scrollLineApple 2s ease infinite;
}

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

@keyframes scrollLineApple {
    0% { height: 0; opacity: 0; }
    50% { height: 40px; opacity: 1; }
    100% { height: 0; opacity: 0; }
}

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

.section-apple {
    padding: var(--space-20) var(--space-8);
    max-width: 1200px;
    margin: 0 auto;
}

.section-header-apple {
    text-align: center;
    margin-bottom: var(--space-16);
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out-apple), transform 0.8s var(--ease-out-apple);
}

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

.section-label {
    display: block;
    font-size: 14px;
    font-weight: 400;
    color: var(--apple-gray-4);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: var(--space-4);
}

.section-title-apple {
    font-size: clamp(48px, 8vw, 80px);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.05;
    color: var(--apple-white);
    margin-bottom: var(--space-4);
}

.section-date-apple {
    font-size: 17px;
    font-weight: 400;
    color: var(--apple-gray-3);
    letter-spacing: -0.022em;
}

/* ============================================
   TIMELINE LINÉAIRE APPLE
   ============================================ */

.timeline-linear-apple {
    position: relative;
    max-width: 900px;
    margin: var(--space-16) auto 0;
    padding: 0 var(--space-10);
}

.timeline-linear-apple::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, 
        transparent 0%,
        var(--apple-gray-5) 10%,
        var(--apple-gray-4) 50%,
        var(--apple-gray-5) 90%,
        transparent 100%);
    transform: translateX(-50%);
    z-index: 0;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
}

.timeline-linear-apple::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 4px;
    height: var(--timeline-height, 0%);
    background: linear-gradient(to bottom, var(--accent-rose), var(--accent-purple), var(--accent-blue));
    transform: translateX(-50%);
    z-index: 1;
    transition: height 0.8s var(--ease-out-apple);
    box-shadow: 0 0 30px var(--glow-rose);
    border-radius: 2px;
}

.timeline-item-linear {
    position: relative;
    margin-bottom: var(--space-20);
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1s var(--ease-out-apple), transform 1s var(--ease-out-apple);
}

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

.timeline-item-linear:nth-child(odd) .timeline-content-linear {
    margin-right: calc(50% + 80px);
    margin-left: var(--space-4);
    text-align: right;
}

.timeline-item-linear:nth-child(even) .timeline-content-linear {
    margin-left: calc(50% + 80px);
    margin-right: var(--space-4);
    text-align: left;
}

.timeline-item-linear.centered .timeline-content-linear {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 500px;
    text-align: center !important;
}

.timeline-marker-linear {
    position: absolute;
    left: 50%;
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--apple-white);
    border: 3px solid var(--apple-gray-5);
    transform: translateX(-50%);
    z-index: 2;
    transition: all 0.6s var(--ease-out-apple);
    cursor: pointer;
}

.timeline-marker-linear::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-rose), transparent);
    transform: translate(-50%, -50%);
    transition: all 0.6s var(--ease-out-apple);
    opacity: 0;
}

.timeline-item-linear.visible .timeline-marker-linear {
    border-color: var(--apple-white);
    box-shadow: 
        0 0 0 8px rgba(255, 255, 255, 0.1),
        0 0 20px var(--glow-rose);
    animation: scaleIn 0.6s var(--ease-out-apple);
}

.timeline-item-linear.visible .timeline-marker-linear::before {
    width: 40px;
    height: 40px;
    opacity: 0.3;
}

.timeline-item-linear:hover .timeline-marker-linear {
    transform: translateX(-50%) scale(1.3);
    box-shadow: 
        0 0 0 12px rgba(255, 107, 157, 0.2),
        0 0 40px var(--glow-rose);
}

.timeline-item-linear.special .timeline-marker-linear {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--accent-rose), var(--accent-purple));
    border-color: transparent;
    box-shadow: 
        0 0 0 12px rgba(255, 255, 255, 0.15),
        0 0 30px var(--glow-rose),
        0 0 60px var(--glow-purple);
    animation: glowPulse 2s ease-in-out infinite;
}

.timeline-content-linear {
    position: relative;
    padding: var(--space-10);
    background: linear-gradient(135deg, var(--apple-gray-6) 0%, var(--apple-gray-5) 100%);
    border-radius: 18px;
    border: 1px solid var(--apple-gray-5);
    transition: all 0.6s var(--ease-out-apple);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0 var(--space-4);
    will-change: transform, box-shadow;
}

.timeline-content-linear::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(255, 255, 255, 0.05) 50%,
        transparent 100%);
    transition: left 0.6s var(--ease-out-apple);
}

.timeline-item-linear:hover .timeline-content-linear {
    background: linear-gradient(135deg, var(--apple-gray-5) 0%, var(--apple-gray-4) 100%);
    border-color: rgba(255, 107, 157, 0.3);
    transform: translateX(var(--space-1)) translateY(-4px) scale(1.01);
    box-shadow: 
        0 16px 48px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 107, 157, 0.2),
        0 0 40px var(--glow-rose),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.timeline-item-linear:nth-child(odd):hover .timeline-content-linear {
    transform: translateX(calc(-1 * var(--space-1))) translateY(-4px) scale(1.01);
}

.timeline-item-linear:hover .timeline-content-linear::before {
    left: 100%;
}

.timeline-item-linear:nth-child(odd):hover .timeline-content-linear {
    transform: translateX(calc(-1 * var(--space-1))) translateY(-4px);
}

.timeline-item-linear.special .timeline-content-linear {
    background: linear-gradient(135deg, 
        rgba(255, 107, 157, 0.1) 0%, 
        rgba(199, 125, 255, 0.1) 50%,
        rgba(90, 200, 250, 0.1) 100%);
    border-color: rgba(255, 107, 157, 0.4);
    box-shadow: 
        0 16px 48px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 107, 157, 0.3),
        0 0 60px var(--glow-rose),
        0 0 100px var(--glow-purple);
}

.timeline-date-linear {
    display: inline-block;
    font-size: 13px;
    font-weight: 500;
    color: var(--apple-gray-2);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: var(--space-4);
    padding: var(--space-2) var(--space-4);
    background: var(--apple-gray-5);
    border-radius: 20px;
}

.timeline-title-linear {
    font-size: 32px;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--apple-white);
    margin-bottom: var(--space-4);
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.timeline-text-linear {
    font-size: 17px;
    font-weight: 400;
    color: var(--apple-gray-2);
    line-height: 1.47059;
    letter-spacing: -0.022em;
    margin-bottom: var(--space-6);
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.timeline-image-linear {
    position: relative;
    width: 100%;
    min-height: 300px;
    max-height: 400px;
    overflow: hidden;
    border-radius: 12px;
    background: var(--apple-gray-5);
    margin-top: var(--space-6);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.timeline-img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    position: relative;
    z-index: 2;
    transition: transform 1.2s var(--ease-out-apple), filter 0.6s var(--ease-out-apple), opacity 0.4s var(--ease-out-apple);
    filter: brightness(0.9) contrast(1.1);
    image-orientation: none !important;
    -webkit-image-orientation: none !important;
    transform: none !important;
    -webkit-transform: none !important;
    will-change: transform, filter, opacity;
    opacity: 1 !important;
    visibility: visible !important;
    transform-origin: center center;
}

.timeline-item-linear.visible .timeline-img {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    -webkit-transform: none !important;
}

.timeline-item-linear:hover .timeline-img {
    transform: scale(1.08);
    filter: brightness(1.1) contrast(1.2);
}

.timeline-image-linear::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 107, 157, 0.1) 0%,
        transparent 50%,
        rgba(199, 125, 255, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.6s var(--ease-out-apple);
    pointer-events: none;
}

.timeline-item-linear:hover .timeline-image-linear::after {
    opacity: 1;
}


@media (max-width: 768px) {
    .timeline-linear-apple::before {
        left: 30px;
    }
    
    .timeline-item-linear:nth-child(odd) .timeline-content-linear,
    .timeline-item-linear:nth-child(even) .timeline-content-linear {
        margin-left: 60px;
        margin-right: 0;
        text-align: left;
    }
    
    .timeline-marker-linear {
        left: 30px;
    }
    
    .timeline-title-linear {
        white-space: normal;
        word-wrap: break-word;
        line-height: 1.4;
    }
    
    .timeline-text-linear {
        white-space: normal;
        word-wrap: break-word;
        line-height: 1.6;
        hyphens: auto;
    }
    
    .timeline-item-linear:hover .timeline-content-linear {
        transform: translateX(0);
    }
}

/* ============================================
   MOMENTS APPLE
   ============================================ */

.moments-grid-apple {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: var(--space-8);
    margin-top: var(--space-12);
}

.moment-card-apple {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s var(--ease-out-apple), transform 0.8s var(--ease-out-apple);
}

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

.moment-media-apple {
    aspect-ratio: 16/10;
    overflow: hidden;
    border-radius: 18px;
    background: var(--apple-gray-5);
    margin-bottom: var(--space-6);
}

.moment-img-apple {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease-out-apple);
}

.moment-card-apple:hover .moment-img-apple {
    transform: scale(1.08);
}

.moment-info-apple {
    padding: 0 var(--space-1);
}

.moment-label {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: var(--accent-rose);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: var(--space-3);
}

.moment-title-apple {
    font-size: 32px;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.125;
    color: var(--apple-white);
    margin-bottom: var(--space-4);
}

.moment-description-apple {
    font-size: 17px;
    font-weight: 400;
    color: var(--apple-gray-2);
    line-height: 1.47059;
    letter-spacing: -0.022em;
}

/* ============================================
   ADVENTURE APPLE
   ============================================ */

.adventure-layout-apple {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-8);
    margin-top: var(--space-12);
}

.adventure-main-apple {
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 18px;
    background: var(--apple-gray-5);
    position: relative;
    opacity: 0;
    transform: scale(0.98);
    transition: opacity 1s var(--ease-out-apple) 0.2s, transform 1s var(--ease-out-apple) 0.2s;
}

.adventure-main-apple.visible {
    opacity: 1;
    transform: scale(1);
}

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

.video-control-apple {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s var(--ease-apple);
}

.adventure-main-apple:hover .video-control-apple {
    opacity: 1;
}

.play-button-apple {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--apple-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease-apple);
}

.play-button-apple:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.play-button-apple svg {
    width: 28px;
    height: 28px;
}

.pause-icon-apple {
    display: none;
}

.adventure-main-apple.playing .play-icon-apple {
    display: none;
}

.adventure-main-apple.playing .pause-icon-apple {
    display: block;
}

.adventure-side-apple {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

.side-photo-apple {
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 18px;
    background: var(--apple-gray-5);
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s var(--ease-out-apple), transform 0.8s var(--ease-out-apple);
}

.side-photo-apple:nth-child(1) { transition-delay: 0.4s; }
.side-photo-apple:nth-child(2) { transition-delay: 0.6s; }
.side-photo-apple:nth-child(3) { transition-delay: 0.8s; }
.side-photo-apple:nth-child(4) { transition-delay: 1s; }

.side-photo-apple.visible {
    opacity: 1;
    transform: translateX(0);
}

.side-img-apple {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s var(--ease-out-apple);
}

.side-photo-apple:hover .side-img-apple {
    transform: scale(1.1);
}

/* ============================================
   GALLERY APPLE
   ============================================ */

.gallery-grid-apple {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
    margin-top: var(--space-12);
    position: relative;
    width: 100%;
    max-width: 1800px;
    margin-left: auto;
    margin-right: auto;
    touch-action: pan-y;
}

.gallery-item-apple {
    position: relative;
    overflow: visible;
    border-radius: 18px;
    background: transparent;
    opacity: 1;
    transform: none !important;
    transition: none;
    cursor: default;
    border: none;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0;
    padding: 0;
    touch-action: none !important;
    user-select: none;
    -webkit-user-drag: none;
    will-change: auto;
}


.gallery-item-apple.visible {
    opacity: 1;
    transform: none;
}

.gallery-item-apple:hover {
    transform: none;
    z-index: 10;
}


.gallery-item-apple.large {
    flex-basis: auto;
    max-width: none;
    width: auto;
    height: auto;
}

.gallery-item-apple.large:hover {
    transform: none;
}

.gallery-img-apple {
    width: 100% !important;
    height: auto !important;
    max-width: 600px !important;
    max-height: 90vh !important;
    min-width: 200px !important;
    display: block;
    border-radius: 18px;
    transition: opacity 0.4s var(--ease-out-apple), transform 0.4s var(--ease-out-apple) !important;
    filter: none;
    position: static !important;
    z-index: 0;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    background: linear-gradient(135deg, var(--apple-gray-6) 0%, var(--apple-gray-5) 100%);
    will-change: opacity;
    opacity: 0;
    cursor: pointer;
    image-orientation: none !important;
    -webkit-image-orientation: none !important;
    transform: none !important;
    -webkit-transform: none !important;
}

.gallery-img-apple:hover {
    transform: scale(1.02);
    box-shadow: 
        0 12px 48px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 107, 157, 0.2),
        0 0 40px var(--glow-rose);
}

.gallery-img-apple.loaded {
    opacity: 1;
}
    padding: var(--space-3);
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.08);
    pointer-events: auto;
    user-select: none;
    -webkit-user-drag: none;
    touch-action: none !important;
    transform: none !important;
    -webkit-transform: none !important;
    translate: none !important;
    will-change: auto;
    object-fit: contain !important;
    object-position: center !important;
    image-rendering: auto;
    overflow: visible !important;
    image-orientation: none !important;
    -webkit-transform: none !important;
    transform-origin: center center;
}

.gallery-item-apple:hover .gallery-img-apple {
    transform: scale(1.02);
    filter: none;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.08);
    background: linear-gradient(135deg, var(--apple-gray-6) 0%, var(--apple-gray-5) 100%);
}

/* ============================================
   PREMIÈRES FOIS
   ============================================ */

.firsts-grid-apple {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-6);
    margin-top: var(--space-12);
}

.first-item-apple {
    padding: var(--space-8);
    background: linear-gradient(135deg, var(--apple-gray-6) 0%, var(--apple-gray-5) 100%);
    border-radius: 18px;
    border: 1px solid var(--apple-gray-5);
    text-align: center;
    transition: all 0.6s var(--ease-out-apple);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUpApple 0.8s var(--ease-out-apple) forwards;
}

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

.first-item-apple:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(255, 107, 157, 0.3);
    box-shadow: 
        0 16px 48px rgba(0, 0, 0, 0.5),
        0 0 40px var(--glow-rose);
}

.first-icon {
    font-size: 64px;
    margin-bottom: var(--space-4);
    filter: drop-shadow(0 0 20px var(--glow-rose));
}

.first-title {
    font-size: 21px;
    font-weight: 600;
    color: var(--apple-white);
    margin-bottom: var(--space-3);
}

.first-text {
    font-size: 15px;
    color: var(--apple-gray-2);
    line-height: 1.5;
}

/* ============================================
   STATISTIQUES
   ============================================ */

.stats-grid-apple {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-8);
    margin-top: var(--space-12);
}

.stat-item-apple {
    text-align: center;
    padding: var(--space-8);
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.1) 0%, rgba(199, 125, 255, 0.1) 100%);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s var(--ease-out-apple);
}

.stat-item-apple.visible {
    opacity: 1;
    transform: scale(1);
}

.stat-item-apple:nth-child(1) { transition-delay: 0.1s; }
.stat-item-apple:nth-child(2) { transition-delay: 0.2s; }
.stat-item-apple:nth-child(3) { transition-delay: 0.3s; }
.stat-item-apple:nth-child(4) { transition-delay: 0.4s; }

.stat-number {
    font-size: 56px;
    font-weight: 600;
    color: var(--accent-rose);
    line-height: 1;
    margin-bottom: var(--space-3);
    text-shadow: 0 0 30px var(--glow-rose);
}

.stat-label {
    font-size: 15px;
    color: var(--apple-gray-2);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.quotes-container-apple {
    margin-top: var(--space-16);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.quotes-title {
    font-size: 28px;
    font-weight: 600;
    color: var(--apple-white);
    text-align: center;
    margin-bottom: var(--space-8);
}

.quote-item-apple {
    padding: var(--space-6);
    margin-bottom: var(--space-4);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border-left: 3px solid var(--accent-rose);
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.6s var(--ease-out-apple);
}

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

.quote-item-apple:nth-child(1) { transition-delay: 0.1s; }
.quote-item-apple:nth-child(2) { transition-delay: 0.2s; }
.quote-item-apple:nth-child(3) { transition-delay: 0.3s; }

.quote-text {
    font-size: 18px;
    font-style: italic;
    color: var(--apple-gray-2);
    line-height: 1.6;
}

/* ============================================
   LIGHTBOX
   ============================================ */

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(20px);
}

.lightbox.active {
    display: flex;
}

#lightbox-img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.lightbox-close {
    position: absolute;
    top: var(--space-6);
    right: var(--space-6);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--apple-white);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    transition: all 0.3s var(--ease-apple);
    backdrop-filter: blur(10px);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--apple-white);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    font-size: 32px;
    cursor: pointer;
    transition: all 0.3s var(--ease-apple);
    backdrop-filter: blur(10px);
}

.lightbox-prev {
    left: var(--space-6);
}

.lightbox-next {
    right: var(--space-6);
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-counter {
    position: absolute;
    bottom: var(--space-6);
    left: 50%;
    transform: translateX(-50%);
    color: var(--apple-white);
    font-size: 16px;
    background: rgba(0, 0, 0, 0.5);
    padding: var(--space-3) var(--space-5);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

/* ============================================
   MESSAGE APPLE
   ============================================ */

.message-container-apple {
    max-width: 780px;
    margin: var(--space-12) auto 0;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s var(--ease-out-apple) 0.3s, transform 1s var(--ease-out-apple) 0.3s;
}

.message-container-apple.visible {
    opacity: 1;
    transform: translateY(0);
}

.message-content-apple {
    padding: var(--space-10) var(--space-8);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border-radius: 18px;
    border: 0.5px solid rgba(255, 255, 255, 0.1);
}

.message-text-apple {
    font-size: 21px;
    font-weight: 400;
    line-height: 1.381;
    letter-spacing: 0.011em;
    color: var(--apple-gray-2);
    text-align: left;
    min-height: 200px;
}

.message-text-apple .typewriter-cursor {
    display: inline-block;
    width: 2px;
    height: 1.2em;
    background: var(--accent-rose);
    margin-left: 2px;
    animation: blink 1s infinite;
}

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

.signature-apple {
    display: block;
    margin-top: var(--space-8);
    text-align: right;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--apple-white);
}

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

.footer-apple {
    padding: var(--space-12) var(--space-8);
    text-align: center;
    border-top: 0.5px solid rgba(255, 255, 255, 0.1);
    margin-top: var(--space-20);
}

.footer-content-apple {
    max-width: 980px;
    margin: 0 auto;
}

.footer-text-apple {
    font-size: 17px;
    font-weight: 400;
    color: var(--apple-gray-3);
    letter-spacing: -0.022em;
    margin-bottom: var(--space-2);
}

.footer-date-apple {
    font-size: 14px;
    font-weight: 400;
    color: var(--apple-gray-4);
    letter-spacing: 0.01em;
}

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

@media (max-width: 1068px) {
    .content-grid-apple,
    .adventure-layout-apple {
        grid-template-columns: 1fr;
    }
    
    .gallery-item-apple.large {
        grid-column: span 1;
    }
}

@media (max-width: 734px) {
    .apple-nav {
        padding: var(--space-3) var(--space-5);
    }
    
    .nav-menu {
        display: none;
    }
    
    .moments-grid-apple {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid-apple {
        grid-template-columns: repeat(2, 1fr);
    }
    
    @media (max-width: 480px) {
        .gallery-grid-apple {
            grid-template-columns: 1fr;
        }
    }
    
    .section-apple {
        padding: var(--space-12) var(--space-5);
    }
    
    .message-content-apple {
        padding: var(--space-8) var(--space-5);
    }
}

/* ============================================
   MOTS ALÉATOIRES SUR LE FOND
   ============================================ */

#floating-words {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.floating-word {
    position: absolute;
    color: var(--apple-white);
    font-family: var(--font-apple);
    font-weight: 300;
    letter-spacing: 0.05em;
    user-select: none;
    white-space: nowrap;
    transform-origin: center;
}

@keyframes floatWord {
    0%, 100% {
        transform: translateY(0) rotate(var(--rotation, 0deg));
    }
    50% {
        transform: translateY(-20px) rotate(calc(var(--rotation, 0deg) + 2deg));
    }
}

@keyframes floatWordMove {
    0% {
        transform: translate(0, 0) rotate(var(--rotation, 0deg));
        opacity: var(--opacity-start, 0.2);
    }
    25% {
        transform: translate(calc(var(--moveX, 0px) * 0.5), calc(var(--moveY, 0px) * 0.5)) rotate(calc(var(--rotation, 0deg) + 3deg));
        opacity: var(--opacity-start, 0.2);
    }
    50% {
        transform: translate(var(--moveX, 0px), var(--moveY, 0px)) rotate(calc(var(--rotation, 0deg) + 5deg));
        opacity: calc(var(--opacity-start, 0.2) + 0.15);
    }
    75% {
        transform: translate(calc(var(--moveX, 0px) * 0.5), calc(var(--moveY, 0px) * 0.5)) rotate(calc(var(--rotation, 0deg) + 3deg));
        opacity: var(--opacity-start, 0.2);
    }
    100% {
        transform: translate(0, 0) rotate(var(--rotation, 0deg));
        opacity: var(--opacity-start, 0.2);
    }
}

/* ============================================
   UTILITIES
   ============================================ */

.visible {
    opacity: 1 !important;
    transform: translateY(0) translateX(0) scale(1) !important;
}
