/* ============================================================
   SOUD v3 — cinematográfico
   Display: Bricolage Grotesque (variável: peso + largura + tamanho óptico)
   Texto:   Hanken Grotesk
   O laranja é o "ponto" da marca: começa pequeno no nome e cresce
   até se tornar o fundo do manifesto.
   ============================================================ */
@font-face {
  font-family: 'Bricolage';
  src: url(../fonts/bricolage.woff2) format('woff2-variations');
  font-weight: 200 800; font-stretch: 75% 100%; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Hanken';
  src: url(../fonts/hanken.woff2) format('woff2-variations');
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  --night: #0B0D12;
  --night-2: #151922;
  --paper: #F3F4F6;
  --white: #FFFFFF;
  --ink: #0E1116;
  --mute-d: #9BA2AE;   /* texto secundário no escuro */
  --mute-l: #5A606B;   /* texto secundário no claro */
  --line-d: rgba(255,255,255,.12);
  --line-l: #D8DBE0;
  --signal: #E85A1A;   /* laranja do logótipo */

  --display: 'Bricolage', 'Arial Narrow', system-ui, sans-serif;
  --text: 'Hanken', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1360px;
  --gutter: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(.2,.8,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--night); color: var(--white);
  font-family: var(--text); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
figure { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; letter-spacing: -0.03em; line-height: 1; font-optical-sizing: auto; }
h2 { font-size: clamp(40px, 6vw, 92px); font-stretch: 82%; letter-spacing: -0.035em; line-height: .95; }
p { margin: 0; }
::selection { background: var(--signal); color: var(--white); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--white); color: var(--ink); padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 28px; border-radius: 999px; border: 0;
  font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .3s var(--ease), background-color .2s ease, color .2s ease;
}
.btn-signal { background: var(--signal); color: var(--white); }
.btn-signal:hover { background: var(--white); color: var(--ink); }
.btn:active { transform: scale(.97); }

/* ---------- Progresso + navegação ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--signal); transform-origin: 0 50%; transform: scaleX(0); }

.nav {
  position: fixed; z-index: 110; top: 16px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 28px;
  padding: 8px 8px 8px 22px; border-radius: 999px;
  background: rgba(16, 19, 26, .62);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1);
  width: max-content; max-width: calc(100vw - 24px);
}
.nav-mark { font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: -0.02em; text-decoration: none; display: inline-flex; align-items: baseline; }
.nav-mark i, .foot-word i { display: inline-block; width: .2em; height: .2em; border-radius: 50%; background: var(--signal); margin-left: .06em; }
.nav nav { display: flex; gap: 24px; }
.nav nav a { text-decoration: none; font-size: 14.5px; color: #C7CCD4; transition: color .2s ease; }
.nav nav a:hover { color: var(--white); }
.nav-cta { text-decoration: none; font-size: 14.5px; font-weight: 600; background: var(--signal); color: var(--white); padding: 10px 18px; border-radius: 999px; transition: background-color .2s ease, color .2s ease; }
.nav-cta:hover { background: var(--white); color: var(--ink); }

/* ============================================================
   ENTRADA
   ============================================================ */
.intro {
  position: relative; height: 100vh; height: 100svh; min-height: 560px;
  overflow: hidden; background:
    radial-gradient(ellipse 60% 50% at 50% 55%, #1A2030 0%, var(--night) 70%);
  isolation: isolate;
}
.cloud { position: absolute; inset: 0; perspective: 1100px; transform-style: preserve-3d; z-index: 1; }
.fly {
  position: absolute; left: 50%; top: 50%;
  width: 22vw; /* o JS aplica a largura de data-w */
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.08);
  will-change: transform, opacity;
  transform: translate(-50%, -50%);
}
.fly img { width: 100%; height: auto; filter: saturate(.85) brightness(.72); }   /* fundo, não conteúdo */
.fly--phone { border-radius: 18px; padding: 4px; background: #05070A; }
.fly--phone img { border-radius: 14px; filter: none; }

.intro-word {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  pointer-events: none; text-align: center; padding: 0 var(--gutter);
}
.word {
  display: flex; align-items: baseline;
  font-family: var(--display); font-weight: 800; font-stretch: 75%;
  font-size: clamp(120px, 31vw, 560px); line-height: .78; letter-spacing: -0.045em;
  color: var(--white);
}
.ltr { display: inline-block; will-change: transform, opacity; }
.dot {
  display: inline-block; flex: none;
  width: .17em; height: .17em; border-radius: 50%;
  background: var(--signal); margin-left: .04em;
  will-change: transform;
  box-shadow: 0 0 60px rgba(232,90,26,.45);
}
.intro-line {
  margin-top: clamp(22px, 3vw, 40px);
  font-family: var(--display); font-weight: 500; font-stretch: 90%;
  font-size: clamp(19px, 2vw, 28px); letter-spacing: -0.015em; line-height: 1.25;
  color: #DDE1E7; max-width: 24ch;
}
.intro-foot {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: 28px;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 var(--gutter); font-size: 14px; color: var(--mute-d);
}
.hint { display: inline-flex; align-items: center; gap: 12px; }
.hint b { display: block; width: 1px; height: 36px; background: linear-gradient(var(--white), transparent); transform-origin: top; animation: hint 1.8s var(--ease) infinite; }
@keyframes hint { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* ============================================================
   MANIFESTO
   ============================================================ */
.manifesto {
  position: relative; z-index: 1;
  background: var(--signal); color: var(--night);
  padding: clamp(72px, 10vh, 120px) var(--gutter) clamp(100px, 16vh, 200px);
}
.mf-big {
  max-width: 1200px;
  font-family: var(--display); font-weight: 700; font-stretch: 90%;
  font-size: clamp(38px, 6vw, 96px); line-height: 1; letter-spacing: -0.035em;
}
.mf-big .w { display: inline-block; }
.mf-small { margin-top: clamp(32px, 5vw, 64px); max-width: 46ch; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.5; color: #2A1206; }

/* ============================================================
   TRABALHO
   ============================================================ */
.work { position: relative; background: var(--night); overflow: hidden; }
.work-pin { position: relative; padding: clamp(88px, 11vh, 120px) 0 40px; min-height: 100vh; }
.work-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding: 0 var(--gutter); margin-bottom: clamp(32px, 5vh, 56px); }
.work-hint { color: var(--mute-d); max-width: 30ch; text-align: right; }

.track { display: flex; gap: clamp(28px, 4vw, 64px); padding: 0 var(--gutter); will-change: transform; }
.proj { flex: none; width: min(62vw, 1000px, calc((100vh - 400px) * 1.6)); min-width: 480px; }
.work h2 { font-size: clamp(40px, 4.4vw, 68px); }
/* Sem animação (ou sem JS): a galeria passa a ter scroll horizontal normal */
html:not(.fx) .track { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 20px; }
html:not(.fx) .proj { scroll-snap-align: start; }
html:not(.js) .cloud { display: none; }
.screen {
  position: relative; border-radius: 16px; overflow: hidden; background: var(--night-2);
  box-shadow: 0 0 0 1px var(--line-d), 0 50px 100px -50px rgba(0,0,0,.9);
}
.bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: #1B2030; }
.bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.18); }
.bar em { font-style: normal; font-size: 12px; color: var(--mute-d); margin: 0 auto; transform: translateX(-20px); }
.screen video { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; background: var(--night-2); }

.proj-info { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.2fr) auto; gap: 8px 28px; align-items: start; margin-top: 22px; }
.proj-n { font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--signal); padding-top: 6px; }
.proj h3 { font-size: clamp(26px, 2.6vw, 38px); font-stretch: 85%; }
.proj-kind { color: var(--mute-d); font-size: 15px; margin-top: 6px; }
.proj-line { color: #C9CED6; font-size: 16px; max-width: 40ch; padding-top: 4px; }
.proj-go { text-decoration: none; font-weight: 600; font-size: 15px; padding: 9px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); transition: background-color .2s ease, color .2s ease; white-space: nowrap; }
.proj-go:hover { background: var(--white); color: var(--ink); }

.proj-end { flex: none; width: min(38vw, 520px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 28px; padding-right: var(--gutter); }
.proj-end p { font-family: var(--display); font-weight: 700; font-stretch: 80%; font-size: clamp(40px, 5vw, 80px); line-height: .95; letter-spacing: -0.035em; }

.work-rail { margin: 40px var(--gutter) 0; height: 2px; background: var(--line-d); border-radius: 2px; overflow: hidden; }
.work-rail span { display: block; height: 100%; background: var(--white); transform-origin: 0 50%; transform: scaleX(0); }

/* ============================================================
   SERVIÇOS
   ============================================================ */
.services { position: relative; background: var(--paper); color: var(--ink); padding: clamp(96px, 14vw, 180px) 0; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.sec-head p { color: var(--mute-l); max-width: 40ch; font-size: 18px; }
.svc { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.svc li {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 12px 64px; align-items: center;
  padding: clamp(22px, 3vw, 36px) 0; border-bottom: 1px solid var(--line-l);
  cursor: default;
}
.svc h3 {
  font-size: clamp(30px, 4.6vw, 68px); font-stretch: 80%; letter-spacing: -0.035em; line-height: 1;
  transition: transform .5s var(--ease), color .3s ease;
}
.svc p { color: var(--mute-l); max-width: 46ch; }
@media (hover: hover) {
  .svc li:hover h3 { transform: translateX(18px); color: var(--signal); }
}
/* Imagem que segue o cursor */
.peek {
  position: fixed; left: 0; top: 0; z-index: 60; pointer-events: none;
  width: 320px; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(14,17,22,.45);
  opacity: 0; transform: translate(-50%, -50%) scale(.85);
}
.peek img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* ============================================================
   PROCESSO
   ============================================================ */
.process { background: var(--paper); color: var(--ink); padding: 0 0 clamp(96px, 14vw, 180px); }
.process-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px clamp(40px, 7vw, 120px); align-items: start; }
.process-head { position: sticky; top: 120px; }
.process-head p { margin-top: 24px; color: var(--mute-l); max-width: 34ch; font-size: 18px; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 24px; padding: 36px 0; border-top: 1px solid var(--line-l); }
.steps li:last-child { border-bottom: 1px solid var(--line-l); }
.step-n { font-family: var(--display); font-weight: 800; font-stretch: 75%; font-size: 88px; line-height: .8; letter-spacing: -0.05em; color: var(--ink); }
.steps li:last-child .step-n { color: var(--signal); }
.steps h3 { font-size: clamp(26px, 2.4vw, 34px); font-stretch: 85%; }
.steps .when { font-size: 14px; color: var(--mute-l); margin-top: 6px; }
.steps p:not(.when) { margin-top: 14px; color: var(--mute-l); max-width: 44ch; }

/* ============================================================
   SOBRE
   ============================================================ */
.about { background: var(--white); color: var(--ink); padding: clamp(96px, 14vw, 180px) 0; }
.about-in { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.about-photo { border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--paper); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.about-text p { margin-top: 22px; font-size: 19px; max-width: 50ch; }
.about-text h2 + p { margin-top: 32px; }
.facts { display: flex; flex-wrap: wrap; gap: 20px 56px; margin: 44px 0 0; padding-top: 32px; border-top: 1px solid var(--line-l); }
.facts div { display: flex; flex-direction: column; }
.facts dt { order: 2; color: var(--mute-l); font-size: 15px; }
.facts dd { order: 1; margin: 0; font-family: var(--display); font-weight: 700; font-stretch: 80%; font-size: 48px; line-height: 1; letter-spacing: -0.04em; }

/* ============================================================
   PERGUNTAS
   ============================================================ */
.faq { background: var(--white); color: var(--ink); padding: 0 0 clamp(96px, 14vw, 180px); }
.faq-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 40px clamp(40px, 7vw, 120px); }
.faq-list details { border-bottom: 1px solid var(--line-l); }
.faq-list details:first-child { border-top: 1px solid var(--ink); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0; font-family: var(--display); font-weight: 600; font-stretch: 92%; font-size: clamp(19px, 1.8vw, 24px); letter-spacing: -0.02em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.pm { flex: none; width: 30px; height: 30px; position: relative; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-l); }
.pm::before, .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .3s var(--ease); }
.pm::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-list details p { padding: 0 0 28px; color: var(--mute-l); max-width: 62ch; }

/* ============================================================
   CONTACTO
   ============================================================ */
.contact { position: relative; overflow: hidden; background: var(--night); padding: clamp(110px, 15vw, 200px) 0 clamp(80px, 10vw, 140px); }
.glow { position: absolute; width: 900px; height: 900px; right: -260px; top: -380px; border-radius: 50%; background: radial-gradient(circle, rgba(232,90,26,.38), rgba(232,90,26,0) 65%); pointer-events: none; }
.contact-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 120px); }
.contact h2 { font-size: clamp(44px, 6vw, 96px); }
.contact-lede { margin-top: 28px; color: var(--mute-d); font-size: 19px; max-width: 40ch; }
.channels { list-style: none; padding: 0; margin: 44px 0 0; }
.channels li { border-top: 1px solid var(--line-d); }
.channels li:last-child { border-bottom: 1px solid var(--line-d); }
.channels a { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; text-decoration: none; transition: padding .3s var(--ease); }
.channels a span:last-child { color: var(--mute-d); }
.channels a:hover { padding-left: 10px; }
.channels a:hover span:first-child { color: var(--signal); }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-content: start; padding: clamp(24px, 3vw, 40px); border-radius: 22px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--line-d); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-size: 14px; color: #C7CCD4; padding: 0; }
.opt { color: var(--mute-d); }
.field input, .field textarea { width: 100%; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: 14px 16px; color: var(--white); font-size: 16px; transition: border-color .2s ease, background-color .2s ease; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--signal); background: rgba(255,255,255,.09); }
.field input::placeholder, .field textarea::placeholder { color: #7D8490; }
.err { display: none; font-size: 13px; color: #FF9F80; }
.field.is-bad input, .field.is-bad textarea { border-color: #FF9F80; }
.field.is-bad .err { display: block; }
.picks { display: flex; flex-wrap: wrap; gap: 8px; }
.pick { position: relative; }
.pick input { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.pick span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); font-size: 15px; cursor: pointer; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.pick input:checked + span { background: var(--white); color: var(--ink); border-color: var(--white); }
.pick input:focus-visible + span { outline: 2px solid var(--signal); outline-offset: 2px; }
.form .btn { grid-column: 1 / -1; justify-self: start; }
.form .btn[disabled] { opacity: .6; cursor: progress; }
.form-msg { grid-column: 1 / -1; font-size: 15px; color: #FF9F80; min-height: 1em; }
.done { display: none; padding: 36px; border-radius: 22px; box-shadow: inset 0 0 0 1px var(--line-d); }
.done h3 { font-size: 36px; }
.done p { margin-top: 12px; color: #C7CCD4; }
.is-sent .form { display: none; }
.is-sent .done { display: block; }

/* ---------- Rodapé ---------- */
.foot { background: var(--night); color: var(--mute-d); font-size: 14px; overflow: hidden; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; padding-top: 28px; padding-bottom: 28px; border-top: 1px solid var(--line-d); }
.foot nav { display: flex; flex-wrap: wrap; gap: 24px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--white); }
.foot-word {
  margin: 0 0 -0.16em; text-align: center; white-space: nowrap;
  font-family: var(--display); font-weight: 800; font-stretch: 75%;
  font-size: 30vw; line-height: .9; letter-spacing: -0.05em;
  color: #161A23;
}

/* ============================================================
   Responsivo
   ============================================================ */
@media (max-width: 1100px) {
  .proj-info { grid-template-columns: auto minmax(0, 1fr) auto; }
  .proj-line { grid-column: 2 / -1; }
}
@media (max-width: 900px) {
  body { font-size: 16px; }
  .nav { gap: 14px; }
  .nav nav { display: none; }
  .fly:nth-child(n+5) { display: none; }
  .work-head { flex-direction: column; align-items: flex-start; }
  .work-hint { text-align: left; }
  .work-hint { display: none; }
  .track { flex-direction: column; gap: 64px; }
  .proj { width: 100%; min-width: 0; }
  .proj-end { width: 100%; padding: 0; }
  .work-rail { display: none; }
  .sec-head, .svc li, .process-in, .about-in, .faq-in, .contact-in { grid-template-columns: 1fr; }
  .process-head { position: static; }
  .about-photo { max-width: 440px; }
  .steps li { grid-template-columns: 64px minmax(0, 1fr); }
  .step-n { font-size: 64px; }
}
@media (max-width: 600px) {
  .intro-foot span:first-child { display: none; }
  .intro-foot { justify-content: center; }
  .form { grid-template-columns: 1fr; padding: 20px; }
  .form .btn { width: 100%; }
  .facts dd { font-size: 38px; }
  .proj-info { grid-template-columns: auto minmax(0, 1fr); }
  .proj-go { grid-column: 2; justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
@media (max-width: 600px) { .word { font-size: 37vw; } }

/* ---------- RGPD: linha do formulário, rodapé e aviso de cookies ---------- */
.form-legal { grid-column: 1 / -1; font-size: 13px; color: var(--mute-d); }
.form-legal a, .faq-list details p a { color: inherit; }
.faq-list details p a { color: var(--ink); font-weight: 600; }
.link-btn { background: none; border: 0; padding: 0; cursor: pointer; color: inherit; font-size: inherit; }
.link-btn:hover { color: var(--white); }
.consent {
  position: fixed; z-index: 150; left: 16px; bottom: 16px;
  width: min(420px, calc(100vw - 32px));
  padding: 18px 18px 16px; border-radius: 18px;
  background: rgba(16, 19, 26, .9); color: #DDE1E7;
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 30px 60px -20px rgba(0,0,0,.6);
  font-size: 14px; line-height: 1.5;
}
.consent[hidden] { display: none; }
.consent a { color: var(--white); }
.consent-actions { display: flex; gap: 8px; margin-top: 14px; }
.consent-actions button { flex: 1; min-height: 42px; border-radius: 999px; border: 0; cursor: pointer; font-weight: 600; font-size: 14px; }
.consent-no { background: rgba(255,255,255,.1); color: var(--white); }
.consent-no:hover { background: rgba(255,255,255,.18); }
.consent-yes { background: var(--signal); color: var(--white); }
.consent-yes:hover { background: var(--white); color: var(--ink); }

/* ---------- Modo leve (aparelhos mais fracos) ---------- */
.lite .fly:nth-child(n+5) { display: none; }

/* ---------- Logótipo real (SVG): bola com brilho + "soud" ---------- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.logo-wrap { display: block; width: clamp(300px, 68vw, 1180px); }
.logo-big { display: block; width: 100%; height: auto; overflow: visible; }
.logo-big .ltr, .logo-big .dot { will-change: transform, opacity; }
.nav-mark { color: var(--white); }
.logo-sm { display: block; height: 22px; width: auto; }
.foot-word { margin: 0 0 -2vw; line-height: 0; text-align: center; }
.logo-foot { display: inline-block; width: 92vw; height: auto; color: #161A23; }
@media (max-width: 600px) { .logo-wrap { width: 86vw; } }

/* ---------- Hero: promessa com mais destaque + botões ---------- */
.intro-line {
  font-size: clamp(21px, 2.3vw, 32px); font-weight: 600; color: #F1F3F6; max-width: 26ch;
  text-shadow: 0 2px 24px rgba(0,0,0,.7);
}
.intro-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(22px, 2.6vw, 32px); pointer-events: auto; }
.intro-cta .btn { gap: 10px; }
.btn-glass {
  background: rgba(255,255,255,.08); color: var(--white);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.24);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.btn-glass:hover { background: var(--white); color: var(--ink); }
.btn-glass svg { color: #25D366; }
.btn-glass:hover svg { color: #128C4A; }
@media (max-width: 600px) {
  .intro-cta { flex-direction: column; align-items: stretch; width: min(320px, 100%); }
}

/* ============================================================
   Entrada "lente" (página de teste /v3/lente)
   ============================================================ */
.intro--lens { background: radial-gradient(ellipse 70% 60% at 50% 50%, #161B27 0%, var(--night) 72%); }
.lens-media { position: absolute; inset: 0; z-index: 1; clip-path: circle(0 at 50% 50%); -webkit-clip-path: circle(0 at 50% 50%); }
.lens-media video { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; background: #fff; will-change: transform; }
.lens-static .lens-media video { position: static; transform: none !important; width: 100% !important; height: 100% !important; }
.lens-ring {
  position: absolute; left: 0; top: 0; z-index: 2; pointer-events: none;
  border-radius: 50%; box-shadow: 0 0 0 2px var(--signal), 0 0 60px 6px rgba(232,90,26,.45);
  width: 0; height: 0;
}
.lens-tag { position: absolute; left: 0; top: 0; z-index: 3; margin: 0; pointer-events: none; opacity: 0; }
.lens-tag span { display: inline-block; white-space: nowrap; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--white); background: rgba(16,19,26,.7); box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.intro--lens .intro-word { z-index: 4; }
.intro--lens .intro-foot { z-index: 5; }
.hint-touch { display: none; }
@media (hover: none) { .hint-desk { display: none; } .hint-touch { display: inline; } }
/* sem movimento: o site aparece inteiro e escurecido atrás do logótipo */
.lens-static .lens-media { clip-path: none; -webkit-clip-path: none; opacity: .35; }
.lens-static .lens-ring, .lens-static .lens-tag { display: none; }

/* ---------- Ecrãs de toque: menos efeitos caros por frame ---------- */
.touch .fly { box-shadow: 0 0 0 1px rgba(255,255,255,.08); }
.touch .fly img { filter: none; opacity: .85; }
.touch .nav, .touch .lens-tag span, .touch .btn-glass, .touch .form { -webkit-backdrop-filter: none; backdrop-filter: none; }
.touch .nav { background: rgba(16, 19, 26, .94); }
.touch .btn-glass { background: rgba(255,255,255,.1); }
.touch .dot { box-shadow: none; }

/* ---------- Telemóvel: hero mais limpa ---------- */
.touch .btn-glass { background: #1B2130; }   /* sólido: não deixa ver os sites por trás */
.nav { transition: transform .45s var(--ease), visibility .45s; }
@media (max-width: 600px) {
  .at-top .nav { visibility: hidden; transform: translate(-50%, -24px); }
  .fly img, .lite .fly img, .touch .fly img { opacity: .5; }   /* os sites ficam como fundo */
}

/* ---------- Vídeos dos projectos sem "piscar" ----------
   A imagem fica sempre por baixo; o vídeo só aparece (com fade) quando já está a tocar. */
.screen { position: relative; }
.screen-poster { position: absolute; left: 0; bottom: 0; width: 100%; aspect-ratio: 16 / 10; height: auto; object-fit: cover; object-position: top; z-index: 0; }
.screen video { position: relative; z-index: 1; background: transparent; opacity: 0; transition: opacity .5s ease; }
.screen video.is-ready { opacity: 1; }
/* camadas 3D estáveis ao voltar para cima depressa */
.fly { -webkit-backface-visibility: hidden; backface-visibility: hidden; }

/* ---------- Trabalhos: destaque no projecto activo ---------- */
.proj .screen, .proj .proj-info { transition: opacity .6s ease, transform .6s var(--ease); }
.track.has-active .proj:not(.is-active) .screen { opacity: .38; transform: scale(.97); }
.track.has-active .proj:not(.is-active) .proj-info { opacity: .45; }
