/* PHP do Zero — landing page. Sem dependências externas. */
:root {
  --bg: #060b18;
  --bg-2: #0a1226;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(120, 170, 255, 0.16);
  --text: #e8eefc;
  --muted: #a3b1cf;
  --cyan: #38d5ff;
  --blue: #4f8cff;
  --violet: #8b6bff;
  --cta: #ff4d3d;
  --cta-2: #ff8a2a;
  --ok: #3ddc97;
  --radius: 20px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
svg.i { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; width: 1.2em; height: 1.2em; flex: none; }
.final-cta .lead { margin: 0 auto 28px; }
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .6em; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1120px, 100% - 40px); margin-inline: auto; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--cyan); color: #00131c; padding: 10px 16px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 12px; text-decoration: none; }

/* Fundo animado sutil */
.bg-grid {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 500px at 80% -5%, rgba(79, 140, 255, 0.22), transparent 60%),
    radial-gradient(700px 500px at -5% 30%, rgba(56, 213, 255, 0.12), transparent 60%),
    radial-gradient(800px 600px at 60% 110%, rgba(139, 107, 255, 0.15), transparent 60%),
    linear-gradient(var(--bg), var(--bg-2));
}
.bg-grid::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(120, 170, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 170, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 20%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 20%, #000 20%, transparent 75%);
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(6, 11, 24, 0.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 1.1rem; }
.brand:hover { text-decoration: none; }
.brand-mark {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), var(--violet)); font-family: var(--mono); font-size: .8rem; color: #fff;
}
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--muted); font-weight: 600; font-size: .95rem; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-toggle {
  display: none; background: var(--surface-2); border: 1px solid var(--border); color: var(--text);
  width: 44px; height: 44px; border-radius: 12px; cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; margin: auto; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border-radius: 14px; border: 0; cursor: pointer;
  font: 800 1rem var(--font); color: #fff; text-decoration: none;
  background: linear-gradient(135deg, var(--cta), var(--cta-2));
  box-shadow: 0 10px 30px rgba(255, 77, 61, 0.38);
  transition: transform .2s, box-shadow .2s, filter .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 38px rgba(255, 77, 61, 0.5); text-decoration: none; filter: brightness(1.06); }
.btn svg { width: 20px; height: 20px; }
.btn-sm { padding: 10px 18px; font-size: .9rem; border-radius: 12px; }
.btn-lg { padding: 18px 38px; font-size: 1.15rem; }
.btn-ghost {
  background: var(--surface-2); border: 1px solid var(--border); box-shadow: none; color: var(--text);
}
.btn-ghost:hover { box-shadow: none; background: rgba(255, 255, 255, 0.12); }

/* Hero */
.hero { padding: 72px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: rgba(56, 213, 255, .1); border: 1px solid rgba(56, 213, 255, .3);
  color: var(--cyan); font-size: .82rem; font-weight: 700; margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.7rem); font-weight: 900; }
.grad {
  background: linear-gradient(90deg, var(--cyan), var(--blue) 50%, var(--violet));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 56ch; }
.lead strong { color: var(--text); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 28px 0 22px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: .9rem; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; color: var(--ok); flex: none; }

.hero-visual { position: relative; justify-self: center; width: min(420px, 100%); }
.hero-visual::before {
  content: ""; position: absolute; inset: -12%; z-index: -1; border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 213, 255, .35), rgba(79, 140, 255, .12) 50%, transparent 70%);
  filter: blur(30px);
}
.cover {
  border-radius: 28px; border: 1px solid var(--border); box-shadow: var(--shadow), 0 0 80px rgba(56, 213, 255, .18);
  animation: float 6s ease-in-out infinite;
}
.price-tag {
  position: absolute; right: -10px; bottom: 24px; padding: 10px 18px; border-radius: 14px;
  background: linear-gradient(135deg, var(--cta), var(--cta-2)); font-weight: 900; transform: rotate(-4deg);
  box-shadow: 0 12px 30px rgba(255, 77, 61, .45); text-align: center; line-height: 1.1;
}
.price-tag small { display: block; font-size: .7rem; font-weight: 700; opacity: .9; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Barra de destaques */
.stats { padding: 8px 0 24px; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; overflow: hidden;
  background: var(--border); border: 1px solid var(--border); border-radius: var(--radius);
}
.stat { background: rgba(10, 18, 38, .9); padding: 22px 16px; text-align: center; }
.stat b { display: block; font-size: 1.7rem; font-weight: 900; color: var(--cyan); }
.stat span { color: var(--muted); font-size: .9rem; }

/* Seções */
section { padding: 80px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.kicker { color: var(--cyan); font-weight: 800; font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 12px; display: block; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  position: relative; padding: 28px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: transform .25s, border-color .25s, background .25s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(56, 213, 255, .5); background: var(--surface-2); }
.card .ico {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(79, 140, 255, .25), rgba(139, 107, 255, .25)); border: 1px solid var(--border); color: var(--cyan);
}
.card .ico svg { width: 26px; height: 26px; }
.card .num { position: absolute; top: 22px; right: 26px; font-family: var(--mono); color: rgba(255, 255, 255, .18); font-weight: 700; }
.card h3 { font-size: 1.15rem; margin-bottom: .4em; }
.card p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { border-radius: 28px; border: 1px solid var(--border); box-shadow: var(--shadow); aspect-ratio: 1; object-fit: cover; width: 100%; }
.split-media::after {
  content: ""; position: absolute; inset: 14px -14px -14px 14px; z-index: -1; border-radius: 28px;
  background: linear-gradient(135deg, rgba(56, 213, 255, .3), rgba(139, 107, 255, .3)); filter: blur(2px);
}
.split h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); font-weight: 800; }
.checks { display: grid; gap: 14px; margin-top: 22px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; color: var(--muted); }
.checks li strong { color: var(--text); }
.checks svg { width: 24px; height: 24px; flex: none; color: var(--ok); margin-top: 2px; }

/* Oferta */
.offer-box {
  position: relative; max-width: 760px; margin: 0 auto; padding: 48px 40px; text-align: center;
  border-radius: 28px; background: linear-gradient(160deg, rgba(79, 140, 255, .16), rgba(139, 107, 255, .1));
  border: 1px solid rgba(56, 213, 255, .35); box-shadow: var(--shadow), 0 0 100px rgba(79, 140, 255, .18);
}
.offer-box h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); font-weight: 900; }
.offer-list { display: inline-grid; gap: 10px; text-align: left; margin: 18px 0 26px; }
.offer-list li { display: flex; gap: 12px; align-items: center; }
.offer-list svg { width: 22px; height: 22px; color: var(--ok); flex: none; }
.price { font-size: clamp(3rem, 8vw, 4.6rem); font-weight: 900; line-height: 1; margin-bottom: 6px; }
.price small { font-size: 1.2rem; font-weight: 700; color: var(--muted); margin-right: 6px; }
.price-note { color: var(--muted); font-size: .9rem; margin: 14px 0 0; }
.badge-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.badge { padding: 6px 14px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); font-size: .8rem; color: var(--muted); font-weight: 600; }

/* Autor */
.author { display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: center; max-width: 920px; margin: 0 auto; }
.author img { border-radius: 28px; border: 1px solid var(--border); box-shadow: var(--shadow); width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center 25%; }
.author blockquote {
  margin: 20px 0 0; padding: 16px 20px; border-left: 3px solid var(--cyan); background: var(--surface);
  border-radius: 0 14px 14px 0; font-style: italic; color: var(--text);
}
.author p { color: var(--muted); }

/* FAQ */
.faq { max-width: 800px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--border); border-radius: 16px; background: var(--surface); overflow: hidden; }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; text-align: left;
  background: none; border: 0; color: var(--text); font: 700 1.05rem var(--font); padding: 20px 22px; cursor: pointer;
}
.faq-q svg { width: 20px; height: 20px; flex: none; transition: transform .25s; color: var(--cyan); }
.faq-q[aria-expanded="true"] svg { transform: rotate(45deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 22px 20px; margin: 0; color: var(--muted); }
.faq-q[aria-expanded="true"] + .faq-a { grid-template-rows: 1fr; }

/* CTA final */
.final-cta { text-align: center; }
.final-cta h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 900; }

/* Rodapé */
.site-footer { border-top: 1px solid var(--border); background: rgba(4, 8, 18, .8); padding: 48px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 36px; }
.site-footer h3 { font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--text); }
.site-footer p { color: var(--muted); font-size: .92rem; }
.link-btn { background: none; border: 0; padding: 0; color: var(--text); font: inherit; cursor: pointer; text-decoration: underline; }
.socials { display: flex; gap: 10px; }
.socials a {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text); transition: .2s;
}
.socials a:hover { background: var(--blue); transform: translateY(-3px); text-decoration: none; }
.socials svg { width: 20px; height: 20px; }
.copy { border-top: 1px solid var(--border); padding: 20px 0; text-align: center; color: var(--muted); font-size: .85rem; }

/* Banner de cookies (LGPD) */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 300; max-width: 760px; margin-inline: auto;
  background: rgba(10, 18, 38, .96); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(56, 213, 255, .35); border-radius: 18px; padding: 20px 22px; box-shadow: var(--shadow);
  display: none;
}
.cookie-banner.show { display: block; animation: rise .4s ease; }
.cookie-banner h2 { font-size: 1.05rem; margin-bottom: .3em; }
.cookie-banner p { color: var(--muted); font-size: .9rem; margin-bottom: 14px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* Animações de entrada */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s; }
.js .reveal.in { opacity: 1; transform: none; }

/* Páginas legais */
.legal { padding: 56px 0 80px; max-width: 820px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 900; }
.legal h2 { font-size: 1.4rem; margin-top: 2em; color: var(--cyan); }
.legal p, .legal li { color: #c6d1ea; }
.legal ul { list-style: disc; padding-left: 1.4em; margin-bottom: 1em; }
.legal li { margin-bottom: .4em; }
.legal table { width: 100%; border-collapse: collapse; margin: 1em 0 1.5em; font-size: .92rem; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border: 1px solid var(--border); vertical-align: top; }
.legal th { background: var(--surface-2); }
.updated { color: var(--muted); font-size: .9rem; }
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 40px 20px; }
.notfound h1 { font-size: clamp(4rem, 14vw, 8rem); margin: 0; }

/* Responsivo */
@media (max-width: 960px) {
  .hero-grid, .split, .author { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse .split-media { order: 0; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; }
  .hero-visual { order: -1; width: min(300px, 80%); }
  .author img { max-width: 320px; margin-inline: auto; }
  .split-media { max-width: 480px; margin-inline: auto; width: 100%; }
}
@media (max-width: 760px) {
  .nav-toggle { display: grid; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(6, 11, 24, .98); border-bottom: 1px solid var(--border); padding: 8px 20px 20px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--border); }
  .nav-links .btn { margin-top: 14px; border: 0; }
}
@media (max-width: 600px) {
  .cards { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
  .offer-box { padding: 36px 22px; }
  .btn-lg { width: 100%; }
  .hero-cta .btn { width: 100%; }
  .cookie-actions .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
