* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --text: #0f172a;
    --muted: #64748b;
    --border: #e2e8f0;
    --background: #f8fafc;
    --white: #ffffff;
}

body {
    font-family:
        Inter,
        Arial,
        Helvetica,
        sans-serif;

    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1180px, 92%);
    margin: 0 auto;
}


/* HEADER */

.header {
    border-bottom: 1px solid var(--border);
    background: rgba(255,255,255,.96);
}

.header-content {
    min-height: 72px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;

    font-size: 22px;
    font-weight: 800;
}

.logo-icon {
    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    border-radius: 10px;

    background: var(--primary);
    color: white;
}

.header nav {
    display: flex;
    gap: 28px;

    color: var(--muted);
    font-size: 14px;
}


/* HERO */

.hero {
    padding: 90px 0 110px;

    background:
        linear-gradient(
            180deg,
            #eff6ff 0%,
            #ffffff 100%
        );
}

.hero-content {
    max-width: 850px;
    margin: 0 auto;

    text-align: center;
}

.badge {
    display: inline-block;

    padding: 7px 13px;

    border-radius: 999px;

    background: #dbeafe;
    color: #1d4ed8;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
}

h1 {
    margin-top: 20px;

    font-size: clamp(38px, 6vw, 64px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.hero-description {
    max-width: 680px;
    margin: 24px auto 38px;

    color: var(--muted);
    font-size: 18px;
}


/* CONSULTA */

.consulta-card {
    max-width: 720px;
    margin: 0 auto;

    padding: 30px;

    text-align: left;

    background: white;

    border: 1px solid var(--border);
    border-radius: 20px;

    box-shadow:
        0 20px 60px rgba(15,23,42,.08);
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;

    margin-bottom: 8px;

    font-size: 14px;
    font-weight: 700;
}

input,
select {
    width: 100%;

    height: 54px;

    padding: 0 16px;

    border: 1px solid #cbd5e1;
    border-radius: 10px;

    background: white;

    font-size: 16px;

    outline: none;
}

input:focus,
select:focus {
    border-color: var(--primary);

    box-shadow:
        0 0 0 3px rgba(37,99,235,.12);
}

.btn-primary {
    width: 100%;
    height: 56px;

    border: 0;
    border-radius: 10px;

    background: var(--primary);
    color: white;

    font-size: 16px;
    font-weight: 800;

    cursor: pointer;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-primary:disabled {
    opacity: .6;
    cursor: wait;
}

.mensagem {
    margin-top: 18px;

    min-height: 24px;

    font-size: 14px;
}

.mensagem.erro {
    color: #b91c1c;
}

.mensagem.sucesso {
    padding: 15px;

    border-radius: 10px;

    background: #ecfdf5;
    color: #047857;
}


/* SECTIONS */

.section {
    padding: 90px 0;
}

.section-light {
    background: var(--background);
}

.section-header {
    text-align: center;
    margin-bottom: 45px;
}

.section-label {
    color: var(--primary);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: .1em;
}

.section h2 {
    margin-top: 8px;

    font-size: 36px;
    letter-spacing: -.03em;
}


/* STEPS */

.steps {
    display: grid;
    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}

.step {
    padding: 28px;

    border: 1px solid var(--border);
    border-radius: 16px;

    background: white;
}

.step-number {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    margin-bottom: 18px;

    border-radius: 50%;

    background: #dbeafe;
    color: var(--primary);

    font-weight: 800;
}

.step h3 {
    margin-bottom: 8px;
}

.step p {
    color: var(--muted);
}


/* ESTADOS */

.estados-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 14px;
}

.estado-card {
    display: flex;

    align-items: center;
    gap: 14px;

    padding: 16px;

    border: 1px solid var(--border);
    border-radius: 12px;

    background: white;

    transition: .2s;
}

.estado-card:hover {
    border-color: var(--primary);

    transform: translateY(-2px);
}

.estado-card strong {
    color: var(--primary);

    font-size: 17px;
}

.estado-card span {
    color: var(--muted);

    font-size: 14px;
}


/* SEO */

.seo-content {
    max-width: 800px;
}

.seo-content h2 {
    margin-bottom: 20px;
}

.seo-content p {
    margin-bottom: 18px;

    color: var(--muted);
}


/* FOOTER */

.footer {
    padding: 40px 0;

    background: #0f172a;
    color: white;
}

.footer-content {
    display: flex;

    justify-content: space-between;

    gap: 30px;
}

.footer p {
    margin-top: 5px;

    color: #94a3b8;
}

.footer-content > div:last-child {
    display: flex;
    gap: 20px;

    color: #cbd5e1;

    font-size: 14px;
}


/* MOBILE */

@media (max-width: 800px) {

    .header nav {
        display: none;
    }

    .hero {
        padding: 60px 0 70px;
    }

    .consulta-card {
        padding: 20px;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .estados-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .footer-content {
        flex-direction: column;
    }

}

@media (max-width: 480px) {

    .estados-grid {
        grid-template-columns: 1fr;
    }

}
