/* ============================================================
   DIRECTOR SECTION - CINÉMATIQUE & PREMIUM
   ============================================================ */

.director-section {
    position: relative;
    padding: 64px 0 80px;
    background: #ffffff;
    overflow-x: hidden;
    overflow-y: visible;
}

/* ──────────────────────────────────────────────────────
   HEADER : TITRE + SOUS-TITRE (animation de bas vers haut)
   ────────────────────────────────────────────────────── */

.director-header {
    text-align: center;
    margin-bottom: 48px;
}

.director-header.scroll-reveal {
    opacity: 0;
}

.director-main-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: #f1f3f5;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0 20px;
    line-height: 1.1;
    
    opacity: 0;
    transform: translateY(50px);
    filter: blur(3px);
}

.director-header.scroll-reveal.visible .director-main-title {
    animation: titleSlideUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

.director-subtitle-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #d8757d;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    display: inline-block;
    
    opacity: 0;
    transform: translateY(50px);
    filter: blur(3px);
}

.director-header.scroll-reveal.visible .director-subtitle-label {
    animation: titleSlideUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.25s forwards;
}

/* ──────────────────────────────────────────────────────
   GRID : TEXTE GAUCHE | IMAGE CENTRE | TEXTE DROITE
   ────────────────────────────────────────────────────── */

.director-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ──────────────────────────────────────────────────────
   TEXTE 1 : GAUCHE → DROITE
   ────────────────────────────────────────────────────── */

.director-text-left {
    align-self: flex-start;
    padding-top: 20px;
    
    opacity: 0;
    transform: translateX(-140px);
    filter: blur(4px);
}

.director-text-left.scroll-reveal {
    opacity: 0;
    transform: translateX(-140px);
}

.director-text-left.scroll-reveal.visible {
    animation: slideInLeftCinematic 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.35s forwards;
}

/* ──────────────────────────────────────────────────────
   IMAGE : BAS → HAUT + EFFET 3D SUBTIL
   ────────────────────────────────────────────────────── */

.director-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 480px;
    
    opacity: 0;
    transform: translateY(80px) scale(0.92);
    filter: blur(2px);
    perspective: 1000px;
}

.director-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.director-image:hover img {
    transform: scale(1.04);
}

.director-image.scroll-reveal {
    opacity: 0;
    transform: translateY(80px) scale(0.92);
}

.director-image.scroll-reveal.visible {
    animation: slideInUpCinematic 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.45s forwards;
}

/* Bordure subtile */
.director-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(227, 6, 19, 0.1);
    border-radius: 16px;
    pointer-events: none;
    z-index: 2;
}

/* ──────────────────────────────────────────────────────
   TEXTE 2 : DROITE → GAUCHE
   ────────────────────────────────────────────────────── */

.director-text-right {
    align-self: flex-end;
    padding-bottom: 20px;
    
    opacity: 0;
    transform: translateX(140px);
    filter: blur(4px);
}

.director-text-right.scroll-reveal {
    opacity: 0;
    transform: translateX(140px);
}

.director-text-right.scroll-reveal.visible {
    animation: slideInRightCinematic 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.35s forwards;
}

/* ──────────────────────────────────────────────────────
   TEXTE COMMUN
   ────────────────────────────────────────────────────── */

.director-text {
    font-size: 1rem;
    color: #555;
    line-height: 1.9;
    margin: 0;
    letter-spacing: 0.3px;
}

.director-text strong {
    font-weight: 700;
    color: #0f172a;
}

/* ──────────────────────────────────────────────────────
   SÉPARATEUR ROUGE
   ────────────────────────────────────────────────────── */

.director-separator {
    width: 48px;
    height: 2px;
    background: #E30613;
    margin: 24px 0 18px;
    border-radius: 1px;
}

/* ──────────────────────────────────────────────────────
   INFO DIRECTEUR
   ────────────────────────────────────────────────────── */

.director-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 12px;
}

.director-name {
    font-size: 1.1rem;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: 0.2px;
    text-transform: uppercase;
}

.director-title {
    font-size: 0.8rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #0f172a;
}

/* ──────────────────────────────────────────────────────
   ANIMATIONS CINÉMATIQUES
   ────────────────────────────────────────────────────── */

@keyframes titleSlideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
        filter: blur(3px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes slideInLeftCinematic {
    from {
        opacity: 0;
        transform: translateX(-140px);
        filter: blur(4px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
        filter: blur(0);
    }
}

@keyframes slideInUpCinematic {
    from {
        opacity: 0;
        transform: translateY(80px) scale(0.92);
        filter: blur(2px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes slideInRightCinematic {
    from {
        opacity: 0;
        transform: translateX(140px);
        filter: blur(4px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
        filter: blur(0);
    }
}

/* ──────────────────────────────────────────────────────
   RESPONSIVE : TABLETTE
   ────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
    .director-section {
        padding: 58px 0 60px;
    }

    .director-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        align-items: center;
    }

    .director-text-left,
    .director-text-right {
        align-self: center !important;
        padding: 0 !important;
    }

    .director-image { height: 380px; }

    .director-header {
        margin-bottom: 42px;
    }
}

/* ──────────────────────────────────────────────────────
   RESPONSIVE : MOBILE
   ────────────────────────────────────────────────────── */

@media (max-width: 768px) {
    .director-section {
        padding: 50px 0 50px;
    }

    .director-grid {
        gap: 30px;
    }

    .director-image { height: 320px; }

    .director-text {
        font-size: 0.95rem;
        line-height: 1.8;
    }

    .director-header {
        margin-bottom: 36px;
    }

    .director-main-title {
        font-size: clamp(1.6rem, 4vw, 2.2rem);
    }
}

@media (max-width: 576px) {
    .director-section {
        padding: 46px 0 40px;
    }

    .director-header {
        margin-bottom: 32px;
    }

    .director-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .director-image { height: 280px; }

    .director-text {
        font-size: 0.92rem;
        line-height: 1.7;
    }

    .director-main-title {
        font-size: 1.4rem;
    }

    .director-name {
        font-size: 1rem;
    }

    .director-title {
        font-size: 0.75rem;
    }
}

/* Company figures */
.director-section {
    padding: 82px 0 96px;
    background: #111318;
}

.company-figures-intro {
    max-width: 680px;
    margin: -18px auto 54px;
    color: rgba(218, 224, 230, 0.82);
    text-align: center;
    line-height: 1.7;
}

.company-figures-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    max-width: 1180px;
    margin: 0 auto;
}

.company-figure {
    position: relative;
    padding: 8px 20px 4px;
    text-align: center;
}

.company-figure + .company-figure::before {
    content: '';
    position: absolute;
    top: 14px;
    bottom: 12px;
    left: 0;
    width: 1px;
    background: rgba(255, 255, 255, 0.12);
}

.company-figure-value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    color: #d26069;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.8rem, 5vw, 4.4rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
}

.company-figure-suffix {
    margin-left: 3px;
    font-size: 0.52em;
    letter-spacing: 0;
}

.company-figure p {
    max-width: 190px;
    margin: 18px auto 0;
    color: rgba(232, 236, 240, 0.88);
    font-size: 0.95rem;
    line-height: 1.45;
}

@media (max-width: 767px) {
    .company-figures-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 42px;
    }

    .company-figure:nth-child(odd)::before {
        display: none;
    }
}
