/* Link da bio da K2 Films. Cores e fonte do KV (marca/README.md). */

:root {
  --grafite: #212121;
  --grafite-claro: #2b2b2b;
  --amarelo: #eab132;
  --creme: #fbedcf;
  --cinza-claro: #f2f2f2;
  --texto-suave: rgba(242, 242, 242, 0.66);
  --linha: rgba(242, 242, 242, 0.12);

  --fonte: "Raleway", system-ui, -apple-system, "Segoe UI", sans-serif;
  --largura: 30rem;
  --raio: 14px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--grafite);
  color: var(--cinza-claro);
  font-family: var(--fonte);
  font-size: 1rem;
  line-height: 1.55;
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--amarelo);
  outline-offset: 3px;
  border-radius: 4px;
}

.pagina {
  width: 100%;
  max-width: var(--largura);
  margin: 0 auto;
  padding: max(2rem, env(safe-area-inset-top)) 1.375rem max(2rem, env(safe-area-inset-bottom));
}

/* ---------- Topo ---------- */

.topo { display: flex; justify-content: center; padding-top: 0.5rem; }
.topo__logo { width: 7.5rem; height: auto; }

/* ---------- Abertura ---------- */

.abertura { text-align: center; padding: 2.75rem 0 2.25rem; }

/* Caixa alta espaçada, como o "F I L M S" do logo. */
.sobretitulo {
  margin: 0 0 1.25rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--amarelo);
  padding-left: 0.42em; /* compensa o espaço depois da última letra */
}

.abertura__titulo {
  margin: 0;
  font-size: clamp(2.6rem, 11vw, 3.25rem);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.01em;
}

.destaque { font-weight: 600; color: var(--amarelo); }

.abertura__texto {
  margin: 1.25rem auto 2rem;
  max-width: 24rem;
  color: var(--texto-suave);
  font-size: 1rem;
}

/* ---------- Botões ---------- */

.botao {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  min-height: 3.5rem;
  padding: 0.95rem 1.25rem;
  border-radius: var(--raio);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease;
}

.botao--principal { background: var(--amarelo); color: var(--grafite); }
.botao--principal:hover { background: #f0bd4c; }
.botao--principal:active { transform: scale(0.985); }

/* O triângulo do logo, deitado: vira o "play". */
.botao__play {
  flex: none;
  width: 0;
  height: 0;
  border-top: 0.42rem solid transparent;
  border-bottom: 0.42rem solid transparent;
  border-left: 0.66rem solid currentColor;
}

/* ---------- Visor (assinatura da página) ---------- */

.mostra { padding: 0.5rem 0 3rem; }

.visor { margin: 0; }

.visor__quadro {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: var(--raio);
  overflow: hidden;
  background: #000;
}

.visor__video { width: 100%; height: 100%; object-fit: cover; }

/* Cantos de enquadramento, como no visor de uma câmera. */
.visor__canto {
  position: absolute;
  width: 1.5rem;
  height: 1.5rem;
  border: 0 solid rgba(242, 242, 242, 0.9);
  pointer-events: none;
}
.visor__canto--se { top: 0.9rem; left: 0.9rem; border-top-width: 2px; border-left-width: 2px; }
.visor__canto--sd { top: 0.9rem; right: 0.9rem; border-top-width: 2px; border-right-width: 2px; }
.visor__canto--ie { bottom: 0.9rem; left: 0.9rem; border-bottom-width: 2px; border-left-width: 2px; }
.visor__canto--id { bottom: 0.9rem; right: 0.9rem; border-bottom-width: 2px; border-right-width: 2px; }

.visor__hud {
  position: absolute;
  top: 1.35rem;
  left: 3rem;
  right: 3rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--cinza-claro);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7), 0 0 10px rgba(0, 0, 0, 0.35);
  font-variant-numeric: tabular-nums;
}

.visor__rec { display: inline-flex; align-items: center; gap: 0.4rem; }

.visor__ponto {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #e5484d;
  animation: piscar 1.2s steps(2, start) infinite;
}

@keyframes piscar { to { visibility: hidden; } }

.visor__som {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.6rem 1.1rem;
  border: 1px solid rgba(242, 242, 242, 0.35);
  border-radius: 999px;
  background: rgba(33, 33, 33, 0.62);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--cinza-claro);
  font: 600 0.875rem/1 var(--fonte);
  cursor: pointer;
}
.visor__som:hover { background: rgba(33, 33, 33, 0.8); }
.visor__som[aria-pressed="true"] { border-color: var(--amarelo); color: var(--amarelo); }

.visor__legenda {
  margin-top: 0.85rem;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--texto-suave);
}

/* ---------- Seções ---------- */

.secao__titulo {
  margin: 0 0 1.25rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--texto-suave);
}

/* Como funciona */

.passos { padding: 0.5rem 0 2.75rem; }

.passos__lista { list-style: none; margin: 0; padding: 0; }

.passo {
  display: grid;
  grid-template-columns: 2.25rem 1fr;
  gap: 0.25rem 0.9rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--linha);
}
.passo:last-child { border-bottom: 1px solid var(--linha); }

.passo__numero {
  font-size: 1.75rem;
  font-weight: 300;
  line-height: 1;
  color: var(--amarelo);
}

.passo__titulo { margin: 0 0 0.2rem; font-size: 1.0625rem; font-weight: 600; }
.passo__texto { margin: 0; font-size: 0.9375rem; color: var(--texto-suave); }

/* Serviços */

.servicos { padding-bottom: 3rem; }

.servico {
  padding: 1.35rem 1.35rem 1.25rem;
  border-radius: var(--raio);
  background: var(--creme);
  color: var(--grafite);
}
.servico + .servico { margin-top: 0.75rem; }

.servico__titulo { margin: 0 0 0.35rem; font-size: 1.1875rem; font-weight: 600; }
.servico__texto { margin: 0 0 1rem; font-size: 0.9375rem; color: rgba(33, 33, 33, 0.74); }

.servico__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0 0.15rem;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  border-bottom: 2px solid var(--amarelo);
}
.servico__link::after {
  content: "";
  width: 0;
  height: 0;
  border-top: 0.3rem solid transparent;
  border-bottom: 0.3rem solid transparent;
  border-left: 0.46rem solid currentColor;
}
.servico__link:hover { border-bottom-color: var(--grafite); }

/* Fecho */

.fecho {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--linha);
  text-align: center;
}

.fecho__titulo {
  margin: 0 0 1.5rem;
  font-size: 1.75rem;
  font-weight: 300;
  line-height: 1.2;
}

/* Rodapé */

.rodape {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid var(--linha);
}
.rodape__logo { width: 7.5rem; height: auto; opacity: 0.85; }
.rodape__ano { margin: 0; font-size: 0.75rem; letter-spacing: 0.3em; color: var(--texto-suave); }

/* ---------- Entrada da página ---------- */

@media (prefers-reduced-motion: no-preference) {
  .topo, .abertura > *, .mostra {
    animation: subir 700ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
  .abertura > :nth-child(1) { animation-delay: 80ms; }
  .abertura > :nth-child(2) { animation-delay: 140ms; }
  .abertura > :nth-child(3) { animation-delay: 200ms; }
  .abertura > :nth-child(4) { animation-delay: 260ms; }
  .mostra { animation-delay: 340ms; }
}

@keyframes subir {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .visor__ponto { animation: none; }
  .botao { transition: none; }
}

/* No computador, a página continua estreita, como no celular. */
@media (min-width: 48rem) {
  .pagina { padding-top: 3.5rem; }
}
