/* ==========================================================================
   Garage Fight Muaythai Santos - Master Stylesheet
   Aura Web Framework v2 (Cinematic Layout with Pure CSS Animations)
   ========================================================================== */

/* 1. CSS Variables & Reset */
:root {
  /* Colors */
  --bg-dark: #0B0B0E;
  --bg-card: #13131A;
  --bg-card-hover: #1A1A24;
  --bg-darker: #070709;
  
  --primary: #E63946;
  --primary-hover: #D62828;
  --primary-glow: rgba(230, 57, 70, 0.35);
  
  --accent-gold: #FFB703;
  --whatsapp-green: #25D366;
  --whatsapp-hover: #1EBE5B;
  
  --text-main: #F1FAEE;
  --text-muted: #A0A0B2;
  --text-dim: #6C6C80;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-active: rgba(230, 57, 70, 0.5);
  
  /* Fonts */
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  /* Spacing & Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* 2. Utility & Layout Classes */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.py-section {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.bg-darker {
  background-color: var(--bg-darker);
}

.grid {
  display: grid;
  gap: 1.5rem;
}

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

.grid-3 {
  grid-template-columns: repeat(1, 1fr);
}

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

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

.items-center { align-items: center; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-2xl { max-width: 42rem; }

.mt-md { margin-top: 1rem; }
.mt-lg { margin-top: 2rem; }
.mt-xl { margin-top: 3.5rem; }
.mb-md { margin-bottom: 1rem; }
.gap-md { gap: 1rem; }
.gap-lg { gap: 2rem; }
.gap-xl { gap: 3rem; }

/* Section Typography */
.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.75rem;
  padding: 0.25rem 0.75rem;
  background: rgba(230, 57, 70, 0.1);
  border: 1px solid rgba(230, 57, 70, 0.25);
  border-radius: var(--radius-sm);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-main);
  margin-bottom: 1rem;
}

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

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.lead {
  font-size: 1.2rem;
  color: var(--text-main);
  font-weight: 500;
}

/* 3. Buttons & Interactivity */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-normal);
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-lg {
  padding: 1.1rem 2.25rem;
  font-size: 1.1rem;
}

.btn-xl {
  padding: 1.25rem 2.75rem;
  font-size: 1.25rem;
}

.btn-primary {
  background: var(--primary);
  color: #FFF;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--primary-glow);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #FFF;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: var(--whatsapp-green);
  color: #FFF;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

/* 4. Header & Navigation (Regra 3 & 4) */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all var(--transition-normal);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(11, 11, 14, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.75rem 0;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.7);
  border-bottom: 1px solid rgba(230, 57, 70, 0.2);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-main);
}

.logo-img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-active);
}

.brand-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.1;
  display: flex;
  flex-direction: column;
}

.brand-text small {
  font-size: 0.65rem;
  color: var(--primary);
  letter-spacing: 2px;
  font-weight: 500;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
  position: relative;
  padding: 0.25rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

/* Mobile Nav Styles */
@media (max-width: 991px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: var(--bg-card);
    flex-direction: column;
    justify-content: center;
    padding: 3rem 2rem;
    gap: 2.5rem;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
    transition: right var(--transition-normal);
    border-left: 1px solid var(--border-subtle);
  }

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

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 1.25rem;
  }

  .nav-link {
    font-size: 1.2rem;
  }

  .nav-cta {
    width: 100%;
  }
}

/* 5. HERO SECTION (Regra 2) */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-image: url('../images/placeholder-hero.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: 8rem;
  padding-bottom: 5rem;
}

#hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

.hero-section.video-failed #hero-video {
  display: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 11, 14, 0.75) 0%, rgba(11, 11, 14, 0.88) 50%, rgba(11, 11, 14, 0.98) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(230, 57, 70, 0.15);
  border: 1px solid rgba(230, 57, 70, 0.35);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #FFF;
  margin-bottom: 1.5rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { opacity: 0.5; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.2); }
  100% { opacity: 0.5; transform: scale(0.9); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-main);
  margin-bottom: 1.25rem;
  text-shadow: 0 4px 20px rgba(0,0,0,0.8);
}

.hero-title .highlight {
  color: var(--primary);
  display: inline-block;
  position: relative;
}

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

@media (min-width: 1024px) {
  .hero-title { font-size: 5.5rem; }
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 2rem auto;
  line-height: 1.6;
}

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

.hero-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  margin-bottom: 2.5rem;
}

.stars {
  color: var(--accent-gold);
  font-size: 0.95rem;
  display: flex;
  gap: 0.15rem;
}

.rating-text {
  font-size: 0.9rem;
  color: var(--text-main);
}

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

.scroll-down-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--text-muted);
  font-size: 1.25rem;
  text-decoration: none;
  animation: bounce 2s infinite;
  transition: color var(--transition-fast);
}

.scroll-down-indicator:hover {
  color: var(--primary);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
  40% { transform: translate(-50%, -10px); }
  60% { transform: translate(-50%, -5px); }
}

/* 6. SOBRE SECTION */
.sobre-image-wrapper {
  position: relative;
}

.image-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.image-frame img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.image-frame:hover img {
  transform: scale(1.03);
}

.experience-badge {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  background: rgba(19, 19, 26, 0.92);
  backdrop-filter: blur(10px);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-active);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.experience-badge .number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.experience-badge .label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--bg-card);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  transition: border-color var(--transition-fast);
}

.feature-item:hover {
  border-color: var(--border-active);
}

.feature-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  background: rgba(230, 57, 70, 0.12);
  border-radius: var(--radius-sm);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.feature-item h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.feature-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* 7. SERVIÇOS SECTION (6 Cards) */
.servico-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.servico-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-active);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 20px var(--primary-glow);
}

.servico-img-box {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.servico-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.servico-card:hover .servico-img {
  transform: scale(1.08);
}

.servico-num {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(11, 11, 14, 0.85);
  backdrop-filter: blur(6px);
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(230, 57, 70, 0.3);
}

.servico-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.servico-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.servico-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.servico-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: gap var(--transition-fast);
}

.servico-link:hover {
  gap: 0.8rem;
}

/* 8. DEPOIMENTOS SECTION */
.depoimento-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
}

.depoimento-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
}

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

.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
}

.author-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  text-transform: uppercase;
  color: var(--text-main);
}

.author-meta {
  font-size: 0.75rem;
  color: var(--text-dim);
  display: block;
}

.rating-stars {
  color: var(--accent-gold);
  font-size: 0.85rem;
  display: flex;
  gap: 0.2rem;
  margin-bottom: 1rem;
}

.depoimento-text {
  font-size: 1rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.google-badge {
  font-size: 0.75rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* 9. LOCALIZAÇÃO SECTION */
.info-box-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-box-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.info-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: rgba(230, 57, 70, 0.15);
  border-radius: var(--radius-sm);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  border: 1px solid rgba(230, 57, 70, 0.3);
}

.info-box-item h5 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
  letter-spacing: 0.5px;
}

.info-box-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.phone-link {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.phone-link:hover {
  color: var(--primary);
}

.horarios-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

.horarios-list li {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
  padding-bottom: 0.25rem;
  gap: 1rem;
}

.badge-closed {
  color: var(--primary);
  font-weight: 600;
}

.map-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* 10. CONTATO / CTA BANNER */
.cta-banner {
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(230, 57, 70, 0.15) 100%);
  border-radius: var(--radius-lg);
  padding: 4rem 2rem;
  border: 1px solid var(--border-active);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.cta-badge {
  display: inline-block;
  font-family: var(--font-heading);
  color: var(--primary);
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

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

.cta-subtitle {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
}

/* 11. FOOTER SECTION */
.footer-section {
  background: var(--bg-darker);
  border-top: 1px solid var(--border-subtle);
  padding-top: 4rem;
  padding-bottom: 2rem;
}

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

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

.footer-brand .footer-about {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 320px;
}

.footer-links h5, .footer-contact h5 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-contact p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.footer-contact i {
  color: var(--primary);
  margin-top: 0.2rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* 12. PURE CSS ANIMATION CLASSES (Regra 3) */
.fade-in, .js-scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.fade-in.visible, .js-scroll-reveal.js-visible {
  opacity: 1;
  transform: translateY(0);
}
