/* ==========================================================================
   Gracie Barra Santa Felicidade — landing page
   Implementação estática do design "Gracie Barra Santa Felicidade.dc.html"
   ========================================================================== */

:root {
  --red: #E1251B;
  --red-hover: #f02b20;
  --red-link-hover: #b31c14;
  --ink: #1a1716;
  --black: #0b0a0a;
  --black-soft: #121010;
  --nav-black: #0e0d0d;
  --paper: #f3f0eb;
  --snow: #fffcfa;
  --line: #e2dcd4;
  --muted: #5c5752;
  --muted-soft: #8a827b;
  --cond: "Barlow Condensed", "Arial Narrow", Helvetica, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --wrap: 1180px;
}

/* ------------------------------- Base ------------------------------------ */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Barlow, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--cond);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.95;
}

p { margin: 0; text-wrap: pretty; }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-link-hover); }
img { display: block; max-width: 100%; }
table { border-collapse: collapse; }
[hidden] { display: none !important; }

/* O cabeçalho fixo não pode cobrir o alvo das âncoras. */
section[id] { scroll-margin-top: 76px; }
#top { scroll-margin-top: 0; }
#gbk, #gb1, #gb2, #gb3, #gbf { scroll-margin-top: 88px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--red);
  color: #fff;
  font-family: var(--cond);
  text-transform: uppercase;
  font-weight: 800;
  padding: 12px 18px;
}
.skip-link:focus { left: 0; color: #fff; }

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; min-width: 0; }

/* ---------------------------- Barra utilitária --------------------------- */

.topbar {
  background: var(--red);
  color: rgba(255, 255, 255, .88);
  font-size: 13px;
  padding: 8px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  justify-content: center;
  align-items: center;
  font-weight: 500;
}
.topbar-address { color: #fff; }
.topbar-sep { opacity: .45; }
.topbar-wa, .topbar-wa:hover { color: #fff; font-weight: 700; }
.topbar-ig, .topbar-ig:hover { color: rgba(255, 255, 255, .88); }

/* ---------------------------- Cabeçalho fixo ----------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 252, 250, .96);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; flex: 0 1 auto; min-width: 0; }
.brand img { width: 40px; height: 40px; object-fit: contain; }
.brand-name {
  font-family: var(--cond);
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 800;
  line-height: .9;
  font-size: 17px;
  letter-spacing: .02em;
}
.brand-sub { color: var(--red); font-size: 13px; letter-spacing: .14em; }

.main-nav {
  flex: 1 1 auto;
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 2px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.main-nav::-webkit-scrollbar { display: none; }
.main-nav a {
  color: var(--ink);
  font-family: var(--cond);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 16px;
  padding: 8px 10px;
  white-space: nowrap;
  border-radius: 4px;
  transition: background .2s, color .2s;
}
.main-nav a:hover { background: rgba(225, 37, 27, .08); color: var(--red); }

.theme-toggle {
  flex: 0 0 auto;
  position: relative;
  z-index: 3;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  -webkit-appearance: none;
  appearance: none;
}
.theme-toggle:hover { background: rgba(225, 37, 27, .08); color: var(--red); }
.theme-toggle svg { width: 22px; height: 22px; }
.theme-icon--sun { display: none; }
html[data-theme="dark"] .theme-icon--sun { display: block; }
html[data-theme="dark"] .theme-icon--moon { display: none; }

.nav-toggle {
  display: none;
  flex: 0 0 auto;
  position: relative;
  z-index: 3;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.nav-toggle-bar {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform .2s ease, opacity .2s ease, top .2s ease;
}
.nav-toggle-bar:nth-child(1) { top: 14px; }
.nav-toggle-bar:nth-child(2) { top: 21px; }
.nav-toggle-bar:nth-child(3) { top: 28px; }
.site-header.is-nav-open .nav-toggle-bar:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}
.site-header.is-nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.site-header.is-nav-open .nav-toggle-bar:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

body.nav-locked {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
}

/* -------------------------------- Botões --------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--cond);
  text-transform: uppercase;
  font-weight: 800;
  border-radius: 3px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s;
}

.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-hover); color: #fff; }

.btn--header {
  flex: 0 0 auto;
  font-size: 16px;
  letter-spacing: .04em;
  padding: 11px 16px;
}
.btn--header:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(225, 37, 27, .45); }

.btn--lg {
  font-size: clamp(18px, 2.4vw, 22px);
  letter-spacing: .03em;
  padding: 18px 28px;
  min-height: 56px;
}
.btn--red.btn--lg:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(225, 37, 27, .5); }

.btn--ghost {
  border: 1px solid rgba(255, 255, 255, .4);
  color: #fff;
  font-weight: 700;
  padding: 18px 26px;
  letter-spacing: normal;
  transition: background .2s, border-color .2s;
}
.btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; }

.btn--ink {
  background: var(--ink);
  color: #fff;
  padding: 18px 30px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.btn--ink:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0, 0, 0, .3); color: #fff; }

.btn--xl {
  font-size: clamp(19px, 2.6vw, 24px);
  letter-spacing: .03em;
  padding: 20px 34px;
  min-height: 60px;
}
.btn--red.btn--xl:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(225, 37, 27, .5); }

/* Vale sobre qualquer :hover acima — o toque/clique sempre "assenta" o botão. */
.btn:active, .btn:active:hover { transform: translateY(0); }

/* ------------------------- Scroll reveal (com JS) ------------------------- */

/* A classe entra pelo script inline do <head>, antes da primeira pintura, para
   o conteúdo não piscar visível e sumir. Sem JS, nada disso se aplica. */
.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s cubic-bezier(.2, .7, .3, 1), transform .7s cubic-bezier(.2, .7, .3, 1);
}
.js-reveal [data-reveal][data-revealed] { opacity: 1; transform: none; }

/* --------------------------------- Hero ---------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  min-height: min(92svh, 860px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-media {
  position: absolute;
  inset: -8% 0 -8% 0;
  width: 100%;
  height: 116%;
  overflow: hidden;
  will-change: transform;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  transform-origin: 50% 40%;
  animation: heroFadeIn 1.4s ease-out both, heroKenBurns 28s ease-in-out infinite alternate;
  will-change: transform, object-position;
}

@keyframes heroFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes heroKenBurns {
  0% {
    transform: scale(1);
    object-position: 52% 44%;
  }
  100% {
    transform: scale(1.12);
    object-position: 46% 36%;
  }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(11, 10, 10, .58) 0%,
    rgba(11, 10, 10, .28) 38%,
    rgba(11, 10, 10, .72) 82%,
    rgba(11, 10, 10, .88) 100%);
}

.hero-inner {
  position: relative;
  max-width: var(--wrap);
  width: 100%;
  margin: 0 auto;
  padding: 120px 20px 48px;
}
.hero-spacer { position: relative; height: 28px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 99px;
  padding: 6px 14px 6px 8px;
  margin-bottom: 22px;
}
.badge img { width: 24px; height: 24px; object-fit: contain; }
.badge span {
  color: #fff;
  font-family: var(--cond);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .16em;
}

.hero-title {
  color: #fff;
  font-size: clamp(44px, 11vw, 104px);
  font-weight: 800;
  max-width: 15ch;
}
.hero-title .dot { color: var(--red); }

.hero-lead {
  color: #ded9d5;
  font-size: clamp(17px, 2.2vw, 21px);
  max-width: 46ch;
  margin-top: 20px;
  line-height: 1.5;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: rgba(255, 255, 255, .14);
  margin-top: 56px;
  border-top: 3px solid var(--red);
}
@media (min-width: 640px) {
  .pillars {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.pillar { background: rgba(11, 10, 10, .72); padding: 22px 20px 24px; }
.pillar h2 { color: var(--red); font-size: 22px; font-weight: 800; letter-spacing: .04em; }
.pillar p { color: #c9c4c0; font-size: 15px; margin-top: 8px; line-height: 1.45; }

/* ------------------------------- Seções ---------------------------------- */

.section { padding: clamp(64px, 9vw, 120px) 20px; }
.section--dark { background: var(--black); }
.section--light { background: var(--paper); }
.section--snow { background: var(--snow); }
.section--ink { background: var(--ink); }
.section--red { background: var(--red); padding: clamp(56px, 8vw, 96px) 20px; }
.section--depo { padding: clamp(64px, 9vw, 110px) 20px; }
#faq { padding: clamp(64px, 9vw, 110px) 20px; }

.eyebrow {
  display: block;
  color: var(--red);
  font-family: var(--cond);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: .2em;
  font-size: 14px;
  margin-bottom: 14px;
}

.section-title { font-size: clamp(32px, 5vw, 56px); font-weight: 800; }
.section-title--light { color: #fff; }

#sobre .section-title { max-width: 22ch; }
#professores { text-align: center; }
#professores .section-title { max-width: 22ch; margin-inline: auto; }
#modalidades .section-title,
#estrutura .section-title,
.section--depo .section-title { max-width: 20ch; }

.prose { color: var(--muted); font-size: 18px; line-height: 1.6; margin-top: 24px; }
.prose + .prose { margin-top: 18px; }

/* -------------------------------- Sobre ---------------------------------- */

.sobre-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border-left: 3px solid var(--red);
}
.stat { background: var(--snow); padding: clamp(24px, 4vw, 40px) 22px; }
.stat-num {
  color: var(--ink);
  font-family: var(--cond);
  font-weight: 800;
  font-size: clamp(48px, 8vw, 78px);
  line-height: 1;
}
.stat-label {
  color: var(--red);
  font-family: var(--cond);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: .12em;
  font-size: 14px;
  margin-top: 6px;
}

/* ----------------------------- Modalidades ------------------------------- */

.mod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
  gap: 18px;
  margin-top: 40px;
}

.mod-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  padding: 28px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .22s ease, box-shadow .22s ease;
}
.mod-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0, 0, 0, .1); }

.mod-card--dark { background: #fff8f6; border: 1px solid #f0d8d4; border-top: 4px solid var(--red); }
.mod-card--dark:hover { box-shadow: 0 18px 40px rgba(225, 37, 27, .12); }
.mod-card--dark h3 { color: var(--ink); }
.mod-card--dark p { color: #57514c; }

.mod-badge {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  border: 2px solid var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  font-family: var(--cond);
  font-weight: 800;
  font-size: 20px;
}
.mod-badge--sm { font-size: 19px; }

.mod-card h3 { font-size: 27px; font-weight: 800; }
.mod-card p { color: #57514c; font-size: 16px; line-height: 1.55; }

.mod-link {
  margin-top: auto;
  font-family: var(--cond);
  text-transform: uppercase;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: .04em;
  padding-top: 8px;
}

/* -------------------------- Grade de horários ---------------------------- */

.sched-head {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-end;
  justify-content: space-between;
}

.sched-toggle {
  display: flex;
  gap: 6px;
  border: 1px solid var(--line);
  padding: 4px;
  border-radius: 4px;
}
.sched-toggle-btn {
  cursor: pointer;
  border: 0;
  border-radius: 2px;
  padding: 10px 14px;
  min-height: 44px;
  font-family: var(--cond);
  text-transform: uppercase;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: .04em;
  transition: background .2s, color .2s;
  background: transparent;
  color: var(--muted);
}
.sched-toggle-btn.is-active { background: var(--red); color: #fff; }

.sched-view { margin-top: 32px; }

.sched-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
}
.sched-tabs::-webkit-scrollbar { display: none; }
.sched-tab {
  flex: 0 0 auto;
  cursor: pointer;
  border: 0;
  border-radius: 3px;
  padding: 12px 18px;
  min-height: 46px;
  font-family: var(--cond);
  text-transform: uppercase;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: .04em;
  transition: background .2s, color .2s;
  background: var(--paper);
  color: var(--ink);
}
.sched-tab.is-active { background: var(--red); color: #fff; }

.sched-days { margin-top: 18px; border-top: 3px solid var(--red); }
.sched-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  align-items: baseline;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
}
.sched-hora {
  color: var(--ink);
  font-family: var(--cond);
  font-weight: 800;
  font-size: 24px;
  min-width: 150px;
  letter-spacing: .02em;
}
.sched-turma { color: var(--muted); font-size: 17px; font-weight: 500; }

.sched-view--table { overflow-x: auto; border-top: 3px solid var(--red); }
.sched-table { width: 100%; min-width: 900px; font-size: 15px; }
.sched-table caption {
  text-align: left;
  color: #8f8a86;
  font-size: 14px;
  padding: 12px 0;
}
.sched-table thead th {
  text-align: left;
  color: var(--ink);
  font-family: var(--cond);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 15px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
.sched-table .sched-th-label { color: var(--red); letter-spacing: .12em; font-size: 14px; }
.sched-th-hora {
  text-align: left;
  color: var(--ink);
  font-family: var(--cond);
  font-weight: 800;
  font-size: 19px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.sched-table td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.4;
  color: var(--muted);
}
.sched-table td.is-empty { color: #c4bdb6; }

.sched-legend {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 10px 28px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.sched-legend p { color: var(--muted); font-size: 15px; }
.sched-legend strong { color: var(--ink); }

/* -------------------------------- Planos --------------------------------- */

.planos-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.planos-title { font-size: clamp(30px, 4.6vw, 50px); }
.planos-lead {
  color: rgba(255, 255, 255, .92);
  font-size: 19px;
  line-height: 1.55;
  margin-top: 18px;
}
.planos .btn { margin-top: 32px; }

/* ------------------------------ Professores ------------------------------ */

.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;
}

.prof-grid {
  display: grid;
  grid-template-columns: minmax(0, 280px);
  justify-content: center;
  justify-items: center;
  gap: 24px 20px;
  margin-top: 40px;
  text-align: left;
}
@media (min-width: 700px) {
  .prof-grid {
    grid-template-columns: repeat(3, minmax(0, 340px));
    gap: 28px 24px;
  }
}

.prof-card {
  margin: 0;
  position: relative;
  background: transparent;
  width: 100%;
}

.prof-photo {
  position: relative;
  overflow: hidden;
  background: #ddd;
}
.prof-photo::before,
.prof-photo::after {
  content: "";
  position: absolute;
  width: 22%;
  height: 22%;
  pointer-events: none;
  z-index: 2;
}
.prof-photo::before {
  top: 0;
  left: 0;
  border-top: 8px solid var(--red);
  border-left: 8px solid var(--red);
}
.prof-photo::after {
  right: 0;
  bottom: 0;
  border-right: 8px solid var(--red);
  border-bottom: 8px solid var(--red);
}

.prof-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 50% 12%;
  transition: transform .5s ease;
}
.prof-card:hover img { transform: scale(1.04); }

.prof-card figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 3;
  background: var(--red);
  padding: 10px 22px 12px;
}
.prof-card h3 {
  color: #fff;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 800;
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
}
.prof-role {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, .88);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

/* ------------------------------- Estrutura ------------------------------- */

.estrutura-head {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 48px;
  align-items: flex-end;
  justify-content: space-between;
}
.estrutura-head p { color: var(--muted); font-size: 17px; line-height: 1.6; max-width: 40ch; }

.mosaic {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 12px;
  margin-top: 44px;
}
.mosaic-item--wide, .pending { grid-column: span 2; }
.mosaic-item--panorama { grid-column: 1 / -1; }
/* Numa única coluna, "span 2" criaria uma coluna implícita e estouraria a tela. */
@media (max-width: 571px) {
  .mosaic-item--wide, .pending { grid-column: auto; }
}

.mosaic-item {
  margin: 0;
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: var(--black-soft);
}
.mosaic-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2, .7, .3, 1);
}
.mosaic-item--wide img { aspect-ratio: 16 / 9; }
.mosaic-item--panorama img { aspect-ratio: 5 / 2; object-position: 50% 55%; }
.mosaic-item--shield img { object-position: 50% 18%; }
.mosaic-item img:hover { transform: scale(1.04); }

.mosaic-cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 56px 20px 18px;
  background: linear-gradient(180deg, transparent, rgba(11, 10, 10, .88));
  pointer-events: none;
}
.mosaic-item--wide .mosaic-cap { padding: 60px 22px 20px; }
.mosaic-kicker {
  display: block;
  font-family: var(--cond);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: .1em;
  font-size: 13px;
  color: var(--red);
}
.mosaic-item figcaption { color: #eae7e4; font-size: 16px; line-height: 1.45; margin-top: 4px; }

.pending {
  min-width: 0;
  border: 1px dashed #d4cdc4;
  background: repeating-linear-gradient(135deg, rgba(26, 23, 22, .03) 0 9px, transparent 9px 18px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 18px;
  padding: 26px 24px;
}
.pending-item { display: flex; flex-direction: column; gap: 8px; }
.pending-tag { font-family: var(--mono); font-size: 11px; color: var(--red); letter-spacing: .14em; }
.pending-desc { font-family: var(--mono); font-size: 13px; color: #8f8a86; line-height: 1.6; }

.facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  margin-top: 48px;
  border-top: 3px solid var(--red);
}
@media (min-width: 520px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.fact { background: var(--snow); padding: 26px 22px; }
.fact h3 { color: var(--ink); font-size: 22px; font-weight: 800; }
.fact p { color: var(--muted-soft); font-size: 15px; line-height: 1.5; margin-top: 6px; }

/* ------------------------------ Depoimentos ------------------------------ */

.depo-rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 16px;
  color: #5c5752;
  font-size: 15px;
}
.depo-rating strong { color: var(--ink); font-weight: 700; }
.depo-stars {
  color: var(--red);
  letter-spacing: .08em;
  font-size: 14px;
  line-height: 1;
}
.depo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 36px;
}
@media (min-width: 700px) {
  .depo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 960px) {
  .depo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.depo-card {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.depo-card p {
  font-size: 16px;
  color: #3a3633;
  line-height: 1.55;
  flex: 1;
}
.depo-card footer {
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.depo-card cite {
  font-style: normal;
  font-family: var(--cond);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
}
.depo-card cite::after {
  content: " · Google";
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #8f8a86;
}

/* ---------------------------------- FAQ ---------------------------------- */

.faq-wrap { max-width: 900px; margin: 0 auto; }
.faq-title { font-size: clamp(30px, 4.6vw, 50px); }
.faq-list { margin-top: 36px; display: flex; flex-direction: column; gap: 0; }
.faq-item {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.faq-item:first-child { padding-top: 0; }
.faq-item h3 { color: var(--ink); font-size: 25px; font-weight: 700; }
.faq-item p { color: var(--muted); font-size: 17px; line-height: 1.6; margin-top: 8px; }

/* -------------------------------- Contato -------------------------------- */

.tagline {
  font-family: var(--cond);
  text-transform: uppercase;
  font-weight: 800;
  font-size: clamp(26px, 4.4vw, 48px);
  line-height: 1.05;
  max-width: 26ch;
  border-left: 5px solid var(--red);
  padding-left: clamp(16px, 3vw, 28px);
}

.contato-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(28px, 5vw, 56px);
  margin-top: 56px;
}
.contato-title { font-size: clamp(28px, 4vw, 42px); font-weight: 800; }
.contato-address {
  font-style: normal;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 17px;
  line-height: 1.55;
  color: #3b3733;
}
.contato-address strong {
  display: block;
  font-family: var(--cond);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 13px;
  color: #8a827b;
}
.contato-address a { font-weight: 700; }
.contato-maps {
  display: inline-flex;
  align-items: center;
  margin-top: 24px;
  font-family: var(--cond);
  text-transform: uppercase;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: .04em;
}

.map { min-width: 0; border: 1px solid var(--line); overflow: hidden; min-height: 340px; }
.map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

/* ------------------------------- CTA final ------------------------------- */

.cta-final {
  position: relative;
  overflow: hidden;
  background: var(--black);
  padding: clamp(72px, 10vw, 140px) 20px;
}
.cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.cta-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 10, 10, .75), rgba(11, 10, 10, .92));
}
.cta-inner { position: relative; max-width: 820px; margin: 0 auto; text-align: center; }
.cta-title { color: #fff; font-size: clamp(36px, 6.6vw, 76px); font-weight: 800; }
.cta-lead { color: #ded9d5; font-size: 19px; line-height: 1.55; margin-top: 18px; }
.cta-inner .btn { margin-top: 34px; }

/* -------------------------------- Rodapé --------------------------------- */

.site-footer { background: var(--ink); padding: clamp(48px, 7vw, 80px) 20px 32px; }
.footer-grid {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 36px;
}
.footer-logo { width: 168px; height: auto; }
.footer-about { color: #8f8a86; font-size: 15px; line-height: 1.6; margin-top: 18px; max-width: 34ch; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-head {
  color: #fff;
  font-family: var(--cond);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 13px;
}
.footer-col a:not(.footer-phone) { color: #b9b4b0; font-size: 16px; }
.footer-col a:not(.footer-phone):hover { color: #fff; }
.footer-address { color: #b9b4b0; font-size: 16px; line-height: 1.5; }
.footer-phone { font-size: 16px; font-weight: 700; }
.footer-hours { color: #8f8a86; font-size: 15px; margin-top: 4px; }
.footer-legal {
  max-width: var(--wrap);
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: #6e6863;
  font-size: 14px;
}

/* --------------------------- WhatsApp flutuante -------------------------- */

@keyframes gbPulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(0, 0, 0, .35), 0 0 0 0 rgba(37, 211, 102, .55); }
  50%      { box-shadow: 0 10px 30px rgba(0, 0, 0, .35), 0 0 0 14px rgba(37, 211, 102, 0); }
}

.wa-float {
  position: fixed;
  right: max(18px, env(safe-area-inset-right, 0px));
  bottom: max(18px, env(safe-area-inset-bottom, 0px));
  z-index: 60;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: gbPulse 2.8s ease-in-out infinite;
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.08); }

/* ------------------------------ Modo escuro ------------------------------ */

html[data-theme="dark"] { color-scheme: dark; }
html[data-theme="light"] { color-scheme: light; }

html[data-theme="dark"] body { background: var(--nav-black); }

html[data-theme="dark"] .topbar {
  background: var(--nav-black);
  color: #b9b4b0;
}
html[data-theme="dark"] .topbar-address { color: #fff; }
html[data-theme="dark"] .topbar-wa,
html[data-theme="dark"] .topbar-wa:hover { color: var(--red); }
html[data-theme="dark"] .topbar-ig,
html[data-theme="dark"] .topbar-ig:hover { color: #b9b4b0; }

html[data-theme="dark"] .site-header {
  background: rgba(14, 13, 13, .97);
  border-bottom-color: rgba(255, 255, 255, .08);
}
html[data-theme="dark"] .brand-name { color: #fff; }
html[data-theme="dark"] .main-nav a { color: #e9e6e4; }
html[data-theme="dark"] .main-nav a:hover { background: rgba(225, 37, 27, .15); color: #fff; }
html[data-theme="dark"] .nav-toggle { color: #fff; }
html[data-theme="dark"] .nav-toggle-bar { background: #fff; }
html[data-theme="dark"] .theme-toggle { color: #e9e6e4; }
html[data-theme="dark"] .theme-toggle:hover { background: rgba(225, 37, 27, .15); color: #fff; }

html[data-theme="dark"] .hero { background: var(--black); }
html[data-theme="dark"] .hero-scrim {
  background: linear-gradient(180deg,
    rgba(11, 10, 10, .72) 0%,
    rgba(11, 10, 10, .35) 38%,
    rgba(11, 10, 10, .9) 88%,
    var(--black) 100%);
}
html[data-theme="dark"] .hero-spacer { height: 56px; }

html[data-theme="dark"] .section--snow { background: var(--black); }
html[data-theme="dark"] #horarios.section--snow,
html[data-theme="dark"] #faq.section--snow { background: var(--ink); }
html[data-theme="dark"] .section--snow .section-title { color: #fff; }
html[data-theme="dark"] .prose { color: #b9b4b0; }

html[data-theme="dark"] .stats { background: rgba(255, 255, 255, .12); }
html[data-theme="dark"] .stat { background: var(--black-soft); }
html[data-theme="dark"] .stat-num { color: #fff; }

html[data-theme="dark"] .mod-card--dark {
  background: var(--ink);
  border: 0;
  border-top: 4px solid var(--red);
}
html[data-theme="dark"] .mod-card--dark h3 { color: #fff; }
html[data-theme="dark"] .mod-card--dark p { color: #b9b4b0; }

html[data-theme="dark"] .sched-toggle { border-color: rgba(255, 255, 255, .2); }
html[data-theme="dark"] .sched-toggle-btn { color: #b9b4b0; }
html[data-theme="dark"] .sched-tab {
  background: rgba(255, 255, 255, .07);
  color: #cfcac6;
}
html[data-theme="dark"] .sched-row { border-bottom-color: rgba(255, 255, 255, .1); }
html[data-theme="dark"] .sched-hora { color: #fff; }
html[data-theme="dark"] .sched-turma { color: #d8d3cf; }
html[data-theme="dark"] .sched-table thead th {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, .18);
}
html[data-theme="dark"] .sched-th-hora {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, .08);
}
html[data-theme="dark"] .sched-table td {
  color: #d8d3cf;
  border-bottom-color: rgba(255, 255, 255, .08);
}
html[data-theme="dark"] .sched-table td.is-empty { color: #5c5652; }
html[data-theme="dark"] .sched-legend { border-top-color: rgba(255, 255, 255, .12); }
html[data-theme="dark"] .sched-legend p { color: #b9b4b0; }
html[data-theme="dark"] .sched-legend strong { color: #fff; }

html[data-theme="dark"] .estrutura-head p { color: #b9b4b0; }
html[data-theme="dark"] .pending {
  border-color: rgba(255, 255, 255, .24);
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .04) 0 9px, transparent 9px 18px);
}
html[data-theme="dark"] .facts { background: rgba(255, 255, 255, .12); }
html[data-theme="dark"] .fact { background: var(--black); }
html[data-theme="dark"] .fact h3 { color: #fff; }
html[data-theme="dark"] .fact p { color: #8f8a86; }

html[data-theme="dark"] .faq-item { border-bottom-color: rgba(255, 255, 255, .1); }
html[data-theme="dark"] .faq-item h3 { color: #fff; }
html[data-theme="dark"] .faq-item p { color: #b9b4b0; }

/* ---------------------------- Layout responsivo -------------------------- */

@media (max-width: 1099px) {
  .nav-toggle { display: block; }

  .header-inner {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
  }
  .brand {
    position: relative;
    z-index: 2;
    flex: 1 1 auto;
    min-width: 0;
  }
  .btn--header {
    position: relative;
    z-index: 2;
    order: 2;
  }
  .theme-toggle { order: 3; }
  .nav-toggle { order: 4; }

  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0;
    padding: 96px 28px 40px;
    background: var(--snow);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease, visibility .25s ease;
  }
  html[data-theme="dark"] .main-nav { background: rgba(14, 13, 13, .97); }
  .site-header.is-nav-open {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
  }
  .site-header.is-nav-open .main-nav {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }
  .main-nav a {
    padding: 16px 4px;
    font-size: 28px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }
  html[data-theme="dark"] .main-nav a { border-bottom-color: rgba(255, 255, 255, .08); }

  .hero-inner { padding-top: 64px; padding-bottom: 40px; }
  .hero-spacer { height: 24px; }
  html[data-theme="dark"] .hero-spacer { height: 48px; }
  .hero { min-height: min(88svh, 760px); }

  .site-footer {
    padding-bottom: calc(32px + 80px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 700px) {
  .hero-actions .btn,
  .planos .btn,
  .cta-inner .btn { width: 100%; }

  .hero-title { font-size: clamp(36px, 12vw, 56px); }
  .hero-lead { font-size: 17px; }
  .hero-inner { padding-bottom: 48px; }
  .hero-spacer { height: 20px; }
  html[data-theme="dark"] .hero-spacer { height: 40px; }
  .cta-lead, .planos-lead { font-size: 17px; }

  .mosaic-item--panorama img { aspect-ratio: 16 / 9; }

  .prof-photo::before,
  .prof-photo::after {
    width: 28%;
    height: 22%;
  }
  .prof-photo::before {
    border-top-width: 6px;
    border-left-width: 6px;
  }
  .prof-photo::after {
    border-right-width: 6px;
    border-bottom-width: 6px;
  }
  .prof-card figcaption { padding: 8px 16px 10px; }
  .prof-card h3 { font-size: 22px; }
  .prof-role { font-size: 11px; }

  .sched-hora { font-size: 20px; min-width: 0; }
  .faq-item h3 { font-size: 22px; }
  .mod-card h3 { font-size: 24px; }

  .map, .map iframe { min-height: 260px; }

  .section { padding: 56px 16px; }
  .section--red { padding: 48px 16px; }
  .cta-final { padding: 64px 16px; }
}

@media (max-width: 420px) {
  .brand-name { font-size: 15px; }
  .brand-sub { font-size: 11px; letter-spacing: .08em; }
  .btn--header { padding: 10px 12px; font-size: 15px; }
  .topbar { font-size: 12px; padding: 8px 12px; }
  .topbar-sep { display: none; }
  .header-inner { padding: 8px 12px; }
  .hero-inner { padding-left: 16px; padding-right: 16px; }
  .stat-label { font-size: 12px; letter-spacing: .08em; }
}

@media (max-width: 360px) {
  .brand-name { display: none; }
}

/* ---------------------------- Movimento reduzido -------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; }
  .hero-img { opacity: 1; transform: none; }
  .prof-card img { transition: none; }
  .prof-card:hover img { transform: none; }
}
