/* ==========================================================================
   STUDIO TRACE · LP v2
   Estrutura inspirada na referencia (hero fixo com o conteudo deslizando por
   cima, folha clara, cards empilhados, rodape com CTA gigante), vestida com a
   identidade do Trace: preto + luz azul, Drupadi, vidro e a foto de listras.

   Regra de performance: nada de filter: blur() em camada grande, nada de
   mix-blend-mode em secao inteira, nada de animacao infinita mexendo em
   layout. backdrop-filter so em elemento pequeno ou sobre foto.
   ========================================================================== */

/* --------------------------------------------------------- 01. FONTES ---- */
@font-face {
  font-family: 'Drupadi';
  src: url('../fonts/Drupadi-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------- 02. TOKENS ---- */
:root {
  --ink:        #000000;
  --ink-2:      #0A0908;
  --ink-3:      #12100D;
  --card:       #151310;
  --blue:       #E2622A;
  --blue-hi:    #F07A45;
  --blue-lo:    #C2491B;
  --blue-soft:  #F2955F;
  --cyan:       #FFB37A;
  --wa:         #25D366;

  --text:       rgba(255,255,255,.92);
  --muted:      rgba(255,255,255,.62);
  --faint:      rgba(255,255,255,.40);
  --line:       rgba(255,255,255,.08);
  --stroke:     rgba(255,255,255,.14);
  --stroke-hi:  rgba(255,255,255,.26);

  /* folha clara: o "papel" do logo do estudio */
  --paper:       #F0EBE3;
  --paper-2:     #E5DED3;
  --paper-ink:   #0D0C0A;
  --paper-muted: #5E5850;
  --paper-line:  rgba(13,12,10,.12);

  --display: 'Anton', 'Impact', 'Arial Narrow', sans-serif;
  --body:    'Poppins', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --mono:    'JetBrains Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  --pad-x: clamp(16px, 4vw, 56px);
  --sec-y: clamp(84px, 10vw, 140px);
  --maxw:  1240px;

  --ease: cubic-bezier(.16,1,.3,1);
  --t-fast: .3s;
  --t-mid:  .6s;

  --shadow-glass: 0 24px 60px -22px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.13);
  --shadow-blue:  0 18px 50px -14px rgba(226,98,42,.6);
}

/* ---------------------------------------------------------- 03. RESET ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--body);
  font-size: clamp(15px, 1.05vw, 16.5px);
  line-height: 1.65;
  /* clip, nao hidden: hidden transformaria o body em container de rolagem
     e o hero sticky pararia de funcionar */
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img, picture, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }

::selection { background: var(--blue); color: #fff; }

:focus-visible {
  outline: 2px solid var(--blue-soft);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

body.travado { overflow: hidden; }

/* --------------------------------------------------- 04. TIPOGRAFIA ------ */
h1, h2, h3, .display {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .005em;
  color: #fff;
}
h1 { font-size: clamp(2.2rem, 4vw, 3.8rem); line-height: 1; }
h2 { font-size: clamp(2rem, 3.8vw, 3.5rem); line-height: 1.02; text-wrap: balance; }
h3 { font-size: clamp(1.2rem, 1.7vw, 1.6rem); line-height: 1.1; letter-spacing: .01em; }

.lead {
  font-size: clamp(1rem, 1.18vw, 1.12rem);
  line-height: 1.7;
  color: var(--muted);
  max-width: 56ch;
}

/* rotulo tecnico "// texto": a assinatura de interface da referencia */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue-soft);
}

/* ponto "ao vivo": nucleo fixo e halo pulsando em camada propria */
.live {
  position: relative;
  display: inline-flex;
  width: 8px; height: 8px;
  flex: none;
}
.live::before,
.live::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--blue-soft);
}
.live::after { background: var(--blue); box-shadow: 0 0 10px 1px rgba(242,149,95,.9); }
.live::before { animation: halo 1.9s var(--ease) infinite; }
.live--wa::before { background: var(--wa); }
.live--wa::after  { background: var(--wa); box-shadow: 0 0 10px 1px rgba(37,211,102,.8); }
@keyframes halo {
  0%   { transform: scale(1);   opacity: .7; }
  100% { transform: scale(3.2); opacity: 0; }
}

.grad-blue {
  background: linear-gradient(100deg, #fff 4%, var(--blue-soft) 48%, var(--blue) 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ------------------------------------------------------- 05. LAYOUT ------ */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}
.sec { position: relative; padding-block: var(--sec-y); }

.sec-head { max-width: 760px; }
.sec-head h2 { margin-top: 0; }
.sec-head .lead { margin-top: 22px; }

/* cabecalho em linha: titulo a esquerda, apoio a direita, como na referencia */
.sec-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px 40px;
}
.sec-row h2 { max-width: 640px; }
.sec-row .lead { max-width: 380px; font-size: .96rem; }

/* ======================================================================
   06. CAMADAS FIXAS DA PAGINA
   ====================================================================== */

/* colunas finas de fundo: o grid tecnico da referencia */
.cols {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: repeating-linear-gradient(90deg,
    rgba(255,255,255,.035) 0, rgba(255,255,255,.035) 1px,
    transparent 1px, transparent 132px);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 9300;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  z-index: 9700;
  pointer-events: none;
  background: rgba(255,255,255,.05);
}
.progress i {
  display: block;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--blue), var(--blue-soft) 60%, var(--cyan));
  box-shadow: 0 0 14px rgba(226,98,42,.9);
}

/* ---- preloader --------------------------------------------------------
   So existe com JS ligado (html.js). Sem JS a pagina abre direto.        */
.loader { display: none; }
.js .loader {
  position: fixed;
  inset: 0;
  z-index: 9900;
  display: grid;
  place-items: center;
  background: var(--ink);
  transition: opacity .8s var(--ease), visibility .8s var(--ease);
}
.loader__in { display: grid; justify-items: center; gap: 22px; }
.loader__logo { width: 112px; height: auto; filter: brightness(0) invert(1); }
.loader__bar {
  width: 168px; height: 2px;
  border-radius: 2px;
  background: rgba(255,255,255,.08);
  overflow: hidden;
}
.loader__bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--blue-soft), var(--cyan));
  transform: scaleX(0);
  transform-origin: 0 50%;
  animation: load 1.6s var(--ease) forwards;
}
.loader__txt { font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; color: var(--faint); text-transform: uppercase; }
@keyframes load { to { transform: scaleX(1); } }
.loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }

/* ---- cursor ------------------------------------------------------------
   Ativado pelo JS so em mouse de verdade. Sem JS o cursor nativo fica.  */
.cursor {
  position: fixed;
  top: 0; left: 0;
  z-index: 9950;
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.cursor svg { width: 22px; height: 22px; margin: -2px 0 0 -2px; filter: drop-shadow(0 4px 10px rgba(226,98,42,.55)); }
.cursor__label {
  position: absolute;
  top: 18px; left: 18px;
  padding: 8px 14px;
  border-radius: 10px;
  white-space: nowrap;
  font-size: .78rem;
  font-weight: 500;
  color: #fff;
  background: var(--blue);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 10px 26px rgba(226,98,42,.45);
  opacity: 0;
  transform: scale(.8) translateY(4px);
  transform-origin: 0 0;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.cursor.has-label .cursor__label { opacity: 1; transform: none; }
html.has-cursor,
html.has-cursor * { cursor: none !important; }
html.has-cursor .cursor.is-on { opacity: 1; }

/* ======================================================================
   07. BOTOES
   ====================================================================== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 64px;
  padding: 0 96px 0 30px;
  border-radius: var(--r-md);
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
  background: linear-gradient(120deg, var(--blue-hi), var(--blue) 58%, var(--blue-lo));
  border: 1px solid rgba(255,184,138,.45);
  box-shadow: var(--shadow-blue), inset 0 1px 0 rgba(255,255,255,.3);
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
/* bloco do icone: ancorado na direita e cresce ate cobrir o botao no hover */
.btn__ico {
  position: absolute;
  top: 6px; right: 6px; bottom: 6px;
  width: 52px;
  border-radius: 11px;
  background: #fff;
  z-index: -1;
  transition: width .6s var(--ease);
}
.btn__arrow {
  position: absolute;
  right: 22px;
  top: 50%;
  width: 18px; height: 18px;
  margin-top: -9px;
  color: var(--blue);
  transition: transform .5s var(--ease);
}
.btn__label { transition: color .45s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 26px 60px -14px rgba(226,98,42,.8), inset 0 1px 0 rgba(255,255,255,.35); }
.btn:hover .btn__ico { width: calc(100% - 12px); }
.btn:hover .btn__label { color: var(--blue-lo); }
.btn:hover .btn__arrow { transform: translateX(3px); }
.btn:active { transform: translateY(0); }

/* vidro: botao secundario sobre foto ou fundo escuro */
.btn-glass {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 64px;
  padding: 0 30px;
  border-radius: var(--r-md);
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,.88);
  white-space: nowrap;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  border: 1px solid var(--stroke);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.btn-glass svg { width: 18px; height: 18px; flex: none; }
.btn-glass:hover { color: #fff; background: rgba(255,255,255,.12); border-color: var(--stroke-hi); }

/* versao para a folha clara */
.btn-line {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  padding: 0 24px;
  border-radius: var(--r-md);
  font-weight: 500;
  color: var(--paper-ink);
  border: 1px solid var(--paper-line);
  background: rgba(255,255,255,.6);
  transition: border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.btn-line svg { width: 18px; height: 18px; }
.btn-line:hover { color: var(--blue); border-color: rgba(226,98,42,.45); background: #fff; }

/* ======================================================================
   08. NAVEGACAO
   Transparente no topo; ao rolar vira uma pilula de vidro mais estreita.
   ====================================================================== */
.nav {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 9500;
  width: min(1240px, calc(100% - 32px));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 8px 8px 18px;
  border-radius: 20px;
  /* vidro escuro: tinta baixa, desfoque alto e saturacao para a cor de
     tras atravessar viva */
  background: linear-gradient(135deg, rgba(255,255,255,.09), rgba(255,255,255,.02) 55%, rgba(255,255,255,.05)), rgba(18,16,13,.32);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow:
    0 18px 50px -20px rgba(0,0,0,.75),
    inset 0 1px 0 rgba(255,255,255,.22),
    inset 0 -1px 0 rgba(255,255,255,.04);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  transition:
    width .7s var(--ease),
    background .5s var(--ease),
    border-color .5s var(--ease),
    box-shadow .5s var(--ease);
}
/* filete de luz na borda: o detalhe que vende o vidro */
.nav::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(255,255,255,.55), rgba(255,255,255,0) 30%, rgba(255,255,255,0) 70%, rgba(242,149,95,.6));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: .7;
  transition: opacity .5s var(--ease);
}
.nav.is-stuck {
  width: min(1040px, calc(100% - 32px));
  background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.02) 55%, rgba(255,255,255,.05)), rgba(18,16,13,.5);
}

/* sobre a folha clara o vidro vira claro e o texto escurece */
.nav.is-light {
  background: linear-gradient(135deg, rgba(255,255,255,.75), rgba(255,255,255,.4) 55%, rgba(255,255,255,.6));
  border-color: rgba(255,255,255,.8);
  box-shadow:
    0 18px 44px -22px rgba(13,12,10,.35),
    inset 0 1px 0 rgba(255,255,255,.9),
    inset 0 -1px 0 rgba(13,12,10,.05);
}
.nav.is-light::before { background: linear-gradient(120deg, rgba(255,255,255,1), rgba(255,255,255,0) 35%, rgba(226,98,42,.35)); }
.nav.is-light .nav__logo img { filter: brightness(0); }
.nav.is-light .nav__links a { color: rgba(13,12,10,.58); }
.nav.is-light .nav__links a:hover { color: var(--paper-ink); }
.nav.is-light .nav__links a.is-active { color: var(--paper-ink); background: rgba(13,12,10,.06); border-color: rgba(13,12,10,.1); }
.nav.is-light .burger { background: rgba(255,255,255,.6); border-color: rgba(13,12,10,.14); }
.nav.is-light .burger i { background: var(--paper-ink); }

/* ponto ao vivo branco: azul sobre o botao azul sumia */
.nav__cta .live::before { background: rgba(255,255,255,.7); }
.nav__cta .live::after  { background: #fff; box-shadow: 0 0 8px rgba(255,255,255,.8); }

.nav__logo img {
  width: clamp(64px, 6vw, 84px);
  height: auto;
  filter: brightness(0) invert(1);
  transition: opacity var(--t-fast) var(--ease);
}
.nav__logo:hover img { opacity: .75; }

.nav__links { display: flex; align-items: center; gap: 2px; }
.nav__links a {
  position: relative;
  padding: 9px 15px;
  border-radius: 12px;
  font-size: .86rem;
  color: rgba(255,255,255,.62);
  border: 1px solid transparent;
  white-space: nowrap;
  transition: color .45s var(--ease), background .45s var(--ease), border-color .45s var(--ease);
}
.nav__links a:hover { color: #fff; }
.nav__links a.is-active {
  color: #fff;
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.12);
}

.nav__right { display: flex; align-items: center; gap: 8px; }
.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 18px;
  border-radius: 13px;
  font-size: .86rem;
  font-weight: 500;
  color: #fff;
  background: var(--blue);
  border: 1px solid rgba(255,184,138,.5);
  box-shadow: 0 10px 28px -10px rgba(226,98,42,.9);
  transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.nav__cta:hover { background: var(--blue-hi); transform: translateY(-1px); }

.burger {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(16,14,12,.5);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.burger i {
  display: block;
  width: 17px; height: 1.5px;
  border-radius: 2px;
  background: #fff;
  transition: transform .4s var(--ease);
}
.nav.is-open .burger i:nth-child(1) { transform: translateY(3.25px) rotate(45deg); }
.nav.is-open .burger i:nth-child(2) { transform: translateY(-3.25px) rotate(-45deg); }

/* painel mobile */
.menu {
  position: fixed;
  top: 84px;
  left: 16px; right: 16px;
  z-index: 9400;
  padding: 22px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.14);
  background: linear-gradient(170deg, #141414, #050505);
  box-shadow: 0 40px 90px -20px #000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px) scale(.98);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
}
.menu.is-open { opacity: 1; visibility: visible; transform: none; }
.menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 4px;
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -.01em;
  color: #fff;
  border-bottom: 1px solid var(--line);
}
.menu a span { font-family: var(--mono); font-size: .7rem; color: var(--faint); }
.menu__note { margin-top: 20px; font-family: var(--mono); font-size: .68rem; letter-spacing: .06em; color: var(--faint); text-transform: uppercase; line-height: 1.9; }

@media (max-width: 1000px) {
  .nav__links { display: none; }
  .burger { display: flex; }
}
@media (max-width: 560px) {
  .nav__cta { display: none; }
}

/* ======================================================================
   09. HERO
   Fica preso no topo enquanto a folha clara sobe por cima dele.
   ====================================================================== */
.hero {
  position: sticky;
  top: 0;
  z-index: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: 140px 110px;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
}
.hero__media { position: absolute; inset: 0; z-index: -3; }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 72% center;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, #000 4%, rgba(0,0,0,.84) 30%, rgba(0,0,0,.16) 58%, rgba(0,0,0,.28) 100%),
    linear-gradient(180deg, rgba(0,0,0,.6) 0%, transparent 24%, transparent 62%, rgba(0,0,0,.92) 100%);
}
/* escurece conforme a folha sobe: o JS escreve --out de 0 a 1 */
.hero__dim {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background: #000;
  opacity: calc(var(--out, 0) * .7);
}

.hero__copy { position: relative; max-width: 700px; }
.hero h1 { margin-top: 0; }
.hero h1 em { font-style: normal; }
.hero .lead { margin-top: 26px; max-width: 46ch; color: rgba(255,255,255,.76); }

.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }

.hero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 15px;
  border-radius: 11px;
  font-size: .8rem;
  color: rgba(255,255,255,.82);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.14);
}
.chip svg { width: 14px; height: 14px; color: var(--blue-soft); }

/* "role para ver mais": orbe descendo pela haste */
.hint {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 3;
  display: grid;
  justify-items: center;
  gap: 10px;
  transform: translateX(-50%);
  font-size: .72rem;
  font-weight: 500;
  color: var(--blue-soft);
  text-align: center;
  line-height: 1.3;
}
.hint__stem { position: relative; width: 10px; height: 52px; display: flex; justify-content: center; }
.hint__stem::before {
  content: '';
  position: absolute;
  top: 4px; bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, var(--blue), rgba(226,98,42,.08));
  transform-origin: 50% 0;
  animation: stem 2.2s var(--ease) infinite;
}
.hint__stem::after {
  content: '';
  position: absolute;
  top: 0;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue-soft);
  box-shadow: 0 0 10px rgba(226,98,42,.9), 0 0 24px rgba(226,98,42,.5);
  animation: orb 2.2s var(--ease) infinite;
}
@keyframes stem { 0% { transform: scaleY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
@keyframes orb  { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(44px); opacity: 0; } }

@media (max-width: 860px) {
  .hero { align-items: flex-end; padding-block: 120px 64px; }
  .hero__media img { object-position: center top; }
  .hero__scrim {
    background: linear-gradient(180deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,.05) 16%, rgba(0,0,0,.55) 42%, #000 64%);
  }
  .hero__copy { max-width: none; }
  .hint { display: none; }
}
@media (max-width: 560px) {
  .hero__btns { flex-wrap: nowrap; gap: 8px; }
  .hero__btns .btn { flex: 1.4 1 0; height: 58px; padding: 0 58px 0 16px; font-size: .9rem; white-space: normal; line-height: 1.15; }
  .hero__btns .btn .btn__ico { width: 44px; }
  .hero__btns .btn .btn__arrow { right: 19px; }
  .hero__btns .btn-glass { flex: 1 1 0; height: 58px; padding: 0 12px; font-size: .9rem; justify-content: center; white-space: normal; text-align: center; line-height: 1.15; }
  .hero__btns .btn-glass svg { display: none; }
}

/* ======================================================================
   10. FOLHA CLARA
   Sobe por cima do hero. Cantos arredondados no topo marcam a virada.
   ====================================================================== */
.sheet {
  position: relative;
  z-index: 1;
  background: var(--paper);
  color: var(--paper-ink);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  box-shadow: 0 -40px 80px -30px rgba(0,0,0,.8);
}
.sheet h2, .sheet h3 { color: var(--paper-ink); }
.sheet .lead { color: var(--paper-muted); }
.sheet .tag { color: var(--blue); }

/* ---- 10.1 A dor: texto + acordeao de paineis escuros ------------------ */
.dor-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr);
  gap: clamp(32px, 4.4vw, 64px);
  align-items: center;
}
.dor-grid .lead { margin-top: 22px; font-size: .98rem; }
.dor-hint {
  margin-top: 26px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--paper-muted);
}
.dor-hint svg { width: 16px; height: 16px; color: var(--blue); }

.acc {
  display: flex;
  gap: 8px;
  height: clamp(380px, 54vh, 500px);
  min-width: 0;
}
.acc__item {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  border-radius: 20px;
  overflow: hidden;
  background: #050505;
  border: 1px solid rgba(13,12,10,.14);
  cursor: pointer;
  text-align: left;
  color: #fff;
  isolation: isolate;
  transition: flex .7s var(--ease), box-shadow .7s var(--ease);
}
.acc__item.is-active {
  flex: 4.2 1 0;
  box-shadow: 0 30px 60px -28px rgba(226,98,42,.65);
}
/* a foto de listras, cada painel num recorte diferente */
.acc__item::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url('../image/bg-laranja.webp') var(--bp, 50% 50%) / cover no-repeat;
  opacity: .55;
  transition: opacity .7s var(--ease), transform 1.2s var(--ease);
}
.acc__item.is-active::before { opacity: .9; transform: scale(1.06); }
.acc__item::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.1) 34%, rgba(0,0,0,.9) 100%);
}
.acc__num {
  position: absolute;
  top: 18px; left: 18px;
  font-family: var(--display);
  font-size: clamp(1.6rem, 2.4vw, 2.3rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.55);
  transition: color .6s var(--ease), -webkit-text-stroke-color .6s var(--ease);
}
.acc__item.is-active .acc__num { color: rgba(242,149,95,.25); -webkit-text-stroke-color: var(--blue-soft); }
.acc__body {
  position: absolute;
  left: 20px; right: 20px; bottom: 20px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.acc__item.is-active .acc__body { opacity: 1; transform: none; transition-delay: .22s; }
.acc__body h3 {
  font-size: clamp(1.05rem, 1.5vw, 1.4rem);
  color: #fff;
  white-space: nowrap;
}
.acc__body p {
  margin-top: 10px;
  max-width: 34ch;
  font-size: .92rem;
  line-height: 1.55;
  color: rgba(255,255,255,.78);
}

@media (max-width: 980px) {
  .dor-grid { grid-template-columns: 1fr; }
}
/* No celular o acordeao vira lista: tudo aberto, nada escondido */
@media (max-width: 700px) {
  .acc { flex-direction: column; height: auto; }
  .acc__item, .acc__item.is-active { flex: none; min-height: 150px; cursor: default; box-shadow: none; }
  .acc__item::before { opacity: .7; }
  .acc__body { opacity: 1; transform: none; }
  .acc__body h3 { white-space: normal; }
  .dor-hint { display: none; }
}

/* ---- 10.2 Virada: "É aí que o Trace entra" + bloco escuro da solucao --- */
.turn {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 40px;
  padding-block: clamp(28px, 3.4vw, 44px);
  border-top: 1px solid var(--paper-line);
  border-bottom: 1px solid var(--paper-line);
  margin-top: clamp(56px, 7vw, 96px);
}
.turn h3 { font-size: clamp(1.3rem, 2.3vw, 2.05rem); }
.turn h3 b { font-weight: 400; color: var(--blue); }
.turn a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: var(--blue);
  transition: gap var(--t-fast) var(--ease);
}
.turn a:hover { gap: 16px; }
.turn a svg { width: 18px; height: 18px; }

.solution {
  position: relative;
  margin-top: clamp(40px, 5vw, 64px);
  padding: clamp(28px, 4.4vw, 64px);
  border-radius: var(--r-xl);
  /* painel escuro liso: sem foto, sem degrade, so uma borda fina */
  background: var(--ink-2);
  border: 1px solid rgba(255,255,255,.06);
  color: var(--text);
  overflow: hidden;
}
.solution h2, .solution h3 { color: #fff; }
.solution .tag { color: var(--blue-soft); }
.solution .lead { color: var(--muted); }

.solution__top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.solution__top h2 { margin-top: 0; font-size: clamp(1.4rem, 2.3vw, 2.15rem); }
.solution__top .lead { margin-top: 20px; max-width: 46ch; }

/* tres passos como lista simples, separados por linhas finas */
.trio { display: grid; border-top: 1px solid rgba(255,255,255,.1); }
.trio li {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  font-size: 1rem;
  color: rgba(255,255,255,.86);
}
.trio b { font-family: var(--mono); font-weight: 500; font-size: .72rem; color: var(--blue-soft); }

@media (max-width: 900px) { .solution__top { grid-template-columns: 1fr; } }

/* fluxo VOCE > BRIEFING > RYAN > DESIGN > SEU PUBLICO: linha do tempo */
.flow {
  margin-top: clamp(40px, 5vw, 72px);
}
.flow__row { display: flex; align-items: center; gap: clamp(12px, 1.6vw, 22px); }
.flow__node {
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  white-space: nowrap;
}
.flow__node--hi { color: var(--blue-soft); }

.flow__link {
  position: relative;
  flex: 1 1 0;
  min-width: 16px;
  height: 1px;
  background: rgba(255,255,255,.14);
  overflow: hidden;
}
/* um traco discreto percorre a linha, sem brilho */
.flow__link::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 40%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue-soft), transparent);
  animation: travel 3.2s var(--ease) infinite;
}
.flow__link:nth-of-type(2)::after { animation-delay: .4s; }
.flow__link:nth-of-type(3)::after { animation-delay: .8s; }
.flow__link:nth-of-type(4)::after { animation-delay: 1.2s; }
@keyframes travel {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(250%); }
}
.flow__cap {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--faint);
}
@media (max-width: 560px) {
  .flow__row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .flow__link { flex: 0 0 18px; width: 1px; height: 18px; margin-left: 4px; }
  .flow__link::after { width: 1px; height: 40%; background: linear-gradient(180deg, transparent, var(--blue-soft), transparent); animation-name: travelY; }
  @keyframes travelY {
    0%   { transform: translateY(-100%); }
    100% { transform: translateY(250%); }
  }
}

/* ---- 10.3 Servicos: coluna fixa a esquerda, lista numerada a direita -- */
.svc-grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.svc-side { position: sticky; top: 112px; }
.svc-side h2 { margin-top: 0; }
.svc-side .lead { margin-top: 20px; max-width: 40ch; font-size: .96rem; }
.svc-side .btn { margin-top: 28px; }
/* indice dos servicos: acende conforme a lista rola ao lado */
.svc-index { margin-top: 26px; border-top: 1px solid var(--paper-line); }
.svc-index a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 2px;
  border-bottom: 1px solid var(--paper-line);
  font-size: .92rem;
  color: var(--paper-muted);
  transition: color var(--t-fast) var(--ease), padding-left var(--t-fast) var(--ease);
}
.svc-index a span { font-family: var(--mono); font-size: .66rem; letter-spacing: .06em; }
.svc-index a::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 3px; height: 14px;
  margin-top: -7px;
  border-radius: 2px;
  background: var(--blue);
  transform: scaleY(0);
  transition: transform var(--t-fast) var(--ease);
}
.svc-index a:hover { color: var(--paper-ink); }
.svc-index a.is-active { color: var(--paper-ink); padding-left: 14px; }
.svc-index a.is-active::before { transform: scaleY(1); }
.svc-index a.is-active span { color: var(--blue); }
@media (max-width: 900px) { .svc-index { display: none; } }

.svc-side__note {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--paper-muted);
}

.svc-list { display: grid; gap: clamp(64px, 7vw, 96px); min-width: 0; }
.svc__num { font-family: var(--mono); font-size: .72rem; color: var(--paper-muted); letter-spacing: .06em; }
.svc h3 { margin-top: 12px; font-size: clamp(1.25rem, 1.9vw, 1.75rem); }
.svc__img {
  margin-top: 24px;
  height: clamp(220px, 28vw, 320px);
  border-radius: 20px;
  overflow: hidden;
  background: var(--paper-2);
  border: 1px solid var(--paper-line);
  transition: box-shadow var(--t-mid) var(--ease), border-color var(--t-mid) var(--ease);
}
.svc__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease);
}
.svc__img:hover { border-color: rgba(226,98,42,.35); box-shadow: 0 30px 60px -30px rgba(226,98,42,.5); }
.svc__img:hover img { transform: scale(1.04); }
.svc p { margin-top: 22px; max-width: 54ch; font-size: .98rem; line-height: 1.7; color: var(--paper-muted); }
.svc__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.svc__tags span {
  padding: 8px 14px;
  border-radius: 10px;
  font-size: .78rem;
  color: var(--paper-muted);
  border: 1px solid var(--paper-line);
  transition: border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.svc__tags span:hover { color: var(--blue); border-color: rgba(226,98,42,.4); }

@media (max-width: 900px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc-side { position: static; }
}

/* ======================================================================
   11. BLOCO ESCURO
   Sobe por cima da folha clara do mesmo jeito que ela subiu no hero.
   ====================================================================== */
.dark {
  position: relative;
  z-index: 2;
  background: var(--ink-2);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  margin-top: calc(var(--r-xl) * -1);
}

/* ---- 11.1 Portfolio em cards empilhados ------------------------------ */
.stack {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: clamp(40px, 5vw, 60px);
  /* sangra alem do container, como na referencia */
  width: min(1440px, calc(100vw - 32px));
  margin-left: calc(50% - min(720px, calc(50vw - 16px)));
}
.stack__item { position: sticky; top: calc(96px + var(--i, 0) * 18px); }
.proj {
  position: relative;
  display: block;
  height: clamp(460px, 78vh, 760px);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--card);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 30px 70px rgba(0,0,0,.6);
  transform-origin: 50% 0;
  /* o JS escreve --s e --d enquanto o proximo card cobre este */
  transform: scale(var(--s, 1));
  filter: brightness(var(--b, 1));
}
.proj__img { position: absolute; inset: 0; }
.proj__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 1.2s var(--ease);
}
.proj:hover .proj__img img { transform: scale(1.025); }
.proj__veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0) 46%, rgba(0,0,0,.6) 100%);
}
.proj__cap {
  position: absolute;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 26px;
  padding: 22px 26px;
  border-radius: 18px;
  background: rgba(16,14,12,.5);
  border: 1px solid rgba(255,255,255,.16);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
}
.proj__text { flex: 1 1 320px; min-width: 0; }
.proj__title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.proj__title h3 { font-size: clamp(1.05rem, 1.5vw, 1.4rem); }
.proj__title span { font-size: .82rem; color: rgba(255,255,255,.7); }
.proj__text p { margin-top: 8px; max-width: 52ch; font-size: .9rem; line-height: 1.6; color: rgba(255,255,255,.86); }
.proj__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.proj__tags span {
  padding: 7px 12px;
  border-radius: var(--r-pill);
  font-size: .72rem;
  letter-spacing: .02em;
  color: #fff;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
}

/* No celular a legenda sai de cima do board e vai para baixo dele */
@media (max-width: 700px) {
  .stack { width: 100%; margin-left: 0; gap: 16px; }
  .stack__item { top: calc(84px + var(--i, 0) * 12px); }
  .proj { height: auto; }
  .proj__img { position: relative; aspect-ratio: 16 / 10; }
  .proj__veil { display: none; }
  .proj__cap {
    position: static;
    border-radius: 0;
    border: 0;
    border-top: 1px solid rgba(255,255,255,.08);
    background: var(--card);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    padding: 18px;
  }
}

/* fecho discreto: uma linha, sem titulo nem botao competindo com os cards */
.more {
  margin-top: clamp(40px, 5vw, 64px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 14px;
  font-size: .92rem;
  color: var(--faint);
  text-align: center;
}
.more a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.82);
  transition: color var(--t-fast) var(--ease);
}
.more a::after {
  content: "";
  position: absolute;
  left: 0; right: 22px; bottom: -3px;
  height: 1px;
  background: currentColor;
  opacity: .35;
  transform-origin: 0 50%;
  transition: opacity var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.more a svg { width: 14px; height: 14px; transition: transform var(--t-fast) var(--ease); }
.more a:hover { color: var(--blue-soft); }
.more a:hover::after { opacity: 1; }
.more a:hover svg { transform: translate(2px, -2px); }

/* ---- 11.2 Metodo: cards de processo empilhados ----------------------- */
.steps { display: flex; flex-direction: column; gap: 16px; margin-top: clamp(40px, 5vw, 56px); }
.steps__item { position: sticky; top: calc(108px + var(--i, 0) * 18px); }
.step {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 22px 26px;
  padding: clamp(26px, 3vw, 36px) clamp(22px, 3vw, 34px);
  padding-right: 90px;
  border-radius: 20px;
  background: #0A0A0A;
  border: 1px solid rgba(255,255,255,.08);
  overflow: hidden;
  transform-origin: 50% 0;
  transform: scale(var(--s, 1));
  filter: brightness(var(--b, 1));
  transition: border-color .5s var(--ease);
}
/* holofote que segue o mouse */
.step::before,
.cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: var(--go, 0);
  transition: opacity .6s var(--ease);
  background: radial-gradient(440px circle at var(--gx, 50%) var(--gy, 50%), rgba(242,149,95,.2), rgba(226,98,42,.08) 38%, transparent 70%);
}
.step:hover { border-color: rgba(242,149,95,.35); }
.step__num { position: relative; min-width: 52px; padding-top: 6px; font-family: var(--mono); font-size: .76rem; color: var(--blue-soft); }
.step__body { position: relative; flex: 1 1 300px; min-width: 0; }
.step__body h3 { font-size: clamp(1.15rem, 1.8vw, 1.55rem); }
.step__body p { margin-top: 10px; max-width: 60ch; font-size: .96rem; line-height: 1.65; color: var(--muted); }
.step__ico {
  position: absolute;
  top: 24px; right: 24px;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 13px;
  color: var(--blue-soft);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
}
.step__ico svg { width: 20px; height: 20px; }

/* ---- 11.3 Sistema de marca: lista de pontos de contato + camadas ------ */
.sys-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.sys-list { margin-top: 32px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.sys-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 15px 4px;
  border-bottom: 1px solid var(--line);
  font-size: .98rem;
  color: rgba(255,255,255,.86);
  transition: padding-left var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.sys-list li:hover { padding-left: 12px; color: #fff; }
.sys-list i {
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  flex: none;
  border-radius: 8px;
  color: var(--cyan);
  background: rgba(255,179,122,.1);
  border: 1px solid rgba(255,179,122,.3);
}
.sys-list i svg { width: 13px; height: 13px; }
.sys-list small { margin-left: auto; font-size: .82rem; color: var(--faint); text-align: right; }

.layers {
  position: relative;
  display: grid;
  gap: 34px;
  padding: clamp(26px, 3.4vw, 44px);
  border-radius: var(--r-xl);
  background: #000;
  border: 1px solid rgba(255,255,255,.1);
  overflow: hidden;
  isolation: isolate;
}
.layers::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url('../image/bg-laranja.webp') 30% 60% / cover no-repeat;
  opacity: .45;
}
.layers::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(90% 70% at 50% 40%, rgba(0,0,0,.35), #000 100%);
}
/* trilho vertical por tras das camadas, com pulso descendo */
.layers__rail {
  position: absolute;
  top: 60px; bottom: 60px;
  left: 50%;
  width: 1px;
  z-index: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.3), rgba(242,149,95,.5), rgba(255,255,255,.08));
}
.layers__rail::after {
  content: '';
  position: absolute;
  left: -3px; top: 0;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--blue-soft);
  box-shadow: 0 0 12px 3px rgba(242,149,95,.85);
  animation: railY 3.2s var(--ease) infinite;
}
@keyframes railY { 0% { top: 0; opacity: 0; } 15%, 85% { opacity: 1; } 100% { top: 100%; opacity: 0; } }

.layer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 22px;
  border-radius: 16px;
  background: linear-gradient(150deg, rgba(255,255,255,.1), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.16);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.layer b { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(.95rem, 1.4vw, 1.25rem); letter-spacing: .04em; color: #fff; }
.layer span { font-family: var(--mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.layer--hi {
  background: linear-gradient(150deg, rgba(226,98,42,.85), rgba(194,73,27,.55));
  border-color: rgba(255,184,138,.6);
  box-shadow: 0 20px 50px -18px rgba(226,98,42,.9), inset 0 1px 0 rgba(255,255,255,.3);
}
.layer--hi span { color: rgba(255,255,255,.75); }
.layers__cap { position: relative; z-index: 1; text-align: center; }
.layers__cap h3 { font-size: clamp(1.1rem, 1.8vw, 1.5rem); }
.layers__cap p { margin-top: 6px; font-size: .88rem; color: var(--muted); }

@media (max-width: 900px) { .sys-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .sys-list small { display: none; } }

/* ---- 11.4 Diferencial: manifesto ------------------------------------- */
.manifesto {
  position: relative;
  padding: clamp(36px, 6vw, 88px) clamp(24px, 5vw, 72px);
  border-radius: var(--r-xl);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255,255,255,.08);
  background: #000;
}
.manifesto::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url('../image/bg-laranja.webp') 50% 85% / cover no-repeat;
  opacity: .6;
}
.manifesto::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #000 18%, rgba(0,0,0,.66) 60%, rgba(0,0,0,.4) 100%);
}
.manifesto h2 {
  margin-top: 0;
  max-width: 20ch;
  font-size: clamp(1.6rem, 3.1vw, 2.8rem);
  line-height: 1.04;
}
.manifesto .lead { margin-top: 26px; color: rgba(255,255,255,.72); }
.nots { display: grid; gap: 8px; margin-top: 34px; max-width: 560px; }
.nots li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 18px;
  border-radius: 14px;
  font-size: .96rem;
  color: rgba(255,255,255,.6);
  background: rgba(0,0,0,.4);
  border: 1px solid rgba(255,255,255,.09);
}
.nots svg { width: 15px; height: 15px; color: rgba(255,255,255,.32); flex: none; }
.gain {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  padding: 18px 24px;
  border-radius: 16px;
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  font-weight: 500;
  color: rgba(255,255,255,.86);
  background: linear-gradient(150deg, rgba(226,98,42,.35), rgba(226,98,42,.08));
  border: 1px solid rgba(242,149,95,.45);
}
.gain strong { color: #fff; font-weight: 600; }
.gain svg { width: 20px; height: 20px; color: var(--blue-soft); flex: none; }

/* ---- 11.5 Para quem e: linhas como tabela ---------------------------- */
.who { margin-top: clamp(36px, 4.4vw, 56px); border-top: 1px solid var(--line); }
.who li {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 40px;
  align-items: center;
  gap: 16px;
  padding: clamp(18px, 2.2vw, 28px) 4px;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  letter-spacing: -.01em;
  color: rgba(255,255,255,.84);
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.who li:hover { color: #fff; background: linear-gradient(90deg, rgba(226,98,42,.1), transparent 70%); }
.who li > span { font-family: var(--mono); font-size: .72rem; color: var(--blue-soft); }
.who li svg { width: 20px; height: 20px; justify-self: end; color: rgba(255,255,255,.3); transition: transform var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.who li:hover svg { transform: translateX(4px); color: var(--blue-soft); }
.who-close {
  margin-top: clamp(28px, 3.4vw, 44px);
  font-family: var(--display);
  font-weight: 400; text-transform: uppercase; letter-spacing: .005em;
  font-size: clamp(1.1rem, 1.9vw, 1.65rem);
  line-height: 1.14;
  color: #fff;
  max-width: 30ch;
}
@media (max-width: 560px) { .who li { grid-template-columns: 44px minmax(0, 1fr) 24px; } }

/* ======================================================================
   12. RODAPE
   CTA gigante sobre um canvas de listras de luz (a foto do Trace, viva).
   ====================================================================== */
.footer {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: clamp(40px, 6vw, 96px) 16px 0;
  background: var(--ink-2);
}
.footer__fx {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 600px;
  z-index: 0;
  pointer-events: none;
}
.footer__fx canvas { width: 100%; height: 100%; }
.footer__fx::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--ink-2) 0%, rgba(10,9,8,0) 55%);
}

.cta-card {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 64px);
  border-radius: var(--r-lg);
  background: #0A0A0A;
  border: 1px solid rgba(255,255,255,.08);
  overflow: hidden;
}
.cta-card__top {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 34px;
}
.cta-card__main { min-width: 0; }
.cta-card h2 {
  margin-top: 0;
  font-size: clamp(1.6rem, 3.1vw, 2.8rem);
  line-height: 1.04;
  max-width: 24ch;
}
.cta-card__main > p { margin-top: 24px; max-width: 52ch; color: var(--muted); }
.cta-card__btns { display: flex; flex-wrap: wrap; gap: 10px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 20px;
  border-radius: 14px;
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255,255,255,.9);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  transition: background .4s var(--ease), border-color .4s var(--ease), color .4s var(--ease);
}
.pill svg { width: 17px; height: 17px; }
.pill:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); color: #fff; }
.pill--blue { background: var(--blue); border-color: var(--blue); color: #fff; }
.pill--blue:hover { background: var(--blue-hi); border-color: var(--blue-hi); }

.foot-cols {
  position: relative;
  margin-top: clamp(40px, 5vw, 56px);
  padding-top: 34px;
  border-top: 1px solid rgba(255,255,255,.07);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 30px 22px;
}
.foot-cols h4 { font-family: var(--mono); font-weight: 500; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.foot-cols ul { display: grid; gap: 10px; margin-top: 16px; }
.foot-cols a, .foot-cols li { font-size: .9rem; color: var(--muted); transition: color var(--t-fast) var(--ease); }
.foot-cols a:hover { color: #fff; }
.foot-cols .logo { width: 96px; height: auto; filter: brightness(0) invert(1); }
.foot-cols p { margin-top: 16px; font-size: .88rem; line-height: 1.6; color: var(--muted); max-width: 30ch; }

.foot-bar {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 22px 8px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 20px;
  font-size: .78rem;
  color: var(--faint);
}
.foot-space { height: clamp(140px, 18vw, 250px); }

/* ======================================================================
   13. MODAL DE BRIEFING
   ====================================================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 9800;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(6,5,4,.7);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s var(--ease), visibility .45s;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__box {
  width: min(540px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: clamp(22px, 3.4vw, 32px);
  border-radius: var(--r-lg);
  background: rgba(20,18,15,.96);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 40px 100px rgba(0,0,0,.7);
  transform: translateY(18px) scale(.97);
  transition: transform .5s var(--ease);
}
.modal.is-open .modal__box { transform: none; }
.modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.modal__head h2 { margin-top: 4px; font-size: clamp(1.25rem, 2.6vw, 1.7rem); line-height: 1.12; }
.modal__x {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 12px;
  color: var(--muted);
  border: 1px solid rgba(255,255,255,.12);
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.modal__x:hover { color: #fff; border-color: rgba(255,255,255,.3); }
.modal__x svg { width: 16px; height: 16px; }
.opts { display: grid; gap: 10px; margin-top: 24px; }
.opt {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 18px 12px 12px;
  border-radius: 16px;
  font-size: .95rem;
  line-height: 1.35;
  color: rgba(255,255,255,.82);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  transition: background .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
}
.opt strong { color: #fff; font-weight: 600; }
.opt:hover { background: rgba(226,98,42,.16); border-color: rgba(242,149,95,.5); transform: translateX(4px); }
.opt__ico {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  flex: none;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(150deg, rgba(226,98,42,.6), rgba(226,98,42,.18));
  border: 1px solid rgba(242,149,95,.35);
}
.opt__ico svg { width: 20px; height: 20px; }
.opt__go { margin-left: auto; color: rgba(255,255,255,.5); font-size: 1rem; }
.modal__note { margin-top: 16px; font-size: .78rem; color: var(--faint); }

/* ======================================================================
   14. SUPORTE FLUTUANTE
   ====================================================================== */
.support {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.support__card {
  width: min(330px, calc(100vw - 40px));
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(18,16,13,.88);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 24px 60px rgba(0,0,0,.6);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  backdrop-filter: blur(24px) saturate(140%);
  transform-origin: 100% 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(.96);
  transition: opacity .45s var(--ease), transform .45s var(--ease), visibility .45s;
}
.support.is-open .support__card { opacity: 1; visibility: visible; transform: none; }
.support__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.support__head .tag { font-size: .66rem; }
.support__x {
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  border-radius: 8px;
  color: var(--faint);
  border: 1px solid rgba(255,255,255,.12);
}
.support__x svg { width: 12px; height: 12px; }
.support__msgs { display: flex; flex-direction: column; gap: 8px; padding: 14px 0 16px; min-height: 112px; }
.bubble {
  align-self: flex-start;
  max-width: 92%;
  padding: 10px 14px;
  border-radius: 4px 14px 14px 14px;
  font-size: .86rem;
  line-height: 1.5;
  color: rgba(255,255,255,.9);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.08);
  animation: pop .45s var(--ease) both;
}
@keyframes pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.5); animation: dots 1.1s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dots { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-4px); opacity: 1; } }
.support__wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #04120a;
  background: var(--wa);
  transition: filter var(--t-fast) var(--ease);
}
.support__wa:hover { filter: brightness(1.08); }
.support__wa svg { width: 17px; height: 17px; }

.support__bar { display: flex; align-items: center; gap: 8px; }
.support__ico,
.support__pill {
  display: inline-flex;
  align-items: center;
  height: 48px;
  border-radius: 14px;
  background: rgba(18,16,13,.78);
  border: 1px solid rgba(255,255,255,.14);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
  box-shadow: 0 14px 40px -10px rgba(0,0,0,.8);
  color: #fff;
  transition: border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.support__ico { justify-content: center; width: 48px; color: var(--wa); }
.support__ico svg { width: 22px; height: 22px; }
.support__pill { gap: 10px; padding: 0 18px; font-size: .86rem; font-weight: 500; }
.support__ico:hover,
.support__pill:hover { border-color: rgba(255,255,255,.3); transform: translateY(-2px); }
@media (max-width: 560px) {
  .support { right: 14px; bottom: 14px; }
  .support__pill { display: none; }
}

/* ======================================================================
   14.1 PORTFOLIO DE PAGINAS (/portfolio-paginas)
   Cada projeto num card com moldura de navegador. No hover o print rola
   de cima a baixo: o JS mede a distancia e escreve --y e --dur.
   ====================================================================== */
.page-sub { background: var(--ink-2); }

.sub-hero {
  position: relative;
  padding: clamp(140px, 16vw, 200px) 0 clamp(24px, 3vw, 40px);
  overflow: hidden;
  isolation: isolate;
}
/* a luz das listras do Trace entrando pelo topo direito */
.sub-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("../image/bg-laranja.webp") 70% 30% / cover no-repeat;
  opacity: .5;
  -webkit-mask-image: radial-gradient(70% 90% at 85% 0%, #000 10%, transparent 70%);
  mask-image: radial-gradient(70% 90% at 85% 0%, #000 10%, transparent 70%);
}
.sub-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  z-index: -1;
  background: linear-gradient(180deg, transparent, var(--ink-2));
}
.sub-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  font-size: .86rem;
  color: var(--muted);
  transition: color var(--t-fast) var(--ease), gap var(--t-fast) var(--ease);
}
.sub-hero__back svg { width: 16px; height: 16px; transform: rotate(180deg); }
.sub-hero__back:hover { color: #fff; gap: 14px; }
.sub-hero h1 { font-size: clamp(1.9rem, 3.6vw, 3.3rem); }
.sub-hero .lead { margin-top: 22px; max-width: 54ch; }
.sub-hero__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
  margin-top: 34px;
}
.sub-hero__count {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--faint);
}

.pg-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(26px, 3vw, 40px); }
.pg-filters button {
  padding: 10px 18px;
  border-radius: 12px;
  font-size: .86rem;
  color: var(--muted);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.pg-filters button:hover { color: #fff; border-color: rgba(255,255,255,.22); }
.pg-filters button.is-active {
  color: #fff;
  background: var(--blue);
  border-color: rgba(255,184,138,.55);
  box-shadow: 0 10px 28px -12px rgba(226,98,42,.9);
}

.pg-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 3.4vw, 48px) clamp(18px, 2.2vw, 32px);
}
@media (max-width: 860px) { .pg-grid { grid-template-columns: minmax(0, 1fr); } }
.pg-card.is-hidden { display: none; }

/* moldura de navegador (e um botao: abre o pop-up) */
.pg-frame {
  display: block;
  width: 100%;
  padding: 0;
  text-align: left;
  cursor: zoom-in;
  border-radius: 18px;
  overflow: hidden;
  background: #0A0A0A;
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.9);
  transition: border-color var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease), transform var(--t-mid) var(--ease);
}
a.pg-frame:hover,
.pg-frame:hover {
  border-color: rgba(242,149,95,.45);
  box-shadow: 0 40px 80px -30px rgba(226,98,42,.45);
}
.pg-frame__view, .pg-frame__bar { display: block; }
.pg-frame__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.pg-frame__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.18); flex: none; }
.pg-frame__bar span {
  margin-left: 12px;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 5px 12px;
  border-radius: 8px;
  font-family: var(--mono);
  font-size: .68rem;
  color: var(--faint);
  background: rgba(0,0,0,.35);
}
.pg-frame__view {
  position: relative;
  height: clamp(260px, 30vw, 440px);
  overflow: hidden;
  background: #fff;
}
.pg-frame__view img {
  width: 100%;
  height: auto;
  min-height: 100%;
  object-fit: cover;
  object-position: top center;
  transform: translate3d(0, var(--y, 0px), 0);
  transition: transform var(--dur, .8s) cubic-bezier(.45,.05,.25,1);
}

/* selo "ver pagina completa" no canto, aparece no hover */
.pg-frame__hint {
  position: absolute;
  right: 14px; bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 12px;
  font-size: .8rem;
  font-weight: 500;
  color: #fff;
  background: rgba(16,14,12,.62);
  border: 1px solid rgba(255,255,255,.18);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
  pointer-events: none;
}
.pg-frame__hint svg { width: 14px; height: 14px; }
.pg-frame:hover .pg-frame__hint,
.pg-frame:focus-visible .pg-frame__hint { opacity: 1; transform: none; }
/* sem mouse o selo fica sempre visivel: e a unica pista de que o card abre */
@media (hover: none) { .pg-frame__hint { opacity: 1; transform: none; } }

.pg-meta { padding: 22px 4px 0; }
.pg-meta__top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.pg-chip {
  padding: 6px 12px;
  border-radius: var(--r-pill);
  font-size: .72rem;
  font-weight: 500;
  color: #cfe2ff;
  background: rgba(226,98,42,.16);
  border: 1px solid rgba(242,149,95,.35);
}
.pg-seg { font-family: var(--mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.pg-meta__title { margin-top: 14px; font-size: clamp(1.15rem, 1.7vw, 1.55rem); line-height: 1.12; }
.pg-meta__client { margin-top: 6px; font-size: .9rem; color: rgba(255,255,255,.72); }
.pg-meta__desc { margin-top: 10px; max-width: 58ch; font-size: .94rem; line-height: 1.65; color: var(--muted); }
.pg-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pg-tags li {
  padding: 6px 12px;
  border-radius: 10px;
  font-size: .76rem;
  color: var(--muted);
  border: 1px solid rgba(255,255,255,.1);
}
.pg-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--blue-soft);
  transition: gap var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.pg-live svg { width: 15px; height: 15px; }
.pg-live:hover { color: #fff; gap: 12px; }

/* ---- pop-up com a pagina inteira ------------------------------------ */
.pgv {
  position: fixed;
  inset: 0;
  z-index: 9800;
  display: grid;
  place-items: center;
  padding: clamp(10px, 2.4vw, 28px);
  background: rgba(6,5,4,.78);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s var(--ease), visibility .45s;
}
.pgv.is-open { opacity: 1; visibility: visible; }
.pgv__box {
  display: flex;
  flex-direction: column;
  width: min(1240px, 100%);
  height: 100%;
  max-height: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: #0A0A0A;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 50px 120px rgba(0,0,0,.75);
  transform: translateY(24px) scale(.98);
  transition: transform .55s var(--ease);
}
.pgv.is-open .pgv__box { transform: none; }

.pgv__bar {
  flex: none;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 10px 10px 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.pgv__dots { display: flex; gap: 7px; flex: none; }
.pgv__dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.2); }
.pgv__info { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 4px 12px; flex-wrap: wrap; }
.pgv__info strong { font-weight: 500; font-size: .95rem; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.pgv__info span { font-family: var(--mono); font-size: .7rem; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.pgv__acts { display: flex; align-items: center; gap: 6px; flex: none; }
.pgv__count { margin-right: 6px; font-family: var(--mono); font-size: .7rem; color: var(--faint); }
.pgv__btn {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  color: rgba(255,255,255,.75);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.pgv__btn:hover { color: #fff; border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.08); }
.pgv__btn svg { width: 16px; height: 16px; }
.pgv__live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: 12px;
  font-size: .86rem;
  font-weight: 500;
  color: #fff;
  background: var(--blue);
  border: 1px solid rgba(255,184,138,.5);
  transition: background var(--t-fast) var(--ease);
}
.pgv__live:hover { background: var(--blue-hi); }
.pgv__live svg { width: 14px; height: 14px; }
.pgv__live.is-off { display: none; }

.pgv__view {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #fff;
  outline: none;
}
.pgv__view img { display: block; width: 100%; height: auto; opacity: 0; transition: opacity .4s var(--ease); }
.pgv__view.is-ready img { opacity: 1; }
.pgv__loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  font-size: .86rem;
  color: var(--muted);
  background: #0A0A0A;
  transition: opacity .3s var(--ease), visibility .3s;
}
.pgv__loading span {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.15);
  border-top-color: var(--blue-soft);
  animation: girar .8s linear infinite;
}
@keyframes girar { to { transform: rotate(360deg); } }
.pgv__view.is-ready .pgv__loading { opacity: 0; visibility: hidden; }

@media (max-width: 640px) {
  .pgv { padding: 0; }
  .pgv__box { border-radius: 0; border: 0; }
  .pgv__dots, .pgv__count { display: none; }
  .pgv__bar { gap: 10px; padding: 8px 8px 8px 14px; }
  .pgv__live span { display: none; }
  .pgv__live { width: 40px; padding: 0; justify-content: center; }
  .pgv__acts { gap: 4px; }
}

/* ======================================================================
   15. ENTRADAS
   So com JS: sem ele, tudo aparece no lugar.
   ====================================================================== */
.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity .9s var(--ease) var(--d, 0s),
    transform .9s var(--ease) var(--d, 0s);
}
/* o hero entra desfocando, como na referencia. O blur e num titulo so,
   nao numa camada de pagina inteira, entao nao pesa. */
.js [data-reveal='blur'] {
  transform: scale(1.015);
  filter: blur(14px);
  transition:
    opacity 1.1s var(--ease) var(--d, 0s),
    transform 1.1s var(--ease) var(--d, 0s),
    filter 1.1s var(--ease) var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }

/* ======================================================================
   16. CELULAR E MOVIMENTO REDUZIDO
   ====================================================================== */
@media (hover: none) {
  .grain { display: none; }
  .layer, .btn-glass {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; filter: none; }
  .proj, .step { transform: none; filter: none; }
}


/* ==========================================================================
   RYAN PATRICK · assinatura em texto e secao Sobre mim
   ========================================================================== */
.wordmark {
  font: 400 1.3rem/1 var(--display);
  text-transform: uppercase; letter-spacing: .02em;
  color: #fff; white-space: nowrap;
}
.wordmark b { font-weight: 400; color: var(--blue); }
.nav__logo { text-decoration: none; }
.nav__logo:hover .wordmark { opacity: .75; }
.nav.is-light .wordmark { color: var(--paper-ink); }
.loader__logo.wordmark { width: auto; filter: none; font-size: 2.4rem; }
.foot-cols .wordmark { font-size: 1.7rem; }

.about {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5.5vw, 88px);
  align-items: center;
}
.about__foto {
  position: relative; margin: 0;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: #0D0C0A;
  box-shadow: 0 40px 80px -40px rgba(13,12,10,.55);
}
.about__foto img { width: 100%; height: 100%; object-fit: cover; }
.about__foto figcaption {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  display: flex; justify-content: space-between; gap: 12px;
  padding: 12px 16px; border-radius: 14px;
  font: 500 .7rem/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase;
  color: #fff;
  background: rgba(13,12,10,.55);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.14);
}
.about__foto figcaption b { font-weight: 500; color: var(--blue-soft); }
.about__kicker {
  font: 500 .74rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue-lo);
}
.about h2 { margin-top: 16px; color: var(--paper-ink); }
.about h2 b { font-weight: 400; color: var(--blue); }
.about .lead { margin-top: 22px; color: var(--paper-ink); max-width: 46ch; font-size: 1.08rem; }
.about__body { margin-top: 16px; display: grid; gap: 14px; max-width: 58ch; font-size: .96rem; line-height: 1.7; color: var(--paper-muted); }
.about__frentes { margin-top: 30px; border-top: 1px solid var(--paper-line); }
.about__frentes li {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 12px; align-items: baseline;
  padding: 14px 0; border-bottom: 1px solid var(--paper-line);
}
.about__frentes span { font: 500 .72rem var(--mono); color: var(--blue-lo); }
.about__frentes b { font: 400 1.05rem/1.1 var(--display); text-transform: uppercase; letter-spacing: .01em; color: var(--paper-ink); }
.about__frentes small { font-size: .86rem; line-height: 1.5; color: var(--paper-muted); }
.about__btns { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; }
  .about__foto { max-width: 440px; }
}
@media (max-width: 560px) {
  .about__frentes li { grid-template-columns: 32px minmax(0, 1fr); }
  .about__frentes small { grid-column: 2; }
}
