: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 (baseadas na grade oficial, escurecidas para leitura em fundo claro) */
  --c-baby: #5c9e12;
  --c-little: #4d8a10;
  --c-warrior: #d0101a;
  --c-youth: #1f4fb8;
  --c-ini: #d65f0a;
  --c-inter: #7b3fb5;
  --c-avan: #0a7f91;
  --c-drills: #2f7f3a;
  --c-nogi: #333;
  --c-livre: #b0179f;

  --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);
  white-space: nowrap;
  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); }

/* menu vira hambúrguer antes dos links apertarem (são 6 links + botão) */
@media (max-width: 1080px) {
  .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: radial-gradient(120% 90% at 85% 20%, #2a2310 0%, var(--black) 55%);
}
.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; padding-block: 4.5rem; }
.hero__content { position: relative; }
.hero .eyebrow { color: var(--gold); }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); 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 1rem; }
.hero__lead--small { font-size: .98rem; color: rgba(255,255,255,.68); }
.hero__quote { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; letter-spacing: .02em; text-transform: uppercase; border-left: 3px solid var(--gold); padding-left: 1rem; margin: 1.6rem 0 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__media { position: relative; height: min(620px, 72svh); }
.hero__img { position: absolute; object-fit: cover; border-radius: var(--radius); box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); }
.hero__img--main { right: 0; top: 0; width: 66%; height: 86%; object-position: 30% center; }
.hero__img--side { left: 0; bottom: 0; width: 46%; height: 58%; border: 4px solid var(--black); }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; padding-block: 3rem; }
  .hero__media { height: 380px; order: -1; }
}

/* ---------- 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 0 1rem; }
.section__sub--dark { color: rgba(255,255,255,.72); }
.section--tint { background: #f1eee6; }

/* 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; }
}


/* ---------- 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; }
}

/* ---------- Pendências (remover quando os dados forem preenchidos) ---------- */
.todo { background: #fff1b8; color: #6b4e00; padding: 0 .35rem; border-radius: 4px; font-weight: 600; }

/* ---------- Como começar ---------- */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.path {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.path__media { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 100%; gap: 4px; height: 280px; overflow: hidden; }
.path__media img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.path__body { display: flex; flex-direction: column; align-items: flex-start; gap: .4rem; padding: 2rem 1.8rem; flex: 1; }
.path__body > p { color: var(--muted); margin: 0 0 1.4rem; }
.path__body .btn { margin-top: auto; }
.path__tag { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dark); }
.path h3 { font-size: 1.9rem; margin-bottom: .8rem; }
.steps { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; gap: 1.2rem; }
.steps li { display: grid; grid-template-columns: 74px 1fr; gap: 1rem; }
.steps__num { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; line-height: 1.1; color: var(--gold-dark); }
.steps h4 { font-size: 1.2rem; margin: 0 0 .25rem; }
.steps p { margin: 0; color: var(--muted); font-size: .95rem; }

.app-band {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin-top: 24px;
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2rem 2.2rem;
}
.app-band__icon { flex: none; width: 56px; height: 56px; fill: var(--gold); }
.app-band .eyebrow { color: var(--gold); margin-bottom: .4rem; }
.app-band h3 { font-size: 1.8rem; margin-bottom: .3rem; }
.app-band p:last-child { margin: 0; color: rgba(255,255,255,.75); }

@media (max-width: 900px) {
  .paths { grid-template-columns: 1fr; }
  .path__media { height: 220px; }
  .app-band { flex-direction: column; align-items: flex-start; padding: 1.6rem; }
}

/* ---------- Professores ---------- */
.coach {
  background: var(--ink-2);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.coach img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center 20%; }
.coach__body { padding: 1.4rem 1.4rem 1.6rem; }
.coach__body p { color: rgba(255,255,255,.72); font-size: .94rem; margin: 0 0 .8rem; }
.coach__body p:last-child { margin-bottom: 0; }
.coach__role { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.coach h3 { font-size: 1.8rem; margin: .25rem 0 .5rem; }
.coach__body .coach__belt { display: flex; align-items: center; gap: .6rem; font-weight: 600; color: var(--white); }
.coach__belt::before { content: ""; width: 38px; height: 10px; border-radius: 2px; background: var(--belt); box-shadow: inset -10px 0 0 #000, 0 0 0 1px rgba(255,255,255,.3); }
.coach__belt--black::before { box-shadow: inset -10px 0 0 #c4161c, 0 0 0 1px rgba(255,255,255,.3); }
.coach--head { display: grid; grid-template-columns: minmax(260px, 380px) 1fr; margin-bottom: 20px; border: 1px solid rgba(245,183,0,.35); }
.coach--head img { height: 100%; aspect-ratio: auto; min-height: 420px; }
.coach--head .coach__body { padding: clamp(1.6rem, 4vw, 3rem); align-self: center; }
.coach--head h3 { font-size: clamp(2.2rem, 4vw, 3rem); }
.coach--head .coach__body p { font-size: 1rem; }
.coaches { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }

@media (max-width: 700px) {
  .coach--head { grid-template-columns: 1fr; }
  .coach--head img { min-height: 0; aspect-ratio: 4/5; }
}

/* ---------- Níveis / programas ---------- */
.levels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.level {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius);
  overflow: hidden;
}
.level img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.level__body { padding: 1.4rem; }
.level__body p { color: var(--muted); font-size: .93rem; margin: 0 0 .7rem; }
.level__body p:last-child { margin: 0; }
.level__tag { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.level h3 { font-size: 1.6rem; margin: .2rem 0 .6rem; }

#programas .group-title { color: var(--gold-dark); margin-top: 4rem; }
.cards--light .card { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--accent); overflow: hidden; }
.card__img {
  display: block;
  width: calc(100% + 2.8rem);
  max-width: none;
  margin: -1.6rem -1.4rem 1.2rem;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.cards--light .card:hover { background: var(--white); }
.cards--light .card__age { color: var(--muted); }
.cards--light .card p { color: var(--muted); }
.gallery--kids { grid-auto-rows: auto; margin-top: 0; margin-bottom: 4rem; }
.gallery--kids .gallery__item { aspect-ratio: 3 / 4; }

.private {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  margin-top: 4rem;
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
}
.private img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
.private__body { padding: clamp(1.8rem, 4vw, 3.2rem); align-self: center; }
.private__body .eyebrow { color: var(--gold); }
.private__body h3 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); }
.private__body p:not(.eyebrow) { color: rgba(255,255,255,.75); }
.private__body .btn { margin-top: .8rem; }

@media (max-width: 1000px) { .levels { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) {
  .private { grid-template-columns: 1fr; }
  .private img { min-height: 0; aspect-ratio: 4/3; object-position: center 40%; }
}
@media (max-width: 520px) { .levels { grid-template-columns: 1fr; } }

/* ---------- Legenda da grade ---------- */
.legend { list-style: none; padding: 0; margin: 1.2rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; font-size: .9rem; color: var(--muted); }
.legend strong { color: var(--text); }

/* ---------- Graduação ---------- */
.grad { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grad__col { background: var(--ink-2); border-radius: var(--radius); padding: 2rem 1.8rem; }
.grad__col { padding: 1.8rem 1.6rem; }
.grad__title { font-size: 1.7rem; color: var(--gold); margin-bottom: .3rem; }
.grad__title small { font-family: var(--font-body); font-size: .72rem; font-weight: 600; letter-spacing: .12em; color: var(--muted-dark); margin-left: .5rem; }
.grad__rule { font-size: .9rem; color: rgba(255,255,255,.7); margin: 0 0 1.4rem; }
.grad__rule span { color: rgba(255,255,255,.5); }

.grad__list { list-style: none; padding: 0; margin: 0; }
.grad__list li { display: flex; align-items: center; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.grad__list li:last-child { border-bottom: 0; }
.grad__list strong { font-family: var(--font-display); font-size: 1.25rem; text-transform: uppercase; letter-spacing: .03em; }
.grad__list small { font-size: .78rem; color: var(--gold); letter-spacing: .06em; }
.grad__val { margin-left: auto; font-size: .92rem; font-weight: 600; color: var(--white); white-space: nowrap; }
.grad__list .belt { width: 120px; flex: none; }

/* Faixa desenhada: cor da faixa + ponteira preta com os graus */
.belt { position: relative; display: flex; justify-content: flex-end; height: 20px; border-radius: 3px; background: var(--belt); }
.belt__tip { display: flex; align-items: stretch; gap: 3px; height: 100%; margin-right: 8px; padding: 0 6px; background: #111; }
.belt__tip i { width: 4px; background: #fff; }
.belt__tip i.r, .sw.sw--r { background: #d3202a; }
.belt__tip i.y, .sw.sw--y { background: #f5c518; }
.belt__tip i.b, .sw.sw--b { background: #1f6fd1; }
.belt__tip i.o, .sw.sw--o { background: #ec6a3c; }
.belt__tip i.g, .sw.sw--g { background: #1f9d4a; }
.belt--black { box-shadow: 0 0 0 1px rgba(255,255,255,.3); }
.belt--black .belt__tip { background: #c4161c; }

/* Legenda dos graus infantis */
.grad__key { display: grid; grid-template-columns: 180px 1fr; gap: 1.2rem; align-items: center; margin-top: 1.4rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.1); }
.grad__key ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .35rem 1rem; }
.grad__key li { display: flex; align-items: center; gap: .5rem; font-size: .8rem; color: rgba(255,255,255,.72); }
.sw { flex: none; width: 5px; height: 14px; background: #fff; }

.grad__more { margin-top: 1.2rem; }
.grad__more summary { cursor: pointer; font-size: .88rem; font-weight: 600; color: var(--gold); }
.kbelts { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: .8rem 1rem; }
.kbelts li { display: flex; flex-direction: column; gap: .35rem; font-size: .78rem; color: rgba(255,255,255,.75); }
.kbelt { height: 14px; border-radius: 2px; background: linear-gradient(var(--a) 0 35%, var(--b) 35% 65%, var(--a) 65%); }
.kbelt--black { background: linear-gradient(var(--a) 0 42%, #111 42% 58%, var(--a) 58%); }

@media (max-width: 900px) { .grad { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) {
  .grad__col { padding: 1.4rem 1.1rem; }
  .grad__list li { gap: .7rem; }
  .grad__list .belt { width: 76px; }
  .grad__list .belt__tip { gap: 2px; padding: 0 4px; margin-right: 5px; }
  .grad__list .belt__tip i { width: 3px; }
  .grad__list strong { font-size: 1.1rem; }
  .grad__val { font-size: .85rem; }
  .grad__list--kids li { flex-wrap: wrap; gap: .2rem .6rem; }
  .grad__key { grid-template-columns: 1fr; }
  .grad__key .belt { max-width: 200px; }
}

/* ---------- Contato em fundo escuro ---------- */
#contato .contact__info > p { color: rgba(255,255,255,.72); }
#contato .contact__list dt { color: var(--gold); }
#contato .contact__list dd { color: rgba(255,255,255,.9); }
.contact__map img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Vídeo da frase na parede ---------- */
.motto {
  display: grid;
  grid-template-columns: minmax(220px, 340px) 1fr;
  gap: clamp(1.6rem, 5vw, 4rem);
  align-items: center;
  margin-top: 4rem;
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius);
  padding: clamp(1.2rem, 3vw, 2rem);
}
.motto__media { border-radius: 10px; overflow: hidden; aspect-ratio: 9/16; background: #222; }
.motto__video { width: 100%; height: 100%; object-fit: cover; display: block; }
.motto__text { margin: 0; padding-right: clamp(0rem, 3vw, 2rem); }
.motto__text .eyebrow { color: var(--gold); }
.motto__quote { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.9rem, 4.2vw, 3.2rem); line-height: 1.05; margin: 0 0 1.2rem; }
.motto__sub { color: rgba(255,255,255,.72); margin: 0; max-width: 46ch; }

@media (max-width: 700px) {
  .motto { grid-template-columns: 1fr; }
  .motto__media { max-width: 300px; width: 100%; margin-inline: auto; }
}
