/* =========================================================
   Blackout Jiu-Jitsu — style.css
   Cores da marca: preto, vermelho e branco
   ========================================================= */
:root {
  --black: #0a0a0a;
  --black-2: #121212;
  --black-3: #1b1b1b;
  --line: #2a2a2a;
  --red: #d7262e;
  --red-dark: #a3161d;
  --red-glow: rgba(215, 38, 46, .35);
  --white: #ffffff;
  --gray: #a7a7a7;
  --gray-2: #6f6f6f;

  --font-display: "Anton", "Impact", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 14px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.text-red { color: var(--red); }

/* ---------- Tipografia ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--red); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow--light { color: var(--white); }

.section { padding: clamp(80px, 10vw, 130px) 0; position: relative; }
.section__head { max-width: 680px; margin-bottom: 52px; }
.section__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.3rem, 5vw, 3.8rem); line-height: 1.02;
  text-transform: uppercase; letter-spacing: .01em; margin-bottom: 18px;
}
.section__lead { color: var(--gray); font-size: 1.05rem; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px;
  font-weight: 700; font-size: .95rem; letter-spacing: .02em;
  transition: transform .25s var(--ease), background .25s, box-shadow .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }
.btn:hover { transform: translateY(-2px); }
.btn--red { background: var(--red); color: var(--white); box-shadow: 0 10px 30px var(--red-glow); }
.btn--red:hover { background: #ec2f38; box-shadow: 0 14px 40px var(--red-glow); }
.btn--ghost { border: 1.5px solid rgba(255,255,255,.35); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,.06); }
.btn--dark { background: var(--black); color: var(--white); }
.btn--dark:hover { background: #000; box-shadow: 0 14px 40px rgba(0,0,0,.4); }
.btn--sm { padding: 10px 20px; font-size: .85rem; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  transition: background .3s, backdrop-filter .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(10,10,10,.86); backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 52px; height: 52px; }
.brand__text {
  font-family: var(--font-display); font-size: 1.35rem; text-transform: uppercase; line-height: .95; letter-spacing: .03em;
  display: flex; flex-direction: column;
}
.brand__text small { font-family: var(--font-body); font-size: .62rem; font-weight: 700; letter-spacing: .3em; color: var(--red); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) {
  font-size: .9rem; font-weight: 600; color: #d6d6d6; position: relative; padding: 6px 0;
  transition: color .2s;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:not(.btn):hover, .nav a.is-active { color: var(--white); }
.nav a:not(.btn):hover::after, .nav a.is-active::after { transform: scaleX(1); }

.burger { display: none; width: 44px; height: 44px; position: relative; z-index: 110; }
.burger span {
  position: absolute; left: 10px; right: 10px; height: 2px; background: var(--white); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh; display: flex; align-items: center; position: relative; overflow: hidden;
  padding: calc(var(--header-h) + 40px) 0 100px;
  background:
    radial-gradient(1200px 600px at 85% 30%, rgba(215,38,46,.18), transparent 60%),
    linear-gradient(180deg, #0d0d0d 0%, var(--black) 100%);
}
/* textura sutil de couro/tatame */
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 4px 4px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 60%);
}
.hero__slash {
  position: absolute; top: -10%; right: -12%; width: 52%; height: 130%;
  background: linear-gradient(160deg, var(--red) 0%, var(--red-dark) 100%);
  transform: skewX(-14deg); transform-origin: top;
  box-shadow: -40px 0 120px rgba(215,38,46,.25);
}
.hero__slash::after {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, transparent 0 22px, rgba(0,0,0,.06) 22px 24px);
}
.hero__panther {
  position: absolute; right: 4%; top: 50%; width: min(560px, 46vw);
  transform: translateY(-50%); filter: drop-shadow(0 30px 60px rgba(0,0,0,.55));
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(calc(-50% - 14px)); } }

.hero__content { position: relative; z-index: 2; }
.hero__title {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(3.2rem, 8vw, 6.8rem); line-height: .92; letter-spacing: .005em;
  margin-bottom: 26px; max-width: 11ch;
}
.hero__title span { display: block; }
.hero__lead { max-width: 520px; color: #cfcfcf; font-size: clamp(1rem, 1.6vw, 1.15rem); margin-bottom: 38px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 2;
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.4); border-radius: 20px;
}
.hero__scroll span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  background: var(--white); border-radius: 2px; animation: scroll 1.8s infinite;
}
@keyframes scroll { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Pilares ---------- */
.pillars { background: var(--black-2); border-block: 1px solid var(--line); }
.pillars__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.pillar { padding: 48px 36px; position: relative; transition: background .3s; }
.pillar + .pillar { border-left: 1px solid var(--line); }
.pillar:hover { background: var(--black-3); }
.pillar__num { font-family: var(--font-display); color: var(--red); font-size: 1rem; letter-spacing: .1em; }
.pillar h3 { font-family: var(--font-display); font-weight: 400; font-size: 2.1rem; text-transform: uppercase; margin: 6px 0 10px; }
.pillar p { color: var(--gray); font-size: .96rem; }

/* ---------- Placeholders de foto ---------- */
.photo {
  position: relative; width: 100%; height: 100%; min-height: 220px; border-radius: var(--radius); overflow: hidden;
  background:
    linear-gradient(135deg, rgba(215,38,46,.22), transparent 55%),
    repeating-linear-gradient(45deg, #161616 0 14px, #1a1a1a 14px 28px);
  border: 1px solid var(--line);
}
.photo::before {
  content: ""; position: absolute; inset: 0; margin: auto; width: 34%; aspect-ratio: 1;
  background: url("../assets/img/logo.png") center/contain no-repeat; opacity: .14; filter: grayscale(1);
}
.photo::after {
  content: attr(data-label); position: absolute; left: 16px; bottom: 14px;
  font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gray);
}
.photo img, .gallery__item > img, .about__media > img, .professor__media > img {
  width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius);
}
.photo--tall { aspect-ratio: 4 / 5; }
.photo--portrait { aspect-ratio: 3 / 4; }

/* ---------- Sobre ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 90px); align-items: center; }
.about__media { position: relative; }
.about__media > img { aspect-ratio: 4 / 5; height: auto; object-position: center 60%; border: 1px solid var(--line); }
.about__media::before {
  content: ""; position: absolute; inset: 24px -24px -24px 24px; border: 2px solid var(--red); border-radius: var(--radius); z-index: -1;
}
.about__badge {
  position: absolute; right: -28px; bottom: 40px; width: 120px; height: 120px; border-radius: 50%;
  background: var(--black); padding: 6px; box-shadow: 0 20px 50px rgba(0,0,0,.6);
  animation: spin 22s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.about__text p { color: #cfcfcf; margin-bottom: 16px; }
.about__text strong { color: var(--white); }

.checklist { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin-top: 26px; }
.checklist li { position: relative; padding-left: 30px; font-weight: 600; font-size: .95rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/11px no-repeat;
}

/* ---------- Professor ---------- */
.professor { background: var(--black-2); overflow: hidden; }
.professor::before {
  content: "PAKARETA"; position: absolute; left: -2%; bottom: -4%;
  font-family: var(--font-display); font-size: clamp(6rem, 18vw, 16rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.05); pointer-events: none; white-space: nowrap;
}
.professor__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 7vw, 90px); align-items: center; position: relative; }
.professor__text > p { color: #cfcfcf; margin-bottom: 18px; }
.professor__belt { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--white) !important; }
.professor__belt em { color: var(--gray-2); font-weight: 400; font-size: .85rem; }
.belt { width: 64px; height: 12px; border-radius: 2px; background: linear-gradient(90deg, #000 0 70%, var(--red) 70% 92%, #000 92%); border: 1px solid #333; }

.facts { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 28px 0 32px; }
.facts li { background: var(--black-3); border: 1px solid var(--line); border-radius: 12px; padding: 18px 16px; }
.facts strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 2rem; color: var(--red); line-height: 1; }
.facts span { font-size: .82rem; color: var(--gray); }

.professor__media { position: relative; }
.professor__media > img { aspect-ratio: 3 / 4; height: auto; object-position: center 30%; border: 1px solid var(--line); box-shadow: 0 30px 60px rgba(0,0,0,.5); }
.professor__media::after {
  content: ""; position: absolute; top: -18px; right: -18px; width: 60%; height: 60%;
  background: var(--red); border-radius: var(--radius); z-index: -1;
}
.professor__tag {
  position: absolute; left: -16px; bottom: 30px; background: var(--white); color: var(--black);
  font-family: var(--font-display); font-size: 1.3rem; text-transform: uppercase; letter-spacing: .04em;
  padding: 10px 20px; border-radius: 8px; box-shadow: 0 16px 40px rgba(0,0,0,.5);
}

/* ---------- Turmas ---------- */
.classes__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.class-card {
  grid-column: span 2; position: relative; background: var(--black-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px 28px; overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.class-card::before {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.class-card:hover { transform: translateY(-6px); border-color: #3a3a3a; box-shadow: 0 24px 50px rgba(0,0,0,.5); }
.class-card:hover::before { transform: scaleX(1); }
.class-card:nth-child(4) { grid-column: 1 / span 2; }
.class-card__icon {
  width: 56px; height: 56px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 22px;
  background: rgba(215,38,46,.12); color: var(--red); border: 1px solid rgba(215,38,46,.35);
  font-family: var(--font-display); font-size: 1.3rem; letter-spacing: .04em;
}
.class-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.9rem; text-transform: uppercase; line-height: 1.05; }
.class-card__age { color: var(--red); font-weight: 700; font-size: .88rem; margin: 4px 0 14px; }
.class-card p { color: #c4c4c4; font-size: .95rem; }
.class-card__when {
  margin-top: 20px; padding-top: 16px; border-top: 1px dashed var(--line);
  font-size: .82rem !important; font-weight: 700; letter-spacing: .04em; color: var(--white) !important;
}

.class-card--featured {
  grid-column: span 4;
  background:
    radial-gradient(500px 260px at 100% 0%, rgba(255,255,255,.12), transparent 60%),
    linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  border-color: transparent;
}
.class-card--featured::before { background: var(--white); }
.class-card--featured::after {
  content: "ABC"; position: absolute; right: -10px; bottom: -40px;
  font-family: var(--font-display); font-size: 10rem; color: rgba(0,0,0,.12); line-height: 1; pointer-events: none;
}
.class-card--featured .class-card__icon { background: var(--white); color: var(--red); border-color: transparent; }
.class-card--featured .class-card__age { color: var(--white); opacity: .9; }
.class-card--featured p { color: rgba(255,255,255,.92); max-width: 56ch; position: relative; z-index: 1; }
.class-card--featured .class-card__when { border-top-color: rgba(255,255,255,.3); }
.class-card__flag {
  position: absolute; top: 22px; right: 22px; background: var(--black); color: var(--white);
  font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px;
}

/* ---------- Horários ---------- */
.schedule { background: var(--black-2); }
.schedule__filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.chip {
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--black-3);
  font-size: .85rem; font-weight: 700; color: #cfcfcf; transition: all .2s;
}
.chip:hover { border-color: #444; color: var(--white); }
.chip.is-active { background: var(--red); border-color: var(--red); color: var(--white); }

.schedule__table-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.schedule__table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.schedule__table th, .schedule__table td { padding: 0; border: 1px solid var(--line); text-align: center; }
.schedule__table thead th {
  background: var(--black); padding: 18px 8px; font-family: var(--font-display); font-weight: 400;
  font-size: 1.35rem; letter-spacing: .06em; text-transform: uppercase;
}
.schedule__table thead th.is-today { background: var(--red); }
.schedule__table thead th.is-today::after {
  content: "Hoje"; display: block; font-family: var(--font-body); font-size: .62rem; font-weight: 800; letter-spacing: .2em; opacity: .9;
}
.schedule__table tbody th {
  background: var(--black); width: 110px; font-family: var(--font-display); font-weight: 400; font-size: 1.4rem; letter-spacing: .03em;
}
.schedule__table td { height: 78px; background: var(--black-3); transition: background .25s, opacity .25s; }
.schedule__table td.is-today { background: #241416; }
.slot {
  display: inline-flex; flex-direction: column; align-items: center; gap: 2px;
  font-weight: 800; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; line-height: 1.15;
  padding: 10px 14px; border-radius: 10px; transition: opacity .25s, transform .25s;
}
.slot small { font-weight: 600; font-size: .68rem; letter-spacing: .04em; text-transform: none; opacity: .75; }
.slot--geral { background: var(--white); color: var(--black); }
.slot--kids { background: var(--red); color: var(--white); }
.is-dim { opacity: .14; transform: scale(.95); }

.schedule__legend { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 22px; color: var(--gray); font-size: .88rem; }
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -1px; margin-right: 6px; }
.dot--geral { background: var(--white); }
.dot--kids { background: var(--red); }

.schedule__mobile { display: none; }
.schedule__days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-bottom: 16px; }
.schedule__days button {
  padding: 12px 0; border-radius: 10px; background: var(--black-3); border: 1px solid var(--line);
  font-family: var(--font-display); font-size: 1.05rem; letter-spacing: .05em; position: relative;
}
.schedule__days button.is-active { background: var(--red); border-color: var(--red); }
.schedule__days button.is-today::after {
  content: ""; position: absolute; top: 6px; right: 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--white);
}
.schedule__list { list-style: none; display: grid; gap: 10px; }
.schedule__list li {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 12px;
  background: var(--black-3); border: 1px solid var(--line); border-left: 4px solid var(--white);
  animation: fadeUp .35s var(--ease) both;
}
.schedule__list li.kids { border-left-color: var(--red); }
.schedule__list time { font-family: var(--font-display); font-size: 1.5rem; min-width: 70px; }
.schedule__list strong { display: block; text-transform: uppercase; letter-spacing: .05em; font-size: .95rem; }
.schedule__list span { color: var(--gray); font-size: .82rem; }
.schedule__list .empty { justify-content: center; color: var(--gray); border-left-color: var(--line); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } }

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(120deg, var(--red) 0%, var(--red-dark) 100%); padding: 64px 0; position: relative; overflow: hidden;
}
.cta::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(-60deg, transparent 0 40px, rgba(0,0,0,.06) 40px 80px);
}
.cta__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta__title { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(2rem, 4.4vw, 3.3rem); line-height: 1; }
.cta__title span { display: inline-block; background: var(--black); padding: 2px 14px 4px; margin-top: 6px; transform: skewX(-8deg); }

/* ---------- Galeria ---------- */
.gallery__grid { grid-auto-flow: dense; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 16px; }
.gallery__item { position: relative; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item--tall { grid-row: span 2; }
.gallery__item .photo, .gallery__item > img { transition: transform .6s var(--ease); }
.gallery__item:hover .photo, .gallery__item:hover > img { transform: scale(1.05); }
.gallery__item::after {
  content: "+"; position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; background: var(--red); font-size: 1.4rem; font-weight: 700;
  opacity: 0; transform: scale(.6); transition: all .3s var(--ease);
}
.gallery__item:hover::after { opacity: 1; transform: scale(1); }
.gallery__more { text-align: center; margin-top: 40px; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.92); backdrop-filter: blur(6px);
  display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__stage { width: min(1000px, 88vw); height: min(680px, 78vh); display: grid; place-items: center; }
.lightbox__stage > * { max-width: 100%; max-height: 100%; width: 100%; height: 100%; object-fit: contain; border-radius: var(--radius); }
.lightbox__close { position: absolute; top: 18px; right: 24px; font-size: 2.6rem; line-height: 1; color: var(--white); }
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,.08); font-size: 2rem; line-height: 1; transition: background .2s;
}
.lightbox__nav:hover { background: var(--red); }
.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }

/* ---------- Contato ---------- */
.contact { background: var(--black-2); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 6vw, 80px); align-items: stretch; }
.contact__list { list-style: none; display: grid; gap: 22px; margin: 10px 0 34px; }
.contact__list li { display: flex; gap: 16px; align-items: center; }
.contact__icon {
  width: 52px; height: 52px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center;
  background: rgba(215,38,46,.12); border: 1px solid rgba(215,38,46,.35);
}
.contact__icon svg { width: 22px; height: 22px; fill: var(--red); }
.contact__list strong { display: block; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gray); }
.contact__list a { font-weight: 700; font-size: 1.08rem; transition: color .2s; }
.contact__list a:hover { color: var(--red); }
.contact__map { min-height: 380px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.contact__map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; filter: grayscale(1) invert(.92) contrast(.9); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 40px 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer .brand img { width: 44px; height: 44px; }
.footer__motto { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .12em; color: var(--red); }
.footer__copy { color: var(--gray-2); font-size: .85rem; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; background: #25d366; box-shadow: 0 12px 30px rgba(37,211,102,.4);
  transition: transform .25s var(--ease);
}
.wa-float svg { width: 32px; height: 32px; fill: var(--white); }
.wa-float:hover { transform: scale(1.08); }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: pulse 2.2s infinite;
}
@keyframes pulse { to { transform: scale(1.6); opacity: 0; } }

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 1024px) {
  .nav { gap: 20px; }
  .hero__slash { width: 50%; right: -14%; }
  .classes__grid { grid-template-columns: repeat(2, 1fr); }
  .class-card, .class-card:nth-child(4) { grid-column: span 1; }
  .class-card--featured { grid-column: span 2; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 26px;
    background: rgba(10,10,10,.97); backdrop-filter: blur(10px);
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav a:not(.btn) { font-family: var(--font-display); font-size: 2rem; text-transform: uppercase; letter-spacing: .03em; }
  .nav__cta { margin-top: 10px; padding: 14px 32px; font-size: 1rem; }
  .brand img { width: 44px; height: 44px; }

  .hero { align-items: flex-end; min-height: auto; padding: calc(var(--header-h) + min(56vw, 300px)) 0 110px; }
  .hero__slash { width: 90%; height: calc(var(--header-h) + min(50vw, 270px)); top: 0; right: -40%; transform: skewX(-14deg); }
  .hero__panther { width: 54vw; max-width: 300px; top: calc(var(--header-h) + 20px); right: -6%; transform: none; animation: none; opacity: .95; }

  .pillars__grid { grid-template-columns: 1fr; }
  .pillar + .pillar { border-left: 0; border-top: 1px solid var(--line); }
  .pillar { padding: 32px 0; }

  .about__grid, .professor__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 480px; }
  .about__media::before { inset: 14px -10px -14px 10px; }
  .about__badge { right: 4px; width: 96px; height: 96px; }
  .professor__media { order: -1; max-width: 440px; }

  .schedule__table-wrap { display: none; }
  .schedule__mobile { display: block; }

  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
}

@media (max-width: 600px) {
  .container { width: calc(100% - 32px); }
  .hero__actions .btn { width: 100%; white-space: normal; text-align: center; }
  .checklist { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .facts li { padding: 14px 10px; }
  .facts strong { font-size: 1.6rem; }
  .classes__grid { grid-template-columns: 1fr; }
  .class-card--featured { grid-column: span 1; }
  .cta__inner .btn { width: 100%; }
  .gallery__item--wide { grid-column: span 2; }
  .gallery__item--tall { grid-row: span 1; }
  .footer__inner { flex-direction: column; text-align: center; }
  .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
  .lightbox__nav { width: 42px; height: 42px; }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
}
