:root {
  --vermelho: #d4111e;
  --vermelho-escuro: #9e0c16;
  --preto: #0b0b0c;
  --grafite: #161618;
  --grafite-claro: #232327;
  --branco: #ffffff;
  --cinza-fundo: #f4f4f5;
  --cinza-texto: #5c5c66;
  --cinza-linha: #e3e3e8;
  --fonte-titulo: 'Bebas Neue', 'Oswald', Impact, sans-serif;
  --fonte-texto: 'Inter', 'Segoe UI', Arial, sans-serif;
  --largura: 1200px;
  --raio: 10px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--fonte-texto);
  color: var(--preto);
  background: var(--branco);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.conteiner {
  width: 100%;
  max-width: var(--largura);
  margin: 0 auto;
  padding: 0 24px;
}

.rotulo {
  font-family: var(--fonte-titulo);
  color: var(--vermelho);
  font-size: 1.25rem;
  letter-spacing: 0.06em;
}

.titulo-secao {
  font-family: var(--fonte-titulo);
  font-weight: 400;
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: 0.01em;
}

.titulo-centralizado {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  text-align: center;
  margin-bottom: 40px;
}

.titulo-centralizado::before,
.titulo-centralizado::after {
  content: '';
  flex: 0 1 90px;
  height: 3px;
  background: var(--vermelho);
}

.botao {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: background 0.2s, transform 0.2s;
  border: 0;
  cursor: pointer;
}

.botao-vermelho {
  background: var(--vermelho);
  color: var(--branco);
}

.botao-vermelho:hover {
  background: var(--vermelho-escuro);
  transform: translateY(-2px);
}

.botao-contorno {
  border: 2px solid var(--branco);
  color: var(--branco);
}

.botao-contorno:hover {
  background: var(--branco);
  color: var(--preto);
}

.cabecalho {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--preto);
  border-bottom: 1px solid #1f1f22;
}

.cabecalho .conteiner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.cabecalho-logo img {
  height: 64px;
  width: auto;
}

.menu {
  display: flex;
  align-items: center;
  gap: 34px;
}

.menu a {
  color: var(--branco);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.menu a:hover,
.menu a.ativo {
  border-color: var(--vermelho);
}

.menu .botao {
  padding: 10px 20px;
  border-bottom: 0;
}

.hamburguer {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}

.hamburguer span {
  display: block;
  width: 26px;
  height: 3px;
  margin: 5px 0;
  background: var(--branco);
}

.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  background: var(--preto);
  overflow: hidden;
}

.hero-foto {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  filter: saturate(0.85);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(120, 6, 12, 0.96) 0%, rgba(11, 11, 12, 0.88) 42%, rgba(11, 11, 12, 0.25) 75%, rgba(11, 11, 12, 0.1) 100%);
}

.hero-conteudo {
  position: relative;
  z-index: 1;
  max-width: 560px;
  color: var(--branco);
  padding: 80px 0;
}

.hero h1 {
  font-family: var(--fonte-titulo);
  font-weight: 400;
  font-size: clamp(3.6rem, 9vw, 6.5rem);
  line-height: 0.9;
  margin: 10px 0 22px;
}

.hero p {
  font-size: 1.15rem;
  color: #e7e7ea;
  margin-bottom: 32px;
  max-width: 440px;
}

.hero-botoes {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.programas {
  background: var(--cinza-fundo);
  padding-bottom: 80px;
}

.programas-grade {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  transform: translateY(-50px);
}

.programa {
  background: var(--branco);
  border-top: 4px solid var(--vermelho);
  border-radius: var(--raio);
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s;
}

.programa:hover {
  transform: translateY(-6px);
}

.programa-foto {
  height: 190px;
  width: 100%;
  object-fit: cover;
}

.programa-corpo {
  padding: 26px 26px 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.programa h3 {
  font-family: var(--fonte-titulo);
  font-weight: 400;
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 10px;
}

.programa p {
  color: var(--cinza-texto);
  font-size: 0.95rem;
  flex: 1;
}

.programa-publico {
  display: inline-block;
  margin: 18px auto 0;
  padding-top: 14px;
  border-top: 3px solid var(--vermelho);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.programas-chamada {
  text-align: center;
  margin-top: -10px;
}

.sobre {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--preto);
  color: var(--branco);
}

.sobre-texto {
  padding: 90px 60px 90px max(24px, calc((100vw - var(--largura)) / 2 + 24px));
}

.sobre-texto .titulo-secao {
  margin: 8px 0 22px;
}

.sobre-texto p {
  color: #c9c9cf;
  margin-bottom: 16px;
  max-width: 520px;
}

.sobre-texto a {
  color: var(--branco);
  border-bottom: 1px solid var(--vermelho);
}

.destaques {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 36px;
  max-width: 520px;
}

.destaque {
  padding: 0 18px;
  border-left: 1px solid #34343a;
}

.destaque:first-child {
  padding-left: 0;
  border-left: 0;
}

.destaque strong {
  display: block;
  font-family: var(--fonte-titulo);
  font-weight: 400;
  color: var(--vermelho);
  font-size: 2.6rem;
  line-height: 1;
}

.destaque span {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sobre-foto {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.horarios {
  padding: 90px 0;
}

.tabela-rolagem {
  overflow-x: auto;
  border: 1px solid var(--cinza-linha);
  border-radius: var(--raio);
}

.tabela-horarios {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 0.88rem;
  text-align: center;
}

.tabela-horarios th {
  background: var(--vermelho);
  color: var(--branco);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.78rem;
  padding: 12px 8px;
}

.tabela-horarios td {
  padding: 12px 8px;
  border-top: 1px solid var(--cinza-linha);
  border-left: 1px solid var(--cinza-linha);
}

.tabela-horarios td:first-child {
  border-left: 0;
  font-weight: 700;
}

.tabela-horarios tbody tr:nth-child(even) {
  background: #fafafb;
}

.etiqueta {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.etiqueta-adulto {
  background: #ececf0;
  color: var(--preto);
}

.etiqueta-nogi {
  background: var(--preto);
  color: var(--branco);
}

.etiqueta-kids {
  background: var(--vermelho);
  color: var(--branco);
}

.etiqueta-gb3 {
  background: #6b3d1f;
  color: var(--branco);
}

.vazio {
  color: #b5b5bd;
}

.tabela-legenda {
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--cinza-texto);
  text-align: center;
}

.professores {
  background: var(--cinza-fundo);
  padding: 90px 0;
}

.professores-grade {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.professor {
  background: var(--branco);
  border-radius: var(--raio);
  overflow: hidden;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.professor img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
  border-bottom: 4px solid var(--vermelho);
}

.contato {
  position: relative;
  background: var(--preto);
  color: var(--branco);
  padding: 90px 0;
  overflow: hidden;
}

.contato::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('public/images/grupo.jpg') center / cover no-repeat;
  opacity: 0.14;
}

.contato .conteiner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 60px;
  align-items: center;
}

.contato .titulo-secao {
  margin: 8px 0 18px;
}

.contato-texto > p {
  color: #c9c9cf;
  margin-bottom: 24px;
  max-width: 480px;
}

.vantagens {
  list-style: none;
  margin-bottom: 32px;
}

.vantagens li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  font-weight: 600;
}

.vantagens li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 14px;
  height: 14px;
  background: var(--vermelho);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.botao-whatsapp {
  background: #25d366;
  color: #0b2e17;
}

.botao-whatsapp:hover {
  background: #1fb658;
}

.formulario {
  background: var(--branco);
  color: var(--preto);
  border-radius: var(--raio);
  border-top: 5px solid var(--vermelho);
  padding: 34px 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.formulario h3 {
  font-family: var(--fonte-titulo);
  font-weight: 400;
  font-size: 2rem;
  line-height: 1;
  text-align: center;
  margin-bottom: 22px;
}

.formulario label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.formulario input,
.formulario textarea {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 16px;
  border: 1px solid var(--cinza-linha);
  border-radius: 6px;
  background: var(--cinza-fundo);
  font: inherit;
  font-size: 0.95rem;
}

.formulario input:focus,
.formulario textarea:focus {
  outline: 2px solid var(--vermelho);
  border-color: transparent;
  background: var(--branco);
}

.formulario textarea {
  min-height: 80px;
  resize: vertical;
}

.formulario .botao {
  width: 100%;
  justify-content: center;
}

.rodape {
  background: #050506;
  color: #b9b9c0;
  border-top: 4px solid var(--vermelho);
  padding: 56px 0 24px;
  font-size: 0.9rem;
}

.rodape-grade {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
}

.rodape-marca img {
  width: 220px;
  margin-bottom: 14px;
}

.rodape h4 {
  font-family: var(--fonte-titulo);
  font-weight: 400;
  color: var(--branco);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.rodape li {
  list-style: none;
  margin-bottom: 6px;
}

.rodape a:hover {
  color: var(--branco);
}

.redes {
  display: flex;
  gap: 12px;
}

.redes img {
  width: 34px;
  height: 34px;
}

.rodape-direitos {
  border-top: 1px solid #1f1f22;
  padding-top: 20px;
  text-align: center;
  font-size: 0.8rem;
}

.whatsapp-flutuante {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.whatsapp-flutuante img {
  width: 34px;
}

@media (max-width: 980px) {
  .programas-grade,
  .professores-grade {
    grid-template-columns: repeat(2, 1fr);
  }

  .sobre,
  .contato .conteiner {
    grid-template-columns: 1fr;
  }

  .sobre-texto {
    padding: 70px 24px;
  }

  .rodape-grade {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .hamburguer {
    display: block;
  }

  .menu {
    display: none;
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--preto);
    padding: 12px 24px 24px;
    border-bottom: 3px solid var(--vermelho);
  }

  .menu.aberto {
    display: flex;
  }

  .menu a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid #1f1f22;
  }

  .menu .botao {
    margin-top: 16px;
    justify-content: center;
  }

  .hero {
    min-height: 540px;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(11, 11, 12, 0.55) 0%, rgba(120, 6, 12, 0.92) 100%);
  }

  .programas-grade,
  .professores-grade,
  .rodape-grade {
    grid-template-columns: 1fr;
  }

  .professores-grade {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .destaque strong {
    font-size: 2rem;
  }

  .formulario {
    padding: 28px 20px;
  }
}
