/* ═══════════════════════════════════════════════════════════
   CopyMaster — Landing Page · "O Selo do Mestre"
   Identidade escultural: metal + gema sobre grafite quente.
   Dark-first · Fraunces + Manrope · Sem frameworks.
   ═══════════════════════════════════════════════════════════ */

/* ── Tokens ─────────────────────────────────────────────── */
:root {
  /* Brand (dark) */
  --bg: #16141b;
  --bg-2: #1a171f;
  --surface: #201d26;
  --surface-2: #262230;
  --surface-3: #2d2938;

  --bronze: #e0a857;
  --bronze-hi: #f2cf96;
  --bronze-low: #8a5e1e;
  --violet: #a78bfa;
  --violet-hi: #cab9ff;
  --violet-deep: #6d46e0;
  --steel: #8a93a3;
  --steel-hi: #aeb6c4;

  --text: #f3efe6;
  --text-2: #aba396;
  --text-3: #8f867a;
  --line: rgba(243, 239, 230, 0.09);
  --line-2: rgba(243, 239, 230, 0.16);

  --success: #4cc98a;
  --error: #e2604a;

  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-2: 0 2px 4px rgba(0, 0, 0, 0.4), 0 18px 48px rgba(0, 0, 0, 0.5);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", system-ui, sans-serif;
  --font-mono: "Cascadia Code", Consolas, "JetBrains Mono", monospace;

  --max-w: 1180px;
  --nav-h: 68px;
}

/* Light theme — pergaminho quente (nunca branco puro) */
html[data-theme="light"] {
  --bg: #f6f1e7;
  --bg-2: #f1ead9;
  --surface: #ffffff;
  --surface-2: #fbf7ee;
  --surface-3: #f3ecdc;

  --bronze: #8a5e1e;
  --bronze-hi: #a97a33;
  --bronze-low: #5f3f12;
  --violet: #6d46e0;
  --violet-hi: #5734c0;
  --violet-deep: #5a36c9;
  --steel: #5b6472;
  --steel-hi: #464e5a;

  --text: #221b12;
  --text-2: #6b6055;
  --text-3: #6e6252;
  --line: rgba(34, 27, 18, 0.1);
  --line-2: rgba(34, 27, 18, 0.18);

  --success: #2a7a50;
  --error: #b23a2e;

  --shadow-1: 0 1px 2px rgba(60, 45, 20, 0.06), 0 10px 30px rgba(90, 70, 35, 0.1);
  --shadow-2: 0 2px 4px rgba(60, 45, 20, 0.06), 0 22px 56px rgba(90, 70, 35, 0.16);
}

/* ── Reset / base ───────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.45s ease, color 0.45s ease;
}

/* Granulado sutil de "metal escovado" */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

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

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

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

::selection {
  background: var(--violet-deep);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Tipografia ─────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

em {
  font-family: var(--font-display);
  font-style: italic;
}

/* ── kbd (teclas 3D) ────────────────────────────────────── */
kbd.kbd-inline {
  display: inline-block;
  padding: 1px 7px;
  font-family: var(--font-mono);
  font-size: 0.82em;
  font-weight: 600;
  color: var(--text);
  background: linear-gradient(180deg, var(--surface-3), var(--surface));
  border: 1px solid var(--line-2);
  border-bottom-width: 3px;
  border-radius: 6px;
  line-height: 1.5;
  white-space: nowrap;
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 700;
  letter-spacing: 0.01em;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  will-change: transform;
  position: relative;
}

.btn:active {
  transform: translateY(1px) scale(0.99);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13.5px;
  border-radius: 10px;
}

.btn-lg {
  padding: 15px 26px;
  font-size: 16px;
  border-radius: 16px;
}

/* Botão metálico — bronze com bisel */
.btn-primary {
  color: #1c1207;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0) 38%),
    linear-gradient(180deg, var(--bronze-hi), var(--bronze) 55%, #c08a3e);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -2px 6px rgba(60, 35, 5, 0.35),
    0 4px 14px rgba(0, 0, 0, 0.3);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
}

html[data-theme="light"] .btn-primary {
  color: #fff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 40%),
    linear-gradient(180deg, #b07c33, var(--bronze) 60%, #71490f);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -2px 6px rgba(40, 25, 5, 0.3),
    0 4px 16px rgba(138, 94, 30, 0.28);
  text-shadow: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -2px 6px rgba(60, 35, 5, 0.35),
    0 10px 26px rgba(224, 168, 87, 0.28);
}

/* Botão fantasma */
.btn-ghost {
  color: var(--text-2);
  border-color: var(--line-2);
  background: rgba(243, 239, 230, 0.03);
  backdrop-filter: blur(8px);
}

html[data-theme="light"] .btn-ghost {
  background: rgba(34, 27, 18, 0.03);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: var(--steel-hi);
  transform: translateY(-2px);
  background: rgba(243, 239, 230, 0.06);
}

html[data-theme="light"] .btn-ghost:hover {
  background: rgba(34, 27, 18, 0.05);
}

/* ── NAV ────────────────────────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.nav.scrolled {
  border-bottom-color: var(--line);
}

.nav-inner {
  width: min(var(--max-w), 100% - 48px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  filter: drop-shadow(0 2px 8px rgba(224, 168, 87, 0.35));
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.brand:hover .brand-mark {
  transform: rotate(-12deg) scale(1.08);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover {
  color: var(--text);
  background: color-mix(in srgb, var(--text) 6%, transparent);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--text-2);
  transition: color 0.2s, background 0.2s, transform 0.2s;
}

.theme-toggle:hover {
  color: var(--bronze-hi);
  transform: rotate(18deg);
}

.theme-toggle svg {
  grid-area: 1 / 1;
  transition: opacity 0.25s, transform 0.35s;
}

html[data-theme="dark"] .icon-sun,
html[data-theme="light"] .icon-moon {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
}

/* ── HERO ───────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: clip;
  padding-top: var(--nav-h);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
}

.orb-bronze {
  width: 620px;
  height: 620px;
  top: -180px;
  right: -140px;
  background: radial-gradient(circle, rgba(224, 168, 87, 0.34), transparent 65%);
}

html[data-theme="light"] .orb-bronze {
  opacity: 0.35;
}

.orb-violet {
  width: 560px;
  height: 560px;
  bottom: -220px;
  left: -160px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.24), transparent 65%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, black 30%, transparent 75%);
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 120% 100% at 50% 0%, transparent 40%, var(--bg) 92%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max-w), 100% - 48px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
  padding: 72px 0 40px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--bronze);
  text-transform: uppercase;
}

html[data-theme="light"] .eyebrow {
  color: var(--bronze-low);
}

.eyebrow-glyph {
  font-size: 13px;
  animation: sparkle 3.2s ease-in-out infinite;
}

@keyframes sparkle {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
  50% { transform: scale(1.35) rotate(90deg); opacity: 0.55; }
}

.hero-title {
  font-size: clamp(2.9rem, 6.2vw, 4.6rem);
  margin: 22px 0 20px;
  max-width: 15ch;
}

.hero-title em {
  color: var(--violet);
  position: relative;
  white-space: nowrap;
}

.hero-title em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.06em;
  height: 0.09em;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--violet), transparent 90%);
  opacity: 0.55;
}

html[data-theme="light"] .hero-title em {
  color: var(--violet-deep);
}

.hero-sub {
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  color: var(--text-2);
  max-width: 52ch;
}

.hero-sub strong {
  color: var(--text);
  font-weight: 700;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 30px;
}

.hero-badges li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-3);
}

.hero-badges svg {
  color: var(--success);
}

/* ── Selo 3D ────────────────────────────────────────────── */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.seal-scene {
  position: relative;
  width: min(460px, 82vw);
  aspect-ratio: 1;
  perspective: 1000px;
  display: grid;
  place-items: center;
}

.seal-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.seal-glow-bronze {
  width: 88%;
  height: 88%;
  background: radial-gradient(circle, rgba(224, 168, 87, 0.22), transparent 62%);
  filter: blur(10px);
  animation: breathe 7s ease-in-out infinite;
}

.seal-glow-violet {
  width: 58%;
  height: 58%;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.3), transparent 60%);
  filter: blur(14px);
  animation: breathe 7s ease-in-out 1.2s infinite;
}

.seal-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  pointer-events: none;
}

.seal-ring-outer {
  width: 96%;
  height: 96%;
  animation: ring-pulse 4.5s ease-out infinite;
}

.seal-ring-mid {
  width: 72%;
  height: 72%;
  border-style: dashed;
  border-color: color-mix(in srgb, var(--bronze) 45%, transparent);
  animation: spin 26s linear infinite;
}

.seal-ring-inner {
  width: 50%;
  height: 50%;
  border-color: color-mix(in srgb, var(--violet) 40%, transparent);
  animation: ring-pulse 4.5s ease-out 0.6s infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes ring-pulse {
  0% { transform: scale(0.92); opacity: 0; }
  18% { opacity: 1; }
  70%, 100% { transform: scale(1.16); opacity: 0; }
}

@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.07); opacity: 1; }
}

.seal-3d {
  position: relative;
  width: 74%;
  height: 74%;
  animation: seal-float 7s ease-in-out infinite;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.55)) drop-shadow(0 8px 24px rgba(224, 168, 87, 0.18));
}

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

.seal-tilt {
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.3, 1);
  will-change: transform;
}

.seal-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.seal-sheen {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.16), transparent 42%),
    linear-gradient(160deg, transparent 55%, rgba(255, 255, 255, 0.05));
  pointer-events: none;
  mix-blend-mode: screen;
}

.seal-stamp {
  position: absolute;
  bottom: 6%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 18px;
  border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--surface) 85%, transparent);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-1);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-2);
  white-space: nowrap;
  animation: stamp-in 6s ease-out infinite;
}

.stamp-line {
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--violet));
}

.stamp-line:last-child {
  background: linear-gradient(90deg, var(--violet), transparent);
}

.stamp-copy {
  color: var(--violet);
}

@keyframes stamp-in {
  0%, 60% { opacity: 0; transform: translateX(-50%) scale(0.85); }
  70%, 90% { opacity: 1; transform: translateX(-50%) scale(1); }
  100% { opacity: 0; transform: translateX(-50%) scale(0.95); }
}

.hero-visual-caption {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-3);
  text-align: center;
}

/* ── Ticker ─────────────────────────────────────────────── */
.ticker {
  position: relative;
  z-index: 1;
  width: 100%;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
  background: color-mix(in srgb, var(--surface) 55%, transparent);
  backdrop-filter: blur(6px);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 26px;
  width: max-content;
  animation: ticker-scroll 34s linear infinite;
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-track span {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
  white-space: nowrap;
}

.ticker-track i {
  font-style: normal;
  color: var(--bronze);
  font-size: 11px;
  animation: sparkle 3.2s ease-in-out infinite;
}

@keyframes ticker-scroll {
  to { transform: translateX(-50%); }
}

/* ── Reveal on scroll ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.22, 0.7, 0.3, 1), transform 0.7s cubic-bezier(0.22, 0.7, 0.3, 1);
  transition-delay: var(--d, 0s);
}

.reveal.in {
  opacity: 1;
  transform: none;
  /* Após a entrada com delay escalonado, interações (tilt/hover) respondem na hora */
  transition-delay: 0s;
}

/* ═══════════════════════════════════════════════════════════
   ETAPA 2 — NARRATIVA
   ═══════════════════════════════════════════════════════════ */

/* ── Seções ─────────────────────────────────────────────── */
.section {
  position: relative;
  padding: 110px 0;
}

.section-inner {
  width: min(var(--max-w), 100% - 48px);
  margin-inline: auto;
}

.section-head {
  max-width: 660px;
  margin-bottom: 54px;
}

.section-head .eyebrow {
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(2rem, 4.2vw, 2.9rem);
  margin-bottom: 18px;
}

.section-title em {
  color: var(--violet);
}

.section-sub {
  color: var(--text-2);
  font-size: 1.05rem;
  max-width: 56ch;
}

.section-sub strong {
  color: var(--text);
  font-weight: 700;
}

/* ── Problema ───────────────────────────────────────────── */
.section-problem {
  padding-top: 30px;
}

.problem-flow {
  display: flex;
  align-items: stretch;
  gap: 18px;
}

.problem-card {
  position: relative;
  flex: 1;
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-1);
}

.problem-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--bronze);
  background: color-mix(in srgb, var(--bronze) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--bronze) 24%, transparent);
}

.problem-icon-lost {
  color: var(--error);
  background: color-mix(in srgb, var(--error) 12%, transparent);
  border-color: color-mix(in srgb, var(--error) 26%, transparent);
}

.problem-card h3 {
  font-size: 1.16rem;
  margin: 18px 0 10px;
}

.problem-card p {
  color: var(--text-2);
  font-size: 0.95rem;
}

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

.problem-card-lost {
  border-color: color-mix(in srgb, var(--error) 30%, transparent);
}

.lost-stamp {
  position: absolute;
  top: 14px;
  right: 14px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--error);
  border: 1.5px solid currentColor;
  padding: 3px 10px;
  border-radius: 6px;
  transform: rotate(-8deg);
  opacity: 0.85;
}

.problem-arrow {
  display: grid;
  place-items: center;
  color: var(--text-3);
  flex: none;
}

/* ── Features ───────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  position: relative;
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.3s ease, box-shadow 0.35s ease, background 0.3s ease;
}

/* Fio de luz no topo do card ao passar o mouse */
.feature-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--violet), var(--bronze), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.feature-card:hover::before {
  opacity: 0.7;
}

.feature-card:hover {
  border-color: var(--line-2);
  box-shadow: var(--shadow-1);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  margin-bottom: 20px;
  color: var(--violet);
  background: color-mix(in srgb, var(--violet) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--violet) 26%, transparent);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: translateY(-3px) scale(1.08);
  color: var(--violet-hi);
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-2);
  font-size: 0.95rem;
}

/* ── Banner de privacidade ──────────────────────────────── */
.privacy-banner {
  margin-top: 44px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  border-radius: var(--r-md);
  border: 1px dashed color-mix(in srgb, var(--success) 45%, transparent);
  background: color-mix(in srgb, var(--success) 7%, transparent);
  color: var(--text-2);
  font-size: 0.98rem;
}

.privacy-banner strong {
  color: var(--text);
}

.privacy-icon {
  color: var(--success);
  flex: none;
}

/* ── Como funciona ──────────────────────────────────────── */
.section-how {
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--surface) 45%, transparent), transparent);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  list-style: none;
}

.step {
  position: relative;
  padding: 36px 30px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.step:hover {
  transform: translateY(-5px);
  border-color: var(--line-2);
  box-shadow: var(--shadow-1);
}

.step-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2.8rem;
  line-height: 1;
  margin-bottom: 18px;
  color: transparent;
  -webkit-text-stroke: 1.2px color-mix(in srgb, var(--bronze) 65%, transparent);
}

.step h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.step p {
  color: var(--text-2);
  font-size: 0.95rem;
}

/* ── Showcase (painel do app) ───────────────────────────── */
.section-showcase {
  overflow: hidden;
}

.section-showcase::before {
  content: "";
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 760px;
  height: 520px;
  background: radial-gradient(50% 50% at 50% 45%, rgba(167, 139, 250, 0.14), transparent 70%);
  pointer-events: none;
}

.showcase-stage {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 46px 0 64px;
}

.mock-scene {
  position: relative;
  width: min(408px, 90vw);
}

.mock-glow {
  position: absolute;
  inset: -34px;
  border-radius: 44px;
  background: radial-gradient(58% 58% at 50% 42%, rgba(167, 139, 250, 0.2), transparent 72%);
  filter: blur(22px);
  pointer-events: none;
}

.mock-window {
  position: relative;
  border-radius: 18px;
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  box-shadow: var(--shadow-2);
  overflow: hidden;
}

.mock-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--text-3);
  font-size: 13px;
}

.mock-count {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  background: var(--surface-3);
  padding: 2px 9px;
  border-radius: 999px;
}

.mock-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mock-section-title {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 4px 10px 2px;
}

.mock-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border-radius: 11px;
  border: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.mock-item:hover {
  background: color-mix(in srgb, var(--text) 4%, transparent);
  transform: translateX(3px);
}

.mock-item-active {
  background: color-mix(in srgb, var(--violet) 12%, transparent);
  border-color: color-mix(in srgb, var(--violet) 35%, transparent);
}

.mock-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex: none;
}

.mock-icon-violet {
  color: var(--violet);
  background: color-mix(in srgb, var(--violet) 15%, transparent);
}

.mock-icon-bronze {
  color: var(--bronze);
  background: color-mix(in srgb, var(--bronze) 15%, transparent);
}

.mock-icon-steel {
  color: var(--steel);
  background: color-mix(in srgb, var(--steel) 15%, transparent);
}

.mock-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.mock-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-time {
  font-size: 11px;
  color: var(--text-3);
}

.mock-pin {
  margin-left: auto;
  font-size: 11px;
  opacity: 0.75;
}

.mock-status {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 11px 14px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--text-3);
}

.mock-status kbd {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 5px;
  border: 1px solid var(--line-2);
  border-bottom-width: 2px;
  background: var(--surface-3);
  color: var(--text-2);
}

/* Chips flutuantes ao redor do painel */
.chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-2);
  box-shadow: var(--shadow-1);
  animation: chip-float 6s ease-in-out infinite;
  pointer-events: none;
  white-space: nowrap;
}

.chip svg {
  color: var(--violet);
}

.chip-1 {
  top: 9%;
  left: -5%;
}

.chip-2 {
  top: 44%;
  right: -8%;
  animation-delay: 1.4s;
}

.chip-3 {
  bottom: 3%;
  left: -2%;
  animation-delay: 2.6s;
}

@keyframes chip-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-11px); }
}

/* ── Responsivo (etapa 2) ───────────────────────────────── */
@media (max-width: 960px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .problem-flow {
    flex-direction: column;
  }

  .problem-arrow {
    transform: rotate(90deg);
  }
}

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

  .features-grid {
    grid-template-columns: 1fr;
  }

  .chip {
    display: none;
  }
}

/* ── Responsivo ─────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
    padding-top: 56px;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-title {
    max-width: 18ch;
  }

  .hero-cta,
  .hero-badges {
    justify-content: center;
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 520px) {
  .hero-title {
    font-size: clamp(2.4rem, 11vw, 3rem);
  }

  .hero-cta .btn-lg {
    width: 100%;
  }

  .seal-scene {
    width: 88vw;
  }
}

/* ═══════════════════════════════════════════════════════════
   ETAPA 3 — COMPARATIVO, FAQ, CTA FINAL, FOOTER
   ═══════════════════════════════════════════════════════════ */

/* ── Comparativo ────────────────────────────────────────── */
.compare-table {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow: hidden;
}

.compare-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  align-items: center;
}

.compare-row + .compare-row {
  border-top: 1px solid var(--line);
}

.compare-head {
  background: var(--surface-2);
}

.compare-cell {
  padding: 16px 20px;
  font-size: 0.92rem;
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: 7px;
}

.compare-feature {
  font-weight: 700;
  color: var(--text);
}

.compare-col {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-2);
  justify-content: center;
  text-align: center;
}

.compare-col-highlight {
  background: color-mix(in srgb, var(--violet) 8%, transparent);
  color: var(--text);
  font-weight: 700;
  justify-content: center;
  text-align: center;
}

.compare-head .compare-col-highlight {
  color: var(--violet-hi);
}

html[data-theme="light"] .compare-head .compare-col-highlight {
  color: var(--violet-deep);
}

.compare-row:not(.compare-head) .compare-cell:not(.compare-feature) {
  justify-content: center;
  text-align: center;
}

.compare-yes {
  color: var(--success);
}

.compare-no {
  color: var(--text-3);
}

.compare-yes svg,
.compare-no svg {
  flex: none;
}

/* ── FAQ ─────────────────────────────────────────────────── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  transition: border-color 0.3s ease, background 0.3s ease;
}

.faq-item[open] {
  border-color: var(--line-2);
  background: var(--surface-2);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-chevron {
  flex: none;
  color: var(--text-3);
  transition: transform 0.3s ease, color 0.3s ease;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  color: var(--violet);
}

.faq-answer {
  padding: 0 24px 22px;
  color: var(--text-2);
  font-size: 0.96rem;
  max-width: 68ch;
}

/* ── CTA final ──────────────────────────────────────────── */
.section-cta {
  padding-bottom: 130px;
}

.cta-panel {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 68px 40px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  box-shadow: var(--shadow-2);
}

.cta-panel .eyebrow {
  justify-content: center;
}

.cta-glow {
  position: absolute;
  inset: -30% -10% auto -10%;
  height: 260px;
  background: radial-gradient(50% 50% at 50% 0%, rgba(167, 139, 250, 0.22), transparent 70%);
  pointer-events: none;
}

.cta-title {
  position: relative;
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  margin: 18px auto 14px;
  max-width: 18ch;
}

.cta-sub {
  position: relative;
  color: var(--text-2);
  max-width: 52ch;
  margin: 0 auto;
}

.cta-actions {
  position: relative;
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.cta-note {
  font-size: 12.5px;
  color: var(--text-3);
}

/* ── Footer ─────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 0;
}

.footer-inner {
  width: min(var(--max-w), 100% - 48px);
  margin-inline: auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 36px;
}

.footer-tagline {
  margin-top: 10px;
  color: var(--text-3);
  font-size: 0.92rem;
  max-width: 32ch;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
}

.footer-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-2);
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--text);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}

.footer-bottom p {
  width: min(var(--max-w), 100% - 48px);
  margin-inline: auto;
  font-size: 0.85rem;
  color: var(--text-3);
  text-align: center;
}

.footer-bottom em {
  color: var(--violet);
}

/* ── Responsivo (etapa 3) ───────────────────────────────── */
@media (max-width: 720px) {
  .compare-row {
    grid-template-columns: 1fr;
  }

  .compare-feature {
    padding-bottom: 0;
  }

  .compare-row:not(.compare-head) .compare-cell:not(.compare-feature) {
    justify-content: flex-start;
    text-align: left;
    padding-top: 4px;
  }

  .compare-head {
    display: none;
  }

  .footer-inner {
    flex-direction: column;
  }
}

/* ── Reduced motion ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
