/* ─── Reset & Base ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #0f172a;
    background: #ffffff;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

/* ─── Utilities ────────────────────────────────────────────────────────── */
.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; }

/* ─── Header ───────────────────────────────────────────────────────────── */
.site-header {
    background: #0f172a;
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo {
    color: #f8fafc;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    letter-spacing: 0.02em;
}

.site-logo span {
    color: #60a5fa;
}

.header-cta {
    background: #2563eb;
    color: #fff;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 8px 20px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s;
}

.header-cta:hover { background: #1d4ed8; }

/* ─── Hero ─────────────────────────────────────────────────────────────── */
.hero {
    background: #0f172a;
    color: #f8fafc;
    padding: 80px 0 88px;
}

.hero-badge {
    display: inline-block;
    background: rgba(96, 165, 250, 0.15);
    color: #60a5fa;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 99px;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    max-width: 760px;
    margin-bottom: 20px;
}

.hero h1 em {
    font-style: normal;
    color: #60a5fa;
}

.hero-sub {
    font-size: 1.125rem;
    color: #94a3b8;
    max-width: 600px;
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary {
    background: #2563eb;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s, transform 0.1s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover { background: #1d4ed8; transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
    color: #94a3b8;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

.btn-ghost:hover { color: #f8fafc; }

/* ─── Seção Problema ───────────────────────────────────────────────────── */
.problema {
    background: #fff7ed;
    padding: 72px 0;
    border-top: 1px solid #fed7aa;
    border-bottom: 1px solid #fed7aa;
}

.section-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-sub {
    font-size: 1.05rem;
    color: #475569;
    max-width: 620px;
    line-height: 1.7;
    margin-bottom: 40px;
}

.problema-lista {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    max-width: 860px;
}

.problema-lista li {
    background: #fff;
    border: 1px solid #fed7aa;
    border-left: 4px solid #f97316;
    border-radius: 8px;
    padding: 16px 20px;
    font-size: 0.95rem;
    color: #7c2d12;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.problema-lista li::before {
    content: '✗';
    color: #ea580c;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ─── Seção Solução / Como funciona ───────────────────────────────────── */
.solucao {
    padding: 80px 0;
    background: #fff;
}

.passos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.passo {
    display: flex;
    gap: 20px;
}

.passo-num {
    width: 44px;
    height: 44px;
    background: #eff6ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    color: #2563eb;
    flex-shrink: 0;
}

.passo-txt h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: #0f172a;
}

.passo-txt p {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.6;
}

/* ─── Funcionalidades ──────────────────────────────────────────────────── */
.funcionalidades {
    background: #f8fafc;
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.feature-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 28px 24px;
    transition: box-shadow 0.2s, transform 0.2s;
}

.feature-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.07);
    transform: translateY(-2px);
}

.feature-icon {
    width: 44px;
    height: 44px;
    background: #eff6ff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 1.3rem;
}

.feature-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}

.feature-card p {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.6;
}

/* ─── Para quem é ──────────────────────────────────────────────────────── */
.para-quem {
    padding: 80px 0;
    background: #fff;
}

.publicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 48px;
}

.publico-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 24px 20px;
}

.publico-card .emoji {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.publico-card h3 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}

.publico-card p {
    font-size: 0.825rem;
    color: #64748b;
    line-height: 1.6;
}

/* ─── CTA Final / Formulário ───────────────────────────────────────────── */
.cta-section {
    background: #0f172a;
    padding: 88px 0;
    color: #f8fafc;
}

.cta-section .section-label { color: #60a5fa; }
.cta-section .section-title { color: #f8fafc; }
.cta-section .section-sub   { color: #94a3b8; }

.cta-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

@media (max-width: 768px) {
    .cta-inner { grid-template-columns: 1fr; gap: 40px; }
}

.cta-beneficios {
    list-style: none;
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cta-beneficios li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: #cbd5e1;
}

.cta-beneficios li::before {
    content: '✓';
    color: #34d399;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ─── Formulário ───────────────────────────────────────────────────────── */
.form-card {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 16px;
    padding: 36px 32px;
}

.form-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 24px;
}

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

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #94a3b8;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.form-group input {
    width: 100%;
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 8px;
    padding: 11px 14px;
    font-size: 0.95rem;
    color: #f8fafc;
    font-family: inherit;
    transition: border-color 0.2s;
    outline: none;
}

.form-group input::placeholder { color: #475569; }
.form-group input:focus { border-color: #2563eb; }
.form-group input.erro { border-color: #f87171; }

.form-group .msg-erro {
    font-size: 0.78rem;
    color: #f87171;
    margin-top: 4px;
    display: none;
}

.form-group.com-erro .msg-erro { display: block; }

.btn-submit {
    width: 100%;
    background: #2563eb;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    padding: 14px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s;
    margin-top: 8px;
}

.btn-submit:hover:not(:disabled) { background: #1d4ed8; }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.form-nota {
    font-size: 0.75rem;
    color: #64748b;
    text-align: center;
    margin-top: 12px;
}

/* ─── Alertas do formulário ────────────────────────────────────────────── */
#msg-form {
    display: none;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 0.875rem;
    margin-top: 16px;
    text-align: center;
}

#msg-form.sucesso {
    display: block;
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

#msg-form.erro {
    display: block;
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* ─── Aviso token inválido ─────────────────────────────────────────────── */
.aviso-banner {
    background: #fef3c7;
    border: 1px solid #fcd34d;
    border-radius: 8px;
    padding: 14px 20px;
    font-size: 0.9rem;
    color: #92400e;
    text-align: center;
    margin: 24px auto;
    max-width: 680px;
}

/* ─── Footer ───────────────────────────────────────────────────────────── */
.site-footer {
    background: #020617;
    color: #475569;
    padding: 32px 0;
    font-size: 0.8rem;
    text-align: center;
}

.site-footer a { color: #60a5fa; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* ─── Responsivo ───────────────────────────────────────────────────────── */
@media (max-width: 640px) {
    .hero { padding: 56px 0 64px; }
    .site-header .header-cta { display: none; }
    .passos { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .publicos-grid { grid-template-columns: 1fr 1fr; }
    .form-card { padding: 24px 20px; }
}
