:root {
    color-scheme: dark;
    --bg: #070b14;
    --bg-soft: #0d1424;
    --surface: #0f1a2f;
    --surface-2: #121f38;
    --surface-3: #182744;
    --text: #e7eefc;
    --muted: #a8b5d4;
    --primary: #4f8cff;
    --primary-2: #7f5dff;
    --line: rgba(165, 192, 255, 0.22);
    --line-strong: rgba(165, 192, 255, 0.35);
    --shadow: 0 24px 50px rgba(3, 10, 24, 0.45);
    --glow: 0 16px 36px rgba(79, 140, 255, 0.25);
    --radius: 16px;
    --max: 1120px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--text);
    background:
        radial-gradient(1000px 520px at 6% -12%, rgba(79, 140, 255, 0.28), transparent 56%),
        radial-gradient(760px 520px at 88% -14%, rgba(127, 93, 255, 0.26), transparent 54%),
        linear-gradient(180deg, #070b14 0%, #0b1221 50%, #0b1221 100%);
    line-height: 1.65;
}

a {
    color: inherit;
    text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
    width: auto;
    height: auto;
    background: var(--surface-2);
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    color: var(--text);
    padding: 0.6rem 0.85rem;
    z-index: 999;
}

.wrapper {
    width: min(var(--max), 92%);
    margin: 0 auto;
}

header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: saturate(1.25) blur(10px);
    background: rgba(7, 11, 20, 0.72);
    border-bottom: 1px solid rgba(165, 192, 255, 0.15);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 72px;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.brand-logo {
    width: auto;
    height: 48px;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(79, 140, 255, 0.4));
    background: transparent;
    border: none;
}

.brand-tag {
    font-weight: 600;
    color: var(--muted);
    font-size: 0.85em;
}

.brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 800;
    box-shadow: var(--glow);
}

.menu {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    font-size: 0.95rem;
    color: var(--muted);
}

.menu > a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    line-height: 1;
    padding: 0.15rem 0.22rem;
    white-space: nowrap;
}

.menu a {
    transition: color 180ms ease;
}

.menu-item {
    position: relative;
}

.menu-item.has-dropdown {
    display: inline-flex;
    align-items: center;
}

.menu-dropdown-toggle {
    min-height: 40px;
    border: 0;
    background: transparent;
    color: var(--muted);
    font: inherit;
    line-height: 1;
    cursor: pointer;
    transition: color 180ms ease;
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    padding: 0.15rem 0.22rem;
    white-space: nowrap;
}

.menu-dropdown-toggle::after {
    content: "▾";
    font-size: 0.62rem;
    color: #c8d9ff;
    margin-top: 0.06rem;
    transition: transform 180ms ease;
}

.menu-dropdown {
    position: absolute;
    top: calc(100% + 0.45rem);
    left: 0;
    min-width: 290px;
    padding: 0.45rem;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(20, 33, 58, 0.98), rgba(13, 21, 38, 0.98));
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
    z-index: 30;
}

.menu-dropdown a {
    display: block;
    padding: 0.62rem 0.7rem;
    border-radius: 10px;
    color: #deebff;
}

.menu-dropdown a + a {
    margin-top: 0.2rem;
}

.menu-dropdown a:hover {
    background: rgba(79, 140, 255, 0.2);
    color: #ffffff;
}

.menu-item.has-dropdown:hover .menu-dropdown,
.menu-item.has-dropdown:focus-within .menu-dropdown,
.menu-item.has-dropdown.is-open .menu-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu a:hover {
    color: #d2e2ff;
}

.menu-dropdown-toggle:hover,
.menu-item.has-dropdown.is-open .menu-dropdown-toggle,
.menu-item.has-dropdown:focus-within .menu-dropdown-toggle {
    color: #d2e2ff;
}

.menu-item.has-dropdown.is-open .menu-dropdown-toggle::after,
.menu-item.has-dropdown:focus-within .menu-dropdown-toggle::after {
    transform: rotate(180deg);
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    background: rgba(165, 192, 255, 0.08);
    color: #e4eeff;
    cursor: pointer;
}

.nav-toggle svg {
    width: 22px;
    height: 22px;
}

.cta-top {
    border: 1px solid var(--line-strong);
    color: #e4eeff;
    border-radius: 12px;
    padding: 0.6rem 0.9rem;
    font-weight: 700;
    background: linear-gradient(180deg, rgba(79, 140, 255, 0.22), rgba(127, 93, 255, 0.22));
    transition: all 200ms ease;
}

.cta-top:hover {
    border-color: transparent;
    box-shadow: var(--glow);
    transform: translateY(-1px);
}

.hero {
    padding: 4.6rem 0 3.2rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.hero-copy {
    display: flex;
    flex-direction: column;
}

.hero-side {
    display: grid;
    gap: 0.9rem;
}

.kicker {
    display: inline-block;
    width: fit-content;
    background: linear-gradient(135deg, rgba(79, 140, 255, 0.2), rgba(127, 93, 255, 0.2));
    color: #dbe9ff;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 700;
    padding: 0.35rem 0.8rem;
    margin-bottom: 1rem;
}

h1 {
    margin: 0;
    font-size: clamp(2rem, 3.7vw, 3.4rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h1,
h2 {
    text-wrap: balance;
}

.hero p {
    margin: 1.1rem 0 1.8rem;
    color: var(--muted);
    font-size: 1.06rem;
    max-width: 58ch;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-weight: 700;
    padding: 0.82rem 1.1rem;
    min-height: 46px;
    transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: #fff;
    box-shadow: var(--glow);
}

.btn-secondary {
    border: 1px solid var(--line-strong);
    color: #e3ecff;
    background: rgba(165, 192, 255, 0.08);
}

.btn:hover {
    transform: translateY(-2px);
}

.micro-proof {
    margin: 1rem 0 0;
    font-size: 0.92rem;
    color: #c6d8ff;
}

.metrics {
    margin-top: 1.3rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--muted);
    font-size: 0.92rem;
}

.hero-card,
.hero-proof,
.stat-card,
.card,
.step-card,
.contact-panel,
.contact-form,
.faq details {
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(20, 33, 58, 0.95), rgba(13, 21, 38, 0.95));
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(20, 33, 58, 0.95), rgba(13, 21, 38, 0.95));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
}

.hero-logo img {
    width: 100%;
    max-width: 240px;
    height: auto;
    display: block;
    filter: drop-shadow(0 8px 20px rgba(79, 140, 255, 0.3));
}

.hero-card {
    overflow: hidden;
}

.hero-card img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-card figcaption {
    padding: 1rem 1.1rem;
    color: var(--muted);
    font-size: 0.92rem;
    border-top: 1px solid var(--line);
    background: rgba(7, 11, 20, 0.44);
}

.hero-proof {
    padding: 1rem 1.1rem;
}

.hero-proof strong {
    display: block;
    margin-bottom: 0.45rem;
    color: #e8f0ff;
}

.hero-proof ul {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--muted);
    font-size: 0.92rem;
}

.hero-proof li + li {
    margin-top: 0.3rem;
}

section {
    padding: 3rem 0;
}

.trust {
    padding-top: 0.7rem;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.stat-card {
    padding: 1rem;
}

.stat-card strong {
    display: block;
    font-size: 1.3rem;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: #e3edff;
}

.stat-card span {
    color: var(--muted);
    font-size: 0.92rem;
}

h2 {
    margin: 0 0 0.7rem;
    font-size: clamp(1.5rem, 2.6vw, 2.2rem);
    letter-spacing: -0.01em;
}

.section-lead {
    margin: 0 0 1.6rem;
    color: var(--muted);
    max-width: 70ch;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.card {
    padding: 1.1rem;
    transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease;
}

.card:hover {
    transform: translateY(-3px);
    border-color: var(--line-strong);
    box-shadow: var(--glow), var(--shadow);
}

.card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.08rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: #f0f6ff;
}

.card h3::before {
    content: "◉";
    color: #7da8ff;
    font-size: 0.86rem;
}

.card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.96rem;
}

.highlight {
    border-block: 1px solid rgba(165, 192, 255, 0.16);
    background: linear-gradient(180deg, rgba(79, 140, 255, 0.06), rgba(127, 93, 255, 0.06));
}

.faq details {
    padding: 0.95rem 1rem;
    margin-bottom: 0.7rem;
}

.faq summary {
    cursor: pointer;
    font-weight: 700;
    list-style: none;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq p {
    margin: 0.7rem 0 0;
    color: var(--muted);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.step-card {
    padding: 1rem;
}

.step-number {
    display: inline-block;
    min-width: 42px;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 800;
    color: #dce9ff;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: rgba(79, 140, 255, 0.16);
    padding: 0.2rem 0.45rem;
    margin-bottom: 0.55rem;
}

.step-card h3 {
    margin: 0 0 0.35rem;
    color: #f1f6ff;
}

.step-card p {
    margin: 0;
    color: var(--muted);
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 1.4rem;
    align-items: stretch;
}

.contact-panel,
.contact-form {
    padding: 1.2rem;
}

.contact-points {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--muted);
}

.contact-points li + li {
    margin-top: 0.4rem;
}

.contact-form .form-group {
    margin-bottom: 1rem;
}

.form-title {
    margin: 0 0 0.25rem;
    font-size: 1.1rem;
}

.form-subtitle {
    margin: 0 0 1rem;
    color: var(--muted);
    font-size: 0.92rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    border-radius: 12px;
    border: 1px solid rgba(165, 192, 255, 0.25);
    color: var(--text);
    background: rgba(8, 13, 24, 0.85);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #8e9fca;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 140, 255, 0.25);
}

.contact-form textarea {
    resize: vertical;
}

.form-check {
    display: flex;
    gap: 0.55rem;
    align-items: flex-start;
    margin: 0.2rem 0 0.8rem;
}

.form-check input {
    margin-top: 0.2rem;
    width: 18px;
    height: 18px;
}

.form-check label {
    margin: 0;
    font-weight: 600;
    color: var(--muted);
    font-size: 0.92rem;
}

.form-note {
    margin: 0 0 0.9rem;
    color: var(--muted);
    font-size: 0.88rem;
}

.captcha-container {
    margin: 1rem 0 1rem;
    display: flex;
    justify-content: center;
}

/* Honeypot anti-bot: fora da tela, sem acesso por teclado/leitor */
.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-status {
    margin: 0.8rem 0 0;
    font-size: 0.92rem;
    min-height: 1.2em;
    color: var(--muted);
}

.form-status.is-success {
    color: #7ee2a8;
}

.form-status.is-error {
    color: #ff9aa2;
}

.btn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

footer {
    margin-top: 2rem;
    border-top: 1px solid rgba(165, 192, 255, 0.18);
    background: linear-gradient(180deg, rgba(9, 14, 25, 0.9), rgba(7, 11, 20, 0.95));
    padding: 2rem 0;
    color: var(--muted);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 1rem;
}

.footer-grid strong {
    color: #e9f1ff;
}

.legal p,
.legal li {
    font-size: 0.92rem;
}

.legal a,
footer a {
    color: #c8dcff;
}

.legal a:hover,
footer a:hover {
    color: #ffffff;
}

@media (min-width: 981px) and (max-width: 1140px) {
    .nav {
        gap: 0.6rem;
    }

    .menu {
        gap: 0.62rem;
        font-size: 0.93rem;
    }

    .menu > a,
    .menu-dropdown-toggle {
        padding-inline: 0.14rem;
    }

    .cta-top {
        padding: 0.55rem 0.72rem;
        font-size: 0.88rem;
    }
}

@media (min-width: 1141px) and (max-width: 1320px) {
    .menu {
        gap: 0.86rem;
    }

    .menu > a,
    .menu-dropdown-toggle {
        padding-inline: 0.18rem;
    }
}

@media (max-width: 980px) {
    .hero-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav {
        flex-wrap: wrap;
    }

    .menu {
        display: none;
        order: 3;
        flex-direction: column;
        width: 100%;
        gap: 0;
        padding: 0.4rem 0;
        font-size: 1rem;
    }

    .menu.is-open {
        display: flex;
    }

    .menu a {
        padding: 0.75rem 0.4rem;
        border-bottom: 1px solid rgba(165, 192, 255, 0.12);
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .menu-item {
        width: 100%;
    }

    .menu-dropdown-toggle {
        width: 100%;
        justify-content: space-between;
        padding: 0.75rem 0.4rem;
        border-bottom: 1px solid rgba(165, 192, 255, 0.12);
    }

    .menu-dropdown {
        position: static;
        min-width: 0;
        border: 1px solid transparent;
        box-shadow: none;
        background: rgba(79, 140, 255, 0.08);
        opacity: 1;
        visibility: visible;
        transform: none;
        display: block;
        margin: 0;
        padding: 0 0.3rem;
        max-height: 0;
        overflow: hidden;
        transition: max-height 220ms ease, margin 220ms ease, border-color 220ms ease, padding 220ms ease;
    }

    .menu-item.has-dropdown.is-open .menu-dropdown {
        max-height: 320px;
        margin: 0.2rem 0 0.35rem;
        padding: 0.3rem;
        border-color: rgba(165, 192, 255, 0.28);
    }

    .menu-dropdown a {
        border-radius: 8px;
        font-size: 0.95rem;
        min-height: 44px;
        padding: 0.58rem 0.62rem;
        display: flex;
        align-items: flex-start;
        white-space: normal;
        line-height: 1.35;
    }

    .cta-top {
        display: none;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .grid-3,
    .trust-grid,
    .process-grid,
    .form-row {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 2.7rem;
    }
}
