:root {
  --bg: #181414;
  --bg-2: #221c1d;
  --surface: #ffffff;
  --surface-2: #f4f4f4;
  --primary: #00b45a;
  --secondary: #ed2346;
  --accent: #00b45a;
  --text: #f7f7f7;
  --text-dark: #171717;
  --muted: #b8b8b8;
  --muted-dark: #5f5f5f;
  --border: rgba(255, 255, 255, 0.14);
  --border-dark: rgba(0, 0, 0, 0.12);
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
  --radius: 24px;
  --radius-sm: 14px;
  --container: 1160px;
  --header-height: 82px;
  --font-display: "Bowlby One", system-ui, sans-serif;
  --font-body: "Bricolage Grotesque", Arial, sans-serif;
}

body.theme-kickboxing {
  --bg: #050505;
  --bg-2: #15110e;
  --primary: #f85f08;
  --secondary: #ff9e1a;
  --accent: #f85f08;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.section {
  padding: 92px 0;
}

.section-dark {
  background:
    radial-gradient(
      circle at 20% 20%,
      color-mix(in srgb, var(--primary) 18%, transparent),
      transparent 34%
    ),
    linear-gradient(135deg, var(--bg), var(--bg-2));
  color: var(--text);
}

.section-light {
  background: var(--surface);
  color: var(--text-dark);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
}

h1,
h2 {
  font-family: var(--font-display);
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(2.7rem, 8vw, 6.8rem);
  max-width: 940px;
}

h2 {
  font-size: clamp(2rem, 5vw, 4.2rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  line-height: 1.65;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--primary);
  color: #080808;
}

.btn-outline {
  border-color: currentColor;
  color: inherit;
  background: transparent;
}

/* Header */

.site-header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto 0;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(18px, calc((100vw - var(--container)) / 2));
  background: rgba(12, 10, 10, 0.74);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
  transition:
    height 180ms ease,
    background 180ms ease;
}

.site-header.is-scrolled {
  height: 68px;
  background: rgba(5, 5, 5, 0.92);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.brand span {
  color: var(--primary);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: 700;
  font-size: 0.95rem;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.86);
}

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

.nav-cta {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--primary);
  color: #080808 !important;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 40px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 3px;
  margin: 7px 0;
  background: var(--text);
  border-radius: 999px;
}

/* Hero */

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: calc(var(--header-height) + 70px) 0 90px;
  overflow: hidden;
}

.hero-bg-mark {
  position: absolute;
  right: -5vw;
  bottom: 0;
  font-family: var(--font-display);
  font-size: clamp(8rem, 22vw, 22rem);
  line-height: 0.8;
  color: rgba(255, 255, 255, 0.035);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 46px;
  position: relative;
}

.hero-copy p:not(.eyebrow) {
  max-width: 740px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.13rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: auto -20% -20% auto;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: var(--secondary);
  filter: blur(70px);
  opacity: 0.32;
}

.hero-card img {
  width: 100%;
  aspect-ratio: 1 / 0.78;
  object-fit: cover;
  padding: 0;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  cursor: pointer;
  transition:
    transform 180ms ease,
    filter 180ms ease;
}

.hero-card img:hover {
  transform: scale(1.015);
  filter: brightness(1.08);
}

.hero-card-info {
  margin-top: 18px;
  display: grid;
  gap: 6px;
}

.hero-card-info span {
  color: var(--muted);
  font-weight: 700;
}

.hero-card-info strong {
  font-size: 1.35rem;
}

/* Common sections */

.section-heading {
  max-width: 780px;
  margin-bottom: 36px;
}

.section-heading p:not(.eyebrow),
.section-copy p {
  color: inherit;
  opacity: 0.75;
  font-size: 1.05rem;
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 42px;
  align-items: center;
}

.section-copy {
  max-width: 620px;
}

.feature-grid,
.cards-grid,
.pricing-grid,
.testimonials-grid {
  display: grid;
  gap: 20px;
}

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

.feature-card,
.price-card,
.testimonial-card,
.person-card,
.modality-card {
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border-dark);
  background: var(--surface);
  color: var(--text-dark);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.08);
}

.section-dark .feature-card,
.section-dark .price-card,
.section-dark .testimonial-card,
.section-dark .person-card,
.section-dark .modality-card {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  border-color: var(--border);
}

.feature-card span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--primary);
  color: #050505;
  font-weight: 900;
}

.feature-card p,
.price-card p,
.testimonial-card p,
.person-card p,
.modality-card p {
  color: inherit;
  opacity: 0.72;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.audience-grid article {
  min-height: 94px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 22px;
  border-radius: var(--radius-sm);
  font-weight: 900;
  background: color-mix(in srgb, var(--primary) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--primary) 40%, transparent);
}

/* Modalities */

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

.modality-card {
  padding: 0;
  overflow: hidden;
}

.modality-card img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  padding: 26px;
  background: linear-gradient(135deg, #1c1718, #080808);
}

.modality-card div {
  padding: 24px;
}

.modality-card span {
  color: var(--primary);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.modality-card a {
  display: inline-flex;
  margin-top: 10px;
  color: var(--primary);
  font-weight: 900;
}

/* Schedule */

.schedule-wrapper {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  background: rgba(255, 255, 255, 0.06);
  overflow-x: auto;
}

.schedule-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.schedule-filter {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
}

.schedule-filter.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #050505;
}

.schedule-table {
  min-width: 720px;
  display: grid;
  gap: 8px;
}

.schedule-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.6fr;
  gap: 14px;
  padding: 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.075);
  align-items: center;
}

.theme-kickboxing .schedule-row {
  grid-template-columns: 1fr 1fr 1.6fr;
}

.schedule-head {
  background: var(--primary);
  color: #050505;
  font-weight: 900;
}

.schedule-row.is-hidden {
  display: none;
}

/* People, pricing, gallery */

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

.person-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;

  object-fit: cover;
  object-position: center 20%;

  padding: 0;
  background: #171717;
  border-radius: 18px;
  margin-bottom: 18px;
  border: 1px solid rgba(36, 32, 32, 0);
}

.person-card img.sasha-foto {
  object-position: 50% 35%;
}
.person-card img.gabi-foto {
  object-position: 50% 15%;
}
.person-card img.lucas-foto {
  object-position: 50% 7%;
}
.person-card img.fernando-foto {
  object-position: center 35%;
}
.person-card img.wagner-foto {
  object-position: 50% 10%;
}

.person-card span {
  color: var(--primary);
  font-weight: 900;
}

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

.price-card {
  display: grid;
  gap: 12px;
}

.price-card strong {
  color: var(--primary);
  font-size: 2rem;
}

#planos .alteracao-preco.featured {
  border-color: var(--primary);
}

.image-stack {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 18px;
  align-items: end;
}

.image-stack img,
.image-card img {
  width: 100%;
  aspect-ratio: 1 / 0.78;
  object-fit: cover;
  padding: 0;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  cursor: pointer;
  transition:
    transform 180ms ease,
    filter 180ms ease;
}

.image-stack img:hover,
.image-card img:hover {
  transform: scale(1.015);
}

.image-stack img:nth-child(2) {
  margin-bottom: -36px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1 / 0.78;
  object-fit: cover;
  padding: 0;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  cursor: pointer;
  transition:
    transform 180ms ease,
    filter 180ms ease;
}

.gallery-grid img:hover {
  transform: scale(1.015);
  filter: brightness(1.08);
}

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

.testimonial-card p {
  font-size: 1.1rem;
  font-weight: 600;
}

.testimonial-card strong,
.testimonial-card span {
  display: block;
}

.testimonial-card span {
  color: var(--primary);
  margin-top: 4px;
}

/* Contact */

.contact-section a:not(.btn) {
  color: var(--primary);
  font-weight: 900;
}

.map-placeholder {
  min-height: 360px;
  border: 1px dashed currentColor;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 30px;
  opacity: 0.9;
}

.map-placeholder span {
  display: block;
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--primary);
}

/* Footer and WhatsApp */

.site-footer {
  background: #050505;
  border-top: 1px solid var(--border);
  padding: 34px 0;
  color: var(--text);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-footer img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.site-footer p {
  color: var(--muted);
  margin-bottom: 0;
}

.site-footer a {
  display: inline-flex;
  margin-left: 18px;
  color: var(--muted);
  font-weight: 700;
}

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

.whatsapp-float {
  position: fixed;
  z-index: 60;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  min-width: 0;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  font-size: 0;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
}

.whatsapp-float::before {
  content: "";
  width: 58px;
  height: 58px;
  display: block;
  background-image: url("assets/img/whatsapp.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* Reveal animation */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 600ms ease,
    transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Logo específico da página Vivas Fight.
   Não afeta o logo da KEÁ na página principal. */
.theme-kickboxing .brand-vivas img {
  width: 90px;
  height: 64px;
  object-fit: contain;
}

.coming-soon {
  display: inline-flex;
  margin-top: 10px;
  color: var(--muted-dark);
  font-weight: 900;
  cursor: default;
}

.section-dark .coming-soon {
  color: var(--muted);
}

/* Logo no footer vivas fight*/
#footer-vf {
  width: 100px;
  height: 100px;
}

/* Responsive */

@media (max-width: 1024px) {
  .hero-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .modalities-grid,
  .cards-grid,
  .pricing-grid,
  .testimonials-grid,
  .gallery-grid,
  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  #planos .alteracao-preco.featured {
    transform: none;
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    inset: var(--header-height) 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(5, 5, 5, 0.96);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 14px;
    border-radius: 12px;
  }

  .nav-cta {
    text-align: center;
    margin-top: 8px;
  }

  .hero {
    min-height: auto;
  }
}

@media (max-width: 680px) {
  .section {
    padding: 70px 0;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .feature-grid,
  .modalities-grid,
  .cards-grid,
  .pricing-grid,
  .testimonials-grid,
  .gallery-grid,
  .audience-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer a {
    margin: 10px 16px 0 0;
  }

  .image-stack {
    grid-template-columns: 1fr;
  }

  .image-stack img:nth-child(2) {
    margin-bottom: 0;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    min-width: 116px;
    height: 50px;
    font-size: 0.92rem;
  }
}

/* ===============================
   Atualizações: equipe, mapa e planos
   =============================== */

.map-frame {
  min-height: 360px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.map-frame iframe {
  display: block;
  width: 100%;
  min-height: 360px;
  border: 0;
}

.payment-note {
  margin: 26px 0 0;
  color: var(--muted);
  font-weight: 700;
}

/* Carrossel da equipe técnica */

.team-carousel {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  align-items: center;
  gap: 14px;
}

.carousel-viewport {
  overflow: hidden;
  padding: 8px 2px 24px;
}

.carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 420ms ease;
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 0;
}

.carousel-btn {
  width: 48px;
  height: 48px;
  border: 1px solid var(--border-dark);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text-dark);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.carousel-btn:hover {
  transform: scale(1.05);
  background: var(--primary);
}

.carousel-dots {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.carousel-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.22);
  cursor: pointer;
}

.carousel-dot.active {
  width: 24px;
  border-radius: 999px;
  background: var(--primary);
}

@media (max-width: 1024px) {
  .carousel-slide {
    flex-basis: calc((100% - 24px) / 2);
  }
}

@media (max-width: 680px) {
  .team-carousel {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    gap: 8px;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1.6rem;
  }

  .carousel-slide {
    flex-basis: 100%;
  }
}

/* Filtros combinados da grade semanal */
.schedule-filters {
  display: grid;
  gap: 18px;
  margin-bottom: 24px;
}

.schedule-filter-group {
  display: grid;
  gap: 10px;
}

.filter-label {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.schedule-filter-group .schedule-tabs {
  margin-bottom: 0;
}

/* ==================================================
   Ajustes mobile: grade em cards e WhatsApp no footer
   ================================================== */

@media (max-width: 680px) {
  /* Remove a necessidade de rolagem lateral na grade */
  .schedule-wrapper {
    overflow: visible;
    padding: 16px;
  }

  .schedule-table {
    min-width: 0;
    width: 100%;
    gap: 12px;
  }

  .schedule-head {
    display: none;
  }

  .schedule-row {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.085);
  }

  .schedule-row span {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    align-items: baseline;
    gap: 10px;
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .schedule-row span::before {
    color: var(--primary);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .schedule-row span:nth-child(1)::before {
    content: "Modalidade";
  }

  .schedule-row span:nth-child(2)::before {
    content: "Turma";
  }

  .schedule-row span:nth-child(3)::before {
    content: "Horário";
  }

  .schedule-row span:nth-child(4)::before {
    content: "Dias";
  }

  .theme-kickboxing .schedule-row span:nth-child(1)::before {
    content: "Turma";
  }

  .theme-kickboxing .schedule-row span:nth-child(2)::before {
    content: "Horário";
  }

  .theme-kickboxing .schedule-row span:nth-child(3)::before {
    content: "Dias";
  }

  /* Evita que o botão fixo cubra o footer */
  .site-footer {
    padding-bottom: 50px;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    min-width: auto;
    width: 54px;
    height: 54px;
    padding: 0;
    border-radius: 50%;
    font-size: 0;
  }

  .whatsapp-float::before {
    content: "";
    width: 54px;
    height: 54px;
    display: block;
    background-image: url("assets/img/whatsapp.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
  }

  .footer-grid {
    padding-right: 64px;
  }
}

/* Correções específicas da página de Kickboxing */
.theme-kickboxing #sobre .split {
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
}

.theme-kickboxing #sobre .section-copy {
  min-width: 0;
  max-width: none;
}

.theme-kickboxing #sobre h2 {
  font-size: clamp(2.5rem, 4.4vw, 4.9rem);
  overflow-wrap: anywhere;
  word-break: normal;
}

.theme-kickboxing #sobre .image-card {
  min-width: 0;
}

@media (max-width: 1024px) {
  .theme-kickboxing #sobre .split {
    grid-template-columns: 1fr;
  }

  .theme-kickboxing #sobre h2 {
    font-size: clamp(2.2rem, 8vw, 4rem);
  }
}

/* Vídeos: hero e depoimentos */
.hero-card-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: contain;
  border-radius: 18px;
  background: #111;
}

#depoimentos .testimonials-grid {
  grid-template-columns: repeat(4, 1fr);
  align-items: start;
}

.video-testimonial-card {
  padding: 18px;
}

.testimonial-video {
  width: 100%;
  aspect-ratio: 9 / 16;
  display: block;
  border-radius: 16px;
  background: #111;
  margin-bottom: 18px;
}

@media (max-width: 1200px) {
  #depoimentos .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  #depoimentos .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .video-testimonial-card {
    max-width: 420px;
    margin-inline: auto;
  }
}

.video-testimonial-card p {
  margin-top: 0;
}

@media (min-width: 1025px) {
  #depoimentos .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .hero-card-video,
  .testimonial-video {
    border-radius: 14px;
  }
}

/* Teste canvas */
.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;

  width: 100%;
  height: 100%;

  opacity: 0.8;
  pointer-events: none;
}

.hero-bg-mark {
  z-index: 1;
}

.hero-grid {
  z-index: 2;
}

@media (max-width: 768px) {
  .hero-canvas {
    display: none;
  }
}
.hero {
  position: relative;
  overflow: hidden;
}

/* Galeria com scroll lateral no celular */
@media (max-width: 680px) {
  .gallery-grid {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    gap: 14px;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .gallery-grid::-webkit-scrollbar {
    display: none;
  }

  .gallery-grid img {
    flex: 0 0 82%;
    width: auto;
    aspect-ratio: 1 / 0.78;
    object-fit: cover;
    scroll-snap-align: start;
    /* object-fit: contain; se as imagens tiverem estranhas dar uma trocada pra ver (qualquer coisa volta pra cover) */
  }
}

/* Cards com scroll lateral no mobile */
@media (max-width: 680px) {
  .pricing-grid,
  .modalities-grid,
  #depoimentos .testimonials-grid {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    gap: 14px;
    padding-bottom: 14px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .pricing-grid::-webkit-scrollbar,
  .modalities-grid::-webkit-scrollbar,
  #depoimentos .testimonials-grid::-webkit-scrollbar {
    display: none;
  }

  .pricing-grid .price-card,
  .pricing-grid .alteracao-preco,
  .modalities-grid .modality-card {
    flex: 0 0 82%;
    scroll-snap-align: start;
  }

  #depoimentos .testimonial-card {
    flex: 0 0 92%;
    scroll-snap-align: start;
  }
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.88);
}

.lightbox.is-open {
  display: grid;
}

.lightbox-image {
  max-width: min(100%, 1100px);
  max-height: 86vh;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.55);
}

.lightbox-close {
  position: fixed;
  top: 22px;
  right: 22px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--primary);
  color: #050505;
  font-size: 2rem;
  font-weight: 900;
  cursor: pointer;
  line-height: 1;
}

@media (max-width: 680px) {
  .lightbox {
    padding: 14px;
  }

  .lightbox-image {
    max-height: 82vh;
    border-radius: 14px;
  }

  .lightbox-close {
    top: 14px;
    right: 14px;
  }
}

.foto-topo {
  object-position: 1% 35%;
}

.expandable-image {
  object-position: 10% 28%;
}

/* Correção mobile da grade de horários na página Kickboxing */
@media (max-width: 680px) {
  .theme-kickboxing .schedule-table {
    min-width: 0;
    width: 100%;
    display: grid;
    gap: 12px;
  }

  .theme-kickboxing .schedule-head {
    display: none !important;
  }

  .theme-kickboxing .schedule-row {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 10px;
    padding: 18px;
    border-radius: 18px;
  }

  .theme-kickboxing .schedule-row span {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    align-items: baseline;
    gap: 10px;
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .theme-kickboxing .schedule-row span:nth-child(1)::before {
    content: "Turma";
  }

  .theme-kickboxing .schedule-row span:nth-child(2)::before {
    content: "Horário";
  }

  .theme-kickboxing .schedule-row span:nth-child(3)::before {
    content: "Dias";
  }

  .theme-kickboxing .schedule-row span::before {
    color: var(--primary);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }
}

/* Garante que filtros escondam linhas também no mobile */
.schedule-row.is-hidden,
.theme-kickboxing .schedule-row.is-hidden {
  display: none !important;
}

/* Remove o cabeçalho da grade no mobile */
@media (max-width: 680px) {
  .schedule-table .schedule-row.schedule-head {
    display: none !important;
  }
}

/* Primeira experiência: cards circulares no desktop */
@media (min-width: 861px) {
  .experience-orbs {
    max-width: 620px;
    margin-left: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    align-items: center;
  }

  .experience-orbs .feature-card {
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .experience-orbs .feature-card span {
    margin: 0 auto 14px;
  }

  .experience-orbs .feature-card h3 {
    font-size: 1.15rem;
  }

  .experience-orbs .feature-card p {
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.45;
  }
}
/* tratar a area dos professores */
.team-carousel .person-card,
.theme-kickboxing #professores .person-card {
  box-shadow: 0 8px 8px rgba(31, 28, 28, 0.623);
}

.carousel-viewport {
  overflow: hidden;
  padding: 8px 8px 32px;
  background: transparent;
}

/* Nova parte de planos se lucas e lo quiserem */
#planos .pricing-grid {
  align-items: start;
}

#planos .alteracao-preco {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  padding: 24px 28px;
  min-height: 193px;

  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.03)
  );
  color: #ffffff;

  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.05);

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

#planos .alteracao-preco strong {
  display: none;
}

#planos .alteracao-preco h3 {
  font-size: 1.35rem;
  line-height: 1.1;
  margin: 0;
}

#planos .alteracao-preco p {
  font-size: 1rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}

#planos .alteracao-preco .btn {
  width: 100%;
  margin-top: 12px;
  padding: 13px 20px;
  font-size: 0.95rem;
  border-radius: 999px;
}

@media (max-width: 680px) {
  .section-heading {
    margin-bottom: 28px;
  }

  .section-heading h2,
  .section-copy h2 {
    font-size: clamp(2rem, 9vw, 2.55rem);
    line-height: 1;
    letter-spacing: -0.01em;

    text-wrap: balance;
  }

  .section-heading p:not(.eyebrow),
  .section-copy p {
    font-size: 1rem;
    line-height: 1.5;
    max-width: 34ch;

    text-wrap: pretty;
  }

  .eyebrow {
    font-size: 0.72rem;
    line-height: 1.3;
    margin-bottom: 10px;
    letter-spacing: 0.1em;
  }
}
