/* ==========================================================================
   Wolffin — seções da página inicial
   ========================================================================== */

/* ---------------------------------------------------------------- herói - */

.hero {
  position: relative;
  padding-top: clamp(7rem, 14vw, 10rem);
  padding-bottom: clamp(3rem, 8vw, 6rem);
  overflow: hidden;
}

/* Aurora: uma única fonte de luz na página inteira, ancorada no herói. */
.aurora {
  position: absolute;
  inset: -30% -10% auto;
  height: 130%;
  z-index: -1;
  pointer-events: none;
  filter: blur(90px);
  opacity: 0.55;
}

.aurora span {
  position: absolute;
  border-radius: 999px;
  animation: drift 22s var(--ease) infinite alternate;
}

.aurora span:nth-child(1) { width: 46vw; height: 46vw; left: 4%; top: 24%; background: rgba(19, 236, 91, 0.42); }
.aurora span:nth-child(2) { width: 34vw; height: 34vw; right: 6%; top: 16%; background: rgba(96, 165, 250, 0.3); animation-delay: -7s; }
.aurora span:nth-child(3) { width: 28vw; height: 28vw; left: 44%; top: 46%; background: rgba(167, 139, 250, 0.28); animation-delay: -14s; }

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(4vw, -6vh, 0) scale(1.18); }
}

/* Malha de fundo: dá a leitura de plano cartesiano — dinheiro no tempo. */
.grid-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 65% at 50% 22%, #000 25%, transparent 78%);
}

.hero__grid { display: grid; gap: clamp(3rem, 6vw, 4.5rem); align-items: center; }

@media (min-width: 980px) {
  .hero__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); }
}

.hero h1 {
  font-size: var(--t-5);
  margin-bottom: 1.4rem;
}

.hero__sub {
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  color: var(--moss);
  max-width: 48ch;
  margin-bottom: 2.2rem;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }

.hero__meta {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  color: var(--dim);
  font-size: var(--t--1);
  font-weight: 600;
}

.hero__meta strong { color: var(--moss); font-weight: 700; }

.hero__art { display: flex; justify-content: center; perspective: 1400px; }

.tilt {
  transition: transform 0.5s var(--ease);
  transform-style: preserve-3d;
  will-change: transform;
}

/* ------------------------------------------------------- lojas / espera - */

.stores { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

.store {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 1.1rem;
  border-radius: var(--r-md);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--moss);
  cursor: default;
}

.store svg { width: 22px; height: 22px; flex: 0 0 auto; }
.store b { display: block; color: var(--fg); font-size: 0.9375rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.store small { font-size: 0.6875rem; font-weight: 700; color: var(--dim); }

.store::after {
  content: 'Em breve';
  position: absolute;
  top: -9px;
  right: 10px;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--lime);
  color: #06170c;
  font-size: 0.625rem;
  font-weight: 800;
}

/* Formulário de aviso de lançamento */
.notify { display: grid; gap: 0.6rem; max-width: 460px; }

.notify__row {
  display: flex;
  gap: 0.5rem;
  padding: 0.35rem;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.2s, box-shadow 0.3s;
}

.notify__row:focus-within {
  border-color: rgba(19, 236, 91, 0.6);
  box-shadow: 0 0 0 4px rgba(19, 236, 91, 0.1);
}

.notify input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  padding: 0.65rem 0.85rem;
  color: var(--fg);
  font: inherit;
  font-weight: 600;
}

.notify input::placeholder { color: var(--dim); }
.notify input:focus { outline: none; }
.notify .btn { padding-inline: 1.2rem; white-space: nowrap; }
.notify__help { font-size: var(--t--1); color: var(--dim); }
.notify__help a { color: var(--moss); }

.notify__msg {
  font-size: var(--t--1);
  font-weight: 700;
  color: var(--lime);
  display: none;
}

.notify__msg[data-show] { display: block; }
.notify__msg[data-error] { color: var(--ember); }

/* ------------------------------------------------------- faixa de números */

.figures {
  display: grid;
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

@media (min-width: 640px) { .figures { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .figures { grid-template-columns: repeat(4, 1fr); } }

.figure { background: var(--ink); padding: clamp(1.5rem, 3vw, 2.2rem) clamp(1.2rem, 2.5vw, 2rem); }
.figure__n { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 800; letter-spacing: -0.045em; }
.figure__t { color: var(--moss); font-size: var(--t--1); font-weight: 600; margin-top: 0.35rem; }

/* ------------------------------------------------- previsto vs realizado - */

.split { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }

@media (min-width: 940px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); } }

.ledger {
  border: 1px solid var(--line-strong);
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, rgba(26, 44, 32, 0.85), rgba(16, 34, 22, 0.6));
  padding: clamp(1.4rem, 3vw, 2.2rem);
}

.ledger__row { padding-block: 1.15rem; border-bottom: 1px solid var(--line); }
.ledger__row:last-child { border-bottom: 0; padding-bottom: 0; }
.ledger__row:first-child { padding-top: 0; }

.ledger__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.6rem;
}

.ledger__k { font-weight: 700; font-size: var(--t-0); }
.ledger__v { font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -0.03em; font-size: var(--t-1); }

.meter { height: 10px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }

.meter i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: var(--lime);
  transition: width 1.1s var(--ease);
}

.meter i[data-tone='plan'] { background: rgba(255, 255, 255, 0.24); }
.meter i[data-tone='out'] { background: var(--ember); }
.is-in .meter i { width: var(--p); }

.ledger__note {
  margin-top: 1.5rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--r-md);
  background: var(--lime-muted);
  color: var(--lime);
  font-weight: 700;
  font-size: var(--t-0);
}

.checks { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; gap: 0.9rem; }
.checks li { display: flex; gap: 0.75rem; color: var(--moss); }

.checks svg { width: 19px; height: 19px; flex: 0 0 auto; margin-top: 0.2rem; stroke: var(--lime); }
.checks b { color: var(--fg); font-weight: 800; }

/* ------------------------------------------------------- funcionalidades - */
/* Painel largo à esquerda + linhas densas à direita: hierarquia real em vez
   de doze cartões iguais. */

.feat { display: grid; gap: 1.25rem; }

@media (min-width: 900px) { .feat { grid-template-columns: repeat(6, 1fr); } }

.tile {
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--base);
  padding: clamp(1.3rem, 2.6vw, 1.9rem);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, background 0.3s;
}

.tile:hover { border-color: rgba(19, 236, 91, 0.3); background: var(--surface); }

@media (min-width: 900px) {
  .tile--wide { grid-column: span 3; }
  .tile--half { grid-column: span 3; }
  .tile--third { grid-column: span 2; }
}

.tile__ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--lime-muted);
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
}

.tile__ico svg { width: 20px; height: 20px; stroke: var(--lime); }
.tile h3 { font-size: var(--t-2); margin-bottom: 0.55rem; }
.tile p { color: var(--moss); font-size: var(--t-0); }

.tile__list { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; gap: 0.55rem; }
.tile__list li { color: var(--moss); font-size: var(--t--1); padding-left: 1.1rem; position: relative; }
.tile__list li::before { content: ''; position: absolute; left: 0; top: 0.62em; width: 5px; height: 5px; border-radius: 999px; background: var(--lime); }

/* Cartão de destaque com borda cônica animada — usado uma vez só. */
.tile--glow { border-color: transparent; background: var(--surface); }

.tile--glow::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--a, 0deg), rgba(19, 236, 91, 0.7), rgba(96, 165, 250, 0.35), rgba(167, 139, 250, 0.6), rgba(19, 236, 91, 0.7));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: spin 7s linear infinite;
}

@property --a { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes spin { to { --a: 360deg; } }

/* ------------------------------------------------------------- vitrine - */

.shots {
  display: flex;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  overflow-x: auto;
  padding: 0.5rem var(--gutter) 2.5rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--surface-2) transparent;
}

.shots > * { scroll-snap-align: center; }
.shots::-webkit-scrollbar { height: 6px; }
.shots::-webkit-scrollbar-thumb { background: var(--surface-2); border-radius: 999px; }

.shots__hint {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--dim);
  font-size: var(--t--1);
  font-weight: 600;
}

.shots__hint svg { width: 16px; height: 16px; stroke: currentColor; }

/* ---------------------------------------------------------------- passos */

.steps { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; }

@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }

.step { background: var(--base); padding: clamp(1.5rem, 3vw, 2.2rem); }
.step__n { font-size: var(--t--1); font-weight: 800; color: var(--lime); font-variant-numeric: tabular-nums; }
.step h3 { font-size: var(--t-2); margin: 0.8rem 0 0.5rem; }
.step p { color: var(--moss); font-size: var(--t-0); }

/* ----------------------------------------------------------------- preço */

.plans { display: grid; gap: 1.25rem; align-items: start; }

@media (min-width: 880px) { .plans { grid-template-columns: repeat(2, 1fr); } }

.plan {
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  background: var(--base);
  padding: clamp(1.6rem, 3.2vw, 2.4rem);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.plan--pro { background: linear-gradient(180deg, rgba(26, 44, 32, 0.9), rgba(16, 34, 22, 0.55)); border-color: rgba(19, 236, 91, 0.32); }

.plan__tag {
  position: absolute;
  top: -12px;
  left: clamp(1.6rem, 3.2vw, 2.4rem);
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--lime);
  color: #06170c;
  font-size: var(--t--1);
  font-weight: 800;
}

.plan__name { font-size: var(--t-2); }
.plan__for { color: var(--dim); font-size: var(--t--1); font-weight: 700; margin-top: 0.3rem; }

.plan__price { display: flex; align-items: baseline; gap: 0.5rem; flex-wrap: wrap; }
.plan__amount { font-size: clamp(2.4rem, 5.5vw, 3.4rem); font-weight: 800; letter-spacing: -0.05em; line-height: 1; }
.plan__per { color: var(--moss); font-weight: 700; }
.plan__year { color: var(--dim); font-size: var(--t--1); font-weight: 600; }

.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.8rem; }
.plan li { display: flex; gap: 0.7rem; color: var(--moss); font-size: var(--t-0); }
.plan li svg { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 0.18rem; }
.plan li[data-off] { color: var(--dim); }
.plan li b { color: var(--fg); font-weight: 800; }
.plan .btn { width: 100%; margin-top: auto; }

.toggle {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  gap: 2px;
}

.toggle button {
  border: 0;
  background: transparent;
  color: var(--moss);
  font: inherit;
  font-weight: 700;
  font-size: var(--t--1);
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}

.toggle button[aria-pressed='true'] { background: var(--lime); color: #06170c; }

.plans__note { color: var(--dim); font-size: var(--t--1); margin-top: 1.5rem; max-width: 62ch; }

/* -------------------------------------------------------------------- faq */

.faq { display: grid; gap: 0.7rem; }

.qa {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--base);
  transition: border-color 0.25s, background 0.25s;
}

.qa[open] { border-color: rgba(19, 236, 91, 0.28); background: var(--surface); }

.qa summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem clamp(1.1rem, 2.4vw, 1.6rem);
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 700;
  font-size: var(--t-1);
  letter-spacing: -0.02em;
}

.qa summary::-webkit-details-marker { display: none; }

.qa summary::after {
  content: '';
  margin-left: auto;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--moss);
  border-bottom: 2px solid var(--moss);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform 0.3s var(--ease);
  flex: 0 0 auto;
}

.qa[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); border-color: var(--lime); }

.qa__a { padding: 0 clamp(1.1rem, 2.4vw, 1.6rem) 1.3rem; color: var(--moss); max-width: 76ch; }
.qa__a + .qa__a { padding-top: 0.8rem; }

/* ------------------------------------------------------------- suporte -- */

.support {
  border: 1px solid var(--line-strong);
  border-radius: var(--r-2xl);
  padding: clamp(1.8rem, 4vw, 3.2rem);
  background:
    radial-gradient(120% 140% at 12% 0%, rgba(19, 236, 91, 0.14), transparent 58%),
    var(--base);
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) { .support { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } }

.support h2 { font-size: var(--t-3); margin-bottom: 0.8rem; }
.support p { color: var(--moss); max-width: 46ch; }

.contacts { display: grid; gap: 0.9rem; }

.contact {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.02);
  text-decoration: none;
}

.contact:hover { border-color: rgba(19, 236, 91, 0.35); }
.contact svg { width: 20px; height: 20px; stroke: var(--lime); flex: 0 0 auto; }
.contact b { display: block; font-weight: 800; letter-spacing: -0.02em; }
.contact small { color: var(--dim); font-weight: 600; }
