.page {
  min-height: 100vh;
  background: var(--color-obsidian);
  color: var(--color-card-foreground);
  padding-top: 80px;
}

@media (max-width: 768px) {
  .page {
    padding-top: 70px;
  }
}

#header-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.hero-horarios {
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-obsidian) 100%
  );
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  padding: 2rem 0;
}

.hero-horarios::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle at 70% 30%,
    rgba(220, 38, 38, 0.08) 0%,
    transparent 50%
  );
  z-index: -1;
}

.hero-horarios .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

@media (max-width: 992px) {
  .hero-horarios {
    min-height: auto;
    padding: 5rem 0 4rem;
  }
}

@media (max-width: 768px) {
  .hero-horarios .container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero-horarios {
    min-height: auto;
    padding: 4rem 0 3rem;
  }
}

.hero-horarios__content {
  max-width: 600px;
}

.hero-horarios__title {
  font-size: clamp(3rem, 8vw, 4rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: #fff;
}

.hero-horarios__title span {
  display: block;
  background: linear-gradient(
    135deg,
    var(--color-crimson-light),
    var(--color-crimson-dark)
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: clamp(4rem, 10vw, 5rem);
  text-shadow: 0 2px 10px rgba(220, 38, 38, 0.3);
}

.hero-horarios__subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-horarios__info {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .hero-horarios__info {
    justify-content: center;
  }
}

.info-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(220, 38, 38, 0.1);
  border: 1px solid rgba(220, 38, 38, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  color: #fff;
  font-size: 0.9rem;
}

.info-badge svg {
  width: 18px;
  height: 18px;
  color: var(--color-crimson) !important;
  stroke: var(--color-crimson) !important;
}

/* ==============================
   ✅ LOGO REDONDA NO HERO
   (agora ocupando TODO o container)
   ============================== */

.hero-horarios__logo {
  position: relative;
  width: min(440px, 90%);
  aspect-ratio: 1 / 1;
  margin-left: auto;

  border-radius: 999px;
  overflow: hidden;

  border: 1px solid rgba(220, 38, 38, 0.25);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  background: rgba(255, 255, 255, 0.02);
}

.hero-horarios__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ✅ preenche todo o círculo */
  padding: 0;        /* ✅ sem borda interna */
  transition: transform 0.5s ease;
  display: block;
}

.hero-horarios__logo:hover img {
  transform: scale(1.03);
}

.hero-horarios__logo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(220, 38, 38, 0.2),
    transparent 55%
  );
  pointer-events: none;
}

@media (max-width: 768px) {
  .hero-horarios__logo {
    margin: 0 auto;
    width: min(360px, 86%);
  }
}

.horarios-section {
  padding: 5rem 0;
  background: var(--color-primary);
}

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

.section-label {
  display: inline-block;
  color: var(--color-crimson);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(2rem, 8vw, 4.5rem);
  color: #fff;
  margin-bottom: 1rem;
  font-family: var(--font-display);
  line-height: 1.1;
}

.section-title span {
  background: linear-gradient(
    135deg,
    var(--color-crimson-light),
    var(--color-crimson-dark)
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-description {
  color: rgba(255, 255, 255, 0.7);
  max-width: 40rem;
  margin: 0 auto;
  font-size: 1rem;
}

.tabela-empty {
  margin: -1rem auto 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}

.modalidade-filtros {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.modalidade-btn {
  background: transparent;
  border: 1px solid rgba(220, 38, 38, 0.3);
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: normal;
  text-align: center;
}

.modalidade-btn:hover {
  border-color: var(--color-crimson);
  background: rgba(220, 38, 38, 0.1);
}

.modalidade-btn.active {
  background: var(--color-crimson);
  border-color: var(--color-crimson);
  color: #fff;
}

.tabela-horarios {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(220, 38, 38, 0.1);
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 2rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tabela-header {
  display: grid;
  grid-template-columns: 120px repeat(7, 1fr);
  background: rgba(220, 38, 38, 0.1);
  border-bottom: 1px solid rgba(220, 38, 38, 0.2);
  min-width: max(900px, 100%);
}

.header-cell {
  padding: 1rem;
  color: #fff;
  font-weight: 600;
  text-align: center;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-right: 1px solid rgba(220, 38, 38, 0.1);
}

.header-cell:last-child {
  border-right: none;
}

.tabela-row {
  display: grid;
  grid-template-columns: 120px repeat(7, 1fr);
  border-bottom: 1px solid rgba(220, 38, 38, 0.1);
  transition: background 0.3s ease;
  min-width: max(900px, 100%);
}

.tabela-row:last-child {
  border-bottom: none;
}

.tabela-row:hover {
  background: rgba(220, 38, 38, 0.05);
}

.row-label {
  padding: 1rem;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(220, 38, 38, 0.1);
}

.horario {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--color-crimson);
  font-family: var(--font-body);
  line-height: 1.2;
}

.periodo {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.row-cell {
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(220, 38, 38, 0.1);
}

.row-cell:last-child {
  border-right: none;
}

.aula-card {
  width: 100%;
  padding: 0.5rem;
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease;
}

.aula-card.mma {
  background: rgba(220, 38, 38, 0.15);
  border: 1px solid var(--color-crimson);
}

.aula-card.jiu-jitsu {
  background: rgba(220, 38, 38, 0.1);
  border: 1px solid rgba(220, 38, 38, 0.3);
}

.aula-card.vazio {
  background: transparent;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  opacity: 0.5;
}

.aula-card:hover {
  transform: scale(1.02);
  box-shadow: 0 5px 15px rgba(220, 38, 38, 0.2);
}

.modalidade-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tabela-legenda {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.legenda-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.legenda-cor {
  width: 16px;
  height: 16px;
  border-radius: 4px;
}

.legenda-cor.mma {
  background: rgba(220, 38, 38, 0.15);
  border: 1px solid var(--color-crimson);
}

.legenda-cor.jiu-jitsu {
  background: rgba(220, 38, 38, 0.1);
  border: 1px solid rgba(220, 38, 38, 0.3);
}

.legenda-cor.luta-livre {
  background: transparent;
  border: 1px dashed rgba(255, 255, 255, 0.3);
}

.horarios-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

@media (max-width: 768px) {
  .horarios-info {
    grid-template-columns: 1fr;
  }
}

.info-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(220, 38, 38, 0.1);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-crimson);
  box-shadow: 0 10px 30px rgba(220, 38, 38, 0.15);
}

.info-card svg {
  width: 48px;
  height: 48px;
  color: var(--color-crimson) !important;
  stroke: var(--color-crimson) !important;
  margin-bottom: 1rem;
}

.info-card h3 {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
  letter-spacing: 1px;
  overflow-wrap: break-word;
}

.info-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.5;
}

.cta-horarios {
  padding: 4rem 0;
  background: linear-gradient(
    135deg,
    var(--color-crimson-dark),
    var(--color-crimson)
  );
  position: relative;
  overflow: hidden;
}

.cta-horarios::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle at 30% 50%,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 50%
  );
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  font-size: clamp(2rem, 5vw, 2.5rem);
  color: #fff;
  margin-bottom: 1rem;
  font-family: var(--font-display);
  letter-spacing: 2px;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 480px) {
  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .cta-buttons .btn-gold,
  .cta-buttons .btn-outline {
    width: 100%;
    max-width: 300px;
  }
}

.cta-buttons .btn-outline {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.cta-buttons .btn-outline:hover {
  background: #fff;
  color: var(--color-crimson);
}

@media (max-width: 1024px) {
  .tabela-horarios {
    overflow-x: auto;
  }

  .tabela-header,
  .tabela-row {
    min-width: 900px;
  }
}

@media (max-width: 768px) {
  .modalidade-filtros {
    gap: 0.5rem;
  }

  .modalidade-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .tabela-legenda {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
}

svg,
[data-lucide] {
  color: #ffffff !important;
  stroke: #ffffff !important;
  transition: all 0.3s ease;
}

.info-badge svg,
.info-card svg {
  color: var(--color-crimson) !important;
  stroke: var(--color-crimson) !important;
}
