/* =============================================================
   4BJJ — Studio de Artes Marciais
   styles.css
   Identidade: forte · limpo · moderno · marcial · acolhedor
   ============================================================= */

/* ---------- Tokens ---------- */
:root {
  --black: #0a0a0a;
  --bg: #0a0a0a;
  --bg-1: #111;
  --bg-2: #161616;
  --surface: #1a1a1a;
  --surface-2: #202020;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);

  --text: #f5f5f5;
  --text-dim: #c8c8c8;
  --text-muted: #8a8a8a;

  --red: #d72638;
  --red-strong: #ff3346;
  --red-dark: #9d1a26;
  --red-glow: rgba(215, 38, 56, 0.35);

  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;

  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 14px 40px rgba(0, 0, 0, 0.45);
  --shadow-red: 0 14px 40px rgba(215, 38, 56, 0.22);

  --container: 1180px;

  --font-display: "Oswald", "Arial Narrow", Impact, "Helvetica Neue", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;

  --header-h: 76px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700;
  letter-spacing: 0.5px; line-height: 1.1; margin: 0; text-transform: none; }

/* Foco visível para acessibilidade */
:focus-visible {
  outline: 2px solid var(--red-strong);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  /* Garante que nenhum reveal fique invisível para usuários com motion reduzido */
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ---------- Utilitários ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.text-red { color: var(--red); }

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 9999;
  background: var(--red); color: #fff; padding: 10px 16px;
  border-radius: var(--radius-sm); font-weight: 600;
}
.skip-link:focus { left: 12px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 13px;
  text-transform: uppercase; letter-spacing: 3px;
  color: var(--text-muted);
}
.eyebrow__dot {
  width: 8px; height: 8px; background: var(--red); border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(215, 38, 56, 0.18);
}

/* ---------- Botões ---------- */
.btn {
  --btn-bg: var(--red);
  --btn-text: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px; gap: 10px;
  font-family: var(--font-display);
  font-size: 15px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 999px; border: 2px solid transparent;
  background: var(--btn-bg); color: var(--btn-text);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background .2s var(--ease), color .2s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-red); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--red); }
.btn--primary:hover { background: var(--red-strong); }
.btn--ghost {
  --btn-bg: transparent;
  border-color: var(--line-strong);
  color: var(--text);
}
.btn--ghost:hover { background: rgba(255,255,255,0.05); border-color: var(--red); color: #fff; }
.btn--large { padding: 18px 34px; font-size: 16px; }
.btn--cta { box-shadow: var(--shadow-red); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  background: rgba(10, 10, 10, 0.92);  /* fallback opaco se backdrop-filter não houver */
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header {
    background: rgba(10, 10, 10, 0.78);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
  }
}
.site-header.is-scrolled {
  background: rgba(10, 10, 10, 0.92);
  border-bottom-color: var(--line);
}
.header__inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__logo {
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; padding: 2px;
  box-shadow: 0 0 0 1px var(--line-strong);
  object-fit: cover;
}
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-display); font-weight: 700;
  font-size: 22px; letter-spacing: 1.5px;
}
.brand__tag {
  font-size: 10.5px; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 2.5px; margin-top: 4px;
}

.primary-nav { display: flex; align-items: center; gap: 28px; }
.primary-nav ul { display: flex; gap: 22px; }
.primary-nav a {
  position: relative; font-size: 14px; font-weight: 500;
  color: var(--text-dim); padding: 6px 0;
  transition: color .2s var(--ease);
}
.primary-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.primary-nav a:hover, .primary-nav a.is-active { color: #fff; }
.primary-nav a:hover::after, .primary-nav a.is-active::after { transform: scaleX(1); }
.nav__cta {
  padding: 11px 20px;
  font-size: 13px;
  letter-spacing: 1.5px;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: transparent; border: 1px solid var(--line-strong);
  border-radius: 10px; padding: 0;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: #fff;
  border-radius: 1px; transition: transform .25s var(--ease), opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 60px) 0 80px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 0%, #1c1c1c 0%, #0a0a0a 55%),
    #0a0a0a;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }

/* Watermark "4BJJ" gigante no canto inferior direito */
.hero__mark {
  position: absolute;
  right: -2vw; bottom: -8vw;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(220px, 36vw, 520px);
  line-height: 0.82;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.025);
  -webkit-text-stroke: 1px rgba(215, 38, 56, 0.15);
  user-select: none;
  pointer-events: none;
}

.hero__brush {
  position: absolute; left: -10%; right: -10%; bottom: -10%;
  height: 70%;
  background:
    radial-gradient(800px 400px at 80% 70%, rgba(215, 38, 56, 0.22), transparent 60%),
    radial-gradient(600px 300px at 20% 80%, rgba(215, 38, 56, 0.10), transparent 70%);
  filter: blur(2px);
}
.hero__ring {
  position: absolute; top: 6%; right: -160px;
  width: 520px; height: 520px;
  border-radius: 50%;
  border: 1px solid rgba(215, 38, 56, 0.35);
  border-top-color: rgba(215, 38, 56, 0.9);
  border-right-color: rgba(215, 38, 56, 0.6);
  animation: spin 32s linear infinite;
}
.hero__ring::after {
  content: ""; position: absolute; inset: 28px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.08);
}
/* Faixa horizontal estilo "graduação BJJ" no canto inferior esquerdo */
.hero__stripes {
  position: absolute; left: 0; bottom: 0;
  width: 220px; height: 4px;
  background: repeating-linear-gradient(
    90deg,
    var(--red) 0 28px,
    transparent 28px 36px
  );
  opacity: 0.55;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero__inner { position: relative; z-index: 2; max-width: 880px; }
.hero__title {
  font-size: clamp(36px, 5.4vw, 64px);
  margin: 18px 0 24px;
  line-height: 1.04;
  letter-spacing: -0.5px;
  text-wrap: balance;
}
.hero__title-line {
  display: block;
}
.hero__title-line + .hero__title-line {
  margin-top: 4px;
}
.hero__sub {
  font-size: clamp(16px, 1.35vw, 19px);
  color: var(--text-dim);
  max-width: 640px; margin: 0 0 36px;
  line-height: 1.55;
}
.hero__sub strong {
  color: #fff; font-weight: 600;
}
.hero__actions {
  display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px;
}
.hero__highlights {
  display: flex; flex-wrap: wrap; gap: 10px 24px;
  align-items: center;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  max-width: 720px;
}
.hero__highlights li {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--text-dim);
  letter-spacing: 0.2px;
}
.hero__highlights-icon {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 3px rgba(215, 38, 56, 0.18);
  font-size: 0;
}

.hero__scroll {
  position: absolute; left: 50%; bottom: 28px;
  transform: translateX(-50%);
  width: 22px; height: 38px;
  border: 2px solid var(--line-strong); border-radius: 14px;
  display: flex; justify-content: center; padding-top: 6px;
}
.hero__scroll span {
  width: 3px; height: 7px; background: var(--red); border-radius: 2px;
  animation: scroll 1.6s var(--ease) infinite;
}
@keyframes scroll {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}

/* ---------- Section base ---------- */
.section { padding: 110px 0; position: relative; }
.section--dark { background: var(--bg-1); }
.section--accent {
  background:
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg) 100%),
    radial-gradient(800px 400px at 50% 0%, var(--red-glow), transparent 60%);
  background-blend-mode: normal;
}
.section--accent::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 50% -10%, rgba(215, 38, 56, 0.18), transparent 60%);
  pointer-events: none;
}

.section__head { max-width: 760px; margin: 0 0 56px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__title {
  font-size: clamp(30px, 4vw, 48px);
  margin: 16px 0 14px;
}
.section__lead {
  color: var(--text-dim);
  font-size: 17px;
  margin: 0;
}

/* ---------- Sobre ---------- */
.sobre__grid {
  display: grid; gap: 56px;
  grid-template-columns: 1fr 1fr;
  align-items: start;
}
.sobre__text p {
  font-size: 16.5px; color: var(--text-dim); margin: 0 0 18px;
}
.sobre__text p:last-child { margin-bottom: 0; }

.value-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(2, 1fr);
}
.value-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  display: flex; align-items: center; gap: 14px;
  transition: transform .25s var(--ease), border-color .25s var(--ease),
              background .25s var(--ease);
}
.value-card:hover {
  transform: translateY(-3px);
  border-color: var(--red);
  background: linear-gradient(180deg, var(--surface) 0%, #1d1416 100%);
}
.value-card__icon {
  width: 40px; height: 40px; flex: none;
  display: grid; place-items: center;
  background: rgba(215, 38, 56, 0.12);
  color: var(--red); border-radius: 12px;
  font-size: 20px;
}
.value-card h3 { font-size: 18px; }

/* ---------- Cards (Modalidades) ---------- */
.cards {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.card {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px 26px;
  transition: transform .3s var(--ease), border-color .3s var(--ease),
              box-shadow .3s var(--ease);
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--red);
  transform: scaleY(0); transform-origin: top;
  transition: transform .35s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}
.card:hover::before { transform: scaleY(1); }
.card__badge {
  display: inline-block;
  font-family: var(--font-display); font-size: 11px; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--red);
  padding: 6px 12px; border: 1px solid rgba(215, 38, 56, 0.35);
  border-radius: 999px;
}
.card__title {
  font-size: 22px; margin: 18px 0 10px;
}
.card__text {
  font-size: 15px; color: var(--text-dim); margin: 0 0 22px;
}
.card__link {
  font-family: var(--font-display); font-size: 13px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--red);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.card__link:hover { color: var(--red-strong); border-color: currentColor; }

/* ---------- Benefícios ---------- */
.benefits {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.benefit {
  display: flex; align-items: center; gap: 18px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
  transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.benefit:hover { transform: translateY(-3px); border-color: var(--red); }
.benefit__num {
  font-family: var(--font-display);
  font-size: 36px; font-weight: 700; color: var(--red);
  line-height: 1; min-width: 56px;
}
.benefit__text {
  font-size: 15px; color: var(--text); font-weight: 500;
}

/* ---------- Professor ---------- */
.teacher {
  display: grid; gap: 56px;
  grid-template-columns: minmax(280px, 380px) 1fr;
  align-items: center;
}
.teacher__photo {
  position: relative; aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(160deg, #1f1f1f 0%, #0d0d0d 100%);
  box-shadow: var(--shadow-md);
}
.teacher__photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
}
.teacher__photo:hover img { transform: scale(1.04); }
.teacher__photo.is-broken .teacher__photo-fallback { display: grid; }
.teacher__photo.is-broken img,
.teacher__photo.is-broken picture { display: none; }
.teacher__photo-fallback {
  display: none;
  position: absolute; inset: 0;
  place-items: center;
  font-family: var(--font-display); font-size: 72px;
  color: rgba(255, 255, 255, 0.12);
  letter-spacing: 6px;
  background:
    radial-gradient(circle at 30% 20%, rgba(215, 38, 56, 0.15), transparent 50%),
    linear-gradient(160deg, #1f1f1f 0%, #0d0d0d 100%);
}
.teacher__ring {
  position: absolute; inset: -1px;
  border-radius: var(--radius-lg);
  border: 2px solid transparent;
  background: linear-gradient(135deg, var(--red) 0%, transparent 50%, rgba(255,255,255,0.1) 100%) border-box;
  -webkit-mask:
    linear-gradient(#000 0 0) padding-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.teacher__bio .section__title { margin: 14px 0 18px; }
.teacher__bio p {
  font-size: 17px; color: var(--text-dim); margin: 0 0 28px;
  max-width: 56ch;
}

/* ---------- Galeria ---------- */
.gallery__filters {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center;
  margin: 0 0 40px;
}
.gallery__filter {
  font-family: var(--font-display); font-size: 12px; font-weight: 500;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--text-dim);
  background: transparent; border: 1px solid var(--line-strong);
  border-radius: 999px; padding: 9px 16px;
  transition: color .2s, background .2s, border-color .2s;
}
.gallery__filter:hover { color: #fff; border-color: var(--red); }
.gallery__filter.is-active {
  background: var(--red); color: #fff; border-color: var(--red);
}

.gallery {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.gallery__item {
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.gallery__item:hover { transform: translateY(-4px); border-color: var(--red); }
.gallery__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
}
.gallery__item:hover .gallery__img { transform: scale(1.06); }
.gallery__fallback {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background:
    radial-gradient(circle at 30% 20%, rgba(215, 38, 56, 0.25), transparent 60%),
    linear-gradient(160deg, #1d1d1d 0%, #0e0e0e 100%);
}
.gallery__fallback::before {
  content: ""; position: absolute; inset: 14px;
  border-radius: 10px;
  border: 1px dashed rgba(255, 255, 255, 0.08);
}
.gallery__fallback span {
  font-family: var(--font-display); font-size: 56px;
  color: rgba(255, 255, 255, 0.16); letter-spacing: 4px;
}
.gallery__caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 18px 18px 16px;
  background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
}
.gallery__category {
  font-family: var(--font-display); font-size: 11px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--red); display: block;
}
.gallery__title {
  font-family: var(--font-display); font-size: 18px; font-weight: 600;
  color: #fff; margin-top: 4px; line-height: 1.2;
}
.gallery__empty {
  text-align: center; color: var(--text-muted); padding: 40px 0;
}
.gallery__cta { margin-top: 40px; text-align: center; }

/* ---------- Depoimentos ---------- */
.testimonials {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.testimonial {
  position: relative; margin: 0;
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px 24px;
  transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.testimonial:hover { transform: translateY(-3px); border-color: var(--red); }
.testimonial::before {
  content: "“";
  position: absolute; top: -8px; left: 18px;
  font-family: var(--font-display); font-size: 72px;
  color: var(--red); line-height: 1;
}
.testimonial blockquote {
  margin: 0 0 18px; font-size: 16px; color: var(--text); line-height: 1.6;
}
.testimonial figcaption {
  font-family: var(--font-display); font-size: 12px; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--text-muted);
}

/* ---------- Contato ---------- */
.section--contact { padding-bottom: 130px; }
.contact {
  display: grid; gap: 36px;
  grid-template-columns: 1fr 1.2fr;
  margin-top: 16px;
}
.contact__list {
  display: grid; gap: 18px;
}
.contact__item {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 22px;
  display: grid; gap: 6px;
}
.contact__label {
  font-family: var(--font-display); font-size: 11px; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--red);
}
.contact__value {
  font-size: 16px; color: #fff; font-weight: 500;
  word-break: break-word;
}
a.contact__value { transition: color .2s; }
a.contact__value:hover { color: var(--red-strong); }
.contact__hours {
  display: grid; gap: 4px;
}
.contact__hours li {
  display: flex; justify-content: space-between; gap: 16px;
  font-size: 14.5px; color: var(--text-dim);
}
.contact__hours li strong {
  color: #fff; font-weight: 500;
}

.contact__map {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  min-height: 340px;
}
.contact__map iframe {
  width: 100%; height: 100%; border: 0;
  position: absolute; inset: 0;
}
.contact__map--placeholder {
  display: grid; place-items: center; padding: 40px;
  color: var(--text-muted); text-align: center;
}

.contact__cta { text-align: center; margin-top: 36px; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  background: #050505;
}
.site-footer__inner {
  display: flex; flex-wrap: wrap; gap: 12px;
  align-items: center; justify-content: space-between;
  color: var(--text-muted); font-size: 13.5px;
}
.site-footer a { color: var(--text-dim); transition: color .2s; }
.site-footer a:hover { color: var(--red); }

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: #25D366; color: #0a0a0a;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 14px 38px rgba(37, 211, 102, 0.55);
}
.whatsapp-float::after {
  content: ""; position: absolute; inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.45);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0%   { transform: scale(.95); opacity: .8; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 960px) {
  .sobre__grid { grid-template-columns: 1fr; gap: 36px; }
  .teacher { grid-template-columns: 1fr; gap: 36px; }
  .contact { grid-template-columns: 1fr; }
  .contact__map { min-height: 280px; }
}

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: fixed; top: var(--header-h); right: 0; left: 0; bottom: 0;
    background: rgba(8, 8, 8, 0.98);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch; justify-content: flex-start;
    gap: 0; padding: 28px 24px 40px;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform .3s var(--ease), opacity .25s var(--ease);
    overflow-y: auto;
  }
  .primary-nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .primary-nav ul {
    flex-direction: column; gap: 4px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 18px; margin-bottom: 22px;
  }
  .primary-nav a {
    display: block; padding: 14px 4px;
    font-size: 18px; color: #fff;
    font-family: var(--font-display); letter-spacing: 1px;
  }
  .primary-nav a::after { display: none; }
  .nav__cta { align-self: flex-start; padding: 14px 22px; font-size: 14px; }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .section { padding: 80px 0; }
  .section--contact { padding-bottom: 100px; }
  .hero { padding-top: calc(var(--header-h) + 40px); }
  .hero__title { font-size: clamp(34px, 9vw, 56px); }
  .brand__tag { display: none; }
  .value-grid { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: 1fr; }
  .whatsapp-float { right: 14px; bottom: 14px; }
}

/* No-JS fallback: navegação ainda visível em telas grandes */
.no-js .primary-nav { opacity: 1 !important; pointer-events: auto !important; transform: none !important; }
