/* ============================================================
   GENCO IMPORT — Landing de qualificação + páginas de oferta
   Tokens de tema: o body define o acento via classes:
   .theme-red (padrão / reprovado)  .theme-green (aprovado)
   ============================================================ */

:root {
  --ink: #0a0a0c;          /* fundo geral */
  --coal: #131317;         /* superfícies escuras */
  --coal-2: #1a1a1f;
  --bone: #f5f2ec;         /* texto claro / card do formulário */
  --paper: #fffdf9;        /* campos */
  --smoke: #a7a4ac;        /* texto secundário no escuro */
  --slate: #55525b;        /* texto secundário no claro */
  --line: rgba(245, 242, 236, 0.1);
  --line-dark: rgba(10, 10, 12, 0.14);

  --crimson: #c1122f;
  --crimson-deep: #8f0d22;
  --jade: #1fa469;
  --jade-deep: #0e7a4a;

  --accent: var(--crimson);
  --accent-deep: var(--crimson-deep);
  --accent-soft: rgba(193, 18, 47, 0.12);

  --radius: 14px;
  --radius-sm: 9px;
  --shadow-card: 0 30px 80px rgba(0, 0, 0, 0.55);
  --font: "Archivo", "Segoe UI", system-ui, sans-serif;
}

.theme-green {
  --accent: var(--jade);
  --accent-deep: var(--jade-deep);
  --accent-soft: rgba(31, 164, 105, 0.14);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--ink);
  color: var(--bone);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

.container {
  width: min(1160px, 92%);
  margin-inline: auto;
}

/* ---------- Tipografia ---------- */

.display {
  font-weight: 800;
  font-stretch: 118%;
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* Assinatura da marca: o "chifre" — sublinhado curvo carmim */
.horn {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.horn svg {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.28em;
  width: 100%;
  height: 0.32em;
  overflow: visible;
}
.horn svg path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 7;
  stroke-linecap: round;
}

/* ---------- Header ---------- */

.site-header {
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.site-header img { height: 44px; width: auto; }

.header-chip {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--smoke);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 1rem;
}
.header-chip strong { color: var(--accent); font-weight: 700; }

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

.hero {
  padding: 4.5rem 0 3.5rem;
  background:
    radial-gradient(900px 480px at 85% -10%, var(--accent-soft), transparent 65%),
    var(--ink);
}
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

.hero h1 { font-size: clamp(2rem, 4.2vw, 3.3rem); }

.hero-sub {
  margin-top: 1.4rem;
  font-size: 1.08rem;
  color: var(--smoke);
  max-width: 34rem;
}
.hero-sub strong { color: var(--bone); font-weight: 600; }

.hero-reassure {
  margin-top: 1.8rem;
  font-size: 0.9rem;
  color: var(--smoke);
  letter-spacing: 0.02em;
}
.hero-reassure span { color: var(--accent); margin: 0 0.45rem; }

/* ---------- Card do formulário ---------- */

.form-card {
  background: var(--bone);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-card);
}

.form-card h2 {
  font-weight: 800;
  font-stretch: 112%;
  font-size: 1.3rem;
  line-height: 1.25;
}

.form-progress {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0.9rem 0 1.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
}
.form-progress .bar {
  flex: 1;
  height: 5px;
  border-radius: 999px;
  background: var(--line-dark);
  overflow: hidden;
}
.form-progress .bar i {
  display: block;
  height: 100%;
  width: 50%;
  border-radius: 999px;
  background: var(--accent);
  transition: width 0.35s ease;
}
.form-progress.done .bar i { width: 100%; }

.field { margin-bottom: 1.1rem; }

.field label {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.field input,
.field select {
  width: 100%;
  font: inherit;
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  padding: 0.72rem 0.9rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' fill='none'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%2355525b' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.4rem;
  cursor: pointer;
}
.field input:focus-visible,
.field select:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field .error-msg {
  display: none;
  font-size: 0.8rem;
  color: var(--crimson);
  margin-top: 0.3rem;
}
.field.invalid input,
.field.invalid select { border-color: var(--crimson); }
.field.invalid .error-msg { display: block; }

/* fieldset traz borda e padding próprios do navegador — zeramos */
.form-step {
  border: 0;
  padding: 0;
  margin: 0;
  min-inline-size: 0;
}
.form-step[hidden] { display: none; }

.form-actions {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.6rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.btn-primary {
  flex: 1;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px var(--accent-soft);
}
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-1px); }
.btn-primary[disabled] { opacity: 0.6; cursor: wait; transform: none; }

.btn-ghost {
  background: transparent;
  color: var(--slate);
  border: 1px solid var(--line-dark);
}
.btn-ghost:hover { border-color: var(--slate); }

.form-note {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--slate);
}

/* Honeypot invisível para robôs */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* ---------- Faixa de prova social ---------- */

.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--coal);
  padding: 2.2rem 0;
}
.stats .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.stat b {
  display: block;
  font-size: 1.7rem;
  font-weight: 800;
  font-stretch: 118%;
  color: var(--bone);
}
.stat span { font-size: 0.85rem; color: var(--smoke); }

/* ---------- Páginas de oferta (aprovado / reprovado) ---------- */

.status-banner {
  background: linear-gradient(100deg, var(--accent-deep), var(--accent));
  color: #fff;
  text-align: center;
  padding: 1rem 1.2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.status-banner small {
  display: block;
  font-weight: 500;
  font-size: 0.85rem;
  opacity: 0.92;
  letter-spacing: 0.01em;
}

.offer-hero {
  padding: 4rem 0 2.5rem;
  text-align: center;
  background:
    radial-gradient(800px 420px at 50% -20%, var(--accent-soft), transparent 70%),
    var(--ink);
}
.offer-hero h1 {
  font-size: clamp(1.8rem, 3.6vw, 2.9rem);
  max-width: 18ch;
  margin-inline: auto;
}
.offer-hero p {
  margin: 1.4rem auto 0;
  max-width: 44rem;
  color: var(--smoke);
  font-size: 1.08rem;
}

.section { padding: 3.2rem 0; }

.deliverable {
  background: var(--coal);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem;
  margin-bottom: 1.4rem;
}
.deliverable .emoji { font-size: 1.9rem; line-height: 1; }
.deliverable h2 {
  font-weight: 800;
  font-stretch: 112%;
  font-size: 1.35rem;
  margin: 0.7rem 0 0.8rem;
}
.deliverable p { color: var(--smoke); max-width: 60rem; }
.deliverable p + p { margin-top: 0.7rem; }

.topics {
  list-style: none;
  margin-top: 1.3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem 2rem;
}
.topics li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--bone);
  font-size: 0.97rem;
}
.topics li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* Bloco de investimento / inclusão */

.invest {
  text-align: center;
  border-top: 1px solid var(--line);
  background: var(--coal);
}
.invest h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  max-width: 24ch;
  margin-inline: auto;
}
.invest > .container > p {
  margin: 1.2rem auto 0;
  max-width: 46rem;
  color: var(--smoke);
}

.includes {
  list-style: none;
  margin: 2.4rem auto 0;
  max-width: 34rem;
  text-align: left;
  background: var(--coal-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 2rem;
}
.includes li {
  position: relative;
  padding: 0.45rem 0 0.45rem 2rem;
  font-size: 1rem;
}
.includes li::before {
  content: "✅";
  position: absolute;
  left: 0;
  top: 0.45rem;
  font-size: 0.95rem;
}

.price-block { margin-top: 2.2rem; }
.price-block .price-label {
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--smoke);
}
.price-block .price {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 800;
  font-stretch: 118%;
  color: var(--bone);
  line-height: 1.1;
}
.price-block .price em {
  font-style: normal;
  color: var(--accent);
}

.cta-big {
  margin-top: 1.8rem;
  font-size: 1.1rem;
  padding: 1.1rem 2.6rem;
  border-radius: 999px;
  animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--accent-soft); }
  50% { box-shadow: 0 0 0 14px rgba(0, 0, 0, 0); }
}

.trust-line {
  margin-top: 1.4rem;
  font-size: 0.85rem;
  color: var(--smoke);
}
.trust-line span { color: var(--accent); margin: 0 0.4rem; }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.2rem 0;
  text-align: center;
}
.site-footer img { height: 36px; width: auto; margin: 0 auto 0.8rem; }
.site-footer p { font-size: 0.8rem; color: var(--smoke); }

/* ---------- Animações de entrada ---------- */

/* Conteúdo do topo: anima no carregamento, sem depender de observador.
   O `both` garante que o elemento termine visível em qualquer cenário. */
.js .enter {
  animation: enter 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.js .enter-2 { animation-delay: 0.12s; }
@keyframes enter {
  from { opacity: 0; transform: translateY(22px); }
}

/* Revelação ao entrar na viewport. Sem JS, tudo continua visível:
   o estado inicial só se aplica quando o script marca <html class="js">. */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal-delay { transition-delay: 0.14s; }

/* ---------- Responsivo ---------- */

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; gap: 2.5rem; }
  .stats .container { grid-template-columns: repeat(2, 1fr); }
  .topics { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .form-card { padding: 1.5rem 1.2rem; }
  .form-actions { flex-direction: column-reverse; }
  .site-header img { height: 36px; }
  .stats .container { grid-template-columns: 1fr 1fr; gap: 1.2rem; }
}

/* ============================================================
   EFEITOS
   ============================================================ */

/* ---------- Detalhes globais ---------- */

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

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

/* Textura de grão sobre toda a página — dá peso de impresso ao preto */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9;
  pointer-events: none;
  opacity: 0.045;
  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='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Header fixo com desfoque ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(10, 10, 12, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.site-header.is-stuck {
  background: rgba(10, 10, 12, 0.92);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}
.site-header img {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.site-header img:hover { transform: scale(1.04); }

.header-chip {
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, color 0.3s ease;
}
.header-chip:hover { border-color: var(--accent); color: var(--bone); }

/* ---------- Aurora do hero ---------- */

.hero, .offer-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.hero::before, .offer-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -35%;
  right: -18%;
  width: 78vw;
  height: 78vw;
  max-width: 1000px;
  max-height: 1000px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 38%, var(--accent-soft), transparent 58%),
    radial-gradient(circle at 68% 62%, rgba(245, 242, 236, 0.055), transparent 62%);
  filter: blur(24px);
  animation: drift 22s ease-in-out infinite alternate;
}
.offer-hero::before { right: auto; left: 50%; margin-left: -39vw; }

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-5%, 6%, 0) scale(1.14); }
}

/* Linha de horizonte que separa o hero do resto */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.5;
}

.hero .container, .offer-hero .container { position: relative; z-index: 1; }

/* ---------- Assinatura: o chifre que se desenha ---------- */

.horn svg path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw-horn 1.1s cubic-bezier(0.65, 0, 0.35, 1) 0.45s forwards;
}
@keyframes draw-horn {
  to { stroke-dashoffset: 0; }
}

/* ---------- Card do formulário ---------- */

.form-card {
  position: relative;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.4s ease;
}
/* fio de luz na borda superior do card */
.form-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg, var(--accent), transparent 42%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.8;
}
.form-card:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6);
}

.field input,
.field select { will-change: border-color; }
.field input:hover,
.field select:hover { border-color: var(--slate); }

.field.invalid input,
.field.invalid select { animation: shake 0.35s ease; }
@keyframes shake {
  25% { transform: translateX(-5px); }
  50% { transform: translateX(5px); }
  75% { transform: translateX(-3px); }
}

.form-progress .bar i {
  position: relative;
  overflow: hidden;
}
.form-progress .bar i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.65), transparent);
  animation: slide-sheen 1.8s ease-in-out infinite;
}
@keyframes slide-sheen {
  from { transform: translateX(-100%); }
  to   { transform: translateX(100%); }
}

/* Passos entram deslizando */
.form-step:not([hidden]) {
  animation: step-in 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes step-in {
  from { opacity: 0; transform: translateX(14px); }
}

/* ---------- Botões ---------- */

.btn {
  position: relative;
  overflow: hidden;
}
/* brilho que atravessa o botão no hover */
.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 45%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-18deg);
  transition: left 0.6s ease;
}
.btn:hover::after { left: 130%; }
.btn:active { transform: translateY(1px) scale(0.99); }

/* ---------- Estatísticas ---------- */

.stat {
  position: relative;
  padding-bottom: 0.6rem;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.stat::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transform: translateX(-50%);
  transition: width 0.4s ease;
}
.stat:hover { transform: translateY(-5px); }
.stat:hover::after { width: 46px; }

/* ---------- Cards de entrega ---------- */

.deliverable {
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.4s ease,
              background 0.4s ease;
}
/* faixa de acento que cresce na lateral */
.deliverable::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.deliverable:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 242, 236, 0.2);
  background: var(--coal-2);
}
.deliverable:hover::before { transform: scaleY(1); }

.deliverable .emoji {
  display: inline-block;
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.deliverable:hover .emoji { transform: scale(1.18) rotate(-6deg); }

.topics li {
  transition: color 0.25s ease, transform 0.25s ease;
}
.topics li:hover { color: #fff; transform: translateX(3px); }
.topics li::before { transition: transform 0.25s ease; }
.topics li:hover::before { transform: scale(1.25); }

/* ---------- Bloco de investimento ---------- */

.includes li {
  border-radius: var(--radius-sm);
  transition: background 0.25s ease, transform 0.25s ease;
}
.includes li:hover {
  background: rgba(245, 242, 236, 0.05);
  transform: translateX(4px);
}

.price-block .price em {
  background: linear-gradient(100deg, var(--accent) 20%, #fff 45%, var(--accent) 70%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4.5s linear infinite;
}
@keyframes shimmer {
  to { background-position: -250% 0; }
}

/* ---------- Faixa de status ---------- */

.status-banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(100deg, var(--accent-deep), var(--accent), var(--accent-deep));
  background-size: 220% 100%;
  animation: banner-flow 9s ease-in-out infinite alternate;
}
@keyframes banner-flow {
  to { background-position: 100% 0; }
}

/* ---------- Rodapé ---------- */

.site-footer img {
  opacity: 0.75;
  transition: opacity 0.3s ease;
}
.site-footer img:hover { opacity: 1; }

/* ---------- Acessibilidade: respeita quem pediu menos movimento ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .enter { animation: none; }
  .cta-big,
  .hero::before,
  .offer-hero::before,
  .status-banner,
  .price-block .price em,
  .form-progress .bar i::after,
  .form-step:not([hidden]),
  .horn svg path {
    animation: none;
  }
  .horn svg path { stroke-dashoffset: 0; }
  .btn::after { display: none; }
  .stat:hover,
  .deliverable:hover,
  .form-card:focus-within { transform: none; }
}
