/* =========================================================================
   Hash Assistente — landing page
   Paleta portada 1:1 de src/front-end/src/theme/tokens.ts e
   src/mobile/lib/themes/app-tokens.dart. Qualquer ajuste de cor deve nascer
   no design system e ser refletido aqui.
   ========================================================================= */

:root {
  /* Marca — escala verde HashAssistente */
  --brand-50: #ECF2DE;
  --brand-100: #DCE9C4;
  --brand-200: #C3DBA0;
  --brand-300: #A8CD7B;
  --brand-400: #8FBF56;
  --brand-500: #79A94C;
  --brand-600: #5E8A47;
  --brand-700: #4A7038;
  --brand-800: #2C5233;
  --brand-900: #1E3B23;
  --brand-950: #0F1F12;

  /* Realces */
  --accent-cyan: #22D3EE;
  --accent-violet: #8B5CF6;
  --accent-emerald: #34D399;
  --accent-amber: #FBBF24;
  --accent-rose: #FB7185;
  --accent-sky: #38BDF8;

  /* Superfícies */
  --bg: #000000;
  --surface: #121212;
  --surface-2: #1C1C1E;
  --border: rgba(148, 163, 184, 0.14);
  --border-strong: rgba(143, 191, 86, 0.35);

  /* Texto */
  --text: #E7EBF3;
  --text-dim: #9AA4B5;

  /* Raios */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 18px;
  --r-xl: 24px;
  --r-pill: 999px;

  /* Gradientes */
  --grad-brand: linear-gradient(135deg, #2C5233 0%, #5E8A47 50%, #8FBF56 100%);
  --grad-button: linear-gradient(135deg, #5E8A47 0%, #8FBF56 100%);
  --grad-soft: linear-gradient(135deg, rgba(94, 138, 71, 0.16), rgba(143, 191, 86, 0.16));

  --maxw: 1140px;
  --nav-h: 72px;
}

/* ------------------------------- base ---------------------------------- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--brand-300); text-decoration: none; }
a:hover { color: var(--brand-200); }

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 700;
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.15rem; font-weight: 650; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }

::selection { background: var(--brand-600); color: #fff; }

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 22px;
}

.section { padding: clamp(64px, 9vw, 116px) 0; position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 76px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--brand-300);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-button);
}

.section-head { max-width: 660px; margin-bottom: 52px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--text-dim); font-size: 1.06rem; margin: 0; }

.lead { color: var(--text-dim); font-size: clamp(1.02rem, 1.6vw, 1.18rem); }

/* ------------------------------ botões --------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--grad-button);
  color: #08130A;
  box-shadow: 0 10px 30px -12px rgba(143, 191, 86, 0.75);
}
.btn--primary:hover {
  color: #08130A;
  transform: translateY(-2px);
  box-shadow: 0 16px 38px -12px rgba(143, 191, 86, 0.9);
}
.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border);
  color: var(--text);
}
.btn--ghost:hover {
  color: var(--text);
  border-color: var(--border-strong);
  background: rgba(143, 191, 86, 0.09);
}
.btn--block { width: 100%; }
.btn--sm { padding: 10px 18px; font-size: 0.9rem; }

/* --------------------------- badges de loja ---------------------------- */

.stores { display: flex; flex-wrap: wrap; gap: 14px; }

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 20px 11px 17px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}
.store-badge:hover {
  color: var(--text);
  border-color: var(--border-strong);
  background: rgba(143, 191, 86, 0.08);
  transform: translateY(-2px);
}
.store-badge svg { width: 26px; height: 26px; flex: none; }
.store-badge span { display: block; font-size: 0.68rem; color: var(--text-dim); line-height: 1.3; }
.store-badge strong { display: block; font-size: 1.02rem; font-weight: 650; letter-spacing: -0.02em; }

/* ------------------------------- navbar -------------------------------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 50;
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.nav.is-stuck { border-bottom-color: var(--border); background: rgba(0, 0, 0, 0.9); }
.nav .container { display: flex; align-items: center; gap: 20px; }

.brand { display: flex; align-items: center; gap: 11px; color: var(--text); font-weight: 700; letter-spacing: -0.02em; }
.brand:hover { color: var(--text); }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand span { font-size: 1.02rem; }
.brand small { display: block; font-size: 0.68rem; font-weight: 500; color: var(--text-dim); letter-spacing: 0.02em; }

.nav-links { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--text-dim); font-size: 0.93rem; font-weight: 500; }
.nav-links a:hover { color: var(--text); }

.nav-cta { margin-left: 6px; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px 22px 24px;
    margin: 0;
    background: #050505;
    border-bottom: 1px solid var(--border);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .nav-links.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: 12px 4px; font-size: 1rem; border-bottom: 1px solid var(--border); }
  .nav-links .btn { margin-top: 12px; }
  .nav-cta { margin-left: 0; }
}

/* -------------------------------- hero --------------------------------- */

.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(44px, 7vw, 88px));
  padding-bottom: clamp(56px, 8vw, 104px);
  overflow: hidden;
}
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
  z-index: 0;
}
.hero::before {
  width: 620px; height: 620px;
  top: -260px; left: -180px;
  background: rgba(94, 138, 71, 0.4);
}
.hero::after {
  width: 520px; height: 520px;
  top: 60px; right: -220px;
  background: rgba(143, 191, 86, 0.22);
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px 7px 8px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-pill);
  background: var(--grad-soft);
  font-size: 0.83rem;
  font-weight: 550;
  color: var(--brand-200);
  margin-bottom: 22px;
}
.hero-pill b {
  padding: 3px 9px;
  border-radius: var(--r-pill);
  background: var(--grad-button);
  color: #08130A;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hero h1 { margin-bottom: 20px; }
.hero h1 .grad {
  background: linear-gradient(120deg, var(--brand-300), var(--brand-400) 45%, var(--accent-emerald));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lead { max-width: 540px; margin-bottom: 30px; }

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

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--text-dim);
  font-size: 0.9rem;
}
.hero-notes li { display: flex; align-items: center; gap: 8px; }
.hero-notes li::before {
  content: '';
  width: 16px; height: 16px;
  flex: none;
  border-radius: 50%;
  background: var(--grad-button);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6L9 17l-5-5' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/72% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6L9 17l-5-5' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/72% no-repeat;
}

/* --------------------------- mockup do app ----------------------------- */

.phone-stage { display: flex; justify-content: center; align-items: center; position: relative; }
.phone-stage::before {
  content: '';
  position: absolute;
  inset: 8% 12%;
  background: var(--grad-brand);
  filter: blur(80px);
  opacity: 0.35;
  border-radius: 50%;
}

.phone {
  position: relative;
  width: min(310px, 78vw);
  aspect-ratio: 310 / 636;
  padding: 11px;
  border-radius: 42px;
  background: linear-gradient(160deg, #2a2a2e, #0b0b0c 60%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(0, 0, 0, 0.6);
}
.phone-screen {
  position: relative;
  height: 100%;
  border-radius: 32px;
  background: #000;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  font-size: 12px;
}
.phone-notch {
  position: absolute;
  top: 9px; left: 50%;
  transform: translateX(-50%);
  width: 92px; height: 22px;
  border-radius: var(--r-pill);
  background: #0b0b0c;
  z-index: 3;
}

.app-bar {
  padding: 34px 16px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}
.app-bar strong { font-size: 15px; letter-spacing: -0.02em; }
.app-bar em {
  font-style: normal;
  font-size: 10px;
  color: var(--text-dim);
}

.app-body { flex: 1; overflow: hidden; padding: 12px; display: flex; flex-direction: column; gap: 9px; }

.chat-row { display: flex; gap: 8px; align-items: flex-end; }
.chat-row--me { justify-content: flex-end; }
.chat-avatar {
  width: 24px; height: 24px;
  flex: none;
  border-radius: 50%;
  background: var(--grad-brand);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  color: #08130A;
}
.bubble {
  max-width: 82%;
  padding: 9px 12px;
  border-radius: 16px;
  font-size: 11.5px;
  line-height: 1.45;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
}
.bubble--me { background: var(--grad-button); color: #08130A; border-color: transparent; font-weight: 550; }

.mini-card {
  padding: 10px 12px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--border);
}
.mini-card + .mini-card { margin-top: 8px; }
.mini-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mini-card-top b { font-size: 11.5px; font-weight: 600; }
.mini-card small { color: var(--text-dim); font-size: 10px; }
.mini-value { font-size: 15px; font-weight: 700; letter-spacing: -0.02em; }
.mini-value--in { color: var(--accent-emerald); }
.mini-value--out { color: var(--accent-rose); }

.mini-bar { height: 6px; border-radius: var(--r-pill); background: rgba(148, 163, 184, 0.18); margin-top: 8px; overflow: hidden; }
.mini-bar i { display: block; height: 100%; border-radius: var(--r-pill); background: var(--grad-button); }

.chip-row { display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
  padding: 4px 9px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  font-size: 9.5px;
  color: var(--text-dim);
}
.chip--in { color: var(--accent-emerald); border-color: rgba(52, 211, 153, 0.35); background: rgba(52, 211, 153, 0.1); }
.chip--out { color: var(--accent-rose); border-color: rgba(251, 113, 133, 0.35); background: rgba(251, 113, 133, 0.1); }

.app-input {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-dim);
  font-size: 11px;
}
.app-input i {
  margin-left: auto;
  width: 24px; height: 24px;
  flex: none;
  border-radius: 50%;
  background: var(--grad-button);
}

.app-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  padding: 9px 6px 14px;
  border-top: 1px solid var(--border);
  background: #050505;
}
.app-tabs span {
  text-align: center;
  font-size: 8.5px;
  color: var(--text-dim);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.app-tabs span::before {
  content: '';
  width: 16px; height: 16px;
  border-radius: 5px;
  background: rgba(148, 163, 184, 0.28);
}
.app-tabs span.is-active { color: var(--brand-300); font-weight: 600; }
.app-tabs span.is-active::before { background: var(--grad-button); }

.float-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: rgba(18, 18, 18, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 45px -22px rgba(0, 0, 0, 0.95);
  font-size: 0.8rem;
  animation: floaty 6s ease-in-out infinite;
}
.float-card b { display: block; font-size: 0.86rem; letter-spacing: -0.01em; }
.float-card small { color: var(--text-dim); font-size: 0.72rem; }
.float-card .dot {
  width: 30px; height: 30px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--grad-soft);
  border: 1px solid var(--border-strong);
  font-size: 0.9rem;
}
.float-card--a { top: 12%; left: -6%; }
.float-card--b { bottom: 16%; right: -8%; animation-delay: -3s; }

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

@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; text-align: left; }
  .phone-stage { order: -1; margin-bottom: 8px; }
  .float-card--a { left: 0; }
  .float-card--b { right: 0; }
}
@media (max-width: 480px) {
  .float-card { display: none; }
}

/* -------------------------- faixa de destaques ------------------------- */

.strip {
  border-block: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(143, 191, 86, 0.05), transparent);
}
.strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding-block: 30px;
}
.strip div { text-align: center; }
.strip b {
  display: block;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  background: linear-gradient(120deg, var(--brand-300), var(--accent-emerald));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.strip span { font-size: 0.83rem; color: var(--text-dim); }
@media (max-width: 700px) { .strip .container { grid-template-columns: repeat(2, 1fr); } }

/* ------------------------------ recursos ------------------------------- */

.grid { display: grid; gap: 18px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 940px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--3, .grid--2 { grid-template-columns: 1fr; } }

.card {
  position: relative;
  padding: 26px 24px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  background: linear-gradient(180deg, rgba(143, 191, 86, 0.07), rgba(255, 255, 255, 0.012));
}
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; color: var(--text-dim); font-size: 0.94rem; }

.card-icon {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 13px;
  background: var(--grad-soft);
  border: 1px solid var(--border-strong);
}
.card-icon svg { width: 21px; height: 21px; stroke: var(--brand-300); fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* ---------------------------- como funciona ---------------------------- */

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

.step {
  position: relative;
  padding: 28px 24px 24px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--grad-button);
  color: #08130A;
  font-weight: 700;
  font-size: 1rem;
}
.step h3 { margin-bottom: 8px; }
.step p { margin: 0; color: var(--text-dim); font-size: 0.94rem; }

/* ------------------------------- destaque ------------------------------ */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-dim); font-size: 0.97rem; }
.checklist li b { display: block; color: var(--text); font-weight: 600; }
.checklist li::before {
  content: '';
  width: 22px; height: 22px;
  flex: none;
  margin-top: 2px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6L9 17l-5-5' fill='none' stroke='%238FBF56' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"),
    var(--grad-soft);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 62%, cover;
}

.panel {
  padding: 26px;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(143, 191, 86, 0.08), rgba(255, 255, 255, 0.015));
}
.panel .mini-card { background: rgba(0, 0, 0, 0.45); }

/* ------------------------------- planos -------------------------------- */

.toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  margin: 0 auto 40px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}
.toggle button {
  border: 0;
  background: transparent;
  color: var(--text-dim);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}
.toggle button.is-active { background: var(--grad-button); color: #08130A; }
.toggle-wrap { display: flex; justify-content: center; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
@media (max-width: 940px) { .plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 26px;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
}
.plan--featured {
  border-color: var(--border-strong);
  background: linear-gradient(180deg, rgba(143, 191, 86, 0.12), rgba(255, 255, 255, 0.015));
  box-shadow: 0 30px 70px -40px rgba(143, 191, 86, 0.8);
}
.plan-tag {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  padding: 5px 14px;
  border-radius: var(--r-pill);
  background: var(--grad-button);
  color: #08130A;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}
.plan h3 { font-size: 1.25rem; margin-bottom: 4px; }
.plan > p { color: var(--text-dim); font-size: 0.9rem; min-height: 42px; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin: 10px 0 4px; }
.plan-price .amount { font-size: 2.5rem; font-weight: 700; letter-spacing: -0.04em; }
.plan-price .per { color: var(--text-dim); font-size: 0.9rem; }
.plan-note { color: var(--text-dim); font-size: 0.8rem; min-height: 20px; margin-bottom: 20px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; color: var(--text-dim); }
.plan li::before {
  content: '';
  width: 17px; height: 17px;
  flex: none;
  margin-top: 3px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6L9 17l-5-5' fill='none' stroke='%238FBF56' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
.plan .btn { margin-top: auto; }
.plans-foot { text-align: center; color: var(--text-dim); font-size: 0.86rem; margin-top: 26px; }

/* --------------------------------- FAQ --------------------------------- */

.faq { max-width: 800px; margin-inline: auto; display: grid; gap: 12px; }
.faq details {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.025);
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq details[open] { border-color: var(--border-strong); background: rgba(143, 191, 86, 0.05); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '';
  width: 15px; height: 15px;
  flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%239AA4B5' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(180deg); }
.faq p { padding: 0 22px 20px; margin: 0; color: var(--text-dim); font-size: 0.95rem; }

/* ------------------------------- CTA final ----------------------------- */

.cta {
  position: relative;
  overflow: hidden;
  padding: clamp(44px, 6vw, 68px) clamp(26px, 5vw, 60px);
  border-radius: var(--r-xl);
  border: 1px solid var(--border-strong);
  background: linear-gradient(135deg, rgba(44, 82, 51, 0.55), rgba(15, 31, 18, 0.5));
  text-align: center;
}
.cta::before {
  content: '';
  position: absolute;
  width: 460px; height: 460px;
  top: -180px; left: 50%;
  transform: translateX(-50%);
  background: rgba(143, 191, 86, 0.28);
  filter: blur(90px);
  border-radius: 50%;
  pointer-events: none;
}
.cta > * { position: relative; }
.cta h2 { margin-bottom: 12px; }
.cta p { color: var(--text-dim); max-width: 560px; margin-inline: auto; margin-bottom: 28px; }
.cta .stores { justify-content: center; }

/* -------------------------------- rodapé ------------------------------- */

.footer { border-top: 1px solid var(--border); padding: 56px 0 34px; background: #030303; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 34px;
  margin-bottom: 40px;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.footer h4 { font-size: 0.78rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 14px; font-weight: 650; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer ul a { color: var(--text-dim); font-size: 0.92rem; }
.footer ul a:hover { color: var(--brand-300); }
.footer-about p { color: var(--text-dim); font-size: 0.9rem; max-width: 320px; margin-top: 14px; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.84rem;
}

/* ------------------------------ páginas legais ------------------------- */

.legal { padding-top: calc(var(--nav-h) + 56px); padding-bottom: 80px; }
.legal .container { max-width: 820px; }
.legal-head { margin-bottom: 40px; padding-bottom: 26px; border-bottom: 1px solid var(--border); }
.legal-head p { color: var(--text-dim); margin: 0; }
.legal h2 { font-size: 1.45rem; margin: 44px 0 14px; scroll-margin-top: calc(var(--nav-h) + 20px); }
.legal h3 { font-size: 1.05rem; margin: 26px 0 10px; }
.legal p, .legal li { color: var(--text-dim); font-size: 0.97rem; }
.legal ul, .legal ol { padding-left: 22px; margin: 0 0 18px; display: grid; gap: 9px; }
.legal strong { color: var(--text); font-weight: 600; }

.toc {
  padding: 22px 24px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.025);
  margin-bottom: 12px;
}
.toc h4 { font-size: 0.78rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--text-dim); margin: 0 0 14px; }
.toc ol { columns: 2; column-gap: 28px; margin: 0; padding-left: 20px; display: block; }
.toc li { margin-bottom: 8px; break-inside: avoid; }
@media (max-width: 620px) { .toc ol { columns: 1; } }

.table-wrap { overflow-x: auto; margin-bottom: 20px; border: 1px solid var(--border); border-radius: var(--r-md); }
table { width: 100%; border-collapse: collapse; min-width: 520px; font-size: 0.9rem; }
th, td { text-align: left; padding: 12px 15px; border-bottom: 1px solid var(--border); color: var(--text-dim); vertical-align: top; }
th { color: var(--text); font-weight: 600; background: rgba(255, 255, 255, 0.03); }
tr:last-child td { border-bottom: 0; }

.callout {
  padding: 18px 22px;
  border-radius: var(--r-md);
  border: 1px solid var(--border-strong);
  background: var(--grad-soft);
  margin-bottom: 22px;
}
.callout p:last-child { margin-bottom: 0; }
.callout--warn { border-color: rgba(251, 191, 36, 0.4); background: rgba(251, 191, 36, 0.08); }

/* ------------------------------- animação ------------------------------ */

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
