* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background: #fff7f3;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    width: 90%;
    max-width: 1200px;
    background: white;
    border-radius: 25px;
    padding: 40px;
    display: flex;
    gap: 40px;
    box-shadow: 0 20px 50px rgba(0,0,0,.10);
}

.formulario {
    flex: 1; 
}

h1 {
    font-size: 38px;
    color: #d85b8b;
    margin-bottom: 15px;
    text-align: center;
}

#subtitulo {
    color: #666;
    font-size: 18px;
    margin-bottom: 30px;
    text-align: center;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="number"] {
    width: 100%;
    padding: 18px;
    margin-bottom: 15px;
    border-radius: 12px;
    border: 1px solid #ddd;
    font-size: 16px;
    color: #555;
}

/* --- ESTRUTURA DOS CAMPOS LADO A LADO --- */
.linha-dupla {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    align-items: stretch;
}

.date-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.date-group p {
    text-align: left;
    margin-bottom: 8px;
    font-size: 16px;
    color: #777;
}

.date-group input[type="date"] {
    margin-bottom: 0; 
    flex: 1;
}

.radio-group {
    flex: 1;
    margin-bottom: 0;
    padding: 10px 18px;
    background: #fdfdfd;
    border: 1px solid #ddd;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.radio-group p {
    text-align: left;
    margin-bottom: 8px;
    font-size: 16px;
    color: #777;
}

.opcoes-horario {
    display: flex;
    align-items: center;
    gap: 20px;
}

.opcoes-horario label {
    font-size: 16px;
    color: #555;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    white-space: nowrap; 
}

.opcoes-horario input[type="radio"] {
    margin-right: 8px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
}

.input-metade {
    flex: 1;
    margin-bottom: 0 !important;
}

button {
    width: 100%;
    padding: 18px;
    border: none;
    border-radius: 12px;
    background: #370f4e;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: .3s;
}

button:hover {
    background: #4e1a6b;
}

.beneficios {
    margin-top: 30px;
    color: #555;
}

.mascotes-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.mascotes-container img {
    max-width: 130px;
    height: auto;
}

.video {
    height: 450px;
    aspect-ratio: 9 / 16; 
    position: relative; 
    border-radius: 20px;
    overflow: hidden;
    background: #000;
}

#meu-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    transform: scale(1.05); 
}

#unmute-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    cursor: pointer;
}

#unmute-overlay span {
    background: #d85b8b;
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    animation: pulsar 1.5s infinite;
    text-align: center;
}

@keyframes pulsar {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

#success-message {
    text-align: center;
    margin-top: 20px;
}

#success-message h2 {
    color: #370f4e;
    font-size: 28px;
    margin-bottom: 10px;
}

#success-message p {
    color: #555;
    font-size: 18px;
    margin-bottom: 20px;
}

.btn-instagram, .btn-whatsapp-agora {
    display: block;
    width: 100%;
    padding: 18px;
    border-radius: 12px;
    color: white;
    font-size: 18px;
    text-decoration: none;
    font-weight: bold;
    margin-bottom: 15px;
    transition: .3s;
}

.btn-instagram {
    background: #ff7a00;
}

.btn-instagram:hover {
    background: #e06b00;
}

.btn-whatsapp-agora {
    background: #25d366;
}

.btn-whatsapp-agora:hover {
    background: #1ebe5d;
}

/* ========================================================= */
/* ORDENAÇÃO EXCLUSIVA PARA CELULARES (VÍDEO LOGO APÓS O BOTÃO) */
/* ========================================================= */
@media(max-width: 900px) {
    .container {
        display: flex;
        flex-direction: column;
        gap: 0; 
        padding: 30px 20px; 
    }
    
    .formulario {
        display: contents; 
    }
    
    /* Ordem exata dos elementos no celular: */
    h1 { order: 1; }
    #subtitulo { order: 2; margin-bottom: 25px; }
    #orcamento { order: 3; width: 100%; } /* O formulário e o botão vêm primeiro */
    
    /* O vídeo agora foi posicionado logo abaixo do formulário/botão! */
    .video {
        order: 4;
        height: auto;
        width: 100%;
        max-width: 320px; 
        margin: 25px auto 30px auto; 
        aspect-ratio: 9 / 16;
    }
    
    #success-message { order: 5; }
    .beneficios { order: 6; }
    .mascotes-container { order: 7; }
    
    .linha-dupla {
        flex-direction: column;
        gap: 15px;
    }
    
    .date-group input[type="date"] {
        margin-bottom: 0;
    }
}
