/* ============================================
   RESET & BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #0d1428;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================
   TYPOGRAPHIE COMMUNE
   ============================================ */
.overline {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 300;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    color: #c9a961;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.italic {
    font-style: italic;
    font-family: 'Cormorant Garamond', serif;
}

.gold {
    color: #c9a961;
}

.gold-soft {
    color: #d4b97a;
}

.white {
    color: #ffffff;
}

.key-emoji {
    font-style: normal;
    filter: hue-rotate(-15deg) sepia(0.3);
}

/* ============================================
   STRUCTURE DES SCÈNES
   ============================================ */
.scene {
    min-height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem;
    overflow: hidden;
}

.scene-content,
.scene-content-wide {
    position: relative;
    z-index: 3;
    max-width: 1100px;
    width: 100%;
    padding: 2rem;
    text-align: center;
}

/* ============================================
   SCÈNE 1 : ACCUEIL — ANIMATIONS RAFFINÉES
   ============================================ */
.scene-intro {
    background: radial-gradient(ellipse at center, #1a2547 0%, #0d1428 60%, #08101e 100%);
    flex-direction: column;
    text-align: center;
}

.intro-content {
    max-width: 1200px;
}

.intro-overline {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 200;
    letter-spacing: 0.8em;
    text-transform: uppercase;
    color: #c9a961;
    margin-bottom: 4rem;
    opacity: 0.5;
    animation: fadeInQuick 2.5s ease-out 0.3s forwards;
}

.intro-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 7vw, 6.5rem);
    font-weight: 300;
    line-height: 1.05;
    color: #ffffff;
    letter-spacing: -0.03em;
    margin-bottom: 2.5rem;
}

.title-line {
    display: block;
    opacity: 0;
    filter: blur(6px);
}

.title-fade-1 {
    animation: slideInLeft 3s cubic-bezier(0.16, 1, 0.3, 1) 1.2s forwards;
    transform: translateX(-200px);
}

.title-fade-2 {
    animation: slideInRight 2.8s cubic-bezier(0.16, 1, 0.3, 1) 1.4s forwards;
    transform: translateX(200px);
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
        filter: blur(0);
    }
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
        filter: blur(0);
    }
}

@keyframes fadeInQuick {
    to { opacity: 1; }
}

@keyframes fadeInVerySlow {
    to { opacity: 1; }
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    animation: fadeInVerySlow 1.5s ease-out 3.8s forwards;
}

.scroll-indicator span {
    font-size: 0.7rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: #c9a961;
    white-space: nowrap;
}

.scroll-line {
    width: 1px;
    height: 70px;
    background: linear-gradient(to bottom, #c9a961, transparent);
    animation: scrollPulse 3s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.5); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ============================================
   TITRES DE SCÈNE
   ============================================ */
.scene-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 5.5vw, 4.8rem);
    font-weight: 300;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
}

.scene-title.gold {
    color: #c9a961;
}

.scene-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.3rem, 2vw, 1.9rem);
    font-weight: 300;
    line-height: 1.5;
    color: #ffffff;
    margin-bottom: 3rem;
}

.project-question {
    font-size: clamp(1.7rem, 2.8vw, 2.6rem) !important;
    margin-bottom: 2rem !important;
}

/* ============================================
   VIDÉO DE FOND
   ============================================ */
.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.4;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13,20,40,0.75) 0%, rgba(13,20,40,0.5) 100%);
    z-index: 2;
}

/* ============================================
   SCÈNE 2 : DITES-MOI TOUT
   ============================================ */
.scene-video {
    background-color: #0d1428;
}

.project-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 4rem;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}

.project-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.project-card:hover {
    border-color: #c9a961;
    background: rgba(201, 169, 97, 0.06);
    transform: translateY(-10px);
}

.card-number {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1rem;
    color: #c9a961;
    margin-bottom: 1.2rem;
    letter-spacing: 0.15em;
}

.card-title-highlight {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 400;
    color: #ffffff;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.card-title-highlight .italic {
    color: #c9a961;
    text-transform: none;
    letter-spacing: normal;
    font-size: 1.5rem;
    display: block;
    margin-top: 0.5rem;
}

/* ============================================
   SCÈNE 3 : PARCOURS EN 5 ÉTAPES
   ============================================ */
.scene-steps {
    flex-direction: column;
    background: #0d1428;
    padding: 8rem 2rem;
    position: relative;
}

.scene-steps .bg-video {
    opacity: 0.25;
    z-index: 1;
}

.scene-steps .video-overlay {
    z-index: 2;
}

.steps-content-wrapper {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.scene-steps .steps-header,
.scene-steps .steps-timeline,
.scene-steps .step,
.scene-steps .step-number,
.scene-steps .step-content {
    position: relative;
    z-index: 5;
}

.steps-header {
    text-align: center;
    margin-bottom: 5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.steps-timeline {
    max-width: 850px;
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.steps-timeline::before {
    content: '';
    position: absolute;
    left: 60px;
    top: 30px;
    bottom: 30px;
    width: 1px;
    background: linear-gradient(to bottom, #c9a961 0%, rgba(201, 169, 97, 0.4) 100%);
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    margin-bottom: 4rem;
    position: relative;
}

.step:last-child {
    margin-bottom: 0;
}

.step-number {
    flex-shrink: 0;
    width: 120px;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 2.8rem;
    color: #c9a961;
    text-align: center;
    background: transparent;
    z-index: 5;
    position: relative;
}

.step-content {
    padding-top: 0.8rem;
    text-align: left;
}

.step-content h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.7rem;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.step-content p {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.8;
    color: #d8d4c8;
    max-width: 500px;
}

/* ============================================
   SCÈNE 4 : PROMOTEURS PARTENAIRES
   ============================================ */
.scene-promoters {
    flex-direction: column;
    background: linear-gradient(180deg, #0d1428 0%, #131b35 50%, #0d1428 100%);
    padding: 6rem 0;
    gap: 3rem;
}

.promoters-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.promoters-section {
    width: 100%;
    padding: 3rem 0;
    margin-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    overflow: hidden;
}

.promoters-track {
    display: flex;
    width: max-content;
    animation: scrollPromoters 70s linear infinite;
}

.promoters-slide {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding-right: 3rem;
}

.promoter-logo {
    background: linear-gradient(135deg, rgba(245, 235, 215, 0.95) 0%, rgba(235, 220, 195, 0.92) 100%);
    padding: 1.2rem 2.5rem;
    border-radius: 100px;
    border: 1px solid rgba(201, 169, 97, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    min-width: 220px;
    flex-shrink: 0;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(201, 169, 97, 0.1);
}

.promoter-logo img {
    max-height: 75px;
    max-width: 180px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.promoter-logo:hover {
    background: linear-gradient(135deg, rgba(245, 235, 215, 1) 0%, rgba(235, 220, 195, 1) 100%);
    border-color: #c9a961;
    transform: scale(1.05);
    box-shadow: 0 6px 30px rgba(201, 169, 97, 0.25);
}

@keyframes scrollPromoters {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ============================================
   SCÈNE 5 : CONTACT
   ============================================ */
.scene-contact {
    background: radial-gradient(ellipse at center, #1a2547 0%, #0d1428 70%);
    flex-direction: column;
}

.contact-content {
    text-align: center;
    max-width: 600px;
}

.contact-overline {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 3rem;
}

.photo-container {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    margin: 2rem auto 3rem;
    overflow: hidden;
    border: 2px solid #c9a961;
    box-shadow: 0 0 50px rgba(201, 169, 97, 0.3);
    position: relative;
}

.contact-photo {
    width: 130%;
    height: 130%;
    object-fit: cover;
    object-position: center 5%;
    display: block;
    margin-left: -15%;
    margin-top: -15%;
}

.contact-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.contact-role {
    font-size: 1.2rem;
    margin-bottom: 3.5rem;
    font-family: 'Cormorant Garamond', serif;
    opacity: 0.95;
}

.contact-role.gold {
    color: #c9a961;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin-bottom: 2rem;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.3rem 3rem;
    background: transparent;
    border: 1px solid #c9a961;
    color: #ffffff;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    min-width: 320px;
    justify-content: center;
}

.contact-btn:hover {
    background: #c9a961;
    color: #0d1428;
    gap: 2rem;
}

.contact-phone {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.6rem;
    letter-spacing: 0.15em;
    margin-top: 1.5rem;
}

.contact-phone.gold {
    color: #c9a961;
}

/* ============================================
   ANIMATIONS D'APPARITION AU SCROLL
   ============================================ */
.scene-content,
.scene-content-wide,
.steps-header,
.step,
.contact-content,
.steps-content-wrapper {
    opacity: 0;
    transform: translateY(60px);
    filter: blur(4px);
    transition: opacity 2.5s cubic-bezier(0.16, 1, 0.3, 1),
                transform 2.5s cubic-bezier(0.16, 1, 0.3, 1),
                filter 2.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.scene-content.visible,
.scene-content-wide.visible,
.steps-header.visible,
.step.visible,
.contact-content.visible,
.steps-content-wrapper.visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

.force-visible {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
}

.step:nth-child(2) { transition-delay: 0.3s; }
.step:nth-child(3) { transition-delay: 0.6s; }
.step:nth-child(4) { transition-delay: 0.9s; }
.step:nth-child(5) { transition-delay: 1.2s; }

/* ============================================
   RESPONSIVE MOBILE
   ============================================ */
@media (max-width: 768px) {
    .scene {
        padding: 4rem 1.2rem;
        min-height: auto;
    }

    .scene-intro {
        min-height: 100vh;
    }

    .scene-title {
        font-size: 2.2rem;
    }

    .scene-text {
        font-size: 1.15rem;
    }
    
    .project-question {
        font-size: 1.5rem !important;
    }
    
    .project-cards {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .card-title-highlight {
        font-size: 1.2rem;
    }
    
    .project-card {
        min-height: 140px;
        padding: 1.5rem;
    }
    
    .step {
        flex-direction: column;
        gap: 0.8rem;
        align-items: center;
        text-align: center;
        margin-bottom: 3rem;
    }

    .step-content {
        text-align: center;
    }

    .steps-timeline::before {
        display: none;
    }

    .photo-container {
        width: 180px;
        height: 180px;
    }
    
    .promoter-logo {
        padding: 1rem 2rem;
        height: 80px;
        min-width: 170px;
    }
    
    .promoter-logo img {
        max-height: 55px;
        max-width: 130px;
    }
    
    .contact-btn {
        min-width: 280px;
        font-size: 0.75rem;
        padding: 1.1rem 2rem;
        letter-spacing: 0.2em;
    }
}