/* Importando as fontes padrão do site original */
@font-face {
    font-family: "Playfair Display";
    src: url("./assets/fonts/playfair/PlayfairDisplay-Regular.ttf") format("truetype");
    font-weight: 400;
}
@font-face {
    font-family: "Poppins";
    src: url("./assets/fonts/poppins/Poppins-Regular.ttf") format("truetype");
    font-weight: 400;
}

:root {
    --navy-950: #041322;
    --navy-900: #071b2d;
    --navy-800: #0c2940;
    --gold-300: #f0cc91;
    --gold-200: #f7e5c3;
    --gold-100: #fff2dc;
    --cream: #fff8ed;
    --line: rgba(240, 204, 145, 0.48);
}

body {
    margin: 0;
    color: var(--cream);
    background:
        linear-gradient(rgba(4, 19, 34, 0.3), rgba(4, 19, 34, 0.5)),
        url("./image/background.png") center / cover fixed no-repeat;
    font-family: "Poppins", Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Máscara de fundo igual ao site principal */
body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    content: "";
    opacity: 0.22;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, black, transparent 72%);
}

.topbar {
    width: min(1180px, calc(100% - 48px));
    padding: 28px 0 56px;
    display: flex;
    justify-content: center;
}

.brand-mark {
    width: min(200px, 45vw);
    filter: drop-shadow(0 7px 16px rgba(0, 0, 0, 0.2));
}

.form-container {
    width: min(700px, calc(100% - 48px));
    margin: 0 auto 50px;
}

/* Animação e controle dos passos */
.step {
    display: none;
    animation: fadeIn 0.5s ease;
}
.step.active {
    display: block;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.landing-hero {
    display: grid;
    grid-template-columns: minmax(260px, 0.95fr) minmax(0, 1.35fr);
    gap: 32px;
    align-items: center;
    min-height: 520px;
}

.hero-visual {
    display: block;
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: center;
    border-radius: 22px;
    border: 1px solid rgba(240, 204, 145, 0.18);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.08);
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px 0;
}

.hero-logo {
    width: min(220px, 100%);
    margin-bottom: 16px;
    opacity: 0.96;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.18));
}

.hero-content h1 {
    margin-bottom: 12px;
    letter-spacing: 0.02em;
}

.hero-note {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-top: 10px;
}

.landing-btn {
    max-width: 260px;
    margin-top: 1.25rem;
}

@media (max-width: 760px) {
    .topbar {
        width: min(100%, calc(100% - 24px));
        padding: 18px 0 32px;
    }

    .brand-mark {
        width: min(170px, 55vw);
    }

    .form-container {
        width: min(100%, calc(100% - 48px));
    }

    .landing-hero {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    img.hero-visual {
        height: auto;
        aspect-ratio: 2 / 3;
    }

    .landing-btn {
        max-width: 100%;
    }

    .nav-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        margin-top: 0.75rem;
    }

    .btn-outline {
        order: 2;
    }

    .btn-next,
    .btn-prev {
        width: 100%;
    }
}

@media (max-width: 480px) {
    body {
        padding-bottom: 24px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    .hero-content p,
    .hero-note,
    .progress-indicator {
        font-size: 0.82rem;
    }

    input[type="text"], input[type="number"], input[type="email"], input[type="tel"], textarea {
        padding: 13px 14px;
        font-size: 0.95rem;
    }

    .option-label {
        padding: 14px 16px;
        font-size: 0.95rem;
    }
}

h1, h2 {
    font-family: "Playfair Display", Georgia, serif;
    color: var(--cream);
    font-weight: 400;
    margin-top: 0;
}

h1 { font-size: 2.5rem; color: var(--gold-300); }
h2 { font-size: 1.5rem; margin-bottom: 20px;}

p {
    color: rgba(255, 248, 237, 0.82);
    line-height: 1.75;
}

/* Estilização de Inputs */
input[type="text"], input[type="number"], input[type="email"], input[type="tel"], textarea {
    width: 100%;
    background: rgba(4, 19, 34, 0.4);
    border: 1px solid var(--line);
    color: var(--cream);
    padding: 15px;
    border-radius: 12px;
    font-family: "Poppins", Arial, sans-serif;
    font-size: 1rem;
    margin-top: 10px;
    margin-bottom: 25px;
    box-sizing: border-box;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--gold-300);
    box-shadow: 0 0 12px rgba(240, 204, 145, 0.2);
}

textarea { resize: vertical; min-height: 120px; }

/* Estilização de Radio e Checkbox */
.option-label {
    display: block;
    background: rgba(4, 19, 34, 0.4);
    border: 1px solid rgba(240, 204, 145, 0.3);
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.option-label:hover {
    border-color: var(--gold-300);
    background: rgba(216, 173, 104, 0.1);
}

.option-label input {
    margin-right: 10px;
    accent-color: var(--gold-300);
}

/* Botões Baseados no CTA do site original */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1.5rem;
    padding: 0.8rem 2rem;
    border: 1px solid rgba(255, 242, 220, 0.9);
    border-radius: 999px;
    color: var(--navy-950);
    background: linear-gradient(135deg, var(--gold-100) 0%, var(--gold-200) 38%, var(--gold-300) 100%);
    font-family: "Poppins", Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn:hover {
    background: linear-gradient(135deg, #fff8ee 0%, #f8e8c7 40%, #efd39e 100%);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--gold-300);
}

.btn-outline:hover {
    background: rgba(216, 173, 104, 0.1);
}

.nav-buttons {
    display: flex;
    gap: 15px;
}

.progress-indicator {
    font-size: 0.8rem;
    color: rgba(255, 248, 237, 0.5);
    text-align: right;
    margin-bottom: 10px;
}

@media (min-width: 1200px) {
    .form-container {
        width: min(820px, calc(100% - 64px));
    }
}

@media (max-width: 768px) {
    .form-container {
        width: min(100%, calc(100% - 48px));
    }
}

