/* ------------------------------------------------------------------ *
 * Kaio Gomes — portfólio 2026
 * Direção visual baseada no Behance "Video Editing & Motion Design
 * Portfolio 2026": hero em papel claro granulado com a palavra gigante
 * em degradê pontilhado (preto → vermelho) e recorte P&B na frente;
 * o resto em fundo escuro com poeira/riscos, vermelho como acento,
 * Montserrat nos textos. CSS mobile-first.
 * ------------------------------------------------------------------ */
:root {
  --bg: #1c1b1b;
  --bg-2: #161515;
  --paper: #efeeec;
  --ink: #151313;
  --red: #cf4b53;
  --red-deep: #8e2f35;
  --red-hot: #e2181e;
  --text: #f2f0ef;
  --muted: #a7a3a3;
  --dim: #6f6b6b;
  --line: rgba(255, 255, 255, 0.12);

  --display: "Bebas Neue", "Oswald", Impact, sans-serif;
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --gutter: 20px;
  --max: 1180px;
}
@media (min-width: 768px) { :root { --gutter: 48px; } }

* { box-sizing: border-box; }
html { -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.is-loading,
body.is-locked { overflow: hidden; }
main { overflow-x: clip; }

::selection { background: var(--red); color: #fff; }
a { color: inherit; }
img, video { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* fundo escuro com poeira e riscos (textura gerada em assets/dust-dark.png) */
.dark,
.loader {
  background-color: var(--bg);
  background-image: url("assets/dust-dark.png"), radial-gradient(ellipse 60% 40% at 100% 0%, rgba(150, 40, 46, 0.35), transparent 70%);
  background-size: 640px 640px, 100% 100%;
}
.dark { position: relative; }

.is-red { color: var(--red); }

.btn-red {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
  color: #fff;
  background: linear-gradient(180deg, #d9545c, var(--red-deep));
  box-shadow: 0 12px 26px -12px rgba(142, 47, 53, 0.9);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.btn-red:active { transform: scale(0.96); }
.btn-red--sm { min-height: 38px; padding: 0 16px; font-size: 13px; }

/* ================================================================== *
 * PRELOADER
 * ================================================================== */
.loader {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
  transition: translate 1s var(--ease), visibility 0s linear 1s;
}
.loader.is-done { translate: 0 -100%; visibility: hidden; pointer-events: none; }

.loader__labels { position: absolute; top: calc(22px + env(safe-area-inset-top)); left: var(--gutter); right: var(--gutter); display: flex; justify-content: space-between; font-size: 11px; font-weight: 300; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

.loader__inner { width: min(720px, 100%); text-align: center; }
.loader__title { margin: 0 0 28px; font-size: clamp(38px, 11vw, 84px); font-weight: 600; line-height: 1; letter-spacing: -0.01em; text-transform: uppercase; }
.loader__title span { display: inline-block; opacity: 0; translate: 0 30px; animation: rise 0.9s var(--ease) forwards; }
.loader__title span + span { animation-delay: 0.12s; }
@keyframes rise { to { opacity: 1; translate: 0 0; } }

/* colunas proporcionais definidas no app.js */
.loader__strip { display: grid; align-items: center; gap: clamp(5px, 1.2vw, 10px); }
.loader__thumb { position: relative; width: 100%; aspect-ratio: 9 / 16; overflow: hidden; border-radius: clamp(6px, 1.2vw, 14px); background: #2a2828; opacity: 0; translate: 0 20px; scale: 0.85; transition: opacity 0.6s var(--ease), translate 0.7s var(--spring), scale 0.7s var(--spring); }
.loader__thumb--wide { aspect-ratio: 16 / 9; }
.loader__thumb.is-loaded { opacity: 1; translate: 0 0; scale: 1; }
.loader__thumb img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.25); }

.loader__bar { width: min(320px, 80%); height: 3px; margin: 30px auto 12px; border-radius: 3px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.loader__bar span { display: block; width: 0; height: 100%; background: var(--red); transition: width 0.6s var(--ease); }
.loader__count { margin: 0; font-size: 11px; font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted); font-variant-numeric: tabular-nums; }

/* ================================================================== *
 * HEADER — claro sobre o hero, escuro no resto; some ao descer
 * ================================================================== */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: calc(12px + env(safe-area-inset-top)) var(--gutter) 12px;
  color: var(--text);
  background: rgba(28, 27, 27, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: translate 0.45s var(--ease), background-color 0.45s, color 0.45s, border-color 0.45s;
}
.header.is-light { color: var(--ink); background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.header.is-hidden { translate: 0 -100%; }

.logo { font-weight: 800; font-size: 20px; letter-spacing: -0.02em; text-decoration: none; }
.logo span { color: var(--red); }
.header__nav { display: none; gap: 30px; font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; }
.header__nav a { text-decoration: none; opacity: 0.75; transition: opacity 0.3s, color 0.3s; }
.header__nav a:hover { opacity: 1; color: var(--red); }
@media (min-width: 900px) { .header__nav { display: flex; } }

/* ================================================================== *
 * 1. HERO — papel claro granulado
 * ================================================================== */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  color: var(--ink);
  background-color: var(--paper);
  background-image: url("assets/dust-light.png"), radial-gradient(ellipse at 50% 40%, #f7f6f4 0%, #e6e4e1 100%);
  background-size: 640px 640px, 100% 100%;
}
.hero__stage { position: absolute; inset: 0; }

.hero__head {
  position: absolute;
  top: calc(84px + env(safe-area-inset-top));
  left: 50%;
  translate: -50% 0;
  width: max-content;
  will-change: transform;
}
.hero__labels { display: flex; justify-content: space-between; margin: 0 0.4em 6px; font-size: 12px; font-weight: 400; letter-spacing: 0.02em; text-transform: uppercase; color: #4a4848; opacity: 0; transition: opacity 0.8s var(--ease) 0.9s; }
.hero.is-in .hero__labels { opacity: 1; }

.hero__word {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: min(50vw, 29svh);
  line-height: 0.86;
  letter-spacing: 0.01em;
  text-align: center;
}
.hero__line { display: block; }
/* cada letra recebe o degradê pontilhado (preto em cima, vermelho embaixo) */
.hero__word .l {
  display: inline-block;
  /* área extra acima para o acento (Ó) também receber o degradê */
  padding-top: 0.14em;
  margin-top: -0.14em;
  color: transparent;
  background: url("assets/grain-red.png") center / 100% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  opacity: 0;
  translate: 0 35%;
  filter: blur(6px);
  transition: opacity 0.8s var(--ease), translate 1s var(--ease), filter 0.9s var(--ease);
  transition-delay: calc(var(--i) * 55ms + 0.15s);
}
.hero.is-in .hero__word .l { opacity: 1; translate: 0 0; filter: blur(0); }

.hero__cutout {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 2;
  width: min(112vw, 62svh);
  max-width: none;
  translate: -47% 0;
  filter: grayscale(1) contrast(1.08) brightness(1.02);
  -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent 96%);
  mask-image: linear-gradient(to bottom, #000 60%, transparent 96%);
  opacity: 0;
  transform: translateY(50px) scale(1.03);
  transition: opacity 1.1s var(--ease) 0.45s, transform 1.4s var(--ease) 0.45s;
}
.hero.is-in .hero__cutout { opacity: 1; transform: translateY(var(--py, 0px)); transition: opacity 1.1s var(--ease) 0.45s, transform 1.4s var(--ease) 0.45s; }
.hero.is-settled .hero__cutout { transition: opacity 0s, transform 0s; }

/* névoa branca na base (como no Behance) */
.hero__stage::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  height: 22%;
  background: linear-gradient(to top, rgba(239, 238, 236, 0.95), transparent);
  pointer-events: none;
}

.hero__role {
  position: absolute;
  left: var(--gutter);
  bottom: calc(26px + env(safe-area-inset-bottom));
  z-index: 4;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  font-size: clamp(20px, 6vw, 44px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #4d4b4b;
}
.hero__slash { font-style: italic; font-weight: 800; color: var(--red-hot); opacity: 0; translate: -20px 0; transition: opacity 0.6s var(--ease) 1.05s, translate 0.6s var(--ease) 1.05s; }
.hero__role-text { display: flex; flex-direction: column; }
.hero__role-text span { display: block; opacity: 0; translate: 0 16px; transition: opacity 0.6s var(--ease), translate 0.6s var(--ease); }
.hero__role-text span:nth-child(1) { transition-delay: 1.15s; }
.hero__role-text span:nth-child(2) { transition-delay: 1.25s; }
.hero.is-in .hero__slash,
.hero.is-in .hero__role-text span { opacity: 1; translate: 0 0; }

@media (min-width: 900px) {
  .hero__head { top: 20vh; }
  .hero__labels { font-size: clamp(14px, 1.4vw, 22px); }
  .hero__word { font-size: min(22vw, 46vh); }
  .hero__line { display: inline; }
  .hero__cutout { width: min(44vw, 80vh); translate: -50% 0; }
  .hero__role { left: 12vw; bottom: 9vh; font-size: min(2.9vw, 5.4vh); }
}

/* ================================================================== *
 * 2. SOBRE
 * ================================================================== */
.about,
.block,
.footer {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.about { display: grid; gap: 34px; padding-top: 80px; padding-bottom: 40px; }

.about__photo { position: relative; margin: 0; padding-left: 14%; }
.about__block {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 34%;
  background: var(--red);
  background-image: url("assets/dust-dark.png");
  background-size: 320px;
  transform-origin: bottom;
  scale: 1 0;
  transition: scale 1s var(--ease);
}
.about__photo img {
  position: relative;
  width: 100%;
  aspect-ratio: 0.88;
  object-fit: cover;
  filter: grayscale(1) contrast(1.1);
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.2s var(--ease) 0.25s;
}
.about__photo.is-in .about__block { scale: 1 1; }
.about__photo.is-in img { clip-path: inset(0 0 0 0); }

.about__name { margin: 0; font-weight: 500; line-height: 0.95; }
.about__hi { font-size: clamp(20px, 5vw, 32px); }
.about__first { font-size: clamp(54px, 15vw, 96px); font-weight: 500; letter-spacing: -0.02em; }
.about__last { display: flex; align-items: center; gap: 0.25em; font-size: clamp(54px, 15vw, 96px); font-weight: 500; letter-spacing: -0.02em; color: var(--red); }
.about__bar { display: inline-block; width: 0; height: 0.5em; background: var(--red); transition: width 1s var(--ease) 0.5s; }
.about__name.is-in .about__bar { width: 1.6em; }

.about__text { margin: 22px 0 0; max-width: 54ch; font-size: 15px; line-height: 1.8; color: var(--muted); }

.about__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 30px 0 0; padding: 0; list-style: none; }
.about__stats li { padding: 4px 10px 4px 12px; border-left: 3px solid var(--red); line-height: 1.25; }
.about__stats li:last-child { border-right: 3px solid var(--red); }
.about__stats li:nth-child(2) { --d: 0.1s; }
.about__stats li:nth-child(3) { --d: 0.2s; }
.about__stats strong { display: block; font-size: clamp(26px, 7.5vw, 40px); font-weight: 600; line-height: 1.05; color: var(--red); font-variant-numeric: tabular-nums; }
.about__stats li > span { display: block; margin-top: 4px; font-size: clamp(12px, 3.4vw, 20px); font-weight: 500; line-height: 1.25; color: var(--text); }

@media (min-width: 900px) {
  .about { grid-template-columns: 0.82fr 1fr; align-items: center; gap: 64px; padding-top: 140px; }
  .about__text { font-size: 17px; }
}

/* ================================================================== *
 * ESPECIALIDADES + FERRAMENTAS
 * ================================================================== */
.block { padding-top: 64px; padding-bottom: 16px; }
@media (min-width: 900px) { .block { padding-top: 96px; } }

.block__title { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; font-size: clamp(26px, 7vw, 46px); font-weight: 700; line-height: 1.1; letter-spacing: 0.01em; }
.arrow { color: var(--red); font-weight: 800; }

.expertise { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; margin: 0; padding: 0 0 0 4px; list-style: none; }
.expertise li { position: relative; padding-left: 18px; font-size: 15px; font-weight: 400; line-height: 1.35; color: var(--text); }
.expertise li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
@media (min-width: 900px) { .expertise { grid-template-columns: repeat(3, 1fr); gap: 16px 40px; padding-left: 52px; } .expertise li { font-size: 21px; } }

.tools { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 22px; margin: 0; padding: 0 0 0 4px; list-style: none; }
.tool__head { display: flex; align-items: center; gap: 12px; }
.tool__icon { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 9px; font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.tool__name { font-size: 15px; font-weight: 400; line-height: 1.15; color: var(--text); }
.tool__name small { display: block; font-size: inherit; }
.tool__bar { height: 6px; margin-top: 12px; border-radius: 6px; background: #6a6767; overflow: hidden; }
.tool__bar span { display: block; height: 100%; width: var(--v); border-radius: 6px; background: linear-gradient(90deg, #b8434a, var(--red)); transform-origin: left; scale: 0 1; transition: scale 1.3s var(--ease); transition-delay: calc(var(--i, 0) * 90ms + 0.2s); }
.tool.is-in .tool__bar span { scale: 1 1; }
@media (min-width: 900px) { .tools { grid-template-columns: repeat(3, 1fr); gap: 40px 80px; padding-left: 52px; } .tool__icon { width: 56px; height: 56px; font-size: 26px; border-radius: 10px; } .tool__name { font-size: 21px; } }

/* ================================================================== *
 * SUMÁRIO
 * ================================================================== */
.contents { padding-bottom: 72px; }
.contents__title { margin: 0 0 24px; font-size: clamp(40px, 11vw, 72px); font-weight: 700; line-height: 1; letter-spacing: 0.01em; text-transform: uppercase; }
.contents__box { display: grid; gap: 16px; margin: 0; padding: 22px 18px; list-style: none; border: 1.5px solid var(--line); border-radius: 28px; background: rgba(255, 255, 255, 0.02); }
.contents__item a { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.contents__num { flex: none; min-width: 1.4em; font-size: clamp(34px, 9vw, 52px); font-weight: 700; line-height: 1; }
.contents__pill {
  flex: 1;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: clamp(14px, 3.9vw, 24px);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #a3474c, #6f2a2e);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: filter 0.3s, transform 0.3s var(--ease);
}
.contents__item a:hover .contents__pill { filter: brightness(1.15); transform: translateX(4px); }
.contents__item { opacity: 0; translate: -30px 0; transition: opacity 0.7s var(--ease), translate 0.8s var(--ease); transition-delay: calc(var(--i, 0) * 110ms); }
.contents__item.is-in { opacity: 1; translate: 0 0; }
@media (min-width: 900px) {
  .contents__box { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; grid-auto-flow: column; gap: 40px 56px; padding: 56px 52px; border-radius: 44px; }
}

/* ================================================================== *
 * DIVISÓRIA DE CATEGORIA + MÓDULO DE VÍDEOS
 * ================================================================== */
.divider { position: relative; display: grid; place-items: center; min-height: 78svh; padding: 80px var(--gutter); text-align: center; }
.divider__labels { position: absolute; top: 28px; left: var(--gutter); right: var(--gutter); display: flex; justify-content: space-between; gap: 12px; font-size: 11px; font-weight: 300; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
/* tamanho pela palavra mais longa (--chars, no app.js) para nunca encostar nas bordas */
.divider__title { margin: 0; font-size: min(110px, calc(86vw / (var(--chars, 10) * 0.72))); font-weight: 500; line-height: 0.98; text-transform: uppercase; }
.divider__title span { display: block; opacity: 0; letter-spacing: 0.25em; filter: blur(8px); transition: opacity 1s var(--ease), letter-spacing 1.2s var(--ease), filter 1s var(--ease); }
.divider__title span + span { color: var(--red); transition-delay: 0.15s; }
.divider.is-in .divider__title span { opacity: 1; letter-spacing: 0; filter: blur(0); }
.divider__count { position: absolute; bottom: 28px; left: 0; right: 0; font-size: 12px; font-weight: 500; letter-spacing: 0.25em; text-transform: uppercase; color: var(--dim); }
@media (min-width: 900px) { .divider { min-height: 100svh; } .divider__labels { top: 13%; left: 8%; right: 8%; font-size: 16px; } }

.vmodule { background: rgba(0, 0, 0, 0.28); padding: 36px 0 30px; border-block: 1px solid rgba(255, 255, 255, 0.05); }
.vrow {
  display: flex;
  gap: 16px;
  padding: 0 calc(50% - 34vw);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.vrow::-webkit-scrollbar { display: none; }
.vrow--single { justify-content: center; }
.vrow--wide { padding: 0 var(--gutter); }

.vcard { flex: 0 0 68vw; max-width: 340px; scroll-snap-align: center; margin: 0; opacity: 0; translate: 0 40px; transition: opacity 0.7s var(--ease), translate 0.9s var(--spring); }
.vrow--wide .vcard { flex: 1 1 auto; max-width: 1080px; margin: 0 auto; }
.vcard.is-in { opacity: 1; translate: 0 0; }

.vcard__btn {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 24px;
  background: #2a2828;
  cursor: pointer;
  box-shadow: 0 30px 50px -28px rgba(0, 0, 0, 0.9);
  transition: transform 0.4s var(--ease);
}
.vrow--wide .vcard__btn { aspect-ratio: 16 / 9; border-radius: 18px; }
.vcard__btn:active { transform: scale(0.98); }

.vcard__lqip { position: absolute; inset: -20px; background-size: cover; background-position: center; filter: blur(18px); scale: 1.1; }
.vcard__thumb,
.vcard__preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vcard__thumb { opacity: 0; transition: opacity 0.7s var(--ease), scale 1.2s var(--ease); }
.vcard.is-thumb-loaded .vcard__thumb { opacity: 1; }
.vcard__preview { opacity: 0; transition: opacity 0.5s; }
.vcard.is-previewing .vcard__preview { opacity: 1; }
.vcard__shade { position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent); pointer-events: none; }

.vcard__play { position: absolute; left: 14px; bottom: 14px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(0, 0, 0, 0.55); border: 1px solid rgba(255, 255, 255, 0.25); transition: background-color 0.3s, scale 0.4s var(--spring), opacity 0.3s; }
.vcard__time { position: absolute; right: 14px; bottom: 22px; font-size: 12px; font-weight: 600; color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6); font-variant-numeric: tabular-nums; }
.vcard.is-previewing .vcard__play { opacity: 0; }

.vcard__cap { margin: 14px 4px 0; }
.vcard__title { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.3; color: var(--text); }
.vcard__meta { margin: 2px 0 0; font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); }

.vrow__hint { margin: 14px 0 0; text-align: center; font-size: 11px; font-weight: 500; letter-spacing: 0.25em; text-transform: uppercase; color: var(--dim); }

@media (min-width: 900px) {
  .vmodule { padding: 64px 0 56px; }
  .vrow { display: grid; grid-template-columns: repeat(3, minmax(0, 300px)); justify-content: center; gap: 48px; padding: 0 var(--gutter); overflow: visible; }
  .vrow--single { grid-template-columns: minmax(0, 320px); }
  .vrow--wide { display: block; }
  .vcard { max-width: none; }
  .vrow__hint { display: none; }
  .vcard__btn:hover { transform: translateY(-6px); }
  .vcard__btn:hover .vcard__play { background: var(--red); scale: 1.1; }
  .vcard__btn:hover .vcard__thumb { scale: 1.04; }
}

/* ================================================================== *
 * OBRIGADO + CONTATO
 * ================================================================== */
.thanks { position: relative; overflow: hidden; padding: 120px var(--gutter) 90px; text-align: center; isolation: isolate; }
.thanks__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("https://ik.imagekit.io/oi583d4cj/mk/IMG_1996.JPG.webp?tr=w-1200") center 30% / cover;
  filter: grayscale(1) blur(6px) brightness(0.45);
  opacity: 0.35;
  scale: 1.1;
}
.thanks::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 50% 70% at 100% 60%, rgba(170, 40, 46, 0.45), transparent 70%), linear-gradient(to bottom, var(--bg), transparent 30%, transparent 70%, var(--bg)); }
.thanks__labels { position: absolute; top: 28px; left: var(--gutter); right: var(--gutter); display: flex; justify-content: space-between; font-size: 11px; font-weight: 300; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.thanks__title { margin: 0; font-size: clamp(46px, 13vw, 120px); font-weight: 500; line-height: 1; text-transform: uppercase; }
.thanks__text { max-width: 40ch; margin: 16px auto 0; font-size: 15px; color: var(--muted); }

.contact {
  display: grid;
  gap: 14px;
  max-width: 980px;
  margin: 40px auto 0;
  padding: 20px 22px;
  border-radius: 20px;
  text-align: left;
  background: linear-gradient(180deg, #c0525a, #93363c);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.contact__who strong { display: block; font-size: 24px; font-weight: 600; line-height: 1.1; }
.contact__who small { font-size: 12px; color: rgba(255, 255, 255, 0.8); }
.contact__item { display: block; padding-top: 12px; border-top: 1.5px solid rgba(255, 255, 255, 0.4); text-decoration: none; }
.contact__item small { display: block; font-size: 11px; color: rgba(255, 255, 255, 0.75); }
.contact__item span { font-size: clamp(18px, 5vw, 26px); font-weight: 500; line-height: 1.2; }
.contact__item:hover span { text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 900px) {
  .thanks { padding: 200px var(--gutter) 160px; }
  .thanks__labels { top: 13%; left: 8%; right: 8%; font-size: 16px; }
  .contact { grid-template-columns: auto auto auto; justify-content: space-between; align-items: center; gap: 0; padding: 22px 34px; }
  .contact__item { padding: 0 0 0 28px; border-top: 0; border-left: 2px solid rgba(255, 255, 255, 0.5); }
}

/* ---------- footer ---------- */
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 22px; padding-bottom: calc(100px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--red); }
@media (min-width: 900px) { .footer { padding-bottom: 32px; } }

/* ================================================================== *
 * DOCK — barra de contato fixa (mobile)
 * ================================================================== */
.dock {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 25;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px;
  border-radius: 999px;
  text-decoration: none;
  background: rgba(28, 27, 27, 0.88);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px -14px rgba(0, 0, 0, 0.9);
  translate: 0 160%;
  transition: translate 0.6s var(--spring);
}
.dock.is-visible { translate: 0 0; }
.dock__avatar { flex: none; width: 40px; height: 40px; border-radius: 50%; background: url("https://ik.imagekit.io/oi583d4cj/mk/IMG_1996.JPG.webp?tr=w-120,h-120,fo-face") center / cover; filter: grayscale(1); border: 1.5px solid var(--red); }
.dock__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.dock__text strong { font-size: 14px; font-weight: 700; }
.dock__text small { font-size: 11px; color: var(--muted); }
.dock__btn { margin-left: auto; padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; color: #fff; background: linear-gradient(180deg, #d9545c, var(--red-deep)); }
@media (min-width: 900px) { .dock { display: none; } }

/* ================================================================== *
 * REVELAÇÕES GENÉRICAS
 * ================================================================== */
[data-anim="up"] { opacity: 0; translate: 0 30px; transition: opacity 0.8s var(--ease), translate 0.9s var(--ease); transition-delay: var(--d, 0s); }
[data-anim="item"] { opacity: 0; translate: 0 14px; transition: opacity 0.6s var(--ease), translate 0.6s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
[data-anim].is-in { opacity: 1; translate: 0 0; }
.tool { opacity: 0; translate: 0 18px; transition: opacity 0.6s var(--ease), translate 0.7s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.tool.is-in { opacity: 1; translate: 0 0; }

/* ================================================================== *
 * LIGHTBOX
 * ================================================================== */
.lightbox { position: fixed; inset: 0; z-index: 50; display: grid; grid-template-columns: 1fr; align-items: center; padding: calc(64px + env(safe-area-inset-top)) 12px calc(12px + env(safe-area-inset-bottom)); background: rgba(12, 11, 11, 0.95); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); opacity: 0; transition: opacity 0.35s var(--ease); }
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox__stage { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; min-width: 0; }
.lightbox__frame { position: relative; overflow: hidden; border-radius: 18px; background: #000; aspect-ratio: 9 / 16; height: min(72vh, 72dvh); max-width: 100%; scale: 0.92; transition: scale 0.5s var(--spring); }
.lightbox.is-open .lightbox__frame { scale: 1; }
.lightbox__frame.is-wide { aspect-ratio: 16 / 9; height: auto; width: min(1100px, 100%); max-height: 80vh; }
.lightbox__poster,
.lightbox__frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.lightbox__frame video { opacity: 0; transition: opacity 0.4s; }
.lightbox__frame.is-ready video { opacity: 1; }
.lightbox__spinner { position: absolute; top: 50%; left: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.15); border-top-color: var(--red); animation: spin 0.9s linear infinite; }
.lightbox__frame.is-ready .lightbox__spinner { display: none; }
@keyframes spin { to { rotate: 360deg; } }
.lightbox__caption { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 17px; font-weight: 600; text-align: center; }
.lightbox__meta { font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.lightbox__close,
.lightbox__nav { display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 50%; background: rgba(0, 0, 0, 0.35); color: #fff; cursor: pointer; transition: background-color 0.3s; }
.lightbox__close:hover,
.lightbox__nav:hover { background: var(--red); }
.lightbox__close { position: absolute; top: calc(14px + env(safe-area-inset-top)); right: 14px; z-index: 2; width: 44px; height: 44px; }
.lightbox__nav { position: absolute; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 2; width: 48px; height: 48px; font-size: 26px; line-height: 1; }
.lightbox__nav--prev { left: 16px; }
.lightbox__nav--next { right: 16px; }
@media (min-width: 768px) {
  .lightbox { grid-template-columns: auto 1fr auto; gap: 8px; padding: 16px; }
  .lightbox__nav { position: static; }
  .lightbox__frame { height: min(82vh, 82dvh); }
  .lightbox__caption { flex-direction: row; align-items: baseline; gap: 14px; }
}

/* ================================================================== *
 * MOVIMENTO REDUZIDO
 * ================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
}
