/* =========================================================================
   EQUILÍBRIO PREDITIVA — Estilos
   Identidade: cores oficiais do logotipo (APOIO/equilibrio-logo-full.svg)
   ========================================================================= */

:root {
  /* Marca (oficial) */
  --navy: #273544;
  --gold: #ff7900;
  --gold-deep: #ff7900;
  /* Derivadas */
  --navy-700: #1f2b38;
  --navy-800: #18212b;
  --navy-900: #10161d;
  --navy-950: #0b1016;
  --ink: #15191f;
  --steel: #343b44;
  --muted: #5d6874;
  --mist: #eef0f2;
  --paper: #ffffff;
  --line: rgba(39, 53, 68, .12);
  --line-dark: rgba(255, 255, 255, .1);

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --gutter: clamp(20px, 5vw, 72px);
  --maxw: 1320px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--navy-900); padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

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

/* ---------- Tipografia ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--navy);
}
.eyebrow i { width: 28px; height: 2px; background: var(--gold); display: block; }
.eyebrow--dark { color: rgba(255, 255, 255, .72); }

.display {
  font-size: clamp(38px, 5.4vw, 84px);
  line-height: 1.02;
  letter-spacing: -.035em;
  font-weight: 700;
  color: #fff;
  margin-top: 22px;
  text-wrap: balance;
}
.display em { font-style: normal; color: var(--gold); }
.display--ink { color: var(--navy-900); }
.display--ink em { color: var(--gold-deep); }

/* ---------- Botões ---------- */
.btn {
  --bg: var(--navy); --fg: #fff;
  display: inline-flex; align-items: center; gap: 14px;
  padding: 17px 26px 17px 28px;
  border-radius: 999px; border: 0; cursor: pointer;
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: 15px; letter-spacing: .01em; text-decoration: none;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--gold); transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(255, 121, 0, .55); }
.btn:hover::before { transform: none; }
.btn:hover { color: var(--navy-900); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { --bg: var(--navy); }

/* =========================================================================
   CABEÇALHO
   ========================================================================= */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  --hc: var(--navy); --hw: var(--navy);
  transition: background-color .4s, backdrop-filter .4s, box-shadow .4s;
}
.site-header[data-on="dark"] { --hc: #fff; --hw: #fff; }
.site-header.is-scrolled { background: rgba(255, 255, 255, .72); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.site-header.is-scrolled[data-on="dark"] { background: rgba(11, 16, 22, .62); box-shadow: 0 1px 0 var(--line-dark); }
.site-header__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 var(--gutter); max-width: calc(var(--maxw) + var(--gutter) * 2); margin: 0 auto; }
.brand { display: block; width: 168px; }
.brand__logo { display: block; }
.brand__logo svg { width: 100%; height: auto; display: block; }
.logo-mark { fill: var(--gold); }
.logo-word { fill: var(--hw, var(--navy)); transition: fill .4s; }
.brand__logo--light .logo-word { fill: #fff; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav a { color: var(--hc); text-decoration: none; font-size: 14px; font-weight: 600; letter-spacing: .01em; position: relative; transition: color .4s; }
.nav a:not(.nav__cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav a:not(.nav__cta):hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { padding: 10px 18px; border-radius: 999px; border: 1px solid currentColor; transition: background .3s, color .3s, border-color .3s !important; }
.nav__cta:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-900) !important; }

.burger { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--hc); transition: transform .4s var(--ease), background .4s; }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.nav-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* =========================================================================
   01 · HERO — FrameScrollBanner
   ========================================================================= */
.fsb {
  position: relative;
  /* 100 (cena) + 300 (frames) + 100 (transição p/ próxima seção) */
  height: 500vh; height: 500svh;
  background: #fff;
}
.fsb__stage {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
  background: var(--navy-950);
}
.fsb__scene {
  position: absolute; inset: 0; overflow: hidden;
  background: var(--fsb-bg, #fff);
  transform-origin: 50% 35%;
  will-change: transform;
}
.fsb__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.fsb__grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(39, 53, 68, .055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(39, 53, 68, .055) 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 18% 50%, #000 0%, transparent 75%);
          mask-image: radial-gradient(ellipse 60% 70% at 18% 50%, #000 0%, transparent 75%);
}
.fsb__shade { position: absolute; inset: 0; background: var(--navy-950); opacity: 0; pointer-events: none; }

.fsb__copy {
  position: absolute; z-index: 2;
  left: var(--gutter); top: 0; bottom: 0;
  width: min(35vw, 560px);
  display: grid; align-items: center;
  pointer-events: none;
}
.fsb__step { grid-area: 1 / 1; visibility: hidden; }
.fsb__step.is-active { pointer-events: auto; }
.fsb__step [data-line] { will-change: transform, opacity; transform-origin: 0 50%; }
.fsb__title {
  margin-top: 22px;
  font-size: clamp(36px, 4.3vw, 70px);
  line-height: 1.03; letter-spacing: -.038em; font-weight: 800;
  color: var(--navy-900);
}
.fsb__title em { font-style: normal; color: var(--gold-deep); display: inline-block; }
.fsb__title--xl { font-size: clamp(42px, 5.4vw, 88px); }
.fsb__text { margin-top: 22px; max-width: 30em; font-size: clamp(16px, 1.15vw, 19px); color: var(--muted); line-height: 1.6; }
.fsb__step .btn { margin-top: 34px; }

/* Entrada da primeira etapa no carregamento */
.js .fsb.is-ready .fsb__step:first-child [data-line] { animation: fsbIn 1.2s var(--ease) both; }
.js .fsb.is-ready .fsb__step:first-child [data-line]:nth-child(2) { animation-delay: .12s; }
.js .fsb.is-ready .fsb__step:first-child [data-line]:nth-child(3) { animation-delay: .24s; }
@keyframes fsbIn { from { opacity: 0; transform: translate3d(0, 40px, 0); } }

/* HUD de progresso */
.fsb__hud {
  position: absolute; z-index: 2; left: var(--gutter); bottom: clamp(24px, 5vh, 48px);
  display: flex; align-items: center; gap: 18px; color: var(--navy);
}
.fsb__count { font-size: 12px; color: var(--muted); }
.fsb__count b { color: var(--navy-900); font-weight: 500; }
.fsb__rail { display: none; }
.fsb__ticks { display: flex; gap: 6px; }
.fsb__ticks li {
  position: relative; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(39, 53, 68, .42); padding-top: 12px; width: 108px; transition: color .5s;
}
.fsb__ticks li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: rgba(39, 53, 68, .14); }
.fsb__ticks li::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.fsb__ticks li.is-on::after { transform: scaleX(1); }
.fsb__ticks li.is-current { color: var(--navy-900); }

.fsb__cue {
  position: absolute; z-index: 2; right: var(--gutter); bottom: clamp(24px, 5vh, 48px);
  display: flex; align-items: center; gap: 12px; color: var(--muted);
}
.fsb__mouse { width: 22px; height: 34px; border: 1.5px solid currentColor; border-radius: 12px; position: relative; }
.fsb__mouse i { position: absolute; left: 50%; top: 7px; width: 2px; height: 7px; margin-left: -1px; border-radius: 2px; background: var(--gold); animation: cue 1.8s var(--ease-io) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(10px); opacity: 0; } }

/* =========================================================================
   02 · SOBRE
   ========================================================================= */
.about {
  position: relative; z-index: 3;
  margin-top: -100vh; margin-top: -100svh;
  background:
    radial-gradient(ellipse 70% 50% at 85% 0%, rgba(255, 121, 0, .08), transparent 60%),
    var(--navy-950);
  color: #fff;
  border-radius: 32px 32px 0 0;
  padding: clamp(96px, 14vh, 160px) 0 clamp(100px, 14vh, 170px);
  box-shadow: 0 -40px 80px -20px rgba(0, 0, 0, .35);
}
.about__top {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 32px clamp(40px, 6vw, 112px); align-items: end;
}
.about__intro .display { margin-bottom: 0; }
.lead { font-size: clamp(18px, 1.3vw, 21px); line-height: 1.65; color: rgba(255, 255, 255, .78); font-weight: 500; letter-spacing: -.005em; padding-bottom: .35em; }

.about__media {
  margin-top: clamp(56px, 7vw, 104px);
  display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: clamp(16px, 2vw, 28px);
}
.about__fig { margin: 0; }
.plate {
  position: relative; overflow: hidden;
  height: clamp(260px, 30vw, 470px);
  background: linear-gradient(160deg, #fff, #e9ecef);
  border-radius: 18px;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7);
}
.plate img {
  position: absolute; left: 0; top: -8%;
  width: 100%; height: 116%; object-fit: cover;
  mix-blend-mode: multiply; will-change: transform;
}
.about__fig figcaption { margin-top: 14px; color: rgba(255, 255, 255, .45); font-size: 11px; }

.pillars {
  margin-top: clamp(56px, 7vw, 96px);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
}
.pillars li { padding-top: 24px; border-top: 1px solid var(--line-dark); display: grid; gap: 10px; align-content: start; position: relative; }
.pillars li::before { content: ""; position: absolute; left: 0; top: -1px; width: 48px; height: 2px; background: var(--gold); }
.pillars .mono { color: var(--gold); }
.pillars strong { font-size: 21px; font-weight: 700; letter-spacing: -.015em; }
.pillars p { color: rgba(255, 255, 255, .6); font-size: 15.5px; max-width: 30ch; }

/* =========================================================================
   03 · SOLUÇÕES
   ========================================================================= */
.solutions { background: var(--mist); padding: clamp(100px, 14vh, 170px) 0; position: relative; }
.sec-head { max-width: 980px; }
.svc-groups { margin-top: clamp(56px, 8vw, 100px); display: grid; gap: clamp(64px, 8vw, 104px); }
.svc-group__head { display: grid; grid-template-columns: 72px 1fr; gap: 16px; padding-bottom: 26px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.svc-group__num { color: var(--gold-deep); font-size: 13px; padding-top: 6px; }
.svc-group__title { font-size: clamp(22px, 2vw, 30px); letter-spacing: -.02em; font-weight: 700; color: var(--navy-900); }
.svc-group__text { color: var(--muted); margin-top: 6px; max-width: 44em; }

.svc-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.svc-grid--1 { grid-template-columns: minmax(0, 1fr); }
.svc-grid--1 .svc { display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; column-gap: 32px; align-items: center; min-height: 0; padding: 32px 36px; }
.svc-grid--1 .svc__top { grid-row: span 2; }
.svc-grid--1 .svc__num { display: none; }
.svc-grid--1 .svc__name { margin-top: 0; font-size: 24px; }
.svc-grid--1 .svc__desc { grid-column: 2; margin-top: 4px; }
.svc-grid--1 .svc__more { grid-column: 3; grid-row: 1 / span 2; padding-top: 0; margin: 0; }
.svc-grid--2 { grid-template-columns: repeat(2, 1fr); }
.svc-grid--4 { grid-template-columns: repeat(4, 1fr); }

.svc {
  position: relative; display: flex; flex-direction: column;
  min-height: 300px; padding: 28px 28px 26px;
  background: #fff; border-radius: 18px; text-decoration: none; color: var(--ink);
  border: 1px solid var(--line);
  transition: transform .55s var(--ease), box-shadow .55s var(--ease), border-color .55s;
  isolation: isolate; overflow: hidden;
}
.svc::before {   /* brilho que acompanha o hover */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(120% 80% at 100% 0%, rgba(255, 121, 0, .12), transparent 55%);
  opacity: 0; transition: opacity .55s;
}
.svc__edge {   /* borda laranja que percorre o card */
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  padding: 1.5px;
  background: conic-gradient(from var(--a, 0deg), transparent 0 60%, var(--gold) 80%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .4s;
}
@property --a { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.svc:hover .svc__edge, .svc:focus-visible .svc__edge { opacity: 1; animation: edge 2.6s linear infinite; }
@keyframes edge { to { --a: 360deg; } }
.svc:hover, .svc:focus-visible { transform: translateY(-6px); border-color: rgba(255, 121, 0, .5); box-shadow: 0 30px 60px -30px rgba(16, 22, 29, .35); }
.svc:hover::before { opacity: 1; }
.svc__top { display: flex; justify-content: space-between; align-items: flex-start; }
.svc__icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: var(--mist); color: var(--navy);
  transition: background .5s, color .5s, transform .55s var(--ease);
}
.svc__icon .icon { width: 30px; height: 30px; }
.svc:hover .svc__icon { background: var(--navy); color: var(--gold); transform: rotate(-4deg) scale(1.04); }
.svc__num { color: rgba(39, 53, 68, .4); }
.svc__tag { margin-top: 18px; color: var(--gold-deep); font-size: 10.5px; }
.svc__name { margin-top: 34px; font-size: 21px; line-height: 1.22; letter-spacing: -.02em; font-weight: 700; color: var(--navy-900); }
.svc__desc { margin-top: 10px; color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.svc__more { margin-top: auto; padding-top: 24px; display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: var(--navy); }
.svc__more svg { width: 15px; height: 15px; fill: none; stroke: var(--gold-deep); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .45s var(--ease); }
.svc:hover .svc__more svg { transform: translateX(5px); }

/* =========================================================================
   04 · PLANTA INTERATIVA
   ========================================================================= */
.plant {
  position: relative; color: #fff; overflow: hidden;
  background: linear-gradient(180deg, #05090c 0%, #0c1218 35%, #142029 100%);
  padding-bottom: clamp(56px, 8vw, 96px);
}
.plant__head {
  position: absolute; z-index: 6; left: 0; right: 0; top: clamp(110px, 10vw, 170px);
  pointer-events: none;
}
.plant__head > * { max-width: 560px; }
.plant__head .display { font-size: clamp(36px, 4.4vw, 68px); }
.plant__lead { margin-top: 22px; color: rgba(255, 255, 255, .66); font-size: 17px; max-width: 30em; }
.plant__hint { margin-top: 26px; display: inline-flex; align-items: center; gap: 12px; color: var(--gold); }
.plant__hint-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(255, 121, 0, .2); animation: hintPulse 2s infinite; }
@keyframes hintPulse { 50% { box-shadow: 0 0 0 9px rgba(255, 121, 0, 0); } }
.only-touch { display: none; }
@media (hover: none) { .only-hover { display: none; } .only-touch { display: inline; } }

.plant__viewport { position: relative; perspective: 1800px; }
.plant__media {
  position: relative;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(var(--s, 1));
  transform-origin: 68% 55%;
  will-change: transform;
}
.plant__media > img {
  width: 100%; height: auto;
  opacity: var(--o, 1);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 86%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 86%, transparent 100%);
}
.plant__dim {
  position: absolute; inset: 0; pointer-events: none;
  background: rgba(5, 9, 13, .66);
  opacity: 0; transition: opacity .5s var(--ease);
  -webkit-mask-image: radial-gradient(calc(var(--mr, 120px) * 1.25) var(--mr, 120px) at var(--mx, 50%) var(--my, 50%), transparent 55%, #000 100%);
          mask-image: radial-gradient(calc(var(--mr, 120px) * 1.25) var(--mr, 120px) at var(--mx, 50%) var(--my, 50%), transparent 55%, #000 100%);
}
.plant.has-active .plant__dim { opacity: 1; }

/* Ponto de interação (área = equipamento) */
.hs {
  position: absolute; z-index: 2;
  left: var(--x); top: var(--y);
  width: calc(var(--r) * 2%); aspect-ratio: 1.55 / 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}
.hs.is-open { z-index: 5; }
.hs::before {   /* anel de destaque sobre o equipamento */
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 1px dashed rgba(255, 121, 0, .7);
  opacity: 0; transform: scale(.85); transition: opacity .4s, transform .6s var(--ease);
  pointer-events: none;
}
.hs.is-open::before { opacity: 1; transform: none; animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.hs__dot {
  position: absolute; left: 50%; top: 50%;
  width: 44px; height: 44px; margin: -22px 0 0 -22px; padding: 0;
  border: 0; border-radius: 50%; background: none; cursor: pointer;
}
/* núcleo: laranja com contorno branco e brilho */
.hs__core {
  position: absolute; inset: 12px; border-radius: 50%;
  background: var(--gold);
  border: 3px solid #fff;
  box-shadow: 0 0 0 5px rgba(255, 121, 0, .28), 0 0 22px 6px rgba(255, 121, 0, .75), 0 4px 10px rgba(0, 0, 0, .5);
  transition: transform .4s var(--ease), background .3s;
  animation: beacon 3.6s var(--ease) infinite;
  animation-delay: calc(var(--k, 0) * .45s);
}
/* dois anéis pulsando em sequência */
.hs__pulse { position: absolute; inset: 4px; border-radius: 50%; border: 2px solid var(--gold); opacity: 0; animation: pulse 2.4s var(--ease) infinite; animation-delay: calc(var(--k, 0) * .3s); }
.hs__pulse--2 { animation-delay: calc(var(--k, 0) * .3s + 1.2s); }
/* número do ponto */
.hs__num {
  position: absolute; left: 40px; top: 50%; transform: translateY(-50%);
  padding: 4px 8px; border-radius: 999px;
  background: rgba(8, 12, 18, .78); border: 1px solid rgba(255, 121, 0, .55);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: #fff; font-size: 11px; line-height: 1; letter-spacing: .08em; white-space: nowrap;
  transition: opacity .3s, transform .4s var(--ease);
}
.hs__dot:hover .hs__core, .hs.is-open .hs__core { transform: scale(1.3); background: #fff; border-color: var(--gold); animation: none; }
.hs.is-open .hs__num { opacity: 0; transform: translate(-6px, -50%); }
.plant.has-active .hs:not(.is-open) .hs__dot { opacity: .45; transition: opacity .4s; }
@keyframes pulse { 0% { transform: scale(.55); opacity: .95; } 100% { transform: scale(2.4); opacity: 0; } }
@keyframes beacon { 0%, 70%, 100% { transform: scale(1); } 78% { transform: scale(1.35); } 86% { transform: scale(.95); } }

.hs__line {
  position: absolute; left: 50%; top: 50%;
  width: var(--len); height: 1.5px; margin-top: -.75px;
  background: linear-gradient(90deg, var(--gold), rgba(255, 121, 0, .55));
  transform-origin: 0 50%;
  transform: rotate(var(--ang)) scaleX(0);
  transition: transform .25s var(--ease-io);
  pointer-events: none;
}
.hs.is-open .hs__line { transform: rotate(var(--ang)) scaleX(1); transition: transform .38s var(--ease-io); }

.hs__card {
  position: absolute;
  left: calc(50% + var(--dx)); top: calc(50% + var(--dy));
  width: 310px;
  transform: translate(var(--tx), var(--ty));
  pointer-events: none;
}
.hs.is-open .hs__card { pointer-events: auto; }
.hs__cardin {
  transform-origin: var(--origin);
  transform: translate(calc(var(--dx) * -.55), calc(var(--dy) * -.55)) scale(.3);
  opacity: 0; filter: blur(6px);
  transition: transform .25s var(--ease-io), opacity .2s, filter .25s;
  background: rgba(13, 19, 26, .86);
  -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  padding: 20px 20px 16px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .06);
  position: relative; overflow: hidden;
}
.hs__cardin::before { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease) .3s; }
.hs.is-open .hs__cardin {
  transform: none; opacity: 1; filter: none;
  transition: transform .6s cubic-bezier(.2, 1.1, .3, 1) .2s, opacity .35s .2s, filter .45s .2s;
}
.hs.is-open .hs__cardin::before { transform: scaleX(1); }
.hs__meta { display: flex; justify-content: space-between; gap: 12px; color: var(--gold); font-size: 10.5px; }
.hs__meta .mono, .hs__coord { font-size: 10.5px; }
.hs__coord { color: rgba(255, 255, 255, .35); }
.hs__title { margin-top: 10px; font-size: 20px; letter-spacing: -.015em; font-weight: 700; color: #fff; }
.hs__text { margin-top: 8px; font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, .7); }
.hs__links { margin-top: 14px; border-top: 1px solid rgba(255, 255, 255, .1); }
.hs__links a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .07);
  font-size: 13.5px; font-weight: 600; color: #fff; text-decoration: none;
  transition: color .3s, padding .4s var(--ease);
}
.hs__links li:last-child a { border-bottom: 0; }
.hs__links a:hover { color: var(--gold); padding-left: 6px; }
.hs__links svg { width: 14px; height: 14px; flex: none; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.plant__legend { position: relative; z-index: 6; display: flex; flex-wrap: wrap; gap: 10px; margin-top: -10px; }
.plant__chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .03);
  color: rgba(255, 255, 255, .8); font-size: 14px; font-weight: 600;
  transition: border-color .3s, background .3s, color .3s;
}
.plant__chip .mono { color: var(--gold); font-size: 11px; }
.plant__chip:hover, .plant__chip.is-on { border-color: var(--gold); background: rgba(255, 121, 0, .1); color: #fff; }
.plant__sheet { display: none; }

/* =========================================================================
   05 · ANATOMIA
   ========================================================================= */
.anatomy { position: relative; height: 260vh; background: #fff; }
.anatomy__stage {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: calc(var(--header-h) + 8px); overflow: hidden;
}
.anatomy__head { position: relative; z-index: 2; display: grid; gap: 14px; max-width: calc(560px + var(--gutter) * 2); margin-left: max(0px, calc((100vw - var(--maxw)) / 2 - var(--gutter))); }
.anatomy__head .display { font-size: clamp(34px, 4vw, 62px); margin-top: 0; }
.anatomy__lead { color: var(--muted); max-width: 26em; }
.anatomy__media { display: flex; justify-content: flex-end; margin-top: calc(-1 * clamp(40px, 9vh, 110px)); padding-right: var(--gutter); }
.anatomy__frame {
  position: relative;
  width: min(1100px, 82vw, calc((100svh - 250px) * 1.778));
  aspect-ratio: 16 / 9;
  transform: scale(calc(1.1 - .1 * min(var(--p, 0) * 3, 1)));
  transform-origin: 60% 60%;
  transition: transform .2s linear;
}
.anatomy__frame img { width: 100%; height: 100%; object-fit: contain; }
.anatomy__layer { position: absolute; inset: 0; }
.anl { position: absolute; left: var(--x); top: var(--y); width: 0; height: 0; }
.anl__dot {
  position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--navy-900); box-shadow: 0 0 0 4px rgba(255, 255, 255, .9), 0 0 0 5px rgba(39, 53, 68, .2);
  transform: scale(0); transition: transform .5s var(--ease);
}
.anl__dot::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--gold); }
.anl__stem { position: absolute; left: -.5px; width: 1px; height: 48px; background: var(--navy-900); transform: scaleY(0); transition: transform .5s var(--ease) .1s; }
.anl--top .anl__stem { bottom: 7px; transform-origin: bottom; }
.anl--bottom .anl__stem { top: 7px; transform-origin: top; }
.anl__box {
  position: absolute; left: -16px; width: 210px;
  padding: 12px 14px; border-radius: 12px;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line); box-shadow: 0 18px 40px -22px rgba(16, 22, 29, .4);
  opacity: 0; transform: translateY(10px); transition: opacity .45s .2s, transform .6s var(--ease) .2s;
}
.anl--top .anl__box { bottom: 55px; }
.anl--bottom .anl__box { top: 55px; transform: translateY(-10px); }
.anl__box .anl__n { color: var(--gold-deep); font-size: 10.5px; }
.anl__box strong { display: block; margin-top: 2px; font-size: 15px; color: var(--navy-900); letter-spacing: -.01em; }
.anl__box p { margin-top: 4px; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.anl__box a { display: inline-block; margin-top: 6px; font-size: 12.5px; font-weight: 700; color: var(--navy); text-decoration: none; border-bottom: 1.5px solid var(--gold); }
.anl.is-on .anl__dot { transform: scale(1); }
.anl.is-on .anl__stem { transform: scaleY(1); }
.anl.is-on .anl__box { opacity: 1; transform: none; }
.anatomy__list { display: none; }
.anatomy__types { margin-top: 18px; text-align: center; color: rgba(39, 53, 68, .5); font-size: 11px; }

/* =========================================================================
   06 · CONTATO
   ========================================================================= */
.contact {
  background:
    radial-gradient(ellipse 60% 60% at 0% 100%, rgba(255, 121, 0, .1), transparent 60%),
    var(--navy-900);
  color: #fff; padding: clamp(100px, 14vh, 160px) 0;
}
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__lead { margin-top: 26px; color: rgba(255, 255, 255, .7); font-size: 18px; max-width: 28em; }
.form { display: grid; gap: 16px; padding: clamp(24px, 3vw, 40px); border-radius: 22px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line-dark); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 8px; }
.form label > span { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; font-size: 16px; color: #fff;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px;
  padding: 13px 14px; transition: border-color .3s, background .3s;
}
.form select option { color: var(--ink); }
.form textarea { resize: vertical; min-height: 120px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--gold); background: rgba(255, 255, 255, .07); }
.form .btn { justify-self: start; margin-top: 6px; --bg: var(--gold); --fg: var(--navy-900); }
.form .btn::before { background: #fff; }
.form__msg { min-height: 1.4em; font-size: 14px; color: rgba(255, 255, 255, .7); }
.form__msg.is-ok { color: #8fd19e; }
.form__msg.is-warn { color: var(--gold); }

/* =========================================================================
   RODAPÉ
   ========================================================================= */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, .7); padding: 72px 0 104px; }
.site-footer__in { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.site-footer__brand { max-width: 380px; }
.site-footer__brand .brand__logo { width: 190px; }
.site-footer__brand p { margin-top: 18px; font-size: 15px; }
.social { margin-top: 22px; display: flex; gap: 10px; }
.social a { display: inline-flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, .75); text-decoration: none; font-size: 14px; transition: color .3s; }
.social svg { width: 40px; height: 40px; padding: 9px; border-radius: 12px; border: 1px solid var(--line-dark); fill: none; stroke: currentColor; stroke-width: 1.6; transition: background .3s, border-color .3s, color .3s, transform .4s var(--ease); }
.social a:hover { color: #fff; }
.social a:hover svg { background: var(--gold); border-color: var(--gold); color: var(--navy-950); transform: translateY(-2px) rotate(-6deg); }
.site-footer__side { display: grid; gap: 28px; justify-items: end; }
.site-footer__addr { font-style: normal; display: grid; gap: 12px; justify-items: end; }
.site-footer__addr a { display: inline-flex; align-items: flex-start; gap: 10px; color: rgba(255, 255, 255, .7); text-decoration: none; font-size: 14px; line-height: 1.55; text-align: right; transition: color .3s; }
.site-footer__addr a span { order: 1; }
.site-footer__addr a svg { order: 2; flex: none; width: 18px; height: 18px; margin-top: 2px; fill: none; stroke: var(--gold); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.site-footer__addr a:hover { color: #fff; }
.site-footer__addr a.footer-route { margin-top: 4px; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: var(--gold); color: var(--navy-950); font-weight: 700; font-size: 14px; transition: background .3s, transform .4s var(--ease); }
.site-footer__addr a.footer-route svg { order: 0; margin: 0; stroke: currentColor; width: 18px; height: 18px; }
.site-footer__addr a.footer-route:hover { background: #fff; color: var(--navy-950); transform: translateY(-2px); }
@media (max-width: 760px) {
  .site-footer__side, .site-footer__addr { justify-items: start; }
  .site-footer__addr a { text-align: left; }
  .site-footer__addr a span { order: 2; } .site-footer__addr a svg { order: 1; }
}
.site-footer__nav { display: flex; gap: 28px; flex-wrap: wrap; }
.site-footer__nav a { text-decoration: none; font-weight: 600; font-size: 15px; transition: color .3s; }
.site-footer__nav a:hover { color: var(--gold); }
.site-footer__base { padding-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; color: rgba(255, 255, 255, .4); }
.site-footer__base .mono { font-size: 11px; }
.credit { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; text-decoration: none; color: rgba(255, 255, 255, .4); }
.credit .mono { font-size: 9.5px; }
.credit img { width: 64px; height: auto; opacity: .7; transition: opacity .3s; }
.credit:hover img { opacity: 1; }

/* =========================================================================
   REVELAÇÕES (reversíveis)
   ========================================================================= */
.js [data-reveal] {
  opacity: 0; transform: translate3d(0, 34px, 0);
  transition: opacity .9s var(--ease), transform 1.1s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .svc[data-reveal].is-in:hover { transform: translateY(-6px); transition-delay: 0s; }

/* =========================================================================
   PÁGINA DE SERVIÇO
   ========================================================================= */
.svc-page__top { padding-top: calc(var(--header-h) + clamp(48px, 8vw, 110px)); }

/* Banner com imagem + overlay (páginas de serviço com `banner` em data.js) */
.svc-banner {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: min(92vh, 860px); min-height: min(92svh, 860px);
  display: flex; align-items: flex-end;
  background: var(--navy-950); color: #fff;
}
.svc-banner__media { position: absolute; inset: 0; z-index: -2; }
.svc-banner__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: bannerIn 2.4s var(--ease) forwards; }
@keyframes bannerIn { to { transform: scale(1); } }
.svc-banner__overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(11, 16, 22, .7) 0%, rgba(11, 16, 22, 0) 22%),
    linear-gradient(0deg, rgba(11, 16, 22, .96) 0%, rgba(11, 16, 22, .82) 26%, rgba(11, 16, 22, .25) 58%, rgba(11, 16, 22, 0) 75%),
    linear-gradient(90deg, rgba(11, 16, 22, .78) 0%, rgba(11, 16, 22, .35) 45%, rgba(11, 16, 22, 0) 70%);
}
.svc-banner__in { padding-top: calc(var(--header-h) + 40px); padding-bottom: clamp(48px, 8vh, 96px); }
.svc-banner__in > * { max-width: 760px; }
.svc-banner .svc-hero__icon { background: var(--gold); color: var(--navy-950); margin-bottom: 26px; width: 64px; height: 64px; border-radius: 16px; }
.svc-banner .svc-hero__icon .icon { width: 34px; height: 34px; }
.svc-banner .display { font-size: clamp(40px, 5.4vw, 84px); margin-top: 18px; }
.svc-banner__desc { margin-top: 22px; max-width: 40em; font-size: clamp(17px, 1.25vw, 20px); line-height: 1.6; color: rgba(255, 255, 255, .82); }
.svc-banner__cta { margin-top: 32px; --bg: var(--gold); --fg: var(--navy-950); }
.svc-banner__cta::before { background: #fff; }
.back--light { color: #fff; margin-bottom: 28px; padding: 8px 14px 8px 12px; border-radius: 999px; background: rgba(11, 16, 22, .55); border: 1px solid rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.back--light:hover { color: #fff; }
.svc-page--banner .svc-body { padding-top: clamp(64px, 8vw, 112px); }
.svc-banner__lead { margin-top: 18px; font-size: clamp(19px, 1.6vw, 26px); line-height: 1.3; font-weight: 700; letter-spacing: -.015em; color: var(--gold); }
.svc-body--sobre { border-bottom: 1px solid var(--line); }
.svc-body--sobre + .svc-body { padding-top: clamp(56px, 7vw, 96px); }
.svc-sobre p { font-size: clamp(17px, 1.25vw, 20px); line-height: 1.65; color: var(--ink); }
.svc-sobre p + p { margin-top: 1em; }
.svc-sobre p:last-child { color: var(--navy-900); font-weight: 600; }

/* Como funciona */
.steps-sec { background: var(--navy-950); color: #fff; padding: clamp(72px, 9vw, 120px) 0; }
.steps-sec h2 { font-size: clamp(24px, 2.2vw, 32px); letter-spacing: -.02em; margin-bottom: clamp(32px, 4vw, 56px); }
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); counter-reset: s; }
.steps li { position: relative; padding-top: 28px; border-top: 1px solid var(--line-dark); display: grid; gap: 10px; align-content: start; }
.steps li::before { content: ""; position: absolute; left: 0; top: -1px; width: 44px; height: 2px; background: var(--gold); }
.steps li::after { content: ""; position: absolute; left: 0; top: -5px; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(255, 121, 0, .2); }
.steps__n { color: var(--gold); }
.steps strong { font-size: 20px; letter-spacing: -.015em; }
.steps p { color: rgba(255, 255, 255, .62); font-size: 15px; line-height: 1.55; }
.svc-hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; padding-bottom: clamp(56px, 7vw, 96px); border-bottom: 1px solid var(--line); }
.svc-hero__icon { width: 80px; height: 80px; border-radius: 20px; background: var(--navy); color: var(--gold); display: grid; place-items: center; margin-bottom: 30px; }
.svc-hero__icon .icon { width: 44px; height: 44px; }
.svc-hero .display { font-size: clamp(38px, 5vw, 76px); }
.svc-hero__desc { font-size: clamp(18px, 1.4vw, 21px); color: var(--muted); line-height: 1.6; }
.back { display: inline-flex; gap: 10px; align-items: center; color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600; margin-bottom: 36px; }
.back:hover { color: var(--navy); }
.svc-body { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 96px); padding: clamp(56px, 7vw, 96px) 0; }
.svc-body h2 { font-size: clamp(24px, 2.2vw, 32px); letter-spacing: -.02em; color: var(--navy-900); }
.apps li { display: grid; grid-template-columns: 44px 1fr; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 600; color: var(--navy-900); }
.apps li:first-child { border-top: 1px solid var(--line); }
.apps .mono { color: var(--gold-deep); padding-top: 4px; }
.related { background: var(--mist); padding: clamp(72px, 9vw, 120px) 0; }
.related h2 { font-size: clamp(24px, 2.2vw, 32px); letter-spacing: -.02em; color: var(--navy-900); margin-bottom: 32px; }
.notice { padding: 160px 0; text-align: center; }


/* =========================================================================
   MENU DE SOLUÇÕES (painel + backdrop)
   ========================================================================= */
.nav__mega { display: inline-flex; align-items: center; gap: 6px; }
.nav__mega svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.mega-open .nav__mega svg { transform: rotate(180deg); }
.mega-open .nav__mega { color: var(--gold) !important; }
.mega-open .site-header { --hc: #fff; --hw: #fff; background: var(--navy-950) !important; box-shadow: 0 1px 0 var(--line-dark) !important; backdrop-filter: none; }

.mega { position: fixed; inset: 0; z-index: 45; pointer-events: none; visibility: hidden; transition: visibility 0s .5s; }
.mega-open .mega { pointer-events: auto; visibility: visible; transition: none; }
.mega__backdrop {
  position: absolute; inset: 0;
  background: rgba(5, 8, 12, .55);
  -webkit-backdrop-filter: blur(10px) saturate(1.1); backdrop-filter: blur(10px) saturate(1.1);
  opacity: 0; transition: opacity .45s var(--ease);
}
.mega-open .mega__backdrop { opacity: 1; }
.mega__panel {
  position: absolute; left: 0; right: 0; top: var(--header-h);
  max-height: calc(100vh - var(--header-h)); max-height: calc(100svh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain;
  background: var(--navy-950); color: #fff;
  border-bottom: 1px solid var(--line-dark);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6);
  clip-path: inset(0 0 100% 0);
  transition: clip-path .55s var(--ease-io);
}
.mega-open .mega__panel { clip-path: inset(0 0 0 0); }
.mega__in { position: relative; display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(32px, 5vw, 88px); padding-top: clamp(36px, 5vh, 56px); padding-bottom: clamp(36px, 5vh, 56px); }
.mega__aside { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.mega__title { font-size: clamp(24px, 2.1vw, 32px); line-height: 1.12; letter-spacing: -.03em; font-weight: 700; }
.mega__title em { font-style: normal; color: var(--gold); }
.mega__all { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 14px; text-decoration: none; border-bottom: 1.5px solid var(--gold); padding-bottom: 3px; margin-top: 4px; }
.mega__all svg, .mega__cta svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mega__cta { margin-top: auto; --bg: var(--gold); --fg: var(--navy-900); padding: 14px 22px; font-size: 14px; }
.mega__cta::before { background: #fff; }

.mega__groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.5vw, 40px); }
.mega__ghead { display: flex; gap: 10px; align-items: baseline; padding-bottom: 14px; margin-bottom: 8px; border-bottom: 1px solid var(--line-dark); font-size: 13px; font-weight: 700; letter-spacing: .01em; color: rgba(255, 255, 255, .62); }
.mega__ghead .mono { color: var(--gold); font-size: 11px; }
.mega__item {
  display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start;
  padding: 12px 12px 12px 10px; margin: 0 -12px 0 -10px; border-radius: 14px;
  color: #fff; text-decoration: none;
  transition: background .3s, transform .45s var(--ease);
}
.mega__item:hover, .mega__item:focus-visible { background: rgba(255, 255, 255, .05); transform: translateX(4px); }
.mega__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-dark); color: var(--gold); transition: background .3s, color .3s, border-color .3s; }
.mega__icon .icon { width: 24px; height: 24px; }
.mega__item:hover .mega__icon { background: var(--gold); color: var(--navy-950); border-color: var(--gold); }
.mega__txt strong { display: block; font-size: 15.5px; line-height: 1.3; letter-spacing: -.01em; }
.mega__txt small { display: block; margin-top: 4px; font-size: 13px; line-height: 1.45; color: rgba(255, 255, 255, .55); }

/* entrada em cascata */
.mega__aside, .mega__group { opacity: 0; transform: translateY(14px); transition: opacity .3s, transform .3s; }
.mega-open .mega__aside, .mega-open .mega__group { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .7s var(--ease); }
.mega-open .mega__aside { transition-delay: .12s; }
.mega-open .mega__group:nth-child(1) { transition-delay: .18s; }
.mega-open .mega__group:nth-child(2) { transition-delay: .24s; }
.mega-open .mega__group:nth-child(3) { transition-delay: .30s; }

.mega__close { position: absolute; right: var(--gutter); top: 18px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-dark); background: none; cursor: pointer; display: none; }
.mega__close span { position: absolute; left: 11px; right: 11px; top: 19px; height: 1.5px; background: #fff; }
.mega__close span:first-child { transform: rotate(45deg); }
.mega__close span:last-child { transform: rotate(-45deg); }

@media (max-width: 1180px) {
  .mega__in { grid-template-columns: 1fr; }
  .mega__aside { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
  .mega__aside .eyebrow { width: 100%; }
  .mega__title { width: 100%; }
  .mega__cta { margin-top: 0; }
}
@media (max-width: 960px) {
  .mega { z-index: 60; }
  .mega__panel { top: 0; max-height: 100svh; height: 100%; }
  .mega__in { padding-top: 28px; }
  .mega__close { display: block; }
  .mega__groups { grid-template-columns: 1fr; gap: 28px; }
  .mega__aside { padding-right: 56px; }
}


/* =========================================================================
   COOKIES + POLÍTICA
   ========================================================================= */
.cookie {
  position: fixed; z-index: 70; left: 50%; bottom: 20px;
  width: min(940px, calc(100vw - 32px));
  display: flex; align-items: center; gap: 20px 32px;
  padding: 18px 20px 18px 24px; border-radius: 18px;
  background: rgba(11, 16, 22, .94); color: #fff;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--line-dark); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55);
  transform: translate(-50%, 140%); opacity: 0; visibility: hidden;
  transition: transform .6s var(--ease), opacity .4s, visibility 0s .6s;
}
.cookie.is-on { transform: translate(-50%, 0); opacity: 1; visibility: visible; transition: transform .6s var(--ease), opacity .4s; }
.cookie__text { font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, .78); }
.cookie__text a { color: var(--gold); }
.cookie__actions { display: flex; gap: 10px; flex: none; }
.cookie__btn { border: 0; cursor: pointer; padding: 12px 20px; border-radius: 999px; font-weight: 700; font-size: 14px; background: var(--gold); color: var(--navy-950); transition: background .3s, color .3s; }
.cookie__btn:hover { background: #fff; }
.cookie__btn--ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .25); }
.cookie__btn--ghost:hover { background: rgba(255, 255, 255, .08); }
@media (max-width: 760px) { .cookie { flex-direction: column; align-items: stretch; bottom: 12px; } .cookie__actions .cookie__btn { flex: 1; } }

.legal { display: inline-flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; }
.legal a, .legal button { color: rgba(255, 255, 255, .6); text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; font: inherit; }
.legal a:hover, .legal button:hover { color: var(--gold); }

.policy__in { max-width: calc(820px + var(--gutter) * 2); padding-top: calc(var(--header-h) + clamp(48px, 7vw, 96px)); padding-bottom: clamp(80px, 10vw, 140px); }
.policy .display { font-size: clamp(38px, 5vw, 64px); }
.policy .back { display: flex; width: max-content; }
.policy__date { display: block; margin-top: 16px; color: var(--muted); font-size: 11px; }
.policy h2 { margin-top: 48px; font-size: 22px; letter-spacing: -.015em; color: var(--navy-900); }
.policy p { margin-top: 14px; color: var(--steel); line-height: 1.7; }
.policy a { color: var(--navy); font-weight: 600; }
.policy__table { width: 100%; margin-top: 20px; border-collapse: collapse; font-size: 14.5px; }
.policy__table th, .policy__table td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); }
.policy__table th { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
@media (max-width: 760px) {
  .policy__table thead { display: none; }
  .policy__table tr { display: grid; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .policy__table td { border: 0; padding: 3px 0; }
  .policy__table td:first-child { font-weight: 700; color: var(--navy-900); }
}


/* WhatsApp flutuante */
.wa {
  position: fixed; z-index: 66; right: 24px; bottom: 24px;
  display: flex; align-items: center; height: 60px; padding: 0 0 0 0;
  border-radius: 999px; background: #25d366; color: #fff; text-decoration: none;
  box-shadow: 0 16px 34px -10px rgba(37, 211, 102, .6), 0 4px 12px rgba(0, 0, 0, .25);
  transform: translateY(120px) scale(.6); opacity: 0;
  transition: transform .7s cubic-bezier(.2, 1.3, .3, 1), opacity .4s, bottom .5s var(--ease), box-shadow .3s;
}
.wa.is-in { transform: none; opacity: 1; }
.wa__icon { position: relative; z-index: 1; width: 60px; height: 60px; display: grid; place-items: center; flex: none; }
.wa__icon svg { width: 32px; height: 32px; animation: waWiggle 4s ease-in-out 2s infinite; transform-origin: 50% 60%; }
.wa__label { max-width: 0; overflow: hidden; white-space: nowrap; font-weight: 700; font-size: 15px; transition: max-width .5s var(--ease), padding .5s var(--ease); }
.wa:hover .wa__label, .wa:focus-visible .wa__label { max-width: 200px; padding-right: 22px; }
.wa:hover { box-shadow: 0 20px 40px -10px rgba(37, 211, 102, .75), 0 4px 12px rgba(0, 0, 0, .25); }
.wa__ring { position: absolute; left: 0; top: 0; width: 60px; height: 60px; border-radius: 50%; border: 2px solid #25d366; animation: waRing 2.4s ease-out infinite; pointer-events: none; }
.wa__ring--2 { animation-delay: 1.2s; }
@keyframes waRing { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes waWiggle { 0%, 84%, 100% { transform: rotate(0); } 87% { transform: rotate(-14deg); } 90% { transform: rotate(12deg); } 93% { transform: rotate(-8deg); } 96% { transform: rotate(4deg); } }
body.cookie-open .wa { bottom: 132px; }
body.mega-open .wa, body.nav-open .wa { opacity: 0; pointer-events: none; }
@media (max-width: 760px) {
  .wa { right: 16px; bottom: 16px; height: 56px; }
  .wa__icon, .wa__ring { width: 56px; height: 56px; }
  body.cookie-open .wa { bottom: 210px; }
}

/* =========================================================================
   RESPONSIVO
   ========================================================================= */
@media (max-width: 1180px) {
  .svc-grid, .svc-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .fsb__ticks li { width: 84px; }
}

@media (max-width: 960px) {
  .nav { position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; gap: 26px; background: var(--navy-950); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
  .nav a { color: #fff; font-size: 26px; font-weight: 700; }
  .nav-open .nav { opacity: 1; visibility: visible; }
  .nav-open .site-header { --hc: #fff; --hw: #fff; }
  .burger { display: block; }
  .contact__grid, .svc-hero, .svc-body, .about__top { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .anatomy__head { grid-template-columns: 1fr; }
  .plant__head > * { max-width: 460px; }
}

@media (max-width: 760px), (orientation: portrait) and (max-width: 1024px) {
  /* Hero: texto no topo, equipamento na metade inferior */
  .fsb__copy { left: var(--gutter); right: var(--gutter); width: auto; top: calc(var(--header-h) + 8px); bottom: auto; height: 44%; align-items: start; }
  .fsb__title { font-size: clamp(30px, 8.4vw, 46px); margin-top: 14px; }
  .fsb__title--xl { font-size: clamp(34px, 10vw, 54px); }
  .fsb__text { margin-top: 14px; font-size: 15.5px; }
  .fsb__step .btn { margin-top: 20px; }
  .fsb__grid { -webkit-mask-image: radial-gradient(ellipse 90% 45% at 50% 22%, #000, transparent 75%); mask-image: radial-gradient(ellipse 90% 45% at 50% 22%, #000, transparent 75%); }
  .fsb__ticks li { width: auto; flex: 1; font-size: 0; padding-top: 0; height: 2px; }
  .fsb__hud { right: var(--gutter); }
  .fsb__ticks { flex: 1; }
  .fsb__cue { display: none; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .brand { width: 140px; }
  .about { border-radius: 22px 22px 0 0; }
  .about__top, .about__media, .pillars { grid-template-columns: 1fr; }
  .plate { height: 62vw; }
  .svc-grid, .svc-grid--2, .svc-grid--4 { grid-template-columns: 1fr; }
  .svc { min-height: 0; }
  .svc__name { margin-top: 22px; }
  .svc-group__head { grid-template-columns: 44px 1fr; }

  /* Planta: texto acima, imagem recortada no foco da planta */
  .plant__head { position: relative; top: auto; padding-top: 110px; }
  .plant__viewport { overflow: hidden; margin-top: 8px; }
  .plant__media { width: 185%; margin-left: -72%; }
  .hs__card, .hs__line { display: none; }
  .hs { width: calc(var(--r) * 2.4%); }
  .plant__legend { margin-top: 0; }
  .plant__sheet { display: block; }
  .plant__sheet.is-open { margin: 4px 0 18px; }
  .plant__sheet .hs__cardin { transform: none; filter: none; opacity: 0; transition: opacity .4s, transform .5s var(--ease); transform: translateY(10px); }
  .plant__sheet.is-open .hs__cardin { opacity: 1; transform: none; }
  .plant__sheet .hs__cardin::before { transform: scaleX(1); }

  /* Anatomia: sem fixação, rótulos numerados + lista */
  .anatomy { height: auto; padding: 100px 0 80px; }
  .anatomy__stage { position: static; height: auto; padding-top: 0; }
  .anatomy__frame { width: 100vw; transform: none; }
  .anatomy__media { margin-top: 24px; padding-right: 0; justify-content: center; }
  .anatomy__head { margin-left: 0; }
  .svc-grid--1 .svc { display: flex; padding: 28px; }
  .svc-grid--1 .svc__name { margin-top: 22px; }
  .svc-grid--1 .svc__more { margin-top: 18px; }
  .anl__stem, .anl__box { display: none; }
  .anl .anl__dot { transform: scale(1); }
  .anatomy__list { display: grid; gap: 0; margin-top: 12px; }
  .anatomy__list li { display: grid; grid-template-columns: 40px 1fr; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .anatomy__list .anl__n { color: var(--gold-deep); padding-top: 3px; }
  .anatomy__list strong { color: var(--navy-900); }
  .anatomy__list p { color: var(--muted); font-size: 14.5px; }
  .svc-banner { min-height: 100svh; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .svc-banner__overlay { background: linear-gradient(180deg, rgba(11, 16, 22, .55) 0%, rgba(11, 16, 22, .1) 22%, rgba(11, 16, 22, .55) 45%, rgba(11, 16, 22, .97) 72%); }
  .anatomy__list a { font-size: 14px; font-weight: 700; color: var(--navy); text-decoration: none; border-bottom: 1.5px solid var(--gold); }

  .form__row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
