/* =====================================================
   WAKANDA TRAINING — Design System
   Minimalist Luxury adapted for High Performance
   ===================================================== */

:root {
  /* Colors */
  --bg: #0A0A0A;
  --surface: #161616;
  --surface-2: #1C1C1C;
  --text: #F5F5F5;
  --text-muted: #A3A3A3;
  --gold: #F5C518;
  --gold-soft: rgba(245, 197, 24, 0.15);
  --border: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.2);

  /* Typography */
  --font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --tracking: 0.03em;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  /* Lines */
  --line: 1px;
  --line-thick: 1.5px;

  /* Radius */
  --radius: 6px;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

ul, ol {
  list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 400;
  letter-spacing: var(--tracking);
  line-height: 1.25;
  color: var(--text);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }

p {
  color: var(--text-muted);
  max-width: 65ch;
}

.lead {
  font-size: 1.125rem;
  font-weight: 300;
  letter-spacing: 0.02em;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--space-md);
  }
}

.section {
  padding: var(--space-xl) 0;
}

.section-sm {
  padding: var(--space-lg) 0;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: var(--line) solid var(--border);
  height: 64px;
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
}

.logo span {
  color: var(--gold);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 50%;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .logo-img {
    width: 40px;
    height: 40px;
  }
}


/* Hamburger */
.hamburger {
  width: 28px;
  height: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 130;
}

.hamburger span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--text);
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(9.25px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-9.25px) rotate(-45deg);
}

/* Mobile Nav */
.nav-mobile {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 105;
  display: flex;
  flex-direction: column;
  /* Always top-aligned: centering on tall narrow desktop windows hid "Início" above the fold */
  justify-content: flex-start;
  align-items: center;
  gap: 1.1rem;
  padding: 88px 1.5rem 3rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-mobile.open {
  opacity: 1;
  visibility: visible;
}

.nav-mobile a {
  font-size: 1.2rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--text);
  padding: 0.4rem 0.75rem;
  border-bottom: var(--line) solid transparent;
  flex-shrink: 0;
}

.nav-mobile a:hover,
.nav-mobile a.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* Desktop Nav */
.nav-desktop {
  display: none;
  gap: 1.15rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-desktop a {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  position: relative;
  white-space: nowrap;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.25s ease;
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--text);
}

.nav-desktop a:hover::after,
.nav-desktop a.active::after {
  width: 100%;
}

@media (min-width: 900px) {
  .hamburger { display: none; }
  .nav-desktop { display: flex; }
  .nav-mobile { display: none; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  border: var(--line-thick) solid var(--gold);
  border-radius: var(--radius);
  background: transparent;
  color: var(--gold);
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
}

.btn:hover {
  background: var(--gold);
  color: var(--bg);
}

.btn-solid {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}

.btn-solid:hover {
  background: transparent;
  color: var(--gold);
}

.btn-ghost {
  border-color: var(--border-strong);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--text);
  background: transparent;
  color: var(--text);
}

.btn-sm {
  padding: 0.6rem 1.25rem;
  font-size: 0.8rem;
}

/* Cards */
.card {
  background: var(--surface);
  border: var(--line) solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.card:hover {
  border-color: var(--border-strong);
}

.card-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  display: block;
  background: #111;
}

.card-body {
  padding: var(--space-md);
}

/* Homepage modality overlay cards */
a.card-overlay {
  display: block;
  position: relative;
  text-decoration: none;
  color: inherit;
  border-color: var(--border);
}

a.card-overlay:hover {
  border-color: var(--gold);
}

a.card-overlay .card-img {
  aspect-ratio: 3 / 4;
  transition: transform 0.4s ease;
}

a.card-overlay:hover .card-img {
  transform: scale(1.04);
}

.card-overlay-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.25rem 1rem 1.1rem;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(10, 10, 10, 0.55) 35%,
    rgba(10, 10, 10, 0.92) 100%
  );
  pointer-events: none;
}

.card-overlay-content h3 {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
  margin: 0 0 0.25rem;
  letter-spacing: 0.02em;
}

.card-overlay-content p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.35;
}

/* Anchor offset for fixed header when linking to modality sections */
#crossfit,
#musculacao,
#kickboxing,
#zumba,
#kids,
#jiujitsu,
#judo {
  scroll-margin-top: 88px;
}

/* Hero */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: 64px;
  position: relative;
  overflow: hidden;
  background: #0a0a0a;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-slide img,
.hero-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    105deg,
    rgba(10, 10, 10, 0.92) 0%,
    rgba(10, 10, 10, 0.75) 45%,
    rgba(10, 10, 10, 0.45) 100%
  );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.55s ease, transform 0.55s ease;
  pointer-events: auto;
}

/* Photo slides: hide text so poster content is readable */
.hero.hero--photo .hero-content {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}

.hero.hero--photo .hero-overlay {
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.15) 0%,
    rgba(10, 10, 10, 0.2) 70%,
    rgba(10, 10, 10, 0.55) 100%
  );
}

.hero-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 0.5rem;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(245, 197, 24, 0.5);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s;
}

.hero-dot.active {
  background: var(--gold);
  border-color: var(--gold);
}

@media (max-width: 768px) {
  .hero {
    min-height: 85vh;
  }
  .hero-slide img,
  .hero-slide video {
    object-position: center 20%;
  }
  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(10, 10, 10, 0.55) 0%,
      rgba(10, 10, 10, 0.85) 55%,
      rgba(10, 10, 10, 0.95) 100%
    );
  }
  .hero.hero--photo .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(10, 10, 10, 0.1) 0%,
      rgba(10, 10, 10, 0.15) 70%,
      rgba(10, 10, 10, 0.45) 100%
    );
  }
}

.hero-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-sm);
  border: var(--line) solid var(--gold-soft);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
}

.hero h1 {
  margin-bottom: var(--space-md);
}

.hero p {
  margin-bottom: var(--space-lg);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Sections common */
.section-header {
  margin-bottom: var(--space-lg);
  text-align: center;
}

.section-header h2 {
  margin-bottom: 0.75rem;
}

.section-header p {
  margin: 0 auto;
}

/* Grid */
.grid-2 {
  display: grid;
  gap: var(--space-md);
}

.grid-3 {
  display: grid;
  gap: var(--space-md);
}

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

/* Footer */
.footer {
  border-top: var(--line) solid var(--border);
  padding: var(--space-xl) 0 var(--space-lg);
  margin-top: var(--space-2xl);
}

.footer-grid {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer h4 {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.footer a {
  display: block;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

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

.footer-bottom {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: var(--line) solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* WhatsApp floating (optional) */
.wa-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.2s ease;
}

.wa-float:hover {
  transform: scale(1.08);
}

.wa-float svg {
  width: 28px;
  height: 28px;
  fill: white;
}

/* Utility */
.text-gold { color: var(--gold); }
.text-center { text-align: center; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }

/* Google Maps embed */
.map-embed {
  border: var(--line) solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--surface);
}

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

/* Contacto page images (Unsplash) */
.contacto-hero-img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
  display: block;
  border: var(--line) solid var(--border);
  background: #0a0a0a;
}

@media (min-width: 768px) {
  .contacto-hero-img {
    max-height: 480px;
    aspect-ratio: 21 / 9;
  }
}

.contacto-espaco-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
  display: block;
  border: var(--line) solid var(--border);
  background: #0a0a0a;
}

.contacto-espaco-img--wide {
  aspect-ratio: 21 / 9;
  max-height: 360px;
}

.contacto-espaco-grid {
  gap: 1rem;
}

/* Product card specific */
.product-card img {
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
}

.product-price {
  font-size: 1.1rem;
  color: var(--gold);
  font-weight: 500;
  margin: 0.5rem 0;
}

/* Schedule table (legacy) */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.schedule-table th,
.schedule-table td {
  padding: 0.85rem 1rem;
  border-bottom: var(--line) solid var(--border);
  text-align: left;
}

.schedule-table th {
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 0.04em;
  font-size: 0.8rem;
  text-transform: uppercase;
}

/* Mobile-first schedule — day cards */
.schedule-days {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .schedule-days {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .schedule-days {
    grid-template-columns: repeat(3, 1fr);
  }
}

.schedule-day-title {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.02em;
}

.schedule-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.schedule-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  padding: 0.45rem 0;
  border-bottom: var(--line) solid var(--border);
  font-size: 0.9rem;
  color: var(--text);
}

.schedule-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.schedule-list li span {
  color: var(--text-muted);
  font-size: 0.85rem;
  min-width: 7.5rem;
}

/* Page hero small */
.page-hero {
  padding: calc(64px + var(--space-xl)) 0 var(--space-lg);
  border-bottom: var(--line) solid var(--border);
}

.page-hero h1 {
  margin-bottom: 0.75rem;
}

.sobre-hero-img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
  display: block;
  border: var(--line) solid var(--border);
}

.sobre-historia-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
  display: block;
  border: var(--line) solid var(--border);
}

.espaco-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
  display: block;
  border: var(--line) solid var(--border);
}

.experiencia-img {
  width: 100%;
  max-width: 720px;
  max-height: 420px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
  display: block;
  margin: 0 auto 0.5rem;
  border: var(--line) solid var(--border);
}

.projetos-hero-img {
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  object-position: center;
  border-radius: var(--radius);
  display: block;
  border: var(--line) solid var(--border);
  background: #0a0a0a;
}

/* Loja hero — product collage (portrait) */
.loja-hero-img {
  width: 100%;
  height: auto;
  max-height: 75vh;
  object-fit: contain;
  object-position: center;
  border-radius: var(--radius);
  display: block;
  border: var(--line) solid var(--border);
  background: #0a0a0a;
}

@media (min-width: 768px) {
  .loja-hero-img {
    max-height: 640px;
  }
}

/* Eventos hero — community group (landscape) */
.eventos-hero-img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
  display: block;
  border: var(--line) solid var(--border);
  background: #0a0a0a;
}

@media (min-width: 768px) {
  .eventos-hero-img {
    max-height: 480px;
    aspect-ratio: 21 / 9;
  }
}

/* Card image variants for square campaign / poster flyers */
.card-img--square {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
}

.card-img--poster {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
}

.projetos-section-img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  object-position: center;
  display: block;
  border-radius: var(--radius) var(--radius) 0 0;
  background: #0a0a0a;
}

.transformacao-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
  display: block;
  border: var(--line) solid var(--border);
}

/* Resultados page */
.resultados-hero-img {
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  object-position: center;
  border-radius: var(--radius);
  display: block;
  border: var(--line) solid var(--border);
  background: #0a0a0a;
}

@media (min-width: 768px) {
  .resultados-hero-img {
    max-height: 560px;
  }
}

.resultado-poster {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  object-position: center;
  border-radius: var(--radius);
  display: block;
  border: var(--line) solid var(--border);
  background: #0a0a0a;
}

.resultados-gallery {
  gap: 1rem;
}

@media (min-width: 768px) {
  .resultados-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .resultados-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

.resultados-cta-img {
  width: 100%;
  max-width: 420px;
  height: auto;
  max-height: 480px;
  object-fit: contain;
  object-position: center;
  border-radius: var(--radius);
  display: block;
  margin: 0 auto 1.5rem;
  border: var(--line) solid var(--border);
  background: #0a0a0a;
}

.projetos-cta-img {
  width: 100%;
  max-width: 480px;
  max-height: 420px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
  display: block;
  margin: 0 auto 0.5rem;
  border: var(--line) solid var(--border);
}

.horario-hero-img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius);
  display: block;
  border: var(--line) solid var(--border);
  background: #0a0a0a;
}

@media (min-width: 768px) {
  .horario-hero-img {
    aspect-ratio: 2 / 1;
    object-fit: cover;
    object-position: center 30%;
    max-height: 480px;
  }
}

.horario-cta-img {
  width: 100%;
  max-width: 720px;
  max-height: 400px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
  display: block;
  margin: 0 auto 0.5rem;
  border: var(--line) solid var(--border);
}

/* =====================================================
   CART DRAWER
   ===================================================== */

.cart-trigger {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-trigger svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  background: var(--gold);
  color: var(--bg);
  font-size: 0.7rem;
  font-weight: 500;
  border-radius: 999px;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cart-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 400px;
  height: 100%;
  background: var(--bg);
  border-left: var(--line) solid var(--border);
  z-index: 210;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: var(--line) solid var(--border);
}

.cart-header h3 {
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.03em;
}

.cart-close {
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem;
}

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.5rem;
}

.cart-empty {
  text-align: center;
  color: var(--text-muted);
  padding: 3rem 1rem;
  font-size: 0.95rem;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: var(--line) solid var(--border);
  gap: 1rem;
}

.cart-item-name {
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.cart-item-price {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.qty-btn {
  width: 28px;
  height: 28px;
  border: var(--line) solid var(--border);
  background: transparent;
  color: var(--text);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s;
}

.qty-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.qty-value {
  min-width: 24px;
  text-align: center;
  font-size: 0.9rem;
}

.remove-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0 0.25rem;
  line-height: 1;
}

.remove-btn:hover {
  color: #e55;
}

.cart-footer {
  padding: 1.25rem 1.5rem;
  border-top: var(--line) solid var(--border);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

.cart-total-row strong {
  color: var(--gold);
  font-weight: 500;
}

.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.checkout-form input,
.checkout-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--surface);
  border: var(--line) solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}

.checkout-form input:focus,
.checkout-form textarea:focus {
  border-color: var(--gold);
}

.checkout-form textarea {
  resize: vertical;
  min-height: 60px;
}

.checkout-form label {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: -0.4rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

/* PT | EN — always visible (outside hamburger) */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  height: 28px;
}

.lang-toggle button {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 0 0.55rem;
  height: 100%;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s, background 0.2s;
}

.lang-toggle button + button {
  border-left: 1px solid var(--border);
}

.lang-toggle button:hover {
  color: var(--text);
}

.lang-toggle button.active {
  color: var(--bg, #0a0a0a);
  background: var(--gold);
}


/* Banner hero visual */
.banner-section {
  padding: 0;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.banner-wrap {
  max-width: 1400px;
  margin: 0 auto;
}

.banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 420px;
  object-position: center;
}

@media (max-width: 768px) {
  .banner-img {
    max-height: 220px;
    object-position: center top;
  }
}


/* =====================================================
   WhatsApp lead forms (perguntas + inscrição)
   ===================================================== */
.form-shell {
  max-width: 520px;
  margin: 0 auto;
  background: var(--surface);
  border: var(--line) solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem 1.5rem;
}

.wa-form .form-row {
  margin-bottom: 1rem;
}

.wa-form label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.wa-form input,
.wa-form select,
.wa-form textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.wa-form input:focus,
.wa-form select:focus,
.wa-form textarea:focus {
  border-color: var(--gold);
}

.wa-form textarea {
  resize: vertical;
  min-height: 88px;
}

.wa-form select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23A3A3A3' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2rem;
}

.form-note {
  margin-top: 0.85rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

.form-note a {
  color: var(--gold);
}

.wa-form input.invalid,
.wa-form select.invalid,
.wa-form textarea.invalid {
  border-color: #c45c5c;
}

#perguntas {
  scroll-margin-top: 88px;
}


/* Inscrição page visuals */
.inscricao-hero-img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
  display: block;
  border: var(--line) solid var(--border);
  background: #0a0a0a;
}

@media (min-width: 768px) {
  .inscricao-hero-img {
    max-height: 480px;
    aspect-ratio: 21 / 9;
  }
}

.inscricao-layout {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 900px) {
  .inscricao-layout {
    grid-template-columns: 1fr 280px;
    gap: 2.5rem;
  }
}

.inscricao-aside {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.inscricao-aside-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius);
  display: block;
  border: var(--line) solid var(--border);
  background: #0a0a0a;
}

.inscricao-aside-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 899px) {
  .inscricao-aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .inscricao-aside-text {
    grid-column: 1 / -1;
  }
}


/* Price tables & packs */
.table-wrap {
  overflow-x: auto;
  border: var(--line) solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.price-table th,
.price-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.price-table th {
  background: rgba(212, 175, 55, 0.08);
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.03em;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.price-table tr:last-child td {
  border-bottom: none;
}

.price-table tr.highlight td {
  background: rgba(212, 175, 55, 0.06);
}

.badge-popular {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.15rem 0.45rem;
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--gold);
  border-radius: 999px;
  vertical-align: middle;
}

.price-label {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.price-card .product-price {
  margin-bottom: 0.25rem;
}

.card-img--poster {
  object-fit: contain;
  object-position: center;
  background: #0a0a0a;
  aspect-ratio: 3 / 4;
}

/* Inscrição — docs merged into form */
.inscricao-docs {
  margin: 1.25rem 0 1.5rem;
  padding: 1rem 1.1rem;
  border: var(--line) solid var(--border);
  border-radius: var(--radius);
  background: var(--surface, #161616);
}

.inscricao-docs-title {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text);
  margin: 0 0 0.75rem;
}

.inscricao-docs-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.inscricao-docs-list li {
  font-size: 0.9rem;
  color: var(--text);
  padding-left: 1.1rem;
  position: relative;
}

.inscricao-docs-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.inscricao-docs-list li span {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.inscricao-docs-list li.docs-bonus {
  color: var(--gold);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

@media (max-width: 480px) {
  .form-row-2 {
    grid-template-columns: 1fr;
  }
}

/* Legacy docs grid (if used elsewhere) */
.docs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 600px) {
  .docs-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.doc-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.85rem 1rem;
  background: var(--bg);
  border: var(--line) solid var(--border);
  border-radius: var(--radius);
}

.doc-item strong {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
}

.doc-item span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.doc-item.doc-bonus {
  border-color: var(--gold-soft, rgba(212, 175, 55, 0.35));
}

.bank-grid {
  gap: 1rem;
}
