/* Landing Page — Controlla */
:root {
    --bg-page:      #f3f6fb;
    --bg-surface:   #ffffff;
    --bg-soft:      #eef3fb;
    --text-primary: #0f172a;
    --text-sec:     #475569;
    --text-muted:   #64748b;
    --border:       #dbe3f1;
    --brand:        #1d4ed8;
    --brand-strong: #1e40af;
    --brand-soft:   #dbeafe;
    --success:      #059669;
    --danger:       #dc2626;
    --shadow-sm:    0 8px 20px rgba(15, 23, 42, .06);
    --shadow-md:    0 18px 38px rgba(15, 23, 42, .10);
    --shadow-lg:    0 30px 70px rgba(29, 78, 216, .16);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: "Manrope", system-ui, -apple-system, sans-serif;
    background: radial-gradient(circle at 15% 10%, #e0eaff 0%, transparent 32%),
                radial-gradient(circle at 80% 18%, #d5f2ff 0%, transparent 28%),
                var(--bg-page);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: "Plus Jakarta Sans", "Manrope", system-ui, sans-serif;
    letter-spacing: -.03em;
    line-height: 1.12;
}

p { color: var(--text-sec); }

/* ── Background orbs ──────────────────────────── */
.bg-orb {
    position: fixed; border-radius: 50%;
    filter: blur(75px); z-index: -1; pointer-events: none;
}
.bg-orb--one { width: 320px; height: 320px; left: -80px;  top: 140px; background: rgba(59,130,246,.16); }
.bg-orb--two { width: 360px; height: 360px; right: -120px; top: 300px; background: rgba(45,212,191,.16); }

/* ══════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════ */
.navbar {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(255,255,255,.88);
    border-bottom: 1px solid rgba(219,227,241,.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.navbar-content {
    max-width: 1200px; margin: 0 auto;
    padding: .95rem 1.25rem;
    display: flex; justify-content: space-between; align-items: center;
}

.logo {
    display: inline-flex; align-items: center; gap: .75rem;
    text-decoration: none; color: var(--text-primary);
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 1.3rem; font-weight: 800;
}
.logo img { width: auto; height: 42px; }

.nav-links {
    display: flex; align-items: center; gap: .15rem;
}
.nav-link {
    padding: .5rem .75rem; border-radius: .6rem;
    font-size: .9rem; font-weight: 600;
    color: var(--text-sec); text-decoration: none;
    transition: color .2s, background .2s;
}
.nav-link:hover { color: var(--text-primary); background: var(--bg-soft); }

.nav-buttons { display: flex; align-items: center; gap: .75rem; }

/* ── Buttons ──────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: .8rem; border: 1px solid transparent;
    padding: .72rem 1.2rem;
    font-size: .95rem; font-weight: 700; text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
    cursor: pointer; gap: .4rem;
}
.btn-large { padding: .9rem 1.55rem; font-size: 1rem; }

.btn-primary {
    background: linear-gradient(130deg, var(--brand) 0%, var(--brand-strong) 100%);
    color: #fff;
    box-shadow: 0 12px 26px rgba(29,78,216,.27);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(29,78,216,.35); color: #fff; }
.btn-primary:active { transform: translateY(0); }

.btn-secondary { background: #fff; color: var(--brand-strong); border-color: var(--border); }
.btn-secondary:hover { background: #f8fbff; border-color: #bfd1ef; color: var(--brand-strong); }

.btn-outline { border-color: var(--border); color: var(--text-primary); background: #fff; }
.btn-outline:hover { border-color: var(--brand); color: var(--brand-strong); }

.btn-ghost { border-color: transparent; color: var(--text-sec); background: transparent; }
.btn-ghost:hover { background: var(--bg-soft); color: var(--text-primary); }

.btn-full { width: 100%; }

/* ══════════════════════════════════════════════
   HERO
══════════════════════════════════════════════ */
.hero { padding: 6.5rem 1.25rem 4.5rem; }

.hero-content { max-width: 1000px; margin: 0 auto; text-align: center; }

.hero-eyebrow {
    display: inline-flex; align-items: center; gap: .3rem;
    text-transform: uppercase; letter-spacing: .12em;
    font-size: .72rem; font-weight: 800;
    color: var(--brand-strong); background: var(--brand-soft);
    border: 1px solid #bfdbfe; border-radius: 999px;
    padding: .45rem .9rem; margin-bottom: 1.3rem;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.6rem);
    max-width: 860px; margin: 0 auto 1rem;
    color: #0b162f;
}

.hero p {
    max-width: 700px; margin: 0 auto 2.1rem;
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    color: var(--text-sec);
}

.hero-buttons { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }

.hero-metrics {
    margin-top: 2.2rem;
    display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .95rem;
}

.metric-card {
    background: rgba(255,255,255,.74);
    border: 1px solid rgba(219,227,241,.9);
    border-radius: 16px; padding: 1rem;
    box-shadow: var(--shadow-sm);
}
.metric-value {
    display: block;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 1.35rem; font-weight: 800; color: #0b1b42;
}
.metric-label { font-size: .82rem; color: var(--text-muted); }

/* ══════════════════════════════════════════════
   PAIN SECTION — Dor e Solução
══════════════════════════════════════════════ */
.pain { padding: 5rem 1.25rem; background: var(--bg-soft); }

.pain-content { max-width: 1200px; margin: 0 auto; }

.pain-heading { text-align: center; margin-bottom: 2.5rem; }
.pain-heading h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); color: #0d1a38; margin-top: .75rem; }

.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.pain-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px; padding: 1.6rem;
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.pain-card:hover {
    transform: translateY(-4px);
    border-color: #f7b3b3;
    box-shadow: 0 18px 38px rgba(220,38,38,.08);
}

.pain-card-icon {
    width: 46px; height: 46px; border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    background: #fff7ed; color: #ea580c;
    font-size: 1.3rem; margin-bottom: .9rem;
}

.pain-card h3 {
    font-size: 1.05rem; color: #0f1f46; margin-bottom: .45rem;
}

.pain-card p { font-size: .93rem; color: var(--text-sec); line-height: 1.55; }

.pain-bridge {
    margin-top: 2.75rem; text-align: center;
    display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
}
.pain-bridge p {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    font-weight: 600; color: var(--text-primary);
    max-width: 680px; line-height: 1.5;
}

/* ══════════════════════════════════════════════
   FEATURES — Grid de 6 cards
══════════════════════════════════════════════ */
.features { padding: 5rem 1.25rem; }

.features-content { max-width: 1200px; margin: 0 auto; }

.features h2, .plans h2, .cta h2 {
    font-size: clamp(1.8rem, 4vw, 2.7rem); color: #0d1a38;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin-top: 2.5rem;
}

.glass-card {
    background: #fff; border: 1px solid var(--border);
    border-radius: 18px; padding: 1.6rem;
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.glass-card:hover {
    transform: translateY(-4px); border-color: #bfd1ef;
    box-shadow: var(--shadow-md);
}
.glass-card h3 { font-size: 1.08rem; color: #0f1f46; margin-bottom: .45rem; }
.glass-card p  { font-size: .94rem; color: var(--text-sec); line-height: 1.55; }

.feature-icon {
    width: 48px; height: 48px; border-radius: 14px;
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #e0eaff, #ecfeff);
    color: var(--brand-strong); margin-bottom: .9rem; font-size: 1.4rem;
}

/* ══════════════════════════════════════════════
   HOW IT WORKS
══════════════════════════════════════════════ */
.how { padding: 5rem 1.25rem; background: var(--bg-soft); }

.how-content { max-width: 1200px; margin: 0 auto; }

.plans-heading {
    max-width: 760px; margin: 0 auto 2rem; text-align: center;
}
.plans-heading h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); color: #0d1a38; margin-top: .75rem; }
.plans-heading p  { margin-top: .85rem; font-size: 1rem; color: var(--text-muted); }

.how-grid {
    list-style: none; margin: 0; padding: 0;
    display: grid; grid-template-columns: 1fr; gap: 1rem;
}
@media (min-width: 768px) {
    .how-grid                { grid-template-columns: repeat(3, 1fr); }
    .how-grid.how-grid--two  { grid-template-columns: repeat(2, 1fr); max-width: 780px; margin: 0 auto; }
}

.how-step {
    position: relative;
    background: #fff; border: 1px solid var(--border);
    border-radius: 22px; padding: 1.85rem 1.6rem 1.6rem;
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
    overflow: hidden;
}
.how-step::before {
    content: ""; position: absolute; inset: 0 auto 0 0;
    width: 4px; background: linear-gradient(180deg, var(--brand) 0%, transparent 100%);
    opacity: 0; transition: opacity .25s ease;
}
.how-step:hover { transform: translateY(-4px); border-color: #bfd1ef; box-shadow: var(--shadow-md); }
.how-step:hover::before { opacity: 1; }

.how-step-num {
    position: absolute; top: 1.25rem; right: 1.6rem;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 2.5rem; font-weight: 800; line-height: 1;
    color: var(--bg-soft); letter-spacing: -.04em; user-select: none;
}
.how-step-icon {
    width: 44px; height: 44px; border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #e0eaff, #ecfeff);
    color: var(--brand-strong); font-size: 1.2rem;
    margin-bottom: 1rem; position: relative; z-index: 1;
}
.how-step h3 { font-size: 1.12rem; color: #0f1f46; margin-bottom: .5rem; max-width: 80%; }
.how-step p  { font-size: .95rem; color: var(--text-sec); line-height: 1.55; }

/* ══════════════════════════════════════════════
   TRUST — Confiança / Social Proof
══════════════════════════════════════════════ */
.trust { padding: 5rem 1.25rem; }

.trust-content { max-width: 1100px; margin: 0 auto; text-align: center; }

.trust-content h2 {
    font-size: clamp(1.7rem, 4vw, 2.4rem); color: #0d1a38; margin-bottom: 2.5rem;
}

.trust-counters {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem;
    margin-bottom: 2.5rem;
}
.trust-counter {
    display: flex; flex-direction: column; align-items: center; gap: .3rem;
}
.trust-counter-value {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 2.2rem; font-weight: 800; color: var(--brand-strong);
}
.trust-counter-label { font-size: .88rem; color: var(--text-muted); }

.trust-types {
    display: flex; flex-wrap: wrap; justify-content: center; gap: .65rem;
    margin-bottom: 2.5rem;
}
.trust-type {
    display: inline-flex; align-items: center; gap: .45rem;
    background: #fff; border: 1px solid var(--border);
    border-radius: 999px; padding: .45rem 1rem;
    font-size: .88rem; font-weight: 600; color: var(--text-sec);
    box-shadow: var(--shadow-sm);
}
.trust-type i { color: var(--brand); font-size: 1rem; }

.trust-seals {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem;
}
.trust-seal {
    display: inline-flex; align-items: center; gap: .5rem;
    background: var(--brand-soft); border: 1px solid #bfdbfe;
    border-radius: 999px; padding: .55rem 1.1rem;
    font-size: .88rem; font-weight: 700; color: var(--brand-strong);
}
.trust-seal i { font-size: 1.05rem; }

/* ══════════════════════════════════════════════
   CTA FINAL
══════════════════════════════════════════════ */
.cta { padding: 0 1.25rem 5rem; }

.cta-card {
    max-width: 1060px; margin: 0 auto; text-align: center;
    padding: 3.5rem 1.5rem; border-radius: 26px;
    background: linear-gradient(130deg, #0f2e80 0%, #1d4ed8 55%, #0ea5e9 100%);
    color: #fff;
    box-shadow: 0 28px 60px rgba(29,78,216,.35);
}
.cta-card h2 { margin-bottom: .8rem; color: #fff; font-size: clamp(1.7rem, 4vw, 2.5rem); }
.cta-card p  { max-width: 680px; margin: 0 auto 1.6rem; color: rgba(255,255,255,.85); font-size: 1.05rem; }

.cta-card .btn-primary {
    background: #fff; color: #0f2e80; box-shadow: none;
    font-size: 1.05rem;
}
.cta-card .btn-primary:hover { background: #eef4ff; color: #0f2e80; }

.cta-support {
    margin-top: 1.5rem;
    font-size: .9rem; color: rgba(255,255,255,.75);
}
.cta-support-link {
    color: #fff; font-weight: 700; text-decoration: none;
    display: inline-flex; align-items: center; gap: .3rem;
    transition: opacity .2s;
}
.cta-support-link:hover { opacity: .8; }
.cta-support-link i { font-size: 1.1rem; }

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
footer {
    padding: 3.25rem 1.5rem 2rem;
    border-top: 1px solid #d6dfef;
    background: rgba(255,255,255,.85);
    color: var(--text-sec); text-align: left;
}

.footer-inner {
    max-width: 1200px; margin: 0 auto 2.5rem;
    display: grid; grid-template-columns: 1fr; gap: 2.5rem;
}
@media (min-width: 768px) {
    .footer-inner { grid-template-columns: 2fr 1fr 1fr 1.2fr; }
}

.footer-brand .logo { margin-bottom: .85rem; }
.footer-brand p { font-size: .92rem; color: var(--text-muted); line-height: 1.6; max-width: 320px; }

.footer-col h4 {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: .78rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: .14em;
    color: var(--text-primary); margin-bottom: 1rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .6rem; }
.footer-col li { font-size: .92rem; color: var(--text-muted); display: inline-flex; align-items: center; gap: .4rem; }
.footer-col a { color: var(--text-sec); text-decoration: none; transition: color .2s ease; display: inline-flex; align-items: center; gap: .4rem; }
.footer-col a:hover { color: var(--brand-strong); }
.footer-col a i, .footer-col li i { color: var(--brand); font-size: 1rem; flex-shrink: 0; }

.footer-bottom {
    max-width: 1200px; margin: 0 auto;
    padding-top: 1.5rem; border-top: 1px solid #e6ecf5;
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
    gap: .75rem; font-size: .85rem; color: var(--text-muted);
}
.footer-bottom .made-in { display: inline-flex; align-items: center; gap: .5rem; }
.footer-bottom .flag-pill {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--brand); box-shadow: 0 0 0 3px rgba(29,78,216,.18);
}

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 992px) {
    .hero-metrics { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .navbar-content { padding: .85rem 1rem; }
    .nav-links { display: none; }

    .hero { padding-top: 5.5rem; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; }

    .pain, .features, .how, .trust, .cta { padding-left: 1rem; padding-right: 1rem; }

    .trust-counters { gap: 1.5rem; }
    .trust-counter-value { font-size: 1.7rem; }

    .cta-card { padding: 2.3rem 1.2rem; }

    .pain-grid,
    .features-grid { grid-template-columns: 1fr; }
}

/* Pedir demonstração */
.demo-section { padding: 56px 20px; }
.demo-page { min-height: 100vh; display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 32px 16px; }
.demo-logo { display: inline-flex; align-items: center; gap: 8px; color: var(--text-primary); font-weight: 700; text-decoration: none; }
.demo-logo img { width: 32px; height: 32px; }
.demo-card { width: 100%; max-width: 720px; margin: 0 auto; background: var(--bg-surface); border: 1px solid var(--border); border-radius: 16px; padding: 28px; }
.demo-card h1, .demo-card h2 { font-size: 1.6rem; line-height: 1.25; margin-bottom: 6px; }
.demo-card > p { color: var(--text-sec); margin-bottom: 18px; }
.demo-card > .btn { margin-top: 4px; }
.demo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 16px; }
.demo-field { min-width: 0; }
.demo-field-wide { grid-column: 1 / -1; }
.demo-field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 5px; }
.demo-field input, .demo-field textarea { width: 100%; font: inherit; color: var(--text-primary); background: var(--bg-surface); border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; }
.demo-field input:focus, .demo-field textarea:focus { outline: 3px solid var(--brand-soft); border-color: var(--brand); }
.demo-error { color: var(--danger); font-size: .82rem; margin-top: 4px; }
.demo-privacy { color: var(--text-muted); font-size: .8rem; margin-top: 10px; }
.demo-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 640px) {
    .demo-card { padding: 20px; }
    .demo-grid { grid-template-columns: minmax(0, 1fr); }
    .demo-form .btn { width: 100%; }
}
