/* Base compartilhada das LPs. Cores e detalhes “de marca” vêm das variáveis em cada `styles.css` do evento. */

:root {
  color-scheme: light dark;
  --font-sans: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --page-bg: #0a0a0a;
  --text-on-dark: #ffffff;
  /* Mesma foto de fundo em todas as LPs (treinador + prancheta). Path relativo a este CSS. */
  --hero-bg-image: url('../assets/hero-trainer-bg.png');
  --hero-kicker-color: #ffffff;
  --hero-body-color: rgba(255, 255, 255, 0.92);
  --form-surface: #e8eaed;
  --form-border: #cfd4dc;
  --form-text: #0a1f44;
  --card-border: rgba(255, 255, 255, 0.35);
  --card-bg: rgba(12, 12, 12, 0.65);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--page-bg);
  color: var(--text-on-dark);
}

a {
  color: inherit;
}

.lp {
  min-height: 100vh;
}

/* Hero: mesma foto de fundo para todos os eventos; cores vêm do `styles.css` de cada LP. */
.hero {
  display: flex;
  align-items: center;
  min-height: clamp(420px, 62vh, 720px);
  position: relative;
  overflow: hidden;
  background-color: #000000;
  background-image: var(--hero-bg-image), radial-gradient(circle at 18% 45%, rgba(17, 51, 17, 0.28), transparent 40%);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 68% center, left center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  /* Escurece mais à esquerda (texto) e deixa o treinador legível à direita. */
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.88) 0%,
    rgba(0, 0, 0, 0.72) 34%,
    rgba(0, 0, 0, 0.35) 58%,
    rgba(0, 0, 0, 0.2) 100%
  );
  pointer-events: none;
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: min(560px, 92vw);
  padding: clamp(1.5rem, 4vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
}

.hero__kicker {
  font-size: clamp(1.75rem, 2.6vw + 1rem, 3.25rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0;
  color: var(--hero-kicker-color);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: clamp(0.95rem, 0.4vw + 0.85rem, 1.1rem);
  background: var(--hero-badge-bg);
  color: var(--hero-badge-fg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.hero__body {
  margin: 0;
  max-width: 44ch;
  font-size: clamp(0.95rem, 0.35vw + 0.85rem, 1.05rem);
  line-height: 1.55;
  color: var(--hero-body-color);
}

.hero__cta {
  margin-top: 0.25rem;
}

.hero__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  color: var(--cta-fg);
  background: var(--cta-bg);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease, filter 0.15s ease;
}

.hero__cta-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.hero__cta-btn:active {
  transform: translateY(0);
}

/* Botão com PNG completo (mão + faixa) vindo de shared/assets/cta-*.png */
.hero__cta-btn--asset {
  position: relative;
  padding: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  line-height: 0;
}

.hero__cta-btn--asset:hover {
  filter: brightness(1.05) drop-shadow(0 12px 28px rgba(0, 0, 0, 0.35));
}

.hero__cta-btn--asset:active {
  filter: brightness(0.98) drop-shadow(0 8px 20px rgba(0, 0, 0, 0.3));
}

.hero__cta-img {
  display: block;
  width: auto;
  max-width: min(100%, 328px);
  height: auto;
}

/*
 * Texto sobre o PNG: a mão fica à esquerda (~34% da largura). O centro da faixa
 * vermelha fica perto de 66–68% — usamos translate(-50%) para centralizar o texto nesse ponto.
 */
.hero__cta-btn--asset .hero__cta-text {
  position: absolute;
  left: 45%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: max-content;
  max-width: 46%;
  margin: 0;
  padding: 0 0.25rem;
  box-sizing: border-box;
  display: block;
  line-height: 1.25;
  font-size: clamp(0.9rem, 1.85vw, 1.15rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #ffffff;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

@media (max-width: 520px) {
  .hero__cta-img {
    max-width: min(100%, 280px);
  }

  .hero__cta-btn--asset .hero__cta-text {
    left: 64%;
    max-width: 44%;
    font-size: clamp(0.82rem, 3.2vw, 0.95rem);
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: clamp(420px, 74vh, 720px);
    background-size: auto 100%, cover;
    background-position: 62% top, center;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.6) 42%, rgba(0, 0, 0, 0.3) 100%);
  }

  .hero__content {
    max-width: 100%;
  }
}

/* Seção clara do formulário (referência “Exemplo.png”). */
.form-section {
  background: radial-gradient(1200px 500px at 20% 0%, rgba(255, 255, 255, 0.12), transparent 60%),
    linear-gradient(180deg, #f3f4f7 0%, #e8eaed 100%);
  color: var(--form-text);
  padding: clamp(1.5rem, 4vw, 3.25rem) clamp(1rem, 4vw, 3.25rem) clamp(2rem, 5vw, 3.5rem);
}

.form-section__inner {
  max-width: 980px;
  margin: 0 auto;
}

.form-section__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.05rem, 0.35vw + 0.95rem, 1.25rem);
  font-weight: 800;
}

.form-panel {
  background: var(--form-surface);
  border: 1px solid var(--form-border);
  border-radius: 18px;
  padding: clamp(1rem, 2.6vw, 1.6rem);
  box-shadow: 0 18px 50px rgba(10, 20, 40, 0.08);
}

.form-footnote {
  margin: 1.1rem auto 0;
  max-width: 70ch;
  text-align: center;
  font-weight: 700;
  color: #0a1f44;
}

.form-footnote span {
  display: block;
  margin-top: 0.35rem;
  font-weight: 500;
  color: rgba(10, 31, 68, 0.85);
}

/* Critérios + CTA final (fundo preto + brilho ciano). */
.dark-section {
  background: #000;
  padding: clamp(2.2rem, 5vw, 4rem) clamp(1rem, 4vw, 3rem) clamp(2.8rem, 6vw, 4.6rem);
}

.dark-section__inner {
  max-width: 980px;
  margin: 0 auto;
}

.criteria__title {
  margin: 0 auto clamp(1.55rem, 3vw, 2.3rem);
  max-width: 720px;
  text-align: center;
  font-size: clamp(1.35rem, 0.8vw + 1rem, 2rem);
  line-height: 1.28;
  font-weight: 700;
}

.criteria__title strong {
  font-weight: 800;
}

.criteria__highlight {
  position: relative;
  display: inline-block;
  padding: 0 0.35rem 0.1rem;
  z-index: 0;
}

.criteria__highlight::after {
  content: '';
  position: absolute;
  left: -0.65rem;
  right: -0.65rem;
  top: 52%;
  height: 70%;
  transform: translateY(-50%);
  border-radius: 999px;
  background: radial-gradient(circle at center, rgba(13, 216, 188, 0.46), rgba(13, 216, 188, 0.08) 70%, transparent 100%);
  box-shadow: 0 0 24px rgba(13, 216, 188, 0.45);
  z-index: -1;
}

.criteria__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(190px, 1fr));
  gap: clamp(0.8rem, 2vw, 1.35rem);
  justify-content: center;
}

@media (max-width: 900px) {
  .criteria__grid {
    grid-template-columns: 1fr;
  }
}

.criterion-card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.52);
  background: linear-gradient(180deg, rgba(6, 6, 6, 0.72), rgba(10, 10, 10, 0.55));
  border-radius: 22px;
  max-width: 220px;
  width: 100%;
  margin: 0 auto;
  min-height: 130px;
  padding: 2rem 1rem 1.1rem;
  text-align: center;
}

.criterion-card__icon {
  width: 56px;
  height: 56px;
  margin: 0;
  position: absolute;
  left: 50%;
  top: -26px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  isolation: isolate;
}

.criterion-card__icon svg {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  display: block;
  pointer-events: none;
}

.criterion-card__text {
  margin: 0.7rem 0 0;
  font-weight: 700;
  font-size: 1.03rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.95);
}

.glow-rule {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  margin: clamp(1.85rem, 4vw, 2.8rem) auto;
  max-width: 980px;
}

.glow-rule__line {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  transform: translateY(-50%);
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 238, 255, 0.12) 14%,
    rgba(0, 238, 255, 0.55) 46%,
    rgba(0, 238, 255, 0.55) 54%,
    rgba(0, 238, 255, 0.12) 86%,
    transparent 100%
  );
  box-shadow:
    0 0 16px rgba(0, 238, 255, 0.42),
    0 0 32px rgba(0, 200, 255, 0.18);
}

.glow-rule__point-wrap {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  background: radial-gradient(130% 130% at 50% 0%, rgba(18, 32, 38, 0.96), rgba(4, 8, 12, 0.94));
  border: 1px solid rgba(0, 245, 255, 0.42);
  box-shadow:
    0 0 22px rgba(0, 245, 255, 0.28),
    0 0 48px rgba(0, 200, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.glow-rule__point {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #ffffff, #a8fff8 38%, #00e8f5 72%, #0099aa 100%);
  box-shadow:
    0 0 12px rgba(255, 255, 255, 0.95),
    0 0 28px rgba(0, 255, 248, 0.85),
    0 0 56px rgba(0, 220, 255, 0.55),
    0 0 88px rgba(0, 180, 255, 0.28);
}

.final-cta {
  text-align: center;
  padding-bottom: 0.3rem;
}

.final-cta__title {
  margin: 0;
  font-weight: 900;
  letter-spacing: 0.03em;
  font-size: clamp(2.1rem, 2.4vw + 1.1rem, 4.1rem);
}

.final-cta__subtitle {
  margin: 0.2rem 0 0;
  font-size: clamp(1.1rem, 0.5vw + 0.95rem, 1.75rem);
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 900px) {
  .criteria__title {
    max-width: 420px;
    font-size: clamp(1.2rem, 1.3vw + 1rem, 1.55rem);
  }

  .criterion-card {
    max-width: 300px;
  }

  .criterion-card__text {
    font-size: 0.98rem;
  }

  .final-cta__title {
    font-size: clamp(1.8rem, 2vw + 1rem, 2.8rem);
  }
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.lang-switcher {
  position: fixed;
  left: 0.95rem;
  bottom: 0.95rem;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(8, 14, 28, 0.78);
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.32);
}

.lang-switcher__icon {
  display: inline-grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.08);
}

.lang-switcher__btn {
  border: 0;
  border-radius: 999px;
  min-width: 2rem;
  height: 1.9rem;
  padding: 0 0.55rem;
  font: inherit;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.86);
  background: transparent;
}

.lang-switcher__btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.lang-switcher__btn.is-active {
  color: #0b1528;
  background: #ffffff;
}
