/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background: radial-gradient(circle at 10% 20%, #2a050e 0%, #090c15 60%, #030407 100%);
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
}

/* Container Principal */
.page-container {
    width: 100%;
    max-width: 1000px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

/* Wrapper Responsivo do Vídeo (Proporção 16:9 padrão no Desktop) */
.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 
                0 0 40px rgba(42, 5, 14, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background-color: #000000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-wrapper:hover {
    transform: translateY(-2px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 
                0 0 50px rgba(42, 5, 14, 0.4);
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Estilização do Botão CTA */
.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, #e11d48 0%, #9f1239 100%);
    color: #ffffff;
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 18px 38px;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(225, 29, 72, 0.4), 
                0 0 0 0px rgba(225, 29, 72, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    
    /* Estados de Ocultação Padrão */
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.3s ease,
                box-shadow 0.3s ease;
    
    /* Previne quebra de linha em telas pequenas */
    text-align: center;
}

/* Quando o botão for revelado */
.cta-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    animation: pulse 2s infinite;
}

/* Efeito de Hover */
.cta-btn:hover {
    background: linear-gradient(135deg, #f43f5e 0%, #be123c 100%);
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 15px 35px rgba(225, 29, 72, 0.6);
}

.cta-btn:active {
    transform: translateY(0) scale(1);
}

/* Ícone de Seta com Micro-animação */
.arrow-icon {
    transition: transform 0.3s ease;
}

.cta-btn:hover .arrow-icon {
    transform: translateX(5px);
}

/* Animações */
@keyframes pulse {
    0% {
        box-shadow: 0 10px 25px rgba(225, 29, 72, 0.4), 
                    0 0 0 0px rgba(225, 29, 72, 0.4);
    }
    70% {
        box-shadow: 0 10px 25px rgba(225, 29, 72, 0.4), 
                    0 0 0 15px rgba(225, 29, 72, 0);
    }
    100% {
        box-shadow: 0 10px 25px rgba(225, 29, 72, 0.4), 
                    0 0 0 0px rgba(225, 29, 72, 0);
    }
}

/* Responsividade Básica e Otimização Mobile */
@media (max-width: 600px) {
    .page-container {
        padding: 10px;
        gap: 20px;
    }
    
    /* No mobile, alteramos o container para formato vertical 9:16 e aplicamos o zoom/crop no iframe */
    .video-wrapper {
        max-width: 85vw;
        aspect-ratio: 9 / 16;
    }
    
    .video-wrapper iframe {
        position: absolute;
        top: 0;
        left: 50%;
        width: 316.05%; /* Corta as faixas pretas laterais do vídeo horizontal */
        height: 100%;
        transform: translateX(-50%);
    }
    
    .cta-btn {
        font-size: 0.95rem;
        padding: 15px 25px;
        width: 100%;
        max-width: 85vw;
    }
}
