/* ============================================================================
   VIDEO PITCH 2026 - SXO 2026 GOLD STANDARD
   Section: video courte de presentation (YouTube/Vimeo)
   Architecture: Mobile-First, Root CSS (charge via @ROOT:video-pitch)
   Selecteurs: .sxo-2026-wrapper .trust-video-pitch-2026 / .video-pitch-*-2026
   Grille typo: 1.75 → 2.25 → 2.5rem (Section H2 standard)
   ============================================================================ */

/* === SECTION WRAPPER (mobile base 360px+) === */
.sxo-2026-wrapper .trust-video-pitch-2026 {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
    padding: 48px 0;
    position: relative;
    color: #ffffff;
}

/* === HEADER === */
.sxo-2026-wrapper .video-pitch-header-2026 {
    text-align: center;
    margin-bottom: 24px;
    padding: 0 16px;
}

.sxo-2026-wrapper .video-pitch-title-2026 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.2;
}

.sxo-2026-wrapper .video-pitch-subtitle-2026 {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* === VIDEO WRAPPER (mobile: pleine largeur avec marge) === */
.sxo-2026-wrapper .video-pitch-wrapper-2026 {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 16px;
}

/* === VIDEO CONTAINER (16:9 responsive) === */
.sxo-2026-wrapper .video-pitch-container-2026 {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: #0f172a;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.sxo-2026-wrapper .video-pitch-iframe-2026 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* === TRANSCRIPT === */
.sxo-2026-wrapper .video-pitch-transcript-2026 {
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 16px;
}

.sxo-2026-wrapper .video-pitch-transcript-toggle-2026 {
    cursor: pointer;
    color: #c4a35a;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
}

.sxo-2026-wrapper .video-pitch-transcript-toggle-2026:hover {
    color: #d4b36a;
}

.sxo-2026-wrapper .video-pitch-transcript-toggle-2026:focus-visible {
    outline: 2px solid #c4a35a;
    outline-offset: 2px;
    border-radius: 4px;
}

.sxo-2026-wrapper .video-pitch-transcript-content-2026 {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9375rem;
    line-height: 1.8;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

/* === TABLET (>= 768px) === */
@media (min-width: 768px) {
    .sxo-2026-wrapper .trust-video-pitch-2026 {
        padding: 64px 0;
    }

    .sxo-2026-wrapper .video-pitch-header-2026 {
        margin-bottom: 32px;
        padding: 0;
    }

    .sxo-2026-wrapper .video-pitch-title-2026 {
        font-size: 2.25rem;
    }

    .sxo-2026-wrapper .video-pitch-subtitle-2026 {
        font-size: 1.125rem;
    }

    .sxo-2026-wrapper .video-pitch-wrapper-2026 {
        padding: 0;
    }

    .sxo-2026-wrapper .video-pitch-container-2026 {
        border-radius: 12px;
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
    }

    .sxo-2026-wrapper .video-pitch-transcript-2026 {
        padding: 20px;
        border-radius: 12px;
    }
}

/* === DESKTOP (>= 1200px) : FORMAT AGRANDI === */
@media (min-width: 1200px) {
    .sxo-2026-wrapper .trust-video-pitch-2026 {
        padding: 80px 0;
    }

    .sxo-2026-wrapper .video-pitch-header-2026 {
        margin-bottom: 40px;
    }

    .sxo-2026-wrapper .video-pitch-title-2026 {
        font-size: 2.5rem;
    }

    .sxo-2026-wrapper .video-pitch-subtitle-2026 {
        font-size: 1.25rem;
        max-width: 700px;
    }

    /* Pleine largeur container (1140px) - supprime la contrainte 900px */
    .sxo-2026-wrapper .video-pitch-wrapper-2026 {
        max-width: 100%;
    }

    .sxo-2026-wrapper .video-pitch-container-2026 {
        border-radius: 16px;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    }

    .sxo-2026-wrapper .video-pitch-transcript-2026 {
        margin-top: 24px;
        padding: 24px;
    }
}

/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
    .sxo-2026-wrapper .video-pitch-transcript-toggle-2026 {
        transition: none;
    }
}
