:root {
  /* Full dark theme — the whole site, not just the hero. Same hue family
     as the app's own dark-mode tokens (src/index.css), pushed further:
     near-black navy background, glass cards, a blue→violet gradient
     reserved for the one or two moments that should pop. */
  --color-primary: oklch(70% .13 246);
  --color-primary-dark: oklch(80% .1 246);
  --color-primary-soft: oklch(75% .12 246);
  --color-primary-tint: oklch(28% .05 246);

  --color-accent: oklch(75% .15 300);
  --color-cta: oklch(70% .19 40);
  --color-cta-dark: oklch(76% .19 40);

  --gradient-brand: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);

  --color-bg: oklch(15% .02 250);
  --color-bg-alt: oklch(17.5% .022 250);
  --color-surface: oklch(20% .025 250);
  --color-surface-raised: oklch(23% .026 250);
  --color-border: oklch(100% 0 0 / 0.09);
  --color-border-strong: oklch(100% 0 0 / 0.16);

  --color-text: oklch(96% .006 245);
  --color-text-secondary: oklch(78% .015 245);
  --color-text-muted: oklch(58% .02 250);

  --color-danger-bg: oklch(30% .06 22);
  --color-danger-text: oklch(78% .16 22);
  --color-success-bg: oklch(28% .05 158);
  --color-success-text: oklch(75% .14 158);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 20px 60px -15px oklch(70% .13 246 / 0.35);
  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 1rem;

  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { background: var(--color-bg); }

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
}

/* Ambient glow blobs — one signature move, reused as a bookend at the
   top of the page and again above the final CTA. Purely decorative,
   aria-hidden, static position (drift only when motion is allowed). */
.glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}

.glow-blob.blue {
  width: 420px;
  height: 420px;
  background: oklch(55% .16 246 / 0.35);
  animation: drift-a 22s ease-in-out infinite alternate;
}

.glow-blob.violet {
  width: 360px;
  height: 360px;
  background: oklch(60% .17 300 / 0.28);
  animation: drift-b 26s ease-in-out infinite alternate;
}

@keyframes drift-a {
  0% { transform: translate(0, 0); }
  100% { transform: translate(40px, 30px); }
}

@keyframes drift-b {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-30px, -40px); }
}

@media (prefers-reduced-motion: reduce) {
  .glow-blob { animation: none; }
}

header.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  max-width: 1120px;
  margin: 0 auto;
  position: sticky;
  top: 0;
  z-index: 40;
  background: oklch(15% .02 250 / 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

header.site-header .logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-text);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav a:not(.btn) {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 150ms ease-in-out;
}

.site-nav a:not(.btn):hover { color: var(--color-text); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  transition: transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 180ms ease-in-out, background 150ms ease-in-out, border-color 150ms ease-in-out;
}

.btn-primary {
  background: var(--color-cta);
  color: #fff;
  box-shadow: 0 8px 24px -8px oklch(70% .19 40 / 0.6);
}

.btn-primary:hover {
  background: var(--color-cta-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -8px oklch(70% .19 40 / 0.7);
}

.btn-outline {
  background: oklch(100% 0 0 / 0.04);
  color: var(--color-text);
  border: 1px solid var(--color-border-strong);
}

.btn-outline:hover {
  border-color: var(--color-primary);
  background: oklch(100% 0 0 / 0.07);
}

section {
  padding: 5.5rem 0;
  position: relative;
}

section:nth-of-type(even) {
  background: var(--color-bg-alt);
}

/* ---- Hero ---- */

section.hero {
  padding: 6.5rem 0 5.5rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
  text-align: left;
  z-index: 1;
}

/* Grid items default to a content-based automatic minimum width, so any
   nowrap/pre text inside (SKU names, the formula strings below) would
   otherwise force the whole grid — and the page — wider than the
   viewport instead of wrapping or scrolling internally. */
.hero-grid > *, .method-grid > *, .split > * {
  min-width: 0;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1.25rem;
  padding: 5px 12px;
  border: 1px solid var(--color-border-strong);
  border-radius: 999px;
  background: oklch(100% 0 0 / 0.03);
}

.hero-text {
  animation: rise-in 700ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero-text h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.4rem, 5.4vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
  text-align: left;
  color: var(--color-text);
}

.hero-text h1 .highlight {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-text p.subtitle {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--color-text-secondary);
  max-width: 480px;
  margin: 0 0 2.25rem;
  text-align: left;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.hero-cta-note {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-text, .stock-monitor-wrap { animation: none !important; }
}

/* Stock monitor — the signature element, floating slightly off-axis with
   a colored glow underneath instead of sitting flush in a plain box. */

.stock-monitor-wrap {
  position: relative;
  animation: rise-in 700ms 120ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.stock-monitor-wrap::before {
  content: "";
  position: absolute;
  inset: 6% 8%;
  background: var(--gradient-brand);
  filter: blur(50px);
  opacity: 0.35;
  z-index: 0;
  border-radius: var(--radius-lg);
}

.stock-monitor {
  position: relative;
  z-index: 1;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  background: linear-gradient(180deg, oklch(26% .03 250 / 0.8), oklch(20% .026 250 / 0.8));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-glow);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  transform: rotate(-1.5deg);
  transition: transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.stock-monitor:hover {
  transform: rotate(0deg) translateY(-4px);
}

.stock-monitor-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-border);
}

.stock-monitor-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-success-text);
  text-transform: none;
  letter-spacing: normal;
  font-weight: 600;
}

.stock-monitor-live .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  position: relative;
}

.stock-monitor-live .dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: currentColor;
  animation: pulse-ring 1.8s ease-out infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(2.6); opacity: 0; }
}

.stock-row { display: flex; flex-direction: column; gap: 6px; }

.stock-row-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  min-width: 0;
}

.stock-sku {
  flex: 1;
  min-width: 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stock-eta {
  font-size: 0.75rem;
  font-weight: 600;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.stock-eta.r1 { color: oklch(75% .18 22); }
.stock-eta.r2 { color: oklch(82% .15 76); }
.stock-eta.r3 { color: oklch(75% .14 158); }

.stock-track {
  height: 6px;
  border-radius: 999px;
  background: oklch(100% 0 0 / 0.08);
  overflow: hidden;
}

.stock-fill {
  height: 100%;
  border-radius: 999px;
  animation: stock-pulse 2.4s ease-in-out infinite;
}

.stock-fill.r1 { background: oklch(75% .18 22); }
.stock-fill.r2 { background: oklch(82% .15 76); }
.stock-fill.r3 { background: oklch(75% .14 158); }

@keyframes stock-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.78; }
}

.stock-legend {
  display: flex;
  gap: 1rem;
  font-size: 0.7rem;
  color: var(--color-text-muted);
  font-variant-numeric: tabular-nums;
}

@media (prefers-reduced-motion: reduce) {
  .stock-fill, .stock-monitor-live .dot::after { animation: none; }
}

@media (max-width: 780px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-text h1, .hero-text p.subtitle { text-align: center; margin-left: auto; margin-right: auto; }
  .hero-cta-row { justify-content: center; }
  .stock-monitor { transform: none; }
}

/* ---- Generic section heading ---- */

h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.65rem, 3.2vw, 2.25rem);
  text-align: center;
  margin-bottom: 3rem;
  letter-spacing: -0.015em;
  color: var(--color-text);
  position: relative;
  z-index: 1;
}

.steps, .features, .plans, .faq-list {
  display: grid;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.steps { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: step; }
.features-plain { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.features-bento { grid-template-columns: repeat(6, 1fr); }
.plans { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

@media (max-width: 900px) {
  .features-bento { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .features-bento { grid-template-columns: 1fr; }
}

/* Bento layout (features-bento only) — the first feature card earns a
   bigger footprint since it's the headline metric (VMD corrigida); the
   rest sit in a regular grid. Breaks the "every card the same size"
   monotony on purpose. The plain 3-card "problema" grid stays untouched. */
.features-bento .card:nth-child(1) {
  grid-column: span 4;
}
.features-bento .card:nth-child(2) { grid-column: span 2; }
.features-bento .card:nth-child(3) { grid-column: span 2; }
.features-bento .card:nth-child(4) { grid-column: span 2; }
.features-bento .card:nth-child(5) { grid-column: span 3; }
.features-bento .card:nth-child(6) { grid-column: span 3; }

@media (max-width: 900px) {
  .features-bento .card { grid-column: span 1 !important; }
}

.card {
  background: linear-gradient(180deg, oklch(100% 0 0 / 0.045), oklch(100% 0 0 / 0.015));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.85rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color 220ms ease-in-out, transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 220ms ease-in-out;
}

.card:hover {
  border-color: var(--color-border-strong);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  margin-top: 0;
  color: var(--color-text);
}

.card p { color: var(--color-text-secondary); }

.card-icon {
  width: 38px;
  height: 38px;
  background: var(--color-primary-tint);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-soft);
  margin-bottom: 0.85rem;
}

.card-icon svg {
  width: 19px;
  height: 19px;
}

.features-bento .card:nth-child(1) .card-icon {
  width: 46px;
  height: 46px;
  background: var(--gradient-brand);
  color: var(--color-bg);
}

.features-bento .card:nth-child(1) .card-icon svg { width: 22px; height: 22px; }

/* Numbered steps — bold ghost numerals, "como funciona" is genuinely
   sequential so the 01/02/03 treatment earns its place here. */
.steps .card {
  position: relative;
  padding-top: 2.5rem;
  overflow: hidden;
}

.steps .card::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: -0.4rem;
  right: 0.75rem;
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px var(--color-border-strong);
  line-height: 1;
}

.plan-card.featured {
  position: relative;
  border-color: transparent;
  background:
    linear-gradient(180deg, oklch(23% .026 250), oklch(20% .025 250)) padding-box,
    var(--gradient-brand) border-box;
  border: 2px solid transparent;
  box-shadow: var(--shadow-glow);
}

.plan-card.featured::before {
  content: "Mais escolhido";
  position: absolute;
  top: -12px;
  left: 1.5rem;
  background: var(--gradient-brand);
  color: var(--color-bg);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.plan-price {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  margin: 0.5rem 0;
  color: var(--color-text);
}

.plan-card.featured .plan-price {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.plan-price span {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-text-muted);
  -webkit-text-fill-color: var(--color-text-muted);
}

/* ---- "Por dentro do cálculo" — transparent formula breakdown instead of
   a fabricated testimonial. Credibility through method, not a quote we
   don't have yet. ---- */

.method-section {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.method-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  position: relative;
  z-index: 1;
}

@media (max-width: 780px) {
  .method-grid { grid-template-columns: 1fr; }
}

.method-card {
  min-width: 0;
  background: oklch(100% 0 0 / 0.03);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.85rem;
}

.method-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
  color: var(--color-text);
}

.method-card p {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 1rem;
}

.method-formula {
  font-family: ui-monospace, 'SF Mono', Consolas, monospace;
  font-size: 0.85rem;
  background: oklch(12% .015 250);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  color: var(--color-primary-soft);
  overflow-x: auto;
  white-space: pre;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

@media (max-width: 720px) {
  .split {
    grid-template-columns: 1fr;
  }
}

.mockup {
  background: linear-gradient(180deg, oklch(100% 0 0 / 0.04), oklch(100% 0 0 / 0.015));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.mockup-header {
  background: oklch(100% 0 0 / 0.03);
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  border-bottom: 1px solid var(--color-border);
}

.mockup-body {
  padding: 1rem;
}

.mockup-row {
  font-size: 0.85rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.mockup-row:last-child {
  margin-bottom: 0;
}

.mockup-row-danger {
  background: var(--color-danger-bg);
  color: var(--color-danger-text);
}

.mockup-row-ok {
  background: var(--color-success-bg);
  color: var(--color-success-text);
}

.mockup-data-row {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--color-border);
  font-variant-numeric: tabular-nums;
  color: var(--color-text-secondary);
}

.mockup-data-row:last-child {
  border-bottom: none;
}

.mockup-data-row strong { font-weight: 700; color: var(--color-text); }

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  padding: 1.1rem 0;
  color: var(--color-text);
}

.faq-item p {
  color: var(--color-text-secondary);
  margin: 0 0 1.1rem;
}

footer.site-footer {
  background: var(--color-bg-alt);
  color: var(--color-text-muted);
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-top: 1px solid var(--color-border);
}

footer.site-footer a { color: var(--color-text-secondary); }
footer.site-footer a:hover { color: var(--color-text); }

.cta-final {
  text-align: center;
  overflow: hidden;
}

.cta-final h2 { color: var(--color-text); }
.cta-final p { color: var(--color-text-secondary); max-width: 480px; margin: 0 auto 1.75rem; position: relative; z-index: 1; }
.cta-final .btn-primary { margin-top: 0.25rem; position: relative; z-index: 1; }

/* --- Prova social, notas de seção e selo "exemplo" (2026-09-30) --- */
.stock-monitor-example {
  color: var(--color-text-muted);
  text-transform: none;
  letter-spacing: normal;
  font-size: 0.8rem;
}

.section-note {
  text-align: center;
  color: var(--color-text-secondary);
  margin: -0.5rem 0 1.75rem;
}

.stats-strip {
  padding: 2rem 0;
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.stats-strip[hidden] { display: none; }

.stats-title {
  text-align: center;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  margin: 0 0 1.25rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1.25rem;
  text-align: center;
}

.stat strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  line-height: 1.1;
  color: var(--color-text);
}

.stat span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

.stats-note {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.8rem;
  margin: 1.25rem 0 0;
}

.site-footer p a { color: var(--color-text-secondary); }

@media (max-width: 720px) {
  .site-nav { gap: 0.9rem; }
  .site-nav a:not(.btn):not(:first-child) { display: none; }
}
