/* ==========================================================================
   WSS Instalações e Serviços · William Santana — estilos base
   Tokens, fundos desenhados, botões, vidro, cabeçalho, hero e abertura.
   As demais seções ficam em css/sections.css.
   ========================================================================== */

:root {
  /* paleta tirada do logo 3D: azul-marinho, azul elétrico, cromado e laranja */
  --bg: #060d1f;
  --bg-2: #0a1631;
  --navy: #0e2147;
  --navy-2: #16306a;
  --blue: #1f6bff;
  --blue-2: #3d8bff;
  --cyan: #4cc9ff;
  --volt: #ff7a00;
  --amber: #ffb020;
  --spark: #ffd36b;
  --silver: #dbe3ee;
  --steel: #8fa0b8;
  --ice: #eef3fa;
  --ice-2: #dfe8f4;
  --ink: #0a1833;

  --text: #e9eef8;
  --muted: #9fb0ca;
  --line: rgba(140, 175, 235, .16);
  --line-2: rgba(140, 175, 235, .28);

  --g-volt: linear-gradient(120deg, #ff6a00 0%, #ff8a12 40%, #ffb020 100%);
  --g-blue: linear-gradient(120deg, #1452e0 0%, #1f6bff 45%, #4cc9ff 100%);
  --g-text: linear-gradient(100deg, #8cc0ff 0%, #4cc9ff 32%, #ffc04d 68%, #ff7a00 100%);
  --g-chrome: linear-gradient(180deg, #ffffff 0%, #e4eaf2 30%, #b7c3d4 49%, #8796ad 51%, #c9d3e1 75%, #f1f4f8 100%);

  --f-display: "Sora", system-ui, sans-serif;
  --f-body: "Manrope", system-ui, sans-serif;
  --f-tech: "Barlow Condensed", "Arial Narrow", sans-serif;
  --f-sign: "Great Vibes", cursive;

  --r: 22px;
  --r-sm: 14px;
  --wrap: 1200px;
  --gut: clamp(16px, 4vw, 32px);
  --hdr: 74px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 30px 70px -30px rgba(0, 0, 0, .75);
  --icon-accent: var(--amber);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; overflow-x: hidden;
  background: var(--bg); color: var(--text);
  font: 400 16.5px/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body.is-locked { overflow: hidden; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.08; letter-spacing: -.03em; margin: 0; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--volt); color: #071022; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--amber); color: #071022; padding: 10px 16px; border-radius: 10px; font-weight: 800; transition: top .2s; }
.skip:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; position: relative; z-index: 2; }
.i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- seções e fundos desenhados (nenhuma seção tem fundo liso) ---------- */
.sec { position: relative; padding: clamp(72px, 10vw, 128px) 0; overflow: hidden; isolation: isolate; }
.sec--tight { padding: clamp(56px, 7vw, 88px) 0; }
.sec > .bg, .bg-layer { position: absolute; inset: 0; z-index: -1; pointer-events: none; }

.tone-deep { background: radial-gradient(120% 80% at 50% 0%, #0b1a3c 0%, var(--bg) 60%); }
.tone-navy { background: linear-gradient(180deg, #071029 0%, #0a1736 50%, #071029 100%); }
.tone-ice {
  --text: #0b1a36; --muted: #4a5d7c; --line: rgba(14, 33, 71, .12); --line-2: rgba(14, 33, 71, .22);
  --icon-accent: var(--volt);
  color: var(--text);
  background: radial-gradient(80% 60% at 85% 0%, #ffffff 0%, transparent 60%), linear-gradient(180deg, #f4f7fc 0%, #e6edf7 100%);
}

/* grade de planta baixa */
.bg-grid {
  background-image:
    linear-gradient(rgba(76, 140, 255, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(76, 140, 255, .09) 1px, transparent 1px),
    linear-gradient(rgba(76, 140, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(76, 140, 255, .045) 1px, transparent 1px);
  background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
}
.tone-ice .bg-grid {
  background-image:
    linear-gradient(rgba(14, 33, 71, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 33, 71, .07) 1px, transparent 1px),
    linear-gradient(rgba(14, 33, 71, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 33, 71, .035) 1px, transparent 1px);
}
.bg-dots {
  background-image: radial-gradient(rgba(150, 190, 255, .22) 1.2px, transparent 1.5px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 20%, #000 70%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 20%, #000 70%, transparent);
}
.tone-ice .bg-dots { background-image: radial-gradient(rgba(14, 33, 71, .18) 1.2px, transparent 1.5px); }

/* trilhas de circuito desenhadas */
.bg-circuit {
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260' viewBox='0 0 260 260' fill='none' stroke='%233d8bff' stroke-opacity='.28' stroke-width='1.3'%3E%3Cpath d='M0 40h60l20 20h60l20-20h100M0 130h30l30-30h50M110 100v60l20 20h70l20 20v60M260 90h-40l-20 20v30M40 260v-50l30-30h20M180 0v30l-20 20M0 220h20l20-20'/%3E%3Cg fill='%233d8bff' fill-opacity='.45' stroke='none'%3E%3Ccircle cx='60' cy='40' r='3'/%3E%3Ccircle cx='140' cy='60' r='3'/%3E%3Ccircle cx='110' cy='100' r='3'/%3E%3Ccircle cx='200' cy='180' r='3'/%3E%3Ccircle cx='220' cy='90' r='3'/%3E%3Ccircle cx='90' cy='180' r='3'/%3E%3Ccircle cx='160' cy='50' r='3'/%3E%3C/g%3E%3Cg stroke='%23ffb020' stroke-opacity='.4'%3E%3Ccircle cx='30' cy='130' r='4'/%3E%3Ccircle cx='200' cy='140' r='4'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 260px 260px;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 50%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 75% 70% at 50% 50%, #000 20%, transparent 75%);
}
.tone-ice .bg-circuit { opacity: .55; filter: hue-rotate(10deg) saturate(.8); }

/* listras de sinalização (fita de obra) */
.bg-hazard {
  background: repeating-linear-gradient(-45deg, rgba(255, 176, 32, .07) 0 14px, transparent 14px 28px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent);
}

/* textura de ruído */
.grain {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* manchas de luz flutuantes */
.glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); opacity: .55; pointer-events: none; animation: float 16s ease-in-out infinite alternate; }
.glow--blue { background: radial-gradient(circle, rgba(31, 107, 255, .9), transparent 70%); }
.glow--cyan { background: radial-gradient(circle, rgba(76, 201, 255, .7), transparent 70%); }
.glow--volt { background: radial-gradient(circle, rgba(255, 122, 0, .75), transparent 70%); }
.tone-ice .glow { opacity: .28; }
@keyframes float { to { transform: translate3d(30px, -26px, 0) scale(1.08); } }

/* linha de corrente correndo na borda de cima da seção */
.wire-top { position: absolute; left: 0; right: 0; top: 0; height: 2px; z-index: 1; overflow: hidden; background: linear-gradient(90deg, transparent, var(--line-2), transparent); }
.wire-top::after { content: ""; position: absolute; top: -1px; left: -30%; width: 30%; height: 4px; border-radius: 4px; background: linear-gradient(90deg, transparent, var(--cyan), #fff, var(--amber), transparent); filter: drop-shadow(0 0 6px var(--cyan)); animation: current 5.5s linear infinite; }
@keyframes current { to { left: 130%; } }

/* ---------- títulos de seção ---------- */
.sh { max-width: 780px; margin-bottom: clamp(36px, 5vw, 58px); position: relative; }
.sh--c { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px;
  font: 600 14px/1 var(--f-tech); letter-spacing: .26em; text-transform: uppercase; color: var(--amber);
}
.tone-ice .eyebrow { color: #d96400; }
.eyebrow .i { width: 18px; height: 18px; stroke-width: 2; --icon-accent: currentColor; }
.eyebrow::after { content: ""; width: 44px; height: 1px; background: linear-gradient(90deg, currentColor, transparent); }
.sh--c .eyebrow::before { content: ""; width: 44px; height: 1px; background: linear-gradient(-90deg, currentColor, transparent); order: -1; }
.h2 { font-size: clamp(32px, 4.6vw, 54px); font-weight: 800; letter-spacing: -.04em; }
.h3 { font-size: clamp(21px, 2.2vw, 26px); font-weight: 700; }
.lead { margin-top: 18px; font-size: clamp(16.5px, 1.6vw, 19px); color: var(--muted); max-width: 680px; }
.sh--c .lead { margin-inline: auto; }
.grad { background: var(--g-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tone-ice .grad { background: linear-gradient(100deg, #1452e0 0%, #1f6bff 40%, #ff7a00 100%); -webkit-background-clip: text; background-clip: text; }
.chrome-text { background: var(--g-chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mark-u { position: relative; white-space: nowrap; }
.mark-u::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .14em; border-radius: 4px; background: var(--g-volt); opacity: .9; transform-origin: left; transform: scaleX(var(--u, 1)); transition: transform 1s var(--ease) .3s; z-index: -1; }

/* ---------- botões ---------- */
.btn {
  --bx: 0; position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px; border-radius: 14px;
  font: 800 15.5px/1 var(--f-body); letter-spacing: .01em; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-position .6s var(--ease), filter .3s;
}
.btn .i { width: 20px; height: 20px; stroke-width: 2; }
.btn::after { /* faixa de brilho que passa */
  content: ""; position: absolute; z-index: 1; top: -20%; bottom: -20%; left: -60%; width: 38%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .75), transparent);
  transform: skewX(-22deg); transition: left .7s var(--ease); pointer-events: none;
}
.btn:hover::after, .btn:focus-visible::after { left: 130%; }
.btn > * { position: relative; z-index: 2; }
.btn:active { transform: scale(.97); }
.btn--lg { min-height: 62px; padding: 0 32px; font-size: 16.5px; border-radius: 16px; }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 14px; border-radius: 12px; }

/* laranja energizado, com brilho automático */
.btn--volt {
  color: #1a0d00; background: var(--g-volt); background-size: 160% 100%;
  box-shadow: 0 14px 34px -12px rgba(255, 122, 0, .75), inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -2px 0 rgba(120, 40, 0, .25);
}
.btn--volt::after { animation: shine 3.8s ease-in-out infinite; }
.btn--volt:hover { background-position: 100% 0; box-shadow: 0 18px 44px -12px rgba(255, 140, 0, .9), 0 0 0 4px rgba(255, 176, 32, .18), inset 0 1px 0 rgba(255, 255, 255, .5); }
@keyframes shine { 0%, 62% { left: -60%; } 82%, 100% { left: 130%; } }

/* cromado espelhado */
.btn--chrome {
  color: #0b1a36; background: var(--g-chrome); background-size: 100% 220%; background-position: 0 0;
  box-shadow: 0 12px 30px -14px rgba(0, 0, 0, .7), inset 0 1px 0 #fff, inset 0 -1px 0 rgba(60, 80, 110, .5), 0 0 0 1px rgba(255, 255, 255, .25);
}
.btn--chrome::before { /* reflexo de espelho na metade de cima */
  content: ""; position: absolute; inset: 1px 1px 50% 1px; border-radius: 13px 13px 40% 40% / 13px 13px 10px 10px; z-index: 1;
  background: linear-gradient(180deg, rgba(255, 255, 255, .85), rgba(255, 255, 255, .05)); pointer-events: none;
}
.btn--chrome:hover { background-position: 0 100%; box-shadow: 0 16px 36px -14px rgba(76, 201, 255, .55), inset 0 1px 0 #fff, 0 0 0 1px rgba(255, 255, 255, .5); }
.btn--chrome .i { --icon-accent: #1f6bff; }

/* azul elétrico */
.btn--blue { color: #fff; background: var(--g-blue); background-size: 160% 100%; box-shadow: 0 14px 34px -14px rgba(31, 107, 255, .9), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn--blue:hover { background-position: 100% 0; }
.btn--blue .i { --icon-accent: #fff; }

/* vidro */
.btn--glass { color: var(--text); background: rgba(255, 255, 255, .06); border: 1px solid var(--line-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--glass:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .35); }
.tone-ice .btn--glass { background: rgba(255, 255, 255, .7); border-color: rgba(14, 33, 71, .16); }
.btn--ink { color: #fff; background: linear-gradient(180deg, #13295a, #0a1733); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 12px 30px -14px rgba(6, 13, 31, .8); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--amber); }
.tone-ice .link-arrow { color: #1452e0; }
.link-arrow .i { transition: transform .3s var(--ease); }
.link-arrow:hover .i { transform: translateX(4px); }

/* ---------- vidro ---------- */
.glass {
  position: relative; border-radius: var(--r);
  background: linear-gradient(160deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .02) 60%, rgba(76, 201, 255, .03));
  border: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .08);
}
.tone-ice .glass {
  background: linear-gradient(160deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .62));
  border-color: rgba(255, 255, 255, .9);
  box-shadow: 0 24px 50px -30px rgba(14, 33, 71, .45), inset 0 1px 0 #fff;
}
.glass--edge::before { /* borda em degradê */
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, rgba(76, 201, 255, .7), rgba(255, 255, 255, .06) 35%, rgba(255, 255, 255, .02) 65%, rgba(255, 140, 0, .65));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.spot::after { /* holofote que segue o mouse */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(76, 201, 255, .16), transparent 60%);
}
.spot:hover::after { opacity: 1; }
.tone-ice .spot::after { background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(31, 107, 255, .1), transparent 60%); }
[data-tilt] { transition: transform .5s var(--ease); transform-style: preserve-3d; will-change: transform; }

/* selo/chip */
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 99px;
  font: 700 13.5px/1 var(--f-body); color: var(--text);
  background: rgba(255, 255, 255, .06); border: 1px solid var(--line-2);
}
.chip .i { width: 16px; height: 16px; color: var(--amber); }
.tone-ice .chip { background: #fff; }
.chip--live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #36e27a; box-shadow: 0 0 0 0 rgba(54, 226, 122, .6); animation: live 2s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 8px rgba(54, 226, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(54, 226, 122, 0); } }

/* ---------- revelar ao rolar ---------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.rv.is-in { opacity: 1; transform: none; }
.no-js .rv { opacity: 1; transform: none; }

/* ---------- barra de progresso (cabo com faísca) ---------- */
.progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; z-index: 120; pointer-events: none; transform-origin: left; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--blue), var(--cyan) 60%, var(--amber)); box-shadow: 0 0 12px rgba(76, 201, 255, .8); }
.cursor-glow { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(500px circle at var(--cx, -999px) var(--cy, -999px), rgba(31, 107, 255, .1), transparent 60%); }

/* ---------- cabeçalho ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--hdr); transition: background .4s, box-shadow .4s, height .4s; }
.hdr.is-scrolled { --hdr: 66px; background: rgba(6, 13, 31, .78); backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%); box-shadow: 0 1px 0 var(--line), 0 20px 40px -30px rgba(0, 0, 0, .9); }
.hdr__in { height: 100%; display: flex; align-items: center; gap: 22px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { width: auto; height: 50px; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .5)); transition: height .4s; }
.hdr.is-scrolled .brand img { height: 44px; }
.brand__txt { display: flex; flex-direction: column; line-height: 1; }
.brand__txt b { font: 800 16px/1 var(--f-display); letter-spacing: -.02em; }
.brand__txt small { font: 600 11.5px/1 var(--f-tech); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { position: relative; padding: 10px 12px; border-radius: 10px; font: 700 14.5px/1 var(--f-body); color: #c8d4e8; transition: color .25s, background .25s; }
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--g-volt); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover, .nav a.is-active { color: #fff; }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.hdr__cta { flex: none; }
.burger { display: none; width: 46px; height: 46px; border-radius: 12px; margin-left: auto; align-items: center; justify-content: center; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-2); }
.burger .i { width: 24px; height: 24px; }

@media (max-width: 1120px) { .nav a { padding: 10px 8px; font-size: 13.5px; } }
@media (max-width: 1020px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .hdr__cta { display: none; }
}
@media (max-width: 420px) { .brand__txt small { display: none; } .brand img { height: 42px; } }

/* menu mobile */
.drawer { position: fixed; inset: 0; z-index: 150; visibility: hidden; }
.drawer__bg { position: absolute; inset: 0; background: rgba(3, 8, 20, .7); backdrop-filter: blur(6px); opacity: 0; transition: opacity .35s; }
.drawer__panel {
  position: absolute; right: 0; top: 0; bottom: 0; width: min(380px, 88vw); padding: 22px 22px 28px; overflow-y: auto;
  display: flex; flex-direction: column; gap: 6px;
  background: linear-gradient(180deg, #0c1b3d, #060d1f); border-left: 1px solid var(--line-2);
  transform: translateX(100%); transition: transform .45s var(--ease);
}
.drawer.is-open { visibility: visible; }
.drawer.is-open .drawer__bg { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.drawer__top img { height: 46px; width: auto; }
.drawer__close { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line-2); }
.drawer__panel > a:not(.btn) { display: flex; align-items: center; gap: 14px; padding: 14px 12px; border-radius: 12px; font: 700 17px/1.2 var(--f-display); border-bottom: 1px solid var(--line); }
.drawer__panel > a:not(.btn) .i { color: var(--cyan); }
.drawer__panel > a:not(.btn):hover { background: rgba(255, 255, 255, .05); }
.drawer__panel .btn { margin-top: 18px; }
.drawer__foot { margin-top: auto; padding-top: 22px; color: var(--muted); font-size: 14px; }

/* ---------- abertura: ligando a energia ---------- */
.intro { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: radial-gradient(60% 50% at 50% 45%, #0d1f47, #040914 70%); transition: opacity .6s ease, visibility .6s; }
.intro.is-done { opacity: 0; visibility: hidden; }
.intro__box { display: grid; justify-items: center; gap: 18px; }
.intro__mark { width: 116px; height: 116px; }
.intro__mark .roof { stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw 1s .1s var(--ease) forwards; }
.intro__mark .bolt { opacity: 0; animation: flick .9s .75s steps(1) forwards; }
.intro__txt { font: 600 14px/1 var(--f-tech); letter-spacing: .4em; text-transform: uppercase; color: var(--muted); }
.intro__bar { width: 160px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.intro__bar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--blue), var(--cyan), var(--amber)); transform-origin: left; transform: scaleX(0); animation: load 1.3s .1s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes load { to { transform: scaleX(1); } }
@keyframes flick { 0% { opacity: 1; } 15% { opacity: .2; } 25% { opacity: 1; } 40% { opacity: .4; } 50%, 100% { opacity: 1; filter: drop-shadow(0 0 14px #ffb020); } }
.intro-off .intro { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; padding: calc(var(--hdr) + 46px) 0 90px; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; background: radial-gradient(70% 60% at 75% 30%, #11295e 0%, transparent 60%), radial-gradient(60% 60% at 0% 100%, #0b1d45 0%, transparent 60%), linear-gradient(180deg, #050b1a, #060d1f 70%, #071128); }
.hero__lines { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; opacity: .9; }
.hero__lines path { fill: none; stroke-width: 1.4; }
.hero__lines .base { stroke: rgba(76, 140, 255, .16); }
.hero__lines .flow { stroke-dasharray: 60 640; stroke-linecap: round; animation: flow 6s linear infinite; filter: drop-shadow(0 0 5px currentColor); }
.hero__lines .flow--c { stroke: var(--cyan); color: var(--cyan); }
.hero__lines .flow--o { stroke: var(--amber); color: var(--amber); animation-duration: 7.5s; animation-delay: -2s; }
.hero__lines circle { fill: var(--bg); stroke: rgba(76, 201, 255, .5); stroke-width: 1.4; }
@keyframes flow { from { stroke-dashoffset: 700; } to { stroke-dashoffset: 0; } }

.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.hero h1 { font-size: clamp(36px, 4.6vw, 62px); font-weight: 800; letter-spacing: -.045em; line-height: 1.02; }
.hero h1 .grad { display: inline-block; padding-bottom: .06em; }
.hero__lead { margin-top: 24px; font-size: clamp(17px, 1.7vw, 20px); color: #b9c7de; max-width: 600px; }
.hero__lead strong { color: #fff; }
.hero .btn-row { margin-top: 34px; }
.hero__trust { margin-top: 38px; display: grid; grid-template-columns: repeat(3, auto); gap: 14px 26px; justify-content: start; }
.hero__trust li { display: flex; align-items: center; gap: 10px; font: 700 14.5px/1.25 var(--f-body); color: #d3dcec; }
.hero__trust .i { width: 30px; height: 30px; padding: 6px; border-radius: 9px; color: var(--cyan); background: rgba(76, 201, 255, .1); border: 1px solid rgba(76, 201, 255, .25); }

.hero__visual { position: relative; aspect-ratio: 4 / 4.6; max-width: 540px; justify-self: end; width: 100%; }
.hero__frame {
  position: absolute; inset: 0 0 0 6%; border-radius: 30px; padding: 6px;
  background: linear-gradient(150deg, #f4f7fb, #8a9ab1 30%, #e3e9f1 50%, #6c7c94 72%, #dfe6ee);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .2), 0 0 80px -20px rgba(31, 107, 255, .55);
}
.hero__frame::after { content: ""; position: absolute; inset: 6px; border-radius: 25px; pointer-events: none; background: linear-gradient(180deg, transparent 55%, rgba(6, 13, 31, .7)); }
.hero__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; border-radius: 25px; }
.hero__card { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 18px; animation: bob 6s ease-in-out infinite; }
.hero__card .i { width: 40px; height: 40px; padding: 9px; border-radius: 12px; color: #fff; background: var(--g-blue); box-shadow: 0 8px 20px -8px rgba(31, 107, 255, .9); --icon-accent: var(--spark); }
.hero__card b { display: block; font: 800 15px/1.2 var(--f-display); }
.hero__card small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.hero__card--a { left: -6%; top: 12%; }
.hero__card--b { right: -5%; bottom: 17%; animation-delay: -3s; }
.hero__card--b .i { background: var(--g-volt); --icon-accent: #fff; color: #1a0d00; }
.hero__name { position: absolute; z-index: 3; left: 12%; bottom: 6%; right: 10%; color: #fff; }
.hero__name small { display: block; font: 600 12px/1 var(--f-tech); letter-spacing: .28em; text-transform: uppercase; color: var(--amber); }
.hero__name b { display: block; margin-top: 6px; font: 800 22px/1.15 var(--f-display); letter-spacing: -.02em; }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* selo giratório */
.seal { position: absolute; z-index: 4; right: -2%; top: -4%; width: 128px; height: 128px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, #0e2147 55%, #071330); border: 1px solid var(--line-2); box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .9); }
.seal svg.ring { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); animation: spin 22s linear infinite; }
.seal svg.ring text { font: 600 10.6px var(--f-tech); letter-spacing: .26em; fill: #cbd6e8; text-transform: uppercase; }
.seal .i { width: 42px; height: 42px; color: var(--amber); stroke-width: 1.6; filter: drop-shadow(0 0 10px rgba(255, 176, 32, .8)); --icon-accent: var(--amber); }
@keyframes spin { to { transform: rotate(360deg); } }

.scroll-hint { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: grid; justify-items: center; gap: 8px; font: 600 11px/1 var(--f-tech); letter-spacing: .3em; text-transform: uppercase; color: var(--muted); z-index: 3; }
.scroll-hint i { width: 22px; height: 36px; border-radius: 12px; border: 1.5px solid var(--line-2); position: relative; }
.scroll-hint i::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--amber); animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 60% { transform: translateY(10px); opacity: 0; } 61% { transform: none; opacity: 0; } 100% { opacity: 1; } }

@media (max-width: 960px) {
  .hero { min-height: auto; padding-top: calc(var(--hdr) + 28px); }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { justify-self: center; max-width: 460px; margin-top: 10px; }
  .hero__trust { grid-template-columns: 1fr; }
  .scroll-hint { display: none; }
}
@media (max-width: 560px) {
  .hero__card--a { left: -2%; top: 6%; }
  .hero__card--b { right: -2%; bottom: 22%; }
  .hero__card { padding: 10px 12px; }
  .hero__card .i { width: 34px; height: 34px; padding: 7px; }
  .hero__card b { font-size: 13.5px; }
  .seal { width: 100px; height: 100px; right: 0; }
  .seal .i { width: 32px; height: 32px; }
  .hero .btn-row .btn { width: 100%; }
}

/* ---------- flutuantes ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 90; display: flex; align-items: center; gap: 10px;
  height: 60px; padding: 0 20px 0 16px; border-radius: 99px; color: #fff; font: 800 15px/1 var(--f-body);
  background: linear-gradient(135deg, #1fc35b, #11994a); box-shadow: 0 18px 40px -14px rgba(17, 153, 74, .9), inset 0 1px 0 rgba(255, 255, 255, .35);
  transition: transform .35s var(--ease);
}
.wa-float .i { width: 28px; height: 28px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid rgba(31, 195, 91, .7); animation: ring 2.4s infinite; }
.wa-float:hover { transform: translateY(-3px); }
@keyframes ring { from { transform: scale(1); opacity: .9; } to { transform: scale(1.35); opacity: 0; } }
@media (max-width: 640px) { .wa-float span { display: none; } .wa-float { width: 60px; padding: 0; justify-content: center; } }

.totop { position: fixed; right: 26px; bottom: 92px; z-index: 89; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(10, 22, 49, .85); border: 1px solid var(--line-2); backdrop-filter: blur(10px); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s, transform .3s; }
.totop.is-on { opacity: 1; transform: none; pointer-events: auto; }
.totop svg.ring { position: absolute; inset: -1px; width: 48px; height: 48px; transform: rotate(-90deg); }
.totop svg.ring circle { fill: none; stroke: var(--amber); stroke-width: 2; stroke-dasharray: 138; stroke-dashoffset: calc(138 - 138 * var(--p, 0)); }
@media (max-width: 640px) { .totop { right: 25px; bottom: 90px; } }

/* ---------- movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
  .intro { display: none; }
}
