/* ============================================================================
   KasiFlow DCIS — site layer over the New Era DNA
   DNA: referencias/new-era-design-system (tokens, glass, motion) — reused via
   newera-main.css. This file adds: brand teal layer, nav, act layout, the walk
   HUD, and the few utilities the compiled CSS does not carry.
   KTI reuse: KFS_TC palette (legend gradient built in JS from the same stops).
   ========================================================================== */

:root {
  /* New Era tokens (already in newera-main.css) are kept; brand layer: */
  --brand-teal: #35c2a4;         /* KasiFlow logo mid tone */
  --brand-teal-deep: #005050;    /* logo gradient dark end */
  --brand-teal-bright: #40c0a0;  /* logo gradient light end */
  /* thermal semantics (New Era scene uniforms, kept): coral = hot, blue = cool */
  --thermal-hot: #ff4c33;
  --thermal-cool: #3366ff;
}

html { scroll-behavior: smooth; }
html, body { background: var(--background, #030305); }
body { color: #fff; font-family: Inter, ui-sans-serif, system-ui, sans-serif; overflow-x: hidden; }
img, video { max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* --- missing utilities (used by lifted New Era markup, absent from the compiled subset) */
.gap-8 { gap: 2rem; }

/* --- animated rings (New Era AnimatedGradientBorder, catalog recreation) ----- */
.ds-ring { position: absolute; inset: 0; padding: 1px; border-radius: inherit; pointer-events: none;
  background-image: linear-gradient(90deg, rgba(255,255,255,.08), rgba(255,255,255,.35), rgba(255,255,255,.08));
  background-size: 200% 100%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask-composite: exclude;
  animation: ds-ring 3s linear infinite; }
.ds-ring.is-accent { background-image: linear-gradient(90deg, var(--brand-teal-bright), var(--accent-cool, #8da9fc), var(--brand-teal-bright)); animation-duration: 4s; }
@keyframes ds-ring { from { background-position: 0% 0%; } to { background-position: 200% 0%; } }
.icon-ring { position: absolute; inset: 0; border-radius: 9999px; padding: 1px;
  background-image: linear-gradient(135deg, var(--brand-teal-bright), var(--accent-cool, #8da9fc));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask-composite: exclude; }

/* --- glass buttons (New Era GlassButton: rest/hover fills, lift) ------------ */
.gb-primary { background-color: rgba(20, 25, 35, 0.4);
  transition: background-color .25s, transform .25s cubic-bezier(.2,1,.2,1), box-shadow .25s; }
.gb-primary:hover { background-color: rgba(30, 35, 50, 0.5); transform: translateY(-2px); }
.gb-secondary { background-color: rgba(255,255,255,.04); color: rgba(255,255,255,.75); border-color: rgba(255,255,255,.08);
  transition: background-color .25s, color .25s, border-color .25s, transform .25s cubic-bezier(.2,1,.2,1); }
.gb-secondary:hover { background-color: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.15); transform: translateY(-2px); }

/* --- reveal states (New Era reveal.tsx: before / visible, 1200 ms easeOutQuart) */
.rv { opacity: 0; transform: translateY(30px); transition: opacity 1.2s cubic-bezier(.2,1,.2,1), transform 1.2s cubic-bezier(.2,1,.2,1); }
.rv.is-in { opacity: 1; transform: none; }
/* letter cascade (New Era spring-text-engine: y 40, blur 16 → 0, 15 ms stagger) */
.cascade .cas-l { display: inline-block; opacity: 0; transform: translateY(40px); filter: blur(16px); }
.cascade.is-in .cas-l { opacity: 1; transform: none; filter: blur(0);
  transition: opacity 1.2s cubic-bezier(.25,1,.5,1), transform 1.2s cubic-bezier(.25,1,.5,1), filter 1.2s cubic-bezier(.25,1,.5,1);
  transition-delay: var(--casd, 0ms); }
.cascade .cas-w { display: inline-block; white-space: nowrap; }
.cascade { column-gap: 0.3em; } /* New Era hero h1 inline style: word gap on the flex title */

@media (prefers-reduced-motion: reduce) {
  .rv, .cascade .cas-l { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
  .ds-ring, .ds-ring.is-accent { animation: none; }
}

/* ============================== NAV ======================================= */
.site-nav { position: fixed; inset: 0 0 auto 0; z-index: 60; display: flex; align-items: center; gap: 24px;
  padding: 14px clamp(16px, 4vw, 48px); transition: background .4s, backdrop-filter .4s, border-color .4s;
  border-bottom: 1px solid transparent; }
.site-nav.is-solid { background: rgba(3,3,5,.72); backdrop-filter: blur(16px); border-color: rgba(255,255,255,.08); }
.nav-brand { display: flex; align-items: center; gap: 13px; }
.nav-logo { height: 46px; width: auto; }
.nav-wordmark { display: flex; flex-direction: column; line-height: 1.25; }
.nav-co { font-family: Assistant, Inter, sans-serif; font-weight: 600; letter-spacing: .05em; font-size: 16px; color: #fff; }
.nav-line { display: flex; align-items: baseline; gap: 5px; font-size: 11px; letter-spacing: .04em; }
.nav-line b { font-family: Assistant, Inter, sans-serif; font-weight: 700; color: var(--brand-teal-bright); }
.nav-line i { font-style: normal; color: rgba(255,255,255,.55); }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: 14px; color: rgba(255,255,255,.72); }
.nav-links a { transition: color .25s; }
.nav-links a:hover, .nav-links a.is-here { color: #fff; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-pill { display: inline-flex; border: 1px solid rgba(255,255,255,.14); border-radius: 9999px; overflow: hidden;
  background: rgba(255,255,255,.04); backdrop-filter: blur(8px); cursor: pointer; padding: 0; }
.lang-pill span { padding: 7px 12px; font-size: 12px; font-weight: 600; color: rgba(255,255,255,.55); letter-spacing: .06em; }
.lang-pill span.is-on { background: rgba(255,255,255,.12); color: #fff; }
.wa-pill { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 9999px;
  border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); color: rgba(255,255,255,.8); transition: color .25s, border-color .25s, background .25s; }
.wa-pill svg { width: 17px; height: 17px; }
.wa-pill:hover { color: var(--brand-teal-bright); border-color: rgba(64,192,160,.5); background: rgba(64,192,160,.08); }
.nav-cta { display: inline-flex; align-items: center; height: 36px; padding: 0 18px; border-radius: 9999px;
  background: #fff; color: #0a0a0c; font-size: 13px; font-weight: 600; transition: transform .25s cubic-bezier(.2,1,.2,1), background .25s; }
.nav-cta:hover { transform: translateY(-1px); background: #e8fff9; }
@media (max-width: 880px) { .nav-links { display: none; } .nav-line i { display: none; } }
@media (max-width: 560px) { .nav-cta { display: none; } }
/* F3.4-mobile: alvos de toque >=44px em celular/tablet (nav-cta some em <=560, mas o
   toggle de idioma e o icone do WhatsApp ficavam a 32-36px nos dois breakpoints testados) */
@media (max-width: 980px) {
  .lang-pill span { padding: 13px 14px; }
  .wa-pill { width: 44px; height: 44px; }
  .wa-pill svg { width: 18px; height: 18px; }
  .nav-cta { height: 44px; }
}

/* ============================== ACT SHELL ================================== */
.act { position: relative; padding: clamp(96px, 14vh, 160px) clamp(20px, 6vw, 72px); }
.act-bg { position: absolute; inset: 0; overflow: hidden; }
.bg-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.bg-video.is-dim { opacity: .35; }
.bg-grade { position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(3,3,5,.82) 0%, rgba(3,3,5,.35) 36%, rgba(3,3,5,.55) 70%, #030305 100%),
              radial-gradient(120% 70% at 50% 0%, rgba(0,80,80,.25), transparent 60%); }
.bg-grade.is-strong { background: linear-gradient(180deg, #030305 0%, rgba(3,3,5,.45) 30%, rgba(3,3,5,.6) 75%, #030305 100%); }
/* hero: the digital twin ORBITING live (Twin Deck Lite camera), 4K still as
   poster/fallback (no WebGL2, reduced motion, mobile). The walk canvas is
   borrowed: fixed behind the hero while the hero act is on screen. */
.hero-iso { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 38%;
  animation: heroZoom 44s ease-in-out infinite alternate; transition: opacity 1.4s ease; }
@keyframes heroZoom { from { transform: scale(1.0); } to { transform: scale(1.14) translateY(-1.5%); } }
@media (prefers-reduced-motion: reduce) { .hero-iso { animation: none; } }
/* Q-3 = B (dono, 18/11): no celular o hero é o LOOP do gêmeo girando (hero_orbit.mp4,
   339 KB) em vez do still; o still continua poster, reduced-motion e fallback. */
.hero-orbit { display: none; }
@media (max-width: 759px) {
  .hero-orbit { display: block; position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; object-position: center 42%; }
  .act-hero .hero-iso { animation: none; }
}
@media (prefers-reduced-motion: reduce) { .hero-orbit { display: none !important; } }
#walkCanvas.is-hero { position: fixed; inset: 0; z-index: 0; }
.act-hero .act-bg { z-index: 1; pointer-events: none; }
.act-hero.has-orbit .hero-iso { opacity: 0; animation: none; }
.hero-inner { z-index: 2; }
.act-hero .scroll-hint { z-index: 2; }
.bg-grade.is-hero { background:
  linear-gradient(180deg, rgba(3,3,5,.88) 0%, rgba(3,3,5,.46) 26%, rgba(3,3,5,.22) 48%, rgba(3,3,5,.54) 78%, #030305 100%),
  radial-gradient(90% 60% at 50% 46%, rgba(3,3,5,.46), rgba(3,3,5,.07) 70%); }
.act-head { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: clamp(40px, 7vh, 72px); }
.act-lead { margin-top: 22px; }

/* ============================== HERO ======================================= */
.act-hero { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding-top: 120px; }
.hero-inner { position: relative; display: flex; flex-direction: column; align-items: center; max-width: 1100px; margin: 0 auto; }
.hero-inner > .rv:first-child { margin-bottom: 2.5rem; }
.hero-proof { display: flex; align-items: center; gap: 14px; margin-top: 56px; font-size: 13px; letter-spacing: .04em;
  color: rgba(255,255,255,.55); flex-wrap: wrap; justify-content: center; }
.hero-proof i { width: 4px; height: 4px; border-radius: 50%; background: var(--brand-teal); }
.scroll-hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: rgba(255,255,255,.5); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.scroll-hint svg { width: 16px; height: 16px; animation: hintDown 2.2s ease-in-out infinite; }
@keyframes hintDown { 0%,100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(6px); opacity: 1; } }

/* ============================ SPLIT / STATS ================================ */
.split-grid { display: flex; gap: clamp(32px, 6vw, 96px); align-items: flex-start; max-width: 1280px; margin: 0 auto; }
.split-left { flex: 1.15; min-width: 0; }
.split-right { flex: 1; min-width: 0; }
@media (max-width: 980px) { .split-grid { flex-direction: column; } }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.5vw, 28px); max-width: 1280px; margin: clamp(48px, 8vh, 80px) auto 0; }
@media (max-width: 980px) { .stat-row { grid-template-columns: 1fr; max-width: 560px; } }
.stat-card { min-width: 0; }

/* ============================ WALK (sticky act) ============================ */
.walk-wrap { position: relative; height: 560vh; background: #030305; --walk-gutter: 0px; }
.walk-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
/* D-9: no TOUR o dedo tem de rolar a pagina (touch-action: pan-y). So a caminhada
   LIVRE captura o gesto (pan/zoom do proprio twin). Antes era `none` sempre: no
   celular a tela de 100vh engolia o swipe e o visitante ficava preso. */
#walkCanvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; background: #05060a; outline: none;
  touch-action: pan-y; cursor: grab; }
.walk-wrap.is-free #walkCanvas { cursor: move; touch-action: none; }

/* D-9: faixa de escape na lateral direita (so no desktop, pedido do dono). Nao e
   canvas: rolar com o mouse aqui sempre move a PAGINA, e na caminhada livre a
   roda nesta faixa devolve o tour e a rolagem. A trilha de progresso mora dentro
   dela, para a faixa se ler como "este e o caminho de saida". */
@media (min-width: 761px) {
  .walk-wrap { --walk-gutter: clamp(64px, 7vw, 104px); }
}
.walk-escape { position: absolute; top: 0; right: 0; bottom: 0; width: var(--walk-gutter);
  display: flex; align-items: center; justify-content: center; pointer-events: auto; touch-action: pan-y;
  border-left: 1px solid rgba(255,255,255,.07); background: linear-gradient(90deg, transparent, rgba(3,3,5,.55));
  transition: background .35s, border-color .35s; }
.walk-wrap:not(.is-free) .walk-escape { cursor: ns-resize; }
.walk-escape:hover { background: linear-gradient(90deg, transparent, rgba(8,14,18,.78)); border-left-color: rgba(53,194,164,.3); }
.walk-escape span { writing-mode: vertical-rl; font: 600 10px/1 Inter, sans-serif; letter-spacing: .18em;
  text-transform: uppercase; color: rgba(255,255,255,.4); transition: color .35s; user-select: none; }
.walk-escape:hover span { color: var(--brand-teal-bright); }
@media (max-width: 760px) { .walk-escape { display: none; } }
.walk-vignette { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(130% 90% at 50% 45%, transparent 55%, rgba(3,3,5,.75) 100%),
              linear-gradient(180deg, rgba(3,3,5,.55), transparent 18%, transparent 82%, rgba(3,3,5,.65)); }
.walk-wrap.is-free .walk-vignette { background: radial-gradient(140% 100% at 50% 45%, transparent 68%, rgba(3,3,5,.6) 100%); }

.walk-hud { position: absolute; inset: 0; pointer-events: none; }
.hud-top { position: absolute; top: 86px; left: clamp(16px, 4vw, 48px); right: calc(var(--walk-gutter) + clamp(16px, 2vw, 32px));
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  /* F3.4-mobile: quebra em linhas ao inves de espremer o texto dentro de cada pilula/botao
     (sem efeito em telas largas, onde tudo cabe numa linha so) */
  flex-wrap: wrap; row-gap: 10px; }
.hud-pills { display: inline-flex; gap: 6px; padding: 5px; border-radius: 9999px; background: rgba(8,10,14,.55);
  border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(12px); pointer-events: auto; }
.hud-pill { border: 1px solid transparent; background: transparent; color: rgba(255,255,255,.6); font: 600 12px/1 Inter, sans-serif;
  letter-spacing: .05em; text-transform: uppercase; padding: 9px 16px; border-radius: 9999px; cursor: pointer; transition: all .25s; }
.hud-pill.is-on { background: rgba(53,194,164,.14); color: var(--brand-teal-bright); border-color: rgba(53,194,164,.4); }
.hud-pill:not(.is-on):hover { color: #fff; }
.hud-exit { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; pointer-events: auto; cursor: pointer;
  background: rgba(8,10,14,.55); border: 1px solid rgba(255,255,255,.14); border-radius: 9999px; padding: 9px 15px;
  color: rgba(255,255,255,.72); font: 600 11px/1 Inter, sans-serif; letter-spacing: .07em; text-transform: uppercase;
  backdrop-filter: blur(12px); transition: color .2s, border-color .2s, background .2s; }
.hud-exit svg { width: 11px; height: 11px; }
.hud-exit:hover { color: #fff; border-color: rgba(53,194,164,.5); background: rgba(53,194,164,.14); }
.walk-wrap.is-free .hud-exit { color: var(--brand-teal-bright); border-color: rgba(53,194,164,.45); }
.hud-site { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .04em; color: rgba(255,255,255,.6);
  background: rgba(8,10,14,.55); border: 1px solid rgba(255,255,255,.1); border-radius: 9999px; padding: 9px 16px; backdrop-filter: blur(12px); }
.hud-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-teal-bright); box-shadow: 0 0 8px var(--brand-teal-bright); }
.hud-right { position: absolute; right: calc(var(--walk-gutter) + clamp(16px, 2vw, 32px)); top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 10px; }
.hud-chip { background: rgba(8,10,14,.55); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 10px 14px;
  backdrop-filter: blur(12px); min-width: 120px; }
.hud-chip small { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.5); margin-bottom: 3px; }
.hud-chip b { font-family: Assistant, Inter, sans-serif; font-size: 18px; font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; }
.hud-chip.is-alert { border-color: rgba(255,76,51,.6); background: rgba(40,10,10,.6); animation: hudAlert 1.6s ease-in-out infinite; }
.hud-chip.is-alert small { color: #ff9a88; }
.hud-chip.is-alert b { color: #ff8a76; }
@keyframes hudAlert { 0%,100% { box-shadow: 0 0 0 0 rgba(255,76,51,.0); } 50% { box-shadow: 0 0 14px 2px rgba(255,76,51,.35); } }
#legendCut { color: var(--brand-teal-bright); margin-left: 8px; letter-spacing: .05em; }
.hud-legend { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,.6); font-size: 11px; }
.legend-bar { width: clamp(140px, 22vw, 280px); height: 6px; border-radius: 3px; border: 1px solid rgba(255,255,255,.15); }
.hud-help { position: absolute; left: clamp(16px, 4vw, 48px); bottom: 24px; font-size: 12px; color: rgba(255,255,255,.55);
  background: rgba(8,10,14,.5); border: 1px solid rgba(255,255,255,.08); border-radius: 9999px; padding: 8px 14px; backdrop-filter: blur(10px); }
.walk-rail { position: absolute; right: calc(var(--walk-gutter) / 2 - 1.5px); top: 50%; transform: translateY(-50%); width: 3px; height: 34vh;
  border-radius: 2px; background: rgba(255,255,255,.12); overflow: hidden; pointer-events: none; }
.walk-rail span { display: block; width: 100%; height: 0%; border-radius: 2px;
  background: linear-gradient(180deg, var(--brand-teal-bright), var(--accent-cool, #8da9fc)); }

.walk-caption { position: absolute; left: clamp(20px, 6vw, 80px); bottom: clamp(72px, 14vh, 140px); max-width: min(560px, 72vw);
  opacity: 0; transform: translateY(30px); transition: opacity 1s cubic-bezier(.2,1,.2,1), transform 1s cubic-bezier(.2,1,.2,1); pointer-events: none; }
.walk-caption.is-on { opacity: 1; transform: none; }
.walk-caption h3 { font-family: Assistant, Inter, sans-serif; font-weight: 400; font-size: clamp(26px, 3.4vw, 44px); line-height: 1.12;
  letter-spacing: -0.01em; color: #fff; margin: 0 0 10px; text-shadow: 0 2px 24px rgba(0,0,0,.55); }
.walk-caption p { font-size: clamp(14px, 1.15vw, 17px); line-height: 1.55; color: rgba(255,255,255,.78); margin: 0; text-shadow: 0 1px 12px rgba(0,0,0,.6); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font: 600 12px/1 Inter, sans-serif; letter-spacing: .03em; color: rgba(255,255,255,.85);
  background: rgba(8,10,14,.6); border: 1px solid rgba(255,255,255,.14); border-radius: 9999px; padding: 8px 13px; backdrop-filter: blur(10px); }
.chip.is-ok { border-color: rgba(53,194,164,.45); color: var(--brand-teal-bright); }
.chip.is-warn { border-color: rgba(255,160,145,.5); color: #ffb3a5; }
.chip.is-hot { border-color: rgba(255,76,51,.55); color: #ff8a76; }
.chip.is-link { pointer-events: auto; color: var(--brand-teal-bright); border-color: rgba(53,194,164,.45); transition: background .25s; }
.chip.is-link:hover { background: rgba(53,194,164,.12); }
.chip sub { font-size: 8px; margin-left: 1px; }

.walk-loading { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: rgba(255,255,255,.6); font-size: 12px; letter-spacing: .06em; }
.ld-bar { width: 180px; height: 3px; border-radius: 2px; background: rgba(255,255,255,.12); overflow: hidden; }
.ld-bar i { display: block; height: 100%; width: 0%; background: var(--brand-teal-bright); transition: width .3s; }

@media (max-width: 760px) {
  .hud-right { display: none; }
  .hud-site { display: none; }
  .hud-top { top: 76px; }
  .walk-rail { right: 10px; } /* sem faixa de escape no celular, a trilha volta para a borda */
  .walk-caption { bottom: 96px; }
  /* F3.4-mobile (sessão principal): as legendas são altas no celular (155–255 px) e
     todas ancoram no mesmo rodapé — com o crossfade de 1 s do DS, duas ficam legíveis
     ao mesmo tempo e o texto embaralha. A que SAI some em 0,28 s; a que ENTRA mantém
     a entrada do New Era. Medido em 375 px, p=0,35: antes 0,46 e 0,54 de opacidade
     simultâneas. */
  .walk-caption { transition: opacity .28s linear, transform .28s ease-out; }
  .walk-caption.is-on { transition: opacity .9s cubic-bezier(.2,1,.2,1), transform .9s cubic-bezier(.2,1,.2,1); }
  .walk-wrap { height: 420vh; }
  /* F3.4-mobile: a legenda de atalhos de teclado (WASD, Q/E, Esc, "click & drag") nao se
     aplica a toque e, medido no celular, sobrepoe o texto da legenda de progresso em varias
     bandas (ex.: banda 2 com 3 chips, banda 0 em caminhada livre) — ver registro do lote.
     A saida da caminhada livre continua garantida pelo botao #walkExit, sempre visivel. */
  .hud-help, .hud-help.is-free { display: none; }
}

/* ============================ PRODUCT SHOTS ================================ */
.shot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.5vw, 28px); max-width: 1280px; margin: 0 auto; }
@media (max-width: 980px) { .shot-grid { grid-template-columns: 1fr; max-width: 640px; } }
.shot-card { margin: 0; border-radius: 1.2em; overflow: hidden; border: 1px solid rgba(255,255,255,.1); background: rgba(12,14,22,.55);
  backdrop-filter: blur(8px); transition: border-color .4s, transform .4s cubic-bezier(.2,1,.2,1); }
.shot-card:hover { border-color: rgba(53,194,164,.35); transform: translateY(-4px); }
.shot-card img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; object-position: top; }
.shot-card.is-tall img { aspect-ratio: auto; }
.shot-card figcaption { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; }
.shot-card figcaption b { font-family: Assistant, Inter, sans-serif; font-weight: 600; font-size: 15px; color: #fff; }
.shot-card figcaption span { font-size: 13px; line-height: 1.5; color: rgba(255,255,255,.6); }

/* ============================ ENERGY ======================================= */
.kpi-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; margin-bottom: 26px; }
@media (max-width: 560px) { .kpi-grid { grid-template-columns: 1fr; } }
.kpi-tile { border: 1px solid rgba(255,255,255,.1); background: rgba(12,14,22,.55); border-radius: 18px; padding: 18px 20px; backdrop-filter: blur(8px); }
.kpi-tile small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--brand-teal-bright); margin-bottom: 6px; }
.kpi-tile b { display: block; font-family: Assistant, Inter, sans-serif; font-size: clamp(26px, 2.4vw, 34px); font-weight: 600; color: #fff; line-height: 1; font-variant-numeric: tabular-nums; }
.kpi-tile b i { font-style: normal; font-size: 14px; color: rgba(255,255,255,.6); }
.kpi-tile span { display: block; font-size: 12px; color: rgba(255,255,255,.55); margin-top: 7px; line-height: 1.45; }
.prov-note { font-size: 12.5px; line-height: 1.6; color: rgba(255,255,255,.45); border-left: 2px solid rgba(53,194,164,.5); padding-left: 14px; max-width: 520px; }

/* ============================ EXTERIOR ===================================== */
.act-exterior { min-height: 92vh; display: flex; align-items: flex-end; }
.exterior-inner { position: relative; max-width: 720px; }
.ex-quote { margin: 34px 0 0; padding: 0; border: 0; font-family: Assistant, Inter, sans-serif; font-weight: 400;
  font-size: clamp(22px, 2.4vw, 32px); color: #fff; letter-spacing: -0.01em; }
.ex-quote::before { content: "— "; color: var(--brand-teal-bright); }

/* ============================ MODULES ====================================== */
.mod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; max-width: 1280px; margin: 0 auto; }
.mod-card { border: 1px solid rgba(255,255,255,.1); background: rgba(12,14,22,.5); border-radius: 18px; padding: 20px;
  display: flex; flex-direction: column; gap: 8px; backdrop-filter: blur(6px); transition: border-color .35s, background .35s, transform .35s cubic-bezier(.2,1,.2,1); }
.mod-card:hover { border-color: rgba(53,194,164,.4); background: rgba(14,20,26,.7); transform: translateY(-3px); }
.mod-card i { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 10px;
  background: rgba(53,194,164,.1); border: 1px solid rgba(53,194,164,.3); color: var(--brand-teal-bright); font-style: normal; font-family: Assistant, sans-serif; font-weight: 600; font-size: 13px; }
.mod-card b { font-family: Assistant, Inter, sans-serif; font-weight: 600; font-size: 15px; color: #fff; }
.mod-card span { font-size: 12.5px; line-height: 1.5; color: rgba(255,255,255,.55); }

/* ============================ ASSET ======================================== */
.act-asset { text-align: center; }
.asset-inner { display: flex; flex-direction: column; align-items: center; max-width: 1180px; margin: 0 auto; }
.path-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: clamp(44px, 7vh, 72px); width: 100%; }
@media (max-width: 980px) { .path-strip { grid-template-columns: 1fr; max-width: 460px; } }
.path-step { position: relative; border: 1px solid rgba(255,255,255,.1); background: rgba(12,14,22,.5); border-radius: 18px; padding: 20px 16px 18px;
  display: flex; flex-direction: column; gap: 6px; text-align: left; }
.path-step i { font-style: normal; font-family: Assistant, sans-serif; font-weight: 600; font-size: 12px; color: var(--brand-teal-bright);
  border: 1px solid rgba(53,194,164,.4); width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.path-step b { font-family: Assistant, Inter, sans-serif; font-weight: 600; font-size: 14px; color: #fff; }
.path-step span { font-size: 12px; line-height: 1.5; color: rgba(255,255,255,.55); }

/* ============================ CONTACT ====================================== */
/* D-9: o ato de contato estava «muito escuro, difícil de ver o formulário, fora de
   evidência». O fundo clareia um pouco, o formulário vira um CARTÃO de vidro com
   borda visível, e os campos saem do quase-preto para uma superfície clara. */
.act-contact { padding-bottom: 0; }
.bg-grade.is-contact { background:
  linear-gradient(180deg, #030305 0%, rgba(10,16,22,.92) 26%, rgba(12,20,26,.95) 62%, #05070b 100%),
  radial-gradient(90% 55% at 50% 30%, rgba(53,194,164,.14), transparent 70%); }
.contact-inner { position: relative; display: flex; flex-direction: column; align-items: center; max-width: 760px; margin: 0 auto; }
.contact-form { width: 100%; margin-top: clamp(28px, 5vh, 44px); display: flex; flex-direction: column; gap: 16px;
  background: rgba(16,21,29,.72); border: 1px solid rgba(255,255,255,.14); border-radius: 26px;
  padding: clamp(22px, 3.4vw, 38px); backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 24px 70px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.06); }
/* minmax(0,1fr) e não 1fr: uma coluna `1fr` tem piso de min-content, então um
   input longo empurra a grade para fora do cartão em vez de encolher. */
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-row3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 640px) { .form-row, .form-row3 { grid-template-columns: 1fr; } }
.contact-form label { display: flex; flex-direction: column; gap: 7px; font-size: 11.5px; letter-spacing: .06em;
  text-transform: uppercase; color: rgba(255,255,255,.78); text-align: left; font-weight: 600; }
/* o rótulo e o asterisco ficam na MESMA linha (o label é uma coluna flex, então
   sem este invólucro o `*` virava uma linha própria — ou, posicionado em
   absoluto, caía por cima do texto: translateX(100%) é 100% da largura do
   PRÓPRIO asterisco, ~8 px, não da largura do rótulo) */
.contact-form .lb { display: flex; align-items: center; gap: 4px; }
.contact-form .req { color: var(--brand-teal-bright); font-size: 11.5px; line-height: 1; }
.contact-form input, .contact-form textarea { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.2); border-radius: 14px;
  color: #fff; font: 400 15px/1.4 Inter, sans-serif; letter-spacing: 0; text-transform: none; padding: 13px 16px; outline: none;
  transition: border-color .3s, background .3s, box-shadow .3s; resize: vertical; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255,255,255,.35); }
.contact-form input:hover, .contact-form textarea:hover { border-color: rgba(255,255,255,.3); }
.contact-form input:focus, .contact-form textarea:focus { border-color: rgba(53,194,164,.7); background: rgba(53,194,164,.08);
  box-shadow: 0 0 0 3px rgba(53,194,164,.14); }

/* grupo opcional: selo + explicação, borda tracejada = "pode pular" */
/* `min-width: 0` é obrigatório: o <fieldset> tem largura mínima intrínseca de
   min-content que o `width` NÃO sobrescreve — sem isto a grade de 3 colunas
   estourava o cartão do formulário em 88 px (medido em 1024 px). */
.form-optional { min-width: 0; margin: 4px 0 0; padding: 16px 16px 18px; border: 1px dashed rgba(255,255,255,.18);
  border-radius: 18px; background: rgba(255,255,255,.025); }
.form-optional legend { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 0 8px; }
.opt-badge { font: 700 10px/1 Inter, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-teal-bright);
  background: rgba(53,194,164,.12); border: 1px solid rgba(53,194,164,.4); border-radius: 9999px; padding: 5px 11px; }
.opt-hint { font-size: 12px; color: rgba(255,255,255,.55); letter-spacing: .01em; }
.form-optional label { color: rgba(255,255,255,.62); font-weight: 500; }

/* armadilha invisível para robôs: fora da tela, sem tabulação, sem leitor de tela */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-actions { display: flex; gap: 14px; margin-top: 8px; flex-wrap: wrap; }
.form-note { font-size: 12px; color: rgba(255,255,255,.6); }
.form-verify { font-size: 11.5px; color: rgba(255,255,255,.38); margin-top: -6px; }

.site-footer { position: relative; margin-top: clamp(72px, 10vh, 120px); border-top: 1px solid rgba(255,255,255,.08);
  padding: 34px clamp(20px, 6vw, 72px) 42px; display: flex; flex-wrap: wrap; gap: 22px; align-items: center; background: rgba(3,3,5,.75); backdrop-filter: blur(8px); }
.foot-brand { display: flex; align-items: center; gap: 14px; }
.foot-brand img { height: 42px; }
.foot-brand b { font-family: Assistant, sans-serif; letter-spacing: .03em; }
.foot-brand div { font-size: 14px; color: rgba(255,255,255,.85); display: flex; flex-direction: column; }
.foot-co { font-family: Assistant, sans-serif; font-weight: 600; letter-spacing: .05em; font-size: 15px; }
.foot-brand div > span b { color: var(--brand-teal-bright); }
.foot-brand small { font-size: 11px; color: rgba(255,255,255,.5); margin-top: 2px; }
.foot-links { display: flex; gap: 20px; margin-left: auto; font-size: 13px; color: rgba(255,255,255,.65); flex-wrap: wrap; }
.foot-links a:hover { color: var(--brand-teal-bright); }
.foot-note { width: 100%; font-size: 11.5px; color: rgba(255,255,255,.35); margin: 4px 0 0; }

/* fallback walk (frame scrub) shares the same canvas; nothing extra needed */

/* Q-1 = B (D-8): estado de envio do formulário + alternativa por e-mail */
.form-alt { margin-top: 6px; text-align: center; font-size: 13px; }
.form-alt a { color: rgba(255,255,255,.55); text-decoration: underline; text-underline-offset: 3px; }
.form-alt a:hover { color: var(--brand-teal-bright); }
.contact-form.is-sending { opacity: .72; pointer-events: none; }
.contact-form.is-sent .form-note { color: var(--brand-teal-bright); }
.contact-form input.is-invalid { border-color: rgba(255,120,100,.8); background: rgba(255,76,51,.1);
  box-shadow: 0 0 0 3px rgba(255,76,51,.12); }
