:root {
  --ink: #0d2b22;
  --ink-2: #123a2e;
  --muted: #5b6b64;
  --rule: #d5e3db;
  --white: #ffffff;
  --tint: #f4faf6;
  --grama: #3cb043;
  --grama-dark: #237a2c;
  --teal: #00b8a9;
  --teal-dark: #00796f;
  --grama-bright: #6fd04e;
  --on-dark-muted: #cfe6d8;
  --gutter: clamp(16px, 5vw, 96px);
  --radius: 18px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  padding-left: max(0px, env(safe-area-inset-left, 0px));
  padding-right: max(0px, env(safe-area-inset-right, 0px));
}

:focus-visible {
  outline: 3px solid var(--grama-bright);
  outline-offset: 3px;
  border-radius: 6px;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

p {
  margin: 0;
}

.faixa {
  padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px));
}

.etiqueta {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grama-dark);
  margin-bottom: 16px;
}

/* ---------- Cabeçalho ---------- */

.cabecalho {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  padding-top: env(safe-area-inset-top, 0px);
}

.cabecalho.rolado {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(160%) blur(12px);
  box-shadow: 0 1px 0 var(--rule);
}

.cabecalho-interno {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.marca {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.marca img {
  width: 36px;
  height: 36px;
}

.menu {
  display: flex;
  gap: 28px;
  font-size: 15px;
  font-weight: 600;
}

.menu a {
  text-decoration: none;
  color: var(--on-dark-muted);
  transition: color 0.2s ease;
}

.cabecalho.rolado .menu a {
  color: var(--muted);
}

.menu a:hover {
  color: var(--white);
}

.cabecalho.rolado .menu a:hover {
  color: var(--ink);
}

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

.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 26px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.botao:hover {
  transform: translateY(-2px);
}

.botao-pequeno {
  min-height: 42px;
  padding: 10px 20px;
  font-size: 15px;
}

.botao-principal {
  background: linear-gradient(120deg, var(--grama) 0%, var(--teal) 100%);
  color: var(--ink);
  box-shadow: 0 10px 30px -10px rgba(60, 176, 67, 0.7);
}

.botao-principal:hover {
  box-shadow: 0 16px 40px -10px rgba(60, 176, 67, 0.85);
}

.botao-entrar {
  background: var(--white);
  color: var(--grama-dark);
}

.botao-contorno {
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.botao-contorno:hover {
  background: rgba(255, 255, 255, 0.08);
}

.botao-contorno-escuro {
  border: 1.5px solid var(--grama-dark);
  color: var(--grama-dark);
}

.botao-contorno-escuro:hover {
  background: var(--tint);
}

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

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #0d2b22 0%, #14493a 55%, #0f5b57 100%);
  color: var(--white);
  padding-top: 140px;
  padding-bottom: 96px;
}

.hero-interno {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 64px;
  align-items: center;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
}

.hero h1 {
  font-size: clamp(42px, 6.4vw, 84px);
  line-height: 1.02;
  font-weight: 800;
  margin-bottom: 28px;
}

.destaque-texto {
  background: linear-gradient(100deg, var(--grama-bright), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  font-size: clamp(18px, 2vw, 22px);
  color: var(--on-dark-muted);
  max-width: 56ch;
  margin-bottom: 40px;
}

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

.nota-hero {
  margin-top: 24px;
  font-size: 14px;
  color: var(--on-dark-muted);
  opacity: 0.85;
}

.halo {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  pointer-events: none;
  animation: flutuar 14s ease-in-out infinite alternate;
}

.halo-um {
  width: 520px;
  height: 520px;
  background: var(--grama);
  top: -160px;
  right: -120px;
}

.halo-dois {
  width: 420px;
  height: 420px;
  background: var(--teal);
  bottom: -180px;
  left: -140px;
  animation-delay: -6s;
}

@keyframes flutuar {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(40px, -30px) scale(1.12);
  }
}

/* Mockup do painel */

.mockup-wrapper {
  perspective: 1200px;
}

.mockup {
  background: rgba(255, 255, 255, 0.97);
  color: var(--ink);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.5);
  transform: rotateX(6deg) rotateY(-10deg);
  transform-origin: center;
  transition: transform 0.6s ease;
}

.mockup:hover {
  transform: rotateX(0) rotateY(0);
}

.mockup-barra {
  display: flex;
  gap: 6px;
  padding: 14px 16px;
  background: var(--tint);
  border-bottom: 1px solid var(--rule);
}

.mockup-barra span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--rule);
}

.mockup-corpo {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mockup-titulo {
  font-weight: 700;
  font-size: 18px;
}

.mockup-indicadores {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mockup-indicadores div {
  background: var(--tint);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mockup-indicadores span {
  font-size: 13px;
  color: var(--muted);
}

.mockup-indicadores strong {
  font-size: 24px;
  letter-spacing: -0.02em;
}

.verde {
  color: var(--grama-dark);
}

.grafico {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 160px;
  padding-top: 8px;
}

.grafico i {
  flex: 1;
  height: var(--altura);
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, var(--teal) 0%, var(--grama) 100%);
  transform-origin: bottom;
  animation: subir 1s ease both;
}

.grafico i:nth-child(2) {
  animation-delay: 0.08s;
}
.grafico i:nth-child(3) {
  animation-delay: 0.16s;
}
.grafico i:nth-child(4) {
  animation-delay: 0.24s;
}
.grafico i:nth-child(5) {
  animation-delay: 0.32s;
}
.grafico i:nth-child(6) {
  animation-delay: 0.4s;
}

@keyframes subir {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}

.mockup-legenda {
  font-size: 12px;
  color: var(--muted);
}

/* ---------- Faixa de rolagem ---------- */

.faixa-marquee {
  overflow: hidden;
  background: var(--ink);
  padding-block: 18px;
  border-bottom: 1px solid var(--ink-2);
}

.trilho {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: rolar 28s linear infinite;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--on-dark-muted);
}

.trilho span {
  position: relative;
  padding-left: 48px;
}

.trilho span::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  border-radius: 50%;
  background: var(--grama-bright);
}

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

/* ---------- Seções ---------- */

.secao {
  padding-block: clamp(80px, 10vw, 140px);
}

.secao h2,
.porque h2,
.perguntas h2 {
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.08;
  font-weight: 800;
  margin-bottom: 64px;
  max-width: 20ch;
}

/* Recursos alternados */

.recurso {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
  padding-block: 56px;
  border-top: 1px solid var(--rule);
}

.recurso.reverso .recurso-texto {
  order: 2;
}

.recurso.reverso .recurso-visual {
  order: 1;
}

.numero {
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  color: var(--grama-dark);
  margin-bottom: 14px;
}

.recurso h3 {
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 800;
  margin-bottom: 18px;
}

.recurso p {
  color: var(--muted);
  font-size: 19px;
  max-width: 44ch;
}

.recurso-visual {
  position: relative;
  background: linear-gradient(160deg, var(--tint) 0%, #e4f5ea 100%);
  border-radius: 24px;
  padding: 36px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  min-width: 0;
}

.legenda-visual {
  position: absolute;
  bottom: 14px;
  right: 18px;
  font-size: 12px;
  color: var(--muted);
}

.linha-visual {
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: center;
  gap: 14px;
  font-weight: 600;
  font-size: 15px;
}

.linha-visual i {
  display: block;
  height: 14px;
  width: var(--largura);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--grama), var(--teal));
}

.nota {
  background: var(--white);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 20px 40px -24px rgba(13, 43, 34, 0.35);
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 15px;
}

.nota-cabecalho,
.nota-linha,
.nota-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.nota-cabecalho {
  font-weight: 700;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--rule);
}

.selo-ok {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #d8f3dc;
  color: #1b5e20;
}

.nota-linha span {
  color: var(--muted);
}

.nota-total {
  border-top: 1px solid var(--rule);
  padding-top: 12px;
  font-weight: 800;
  font-size: 17px;
}

.cartao-credito {
  background: var(--white);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 20px 40px -24px rgba(13, 43, 34, 0.35);
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-left: 6px solid var(--grama);
}

.cartao-credito span {
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
}

.cartao-credito strong {
  font-size: 42px;
  letter-spacing: -0.03em;
  color: var(--grama-dark);
}

.cartao-credito p {
  color: var(--muted);
  font-size: 15px;
}

/* Como funciona */

.como-funciona {
  background: var(--ink);
  color: var(--white);
}

.como-funciona .etiqueta {
  color: var(--grama-bright);
}

.como-funciona h2 {
  color: var(--white);
}

.passos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
}

.passos li {
  background: var(--ink-2);
  border-radius: var(--radius);
  padding: 36px 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.passos li:hover {
  transform: translateY(-6px);
  border-color: var(--grama);
}

.passo-numero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(120deg, var(--grama), var(--teal));
  color: var(--ink);
  font-weight: 800;
  font-size: 22px;
  margin-bottom: 24px;
}

.passos h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.passos p {
  color: var(--on-dark-muted);
  font-size: 17px;
}

/* Por que agora */

.porque .etiqueta {
  color: var(--teal-dark);
}

.linha-tempo {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 32px;
  margin-bottom: 64px;
  padding-top: 24px;
}

.linha-tempo::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--grama), var(--teal));
}

.marco span {
  display: block;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--grama-dark);
  margin-bottom: 8px;
}

.marco p {
  color: var(--muted);
  font-size: 17px;
}

.texto-apoio {
  max-width: 62ch;
  font-size: 19px;
  color: var(--muted);
}

/* Planos */

.cards-planos {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
}

.plano {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 22px;
  padding: 36px 32px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plano:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -30px rgba(13, 43, 34, 0.3);
}

.plano h3 {
  font-size: 22px;
  font-weight: 700;
}

.preco strong {
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.periodo {
  font-size: 15px;
  color: var(--muted);
  margin-top: -8px;
}

.plano ul {
  margin: 8px 0 16px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--muted);
  font-size: 16px;
}

.plano li::before {
  content: '✓';
  color: var(--grama-dark);
  font-weight: 800;
  margin-right: 10px;
}

.plano .botao {
  margin-top: auto;
}

.plano-destaque {
  background: linear-gradient(170deg, var(--ink) 0%, var(--ink-2) 100%);
  color: var(--white);
  border: none;
}

.plano-destaque h3,
.plano-destaque .preco strong {
  color: var(--white);
}

.plano-destaque .periodo,
.plano-destaque ul {
  color: var(--on-dark-muted);
}

.plano-destaque li::before {
  color: var(--grama-bright);
}

.nota-planos {
  margin-top: 32px;
  font-size: 15px;
  color: var(--muted);
}

/* Perguntas */

.perguntas {
  background: var(--tint);
}

.lista-perguntas {
  display: grid;
  gap: 14px;
  max-width: 820px;
}

.lista-perguntas details {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 0 24px;
  transition: border-color 0.2s ease;
}

.lista-perguntas details[open] {
  border-color: var(--grama);
}

.lista-perguntas summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 0;
  font-weight: 700;
  font-size: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

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

.lista-perguntas summary::after {
  content: '+';
  font-size: 26px;
  font-weight: 400;
  color: var(--grama-dark);
  transition: transform 0.2s ease;
}

.lista-perguntas details[open] summary::after {
  transform: rotate(45deg);
}

.lista-perguntas details p {
  padding-bottom: 22px;
  color: var(--muted);
  font-size: 17px;
}

/* Chamada final */

.chamada-final {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #0d2b22 0%, #14493a 55%, #0f5b57 100%);
  color: var(--white);
  padding-block: clamp(96px, 12vw, 160px);
  text-align: center;
}

.chamada-interna {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.chamada-final h2 {
  font-size: clamp(38px, 5.4vw, 72px);
  line-height: 1.04;
  font-weight: 800;
  max-width: 18ch;
}

.chamada-final p {
  font-size: 20px;
  color: var(--on-dark-muted);
}

/* Rodapé */

.rodape {
  background: var(--ink);
  color: var(--on-dark-muted);
  padding-block: 48px;
  font-size: 15px;
}

.rodape-interno {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
}

.rodape .marca {
  color: var(--white);
}

.rodape .slogan {
  color: var(--white);
  font-weight: 600;
}

/* ---------- Revelação ao rolar ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

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

@media (max-width: 900px) {
  .hero-interno,
  .recurso {
    grid-template-columns: 1fr;
  }

  .recurso.reverso .recurso-texto,
  .recurso.reverso .recurso-visual {
    order: initial;
  }

  .mockup {
    transform: none;
  }

  .hero {
    padding-top: 120px;
  }
}

@media (max-width: 720px) {
  .menu {
    display: none;
  }

  .botao-entrar {
    margin-left: auto;
  }

  .recurso {
    padding-block: 40px;
  }

  .recurso-visual {
    min-height: 240px;
    padding: 24px;
  }

  .secao h2 {
    margin-bottom: 40px;
  }
}

/* ---------- Movimento reduzido ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

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