/* ==========================================================================
   VSL – Estilos (Mobile-First)
   ========================================================================== */

/* Reset e base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    /* Evita ajuste de tamanho de fonte em giro de tela no mobile */
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Source Sans 3', Arial, sans-serif;
    background: #000;
    color: #f5f5f5;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Reduz movimento para usuários que preferem */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Variáveis */
:root {
    --bg-dark: #000;
    --border-color: #2a0a0a;
    --radius: 12px;
    --container-max: 1180px;
    --container-padding: 16px;
}

/* Container principal */
.page-shell {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 20px 0 calc(60px + env(safe-area-inset-bottom)) 0;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

/* ===== Vídeo ===== */
.video-section {
    margin: 0 auto 24px;
    padding: 12px;
    max-width: 760px;
    width: 100%;
    background: #000;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
}

/* Garante que o web component do player não transborde */
.video-section > * {
    max-width: 100%;
    width: 100%;
}

/* Placeholder do player (responsivo, mantém proporção 9:16) */
.vturb-player-placeholder {
    position: relative;
    width: 100%;
    padding-top: 177.77777777777777%; /* 9:16 */
    z-index: 0;
    background-color: black;
    border-radius: 8px;
    overflow: hidden;
}

/* ===== Ajustes finos mobile ===== */
@media (max-width: 480px) {
    .page-shell {
        padding-left: 12px;
        padding-right: 12px;
    }

    .video-section {
        padding: 10px;
        margin-bottom: 20px;
    }
}
