/* ==============================
   DESIGN SYSTEM
============================== */
:root {
  --black:      #0D0D0D;
  --orange:     #E8651A;
  --orange-dk:  #C4500E;
  --white:      #FFFFFF;
  --g900:       #111111;
  --g800:       #1A1A1A;
  --g700:       #2D2D2D;
  --g400:       #888888;
  --g200:       #CCCCCC;

  --font-display: 'Bebas Neue', 'Arial Black', sans-serif;
  --font-body:    'Montserrat', sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ==============================
   NAVBAR
============================== */
#nav {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 999;
  padding: 22px 0;
  transition: padding .4s ease, background .4s ease, border-color .4s ease;
  border-bottom: 1px solid transparent;
}

#nav.scrolled {
  background: rgba(13,13,13,.96);
  backdrop-filter: blur(12px);
  padding: 14px 0;
  border-color: rgba(232,101,26,.18);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 44px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--g200);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  transition: color .3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--orange);
  transition: width .3s ease;
}

.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: var(--orange) !important;
  color: var(--white) !important;
  padding: 10px 22px !important;
  border-radius: 3px;
  font-weight: 700 !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  background: var(--orange-dk) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,101,26,.3);
}

/* ==============================
   SECTION HELPERS
============================== */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 18px;
}

.section-label::before {
  content: '';
  display: block;
  width: 24px; height: 2px;
  background: var(--orange);
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 5.5vw, 76px);
  line-height: .95;
  letter-spacing: .02em;
  margin-bottom: 20px;
}

.section-text {
  font-size: 15px;
  color: var(--g400);
  line-height: 1.85;
  max-width: 540px;
}

/* ==============================
   BUTTONS
============================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  border-radius: 3px;
  transition: all .3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  padding: 15px 32px;
}

.btn-primary:hover {
  background: var(--orange-dk);
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(232,101,26,.3);
}

.btn-outline {
  color: var(--white);
  padding: 14px 32px;
  border: 1px solid rgba(255,255,255,.22);
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,.05);
}

/* ==============================
   HERO
============================== */
#hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

#hero .container {
  width: 100%;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../Fotos/fotos 31-1/@g.Dorta_InterBBT-765.jpg');
  background-size: cover;
  background-position: center 25%;
  transform: scale(1.12);
  transform-origin: center;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13,13,13,.95) 40%, rgba(13,13,13,.35) 100%),
    linear-gradient(0deg, rgba(13,13,13,.6) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 28px;
  opacity: 0;
}

.hero-tag::before {
  content: '';
  width: 28px; height: 2px;
  background: var(--orange);
  display: block;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(72px, 9.5vw, 136px);
  line-height: 1;
  letter-spacing: .02em;
  margin-bottom: 30px;
}

.hero-title .line {
  display: block;
  overflow: hidden;
}

.hero-title .line-inner {
  display: block;
  transform: translateY(200%);
}

.hero-title .accent { color: var(--orange); }

.hero-sub {
  font-size: 15px;
  font-weight: 400;
  color: var(--g200);
  line-height: 1.75;
  max-width: 440px;
  margin-bottom: 44px;
  opacity: 0;
}

.hero-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  opacity: 0;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
}

.hero-scroll-hint span {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--g400);
}

.scroll-bar {
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, var(--orange), transparent);
  animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50%       { opacity: .35; transform: scaleY(.55); }
}

/* ==============================
   SOBRE / STATS
============================== */
#sobre {
  padding: 110px 0;
  background: var(--g900);
}

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.sobre-cta { margin-top: 40px; }

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
}

.stat-card {
  background: var(--g800);
  padding: 42px 34px;
  position: relative;
  overflow: hidden;
  transition: background .35s;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--orange);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .5s ease;
}

.stat-card:hover { background: #202020; }
.stat-card:hover::before { transform: scaleY(1); }

.stat-number {
  font-family: var(--font-display);
  font-size: 68px;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--g400);
}

/* ==============================
   PROGRAMAS
============================== */
#programas {
  padding: 110px 0;
  background: var(--black);
}

.programas-head {
  margin-bottom: 56px;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}

.prog-card {
  position: relative;
  background: var(--g900);
  padding: 48px 40px;
  overflow: hidden;
  transition: background .35s;
}

.prog-card.wide { grid-column: span 2; }

.prog-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}

.prog-card:hover { background: #191919; }
.prog-card:hover::after { transform: scaleX(1); }

.prog-num {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: .12em;
  color: var(--orange);
  margin-bottom: 14px;
}

.prog-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 14px;
}

.prog-desc {
  font-size: 14px;
  color: var(--g400);
  line-height: 1.75;
}

.prog-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--orange);
  margin-top: 22px;
  opacity: 0;
  transform: translateX(-10px);
  transition: all .3s ease;
  text-decoration: none;
}

.prog-card:hover .prog-link {
  opacity: 1;
  transform: translateX(0);
}

/* ==============================
   MAP — MÉTODO
============================== */
#map {
  padding: 120px 0;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dk) 100%);
  position: relative;
  overflow: hidden;
}

#map::before {
  content: 'MAP';
  position: absolute;
  right: -160px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 360px;
  color: var(--white);
  opacity: 0.07;
  pointer-events: none;
  line-height: 1;
  user-select: none;
}

.map-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.map-copy .section-label          { color: var(--white); }
.map-copy .section-label::before  { background: var(--white); }
.map-copy .section-title          { color: var(--white); }
.map-copy .section-text           { color: var(--white); }

.map-steps { display: flex; flex-direction: column; }

.map-step {
  display: flex;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--white);
}

.map-step:last-child { border-bottom: none; }

.step-n {
  font-family: var(--font-display);
  font-size: 52px;
  color: rgba(255,255,255,.35);
  line-height: 1;
  min-width: 52px;
  transition: color .3s;
}

.map-step:hover .step-n { color: rgba(255,255,255,.8); }

.step-body h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.step-body p {
  font-size: 14px;
  color: rgba(255,255,255,.9);
  line-height: 1.65;
}

/* ==============================
   GALERIA / FESTIVAL
============================== */
#festival {
  padding: 110px 0;
  background: var(--black);
}

.gal-head {
  margin-bottom: 52px;
}

/* Gallery Filter - usa o mesmo seg-control de Parceiros */
#festival .seg-control {
  margin-bottom: 48px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 280px;
  grid-auto-flow: dense;
  gap: 4px;
}

.gal-item        { position: relative; overflow: hidden; cursor: zoom-in; border-radius: 8px; }
.gal-item.wide   { grid-column: span 2; }
.gal-item.tall   { grid-row:    span 2; }

.gal-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .7s cubic-bezier(.25,.46,.45,.94);
  will-change: transform;
}

.gal-item:hover img { transform: scale(1.06); }

.gal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,13,13,0);
  transition: background .4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gal-expand-icon {
  width: 48px; height: 48px;
  border: 2px solid rgba(255,255,255,.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(.7);
  transition: opacity .3s ease, transform .3s ease;
}

.gal-expand-icon svg {
  width: 18px; height: 18px;
  fill: none;
  stroke: white;
  stroke-width: 2;
}

.gal-item:hover .gal-overlay    { background: rgba(13,13,13,.4); }
.gal-item:hover .gal-expand-icon { opacity: 1; transform: scale(1); }

/* ==============================
   LIGHTBOX
============================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lb-img-wrap {
  position: relative;
  max-width: 90vw;
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lb-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  display: block;
  border-radius: 2px;
  box-shadow: 0 32px 80px rgba(0,0,0,.6);
  will-change: transform, opacity;
}

.lb-btn {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  background: rgba(13,13,13,.7);
  backdrop-filter: blur(8px);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color .2s, background .2s, transform .2s;
  z-index: 2010;
}

.lb-btn:hover {
  border-color: var(--orange);
  background: rgba(232,101,26,.15);
  transform: translateY(-50%) scale(1.08);
}

.lb-btn:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.lb-btn svg { width: 20px; height: 20px; stroke: white; stroke-width: 2; fill: none; }

.lb-prev { left: 20px; }
.lb-next { right: 20px; }

.lb-close {
  position: fixed;
  top: 20px; right: 20px;
  width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  background: rgba(13,13,13,.7);
  backdrop-filter: blur(8px);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2010;
  transition: border-color .2s, background .2s;
}

.lb-close:hover {
  border-color: var(--orange);
  background: rgba(232,101,26,.15);
}

.lb-close:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 50%;
}

.lb-close svg { width: 18px; height: 18px; stroke: white; stroke-width: 2; fill: none; }

.lb-counter {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  color: rgba(255,255,255,.5);
  z-index: 2010;
  white-space: nowrap;
}

.lb-caption {
  position: fixed;
  bottom: 44px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  color: rgba(255,255,255,.7);
  z-index: 2010;
  white-space: nowrap;
  max-width: 80vw;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==============================
   LOAD MORE
============================== */
.gal-load-wrap {
  text-align: center;
  padding: 48px 0 0;
}

.btn-load-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.22);
  padding: 15px 40px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  border-radius: 3px;
  cursor: pointer;
  transition: border-color .3s, background .3s, transform .2s, opacity .3s;
}

.btn-load-more:hover:not(:disabled) {
  border-color: var(--orange);
  color: var(--orange);
  background: rgba(232,101,26,.06);
}

.btn-load-more:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.btn-load-more:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.btn-load-more .spinner {
  width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,.25);
  border-top-color: var(--white);
  border-radius: 50%;
  display: none;
  animation: spin .7s linear infinite;
  flex-shrink: 0;
}

.btn-load-more.loading .spinner { display: block; }
.btn-load-more.loading .btn-label { opacity: .6; }

@keyframes spin { to { transform: rotate(360deg); } }

.gal-end-msg {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 48px 0 0;
  opacity: 0;
}

.gal-end-msg.visible {
  display: flex;
}

.gal-end-line {
  width: 40px; height: 2px;
  background: var(--orange);
  border-radius: 2px;
}

.gal-end-text {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--g400);
}

.gal-end-icon {
  font-size: 28px;
  line-height: 1;
}

button.gal-item {
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  display: block;
}

button.gal-item:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  z-index: 1;
}

/* ==============================
   UNIDADES
============================== */
#unidades {
  padding: 110px 0;
  background: var(--g900);
}

.unidades-head { margin-bottom: 56px; }

.unidades-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
}

.unidade-card {
  background: var(--g800);
  padding: 32px 36px;
  position: relative;
  overflow: hidden;
  transition: background .35s;
}

.unidade-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform .4s ease;
}

.unidade-card:hover { background: #202020; }
.unidade-card:hover::before { transform: scaleX(1); }

/* Cabeçalho do card */
.unidade-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.unidade-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 8px;
  flex-shrink: 0;
  background: var(--white);
  padding: 4px;
}

.unidade-logo--placeholder {
  background: var(--g700);
  border: 1px dashed #444;
  padding: 0;
}

.unidade-meta { flex: 1; min-width: 0; }

.unidade-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.unidade-addr {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  font-size: 13px;
  color: var(--g700);
  line-height: 1.5;
}

.unidade-addr svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--g700);
}

.addr-detail { color: var(--g400); }

.unidade-map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--orange);
  text-decoration: none;
  padding: 7px 14px;
  border: 1px solid rgba(232,101,26,.3);
  border-radius: 6px;
  transition: background .25s, border-color .25s;
  margin-top: 20px;
}

.unidade-map-link:hover {
  background: rgba(232,101,26,.08);
  border-color: rgba(232,101,26,.6);
}

/* Divisor */
.unidade-divider {
  height: 1px;
  background: var(--g700);
  margin-bottom: 18px;
}

/* Turmas */
.turmas-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--g400);
  margin-bottom: 12px;
}

.chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: flex;
  flex-direction: column;
  padding: 8px 14px;
  border-radius: 8px;
  line-height: 1.45;
  background: var(--white);
  border: 1px solid var(--g400);
}

.chip-age {
  font-size: 12px;
  font-weight: 700;
  color: var(--g900);
  margin-bottom: 3px;
}

.chip-schedule {
  font-size: 11px;
  color: var(--g700);
}

/* Competição — único destaque em laranja para destacar do resto */
.chip-comp { border-left: 3px solid var(--orange); }
.chip-comp .chip-age { color: var(--orange); }

/* As classes de categoria ainda existem mas herdam o visual padrão */
.chip-kids, .chip-teen, .chip-adult, .chip-fem { }

/* ==============================
   FOOTER
============================== */
footer {
  background: var(--g900);
  border-top: 1px solid var(--g700);
  padding: 64px 0 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 56px;
}

.footer-logo img {
  height: 52px;
  display: block;
  margin-bottom: 22px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--g400);
  line-height: 1.75;
  max-width: 272px;
}

.footer-col h4 {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  color: var(--g400);
  text-decoration: none;
  font-size: 14px;
  transition: color .3s;
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid var(--g700);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-size: 12px;
  color: var(--g400);
}

.footer-social {
  display: flex;
  gap: 10px;
}

.soc-link {
  width: 36px; height: 36px;
  border: 1px solid var(--g700);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--g400);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  transition: all .3s;
}

.soc-link:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: rgba(232,101,26,.08);
}

/* ==============================
   ANIMATION BASE STATES
============================== */
.reveal         { opacity: 0; transform: translateY(44px); }
.reveal-left    { opacity: 0; transform: translateX(-44px); }
.reveal-right   { opacity: 0; transform: translateX(44px); }
.reveal-scale   { opacity: 0; transform: scale(.94); }

/* ==============================
   WCAG 2.1 AA — ACESSIBILIDADE
============================== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  background: var(--orange);
  color: var(--white);
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 0 0 4px 4px;
  transition: top .2s;
}

.skip-link:focus {
  top: 0;
}

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

:focus:not(:focus-visible) {
  outline: none;
}

.hamburger:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
  border-radius: 3px;
}

.mobile-nav a:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 6px;
  border-radius: 2px;
}

.btn:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 3px;
}

.soc-link:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 50%;
}

/* ==============================
   HAMBURGER
============================== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .35s ease, opacity .35s ease;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(13,13,13,.98);
  backdrop-filter: blur(16px);
  z-index: 998;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}

.mobile-nav.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav a {
  font-family: var(--font-display);
  font-size: 44px;
  letter-spacing: .04em;
  color: var(--white);
  text-decoration: none;
  transition: color .25s;
  line-height: 1.1;
}

.mobile-nav a:hover { color: var(--orange); }

.mobile-nav .mobile-cta {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: var(--orange);
  color: var(--white) !important;
  padding: 14px 36px;
  border-radius: 3px;
  margin-top: 20px;
}

/* ==============================
   RESPONSIVE — 1024px
============================== */
@media (max-width: 1024px) {
  .container { padding: 0 24px; }
  .nav-links { gap: 20px; }
  .nav-links a { font-size: 11px; }
  .sobre-grid { gap: 52px; }
  .programs-grid { grid-template-columns: repeat(2, 1fr); }
  .prog-card.wide { grid-column: span 2; }
  .map-grid { gap: 52px; }
  #map::before { font-size: 240px; right: -60px; }
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 220px;
  }
  .gal-item.wide { grid-column: span 2; }
  .gal-item.tall { grid-row: span 1; }
  .lb-prev { left: 10px; }
  .lb-next { right: 10px; }
  .footer-top { gap: 40px; }
}

/* ==============================
   RESPONSIVE — 768px
============================== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: flex; }
  #hero { min-height: 100svh; align-items: flex-end; padding-bottom: 100px; }
  .hero-gradient {
    background:
      linear-gradient(0deg, rgba(13,13,13,1) 0%, rgba(13,13,13,.75) 50%, rgba(13,13,13,.4) 100%);
  }
  .hero-content { max-width: 100%; }
  .hero-title { font-size: clamp(56px, 13vw, 86px); margin-bottom: 20px; }
  .hero-sub { font-size: 14px; max-width: 100%; margin-bottom: 32px; }
  .hero-scroll-hint { display: none; }
  .sobre-grid { grid-template-columns: 1fr; gap: 48px; }
  .sobre-grid .stats-grid { order: -1; }
  #sobre { padding: 80px 0; }
  .stat-number { font-size: 52px; }
  .stat-card { padding: 32px 26px; }
  .section-title { font-size: clamp(38px, 9vw, 56px); }
  #programas { padding: 80px 0; }
  .programs-grid { grid-template-columns: 1fr; }
  .prog-card.wide { grid-column: span 1; }
  .prog-card { padding: 36px 28px; }
  .prog-link { opacity: 1; transform: translateX(0); }
  #map { padding: 80px 0; }
  .map-grid { grid-template-columns: 1fr; gap: 48px; }
  #map::before { display: none; }
  .map-copy .section-text { max-width: 100%; }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 200px;
  }
  .gal-item.wide { grid-column: span 2; }
  .gal-item.tall { grid-row: span 1; }
  .lb-btn { width: 42px; height: 42px; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
  #unidades { padding: 80px 0; }
  .unidades-grid { grid-template-columns: 1fr; }
  .unidade-card { padding: 28px 24px; }
  .unidade-card-header { flex-wrap: wrap; row-gap: 12px; }
  .unidade-logo { width: 80px; height: 80px; }
  .unidade-meta { flex: 1 1 0; min-width: 0; }
  .unidade-map-link { align-self: flex-start; }
  footer { padding: 52px 0 32px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; margin-bottom: 40px; }
  .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
}

/* ==============================
   RESPONSIVE — 480px
============================== */
@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .nav-logo img { height: 36px; }
  .mobile-nav a { font-size: 34px; }
  #hero { padding-bottom: 72px; }
  .hero-tag { font-size: 10px; margin-bottom: 20px; }
  .hero-title { font-size: clamp(48px, 14vw, 68px); line-height: .9; }
  .hero-sub { font-size: 13px; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 12px; }
  .btn { padding: 14px 26px; font-size: 12px; width: 100%; justify-content: center; }
  #sobre, #programas, #map, #festival, #unidades { padding: 64px 0; }
  .unidade-card { padding: 22px 18px; }
  .unidade-name { font-size: 15px; }
  .unidade-addr { font-size: 12px; color: var(--g700);}
  .chip { padding: 7px 10px; }
  .chip-age { font-size: 11px; }
  .chip-schedule { font-size: 10px; }
  .section-title { font-size: clamp(34px, 11vw, 48px); }
  .section-text { font-size: 14px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-number { font-size: 44px; }
  .stat-card { padding: 24px 20px; }
  .prog-card { padding: 28px 22px; }
  .prog-title { font-size: 18px; }
  .step-n { font-size: 38px; min-width: 40px; }
  .step-body h4 { font-size: 15px; }
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .gal-item, .gal-item.wide, .gal-item.tall { height: 220px; grid-column: span 1; grid-row: span 1; border-radius: 6px; }
  .lb-img { max-width: 96vw; max-height: 78vh; }
  .lb-prev { left: 4px; }
  .lb-next { right: 4px; }
  .lb-caption { display: none; }
  .footer-logo img { height: 44px; }
  .footer-tagline { max-width: 100%; }
}

@media (hover: none) {
  .prog-link { opacity: 1; transform: translateX(0); }
  .btn-primary:hover { transform: none; box-shadow: none; }
  .nav-cta:hover { transform: none !important; box-shadow: none !important; }
}

/* ══════════════════════════════
   LIGHT THEME OVERRIDES
   UI Kit Light — BBT Academia
══════════════════════════════ */

/* ── Body ── */
body {
  background: #FFFFFF;
  color: var(--black);
}

/* ── Navbar ──
   Transparente sobre o hero (continuidade com a foto)
   Scrolled: branco com blur, links escuros */
#nav {
  background: transparent;
  border-bottom-color: transparent;
}

/* Links e hamburger brancos sobre o hero escuro */
.nav-links a {
  color: rgba(255,255,255,.88);
}

.nav-links a:hover {
  color: var(--white);
}

/* Hamburger lines: branco sobre hero */
.hamburger span {
  background: var(--white);
}

/* Ao rolar: nav fica branca com links escuros */
#nav.scrolled {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-color: rgba(0,0,0,.08);
}

#nav.scrolled .nav-links a {
  color: var(--g700);
}

#nav.scrolled .nav-links a:hover {
  color: var(--black);
}

#nav.scrolled .hamburger span {
  background: var(--black);
}

/* ── Section text ──
   Era --g400 (#888), agora --g700 (#2D2D2D) */
.section-text {
  color: var(--g700);
}

/* ── Btn outline ── dark border para seções claras */
.btn-outline {
  color: var(--black);
  border: 1px solid rgba(0,0,0,.22);
}

.btn-outline:hover {
  border-color: rgba(0,0,0,.55);
  background: rgba(0,0,0,.04);
}

/* Exceção: hero tem overlay escuro, outline fica branco */
#hero .btn-outline {
  color: var(--white);
  border: 1px solid rgba(255,255,255,.28);
}

#hero .btn-outline:hover {
  border-color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.06);
}

/* ── Hero ──
   O hero sempre tem overlay escuro sobre a foto,
   então todo o texto dentro dele deve ser branco */
#hero .hero-tag {
  color: var(--orange);
}

#hero .hero-title {
  color: var(--white);
}

#hero .hero-title .accent {
  color: var(--orange);
}

#hero .hero-sub {
  color: rgba(255,255,255,.82);
}

#hero .hero-scroll-hint {
  color: rgba(255,255,255,.45);
}

/* ── Sobre / Stats ──
   Seção: #F5F5F5 · Cards: branco com borda leve */
#sobre {
  background: #F5F5F5;
}

.sobre-grid .section-title {
  color: var(--black);
}

.stat-card {
  background: #FFFFFF;
  box-shadow: inset 0 0 0 1px #E8E8E8;
}

.stat-card:hover {
  background: #EFEFEF;
  box-shadow: inset 0 0 0 1px #E0E0E0;
}

/* ── Programas ──
   Seção: branco · Cards: #F5F5F5 · Título: dark */
#programas {
  background: #FFFFFF;
}

.prog-card {
  background: #F5F5F5;
}

.prog-card:hover {
  background: #EBEBEB;
}

.prog-title {
  color: var(--black);
}

/* ── Galeria ──
   Seção: #F5F5F5 · Overlay hover mais sutil no claro */
#festival {
  background: #F5F5F5;
}

.gal-item:hover .gal-overlay {
  background: rgba(0,0,0,.28);
}

/* ── Load More (galeria) ── dark text/border */
.btn-load-more {
  color: var(--black);
  border-color: rgba(0,0,0,.22);
}

.btn-load-more:hover:not(:disabled) {
  border-color: var(--orange);
  color: var(--orange);
}

.btn-load-more .spinner {
  border-color: rgba(0,0,0,.18);
  border-top-color: var(--black);
}

.gal-end-text {
  color: var(--g700);
}

/* ── Unidades ──
   Seção: branco · Cards: #F5F5F5 · Nome: dark */
#unidades {
  background: #FFFFFF;
}

.unidade-card {
  background: #F5F5F5;
}

.unidade-card:hover {
  background: #EBEBEB;
}

.unidade-name {
  color: var(--black);
}

/* ── Footer ── permanece escuro (contraste intencional) */
footer {
  background: var(--g900);
  border-top-color: var(--g700);
}

.footer-col a:hover {
  color: var(--white);
}

/* ── Foco em BTN — override para fundo claro ── */
.btn:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

/* ── Responsive light overrides ── */
@media (max-width: 768px) {
  /* Hamburger em mobile no tema claro */
  .hamburger span {
    background: var(--white);
  }
}

/* ==============================
   BOTÃO FLUTUANTE WHATSAPP
============================== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: var(--white);
  text-decoration: none;
  padding: 14px 22px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .03em;
  box-shadow: 0 6px 24px rgba(37,211,102,.4);
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(37,211,102,.5);
  background: #1ebd5a;
}

.whatsapp-float svg {
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .whatsapp-float {
    bottom: 18px;
    right: 18px;
    padding: 14px;
    border-radius: 50%;
    font-size: 0;
    gap: 0;
  }
  .whatsapp-float span { display: none; }
}

/* ==============================
   SEÇÃO PARCEIROS
============================== */
#parceiros {
  padding: 110px 0;
  background: #F5F5F5;
}

.parceiros-head {
  margin-bottom: 48px;
}

.seg-control {
  display: flex;
  background: #E8E8E8;
  border-radius: 6px;
  overflow: hidden;
  max-width: 480px;
  margin-bottom: 40px;
}

.seg-btn {
  flex: 1;
  padding: 14px 20px;
  background: transparent;
  border: none;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--g700);
  cursor: pointer;
  transition: background .3s, color .3s;
  position: relative;
}

.seg-btn.active {
  background: var(--orange);
  color: var(--white);
}

@media (hover: hover) {
  .seg-btn:hover:not(.active) {
    background: #DCDCDC;
  }
}

.seg-btn:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: -3px;
  border-radius: 4px;
}

.seg-panel {
  display: none;
  background: #FFFFFF;
  border-radius: 6px;
  padding: 48px 44px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

.seg-panel.active {
  display: block;
}

.seg-panel h3 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  line-height: .95;
  letter-spacing: .02em;
  color: var(--black);
  margin-bottom: 18px;
}

.seg-panel p {
  font-size: 15px;
  color: var(--g700);
  line-height: 1.85;
  max-width: 620px;
  margin-bottom: 14px;
}

.seg-panel ul {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.seg-panel ul li {
  font-size: 14px;
  color: var(--g700);
  line-height: 1.7;
  padding-left: 22px;
  position: relative;
}

.seg-panel ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

.parceiros-cta {
  margin-top: 36px;
}

@media (max-width: 768px) {
  #parceiros { padding: 80px 0; }
  .seg-control { max-width: 100%; }
  .seg-btn { font-size: 12px; padding: 12px 14px; }
  .seg-panel { padding: 32px 24px; }
}

@media (max-width: 480px) {
  #parceiros { padding: 64px 0; }
  .seg-control { flex-direction: column; }
  .seg-btn { padding: 14px; }
  .seg-panel { padding: 24px 18px; }
}
