/* ==========================================================================
   Reach & Co — Agência de Posicionamento
   Base styles (cópia fiel do site original + Hub de Clientes)
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "BDO Grotesk";
  src: url("../fonts/FcybOZJ2ipUdK2dQmwN3gFVAvuk.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "BDO Grotesk Medium";
  src: url("../fonts/IHGsSfg11OdfhvzTKQvoyshNQ.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --black: #000;
  --dark: #111;
  --white: #fff;
  --soft: #f4f4f4;
  --ink-50: rgba(0, 0, 0, 0.5);
  --ink-10: rgba(0, 0, 0, 0.1);
  --paper-50: rgba(255, 255, 255, 0.5);
  --paper-15: rgba(255, 255, 255, 0.15);
  --paper-10: rgba(255, 255, 255, 0.1);

  --f-display: "BDO Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-nav: "BDO Grotesk Medium", "BDO Grotesk", Arial, sans-serif;
  --f-mono: "Inter", "Helvetica Neue", Arial, sans-serif;
  --f-alt: "Figtree", "Inter", Arial, sans-serif;

  --container: 1454px;
  --gutter: 24px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--f-display);
  font-variation-settings: "wght" 500;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; padding: 0; }
ul { list-style: none; }
[hidden] { display: none !important; }
::selection { background: #fff; color: #000; }
.light ::selection { background: #000; color: #fff; }

/* ---------- Type primitives ---------- */
.t-body { font-size: 16px; line-height: 20.2px; letter-spacing: -0.5px; }
.t-small {
  font-family: var(--f-mono);
  font-weight: 400;
  font-variation-settings: normal;
  font-size: 12px;
  line-height: 16.2px;
}
.t-dim { opacity: 0.5; }
.c-dim { color: var(--ink-50); }
.dark .c-dim, .on-dark .c-dim { color: var(--paper-50); }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Sections */
.light { background: var(--white); color: var(--black); }
.dark { background: var(--dark); color: var(--white); }
.black { background: var(--black); color: var(--white); }

/* Corte diagonal entre seções (como no original): a seção sobe por cima da
   anterior; a inclinação (0° → 7°) é aplicada via clip-path pelo site.js.
   A borda transparente reserva a área do triângulo (tan 7° ≈ 12.3% da largura). */
:root { --slant-half: 6.15vw; }
[data-slant] {
  position: relative; z-index: 2;
  margin-top: calc(var(--slant-half) * -1);
  border-top: var(--slant-half) solid transparent;
  will-change: clip-path;
}

/* Hero preso ao fundo enquanto a próxima seção o cobre */
.pin-wrap { position: relative; }
.pin-wrap > .hero { position: sticky; top: 0; z-index: 0; }
.pin-wrap > .hero .hero-inner { transform: translateY(var(--lift, 0)); }
.pin-wrap > .hero::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: #000; opacity: var(--cover, 0);
}
.pin-wrap > .hero + [data-slant] { margin-top: 0; }
.about[data-slant] { padding-top: 100px; }
.faq[data-slant] { padding-top: 110px; }
.diagnostico[data-slant] .label-row { margin-top: 90px; }
.site-footer[data-slant] .top { margin-top: 70px; }

/* ---------- Section label row: ◆ [ 01 ]   [ Sobre Nós ]   © 2026 ---------- */
.label-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid var(--ink-10);
}
.dark .label-row, .black .label-row, .on-dark .label-row { border-top-color: var(--paper-10); }
.label-row > :last-child { justify-self: end; }
.label-row .diamond { display: inline-flex; align-items: center; gap: 4px; }
.label-row .diamond::before {
  content: ""; width: 5px; height: 5px; background: currentColor; transform: rotate(45deg); display: inline-block; margin-right: 2px;
}

/* ---------- Plus markers ---------- */
.plus { position: relative; width: 11px; height: 11px; display: inline-block; flex: none; }
.plus::before, .plus::after { content: ""; position: absolute; background: currentColor; }
.plus::before { left: 5px; top: 0; width: 1px; height: 11px; }
.plus::after { top: 5px; left: 0; height: 1px; width: 11px; }
.plus.sm { transform: scale(0.45); }
.plus-row { display: flex; justify-content: space-between; align-items: center; }

/* ---------- Underlined CTA (Solicite um Diagnóstico Gratuito) ---------- */
.cta-line {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-width: 235px;
  padding: 0 0 8px;
  font-size: 16px; line-height: 20.2px; letter-spacing: -0.5px;
}
.cta-line::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; opacity: 0.35;
  transform-origin: left; transition: opacity .4s var(--ease);
}
.cta-line::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); z-index: 1;
}
.cta-line:hover::before { transform: scaleX(1); transform-origin: left; }
.cta-line .corner {
  width: 6px; height: 6px; border-top: 1px solid currentColor; border-right: 1px solid currentColor;
  align-self: flex-start; margin-top: -2px; transition: transform .4s var(--ease);
}
.cta-line:hover .corner { transform: translate(2px, -2px); }

/* ---------- Header ---------- */
.site-header {
  position: absolute; inset: 0 0 auto 0; z-index: 100;
  padding: 10px;
  pointer-events: none;
  transition: transform .5s var(--ease);
}
.site-header.is-hidden { transform: translateY(-110%); }
.site-header .bar {
  pointer-events: auto;
  position: relative;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 68px; padding: 0 14px;
  border-radius: 4px;
  transition: background-color .4s var(--ease), backdrop-filter .4s var(--ease);
}
.site-header.is-solid .bar,
.site-header.always-solid .bar {
  background: rgba(10, 10, 10, 0.72);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
}
.brand img { height: 15px; width: auto; }
.main-nav { display: flex; gap: clamp(26px, 3.8vw, 72px); }
.nav-link { white-space: nowrap; }
.nav-link {
  position: relative; display: inline-flex; align-items: flex-start; gap: 6px;
  font-family: var(--f-nav); font-size: 12px; line-height: 16.2px; color: #fff;
}
.nav-link sup {
  font-family: var(--f-display); font-size: 10px; line-height: 11.2px; color: var(--paper-50); top: -4px; position: relative;
}
.nav-link .lbl { position: relative; overflow: hidden; display: inline-block; }
.nav-link .lbl span { display: block; transition: transform .45s var(--ease); }
.nav-link .lbl span + span { position: absolute; inset: 0; transform: translateY(100%); }
.nav-link:hover .lbl span:first-child { transform: translateY(-100%); }
.nav-link:hover .lbl span + span { transform: translateY(0); }
.nav-link[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 14px; bottom: -6px; height: 1px; background: #fff; opacity: .6;
}

.partner-card {
  justify-self: end;
  display: grid; grid-template-columns: 52px 1fr; gap: 10px; align-items: center;
  width: 300px; height: 56px; padding: 2px;
  background: #fff; color: #000; border-radius: 3px;
  position: relative;
  transition: transform .4s var(--ease);
}
.partner-card:hover { transform: translateY(-1px); }
.partner-card img { width: 52px; height: 52px; border-radius: 2px; object-fit: cover; }
.partner-card .txt { display: flex; flex-direction: column; justify-content: center; }
.partner-card .t-body { font-size: 14px; line-height: 16px; }
.partner-card .t-small { font-size: 10px; line-height: 12px; }
.partner-card .expand { position: absolute; top: 8px; right: 8px; width: 9px; height: 9px; }
.partner-card .expand::before, .partner-card .expand::after { content: ""; position: absolute; width: 4px; height: 4px; background: #000; }
.partner-card .expand::before { top: 0; right: 0; }
.partner-card .expand::after { bottom: 0; left: 0; }

.menu-toggle { display: none; justify-self: end; width: 40px; height: 40px; position: relative; }
.menu-toggle span { position: absolute; left: 10px; right: 10px; height: 1px; background: #fff; transition: transform .4s var(--ease), top .4s var(--ease); }
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 23px; }
.menu-open .menu-toggle span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { top: 20px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,.94);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: 100px 24px 40px;
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
  overflow-y: auto; overscroll-behavior: contain;
}
.mobile-menu .mm-bar {
  position: absolute; top: 10px; left: 10px; right: 10px; height: 56px; padding: 0 14px;
  display: flex; align-items: center; justify-content: space-between;
}
.mobile-menu .mm-bar .brand img { height: 15px; width: auto; }
.mm-close { width: 40px; height: 40px; position: relative; }
.mm-close span { position: absolute; left: 10px; right: 10px; top: 20px; height: 1px; background: #fff; }
.mm-close span:nth-child(1) { transform: rotate(45deg); }
.mm-close span:nth-child(2) { transform: rotate(-45deg); }
.mobile-menu .mm-links { display: flex; flex-direction: column; gap: 22px; }
.mobile-menu .mm-links a { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.menu-open .mobile-menu .mm-links a { opacity: 1; transform: none; }
.menu-open .mobile-menu .mm-links a:nth-child(2) { transition-delay: .05s; }
.menu-open .mobile-menu .mm-links a:nth-child(3) { transition-delay: .1s; }
.menu-open .mobile-menu .mm-links a:nth-child(4) { transition-delay: .15s; }
.mobile-menu .mm-links a[aria-current="page"] sup { color: #fff; }
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu a.big { font-size: 44px; line-height: 1; letter-spacing: -1.5px; display: flex; gap: 10px; align-items: flex-start; }
.mobile-menu a.big sup { font-size: 12px; color: var(--paper-50); position: relative; top: 4px; }
.mobile-menu .partner-card { justify-self: start; margin-top: 24px; width: 100%; }

/* ---------- CTA fixo do WhatsApp (só no celular) ----------
   Mesmo cartão "Fale conosco" do menu, preso no rodapé da tela. */
.wa-pill { display: none; }
@media (max-width: 860px) {
  .partner-card.wa-pill {
    display: grid; position: fixed; z-index: 900;
    left: 16px; right: 16px; width: auto; justify-self: stretch;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 18px 40px -14px rgba(0,0,0,.6), 0 0 0 1px rgba(0,0,0,.08);
    transform: translateY(140%); opacity: 0; pointer-events: none;
    transition: transform .6s var(--ease), opacity .4s var(--ease);
  }
  .partner-card.wa-pill.on { transform: none; opacity: 1; pointer-events: auto; }
  .menu-open .partner-card.wa-pill { transform: translateY(140%); opacity: 0; pointer-events: none; }
  .partner-card.wa-pill:active { transform: scale(.98); }
  body:has(.wa-pill) .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- HERO (home) ---------- */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; background: #000;
}
.hero-canvas, .hero-fallback { position: absolute; left: -10%; top: -8%; width: 120%; height: 116%; max-width: none; }
.hero-fallback { background: url("../img/XBVT9pwwtvIEBfAjtdHVG6nhwo.png") center 30% / cover no-repeat; opacity: .9; }
.hero.has-gl .hero-fallback { display: none; }
.hero-inner { position: absolute; inset: 0; z-index: 2; }
.hero-tagline { position: absolute; left: 24px; top: 193px; width: 300px; }
.hero-tagline .cta-line { margin-top: 30px; min-width: 300px; }
.hero-services { position: absolute; left: 20.5%; top: 62%; }
.hero-services li span { color: var(--paper-50); }
.hero-plus { position: absolute; color: rgba(255,255,255,.75); }
.hero-bottom { position: absolute; left: 8%; bottom: 22px; display: flex; align-items: center; gap: 12px; }
.barcode { display: inline-flex; gap: 6px; align-items: flex-end; height: 22px; }
.barcode i { display: block; width: 1px; background: rgba(255,255,255,.55); height: 8px; }
.barcode i:nth-child(3n) { height: 14px; }
.barcode i:nth-child(5n) { height: 22px; background: #fff; }
/* Indicador "Deslize para baixo" (celular / telas de toque) */
/* Indicador "Deslize" (celular): só texto, na linha do © 2026 */
.hero-scroll {
  position: absolute; right: 24px; bottom: 150px; z-index: 4;
  display: none;
  font-family: var(--f-mono); font-weight: 400; font-size: 12px; line-height: 16.2px; color: #fff;
  opacity: 0; animation: cueIn .8s var(--ease) 1.4s forwards, cueBob 2.2s var(--ease) 2.2s infinite;
  transition: opacity .4s var(--ease);
}
.hero-scroll.gone { opacity: 0 !important; pointer-events: none; animation: none; }
@keyframes cueIn { to { opacity: .85; } }
@keyframes cueBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
.frame-hero .hero-scroll { right: 24px; bottom: calc(24% - 60px); }

.hero-title {
  position: absolute; right: 4%; bottom: 18px;
  font-size: clamp(56px, 5.21vw, 100px); line-height: 1; letter-spacing: -0.03em;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line > span { display: inline-block; transform: translateY(105%); animation: lineUp 1.2s var(--ease) forwards; }
.hero-title .line:nth-child(2) > span { animation-delay: .12s; }
@keyframes lineUp { to { transform: none; } }

/* ---------- SOBRE NÓS (home) ---------- */
.about { padding: 60px 0 120px; }
.about .statement {
  padding: 70px 48px 0;
  font-size: clamp(38px, 4.17vw, 80px); line-height: 0.875; letter-spacing: -0.026em;
}
.about .statement .muted { color: rgba(0,0,0,.5); }
.blur-letters .ch { display: inline-block; white-space: pre; filter: blur(12px); opacity: 0; transition: filter .9s var(--ease), opacity .9s var(--ease), transform .9s var(--ease); transform: translateX(-0.12em); }
.blur-letters.in .ch { filter: blur(0); opacity: 1; transform: none; }
/* no celular, ~100 letras com blur animado ao mesmo tempo travavam a rolagem:
   lá a entrada é só opacidade + deslocamento (bem mais leve) */
@media (hover: none), (max-width: 860px) {
  .blur-letters .ch { filter: none; transform: translateY(.18em); transition: opacity .7s var(--ease), transform .8s var(--ease); }
}

/* ---------- CLIENTES (home teaser) ---------- */
.clients-teaser { padding: 0 0 12vw; }
.clients-teaser .grid {
  display: grid; grid-template-columns: 1fr 800px 1fr; gap: 40px; margin-top: 40px;
}
.sticky-col { position: sticky; top: 45vh; align-self: start; }
.sticky-col h2 { font-size: clamp(44px, 3.65vw, 70px); line-height: 0.93; letter-spacing: -0.03em; margin-bottom: 26px; }
.sticky-col .cta-line { min-width: 205px; }
.veja-mais {
  justify-self: end;
  display: inline-grid; grid-template-columns: 52px auto; align-items: center; gap: 0;
  background: var(--soft); border-radius: 2px; overflow: hidden;
  transition: background-color .4s var(--ease);
}
.veja-mais img { width: 52px; height: 52px; }
.veja-mais span { padding: 0 16px; font-size: 16px; letter-spacing: -0.5px; }
.veja-mais:hover { background: #e9e9e9; }

.case-card { display: block; margin-bottom: 26px; }
.case-card .media { position: relative; overflow: hidden; border-radius: 2px; aspect-ratio: 16 / 9.3; background: #ddd; }
.case-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .8s var(--ease); }
.case-card:hover .media img { transform: scale(1.04); }
.case-card .media .open {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -40%); opacity: 0;
  background: #fff; color: #000; padding: 12px 18px; border-radius: 2px; font-size: 14px; letter-spacing: -0.4px;
  display: inline-flex; gap: 10px; align-items: center; transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.case-card:hover .media .open { opacity: 1; transform: translate(-50%, -50%); }
.case-meta { display: grid; grid-template-columns: 40px 1fr auto; gap: 0; padding-top: 8px; }
.case-meta .c-dim { display: block; }

/* ---------- DIAGNÓSTICO ---------- */
.diagnostico { padding-bottom: 40px; }
.diagnostico .label-row { margin-top: 2vw; }
.diag-text {
  margin-top: 72px;
  font-size: clamp(34px, 3.65vw, 70px); line-height: 1; letter-spacing: -0.03em; max-width: 1340px;
}
.diag-text .media-inline {
  float: left; width: 178px; height: 232px; margin: -110px 18px 0 0; overflow: hidden; border-radius: 2px; shape-outside: inset(0 0 0 0);
}
.diag-text .media-inline video, .diag-text .media-inline img { width: 100%; height: 100%; object-fit: cover; }
.diag-text .w { color: rgba(255,255,255,.35); transition: color .35s linear; }
.diag-text .w.on { color: #fff; }
.diag-actions { margin-top: 90px; display: grid; grid-template-columns: 1fr 3fr; align-items: center; }
.diag-actions .cta-line { min-width: 120px; }

.trust { padding: 120px 0 0; text-align: center; }
.trust h3 { font-family: var(--f-alt); font-weight: 500; font-variation-settings: normal; font-size: 14px; line-height: 16.8px; letter-spacing: -0.28px; }
.marquee {
  margin-top: 34px; overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}
.marquee-track { display: flex; gap: 46px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img { height: 52px; width: auto; opacity: .85; filter: grayscale(1); transition: opacity .3s; }
.marquee-track img:hover { opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

.light-wave { width: 100%; height: 150px; margin: 40px 0 60px; }

.services .row {
  display: grid; grid-template-columns: 1fr 1.05fr 1.15fr; gap: 40px;
  padding: 34px 0; border-bottom: 1px solid var(--paper-10);
}
.services .num { font-size: clamp(110px, 10.4vw, 200px); line-height: .8; letter-spacing: -0.04em; }
.services .img { aspect-ratio: 408 / 285; overflow: hidden; border-radius: 2px; }
.services .img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.services .row:hover .img img { transform: scale(1.05); }
.services h3 { font-size: clamp(32px, 2.4vw, 46px); line-height: 0.87; letter-spacing: -0.037em; margin-bottom: 30px; }
.services .lead { margin-bottom: 14px; }
.services .copy p + p { margin-top: 12px; }
.services .copy { color: rgba(255,255,255,.64); max-width: 476px; font-size: 14px; line-height: 20px; }
.services .copy .get { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--paper-15); color: rgba(255,255,255,.85); }
.services .copy .get span { color: #fff; }
.services .svc-link { margin-top: 22px; color: #fff; min-width: 180px; }

/* ---------- ESTATÍSTICAS ---------- */
.stats { padding: 2vw 0 70px; }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 50px; margin-top: 66px; }
.stat { position: relative; border-top: 1px solid var(--ink-10); padding-top: 14px; padding-bottom: 72px; }
.stat::after { content: ""; position: absolute; right: 0; top: 10px; width: 6px; height: 4px; border-top: 1px solid #000; border-right: 1px solid #000; }
.stat .n { font-size: clamp(64px, 5.21vw, 100px); line-height: 1; letter-spacing: -0.03em; padding-bottom: 12px; border-bottom: 1px solid var(--ink-10); margin-bottom: 14px; }
.stat .d { max-width: 300px; margin-top: 10px; }

/* ---------- FAQ ---------- */
.faq { padding: 0 0 12vw; }
.faq .wrap { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink-10); padding-top: 12px; }
.faq-title { font-size: clamp(44px, 3.65vw, 70px); line-height: 0.93; letter-spacing: -0.03em; max-width: 9em; padding: 14px 40px 40px 0; }
.faq-list { border-top: 0; }
.faq-item { border-bottom: 1px solid var(--ink-10); }
.faq-item button {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 30px;
  text-align: left; padding: 24px 0 26px; font-size: 16px; line-height: 20.2px; letter-spacing: -0.5px;
}
.faq-item .plus { transition: transform .5s var(--ease); }
.faq-item.open .plus { transform: rotate(45deg); }
.faq-item .ans { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.faq-item .ans > div { overflow: hidden; }
.faq-item .ans p { padding: 0 60px 28px 0; max-width: 640px; color: rgba(0,0,0,.66); font-family: var(--f-mono); font-weight: 400; font-variation-settings: normal; font-size: 15px; line-height: 23px; }
.faq-item button:focus { outline: none; }
.faq-item button:focus-visible { outline: 1px solid rgba(0,0,0,.4); outline-offset: 4px; border-radius: 2px; }
.faq-item.open .ans { grid-template-rows: 1fr; }

/* ---------- FOOTER ---------- */
.site-footer { padding-bottom: 22px; }
.site-footer .top { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; border-top: 1px solid var(--paper-10); padding-top: 50px; margin-top: 2vw; }
.site-footer .big { font-size: clamp(30px, 2.5vw, 48px); line-height: 1.17; letter-spacing: -0.035em; }
.site-footer .big span { display: block; color: var(--paper-50); }
.site-footer .big a { transition: opacity .3s; }
.site-footer .big a:hover { opacity: .7; }
.site-footer .cta-line { margin-top: 36px; min-width: 205px; }
.foot-nav li { border-bottom: 1px solid var(--paper-10); }
.foot-nav a { display: flex; gap: 8px; padding: 9px 0 8px; font-family: var(--f-nav); font-size: 12px; line-height: 16.2px; color: var(--paper-50); transition: color .3s, padding .4s var(--ease); }
.foot-nav a sup { font-size: 9px; position: relative; top: -3px; }
.foot-nav a:hover, .foot-nav a[aria-current="page"] { color: #fff; padding-left: 6px; }
.site-footer .plus-row { margin: 56px 0 60px; padding-left: 49%; }
.site-footer .bottom { display: flex; justify-content: space-between; align-items: flex-end; border-top: 1px solid var(--paper-10); padding-top: 60px; }
.site-footer .logo-big { width: min(380px, 60vw); height: auto; }
.site-footer .meta { display: flex; gap: 14px; align-items: center; }
.site-footer .meta .barcode { height: 30px; }

/* ---------- Reveal on scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }

/* ---------- Page hero with glass box (Hub / Sobre) ---------- */
.glass-hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; background: #000; }
.glass-hero .bg { position: absolute; inset: 0; }
.glass-hero .bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: slowZoom 18s var(--ease) forwards; }
@keyframes slowZoom { to { transform: scale(1); } }
.glass-box {
  position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%);
  width: min(var(--container), calc(100% - 48px));
  padding: 24px 24px 18px; border-radius: 4px;
  background: rgba(0,0,0,.42); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px);
  display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 30px;
}
.glass-box h1 { font-size: clamp(56px, 6.2vw, 120px); line-height: .88; letter-spacing: -0.035em; }
.glass-box .tag { position: absolute; left: 30%; top: 14px; }
.glass-box p.t-small { max-width: 220px; justify-self: center; color: var(--paper-50); }

/* Sobre: hero with frame */
.frame-hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; background: #000; }
.frame-hero .frame {
  position: absolute; left: 16%; right: 16%; top: 19%; bottom: 24%;
  border: 1px solid rgba(255,255,255,.25); border-radius: 2px; display: grid; place-items: center;
}
.frame-hero .frame h1 { font-size: clamp(54px, 5.6vw, 108px); letter-spacing: -0.035em; line-height: 1; }
.frame-hero .frame .plus { position: absolute; }
.frame-hero .under { position: absolute; left: 16%; right: 16%; bottom: calc(24% - 34px); display: grid; grid-template-columns: 1fr 1fr 1fr; }
.frame-hero .under > :last-child { justify-self: end; }

/* Moldura "Estamos aqui" em vidro fosco sobre as ondas */
.frame-hero .frame.glass {
  border-radius: 6px; overflow: hidden; isolation: isolate;
  border: 1px solid rgba(255,255,255,.16);
  background: linear-gradient(135deg, rgba(255,255,255,.11) 0%, rgba(255,255,255,.035) 42%, rgba(255,255,255,.07) 100%);
  -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.28),      /* fio de luz na borda de cima */
    inset 0 -1px 0 rgba(255,255,255,.06),
    inset 0 0 60px rgba(120,160,200,.06),
    0 40px 120px rgba(0,0,0,.45);
}
/* sem suporte a backdrop-filter: vidro escuro sólido, para o texto continuar legível */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .frame-hero .frame.glass { background: rgba(20,28,36,.78); }
}

/* Team */
.team { position: relative; background: #000; }
.team .people { display: grid; grid-template-columns: 1fr 1fr; max-width: 1454px; margin: 0 auto; }
.person { position: relative; min-height: 640px; overflow: hidden; }
.person img { position: absolute; bottom: 0; height: 100%; width: auto; max-width: none; left: 50%; transform: translateX(-30%); transform-origin: 50% 100%; transition: transform 1.2s var(--ease); }
/* Robert está sentado e mais longe da câmera: ampliado para as cabeças ficarem na mesma altura e os dois no mesmo tamanho */
.person:first-child img { transform: translateX(-30%) scale(1.08); }
.person:last-child img { transform: translateX(-70%); }
.person .info { position: absolute; top: 18%; z-index: 2; }
.person:first-child .info { left: 12%; }
.person:last-child .info { right: 12%; }
.person h3 { font-size: 26px; letter-spacing: -0.8px; margin-bottom: 8px; }
.person .roles { color: rgba(255,255,255,.75); margin-bottom: 18px; }

/* Logo wall (Sobre / Hub) */
.logo-wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-top: 60px; }
.logo-wall .tile { aspect-ratio: 191 / 140; background: var(--soft); border-radius: 2px; display: grid; place-items: center; position: relative; overflow: hidden; }
.logo-wall .tile.empty { background: transparent; }
.logo-wall .tile img { width: 72%; height: auto; transition: transform .6s var(--ease), opacity .4s; }
.logo-wall .tile .hint {
  position: absolute; inset: auto 0 0 0; padding: 8px 10px; background: #000; color: #fff; text-align: left;
  transform: translateY(100%); transition: transform .5s var(--ease);
}
.logo-wall a.tile:hover .hint, .logo-wall .tile:hover .hint { transform: none; }
.logo-wall .tile:hover img { transform: scale(.94) translateY(-6px); }
.logo-wall .tile.more { background: #000; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; }
.logo-wall .tile.more .big { font-size: clamp(34px, 3.4vw, 56px); line-height: .8; font-weight: 300; letter-spacing: -0.04em; transition: transform .6s var(--ease); }
.logo-wall .tile.more .lbl { font-size: clamp(14px, 1.1vw, 18px); letter-spacing: -0.4px; transition: transform .6s var(--ease); }
.logo-wall .tile.more .hint { background: #fff; color: #000; }
.logo-wall .tile.more:hover .big, .logo-wall .tile.more:hover .lbl { transform: translateY(-8px); }

/* Services detailed (Sobre) */
.svc-detail .row { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; padding: 60px 0; border-bottom: 1px solid var(--paper-10); }
.svc-detail .num { font-size: clamp(110px, 10.4vw, 200px); line-height: .8; letter-spacing: -0.04em; }
.svc-detail h3 { font-size: clamp(30px, 2.4vw, 46px); letter-spacing: -0.035em; line-height: 1; margin-bottom: 22px; }
.svc-detail h4 { font-family: var(--f-mono); font-weight: 400; font-variation-settings: normal; font-size: 14px; color: var(--paper-50); margin: 22px 0 14px; }
.svc-detail ul { list-style: disc; padding-left: 16px; columns: 1; }
.svc-detail li { font-family: var(--f-mono); font-weight: 400; font-variation-settings: normal; font-size: 12px; line-height: 17px; }

/* ---------- Contato ---------- */
.contact { padding: 160px 0 calc(110px + var(--slant-half)); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 6vw, 110px); align-items: start; }
.contact-intro { padding-top: 8px; }
.contact h1 { font-size: clamp(48px, 4.2vw, 80px); letter-spacing: -0.035em; line-height: 1; }
.contact .lead { font-size: clamp(18px, 1.35vw, 24px); line-height: 1.25; color: var(--paper-50); margin-top: 28px; letter-spacing: -0.5px; max-width: 520px; }
.contact .chips { display: flex; gap: 10px; margin-top: 30px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 12px; background: #e9e9e9; color: #000; border-radius: 2px;
  font-size: 16px; letter-spacing: -0.4px; transition: background-color .3s;
}
.chip:hover { background: #fff; }
.chip img { width: 18px; height: 18px; object-fit: contain; }

.diag { margin-top: 64px; border-top: 1px solid var(--paper-15); padding-top: 16px; }
.diag-tag { color: var(--paper-50); }
.diag-steps { list-style: none; margin-top: 22px; display: grid; gap: 22px; }
.diag-steps li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: baseline; }
.diag-steps .n { font-family: var(--f-mono); font-weight: 400; font-variation-settings: normal; font-size: 11px; color: var(--paper-50); }
.diag-steps p { font-family: var(--f-mono); font-weight: 400; font-variation-settings: normal; font-size: 14px; line-height: 21px; color: rgba(255,255,255,.62); max-width: 420px; }
.diag-steps strong { font-family: var(--f-display); font-weight: 500; font-variation-settings: "wght" 500; font-size: 16px; letter-spacing: -0.4px; color: #fff; display: block; margin-bottom: 2px; }

.form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 30px 40px;
  padding: clamp(28px, 3vw, 48px); border: 1px solid var(--paper-10); border-radius: 4px;
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01));
}
.form-head { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: clamp(22px, 1.8vw, 30px); letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 6px; }
.form-head .req { color: var(--paper-50); white-space: nowrap; }
.form i { font-style: normal; color: var(--paper-50); }
.field { position: relative; display: flex; flex-direction: column; gap: 8px; border-bottom: 1px solid var(--paper-15); padding-bottom: 10px; transition: border-color .3s; }
.field.full { grid-column: 1 / -1; }
.field label, .field .lbl { font-family: var(--f-mono); font-weight: 400; font-variation-settings: normal; font-size: 12px; color: var(--paper-50); transition: color .3s; }
.field:focus-within label, .field:focus-within .lbl, .field.open .lbl { color: #fff; }
.field input, .field textarea, .sel-btn {
  background: transparent; border: 0; color: #fff; outline: none; padding: 4px 0; width: 100%;
  font-family: var(--f-display); font-weight: 500; font-variation-settings: "wght" 500; font-size: 18px; letter-spacing: -0.4px;
}
.field textarea { min-height: 96px; resize: vertical; line-height: 1.35; }
.field:hover { border-bottom-color: rgba(255,255,255,.3); }
.field:focus-within { border-bottom-color: #fff; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.28); }
.field input:-webkit-autofill { -webkit-text-fill-color: #fff; box-shadow: 0 0 0 1000px #151515 inset; caret-color: #fff; }
.field.bad { border-bottom-color: #ff6b5e; }
.field.bad label { color: #ff8a80; }

/* Menu "Categoria do serviço" */
.sel-btn { display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left; cursor: pointer; color: rgba(255,255,255,.28); }
.sel.has .sel-btn { color: #fff; }
.sel-btn svg { width: 11px; height: 7px; flex: none; color: #fff; transition: transform .45s var(--ease); }
.sel.open .sel-btn svg { transform: rotate(180deg); }
.sel-btn:focus-visible { outline: 1px solid rgba(255,255,255,.5); outline-offset: 6px; border-radius: 2px; }
.sel-list {
  position: absolute; z-index: 20; left: -1px; right: -1px; top: calc(100% + 8px);
  list-style: none; padding: 6px; max-height: 320px; overflow-y: auto; outline: none;
  background: #141414;
  border: 1px solid var(--paper-15); border-radius: 3px;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.8);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .3s var(--ease), transform .45s var(--ease), visibility .3s;
}
.sel.open .sel-list { opacity: 1; visibility: visible; transform: none; }
.sel-list li {
  display: flex; align-items: flex-start; gap: 10px; padding: 12px 12px; border-radius: 2px; cursor: pointer;
  font-size: 16px; line-height: 18px; letter-spacing: -0.4px; color: #fff; transition: background-color .2s, color .2s;
}
.sel-list li sup { font-size: 10px; line-height: 11px; color: var(--paper-50); position: relative; top: -2px; width: 18px; flex: none; transition: color .2s; }
.sel-list li.act { background: #fff; color: #000; }
.sel-list li.act sup { color: rgba(0,0,0,.5); }
.sel-list li[aria-selected="true"]::after { content: ""; margin-left: auto; align-self: center; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.submit {
  grid-column: 1 / -1; height: 56px; padding: 0 22px; margin-top: 4px;
  display: flex; align-items: center; justify-content: space-between;
  background: #fff; color: #000; border-radius: 3px; font-size: 16px; letter-spacing: -0.4px;
  transition: background-color .3s, transform .4s var(--ease);
}
.submit svg { width: 12px; height: 12px; transition: transform .45s var(--ease); }
.submit:hover { background: #e9e9e9; }
.submit:hover svg { transform: translate(2px, -2px); }
.submit:active { transform: scale(.99); }
.submit:focus-visible { outline: 1px solid #fff; outline-offset: 3px; }
.form-note { grid-column: 1/-1; color: var(--paper-50); min-height: 16px; margin-top: -14px; }
.form-note.err { color: #ff8a80; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .main-nav { gap: 36px; }
  .partner-card { width: 240px; }
  .clients-teaser .grid { grid-template-columns: 1fr; }
  .sticky-col { position: static; }
  .veja-mais { justify-self: start; }
  .services .row { grid-template-columns: 1fr 1fr; }
  .services .row .num { grid-column: 1 / -1; }
}
@media (max-width: 1040px) {
  .site-header .partner-card { display: none; }
}
@media (max-width: 860px) {
  .main-nav, .site-header .partner-card { display: none; }
  .menu-toggle { display: block; }
  .site-header .bar { grid-template-columns: 1fr auto; height: 56px; }
  .hero-tagline { top: 120px; }
  .hero-scroll { display: inline-flex; }
  .hero-services { left: 24px; top: auto; bottom: 200px; }
  .hero-plus { display: none; }
  .hero-bottom { left: 24px; bottom: 150px; }
  .hero-title { left: 24px; right: 16px; bottom: 24px; font-size: 10.4vw; }
  .hero { min-height: 560px; }
  .about { padding-bottom: 80px; }
  /* "Reposicionamos empresas com:" grande; cada [ item ] numa linha só, sem quebrar no meio */
  .about .statement { padding: 50px 24px 0; font-size: 11.2vw; line-height: .92; }
  .about .statement .muted { display: block; white-space: nowrap; font-size: .55em; line-height: 1.12; margin-top: .55em; }
  .diag-text .media-inline { float: none; margin: 0 0 20px; width: 140px; height: 182px; }
  .diag-actions { grid-template-columns: 1fr; gap: 30px; }
  .diag-actions .plus-row { display: none; }
  .services .row { grid-template-columns: 1fr; gap: 20px; }
  .stats-grid { grid-template-columns: 1fr; }
  .faq .wrap { grid-template-columns: 1fr; gap: 20px; }
  .faq-title { font-size: clamp(38px, 11vw, 48px); padding: 14px 0 10px; }
  .site-footer .top { grid-template-columns: 1fr; }
  .site-footer .big { font-size: clamp(18px, 5.9vw, 34px); overflow-wrap: anywhere; }
  .site-footer .plus-row { display: none; }
  .site-footer .bottom { flex-direction: column; align-items: flex-start; gap: 30px; padding-top: 40px; }
  .label-row { grid-template-columns: 1fr 1fr; }
  .label-row > :nth-child(3) { display: none; }
  .label-row > :nth-child(2) { justify-self: end; }
  .glass-box { grid-template-columns: 1fr; gap: 14px; }
  .glass-box .tag { position: static; }
  .glass-box p.t-small { justify-self: start; }
  .frame-hero .frame { left: 24px; right: 24px; }
  .frame-hero .under { left: 24px; right: 24px; grid-template-columns: 1fr 1fr; }
  .frame-hero .under > :nth-child(2) { display: none; }
  .team .people { grid-template-columns: 1fr; }
  .person { min-height: 520px; }
  .person img, .person:last-child img { transform: translateX(-50%); }
  .person:first-child img { transform: translateX(-50%) scale(1.08); }
  .person .info { top: auto; bottom: 24px; left: 24px !important; right: auto !important; background: rgba(0,0,0,.55); padding: 12px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
  .logo-wall { grid-template-columns: repeat(3, 1fr); }
  .logo-wall .tile.empty { display: none; }
  .logo-wall .tile.more { grid-column: span 2; aspect-ratio: auto; }
  .svc-detail .row { grid-template-columns: 1fr; }
  .contact { padding: 120px 0 calc(64px + var(--slant-half)); }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-intro { padding-top: 0; }
  .diag { margin-top: 44px; }
  .form { grid-template-columns: 1fr; gap: 26px; padding: 24px 20px; }
  .form-head { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-reveal], .blur-letters .ch { opacity: 1 !important; transform: none !important; filter: none !important; }
}
