/* =========================================================
   Enzo G. Pimentel — Goleiro
   Fontes: Trade Gothic LT Extended (Figma) substituída por
   Archivo Expanded (Google Fonts, largura 125%).
   ========================================================= */

:root {
  --navy-900: #10101a;
  --navy-800: #1a1a26;
  --navy-700: #151520;
  --blue: #165ea3;
  --teal: #12d393;
  --teal-border: #158d80;
  --lime: #ceff43;
  --lime-script: #b3f200;
  --cream: #f2f3eb;
  --ink: #121213;
  --ink-soft: #24271e;
  --muted: #a6aea4;
  --label: #71bdc4;
  --card-border: #304862;
  --ticker: #5b7fa7;

  --font-display: 'Archivo', 'Arial', sans-serif;
  --font-ui: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --container: 1224px;
  --gutter: clamp(16px, 5vw, 48px);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  /* Escala de espaçamento */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: clamp(24px, 2.4vw, 32px);
  --space-lg: clamp(36px, 4vw, 56px);
  --section-y: clamp(80px, 9vw, 144px);

  /* Botão verde com brilho */
  --lime-grad: linear-gradient(180deg, #e6ff8f 0%, #ceff43 48%, #b4ec18 100%);
  --sheen: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .75) 50%, transparent 62%);
  --lime-glow: 0 0 0 1px rgba(206, 255, 67, .35), 0 10px 30px -8px rgba(206, 255, 67, .55), 0 0 60px -12px rgba(206, 255, 67, .45);
  --lime-glow-hover: 0 0 0 1px rgba(206, 255, 67, .6), 0 16px 40px -8px rgba(206, 255, 67, .7), 0 0 80px -10px rgba(206, 255, 67, .6);

  /* Brilho azul/verde do canto superior esquerdo (Figma) */
  --glow:
    radial-gradient(ellipse 75% 60% at 5% 9%, rgba(18, 211, 147, .55), rgba(20, 153, 155, .25) 35%, rgba(22, 94, 163, 0) 70%),
    radial-gradient(ellipse 120% 95% at 5% 9%, rgba(22, 94, 163, .52), rgba(22, 94, 163, 0) 70%),
    linear-gradient(180deg, var(--navy-800), var(--navy-900));
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--navy-900);
  color: #fff;
  font-family: var(--font-display);
  font-stretch: 125%;
  line-height: 1.2;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, iframe { display: block; max-width: 100%; }
h1, h2, h3, p, ol, ul, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
  border-radius: 2px;
}
.skills :focus-visible,
.footer :focus-visible { outline-color: var(--blue); }
[tabindex="-1"]:focus { outline: none; }

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--lime);
  color: var(--navy-800);
  font: 600 14px/1 var(--font-ui);
  text-decoration: none;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
  position: relative;
}

/* ---------- Títulos de seção ---------- */
.section-head {
  text-align: center;
  color: var(--ink);
}
.section-head h2 {
  font-weight: 700;
  font-size: clamp(30px, 4.2vw, 50px);
  line-height: 1.2;
  text-transform: uppercase;
}
.section-head p {
  margin-top: 12px;
  font-size: clamp(16px, 1.6vw, 22px);
  line-height: 1.35;
  opacity: .85;
}
.section-head--light { color: #fff; }

/* ---------- Links de download ---------- */
.link-download {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding-block: 6px;
  color: #fff;
  font-size: 15px;
  line-height: 1.1;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(255, 255, 255, .45);
  transition: color .2s var(--ease), text-decoration-color .2s var(--ease);
}
.link-download img { transition: transform .25s var(--ease), filter .25s var(--ease); }
.link-download:hover { color: var(--lime); text-decoration-color: var(--lime); }
.link-download:hover img { transform: translateY(2px); filter: drop-shadow(0 0 6px rgba(206, 255, 67, .8)); }

/* ---------- Brilho que atravessa os botões verdes ---------- */
@keyframes sheen {
  0%, 62% { background-position: 160% 0, 0 0; }
  100% { background-position: -60% 0, 0 0; }
}

/* =========================================================
   NAVBAR
   ========================================================= */
:root { --nav-h: 76px; }
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: var(--nav-h);
  transition: top .5s var(--ease-out);
}
.nav.is-hidden { top: calc(-1 * var(--nav-h) - 2px); }
/* sombra suave no topo para legibilidade sobre a foto */
.nav::before,
.nav::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  transition: opacity .4s var(--ease);
}
.nav::before { background: linear-gradient(180deg, rgba(16, 16, 26, .55), transparent); }
.nav::after {
  background: rgba(16, 16, 26, .72);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
          backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  opacity: 0;
}
.nav.is-scrolled::after { opacity: 1; }
.nav.is-scrolled::before { opacity: 0; }

.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav__logo {
  color: #fff;
  font: italic 700 34px/1 'Barlow Condensed', var(--font-ui);
  font-stretch: normal;
  text-decoration: none;
  transition: color .25s var(--ease), text-shadow .25s var(--ease);
}
.nav__logo:hover { color: var(--lime); text-shadow: 0 0 18px rgba(206, 255, 67, .55); }

.nav__links { display: flex; gap: clamp(24px, 3vw, 44px); }
.nav__links a {
  position: relative;
  display: inline-block;
  padding-block: 10px;
  color: rgba(255, 255, 255, .78);
  font: 500 14px/1.2 var(--font-ui);
  font-stretch: normal;
  text-decoration: none;
  transition: color .25s var(--ease);
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--lime);
  box-shadow: 0 0 10px rgba(206, 255, 67, .8);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.nav__links a:hover,
.nav__links a.is-active { color: #fff; }
.nav:not(.is-scrolled) .nav__links a { text-shadow: 0 1px 14px rgba(0, 0, 0, .7); }
.nav__links a:hover::after,
.nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__menu-only { display: none; }

/* Texto que "rola" no hover (cópia verde sobe por baixo) */
.roll { display: inline-block; overflow: hidden; vertical-align: top; height: 1.2em; }
.roll__in { position: relative; display: block; transition: transform .5s var(--ease-out); }
.roll__in::after {
  content: attr(data-text);
  position: absolute;
  left: 0; top: 100%;
  color: var(--lime);
}
a:hover > .roll .roll__in { transform: translateY(-100%); }

.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 40px;
  color: #0b0b10;
  font: 600 14px/1 var(--font-ui);
  font-stretch: normal;
  text-decoration: none;
  background: var(--sheen), var(--lime-grad);
  background-size: 260% 100%, 100% 100%;
  background-repeat: no-repeat;
  box-shadow: 0 0 0 1px rgba(206, 255, 67, .35), 0 8px 24px -10px rgba(206, 255, 67, .6), inset 0 1px 0 rgba(255, 255, 255, .7);
  animation: sheen 5s var(--ease) infinite;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease);
}
.nav__cta span { transition: transform .35s var(--ease-out); }
.nav__cta:hover { transform: translateY(-2px); box-shadow: var(--lime-glow-hover), inset 0 1px 0 rgba(255, 255, 255, .8); }
.nav__cta:hover span { transform: translate(2px, -2px); }

.nav__toggle {
  display: none;
  position: relative;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(16, 16, 26, .45);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  cursor: pointer;
}
.nav__toggle span {
  position: absolute;
  left: 13px; right: 13px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform .4s var(--ease-out), top .4s var(--ease-out);
}
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 25px; }
.is-open .nav__toggle span:first-child { top: 21px; transform: rotate(45deg); }
.is-open .nav__toggle span:last-child { top: 21px; transform: rotate(-45deg); }

#lances, #perfil, #quem-sou-eu, #contato { scroll-margin-top: 0; }

/* =========================================================
   1. HERO
   ========================================================= */
.hero {
  position: relative;
  /* Desktop: ocupa exatamente a altura da tela (abaixo da navbar fica o conteúdo) */
  height: 100svh;
  min-height: 600px;
  max-height: 1200px;
  padding-top: var(--nav-h);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--glow);
}

.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }

/* ---- Iluminação interativa (segue o mouse; ver js/main.js) ---- */
.hero { --mx: 30%; --my: 40%; --px: 0; --py: 0; --li: .55; }
.hero__light,
.hero__net,
.hero__flare { position: absolute; inset: 0; pointer-events: none; }
.hero__light {
  /* holofote amplo azul/verde */
  background: radial-gradient(640px circle at var(--mx) var(--my), rgba(18, 211, 147, .34), rgba(22, 94, 163, .2) 38%, transparent 68%);
  mix-blend-mode: screen;
  opacity: var(--li);
}
.hero__net {
  /* "rede do gol" que só aparece onde a luz bate */
  background-image:
    repeating-linear-gradient(45deg, rgba(206, 255, 67, .32) 0 1px, transparent 1px 30px),
    repeating-linear-gradient(-45deg, rgba(206, 255, 67, .32) 0 1px, transparent 1px 30px);
  background-position: calc(var(--px) * 14px) calc(var(--py) * 14px);
  -webkit-mask-image: radial-gradient(320px circle at var(--mx) var(--my), #000 0%, rgba(0, 0, 0, .45) 42%, transparent 72%);
          mask-image: radial-gradient(320px circle at var(--mx) var(--my), #000 0%, rgba(0, 0, 0, .45) 42%, transparent 72%);
  opacity: calc(var(--li) * 1.1);
}
.hero__flare {
  /* núcleo mais intenso, verde-limão */
  background: radial-gradient(150px circle at var(--mx) var(--my), rgba(206, 255, 67, .26), transparent 70%);
  mix-blend-mode: screen;
  opacity: var(--li);
}
.hero__word--a { translate: calc(var(--px) * -36px) calc(var(--py) * -22px); }
.hero__word--b { translate: calc(var(--px) * 30px) calc(var(--py) * 18px); }
.hero__stroke { translate: calc(var(--px) * -14px) calc(var(--py) * -10px); }
.hero__word {
  position: absolute;
  width: 74.2%;
  max-width: none;
  opacity: .9;
}
.hero__word--a { left: -24.8%; top: 5%; }
.hero__word--b { left: 73.2%; top: 58.6%; }
.hero__stroke {
  position: absolute;
  left: 27.7%;
  top: -53.5%;
  width: 78.9%;
  aspect-ratio: 1515.55 / 2115.24;
  display: grid;
  place-items: center;
}
.hero__stroke img {
  width: 126.7%;
  max-width: none;
  transform: rotate(-69.68deg);
}

.hero__media {
  position: absolute;
  z-index: 0;
  top: 2.2%;
  /* em telas de 1024px a foto não encosta nos cartões */
  left: max(calc(50% + 12px), 580px);
  height: 116.5%;
  aspect-ratio: 752 / 1258;
  will-change: transform;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
}

.hero__inner { z-index: 1; }
.hero__content {
  width: min(503px, 100%);
  padding-block: clamp(16px, 3.5vh, 48px);
  display: flex;
  flex-direction: column;
  /* tamanhos medidos pela altura da tela para tudo caber na primeira dobra */
  gap: clamp(18px, 3.6vh, 48px);
}

.hero__role {
  font-size: clamp(14px, min(1.6vw, 2.5vh), 22px);
  text-transform: uppercase;
  line-height: 1.2;
}
.hero__title {
  margin-top: clamp(6px, 1.2vh, 12px);
  font-weight: 700;
  font-size: clamp(40px, min(5.6vw, 9vh), 80px);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -.005em;
}

.stats {
  display: grid;
  grid-template-columns: 229fr 264fr;
  gap: 10px;
}
.stat {
  min-height: clamp(50px, 7.4vh, 68px);
  padding: clamp(8px, 1.3vh, 12px) 18px;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  background: rgba(16, 16, 26, .35);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.stat:hover { border-color: #47698d; background-color: rgba(16, 16, 26, .55); }
/* cartões acendem quando a luz passa por eles */
.stat {
  position: relative;
  background-image: radial-gradient(200px circle at var(--cx, -999px) var(--cy, -999px), rgba(206, 255, 67, calc(var(--li, .55) * .09)), transparent 70%);
}
.stat::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(170px circle at var(--cx, -999px) var(--cy, -999px), rgba(206, 255, 67, .85), rgba(18, 211, 147, .3) 45%, transparent 75%);
  opacity: var(--li, .55);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
}
.stat--wide { grid-column: 1 / -1; }
.stat dt {
  color: var(--label);
  font-weight: 700;
  font-size: 13px;
  line-height: 1.1;
  text-transform: uppercase;
}
.stat dd {
  font-weight: 700;
  font-size: clamp(15px, min(1.4vw, 2.3vh), 20px);
  line-height: 1.1;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(6px, 1.4vh, 16px);
}

/* Botão inclinado verde-limão, com brilho */
.btn-skew {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: min(477px, calc(100% - 20px));
  min-height: clamp(54px, 7.8vh, 74px);
  padding: 16px 24px;
  color: var(--navy-800);
  font: 600 clamp(18px, 1.7vw, 23px)/1.1 var(--font-ui);
  letter-spacing: -.01em;
  text-decoration: none;
  text-align: center;
  isolation: isolate;
  transition: transform .35s var(--ease-out);
}
.btn-skew::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--sheen), var(--lime-grad);
  background-size: 260% 100%, 100% 100%;
  background-repeat: no-repeat;
  box-shadow: var(--lime-glow), inset 0 1px 0 rgba(255, 255, 255, .7), inset 0 -2px 0 rgba(0, 0, 0, .08);
  transform: skewX(-13deg);
  animation: sheen 4.5s var(--ease) infinite;
  transition: box-shadow .35s var(--ease);
}
.btn-skew__icon {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--navy-800);
  color: var(--lime);
  transition: transform .35s var(--ease-out);
}
.btn-skew:hover { transform: translateY(-3px); }
.btn-skew:hover::before { box-shadow: var(--lime-glow-hover), inset 0 1px 0 rgba(255, 255, 255, .8), inset 0 -2px 0 rgba(0, 0, 0, .08); animation-duration: 1.4s; }
.btn-skew:hover .btn-skew__icon { transform: scale(1.12); }
.btn-skew:active { transform: translateY(-1px); }
.btn-skew:focus-visible { outline-offset: 6px; }

/* Entrada da primeira dobra (sequência: foto → título → dados → ações) */
.js .hero__media img {
  clip-path: inset(100% 0 0 0);
  transform: scale(1.12) translateY(4%);
  transition: clip-path 1.3s var(--ease-out), transform 1.8s var(--ease-out);
}
.is-loaded .hero__media img { clip-path: inset(0 0 0 0); transform: none; }

.js .hero .line__inner { transition-delay: calc(var(--i, 0) * 90ms + 350ms); }
.js .hero__role .line__inner { transition-delay: 250ms; }
.is-loaded .hero .line__inner { transform: none; }

/* Nome: cada letra sobe com leve rotação, em cascata */
.hero__title .word { display: inline-block; white-space: nowrap; }
.hero__title .line { width: max-content; max-width: none; padding-right: .08em; }
.char { display: inline-block; }
.js .hero__title .line__inner { transform: none; transition: none; }
.js .hero__title .char {
  transform: translateY(115%) rotate(8deg);
  transform-origin: 0 100%;
  transition: transform 1s var(--ease-out);
  transition-delay: calc(var(--c) * 35ms + 380ms);
}
.is-loaded .hero__title .char { transform: none; }
/* Hover no nome: as letras dão um pequeno "salto" em onda */
.is-settled .hero__title .line { overflow: visible; }
@media (hover: hover) {
  .is-settled .hero__title:hover .char { animation: char-hop .6s var(--ease-out) calc(var(--c) * 30ms); }
}
@keyframes char-hop {
  0%, 100% { transform: none; }
  40% { transform: translateY(-10%); color: var(--lime); }
}
/* "GOLEIRO": letras se aproximam ao entrar */
.js .hero__role { letter-spacing: .5em; opacity: 0; transition: letter-spacing 1.4s var(--ease-out) .2s, opacity 1s var(--ease) .2s; }
.is-loaded .hero__role { letter-spacing: .02em; opacity: 1; }

.js .stat {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s var(--ease-out), transform .8s var(--ease-out), border-color .25s var(--ease), background-color .25s var(--ease);
}
.js .stat:nth-child(1) { transition-delay: 650ms, 650ms, 0s, 0s; }
.js .stat:nth-child(2) { transition-delay: 710ms, 710ms, 0s, 0s; }
.js .stat:nth-child(3) { transition-delay: 770ms, 770ms, 0s, 0s; }
.js .stat:nth-child(4) { transition-delay: 830ms, 830ms, 0s, 0s; }
.js .stat:nth-child(5) { transition-delay: 890ms, 890ms, 0s, 0s; }
.js .stat:nth-child(6) { transition-delay: 950ms, 950ms, 0s, 0s; }
.js .stat:nth-child(7) { transition-delay: 1010ms, 1010ms, 0s, 0s; }
.is-loaded .stat { opacity: 1; transform: none; }

.js [data-enter] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .8s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: 1.1s;
}
.is-loaded [data-enter] { opacity: 1; transform: none; }

/* =========================================================
   Faixa com o nome
   ========================================================= */
.ticker {
  position: absolute;
  left: 0; right: 0;
  top: 24px;
  overflow: hidden;
  color: var(--ticker);
  font-size: 15px;
  line-height: 1.1;
  white-space: nowrap;
  pointer-events: none;
}
.ticker--bottom { top: auto; bottom: 23px; }
.ticker__track {
  display: flex;
  gap: 26px;
  width: max-content;
  animation: ticker 90s linear infinite;
}
.ticker--bottom .ticker__track { animation-direction: reverse; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* =========================================================
   2. MELHORES LANCES
   ========================================================= */
.highlights {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: calc(var(--section-y) + 8px);
  background:
    radial-gradient(ellipse 45% 70% at 50% 74%, rgba(18, 211, 147, .45), rgba(20, 153, 155, .2) 40%, rgba(22, 94, 163, 0) 75%),
    radial-gradient(ellipse 70% 90% at 48% 74%, rgba(22, 94, 163, .5), rgba(22, 94, 163, 0) 70%),
    linear-gradient(180deg, var(--navy-800), #010101);
}
.highlights__word {
  position: absolute;
  z-index: -1;
  left: -16.25%;
  top: 50%;
  width: 123.4%;
  max-width: none;
  pointer-events: none;
}
.highlights__inner { display: grid; gap: var(--space-lg); }

.video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 3px solid var(--teal-border);
  border-radius: 17px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
}
.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video__poster {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: #000;
  cursor: pointer;
}
.video__poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease-out), filter .3s var(--ease);
}
.video__play {
  position: relative;
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  color: var(--ink);
  background: var(--lime-grad);
  box-shadow: var(--lime-glow);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease);
}
.video__play svg { margin-left: 4px; }
.video__poster:hover img { transform: scale(1.03); filter: brightness(.85); }
.video__poster:hover .video__play,
.video__poster:focus-visible .video__play { transform: scale(1.08); box-shadow: var(--lime-glow-hover); }
.video__poster:focus-visible { outline: 3px solid var(--lime); outline-offset: -6px; }
@media (max-width: 599px) { .video__play { width: 64px; height: 64px; } }

/* =========================================================
   3. PERFIL TÉCNICO
   ========================================================= */
.skills {
  background: var(--cream);
  color: var(--ink);
  padding-block: var(--section-y);
}
.skills__list {
  width: min(600px, 100%);
  margin: var(--space-lg) auto 0;
  display: grid;
}
.skill {
  display: grid;
  grid-template-columns: auto 2px 1fr;
  align-items: center;
  gap: 24px;
  padding-block: clamp(20px, 2.2vw, 28px);
  border-bottom: 1px solid rgba(18, 18, 19, .1);
}
.skill:first-child { border-top: 1px solid rgba(18, 18, 19, .1); }
.skill__num {
  font-weight: 700;
  font-size: clamp(28px, 2.6vw, 36px);
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  min-width: 2.05ch;
  transition: color .25s var(--ease);
}
.skill::before {
  content: '';
  grid-column: 2;
  grid-row: 1;
  width: 2px;
  height: 37px;
  background: var(--lime);
  transform-origin: center;
  transition: transform .3s var(--ease), background-color .3s var(--ease);
}
.skill__num { grid-column: 1; grid-row: 1; }
.skill__body { grid-column: 3; grid-row: 1; transition: transform .3s var(--ease); }
.skill h3 {
  font-weight: 700;
  font-size: clamp(20px, 1.9vw, 26px);
  line-height: 1.2;
}
.skill p {
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.45;
  color: #3a3b3e;
}
.skill:hover::before { transform: scaleY(1.25); background: #9ccc12; }
.skill:hover .skill__body { transform: translateX(4px); }

/* =========================================================
   4. QUEM SOU EU
   ========================================================= */
.about {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: clamp(720px, 100svh, 1080px);
  display: grid;
  grid-template-columns: minmax(0, 714fr) minmax(0, 1206fr);
  background: var(--glow);
}
.about__photo {
  position: relative;
  overflow: hidden;
}
/* Fotos que se alternam */
.slides { position: absolute; inset: -4% 0; }
.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 25%);
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.2s var(--ease), transform 1.2s var(--ease);
}
.slide.is-active {
  opacity: 1;
  transform: scale(1);
  animation: slow-zoom calc(var(--interval, 5000ms) + 1.5s) linear both;
}
@keyframes slow-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.about__photo::after {
  /* leve escurecimento embaixo para os controles */
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 30%;
  background: linear-gradient(180deg, transparent, rgba(16, 16, 26, .65));
  pointer-events: none;
}
.slides__controls {
  position: absolute;
  z-index: 2;
  left: clamp(16px, 2.5vw, 32px);
  right: clamp(16px, 2.5vw, 32px);
  bottom: clamp(16px, 2.5vw, 32px);
  display: flex;
  align-items: center;
  gap: 16px;
}
.slides__dots { display: flex; gap: 6px; flex: 1; max-width: 260px; }
.slides__dot {
  flex: 1;
  height: 24px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  display: grid;
  align-items: center;
}
.slides__dot span {
  position: relative;
  display: block;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .3);
  overflow: hidden;
  transition: background-color .2s var(--ease);
}
.slides__dot:hover span { background: rgba(255, 255, 255, .55); }
.slides__dot span::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--lime);
  box-shadow: 0 0 8px rgba(206, 255, 67, .9);
  transform: scaleX(0);
  transform-origin: left;
}
.slides__dot.is-active span::after { transform: scaleX(1); }
.is-playing .slides__dot.is-active span::after { animation: progress var(--interval, 5000ms) linear both; }
@keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.slides__toggle {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(16, 16, 26, .45);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  color: #fff;
  cursor: pointer;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.slides__toggle:hover { border-color: var(--lime); color: var(--lime); }
.slides__toggle .i-play { display: none; }
.is-paused .slides__toggle .i-play { display: block; }
.is-paused .slides__toggle .i-pause { display: none; }
.about__ghost {
  position: absolute;
  z-index: -1;
  right: 0;
  top: 0;
  /* ocupa toda a altura da seção e se dissolve nas bordas (sem "corte" visível) */
  width: min(36%, 680px);
  height: 100%;
  object-fit: cover;
  object-position: 50% 15%;
  opacity: .08;
  pointer-events: none;
  mix-blend-mode: luminosity;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%), linear-gradient(180deg, #000 45%, transparent 92%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(90deg, transparent, #000 40%), linear-gradient(180deg, #000 45%, transparent 92%);
          mask-composite: intersect;
}

.about__content {
  align-self: center;
  max-width: 602px;
  margin-left: clamp(32px, 6.9vw, 130px);
  margin-right: calc(var(--gutter) + 48px);
  padding-block: var(--section-y);
}
.about__content h2 {
  color: #f2f3ec;
  font-weight: 700;
  font-size: clamp(34px, 3.1vw, 59px);
  line-height: 1.2;
  text-transform: uppercase;
}
.about__text {
  margin-top: var(--space-md);
  color: var(--muted);
  font-size: clamp(16px, 1.2vw, 21px);
  line-height: 1.55;
}
.about__text p + p { margin-top: 1em; }

.about__signature {
  position: absolute;
  right: max(var(--gutter), calc((100% - var(--container)) / 2));
  /* centralizada na altura da seção: nunca ultrapassa o fim dela */
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 27px;
  width: 17px;
  pointer-events: none;
}
.about__line { width: 1px; height: clamp(120px, 34vh, 408px); background: var(--muted); opacity: .8; margin-right: 0; }
.about__vertical {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
}

/* =========================================================
   5. CONTATO
   ========================================================= */
.contact {
  position: relative;
  background:
    radial-gradient(ellipse 75% 110% at 5% 8%, rgba(18, 211, 147, .55), rgba(20, 153, 155, .25) 35%, rgba(22, 94, 163, 0) 70%),
    radial-gradient(ellipse 120% 160% at 5% 8%, rgba(22, 94, 163, .52), rgba(22, 94, 163, 0) 70%),
    linear-gradient(180deg, var(--navy-800), var(--navy-900));
  padding-block: var(--section-y);
}
.contact__inner {
  display: grid;
  grid-template-columns: minmax(0, 624fr) minmax(0, 485fr);
  justify-content: space-between;
  column-gap: clamp(32px, 6vw, 115px);
  align-items: center;
}
.contact__title {
  font-weight: 700;
  font-size: clamp(36px, 3.7vw, 70.5px);
  line-height: 1.06;
  text-transform: uppercase;
}
.contact__lead { font-weight: 700; font-size: clamp(18px, 1.2vw, 22px); line-height: 1.25; }
.contact__text { margin-top: 12px; font-size: 16px; line-height: 1.45; color: rgba(255, 255, 255, .8); }
.contact__buttons { margin-top: var(--space-md); display: grid; gap: 14px; }
.contact__box > .link-download { margin-top: 20px; }

.btn-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  padding: 0 18px 0 22px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.1;
  text-decoration: none;
  isolation: isolate;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease), background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn-row span {
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  font: 400 18px/1 var(--font-ui);
  transition: transform .35s var(--ease-out), background-color .25s var(--ease), color .25s var(--ease);
}
.btn-row:hover { transform: translateY(-3px); }
.btn-row:hover span { transform: translate(2px, -2px) rotate(-8deg); }

.btn-row--solid {
  color: #0b0b10;
  background: var(--sheen), var(--lime-grad);
  background-size: 260% 100%, 100% 100%;
  background-repeat: no-repeat;
  box-shadow: var(--lime-glow), inset 0 1px 0 rgba(255, 255, 255, .7), inset 0 -2px 0 rgba(0, 0, 0, .08);
  animation: sheen 4.5s var(--ease) infinite;
}
.btn-row--solid span { background: var(--navy-800); color: var(--lime); }
.btn-row--solid:hover { box-shadow: var(--lime-glow-hover), inset 0 1px 0 rgba(255, 255, 255, .8), inset 0 -2px 0 rgba(0, 0, 0, .08); animation-duration: 1.4s; }

.btn-row--outline {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .55);
  background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02));
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15);
}
.btn-row--outline span { background: rgba(255, 255, 255, .1); }
.btn-row--outline:hover {
  border-color: var(--lime);
  color: var(--lime);
  box-shadow: 0 0 0 1px rgba(206, 255, 67, .3), 0 10px 30px -10px rgba(206, 255, 67, .5), inset 0 1px 0 rgba(255, 255, 255, .15);
}
.btn-row--outline:hover span { background: var(--lime); color: var(--navy-800); }

/* Link ainda sem destino (ver js/config.js): visível como no Figma, sem ação.
   Mantém o brilho, mas sem o "levantar" ao passar o mouse. */
.is-pending { cursor: default; }
.btn-row.is-pending:hover,
.btn-skew.is-pending:hover { transform: none; }
.btn-row.is-pending:hover span,
.link-download.is-pending:hover img { transform: none; filter: none; }
.link-download.is-pending:hover { color: #fff; text-decoration-color: rgba(255, 255, 255, .45); }
.social a.is-pending:hover { color: var(--ink-soft); transform: none; }

/* =========================================================
   6. RODAPÉ
   ========================================================= */
.footer {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--cream);
  color: #000;
  min-height: 503px;
  padding-block: clamp(56px, 6vw, 88px);
}
.footer__script {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0;
  pointer-events: none;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  column-gap: clamp(48px, 10.6vw, 208px);
  align-items: start;
}
.footer__logo {
  display: inline-block;
  color: var(--ink-soft);
  font: italic 700 clamp(64px, 4.9vw, 94.5px)/.97 'Barlow Condensed', var(--font-ui);
  font-stretch: normal;
  text-decoration: none;
}
.social { display: flex; gap: 16px; margin-top: 24px; }
.social a {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  margin: -8px;
  color: var(--ink-soft);
  border-radius: 50%;
  transition: color .2s var(--ease), transform .2s var(--ease);
}
.social a:hover { color: var(--blue); transform: translateY(-2px); }

.footer__nav { padding-top: 18px; font-family: var(--font-ui); font-stretch: normal; font-size: 14px; line-height: 1.1; }
.footer__nav-title { font-weight: 600; }
.footer__nav ul { margin-top: 18px; display: grid; gap: 4px; }
.footer__nav a {
  display: inline-block;
  padding-block: 8px;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 6px) / 0 1px no-repeat;
  transition: background-size .25s var(--ease), color .2s var(--ease);
}
.footer__nav a:hover { background-size: 100% 1px; color: var(--blue); }

.btn-top {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 8px 8px 8px 24px;
  border: 1px solid #000;
  border-radius: 40px;
  font: 600 14px/1.1 var(--font-ui);
  text-decoration: none;
  background: rgba(242, 243, 235, .8);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  transition: background-color .25s var(--ease), color .25s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease-out);
}
.btn-top span {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: #000;
  color: var(--lime);
  font-size: 16px;
  font-weight: 400;
  transition: transform .35s var(--ease-out), background-color .25s var(--ease), color .25s var(--ease);
}
.btn-top:hover {
  background: #0b0b10;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .5), 0 0 0 1px rgba(206, 255, 67, .4);
}
.btn-top:hover span { transform: translateY(-3px); background: var(--lime); color: #0b0b10; box-shadow: 0 0 16px rgba(206, 255, 67, .7); }

/* Assinatura "Enzo" sendo escrita: contorno traçado + preenchimento
   revelado da esquerda para a direita */
.footer__script .sig-fill { fill: var(--lime-script); }
.footer__script .sig-stroke {
  fill: none;
  stroke: var(--lime-script);
  stroke-width: 3;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.js .footer__script .sig-stroke {
  stroke-dasharray: 1 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 3.2s cubic-bezier(.45, .05, .35, 1);
}
.js .footer__script .sig-wipe {
  transform: translateX(-2220px);
  transition: transform 3s cubic-bezier(.5, .1, .3, 1) .35s;
}
.footer.is-visible .footer__script .sig-stroke { stroke-dashoffset: 0; }
.footer.is-visible .footer__script .sig-wipe { transform: none; }

/* =========================================================
   Revelação das seções (inspirada em landonorris.com:
   linhas que sobem de uma máscara, imagens que abrem de baixo
   para cima com leve zoom, rolagem com inércia)
   ========================================================= */
.line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.line__inner { display: block; }
.js .line__inner {
  transform: translateY(110%);
  transition: transform 1.1s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.reveal-lines.is-visible .line__inner { transform: none; }

/* Palavras que sobem com desfoque, uma após a outra */
.reveal-words .word { display: inline-block; }
.js .reveal-words .word {
  opacity: 0;
  filter: blur(6px);
  transform: translateY(.55em);
  transition: opacity .7s var(--ease), filter .7s var(--ease), transform .9s var(--ease-out);
  transition-delay: calc(var(--w) * 45ms + 150ms);
}
.js .reveal-words.is-visible .word { opacity: 1; filter: none; transform: none; }

/* "Quem sou eu": o texto acende palavra por palavra com a rolagem */
[data-scrub] .word { transition: color .45s var(--ease); }
.js [data-scrub] .word { color: rgba(166, 174, 164, .28); }
.js [data-scrub] .word.is-lit { color: #e6eae1; }

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s var(--ease-out) .15s, transform 1s var(--ease-out) .15s;
}
.js .reveal.is-visible { opacity: 1; transform: none; }

.js .reveal-clip {
  clip-path: inset(18% 6% 18% 6% round 17px);
  transition: clip-path 1.4s var(--ease-out);
}
.js .reveal-clip > .slides,
.js .reveal-clip > iframe {
  scale: 1.15;
  transition: scale 1.8s var(--ease-out);
}
.js .reveal-clip.is-visible { clip-path: inset(0 0 0 0 round 17px); }
.js .about__photo.reveal-clip { clip-path: inset(100% 0 0 0); }
.js .about__photo.reveal-clip.is-visible { clip-path: inset(0 0 0 0); }
.js .reveal-clip.is-visible > .slides,
.js .reveal-clip.is-visible > iframe { scale: 1; }

/* Perfil técnico: número, barra e texto entram em sequência */
.js .skill .skill__num,
.js .skill .skill__body {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s var(--ease-out), transform .9s var(--ease-out);
}
.js .skill .skill__body { transition-delay: .12s; }
.js .skill::before { transform: scaleY(0); transition: transform .8s var(--ease-out) .05s, background-color .3s var(--ease); }
.js .skill.is-visible .skill__num,
.js .skill.is-visible .skill__body { opacity: 1; transform: none; }
.js .skill.is-visible::before { transform: none; }
.js .skill.is-visible:hover::before { transform: scaleY(1.25); }
.js .skill.is-visible:hover .skill__body { transform: translateX(4px); transition-delay: 0s; }

/* Lenis (rolagem suave) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-scrolling iframe { pointer-events: none; }

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 1279px) {
  .about__signature { display: none; }
}

@media (max-width: 1023px) {
  /* Navbar: menu em tela cheia */
  :root { --nav-h: 64px; }
  .nav__toggle { display: block; }
  .nav__cta { padding: 10px 16px; font-size: 13px; }
  .nav__menu {
    position: fixed;
    inset: 0;
    z-index: -1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--nav-h) var(--gutter) 48px;
    background: var(--glow);
    visibility: hidden;
    clip-path: circle(0 at calc(100% - 42px) 32px);
    transition: clip-path .7s var(--ease-out), visibility 0s linear .7s;
  }
  .is-open .nav__menu {
    visibility: visible;
    clip-path: circle(150% at calc(100% - 42px) 32px);
    transition: clip-path .8s var(--ease-out), visibility 0s;
  }
  .nav__links { flex-direction: column; gap: 4px; }
  .nav__menu-only { display: block; }
  .nav__links a {
    padding-block: 8px;
    color: #fff;
    font: 700 clamp(30px, 9vw, 48px)/1.15 var(--font-display);
    font-stretch: 125%;
    text-transform: uppercase;
  }
  .nav__links a::after { bottom: 4px; height: 3px; }
  /* no menu grande, o texto pode quebrar linha: sem efeito de "rolar" */
  .nav__links .roll { height: auto; overflow: visible; }
  .nav__links .roll__in { transform: none !important; }
  .nav__links .roll__in::after { content: none; }
  .nav__links a { font-size: clamp(26px, 8vw, 44px); }
  .nav__links a.is-active { color: var(--lime); }
  .nav__links li {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .5s var(--ease), transform .7s var(--ease-out);
  }
  .is-open .nav__links li { opacity: 1; transform: none; }
  .is-open .nav__links li:nth-child(1) { transition-delay: .15s; }
  .is-open .nav__links li:nth-child(2) { transition-delay: .22s; }
  .is-open .nav__links li:nth-child(3) { transition-delay: .29s; }
  .is-open .nav__links li:nth-child(4) { transition-delay: .36s; }
  .is-open.nav::before, .is-open.nav::after { opacity: 0; }
  .menu-open, .menu-open body { overflow: hidden; }

  /* Hero empilhado: foto em cima, dados embaixo */
  .hero {
    flex-direction: column;
    align-items: stretch;
    height: auto;
    min-height: 0;
    max-height: none;
    padding-top: 0;
  }
  .hero__media {
    position: relative;
    top: auto; left: auto;
    order: -1;
    width: 100%;
    height: min(62svh, 620px);
    aspect-ratio: auto;
    -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
            mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
  }
  .hero__media img { object-fit: cover; object-position: 50% 8%; }
  .hero__inner { margin-top: -88px; }
  .hero__content { margin-inline: auto; padding-block: 0 72px; gap: 32px; width: min(560px, 100%); }
  .hero__title { font-size: clamp(40px, 11vw, 72px); }
  .hero__role { font-size: 16px; }
  .stat { min-height: 62px; }
  .btn-skew { min-height: 64px; }
  .hero__word { width: 140%; opacity: .6; }
  .hero__word--a { left: -50%; top: 2%; }
  .hero__word--b { left: 30%; top: 70%; }
  .hero__stroke { display: none; }

  .highlights__word { width: 220%; left: -60%; top: 55%; }

  .about { grid-template-columns: 1fr; min-height: 0; }
  .about__photo { aspect-ratio: 4 / 3.4; max-height: 70svh; }
  .about__ghost { display: none; }
  .about__content { margin-inline: auto; padding: var(--space-lg) var(--gutter) var(--section-y); width: 100%; max-width: 650px; }

  .contact__inner { grid-template-columns: 1fr; row-gap: var(--space-md); }
  .contact__box { max-width: 560px; }

  .footer__inner { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .btn-top { grid-column: 2; justify-self: start; margin-top: 0; }
}

@media (max-width: 599px) {
  .hero__media { height: 52svh; }
  .hero__inner { margin-top: -72px; }
  .hero__content { gap: 28px; padding-bottom: 64px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 8px; }
  .stat { min-height: 62px; padding: 10px 12px; }
  .stat dt { font-size: 11px; }
  .btn-skew { min-height: 64px; }

  .ticker { font-size: 12px; top: 18px; }
  .ticker--bottom { top: auto; bottom: 18px; }
  .video { border-width: 2px; border-radius: 12px; }

  .skill { gap: 16px; }
  .skill::before { height: 32px; }
  .skill p { font-size: 14px; }

  .about__photo { aspect-ratio: 4 / 4.2; }

  .footer { padding-block: 56px 64px; min-height: 0; }
  .footer__inner { grid-template-columns: 1fr; }
  .btn-top { grid-column: 1; }
  .footer__script { object-position: 30% 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }
  .ticker__track { animation: none; }
}
/* Sem movimento: tudo visível, sem estados iniciais */
.reduce-motion [data-enter], .reduce-motion .stat, .reduce-motion .reveal,
.reduce-motion .line__inner, .reduce-motion .reveal-clip, .reduce-motion .reveal-clip > *,
.reduce-motion .hero__media img, .reduce-motion .skill .skill__num, .reduce-motion .skill .skill__body {
  opacity: 1 !important; transform: none !important; clip-path: none !important;
}
.reduce-motion .skill::before { transform: none !important; }
.reduce-motion .reveal-clip > * { scale: 1 !important; }
.reduce-motion .char, .reduce-motion .reveal-words .word {
  opacity: 1 !important; transform: none !important; filter: none !important;
}
.reduce-motion .hero__role { opacity: 1 !important; letter-spacing: .02em !important; }
.reduce-motion .hero__word, .reduce-motion .hero__stroke { translate: none !important; }
.reduce-motion .footer__script .sig-stroke { stroke-dashoffset: 0 !important; }
.reduce-motion .footer__script .sig-wipe { transform: none !important; }
