:root {
  --gold: #f5b700;
  --gold-dark: #d99f00;
  --black: #0d0d0d;
  --ink: #161616;
  --ink-2: #1f1f1f;
  --text: #1a1a1a;
  --muted: #5d5d5d;
  --muted-dark: #a3a3a3;
  --line: #e6e3dc;
  --bg: #faf9f6;
  --white: #fff;

  /* cores das turmas (mesmas da grade oficial) */
  --c-baby: #e3121b;
  --c-little: #8a2be2;
  --c-warrior: #1f5a1f;
  --c-youth: #b0121b;
  --c-ini: #1f3cff;
  --c-inter: #0b1a8c;
  --c-avan: #7a0f0f;
  --c-nogi: #333;
  --c-livre: #6b6b6b;

  --radius: 14px;
  --header-h: 72px;
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: .01em;
  text-transform: uppercase;
  margin: 0 0 .5em;
}
h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); }

.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
  font-size: .85rem;
  color: var(--gold-dark);
  margin: 0 0 .75rem;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.4rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s, background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--lg { padding: 1rem 1.8rem; font-size: 1rem; }
.btn--gold { background: var(--gold); color: var(--black); }
.btn--gold:hover { background: #ffc61a; }
.btn--ghost { border-color: rgba(255,255,255,.6); color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--black); }
.btn--outline { border-color: var(--gold); color: var(--gold); }
.btn--outline:hover { background: var(--gold); color: var(--black); }
.icon { width: 1.3em; height: 1.3em; fill: currentColor; }

/* ---------- Topbar / Header ---------- */
.topbar {
  background: var(--gold);
  text-align: center;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .45rem 16px;
}
.topbar a { text-decoration: none; color: var(--black); }
@media (max-width: 420px) { .topbar { font-size: .72rem; letter-spacing: .06em; } }

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13,13,13,.92);
  backdrop-filter: blur(10px);
  color: var(--white);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }

.logo { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--white); }
.logo__mark { width: auto; height: 42px; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__text strong { font-family: var(--font-display); font-size: 1.45rem; letter-spacing: .08em; }
.logo__text small { font-size: .68rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a:not(.btn) {
  text-decoration: none;
  font-size: .92rem;
  font-weight: 500;
  color: rgba(255,255,255,.82);
  transition: color .2s;
}
.nav a:not(.btn):hover { color: var(--gold); }
.nav__cta { padding: .6rem 1.2rem; }

.menu-toggle { display: none; background: none; border: 0; padding: 10px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; transition: transform .25s, opacity .25s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--black);
    padding: .5rem 16px 1.5rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
  .nav a:not(.btn) { padding: .9rem 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 1rem; }
  .nav__cta { margin-top: 1rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h) - 30px);
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  background: var(--black);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  filter: grayscale(.2);
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,10,10,.92) 0%, rgba(10,10,10,.75) 45%, rgba(10,10,10,.35) 100%);
}
.hero__content { position: relative; padding-block: 5rem; }
.hero .eyebrow { color: var(--gold); }
.hero h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); max-width: 14ch; }
.hero h1 span { color: var(--gold); display: block; }
.hero__lead { max-width: 52ch; font-size: 1.1rem; color: rgba(255,255,255,.85); margin: 0 0 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__facts {
  list-style: none;
  padding: 0;
  margin: 3.5rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
}
.hero__facts li { display: flex; flex-direction: column; border-left: 3px solid var(--gold); padding-left: 1rem; }
.hero__facts strong { font-family: var(--font-display); font-size: 2.4rem; line-height: 1; }
.hero__facts span { font-size: .85rem; color: rgba(255,255,255,.7); max-width: 16ch; }

/* ---------- Seções ---------- */
.section { padding-block: clamp(4rem, 9vw, 7rem); }
.section--dark { background: var(--ink); color: var(--white); }
.section--dark .eyebrow { color: var(--gold); }
.section__head { max-width: 720px; margin-bottom: 3rem; }
.section__sub { color: var(--muted); margin: 0; }

/* Unidade */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split__text p { color: var(--muted); }
.split__media img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; width: 100%; box-shadow: 0 30px 60px -30px rgba(0,0,0,.35); }
.checklist { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .75rem; }
.checklist li { position: relative; padding-left: 2rem; font-weight: 500; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .3em;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.5'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/65% no-repeat;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 12px;
  margin-top: 4rem;
}
.gallery__item { padding: 0; border: 0; border-radius: 10px; overflow: hidden; background: #ddd; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery__item:hover img { transform: scale(1.06); }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
}

/* Programas */
.group-title {
  font-size: 1.3rem;
  color: var(--gold);
  letter-spacing: .08em;
  margin: 0 0 1.2rem;
}
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 3rem;
}
.cards:last-child { margin-bottom: 0; }
.card {
  background: var(--ink-2);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  border-top: 4px solid var(--accent);
  transition: transform .2s, background .2s;
}
.card:hover { transform: translateY(-4px); background: #262626; }
.card__age {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-dark);
}
.card h4 { font-size: 1.8rem; margin: .3rem 0 .6rem; }
.card p { margin: 0; color: rgba(255,255,255,.72); font-size: .94rem; }

@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cards { grid-template-columns: 1fr; } }

/* ---------- Horários ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.chip {
  border: 1.5px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: .5rem 1.1rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
  transition: all .2s;
}
.chip:hover { border-color: var(--black); }
.chip.is-active { background: var(--black); border-color: var(--black); color: var(--gold); }

.days { display: none; gap: .4rem; overflow-x: auto; padding-bottom: .4rem; margin-bottom: 1rem; scrollbar-width: none; }
.days::-webkit-scrollbar { display: none; }
.day-tab {
  flex: 1 0 auto;
  min-width: 64px;
  border: 0;
  border-radius: 10px;
  padding: .6rem .8rem;
  background: var(--white);
  border: 1.5px solid var(--line);
  font-weight: 700;
  font-size: .9rem;
}
.day-tab.is-active { background: var(--gold); border-color: var(--gold); }
.day-tab small { display: block; font-size: .65rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }

.schedule-list { display: none; }
.slot {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.slot__time { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; line-height: 1.1; }
.slot__classes { display: flex; flex-wrap: wrap; gap: .4rem; align-content: center; }
.empty { padding: 2rem 0; color: var(--muted); text-align: center; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .82rem;
  font-weight: 600;
  padding: .3rem .65rem;
  border-radius: 6px;
  background: color-mix(in srgb, var(--tag) 10%, white);
  color: var(--tag);
  white-space: nowrap;
}
.tag::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--tag); }

.schedule-table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); }
.schedule-table { width: 100%; border-collapse: collapse; min-width: 900px; }
.schedule-table th, .schedule-table td { padding: .8rem .6rem; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.schedule-table thead th {
  background: var(--black);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.schedule-table thead th.is-today { background: var(--gold); color: var(--black); }
.schedule-table tbody th { font-family: var(--font-display); font-size: 1.25rem; background: #fdf6df; width: 90px; }
.schedule-table td + td, .schedule-table th + td { border-left: 1px solid var(--line); }
.schedule-table td .tag { margin: .15rem; }
.schedule-table td.is-today { background: #fffbea; }
.schedule-table tr.is-hidden { display: none; }
.dash { color: #ccc; }

.schedule-note { margin-top: 1rem; font-size: .9rem; color: var(--muted); }

@media (max-width: 900px) {
  .days { display: flex; }
  .schedule-list { display: block; }
  .schedule-table-wrap { display: none; }
}

/* ---------- Planos ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--ink-2);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 2.2rem 1.8rem;
}
.plan--featured { border: 2px solid var(--gold); background: linear-gradient(180deg, #2a2310 0%, var(--ink-2) 55%); }
.plan__badge {
  position: absolute;
  top: -14px;
  left: 1.8rem;
  background: var(--gold);
  color: var(--black);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .3rem .8rem;
  border-radius: 999px;
}
.plan h3 { font-size: 1.5rem; color: var(--gold); margin-bottom: 1rem; }
.plan__price { font-family: var(--font-display); font-weight: 800; font-size: 2.8rem; line-height: 1; margin: 0; }
.plan__price small { font-size: 1rem; font-weight: 600; color: var(--muted-dark); }
.plan__desc { color: var(--muted-dark); font-size: .9rem; margin: .5rem 0 1.4rem; }
.plan ul { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: .6rem; flex: 1; }
.plan li { padding-left: 1.4rem; position: relative; font-size: .94rem; color: rgba(255,255,255,.85); }
.plan li::before { content: "—"; position: absolute; left: 0; color: var(--gold); }

@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 480px; } }

/* ---------- Contato ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: stretch; }
.contact__info > p { color: var(--muted); margin-bottom: 1.8rem; }
.contact__list { margin: 2.5rem 0 0; display: grid; gap: 1.3rem; }
.contact__list dt { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dark); }
.contact__list dd { margin: .2rem 0 0; font-weight: 500; }
.contact__list a { cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.contact__map { position: relative; min-height: 420px; border-radius: var(--radius); overflow: hidden; background: #e8e8e8; }
.contact__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.contact__maplink {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: var(--black);
  color: var(--gold);
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  padding: .5rem .9rem;
  border-radius: 999px;
}

@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } .contact__map { min-height: 320px; } }

/* ---------- Footer ---------- */
.footer { background: var(--black); color: rgba(255,255,255,.6); padding: 3rem 0 6rem; font-size: .88rem; }
.footer__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .5rem; }
.footer p { margin: 0; }
.logo-footer { display: flex; flex-direction: column; align-items: center; gap: .6rem; margin-bottom: 1.2rem; }
.logo-footer img { width: 110px; height: auto; }
.logo-footer span { font-size: .72rem; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); }
.footer__copy { font-size: .78rem; opacity: .7; }
.footer__social {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: .6rem 0;
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  transition: color .2s;
}
.footer__social:hover { color: var(--gold); }
.footer__social svg { width: 22px; height: 22px; fill: currentColor; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 25px -5px rgba(0,0,0,.35);
  cursor: pointer;
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: var(--white); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0,0,0,.92);
  display: grid;
  place-items: center;
  padding: 16px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 90vh; border-radius: 8px; }
.lightbox__close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: 0;
  color: var(--white);
  font-size: 2.6rem;
  line-height: 1;
}

/* ---------- Animação de entrada ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
