* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    background-image: url('../img/bg-destaque-home-quadrado.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    font-family: Arial, sans-serif;
}

.video-container {
    background-image: url('../img/bg-slider-active.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    padding: 18px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

iframe {
    width: 800px;
    height: 450px;
    border: none;
    border-radius: 12px;
}

.texto {
    margin-top: 20px;
    font-size: 1.2em;
    line-height: 1.6; /* Espaçamento padrão desktop */
}

.botao {
    background-color: #ff0000;
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    margin-left: 8px;
    transition: background-color 0.3s;
}

.botao:hover {
    background-color: #cc0000;
}

/* =============================
   Responsivo para Mobile
   ============================= */
@media (max-width: 900px) {
    body {
        justify-content: flex-start; /* Alinhado no topo */
        padding-top: 30%;
    }

    iframe {
        width: 90vw;
        height: calc(90vw * 9 / 16); /* Mantém proporção 16:9 */
    }

    .texto {
        margin-top: 16px;
        padding: 0 20px;
        font-size: 1em;
        line-height: 1.9; /* Aumenta espaçamento entre linhas */
    }

    .botao {
        padding: 6px 12px; /* Botão um pouco menor */
        font-size: 0.95em;
    }
}
