/* =========================================================
   BASE Dance Studio — design system
   Subject: k-pop & street dance studio (Brazil).
   Palette pulls from the rehearsal room: marley floor, studio
   mirror, and the two colors of gaffer spacing-tape dancers
   use to mark the floor. Type pairs a condensed signage face
   (posters, crew branding) with a clean geometric body face,
   plus a mono face for counts and cue sheets.
   ========================================================= */

:root {
  --floor: #121316;
  --floor-raised: #1b1d21;
  --mirror: #ecedef;
  --tape-yellow: #f4c10f;
  --tape-magenta: #e23f86;
  --tape-magenta-ink: #a61e5c;
  --concrete: #6a6b72;
  --concrete-ink: #3a3b40;
  --whatsapp: #3fae72;

  --display: "Big Shoulders Display", ui-sans-serif, system-ui, sans-serif;
  --body: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --mono: "Space Mono", ui-monospace, SFMono-Regular, monospace;

  --wrap: 1180px;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--mirror);
  color: var(--concrete-ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--tape-yellow); color: var(--floor); padding: 10px 16px;
  border-radius: 8px; font-weight: 700; transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 3px solid var(--tape-yellow);
  outline-offset: 2px;
  border-radius: 4px;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.94;
  margin: 0;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tape-magenta-ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: currentColor;
}
.on-dark .eyebrow { color: var(--tape-yellow); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.lede {
  font-size: 19px;
  color: var(--concrete-ink);
  max-width: 46ch;
}
.on-dark .lede { color: #c9cbd1; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--body);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--tape { background: var(--tape-yellow); color: var(--floor); }
.btn--tape:hover { background: #ffd23f; }
.btn--outline-dark { border-color: rgba(255,255,255,0.35); color: #fff; }
.btn--outline-dark:hover { border-color: #fff; }
.btn--outline { border-color: var(--concrete-ink); color: var(--concrete-ink); }
.btn--outline:hover { border-color: var(--floor); background: var(--floor); color: #fff; }
.btn--whatsapp { background: var(--whatsapp); color: #fff; }
.btn--whatsapp:hover { background: #379e65; }
.btn--block { width: 100%; justify-content: center; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--floor);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-header__row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
  gap: 20px;
}
.wordmark { display: flex; align-items: center; gap: 12px; }
.wordmark__logo {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--tape-yellow);
  flex-shrink: 0;
}
.wordmark__text { display: flex; flex-direction: column; gap: 1px; }
.wordmark__mark {
  font-family: var(--display);
  font-weight: 900;
  font-size: 24px;
  text-transform: uppercase;
  color: var(--tape-yellow);
  letter-spacing: 0.01em;
  line-height: 1;
}
.wordmark__mark--footer { color: var(--floor); font-size: 26px; }
.wordmark__tagline {
  font-family: var(--mono);
  font-size: 12px;
  color: #9a9ca3;
  text-transform: lowercase;
  display: none;
}
@media (min-width: 640px) { .wordmark__tagline { display: inline; } }

.site-nav {
  display: flex; align-items: center; gap: 28px;
  font-weight: 600; font-size: 14.5px; color: #d7d8dc;
}
.site-nav a:not(.btn) { padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav a:not(.btn):hover,
.site-nav a:not(.btn)[aria-current="page"] { border-color: var(--tape-yellow); color: #fff; }
.site-nav__cta { margin-left: 4px; padding: 10px 18px; font-size: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; border-radius: 8px;
  background: transparent; border: 1px solid rgba(255,255,255,0.2);
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: #fff; margin: 0 auto; }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--floor);
    flex-direction: column; align-items: flex-start;
    padding: 10px 24px 22px;
    display: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .site-nav.is-open { display: flex; }
  .site-nav__cta { margin-left: 0; margin-top: 6px; }
}

/* ---------- hero + formation grid signature ---------- */
.hero {
  position: relative;
  background: var(--floor);
  color: #fff;
  overflow: hidden;
  padding: 88px 0 96px;
}
.hero__grid {
  position: absolute; inset: 0;
  opacity: 0.9;
}
.formation {
  position: absolute; inset: 0;
}
.formation__dot {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--tape-yellow);
  transform: translate(-50%, -50%);
  transition: left 1.8s cubic-bezier(.65,0,.35,1), top 1.8s cubic-bezier(.65,0,.35,1), background 1.8s ease;
  box-shadow: 0 0 0 6px rgba(244,193,15,0.12);
}
.formation__dot:nth-child(3n+2) { background: var(--tape-magenta); box-shadow: 0 0 0 6px rgba(226,63,134,0.12); }
.formation__dot:nth-child(4n+3) { background: #6d6f78; box-shadow: none; }

.hero__inner {
  position: relative; z-index: 2;
  padding-top: 40px;
}
.hero h1 {
  font-size: clamp(52px, 9vw, 108px);
}
.hero h1 span { display: block; }
.hero h1 span:nth-child(2) { color: var(--tape-yellow); }
.hero__lede { margin-top: 22px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__cue {
  margin-top: 56px;
  font-family: var(--mono);
  color: #7d7f87;
  font-size: 13px;
  letter-spacing: 0.08em;
}

/* ---------- sections ---------- */
.section { padding: 84px 0; }
.section--tight { padding: 64px 0; }
.on-dark { background: var(--floor); color: #fff; }
.on-raised { background: var(--floor-raised); color: #fff; }

.section__head { max-width: 640px; margin-bottom: 48px; }
.section__head h2 { font-size: clamp(34px, 5vw, 52px); }

/* ---------- sobre ---------- */
.sobre { display: grid; gap: 48px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .sobre { grid-template-columns: 1.1fr 0.9fr; align-items: center; } }
.sobre__mini-formation {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--floor);
  border-radius: var(--radius);
}

/* ---------- aulas (count-cue rows) ---------- */
.aulas-list { display: grid; gap: 2px; background: rgba(255,255,255,0.08); border-radius: var(--radius); overflow: hidden; }
.aula-row {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 22px;
  align-items: center;
  background: var(--floor);
  padding: 26px 28px;
}
.aula-row__count {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 40px;
  color: var(--tape-yellow);
  line-height: 1;
}
.aula-row:nth-child(2n) .aula-row__count { color: var(--tape-magenta); }
.aula-row__name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 22px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.aula-row__desc { color: #b9bac1; font-size: 15px; max-width: 56ch; }
@media (max-width: 560px) {
  .aula-row { grid-template-columns: 1fr; gap: 8px; }
  .aula-row__count { font-size: 28px; }
}

/* ---------- horários (schedule table) ---------- */
.schedule { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 14.5px; }
.schedule caption { text-align: left; margin-bottom: 18px; }
.schedule th, .schedule td { text-align: left; padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.schedule th { color: #8f9096; font-weight: 400; text-transform: uppercase; letter-spacing: 0.08em; font-size: 12px; }
.schedule td:first-child { color: var(--tape-yellow); font-weight: 700; }
.schedule-wrap { overflow-x: auto; }

/* ---------- eventos ---------- */
.eventos { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .eventos { grid-template-columns: 1fr 1fr; align-items: center; } }
.eventos__card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius);
  padding: 28px;
}
.eventos__card + .eventos__card { margin-top: 16px; }
.eventos__card h3 { font-size: 19px; text-transform: none; font-family: var(--body); font-weight: 800; margin-bottom: 6px; }
.eventos__card p { color: var(--concrete); font-size: 15px; }

/* ---------- gallery placeholder (fotos / videos) ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 700px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery__tile {
  aspect-ratio: 1;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--floor-raised), var(--floor));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px;
  color: #82838a;
  font-family: var(--mono);
  font-size: 12px;
  text-align: center;
  padding: 12px;
  border: 1px dashed rgba(255,255,255,0.14);
}
.gallery__tile svg { width: 26px; height: 26px; opacity: 0.6; }
.gallery__tile:nth-child(3n+1) { background: linear-gradient(135deg, #201421, var(--floor)); }
.gallery__tile--photo {
  padding: 0;
  border: none;
  overflow: hidden;
  display: block;
  position: relative;
}
.gallery__tile--photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.gallery__tile--photo:hover img { transform: scale(1.05); }
.gallery__note {
  margin-top: 28px;
  color: var(--concrete);
  font-size: 14px;
}

.video-embed {
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  background: var(--floor);
  display: flex; align-items: center; justify-content: center;
  color: #82838a;
  font-family: var(--mono);
  font-size: 13px;
  border: 1px dashed rgba(255,255,255,0.14);
  overflow: hidden;
}
.video-embed--real {
  aspect-ratio: 9/16;
  max-height: 560px;
  border: none;
  background: #000;
}
.video-embed--real video {
  width: 100%; height: 100%;
  object-fit: contain;
}

/* ---------- contact ---------- */
.contact-grid { display: grid; gap: 48px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 0.9fr 1.1fr; } }

.contact-card {
  background: var(--floor);
  color: #fff;
  border-radius: var(--radius);
  padding: 32px;
}
.contact-card__item { display: flex; flex-direction: column; gap: 2px; margin-bottom: 22px; }
.contact-card__item:last-child { margin-bottom: 0; }
.contact-card__label { font-family: var(--mono); font-size: 12px; color: #8f9096; text-transform: uppercase; letter-spacing: 0.08em; }
.contact-card__value { font-size: 16px; font-weight: 600; }

.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%;
  border: 2px solid #e2e0d8;
  background: #fff;
  border-radius: 10px;
  padding: 12px 14px;
  font-family: var(--body);
  font-size: 15px;
  color: var(--concrete-ink);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--floor); outline: none; }
.field--honey { position: absolute; left: -9999px; top: -9999px; }
.field-note { font-size: 13px; color: var(--concrete); margin-top: -8px; margin-bottom: 20px; }

.form-message { padding: 14px 18px; border-radius: 10px; margin-bottom: 24px; font-weight: 600; font-size: 14.5px; }
.form-message--ok { background: #e4f4ea; color: #1f6b41; }
.form-message--err { background: #fbe6e6; color: #a3312f; }

/* ---------- footer ---------- */
.site-footer { background: var(--mirror); border-top: 1px solid rgba(0,0,0,0.08); padding: 48px 0 0; }
.site-footer__row { display: grid; gap: 28px; grid-template-columns: 1fr; padding-bottom: 32px; }
@media (min-width: 780px) { .site-footer__row { grid-template-columns: 1.2fr 1fr 1fr; } }
.site-footer__brand p { color: var(--concrete); font-size: 14px; margin-top: 6px; }
.site-footer__nav, .site-footer__social { display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; font-weight: 600; }
.site-footer__legal { border-top: 1px solid rgba(0,0,0,0.08); padding: 18px 0; }
.site-footer__legal p { color: var(--concrete); font-size: 13px; }

/* ---------- whatsapp floating button ---------- */
.whatsapp-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--whatsapp);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  transition: transform .15s ease;
}
.whatsapp-fab:hover { transform: scale(1.06); }
.whatsapp-fab svg { width: 28px; height: 28px; fill: #fff; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { background: var(--floor); color: #fff; padding: 64px 0 56px; }
.page-hero h1 { font-size: clamp(38px, 6vw, 60px); }
.page-hero .lede { margin-top: 16px; }
