/* Medidas de desktop tiradas do wireframe (arte em 1920px). */
:root {
  --preto: #000;
  --turquesa: #00f1d1;
  --laranja: #ff7741;
  --vermelho: #ff4a4a;
  --verde-escuro: #013029;
  --verde-agua: #01a29b;
  --branco: #fff;
  --spartan: "League Spartan", "Montserrat", Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 23px;
  line-height: 1.2;
  color: var(--branco);
  background: var(--preto);
  text-align: center;
}

img { max-width: 100%; height: auto; display: block; margin: 0 auto; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.container { width: 100%; max-width: 876px; margin: 0 auto; padding: 0 20px; }

/* ---------- Botão ---------- */
.btn {
  --btn-translate-x: 0px;
  --btn-translate-y: 0px;
  --btn-hover-y: 0px;
  --btn-scale: 1;
  --btn-glow: 255, 119, 65;
  display: inline-flex;
  position: relative;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  min-height: 60px;
  padding: 8px 29px;
  border: 0;
  border-radius: 16px;
  background: var(--laranja);
  color: var(--branco);
  font: inherit;
  font-size: 27px;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  outline: 0;
  transform: translate(var(--btn-translate-x), calc(var(--btn-translate-y) + var(--btn-hover-y))) scale(var(--btn-scale));
  box-shadow: 0 0 0 rgba(255, 119, 65, 0);
  transition:
    transform .22s cubic-bezier(.22, 1, .36, 1),
    box-shadow .22s cubic-bezier(.22, 1, .36, 1),
    filter .22s cubic-bezier(.22, 1, .36, 1);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, .28) 45%, transparent 70%);
  opacity: 0;
  transform: translateX(-120%);
  pointer-events: none;
  transition:
    opacity .2s cubic-bezier(.22, 1, .36, 1),
    transform .55s cubic-bezier(.16, 1, .3, 1);
}
.btn:hover,
.btn:focus-visible {
  --btn-hover-y: -3px;
  --btn-scale: 1.015;
  filter: brightness(1.08) saturate(1.08);
  box-shadow: 0 8px 14px rgba(var(--btn-glow), .24);
}
.btn:focus-visible {
  outline: 2px solid rgba(var(--btn-glow), .68);
  outline-offset: 4px;
}
.btn:hover::before,
.btn:focus-visible::before {
  opacity: 1;
  transform: translateX(120%);
}
.btn:active {
  --btn-hover-y: 1px;
  --btn-scale: .985;
  filter: brightness(1.02);
  box-shadow: 0 3px 8px rgba(var(--btn-glow), .18);
}

/* ---------- Hero ---------- */
.hero {
  padding: 56px 0 84px;
  background: #0d0a05 url("../images/background_section-1_Maratona.jpg") center top / cover no-repeat;
}
.hero .container { position: relative; }
/* sombra atrás do título */
.hero .container::before {
  content: "";
  position: absolute;
  top: 50px;
  left: 50%;
  width: 978px;
  max-width: 100vw;
  height: 453px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(0, 0, 0, .8), rgba(0, 0, 0, 0));
  pointer-events: none;
}
.hero .container > * { position: relative; }
.pessoas { width: 750px; }
.hero__titulo { margin-top: -121px; }
.hero__titulo img { width: 507px; }
.hero__data {
  margin-top: 38px;
  font-size: 33px;
  font-weight: 600;
  text-transform: uppercase;
}
.hero__data strong { color: var(--laranja); font-weight: 600; }
.hero__horario { margin-top: 6px; font-size: 25.5px; }
.hero__horario strong { color: var(--vermelho); font-weight: 600; }
.hero__aviso { margin-top: 27px; font-size: 17.5px; font-style: italic; text-transform: uppercase; }

/* Formulário do portal (iframe de outro domínio: a altura é fixa, com folga para as mensagens de erro) */
.form-embed {
  display: block;
  width: 100%;
  max-width: 735px;
  height: 530px;
  margin: 63px auto 0;
  border: 0;
  border-radius: 15px;
}

/* ---------- Faixa rolante ---------- */
.faixa { overflow: hidden; background: var(--turquesa); color: #000; }
.faixa__trilho {
  display: flex;
  align-items: center;
  width: max-content;
  height: 55px;
  animation: faixa 40s linear infinite;
}
.faixa__trilho span {
  flex: none;
  font-size: 20px;
  font-weight: 700;
  font-style: italic;
  white-space: nowrap;
}
.faixa__trilho span::after { content: "•"; margin: 0 19px; }
@keyframes faixa { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .faixa__trilho { animation: none; }
  html { scroll-behavior: auto; }
  .btn,
  .btn::before {
    transition-duration: 0.01ms;
  }
  .btn:hover,
  .btn:focus-visible,
  .btn:active {
    --btn-hover-y: 0px;
    --btn-scale: 1;
  }
  .btn:hover::before,
  .btn:focus-visible::before {
    opacity: 0;
  }
}

/* ---------- Seções ---------- */
.titulo {
  color: var(--turquesa);
  font-size: 31px;
  font-weight: 700;
}
.titulo--branco { color: var(--branco); }
.titulo--branco span { color: var(--turquesa); font-size: 35px; }

.prova { padding: 72px 0 74px; }
.prova p { max-width: 665px; margin: 28px auto 0; }
.prova .titulo + p { margin-top: 52px; }
.prova .btn { margin-top: 64px; padding-inline: 36px; }

/* ---------- Programação ---------- */
.programacao {
  padding: 64px 0 68px;
  background: #00211c url("../images/background_section-3_Maratona.jpg") center / cover no-repeat;
}
.grade {
  display: grid;
  grid-template-columns: repeat(3, 250px);
  justify-content: center;
}
.programacao .grade { gap: 50px 14px; margin-top: 50px; }
.aula { font-family: var(--spartan); }
.aula img { width: 100%; border-radius: 25px; }
.etiqueta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 157px;
  max-width: 100%;
  height: 35px;
  margin: 15px auto 21px;
  padding-top: 2px;
  border-radius: 5px;
  background: var(--turquesa);
  color: #000;
  font-size: 17.6px;
  font-weight: 500;
}
.aula h3 {
  padding: 0 16px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}
.aula p { color: var(--turquesa); font-size: 16.2px; font-weight: 500; line-height: 1.2; }
.destaque { margin-top: 44px; font-weight: 700; font-style: italic; }
.programacao .btn { margin-top: 26px; }

/* ---------- Especialistas ---------- */
.especialistas { padding: 69px 0 78px; }
.especialistas .grade { gap: 94px 22px; margin-top: 60px; padding-bottom: 66px; }
.pessoa { position: relative; }
.pessoa__foto {
  overflow: hidden;
  border-radius: 25px;
  background: linear-gradient(to top, #000 0%, #012d27 52.4%);
}
.pessoa__foto img { width: 100%; }
.pessoa__etiqueta {
  position: absolute;
  top: 89.6%;
  left: 6%;
  right: 6.4%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 92px;
  padding: 6px 8px;
  border-radius: 5px;
  background: var(--turquesa);
  color: #000;
}
.pessoa__etiqueta strong { font-size: 18.3px; font-weight: 700; line-height: 1.18; }
.pessoa__etiqueta span { margin-top: 2px; font-size: 12px; line-height: 1.2; }
.especialistas .btn { margin-top: 37px; }

/* ---------- Certificado ---------- */
.certificado {
  padding-top: 51px;
  background: #00211c url("../images/background_section-5_Maratona.jpg") center / cover no-repeat;
}
.certificado__linha {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
}
.certificado__texto { padding-bottom: 10px; }
.certificado__texto h2 { color: var(--laranja); font-size: 32px; font-weight: 700; }
.certificado__texto p { max-width: 345px; margin-top: 37px; font-size: 25px; }
.certificado__foto { width: 369px; margin: 0 20px 0 0; }

/* ---------- Grupo VOLL ---------- */
.voll { padding: 62px 0 58px; background: var(--branco); color: var(--verde-escuro); }
.voll__chamada { font-size: 28px; line-height: 37.5px; }
.voll__logo { width: 217px; margin-top: 23px; }
.numeros {
  display: grid;
  grid-template-columns: 200px 175px 205px 130px;
  justify-content: space-between;
  max-width: 850px;
  margin: 36px auto 0;
  font-family: var(--spartan);
  font-size: 26px;
  font-weight: 300;
  line-height: 28px;
  letter-spacing: -.025em;
}
.numeros strong { display: block; white-space: nowrap; font-size: 48px; font-weight: 700; line-height: 42px; }
.numeros li:nth-child(odd) strong { color: var(--verde-agua); }

/* ---------- Fechamento ---------- */
.fechamento {
  padding: 61px 0 53px;
  background: #0d0a05 url("../images/background_ultima-section_Maratona.jpg") center / cover no-repeat;
}
.fechamento .titulo { font-size: 35px; }
.fechamento .pessoas { width: 588px; margin-top: 33px; }
.fechamento p { position: relative; margin-top: 28px; }
.fechamento .pessoas + p { margin-top: -63px; }
.fechamento .btn { margin-top: 38px; }
.fechamento .nota { margin-top: 23px; font-size: 18px; font-style: italic; }

.rodape {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  padding: 18px 20px;
  background: #0f0f0f;
  color: var(--branco);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}

/* ---------- Tablet e celular ---------- */
@media (max-width: 899px) {
  body { font-size: clamp(15px, 2.6vw, 23px); }
  .btn { min-height: 0; padding: .65em 1.1em; border-radius: 12px; font-size: clamp(15px, 3vw, 27px); }
  .titulo,
  .fechamento .titulo { font-size: clamp(20px, 3.6vw, 31px); }
  .titulo--branco span { font-size: 1.12em; }

  .hero { padding: 32px 0 48px; }
  .hero .container::before { top: 12vw; height: 50vw; }
  .hero__titulo { margin-top: -16%; }
  .hero__titulo img { width: 68%; }
  .hero__data { margin-top: 5%; font-size: clamp(17px, 3.9vw, 33px); }
  .hero__horario { font-size: clamp(14px, 2.9vw, 25.5px); }
  .hero__aviso { margin-top: 3%; font-size: clamp(10.5px, 2vw, 17.5px); }
  .form-embed { height: 560px; margin-top: 6%; }

  .faixa__trilho { height: 40px; }
  .faixa__trilho span { font-size: 14px; }

  .prova,
  .programacao,
  .especialistas,
  .fechamento { padding: 48px 0; }
  .prova br,
  .destaque br,
  .titulo br,
  .certificado p br { display: none; }
  .prova .titulo + p { margin-top: 28px; }
  .prova p { margin-top: 18px; max-width: none; }
  .prova .btn,
  .programacao .btn,
  .especialistas .btn,
  .fechamento .btn { margin-top: 28px; }

  .grade { grid-template-columns: repeat(3, minmax(0, 250px)); }
  .programacao .grade { gap: 32px 10px; margin-top: 32px; }
  .aula img,
  .pessoa__foto { border-radius: 10%; }
  .etiqueta { height: auto; margin: 10px auto 12px; padding: 5px 4px 3px; font-size: clamp(11px, 2vw, 17.6px); }
  .aula h3 { padding: 0 2px; font-size: clamp(10px, 1.6vw, 14px); }
  .aula p { font-size: clamp(11.5px, 1.85vw, 16.2px); }
  .destaque { margin-top: 32px; }

  .especialistas .grade { gap: 12vw 10px; margin-top: 36px; padding-bottom: 8vw; }
  .pessoa__etiqueta { min-height: 0; aspect-ratio: 219 / 92; padding: 2px 4px; }
  .pessoa__etiqueta strong { font-size: clamp(10px, 2.05vw, 18.3px); }
  .pessoa__etiqueta span { margin-top: 1px; font-size: clamp(7px, 1.35vw, 12px); }

  .certificado { padding-top: 40px; }
  .certificado__texto h2 { font-size: clamp(20px, 3.6vw, 32px); }
  .certificado__texto p { margin-top: 16px; font-size: clamp(15px, 2.8vw, 25px); }
  .certificado__foto { width: 41%; margin-right: 0; }

  .voll { padding: 44px 0; }
  .voll__chamada { font-size: clamp(17px, 3.1vw, 28px); line-height: 1.34; }
  .voll__logo { width: clamp(130px, 24vw, 217px); }
  .numeros { grid-template-columns: repeat(4, 1fr); gap: 12px; font-size: clamp(14px, 2.9vw, 26px); line-height: 1.2; }
  .numeros strong { font-size: clamp(28px, 5.3vw, 48px); line-height: .9; }

  .fechamento .pessoas { width: 70%; margin-top: 28px; }
  .fechamento .pessoas + p { margin-top: -7%; }
  .fechamento p { margin-top: 18px; }
  .fechamento .nota { margin-top: 16px; font-size: clamp(11px, 2vw, 18px); }
  .rodape {
    min-height: 44px;
    padding: 13px 16px;
    font-size: 11px;
  }
}

@media (max-width: 559px) {
  .form-embed { height: 620px; }
  .grade { grid-template-columns: repeat(2, minmax(0, 250px)); }
  .programacao .grade { gap: 28px 12px; }
  .etiqueta { font-size: 13px; }
  .aula h3 { font-size: 11px; }
  .aula p { font-size: 13px; }
  .especialistas .grade { gap: 19vw 12px; padding-bottom: 14vw; }
  .pessoa__etiqueta strong { font-size: clamp(11px, 3.4vw, 16px); }
  .pessoa__etiqueta span { font-size: clamp(8px, 2.3vw, 11px); }

  .certificado__linha { flex-direction: column; gap: 24px; text-align: center; }
  .certificado__texto p { margin-inline: auto; }
  .certificado__foto { width: 62%; }

  .numeros { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; font-size: 16px; }
  .numeros strong { font-size: 34px; }
}
