:root {
  --acc: #F2C230;
  --bg: #141414;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: #fff;
  font-family: 'Archivo', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: #fff; text-decoration: none; }
a:hover { color: #fff; opacity: .85; }
img { max-width: 100%; }

.page { overflow: hidden; background: var(--bg); }

.eyebrow { font-size: 16px; color: #cfcfcf; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: max(680px, 100vh);
  overflow: hidden;
  background: #121212;
  display: flex;
  flex-direction: column;
}
.hero__photo {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: min(560px, 80%);
  height: 78%;
}
.hero__glow {
  position: absolute;
  inset: 15% 5% 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 194, 48, .22), rgba(242, 194, 48, 0) 65%);
}
.hero__photo img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% top;
  opacity: 0;
  filter: blur(28px) grayscale(.35);
  transform: scale(1.15);
  transition: opacity 1.4s ease-out, filter 1.6s var(--ease-out), transform 2s var(--ease-out);
  -webkit-mask-image: linear-gradient(to bottom, #000 45%, transparent 92%), linear-gradient(to right, transparent, #000 25%, #000 75%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, #000 45%, transparent 92%), linear-gradient(to right, transparent, #000 25%, #000 75%, transparent);
  mask-composite: intersect;
}
.is-intro .hero__photo img {
  opacity: 1;
  filter: blur(0) grayscale(.35);
  transform: scale(1);
}

/* ---------- Abertura (preloader) ---------- */
html.is-loading { overflow: hidden; }
.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #121212;
  transition: opacity .3s ease-out, visibility 0s linear .3s;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__word {
  font-weight: 800;
  font-size: clamp(48px, 9vw, 140px);
  letter-spacing: -.035em;
  line-height: 1;
  white-space: nowrap;
}
.loader__word span {
  display: inline-block;
  color: rgba(255, 255, 255, .1);
  transition: color .45s ease-out;
}
.loader__word span.is-on { color: #fff; }

/* Elementos que entram depois do titulo */
.late { opacity: 0; }
.late--down { transform: translateY(-16px); transition: opacity .8s ease-out .5s, transform .8s var(--ease-out) .5s; }
.late--up { opacity: 1; }
.late--nav { transform: translateY(40px); transition: opacity .8s ease-out .9s, transform 1s var(--ease-out) .9s; }
.is-intro .late { opacity: 1; transform: translateY(0); }

/* Texto revelado caractere por caractere, com desfoque */
.chars span {
  display: inline-block;
  white-space: pre;
  opacity: 0;
  filter: blur(6px);
  transition: opacity .5s ease-out, filter .6s ease-out;
}
.is-intro .chars span { opacity: 1; filter: blur(0); }

.hero__header {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px clamp(20px, 3vw, 40px);
}
.brand { font-family: 'Anton', sans-serif; font-size: 20px; letter-spacing: .02em; }
.pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #cfcfcf;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 99px;
  padding: 7px 14px 7px 10px;
}
.pill__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--acc); }

.hero__body {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 clamp(12px, 2vw, 28px);
}
.hero__title {
  margin: 22vh 0 0;
  display: flex;
  justify-content: center;
  font-weight: 800;
  font-size: clamp(56px, 18vw, 300px);
  line-height: .86;
  letter-spacing: -.045em;
  white-space: nowrap;
  overflow: hidden;
  padding-bottom: .04em;
}
.hero__title span {
  display: inline-block;
  opacity: .08;
  filter: blur(14px);
  transform: scale(1.04);
  transition: opacity 1.1s ease-out, filter 1.2s var(--ease-out), transform 1.4s var(--ease-out);
  background: linear-gradient(to bottom, #fff 30%, rgba(255, 255, 255, .35) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.is-intro .hero__title span { opacity: 1; transform: scale(1); filter: blur(0); }

.hero__meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-top: 20px;
  padding: 0 clamp(8px, 1vw, 12px);
}
.hero__lede { display: flex; flex-direction: column; gap: 10px; max-width: 300px; }
.hero__lede p { margin: 0; font-size: 15px; line-height: 1.4; color: #e6e6e6; }
.byline { font-size: 12px; letter-spacing: .3em; color: #9d9d9d; }

.hero__vol {
  text-align: right;
  font-weight: 700;
  font-size: clamp(36px, 4vw, 56px);
  line-height: .95;
  letter-spacing: -.02em;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.mask { display: block; overflow: hidden; }
.vol { display: block; transform: translateY(110%); transition: transform .9s var(--ease-out) .55s; }
.vol--2 { transition-delay: .7s; }
.is-intro .vol { transform: translateY(0); }

.hero__navwrap {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
  padding: 28px 20px 40px;
}
.navbar {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(40, 40, 40, .85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 10px;
  padding: 5px;
  font-size: 13px;
}
.navbar a { padding: 9px 14px; color: #ddd; white-space: nowrap; }
.navbar a.navbar__cta { padding: 9px 16px; background: var(--acc); color: #141414; font-weight: 700; border-radius: 6px; }
.navbar a.navbar__cta:hover { color: #141414; }

/* ---------- Content / timeline ---------- */
.content { position: relative; padding: clamp(56px, 7vw, 88px) clamp(20px, 4vw, 40px); }
.content__inner { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; }
.section-head { text-align: center; display: flex; flex-direction: column; gap: 6px; margin-bottom: 44px; }
.section-head h2 { margin: 0; font-size: clamp(26px, 3vw, 34px); font-weight: 800; letter-spacing: -.01em; }

.row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 360px;
  opacity: 0;
  transition: opacity .35s ease-out, transform .35s ease-out;
}
.row--rev { flex-direction: row-reverse; }
.row img {
  width: min(30%, 240px);
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: top;
  border-radius: 18px;
  display: block;
}
.row img.pos-cover { object-position: 60% 20%; }
.card {
  position: relative;
  margin-left: 24px;
  flex: 1;
  max-width: 340px;
  background: rgba(14, 14, 14, .94);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 6px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.row--rev .card { margin-left: 0; margin-right: 24px; }
.card__range { font-size: 14px; color: #d6d6d6; }
.card h3 { margin: 0; font-size: 20px; font-weight: 800; line-height: 1.15; }
.card p { margin: 0; font-size: 13px; line-height: 1.5; color: #bdbdbd; }

.link {
  width: 15%;
  height: 180px;
  margin-top: -180px;
  position: relative;
  z-index: 0;
  pointer-events: none;
  border-top: 1.5px solid rgba(255, 255, 255, .75);
  transition: clip-path .12s linear;
}
.link--right {
  margin-left: 70%;
  border-right: 1.5px solid rgba(255, 255, 255, .75);
  border-top-right-radius: 16px;
  clip-path: inset(0 100% calc(100% - 2px) 0);
}
.link--left {
  margin-left: 15%;
  border-left: 1.5px solid rgba(255, 255, 255, .75);
  border-top-left-radius: 16px;
  clip-path: inset(0 0 calc(100% - 2px) 100%);
}

/* ---------- CTA ---------- */
.cta { padding: clamp(48px, 6vw, 72px) clamp(20px, 4vw, 40px); text-align: center; }
.cta__inner { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.cta h2 { margin: 0; font-size: clamp(26px, 3vw, 34px); font-weight: 800; line-height: 1.12; letter-spacing: -.01em; text-wrap: balance; }
.cta p { margin: 0; font-size: 14px; color: #bdbdbd; }
.button {
  margin-top: 18px;
  background: var(--acc);
  color: #141414;
  padding: 16px 28px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
a.button:hover { color: #141414; }

/* ---------- Author ---------- */
.author { position: relative; padding: 24px clamp(20px, 4vw, 40px) 0; }
.author__inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}
.author__photo { position: relative; display: flex; justify-content: center; }
.author__glow {
  position: absolute;
  left: 50%;
  top: 10%;
  width: 440px;
  max-width: 100%;
  height: 440px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 194, 48, .3), rgba(242, 194, 48, 0) 68%);
}
.author__photo img {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top;
  display: block;
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent);
  mask-image: linear-gradient(to bottom, #000 70%, transparent);
}
.author__text { display: flex; flex-direction: column; gap: 10px; max-width: 420px; padding-bottom: 40px; }
.author__text h2 { margin: 0; font-size: clamp(30px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.01em; }
.role { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--acc); }
.author__text p { margin: 0; font-size: 14px; line-height: 1.6; color: #c4c4c4; text-wrap: pretty; }
.author__text p.first { margin-top: 8px; }

/* ---------- Footer ---------- */
.footer { padding: 40px clamp(20px, 4vw, 40px) 32px; }
.footer__inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  color: #bdbdbd;
}
.footer a { color: #bdbdbd; letter-spacing: .06em; text-transform: uppercase; }

/* ---------- Mobile timeline ---------- */
.mob { display: none; }
.tl-mob {
  position: relative;
  padding-left: 28px;
  flex-direction: column;
  gap: 36px;
}
.tl-mob__track,
.tl-mob__fill {
  position: absolute;
  left: 6px;
  top: 8px;
  width: 1.5px;
}
.tl-mob__track { bottom: 8px; background: rgba(255, 255, 255, .12); }
.tl-mob__fill { height: 0; background: rgba(255, 255, 255, .8); transition: height .12s linear; }
.tl-mob__item {
  position: relative;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transition: opacity .35s ease-out, transform .35s ease-out;
}
.tl-mob__dot {
  position: absolute;
  left: -27px;
  top: 6px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--acc);
}
.tl-mob__item img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top;
  border-radius: 16px;
  display: block;
}
.tl-mob__item img.pos-cover { object-position: 60% 20%; }
.tl-mob__item .card { margin: -48px 14px 0; max-width: none; padding: 20px 18px; }
.tl-mob__item .card__range { font-size: 13px; }
.tl-mob__item .card h3 { font-size: 19px; }
.tl-mob__item .card p { font-size: 14px; }

@media (max-width: 640px) {
  .desk { display: none; }
  .mob { display: block; }
  .tl-mob { display: flex; }
  .hero__title { margin-top: 34vh; }
  .navbar a { padding: 12px 14px; }
  .navbar a.navbar__cta { padding: 12px 18px; }
  .section-head { margin-bottom: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .loader { display: none; }
  *, *::before, *::after { transition-duration: 0s !important; transition-delay: 0s !important; }
}
