/* ═══════════════════════════════════════════════════════════════
   GUIDI FINANCIAL
   Direção "Precisão Quente": grafite quente, cobre oxidado, o ouro
   reservado só para a marca. Tipografia grande e apertada.
   ═══════════════════════════════════════════════════════════════ */

:root {
  --bg: #12110f;
  --surface: #1a1815;
  --surface-2: #211e1a;
  --line: #282420;
  --line-2: #3a342d;

  --text: #f1ede6;
  --text-2: #a29b90;
  --text-3: #8a837a; /* 5.04:1 sobre o ground — texto pequeno exige 4.5 */

  --copper: #a3623e;
  --gold: #dfba6b; /* só a marca usa */

  --paper: #efede8;
  --paper-2: #e4e0d8;
  --paper-ink: #16150f;
  --paper-text-2: #5f5b54;
  --paper-line: rgba(22, 21, 15, 0.14);

  /* Expo-out: sai rápido e assenta devagar. É o que faz o movimento
     parecer físico em vez de mecânico. */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  /* Margem lateral da página, uma só para o site inteiro. */
  --shell: clamp(22px, 7vw, 110px);

  --mx: 50%;
  --my: 50%;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Manrope, system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

::selection {
  background: var(--copper);
  color: var(--text);
}

.shell {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: var(--shell);
}

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

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
}
.skip:focus {
  left: 16px;
  top: 16px;
  background: var(--surface);
  padding: 10px 16px;
}

/* ─────────────────────────────────────────────────────────────
   TIPOGRAFIA
   ───────────────────────────────────────────────────────────── */
h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.042em;
  line-height: 1.04;
  text-wrap: balance;
}

h1 {
  font-size: clamp(44px, 6.6vw, 100px);
  line-height: 0.98;
  letter-spacing: -0.052em;
}

h2 {
  font-size: clamp(32px, 4.2vw, 62px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

h3 {
  font-size: 21px;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

/* A assinatura tipográfica: a segunda oração recua para o cinza.
   Dá voz ao título sem precisar de etiqueta em cima. */
.dim {
  color: var(--text-3);
}

/* Ouro metálico da marca. As paradas alternam sombra e brilho para dar
   leitura de metal em vez de amarelo chapado. */
.metal,
.hero h1 .dim {
  background: linear-gradient(
    96deg,
    #9a7838 0%, #dfba6b 15%, #f8ebc4 30%,
    #c6a052 47%, #efd99e 63%, #b08d3f 82%, #e2c07a 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.band--paper .dim {
  color: var(--paper-text-2);
}

p {
  margin: 0;
}

.lead {
  font-size: clamp(16px, 1.15vw, 19px);
  line-height: 1.66;
  color: var(--text-2);
}
.band--paper .lead {
  color: var(--paper-text-2);
}

.body {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--text-2);
}
.band--paper .body {
  color: var(--paper-text-2);
}

.tag {
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 600;
}
.band--paper .tag {
  color: var(--paper-text-2);
}

/* ─────────────────────────────────────────────────────────────
   FAIXAS
   ───────────────────────────────────────────────────────────── */
.band {
  padding-block: clamp(72px, 9vw, 132px);
  border-bottom: 1px solid var(--line);
  position: relative;
}

.band--paper {
  background: var(--paper);
  color: var(--paper-ink);
  border-bottom-color: var(--paper-line);
  --line: var(--paper-line);
  --line-2: rgba(22, 21, 15, 0.24);
  --text-2: var(--paper-text-2);
  --text-3: #6b665e; /* 4.9:1 sobre o papel */
  --copper: #8f5535;
  --surface: var(--paper-2);
}

.band__head {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: clamp(44px, 5vw, 72px);
}

/* ─────────────────────────────────────────────────────────────
   ENTRADA POR SEÇÃO
   ───────────────────────────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  translate: 0 22px;
  transition:
    opacity 0.9s var(--ease),
    translate 0.9s var(--ease);
}
[data-reveal].in {
  opacity: 1;
  translate: 0 0;
}

/* ─────────────────────────────────────────────────────────────
   CABEÇALHO
   ───────────────────────────────────────────────────────────── */
.top {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  height: 88px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition:
    background 0.5s,
    border-color 0.5s,
    backdrop-filter 0.5s,
    height 0.5s var(--ease);
}
.top.stuck {
  height: 68px;
  background: rgba(18, 17, 15, 0.82);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}
.top .shell {
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  flex: none;
}
.brand img {
  width: clamp(126px, 11vw, 152px);
  height: auto;
}

.nav {
  display: flex;
  gap: 34px;
  margin-inline: auto;
  font-size: 14.5px;
  color: var(--text-2);
}
.nav a {
  position: relative;
  padding-block: 6px;
  transition: color 0.3s;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  background: var(--text);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.nav a:hover {
  color: var(--text);
}
.nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.burger {
  display: none;
  background: none;
  border: 1px solid var(--line-2);
  color: var(--text);
  padding: 9px 13px;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

/* ─────────────────────────────────────────────────────────────
   BOTÕES
   ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 1px solid var(--copper);
  color: var(--copper);
  background: transparent;
  transition:
    background 0.35s,
    color 0.35s,
    transform 0.45s var(--ease);
}
.btn:hover {
  background: var(--copper);
  color: var(--bg);
  transform: translateY(-2px);
}
.btn span {
  transition: transform 0.45s var(--ease);
}
.btn:hover span {
  transform: translateX(4px);
}

/* Botão de metal. A varredura é um único elemento inclinado que cruza a
   superfície no hover — é o que dá a leitura de reflexo em vez de troca
   de cor. */
.btn--gold {
  position: relative;
  overflow: hidden;
  border: none;
  color: #17150f;
  font-weight: 700;
  background: linear-gradient(
    120deg,
    #a37f3a 0%, #dfba6b 22%, #f8ebc4 40%,
    #cfa957 58%, #e8cf92 78%, #b08d3f 100%
  );
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.42) inset;
}
/* A varredura passa por cima, não por baixo: com isolation + z-index -1
   ela ficava atrás do próprio fundo do botão e nunca aparecia. */
.btn--gold::after {
  content: '';
  position: absolute;
  z-index: 1;
  pointer-events: none;
  top: -60%;
  bottom: -60%;
  width: 38%;
  left: -55%;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transition: left 0.8s var(--ease);
}
/* Precisa repetir o fundo: .btn:hover tem a mesma especificidade e
   pintaria o cobre chapado por cima do metal. */
.btn--gold:hover {
  background: linear-gradient(
    120deg,
    #b08d3f 0%, #e8cf92 20%, #fbf2d8 38%,
    #dfba6b 56%, #f2dfa8 76%, #c09a49 100%
  );
  color: #17150f;
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.5) inset,
    0 10px 26px -14px rgba(223, 186, 107, 0.7);
}
.btn--gold:hover::after {
  left: 118%;
}
/* Secundário: contorno dourado que preenche em ouro, não em cobre escuro. */
.btn--ghost {
  border-color: rgba(223, 186, 107, 0.45);
  color: var(--gold);
}
.btn--ghost:hover {
  background: rgba(223, 186, 107, 0.12);
  border-color: var(--gold);
  color: #f2e2b8;
}

/* ─────────────────────────────────────────────────────────────
   HERO
   ───────────────────────────────────────────────────────────── */
/* A capa mede uma tela e o hero absorve o que sobra: assim a faixa de
   números encosta no fim da janela sem eu precisar adivinhar a altura
   dela, que muda com fonte e conteúdo. */
.capa {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
}
.capa .hero {
  flex: 1 1 auto;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 520px;
  padding-top: clamp(104px, 9.5vw, 128px);
  padding-bottom: clamp(40px, 4vw, 62px);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero > .shell {
  width: 100%;
}

/* A foto sangra na borda direita e ocupa a altura toda. Assim quem
   define a altura do hero é o texto, e frase longa não abre buraco. */
/* Telas baixas, como 1366x768: aperta o hero o suficiente para a faixa
   de números continuar encostando no fim da janela. */
@media (min-width: 900px) and (max-height: 820px) {
  .hero {
    padding-top: 92px;
    padding-bottom: 32px;
  }
  .hero__mark {
    margin-bottom: 20px;
  }
  .hero__mark img {
    width: clamp(206px, 19vw, 262px);
  }
  .hero__cta {
    margin-top: 24px;
  }
}

.hero__figure {
  position: absolute;
  inset: 0 0 0 auto;
  width: 48%;
  margin: 0;
  overflow: hidden;
  z-index: 1;
}
.hero__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 0%;
  /* A respiração cresce para baixo. Ancorada no centro, ela comia o topo
     da cabeça a cada ciclo. */
  transform-origin: 50% 0;
  filter: grayscale(1) sepia(0.16) contrast(1.02) brightness(1.16);
  animation: breathe 26s ease-in-out infinite alternate;
}
/* O deslocamento vertical vai dentro do keyframe porque scale e translate
   dividem a mesma propriedade: declarar transform em separado apagaria um
   dos dois. Escala contida — acima de ~1.05 o topo da cabeça sai do quadro. */
@keyframes breathe {
  from { transform: translateY(6%) scale(1); }
  to   { transform: translateY(6%) scale(1.04); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__figure img {
    transform: translateY(6%);
  }
}
/* Duas passadas: uma apaga a borda esquerda contra o fundo, a outra
   escurece o pé para o texto nunca disputar com a imagem. */
.hero__figure::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(18, 17, 15, 0.88) 14%, rgba(18, 17, 15, 0.3) 40%, transparent 66%),
    /* Dissolve o topo: sem borda visível, não há corte para o olho achar. */
    linear-gradient(180deg, var(--bg) 0%, var(--bg) 6%, rgba(18, 17, 15, 0.7) 13%, rgba(18, 17, 15, 0.26) 23%, transparent 36%),
    linear-gradient(0deg, var(--bg) 0%, transparent 34%);
}

/* Luz rasante lenta atrás do conteúdo. Um elemento só, e o hero deixa
   de ser estático sem nada piscar. */
.hero__rake {
  position: absolute;
  z-index: 0;
  top: -12%;
  right: 6%;
  width: 54%;
  height: 124%;
  pointer-events: none;
  background: radial-gradient(46% 40% at 62% 38%, rgba(223, 186, 107, 0.12), transparent 68%);
  animation: rake 16s ease-in-out infinite alternate;
}
@keyframes rake {
  from { opacity: 0.45; transform: translate3d(-3%, 2%, 0); }
  to   { opacity: 1;    transform: translate3d(4%, -3%, 0); }
}

.hero .shell {
  position: relative;
  z-index: 2;
}
.hero__content {
  width: min(560px, 100%);
}

/* Lockup oficial, recolorido para o fundo escuro por
   site/scripts/recolor-marca.mjs. Nada aqui remonta a marca. */
.hero__mark {
  margin-bottom: 30px;
}
.hero__mark img {
  width: clamp(238px, 23vw, 330px);
  height: auto;
}

.hero h1 {
  font-size: clamp(29px, 3.3vw, 47px);
  line-height: 1.09;
  letter-spacing: -0.036em;
}
.hero .lead {
  margin-top: 24px;
  max-width: 44ch;
}
.hero__cta {
  margin-top: 30px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 860px) {
  .hero {
    display: block;
    padding-top: 104px;
  }
  /* A foto vira uma faixa larga acima do texto, com altura suficiente para
     o rosto aparecer. O pé dissolve no fundo, sem borda. */
  .hero__figure {
    position: relative;
    width: 100%;
    height: clamp(300px, 44vh, 420px);
    margin-bottom: 30px;
  }
  .hero__figure img {
    object-position: 58% 6%;
  }
  .hero__figure::after {
    background: linear-gradient(0deg, var(--bg) 1%, rgba(18, 17, 15, 0.35) 26%, transparent 58%);
  }
  .hero__content {
    width: 100%;
  }
}

/* ─────────────────────────────────────────────────────────────
   NÚMEROS
   ───────────────────────────────────────────────────────────── */
.proof {
  padding-block: clamp(40px, 4.5vw, 60px);
  border-bottom: 1px solid var(--line);
}
.proof .shell {
  display: grid;
  gap: clamp(24px, 3vw, 48px);
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}
.proof__item strong {
  display: block;
  font-size: clamp(32px, 3.4vw, 46px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.proof__item strong i {
  font-style: normal;
  font-size: 0.5em;
  color: var(--text-2);
  letter-spacing: -0.02em;
}
.proof__item p {
  margin-top: 10px;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--text-3);
}

/* ─────────────────────────────────────────────────────────────
   METODOLOGIA
   ───────────────────────────────────────────────────────────── */
.steps {
  display: grid;
  gap: clamp(36px, 4vw, 56px);
}
@media (min-width: 800px) {
  .steps {
    grid-template-columns: 1fr 1fr;
  }
}
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: start;
  max-width: 54ch;
}
.step b {
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.step p {
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.6;
}

/* ─────────────────────────────────────────────────────────────
   SERVIÇOS
   ───────────────────────────────────────────────────────────── */
.svc {
  display: grid;
  gap: 0 clamp(32px, 5vw, 80px);
}
@media (min-width: 760px) {
  .svc {
    grid-template-columns: 1fr 1fr;
  }
}
.svc li {
  list-style: none;
  border-top: 1px solid var(--line);
  padding-block: clamp(18px, 1.8vw, 26px);
  font-size: clamp(21px, 2.1vw, 31px);
  font-weight: 600;
  letter-spacing: -0.032em;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  transition: color 0.4s var(--ease);
}
.svc li::after {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--copper);
  opacity: 0;
  transform: translateX(-8px);
  transition:
    opacity 0.4s var(--ease),
    transform 0.4s var(--ease);
}
.svc li:hover::after {
  opacity: 1;
  transform: translateX(0);
}

.svc-list {
  margin: 0;
  padding: 0;
}

/* ─────────────────────────────────────────────────────────────
   SITUAÇÕES
   Pergunta como título e resposta curta logo abaixo. Só na home de
   aquisição: é o formato que buscador destaca e que assistente de IA cita.
   ───────────────────────────────────────────────────────────── */
.sit {
  display: flex;
  flex-direction: column;
}

/* Sem caixa. A pergunta vem em escala de quem pergunta, e a resposta
   abaixo com o termo de ofício como nota de margem — leitura de página,
   não de painel. */
.sit__item {
  display: grid;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-block: clamp(30px, 3.2vw, 50px);
  padding-inline: clamp(10px, 1.4vw, 20px);
  margin-inline: calc(clamp(10px, 1.4vw, 20px) * -1);
  border-radius: 3px;
}
/* Pergunta de um lado, resposta do outro: usa a largura inteira sem
   ziguezaguear nem centralizar, e mantém a leitura sempre no mesmo eixo. */
@media (min-width: 900px) {
  .sit__item {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 14px clamp(40px, 5vw, 90px);
    align-items: start;
  }
  .sit__item h3 {
    grid-row: span 2;
  }
}

.sit__item h3 {
  font-size: clamp(23px, 2.7vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.034em;
  max-width: 17ch;
  text-wrap: balance;
}

.sit__tag {
  align-self: start;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1.5;
  background: linear-gradient(96deg, #8a6c30, #c6a052 45%, #9a7838);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sit__item p {
  font-size: clamp(15.5px, 1.2vw, 18px);
  line-height: 1.68;
  color: var(--text-2);
  max-width: 52ch;
}

/* ─────────────────────────────────────────────────────────────
   DIFERENCIAIS
   ───────────────────────────────────────────────────────────── */
.dif {
  margin: 0;
}
.dif__row {
  display: grid;
  gap: 10px clamp(30px, 5vw, 80px);
  border-top: 1px solid var(--line);
  padding-block: clamp(24px, 2.6vw, 38px);
  padding-inline: clamp(10px, 1.4vw, 22px);
  margin-inline: calc(clamp(10px, 1.4vw, 22px) * -1);
}

/* ─────────────────────────────────────────────────────────────
   LINHA QUE RESPONDE
   Fio metálico atravessando a régua de cima, fundo levemente quente e o
   texto virando metal. Usada nos diferenciais e no "por que" — o mesmo
   gesto nas duas listas, definido uma vez só.
   ───────────────────────────────────────────────────────────── */
.linha-metal {
  position: relative;
  transition: background 0.5s var(--ease);
}
.linha-metal::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  height: 1px;
  width: 0;
  background: linear-gradient(90deg, #9a7838, #f8ebc4 42%, #c6a052 72%, transparent);
  transition: width 0.7s var(--ease);
}
.linha-metal:hover::before {
  width: 100%;
}
.linha-metal:hover {
  background: rgba(223, 186, 107, 0.035);
}
.linha-metal [data-metal],
.linha-metal > span {
  transition: color 0.4s var(--ease);
}
.linha-metal:hover [data-metal],
.linha-metal:hover > span {
  background: linear-gradient(
    96deg,
    #9a7838 0%, #dfba6b 15%, #f8ebc4 30%,
    #c6a052 47%, #efd99e 63%, #b08d3f 82%, #e2c07a 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@media (min-width: 800px) {
  .dif__row {
    grid-template-columns: 1fr 1.35fr;
    /* O título alinha pelo meio da linha: as descrições têm uma ou duas
       linhas, e alinhado no topo ele ficava pendurado. */
    align-items: center;
  }
}
.dif__row dt {
  font-size: clamp(18px, 1.7vw, 23px);
  font-weight: 600;
  letter-spacing: -0.028em;
  text-wrap: balance;
}
.dif__row dd {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-2);
  max-width: 52ch;
}

/* ─────────────────────────────────────────────────────────────
   DECLARAÇÃO
   ───────────────────────────────────────────────────────────── */
.claim {
  position: relative;
  overflow: hidden;
  padding-block: clamp(96px, 12vw, 168px);
}
/* Marca d'água: grande o bastante para ser cortada pela borda, então lê
   como textura e não como logotipo solto. Uma vez na página inteira —
   repetida, vira carimbo. */
.claim::before {
  content: '';
  position: absolute;
  z-index: 0;
  top: 50%;
  right: -6%;
  width: min(660px, 62vw);
  aspect-ratio: 1;
  transform: translateY(-50%);
  background: url('../img/icone.png') no-repeat center / contain;
  opacity: 0.05;
  pointer-events: none;
}
.claim .shell {
  position: relative;
  z-index: 1;
}
.claim p {
  font-size: clamp(38px, 5.4vw, 84px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.05em;
  max-width: 19ch;
  margin-inline: auto;
  text-align: center;
  text-wrap: balance;
}

/* ─────────────────────────────────────────────────────────────
   QUEM SOMOS
   ───────────────────────────────────────────────────────────── */
.who {
  display: grid;
  gap: clamp(34px, 4vw, 60px);
}
@media (min-width: 1040px) {
  .who {
    grid-template-columns: 0.8fr 1fr 1.12fr;
    align-items: start;
  }
}
.who__foto {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
}
/* Foto própria desta seção: ele sorrindo, em ambiente. Não precisa mais
   do recorte forçado que disfarçava a repetição do retrato do hero. */
.who__foto img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 22%;
  filter: grayscale(1) sepia(0.14) contrast(1.03) brightness(1.05);
}
.who__attrs {
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.who__attrs li {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  font-weight: 600;
  font-size: 15.5px;
  max-width: 44ch;
}

.hist {
  display: flex;
  flex-direction: column;
}
.hist__row {
  position: relative;
  display: grid;
  grid-template-columns: 5.6rem 1fr;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding-block: 14px;
  padding-inline: 12px;
  margin-inline: -12px;
  border-radius: 3px;
  transition: background 0.4s var(--ease);
}
/* Realce da linha inteira: com sete entradas seguidas, é o que evita o
   olho pular de ano para o texto errado. */
.hist__row:hover {
  background: rgba(22, 21, 15, 0.05);
}
.hist__row:hover b {
  background: linear-gradient(96deg, #9a7838, #c6a052 40%, #8a6c30);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hist__row b {
  font-weight: 600;
  font-size: 13px;
  color: var(--copper);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}
.hist__row span {
  font-size: 14.5px;
  line-height: 1.55;
}

/* ─────────────────────────────────────────────────────────────
   POR QUE
   ───────────────────────────────────────────────────────────── */
.band--centro .band__head {
  align-items: center;
  text-align: center;
}
.band--centro .band__head .lead {
  margin-inline: auto;
}

.why {
  margin: clamp(40px, 4vw, 60px) auto 0;
  padding: 0;
  list-style: none;
  max-width: 720px;
}
.why li {
  display: flex;
  align-items: baseline;
  gap: 22px;
  border-top: 1px solid var(--line);
  padding-block: clamp(16px, 1.7vw, 24px);
  padding-inline: clamp(10px, 1.4vw, 20px);
  margin-inline: calc(clamp(10px, 1.4vw, 20px) * -1);
  border-radius: 3px;
  font-size: clamp(16px, 1.4vw, 20px);
  text-align: left;
}
.why li b {
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  flex: none;
  background: linear-gradient(96deg, #9a7838, #dfba6b 30%, #f8ebc4 50%, #c6a052 74%, #b08d3f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ─────────────────────────────────────────────────────────────
   SEGURADORAS
   ───────────────────────────────────────────────────────────── */
/* Esteira: a lista é duplicada no HTML e o conjunto anda metade da própria
   largura, então a emenda cai exatamente onde a cópia começa. */
.ins-track {
  margin-top: clamp(34px, 4vw, 54px);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.ins {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  width: max-content;
  align-items: center;
  gap: clamp(30px, 3.4vw, 56px);
  animation: esteira 52s linear infinite;
}
.ins-track:hover .ins {
  animation-play-state: paused;
}
@keyframes esteira {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
/* Slot de tamanho fixo: com altura fixa, um logotipo horizontal como o da
   SulAmérica virava o dobro da largura dos outros e desequilibrava a fila.
   Limitando os dois eixos, cada marca ocupa o mesmo espaço óptico. */
.ins li {
  height: 84px;
  width: 186px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ins img {
  max-height: 84px;
  max-width: 158px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.6;
  transition:
    filter 0.45s var(--ease),
    opacity 0.45s var(--ease),
    transform 0.45s var(--ease);
}
.ins li:hover img {
  filter: grayscale(0);
  opacity: 1;
  transform: translateY(-3px);
}
@media (prefers-reduced-motion: reduce) {
  .ins { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
}

/* ─────────────────────────────────────────────────────────────
   PERGUNTAS
   ───────────────────────────────────────────────────────────── */
.faq {
  max-width: 780px;
  margin-inline: auto;
}
.faq details {
  border-top: 1px solid var(--line);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding-block: clamp(18px, 1.9vw, 26px);
  font-size: clamp(16.5px, 1.5vw, 20px);
  font-weight: 600;
  letter-spacing: -0.02em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 26px;
  transition: color 0.3s;
}
.faq summary::-webkit-details-marker {
  display: none;
}
/* O "+" ganhou corpo e virou metal: é o único elemento clicável da seção
   e precisa parecer um controle, não um enfeite. */
/* O "+" é desenhado com dois traços em vez do glifo da fonte: dá para
   controlar espessura e comprimento, e o metal fica no próprio traço. */
.faq summary i {
  position: relative;
  flex: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(223, 186, 107, 0.34);
  border-radius: 50%;
  font-size: 0;
  transition:
    transform 0.55s var(--ease),
    border-color 0.45s,
    background-color 0.45s;
}
.faq summary i::before,
.faq summary i::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 2px;
  background: linear-gradient(120deg, #9a7838, #dfba6b 26%, #f8ebc4 48%, #c6a052 70%, #b08d3f);
}
.faq summary i::before {
  width: 17px;
  height: 2.5px;
  transform: translate(-50%, -50%);
}
.faq summary i::after {
  width: 2.5px;
  height: 17px;
  transform: translate(-50%, -50%);
}
.faq summary:hover i,
.faq details[open] summary i {
  border-color: rgba(223, 186, 107, 0.7);
  background-color: rgba(223, 186, 107, 0.08);
}
.faq details[open] summary i {
  transform: rotate(135deg);
  border-color: rgba(223, 186, 107, 0.75);
}

/* A altura é animada pelo truque do grid: 0fr para 1fr interpola, height
   auto não. O JS só troca a classe. */
.faq__resposta {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.55s var(--ease);
}
.faq details[open] .faq__resposta,
.faq details.abrindo .faq__resposta {
  grid-template-rows: 1fr;
}
.faq details.fechando .faq__resposta {
  grid-template-rows: 0fr;
}
.faq__resposta > div {
  overflow: hidden;
}
.faq p {
  padding-bottom: 26px;
  color: var(--text-2);
  line-height: 1.68;
}

/* ─────────────────────────────────────────────────────────────
   FALE COMIGO
   ───────────────────────────────────────────────────────────── */
.talk {
  display: grid;
  gap: clamp(40px, 5vw, 72px);
  align-items: end;
}
@media (min-width: 940px) {
  .talk {
    grid-template-columns: 1fr 0.78fr;
  }
}
.intents {
  margin: clamp(34px, 4vw, 52px) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
@media (min-width: 620px) {
  .intents {
    grid-template-columns: 1fr 1fr;
  }
}
.intents a {
  /* Ponto de luz que segue o cursor; o JS só escreve --mx/--my. */
  position: relative;
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 8px;
  padding: 20px 22px;
  font-size: 15.5px;
  font-weight: 500;
  overflow: hidden;
  transition:
    border-color 0.4s,
    background 0.4s,
    transform 0.45s var(--ease);
}
.intents a:hover {
  border-color: rgba(223, 186, 107, 0.55);
  background: var(--surface-2);
  transform: translateY(-2px);
}
.intents a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(240px circle at var(--mx) var(--my), rgba(163, 98, 62, 0.16), transparent 62%);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}
.intents a:hover::before {
  opacity: 1;
}
.intents a span {
  position: relative;
  color: var(--copper);
  transition: transform 0.45s var(--ease);
}
.intents a:hover span {
  transform: translate(4px, -4px);
}
.intents a em {
  position: relative;
  font-style: normal;
}

.talk__figure {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}
.talk__figure img {
  width: 100%;
  max-height: 460px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 38%;
  filter: grayscale(1) sepia(0.2) contrast(1.04) brightness(1.06);
}
/* A foto não termina numa linha reta: o pé dissolve no fundo da seção. */
.talk__figure::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 34%;
  background: linear-gradient(0deg, var(--bg) 4%, transparent);
}

/* ─────────────────────────────────────────────────────────────
   RODAPÉ
   ───────────────────────────────────────────────────────────── */
.foot {
  padding-block: 48px;
}
.foot .shell {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  justify-content: space-between;
  align-items: flex-start;
}
/* A faixa da assinatura não é flex: como item flex, o parágrafo se
   encolhia ao próprio texto e nem o texto nem o filete centralizavam. */
.foot .foot__base {
  display: block;
}
.foot p {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.7;
}
.foot__redes {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.foot__redes a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--text-2);
  transition:
    border-color 0.4s,
    color 0.4s,
    background 0.4s,
    transform 0.4s var(--ease);
}
.foot__redes svg {
  width: 17px;
  height: 17px;
}
.foot__redes a:hover {
  border-color: rgba(223, 186, 107, 0.6);
  background: rgba(223, 186, 107, 0.09);
  color: var(--gold);
  transform: translateY(-2px);
}
.foot__assina {
  border-top: 1px solid var(--line);
  margin-top: 34px;
  padding-block: 22px 10px;
  font-size: 12.5px;
  color: var(--text-3);
  text-align: center;
}
.foot__assina a {
  display: inline-block;
  padding-block: 10px;
  color: var(--text-2);
  border-bottom: 1px solid rgba(162, 155, 144, 0.5);
  transition:
    color 0.35s,
    border-color 0.35s;
}
.foot__assina a:hover {
  color: var(--gold);
  border-bottom-color: rgba(223, 186, 107, 0.6);
}

.foot .up {
  font-size: 13px;
  color: var(--text-2);
  display: inline-flex;
  gap: 9px;
  align-items: center;
  min-height: 44px;
  padding-block: 6px;
  transition: color 0.3s;
}
.foot .up:hover {
  color: var(--text);
}

/* ─────────────────────────────────────────────────────────────
   RESPONSIVO
   ───────────────────────────────────────────────────────────── */
/* "Falar com Jonas" quebrava em três linhas e inflava a barra para 245px.
   O CTA continua ali, só encurtado. */
@media (max-width: 660px) {
  .so-largo {
    display: none;
  }
  .brand img {
    width: 116px;
  }
  .btn {
    padding: 12px 16px;
    font-size: 13px;
    gap: 8px;
  }
  .top .shell {
    gap: 12px;
  }
}

@media (max-width: 899px) {
  .burger {
    display: block;
    margin-left: auto;
  }
  .nav {
    position: fixed;
    inset: 88px 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: rgba(18, 17, 15, 0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--shell) 22px;
    margin: 0;
    display: none;
  }
  .nav.open {
    display: flex;
  }
  .nav a {
    padding-block: 15px;
    border-top: 1px solid var(--line);
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] {
    opacity: 1;
    translate: 0 0;
  }
}
