/* =========================================================================
   Samuel Batista · versão Claude
   Identidade oficial WebSam: Profundo, Céu, Brisa e Sol · Montserrat + IBM Plex
   Fio condutor: O Traço (7 · 1 · 1 · 1 · 3), a base interrompida da nuvem,
   desenhado pela página inteira como a jornada de um lead.
   ========================================================================= */

/* ---------- Fontes locais ---------- */
@font-face {
  font-family: "Montserrat";
  src: url("fonts/montserrat-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Montserrat";
  src: url("fonts/montserrat-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("fonts/ibm-plex-sans-vf.woff2") format("woff2");
  font-weight: 100 700;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("fonts/ibm-plex-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("fonts/ibm-plex-mono-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
/* Fontes de reserva com a largura calibrada: enquanto a fonte de verdade não chega, o texto ocupa o mesmo espaço e
   nada pula de lugar na troca. Medido em frases do site: Montserrat 700 é 9,5% mais larga que Arial Bold, a 600 é
   7,6%, e IBM Plex Sans é 0,75% mais larga que Arial. Subida e descida divididas pelo mesmo fator. */
@font-face {
  font-family: "Montserrat Fallback";
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("Roboto Bold"), local("Roboto-Bold"), local("Helvetica Bold"), local("Helvetica-Bold");
  font-weight: 651 900;
  size-adjust: 109.5%;
  ascent-override: 88.4%;
  descent-override: 22.9%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Montserrat Fallback";
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("Roboto Bold"), local("Roboto-Bold"), local("Helvetica Bold"), local("Helvetica-Bold");
  font-weight: 100 650;
  size-adjust: 107.6%;
  ascent-override: 90%;
  descent-override: 23.3%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "IBM Plex Sans Fallback";
  src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("Roboto"), local("Roboto-Regular"), local("Helvetica");
  size-adjust: 100.75%;
  ascent-override: 101.7%;
  descent-override: 27.3%;
  line-gap-override: 0%;
}

/* ---------- Tokens de tema (animáveis) ---------- */
@property --bg { syntax: "<color>"; inherits: true; initial-value: #001C2D; }
@property --fg { syntax: "<color>"; inherits: true; initial-value: #F7FBFC; }
@property --fg2 { syntax: "<color>"; inherits: true; initial-value: #A3C6DE; }
@property --line { syntax: "<color>"; inherits: true; initial-value: rgba(142, 202, 230, .12); }
@property --line2 { syntax: "<color>"; inherits: true; initial-value: rgba(142, 202, 230, .28); }
@property --signal { syntax: "<color>"; inherits: true; initial-value: #8ECAE6; }
@property --hi { syntax: "<color>"; inherits: true; initial-value: #5CB8D2; }

:root {
  --profundo-950: #001C2D;
  --profundo-900: #023047;
  --profundo-800: #134764;
  --profundo-500: #5891B4;
  --ceu-700: #0C687D;
  --ceu-500: #219EBC;
  --ceu-400: #5CB8D2;
  --brisa: #8ECAE6;
  --ceu-200: #B7E5F4;
  --ceu-100: #D8F2FB;
  --sol: #FFB703;
  --sol-400: #FEC96C;
  --nevoa-100: #F0F4F7;
  --nevoa-950: #071820;
  --panel-ink: #00121D;

  --f-display: "Montserrat", "Montserrat Fallback", Arial, sans-serif;
  --f-text: "IBM Plex Sans", "IBM Plex Sans Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: clamp(20px, 5vw, 88px);
  --wrap: min(1280px, calc(100% - var(--gutter) * 2));
  --wrap-left: calc((100% - var(--wrap)) / 2);
  --header-h: 76px;
  --footer-h: 4rem;
  /* retratos próximos (topo e contato): largura pela altura útil da tela, com ~72% da foto visível */
  --pv: calc(100svh - var(--header-h) - 1rem - var(--marquee-h, 62px));
  --pw: min(calc(var(--pv) * .93), 47vw, 680px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  /* O Traço em CSS: linha 7 · vão 1 · ponto 1 · vão 1 · linha 3 */
  --traco-2: linear-gradient(currentColor 0 0) 0 0 / 14px 100% no-repeat,
             linear-gradient(currentColor 0 0) 16px 0 / 2px 100% no-repeat,
             linear-gradient(currentColor 0 0) 20px 0 / 6px 100% no-repeat;
  --traco-3: linear-gradient(currentColor 0 0) 0 0 / 21px 100% no-repeat,
             linear-gradient(currentColor 0 0) 24px 0 / 3px 100% no-repeat,
             linear-gradient(currentColor 0 0) 30px 0 / 9px 100% no-repeat;
}

html[data-theme="dark"] {
  --bg: #001C2D; --fg: #F7FBFC; --fg2: #A3C6DE;
  --line: rgba(142, 202, 230, .12); --line2: rgba(142, 202, 230, .28);
  --signal: #8ECAE6; --hi: #5CB8D2;
}
html[data-theme="light"] {
  --bg: #F0F4F7; --fg: #071820; --fg2: #4A585E;
  --line: rgba(2, 48, 71, .08); --line2: rgba(2, 48, 71, .2);
  --signal: #219EBC; --hi: #0C687D;
}
html[data-theme="blueprint"] {
  --bg: #023047; --fg: #F7FBFC; --fg2: #B7D3E6;
  --line: rgba(142, 202, 230, .14); --line2: rgba(142, 202, 230, .32);
  --signal: #8ECAE6; --hi: #8ECAE6;
}
html {
  transition: --bg .8s var(--ease-out), --fg .8s var(--ease-out), --fg2 .8s var(--ease-out),
              --line .8s, --line2 .8s, --signal .8s, --hi .8s;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg);
  color: var(--fg);
  font-family: var(--f-text);
  font-size: clamp(1rem, .95rem + .22vw, 1.125rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3, h4, h5 {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.035em;
  text-wrap: balance;
}
::selection { background: var(--sol); color: var(--profundo-950); }
:focus-visible { outline: 2px solid var(--hi); outline-offset: 4px; border-radius: 4px; }

.wrap { width: var(--wrap); margin-inline: auto; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 16px; top: -64px; z-index: 300;
  padding: .7rem 1rem; border-radius: 10px;
  background: var(--sol); color: var(--profundo-950);
  font-weight: 600; text-decoration: none;
  transition: top .2s;
}
.skip:focus { top: 16px; }

.mono {
  font-family: var(--f-mono);
  font-size: .75rem;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.eyebrow {
  display: flex; align-items: center; gap: .75em;
  margin: 0 0 1.6rem;
  color: var(--fg2);
  transition: color .5s;
}
.eyebrow[data-node]::before {
  content: "";
  flex: none;
  width: 26px; height: 2px;
  background: var(--traco-2);
  opacity: .5;
  transition: opacity .5s;
}
.eyebrow.lit { color: var(--hi); }
.eyebrow.lit::before { opacity: 1; }
.eyebrow .dot {
  width: .55em; height: .55em; border-radius: 50%;
  background: var(--hi);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--hi) 22%, transparent);
}
.h2 {
  font-size: clamp(2.4rem, 1.3rem + 3.9vw, 5.2rem);
  line-height: .98;
  letter-spacing: -.045em;
}
.rl-mask { padding: .12em 0 .1em; margin: -.12em 0 -.1em; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .7rem;
  padding: 1.05rem 1.45rem;
  border: 1px solid transparent;
  border-radius: 12px;
  font-family: var(--f-display);
  font-size: 1rem; font-weight: 600; line-height: 1;
  letter-spacing: -.01em;
  text-decoration: none;
  transition: background-color .15s, color .15s, border-color .15s, box-shadow .25s;
}
.ico {
  width: 1.15em; height: 1.15em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform .45s var(--ease-out);
}
.btn:hover .ico, .cta-orb:hover .ico { transform: translate(3px, -3px); }
.btn-sol {
  background: var(--sol); color: var(--profundo-950);
  box-shadow: 0 14px 44px -14px rgba(255, 183, 3, .6);
}
.btn-sol:hover { background: var(--sol-400); }
.btn-ghost { border-color: var(--line2); color: var(--fg); }
.btn-ghost:hover { border-color: var(--fg); }
.btn-sm { padding: .72rem 1.05rem; font-size: .9rem; border-radius: 10px; }
.btn-link {
  display: inline-flex; align-items: center; gap: .5rem;
  padding-block: .3rem;
  font-family: var(--f-display); font-weight: 600;
  text-decoration: none; color: var(--fg);
  background: linear-gradient(currentColor 0 0) 0 100% / 100% 1px no-repeat;
  transition: background-size .5s var(--ease-out);
}
.btn-link:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ---------- Loader ---------- */
.loader { display: none; }
.js .loader {
  position: fixed; inset: 0; z-index: 250;
  display: grid; place-items: center;
  background: var(--profundo-950); color: #F7FBFC;
  clip-path: inset(0 0 0 0);
  animation: loader-bye .6s ease 3.6s forwards;
}
.js.paused .loader { display: none; }
/* tela estreita (classe posta no <head>): abertura direta, a primeira tela aparece sem esperar os scripts */
.js.lite .loader { display: none; }
@keyframes loader-bye { to { opacity: 0; visibility: hidden; } }
.loader-inner { display: grid; justify-items: center; gap: 1.5rem; }
.loader-cloud { width: 120px; height: auto; overflow: visible; }
.loader-cloud path {
  fill: none; stroke-width: 2.2; stroke-linecap: butt;
  stroke-dasharray: 1; stroke-dashoffset: 1;
}
.lc-nuvem { stroke: var(--brisa); }
.lc-ponto { stroke: var(--ceu-500); }
.loader-meta { display: flex; gap: 1rem; color: var(--brisa); }
.loader-count { color: #F7FBFC; min-width: 3ch; font-variant-numeric: tabular-nums; }
.loader-bar { width: 220px; height: 3px; border-radius: 2px; overflow: hidden; background: rgba(142, 202, 230, .16); }
.loader-bar span { display: block; height: 100%; background: var(--ceu-500); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Barra de progresso (O Traço repetido) ---------- */
.progress { position: fixed; inset: 0 0 auto 0; z-index: 220; height: 3px; pointer-events: none; }
.progress span {
  display: block; height: 100%;
  transform-origin: 0 50%; transform: scaleX(0);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='45' height='3'%3E%3Cg fill='%23219EBC'%3E%3Crect width='21' height='3'/%3E%3Crect x='24' width='3' height='3'/%3E%3Crect x='30' width='9' height='3'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 45px 3px repeat-x;
}

/* ---------- Cabeçalho ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 200;
  height: var(--header-h);
  display: flex; align-items: center;
  color: var(--fg);
  border-bottom: 1px solid transparent;
  transition: transform .6s var(--ease-out), background-color .4s, border-color .4s;
}
.header.scrolled {
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--line);
}
.header.hidden { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand {
  display: inline-flex; align-items: center; gap: .8rem;
  text-decoration: none;
  font-family: var(--f-display); font-weight: 700; font-size: 1.05rem;
  letter-spacing: -.02em;
}
.brand-traco { display: inline-flex; align-items: center; gap: 3px; color: var(--hi); }
.brand-traco i, .brand-traco b { display: block; height: 3px; background: currentColor; }
.brand-traco i { width: 21px; }
.brand-traco i:last-child { width: 9px; }
.brand-traco b { width: 3px; }
.nav { display: flex; gap: 2.2rem; font-size: .95rem; }
.nav a { color: var(--fg2); text-decoration: none; transition: color .2s; }
.nav a:hover { color: var(--fg); }

/* ---------- Cursor ---------- */
.cursor { display: none; }
.has-cursor .cursor {
  display: block;
  position: fixed; left: 0; top: 0; z-index: 240;
  pointer-events: none;
  mix-blend-mode: difference;
}
.cursor-dot, .cursor-ring { position: absolute; left: 0; top: 0; border-radius: 50%; will-change: transform; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #fff; }
.cursor-ring {
  width: 38px; height: 38px; margin: -19px 0 0 -19px;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .75);
  transition: width .4s var(--ease-out), height .4s var(--ease-out), margin .4s var(--ease-out),
              background-color .3s, border-color .3s, opacity .3s;
}
.cursor-label {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase;
  color: #000; white-space: nowrap; opacity: 0; transition: opacity .2s;
}
.cursor.is-link .cursor-ring { width: 58px; height: 58px; margin: -29px 0 0 -29px; }
.cursor.is-label .cursor-ring { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: #fff; border-color: #fff; }
.cursor.is-label .cursor-label { opacity: 1; }
.cursor.is-none .cursor-ring { opacity: 0; }
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor [data-cursor] { cursor: none; }

/* ---------- Estrutura geral e O Traço condutor ---------- */
main { position: relative; display: block; }
main > section, html:not(.has-pin) .est-pin > section { position: relative; z-index: 1; }
/* .est-pin embrulha a Estrutura e serve de espaçador do pin: com ele pronto no HTML, o ScrollTrigger não precisa tirar a seção do lugar */
.has-pin .est-pin { z-index: 1 !important; }
.signal {
  position: absolute; left: 0; top: 0; z-index: 0;
  width: 100%; height: 100%;
  overflow: visible; pointer-events: none;
  color: var(--signal);
}
.sig-ghost {
  fill: none; stroke: currentColor; stroke-width: 1.2;
  stroke-dasharray: 1.2 8; stroke-linecap: round; opacity: .4;
}
.sig-line {
  fill: none; stroke: currentColor; stroke-width: 3;
  stroke-linecap: butt; stroke-linejoin: round;
  stroke-dasharray: 35 5 5 5 15 10;
}
.sig-node { fill: var(--bg); stroke: currentColor; stroke-width: 1.5; transition: fill .4s; }
.sig-node.on { fill: currentColor; }
.sig-node-ring { fill: none; stroke: currentColor; stroke-width: 1; opacity: 0; transform-box: fill-box; transform-origin: center; }
.sig-node-ring.on { animation: node-ping 1s var(--ease-out) 1; }
@keyframes node-ping {
  0% { opacity: .9; transform: scale(.6); }
  100% { opacity: 0; transform: scale(3.4); }
}
.sig-head {
  position: absolute; left: 0; top: 0; z-index: 0;
  width: 12px; height: 12px; margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--signal) 22%, transparent),
              0 0 26px 6px color-mix(in srgb, var(--signal) 50%, transparent);
  opacity: 0; pointer-events: none;
  transition: opacity .35s;
  will-change: transform;
}
.sig-head.on { opacity: 1; }

.grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
                    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: -1px -1px;
}
.cloud-cut { position: absolute; max-width: none; height: auto; pointer-events: none; }

/* ---------- 01 · Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column;
  isolation: isolate;
  overflow: clip;
  /* acima de 1440px o título cresce mais que a coluna: o retrato recua até 76px para a margem direita */
  --shift: clamp(0px, (100vw - 1440px) * .41, 76px);
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg .grid-lines {
  -webkit-mask-image: radial-gradient(110% 80% at 72% 40%, #000 22%, transparent 78%);
  mask-image: radial-gradient(110% 80% at 72% 40%, #000 22%, transparent 78%);
}
.hero .cloud-cut { width: min(1500px, 120vw); right: -30vw; top: 4%; opacity: .14; }
.hero-glow {
  position: absolute; right: -8vw; top: 2%;
  width: min(920px, 72vw); aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(33, 158, 188, .3), rgba(33, 158, 188, .07) 42%, transparent 66%);
}
.hero-canvas { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; }
.hero-inner {
  position: relative; flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) calc(var(--pw) * .72 - var(--shift));
  align-items: end;
  column-gap: clamp(1.5rem, 4vw, 4rem);
  padding-top: calc(var(--header-h) + 1rem);
}
.hero-copy { position: relative; z-index: 3; align-self: center; padding-bottom: clamp(3.5rem, 9vh, 6rem); }
.hero-eyebrow { margin-bottom: clamp(1.2rem, 3vh, 2rem); }
.hero-title {
  font-size: clamp(2.7rem, 6.3vw, 6.4rem);
  line-height: .93;
  letter-spacing: -.048em;
  margin: 0 0 clamp(1.3rem, 3vh, 2rem);
}
.hl { display: block; overflow: hidden; padding: .12em 0 .08em; margin: -.12em 0 -.08em; }
.hl-in { display: inline-block; }
.hl-ia { color: var(--ceu-400); }
.ia-text { white-space: nowrap; }
.hero-pair {
  margin-bottom: 1rem;
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(1.1rem, .85rem + .8vw, 1.55rem);
  line-height: 1.32; letter-spacing: -.015em;
}
.hero-pair span { display: block; }
.hero-detail { max-width: 33rem; margin-bottom: clamp(1.6rem, 4vh, 2.4rem); color: var(--fg2); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.8rem; }
/* sem z-index próprio: assim anotações e ícones sobem acima do canvas das partículas */
.hero-portrait {
  position: absolute;
  right: calc(var(--pw) * -.06 - var(--shift));
  bottom: calc(var(--pw) * -.42);
  width: var(--pw);
  aspect-ratio: 2 / 3;
  margin: 0;
}
.portrait-photo { width: 100%; height: 100%; object-fit: contain; }

.callouts { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.callouts svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.co-line { fill: none; stroke: var(--signal); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.co-dot { fill: var(--bg); stroke: var(--signal); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.co-label {
  position: absolute; left: var(--x); top: var(--y);
  transform: translate(0, calc(-100% - 7px));
  white-space: nowrap;
  font-family: var(--f-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--fg);
  text-shadow: 0 1px 12px var(--bg);
}
.co-right { transform: translate(-100%, calc(-100% - 7px)); text-align: right; }

/* IAs ao redor do retrato: posição, tamanho e giro em % do retrato; cor de cada marca */
.ai-orbit { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.ai-tile {
  position: absolute; left: var(--x); top: var(--y);
  width: calc(var(--s) * 1%); aspect-ratio: 1;
  margin: calc(var(--s) * -.5%) 0 0 calc(var(--s) * -.5%);
  container-type: inline-size;
}
.ai-face {
  position: relative;
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9cqi;
  border-radius: 25cqi;
  background: var(--tile);
  border: 1px solid var(--edge);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), inset 0 -14px 28px rgba(0, 0, 0, .22),
              0 28px 50px -18px rgba(0, 6, 14, .85), 0 18px 46px -24px var(--glow);
  transform: rotate(var(--r));
  animation: ai-float var(--t, 6s) ease-in-out var(--d, 0s) infinite alternate;
}
.ai-face::after {
  content: ""; position: absolute; inset: 5cqi;
  border: 1px solid rgba(255, 255, 255, .06); border-radius: 21cqi;
}
.ai-face img { width: 40cqi; height: 40cqi; }
.ai-face span {
  font-family: var(--f-mono); font-size: clamp(.5rem, 10.5cqi, .8rem); line-height: 1;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink, rgba(232, 246, 252, .9));
}
@keyframes ai-float {
  from { transform: translate3d(0, 0, 0) rotate(var(--r)); }
  to { transform: translate3d(0, -10px, 0) rotate(calc(var(--r) + 3deg)); }
}
.ai-claude { --x: 20.5%; --y: 14.1%; --s: 15; --r: -9deg; --t: 6.6s; --d: -1.4s;
  --tile: linear-gradient(150deg, #3b2721, #1c1412 72%); --edge: rgba(217, 119, 87, .42); --glow: rgba(217, 119, 87, .55); }
.ai-chatgpt { --x: 0%; --y: 56.9%; --s: 15; --r: 8deg; --t: 7.2s; --d: -3s;
  --tile: linear-gradient(150deg, #15634f, #0a2a23 72%); --edge: rgba(124, 255, 204, .32); --glow: rgba(16, 163, 127, .6); }
.ai-gemini { --x: 93%; --y: 24%; --s: 15; --r: 10deg; --t: 6.2s; --d: -2.2s;
  --tile: linear-gradient(150deg, #28315f, #10152e 72%); --edge: rgba(154, 175, 255, .36); --glow: rgba(66, 133, 244, .55); }
.ai-deepseek { --x: 79%; --y: 12.5%; --s: 11.5; --r: -8deg; --t: 5.6s; --d: -.6s;
  --tile: linear-gradient(150deg, #1f2b66, #0d1333 72%); --edge: rgba(77, 107, 254, .45); --glow: rgba(77, 107, 254, .55); }
.ai-jev { --x: 97%; --y: 42%; --s: 13; --r: -6deg; --t: 6.9s; --d: -4.1s;
  --tile: linear-gradient(150deg, #e273c6, #d45bb6 50%, #bb479e); --edge: rgba(255, 255, 255, .34); --glow: rgba(212, 91, 182, .6); --ink: #1e1e1e; }
.ai-jev img { width: auto; }

.hero-hud {
  position: absolute; z-index: 3;
  top: calc(var(--header-h) + 1.2rem); right: var(--wrap-left);
  display: grid; justify-items: end; gap: .35rem;
  color: var(--fg2); font-size: .68rem;
}
.hud-coords { color: var(--hi); font-variant-numeric: tabular-nums; }
.scroll-cue {
  position: absolute; z-index: 3;
  left: var(--wrap-left); bottom: calc(var(--marquee-h, 62px) + 1.4rem);
  display: inline-flex; align-items: center; gap: .9rem;
  color: var(--fg2); text-decoration: none; font-size: .68rem;
}
.cue-node { position: relative; width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid var(--signal); }
.cue-node::after {
  content: ""; position: absolute; inset: -7px;
  border: 1px solid var(--signal); border-radius: 50%;
  opacity: 0; animation: ping 2.4s var(--ease-out) infinite;
}
@keyframes ping {
  0% { transform: scale(.4); opacity: .9; }
  100% { transform: scale(1.7); opacity: 0; }
}

.marquee {
  position: relative; z-index: 3;
  overflow: hidden;
  border-top: 1px solid var(--line2);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
}
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee-group {
  display: flex; flex: none; align-items: center; gap: 2rem;
  padding: 1.05rem 2rem 1.05rem 0;
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(1rem, .75rem + .9vw, 1.45rem);
  letter-spacing: -.015em;
  white-space: nowrap;
}
.marquee .sep { flex: none; width: 39px; height: 3px; color: var(--signal); background: var(--traco-3); }

/* ---------- 02 · Manifesto ---------- */
.manifesto { padding: clamp(7rem, 16vh, 11rem) 0 clamp(3rem, 8vh, 5rem); }
.manifesto-text {
  max-width: 1180px;
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(1.9rem, .9rem + 3.3vw, 4.1rem);
  line-height: 1.12; letter-spacing: -.035em;
}
.manifesto-text em { font-style: normal; color: var(--hi); }

/* ---------- 03 · Números ---------- */
.numeros { padding: clamp(3rem, 7vh, 5rem) 0 clamp(10rem, 26vh, 16rem); }
.stats {
  list-style: none; margin: 0; padding: 2.4rem 0 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 4rem);
  border-top: 1px solid var(--line2);
}
.stat { display: grid; align-content: start; gap: .9rem; }
.odo {
  display: inline-flex; align-items: flex-start;
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(3.4rem, 1.8rem + 5vw, 7.2rem);
  line-height: .92; letter-spacing: -.05em;
  font-variant-numeric: tabular-nums;
}
.odo-col { display: inline-block; height: .92em; overflow: hidden; }
.odo-strip { display: flex; flex-direction: column; }
.odo-strip span { display: block; height: .92em; line-height: .92em; }
.odo-suffix { color: var(--hi); }
.stat-label { max-width: 16rem; color: var(--fg2); font-size: .98rem; line-height: 1.45; }

/* ---------- 04 · A estrutura ---------- */
.estrutura { position: relative; overflow: hidden; }
.est-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
                    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
}
.est-head {
  position: relative; z-index: 3;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-top: calc(var(--header-h) + 1.4rem);
}
.est-head .eyebrow { margin: 0; color: var(--hi); }
.est-count { color: var(--fg2); font-size: .85rem; }
.est-now { display: inline-block; color: var(--fg); font-variant-numeric: tabular-nums; }

.est-track { position: relative; display: grid; gap: 5rem; padding: 3.5rem var(--gutter) 7rem; }
.est-panel { display: grid; gap: 2rem; }
.panel-num { margin-bottom: 1.2rem; color: var(--hi); }
.est-panel h3 {
  margin-bottom: 1.2rem;
  font-size: clamp(2rem, 1.2rem + 2.6vw, 3.6rem);
  line-height: 1; letter-spacing: -.04em;
}
.panel-copy > p:not(.panel-num) { max-width: 30rem; margin-bottom: 1.6rem; color: var(--fg2); }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
/* fundo escuro por trás de cada etiqueta: a malha do painel não atravessa o texto */
.tags li { padding: .4rem .75rem; border: 1px solid rgba(142, 202, 230, .34); border-radius: 999px; background: rgba(0, 18, 29, .7); color: #E1EFF9; font-size: .66rem; }
.est-intro .h2 { margin-bottom: 1.6rem; }
.est-lead { max-width: 34rem; margin-bottom: 2rem; color: var(--fg2); font-size: clamp(1.05rem, .95rem + .4vw, 1.3rem); }
.est-hint { display: inline-flex; gap: .6rem; color: var(--hi); }
.hint-mob { display: none; }
.outro-title { margin-bottom: 1.2rem; font-size: clamp(2.2rem, 1.2rem + 3.2vw, 4.4rem); line-height: 1; letter-spacing: -.045em; }
.est-outro p { margin-bottom: 1.6rem; color: var(--fg2); font-size: 1.15rem; }
.est-rail, .rail-lead { display: none; }

/* horizontal com pin (desktop, com movimento) */
.has-pin .estrutura { height: 100svh; }
.has-pin .est-head { position: absolute; left: 0; right: 0; top: 0; margin-inline: auto; }
.has-pin .est-track {
  position: absolute; left: 0; top: 0;
  height: 100%;
  display: flex; align-items: center;
  gap: clamp(5rem, 11vw, 12rem);
  padding: calc(var(--header-h) + 3.2rem) 8vw 13vh;
  will-change: transform;
}
.has-pin .est-panel {
  flex: none;
  width: min(84vw, 1180px);
  height: min(62vh, 620px);
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: center;
}
.has-pin .est-panel[data-step] {
  position: relative;
  padding: clamp(1.4rem, 2.4vw, 2.4rem);
  border: 1px solid var(--line2);
  border-radius: 28px;
  background: linear-gradient(160deg, rgba(10, 58, 85, .5), rgba(0, 28, 45, .35));
}
.has-pin .est-panel[data-step]::before,
.has-pin .est-panel[data-step]::after {
  content: ""; position: absolute; width: 22px; height: 22px; pointer-events: none;
  border-color: var(--signal); border-style: solid; opacity: .8;
}
.has-pin .est-panel[data-step]::before { left: -9px; top: -9px; border-width: 2px 0 0 2px; }
.has-pin .est-panel[data-step]::after { right: -9px; bottom: -9px; border-width: 0 2px 2px 0; }
.has-pin .est-intro { width: min(54vw, 780px); height: auto; display: block; }
.has-pin .est-outro { width: min(46vw, 640px); height: auto; display: block; }
.has-pin .est-rail { display: block; position: absolute; left: 0; bottom: 0; height: 13vh; overflow: visible; pointer-events: none; color: var(--signal); }
.rail-ghost { fill: none; stroke: currentColor; stroke-width: 1.2; stroke-dasharray: 1.2 8; stroke-linecap: round; opacity: .5; }
.rail-line { fill: none; stroke: currentColor; stroke-width: 3; stroke-dasharray: 35 5 5 5 15 10; }
.rail-node { fill: var(--bg); stroke: currentColor; stroke-width: 1.5; transition: fill .3s; }
.rail-node.on { fill: currentColor; }
.rail-label { fill: var(--fg2); font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; }
.has-pin .rail-lead {
  display: inline-flex; align-items: center; gap: .6rem;
  position: absolute; left: 0; top: 0;
  color: var(--fg); font-size: .66rem;
  pointer-events: none; will-change: transform;
}
.rail-lead i {
  width: 14px; height: 14px; margin-left: -7px; border-radius: 50%;
  background: var(--sol);
  box-shadow: 0 0 0 5px rgba(255, 183, 3, .2), 0 0 26px 6px rgba(255, 183, 3, .45);
}
.rail-lead span { transform: translateY(-1.3rem); }

/* ---------- Mockups (planta azul) ---------- */
.mock {
  position: relative;
  container-type: inline-size;
  height: clamp(360px, 92vw, 480px);
  border-radius: 22px;
  border: 1px solid rgba(142, 202, 230, .24);
  background: linear-gradient(160deg, rgba(10, 58, 85, .92), rgba(0, 28, 45, .95));
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6);
  overflow: hidden;
  color: #F7FBFC;
  font-family: var(--f-text);
}
.has-pin .mock { height: 100%; min-height: 340px; }
.mock::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(142, 202, 230, .07) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(142, 202, 230, .07) 1px, transparent 1px);
  background-size: 24px 24px;
}
.mock-tag { position: absolute; top: 14px; left: 16px; z-index: 6; font-size: .6rem; color: rgba(142, 202, 230, .75); }

/* 01 · anúncio: celular com o feed no jeito do Instagram.
   Medidas em cqi (1% da largura da tela do celular), para o conteúdo encolher junto com ele */
/* o celular cabe inteiro na altura do quadro (100cqh), com 1rem de folga em cima e embaixo */
/* fora do trilho fixo o quadro do anúncio é mais alto, para o celular não perder o topo e a barra de baixo */
.mock-ad { container-type: size; height: clamp(430px, 128vw, 500px); }
/* o celular ocupa o canto esquerdo: aqui a etiqueta vai para a direita */
.mock-ad .mock-tag { left: auto; right: 16px; }
.phone {
  position: absolute; left: 10%; top: 50%;
  width: min(236px, 46%, calc((100cqh - 2rem) * .5021)); aspect-ratio: 236 / 470;
  transform: translateY(-50%);
  border: 2px solid rgba(142, 202, 230, .5);
  border-radius: 34px;
  background: #000;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7);
  container-type: inline-size;
  color: #f5f5f5;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.mock-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.phone svg { flex: none; width: 8.6cqi; height: 8.6cqi; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ig-top, .ig-nav { position: absolute; z-index: 2; left: 0; right: 0; display: flex; align-items: center; background: #000; }
.ig-top { top: 0; height: 19cqi; gap: 6cqi; padding: 4cqi 5.5cqi 0; }
.ig-word { width: auto; height: 9.4cqi; margin-right: auto; }
.ig-nav { bottom: 0; height: 18cqi; justify-content: space-around; padding: 0 3cqi 3cqi; border-top: 1px solid #262626; }
.ig-nav .on { fill: currentColor; }
.ig-me { width: 8.6cqi; height: 8.6cqi; border-radius: 50%; background: linear-gradient(135deg, var(--ceu-500), var(--brisa)); }
.feed { position: absolute; left: 0; right: 0; top: 0; display: flex; flex-direction: column; gap: 3cqi; will-change: transform; }
.post { padding-bottom: 3cqi; }
.post-h { display: flex; align-items: center; gap: 3.4cqi; height: 16cqi; padding: 0 4.3cqi; }
.post-h i { flex: none; width: 10.4cqi; height: 10.4cqi; border-radius: 50%; background: #262626; }
.post-h b { width: 38%; height: 3cqi; border-radius: 2cqi; background: #262626; }
.post-img { height: 62cqi; background: #161616; }
.ig-actions { display: flex; align-items: center; gap: 4.6cqi; height: 14cqi; padding: 0 4.3cqi; color: #3d3d3d; }
.ig-actions svg:last-child { margin-left: auto; }
.ig-lines { display: grid; gap: 2.2cqi; padding: 0 4.3cqi; }
.ig-lines b { height: 3cqi; border-radius: 2cqi; background: #262626; }
.ig-lines b:first-child { width: 34%; }
.ig-lines b:last-child { width: 72%; }
.post-ad { transform-origin: 50% 50%; }
.post-ad .post-h span { display: flex; flex-direction: column; gap: .5cqi; line-height: 1.15; }
.post-ad .post-h b { width: auto; height: auto; background: none; font-size: 5.2cqi; font-weight: 600; }
.post-ad .post-h small { font-size: 4.4cqi; color: #a8a8a8; }
/* anel de story em volta da foto do perfil */
.post-h .av { position: relative; background: linear-gradient(45deg, #f9ce34, #ee2a7b 52%, #6228d7); }
.post-h .av::after { content: ""; position: absolute; inset: .75cqi; border: .75cqi solid #000; border-radius: 50%; background: linear-gradient(135deg, var(--ceu-500), var(--brisa)); }
.ig-more { width: 1.4cqi; height: 1.4cqi; margin: 0 3cqi 0 auto; border-radius: 50%; background: currentColor; box-shadow: -2.8cqi 0 0 currentColor, 2.8cqi 0 0 currentColor; }
.post-ad .ig-actions { color: inherit; }
.ad-creative {
  position: relative; height: 76cqi; overflow: hidden;
  display: flex; align-items: flex-end; padding: 5.2cqi;
  background: radial-gradient(120% 90% at 18% 8%, var(--ceu-400), var(--ceu-500) 30%, var(--profundo-900) 72%, var(--profundo-950));
}
.ad-hook { position: relative; color: #F7FBFC; font-family: var(--f-display); font-weight: 700; font-size: 7.6cqi; line-height: 1.08; letter-spacing: -.02em; }
.ad-shine { position: absolute; top: -40%; bottom: -40%; left: -60%; width: 40%; transform: rotate(18deg); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent); }
.ad-cta {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  height: 14cqi; padding: 0 4.3cqi;
  background: var(--ceu-500); color: var(--profundo-950);
  font-size: 5.2cqi; font-weight: 700;
}
.ad-cta i { font-style: normal; font-size: 6.4cqi; line-height: 1; }
.tap {
  position: absolute; left: 50%; top: 50%;
  width: 20cqi; height: 20cqi; margin: -10cqi 0 0 -10cqi;
  border: 2px solid #fff; border-radius: 50%;
  background: rgba(255, 255, 255, .18);
  opacity: 0;
}
.ig-likes, .ig-cap { margin: 0; padding: 0 4.3cqi; font-size: 4.9cqi; line-height: 1.45; }
.ig-likes { font-weight: 600; }
.ig-cap { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ig-cap b { font-weight: 600; }
.aim { position: absolute; right: 8%; top: 50%; width: min(250px, 36%); aspect-ratio: 1; transform: translateY(-50%); }
.ring { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(142, 202, 230, .45); }
.ring.r1 { animation: spin 22s linear infinite; }
.ring.r2 { inset: 17%; border-style: solid; border-color: rgba(142, 202, 230, .28); }
.ring.r3 { inset: 34%; border-color: rgba(142, 202, 230, .6); animation: spin 14s linear infinite reverse; }
.aim-core {
  position: absolute; left: 50%; top: 50%;
  width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: var(--brisa);
  box-shadow: 0 0 0 6px rgba(142, 202, 230, .18), 0 0 24px rgba(142, 202, 230, .7);
  animation: pulse 2s ease-in-out infinite;
}
.aim-label {
  position: absolute; white-space: nowrap;
  padding: .25rem .55rem; border-radius: 999px;
  border: 1px solid rgba(142, 202, 230, .32);
  background: rgba(0, 28, 45, .9);
  color: var(--ceu-200); font-size: .58rem;
}
.aim-label.l1 { left: 50%; top: 0; transform: translate(-50%, -50%); }
.aim-label.l2 { right: -13%; top: 80%; }
.aim-label.l3 { left: -16%; top: 82%; }
/* plataformas de anúncio em órbita no anel do meio; a face gira ao contrário para o logo ficar de pé */
.aim-orbit { position: absolute; inset: 17%; animation: spin 32s linear infinite; }
.aim-logo {
  --sz: max(22px, 23%);
  position: absolute; left: var(--x); top: var(--y);
  width: var(--sz); aspect-ratio: 1; margin: calc(var(--sz) / -2) 0 0 calc(var(--sz) / -2);
}
.aim-logo i {
  display: grid; place-items: center; width: 100%; height: 100%;
  border-radius: 28%; border: 1px solid var(--edge);
  background: var(--tile);
  box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .7), 0 0 14px -4px var(--glow);
  animation: spin 32s linear infinite reverse;
}
.aim-logo img { width: 60%; height: 60%; object-fit: contain; }
.l-meta   { --x: 50%;   --y: 0%;  --tile: linear-gradient(150deg, #12304f, #0a1b30); --edge: rgba(0, 129, 251, .5);    --glow: rgba(0, 129, 251, .55); }
.l-gads   { --x: 93.3%; --y: 75%; --tile: linear-gradient(150deg, #1b2530, #0e151c); --edge: rgba(251, 188, 4, .45);   --glow: rgba(66, 133, 244, .5); }
.l-tiktok { --x: 6.7%;  --y: 75%; --tile: linear-gradient(150deg, #1a1a1a, #000);    --edge: rgba(255, 255, 255, .28); --glow: rgba(0, 242, 234, .45); }
@keyframes ad-bob { to { transform: translateY(-7px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { transform: scale(1.25); } }

/* 02 · página: página de vendas com promessa escrita, selo de oferta, nota com estrelas e botão */
.mock-page { height: clamp(380px, 104vw, 480px); }
.browser {
  position: absolute; left: 7%; right: 13%; top: 13%; bottom: 10%;
  border: 1px solid rgba(142, 202, 230, .35); border-radius: 14px;
  background: var(--panel-ink);
  overflow: hidden;
}
.bbar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-bottom: 1px solid rgba(142, 202, 230, .15); }
.bbar > i { width: 8px; height: 8px; border-radius: 50%; background: rgba(142, 202, 230, .35); }
.burl { margin-left: 10px; padding: 3px 10px; border-radius: 999px; background: rgba(142, 202, 230, .08); color: var(--brisa); font-size: .58rem; text-transform: none; letter-spacing: .02em; }
.bpage { position: absolute; inset: 34px 0 0 0; display: grid; grid-template-columns: .85fr 1.15fr; gap: 6%; align-items: center; padding: 6% 7%; }
.bcol { display: flex; flex-direction: column; min-width: 0; }
.bbadge {
  align-self: flex-start; padding: 3px 9px 3px 8px;
  border: 1px solid rgba(255, 183, 3, .5); border-radius: 999px;
  background: rgba(255, 183, 3, .12); color: #FFD166;
  font-size: 10px; font-weight: 600; line-height: 1.3; white-space: nowrap;
}
.bbadge::before { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 6px 1px 0; border-radius: 50%; background: var(--sol); }
.bhead { margin: 9px 0 11px; color: #F7FBFC; font-family: var(--f-display); font-size: clamp(15px, 3.4cqi, 21px); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; }
.bl { display: block; width: var(--w); height: 8px; margin-bottom: 9px; border-radius: 5px; background: rgba(142, 202, 230, .32); transform-origin: 0 50%; }
.bproof { display: flex; align-items: center; margin: 4px 0 0; white-space: nowrap; }
.bproof i { width: 20px; height: 20px; margin-right: -6px; border: 2px solid var(--panel-ink); border-radius: 50%; background: linear-gradient(135deg, var(--ceu-400), var(--profundo-800)); }
/* nota no formato das avaliações do Google: número, estrelas e quantidade */
.bproof b { margin-left: 15px; color: #F7FBFC; font-size: 11px; font-weight: 700; }
.bstars { margin-left: 5px; color: var(--sol); font-size: 11px; letter-spacing: 1px; line-height: 1; }
.brate { margin-left: 4px; color: var(--brisa); font-size: 10px; }
.bcta { position: relative; align-self: flex-start; margin-top: 14px; }
.bbtn {
  display: block; padding: 10px 16px;
  border-radius: 10px;
  background: var(--ceu-500); color: var(--profundo-950);
  font-family: var(--f-display); font-size: 12px; font-weight: 700;
}
.bimg { display: grid; place-items: center; aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; background: radial-gradient(90% 80% at 30% 20%, var(--ceu-400), var(--profundo-800) 55%, var(--profundo-950)); }
.bimg img { width: 58%; height: auto; opacity: .9; }
.bimg.has-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; opacity: 1; }
.bcursor {
  position: absolute; left: 70%; top: 52%;
  width: 16px; height: 22px;
  background: #fff;
  clip-path: polygon(0 0, 0 100%, 28% 77%, 47% 100%, 62% 93%, 44% 70%, 82% 70%);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .5));
  opacity: 0;
}
.anno {
  position: absolute; white-space: nowrap;
  padding: .25rem .55rem; border-radius: 999px;
  border: 1px solid rgba(142, 202, 230, .38);
  background: rgba(0, 28, 45, .92);
  color: var(--ceu-200); font-size: .58rem;
}
.anno::before { content: ""; position: absolute; top: 50%; width: 30px; border-top: 1px dashed rgba(142, 202, 230, .6); }
.anno::before { right: 100%; }
/* o conteúdo fica centrado na página: o meio dela está a 51,5% da altura do quadro mais 17px */
.anno.a1 { right: 3%; top: calc(51.5% - 37px); }
.anno.a2 { right: 3%; top: calc(51.5% + 43px); }
.anno.a2::before { width: 46px; }
.anno.a3 { right: 3%; top: calc(51.5% + 85px); }

/* 03 · captura: formulário de agendamento com quatro campos, para não parecer tela de login */
.mock-form { height: 480px; }
.form-card {
  position: absolute; left: 7%; top: 50%;
  width: 44%;
  display: flex; flex-direction: column;
  padding: 15px 18px;
  transform: translateY(-50%);
  border: 1px solid rgba(142, 202, 230, .35); border-radius: 16px;
  background: var(--panel-ink);
}
.form-title { margin-bottom: 9px; font-family: var(--f-display); font-size: .95rem; font-weight: 700; line-height: 1.25; }
.fgrid { display: grid; gap: 7px 10px; margin-bottom: 10px; }
.fcol { display: flex; flex-direction: column; min-width: 0; }
.flabel { margin-bottom: 4px; color: var(--brisa); font-size: .54rem; line-height: 1.3; }
.field {
  display: flex; align-items: center;
  height: 32px; padding: 0 10px;
  border: 1px solid rgba(142, 202, 230, .3); border-radius: 9px;
  background: rgba(142, 202, 230, .05);
  font-size: .82rem; white-space: nowrap; overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.field.focus { border-color: var(--ceu-400); box-shadow: 0 0 0 3px rgba(92, 184, 210, .18); }
.fico { flex: none; width: 15px; height: 15px; margin-left: auto; fill: none; stroke: var(--brisa); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; opacity: .85; }
.ftext:empty::before { content: attr(data-text); }
.motion .ftext:empty::before { content: none; }
.caret { width: 1.5px; height: 1.1em; margin-left: 1px; background: var(--ceu-400); opacity: 0; }
.field.focus .caret { opacity: 1; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.fbtn { display: grid; place-items: center; height: 36px; border-radius: 9px; background: var(--ceu-500); color: var(--profundo-950); font-family: var(--f-display); font-size: .82rem; font-weight: 700; }
.form-link { position: absolute; left: 51%; top: 50%; width: 9%; height: 40px; transform: translateY(-50%); overflow: visible; }
.form-link path { fill: none; stroke: var(--brisa); stroke-width: 2; stroke-dasharray: 6 5; vector-effect: non-scaling-stroke; }
.payload {
  position: absolute; right: 5%; top: 50%;
  width: 39%;
  display: flex; flex-direction: column;
  transform: translateY(-50%);
  color: var(--brisa);
  font-size: .68rem; line-height: 1.85; letter-spacing: 0; text-transform: none;
  white-space: pre;
}
.saved {
  align-self: flex-start; margin-top: 12px;
  padding: .35rem .75rem;
  border: 1px solid rgba(92, 184, 210, .55); border-radius: 999px;
  background: rgba(92, 184, 210, .16);
  color: var(--ceu-100);
  font-size: .6rem; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
}
.saved::before { content: "● "; color: var(--ceu-400); }

/* 04 · atendimento: conversa no jeito do WhatsApp (modo escuro) */
.mock-chat { height: clamp(420px, 118vw, 480px); }
.chat {
  position: absolute; left: 50%; top: 53%;
  width: min(400px, 80%); height: 82%;
  display: flex; flex-direction: column;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(142, 202, 230, .35); border-radius: 22px;
  background: #0b141a radial-gradient(rgba(255, 255, 255, .035) 1px, transparent 1.6px) 0 0 / 15px 15px;
  overflow: hidden;
  color: #e9edef;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.chat svg { flex: none; width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.chat-top { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 12px 0 10px; background: #202c33; color: #aebac1; }
.chat-av { flex: none; display: grid; place-items: center; width: 32px; height: 32px; margin-left: -4px; border-radius: 50%; background: #6a7175; color: #dfe5e7; font-style: normal; font-size: .8rem; font-weight: 600; }
.chat-who { display: flex; flex-direction: column; margin-right: auto; line-height: 1.25; }
.chat-who b { color: #e9edef; font-size: .9rem; font-weight: 600; }
.chat-who small { color: #8696a0; font-size: .68rem; }
.chat-top svg + svg { margin-left: 6px; }
.wa-dots { flex: none; width: 3.5px; height: 3.5px; margin: 0 4px 0 8px; border-radius: 50%; background: currentColor; box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor; }
.msgs { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 10px 14px; overflow: hidden; }
.msg { position: relative; max-width: 82%; margin: 0; padding: 6px 9px 7px; border-radius: 8px; font-size: .8rem; line-height: 1.36; box-shadow: 0 1px .5px rgba(0, 0, 0, .25); }
.msg::before { content: ""; position: absolute; top: 0; width: 8px; height: 12px; background: inherit; }
.msg.in { align-self: flex-start; border-top-left-radius: 0; background: #202c33; }
.msg.in::before { right: 100%; clip-path: polygon(0 0, 100% 0, 100% 100%); }
.msg.out { align-self: flex-end; border-top-right-radius: 0; background: #005c4b; }
.msg.out::before { left: 100%; clip-path: polygon(0 0, 100% 0, 0 100%); }
.msg.out small { display: block; margin-bottom: 1px; color: #8be8cf; font-size: .64rem; font-weight: 600; }
.mt { float: right; display: inline-flex; align-items: center; gap: 3px; margin: 7px 0 -3px 10px; color: rgba(233, 237, 239, .6); font-size: .58rem; line-height: 1; }
.mt svg { width: 15px; height: 12px; stroke: #53bdeb; stroke-width: 1.7; }
.typing { align-self: flex-end; display: flex; gap: 4px; margin: 0; padding: 10px 12px; border-radius: 8px; background: #005c4b; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #d1f4eb; animation: typing 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
.chat-bar { display: flex; align-items: center; gap: 7px; padding: 5px 8px 8px; }
.chat-input { flex: 1; display: flex; align-items: center; gap: 9px; height: 36px; padding: 0 12px; border-radius: 18px; background: #202c33; color: #8696a0; }
.chat-input em { margin-right: auto; font-style: normal; font-size: .8rem; }
.chat-mic { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #00a884; color: #0b141a; }
html:not(.motion) .typing { display: none; }
@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: .5; }
  30% { transform: translateY(-4px); opacity: 1; }
}
/* etiqueta no fim da conversa, como os avisos centralizados do WhatsApp */
.chat-chip {
  align-self: center; margin-top: 3px;
  padding: .32rem .8rem; border-radius: 8px;
  background: #00a884; color: #06231c;
  font-size: .62rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .35);
}

/* 05 · sistema */
.board { position: absolute; left: 5%; right: 5%; top: 15%; bottom: 25%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
/* colunas com fundo cheio: a malha do quadro não passa por trás e o título fica legível */
.col { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 12px 10px; border: 1px solid rgba(142, 202, 230, .3); border-radius: 14px; background: #072a3f; }
.col h5 { margin: 0 0 4px; padding-bottom: 8px; border-bottom: 1px solid rgba(142, 202, 230, .2); color: #F7FBFC; font-size: .66rem; font-weight: 600; letter-spacing: .08em; }
.card { display: flex; flex-direction: column; gap: 3px; padding: 10px; border: 1px solid rgba(142, 202, 230, .22); border-radius: 10px; background: var(--panel-ink); }
.card b { font-family: var(--f-display); font-size: .8rem; }
.card span { color: var(--brisa); font-size: .54rem; text-transform: none; letter-spacing: .02em; }
.card-mariana { border-color: var(--sol); box-shadow: 0 0 0 3px rgba(255, 183, 3, .16), 0 12px 30px -12px rgba(255, 183, 3, .45); }
.spark { position: absolute; left: 5%; bottom: 7%; width: 90%; height: 13%; overflow: visible; }
.spark path { fill: none; stroke: var(--ceu-400); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 0; vector-effect: non-scaling-stroke; }

/* mockups estreitos (celular) */
@container (max-width: 540px) {
  /* quadro estreito: saem anéis e rótulos, e as plataformas flutuam dos dois lados do celular */
  .aim { right: 0; top: 0; width: 100%; height: 100%; aspect-ratio: auto; transform: none; }
  .aim .ring, .aim-core, .aim-label { display: none; }
  .aim-orbit { inset: 0; animation: none; }
  .aim-logo { --sz: 34px; }
  .aim-logo i { animation: ad-bob 3.6s ease-in-out infinite alternate; }
  .l-meta { --x: 9.5%; --y: 24%; }
  .l-gads { --x: 90.5%; --y: 47%; }
  .l-gads i { animation-delay: -1.2s; }
  .l-tiktok { --x: 9.5%; --y: 72%; }
  .l-tiktok i { animation-delay: -2.4s; }
  .phone { left: 50%; transform: translate(-50%, -50%); width: min(220px, 62%, calc((100cqh - 2rem) * .5021)); }
  .browser { left: 5%; right: 5%; }
  .bpage { grid-template-columns: 1fr; }
  .bimg { display: none; }
  .bhead { font-size: 17px; }
  /* com a foto do especialista: retrato redondo ao lado do título */
  .bpage:has(.has-photo) { grid-template-columns: minmax(0, 1fr) 58px; gap: 10px; align-items: start; }
  .bimg.has-photo { display: block; order: 2; aspect-ratio: 1; border-radius: 50%; }
  .anno { display: none; }
  .form-card { left: 6%; right: 6%; top: 8%; width: auto; transform: none; }
  .form-link { display: none; }
  .payload { left: 8%; right: auto; top: auto; bottom: 5%; width: 84%; transform: none; font-size: .6rem; line-height: 1.6; }
  .payload .pl:first-child, .payload .pl:nth-last-child(2) { display: none; }
  .saved { position: absolute; right: 0; bottom: 0; margin: 0; }
  .chat { width: 90%; }
  .board { left: 4%; right: 4%; gap: 6px; }
  .col { padding: 8px 6px; }
  .col h5 { padding-bottom: 6px; font-size: .54rem; letter-spacing: .03em; }
  .card span { display: none; }
}
/* quadro estreito, mas com largura para dois campos lado a lado (computador pequeno) */
@container (min-width: 420px) and (max-width: 540px) {
  .fgrid { grid-template-columns: 1fr 1fr; }
}

/* ---------- 05 · O método ---------- */
.metodo { padding: clamp(7rem, 16vh, 11rem) 0 clamp(5rem, 12vh, 8rem); }
.metodo-head, .setores-head, .sistemas-head {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: end;
  gap: 2rem 4rem;
  margin-bottom: clamp(3rem, 7vh, 5rem);
}
.metodo-text, .setores-head > p, .sistemas-head > p { max-width: 30rem; color: var(--fg2); font-size: 1.06rem; }
.split-frame {
  --x: 50%;
  position: relative;
  height: min(78vh, 760px); min-height: 460px;
  border-radius: 28px;
  overflow: hidden;
  background: #E1EFF9;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  outline-offset: 6px;
  box-shadow: 0 50px 90px -50px rgba(2, 48, 71, .5);
}
.split-side { position: absolute; inset: 0; }
.split-human { background: radial-gradient(80% 70% at 50% 32%, #FFFFFF, #E1EFF9 60%, #C6DFEF); }
/* O gradiente transparente não desenha nada (os pixels são os mesmos de antes). Está aqui porque os verificadores de
   contraste não enxergam o recorte (clip-path) e tomavam este fundo escuro como o da legenda do lado claro; com uma
   imagem de fundo declarada eles deixam a conferência para uma pessoa em vez de acusar erro. */
.split-ai { background: var(--profundo-950) linear-gradient(transparent, transparent); clip-path: inset(0 0 0 var(--x)); }
.split-ai::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(142, 202, 230, .1) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(142, 202, 230, .1) 1px, transparent 1px);
  background-size: 32px 32px;
}
.split-human img, .split-canvas {
  position: absolute; left: 50%; bottom: 0;
  height: 100%; width: auto; aspect-ratio: 2 / 3;
  transform: translateX(-50%);
  max-width: none;
}
.scanline {
  position: absolute; left: 0; right: 0; top: -16%;
  height: 16%;
  background: linear-gradient(180deg, transparent, rgba(92, 184, 210, .2), transparent);
  animation: scan 5.5s linear infinite;
}
@keyframes scan { from { transform: translateY(0); } to { transform: translateY(760%); } }
.split-label { position: absolute; bottom: 7%; z-index: 2; display: grid; gap: .5rem; max-width: 27%; }
.split-label strong { font-family: var(--f-display); font-size: clamp(1.4rem, .9rem + 1.5vw, 2.5rem); line-height: 1.02; letter-spacing: -.04em; }
.split-label-l { left: 5%; color: var(--nevoa-950); }
.split-label-l .mono { color: var(--ceu-700); }
.split-label-r { right: 5%; justify-items: end; text-align: right; color: #F7FBFC; }
.split-label-r .mono { color: var(--brisa); }
.split-handle { position: absolute; top: 0; bottom: 0; left: var(--x); z-index: 3; width: 0; pointer-events: none; }
.split-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: var(--ceu-500); box-shadow: 0 0 22px rgba(33, 158, 188, .7); }
.knob {
  position: absolute; left: 0; top: 50%;
  width: 56px; height: 56px; margin: -28px 0 0 -28px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--ceu-500);
  box-shadow: 0 0 0 8px rgba(33, 158, 188, .2);
}
.knob svg { width: 22px; height: 22px; fill: none; stroke: var(--profundo-950); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.split-hint { margin-top: 1.1rem; color: var(--fg2); text-align: center; }

/* ---------- 06 · Onde já rodou ---------- */
.setores { padding: clamp(7rem, 16vh, 11rem) 0 clamp(6rem, 14vh, 10rem); }
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line2); }
.row {
  position: relative; isolation: isolate;
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: center; gap: 1.5rem;
  padding: 1.8rem 1.2rem;
  border-bottom: 1px solid var(--line2);
  transition: color .4s;
}
.row::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--profundo-900);
  transform: scaleY(0); transform-origin: 50% 100%;
  transition: transform .6s var(--ease-out);
}
.row:hover { color: #F7FBFC; }
.row:hover::before { transform: scaleY(1); }
.r-idx { color: var(--fg2); transition: color .4s; }
.row:hover .r-idx { color: var(--brisa); }
.r-name { font-size: clamp(1.6rem, 1rem + 2vw, 2.9rem); line-height: 1.02; letter-spacing: -.04em; transition: transform .6s var(--ease-out); }
.row:hover .r-name { transform: translateX(.7rem); }
.r-desc { margin-top: .45rem; color: var(--fg2); font-size: .98rem; transition: color .4s, transform .6s var(--ease-out); }
.row:hover .r-desc { color: #B7D3E6; transform: translateX(.7rem); }
.r-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .4rem; }
.r-tags li { padding: .32rem .65rem; border: 1px solid var(--line2); border-radius: 999px; font-size: .62rem; transition: border-color .4s; }
.row:hover .r-tags li { border-color: rgba(142, 202, 230, .45); }
.row-preview {
  position: absolute; left: 0; top: 0; z-index: 5;
  /* 16:10 para o print de site caber inteiro, sem cortar as laterais */
  width: clamp(260px, 25vw, 380px); aspect-ratio: 16 / 10;
  pointer-events: none;
  opacity: 0; visibility: hidden;
}
.rp-inner { width: 100%; height: 100%; overflow: hidden; border-radius: 16px; background: var(--profundo-900); box-shadow: 0 30px 70px -24px rgba(2, 48, 71, .55); }
.rp-inner img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* ---------- 07 · Sistemas ---------- */
.sistemas { padding: clamp(7rem, 16vh, 11rem) 0 clamp(6rem, 14vh, 10rem); }
.sis-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
                    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(90% 70% at 50% 60%, #000 20%, transparent 80%);
  mask-image: radial-gradient(90% 70% at 50% 60%, #000 20%, transparent 80%);
}
.sys-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 4.5rem); perspective: 1400px; }
.sys-card {
  position: relative;
  display: flex; flex-direction: column; gap: 1.6rem;
  padding: clamp(1.4rem, 2.4vw, 2.2rem);
  border: 1px solid rgba(142, 202, 230, .2); border-radius: 24px;
  background: linear-gradient(170deg, rgba(10, 58, 85, .78), rgba(2, 37, 55, .94));
  transform-style: preserve-3d;
  will-change: transform;
}
.sys-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 0%), rgba(142, 202, 230, .14), transparent 45%);
  opacity: 0; transition: opacity .35s;
}
.sys-card:hover::after { opacity: 1; }
.sys-status { display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 1rem; color: var(--brisa); font-size: .64rem; }
/* verde só aqui: é o sinal de "online", não entra na paleta */
.sys-status i { width: 7px; height: 7px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 8px rgba(74, 222, 128, .6); animation: live 2s infinite; }
@keyframes live {
  0% { box-shadow: 0 0 8px rgba(74, 222, 128, .6), 0 0 0 0 rgba(74, 222, 128, .6); }
  70% { box-shadow: 0 0 8px rgba(74, 222, 128, .6), 0 0 0 9px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 8px rgba(74, 222, 128, .6), 0 0 0 0 rgba(74, 222, 128, 0); }
}
.sys-top h3 { margin-bottom: .8rem; font-size: clamp(1.8rem, 1.2rem + 1.6vw, 2.7rem); letter-spacing: -.04em; color: #F7FBFC; }
.sys-top p { color: #B7D3E6; }
.app {
  position: relative;
  height: 312px;
  border: 1px solid rgba(142, 202, 230, .2); border-radius: 16px;
  background: var(--panel-ink);
  overflow: hidden;
  color: #F7FBFC;
  transform: translateZ(34px);
}
.app .mock-tag { top: auto; bottom: 10px; left: auto; right: 12px; }
.app-crm { display: grid; grid-template-columns: 54px minmax(0, 1fr); }
.app-side { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 16px 0; background: var(--profundo-900); }
.app-side img { width: 28px; height: auto; margin-bottom: 6px; }
.app-side i { width: 22px; height: 6px; border-radius: 3px; background: rgba(142, 202, 230, .3); }
.app-side i:first-of-type { background: var(--ceu-400); }
.app-main { display: flex; flex-direction: column; min-width: 0; padding: 14px 14px 12px; }
.app-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.app-bar b { font-family: var(--f-display); font-size: .9rem; }
.sam-chip { display: inline-flex; align-items: center; gap: 6px; padding: .28rem .6rem; border-radius: 999px; background: rgba(33, 158, 188, .18); color: var(--brisa); font-size: .54rem; }
.sam-chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--ceu-400); }
.inbox { position: relative; flex: 1; display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; overflow: hidden; list-style: none; }
.inbox li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: rgba(142, 202, 230, .06); }
.inbox li:first-child { background: rgba(33, 158, 188, .16); box-shadow: inset 0 0 0 1px rgba(92, 184, 210, .35); }
.iav { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, var(--ceu-400), var(--profundo-800)); }
.inbox span { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.inbox b { font-family: var(--f-display); font-size: .78rem; }
.inbox small { overflow: hidden; color: #A3C6DE; font-size: .7rem; white-space: nowrap; text-overflow: ellipsis; }
.inbox time { color: var(--brisa); font-size: .54rem; }
.sam-suggest { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 9px 11px; border: 1px dashed rgba(92, 184, 210, .55); border-radius: 10px; color: var(--ceu-100); font-size: .72rem; }
.sam-suggest > i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--ceu-400); box-shadow: 0 0 10px var(--ceu-400); }
.app-lucra { display: flex; flex-direction: column; padding: 16px 18px; }
.calc-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 12px; }
.calc-head b { font-family: var(--f-display); font-size: .9rem; }
.calc-head span { color: var(--brisa); font-size: .54rem; }
.calc-rows { display: grid; gap: 6px; }
.calc-row { display: flex; justify-content: space-between; padding: 7px 10px; border-radius: 8px; background: rgba(142, 202, 230, .06); color: #CFE3EF; font-size: .78rem; }
.calc-row b { color: #F7FBFC; font-size: .72rem; letter-spacing: .02em; text-transform: none; }
.calc-result { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding: 10px 12px; border: 1px solid rgba(92, 184, 210, .45); border-radius: 10px; background: rgba(33, 158, 188, .16); }
.calc-result span { color: var(--ceu-100); font-size: .78rem; }
.price { color: #fff; font-size: 1.05rem; font-weight: 700; letter-spacing: .01em; text-transform: none; font-variant-numeric: tabular-nums; }
.calc-bar { display: flex; height: 8px; margin-top: 12px; overflow: hidden; border-radius: 4px; background: rgba(142, 202, 230, .1); }
.calc-bar .cost { width: 70%; background: var(--profundo-500); }
.calc-bar .profit { width: 30%; background: var(--brisa); }
.calc-legend { display: flex; gap: 14px; margin-top: 8px; color: #A3C6DE; font-size: .54rem; }
.calc-legend i { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 2px; vertical-align: -1px; }
.lg-cost { background: var(--profundo-500); }
.lg-profit { background: var(--brisa); }
.specs { display: grid; gap: .8rem; margin: 0; }
.specs div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1rem; padding-top: .8rem; border-top: 1px solid rgba(142, 202, 230, .16); }
.specs dt { padding-top: .2rem; color: var(--brisa); font-size: .64rem; }
.specs dd { margin: 0; color: #E1EFF9; font-size: .95rem; }

/* ---------- 08 · Contato ---------- */
.contato {
  position: relative; display: flex; min-height: 100svh; padding-top: clamp(7rem, 16vh, 10rem); overflow: clip;
  /* a foto 06 enquadra a cabeça menor que a 02: 1,08 deixa o rosto do mesmo tamanho do topo */
  --cw: min(calc(var(--pw) * 1.08), 46vw, 800px);
}
.contato-bg { position: absolute; inset: 0; pointer-events: none; }
.contato-bg .grid-lines {
  -webkit-mask-image: radial-gradient(90% 80% at 28% 55%, #000 18%, transparent 75%);
  mask-image: radial-gradient(90% 80% at 28% 55%, #000 18%, transparent 75%);
}
.cloud-contato { left: -22vw; top: 12%; width: min(1300px, 110vw); opacity: .14; }
.contato-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: end; gap: 2rem; }
.contato-copy { position: relative; z-index: 1; align-self: start; padding-bottom: clamp(1rem, 3vh, 2.5rem); }
.contato-title { max-width: 12ch; margin-bottom: 1.4rem; font-size: clamp(2.6rem, 1.2rem + 4.8vw, 6rem); line-height: .95; letter-spacing: -.05em; }
.contato-text { max-width: 28rem; margin-bottom: clamp(1.25rem, 4vh, 3rem); color: var(--fg2); font-size: clamp(1.05rem, .95rem + .4vw, 1.3rem); }
.contato-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 2rem; }
.cta-orb {
  position: relative;
  width: clamp(150px, min(14vw, 22vh), 196px); aspect-ratio: 1;
  display: grid; place-items: center; align-content: center; gap: .45rem;
  padding: 1.5rem;
  border-radius: 50%;
  background: var(--sol); color: var(--profundo-950);
  font-family: var(--f-display); font-size: clamp(.9rem, .8rem + .3vw, 1.05rem); font-weight: 700; line-height: 1.15;
  text-align: center; text-decoration: none;
  box-shadow: 0 22px 60px -18px rgba(255, 183, 3, .6);
  transition: background-color .2s;
}
.cta-orb:hover { background: var(--sol-400); }
.cta-orb .ico { width: 1.4em; height: 1.4em; }
.orb-ring { position: absolute; inset: -10px; border: 1px solid rgba(255, 183, 3, .6); border-radius: 50%; opacity: 0; pointer-events: none; }
.cta-orb.is-connected .orb-ring { animation: orb 2.4s var(--ease-out) infinite; }
@keyframes orb {
  0% { transform: scale(.92); opacity: .9; }
  100% { transform: scale(1.4); opacity: 0; }
}
@keyframes orb-near {
  0% { transform: scale(.92); opacity: .9; }
  100% { transform: scale(1.2); opacity: 0; }
}
.mail-link { padding-bottom: .2rem; border-bottom: 1px solid var(--line2); color: var(--fg); font-family: var(--f-mono); font-size: .85rem; text-decoration: none; }
.mail-link:hover { border-bottom-color: var(--fg); }
/* perto do texto: a mão estendida entra no vão e apresenta o botão; 28% da foto fica abaixo da seção (corte na cintura) */
.contato-photo {
  position: absolute;
  top: 0;
  left: calc(55% + .9rem - var(--cw) * .17);
  width: var(--cw);
  aspect-ratio: 2 / 3;
  margin: 0;
}
.contato-photo img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- Rodapé ---------- */
.footer { position: relative; z-index: 1; border-top: 1px solid var(--line2); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 2rem; min-height: var(--footer-h); padding: .9rem 0; }
.footer-brand { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .8rem; }
.footer-name { font-family: var(--f-display); font-size: 1.15rem; font-weight: 700; letter-spacing: -.02em; }
.footer-role { color: var(--fg2); font-size: .85rem; }
.footer-traco { width: 130px; height: 6px; overflow: visible; }
.footer-traco path { fill: none; stroke: var(--signal); stroke-width: 3; }
.footer-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.6rem; margin-left: auto; color: var(--fg2); font-size: .66rem; }
.motion-toggle { padding: .45rem .9rem; border: 1px solid var(--line2); border-radius: 999px; background: none; color: var(--fg); font-size: .64rem; cursor: pointer; }
.motion-toggle:hover { border-color: var(--fg); }

/* ---------- Pausa ---------- */
.paused *, .paused *::before, .paused *::after { animation-play-state: paused !important; }

/* ---------- Responsivo ---------- */
@media (min-width: 901px) {
  /* contato e rodapé cabem juntos na última tela: título e rosto não somem atrás do menu */
  .contato { min-height: calc(100svh - var(--footer-h) - 1px); padding-top: calc(var(--header-h) + clamp(.5rem, 2vh, 1.5rem)); }
}
/* Monitor grande: só acima de 1440px de largura, o MacBook não entra aqui */
@media (min-width: 1441px) {
  /* em tela alta a seção para de crescer: fica a composição (73px é a faixa de serviços) e uma folga de até 3.5rem sob o menu */
  .hero {
    --fit: calc(var(--header-h) + 1rem + var(--pw) * 1.0745 + 73px);
    --air: clamp(0px, calc(100svh - var(--fit)), 3.5rem);
    min-height: min(100svh, calc(var(--fit) + 3.5rem));
  }
  /* o título fica no tamanho que tem no MacBook, para não disputar espaço com o retrato */
  .hero-title { font-size: 5.67rem; }
  /* o texto começa na altura da cabeça, na mesma relação do MacBook, qualquer que seja a altura da tela */
  .hero-copy { align-self: end; min-height: calc(var(--pw) * 1.0745); }
  /* brilho, nuvem, malha e folha acompanham o retrato, e não a borda da tela */
  .hero-glow { right: calc(var(--wrap-left) + var(--pw) * .44 - var(--shift) - 444px); }
  .hero .cloud-cut { right: calc(var(--wrap-left) + var(--pw) * .44 - var(--shift) - 761px); }
  .hero-bg .grid-lines {
    -webkit-mask-image: radial-gradient(110% 80% at calc(100% - var(--wrap-left) - var(--pw) * .44 + var(--shift) - 70px) 40%, #000 22%, transparent 78%);
    mask-image: radial-gradient(110% 80% at calc(100% - var(--wrap-left) - var(--pw) * .44 + var(--shift) - 70px) 40%, #000 22%, transparent 78%);
  }
  .hero-hud { top: calc(var(--header-h) + 1.2rem + var(--air)); left: calc(var(--wrap-left) + var(--wrap) - var(--pw) * .2923 + var(--shift)); right: auto; }
  /* contato: a seção para de crescer quando a foto já aparece na proporção do MacBook, sem o corte da foto solto acima do rodapé */
  .contato { min-height: min(calc(100svh - var(--footer-h) - 1px), calc(var(--header-h) + clamp(.5rem, 2vh, 1.5rem) + var(--cw) * .9914)); }
}
@media (max-width: 1279px) {
  .callouts { display: none; }
}
@media (min-width: 901px) and (max-width: 1360px) {
  .footer-traco, .footer-geo { display: none; }
}
@media (min-width: 901px) and (max-width: 1180px) {
  /* tela estreita: a mão não pode tocar o parágrafo; desce até a altura do botão */
  .contato-photo { top: 2.5rem; left: calc(55% + .9rem - var(--cw) * .06); }
}
@media (min-width: 901px) and (max-width: 1279px) {
  .ai-chatgpt { --x: 6%; --s: 13; }
  .ai-jev { --x: 95%; }
}
@media (max-width: 1100px) {
  .hero-title { font-size: clamp(2.6rem, 6.8vw, 5.4rem); }
}
@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); row-gap: 1rem; }
  .hero-copy { padding-bottom: 0; }
  .hero-portrait {
    position: relative; right: auto; bottom: auto;
    justify-self: center;
    width: min(100vw, 520px);
    margin-bottom: calc(min(100vw, 520px) * -.42);
  }
  /* no celular a foto ocupa a largura toda: os ícones ficam em volta da cabeça, dentro da tela */
  .ai-claude { --x: 13%; --y: 10%; --s: 16; }
  .ai-chatgpt { --x: 11%; --y: 27%; --s: 16; }
  .ai-deepseek { --x: 80%; --y: 4.5%; --s: 13; }
  .ai-gemini { --x: 89%; --y: 17%; --s: 16; }
  .ai-jev { --x: 91%; --y: 31.5%; --s: 14; }
  .hero-hud { display: none; }
  .scroll-cue { display: none; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 3rem; }
  .metodo-head, .setores-head, .sistemas-head { grid-template-columns: 1fr; }
  .sys-grid { grid-template-columns: 1fr; }
  .row { grid-template-columns: 2.6rem minmax(0, 1fr); padding-inline: .6rem; }
  .r-tags { grid-column: 2; justify-content: flex-start; }
  /* contato empilhado: a foto vai 9% para a direita e o botão sai da coluna de texto para pousar acima da mão
     estendida, como no computador. Medidas em fração da largura da foto (--cpw): o centro da mão fica a 18% e o
     topo dela a 71%; a seção corta a foto em 108% da largura. */
  .contato { min-height: 0; --cpw: min(100vw, 520px); --orb: clamp(112px, calc(var(--cpw) * .36), 176px); }
  .contato-inner { grid-template-columns: minmax(0, 1fr); }
  .contato-copy { padding-bottom: 1rem; }
  /* o botão é posicionado a partir do bloco do e-mail (não da seção): assim a animação de entrada, que põe
     transform nesse bloco, não muda a referência. Descida: 1rem do texto + 2rem do vão + 68% da foto, menos o botão. */
  .contato-actions { position: relative; z-index: 2; }
  .contato-photo {
    position: relative; left: calc(var(--cpw) * .09); bottom: auto;
    justify-self: center;
    width: var(--cpw);
    margin-bottom: calc(var(--cpw) * -.42);
  }
  .cta-orb {
    position: absolute;
    left: calc(50% - var(--cpw) * .23 - var(--orb) / 2);
    top: calc(100% + 3rem + var(--cpw) * .68 - var(--orb));
    width: var(--orb); padding: .7rem;
    font-size: clamp(.8rem, calc(var(--orb) * .1), 1rem);
  }
  .cta-orb.is-connected .orb-ring { animation-name: orb-near; }
  .hint-desk { display: none; }
  .hint-mob { display: inline; }
}
@media (max-width: 760px) {
  .nav { display: none; }
  .split-frame { height: 70vh; min-height: 420px; }
  .split-label { max-width: 40%; }
  .split-label strong { font-size: 1.15rem; }
  /* no celular o corpo passa por trás das legendas: um clarão no canto de cada lado devolve a leitura */
  .split-human::after, .split-ai::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; }
  .split-human::after { background: radial-gradient(72% 30% at 0% 100%, #D4E7F4 0, rgba(212, 231, 244, .95) 66%, rgba(212, 231, 244, 0) 100%); }
  .split-ai::after { background: radial-gradient(72% 30% at 100% 100%, #001C2D 0, rgba(0, 28, 45, .92) 66%, rgba(0, 28, 45, 0) 100%); }
  .specs div { grid-template-columns: 1fr; gap: .3rem; }
  .footer-meta { margin-left: 0; }
}
@media (max-width: 440px) {
  /* botão e link do topo sempre um embaixo do outro: até aqui eles só cabiam lado a lado com a fonte de reserva,
     e pulavam de linha (empurrando a foto) quando a fonte de verdade chegava */
  .hero-actions { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { transition: none; }
  .js .loader { display: none; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; }
}
