/* Preço Claro Pro | Página de vendas
   Direção: clareza e controle. Assinatura: a barra da conta. */

:root {
  /* Paleta da marca */
  --green: #155B43;
  --green-dark: #0E4431;
  --paper: #F6F2E9;
  --ink: #162822;
  --gold: #C4A771;
  --gold-deep: #8A6F3A;      /* dourado para texto pequeno sobre o papel */
  --panel: #FBF9F4;
  --tint: #ECE6D8;
  --muted: #485851;
  --line: #D9D2C1;
  --line-strong: #8F978F;    /* bordas interativas */

  /* Segmentos da barra da conta */
  --seg-tempo: #155B43;
  --seg-material: #3E7D63;
  --seg-executor: #7FA894;
  --seg-taxas: #B9CDBF;
  --seg-fica: #C4A771;

  --radius: 14px;
  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-text: "Instrument Sans", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --ease-out: cubic-bezier(.22, .8, .24, 1);
  --ease-soft: cubic-bezier(.45, .05, .25, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
  overflow-x: clip;
  animation: page-in .6s var(--ease-out) both;
}
@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }

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

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 7.4vw, 3.9rem); max-width: 17ch; }
h2 { font-size: clamp(1.75rem, 5vw, 2.6rem); max-width: 20ch; }
h3 { font-size: 1.125rem; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }

p { margin: 0 0 1rem; }
a { color: var(--green); }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }

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

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 50;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 8px;
  font-weight: 700;
}
.skip-link:focus { top: 12px; }

/* Ambiente: a grade da planilha, fixa e lenta ao fundo */
.ambient {
  position: fixed;
  inset: -64px;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(21, 91, 67, .055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(21, 91, 67, .055) 1px, transparent 1px);
  background-size: 96px 32px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 20%, #000 0%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 70% at 70% 20%, #000 0%, transparent 75%);
  animation: drift 90s linear infinite;
  animation-delay: -20s;
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-96px, -64px, 0); }
}
body.paused *, body.paused *::before, body.paused *::after { animation-play-state: paused !important; }

.kicker {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
}
.kicker::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 2px;
  margin-right: 10px;
  vertical-align: middle;
  background: var(--gold);
}
.kicker--light { color: var(--gold); }

/* Botões */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 14px 28px;
  border: 0;
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s var(--ease-soft), transform .2s var(--ease-out);
}
.btn--primary { background: var(--green); color: #FFFDF8; }
.btn--primary:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn--primary:active { transform: translateY(0); }
.btn--block { display: flex; width: 100%; }
.btn--small { min-height: 48px; padding: 10px 16px; font-size: 0.82rem; }

/* Topo */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
.brand { display: block; border-radius: 6px; }
.brand__logo { width: 168px; }
.header-link {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--green);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  padding: 10px 0;
  transition: color .2s var(--ease-soft);
}
.header-link:hover { color: var(--ink); }

/* Primeira dobra */
.hero { padding: 40px 0 64px; }
.hero__grid { display: grid; gap: 36px; }
.hero h1 { margin-bottom: 18px; }
.lead {
  font-size: 1.1875rem;
  color: var(--muted);
  max-width: 34ch;
  margin-bottom: 28px;
}
.cta-block .btn { width: 100%; }
.cta-notes {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  font-size: 0.9375rem;
  color: var(--muted);
}
.cta-notes strong { color: var(--ink); }

.hero__text > * { animation: rise .8s var(--ease-out) both; }
.hero__text > :nth-child(2) { animation-delay: .08s; }
.hero__text > :nth-child(3) { animation-delay: .16s; }
.hero__text > :nth-child(4) { animation-delay: .24s; }
.hero__media { margin: 0; animation: rise 1s var(--ease-out) .2s both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.hero__media img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  aspect-ratio: 760 / 660;
  object-fit: cover;
}
.hero__media figcaption {
  margin-top: 8px;
  font-size: 0.8125rem;
  color: var(--muted);
}

/* Seções */
.section { padding: 72px 0; }
.section--tint { background: rgba(236, 230, 216, .92); }
.section h2 { margin-bottom: 18px; }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head p:last-child { color: var(--muted); margin-bottom: 0; max-width: 60ch; }

/* Entradas por scroll */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.js .reveal.in { opacity: 1; transform: none; }

/* PROBLEMA */
.problem__grid { display: grid; gap: 36px; }
.problem__text p { max-width: 58ch; }

/* Assinatura: a barra da conta */
.ledger {
  margin: 0;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.ledger__cap { margin-bottom: 18px; font-weight: 600; line-height: 1.4; }
.ledger__cap .mono {
  display: block;
  margin-bottom: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.bar {
  display: flex;
  gap: 3px;
  height: 44px;
  border-radius: 8px;
  overflow: hidden;
}
.bar__seg {
  flex: var(--w, 1) 1 0;
  min-width: 0;
  transform-origin: left center;
  transition: flex-grow .5s var(--ease-out);
}
.seg--tempo { background: var(--seg-tempo); }
.seg--material { background: var(--seg-material); }
.seg--executor { background: var(--seg-executor); }
.seg--taxas { background: var(--seg-taxas); }
.seg--fica {
  background: var(--seg-fica);
  position: relative;
}
/* Pulso de brilho em nível de sussurro no que fica */
.seg--fica::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 253, 248, .45), transparent);
  opacity: 0;
}
.ledger.in .bar .seg--fica::after,
.lab.in .bar .seg--fica::after { animation: shimmer 5s var(--ease-soft) infinite; animation-delay: -1.5s; }
@keyframes shimmer { 0%, 70%, 100% { opacity: 0; } 85% { opacity: 1; } }

/* A barra se desenha quando entra na tela */
.js .ledger .bar__seg { transform: scaleX(0); transition: transform .7s var(--ease-out); }
.ledger.in .bar__seg { transform: scaleX(1); }
.ledger.in .bar__seg:nth-child(2) { transition-delay: .12s; }
.ledger.in .bar__seg:nth-child(3) { transition-delay: .24s; }
.ledger.in .bar__seg:nth-child(4) { transition-delay: .36s; }
.ledger.in .bar__seg:nth-child(5) { transition-delay: .5s; }

.legend { list-style: none; margin: 18px 0 0; padding: 0; }
.legend li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid #E8E2D4;
  font-size: 0.9375rem;
}
.legend span { flex: 1; }
.legend b { font-weight: 500; white-space: nowrap; }
.sw { flex: 0 0 12px; height: 12px; border-radius: 3px; align-self: center; }
.legend__fica { font-weight: 700; }
.legend__fica b { font-weight: 700; color: var(--gold-deep); }

.invisible h3 { margin-bottom: 14px; }
.cost-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cost-list li {
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  font-size: 0.9rem;
  font-weight: 600;
}

/* RESPOSTAS (benefícios) */
.answers {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  border-top: 2px solid var(--ink);
}
.answer {
  display: grid;
  gap: 8px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line-strong);
}
.answer__tab {
  justify-self: start;
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--green);
  color: #FFFDF8;
  font-size: 0.75rem;
  font-weight: 500;
}
.answer h3 { font-size: clamp(1.25rem, 3.6vw, 1.6rem); }
.answer p { margin: 0; color: var(--muted); max-width: 62ch; }

/* LABORATÓRIO (momento interativo) */
.lab { display: grid; gap: 20px; align-items: start; }
.lab__control {
  padding: 22px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
}
.lab__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}
.lab__price {
  display: block;
  margin: 4px 0 14px;
  font-size: clamp(2rem, 9vw, 2.75rem);
  font-weight: 700;
  line-height: 1.1;
  color: #FFFDF8;
}
.lab__scale {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  font-size: 0.75rem;
  color: #C9C3B6;
}
.lab__hint { margin: 8px 0 20px; font-size: 0.8125rem; color: #C9C3B6; }

/* Controle deslizante */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 44px;
  margin: 0;
  background: transparent;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(to right, var(--gold) var(--fill, 50%), rgba(246, 242, 233, .25) var(--fill, 50%));
}
input[type="range"]::-moz-range-track { height: 6px; border-radius: 3px; background: rgba(246, 242, 233, .25); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--gold); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px;
  height: 28px;
  margin-top: -11px;
  border-radius: 50%;
  background: #FFFDF8;
  border: 3px solid var(--gold);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .3);
  transition: transform .2s var(--ease-out);
}
input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #FFFDF8;
  border: 3px solid var(--gold);
}
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }
input[type="range"]:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

.bar--live { height: 36px; }
.lab__result { margin: 14px 0 0; font-size: 1rem; }
.lab__result b { color: var(--gold); font-weight: 700; }

.lab__basis { margin-top: 18px; border-top: 1px solid rgba(246, 242, 233, .16); }
.lab__basis summary {
  padding: 12px 0 4px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  color: #E7E1D3;
}
.lab__basis dl { margin: 6px 0 0; }
.lab__basis dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 7px 0;
  border-top: 1px solid rgba(246, 242, 233, .1);
  font-size: 0.875rem;
}
.lab__basis dt { color: #D8D2C4; }
.lab__basis dd { margin: 0; font-weight: 700; white-space: nowrap; }

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.demo-table {
  width: 100%;
  min-width: 320px;
  border-collapse: collapse;
  font-size: 0.9375rem;
}
.demo-table caption {
  caption-side: top;
  text-align: left;
  padding: 16px 16px 10px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--muted);
}
.demo-table th,
.demo-table td {
  padding: 11px 16px;
  border-top: 1px solid #E8E2D4;
  text-align: right;
  white-space: nowrap;
}
.demo-table td { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 0.875rem; }
.demo-table th[scope="row"],
.demo-table thead th:first-child { text-align: left; font-weight: 500; }
.demo-table thead th {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.demo-table .row-price th,
.demo-table .row-price td,
.demo-table .row-total th,
.demo-table .row-total td { font-weight: 700; }
.demo-table .row-total th,
.demo-table .row-total td { border-top: 2px solid var(--line); }
.demo-table tfoot th,
.demo-table tfoot td {
  background: var(--green);
  color: #FFFDF8;
  font-weight: 700;
  border-top: 1px solid rgba(255, 255, 255, .18);
}
.demo-table tfoot .row-tabela th,
.demo-table tfoot .row-tabela td {
  background: var(--panel);
  color: var(--ink);
  font-weight: 600;
  border-top: 0;
}
.demo-table td[data-out] { transition: color .3s var(--ease-soft); }
.demo-table td.flash { color: var(--gold-deep); }
.demo-table tfoot td.flash { color: var(--gold); }

.disclaimer {
  margin: 20px 0 0;
  padding: 12px 14px;
  border-left: 3px solid var(--gold);
  background: var(--panel);
  font-size: 0.875rem;
  color: var(--muted);
}

/* POR DENTRO: visor com abas embaixo, como no Excel */
.sheet {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 60px -36px rgba(22, 40, 34, .35);
}
.sheet__panel { order: 1; outline-offset: -3px; }
.sheet__panel[hidden] { display: none; }
.sheet__scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.sheet__scroll img { width: 100%; min-width: 640px; }
.sheet__scroll .sheet__wide { min-width: 720px; }
.sheet__scroll--small { display: flex; justify-content: center; padding: 20px 0; background: #fff; }
.sheet__scroll--small img { width: auto; min-width: 0; max-width: 100%; }
.sheet__cap { margin: 0; padding: 16px 18px; font-size: 0.9375rem; color: var(--muted); max-width: 75ch; }

.sheet__tabs {
  order: 2;
  display: flex;
  gap: 2px;
  padding: 0 10px;
  background: var(--ink);
  overflow-x: auto;
}
.sheet__tabs [role="tab"] {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 10px 16px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: #D8D2C4;
  font: 600 0.875rem var(--font-text);
  cursor: pointer;
  transition: background-color .2s var(--ease-soft), color .2s var(--ease-soft);
}
.sheet__tabs [role="tab"]:hover { color: #FFFDF8; background: rgba(246, 242, 233, .08); }
.sheet__tabs [role="tab"][aria-selected="true"] {
  background: var(--paper);
  color: var(--green);
  border-bottom-color: var(--green);
  font-weight: 700;
}
.sheet__tabs [role="tab"]:focus-visible { outline-offset: -3px; }
.sheet__hint { margin: 12px 0 0; font-size: 0.8125rem; color: var(--muted); }
@media (min-width: 900px) { .sheet__hint { display: none; } }

/* COMO USAR, seção escura */
.section--ink { background: var(--ink); color: var(--paper); }
.section--ink .section-head p:last-child { color: #D8D2C4; }
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 28px;
}
.step {
  position: relative;
  padding-left: 64px;
}
.step__num {
  position: absolute;
  left: 0;
  top: -2px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 2px solid var(--gold);
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold);
}
.step h3 { margin-bottom: 6px; color: #FFFDF8; }
.step p { margin: 0; color: #D8D2C4; }
/* Linha que liga os passos */
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 21px;
  top: 50px;
  bottom: -24px;
  width: 2px;
  background: rgba(196, 167, 113, .4);
  transform-origin: top;
  transform: scaleY(0);
  transition: transform .8s var(--ease-out) .3s;
}
.steps.in .step::after { transform: scaleY(1); }

/* OFERTA */
.offer {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  padding: 32px 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 30px 60px -30px rgba(22, 40, 34, .25);
}
.offer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 24px;
  right: 24px;
  height: 4px;
  border-radius: 0 0 4px 4px;
  background: var(--gold);
}
.offer__tag {
  display: inline-block;
  margin: 0 0 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--tint);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
}
.offer h2 { margin: 0 auto 4px; }
.offer__sub { color: var(--muted); }
.offer__price {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 14vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--green);
}
.offer__currency { font-size: 0.42em; vertical-align: 0.7em; letter-spacing: 0; }
.offer__once { font-weight: 700; margin-bottom: 24px; }
.checklist {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  text-align: left;
}
.checklist li {
  position: relative;
  padding: 11px 0 11px 34px;
  border-top: 1px solid #E8E2D4;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 17px;
  width: 14px;
  height: 8px;
  border-left: 3px solid var(--green);
  border-bottom: 3px solid var(--green);
  transform: rotate(-45deg);
}
.offer__notes {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  font-size: 0.875rem;
  color: var(--muted);
}

/* FAQ */
.faq-wrap { display: grid; gap: 24px; }
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary {
  position: relative;
  padding: 18px 44px 18px 0;
  font-weight: 700;
  font-size: 1.0625rem;
  cursor: pointer;
  list-style: none;
  transition: color .2s var(--ease-soft);
}
.faq summary:hover { color: var(--green); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--green);
  transition: transform .25s var(--ease-out);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--muted); max-width: 62ch; }

/* Rodapé */
.site-footer {
  padding: 40px 0 48px;
  background: var(--ink);
  color: #D8D2C4;
  font-size: 0.875rem;
  border-top: 1px solid rgba(246, 242, 233, .1);
}
.site-footer__name {
  font-family: var(--font-display);
  color: var(--paper);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.site-footer p { max-width: 72ch; }
.site-footer p:last-child { margin-bottom: 0; }

/* Barra fixa no celular */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: var(--paper);
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 16px rgba(22, 40, 34, .08);
  transform: translateY(110%);
  visibility: hidden;
  transition: transform .3s var(--ease-out), visibility .3s;
}
.sticky-cta.is-visible { transform: none; visibility: visible; }
.sticky-cta__price { margin: 0; line-height: 1.2; }
.sticky-cta__price strong { display: block; font-size: 1.125rem; }
.sticky-cta__price span { font-size: 0.8125rem; color: var(--muted); }

/* Aviso de checkout */
.notice {
  width: calc(100% - 32px);
  max-width: 420px;
  padding: 28px 24px;
  border: 0;
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
}
.notice::backdrop { background: rgba(22, 40, 34, .6); }
.notice h2 { font-size: 1.5rem; margin-bottom: 12px; }
.notice p { color: var(--muted); margin-bottom: 20px; }

/* Celular */
@media (max-width: 479px) {
  .demo-table th,
  .demo-table td { padding: 10px 8px; }
  .demo-table { font-size: 0.875rem; }
  .demo-table td { font-size: 0.8125rem; }
  .demo-table th[scope="row"] { white-space: normal; min-width: 96px; }
}

@media (max-width: 899px) {
  /* Espaço para a barra fixa não cobrir o rodapé */
  .site-footer { padding-bottom: calc(120px + env(safe-area-inset-bottom)); }
}

@media (max-width: 359px) {
  .sticky-cta__price span { display: none; }
  .btn--small { padding: 10px 12px; font-size: 0.75rem; }
}

/* Telas maiores */
@media (min-width: 640px) {
  .cta-block .btn { width: auto; }
  .offer { padding: 44px 40px; }
}

@media (min-width: 900px) {
  .wrap { padding: 0 32px; }
  .brand__logo { width: 200px; }
  .site-header__inner { min-height: 76px; }
  .hero { padding: 72px 0 96px; }
  .hero__grid { grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
  .section { padding: 96px 0; }

  .problem__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "text ledger" "invisible ledger";
    column-gap: 56px;
    row-gap: 28px;
    align-items: start;
  }
  .problem__text { grid-area: text; }
  .ledger { grid-area: ledger; padding: 28px; position: sticky; top: 108px; }
  .invisible { grid-area: invisible; }

  .answer { grid-template-columns: 220px 1fr 1.3fr; gap: 32px; align-items: baseline; padding: 30px 0; }

  .lab { grid-template-columns: 380px 1fr; gap: 24px; }
  .lab__control { padding: 28px; }

  .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .step { padding-left: 0; padding-top: 64px; }
  .step__num { top: 0; }
  .step:not(:last-child)::after {
    left: 56px;
    right: -20px;
    top: 21px;
    bottom: auto;
    width: auto;
    height: 2px;
    transform-origin: left;
    transform: scaleX(0);
  }
  .steps.in .step::after { transform: scaleX(1); }

  .faq-wrap { grid-template-columns: 1fr 1.6fr; gap: 56px; align-items: start; }
  .faq-head { position: sticky; top: 108px; }

  .sticky-cta { display: none; }
}

/* Movimento reduzido: tudo no estado final, nada se move */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    transition-delay: 0s !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .js .ledger .bar__seg { transform: none; }
  .step::after { transform: none !important; }
}
