/* ==========================================================================
   vistaAI — v1
   A página inteira funciona como uma linha do tempo de edição:
   rolar = mover a agulha (playhead). Timecode em 24 fps.
   ========================================================================== */

/* Archivo (fonte variável, licença OFL) embutida no site: funciona sem internet */
@font-face {
  font-family: "Archivo";
  src: url("../assets/fonts/archivo-var.woff") format("woff");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Cor: preto predominante, vermelho em segundo, creme em terceiro */
  --carbon: #0f0f0e;      /* 1. fundo: preto, mas não preto total */
  --carbon-2: #161514;    /* superfícies levemente elevadas */
  --carbon-3: #1e1c1b;
  --line: #2b2926;        /* fios e divisórias */
  --red: #ee2e24;         /* 2. vermelho vistaAI: títulos, ações, agulha, contato */
  --red-text: #ee2e24;    /* texto vermelho sobre o preto */
  --red-deep: #c21e15;    /* vermelho mais escuro, sobre o vermelho */
  --red-dim: #2a0f0c;     /* vermelho apagado, blocos sobre o preto */
  --cream: #fff1e0;       /* 3. creme (letras claras): só onde a leitura importa */
  --ash: #8f897e;         /* texto secundário, cinza quente */
  --bone: var(--cream);
  --rec: var(--red);
  --ink-on-red: rgba(15, 15, 14, 0.62); /* texto secundário sobre o vermelho (preto) */

  /* Ruído */
  --grain: 0.03;          /* 3% */

  /* Tipo */
  --font: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --step--1: 0.8125rem;   /* 13 */
  --step-0: 1rem;         /* 16 */
  --step-1: 1.25rem;      /* 20 */
  --step-2: clamp(1.5rem, 1.1rem + 1.2vw, 2.125rem);
  --step-3: clamp(2.25rem, 1.2rem + 4.2vw, 5.5rem);
  --step-4: clamp(3rem, 1rem + 8vw, 10rem);

  /* Espaço */
  --gutter: clamp(16px, 3vw, 44px);   /* margem lateral */
  --col-gap: clamp(12px, 1.4vw, 20px); /* espaço entre colunas */
  --section: clamp(96px, 14vw, 220px);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: auto;
  background: var(--carbon);
}

body {
  margin: 0;
  background: var(--carbon);
  color: var(--bone);
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.5;
  font-stretch: 100%;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img, video, canvas { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }

:focus-visible {
  outline: 1px solid var(--red);
  outline-offset: 4px;
}

::selection { background: var(--red); color: var(--cream); }

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

.tc { font-variant-numeric: tabular-nums; letter-spacing: 0.01em; }

/* ---------- Ruído (3%) ---------- */
.grain {
  position: fixed;
  inset: -100px;
  z-index: 9000;
  pointer-events: none;
  opacity: var(--grain);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1.6 -0.35'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.9s steps(5) infinite;
}

@keyframes grain {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-38px, 22px); }
  40%  { transform: translate(24px, -46px); }
  60%  { transform: translate(-56px, -12px); }
  80%  { transform: translate(44px, 36px); }
  100% { transform: translate(0, 0); }
}

/* ==========================================================================
   Claquete (abertura)
   ========================================================================== */
.slate {
  position: fixed;
  inset: 0;
  z-index: 8000;
  display: grid;
  place-items: center;
  background: var(--red);
  transition: clip-path 0.9s var(--ease-in-out);
  clip-path: inset(0 0 0 0);
}

.slate.is-out { clip-path: inset(0 0 100% 0); }
.slate.is-gone { display: none; }

.slate__flash {
  position: absolute;
  inset: 0;
  background: var(--bone);
  opacity: 0;
  pointer-events: none;
}

.slate.is-clap .slate__flash { animation: flash 0.16s steps(1) 1; }

@keyframes flash {
  0% { opacity: 0.92; }
  100% { opacity: 0; }
}

.slate__board {
  width: min(440px, 84vw);
  color: var(--bone);
  transform: rotate(-1.2deg);
}

.slate__clapper {
  position: relative;
  height: 74px;
}

.slate__stick {
  position: absolute;
  left: 0;
  right: 0;
  height: 34px;
  background:
    repeating-linear-gradient(118deg,
      var(--bone) 0 34px,
      var(--carbon) 34px 68px);
  border: 2px solid var(--carbon);
}

.slate__stick--bottom { bottom: 0; }

.slate__stick--top {
  bottom: 38px;
  transform-origin: 2px 100%;
  transform: rotate(0deg);
}

.slate.is-open .slate__stick--top {
  transform: rotate(-21deg);
  transition: transform 0.32s var(--ease-out);
}

.slate.is-clap .slate__stick--top {
  transform: rotate(0deg);
  transition: transform 0.09s cubic-bezier(0.7, 0, 1, 0.6);
}

.slate__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 2px solid var(--carbon);
  border-top: 0;
  background: var(--carbon);
  box-shadow: 0 30px 60px -20px rgba(60, 0, 0, 0.45);
}

.slate__grid > div {
  padding: 10px 12px 12px;
  border-right: 1px solid rgba(236, 233, 226, 0.35);
  border-top: 1px solid rgba(236, 233, 226, 0.35);
  min-height: 72px;
}

.slate__grid > div:nth-child(3n) { border-right: 0; }

.slate__grid .slate__wide {
  grid-column: span 3;
  border-right: 0;
}

.slate__grid span {
  display: block;
  font-size: 11px;
  color: var(--ash);
  margin-bottom: 4px;
}

.slate__grid strong {
  display: block;
  font-weight: 700;
  font-stretch: 112%;
  font-size: 22px;
  line-height: 1.1;
}

.slate__grid .slate__wide strong {
  font-size: clamp(30px, 8vw, 42px);
  font-stretch: 125%;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* ==========================================================================
   Cursor (visor de câmera)
   ========================================================================== */
.cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 7000;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.cursor.is-visible { opacity: 1; }

.cursor__dot {
  position: absolute;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: var(--red);
  transition: transform 0.35s var(--ease-out), opacity 0.2s, background-color 0.3s;
}

.cursor.is-link .cursor__dot { transform: scale(5); opacity: 0.4; }
.cursor.is-onred .cursor__dot { background: var(--carbon); }

.cursor__frame {
  position: absolute;
  width: 132px;
  height: 76px;
  margin: -38px 0 0 -66px;
  opacity: 0;
  transform: scale(0.4);
  transition: transform 0.45s var(--ease-out), opacity 0.25s;
}

.cursor__frame i {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 0 solid var(--cream);
}

.cursor__frame i:nth-child(1) { left: 0; top: 0; border-left-width: 1.5px; border-top-width: 1.5px; }
.cursor__frame i:nth-child(2) { right: 0; top: 0; border-right-width: 1.5px; border-top-width: 1.5px; }
.cursor__frame i:nth-child(3) { left: 0; bottom: 0; border-left-width: 1.5px; border-bottom-width: 1.5px; }
.cursor__frame i:nth-child(4) { right: 0; bottom: 0; border-right-width: 1.5px; border-bottom-width: 1.5px; }

.cursor__label {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--cream);
  font-size: 12px;
  font-weight: 600;
  font-stretch: 112%;
}

.cursor.is-play .cursor__frame { opacity: 1; transform: scale(1); }
.cursor.is-play .cursor__dot { opacity: 0; transform: scale(0.2); }

@media (pointer: coarse), (hover: none) {
  .cursor { display: none; }
}

/* ==========================================================================
   HUD (topo)
   ========================================================================== */
.hud {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 6000;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 20px var(--gutter);
  pointer-events: none;
}

.hud > * { pointer-events: auto; }

.hud__logo,
.hud__menu { color: var(--cream); transition: color 0.4s; }
.hud__nav a { color: var(--ash); transition: color 0.4s; }
.hud__nav a:hover,
.hud__nav a.is-current { color: var(--cream); }
.hud__tc { color: var(--ash); transition: color 0.4s; }

/* quando o topo passa sobre o vermelho (contato, menu aberto) */
.hud-red .hud__logo { color: var(--carbon); }
.hud-red .hud__logo span,
.hud-red .hud__menu,
.hud-red .hud__nav a { color: var(--cream); }
.hud-red .hud__tc,
.hud-red .hud__nav a:not(.is-current):not(:hover) { color: var(--ink-on-red); }
.hud-red .hud__nav a::after { background: var(--cream); }
.hud-red .rec-dot { background: var(--carbon); }

.hud__logo {
  justify-self: start;
  font-size: 21px;
  font-weight: 800;
  font-stretch: 125%;
  letter-spacing: -0.035em;
  line-height: 1;
}

.hud__logo span {
  font-weight: 500;
  font-stretch: 80%;
  letter-spacing: 0;
  margin-left: 1px;
  color: var(--red);
  transition: color 0.4s;
}

.hud__nav {
  display: flex;
  gap: clamp(18px, 2.4vw, 40px);
  font-size: 14px;
  font-weight: 500;
}

.hud__nav a {
  position: relative;
  padding: 4px 0;
}

.hud__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease-out);
}

.hud__nav a:hover::after,
.hud__nav a.is-current::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hud__right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
}

.rec-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rec);
  animation: rec 1.6s steps(1) infinite;
}

@keyframes rec {
  0%, 60% { opacity: 1; }
  61%, 100% { opacity: 0.15; }
}

.hud__menu {
  display: none;
  font-size: 14px;
  font-weight: 600;
  padding: 6px 0 6px 14px;
}

/* Menu mobile */
.menu {
  position: fixed;
  inset: 0;
  z-index: 5900;
  background: var(--red);
  color: var(--carbon);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 96px var(--gutter) 64px;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.7s var(--ease-in-out);
  visibility: hidden;
}

.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; }

.menu a {
  display: block;
  font-size: clamp(44px, 13vw, 88px);
  font-weight: 800;
  font-stretch: 125%;
  letter-spacing: -0.045em;
  line-height: 1.02;
  padding: 4px 0;
}

.menu p { margin-top: 32px; color: var(--ink-on-red); font-size: 14px; }

/* ==========================================================================
   Linha do tempo (rodapé fixo)
   ========================================================================== */
.timeline {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5800;
  padding: 26px var(--gutter) 14px;
  background: linear-gradient(to top, rgba(15, 15, 14, 0.85), rgba(15, 15, 14, 0));
  pointer-events: none;
  transition: transform 0.6s var(--ease-out), opacity 0.6s;
}

.timeline.is-hidden { transform: translateY(100%); opacity: 0; }

.timeline__track {
  position: relative;
  height: 22px;
}

.timeline__rail {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--line);
}

.timeline__fill {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  background: var(--red);
  transform-origin: left;
  transform: scaleX(0);
}

.timeline__head {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 1px;
  height: 14px;
  background: var(--rec);
  will-change: transform;
}

.timeline__head::before {
  content: "";
  position: absolute;
  top: -5px;
  left: -4px;
  border: 4.5px solid transparent;
  border-top: 6px solid var(--rec);
}

.timeline__marker {
  position: absolute;
  bottom: 0;
  pointer-events: auto;
  padding: 0 0 7px 7px;
  font-size: 12px;
  color: var(--ash);
  white-space: nowrap;
  transition: color 0.3s;
}

.timeline__marker::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 1px;
  height: 9px;
  background: var(--ash);
}

.timeline__marker:hover,
.timeline__marker.is-current { color: var(--cream); }

.tl-red .timeline { background: none; }
.tl-red .timeline__rail { background: rgba(15, 15, 14, 0.25); }
.tl-red .timeline__fill,
.tl-red .timeline__head,
.tl-red .timeline__marker::before { background: var(--carbon); }
.tl-red .timeline__head::before { border-top-color: var(--carbon); }
.tl-red .timeline__marker { color: var(--ink-on-red); }
.tl-red .timeline__marker:hover,
.tl-red .timeline__marker.is-current { color: var(--cream); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  height: 240vh;
}

.hero__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: var(--carbon);
}

.hero__media,
.reel__media,
.clip__media,
.preview__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #050505;
}

.hero__media canvas,
.hero__media video,
.reel__media canvas,
.reel__media video,
.clip__media canvas,
.clip__media video,
.preview__media canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__media video,
.clip__media video,
.reel__media video { opacity: 0; transition: opacity 0.6s; }

.has-video video { opacity: 1 !important; }

/* Máscara: o fundo multiplica a filmagem (quase preto),
   as letras brancas deixam a filmagem passar inteira. */
.hero__mask {
  position: absolute;
  inset: 0;
  background: var(--carbon);
  mix-blend-mode: multiply;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: calc(var(--gutter) * 2.6);
  /* recorta a palavra ampliada ao tamanho da tela: sem isso o navegador
     cria uma camada gigante e a página pisca */
  overflow: hidden;
  contain: strict;
}

.hero__word {
  color: #fff;
  font-weight: 900;
  font-stretch: 125%;
  font-size: 29vw;
  line-height: 0.78;
  letter-spacing: -0.06em;
  white-space: nowrap;
  padding-right: 0.04em;
}

.hero__word .ch {
  display: inline-block;
  transform: translateY(0);
}

.is-intro .hero__word .ch {
  transform: translateY(105%);
}

.hero__word.is-rising .ch {
  transition: transform 1.25s var(--ease-out);
  transition-delay: calc(var(--i) * 70ms);
}

.hero__probe {
  display: inline-block;
  width: 0;
  height: 0;
  vertical-align: baseline;
}

.hero__meta {
  position: absolute;
  top: clamp(96px, 16vh, 168px);
  left: var(--gutter);
  right: var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  will-change: opacity, transform;
}

.hero__lead {
  max-width: 30ch;
  font-size: var(--step-2);
  line-height: 1.22;
  font-weight: 500;
  font-stretch: 100%;
  letter-spacing: -0.012em;
  text-wrap: pretty;
}

.hero__reel {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px 14px 16px;
  border: 1px solid var(--red);
  background: var(--red);
  color: var(--cream);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.35s, color 0.35s, border-color 0.35s;
}

.hero__reel:hover {
  background: var(--cream);
  color: var(--carbon);
  border-color: var(--cream);
}

.hero__reel .play {
  width: 0;
  height: 0;
  border-left: 9px solid currentColor;
  border-top: 5.5px solid transparent;
  border-bottom: 5.5px solid transparent;
}

.hero__reel .tc { color: var(--ink-on-red); font-weight: 500; }
.hero__reel:hover .play { color: var(--carbon); }
.hero__reel:hover .tc { color: #55534f; }

.hero__side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 22px;
}

.hero__now {
  text-align: right;
  font-size: 12px;
  color: var(--ash);
  line-height: 1.5;
}

.hero__now strong { color: var(--red-text); font-weight: 600; }

.is-intro .hero__meta,
.is-intro .hero__now { opacity: 0; }

.hero__meta.is-in,
.hero__now.is-in { transition: opacity 1s 0.6s; }

.link-line { color: var(--red-text); }

.work__end p {
  font-size: var(--step-2);
  font-weight: 600;
  font-stretch: 112%;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.link-line {
  position: relative;
  align-self: flex-start;
  font-weight: 600;
  padding-bottom: 4px;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  transition: background-size 0.5s var(--ease-out);
}

.link-line:hover { background-size: 0% 1px; background-position: right bottom; }

/* ==========================================================================
   Manifesto
   ========================================================================== */
.manifesto {
  position: relative;
  z-index: 2;
  background: var(--carbon);
  padding: var(--section) var(--gutter);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gutter);
}

.manifesto__label {
  grid-column: 1 / 4;
  color: var(--red-text);
  font-size: 14px;
  padding-top: 0.6em;
}

.manifesto__text {
  grid-column: 4 / 13;
  max-width: 24ch;
  font-size: var(--step-3);
  font-weight: 600;
  font-stretch: 108%;
  letter-spacing: -0.035em;
  line-height: 1.04;
  text-wrap: balance;
}

.manifesto__text .w {
  opacity: 0.16;
  transition: opacity 0.25s linear;
}

.manifesto__text .w.is-on { opacity: 1; }

/* ==========================================================================
   Serviços
   ========================================================================== */
.services {
  position: relative;
  z-index: 2;
  background: var(--carbon);
  padding: 0 var(--gutter) var(--section);
}

.section-head {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gutter);
  align-items: end;
  margin-bottom: clamp(40px, 6vw, 88px);
}

.section-head h2 {
  grid-column: 1 / 9;
  font-size: var(--step-3);
  font-weight: 800;
  font-stretch: 125%;
  letter-spacing: -0.045em;
  line-height: 0.92;
  text-wrap: balance;
  color: var(--red);
}

.section-head p {
  grid-column: 9 / 13;
  color: var(--ash);
  font-size: 15px;
  max-width: 36ch;
}

.service {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gutter);
  align-items: baseline;
  padding: clamp(18px, 2.2vw, 30px) 0;
  border-top: 1px solid var(--line);
  transition: color 0.4s;
}

.service:last-child { border-bottom: 1px solid var(--line); }

.service__name {
  grid-column: 1 / 8;
  font-size: clamp(28px, 0.8rem + 3vw, 60px);
  font-weight: 700;
  font-stretch: 112%;
  letter-spacing: -0.04em;
  line-height: 1;
  transition: transform 0.6s var(--ease-out);
}

.service__desc {
  grid-column: 8 / 12;
  color: var(--ash);
  font-size: 15px;
  max-width: 38ch;
}

.service__fmt {
  grid-column: 12 / 13;
  justify-self: end;
  font-size: 12px;
  color: var(--ash);
  white-space: nowrap;
}

.services__list:hover .service { color: #4a4641; }
.services__list:hover .service .service__desc { color: #4a4641; }
.services__list .service:hover { color: var(--red); }
.services__list .service:hover .service__fmt { color: var(--cream); }
.services__list .service:hover .service__desc { color: var(--ash); }
.services__list .service:hover .service__name { transform: translateX(clamp(8px, 1.2vw, 20px)); }

/* prévia que segue o cursor */
.preview {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 50;
  width: clamp(220px, 22vw, 380px);
  aspect-ratio: 16 / 10;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.85);
  transition: opacity 0.3s, transform 0.5s var(--ease-out);
  overflow: hidden;
}

.preview.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* ==========================================================================
   Processo (blocos proporcionais aos dias)
   ========================================================================== */
.process {
  position: relative;
  z-index: 2;
  background: var(--carbon);
  padding: 0 var(--gutter) var(--section);
}

.process__track {
  display: flex;
  gap: 3px;
}

.step {
  flex: var(--days) 1 0;
  min-width: 190px;
}

.step__bar {
  position: relative;
  height: 52px;
  background: var(--red-dim);
  border-left: 2px solid var(--red);
  display: flex;
  align-items: center;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 500;
  color: #d9a59d;
  white-space: nowrap;
  overflow: hidden;
}

.step__body { padding: 22px 18px 0 0; }

.step__title {
  font-size: var(--step-1);
  font-weight: 700;
  font-stretch: 112%;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.step__text {
  color: var(--ash);
  font-size: 15px;
  max-width: 34ch;
}

.process__scale {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--ash);
}

/* ==========================================================================
   Contato
   ========================================================================== */
.contact {
  position: relative;
  z-index: 2;
  background: var(--red);
  color: var(--cream);
  padding: var(--section) var(--gutter) 0;
  overflow: hidden;
}

.contact__title {
  color: var(--carbon);
  font-size: var(--step-4);
  font-weight: 800;
  font-stretch: 125%;
  letter-spacing: -0.055em;
  line-height: 0.86;
}

.contact__row {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gutter);
  row-gap: 48px;
  margin-top: clamp(40px, 6vw, 96px);
}

.contact__intro {
  grid-column: 1 / 6;
  font-size: var(--step-1);
  line-height: 1.35;
  max-width: 30ch;
}

.contact__mail {
  display: inline-block;
  margin-top: 28px;
  font-size: var(--step-2);
  font-weight: 700;
  font-stretch: 112%;
  letter-spacing: -0.02em;
}

.contact__col { grid-column: span 2; font-size: 15px; }
.contact__col:first-of-type { grid-column: 7 / 9; }

.contact__col h3 {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-on-red);
  margin-bottom: 12px;
}

.contact__col li + li { margin-top: 4px; }

.contact__col a { transition: color 0.3s; }
.contact__col a:hover { color: var(--ink-on-red); }
.contact ::selection { background: var(--carbon); color: var(--cream); }
.contact :focus-visible { outline-color: var(--carbon); }

.contact__clock { font-size: var(--step-1); font-weight: 600; }

.contact__legal {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: clamp(64px, 9vw, 140px);
  padding: 18px 0;
  border-top: 1px solid rgba(15, 15, 14, 0.25);
  font-size: 13px;
  color: var(--ink-on-red);
}

.contact__legal button:hover { color: var(--cream); }

.contact__word {
  font-size: 25.5vw;
  font-weight: 900;
  font-stretch: 125%;
  letter-spacing: -0.065em;
  line-height: 0.74;
  color: var(--red-deep);
  white-space: nowrap;
  margin: 0 calc(var(--gutter) * -0.4);
  padding-bottom: 96px;
  user-select: none;
}

.contact__word .ai { font-weight: 500; font-stretch: 75%; letter-spacing: -0.02em; }
.contact__word .lt { display: inline-block; }

/* ==========================================================================
   Reel em tela cheia
   ========================================================================== */
.reel {
  position: fixed;
  inset: 0;
  z-index: 7500;
  background: #000;
  clip-path: inset(50% 0 50% 0);
  visibility: hidden;
  transition: clip-path 0.8s var(--ease-in-out), visibility 0s 0.8s;
}

.reel.is-open {
  clip-path: inset(0 0 0 0);
  visibility: visible;
  transition: clip-path 0.8s var(--ease-in-out), visibility 0s;
}

.reel__ui {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--cream);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.reel__ui--top { top: 20px; }
.reel__ui--bottom { bottom: 22px; }

.reel__close {
  font-size: 14px;
  font-weight: 600;
  padding: 6px 0;
}

.reel__title { font-weight: 600; }
.reel [data-reel-tc] { color: var(--red-text); }

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 960px) {
  .hud__nav { display: none; }
  .hud__menu { display: block; }
  .hud { grid-template-columns: 1fr auto; }
  .hud__right { display: none; }

  .timeline__marker span { display: none; }
  .timeline__marker { padding: 0; }

  .hero__meta { flex-direction: column; gap: 26px; }
  .hero__side { align-items: flex-start; }
  .hero__now { text-align: left; }
  .hero__mask { padding-bottom: 16vh; }

  .manifesto__label { grid-column: 1 / -1; margin-bottom: 20px; }
  .manifesto__text { grid-column: 1 / -1; }

  .section-head h2 { grid-column: 1 / -1; }
  .section-head p { grid-column: 1 / -1; margin-top: 18px; }

  .service__name { grid-column: 1 / -1; }
  .service__desc { grid-column: 1 / 11; margin-top: 10px; }
  .service__fmt { grid-column: 11 / 13; }

  .contact__intro { grid-column: 1 / -1; }
  .contact__col,
  .contact__col:first-of-type { grid-column: span 4; }
}

@media (max-width: 640px) {
  .process__track { flex-direction: column; gap: 28px; }
  .step__bar { width: calc(var(--days) / 14 * 100%); min-width: 96px; }
  .step__body { padding-top: 14px; }
  .process__scale { display: none; }

  .contact__col,
  .contact__col:first-of-type { grid-column: span 6; }
  .contact__legal { flex-direction: column; align-items: flex-start; }

  .service__desc { grid-column: 1 / -1; }
  .service__fmt { grid-column: 1 / -1; justify-self: start; margin-top: 8px; }

  .hero__lead { font-size: 22px; }
}

/* Movimento reduzido */
@media (prefers-reduced-motion: reduce) {
  .grain { animation: none; }
  .rec-dot { animation: none; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   Diagramação v2: grade de 12 colunas, rótulo + frase, trabalhos em
   linhas assimétricas (7/5), legendas em duas colunas
   ========================================================================== */
body { font-size: 17px; }

/* Topo: logo e timecode à esquerda, navegação à direita */
.hud { display: flex; align-items: center; gap: 22px; }
.hud__logo { order: 0; }
.hud__right { order: 1; }
.hud__nav { order: 2; margin-left: auto; font-size: 15px; }
.hud__menu { order: 3; margin-left: auto; }

/* Cabeçalho de seção: rótulo na coluna 1, frase a partir da coluna 4 */
.section-head {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--col-gap);
  row-gap: 18px;
  align-items: start;
  margin-bottom: clamp(48px, 6vw, 96px);
}

.section-head .section-head__label {
  grid-column: 1 / 4;
  grid-row: 1;
  color: var(--red-text);
  font-size: 15px;
  font-weight: 500;
  max-width: none;
  margin: 0;
  padding-top: 0.6em;
}

.section-head h2 {
  grid-column: 4 / 11;
  font-size: clamp(26px, 0.9rem + 1.9vw, 44px);
  font-weight: 500;
  font-stretch: 100%;
  letter-spacing: -0.02em;
  line-height: 1.14;
  color: var(--cream);
  text-wrap: balance;
}

.section-head p:not(.section-head__label) {
  grid-column: 4 / 10;
  color: var(--ash);
  font-size: 17px;
  max-width: 52ch;
}

.section-head .section-head__link {
  grid-column: 11 / 13;
  grid-row: 1;
  justify-self: end;
  margin-top: 0.7em;
  font-size: 15px;
  color: var(--cream);
}

.manifesto__label { font-size: 15px; font-weight: 500; }

/* Trabalhos */
.work {
  position: relative;
  z-index: 2;
  background: var(--carbon);
  padding: var(--section) var(--gutter);
}

.work__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--col-gap);
  row-gap: clamp(72px, 8vw, 136px);
  align-items: start;
}

.tile--l { grid-column: span 7; }
.tile--s { grid-column: span 5; }

.clip__frame {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  background: #050505;
}

.tile--l .clip__frame { aspect-ratio: 16 / 9; }
.tile--s .clip__frame { aspect-ratio: 4 / 3; }
.tile--tall .clip__frame { aspect-ratio: 4 / 5; }

.clip__media { transition: transform 1.1s var(--ease-out); }
.clip__frame:hover .clip__media { transform: scale(1.03); }

.clip__tc {
  position: absolute;
  left: 14px;
  bottom: 12px;
  font-size: 12px;
  color: var(--cream);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 0.3s;
}

.clip__frame:hover .clip__tc,
.clip__frame:focus-visible .clip__tc { opacity: 1; }

.tile__cap {
  display: grid;
  grid-template-columns: 1fr 3fr;
  column-gap: var(--col-gap);
  margin-top: 18px;
  line-height: 1.45;
}

.tile__cat { color: var(--ash); }

.tile__title {
  font-size: 17px;
  font-weight: 600;
  font-stretch: 100%;
  color: var(--cream);
}

.tile__desc { color: var(--ash); max-width: 46ch; }

.tile__meta {
  margin-top: 10px;
  font-size: 13px;
  color: #615c54;
}

/* Cartão vermelho no fim da grade */
.cta-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  aspect-ratio: 4 / 3;
  padding: clamp(22px, 2.4vw, 36px);
  background: var(--red);
  color: var(--cream);
  transition: background-color 0.4s;
}

.cta-card:hover { background: var(--red-deep); }

.cta-card__text {
  max-width: 15ch;
  font-size: clamp(24px, 0.8rem + 1.6vw, 38px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--carbon);
}

.cta-card__link {
  align-self: flex-start;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  font-size: 15px;
  font-weight: 600;
}

/* Serviços alinhados à coluna 4 */
.service__name {
  grid-column: 4 / 8;
  font-size: clamp(22px, 0.8rem + 1.5vw, 36px);
  font-weight: 600;
  font-stretch: 100%;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.service__desc { grid-column: 8 / 12; font-size: 16px; }
.service__fmt { grid-column: 12 / 13; }

/* Contato: título grande, cidade em destaque com a hora, colunas de contato */
.contact__top {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--col-gap);
}

.contact__label {
  grid-column: 1 / 4;
  padding-top: 0.9em;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-on-red);
}

.contact__title { grid-column: 4 / 13; }

.contact__row {
  column-gap: var(--col-gap);
  margin-top: clamp(56px, 7vw, 112px);
  font-size: 17px;
}

.contact__row > :nth-child(1) { grid-column: 1 / 6; }
.contact__row > :nth-child(2) { grid-column: 6 / 10; }
.contact__row > :nth-child(3) { grid-column: 10 / 13; }

.contact__cityname {
  font-size: clamp(36px, 1rem + 3vw, 58px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--carbon);
}

.contact__clock {
  margin-top: 12px;
  font-size: clamp(18px, 0.9rem + 0.5vw, 22px);
  font-weight: 500;
  color: var(--cream);
}

.contact__col h3 { font-size: 15px; }
.contact__col a { color: var(--cream); }

.contact__note {
  margin-top: 18px;
  max-width: 34ch;
  font-size: 15px;
  color: var(--ink-on-red);
}

/* Responsivo da diagramação */
@media (max-width: 960px) {
  .section-head h2 { grid-column: 4 / 13; }
  .section-head p:not(.section-head__label) { grid-column: 4 / 13; }
  .service__name { grid-column: 1 / 7; }
  .service__desc { grid-column: 7 / 12; margin-top: 0; }
  .contact__row > :nth-child(1) { grid-column: 1 / -1; }
  .contact__row > :nth-child(2) { grid-column: 1 / 7; }
  .contact__row > :nth-child(3) { grid-column: 7 / 13; }
}

@media (max-width: 820px) {
  .work__grid { row-gap: 64px; }
  .tile--l,
  .tile--s { grid-column: 1 / -1; }
  .tile--tall .clip__frame { aspect-ratio: 4 / 5; max-height: 80vh; }

  .section-head .section-head__label,
  .section-head h2,
  .section-head p:not(.section-head__label) { grid-column: 1 / -1; grid-row: auto; }
  .section-head .section-head__link { grid-column: 1 / -1; grid-row: auto; justify-self: start; margin-top: 0; }

  .contact__label,
  .contact__title { grid-column: 1 / -1; }
  .contact__label { padding-top: 0; margin-bottom: 12px; }
}

@media (max-width: 640px) {
  .tile__cap { grid-template-columns: 1fr; row-gap: 4px; }
  .service__name,
  .service__desc,
  .service__fmt { grid-column: 1 / -1; }
  .service__desc { margin-top: 10px; }
  .contact__row > :nth-child(2),
  .contact__row > :nth-child(3) { grid-column: 1 / -1; }
}

/* Topo que some ao descer e volta ao subir */
.hud {
  transition: transform 0.55s var(--ease-out), background-color 0.4s;
}

.hud.is-hidden { transform: translateY(-110%); }
.hud.is-solid { background: rgba(15, 15, 14, 0.94); }
.hud-red .hud.is-solid { background: rgba(238, 46, 36, 0.96); }

/* Vídeos: só o clipe ativo aparece na sequência (abertura, reel, prévia) */
.vreel video { opacity: 0 !important; transition: none !important; }
.vreel video.is-on { opacity: 1 !important; }

.preview__media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}

.preview__media video.is-on { opacity: 1; }

/* ==========================================================================
   Efeitos
   ========================================================================== */

/* Revelações (só com JS e sem "reduzir movimento") */
.fx [data-rv] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease-out), transform 1.1s var(--ease-out);
  transition-delay: var(--d, 0s);
}

.fx [data-rv].is-in { opacity: 1; transform: none; }

.fx .rw {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.1em;
  margin-bottom: -0.1em;
}

.fx .rw > span {
  display: inline-block;
  transform: translateY(112%);
  transition: transform 1.15s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 38ms + 0.05s);
}

.fx .is-in .rw > span,
.fx .is-in > .rw > span { transform: none; }

/* Filmes abrem como obturador; a imagem assenta */
.fx .tile .clip__frame {
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.25s var(--ease-in-out);
}

.fx .tile.is-in .clip__frame { clip-path: inset(0 0 0 0); }

.fx .tile .tile__cap {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s var(--ease-out) 0.45s, transform 1s var(--ease-out) 0.45s;
}

.fx .tile.is-in .tile__cap { opacity: 1; transform: none; }

.fx .tile--cta .cta-card {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.1s var(--ease-in-out) 0.15s, background-color 0.4s;
}

.fx .tile--cta.is-in .cta-card { clip-path: inset(0 0 0 0); }

.clip__media,
.clip__frame:hover .clip__media {
  transform: none;
  translate: 0 var(--py, 0px);
  scale: 1.14;
  transition: scale 1.5s var(--ease-out);
}

.fx .tile:not(.is-in) .clip__media { scale: 1.4; }
.clip__frame:hover .clip__media { scale: 1.19; }

/* Processo: blocos se encaixam na linha do tempo como clipes */
.fx .step .step__bar {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s var(--ease-out);
  transition-delay: var(--d, 0s);
}

.fx .step.is-in .step__bar { transform: none; }

/* Navegar quadro a quadro: agulha vermelha no filme */
.clip__frame::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--sx, 0%);
  width: 1px;
  background: var(--red);
  box-shadow: 0 0 12px rgba(238, 46, 36, 0.8);
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}

.clip__frame.is-scrub::after { opacity: 1; }
.clip__frame.is-scrub .clip__tc { opacity: 1; }

.cursor__label { text-align: center; line-height: 1.25; font-variant-numeric: tabular-nums; }
.cursor__label small { display: block; font-size: 10px; font-weight: 500; opacity: 0.75; }

/* Câmera lenta */
.letterbox { pointer-events: none; }

.letterbox__bar {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 6900;
  height: 11vh;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  font-size: 12px;
  font-weight: 500;
  transition: transform 0.7s var(--ease-out);
}

.letterbox__bar--top { top: 0; transform: translateY(-100%); }
.letterbox__bar--bottom { bottom: 0; transform: translateY(100%); }
.letterbox__bar--bottom span { color: var(--red-text); }

.is-slowmo .letterbox__bar { transform: none; }
.is-slowmo .grain { opacity: 0.06; }
.is-slowmo { user-select: none; }

/* Botões magnéticos */
.is-mag { transition: translate 0.7s var(--ease-out); }
.is-mag.mag-on { transition: translate 0.12s linear; }
.hero__reel.is-mag { transition: translate 0.7s var(--ease-out), background 0.35s, color 0.35s, border-color 0.35s; }
.hero__reel.is-mag.mag-on { transition: translate 0.12s linear, background 0.35s, color 0.35s, border-color 0.35s; }
.contact__cityname.is-mag { display: inline-block; }

/* Menu: texto rola para cima */
.roll {
  position: relative;
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}

.roll > span,
.roll::after { display: inline-block; transition: transform 0.5s var(--ease-out); }

.roll::after {
  content: attr(data-t);
  position: absolute;
  left: 0;
  top: 100%;
}

.hud__nav a:hover .roll > span,
.hud__nav a:hover .roll::after { transform: translateY(-100%); }

/* Dicas */
.hint {
  margin-top: 4px;
  font-size: 12px;
  color: var(--ash);
  text-align: right;
}

@media (pointer: coarse), (hover: none) {
  .only-mouse { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .hint { display: none; }
}

@media (max-width: 960px) {
  .hint { text-align: left; }
}

/* ==========================================================================
   Conversão: botões, orçamento no topo, perguntas, formulário, case no reel
   ========================================================================== */
.cursor { z-index: 9500; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s, translate 0.7s var(--ease-out);
}

.btn--red { background: var(--red); color: var(--cream); border-color: var(--red); }
.btn--red:hover { background: var(--cream); color: var(--carbon); border-color: var(--cream); }
.btn--dark { background: var(--carbon); color: var(--cream); border-color: var(--carbon); }
.btn--dark:hover { background: var(--cream); color: var(--carbon); border-color: var(--cream); }
.btn--line { color: var(--cream); border-color: rgba(255, 241, 224, 0.55); }
.btn--line:hover { background: var(--cream); color: var(--carbon); border-color: var(--cream); }

/* Topo: orçamento sempre à mão */
.hud__cta {
  order: 3;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--red);
  color: var(--cream);
  font-size: 14px;
  font-weight: 600;
  transition: background-color 0.3s, color 0.3s;
}

.hud__cta:hover { background: var(--cream); color: var(--carbon); }
.hud__menu { order: 4; }
.hud-red .hud__cta { background: var(--carbon); color: var(--cream); }

/* Abertura: ação principal + reel como secundária */
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.hero__reel {
  background: transparent;
  color: var(--cream);
  border-color: rgba(255, 241, 224, 0.45);
}

.hero__reel .tc { color: var(--ash); }
.hero__reel:hover { background: var(--cream); color: var(--carbon); border-color: var(--cream); }

.hero__promise {
  margin-top: -10px;
  font-size: 12px;
  color: var(--ash);
  text-align: right;
}

/* Perguntas frequentes */
.faq {
  position: relative;
  z-index: 2;
  background: var(--carbon);
  padding: 0 var(--gutter) var(--section);
}

.faq__list {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--col-gap);
}

.faq details {
  grid-column: 4 / 13;
  border-top: 1px solid var(--line);
}

.faq details:last-child { border-bottom: 1px solid var(--line); }

.faq summary {
  position: relative;
  padding: 24px 48px 24px 0;
  list-style: none;
  cursor: pointer;
  font-size: clamp(18px, 0.9rem + 0.6vw, 24px);
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color 0.3s;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  translate: 0 -50%;
  color: var(--red-text);
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
  transition: rotate 0.45s var(--ease-out);
}

.faq details[open] summary::after { rotate: 45deg; }
.faq summary:hover { color: var(--cream); }

.faq details p {
  max-width: 62ch;
  padding: 0 0 28px;
  color: var(--ash);
  font-size: 17px;
}

.faq details[open] p { animation: faq-in 0.5s var(--ease-out); }

@keyframes faq-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

/* Formulário de orçamento (sobre o vermelho) */
.brief {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--col-gap);
  row-gap: 30px;
  margin-top: clamp(48px, 6vw, 88px);
  border-radius: 4px;
}

.brief.is-highlight { animation: brief-pulse 1.6s var(--ease-out); }

@keyframes brief-pulse {
  0% { box-shadow: 0 0 0 0 rgba(15, 15, 14, 0); }
  25% { box-shadow: 0 0 0 14px rgba(15, 15, 14, 0.28); }
  100% { box-shadow: 0 0 0 30px rgba(15, 15, 14, 0); }
}

.brief__intro {
  grid-column: 4 / 11;
  max-width: 46ch;
  font-size: clamp(18px, 0.9rem + 0.5vw, 22px);
  line-height: 1.35;
  color: var(--cream);
}

.brief__group {
  grid-column: 1 / -1;
  min-width: 0;
  margin: 0;
  padding: 22px 0 0;
  border: 0;
  border-top: 1px solid rgba(15, 15, 14, 0.25);
}

.brief__group legend {
  float: left;
  width: calc(25% - var(--col-gap) * 0.75);
  padding: 8px 0 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--cream);
}

.chips,
.brief__fields { margin-left: calc(25% + var(--col-gap) / 4); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }

.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }

.chip span {
  display: inline-block;
  padding: 10px 16px;
  border: 1px solid rgba(255, 241, 224, 0.5);
  border-radius: 999px;
  font-size: 15px;
  color: var(--cream);
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}

.chip:hover span { border-color: var(--cream); }
.chip input:checked + span { background: var(--carbon); border-color: var(--carbon); color: var(--cream); }
.chip input:focus-visible + span { outline: 1px solid var(--carbon); outline-offset: 3px; }

.brief__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 28px;
}

.field { display: flex; flex-direction: column; gap: 6px; }
.field--wide { grid-column: 1 / -1; }
.field span { font-size: 13px; color: var(--ink-on-red); }

.field input,
.field textarea {
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 241, 224, 0.5);
  border-radius: 0;
  background: transparent;
  color: var(--cream);
  font: inherit;
  font-size: 18px;
  outline: none;
  resize: vertical;
  transition: border-color 0.3s;
}

.field input:focus,
.field textarea:focus { border-bottom-color: var(--cream); }
.field.is-error input { border-bottom-color: var(--carbon); border-bottom-width: 2px; }
.field.is-error span { color: var(--carbon); font-weight: 600; }

.brief__actions {
  grid-column: 4 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
}

.brief__status {
  flex-basis: 100%;
  min-height: 1.4em;
  font-size: 14px;
  color: var(--cream);
}

.contact .contact__row { margin-top: clamp(72px, 9vw, 140px); }

/* Reel: o case junto do filme */
.reel__meta { font-size: 13px; }

.reel__case {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--col-gap);
  row-gap: 16px;
  align-items: end;
  padding: 140px var(--gutter) 28px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.55) 60%, rgba(0, 0, 0, 0));
  color: var(--cream);
}

.reel__cat { grid-column: 1 / -1; font-size: 13px; font-weight: 500; color: var(--red-text); }

.reel__name {
  grid-column: 1 / 7;
  font-size: clamp(30px, 1rem + 2.6vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.reel__facts {
  grid-column: 7 / 13;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--col-gap);
}

.reel__facts dt { margin-bottom: 4px; font-size: 12px; color: var(--ash); }
.reel__facts dd { font-size: 14px; line-height: 1.4; }

.reel__actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}

.reel__nav {
  padding: 13px 18px;
  border: 1px solid rgba(255, 241, 224, 0.35);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: background-color 0.3s, color 0.3s;
}

.reel__nav:hover { background: var(--cream); color: var(--carbon); }

/* Celular: botão de orçamento fixo depois da abertura */
.mcta { display: none; }

@media (max-width: 960px) {
  .hero__ctas { justify-content: flex-start; }
  .hero__promise { text-align: left; }
  .reel__name,
  .reel__facts { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .faq details { grid-column: 1 / -1; }
  .brief__intro,
  .brief__actions { grid-column: 1 / -1; }
  .brief__group legend { float: left; width: 100%; padding: 0 0 14px; }
  .chips,
  .brief__fields { clear: both; }
  .chips,
  .brief__fields { margin-left: 0; }

  .mcta {
    display: block;
    position: fixed;
    right: 16px;
    bottom: 52px;
    z-index: 5850;
    padding: 14px 20px;
    border-radius: 999px;
    background: var(--red);
    color: var(--cream);
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
    transform: translateY(160%);
    transition: transform 0.5s var(--ease-out);
  }

  .show-mcta .mcta { transform: none; }
}

@media (max-width: 640px) {
  .hud__cta { display: none; }
  .brief__fields { grid-template-columns: 1fr; }
  .reel__facts { grid-template-columns: 1fr; gap: 8px; }
  .reel__facts div:nth-child(2) { display: none; }
  .reel__case { padding-top: 90px; }
}

/* ==========================================================================
   Vermelho #ee2e24: sobre ele, texto preto (lê melhor que creme)
   ========================================================================== */
::selection { background: var(--red); color: var(--carbon); }

.hud-red .hud__logo span,
.hud-red .hud__menu,
.hud-red .hud__nav a { color: var(--carbon); }
.hud-red .hud__tc,
.hud-red .hud__nav a:not(.is-current):not(:hover) { color: var(--ink-on-red); }
.hud-red .hud__nav a::after { background: var(--carbon); }
.tl-red .timeline__marker.is-current { color: var(--carbon); }

.btn--red,
.hud__cta,
.mcta { color: var(--carbon); }

.contact,
.contact__col a,
.contact__clock,
.contact__legal button:hover,
.cta-card { color: var(--carbon); }

.brief__intro,
.brief__group legend,
.brief__status,
.chip span,
.field input,
.field textarea { color: var(--carbon); }

.chip span { border-color: rgba(15, 15, 14, 0.45); }
.chip:hover span { border-color: var(--carbon); }
.field input,
.field textarea { border-bottom-color: rgba(15, 15, 14, 0.4); }
.field input:focus,
.field textarea:focus { border-bottom-color: var(--carbon); }

.brief .btn--line { color: var(--carbon); border-color: rgba(15, 15, 14, 0.55); }
.brief .btn--line:hover { background: var(--carbon); color: var(--cream); border-color: var(--carbon); }

/* Cursor do sistema (sem cursor personalizado) */
.clip__frame,
.chip,
.faq summary { cursor: pointer; }

/* ==========================================================================
   Logo vista·ai
   ========================================================================== */
.logo { display: block; width: auto; overflow: visible; }
.logo__red { fill: var(--red); transition: fill 0.4s; }
.logo__txt { fill: var(--cream); transition: fill 0.4s; }

.hud__logo { display: block; line-height: 0; }
.hud__logo .logo { height: 18px; }

/* sobre o vermelho a logo fica toda preta (o vermelho sumiria) */
.hud-red .hud__logo .logo__red,
.hud-red .hud__logo .logo__txt { fill: var(--carbon); }

.slate__logo .logo { height: clamp(30px, 7vw, 40px); margin-top: 4px; }

.contact__word {
  font-size: 0;
  line-height: 0;
  margin: 0;
  padding: 0 0 104px;
}

.contact__word svg { display: block; width: 100%; height: auto; overflow: visible; }
.contact__word .lt { transform-box: fill-box; transform-origin: 50% 100%; }

@media (max-width: 640px) {
  .hud__logo .logo { height: 15px; }
}

/* ==========================================================================
   Voltar ao início (flutuante)
   ========================================================================== */
.totop {
  position: fixed;
  right: var(--gutter);
  bottom: 66px;
  z-index: 5900;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(15, 15, 14, 0.9);
  color: var(--cream);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(18px) scale(0.9);
  pointer-events: none;
  transition: opacity 0.4s, transform 0.55s var(--ease-out), background-color 0.3s, color 0.3s, translate 0.7s var(--ease-out);
}

.show-totop .totop { opacity: 1; transform: none; pointer-events: auto; }

.totop__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  overflow: visible;
}

.totop__track { fill: none; stroke: rgba(255, 241, 224, 0.16); stroke-width: 1.5; }

.totop__prog {
  fill: none;
  stroke: var(--red);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 153.94;
  stroke-dashoffset: 153.94;
}

.totop__icon {
  position: relative;
  width: 17px;
  height: 17px;
  fill: currentColor;
  transition: transform 0.45s var(--ease-out);
}

.totop:hover,
.totop:focus-visible { background: var(--cream); color: var(--carbon); }
.totop:hover .totop__icon { transform: translateY(-2px); }

.totop__label {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  translate: 0 -50%;
  padding: 8px 13px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--carbon);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.45s var(--ease-out);
}

.totop:hover .totop__label,
.totop:focus-visible .totop__label { opacity: 1; transform: none; }

/* sobre o vermelho do contato o anel troca para creme */
.tl-red .totop__prog { stroke: var(--cream); }

@media (max-width: 820px) {
  .totop { right: 16px; bottom: 116px; width: 46px; height: 46px; }
  .totop__label { display: none; }
}

/* Formulário: link de reserva e botão de copiar a mensagem */
.brief__status a { color: inherit; text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.brief__copy {
  margin-left: 4px;
  padding: 4px 12px;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: none;
  color: inherit;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.brief__copy:hover { background: var(--carbon); color: var(--red); border-color: var(--carbon); }
.brief__copy:focus-visible { outline: 2px solid var(--carbon); outline-offset: 2px; }
