
:root {
  --preto: #171719;
  --grafite: #202124;
  --claro: #292a2e;
  --amarelo: #f5cf22;
  --branco: #f8f8f8;
  --cinza: #aaaab0;
  --borda: #393a3f;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
}

body {
  background: var(--preto);
  color: var(--branco);
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
}

body.carregando {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

p {
  line-height: 1.8;
  color: var(--cinza);
}

.container {
  width: min(1180px, 88%);
  margin: auto;
}

h1, h2, h3 {
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  line-height: 1;
}

h2 {
  font-size: clamp(44px, 6vw, 78px);
  font-weight: 900;
}

h2 span,
.hero h1 span {
  color: var(--amarelo);
}

/* SVG REUTILIZÁVEL */

.biblioteca-svg {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

/* INTRODUÇÃO */

.intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #111214;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.intro::before {
  content: "";
  position: absolute;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(245, 207, 34, .12),
    transparent 70%
  );
  animation: brilho 4s ease-in-out both;
}

.intro-conteudo {
  position: relative;
  width: min(760px, 96%);
  text-align: center;
}

.intro-titulo {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: aparecerTitulo .9s ease both;
}

.intro-titulo > span {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 29px;
  font-weight: 800;
  letter-spacing: 5px;
}

.intro-titulo strong {
  font-family: "Barlow Condensed", sans-serif;
  color: var(--amarelo);
  font-size: clamp(60px, 13vw, 100px);
  font-weight: 900;
  line-height: 1;
}

.intro-titulo small {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 5px;
  margin-top: 7px;
}

/* BRAÇOS ANIMADOS */

.treino {
  width: 100%;
  height: 245px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 10px auto 0;
}

.braco {
  width: min(41%, 310px);
  height: 190px;
  flex-shrink: 0;
  position: relative;
}

.braco svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

/*
  O desenho original aponta para a direita.
  No lado esquerdo, ele é espelhado.
*/
.braco-esquerdo {
  transform: scaleX(-1);
}

/*
  A rotação acontece no ombro,
  próximo à coordenada 25,95.
*/
.braco .membro {
  transform-box: view-box;
  transform-origin: 25px 95px;
  will-change: transform;
}

/*
  LADO ESQUERDO:
  após o espelhamento, a rotação positiva
  abaixa o braço para o lado externo.
*/
.braco-esquerdo .membro {
  animation: elevacaoEsquerda 2s ease-in-out infinite;
}

/*
  LADO DIREITO:
  rotação positiva também abaixa o braço
  no sistema de coordenadas original.
  O espelhamento do contêiner esquerdo
  inverte visualmente o sentido.
*/
.braco-direito .membro {
  animation: elevacaoDireita 2s ease-in-out infinite;
}

@keyframes elevacaoEsquerda {
  0%, 100% {
    transform: rotate(65deg);
  }

  45%, 55% {
    transform: rotate(0deg);
  }
}

@keyframes elevacaoDireita {
  0%, 100% {
    transform: rotate(65deg);
  }

  45%, 55% {
    transform: rotate(0deg);
  }
}

/*
  As duas animações usam o mesmo ângulo
  local porque o espelhamento já inverte
  o sentido visível do braço esquerdo.
*/

.treino-centro {
  width: 110px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 2px;
  position: relative;
  z-index: 2;
}

.treino-centro span:first-child {
  color: var(--amarelo);
}

.treino-centro i {
  width: 55px;
  height: 2px;
  background: var(--amarelo);
}

/* BARRA DE CARREGAMENTO */

.intro-slogan {
  color: #bdbdc0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  margin: 20px 0 25px;
  animation: aparecerTitulo .8s .5s both;
}

.intro-barra {
  width: min(320px, 85%);
  height: 5px;
  margin: auto;
  display: flex;
  background: #353535;
  border-radius: 10px;
  overflow: hidden;
}

.barra-esquerda,
.barra-direita {
  width: 50%;
  height: 100%;
  background: var(--amarelo);
  box-shadow: 0 0 15px var(--amarelo);
  animation: expandirBarra 4s linear forwards;
}

.barra-esquerda {
  transform-origin: right center;
}

.barra-direita {
  transform-origin: left center;
}

@keyframes expandirBarra {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

.intro-porcentagem {
  display: block;
  margin-top: 15px;
  color: var(--amarelo);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
}

.intro.saindo {
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s ease, visibility .5s;
  pointer-events: none;
}

@keyframes aparecerTitulo {
  from {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes brilho {
  50% {
    transform: scale(1.3);
    opacity: 1;
  }

  100% {
    transform: scale(1);
    opacity: .5;
  }
}

/* CABEÇALHO */

.cabecalho {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  padding: 0 7%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(23, 23, 25, .96);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--borda);
  z-index: 1000;
  transition: .3s;
}

.cabecalho.rolando {
  height: 75px;
  box-shadow: 0 10px 30px #0005;
}

.marca {
  display: flex;
  flex-direction: column;
  font-family: "Barlow Condensed", sans-serif;
  line-height: 1;
}

.marca strong {
  font-size: 28px;
  font-weight: 900;
  white-space: nowrap;
}

.marca em {
  color: var(--amarelo);
  font-style: normal;
}

.marca small {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 3px;
  margin-top: 6px;
}

.menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.menu a {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: .3s;
}

.menu a:hover,
.menu a.ativo {
  color: var(--amarelo);
}

.menu-botao {
  display: none;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 0;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.menu-botao span {
  width: 27px;
  height: 2px;
  background: var(--amarelo);
  transition: .3s;
}

.menu-botao.aberto span:first-child {
  transform: translateY(8px) rotate(45deg);
}

.menu-botao.aberto span:nth-child(2) {
  opacity: 0;
}

.menu-botao.aberto span:last-child {
  transform: translateY(-8px) rotate(-45deg);
}

/* INÍCIO */

.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 145px 0 110px;
  background:
    linear-gradient(
      90deg,
      #0c0c0ef8,
      #0c0c0ec7 55%,
      #0c0c0e77
    ),
    url("https://images.unsplash.com/photo-1534438327276-14e5300c3a48?auto=format&fit=crop&w=1800&q=85")
    center / cover no-repeat;
}

.etiqueta {
  display: inline-block;
  color: var(--amarelo);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(62px, 9vw, 125px);
  font-weight: 900;
  margin-bottom: 30px;
}

.hero p {
  max-width: 530px;
  color: #ddd;
  font-size: 17px;
  margin-bottom: 35px;
}

.botoes {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.botao {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 56px;
  padding: 16px 28px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-align: center;
  transition: .3s;
}

.principal {
  color: #151515;
  background: var(--amarelo);
  border: 2px solid var(--amarelo);
}

.principal:hover {
  background: #ffe55a;
  border-color: #ffe55a;
  transform: translateY(-4px);
}

.secundario {
  border: 2px solid #ffffff88;
}

.secundario:hover {
  background: white;
  color: #111;
  transform: translateY(-4px);
}

/* FAIXA */

.faixa {
  padding: 25px 5%;
  background: var(--amarelo);
  color: #111;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 15px;
}

.faixa span {
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 900;
}

/* SEÇÕES */

.secao {
  padding: 110px 0;
}

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 85px;
}

.sobre-imagem {
  height: 510px;
  position: relative;
  background:
    linear-gradient(0deg, #1119, transparent 60%),
    url("https://images.unsplash.com/photo-1517836357463-d25dfeac3438?auto=format&fit=crop&w=1000&q=85")
    center / cover no-repeat;
}

.selo {
  position: absolute;
  right: -25px;
  bottom: 35px;
  padding: 25px 32px;
  background: var(--amarelo);
  color: #111;
  text-align: center;
}

.selo strong {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 75px;
  line-height: 1;
}

.selo small {
  font-size: 11px;
  font-weight: 800;
}

.sobre-texto p {
  margin-top: 25px;
}

.frase {
  border-left: 3px solid var(--amarelo);
  padding-left: 20px;
  margin: 35px 0;
  font-size: 12px;
  font-weight: 800;
}

.link {
  color: var(--amarelo);
  font-size: 12px;
  font-weight: 800;
  border-bottom: 1px solid var(--amarelo);
  padding-bottom: 8px;
}

/* CARDS */

.destaques,
.contato {
  background: var(--grafite);
}

.titulo-central {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 55px;
}

.titulo-central p {
  margin-top: 20px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  min-height: 280px;
  padding: 38px 32px;
  background: var(--claro);
  border: 1px solid var(--borda);
  transition: .35s;
}

.card:hover {
  transform: translateY(-9px);
  border-color: var(--amarelo);
}

.card small {
  color: var(--amarelo);
  font-size: 16px;
  font-weight: 800;
}

.card h3 {
  font-size: 36px;
  margin: 55px 0 15px;
}

.card p {
  font-size: 14px;
}

/* CHAMADA */

.chamada {
  padding: 110px 0;
  text-align: center;
  background:
    linear-gradient(#101113e9, #101113ee),
    url("https://images.unsplash.com/photo-1534438327276-14e5300c3a48?auto=format&fit=crop&w=1600&q=80")
    center / cover;
}

.chamada h2 {
  margin: 25px 0 38px;
}

.chamada em {
  color: var(--amarelo);
  font-style: normal;
}

/* HORÁRIOS */

.horarios-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
}

.horarios-grid p {
  margin-top: 25px;
}

.tabela {
  background: var(--grafite);
  border: 1px solid var(--borda);
}

.tabela > div {
  padding: 30px 25px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid var(--borda);
}

.tabela > div:last-child {
  border: 0;
}

.tabela span {
  font-size: 12px;
  font-weight: 800;
}

.tabela strong {
  color: var(--amarelo);
  font-size: 14px;
}

.tabela .fechado {
  color: #ff7777;
}

/* CONTATO */

.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
}

.contato-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 30px;
}

.informacao {
  border-left: 3px solid var(--amarelo);
  padding-left: 20px;
}

.informacao small {
  color: var(--amarelo);
  font-size: 11px;
  font-weight: 800;
}

.informacao h3 {
  font-size: 30px;
  margin: 10px 0;
}

.informacao p {
  font-size: 14px;
}

.mapa {
  min-height: 370px;
}

.mapa iframe {
  width: 100%;
  height: 100%;
  min-height: 370px;
  border: 0;
  filter: grayscale(.7);
}

/* RODAPÉ */

.rodape {
  background: #0f1012;
  padding: 45px 0 25px;
}

.rodape-topo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  padding-bottom: 35px;
  border-bottom: 1px solid var(--borda);
}

.rodape-topo p {
  font-size: 12px;
  font-weight: 800;
}

/* INSTAGRAM */

.rodape-instagram {
  padding: 25px 0;
  text-align: center;
  border-bottom: 1px solid var(--borda);
}

.rodape-instagram a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--branco);
  font-size: 13px;
  font-weight: 800;
  transition: color .3s, transform .3s;
}

.rodape-instagram svg {
  color: var(--amarelo);
  flex-shrink: 0;
}

.rodape-instagram a:hover {
  color: var(--amarelo);
  transform: translateY(-3px);
}

.rodape-final {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  padding-top: 25px;
  color: #898990;
  font-size: 10px;
}

/* ANIMAÇÕES AO ROLAR */

.revelar {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity .75s ease, transform .75s ease;
}

.revelar.visivel {
  opacity: 1;
  transform: none;
}

/* TABLETS */

@media (max-width: 950px) {
  .menu-botao {
    display: flex;
  }

  .menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    gap: 0;
    background: var(--grafite);
  }

  .menu.aberto {
    display: flex;
  }

  .menu a {
    width: 100%;
    padding: 20px 7%;
    border-bottom: 1px solid var(--borda);
  }
}

/* CELULARES */

@media (max-width: 700px) {
  .cabecalho {
    height: 75px;
    padding: 0 5%;
  }

  .marca strong {
    font-size: 20px;
  }

  .marca small {
    font-size: 10px;
    letter-spacing: 2px;
  }

  .intro-titulo > span {
    font-size: 23px;
  }

  .intro-titulo strong {
    font-size: clamp(48px, 13vw, 75px);
  }

  .intro-titulo small {
    font-size: 18px;
  }

  .treino {
    height: 175px;
    margin: 0 auto;
  }

  .braco {
    width: 39%;
    height: 150px;
  }

  .treino-centro {
    width: 65px;
    font-size: 16px;
    gap: 6px;
  }

  .treino-centro i {
    width: 40px;
  }

  .intro-slogan {
    font-size: 9px;
  }

  .hero {
    padding: 135px 0 110px;
  }

  .hero h1 {
    font-size: clamp(54px, 12vw, 80px);
  }

  .hero p {
    font-size: 15px;
  }

  .botoes {
    flex-direction: column;
  }

  .botao {
    width: 100%;
  }

  .secao {
    padding: 75px 0;
  }

  h2 {
    font-size: clamp(43px, 10vw, 62px);
  }

  .sobre-grid,
  .horarios-grid,
  .contato-grid,
  .cards {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .sobre-imagem {
    height: 380px;
  }

  .selo {
    right: -10px;
    bottom: 20px;
  }

  .tabela > div {
    padding: 22px 15px;
  }

  .tabela span,
  .tabela strong {
    font-size: 11px;
  }

  .rodape-topo,
  .rodape-final {
    flex-direction: column;
    align-items: flex-start;
  }

  .rodape-instagram a {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .revelar {
    opacity: 1;
    transform: none;
  }

  .braco .membro,
  .intro-titulo,
  .intro-slogan,
  .intro::before {
    animation: none;
  }
}
