/* =========================================================================
   DNA para IA — Design System & Base Styles
   Task 2 (tokens, reset, base) + Task 3 (header + hero)
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. Design tokens
   ------------------------------------------------------------------------- */
:root {
  /* Surfaces */
  --bg: #06070d;
  --bg-soft: #0d0e16;
  --surface: #111119;

  /* Borders */
  --border: rgba(255, 255, 255, .07);
  --border-strong: rgba(255, 255, 255, .12);

  /* Text */
  --txt: #f5f6fa;
  --txt-dim: #9aa0ae;

  /* Accent */
  --accent: #8b5cff;
  --accent-2: #c44bff;
  --accent-soft: #a78bff;
  --grad: linear-gradient(100deg, var(--accent), var(--accent-2));

  /* Layout */
  --maxw: 1140px;
  --radius: 16px;
  --radius-sm: 10px;
  --ease: cubic-bezier(.22, 1, .36, 1);

  /* Typography */
  --font-head: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  /* Chrome */
  --header-h: 68px;
  --shadow-glow: 0 24px 70px -20px rgba(139, 92, 255, .55);
}

/* -------------------------------------------------------------------------
   2. Reset
   ------------------------------------------------------------------------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  background: var(--bg);
  color: var(--txt);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.02em;
}

a { color: inherit; text-decoration: none; }

img, svg { display: block; max-width: 100%; }

button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

ul { list-style: none; }

::selection { background: rgba(196, 75, 255, .35); color: #fff; }

/* Accessible focus ring */
:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 3px;
  border-radius: 6px;
}

/* -------------------------------------------------------------------------
   3. Utilities
   ------------------------------------------------------------------------- */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-soft);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-soft));
}

/* -------------------------------------------------------------------------
   4. Buttons (reused across all sections)
   ------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-head);
  font-size: .98rem;
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1;
  padding: 15px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease),
              background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.btn:active { transform: translateY(1px) scale(.99); }

/* Gradient fill — primary */
.btn-grad {
  color: #fff;
  background: var(--grad);
  box-shadow: 0 10px 30px -10px rgba(139, 92, 255, .6),
              inset 0 1px 0 rgba(255, 255, 255, .25);
  position: relative;
}
.btn-grad:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px -10px rgba(196, 75, 255, .7),
              inset 0 1px 0 rgba(255, 255, 255, .35);
}

/* Ghost / secondary */
.btn-ghost {
  color: var(--txt);
  background: rgba(255, 255, 255, .03);
  border-color: var(--border-strong);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, .07);
  border-color: var(--accent-soft);
  transform: translateY(-2px);
}

.btn-sm { padding: 11px 20px; font-size: .9rem; }
.btn-arrow { transition: transform .35s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* -------------------------------------------------------------------------
   5. Header (fixed)
   ------------------------------------------------------------------------- */
#header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(6, 7, 13, .72);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.22rem;
  letter-spacing: -.03em;
  color: var(--txt);
}
.logo .helix { width: 28px; height: 28px; color: var(--accent-soft); flex: none; }
.logo .helix .rung { stroke: var(--accent-2); }

/* Desktop nav */
.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  position: relative;
  font-size: .94rem;
  font-weight: 500;
  color: var(--txt-dim);
  padding: 8px 14px;
  border-radius: 8px;
  transition: color .25s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 1.5px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav-links a:hover { color: var(--txt); }
.nav-links a:hover::after { transform: scaleX(1); }

.header-cta { margin-left: 8px; }

/* Hamburger (mobile) */
#burger {
  display: none;
  width: 44px; height: 44px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .03);
}
#burger span {
  position: relative;
  display: block;
  width: 18px; height: 2px;
  background: var(--txt);
  border-radius: 2px;
}
#burger span::before,
#burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px; height: 2px;
  background: var(--txt);
  border-radius: 2px;
}
#burger span::before { top: -6px; }
#burger span::after { top: 6px; }

/* -------------------------------------------------------------------------
   6. Hero
   ------------------------------------------------------------------------- */
#hero {
  position: relative;
  padding: calc(var(--header-h) + 56px) 0 80px;
  overflow: hidden;
}

/* Layered ambient glows */
.hero-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-glow::before,
.hero-glow::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}
.hero-glow::before {
  top: -140px; left: -100px;
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(139, 92, 255, .42), transparent 68%);
}
.hero-glow::after {
  top: 60px; right: -120px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(196, 75, 255, .3), transparent 70%);
}

/* Faint dot grid texture */
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(ellipse 75% 60% at 50% 30%, #000 30%, transparent 78%);
  mask-image: radial-gradient(ellipse 75% 60% at 50% 30%, #000 30%, transparent 78%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 52px;
  align-items: center;
}

/* Hero copy */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, .03);
  font-size: .8rem;
  color: var(--txt-dim);
  margin-bottom: 24px;
}
.hero-badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 4px rgba(196, 75, 255, .18);
}
.hero-badge b { color: var(--txt); font-weight: 600; }

.hero h1 {
  font-size: clamp(2.15rem, 7.4vw, 3.7rem);
  font-weight: 700;
  margin-bottom: 22px;
  max-width: 16ch;
}

.hero-sub {
  font-size: clamp(1rem, 2.6vw, 1.16rem);
  color: var(--txt-dim);
  max-width: 50ch;
  margin-bottom: 32px;
}
.hero-sub b { color: var(--txt); font-weight: 600; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-trust {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .88rem;
  color: var(--txt-dim);
}
.hero-trust svg { width: 17px; height: 17px; color: var(--accent-soft); flex: none; }
.hero-trust b { color: var(--txt); font-weight: 600; }

/* -------------------------------------------------------------------------
   7. Hero — PDF mockup (pure CSS/SVG)
   ------------------------------------------------------------------------- */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 380px;
}

/* Glow halo behind the cover */
.hero-visual::before {
  content: "";
  position: absolute;
  width: 78%; height: 80%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 255, .55), transparent 65%);
  filter: blur(60px);
  z-index: 0;
}

.pdf-mock {
  position: relative;
  z-index: 1;
  width: min(320px, 78vw);
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  color: #fff;
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(196, 75, 255, .35), transparent 55%),
    linear-gradient(165deg, #1a1530, #0c0a18 70%);
  border: 1px solid rgba(167, 139, 255, .35);
  box-shadow: var(--shadow-glow),
              inset 0 1px 0 rgba(255, 255, 255, .12);
  transform: rotate(-4deg);
  animation: float 7s var(--ease) infinite;
  will-change: transform;
}

@keyframes float {
  0%, 100% { transform: rotate(-4deg) translateY(0); }
  50%      { transform: rotate(-4deg) translateY(-14px); }
}

/* PDF tag */
.pdf-tag {
  position: absolute;
  top: 16px; right: 16px;
  font-family: var(--font-head);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .12em;
  padding: 4px 9px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid var(--border-strong);
  color: var(--accent-soft);
}

.pdf-eyebrow {
  font-family: var(--font-head);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: auto;
}

/* Big helix motif in the centre of the cover */
.pdf-helix {
  width: 96px;
  height: 96px;
  margin: 14px 0 20px;
  color: var(--accent-soft);
}
.pdf-helix .rung { stroke: var(--accent-2); }

.pdf-title {
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.02em;
}
.pdf-title span { display: block; }
.pdf-sub {
  margin-top: 10px;
  font-size: .82rem;
  color: var(--txt-dim);
  line-height: 1.45;
}

.pdf-foot {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .7rem;
  color: var(--txt-dim);
}
.pdf-foot .chip {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--accent-soft);
}

/* Floating "specialist" pill near the mockup */
.pdf-float {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 12px;
  background: rgba(17, 17, 25, .9);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(8px);
  box-shadow: 0 14px 34px -14px rgba(0, 0, 0, .8);
  font-size: .8rem;
  font-weight: 500;
  color: var(--txt);
  animation: floatPill 6s var(--ease) infinite;
}
.pdf-float svg { width: 16px; height: 16px; color: var(--accent-2); }
.pdf-float--ai {
  bottom: -3%;
  left: -8%;
  animation-delay: -2s;
}
.pdf-float--xp {
  top: -3%;
  right: -8%;
}
@keyframes floatPill {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* -------------------------------------------------------------------------
   8. Section placeholders (later tasks fill these)
   ------------------------------------------------------------------------- */
main > section:not(#hero) {
  padding: 84px 0;
}

/* -------------------------------------------------------------------------
   9. Responsive
   ------------------------------------------------------------------------- */
@media (min-width: 720px) {
  .hero-actions { gap: 16px; }
}

@media (min-width: 940px) {
  :root { --header-h: 76px; }

  .hero-inner {
    grid-template-columns: 1.05fr .95fr;
    gap: 40px;
  }
  #hero { padding-top: calc(var(--header-h) + 70px); }
  .hero-visual { min-height: 480px; }
  .pdf-mock { width: min(340px, 34vw); }
}

/* Mobile: collapse nav behind hamburger */
@media (max-width: 859px) {
  .nav-links,
  .header-cta { display: none; }
  #burger { display: inline-flex; }
}

/* -------------------------------------------------------------------------
   10. Reduced motion
   ------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .pdf-mock { transform: rotate(-4deg); }
}

/* =========================================================================
   Task 4 + 5 — Section system, Problema, Solução, Como funciona
   ========================================================================= */

/* -------------------------------------------------------------------------
   11. Reusable section pattern (.section / .label / .section-head / card)
   ------------------------------------------------------------------------- */
.section { position: relative; }

/* alternate band for visual rhythm */
.section--alt { background: var(--bg-soft); }
.section--alt::before,
.section--alt::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: var(--border);
}
.section--alt::before { top: 0; }
.section--alt::after { bottom: 0; }

/* Small uppercase gradient label */
.label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-head);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 16px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.label::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--grad);
}

/* Centered section header */
.section-head {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(1.7rem, 5vw, 2.6rem);
  font-weight: 700;
}
.section-sub {
  margin-top: 18px;
  font-size: clamp(1rem, 2.4vw, 1.1rem);
  color: var(--txt-dim);
}
.section-sub b { color: var(--txt); font-weight: 600; }

/* Generic surface card */
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform .35s var(--ease), border-color .35s var(--ease),
              box-shadow .35s var(--ease), background .35s var(--ease);
}
.card:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
  box-shadow: 0 22px 50px -26px rgba(0, 0, 0, .85);
}

/* Card icon chip */
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 12px;
  margin-bottom: 18px;
  color: var(--accent-soft);
  background: rgba(139, 92, 255, .1);
  border: 1px solid rgba(167, 139, 255, .22);
  flex: none;
  transition: color .35s var(--ease), background .35s var(--ease);
}
.card-icon svg { width: 24px; height: 24px; }
.card:hover .card-icon { color: var(--accent-2); background: rgba(196, 75, 255, .14); }

/* Responsive auto-fit grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

/* -------------------------------------------------------------------------
   12. Problema
   ------------------------------------------------------------------------- */
.pain-card h3 {
  font-size: 1.12rem;
  margin-bottom: 8px;
}
.pain-card p {
  font-size: .94rem;
  color: var(--txt-dim);
}
/* gradient top-edge accent revealed on hover */
.pain-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--grad);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.pain-card:hover::before { opacity: 1; }

/* -------------------------------------------------------------------------
   13. Solução
   ------------------------------------------------------------------------- */
.solucao-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

/* Highlighted callout */
.callout {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  padding: 30px 28px;
  background:
    radial-gradient(130% 100% at 0% 0%, rgba(196, 75, 255, .16), transparent 55%),
    linear-gradient(165deg, #15112a, #0c0a18 75%);
  border: 1px solid rgba(167, 139, 255, .3);
  box-shadow: var(--shadow-glow);
}
.callout-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  color: var(--accent-soft);
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--border-strong);
  margin-bottom: 18px;
}
.callout-strike {
  font-family: var(--font-head);
  font-size: 1.02rem;
  color: var(--txt-dim);
  text-decoration: line-through;
  text-decoration-color: rgba(196, 75, 255, .6);
  margin-bottom: 10px;
}
.callout-line {
  font-family: var(--font-head);
  font-size: clamp(1.25rem, 3.4vw, 1.55rem);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -.01em;
}
.callout-bits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.callout-bits li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .85rem;
  color: var(--txt);
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--border);
}
.callout-bits li span { color: var(--accent-2); font-weight: 700; }

/* Differentiator stack */
.diff-list {
  display: grid;
  gap: 14px;
}
.diff-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 22px;
}
.diff-card .card-icon { margin-bottom: 0; }
.diff-card h3 { font-size: 1.08rem; margin-bottom: 5px; }
.diff-card p { font-size: .92rem; color: var(--txt-dim); }

/* -------------------------------------------------------------------------
   14. Como funciona — steps
   ------------------------------------------------------------------------- */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-bottom: 56px;
}
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.step:hover { transform: translateY(-5px); border-color: var(--border-strong); }

/* Gradient circle number badge */
.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
  background: var(--grad);
  box-shadow: 0 10px 26px -10px rgba(139, 92, 255, .7),
              inset 0 1px 0 rgba(255, 255, 255, .3);
  margin-bottom: 18px;
}
.step-icon {
  display: block;
  width: 26px; height: 26px;
  color: var(--accent-soft);
  margin-bottom: 14px;
}
.step-icon svg { width: 26px; height: 26px; }
.step h3 { font-size: 1.12rem; margin-bottom: 8px; }
.step p { font-size: .94rem; color: var(--txt-dim); }

/* -------------------------------------------------------------------------
   15. Como funciona — antes/depois
   ------------------------------------------------------------------------- */
.compare {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  background: var(--bg-soft);
}
.compare-q {
  text-align: center;
  font-size: .96rem;
  color: var(--txt-dim);
  margin-bottom: 22px;
}
.compare-q span { color: var(--accent-soft); margin-right: 6px; }
.compare-q b { color: var(--txt); font-weight: 600; }

.compare-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.chat {
  border-radius: var(--radius-sm);
  padding: 18px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.chat--dna {
  border-color: rgba(167, 139, 255, .35);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(196, 75, 255, .12), transparent 60%),
    var(--surface);
  box-shadow: 0 18px 44px -24px rgba(139, 92, 255, .55);
}
.chat-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--txt-dim);
  margin-bottom: 14px;
}
.chat--dna .chat-head { color: var(--txt); }
.chat-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--txt-dim);
  flex: none;
}
.chat--dna .chat-dot {
  background: var(--accent-2);
  box-shadow: 0 0 0 4px rgba(196, 75, 255, .18);
}
.bubble {
  font-size: .92rem;
  line-height: 1.55;
  padding: 14px 16px;
  border-radius: 12px;
}
.bubble--ai {
  color: var(--txt-dim);
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--border);
}
.bubble--dna {
  color: var(--txt);
  background: rgba(139, 92, 255, .1);
  border: 1px solid rgba(167, 139, 255, .25);
}

/* -------------------------------------------------------------------------
   16. Task 4 + 5 — Responsive
   ------------------------------------------------------------------------- */
@media (min-width: 720px) {
  .compare-grid { grid-template-columns: 1fr 1fr; }
  .compare { padding: 30px 28px; }
}

@media (min-width: 900px) {
  /* Solução: concept callout + differentiator list side by side */
  .solucao-layout {
    grid-template-columns: 1.05fr .95fr;
    gap: 24px;
    align-items: start;
  }

  /* Steps in a row with a connector line behind the badges */
  .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .steps::before {
    content: "";
    position: absolute;
    top: 52px;
    left: 16%; right: 16%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(167, 139, 255, .5), transparent);
    z-index: 0;
  }
  .step { z-index: 1; }
}

/* -------------------------------------------------------------------------
   17. Produtos — chips de filtro + grid de cards
   ------------------------------------------------------------------------- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 0 auto 38px;
  max-width: 820px;
}
.chip {
  font-family: var(--font-body);
  font-size: .88rem;
  font-weight: 600;
  color: var(--txt-dim);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 9px 18px;
  cursor: pointer;
  transition: color .2s var(--ease), border-color .2s var(--ease),
    background .2s var(--ease), transform .15s var(--ease);
}
.chip:hover {
  color: var(--txt);
  border-color: var(--border-strong);
  transform: translateY(-1px);
}
.chip.active {
  color: #0a0410;
  background: var(--grad);
  border-color: transparent;
  box-shadow: 0 8px 22px -10px rgba(139, 92, 255, .8);
}

.grid-produtos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(232px, 1fr));
  gap: 18px;
}
.card-prod {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  position: relative;
  overflow: hidden;
  transition: transform .25s var(--ease), border-color .25s var(--ease),
    box-shadow .25s var(--ease), opacity .25s var(--ease);
  animation: cardIn .35s var(--ease) both;
}
.card-prod::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--grad);
  opacity: 0;
  transition: opacity .25s var(--ease);
}
.card-prod:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
  box-shadow: 0 22px 50px -28px rgba(139, 92, 255, .65);
}
.card-prod:hover::before { opacity: 1; }

.card-prod-tag {
  align-self: flex-start;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--accent-soft);
  background: rgba(139, 92, 255, .12);
  border: 1px solid rgba(139, 92, 255, .22);
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 14px;
}
.card-prod h3 {
  font-family: var(--font-head);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 8px;
}
.card-prod .profs {
  font-size: .82rem;
  color: var(--txt-dim);
  line-height: 1.5;
  margin-bottom: 18px;
}
.card-prod .preco {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin-top: auto;
  margin-bottom: 16px;
}
.preco .de {
  font-size: .82rem;
  color: var(--txt-dim);
  text-decoration: line-through;
  text-decoration-color: rgba(154, 160, 174, .6);
}
.preco strong {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--txt);
}
.card-prod .btn { width: 100%; }

.hidden { display: none !important; }
.card-prod.clamped { display: none !important; }

/* "Ver mais" dos produtos */
.produtos-mais { display: flex; justify-content: center; margin-top: 28px; }
#ver-mais[hidden] { display: none; }
#ver-mais { min-width: 200px; }

/* Seta flutuante: volta para os planos (aparece só no catálogo) */
.fab-planos {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  box-shadow: 0 16px 38px -12px rgba(139, 92, 255, .75);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s var(--ease);
}
.fab-planos svg { width: 24px; height: 24px; }
.fab-planos:hover { transform: translateY(0) scale(1.07); }
.fab-planos.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
@media (max-width: 520px) {
  .fab-planos { right: 16px; bottom: 16px; width: 46px; height: 46px; }
  .fab-planos svg { width: 22px; height: 22px; }
}

@keyframes cardIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 520px) {
  .grid-produtos { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card-prod { padding: 18px 15px; }
  .card-prod h3 { font-size: 1rem; }
  .preco strong { font-size: 1.3rem; }
}
@media (max-width: 360px) {
  .grid-produtos { grid-template-columns: 1fr; }
}

/* -------------------------------------------------------------------------
   18. Benefícios — antes/depois + ganhos
   ------------------------------------------------------------------------- */
.ba-compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 18px;
  max-width: 920px;
  margin: 0 auto 44px;
}
.ba-col {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.ba-col--after {
  border-color: rgba(139, 92, 255, .4);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(139, 92, 255, .12), transparent 60%),
    var(--surface);
  box-shadow: 0 24px 60px -34px rgba(139, 92, 255, .7);
}
.ba-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.ba-head h3 { font-family: var(--font-head); font-size: 1.15rem; font-weight: 600; }
.ba-badge {
  align-self: flex-start;
  font-size: .72rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; padding: 5px 11px; border-radius: 999px;
}
.ba-badge--off { color: var(--txt-dim); background: rgba(154, 160, 174, .12); border: 1px solid var(--border); }
.ba-badge--on { color: #0a0410; background: var(--grad); }
.ba-list { list-style: none; display: flex; flex-direction: column; gap: 13px; }
.ba-list li { position: relative; padding-left: 28px; font-size: .92rem; color: var(--txt-dim); line-height: 1.45; }
.ba-list li::before {
  content: "✕"; position: absolute; left: 0; top: 0;
  color: #7c8089; font-weight: 700;
}
.ba-list--on li { color: #d6d9e2; }
.ba-list--on li::before { content: "✓"; color: var(--accent-soft); }
.ba-arrow {
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-soft); width: 40px;
}
.ba-arrow svg { width: 30px; height: 30px; }

.ganhos {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.ganhos li {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 18px 18px;
}
.ganhos svg { width: 26px; height: 26px; color: var(--accent-soft); flex-shrink: 0; margin-top: 2px; }
.ganhos b { display: block; font-family: var(--font-head); font-weight: 600; font-size: .98rem; margin-bottom: 3px; }
.ganhos span { font-size: .85rem; color: var(--txt-dim); line-height: 1.45; }

/* -------------------------------------------------------------------------
   19. Oferta — planos / pricing
   ------------------------------------------------------------------------- */
.planos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}
.plano {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  height: 100%;
}
.plano--destaque {
  border-color: transparent;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    var(--grad) border-box;
  box-shadow: 0 30px 80px -40px rgba(139, 92, 255, .8);
}
.plano-flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: #0a0410; background: var(--grad); padding: 6px 16px; border-radius: 999px;
  white-space: nowrap; box-shadow: 0 10px 24px -10px rgba(139, 92, 255, .9);
}
.plano-tag {
  font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent-soft); margin-bottom: 10px;
}
.plano-nome { font-family: var(--font-head); font-size: 1.18rem; font-weight: 600; line-height: 1.25; margin-bottom: 18px; }
.plano-preco { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin-bottom: 16px; }
.plano-preco .apartir { width: 100%; font-size: .78rem; color: var(--txt-dim); }
.plano-preco .moeda { font-family: var(--font-head); font-size: 1.1rem; font-weight: 600; color: var(--txt-dim); align-self: flex-start; margin-top: 6px; }
.plano-preco .valor { font-family: var(--font-head); font-size: 3rem; font-weight: 700; line-height: 1; }
.plano-preco .cent { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; }
.plano--destaque .plano-preco { gap: 2px 10px; }
.plano--destaque .plano-preco > div { display: flex; align-items: baseline; gap: 4px; }
.plano-preco .de-grande {
  width: 100%; font-size: .9rem; color: var(--txt-dim);
  text-decoration: line-through; text-decoration-color: rgba(154, 160, 174, .6);
}
.plano-preco .badge-off {
  font-size: .78rem; font-weight: 800; color: #0a0410;
  background: var(--grad); padding: 4px 9px; border-radius: 7px; align-self: center;
}
.plano-desc { font-size: .9rem; color: var(--txt-dim); line-height: 1.5; margin-bottom: 18px; }
.plano-feats { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-bottom: 24px; }
.plano-feats li { position: relative; padding-left: 26px; font-size: .9rem; line-height: 1.4; }
.plano-feats li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent-soft); font-weight: 700;
}
.plano-cta { margin-top: auto; width: 100%; }

/* Lista de combos dentro do plano "por nicho" */
.combos-list { list-style: none; display: flex; flex-direction: column; gap: 2px; margin-top: 4px; }
.combo-row {
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 10px;
  padding: 11px 0; border-bottom: 1px solid var(--border);
}
.combo-row:last-child { border-bottom: 0; }
.combo-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 0; padding: 0; margin: 0;
  font: inherit; color: inherit; text-align: left; cursor: pointer; min-width: 0;
}
.combo-toggle[disabled] { cursor: default; }
.combo-nome { font-size: .9rem; font-weight: 500; }
.combo-chevron { width: 15px; height: 15px; color: var(--txt-dim); flex: none; transition: transform .25s var(--ease); }
.combo-toggle[aria-expanded="true"] .combo-chevron { transform: rotate(180deg); }
.combo-areas-wrap {
  grid-column: 1 / -1;
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .28s var(--ease);
}
.combo-row.open .combo-areas-wrap { grid-template-rows: 1fr; }
.combo-areas { overflow: hidden; font-size: .72rem; color: var(--txt-dim); line-height: 1.45; padding-top: 6px; }
.combo-preco { display: flex; align-items: baseline; gap: 6px; }
.combo-preco .de { font-size: .72rem; color: var(--txt-dim); text-decoration: line-through; }
.combo-preco strong { font-family: var(--font-head); font-size: 1rem; font-weight: 700; }
.combo-link {
  font-size: .78rem; font-weight: 700; color: var(--accent-soft);
  border: 1px solid rgba(139, 92, 255, .35); border-radius: 8px; padding: 6px 12px;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.combo-link:hover { background: var(--grad); color: #0a0410; border-color: transparent; }

@media (max-width: 900px) {
  .planos { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .plano--destaque { order: -1; }
}
@media (max-width: 720px) {
  .ba-compare { grid-template-columns: 1fr; }
  .ba-arrow { transform: rotate(90deg); margin: 2px auto; }
}

/* -------------------------------------------------------------------------
   20. Garantia
   ------------------------------------------------------------------------- */
.garantia-card {
  display: flex; align-items: center; gap: 28px;
  max-width: 820px; margin: 0 auto;
  background:
    radial-gradient(120% 160% at 0% 0%, rgba(139, 92, 255, .14), transparent 55%),
    var(--surface);
  border: 1px solid rgba(139, 92, 255, .28);
  border-radius: var(--radius); padding: 34px 32px;
}
.garantia-shield {
  flex-shrink: 0; width: 84px; height: 84px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-soft);
  background: rgba(139, 92, 255, .1);
  border: 1px solid rgba(139, 92, 255, .3);
  border-radius: 20px;
}
.garantia-shield svg { width: 46px; height: 46px; }
.garantia-txt h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 6px 0 10px; }
.garantia-txt p { color: var(--txt-dim); line-height: 1.6; font-size: .96rem; }

/* -------------------------------------------------------------------------
   21. Prova social — faixa de confiança + depoimentos placeholder
   ------------------------------------------------------------------------- */
.trust-strip {
  list-style: none; display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 14px; text-align: center;
}
.trust-strip li {
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 22px 14px;
}
.trust-strip b { display: block; font-family: var(--font-head); font-size: 1.35rem; font-weight: 700; }
.trust-strip span { font-size: .82rem; color: var(--txt-dim); }

.depo-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px;
}
.depo {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px 22px;
}
.depo--placeholder { border-style: dashed; opacity: .7; }
.depo-stars { color: var(--accent-soft); letter-spacing: 3px; margin-bottom: 12px; font-size: .9rem; }
.depo p { font-size: .96rem; line-height: 1.55; margin-bottom: 18px; color: var(--txt); }
.depo footer { display: flex; align-items: center; gap: 12px; }
.depo-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(139, 92, 255, .35), rgba(196, 75, 255, .35));
  border: 1px solid var(--border);
}
.depo footer b { display: block; font-size: .9rem; }
.depo footer span span { font-size: .8rem; color: var(--txt-dim); }

/* -------------------------------------------------------------------------
   22. FAQ — acordeão
   ------------------------------------------------------------------------- */
.container--narrow { max-width: 760px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); overflow: hidden;
  transition: border-color .2s var(--ease);
}
.faq-item.open { border-color: rgba(139, 92, 255, .4); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: none; border: 0; cursor: pointer; text-align: left;
  padding: 19px 22px; color: var(--txt);
  font-family: var(--font-head); font-size: 1.02rem; font-weight: 600;
}
.faq-ico {
  position: relative; flex-shrink: 0; width: 18px; height: 18px;
}
.faq-ico::before, .faq-ico::after {
  content: ""; position: absolute; background: var(--accent-soft);
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.faq-ico::before { top: 8px; left: 0; width: 18px; height: 2px; }
.faq-ico::after { left: 8px; top: 0; width: 2px; height: 18px; }
.faq-item.open .faq-ico::after { transform: scaleY(0); opacity: 0; }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .3s var(--ease);
}
.faq-item.open .faq-a { max-height: 300px; }
.faq-a p { padding: 0 22px 20px; color: var(--txt-dim); line-height: 1.6; font-size: .94rem; }

/* -------------------------------------------------------------------------
   23. CTA final
   ------------------------------------------------------------------------- */
.cta-final-card {
  position: relative; overflow: hidden; text-align: center;
  max-width: 880px; margin: 0 auto;
  background:
    radial-gradient(120% 130% at 50% 0%, rgba(139, 92, 255, .2), transparent 60%),
    var(--surface);
  border: 1px solid rgba(139, 92, 255, .3);
  border-radius: 24px; padding: 56px 32px;
}
.cta-final-glow {
  position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 75, 255, .25), transparent 70%);
  top: -180px; left: 50%; transform: translateX(-50%); filter: blur(30px); z-index: 0;
}
.cta-final-card > * { position: relative; z-index: 1; }
.cta-final-card h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); margin: 10px 0 14px; }
.cta-final-card p { color: var(--txt-dim); max-width: 540px; margin: 0 auto 28px; line-height: 1.6; }
.cta-final-actions { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; }
.cta-final-guar { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--txt-dim); }
.cta-final-guar svg { width: 20px; height: 20px; color: var(--accent-soft); }

/* -------------------------------------------------------------------------
   24. Footer
   ------------------------------------------------------------------------- */
#footer { border-top: 1px solid var(--border); margin-top: 30px; padding: 50px 0 30px; }
.footer-inner {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; align-items: start;
  padding-bottom: 34px; border-bottom: 1px solid var(--border);
}
.footer-brand .logo { margin-bottom: 14px; }
.footer-tag { color: var(--txt-dim); font-size: .9rem; line-height: 1.5; max-width: 320px; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { color: var(--txt-dim); font-size: .92rem; transition: color .2s var(--ease); }
.footer-nav a:hover { color: var(--txt); }
.footer-contact { display: flex; flex-direction: column; gap: 6px; }
.footer-contact > span { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--txt-dim); }
.footer-contact a { color: var(--accent-soft); font-size: .92rem; }
.footer-base {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  padding-top: 22px; color: var(--txt-dim); font-size: .82rem;
}

@media (max-width: 760px) {
  .trust-strip { grid-template-columns: 1fr 1fr; }
  .garantia-card { flex-direction: column; text-align: center; padding: 30px 22px; }
  .footer-inner { grid-template-columns: 1fr; gap: 26px; }
}

/* -------------------------------------------------------------------------
   25. Animações de reveal no scroll
   ------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
[data-reveal].in {
  opacity: 1;
  transform: none;
}

/* -------------------------------------------------------------------------
   26. Header scrolled + menu mobile aberto
   ------------------------------------------------------------------------- */
#header { transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease); }
#header.scrolled {
  background: rgba(6, 7, 13, .92);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .9);
  border-bottom-color: var(--border-strong);
}
#burger span,
#burger span::before,
#burger span::after { transition: transform .25s var(--ease), opacity .2s var(--ease); }
#header.nav-open #burger span { background: transparent; }
#header.nav-open #burger span::before { top: 0; transform: rotate(45deg); }
#header.nav-open #burger span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 859px) {
  /* Painel do menu mobile */
  #header.nav-open .nav {
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 16px 22px 22px;
    background: rgba(6, 7, 13, .98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .9);
  }
  #header.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }
  #header.nav-open .nav-links a { padding: 12px 6px; font-size: 1rem; }
  #header.nav-open .nav-links a::after { display: none; }
  #header.nav-open .header-cta {
    display: inline-flex;
    margin: 8px 0 0;
    justify-content: center;
  }
  /* O burger fica fixo no canto enquanto o painel abre abaixo */
  #header.nav-open #burger { position: relative; z-index: 2; }
}

/* -------------------------------------------------------------------------
   27. Ajustes finos responsivos
   ------------------------------------------------------------------------- */
.hero-trust { flex-wrap: wrap; }
@media (max-width: 480px) {
  .hero-trust { font-size: .82rem; }
  .cta-final-actions { flex-direction: column; gap: 14px; }
  .footer-base { flex-direction: column; }
}

/* Foco visível consistente em elementos interativos */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Reduced motion: revela tudo imediatamente */
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
