/* ==========================================================================
   FC — Felipe Cardoso | Personal Trainer
   Folha de estilos principal (mobile first)
   ========================================================================== */

:root {
  --black: #080808;
  --graphite: #131316;
  --surface: #1d1d21;
  --red: #ed1c24;
  --red-hot: #ff253a;
  --white: #ffffff;
  --gray: #b6b6bd;
  --gray-dim: #8a8a92;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);

  --f-display: "Barlow Condensed", "Roboto Condensed", "Arial Narrow", "Helvetica Neue Condensed", sans-serif;
  --f-body: "Inter", "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --header-h: 64px;
  --gutter: clamp(20px, 5vw, 40px);
  --container: 1240px;
  --radius: 18px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --section-pad: clamp(80px, 10vw, 136px);
}

@media (min-width: 960px) {
  :root { --header-h: 80px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
}
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
svg .fill { fill: currentColor; stroke: none; }
::selection { background: var(--red); color: var(--white); }

:focus-visible {
  outline: 2px solid var(--red-hot);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: min(var(--container), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.visually-hidden {
  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: fixed;
  top: 12px; left: 12px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--red);
  color: var(--white);
  font-weight: 600;
  border-radius: 10px;
  transform: translateY(-160%);
  transition: transform 0.25s var(--ease);
}
.skip-link:focus { transform: none; }

.accent { color: var(--red); }

/* ---------- Tipografia de seção ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
}
.eyebrow__line {
  width: 28px;
  height: 2px;
  background: currentColor;
  flex: none;
}
.eyebrow__sep { color: rgba(255, 255, 255, 0.35); }

.section { position: relative; padding-block: var(--section-pad); }

.section-title {
  margin-top: 18px;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 5.6vw, 4.7rem);
  line-height: 0.95;
  letter-spacing: 0.002em;
  text-transform: uppercase;
  text-wrap: balance;
}
.section-lead {
  margin-top: 22px;
  max-width: 58ch;
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  color: var(--gray);
  text-wrap: pretty;
}
.section-head { margin-bottom: clamp(44px, 6vw, 72px); }
.section-head--center { text-align: center; }
.section-head--center .section-lead { margin-inline: auto; }

/* ---------- Botões ---------- */
.btn {
  --pad-y: 16px; --pad-x: 26px; --fs: 14px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: var(--pad-y) var(--pad-x);
  font-family: var(--f-body);
  font-size: var(--fs);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  border-radius: 12px;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s var(--ease), background-color 0.3s, border-color 0.3s, box-shadow 0.35s var(--ease), color 0.3s;
}
.btn__icon { width: 18px; height: 18px; flex: none; transition: transform 0.35s var(--ease); }
.btn__icon--lead { width: 20px; height: 20px; }
.btn:hover .btn__icon:not(.btn__icon--lead) { transform: translateX(4px); }

.btn--primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 10px 30px -12px rgba(237, 28, 36, 0.65);
}
.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.8s var(--ease);
}
.btn--primary:hover {
  background: var(--red-hot);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -14px rgba(255, 37, 58, 0.75);
}
.btn--primary:hover::after { transform: translateX(120%); }

.btn--ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

.btn--sm { --pad-y: 11px; --pad-x: 18px; --fs: 12.5px; min-height: 42px; border-radius: 10px; }
.btn--lg { --pad-y: 18px; --pad-x: 28px; --fs: 14px; min-height: 56px; }
.btn--xl { --pad-y: 22px; --pad-x: 36px; --fs: 15px; min-height: 64px; border-radius: 14px; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  height: var(--header-h);
  transition: transform 0.4s var(--ease);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(8, 8, 8, 0.7), rgba(8, 8, 8, 0));
  transition: background 0.4s var(--ease), border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled::before {
  background: rgba(10, 10, 12, 0.72);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-bottom-color: var(--line);
}
.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.brand__mark { width: auto; height: 30px; }
.brand__divider { width: 1px; height: 28px; background: rgba(255, 255, 255, 0.22); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.brand__role {
  margin-top: 5px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gray);
}
@media (min-width: 960px) {
  .brand__mark { height: 36px; }
  .brand__name { font-size: 21px; }
  .brand__role { font-size: 10px; }
}

/* Menu: mobile (painel em tela cheia) */
.nav {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 24px) var(--gutter) calc(32px + env(safe-area-inset-bottom));
  background-color: var(--black);
  background-image: radial-gradient(120% 60% at 100% 0%, rgba(237, 28, 36, 0.16), transparent 60%);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0s linear 0.4s;
}
.menu-open .nav {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s var(--ease), visibility 0s;
}
.nav__list { display: flex; flex-direction: column; gap: 4px; }
.nav__list > li {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.menu-open .nav__list > li { opacity: 1; transform: none; }
.menu-open .nav__list > li:nth-child(2) { transition-delay: 0.04s; }
.menu-open .nav__list > li:nth-child(3) { transition-delay: 0.08s; }
.menu-open .nav__list > li:nth-child(4) { transition-delay: 0.12s; }
.menu-open .nav__list > li:nth-child(5) { transition-delay: 0.16s; }
.menu-open .nav__list > li:nth-child(6) { transition-delay: 0.2s; }
.menu-open .nav__list > li:nth-child(7) { transition-delay: 0.24s; }
.nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(2rem, 9vw, 2.8rem);
  line-height: 1.05;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
  transition: color 0.25s;
}
.nav__link.is-active, .nav__link:hover { color: var(--red); }
.nav__cta-item { margin-top: 28px; }
.nav__cta-item .btn { width: 100%; min-height: 56px; font-size: 14px; }

.menu-toggle {
  position: relative;
  z-index: 2;
  width: 46px;
  height: 46px;
  display: grid;
  place-content: center;
  gap: 7px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(8, 8, 8, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.menu-toggle__bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.35s var(--ease);
}
.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: desktop */
@media (min-width: 1100px) {
  .menu-toggle { display: none; }
  .nav {
    position: static;
    padding: 0;
    background: none;
    opacity: 1;
    visibility: visible;
    flex-direction: row;
    transition: none;
  }
  .nav__list { flex-direction: row; align-items: center; gap: clamp(18px, 2vw, 30px); }
  .nav__list > li { opacity: 1; transform: none; transition: none; }
  .nav__link {
    position: relative;
    padding: 8px 0;
    font-family: var(--f-body);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-transform: none;
    color: #d9d9de;
    border: 0;
  }
  .nav__link::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 2px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s var(--ease);
  }
  .nav__link:hover { color: var(--white); }
  .nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
  .nav__link.is-active { color: var(--white); }
  .nav__cta-item { margin: 0 0 0 10px; }
  .nav__cta-item .btn { width: auto; min-height: 44px; font-size: 12.5px; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--black);
}
.hero__media {
  position: relative;
  margin-top: var(--header-h);
  height: clamp(340px, 60svh, 640px);
  z-index: -2;
}
.hero__media picture, .hero__img {
  width: 100%;
  height: 100%;
}
.hero__img {
  object-fit: cover;
  object-position: 50% 8%;
}
.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.45) 0%, rgba(8, 8, 8, 0) 18%, rgba(8, 8, 8, 0) 46%, rgba(8, 8, 8, 0.85) 82%, var(--black) 100%),
    linear-gradient(90deg, rgba(8, 8, 8, 0.35), rgba(8, 8, 8, 0) 30%, rgba(8, 8, 8, 0) 70%, rgba(8, 8, 8, 0.35));
}
.hero__glow {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(60% 40% at 50% 62%, rgba(237, 28, 36, 0.18), transparent 70%);
}
.hero__inner {
  position: relative;
  margin-top: clamp(-200px, -24svh, -120px);
  padding-bottom: 56px;
}
.hero__content { max-width: 640px; }
.hero__eyebrow { color: var(--white); letter-spacing: 0.14em; font-size: 11px; white-space: nowrap; gap: 10px; }
.hero__eyebrow .eyebrow__line { background: var(--red); }

.hero__title {
  margin-top: 16px;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(3rem, 13.4vw, 5.4rem);
  line-height: 0.88;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}
.hero__line { display: block; }
.hero__line--accent { color: var(--red); }
.hero__lead {
  margin-top: 22px;
  max-width: 52ch;
  font-size: clamp(1rem, 1.35vw, 1.13rem);
  color: #cfcfd4;
  text-wrap: pretty;
}
.hero__actions {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero__actions .btn { width: 100%; }
@media (max-width: 559px) {
  .hero__actions .btn { --pad-x: 18px; --fs: 13.5px; letter-spacing: 0.04em; }
}

.hero__proof {
  margin-top: 36px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
}
.proof { display: flex; align-items: center; gap: 14px; }
.proof__num {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 52px;
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
}
.proof__plus { color: var(--red); }
.proof__label {
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
}
.hero__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.hero__tags li {
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 500;
  color: #e3e3e7;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

.hero__scroll { display: none; }

@media (min-width: 560px) {
  .hero__actions { flex-direction: row; flex-wrap: wrap; }
  .hero__actions .btn { width: auto; }
}

@media (min-width: 960px) {
  .hero {
    min-height: max(100svh, 680px);
    display: flex;
    align-items: center;
  }
  .hero__media {
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 54%;
    height: auto;
    margin: 0;
  }
  .hero__img { object-position: 50% 14%; }
  .hero__shade {
    background:
      linear-gradient(90deg, var(--black) 0%, rgba(8, 8, 8, 0.82) 14%, rgba(8, 8, 8, 0.25) 42%, rgba(8, 8, 8, 0) 62%),
      linear-gradient(0deg, var(--black) 0%, rgba(8, 8, 8, 0) 28%),
      linear-gradient(180deg, rgba(8, 8, 8, 0.55) 0%, rgba(8, 8, 8, 0) 22%);
  }
  .hero__glow {
    background:
      radial-gradient(38% 50% at 74% 58%, rgba(237, 28, 36, 0.16), transparent 70%),
      radial-gradient(30% 40% at 0% 100%, rgba(237, 28, 36, 0.08), transparent 70%);
  }
  .hero__inner {
    margin-top: 0;
    padding-top: calc(var(--header-h) + 48px);
    padding-bottom: 96px;
  }
  .hero__content { max-width: 760px; }
  .hero__eyebrow { font-size: 12.5px; letter-spacing: 0.2em; gap: 12px; }
  .hero__title { font-size: clamp(4rem, 5.25vw, 5.6rem); }
  .hero__line { white-space: nowrap; }
  .hero__lead { max-width: 50ch; }
  .hero__proof { justify-content: flex-start; gap: 22px 40px; }

  .hero__scroll {
    position: absolute;
    left: 50%;
    bottom: 26px;
    display: block;
    width: 24px;
    height: 56px;
    transform: translateX(-50%);
  }
  .hero__scroll-line {
    position: absolute;
    left: 50%;
    top: 0; bottom: 0;
    width: 1px;
    background: rgba(255, 255, 255, 0.18);
    overflow: hidden;
  }
  .hero__scroll-line::after {
    content: "";
    position: absolute;
    left: 0; top: -40%;
    width: 1px; height: 40%;
    background: var(--red);
    animation: scroll-cue 2.2s var(--ease) infinite;
  }
}
@media (min-width: 960px) and (max-height: 760px) {
  .hero__scroll { display: none; }
}
@keyframes scroll-cue { to { top: 110%; } }

/* Animação de entrada do hero */
.js [data-anim] { opacity: 0; animation: rise 1s var(--ease) forwards; }
.js [data-anim="1"] { animation-delay: 0.1s; }
.js [data-anim="2"] { animation-delay: 0.2s; }
.js [data-anim="3"] { animation-delay: 0.34s; }
.js [data-anim="4"] { animation-delay: 0.46s; }
.js [data-anim="5"] { animation-delay: 0.6s; }
.js .hero__img { animation: hero-zoom 1.8s var(--ease) both; }
@keyframes rise {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}
@keyframes hero-zoom {
  from { opacity: 0; transform: scale(1.06); }
  to { opacity: 1; transform: none; }
}

/* ==========================================================================
   SOBRE
   ========================================================================== */
.about__grid {
  display: grid;
  gap: 56px;
}
.about__visual { position: relative; }
.id-card {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 4vw, 40px);
  border-radius: 22px;
  border: 1px solid var(--line);
  background:
    radial-gradient(90% 70% at 100% 100%, rgba(237, 28, 36, 0.14), transparent 60%),
    linear-gradient(160deg, var(--surface), var(--graphite) 70%);
}
.id-card::before {
  content: "";
  position: absolute;
  top: 0; left: clamp(26px, 4vw, 40px);
  width: 64px; height: 3px;
  background: var(--red);
}
.id-card__watermark {
  position: absolute;
  right: -48px;
  bottom: -40px;
  width: 300px;
  height: auto;
  opacity: 0.07;
  pointer-events: none;
}
.id-card__top { position: relative; display: flex; align-items: center; gap: 18px; }
.id-card__avatar {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 3px var(--graphite), 0 0 0 5px var(--red);
}
.id-card__name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 28px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.id-card__handle { margin-top: 6px; font-size: 14px; color: var(--gray); }
.id-card__quote {
  position: relative;
  margin-top: 34px;
  padding-left: 22px;
  border-left: 2px solid var(--red);
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.7rem, 3.2vw, 2.25rem);
  line-height: 1.05;
  text-transform: uppercase;
}
.id-card__facts {
  position: relative;
  margin-top: 34px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.id-card__facts li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(8, 8, 8, 0.35);
  font-size: 13px;
  line-height: 1.35;
  color: var(--gray);
}
.id-card__fact-num {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 38px;
  line-height: 0.9;
  color: var(--white);
}
.id-card__facts li:first-child .id-card__fact-num { color: var(--red); }
.id-card__link {
  position: relative;
  margin-top: 30px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 6px 0;
}
.id-card__link svg { width: 20px; height: 20px; color: var(--red); }
.id-card__link::after {
  content: "";
  position: absolute;
  left: 30px; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform-origin: left;
  transition: transform 0.35s var(--ease);
  opacity: 0.4;
}
.id-card__link:hover::after { transform: scaleX(0); }

.about__text { margin-top: 26px; display: grid; gap: 16px; max-width: 60ch; color: var(--gray); font-size: 1.06rem; }
.pillars {
  margin-top: 36px;
  display: grid;
  gap: 12px;
}
.pillar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--graphite);
  font-weight: 500;
  font-size: 15px;
  transition: border-color 0.3s, transform 0.35s var(--ease);
}
.pillar:hover { border-color: rgba(237, 28, 36, 0.4); transform: translateY(-3px); }
.pillar__icon { width: 24px; height: 24px; color: var(--red); flex: none; }

@media (min-width: 640px) {
  .pillars { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .about__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(56px, 7vw, 110px); align-items: center; }
  .about__visual::before {
    content: "";
    position: absolute;
    inset: 22px -22px -22px 22px;
    border: 1px solid rgba(237, 28, 36, 0.28);
    border-radius: 24px;
    z-index: -1;
  }
}

/* ==========================================================================
   SERVIÇOS
   ========================================================================== */
.services { background: linear-gradient(180deg, var(--black), #0c0c0e 40%, var(--black)); }
.cards {
  display: grid;
  gap: 16px;
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 30px 28px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--graphite);
  overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.35s, background-color 0.35s, box-shadow 0.45s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--red-hot));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(237, 28, 36, 0.32);
  background: #17171b;
  box-shadow: 0 24px 50px -30px rgba(237, 28, 36, 0.45);
}
.card:hover::before { transform: scaleX(1); }
.card__top { display: flex; align-items: flex-start; justify-content: space-between; }
.card__icon {
  width: 54px; height: 54px;
  padding: 14px;
  border-radius: 14px;
  color: var(--red);
  background: rgba(237, 28, 36, 0.09);
  border: 1px solid rgba(237, 28, 36, 0.22);
}
.card__num {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 52px;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.18);
  transition: -webkit-text-stroke-color 0.35s;
}
.card:hover .card__num { -webkit-text-stroke-color: rgba(237, 28, 36, 0.7); }
.card__title {
  margin-top: 30px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 27px;
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.card__text { margin-top: 14px; color: var(--gray); font-size: 15.5px; }
.card__link {
  margin-top: auto;
  padding-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  min-height: 44px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  transition: color 0.25s;
}
.card__link svg { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
.card__link:hover { color: var(--white); }
.card__link:hover svg { transform: translateX(5px); }

@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } }

/* ==========================================================================
   RESULTADOS
   ========================================================================== */
.results { background: #0b0b0d; overflow: hidden; isolation: isolate; }
.results__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, var(--black) 0, rgba(8, 8, 8, 0) 260px),
    radial-gradient(900px 520px at 50% 120px, rgba(237, 28, 36, 0.13), transparent 70%);
}

/* Comparador */
.compare {
  display: grid;
  gap: 28px;
  padding: clamp(14px, 2.4vw, 28px);
  border-radius: 26px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--surface), var(--graphite) 55%);
}
.compare__stage { display: flex; justify-content: center; }
.compare__frame {
  --pos: 50%;
  position: relative;
  width: 100%;
  height: clamp(440px, 72svh, 700px);
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(70% 50% at 50% 50%, #17171a, #0a0a0b);
  cursor: ew-resize;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.compare__frame picture { position: absolute; inset: 0; }
.compare__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.compare__frame.is-loading .compare__img { opacity: 0.25; }
.compare__img--after { padding: 0 0 0 0; }
.compare__before-wrap {
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
  background: radial-gradient(70% 50% at 50% 50%, #17171a, #0a0a0b);
}
.compare__divider {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--pos);
  width: 2px;
  transform: translateX(-1px);
  background: var(--white);
  box-shadow: 0 0 18px rgba(237, 28, 36, 0.8);
  pointer-events: none;
}
.compare__handle {
  position: absolute;
  top: 50%;
  left: var(--pos);
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: var(--red);
  color: var(--white);
  border: 3px solid var(--white);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
  cursor: grab;
  transition: transform 0.25s var(--ease), background-color 0.25s;
}
.compare__handle svg { width: 24px; height: 24px; stroke-width: 2.2; }
.compare__handle:hover, .compare__frame.is-dragging .compare__handle { transform: translate(-50%, -50%) scale(1.08); background: var(--red-hot); }
.compare__frame.is-dragging .compare__handle { cursor: grabbing; }
.compare__handle:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; border-radius: 50%; }
.compare__tag {
  position: absolute;
  top: 14px;
  z-index: 2;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  pointer-events: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  white-space: nowrap;
}
@media (max-width: 559px) {
  .compare__tag { top: 10px; padding: 6px 9px; font-size: 10px; letter-spacing: 0.08em; }
  .compare__tag--before { left: 10px; }
  .compare__tag--after { right: 10px; }
}
.compare__tag--before { left: 14px; background: rgba(8, 8, 8, 0.72); border: 1px solid var(--line-strong); }
.compare__tag--after { right: 14px; background: var(--red); }

.compare__kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
}
.compare__title {
  margin-top: 12px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  line-height: 1;
  text-transform: uppercase;
  text-wrap: balance;
}
.compare__hint { margin-top: 14px; color: var(--gray); font-size: 15px; max-width: 46ch; }
.compare__group { margin-top: 26px; }
.compare__group-label {
  margin-bottom: 10px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-dim);
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.02);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  transition: background-color 0.25s, border-color 0.25s, color 0.25s;
}
.chip small { font-size: 11.5px; font-weight: 500; color: var(--gray); letter-spacing: 0.02em; }
.chip:hover { border-color: rgba(255, 255, 255, 0.45); }
.chip.is-active { background: var(--red); border-color: var(--red); color: var(--white); }
.chip.is-active small { color: rgba(255, 255, 255, 0.85); }
.chips--angles .chip { justify-content: center; }
.compare__caption {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--gray);
}

@media (min-width: 960px) {
  .compare {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
    padding: 28px clamp(28px, 4vw, 56px) 28px 28px;
  }
  .compare__frame { height: min(78svh, 720px); width: min(100%, calc(min(78svh, 720px) * 0.62)); }
}

/* Galeria por aluno */
.gallery-head {
  margin-top: clamp(72px, 9vw, 120px);
  margin-bottom: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px 32px;
}
.gallery-head__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  line-height: 1;
  text-transform: uppercase;
}
.gallery-head__text { max-width: 52ch; color: var(--gray); font-size: 15px; }

.cases {
  display: grid;
  gap: 18px;
}
.case__card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--graphite);
  overflow: hidden;
  transition: border-color 0.35s, transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.case__card:hover {
  border-color: rgba(237, 28, 36, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 28px 60px -36px rgba(0, 0, 0, 0.9);
}
.case__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px 16px;
}
.case__id {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 24px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.case__id span { color: var(--gray-dim); font-weight: 600; margin-right: 2px; }
.case__meta {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red);
  text-align: right;
}
.case__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  background: #060405;
  cursor: zoom-in;
  overflow: hidden;
}
.case__pic, .case__img { width: 100%; height: 100%; }
.case__img { object-fit: contain; transition: transform 0.8s var(--ease); }
.case__media:hover .case__img { transform: scale(1.025); }
.case__media:focus-visible { outline-offset: -3px; border-radius: 0; }
.case__zoom {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(8, 8, 8, 0.6);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background-color 0.3s, transform 0.35s var(--ease);
}
.case__zoom svg { width: 20px; height: 20px; }
.case__media:hover .case__zoom { background: var(--red); transform: scale(1.06); }
.case__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 14px 16px 18px;
  margin-top: auto;
}
.case__tab {
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 13px;
  font-weight: 600;
  color: #d2d2d7;
  transition: background-color 0.25s, border-color 0.25s, color 0.25s;
}
.case__tab:hover { border-color: rgba(255, 255, 255, 0.45); color: var(--white); }
.case__tab.is-active { background: rgba(237, 28, 36, 0.12); border-color: var(--red); color: var(--white); }
.case__tab.is-static { cursor: default; }

.case--cta .case-cta {
  position: relative;
  height: 100%;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 40px 28px;
  text-align: center;
  border-radius: var(--radius);
  border: 1px solid rgba(237, 28, 36, 0.3);
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(237, 28, 36, 0.22), transparent 70%),
    var(--graphite);
  overflow: hidden;
}
.case-cta__mark { width: 84px; height: auto; margin-bottom: 8px; }
.case-cta__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(2rem, 3vw, 2.5rem);
  line-height: 0.98;
  text-transform: uppercase;
  text-wrap: balance;
}
.case-cta__text { color: var(--gray); font-size: 15px; max-width: 34ch; margin-bottom: 8px; }
.case-cta__ig {
  margin-top: 4px;
  padding: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(255, 255, 255, 0.25);
  transition: color 0.25s;
}
.case-cta__ig:hover { color: var(--white); }

.results__note {
  margin: 44px auto 0;
  max-width: 64ch;
  text-align: center;
  font-size: 13.5px;
  color: var(--gray-dim);
}

@media (min-width: 700px) { .cases { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .cases { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; } }

/* ==========================================================================
   COMO FUNCIONA
   ========================================================================== */
.timeline {
  position: relative;
  display: grid;
  gap: 40px;
  padding-left: 72px;
  counter-reset: step;
}
.timeline::before,
.timeline::after {
  content: "";
  position: absolute;
  left: 25px;
  top: 26px;
  bottom: 26px;
  width: 2px;
  background: var(--line-strong);
}
.timeline::after {
  background: linear-gradient(180deg, var(--red), var(--red-hot));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 1.6s var(--ease) 0.2s;
}
.timeline.is-in::after { transform: none; }
.step { position: relative; display: flex; flex-direction: column; }
.step__dot {
  position: absolute;
  left: -72px;
  top: 0;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--graphite);
  border: 1px solid rgba(237, 28, 36, 0.5);
  color: var(--red);
  box-shadow: 0 0 0 8px var(--black);
  z-index: 1;
}
.step__dot svg { width: 22px; height: 22px; }
.step__num {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 56px;
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1.2px var(--red);
}
.step__title {
  margin-top: 14px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.05;
  text-transform: uppercase;
}
.step__text { margin-top: 10px; color: var(--gray); font-size: 15.5px; max-width: 40ch; }

@media (min-width: 960px) {
  .timeline {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
    padding-left: 0;
  }
  .timeline::before, .timeline::after {
    left: 26px;
    right: 0;
    top: 25px;
    bottom: auto;
    width: auto;
    height: 2px;
  }
  .timeline::after { transform: scaleX(0); transform-origin: left; }
  .timeline.is-in::after { transform: none; }
  .step__dot { position: relative; left: 0; margin-bottom: 30px; order: -1; }
}

/* ==========================================================================
   DIFERENCIAIS
   ========================================================================== */
.edge { background: linear-gradient(180deg, var(--black), #0c0c0e); }
.edge__grid { display: grid; gap: 48px; }
.edge__list { counter-reset: edge; }
.edge__item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.edge__item:last-child { border-bottom: 1px solid var(--line); }
.edge__num {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.3;
  color: var(--red);
}
.edge__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.4vw, 1.95rem);
  line-height: 1.05;
  text-transform: uppercase;
  transition: transform 0.4s var(--ease), color 0.3s;
}
.edge__text { margin-top: 8px; color: var(--gray); font-size: 15.5px; max-width: 56ch; }
.edge__item:hover .edge__title { transform: translateX(6px); }

.edge .section-title { font-size: clamp(2.6rem, 4.6vw, 4.1rem); }
.faq .section-title { font-size: clamp(2.6rem, 4.6vw, 4.1rem); }
@media (min-width: 960px) {
  .edge__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 7vw, 110px); align-items: start; }
  .edge__intro { position: sticky; top: calc(var(--header-h) + 40px); }
  .edge__item { grid-template-columns: 80px minmax(0, 1fr); padding: 34px 0; }
}

/* ==========================================================================
   CTA / CONTATO
   ========================================================================== */
.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(100px, 14vw, 190px);
  text-align: center;
  background: var(--black);
  border-block: 1px solid rgba(237, 28, 36, 0.22);
}
.cta__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(55% 60% at 50% 110%, rgba(237, 28, 36, 0.3), transparent 70%),
    radial-gradient(40% 50% at 0% 0%, rgba(237, 28, 36, 0.1), transparent 70%);
}
.cta__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 26px);
  -webkit-mask-image: radial-gradient(60% 70% at 50% 50%, #000, transparent);
  mask-image: radial-gradient(60% 70% at 50% 50%, #000, transparent);
}
.cta__mark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(80vw, 620px);
  height: auto;
  transform: translate(-50%, -50%);
  opacity: 0.05;
}
.cta__inner { display: flex; flex-direction: column; align-items: center; }
.cta__title {
  margin-top: 20px;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(3rem, 9vw, 7.4rem);
  line-height: 0.88;
  text-transform: uppercase;
  text-wrap: balance;
}
.cta__lead { margin-top: 26px; max-width: 56ch; color: #cfcfd4; font-size: clamp(1rem, 1.4vw, 1.15rem); }
.cta__actions {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  width: 100%;
  max-width: 420px;
}
.cta__channel { margin-top: 22px; font-size: 13px; color: var(--gray-dim); }

@media (min-width: 720px) {
  .cta__actions { flex-direction: row; align-items: center; justify-content: center; max-width: none; width: auto; }
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq__grid { display: grid; gap: 40px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item summary {
  position: relative;
  display: block;
  padding: 24px 52px 24px 0;
  font-size: clamp(1.02rem, 1.5vw, 1.15rem);
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
  transition: color 0.25s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before,
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 16px;
  height: 2px;
  background: var(--red);
  transition: transform 0.35s var(--ease);
}
.faq-item summary::after { transform: rotate(90deg); }
.faq-item[open] summary::after { transform: rotate(0deg); }
.faq-item summary:hover { color: var(--red-hot); }
.faq-item summary:focus-visible { outline-offset: 4px; }
.faq-item__body { padding: 0 52px 26px 0; color: var(--gray); max-width: 70ch; }
.faq-item__body a { color: var(--white); text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; }
.faq-item[open] .faq-item__body { animation: faq-in 0.45s var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

@media (min-width: 960px) {
  .faq__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(48px, 7vw, 110px); align-items: start; }
  .faq__head { position: sticky; top: calc(var(--header-h) + 40px); }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: #050505;
  border-top: 1px solid var(--line);
  padding: 64px 0 calc(96px + env(safe-area-inset-bottom));
}
.footer__grid { display: grid; gap: 36px; }
.brand--footer .brand__mark { height: 38px; }
.footer__tagline { margin-top: 18px; color: var(--gray); font-size: 14px; }
.footer__nav ul { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.footer__nav a {
  display: inline-block;
  padding: 8px 0;
  font-size: 14px;
  color: #d2d2d7;
  transition: color 0.25s;
}
.footer__nav a:hover { color: var(--red); }
.footer__social { display: flex; gap: 10px; }
.social {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  transition: background-color 0.25s, border-color 0.25s;
}
.social svg { width: 20px; height: 20px; }
.social:hover { background: var(--red); border-color: var(--red); }
.footer__bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  font-size: 13px;
  color: var(--gray-dim);
}
.footer__top { display: inline-flex; align-items: center; gap: 8px; padding: 8px 0; color: var(--gray); transition: color 0.25s; }
.footer__top svg { width: 16px; height: 16px; }
.footer__top:hover { color: var(--white); }

@media (min-width: 900px) {
  .footer { padding-bottom: 40px; }
  .footer__grid { grid-template-columns: 1.2fr 2fr auto; align-items: center; }
  .footer__nav ul { justify-content: center; }
}

/* ==========================================================================
   BOTÃO FLUTUANTE (mobile)
   ========================================================================== */
.fab {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 20px 0 16px;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 14px 34px -10px rgba(237, 28, 36, 0.7), 0 4px 14px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(24px);
  pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.fab svg { width: 20px; height: 20px; }
.fab.is-visible { opacity: 1; transform: none; pointer-events: auto; }
@media (min-width: 960px) { .fab { display: none; } }

/* ==========================================================================
   LIGHTBOX
   ========================================================================== */
.lightbox {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(6, 6, 7, 0.97);
  color: var(--white);
}
.lightbox::backdrop { background: rgba(0, 0, 0, 0.85); }
.lightbox[open] { animation: lb-in 0.35s var(--ease); }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
.lightbox__inner {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: calc(12px + env(safe-area-inset-top)) 12px calc(12px + env(safe-area-inset-bottom));
}
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 4px 8px; }
.lightbox__counter { font-family: var(--f-display); font-weight: 700; font-size: 20px; letter-spacing: 0.04em; }
.lightbox__figure {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.lightbox__figure picture { min-height: 0; display: flex; justify-content: center; max-width: 100%; }
.lightbox__figure img {
  width: auto;
  height: auto;
  max-width: min(100%, 1000px);
  max-height: calc(100svh - 190px);
  object-fit: contain;
  border-radius: 10px;
  touch-action: pan-y pinch-zoom;
}
.lightbox__caption { text-align: center; font-size: 14px; color: var(--gray); padding: 0 12px; }
.lightbox__btn {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(20, 20, 22, 0.8);
  transition: background-color 0.25s, border-color 0.25s;
}
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__btn:hover { background: var(--red); border-color: var(--red); }
.lightbox__nav {
  position: absolute;
  bottom: calc(16px + env(safe-area-inset-bottom));
}
.lightbox__nav--prev { left: 16px; }
.lightbox__nav--next { right: 16px; }
@media (min-width: 900px) {
  .lightbox__inner { padding: 24px 32px; }
  .lightbox__figure img { max-height: calc(100svh - 150px); }
  .lightbox__nav { top: 50%; bottom: auto; transform: translateY(-50%); width: 56px; height: 56px; }
  .lightbox__nav--prev { left: 28px; }
  .lightbox__nav--next { right: 28px; }
}

/* ==========================================================================
   SCROLL REVEAL
   ========================================================================== */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   MOVIMENTO REDUZIDO
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
  }
  .js .reveal, .js [data-anim] { opacity: 1; transform: none; }
  .hero__scroll-line::after { display: none; }
}

/* ==========================================================================
   V3 — refinamentos técnicos (IG Tech Solutions, 30/11/2026)
   Somente acessibilidade: nenhuma mudança de layout, tipografia ou fotos.
   ========================================================================== */

/* Contraste AA (4,5:1) para texto branco sobre vermelho — diferença de tom imperceptível */
:root { --red-ui: #e31b22; }
.skip-link,
.btn--primary,
.compare__tag--after,
.fab { background: var(--red-ui); }
.chip.is-active { background: var(--red-ui); border-color: var(--red-ui); }

/* Contraste AA para textos vermelhos pequenos (usa o vermelho claro já existente na paleta) */
.eyebrow:not(.hero__eyebrow),
.card__link,
.compare__kicker { color: var(--red-hot); }
.eyebrow:not(.hero__eyebrow) .eyebrow__line { background: var(--red); }

/* Área de toque mínima de 44px, sem alterar o visual (camada invisível) */
.brand,
.id-card__link,
.case__tab,
.case-cta__ig,
.footer__nav a,
.footer__top { position: relative; }
.brand::before,
.id-card__link::before,
.case__tab::before,
.case-cta__ig::before,
.footer__nav a::before,
.footer__top::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 44px;
  min-height: 100%;
  transform: translateY(-50%);
}
