/* ==========================================================================
   Yuri Rodrigues — portfólio
   Ordem: tokens → base → componentes → seções → movimento → responsivo
   ========================================================================== */

/* ---------- Fontes (no próprio site: mais rápido e sem rastreio do Google) ---------- */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/barlow-400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../assets/fonts/barlow-500.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../assets/fonts/barlow-600.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: italic;
  font-weight: 800;
  font-display: swap;
  src: url(../assets/fonts/barlow-condensed-800-italic.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../assets/fonts/barlow-condensed-600.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../assets/fonts/barlow-condensed-700.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../assets/fonts/barlow-condensed-800.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  /* cores base */
  --black: #000000;
  --ink: #0a0a0a;
  --graphite: #141414;
  --graphite-2: #1c1c1c;
  --white: #ffffff;
  --w80: rgba(255, 255, 255, 0.8);
  --w70: rgba(255, 255, 255, 0.7);
  --w60: rgba(255, 255, 255, 0.6);
  --w50: rgba(255, 255, 255, 0.5);
  --line: rgba(255, 255, 255, 0.1);
  --line-2: rgba(255, 255, 255, 0.18);

  /* vinho (ponteira da faixa preta) */
  --wine-900: #3d0710;
  --wine-700: #6e0f1d;
  --wine-500: #9e1b2e;
  --wine-400: #b8243a;
  --wine-300: #e35a6e;

  /* medalhas (só na seção Títulos) */
  --gold: #c9a227;
  --silver: #bfc3c7;
  --bronze: #b4703a;

  /* faixas */
  --belt-white: #ededed;
  --belt-blue: #2f6fd6;
  --belt-purple: #7b4bc4;
  --belt-brown: #8a5a36;
  --belt-black: #161616;

  /* tipografia */
  --font-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* layout */
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 40px);
  --header-h: 64px;
  --section-y: clamp(80px, 12vw, 140px);
  --radius-s: 6px;
  --radius-m: 10px;
  --radius-l: 16px;

  /* movimento */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  background: var(--black);
  color-scheme: dark;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--w80);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

main {
  overflow-x: clip;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
}

p {
  margin: 0 0 1em;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 0.95;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.005em;
  text-wrap: balance;
}

:focus-visible {
  outline: 2px solid var(--wine-300);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--wine-500);
  color: var(--white);
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--white);
  color: var(--black);
  font-weight: 600;
  border-radius: var(--radius-s);
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-y);
}

.section-title {
  font-size: clamp(2.5rem, 7vw, 4.75rem);
}

.lede {
  max-width: 38rem;
  margin: 1.25rem 0 0;
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  line-height: 1.55;
  color: var(--w70);
  text-wrap: pretty;
}

/* Enquanto o idioma é aplicado (EN/ES), evita piscar o português.
   A animação garante que o conteúdo aparece mesmo se o JS falhar. */
.i18n-wait body {
  opacity: 0;
  animation: i18n-failsafe 0s linear 1.5s forwards;
}

@keyframes i18n-failsafe {
  to {
    opacity: 1;
  }
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 48px;
  padding: 0.75em 1.5em;
  border: 1px solid transparent;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s var(--ease-out);
}

.btn svg {
  width: 1.25em;
  height: 1.25em;
  flex: none;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--wine-500);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--wine-400);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
  background: transparent;
}

.btn--ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn--lg {
  min-height: 56px;
  padding-inline: 1.75em;
  font-size: 1.0625rem;
}

.btn--sm {
  min-height: 40px;
  padding: 0.5em 1em;
  font-size: 0.9375rem;
}

.btn--block {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.6;
  cursor: progress;
}

/* ---------- Faixa (marca do site) ---------- */
/* Faixa de jiu-jitsu: corpo + ponteira (onde ficam os graus) */
.belt {
  --belt-color: var(--belt-black);
  --tip-color: var(--wine-500);
  position: relative;
  display: inline-block;
  flex: none;
  width: var(--belt-w, 88px);
  height: var(--belt-h, 12px);
  border-radius: 2px;
  background-color: var(--belt-color);
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0 2px,
    rgba(255, 255, 255, 0.07) 2px 3px
  );
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.belt::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 12%;
  width: 30%;
  background: var(--tip-color);
}

.belt--deg1::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: calc(12% + 7%);
  width: 3px;
  background: var(--white);
}

.belt--sm {
  --belt-w: 34px;
  --belt-h: 8px;
}

.belt--sm.belt--deg1::after {
  width: 2px;
}

.belt--white {
  --belt-color: var(--belt-white);
  --tip-color: #111;
  box-shadow: none;
  background-image: repeating-linear-gradient(to bottom, transparent 0 2px, rgba(0, 0, 0, 0.08) 2px 3px);
}

.belt--brown {
  --belt-color: var(--belt-brown);
  --tip-color: #111;
}

/* ---------- Palavras gigantes de fundo ---------- */
.bgword {
  position: absolute;
  z-index: 0;
  left: 0;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  will-change: transform;
}

.bgword span {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(7rem, 26vw, 22rem);
  font-weight: 800;
  font-style: italic;
  line-height: 0.8;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.075);
  letter-spacing: -0.01em;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease;
}

.site-header.is-scrolled,
.menu-open .site-header {
  background: rgba(0, 0, 0, 0.82);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  backdrop-filter: blur(10px) saturate(140%);
  border-bottom-color: var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  margin-right: auto;
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
}

.header__tools {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.lang {
  display: flex;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
}

.lang__btn {
  min-width: 38px;
  min-height: 36px;
  padding: 0 0.4rem;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--w70);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.lang__btn:hover {
  color: var(--white);
}

.lang__btn[aria-pressed="true"] {
  background: var(--white);
  color: var(--black);
}

.header__cta {
  display: none;
}

.menu-toggle {
  display: grid;
  place-content: center;
  gap: 7px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: transparent;
}

.menu-toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out);
}

.menu-open .menu-toggle__bar:first-child {
  transform: translateY(4.5px) rotate(45deg);
}

.menu-open .menu-toggle__bar:last-child {
  transform: translateY(-4.5px) rotate(-45deg);
}

/* menu do celular (tela cheia) */
.nav {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 49;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem var(--gutter) max(2rem, env(safe-area-inset-bottom));
  background: var(--black);
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition:
    opacity 0.25s ease,
    transform 0.25s var(--ease-out),
    visibility 0s linear 0.25s;
}

.menu-open .nav {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition-delay: 0s;
}

.menu-open {
  overflow: hidden;
}

.nav__list {
  list-style: none;
  display: grid;
  gap: 0.25rem;
}

.nav__link {
  display: block;
  padding: 0.35rem 0;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 10vw, 3rem);
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
}

.nav__link.is-active {
  color: var(--wine-300);
}

.nav__extra {
  display: grid;
  gap: 1rem;
}

.nav__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  color: var(--w80);
  text-decoration: none;
}

.nav__social svg {
  width: 20px;
  height: 20px;
}

/* barra de progresso da rolagem: a ponteira vinho com o grau branco */
.scroll-belt {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.is-scrolled .scroll-belt {
  opacity: 1;
}

.scroll-belt__fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--wine-700), var(--wine-500));
  transform-origin: left center;
  transform: scaleX(var(--p, 0));
}

.scroll-belt__stripe {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: var(--white);
  transform: translateX(calc(var(--p, 0) * (100vw - 4px)));
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-h) + 2rem) 0 clamp(2.5rem, 7vw, 4.5rem);
  overflow: clip;
  background: radial-gradient(120% 80% at 85% 0%, #1d0509 0%, #000 55%);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  margin: 0;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(0, 0, 0, 0.05) 26%,
    rgba(0, 0, 0, 0.6) 52%,
    rgba(0, 0, 0, 0.94) 72%,
    #000 100%
  );
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
}

.bgword--hero {
  bottom: -0.04em;
}

.bgword--hero span {
  font-size: clamp(6rem, 30vw, 26rem);
}

.hero__content {
  position: relative;
  z-index: 1;
}

.rank-badge {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.35;
}

.rank-badge strong {
  display: block;
  color: var(--white);
  font-weight: 600;
}

.rank-badge__text span {
  color: var(--w60);
}

.hero__name {
  display: flex;
  flex-direction: column;
  font-size: clamp(4.25rem, 19vw, 11.5rem);
  line-height: 0.84;
  letter-spacing: -0.01em;
}

.hero__line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.02em;
}

.hero__line > span {
  display: block;
}

.hero__claim {
  max-width: 22ch;
  margin: 1.25rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4.4vw, 2.5rem);
  font-weight: 600;
  line-height: 1.08;
  color: var(--white);
  text-wrap: balance;
}

.hero__sub {
  max-width: 36rem;
  margin: 1rem 0 0;
  color: var(--w70);
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* ==========================================================================
   NÚMEROS
   ========================================================================== */
.stats {
  background: var(--ink);
  border-block: 1px solid var(--line);
}

.stats__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.stat {
  padding: 1.75rem 0.75rem 1.75rem 0;
}

.stat:nth-child(n + 3) {
  border-top: 1px solid var(--line);
}

.stat:nth-child(even) {
  padding-left: 1.25rem;
  border-left: 1px solid var(--line);
}

.stat__value {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 4.75rem);
  font-weight: 800;
  line-height: 1;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}

.stat__label {
  max-width: 17ch;
  margin: 0.5rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.35;
  color: var(--w60);
}

/* ==========================================================================
   SOBRE
   ========================================================================== */
.about__grid {
  display: grid;
  gap: 3.5rem;
}

.about__media {
  margin: 0;
  padding: 0 1rem 1rem 0;
}

.about__text .section-title {
  margin-bottom: 1.5rem;
}

.about__text .lede {
  margin-bottom: 1.25rem;
  color: var(--w80);
}

.about__text > p:not(.lede) {
  max-width: 38rem;
  color: var(--w70);
}

.athlete-card {
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line-2);
}

.athlete-card__title {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.athlete-card__list {
  display: grid;
  margin: 0;
}

.athlete-card__list > div {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
}

.athlete-card__list dt {
  font-size: 0.9375rem;
  color: var(--w60);
}

.athlete-card__list dd {
  margin: 0;
  font-weight: 500;
  color: var(--white);
}

/* ==========================================================================
   CITAÇÃO
   ========================================================================== */
.quote-band {
  padding-block: clamp(4.5rem, 10vw, 8rem);
  background: var(--ink);
  border-block: 1px solid var(--line);
}

.quote {
  max-width: 62rem;
  margin: 0;
}

.quote blockquote {
  margin: 0;
}

.quote blockquote::before {
  content: "\201C";
  display: block;
  height: 0.42em;
  font-family: var(--font-display);
  font-size: clamp(6rem, 14vw, 10rem);
  font-weight: 800;
  line-height: 0.8;
  color: var(--wine-500);
}

.quote blockquote p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.2vw, 3.75rem);
  font-style: italic;
  font-weight: 800;
  line-height: 1.02;
  text-transform: uppercase;
  color: var(--white);
  text-wrap: balance;
}

.quote__cite {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
  color: var(--w60);
  font-size: 0.9375rem;
}

/* ==========================================================================
   TRAJETÓRIA
   ========================================================================== */
.journey__grid {
  display: grid;
  gap: 3rem;
}

.timeline {
  --fill: 1;
  position: relative;
  padding-left: 2.75rem;
}

.timeline__track {
  position: absolute;
  top: 0.6rem;
  bottom: 0.6rem;
  left: 11px;
  width: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.timeline__fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    var(--belt-white) 0%,
    var(--belt-blue) 26%,
    var(--belt-purple) 48%,
    var(--belt-brown) 66%,
    #3a3a3a 84%,
    var(--wine-500) 100%
  );
  transform-origin: top center;
  transform: scaleY(var(--fill));
}

.timeline__list {
  list-style: none;
  display: grid;
  gap: clamp(2.5rem, 5vw, 3.5rem);
}

.step {
  position: relative;
}

.step__marker {
  --belt-w: 26px;
  --belt-h: 10px;
  position: absolute;
  top: 0.35rem;
  left: calc(-2.75rem - 0.5px);
  transition:
    opacity 0.4s ease,
    transform 0.4s var(--ease-out);
}

.step__marker--dot {
  width: 26px;
  height: 10px;
  border-radius: 5px;
  background: var(--graphite-2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.js .step:not(.is-reached) .step__marker {
  opacity: 0.35;
  transform: scale(0.85);
}

.step__when {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wine-300);
}

.step__title {
  margin-bottom: 0.65rem;
  font-size: clamp(1.625rem, 3vw, 2.25rem);
}

.step__text {
  max-width: 34rem;
  margin: 0;
  color: var(--w70);
}

.step--key {
  padding: 1.5rem 1.5rem 1.6rem;
  margin-left: -0.25rem;
  border-left: 2px solid var(--wine-500);
  border-radius: 0 var(--radius-m) var(--radius-m) 0;
  background: linear-gradient(90deg, rgba(110, 15, 29, 0.32), rgba(110, 15, 29, 0) 85%);
}

.step--key .step__marker {
  top: 1.85rem;
  left: calc(-2.75rem + 0.25rem - 0.5px);
}

.step--key .step__title {
  font-size: clamp(1.875rem, 3.6vw, 2.75rem);
}

.step--key .step__text {
  color: var(--w80);
}

/* ==========================================================================
   MEDALHAS (usadas nos números do topo)
   ========================================================================== */
.medal {
  --medal: var(--gold);
  position: relative;
  flex: none;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.55) 0, rgba(255, 255, 255, 0) 42%),
    var(--medal);
  box-shadow:
    inset 0 0 0 3px rgba(0, 0, 0, 0.22),
    inset 0 0 0 5px rgba(255, 255, 255, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.12);
}

.medal--silver {
  --medal: var(--silver);
}

.medal--bronze {
  --medal: var(--bronze);
}

/* ==========================================================================
   GALERIA
   ========================================================================== */
.gallery {
  padding-block: clamp(3.5rem, 8vw, 6rem);
}

.gallery__grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.gallery__item {
  aspect-ratio: 3 / 4;
}

.gallery__item--feature,
.gallery__item--wide {
  grid-column: span 2;
  aspect-ratio: 4 / 3;
}

.gallery__item--wide {
  aspect-ratio: 16 / 9;
}

.gallery__btn {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--graphite);
  cursor: zoom-in;
}

.gallery__btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.7s var(--ease-out),
    filter 0.5s ease;
}

@media (hover: hover) {
  .gallery__btn img {
    filter: grayscale(0.35) brightness(0.92);
  }

  .gallery__btn:hover img,
  .gallery__btn:focus-visible img {
    filter: none;
    transform: scale(1.04);
  }
}

/* visualizador */
.lightbox {
  width: 100vw;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.95);
  color: var(--white);
  overscroll-behavior: contain;
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.85);
}

.lightbox[open] {
  animation: lb-in 0.25s ease;
}

@keyframes lb-in {
  from {
    opacity: 0;
  }
}

.lightbox__figure {
  display: grid;
  place-items: center;
  height: 100%;
  margin: 0;
  padding: 4.5rem 1rem 6rem;
}

.lightbox__img {
  max-width: 100%;
  max-height: calc(100dvh - 10.5rem);
  object-fit: contain;
  border-radius: var(--radius-s);
}

.lightbox__caption {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  width: min(90%, 40rem);
  transform: translateX(-50%);
  text-align: center;
  font-size: 0.9375rem;
  color: var(--w70);
}

.lightbox__count {
  position: absolute;
  top: 1.4rem;
  left: 1.25rem;
  margin: 0;
  font-size: 0.875rem;
  color: var(--w60);
  font-variant-numeric: tabular-nums;
}

.lightbox__btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  transition: background-color 0.2s ease;
}

.lightbox__btn:hover {
  background: rgba(255, 255, 255, 0.16);
}

.lightbox__btn svg {
  width: 22px;
  height: 22px;
}

.lightbox__close {
  top: 0.75rem;
  right: 0.75rem;
}

.lightbox__prev,
.lightbox__next {
  bottom: 1.25rem;
}

.lightbox__prev {
  left: 1rem;
}

.lightbox__next {
  right: 1rem;
}

/* ==========================================================================
   LUTAS
   ========================================================================== */
.fights {
  background: var(--ink);
  border-block: 1px solid var(--line);
}

.fights__grid {
  display: grid;
  gap: 1.5rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

.video {
  min-width: 0;
}

.video__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--graphite);
}

.video__play {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.video__play img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
  transition:
    transform 0.6s var(--ease-out),
    opacity 0.3s ease;
}

.video__play:hover img,
.video__play:focus-visible img {
  opacity: 1;
  transform: scale(1.03);
}

.video__icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: auto;
  border-radius: 50%;
  background: var(--wine-500);
  color: var(--white);
  box-shadow: 0 0 0 8px rgba(158, 27, 46, 0.28);
  transition: transform 0.3s var(--ease-out);
}

.video__icon svg {
  width: 26px;
  height: 26px;
  margin-left: 3px;
}

.video__play:hover .video__icon {
  transform: scale(1.08);
}

.video__frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.video__info {
  padding-top: 0.9rem;
}

.video__event {
  font-size: 1.375rem;
  line-height: 1;
}

.video--feature .video__event {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.video__vs {
  margin: 0.35rem 0 0;
  font-size: 0.9375rem;
  color: var(--w70);
}

/* lutas menores no celular: miniatura ao lado do texto */
.video:not(.video--feature) {
  display: grid;
  grid-template-columns: minmax(0, 44%) 1fr;
  align-items: center;
  gap: 1rem;
}

.video:not(.video--feature) .video__info {
  padding-top: 0;
}

.video:not(.video--feature) .video__icon {
  width: 42px;
  height: 42px;
  box-shadow: 0 0 0 5px rgba(158, 27, 46, 0.28);
}

.video:not(.video--feature) .video__icon svg {
  width: 18px;
  height: 18px;
  margin-left: 2px;
}

/* Instagram */
.insta {
  display: grid;
  gap: 1.75rem;
  margin-top: clamp(3rem, 7vw, 4.5rem);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-l);
  background: linear-gradient(135deg, rgba(110, 15, 29, 0.22), rgba(110, 15, 29, 0) 60%);
}

.insta__title {
  margin-bottom: 0.75rem;
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
}

.insta__intro p {
  margin-bottom: 1.25rem;
  color: var(--w70);
}

.insta__reels {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.reel {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--graphite);
}

.reel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.reel:hover img,
.reel:focus-visible img {
  transform: scale(1.05);
}

.reel__icon {
  position: absolute;
  right: 0.6rem;
  bottom: 0.6rem;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.reel__icon svg {
  width: 14px;
  height: 14px;
  margin-left: 2px;
}

/* ==========================================================================
   AULAS
   ========================================================================== */
.classes {
  position: relative;
  isolation: isolate;
  overflow: clip;
}

.bgword--classes {
  top: clamp(1.5rem, 5vw, 3rem);
  left: auto;
  right: -0.05em;
}

.classes .container {
  position: relative;
  z-index: 1;
}

.offers {
  display: grid;
  gap: 1.25rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

.offer {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--graphite);
  overflow: hidden;
}

.offer__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 1rem;
  padding: 1.75rem 1.5rem 1.5rem;
}

.offer__title {
  font-size: 2.125rem;
}

.offer__desc {
  margin: 0;
  color: var(--w80);
}

.offer__list {
  list-style: none;
  display: grid;
  gap: 0.65rem;
  margin-bottom: 0.5rem;
  font-size: 0.96875rem;
  color: var(--w70);
}

.offer__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.offer__list svg {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 0.15em;
  color: var(--wine-300);
}

.offer .btn {
  margin-top: auto;
}

.offer--featured {
  border-color: rgba(158, 27, 46, 0.65);
  background: linear-gradient(180deg, rgba(110, 15, 29, 0.35), var(--graphite) 50%);
}

.offer__tag {
  align-self: flex-start;
  margin: 0 0 -0.25rem;
  padding: 0.3rem 0.65rem;
  border-radius: 4px;
  background: var(--wine-700);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--white);
}

.classes__note {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 1.75rem 0 0;
  color: var(--w70);
}

.classes__note svg {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--wine-300);
}

/* ==========================================================================
   CONTATO
   ========================================================================== */
.contact {
  position: relative;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(80% 60% at 100% 100%, rgba(110, 15, 29, 0.6) 0%, rgba(110, 15, 29, 0) 62%),
    radial-gradient(50% 40% at 0% 0%, rgba(110, 15, 29, 0.25) 0%, rgba(110, 15, 29, 0) 70%),
    var(--black);
}

.contact__grid {
  display: grid;
  gap: 3rem;
}

.contact__title {
  font-size: clamp(3.25rem, 11vw, 6.5rem);
  line-height: 0.86;
}

.channels {
  list-style: none;
  display: grid;
  gap: 0.75rem;
  margin-top: 2rem;
}

.channel {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  grid-template-rows: auto auto;
  column-gap: 1rem;
  align-items: center;
  padding: 0.95rem 1.25rem;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.channel svg {
  grid-row: span 2;
  justify-self: center;
  width: 28px;
  height: 28px;
  color: var(--white);
}

.channel__label {
  font-size: 0.875rem;
  line-height: 1.3;
  color: var(--w60);
}

.channel__value {
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--white);
  overflow-wrap: anywhere;
}

.channel:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.04);
}

.channel--wa {
  border-color: var(--wine-500);
  background: var(--wine-500);
}

.channel--wa .channel__label {
  color: rgba(255, 255, 255, 0.85);
}

.channel--wa:hover {
  border-color: var(--wine-400);
  background: var(--wine-400);
}

/* formulário */
.form {
  display: grid;
  gap: 1.1rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: rgba(20, 20, 20, 0.92);
}

.form__title {
  margin-bottom: 0.25rem;
  font-size: clamp(1.625rem, 3vw, 2rem);
}

.form__row {
  display: grid;
  gap: 1.1rem;
}

.field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--white);
}

.field__opt {
  font-weight: 400;
  color: var(--w60);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 1rem;
  line-height: 1.4;
  color: var(--white);
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.field select {
  appearance: none;
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 18px;
}

.field select option {
  background: #111;
  color: var(--white);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: rgba(255, 255, 255, 0.4);
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  border-color: var(--wine-300);
  background: rgba(255, 255, 255, 0.08);
  outline: 2px solid rgba(227, 90, 110, 0.45);
  outline-offset: 1px;
}

.field [aria-invalid="true"] {
  border-color: #ff7a8b;
}

.field__error {
  margin: 0.4rem 0 0;
  font-size: 0.875rem;
  color: #ff9aa7;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form__status {
  margin: 0;
  font-size: 0.9375rem;
}

.form__status:empty {
  display: none;
}

.form__status.is-success {
  color: #8fe0ad;
}

.form__status.is-error {
  color: #ff9aa7;
}

.form__alt {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--w60);
}

.form__alt a {
  /* área de toque maior para o dedo, sem mudar o visual da linha */
  display: inline-block;
  padding: 0.75rem 0.25rem;
  margin: -0.75rem -0.25rem;
  color: var(--white);
  text-underline-offset: 3px;
}

/* ==========================================================================
   RODAPÉ
   ========================================================================== */
.footer {
  padding: 3.5rem 0 6.5rem;
  border-top: 1px solid var(--line);
  background: var(--black);
}

.footer__inner {
  display: grid;
  gap: 2rem;
}

.footer__name {
  margin: 0.85rem 0 0.2rem;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  color: var(--white);
}

.footer__team {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--w60);
}

.footer__nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.5rem;
}

.footer__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--w70);
  text-decoration: none;
}

.footer__nav a:hover {
  color: var(--white);
}

.footer__social {
  list-style: none;
  display: flex;
  gap: 0.6rem;
}

.footer__social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  color: var(--white);
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.footer__social a:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.footer__social svg {
  width: 20px;
  height: 20px;
}

.footer__copy {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--w50);
}

/* botão flutuante do WhatsApp */
.wa-float {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 40;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--wine-500);
  color: var(--white);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.9);
  transition:
    opacity 0.3s ease,
    transform 0.35s var(--ease-out),
    visibility 0s linear 0.35s,
    background-color 0.2s ease;
}

.wa-float svg {
  width: 28px;
  height: 28px;
}

.wa-float:hover {
  background: var(--wine-400);
}

.wa-float.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}

.no-js .wa-float {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* ==========================================================================
   MOVIMENTO
   ========================================================================== */
/* abertura: o nome sobe, a foto assenta, o resto aparece */
.js .hero__line > span {
  transform: translateY(105%);
  animation: line-up 0.95s var(--ease-out) 0.1s forwards;
}

.js .hero__line:nth-child(2) > span {
  animation-delay: 0.22s;
}

.js .hero__img {
  animation: settle 1.8s var(--ease-out) both;
}

.js .hero__anim {
  opacity: 0;
  transform: translateY(14px);
  animation: fade-up 0.8s var(--ease-out) forwards;
}

.js .rank-badge.hero__anim {
  animation-delay: 0.05s;
}

.js .hero__claim.hero__anim {
  animation-delay: 0.5s;
}

.js .hero__sub.hero__anim {
  animation-delay: 0.62s;
}

.js .hero__actions.hero__anim {
  animation-delay: 0.74s;
}

@keyframes line-up {
  to {
    transform: none;
  }
}

@keyframes settle {
  from {
    transform: scale(1.08);
  }
  to {
    transform: none;
  }
}

@keyframes fade-up {
  to {
    opacity: 1;
    transform: none;
  }
}

/* revelação na rolagem */
.js .reveal {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
  transition-delay: var(--d, 0ms);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  .js .reveal,
  .js .hero__anim,
  .js .hero__line > span {
    opacity: 1;
    transform: none;
  }

  .bgword {
    transform: none !important;
  }
}

/* ==========================================================================
   RESPONSIVO
   ========================================================================== */
@media (min-width: 640px) {
  .header__cta {
    display: inline-flex;
  }

  .stats__list {
    grid-template-columns: repeat(4, 1fr);
  }

  .stat:nth-child(n) {
    padding: 2.25rem 1.25rem;
    border-top: 0;
    border-left: 1px solid var(--line);
  }

  .stat:first-child {
    padding-left: 0;
    border-left: 0;
  }

  .athlete-card__list {
    grid-template-columns: 1fr 1fr;
    column-gap: 2.5rem;
  }

  .form__row {
    grid-template-columns: 1fr 1fr;
  }

  .insta__reels {
    grid-template-columns: repeat(4, 1fr);
  }

  .lightbox__prev,
  .lightbox__next {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
  }

  .lightbox__prev {
    left: 1.25rem;
  }

  .lightbox__next {
    right: 1.25rem;
  }

  .lightbox__figure {
    padding: 4.5rem 5.5rem 5rem;
  }
}

@media (min-width: 768px) {
  .gallery__grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: clamp(170px, 19vw, 250px);
    gap: 1rem;
  }

  .gallery__item,
  .gallery__item--feature,
  .gallery__item--wide {
    aspect-ratio: auto;
  }

  .gallery__item--feature {
    grid-column: span 2;
    grid-row: span 2;
  }

  .gallery__item--wide {
    grid-column: span 2;
  }

}

@media (min-width: 960px) {
  :root {
    --header-h: 72px;
  }

  body {
    font-size: 1.125rem;
  }

  /* header */
  .menu-toggle {
    display: none;
  }

  .nav {
    position: static;
    flex-direction: row;
    align-items: center;
    padding: 0;
    margin-right: 1.25rem;
    background: none;
    overflow: visible;
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: none;
  }

  .nav__list {
    display: flex;
    gap: 2rem;
  }

  .nav__link {
    position: relative;
    padding: 0.5rem 0;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: none;
    color: var(--w80);
    transition: color 0.2s ease;
  }

  .nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.2rem;
    height: 2px;
    background: var(--wine-300);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.3s var(--ease-out);
  }

  .nav__link:hover,
  .nav__link.is-active {
    color: var(--white);
  }

  .nav__link:hover::after,
  .nav__link.is-active::after {
    transform: scaleX(1);
  }

  .nav__extra {
    display: none;
  }

  /* hero: texto à esquerda, foto à direita */
  .hero {
    align-items: center;
    padding-top: calc(var(--header-h) + 3rem);
    padding-bottom: 5rem;
  }

  .hero__media {
    inset: 0 0 0 auto;
    width: 52%;
  }

  .hero__media::after {
    background:
      linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.6) 22%, rgba(0, 0, 0, 0) 58%),
      linear-gradient(0deg, #000 0%, rgba(0, 0, 0, 0) 32%),
      linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 22%);
  }

  .hero__name {
    font-size: clamp(7rem, 12.5vw, 11.5rem);
  }

  .hero__sub {
    max-width: 34rem;
  }

  /* sobre */
  .about__grid {
    grid-template-columns: 5fr 7fr;
    gap: clamp(3.5rem, 7vw, 6.5rem);
    align-items: start;
  }

  .about__media {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
    padding: 0 1.5rem 1.5rem 0;
  }

  /* trajetória */
  .journey__grid {
    grid-template-columns: 5fr 7fr;
    gap: clamp(3rem, 7vw, 6rem);
  }

  .journey__head {
    position: sticky;
    top: calc(var(--header-h) + 3rem);
    align-self: start;
  }

  /* lutas */
  .fights__grid {
    grid-template-columns: 1.85fr 1fr;
    grid-template-rows: repeat(3, auto);
    gap: 1.5rem 2rem;
  }

  .video--feature {
    grid-row: 1 / span 3;
  }

  .video:not(.video--feature) {
    grid-template-columns: minmax(0, 48%) 1fr;
  }

  .video:not(.video--feature) .video__event {
    font-size: 1.25rem;
  }

  .insta {
    grid-template-columns: 1fr 1.7fr;
    align-items: center;
    gap: 2.5rem;
  }

  /* aulas */
  .offers {
    grid-template-columns: repeat(3, 1fr);
  }

  /* contato */
  .contact__grid {
    grid-template-columns: 1fr 1.15fr;
    gap: clamp(3rem, 6vw, 5.5rem);
    align-items: start;
  }

  .contact__intro {
    position: sticky;
    top: calc(var(--header-h) + 2.5rem);
  }

  /* rodapé */
  .footer {
    padding-bottom: 3.5rem;
  }

  .footer__inner {
    grid-template-columns: 1.3fr 1fr auto;
    align-items: start;
  }
}

@media (min-width: 1280px) {
  .hero__media {
    width: 50%;
  }
}

/* página travada enquanto o visualizador de fotos está aberto */
.lb-open {
  overflow: hidden;
}

/* página 404 */
.notfound {
  display: grid;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
}

.notfound .section-title {
  margin-top: 1.5rem;
}

.notfound .btn {
  margin-top: 1rem;
}

/* ajustes finos após revisão visual */
.brand {
  white-space: nowrap;
}

@media (max-width: 420px) {
  .brand {
    font-size: 1.125rem;
  }
  .brand .belt {
    display: none;
  }
}

.gallery {
  padding-top: 0;
}

@media (min-width: 640px) {
  .athlete-card__list > div {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }
}

/* com o menu aberto, o blur do header prenderia o menu dentro dele */
.menu-open .site-header,
.menu-open .site-header.is-scrolled {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  background: var(--black);
}

/* faixa preta sem ponteira vermelha: só o grau branco */
.belt--black::before {
  display: none;
}

.belt--black.belt--deg1::after {
  right: 16%;
}

.timeline__fill {
  background: linear-gradient(
    to bottom,
    var(--belt-white) 0%,
    var(--belt-blue) 26%,
    var(--belt-purple) 48%,
    var(--belt-brown) 68%,
    #2a2a2a 88%,
    #ffffff 100%
  );
}

/* faixas azul e roxa (ponteira preta, como na faixa real) */
.belt--blue {
  --belt-color: var(--belt-blue);
  --tip-color: #111;
}

.belt--purple {
  --belt-color: var(--belt-purple);
  --tip-color: #111;
}

/* foto dentro da linha do tempo */
.step__photo {
  max-width: 34rem;
  margin: 1.1rem 0 0;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--graphite);
  border: 1px solid var(--line);
}

.step__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}

/* números em palavra ("Ouro") com a medalha */
.stat__value--word {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.stat__value--word .medal {
  width: 0.62em;
  height: 0.62em;
}

/* foto principal: rosto e medalha visíveis */
.hero__img {
  object-position: 50% 18%;
}

/* cartões de aulas sem foto: respiro no topo */
.offer__body {
  padding-top: 2rem;
}

.step__photo img {
  object-position: 50% 12%;
}

/* celular: foto ocupa o topo, texto fica abaixo do rosto */
@media (max-width: 959.98px) {
  .hero__media {
    bottom: 30%;
  }

  .hero__media::after {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.35) 0%,
      rgba(0, 0, 0, 0) 22%,
      rgba(0, 0, 0, 0.35) 60%,
      #000 100%
    );
  }

  .hero__img {
    object-position: 50% 8%;
  }
}

.hero__content {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.65);
}

/* ---------- selo do topo em cartão translúcido ---------- */
.rank-badge {
  display: inline-flex;
  padding: 0.7rem 1rem 0.7rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  text-shadow: none;
}

.rank-badge__text span {
  color: rgba(255, 255, 255, 0.88);
}

/* ---------- "Prazer, Yuri.": foto recortada integrada ao fundo ---------- */
.about__media--cutout {
  padding: 0;
}

.about__stage {
  position: relative;
  isolation: isolate;
  display: grid;
  justify-items: center;
  align-items: end;
}

.about__stage::before {
  content: "";
  position: absolute;
  inset: 10% -6% 6%;
  z-index: -2;
  background: radial-gradient(closest-side, rgba(158, 27, 46, 0.6), rgba(110, 15, 29, 0.22) 55%, rgba(0, 0, 0, 0) 100%);
}

.about__word {
  position: absolute;
  top: 2%;
  left: 50%;
  z-index: -1;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: clamp(8rem, 38vw, 16rem);
  font-style: italic;
  font-weight: 800;
  line-height: 0.8;
  text-transform: uppercase;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.16);
  pointer-events: none;
  user-select: none;
}

.about__cutout {
  width: 100%;
  max-width: 24rem;
  filter: drop-shadow(0 28px 36px rgba(0, 0, 0, 0.55));
}

@media (min-width: 960px) {
  .about__media--cutout {
    padding: 0;
  }

  .about__cutout {
    max-width: 30rem;
  }
}

.about__stage::before {
  content: none;
}

.about__stage {
  background: radial-gradient(60% 55% at 50% 58%, rgba(158, 27, 46, 0.55), rgba(110, 15, 29, 0.18) 55%, rgba(0, 0, 0, 0) 100%);
}

.about__word {
  color: rgba(255, 255, 255, 0.025);
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
}

.about__stage {
  background: radial-gradient(closest-side at 50% 42%, rgba(158, 27, 46, 0.6), rgba(110, 15, 29, 0.22) 60%, rgba(0, 0, 0, 0) 100%);
}

.about__word {
  top: 6%;
  color: rgba(255, 255, 255, 0.04);
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.24);
}

/* celular: selo da faixa no topo, acima da cabeça; foto começa abaixo dele */
@media (max-width: 959.98px) {
  .hero__content {
    position: static;
  }

  .rank-badge {
    position: absolute;
    top: calc(var(--header-h) + 14px);
    left: var(--gutter);
    right: var(--gutter);
    z-index: 2;
    margin: 0;
  }

  .hero__media {
    top: calc(var(--header-h) + 84px);
  }

  .hero__img {
    object-position: 50% 4%;
  }
}

/* celular: cartão no topo → foto com rosto livre → nome entrando no peito */
@media (max-width: 959.98px) {
  .hero {
    display: block;
    min-height: 0;
    padding: calc(var(--header-h) + 88px) 0 3rem;
  }

  .hero__media {
    position: relative;
    inset: auto;
    top: auto;
    bottom: auto;
    z-index: -1;
    height: min(64svh, 560px);
    margin: 0;
  }

  .hero__media::after {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.25) 0%,
      rgba(0, 0, 0, 0) 18%,
      rgba(0, 0, 0, 0.2) 55%,
      rgba(0, 0, 0, 0.85) 85%,
      #000 100%
    );
  }

  .hero__img {
    object-position: 50% 6%;
  }

  .hero__content {
    margin-top: -6.5rem;
  }

  .rank-badge {
    top: calc(var(--header-h) + 12px);
  }
}

/* celular: menu preto sólido; foto começa logo abaixo dele, cartão da faixa dentro da foto, acima da cabeça */
@media (max-width: 959.98px) {
  .site-header,
  .site-header.is-scrolled {
    background: #000;
    border-bottom-color: var(--line);
  }

  .hero {
    padding-top: var(--header-h);
  }

  .hero__media {
    height: min(74svh, 640px);
  }

  .hero__media::after {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.35) 0%,
      rgba(0, 0, 0, 0) 20%,
      rgba(0, 0, 0, 0.2) 55%,
      rgba(0, 0, 0, 0.85) 85%,
      #000 100%
    );
  }

  .hero__img {
    object-position: 50% 0%;
  }

  .rank-badge {
    top: calc(var(--header-h) + 12px);
    left: var(--gutter);
    right: auto;
    background: rgba(0, 0, 0, 0.5);
  }
}

/* celular: cartão claro e translúcido dentro da foto, no espaço acima da cabeça */
@media (max-width: 959.98px) {
  .hero__media {
    height: min(84svh, 720px);
  }

  .rank-badge {
    top: calc(var(--header-h) + 16px);
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.3);
    -webkit-backdrop-filter: blur(12px) saturate(120%);
    backdrop-filter: blur(12px) saturate(120%);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
  }

  .rank-badge strong {
    color: #fff;
  }

  .rank-badge__text span {
    color: rgba(255, 255, 255, 0.92);
  }
}

/* foto vertical na linha do tempo (mostra rosto, medalha e faixa) */
.step__photo--portrait {
  max-width: 20rem;
  aspect-ratio: 4 / 5;
}

.step__photo--portrait img {
  object-position: 50% 45%;
}
