/* ============ Tokens ============ */
:root {
  --bg: #0C0C0D;
  --surface: #1A1A1C;
  --surface-2: #232326;
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .22);
  --text: #F2EFE8;
  --soft: #D9D5CC;
  --muted: #8A877F;
  --accent: #FFC81E;
  --rec: #FF3B30;

  --f-sans: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-serif: 'Instrument Serif', Georgia, serif;
  --f-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --gutter: 16px;
  --radius: 18px;
  --top-h: 60px;
  color-scheme: dark;
}

@media (min-width: 900px) {
  :root { --gutter: 32px; --top-h: 72px; }
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--top-h); -webkit-text-size-adjust: 100%; }
html.lenis { scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.55 var(--f-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Grão de película bem sutil */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, figure { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: var(--gutter); top: 8px; z-index: 200; background: var(--accent); color: var(--bg); padding: 8px 12px; border-radius: 8px; }

/* ============ Tipografia ============ */
.disp {
  font-family: var(--f-sans);
  font-stretch: 62%;
  font-weight: 900;
  text-transform: uppercase;
  line-height: .86;
  letter-spacing: -.005em;
}
.ser, .disp .ser {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}
.mono {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
mark.cap {
  background: var(--accent);
  color: var(--bg);
  padding: 0 .18em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ============ Botões ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 600 16px/1 var(--f-sans);
  text-decoration: none;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn:active { transform: scale(.97); }
.btn--accent { background: var(--accent); color: var(--bg); }
.btn--accent:hover { background: #ffd54d; }
.btn--ghost { border-color: var(--line-strong); color: var(--text); }
.btn--ghost:hover { border-color: var(--text); }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* ============ Topo ============ */
.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(12, 12, 13, .86);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.top.is-scrolled { border-bottom-color: var(--line); }
.top-bar { height: var(--top-h); display: flex; align-items: center; justify-content: space-between; }
.logo { font-size: 26px; text-decoration: none; }
.logo span { color: var(--accent); }
.top-actions { display: flex; align-items: center; gap: 10px; }
.nav-link { color: var(--soft); text-decoration: none; padding: 10px 4px; font-size: 12px; }
.nav-link:hover { color: var(--text); }
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.lang {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--muted);
  font-size: 12px;
}
.lang [data-lang].is-active { color: var(--accent); font-weight: 500; }

/* ============ Hero ============ */
.hero {
  position: relative;
  padding: 14px 0 56px;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: -1px -1px;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(transparent, var(--bg));
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-areas: "top" "media" "bottom";
  gap: 18px;
}
.hero-top { grid-area: top; }
.hero-media { grid-area: media; min-width: 0; }
.hero-bottom { grid-area: bottom; display: grid; gap: 16px; }

.rec { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.rec-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--rec); animation: blink 1.6s steps(1) infinite; }
@keyframes blink { 50% { opacity: .25; } }

.hero-name { font-size: clamp(58px, 18.5vw, 190px); margin-top: 12px; white-space: nowrap; }
.hero-lede { margin-top: 12px; font-size: 17px; line-height: 1.4; color: var(--soft); max-width: 34ch; }
.hero-lede mark.cap { font-weight: 600; }

/* Vídeos do topo — celular: carrossel com arraste */
.hero-reel {
  --h: clamp(340px, calc(100svh - var(--top-h) - 290px), 680px);
  --w: calc(var(--h) * 9 / 16);
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: calc(50vw - var(--w) / 2);
  scrollbar-width: none;
}
.hero-reel::-webkit-scrollbar { display: none; }
.hero-slot { flex: 0 0 var(--w); height: var(--h); scroll-snap-align: center; transition: transform .6s var(--ease), opacity .6s var(--ease), filter .6s var(--ease); }
.hero-slot .clip, .hero-slot .clip-frame { height: 100%; width: 100%; }
@media (max-width: 899px) {
  .hero-slot:not(.is-active) { transform: scale(.9); opacity: .5; }
}
.hero-nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 10px; }
.hero-dots { display: flex; }
.hero-dots button {
  width: 24px;
  height: 24px;
  padding: 8px;
  border: 0;
  background: var(--line-strong);
  background-clip: content-box;
  border-radius: 999px;
  transition: width .35s var(--ease), background-color .35s;
}
.hero-dots button.is-active { width: 40px; background-color: var(--accent); position: relative; }
/* Enquanto a troca automática corre, o pontinho ativo enche em 10 s, como nos stories */
.hero-dots.is-running button.is-active { background-color: var(--line-strong); }
.hero-dots.is-running button.is-active::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 999px;
  background: var(--accent);
  transform-origin: left;
  animation: dot-fill 10s linear forwards;
}
@keyframes dot-fill { from { transform: scaleX(0); } }
.hero-hint { color: var(--muted); }

/* Vídeos do topo — computador: leque, o principal no centro */
@media (min-width: 900px) {
  .hero-reel {
    --h: min(calc(100svh - var(--top-h) - 140px), 640px);
    display: grid;
    place-items: center;
    overflow: visible;
    margin: 0;
    padding: 0;
    width: calc(var(--w) * 1.85);
    height: var(--h);
  }
  .hero-slot { grid-area: 1 / 1; width: var(--w); cursor: pointer; }
  .hero-slot.is-c { z-index: 3; cursor: auto; }
  .hero-slot.is-l, .hero-slot.is-r { z-index: 2; filter: brightness(.55) saturate(.8); }
  .hero-slot.is-l { transform: translateX(-44%) rotate(-6deg) scale(.82); }
  .hero-slot.is-r { transform: translateX(44%) rotate(6deg) scale(.82); }
  .hero-slot.is-l:hover, .hero-slot.is-r:hover { filter: brightness(.85); }
  .hero-slot.is-l:hover { transform: translateX(-48%) rotate(-7deg) scale(.84); }
  .hero-slot.is-r:hover { transform: translateX(48%) rotate(7deg) scale(.84); }
  .hero-slot.is-off { opacity: 0; pointer-events: none; transform: scale(.7); }
  .hero-slot.is-l .sound, .hero-slot.is-r .sound { display: none; }
  .hero-nav { margin-top: 18px; }
  .hero-hint { display: none; }
}
.hero-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hero-cta .btn { padding: 0 12px; }
.avail { color: var(--muted); display: flex; align-items: center; gap: 8px; }
.avail::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3DDC84; flex: none; }

@media (min-width: 900px) {
  .hero { padding: 40px 0 96px; }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "top media" "bottom media";
    column-gap: 56px;
    row-gap: 32px;
    align-items: end;
  }
  .hero-top { align-self: end; }
  .hero-bottom { align-self: start; }
  .hero-name { font-size: clamp(88px, 9.5vw, 160px); white-space: normal; }
  .hero-lede { font-size: 21px; margin-top: 22px; }
  .hero-cta { display: flex; }
  .hero-cta .btn { padding: 0 26px; }
}

/* ============ Seções ============ */
.sec { padding: 56px 0; }
@media (min-width: 900px) { .sec { padding: 96px 0; } }

.tl { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }
.tl-track { flex: 1; display: flex; gap: 3px; height: 10px; }
.tl-track span { border-radius: 2px; background: var(--line-strong); }
.tl-track .is-a { background: var(--accent); }
.tl-track .is-r { background: var(--rec); }
.tl-tc { color: var(--muted); flex: none; }

.sec-head { display: grid; gap: 14px; margin-bottom: 28px; }
.kicker { color: var(--accent); }
.sec-title { font-size: clamp(52px, 15vw, 128px); }
.sec-title .ser { font-size: 1.04em; }
.sec-intro { color: var(--soft); font-size: 16px; max-width: 58ch; }
@media (min-width: 900px) {
  .sec-head { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: end; column-gap: 48px; margin-bottom: 44px; }
  .sec-head .kicker { grid-column: 1 / -1; }
  .sec-intro { font-size: 18px; }
}

/* ============ Cards de vídeo ============ */
.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 74%;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin-inline: calc(var(--gutter) * -1);
  padding: 0 var(--gutter) 6px;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 640px) { .rail { grid-auto-columns: 44%; } }
@media (min-width: 900px) {
  .rail { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 340px)); overflow: visible; margin: 0; padding: 0; gap: 24px; }
  .rail--2 { grid-template-columns: repeat(2, minmax(0, 340px)); }
}

.clip { display: grid; gap: 12px; align-content: start; }
.clip-frame {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  isolation: isolate;
}
.clip-frame > video,
.clip-frame > iframe,
.clip-frame > .ph { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.clip-frame > video.is-contain { object-fit: contain; background: #000; }
.clip-tag, .clip-label {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(12, 12, 13, .78);
  color: var(--text);
  pointer-events: none;
}
.clip-label { left: auto; right: 10px; }
.clip-label.is-final { background: var(--accent); color: var(--bg); }
.sound {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  white-space: nowrap;
}
.sound svg { width: 16px; height: 16px; }
.sound.is-on { background: rgba(12, 12, 13, .78); color: var(--text); }
.clip-cap { display: grid; gap: 2px; }
.clip-title { font-weight: 600; font-size: 16px; line-height: 1.3; }
.clip-note { color: var(--muted); }

/* ============ Placeholder (vídeo de exemplo) ============ */
.ph {
  --hue: 30;
  background:
    radial-gradient(120% 70% at 50% 0%, hsl(var(--hue) 22% 22%), transparent 70%),
    linear-gradient(180deg, hsl(var(--hue) 12% 14%), #121214);
  overflow: hidden;
}
.ph-head, .ph-body { position: absolute; left: 50%; transform: translateX(-50%); background: hsl(var(--hue) 10% 26%); }
.ph-head { top: 25%; width: 30%; aspect-ratio: 1; border-radius: 50%; }
.ph-body { top: 46%; width: 62%; height: 60%; border-radius: 48% 48% 0 0; }
.ph-cap { position: absolute; inset: auto 8% 22%; display: grid; place-items: center; }
.ph-cap span {
  grid-area: 1 / 1;
  font-size: clamp(26px, 9cqw, 40px);
  text-align: center;
  opacity: 0;
  animation: cap var(--cycle, 3.6s) infinite;
}
.clip-frame { container-type: inline-size; }
@keyframes cap {
  0% { opacity: 0; transform: scale(.86); }
  4% { opacity: 1; transform: scale(1.04); }
  8% { transform: scale(1); }
  30% { opacity: 1; }
  33.3%, 100% { opacity: 0; }
}
.ph-flag { position: absolute; right: 10px; bottom: 14px; color: var(--muted); z-index: 2; }

/* Bruto: câmera 16:9 com duas pessoas, sem legenda */
.ph--raw { background: #0a0a0b; }
.ph-wide {
  position: absolute;
  left: 0; right: 0; top: 50%;
  transform: translateY(-50%);
  aspect-ratio: 16 / 9;
  background: linear-gradient(180deg, hsl(var(--hue) 8% 20%), hsl(var(--hue) 8% 13%));
  overflow: hidden;
}
.ph-wide i { position: absolute; bottom: 0; width: 22%; height: 62%; border-radius: 48% 48% 0 0; background: hsl(var(--hue) 6% 28%); }
.ph-wide i::before { content: ""; position: absolute; left: 50%; top: -42%; transform: translateX(-50%); width: 62%; aspect-ratio: 1; border-radius: 50%; background: inherit; }
.ph-wide i:first-child { left: 18%; }
.ph-wide i:last-child { right: 18%; }
.ph-tc { position: absolute; left: 8px; bottom: 6px; color: var(--muted); font-size: 9px; }

/* ============ Antes e depois ============ */
.ba { margin-top: 48px; display: grid; gap: 20px; }
.ba-title { font-size: clamp(40px, 11vw, 72px); }
.ba-text { color: var(--soft); max-width: 46ch; }
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ba-pair .clip-frame { --radius: 14px; }
.ba-pair .sound { min-height: 34px; padding: 0 12px; bottom: 10px; }
@media (min-width: 900px) {
  .ba { margin-top: 80px; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); align-items: center; column-gap: 56px; }
  .ba-copy { display: grid; gap: 16px; }
  .ba-pair { gap: 16px; }
}
.ba-copy { display: grid; gap: 12px; }

/* Antes e depois com divisória arrastável (vídeos horizontais) */
.cmp {
  --pos: 50%;
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  border: 1px solid var(--line);
  cursor: ew-resize;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.cmp video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.cmp-raw { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.cmp-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: var(--accent); transform: translateX(-50%); z-index: 2; pointer-events: none; }
.cmp-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .5);
}
.cmp-knob svg { width: 20px; height: 20px; }
.cmp-range { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.cmp:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; }
.cmp .sound { left: auto; right: 12px; transform: none; z-index: 4; }
@media (max-width: 639px) {
  .cmp .clip-tag, .cmp .clip-label { top: 8px; padding: 4px 8px; font-size: 10px; }
  .cmp .sound { right: 8px; bottom: 8px; min-height: 32px; padding: 0 10px; font-size: 10px; }
  .cmp-knob { width: 34px; height: 34px; }
}
@media (min-width: 900px) {
  .ba--slider { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
}

/* ============ IA e motion ============ */
.feats { display: grid; gap: 10px; }
.feat {
  display: grid;
  gap: 8px;
  padding: 20px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.feat-n { color: var(--accent); }
.feat h3 { font: 700 20px/1.2 var(--f-sans); }
.feat p { color: var(--soft); font-size: 15px; }
@media (min-width: 640px) { .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .feats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } .feat { padding: 24px; } }

/* ============ Sobre ============ */
.about { display: grid; gap: 40px; }

/* Retrato: foto sobre a grade, com um bloco amarelo de "legenda" atrás */
.portrait { position: relative; width: calc(100% - 14px); max-width: 440px; margin: 0; }
.portrait::before {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  border-radius: var(--radius);
  background: var(--accent);
}
.portrait-shot {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background-color: var(--surface);
  background-image:
    radial-gradient(90% 60% at 50% 100%, rgba(255, 200, 30, .14), transparent 70%),
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: auto, 28px 28px, 28px 28px;
}
.portrait-shot img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.portrait-tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
}
.portrait-shot .ph-initials {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 120px;
  color: var(--surface-2);
  background: linear-gradient(160deg, #26221c, #141416);
}
.portrait-shot .ph-initials span { color: var(--accent); }

.about-copy { display: grid; gap: 16px; align-content: start; }
.about-bio { color: var(--soft); font-size: 17px; max-width: 56ch; }
.about-bio:first-child { color: var(--text); font-size: 20px; line-height: 1.45; }
.about-loc { color: var(--muted); display: flex; align-items: center; gap: 8px; }
.about-loc::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--accent); flex: none; }

.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 8px; padding-block: 20px; border-block: 1px solid var(--line); }
.stat { display: grid; gap: 6px; align-content: start; }
.stat-v { font-size: clamp(44px, 12vw, 72px); }
.stat:first-child .stat-v { color: var(--accent); }
.stat-l { color: var(--muted); font-size: 10px; }

.cv { display: grid; gap: 28px; margin-top: 12px; }
.cv-label { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; color: var(--accent); font-weight: 500; }
.cv-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.cv-time { list-style: none; margin: 0; padding: 0 0 0 18px; display: grid; gap: 16px; border-left: 1px solid var(--line-strong); }
.cv-time li { position: relative; display: grid; gap: 2px; }
.cv-time li::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 4px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
}
.cv-period { color: var(--muted); }
.cv-role { font-size: 17px; font-weight: 700; }
.cv-place { color: var(--soft); font-size: 15px; }
.cv-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cv-list li { display: flex; gap: 10px; color: var(--soft); }
.cv-list li::before { content: "—"; color: var(--muted); }

/* Bandeja de ícones das ferramentas */
.tray {
  list-style: none;
  margin: 0;
  padding: 18px 10px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 6px;
  border-radius: 28px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
.tool { display: grid; justify-items: center; gap: 10px; text-align: center; }
.tool-ico {
  width: 60px;
  height: 60px;
  border-radius: 22%;
  overflow: hidden;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 18px -6px rgba(0, 0, 0, .7), 0 2px 4px rgba(0, 0, 0, .4);
  transition: transform .35s var(--ease);
}
.tool-ico img { width: 100%; height: 100%; object-fit: cover; }
.tool-ico--spark { background: linear-gradient(160deg, #FFD54D, var(--accent) 55%, #E0A800); color: var(--bg); }
.tool-ico--spark svg { width: 58%; height: 58%; }
.tool:hover .tool-ico { transform: translateY(-4px) rotate(-4deg) scale(1.05); }
.tool-name { font-size: 12px; line-height: 1.25; color: var(--soft); max-width: 14ch; }
@media (min-width: 640px) {
  .tray { grid-template-columns: repeat(6, minmax(0, 1fr)); padding: 22px 16px; border-radius: 36px; }
  .tool-ico { width: 64px; height: 64px; }
}

.tools { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.tools li { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 14px; }
.tools li:first-child { border-color: var(--accent); color: var(--accent); }

@media (min-width: 640px) {
  .cv { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; row-gap: 36px; }
  .cv-block--chips, .cv-block--icons { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .about { grid-template-columns: minmax(0, 400px) minmax(0, 1fr); column-gap: 80px; align-items: start; }
  .portrait { position: sticky; top: calc(var(--top-h) + 32px); }
  .stat-l { font-size: 11px; }
}

/* ============ Contato ============ */
.sec--contact { padding-bottom: 72px; }
.contact { display: grid; gap: 20px; }
.contact-title { font-size: clamp(64px, 20vw, 200px); }
.contact-text { color: var(--soft); font-size: 17px; max-width: 46ch; }
.contact-btns { display: grid; gap: 10px; margin-top: 8px; }
.contact-btns .btn { min-height: 60px; font-size: 17px; }
.contact-meta { display: grid; gap: 6px; color: var(--muted); margin-top: 6px; text-transform: none; font-size: 13px; }
.contact-meta a { text-decoration: none; }
.contact-meta a:hover { color: var(--text); }
@media (min-width: 640px) { .contact-btns { grid-template-columns: repeat(2, max-content); } .contact-btns .btn { padding: 0 32px; } }

/* ============ Rodapé ============ */
.foot { border-top: 1px solid var(--line); }
.foot-bar { display: flex; justify-content: space-between; gap: 16px; padding-block: 22px calc(22px + env(safe-area-inset-bottom)); color: var(--muted); }
.foot-bar a { text-decoration: none; }
.foot-bar a:hover { color: var(--text); }

/* ============ Animações de entrada ============ */
/* Só valem com JavaScript ativo e sem "reduzir movimento" (classe .anim no <html>). */
.anim .top { animation: top-in .9s var(--ease) both; }
@keyframes top-in { from { opacity: 0; translate: 0 -14px; } }

.anim .rv {
  transition:
    opacity .9s var(--ease) calc(var(--i, 0) * 90ms),
    transform 1.1s var(--ease) calc(var(--i, 0) * 90ms);
}
.anim .rv--up:not(.is-in) { opacity: 0; transform: translateY(28px); }
.anim .rv--pop { transition-delay: calc(var(--i, 0) * 120ms); }
.anim .rv--pop:not(.is-in) { opacity: 0; transform: translateY(56px) scale(.95); }

/* Título que sobe por trás de uma máscara */
.rv--mask { overflow: hidden; padding: .08em .14em .08em 0; margin: -.08em -.14em -.08em 0; }
.rv--mask .mask-in { display: block; transition: transform 1.15s var(--ease) calc(var(--i, 0) * 90ms); }
.anim .rv--mask:not(.is-in) .mask-in { transform: translateY(108%); }

/* Nome no topo: cada palavra sobe em sequência */
.hero-name .word { display: inline-block; overflow: hidden; vertical-align: top; padding-block: .06em; margin-block: -.06em; }
.hero-name .word-in { display: inline-block; transition: transform 1.2s var(--ease) calc(var(--i, 0) * 120ms + 80ms); }
.anim .rv--words:not(.is-in) .word-in { transform: translateY(108%); }

/* Timeline: os clips entram um a um, como se estivessem sendo colocados na linha */
.rv--track .tl-track span { transform-origin: left; transition: transform .8s var(--ease) calc(var(--k, 0) * 70ms); }
.anim .rv--track:not(.is-in) .tl-track span { transform: scaleX(0); }
.rv--track .tl-tc { transition: opacity .6s ease .5s; }
.anim .rv--track:not(.is-in) .tl-tc { opacity: 0; }

/* Vídeos do topo: sobem e se abrem em leque */
.anim .rv--reel:not(.is-in) { opacity: 0; }
.anim .rv--reel.is-in .hero-slot { animation: slot-in 1.2s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 140ms + 250ms); }
@keyframes slot-in { from { opacity: 0; translate: 0 90px; scale: .88; } }

/* ============ Movimento reduzido ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rec-dot, .ph-cap span { animation: none; }
  .ph-cap span:first-child { opacity: 1; }
}
