/* ══════════════════════════════════════════════════════════════
   FENANZA PRO — Landing de apresentação (design "Cognix")
   Fundo violeta quase-preto, blobs, grid, vidro, índigo/fúcsia/ciano.
   ══════════════════════════════════════════════════════════════ */
:root {
    --bg: #050311;
    --panel: rgba(16, 13, 32, 0.62);
    --panel-solid: #0c0a1a;
    --brd: rgba(255, 255, 255, 0.09);
    --brd-2: rgba(255, 255, 255, 0.16);
    --indigo: #6366f1;
    --fuchsia: #d946ef;
    --cyan: #22d3ee;
    --green: #22d3a7;
    --t1: #f4f3fc;
    --t2: #a7abc9;
    --t3: #6a6e90;
    --r: 20px;
    --ease: cubic-bezier(.4, 0, .2, 1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--bg); color: var(--t1); line-height: 1.6; overflow-x: hidden;
    position: relative; min-height: 100vh;
}
/* Fundo WebGL (feixes de luz + fumaça) */
#webgl-bg { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -3; pointer-events: none; opacity: .6; }

/* Ambiência: blobs + grid + vinheta */
body::before {
    content: ''; position: fixed; inset: 0; z-index: -2; pointer-events: none;
    background:
        radial-gradient(46vw 46vw at 6% -8%, rgba(99,102,241,.22) 0%, transparent 60%),
        radial-gradient(52vw 52vw at 106% 4%, rgba(217,70,239,.14) 0%, transparent 62%),
        radial-gradient(60vw 55vw at 50% 116%, rgba(34,211,238,.12) 0%, transparent 60%);
}

/* Linhas estruturais (guias verticais + cantos + linha inferior) — do modelo Cognix */
.site-frame { position: fixed; top: 0; left: 50%; transform: translateX(-50%); width: min(1140px, 100%); height: 100vh; z-index: -1; pointer-events: none;
    border-left: 1px solid rgba(255,255,255,.05); border-right: 1px solid rgba(255,255,255,.05); }
.site-frame i { position: absolute; top: 0; height: 100%; width: 1px; background: rgba(255,255,255,.03); }
.site-frame .v1 { left: 25%; } .site-frame .v2 { left: 50%; } .site-frame .v3 { left: 75%; }
.site-frame .corner { position: absolute; width: 14px; height: 14px; }
.site-frame .tl { top: 0; left: -1px; border-top: 1px solid rgba(255,255,255,.22); border-left: 1px solid rgba(255,255,255,.22); }
.site-frame .tr { top: 0; right: -1px; border-top: 1px solid rgba(255,255,255,.22); border-right: 1px solid rgba(255,255,255,.22); }
.site-frame .bottom { position: fixed; bottom: 0; left: 0; width: 100%; height: 1px; background: rgba(255,255,255,.14); }
body::after {
    content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255,255,255,.014) 2px, rgba(255,255,255,.014) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(255,255,255,.014) 2px, rgba(255,255,255,.014) 4px);
    -webkit-mask-image: radial-gradient(circle at center, #000 0%, transparent 92%);
    mask-image: radial-gradient(circle at center, #000 0%, transparent 92%);
}
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.gradient-text { background: linear-gradient(120deg, #fff 0%, var(--fuchsia) 60%, var(--cyan) 110%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--fuchsia); }
.eyebrow::before { content: ''; width: 26px; height: 1px; background: var(--fuchsia); }

/* Botões */
.btn { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: .92rem; border-radius: 999px; padding: 13px 26px; cursor: pointer; text-decoration: none; border: 1px solid transparent; transition: all .3s var(--ease); position: relative; overflow: hidden; }
.btn-primary { background: linear-gradient(135deg, var(--indigo), var(--fuchsia)); color: #fff; box-shadow: 0 10px 30px rgba(139,92,246,.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(139,92,246,.5); }
.btn-glass { background: rgba(255,255,255,.05); border-color: var(--brd); color: var(--t1); backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255,255,255,.1); border-color: var(--brd-2); transform: translateY(-2px); }
.btn::after { content: ''; position: absolute; top: 0; left: -120%; width: 120%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent); transition: left .6s var(--ease); }
.btn:hover::after { left: 120%; }

/* NAV */
.nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1140px; margin: 0 auto; padding: 18px 24px; }
.nav-inner { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); width: min(1140px, calc(100% - 32px)); z-index: 50;
    display: flex; align-items: center; justify-content: space-between; padding: 12px 18px;
    background: rgba(10,8,23,.6); backdrop-filter: blur(18px) saturate(160%); border: 1px solid var(--brd); border-radius: 999px; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.05rem; color: #fff; text-decoration: none; letter-spacing: -.01em; }
.nav-logo-icon { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--indigo), var(--fuchsia)); box-shadow: 0 4px 14px rgba(99,102,241,.4); }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--t2); text-decoration: none; font-size: .84rem; font-weight: 500; letter-spacing: .02em; transition: color .2s; }
.nav-links a:hover { color: #fff; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-btn { font-size: .8rem; padding: 9px 18px; }

/* HERO */
.hero { padding: 150px 0 90px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #fff;
    background: rgba(217,70,239,.14); border: 1px solid rgba(217,70,239,.35); padding: 6px 14px; border-radius: 999px; margin-bottom: 22px; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 700; line-height: 1.05; letter-spacing: -.02em; margin-bottom: 22px; }
.hero-sub { color: var(--t2); font-size: 1.06rem; max-width: 520px; margin-bottom: 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-trust { margin-top: 26px; display: flex; align-items: center; gap: 8px; color: var(--t3); font-size: .82rem; }
.hero-trust i { color: var(--green); }

/* Mockup (phone) */
.mock { position: relative; display: flex; justify-content: center; }
.mock-glow { position: absolute; inset: -10% 10%; background: radial-gradient(circle, rgba(99,102,241,.4), transparent 65%); filter: blur(60px); z-index: 0; }
.phone { position: relative; z-index: 1; width: 290px; border-radius: 40px; padding: 2px; background: linear-gradient(160deg, rgba(255,255,255,.25), rgba(255,255,255,.05) 40%, rgba(255,255,255,.12)); box-shadow: 0 30px 70px rgba(0,0,0,.55), 0 0 90px rgba(139,92,246,.15); animation: floatY 6s ease-in-out infinite; }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.phone-screen { background: #0a0817; border-radius: 38px; padding: 22px 18px; overflow: hidden; }
.pv-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.pv-head span { font-size: .72rem; color: var(--t3); }
.pv-dot { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, var(--indigo), var(--fuchsia)); }
.pv-kpi { background: rgba(255,255,255,.04); border: 1px solid var(--brd); border-radius: 14px; padding: 13px 15px; margin-bottom: 10px; }
.pv-kpi small { display: block; color: var(--t3); font-size: .64rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 4px; }
.pv-kpi b { font-size: 1.15rem; }
.pv-bars { display: flex; align-items: flex-end; gap: 7px; height: 70px; margin-top: 8px; padding: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--brd); border-radius: 14px; }
.pv-bars i { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(to top, rgba(99,102,241,.4), var(--cyan)); box-shadow: 0 0 12px rgba(34,211,238,.4); }

/* Sections */
.section { padding: 80px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 700; letter-spacing: -.02em; margin: 16px 0 14px; }
.section-head p { color: var(--t2); }

/* Métricas / gráfico elegante */
.metrics { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; align-items: stretch; }
.chart-panel { background: var(--panel); backdrop-filter: blur(18px) saturate(150%); border: 1px solid var(--brd); border-radius: 24px; padding: 28px; position: relative; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.06); }
.chart-panel::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 70%; height: 50%; background: rgba(99,102,241,.14); filter: blur(50px); }
.chart-top { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--brd); padding-bottom: 14px; margin-bottom: 20px; position: relative; z-index: 1; }
.chart-top .lbl { display: flex; align-items: center; gap: 8px; font-size: .86rem; font-weight: 600; }
.chart-top .lbl i { color: var(--cyan); }
.chart-legend { display: flex; gap: 16px; font-size: .72rem; color: var(--t2); }
.chart-legend span { display: flex; align-items: center; gap: 6px; }
.chart-legend .k { width: 9px; height: 9px; border-radius: 3px; }
.bars { position: relative; height: 230px; display: flex; align-items: flex-end; justify-content: space-around; gap: 12px; padding: 0 4px; z-index: 1; }
.bars .gridline { position: absolute; left: 0; right: 0; height: 1px; background: rgba(255,255,255,.05); }
.bar { width: 100%; max-width: 52px; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; position: relative; height: 100%; }
.bar .tip { position: absolute; top: -34px; background: rgba(255,255,255,.1); border: 1px solid var(--brd-2); backdrop-filter: blur(6px); color: #fff; font-size: .68rem; padding: 3px 8px; border-radius: 6px; opacity: 0; transition: opacity .25s; white-space: nowrap; }
.bar:hover .tip { opacity: 1; }
.bar .b-base { width: 100%; background: linear-gradient(to top, rgba(99,102,241,.25), rgba(99,102,241,.5)); border: 1px solid rgba(99,102,241,.3); border-radius: 5px 5px 0 0; margin-bottom: 2px; transition: filter .3s; }
.bar .b-top { width: 100%; background: linear-gradient(to top, #0891b2, var(--cyan)); border-top: 1px solid rgba(103,232,249,.6); border-radius: 5px 5px 0 0; box-shadow: 0 0 16px rgba(34,211,238,.35); transition: all .4s var(--ease); }
.bar:hover .b-top { filter: brightness(1.2); transform: translateY(-4px); box-shadow: 0 0 26px rgba(34,211,238,.6); }
.bars-x { display: flex; justify-content: space-around; gap: 12px; margin-top: 12px; font-size: .68rem; color: var(--t3); text-transform: uppercase; letter-spacing: .1em; }
.bars-x span { flex: 1; text-align: center; max-width: 52px; }
.stats-col { display: flex; flex-direction: column; gap: 16px; }
.stat { background: var(--panel); backdrop-filter: blur(14px); border: 1px solid var(--brd); border-radius: 20px; padding: 22px; box-shadow: inset 0 1px 0 rgba(255,255,255,.05); }
.stat .num { font-size: 2.1rem; font-weight: 700; letter-spacing: -.02em; background: linear-gradient(120deg, #fff, var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat.g .num { background: linear-gradient(120deg, #fff, var(--green)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat.f .num { background: linear-gradient(120deg, #fff, var(--fuchsia)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat p { color: var(--t2); font-size: .86rem; margin-top: 4px; }

/* Features */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { border-radius: 24px; padding: 1px; background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.03)); transition: transform .3s var(--ease); }
.feature:hover { transform: translateY(-5px); }
.feature-in { background: rgba(10,8,22,.86); backdrop-filter: blur(14px); border-radius: 23px; padding: 26px; height: 100%; }
.feature-ic { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; font-size: 1.25rem; margin-bottom: 18px; border: 1px solid var(--brd); }
.feature h3 { font-size: 1.08rem; font-weight: 600; margin-bottom: 8px; }
.feature p { color: var(--t2); font-size: .88rem; }

/* Comparação */
.compare { overflow-x: auto; }
.compare table { width: 100%; border-collapse: collapse; min-width: 460px; background: var(--panel); backdrop-filter: blur(16px); border: 1px solid var(--brd); border-radius: 20px; overflow: hidden; }
.compare th, .compare td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--brd); font-size: .9rem; }
.compare thead th { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--t3); background: rgba(255,255,255,.02); }
.compare .col-pro { color: var(--fuchsia); }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; }
.compare tbody tr:last-child td { border-bottom: none; }
.compare tbody tr:hover td { background: rgba(255,255,255,.02); }
.chk { color: var(--green); } .lk { color: var(--t3); }
.compare .col-pro-cell { background: rgba(217,70,239,.05); }

/* Pricing */
.pricing-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); gap: 22px; justify-content: center; align-items: start; }
.price { background: var(--panel); backdrop-filter: blur(16px); border: 1px solid var(--brd); border-radius: 24px; padding: 32px 28px; position: relative; box-shadow: 0 20px 50px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.05); }
.price.featured { border-color: rgba(217,70,239,.45); box-shadow: 0 0 50px rgba(217,70,239,.16), 0 20px 50px rgba(0,0,0,.4); transform: translateY(-8px); }
.price-tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--indigo), var(--fuchsia)); color: #fff; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; padding: 5px 14px; border-radius: 999px; box-shadow: 0 6px 16px rgba(139,92,246,.4); }
.price-name { font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: var(--t2); font-weight: 600; }
.price-amount { font-size: 3rem; font-weight: 800; letter-spacing: -.03em; margin: 12px 0 2px; }
.price-amount span { font-size: 1.3rem; color: var(--t2); font-weight: 600; }
.price-period { color: var(--t3); font-size: .84rem; margin-bottom: 8px; }
.price-save { display: inline-block; margin-top: 6px; color: var(--green); background: rgba(34,211,167,.12); border: 1px solid rgba(34,211,167,.3); font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.price ul { list-style: none; margin: 22px 0 26px; display: flex; flex-direction: column; gap: 12px; }
.price li { display: flex; align-items: flex-start; gap: 10px; font-size: .9rem; color: var(--t1); }
.price li i { color: var(--cyan); margin-top: 3px; }
.price-btn { display: block; text-align: center; text-decoration: none; padding: 14px; border-radius: 14px; font-weight: 700; font-size: .92rem; transition: all .3s var(--ease); }
.price-btn.ghost { background: rgba(255,255,255,.05); border: 1px solid var(--brd); color: #fff; }
.price-btn.ghost:hover { background: rgba(255,255,255,.1); border-color: var(--brd-2); }
.price-btn.solid { background: linear-gradient(135deg, var(--indigo), var(--fuchsia)); color: #fff; box-shadow: 0 10px 26px rgba(139,92,246,.4); }
.price-btn.solid:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(139,92,246,.55); }
.pricing-note { text-align: center; color: var(--t3); font-size: .82rem; margin-top: 20px; }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--panel); backdrop-filter: blur(12px); border: 1px solid var(--brd); border-radius: 16px; overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 600; font-size: .95rem; display: flex; align-items: center; gap: 12px; transition: background .2s; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { color: var(--fuchsia); font-size: .8rem; transition: transform .25s; }
.faq-item[open] summary i { transform: rotate(90deg); }
.faq-item summary:hover { background: rgba(255,255,255,.03); }
.faq-item p { padding: 0 22px 20px 46px; color: var(--t2); font-size: .9rem; }

/* CTA final */
.final-cta { text-align: center; background: var(--panel); backdrop-filter: blur(16px); border: 1px solid var(--brd); border-radius: 28px; padding: 60px 30px; position: relative; overflow: hidden; box-shadow: inset 0 1px 0 rgba(255,255,255,.06); }
.final-cta::before { content: ''; position: absolute; top: -40%; left: 50%; transform: translateX(-50%); width: 60%; height: 80%; background: radial-gradient(circle, rgba(217,70,239,.22), transparent 65%); filter: blur(50px); }
.final-cta h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 700; letter-spacing: -.02em; margin-bottom: 14px; position: relative; }
.final-cta p { color: var(--t2); margin-bottom: 28px; position: relative; }

/* Footer */
.footer { border-top: 1px solid var(--brd); margin-top: 40px; padding: 34px 0; text-align: center; color: var(--t3); font-size: .82rem; }

/* WhatsApp FAB */
.whatsapp-fab { position: fixed; bottom: 22px; right: 22px; z-index: 60; display: flex; align-items: center; gap: 9px; background: #25d366; color: #fff; text-decoration: none; padding: 12px 18px; border-radius: 999px; font-weight: 700; font-size: .88rem; box-shadow: 0 10px 30px rgba(37,211,102,.45); transition: transform .25s; }
.whatsapp-fab:hover { transform: translateY(-3px) scale(1.03); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* Responsivo */
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; gap: 50px; }
    .mock { order: -1; }
    .metrics { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr 1fr; }
    .nav-links { display: none; }
}
@media (max-width: 560px) {
    .features-grid { grid-template-columns: 1fr; }
    .pricing-cards { grid-template-columns: 1fr; }
    .price.featured { transform: none; }
    .hero { padding: 130px 0 60px; }
}

/* Marca Fenanza no nav */
.nav-logo-icon.brand-mark-box { background: #090b1f !important; box-shadow: none !important; width: auto; height: auto; padding: 5px 11px; border-radius: 10px; display: inline-flex; align-items: center; overflow: hidden; }
.nav-logo-icon .brand-mark { width: auto; height: 24px; object-fit: contain; display: block; }
