/* ==========================================================
   BLACK SUMMIT FILMS — style.css
   Conceito: rolar a página = subir o Everest.
   Um medidor de altitude sobe de 0 a 8.849 m até o contato (o cume).
   Visual monocromático, tipografia condensada pesada, um único
   detalhe de cor: o ponto vermelho de REC.
   ========================================================== */

:root {
  color-scheme: dark;

  /* Cores */
  --ink: #0D0D0C;      /* Preto Cume — fundo */
  --ink-2: #151513;    /* superfícies */
  --ridge: #1D1C1A;    /* silhuetas da montanha */
  --line: #2A2927;     /* linhas finas */
  --fog: #ECEAE4;      /* Névoa — texto principal */
  --stone: #8F8C85;    /* Pedra — texto secundário */
  --dim: #5E5B55;      /* texto apagado (manifesto antes de acender) */
  --rec: #D4472A;      /* REC — usado só em detalhes */

  /* Tipografia */
  --display: "Archivo", "Arial Narrow", "Helvetica Neue", Impact, sans-serif;
  --body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  /* Espaçamento */
  --gutter: clamp(16px, 4vw, 56px);
  --hud-h: 64px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
/* Esconde a barra de rolagem, mantendo a rolagem */
html, body { scrollbar-width: none; -ms-overflow-style: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; width: 0; height: 0; }
.hero__title { min-width: 0; max-width: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ink);
  color: var(--fog);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--rec); color: var(--ink); }

a { color: inherit; }
img, svg, video { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--rec); outline-offset: 3px; }

.mono {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.display {
  font-family: var(--display);
  font-stretch: 62%;
  font-weight: 900;
  line-height: .84;
  letter-spacing: -.01em;
  text-transform: uppercase;
  margin: 0;
}

.dot {
  display: inline-block;
  width: .62em;
  height: .62em;
  border-radius: 50%;
  background: var(--rec);
  flex: none;
}
.dot.blink { animation: blink 1.2s steps(2, jump-none) infinite; }
@keyframes blink { 50% { opacity: .15; } }

.wrap { padding-inline: var(--gutter); }

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

/* ---------- Mundo 3D (fundo fixo) ---------- */
.world {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: -2; display: block; pointer-events: none;
}
.veil {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: var(--ink); opacity: 0;
}
.has-3d .hero__range { display: none; }
.has-3d .hero { isolation: auto; }
.has-3d .hero__title { mix-blend-mode: difference; }
.hero__title { transform-origin: 30% 60%; will-change: transform; }

/* Rolagem suave (Lenis) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- Abertura (loader) ---------- */
.intro { display: none; }
.js .intro {
  position: fixed; inset: 0; z-index: 80;
  display: grid; place-items: center;
  pointer-events: none;
}
.intro__bar {
  position: absolute; left: 0; right: 0; height: 50.5%;
  background: var(--ink);
  transition: transform .9s var(--ease);
}
.intro__bar--top { top: 0; }
.intro__bar--bottom { bottom: 0; }
.intro__slate {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  transition: opacity .3s ease;
}
.intro__tc { font-size: 15px; display: flex; align-items: center; gap: 12px; font-variant-numeric: tabular-nums; }
.intro__name { color: var(--stone); }
.intro.is-done .intro__bar--top { transform: translateY(-101%); }
.intro.is-done .intro__bar--bottom { transform: translateY(101%); }
.intro.is-done .intro__slate { opacity: 0; }
.intro.is-gone { display: none; }

/* ---------- HUD (barra fixa) ---------- */
.hud {
  position: fixed; top: 0; left: 0; right: 0; z-index: 75;
  padding: env(safe-area-inset-top, 0px) var(--gutter) 0;
  pointer-events: none;
}
.hud__row {
  height: var(--hud-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.hud a, .hud button { pointer-events: auto; }

.mark {
  display: inline-flex; align-items: flex-start; gap: 6px;
  text-decoration: none;
  font-family: var(--display); font-stretch: 62%; font-weight: 900;
  font-size: 22px; line-height: .86; text-transform: uppercase; letter-spacing: 0;
}
.mark__stack { display: flex; flex-direction: column; }
.mark svg { width: 22px; height: 11px; margin-top: 1px; }

.nav { display: flex; gap: 28px; }
.nav a { text-decoration: none; color: var(--stone); transition: color .2s; }
.nav a:hover, .nav a.is-active { color: var(--fog); }

.hud__right { display: flex; align-items: center; gap: 22px; }
.tc { display: flex; align-items: center; gap: 10px; font-variant-numeric: tabular-nums; }

.menu-btn {
  display: none;
  background: none; border: 1px solid var(--line);
  min-height: 44px; padding: 0 16px; cursor: pointer;
}

/* Medidor de altitude (cantos inferiores) */
.alt {
  position: fixed; z-index: 50; bottom: 0; left: 0; right: 0;
  padding: 0 var(--gutter) calc(18px + env(safe-area-inset-bottom, 0px));
  display: flex; justify-content: space-between; align-items: flex-end;
  pointer-events: none; color: var(--stone);
}
.alt__meter { display: flex; align-items: flex-end; gap: 12px; }
.alt__value { color: var(--fog); font-variant-numeric: tabular-nums; }
.alt__track { width: 2px; height: 64px; background: var(--line); position: relative; overflow: hidden; }
.alt__fill {
  position: absolute; left: 0; right: 0; bottom: 0; height: 100%;
  background: var(--fog); transform-origin: bottom; transform: scaleY(0);
}
.alt__label { display: flex; flex-direction: column; gap: 4px; }

/* ---------- Menu em tela cheia (celular) ---------- */
.overlay {
  position: fixed; inset: 0; z-index: 70;
  background: var(--ink);
  padding: calc(var(--hud-h) + env(safe-area-inset-top, 0px) + 24px) var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .6s var(--ease);
  visibility: hidden;
}
.overlay.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
.overlay__eyebrow {
  display: flex; justify-content: space-between; color: var(--stone);
  opacity: 0; transition: opacity .4s ease;
}
.overlay__links { display: flex; flex-direction: column; margin-top: auto; margin-bottom: 40px; }
.overlay__links a {
  position: relative; text-decoration: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 14px 0;
}
.overlay__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--line); transform: scaleX(0); transform-origin: left;
  transition: transform .2s ease;
}
.ov__mask { display: block; overflow: hidden; padding-block: .06em; }
.ov__name {
  display: block; font-size: clamp(34px, 9vw, 54px);
  transform: translateY(110%);
  transition: transform .25s ease, color .25s ease;
}
.ov__alt {
  display: inline-flex; align-items: center; gap: 8px; color: var(--stone); font-size: 11px;
  opacity: 0; transform: translateX(-10px);
  transition: opacity .2s ease, transform .2s ease;
}
.overlay__links a:hover .ov__name, .overlay__links a:focus-visible .ov__name { color: var(--stone); }
.overlay__foot {
  display: flex; justify-content: space-between; color: var(--stone); flex-wrap: wrap; gap: 8px 16px;
  opacity: 0; transition: opacity .4s ease;
}

/* Abrindo: linhas desenham, nomes sobem um por um, altitudes aparecem */
.overlay.is-open .overlay__eyebrow { opacity: 1; transition-delay: .35s; }
.overlay.is-open .overlay__links a::after {
  transform: scaleX(1);
  transition: transform .9s var(--ease) calc(.25s + var(--i) * .07s);
}
.overlay.is-open .ov__name {
  transform: translateY(0);
  transition: transform .9s var(--ease) calc(.3s + var(--i) * .07s), color .25s ease;
}
.overlay.is-open .ov__alt {
  opacity: 1; transform: translateX(0);
  transition: opacity .6s ease calc(.55s + var(--i) * .07s), transform .6s var(--ease) calc(.55s + var(--i) * .07s);
}
.overlay.is-open .overlay__foot { opacity: 1; transition-delay: .8s; }

/* ---------- Cursor (só mouse) ---------- */
.cursor { display: none; }
@media (pointer: fine) {
  .has-cursor, .has-cursor a, .has-cursor button { cursor: none; }
  .has-cursor .cursor {
    display: grid; place-items: center;
    position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none;
    width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
    border: 1px solid var(--fog);
    transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, border-color .35s;
    mix-blend-mode: difference;
  }
  .has-cursor .cursor__label { opacity: 0; color: var(--ink); transition: opacity .2s; font-size: 11px; }
  .has-cursor .cursor.is-link { width: 46px; height: 46px; margin: -23px 0 0 -23px; }
  .has-cursor .cursor.is-label {
    width: 92px; height: 92px; margin: -46px 0 0 -46px;
    background: var(--fog); border-color: var(--fog); mix-blend-mode: normal;
  }
  .has-cursor .cursor.is-label .cursor__label { opacity: 1; }
}

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: space-between;
  padding-top: calc(var(--hud-h) + env(safe-area-inset-top, 0px) + 28px);
  padding-bottom: 120px;
  overflow: hidden;
  isolation: isolate;
}
.hero__range { position: absolute; inset: auto 0 0 0; z-index: -1; pointer-events: none; }
.hero__range svg { width: 100%; height: clamp(300px, 62vh, 640px); }
.layer { will-change: transform; }

.hero__top { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--stone); }

.hero__title { display: flex; align-items: flex-start; gap: clamp(10px, 1.6vw, 22px); }
.hero__title .display { font-size: clamp(92px, 25vw, 330px); }
.hero__title .display span { display: block; }
.hero__peak { width: clamp(52px, 9vw, 130px); margin-top: .5vw; flex: none; overflow: visible; }
.hero__peak .summit { animation: pulse 2.4s ease-in-out infinite; transform-origin: 58px 6px; }
@keyframes pulse { 50% { transform: scale(1.45); opacity: .7; } }

.hero__foot {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap;
}
.hero__lead { max-width: 30ch; font-size: clamp(18px, 2vw, 24px); line-height: 1.35; margin: 0; text-wrap: balance; }
.hero__scroll { display: flex; align-items: center; gap: 12px; color: var(--stone); }
.hero__scroll i {
  width: 1px; height: 40px; background: var(--line); position: relative; overflow: hidden; display: block;
}
.hero__scroll i::after {
  content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--fog);
  animation: drip 1.8s var(--ease) infinite;
}
@keyframes drip { to { top: 100%; } }

/* Faixas de cinema (2.39:1) que se abrem */
.letterbox { position: absolute; left: 0; right: 0; height: 9vh; background: #000; z-index: 2; pointer-events: none; transition: transform 1.1s var(--ease) .2s; }
.letterbox--top { top: 0; }
.letterbox--bottom { bottom: 0; }
.is-ready .letterbox--top { transform: translateY(-100%); }
.is-ready .letterbox--bottom { transform: translateY(100%); }

/* ==========================================================
   SEÇÕES
   ========================================================== */
.section { position: relative; padding-block: clamp(96px, 14vw, 200px); }
.section__head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--line); padding-top: 18px; margin-bottom: clamp(40px, 7vw, 96px);
  color: var(--stone);
}
.section__head b { color: var(--fog); font-weight: 500; }

/* Manifesto */
.manifesto__text {
  font-family: var(--display); font-stretch: 75%; font-weight: 800;
  font-size: clamp(38px, 7.2vw, 112px); line-height: .98; letter-spacing: -.015em;
  text-transform: uppercase; margin: 0; max-width: 16ch; text-wrap: balance;
}
.manifesto__text .w { color: var(--dim); transition: color .35s ease; }
.manifesto__text .w.is-lit { color: var(--fog); }
.manifesto__text .w.accent.is-lit { color: var(--fog); }
.manifesto__sign { margin-top: 48px; display: flex; align-items: center; gap: 12px; color: var(--stone); }

/* ---------- Trabalhos (rolo horizontal) ---------- */
.reel { position: relative; }
.reel__sticky { position: relative; }
.reel__track {
  position: relative; perspective: 1600px;
  display: flex; gap: clamp(16px, 2.4vw, 32px);
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding-inline: var(--gutter); padding-bottom: 16px;
  scrollbar-width: none;
}
.reel__track::-webkit-scrollbar { display: none; }
.reel.is-pinned { padding-block: 0; }
.reel.is-pinned .reel__sticky {
  position: sticky; top: 0; height: 100vh;
  display: flex; flex-direction: column; justify-content: center; overflow: hidden;
  padding-top: var(--hud-h); padding-bottom: 96px;
}
.reel.is-pinned .section__head { margin-bottom: 28px; }
.reel.is-pinned .frame { width: min(78vw, 980px, calc((100vh - 330px) * 2.39)); }
.reel.is-pinned .reel__track { overflow: visible; will-change: transform; padding-bottom: 0; }

.frame {
  flex: none; width: min(86vw, 980px);
  scroll-snap-align: center;
  text-decoration: none;
  display: flex; flex-direction: column; gap: 14px;
}
.frame__screen {
  position: relative; aspect-ratio: 2.39 / 1; max-width: 100%;
  overflow: hidden; background: var(--ink-2);
}
.frame__img { position: absolute; inset: -6%; transition: transform 1.2s var(--ease); }
.frame:hover .frame__img { transform: scale(1.04); }
.frame__img svg { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: auto; }

/* Cada "filme" tem sua própria gradação de cor */
.g-1 { background: linear-gradient(180deg, #2B2A2F 0%, #6E5E57 52%, #B88A66 70%, #2A2421 71%, #0E0D0C 100%); }
.g-2 { background: linear-gradient(180deg, #121B22 0%, #2C4250 48%, #7D8E93 66%, #182025 67%, #0B0E10 100%); }
.g-3 { background: linear-gradient(180deg, #1A1414 0%, #4A2A24 50%, #A0533D 68%, #221614 69%, #0D0A0A 100%); }
.g-4 { background: linear-gradient(180deg, #DAD6CE 0%, #A9A49B 55%, #8D877E 66%, #3A3733 67%, #181715 100%); }

.frame__hud {
  position: absolute; inset: 0; padding: clamp(10px, 1.6vw, 20px);
  display: flex; flex-direction: column; justify-content: space-between;
  color: var(--fog); font-size: 11px;
}
.frame__hud > div { display: flex; justify-content: space-between; gap: 12px; }
.frame__hud span { display: inline-flex; align-items: center; gap: 8px; }
.corner { position: absolute; width: 18px; height: 18px; border: 0 solid rgba(236, 234, 228, .85); }
.corner.tl { left: 10px; top: 10px; border-top-width: 1.5px; border-left-width: 1.5px; }
.corner.tr { right: 10px; top: 10px; border-top-width: 1.5px; border-right-width: 1.5px; }
.corner.bl { left: 10px; bottom: 10px; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.corner.br { right: 10px; bottom: 10px; border-bottom-width: 1.5px; border-right-width: 1.5px; }

.frame__play {
  position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px;
  border-radius: 50%; border: 1px solid rgba(236, 234, 228, .7);
  display: grid; place-items: center; transition: transform .4s var(--ease), background .3s;
}
.frame:hover .frame__play { transform: scale(1.12); background: rgba(13, 13, 12, .35); }
.frame__play svg { width: 16px; height: 16px; margin-left: 3px; }

.frame { transform-origin: 50% 50%; will-change: transform; }
.has-cursor .frame__play { display: none; }

/* Último quadro do rolo */
.frame--end .frame__screen { background: var(--fog); color: var(--ink); }
.frame--end .frame__hud { color: var(--ink); }
.frame--end .corner { border-color: var(--ink); }
.frame__end {
  position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%);
  text-align: center; font-size: clamp(56px, 9vw, 140px); color: var(--ink);
}
.frame__end .dot { width: .16em; height: .16em; margin-left: .06em; vertical-align: top; margin-top: .1em; }

.frame__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.frame__title { font-size: clamp(34px, 5vw, 64px); }
.frame__meta .mono { color: var(--stone); }

.reel__hint { display: flex; justify-content: space-between; gap: 16px; color: var(--stone); padding: 28px var(--gutter) 0; flex-wrap: wrap; }
.reel__bar { flex: 1; min-width: 120px; max-width: 320px; height: 1px; background: var(--line); position: relative; align-self: center; }
.reel__bar i { position: absolute; inset: 0; background: var(--fog); transform-origin: left; transform: scaleX(0); }

/* Navegação do rolo */
.reel__hint { align-items: center; }
.reel__count { font-variant-numeric: tabular-nums; color: var(--fog); }
.reel__nav { display: flex; gap: 8px; }
.reel__btn, .player__arrow {
  width: 52px; height: 52px; display: grid; place-items: center;
  background: transparent; border: 1px solid var(--line); color: var(--fog); cursor: pointer;
  transition: background .25s, color .25s, border-color .25s;
}
.reel__btn svg, .player__arrow svg { width: 22px; height: 12px; }
.reel__btn:hover, .player__arrow:hover { background: var(--fog); color: var(--ink); border-color: var(--fog); }
.reel__btn:disabled { opacity: .3; pointer-events: none; }

/* ---------- Player em tela cheia ---------- */
.player {
  position: fixed; inset: 0; z-index: 85;
  background: #000;
  display: flex; flex-direction: column;
  padding: env(safe-area-inset-top, 0px) var(--gutter) env(safe-area-inset-bottom, 0px);
  animation: playerIn .6s var(--ease);
}
@keyframes playerIn { from { clip-path: inset(50% 0 50% 0); } to { clip-path: inset(0 0 0 0); } }
.player__bar, .player__foot {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 72px; color: var(--stone); flex-wrap: wrap;
}
.player__rec { display: inline-flex; align-items: center; gap: 10px; color: var(--fog); }
.player__close {
  background: none; border: 1px solid var(--line); min-height: 44px; padding: 0 18px; cursor: pointer; color: var(--fog);
}
.player__close:hover { border-color: var(--fog); }
.player__stage {
  flex: 1; min-height: 0;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(8px, 2vw, 24px);
}
.player__screen {
  position: relative; width: 100%; max-width: calc((100vh - 170px) * 16 / 9); margin: 0 auto;
  aspect-ratio: 16 / 9; background: var(--ink-2); overflow: hidden;
}
.player__screen iframe, .player__screen video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.player__empty {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  text-align: center; padding: 24px;
}
.player__empty .display { font-size: clamp(40px, 7vw, 96px); }
.player__empty p { margin: 0; color: var(--stone); max-width: 40ch; }

@media (max-width: 700px) {
  .player__stage { grid-template-columns: 1fr; }
  .player__arrow { display: none; }
  .player__foot span:last-child { display: none; }
}

/* ---------- Serviços ---------- */
.services { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.service {
  position: relative;
  display: grid; grid-template-columns: 70px minmax(0, 1fr) minmax(0, 32ch); align-items: center; gap: 24px;
  padding: clamp(18px, 2.4vw, 28px) 0;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}
.service::before {
  content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: -1;
  background: var(--fog); transform: scaleY(0); transform-origin: bottom;
  transition: transform .5s var(--ease);
}
.service__code { color: var(--stone); }
.service__name { font-size: clamp(44px, 8vw, 120px); transition: transform .5s var(--ease); }
.service__desc { margin: 0; color: var(--stone); font-size: 15px; }
.service__tag { color: var(--rec); margin-left: 10px; font-size: 11px; vertical-align: middle; }
@media (hover: hover) {
  .service:hover::before { transform: scaleY(1); }
  .service:hover { color: var(--ink); }
  .service:hover .service__code, .service:hover .service__desc { color: #3E3C38; }
  .service:hover .service__name { transform: translateX(14px); }
}

/* ---------- Processo (perfil de escalada) ---------- */
.climb { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; align-items: end; }
.camp {
  border-left: 1px solid var(--line);
  padding: 0 clamp(10px, 1.4vw, 20px);
  display: flex; flex-direction: column; gap: 14px;
}
.camp:nth-child(1) { padding-top: 300px; }
.camp:nth-child(2) { padding-top: 240px; }
.camp:nth-child(3) { padding-top: 180px; }
.camp:nth-child(4) { padding-top: 120px; }
.camp:nth-child(5) { padding-top: 60px; }
.camp:nth-child(6) { padding-top: 0; }
.camp__alt { color: var(--stone); font-variant-numeric: tabular-nums; display: flex; align-items: center; gap: 8px; }
.camp__name { font-size: clamp(28px, 3.2vw, 46px); }
.camp p { margin: 0; color: var(--stone); font-size: 15px; }
.camp:last-child .camp__alt { color: var(--fog); }

/* ---------- Contato ---------- */
.contact__title { font-size: clamp(76px, 16vw, 250px); }
.contact__title .row { display: flex; align-items: flex-start; gap: .12em; }
.contact__grid {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px);
  margin-top: clamp(48px, 7vw, 96px);
}
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; }
/* Painéis do contato: mantêm a leitura enquanto a montanha aparece atrás */
.has-3d .form, .has-3d .direct {
  background: rgba(13, 13, 12, .62);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  padding: clamp(20px, 3vw, 36px);
  align-self: start;
}
.has-3d .direct { border-top: 0; }
.has-3d .direct__item:last-child { border-bottom: 0; }
.field { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { color: var(--stone); }
.field input, .field select, .field textarea {
  background: transparent; color: var(--fog);
  border: 0; border-bottom: 1px solid var(--line);
  padding: 10px 0 12px; font: inherit; font-size: 18px; border-radius: 0;
  transition: border-color .2s;
  width: 100%;
}
.field select option { background: var(--ink); }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--fog); }

.btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 64px; padding: 0 26px;
  background: var(--fog); color: var(--ink); border: 0; cursor: pointer;
  text-decoration: none;
  transition: background .3s, color .3s;
}
.btn:hover { background: var(--rec); color: var(--ink); }
.btn--full { grid-column: 1 / -1; width: 100%; }
.btn svg { width: 22px; height: 12px; }

.form__note { grid-column: 1 / -1; color: var(--stone); font-size: 14px; margin: -8px 0 0; }
.form__note[data-state="error"] { color: var(--rec); }

.direct { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.direct__item {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; min-width: 0;
}
.direct__item > div { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.direct__item .mono { color: var(--stone); }
.direct__value { font-size: clamp(18px, 2vw, 24px); overflow-wrap: anywhere; user-select: all; }
.copy {
  background: none; border: 1px solid var(--line); min-height: 44px; padding: 0 14px; cursor: pointer; flex: none;
}
.copy:hover { border-color: var(--fog); }
.arrow { width: 22px; height: 12px; flex: none; transition: transform .3s var(--ease); }
a.direct__item:hover .arrow { transform: translateX(6px); }

/* ---------- Rodapé ---------- */
.footer { position: relative; overflow: hidden; padding-top: clamp(80px, 10vw, 140px); }
.footer__meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; color: var(--stone); padding-bottom: 28px; }
.footer__word {
  display: flex; align-items: flex-start; gap: 1.5vw;
  font-size: 14vw; line-height: .78; margin-bottom: -2vw;
  color: var(--fog); white-space: nowrap;
}
.footer__word svg { width: 9vw; margin-top: 1vw; flex: none; }

/* ---------- Animação de entrada (parte do estado visível) ---------- */
.rise { transform: translateY(0); transition: transform 1.1s var(--ease); }
.js-motion .rise:not(.is-in) { transform: translateY(36px); }

/* ==========================================================
   RESPONSIVO
   ========================================================== */
@media (max-width: 1000px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; align-items: center; }
  .service { grid-template-columns: 52px minmax(0, 1fr); }
  .service__desc { grid-column: 2; }
  .climb { grid-template-columns: 1fr; gap: 0; }
  .camp { padding: 24px 0 24px 22px !important; border-left: 1px solid var(--line); position: relative; }
  .camp::before { content: ""; position: absolute; left: -4px; top: 30px; width: 7px; height: 7px; background: var(--fog); }
  .camp:last-child::before { background: var(--rec); border-radius: 50%; }
  .contact__grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --hud-h: 58px; }
  body { font-size: 16px; }
  .tc__label { display: none; }
  .hero { padding-bottom: 104px; }
  .hero__top span:nth-child(2) { display: none; }
  .form { grid-template-columns: 1fr; }
  .alt__track { height: 44px; }
  .alt__coords { display: none; }
  .frame { width: 88vw; }
  .frame__play { width: 48px; height: 48px; margin: -24px 0 0 -24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .grain { display: none; }
}
