/* ==========================================================================
   UANPRO — Sistema visual
   Direção: "registro técnico" — precisão sanitária com elegância editorial.
   Paleta: pinheiro profundo + latão + papel clínico.
   Tipografia: Fraunces (display) · Inter (texto) · IBM Plex Mono (registro)
   ========================================================================== */

/* ---------- 1. Tokens ---------------------------------------------------- */
:root {
  --paper: #f2f5f2;
  --paper-2: #e9eee9;
  --surface: #ffffff;
  --surface-2: #fbfcfb;

  --ink: #0c1411;
  --ink-2: #24312b;
  --muted: #5b6862;
  --faint: #8b968f;

  --line: rgba(12, 20, 17, .11);
  --line-strong: rgba(12, 20, 17, .2);

  --pine: #0f4a34;
  --pine-600: #146045;
  --pine-300: #5f9c7f;
  --pine-050: #e7f0ea;

  --brass: #b2853a;
  --brass-300: #d8b878;
  --brass-050: #f6efe0;

  --night: #08110d;
  --night-2: #0f1c16;

  --ok: #1c7a4b;
  --warn: #a6462f;

  --shadow-1: 0 1px 2px rgba(12, 20, 17, .05), 0 6px 18px rgba(12, 20, 17, .05);
  --shadow-2: 0 2px 6px rgba(12, 20, 17, .06), 0 24px 60px rgba(12, 20, 17, .1);
  --shadow-3: 0 40px 90px rgba(8, 24, 16, .18);

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;

  --container: 1220px;
  --gutter: clamp(20px, 4vw, 44px);
  --header-h: 82px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --font-display: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  color-scheme: light;
}

[data-theme='dark'] {
  --paper: #0a120e;
  --paper-2: #0f1a15;
  --surface: #101a15;
  --surface-2: #0d1712;

  --ink: #e9f0ea;
  --ink-2: #cddad1;
  --muted: #97a69d;
  --faint: #6d7c73;

  --line: rgba(233, 240, 234, .12);
  --line-strong: rgba(233, 240, 234, .24);

  --pine: #4e9d78;
  --pine-600: #62b28c;
  --pine-300: #7fc0a0;
  --pine-050: rgba(78, 157, 120, .12);

  --brass: #d6ab63;
  --brass-300: #e6c58e;
  --brass-050: rgba(214, 171, 99, .12);

  --night: #060d0a;
  --night-2: #0c1712;

  --shadow-1: 0 1px 2px rgba(0, 0, 0, .4), 0 6px 18px rgba(0, 0, 0, .3);
  --shadow-2: 0 2px 6px rgba(0, 0, 0, .4), 0 24px 60px rgba(0, 0, 0, .45);
  --shadow-3: 0 40px 90px rgba(0, 0, 0, .55);

  color-scheme: dark;
}

/* ---------- 2. Base ------------------------------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.72;
  font-feature-settings: 'ss01', 'cv05';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color .5s var(--ease), color .5s var(--ease);
}

body.is-locked { overflow: hidden; }

/* Grão fino: dá textura de papel técnico sem peso de imagem. */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

[data-theme='dark'] body::after { opacity: .05; }

img,
picture,
svg { display: block; max-width: 100%; }

img { height: auto; }

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

button,
input,
select,
textarea { font: inherit; color: inherit; }

::selection { background: var(--pine); color: #fff; }

:focus-visible {
  outline: 2px solid var(--pine);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 3. Tipografia ------------------------------------------------ */
.display,
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-variation-settings: 'opsz' 48, 'wdth' 100;
  letter-spacing: -.032em;
  line-height: 1.04;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(2.55rem, 5.1vw, 4.25rem); font-variation-settings: 'opsz' 96, 'wdth' 100; letter-spacing: -.038em; }
h2 { font-size: clamp(2.05rem, 3.8vw, 3.35rem); letter-spacing: -.035em; }
h3 { font-size: clamp(1.16rem, 1.45vw, 1.38rem); line-height: 1.24; letter-spacing: -.02em; font-weight: 600; }

/* Palavra em destaque: cor da marca + traco em latao que se desenha */
.accent {
  position: relative;
  font-style: normal;
  color: var(--pine);
  white-space: nowrap;
}

.accent::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: .04em;
  height: .075em;
  border-radius: 99px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .9s var(--ease-out) .5s;
}

.is-in .accent::after,
.hero .accent::after { transform: scaleX(1); }

.band .accent,
.cta .accent,
.section--night .accent { color: #8ad4ac; }

.band .accent::after,
.cta .accent::after,
.section--night .accent::after { background: var(--brass-300); }

.hero .accent::after { transition-delay: 1s; }

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

.lead {
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 1.62;
  color: var(--muted);
  max-width: 60ch;
}

.tag {
  display: inline-flex;
  align-items: flex-start;
  gap: .6em;
  font-family: var(--font-mono);
  font-size: .69rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--pine);
}

.tag::before {
  content: '';
  width: 16px;
  height: 1px;
  margin-top: .78em;
  background: currentColor;
  flex: none;
}

.tag--brass { color: var(--brass); }
.tag--light { color: var(--brass-300); }

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* ---------- 4. Layout ---------------------------------------------------- */
.container {
  width: min(var(--container), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.container--narrow { max-width: 780px; }

.section { padding: clamp(72px, 9vw, 130px) 0; }
.section--tight { padding: clamp(48px, 5vw, 74px) 0; }

.section--tint { background: var(--paper-2); }

.section--night {
  background: var(--night);
  color: #edf3ee;
  position: relative;
  overflow: hidden;
}

.section--night .lead,
.section--night p { color: #a9b9ae; }

.section--night::before {
  content: '';
  position: absolute;
  inset: -40% 30% auto -10%;
  height: 520px;
  background: radial-gradient(ellipse at center, rgba(31, 122, 84, .34), transparent 68%);
  filter: blur(20px);
  pointer-events: none;
}

/* Cabeçalho de seção: coluna de registro + filete + título. */
.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 186px) minmax(0, 1fr);
  margin-bottom: clamp(38px, 5vw, 64px);
}

.sec-head__meta { padding-right: 28px; padding-top: .5em; }

.sec-head__body {
  border-left: 1px solid var(--line);
  padding-left: clamp(24px, 3.4vw, 48px);
}

.section--night .sec-head__body { border-color: rgba(255, 255, 255, .14); }

.sec-head__body .lead { margin-top: 22px; }

.sec-head--center {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}

.sec-head--center .sec-head__meta { padding: 0 0 16px; }
.sec-head--center .sec-head__body { border: 0; padding: 0; max-width: 760px; }
.sec-head--center .lead { margin-inline: auto; }

/* ---------- 5. Botões ---------------------------------------------------- */
.btn {
  --btn-bg: var(--pine);
  --btn-fg: #fff;
  --btn-bd: var(--pine);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65em;
  padding: 15px 26px;
  border: 1px solid var(--btn-bd);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: .93rem;
  font-weight: 600;
  letter-spacing: -.005em;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), background-color .3s, color .3s, border-color .3s;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, .22) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform .75s var(--ease-out);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -10px rgba(15, 74, 52, .55);
}

.btn:hover::before { transform: translateX(120%); }
.btn:active { transform: translateY(0); }

.btn__arrow { transition: transform .4s var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: var(--line-strong);
}

.btn--ghost:hover {
  --btn-bd: var(--pine);
  --btn-fg: var(--pine);
  box-shadow: none;
}

.btn--light { --btn-bg: #fff; --btn-fg: #0c1411; --btn-bd: #fff; }
.btn--light:hover { box-shadow: 0 14px 34px -12px rgba(0, 0, 0, .6); }

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: #fff;
  --btn-bd: rgba(255, 255, 255, .34);
}

.btn--outline:hover { --btn-bd: #fff; box-shadow: none; }

.btn--sm { padding: 11px 19px; font-size: .84rem; }
.btn--block { width: 100%; }

/* ---------- 6. Cabeçalho ------------------------------------------------- */
.skip-link {
  position: fixed;
  top: -80px;
  left: 18px;
  z-index: 10000;
  padding: 12px 20px;
  border-radius: 10px;
  background: var(--pine);
  color: #fff;
  font-weight: 600;
  transition: top .3s var(--ease);
}

.skip-link:focus { top: 18px; }

.progress {
  position: fixed;
  inset: 0 0 auto;
  height: 2px;
  z-index: 1002;
  pointer-events: none;
}

.progress span {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--pine), var(--brass));
  transform-origin: left;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  transition: transform .5s var(--ease), background-color .4s, box-shadow .4s, backdrop-filter .4s;
}

.site-header::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: rgba(242, 245, 242, .82);
  background: color-mix(in srgb, var(--paper) 80%, transparent);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--line);
  transition: opacity .4s var(--ease);
}

.site-header.is-stuck::after { opacity: 1; }
.site-header.is-hidden { transform: translateY(-104%); }

.nav-bar {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 22px;
  transition: height .4s var(--ease);
}

.site-header.is-stuck .nav-bar { height: 68px; }

.brand { flex: none; }

.brand img {
  width: 158px;
  height: 56px;
  object-fit: contain;
  object-position: left center;
  transition: opacity .3s;
}

.brand:hover img { opacity: .78; }

[data-theme='dark'] .site-header::after { background: rgba(10, 18, 14, .84); }

/* No tema escuro o verde clareia: texto escuro garante contraste no botao cheio. */
[data-theme='dark'] .btn { --btn-fg: #06120d; }
[data-theme='dark'] .btn--ghost { --btn-fg: var(--ink); }
[data-theme='dark'] .btn--outline { --btn-fg: #fff; }
[data-theme='dark'] .btn:hover { box-shadow: 0 14px 30px -10px rgba(78, 157, 120, .45); }

[data-theme='dark'] .brand img,
[data-theme='dark'] .footer__logo { filter: brightness(0) invert(1); }

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.7vw, 26px);
}

.nav__link {
  position: relative;
  font-size: .875rem;
  font-weight: 500;
  color: var(--ink-2);
  padding: 6px 0;
  transition: color .3s;
}

.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1.5px;
  width: 100%;
  background: var(--pine);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease-out);
}

.nav__link:hover { color: var(--pine); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__link.is-active { color: var(--pine); }

.nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 4px;
}

.theme-toggle {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  cursor: pointer;
  overflow: hidden;
  transition: border-color .3s, transform .4s var(--ease-out);
}

.theme-toggle:hover { border-color: var(--pine); transform: rotate(18deg); }
.theme-toggle svg { width: 17px; height: 17px; stroke: var(--ink-2); fill: none; stroke-width: 1.6; }
.theme-toggle .icon-moon { display: none; }
[data-theme='dark'] .theme-toggle .icon-sun { display: none; }
[data-theme='dark'] .theme-toggle .icon-moon { display: block; }

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  cursor: pointer;
  position: relative;
}

.burger span {
  position: absolute;
  left: 13px;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: transform .4s var(--ease-out), opacity .25s;
}

.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 22.5px; }
.burger span:nth-child(3) { top: 28px; }

.burger[aria-expanded='true'] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.burger[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded='true'] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ---------- 7. Hero ------------------------------------------------------ */
.hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(48px, 7vw, 92px)) 0 clamp(64px, 8vw, 110px);
  overflow: hidden;
  background:
    radial-gradient(1100px 620px at 88% -8%, var(--pine-050), transparent 62%),
    radial-gradient(760px 520px at -6% 22%, var(--brass-050), transparent 60%),
    var(--paper);
}

.hero__aurora {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__aurora i {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .5;
  animation: drift 18s ease-in-out infinite;
}

.hero__aurora i:nth-child(1) {
  width: 420px; height: 420px;
  right: -80px; top: 40px;
  background: rgba(94, 155, 126, .5);
}

.hero__aurora i:nth-child(2) {
  width: 300px; height: 300px;
  left: 42%; bottom: -120px;
  background: rgba(216, 184, 120, .38);
  animation-delay: -7s;
}

.hero__aurora i:nth-child(3) {
  width: 240px; height: 240px;
  left: -60px; top: 34%;
  background: rgba(15, 74, 52, .22);
  animation-delay: -12s;
}

@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  33% { transform: translate3d(24px, -30px, 0) scale(1.08); }
  66% { transform: translate3d(-18px, 18px, 0) scale(.96); }
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  gap: clamp(36px, 5vw, 76px);
  align-items: center;
}

.hero__title { margin: 20px 0 0; max-width: 17ch; }

/* Revelação por palavra na carga da página. */
.word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

.word > span {
  display: inline-block;
  transform: translateY(105%);
  animation: wordUp .95s var(--ease-out) forwards;
  animation-delay: calc(var(--w, 0) * 70ms + 120ms);
}

@keyframes wordUp { to { transform: translateY(0); } }

.hero__copy > p {
  margin-top: 26px;
  font-size: clamp(1.02rem, 1.3vw, 1.14rem);
  color: var(--muted);
  max-width: 54ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .06em;
  color: var(--muted);
  text-transform: uppercase;
}

.hero__facts span { display: inline-flex; align-items: center; gap: 8px; }

.hero__facts span::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brass);
}

/* -- Assinatura: painel de verificação sobre a fotografia -- */
.hero__media {
  position: relative;
  margin: 0;
}

.hero__frame {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-2);
  clip-path: inset(0 0 0 0 round var(--r-xl));
}

.hero__frame img,
.hero__frame video {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transform: scale(1.06);
  will-change: transform;
}

.hero__frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(190deg, rgba(8, 17, 13, .06) 0%, rgba(8, 17, 13, .5) 100%);
}

.panel {
  position: absolute;
  left: clamp(14px, 2.5vw, 26px);
  right: clamp(14px, 2.5vw, 26px);
  bottom: clamp(14px, 2.5vw, 26px);
  z-index: 2;
  padding: 20px 22px 18px;
  border-radius: var(--r-md);
  border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  color: #0c1411;
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .5);
}

[data-theme='dark'] .panel {
  background: rgba(14, 24, 19, .82);
  border-color: rgba(255, 255, 255, .13);
  color: #e9f0ea;
}

.panel__head {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #3a4a42;
  margin-bottom: 14px;
}

[data-theme='dark'] .panel__head { color: #9db0a5; }

.panel__pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(28, 122, 75, .6);
  animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 9px rgba(28, 122, 75, 0); }
  100% { box-shadow: 0 0 0 0 rgba(28, 122, 75, 0); }
}

.panel__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.panel__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .85rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(6px);
  animation: itemIn .6s var(--ease-out) forwards;
  animation-delay: calc(var(--i) * 260ms + 900ms);
}

@keyframes itemIn { to { opacity: 1; transform: none; } }

.panel__list svg {
  width: 19px;
  height: 19px;
  flex: none;
  fill: none;
  stroke: var(--ok);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.panel__list path {
  stroke-dasharray: 22;
  stroke-dashoffset: 22;
  animation: draw .55s var(--ease-out) forwards;
  animation-delay: calc(var(--i) * 260ms + 1080ms);
}

@keyframes draw { to { stroke-dashoffset: 0; } }

.panel__foot {
  margin-top: 15px;
  padding-top: 13px;
  border-top: 1px solid rgba(12, 20, 17, .12);
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .05em;
  color: #4c5a52;
}

[data-theme='dark'] .panel__foot { border-color: rgba(255, 255, 255, .12); color: #9db0a5; }

.panel__score {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--pine);
  letter-spacing: -.02em;
}

/* Selo giratório em latão */
.seal {
  position: absolute;
  top: -26px;
  left: -26px;
  z-index: 3;
  width: clamp(92px, 11vw, 124px);
  height: clamp(92px, 11vw, 124px);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
}

.seal svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 26s linear infinite; }
.seal text { font-family: var(--font-mono); font-size: 7.2px; fill: var(--brass); text-transform: uppercase; }

.seal__core {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 600;
  color: var(--pine);
  line-height: 1;
}

.seal__core small {
  display: block;
  font-family: var(--font-mono);
  font-size: .5rem;
  letter-spacing: .14em;
  color: var(--muted);
  margin-bottom: 2px;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 8. Faixa de indicadores -------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow-1);
}

.stat {
  padding: clamp(24px, 3vw, 36px);
  border-right: 1px solid var(--line);
  transition: background-color .4s var(--ease);
}

.stat:last-child { border-right: 0; }
.stat:hover { background: var(--pine-050); }

.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.4vw, 3rem);
  font-weight: 500;
  letter-spacing: -.03em;
  color: var(--pine);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.stat__num sup {
  align-self: flex-start;
  margin-top: .1em;
  font-family: var(--font-mono);
  font-size: clamp(1rem, 1.5vw, 1.35rem);
  font-weight: 400;
  line-height: 1;
  color: var(--brass);
  top: 0;
}

.stat__label {
  margin-top: 12px;
  font-size: .87rem;
  color: var(--muted);
  line-height: 1.45;
}

/* ---------- 9. Cartões de diferencial (bento) ---------------------------- */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card {
  position: relative;
  padding: clamp(24px, 2.6vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow: hidden;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .4s;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), var(--pine-050), transparent 65%);
  transition: opacity .5s var(--ease);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--pine) 34%, transparent);
  box-shadow: var(--shadow-2);
}

.card:hover::before { opacity: 1; }

.card__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--pine-050);
  color: var(--pine);
  margin-bottom: 20px;
  transition: transform .5s var(--ease-out);
}

.card:hover .card__icon { transform: scale(1.08) rotate(-4deg); }
.card__icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.card h3 { margin-bottom: 9px; }
.card p { color: var(--muted); font-size: .96rem; margin: 0; }

/* ---------- 10. Bloco institucional -------------------------------------- */
.about {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(36px, 5.5vw, 82px);
  align-items: center;
}

.about__media { position: relative; }

.about__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-2);
}

.about__note {
  position: absolute;
  right: clamp(-10px, -1vw, 0px);
  bottom: -30px;
  max-width: 268px;
  padding: 22px 24px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-2);
}

.about__note strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 500;
  letter-spacing: -.02em;
}

.about__note span { display: block; margin-top: 6px; font-size: .84rem; color: var(--muted); line-height: 1.5; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 30px;
}

.chips span {
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: .82rem;
  font-weight: 500;
  transition: border-color .3s, color .3s, transform .35s var(--ease-out);
}

.chips span:hover { border-color: var(--pine); color: var(--pine); transform: translateY(-2px); }

/* ---------- 11. Essência ------------------------------------------------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.pillar {
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}

.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.pillar h3 { margin-bottom: 12px; }
.pillar p { color: var(--muted); font-size: .96rem; margin: 0; }

.pillar__rule {
  width: 34px;
  height: 2px;
  background: var(--brass);
  margin-bottom: 22px;
  transition: width .5s var(--ease-out);
}

.pillar:hover .pillar__rule { width: 62px; }

/* ---------- 12. Serviços ------------------------------------------------- */
.services { border-top: 1px solid var(--line); }

.service {
  display: grid;
  grid-template-columns: minmax(0, 186px) minmax(0, 1fr) auto;
  gap: clamp(20px, 3vw, 48px);
  align-items: start;
  padding: clamp(26px, 3.2vw, 40px) 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  isolation: isolate;
  transition: background-color .45s var(--ease);
}

.service::before {
  content: '';
  position: absolute;
  left: -24px;
  right: -24px;
  top: 0;
  bottom: 0;
  border-radius: var(--r-md);
  background: var(--surface);
  opacity: 0;
  z-index: -1;
  transition: opacity .45s var(--ease);
}

.service:hover::before { opacity: 1; }

.service__kind {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brass);
  padding-top: .5em;
}

.service h3 { margin-bottom: 10px; transition: transform .5s var(--ease-out); }
.service:hover h3 { transform: translateX(6px); }
.service p { color: var(--muted); font-size: .97rem; margin: 0; max-width: 60ch; }

.service__items {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 16px;
  list-style: none;
  padding: 0;
}

.service__items li {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .03em;
  padding: 5px 11px;
  border-radius: 6px;
  background: var(--paper-2);
  color: var(--muted);
}

.service__go {
  align-self: center;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--pine);
  flex: none;
  transition: background-color .4s var(--ease), color .4s, border-color .4s, transform .4s var(--ease-out);
}

.service:hover .service__go {
  background: var(--pine);
  border-color: var(--pine);
  color: #fff;
  transform: rotate(-45deg);
}

.service__go svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 13. Soluções (bloco escuro) ---------------------------------- */
.solutions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
}

.solution {
  padding: clamp(26px, 3vw, 38px);
  background: var(--night);
  transition: background-color .45s var(--ease);
}

.solution:hover { background: var(--night-2); }
.solution h3 { color: #f2f7f3; margin-bottom: 12px; }
.solution p { color: #a8b9ae; font-size: .95rem; margin: 0; }

.solution__mark {
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .16em;
  color: var(--brass-300);
  display: block;
  margin-bottom: 18px;
}

/* ---------- 14. Método (linha do tempo) ---------------------------------- */
.method { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }

.method__rail {
  position: absolute;
  left: 24px;
  right: 24px;
  top: 25px;
  height: 1px;
  background: var(--line);
}

.method__rail i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--pine), var(--brass));
  transition: width 1.4s var(--ease-out);
}

.step { position: relative; padding-top: 66px; }

.step__dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 600;
  color: var(--pine);
  transition: background-color .4s, color .4s, border-color .4s, transform .5s var(--ease-out);
}

.section--tint .step__dot { background: var(--paper-2); }

.step:hover .step__dot {
  background: var(--pine);
  border-color: var(--pine);
  color: #fff;
  transform: scale(1.08);
}

.step h3 { font-size: 1.06rem; margin-bottom: 8px; }
.step p { font-size: .92rem; color: var(--muted); margin: 0; }

.modes { display: flex; flex-wrap: wrap; gap: 9px; margin-top: clamp(36px, 4vw, 56px); }

.modes span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px dashed var(--line-strong);
  font-family: var(--font-mono);
  font-size: .73rem;
  letter-spacing: .04em;
  color: var(--muted);
}

/* ---------- 15. Públicos ------------------------------------------------- */
.audiences { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }

.audience {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  font-size: .93rem;
  font-weight: 500;
  transition: transform .45s var(--ease-out), border-color .35s, box-shadow .45s;
}

.audience:hover { transform: translateY(-3px); border-color: var(--pine); box-shadow: var(--shadow-1); }

.audience svg {
  width: 17px;
  height: 17px;
  flex: none;
  fill: none;
  stroke: var(--brass);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- 16. Equipe --------------------------------------------------- */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2vw, 26px); }

.person {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow: hidden;
  transition: transform .55s var(--ease-out), box-shadow .55s var(--ease-out), border-color .4s;
}

.person:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); border-color: color-mix(in srgb, var(--pine) 30%, transparent); }

.person__photo { position: relative; overflow: hidden; background: var(--paper-2); }

.person__photo img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  object-position: var(--focus, 50%) center;
  transition: transform 1s var(--ease-out);
}

.person:hover .person__photo img { transform: scale(1.05); }

.person__photo::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 55%;
  background: linear-gradient(to top, rgba(8, 17, 13, .72), transparent);
}

.person__crn {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .1em;
  color: #fff;
  padding: 5px 10px;
  border-radius: 6px;
  background: rgba(8, 17, 13, .5);
  border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(6px);
}

.person__badge {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #2a1f08;
  padding: 6px 11px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brass-300), #f0dcae);
  box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .7);
}

.person__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.person__body h3 { font-size: 1.2rem; margin-bottom: 6px; }

.person__role {
  font-family: var(--font-mono);
  font-size: .69rem;
  letter-spacing: .06em;
  color: var(--pine);
  text-transform: uppercase;
  line-height: 1.5;
  margin-bottom: 14px;
}

.person__body > p { font-size: .93rem; color: var(--muted); margin: 0; }

.bio { margin-top: auto; padding-top: 18px; }

.bio summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: .82rem;
  font-weight: 600;
  color: var(--pine);
}

.bio summary::-webkit-details-marker { display: none; }

.bio summary i {
  width: 26px;
  height: 26px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  font-style: normal;
  font-size: 1.05rem;
  line-height: 1;
  transition: transform .45s var(--ease-out), background-color .35s, color .35s;
}

.bio[open] summary i { transform: rotate(45deg); background: var(--pine); border-color: var(--pine); color: #fff; }

.bio__text { overflow: hidden; }
.bio__text > div { padding-top: 15px; }
.bio__text p { font-size: .92rem; color: var(--muted); }

/* ---------- 17. Clientes (marquee) --------------------------------------- */
.marquee {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding: 6px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: slide 34s linear infinite;
}

.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee--rev .marquee__track { animation-direction: reverse; animation-duration: 42s; }

@keyframes slide { to { transform: translateX(-50%); } }

.logo-cell {
  width: 208px;
  height: 96px;
  flex: none;
  display: grid;
  place-items: center;
  border-right: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .1em;
  color: var(--faint);
  transition: color .4s, background-color .4s;
}

.logo-cell:hover { color: var(--pine); background: var(--surface); }

.note {
  margin-top: 20px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: .71rem;
  color: var(--faint);
}

/* ---------- 18. Perguntas frequentes ------------------------------------- */
.faq { border-top: 1px solid var(--line); }

.faq__item { border-bottom: 1px solid var(--line); }

.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 4px;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  font-weight: 500;
  letter-spacing: -.015em;
  transition: color .3s, padding-left .45s var(--ease-out);
}

.faq__q:hover { color: var(--pine); padding-left: 12px; }

.faq__q i {
  width: 30px;
  height: 30px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-style: normal;
  font-family: var(--font-body);
  font-size: 1.15rem;
  line-height: 1;
  transition: transform .45s var(--ease-out), background-color .35s, color .35s, border-color .35s;
}

.faq__item.is-open .faq__q i { transform: rotate(135deg); background: var(--pine); border-color: var(--pine); color: #fff; }

.faq__a { overflow: hidden; height: 0; }
.faq__a > div { padding: 0 60px 28px 4px; color: var(--muted); font-size: .99rem; max-width: 68ch; }

/* ---------- 19. Chamada final -------------------------------------------- */
.cta {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  padding: clamp(38px, 5vw, 68px);
  background: linear-gradient(140deg, #0b1a13 0%, #133326 55%, #0d2119 100%);
  color: #fff;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.cta::before {
  content: '';
  position: absolute;
  width: 560px;
  height: 560px;
  right: -160px;
  top: -220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(178, 133, 58, .32), transparent 62%);
  animation: drift 20s ease-in-out infinite;
}

.cta > * { position: relative; }
.cta h2 { margin: 18px 0 16px; }
.cta p { color: #b3c4b8; max-width: 58ch; }
.cta__actions { display: flex; flex-direction: column; gap: 11px; min-width: 250px; }

/* ---------- 20. Contato -------------------------------------------------- */
.contact {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(36px, 5vw, 76px);
}

.contact__links { display: grid; gap: 2px; margin-top: 36px; }

.contact__link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
  transition: padding-left .45s var(--ease-out), border-color .35s;
}

.contact__link:hover { padding-left: 12px; border-color: var(--pine); }

.contact__link svg {
  width: 19px;
  height: 19px;
  flex: none;
  fill: none;
  stroke: var(--pine);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact__link strong {
  display: block;
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 500;
}

.contact__link span { display: block; font-size: .98rem; font-weight: 500; margin-top: 3px; }

.form-card {
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: var(--shadow-1);
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid--full { grid-template-columns: 1fr; }

.field { position: relative; display: block; margin-bottom: 14px; }

.field > span {
  position: absolute;
  left: 15px;
  top: 15px;
  font-size: .93rem;
  color: var(--faint);
  pointer-events: none;
  transform-origin: left top;
  transition: transform .28s var(--ease-out), color .28s;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 25px 15px 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--surface-2);
  outline: none;
  transition: border-color .3s, box-shadow .3s, background-color .3s;
}

.field textarea { resize: vertical; min-height: 128px; }

.field select { appearance: none; cursor: pointer; }

.field.is-select::after {
  content: '';
  position: absolute;
  right: 18px;
  top: 26px;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg);
  pointer-events: none;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--pine);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--pine) 16%, transparent);
  background: var(--surface);
}

.field input:focus + span,
.field select:focus + span,
.field textarea:focus + span,
.field input:not(:placeholder-shown) + span,
.field textarea:not(:placeholder-shown) + span,
.field.is-filled > span {
  transform: translateY(-9px) scale(.76);
  color: var(--pine);
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea { border-color: var(--warn); }

.field__error {
  display: none;
  margin-top: 6px;
  font-size: .76rem;
  color: var(--warn);
}

.field.is-invalid .field__error { display: block; }

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 6px 0 20px;
  font-size: .86rem;
  color: var(--muted);
}

.consent input { width: 19px; height: 19px; flex: none; margin-top: 2px; accent-color: var(--pine); }
.consent a { color: var(--pine); text-decoration: underline; text-underline-offset: 2px; }

.form-note { margin-top: 14px; text-align: center; font-size: .76rem; color: var(--faint); }

.hp { position: absolute !important; left: -10000px !important; }

.alert {
  display: flex;
  gap: 12px;
  padding: 15px 17px;
  border-radius: var(--r-sm);
  margin-bottom: 20px;
  font-size: .9rem;
  border: 1px solid transparent;
  animation: itemIn .5s var(--ease-out) both;
}

.alert--ok { background: var(--pine-050); border-color: color-mix(in srgb, var(--pine) 30%, transparent); color: var(--pine); }
.alert--err { background: rgba(166, 70, 47, .09); border-color: rgba(166, 70, 47, .3); color: var(--warn); }

.btn.is-sending { pointer-events: none; opacity: .75; }

/* ---------- 21. Rodapé --------------------------------------------------- */
.site-footer { background: var(--night); color: #b8c7bd; padding: clamp(56px, 7vw, 92px) 0 28px; }

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: clamp(28px, 4vw, 52px);
}

.footer__logo { width: 168px; height: 60px; object-fit: contain; object-position: left; filter: brightness(0) invert(1); }
.site-footer p { margin-top: 20px; max-width: 34ch; font-size: .92rem; color: #8fa295; }

.footer__grid h2 {
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brass-300);
  margin-bottom: 18px;
}

.footer__grid a {
  display: block;
  margin: 9px 0;
  font-size: .92rem;
  color: #a9bcae;
  transition: color .3s, transform .35s var(--ease-out);
}

.footer__grid a:hover { color: #fff; transform: translateX(4px); }

.footer__bottom {
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .04em;
  color: #7d8f83;
}

/* ---------- 22. Ações flutuantes ----------------------------------------- */
.fab-stack {
  position: fixed;
  right: clamp(14px, 2vw, 26px);
  bottom: clamp(14px, 2vw, 26px);
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.fab-wa {
  display: inline-flex;
  align-items: center;
  gap: 0;
  height: 54px;
  padding: 0 17px;
  border-radius: 999px;
  background: #128c4b;
  color: #fff;
  box-shadow: 0 14px 34px -12px rgba(0, 0, 0, .6);
  overflow: hidden;
  transition: gap .45s var(--ease-out), padding .45s var(--ease-out), transform .4s var(--ease-out);
}

.fab-wa svg { width: 24px; height: 24px; fill: currentColor; flex: none; }

.fab-wa b {
  max-width: 0;
  white-space: nowrap;
  font-size: .88rem;
  font-weight: 600;
  overflow: hidden;
  transition: max-width .45s var(--ease-out);
}

.fab-wa:hover { gap: 10px; transform: translateY(-3px); }
.fab-wa:hover b { max-width: 190px; }

.to-top {
  position: relative;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px) scale(.9);
  pointer-events: none;
  transition: opacity .4s var(--ease), transform .4s var(--ease-out);
}

.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg.ring { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); transform: rotate(-90deg); }
.to-top .ring circle { fill: none; stroke: var(--pine); stroke-width: 2; stroke-linecap: round; }
.to-top .arrow { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 23. Páginas internas ----------------------------------------- */
.page-head { padding: calc(var(--header-h) + clamp(52px, 7vw, 92px)) 0 clamp(28px, 4vw, 48px); }
.page-body { padding-bottom: clamp(64px, 8vw, 110px); }
.page-body h2 { font-size: clamp(1.35rem, 2vw, 1.7rem); margin: 44px 0 12px; }
.page-body p { color: var(--muted); }
.page-body a { color: var(--pine); text-decoration: underline; text-underline-offset: 2px; }

.updated {
  margin-top: 52px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: .74rem;
  color: var(--faint);
}

.error-page { min-height: 74vh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 60px) 0 90px; }

.error-code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 15vw, 10rem);
  font-weight: 500;
  letter-spacing: -.05em;
  line-height: 1;
  background: linear-gradient(120deg, var(--pine), var(--brass));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- 24. Sistema de revelação ------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  filter: blur(6px);
  transition:
    opacity .85s var(--ease-out) calc(var(--d, 0) * 85ms),
    transform .85s var(--ease-out) calc(var(--d, 0) * 85ms),
    filter .85s var(--ease-out) calc(var(--d, 0) * 85ms);
  will-change: opacity, transform;
}

[data-reveal='left'] { transform: translate3d(-30px, 0, 0); }
[data-reveal='right'] { transform: translate3d(30px, 0, 0); }
[data-reveal='scale'] { transform: scale(.965); }

[data-reveal].is-in {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

.nav-overlay { display: none; }

.no-js .faq__a { height: auto; }
.no-js .method__rail i { width: 100%; }

.no-js [data-reveal],
.no-js .word > span,
.no-js .panel__list li { opacity: 1; transform: none; filter: none; animation: none; }
.no-js .panel__list path { stroke-dashoffset: 0; animation: none; }

/* ---------- 25. Responsivo ----------------------------------------------- */
@media (max-width: 1120px) {
  .nav__link { font-size: .82rem; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .method { grid-template-columns: repeat(3, 1fr); row-gap: 34px; }
  .method__rail { display: none; }
  .team { grid-template-columns: repeat(2, 1fr); }
  .audiences { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 980px) {
  :root { --header-h: 74px; }

  .burger { display: block; order: 3; }

  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(400px, 88vw);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: calc(var(--header-h) + 26px) 30px 34px;
    background: var(--surface);
    border-left: 1px solid var(--line);
    box-shadow: -30px 0 70px rgba(0, 0, 0, .16);
    transform: translateX(102%);
    transition: transform .55s var(--ease-out);
    overflow-y: auto;
    margin: 0;
  }

  .nav.is-open { transform: none; }

  .nav__link {
    font-size: 1.28rem;
    font-family: var(--font-display);
    letter-spacing: -.02em;
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    opacity: 0;
    transform: translateX(18px);
  }

  .nav.is-open .nav__link {
    opacity: 1;
    transform: none;
    transition: opacity .5s var(--ease-out) calc(var(--n) * 55ms + 120ms), transform .5s var(--ease-out) calc(var(--n) * 55ms + 120ms);
  }

  .nav__link::after { display: none; }
  .nav__actions { margin: 26px 0 0; flex-direction: row-reverse; justify-content: flex-end; }
  .nav__actions .btn { flex: 1; }

  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(8, 17, 13, .45);
    backdrop-filter: blur(3px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .45s var(--ease);
  }

  .nav-overlay.is-open { opacity: 1; pointer-events: auto; }

  .hero__grid { grid-template-columns: 1fr; gap: 52px; }
  .hero__title { max-width: 100%; }
  .hero__media { max-width: 620px; }
  .hero__frame img,
  .hero__frame video { aspect-ratio: 5 / 4; }

  .sec-head { grid-template-columns: 1fr; }
  .sec-head__meta { padding: 0 0 16px; }
  .sec-head__body { border-left: 0; padding-left: 0; }

  .bento,
  .pillars,
  .solutions { grid-template-columns: repeat(2, 1fr); }

  .about,
  .contact,
  .cta { grid-template-columns: 1fr; }

  .about__note { position: static; margin-top: 18px; max-width: none; }
  .service { grid-template-columns: 1fr auto; }
  .service__kind { grid-column: 1 / -1; padding: 0 0 10px; }
  .cta__actions { flex-direction: row; flex-wrap: wrap; }
  .cta__actions .btn { flex: 1 1 200px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  .bento,
  .pillars,
  .solutions,
  .team,
  .form-grid { grid-template-columns: 1fr; }
  .audiences { grid-template-columns: repeat(2, 1fr); }
  .method { grid-template-columns: 1fr; row-gap: 8px; }
  .step { padding: 0 0 22px 70px; }
  .step__dot { width: 46px; height: 46px; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .hero__frame img,
  .hero__frame video { aspect-ratio: 3 / 4; }
  .panel { padding: 16px 17px 14px; }
  .panel__list { gap: 8px; }
  .panel__list li { font-size: .81rem; }
  .panel__score { font-size: 1.3rem; }
  .seal { width: 76px; height: 76px; top: -16px; left: -6px; }
  .faq__a > div { padding-right: 10px; }
  .footer__grid { grid-template-columns: 1fr; }
  .fab-wa b { display: none; }
  .fab-wa { padding: 0 15px; }
}

/* ---------- 26. Movimento reduzido --------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  [data-reveal] { opacity: 1; transform: none; filter: none; }
  .word > span { transform: none; }
  .panel__list li { opacity: 1; transform: none; }
  .panel__list path { stroke-dashoffset: 0; }
  .hero__frame img { transform: none; }
}

@media print {
  .site-header, .fab-stack, .progress, .marquee, body::after { display: none !important; }
  body { background: #fff; }
}

/* ==========================================================================
   27. Camada de movimento avançada
   ========================================================================== */

/* ---- 27.1 Revelação de títulos palavra a palavra ------------------------ */
.rw {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: .04em;
  margin-bottom: -.04em;
}

.rw > i {
  display: inline-block;
  font-style: inherit;
  transform: translateY(112%);
  transition: transform .95s var(--ease-out) calc(var(--i, 0) * 48ms);
}

.is-in .rw > i,
.no-js .rw > i { transform: none; }

/* ---- 27.2 Faixa cinematográfica ---------------------------------------- */
.band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(430px, 62vh, 640px);
  display: grid;
  align-items: center;
  color: #fff;
}

.band__media {
  position: absolute;
  inset: -12% 0;
  z-index: -2;
  width: 100%;
  height: 124%;
  object-fit: cover;
  will-change: transform;
}

.band::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(6, 16, 11, .88) 0%, rgba(6, 16, 11, .7) 44%, rgba(6, 16, 11, .26) 100%),
    linear-gradient(to top, rgba(6, 16, 11, .7), transparent 55%);
}

.band__inner { padding: clamp(56px, 8vw, 96px) 0; max-width: 760px; }
.band__inner h2 { color: #fff; margin: 20px 0 20px; }
.band__inner p { color: #c3d3c8; max-width: 52ch; font-size: clamp(1rem, 1.3vw, 1.12rem); }

.band__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .18);
  font-family: var(--font-mono);
  font-size: .73rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #b6c8bb;
}

.band__meta span { display: inline-flex; align-items: center; gap: 9px; }
.band__meta span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--brass-300); }

.band__toggle {
  position: absolute;
  right: clamp(16px, 3vw, 34px);
  bottom: clamp(16px, 3vw, 34px);
  z-index: 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  background: rgba(6, 16, 11, .45);
  backdrop-filter: blur(8px);
  color: #fff;
  cursor: pointer;
  transition: background-color .3s, border-color .3s, transform .4s var(--ease-out);
}

.band__toggle:hover { transform: scale(1.08); border-color: #fff; }
.band__toggle svg { width: 14px; height: 14px; fill: currentColor; }
.band__toggle .ico-play { display: none; }
.band__toggle.is-paused .ico-play { display: block; }
.band__toggle.is-paused .ico-pause { display: none; }

/* ---- 27.3 Inclinação 3D sutil ------------------------------------------ */
.tilt {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0px));
  transform-style: preserve-3d;
}

.card.tilt:hover,
.person.tilt:hover,
.pillar.tilt:hover { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-4px); }

/* ---- 27.4 Facho de luz na seção escura --------------------------------- */
.section--night { --sx: 50%; --sy: 0%; }

.section--night .spot {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(520px circle at var(--sx) var(--sy), rgba(120, 200, 160, .13), transparent 62%);
  transition: opacity .6s var(--ease);
}

.section--night:hover .spot { opacity: 1; }
.section--night .container { position: relative; z-index: 1; }

/* ---- 27.5 Etapas que acendem conforme a rolagem ------------------------- */
.step { transition: opacity .6s var(--ease); }
.step__dot { position: absolute; overflow: hidden; }

.step__dot::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 50%;
  background: var(--pine);
  transform: scale(0);
  transition: transform .55s var(--ease-out);
}

.step.is-active .step__dot { color: #fff; border-color: var(--pine); }
.step.is-active .step__dot::before { transform: scale(1); }
.step.is-active h3 { color: var(--ink); }

/* ---- 27.6 Abertura em cortina da mídia --------------------------------- */
.wipe { clip-path: inset(0 0 100% 0); transition: clip-path 1.15s var(--ease-out); }
.is-in .wipe,
.wipe.is-in { clip-path: inset(0 0 0 0); }
.no-js .wipe { clip-path: none; }

/* ---- 27.7 Botão magnético ---------------------------------------------- */
.btn { transform: translate(var(--mx-b, 0px), var(--my-b, 0px)); }

.btn:hover {
  transform: translate(var(--mx-b, 0px), calc(var(--my-b, 0px) - 2px));
}

/* ---- 27.8 Transição entre páginas -------------------------------------- */
@view-transition { navigation: auto; }

::view-transition-old(root) { animation: vtOut .3s var(--ease) both; }
::view-transition-new(root) { animation: vtIn .45s var(--ease-out) both; }

@keyframes vtOut { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(14px); } }

/* ---- 27.9 Ajustes finos ------------------------------------------------ */
@media (max-width: 700px) {
  .band { min-height: 0; }
  .band__inner { padding: 64px 0 76px; }
  .band__toggle { right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .rw > i { transform: none; }
  .accent::after { transform: scaleX(1); }
  .wipe { clip-path: none; }
  .band__media { position: absolute; }
  .tilt { transform: none !important; }
  ::view-transition-old(root),
  ::view-transition-new(root) { animation: none; }
}
