﻿/* =========================================================================
   Dr. Thiago Beraldo — Landing Page
   Design system + layout. Vanilla CSS, sem framework.
   Referência visual: Behance "Landing Page | Treinador e Nutricionista"
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. Tokens
   ---------------------------------------------------------------------- */
:root {
  /* Superfícies — preto levemente quente, como na referência */
  --bg:            #0a0506;
  --bg-soft:       #0f0809;
  --panel:         #171113;
  --panel-2:       #1c1517;
  --card:          #120c0d;
  --card-2:        #150e10;

  /* Vermelho — dois papéis distintos, por acessibilidade:
     TINTA  (--red)     : só sobre preto. #ff1418 sobre #0a0506 = 5.17:1 ✓
     SUPERFÍCIE (--red-ink): recebe texto branco. #ee0006 com #fff = 4.53:1 ✓
     Nunca use --red como fundo de texto branco: daria 3.91:1 e reprova em AA. */
  --red:           #ff1418;
  --red-ink:       #ee0006;
  --red-600:       #d40407;
  --red-700:       #a30003;
  --red-800:       #7d0002;

  /* Linhas */
  --line:          rgba(255, 255, 255, 0.075);
  --line-2:        rgba(255, 255, 255, 0.13);
  --line-red:      rgba(255, 40, 44, 0.42);
  --line-red-soft: rgba(255, 40, 44, 0.22);

  /* Texto */
  --txt:           #ffffff;
  --txt-2:         #c8c0c2;
  --txt-3:         #8d8285;
  --txt-4:         #6b6265;

  /* Tipografia fluida */
  --font: "Hanken Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  --fs-display: clamp(2.25rem, 1.05rem + 4.4vw, 3.9rem);
  --fs-h2:      clamp(2rem, 1.05rem + 3.6vw, 3.5rem);
  --fs-h3:      clamp(1.15rem, 1.02rem + 0.5vw, 1.35rem);
  --fs-lead:    clamp(1rem, 0.95rem + 0.28vw, 1.125rem);
  --fs-body:    clamp(0.95rem, 0.92rem + 0.16vw, 1.03rem);
  --fs-sm:      0.875rem;
  --fs-eyebrow: clamp(0.7rem, 0.66rem + 0.16vw, 0.8rem);

  /* Espaçamento */
  --gutter:  clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(3.5rem, 2.4rem + 5vw, 6rem);
  --maxw:    1200px;

  /* Raios */
  --r-sm:  10px;
  --r:     14px;
  --r-lg:  20px;
  --r-xl:  28px;
  --r-pill: 999px;

  /* Glows */
  --glow-btn:  0 10px 34px -10px rgba(225, 6, 0, 0.75), 0 0 0 1px rgba(255, 90, 90, 0.18) inset;
  --glow-card: 0 24px 70px -30px rgba(0, 0, 0, 0.95);
}

/* -------------------------------------------------------------------------
   2. Reset / base
   ---------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--txt);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.62;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.06;
  letter-spacing: -0.022em;
  font-weight: 500;
  text-wrap: balance;
}

p { margin: 0; }

::selection { background: var(--red-600); color: #fff; }

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

/* Grão sutil sobre toda a página — mata o banding dos gradientes escuros */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.4;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.28'/%3E%3C/svg%3E");
}

/* -------------------------------------------------------------------------
   3. Utilitários
   ---------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.eyebrow {
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--txt-3);
  font-weight: 500;
  margin: 0 0 1.15rem;
}

.red { color: var(--red); }
.hot { color: var(--red); font-weight: 800; }
.strong { font-weight: 700; color: #fff; }

.section-head { text-align: center; margin-bottom: clamp(2.5rem, 4vw, 3.75rem); }
.section-head h2 { font-size: var(--fs-h2); font-weight: 400; }
.section-head h2 b { font-weight: 800; }
.section-head p {
  margin-top: 1.1rem;
  color: var(--txt-2);
  font-size: var(--fs-lead);
  max-width: 46rem;
  margin-inline: auto;
  text-wrap: balance;
}

.rule {
  width: min(420px, 60%);
  height: 1px;
  margin: 2rem auto 0;
  background: linear-gradient(90deg, transparent, var(--red-600), transparent);
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Luzes vermelhas de fundo */
.glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(90px);
  opacity: 0.55;
}

/* -------------------------------------------------------------------------
   4. Botões
   ---------------------------------------------------------------------- */
.btn {
  --btn-py: 1.15rem;
  --btn-px: 2.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: var(--btn-py) var(--btn-px);
  border: 0;
  border-radius: var(--r-sm);
  background: linear-gradient(180deg, var(--red-ink) 0%, var(--red-600) 55%, var(--red-700) 100%);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: var(--glow-btn);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 16px 44px -12px rgba(225, 6, 0, 0.9), 0 0 0 1px rgba(255, 120, 120, 0.28) inset;
}

.btn:active { transform: translateY(0); }

.btn svg { width: 1.1em; height: 1.1em; flex: none; }

.btn--lg { --btn-py: 1.3rem; --btn-px: 2.6rem; font-size: 1rem; }
.btn--sm { --btn-py: 0.62rem; --btn-px: 1.25rem; font-size: 0.82rem; border-radius: 8px; }

/* -------------------------------------------------------------------------
   5. Header
   ---------------------------------------------------------------------- */
.header {
  position: fixed;
  inset: 1rem 0 auto;
  z-index: 100;
  transition: transform 0.3s ease;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0.6rem 0.6rem 1.6rem;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: rgba(18, 12, 13, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 18px 50px -30px rgba(0, 0, 0, 1);
}

.brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
  padding-block: 0.1rem;
}
.brand b {
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.06em;
  color: #fff;
}
.brand b i { color: var(--red); font-style: normal; }
.brand small {
  font-size: 0.475rem;
  letter-spacing: 0.34em;
  font-weight: 600;
  color: var(--txt-3);
  text-transform: uppercase;
  margin-top: 0.3rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 1.6vw, 1.75rem);
}

.nav a {
  font-size: 0.95rem;
  color: #ece7e8;
  font-weight: 400;
  padding: 0.4rem 0.2rem;
  transition: color 0.15s ease;
}
.nav a:hover { color: var(--red); }

.nav__cta { margin-left: 0.4rem; }

.burger {
  display: none;
  width: 44px; height: 40px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: 9px;
  cursor: pointer;
}
.burger i {
  display: block;
  width: 18px; height: 2px;
  background: #fff;
  position: relative;
  transition: background 0.2s;
}
.burger i::before,
.burger i::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px; height: 2px;
  background: #fff;
  transition: transform 0.25s ease;
}
.burger i::before { top: -6px; }
.burger i::after  { top: 6px; }
.burger[aria-expanded="true"] i { background: transparent; }
.burger[aria-expanded="true"] i::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] i::after  { transform: translateY(-6px) rotate(-45deg); }

/* -------------------------------------------------------------------------
   6. Hero
   ---------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-top: clamp(7rem, 12vh, 9.5rem);
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(58% 62% at 8% 42%,  rgba(198, 8, 8, 0.42) 0%, rgba(120, 4, 4, 0.16) 42%, transparent 72%),
    radial-gradient(48% 55% at 92% 30%, rgba(210, 10, 10, 0.34) 0%, rgba(90, 3, 3, 0.12) 45%, transparent 74%),
    radial-gradient(70% 50% at 50% 105%, rgba(160, 5, 5, 0.30) 0%, transparent 68%),
    linear-gradient(180deg, #120809 0%, #0a0506 55%, #0a0506 100%);
}

/* Vinheta que fecha as bordas, como na referência */
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 50% 45%, transparent 30%, rgba(6, 3, 3, 0.55) 72%, #0a0506 100%);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: end;
  gap: clamp(1rem, 3vw, 3rem);
  width: 100%;
}

.hero__copy { padding-bottom: clamp(3rem, 8vh, 6rem); max-width: 43rem; }

.hero h1 {
  font-size: var(--fs-display);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.03;
}

.hero h1 b {
  display: block;
  font-weight: 800;
  color: var(--red);
  text-shadow: 0 0 44px rgba(225, 6, 0, 0.55);
}

.hero__sub {
  margin-top: 1.6rem;
  color: var(--txt-2);
  font-size: var(--fs-lead);
  max-width: 30rem;
}

.hero__cta { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

.hero__trust {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.25rem;
  font-size: 0.8rem;
  color: var(--txt-3);
  letter-spacing: 0.02em;
}
.hero__trust b { color: #e6e0e1; font-weight: 600; }
.hero__trust span { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero__trust svg { width: 15px; height: 15px; color: var(--red); flex: none; }

/* Coluna da foto */
.hero__figure {
  position: relative;
  justify-self: end;
  align-self: end;
  width: 100%;
  max-width: 560px;
  display: flex;
  justify-content: center;
}

/* O PNG nativo tem só 343x444 — 400px é o teto antes do upscaling aparecer.
   A presença é compensada com halo e badges, não com tamanho. */
/* O fade do rodapé mora no wrapper, não nas camadas: assim as pseudo-camadas
   usam uma máscara de camada única (o próprio PNG) e não dependem de
   mask-composite, que compõe contra transparente e apagava tudo. */
.hero__portrait {
  position: relative;
  width: min(100%, 470px);
  isolation: isolate;
  -webkit-mask-image: linear-gradient(180deg, #000 88%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 88%, transparent 100%);
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.9))
          drop-shadow(-14px 0 46px rgba(200, 8, 8, 0.38));
}

/* A regata branca da foto original rouba o olho numa cena escura.
   Dessaturar e escurecer coloca o retrato na mesma temperatura da referência. */
/* O `filter` aqui cria contexto de empilhamento e sobe o <img> para a mesma
   etapa de pintura das pseudo-camadas — sem z-index explícito ele cobria as
   duas. A ordem tem que ser declarada. */
.hero__portrait img {
  position: relative;
  z-index: 0;
  width: 100%;
  filter: contrast(1.14) saturate(0.38) brightness(0.8);
}

/* Duas camadas pintadas por cima do recorte, usando o próprio PNG como
   máscara — só o corpo recebe a luz, o fundo continua limpo.
   `multiply` afunda o tronco no preto; `screen` acende a borda vermelha. */
.hero__portrait::before,
.hero__portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  -webkit-mask-image: url("../img/beraldo-photo.webp");
          mask-image: url("../img/beraldo-photo.webp");
  -webkit-mask-size: 100% 100%;
          mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
}

/* Composição alfa pura, sem mix-blend-mode: dentro de um wrapper que já tem
   `filter` + `mask`, o blend não é aplicado pelo Chrome e as camadas somem.
   Pintar por cima com alfa dá o mesmo resultado e é previsível.

   ::before escurece o tronco (onde está a regata branca patrocinada) e solta
   o rosto — sem isso a peça de roupa vira o ponto focal do hero. */
.hero__portrait::before {
  background: linear-gradient(0deg,
    rgba(10, 5, 6, 0.94) 0%,
    rgba(12, 6, 7, 0.9) 26%,
    rgba(20, 8, 9, 0.72) 46%,
    rgba(28, 11, 12, 0.34) 64%,
    transparent 80%);
}

/* ::after devolve a luz vermelha vinda da esquerda, como na referência. */
.hero__portrait::after {
  z-index: 2;
  background:
    linear-gradient(255deg, rgba(255, 46, 46, 0.4) 0%, rgba(180, 12, 12, 0.18) 34%, transparent 58%),
    linear-gradient(75deg, rgba(255, 56, 56, 0.34) 0%, rgba(190, 14, 14, 0.12) 22%, transparent 40%);
}

/* Halo atrás do retrato */
.hero__figure::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  translate: -50% 0;
  width: 118%;
  aspect-ratio: 1 / 1.05;
  background: radial-gradient(closest-side, rgba(190, 8, 8, 0.42), rgba(120, 4, 4, 0.14) 58%, transparent 72%);
  filter: blur(14px);
  z-index: -1;
}

/* Badges flutuantes — o wrapper some do layout no desktop */
.hero__stats { display: contents; }

.badge {
  position: absolute;
  z-index: 3;
  padding: 0.95rem 1.35rem;
  border-radius: var(--r);
  border: 1px solid var(--line-2);
  background: rgba(23, 17, 19, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 22px 50px -24px rgba(0, 0, 0, 1);
  text-align: center;
  line-height: 1.18;
  white-space: nowrap;
  animation: floaty 6s ease-in-out infinite;
}

.badge em {
  display: block;
  font-style: italic;
  font-size: 0.82rem;
  color: var(--txt-2);
  font-weight: 400;
}
.badge strong {
  display: block;
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-block: 0.05rem;
}
.badge span { display: block; font-size: 0.9rem; color: #efeaeb; }

.badge--1 { top: 38%; right: -2.5rem; }
.badge--2 { top: 60%; right: -0.5rem; animation-delay: -3s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}

/* Linha vermelha que fecha o hero, como na referência */
.hero__edge {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 30, 30, 0.75) 22%, rgba(255, 60, 60, 0.95) 50%, rgba(255, 30, 30, 0.75) 78%, transparent);
  z-index: 4;
}

/* -------------------------------------------------------------------------
   7. Pilares (3 cards vermelhos dentro do painel escuro)
   ---------------------------------------------------------------------- */
.pillars { padding-block: clamp(3rem, 5vw, 4.5rem); position: relative; z-index: 2; }

.pillars__panel {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(1.5rem, 3.2vw, 2.5rem);
  box-shadow: var(--glow-card);
}

.pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.pillar {
  background: linear-gradient(152deg, var(--red-ink) 0%, var(--red-600) 46%, #930002 100%);
  border-radius: var(--r);
  padding: clamp(1.4rem, 2.4vw, 1.9rem) clamp(1.2rem, 2.2vw, 1.7rem);
  text-align: center;
  box-shadow: 0 20px 44px -26px rgba(220, 10, 10, 0.9), 0 0 0 1px rgba(255, 130, 130, 0.16) inset;
}

.pillar h3 {
  font-size: 1.24rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin-bottom: 0.7rem;
}

.pillar p {
  font-size: 0.945rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.94);
}

/* -------------------------------------------------------------------------
   8. Sobre
   ---------------------------------------------------------------------- */
.about { padding-block: clamp(2rem, 4vw, 3.5rem) var(--section); position: relative; }

.about__card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: linear-gradient(155deg, rgba(26, 19, 21, 0.9) 0%, rgba(14, 9, 10, 0.9) 60%);
  padding: clamp(1.5rem, 3vw, 2.6rem);
  box-shadow: var(--glow-card);
}

.about__figure {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1.5px solid var(--line-red);
  background: linear-gradient(170deg, #350306, #120507);
  box-shadow: 0 0 60px -18px rgba(225, 6, 0, 0.55);
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.about__figure img {
  position: relative;
  z-index: 0;
  width: 96%;
  height: auto;
  object-fit: contain;
  /* Dessaturado para receber o duotone vermelho por cima, como na referência */
  filter: contrast(1.12) saturate(0.2) brightness(0.92)
          drop-shadow(0 18px 34px rgba(0, 0, 0, 0.7));
}

/* z-index explícito: sem ele a camada cai atrás da foto e o duotone some. */
.about__figure::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(78% 62% at 50% 28%, rgba(255, 30, 30, 0.34), transparent 74%),
    linear-gradient(180deg, rgba(190, 8, 8, 0.34) 0%, rgba(120, 4, 4, 0.42) 45%, rgba(12, 5, 6, 0.72) 100%);
}

.about h2 {
  font-size: clamp(1.85rem, 1rem + 3vw, 3.05rem);
  font-weight: 400;
  margin-bottom: 1.4rem;
}
.about h2 b { font-weight: 800; color: var(--red); }

.about__body p + p { margin-top: 1.05rem; }
.about__body p { color: var(--txt-2); font-size: var(--fs-lead); }
.about__body b { color: #fff; font-weight: 700; }

.about__creds {
  margin-top: 1.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0;
  list-style: none;
}
.about__creds li {
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: #ded7d8;
  border: 1px solid var(--line-red-soft);
  background: rgba(255, 20, 24, 0.06);
  padding: 0.42rem 0.85rem;
  border-radius: var(--r-pill);
}

/* -------------------------------------------------------------------------
   9. Marquee
   ---------------------------------------------------------------------- */
.marquee {
  background: linear-gradient(180deg, var(--red-ink), var(--red-700));
  overflow: hidden;
  padding-block: 0.85rem;
  position: relative;
  border-block: 1px solid rgba(255, 120, 120, 0.28);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}

.marquee__group {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  padding-right: 2.25rem;
  flex: none;
}

.marquee span {
  font-size: clamp(0.8rem, 0.72rem + 0.3vw, 0.98rem);
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #fff;
}
.marquee i { font-style: normal; opacity: 0.85; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ------------------------------------------------------------------------
   10. Resultados
   ---------------------------------------------------------------------- */
.results { position: relative; }

.results__panel {
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: rgba(19, 13, 15, 0.72);
  padding: clamp(1rem, 2.4vw, 1.75rem);
  box-shadow: var(--glow-card);
}

.results__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.7rem, 1.5vw, 1.15rem);
}

.shot {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  border: 1.5px solid var(--line-red);
  background: #0d0809;
  aspect-ratio: 1 / 1;
  box-shadow: 0 0 34px -16px rgba(225, 6, 0, 0.6);
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.shot:hover img { transform: scale(1.04); }

.results__note {
  margin-top: 1.6rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--txt-4);
  line-height: 1.6;
}

.results__cta { margin-top: 2.5rem; text-align: center; }

/* ------------------------------------------------------------------------
   11. Credenciais (layout da seção "Campeonatos" da referência)
   ---------------------------------------------------------------------- */
.creds { position: relative; }

.creds__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.75rem, 4vw, 3.25rem);
  align-items: center;
}

.creds__figure {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1.5px solid var(--line-red);
  aspect-ratio: 3 / 4;
  background: linear-gradient(165deg, #3a0407, #0f0506);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  box-shadow: 0 0 70px -22px rgba(225, 6, 0, 0.6);
}
/* Enquadramento mais fechado que o do hero e o do "Sobre": é a mesma foto
   usada três vezes (só existe uma em alta o suficiente), então cada aparição
   recebe corte e gradação próprios para não parecer repetição. */
.creds__figure img {
  position: relative;
  z-index: 0;
  width: 128%;
  max-width: none;
  transform: translateY(4%);
  transform-origin: top center;
  filter: contrast(1.14) saturate(0.3) brightness(0.72)
          drop-shadow(0 20px 40px rgba(0, 0, 0, 0.8));
}
.creds__figure::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(80% 52% at 50% 20%, rgba(255, 30, 30, 0.3), transparent 76%),
    linear-gradient(180deg, rgba(120, 5, 5, 0.3) 0%, rgba(46, 5, 6, 0.55) 48%, rgba(10, 4, 5, 0.9) 100%);
}

.creds h2 {
  font-size: clamp(2.1rem, 1.1rem + 3.6vw, 3.6rem);
  font-weight: 800;
  color: var(--red);
  text-shadow: 0 0 46px rgba(225, 6, 0, 0.45);
}
.creds__lead {
  margin-top: 0.9rem;
  color: var(--txt-2);
  font-size: var(--fs-lead);
  max-width: 30rem;
}

.creds__list { margin-top: 1.9rem; display: grid; gap: 0.9rem; }

.cred {
  border: 1px solid var(--line-red);
  border-radius: var(--r);
  background: linear-gradient(120deg, rgba(40, 6, 8, 0.55), rgba(16, 9, 10, 0.4));
  padding: 1.05rem 1.4rem;
}
.cred h3 { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.01em; }
.cred p { margin-top: 0.28rem; color: var(--txt-2); font-size: 0.95rem; line-height: 1.5; }
.cred p b { color: #fff; font-weight: 700; }

/* ------------------------------------------------------------------------
   12. Como funciona
   ---------------------------------------------------------------------- */
.how { position: relative; }

.how__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.step {
  border: 1px solid var(--line-red);
  border-radius: var(--r);
  background: linear-gradient(180deg, rgba(22, 14, 16, 0.9), rgba(12, 8, 9, 0.9));
  padding: clamp(1.5rem, 2.6vw, 2rem) clamp(1.25rem, 2.2vw, 1.75rem);
  text-align: center;
  position: relative;
  box-shadow: 0 24px 60px -34px rgba(0, 0, 0, 1);
}

.step__icon {
  width: 52px; height: 52px;
  margin: -2.9rem auto 1.1rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, var(--red-ink), var(--red-700));
  box-shadow: 0 12px 30px -12px rgba(225, 6, 0, 0.9);
  color: #fff;
}
.step__icon svg { width: 26px; height: 26px; }

.step h3 { font-size: 1.24rem; font-weight: 800; margin-bottom: 0.75rem; }
.step p { color: var(--txt-2); font-size: 0.965rem; line-height: 1.6; }

.how__cta { margin-top: clamp(2.5rem, 4vw, 3.5rem); text-align: center; }

/* ------------------------------------------------------------------------
   13. FAQ
   ---------------------------------------------------------------------- */
.faq__list { max-width: 52rem; margin-inline: auto; display: grid; gap: 0.75rem; }

.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: rgba(20, 14, 16, 0.75);
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq__item[open] { border-color: var(--line-red); }

.faq__item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 3.25rem 1.15rem 1.4rem;
  font-weight: 600;
  font-size: 1.03rem;
  position: relative;
  color: #fff;
}
.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary::after {
  content: "";
  position: absolute;
  right: 1.4rem;
  top: 50%;
  width: 11px; height: 11px;
  border-right: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.25s ease;
}
.faq__item[open] summary::after { transform: translateY(-20%) rotate(-135deg); }

.faq__item div {
  padding: 0 1.4rem 1.35rem;
  color: var(--txt-2);
  font-size: 0.985rem;
  line-height: 1.65;
}

/* ------------------------------------------------------------------------
   14. CTA final
   ---------------------------------------------------------------------- */
.final { padding-top: clamp(0.5rem, 1.5vw, 1.5rem); padding-bottom: clamp(3.5rem, 5vw, 5.5rem); }

.final__card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-red);
  border-radius: var(--r-xl);
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1.5rem, 5vw, 4rem);
  text-align: center;
  background:
    radial-gradient(85% 120% at 50% 120%, rgba(200, 8, 8, 0.42) 0%, transparent 62%),
    radial-gradient(60% 80% at 12% 10%, rgba(160, 5, 5, 0.28) 0%, transparent 60%),
    linear-gradient(180deg, #150c0e, #0d0708);
  box-shadow: 0 40px 100px -50px rgba(225, 6, 0, 0.6);
}

.final h2 {
  font-size: clamp(2rem, 1rem + 3.9vw, 3.6rem);
  font-weight: 400;
  line-height: 1.05;
}
.final h2 b {
  display: block;
  font-weight: 800;
  color: var(--red);
  text-shadow: 0 0 46px rgba(225, 6, 0, 0.5);
}
.final p {
  margin: 1.4rem auto 0;
  max-width: 34rem;
  color: var(--txt-2);
  font-size: var(--fs-lead);
}
.final p i { color: #fff; font-weight: 600; }
.final .btn { margin-top: 2.25rem; }
.final__micro { margin-top: 1.25rem; font-size: 0.8rem; color: var(--txt-4); }

/* ------------------------------------------------------------------------
   15. Footer
   ---------------------------------------------------------------------- */
.footer {
  border-top: 1px solid var(--line);
  padding-block: 2.5rem;
  background: #080405;
}
.footer__biz { display: grid; gap: 0.3rem; }

.footer__id {
  font-size: 0.86rem;
  color: var(--txt-2);
  line-height: 1.65;
}
.footer__id b { color: #fff; font-weight: 700; }

/* <address> vem em italico por padrao no user agent */
.footer__addr {
  font-style: normal;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--txt-3);
}

.footer__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--txt-3);
}
.footer__meta a { color: var(--txt-2); text-decoration: underline; text-underline-offset: 3px; }
.footer__meta a:hover { color: var(--red); }
.footer__sep { color: var(--txt-4); }

.footer__legal {
  margin-top: 1rem;
  max-width: 58rem;
  font-size: 0.76rem;
  line-height: 1.6;
  color: var(--txt-4);
}

.footer__inner {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--txt-4);
}
.footer a:hover { color: var(--red); }
.footer__links { display: flex; gap: 1.25rem; flex-wrap: wrap; }

/* ------------------------------------------------------------------------
   16. CTA fixo no mobile
   ---------------------------------------------------------------------- */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  padding: 0.7rem var(--gutter) calc(0.7rem + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(10, 5, 6, 0.4), rgba(10, 5, 6, 0.96) 45%);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  display: none;
  transform: translateY(110%);
  transition: transform 0.3s ease;
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta .btn { width: 100%; }

/* ------------------------------------------------------------------------
   17. Reveal on scroll
   ---------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }

/* ------------------------------------------------------------------------
   18. Responsivo
   ---------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
  .badge--1 { right: -0.5rem; }
  .badge strong { font-size: 1.55rem; }
  .about__card { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .burger { display: inline-flex; }

  .header__inner { padding: 0.55rem 0.55rem 0.55rem 1.15rem; }

  .nav.is-open {
    display: flex;
    position: absolute;
    top: calc(100% + 0.6rem);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding: 0.85rem;
    border: 1px solid var(--line-2);
    border-radius: var(--r);
    background: rgba(16, 10, 11, 0.97);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    box-shadow: 0 26px 60px -30px rgba(0, 0, 0, 1);
  }
  .nav.is-open a { padding: 0.75rem 0.6rem; border-radius: 8px; }
  .nav.is-open a:hover { background: rgba(255, 255, 255, 0.05); }
  .nav__cta { margin: 0.4rem 0 0; }
  .nav.is-open .btn { width: 100%; }

  /* Texto primeiro: com a foto no topo, o CTA caía a duas telas de distância —
     inaceitável para tráfego pago, onde >70% da audiência é mobile. */
  .hero {
    min-height: 0;
    padding-top: clamp(6rem, 14vh, 7.5rem);
    align-items: stretch;
  }
  .hero__grid { grid-template-columns: 1fr; gap: 0; }
  .hero__copy { order: 1; padding-bottom: 2.5rem; max-width: none; }
  .hero__sub { max-width: 34rem; }

  .hero__figure {
    order: 2;
    display: block;
    justify-self: stretch;
    max-width: none;
    margin-inline: 0;
  }
  .hero__figure::before { display: none; }
  .hero__portrait { width: min(68vw, 290px); margin-inline: auto; }

  /* Badges saem de cima do rosto e viram faixa de estatísticas */
  .hero__stats {
    display: flex;
    gap: 0.65rem;
    margin-top: 1.25rem;
  }
  .badge {
    position: static;
    flex: 1 1 0;
    animation: none;
    padding: 0.85rem 0.75rem;
    white-space: normal;
  }
  .badge strong { font-size: 1.4rem; }
  .badge em, .badge span { font-size: 0.78rem; line-height: 1.3; }

  .hero__cta .btn { width: 100%; }
  .hero__trust { gap: 0.4rem 1rem; }

  /* Evita o CTA quebrar em duas linhas e deixar o ícone órfão no meio */
  .btn { --btn-px: 1.15rem; font-size: 0.86rem; letter-spacing: 0.03em; }
  .btn--lg { --btn-py: 1.15rem; --btn-px: 1.15rem; font-size: 0.9rem; }

  .pillars__grid,
  .how__grid { grid-template-columns: 1fr; }
  .step__icon { margin-top: -2.6rem; }

  .about__card { grid-template-columns: 1fr; }
  .about__figure { max-width: 300px; margin-inline: auto; aspect-ratio: 4/5; }

  .creds__grid { grid-template-columns: 1fr; }
  .creds__figure { max-width: 340px; margin-inline: auto; }

  .results__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .sticky-cta { display: block; }
  body { padding-bottom: 0; }
}

@media (max-width: 560px) {
  .results__grid { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; text-align: center; }
}

/* ------------------------------------------------------------------------
   19. Preferências do usuário
   ---------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  body::after, .sticky-cta, .header { display: none; }
}
