/* =========================================================
   IMPERDATA TECNOLOGIA — site institucional
   Cores oficiais do Manual da Marca: azul #000C4E · vermelho #E30613 · branco
   Tipografia da marca: Myriad → no site usamos Source Sans 3 (família irmã, open source da Adobe)
   ========================================================= */

:root {
  --navy: #000C4E;
  --navy-950: #00062B;
  --navy-900: #000839;
  --navy-800: #00104F;
  --navy-700: #0A1C6E;
  --navy-600: #1A2E8A;
  --red: #E30613;
  --red-hot: #FF2A1F;
  --red-glow: rgba(255, 42, 31, .55);
  --amber: #DB9000;         /* paleta auxiliar (manual, aplicações) */
  --steel: #72A0C6;         /* paleta auxiliar (manual, aplicações) */
  --paper: #F4F5FA;
  --paper-2: #FFFFFF;
  --ink: #000C4E;
  --ink-2: #39426E;
  --ink-3: #6B7396;
  --on-dark: #FFFFFF;
  --on-dark-2: #B9C1E6;
  --on-dark-3: #7E89BF;
  --bp-line: rgba(140, 160, 255, .09);
  --bp-line-2: rgba(140, 160, 255, .16);
  --stroke: rgba(205, 214, 255, .62);

  --ff: "Source Sans 3", "Myriad Pro", "Segoe UI", system-ui, sans-serif;
  --ff-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --ff-led: "Doto", var(--ff-mono);

  --wrap: 1280px;
  --gut: clamp(16px, 4vw, 40px);
  --r: 14px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --hdr-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ff);
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--navy-950);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--red-hot); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--red); color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; color: var(--navy); padding: 8px 14px; border-radius: 6px; }
.skip:focus { left: 8px; }
.logo { width: 100%; height: auto; }
.u-red { color: var(--red); }

/* ---------- blueprint ---------- */
.bp {
  background-color: var(--navy);
  background-image:
    linear-gradient(var(--bp-line-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--bp-line-2) 1px, transparent 1px),
    linear-gradient(var(--bp-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--bp-line) 1px, transparent 1px);
  background-size: 160px 160px, 160px 160px, 32px 32px, 32px 32px;
  background-position: -1px -1px;
  color: var(--on-dark);
}

/* ---------- kicker / títulos (estilo do manual: caixa alta + filete) ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ff-mono); font-size: 13px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-2); margin-bottom: 22px;
}
.kicker--dark { color: var(--on-dark-2); }
.kicker__sq { width: 10px; height: 10px; background: var(--red); box-shadow: 0 0 0 3px rgba(227, 6, 19, .18); }

.h2 {
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  font-weight: 900; letter-spacing: -.025em; line-height: 1.02;
  max-width: 18ch; margin-bottom: 26px;
  text-wrap: balance;
}
.h2::after { content: ""; display: block; width: 84px; height: 6px; background: currentColor; margin-top: 22px; border-radius: 3px; }
.h2--light { color: #fff; }
.h2--light::after { background: var(--red); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--ink-2); max-width: 60ch; }
.lead--light { color: var(--on-dark-2); }

/* ---------- botões ---------- */
.btn {
  --bh: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--bh); padding: 0 26px; border-radius: 999px;
  font-weight: 700; font-size: 17px; text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s, box-shadow .25s, color .25s;
  position: relative; isolation: isolate; overflow: hidden;
}
.btn--sm { --bh: 42px; padding: 0 18px; font-size: 15px; }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 10px 30px -10px rgba(227, 6, 19, .7); }
.btn--red::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .28), transparent);
  transform: translateX(-120%); transition: transform .6s var(--ease);
}
.btn--red:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(227, 6, 19, .9); }
.btn--red:hover::before { transform: translateX(120%); }
.btn--ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; background: rgba(255, 255, 255, .06); }
.paper .btn--ghost { color: var(--navy); box-shadow: inset 0 0 0 1.5px rgba(0, 12, 78, .3); }
.btn__arr { transition: transform .25s var(--ease); }
.btn:hover .btn__arr { transform: translateX(4px); }

/* =========================================================
   HEADER
   ========================================================= */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hdr-h);
  transition: background .35s, box-shadow .35s, height .35s;
}
.hdr.is-solid {
  background: rgba(0, 8, 57, .95);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .08);
}
.hdr__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.hdr__logo { width: 168px; flex: none; --lga: #fff; --lgb: var(--red); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) {
  color: var(--on-dark-2); text-decoration: none; font-weight: 600; font-size: 16px;
  position: relative; padding: 6px 0; transition: color .2s;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:not(.btn):hover, .nav a.is-on { color: #fff; }
.nav a:not(.btn):hover::after, .nav a.is-on::after { transform: scaleX(1); }
.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: #fff; transition: transform .3s var(--ease), top .3s; }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; min-height: calc(100vh + var(--scan-h)); min-height: calc(100svh + var(--scan-h));
  padding: calc(var(--hdr-h) + clamp(28px, 6vh, 72px)) 0 calc(clamp(56px, 8vh, 96px) + var(--scan-h));
  display: flex; align-items: center; overflow: hidden;
}
.hero::before { /* brilho vermelho de fundo */
  content: ""; position: absolute; width: 900px; height: 900px; right: -260px; bottom: -420px;
  background: radial-gradient(closest-side, rgba(227, 6, 19, .22), transparent 70%);
  pointer-events: none;
}
.hero::after { /* círculo de construção do logo (manual) */
  content: ""; position: absolute; width: 1100px; height: 1100px; left: -520px; top: -380px;
  border-radius: 50%; border: 1px solid var(--bp-line-2); pointer-events: none;
  box-shadow: 0 0 0 120px transparent, inset 0 0 0 160px transparent;
}
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero__t {
  font-size: clamp(2.5rem, 4.6vw, 4.5rem); font-weight: 900; letter-spacing: -.035em; line-height: .98;
  margin-bottom: 26px; text-wrap: balance;
}
.hl {
  font-style: normal; white-space: nowrap; padding-bottom: .02em;
  background: linear-gradient(var(--red), var(--red)) no-repeat 0 84% / 0% .11em;
  transition: background-size .8s var(--ease);
}
.is-ready .hl { background-size: 100% .11em; }
.is-ready .hl:nth-of-type(2) { transition-delay: .35s; }
.is-ready .hl:nth-of-type(3) { transition-delay: .7s; }
.hero__sub { font-size: clamp(1.08rem, 1.45vw, 1.3rem); color: var(--on-dark-2); max-width: 46ch; margin-bottom: 34px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__art { margin: 0 -28px 0 0; position: relative; }
.station-wrap { position: relative; }
.station { width: 100%; height: auto; overflow: visible; }
.station text { font-family: var(--ff-mono); }
.station .ln { fill: none; stroke: var(--stroke); stroke-width: 1.4; }
.station .ln--strong { stroke: rgba(215, 222, 255, .8); stroke-width: 1.8; }
.station .ln--faint { stroke: rgba(205, 214, 255, .28); }
.station .ln--dash { stroke-dasharray: 3 5; stroke: rgba(205, 214, 255, .45); }
.station .ln--red { stroke: var(--red-hot); }
.station .fill-d { fill: var(--navy-900); stroke: var(--stroke); stroke-width: 1.4; }
.station .fill-m { fill: var(--navy-700); stroke: var(--stroke); stroke-width: 1.4; }
.station .red { fill: var(--red); }
.station .glass { fill: rgba(120, 145, 255, .07); stroke: var(--stroke); stroke-width: 1.4; }
.station .screen { fill: #01041C; stroke: var(--stroke); stroke-width: 1.2; }
.station .lamp { fill: #fff; filter: drop-shadow(0 0 6px rgba(255, 255, 255, .8)); }
.station .sign { font-size: 13px; font-weight: 700; letter-spacing: .22em; fill: #fff; }
.station .label { font-size: 13px; font-weight: 700; letter-spacing: .14em; fill: #fff; }
.station .tiny { font-size: 8.5px; letter-spacing: .08em; fill: var(--on-dark-2); }
.station .keys circle { fill: var(--navy-900); stroke: rgba(205, 214, 255, .45); stroke-width: 1; }
.station .hose { fill: none; stroke: #01041C; stroke-width: 5; stroke-linecap: round; }
.station .pipe { fill: none; stroke: var(--amber); stroke-width: 3; stroke-dasharray: 5 6; opacity: .85; animation: flowUp 1.1s linear infinite; }
.station .fuel { fill: url(#fuel); animation: wave 4s linear infinite; }
.station .fuel--b { animation-duration: 5.5s; }
.station .led { fill: var(--steel); animation: blink 1.6s steps(2) infinite; }
.station .led--2 { animation-delay: .4s; } .station .led--3 { animation-delay: .9s; }
.station .bars rect { fill: var(--steel); transform-box: fill-box; transform-origin: bottom; transition: transform 1s var(--ease); }
.station .bars rect:last-child { fill: var(--red-hot); }
.station .wire { fill: none; stroke: rgba(255, 90, 80, .35); stroke-width: 1.4; stroke-dasharray: 2 4; }
.station .pkt { fill: none; stroke: var(--red-hot); stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 7 93; animation: packet 2.8s linear infinite; filter: drop-shadow(0 0 4px var(--red-glow)); }
.station .pkt--d1 { animation-delay: -.7s; } .station .pkt--d2 { animation-delay: -1.4s; animation-duration: 2.2s; }
.station .pkt--d3 { animation-delay: -.3s; animation-duration: 3.4s; } .station .pkt--d4 { animation-delay: -1.9s; }
.station .pkt--d5 { animation-delay: -1s; animation-duration: 3.8s; }
.station .mk circle { fill: var(--red); stroke: #fff; stroke-width: 1.5; }
.station .mk text { font-size: 9px; font-weight: 700; fill: #fff; }
.station .mk { cursor: pointer; transition: transform .3s; }
.station .part, .station .mk { transition: opacity .4s var(--ease), filter .4s; }
.station.has-hot .part:not(.is-hot) { opacity: .28; }
.station.has-hot .mk:not(.is-hot) { opacity: .45; }
.station .part.is-hot { filter: drop-shadow(0 0 10px rgba(130, 160, 255, .35)); }
.station .seg-on { fill: var(--red-hot); filter: drop-shadow(0 0 2px var(--red-glow)); }
.station .seg-off { fill: rgba(255, 42, 31, .08); }
.station .totem-lbl { font-size: 7.6px; fill: #9AA6D9; letter-spacing: .06em; }
.station .totem-row.flash .seg-on { animation: flash .5s steps(2) 3; }

.legend { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.legend button {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 8px; border-radius: 99px;
  font-family: var(--ff-mono); font-size: 12.5px; letter-spacing: .02em; color: var(--on-dark-2);
  background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
  transition: background .25s, color .25s, box-shadow .25s;
}
.legend b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(227, 6, 19, .2); color: #fff; font-size: 10px; }
.legend button.is-hot { color: #fff; background: rgba(227, 6, 19, .14); box-shadow: inset 0 0 0 1px rgba(255, 42, 31, .6); }
.legend button.is-hot b { background: var(--red); }


.hero__scroll { position: absolute; left: 50%; bottom: calc(var(--scan-h) + 22px); transform: translateX(-50%); width: 26px; height: 42px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); z-index: 2; }
.hero__scroll span { position: absolute; left: 50%; top: 9px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--red-hot); animation: scrolly 1.8s var(--ease) infinite; }

/* =========================================================
   ESCÂNER — no pé do topo, os serviços passam em traço de planta
   e ganham corpo ao cruzar a linha de leitura
   ========================================================= */
:root { --scan-h: clamp(88px, 7.4vw, 118px); }
.scan { position: absolute; left: 0; right: 0; bottom: 0; height: var(--scan-h); z-index: 1; overflow: hidden; }
.scan::before { /* escurece de leve o pé do topo para a régua aparecer */
  content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 6, 43, .15), rgba(0, 6, 43, .6));
}
.scan__rule {
  position: absolute; left: 0; right: 0; height: 14px; z-index: 3;
  background-image:
    repeating-linear-gradient(90deg, rgba(205, 214, 255, .6) 0 1px, transparent 1px 100px),
    repeating-linear-gradient(90deg, rgba(205, 214, 255, .26) 0 1px, transparent 1px 10px);
  background-size: 100% 14px, 100% 7px; background-repeat: repeat-x;
}
.scan__rule--top { top: 0; border-top: 1px solid rgba(205, 214, 255, .35); background-position: 0 0, 0 0; }
.scan__rule--bot { bottom: 0; border-bottom: 1px solid rgba(205, 214, 255, .35); background-position: 0 100%, 0 100%; }

.scan__layer { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; }
.scan__layer--solid { clip-path: inset(0 50% 0 0); }
.scan__track { display: flex; width: max-content; will-change: transform; }
.scan__grp { display: flex; align-items: center; gap: clamp(32px, 3.6vw, 64px); padding-right: clamp(32px, 3.6vw, 64px); }
.scan__it { display: inline-flex; align-items: center; gap: clamp(10px, .9vw, 14px); white-space: nowrap; }
.scan__it b { font-weight: 900; font-size: clamp(28px, 3.5vw, 56px); letter-spacing: -.035em; line-height: 1.1; }
.scan__mk {
  flex: none; display: grid; place-items: center; width: 2.7em; height: 2.7em; border-radius: 50%;
  font-style: normal; font-family: var(--ff-mono); font-weight: 700; font-size: clamp(9px, .72vw, 11.5px);
}
.scan__layer--wire .scan__it b { color: transparent; -webkit-text-stroke: 1px rgba(205, 214, 255, .5); }
.scan__layer--wire .scan__mk { color: rgba(205, 214, 255, .6); box-shadow: inset 0 0 0 1px rgba(205, 214, 255, .5); }
.scan__layer--solid .scan__it b { color: #fff; }
.scan__layer--solid .scan__mk { color: #fff; background: var(--red); box-shadow: 0 0 0 4px rgba(227, 6, 19, .22), 0 0 16px rgba(255, 42, 31, .55); }

.scan__beam {
  position: absolute; z-index: 4; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px;
  background: var(--red-hot); box-shadow: 0 0 10px var(--red-glow), 0 0 26px rgba(255, 42, 31, .35);
}
.scan__beam::before { /* rastro de luz do lado que já foi lido */
  content: ""; position: absolute; top: 0; bottom: 0; right: 2px; width: clamp(80px, 12vw, 220px);
  background: linear-gradient(to left, rgba(255, 42, 31, .16), transparent);
}

@media (max-width: 640px) {
  :root { --scan-h: 84px; }
  .scan__it b { font-size: 26px; }
}

/* =========================================================
   SEÇÕES GENÉRICAS
   ========================================================= */
.sec { padding: clamp(64px, 8vw, 112px) 0; position: relative; }
.paper { background: var(--paper); color: var(--ink); }
.paper--2 { background: var(--paper-2); }
.navy { color: var(--on-dark); }
.sec__head { margin-bottom: clamp(32px, 5vw, 64px); }
.sec__head--row { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: end; }
.sec__head--row .h2 { max-width: 20ch; margin-bottom: 0; }
.note { margin-top: 14px; font-size: 13px; color: var(--ink-3); font-family: var(--ff-mono); }

/* ---------- Sobre ---------- */
.about { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.about p:not(.kicker):not(.lead) { color: var(--ink-2); max-width: 58ch; }
.pillars { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 30px; padding-top: 14px; border-top: 1.5px solid var(--navy); }
.pillars li { font-weight: 800; font-size: clamp(13px, 1.15vw, 15px); letter-spacing: .12em; text-transform: uppercase; }
.pillars li + li::before { content: "+"; color: var(--red); margin-right: 14px; }

.dispenser {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-900) 100%);
  color: #fff; border-radius: 22px; padding: 26px; position: relative;
  box-shadow: 0 40px 80px -40px rgba(0, 12, 78, .7), inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.dispenser::before { /* faixa vermelha estilo bomba */
  content: ""; position: absolute; left: 0; right: 0; bottom: 64px; height: 8px; background: var(--red);
}
.dispenser__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 20px; border-bottom: 1px dashed rgba(255, 255, 255, .18); }
.dispenser__head .logo { width: 150px; --lga: #fff; --lgb: var(--red); }
.dispenser__id { font-family: var(--ff-mono); font-size: 11px; letter-spacing: .14em; color: var(--on-dark-3); }
.dispenser__rows { margin: 18px 0 64px; display: grid; gap: 10px; }
.drow {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  background: #01031A; border-radius: 10px; padding: 14px 16px;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(255, 255, 255, .05);
}
.drow dt { font-family: var(--ff-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-2); }
.drow dd { margin: 0; display: flex; align-items: center; gap: 4px; }
.plus { font-style: normal; font-family: var(--ff-mono); font-weight: 700; color: var(--red-hot); font-size: 22px; text-shadow: 0 0 8px var(--red-glow); }
.seg-out svg, .seg-clock svg { height: 40px; width: auto; overflow: visible; }
.seg-on { fill: var(--red-hot); filter: drop-shadow(0 0 3px var(--red-glow)); }
.seg-off { fill: rgba(255, 42, 31, .07); }
.dispenser__foot { position: absolute; left: 26px; right: 26px; bottom: 18px; margin: 0; font-family: var(--ff-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-3); }

/* =========================================================
   O DIA DO POSTO — relógio automático + ponteiro arrastável
   ========================================================= */
.day { position: relative; background: var(--navy); }
.day__stage {
  position: relative; overflow: hidden;
  --sunx: 10%; --suny: 90%; --suna: 0;
}
.day__stage::before { /* "sol" que percorre o céu */
  content: ""; position: absolute; width: 900px; height: 900px; border-radius: 50%;
  left: var(--sunx); top: var(--suny); transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(219, 144, 0, calc(var(--suna) * .5)), rgba(227, 6, 19, calc(var(--suna) * .18)) 55%, transparent 72%);
  pointer-events: none;
}
.day__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center;
  column-gap: clamp(32px, 6vw, 96px); row-gap: clamp(28px, 4vw, 48px);
  padding-block: clamp(64px, 8vw, 112px);
}
.day__head { grid-column: 1 / -1; }
.day__head .h2 { max-width: 30ch; margin-bottom: 0; }
.day__left { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.day__right { display: flex; flex-direction: column; gap: clamp(28px, 3.5vw, 44px); }

.dial {
  position: relative; width: min(100%, 410px); aspect-ratio: 1; border-radius: 50%;
  cursor: grab; touch-action: pan-y; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent;
}
.dial:focus { outline: none; }
.dial:focus-visible { box-shadow: 0 0 0 4px var(--navy), 0 0 0 6px var(--red-hot); }
.dial.is-drag { cursor: grabbing; }
.dial__svg { width: 100%; height: 100%; overflow: visible; }
.dial__ring { fill: none; stroke: rgba(205, 214, 255, .25); stroke-width: 1.2; }
.dial__ring--in { stroke-dasharray: 2 6; }
.dial__tick { stroke: rgba(205, 214, 255, .35); stroke-width: 1; }
.dial__tick--h { stroke: rgba(255, 255, 255, .8); stroke-width: 2; }
.dial__num { font-family: var(--ff-mono); font-size: 12px; fill: var(--on-dark-2); text-anchor: middle; dominant-baseline: middle; }
.dial__arc { fill: none; stroke: var(--red); stroke-width: 6; stroke-linecap: round; filter: drop-shadow(0 0 8px var(--red-glow)); }
.dial__stop { fill: var(--navy); stroke: rgba(255, 255, 255, .6); stroke-width: 1.5; transition: fill .3s, stroke .3s; }
.dial__stop.is-done { fill: var(--red); stroke: #fff; }
.dial__hand line { stroke: #fff; stroke-width: 2.5; stroke-linecap: round; }
.dial__knob { fill: #fff; stroke: var(--red-hot); stroke-width: 3; animation: knobGlow 2.4s ease-in-out infinite; }
.dial.is-drag .dial__knob, .dial:hover .dial__knob { animation: none; filter: drop-shadow(0 0 12px rgba(255, 255, 255, .9)); }
.dial__grab { fill: transparent; touch-action: none; }
.dial__center { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; pointer-events: none; }
.dial__lbl { font-family: var(--ff-mono); font-size: 11px; letter-spacing: .18em; color: var(--on-dark-3); }
.seg-clock svg { height: 54px; }
.dial__hint { margin: 0; display: inline-flex; align-items: center; gap: 8px; font-family: var(--ff-mono); font-size: 12px; letter-spacing: .04em; color: var(--on-dark-3); text-align: center; }
.dial__hint svg { width: 16px; height: 16px; flex: none; fill: none; stroke: var(--red-hot); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* etapas empilhadas na mesma célula: a altura é a da maior, nada pula */
.steps { display: grid; align-self: center; }
.step {
  grid-area: 1 / 1; display: flex; flex-direction: column; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(22px);
  transition: opacity .45s var(--ease), transform .55s var(--ease), visibility 0s linear .55s;
}
.step.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .5s var(--ease) .1s, transform .6s var(--ease) .1s, visibility 0s; }
.step.is-past { transform: translateY(-22px); }
.step__time { font-family: var(--ff-mono); font-weight: 700; font-size: 14px; letter-spacing: .14em; color: var(--red-hot); margin-bottom: 14px; }
.step h3 { font-size: clamp(2.2rem, 4vw, 3.6rem); font-weight: 900; letter-spacing: -.03em; color: #fff; margin-bottom: 18px; }
.step p { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--on-dark-2); max-width: 44ch; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.tags li { font-family: var(--ff-mono); font-size: 12px; letter-spacing: .04em; padding: 6px 11px; border-radius: 99px; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .04); }
.step__note { margin: 22px 0 0; padding-top: 18px; border-top: 1px dashed rgba(255, 255, 255, .22); font-size: clamp(1rem, 1.25vw, 1.1rem); color: var(--on-dark-2); max-width: 46ch; }
.step__note strong { color: #fff; }

/* barra de etapas (estilo stories) + pausar */
.day__segs { display: flex; align-items: center; gap: 14px; }
.day__play {
  flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); transition: background .2s, box-shadow .2s;
}
.day__play:hover { background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px #fff; }
.day__play svg { width: 18px; height: 18px; }
.day__play .i-pause { fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }
.day__play .i-play { fill: currentColor; display: none; }
.day__play[aria-pressed="true"] .i-pause { display: none; }
.day__play[aria-pressed="true"] .i-play { display: block; }
.day__track { flex: 1; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.day__track button { width: 100%; display: grid; gap: 9px; padding: 8px 0 4px; text-align: left; }
.day__bar { display: block; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .14); overflow: hidden; transition: background .2s; }
.day__bar i { display: block; height: 100%; background: var(--red-hot); box-shadow: 0 0 8px var(--red-glow); transform-origin: left; transform: scaleX(var(--p, 0)); }
.day__track button:hover .day__bar { background: rgba(255, 255, 255, .26); }
.day__lbl { font-family: var(--ff-mono); font-size: 12px; letter-spacing: .08em; color: var(--on-dark-3); transition: color .2s; }
.day__track button:hover .day__lbl, .day__track .is-done .day__lbl { color: var(--on-dark-2); }
.day__track .is-cur .day__lbl { color: #fff; font-weight: 700; }
.day.is-paused .day__track .is-cur .day__bar i { opacity: .5; }
@keyframes knobGlow { 50% { filter: drop-shadow(0 0 10px rgba(255, 255, 255, .95)) drop-shadow(0 0 4px rgba(255, 42, 31, .9)); } }

/* =========================================================
   CONSOLE (soluções)
   ========================================================= */
.console {
  background: var(--navy); border-radius: 26px; padding: clamp(14px, 2vw, 22px); color: #fff;
  box-shadow: 0 50px 100px -50px rgba(0, 12, 78, .8);
  background-image: linear-gradient(var(--bp-line) 1px, transparent 1px), linear-gradient(90deg, var(--bp-line) 1px, transparent 1px);
  background-size: 28px 28px;
}
.console__tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: clamp(14px, 2vw, 22px); }
.console__tabs button {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px;
  font-weight: 700; font-size: 17px; color: var(--on-dark-2);
  background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
  transition: background .25s, color .25s, box-shadow .25s; text-align: left;
}
.console__tabs button:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.console__tabs button[aria-selected="true"] { color: #fff; background: var(--navy-700); box-shadow: inset 0 0 0 1px rgba(255, 42, 31, .7), 0 0 0 3px rgba(227, 6, 19, .15); }
.console__code {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; flex: none;
  font-family: var(--ff-led); font-weight: 900; font-size: 20px; background: #01031A; color: rgba(255, 42, 31, .35);
  transition: color .25s, text-shadow .25s;
}
[aria-selected="true"] .console__code { color: var(--red-hot); text-shadow: 0 0 8px var(--red-glow); }
/* barra de tempo da troca automática */
.console__tabs button { position: relative; overflow: hidden; }
.is-auto .console__tabs button[aria-selected="true"]::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%;
  background: var(--red-hot); box-shadow: 0 0 8px var(--red-glow);
  transform-origin: left; transform: scaleX(var(--p, 0)); transition: opacity .3s;
}
.is-auto.is-paused .console__tabs button[aria-selected="true"]::after { opacity: .35; }
.console__panel { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(20px, 3vw, 40px); padding: clamp(14px, 2.4vw, 30px); align-items: center; }
.console__panel[hidden] { display: none; }
.console__panel.is-in .panel__txt, .console__panel.is-in .mock { animation: panelIn .55s var(--ease) both; }
.console__panel.is-in .mock { animation-delay: .08s; }
.panel__txt h3 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 14px; }
.panel__txt p { color: var(--on-dark-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chips li { font-size: 14px; font-weight: 600; padding: 7px 13px; border-radius: 99px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }

.mock { background: #F7F8FC; color: var(--ink); border-radius: 16px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); min-height: 320px; display: flex; flex-direction: column; }
.mock__bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: #E8EBF5; font-family: var(--ff-mono); font-size: 12px; color: var(--ink-3); }
.mock__bar i { width: 10px; height: 10px; border-radius: 50%; background: #C9CEE2; }
.mock__bar i:first-child { background: var(--red); }
.mock__bar span { margin-left: 8px; }
.mock__body { padding: 16px; flex: 1; }
.mock__body--side { display: grid; grid-template-columns: 120px 1fr; gap: 14px; padding: 0; }
.mock__side { background: var(--navy); color: var(--on-dark-2); padding: 12px 8px; font-size: 13px; font-weight: 600; }
.mock__side li { padding: 7px 10px; border-radius: 8px; }
.mock__side li.on { background: var(--red); color: #fff; }
.mock__main { padding: 14px 14px 14px 0; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.kpis--4 { grid-template-columns: repeat(4, 1fr); }
.kpis div { background: #fff; border-radius: 10px; padding: 10px 12px; box-shadow: 0 1px 0 rgba(0, 12, 78, .06), inset 0 0 0 1px rgba(0, 12, 78, .06); }
.kpis small { display: block; font-size: 11px; font-family: var(--ff-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.kpis b { font-size: clamp(15px, 1.5vw, 20px); font-weight: 800; font-variant-numeric: tabular-nums; }
.mtable { width: 100%; border-collapse: collapse; font-size: 13.5px; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(0, 12, 78, .06); }
.mtable th { text-align: left; font-family: var(--ff-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; padding: 9px 12px; background: #F0F2F9; }
.mtable td { padding: 9px 12px; border-top: 1px solid #EEF0F7; white-space: nowrap; }
.ok, .run, .idle { font-family: var(--ff-mono); font-size: 11.5px; padding: 3px 8px; border-radius: 99px; white-space: nowrap; }
.ok { background: rgba(114, 160, 198, .18); color: #2E6A99; }
.run { background: rgba(227, 6, 19, .1); color: var(--red); }
.idle { background: #EEF0F7; color: var(--ink-3); }

.pista { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.bico { background: #fff; border-radius: 12px; padding: 12px; box-shadow: inset 0 0 0 1px rgba(0, 12, 78, .08); display: grid; gap: 6px; }
.bico header { display: flex; justify-content: space-between; align-items: center; font-family: var(--ff-mono); font-size: 11px; color: var(--ink-3); letter-spacing: .06em; }
.bico .dot { width: 8px; height: 8px; border-radius: 50%; background: #C9CEE2; }
.bico.is-run .dot { background: var(--red); box-shadow: 0 0 0 4px rgba(227, 6, 19, .15); animation: pulse 1.2s infinite; }
.bico strong { font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; }
.bico small { font-size: 12px; color: var(--ink-3); }
.bico.is-run small { color: var(--red); font-weight: 600; }

.conns { display: grid; gap: 8px; }
.conns li { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; background: #fff; border-radius: 10px; padding: 11px 14px; box-shadow: inset 0 0 0 1px rgba(0, 12, 78, .07); }
.conns span { font-weight: 800; }
.conns em { font-style: normal; font-family: var(--ff-mono); font-size: 11.5px; color: var(--ink-3); }
.conns b { font-weight: 500; }

.chart { height: 190px; display: flex; align-items: flex-end; gap: 10px; padding: 14px 10px 0; background: #fff; border-radius: 10px; box-shadow: inset 0 0 0 1px rgba(0, 12, 78, .06); position: relative; }
.chart__col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.chart__bar { width: 100%; max-width: 38px; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, var(--navy-600), var(--navy)); transform-origin: bottom; transform: scaleY(0); transition: transform 1s var(--ease); }
.chart__col:last-child .chart__bar { background: linear-gradient(180deg, #FF4B40, var(--red)); }
.chart__col small { font-family: var(--ff-mono); font-size: 11px; color: var(--ink-3); padding-bottom: 8px; }
.is-in .chart__bar { transform: scaleY(1); }

/* =========================================================
   INTEGRAÇÕES (órbita)
   ========================================================= */
.integ { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.partners { margin: 34px 0 26px; }
.partners__lbl { display: block; font-family: var(--ff-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-3); margin-bottom: 12px; }
.ptns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ptn {
  position: relative; display: grid; gap: 2px; padding: 14px 44px 14px 16px; border-radius: 14px; text-decoration: none; color: #fff;
  background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
  transition: background .25s, box-shadow .25s, transform .25s var(--ease);
}
.ptn b { font-weight: 900; font-size: clamp(1.05rem, 1.5vw, 1.25rem); letter-spacing: -.01em; }
.ptn small { font-family: var(--ff-mono); font-size: 11px; letter-spacing: .04em; color: var(--on-dark-3); }
.ptn__go { position: absolute; right: 14px; top: 50%; width: 20px; height: 20px; margin-top: -10px; fill: none; stroke: var(--on-dark-2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease), stroke .25s; }
a.ptn:hover { background: rgba(227, 6, 19, .14); box-shadow: inset 0 0 0 1px var(--red-hot); transform: translateY(-2px); }
a.ptn:hover .ptn__go { stroke: var(--red-hot); transform: translate(2px, -2px); }
.ptn--nolink { padding-right: 16px; }
.srv__cta { grid-column: 2; justify-self: start; margin-top: 10px; display: inline-flex; gap: 6px; align-items: center; padding: 7px 14px; border-radius: 99px; background: var(--red); color: #fff; font-weight: 700; font-size: 14px; text-decoration: none; transition: background .2s, transform .2s; position: relative; z-index: 1; }
.srv__cta:hover { background: #c40510; transform: translateX(2px); }
.xray__cert { margin: -8px 0 22px; padding: 12px 16px; border-radius: 12px; font-size: 15px; color: var(--on-dark-2); background: rgba(227, 6, 19, .12); box-shadow: inset 0 0 0 1px rgba(255, 42, 31, .45); }
.xray__cert a { color: #fff; font-weight: 700; text-underline-offset: 3px; }
.integ__q { color: var(--on-dark-2); }
.integ__q a { color: #fff; font-weight: 700; text-decoration-color: var(--red); text-underline-offset: 4px; }
.orbit { position: relative; width: 100%; max-width: 680px; aspect-ratio: 1; justify-self: center; }
.orbit canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.orbit__hub {
  position: absolute; left: 50%; top: 50%; width: 27%; aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; background: #fff; display: grid; place-content: center; justify-items: center; gap: 4px; text-align: center;
  box-shadow: 0 0 0 10px rgba(255, 255, 255, .06), 0 0 0 22px rgba(255, 255, 255, .03), 0 0 60px rgba(227, 6, 19, .35);
  z-index: 2;
}
.orbit__hubname { font-weight: 900; font-size: clamp(16px, 2vw, 24px); color: var(--navy); letter-spacing: -.02em; }
.orbit__hub .logo { width: 72%; }
.orbit__nodes { position: absolute; inset: 0; z-index: 3; }
.onode {
  position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); will-change: transform;
  font-weight: 700; font-size: clamp(12px, 1.25vw, 15px); white-space: nowrap; color: #fff;
  padding: 6px 12px; border-radius: 99px; background: var(--navy-800);
  box-shadow: inset 0 0 0 1px rgba(205, 214, 255, .3); transition: background .25s, box-shadow .25s; cursor: default;
}
.onode.is-ping { box-shadow: inset 0 0 0 1px var(--red-hot), 0 0 18px rgba(255, 42, 31, .45); }
.onode:hover { background: var(--red); box-shadow: none; }

/* =========================================================
   MÉTODO
   ========================================================= */
.method { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; padding-top: 54px; }
.method::before, .method::after { content: ""; position: absolute; top: 22px; left: 0; right: 0; height: 4px; border-radius: 4px; }
.method::before { background: repeating-linear-gradient(90deg, rgba(0, 12, 78, .22) 0 8px, transparent 8px 14px); }
.method::after { background: var(--red); transform-origin: left; transform: scaleX(var(--fill, 0)); transition: transform .2s linear; }
.method li { position: relative; }
.method li::before { content: ""; position: absolute; top: -40px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 3px solid rgba(0, 12, 78, .35); transition: background .3s, border-color .3s, transform .3s; }
.method li.is-on::before { background: var(--red); border-color: var(--red); transform: scale(1.15); }
.method__n { font-family: var(--ff-mono); font-weight: 700; font-size: 13px; letter-spacing: .1em; color: var(--red); }
.method h3 { font-size: clamp(1.3rem, 1.8vw, 1.6rem); font-weight: 800; letter-spacing: -.015em; margin: 8px 0 10px; }
.method p { font-size: 16px; color: var(--ink-2); }
.services { margin-top: clamp(48px, 6vw, 80px); padding-top: 30px; border-top: 1.5px solid var(--navy); }
.services__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 30px; margin-bottom: 22px; }
.services__t { margin: 0; font-size: 14px; font-family: var(--ff-mono); letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.services__sub { margin: 0; color: var(--ink-2); font-size: 17px; }
.srv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.srv li {
  position: relative; display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: start; align-content: start;
  background: #fff; border-radius: 18px; padding: 22px 22px 22px 20px; overflow: hidden; isolation: isolate;
  box-shadow: inset 0 0 0 1px rgba(0, 12, 78, .09), 0 1px 0 rgba(0, 12, 78, .04);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.srv li::after { /* filete vermelho que corre na base no hover */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.srv li:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(0, 12, 78, .12), 0 24px 44px -26px rgba(0, 12, 78, .45); }
.srv li:hover::after { transform: scaleX(1); }
.srv__ic {
  grid-row: span 2; width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center;
  background: var(--navy); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); transition: background .35s;
}
.srv li:hover .srv__ic { background: var(--red); }
.srv__ic svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.srv h3 { font-size: 18px; font-weight: 800; letter-spacing: -.01em; margin: 2px 0 6px; }
.srv p { margin: 0; font-size: 15.5px; line-height: 1.45; color: var(--ink-2); }

/* cabeçalho dos diferenciais + cartão de compromisso */
.dif-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 80px); align-items: stretch; }
.dif-head .lead { margin: 0; }
.promise {
  position: relative; margin: 0; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  background: var(--navy); color: #fff; border-radius: 24px; padding: clamp(28px, 3.4vw, 44px);
  box-shadow: 0 40px 80px -46px rgba(0, 12, 78, .8);
}
.promise::before, .promise::after { /* linhas de construção do manual */
  content: ""; position: absolute; z-index: -1; pointer-events: none; border: 1px solid rgba(140, 160, 255, .2);
}
.promise::before { width: 360px; height: 360px; border-radius: 50%; right: -120px; top: -150px; }
.promise::after { width: 260px; height: 260px; right: -40px; top: -100px; transform: rotate(45deg); }
.promise__q { display: block; height: 44px; margin-bottom: -18px; font-family: Georgia, serif; font-size: 110px; line-height: .9; color: var(--red); }
.promise blockquote { margin: 0; font-size: clamp(1.3rem, 2vw, 1.75rem); line-height: 1.3; font-weight: 400; letter-spacing: -.01em; color: var(--on-dark-2); max-width: 30ch; text-wrap: pretty; }
.promise blockquote strong { color: #fff; font-weight: 800; }
.promise figcaption { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px dashed rgba(255, 255, 255, .2); }
.promise figcaption .logo { width: 120px; --lga: #fff; --lgb: var(--red); }
.promise figcaption span { font-family: var(--ff-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-3); }

/* =========================================================
   DIFERENCIAIS
   ========================================================= */
#metodo { padding-bottom: clamp(56px, 6vw, 84px); }
#diferenciais { padding-top: clamp(56px, 6vw, 84px); }
.difs { border-top: 1.5px solid var(--navy); }
.difs li {
  display: grid; grid-template-columns: 80px minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px; align-items: center;
  padding: clamp(20px, 2.6vw, 34px) clamp(8px, 1.5vw, 20px); border-bottom: 1px solid rgba(0, 12, 78, .15);
  position: relative; isolation: isolate; transition: color .4s var(--ease);
}
.difs li::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--navy); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); }
.difs li:hover { color: #fff; }
.difs li:hover::before { transform: scaleY(1); }
.difs__n { font-family: var(--ff-mono); font-weight: 700; color: var(--red); font-size: 14px; letter-spacing: .1em; }
.difs h3 { font-size: clamp(1.6rem, 3.2vw, 2.9rem); font-weight: 900; letter-spacing: -.03em; }
.difs p { margin: 0; color: var(--ink-2); transition: color .4s; }
.difs li:hover p { color: var(--on-dark-2); }

/* =========================================================
   VISÃO
   ========================================================= */
.vision {
  position: relative; overflow: hidden; color: var(--ink);
  background: var(--paper); padding: clamp(64px, 8vw, 112px) 0;
}
.vision::before { /* quadriculado de planta que aparece em volta da mira */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(0, 12, 78, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 12, 78, .06) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(circle at 74% 50%, #000 0 22%, transparent 48%);
          mask-image: radial-gradient(circle at 74% 50%, #000 0 22%, transparent 48%);
}
.vision__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.vision__q { margin: 0; font-size: clamp(1.7rem, 3.1vw, 2.9rem); line-height: 1.16; font-weight: 300; letter-spacing: -.02em; max-width: 25ch; text-wrap: pretty; }
.vision__q strong { font-weight: 900; }
/* cada pilar da frase acende junto com o eixo dele na mira */
.vx-w {
  font-weight: 400; padding-bottom: .02em;
  background: linear-gradient(var(--red), var(--red)) no-repeat 0 92% / 0% .09em;
  animation: vxWord 8s var(--ease) infinite; animation-delay: var(--d);
}
@keyframes vxWord {
  0% { color: inherit; background-size: 0% .09em; background-position: 0 92%; }
  5%, 19% { color: var(--red); background-size: 100% .09em; background-position: 0 92%; }
  19.01% { background-position: 100% 92%; }
  23.5% { color: inherit; background-size: 0% .09em; background-position: 100% 92%; }
  23.51%, 100% { color: inherit; background-size: 0% .09em; background-position: 0 92%; }
}

.vx { width: 100%; max-width: 600px; justify-self: center; }
.vx svg { display: block; width: 100%; height: auto; overflow: visible; }
.vx-ticks { transform-origin: 220px 220px; animation: vxSpin 90s linear infinite; }
.vx-ticks line { stroke: rgba(0, 12, 78, .22); stroke-width: 1; }
.vx-ticks line.is-big { stroke: rgba(0, 12, 78, .45); stroke-width: 1.4; }
.vx-ring { fill: none; stroke: rgba(0, 12, 78, .2); stroke-width: 1.2; }
.vx-ring--dash { stroke-dasharray: 3 6; stroke: rgba(0, 12, 78, .16); }
.vx-cross { fill: none; stroke: rgba(0, 12, 78, .16); stroke-width: 1; stroke-dasharray: 2 5; }
.vx-pkt {
  fill: none; stroke: var(--red-hot); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 18 220; stroke-dashoffset: 18;
  filter: drop-shadow(0 0 4px rgba(255, 42, 31, .55));
  animation: vxPkt 8s linear infinite; animation-delay: var(--d);
}
.vx-mk { fill: #fff; stroke: var(--navy); stroke-width: 1.4; animation: vxMk 8s var(--ease) infinite; animation-delay: var(--d); }
.vx-n { font-family: var(--ff-mono); font-size: 10px; font-weight: 700; fill: var(--navy); text-anchor: middle; dominant-baseline: central; animation: vxN 8s var(--ease) infinite; animation-delay: var(--d); }
.vx-lbl { font-family: var(--ff-mono); font-size: 12px; font-weight: 700; letter-spacing: .12em; fill: var(--ink-3); dominant-baseline: central; animation: vxLbl 8s var(--ease) infinite; animation-delay: var(--d); }
.vx-core { fill: var(--red); filter: drop-shadow(0 0 10px rgba(227, 6, 19, .45)); }
.vx-plus { stroke: #fff; stroke-width: 2.4; stroke-linecap: round; }
.vx-pulse { fill: none; stroke: var(--red); stroke-width: 2; transform-box: fill-box; transform-origin: center; opacity: 0; animation: vxPulse 2s ease-out infinite 1.45s; }

@keyframes vxPkt { 0% { stroke-dashoffset: 18; } 18% { stroke-dashoffset: -100; } 100% { stroke-dashoffset: -100; } }
@keyframes vxMk { 0%, 23.5%, 100% { fill: #fff; stroke: var(--navy); } 4%, 19% { fill: var(--red); stroke: var(--red); } }
@keyframes vxN { 0%, 23.5%, 100% { fill: var(--navy); } 4%, 19% { fill: #fff; } }
@keyframes vxLbl { 0%, 23.5%, 100% { fill: var(--ink-3); } 4%, 19% { fill: var(--red); } }
@keyframes vxPulse { 0% { opacity: .9; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(4.2); } }
@keyframes vxSpin { to { transform: rotate(360deg); } }

@media (max-width: 920px) {
  .vision__grid { grid-template-columns: 1fr; }
  .vision::before { -webkit-mask-image: radial-gradient(circle at 50% 72%, #000 0 22%, transparent 50%); mask-image: radial-gradient(circle at 50% 72%, #000 0 22%, transparent 50%); }
  .vx { max-width: 420px; }
}
@media (max-width: 640px) {
  .vx-lbl { font-size: 14px; letter-spacing: .03em; }
  .vx-n { font-size: 12px; }
}

/* =========================================================
   CONTATO / RAIO-X
   ========================================================= */
.contact { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.xray fieldset { border: 0; padding: 0; margin: 0 0 24px; }
.xray legend { font-family: var(--ff-mono); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-2); margin-bottom: 12px; padding: 0; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opts label { position: relative; cursor: pointer; }
.opts input { position: absolute; opacity: 0; pointer-events: none; }
.opts span {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 99px; font-weight: 600; font-size: 15.5px;
  background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); transition: background .2s, box-shadow .2s;
}
.opts span::before { content: ""; width: 9px; height: 9px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); transition: background .2s, box-shadow .2s; }
.opts label:hover span { background: rgba(255, 255, 255, .1); }
.opts input:checked + span { background: rgba(227, 6, 19, .18); box-shadow: inset 0 0 0 1.5px var(--red-hot); }
.opts input:checked + span::before { background: var(--red-hot); box-shadow: 0 0 8px var(--red-glow); }
.opts input:focus-visible + span { outline: 2px solid var(--red-hot); outline-offset: 3px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 28px; }
.field span { display: block; font-family: var(--ff-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-2); margin-bottom: 8px; }
.field input {
  width: 100%; min-height: 52px; padding: 0 16px; border-radius: 12px; border: 0; font: inherit; font-size: 16px; color: #fff;
  background: rgba(0, 4, 30, .55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); transition: box-shadow .2s;
}
.field input::placeholder { color: var(--on-dark-3); }
.field input:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--red-hot); }
.xray__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.receipt-wrap { position: sticky; top: calc(var(--hdr-h) + 24px); display: flex; justify-content: center; padding-top: 10px; }
.receipt-wrap::before { /* boca da impressora */
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: min(100%, 400px); height: 18px; border-radius: 10px;
  background: #01031A; box-shadow: inset 0 3px 6px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .08);
}
.receipt {
  position: relative; width: min(100% - 28px, 360px); margin-top: 8px; padding: 24px 22px 30px;
  background: #FBFAF6; color: #1D2033; font-family: var(--ff-mono); font-size: 12.5px; line-height: 1.5;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6);
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 10px) no-repeat, radial-gradient(circle 6px at 8px 100%, transparent 5.5px, #000 6px) bottom left / 16px 10px repeat-x;
          mask: linear-gradient(#000 0 0) top / 100% calc(100% - 10px) no-repeat, radial-gradient(circle 6px at 8px 100%, transparent 5.5px, #000 6px) bottom left / 16px 10px repeat-x;
  transform-origin: top; animation: print .9s var(--ease) both paused;
}
.receipt.is-printing { animation-play-state: running; }
.receipt__head { text-align: center; margin-bottom: 14px; }
.receipt__head .logo { width: 170px; margin: 0 auto 6px; }
.receipt__head p { margin: 0; font-size: 11px; letter-spacing: .06em; color: #555A73; }
.receipt hr { border: 0; border-top: 1.5px dashed #A3A7BA; margin: 10px 0; }
.r-row { display: flex; justify-content: space-between; gap: 14px; margin: 0; }
.r-row span:last-child { text-align: right; overflow-wrap: anywhere; }
.r-sub { margin: 0 0 6px; font-weight: 700; }
.r-items { list-style: none; counter-reset: it; }
.r-items li { counter-increment: it; display: flex; gap: 8px; animation: lineIn .35s var(--ease) both; }
.r-items li::before { content: counter(it, decimal-leading-zero); color: #8A8FA8; }
.r-items li::after { content: "✓"; margin-left: auto; color: var(--red); font-weight: 700; }
.r-items li.r-empty { color: #8A8FA8; }
.r-items li.r-empty::before, .r-items li.r-empty::after { content: none; }
.r-total { font-weight: 700; font-size: 14px; }
.r-total span:last-child { color: var(--red); }
.r-thanks { text-align: center; margin: 8px 0 12px; color: #555A73; }
.r-bar { height: 46px; background: repeating-linear-gradient(90deg, #1D2033 0 2px, transparent 2px 4px, #1D2033 4px 5px, transparent 5px 8px, #1D2033 8px 11px, transparent 11px 12px, #1D2033 12px 13px, transparent 13px 16px); }

/* =========================================================
   RODAPÉ
   ========================================================= */
.ftr { background: var(--navy-950); color: var(--on-dark-2); padding: 64px 0 28px; }
.ftr__grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 40px; padding-bottom: 40px; }
.ftr__brand .logo { width: 220px; --lga: #fff; --lgb: var(--red); margin-bottom: 18px; }
.ftr__brand p { max-width: 44ch; font-size: 16px; }
.ftr__col { display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.ftr__col h4 { font-family: var(--ff-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 6px; font-weight: 700; }
.ftr__col a { text-decoration: none; transition: color .2s; }
.ftr__col a:hover { color: #fff; }
.ftr__ct { display: inline-flex; align-items: center; gap: 10px; overflow-wrap: anywhere; }
.ftr__ic { width: 20px; height: 20px; flex: none; transition: transform .25s var(--ease); }
.ftr__ic--wa { fill: #25D366; }
.ftr__ic--mail { fill: none; stroke: var(--on-dark-2); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ftr__ct:hover .ftr__ic { transform: scale(1.12); }
.ftr__ct:hover .ftr__ic--mail { stroke: #fff; }
.pp__doc .pp-contact strong a { color: #fff; text-decoration: none; }
.pp__doc .pp-contact strong a:hover { text-decoration: underline; text-decoration-color: var(--red-hot); text-underline-offset: 4px; }
.ftr__legal { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 30px; padding-top: 24px; font-size: 13.5px; color: var(--on-dark-3); position: relative; }
.ftr__legal::before { content: ""; position: absolute; top: 0; left: var(--gut); right: var(--gut); height: 1px; background: rgba(255, 255, 255, .1); }
.credit { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--on-dark-2); transition: color .2s; }
.credit strong { color: #fff; font-weight: 700; }
.credit__ig { width: 22px; height: 22px; padding: 3px; border-radius: 7px; color: #fff; background: rgba(255, 255, 255, .08); transition: background .25s, transform .25s var(--ease); }
.credit:hover { color: #fff; }
.credit:hover .credit__ig { background: linear-gradient(45deg, #F58529, #DD2A7B 50%, #8134AF); transform: rotate(-8deg) scale(1.08); }

/* ---------- voltar ao topo ---------- */
.to-top {
  position: fixed; right: 14px; bottom: 80px; z-index: 40; width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(0, 6, 43, .9); color: #fff;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 10px 30px -10px rgba(0, 0, 0, .6);
  opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity .4s, transform .4s var(--ease), bottom .4s var(--ease), background .25s;
}
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.to-top.is-low { bottom: 14px; }
.to-top:hover { background: var(--navy-700); }
.to-top svg { width: 100%; height: 100%; }
.to-top__track { fill: none; stroke: rgba(255, 255, 255, .12); stroke-width: 2.5; }
.to-top__ring { fill: none; stroke: var(--red-hot); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 0 100; transform: rotate(-90deg); transform-origin: 24px 24px; }
.to-top__arr { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.to-top:hover .to-top__arr { transform: translateY(-2px); }

/* ---------- medidor de tanque ---------- */
.gauge {
  position: fixed; left: 12px; bottom: 12px; z-index: 40; width: 84px; padding: 8px 7px 6px; border-radius: 16px;
  background: rgba(0, 6, 43, .82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 10px 30px -10px rgba(0, 0, 0, .6);
  opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .4s var(--ease); pointer-events: none;
}
.gauge.is-on { opacity: 1; transform: none; }
@media (max-width: 1399px) { .gauge { display: none; } }
.gauge svg { width: 100%; }
.gauge__track { fill: none; stroke: rgba(255, 255, 255, .12); stroke-width: 7; stroke-linecap: round; }
.gauge__fill { fill: none; stroke: var(--red-hot); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 0 100; filter: drop-shadow(0 0 4px var(--red-glow)); }
.gauge text { font-family: var(--ff-mono); font-size: 10px; font-weight: 700; fill: var(--on-dark-2); }
.gauge #gaugeNeedle { transform-origin: 60px 62px; transform: rotate(-90deg); }
.gauge line { stroke: #fff; stroke-width: 2.5; stroke-linecap: round; }
.gauge circle { fill: #fff; }
.gauge span { display: block; text-align: center; font-family: var(--ff-mono); font-size: 10px; letter-spacing: .14em; color: var(--on-dark-3); margin-top: 2px; }
.gauge b { color: #fff; }

.wa-float {
  position: fixed; right: 14px; bottom: 14px; z-index: 40; display: inline-flex; align-items: center; gap: 10px;
  padding: 0 20px 0 16px; height: 54px; border-radius: 99px; background: var(--red); color: #fff; text-decoration: none; font-weight: 700;
  box-shadow: 0 14px 34px -10px rgba(227, 6, 19, .8);
  opacity: 0; transform: translateY(14px); transition: opacity .4s, transform .4s var(--ease); pointer-events: none;
}
.wa-float.is-on { opacity: 1; transform: none; pointer-events: auto; }
.wa-float svg { width: 24px; height: 24px; }
.wa-float:hover { transform: translateY(-2px); }

/* =========================================================
   REVEAL
   ========================================================= */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.js .rv.is-in { opacity: 1; transform: none; }

/* =========================================================
   ANIMAÇÕES
   ========================================================= */
@keyframes packet { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes flowUp { to { stroke-dashoffset: 22; } }
@keyframes wave { from { transform: translateX(0); } to { transform: translateX(-88px); } }
@keyframes blink { 50% { opacity: .2; } }
@keyframes flash { 50% { opacity: .15; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes scrolly { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(227, 6, 19, 0); } }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes print { from { clip-path: inset(0 0 100% 0); transform: translateY(-20px); } to { clip-path: inset(0 0 0 0); transform: none; } }
@keyframes lineIn { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 1100px) {
  .nav { gap: 20px; }
  .nav a:not(.btn) { font-size: 15px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy { max-width: 760px; }
  .hero__art { margin-right: 0; }
  .integ, .about, .contact { grid-template-columns: 1fr; }
  .orbit { max-width: 600px; }
  .console__panel { grid-template-columns: 1fr; }
  .method { grid-template-columns: repeat(3, 1fr); row-gap: 40px; padding-top: 30px; }
  .method::before, .method::after { display: none; }
  .method li::before { top: -26px; }
  .receipt-wrap { position: relative; top: 0; }
}

@media (max-width: 920px) {
  :root { --hdr-h: 66px; }
  .burger { display: block; z-index: 2; }
  .hdr__logo { width: 140px; z-index: 2; }
  .nav {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px;
    padding: 90px var(--gut) 40px; background: var(--navy-950);
    background-image: linear-gradient(var(--bp-line) 1px, transparent 1px), linear-gradient(90deg, var(--bp-line) 1px, transparent 1px); background-size: 32px 32px;
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav a:not(.btn) { font-size: clamp(28px, 7vw, 40px); font-weight: 900; color: #fff; letter-spacing: -.02em; }
  .nav__cta { margin-top: 20px; }

  .day__grid { grid-template-columns: 1fr; row-gap: 28px; }
  .dial { width: min(100%, 340px); }
  .seg-clock svg { height: 44px; }
  .step h3 { font-size: 2rem; margin-bottom: 12px; }
  .day__segs { gap: 10px; }
  .day__play { width: 36px; height: 36px; }
  .day__track { gap: 5px; }
  .day__lbl { font-size: 10.5px; letter-spacing: 0; }
  .sec__head--row { grid-template-columns: 1fr; gap: 0; }
  .difs li { grid-template-columns: 1fr; gap: 8px; }
  .srv { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dif-head { grid-template-columns: 1fr; }
  .dif-head .lead { margin-bottom: 8px; }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
  .ftr__brand { grid-column: 1 / -1; }
  .gauge { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 17px; }
  .hero { min-height: 0; }
  .hero__scroll { display: none; }
  .hero__ctas .btn { width: 100%; }
  .legend button { font-size: 11.5px; }
  .console__tabs { grid-template-columns: 1fr 1fr; }
  .console__tabs button { font-size: 15px; padding: 10px 12px; }
  .mock__body--side { grid-template-columns: 1fr; }
  .mock__side { display: flex; overflow-x: auto; gap: 4px; }
  .mock__main { padding: 0 14px 14px; }
  .kpis, .kpis--4 { grid-template-columns: 1fr 1fr; }
  .pista { grid-template-columns: 1fr 1fr; }
  .conns li { grid-template-columns: 1fr auto; }
  .conns em { display: none; }
  .method { grid-template-columns: 1fr; row-gap: 0; padding-top: 0; margin-left: 6px; border-left: 2px solid rgba(0, 12, 78, .15); }
  .method li { padding: 0 0 30px 26px; }
  .method li:last-child { padding-bottom: 0; }
  .method li::before { top: 2px; left: -9px; }
  .method h3 { margin-top: 4px; }
  .srv { grid-template-columns: 1fr; gap: 10px; }
  .srv li { padding: 16px; border-radius: 14px; }
  .srv__ic { width: 42px; height: 42px; border-radius: 11px; }
  .srv h3 { font-size: 17px; }
  .fields { grid-template-columns: 1fr; }
  .xray__actions .btn { width: 100%; }
  .seg-out svg { height: 32px; }
  .drow { padding: 12px; }
  .drow dt { font-size: 11px; }
  .orbit.is-list { aspect-ratio: auto; }
  .orbit.is-list canvas { display: none; }
  .orbit.is-list .orbit__hub { position: relative; left: auto; top: auto; transform: none; width: 150px; margin: 0 auto 20px; }
  .orbit.is-list .orbit__nodes { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
  .orbit.is-list .onode { position: relative; transform: none !important; }
  .wa-float span { display: none; }
  .wa-float { padding: 0; width: 56px; justify-content: center; }
  .ftr__grid { grid-template-columns: 1fr; }
}

/* =========================================================
   COOKIES (LGPD) — aviso + preferências
   ========================================================= */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.ck {
  position: fixed; left: 16px; bottom: 16px; z-index: 70; width: min(430px, calc(100% - 32px));
  padding: 22px 22px 16px; border-radius: 22px; color: #fff;
  background-color: var(--navy);
  background-image: linear-gradient(var(--bp-line-2) 1px, transparent 1px), linear-gradient(90deg, var(--bp-line-2) 1px, transparent 1px);
  background-size: 26px 26px;
  box-shadow: 0 30px 70px -20px rgba(0, 4, 30, .75), inset 0 0 0 1px rgba(255, 255, 255, .1);
  transform: translateY(calc(100% + 40px)); opacity: 0; visibility: hidden;
  transition: transform .7s var(--ease), opacity .5s, visibility 0s linear .7s;
}
.ck.is-on { transform: none; opacity: 1; visibility: visible; transition: transform .7s var(--ease), opacity .5s, visibility 0s; }
.ck::before { /* faixa vermelha no topo, como a das bombas */
  content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 4px; border-radius: 0 0 4px 4px; background: var(--red);
}
.ck__top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.ck-ill { width: 52px; height: 52px; flex: none; display: grid; place-items: center; border-radius: 14px; background: #01031A; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.ck-ill svg { width: 40px; height: 40px; overflow: visible; }
.ck-ill--sm { width: 46px; height: 46px; }
.ck-ill--sm svg { width: 34px; height: 34px; }
.ck-ill__dash { fill: none; stroke: rgba(140, 160, 255, .35); stroke-width: 1; stroke-dasharray: 2 3; }
.ck-ill__body { fill: rgba(219, 144, 0, .12); stroke: #fff; stroke-width: 1.8; stroke-linejoin: round; }
.ck-ill__chip { fill: var(--red-hot); }
.ck-ill__crumb { fill: #fff; opacity: .7; }
.ck.is-on .ck-ill svg { animation: ckBite .9s var(--ease) .5s both; }
.ck__led {
  font-family: var(--ff-led); font-weight: 900; font-size: 26px; letter-spacing: .08em; line-height: 1;
  color: var(--red-hot); text-shadow: 0 0 8px var(--red-glow), 0 0 20px rgba(255, 42, 31, .3);
}
.ck.is-on .ck__led { animation: ckLed 1.1s steps(1) .3s both; }
.ck__tag { margin-left: auto; font-family: var(--ff-mono); font-size: 11px; font-weight: 700; letter-spacing: .14em; padding: 5px 9px; border-radius: 99px; color: var(--on-dark-2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.ck__t { font-size: 21px; font-weight: 800; letter-spacing: -.015em; margin-bottom: 8px; }
.ck__p { font-size: 15px; line-height: 1.5; color: var(--on-dark-2); margin-bottom: 16px; }
.ck__p strong { color: #fff; }
.ck__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ck__btns .btn { width: 100%; }
.ck__no { color: #fff; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.ck__no:hover { background: rgba(255, 255, 255, .18); box-shadow: inset 0 0 0 1.5px #fff; }
.ck__links { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; }
.ck__link { font-size: 14px; font-weight: 600; color: var(--on-dark-2); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .3); text-underline-offset: 4px; padding: 4px 0; }
.ck__link:hover { color: #fff; text-decoration-color: var(--red-hot); }
/* com o aviso aberto, o medidor (mesmo canto) sai do caminho */
.ck-open .gauge { opacity: 0 !important; }

/* ---------- painel de preferências ---------- */
.ckd {
  width: min(580px, calc(100% - 28px)); max-height: calc(100% - 28px); padding: 0; border: 0; border-radius: 24px; overflow: auto;
  background: #fff; color: var(--ink); box-shadow: 0 40px 100px -30px rgba(0, 4, 30, .8);
}
.ckd::backdrop { background: rgba(0, 6, 43, .62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.ckd[open] { animation: ckdIn .45s var(--ease); }
.ckd__head {
  display: flex; align-items: center; gap: 14px; padding: 22px 22px 20px; color: #fff; position: sticky; top: 0; z-index: 1;
  background-color: var(--navy);
  background-image: linear-gradient(var(--bp-line-2) 1px, transparent 1px), linear-gradient(90deg, var(--bp-line-2) 1px, transparent 1px);
  background-size: 26px 26px; border-bottom: 4px solid var(--red);
}
.ckd__k { margin: 0 0 4px; font-family: var(--ff-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-2); }
.ckd__t { font-size: 22px; font-weight: 800; letter-spacing: -.015em; }
.ckd__x { margin-left: auto; align-self: flex-start; width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, .08); transition: background .2s; }
.ckd__x:hover { background: rgba(255, 255, 255, .18); }
.ckd__x svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.ckd__list { padding: 8px 22px; }
.ckd__list li { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid #ECEEF5; }
.ckd__list h3 { font-size: 17px; font-weight: 800; margin-bottom: 4px; }
.ckd__list p { margin: 0; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.ckd__fixed { font-family: var(--ff-mono); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #2E6A99; background: rgba(114, 160, 198, .18); padding: 6px 10px; border-radius: 99px; white-space: nowrap; }
.ckd__note { margin: 6px 22px 0; font-size: 13.5px; color: var(--ink-3); }
.ckd__note a { color: var(--navy); font-weight: 600; }
.ckd__foot { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; padding: 18px 22px 22px; }
.ckd__ghost { color: var(--navy); box-shadow: inset 0 0 0 1.5px rgba(0, 12, 78, .25); }
.ckd__ghost:hover { box-shadow: inset 0 0 0 1.5px var(--navy); background: #F4F5FA; }

/* chave liga/desliga */
.sw { position: relative; display: inline-flex; cursor: pointer; }
.sw input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.sw__track { width: 52px; height: 30px; border-radius: 99px; background: #D9DDEB; position: relative; transition: background .25s, box-shadow .25s; }
.sw__knob { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 12, 78, .3); transition: transform .3s var(--ease); }
.sw input:checked + .sw__track { background: var(--red); box-shadow: 0 0 0 4px rgba(227, 6, 19, .14); }
.sw input:checked + .sw__track .sw__knob { transform: translateX(22px); }
.sw input:focus-visible + .sw__track { outline: 2px solid var(--red-hot); outline-offset: 3px; }

@keyframes ckLed { 0%, 20%, 40% { opacity: .15; } 10%, 30%, 50%, 100% { opacity: 1; } }
@keyframes ckBite { from { transform: rotate(-30deg) scale(.7); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes ckdIn { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }

@media (max-width: 640px) {
  .ck { left: 0; right: 0; bottom: 0; width: 100%; border-radius: 22px 22px 0 0; padding: 20px 16px calc(14px + env(safe-area-inset-bottom)); }
  .ck__t { font-size: 19px; }
  .ck-open .wa-float, .ck-open .to-top { opacity: 0 !important; pointer-events: none !important; }
  .ckd__list li { grid-template-columns: 1fr; gap: 10px; }
  .ckd__list .sw, .ckd__fixed { justify-self: start; }
  .ckd__foot .btn { flex: 1 1 100%; }
}

/* =========================================================
   LGPD no formulário + links legais do rodapé
   ========================================================= */
.xray__lgpd { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0 0; font-size: 14px; line-height: 1.5; color: var(--on-dark-3); max-width: 60ch; }
.xray__lgpd svg { width: 18px; height: 18px; flex: none; margin-top: 2px; fill: none; stroke: var(--on-dark-2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.xray__lgpd a { color: #fff; font-weight: 600; text-underline-offset: 3px; }
.ftr__links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.ftr__links a, .ftr__links button { font-size: 13.5px; color: var(--on-dark-2); text-decoration: none; padding: 0; transition: color .2s; }
.ftr__links a:hover, .ftr__links button:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--red-hot); text-underline-offset: 4px; }

/* =========================================================
   POLÍTICA DE PRIVACIDADE (privacidade.html)
   ========================================================= */
.page-legal { background: var(--paper); }
.hdr--simple .hdr__in { justify-content: space-between; }
.pp-hero { padding: calc(var(--hdr-h) + clamp(40px, 6vw, 80px)) 0 clamp(48px, 6vw, 80px); position: relative; overflow: hidden; }
.pp-hero::after { content: ""; position: absolute; width: 700px; height: 700px; right: -220px; bottom: -380px; background: radial-gradient(closest-side, rgba(227, 6, 19, .2), transparent 70%); pointer-events: none; }
.pp-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.pp-hero__t { font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 900; letter-spacing: -.035em; line-height: .98; margin-bottom: 22px; }
.pp-hero__sub { font-size: clamp(1.08rem, 1.5vw, 1.3rem); color: var(--on-dark-2); max-width: 46ch; }
.pp-hero__meta { margin: 0; font-family: var(--ff-mono); font-size: 13px; letter-spacing: .06em; color: var(--on-dark-3); }
.receipt--static { animation: none; justify-self: center; transform: rotate(2deg); margin: 0; }
.receipt--static .r-items li { animation: none; }

.pp-main { background: var(--paper); color: var(--ink); }
.pp { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); padding-block: clamp(48px, 6vw, 80px) clamp(64px, 8vw, 112px); }
.pp__toc { position: sticky; top: calc(var(--hdr-h) + 24px); align-self: start; }
.pp__toc-t { font-family: var(--ff-mono); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; }
.pp__toc ol { counter-reset: toc; border-left: 2px solid rgba(0, 12, 78, .12); }
.pp__toc li { counter-increment: toc; }
.pp__toc a { display: flex; gap: 10px; padding: 6px 0 6px 16px; margin-left: -2px; border-left: 2px solid transparent; font-size: 15px; color: var(--ink-2); text-decoration: none; transition: color .2s, border-color .2s; }
.pp__toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--ff-mono); font-size: 11.5px; padding-top: 3px; color: var(--ink-3); }
.pp__toc a:hover { color: var(--navy); }
.pp__toc a.is-on { color: var(--navy); font-weight: 700; border-left-color: var(--red); }
.pp__toc a.is-on::before { color: var(--red); }

.pp__doc { max-width: 780px; }
.pp__doc section { scroll-margin-top: calc(var(--hdr-h) + 24px); padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid rgba(0, 12, 78, .1); }
.pp__doc section:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.pp__doc h2 { display: flex; align-items: baseline; gap: 14px; font-size: clamp(1.55rem, 2.6vw, 2.1rem); font-weight: 900; letter-spacing: -.02em; margin-bottom: 18px; }
.pp__doc h2 span { font-family: var(--ff-mono); font-size: 14px; font-weight: 700; color: var(--red); letter-spacing: .06em; }
.pp__doc p, .pp__doc li { font-size: 17px; line-height: 1.65; color: var(--ink-2); }
.pp__doc strong { color: var(--ink); }
.pp__doc a:not(.btn) { color: var(--navy); font-weight: 600; text-decoration-color: var(--red); text-underline-offset: 3px; }
.pp__doc code { font-family: var(--ff-mono); font-size: .86em; padding: 2px 6px; border-radius: 6px; background: #E8EBF5; color: var(--navy); }
.dots { display: grid; gap: 12px; margin-bottom: 1em; }
.dots li { position: relative; padding-left: 24px; }
.dots li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; background: var(--red); }

.pp-dl { display: grid; margin: 22px 0 0; background: #fff; border-radius: 16px; box-shadow: inset 0 0 0 1px rgba(0, 12, 78, .08); overflow: hidden; }
.pp-dl div { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 13px 18px; border-top: 1px solid #EEF0F7; }
.pp-dl div:first-child { border-top: 0; }
.pp-dl dt { font-family: var(--ff-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); padding-top: 3px; }
.pp-dl dd { margin: 0; font-weight: 600; }

.pp-table-wrap { margin: 18px 0 20px; background: #fff; border-radius: 16px; box-shadow: inset 0 0 0 1px rgba(0, 12, 78, .08); overflow: hidden; }
.pp-table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.5; }
.pp-table th { text-align: left; font-family: var(--ff-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); background: #F0F2F9; padding: 12px 16px; }
.pp-table td { padding: 14px 16px; border-top: 1px solid #EEF0F7; vertical-align: top; color: var(--ink-2); }
.pp-table td:first-child { color: var(--ink); font-weight: 600; }

.rights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 18px 0 20px; }
.rights li { background: #fff; border-radius: 14px; padding: 16px; box-shadow: inset 0 0 0 1px rgba(0, 12, 78, .08); border-top: 3px solid var(--navy); }
.rights h3 { font-size: 16px; font-weight: 800; margin-bottom: 4px; color: var(--ink); }
.rights p { margin: 0; font-size: 14.5px; line-height: 1.45; }

.pp-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; padding: 24px; border-radius: 18px; color: #fff; background: var(--navy); box-shadow: 0 30px 60px -36px rgba(0, 12, 78, .8); margin-top: 18px; }
.pp-contact span { display: block; font-family: var(--ff-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-3); margin-bottom: 6px; }
.pp-contact strong { color: #fff; font-size: 17px; }
.pp-contact p { grid-column: 1 / -1; margin: 0; padding-top: 16px; border-top: 1px dashed rgba(255, 255, 255, .2); color: var(--on-dark-2) !important; font-size: 15px !important; }

/* campos que o cliente ainda precisa preencher (bem visíveis de propósito) */
mark.fill { font-family: var(--ff-mono); font-size: .86em; font-weight: 500; color: #7A4F00; background: rgba(219, 144, 0, .16); outline: 1.5px dashed var(--amber); outline-offset: 1px; border-radius: 4px; padding: 1px 6px; }
.pp-contact mark.fill { color: #FFD48A; background: rgba(219, 144, 0, .2); }

@media (max-width: 1100px) {
  .pp { grid-template-columns: 1fr; }
  .pp__toc { position: static; }
  .pp__toc ol { columns: 2; column-gap: 24px; }
  .pp-hero__grid { grid-template-columns: 1fr; }
  .receipt--static { justify-self: start; }
}
@media (max-width: 640px) {
  .hdr--simple .btn { --bh: 38px; padding: 0 14px; font-size: 14px; }
  .pp__toc ol { columns: 1; }
  .pp-dl div { grid-template-columns: 1fr; gap: 2px; }
  .rights { grid-template-columns: 1fr 1fr; }
  .pp-contact { grid-template-columns: 1fr; }
  /* tabelas viram cartões */
  .pp-table thead { display: none; }
  .pp-table tr { display: block; padding: 6px 0; border-top: 1px solid #EEF0F7; }
  .pp-table tr:first-child { border-top: 0; }
  .pp-table td { display: block; border: 0; padding: 6px 16px; }
  .pp-table td::before { content: attr(data-label); display: block; font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; }
}

/* =========================================================
   RODAPÉ — assinatura: logo gigante em traço + linha de dados
   que conecta na frase, pinta o logo e vai embora (loop)
   ========================================================= */
@property --mx { syntax: '<length-percentage>'; inherits: true; initial-value: 50%; }
@property --my { syntax: '<length-percentage>'; inherits: true; initial-value: 50%; }
@property --mr { syntax: '<length>'; inherits: true; initial-value: 0px; }
.ftr { position: relative; overflow: hidden; }
.ftr__mark { position: relative; margin: clamp(60px, 7vw, 96px) 0 clamp(30px, 4vw, 56px); --fa: -30; --fb: -30; }
.ftr__mark svg { display: block; width: 100%; height: auto; overflow: visible; }
.mark__guides circle {
  fill: none; stroke: rgba(140, 160, 255, .26); stroke-width: .6;
  stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease) .3s;
}
.mark__logo {
  --lga: transparent; --lgb: transparent;
  --lsa: rgba(205, 214, 255, .55); --lsb: rgba(255, 70, 60, .8);
  stroke-width: .9; stroke-linejoin: round;
  stroke-dasharray: 3000; stroke-dashoffset: 3000;
  transition: stroke-dashoffset 3.4s cubic-bezier(.45, .05, .25, 1) .4s;
}
.ftr__mark.is-drawn .mark__guides circle { stroke-dashoffset: 0; }
.ftr__mark.is-drawn .mark__logo { stroke-dashoffset: 0; }

/* linha de dados */
.flow { opacity: 0; transition: opacity 1s ease 1.2s; }
.ftr__mark.is-drawn .flow { opacity: 1; }
.flow__rail { stroke: rgba(140, 160, 255, .22); stroke-width: 1px; stroke-dasharray: 2 5; }
.flow__beam { stroke-width: 2.5px; stroke-linecap: round; filter: drop-shadow(0 0 3px rgba(255, 42, 31, .7)); }
.flow__head { fill: #fff; opacity: 0; filter: drop-shadow(0 0 4px #fff) drop-shadow(0 0 7px rgba(255, 42, 31, .95)); }
.flow__head.is-on { opacity: 1; }
.flow__plug { fill: var(--navy-950); stroke: rgba(205, 214, 255, .45); stroke-width: .8; transition: fill .3s, stroke .3s, filter .3s; }
.flow__plug.is-on { fill: var(--red-hot); stroke: #fff; filter: drop-shadow(0 0 4px rgba(255, 42, 31, .9)); }
.flow__txt {
  font-family: var(--ff-mono); font-size: 8.5px; font-weight: 500; letter-spacing: .14em;
  fill: rgba(205, 214, 255, .45); transition: fill .35s;
}
.flow__txt.is-on { fill: #fff; filter: drop-shadow(0 0 4px rgba(255, 42, 31, .75)); }

/* camadas coloridas do logo: a da linha (faixa entre a cauda e a ponta da luz) e a lanterna do mouse */
.mark__fill { position: absolute; inset: 0; pointer-events: none; --lga: #fff; --lgb: var(--red); filter: drop-shadow(0 0 18px rgba(255, 42, 31, .25)); }
.mark__fill--flow {
  filter: none; /* o brilho seria cortado na borda do desenho pela máscara */
  -webkit-mask-image: linear-gradient(90deg, transparent calc(var(--fa) * 1%), #000 calc((var(--fa) + 14) * 1%), #000 calc((var(--fb) - 7) * 1%), transparent calc(var(--fb) * 1%));
          mask-image: linear-gradient(90deg, transparent calc(var(--fa) * 1%), #000 calc((var(--fa) + 14) * 1%), #000 calc((var(--fb) - 7) * 1%), transparent calc(var(--fb) * 1%));
}
.mark__fill--lamp {
  -webkit-mask-image: radial-gradient(circle var(--mr) at var(--mx) var(--my), #000 0%, rgba(0, 0, 0, .55) 42%, transparent 74%);
          mask-image: radial-gradient(circle var(--mr) at var(--mx) var(--my), #000 0%, rgba(0, 0, 0, .55) 42%, transparent 74%);
  transition: --mr .45s var(--ease);
}
.ftr__mark.is-lit .mark__fill--lamp { --mr: clamp(110px, 15vw, 230px); }
@media (max-width: 640px) {
  .flow__txt, .flow__plug { display: none; }
  .ftr__mark { margin: 48px 0 24px; }
}

/* =========================================================
   LOJA DO CERTIFICADO DIGITAL (AR Tecnosign) dentro do site
   ========================================================= */
.certd-open { overflow: hidden; }
.certd {
  width: min(1100px, calc(100% - 32px)); height: min(860px, calc(100% - 32px)); max-width: none; max-height: none;
  padding: 0; border: 0; border-radius: 22px; overflow: hidden; background: #fff; color: var(--ink);
  box-shadow: 0 40px 100px -30px rgba(0, 4, 30, .85);
}
.certd[open] { display: flex; flex-direction: column; animation: ckdIn .45s var(--ease); }
.certd::backdrop { background: rgba(0, 6, 43, .7); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.certd__bar {
  flex: none; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px 14px 18px; color: #fff;
  background-color: var(--navy);
  background-image: linear-gradient(var(--bp-line-2) 1px, transparent 1px), linear-gradient(90deg, var(--bp-line-2) 1px, transparent 1px);
  background-size: 26px 26px; border-bottom: 4px solid var(--red);
}
.certd__id { display: flex; align-items: center; gap: 12px; min-width: 0; }
.certd__ic { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--red); }
.certd__ic svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.certd__k { margin: 0 0 2px; font-family: var(--ff-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-2); }
.certd__t { font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.certd__acts { display: flex; align-items: center; gap: 8px; flex: none; }
.certd__nav { display: flex; gap: 4px; padding: 3px; border-radius: 12px; background: rgba(0, 0, 0, .22); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); margin-right: 4px; }
.certd__nb { width: 36px; height: 34px; border-radius: 9px; display: grid; place-items: center; color: #fff; transition: background .2s, opacity .2s; }
.certd__nb:hover:not(:disabled) { background: rgba(255, 255, 255, .16); }
.certd__nb:disabled { opacity: .35; cursor: default; }
.certd__nb svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.certd__out { font-size: 14px; font-weight: 600; color: var(--on-dark-2); text-decoration: none; padding: 8px 12px; border-radius: 10px; transition: background .2s, color .2s; white-space: nowrap; }
.certd__out:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.certd__x { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, .1); transition: background .2s; }
.certd__x:hover { background: rgba(255, 255, 255, .2); }
.certd__x svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.certd__body { position: relative; flex: 1; min-height: 0; background: #F4F5FA; }
.certd__body iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #fff; }
.certd__load { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; font-size: 15px; color: var(--ink-2); }
.certd__load[hidden] { display: none; }
.certd__load span { width: 34px; height: 34px; border-radius: 50%; border: 3px solid rgba(0, 12, 78, .15); border-top-color: var(--red); animation: certSpin .8s linear infinite; }
@keyframes certSpin { to { transform: rotate(360deg); } }
@media (max-width: 640px) {
  .certd { width: 100%; height: 100%; border-radius: 0; }
  .certd__k, .certd__out { display: none; }
  .certd__ic { display: none; }
  .certd__nb { width: 32px; }
  .certd__t { font-size: 16px; }
}

/* =========================================================
   TRABALHE CONOSCO (/trabalhe-conosco/)
   ========================================================= */
.page-tc { background: var(--paper); }
.tc-hero { padding: calc(var(--hdr-h) + clamp(44px, 7vw, 96px)) 0 clamp(56px, 7vw, 96px); position: relative; overflow: hidden; }
.tc-hero::after { content: ""; position: absolute; width: 760px; height: 760px; right: -240px; bottom: -420px; background: radial-gradient(closest-side, rgba(227, 6, 19, .22), transparent 70%); pointer-events: none; }
.tc-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.tc-hero__t { font-size: clamp(2.4rem, 5vw, 4.4rem); font-weight: 900; letter-spacing: -.035em; line-height: 1; margin-bottom: 22px; text-wrap: balance; }
.tc-hero__sub { font-size: clamp(1.05rem, 1.45vw, 1.25rem); color: var(--on-dark-2); max-width: 50ch; margin-bottom: 30px; }
.tc-pillars { display: grid; gap: 12px; }
.tc-pillars li { position: relative; padding: 20px 22px 20px 70px; border-radius: 18px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.tc-pillars__n { position: absolute; left: 20px; top: 20px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-family: var(--ff-mono); font-size: 12px; font-weight: 700; color: #fff; background: var(--red); box-shadow: 0 0 0 4px rgba(227, 6, 19, .2); }
.tc-pillars h2 { font-size: 18px; font-weight: 800; margin-bottom: 4px; color: #fff; }
.tc-pillars p { margin: 0; font-size: 15px; color: var(--on-dark-2); }

.tc-form-sec { padding: clamp(64px, 8vw, 112px) 0; }
.tc-form-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.tc-side { position: sticky; top: calc(var(--hdr-h) + 24px); }
.tc-steps { counter-reset: st; display: grid; gap: 14px; margin-top: 28px; }
.tc-steps li { counter-increment: st; position: relative; padding-left: 44px; color: var(--ink-2); font-size: 16px; }
.tc-steps li::before { content: counter(st, decimal-leading-zero); position: absolute; left: 0; top: -1px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-family: var(--ff-mono); font-size: 11px; font-weight: 700; color: var(--red); box-shadow: inset 0 0 0 1.5px var(--red); }
.tc-steps b { color: var(--ink); }

.tc-card {
  background-color: var(--navy); color: #fff; border-radius: 26px; padding: clamp(22px, 3vw, 36px);
  background-image: linear-gradient(var(--bp-line) 1px, transparent 1px), linear-gradient(90deg, var(--bp-line) 1px, transparent 1px);
  background-size: 28px 28px; box-shadow: 0 50px 100px -50px rgba(0, 12, 78, .8);
}
.tc-form .fields { margin-bottom: 12px; }
.field--full { display: block; margin-bottom: 18px; }
.field select, .field textarea {
  width: 100%; min-height: 52px; padding: 0 16px; border-radius: 12px; border: 0; font: inherit; font-size: 16px; color: #fff;
  background: rgba(0, 4, 30, .55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); transition: box-shadow .2s;
}
.field textarea { padding: 14px 16px; resize: vertical; min-height: 110px; line-height: 1.5; }
.field textarea::placeholder { color: var(--on-dark-3); }
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.field select option { color: var(--ink); }
.field select:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--red-hot); }

.tc-drop {
  position: relative; display: grid; justify-items: center; gap: 6px; text-align: center; cursor: pointer;
  padding: 26px 18px; border-radius: 16px; margin-bottom: 18px;
  background: rgba(0, 4, 30, .35); outline: 1.5px dashed rgba(205, 214, 255, .4); outline-offset: -1.5px;
  transition: background .2s, outline-color .2s;
}
.tc-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.tc-drop svg { width: 34px; height: 34px; fill: none; stroke: var(--red-hot); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tc-drop__t { font-size: 15.5px; color: var(--on-dark-2); }
.tc-drop__t b { color: #fff; }
.tc-drop__s { font-family: var(--ff-mono); font-size: 11.5px; letter-spacing: .06em; color: var(--on-dark-3); }
.tc-drop:hover, .tc-drop.is-over { background: rgba(227, 6, 19, .1); outline-color: var(--red-hot); }
.tc-drop.has-file { outline-style: solid; outline-color: rgba(114, 160, 198, .7); background: rgba(114, 160, 198, .1); }
.tc-drop:focus-within { outline-color: var(--red-hot); }

.tc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.tc-check { position: relative; display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 14.5px; line-height: 1.5; color: var(--on-dark-2); margin-bottom: 20px; }
.tc-check input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; }
.tc-check__box { flex: none; width: 22px; height: 22px; border-radius: 6px; margin-top: 1px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); display: grid; place-items: center; transition: background .2s, box-shadow .2s; }
.tc-check input:checked + .tc-check__box { background: var(--red); box-shadow: none; }
.tc-check input:checked + .tc-check__box::after { content: ""; width: 10px; height: 5px; border: solid #fff; border-width: 0 0 2.2px 2.2px; transform: translateY(-1px) rotate(-45deg); }
.tc-check input:focus-visible + .tc-check__box { outline: 2px solid var(--red-hot); outline-offset: 3px; }
.tc-check a { color: #fff; font-weight: 600; text-underline-offset: 3px; }
.tc-err { margin: 0 0 16px; padding: 10px 14px; border-radius: 10px; font-size: 14.5px; color: #fff; background: rgba(227, 6, 19, .2); box-shadow: inset 0 0 0 1px rgba(255, 42, 31, .6); }
.tc-send { width: 100%; }
.tc-send.is-loading { opacity: .75; pointer-events: none; }

.tc-ok[hidden], .tc-form[hidden] { display: none !important; }
.tc-ok { text-align: center; padding: clamp(20px, 4vw, 48px) 10px; display: grid; justify-items: center; gap: 12px; outline: none; }
.tc-ok svg { width: 74px; height: 74px; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.tc-ok circle { stroke: var(--red); stroke-width: 3; stroke-dasharray: 190; stroke-dashoffset: 190; animation: tcDraw .7s var(--ease) forwards; }
.tc-ok path { stroke: #fff; stroke-width: 4; stroke-dasharray: 50; stroke-dashoffset: 50; animation: tcDraw .5s var(--ease) .55s forwards; }
.tc-ok h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 900; letter-spacing: -.02em; }
.tc-ok p { margin: 0 0 8px; color: var(--on-dark-2); max-width: 44ch; }
@keyframes tcDraw { to { stroke-dashoffset: 0; } }

@media (max-width: 920px) {
  .tc-hero__grid, .tc-form-grid { grid-template-columns: 1fr; }
  .tc-side { position: static; }
}

/* rodapé: endereço e Instagram */
.ftr__ic--ig { fill: none; stroke: var(--on-dark-2); stroke-width: 1.8; }
.ftr__ic--pin { fill: none; stroke: var(--on-dark-2); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ftr__ct:hover .ftr__ic--ig, .ftr__ct:hover .ftr__ic--pin { stroke: #fff; }
.ftr__ct--addr { align-items: flex-start; line-height: 1.45; font-size: 15px; }
.ftr__ct--addr .ftr__ic { margin-top: 2px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
