/* ==========================================================================
   Real Krav Maga Academy — styles.css
   Fonte de verdade visual: specs/design.md · Plano: plano.md
   ========================================================================== */

/* ---------- Fontes (self-hosted, latin subset) ---------- */
@font-face {
  font-family: 'Sora';
  src: url('../assets/fonts/sora-600.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Sora';
  src: url('../assets/fonts/sora-700.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/inter-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/inter-500.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/inter-600.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* Paleta (specs/design.md, incl. regra AA aprovada 2026-08-10) */
  --c-bronze: #9E6C4B;        /* marca: ícones, bordas, títulos/números grandes */
  --c-bronze-btn: #966646;    /* fundo do botão primário (4.90:1 com branco — AA) */
  --c-bronze-dark: #6E4A32;   /* hover, links inline, texto pequeno em bronze */
  --c-ink: #1A1A1A;
  --c-body: #4A4A4A;
  --c-off: #F7F3EF;
  --c-line: #E4DCD3;
  --c-white: #FFFFFF;

  /* Tipografia fluida (plano.md §3) */
  --fs-h1: clamp(3rem, 2.47rem + 2.25vw, 4.5rem);
  --fs-h2: clamp(2rem, 1.74rem + 1.13vw, 2.75rem);
  --fs-h3: clamp(1.375rem, 1.24rem + 0.56vw, 1.75rem);
  --fs-body: clamp(1rem, 0.97rem + 0.19vw, 1.125rem);
  --fs-small: 0.875rem;
  --fs-btn: 0.9375rem;
  --fs-stat: clamp(2.5rem, 2.1rem + 1.7vw, 3.5rem);

  --font-head: 'Sora', -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, 'Segoe UI', sans-serif;

  /* Espaçamento (múltiplos de 8px) */
  --sp-1: 8px;  --sp-2: 16px; --sp-3: 24px; --sp-4: 32px;
  --sp-6: 48px; --sp-8: 64px; --sp-12: 96px; --sp-16: 128px;
  --section-pad: clamp(4rem, 2.6rem + 6vw, 8rem);

  --container: 1200px;
  --container-pad: clamp(24px, 2vw + 16px, 48px);

  --radius-ui: 8px;
  --radius-img: 12px;
  --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.06);

  --header-h: 72px;
  --fixed-top-h: 72px; /* atualizado via JS para refletir header + barra de promoção, quando presente */
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--fixed-top-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--c-body);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--c-ink);
  line-height: 1.15;
  text-wrap: balance;
  hyphens: none;
  margin: 0 0 var(--sp-2);
}
h1 { font-size: var(--fs-h1); font-weight: 700; line-height: 1.1; }
h2 { font-size: var(--fs-h2); font-weight: 700; max-width: 28ch; }
h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.25; }
p { margin: 0 0 var(--sp-2); max-width: 65ch; }
a { color: var(--c-bronze-dark); }
ul, ol { margin: 0; padding: 0; }

:focus-visible {
  outline: 3px solid var(--c-bronze-dark);
  outline-offset: 2px;
  border-radius: 2px;
}
.section--dark :focus-visible,
.hero :focus-visible { outline-color: var(--c-line); }

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

/* ---------- Utilitários ---------- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; top: -48px; left: var(--sp-2);
  background: var(--c-ink); color: var(--c-white);
  padding: 12px 20px; border-radius: 0 0 var(--radius-ui) var(--radius-ui);
  z-index: 100; transition: top 150ms ease-out;
}
.skip-link:focus { top: 0; }

.eyebrow {
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-bronze-dark);
  margin-bottom: var(--sp-1);
  max-width: none;
}
.eyebrow--on-dark { color: var(--c-line); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-1);
  font-family: var(--font-body);
  font-size: var(--fs-btn);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  padding: 15px 28px;
  border-radius: var(--radius-ui);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 150ms ease-out, color 150ms ease-out, border-color 150ms ease-out;
}
.btn--primary {
  background: var(--c-bronze-btn);
  color: var(--c-white);
  text-transform: uppercase;
}
.btn--primary:hover { background: var(--c-bronze-dark); }
.btn--outline-light {
  border-color: var(--c-white);
  color: var(--c-white);
  background: transparent;
}
.btn--outline-light:hover { background: var(--c-white); color: var(--c-ink); }
.btn--outline-dark {
  border-color: var(--c-ink);
  color: var(--c-ink);
  background: transparent;
}
.btn--outline-dark:hover { background: var(--c-ink); color: var(--c-white); }

/* ---------- Fixed top stack (promo bar + header) ---------- */
.fixed-top-stack {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
}

/* ---------- Promo bar (removable — see PROMO:AUGUST2026 markers in index.html / main.js) ---------- */
.promo-bar {
  background: var(--c-ink);
  color: var(--c-white);
}
.promo-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px var(--sp-2);
  padding: 10px var(--container-pad);
  text-align: center;
}
.promo-bar__text { margin: 0; font-size: 0.8125rem; }
.promo-bar__cta {
  color: var(--c-white);
  font-weight: 600;
  font-size: 0.8125rem;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}
.promo-bar__close {
  background: none;
  border: 0;
  color: var(--c-line);
  font-size: 1.25rem;
  line-height: 1;
  padding: 4px 8px;
  cursor: pointer;
  margin-left: 4px;
}
.promo-bar__close:hover { color: var(--c-white); }

/* ---------- Header ---------- */
.site-header {
  position: static;
  height: var(--header-h);
  background: var(--c-white);
  transition: box-shadow 200ms ease-out;
}
.site-header.scrolled { box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08); }
.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
}
.site-header__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--c-ink);
}
.site-header__brand img { width: 60px; height: 60px; }
.site-header__brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: 0.01em;
}
.site-header__brand-name em { font-style: normal; color: var(--c-bronze-dark); }

.site-nav { display: flex; align-items: center; gap: var(--sp-4); }
.site-nav__list {
  display: flex;
  gap: var(--sp-3);
  list-style: none;
}
.site-nav__list a {
  text-decoration: none;
  color: var(--c-ink);
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 8px 4px;
  transition: color 150ms ease-out;
}
.site-nav__list a:hover { color: var(--c-bronze-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 10px;
}
.nav-toggle__bar {
  display: block;
  height: 2px; width: 100%;
  background: var(--c-ink);
  transition: transform 200ms ease-out, opacity 200ms ease-out;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(92vh, 900px);
  display: flex;
  align-items: center;
  padding-top: var(--fixed-top-h);
  color: var(--c-white);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}
.hero__bg picture,
.hero__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

/* Zoom lento e contínuo ("Ken Burns") — não depende de scroll, então nunca
   corta a foto na posição errada. Cresce a partir do mesmo ponto focal do
   object-position (center 30%), então o enquadramento nunca piora, só
   "respira". Desliga com prefers-reduced-motion. */
@media (prefers-reduced-motion: no-preference) {
  .hero__bg img {
    animation: hero-kenburns 20s ease-in-out infinite alternate;
    transform-origin: center 30%;
  }
  @keyframes hero-kenburns {
    from { transform: scale(1); }
    to   { transform: scale(1.08); }
  }
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  /* Overlay medido contra a foto real do Hero: sem ele, patches claros
     (camisetas brancas) caem para ~1.1:1 de contraste com texto branco.
     Este gradiente garante AA (>=4.5:1) na zona de texto à esquerda. */
  background: linear-gradient(
    100deg,
    rgba(15, 13, 12, 0.82) 0%,
    rgba(15, 13, 12, 0.68) 32%,
    rgba(15, 13, 12, 0.38) 58%,
    rgba(15, 13, 12, 0.55) 100%
  );
}
.hero__content {
  width: 100%;
  padding-block: var(--sp-8);
}
.hero__title {
  color: var(--c-white);
  max-width: 20ch;
}
.hero__tagline {
  font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.375rem);
  font-weight: 500;
  color: var(--c-line);
  max-width: 40ch;
  margin-bottom: var(--sp-4);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

/* ---------- Seções ---------- */
.section { padding-block: var(--section-pad); }
.section--white { background: var(--c-white); }
.section--off { background: var(--c-off); }
.section--dark {
  background: var(--c-ink);
  color: var(--c-off);
}
.section--dark h2 { color: var(--c-white); }
.section--dark p { color: var(--c-off); }
.section--dark a { color: var(--c-line); }

.section-head { margin-bottom: var(--sp-6); }
.section-head--center { text-align: center; }
.section-head--center h2 { margin-inline: auto; }
.section-head__sub { max-width: 55ch; }

/* ---------- Cards ---------- */
.cards {
  display: grid;
  gap: clamp(24px, 1.5vw + 16px, 32px);
  grid-template-columns: 1fr;
}
.cards--4 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.cards--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.card {
  border-radius: var(--radius-ui);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.section--off .card { background: var(--c-white); }
.section--white .card { background: var(--c-off); }
.card__media {
  display: block;
  border-radius: var(--radius-img) var(--radius-img) 0 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.cards--3 .card__media { aspect-ratio: 4 / 3; }
.card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card__media--grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.card__media--grid picture { display: block; overflow: hidden; }

.about__media picture,
.instructor__media picture {
  display: block;
  overflow: hidden;
}
.about__media img,
.instructor__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card__media--icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 45%, rgba(158, 108, 75, 0.10), transparent 65%),
    var(--c-off);
  border-bottom: 1px solid var(--c-line);
}
.section--white .card .card__media--icon { background-color: var(--c-white); }
.card__body {
  padding: var(--sp-3);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.card__body h3 { margin-bottom: var(--sp-1); }
.card__body p { font-size: 1rem; margin-bottom: var(--sp-2); }
.card__link {
  margin-top: auto;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--c-bronze-dark);
  text-decoration: none;
}
.card__link:hover { text-decoration: underline; }
.card__link::after { content: ' →'; }

/* ---------- Belt system ---------- */
.belts {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: var(--sp-2);
  counter-reset: belt;
}
.belt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-1);
  text-align: center;
}
.belt__swatch {
  width: 100%;
  max-width: 96px;
  height: 22px;
  border-radius: 4px;
  position: relative;
}
/* costura central da faixa */
.belt__swatch::after {
  content: '';
  position: absolute;
  inset: 9px 6px auto;
  height: 1px;
  background: rgba(0, 0, 0, 0.18);
}
.belt__swatch--white  { background: #F4F1EC; border: 1px solid var(--c-line); }
.belt__swatch--white::after { background: rgba(0,0,0,0.10); }
.belt__swatch--yellow { background: #E3B93C; }
.belt__swatch--orange { background: #D07A35; }
.belt__swatch--green  { background: #4E7A4E; }
.belt__swatch--blue   { background: #3D5A80; }
.belt__swatch--brown  { background: #6B4A32; }
.belt__swatch--black  { background: var(--c-ink); }
.belt__name {
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--c-body);
}
/* seta de progressão entre faixas (desktop) */
.belt:not(:last-child) .belt__swatch::before {
  content: '';
  position: absolute;
  right: calc(-1 * var(--sp-2) + 3px);
  top: 50%;
  width: 6px; height: 6px;
  border-top: 1.5px solid var(--c-bronze);
  border-right: 1.5px solid var(--c-bronze);
  transform: translateY(-50%) rotate(45deg);
}

/* ---------- Instrutor ---------- */
.instructor__grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: var(--sp-8);
  align-items: center;
}
.instructor__name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--c-white);
}

/* ---------- Stats (social proof — somente dados reais) ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4) var(--sp-3);
  text-align: center;
}
.stat { display: flex; flex-direction: column; gap: var(--sp-1); min-width: 0; }
.stat__num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: var(--fs-stat);
  line-height: 1.05;
  color: var(--c-bronze); /* texto grande: AA ok (specs/design.md) */
}
.stat__label {
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--c-body);
}

/* ---------- Contato / formulário ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
  align-items: start;
}
.contact__address { font-style: normal; margin-top: var(--sp-3); }
.contact__map {
  margin-top: var(--sp-3);
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-img);
  overflow: hidden;
}
.contact__map iframe { display: block; width: 100%; height: 100%; }
.contact__phone {
  font-weight: 600;
  font-size: 1.125rem;
}

.form {
  background: var(--c-white);
  border-radius: var(--radius-ui);
  padding: var(--sp-4);
  box-shadow: var(--shadow-card);
}
.form__row { margin-bottom: var(--sp-3); }
.form__row--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2);
}
.form__row--split .form__row { margin-bottom: 0; }
.form__row label {
  display: block;
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--c-ink);
  margin-bottom: 6px;
}
.form__optional { font-weight: 400; color: var(--c-body); }
.form__row input,
.form__row select,
.form__row textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--c-ink);
  padding: 12px 14px;
  border: 1px solid var(--c-line);
  border-radius: 6px;
  background: var(--c-white);
  transition: border-color 150ms ease-out;
}
.form__row input:focus,
.form__row select:focus,
.form__row textarea:focus {
  outline: none;
  border-color: var(--c-bronze);
  box-shadow: 0 0 0 3px rgba(158, 108, 75, 0.18);
}
.form__row input[aria-invalid="true"],
.form__row textarea[aria-invalid="true"] { border-color: #B3261E; }
.form__error {
  color: #B3261E;
  font-size: var(--fs-small);
  margin: 6px 0 0;
  min-height: 0;
}
.form__hp { position: absolute; left: -9999px; }
.form__submit { width: 100%; }
.form__status {
  margin: var(--sp-2) 0 0;
  font-size: 0.9375rem;
  color: var(--c-ink);
}
.form__status:empty { display: none; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--c-white);
  border-top: 1px solid var(--c-line);
  padding-block: var(--sp-6) var(--sp-3);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--sp-6);
  padding-bottom: var(--sp-4);
}
.site-footer__brand img { width: 120px; height: 120px; margin-bottom: var(--sp-2); }
.site-footer__brand p { font-size: var(--fs-small); }
.site-footer__nav ul { list-style: none; display: flex; flex-direction: column; gap: var(--sp-1); }
.site-footer__nav a {
  text-decoration: none;
  color: var(--c-ink);
  font-size: 0.9375rem;
}
.site-footer__nav a:hover { color: var(--c-bronze-dark); }
.site-footer__legal {
  border-top: 1px solid var(--c-line);
  padding-top: var(--sp-3);
}
.site-footer__legal p { font-size: var(--fs-small); margin: 0; }

/* ---------- Barra fixa de CTA (mobile) ---------- */
.cta-bar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 40;
  display: none;
  gap: var(--sp-1);
  padding: 10px var(--sp-2) calc(10px + env(safe-area-inset-bottom));
  background: var(--c-white);
  border-top: 1px solid var(--c-line);
  transition: transform 200ms ease-out;
}
.cta-bar.is-hidden { transform: translateY(110%); }
.cta-bar__book { flex: 1; }
.cta-bar__call { flex: 0 0 auto; padding-inline: 16px; }

/* ---------- Placeholders de imagem (etapa 3 do plano — trocar pelas imgs de imagens.md) ---------- */
.ph {
  position: relative;
  background:
    repeating-linear-gradient(45deg, rgba(158, 108, 75, 0.06) 0 12px, transparent 12px 24px),
    var(--c-off);
  border: 1px dashed var(--c-line);
  overflow: hidden;
}
.ph--hero {
  border: 0;
  background:
    radial-gradient(120% 90% at 78% 30%, rgba(158, 108, 75, 0.28), transparent 55%),
    linear-gradient(100deg, rgba(26, 26, 26, 0.96) 35%, rgba(26, 26, 26, 0.78) 60%, rgba(58, 44, 34, 0.9) 100%);
}
.ph--43 { aspect-ratio: 4 / 3; border-radius: var(--radius-img); }
.ph--45 { aspect-ratio: 4 / 5; border-radius: var(--radius-img); }
.ph--11 { aspect-ratio: 1 / 1; }
.ph--on-dark {
  background:
    repeating-linear-gradient(45deg, rgba(247, 243, 239, 0.05) 0 12px, transparent 12px 24px),
    rgba(247, 243, 239, 0.06);
  border-color: rgba(247, 243, 239, 0.25);
}
.ph__tag {
  position: absolute;
  bottom: 8px; right: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--c-bronze-dark);
  background: rgba(255, 255, 255, 0.85);
  padding: 3px 8px;
  border-radius: 4px;
}

/* ---------- Animações de entrada (respeitando prefers-reduced-motion) ---------- */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 450ms ease-out, transform 450ms ease-out;
  }
  html.js .reveal.in {
    opacity: 1;
    transform: none;
  }
}

/* ---------- About / grids de 2 colunas ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 11fr 9fr;
  gap: var(--sp-8);
  align-items: center;
}

/* ---------- Benefits ---------- */
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 1.5vw + 16px, 40px);
}
.benefit { text-align: center; }
.benefit__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 0 auto var(--sp-2);
  border-radius: 50%;
  background: var(--c-off);
}
.benefit h3 { margin-bottom: var(--sp-1); }
.benefit p { margin: 0 auto; max-width: 32ch; }

/* ---------- Get Started: Group vs Private ---------- */
.section-head--center { text-align: center; }
.section-head--center h2 { margin-inline: auto; }
.section-head__sub--center { margin-inline: auto; }
.path-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 1.5vw + 16px, 32px);
}
.path-card {
  background: var(--c-white);
  border-radius: var(--radius-ui);
  box-shadow: var(--shadow-card);
  padding: var(--sp-4);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.path-card h3 { margin-bottom: var(--sp-1); }
.path-card p { margin-bottom: var(--sp-3); }
.path-card .btn { width: 100%; max-width: 320px; }

/* ---------- Reviews (placeholder honesto — ver comentário no HTML) ---------- */
.reviews {
  margin-top: var(--sp-6);
  text-align: center;
}
.reviews__placeholder {
  display: inline-block;
  margin: 0 auto;
  padding: 10px 20px;
  border: 1px dashed var(--c-line);
  border-radius: var(--radius-ui);
  color: var(--c-body);
  font-size: var(--fs-small);
}

/* ---------- Instructor credentials ---------- */
.instructor__credentials {
  list-style: none;
  margin: var(--sp-3) 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.instructor__credentials li {
  position: relative;
  padding-left: 26px;
  color: var(--c-off);
  font-size: 0.9375rem;
}
.instructor__credentials li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--c-bronze);
}

/* ---------- FAQ ---------- */
.faq__list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: var(--sp-2);
}
.faq__item {
  background: var(--c-white);
  border-radius: var(--radius-ui);
  box-shadow: var(--shadow-card);
  padding: 4px var(--sp-3);
}
.faq__item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 28px 16px 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  color: var(--c-ink);
  position: relative;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 14px;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--c-bronze);
  font-weight: 400;
}
.faq__item[open] summary::after { content: '−'; }
.faq__item p {
  margin: 0 0 var(--sp-2);
  font-size: 0.9375rem;
}

/* ---------- Class Schedule page ---------- */
.schedule-hero { padding-top: calc(var(--fixed-top-h) + var(--sp-8)); padding-bottom: var(--sp-6); }
.schedule-hero h1 { max-width: 22ch; }
.schedule-hero__sub {
  max-width: 60ch;
  color: var(--c-off);
  font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
}

.booking-card {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: var(--sp-6);
  background: var(--c-off);
  border-radius: var(--radius-ui);
  box-shadow: var(--shadow-card);
  padding: var(--sp-4);
}
.booking-card__main h3 { margin-bottom: var(--sp-1); }
.booking-card__price {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2.25rem;
  color: var(--c-bronze);
  margin-bottom: var(--sp-2);
}
.booking-card__price span { font-size: 1.25rem; font-weight: 600; }
.booking-card__note {
  font-size: var(--fs-small);
  margin-top: var(--sp-2);
  margin-bottom: 0;
}
.booking-card__policy {
  border-left: 1px solid var(--c-line);
  padding-left: var(--sp-4);
}
.booking-card__policy h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-ink);
  margin-bottom: var(--sp-1);
}
.booking-card__policy p {
  font-size: var(--fs-small);
  color: var(--c-body);
  margin-bottom: 0;
}

/* ==========================================================================
   Responsivo
   ========================================================================== */

/* Tablet (768–1024) */
@media (max-width: 1024px) {
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .cards--3 { grid-template-columns: repeat(2, 1fr); }
  .instructor__grid { gap: var(--sp-6); }
}

/* Mobile (<768) */
@media (max-width: 767px) {
  .site-nav {
    position: fixed;
    inset: var(--fixed-top-h) 0 0 0;
    background: var(--c-white);
    flex-direction: column;
    align-items: stretch;
    padding: var(--sp-4) var(--container-pad);
    gap: var(--sp-4);
    transform: translateX(100%);
    transition: transform 250ms ease-out;
    overflow-y: auto;
    z-index: 45;
  }
  .site-nav.open { transform: translateX(0); }
  .site-nav__list {
    flex-direction: column;
    gap: 0;
  }
  .site-nav__list a {
    display: block;
    padding: 14px 0;
    font-size: 1.125rem;
    border-bottom: 1px solid var(--c-line);
  }
  .site-nav__cta { width: 100%; }
  .nav-toggle { display: flex; }

  .hero { min-height: 72vh; }
  .hero__content { text-align: center; }
  .hero__title, .hero__tagline { margin-inline: auto; }
  .hero__actions { justify-content: center; }

  .about__grid,
  .instructor__grid,
  .contact__grid,
  .site-footer__grid,
  .booking-card {
    grid-template-columns: 1fr;
    gap: var(--sp-4);
  }
  .booking-card__policy {
    border-left: none;
    border-top: 1px solid var(--c-line);
    padding-left: 0;
    padding-top: var(--sp-3);
  }
  /* mobile: foto do instrutor antes do texto */
  .instructor__media { order: -1; max-width: 420px; }

  .cards--4, .cards--3 { grid-template-columns: 1fr; }
  .benefits__grid, .path-cards, .stats { grid-template-columns: 1fr; }
  .promo-bar__inner { padding: 8px var(--container-pad); }
  .promo-bar__text { flex-basis: 100%; }

  /* Faixas: grid 4+3 no mobile, sem setas */
  .belts { grid-template-columns: repeat(4, 1fr); row-gap: var(--sp-3); }
  .belt:not(:last-child) .belt__swatch::before { display: none; }

  .cta-bar { display: flex; }
  body { padding-bottom: 76px; }
}
