:root {
    --bg-deep: #0c0f14;
    --bg-card: #131820;
    --bg-elevated: #1a1f2a;
    --border: rgba(255, 255, 255, 0.08);
    --text: #e8eaef;
    --text-muted: #9aa3b2;
    --accent: #2dd4bf;
    --accent-dim: rgba(45, 212, 191, 0.15);
    --warm: #fbbf24;
    --gradient-hero: radial-gradient(ellipse 120% 80% at 50% -20%, rgba(45, 212, 191, 0.18), transparent 55%),
        radial-gradient(ellipse 80% 50% at 100% 0%, rgba(251, 191, 36, 0.08), transparent 45%),
        linear-gradient(180deg, #0c0f14 0%, #0a0c10 100%);
    --font-sans: 'Plus Jakarta Sans', system-ui, sans-serif;
    --font-display: 'Instrument Serif', Georgia, serif;
    --radius: 14px;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    color: var(--text);
    background: var(--bg-deep);
    line-height: 1.65;
    font-size: 1rem;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: #5eead4; }

.wrap {
    position: relative;
    z-index: 1;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Nav */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.5rem;
    min-height: 72px;
    max-width: 1160px;
    margin: 0 auto;
    background: rgba(12, 15, 20, 0.75);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}

.nav-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text);
}

/* Mesmo critério do login/cadastro (76px + scale), com um pouco mais na home */
.nav-logo-wrap {
    display: flex;
    align-items: center;
    overflow: visible;
}

.nav-brand img {
    height: 76px;
    width: 76px;
    object-fit: contain;
    display: block;
    transform: scale(1.48);
    transform-origin: left center;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

@media (max-width: 768px) {
    .nav-brand img {
        height: 64px;
        width: 64px;
        transform: scale(1.38);
    }

}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.15rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
    border: none;
    cursor: pointer;
}

.btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.btn-ghost {
    color: var(--text-muted);
    background: transparent;
}

.btn-ghost:hover {
    color: var(--text);
}

.btn-outline {
    color: var(--text);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.btn-accent {
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
    color: #04120f;
    box-shadow: 0 8px 32px rgba(20, 184, 166, 0.35);
}

.btn-accent:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 40px rgba(20, 184, 166, 0.45);
}

.btn-warm {
    background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
    color: #1a1003;
    box-shadow: 0 8px 32px rgba(251, 191, 36, 0.25);
}

.btn-warm:hover {
    transform: translateY(-1px);
}

/* Hero */
.hero {
    padding: 3rem 0 4.5rem;
    background: var(--gradient-hero);
    border-bottom: 1px solid var(--border);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

.hero-kicker {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 4.5vw, 3.35rem);
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.hero h1 em {
    font-style: italic;
    color: var(--warm);
}

.hero-lead {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 32rem;
    margin-bottom: 1.75rem;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.hero-note {
    margin-top: 1.25rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Mock UI */
.mock {
    position: relative;
    border-radius: var(--radius);
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    overflow: hidden;
    aspect-ratio: 4/3;
    max-height: 380px;
}

.mock-bar {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.65rem 1rem;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
}

.mock-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #475569;
}

.mock-dot:nth-child(1) { background: #ef4444; }
.mock-dot:nth-child(2) { background: #fbbf24; }
.mock-dot:nth-child(3) { background: #22c55e; }

.mock-body {
    padding: 1.25rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    height: calc(100% - 42px);
}

.mock-card {
    background: var(--bg-elevated);
    border-radius: 10px;
    padding: 1rem;
    border: 1px solid var(--border);
}

.mock-card h4 {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.mock-stat {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.mock-stat.pos { color: #34d399; }
.mock-stat.neg { color: #fb7185; }

.mock-chart {
    grid-column: 1 / -1;
    height: 100px;
    border-radius: 8px;
    background: linear-gradient(180deg, var(--accent-dim) 0%, transparent 100%);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.mock-chart::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(45, 212, 191, 0.4) 20%,
        rgba(45, 212, 191, 0.7) 50%,
        rgba(45, 212, 191, 0.35) 80%,
        transparent 100%);
    clip-path: polygon(0 80%, 8% 65%, 18% 70%, 28% 45%, 40% 55%, 52% 30%, 65% 40%, 78% 20%, 90% 35%, 100% 25%, 100% 100%, 0 100%);
}

.mock-float {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(26, 31, 42, 0.95);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.65rem 0.85rem;
    font-size: 0.75rem;
    max-width: 160px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.mock-float strong { color: var(--warm); display: block; margin-bottom: 0.15rem; }

/* Sections */
section {
    padding: 4rem 0;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 400;
    margin-bottom: 0.75rem;
    text-align: center;
}

.section-sub {
    text-align: center;
    color: var(--text-muted);
    max-width: 36rem;
    margin: 0 auto 2.5rem;
    font-size: 1.05rem;
}

.dual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

@media (max-width: 768px) {
    .dual { grid-template-columns: 1fr; }
}

.dual-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
    transition: border-color 0.25s, transform 0.25s;
}

.dual-card:hover {
    border-color: rgba(45, 212, 191, 0.35);
    transform: translateY(-3px);
}

.dual-card .tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.dual-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.dual-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
}

@media (max-width: 900px) {
    .features-grid { grid-template-columns: 1fr; }
}

.feature {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: border-color 0.2s;
}

.feature:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

.feature svg {
    width: 28px;
    height: 28px;
    margin-bottom: 1rem;
    color: var(--accent);
}

.feature h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.45rem;
}

.feature p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.plans {
    background: linear-gradient(180deg, transparent, rgba(45, 212, 191, 0.04) 50%, transparent);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.plans-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    max-width: 720px;
    margin: 0 auto;
}

@media (max-width: 600px) {
    .plans-row { grid-template-columns: 1fr; }
}

.plan-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.plan-box h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.plan-box p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.plan-box a {
    display: inline-block;
    margin-top: 1rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.faq {
    max-width: 640px;
    margin: 0 auto;
}

.faq details {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-bottom: 0.65rem;
    padding: 0.85rem 1.1rem;
}

.faq summary {
    cursor: pointer;
    font-weight: 600;
    list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq details[open] summary {
    margin-bottom: 0.5rem;
    color: var(--accent);
}

.faq p {
    font-size: 0.92rem;
    color: var(--text-muted);
}

.cta-band {
    text-align: center;
    padding: 4rem 1.5rem;
    background: radial-gradient(ellipse 80% 80% at 50% 100%, rgba(45, 212, 191, 0.12), transparent),
        var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin: 0 0 4rem;
}

.cta-band h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2rem);
    font-weight: 400;
    margin-bottom: 0.75rem;
}

.cta-band p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
}

footer {
    padding: 2.5rem 0 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

footer .foot-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
    margin-bottom: 1rem;
}

footer .foot-links a {
    color: var(--text-muted);
    text-decoration: none;
}

footer .foot-links a:hover {
    color: var(--accent);
}

/* Utilitários (antes inline no HTML) */
.plans-section-inner {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.btn.btn-warm.btn--hero {
    padding: 0.75rem 1.35rem;
    font-size: 1rem;
}

.btn.btn-warm.btn--cta {
    padding: 0.85rem 1.75rem;
    font-size: 1.05rem;
}

.section-sub.section-sub--tight {
    margin-bottom: 1.5rem;
}
