/* Fundo de vídeo */
#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -2;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(2, 53, 98, 0.7);
    z-index: -1;
}

/* Cabeçalho */
.main-header {
    background-color: #023562;
    padding: 60px 20px 40px;
    text-align: center;
    color: #ffffff;
}

.header-content {
    max-width: 960px;
    margin: 0 auto;
}

.logo {
    max-width: 200px;
    margin-bottom: 15px;
}

.main-header h1 {
    color: #ffb401;
    font-size: 2.5rem;
    margin: 10px 0;
}

.main-header p {
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.botoes-destaque {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 15px;
}

.botao-destaque {
    background-color: #ffb401;
    color: #023562;
    padding: 10px 25px;
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
}

.botao-destaque:hover {
    background-color: #e2a800;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Container principal */
.container.horizontal {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    padding: 60px 20px;
    max-width: 100%;
    box-sizing: border-box;
}

.imagem-flutuante-ajustada {
    max-height: 600px;
    width: 100%;
    max-width: 420px;
    object-fit: contain;
}

.form-wrapper {
    max-width: 460px;
    width: 100%;
    box-sizing: border-box;
}

.form-section {
    background-color: rgba(255, 255, 255, 0.97);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.titulo-form {
    text-align: center;
    font-size: 1.5rem;
    color: #023562;
    margin-bottom: 20px;
}

form input,
form select {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 1rem;
    box-sizing: border-box;
}

form button {
    width: 100%;
    padding: 12px;
    background-color: #ffb401;
    color: #023562;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

form button:hover {
    background-color: #e2a800;
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.botao-link {
    display: block;
    margin-top: 15px;
    text-align: center;
    padding: 12px;
    border: 2px solid #ffb401;
    color: #023562;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    background-color: transparent;
}

.botao-link:hover {
    background-color: #ffb401;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: scale(1.03);
}

.botao-link i {
    margin-right: 8px;
    color: #25d366;
}

/* Seção WhatsApp final */
.whatsapp-section {
    text-align: center;
    padding: 40px 20px;
}

.whatsapp-text {
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.botao-whatsapp {
    background-color: #25d366;
    color: #fff;
    padding: 14px 28px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.botao-whatsapp img {
    height: 24px;
}

.botao-whatsapp:hover {
    background-color: #1ebe5d;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Rodapé */
.main-footer {
    background-color: #023562;
    padding: 40px 20px;
    color: #ffffff;
    text-align: center;
}

.footer-content {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-footer {
    max-width: 150px;
    margin-bottom: 10px;
}

.footer-content p {
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

/* Responsivo */
@media (max-width: 960px) {
    .container.horizontal {
        flex-direction: column;
        padding: 40px 20px;
        gap: 30px;
    }

    .imagem-flutuante-ajustada {
        max-height: 400px;
        width: 100%;
    }

    .form-wrapper {
        max-width: 100%;
        padding: 0 10px;
        box-sizing: border-box;
    }

    .form-section {
        padding: 25px 20px;
    }

    .main-header h1 {
        font-size: 2rem;
    }

    .main-header p,
    .whatsapp-text {
        font-size: 1.2rem;
    }

    .botao-destaque {
        width: auto;
        text-align: center;
    }

    .footer-content p {
        font-size: 0.85rem;
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}