/* =========================================================
   BigforMed — folha única
   Cores tiradas do logo: azul do elefante #05658F e azul-marinho #033348.
   ========================================================= */
:root {
  --bg: #03141E;          /* noite azul: fundo principal */
  --bg-2: #062233;
  --navy: #033348;
  --petrol: #05658F;
  --cyan: #4DBEEE;        /* luz da marca: ações e destaques */
  --ice: #BFE9FB;
  --paper: #F3F8FA;
  --paper-2: #E6F0F4;
  --ink: #04131C;
  --ink-soft: #4A6270;
  --text: #EAF5FA;
  --text-soft: #94B3C2;
  --line: rgba(191, 233, 251, .12);
  --glass: rgba(255, 255, 255, .045);

  --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;

  --container: 1320px;
  --m: clamp(20px, 4vw, 56px);
  --section: clamp(110px, 14vw, 200px);
  --radius: 28px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: clamp(1rem, .96rem + .2vw, 1.125rem); line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
h1, h2 { font-weight: 500; letter-spacing: -0.045em; line-height: .98; }
h3 { font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
::selection { background: var(--cyan); color: var(--bg); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: -9999px; top: 12px; z-index: 300; background: var(--cyan); color: var(--bg); padding: 10px 16px; border-radius: 99px; }
.skip:focus { left: 12px; }
.container { width: 100%; max-width: calc(var(--container) + var(--m) * 2); margin-inline: auto; padding-inline: var(--m); }

/* Granulado de filme por cima de tudo: tira o "liso de computador" */
.grain {
  position: fixed; inset: -50%; z-index: 200; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain { 0%,100% { transform: translate(0,0) } 20% { transform: translate(-3%,2%) } 40% { transform: translate(2%,-3%) } 60% { transform: translate(-2%,-1%) } 80% { transform: translate(3%,3%) } }

/* Etiqueta pequena com ponto pulsando */
.tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8125rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan);
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(77,190,238,.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(77,190,238,0) } 100% { box-shadow: 0 0 0 0 rgba(77,190,238,0) } }

/* ---------- Botões ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 24px; border-radius: 99px; border: 0; cursor: pointer;
  font-weight: 600; font-size: .9375rem; letter-spacing: -0.01em; white-space: nowrap;
  transition: background-color .4s var(--ease), color .4s, box-shadow .4s, border-color .4s;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--lg { height: 60px; padding: 0 30px; font-size: 1rem; }
.btn--glow { background: var(--cyan); color: var(--bg); box-shadow: 0 0 0 0 rgba(77,190,238,0), 0 10px 40px -10px rgba(77,190,238,.7); }
.btn--glow:hover { background: #fff; box-shadow: 0 0 0 6px rgba(77,190,238,.18), 0 20px 50px -12px rgba(77,190,238,.9); }
.btn--ghost { color: var(--text); border: 1px solid rgba(234,245,250,.25); background: rgba(255,255,255,.03); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: var(--text); background: rgba(255,255,255,.08); }
.round {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  border: 1px solid rgba(4,19,28,.18); background: transparent; transition: background-color .4s, color .4s, border-color .4s;
}
.round svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.round:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------- Abertura ---------- */
.loader { display: none; }
.js .loader {
  position: fixed; inset: 0; z-index: 250; display: grid; place-items: center;
  background: var(--bg);
}
.loader__mark { width: 92px; }
.loader__mark img { width: 100%; filter: brightness(0) invert(1); opacity: .95; }
.loader__count { position: absolute; right: var(--m); bottom: calc(var(--m) - 10px); font-size: clamp(3rem, 8vw, 7rem); font-weight: 300; letter-spacing: -0.05em; color: var(--text); font-variant-numeric: tabular-nums; }
.is-loaded .loader { pointer-events: none; }

/* ---------- Cursor ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .has-cursor .cursor { display: block; position: fixed; inset: 0; pointer-events: none; z-index: 240; }
  .cursor__dot, .cursor__ring { position: fixed; left: 0; top: 0; border-radius: 50%; pointer-events: none; }
  .cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--cyan); }
  .cursor__ring {
    width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid rgba(77,190,238,.55);
    display: grid; place-items: center; transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background-color .3s, border-color .3s;
  }
  .cursor__label { font-style: normal; font-family: var(--sans); font-size: .75rem; font-weight: 600; color: var(--bg); opacity: 0; transition: opacity .2s; }
  .cursor.is-hover .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(77,190,238,.12); border-color: var(--cyan); }
  .cursor.is-label .cursor__ring { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--cyan); border-color: var(--cyan); }
  .cursor.is-label .cursor__label { opacity: 1; }
  .cursor.is-light .cursor__dot { background: var(--petrol); }
  .cursor.is-light .cursor__ring { border-color: rgba(5,101,143,.5); }
}

/* ---------- Navegação ---------- */
.nav {
  position: fixed; z-index: 100; top: 16px; left: 50%; transform: translateX(-50%);
  width: min(calc(100% - 32px), 1240px); height: 64px;
  display: flex; align-items: center; gap: 24px; padding: 0 10px 0 24px;
  border-radius: 99px; border: 1px solid transparent;
  transition: background-color .5s var(--ease), border-color .5s, transform .6s var(--ease), box-shadow .5s;
}
.nav.is-scrolled { background: rgba(3, 20, 30, .62); border-color: var(--line); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 20px 60px -30px rgba(0,0,0,.6); }
.nav.is-hidden { transform: translate(-50%, -140%); }
.nav__brand { position: relative; display: block; }
.nav__brand img { height: 34px; width: auto; transition: opacity .4s; }
.nav__brand .nav__logo-light { position: absolute; inset: 0; opacity: 0; }
.nav.is-light { background: rgba(243, 248, 250, .72); border-color: rgba(4,19,28,.08); box-shadow: 0 20px 60px -30px rgba(4,19,28,.25); }
.nav.is-light .nav__links a { color: var(--ink-soft); }
.nav.is-light .nav__links a:hover, .nav.is-light .nav__links a.is-active { color: var(--ink); background: rgba(4,19,28,.06); }
.nav.is-light .nav__logo-dark { opacity: 0; }
.nav.is-light .nav__logo-light { opacity: 1; }
.nav.is-light .nav__burger { border-color: rgba(4,19,28,.15); }
.nav.is-light .nav__burger span { background: var(--ink); }
.nav.is-light.is-open .nav__burger span { background: var(--text); }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a { position: relative; padding: 10px 14px; border-radius: 99px; font-size: .9375rem; font-weight: 500; color: var(--text-soft); transition: color .3s, background-color .3s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--text); background: rgba(255,255,255,.06); }
.nav__menu-cta { display: none; }
.nav__cta { height: 46px; }
.nav__burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.04); cursor: pointer; position: relative; margin-left: auto; }
.nav__burger span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--text); transition: transform .5s var(--ease), top .5s var(--ease); }
.nav__burger span:first-child { top: 19px; }
.nav__burger span:last-child { top: 26px; }
.nav__burger[aria-expanded="true"] span:first-child { top: 22.5px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { top: 22.5px; transform: rotate(-45deg); }

/* ---------- Aurora: luz que respira atrás do conteúdo ---------- */
.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; mix-blend-mode: screen; will-change: transform; }
.aurora i:nth-child(1) { width: 60vw; height: 60vw; left: -18vw; top: -24vw; background: radial-gradient(circle, #05658F 0%, transparent 65%); animation: drift1 22s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { width: 46vw; height: 46vw; right: -10vw; top: 6vh; background: radial-gradient(circle, #1B9AD6 0%, transparent 62%); opacity: .42; animation: drift2 26s ease-in-out infinite alternate; }
.aurora i:nth-child(3) { width: 50vw; height: 50vw; left: 22vw; bottom: -34vw; background: radial-gradient(circle, #0A7FA8 0%, transparent 60%); animation: drift3 30s ease-in-out infinite alternate; }
.aurora i:nth-child(4) { width: 22vw; height: 22vw; right: 18vw; bottom: 8vh; background: radial-gradient(circle, #7FD6F7 0%, transparent 65%); opacity: .25; animation: drift2 18s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate(12vw, 10vh) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-14vw, 12vh) scale(.9); } }
@keyframes drift3 { to { transform: translate(-8vw, -14vh) scale(1.2); } }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 140px var(--m) 40px;
}
.hero__grid {
  position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 88px 88px; opacity: .5;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 0%, transparent 75%);
}
.hero .aurora { z-index: -2; }
/* O elefante do logo, gigante, recortando uma luz que gira por dentro */
.hero__elephant {
  position: absolute; z-index: -1; right: -7vw; top: 50%; translate: 0 -50%;
  width: min(46vw, 720px); opacity: .85; aspect-ratio: 569 / 600;
  -webkit-mask: url("/img/elefante.png") center / contain no-repeat; mask: url("/img/elefante.png") center / contain no-repeat;
  will-change: transform;
}
.hero__elephant-fill {
  position: absolute; inset: -30%;
  background: conic-gradient(from 0deg, #05658F, #4DBEEE, #0B3D57, #BFE9FB, #05658F);
  animation: spin 14s linear infinite; opacity: .9;
}
@keyframes spin { to { transform: rotate(1turn); } }

.hero__inner { position: relative; max-width: var(--container); width: 100%; margin: 0 auto; }
.hero__tag { margin-bottom: 28px; }
.switch {
  position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 5px; margin-bottom: 34px;
  border-radius: 99px; background: rgba(255,255,255,.05); border: 1px solid var(--line); backdrop-filter: blur(10px);
}
.switch button { position: relative; z-index: 1; border: 0; background: none; cursor: pointer; height: 42px; padding: 0 20px; border-radius: 99px; font-size: .9375rem; font-weight: 500; color: var(--text-soft); transition: color .4s; }
.switch button[aria-pressed="true"] { color: var(--bg); }
.switch__thumb { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 99px; background: var(--cyan); transition: transform .6s var(--ease); box-shadow: 0 8px 30px -8px rgba(77,190,238,.8); }
[data-audience="industria"] .switch__thumb { transform: translateX(100%); }

.hero__title { font-size: clamp(3rem, 1rem + 7.4vw, 8.75rem); max-width: 11.5em; }
.hero__title em { color: var(--cyan); padding-right: .06em; }
.hero__line { display: block; }
.hero__bottom { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 40px; margin-top: clamp(28px, 4vw, 48px); }
.hero__lead { max-width: 46ch; font-size: clamp(1.0625rem, 1rem + .35vw, 1.3125rem); line-height: 1.5; color: var(--text-soft); }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__stats {
  position: relative; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: clamp(28px, 6vw, 96px);
  max-width: var(--container); width: 100%; margin: clamp(48px, 7vh, 88px) auto 0; padding-top: 28px; border-top: 1px solid var(--line);
}
.hero__stats li { display: grid; gap: 2px; }
.hero__stats strong { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.25rem); font-weight: 500; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.hero__stats li > span { font-size: .875rem; color: var(--text-soft); }
.hero__scroll { position: absolute; right: var(--m); bottom: 40px; width: 28px; height: 46px; border-radius: 99px; border: 1px solid rgba(234,245,250,.3); }
.hero__scroll span { position: absolute; left: 50%; top: 9px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 3px; background: var(--cyan); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1 } 70% { transform: translateY(16px); opacity: 0 } 100% { opacity: 0 } }

/* Palavras partidas para as animações de entrada */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.w > span { display: inline-block; will-change: transform; }

/* ---------- Parceiros ---------- */
.partners { position: relative; padding: clamp(64px, 8vw, 110px) 0; background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.partners__title { text-align: center; font-size: .9375rem; font-weight: 500; letter-spacing: 0; color: var(--text-soft); margin: 0 var(--m) clamp(36px, 5vw, 56px); line-height: 1.4; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee + .marquee { margin-top: 16px; }
.marquee__track { display: flex; gap: 16px; width: max-content; animation: marquee 50s linear infinite; }
.marquee[data-dir="right"] .marquee__track { animation-direction: reverse; animation-duration: 56s; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track li {
  display: grid; place-items: center; width: clamp(180px, 18vw, 250px); height: clamp(88px, 8vw, 112px);
  border-radius: 20px; background: #F3F8FA;
  transition: background-color .5s var(--ease), transform .6s var(--ease);
}
.marquee__track li img { max-height: 50%; max-width: 68%; width: auto; object-fit: contain; filter: grayscale(1) contrast(1.1); opacity: .7; mix-blend-mode: multiply; transition: filter .5s, opacity .5s; }
.marquee__track li:hover { background: #fff; transform: translateY(-4px); }
.marquee__track li:hover img { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(calc(-50% - 8px)); } }

/* ---------- Manifesto ---------- */
.manifesto { padding: var(--section) 0; background: var(--bg); }
.manifesto__head { margin-bottom: 36px; }
.manifesto__text { font-size: clamp(2rem, 1rem + 3.4vw, 4.5rem); font-weight: 400; letter-spacing: -0.04em; line-height: 1.06; max-width: 19em; }
.manifesto__text em { color: var(--cyan); }
.fw { transition: color .2s; }
.js .manifesto__text .fw { color: rgba(234,245,250,.14); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(64px, 8vw, 112px); }
.values li { padding: 32px; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--line); transition: transform .6s var(--ease), border-color .5s, background-color .5s; }
.values li:hover { transform: translateY(-6px); border-color: rgba(77,190,238,.4); background: rgba(77,190,238,.06); }
.values__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: rgba(77,190,238,.12); margin-bottom: 28px; }
.values__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--cyan); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.values h3 { font-size: 1.375rem; margin-bottom: 10px; }
.values p { color: var(--text-soft); font-size: 1rem; }

/* ---------- Soluções: trilho horizontal ---------- */
.services { position: relative; background: var(--paper); color: var(--ink); border-radius: 40px 40px 0 0; }
.services__pin { overflow: hidden; }
.services__track { display: flex; gap: 24px; padding: var(--section) var(--m); width: max-content; align-items: stretch; }
.services__intro { width: min(520px, 80vw); display: flex; flex-direction: column; gap: 24px; padding-right: 40px; justify-content: center; }
.services__intro .tag { color: var(--petrol); }
.services__intro h2 { font-size: clamp(2.5rem, 1.2rem + 3.6vw, 5rem); }
.services__intro h2 em { color: var(--petrol); }
.services__intro p { color: var(--ink-soft); max-width: 38ch; }
.services__hint { display: inline-flex; align-items: center; gap: 10px; font-size: .875rem; font-weight: 600; color: var(--petrol); }
.services__hint svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 2; animation: nudge 1.6s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateX(6px); } }
.card {
  position: relative; width: min(440px, 82vw); flex: none; display: flex; flex-direction: column;
  border-radius: var(--radius); background: #fff; overflow: hidden;
  box-shadow: 0 1px 0 rgba(4,19,28,.04), 0 30px 60px -40px rgba(4,19,28,.35);
  transition: transform .7s var(--ease), box-shadow .7s var(--ease);
}
.card:hover { transform: translateY(-10px) rotate(-.4deg); box-shadow: 0 50px 90px -40px rgba(4,19,28,.45); }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy); }
.card__media--photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75) contrast(1.05); transition: transform 1.2s var(--ease); }
.card__media--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,101,143,.05), rgba(3,51,72,.55)); mix-blend-mode: multiply; }
.card:hover .card__media--photo img { transform: scale(1.07); }
.card__body { display: flex; flex-direction: column; gap: 14px; padding: 28px 30px 32px; flex: 1; }
.card__num { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--petrol); line-height: 1; }
.card h3 { font-size: clamp(1.5rem, 1.2rem + .8vw, 2rem); letter-spacing: -0.035em; font-weight: 600; }
.card p { color: var(--ink-soft); font-size: 1rem; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 10px; }
.pills li { padding: 7px 13px; border-radius: 99px; background: var(--paper-2); font-size: .8125rem; font-weight: 500; color: var(--navy); }
.services__progress { position: absolute; left: var(--m); right: var(--m); bottom: 48px; height: 2px; background: rgba(4,19,28,.08); border-radius: 2px; overflow: hidden; }
.services__progress span { display: block; height: 100%; width: 100%; background: var(--petrol); transform-origin: left; transform: scaleX(0); }

/* Maquete de site dentro do card de presença digital */
.card__media--ui { display: grid; place-items: center; background: radial-gradient(circle at 30% 20%, #0B7DB0, #033348 70%); }
.mock { width: 78%; border-radius: 14px; background: #fff; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); transform: rotate(-3deg); transition: transform .9s var(--ease); }
.card:hover .mock { transform: rotate(0) scale(1.04); }
.mock__bar { display: flex; align-items: center; gap: 5px; padding: 9px 12px; background: #EDF3F6; }
.mock__bar i { width: 8px; height: 8px; border-radius: 50%; background: #C5D5DD; }
.mock__bar span { margin-left: 10px; font-size: .625rem; color: #6C8592; }
.mock__hero { padding: 16px 16px 10px; display: grid; gap: 7px; }
.mock__hero b { display: block; height: 10px; border-radius: 4px; background: #033348; width: 80%; }
.mock__hero b + b { width: 55%; background: #05658F; }
.mock__btn { width: 64px; height: 16px; border-radius: 99px; background: var(--cyan); margin-top: 4px; }
.mock__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 6px 16px; }
.mock__row span { height: 34px; border-radius: 8px; background: #EDF3F6; }
.mock__chart { display: flex; align-items: flex-end; gap: 6px; height: 54px; padding: 8px 16px 14px; }
.mock__chart i { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: linear-gradient(180deg, #4DBEEE, #05658F); transform-origin: bottom; animation: grow 2.4s var(--ease) infinite alternate; }
.mock__chart i:nth-child(odd) { animation-delay: .3s; }
@keyframes grow { from { transform: scaleY(.55); } }

/* ---------- Processo ---------- */
.process { background: var(--paper); color: var(--ink); padding: 0 0 var(--section); }
.process__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 120px); align-items: start; }
.process__head { position: sticky; top: 130px; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.process__head .tag { color: var(--petrol); }
.process__head h2 { font-size: clamp(2.5rem, 1.2rem + 3.6vw, 5rem); }
.process__head h2 em { color: var(--petrol); }
.process__head p { color: var(--ink-soft); }
.steps { position: relative; padding-left: 64px; }
.steps__line { position: absolute; left: 15px; top: 12px; bottom: 12px; width: 2px; background: rgba(4,19,28,.1); border-radius: 2px; overflow: hidden; }
.steps__line i { position: absolute; inset: 0; background: linear-gradient(180deg, var(--cyan), var(--petrol)); transform-origin: top; transform: scaleY(0); }
.no-motion .steps__line i { transform: none; }
.step { position: relative; padding: 8px 0 clamp(56px, 7vw, 96px); }
.step:last-child { padding-bottom: 0; }
.step__dot { position: absolute; left: -64px; top: 6px; width: 32px; height: 32px; border-radius: 50%; background: var(--paper); border: 2px solid rgba(4,19,28,.15); transition: border-color .5s, background-color .5s, box-shadow .5s; }
.step__dot::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: rgba(4,19,28,.15); transition: background-color .5s; }
.step.is-on .step__dot { border-color: var(--petrol); box-shadow: 0 0 0 8px rgba(77,190,238,.15); }
.step.is-on .step__dot::after { background: var(--petrol); }
.step h3 { font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.75rem); font-weight: 500; letter-spacing: -0.04em; margin-bottom: 14px; }
.step p { max-width: 46ch; color: var(--ink-soft); font-size: 1.0625rem; }

/* ---------- Números ---------- */
.numbers { position: relative; padding: var(--section) 0; background: var(--bg); border-radius: 40px 40px 0 0; margin-top: -40px; }
.numbers__head { display: flex; flex-direction: column; gap: 22px; margin-bottom: clamp(48px, 6vw, 80px); }
.numbers__head h2 { font-size: clamp(2.5rem, 1.2rem + 3.6vw, 5rem); }
.numbers__head h2 em { color: var(--cyan); }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile {
  position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  min-height: 210px; padding: 28px; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--line);
  transition: border-color .5s, transform .7s var(--ease);
}
.tile::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(77,190,238,.14), transparent 45%); opacity: 0; transition: opacity .4s; }
.tile:hover { border-color: rgba(77,190,238,.35); }
.tile:hover::before { opacity: 1; }
.tile__num { font-size: clamp(2.75rem, 1.6rem + 2.6vw, 4.5rem); font-weight: 500; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.tile__label { color: var(--text-soft); font-size: .9375rem; max-width: 24ch; line-height: 1.45; }
.tile--wide { grid-column: span 2; }
.tile--hero { grid-column: span 2; grid-row: span 2; background: linear-gradient(160deg, rgba(5,101,143,.5), rgba(3,20,30,.2)); }
.tile--hero .tile__num { font-size: clamp(5rem, 2rem + 8vw, 10rem); }
.tile--hero .tile__label { color: var(--text); font-size: 1.125rem; }
.tile__chart { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 45%; }
.tile__line { stroke: var(--cyan); stroke-width: 2.5; stroke-dasharray: 1; stroke-dashoffset: 0; vector-effect: non-scaling-stroke; }
.tile--accent { background: var(--cyan); color: var(--bg); border-color: var(--cyan); }
.tile--accent .tile__label { color: rgba(3,20,30,.75); }

/* ---------- Faixa com foto ---------- */
.band { background: var(--bg); padding: 0 0 var(--section); }
.band__frame { position: relative; height: min(92svh, 900px); margin: 0 auto; overflow: hidden; border-radius: var(--radius); clip-path: inset(0 var(--m) round var(--radius)); }
.band__img { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; filter: saturate(.7); }
.band__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3,20,30,.15) 0%, rgba(3,20,30,.35) 40%, rgba(3,20,30,.92) 100%), linear-gradient(90deg, rgba(5,101,143,.45), transparent 60%); }
.band__copy { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(32px, 5vw, 80px) calc(var(--m) + clamp(24px, 4vw, 64px)); display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; }
.band h2 { font-size: clamp(2.25rem, 1rem + 3.6vw, 5rem); }
.band h2 em { color: var(--ice); }
.band p { color: var(--text); max-width: 40ch; font-size: 1.0625rem; }

/* ---------- Depoimentos ---------- */
.quotes { background: var(--paper); color: var(--ink); padding: var(--section) 0; border-radius: 40px 40px 0 0; }
.quotes__head { display: flex; flex-direction: column; gap: 22px; margin-bottom: clamp(40px, 5vw, 72px); }
.quotes__head .tag { color: var(--petrol); }
.quotes__head h2 { font-size: clamp(2.5rem, 1.2rem + 3.6vw, 5rem); }
.quotes__head h2 em { color: var(--petrol); }
.quotes__stage { display: grid; }
.quote { grid-area: 1 / 1; position: relative; display: grid; gap: 40px; opacity: 0; visibility: hidden; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease), visibility 0s .8s; }
.quote.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.quote__mark { position: absolute; left: -.08em; top: -.38em; font-family: var(--serif); font-size: clamp(8rem, 14vw, 16rem); line-height: 1; color: var(--cyan); opacity: .35; pointer-events: none; }
.quote blockquote p { position: relative; font-size: clamp(1.875rem, 1rem + 2.8vw, 4rem); font-weight: 400; letter-spacing: -0.04em; line-height: 1.1; max-width: 22em; }
.quote figcaption { display: flex; align-items: center; gap: 16px; }
.quote figcaption strong { display: block; font-weight: 600; }
.quote figcaption span:last-child { color: var(--ink-soft); font-size: .9375rem; line-height: 1.4; }
.avatar { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--petrol), var(--navy)); color: #fff; font-weight: 600; letter-spacing: .02em; flex: none; }
.quotes__nav { display: flex; align-items: center; gap: 16px; margin-top: 56px; }
.quotes__count { font-variant-numeric: tabular-nums; font-weight: 500; color: var(--ink-soft); min-width: 3.5em; text-align: center; }

/* ---------- FAQ ---------- */
.faq { background: var(--paper); color: var(--ink); padding: 0 0 var(--section); }
.faq__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 120px); align-items: start; }
.faq__head { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 130px; }
.faq__head .tag { color: var(--petrol); }
.faq__head h2 { font-size: clamp(2.5rem, 1.2rem + 3.6vw, 5rem); }
.faq__head h2 em { color: var(--petrol); }
.faq__head p { color: var(--ink-soft); }
.faq__head a { color: var(--petrol); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.faq__list { display: grid; gap: 12px; }
.qa { border-radius: 22px; background: #fff; transition: background-color .4s, box-shadow .4s; }
.qa[open] { box-shadow: 0 30px 60px -40px rgba(4,19,28,.3); }
.qa summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 26px; font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); font-weight: 600; letter-spacing: -0.02em;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; flex: none; width: 36px; height: 36px; border-radius: 50%;
  background: var(--paper-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23033348' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .5s var(--ease), background-color .4s;
}
.qa[open] summary::after { transform: rotate(135deg); background-color: var(--cyan); }
.qa__body { padding: 0 26px 26px; color: var(--ink-soft); max-width: 62ch; }

/* ---------- Contato ---------- */
.contact { position: relative; overflow: hidden; isolation: isolate; padding: var(--section) 0; background: var(--bg); border-radius: 40px 40px 0 0; margin-top: -40px; }
.contact .aurora { z-index: -1; opacity: .8; }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.contact__intro { display: flex; flex-direction: column; gap: 26px; position: sticky; top: 130px; }
.contact h2 { font-size: clamp(3rem, 1.2rem + 5vw, 7rem); }
.contact h2 em { color: var(--cyan); }
.contact__lead { color: var(--text-soft); font-size: 1.125rem; max-width: 34ch; }
.contact__direct { display: grid; gap: 14px; margin-top: 12px; font-size: 1.0625rem; }
.contact__direct li, .contact__direct a { display: inline-flex; align-items: center; gap: 14px; }
.contact__direct a { transition: color .3s; }
.contact__direct a:hover { color: var(--cyan); }
.contact__ico { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: var(--glass); flex: none; }
.contact__ico svg { width: 20px; height: 20px; fill: none; stroke: var(--cyan); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.composer {
  display: grid; gap: 22px; padding: clamp(24px, 3.4vw, 44px); border-radius: 32px;
  background: rgba(6, 34, 51, .55); border: 1px solid var(--line);
  backdrop-filter: blur(24px) saturate(1.3); -webkit-backdrop-filter: blur(24px) saturate(1.3);
  box-shadow: 0 40px 100px -50px rgba(0,0,0,.8);
}
.field { position: relative; }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--text); background: rgba(255,255,255,.04);
  border: 1px solid var(--line); border-radius: 16px; padding: 26px 18px 10px; min-height: 62px; resize: vertical;
  transition: border-color .3s, background-color .3s;
}
.field textarea { min-height: 96px; }
.field label { position: absolute; left: 19px; top: 20px; color: var(--text-soft); pointer-events: none; transform-origin: left; transition: transform .35s var(--ease), color .3s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cyan); background: rgba(77,190,238,.06); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-11px) scale(.78); color: var(--cyan); }
.field input[aria-invalid="true"] { border-color: #FF8A80; }
.group { border: 0; margin: 0; padding: 0; min-width: 0; }
.group legend { padding: 0; margin-bottom: 12px; font-size: .875rem; color: var(--text-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; height: 42px; padding: 0 16px; border-radius: 99px; border: 1px solid var(--line); background: rgba(255,255,255,.03); font-size: .9375rem; transition: background-color .35s var(--ease), color .35s, border-color .35s, transform .2s; }
.chip:hover span { border-color: rgba(77,190,238,.5); }
.chip input:checked + span { background: var(--cyan); color: var(--bg); border-color: var(--cyan); font-weight: 600; }
.chip input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 3px; }
.chip:active span { transform: scale(.96); }
/* Prévia em forma de balão de WhatsApp */
.bubble { position: relative; align-self: start; justify-self: end; max-width: 92%; padding: 14px 18px 16px; border-radius: 20px 20px 6px 20px; background: #DCF8C6; color: #0B1C14; box-shadow: 0 16px 40px -20px rgba(0,0,0,.6); }
.bubble__who { display: block; font-size: .75rem; font-weight: 600; color: #2E7D52; margin-bottom: 4px; }
.bubble p { white-space: pre-line; font-size: .9375rem; line-height: 1.45; }
.composer__actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.composer__mail { color: var(--text-soft); font-size: .9375rem; text-decoration: underline; text-underline-offset: 4px; transition: color .3s; }
.composer__mail:hover { color: var(--text); }
.composer__error { color: #FFB4AB; font-size: .875rem; }

/* ---------- Rodapé ---------- */
.footer { position: relative; background: var(--bg); padding: clamp(72px, 9vw, 120px) 0 28px; overflow: hidden; border-top: 1px solid var(--line); }
.footer__top { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; }
.footer__claim { font-size: clamp(1.75rem, 1rem + 2.2vw, 3.25rem); letter-spacing: -0.04em; line-height: 1.05; max-width: 14em; }
.footer__claim em { color: var(--cyan); }
.footer__links { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.footer__links ul { display: grid; gap: 10px; align-content: start; }
.footer__links a { color: var(--text-soft); transition: color .3s; }
.footer__links a:hover { color: var(--text); }
.footer__word {
  display: flex; justify-content: space-between; margin: clamp(56px, 8vw, 110px) 0 0;
  font-size: clamp(3.5rem, .5rem + 14.6vw, 15.5rem); font-weight: 700; letter-spacing: -0.06em; line-height: .82; padding-right: .04em;
  color: transparent; -webkit-text-stroke: 1px rgba(191,233,251,.35);
}
.footer__word span { display: inline-block; transition: color .5s var(--ease), -webkit-text-stroke-color .5s; }
.footer__word .lite { font-weight: 300; font-style: normal; }
.footer__word span:hover { color: var(--cyan); -webkit-text-stroke-color: var(--cyan); }
.footer__legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .875rem; color: var(--text-soft); }
.footer__top-link:hover { color: var(--cyan); }
.footer__credits { margin-top: 14px; font-size: .75rem; color: rgba(148,179,194,.7); max-width: 90ch; }

/* ---------- Tablet ---------- */
@media (max-width: 1080px) {
  .nav__links {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; gap: 4px;
    padding: 100px var(--m) 40px; margin: 0; background: rgba(3,20,30,.97); backdrop-filter: blur(20px);
    border-radius: 0; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s .5s;
  }
  .nav__links a { font-size: clamp(2rem, 8vw, 3rem); font-weight: 500; letter-spacing: -0.04em; color: var(--text); padding: 6px 0; background: none !important; transform: translateY(20px); opacity: 0; transition: transform .6s var(--ease), opacity .6s; }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; transition-delay: 0s; }
  .nav.is-open .nav__links a { transform: none; opacity: 1; }
  .nav.is-open .nav__links a:nth-child(2) { transition-delay: .05s; } .nav.is-open .nav__links a:nth-child(3) { transition-delay: .1s; }
  .nav.is-open .nav__links a:nth-child(4) { transition-delay: .15s; } .nav.is-open .nav__links a:nth-child(5) { transition-delay: .2s; }
  .nav.is-open .nav__links a:nth-child(6) { transition-delay: .25s; }
  .nav__menu-cta { display: block; color: var(--cyan) !important; }
  .nav.is-open { background: transparent; border-color: transparent; backdrop-filter: none; box-shadow: none; }
  .nav__burger { display: block; }
  .nav__cta { display: none; }
  .hero__elephant { width: 80vw; right: -24vw; opacity: .55; }
  .hero__bottom { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .process__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .process__head, .faq__head, .contact__intro { position: static; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .band__copy { grid-template-columns: 1fr; gap: 18px; }
  .footer__top { grid-template-columns: 1fr; }
}

/* Telas onde o trilho horizontal não fixa: vira rolagem lateral com o dedo */
@media (max-width: 1023px) {
  .services__pin { overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--m); -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .services__pin::-webkit-scrollbar { display: none; }
  .card, .services__intro { scroll-snap-align: start; }
  .services__track { padding-block: 96px; }
  .services__progress { display: none; }
}

/* ---------- Celular ---------- */
@media (max-width: 640px) {
  .nav { top: 10px; height: 58px; width: calc(100% - 20px); padding-left: 18px; padding-right: 6px; }
  .nav__brand img { height: 28px; }
  .hero { padding-top: 116px; padding-bottom: 28px; }
  .hero__elephant { width: 110vw; right: -46vw; top: 34%; opacity: .4; }
  .switch { margin-bottom: 26px; }
  .switch button { padding: 0 14px; font-size: .875rem; height: 40px; }
  .hero__title { font-size: clamp(2.6rem, 11.6vw, 4rem); }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__stats { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .hero__stats strong { font-size: 1.25rem; }
  .hero__stats li > span { font-size: .75rem; line-height: 1.3; }
  .hero__scroll { display: none; }
  .services__intro { width: 84vw; padding-right: 0; }
  .card { width: 84vw; }
  .bento { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tile { min-height: 160px; padding: 20px; border-radius: 22px; }
  .tile--hero { grid-column: 1 / -1; grid-row: auto; min-height: 300px; }
  .tile__num { font-size: 2.25rem; }
  .tile__label { font-size: .8125rem; }
  .band__frame { height: 80svh; clip-path: inset(0 10px round 22px); }
  .band__copy { padding: 28px 30px; }
  .quote blockquote p { font-size: 1.75rem; }
  .qa summary { padding: 20px; }
  .qa__body { padding: 0 20px 20px; }
  .bubble { max-width: 100%; }
  .composer__actions .btn { flex: 1 1 100%; }
  .footer__word { -webkit-text-stroke-width: .6px; }
}

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .loader { display: none; }
  .js .manifesto__text .fw { color: inherit; }
  .steps__line i { transform: none; }
}

/* ---------- Páginas legais ---------- */
.legal-page { background: var(--paper); color: var(--ink); }
.legal-page .nav { background: rgba(3, 20, 30, .9); border-color: var(--line); color: var(--text); }
.legal { padding: 170px 0 var(--section); }
.legal__grid { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(40px, 6vw, 110px); }
.legal__head { position: sticky; top: 130px; align-self: start; }
.legal__head h1 { font-size: clamp(2.5rem, 1.4rem + 3vw, 4.5rem); }
.legal__head h1 em { color: var(--petrol); }
.legal__head p { margin-top: 20px; color: var(--ink-soft); font-size: .9375rem; }
.legal__body { max-width: 68ch; }
.legal__body h2 { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; margin: 48px 0 14px; }
.legal__body h2:first-child { margin-top: 0; }
.legal__body p, .legal__body li { margin-bottom: 12px; color: #26404D; }
.legal__body ul { list-style: disc; padding-left: 1.2em; }
.legal__body a { color: var(--petrol); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1080px) { .legal__grid { grid-template-columns: 1fr; } .legal__head { position: static; } }

/* Menu do celular: a barra perde o transform para o painel fixo cobrir a tela toda */
@media (max-width: 1080px) {
  .nav { left: 16px; right: 16px; width: auto; transform: none; }
  .nav.is-hidden { transform: translateY(-140%); }
  .nav.is-open { transform: none; }
  .nav.is-open .nav__logo-dark { opacity: 1; }
  .nav.is-open .nav__logo-light { opacity: 0; }
  .nav.is-open .nav__burger { border-color: var(--line); }
  .nav__links { inset: -16px -16px auto -16px; height: 100dvh; }
}
@media (max-width: 640px) {
  .nav { left: 10px; right: 10px; }
  .nav__links { inset: -10px -10px auto -10px; }
  .tile--wide { grid-column: auto; }
  .bento .tile:last-child { grid-column: 1 / -1; min-height: 140px; }
}
