/* styles.css — João Mainardi Mentoria. Sistema de design portado de joaomainardi-home-mockup.html */

/* ── RESET + TOKENS ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black: #080808;
  --white: #f5f3ef;
  --gray-100: #1a1a1a;
  --gray-200: #242424;
  --gray-300: #333;
  --gray-400: #555;
  --gray-500: #888;
  --gray-600: #aaa;
  --gray-700: #ccc;
  --accent: #c8b89a;
  --accent-dark: #9e8f78;
  --font-display: 'Archivo Expanded', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --maxw: 1200px;
}

html { scroll-behavior: auto; }

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

/* ── PRIMITIVAS DE SEÇÃO ── */
section { padding: 96px 48px; }
.container { max-width: var(--maxw); margin: 0 auto; }
.eyebrow {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--white);
  max-width: 600px;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 15px;
  color: var(--gray-500);
  max-width: 480px;
  margin-bottom: 48px;
  line-height: 1.7;
  font-weight: 300;
}

/* ── ESTADOS BASE DE ANIMAÇÃO ── */
.reveal { opacity: 0; transform: translateY(24px); }
.reveal.is-visible { opacity: 1; transform: none; transition: opacity .8s ease, transform .8s ease; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal.is-visible { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8,8,8,.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s;
}
nav.scrolled {
  background: rgba(8,8,8,.95);
  border-bottom-color: var(--gray-200);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--white);
}
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-size: 13px;
  color: var(--gray-500);
  text-decoration: none;
  letter-spacing: .02em;
  transition: color .2s;
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: var(--white);
  color: var(--black);
  padding: 9px 18px;
  cursor: pointer;
  transition: background .2s;
  text-decoration: none;
  display: inline-block;
}
.nav-cta:hover { background: var(--accent); }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 60%;
  background: radial-gradient(ellipse at bottom right, var(--black) 0%, rgba(8,8,8,0) 60%);
  z-index: 12;
  pointer-events: none;
}

.hero-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 48px;
  width: 100%;
  position: relative;
}

.hero-title-wrapper {
  position: relative;
  transform: translateZ(0);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin: 0;
  max-width: 1000px;
}

.hero-title .hl-sm,
.hero-title .hl-lg {
  display: block;
  line-height: 1.05;
}
.hero-title .hl-sm { font-size: 40px; }
.hero-title .hl-md { font-size: clamp(35px, 6vw, 83px); }
.hero-title .hl-lg { font-size: 100px; }

.hero-title.title-back {
  color: var(--white);
  position: relative;
  z-index: 1;
}

.hero-title.title-front {
  position: absolute;
  top: 0;
  left: 0;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.9);
  z-index: 20;
  pointer-events: none;
}

.hero-title em {
  color: var(--accent);
  -webkit-text-stroke: 0 !important;
  font-style: normal;
  display: block;
}

.hero-title .highlight-text {
  color: var(--accent);
}
.hero-title.title-front .highlight-text {
  color: transparent; /* Garante que fique vazado na camada da frente! */
  -webkit-text-stroke: 2px var(--accent);
}

.hero-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 8px 20px;
  margin-bottom: 40px;
  position: relative;
  z-index: 15;
}

.hero-sub {
  font-size: 19px;
  color: var(--white);
  max-width: 480px;
  margin-top: 40px;
  line-height: 1.6;
  margin-left: 0;
  position: relative;
  z-index: 15;
  text-shadow: 0 4px 12px rgba(0,0,0,0.8);
}

.hero-portrait {
  position: absolute;
  right: -5%; /* Puxado mais para a direita */
  bottom: 0; /* Ancorado embaixo para não flutuar */
  top: auto;
  height: 95%; /* Altura quase total para o rosto ficar mais alto */
  width: 65%; /* Mais largo para escalar proporcionalmente e subir */
  max-width: 750px;
  object-fit: contain;
  object-position: bottom right;
  z-index: 10;
  filter: grayscale(100%) contrast(1.2);
  opacity: 0.9;
  pointer-events: none;
}

.hero-actions {
  margin-top: 60px;
  display: flex;
  gap: 16px;
  position: relative;
  z-index: 15;
}
.btn-main {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: var(--white);
  color: var(--black);
  border: none;
  padding: 14px 28px;
  cursor: pointer;
  transition: background .2s;
  text-decoration: none;
  display: inline-block;
}
.btn-main:hover { background: var(--accent); }
.btn-outline {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: transparent;
  color: var(--gray-500);
  border: 1px solid var(--gray-300);
  padding: 13px 28px;
  cursor: pointer;
  transition: border-color .2s, color .2s;
  text-decoration: none;
  display: inline-block;
}
.btn-outline:hover { border-color: var(--gray-500); color: var(--white); }
/* Fim do estilo do Hero */

/* ── BIO ── */
.bio-section { }
.bio-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 56px;
  align-items: center;
}
.bio-media img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  filter: grayscale(1);
  border: 1px solid var(--gray-200);
}
.bio-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
.bento-card {
  background: var(--black);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 32px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background 0.3s ease;
  cursor: default;
}
.bento-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border: 1px solid transparent;
  pointer-events: none;
  transition: border-color 0.3s ease;
  z-index: 2;
}
.bento-card:hover {
  background: var(--gray-100);
}
.bento-card:hover::after {
  border-color: var(--accent);
}

.bento-card.highlight {
  grid-column: 1 / -1;
  background: rgba(255, 255, 255, 0.02);
}
.bento-card.highlight:hover {
  background: var(--gray-100);
}

.bento-logo {
  max-width: 120px;
  margin-bottom: 32px;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-origin: left center;
}
.bento-card:hover .bento-logo {
  transform: scale(1.05);
}

.bento-val {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.1;
  position: relative;
  z-index: 3;
}
.bento-card.highlight .bento-val {
  font-size: 48px;
  color: var(--accent);
}
.bento-desc {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.5;
  position: relative;
  z-index: 3;
}

/* ── GALERIA EXPANSÍVEL (FOTOS VERTICAIS) ── */
.vertical-accordion {
  display: flex;
  max-width: 1200px;
  height: 600px; /* Altura generosa para fotos verticais */
  margin: 0 auto;
  gap: 12px;
}

.va-item {
  flex: 1; /* Fatias verticais iguais */
  position: relative;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  background: var(--gray-200);
  transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
}

.va-item img {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center; 
  filter: grayscale(1);
  transition: filter 0.6s;
}

.vertical-accordion:hover .va-item img {
  filter: grayscale(1) brightness(0.5); /* Escurece os não focados */
}

/* Expande a largura no hover */
.va-item:hover {
  flex: 5; 
  border-color: var(--white);
}
.va-item:hover img {
  filter: grayscale(0) brightness(1) !important;
}

/* ── COMPORTAMENTO MOBILE (Até 768px) ── */
@media (max-width: 768px) {
  .vertical-accordion {
    flex-wrap: wrap;
    height: auto; 
    gap: 8px;
  }
  .va-item {
    flex: 0 0 calc(33.333% - 6px) !important; 
    height: 220px; 
  }
  .va-item:hover {
    flex: 0 0 calc(33.333% - 6px) !important;
  }
  .vertical-accordion:hover .va-item img {
    filter: grayscale(1); 
  }
  .va-item img {
    filter: grayscale(0); 
  }
}

/* ── COMO FUNCIONA ── */
#como-funciona {
  background: var(--black);
}
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
}
.feature {
  background: var(--black);
  padding: 48px 40px;
  position: relative;
  transition: background 0.3s ease;
}
/* Efeito de borda externa do card */
.feature::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border: 1px solid transparent;
  pointer-events: none;
  transition: border-color 0.3s ease;
  z-index: 2;
}
.feature:hover { background: var(--gray-100); }
.feature:hover::after {
  border-color: var(--accent);
}

.feature-icon {
  width: 48px; height: 48px;
  border: 1px solid var(--gray-300);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  color: var(--accent);
  transition: border-color 0.3s ease;
  background: var(--black);
}
.feature:hover .feature-icon {
  border-color: var(--accent);
}
.feature-icon svg {
  display: block;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.feature:hover .feature-icon svg {
  transform: scale(1.15);
}

.feature h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -.01em;
}
.feature p { font-size: 15px; color: var(--gray-500); line-height: 1.6; font-weight: 300; }

.feature.highlight { background: var(--gray-100); }
.feature.highlight .feature-icon { border-color: var(--accent); background: rgba(200,184,154,.08); color: var(--accent); }

/* ── NETWORK ── */
.network-section {
  background: var(--black);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}
.network-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
}
.network-image-wrapper {
  width: 100%;
  background: var(--gray-200);
  overflow: hidden;
}
.network-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  filter: grayscale(100%) contrast(1.1);
}
.network-blocks {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--gray-200);
}
.network-header {
  padding: 48px;
  border-bottom: 1px solid var(--gray-200);
  background: var(--gray-100);
}
.network-item {
  padding: 48px;
  border-bottom: 1px solid var(--gray-200);
  background: var(--black);
}
.network-item:last-child {
  border-bottom: none;
}
.network-item h3 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 24px);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.network-item h3 span {
  font-size: 14px;
  color: var(--accent);
}
.network-item p {
  color: var(--gray-500);
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}
@media (max-width: 900px) {
  .network-split-grid { grid-template-columns: 1fr; gap: 0; }
  .network-image-wrapper { height: 400px; margin-bottom: 24px; }
  .network-blocks { border: none; }
  .network-header, .network-item { padding: 32px 0; border-bottom: 1px solid var(--gray-200); }
  .network-header { background: transparent; }
}

/* ── SESSÕES ── */
.sessions-section { background: var(--black); }
.sessions-header {
  text-align: center;
  margin-bottom: 64px;
}
.custom-badge {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent-dark);
  padding: 6px 14px;
  white-space: nowrap;
}
.sessions-grid-bento {
  display: grid;
  grid-template-columns: 350px 1fr 350px;
  gap: 1px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
}
.session-image-center {
  background: var(--black);
  grid-column: 2;
  grid-row: 1 / span 3;
  position: relative;
  overflow: hidden;
}
.session-image-center img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.5s ease, transform 0.5s ease;
}
.session-image-center:hover img {
  filter: grayscale(0%);
  transform: scale(1.05);
}
.session-card {
  background: var(--black);
  padding: 32px;
  transition: background .2s;
  display: flex;
  flex-direction: column;
}
.card-1 { grid-column: 1; grid-row: 1; }
.card-2 { grid-column: 1; grid-row: 2; }
.card-3 { grid-column: 1; grid-row: 3; }
.card-4 { grid-column: 3; grid-row: 1; }
.card-5 { grid-column: 3; grid-row: 2; }
.card-6 { grid-column: 3; grid-row: 3; }
.session-card:hover { background: var(--gray-100); }
.session-n {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.session-card h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  max-width: none;
  letter-spacing: -.01em;
}
.session-card p { font-size: 13px; color: var(--gray-500); line-height: 1.6; font-weight: 300; margin-bottom: 16px; }
.session-note {
  font-size: 11px;
  color: var(--accent-dark);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: .04em;
  border-top: 1px solid var(--gray-200);
  padding-top: 12px;
}

/* ── DEPOIMENTOS ── */
.testimonials-section { }
.result-pill {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent-dark);
  padding: 4px 10px;
  margin-bottom: 16px;
}
.editorial-container {
  display: grid; 
  grid-template-columns: 0.8fr 1.2fr; 
  gap: 64px; 
  align-items: center; 
  margin-top: 0;
}
.editorial-video-wrap {
  position: relative; 
  aspect-ratio: 4/5; 
  border: 1px solid var(--gray-200); 
  background: var(--black); 
  box-shadow: 0 24px 48px rgba(0,0,0,0.4);
}
.editorial-video-wrap video { width: 100%; height: 100%; object-fit: cover; }
.editorial-content { display: flex; flex-direction: column; justify-content: center; }
.editorial-quote {
  font-family: var(--font-display); 
  font-size: clamp(16px, 1.5vw, 20px); 
  font-weight: 500; 
  line-height: 1.4; 
  margin-bottom: 32px; 
  color: var(--white); 
}
.editorial-quote span { color: var(--accent); }
.editorial-author { display: flex; align-items: center; gap: 16px; margin-bottom: 48px; }
.editorial-author-info .name { font-family: var(--font-display); font-size: 14px; font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: 0.05em; }
.editorial-author-info .brand { font-size: 12px; color: var(--gray-500); }
.editorial-thumbnails { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 12px; }
.editorial-thumb {
  width: 70px; 
  height: 90px; 
  flex-shrink: 0; 
  cursor: pointer; 
  border: 1px solid var(--gray-300); 
  opacity: 0.4; 
  transition: all 0.3s; 
}
.editorial-thumb video { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); pointer-events: none; background: var(--black); }
.editorial-thumb.active, .editorial-thumb:hover { opacity: 1; border-color: var(--accent); }
.editorial-thumb.active video { filter: grayscale(0); }

@media (max-width: 768px) {
  .editorial-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }
  .editorial-content { display: contents; }
  .editorial-header { order: 1; }
  .editorial-video-wrap { 
    order: 2; 
    max-width: 440px;
    width: 100%;
    margin: 0 auto;
  }
  .editorial-body {
    order: 3;
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    min-width: 0;
  }
}

/* ── TABELA COMPARATIVA ── */
.compare-section { background: var(--black); border-top: 1px solid var(--gray-200); }
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
  margin-top: 40px;
}
.compare-col { background: var(--black); padding: 36px 32px; }
.compare-head {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-200);
}
.compare-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.compare-col li {
  font-size: 14px;
  font-weight: 300;
  color: var(--gray-600);
  padding-left: 22px;
  position: relative;
}
.compare-bad li::before { content: '✕'; position: absolute; left: 0; color: var(--gray-500); }
.compare-good { background: var(--gray-100); }
.compare-good .compare-head { color: var(--accent); }
.compare-good li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
}

/* ── PREÇO MENTORIA ── */
.price-section {
  text-align: center;
  background: var(--black);
  border-top: 1px solid var(--gray-200);
}
.price-section h2 { margin: 0 auto 12px; }
.price-section .section-sub { margin: 0 auto 48px; text-align: center; }
.price-card {
  display: inline-block;
  border: 1px solid var(--gray-200);
  padding: 48px 56px;
  text-align: left;
  max-width: 480px;
  width: 100%;
}
.price-label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 10px;
}
.price-val {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.03em;
  line-height: 1;
  margin-bottom: 4px;
}
.price-installments { font-size: 13px; color: var(--gray-500); margin-bottom: 32px; font-weight: 300; }
.price-list { list-style: none; margin-bottom: 32px; display: flex; flex-direction: column; gap: 10px; }
.price-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.4;
  font-weight: 300;
}
.price-list li::before {
  content: '—';
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
  flex-shrink: 0;
}
.btn-apply-full {
  width: 100%;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: var(--white);
  color: var(--black);
  border: none;
  padding: 16px;
  cursor: pointer;
  margin-bottom: 12px;
  transition: background .2s;
  text-decoration: none;
  text-align: center;
  display: block;
}
.btn-apply-full:hover { background: var(--accent); }
.apply-note { font-size: 12px; color: var(--gray-500); text-align: center; font-weight: 300; }

/* ── DIVISOR ── */
.divider-band {
  padding: 32px 48px;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  background: var(--gray-100);
  display: flex;
  align-items: center;
  gap: 20px;
}
.divider-line { flex: 1; height: 1px; background: var(--gray-200); }
.divider-label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gray-500);
  white-space: nowrap;
}

/* ── CURSO ── */
.course-section { background: var(--black); }
.course-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gray-500);
  border: 1px solid var(--gray-300);
  padding: 5px 12px;
  margin-bottom: 20px;
}
.course-logo {
  display: block;
  max-width: 280px;
  height: auto;
  margin-bottom: 24px;
}
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
  margin-top: 40px;
}
@media(max-width: 900px) {
  .course-grid { grid-template-columns: 1fr 1fr; }
}
@media(max-width: 600px) {
  .course-grid { grid-template-columns: 1fr; }
}
.module-card {
  background: var(--black);
  display: flex;
  flex-direction: column;
  transition: background .2s;
  cursor: pointer;
}
.module-card:hover { background: var(--gray-100); }
.module-img-wrap {
  aspect-ratio: 16/9;
  border-bottom: 1px solid var(--gray-200);
  overflow: hidden;
  background: var(--gray-100);
  position: relative;
}
.module-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.5s ease, transform 0.5s ease;
}
.module-card:hover .module-img-wrap img {
  filter: grayscale(0%);
  transform: scale(1.05);
}
.module-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8,8,8,0.2) 0%, transparent 50%);
  pointer-events: none;
}
.module-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.module-n {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 12px;
  transition: color 0.3s;
}
.module-card:hover .module-n {
  color: var(--accent);
}
.module-card h3 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
  max-width: none;
}
.module-card p { font-size: 12px; color: var(--gray-500); line-height: 1.5; font-weight: 300; }
.course-bottom {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 28px 32px;
  border: 1px solid var(--gray-200);
  background: var(--gray-100);
}
.course-price-info h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.02em;
  max-width: none;
  margin-bottom: 4px;
}
.course-price-info h3 span { font-size: 15px; font-weight: 400; color: var(--gray-500); }
.course-price-info p { font-size: 13px; color: var(--gray-500); font-weight: 300; }
.btn-course {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: transparent;
  color: var(--white);
  border: 1px solid var(--gray-300);
  padding: 12px 24px;
  cursor: pointer;
  transition: border-color .2s, color .2s;
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
}
.btn-course:hover { border-color: var(--white); }
.course-bonus {
  margin-top: 24px;
  padding: 24px 28px;
  border: 1px solid var(--gray-200);
  background: var(--gray-100);
}
.bonus-people { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 12px; }
.bonus-person strong { font-family: var(--font-display); display: block; font-size: 14px; }
.bonus-person span { font-size: 12px; color: var(--gray-500); }

/* ── FAQ ── */
.faq-section { background: var(--gray-100); border-top: 1px solid var(--gray-200); }
.faq-list { margin-top: 40px; border-top: 1px solid var(--gray-200); }
.faq-item { border-bottom: 1px solid var(--gray-200); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--accent); font-size: 22px; transition: transform .3s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-body { padding: 0 0 24px; color: var(--gray-600); font-weight: 300; max-width: 640px; }

/* ── FOOTER CTA ── */
.footer-cta {
  text-align: center;
  background: var(--gray-100);
  border-top: 1px solid var(--gray-200);
}
.footer-cta h2 { margin: 0 auto 12px; max-width: none; white-space: nowrap; }
.footer-cta .section-sub { margin: 0 auto 32px; text-align: center; }
.footer-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.footer-note { font-size: 12px; color: var(--gray-400); margin-top: 20px; font-weight: 300; }

/* ── FOOTER ── */
footer {
  padding: 24px 48px;
  border-top: 1px solid var(--gray-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--black);
}
footer .footer-left, footer .footer-center, footer .footer-right {
  flex: 1;
}
footer .footer-left {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
footer .footer-center {
  display: flex;
  justify-content: center;
  align-items: center;
}
footer .footer-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
footer p { font-size: 12px; color: var(--gray-500); font-weight: 300; margin: 0; }
footer .footer-logo {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--white);
}
footer .footer-bahtech-logo {
  height: 20px;
  width: auto;
  opacity: 0.7;
  transition: opacity 0.2s;
}
footer .footer-bahtech-logo:hover {
  opacity: 1;
}

/* ── ACESSIBILIDADE ── */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ── RESPONSIVIDADE ── */
@media (max-width: 1024px) {
  section { padding: 72px 32px; }
  .nav-inner { padding: 16px 32px; }
  .nav-links { display: none; }
  .portrait-wrapper { width: 70%; opacity: 0.6; }
  .hero-glow { background: radial-gradient(ellipse 50% 50% at 75% 60%, #1c1813 0%, transparent 70%), linear-gradient(90deg, var(--black) 40%, transparent 70%); }
  .bio-grid { grid-template-columns: 1fr; gap: 32px; }
  .features-grid, .testi-grid, .compare-grid { grid-template-columns: 1fr; }
  .network-grid, .course-grid { grid-template-columns: 1fr 1fr; }
  .sessions-grid-bento { grid-template-columns: 1fr 1fr; }
  .session-image-center { grid-column: 1 / span 2; grid-row: 1; height: 400px; }
  .card-1 { grid-column: 1; grid-row: 2; }
  .card-2 { grid-column: 2; grid-row: 2; }
  .card-3 { grid-column: 1; grid-row: 3; }
  .card-4 { grid-column: 2; grid-row: 3; }
  .card-5 { grid-column: 1; grid-row: 4; }
  .card-6 { grid-column: 2; grid-row: 4; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .g-wide, .g-tall { grid-column: auto; grid-row: auto; }
}

@media (max-width: 640px) {
  section { padding: 56px 20px; }
  .nav-inner { padding: 14px 20px; }
  .portrait-wrapper { width: 100%; opacity: 0.3; }
  .portrait-glow { background: linear-gradient(180deg, var(--black) 0%, transparent 50%), linear-gradient(0deg, var(--black) 0%, transparent 40%); }
  .hero-glow { background: linear-gradient(180deg, rgba(8,8,8,.4) 0%, var(--black) 75%); }
  .hero-inner { padding: 0 20px; }
  .hero-copy { padding: 100px 0 64px; }
  .hero-stats { flex-wrap: wrap; }
  .stat { flex: 1 1 45%; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-main, .btn-outline { text-align: center; }
  .network-grid, .sessions-grid-bento, .course-grid, .gallery-grid, .bio-stats { grid-template-columns: 1fr; }
  .session-image-center { grid-column: 1; height: 300px; }
  .session-card { grid-column: auto !important; grid-row: auto !important; }
  .sessions-header { margin-bottom: 40px; }
  .price-card { padding: 32px 24px; }
  .bonus-people { flex-direction: column; gap: 16px; }
  .divider-band { padding: 24px 20px; }
  .divider-label { white-space: normal; text-align: center; }
  .footer-cta h2 { white-space: normal; }
  footer { padding: 20px; flex-direction: column; gap: 16px; text-align: center; }
  footer .footer-left, footer .footer-center, footer .footer-right {
    justify-content: center;
  }
}

/* ── OPÇÃO A + B: HOVER MAGNÉTICO & ENTRADA ORQUESTRADA ── */
.price-card.card-magnetic {
  background: var(--gray-100);
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden; /* to contain the sweep */
}
/* Pseudo-elemento para a luz da borda que segue o cursor */
.price-card.card-magnetic::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border: 1px solid transparent;
  background: radial-gradient(
    800px circle at var(--mouse-x, 0) var(--mouse-y, 0),
    var(--accent),
    transparent 40%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1;
}
/* Glow interno que segue o cursor */
.card-magnetic-glow {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(
    400px circle at var(--mouse-x, 0) var(--mouse-y, 0),
    rgba(200, 184, 154, 0.04),
    transparent 40%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1;
}
.price-card.card-magnetic:hover::before,
.price-card.card-magnetic:hover .card-magnetic-glow {
  opacity: 1;
}
/* Botão com sweep metálico */
.price-card.card-magnetic .btn-apply-full {
  position: relative;
  overflow: hidden;
  z-index: 2;
}
.price-card.card-magnetic .btn-apply-full::after {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
  transform: skewX(-20deg);
  animation: sweep 4s infinite;
}
@keyframes sweep {
  0% { left: -100%; }
  20% { left: 200%; }
  100% { left: 200%; }
}

/* B: ENTRADA ORQUESTRADA (ANIMADA) */
.price-card.card-orchestrated.is-visible .price-val {
  animation: scalePop 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
.price-card.card-orchestrated.is-visible .price-list li {
  animation: slideFadeUp 0.6s forwards ease-out;
}

.price-card.card-orchestrated .price-val {
  opacity: 0;
  transform: scale(0.9);
}
.price-card.card-orchestrated .price-list li {
  opacity: 0;
  transform: translateY(15px);
}
/* Staggering the list items */
.price-card.card-orchestrated .price-list li:nth-child(1) { animation-delay: 0.3s; }
.price-card.card-orchestrated .price-list li:nth-child(2) { animation-delay: 0.4s; }
.price-card.card-orchestrated .price-list li:nth-child(3) { animation-delay: 0.5s; }
.price-card.card-orchestrated .price-list li:nth-child(4) { animation-delay: 0.6s; }
.price-card.card-orchestrated .price-list li:nth-child(5) { animation-delay: 0.7s; }
.price-card.card-orchestrated .price-list li:nth-child(6) { animation-delay: 0.8s; }

.price-card.card-orchestrated.is-visible .btn-apply-full {
  animation: subtlePulse 2s infinite ease-in-out;
  animation-delay: 1.5s;
}

@keyframes scalePop {
  to { transform: scale(1); opacity: 1; }
}
@keyframes slideFadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes subtlePulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

.price-card-content {
  position: relative;
  z-index: 2;
}

/* ── MODAL DE APLICAÇÃO ── */
.modal-overlay {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(8px);
  z-index: 1000; display: flex; opacity: 0; pointer-events: none;
  transition: opacity 0.4s ease;
}
.modal-overlay.active { opacity: 1; pointer-events: all; }

.modal-close {
  position: absolute; top: 24px; right: 24px;
  background: transparent; border: none; color: var(--gray-500);
  font-size: 24px; cursor: pointer; transition: color 0.2s; z-index: 100;
}
.modal-close:hover { color: var(--white); }

.modal-central {
  margin: auto; width: 100%; max-width: 900px;
  background: var(--gray-100); border: 1px solid var(--gray-200);
  display: flex; transform: scale(0.98); transition: transform 0.4s ease;
  overflow: hidden; position: relative; height: 600px;
}
.modal-overlay.active .modal-central { transform: scale(1); }

.modal-img-col {
  width: 50%; height: 100%; position: relative;
  background: url('../images/gallery-3.webp') center/cover;
  filter: grayscale(100%); z-index: 1;
}
.modal-form-col {
  width: 50%; padding: 56px 48px; position: relative;
  display: flex; flex-direction: column; z-index: 2;
  background: var(--gray-100); overflow-y: auto;
}

/* Forms Modal */
.form-group { margin-bottom: 24px; text-align: left; }
.form-group label {
  display: block; font-family: var(--font-display); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--gray-500); margin-bottom: 8px;
}
.form-group input, .form-group textarea {
  width: 100%; background: var(--black); border: 1px solid var(--gray-300);
  color: var(--white); padding: 14px 16px; font-family: var(--font-body);
  font-size: 15px; outline: none; transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--accent); }
.form-group input:invalid:not(:placeholder-shown), 
.form-group textarea:invalid:not(:placeholder-shown) { border-color: #ff4d4d; }

.btn-submit {
  font-family: var(--font-display); font-size: 12px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; background: var(--white);
  color: var(--black); border: none; padding: 16px; cursor: pointer;
  width: 100%; text-align: center; transition: background 0.2s;
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.btn-submit:hover { background: var(--accent); }
.btn-submit .btn-text { position: relative; z-index: 2; }
.btn-submit .loader {
  display: none; width: 20px; height: 20px; border: 2px solid var(--black);
  border-top-color: transparent; border-radius: 50%; animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Golden Ticket Styles */
.ticket-container {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: var(--gray-100); display: flex; align-items: center; justify-content: center;
  padding: 32px; opacity: 0; pointer-events: none; z-index: 5;
}
.golden-ticket {
  background: var(--black); border: 1px solid var(--accent);
  width: 100%; padding: 40px; text-align: left; position: relative;
  border-radius: 8px;
}
.golden-ticket::before, .golden-ticket::after {
  content: ''; position: absolute; top: 50%; transform: translateY(-50%);
  width: 20px; height: 20px; background: var(--gray-100); border-radius: 50%;
}
.golden-ticket::before { left: -11px; border-right: 1px solid var(--accent); }
.golden-ticket::after { right: -11px; border-left: 1px solid var(--accent); }

.ticket-header { font-family: var(--font-display); font-size: 10px; color: var(--accent); letter-spacing: 0.15em; margin-bottom: 24px; text-transform: uppercase; }
.ticket-title { font-family: var(--font-display); font-size: 28px; line-height: 1.1; margin-bottom: 8px; }
.ticket-sub { color: var(--gray-500); font-size: 14px; margin-bottom: 32px; }
.ticket-details { display: flex; justify-content: space-between; border-top: 1px dashed var(--gray-400); padding-top: 24px; }
.ticket-item span { display: block; font-family: var(--font-display); font-size: 9px; color: var(--gray-600); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 4px; }
.ticket-item strong { font-size: 14px; color: var(--white); font-weight: 500; }

/* ── MULTI-STEP FORM ── */
.step-progress { display: flex; gap: 6px; margin-bottom: 28px; }
.step-bar { height: 2px; flex: 1; background: var(--gray-300); transition: background 0.4s ease; }
.step-bar.active { background: var(--accent); }

/* Cadeia flex para preencher o modal sem espaço vazio */
#formContent { flex: 1; display: flex; flex-direction: column; min-height: 0; }
#applicationForm { flex: 1; display: flex; flex-direction: column; min-height: 0; }

.form-step { display: none; }
.form-step.active { display: flex; flex-direction: column; flex: 1; min-height: 0; }

.step-title {
  font-family: var(--font-display); font-size: 18px; line-height: 1.2;
  margin-bottom: 8px; color: var(--white);
}
.step-sub { color: var(--gray-500); font-size: 13px; margin-bottom: 20px; font-weight: 300; }

/* Checkboxes em grid */
.options-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr;
  gap: 8px; margin-bottom: 24px; flex: 1; min-height: 0;
}
.option-chip { display: flex; }
.option-chip input { display: none; }
.option-chip span {
  flex: 1; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--gray-300); color: var(--gray-500);
  font-family: var(--font-display); font-size: 10px;
  letter-spacing: 0.08em; text-transform: uppercase; text-align: center;
  cursor: pointer; transition: border-color 0.2s, color 0.2s;
}
.option-chip:hover span { border-color: var(--gray-500); color: var(--white); }
.option-chip input:checked + span { border-color: var(--accent); color: var(--accent); }

/* Radios em lista */
.options-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; flex: 1; min-height: 0; }
.option-row { display: flex; flex-direction: column; flex: 1; }
.option-row input { display: none; }
.option-row span {
  flex: 1; display: flex; align-items: center;
  padding: 0 16px; border: 1px solid var(--gray-300);
  color: var(--gray-500); font-size: 14px;
  cursor: pointer; transition: border-color 0.2s, color 0.2s;
}
.option-row:hover span { border-color: var(--gray-500); color: var(--white); }
.option-row input:checked + span { border-color: var(--accent); color: var(--white); }

/* Step 3: textarea preenche o espaço disponível */
#step3 .form-group { flex: 1; display: flex; flex-direction: column; min-height: 0; margin-bottom: 0; }
#step3 textarea { flex: 1; resize: none; }

/* Step 4: nav empurrada pro fundo */
#step4 .step-nav { margin-top: auto; }

/* Navegação entre steps */
.step-nav { display: flex; gap: 12px; align-items: stretch; }
.step-nav .btn-submit { flex: 1; width: auto; }
.btn-back {
  font-family: var(--font-display); font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; background: transparent;
  color: var(--gray-500); border: 1px solid var(--gray-300); padding: 16px 18px;
  cursor: pointer; transition: color 0.2s, border-color 0.2s; white-space: nowrap;
}
.btn-back:hover { color: var(--white); border-color: var(--gray-500); }

@media (max-width: 768px) {
  /* Modal mobile: margem lateral, sem imagem, altura dinâmica */
  .modal-central {
    flex-direction: column;
    width: calc(100% - 32px);
    max-width: calc(100% - 32px);
    height: min(600px, 90dvh);
    border-radius: 8px;
  }
  .modal-img-col { display: none; }
  .modal-form-col { width: 100%; height: 100%; padding: 36px 24px 28px; }

  /* Cancelar cadeia flex no mobile — fluxo natural com scroll se precisar */
  #formContent, #applicationForm { flex: none; }
  .form-step.active { flex: none; display: block; }
  .options-grid { flex: none; min-height: unset; grid-auto-rows: auto; }
  .option-chip span { padding: 13px 8px; }
  .options-list { flex: none; }
  .option-row { flex: none; }
  .option-row span { padding: 14px 16px; }
  #step3 .form-group { flex: none; }
  #step3 textarea { flex: none; height: 140px; }
  #step4 .step-nav { margin-top: 24px; }

  /* ── HERO MOBILE (Opção A Aplicada) ── */
  .hero {
    min-height: 100vh;
    padding-top: 0;
    align-items: flex-end;
  }
  .hero-inner {
    padding: 52vh 24px 40px !important;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: flex-start;
  }
  .hero-portrait {
    right: 0;
    left: 0;
    width: 100%;
    height: 60%;
    bottom: 40%;
    top: 0;
    object-fit: cover;
    object-position: top center;
    opacity: 0.85;
    filter: grayscale(100%) contrast(1.1);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
  }
  .hero-tag {
    display: none !important;
  }
  .hero::after { display: none; }
  .hero-title {
    font-weight: 900;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    margin-top: 0;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0,0,0,0.8);
  }
  /* Ritmo vertical proporcional: gap em em escala com a fonte de cada linha */
  .hero-title .hl-sm,
  .hero-title .hl-lg,
  .hero-title em {
    line-height: 1.1;
    margin: 0 0 0.22em 0;
  }
  .hero-title .hl-sm:last-child,
  .hero-title .hl-lg:last-child,
  .hero-title em:last-child {
    margin-bottom: 0;
  }
  .hero-title .hl-sm { font-size: 20px !important; }
  .hero-title .hl-lg { font-size: 40px !important; }
  .hero-title .highlight-text {
    display: inline;
    background: transparent;
    color: var(--accent);
    padding: 0;
    font-size: 40px;
    font-weight: 900;
    text-shadow: 0 4px 20px rgba(0,0,0,0.8);
  }
  .hero-title.title-front {
    display: none;
  }
  .hero-sub {
    margin-top: 24px;
    font-size: 16px;
    color: var(--white);
    z-index: 10;
  }
  .hero-actions {
    margin-top: 30px !important;
    width: 100%;
    flex-direction: column;
    z-index: 10;
  }
  .hero-actions .btn-main, .hero-actions .btn-outline {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }
}

/* ── HERO DESKTOP ULTRA WIDE ── */
@media (min-width: 1440px) {
  .hero-portrait {
    right: calc(50% - 720px);
  }
}
