/* Gracie Barra Djalma Batista — site da unidade */

:root {
  --red: #c8102e;
  --red-strong: #a50d26;
  --red-soft: #e8384f;
  --ink: #0c0c0e;
  --ink-2: #141418;
  --ink-3: #1d1d22;
  --line-dark: rgba(255, 255, 255, 0.1);
  --paper: #ffffff;
  --paper-2: #f5f4f1;
  --text: #17171a;
  --text-muted: #5d5d66;
  --text-on-dark: #f3f3f5;
  --muted-on-dark: #a8a8b3;
  --line: #e4e2dd;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(12, 12, 14, 0.06), 0 12px 32px -12px rgba(12, 12, 14, 0.18);
  --font-display: 'Barlow Condensed', 'Arial Narrow', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.005em;
  margin: 0 0 0.5em;
}

h2 {
  font-size: clamp(2.1rem, 4.2vw, 3.2rem);
  text-transform: uppercase;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin: 0 0 1em;
}

svg {
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

svg.icon-fill {
  fill: currentColor;
  stroke: none;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.narrow {
  max-width: 820px;
}

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

.skip-link:focus {
  top: 12px;
}

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

[hidden] {
  display: none !important;
}

/* Botões */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 46px;
  padding: 0.7em 1.35em;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font: 600 0.95rem/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.2s,
    color 0.2s,
    border-color 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(200, 16, 46, 0.7);
}

.btn-primary:hover {
  background: var(--red-strong);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.btn-outline:hover {
  border-color: var(--text);
}

.btn-sm {
  min-height: 40px;
  padding: 0.5em 1.1em;
  font-size: 0.9rem;
}

.btn-lg {
  min-height: 54px;
  padding: 0.85em 1.6em;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.65;
  cursor: progress;
  transform: none;
}

/* Cabeçalho */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  color: #fff;
  transition:
    background-color 0.25s,
    box-shadow 0.25s,
    backdrop-filter 0.25s;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(12, 12, 14, 0.88);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 1px 0 var(--line-dark);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand img {
  width: 44px;
  height: 44px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  text-transform: uppercase;
  line-height: 1;
}

.brand-text strong {
  font-size: 1.2rem;
  letter-spacing: 0.04em;
}

.brand-text span {
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  color: var(--red-soft);
  font-weight: 700;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav a {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition:
    color 0.2s,
    background-color 0.2s;
}

.nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.nav .nav-login {
  margin-left: 6px;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.menu-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition:
    transform 0.25s,
    opacity 0.2s;
}

.menu-toggle span:nth-child(1) {
  top: 15px;
}
.menu-toggle span:nth-child(2) {
  top: 21px;
}
.menu-toggle span:nth-child(3) {
  top: 27px;
}

.is-open .menu-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.is-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}
.is-open .menu-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Abertura */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
  color: var(--text-on-dark);
  padding: calc(var(--header-h) + 56px) 0 56px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 70% at 78% 40%, rgba(200, 16, 46, 0.35), transparent 70%),
    radial-gradient(40% 50% at 10% 100%, rgba(200, 16, 46, 0.12), transparent 70%), var(--ink);
}

.hero-band {
  position: absolute;
  top: -20%;
  right: -12%;
  width: 46%;
  height: 140%;
  background: linear-gradient(160deg, var(--red) 0%, var(--red-strong) 100%);
  transform: skewX(-14deg);
  opacity: 0.9;
}

.hero-band::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 -22px;
  width: 10px;
  background: rgba(255, 255, 255, 0.85);
}

.hero-band::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 -44px;
  width: 10px;
  background: rgba(255, 255, 255, 0.35);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 48px;
  min-height: min(640px, calc(100svh - var(--header-h) - 200px));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted-on-dark);
  margin-bottom: 22px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red-soft);
  box-shadow: 0 0 0 4px rgba(232, 56, 79, 0.25);
}

.hero h1 {
  font-size: clamp(2.7rem, 6.4vw, 5.2rem);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.95;
  margin-bottom: 24px;
}

.hero h1 em {
  display: block;
  font-style: italic;
  color: var(--red-soft);
}

.lead {
  font-size: clamp(1.02rem, 1.4vw, 1.15rem);
  color: var(--muted-on-dark);
  max-width: 560px;
  margin-bottom: 32px;
}

.lead strong {
  color: #fff;
  font-weight: 600;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-ctas .btn-primary svg {
  transition: transform 0.2s;
}

.hero-ctas .btn-primary:hover svg {
  transform: translateX(3px);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
  color: var(--muted-on-dark);
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-points li::before {
  content: '';
  width: 14px;
  height: 3px;
  background: var(--red-soft);
  border-radius: 2px;
}

.hero-emblem {
  position: relative;
  width: min(100%, 440px);
  aspect-ratio: 1;
  justify-self: center;
}

.hero-emblem::before {
  content: '';
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.55), transparent 70%);
  filter: blur(18px);
  transform: translateY(18px);
}

.emblem-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  stroke: none;
  animation: spin 60s linear infinite;
}

.ring-outer {
  fill: #fff;
}

.ring-inner {
  fill: var(--red);
}

.ring-text {
  fill: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 30px;
  letter-spacing: 0.12em;
}

.emblem-logo {
  position: absolute;
  inset: 19%;
  width: 62%;
  height: 62%;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.35));
}

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

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 56px 0 0;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  background: rgba(20, 20, 24, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.stats > div {
  padding: 22px 24px;
}

.stats > div + div {
  border-left: 1px solid var(--line-dark);
}

.stats dt {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.1;
}

.stats dd {
  margin: 4px 0 0;
  font-size: 0.88rem;
  color: var(--muted-on-dark);
}

/* Seções */

.section {
  padding: clamp(72px, 9vw, 112px) 0;
}

.section-soft {
  background: var(--paper-2);
}

.section-dark {
  background: var(--ink);
  color: var(--text-on-dark);
}

.section-head {
  max-width: 680px;
  margin-bottom: 48px;
}

.section-head p:last-child {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.section-dark .section-head p:last-child {
  color: var(--muted-on-dark);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}

.kicker::before {
  content: '';
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: currentColor;
}

.section-dark .kicker {
  color: var(--red-soft);
}

/* Programas */

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

.program {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}

.program::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--red);
}

.program:hover {
  transform: translateY(-4px);
  box-shadow:
    0 1px 2px rgba(12, 12, 14, 0.06),
    0 24px 48px -18px rgba(12, 12, 14, 0.28);
}

.program-featured {
  background: var(--ink);
  color: var(--text-on-dark);
  border-color: var(--ink);
}

.program-tag {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(200, 16, 46, 0.1);
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.program-featured .program-tag {
  background: rgba(232, 56, 79, 0.18);
  color: #ff8a99;
}

.program h3 {
  font-size: 2.3rem;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.program p {
  color: var(--text-muted);
}

.program-featured p {
  color: var(--muted-on-dark);
}

.program ul {
  list-style: none;
  padding: 0;
  margin: 4px 0 24px;
  display: grid;
  gap: 8px;
}

.program li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.94rem;
  font-weight: 500;
}

.program li::before {
  content: '';
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E")
      center / 12px no-repeat,
    var(--red);
}

.program-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--red);
  text-decoration: none;
}

.program-featured .program-link {
  color: #ff8a99;
}

.program-link::after {
  content: '→';
  transition: transform 0.2s;
}

.program-link:hover::after {
  transform: translateX(4px);
}

/* Metodologia */

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: center;
}

.split-copy p {
  color: var(--muted-on-dark);
  font-size: 1.04rem;
}

.split-copy strong {
  color: #fff;
}

.split-copy .btn {
  margin-top: 12px;
}

.pillars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.pillar {
  padding: 26px 24px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--ink-3), var(--ink-2));
}

.pillar svg {
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: 10px;
  background: rgba(200, 16, 46, 0.16);
  color: #ff8a99;
  margin-bottom: 16px;
}

.pillar h3 {
  font-size: 1.35rem;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.pillar p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--muted-on-dark);
}

/* Horários */

.schedule {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 16px;
}

.day {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  overflow: hidden;
}

.day h3 {
  margin: 0;
  padding: 14px 18px;
  font-size: 1.25rem;
  text-transform: uppercase;
  background: var(--ink);
  color: #fff;
}

.day.is-today h3 {
  background: var(--red);
}

.day ul {
  list-style: none;
  margin: 0;
  padding: 6px 0;
}

.day li {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  padding: 10px 18px;
  font-size: 0.92rem;
}

.day li + li {
  border-top: 1px solid var(--line);
}

.day time {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.day .class-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.day .class-name i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.day small {
  display: block;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.schedule-empty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, rgba(200, 16, 46, 0.06), transparent 60%), var(--paper-2);
}

.schedule-empty h3 {
  font-size: 1.7rem;
  text-transform: uppercase;
}

.schedule-empty p {
  color: var(--text-muted);
  margin: 0;
  max-width: 520px;
}

.schedule-empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
}

/* Professores, planos e galeria */

.instructors {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: 20px;
}

.instructor {
  border-radius: var(--radius-lg);
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
}

.instructor-photo {
  aspect-ratio: 4 / 5;
  background: var(--ink-3);
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
}

.instructor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.instructor-body {
  padding: 18px 20px 22px;
}

.instructor-body h3 {
  font-size: 1.4rem;
  margin-bottom: 2px;
  text-transform: uppercase;
}

.instructor-belt {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--red);
  margin-bottom: 8px;
}

.instructor-body p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0;
}

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 20px;
}

.plan {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.plan h3 {
  font-size: 1.6rem;
  text-transform: uppercase;
}

.plan-price {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  margin: 4px 0 6px;
}

.plan-price small {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

.plan p {
  color: var(--text-muted);
  font-size: 0.93rem;
}

.plan .btn {
  margin-top: auto;
}

/* Carrossel de fotos: rolagem com encaixe (funciona no toque sem JavaScript) e botões. */

.gallery-section {
  overflow: hidden;
}

.gallery-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.gallery-head .section-head {
  margin-bottom: 40px;
}

.carousel-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-shrink: 0;
}

.carousel-count {
  margin: 0 10px 0 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
}

.carousel-btn {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--text);
  cursor: pointer;
  transition:
    background-color 0.2s,
    color 0.2s,
    border-color 0.2s;
}

.carousel-btn:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.carousel-btn svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.2;
}

.carousel {
  /* Alinha a primeira foto com o conteúdo da página e deixa as demais sangrarem até a borda. */
  --edge: max(20px, calc((100vw - 1200px) / 2 + 20px));
}

.carousel-track {
  position: relative;
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--edge);
  padding: 6px var(--edge) 10px;
  scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-track:focus-visible {
  outline-offset: -3px;
}

.slide {
  position: relative;
  flex: 0 0 auto;
  height: clamp(280px, 40vw, 460px);
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink-3);
  box-shadow: var(--shadow);
  scroll-snap-align: start;
}

.slide img {
  height: 100%;
  width: auto;
  max-width: min(86vw, 860px);
  object-fit: cover;
  transition: transform 0.6s ease;
}

.slide:hover img {
  transform: scale(1.03);
}

.slide figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 48px 20px 16px;
  background: linear-gradient(180deg, transparent, rgba(8, 8, 10, 0.78));
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  pointer-events: none;
}

.slide-zoom {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
}

.slide-zoom:focus-visible {
  outline-offset: -4px;
  border-radius: inherit;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 2px;
  margin-top: 18px;
}

.carousel-dots button {
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.carousel-dots button::before {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #cdcac3;
  transition:
    width 0.3s,
    background-color 0.3s;
}

.carousel-dots button[aria-current='true']::before {
  width: 28px;
  background: var(--red);
}

.gallery-foot {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

/* Foto ampliada */

.lightbox {
  width: min(96vw, 1100px);
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  overflow: visible;
}

.lightbox::backdrop {
  background: rgba(8, 8, 10, 0.88);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.lightbox figure {
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 14px;
}

.lightbox img {
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  border-radius: var(--radius);
  object-fit: contain;
}

.lightbox figcaption {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.lightbox-close {
  position: absolute;
  top: -56px;
  right: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
}

.lightbox-close svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.2;
}

/* Primeira aula */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 30px 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-dark);
  background: var(--ink-2);
}

.step-n {
  display: block;
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--red-soft);
  margin-bottom: 14px;
}

.step h3 {
  font-size: 1.6rem;
  text-transform: uppercase;
}

.step p {
  margin: 0;
  color: var(--muted-on-dark);
}

/* Agendamento */

.booking {
  background:
    radial-gradient(60% 80% at 0% 0%, rgba(200, 16, 46, 0.08), transparent 70%), var(--paper);
}

.booking-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 56px;
  align-items: start;
}

.booking-copy {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}

.booking-copy > p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 14px;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 500;
}

.contact-list svg {
  width: 40px;
  height: 40px;
  padding: 10px;
  border-radius: 50%;
  background: rgba(200, 16, 46, 0.1);
  color: var(--red);
}

.contact-list a {
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
}

.card {
  padding: clamp(22px, 3.5vw, 36px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.form {
  position: relative;
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  gap: 16px;
}

.form-row-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field {
  display: grid;
  gap: 6px;
}

.field > span {
  font-size: 0.87rem;
  font-weight: 600;
}

.field small {
  font-weight: 400;
  color: var(--text-muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.field textarea {
  resize: vertical;
  min-height: 96px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(200, 16, 46, 0.12);
}

.field [aria-invalid='true'] {
  border-color: var(--red);
  background: #fff7f8;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
  cursor: pointer;
}

.check input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--red);
  flex-shrink: 0;
}

.check a {
  color: var(--red);
}

.form-error {
  margin: 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fff1f3;
  color: var(--red-strong);
  font-size: 0.92rem;
  font-weight: 500;
}

.form-success {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px;
  border-radius: inherit;
  background: var(--paper);
}

.form-success:focus {
  outline: none;
}

.form-success svg {
  width: 64px;
  height: 64px;
  padding: 14px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  stroke-width: 2.6;
  margin-bottom: 18px;
}

.form-success h3 {
  font-size: 2rem;
  text-transform: uppercase;
}

.form-success p {
  color: var(--text-muted);
  max-width: 360px;
}

/* Dúvidas */

.faq {
  display: grid;
  gap: 12px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: box-shadow 0.2s;
}

.faq details[open] {
  box-shadow: var(--shadow);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--paper-2);
  color: var(--red);
  font-size: 1.2rem;
  font-weight: 500;
  transition: transform 0.25s;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--text-muted);
}

.faq details a {
  color: var(--red);
}

/* Localização */

.location {
  background: var(--paper);
}

.location-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 48px;
  align-items: center;
}

.location-copy > p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 10;
  background: var(--paper-2);
}

.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Rodapé */

.site-footer {
  background: var(--ink);
  color: var(--muted-on-dark);
  padding: 56px 0 28px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line-dark);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand strong {
  display: block;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.footer-brand p {
  margin: 0;
  font-size: 0.9rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
}

.footer-nav a {
  text-decoration: none;
  font-size: 0.92rem;
}

.footer-nav a:hover,
.footer-bottom a:hover {
  color: #fff;
}

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

.footer-social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
  color: #fff;
  transition:
    background-color 0.2s,
    border-color 0.2s;
}

.footer-social a:hover {
  background: var(--red);
  border-color: var(--red);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 22px;
  font-size: 0.85rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  text-decoration: none;
  color: #fff;
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom));
  z-index: 40;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 12px 28px -8px rgba(37, 211, 102, 0.7);
  transition: transform 0.2s;
}

.whatsapp-float:hover {
  transform: scale(1.06);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
}

/* Animação de entrada */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .emblem-ring {
    animation: none;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Responsivo */

@media (max-width: 1080px) {
  .nav a:not(.nav-login) {
    padding: 8px 9px;
  }
}

@media (max-width: 960px) {
  :root {
    --header-h: 64px;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px 20px 24px;
    background: rgba(12, 12, 14, 0.97);
    border-bottom: 1px solid var(--line-dark);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.2s,
      transform 0.2s,
      visibility 0.2s;
  }

  .is-open .nav {
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .nav a,
  .nav a:not(.nav-login) {
    padding: 14px 12px;
    font-size: 1.05rem;
  }

  .nav .nav-login {
    margin: 8px 0 0;
    text-align: center;
  }

  .header-actions {
    margin-left: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    min-height: 0;
  }

  .hero-emblem {
    width: min(78vw, 340px);
    order: -1;
  }

  .hero-band {
    width: 70%;
    right: -40%;
    opacity: 0.55;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats > div:nth-child(3) {
    border-left: 0;
  }

  .stats > div:nth-child(n + 3) {
    border-top: 1px solid var(--line-dark);
  }

  .programs,
  .steps {
    grid-template-columns: 1fr;
  }

  .split,
  .booking-inner,
  .location-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .booking-copy {
    position: static;
  }

  .schedule-empty {
    flex-direction: column;
    align-items: flex-start;
  }

  .slide {
    height: clamp(240px, 62vw, 340px);
  }
}

@media (max-width: 600px) {
  .brand-text strong {
    font-size: 1.05rem;
  }

  .header-actions .btn-sm {
    display: none;
  }

  .hero {
    padding-top: calc(var(--header-h) + 32px);
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .stats > div {
    padding: 18px 16px;
  }

  .stats dt {
    font-size: 1.3rem;
  }

  .pillars,
  .form-row-2 {
    grid-template-columns: 1fr;
  }

  .schedule-empty {
    padding: 24px;
  }

  .schedule-empty-actions,
  .schedule-empty-actions .btn,
  .location-actions .btn {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  /* No celular a navegação é pelo toque e pelos indicadores. */
  .carousel-controls {
    display: none;
  }

  .carousel-track {
    gap: 12px;
  }

  .whatsapp-float {
    width: 54px;
    height: 54px;
    right: 16px;
  }
}
