body {
    min-height: 100vh;
    display: block;
    background: linear-gradient(135deg, #0a2540, #0f3d5e);
    padding: 20px;
    overflow-x: hidden;
}

@media (min-width: 769px) {
    body {
        overflow-x: hidden;
        overflow-y: auto;
    }
}

@media (min-width: 769px) and (max-height: 900px) {
    body {
        align-items: flex-start;
        padding: 100px 20px 30px;
    }

    .contato-box {
        margin: 0 auto;
    }
}

/* --- CONTAINER PRINCIPAL --- */
.contato-box {
    display: flex;
    align-items: stretch;
    justify-content: center;
    width: 100%;
    max-width: 1000px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-elevated);
    animation: fadeUp 0.6s ease;
    margin: 0 auto;
}

.btn-voltar {
    position: fixed;
    top: 24px;
    left: 24px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    color: var(--btn-text);
    background: var(--btn-gradient-blue);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 0.95rem;
    font-weight: 600;
    transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.btn-voltar:hover {
    background: var(--btn-gradient-blue-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-soft);
    filter: brightness(1.03);
}

.icon-back {
    width: 26px;
    height: auto;
    display: block;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- WHATSAPP CARD --- */
.whatsapp-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; 
    padding: 40px;
    background: #f9f9f9;
    border-right: 1px solid #eee;
    text-align: center;
}

.icon-area {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.cta-area h3 {
    color: #0a2540;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.cta-area p {
    color: #4d5f80;
    font-size: 0.95rem;
    margin-bottom: 25px;
    line-height: 1.55;
}

.btn-cta {
    background: var(--btn-gradient-blue);
    color: white;
    padding: 12px 28px;
    border-radius: var(--radius-pill);
    font-weight: bold;
    font-size: 0.8rem;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform 0.3s ease, filter 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
}

.btn-cta:hover {
    background: var(--btn-gradient-blue-hover);
    transform: scale(1.05);
    box-shadow: var(--shadow-soft);
    filter: brightness(1.04);
}

/* --- FORMULÁRIO --- */
.formulario-card {
    flex: 1.3;
    padding: 40px;
}

.formulario-card h2 {
    color: #0a2540;
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.input-group {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.input-group label {
    margin-bottom: 5px;
    font-size: 0.85rem;
    color: #243758;
    font-weight: 600;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    background: #f4f7fa;
    border: 1px solid rgba(0, 31, 63, 0.1); 
    font-size: 0.98rem;
    transition: 0.3s;
}

.input-group input:focus,
.input-group textarea:focus {
    border-color: var(--accent-teal-green);
    background: white;
    outline: none;
}

.file-upload {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    border: 2px dashed #ccc;
    text-align: center;
    cursor: pointer;
    display: block;
}

.file-upload input { display: none; }

#nome-arquivo {
    display: block;
    margin-top: 5px;
    font-size: 0.8rem;
    text-align: center;
    color: #555;
}

.privacy-hint {
    display: block;
    margin-top: 6px;
    font-size: 0.78rem;
    color: #6a7fa5;
}

.lgpd-consent {
    margin-top: 14px;
    margin-bottom: 8px;
    padding: 12px 14px;
    background: #f5f8ff;
    border: 1px solid #dce6fb;
    border-radius: 12px;
}

.lgpd-consent label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.82rem;
    color: #2d4268;
    line-height: 1.45;
}

.lgpd-consent input[type="checkbox"] {
    margin-top: 2px;
}

.lgpd-consent a {
    color: var(--main-offer-color);
    font-weight: 700;
}

.privacy-note {
    margin-top: 8px;
    font-size: 0.8rem;
    color: #5a7098;
}

.botao-enviar {
    width: 100%;
    padding: 14px;
    background: var(--btn-gradient-blue);
    color: white;
    border: none;
    border-radius: var(--radius-pill);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 10px;
    transition: transform 0.3s ease, filter 0.3s ease, box-shadow 0.3s ease;
}

.botao-enviar:hover { 
    background: var(--btn-gradient-blue-hover);
    transform: scale(1.03);
    box-shadow: var(--shadow-soft);
    filter: brightness(1.04);
}

/* --- RESPONSIVIDADE (CELULAR) --- */
@media (max-width: 768px) {
    body {
        padding: 100px 15px 30px;
    }

    .btn-voltar {
        top: 14px;
        left: 15px;
        right: 15px;
        justify-content: center;
        font-size: 0.9rem;
    }

    .icon-back {
        width: 22px;
    }

    .contato-box {
        flex-direction: column;
    }

    .whatsapp-card {
        border-right: none;
        border-bottom: 1px solid #eee;
        padding: 30px 20px;
    }
}