/* ============================================================================
   Scheffel Construções | LP Reforma comercial
   Design system da M² Black. As cores, o raio e os motivos vêm de tokens.css
   (kit de marca). Aqui não se define hex de marca, só se consome var().
   Geometria reta: o símbolo da Scheffel é feito de prédios, telhados e treliça,
   todos de canto vivo, então botão e card não arredondam.
   ============================================================================ */

/* Cores funcionais, não são da marca: verde só de conversão e vermelho só de risco
   (playbook 13.8). Ficam aqui, fora do tokens.css, que é gerado pelo kit. */
:root {
  --green: #1f9d55;
  --green-dark: #178044;
  --risk: #c0392b;
  --brand-2-dark: #96604b;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; scroll-padding-top: 132px; }
body {
  font-family: var(--font-text);
  font-size: 17px; line-height: 1.65; color: var(--ink);
  background: var(--white); overflow-x: hidden;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
::selection { background: var(--brand-2); color: var(--white); }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.section { padding: 96px 0; }
.section--dark { background: var(--ink); color: var(--white); }
.section--brand { background: var(--brand); color: var(--white); }
.section--off { background: var(--off); }

/* ---------------------------------------------------------------- tipografia */
.eyebrow {
  font-family: var(--font-display); font-size: 12px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--brand-2);
  display: inline-flex; align-items: center; margin-bottom: 14px;
}
.eyebrow--light { color: var(--brand-light); }
.eyebrow--light::before { background: var(--brand-light); }
.section-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(28px, 3.6vw, 44px); line-height: 1.14;
  letter-spacing: -.01em; text-wrap: balance; max-width: 17em;
}
.section-title--light { color: var(--white); }
.section-title--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-title .accent { color: var(--brand-2); }
.section-title--light .accent { color: var(--brand-light); }
/* a régua sob o título nasce com largura (identidade não depende de JS) */
.section-title::after { background: var(--brand-2); width: 42px; }
/* A régua NASCE com largura (identidade não pode depender de JS): a animação só amplia. */
[data-reveal].is-in .section-title::after,
.section-title.is-in::after { width: 86px; }
.section-title--light::after { background: var(--brand-light); }
.section-title--center::after { margin-left: auto; margin-right: auto; }
.section-lead {
  font-size: clamp(16px, 1.5vw, 18px); line-height: 1.72; margin-top: 18px;
  max-width: 660px; color: #4a5560;
}
.section-lead--light { color: #c6d2dd; }
.section-lead--center { margin-left: auto; margin-right: auto; text-align: center; }

/* divisória com o motivo que tileia (o arco da logo) */
.mark-divider { height: 18px; opacity: .35; }

/* ---------------------------------------------------------------- botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  letter-spacing: .01em; padding: 17px 30px; border: 2px solid transparent;
  border-radius: var(--radius-btn); cursor: pointer; text-align: center;
  transition: transform .18s ease, background .2s ease, color .2s ease;
  white-space: normal;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }
/* Brilho que atravessa o botão: passa sozinho de tempos em tempos e de novo no hover.
   É o que dá vida ao CTA sem depender de o lead passar o mouse. Só nos botões que
   levam à conversão: brilho em botão de voltar seria ruído. */
.btn { position: relative; overflow: hidden; }
.btn--green::after, .btn--accent::after {
  content: ''; position: absolute; top: 0; left: -60%; width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.42), transparent);
  transform: skewX(-18deg); pointer-events: none;
  animation: btn-shine 5.5s ease-in-out infinite;
}
.btn--green:hover::after, .btn--accent:hover::after { animation: btn-shine 1.1s ease-in-out; }
@keyframes btn-shine {
  0%   { left: -60%; }
  38%  { left: 130%; }
  100% { left: 130%; }
}
/* Pulso só no verde, que é o botão de conversão */
.btn--green { animation: btn-pulse 2.8s ease-in-out infinite; }
@keyframes btn-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(31,157,85,.45); }
  50%      { box-shadow: 0 0 0 12px rgba(31,157,85,0); }
}
.btn--green:hover { animation-play-state: paused; }
.btn--lg { padding: 20px 34px; font-size: 16px; }
.btn--block { width: 100%; }
/* verde = conversão, e só conversão (form, popup, CTA fixo, FAB) */
.btn--green { background: var(--green); color: var(--white); }
.btn--green:hover { background: var(--green-dark); }
/* cobre = CTA institucional dentro da página */
.btn--accent { background: var(--brand-2); color: var(--white); }
.btn--accent:hover { background: var(--brand-2-dark); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--back { background: transparent; color: #7c8a97; border-color: var(--line); padding: 17px 22px; }

/* ---------------------------------------------------------------- header */
.read-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 9999;
  background: var(--brand-2); transition: width .1s linear;
}
.topbar {
  background: var(--ink); color: #d8e0e8; text-align: center;
  font-size: 12.5px; letter-spacing: .04em; padding: 8px 16px;
}
.site-header {
  position: sticky; top: 0; z-index: 9990; background: var(--brand);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.site-header__inner {
  display: flex; align-items: center; gap: 22px; min-height: 104px;
}
.site-header__brand { display: flex; align-items: center; flex: none; }
/* A logo da Scheffel é empilhada (símbolo em cima, nome embaixo). Em 46px o nome
   virava um risco ilegível, então a assinatura ocupa altura de verdade no header. */
.site-header__brand img { height: 78px; width: auto; }
/* sem menu hambúrguer em nenhuma largura: no celular a faixa desliza */
.site-nav {
  display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none;
  margin-right: auto; -webkit-overflow-scrolling: touch;
}
.site-nav::-webkit-scrollbar { display: none; }
.site-nav a {
  font-size: 14px; font-weight: 500; color: #cfdae5; white-space: nowrap;
  padding: 6px 0; border-bottom: 2px solid transparent; transition: color .2s;
}
.site-nav a:hover { color: var(--white); }
.site-nav a.is-active { color: var(--white); border-bottom-color: var(--brand-2); }
.site-header__cta { flex: none; padding: 13px 22px; font-size: 14px; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; color: var(--white); overflow: hidden; background: var(--ink); }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg picture { display: block; width: 100%; height: 100%; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }

/* Movimento do hero: zoom lento que vai e volta, feito no compositor da GPU.
   Vídeo montado com zoompan tremia, porque o ffmpeg arredonda o recorte a cada
   quadro; transform em CSS é subpixel e não treme. 18s de ida e 18s de volta,
   sem corte e sem carregar megabytes. */
.hero__bg img { animation: heroZoom 18s cubic-bezier(.4, 0, .2, 1) infinite alternate; }
@keyframes heroZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}
/* O fundo é decorativo: sem som, sem controle e sem entrar na navegação. Quem tem
   redução de movimento ligada vê o poster parado, não o vídeo. */
@media (prefers-reduced-motion: reduce) { .hero__bg img { animation: none; } }
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(14,20,27,.94) 0%, rgba(14,20,27,.86) 42%, rgba(14,20,27,.55) 100%);
}
.hero__content { position: relative; z-index: 1; padding: 84px 20px 76px; }
.hero__text { max-width: 780px; }
.hero__headline {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(31px, 4.5vw, 54px); line-height: 1.1; letter-spacing: -.02em;
  text-wrap: balance;
}
.hero__headline em { font-style: normal; color: var(--brand-light); }
.hero__sub {
  font-size: clamp(16px, 1.6vw, 19px); line-height: 1.68; margin-top: 22px;
  max-width: 620px; color: #d3dde6;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__cue {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 38px;
  font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #a9b8c6;
}
.hero__cue svg { width: 18px; height: 18px; animation: bob 1.8s infinite; }
@keyframes bob { 0%,100% { transform: translateY(0) } 50% { transform: translateY(4px) } }

/* ---------------------------------------------------------------- statbar */
.proof { background: var(--brand); color: var(--white); padding: 54px 0; }
/* Duas colunas: o número de clientes saiu a pedido do cliente. */
.proof__stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; text-align: center;
}
.stat__num {
  font-family: var(--font-display); font-weight: 700; display: block;
  font-size: clamp(32px, 4vw, 46px); line-height: 1; color: var(--white);
}
.stat__unit { font-size: .5em; margin-left: 6px; color: var(--brand-light); }
.stat__label {
  display: block; margin-top: 10px; font-size: 13.5px; letter-spacing: .04em; color: #bccddd;
}
.proof__note {
  text-align: center; margin-top: 30px; font-size: 15.5px; color: #cddaE6;
  max-width: 760px; margin-left: auto; margin-right: auto;
}
.proof__note strong { color: var(--white); }

/* ---------------------------------------------------------------- passo a passo */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; }
.step {
  position: relative; padding: 30px 24px 26px; background: var(--white);
  border: 1px solid var(--line); border-top: 3px solid var(--brand-2);
  transition: transform .3s ease, box-shadow .3s ease;
}
.step:hover { transform: translateY(-6px); box-shadow: 0 16px 34px rgba(14,20,27,.12); }
.step__ghost {
  position: absolute; top: 10px; right: 16px; font-family: var(--font-display);
  font-size: 58px; font-weight: 700; line-height: 1; color: var(--brand-soft);
}
.step__kicker {
  font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand-2);
}
.step__title {
  font-family: var(--font-display); font-size: 19px; font-weight: 700;
  margin: 10px 0 10px; line-height: 1.25;
}
.step__text { font-size: 15px; line-height: 1.65; color: #55606b; }

/* ---------------------------------------------------------------- comparativo */
/* align-items: start faz cada coluna terminar onde o conteúdo dela acaba. Sem isso,
   a coluna com menos itens estica e sobra um bloco branco vazio no pé. */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 44px; align-items: start; }
.compare__col { padding: 30px 26px 32px; border: 1px solid var(--line); background: var(--white); }
.compare__col--bad { border-top: 3px solid var(--risk); }
.compare__col--good { border-top: 3px solid var(--green); background: #f7fbf8; }
.compare__tag {
  display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; padding: 7px 12px; color: var(--white);
}
.compare__tag--bad { background: var(--risk); }
.compare__tag--good { background: var(--green); }
.compare__head {
  font-family: var(--font-display); font-size: 21px; font-weight: 700; margin: 16px 0 18px;
}
.compare__item { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; font-size: 15.2px; line-height: 1.55; }
.compare__ic { flex: none; width: 21px; height: 21px; margin-top: 2px; }
.compare__ic svg { width: 100%; height: 100%; }
.compare__col--bad .compare__ic { color: var(--risk); }

/* A linha de riscar dos itens ruins fica ABAIXO da frase, nunca cortando o texto
   por cima. Ancorada por bottom para funcionar em item de 1 ou de 2 linhas, e
   animada da esquerda para a direita quando a coluna entra na tela. */
.compare__col--bad .compare__item { padding-bottom: 16px; }
.compare__col--bad .compare__item > span:last-child { position: relative; display: inline-block; }
.compare__col--bad .compare__item > span:last-child::after {
  content: ''; position: absolute; left: 0; bottom: -5px; width: 100%; height: 2px;
  background: var(--risk); transform: scaleX(0); transform-origin: left center;
  transition: transform .55s cubic-bezier(.4,0,.2,1);
}
.compare__col--bad.is-in .compare__item > span:last-child::after { transform: scaleX(1); }
.compare__col--bad.is-in .compare__item:nth-child(1) > span:last-child::after { transition-delay: .10s; }
.compare__col--bad.is-in .compare__item:nth-child(2) > span:last-child::after { transition-delay: .22s; }
.compare__col--bad.is-in .compare__item:nth-child(3) > span:last-child::after { transition-delay: .34s; }
.compare__col--bad.is-in .compare__item:nth-child(4) > span:last-child::after { transition-delay: .46s; }
.compare__col--bad.is-in .compare__item:nth-child(5) > span:last-child::after { transition-delay: .58s; }
.compare__col--bad.is-in .compare__item:nth-child(6) > span:last-child::after { transition-delay: .70s; }

.compare__intro { margin-top: 22px; font-weight: 600; color: var(--ink); }
.compare__col--good .compare__ic { color: var(--green); }
.compare__col--good .btn { margin-top: 22px; }

/* ---------------------------------------------------------------- escopos */
.scopes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.scope {
  background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.scope:hover { transform: translateY(-6px); box-shadow: 0 18px 38px rgba(14,20,27,.14); }
.scope__img img { transition: transform .6s ease; }
.scope:hover .scope__img img { transform: scale(1.06); }
.scope__img { aspect-ratio: 4 / 3; overflow: hidden; }
.scope__img img { width: 100%; height: 100%; object-fit: cover; }
.scope__body { padding: 24px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.scope__tag {
  align-self: flex-start; font-size: 11.5px; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--white); background: var(--brand); padding: 6px 11px;
}
.scope__title { font-family: var(--font-display); font-size: 20px; font-weight: 700; margin: 14px 0 12px; }
.scope__list li {
  position: relative; padding-left: 20px; font-size: 15px; line-height: 1.6; margin-bottom: 7px; color: #55606b;
}
.scope__list li::before {
  content: ''; position: absolute; left: 0; top: 9px; width: 9px; height: 9px;
  background: var(--brand-2);
}
.scopes__cta { text-align: center; margin-top: 40px; }

/* ---------------------------------------------------------------- galeria */
.gallery__head { text-align: center; }
.gallery__head .section-title { margin-left: auto; margin-right: auto; }
.marquee-wrap { position: relative; margin-top: 44px; }
.marquee { overflow: hidden; }
.marquee__track { display: flex; gap: 14px; will-change: transform; }
.marquee__item { flex: none; width: 340px; }
.marquee__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s ease; }
.marquee__item:hover img { transform: scale(1.05); }
.marquee__item figcaption {
  font-size: 13px; letter-spacing: .04em; color: #6a747e; padding: 10px 2px 0;
}
.marquee__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 46px; height: 46px; border: none; background: var(--ink); color: var(--white);
  cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: .88;
}
.marquee__nav:hover { opacity: 1; }
.marquee__nav svg { width: 22px; height: 22px; }
.marquee__nav--prev { left: 8px; }
.marquee__nav--next { right: 8px; }
.gallery__cta { text-align: center; margin-top: 38px; }

/* ---------------------------------------------------------------- quem conduz */
.experts__inner { display: grid; grid-template-columns: .85fr 1fr; gap: 52px; align-items: center; }
/* A foto nova é 1122x1402, proporção 0,80, exatamente a da célula 4/5: entra
   inteira, sem corte e sem esticar (playbook 15.7 pede proporção >= 0,80). */
/* `height: auto` é obrigatório: os atributos width/height do <img> entram como
   presentational hint, e com height fixado em 1402px o aspect-ratio é ignorado.
   Era isso que deixava a foto num box de 500x1402 (proporção 0,36), esticada e
   com o rosto ampliado pelo cover. */
.experts__photo img {
  width: 100%; height: auto; aspect-ratio: 4 / 5;
  object-fit: cover; object-position: center 40%;
}
.experts__caption {
  margin-top: 14px; padding-left: 14px; border-left: 3px solid var(--brand-2);
}
.experts__caption strong { display: block; font-family: var(--font-display); font-size: 17px; }
.experts__caption span { font-size: 14px; color: #6a747e; }
.experts__lead { font-size: 16.5px; line-height: 1.72; margin-top: 18px; color: #4a5560; }
.experts__cta { margin-top: 28px; }

/* ---------------------------------------------------------------- FAQ */
.faq__grid { max-width: 820px; margin: 40px auto 0; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
  cursor: pointer; padding: 22px 0; font-family: var(--font-display);
  font-size: 17.5px; font-weight: 600; list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { flex: none; width: 20px; height: 20px; position: relative; }
.faq__icon::before, .faq__icon::after {
  content: ''; position: absolute; background: var(--brand-2); transition: transform .25s;
}
.faq__icon::before { top: 9px; left: 0; width: 20px; height: 2px; }
.faq__icon::after { left: 9px; top: 0; width: 2px; height: 20px; }
.faq__item[open] .faq__icon::after { transform: scaleY(0); }
.faq__item p { padding: 0 0 24px; font-size: 15.6px; line-height: 1.72; color: #55606b; max-width: 62ch; }

/* ---------------------------------------------------------------- formulário */
.form-head { text-align: center; }
.form-head .section-title { margin-left: auto; margin-right: auto; }
.form-card {
  max-width: 640px; margin: 38px auto 0; background: var(--white); color: var(--ink);
  padding: 34px 30px 32px; border: 1px solid var(--line);
}
.form-step { display: none; }
.form-step.active { display: block; }
.form-step-title { font-family: var(--font-display); font-size: 19px; font-weight: 700; margin-bottom: 20px; }
.form-group { margin-bottom: 18px; }
/* align-items: end alinha os dois campos pelo pé: sem isso, um rótulo que quebra
   em duas linhas empurra o seu select para baixo e a dupla fica desalinhada. */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: end; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.form-group input, .form-group select {
  width: 100%; padding: 15px 14px; font-family: var(--font-text); font-size: 16px;
  border: 1px solid var(--line); border-radius: 0; background: var(--white); color: var(--ink);
}
.form-group input:focus, .form-group select:focus { outline: 2px solid var(--brand); outline-offset: -2px; }
.tel-row { display: grid; grid-template-columns: 118px 1fr; gap: 8px; }
.tel-country { padding: 15px 8px; }
.error-msg { display: none; font-size: 13px; color: var(--risk); margin-top: 6px; }
.form-group.has-error .error-msg { display: block; }
.form-group.has-error input, .form-group.has-error select { border-color: var(--risk); }
.form-actions { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.form-success { display: none; text-align: center; padding: 20px 0; }
.form-success.show { display: block; }
.success-icon {
  width: 62px; height: 62px; margin: 0 auto 18px; background: var(--green); color: var(--white);
  display: flex; align-items: center; justify-content: center;
}
.success-icon svg { width: 32px; height: 32px; }
.form-success h3 { font-family: var(--font-display); font-size: 21px; margin-bottom: 10px; }
.form-success p { font-size: 15.5px; color: #55606b; max-width: 46ch; margin: 0 auto; }
.trust-badges {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 26px; margin-top: 26px;
  font-size: 13.5px; color: #c6d2dd;
}
.trust-item { display: flex; align-items: center; gap: 8px; }
.trust-item svg { width: 17px; height: 17px; }

/* ---------------------------------------------------------------- rodapé */
.site-footer { background: var(--ink); color: #b9c5d1; padding: 58px 0 120px; text-align: center; }
.site-footer__logo img { height: 128px; width: auto; margin: 0 auto; }
.site-footer__info {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 26px; margin: 26px 0 22px; font-size: 14px;
}
.site-footer__info-item { display: flex; align-items: center; gap: 9px; }
.site-footer__info-item svg { width: 17px; height: 17px; color: var(--brand-2); }
.site-footer__copy { font-size: 13px; color: #8b98a5; }
.site-footer__dev { font-size: 13px; margin-top: 6px; }
.site-footer__dev a { color: var(--brand-light); font-weight: 600; }

/* ---------------------------------------------------------------- CTA fixo, FAB, popup */
/* CTA fixo em TODAS as larguras (playbook 13.11), não só no celular */
.fixed-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9985;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(14,20,27,.96); border-top: 1px solid rgba(180,120,96,.3);
  transform: translateY(100%); transition: transform .35s ease;
}
.fixed-cta.visible { transform: translateY(0); }
.compare__col { transition: transform .3s ease, box-shadow .3s ease; }
.compare__col--good:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(31,157,85,.16); }
.fixed-cta .container { max-width: 620px; }

/* O FAB é a única peça redonda da página, de propósito: é ícone de app, não caixa
   da marca. A geometria reta continua valendo para botão e card. */
.wa-fab {
  position: fixed; right: 18px; bottom: 88px; z-index: 9986; width: 60px; height: 60px;
  border: none; border-radius: 50%; background: var(--green); color: var(--white);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.28);
  animation: fab-pulse 2.6s ease-out infinite;
}
@keyframes fab-pulse {
  0%   { box-shadow: 0 8px 24px rgba(0,0,0,.28), 0 0 0 0 rgba(31,157,85,.55); }
  70%  { box-shadow: 0 8px 24px rgba(0,0,0,.28), 0 0 0 18px rgba(31,157,85,0); }
  100% { box-shadow: 0 8px 24px rgba(0,0,0,.28), 0 0 0 0 rgba(31,157,85,0); }
}
.wa-fab svg { width: 30px; height: 30px; }
.wa-fab:hover { background: var(--green-dark); }

.lead-popup { position: fixed; inset: 0; z-index: 9995; display: flex; align-items: center; justify-content: center; padding: 24px; }
.lead-popup[hidden] { display: none; }
.lead-popup__backdrop { position: absolute; inset: 0; background: rgba(10,15,20,.72); }
.lead-popup__card {
  position: relative; background: var(--white); width: 100%; max-width: 470px;
  padding: 30px 26px 28px; border-top: 4px solid var(--brand-2);
  /* o card cresce com o passo 2: sem isto ele corta em CIMA e o topo fica inalcançável */
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  overflow-y: auto; overscroll-behavior: contain;
}
.lead-popup__close {
  position: absolute; top: 8px; right: 12px; background: none; border: none;
  font-size: 30px; line-height: 1; color: #8b98a5; cursor: pointer;
}
.lead-popup__title { font-family: var(--font-display); font-size: 21px; font-weight: 700; line-height: 1.25; }
.lead-popup__title .accent { color: var(--brand-2); }
.lead-popup__sub { font-size: 15px; color: #55606b; margin: 10px 0 20px; }
.popup-step { display: none; }
.popup-step.active { display: block; }
.popup-step__actions { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.popup-step__actions .btn { flex: 1 1 150px; white-space: normal; }
.lead-popup__success { display: none; text-align: center; }
.lead-popup__success.show { display: block; }

/* ---------------------------------------------------------------- reveal */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- responsivo */
@media (max-width: 980px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .scopes { grid-template-columns: 1fr; }
  .experts__inner { grid-template-columns: 1fr; gap: 30px; }
  .site-header__cta { display: none; }
}
@media (max-width: 720px) {
  .section { padding: 68px 0; }
  .compare { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .proof__stats { grid-template-columns: 1fr; gap: 22px; }
  .hero__content { padding: 60px 20px 58px; }
  .hero__cta .btn { width: 100%; }
  .form-row { grid-template-columns: 1fr; }
  .marquee__item { width: 260px; }
  .form-card { padding: 26px 18px 24px; }
  .site-header__inner { min-height: 84px; gap: 14px; }
  .site-header__brand img { height: 60px; }
}
@media (max-width: 420px) {
  body { font-size: 16px; }
  .marquee__item { width: 224px; }
  .tel-row { grid-template-columns: 104px 1fr; }
  .lead-popup { padding: 14px; }
  .lead-popup__card { padding: 24px 18px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
