@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: "DM Serif Display";
  src: url("../fonts/dm-serif-display-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "DM Serif Display";
  src: url("../fonts/dm-serif-display-italic-latin.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

:root {
  --ink: #111111;
  --ink-soft: #191a1b;
  --paper: #f3f0e9;
  --white: #fff;
  --red: #f22d35;
  --red-deep: #d81824;
  --muted: #6e6d69;
  --line: rgba(17, 17, 17, .14);
  --line-light: rgba(255, 255, 255, .16);
  --header-height: 88px;
  --shell: 1360px;
  --gutter: 64px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }

::selection { color: var(--white); background: var(--red); }

:focus-visible {
  outline: 3px solid rgba(242, 45, 53, .48);
  outline-offset: 4px;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-150%);
  transition: transform .2s ease;
}

.skip-link:focus { transform: translateY(0); }

.shell {
  width: min(calc(100% - var(--gutter)), var(--shell));
  margin-inline: auto;
}

.section { padding: clamp(96px, 10vw, 168px) 0; }

.section-dark {
  color: var(--white);
  background: var(--ink);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #5d5c58;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 25px;
  height: 1px;
  background: var(--red);
}

.eyebrow-light { color: rgba(255, 255, 255, .6); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -.01em;
  transition: color .35s var(--ease), background-color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}

.button span { transition: transform .35s var(--ease); }
.button:hover { transform: translateY(-2px); }
.button:hover span { transform: translate(3px, -3px); }

.button-primary { color: var(--white); background: var(--red); }
.button-primary:hover { background: var(--red-deep); }

.button-light { color: var(--ink); background: var(--white); }
.button-light:hover { color: var(--white); border-color: rgba(255, 255, 255, .45); background: transparent; }

.button-outline { color: var(--white); background: transparent; border-color: rgba(255, 255, 255, .35); }
.button-outline:hover { border-color: var(--white); background: rgba(255, 255, 255, .06); }

.scroll-progress {
  position: fixed;
  z-index: 1001;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left center;
  /* Recebe transform em todo frame de scroll: camada própria evita
     repintar a barra junto com o resto do topo da página. */
  will-change: transform;
}

/* Header */
.site-header {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto;
  height: var(--header-height);
  color: var(--white);
  transition: color .35s ease, background-color .35s ease, box-shadow .35s ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  /* Sem backdrop-filter de propósito: com 96% de opacidade o desfoque
     atrás do header é imperceptível, mas obrigaria o navegador a
     recapturar e desfocar a faixa do topo a cada frame de scroll — na
     página inteira, já que o header é fixo. */
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 1px 0 rgba(17, 17, 17, .09);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  color: inherit;
}

.brand-symbol {
  width: 42px;
  height: auto;
  filter: drop-shadow(0 6px 14px rgba(241, 32, 43, .18));
}

.brand-name {
  display: grid;
  color: currentColor;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: .88;
  transition: color .35s ease;
}

.main-nav { display: flex; align-items: center; gap: clamp(22px, 3vw, 42px); margin-left: auto; }

.main-nav a {
  position: relative;
  padding: 12px 0;
  font-size: 12px;
  font-weight: 600;
}

.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 6px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease);
}

.main-nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-height: 43px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, .36);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  transition: color .25s ease, background-color .25s ease, border-color .25s ease;
}

.site-header.is-scrolled .header-cta { border-color: rgba(17, 17, 17, .18); }
.header-cta:hover { color: var(--white); border-color: var(--red); background: var(--red); }

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 23px;
  height: 1px;
  margin: 6px auto;
  background: currentColor;
  transition: transform .3s var(--ease);
}

/* Máscara de entrada das imagens — a foto é revelada, não "aparece". */
[data-mask] {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.15s var(--ease) var(--delay, 0ms);
}

[data-mask].is-visible { clip-path: inset(0 0 0 0); }
.no-js [data-mask] { clip-path: none; }

/* Hero */
.hero {
  --scroll: 0;
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  color: var(--white);
  background: var(--ink-soft);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: auto auto -28% -10%;
  width: 56vw;
  height: 56vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 45, 53, .16), rgba(242, 45, 53, 0) 67%);
  pointer-events: none;
}

.hero-ambient, .hero-grain { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* Luz ambiente do hero: dois halos que apenas transladam.
   Antes isto era um <canvas> redesenhando 9 feixes por frame com
   context.filter = blur(18px) — caro e sem ganho visual sobre
   gradientes que o compositor resolve na GPU. */
.hero-ambient { z-index: 0; overflow: hidden; }

.hero-ambient i {
  position: absolute;
  display: block;
  border-radius: 50%;
}

.hero-ambient i:first-child {
  top: -24%;
  left: 2%;
  width: 46vw;
  height: 46vw;
  background: radial-gradient(circle, rgba(242, 45, 53, .22), rgba(242, 45, 53, 0) 68%);
  animation: heroDrift 26s ease-in-out infinite alternate;
}

.hero-ambient i:last-child {
  right: -8%;
  bottom: -20%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, rgba(255, 106, 82, .15), rgba(255, 106, 82, 0) 70%);
  animation: heroDrift 34s -9s ease-in-out infinite alternate-reverse;
}

@keyframes heroDrift {
  from { transform: translate3d(-3%, -2%, 0) scale(1); }
  to { transform: translate3d(4%, 3%, 0) scale(1.14); }
}

.hero-grain {
  z-index: 1;
  opacity: .075;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, .78fr);
  align-items: center;
  gap: clamp(42px, 6vw, 100px);
  min-height: 100vh;
  min-height: 100svh;
  padding-top: calc(var(--header-height) + 56px);
  padding-bottom: 110px;
}

.hero-copy { position: relative; z-index: 2; min-width: 0; }

.hero-eyebrow { margin-bottom: 26px; color: rgba(255, 255, 255, .6); }

/* Ligação com o scroll: o texto recua e cede lugar à imagem.
   Só a partir do desktop — no mobile a mídia fica abaixo do texto e
   desbotar o conteúdo principal enquanto ele ainda está em tela seria
   perda de legibilidade, não refinamento. */
@media (min-width: 901px) {
  .hero-copy {
    opacity: calc(1 - var(--scroll) * .62);
    transform: translate3d(0, calc(var(--scroll) * -34px), 0);
  }
}

.hero-title {
  max-width: 860px;
  margin: 0;
  font-size: clamp(56px, 6.2vw, 112px);
  font-weight: 620;
  letter-spacing: -.074em;
  line-height: .88;
}

.hero-title .title-line { display: block; overflow: hidden; padding-right: .09em; padding-bottom: .08em; }

.hero-title .title-line > span {
  display: block;
  transform: translateY(118%);
  transition: transform 1.05s var(--ease);
}

.hero.is-ready .hero-title .title-line:nth-child(1) > span { transition-delay: .08s; transform: translateY(0); }
.hero.is-ready .hero-title .title-line:nth-child(2) > span { transition-delay: .18s; transform: translateY(0); }
.hero.is-ready .hero-title .title-line:nth-child(3) > span { transition-delay: .28s; transform: translateY(0); }

.hero-title em,
.section-intro h2 em,
.legacy-copy h2 em,
.method-heading h2 em {
  color: var(--red);
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
  letter-spacing: -.035em;
}

.hero-title em { padding-right: .04em; }

[data-hero-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}

.hero.is-ready [data-hero-reveal] { opacity: 1; transform: translateY(0); }
.hero.is-ready .hero-eyebrow { transition-delay: .15s; }
.hero.is-ready .hero-lead { transition-delay: .42s; }
.hero.is-ready .hero-actions { transition-delay: .51s; }
.hero.is-ready .hero-proof { transition-delay: .6s; }
.hero.is-ready .hero-footer { transition-delay: .72s; }

.hero-lead {
  max-width: 610px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, .68);
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.75;
}

.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 35px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .32);
  font-size: 12px;
  font-weight: 650;
}

.text-link span { transition: transform .3s var(--ease); }
.text-link:hover span { transform: translateY(3px); }

.hero-proof {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-top: 54px;
  padding-top: 24px;
  border-top: 1px solid var(--line-light);
}

.hero-proof > div { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 10px; padding-right: clamp(16px, 2.5vw, 34px); }
.hero-proof > div + div { padding-left: clamp(16px, 2.5vw, 34px); border-left: 1px solid var(--line-light); }
.hero-proof strong { font-family: "DM Serif Display", Georgia, serif; font-size: 29px; font-weight: 400; line-height: 1; }
.hero-proof span { max-width: 75px; color: rgba(255, 255, 255, .48); font-size: 9px; font-weight: 600; letter-spacing: .04em; line-height: 1.4; text-transform: uppercase; }

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 560px;
  justify-self: end;
  opacity: 0;
  transform: translateY(28px) scale(.98);
  transition: opacity 1.2s .34s var(--ease), transform 1.2s .34s var(--ease);
}

.hero.is-ready .hero-visual { opacity: 1; transform: translateY(0) scale(1); }

.hero-image-frame {
  position: relative;
  aspect-ratio: .78;
  overflow: hidden;
  border-radius: 220px 220px 20px 20px;
  background: #2a2b2d;
}

.hero-image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 17, 17, .02) 42%, rgba(17, 17, 17, .42) 100%);
}

.hero-image-frame img {
  width: 100%;
  height: 112%;
  max-width: none;
  object-fit: cover;
  object-position: 68% center;
  transform: scale(calc(1 + var(--scroll) * .06));
  will-change: transform;
}

.hero-note {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, .15);
  color: var(--ink);
  /* Idem: 95% opaco, e fica sobre a pessoa do hero, que se move no scroll. */
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .2);
}

.hero-note span:not(.status-dot) { color: #77736c; font-size: 8px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.hero-note strong { font-size: 10px; line-height: 1.4; }
.hero-note-top { top: 18%; left: -46px; border-radius: 4px 16px 16px 16px; }
.hero-note-top { display: grid; gap: 2px; }
.hero-note-bottom { right: -22px; bottom: 12%; border-radius: 16px 16px 4px 16px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #34ad67; box-shadow: 0 0 0 5px rgba(52, 173, 103, .13); }

.hero-mark {
  position: absolute;
  z-index: 2;
  right: -66px;
  top: 4%;
  width: 120px;
  opacity: .52;
  animation: slowSpin 18s linear infinite;
}

.hero-mark circle, .hero-mark path { fill: none; stroke: var(--red); stroke-width: 1; }

@keyframes slowSpin { to { transform: rotate(360deg); } }

.hero-footer {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 27px;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, .45);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.hero-footer a { display: inline-flex; align-items: center; gap: 12px; }
.hero-footer i { display: inline-block; width: 31px; height: 31px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; }

/* Segmentos */
.sectors {
  overflow: hidden;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.sectors-layout {
  display: grid;
  grid-template-columns: minmax(190px, .34fr) minmax(0, 1.66fr);
  align-items: center;
  gap: clamp(26px, 4vw, 58px);
}

.sectors-heading {
  padding-right: clamp(26px, 4vw, 58px);
  border-right: 1px solid var(--line);
}

.sectors-heading > span {
  display: block;
  margin-bottom: 5px;
  color: var(--red);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.sectors-heading h2 {
  max-width: 235px;
  margin: 0;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -.01em;
  line-height: 1.4;
}

.marquee {
  position: relative;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  will-change: transform;
  animation: marquee 34s linear infinite;
}

.marquee-group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  padding-right: 10px;
}

.sector-chip {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(17, 17, 17, .1);
  border-radius: 999px;
  color: #292a2a;
  background: rgba(255, 255, 255, .45);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.sector-chip small {
  color: var(--red);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .08em;
}

.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Serviços */
.services { background: var(--paper); }

.section-intro {
  display: grid;
  grid-template-columns: .5fr 1.5fr;
  gap: 40px;
  align-items: start;
  margin-bottom: clamp(70px, 9vw, 132px);
}

/* O mop "limpa" este texto ao cruzar a seção: --wipe (0%→120%) é publicada
   pelo timeline do mop em experience.js, preso ao scroll dessa seção (some
   e volta se o usuário reverter). Desta vez o mop entra pela esquerda, daí
   o gradiente apontando para a direita (~90°=direita pura; 100° inclina
   de leve, acompanhando a leve descida do objeto). */
.section-intro {
  -webkit-mask-image: linear-gradient(100deg,
    transparent 0%, transparent var(--wipe, 0%),
    rgba(255, 255, 255, .4) calc(var(--wipe, 0%) + 3%),
    #000 calc(var(--wipe, 0%) + 10%), #000 100%);
  mask-image: linear-gradient(100deg,
    transparent 0%, transparent var(--wipe, 0%),
    rgba(255, 255, 255, .4) calc(var(--wipe, 0%) + 3%),
    #000 calc(var(--wipe, 0%) + 10%), #000 100%);
}

.section-intro > div { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(230px, .55fr); gap: clamp(32px, 6vw, 90px); align-items: end; }

.section-intro h2,
.method-heading h2 {
  margin: 0;
  font-size: clamp(42px, 5.1vw, 76px);
  font-weight: 580;
  letter-spacing: -.065em;
  line-height: .98;
}

.section-intro h2 em, .method-heading h2 em { color: var(--ink); }
.section-intro p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }

.service-list { position: relative; }

.service-item {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(310px, .65fr);
  align-items: center;
  gap: clamp(42px, 8vw, 120px);
  min-height: 610px;
  padding: clamp(50px, 7vw, 100px) 0;
  border-top: 1px solid var(--line);
}

.service-item:last-of-type { border-bottom: 1px solid var(--line); }
.service-item-reverse { grid-template-columns: minmax(310px, .65fr) minmax(0, 1.15fr); }
.service-item-reverse .service-media { order: 2; }
.service-item-reverse .service-copy { order: 1; }

.service-media {
  position: relative;
  aspect-ratio: 1.34;
  overflow: hidden;
  border-radius: 3px;
  background: #dedbd4;
}

.service-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, .22);
  pointer-events: none;
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease), filter .7s ease;
}

.service-media-graphic {
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: clamp(30px, 5vw, 68px);
  color: var(--white);
  background: var(--red);
}

.service-media-graphic::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -25%;
  opacity: .2;
  background: repeating-linear-gradient(118deg, transparent 0 48px, rgba(255, 255, 255, .28) 49px 50px);
  transform: rotate(-7deg);
}

.service-media-graphic-dark { background: var(--ink); }
.service-media-graphic > .service-graphic-kicker { font-size: 10px; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; }
.service-media-graphic > strong { max-width: 90%; margin-top: 16px; font-size: clamp(42px, 6vw, 82px); font-weight: 560; letter-spacing: -.07em; line-height: .92; }

.service-item:nth-child(1) .service-media img { object-position: center 40%; }
.service-item:nth-child(2) .service-media img { object-position: center 44%; }
.service-item:nth-child(3) .service-media img { object-position: center 35%; }
.service-item:hover .service-media img { transform: scale(1.035); }

.service-number {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  color: var(--white);
  background: var(--red);
  font-size: 11px;
  font-weight: 700;
}

.service-copy { max-width: 460px; }
.service-kicker { margin: 0 0 21px; color: var(--red); font-size: 10px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }

.service-copy h3 {
  margin: 0;
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 580;
  letter-spacing: -.07em;
  line-height: .94;
}

.service-copy > p:not(.service-kicker) { margin: 28px 0 0; color: var(--muted); font-size: 14px; line-height: 1.85; }

.service-copy ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.service-copy li { padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; color: #4d4c49; font-size: 9px; font-weight: 650; }

/* História */
.legacy { position: relative; overflow: hidden; padding: clamp(100px, 11vw, 180px) 0 0; }

.legacy::before {
  content: "1969";
  position: absolute;
  top: -4vw;
  left: 50%;
  color: rgba(255, 255, 255, .025);
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 30vw;
  line-height: 1;
  transform: translateX(-50%);
  pointer-events: none;
}

.legacy { --progress: 0; padding-bottom: clamp(90px, 10vw, 150px); }
.legacy-grid { position: relative; display: grid; grid-template-columns: .92fr 1.08fr; align-items: start; gap: clamp(52px, 8vw, 130px); }
.legacy-copy { position: relative; z-index: 1; }

/* A headline fica presa enquanto a história corre ao lado. */
.legacy-aside { position: sticky; top: calc(var(--header-height) + clamp(24px, 5vh, 64px)); }

.story-rail {
  position: relative;
  height: 2px;
  margin-top: clamp(38px, 5vw, 58px);
  overflow: hidden;
  background: rgba(255, 255, 255, .16);
}

.story-rail span {
  position: absolute;
  inset: 0;
  background: var(--red);
  transform: scaleX(var(--progress, 0));
  transform-origin: left center;
}

.legacy-track { display: grid; gap: clamp(34px, 5vw, 64px); min-width: 0; }

.story-figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
  background: #2a2a2a;
}

.story-figure img { width: 100%; height: 108%; max-width: none; object-fit: cover; filter: saturate(.85) contrast(1.02); }
.story-figure-main { aspect-ratio: .92; }
.story-figure-main img { object-position: center 35%; }
.story-figure-small { width: min(100%, 470px); margin-left: auto; aspect-ratio: 1.34; }
.story-figure-small picture { display: block; width: 100%; height: 100%; }

.story-facts { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-light); }

.legacy-copy h2 {
  margin: 27px 0 0;
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 560;
  letter-spacing: -.07em;
  line-height: .93;
}

.legacy-copy p:not(.eyebrow) { max-width: 545px; margin: 32px 0 36px; color: rgba(255, 255, 255, .58); font-size: 14px; line-height: 1.9; }

.legacy-stamp {
  position: absolute;
  z-index: 3;
  right: 22px;
  bottom: 22px;
  display: grid;
  place-content: center;
  width: 132px;
  height: 132px;
  padding: 18px;
  border-radius: 50%;
  color: var(--ink);
  background: var(--red);
  text-align: center;
  transform: rotate(-8deg);
}

.legacy-stamp strong { font-family: "DM Serif Display", Georgia, serif; font-size: 33px; font-weight: 400; line-height: 1; }
.legacy-stamp span { margin-top: 7px; font-size: 8px; font-weight: 750; letter-spacing: .08em; line-height: 1.3; text-transform: uppercase; }

.fact { padding: clamp(26px, 3vw, 38px) 24px clamp(24px, 3vw, 34px) 0; border-bottom: 1px solid var(--line-light); }
.fact:nth-child(odd) { border-right: 1px solid var(--line-light); }
.fact:nth-child(even) { padding-left: clamp(20px, 3vw, 34px); }
.fact:nth-last-child(-n+2) { border-bottom: 0; }
.fact strong { display: block; font-family: "DM Serif Display", Georgia, serif; font-size: clamp(44px, 4.4vw, 66px); font-weight: 400; letter-spacing: -.04em; line-height: 1; }
.fact span { display: block; max-width: 170px; margin-top: 14px; color: rgba(255, 255, 255, .52); font-size: 10px; font-weight: 650; letter-spacing: .08em; line-height: 1.5; text-transform: uppercase; }
.fact-year strong { color: var(--red); }

/* Método */
.method { background: #fff; }
.method-heading { display: grid; grid-template-columns: 1.35fr .5fr; gap: 80px; align-items: end; }
.method-heading .eyebrow { margin-bottom: 26px; }
.method-heading > p { margin: 0 0 5px; color: var(--muted); font-size: 14px; line-height: 1.9; }

/* Linha do processo: o trilho desenha conforme a leitura avança e
   cada etapa acende ao ser alcançada. pathLength="1" deixa o
   stroke-dashoffset ser escrito direto em CSS, sem medir nada em JS. */
.method-flow { --progress: 0; position: relative; margin-top: clamp(60px, 8vw, 104px); }

/* Trilho como elemento próprio, não SVG.
   A ideia original era desenhar um <path> com stroke-dashoffset, mas para
   uma linha reta isso só adiciona fragilidade: com o viewBox esticado por
   preserveAspectRatio="none", o vector-effect fazia o dash ser medido em
   pixels de tela e o traço parava em ~78% da largura. Um scaleX resolve o
   mesmo efeito, é composto na GPU (dashoffset é propriedade de paint) e
   não tem como sair errado. */
.method-rail {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  overflow: hidden;
  background: var(--line);
}

.method-rail span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--red);
  transform: scaleX(var(--progress, 0));
  transform-origin: left center;
}

.method-steps { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; }

.method-steps li {
  position: relative;
  min-height: 288px;
  padding: 52px 30px 34px 0;
}

.method-steps li + li { padding-left: clamp(20px, 2.2vw, 34px); border-left: 1px solid var(--line); }

/* Nó da etapa, encostado no trilho. */
.method-steps li::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 10px;
  height: 10px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #cfccc4;
  transition: background-color .45s var(--ease), transform .45s var(--ease);
}

.method-steps li + li::before { left: clamp(20px, 2.2vw, 34px); }
.method-steps li.is-active::before { background: var(--red); transform: scale(1.3); }

.method-steps li > span { display: block; color: #b4b1aa; font-size: 10px; font-weight: 800; transition: color .45s var(--ease); }
.method-steps li.is-active > span { color: var(--red); }
.method-steps li > div { margin-top: 76px; }
.method-steps h3 { margin: 0; font-size: 25px; font-weight: 650; letter-spacing: -.04em; }
.method-steps p { margin: 13px 0 0; color: var(--muted); font-size: 12px; line-height: 1.75; }

/* Princípios */
.principles { display: grid; grid-template-columns: 1fr 1fr; min-height: 760px; overflow: hidden; background: var(--red); }
.principles-media { overflow: hidden; background: #262626; }
.principles-media img { width: 100%; height: 112%; max-width: none; object-fit: cover; object-position: center 48%; will-change: transform; }

.principles-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(60px, 8vw, 128px); color: var(--white); }
.principles-copy .eyebrow > span { background: var(--white); }
.principles-copy h2 { max-width: 680px; margin: 26px 0; font-size: clamp(48px, 6vw, 88px); font-weight: 570; letter-spacing: -.07em; line-height: .94; }
.principles-copy > p:not(.eyebrow) { max-width: 570px; margin: 0; color: rgba(255, 255, 255, .7); font-size: 14px; line-height: 1.9; }
.principles-list { display: grid; grid-template-columns: 1fr 1fr; margin-top: 55px; border-top: 1px solid rgba(255, 255, 255, .24); }
.principles-list div { display: flex; align-items: center; gap: 16px; min-height: 74px; border-bottom: 1px solid rgba(255, 255, 255, .24); }
.principles-list div:nth-child(odd) { padding-right: 18px; border-right: 1px solid rgba(255, 255, 255, .24); }
.principles-list div:nth-child(even) { padding-left: 18px; }
.principles-list span { color: rgba(255, 255, 255, .48); font-size: 9px; }
.principles-list strong { font-size: 11px; font-weight: 700; }

/* Os valores entram em sequência a partir de um único observer no
   contêiner — seis alvos de IntersectionObserver para seis linhas
   seria custo sem retorno. */
[data-stagger] > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

[data-stagger].is-visible > * { opacity: 1; transform: translateY(0); }
[data-stagger].is-visible > :nth-child(1) { transition-delay: 60ms; }
[data-stagger].is-visible > :nth-child(2) { transition-delay: 120ms; }
[data-stagger].is-visible > :nth-child(3) { transition-delay: 180ms; }
[data-stagger].is-visible > :nth-child(4) { transition-delay: 240ms; }
[data-stagger].is-visible > :nth-child(5) { transition-delay: 300ms; }
[data-stagger].is-visible > :nth-child(6) { transition-delay: 360ms; }
.no-js [data-stagger] > * { opacity: 1; transform: none; }

/* Trabalhe conosco */
.careers { background: var(--white); }

/* Contato */
.contact { background: var(--paper); }
.contact-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(60px, 10vw, 160px); align-items: start; }
.contact-copy h2 { max-width: 580px; margin: 27px 0; font-size: clamp(50px, 6vw, 88px); font-weight: 580; letter-spacing: -.07em; line-height: .94; }
.contact-copy > p:not(.eyebrow) { max-width: 500px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.85; }

.contact-channels { display: grid; margin-top: 50px; border-top: 1px solid var(--line); }
.contact-channels > * { display: grid; grid-template-columns: 95px 1fr; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); font-style: normal; }
.contact-channels span { color: var(--muted); font-size: 9px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.contact-channels strong { font-size: 12px; font-weight: 650; line-height: 1.55; overflow-wrap: anywhere; }
.contact-channels a:hover strong { color: var(--red); }

.contact-form { padding: clamp(32px, 5vw, 64px); color: var(--white); background: var(--ink); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.contact-form label { display: grid; gap: 9px; margin-bottom: 26px; color: rgba(255, 255, 255, .58); font-size: 9px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .24);
  border-radius: 0;
  outline: none;
  color: var(--white);
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  transition: border-color .25s ease;
}

.contact-form textarea { min-height: 108px; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-bottom-color: var(--red); }
.contact-form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%); background-position: calc(100% - 8px) 50%, calc(100% - 3px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.contact-form select option { color: var(--ink); background: var(--white); }
.contact-form ::placeholder { color: rgba(255, 255, 255, .31); }
.form-submit { margin-top: 10px; border: 0; cursor: pointer; }
.form-submit[disabled] { opacity: .55; cursor: not-allowed; }
.form-note { margin: 15px 0 0; color: rgba(255, 255, 255, .38); font-size: 9px; }
.form-note[data-state="ok"] { color: #7bd88f; }
.form-note[data-state="error"] { color: #ff8f8f; }
/* Confirmação de envio do currículo (substitui o formulário ao concluir). */
.careers-form-wrap { position: relative; }
.careers-form-wrap[data-submitted] form { display: none; }

.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 28px 8px 6px;
  text-align: center;
}
.form-success[hidden] { display: none; }
.form-success-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: rgba(122, 216, 143, .14);
  animation: success-pop .5s var(--ease);
}
.form-success-icon svg { width: 28px; height: 28px; fill: none; stroke: #7bd88f; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.form-success h3 { margin: 0; font-family: "DM Serif Display", Georgia, serif; font-size: clamp(22px, 3vw, 28px); font-weight: 400; color: var(--white); }
.form-success p { max-width: 38ch; margin: 0; color: rgba(255, 255, 255, .58); font-size: 13px; line-height: 1.6; }
.form-success .button-outline { margin-top: 18px; }
@keyframes success-pop {
  0% { transform: scale(.6); opacity: 0; }
  60% { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(1); }
}

/* Honeypot: campo invisível para humanos e leitores de tela, visível só para bots. */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Footer */
.site-footer { padding: 78px 0 24px; color: var(--white); background: #090909; }
.footer-top { display: grid; grid-template-columns: .7fr 1fr auto; align-items: end; gap: 40px; padding-bottom: 70px; }
.brand-footer { color: var(--white); }
.brand-footer .brand-symbol { width: 58px; }
.brand-footer .brand-name { font-size: 19px; }
.footer-top > p { max-width: 420px; margin: 0; color: rgba(255, 255, 255, .46); font-size: 13px; line-height: 1.8; }
.footer-back { display: inline-flex; align-items: center; gap: 16px; padding-bottom: 7px; border-bottom: 1px solid rgba(255, 255, 255, .3); font-size: 10px; font-weight: 700; text-transform: uppercase; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding-top: 23px; padding-right: 145px; border-top: 1px solid rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .38); font-size: 9px; }
.footer-bottom a:hover { color: var(--white); }

.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  white-space: nowrap;
}

.footer-credit strong {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, .78);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .035em;
}

.footer-credit svg { width: 15px; fill: var(--red); }
.footer-credit i { color: rgba(255, 255, 255, .6); font-size: 12px; font-style: normal; }
.footer-credit:hover strong, .footer-credit:hover i { color: var(--white); }

.whatsapp-float {
  position: fixed;
  z-index: 900;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 17px 0 13px;
  border-radius: 999px;
  color: var(--white);
  background: #128c56;
  box-shadow: 0 14px 35px rgba(0, 0, 0, .2);
  font-size: 10px;
  font-weight: 750;
  transition: transform .3s var(--ease), background-color .3s ease;
}

.whatsapp-float:hover { background: #0f7c4c; transform: translateY(-3px); }
.whatsapp-float svg { width: 22px; fill: currentColor; }

/* Reveals */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .9s var(--ease) var(--delay, 0ms), transform .9s var(--ease) var(--delay, 0ms);
}

.reveal.is-visible { opacity: 1; transform: translateY(0); }
.no-js .reveal, .no-js [data-hero-reveal] { opacity: 1; transform: none; }
.no-js .hero-title .title-line > span { transform: none; }
.no-js .hero-visual { opacity: 1; transform: none; }

@media (max-width: 1180px) {
  :root { --header-height: 80px; }
  --gutter: 48px;
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(350px, .72fr); gap: 42px; }
  .hero-title { font-size: clamp(54px, 6.4vw, 78px); }
  .hero-proof > div { display: block; }
  .hero-proof span { margin-top: 8px; }
  .hero-note-top { left: -25px; }
  .section-intro { grid-template-columns: .35fr 1.65fr; }
  .section-intro > div { grid-template-columns: 1fr; }
  .section-intro p { max-width: 560px; }
  .legacy-grid { gap: clamp(40px, 5vw, 70px); }
  .legacy-stamp { width: 116px; height: 116px; }
  .legacy-stamp strong { font-size: 29px; }
  .principles-copy { padding: 70px 55px; }
}

@media (max-width: 900px) {
  .header-cta { display: none; }
  .menu-toggle { position: relative; z-index: 1002; display: block; margin-left: auto; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

  .main-nav {
    position: fixed;
    z-index: 1001;
    inset: 0 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 5px;
    width: min(100%, 430px);
    height: 100vh;
    height: 100dvh;
    padding: 110px 42px 60px;
    color: var(--white);
    background: var(--ink);
    box-shadow: -30px 0 70px rgba(0, 0, 0, .25);
    transform: translateX(105%);
    transition: transform .55s var(--ease);
  }

  .main-nav.is-open { transform: translateX(0); }
  .main-nav a { width: 100%; padding: 12px 0; font-size: clamp(28px, 8vw, 42px); font-weight: 560; letter-spacing: -.05em; }
  .main-nav a::after { bottom: 7px; }
  .site-header.menu-active { color: var(--white); }
  .site-header.is-scrolled.menu-active .brand { color: var(--ink); }
  .site-header.is-scrolled.menu-active .menu-toggle { color: var(--white); }

  .hero-grid { grid-template-columns: 1fr; align-items: start; gap: 64px; padding-top: 142px; padding-bottom: 120px; }
  .hero-title { max-width: 800px; font-size: clamp(58px, 10vw, 92px); }
  .hero-lead { max-width: 660px; }
  .hero-visual { width: min(86%, 580px); justify-self: center; }
  .hero-image-frame { aspect-ratio: .95; border-radius: 260px 260px 20px 20px; }
  .hero-note-top { left: -35px; }
  .hero-note-bottom { right: -35px; }

  .section-intro { grid-template-columns: 1fr; gap: 30px; }
  .service-item, .service-item-reverse { grid-template-columns: minmax(0, 1.08fr) minmax(280px, .75fr); gap: 45px; min-height: 500px; }
  .service-item-reverse .service-media { order: 2; }
  .service-media { aspect-ratio: 1.06; }

  /* Sticky só faz sentido com duas colunas lado a lado. */
  .legacy-grid { grid-template-columns: 1fr; gap: 54px; }
  .legacy-aside { position: static; }
  .legacy-copy { max-width: 720px; }
  .story-rail { max-width: 420px; }
  .legacy-track { width: min(100%, 760px); }
  .story-figure-main { aspect-ratio: 1.2; }
  .story-figure-small { width: min(100%, 520px); }

  .method-heading { grid-template-columns: 1fr; gap: 28px; }
  .method-heading > p { max-width: 620px; }

  /* O trilho horizontal só funciona com as 4 etapas na mesma linha;
     abaixo disso ele vira uma linha vertical, que é a leitura natural. */
  .method-rail { display: none; }
  .method-steps { grid-template-columns: 1fr; }
  .method-steps li,
  .method-steps li + li {
    min-height: 0;
    padding: 26px 0 26px 32px;
    border-left: 1px solid var(--line);
  }
  .method-steps li::before,
  .method-steps li + li::before { top: 30px; left: -6px; }
  .method-steps li > div { margin-top: 12px; }

  .principles { grid-template-columns: 1fr; }
  .principles-media { min-height: 560px; }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 0 60px; }
  .contact-copy .eyebrow { grid-column: 1 / -1; }
  .contact-copy h2 { grid-column: 1; }
  .contact-copy > p:not(.eyebrow), .contact-channels { grid-column: 2; }
  .contact-copy > p:not(.eyebrow) { margin-top: 30px; }
  .contact-channels { margin-top: 30px; }
}

@media (max-width: 680px) {
  :root { --header-height: 72px; }
  --gutter: 32px;
  .section { padding: 88px 0; }
  .brand { gap: 8px; }
  .brand-symbol { width: 36px; }
  .brand-name { font-size: 12px; }

  .hero-grid { gap: 56px; padding-top: 118px; padding-bottom: 106px; }
  .hero-title { font-size: clamp(48px, 15vw, 72px); line-height: .91; }
  .hero-lead { margin-top: 22px; font-size: 14px; line-height: 1.72; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 12px; margin-top: 28px; }
  .hero-proof { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 42px; }
  .hero-proof > div { min-width: 0; padding-right: 10px; }
  .hero-proof > div + div { padding-left: 10px; }
  .hero-proof strong { font-size: 24px; }
  .hero-proof span { max-width: 70px; font-size: 7px; overflow-wrap: anywhere; }
  .hero-visual { width: calc(100% - 20px); }
  .hero-image-frame { aspect-ratio: .82; border-radius: 200px 200px 14px 14px; }
  .hero-note { padding: 11px 12px; }
  .hero-note-top { top: 15%; left: -10px; }
  .hero-note-bottom { right: -9px; bottom: 8%; }
  .hero-mark { right: -37px; width: 86px; }
  .hero-footer > span { display: none; }
  .hero-footer { justify-content: flex-end; }

  .sectors { padding: 22px 0; }
  .sectors-layout { grid-template-columns: 1fr; gap: 17px; }
  .sectors-heading { padding: 0 0 16px; border-right: 0; border-bottom: 1px solid var(--line); }
  .sectors-heading h2 { max-width: none; }
  .marquee { width: calc(100% + var(--gutter)); margin-left: calc(var(--gutter) / -2); }
  .sector-chip { min-height: 40px; padding: 0 15px; font-size: 10px; }

  .section-intro { margin-bottom: 55px; }
  .section-intro h2, .method-heading h2 { font-size: clamp(38px, 12vw, 56px); }
  .service-item, .service-item-reverse { grid-template-columns: 1fr; gap: 32px; min-height: 0; padding: 54px 0 64px; }
  .service-item-reverse .service-media, .service-item-reverse .service-copy { order: initial; }
  .service-media { aspect-ratio: 1.15; }
  .service-copy { max-width: none; }
  .service-copy h3 { font-size: clamp(42px, 13vw, 62px); }

  .legacy { padding-top: 90px; }
  .legacy-copy h2 { font-size: clamp(46px, 13vw, 68px); }
  .story-figure-main { aspect-ratio: 1.05; }
  .story-figure-small { width: 100%; }
  .legacy-stamp { right: 14px; bottom: 14px; width: 104px; height: 104px; padding: 14px; }
  .legacy-stamp strong { font-size: 26px; }
  .legacy-stamp span { font-size: 6px; }
  .fact strong { font-size: clamp(38px, 12vw, 50px); }
  .fact span { font-size: 8px; }

  .method-steps li,
  .method-steps li + li { padding: 22px 0 22px 26px; }
  .method-steps li::before,
  .method-steps li + li::before { top: 26px; }
  .method-steps h3 { font-size: 22px; }

  .principles-media { min-height: 430px; }
  .principles-copy { padding: 72px 24px; }
  .principles-copy h2 { font-size: clamp(45px, 13vw, 66px); }
  .principles-list { grid-template-columns: 1fr; }
  .principles-list div:nth-child(odd), .principles-list div:nth-child(even) { padding: 0; border-right: 0; }

  .contact-copy { display: block; }
  .contact-copy > p:not(.eyebrow) { margin-top: 0; }
  .contact-copy h2 { font-size: clamp(46px, 13vw, 66px); }
  .contact-form { margin-inline: calc(var(--gutter) / -2); padding: 38px 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-submit { width: 100%; }

  .site-footer { padding-top: 60px; }
  .footer-top { grid-template-columns: 1fr; align-items: start; padding-bottom: 45px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; padding-right: 0; padding-bottom: 52px; }
  .footer-credit { margin-left: 0; }
  .whatsapp-float { width: 50px; height: 50px; min-height: 0; padding: 0; justify-content: center; }
  .whatsapp-float span { display: none; }
}

@media (max-width: 380px) {
  --gutter: 24px;
  .hero-title { font-size: 45px; }
  .button { width: 100%; }
  .hero-proof span { font-size: 6.5px; }
  .contact-channels > * { grid-template-columns: 1fr; gap: 5px; }
}

@media (max-height: 720px) and (min-width: 901px) {
  .hero-grid { padding-top: calc(var(--header-height) + 35px); padding-bottom: 85px; }
  .hero-title { font-size: clamp(50px, 5.6vw, 80px); }
  .hero-lead { margin-top: 20px; line-height: 1.6; }
  .hero-actions { margin-top: 24px; }
  .hero-proof { margin-top: 30px; padding-top: 17px; }
  .hero-visual { max-width: 430px; }
  .hero-footer { bottom: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal, [data-hero-reveal], .hero-visual, [data-stagger] > * { opacity: 1; transform: none; }
  .hero-title .title-line > span { transform: none; }
  [data-mask] { clip-path: none; }

  /* Nada aqui pode depender do scroll para ficar legível. */
  .hero-copy { opacity: 1 !important; transform: none !important; }
  .section-intro { -webkit-mask-image: none !important; mask-image: none !important; }
  .hero-image-frame img, .story-figure img, .principles-media img { transform: none !important; }
  .story-rail span { transform: scaleX(1); }
  .method-rail span { transform: scaleX(1); }
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; }
  .marquee-group[aria-hidden="true"] { display: none; }
}
