/* =====================================================================
   Danilo Lombardi — Landing page
   Base visual derivada do Design System Hanzo (templates/hanzo-design-system):
   Inter Display com tracking negativo nos títulos, Times New Roman itálico
   para acentos, botão em pílula com anel translúcido, granulação a 4%.
   Paleta própria do projeto aplicada sobre essa estrutura.
   ===================================================================== */

:root {
  /* paleta */
  --c-graphite: #161A21;   /* grafite profundo — base predominante */
  --c-slate: #515365;      /* cinza azulado */
  --c-offwhite: #F0EEE3;   /* texto principal */
  --c-orange: #F76F2D;     /* CTA, indicadores, destaques */
  --c-peach: #F6AE90;      /* luz, acentos tipográficos */
  --c-steel: #656F8C;      /* azul acinzentado — luz fria secundária */
  --c-ink: #0C1216;        /* tom de fundo da fotografia, para fusão */

  /* tons derivados */
  --text-strong: var(--c-offwhite);
  --text-muted: rgb(240 238 227 / .66);
  --text-faint: rgb(240 238 227 / .46);
  --hairline: rgb(240 238 227 / .07);

  /* tipografia */
  --font-sans: "Inter", "Inter Display", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Times New Roman", Tinos, Times, serif;

  /* layout */
  /* margem lateral: cresce em telas largas, mantendo o conteúdo centralizado em ~1320px */
  --gutter: max(clamp(24px, 5vw, 80px), calc((100vw - 1320px) / 2));
  --header-h: clamp(96px, 13vh, 128px);   /* espaço reservado para o menu fixo */

  /* movimento */
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

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

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

body {
  margin: 0;
  background: var(--c-graphite);
  color: var(--text-strong);
  font-family: var(--font-sans);
  font-optical-sizing: auto;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

::selection { background: var(--c-orange); color: var(--c-graphite); }

/* =====================================================================
   HERO
   ===================================================================== */

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: clip;
  background: var(--c-graphite);
}

/* ---------- fundo ---------- */

.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }

/* grade editorial: 4 colunas em linhas finas, esmaecendo nas bordas */
.hero__grid {
  position: absolute;
  inset: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-inline: 1px solid var(--hairline);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 70%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 70%, transparent 100%);
}
.hero__grid span { border-right: 1px solid var(--hairline); }

/* luz ambiente: fria no canto superior esquerdo, sombra profunda atrás do retrato */
.hero__ambient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(48% 60% at 0% 0%, rgb(101 111 140 / .16), transparent 70%),
    radial-gradient(55% 75% at 80% 55%, rgb(12 18 22 / .9), transparent 72%);
}

/* granulação (como no DS, ~4%) */
.hero__noise {
  position: absolute;
  inset: 0;
  opacity: .05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- cabeçalho mínimo ---------- */

.hero__header {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
  padding: 0 var(--gutter);
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: .32em;
  color: var(--text-strong);
  text-decoration: none;
  font-size: 18px;
  line-height: 1;
  border-radius: 6px;
}
.wordmark__first { font-weight: 600; letter-spacing: -.03em; }
.wordmark__last {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.24em;
  letter-spacing: 0;
  color: var(--c-peach);
}
.wordmark:focus-visible { outline: 2px solid var(--c-peach); outline-offset: 6px; }

.hero__role {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* ---------- área principal ---------- */

.hero__inner {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0 var(--gutter) clamp(48px, 9vh, 112px);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(700px, 50vw);
}

/* identificação superior */
.eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 0 0 clamp(22px, 3.4vh, 34px);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.eyebrow__rule {
  width: 40px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--c-orange));
}
.eyebrow__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--c-orange);
}

/* título */
.hero__title {
  margin: 0;
  font-size: clamp(2rem, min(1.15rem + 3.15vw, 7.6vh), 4.4rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.045em;
  color: var(--text-strong);
  text-wrap: balance;
}
.hero__title .hl {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.1em;
  line-height: .9;
  letter-spacing: -.01em;
  color: var(--c-peach);
  padding-right: .04em;
}
.hero__title .tone { color: rgb(240 238 227 / .5); }

/* texto complementar */
.hero__lead {
  max-width: 34em;
  margin: clamp(22px, 3.6vh, 36px) 0 0;
  font-size: clamp(1.0625rem, .95rem + .35vw, 1.25rem);
  line-height: 1.55;
  letter-spacing: -.01em;
  color: var(--text-muted);
  text-wrap: pretty;
}
.hero__lead strong { font-weight: 500; color: var(--text-strong); }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: clamp(28px, 4.6vh, 48px);
}

/* ---------- CTA ---------- */

.btn {
  --ring: rgb(247 111 45 / .16);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 62px;
  padding: 8px 8px 8px 30px;
  border-radius: 999px;
  color: var(--c-graphite);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: linear-gradient(100deg, var(--c-orange) 0%, var(--c-orange) 48%, var(--c-peach) 100%);
  background-size: 210% 100%;
  background-position: 0% 0;
  box-shadow:
    0 0 0 7px var(--ring),
    inset 0 1px 0 rgb(255 255 255 / .35),
    inset 0 -2px 0 rgb(0 0 0 / .14),
    0 18px 40px -12px rgb(247 111 45 / .45);
  transition:
    background-position .6s var(--ease-out),
    box-shadow .4s var(--ease-out),
    transform .4s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}

.btn__icon {
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  color: var(--c-orange);
  background: var(--c-graphite);
  transition: transform .4s var(--ease-out);
}
.btn__arrow {
  grid-area: 1 / 1;
  transition: transform .45s var(--ease-io), opacity .3s ease;
}
.btn__arrow--next { transform: translate(-150%, 150%); }

@media (hover: hover) {
  .btn:hover {
    --ring: rgb(246 174 144 / .22);
    background-position: 100% 0;
    transform: translateY(-2px);
    box-shadow:
      0 0 0 10px var(--ring),
      inset 0 1px 0 rgb(255 255 255 / .4),
      inset 0 -2px 0 rgb(0 0 0 / .12),
      0 24px 48px -14px rgb(247 111 45 / .55);
  }
  .btn:hover .btn__arrow { transform: translate(150%, -150%); }
  .btn:hover .btn__arrow--next { transform: translate(0, 0); }
}

.btn:active { transform: translateY(0) scale(.985); transition-duration: .12s; }

.btn:focus-visible {
  outline: 2px solid var(--c-offwhite);
  outline-offset: 10px;
}

/* ---------- fotografia ---------- */

/* retrato: menor e mais baixo, para respirar abaixo do menu, e afastado da borda direita */
.hero__media {
  position: absolute;
  z-index: 1;
  right: max(0px, calc(var(--gutter) - 72px));
  bottom: 0;
  width: min(48vw, 820px, calc(100svh - var(--header-h) - 24px));
  aspect-ratio: 1;
  pointer-events: none;
}

/* luz laranja → pêssego atrás do retrato, extrapolando o quadro */
.hero__halo {
  position: absolute;
  inset: -12% -14% 10% 4%;
  background:
    radial-gradient(46% 54% at 82% 28%, rgb(247 111 45 / .26), transparent 72%),
    radial-gradient(70% 60% at 72% 34%, rgb(246 174 144 / .10), transparent 74%);
  filter: blur(36px);
}

.portrait {
  position: absolute;
  inset: 0;
  margin: 0;
  /* fusão com o grafite: as quatro bordas dissolvidas (a direita de leve) */
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 30%, #000 90%, transparent 100%),
    linear-gradient(to top, transparent 0%, #000 24%),
    linear-gradient(to bottom, transparent 0%, #000 14%);
  -webkit-mask-composite: source-in, source-in;
          mask-image:
    linear-gradient(to right, transparent 0%, #000 30%, #000 90%, transparent 100%),
    linear-gradient(to top, transparent 0%, #000 24%),
    linear-gradient(to bottom, transparent 0%, #000 14%);
          mask-composite: intersect;
}

.portrait__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  filter: contrast(1.04) saturate(.96);
}

/* luz de recorte: banha o fundo e a borda do cabelo com laranja/pêssego */
.portrait__light {
  position: absolute;
  inset: 0;
  mix-blend-mode: screen;
  background:
    radial-gradient(40% 46% at 94% 22%, rgb(247 111 45 / .5), rgb(246 174 144 / .14) 58%, transparent 82%),
    radial-gradient(26% 30% at 80% 6%, rgb(246 174 144 / .3), transparent 75%),
    radial-gradient(30% 26% at 6% 62%, rgb(246 174 144 / .16), transparent 80%);
}

/* ---------- indicador de funil ---------- */

.funnel {
  position: absolute;
  right: clamp(16px, 5%, 64px);
  bottom: clamp(56px, 14%, 140px);
  padding: 14px 18px 16px;
  border-radius: 18px;
  background: rgb(22 26 33 / .55);
  border: 1px solid rgb(240 238 227 / .09);
  box-shadow: 0 0 0 6px rgb(240 238 227 / .025), 0 24px 48px -16px rgb(0 0 0 / .6);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
          backdrop-filter: blur(14px) saturate(1.1);
}
.funnel__title {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  line-height: 1;
  color: var(--text-muted);
}
.funnel__steps {
  position: relative;
  display: flex;
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}
/* trilho entre etapas: cada etapa liga-se à seguinte */
.funnel__steps li:not(:last-child)::before,
.funnel__steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 9px;
  width: calc(100% + 26px - 9px);
  height: 1px;
}
.funnel__steps li:not(:last-child)::before { background: rgb(240 238 227 / .16); }
.funnel__steps li:not(:last-child)::after {
  background: linear-gradient(to right, var(--c-peach), var(--c-orange));
  transform-origin: left;
}
.funnel__steps li {
  position: relative;
  padding-top: 18px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.funnel__steps i {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--c-graphite);
  border: 1px solid var(--c-peach);
}
.funnel__steps li:last-child { color: var(--text-strong); }
.funnel__steps li:last-child i {
  background: var(--c-orange);
  border-color: var(--c-orange);
  box-shadow: 0 0 0 4px rgb(247 111 45 / .2);
}

/* =====================================================================
   Movimento — apenas quando o sistema permite
   ===================================================================== */

@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: rise 1s var(--ease-out) var(--d, 0s) both; }

  .portrait { animation: portrait-in 1.6s var(--ease-out) .05s both; }
  .hero__halo { animation: fade-in 2.2s ease .5s both; }
  .portrait__light { animation: fade-in 2s ease .7s both; }

  .funnel__steps li::after { animation: fill .7s var(--ease-io) 1.5s both; }
  .funnel__steps li:nth-child(2)::after { animation-delay: 2.1s; }
  .funnel__steps li:last-child i { animation: ping 1.2s var(--ease-out) 2.75s both; }

  .hero__grid { animation: fade-in 1.6s ease both; }

  .portrait, .hero__halo { transition: translate .9s var(--ease-out); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); filter: blur(6px); }
  to   { opacity: 1; transform: none; filter: none; }
}
@keyframes portrait-in {
  from { opacity: 0; transform: scale(1.06); }
  to   { opacity: 1; transform: none; }
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes ping {
  0%   { box-shadow: 0 0 0 0 rgb(247 111 45 / .55); }
  100% { box-shadow: 0 0 0 4px rgb(247 111 45 / .2); }
}

/* =====================================================================
   Responsivo
   ===================================================================== */

/* desktops largos: retrato ganha um pouco mais de ar */
@media (min-width: 1600px) {
  .hero__content { width: min(760px, 48vw); }
}

/* tablet e celular: empilhado, retrato no topo */
@media (max-width: 959.98px) {
  .hero__grid { grid-template-columns: repeat(2, 1fr); }
  .hero__grid span:nth-child(n+2) { display: none; }

  .hero__header { min-height: 72px; }

  .hero__inner {
    flex-direction: column;
    align-items: stretch;
    padding-bottom: clamp(40px, 8vw, 72px);
  }

  .hero__media {
    position: relative;
    order: -1;
    right: auto;
    bottom: auto;
    align-self: center;
    width: min(100% + 2 * var(--gutter), 46svh, 600px);
    margin-top: -28px;           /* encosta no cabeçalho sem cobrir o rosto */
  }

  .hero__halo { inset: -6% -10% 18% -10%; }

  .portrait {
    -webkit-mask-image:
      linear-gradient(to right, transparent 0%, #000 16%, #000 84%, transparent 100%),
      linear-gradient(to top, transparent 0%, #000 42%),
      linear-gradient(to bottom, transparent 0%, #000 14%);
            mask-image:
      linear-gradient(to right, transparent 0%, #000 16%, #000 84%, transparent 100%),
      linear-gradient(to top, transparent 0%, #000 42%),
      linear-gradient(to bottom, transparent 0%, #000 14%);
  }

  .portrait__light {
    background:
      radial-gradient(36% 40% at 90% 18%, rgb(247 111 45 / .55), rgb(247 111 45 / .14) 55%, transparent 80%),
      radial-gradient(30% 34% at 10% 22%, rgb(246 174 144 / .18), transparent 78%);
  }

  .funnel { display: none; }

  .hero__content {
    width: 100%;
    max-width: 640px;
    margin: clamp(-120px, -14vw, -48px) auto 0;  /* sobrepõe a base esmaecida da foto */
  }
}

@media (max-width: 719.98px) {
  .hero__role { display: none; }
}

@media (max-width: 599.98px) {
  .hero__grid { inset: 0 20px; }
  .eyebrow { font-size: 10.5px; letter-spacing: .13em; gap: 8px 9px; margin-bottom: 18px; }
  .eyebrow__rule { display: none; }
  .hero__title { letter-spacing: -.04em; line-height: 1.04; }
  .hero__lead { margin-top: 18px; }
  .hero__actions { margin-top: 26px; }
  .btn {
    width: 100%;
    min-height: 58px;
    gap: 12px;
    padding-left: 22px;
    font-size: 12.5px;
    letter-spacing: .06em;
  }
  .btn__icon { width: 42px; height: 42px; }
}

/* celulares baixos (ex.: 360×740): retrato menor para manter o CTA na dobra */
@media (max-width: 599.98px) and (max-height: 780px) {
  .hero__media { width: min(100% + 2 * var(--gutter), 38svh); }
  .hero__header { min-height: 64px; }
}

/* telas baixas em desktop (ex.: 1366×768, 1280×720) */
@media (min-width: 960px) and (max-height: 760px) {
  .hero__inner { padding-bottom: 40px; }
  .eyebrow { margin-bottom: 18px; }
}

/* =====================================================================
   UTILITÁRIOS
   ===================================================================== */

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

/* =====================================================================
   NÚMEROS / CREDIBILIDADE
   Continua a grade de 4 colunas da HERO. Cada indicador tem uma
   visualização própria (régua, anel, matriz, curva) que se preenche
   junto com a contagem, via --p (0 → 1).
   ===================================================================== */

.stats {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: clamp(72px, 8vw, 120px) 0 clamp(80px, 9vw, 136px);
  background: var(--c-graphite);
}

/* ---------- fundo ---------- */

.stats__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }

/* mesma grade da HERO, agora com pulsos de luz percorrendo as linhas */
.stats__grid {
  position: absolute;
  inset: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-inline: 1px solid var(--hairline);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 82%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 82%, transparent 100%);
}
.stats__grid span { position: relative; border-right: 1px solid var(--hairline); }
.stats__grid span::after {
  content: "";
  position: absolute;
  top: -160px;
  right: -1px;
  width: 1px;
  height: 160px;
  background: linear-gradient(to bottom, transparent, rgb(247 111 45 / .9) 70%, rgb(246 174 144 / 0));
  opacity: 0;
}

/* textura de pontos, referência a sistemas, bem discreta */
.stats__dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgb(240 238 227 / .09) 0 1px, transparent 1.5px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(60% 70% at 50% 55%, #000, transparent 75%);
          mask-image: radial-gradient(60% 70% at 50% 55%, #000, transparent 75%);
  opacity: .7;
}

.stats__ambient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(40% 50% at 88% 92%, rgb(247 111 45 / .10), transparent 70%),
    radial-gradient(42% 46% at 6% 18%, rgb(101 111 140 / .12), transparent 70%);
}

/* ---------- composição ---------- */

.stats__inner {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  padding: 0 var(--gutter);
}

.stats__head {
  grid-column: 1 / 6;
  grid-row: 1;
  align-self: end;
  padding: 0 clamp(8px, 2vw, 40px) clamp(8px, 1.6vw, 24px) 0;
}

/* indicador de "sinal": três barras crescentes */
.stats__mark {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  height: 14px;
  margin-bottom: clamp(20px, 2.4vw, 32px);
}
.stats__mark i { width: 3px; border-radius: 1px; background: rgb(240 238 227 / .35); }
.stats__mark i:nth-child(1) { height: 5px; }
.stats__mark i:nth-child(2) { height: 9px; }
.stats__mark i:nth-child(3) { height: 14px; background: var(--c-orange); }

.stats__title {
  margin: 0;
  font-size: clamp(2.4rem, 1.3rem + 3vw, 4.25rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.stats__title .hl {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.1em;
  line-height: .9;
  letter-spacing: -.01em;
  color: var(--c-peach);
}

.stat--years    { grid-column: 6 / 13; grid-row: 1; }
.stat--digital  { grid-column: 1 / 4;  grid-row: 2; }
.stat--launches { grid-column: 4 / 8;  grid-row: 2; }
.stat--revenue  { grid-column: 8 / 13; grid-row: 2; }

/* ---------- card ---------- */

.stat {
  --mx: 50%;
  --my: 50%;
  --rx: 0deg;
  --ry: 0deg;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  min-height: 300px;
  padding: clamp(24px, 2.4vw, 36px);
  border-radius: 24px;
  border: 1px solid rgb(240 238 227 / .08);
  background:
    linear-gradient(160deg, rgb(240 238 227 / .05), rgb(240 238 227 / .012) 55%),
    rgb(22 26 33 / .7);
  box-shadow:
    0 0 0 6px rgb(240 238 227 / .016),
    0 32px 64px -32px rgb(0 0 0 / .7);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry));
  transition:
    transform .6s var(--ease-out),
    border-color .4s ease,
    box-shadow .5s var(--ease-out);
}

/* spotlight que acompanha o cursor */
.stat::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(440px circle at var(--mx) var(--my), rgb(247 111 45 / .11), transparent 62%);
  opacity: 0;
  transition: opacity .5s ease;
}
/* borda iluminada no ponto do cursor */
.stat::after {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: radial-gradient(280px circle at var(--mx) var(--my), rgb(246 174 144 / .75), transparent 62%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0;
  transition: opacity .5s ease;
  pointer-events: none;
}

@media (hover: hover) {
  .stat:hover {
    border-color: rgb(240 238 227 / .12);
    transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(-4px);
    box-shadow:
      0 0 0 6px rgb(240 238 227 / .025),
      0 40px 80px -36px rgb(0 0 0 / .8),
      0 0 60px -30px rgb(247 111 45 / .35);
  }
  .stat:hover::before,
  .stat:hover::after { opacity: 1; }
}

.stat__body { position: relative; z-index: 1; }

.stat__figure {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 .35em;
  margin: 0;
}

.stat__num {
  display: inline-flex;
  align-items: baseline;
  font-size: clamp(4rem, 2.4rem + 4vw, 7rem);
  font-weight: 300;
  line-height: .86;
  letter-spacing: -.06em;
  font-variant-numeric: tabular-nums;
  color: var(--text-strong);
}
.stat--years .stat__num,
.stat--revenue .stat__num { font-size: clamp(4.5rem, 2.6rem + 5vw, 8.5rem); }

/* largura reservada para o número final: a contagem não desloca o layout */
.stat__num [data-count] {
  display: inline-block;
  min-width: calc(var(--digits, 1) * (1ch - .06em));
  text-align: right;
}

.stat__affix {
  align-self: flex-start;
  margin: .06em .04em 0;
  font-size: .5em;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  color: var(--c-orange);
}
.stat__currency {
  align-self: flex-start;
  margin: .3em .14em 0 0;
  font-size: .26em;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .02em;
  color: var(--c-peach);
}
.stat__unit {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.6rem, 1.1rem + 1.2vw, 2.4rem);
  line-height: 1;
  letter-spacing: -.01em;
  color: var(--c-peach);
}
.stat__unit .stat__affix { font-family: var(--font-sans); font-style: normal; font-size: .62em; vertical-align: .5em; }

.stat__desc {
  display: flex;
  gap: 12px;
  max-width: 26ch;
  margin: clamp(16px, 1.8vw, 22px) 0 0;
  font-size: clamp(.9375rem, .88rem + .2vw, 1.0625rem);
  line-height: 1.45;
  letter-spacing: -.005em;
  color: var(--text-muted);
}
.stat__desc::before {
  content: "";
  flex: none;
  width: 14px;
  height: 1px;
  margin-top: .72em;
  background: var(--c-orange);
}

/* ---------- 01 · régua de anos ---------- */

.stat--years { min-height: 310px; }
.stat--years .stat__body { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; }
.stat--years .stat__desc { margin-bottom: .6em; }

.viz-ruler {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 48px;
  padding-bottom: 1px;
}
.viz-ruler::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(to right, rgb(240 238 227 / .2), rgb(240 238 227 / .06));
}
.viz-ruler i {
  width: 1px;
  height: 18px;
  background: var(--c-offwhite);
  opacity: calc(.14 + .86 * clamp(0, var(--p, 1) * 15 - var(--t), 1));
}
.viz-ruler i:nth-child(5n) { height: 34px; background: var(--c-peach); }
.viz-ruler i.viz-ruler__plus {
  align-self: center;
  width: 13px;
  height: 13px;
  background:
    linear-gradient(var(--c-orange), var(--c-orange)) center / 100% 1.5px no-repeat,
    linear-gradient(var(--c-orange), var(--c-orange)) center / 1.5px 100% no-repeat;
  opacity: .15;
  transition: opacity .5s ease, transform .6s var(--ease-out);
}
.is-done .viz-ruler i.viz-ruler__plus { opacity: 1; transform: rotate(90deg); }

/* ---------- 02 · anel de 8 segmentos ---------- */

.stat--digital { justify-content: flex-end; }

.viz-ring {
  position: absolute;
  top: clamp(20px, 2vw, 30px);
  right: clamp(20px, 2vw, 30px);
  width: clamp(64px, 6vw, 92px);
  aspect-ratio: 1;
}
.viz-ring span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(var(--c-peach) 0deg, var(--c-orange) calc(var(--p, 1) * 360deg), rgb(240 238 227 / .12) calc(var(--p, 1) * 360deg));
  -webkit-mask:
    radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 6px)),
    repeating-conic-gradient(from 2deg, #000 0 41deg, transparent 41deg 45deg);
  -webkit-mask-composite: source-in;
          mask:
    radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 6px)) intersect,
    repeating-conic-gradient(from 2deg, #000 0 41deg, transparent 41deg 45deg);
}
.viz-ring::after {
  content: "";
  position: absolute;
  inset: 34%;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(247 111 45 / .5), transparent 70%);
  opacity: calc(var(--p, 1) * .9);
}

/* ---------- 03 · matriz de 130 pontos (26 × 5) ---------- */

.viz-matrix {
  --dot: radial-gradient(circle, currentColor 0 1.4px, transparent 1.9px);
  position: relative;
  width: 100%;
  aspect-ratio: 26 / 5;
  color: rgb(240 238 227 / .16);
  background: var(--dot) 0 0 / calc(100% / 26) calc(100% / 5);
}
.viz-matrix span {
  position: absolute;
  inset: 0;
  color: var(--c-peach);
  background: var(--dot) 0 0 / calc(100% / 26) calc(100% / 5);
  clip-path: inset(0 calc((1 - var(--p, 1)) * 100%) 0 0);
}
/* a "frente" da contagem acende em laranja */
.viz-matrix span::after {
  content: "";
  position: absolute;
  inset: 0;
  color: var(--c-orange);
  background: var(--dot) 0 0 / calc(100% / 26) calc(100% / 5);
  -webkit-mask-image: linear-gradient(to right, transparent calc(var(--p, 1) * 100% - 16%), #000 calc(var(--p, 1) * 100%));
          mask-image: linear-gradient(to right, transparent calc(var(--p, 1) * 100% - 16%), #000 calc(var(--p, 1) * 100%));
}

/* ---------- 04 · curva de crescimento ---------- */

.stat--revenue {
  justify-content: flex-start;
  border-color: rgb(247 111 45 / .16);
  background:
    radial-gradient(70% 80% at 100% 100%, rgb(247 111 45 / .14), transparent 70%),
    linear-gradient(160deg, rgb(240 238 227 / .05), rgb(240 238 227 / .012) 55%),
    rgb(22 26 33 / .7);
}

.viz-curve {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  width: 100%;
  height: 58%;
  overflow: visible;
}
.viz-curve__lines line { stroke: rgb(240 238 227 / .06); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 2 6; }
.viz-curve__line {
  stroke-width: 1.6;
  stroke-dasharray: 1;
  stroke-dashoffset: calc(1 - var(--p, 1));
  filter: drop-shadow(0 0 6px rgb(247 111 45 / .6));
}
.viz-curve__area { clip-path: inset(0 calc((1 - var(--p, 1)) * 100%) 0 0); }

.viz-curve__dot {
  position: absolute;
  left: 95%;
  top: calc(42% + 58% * 14 / 160);
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--c-orange);
  box-shadow: 0 0 0 5px rgb(247 111 45 / .18), 0 0 24px rgb(247 111 45 / .8);
  opacity: 0;
  transform: scale(.4);
  transition: opacity .4s ease, transform .6s var(--ease-out);
}
.is-done .viz-curve__dot { opacity: 1; transform: none; }

/* =====================================================================
   NÚMEROS — movimento
   ===================================================================== */

@media (prefers-reduced-motion: no-preference) {
  /* entrada escalonada (só quando o JS está ativo) */
  .js .stats [data-reveal] {
    opacity: 0;
    translate: 0 28px;
    scale: .97;
    filter: blur(4px);
    transition:
      opacity .9s var(--ease-out) calc(var(--i, 0) * 110ms),
      translate 1.1s var(--ease-out) calc(var(--i, 0) * 110ms),
      scale 1.1s var(--ease-out) calc(var(--i, 0) * 110ms),
      filter .9s var(--ease-out) calc(var(--i, 0) * 110ms),
      transform .6s var(--ease-out),
      border-color .4s ease,
      box-shadow .5s var(--ease-out);
  }
  .js .stats [data-reveal].is-in { opacity: 1; translate: 0 0; scale: 1; filter: none; }

  /* pulsos de luz descendo pelas linhas da grade (pausados fora da tela) */
  .stats__grid span::after {
    animation: grid-pulse 7.5s cubic-bezier(.4, 0, .6, 1) infinite;
    animation-play-state: paused;
  }
  .stats__grid span:nth-child(2)::after { animation-delay: 2.6s; animation-duration: 8.5s; }
  .stats__grid span:nth-child(3)::after { animation-delay: 5.1s; animation-duration: 7s; }
  .stats.is-visible .stats__grid span::after { animation-play-state: running; }

  .is-done .viz-curve__dot { animation: ping-dot 2.4s var(--ease-out) .2s 2; }
}

@keyframes grid-pulse {
  0%   { transform: translateY(0); opacity: 0; }
  10%  { opacity: 1; }
  55%  { opacity: 1; }
  70%, 100% { transform: translateY(calc(100vh + 400px)); opacity: 0; }
}
@keyframes ping-dot {
  0%   { box-shadow: 0 0 0 0 rgb(247 111 45 / .55), 0 0 24px rgb(247 111 45 / .8); }
  70%  { box-shadow: 0 0 0 14px rgb(247 111 45 / 0), 0 0 24px rgb(247 111 45 / .8); }
  100% { box-shadow: 0 0 0 5px rgb(247 111 45 / .18), 0 0 24px rgb(247 111 45 / .8); }
}

/* =====================================================================
   NÚMEROS — responsivo
   ===================================================================== */

@media (max-width: 1099.98px) {
  .stats__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats__head,
  .stat--years,
  .stat--revenue { grid-column: 1 / -1; }
  .stats__head { max-width: 620px; padding: 0 0 clamp(16px, 3vw, 32px); }
  .stats__head, .stat--years, .stat--digital, .stat--launches, .stat--revenue { grid-row: auto; }
  .stat--digital  { grid-column: 1; }
  .stat--launches { grid-column: 2; }
  .stat { min-height: 280px; }
  .stat--years { min-height: 240px; }
  .stat--revenue { min-height: 320px; }
}

@media (max-width: 959.98px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid span:nth-child(n+2) { display: none; }
}

@media (max-width: 639.98px) {
  .stats__inner { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .stat--digital, .stat--launches { grid-column: 1; }
  .stats__grid { inset: 0 20px; }
  .stat { min-height: 0; gap: 24px; border-radius: 20px; }
  .stat--years { min-height: 0; }
  .stat--digital { min-height: 220px; }
  .stat--revenue { min-height: 300px; }
  .stat__num { font-size: clamp(3.75rem, 2rem + 9vw, 5rem); }
  .stat--years .stat__num,
  .stat--revenue .stat__num { font-size: clamp(4.25rem, 2rem + 11vw, 5.75rem); }
}

/* =====================================================================
   PROBLEMAS E GARGALOS
   Primeira superfície clara da página. Sobe sobre a seção anterior com
   cantos arredondados; cada problema tem um gráfico que conta sua história.
   ===================================================================== */

.pains {
  --c-mist: #EAE9E5;
  --c-orange-ink: #C24C17;          /* laranja escurecido p/ texto sobre claro (contraste AA) */
  --ink: var(--c-graphite);
  --ink-muted: var(--c-slate);
  --ink-line: rgb(22 26 33 / .1);

  position: relative;
  z-index: 1;
  isolation: isolate;
  margin-top: -36px;
  padding: clamp(88px, 9vw, 136px) 0 clamp(56px, 6vw, 96px);
  border-radius: 36px 36px 0 0;
  background:
    radial-gradient(60% 50% at 0% 0%, rgb(255 255 255 / .6), transparent 70%),
    radial-gradient(50% 40% at 100% 100%, var(--c-mist), transparent 75%),
    var(--c-offwhite);
  color: var(--ink);
  overflow: clip;
}

.pains ::selection { background: var(--c-graphite); color: var(--c-offwhite); }

/* ---------- fundo ---------- */

.pains__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.pains__grid {
  position: absolute;
  inset: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-inline: 1px solid rgb(22 26 33 / .055);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 60%, transparent 85%);
          mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 60%, transparent 85%);
}
.pains__grid span { border-right: 1px solid rgb(22 26 33 / .055); }

.pains__inner { padding: 0 var(--gutter); }

/* ---------- cabeçalho ---------- */

.pains__head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 16px;
  align-items: end;
}
.pains__headline { grid-column: 1 / 8; }
.pains__intro { grid-column: 8 / 13; padding-bottom: .4em; }

.eyebrow--ink { color: var(--ink-muted); margin-bottom: clamp(20px, 2.6vw, 32px); }

.pains__title {
  margin: 0;
  max-width: 13em;
  font-size: clamp(2.5rem, 1.25rem + 3.7vw, 5rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.05em;
  text-wrap: balance;
}
.pains__title .hl {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.1em;
  line-height: .9;
  letter-spacing: -.01em;
  color: var(--c-orange-ink);
}

.pains__intro p {
  margin: 0;
  max-width: 34em;
  font-size: clamp(1.0625rem, .98rem + .3vw, 1.25rem);
  line-height: 1.55;
  letter-spacing: -.01em;
  color: var(--ink-muted);
  text-wrap: pretty;
}
.pains__intro p + p { margin-top: 18px; }
.pains__intro-strong {
  padding-left: 18px;
  border-left: 2px solid var(--c-orange);
  font-weight: 500;
  color: var(--ink) !important;
}

/* régua que se desenha sob o cabeçalho */
.pains__rule {
  grid-column: 1 / -1;
  position: relative;
  height: 1px;
  margin-top: clamp(40px, 5vw, 64px);
  background: var(--ink-line);
}
.pains__rule span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 28%;
  background: linear-gradient(to right, var(--c-orange), rgb(247 111 45 / 0));
  transform-origin: left;
}

/* ---------- lista / composição ---------- */

.pains__list {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  margin: clamp(24px, 3vw, 40px) 0 0;
  padding: 0;
  list-style: none;
}
.pain--referral { grid-column: 1 / 9; }
.pain--price    { grid-column: 9 / 13; }
.pain--isolated { grid-column: 1 / 6; }
.pain--revenue  { grid-column: 6 / 13; }

/* ---------- card ---------- */

.pain {
  --mx: 50%;
  --my: 50%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 380px;
  padding: clamp(24px, 2.4vw, 36px);
  border-radius: 24px;
  border: 1px solid rgb(22 26 33 / .08);
  background: linear-gradient(170deg, rgb(255 255 255 / .7), rgb(255 255 255 / .25));
  box-shadow:
    0 0 0 6px rgb(255 255 255 / .35),
    0 24px 48px -30px rgb(22 26 33 / .28);
  transition:
    transform .6s var(--ease-out),
    box-shadow .5s var(--ease-out),
    border-color .4s ease;
}
.pain--price    { background: linear-gradient(170deg, rgb(234 233 229 / .95), rgb(234 233 229 / .6)); }
.pain--isolated { background: linear-gradient(170deg, rgb(234 233 229 / .8), rgb(255 255 255 / .35)); }

/* spotlight e borda laranja seguindo o cursor */
.pain::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgb(247 111 45 / .09), transparent 60%);
  opacity: 0;
  transition: opacity .5s ease;
}
.pain::after {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: radial-gradient(260px circle at var(--mx) var(--my), rgb(247 111 45 / .9), transparent 65%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0;
  transition: opacity .5s ease;
  pointer-events: none;
}

@media (hover: hover) {
  .pain:hover {
    transform: translateY(-6px);
    border-color: rgb(22 26 33 / .1);
    box-shadow:
      0 0 0 6px rgb(255 255 255 / .55),
      0 40px 70px -34px rgb(22 26 33 / .38),
      0 0 50px -28px rgb(247 111 45 / .45);
  }
  .pain:hover::before,
  .pain:hover::after { opacity: 1; }
}

/* número grande em contorno */
.pain__index {
  font-size: clamp(3.5rem, 2.4rem + 3vw, 6rem);
  font-weight: 300;
  line-height: .8;
  letter-spacing: -.06em;
  font-variant-numeric: tabular-nums;
  color: transparent;
  -webkit-text-stroke: 1px rgb(22 26 33 / .22);
  transition: -webkit-text-stroke-color .5s ease, color .5s ease, translate .6s var(--ease-out);
}
@media (hover: hover) {
  .pain:hover .pain__index { -webkit-text-stroke-color: var(--c-orange); color: rgb(247 111 45 / .08); }
}

/* ícone em chip, no canto */
.pain__chip {
  position: absolute;
  top: clamp(20px, 2vw, 30px);
  right: clamp(20px, 2vw, 30px);
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  color: var(--c-orange);
  background: var(--c-graphite);
  box-shadow: 0 0 0 5px rgb(22 26 33 / .05);
  transition: transform .5s var(--ease-out), background-color .4s ease, color .4s ease;
}
.pain__chip svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (hover: hover) {
  .pain:hover .pain__chip { transform: rotate(-8deg) scale(1.06); background: var(--c-orange); color: var(--c-graphite); }
}

.pain__title {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 1.1rem + .7vw, 1.75rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.03em;
  color: var(--ink);
}
.pain__desc {
  margin: 0;
  max-width: 42ch;
  font-size: clamp(.9375rem, .9rem + .15vw, 1.0625rem);
  line-height: 1.55;
  color: var(--ink-muted);
  text-wrap: pretty;
}

.pain__viz { position: relative; }
.pain__viz svg { display: block; width: 100%; height: auto; overflow: visible; }

/* linhas que se desenham */
.pain .ln {
  fill: none;
  stroke: rgb(22 26 33 / .5);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1.1s var(--ease-io) var(--d, 0s);
}

/* ---------- 01 · rede de indicação interrompida ---------- */

.pain--referral {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  grid-template-rows: auto 1fr;
  column-gap: clamp(24px, 3vw, 48px);
  row-gap: 24px;
}
.pain--referral .pain__index { grid-column: 1; grid-row: 1; }
.pain--referral .pain__text  { grid-column: 1; grid-row: 2; align-self: end; }
.pain--referral .pain__viz   { grid-column: 2; grid-row: 1 / 3; align-self: center; padding-top: 40px; }

.viz-net__faint circle { fill: rgb(81 83 101 / .25); }
.viz-net .ln--broken { stroke: var(--c-orange); stroke-width: 2; }
.viz-net .ln--fade { stroke-dasharray: .05 .06; stroke: rgb(22 26 33 / .3); transition: opacity .8s ease var(--d); }
.viz-net__break path {
  fill: none;
  stroke: var(--c-orange);
  stroke-width: 2;
  stroke-linecap: round;
  transition: opacity .4s ease 1.2s;
}
.viz-net__nodes circle {
  fill: var(--c-offwhite);
  stroke: var(--c-graphite);
  stroke-width: 1.6;
  transform-box: fill-box;
  transform-origin: center;
  transition: transform .6s var(--ease-out) var(--d);
}
.viz-net__hub { fill: var(--c-graphite); }
.viz-net__core { fill: var(--c-orange); }
.viz-net__halo {
  fill: rgb(247 111 45 / .12);
  stroke: rgb(247 111 45 / .35);
  stroke-dasharray: 3 5;
  transform-box: fill-box;
  transform-origin: center;
}

/* ---------- 02 · preço comprimido ---------- */

.viz-price__value { stroke: rgb(22 26 33 / .28); stroke-width: 1.2; stroke-dasharray: 4 6; }
.viz-price__base { stroke: rgb(22 26 33 / .2); stroke-width: 1; }
.viz-price__bars rect {
  fill: var(--c-slate);
  transform-box: fill-box;
  transform-origin: bottom;
  transform: scaleY(var(--s));
  transition: transform .6s var(--ease-out);
}
.viz-price__bars rect:nth-child(1) { fill: var(--c-graphite); }
.viz-price__bars rect:nth-child(2) { opacity: .85; }
.viz-price__bars rect:nth-child(3) { opacity: .7; }
.viz-price__bars rect:nth-child(4) { opacity: .55; }
.viz-price__bars rect:nth-child(5) { fill: var(--c-orange); }
.viz-price .ln--trend { stroke: var(--c-orange); stroke-width: 1.8; }
.viz-price__arrow { fill: none; stroke: var(--c-orange); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: opacity .4s ease 2.1s; }
.viz-price__bubble rect { fill: var(--c-graphite); }
.viz-price__bubble text {
  fill: var(--c-offwhite);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -.01em;
}
.viz-price__bubble { transform-box: fill-box; transform-origin: 20% 100%; transition: transform .6s var(--ease-out) 1.6s, opacity .4s ease 1.6s; }
@media (hover: hover) {
  .pain--price:hover .viz-price__bars rect:not(:first-child) { transform: scaleY(calc(var(--s) * .82)); }
  .pain--price:hover .viz-price__bubble { animation: nudge .5s var(--ease-out); }
}

/* ---------- 03 · ações isoladas ---------- */

.viz-iso__metrics rect { fill: none; stroke: rgb(81 83 101 / .45); stroke-width: 1.2; stroke-dasharray: 3 3; }
.viz-iso__items > g {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform .8s var(--ease-out), opacity .5s ease var(--d);
}
.viz-iso__items rect,
.viz-iso__items circle,
.viz-iso__items path:not(.viz-iso__trail) { fill: rgb(240 238 227 / .9); stroke: var(--c-graphite); stroke-width: 1.6; stroke-linejoin: round; }
.viz-iso__trail { fill: none; stroke: rgb(81 83 101 / .55); stroke-width: 1.4; stroke-dasharray: 3 5; stroke-linecap: round; }
.viz-iso__doc { fill: rgb(255 255 255 / .75); stroke: var(--c-graphite); stroke-width: 1.6; }
.viz-iso__code { stroke: var(--c-graphite); stroke-width: 1.8; }
.viz-iso__lines { stroke: rgb(81 83 101 / .5); stroke-width: 2; stroke-linecap: round; }
.viz-iso__ping {
  fill: none;
  stroke: var(--c-orange);
  stroke-width: 1.2;
  stroke-dasharray: 2 6;
  transform-box: fill-box;
  transform-origin: center;
  opacity: .7;
}
@media (hover: hover) {
  .pain--isolated:hover .viz-iso__items > g { transform: translate(var(--dx), var(--dy)); }
  .pain--isolated:hover .viz-iso__trail { animation: march 1.2s linear infinite; }
}

/* ---------- 04 · faturamento oscilante ---------- */

.pain--revenue {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: clamp(24px, 3vw, 44px);
}
.pain--revenue .pain__index { grid-column: 1; grid-row: 1; }
.pain--revenue .pain__text  { grid-column: 2; grid-row: 1; padding-right: 56px; }
.pain--revenue .pain__viz   { grid-column: 1 / -1; grid-row: 2; align-self: end; }

.pain--revenue .pain__viz { align-self: stretch; }
.viz-wave { min-height: clamp(150px, 14vw, 200px); cursor: crosshair; }
.viz-wave svg { position: absolute; inset: 0; height: 100%; }
.viz-wave__good { fill: rgb(22 26 33 / .07); }
.viz-wave__bad  { fill: rgb(247 111 45 / .22); }
.viz-wave__areas { transition: opacity .9s ease 1.4s; }
.viz-wave__base { stroke: rgb(22 26 33 / .3); stroke-width: 1; stroke-dasharray: 4 6; vector-effect: non-scaling-stroke; }
/* a onda estica com o card: traço sem distorção, revelado por varredura */
.viz-wave .ln--wave {
  stroke: var(--c-graphite);
  stroke-width: 2;
  stroke-dasharray: none;
  vector-effect: non-scaling-stroke;
  clip-path: inset(-10% 0 -10% 0);
  transition: clip-path 2.2s var(--ease-io) .2s;
}
.nowrap { white-space: nowrap; }

.viz-wave__cursor {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--cx, 50%);
  width: 1px;
  background: rgb(22 26 33 / .25);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.viz-wave__cursor i {
  position: absolute;
  left: 0;
  top: var(--cy, 50%);
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: var(--c-graphite);
  box-shadow: 0 0 0 4px rgb(22 26 33 / .12);
  transition: background-color .25s ease, box-shadow .25s ease;
}
.viz-wave.is-tracking .viz-wave__cursor { opacity: 1; }
.viz-wave.is-low .viz-wave__cursor i { background: var(--c-orange); box-shadow: 0 0 0 5px rgb(247 111 45 / .25), 0 0 18px rgb(247 111 45 / .6); }

/* ---------- encerramento ---------- */

.verdict {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: clamp(56px, 7vw, 104px);
  padding: clamp(44px, 6vw, 100px) clamp(28px, 5.5vw, 96px) clamp(40px, 5vw, 80px);
  border-radius: 32px;
  background: var(--c-graphite);
  color: var(--c-offwhite);
  box-shadow:
    0 0 0 8px rgb(22 26 33 / .05),
    0 50px 90px -50px rgb(22 26 33 / .7);
}
.verdict ::selection { background: var(--c-orange); color: var(--c-graphite); }

.verdict__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.verdict__grid {
  position: absolute;
  inset: 0 clamp(28px, 5.5vw, 96px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-inline: 1px solid var(--hairline);
}
.verdict__grid span { border-right: 1px solid var(--hairline); }
.verdict__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(55% 75% at 0% 100%, rgb(247 111 45 / .26), transparent 70%),
    radial-gradient(40% 55% at 100% 0%, rgb(246 174 144 / .1), transparent 70%),
    radial-gradient(40% 50% at 70% 60%, rgb(101 111 140 / .12), transparent 70%);
}

.verdict__statement {
  max-width: 15.5em;
  margin: 0;
  font-size: clamp(2.4rem, 1.1rem + 4.3vw, 5.75rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.05em;
  text-wrap: balance;
}
.verdict__statement .hl {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.1em;
  line-height: .9;
  letter-spacing: -.01em;
  color: var(--c-peach);
}
/* "falta de esforço" riscado em laranja (o texto permanece legível) */
.verdict__strike {
  color: rgb(240 238 227 / .42);
  background: linear-gradient(var(--c-orange), var(--c-orange)) no-repeat 0 56% / 100% .075em;
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
  transition: background-size 1s var(--ease-io) 1.3s;
}

.verdict__foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 38ch);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  margin-top: clamp(40px, 5vw, 72px);
}
.verdict__sub {
  margin: 0;
  font-size: clamp(1.0625rem, .98rem + .35vw, 1.3rem);
  line-height: 1.55;
  letter-spacing: -.01em;
  color: var(--text-muted);
  text-wrap: pretty;
}
.verdict__sub strong { font-weight: 500; color: var(--c-offwhite); }

/* duto que se fecha: os gargalos estancados */
.verdict__pipe { position: relative; height: 2px; }
.verdict__pipe span {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  border-radius: 2px;
}
.verdict__pipe-a { left: 0;  background: linear-gradient(to right, rgb(247 111 45 / 0), var(--c-orange)); transform-origin: left; }
.verdict__pipe-b { right: 0; background: linear-gradient(to right, var(--c-orange), var(--c-peach)); transform-origin: right; }
.verdict__pipe span { transition: transform 1.1s var(--ease-io) 1.8s; }
.verdict__pipe i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: var(--c-orange);
  box-shadow: 0 0 0 5px rgb(247 111 45 / .2), 0 0 28px rgb(247 111 45 / .9);
  transition: opacity .5s ease 2.7s, transform .6s var(--ease-out) 2.7s;
}

/* =====================================================================
   PROBLEMAS — movimento
   Estados iniciais só existem com JS ativo e sem pedido de movimento
   reduzido; sem isso, tudo já aparece no estado final.
   ===================================================================== */

/* palavras divididas pelo JS */
.split-w {
  display: inline-block;
  overflow: clip;
  overflow-clip-margin: .2em;
  padding: 0 .06em .14em 0;
  margin: 0 -.06em -.14em 0;
  vertical-align: top;
}
.split-w > span { display: inline-block; }

@media (prefers-reduced-motion: no-preference) {
  .js .pains [data-reveal] {
    opacity: 0;
    translate: 0 32px;
    filter: blur(4px);
    transition:
      opacity .9s var(--ease-out) calc(var(--i, 0) * 120ms),
      translate 1.1s var(--ease-out) calc(var(--i, 0) * 120ms),
      filter .9s var(--ease-out) calc(var(--i, 0) * 120ms),
      transform .6s var(--ease-out),
      box-shadow .5s var(--ease-out),
      border-color .4s ease,
      clip-path 1.3s var(--ease-io);
  }
  .js .pains [data-reveal].is-in { opacity: 1; translate: 0 0; filter: none; }

  /* título palavra a palavra */
  .js .pains [data-split] .split-w > span {
    translate: 0 112%;
    transition: translate 1s var(--ease-out) calc(var(--wi, 0) * 45ms + var(--wb, 0ms));
  }
  .js .pains [data-split].is-in .split-w > span { translate: 0 0; }

  /* régua */
  .js .pains__rule:not(.is-in) span { transform: scaleX(0); }
  .pains__rule span { transition: transform 1.6s var(--ease-io) .4s; }

  /* número do card sobe junto */
  .js .pain:not(.is-in) .pain__index { translate: 0 30%; }

  /* gráficos: estado antes da revelação */
  .js .pain:not(.is-in) .ln { stroke-dashoffset: 1; }
  .js .pain:not(.is-in) .ln--fade,
  .js .pain:not(.is-in) .viz-net__break path { opacity: 0; }
  .js .pain:not(.is-in) .viz-net__nodes circle { transform: scale(0); }
  .pain--referral.is-in .viz-net__halo { animation: halo 2.6s var(--ease-out) .9s 2 backwards; }
  @media (hover: hover) {
    .pain--referral:hover .viz-net__break path { animation: spark .6s steps(2) infinite; }
    .pain--referral:hover .ln--broken { stroke-dasharray: .1 .05; animation: march-p 1s linear infinite; }
  }

  .pain--price.is-in .viz-price__bars rect { animation: price-squeeze 1.6s var(--ease-io) calc(.25s + var(--d)) backwards; }
  .js .pain:not(.is-in) .viz-price__bars rect { transform: scaleY(0); }
  .js .pain:not(.is-in) .viz-price__arrow { opacity: 0; }
  .js .pain:not(.is-in) .viz-price__bubble { opacity: 0; transform: translateY(8px) scale(.85); }

  .js .pain:not(.is-in) .viz-iso__items > g { opacity: 0; transform: scale(.4); }
  .viz-iso__items > g { transition: transform .8s var(--ease-out) var(--d), opacity .5s ease var(--d); }
  .pain--isolated.is-in .viz-iso__ping { animation: halo 2.4s var(--ease-out) 1s 2 backwards; }

  .js .pain:not(.is-in) .viz-wave__areas { opacity: 0; }
  .js .pain:not(.is-in) .viz-wave .ln--wave { clip-path: inset(-10% 100% -10% 0); }

  /* encerramento: o painel se abre, palavras sobem, risco e duto se desenham */
  .js .verdict:not(.is-in) { clip-path: inset(7% 3% 7% 3% round 32px); }
  .verdict { clip-path: inset(0 round 32px); }
  .js .verdict [data-split] .split-w > span { --wb: 350ms; translate: 0 112%; transition: translate 1.1s var(--ease-out) calc(var(--wi, 0) * 55ms + 350ms); }
  .js .verdict.is-in [data-split] .split-w > span { translate: 0 0; }
  .js .verdict:not(.is-in) .verdict__strike { background-size: 0% .075em; }
  .js .verdict:not(.is-in) .verdict__pipe span { transform: scaleX(.42); }
  .js .verdict:not(.is-in) .verdict__pipe i { opacity: 0; transform: scale(.3); }
  .verdict__sub { transition: opacity 1s ease 1.6s, translate 1s var(--ease-out) 1.6s; }
  .js .verdict:not(.is-in) .verdict__sub { opacity: 0; translate: 0 16px; }
  .verdict.is-in .verdict__pipe i { animation: halo-dot 2.4s var(--ease-out) 3.3s 2 backwards; }
}

@keyframes price-squeeze {
  0%   { transform: scaleY(0); }
  45%  { transform: scaleY(1); }
  60%  { transform: scaleY(1); }
  100% { transform: scaleY(var(--s)); }
}
@keyframes halo {
  0%   { transform: scale(.6); opacity: 0; }
  30%  { opacity: 1; }
  100% { transform: scale(1.25); opacity: 0; }
}
@keyframes halo-dot {
  0%   { box-shadow: 0 0 0 0 rgb(247 111 45 / .6), 0 0 28px rgb(247 111 45 / .9); }
  70%  { box-shadow: 0 0 0 16px rgb(247 111 45 / 0), 0 0 28px rgb(247 111 45 / .9); }
  100% { box-shadow: 0 0 0 5px rgb(247 111 45 / .2), 0 0 28px rgb(247 111 45 / .9); }
}
@keyframes spark { 0%, 100% { opacity: 1; } 50% { opacity: .2; } }
@keyframes march { to { stroke-dashoffset: -16; } }
@keyframes march-p { to { stroke-dashoffset: -.3; } }
@keyframes nudge {
  0%, 100% { transform: none; }
  30% { transform: translateY(-4px) rotate(-3deg); }
  60% { transform: translateY(0) rotate(2deg); }
}

/* =====================================================================
   PROBLEMAS — responsivo
   ===================================================================== */

@media (max-width: 1099.98px) {
  .pains__headline,
  .pains__intro { grid-column: 1 / -1; }
  .pains__intro { margin-top: clamp(24px, 4vw, 36px); max-width: 640px; }
  .pains__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pain--referral, .pain--revenue { grid-column: 1 / -1; }
  .pain--price    { grid-column: 1; }
  .pain--isolated { grid-column: 2; }
  .pain { min-height: 0; }
}

@media (max-width: 959.98px) {
  .pains { margin-top: -28px; border-radius: 28px 28px 0 0; }
  .pains__grid { grid-template-columns: repeat(2, 1fr); }
  .pains__grid span:nth-child(n+2) { display: none; }
  .verdict__foot { grid-template-columns: minmax(0, 1fr); }
  .verdict__pipe { max-width: 260px; }
}

@media (max-width: 639.98px) {
  .pains__grid { inset: 0 20px; }
  .pains__list { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .pain--price, .pain--isolated { grid-column: 1; }
  .pain { border-radius: 20px; gap: 20px; }

  .pain--referral { display: flex; }
  .pain--referral .pain__viz { order: 1; padding-top: 0; }
  .pain--referral .pain__text { order: 2; }

  .pain--revenue { display: flex; }
  .pain--revenue .pain__text { padding-right: 0; }

  .viz-wave { min-height: 140px; }

  .verdict { border-radius: 24px; padding: 40px 24px 36px; clip-path: inset(0 round 24px); }
  .verdict__grid { inset: 0 24px; grid-template-columns: repeat(2, 1fr); }
  .verdict__grid span:nth-child(n+2) { display: none; }
  .js .verdict:not(.is-in) { clip-path: inset(4% 2% 4% 2% round 24px); }
}

/* =====================================================================
   METODOLOGIA
   Volta ao grafite. Uma linha conecta as quatro etapas e se preenche com
   o scroll (--p, 0 → 1); cada etapa acende (.is-active) quando a linha
   chega ao seu nó, e o gráfico da etapa entra em funcionamento.
   ===================================================================== */

.method {
  position: relative;
  z-index: 2;
  isolation: isolate;
  margin-top: -36px;
  padding: clamp(88px, 9vw, 136px) 0 clamp(96px, 10vw, 160px);
  border-radius: 36px 36px 0 0;
  background: var(--c-graphite);
  color: var(--c-offwhite);
  overflow: clip;
}

/* ---------- fundo ---------- */

.method__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.method__grid {
  position: absolute;
  inset: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-inline: 1px solid var(--hairline);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 8%, #000 88%, transparent);
          mask-image: linear-gradient(to bottom, transparent, #000 8%, #000 88%, transparent);
}
.method__grid span { border-right: 1px solid var(--hairline); }
.method__dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgb(240 238 227 / .08) 0 1px, transparent 1.5px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(70% 45% at 50% 52%, #000, transparent 75%);
          mask-image: radial-gradient(70% 45% at 50% 52%, #000, transparent 75%);
}
.method__ambient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(45% 40% at 100% 0%, rgb(101 111 140 / .16), transparent 70%),
    radial-gradient(50% 35% at 0% 100%, rgb(247 111 45 / .12), transparent 70%);
}

.method__inner { padding: 0 var(--gutter); }

/* ---------- cabeçalho ---------- */

.method__head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 16px;
  align-items: end;
}
.method__headline { grid-column: 1 / 8; }
.method__intro { grid-column: 8 / 13; padding-bottom: .4em; }

.method__title {
  margin: 0;
  max-width: 14em;
  font-size: clamp(2.4rem, 1.25rem + 3.4vw, 4.6rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.05em;
  text-wrap: balance;
}
.method__title .hl {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.1em;
  line-height: .9;
  letter-spacing: -.01em;
  color: var(--c-peach);
}

.method__intro p {
  margin: 0;
  max-width: 34em;
  font-size: clamp(1.0625rem, .98rem + .3vw, 1.25rem);
  line-height: 1.55;
  letter-spacing: -.01em;
  color: var(--text-muted);
  text-wrap: pretty;
}
.method__intro p + p { margin-top: 16px; }
.method__intro .method__intro-lead {
  font-size: clamp(1.25rem, 1.05rem + .7vw, 1.6rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -.025em;
  color: var(--c-offwhite);
}

/* ---------- fluxo ---------- */

.flow {
  --p: 0;
  position: relative;
  margin-top: clamp(64px, 8vw, 112px);
}

.flow__track {
  position: absolute;
  z-index: 1;
  top: 7.5px;
  left: var(--t-start, 12.5%);
  width: var(--t-len, 75%);
  height: 1px;
  pointer-events: none;
}
.flow__rail {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(to right, rgb(240 238 227 / .22) 0 6px, transparent 6px 12px);
}
.flow__fill {
  position: absolute;
  inset: -0.5px 0;
  background: linear-gradient(to right, var(--c-peach), var(--c-orange));
  box-shadow: 0 0 12px rgb(247 111 45 / .55);
  transform: scaleX(var(--p));
  transform-origin: left;
  transition: transform .25s linear;
}
.flow__head {
  position: absolute;
  top: 50%;
  left: calc(var(--p) * 100%);
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--c-orange);
  box-shadow: 0 0 0 5px rgb(247 111 45 / .2), 0 0 24px rgb(247 111 45 / .9);
  opacity: clamp(0, var(--p) * 40, 1);
  transition: left .25s linear, top .25s linear;
}
/* luz que acompanha a frente do fluxo */
.flow__head::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 420px;
  height: 420px;
  margin: -210px 0 0 -210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(247 111 45 / .16), transparent 62%);
}

.flow__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  position: relative;
  padding-top: calc(32px + var(--drop, 0px));
}

.step__node {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 50%;
  width: 16px;
  height: 16px;
  margin-left: -8px;
  border-radius: 50%;
  background: var(--c-graphite);
  border: 1px solid rgb(240 238 227 / .35);
  box-shadow: 0 0 0 5px var(--c-graphite);
  transition: background-color .4s ease, border-color .4s ease, box-shadow .5s var(--ease-out);
}
.step__node::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: rgb(240 238 227 / .3);
  transition: background-color .4s ease;
}
.step__stem {
  position: absolute;
  top: 16px;
  left: 50%;
  width: 1px;
  height: calc(16px + var(--drop, 0px));
  background: linear-gradient(to bottom, rgb(240 238 227 / .22), rgb(240 238 227 / .06));
  overflow: hidden;
}
.step__stem::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--c-orange), rgb(247 111 45 / .1));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .6s var(--ease-out) .1s;
}

/* ---------- card da etapa ---------- */

.step__card {
  --mx: 50%;
  --my: 50%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-areas: "top" "viz" "name" "desc";
  padding: clamp(22px, 1.9vw, 30px);
  border-radius: 22px;
  border: 1px solid rgb(240 238 227 / .08);
  background:
    linear-gradient(165deg, rgb(240 238 227 / .05), rgb(240 238 227 / .012) 55%),
    rgb(22 26 33 / .75);
  box-shadow:
    0 0 0 6px rgb(240 238 227 / .016),
    0 32px 64px -32px rgb(0 0 0 / .7);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  transition:
    transform .6s var(--ease-out),
    border-color .5s ease,
    box-shadow .5s var(--ease-out),
    background-color .5s ease;
}
.step__card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(420px circle at var(--mx) var(--my), rgb(247 111 45 / .1), transparent 62%);
  opacity: 0;
  transition: opacity .5s ease;
}
.step__card::after {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: radial-gradient(260px circle at var(--mx) var(--my), rgb(246 174 144 / .75), transparent 62%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0;
  transition: opacity .5s ease;
  pointer-events: none;
}
@media (hover: hover) {
  .step__card:hover {
    transform: translateY(-5px);
    box-shadow:
      0 0 0 6px rgb(240 238 227 / .025),
      0 44px 80px -36px rgb(0 0 0 / .8),
      0 0 60px -30px rgb(247 111 45 / .4);
  }
  .step__card:hover::before,
  .step__card:hover::after { opacity: 1; }
}

.step__top { grid-area: top; display: flex; align-items: flex-start; justify-content: space-between; }
.step__num {
  font-size: clamp(2.75rem, 1.9rem + 2vw, 4.25rem);
  font-weight: 300;
  line-height: .82;
  letter-spacing: -.06em;
  font-variant-numeric: tabular-nums;
  color: transparent;
  -webkit-text-stroke: 1px rgb(240 238 227 / .3);
  transition: color .6s ease, -webkit-text-stroke-color .6s ease;
}
.step__led {
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border-radius: 50%;
  background: rgb(240 238 227 / .18);
  transition: background-color .4s ease, box-shadow .5s ease;
}

.step__viz { grid-area: viz; margin: clamp(18px, 2vw, 26px) 0 clamp(18px, 2vw, 24px); }
.step__viz svg { display: block; width: 100%; height: auto; overflow: visible; }

.step__name {
  grid-area: name;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-offwhite);
  transition: color .5s ease;
}
.step__name::before {
  content: "";
  width: 14px;
  height: 1px;
  background: rgb(240 238 227 / .35);
  transition: background-color .5s ease, width .5s var(--ease-out);
}
.step__desc {
  grid-area: desc;
  margin: 0;
  font-size: clamp(.9375rem, .9rem + .12vw, 1.03rem);
  line-height: 1.55;
  color: var(--text-muted);
  text-wrap: pretty;
}

/* ---------- etapa ativa ---------- */

.step.is-active .step__node {
  background: var(--c-orange);
  border-color: var(--c-orange);
  box-shadow: 0 0 0 5px var(--c-graphite), 0 0 0 9px rgb(247 111 45 / .18), 0 0 26px rgb(247 111 45 / .8);
}
.step.is-active .step__node::after { background: var(--c-graphite); }
.step.is-active .step__stem::after { transform: scaleY(1); }
.step.is-active .step__card {
  border-color: rgb(247 111 45 / .28);
  background:
    radial-gradient(90% 55% at 50% 0%, rgb(247 111 45 / .11), transparent 70%),
    linear-gradient(165deg, rgb(240 238 227 / .06), rgb(240 238 227 / .015) 55%),
    rgb(22 26 33 / .75);
}
.step.is-active .step__num { color: var(--c-offwhite); -webkit-text-stroke-color: transparent; }
.step.is-active .step__led { background: var(--c-orange); box-shadow: 0 0 0 4px rgb(247 111 45 / .2), 0 0 12px rgb(247 111 45 / .9); }
.step.is-active .step__name { color: var(--c-peach); }
.step.is-active .step__name::before { background: var(--c-orange); width: 22px; }

/* linhas desenháveis dos gráficos */
.method .mln {
  fill: none;
  stroke: var(--c-peach);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset .9s var(--ease-io) var(--d, 0s);
}
.step.is-active .mln { stroke-dashoffset: 0; }

/* ---------- 01 · scanner ---------- */

.viz-scan__frame path { fill: none; stroke: rgb(246 174 144 / .5); stroke-width: 1.5; stroke-linecap: round; }
.viz-scan__cells rect { fill: rgb(240 238 227 / .1); transition: fill .3s ease; }
.step.is-active .viz-scan__cells .flag { fill: var(--c-orange); transition-delay: calc(.27s + var(--c) * .11s); }
.viz-scan__trail { fill: rgb(247 111 45 / .14); }
.viz-scan__line { fill: var(--c-orange); }
.viz-scan__beam { opacity: 0; }
.viz-scan__base { stroke: rgb(240 238 227 / .14); stroke-width: 2; stroke-linecap: round; }
.viz-scan__prog {
  stroke: var(--c-orange);
  stroke-width: 2;
  stroke-linecap: round;
  transform-box: fill-box;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.4s var(--ease-io) .15s;
}
.step.is-active .viz-scan__prog { transform: scaleX(1); }

/* ---------- 02 · blocos que se organizam ---------- */

.viz-blocks__guides line { stroke: rgb(246 174 144 / .3); stroke-width: 1; stroke-dasharray: 2 4; opacity: 0; transition: opacity .6s ease .7s; }
.viz-blocks__base { stroke: rgb(240 238 227 / .25); stroke-width: 1.2; }
.viz-blocks__set rect {
  fill: rgb(240 238 227 / .07);
  stroke: rgb(240 238 227 / .5);
  stroke-width: 1.2;
  transform-box: fill-box;
  transform-origin: center;
  transform: translate(var(--tx), var(--ty)) rotate(var(--r));
  opacity: .55;
  transition:
    transform .9s cubic-bezier(.34, 1.35, .64, 1) var(--d),
    opacity .5s ease var(--d),
    fill .4s ease,
    stroke .4s ease;
}
.step.is-active .viz-blocks__set rect { transform: none; opacity: 1; }
.step.is-active .viz-blocks__set .is-key { fill: var(--c-orange); stroke: var(--c-orange); transition-delay: var(--d), var(--d), .9s, .9s; }
.step.is-active .viz-blocks__guides line { opacity: 1; }
@media (hover: hover) {
  .step--struct.is-active .step__card:hover .viz-blocks__set .is-key { transform: translateY(-5px); transition-delay: 0s; }
}

/* ---------- 03 · sistema entrando em funcionamento ---------- */

.viz-sys__nodes rect { fill: rgb(240 238 227 / .04); stroke: rgb(240 238 227 / .28); stroke-width: 1.2; transition: stroke .4s ease var(--d), fill .4s ease var(--d); }
.viz-sys__nodes .g { fill: none; stroke: rgb(240 238 227 / .45); stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; transition: stroke .4s ease var(--d); }
.viz-sys__nodes .led { fill: rgb(240 238 227 / .16); transition: fill .3s ease calc(var(--d) + .2s); }
.step.is-active .viz-sys__nodes rect { stroke: rgb(246 174 144 / .75); fill: rgb(247 111 45 / .08); }
.step.is-active .viz-sys__nodes .g { stroke: var(--c-offwhite); }
.step.is-active .viz-sys__nodes .led { fill: var(--c-orange); }
.viz-sys__packets circle { fill: var(--c-orange); opacity: 0; }
.viz-sys__bus { stroke: rgb(240 238 227 / .12); stroke-width: 2; stroke-linecap: round; }
.viz-sys__bus-on {
  stroke: var(--c-orange);
  stroke-width: 2;
  stroke-linecap: round;
  transform-box: fill-box;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.5s var(--ease-io) .1s;
}
.step.is-active .viz-sys__bus-on { transform: scaleX(1); }

/* ---------- 04 · otimização ---------- */

.viz-opt__grid line { stroke: rgb(240 238 227 / .06); stroke-width: 1; }
.viz-opt__base { stroke: rgb(240 238 227 / .25); stroke-width: 1.2; }
.viz-opt__bars rect {
  fill: rgb(240 238 227 / .22);
  transform-box: fill-box;
  transform-origin: bottom;
  transform: scaleY(var(--a));
  transition: transform .9s var(--ease-io) var(--d), fill .5s ease var(--d), opacity .5s ease var(--d);
}
.step.is-active .viz-opt__bars rect { transform: scaleY(var(--b)); fill: rgb(246 174 144 / .55); }
.step.is-active .viz-opt__bars .cut { fill: rgb(240 238 227 / .14); opacity: .6; }
.step.is-active .viz-opt__bars .top { fill: var(--c-orange); }
.viz-opt .mln--trend { stroke: var(--c-orange); stroke-width: 2; }
.viz-opt__dot { fill: var(--c-orange); opacity: 0; transition: opacity .4s ease; }
.step.is-active .viz-opt__dot { opacity: 1; transition-delay: 1.5s; }

/* ---------- encerramento ---------- */

.method__close {
  position: relative;
  margin-top: clamp(64px, 7vw, 104px);
  padding-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--hairline);
}
.method__close::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: min(280px, 30%);
  height: 1px;
  background: linear-gradient(to right, var(--c-orange), rgb(247 111 45 / 0));
}

/* marca: as quatro etapas condensadas */
.close__mark {
  display: flex;
  align-items: center;
  margin-bottom: clamp(28px, 3.4vw, 44px);
}
.close__mark span {
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--c-orange);
  box-shadow: 0 0 0 4px rgb(247 111 45 / .16), 0 0 14px rgb(247 111 45 / .7);
}
.close__mark i {
  flex: none;
  width: clamp(28px, 4vw, 52px);
  height: 1px;
  background: linear-gradient(to right, var(--c-orange), var(--c-peach));
  transform-origin: left;
}

.close__statement {
  max-width: 16.5em;
  margin: 0;
  font-size: clamp(2.4rem, 1.15rem + 4.1vw, 5.5rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.05em;
  text-wrap: balance;
}
.close__muted { color: rgb(240 238 227 / .45); }
.close__hl {
  padding: 0 .12em .02em;
  border-radius: .12em;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.1em;
  line-height: 1;
  letter-spacing: -.01em;
  color: var(--c-graphite);
  background: linear-gradient(100deg, var(--c-orange), #F98A55) no-repeat 0 75% / 100% 76%;
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
  transition: background-size 1s var(--ease-io) 1.1s, color .5s ease 1.5s;
}

/* =====================================================================
   METODOLOGIA — movimento
   ===================================================================== */

@media (prefers-reduced-motion: no-preference) {
  .js .method [data-reveal] {
    opacity: 0;
    translate: 0 32px;
    filter: blur(4px);
    transition:
      opacity .9s var(--ease-out) calc(var(--i, 0) * 120ms),
      translate 1.1s var(--ease-out) calc(var(--i, 0) * 120ms),
      filter .9s var(--ease-out) calc(var(--i, 0) * 120ms);
  }
  .js .method [data-reveal].is-in { opacity: 1; translate: 0 0; filter: none; }

  .js .method__title .split-w > span,
  .js .close__statement .split-w > span {
    translate: 0 112%;
    transition: translate 1s var(--ease-out) calc(var(--wi, 0) * 45ms);
  }
  .js .method__title.is-in .split-w > span,
  .js .method__close.is-in .close__statement .split-w > span { translate: 0 0; }
  .js .close__statement .split-w > span { transition-delay: calc(var(--wi, 0) * 50ms + 200ms); }

  /* a etapa ativa passa o scanner */
  .step--diag.is-active .viz-scan__beam { animation: scan 1.4s var(--ease-io) .15s both; }
  @media (hover: hover) {
    .step--diag.is-active .step__card:hover .viz-scan__beam { animation: scan-again 1.4s var(--ease-io) both; }
    .step--impl.is-active .step__card:hover .viz-sys__packets circle { animation: packet 1.1s var(--ease-io) var(--d, 0s) infinite; animation-delay: calc(var(--d) - 1.3s); }
  }
  .step--impl.is-active .viz-sys__packets circle { animation: packet 1.1s var(--ease-io) var(--d) 2 both; }

  /* marca e destaque do encerramento */
  .js .method__close:not(.is-in) .close__mark i { transform: scaleX(0); }
  .js .method__close:not(.is-in) .close__mark span { transform: scale(0); }
  .close__mark i, .close__mark span { transition: transform .6s var(--ease-out); }
  .close__mark > :nth-child(2) { transition-delay: .2s; }
  .close__mark > :nth-child(3) { transition-delay: .35s; }
  .close__mark > :nth-child(4) { transition-delay: .45s; }
  .close__mark > :nth-child(5) { transition-delay: .6s; }
  .close__mark > :nth-child(6) { transition-delay: .7s; }
  .close__mark > :nth-child(7) { transition-delay: .85s; }
  .js .method__close:not(.is-in) .close__hl { background-size: 0% 76%; color: var(--c-offwhite); }
}

@keyframes scan {
  0%   { transform: translateX(0); opacity: 0; }
  10%  { opacity: 1; }
  88%  { opacity: 1; }
  100% { transform: translateX(226px); opacity: 0; }
}
@keyframes scan-again {
  0%   { transform: translateX(0); opacity: 0; }
  10%  { opacity: 1; }
  88%  { opacity: 1; }
  100% { transform: translateX(226px); opacity: 0; }
}
@keyframes packet {
  0%   { transform: translateX(0); opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { transform: translateX(30px); opacity: 0; }
}

/* =====================================================================
   METODOLOGIA — responsivo
   ===================================================================== */

/* fluxo vertical abaixo de 1100px: a linha corre à esquerda das etapas */
@media (max-width: 1099.98px) {
  .method__headline,
  .method__intro { grid-column: 1 / -1; }
  .method__intro { margin-top: clamp(24px, 4vw, 36px); max-width: 640px; }

  .flow__track {
    top: var(--t-start, 30px);
    left: 15.5px;
    width: 1px;
    height: var(--t-len, 80%);
  }
  .flow__rail { background: repeating-linear-gradient(to bottom, rgb(240 238 227 / .22) 0 6px, transparent 6px 12px); }
  .flow__fill { inset: 0 -0.5px; transform: scaleY(var(--p)); transform-origin: top; background: linear-gradient(to bottom, var(--c-peach), var(--c-orange)); }
  .flow__head { left: 50%; top: calc(var(--p) * 100%); }
  .flow__head::before { width: 300px; height: 300px; margin: -150px 0 0 -150px; }

  .flow__steps { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .step { padding: 0 0 0 48px; }
  .step__node { top: 26px; left: 8px; margin-left: 0; }
  .step__stem { top: 33.5px; left: 24px; width: 24px; height: 1px; background: rgb(240 238 227 / .16); }
  .step__stem::after { transform: scaleX(0); transform-origin: left; background: var(--c-orange); }
  .step.is-active .step__stem::after { transform: scaleX(1); }
}

/* tablet: texto à esquerda, gráfico à direita */
@media (min-width: 640px) and (max-width: 1099.98px) {
  .step__card {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas: "top viz" "name viz" "desc viz";
    grid-template-rows: auto auto 1fr;
    column-gap: clamp(24px, 4vw, 48px);
  }
  .step__top { margin-bottom: 20px; }
  .step__viz { margin: 0; align-self: center; }
}

@media (max-width: 959.98px) {
  .method { margin-top: -28px; border-radius: 28px 28px 0 0; }
  .method__grid { grid-template-columns: repeat(2, 1fr); }
  .method__grid span:nth-child(n+2) { display: none; }
}

@media (max-width: 639.98px) {
  .method__grid { inset: 0 20px; }
  .step { padding-left: 40px; }
  .step__stem { width: 16px; }
  .step__card { border-radius: 20px; }
}

/* =====================================================================
   SOLUÇÕES
   Linguagem editorial: imagens grandes como protagonistas, numerais em
   serifa, divisores finos e pouco movimento (só revelação das imagens,
   fade do texto e hover dos CTAs).
   ===================================================================== */

.solutions {
  --c-mist: #EAE9E5;
  --c-orange-ink: #C24C17;
  --ink-line: rgb(22 26 33 / .12);

  position: relative;
  z-index: 3;
  margin-top: -36px;
  padding: clamp(96px, 10vw, 152px) 0 clamp(64px, 7vw, 112px);
  border-radius: 36px 36px 0 0;
  background: var(--c-offwhite);
  color: var(--c-graphite);
  overflow: clip;
}
.solutions ::selection { background: var(--c-graphite); color: var(--c-offwhite); }

.solutions__inner { padding: 0 var(--gutter); }

/* ---------- cabeçalho ---------- */

.sol-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 16px;
}
.sol-head__eyebrow {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 clamp(24px, 3vw, 40px);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-slate);
}
.sol-head__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--c-orange); }

.sol-head__title {
  grid-column: 1 / 12;
  margin: 0;
  font-size: clamp(2.6rem, 1.15rem + 4.3vw, 6rem);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.sol-head__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.08em;
  letter-spacing: -.015em;
  color: var(--c-orange-ink);
}

.sol-head__intro {
  grid-column: 7 / 13;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: clamp(40px, 5vw, 72px);
  padding-top: 24px;
  border-top: 1px solid var(--ink-line);
}
.sol-head__intro p {
  margin: 0;
  font-size: clamp(1rem, .95rem + .2vw, 1.125rem);
  line-height: 1.55;
  color: var(--c-slate);
  text-wrap: pretty;
}
.sol-head__intro .sol-head__focus { font-weight: 500; color: var(--c-graphite); }

/* ---------- módulo ---------- */

.sol {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 16px;
  margin-top: clamp(88px, 10vw, 160px);
}

.sol__figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  background: var(--c-graphite);
  box-shadow: 0 50px 90px -50px rgb(22 26 33 / .55);
}
.sol__figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sol__cap {
  position: absolute;
  left: 16px;
  bottom: 16px;
}
.sol__cap span {
  display: inline-block;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgb(240 238 227 / .8);
  background: rgb(22 26 33 / .45);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.sol__label {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-slate);
}
.sol__num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(3.5rem, 2.6rem + 2.4vw, 5.5rem);
  font-weight: 400;
  line-height: .8;
  letter-spacing: -.02em;
  text-transform: none;
  color: var(--c-orange-ink);
}

.sol__title {
  max-width: 12em;
  margin: clamp(18px, 2vw, 28px) 0 clamp(14px, 1.6vw, 20px);
  font-size: clamp(2rem, 1.15rem + 2.3vw, 3.5rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.sol__desc {
  max-width: 30em;
  margin: 0;
  font-size: clamp(1.0625rem, .98rem + .3vw, 1.3rem);
  line-height: 1.5;
  letter-spacing: -.01em;
  color: var(--c-slate);
  text-wrap: pretty;
}

.sol__list {
  margin: clamp(24px, 3vw, 36px) 0 clamp(28px, 3vw, 40px);
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink-line);
}
.sol__list li {
  position: relative;
  padding: 15px 0 15px 32px;
  border-bottom: 1px solid var(--ink-line);
  font-size: clamp(.98rem, .94rem + .15vw, 1.0625rem);
  line-height: 1.45;
  color: var(--c-graphite);
}
.sol__list li::before {
  content: "+";
  position: absolute;
  left: 2px;
  top: 13px;
  font-size: 1.2em;
  font-weight: 300;
  line-height: 1;
  color: var(--c-orange-ink);
}

/* CTA secundário: pílula grafite que troca para laranja no hover */
.sol__cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 54px;
  padding: 6px 6px 6px 24px;
  border-radius: 999px;
  color: var(--c-offwhite);
  background: var(--c-graphite);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: 0 0 0 6px rgb(22 26 33 / .05);
  transition: background-color .35s ease, color .35s ease, box-shadow .35s ease;
}
.sol__cta-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  color: var(--c-graphite);
  background: var(--c-orange);
  transition: background-color .35s ease, color .35s ease;
}
.sol__cta-icon svg { transition: transform .45s var(--ease-out); }
@media (hover: hover) {
  .sol__cta:hover {
    color: var(--c-graphite);
    background: var(--c-orange);
    box-shadow: 0 0 0 6px rgb(247 111 45 / .16);
  }
  .sol__cta:hover .sol__cta-icon { background: var(--c-graphite); color: var(--c-orange); }
  .sol__cta:hover .sol__cta-icon svg { transform: translate(2px, -2px); }
}
.sol__cta:focus-visible { outline: 2px solid var(--c-graphite); outline-offset: 6px; }

/* imagens fornecidas são quadradas (~720px): enquadramento 1:1 em todos os
   módulos, alternando o lado da imagem (esquerda · direita · esquerda) */
.sol__figure { aspect-ratio: 1 / 1; width: 100%; max-width: 720px; }

/* ---------- 01 · imagem à esquerda ---------- */

.sol--one .sol__figure { grid-column: 1 / 7; grid-row: 1; }
.sol--one .sol__content { grid-column: 8 / 13; grid-row: 1; align-self: center; }

/* ---------- 02 · imagem à direita, fundo alternado ---------- */

.sol-band {
  margin-top: clamp(88px, 10vw, 160px);
  padding: clamp(64px, 8vw, 120px) 0;
  background: var(--c-mist);
}
.sol--two { margin-top: 0; }
.sol--two .sol__figure { grid-column: 7 / 13; grid-row: 1; justify-self: end; }
.sol--two .sol__content { grid-column: 1 / 6; grid-row: 1; align-self: center; }
.sol--two .sol__desc { margin-top: clamp(14px, 1.6vw, 20px); }

/* ---------- 03 · imagem à esquerda ---------- */

.sol--three .sol__figure { grid-column: 1 / 7; grid-row: 1; }
.sol--three .sol__content { grid-column: 8 / 13; grid-row: 1; align-self: center; }

/* ---------- encerramento: menos / mais ---------- */

.sol-close {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: clamp(88px, 10vw, 152px);
  padding: clamp(44px, 6vw, 96px) clamp(28px, 5.5vw, 96px);
  border-radius: 32px;
  background:
    radial-gradient(50% 80% at 100% 100%, rgb(247 111 45 / .22), transparent 70%),
    radial-gradient(40% 60% at 0% 0%, rgb(101 111 140 / .18), transparent 70%),
    var(--c-graphite);
  color: var(--c-offwhite);
  box-shadow: 0 0 0 8px rgb(22 26 33 / .05), 0 50px 90px -50px rgb(22 26 33 / .7);
}
.sol-close ::selection { background: var(--c-orange); color: var(--c-graphite); }

.sol-close__line {
  display: grid;
  grid-template-columns: .9em 1fr;
  align-items: baseline;
  margin: 0;
}
.sol-close__sign { font-weight: 300; line-height: 1; }

.sol-close__less {
  font-size: clamp(1.5rem, 1rem + 1.6vw, 2.5rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.03em;
  color: rgb(240 238 227 / .5);
  padding-bottom: clamp(22px, 2.6vw, 36px);
  margin-bottom: clamp(22px, 2.6vw, 36px);
  border-bottom: 1px solid rgb(240 238 227 / .12);
}
.sol-close__less .sol-close__sign { color: var(--c-steel); }

.sol-close__more {
  font-size: clamp(2.5rem, 1.1rem + 4.4vw, 6rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.sol-close__more .sol-close__sign { color: var(--c-orange); }
.sol-close__more em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.08em;
  letter-spacing: -.015em;
  color: var(--c-orange);
}

/* ---------- movimento contido ---------- */

@media (prefers-reduced-motion: no-preference) {
  .js .solutions [data-fade] {
    opacity: 0;
    translate: 0 24px;
    transition: opacity 1s var(--ease-out), translate 1.1s var(--ease-out);
  }
  .js .solutions [data-fade].is-in { opacity: 1; translate: 0 0; }

  /* imagens: cortina de baixo para cima + leve assentamento */
  .js .solutions [data-unveil] {
    clip-path: inset(14% 0 0 0 round 20px);
    transition: clip-path 1.4s var(--ease-io);
  }
  .js .solutions [data-unveil] img {
    scale: 1.08;
    transition: scale 1.8s var(--ease-out);
  }
  .js .solutions [data-unveil].is-in { clip-path: inset(0 round 20px); }
  .js .solutions [data-unveil].is-in img { scale: 1; }
}

/* ---------- responsivo ---------- */

@media (max-width: 1099.98px) {
  .sol-head__title { grid-column: 1 / -1; }
  .sol-head__intro { grid-column: 1 / -1; max-width: 720px; }

  .sol--one .sol__content,
  .sol--three .sol__content { grid-column: 7 / 13; padding-left: 24px; }
  .sol--two .sol__content { grid-column: 1 / 7; padding-right: 24px; }
}

@media (max-width: 959.98px) {
  .solutions { margin-top: -28px; border-radius: 28px 28px 0 0; }

  /* empilhado: imagem sempre antes do texto */
  .sol { grid-template-columns: minmax(0, 1fr); row-gap: clamp(28px, 5vw, 44px); }
  .sol .sol__figure,
  .sol .sol__content { grid-column: 1; grid-row: auto; padding: 0; justify-self: start; }
  .sol .sol__figure { order: -1; max-width: 600px; }
}

@media (max-width: 639.98px) {
  .sol-head__intro { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .sol__figure { border-radius: 16px; }
  .js .solutions [data-unveil] { clip-path: inset(10% 0 0 0 round 16px); }
  .js .solutions [data-unveil].is-in { clip-path: inset(0 round 16px); }
  .sol__cta { width: 100%; justify-content: space-between; }
  .sol-close { border-radius: 24px; padding: 40px 24px; }
}

/* =====================================================================
   CASES E PORTFÓLIO
   Galeria digital em grafite. Os espaços reservados (.slot) são módulos
   próprios da identidade e aceitam <img>/<video>/<a> sem reconstrução
   (ver comentário no HTML). Movimento mínimo: revelação e hover.
   ===================================================================== */

.cases {
  position: relative;
  z-index: 4;
  isolation: isolate;
  margin-top: -36px;
  padding: clamp(96px, 10vw, 152px) 0 clamp(96px, 10vw, 160px);
  border-radius: 36px 36px 0 0;
  background: var(--c-graphite);
  color: var(--c-offwhite);
  overflow: clip;
}

.cases__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.cases__grid {
  position: absolute;
  inset: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-inline: 1px solid var(--hairline);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 8%, #000 90%, transparent);
          mask-image: linear-gradient(to bottom, transparent, #000 8%, #000 90%, transparent);
}
.cases__grid span { border-right: 1px solid var(--hairline); }
.cases__ambient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(40% 30% at 100% 8%, rgb(101 111 140 / .16), transparent 70%),
    radial-gradient(45% 30% at 0% 55%, rgb(247 111 45 / .07), transparent 70%),
    radial-gradient(50% 25% at 50% 100%, rgb(247 111 45 / .12), transparent 70%);
}

.cases__inner { padding: 0 var(--gutter); }

/* ---------- cabeçalho ---------- */

.cases__head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 16px;
}
.cases__eyebrow {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(28px, 3.4vw, 48px);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.cases__eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--c-orange); box-shadow: 0 0 12px rgb(247 111 45 / .8); }
.cases__eyebrow-rule { flex: 1; height: 1px; background: linear-gradient(to right, rgb(240 238 227 / .18), rgb(240 238 227 / 0)); }

.cases__title {
  grid-column: 1 / 11;
  margin: 0;
  font-size: clamp(2.6rem, 1.15rem + 4.3vw, 6rem);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.cases__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.08em;
  letter-spacing: -.015em;
  color: var(--c-peach);
}
.cases__intro {
  grid-column: 7 / 13;
  margin: clamp(32px, 4vw, 56px) 0 0;
  padding-top: 22px;
  border-top: 1px solid rgb(240 238 227 / .12);
  font-size: clamp(1.0625rem, .98rem + .3vw, 1.25rem);
  line-height: 1.55;
  color: var(--text-muted);
  text-wrap: pretty;
}

/* ---------- módulo de categoria ---------- */

.case {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 16px;
  margin-top: clamp(96px, 10vw, 168px);
}

.case__num {
  display: inline-flex;
  align-items: flex-start;
  gap: .08em;
  font-size: clamp(4.25rem, 2.8rem + 4vw, 7.5rem);
  font-weight: 300;
  line-height: .8;
  letter-spacing: -.06em;
  font-variant-numeric: tabular-nums;
  color: var(--c-offwhite);
}
.case__num::after {
  content: "";
  width: .1em;
  height: .1em;
  margin-top: .04em;
  background: var(--c-orange);
}
.case__label {
  margin: clamp(20px, 2.4vw, 30px) 0 14px;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-peach);
}
.case__title {
  margin: 0 0 16px;
  font-size: clamp(1.9rem, 1.2rem + 1.9vw, 3rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.case__desc {
  max-width: 40ch;
  margin: 0;
  font-size: clamp(1rem, .96rem + .15vw, 1.0938rem);
  line-height: 1.6;
  color: var(--text-muted);
  text-wrap: pretty;
}
.case__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: clamp(24px, 3vw, 36px);
}

/* ficha em vidro, sobreposta à mídia */
.case__info--glass,
.case--brands .case__info,
.case--perf .case__info {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: clamp(28px, 3vw, 44px);
  border-radius: 24px;
  border: 1px solid rgb(240 238 227 / .1);
  background: linear-gradient(160deg, rgb(240 238 227 / .07), rgb(240 238 227 / .02)), rgb(22 26 33 / .55);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
          backdrop-filter: blur(18px) saturate(1.2);
  box-shadow:
    0 0 0 6px rgb(240 238 227 / .02),
    0 50px 90px -40px rgb(0 0 0 / .8);
}

/* CTA discreto: texto + seta, sublinhado que vira laranja */
.case-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--c-offwhite);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.case-cta::before,
.case-cta::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  height: 1px;
}
.case-cta::before { background: rgb(240 238 227 / .25); }
.case-cta::after { background: var(--c-orange); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out); }
.case-cta svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--c-orange);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .45s var(--ease-out);
}
@media (hover: hover) {
  .case-cta:hover::after { transform: scaleX(1); }
  .case-cta:hover svg { transform: translate(3px, -3px); }
}
.case-cta:focus-visible { outline: 2px solid var(--c-peach); outline-offset: 6px; border-radius: 4px; }

.case__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgb(240 238 227 / .12);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgb(240 238 227 / .5);
}
.case__status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c-orange); }

/* ---------- espaço reservado (.slot) ---------- */

.slot {
  --mark: rgb(240 238 227 / .28);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 0;
  aspect-ratio: var(--ratio, 16 / 10);
  border-radius: 18px;
  border: 1px solid rgb(240 238 227 / .09);
  background:
    radial-gradient(120% 90% at 0% 0%, rgb(101 111 140 / .2), transparent 55%),
    radial-gradient(90% 80% at 100% 100%, rgb(247 111 45 / .08), transparent 60%),
    linear-gradient(160deg, #1E232C, #14171D);
  box-shadow:
    inset 0 1px 0 rgb(240 238 227 / .05),
    0 30px 60px -36px rgb(0 0 0 / .7);
  color: var(--c-offwhite);
  text-decoration: none;
  container-type: inline-size;
  transition: border-color .45s ease, box-shadow .45s ease;
}
/* malha de pontos discreta */
.slot::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(circle, rgb(240 238 227 / .08) 0 1px, transparent 1.5px);
  background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent 85%);
          mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent 85%);
}
/* marcas de corte nos cantos; o inferior direito em laranja */
.slot::after {
  content: "";
  position: absolute;
  inset: 12px;
  pointer-events: none;
  background:
    linear-gradient(var(--mark) 0 0) 0 0 / 14px 1px no-repeat,
    linear-gradient(var(--mark) 0 0) 0 0 / 1px 14px no-repeat,
    linear-gradient(var(--mark) 0 0) 100% 0 / 14px 1px no-repeat,
    linear-gradient(var(--mark) 0 0) 100% 0 / 1px 14px no-repeat,
    linear-gradient(var(--mark) 0 0) 0 100% / 14px 1px no-repeat,
    linear-gradient(var(--mark) 0 0) 0 100% / 1px 14px no-repeat,
    linear-gradient(var(--c-orange) 0 0) 100% 100% / 14px 1px no-repeat,
    linear-gradient(var(--c-orange) 0 0) 100% 100% / 1px 14px no-repeat;
}

/* conteúdo real: preenche o espaço e esconde a reserva */
.slot > img,
.slot > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slot:not(.is-empty)::before,
.slot:not(.is-empty)::after,
.slot:not(.is-empty) .slot__empty { display: none; }
.slot__caption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: .06em;
  background: rgb(22 26 33 / .6);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.slot__empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  padding: 20px;
}
.slot__meta {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .16em;
  font-variant-numeric: tabular-nums;
  color: rgb(240 238 227 / .35);
}
.slot__type {
  position: absolute;
  top: 14px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgb(240 238 227 / .14);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgb(240 238 227 / .55);
}
.slot__type::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--c-orange); }

.slot__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgb(240 238 227 / .16);
  background: rgb(22 26 33 / .55);
  box-shadow: 0 0 0 6px rgb(240 238 227 / .025);
  transition: border-color .45s ease, transform .5s var(--ease-out), box-shadow .45s ease;
}
.slot__icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: rgb(240 238 227 / .72);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke .45s ease, fill .45s ease;
}
.slot__icon--play svg { fill: rgb(240 238 227 / .72); stroke: none; transform: translateX(1px); }

.slot__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgb(240 238 227 / .45);
  text-align: center;
}

/* trilho de vídeo (somente decorativo) */
.slot__timeline {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  height: 1px;
  background: rgb(240 238 227 / .16);
}
.slot__timeline i {
  position: absolute;
  left: 0;
  top: 50%;
  width: 9px;
  height: 9px;
  margin: -4.5px 0 0 -4.5px;
  border-radius: 50%;
  background: var(--c-orange);
  box-shadow: 0 0 10px rgb(247 111 45 / .8);
}
.slot__timeline b {
  position: absolute;
  right: 0;
  bottom: 10px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .12em;
  font-variant-numeric: tabular-nums;
  color: rgb(240 238 227 / .4);
}

@media (hover: hover) {
  .slot:hover {
    border-color: rgb(247 111 45 / .35);
    box-shadow:
      inset 0 1px 0 rgb(240 238 227 / .06),
      0 30px 60px -36px rgb(0 0 0 / .7),
      0 0 50px -24px rgb(247 111 45 / .45);
  }
  .slot:hover .slot__icon { border-color: rgb(247 111 45 / .6); transform: scale(1.06); box-shadow: 0 0 0 6px rgb(247 111 45 / .08); }
  .slot:hover .slot__icon svg { stroke: var(--c-orange); }
  .slot:hover .slot__icon--play svg { fill: var(--c-orange); stroke: none; }
}

/* espaços pequenos: só o ícone */
@container (max-width: 300px) {
  .slot__label, .slot__type, .slot__timeline b { display: none; }
  .slot__icon { width: 40px; height: 40px; }
  .slot__icon svg { width: 17px; height: 17px; }
  .slot__meta { top: 12px; right: 14px; font-size: 9.5px; }
}

@container (max-width: 190px) {
  .slot__meta { display: none; }
  .slot__icon { width: 34px; height: 34px; box-shadow: none; }
  .slot__icon svg { width: 15px; height: 15px; }
}

/* ---------- 01 · mosaico (módulo maior) ---------- */

.case--brands .case__info  { grid-column: 1 / 6; grid-row: 1; }
.case--brands .case__media { grid-column: 4 / 13; grid-row: 1; }

/* a proporção é do mosaico inteiro; os espaços preenchem as células */
.mosaic {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 12px;
  aspect-ratio: 2 / 1;
}
.mosaic__main { grid-row: 1 / 3; }
.mosaic .slot { aspect-ratio: auto; height: 100%; }

/* ---------- 02 · telas verticais escalonadas ---------- */

.case--perf .case__media { grid-column: 1 / 9; grid-row: 1; }
.case--perf .case__info  { grid-column: 8 / 13; grid-row: 1; }

.screens {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
  padding-bottom: 96px;
}
.screens .slot:nth-child(2) { translate: 0 48px; }
.screens .slot:nth-child(3) { translate: 0 96px; }

/* ---------- 03 · ficha horizontal + tela de cinema ---------- */

.case--av .case__info {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto minmax(0, 1.25fr) minmax(0, 1fr) auto;
  align-items: end;
  column-gap: clamp(24px, 3.4vw, 56px);
  padding: clamp(28px, 3vw, 40px) 0;
  border-top: 1px solid rgb(240 238 227 / .12);
  border-bottom: 1px solid rgb(240 238 227 / .12);
}
.case--av .case__label { margin-top: 0; }
.case--av .case__title { margin-bottom: 0; }
.case--av .case__foot { flex-direction: column; align-items: flex-start; margin-top: 0; gap: 10px; }

.case--av .case__media { grid-column: 1 / -1; margin-top: 16px; }
.reel {
  display: grid;
  grid-template-columns: 3fr 1fr;
  grid-template-rows: repeat(3, 1fr);
  gap: 12px;
}
.reel__main { grid-row: 1 / 4; }
.reel .slot:not(.reel__main) { aspect-ratio: auto; height: 100%; }

/* ---------- encerramento ---------- */

.cases-close {
  position: relative;
  margin-top: clamp(112px, 12vw, 192px);
  padding-top: clamp(56px, 6vw, 96px);
  border-top: 1px solid rgb(240 238 227 / .12);
  text-align: center;
}
.cases-close::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  width: min(320px, 40%);
  height: 1px;
  translate: -50% 0;
  background: linear-gradient(to right, rgb(247 111 45 / 0), var(--c-orange), rgb(247 111 45 / 0));
}
.cases-close::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  bottom: -60px;
  width: min(900px, 90%);
  height: 320px;
  translate: -50% 0;
  background: radial-gradient(50% 50% at 50% 60%, rgb(247 111 45 / .16), transparent 70%);
  pointer-events: none;
}
.cases-close__statement {
  max-width: 13em;
  margin: 0 auto;
  font-size: clamp(2.6rem, 1.1rem + 4.6vw, 6.5rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.cases-close__statement em {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.06em;
  letter-spacing: -.015em;
  color: var(--c-peach);
}
.cases-close__sub {
  max-width: 44ch;
  margin: clamp(24px, 3vw, 36px) auto 0;
  font-size: clamp(1.0625rem, .98rem + .3vw, 1.25rem);
  line-height: 1.55;
  color: var(--text-muted);
  text-wrap: pretty;
}
.cases-close__btn { margin-top: clamp(32px, 4vw, 48px); text-align: left; }

/* ---------- movimento contido ---------- */

@media (prefers-reduced-motion: no-preference) {
  .js .cases [data-show] {
    opacity: 0;
    translate: 0 28px;
    transition: opacity 1s var(--ease-out), translate 1.1s var(--ease-out);
  }
  .js .cases [data-show].is-in { opacity: 1; translate: 0 0; }
  .js .cases .case__info[data-show] { transition-delay: .12s; }
}

/* ---------- responsivo ---------- */

@media (max-width: 1099.98px) {
  .cases__title, .cases__intro { grid-column: 1 / -1; }
  .cases__intro { max-width: 640px; }

  /* mídia primeiro; ficha de vidro sobe sobre a borda inferior */
  .case--brands .case__media,
  .case--perf .case__media { grid-column: 1 / -1; grid-row: 1; }
  .case--brands .case__info { grid-column: 1 / 11; grid-row: 2; margin-top: -48px; }
  .case--perf .case__info   { grid-column: 3 / 13; grid-row: 2; margin-top: -48px; }

  .case--av .case__info { grid-template-columns: auto minmax(0, 1fr); row-gap: 20px; }
  .case--av .case__desc { grid-column: 2; }
  .case--av .case__foot { grid-column: 2; flex-direction: row; align-items: center; }
}

@media (max-width: 959.98px) {
  .cases { margin-top: -28px; border-radius: 28px 28px 0 0; }
  .cases__grid { grid-template-columns: repeat(2, 1fr); }
  .cases__grid span:nth-child(n+2) { display: none; }
}

@media (max-width: 639.98px) {
  .cases__grid { inset: 0 20px; }
  .case { margin-top: 80px; }

  .case--brands .case__info,
  .case--perf .case__info { grid-column: 1 / -1; margin-top: -40px; margin-inline: 10px; border-radius: 20px; }

  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 10px; aspect-ratio: auto; }
  .mosaic__main { grid-column: 1 / -1; grid-row: 1; }
  .mosaic .slot { aspect-ratio: 16 / 10; height: auto; }
  .mosaic .mosaic__main { aspect-ratio: 4 / 3; }

  .screens { gap: 8px; padding-bottom: 40px; }
  .screens .slot:nth-child(2) { translate: 0 20px; }
  .screens .slot:nth-child(3) { translate: 0 40px; }

  .case--av .case__info { grid-template-columns: minmax(0, 1fr); }
  .case--av .case__desc, .case--av .case__foot { grid-column: 1; }
  .case--av .case__foot { flex-wrap: wrap; }
  .reel { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto; gap: 8px; }
  .reel__main { grid-column: 1 / -1; grid-row: 1; --ratio: 16 / 10 !important; }
  .reel .slot:not(.reel__main) { aspect-ratio: 16 / 10; height: auto; }

  .slot { border-radius: 14px; }
  .cases-close__btn { width: 100%; }
}

/* =====================================================================
   EXPERIÊNCIA E AUTORIDADE
   Superfície clara, composição editorial aberta. A fotografia original é
   a protagonista: moldura deslocada, etiqueta em vidro e profundidade
   sutil no scroll. Indicadores estáticos, sem contagem.
   ===================================================================== */

.about {
  --c-orange-ink: #C24C17;
  --ink-line: rgb(22 26 33 / .12);

  position: relative;
  z-index: 5;
  isolation: isolate;
  margin-top: -36px;
  padding: clamp(96px, 10vw, 152px) 0 clamp(96px, 10vw, 160px);
  border-radius: 36px 36px 0 0;
  background:
    radial-gradient(40% 45% at 18% 62%, rgb(246 174 144 / .22), transparent 70%),
    radial-gradient(40% 40% at 100% 100%, #EAE9E5, transparent 75%),
    var(--c-offwhite);
  color: var(--c-graphite);
  overflow: clip;
}
.about ::selection { background: var(--c-graphite); color: var(--c-offwhite); }

.about__inner { padding: 0 var(--gutter); }

/* ---------- cabeçalho ---------- */

.about__eyebrow { margin-bottom: clamp(24px, 3vw, 40px); }
.about__title {
  margin: 0;
  font-size: clamp(2.6rem, 1.15rem + 4.3vw, 6rem);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.055em;
}
.about__title > * { display: block; }
.about__title-mid { color: rgb(22 26 33 / .42); }
.about__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.08em;
  letter-spacing: -.015em;
  color: var(--c-orange-ink);
}

/* ---------- corpo ---------- */

.about__body {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto 1fr;
  column-gap: 16px;
  margin-top: clamp(56px, 7vw, 104px);
}
.about__visual  { grid-column: 1 / 7;  grid-row: 1 / 3; }
.about__content { grid-column: 8 / 13; grid-row: 1; }
.about__facts   { grid-column: 8 / 13; grid-row: 2; align-self: end; }

/* ---------- fotografia ---------- */

.about__visual {
  --py: 0px;
  position: relative;
  margin: 0;
  padding: 0 28px 28px 0;
  align-self: start;
}
/* moldura deslocada atrás da foto */
.about__frame {
  position: absolute;
  inset: 28px 0 0 28px;
  border: 1px solid rgb(22 26 33 / .18);
  border-radius: 30px;
  transition: translate .8s var(--ease-out);
}
.about__frame::after {
  content: "";
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 22px;
  height: 22px;
  border-right: 2px solid var(--c-orange);
  border-bottom: 2px solid var(--c-orange);
  border-bottom-right-radius: 30px;
}
.about__photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border-radius: 28px;
  background: var(--c-graphite);
  box-shadow: 0 60px 110px -60px rgb(22 26 33 / .65);
}
/* enquadramento: Danilo inteiro + o notebook; a foto original é justa no topo,
   então a folga para a profundidade fica toda abaixo */
.about__photo img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 110%;
  object-fit: cover;
  object-position: 72% 0%;
  translate: 0 var(--py);
  transition: scale 1.2s var(--ease-out);
}
/* luz controlada: aquece o topo e escurece a base para a etiqueta */
.about__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(70% 50% at 100% 0%, rgb(247 111 45 / .18), transparent 70%),
    linear-gradient(to top, rgb(22 26 33 / .7), rgb(22 26 33 / 0) 38%);
}

/* etiqueta em vidro sobre a foto */
.about__tag {
  position: absolute;
  left: 24px;
  bottom: 52px;
  display: grid;
  gap: 4px;
  padding: 14px 18px 15px;
  border-radius: 16px;
  border: 1px solid rgb(240 238 227 / .16);
  background: rgb(22 26 33 / .38);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
          backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 20px 40px -20px rgb(0 0 0 / .6);
}
.about__tag-name { font-size: 17px; font-weight: 600; letter-spacing: -.02em; color: var(--c-offwhite); }
.about__tag-role {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-peach);
}

@media (hover: hover) {
  .about__visual:hover .about__frame { translate: 6px 6px; }
  .about__visual:hover .about__photo img { scale: 1.03; }
}

/* ---------- texto ---------- */

.about__content { padding-top: clamp(0px, 1vw, 12px); }
.about__lead {
  margin: 0 0 clamp(22px, 2.6vw, 32px);
  font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.15rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.about__text p {
  max-width: 36em;
  margin: 0 0 18px;
  font-size: clamp(1.0625rem, 1rem + .2vw, 1.1875rem);
  line-height: 1.65;
  color: var(--c-slate);
  text-wrap: pretty;
}
.about__purpose {
  position: relative;
  max-width: 30em;
  margin: clamp(26px, 3vw, 36px) 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--ink-line);
  font-size: clamp(1.15rem, 1rem + .5vw, 1.45rem);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -.02em;
  text-wrap: pretty;
}
.about__purpose::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 64px;
  height: 2px;
  background: var(--c-orange);
}

/* ---------- indicadores ---------- */

.about__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: clamp(48px, 5vw, 72px) 0 0;
  border-top: 1px solid var(--ink-line);
}
.fact {
  padding: 22px 20px 22px 0;
  border-bottom: 1px solid var(--ink-line);
}
.fact:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--ink-line); }
.fact__num {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 .06em;
  margin: 0;
  font-size: clamp(2.5rem, 1.7rem + 2vw, 3.9rem);
  font-weight: 300;
  line-height: .95;
  letter-spacing: -.055em;
  font-variant-numeric: tabular-nums;
}
.fact__sign {
  align-self: flex-start;
  margin-top: .08em;
  font-size: .55em;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--c-orange-ink);
}
.fact__cur {
  align-self: flex-start;
  margin: .28em .1em 0 0;
  font-size: .3em;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--c-slate);
}
.fact__unit {
  margin-left: .12em;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: .5em;
  letter-spacing: -.01em;
  color: var(--c-orange-ink);
}
.fact__unit .fact__sign { font-family: var(--font-sans); font-style: normal; font-size: .7em; vertical-align: .4em; }
.fact__label {
  margin: 10px 0 0;
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--c-slate);
}

/* ---------- movimento sutil ---------- */

@media (prefers-reduced-motion: no-preference) {
  .js .about [data-rise] {
    opacity: 0;
    translate: 0 28px;
    transition: opacity 1s var(--ease-out), translate 1.1s var(--ease-out);
  }
  .js .about [data-rise].is-in { opacity: 1; translate: 0 0; }
  .js .about .about__content[data-rise] { transition-delay: .15s; }
  .js .about .about__facts[data-rise] { transition-delay: .3s; }

  /* foto: assenta com leve zoom; a moldura chega por trás */
  .js .about__visual:not(.is-in) .about__photo img { scale: 1.08; }
  .js .about__visual .about__photo img { transition: scale 1.6s var(--ease-out); }
  .js .about__visual:not(.is-in) .about__frame { translate: -16px -16px; }
  .js .about__visual .about__frame { transition: translate 1.2s var(--ease-out) .25s; }
}

/* ---------- responsivo ---------- */

@media (max-width: 1099.98px) {
  .about__body { grid-template-rows: auto auto; }
  .about__visual  { grid-column: 1 / 7; grid-row: 1; }
  .about__content { grid-column: 7 / 13; grid-row: 1; padding-left: 24px; }
  .about__facts   { grid-column: 1 / -1; grid-row: 2; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .fact { padding-left: 20px; border-left: 1px solid var(--ink-line); }
  .fact:first-child { padding-left: 0; border-left: 0; }
}

@media (max-width: 959.98px) {
  .about { margin-top: -28px; border-radius: 28px 28px 0 0; }
  .about__body { grid-template-columns: minmax(0, 1fr); row-gap: clamp(40px, 6vw, 56px); }
  .about__visual, .about__content, .about__facts { grid-column: 1; grid-row: auto; padding-left: 0; }
  .about__visual { max-width: 560px; padding: 0 20px 20px 0; }
  .about__frame { inset: 20px 0 0 20px; }
  .about__tag { bottom: 40px; }
  .about__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; }
  .fact { padding-left: 0; border-left: 0; }
  .fact:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--ink-line); }
}

@media (max-width: 639.98px) {
  .about__photo { border-radius: 22px; }
  .about__frame { border-radius: 24px; }
  .about__tag { left: 16px; bottom: 36px; padding: 12px 14px; }
  .about__tag-name { font-size: 15px; }
  .about__tag-role { font-size: 10px; }
  .fact__label { font-size: 13.5px; }
}

/* =====================================================================
   DEPOIMENTOS
   Cinza muito suave, sobe sobre a seção anterior. Vídeos reaproveitam o
   componente .slot do portfólio; depoimentos escritos usam .quote-card.
   Todos os módulos são reservas prontas para conteúdo real.
   ===================================================================== */

.testimonials {
  --c-orange-ink: #C24C17;
  --ink-line: rgb(22 26 33 / .1);

  position: relative;
  z-index: 6;
  isolation: isolate;
  margin-top: -36px;
  padding: clamp(96px, 10vw, 152px) 0 clamp(96px, 10vw, 160px);
  border-radius: 36px 36px 0 0;
  background:
    radial-gradient(50% 40% at 0% 0%, rgb(255 255 255 / .55), transparent 70%),
    radial-gradient(40% 35% at 100% 70%, rgb(246 174 144 / .14), transparent 70%),
    #EAE9E5;
  color: var(--c-graphite);
  overflow: clip;
}
.testimonials ::selection { background: var(--c-graphite); color: var(--c-offwhite); }

.testimonials__inner { padding: 0 var(--gutter); }

/* ---------- cabeçalho ---------- */

.testi-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 16px;
  align-items: start;
}
.testi-head__mark {
  grid-column: 1 / 3;
  font-family: var(--font-serif);
  font-size: clamp(9rem, 4rem + 11vw, 16rem);
  line-height: .72;
  color: var(--c-orange);
  user-select: none;
}
.testi-head__text { grid-column: 3 / 12; }
.testi-head__title {
  margin: 0;
  font-size: clamp(2.6rem, 1.15rem + 4.1vw, 5.75rem);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.testi-head__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.08em;
  letter-spacing: -.015em;
  color: var(--c-orange-ink);
}
.testi-head__intro {
  grid-column: 7 / 13;
  margin: clamp(32px, 4vw, 56px) 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--ink-line);
  font-size: clamp(1.0625rem, .98rem + .3vw, 1.25rem);
  line-height: 1.55;
  color: var(--c-slate);
  text-wrap: pretty;
}

/* ---------- carrossel de ponta a ponta ----------
   Trilho com rolagem nativa + snap. O JS curva os slides num arco 3D
   (rotação, profundidade e queda conforme a distância do centro), inclina
   o trilho pela velocidade do arraste e desloca as aspas em paralaxe. */

.testi-carousel {
  --h: clamp(380px, 31vw, 470px);
  --gap: clamp(16px, 1.6vw, 24px);
  position: relative;
  margin-top: clamp(56px, 7vw, 96px);
}

.testi-track {
  display: flex;
  align-items: center;
  gap: var(--gap);
  overflow-x: auto;
  overflow-y: hidden;
  padding: 56px var(--gutter) 72px;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  outline: none;
}
.testi-track::-webkit-scrollbar { display: none; }
.testi-track:focus-visible { box-shadow: inset 0 0 0 2px rgb(247 111 45 / .5); }
.testi-track.is-dragging { scroll-snap-type: none; cursor: grabbing; }
.testi-track.is-dragging * { user-select: none; }

/* bordas da tela esmaecidas (máscara: funciona sobre slides claros e escuros) */
.testi-track {
  -webkit-mask-image: linear-gradient(to right, transparent, #000 clamp(24px, 5vw, 96px), #000 calc(100% - clamp(24px, 5vw, 96px)), transparent);
          mask-image: linear-gradient(to right, transparent, #000 clamp(24px, 5vw, 96px), #000 calc(100% - clamp(24px, 5vw, 96px)), transparent);
}

.testi-slide {
  --d: 0;
  flex: none;
  height: var(--h);
  scroll-snap-align: center;
  transform-origin: 50% 50%;
  will-change: transform;
}
.testi-slide--quote    { width: calc(var(--h) * .86); }
.testi-slide--wide     { width: calc(var(--h) * 1.42); }
.testi-slide--portrait { width: calc(var(--h) * .7); }

.testi-slide.quote-card { min-height: 0; transition: box-shadow .5s var(--ease-out), border-color .4s ease; }
.testi-slide .quote-card__mark { translate: calc(var(--d) * -36px) 0; transition: none; }
.testi-video.testi-slide .slot { flex: 1; height: auto; aspect-ratio: auto; }

/* o slide central ganha luz e borda laranja */
.testi-slide.is-current.quote-card,
.testi-slide.is-current .slot { border-color: rgb(247 111 45 / .35); }
.testi-slide.is-current.quote-card:not(.quote-card--ink) { box-shadow: 0 0 0 6px rgb(255 255 255 / .55), 0 50px 90px -40px rgb(22 26 33 / .4), 0 0 60px -30px rgb(247 111 45 / .45); }


/* cursor "Arraste" */
.testi-cursor {
  position: absolute;
  z-index: 3;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  margin: -46px 0 0 -46px;
  border-radius: 50%;
  background: var(--c-orange);
  color: var(--c-graphite);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  box-shadow: 0 0 0 8px rgb(247 111 45 / .18), 0 20px 40px -16px rgb(247 111 45 / .6);
  pointer-events: none;
  opacity: 0;
  scale: .4;
  translate: var(--cx, 0) var(--cy, 0);
  transition: opacity .3s ease, scale .4s var(--ease-out);
}
.testi-cursor span { rotate: -12deg; }
.testi-carousel.is-hovering .testi-cursor { opacity: 1; scale: 1; }
.testi-carousel.is-hovering .testi-track { cursor: none; }
.testi-track.is-dragging ~ .testi-cursor { scale: .8; }

/* controles */
.testi-controls {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 32px);
  padding: 0 var(--gutter);
}
.testi-count {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-variant-numeric: tabular-nums;
  color: var(--c-slate);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .06em;
}
.testi-count__now {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 2.4rem;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--c-orange-ink);
}
.testi-progress {
  position: relative;
  flex: 1;
  height: 1px;
  background: rgb(22 26 33 / .14);
}
.testi-progress i {
  position: absolute;
  left: 0;
  top: -1px;
  height: 3px;
  width: calc(var(--seg, .2) * 100%);
  border-radius: 3px;
  background: var(--c-orange);
  translate: calc(var(--pos, 0) * (100% / var(--seg, .2) - 100%)) 0;
}
.testi-arrows { display: inline-flex; gap: 10px; }
.testi-arrow {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgb(22 26 33 / .16);
  background: rgb(255 255 255 / .5);
  color: var(--c-graphite);
  cursor: pointer;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease, opacity .3s ease;
}
.testi-arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: translate .35s var(--ease-out); }
.testi-arrow:disabled { opacity: .35; cursor: default; }
@media (hover: hover) {
  .testi-arrow:not(:disabled):hover { background: var(--c-graphite); border-color: var(--c-graphite); color: var(--c-orange); }
  .testi-arrow[data-dir="1"]:not(:disabled):hover svg { translate: 3px 0; }
  .testi-arrow[data-dir="-1"]:not(:disabled):hover svg { translate: -3px 0; }
}
.testi-arrow:focus-visible { outline: 2px solid var(--c-orange); outline-offset: 4px; }

/* ---------- vídeo (reaproveita .slot) ---------- */

.testi-video { display: flex; flex-direction: column; }
.testi-video .slot { width: 100%; }
.testi-video__caption {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 4px 0;
}
.testi-video__who { display: grid; gap: 2px; }
.testi-video__name { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.testi-video__role { font-size: 13px; color: var(--c-slate); }
.testi-video__name:empty,
.testi-video__role:empty,
.quote-card__name:empty,
.quote-card__role:empty { display: none; }
.testi-video:has(.slot:not(.is-empty)) .testi-soon { display: none; }

/* ---------- depoimento escrito ---------- */

.quote-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 100%;
  padding: clamp(26px, 2.6vw, 38px);
  border-radius: 24px;
  border: 1px solid rgb(22 26 33 / .08);
  background: linear-gradient(170deg, rgb(255 255 255 / .78), rgb(255 255 255 / .38));
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  box-shadow:
    0 0 0 6px rgb(255 255 255 / .4),
    0 30px 60px -36px rgb(22 26 33 / .3);
  transition: transform .6s var(--ease-out), box-shadow .5s var(--ease-out), border-color .4s ease;
}
.quote-card__mark {
  display: block;
  height: .46em;
  font-family: var(--font-serif);
  font-size: clamp(5rem, 3.5rem + 3vw, 7rem);
  line-height: .9;
  color: var(--c-orange);
  transition: translate .6s var(--ease-out);
}

/* texto real (quando preenchido) */
.quote-card__text {
  margin: 0;
  font-size: clamp(1.125rem, 1rem + .4vw, 1.4rem);
  line-height: 1.5;
  letter-spacing: -.015em;
  text-wrap: pretty;
}
.quote-card__text p { margin: 0 0 .8em; }
.quote-card__text p:last-child { margin-bottom: 0; }
.quote-card.is-empty .quote-card__text { display: none; }
.quote-card:not(.is-empty) .quote-card__empty,
.quote-card:not(.is-empty) .testi-soon { display: none; }

/* reserva: linhas pautadas, como uma página aguardando o texto */
.quote-card__empty { flex: 1; display: flex; align-items: center; min-height: 96px; }
.quote-card__rules { display: grid; gap: 1.9em; width: 100%; padding: 8px 0; }
.quote-card__rules i { display: block; height: 1px; background: var(--ink-line); }
.quote-card__rules i:last-child { width: 58%; }

.quote-card__author {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--ink-line);
}
.quote-card__who { display: grid; gap: 2px; }
.quote-card__name { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.quote-card__role { font-size: 13px; color: var(--c-slate); }

.quote-card__avatar {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  overflow: hidden;
  border-radius: 50%;
  border: 1px dashed rgb(22 26 33 / .28);
}
.quote-card__avatar svg { width: 20px; height: 20px; fill: none; stroke: rgb(81 83 101 / .7); stroke-width: 1.4; stroke-linecap: round; }
.quote-card__avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.quote-card__avatar:has(img) { border-style: solid; }
.quote-card__avatar:has(img) svg { display: none; }

.testi-soon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgb(22 26 33 / .12);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-slate);
}
.testi-soon::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c-orange); }

/* variante grafite: contraste dentro da superfície clara */
.quote-card--ink {
  color: var(--c-offwhite);
  border-color: rgb(240 238 227 / .08);
  background:
    radial-gradient(80% 60% at 100% 100%, rgb(247 111 45 / .16), transparent 70%),
    var(--c-graphite);
  box-shadow: 0 0 0 6px rgb(22 26 33 / .05), 0 40px 70px -36px rgb(22 26 33 / .55);
}
.quote-card--ink .quote-card__rules i,
.quote-card--ink .quote-card__author { border-color: rgb(240 238 227 / .1); }
.quote-card--ink .quote-card__rules i { background: rgb(240 238 227 / .1); }
.quote-card--ink .quote-card__avatar { border-color: rgb(240 238 227 / .28); }
.quote-card--ink .quote-card__avatar svg { stroke: rgb(240 238 227 / .6); }
.quote-card--ink .quote-card__role { color: var(--text-muted); }
.quote-card--ink .testi-soon { border-color: rgb(240 238 227 / .14); color: rgb(240 238 227 / .55); }

/* variante vertical: aspas maiores e mais linhas */
.quote-card--tall .quote-card__mark { font-size: clamp(6rem, 4rem + 4vw, 9rem); }

@media (hover: hover) {
  .quote-card:hover {
    transform: translateY(-4px);
    border-color: rgb(247 111 45 / .3);
    box-shadow:
      0 0 0 6px rgb(255 255 255 / .55),
      0 40px 70px -36px rgb(22 26 33 / .38),
      0 0 40px -24px rgb(247 111 45 / .4);
  }
  .quote-card--ink:hover { box-shadow: 0 0 0 6px rgb(22 26 33 / .06), 0 50px 80px -40px rgb(22 26 33 / .6), 0 0 50px -24px rgb(247 111 45 / .5); }
  .quote-card:hover .quote-card__mark { translate: 4px 0; }
}

/* ---------- movimento ---------- */

@media (prefers-reduced-motion: no-preference) {
  .js .testimonials [data-appear] {
    opacity: 0;
    translate: 0 26px;
    transition: opacity 1s var(--ease-out), translate 1.1s var(--ease-out), transform .6s var(--ease-out), box-shadow .5s var(--ease-out), border-color .4s ease;
  }
  .js .testimonials [data-appear].is-in { opacity: 1; translate: 0 0; }
}

/* ---------- responsivo ---------- */

@media (max-width: 1099.98px) {
  .testi-head__mark { grid-column: 1 / 3; }
  .testi-head__text { grid-column: 3 / 13; }
  .testi-head__intro { grid-column: 3 / 13; }
}

@media (max-width: 959.98px) {
  .testimonials { margin-top: -28px; border-radius: 28px 28px 0 0; }
}

@media (max-width: 639.98px) {
  .testi-head { display: block; }
  .testi-head__mark { display: block; height: .42em; margin-bottom: 8px; font-size: 7rem; }
  .testi-carousel { --h: 380px; --gap: 10px; }
  .testi-track { padding: 32px 10vw 48px; scroll-padding-inline: 0; }
  .testi-slide--quote    { width: 72vw; }
  .testi-slide--wide     { width: 80vw; height: auto; }
  .testi-video.testi-slide--wide .slot { flex: none; aspect-ratio: 16 / 10; }
  .testi-slide--portrait { width: 64vw; }
  .testi-arrow { width: 46px; height: 46px; }
  .testi-count__now { font-size: 2rem; }
  .quote-card { border-radius: 20px; }
  .quote-card__empty { min-height: 72px; }
}

/* =====================================================================
   FECHAMENTO · THE CONVERSION CORE
   Fundo preto profundo e cinematográfico. A cena 3D ocupa a seção inteira;
   o texto fica à esquerda (desktop) ou abaixo do núcleo (mobile).
   Estágios controlados por classes vindas de js/core.js:
   .is-s1 aproximação · .is-s2 convergência · .is-s3 ativação · .is-s4 estável
   ===================================================================== */

.core {
  --c-void: #0D0F13;
  position: relative;
  z-index: 7;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  margin-top: -36px;
  padding: clamp(112px, 12vw, 176px) 0 clamp(96px, 10vw, 144px);
  border-radius: 36px 36px 0 0;
  background:
    radial-gradient(60% 70% at 72% 50%, #1A1E27 0%, var(--c-void) 70%),
    var(--c-void);
  color: var(--c-offwhite);
  overflow: clip;
}
.core ::selection { background: var(--c-orange); color: var(--c-graphite); }

/* ---------- palco 3D ---------- */

.core__stage { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.core__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.core.is-live .core__canvas { opacity: 1; }

/* vinheta: protege a leitura do texto sem apagar o núcleo */
.core__vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(13 15 19 / .9) 0%, rgb(13 15 19 / .55) 34%, rgb(13 15 19 / 0) 58%),
    linear-gradient(to bottom, rgb(13 15 19 / .7), rgb(13 15 19 / 0) 18%, rgb(13 15 19 / 0) 82%, rgb(13 15 19 / .85));
}
.core .hero__noise { opacity: .06; }

/* ---------- fallback CSS (sem WebGL) ---------- */

.core-fallback {
  position: absolute;
  top: 50%;
  left: 72%;
  width: min(46vw, 640px);
  aspect-ratio: 1;
  translate: -50% -50%;
  perspective: 1200px;
  display: none;
}
.core.is-fallback .core-fallback { display: block; }
.core-fallback__glow {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(247 111 45 / .55), rgb(246 174 144 / .12) 35%, transparent 65%);
  filter: blur(10px);
}
.core-fallback__ring {
  position: absolute;
  inset: calc((1 - var(--r)) * 50%);
  border-radius: 50%;
  border: 2px solid rgb(240 238 227 / .35);
  box-shadow: 0 0 24px rgb(247 111 45 / .35), inset 0 0 18px rgb(246 174 144 / .25);
  transform: rotateX(var(--tx)) rotateY(var(--ty));
}
.core-fallback__core {
  position: absolute;
  inset: 44%;
  rotate: 45deg;
  border-radius: 14%;
  background: linear-gradient(135deg, #FFD2B8, var(--c-orange));
  box-shadow: 0 0 60px rgb(247 111 45 / .9), 0 0 140px rgb(247 111 45 / .5);
}
@media (prefers-reduced-motion: no-preference) {
  .core.is-fallback .core-fallback__ring { animation: fb-spin 18s linear infinite; }
  .core.is-fallback .core-fallback__ring:nth-child(3) { animation-duration: 24s; animation-direction: reverse; }
  .core.is-fallback .core-fallback__ring:nth-child(4) { animation-duration: 30s; }
}
@keyframes fb-spin { to { transform: rotateX(var(--tx)) rotateY(calc(var(--ty) + 360deg)); } }

/* ---------- legenda da convergência ---------- */

.core__legend {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(40px, 5vw, 64px);
  display: flex;
  gap: clamp(16px, 2.4vw, 36px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.core__legend li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgb(240 238 227 / .3);
  transition: color .6s ease;
}
.core__legend i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1px solid rgb(240 238 227 / .35);
  transition: background-color .5s ease, border-color .5s ease, box-shadow .6s ease;
}
.core__legend li.is-on { color: rgb(240 238 227 / .85); }
.core__legend li.is-on i { background: var(--c-orange); border-color: var(--c-orange); box-shadow: 0 0 0 4px rgb(247 111 45 / .18), 0 0 14px rgb(247 111 45 / .9); }

/* ---------- conteúdo ---------- */

.core__inner { position: relative; width: 100%; padding: 0 var(--gutter); }
.core__content { max-width: min(780px, 56vw); }

.core__title {
  margin: 0;
  font-size: clamp(2.6rem, .9rem + 3.75vw, 5.6rem);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.055em;
}
.core__line { display: block; }
@media (min-width: 1100px) { .core__line { white-space: nowrap; } }
.core__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.08em;
  letter-spacing: -.015em;
  color: var(--c-orange);
}

.core__text {
  max-width: 34em;
  margin-top: clamp(28px, 3.4vw, 44px);
  padding-top: 24px;
  border-top: 1px solid rgb(240 238 227 / .12);
}
.core__text p {
  margin: 0 0 14px;
  font-size: clamp(1rem, .96rem + .2vw, 1.125rem);
  line-height: 1.6;
  color: rgb(240 238 227 / .6);
  text-wrap: pretty;
}
.core__text .core__call {
  margin: 22px 0 0;
  font-size: clamp(1.125rem, 1rem + .4vw, 1.35rem);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -.015em;
  color: var(--c-offwhite);
}

/* ---------- CTA ---------- */

.core-cta {
  --lx: 50%;
  --ly: 50%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  margin-top: clamp(32px, 4vw, 48px);
  padding: 10px 10px 10px 34px;
  border-radius: 999px;
  color: #0D0F13;
  background: var(--c-orange);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  box-shadow:
    0 0 0 8px rgb(247 111 45 / .14),
    0 0 60px -6px rgb(247 111 45 / .55),
    inset 0 1px 0 rgb(255 255 255 / .4);
  transition: box-shadow .5s var(--ease-out), transform .5s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
/* luz que segue o cursor dentro do botão */
.core-cta__light {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(160px circle at var(--lx) var(--ly), #FFE3D3, rgb(246 174 144 / .6) 35%, transparent 70%);
  opacity: 0;
  transition: opacity .4s ease;
}
.core-cta__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: var(--c-orange);
  background: #0D0F13;
  transition: rotate .5s var(--ease-out), scale .5s var(--ease-out);
}
@media (hover: hover) {
  .core-cta:hover {
    transform: translateY(-2px);
    box-shadow:
      0 0 0 12px rgb(247 111 45 / .18),
      0 0 90px 0 rgb(247 111 45 / .7),
      inset 0 1px 0 rgb(255 255 255 / .5);
  }
  .core-cta:hover .core-cta__light { opacity: 1; }
  .core-cta:hover .core-cta__icon { rotate: 45deg; scale: 1.06; }
}
.core-cta:active { transform: scale(.985); }
.core-cta:focus-visible { outline: 2px solid var(--c-offwhite); outline-offset: 10px; }

/* ---------- sequência do texto (sincronizada com a cena) ---------- */

@media (prefers-reduced-motion: no-preference) {
  .js .core .core__line,
  .js .core .core__text,
  .js .core .core-cta {
    opacity: 0;
    translate: 0 30px;
    filter: blur(6px);
    transition: opacity 1.1s var(--ease-out), translate 1.2s var(--ease-out), filter 1.1s var(--ease-out), box-shadow .5s var(--ease-out), transform .5s var(--ease-out);
  }
  .js .core.is-s1 .core__line { opacity: 1; translate: 0 0; filter: none; }
  .js .core.is-s1 .core__line:nth-child(2) { transition-delay: .12s; }
  .js .core.is-s1 .core__line:nth-child(3) { transition-delay: .24s; }
  .js .core.is-s1 .core__text { opacity: 1; translate: 0 0; filter: none; transition-delay: .55s; }
  .js .core.is-s1 .core-cta { opacity: 1; translate: 0 0; filter: none; transition-delay: .9s; }

  /* ativação: o destaque do título e o CTA recebem a onda de luz do núcleo */
  .core.is-s3 .core__title em { animation: core-flash 1.6s var(--ease-out) both; }
  .core.is-s3 .core-cta { animation: cta-charge 1.6s var(--ease-out) .25s both; }
}
@keyframes core-flash {
  0%   { text-shadow: 0 0 0 rgb(247 111 45 / 0); }
  25%  { text-shadow: 0 0 28px rgb(247 111 45 / .9), 0 0 60px rgb(246 174 144 / .5); }
  100% { text-shadow: 0 0 18px rgb(247 111 45 / .25); }
}
@keyframes cta-charge {
  0%   { box-shadow: 0 0 0 8px rgb(247 111 45 / .14), 0 0 60px -6px rgb(247 111 45 / .55), inset 0 1px 0 rgb(255 255 255 / .4); }
  30%  { box-shadow: 0 0 0 18px rgb(247 111 45 / .22), 0 0 120px 10px rgb(247 111 45 / .8), inset 0 1px 0 rgb(255 255 255 / .5); }
  100% { box-shadow: 0 0 0 8px rgb(247 111 45 / .14), 0 0 60px -6px rgb(247 111 45 / .55), inset 0 1px 0 rgb(255 255 255 / .4); }
}

/* ---------- responsivo ---------- */

@media (max-width: 1099.98px) {
  .core {
    align-items: flex-end;
    margin-top: -28px;
    border-radius: 28px 28px 0 0;
    padding-top: min(92vw, 52svh);
    background: radial-gradient(90% 50% at 50% 22%, #1A1E27 0%, var(--c-void) 70%), var(--c-void);
  }
  .core__vignette {
    background: linear-gradient(to bottom, rgb(13 15 19 / .5), rgb(13 15 19 / 0) 12%, rgb(13 15 19 / 0) 38%, rgb(13 15 19 / .88) 56%, rgb(13 15 19 / .96));
  }
  /* no celular a cena ocupa só a faixa superior: núcleo acima do texto e menos pixels para renderizar */
  .core__canvas { bottom: auto; height: calc(min(92vw, 52svh) - 8px); }
  .core-fallback { left: 50%; top: calc(min(92vw, 52svh) / 2); width: min(76vw, 400px); }
  .core__content { max-width: 640px; }
  .core__legend { left: 50%; right: auto; top: calc(min(92vw, 52svh) - 24px); bottom: auto; translate: -50% 0; }
}

@media (max-width: 639.98px) {
  .core-cta {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    min-height: 64px;
    padding-left: 22px;
    font-size: 13px;
    letter-spacing: .06em;
  }
  .core-cta__icon { width: 46px; height: 46px; }
  .core__legend { gap: 14px; }
  .core__legend li { font-size: 10px; letter-spacing: .16em; gap: 7px; }
}

/* =====================================================================
   RODAPÉ
   ===================================================================== */

.site-footer {
  position: relative;
  z-index: 8;
  padding: clamp(48px, 6vw, 80px) 0 clamp(28px, 3vw, 40px);
  background: #0D0F13;
  color: var(--c-offwhite);
  border-top: 1px solid rgb(240 238 227 / .07);
}
.site-footer__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px 48px;
  padding: 0 var(--gutter);
}
.site-footer__role {
  margin: 12px 0 0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgb(240 238 227 / .42);
}
.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-content: flex-start;
  gap: 6px 26px;
}
.site-footer__nav a,
.site-footer__top {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: 14px;
  color: rgb(240 238 227 / .62);
  text-decoration: none;
  transition: color .3s ease;
}
.site-footer__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 1px;
  background: var(--c-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease-out);
}
@media (hover: hover) {
  .site-footer__nav a:hover,
  .site-footer__top:hover { color: var(--c-offwhite); }
  .site-footer__nav a:hover::after { transform: scaleX(1); }
}
.site-footer__nav a:focus-visible,
.site-footer__top:focus-visible { outline: 2px solid var(--c-peach); outline-offset: 4px; border-radius: 4px; }

.site-footer__bottom {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 24px;
  border-top: 1px solid rgb(240 238 227 / .08);
}
.site-footer__bottom p { margin: 0; font-size: 13px; color: rgb(240 238 227 / .4); }
.site-footer__top { gap: 8px; font-size: 13px; }
.site-footer__top svg { color: var(--c-orange); }

@media (max-width: 759.98px) {
  .site-footer__inner { grid-template-columns: minmax(0, 1fr); }
  .site-footer__nav { justify-content: flex-start; gap: 4px 20px; }
}

/* =====================================================================
   MENU FIXO
   Barra flutuante em vidro escuro (funciona sobre seções claras e escuras):
   destaque que desliza entre os itens, barra de leitura, some ao rolar
   para baixo e volta ao rolar para cima. Submenus em painéis de vidro;
   no celular, menu em tela cheia com acordeões.
   ===================================================================== */

html { scroll-padding-top: 104px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

[hidden] { display: none !important; }

.site-nav {
  --nav-max: 100%;
  position: fixed;
  z-index: 100;
  top: 14px;
  left: 0;
  right: 0;
  padding: 0 var(--gutter);
  pointer-events: none;
  transition: translate .55s var(--ease-out);
}
.site-nav.is-hidden { translate: 0 calc(-100% - 24px); }

.site-nav__bar {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  max-width: var(--nav-max);
  margin: 0 auto;
  padding: 8px 8px 8px 24px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgb(255 255 255 / .07), rgb(255 255 255 / .015)),
    rgb(18 21 27 / .42);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
          backdrop-filter: blur(20px) saturate(1.5);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / .1),
    0 24px 60px -28px rgb(0 0 0 / .7),
    0 0 0 6px rgb(240 238 227 / .03);
  pointer-events: auto;
  transition: max-width .6s var(--ease-out), background-color .4s ease, padding .5s var(--ease-out);
}
/* borda em degradê (vidro iluminado pela borda) */
.site-nav__bar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(110deg, rgb(240 238 227 / .28), rgb(240 238 227 / .06) 35%, rgb(247 111 45 / .35) 60%, rgb(240 238 227 / .08));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
}
.site-nav.is-scrolled { --nav-max: 1040px; }
.site-nav.is-scrolled .site-nav__bar { background-color: rgb(14 16 21 / .62); }

.site-nav__brand { justify-self: start; font-size: 17px; }

/* ---------- itens centrais ---------- */

.site-nav__center { position: relative; justify-self: center; }
.site-nav__links { position: relative; z-index: 1; display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.site-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: rgb(240 238 227 / .72);
  font: 500 14px/1 var(--font-sans);
  letter-spacing: -.005em;
  text-decoration: none;
  cursor: pointer;
  transition: color .3s ease;
}
.site-nav__link:hover,
.site-nav__link[aria-expanded="true"],
.site-nav__link.is-active { color: var(--c-offwhite); }
.site-nav__link:focus-visible { outline: 2px solid var(--c-peach); outline-offset: 2px; }
.site-nav__caret {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: var(--c-orange);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: rotate .4s var(--ease-out);
}
.site-nav__toggle[aria-expanded="true"] .site-nav__caret { rotate: 180deg; }

/* destaque em vidro que desliza até o item sob o cursor / seção atual */
.site-nav__pill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: var(--pw, 0px);
  translate: var(--px, 0px) 0;
  border-radius: 999px;
  background: linear-gradient(180deg, rgb(240 238 227 / .13), rgb(240 238 227 / .05));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .12), inset 0 0 0 1px rgb(240 238 227 / .08);
  opacity: 0;
  transition: translate .5s var(--ease-out), width .5s var(--ease-out), opacity .3s ease;
  pointer-events: none;
}
.site-nav__pill::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--c-orange);
  box-shadow: 0 0 8px rgb(247 111 45 / .9);
}
.site-nav__pill.is-on { opacity: 1; }

/* ---------- CTA ---------- */

.site-nav__cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 8px 0 20px;
  border-radius: 999px;
  background: var(--c-orange);
  color: #0D0F13;
  font: 700 12px/1 var(--font-sans);
  letter-spacing: .09em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 0 0 4px rgb(247 111 45 / .14), 0 8px 24px -8px rgb(247 111 45 / .6);
  transition: box-shadow .4s var(--ease-out);
}
.site-nav__cta svg {
  width: 30px;
  height: 30px;
  padding: 8px;
  border-radius: 50%;
  background: #0D0F13;
  fill: none;
  stroke: var(--c-orange);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: rotate .45s var(--ease-out);
}
@media (hover: hover) {
  .site-nav__cta:hover { box-shadow: 0 0 0 7px rgb(247 111 45 / .2), 0 10px 30px -6px rgb(247 111 45 / .8); }
  .site-nav__cta:hover svg { rotate: 45deg; }
}
.site-nav__cta:focus-visible { outline: 2px solid var(--c-offwhite); outline-offset: 4px; }

/* ---------- barra de leitura ---------- */

.site-nav__progress {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 0;
  height: 1px;
  overflow: hidden;
  pointer-events: none;
}
.site-nav__progress i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, rgb(247 111 45 / 0), var(--c-orange) 60%, var(--c-peach));
  transform: scaleX(var(--read, 0));
  transform-origin: left;
}

/* ---------- botão do celular ---------- */

.site-nav__burger {
  display: none;
  justify-self: end;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgb(240 238 227 / .08);
  box-shadow: inset 0 0 0 1px rgb(240 238 227 / .1);
  cursor: pointer;
}
.site-nav__burger span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 0 auto;
  border-radius: 2px;
  background: var(--c-offwhite);
  transition: translate .4s var(--ease-out), rotate .4s var(--ease-out), width .3s ease;
}
.site-nav__burger span + span { margin-top: 6px; width: 12px; translate: 3px 0; }
.site-nav__burger[aria-expanded="true"] span:first-child { translate: 0 3.75px; rotate: 45deg; }
.site-nav__burger[aria-expanded="true"] span + span { width: 18px; translate: 0 -3.75px; rotate: -45deg; }
.site-nav__burger:focus-visible { outline: 2px solid var(--c-peach); outline-offset: 3px; }

/* ---------- painéis de submenu ---------- */

.site-nav__panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  padding: 0 var(--gutter);
  pointer-events: none;
}
.nav-panel {
  position: relative;
  max-width: var(--nav-max);
  margin: 0 auto;
  padding: 22px;
  border-radius: 28px;
  background:
    radial-gradient(60% 120% at 100% 0%, rgb(247 111 45 / .12), transparent 60%),
    linear-gradient(180deg, rgb(255 255 255 / .06), rgb(255 255 255 / .01)),
    rgb(16 19 24 / .72);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
          backdrop-filter: blur(24px) saturate(1.5);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / .09),
    inset 0 0 0 1px rgb(240 238 227 / .09),
    0 40px 90px -40px rgb(0 0 0 / .85);
  opacity: 0;
  translate: 0 -10px;
  scale: .98;
  transform-origin: 50% 0;
  transition: opacity .3s ease, translate .45s var(--ease-out), scale .45s var(--ease-out);
  pointer-events: auto;
}
.site-nav__panel.is-open .nav-panel { opacity: 1; translate: 0 0; scale: 1; }

.nav-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 6px 16px;
}
.nav-panel__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgb(240 238 227 / .5);
}
.nav-panel__eyebrow span { width: 6px; height: 6px; border-radius: 50%; background: var(--c-orange); box-shadow: 0 0 10px rgb(247 111 45 / .9); }
.nav-panel__all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  font-size: 13px;
  font-weight: 500;
  color: var(--c-peach);
  text-decoration: none;
}
.nav-panel__all svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: translate .35s var(--ease-out); }
.nav-panel__all:hover svg { translate: 3px 0; }

.nav-panel__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-card {
  --mx: 50%;
  --my: 50%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas: "num go" "title title" "desc desc";
  gap: 10px;
  height: 100%;
  padding: 18px 18px 20px;
  border-radius: 18px;
  background: rgb(240 238 227 / .035);
  box-shadow: inset 0 0 0 1px rgb(240 238 227 / .07);
  color: var(--c-offwhite);
  text-decoration: none;
  transition: background-color .35s ease, box-shadow .35s ease, translate .45s var(--ease-out);
}
.nav-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(260px circle at var(--mx) var(--my), rgb(247 111 45 / .16), transparent 65%);
  opacity: 0;
  transition: opacity .35s ease;
}
.nav-card__num {
  grid-area: num;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 28px;
  line-height: .9;
  color: var(--c-orange);
}
.nav-card__go {
  grid-area: go;
  justify-self: end;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgb(240 238 227 / .14);
  transition: background-color .35s ease, rotate .45s var(--ease-out);
}
.nav-card__go svg { width: 14px; height: 14px; fill: none; stroke: var(--c-offwhite); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nav-card__title { grid-area: title; margin-top: 10px; font-size: 16px; font-weight: 600; line-height: 1.25; letter-spacing: -.015em; }
.nav-card__desc { grid-area: desc; font-size: 13px; line-height: 1.5; color: rgb(240 238 227 / .55); }
@media (hover: hover) {
  .nav-card:hover { background: rgb(240 238 227 / .06); box-shadow: inset 0 0 0 1px rgb(247 111 45 / .35); translate: 0 -2px; }
  .nav-card:hover::before { opacity: 1; }
  .nav-card:hover .nav-card__go { background: var(--c-orange); rotate: 45deg; }
  .nav-card:hover .nav-card__go svg { stroke: #0D0F13; }
}
.nav-card:focus-visible { outline: 2px solid var(--c-peach); outline-offset: 2px; }

/* entrada escalonada dos cartões */
@media (prefers-reduced-motion: no-preference) {
  .site-nav__panel .nav-card { opacity: 0; translate: 0 8px; transition: opacity .4s ease, translate .5s var(--ease-out), background-color .35s ease, box-shadow .35s ease; }
  .site-nav__panel.is-open .nav-card { opacity: 1; translate: 0 0; }
  .site-nav__panel.is-open li:nth-child(2) .nav-card { transition-delay: .05s; }
  .site-nav__panel.is-open li:nth-child(3) .nav-card { transition-delay: .1s; }
}

/* ---------- menu em tela cheia (celular / tablet) ---------- */

.site-nav__sheet {
  position: fixed;
  inset: 0;
  z-index: -1;
  padding: 104px var(--gutter) 32px;
  overflow-y: auto;
  background:
    radial-gradient(70% 50% at 100% 0%, rgb(247 111 45 / .16), transparent 70%),
    rgb(11 13 17 / .82);
  -webkit-backdrop-filter: blur(26px) saturate(1.4);
          backdrop-filter: blur(26px) saturate(1.4);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: auto;
}
.site-nav__sheet.is-open { opacity: 1; }
.sheet { display: flex; flex-direction: column; min-height: 100%; }
.sheet__link {
  display: flex;
  align-items: baseline;
  gap: 16px;
  width: 100%;
  padding: 18px 0;
  border: 0;
  border-bottom: 1px solid rgb(240 238 227 / .1);
  background: none;
  color: var(--c-offwhite);
  font: 500 clamp(2rem, 1.4rem + 3vw, 2.75rem)/1 var(--font-sans);
  letter-spacing: -.045em;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.sheet__num { font-family: var(--font-serif); font-style: italic; font-size: .5em; letter-spacing: 0; color: var(--c-orange); }
.sheet__plus { position: relative; width: 16px; height: 16px; margin-left: auto; align-self: center; }
.sheet__plus::before,
.sheet__plus::after { content: ""; position: absolute; inset: 7px 0 auto; height: 1.5px; background: var(--c-peach); transition: rotate .4s var(--ease-out); }
.sheet__plus::after { rotate: 90deg; }
.sheet__toggle[aria-expanded="true"] .sheet__plus::after { rotate: 0deg; }

.sheet__sub { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; max-height: 0; overflow: hidden; transition: max-height .45s var(--ease-out); }
.sheet__toggle[aria-expanded="true"] + .sheet__sub { max-height: 320px; }
.sheet__sub a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 6px 0 6px 34px;
  font-size: 16px;
  color: rgb(240 238 227 / .72);
  text-decoration: none;
}
.sheet__sub a::before { content: ""; width: 14px; height: 1px; background: var(--c-orange); }
.sheet__sub li:last-child a { margin-bottom: 12px; }

.sheet__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  min-height: 60px;
  padding: 8px 8px 8px 22px;
  border-radius: 999px;
  background: var(--c-orange);
  color: #0D0F13;
  font: 700 12.5px/1.2 var(--font-sans);
  letter-spacing: .07em;
  text-transform: uppercase;
  text-decoration: none;
}
.sheet__cta svg { flex: none; width: 44px; height: 44px; padding: 13px; border-radius: 50%; background: #0D0F13; fill: none; stroke: var(--c-orange); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sheet__group:last-of-type { margin-bottom: 32px; }

@media (prefers-reduced-motion: no-preference) {
  .site-nav__sheet .sheet > * { opacity: 0; translate: 0 18px; transition: opacity .5s ease, translate .6s var(--ease-out); }
  .site-nav__sheet.is-open .sheet > * { opacity: 1; translate: 0 0; transition-delay: calc(.08s + var(--i, 0) * .06s); }
}

/* ---------- responsivo ---------- */

@media (max-width: 959.98px) {
  html { scroll-padding-top: 88px; }
  .site-nav { top: 10px; padding: 0 12px; }
  .site-nav__bar { grid-template-columns: 1fr auto; padding: 6px 6px 6px 20px; }
  .site-nav__center, .site-nav__cta, .site-nav__panel { display: none !important; }
  .site-nav__burger { display: block; }
  .site-nav__progress { left: 22px; right: 22px; }
  .site-nav.is-open .site-nav__bar { background-color: rgb(14 16 21 / .7); }
}
body.nav-locked { overflow: hidden; }

/* ---------- menu do rodapé ---------- */

.footer-menu {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, auto));
  justify-content: end;
  gap: 24px clamp(32px, 5vw, 80px);
}
.footer-menu__title {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--c-orange);
}
.footer-menu ul { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.footer-menu a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  font-size: 14px;
  color: rgb(240 238 227 / .66);
  text-decoration: none;
  transition: color .3s ease, translate .35s var(--ease-out);
}
.footer-menu a::before {
  content: "";
  width: 0;
  height: 1px;
  margin-right: 0;
  background: var(--c-orange);
  transition: width .35s var(--ease-out), margin .35s var(--ease-out);
}
@media (hover: hover) {
  .footer-menu a:hover { color: var(--c-offwhite); }
  .footer-menu a:hover::before { width: 14px; margin-right: 8px; }
}
.footer-menu a:focus-visible { outline: 2px solid var(--c-peach); outline-offset: 3px; border-radius: 4px; }
.footer-menu__more { color: var(--c-peach) !important; }

@media (max-width: 759.98px) {
  .footer-menu { grid-template-columns: repeat(2, minmax(0, 1fr)); justify-content: stretch; }
  .footer-menu > :first-child { grid-column: 1 / -1; }
}

/* =====================================================================
   REVISÃO DO BRIEFING (documento LP_CONSULTORIA_Danilo / Ana)
   Ajustes sobre os componentes existentes: copy nova, diagramas do
   cliente, faixa de marcas, fechamentos mais discretos e depoimentos
   em vídeo vertical.
   ===================================================================== */

/* ---------- HERO ---------- */

.hero__title--long {
  font-size: clamp(1.9rem, min(1rem + 2.6vw, 6.4vh), 3.7rem);
  line-height: 1.04;
}
.hero__note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  width: 100%;
  margin: 2px 0 0;
  font-size: 13px;
  line-height: 1.45;
  letter-spacing: .01em;
  color: var(--text-faint);
}
.hero__note-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--c-orange); }

/* ---------- NÚMEROS: faixa de marcas ---------- */

.brands {
  position: relative;
  margin-top: clamp(56px, 6vw, 88px);
}
.brands__label {
  margin: 0 0 22px;
  padding: 0 var(--gutter);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.brands__viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}
.brands__track {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.6vw, 22px);
  width: max-content;
  margin: 0;
  padding: 6px 0;
  list-style: none;
}
.brands__item {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: clamp(150px, 15vw, 210px);
  height: clamp(78px, 7vw, 100px);
  padding: 14px 22px;
  border-radius: 18px;
  background: #F0EEE3;
  box-shadow: 0 0 0 6px rgb(240 238 227 / .04), 0 20px 40px -24px rgb(0 0 0 / .6);
}
.brands__item { overflow: hidden; }
.brands__item img {
  width: 100%;
  height: 100% !important;
  max-height: 100%;
  min-height: 0;
  object-fit: contain;
  mix-blend-mode: multiply;            /* fundo branco dos logos some no off-white */
  filter: grayscale(1) contrast(1.1);
  opacity: .78;
  transition: filter .4s ease, opacity .4s ease;
}
@media (hover: hover) {
  .brands__item:hover img { filter: none; opacity: 1; }
}
@media (prefers-reduced-motion: no-preference) {
  .brands__track.is-looping { animation: brands-loop var(--loop, 30s) linear infinite; }
  .brands__viewport:hover .brands__track { animation-play-state: paused; }
}
@keyframes brands-loop { to { transform: translateX(calc(-50% - var(--gap-half, 9px))); } }
/* sem animação (movimento reduzido): a faixa rola na horizontal */
@media (prefers-reduced-motion: reduce) {
  .brands__viewport { overflow-x: auto; }
}

/* ---------- GARGALOS: diagramas do cliente ---------- */

.pains__list--figs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pain--fig { grid-column: auto; min-height: 0; gap: 0; padding: 0; }
.pain__figure {
  margin: 0;
  overflow: hidden;
  border-radius: 24px 24px 0 0;
  border-bottom: 1px solid rgb(22 26 33 / .07);
  background: #F0EDE6;
  aspect-ratio: 3 / 2;
}
.pain__figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out);
}
@media (hover: hover) {
  .pain--fig:hover .pain__figure img { transform: scale(1.025); }
}
.pain--fig .pain__text { padding: clamp(22px, 2.4vw, 34px); }
.pain__label { margin: 0 0 12px; }
.pain--fig .pain__index {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .14em;
  -webkit-text-stroke: 0;
  color: var(--c-orange-ink);
  translate: none !important;
}
.pain--fig .pain__index::after { content: ""; width: 22px; height: 1px; background: currentColor; }
.pain--fig .pain__desc { max-width: 52ch; }
.pain--fig .pain__desc em { font-style: italic; color: var(--ink); }

/* encerramento discreto (substitui o painel grafite) */
.pains-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 20px;
  max-width: 880px;
  margin: clamp(56px, 6vw, 88px) 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--ink-line);
}
.pains-note__mark { width: 28px; height: 2px; margin-top: .9em; background: var(--c-orange); }
.pains-note__lead {
  margin: 0;
  font-size: clamp(1.25rem, 1.05rem + .6vw, 1.6rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.pains-note__lead strong { font-weight: 600; color: var(--c-orange-ink); }
.pains-note__text {
  margin: 12px 0 0;
  max-width: 60ch;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink-muted);
}

/* ---------- MÉTODO M.A.P.A. ---------- */

.method__mark {
  display: inline-flex;
  align-items: baseline;
  gap: .4em;
  margin: 0 0 clamp(18px, 2.2vw, 28px);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.method__mark span {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.9em;
  letter-spacing: .04em;
  text-transform: none;
  color: var(--c-peach);
}
.step__num { font-family: var(--font-sans); }
.step__name { line-height: 1.35; }

/* ---------- SOLUÇÕES: diagramas em 3:2 ---------- */

.sol__figure--diagram { aspect-ratio: 3 / 2; max-width: none; background: #0E1014; }
.sol__figure--diagram img { object-fit: cover; }
.sol--two .sol__list { margin-top: clamp(18px, 2vw, 26px); }

.sol-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 20px;
  max-width: 880px;
  margin-top: clamp(72px, 8vw, 120px);
  padding-top: 28px;
  border-top: 1px solid var(--ink-line);
}
.sol-note__mark { grid-row: 1 / 3; width: 28px; height: 2px; margin-top: .9em; background: var(--c-orange); }
.sol-note__lead {
  margin: 0;
  font-size: clamp(1.25rem, 1.05rem + .6vw, 1.6rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -.02em;
}
.sol-note__lead strong { font-weight: 600; color: var(--c-orange-ink); }
.sol-note__text { margin: 10px 0 0; max-width: 60ch; font-size: 1.0625rem; line-height: 1.6; color: var(--c-slate); }

/* ---------- PORTFÓLIO: fechamento discreto ---------- */

.cases-close--subtle .cases-close__statement {
  max-width: 22em;
  font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -.04em;
}
.cases-close--subtle .cases-close__statement em { display: inline; }
.cases-close--subtle::after { opacity: .5; }

/* ---------- SOBRE ---------- */

.about__lead strong,
.about__text strong { font-weight: 600; color: var(--c-graphite); }
.about__gap {
  font-size: clamp(1.15rem, 1.02rem + .4vw, 1.35rem) !important;
  font-weight: 500;
  color: var(--c-graphite) !important;
}
.about__purpose strong { color: var(--c-orange-ink); font-weight: 600; }
.about__cta { margin-top: clamp(28px, 3vw, 40px); }
.about__body { grid-template-rows: auto; }
.about__visual { grid-row: 1; }
.about__content { align-self: center; }

/* ---------- DEPOIMENTOS: vídeos verticais ---------- */

.testi-slide--reel { width: calc(var(--h) * .5625); }
.testi-reel { display: flex; flex-direction: column; gap: 12px; }
.testi-reel__play,
.testi-reel__frame {
  position: relative;
  flex: 1;
  min-height: 0;
  width: 100%;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgb(22 26 33 / .1);
  background:
    radial-gradient(80% 60% at 50% 40%, #2A2F3A, #161A21 75%);
  box-shadow: 0 0 0 6px rgb(255 255 255 / .45), 0 40px 70px -36px rgb(22 26 33 / .45);
}
.testi-reel__play {
  display: block;
  padding: 0;
  cursor: pointer;
  color: inherit;
}
.testi-reel__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease-out), filter .5s ease;
}
.testi-reel__play::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(13 15 19 / .55), rgb(13 15 19 / 0) 45%);
  pointer-events: none;
}
.testi-reel__icon {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin: -34px 0 0 -34px;
  border-radius: 50%;
  background: var(--c-orange);
  box-shadow: 0 0 0 10px rgb(247 111 45 / .22), 0 18px 40px -10px rgb(247 111 45 / .7);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
.testi-reel__icon svg { width: 26px; height: 26px; fill: #161A21; translate: 2px 0; }
@media (hover: hover) {
  .testi-reel__play:hover .testi-reel__poster { transform: scale(1.04); }
  .testi-reel__play:hover .testi-reel__icon { transform: scale(1.08); box-shadow: 0 0 0 14px rgb(247 111 45 / .26), 0 22px 46px -10px rgb(247 111 45 / .8); }
}
.testi-reel__play:focus-visible { outline: 2px solid var(--c-orange); outline-offset: 4px; }
.testi-reel__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.testi-reel__cap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-slate);
}
.testi-reel__num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.6em;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--c-orange-ink);
}
/* vídeo em duas partes */
.testi-reel__parts { display: inline-flex; gap: 6px; margin-left: auto; }
.testi-reel__parts button {
  white-space: nowrap;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgb(22 26 33 / .16);
  background: transparent;
  font: inherit;
  font-size: 10px;
  letter-spacing: .12em;
  color: var(--c-slate);
  cursor: pointer;
}
.testi-reel__parts button[aria-pressed="true"] { background: var(--c-graphite); border-color: var(--c-graphite); color: var(--c-offwhite); }

/* ---------- responsivo ---------- */

@media (max-width: 959.98px) {
  .pains__list--figs { grid-template-columns: minmax(0, 1fr); }
  .pains-note, .sol-note { grid-template-columns: minmax(0, 1fr); }
  .pains-note__mark, .sol-note__mark { grid-row: auto; margin: 0 0 4px; }
}
@media (max-width: 639.98px) {
  .pain__figure { border-radius: 20px 20px 0 0; }
  .testi-slide--reel { width: 62vw; height: calc(62vw * 1.78 + 40px); }
  .brands__item { width: 140px; height: 76px; padding: 12px 18px; }
}

/* =====================================================================
   PÁGINAS DE PORTFÓLIO (portfolio/*.html)
   Mesma linguagem da seção de cases: grafite, grade fina, espaços
   reservados (.slot) prontos para receber as peças.
   ===================================================================== */

.page-pf { background: #0D0F13; }

.pf {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  padding: clamp(140px, 14vw, 200px) 0 clamp(96px, 10vw, 152px);
  background: var(--c-graphite);
  color: var(--c-offwhite);
  overflow: clip;
}
.pf ::selection { background: var(--c-orange); color: var(--c-graphite); }
.pf__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.pf__ambient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(40% 30% at 100% 0%, rgb(101 111 140 / .18), transparent 70%),
    radial-gradient(45% 30% at 0% 60%, rgb(247 111 45 / .07), transparent 70%);
}
.pf__inner { padding: 0 var(--gutter); }

.pf__crumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(32px, 4vw, 56px);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.pf__crumbs a { color: var(--text-muted); text-decoration: none; border-bottom: 1px solid rgb(240 238 227 / .2); }
.pf__crumbs a:hover { color: var(--c-offwhite); border-color: var(--c-orange); }
.pf__crumbs [aria-current] { color: var(--c-orange); }

.pf__head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 16px;
  align-items: end;
}
.pf__num {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: flex-start;
  gap: .08em;
  font-size: clamp(4rem, 2.6rem + 4vw, 7rem);
  font-weight: 300;
  line-height: .8;
  letter-spacing: -.06em;
}
.pf__num::after { content: ""; width: .1em; height: .1em; margin-top: .04em; background: var(--c-orange); }
.pf__title {
  grid-column: 1 / 9;
  margin: clamp(22px, 2.6vw, 34px) 0 0;
  font-size: clamp(2.4rem, 1.2rem + 3.4vw, 5rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.05em;
  text-wrap: balance;
}
.pf__tagline {
  grid-column: 1 / 8;
  margin: 18px 0 0;
  font-size: clamp(1.3rem, 1.05rem + .8vw, 1.85rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -.025em;
  color: var(--text-muted);
}
.pf__tagline em { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: 1.1em; color: var(--c-peach); }
.pf__intro {
  grid-column: 8 / 13;
  grid-row: 3 / 5;
  align-self: end;
  padding-top: 22px;
  border-top: 1px solid rgb(240 238 227 / .12);
}
.pf__intro p { margin: 0 0 14px; font-size: clamp(1rem, .96rem + .2vw, 1.125rem); line-height: 1.6; color: var(--text-muted); text-wrap: pretty; }
.pf__intro p:last-child { margin-bottom: 0; }

/* galeria */
.pf-gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
  margin-top: clamp(56px, 7vw, 104px);
}
.pf-gallery .slot { grid-column: span 3; }
.pf-gallery--mosaic .pf-gallery__hero { grid-column: span 8; }
.pf-gallery--mosaic .slot:nth-child(2) { grid-column: span 4; }
.pf-gallery--mosaic .slot:nth-child(3),
.pf-gallery--mosaic .slot:nth-child(4) { grid-column: span 3; }
.pf-gallery--mosaic .pf-gallery__wide { grid-column: span 6; }
.pf-gallery--screens .slot { grid-column: span 4; }
.pf-gallery--screens .slot:nth-child(2) { margin-top: 48px; }
.pf-gallery--screens .slot:nth-child(3) { margin-top: 96px; }
.pf-gallery--reel .pf-gallery__hero { grid-column: span 12; }
.pf-gallery--reel .slot:nth-child(2),
.pf-gallery--reel .slot:nth-child(3),
.pf-gallery--reel .slot:nth-child(4) { grid-column: span 2; }
.pf-gallery--reel .pf-gallery__wide { grid-column: span 6; }

/* outras frentes */
.pf-more { margin-top: clamp(88px, 9vw, 136px); }
.pf-more__label { margin: 0 0 18px; font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--text-faint); }
.pf-more__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgb(240 238 227 / .12); }
.pf-more__link {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 4px;
  border-bottom: 1px solid rgb(240 238 227 / .12);
  color: var(--c-offwhite);
  text-decoration: none;
  font-size: clamp(1.15rem, 1rem + .6vw, 1.6rem);
  font-weight: 500;
  letter-spacing: -.02em;
  transition: color .3s ease, padding .4s var(--ease-out);
}
.pf-more__num { font-size: 13px; font-weight: 600; letter-spacing: .14em; color: var(--c-orange); }
.pf-more__link svg { width: 20px; height: 20px; margin-left: auto; fill: none; stroke: var(--c-orange); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease-out); }
@media (hover: hover) {
  .pf-more__link:hover { padding-left: 14px; color: var(--c-peach); }
  .pf-more__link:hover svg { transform: translate(3px, -3px); }
}
[data-pf="marcas"] .pf-more__link[data-pf="marcas"],
[data-pf="performance"] .pf-more__link[data-pf="performance"],
[data-pf="audiovisual"] .pf-more__link[data-pf="audiovisual"] { display: none; }

.pf-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  margin-top: clamp(64px, 7vw, 104px);
}
.pf-cta__text {
  margin: 0;
  max-width: 22em;
  font-size: clamp(1.35rem, 1.1rem + .9vw, 2rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.03em;
  color: var(--text-muted);
}

@media (max-width: 959.98px) {
  .pf__title, .pf__tagline, .pf__intro { grid-column: 1 / -1; grid-row: auto; }
  .pf__intro { margin-top: 28px; max-width: 640px; }
  .pf-gallery { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .pf-gallery .slot,
  .pf-gallery--mosaic .slot:nth-child(n) { grid-column: span 3; grid-row: auto; }
  .pf-gallery--mosaic .pf-gallery__hero,
  .pf-gallery--mosaic .pf-gallery__wide,
  .pf-gallery--reel .pf-gallery__hero,
  .pf-gallery--reel .pf-gallery__wide { grid-column: 1 / -1; }
  .pf-gallery--screens .slot { grid-column: span 2; }
  .pf-gallery--reel .slot:nth-child(2),
  .pf-gallery--reel .slot:nth-child(3),
  .pf-gallery--reel .slot:nth-child(4) { grid-column: span 2; }
}
@media (max-width: 639.98px) {
  .pf-gallery { gap: 10px; }
  .pf-gallery--screens .slot { grid-column: span 3; margin-top: 0 !important; }
  .pf-gallery--screens .slot:nth-child(1) { grid-column: 1 / -1; }
  .pf-cta .btn { width: 100%; }
}




/* =====================================================================
   AJUSTES DE PROPORÇÃO (rodada 2)
   Títulos menores, cards de gargalos compactos, diagramas em SVG
   animado e Método M.A.P.A. em pilha vertical.
   ===================================================================== */

/* ---------- títulos: escala única e mais contida ---------- */

.hero__title--long { font-size: clamp(1.75rem, min(.85rem + 2.05vw, 5.6vh), 3.05rem); }
.stats__title,
.pains__title,
.method__title,
.sol-head__title,
.cases__title,
.about__title,
.testi-head__title {
  font-size: clamp(1.95rem, 1.05rem + 2.25vw, 3.4rem);
  line-height: 1.04;
}
.core__title { font-size: clamp(2.1rem, .85rem + 2.8vw, 4.1rem); }
.pf__title { font-size: clamp(2rem, 1.05rem + 2.3vw, 3.5rem); }
.sol__title { font-size: clamp(1.5rem, 1rem + 1.25vw, 2.35rem); }
.case__title { font-size: clamp(1.45rem, 1rem + 1.1vw, 2.2rem); }
.pain__title { font-size: clamp(1.15rem, 1rem + .45vw, 1.4rem); }
.testi-head__mark { font-size: clamp(6rem, 3rem + 7vw, 10.5rem); }
.pains__title, .method__title { max-width: 16em; }

/* ---------- gargalos: cards horizontais compactos ---------- */

.pains__list--figs { gap: 14px; }
.pain--fig {
  display: grid;
  grid-template-columns: minmax(0, 42%) minmax(0, 1fr);
  align-items: stretch;
  min-height: 0;
}
.pain--fig .pain__figure {
  aspect-ratio: auto;
  min-height: 100%;
  border-radius: 24px 0 0 24px;
  border-bottom: 0;
  border-right: 1px solid rgb(22 26 33 / .07);
  display: grid;
  place-items: center;
  padding: 10px;
}
.pain--fig .pain__text { padding: clamp(20px, 2vw, 28px); align-self: center; }
.pain--fig .pain__title { margin-bottom: 8px; }
.pain--fig .pain__desc { font-size: .95rem; line-height: 1.55; }

/* ---------- diagramas animados (SVG) ---------- */

.dg { display: block; width: 100%; height: auto; overflow: visible; }
.dg text { font-family: var(--font-sans); font-weight: 700; font-size: 17px; letter-spacing: .05em; fill: #161A21; }
.dg .dg-inv { fill: #F0EEE3; }
.dg .dg-lg { font-size: 24px; font-weight: 600; letter-spacing: 0; }
.dg .dg-sm { font-size: 11.5px; letter-spacing: .03em; }
.dg .dg-c { font-size: 15px; font-weight: 600; letter-spacing: .2em; }
.dg--dark text { fill: #F0EEE3; }

/* 01 · base atual */
.b-wall { stroke: #161A21; stroke-width: 4; stroke-dasharray: 10 8; }
.b-orbit { fill: none; stroke: #161A21; stroke-width: 3; stroke-dasharray: 9 9; }
.b-core { fill: #1D2127; }
.b-sats circle { fill: #F0EDE6; stroke: #161A21; stroke-width: 3.5; }

/* 02 · margem */
.m-base { stroke: #161A21; stroke-width: 4; stroke-linecap: round; }
.m-bars rect { transform-box: fill-box; transform-origin: bottom; }
.m-trend { fill: none; stroke: #F76F2D; stroke-width: 6; stroke-linecap: round; stroke-dasharray: 1; }
.m-head { fill: #F76F2D; }

/* 03 · agências */
.a-shape { fill: none; stroke: #161A21; stroke-width: 3.5; stroke-linejoin: round; }
.a-trail { fill: none; stroke: #161A21; stroke-width: 3.5; stroke-dasharray: 11 8; stroke-linecap: round; }
.a-ring { fill: none; stroke: #F76F2D; stroke-width: 4; stroke-dasharray: 12 10; stroke-linecap: round; transform-box: fill-box; transform-origin: center; }
.a-paper { fill: #F0EDE6; stroke: #161A21; stroke-width: 3.5; stroke-linejoin: round; }
.a-lines { stroke: #161A21; stroke-width: 3.5; stroke-linecap: round; }
.a-code { stroke: #161A21; stroke-width: 3; }

/* 04 · marketing × vendas */
.s-box { fill: none; stroke: #161A21; stroke-width: 3.5; }
.s-icon { fill: none; stroke: #161A21; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.s-link { fill: none; stroke: #161A21; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.s-packet { fill: #F76F2D; opacity: 0; }
.s-break { fill: none; stroke: #F76F2D; stroke-width: 5; stroke-linejoin: miter; stroke-dasharray: 1; }

/* sol 01 · posicionamento */
.p-grid rect, .p-grid line { fill: none; stroke: #4A505C; stroke-width: 2.5; }
.p-dots circle { fill: #8B909A; }
.p-arrow { fill: none; stroke: #F76F2D; stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 1; }
.p-head { fill: none; stroke: #F76F2D; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.p-gem path { fill: none; stroke: #F76F2D; stroke-width: 3.5; stroke-linejoin: round; }
.p-gem { transform-box: fill-box; transform-origin: center; }
.p-runner { fill: #F6AE90; opacity: 0; offset-path: path("M200 206 L284 120"); }

/* sol 02 · funil */
.f-shape, .f-sep { fill: none; stroke: #F0EEE3; stroke-width: 3; stroke-linejoin: round; }
.f-filter { stroke: #F76F2D; stroke-width: 9; stroke-linecap: round; }
.f-exit, .f-exit-head { fill: none; stroke: #F0EEE3; stroke-width: 2.5; stroke-dasharray: 7 6; stroke-linecap: round; }
.f-exit-head { stroke-dasharray: none; }
.f-rejected circle { fill: #8B909A; }
.f-down { fill: none; stroke: #F0EEE3; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.f-dec rect { fill: #F76F2D; }
.dg--dark .f-dec text { fill: #161A21; }
.f-drops circle { fill: #8B909A; transform: translateX(var(--x)); opacity: 0; }

/* sol 03 · CAC e ROI */
.c-frame { fill: none; stroke: #4A505C; stroke-width: 2.5; }
.c-grid { stroke: #3A3F4A; stroke-width: 1.5; stroke-dasharray: 5 6; }
.c-axis { fill: none; stroke: #5A606B; stroke-width: 2.5; }
.c-line { fill: none; stroke: #F76F2D; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; }
.c-head { fill: none; stroke: #F76F2D; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.c-pts circle { fill: #F76F2D; transform-box: fill-box; transform-origin: center; }
.c-pill rect { fill: none; stroke: #F0EEE3; stroke-width: 2.5; }
.c-ico { fill: none; stroke: #F0EEE3; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* --- movimento: só roda quando o card/figura entra na tela (.is-in) --- */
@media (prefers-reduced-motion: no-preference) {
  .js .dg * { animation-play-state: paused; }
  .js .is-in .dg * { animation-play-state: running; }

  .b-arrow { animation: b-knock 2.8s cubic-bezier(.5, 0, .4, 1) infinite; }
  .b-wall { animation: b-wall 2.8s ease infinite; }
  .b-sats { transform-box: view-box; transform-origin: 318px 160px; animation: dg-spin 18s linear infinite; }
  .b-orbit { transform-box: view-box; transform-origin: 318px 160px; animation: dg-spin 40s linear infinite reverse; }

  .m-bars rect { animation: m-grow .9s var(--ease-out) calc(.15s + var(--k) * .12s) both; }
  .m-bars .m-last { animation: m-grow .9s var(--ease-out) .63s both, m-pulse 2.4s ease 1.8s infinite; }
  .m-trend { animation: dg-draw 1.1s var(--ease-io) .9s both; }
  .m-head { animation: dg-fade .3s ease 1.9s both; }
  .m-pill { animation: dg-float 4s ease-in-out infinite; }

  .a-trail { animation: dg-march 1.4s linear infinite; }
  .a-items > g { animation: a-drift 3.6s ease-in-out calc(var(--k) * -.7s) infinite; }
  .a-ring { animation: dg-spin 28s linear infinite; }
  .a-receipt { animation: dg-float 4.5s ease-in-out infinite; }

  .s-packet { animation: s-packet 2.2s ease-in infinite; }
  .s-break { animation: dg-draw .9s var(--ease-io) .3s both, s-flicker 3.2s steps(1) 1.4s infinite; }

  .p-dots circle { animation: p-jitter 3s ease-in-out calc(var(--k) * -.4s) infinite; }
  .p-arrow { animation: dg-draw 1s var(--ease-io) .4s both; }
  .p-head { animation: dg-fade .3s ease 1.3s both; }
  .p-runner { animation: p-run 2.6s ease-in-out 1.5s infinite; }
  .p-gem { animation: p-glow 2.6s ease-in-out 1.5s infinite; }

  .f-in { animation: f-fall 3s cubic-bezier(.45, 0, .7, 1) calc(var(--k) * 1s) infinite; }
  .f-out { animation: f-reject 3s cubic-bezier(.45, 0, .5, 1) calc(var(--k) * 1.5s + .5s) infinite; }
  .f-filter { animation: m-pulse 1.5s ease-in-out infinite; }
  .f-exit { animation: dg-march 1.4s linear infinite; }

  .c-line { animation: dg-draw 1.6s var(--ease-io) .3s both; }
  .c-head { animation: dg-fade .3s ease 1.8s both; }
  .c-pts circle { animation: dg-pop .5s var(--ease-out) calc(.4s + var(--k) * .3s) both; }
  .c-pill rect { animation: c-pill-glow 4s ease-in-out infinite; }
  .c-pill:last-of-type rect { animation-delay: 2s; }
}

@keyframes dg-spin { to { transform: rotate(360deg); } }
@keyframes dg-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes dg-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes dg-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes dg-march { to { stroke-dashoffset: -38; } }
@keyframes dg-pop { from { transform: scale(0); } 70% { transform: scale(1.3); } to { transform: scale(1); } }
@keyframes b-knock {
  0%   { transform: translateX(-26px); opacity: 0; }
  15%  { opacity: 1; }
  55%  { transform: translateX(8px); }
  62%  { transform: translateX(-4px); }
  70%  { transform: translateX(6px); }
  90%  { opacity: 1; }
  100% { transform: translateX(6px); opacity: 0; }
}
@keyframes b-wall { 0%, 50%, 80%, 100% { stroke: #161A21; } 56%, 66% { stroke: #F76F2D; } }
@keyframes m-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes m-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
@keyframes a-drift { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(3px, -3px); } }
@keyframes s-packet {
  0%   { transform: translateX(0); opacity: 0; }
  10%  { opacity: 1; }
  70%  { transform: translateX(40px); opacity: 1; }
  100% { transform: translate(50px, 14px); opacity: 0; }
}
@keyframes s-flicker { 0%, 100% { opacity: 1; } 8% { opacity: .35; } 12% { opacity: 1; } 16% { opacity: .5; } 20% { opacity: 1; } }
@keyframes p-jitter { 0%, 100% { transform: translate(0, 0); } 33% { transform: translate(2px, -2px); } 66% { transform: translate(-2px, 1px); } }
@keyframes p-run { 0% { offset-distance: 0%; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
@keyframes p-glow { 0%, 100% { filter: drop-shadow(0 0 0 rgb(247 111 45 / 0)); } 50% { filter: drop-shadow(0 0 10px rgb(247 111 45 / .8)); } }
@keyframes f-fall {
  0%   { transform: translate(var(--x), 0); opacity: 0; fill: #8B909A; }
  12%  { opacity: 1; }
  80%  { fill: #8B909A; }
  86%  { transform: translate(var(--x), 196px); opacity: 1; fill: #F76F2D; }
  100% { transform: translate(var(--x), 214px); opacity: 0; fill: #F76F2D; }
}
@keyframes f-reject {
  0%   { transform: translate(var(--x), 0); opacity: 0; }
  12%  { opacity: 1; }
  45%  { transform: translate(var(--x), 128px); }
  80%  { transform: translate(calc(var(--x) + 120px), 112px); opacity: 1; }
  100% { transform: translate(calc(var(--x) + 150px), 112px); opacity: 0; }
}
@keyframes c-pill-glow { 0%, 45%, 100% { stroke: #F0EEE3; } 15%, 30% { stroke: #F76F2D; } }

/* sem animação: estado final visível */
@media (prefers-reduced-motion: reduce) {
  .f-drops .f-in { opacity: 1; transform: translate(var(--x), 120px); }
}

/* soluções: figuras um pouco menores, alinhadas ao texto (só lado a lado; no celular empilha) */
@media (min-width: 960px) {
.sol--one .sol__figure, .sol--three .sol__figure { grid-column: 1 / 6; }
.sol--one .sol__content, .sol--three .sol__content { grid-column: 7 / 13; }
.sol--two .sol__figure { grid-column: 8 / 13; }
.sol--two .sol__content { grid-column: 1 / 7; }
}
.sol__figure--diagram { display: grid; place-items: center; padding: clamp(12px, 2vw, 28px); }

/* ---------- Método M.A.P.A. — pilha vertical ---------- */

.flow--stack { margin-top: clamp(48px, 6vw, 88px); }
.flow--stack .flow__track,
.flow--stack .step__node,
.flow--stack .step__stem { display: none; }
.flow--stack .flow__steps { display: block; max-width: 1040px; margin: 0 auto; }
.flow--stack .step {
  position: sticky;
  top: calc(var(--stack-top, 108px) + var(--i, 0) * 20px);
  padding: 0 !important;
  margin: 0 0 clamp(56px, 12vh, 140px);
}
.flow--stack .step:last-child { margin-bottom: 0; }
.flow--stack .step__card {
  --cover: 0;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  grid-template-areas: "top viz" "name viz" "desc viz";
  grid-template-rows: auto auto 1fr;
  column-gap: clamp(28px, 4vw, 64px);
  min-height: 0;
  align-items: center;
  padding: clamp(26px, 3vw, 42px);
  background: linear-gradient(165deg, #232832, #1A1E26 60%);
  -webkit-backdrop-filter: none;
          backdrop-filter: none;
  box-shadow: 0 -24px 60px -34px rgb(0 0 0 / .9), 0 32px 64px -32px rgb(0 0 0 / .7), 0 0 0 1px rgb(240 238 227 / .04);
  transform: scale(calc(1 - var(--cover) * .06));
  transform-origin: 50% 0;
  filter: brightness(calc(1 - var(--cover) * .45));
  transition: border-color .5s ease, box-shadow .5s var(--ease-out);
}
.flow--stack .step__card:hover { transform: scale(calc(1 - var(--cover) * .06)); }
.flow--stack .step.is-active .step__card {
  background:
    radial-gradient(70% 70% at 100% 0%, rgb(247 111 45 / .13), transparent 70%),
    linear-gradient(165deg, #252A34, #1A1E26 60%);
}
.flow--stack .step__top { margin-bottom: 18px; }
.flow--stack .step__num { font-size: clamp(3rem, 2rem + 2.4vw, 4.6rem); }
.flow--stack .step__viz { margin: 0; align-self: center; }
.flow--stack .step__viz svg { max-width: 380px; margin-left: auto; }
.flow--stack .step__name { font-size: 14px; }
.flow--stack .step__desc { font-size: clamp(1rem, .95rem + .2vw, 1.125rem); max-width: 44ch; }

@media (max-width: 959.98px) {
  .sol .sol__figure--diagram { max-width: 560px; }
}
@media (max-width: 759.98px) {
  .pain--fig { grid-template-columns: minmax(0, 1fr); }
  .pain--fig .pain__figure { border-radius: 20px 20px 0 0; border-right: 0; border-bottom: 1px solid rgb(22 26 33 / .07); min-height: 0; }
  .flow--stack .step { top: calc(84px + var(--i, 0) * 12px); }
  .flow--stack .step__card { grid-template-columns: minmax(0, 1fr); grid-template-areas: "top" "viz" "name" "desc"; min-height: 0; }
  .flow--stack .step__viz { margin: 0 0 18px; }
  .flow--stack .step__viz svg { margin: 0 auto; max-width: 300px; }
}

/* =====================================================================
   PORTFÓLIO — GALERIAS REAIS (.pfw)
   01 peças de campanha (grade em colunas), 02 páginas de vendas
   (moldura de navegador + página inteira no visualizador), 03 filmes do
   YouTube (carregam ao clicar) e jingles (player próprio).
   ===================================================================== */

.pfw { margin-top: clamp(56px, 7vw, 104px); }
.pfw + .pfw { margin-top: clamp(72px, 8vw, 120px); }
.pfw__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  padding-bottom: 18px;
  margin-bottom: clamp(22px, 2.6vw, 34px);
  border-bottom: 1px solid rgb(240 238 227 / .12);
}
.pfw__label {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.pfw__count { margin-right: 10px; color: var(--c-orange); font-variant-numeric: tabular-nums; }
.pfw__hint { margin: 0; font-size: 13px; color: var(--text-faint); }
.pfw__hint--link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid rgb(240 238 227 / .2);
  padding-bottom: 2px;
  transition: color .3s, border-color .3s;
}
.pfw__hint--link svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pfw__hint--link:hover { color: var(--c-offwhite); border-color: var(--c-orange); }

.pfw ul { margin: 0; padding: 0; list-style: none; }
.pfw button { font: inherit; color: inherit; }
.pfw button:focus-visible { outline: 2px solid var(--c-orange); outline-offset: 4px; }

/* revelação suave, item a item */
.js .pfw li { opacity: 0; translate: 0 22px; transition: opacity .8s var(--ease-out), translate .8s var(--ease-out); transition-delay: calc(min(var(--i, 0), 8) * 60ms); }
.js .pfw li.is-in { opacity: 1; translate: 0 0; }

/* ---------- 01 · peças ---------- */
.pfw-pieces { columns: 3; column-gap: 16px; }
.pfw-piece { break-inside: avoid; margin-bottom: 22px; }
.pfw-piece__btn {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #1D222B;
  cursor: zoom-in;
  box-shadow: 0 0 0 1px rgb(240 238 227 / .08), 0 24px 48px -28px rgb(0 0 0 / .7);
}
.pfw-piece__btn img { display: block; width: 100%; height: auto; transition: transform 1s var(--ease-out), filter .6s; }
.pfw-piece__zoom,
.pfw-page__cta {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  background: rgb(13 15 19 / .72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--c-offwhite);
  border: 1px solid rgb(240 238 227 / .16);
  opacity: 0;
  translate: 0 8px;
  transition: opacity .4s, translate .4s var(--ease-out), background .3s;
}
.pfw-piece__zoom { right: 14px; bottom: 14px; width: 42px; height: 42px; }
.pfw-piece__zoom svg,
.pfw-page__cta svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pfw-piece__cap {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 12px 2px 0;
  font-size: 14px;
  line-height: 1.4;
  color: var(--text-muted);
}
.pfw-piece__n,
.pfw-video__n,
.pfw-jingle__n { flex: none; font-size: 11px; letter-spacing: .12em; color: var(--text-faint); font-variant-numeric: tabular-nums; }
.pfw-piece__tag {
  flex: none;
  margin-left: auto;
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-peach);
}
@media (hover: hover) {
  .pfw-piece__btn:hover img { transform: scale(1.035); }
  .pfw-piece__btn:hover .pfw-piece__zoom,
  .pfw-page__btn:hover .pfw-page__cta { opacity: 1; translate: 0 0; }
}
.pfw-piece__btn:focus-visible .pfw-piece__zoom,
.pfw-page__btn:focus-visible .pfw-page__cta { opacity: 1; translate: 0 0; }

/* ---------- 02 · páginas ---------- */
.pfw-pages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px) 18px; }
.pfw-page:nth-child(3n + 2) { margin-top: 40px; }
.pfw-page:nth-child(3n + 3) { margin-top: 80px; }
.pfw-page__btn {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #1D222B;
  cursor: pointer;
  box-shadow: 0 0 0 1px rgb(240 238 227 / .1), 0 30px 60px -34px rgb(0 0 0 / .8);
  text-align: left;
}
.pfw-page__bar {
  display: flex;
  gap: 6px;
  padding: 11px 14px;
  background: #232935;
  border-bottom: 1px solid rgb(240 238 227 / .07);
}
.pfw-page__bar i { width: 8px; height: 8px; border-radius: 50%; background: rgb(240 238 227 / .18); }
.pfw-page__bar i:first-child { background: var(--c-orange); opacity: .8; }
.pfw-page__shot { display: block; aspect-ratio: 10 / 11; overflow: hidden; }
.pfw-page__shot img { display: block; width: 100%; height: auto; transition: transform 2.4s var(--ease-io); }
.pfw-page__shot::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 32%;
  background: linear-gradient(to top, rgb(13 15 19 / .75), transparent);
  pointer-events: none;
}
.pfw-page__cta { left: 50%; bottom: 18px; translate: -50% 8px; padding: 10px 16px; font-size: 13px; font-weight: 500; z-index: 1; white-space: nowrap; }
@media (hover: hover) {
  .pfw-page__btn:hover .pfw-page__cta { translate: -50% 0; }
  .pfw-page__btn:hover .pfw-page__shot img { transform: translateY(-9%); }
}
.pfw-page__btn:focus-visible .pfw-page__cta { translate: -50% 0; }
.pfw-page__cap { margin: 14px 2px 0; font-size: 15px; font-weight: 500; letter-spacing: -.01em; color: var(--c-offwhite); }
.pfw-page__kind { display: block; margin-bottom: 4px; font-size: 10.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--c-peach); }

/* ---------- 03 · filmes ---------- */
.pfw-videos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 16px; }
.pfw-video--lead { grid-column: span 2; grid-row: span 2; }
.pfw-video__btn {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #1D222B;
  cursor: pointer;
  box-shadow: 0 0 0 1px rgb(240 238 227 / .08);
}
.pfw-video__btn img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) brightness(.82); transition: transform 1s var(--ease-out), filter .5s; }
.pfw-video__play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px;
  border-radius: 50%;
  background: rgb(13 15 19 / .55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgb(240 238 227 / .25);
  transition: background .35s, transform .5s var(--ease-out), border-color .35s;
}
.pfw-video--lead .pfw-video__play { width: 76px; height: 76px; margin: -38px 0 0 -38px; }
.pfw-video__play svg { width: 40%; height: 40%; fill: var(--c-offwhite); translate: 6% 0; }
@media (hover: hover) {
  .pfw-video__btn:hover img { transform: scale(1.04); filter: saturate(1) brightness(.95); }
  .pfw-video__btn:hover .pfw-video__play { background: var(--c-orange); border-color: var(--c-orange); transform: scale(1.06); }
}
.pfw-video__cap { display: flex; gap: 10px; align-items: baseline; margin: 10px 2px 0; font-size: 14px; line-height: 1.35; color: var(--text-muted); }
.pfw-video--lead .pfw-video__cap { font-size: 17px; color: var(--c-offwhite); }

/* ---------- 03 · jingles ---------- */
.pfw-jingles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
.pfw-jingle {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px 14px 14px;
  border-radius: 14px;
  background: rgb(240 238 227 / .035);
  border: 1px solid rgb(240 238 227 / .09);
  transition: border-color .4s, background .4s;
}
.pfw-jingle.is-playing { border-color: rgb(247 111 45 / .45); background: rgb(247 111 45 / .06); }
.pfw-jingle__toggle {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgb(240 238 227 / .22);
  background: transparent;
  cursor: pointer;
  transition: background .3s, border-color .3s;
}
.pfw-jingle__toggle svg { width: 18px; height: 18px; fill: var(--c-offwhite); }
.pfw-jingle__ico-play { translate: 1px 0; }
.pfw-jingle__ico-pause,
.pfw-jingle.is-playing .pfw-jingle__ico-play { display: none; }
.pfw-jingle.is-playing .pfw-jingle__ico-pause { display: block; }
.pfw-jingle__toggle:hover,
.pfw-jingle.is-playing .pfw-jingle__toggle { background: var(--c-orange); border-color: var(--c-orange); }
.pfw-jingle__body { flex: 1; min-width: 0; }
.pfw-jingle__title { display: flex; gap: 10px; align-items: baseline; margin: 0 0 10px; font-size: 15px; font-weight: 500; color: var(--c-offwhite); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pfw-jingle__track { position: relative; height: 3px; border-radius: 3px; background: rgb(240 238 227 / .12); overflow: hidden; cursor: pointer; }
.pfw-jingle__fill { position: absolute; inset: 0; transform-origin: left; transform: scaleX(var(--p, 0)); background: var(--c-orange); }
.pfw-jingle__time { flex: none; font-size: 12px; letter-spacing: .06em; color: var(--text-faint); font-variant-numeric: tabular-nums; }

/* ---------- visualizador (dialog) ---------- */
.pfx {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--c-offwhite);
  overflow: hidden;
}
.pfx::backdrop { background: rgb(8 10 13 / .9); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.pfx[open] { display: grid; grid-template-rows: auto 1fr; animation: pfx-in .35s var(--ease-out); }
@keyframes pfx-in { from { opacity: 0; } }
.pfx__bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px clamp(16px, 3vw, 32px);
}
.pfx__title { flex: 1; min-width: 0; margin: 0; font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text-muted); }
.pfx__count { font-size: 12px; letter-spacing: .12em; color: var(--text-faint); font-variant-numeric: tabular-nums; }
.pfx__btn {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgb(240 238 227 / .2);
  background: rgb(240 238 227 / .04);
  color: var(--c-offwhite);
  cursor: pointer;
  transition: background .3s, border-color .3s;
}
.pfx__btn:hover { background: var(--c-orange); border-color: var(--c-orange); }
.pfx__btn:focus-visible { outline: 2px solid var(--c-orange); outline-offset: 3px; }
.pfx__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pfx__stage { position: relative; min-height: 0; display: grid; place-items: center; padding: 0 clamp(16px, 3vw, 32px) clamp(16px, 3vw, 32px); }
.pfx__nav { position: absolute; top: 50%; translate: 0 -50%; z-index: 1; }
.pfx__nav--prev { left: clamp(12px, 2vw, 28px); }
.pfx__nav--next { right: clamp(12px, 2vw, 28px); }
.pfx__img { max-width: min(100%, 1100px); max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 10px; box-shadow: 0 40px 80px -40px #000; }
.pfx[data-mode="image"] .pfx__stage { padding-inline: clamp(64px, 7vw, 96px); }
/* página inteira: rolagem vertical */
.pfx__scroll { width: min(100%, 1000px); height: 100%; overflow-y: auto; overscroll-behavior: contain; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px rgb(240 238 227 / .12); }
.pfx__scroll img { display: block; width: 100%; height: auto; }
.pfx__video { width: min(100%, calc((100dvh - 120px) * 16 / 9), 1280px); aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; }
.pfx__video iframe { width: 100%; height: 100%; border: 0; display: block; }
.pfx__loading { position: absolute; font-size: 13px; color: var(--text-faint); }

@media (max-width: 1023px) {
  .pfw-pieces { columns: 2; }
  .pfw-pages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pfw-page:nth-child(n) { margin-top: 0; }
  .pfw-page:nth-child(2n) { margin-top: 40px; }
  .pfw-videos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pfw-jingles { grid-template-columns: 1fr; }
}
@media (max-width: 599px) {
  .pfw-pieces { columns: 2; column-gap: 10px; }
  .pfw-piece { margin-bottom: 16px; }
  .pfw-piece__cap { font-size: 12.5px; flex-wrap: wrap; gap: 2px 8px; }
  .pfw-piece__tag { margin-left: 0; width: 100%; }
  .pfw-pages { grid-template-columns: 1fr; }
  .pfw-page:nth-child(n) { margin-top: 0; }
  .pfw-videos { grid-template-columns: 1fr 1fr; gap: 20px 10px; }
  .pfw-video__cap { font-size: 12.5px; }
  .pfw-video__play { width: 40px; height: 40px; margin: -20px 0 0 -20px; }
  .pfw-jingle { padding: 12px; gap: 12px; }
  .pfx[data-mode="image"] .pfx__stage { padding-inline: 12px; padding-bottom: 76px; }
  .pfx__nav { top: auto; bottom: 16px; translate: 0 0; }
  .pfx__nav--prev { left: calc(50% - 56px); }
  .pfx__nav--next { right: calc(50% - 56px); }
}
@media (prefers-reduced-motion: reduce) {
  .js .pfw li { opacity: 1; translate: none; transition: none; }
  .pfw-page__shot img, .pfw-piece__btn img, .pfw-video__btn img { transition: none; }
  .pfx[open] { animation: none; }
}
/* grade em colunas: a numeração não segue a ordem de leitura, então fica oculta */
.pfw-piece__n { display: none; }

/* =====================================================================
   HOME · CASES — FAIXAS DE PRÉVIA EM MOVIMENTO (.case-strip)
   Cada case mostra uma amostra real do portfólio passando em loop.
   A faixa inteira é um link para a página do portfólio; pausa no hover.
   ===================================================================== */

.case-strip {
  --h: clamp(260px, 26vw, 380px);
  position: relative;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
}
.case-strip__link { display: block; color: inherit; text-decoration: none; border-radius: 18px; }
.case-strip__link:focus-visible { outline: 2px solid var(--c-peach); outline-offset: 4px; }
.case-strip__track {
  display: flex;
  gap: 14px;
  width: max-content;
  margin: 0;
  padding: 10px 0 18px;
  list-style: none;
}
.case-strip__track.is-looping { animation: strip-loop var(--loop, 60s) linear infinite; }
.case-strip[data-dir="reverse"] .case-strip__track.is-looping { animation-direction: reverse; }
@keyframes strip-loop { to { transform: translateX(calc(-50% - 7px)); } }
@media (hover: hover) {
  .case-strip:hover .case-strip__track { animation-play-state: paused; }
}
.case-strip__link:focus-visible .case-strip__track { animation-play-state: paused; }

.case-strip__item {
  position: relative;
  flex: none;
  height: var(--h);
  border-radius: 16px;
  overflow: hidden;
  background: #1D222B;
  box-shadow: 0 0 0 1px rgb(240 238 227 / .08), 0 28px 50px -30px rgb(0 0 0 / .8);
  transition: transform .6s var(--ease-out);
}
.case-strip__item img { display: block; height: 100%; width: auto; }
@media (hover: hover) {
  .case-strip__item:hover { transform: translateY(-6px); }
}

/* 02 · páginas: moldura de navegador */
.case-strip--pages { --h: clamp(320px, 32vw, 460px); }
.case-strip__item--page { display: flex; flex-direction: column; aspect-ratio: auto; }
.case-strip__item--page img { flex: 1; min-height: 0; width: calc((var(--h) - 31px) * 760 / 836); object-fit: cover; object-position: top; }
.case-strip__bar { flex: none; display: flex; gap: 6px; padding: 11px 13px; background: #232935; border-bottom: 1px solid rgb(240 238 227 / .07); }
.case-strip__bar i { width: 8px; height: 8px; border-radius: 50%; background: rgb(240 238 227 / .18); }
.case-strip__bar i:first-child { background: var(--c-orange); opacity: .8; }

/* 03 · filmes */
.case-strip--videos { --h: clamp(190px, 19vw, 270px); }
.case-strip__item--video { aspect-ratio: 16 / 9; }
.case-strip__item--video img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) brightness(.75); }
.case-strip__item--video::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(to top, rgb(13 15 19 / .85), transparent); }
.case-strip__play {
  position: absolute;
  left: 50%;
  top: 44%;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  translate: -50% -50%;
  border-radius: 50%;
  background: rgb(13 15 19 / .5);
  border: 1px solid rgb(240 238 227 / .28);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  transition: background .35s, border-color .35s;
}
.case-strip__play svg { width: 20px; height: 20px; fill: var(--c-offwhite); translate: 1px 0; }
.case-strip__item--video:hover .case-strip__play { background: var(--c-orange); border-color: var(--c-orange); }
.case-strip__cap { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 13px; font-size: 14px; font-weight: 500; color: var(--c-offwhite); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* encaixe nos módulos: as faixas ocupam toda a largura do case */
.case--brands .case-strip,
.case--perf .case-strip { align-self: center; }
.case--brands .case__media.case-strip { grid-column: 3 / -1; }
.case--perf .case__media.case-strip { grid-column: 1 / 11; }

@media (max-width: 1099.98px) {
  .case--brands .case__media.case-strip,
  .case--perf .case__media.case-strip { grid-column: 1 / -1; }
}
@media (max-width: 639.98px) {
  .case-strip { --h: 230px; -webkit-mask-image: none; mask-image: none; margin-inline: calc(var(--gutter) * -1); padding-inline: 0; }
  .case-strip--pages { --h: 300px; }
  .case-strip--videos { --h: 170px; }
  .case-strip__track { gap: 10px; }
  .case-strip__item { border-radius: 12px; }
  .case-strip__cap { font-size: 12.5px; left: 12px; bottom: 10px; }
  .case-strip__play { width: 40px; height: 40px; }
}

/* movimento reduzido: faixa parada, com rolagem lateral manual */
@media (prefers-reduced-motion: reduce) {
  .case-strip { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .case-strip__track.is-looping { animation: none; }
  .case-strip__item { transition: none; }
}

/* =====================================================================
   REVISÃO DO DOCUMENTO (rodada 3)
   ===================================================================== */

/* marca do método um pouco maior */
.method__mark { font-size: clamp(14px, .8rem + .35vw, 17px); gap: .45em; }
.method__mark span { font-size: 2.3em; letter-spacing: .03em; }

/* legenda de cada depoimento */
.testi-reel__legend {
  margin: 8px 0 0;
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-muted, #515365);
  text-wrap: pretty;
}

/* =====================================================================
   FECHAMENTO · MAPA DO DIAGNÓSTICO (substitui a cena 3D)
   Texto à esquerda, diagrama técnico animado à direita (empilha no
   celular). Mesma linguagem dos diagramas das seções anteriores.
   ===================================================================== */

.core--map { align-items: center; }
.core--map .core__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(40% 45% at 74% 42%, rgb(247 111 45 / .09), transparent 70%),
    radial-gradient(55% 60% at 70% 50%, #1A1E27 0%, transparent 75%);
}
.core__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(40px, 5vw, 88px);
}
.core--map .core__content { max-width: 620px; }
.core--map .core__text strong { color: var(--c-offwhite); font-weight: 600; }
.core__figure {
  margin: 0;
  padding: clamp(10px, 1.2vw, 16px);
  border-radius: 22px;
  background: linear-gradient(160deg, rgb(240 238 227 / .04), rgb(240 238 227 / .01));
  box-shadow: 0 0 0 1px rgb(240 238 227 / .08), 0 50px 100px -50px rgb(0 0 0 / .9);
}

/* revelação: o texto usa a sequência existente (.is-s1); o diagrama sobe junto */
@media (prefers-reduced-motion: no-preference) {
  .js .core--map .core__figure { opacity: 0; translate: 0 30px; transition: opacity 1.1s var(--ease-out) .2s, translate 1.2s var(--ease-out) .2s; }
  .js .core--map.is-s1 .core__figure { opacity: 1; translate: 0 0; }
}

/* ---------- diagrama ---------- */
.dg-map .t-frame { fill: #0F1217; stroke: rgb(240 238 227 / .22); stroke-width: 1.5; }
.dg-map .t-cross { stroke: rgb(240 238 227 / .4); stroke-width: 1.5; }
.dg-map .t-grid { stroke: rgb(240 238 227 / .12); stroke-width: 1; stroke-dasharray: 4 5; }
.dg-map .t-rule { fill: none; stroke: rgb(240 238 227 / .7); stroke-width: 1.5; }
.dg-map .t-scan circle { fill: none; stroke: rgb(240 238 227 / .75); stroke-width: 1.5; stroke-dasharray: 6 6; }
.dg-map .t-scan,
.dg-map .t-orbit,
.dg-map .t-nodes circle,
.dg-map .t-stops circle,
.dg-map .t-dot,
.dg-map .t-wave,
.dg-map .t-head { transform-box: fill-box; transform-origin: center; }
.dg-map .t-ring { fill: none; stroke: #F0EEE3; stroke-width: 2; stroke-dasharray: 1; }
.dg-map .t-axis { stroke: rgb(240 238 227 / .7); stroke-width: 1.5; stroke-dasharray: 6 6; }
.dg-map .t-diag { stroke: rgb(240 238 227 / .8); stroke-width: 1.5; }
.dg-map .t-nodes circle,
.dg-map .t-stops circle { fill: #0F1217; stroke: #F0EEE3; stroke-width: 2.5; }
.dg-map .t-hub { fill: #0F1217; stroke: #F0EEE3; stroke-width: 3.5; }
.dg-map .t-route { fill: none; stroke: #F76F2D; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; }
.dg-map .t-head { fill: #F76F2D; }
.dg-map .t-runner { fill: #F6AE90; opacity: 0; offset-path: path("M236 172 H339 L358 156 L405 138 L452 121"); }
.dg-map .t-orbit { fill: none; stroke: rgb(240 238 227 / .85); stroke-width: 1.8; stroke-dasharray: 8 7; }
.dg-map .t-sight { stroke: #F0EEE3; stroke-width: 2.2; }
.dg-map .t-dot { fill: #F76F2D; }
.dg-map .t-wave { fill: none; stroke: #F76F2D; stroke-width: 2; opacity: 0; }

@media (prefers-reduced-motion: no-preference) {
  .dg-map .t-grid, .dg-map .t-rule, .dg-map .t-cross { animation: dg-fade 1s ease both; }
  .dg-map .t-scan { animation: dg-fade .8s ease .1s both, dg-spin 40s linear infinite; }
  .dg-map .t-ring { animation: dg-draw 1s var(--ease-io) .15s both; }
  .dg-map .t-ring--in { animation-delay: .35s; }
  .dg-map .t-axis, .dg-map .t-diag { animation: dg-fade .8s ease .3s both; }
  .dg-map .t-nodes circle { animation: dg-pop .5s var(--ease-out) calc(.45s + var(--k) * .07s) both; }
  .dg-map .t-hub { animation: dg-fade .4s ease .4s both; }
  .dg-map .t-route { animation: dg-draw 1s var(--ease-io) 1s both; }
  .dg-map .t-stops circle { animation: dg-pop .45s var(--ease-out) calc(1.35s + var(--k) * .18s) both; }
  .dg-map .t-head { animation: dg-pop .4s var(--ease-out) 1.9s both; }
  .dg-map .t-runner { animation: p-run 2.4s ease-in-out 2.3s infinite; }
  .dg-map .t-orbit { animation: dg-fade .6s ease .9s both, dg-spin 24s linear infinite; }
  .dg-map .t-orbit--in { animation: dg-fade .6s ease 1s both, dg-spin 16s linear infinite reverse; }
  .dg-map .t-sight { animation: dg-fade .6s ease 1s both; }
  .dg-map .t-dot { animation: dg-pop .5s var(--ease-out) 2s both; }
  .dg-map .t-wave { animation: t-wave 2.4s ease-out 2.3s infinite; }
}
@keyframes t-wave {
  0%   { transform: scale(1); opacity: .9; }
  100% { transform: scale(3.6); opacity: 0; }
}

@media (max-width: 1099.98px) {
  .core--map { align-items: center; padding-top: clamp(96px, 12vw, 140px); background: radial-gradient(90% 50% at 50% 70%, #1A1E27 0%, var(--c-void) 70%), var(--c-void); }
  .core__layout { grid-template-columns: minmax(0, 1fr); gap: clamp(40px, 7vw, 64px); }
  .core--map .core__content { max-width: 640px; }
  .core__figure { max-width: 720px; }
}
@media (max-width: 639.98px) {
  .core--map { min-height: 0; padding-bottom: 72px; }
  .core__figure { padding: 6px; border-radius: 16px; }
}

/* ---------- ajustes de responsivo (revisão geral) ---------- */
@media (max-width: 639.98px) {
  /* foto do "sobre": no quadrado o rosto era cortado no topo; usa 4:3, sem deslocamento */
  .about__photo { aspect-ratio: 4 / 3; }
  .about__photo img { height: 100%; translate: none; object-position: 70% 18%; }
  /* rótulos em caixa alta: mínimo de 11px para leitura */
  .hero .eyebrow span, .case__status, .about__tag-role, .testi-reel__parts button, .pfw-piece__tag, .pfw-page__kind { font-size: 11px; }
  /* números das soluções: menos espaço vazio entre número e rótulo */
  .sol__label { gap: 14px; }
}
