/* Post24h Landing – v6 (ajustada) */
*,
*::before, *::after {
    box-sizing: border-box
}

html:focus-within {
    scroll-behavior: smooth
}

html, body {
    height: 100%
}

body {
    margin: 0;
    font-family: Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
    line-height: 1.55;
    background: var(--bg);
    color: var(--text)
}

:root {
    --bg: #0b0f15;
    --surface: #111827;
    --text: #e5e7eb;
    --muted: #9aa3b2;
    --border: #253049;
    --primary: #10b981;
    --accent: #60a5fa;
    --accentLight: #a5d3ff;
    --linkHover: #00BFFF;
    --radius: 16px;
    --shadow: 0 10px 30px rgba(0,0,0,.35);
}
/* Utilities */
.container {
    width: min(1180px,92vw);
    margin-inline: auto
}

.stack-6 > * {
    margin-top: 6px
}

.stack-10 > * {
    margin-top: 10px
}

.stack-16 > * {
    margin-top: 16px
}

.stack-24 > * {
    margin-top: 24px
}

.stack-32 > * {
    margin-top: 32px
}

.grid {
    display: grid;
    gap: 22px
}

    .grid.cols-2 {
        grid-template-columns: repeat(2,minmax(0,1fr))
    }

    .grid.cols-3 {
        grid-template-columns: repeat(3,minmax(0,1fr))
    }

    .grid.cols-4 {
        grid-template-columns: repeat(4,minmax(0,1fr))
    }

.center {
    text-align: center
}

.upper {
    letter-spacing: .08em;
    text-transform: uppercase
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid var(--border);
    color: var(--text);
    background: linear-gradient(180deg, rgba(17,24,39,.75), rgba(17,24,39,.55));
    transition: transform .15s ease, border-color .2s ease, color .2s ease
}

    .badge:hover {
        border-color: var(--linkHover);
        color: var(--linkHover);
        transform: translateY(-1px)
    }

.kicker {
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 700;
    font-size: .8rem
}

.lead {
    font-size: clamp(1rem, .9rem + .6vw, 1.15rem);
    color: #cbd5e1
}

.btn {
    display: inline-block;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid var(--border);
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
    background: linear-gradient(180deg, rgba(17,24,39,.9), rgba(17,24,39,.75));
    box-shadow: var(--shadow);
    white-space: nowrap;
    transition: background .25s ease, border-color .25s ease, color .25s ease, transform .15s ease
}

    .btn.primary {
        background: linear-gradient(135deg,var(--primary),var(--accent));
        color: #071013;
        border-color: transparent
    }

    .btn:hover {
        border-color: var(--linkHover);
        color: #071013;
        background: var(--linkHover)
    }

    .btn.ghost:hover {
        color: var(--linkHover);
        background: rgba(0,191,255,.1)
    }

.icon {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center
}

a:not(.btn) {
    color: var(--accentLight);
    text-underline-offset: 3px;
    transition: color .2s ease
}

    a:not(.btn):hover {
        color: var(--linkHover)
    }

section {
    padding: 60px 0;
    scroll-margin-top: 80px;
}

h1 {
    font-size: clamp(1.6rem, 1.4rem + 1.4vw, 2.6rem);
    margin: 0 0 10px 0;
    line-height: 1.2
}

h2 {
    font-size: clamp(1.3rem, 1.1rem + 1.1vw, 2rem);
    margin: 0 0 12px 0
}

p {
    margin: 0
}

small, .hint {
    color: var(--muted)
}

.card {
    border: 1px solid var(--border);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(15,23,42,.92), rgba(15,23,42,.78));
    box-shadow: var(--shadow);
    overflow: hidden
}

    .card .content {
        padding: 18px
    }

.hr {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
    margin: 10px 0
}

/* Header fixed */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 70;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(15,23,42,.9), rgba(15,23,42,.75));
    backdrop-filter: blur(8px)
}

.nav-spacer {
    height: 64px
}

.navbar {
    display: flex;
    align-items: center;
    height: 64px
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800
}

.logo {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg,var(--primary),var(--accent));
    box-shadow: 0 8px 20px rgba(16,185,129,.35)
}

.spacer {
    flex: 1
}

.nav {
    display: flex;
    gap: 12px;
    align-items: center
}

    .nav a {
        color: var(--text);
        text-decoration: none;
        padding: 10px 12px;
        border-radius: 12px;
        border: 1px solid transparent;
        transition: color .2s ease, border-color .2s ease, background .2s ease
    }

        .nav a:hover {
            border-color: var(--linkHover);
            color: var(--linkHover);
            background: linear-gradient(180deg, rgba(17,24,39,.4), rgba(17,24,39,.2))
        }

.hamburger {
    display: none;
    color: #bfe7ff;
    border: 1px solid rgba(0,191,255,.5);
    height: 40px;
    width: 40px;
    border-radius: 12px;
    place-items: center;
    background: transparent;
    transition: background .2s ease, transform .15s ease
}

    .hamburger:hover {
        background: rgba(0,191,255,.1);
        transform: translateY(-1px)
    }

.mobile-nav {
    display: none
}

/* Hero */
.hero {
    padding: 78px 0 48px 0;
    background: radial-gradient(1200px 700px at -10% -20%, rgba(96,165,250,.09), transparent 60%), radial-gradient(1000px 700px at 110% 120%, rgba(16,185,129,.09), transparent 60%), var(--bg)
}

    .hero .grid {
        align-items: center
    }

.hero-visual {
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(17,24,39,.6), rgba(17,24,39,.45));
    box-shadow: var(--shadow)
}

    .hero-visual img {
        width: 100%;
        display: block
    }

.hero-kpis {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px
}

.kpi {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 6px 12px;
    background: linear-gradient(180deg, rgba(17,24,39,.6), rgba(17,24,39,.45))
}

/* Steps */
.step {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 12px;
    align-items: flex-start
}

    .step .num {
        width: 56px;
        height: 56px;
        border-radius: 14px;
        display: grid;
        place-items: center;
        font-weight: 900;
        background: linear-gradient(135deg,var(--primary),var(--accent));
        color: #071013
    }

    .step .title {
        font-weight: 800
    }

/* Pricing */
.pricing {
    margin-top: 18px
}

.price-card {
    position: relative
}

    .price-card .content {
        display: flex;
        flex-direction: column;
        height: 100%
    }

.price {
    font-size: 2rem;
    font-weight: 900
}

    .price small {
        font-size: .9rem;
        color: var(--muted);
        font-weight: 600
    }

.price-card .caption {
    color: var(--muted);
    font-size: .9rem
}

.price-card .cta {
    margin-top: auto;
    display: flex;
    justify-content: flex-start
}

ul.clean {
    list-style: none;
    padding: 0;
    margin: 0
}

    ul.clean li {
        padding-left: 28px;
        position: relative;
        margin: 8px 0
    }

        ul.clean li::before {
            content: "✓";
            position: absolute;
            left: 0;
            top: 0;
            color: var(--primary);
            font-weight: 900
        }

/* FAQ */
.faq details {
    border: 1px solid var(--border);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(17,24,39,.7), rgba(17,24,39,.5));
    overflow: hidden
}

    .faq details + details {
        margin-top: 12px
    }

.faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    cursor: pointer;
    padding: 16px 18px;
    font-weight: 800
}

    .faq summary::marker {
        display: none;
        color: transparent
    }

.faq .chev {
    transition: transform .2s ease
}

.faq details[open] .chev {
    transform: rotate(180deg)
}

.faq .answer {
    padding: 0 18px 16px 18px;
    color: #cbd5e1
}

/* Forms */
.form-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2,minmax(0,1fr))
}

    /* Campo ocupando as duas colunas do grid */
    .form-grid .full {
        grid-column: 1 / -1
    }

/* Inputs/Select/Textarea */
.input, .select, .textarea {
    width: 100%;
    border: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(17,24,39,.6), rgba(17,24,39,.45));
    color: var(--text);
    padding: 12px;
    border-radius: 12px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
    color-scheme: dark; /* ajuda em navegadores a usar popup escuro */
}

/* SELECT – aparência + popup da listagem escuro */
select.input, select.select, select {
    background: linear-gradient(180deg, rgba(17,24,39,.6), rgba(17,24,39,.45));
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 12px;
    appearance: auto; /* mantém seta nativa */
    color-scheme: dark;
}

    /* Itens da lista do select */
    select option, select optgroup {
        background: var(--surface);
        color: var(--text);
    }

        select option:checked {
            background-color: #1f2937;
            color: #fff
        }

    /* (fallback antigo que você tinha – agora não precisa, mas mantemos coerente)
   .select option { background:#fff; color:#111 } */

    /* Foco */
    .input:focus, .select:focus, .textarea:focus, select:focus {
        border-color: rgba(96,165,250,.6);
        box-shadow: 0 0 0 4px rgba(96,165,250,.12)
    }

.textarea {
    min-height: 120px;
    resize: vertical
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700
}

.form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    flex-wrap: wrap
}

.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px
}

/* Modal */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 80
}

    .modal[aria-hidden="false"] {
        display: flex
    }

.modal-card {
    width: min(820px,96vw);
    max-height: 88vh;
    overflow: auto
}

.modal h3 {
    margin-top: 0
}

.modal .close {
    position: sticky;
    top: 0;
    display: flex;
    justify-content: flex-end;
    padding: 8px
}

/* Reveal on scroll */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .6s ease, transform .6s ease;
    will-change: opacity, transform
}

    .reveal.in {
        opacity: 1;
        transform: translateY(0)
    }

/* Responsive + Mobile nav animation */
@media (max-width:1080px) {
    .grid.cols-4 {
        grid-template-columns: repeat(2,minmax(0,1fr))
    }
}

@media (max-width:860px) {
    .grid.cols-2 {
        grid-template-columns: 1fr
    }

    .grid.cols-3 {
        grid-template-columns: 1fr
    }

    .nav {
        position: fixed;
        left: 0;
        right: 0;
        top: 64px;
        background: linear-gradient(180deg, rgba(15,23,42,.98), rgba(15,23,42,.92));
        border-top: 1px solid var(--border);
        padding: 14px 16px;
        display: block;
        z-index: 65;
        max-height: 0;
        opacity: 0;
        transform: translateY(-6px);
        overflow: hidden;
        visibility: hidden;
        transition: max-height .35s ease, opacity .25s ease, transform .35s ease, visibility 0s linear .35s;
    }

    .header.open .nav {
        max-height: 70vh;
        opacity: 1;
        transform: translateY(0);
        visibility: visible;
        transition: max-height .5s ease, opacity .3s ease, transform .35s ease
    }

    .nav a {
        display: block;
        margin: 6px 0
    }

    .hamburger {
        display: inline-grid
    }

    section {
        padding: 42px 0
    }
}
/* ===== FIXES: grid .full e select (tema escuro) ===== */

/* .full ocupando as duas colunas do grid com alta especificidade */
.form-grid > .full {
    grid-column: 1 / -1 !important;
}

/* Força tema escuro em <select> e no popup de opções */
select,
select.input,
select.select,
.select {
    background: linear-gradient(180deg, rgba(17,24,39,.6), rgba(17,24,39,.45)) !important;
    color: var(--text) !important;
    border: 1px solid var(--border) !important;
    border-radius: 12px !important;
    color-scheme: dark;
}

    /* Itens da lista (dropdown) com fundo escuro */
    select option,
    select optgroup,
    .select option,
    .select optgroup {
        background: var(--surface) !important;
        color: var(--text) !important;
    }

        /* Estado :checked/hover (melhor contraste) */
        select option:checked {
            background-color: #1f2937 !important;
            color: #ffffff !important;
        }

    /* Inputs desabilitados legíveis no tema escuro (Cidade/Estado) */
    input:disabled,
    select:disabled,
    textarea:disabled {
        opacity: .95;
        color: #cbd5e1 !important;
        background: linear-gradient(180deg, rgba(17,24,39,.5), rgba(17,24,39,.35)) !important;
        border-color: var(--border) !important;
    }
    /* Dropdown <select>: itens sem cantos arredondados nem sombra */
    select option,
    select optgroup {
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        background-clip: padding-box !important;
        margin: 0 !important;
        list-style: none !important; /* já remove bullets se algum UA aplicar */
        display: block; /* evita list-item em alguns UAs */
    }

        /* Estados (Firefox costuma arredondar no highlight) */
        select option:hover,
        select option:focus,
        select option:checked {
            border-radius: 0 !important;
            box-shadow: none !important;
        }

        /* Alguns user agents desenham marcador via ::marker */
        select option::marker,
        select optgroup::marker {
            content: "" !important;
        }

/* (opcional) garante que o próprio <select> não injete estilos nativos extras */
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
