/* Zcode · estilos do site (www.zcode.com.br)
   Fontes: Inter (licença em assets/fonts/OFL.txt). */

@font-face {
  font-family: Inter;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/inter-400.woff2) format("woff2")
}

@font-face {
  font-family: Inter;
  font-weight: 700;
  font-display: swap;
  src: url(../assets/fonts/inter-700.woff2) format("woff2")
}

@font-face {
  font-family: Inter;
  font-weight: 900;
  font-display: swap;
  src: url(../assets/fonts/inter-900.woff2) format("woff2")
}

:root {
  --verde: #176B4B;
  --profundo: #104B37;
  --papel: #F7F8F3;
  --tinta: #17231D;
  --salvia: #B5C8AD;
  --suave: #EAF0E5;
  --linha: #D1DCD0;
  --mudo: #506256;
  --branco: #FFFEFA;

  --gutter: clamp(24px, 5vw, 64px);
  --section: clamp(104px, 14vw, 184px);
  --ease: cubic-bezier(.22, 1, .36, 1);

  --fs-display: clamp(38px, 4.6vw, 70px);
  --fs-h2: clamp(30px, 3.3vw, 52px);
  --fs-statement: clamp(20px, 1.7vw, 26px);
  --fs-lead: clamp(17px, 1.3vw, 20px);
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px
}

body {
  margin: 0;
  background: var(--tinta);
  color: var(--papel);
  font: 400 17px/1.55 Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility
}

h1,
h2,
h3,
p,
ol,
ul,
figure {
  margin: 0;
  padding: 0
}

ol,
ul {
  list-style: none
}

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

img {
  height: auto
}

a {
  color: inherit
}

button {
  font: inherit;
  cursor: pointer
}

h1,
h2 {
  font-weight: 900;
  letter-spacing: -.032em;
  line-height: 1.08;
  text-wrap: balance
}

h3 {
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1.25
}

p {
  text-wrap: pretty
}

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

.light :focus-visible {
  outline-color: var(--verde)
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--papel);
  color: var(--tinta);
  padding: 12px 16px
}

.skip:focus {
  top: 16px
}

.wrap {
  width: min(1240px, 100% - var(--gutter)*2);
  margin-inline: auto
}

.section {
  padding-block: var(--section);
  position: relative
}

/* endereços do site anterior (#services, #what-we-do, #our-faqs, #page-contact-us): marcam o topo da seção equivalente */
.ancora {
  position: absolute;
  top: 0
}

.dark {
  background: var(--tinta);
  color: var(--papel)
}

.light {
  background: var(--papel);
  color: var(--tinta)
}

/* Destaques para leitura rápida:
   <mark> = marca-texto nos títulos · <strong> = palavra-chave no corpo do texto */
mark {
  color: inherit;
  background: linear-gradient(transparent 60%, var(--hl) 60%, var(--hl) 94%, transparent 94%);
  padding-inline: .06em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone
}

.light {
  --hl: rgba(181, 200, 173, .85)
}

.dark {
  --hl: rgba(23, 107, 75, .95)
}

strong {
  font-weight: 700
}

.light strong {
  color: var(--tinta)
}

.dark strong {
  color: var(--papel)
}

/* Eyebrow: o ponto verde vem do ponto do logotipo */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: clamp(24px, 3vw, 40px)
}

.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--verde);
  flex: none
}

.dark .eyebrow {
  color: var(--salvia)
}

.dark .eyebrow::before {
  background: var(--salvia)
}

.light .eyebrow {
  color: var(--verde)
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  max-width: 34em
}

.dark .lead {
  color: #C9D5C4
}

.light .lead {
  color: #3E4F45
}

.h2 {
  font-size: var(--fs-h2);
  max-width: 18ch
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  padding: 16px 26px;
  border-radius: 2px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: background .18s var(--ease), color .18s var(--ease)
}

.btn .arrow {
  transition: transform .36s var(--ease)
}

.btn:hover .arrow {
  transform: translateX(4px)
}

.btn--green {
  background: var(--verde);
  color: var(--branco)
}

.btn--green:hover {
  background: var(--profundo)
}

.btn--paper {
  background: var(--papel);
  color: var(--profundo)
}

.btn--paper:hover {
  background: var(--branco)
}

.btn--outline {
  background: transparent;
  border: 1.5px solid rgba(23, 35, 29, .4);
  color: var(--tinta);
  padding-block: 14.5px
}

.btn--outline:hover {
  border-color: var(--tinta);
  background: rgba(23, 35, 29, .05)
}

.link {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px
}

.micro {
  font-size: 14px;
  line-height: 1.5
}

.dark .micro {
  color: #A9B8A8
}

.light .micro {
  color: var(--mudo)
}

/* Espaço reservado para imagem: troque o <div class="ph"> por um <img> */

/* ---------- Cabeçalho ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background .36s var(--ease), color .36s var(--ease), box-shadow .36s var(--ease)
}

.header__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px
}

.header .logo {
  width: 120px;
  height: auto
}

.header nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  font-size: 15px
}

.header nav a:not(.btn) {
  text-decoration: none;
  opacity: .8
}

.header nav a:not(.btn):hover {
  opacity: 1
}

.header .btn {
  min-height: 42px;
  padding: 10px 18px;
  font-size: 14px
}

.header[data-theme=dark] {
  color: var(--papel);
  --logo-sym: var(--salvia);
  --logo-word: var(--papel);
  --logo-dot: var(--salvia)
}

.header[data-theme=dark] .btn {
  background: var(--papel);
  color: var(--profundo)
}

.header[data-theme=light] {
  color: var(--tinta);
  --logo-sym: var(--verde);
  --logo-word: var(--tinta);
  --logo-dot: var(--verde)
}

.header[data-theme=light] .btn {
  background: var(--verde);
  color: var(--branco)
}

.header.is-scrolled[data-theme=dark] {
  background: rgba(23, 35, 29, .86);
  backdrop-filter: blur(12px)
}

.header.is-scrolled[data-theme=light] {
  background: rgba(247, 248, 243, .88);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--linha)
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: 136px 72px;
  position: relative;
  overflow: hidden
}

.hero h1 {
  font-size: var(--fs-display);
  max-width: 11ch
}

.hero .lead {
  margin-top: clamp(24px, 2.6vw, 36px);
  max-width: 31em
}

.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-top: clamp(32px, 3.6vw, 48px)
}

/* ---------- 01 · O problema ---------- */

.asks__title {
  margin-bottom: 28px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase
}

.dark .asks__title {
  color: var(--salvia)
}

.light .asks__title {
  color: var(--verde)
}

/* tabela numerada: 3 colunas (uma por área), 2 perguntas em cada */
.asks__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, auto);
  grid-auto-flow: column;
  border-top: 1px solid var(--bd);
  border-left: 1px solid var(--bd)
}

.dark .asks__grid {
  --bd: rgba(247, 248, 243, .22)
}

.light .asks__grid {
  --bd: rgba(23, 35, 29, .22)
}

.asks__cell {
  padding: clamp(24px, 2.6vw, 36px);
  border-right: 1px solid var(--bd);
  border-bottom: 1px solid var(--bd)
}

.asks__n {
  display: block;
  font-size: clamp(44px, 4.6vw, 64px);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1
}

.asks__area {
  display: inline-block;
  margin-top: 20px;
  padding: 4px 11px;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase
}

.dark .asks__n,
.dark .asks__area {
  color: var(--salvia)
}

.light .asks__n,
.light .asks__area {
  color: var(--verde)
}

.asks__note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--mudo)
}

.confused .asks__note {
  color: var(--salvia)
}

.asks__cell h3 {
  margin-top: 14px;
  font-size: clamp(19px, 1.6vw, 23px);
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1.3
}

/* ---------- 2ª seção · O problema (personagem confuso) ---------- */
.confused {
  padding-block: clamp(72px, 9vw, 128px) 0;
  overflow: hidden;
  background: var(--verde);
  color: var(--papel);
  --hl: rgba(16, 75, 55, .85)
}

.confused .eyebrow {
  color: var(--salvia)
}

.confused .eyebrow::before {
  background: var(--salvia)
}

.confused .lead {
  color: #E3EEDD
}

.confused__grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  grid-template-areas: "img txt";
  gap: clamp(48px, 7vw, 112px);
  align-items: center
}

.confused__text {
  grid-area: txt
}

.confused__photo {
  grid-area: img;
  position: relative;
  width: 100%;
  max-width: 460px;
  justify-self: center
}

.confused__photo::before {
  content: "";
  position: absolute;
  inset: 6% -5% -5% 8%;
  background: var(--branco);
  transform: rotate(3deg);
  z-index: 0
}

.confused__photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  border-radius: 2px;
  filter: grayscale(1)
}

.confused .lead {
  margin-top: 28px
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px
}

.chips li {
  padding: 9px 16px;
  border: 1.5px solid rgba(247, 248, 243, .55);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--papel)
}

.confused__quote {
  margin-top: 32px;
  padding-left: 22px;
  border-left: 3px solid var(--salvia);
  font-size: clamp(19px, 1.6vw, 23px);
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1.35;
  max-width: 24em
}

/* faixa de largura total, em destaque */
.confused__callout {
  margin-top: clamp(72px, 9vw, 128px);
  padding-block: clamp(48px, 6vw, 88px);
  background: var(--profundo);
  color: var(--papel);
  text-align: center
}

.confused__callout p {
  max-width: 26em;
  margin-inline: auto;
  font-size: clamp(26px, 3.6vw, 52px);
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1.12
}

.confused__callout mark {
  --hl: rgba(181, 200, 173, .35)
}

.confused__callout .alt {
  display: block;
  margin-top: .5em;
  color: var(--salvia)
}

.asks__grid--rows {
  grid-template-rows: none;
  grid-auto-flow: row
}


/* ---------- Acenda a luz: desbloqueio + virada para o modo claro ---------- */
.lightup {
  --p: 0
}

/* fundo próprio: mais fundo que o hero no escuro, verde-sálvia suave no claro */
.lightup.dark {
  background: #0A100D;
  border-top: 1px solid rgba(181, 200, 173, .22)
}

.lightup.light {
  background: var(--suave);
  border-top: 1px solid rgba(23, 107, 75, .22)
}

.lightup__stage {
  position: relative;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: clamp(32px, 4vw, 44px);
  padding: clamp(72px, 10vw, 136px) var(--gutter) clamp(32px, 4vw, 48px);
  text-align: center;
  overflow: hidden
}

.lightup__stage::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 60% 50% at 50% 46%, rgba(181, 200, 173, calc(var(--p) * .22)), transparent 70%)
}

.lightup__title {
  position: relative;
  font-size: clamp(44px, 9vw, 132px);
  letter-spacing: -.05em;
  line-height: .95;
  max-width: none;
  opacity: calc(.3 + var(--p) * .7);
  text-shadow: 0 0 calc(var(--p) * 70px) rgba(181, 200, 173, .5)
}

.lightup__head {
  position: relative
}

.lightup__sub {
  margin: clamp(16px, 2vw, 24px) auto 0;
  font-size: clamp(18px, 1.6vw, 22px);
  text-align: center
}

.unlock {
  position: relative;
  width: min(380px, 100%);
  height: 68px;
  border-radius: 999px;
  border: 1.5px solid rgba(247, 248, 243, .28);
  background: rgba(247, 248, 243, .04);
  touch-action: none;
  user-select: none;
  -webkit-user-select: none
}

.unlock__fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 66px;
  border-radius: 999px;
  background: var(--salvia);
  opacity: .22
}

.unlock__label {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding-left: 50px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(247, 248, 243, .35) 0%, rgba(247, 248, 243, .95) 50%, rgba(247, 248, 243, .35) 100%) 0 0/200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 2.6s linear infinite
}

@keyframes shimmer {
  to {
    background-position: -200% 0
  }
}

.unlock__knob {
  position: absolute;
  left: 6px;
  top: 6px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--papel);
  color: var(--tinta);
  display: grid;
  place-items: center;
  cursor: grab;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .35)
}

.unlock__knob:active {
  cursor: grabbing
}

.unlock__knob svg {
  width: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round
}

.unlock.snap.auto .unlock__knob,
.unlock.snap.auto .unlock__fill {
  transition-duration: 1s
}

.unlock.snap .unlock__knob,
.unlock.snap .unlock__fill {
  transition: transform .5s var(--ease), width .5s var(--ease)
}

.unlock:focus-visible {
  outline: 3px solid var(--salvia);
  outline-offset: 5px
}

.unlock.done {
  border-color: var(--salvia)
}

.unlock.done .unlock__label {
  animation: none;
  color: var(--salvia);
  background: none;
  padding-left: 0;
  padding-right: 50px
}

.pairs {
  padding-block: 0 var(--section)
}

.lightup__hint {
  display: none;
  font-size: 14px;
  color: var(--mudo)
}

.lit .lightup__hint {
  display: block
}


.real {
  font-size: clamp(22px, 2.3vw, 32px);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.15;
  margin: 0
}

.real {
  font-size: clamp(28px, 3.2vw, 46px);
  line-height: 1.1;
  letter-spacing: -.035em
}

.real {
  color: var(--tinta);
  opacity: 0;
  visibility: hidden;
  transition: opacity .6s var(--ease) calc(var(--i) * .14s + .25s), visibility 0s linear calc(var(--i) * .14s + .25s)
}

.real b {
  font-weight: 900
}

@keyframes rise {
  from {
    opacity: 0;
    translate: 0 10px
  }
}

/* ----- Modo claro: tudo o que estava fixo para o escuro ----- */
.lit .lightup__stage::before {
  background: none
}

.lit .lightup__title {
  text-shadow: none
}

.lit .unlock {
  border-color: var(--verde);
  background: rgba(23, 107, 75, .06)
}

.lit .unlock.done .unlock__label {
  color: var(--verde)
}

.lit .unlock__fill {
  background: var(--verde)
}

.lit .unlock__knob {
  background: var(--tinta);
  color: var(--papel);
  box-shadow: 0 6px 20px rgba(23, 35, 29, .25)
}

.lit .real {
  opacity: 1;
  visibility: visible
}

.lit .real b {
  color: var(--verde);
  background: linear-gradient(transparent 62%, var(--salvia) 62%, var(--salvia) 92%, transparent 92%);
  padding-inline: .05em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone
}

@media (max-width:960px) {

  .success__grid ol.asks__grid.asks__grid--ba {
    grid-template-columns: 1fr;
    margin-top: 88px
  }

  .asks__grid--ba .asks__cell {
    padding: 16px 18px
  }

  .real {
    margin-top: 14px
  }
}

@media (prefers-reduced-motion:reduce) {

  .unlock__label {
    animation: none !important
  }
}

/* ---------- 03 · Como a Zcode ajuda ---------- */
.guide {
  background: var(--suave);
  --hl: rgba(181, 200, 173, 1)
}

.guide .lead {
  margin-top: 28px
}

.guide .lead+.lead {
  margin-top: 16px
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 4vw, 64px);
  margin-top: clamp(72px, 8vw, 120px)
}

.steps li {
  border-top: 2px solid var(--tinta);
  padding-top: 24px
}

.steps .num {
  font-size: 14px;
  font-weight: 700;
  color: var(--verde);
  display: flex;
  justify-content: space-between
}

.steps .num span:last-child {
  color: var(--mudo);
  font-weight: 400
}

.steps h3 {
  font-size: clamp(22px, 1.9vw, 28px);
  font-weight: 900;
  letter-spacing: -.03em;
  margin-top: 20px
}

.steps p {
  margin-top: 12px;
  color: #3E4F45;
  max-width: 28em
}

/* ---------- 04 · Diagnóstico de 1 página ---------- */

.checks {
  margin-top: 36px;
  display: grid;
  gap: 14px
}

.checks li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  font-size: 17px
}

.checks li::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--verde);
  transform: translateY(-2px)
}

.sheet {
  position: relative;
  background: var(--branco);
  padding: clamp(28px, 3.4vw, 44px);
  box-shadow: 0 1px 0 var(--linha), 0 30px 60px -30px rgba(16, 75, 55, .35);
  transform: rotate(-2deg);
  max-width: 440px;
  margin-inline: auto;
  width: 100%
}

.sheet::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 50%;
  width: 120px;
  height: 30px;
  transform: translateX(-50%) rotate(3deg);
  background: rgba(181, 200, 173, .75)
}

.sheet__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1.5px solid var(--tinta)
}

.sheet__top svg {
  width: 30px
}

.sheet__top span {
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--mudo)
}

.sheet h3 {
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -.02em;
  margin-top: 20px
}

.sheet ol {
  margin-top: 20px;
  display: grid;
  gap: 20px
}

.sheet li {
  display: grid;
  gap: 8px
}

.sheet .k {
  font-size: 12px;
  font-weight: 700;
  color: var(--verde)
}

.bar {
  height: 7px;
  border-radius: 4px;
  background: #E3E8DF;
  width: var(--w)
}

.sheet li:last-child .k {
  color: var(--tinta)
}

.sheet li:last-child .bar {
  background: var(--salvia)
}

.sheet__foot {
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--mudo)
}

/* ---------- 05 · O que está em jogo ---------- */

/* ---------- 05 · A transformação ---------- */
.success {
  border-top: 1px solid var(--linha)
}

.success {
  overflow: hidden
}

.success .lead {
  margin-top: 24px
}

.success__grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  grid-template-areas: "head img" "list img";
  column-gap: clamp(40px, 6vw, 96px);
  align-items: start
}

.success__head {
  grid-area: head
}

.success__photo {
  grid-area: img;
  position: relative;
  width: 100%;
  max-width: 460px;
  justify-self: center
}

.success__photo::before {
  content: "";
  position: absolute;
  inset: 6% -5% -5% 8%;
  background: var(--verde);
  transform: rotate(3deg);
  z-index: 0
}

.success__photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 2px
}

/* transformação: grade padrão, compacta */
.success__grid .asks__grid--ba {
  grid-area: list;
  margin-top: clamp(32px, 4vw, 48px);
  grid-template-columns: 1fr 1fr
}

.asks__grid--ba .asks__cell {
  padding: clamp(18px, 1.8vw, 24px)
}

.asks__grid--ba .asks__n {
  display: inline-block;
  margin-right: 10px;
  font-size: 28px;
  vertical-align: middle
}

.asks__grid--ba .asks__area {
  margin-top: 0;
  vertical-align: middle
}

.ba__from {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.35;
  color: #8C998D;
  text-decoration: line-through;
  text-decoration-thickness: 1.5px
}

.ba__to {
  margin-top: 4px;
  font-size: clamp(17px, 1.5vw, 20px);
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1.25
}

.ba__to.hl {
  color: var(--verde)
}

/* tabela Antes | Depois, em duas colunas (desktop e mobile) */

.success__close {
  margin-top: clamp(64px, 8vw, 104px);
  max-width: 22em;
  font-size: clamp(26px, 3vw, 44px);
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1.1
}

/* ---------- Faixa e CTA final ---------- */
.band {
  background: var(--profundo);
  color: var(--salvia);
  overflow: hidden;
  padding-block: 24px;
  border-bottom: 1px solid rgba(181, 200, 173, .18)
}

.band__track {
  display: flex;
  width: max-content;
  animation: band 60s linear infinite
}

.band__track span {
  font-size: clamp(19px, 1.9vw, 26px);
  font-weight: 900;
  letter-spacing: -.02em;
  white-space: nowrap;
  padding-right: 44px;
  display: flex;
  align-items: center;
  gap: 44px
}

.band__track span::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--papel)
}

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

.final {
  background: var(--profundo);
  color: var(--papel)
}

.final .eyebrow {
  color: var(--salvia)
}

.final .eyebrow::before {
  background: var(--salvia)
}

.final h2 {
  font-size: clamp(46px, 7vw, 104px);
  letter-spacing: -.045em;
  line-height: 1
}

.final mark {
  --hl: rgba(181, 200, 173, .28);
  background: linear-gradient(transparent 58%, var(--hl) 58%, var(--hl) 86%, transparent 86%)
}

.final .lead {
  margin-top: 32px;
  color: #D5E2D2;
  max-width: 32em
}

.final strong {
  color: var(--papel)
}

.final .micro {
  margin-top: 24px;
  color: #A9C1AB
}

.footer {
  background: var(--tinta);
  color: #A9B8A8;
  padding-block: 72px 48px;
  font-size: 14px;
  --logo-sym: var(--salvia);
  --logo-word: var(--papel);
  --logo-dot: var(--salvia)
}

.footer__grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap
}

.footer .logo {
  width: 132px
}

.footer p {
  max-width: 30em;
  margin-top: 20px;
  line-height: 1.55
}

.footer nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap
}

.footer nav a {
  text-decoration: none
}

.footer nav a:hover {
  color: var(--papel)
}

.footer__base {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid rgba(247, 248, 243, .1);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap
}

/* ===== tabelas (padrão do site) nas seções de sinais e "Acenda a luz" ===== */

.pairs {
  --bd: rgba(247, 248, 243, .22)
}

.lit .pairs {
  --bd: rgba(23, 35, 29, .22)
}

.pairs .real,
.lit .pairs .real {
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.15
}

@media (max-width:960px) {

  .pairs .real {
    margin-top: 12px
  }
}

/* chamada para ação por seção */
.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 40px;
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: clamp(24px, 3vw, 32px);
  border-top: 1px solid rgba(23, 35, 29, .22)
}

.cta__t {
  max-width: 24em;
  font-size: clamp(19px, 1.8vw, 24px);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.3
}

.cta__b {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px
}

.confused .cta {
  border-top-color: rgba(247, 248, 243, .35);
  justify-content: flex-start
}

@media (max-width:640px) {

  .cta__b,
  .cta__b .btn {
    width: 100%
  }
}

/* troca de tema com transição, em sincronia com o botão que desliza */
.lightup.sw,
.lightup.sw * {
  transition: color 1s var(--ease), background-color 1s var(--ease), border-color 1s var(--ease), opacity 1s var(--ease), text-shadow 1s var(--ease)
}

.lightup.sw .real {
  transition: opacity .7s var(--ease) calc(var(--i) * .14s + .2s), visibility 0s linear calc(var(--i) * .14s + .2s), color 1s var(--ease)
}

/* cronograma: pequeno e separado dos passos */
.timeline {
  margin-top: clamp(40px, 5vw, 64px)
}

.timeline__t {
  margin-bottom: 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--mudo)
}

.timeline ol {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative
}

.timeline ol::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 5px;
  height: 1px;
  background: rgba(23, 35, 29, .3)
}

.timeline li {
  position: relative;
  padding-top: 24px
}

.timeline li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--verde)
}

.timeline b {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
  color: var(--tinta)
}

.timeline span {
  font-size: 14px;
  line-height: 1.45;
  color: var(--mudo)
}

@media (max-width:960px) {
  .timeline ol {
    grid-template-columns: 1fr;
    gap: 0
  }

  .timeline ol::before {
    left: 5px;
    right: auto;
    top: 5px;
    bottom: 5px;
    width: 1px;
    height: auto
  }

  .timeline li {
    padding: 0 0 20px 32px
  }

  .timeline li:last-child {
    padding-bottom: 0
  }
}

/* ---------- Formulário ---------- */
.formsec {
  background: var(--suave);
  --hl: rgba(181, 200, 173, 1)
}

.form__grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(40px, 7vw, 112px);
  align-items: start
}

.form__intro .lead {
  margin-top: 28px
}

.form__intro .checks {
  margin-top: 32px
}

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: clamp(24px, 3vw, 40px);
  background: var(--branco);
  border: 1px solid var(--linha);
  box-shadow: 0 30px 60px -36px rgba(16, 75, 55, .35)
}

.field {
  display: grid;
  gap: 8px;
  min-width: 0
}

.field--full {
  grid-column: 1 / -1
}

.field label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--mudo)
}

.field input,
.field select {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  font: inherit;
  font-size: 16px;
  color: var(--tinta);
  background: var(--papel);
  border: 1.5px solid rgba(23, 35, 29, .28);
  border-radius: 2px;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease)
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none' stroke='%23176B4B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m1 1 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center
}

.field select:invalid {
  color: #6C7B71
}

.field input::placeholder {
  color: #8C998D
}

.field input:hover,
.field select:hover {
  border-color: rgba(23, 35, 29, .55)
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--verde);
  box-shadow: 0 0 0 3px rgba(23, 107, 75, .2)
}

.field input:user-invalid,
.field select:user-invalid,
.field.is-invalid input,
.field.is-invalid select {
  border-color: #A63D2F
}

.form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  margin-top: 4px
}

.form__actions .btn {
  border: 0
}

.form__actions .btn[disabled] {
  opacity: .6;
  cursor: progress
}

.form__status {
  grid-column: 1 / -1;
  min-height: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--verde)
}

.form__status:empty {
  display: none
}

.form__status.is-error {
  color: #A63D2F
}

@media (max-width:960px) {
  .form__grid {
    grid-template-columns: 1fr
  }
}

@media (max-width:640px) {
  .form {
    grid-template-columns: 1fr
  }
}

/* ---------- Modal do PDF ---------- */
html.modal-open {
  overflow: hidden
}

.modal {
  width: min(480px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--tinta);
  overflow: visible
}

.modal::backdrop {
  background: rgba(23, 35, 29, .72);
  backdrop-filter: blur(4px)
}

.modal[open] {
  animation: modal-in .36s var(--ease)
}

.modal[open]::backdrop {
  animation: fade-in .36s var(--ease)
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(16px)
  }
}

@keyframes fade-in {
  from {
    opacity: 0
  }
}

.modal__box {
  position: relative;
  padding: clamp(28px, 4vw, 40px);
  background: var(--branco);
  border-radius: 2px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .5);
  max-height: calc(100vh - 32px);
  overflow: auto
}

.modal__box .eyebrow {
  margin-bottom: 20px;
  color: var(--verde)
}

.modal__box mark {
  --hl: rgba(181, 200, 173, 1)
}

.modal__x {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--tinta);
  transition: background .18s var(--ease)
}

.modal__x:hover {
  background: var(--suave)
}

.modal__x svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round
}

.modal__t {
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.1
}

.modal__lead {
  margin-top: 14px;
  font-size: 16px;
  color: #3E4F45
}

#pdf-form {
  display: grid;
  gap: 18px;
  margin-top: 26px
}

#pdf-form .btn {
  border: 0;
  justify-content: space-between
}

#pdf-form .btn[disabled] {
  opacity: .6;
  cursor: progress
}

/* ========== index2: blocos novos da versão enxuta ========== */

.confused__next {
  margin-top: 28px;
  font-size: 17px
}

.confused__next .link {
  color: var(--papel)
}

/* guia: 3 frentes, sem números grandes (números grandes só no plano) */

/* como trabalhamos: autoridade pelo método, enquanto não há prova social */

/* plano: o único lugar com números grandes */
.plan__lead {
  margin-top: 24px
}

.steps--big .num {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 10px 14px
}

.steps--big .num__n {
  font-size: clamp(44px, 4.6vw, 64px);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1;
  color: var(--verde)
}

.step__tag {
  display: inline-block;
  padding: 4px 11px;
  border: 1.5px solid var(--verde);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--verde)
}

.steps--big .num span:last-child {
  color: var(--verde);
  font-weight: 700
}

/* o primeiro passo, dentro do plano */

/* fracasso: 3 riscos concretos */

/* formulário: fundo claro para alternar com o castelo */
.formsec {
  background: var(--papel)
}

.form__alt {
  margin-top: 32px
}

.form__alt+.micro {
  margin-top: 8px
}

/* ========== index3: meta → plano → operação, e por que a Zcode ========== */
/* descritor ao lado do logotipo (proposta da decisão de nome) */
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none
}

.brand__desc {
  padding-left: 14px;
  border-left: 1px solid currentColor;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1.2;
  opacity: .8
}

/* texto só para leitor de tela */
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0
}

/* hero: o caminho visível acima da dobra */
.path {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 28px;
  font-size: 14px;
  font-weight: 700;
  color: var(--tinta)
}

.path li {
  display: flex;
  align-items: center;
  gap: 9px
}

.path b {
  display: grid;
  place-items: center;
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--verde);
  color: var(--branco);
  font-size: 12px
}

.path li+li::before {
  content: "→";
  margin-right: 4px;
  color: var(--verde);
  font-weight: 700
}

/* etiquetas: o que o plano define e as ferramentas operadas */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px
}

.tags li {
  padding: 7px 14px;
  border: 1.5px solid rgba(23, 107, 75, .4);
  border-radius: 999px;
  background: var(--branco);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--profundo)
}

/* selo verde: o número que a Zcode acompanha */
.ind {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--verde);
  color: var(--branco);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25
}

/* ----- 01 · Plano de receita ----- */
.plan__head {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: end
}

.plan__head .lead {
  margin-top: 0
}

/* ----- 02 · O que a Zcode faz ----- */
.what {
  background: var(--suave);
  --hl: rgba(181, 200, 173, 1)
}

.what__grid {
  display: grid;
  grid-template-columns: 6fr 5fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center
}

.what__grid .lead {
  margin-top: 28px
}

.roles {
  display: grid;
  gap: 0;
  margin-top: 32px;
  border-top: 1px solid rgba(23, 35, 29, .22)
}

.roles li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  align-items: baseline;
  padding-block: 14px;
  border-bottom: 1px solid rgba(23, 35, 29, .22);
  font-size: 17px
}

.roles b {
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--mudo)
}

.roles__z b,
.roles__z span {
  color: var(--verde);
  font-weight: 700
}

.tools {
  margin-top: clamp(48px, 6vw, 72px);
  padding-top: clamp(24px, 3vw, 32px);
  border-top: 1px solid rgba(23, 35, 29, .22)
}

.tools .asks__title {
  margin-bottom: 14px
}

/* painel ilustrativo (mesma linguagem da folha) */
.dash {
  transform: rotate(1.5deg);
  max-width: 460px
}

.dash::before {
  transform: translateX(-50%) rotate(-2deg)
}

.dash__k {
  margin-top: 18px;
  font-size: 12px;
  font-weight: 700;
  color: var(--verde)
}

.dash__k--gap {
  margin-top: 14px
}

.dash__funnel {
  display: grid;
  gap: 6px;
  margin-top: 10px
}

.dash__funnel li {
  width: var(--w);
  min-width: 92px;
  padding: 7px 10px;
  border-radius: 3px;
  background: var(--suave);
  font-size: 12px;
  font-weight: 700;
  color: var(--profundo)
}

.dash__funnel li:last-child {
  background: var(--verde);
  color: var(--branco)
}

.dash__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px
}

.dash__grid .bar {
  display: block;
  margin-top: 8px
}

.bar--hl {
  background: var(--salvia)
}

.dash__meter {
  display: block;
  height: 10px;
  margin-top: 10px;
  border-radius: 5px;
  background: #E3E8DF;
  overflow: hidden
}

.dash__meter i {
  display: block;
  width: var(--w);
  height: 100%;
  background: var(--verde)
}

.dash__next {
  margin-top: 20px;
  padding: 12px 14px;
  border-left: 3px solid var(--verde);
  background: var(--papel);
  font-size: 14px;
  line-height: 1.4
}

.dash__next b {
  display: block;
  margin-bottom: 2px;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--verde)
}

/* ----- 03 · Por que a Zcode: comparação escaneável ----- */
.why__head {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: end
}

.why__head .lead {
  margin-top: 0
}

.mx {
  margin-top: clamp(48px, 6vw, 72px);
  border: 1px solid rgba(23, 35, 29, .22);
  background: var(--branco)
}

.mx__row {
  display: grid;
  grid-template-columns: minmax(200px, 1.6fr) repeat(4, 1fr);
  border-top: 1px solid rgba(23, 35, 29, .12)
}

.mx__row>span {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 16px 12px;
  text-align: center
}

.mx__row>.mx__crit {
  align-items: flex-start;
  gap: 2px;
  padding-left: clamp(16px, 2vw, 28px);
  text-align: left;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--tinta)
}

.mx__crit small {
  font-size: 13px;
  font-weight: 400;
  color: var(--mudo)
}

.mx__row>span>small:not(.mx__long) {
  font-size: 12px;
  line-height: 1.25;
  color: var(--mudo)
}

.mx__head {
  border-top: 0
}

.mx__head>span {
  gap: 2px;
  padding-block: 18px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--tinta)
}

.mx__head small {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--mudo)
}

.mx__row>.mx__z {
  background: rgba(23, 107, 75, .08)
}

.mx__head>.mx__z {
  background: var(--verde);
  font-size: 17px;
  font-weight: 900;
  color: var(--branco)
}

.mx__best {
  border-top: 2px solid rgba(23, 35, 29, .22)
}

.mx__best>span:not(.mx__crit) {
  justify-content: flex-start;
  font-size: 14px;
  line-height: 1.4;
  color: #3E4F45
}

.mx__best>.mx__z {
  font-weight: 700;
  color: var(--profundo)
}

.mk {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%
}

.mk--yes {
  background: var(--verde)
}

.mk--yes::after {
  content: "";
  width: 10px;
  height: 5px;
  margin-top: -3px;
  border-left: 2px solid var(--branco);
  border-bottom: 2px solid var(--branco);
  transform: rotate(-45deg)
}

.mk--part {
  border: 2px solid var(--verde);
  background: linear-gradient(90deg, var(--verde) 50%, transparent 50%)
}

.mk--no {
  width: 14px;
  height: 2px;
  border-radius: 1px;
  background: #A3B0A5
}

.mx__legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px
}

.mx__legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px
}

.mx__legend .mk--yes,
.mx__legend .mk--part {
  width: 16px;
  height: 16px
}

.mx__legend .mk--yes::after {
  width: 7px;
  height: 4px;
  margin-top: -2px;
  border-width: 1.5px
}

.mx__legend .mk--part {
  border-width: 1.5px
}

.mx__legend .mk--no {
  width: 12px
}

.deal--row {
  margin-top: clamp(48px, 6vw, 72px)
}

/* combinados em faixa de três colunas */
.deal__list--row {
  grid-template-columns: repeat(3, 1fr);
  gap: 0 32px
}

.deal__list--row li {
  border-bottom: 0
}

.deal__list {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(23, 35, 29, .22);
  counter-reset: deal
}

.deal__list li {
  position: relative;
  padding: 16px 0 16px 44px;
  border-bottom: 1px solid rgba(23, 35, 29, .22);
  font-size: 16px;
  line-height: 1.45;
  color: #3E4F45;
  counter-increment: deal
}

.deal__list li::before {
  content: counter(deal, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 16px;
  font-size: 14px;
  font-weight: 900;
  color: var(--verde)
}

.deal__list b {
  display: block;
  font-size: 17px;
  color: var(--tinta)
}

/* quem você encontra na conversa: foto, bio, como é a conversa e o botão no mesmo card */
.founder {
  display: grid;
  grid-template-columns: minmax(220px, 4fr) 7fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  margin-top: clamp(40px, 5vw, 64px);
  padding: clamp(24px, 3vw, 44px);
  border: 1px solid rgba(23, 35, 29, .14);
  border-radius: 8px;
  background: var(--branco)
}

.founder__photo {
  width: 100%;
  max-width: 340px;
  justify-self: center;
  transform: rotate(-1.5deg)
}

.founder__photo img {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 24px 48px -28px rgba(16, 75, 55, .55)
}

.founder__name {
  margin-top: 4px;
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.1
}

.founder__role {
  margin-top: 4px;
  font-size: 15px;
  font-weight: 700;
  color: var(--verde)
}

.founder__bio {
  max-width: 36em;
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.55;
  color: #3E4F45
}

.founder__talk {
  margin-top: 24px;
  padding: 18px 20px;
  border-left: 3px solid var(--verde);
  border-radius: 4px;
  background: var(--suave)
}

.founder__k {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--verde)
}

.founder__talk p+p {
  margin-top: 6px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--tinta)
}

.founder__talk .founder__lens {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 13px;
  color: var(--mudo)
}

.founder__lens b {
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--verde);
  color: var(--branco);
  font-size: 13px;
  font-weight: 700
}

.founder .btn {
  margin-top: 24px
}

/* formulário */
.checks--inline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 24px
}

/* dúvidas */
.faq__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: start
}

.faq__list {
  border-top: 1px solid rgba(23, 35, 29, .22)
}

.faq__list details {
  border-bottom: 1px solid rgba(23, 35, 29, .22)
}

.faq__list summary {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  font-size: clamp(17px, 1.4vw, 20px);
  font-weight: 700;
  letter-spacing: -.01em;
  cursor: pointer;
  list-style: none
}

.faq__list summary::-webkit-details-marker {
  display: none
}

.faq__list summary::after {
  content: "+";
  flex: none;
  font-size: 24px;
  line-height: 1;
  color: var(--verde);
  transition: transform .18s var(--ease)
}

.faq__list details[open] summary::after {
  transform: rotate(45deg)
}

.faq__list details p {
  padding: 0 40px 22px 0;
  font-size: 16px;
  line-height: 1.55;
  color: #3E4F45
}

/* intervalo de cor: dúvidas no claro, formulário no verde suave */
.formsec {
  background: var(--suave)
}

@media (max-width:960px) {

  .plan__head,
  .what__grid,
  .faq__grid,
  .why__head {
    grid-template-columns: 1fr
  }

  .dash {
    justify-self: start
  }
}

@media (max-width:760px) {
  .brand__desc {
    display: none
  }

  .mx__row {
    grid-template-columns: repeat(4, 1fr)
  }

  .mx__row>.mx__crit {
    grid-column: 1 / -1;
    padding: 14px 14px 2px;
    font-size: 15px
  }

  .mx__row>span {
    padding: 8px 4px 14px
  }

  .mx__head>.mx__crit,
  .mx__head .mx__long {
    display: none
  }

  .mx__head>span {
    padding: 12px 4px;
    font-size: 13px
  }

  .mx__head>.mx__z {
    font-size: 14px
  }

  .mx__row>span>small:not(.mx__long) {
    font-size: 11px
  }

  .mx__best>span:not(.mx__crit) {
    grid-column: 1 / -1;
    display: block;
    padding: 10px 14px;
    border-top: 1px solid rgba(23, 35, 29, .1);
    text-align: left
  }

  .mx__best>span:not(.mx__crit)::before {
    content: attr(data-col);
    display: block;
    margin-bottom: 2px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--mudo)
  }

  .mx__best>.mx__z::before {
    color: var(--verde)
  }
}

@media (max-width:640px) {
  :root {
    --section: 72px
  }

  .roles li {
    grid-template-columns: 1fr;
    gap: 2px
  }

  .founder {
    padding: 20px
  }

  .founder .btn {
    width: 100%;
    justify-content: space-between
  }

  .path {
    flex-direction: column;
    gap: 10px
  }

  .path li+li::before {
    display: none
  }

  .tags li {
    font-size: 13px;
    padding: 6px 12px
  }
}

/* ========== Hero com foto ao fundo, castelo de cartas e "Acenda a luz" em cards ========== */
/* etiqueta das versões em comparação (sai quando uma for escolhida) */

/* ----- Hero: foto ao fundo em preto e branco, escurecida; conteúdo centralizado ----- */
.hero2 {
  isolation: isolate;
  background: var(--tinta);
  color: var(--papel);
  text-align: center;
  --hl: rgba(23, 107, 75, .95)
}

.hero2__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 38%;
  filter: grayscale(1) contrast(1.05)
}

.hero2::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse 60% 65% at 50% 52%, rgba(8, 9, 9, .92) 0%, rgba(8, 9, 9, .86) 60%, rgba(8, 9, 9, .78) 100%)
}

.hero2__in {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center
}

.hero2 .eyebrow {
  color: var(--salvia)
}

.hero2 .eyebrow::before {
  background: var(--salvia)
}

.hero2 h1 {
  max-width: 13ch;
  color: var(--papel)
}

.hero2 .lead {
  margin-top: clamp(24px, 2.6vw, 36px);
  max-width: 33em;
  color: #C9D5C4
}

.hero2 strong {
  color: var(--papel)
}

.hero2 .hero__actions {
  align-items: stretch;
  width: min(320px, 100%)
}

.hero2 .hero__actions .btn {
  justify-content: center
}

.hero2 .btn--outline {
  border-color: rgba(247, 248, 243, .5);
  color: var(--papel)
}

.hero2 .btn--outline:hover {
  border-color: var(--papel);
  background: rgba(247, 248, 243, .08)
}

.hero2 .path {
  justify-content: center;
  color: var(--papel)
}

.hero2 .path li+li::before {
  color: var(--salvia)
}

/* ----- Castelo de cartas: fundo branco, citação em destaque, imagem do lado oposto ao da seção anterior ----- */
.castle3 {
  background: var(--branco)
}

.castle3__grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  grid-template-areas: "txt img";
  gap: clamp(32px, 6vw, 96px);
  align-items: center
}

.castle3__img {
  grid-area: img;
  width: 100%;
  max-width: 400px;
  justify-self: center
}

.castle3__text {
  grid-area: txt
}

.castle3 .lead {
  margin-top: 24px
}

.castle3__quote {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px 48px;
  margin-top: clamp(48px, 6vw, 80px);
  padding: clamp(32px, 4.4vw, 64px);
  background: var(--profundo);
  color: var(--papel);
  --hl: rgba(181, 200, 173, .35)
}

.castle3__quote blockquote {
  flex: 1 1 26em;
  margin: 0
}

.castle3__quote p {
  max-width: 21em;
  font-size: clamp(28px, 3.4vw, 50px);
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1.12
}

/* ----- Acenda a luz em cards: o que parece faltar → o que a gente olha → o que geralmente falta.
   Apagada: cada card mostra só "o que parece faltar". Acesa: o resto abre em sequência e aparece o card final. ----- */
.lcards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px
}

.lcard {
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid rgba(247, 248, 243, .16);
  border-radius: 6px;
  background: rgba(247, 248, 243, .03);
  transition: padding .6s var(--ease)
}

.lit .lcard {
  padding: 24px 22px 22px;
  border-color: rgba(23, 35, 29, .14);
  background: var(--branco);
  box-shadow: 0 14px 30px -26px rgba(16, 75, 55, .55)
}

.lcard__k {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.3;
  text-transform: uppercase;
  color: #8FA08E
}

.lit .lcard__k {
  color: var(--mudo)
}

.lcard__think {
  display: flex;
  align-items: center;
  gap: 14px
}

.lcard__n {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1;
  color: var(--salvia)
}

.lit .lcard__n {
  color: var(--verde)
}

.lcard__obvio {
  margin-top: 2px;
  font-size: clamp(20px, 1.8vw, 24px);
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.2;
  color: var(--papel);
  transition: font-size .6s var(--ease), color .6s var(--ease)
}

.lit .lcard__obvio {
  font-size: 20px;
  font-weight: 700;
  color: #7A887C
}

/* o resto do card: fechado no escuro, abre ao acender */
.lcard__more {
  flex: 1;
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .6s var(--ease)
}

.lit .lcard__more {
  grid-template-rows: 1fr
}

.lcard__in {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity .6s var(--ease) calc(var(--i) * .12s + .3s), visibility 0s linear calc(var(--i) * .12s + .3s)
}

.lit .lcard__in {
  opacity: 1;
  visibility: visible
}

.lcard__look {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px dashed rgba(23, 35, 29, .2)
}

.lcard__look .ind {
  margin-top: 8px
}

.lcard__need {
  margin-top: auto;
  padding: 14px 16px;
  border-left: 3px solid var(--verde);
  border-radius: 4px;
  background: var(--suave)
}

.lit .lcard__need .lcard__k {
  color: var(--verde)
}

.lcard__need p+p {
  margin-top: 4px;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.25;
  color: var(--profundo)
}

/* card final: por que o resultado fica previsível (só com a luz acesa) */
.lcard--end {
  display: none;
  gap: 20px
}

.lit .lcard--end {
  display: flex;
  border-color: var(--verde);
  background: var(--verde);
  animation: rise .7s var(--ease) .9s both
}

.lit .lcard--end .lcard__k {
  color: var(--salvia)
}

.lcard__big {
  font-size: clamp(24px, 2.2vw, 30px);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.15;
  color: var(--branco)
}

.lcard--end .btn {
  align-self: flex-start;
  margin-top: auto
}

.lcards__note {
  margin-top: 20px
}

/* durante a troca de tema (.sw), mantém a abertura em sequência */
.lightup.sw .lcard {
  transition: padding .8s var(--ease), border-color 1s var(--ease), background-color 1s var(--ease), box-shadow 1s var(--ease)
}

.lightup.sw .lcard__obvio {
  transition: font-size .8s var(--ease), color 1s var(--ease)
}

.lightup.sw .lcard__more {
  transition: grid-template-rows .8s var(--ease)
}

.lightup.sw .lcard__in {
  transition: opacity .7s var(--ease) calc(var(--i) * .12s + .35s), visibility 0s linear calc(var(--i) * .12s + .35s)
}

@media (max-width:1100px) {
  .lcards {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media (max-width:960px) {
  .castle3__grid {
    grid-template-columns: 1fr;
    grid-template-areas: "img" "txt"
  }

  .castle3__img {
    max-width: 260px;
    justify-self: start
  }
}

@media (max-width:760px) {
  .hero2 .path {
    align-items: center
  }
}

@media (max-width:640px) {
  .lcards {
    grid-template-columns: 1fr;
    gap: 12px
  }

  .lcard--end .btn,
  .castle3__quote .btn {
    align-self: stretch;
    width: 100%;
    justify-content: space-between
  }
}

/* ----- Problema: a foto passa por cima da borda e entra na seção seguinte ----- */
:root {
  --foto-sobra: clamp(72px, 9vw, 140px)
}

.confused {
  padding-bottom: clamp(48px, 6vw, 88px)
}

/* corta só na horizontal (a forma inclinada não gera rolagem lateral); na vertical a foto pode sair da seção */
@supports (overflow: clip) {
  .confused {
    overflow: visible;
    overflow-x: clip
  }
}

.confused__photo {
  z-index: 3;
  align-self: end;
  margin-bottom: calc(-1 * (clamp(48px, 6vw, 88px) + var(--foto-sobra)))
}

/* a seção seguinte ganha o espaço que a foto ocupa no topo dela */
.confused+.section {
  padding-top: calc(var(--foto-sobra) + clamp(56px, 7vw, 112px))
}

/* sombra leve: a foto parece apoiada sobre a seção seguinte */
.confused__photo img {
  box-shadow: 0 30px 60px -30px rgba(16, 24, 20, .45)
}

/* ----- Por que a Zcode · tabela no celular: ícones alinhados, coluna da Zcode contínua, cabeçalho fixo
   e "melhor quando" em lista (no desktop, o "melhor quando" continua dentro da tabela) ----- */
.mx-best {
  display: none
}

@media (max-width:760px) {
  /* coluna da Zcode como uma faixa contínua, de cima a baixo */
  .mx--m2 {
    background: linear-gradient(90deg, transparent 75%, rgba(23, 107, 75, .08) 75%), var(--branco)
  }

  .mx--m2 .mx__row>.mx__z {
    background: none
  }

  .mx--m2 .mx__head>.mx__z {
    background: var(--verde)
  }

  /* cabeçalho fixo enquanto a tabela passa: as colunas continuam identificadas */
  .mx--m2 .mx__head {
    position: sticky;
    top: 76px;
    z-index: 2;
    background: linear-gradient(90deg, var(--branco) 75%, var(--verde) 75%);
    box-shadow: 0 1px 0 rgba(23, 35, 29, .14)
  }

  /* menos informação: sem as notas do "em parte" e sem os complementos dos critérios */
  .mx--m2 .mx__crit small,
  .mx--m2 .mx__row>span>small:not(.mx__long) {
    display: none
  }

  .mx--m2 .mx__row>.mx__crit {
    padding: 14px 14px 0;
    font-size: 15px
  }

  /* ícones sempre na mesma linha */
  .mx--m2 .mx__row>span:not(.mx__crit) {
    justify-content: center;
    padding: 10px 4px 14px
  }

  .mx--m2 .mx__best {
    display: none
  }

  /* "melhor quando" fora da tabela, em lista curta */
  .mx-best {
    display: block;
    margin-top: 28px
  }

  .mx-best__t {
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--verde)
  }

  .mx-best ul {
    border-top: 1px solid rgba(23, 35, 29, .14)
  }

  .mx-best li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(23, 35, 29, .14);
    font-size: 15px;
    line-height: 1.45;
    color: #3E4F45
  }

  .mx-best b {
    margin-right: 6px;
    color: var(--tinta)
  }

  .mx-best .mx-best__z {
    padding-left: 12px;
    border-left: 3px solid var(--verde);
    background: rgba(23, 107, 75, .06)
  }

  .mx-best .mx-best__z b {
    color: var(--verde)
  }
}

/* ----- Plano de receita: os degraus até a meta. A meta é do dono; cada degrau é um detalhe que a Zcode cuida,
   e a base escura mostra a ferramenta que sustenta cada um. ----- */
.stair {
  margin-top: clamp(40px, 5vw, 64px);
  padding: clamp(22px, 3vw, 40px);
  border: 1px solid rgba(23, 35, 29, .14);
  border-radius: 8px;
  /* papel pontilhado, como um caderno de planejamento */
  background: radial-gradient(circle, rgba(23, 35, 29, .13) 1px, transparent 1.5px) 0 0 / 22px 22px, var(--branco)
}

.stair .asks__title {
  margin-bottom: 24px
}

.stair__steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0 10px;
  align-items: end
}

/* base escura: as ferramentas que sustentam cada degrau */
.stair__steps::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 48px;
  border-radius: 4px;
  background: var(--tinta)
}

.stair__steps li {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column
}

.stair__block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: calc(110px + var(--h, 0) * 26px);
  padding: 14px;
  border-radius: 6px 6px 0 0;
  background: var(--c, transparent)
}

.stair__ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--branco);
  color: var(--verde);
  box-shadow: 0 2px 6px rgba(16, 75, 55, .15)
}

.stair__ico svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round
}

.stair__txt {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.25;
  color: var(--tinta)
}

.stair__tool {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 6px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  color: var(--branco)
}

/* "com" só aparece no celular; no desktop, quem explica é o rótulo da base */
.stair__via {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap
}

/* ponto de partida: no chão, sem degrau */
.stair__start .stair__block {
  height: auto;
  justify-content: flex-end;
  padding: 0 0 14px
}

.stair__start .stair__ico {
  background: var(--tinta);
  color: var(--branco)
}

.stair__start .stair__tool span {
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--salvia)
}

/* a meta: o degrau mais alto, com a bandeira */
.stair__goal .stair__block {
  background: var(--profundo)
}

.stair__goal .stair__ico {
  background: var(--salvia);
  color: var(--profundo)
}

.stair__goal .stair__txt {
  font-size: 17px;
  font-weight: 900;
  color: var(--branco)
}

.stair__goal small {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--salvia)
}

.stair__cap {
  margin-top: 20px;
  font-size: 16px;
  color: #3E4F45
}

/* tablet e celular: o mesmo gráfico com linhas horizontais. Cada degrau é uma barra que cresce para a direita
   até a meta; a linha escura à esquerda é a base, e a etiqueta escura mostra a ferramenta de cada degrau. */
@media (max-width:1100px) {
  .stair__steps {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-left: 6px
  }

  .stair__steps::after {
    top: 44px;
    right: auto;
    width: 4px;
    height: auto;
    border-radius: 2px
  }

  .stair__steps li {
    display: grid;
    grid-template-columns: 36px 1fr;
    grid-template-areas: "ico txt" "tool tool";
    align-items: center;
    gap: 10px 12px;
    width: calc(60% + var(--h, 0) * 6.67%);
    padding: 12px;
    border-radius: 0 6px 6px 0;
    background: var(--c, transparent)
  }

  .stair__block {
    display: contents
  }

  .stair__ico {
    grid-area: ico
  }

  .stair__txt {
    grid-area: txt
  }

  .stair__tool {
    grid-area: tool;
    display: block;
    justify-self: start;
    height: auto;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--tinta);
    font-size: 11px
  }

  .stair__via {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    font-weight: 400
  }

  /* ponto de partida: só o alfinete, sobre o começo da base */
  .stair__steps .stair__start {
    grid-template-areas: "ico txt";
    width: auto;
    margin-left: -6px;
    padding: 0 0 6px;
    background: none
  }

  .stair__start .stair__tool,
  .stair__goal .stair__tool {
    display: none
  }

  /* a meta: a barra mais longa, verde-escura, com a bandeira */
  .stair__steps .stair__goal {
    grid-template-areas: "ico txt";
    width: 100%;
    background: var(--profundo)
  }

  .stair__goal .stair__txt {
    font-size: 16px
  }
}

.faq__more {
  margin-top: 28px;
  font-size: 16px;
  color: #3E4F45
}


@media (max-width:960px) {
  .deal__list--row {
    grid-template-columns: 1fr
  }

  .deal__list--row li {
    border-bottom: 1px solid rgba(23, 35, 29, .22)
  }

  .founder {
    grid-template-columns: 1fr
  }

  .founder__photo {
    max-width: 300px;
    justify-self: start
  }
}

/* ---------- Revelação ao rolar ---------- */
.js .reveal {
  opacity: 0;
  translate: 0 16px;
  transition: opacity .6s var(--ease), translate .6s var(--ease)
}

.js .reveal.in {
  opacity: 1;
  translate: none
}

/* ---------- Responsivo ---------- */
@media (max-width:960px) {
  .header nav a:not(.btn) {
    display: none
  }

  .hero {
    padding-block: 120px 56px
  }

  .asks__grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-flow: row
  }

  .success__grid {
    grid-template-columns: 1fr;
    grid-template-areas: "head" "img" "list"
  }

  .success__photo {
    max-width: 420px;
    justify-self: start;
    margin: 40px 5% 0 0
  }

  .confused__grid {
    grid-template-columns: 1fr;
    grid-template-areas: "txt" "img"
  }

  .confused__photo {
    max-width: 420px;
    justify-self: start;
    margin-right: 5%
  }

  .steps {
    grid-template-columns: 1fr
  }


}

@media (max-width:640px) {
  :root {
    --fs-h2: 38px;
    --fs-display: 46px
  }

  .lightup__title {
    font-size: 58px
  }

  .header .logo {
    width: 104px
  }

  .header .btn {
    padding: 10px 14px;
    font-size: 13px
  }

  .btn {
    width: 100%;
    justify-content: space-between
  }

  .header .btn {
    width: auto
  }
}

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

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

  .js .reveal {
    opacity: 1;
    translate: none
  }

}
