:root {
  --primary: #a2d2ff;
  --accent: #ffb703;
  --black: #0b0b0b;
  --dark: #111;
  --gray: #b0b0b0;
  --white: #fff;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: 'Inter', sans-serif;
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
}

/* LOADER */
.loader {
  position: fixed;
  inset: 0;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.loader img {
  width: 120px;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  50% {
    opacity: 0.6;
    transform: scale(1.05);
  }
}
/* HEADER */
/* .header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px); 
  z-index: 1000;
  transition: background 0.5s ease, padding 0.5s ease;
} */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;

  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;

  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);

  z-index: 1000;

  /* estado inicial escondido */
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;

  transition: transform 0.5s ease, opacity 0.5s ease,
    background 0.5s ease, padding 0.5s ease;
}

.header.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.header.scrolled {
  background: rgba(0, 0, 0, 0.85);
  padding: 0.8rem 1rem;
}


.nav-list {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-list a {
  color: var(--white);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-list a:hover {
  color: var(--primary);
}

/* HAMBURGER BUTTON */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: 0.3s;
}

/* RESPONSIVO */
@media (max-width: 900px) {
  .nav-list {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 180px;
    background: var(--dark);
    flex-direction: column;
    padding: 4rem 2rem;
    gap: 1.5rem;
    transition: right 0.4s ease;
  }

  .nav-list.active {
    right: 0;
  }

  .nav-toggle {
    display: flex;
  }
}

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('./assets/hero-bg2.png') center / cover no-repeat;
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  to {
    transform: scale(1.08);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.9));
}

.hero-content,
.scroll-indicator {
  position: relative;
  z-index: 2;
}

.logo {
  width: 100px;
}

.hero-content {
  margin: auto;
  text-align: center;
  max-width: 800px;
}

.hero-content h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
}

.hero-content p {
  margin: 1rem 0 2rem;
  color: var(--gray);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* =========================
   HERO LOADER
   ========================= */

.hero-loader {
  position: fixed;
  inset: 0;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.hero-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-bar {
  width: 260px;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  overflow: hidden;
}

.loader-progress {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), #cfe8ff);
  transition: width 0.3s ease;
}

/* =========================
   HERO TEXT ANIMATIONS
   ========================= */

.fade-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: 0.9s var(--ease);
}

.fade-right {
  opacity: 0;
  transform: translateX(60px);
  transition: 0.9s var(--ease);
}

.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.9s var(--ease);
}

.hero.active .fade-left,
.hero.active .fade-right,
.hero.active .fade-up {
  opacity: 1;
  transform: translate(0);
}

/* =========================
   BOTÕES – VERSÃO DEFINITIVA
   ========================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0.9rem 2.4rem;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;

  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    background-size 0.4s var(--ease), color 0.3s ease;
}

/* PRIMARY */
.btn-primary {
  background: linear-gradient(135deg, var(--primary), #cfe8ff);
  color: var(--black);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(162, 210, 255, 0.45);
}

/* OUTLINE – SEM ::before / ::after */
.btn-outline {
  color: var(--primary);
  border: 1px solid var(--primary);

  background-image: linear-gradient(var(--primary), var(--primary));
  background-repeat: no-repeat;
  background-size: 0% 100%;
  background-position: left center;
}

.btn-outline:hover {
  background-size: 100% 100%;
  color: var(--black);
}

/* REVEALS */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.8s var(--ease);
}

.reveal-up.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-fade {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.reveal-fade.active {
  opacity: 1;
}

.delay-1 {
  transition-delay: 0.2s;
}
.delay-2 {
  transition-delay: 0.4s;
}
.delay-3 {
  transition-delay: 0.6s;
}
.delay-4 {
  transition-delay: 0.8s;
}

/* SOBRE */
.sobre {
  padding: 6rem 2rem;
  max-width: 1100px;
  margin: auto;
}

.sobre h2 {
  text-align: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  margin-bottom: 4rem;
}

.timeline {
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  width: 2px;
  height: 100%;
  background: var(--primary);
}

.timeline-item {
  width: 50%;
  padding: 2rem;
}

.timeline-item.right {
  margin-left: 50%;
}

.timeline-item .content {
  background: var(--dark);
  padding: 2rem;
  border-radius: 8px;
}

/* MODALIDADES */
.modalidades {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: auto;
}

.modalidades h2 {
  text-align: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  margin-bottom: 4rem;
}

.modalidades-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.modalidade {
  background: var(--dark);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.modalidade:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
}

.modalidade-image {
  height: 220px;
  background-size: cover;
  background-position: center;
}

.modalidade-body {
  padding: 2rem;
}

.modalidade-body h3 {
  color: var(--primary);
  margin-bottom: 0.4rem;
}

.modalidade-body span {
  display: block;
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 1rem;
}

.modalidade-body p {
  color: var(--gray);
  margin-bottom: 1.5rem;
}

.horarios {
  padding: 6rem 2rem;
  max-width: 900px;
  margin: auto;
  text-align: center;
}

.horarios h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  margin-bottom: 3rem;
  color: var(--white);
}

.horarios-table-wrapper {
  overflow-x: auto;
}

.horarios-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--dark);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.horarios-table th,
.horarios-table td {
  padding: 1rem 1.5rem;
  color: var(--white);
  font-weight: 500;
  text-align: center;
  line-height: 1.8; /* mais espaço vertical */
}

.horarios-table th {
  background: var(--primary);
  color: var(--black);
  font-size: 1.2rem;
}

.horarios-table tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.05);
}

.horarios-table td {
  font-size: 1rem;
  line-height: 1.6;
}

/* MOBILE */
@media (max-width: 768px) {
  .horarios-table th,
  .horarios-table td {
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
  }
}
.planos {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.planos h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  margin-bottom: 4rem;
  color: var(--white);
}

.planos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.plano-card {
  background: var(--dark);
  border-radius: 16px;
  padding: 2rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.plano-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
}

.plano-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.plano-header h3 {
  color: var(--primary);
  font-size: 1.8rem;
}

.plano-header .tag {
  background: var(--accent);
  color: var(--black);
  padding: 0.2rem 0.6rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 6px;
}

.dias-semana {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.dia-btn {
  padding: 0.6rem 1.2rem;
  border: 1px solid var(--primary);
  border-radius: 6px;
  background: transparent;
  color: var(--primary);
  cursor: pointer;
  font-weight: 500;
  transition: 0.3s;
}

.dia-btn:hover {
  background: var(--primary);
  color: var(--black);
}

.dia-btn.active {
  background: var(--primary);
  color: var(--black);
  font-weight: 600;
  box-shadow: 0 8px 25px rgba(162, 210, 255, 0.45);
}

.plano-valor {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.btn-whatsapp {
  width: 100%;
  text-align: center;
}

/* RESPONSIVO */
@media (max-width: 900px) {
  .planos-grid {
    grid-template-columns: 1fr;
  }
}

/* LOCALIZAÇÃO */
.localizacao {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: auto;

  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center;
}

.localizacao h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  margin-bottom: 1rem;
}

.localizacao p {
  color: var(--gray);
  margin-bottom: 2rem;
}

.map-container {
  width: 100%;
  height: 360px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* CTA */
.cta {
  padding: 6rem 2rem;
  background: linear-gradient(180deg, #000, var(--dark));
}

.cta-inner {
  max-width: 700px;
  margin: auto;
  text-align: center;

  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.cta h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3rem);
}

.cta p {
  color: var(--gray);
}

/* FOOTER */
.contato {
  padding: 3rem 2rem;
  background: #000;
  text-align: center;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 1rem 0;
}

.socials a {
  color: var(--primary);
}

.socials a:hover {
  color: var(--accent);
}

/* MOBILE */
@media (max-width: 900px) {
  .modalidades-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .timeline::before {
    left: 0;
  }

  .timeline-item,
  .timeline-item.right {
    width: 100%;
    margin-left: 0;
  }

  .localizacao {
    grid-template-columns: 1fr;
  }

  .map-container {
    height: 300px;
  }
}

.inativo {
  text-decoration: line-through;
  color: gray;
}
