/*
Theme Name: Ativa Fitness
Theme URI: https://academiaativafitness.com.br
Author: Academia Ativa Fitness
Description: Tema personalizado para Academia Ativa Fitness - Vitória da Conquista, BA
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: ativa-fitness
*/

/* Reset e Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: #09090b;
  color: #ffffff;
  line-height: 1.6;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #18181b;
}

::-webkit-scrollbar-thumb {
  background: #f97316;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #ea580c;
}

/* Utilities */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.text-orange {
  color: #f97316;
}

.bg-orange {
  background-color: #f97316;
}

.bg-orange:hover {
  background-color: #ea580c;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.3s ease;
  padding: 0 1rem;
}

.navbar.scrolled {
  background-color: rgba(9, 9, 11, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.navbar-content {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.navbar-logo img {
  height: 48px;
  width: auto;
}

.navbar-menu {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .navbar-menu {
    display: flex;
  }
}

.navbar-menu a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.3s;
}

.navbar-menu a:hover {
  color: #f97316
}

.btn-primary {
  background-color: #f97316;
  color: white;
  padding: 0.625rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: #ea580c;
  transform: scale(1.05);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  padding: 1rem 2rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: none;
  transition: all 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 700;
  box-shadow: 0 10px 15px -3px rgba(249, 115, 22, 0.25);
}

/* Mobile Menu */
.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  color: white;
  font-size: 1.75rem;
  cursor: pointer;
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu {
  display: none;
  background-color: rgba(24, 24, 27, 0.98);
  backdrop-filter: blur(12px);
  padding: 1.5rem 1rem;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu a {
  display: block;
  color: #a1a1aa;
  text-decoration: none;
  font-size: 1.125rem;
  font-weight: 500;
  padding: 0.5rem 0;
}

.mobile-menu a:hover {
  color: #f97316;
}

.mobile-menu .btn-primary {
  width: 100%;
  margin-top: 1rem;
  padding: 0.75rem;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #09090b, rgba(9, 9, 11, 0.8), rgba(9, 9, 11, 0.4));
}

.hero-overlay-bottom {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #09090b, transparent, transparent);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1280px;
  margin: 0 auto;
  padding: 8rem 1rem;
}

.hero-inner {
  max-width: 48rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background-color: rgba(249, 115, 22, 0.2);
  border: 1px solid rgba(249, 115, 22, 0.3);
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  margin-bottom: 1.5rem;
}

.hero-badge span {
  color: #fb923c;
  font-size: 0.875rem;
  font-weight: 500;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 4.5rem;
  }
}

.hero h1 .gradient-text {
  display: block;
  background: linear-gradient(to right, #fb923c, #ea580c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.25rem;
  color: #a1a1aa;
  margin-bottom: 2rem;
  max-width: 36rem;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 1s infinite;
  color: #f97316;
  font-size: 2rem;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-10px); }
}

/* Stats Section */
.stats {
  padding: 4rem 0;
  background-color: rgba(24, 24, 27, 0.5);
}

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

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: #f97316;
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .stat-number {
    font-size: 3rem;
  }
}

.stat-label {
  color: #a1a1aa;
  font-size: 0.875rem;
}

/* Section Headers */
.section {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  color: #f97316;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 900;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3rem;
  }
}

.section-description {
  color: #a1a1aa;
  font-size: 1.125rem;
  max-width: 42rem;
  margin: 0 auto;
}

/* Modalidades */
.modalidades-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .modalidades-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .modalidades-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.modalidade-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  background-color: #18181b;
  transition: transform 0.3s;
}

.modalidade-card:hover {
  transform: scale(1.02);
}

.modalidade-image {
  aspect-ratio: 4/5;
  overflow: hidden;
}

.modalidade-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.modalidade-card:hover .modalidade-image img {
  transform: scale(1.1);
}

.modalidade-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #09090b, rgba(9, 9, 11, 0.6), transparent);
}

.modalidade-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
}

.modalidade-icon {
  width: 48px;
  height: 48px;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.modalidade-icon.orange { background: linear-gradient(to right, #f97316, #dc2626); }
.modalidade-icon.blue { background: linear-gradient(to right, #3b82f6, #06b6d4); }
.modalidade-icon.purple { background: linear-gradient(to right, #a855f7, #ec4899); }
.modalidade-icon.green { background: linear-gradient(to right, #22c55e, #10b981); }

.modalidade-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.modalidade-content p {
  color: #a1a1aa;
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Horários */
.horarios {
  background-color: rgba(24, 24, 27, 0.5);
}

.horarios-card {
  background-color: rgba(39, 39, 42, 0.5);
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid rgba(63, 63, 70, 0.5);
  max-width: 28rem;
  margin: 0 auto 3rem;
}

.horarios-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.horarios-icon {
  width: 48px;
  height: 48px;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.horarios-icon.orange {
  background-color: rgba(249, 115, 22, 0.2);
  color: #f97316;
}

.horarios-icon.green {
  background-color: rgba(34, 197, 94, 0.2);
  color: #22c55e;
}

.horarios-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.horarios-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(63, 63, 70, 0.5);
}

.horarios-item:last-child {
  border-bottom: none;
}

.horarios-item span:first-child {
  color: #a1a1aa;
}

.horarios-item span:last-child {
  font-weight: 600;
  color: #fb923c;
}

/* Tabela de Ginástica */
.ginastica-card {
  background-color: rgba(39, 39, 42, 0.5);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid rgba(63, 63, 70, 0.5);
  overflow-x: auto;
}

@media (min-width: 768px) {
  .ginastica-card {
    padding: 2rem;
  }
}

.ginastica-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
}

.ginastica-table thead tr {
  background: linear-gradient(to right, #16a34a, #22c55e);
  color: white;
}

.ginastica-table th {
  padding: 0.75rem 1rem;
  text-align: center;
  font-weight: 600;
}

.ginastica-table th:first-child {
  text-align: left;
  border-radius: 0.5rem 0 0 0.5rem;
}

.ginastica-table th:last-child {
  border-radius: 0 0.5rem 0.5rem 0;
}

.ginastica-table tbody tr:nth-child(even) {
  background-color: rgba(39, 39, 42, 0.3);
}

.ginastica-table tbody tr:nth-child(odd) {
  background-color: rgba(63, 63, 70, 0.2);
}

.ginastica-table td {
  padding: 0.75rem 1rem;
  text-align: center;
  font-size: 0.875rem;
}

.ginastica-table td:first-child {
  font-weight: 700;
  color: #fb923c;
  text-align: left;
}

.aula-badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 500;
}

.aula-badge.funcional { background-color: rgba(249, 115, 22, 0.2); color: #fdba74; }
.aula-badge.hidro { background-color: rgba(59, 130, 246, 0.2); color: #93c5fd; }
.aula-badge.spinning { background-color: rgba(234, 179, 8, 0.2); color: #fde047; }
.aula-badge.fitdance { background-color: rgba(236, 72, 153, 0.2); color: #f9a8d4; }
.aula-badge.fortflex { background-color: rgba(168, 85, 247, 0.2); color: #d8b4fe; }

.legenda {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
  font-size: 0.75rem;
}

.legenda-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.legenda-color {
  width: 12px;
  height: 12px;
  border-radius: 0.25rem;
}

.legenda-color.funcional { background-color: rgba(249, 115, 22, 0.4); }
.legenda-color.hidro { background-color: rgba(59, 130, 246, 0.4); }
.legenda-color.spinning { background-color: rgba(234, 179, 8, 0.4); }
.legenda-color.fitdance { background-color: rgba(236, 72, 153, 0.4); }
.legenda-color.fortflex { background-color: rgba(168, 85, 247, 0.4); }

/* Estrutura */
.estrutura-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .estrutura-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.estrutura-image {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  aspect-ratio: 1;
}

.estrutura-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.estrutura-image:hover img {
  transform: scale(1.1);
}

.estrutura-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9, 9, 11, 0.6), transparent);
}

.facilidades-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .facilidades-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.facilidade-item {
  background-color: rgba(24, 24, 27, 0.5);
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-align: center;
  border: 1px solid #27272a;
}

.facilidade-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.facilidade-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: #a1a1aa;;
}

/* CTA Section */
.cta {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #ea580c, #dc2626);
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1534438327276-14e5300c3a48?w=1920&q=80');
  background-size: cover;
  background-position: center;
  mix-blend-mode: overlay;
  opacity: 0.2;
}

.cta-content {
  position: relative;
  z-index: 10;
  max-width: 56rem;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
}

.cta h2 {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .cta h2 {
    font-size: 3rem;
  }
}

.cta p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.btn-white {
  background-color: white;
  color: #ea580c;
  padding: 1rem 2.5rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.btn-white:hover {
  transform: scale(1.05);
}

/* Contato Section */
.contato {
  background-color: rgba(24, 24, 27, 0.5);
}

.contato-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .contato-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contato-info h2 {
  font-size: 2.5rem;
  font-weight: 900;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .contato-info h2 {
    font-size: 3rem;
  }
}

.contato-info > p {
  color: #a1a1aa;
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.contato-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contato-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contato-item-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(249, 115, 22, 0.2);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #f97316;
  font-size: 1.25rem;
}

.contato-item h4 {
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.contato-item p {
  color: #a1a1aa;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.social-link {
  width: 48px;
  height: 48px;
  background-color: #27272a;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: background-color 0.3s;
  font-size: 1.25rem;
}

.social-link:hover {
  background-color: #f97316;
}

.mapa {
  border-radius: 1rem;
  overflow: hidden;
  min-height: 400px;
}

.mapa iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: none;
}

/* Footer */
.footer {
  padding: 2rem 0;
  border-top: 1px solid #27272a;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-logo img {
  height: 40px;
  width: auto;
}

.footer-copyright {
  color: #71717a;
  font-size: 0.875rem;
  text-align: center;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  color: #71717a;
  font-size: 1.25rem;
  transition: color 0.3s;
}

.footer-social a:hover {
  color: #f97316;
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  width: 64px;
  height: 64px;
  background-color: #22c55e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 15px -3px rgba(34, 197, 94, 0.3);
  transition: all 0.3s;
  color: white;
  text-decoration: none;
  font-size: 2rem;
}

.whatsapp-float:hover {
  background-color: #16a34a;
  transform: scale(1.1);
}

/* SVG Icons */
.icon {
  width: 24px;
  height: 24px;
  display: inline-block;
}
