/* ==========================================================================
   00. TIPOGRAFIA · arquivos hospedados no próprio projeto
   --------------------------------------------------------------------------
   Outfit e Manrope são fontes VARIÁVEIS: um único arquivo cobre todos os
   pesos, o que reduziu o peso das fontes de 199 KB para cerca de 82 KB.
   Ficam aqui dentro (e não em um arquivo separado) para economizar uma
   requisição no carregamento — o que pesa em conexão de celular.
   Para regenerar, veja "Fontes" no LEIA-ME.
   ========================================================================== */

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/ibm-plex-mono-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/ibm-plex-mono-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/ibm-plex-mono-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/ibm-plex-mono-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/manrope-400-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/manrope-400-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/outfit-300-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/outfit-300-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   MP ENGENHARIA E PROJETOS · Landing Page
   Direção visual: minimalismo estrutural / desenho técnico
   --------------------------------------------------------------------------
   SUMÁRIO
   01. Tokens (cores, fontes, medidas)  ....... editar a marca aqui
   02. Reset e base
   03. Utilitários de layout
   04. Botões
   05. Header e navegação
   06. Hero
   07. Seções e títulos
   08. Dores
   09. Serviços
   10. Sobre / equipe
   11. Diferenciais
   12. Etapas (timeline)
   13. Galeria e depoimentos
   14. FAQ
   15. CTA final
   16. Rodapé
   17. Botão flutuante do WhatsApp
   18. Animações de scroll
   19. Responsivo
   ========================================================================== */

/* --------------------------------------------------------------------------
   FONTES DE ESPERA COM AS MESMAS MEDIDAS
   Enquanto Outfit e Manrope carregam, o navegador mostra Arial. Sem ajuste,
   a troca faz o texto "pular" (o Google penaliza isso como CLS) e obriga uma
   repintura que atrasa a nota de velocidade.
   Os percentuais abaixo foram calculados a partir das métricas reais de cada
   arquivo: com eles, Arial ocupa exatamente o mesmo espaço, e a troca fica
   imperceptível.
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Outfit Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Liberation Sans");
  size-adjust: 100.85%;
  ascent-override: 99.16%;
  descent-override: 25.78%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Manrope Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Liberation Sans");
  size-adjust: 103.78%;
  ascent-override: 102.72%;
  descent-override: 28.91%;
  line-gap-override: 0%;
}

/* ==========================================================================
   01. TOKENS · EDITE AQUI PARA MUDAR A IDENTIDADE VISUAL
   ========================================================================== */
:root {
  /* Paleta */
  --ink:        #111111;   /* Preto asfalto / chumbo profundo */
  --ink-soft:   #1B1B1B;   /* Blocos escuros secundários     */
  --ink-line:   rgba(255, 255, 255, .13);
  --paper:      #F9F9F9;   /* Branco gelo / off-white         */
  --paper-pure: #FFFFFF;
  --line:       #CCCCCC;   /* Cinza metálico / prata fendi    */
  --line-soft:  #E4E4E4;
  --gray:       #6E6E6E;   /* Texto de apoio em fundo claro   */
  --gray-light: rgba(249, 249, 249, .62); /* apoio em fundo escuro */

  /* Acentos */
  --gold:       #C6A662;   /* Dourado champagne (detalhes)    */
  --wa:         #0C7A3B;   /* Verde WhatsApp com alto contraste */
  --wa-hover:   #0A6832;
  --wa-glow:    #25D366;   /* Brilho / pulso do botão flutuante */

  /* Tipografia */
  --font-title: "Outfit", "Outfit Fallback", system-ui, sans-serif;
  --font-body:  "Manrope", "Manrope Fallback", system-ui, sans-serif;
  --font-mono:  "IBM Plex Mono", ui-monospace, "Courier New", monospace;

  /* Medidas */
  --shell:      1240px;
  --shell-narrow: 880px;
  --gutter:     clamp(20px, 5vw, 48px);
  --section-y:  clamp(60px, 7vw, 96px);
  --header-h:   76px;
  --radius:     2px;

  /* Transições */
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ==========================================================================
   02. RESET E BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(15.5px, 1.05vw, 17px);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 0 0 .6em;
  text-wrap: balance;
}

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration: none; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: var(--ink); color: var(--paper); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 20px;
  font-size: .9rem;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ==========================================================================
   03. UTILITÁRIOS DE LAYOUT
   ========================================================================== */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.shell-narrow { max-width: var(--shell-narrow); }

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

/* Fundo claro de leitura */
.section-paper {
  background: var(--paper);
  border-top: 1px solid var(--line);
}

/* Bloco de destaque escuro com malha técnica sutil */
.section-ink {
  background: var(--ink);
  color: var(--paper);
  border-top: 1px solid var(--ink);
  overflow: hidden;
}
.section-ink::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 20%, transparent 78%);
}
.section-ink > * { position: relative; z-index: 1; }
.section-ink h1, .section-ink h2, .section-ink h3 { color: var(--paper); }

/* ==========================================================================
   04. BOTÕES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .005em;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease),
              box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .ico { width: 20px; height: 20px; flex: none; }

.btn-lg { padding: 18px 32px; font-size: 1rem; }
.btn-sm { padding: 11px 18px; font-size: .85rem; }
.btn-block { display: flex; width: 100%; }

/* CTA principal · verde WhatsApp de alto contraste */
.btn-wa {
  background: var(--wa);
  color: #FFFFFF;
  box-shadow: 0 1px 0 rgba(0,0,0,.12);
}
.btn-wa:hover { background: var(--wa-hover); box-shadow: 0 10px 26px -12px rgba(12,122,59,.85); }

/* Secundário sobre fundo escuro */
.btn-ghost {
  background: transparent;
  color: var(--paper);
  border-color: rgba(249,249,249,.34);
}
.btn-ghost:hover { border-color: var(--paper); background: rgba(249,249,249,.08); }

/* Secundário sobre fundo claro */
.btn-dark {
  background: var(--ink);
  color: var(--paper);
}
.btn-dark:hover { background: #000; box-shadow: 0 10px 26px -14px rgba(0,0,0,.8); }

/* ==========================================================================
   05. HEADER E NAVEGAÇÃO
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color .35s var(--ease), border-color .35s var(--ease),
              height .35s var(--ease), backdrop-filter .35s var(--ease);
}
.site-header.is-stuck {
  height: 66px;
  background: rgba(17,17,17,.94);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom-color: var(--ink-line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

/* Marca */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--paper);
  flex: none;
}
/* Monograma oficial · PNG com fundo transparente */
.brand-mark {
  width: auto;
  height: 40px;
  flex: none;
  transition: height .35s var(--ease);
}
.site-header.is-stuck .brand-mark { height: 34px; }

.brand-text {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
  line-height: 1;
}
.brand-text strong {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.brand-text > span {
  padding-left: 10px;
  border-left: 1px solid rgba(249,249,249,.25);
  font-family: var(--font-mono);
  font-size: .56rem;
  line-height: 1.3;
  letter-spacing: .13em;
  text-transform: uppercase;
  opacity: .68;
}

/* Navegação desktop */
.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
  margin-left: auto;
}
.nav > a {
  position: relative;
  color: var(--paper);
  font-size: .88rem;
  font-weight: 500;
  letter-spacing: .01em;
  padding-block: 6px;
  opacity: .8;
  transition: opacity .2s var(--ease);
}
.nav > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav > a:hover, .nav > a.is-active { opacity: 1; }
.nav > a:hover::after, .nav > a.is-active::after { transform: scaleX(1); }

.header-cta { flex: none; }
.nav-cta-mobile { display: none; }

/* Botão hambúrguer */
.burger {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid rgba(249,249,249,.28);
  border-radius: var(--radius);
  flex: none;
}
.burger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--paper);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ==========================================================================
   06. HERO
   ========================================================================== */
.hero {
  position: relative;
  /* Ocupa a tela inteira (necessário para o vídeo ficar fixo no scroll),
     mas cresce se o conteúdo pedir mais espaço em telas baixas. */
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-top: calc(var(--header-h) + 28px);
  padding-bottom: clamp(48px, 6vw, 80px);
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}

.hero-media { position: absolute; inset: 0; z-index: 0; }

/* Fundo do topo.
   No celular o vídeo não roda, então fica só o gradiente — e a foto de
   1920px sequer é baixada (eram 135 KB desperdiçados a cada visita).
   A partir de 760px a foto entra como fundo, cobrindo o intervalo até
   o vídeo terminar de carregar. */
.hero-media {
  background:
    radial-gradient(ellipse 70% 55% at 70% 15%, #2A2A2A 0%, transparent 65%),
    linear-gradient(160deg, #1C1C1C 0%, #111111 55%, #0A0A0A 100%);
}
@media (min-width: 760px) {
  .hero-media {
    background:
      linear-gradient(160deg, rgba(28,28,28,.4) 0%, rgba(10,10,10,.6) 100%),
      url("../img/hero-poster.jpg") center / cover no-repeat #111111;
  }
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
}

/* Overlay escuro translúcido (60-70%) para leitura do texto */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(17,17,17,.97) 0%, rgba(17,17,17,.72) 45%, rgba(17,17,17,.62) 100%);
}

/* Malha de projeto sobre o vídeo */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 110px 110px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
}

.hero-inner { position: relative; z-index: 2; width: 100%; }

/* Escala pensada para caber inteiro em uma tela de 900px de altura,
   sem o título encostar no header fixo. */
.hero-title {
  max-width: 25ch;
  font-size: clamp(1.9rem, 3.9vw, 3.35rem);
  font-weight: 600;
  line-height: 1.07;
  letter-spacing: -.035em;
  margin-bottom: .55em;
  /* O SplitText mede as linhas: "balance" atrapalha a divisão */
  text-wrap: initial;
}
.hero-title em {
  display: block;
  font-style: normal;
  color: var(--gold);
}

.hero-sub {
  max-width: 58ch;
  font-size: clamp(.98rem, 1.2vw, 1.1rem);
  line-height: 1.62;
  color: rgba(249,249,249,.82);
  margin-bottom: 1.9em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  /* A nota logo abaixo (.cta-note) é quem carrega o respiro até as credenciais */
  margin-bottom: 14px;
}

/* Faixa de credenciais */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  max-width: 760px;
  background: var(--ink-line);
  border: 1px solid var(--ink-line);
}
.hero-stats > div {
  background: rgba(17,17,17,.55);
  padding: 20px 22px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.hero-stats dt {
  font-family: var(--font-title);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -.03em;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.hero-stats dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: .7rem;
  line-height: 1.5;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--gray-light);
}

/* Telas baixas (notebooks 768px/800px de altura): comprime a escala
   para que hero inteiro continue visível sem rolagem. */
@media (max-height: 820px) and (min-width: 861px) {
  .hero-title { font-size: clamp(1.8rem, 3.2vw, 2.7rem); margin-bottom: .5em; }
  .hero-sub { font-size: 1rem; margin-bottom: 1.6em; }
  .hero-actions { margin-bottom: 28px; }
  .hero-stats > div { padding: 15px 18px; }
  .hero-stats dt { font-size: 1.5rem; margin-bottom: 5px; }
  .hero { padding-bottom: 48px; }
}

/* Indicador de rolagem */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 3;
  translate: -50% 0;
  width: 44px;
  height: 64px;
  display: grid;
  place-items: center;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: rgba(249,249,249,.28);
  overflow: hidden;
  position: relative;
}
.scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold);
  animation: cue 2.4s var(--ease) infinite;
}
@keyframes cue {
  0%   { transform: translateY(-100%); }
  55%  { transform: translateY(0); }
  100% { transform: translateY(100%); }
}

/* ==========================================================================
   06b. FAIXA DE PROVA SOCIAL (logo abaixo do topo)
   Banda clara e compacta: depois do hero escuro, funciona como um
   "recibo" de credibilidade antes de qualquer descrição de serviço.
   ========================================================================== */
.proof {
  position: relative;
  background: var(--paper-pure);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(26px, 3.2vw, 40px);
}
.proof-inner {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 2.4fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}

.proof-score { display: grid; gap: 6px; }
.proof-score .stars {
  color: var(--gold);
  font-size: 1.05rem;
  letter-spacing: .16em;
  margin: 0;
}
.proof-count { margin: 0; font-size: .92rem; color: var(--gray); }
.proof-count strong {
  display: block;
  font-family: var(--font-title);
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--ink);
}
.proof-link {
  justify-self: start;
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: border-color .25s var(--ease);
}
.proof-link:hover { border-color: var(--ink); }

.proof-quotes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.6vw, 34px);
}
.proof-quotes li {
  display: grid;
  gap: 8px;
  align-content: start;
  padding-left: clamp(18px, 2.4vw, 30px);
  border-left: 1px solid var(--line);
}
.proof-quotes p {
  margin: 0;
  font-size: .93rem;
  line-height: 1.55;
  color: var(--ink);
}
.proof-quotes cite {
  font-family: var(--font-mono);
  font-size: .64rem;
  font-style: normal;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gray);
}

/* Nota logo abaixo do botão principal · remove atrito */
.cta-note {
  margin: 0 0 clamp(30px, 4vw, 46px);
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .08em;
  color: rgba(249,249,249,.55);
}

/* ==========================================================================
   07. SEÇÕES E TÍTULOS
   ========================================================================== */
.section-head {
  max-width: 940px;
  margin-bottom: clamp(44px, 6vw, 72px);
}

/* Rótulo técnico numerado */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  font-family: var(--font-mono);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gray);
}
.eyebrow.light { color: var(--gray-light); }
.eyebrow .tick {
  width: 9px;
  height: 9px;
  flex: none;
  background: var(--gold);
  transform: rotate(45deg);
}

.section-title {
  font-size: clamp(1.75rem, 3.6vw, 3rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.03em;
  margin-bottom: .5em;
}
.muted-title { color: var(--gray); font-weight: 400; }
.section-ink .muted-title { color: var(--gray-light); }

.section-lead {
  max-width: 66ch;
  font-size: clamp(1rem, 1.25vw, 1.1rem);
  color: var(--gray);
  margin: 0;
}
.section-ink .section-lead { color: rgba(249,249,249,.72); }

/* ==========================================================================
   08. DORES
   ========================================================================== */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.pain {
  position: relative;
  background: var(--paper);
  padding: clamp(26px, 3vw, 38px) clamp(22px, 2.4vw, 32px);
  transition: background-color .3s var(--ease);
}
.pain:hover { background: var(--paper-pure); }
.pain-num {
  display: block;
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.pain h3 {
  font-size: 1.12rem;
  font-weight: 600;
  margin-bottom: .55em;
}
.pain p {
  font-size: .94rem;
  color: var(--gray);
  margin: 0;
}

/* ==========================================================================
   09. SERVIÇOS
   ========================================================================== */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1px;
  background: var(--ink-line);
  border: 1px solid var(--ink-line);
}
.svc {
  position: relative;
  background: var(--ink);
  padding: clamp(30px, 3.2vw, 44px) clamp(24px, 2.6vw, 36px);
  transition: background-color .35s var(--ease);
}
.svc::after {
  /* Marca de canto do desenho técnico, revelada no hover */
  content: "";
  position: absolute;
  right: 18px;
  top: 18px;
  width: 14px;
  height: 14px;
  border-top: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
  opacity: 0;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
  transform: translate(-6px, 6px);
}
.svc:hover { background: var(--ink-soft); }
.svc:hover::after { opacity: 1; transform: translate(0, 0); }

.svc-num {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .18em;
  color: rgba(249,249,249,.4);
}
.svc-ico {
  width: 40px;
  height: 40px;
  margin: 22px 0 24px;
  color: var(--gold);
  transition: transform .4s var(--ease);
}
.svc:hover .svc-ico { transform: translateY(-3px); }

.svc h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: .6em;
}
.svc > p {
  font-size: .94rem;
  color: rgba(249,249,249,.7);
  margin-bottom: 1.4em;
}

.svc-list {
  border-top: 1px solid var(--ink-line);
  padding-top: 16px;
}
.svc-list li {
  position: relative;
  padding-left: 18px;
  font-family: var(--font-mono);
  font-size: .74rem;
  line-height: 1.6;
  letter-spacing: .02em;
  color: rgba(249,249,249,.58);
  margin-bottom: 7px;
}
.svc-list li:last-child { margin-bottom: 0; }
.svc-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 8px;
  height: 1px;
  background: var(--gold);
}

/* Card em destaque (FCO / Habite-se) */
.svc-gold { background: #161616; }
.svc-gold::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
}

.svc-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(36px, 4vw, 52px);
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--ink-line);
}
.svc-cta p {
  max-width: 54ch;
  margin: 0;
  font-size: 1rem;
  color: rgba(249,249,249,.8);
}

/* ==========================================================================
   10. SOBRE / EQUIPE
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.about-copy p {
  font-size: 1.02rem;
  color: var(--gray);
}
.about-copy .btn { margin-top: 16px; }

.team { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }

.member {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--paper-pure);
  padding: 26px clamp(20px, 2.4vw, 30px);
}
.avatar {
  width: 68px;
  height: 68px;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--gold);
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: .02em;
  object-fit: cover;
}
.member-body { min-width: 0; }
.member h3 {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: .35em;
}
.member-role {
  margin: 0 0 6px;
  font-size: .86rem;
  color: var(--gray);
}
.member-crea {
  margin: 0;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
}

.team-note {
  background: var(--ink);
  color: var(--gray-light);
  padding: 26px clamp(20px, 2.4vw, 30px);
}
.team-note p { margin: 0; font-size: .9rem; line-height: 1.65; }
.team-note strong { color: var(--gold); font-weight: 600; }

/* ==========================================================================
   11. DIFERENCIAIS
   ========================================================================== */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--ink-line);
  border: 1px solid var(--ink-line);
}
.diff {
  background: var(--ink);
  padding: clamp(26px, 3vw, 38px) clamp(22px, 2.4vw, 32px);
  transition: background-color .35s var(--ease);
}
.diff:hover { background: var(--ink-soft); }
.diff h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: .6em;
}
.diff p {
  font-size: .92rem;
  color: rgba(249,249,249,.68);
  margin: 0;
}

/* Card principal ocupa a largura toda na primeira linha */
.diff-hero {
  grid-column: 1 / -1;
  background: linear-gradient(115deg, #191919 0%, #111111 62%);
  padding: clamp(34px, 4.4vw, 56px) clamp(26px, 3.4vw, 52px);
}
.diff-tag {
  display: inline-block;
  margin: 0 0 16px;
  padding: 5px 12px;
  border: 1px solid var(--gold);
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
}
.diff-hero h3 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -.03em;
  margin-bottom: .5em;
}
.diff-hero p {
  max-width: 68ch;
  font-size: 1.02rem;
  color: rgba(249,249,249,.8);
  margin-bottom: 1em;
}
.diff-strong {
  font-family: var(--font-title);
  font-size: clamp(1.05rem, 1.7vw, 1.3rem) !important;
  font-weight: 500;
  color: var(--gold) !important;
  letter-spacing: -.01em;
}

/* ==========================================================================
   12. ETAPAS (TIMELINE)
   ========================================================================== */
.timeline {
  position: relative;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

/* Trilho vertical que se preenche conforme as etapas são lidas */
.timeline-progress {
  position: absolute;
  left: clamp(30px, 4vw, 56px);
  top: 0;
  width: 1px;
  height: 100%;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top center;
  pointer-events: none;
}
.step {
  display: grid;
  grid-template-columns: clamp(90px, 12vw, 170px) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 56px);
  align-items: start;
  padding-block: clamp(28px, 3.4vw, 44px);
  border-bottom: 1px solid var(--line);
  transition: background-color .3s var(--ease);
}
.step:hover { background: var(--paper-pure); }
.step-num {
  font-family: var(--font-title);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 300;
  line-height: .9;
  letter-spacing: -.04em;
  color: var(--line);
  transition: color .4s var(--ease);
}
.step:hover .step-num,
.step.is-current .step-num { color: var(--gold); }

/* Etapa em leitura: filete de destaque à esquerda */
.step.is-current { background: var(--paper-pure); }
.step.is-current .step-body { position: relative; }
.step-body { max-width: 68ch; }
.step h3 {
  font-size: clamp(1.15rem, 1.9vw, 1.5rem);
  font-weight: 600;
  margin-bottom: .5em;
}
.step p {
  margin: 0;
  font-size: .98rem;
  color: var(--gray);
}

/* ==========================================================================
   12b. FAIXA DE VÍDEO · A ENTREGA
   ========================================================================== */
.video-band {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(520px, 78vh, 780px);
  padding-block: clamp(64px, 9vw, 120px);
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  border-top: 1px solid var(--ink);
}

.video-band-media {
  position: absolute;
  /* Folga vertical para o deslocamento de paralaxe não deixar bordas */
  inset: -10% 0;
  z-index: 0;
  /* Versão leve (860px) para o celular, onde o vídeo não roda */
  background: url("../img/entrega-poster-sm.jpg") center / cover no-repeat #0D0D0D;
}
@media (min-width: 760px) {
  .video-band-media {
    background-image: url("../img/entrega-poster.jpg");
  }
}
.band-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(.25) contrast(1.04);
}
.video-band-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(17,17,17,.93) 0%, rgba(17,17,17,.78) 45%, rgba(17,17,17,.5) 100%);
}

.video-band-inner {
  position: relative;
  z-index: 1;
  max-width: var(--shell);
}
.video-band h2 {
  max-width: 18ch;
  font-size: clamp(1.9rem, 4.4vw, 3.6rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -.035em;
  margin-bottom: .55em;
}
.video-band-sub {
  max-width: 56ch;
  margin-bottom: 2.2em;
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  color: rgba(249,249,249,.82);
}

/* ==========================================================================
   13. GALERIA E DEPOIMENTOS
   ========================================================================== */
.gallery-wrap { margin-top: clamp(8px, 2vw, 20px); }

/* Trilho que sangra até a borda da tela, mas com o primeiro card
   alinhado à coluna de texto das seções (.shell). */
.gallery {
  /* 100% (e não 100vw) para que a barra de rolagem não desalinhe os cards */
  --edge: max(var(--gutter), calc((100% - var(--shell)) / 2 + var(--gutter)));
  display: flex;
  gap: 1px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scroll-padding-left: var(--edge);
  padding-left: var(--edge);
  padding-right: var(--gutter);
  padding-bottom: 4px;
  scrollbar-width: none;
}
.gallery::-webkit-scrollbar { display: none; }

.shot {
  position: relative;
  flex: 0 0 clamp(270px, 33vw, 440px);
  margin: 0;
  scroll-snap-align: start;
  border: 1px solid var(--ink-line);
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.035) 0 1px, transparent 1px 11px),
    #171717;
  overflow: hidden;
}
.shot::before {
  /* Proporção 4:3 mesmo sem imagem carregada */
  content: "";
  display: block;
  padding-top: 75%;
}
.shot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(.35);
  transition: transform .7s var(--ease), filter .5s var(--ease);
}
.shot:hover img { transform: scale(1.04); filter: grayscale(0); }

.shot figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 20px 18px;
  background: linear-gradient(to top, rgba(17,17,17,.96) 20%, transparent 100%);
  font-size: .88rem;
  color: var(--paper);
}
.shot-kind {
  display: block;
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 5px;
}

.gallery-nav, .quotes-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
}
.quotes-nav { justify-content: space-between; flex-wrap: wrap; }
.arrows { display: flex; gap: 12px; }

.arrow {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink-line);
  color: var(--paper);
  border-radius: var(--radius);
  transition: background-color .25s var(--ease), border-color .25s var(--ease);
}
.arrow svg { width: 22px; height: 22px; }
.arrow:hover { background: rgba(249,249,249,.09); border-color: rgba(249,249,249,.4); }
.arrow:disabled { opacity: .3; cursor: default; }
.arrow:disabled:hover { background: none; border-color: var(--ink-line); }

.quotes-head { margin-top: clamp(56px, 7vw, 96px); margin-bottom: clamp(28px, 4vw, 44px); }

/* ---- Carrosséis automáticos de avaliações -------------------------------
   Duas fileiras que correm sozinhas em sentidos opostos, com as pontas
   esmaecidas para dar a sensação de fluxo contínuo.
   ------------------------------------------------------------------------ */
.quotes-wrap { margin-top: clamp(4px, 1vw, 12px); }

.marquee {
  overflow: hidden;
  margin-bottom: 1px;
  /* Esmaece as bordas laterais */
  mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%);
}

.marquee-track {
  display: flex;
  /* Alturas iguais (padrão do flex). Com "flex-start" cada card ficava com a
     altura do próprio texto, e como a fileira toda assume a altura do maior,
     sobrava um vão preto enorme embaixo dos depoimentos curtos. */
  gap: 1px;
  width: max-content;
  will-change: transform;
}

/* Sem JavaScript ou com movimento reduzido: vira faixa rolável por toque */
.marquee.is-static {
  overflow-x: auto;
  scrollbar-width: none;
  mask-image: none;
  -webkit-mask-image: none;
}
.marquee.is-static::-webkit-scrollbar { display: none; }

.marquee-hint {
  margin: 0;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(249,249,249,.4);
}

.quote {
  flex: 0 0 clamp(280px, 30vw, 400px);
  margin: 0;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  background: var(--ink-soft);
  border: 1px solid var(--ink-line);
  padding: clamp(26px, 2.8vw, 34px);
}
.stars {
  color: var(--gold);
  font-size: .95rem;
  letter-spacing: .18em;
  margin-bottom: 18px;
}
.quote blockquote {
  margin: 0 0 22px;
  font-size: .96rem;
  line-height: 1.68;
  color: rgba(249,249,249,.86);
  flex: 1;
  /* Avaliações muito longas são cortadas para a fileira não ficar
     desproporcional. O texto completo está no link do Google logo abaixo. */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 10;
  line-clamp: 10;
  overflow: hidden;
}
.quote blockquote::before { content: "“"; color: var(--gold); }
.quote blockquote::after { content: "”"; color: var(--gold); }

.quote figcaption {
  border-top: 1px solid var(--ink-line);
  padding-top: 16px;
}
.quote figcaption strong {
  display: block;
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -.01em;
}
.quote figcaption span {
  display: block;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray-light);
}

.quotes-link {
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid rgba(198,166,98,.5);
  padding-bottom: 3px;
  transition: border-color .25s var(--ease);
}
.quotes-link:hover { border-color: var(--gold); }

/* ==========================================================================
   14. FAQ
   ========================================================================== */
.faq { position: relative; border-top: 1px solid var(--line); }

.faq-item {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  transition: background-color .3s var(--ease);
}
.faq-item[open] { background: var(--paper-pure); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(20px, 2.4vw, 28px) 4px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-title);
  font-size: clamp(1.02rem, 1.6vw, 1.22rem);
  font-weight: 500;
  letter-spacing: -.015em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--gray); }

/* Ícone + / − desenhado em CSS */
.faq-item summary i {
  position: relative;
  width: 20px;
  height: 20px;
  flex: none;
}
.faq-item summary i::before,
.faq-item summary i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--ink);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.faq-item summary i::before { width: 16px; height: 1.5px; transform: translate(-50%, -50%); }
.faq-item summary i::after  { width: 1.5px; height: 16px; transform: translate(-50%, -50%); }
.faq-item[open] summary i::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }

/* A abertura é animada pelo GSAP; overflow escondido para a altura crescer limpa */
.faq-body {
  padding: 0 60px 26px 4px;
  overflow: hidden;
}
.faq-body p {
  margin: 0;
  max-width: 74ch;
  font-size: .98rem;
  color: var(--gray);
}

.faq-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: clamp(36px, 4vw, 52px);
  text-align: center;
}
.faq-cta p {
  margin: 0;
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 500;
}

/* ==========================================================================
   15. CTA FINAL
   ========================================================================== */
.cta-band {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  padding-block: clamp(64px, 8vw, 110px);
  overflow: hidden;
  text-align: center;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 100%, rgba(198,166,98,.14) 0%, transparent 70%);
}
.cta-inner { position: relative; z-index: 1; }
.cta-inner .eyebrow { justify-content: center; }
.cta-band h2 {
  font-size: clamp(1.7rem, 3.8vw, 3.1rem);
  letter-spacing: -.03em;
  margin-bottom: .55em;
}
.cta-sub {
  max-width: 56ch;
  margin: 0 auto 2.2em;
  color: rgba(249,249,249,.75);
  font-size: clamp(1rem, 1.3vw, 1.1rem);
}

/* ==========================================================================
   16. RODAPÉ
   ========================================================================== */
.site-footer {
  background: #0B0B0B;
  color: var(--gray-light);
  border-top: 1px solid var(--ink-line);
  padding-block: clamp(56px, 7vw, 88px) 0;
  font-size: .93rem;
}
.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, .8fr)) minmax(0, 1.2fr);
  gap: clamp(32px, 4vw, 56px);
  padding-bottom: clamp(44px, 5vw, 64px);
}
.foot-brand .brand { margin-bottom: 22px; }
.foot-desc { max-width: 46ch; margin-bottom: 1.3em; }
.foot-crea {
  font-family: var(--font-mono);
  font-size: .72rem;
  line-height: 1.9;
  letter-spacing: .06em;
  color: var(--paper);
  margin: 0;
}

.foot-col h3 {
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.foot-col li { margin-bottom: 11px; }
.foot-col a { transition: color .2s var(--ease); }
.foot-col a:hover { color: var(--paper); }

.foot-contact li { margin-bottom: 16px; }
.foot-contact .lbl {
  display: block;
  font-family: var(--font-mono);
  font-size: .64rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(249,249,249,.42);
  margin-bottom: 3px;
}
.foot-contact a, .foot-contact .txt {
  font-family: var(--font-title);
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--paper);
  line-height: 1.45;
}
.foot-contact .btn { margin-top: 22px; }

.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 24px;
  border-top: 1px solid var(--ink-line);
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(249,249,249,.45);
}
.foot-bottom p { margin: 0; }

/* ==========================================================================
   17. BOTÃO FLUTUANTE DO WHATSAPP
   ========================================================================== */
.wa-float {
  position: fixed;
  right: clamp(16px, 3vw, 30px);
  bottom: clamp(16px, 3vw, 30px);
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0;
  height: 60px;
  padding: 0 18px;
  background: var(--wa);
  color: #FFFFFF;
  border-radius: 999px;
  transition: gap .35s var(--ease), padding .35s var(--ease),
              background-color .25s var(--ease), transform .25s var(--ease);
  /* Pulso sutil e contínuo, chamando atenção sem poluir a tela */
  animation: wa-pulse 3s ease-out infinite;
}
.wa-float svg { width: 30px; height: 30px; flex: none; }
.wa-float:hover { background: var(--wa-hover); transform: translateY(-2px); }

@keyframes wa-pulse {
  0%   { box-shadow: 0 14px 34px -12px rgba(0,0,0,.55), 0 0 0 0    rgba(37,211,102,.55); }
  65%  { box-shadow: 0 14px 34px -12px rgba(0,0,0,.55), 0 0 0 20px rgba(37,211,102,0); }
  100% { box-shadow: 0 14px 34px -12px rgba(0,0,0,.55), 0 0 0 0    rgba(37,211,102,0); }
}

.wa-float-label {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: .92rem;
  font-weight: 700;
  opacity: 0;
  transition: max-width .4s var(--ease), opacity .3s var(--ease);
}
.wa-float:hover .wa-float-label,
.wa-float:focus-visible .wa-float-label {
  max-width: 230px;
  opacity: 1;
  margin-left: 10px;
}

/* ==========================================================================
   18. ANIMAÇÕES (GSAP)
   As revelações ao rolar são controladas por JavaScript (assets/js/main.js).
   O CSS aqui cuida apenas do estado inicial do topo, para que o conteúdo
   não "pisque" antes de a animação começar.
   ========================================================================== */

/* --------------------------------------------------------------------------
   ABERTURA DO TOPO · CSS puro, sem depender do JavaScript
   O texto do topo é o maior elemento da tela — é ele que o Google cronometra
   como LCP. Animar por CSS faz a pintura acontecer imediatamente, em vez de
   esperar o GSAP baixar e executar.

   Usamos "backwards" (e não "forwards"): durante o atraso o elemento fica no
   estado inicial e, ao terminar, volta ao estilo normal. Assim o GSAP consegue
   controlar a opacidade depois, no efeito de vídeo fixo.
   -------------------------------------------------------------------------- */
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(20px); }
}
@keyframes hero-unmask {
  from { transform: translateY(105%); }
}

.hero-inner > *          { animation: hero-rise .7s var(--ease) backwards; }
.hero-inner > *:nth-child(1) { animation-delay: .05s; }
.hero-inner > .hero-title    { animation: none; }   /* revelado pelas máscaras */
.hero-inner > *:nth-child(3) { animation-delay: .34s; }
.hero-inner > *:nth-child(4) { animation-delay: .44s; }
.hero-inner > *:nth-child(5) { animation-delay: .52s; }
.hero-inner > *:nth-child(6) { animation-delay: .60s; }

/* Título: cada bloco sobe de dentro da própria máscara */
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line > span {
  display: block;
  animation: hero-unmask .9s var(--ease) backwards;
}
.hero-title .line:nth-child(1) > span { animation-delay: .12s; }
.hero-title .line:nth-child(2) > span { animation-delay: .22s; }

.scroll-cue { animation: hero-rise .7s var(--ease) .8s backwards; }

/* Filete de 1px que se desenha quando a seção entra na tela */
.rule-draw {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
  z-index: 2;
}

/* Barra de progresso de leitura */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 101;
  height: 2px;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

/* ==========================================================================
   19. RESPONSIVO
   ========================================================================== */
@media (max-width: 1080px) {
  .diff-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: minmax(0, 1fr); }
  .proof-inner { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .proof-quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* No celular, a terceira frase sai: duas bastam para provar */
  .proof-quotes li:nth-child(3) { display: none; }
}

@media (max-width: 560px) {
  .proof-quotes { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .proof-quotes li:nth-child(3) { display: grid; }
  .proof-quotes li:nth-child(2) ~ li { display: none; }
}

/* ---- Navegação mobile ---- */
@media (max-width: 860px) {
  :root { --header-h: 66px; }

  /* IMPORTANTE: nada de backdrop-filter aqui.
     Um elemento com backdrop-filter vira "bloco de contenção" para os
     filhos com position:fixed — o menu passava a se medir pela altura do
     header (66px) em vez da tela inteira, e abria só uma faixa fina.
     O fundo vai quase opaco no lugar do desfoque. */
  .site-header,
  .site-header.is-stuck {
    background: rgba(17,17,17,.97);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .header-cta { display: none; }
  .burger { display: flex; }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    /* dvh acompanha a barra de endereço do Safari, que aparece e some.
       Com 100vh o rodapé do menu ficava escondido atrás da barra. */
    height: calc(100dvh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    margin: 0;
    /* Respeita a faixa do indicador de início do iPhone */
    padding: 12px var(--gutter) max(40px, env(safe-area-inset-bottom));
    background: var(--ink);
    border-top: 1px solid var(--ink-line);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform .4s var(--ease), opacity .3s var(--ease), visibility .3s;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  .nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }

  .nav > a {
    padding: 20px 4px;
    font-family: var(--font-title);
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: -.02em;
    border-bottom: 1px solid var(--ink-line);
    opacity: 1;
  }
  .nav > a::after { display: none; }

  .nav-cta-mobile {
    display: flex;
    margin-top: 28px;
    font-size: 1rem;
    padding: 17px 24px;
  }
}

@media (max-width: 760px) {
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 56px); }
  .hero-title { max-width: 100%; }
  .hero-stats { grid-template-columns: minmax(0, 1fr); max-width: 100%; }
  .scroll-cue { display: none; }

  .diff-grid { grid-template-columns: minmax(0, 1fr); }
  .step { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .step-num { font-size: 2rem; }

  .svc-cta { flex-direction: column; align-items: flex-start; }
  .faq-body { padding-right: 12px; }

  /* Botões em largura cheia, alcançáveis com o polegar */
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn,
  .svc-cta .btn,
  .faq-cta .btn,
  .cta-band .btn,
  .about-copy .btn { width: 100%; }

  .faq-cta { flex-direction: column; }
  .quotes-nav { justify-content: center; text-align: center; }

  /* Faixa de vídeo */
  .video-band { min-height: auto; }
  .video-band h2 { max-width: 100%; }
  .video-band .btn { width: 100%; }
  .video-band-overlay {
    background: linear-gradient(to top, rgba(17,17,17,.96) 25%, rgba(17,17,17,.74) 100%);
  }

  /* Carrosséis: bordas menos esmaecidas para caber mais texto */
  .marquee {
    mask-image: linear-gradient(to right, transparent 0, #000 4%, #000 96%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 4%, #000 96%, transparent 100%);
  }
  .marquee-hint { display: none; }

  /* Na tela estreita o texto quebra em muito mais linhas: corta antes,
     senão a fileira fica altíssima e a leitura vira rolagem sem fim. */
  .quote blockquote { -webkit-line-clamp: 7; line-clamp: 7; }
  .quote { flex-basis: min(78vw, 320px); }

  /* Linha do tempo: trilho encosta na margem */
  .timeline-progress { left: 0; }
}

@media (max-width: 620px) {
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .foot-bottom { flex-direction: column; align-items: flex-start; }

  .member { flex-direction: row; gap: 16px; }
  .avatar { width: 56px; height: 56px; font-size: 1rem; }

  /* Botão flutuante compacto para não cobrir conteúdo */
  .wa-float { height: 56px; padding: 0 13px; }
  .wa-float svg { width: 28px; height: 28px; }
  .wa-float-label { display: none; }
}

/* ==========================================================================
   ACESSIBILIDADE · respeita quem prefere menos movimento
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  /* Sem animação de entrada: tudo já visível */
  .hero-inner > *, .hero-title .line > span, .scroll-cue { animation: none; }

  .hero-video, .band-video { display: none; }
  .scroll-progress { display: none; }
  .rule-draw, .timeline-progress { transform: none; }
}

/* Impressão */
@media print {
  .site-header, .wa-float, .scroll-cue, .arrow,
  .scroll-progress, .marquee { display: none !important; }
  .hero { height: auto; }
  .video-band-media { display: none !important; }
  body { background: #fff; color: #000; }
  .section-ink, .cta-band, .site-footer { background: #fff !important; color: #000 !important; }
}
