/* CARVIX — landing page. Sem frameworks; fontes do sistema (nada é pedido a terceiros: bom para a LGPD e para a velocidade). */
:root {
  --blue: #1d6fd8;
  --blue-dark: #0a2e73;
  --cyan: #12b5cb;
  --ink: #0f1b33;
  --ink-2: #44526b;
  --ink-3: #6b7a92;
  --line: #e3e9f2;
  --bg: #ffffff;
  --bg-soft: #f4f7fc;
  --card: #ffffff;
  --ok: #14663a;
  --warn-bg: #fff0cc;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(15, 27, 51, 0.1);
  --shadow-lg: 0 30px 70px rgba(10, 46, 115, 0.25);
  --grad: linear-gradient(135deg, #1d6fd8 0%, #12b5cb 100%);
  --grad-hero: linear-gradient(135deg, #0a2e73 0%, #1d6fd8 55%, #12b5cb 100%);
  --max: 1160px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, video, svg { max-width: 100%; display: block; }
img, video { height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.7rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.center { text-align: center; }
.muted { color: var(--ink-2); }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 700 1rem/1 var(--font); padding: 16px 26px; border-radius: 14px; border: 2px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; text-decoration: none !important; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px rgba(29, 111, 216, .35); }
.btn-primary:hover { box-shadow: 0 14px 30px rgba(29, 111, 216, .45); }
.btn-ghost { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn-ghost:hover { background: rgba(255, 255, 255, .24); }
.btn-outline { background: #fff; color: var(--blue); border-color: var(--blue); }
.btn-white { background: #fff; color: var(--blue-dark); }
.btn-wa { background: #25d366; color: #063b1c; }
.btn-lg { padding: 18px 32px; font-size: 1.08rem; }
.btn-sm { padding: 11px 18px; font-size: .92rem; border-radius: 12px; }

/* topo */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 18px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; color: var(--ink); letter-spacing: .02em; text-decoration: none !important; }
.logo svg { width: 38px; height: 38px; }
.nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav ul a { color: var(--ink-2); font-weight: 600; font-size: .95rem; }
.nav ul a:hover { color: var(--blue); text-decoration: none; }
.nav .actions { display: flex; align-items: center; gap: 12px; }
.nav .login { font-weight: 700; color: var(--ink); }
.menu-btn { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--ink); }

/* hero */
.hero { background: var(--grad-hero); color: #fff; position: relative; overflow: hidden; padding: 70px 0 0; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .07); }
.hero::before { width: 620px; height: 620px; right: -160px; top: -200px; }
.hero::after { width: 380px; height: 380px; left: -120px; bottom: 60px; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero h1 span { background: linear-gradient(90deg, #fff, #b8f1f8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 1.2rem; color: rgba(255, 255, 255, .88); max-width: 560px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 18px; }
.hero .fine { font-size: .92rem; color: rgba(255, 255, 255, .8); display: flex; flex-wrap: wrap; gap: 8px 20px; }
.hero .fine span::before { content: "✓"; margin-right: 6px; font-weight: 800; color: #8cf0c0; }
.hero-art { position: relative; padding-bottom: 0; align-self: end; }
.browser { background: #fff; border-radius: 16px 16px 0 0; box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid rgba(255, 255, 255, .35); }
.browser .bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #e9eef6; }
.browser .bar i { width: 11px; height: 11px; border-radius: 50%; background: #c3cddc; }
.browser .bar b { margin-left: 10px; font-size: .75rem; font-weight: 600; color: var(--ink-3); background: #fff; border-radius: 8px; padding: 3px 12px; }
.browser img, .browser video { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.phone { position: absolute; right: -10px; bottom: -4px; width: 30%; min-width: 120px; background: #0c1730; border-radius: 28px; padding: 7px; box-shadow: var(--shadow-lg); transform: rotate(3deg); }
.phone img { border-radius: 22px; width: 100%; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; }

/* faixas e seções */
section { padding: 88px 0; }
section.soft { background: var(--bg-soft); }
.sec-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.sec-head p { font-size: 1.12rem; color: var(--ink-2); }
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: 0 2px 8px rgba(15, 27, 51, .04); transition: transform .18s, box-shadow .18s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ico { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; font-size: 1.5rem; background: #e6f0ff; margin-bottom: 14px; }
.card h3 { margin-bottom: 6px; }
.card p { color: var(--ink-2); margin: 0; font-size: .98rem; }

/* problemas */
.pain .card { border-left: 5px solid #ff8a65; }
.pain .ico { background: #ffece4; }

/* passos */
.steps { counter-reset: s; }
.step { position: relative; padding-top: 6px; }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800; font-size: 1.2rem; margin-bottom: 14px; box-shadow: 0 8px 20px rgba(29, 111, 216, .35); }

/* recursos em vídeo */
.showcase { display: grid; grid-template-columns: 330px 1fr; gap: 34px; align-items: start; }
.tabs { display: flex; flex-direction: column; gap: 10px; }
.tab { text-align: left; background: #fff; border: 2px solid var(--line); border-radius: 16px; padding: 16px 18px; cursor: pointer; font: inherit; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.tab strong { display: block; font-size: 1.02rem; margin-bottom: 2px; }
.tab span { font-size: .9rem; color: var(--ink-2); }
.tab[aria-selected="true"] { border-color: var(--blue); box-shadow: 0 8px 22px rgba(29, 111, 216, .18); background: #f3f8ff; }
.stage .browser { border-radius: 16px; }
.stage .browser video { aspect-ratio: 16 / 9; object-position: center; background: #0b1730; }
.stage ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 22px; }
.stage li { padding-left: 26px; position: relative; font-size: .97rem; color: var(--ink-2); }
.stage li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 800; }
.panel[hidden] { display: none; }

/* lista completa */
.feat h3 { display: flex; align-items: center; gap: 10px; font-size: 1.08rem; }
.feat h3 .ico { width: 40px; height: 40px; margin: 0; font-size: 1.2rem; border-radius: 11px; }
.feat ul { margin: 12px 0 0; padding: 0; list-style: none; }
.feat li { padding: 5px 0 5px 24px; position: relative; font-size: .96rem; color: var(--ink-2); }
.feat li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 800; }
.feat li.new::after { content: "novo"; margin-left: 8px; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: #0a5c6b; background: #d6f6fb; border-radius: 20px; padding: 2px 8px; }

/* galeria */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.shot { margin: 0; }
.shot .browser { border-radius: 14px; box-shadow: var(--shadow); border-color: var(--line); }
.shot img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.shot figcaption { margin-top: 10px; font-weight: 700; font-size: .98rem; }
.shot figcaption span { display: block; font-weight: 400; color: var(--ink-2); font-size: .9rem; }

/* planos */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 22px; align-items: stretch; }
.plan { background: #fff; border: 2px solid var(--line); border-radius: 22px; padding: 30px; display: flex; flex-direction: column; position: relative; }
.plan.pop { border-color: var(--blue); box-shadow: var(--shadow); }
.plan.pop::before { content: "Mais escolhido"; position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 5px 14px; border-radius: 20px; }
.plan h3 { font-size: 1.35rem; }
.plan .price { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; margin: 8px 0 0; }
.plan .price small { font-size: 1rem; font-weight: 600; color: var(--ink-3); }
.plan .desc { color: var(--ink-2); min-height: 2.6em; }
.plan ul { list-style: none; margin: 14px 0 22px; padding: 0; flex: 1; }
.plan li { padding: 5px 0 5px 24px; position: relative; font-size: .95rem; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 800; }
.plan .mods { font-size: .85rem; color: var(--ink-3); margin: 0 0 18px; }
.plans-note { text-align: center; margin-top: 26px; color: var(--ink-2); font-size: .95rem; }
.plans-fallback { text-align: center; background: #fff; border: 2px dashed var(--line); border-radius: 20px; padding: 34px; }

/* faq */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; padding: 4px 22px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--blue); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-2); padding-bottom: 14px; margin: 0; }

/* chamada final */
.final { background: var(--grad-hero); color: #fff; text-align: center; position: relative; overflow: hidden; }
.final::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: rgba(255, 255, 255, .07); left: -140px; top: -180px; }
.final .wrap { position: relative; }
.final p { color: rgba(255, 255, 255, .88); font-size: 1.15rem; max-width: 640px; margin-inline: auto; }
.final .cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }

/* rodapé */
footer { background: #091226; color: #b7c3d9; padding: 54px 0 30px; font-size: .95rem; }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
footer h4 { color: #fff; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 14px; }
footer a { color: #b7c3d9; }
footer a:hover { color: #fff; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
footer .logo { color: #fff; margin-bottom: 12px; }
footer .copy { border-top: 1px solid #1d2a47; margin-top: 36px; padding-top: 22px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .88rem; }

/* botão flutuante do whatsapp */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: none; place-items: center; box-shadow: 0 10px 26px rgba(0, 0, 0, .3); }
.wa-float.on { display: grid; }
.wa-float svg { width: 32px; height: 32px; fill: #fff; }

/* páginas legais */
.legal { max-width: 820px; margin: 0 auto; padding: 56px 0 90px; }
.legal h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.legal h2 { font-size: 1.35rem; margin-top: 2em; }
.legal h3 { font-size: 1.05rem; margin-top: 1.4em; }
.legal li { margin-bottom: .4em; }
.legal .meta { color: var(--ink-3); font-size: .92rem; margin-bottom: 28px; }
.legal table { border-collapse: collapse; width: 100%; margin: 14px 0 22px; font-size: .94rem; }
.legal th, .legal td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.legal th { background: var(--bg-soft); }
.todo { background: #ffe58a; border-radius: 4px; padding: 0 4px; font-weight: 700; color: #5a4300; }
.review-banner { background: #fff3c4; border-bottom: 3px solid #f0b400; color: #5a4300; text-align: center; padding: 12px 20px; font-weight: 700; font-size: .95rem; }
.toc { background: var(--bg-soft); border-radius: 14px; padding: 18px 24px; margin-bottom: 30px; }
.toc ol { margin: 8px 0 0; padding-left: 20px; columns: 2; }

/* animação de entrada */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* responsivo */
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { max-width: 560px; margin: 10px auto 0; }
  .showcase { grid-template-columns: 1fr; }
  .tabs { flex-direction: row; overflow-x: auto; padding-bottom: 6px; }
  .tab { min-width: 220px; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .shots { grid-template-columns: repeat(2, 1fr); }
  footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  section { padding: 62px 0; }
  .nav ul { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; background: #fff; padding: 18px 24px; border-bottom: 1px solid var(--line); gap: 16px; }
  .nav ul.open { display: flex; }
  .menu-btn { display: block; }
  .nav .login { display: none; }
  .g2, .g3, .g4, .shots { grid-template-columns: 1fr; }
  .stage ul { grid-template-columns: 1fr; }
  .phone { width: 34%; right: -4px; }
  footer .cols { grid-template-columns: 1fr; }
  .toc ol { columns: 1; }
  .hero .cta .btn { width: 100%; }
}
