/* ============================================================
   BRAUER X ACADEMY — LANDING PAGE
   Paleta oficial: Verde Órbita #0D3B36 · Ciano Plasma #6FF7E3
   Preto Eclipse #0A0F0E · Branco Lunar #F4F7F6 · Verde Abissal #082622
   Tipografia: Thunderhouse (display) · Poppins Bold (estrutura)
   Oferta do Dia (ênfase manuscrita) · sistema (corpo longo)
   Regra da casa: um único foco de ciano por quadro.
   ============================================================ */

@font-face {
  font-family: 'Thunderhouse';
  src: url('https://eratdlfcyukwmtvpluqz.supabase.co/storage/v1/object/public/brauerx/fonts/thunderhouse.woff2') format('woff2');
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('https://eratdlfcyukwmtvpluqz.supabase.co/storage/v1/object/public/brauerx/fonts/Poppins-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Oferta do Dia';
  src: url('https://eratdlfcyukwmtvpluqz.supabase.co/storage/v1/object/public/brauerx/fonts/Oferta-do-Dia.woff2') format('woff2');
  font-display: swap;
}

:root {
  --orbita: #0D3B36;
  --ciano: #6FF7E3;
  --eclipse: #0A0F0E;
  --lunar: #F4F7F6;
  --abissal: #082622;
  --display: 'Thunderhouse', Impact, sans-serif;
  --estrutura: 'Poppins', system-ui, sans-serif;
  --enfase: 'Oferta do Dia', cursive;
  --corpo: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --wrap: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--eclipse);
  color: var(--lunar);
  font-family: var(--corpo);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ---------- FILM GRAIN ---------- */
.grain {
  position: fixed; inset: -100%;
  pointer-events: none; z-index: 9998;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.05;
  animation: grain 0.9s steps(4) infinite;
}
@keyframes grain {
  0% { transform: translate(0,0); }
  25% { transform: translate(-2%,3%); }
  50% { transform: translate(3%,-2%); }
  75% { transform: translate(-3%,-3%); }
  100% { transform: translate(2%,2%); }
}

/* ---------- NAVBAR ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(16px, 4vw, 48px);
  background: linear-gradient(rgba(10,15,14,0.92), rgba(10,15,14,0.75) 70%, transparent);
  backdrop-filter: blur(8px);
  transition: padding 0.3s ease, background 0.3s ease;
}
.nav.is-compact {
  padding: 8px clamp(16px, 4vw, 48px);
  background: rgba(10,15,14,0.95);
  border-bottom: 1px solid rgba(111,247,227,0.12);
}
.nav-logo { height: 46px; width: auto; transition: height 0.3s ease; }
.nav.is-compact .nav-logo { height: 38px; }

/* ---------- CTA ---------- */
.cta {
  display: inline-block;
  font-family: var(--estrutura); font-weight: 700;
  font-size: clamp(15px, 1.8vw, 18px);
  letter-spacing: 0.06em;
  color: var(--eclipse);
  background: var(--ciano);
  padding: 16px 42px;
  border-radius: 10px;
  text-decoration: none;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 0 24px rgba(111,247,227,0.35);
}
.cta:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 0 44px rgba(111,247,227,0.55); }
.cta:active { transform: translateY(0) scale(0.99); }
.cta-nav { padding: 11px 26px; font-size: 14px; box-shadow: 0 0 16px rgba(111,247,227,0.3); }
.cta-hero { font-size: clamp(17px, 2vw, 21px); padding: 19px 56px; }
.cta-pulse { animation: pulse 2.2s ease-out infinite; }
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(111,247,227,0.55), 0 0 24px rgba(111,247,227,0.35); }
  70%  { box-shadow: 0 0 0 22px rgba(111,247,227,0), 0 0 24px rgba(111,247,227,0.35); }
  100% { box-shadow: 0 0 0 0 rgba(111,247,227,0), 0 0 24px rgba(111,247,227,0.35); }
}
.microcopy {
  font-size: 13px; opacity: 0.75; margin-top: 14px;
  font-family: var(--corpo); letter-spacing: 0.02em;
}
.sec-cta { text-align: center; margin-top: 56px; }

/* ---------- TIPOGRAFIA ---------- */
h1, h2 {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.04;
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(44px, 8.5vw, 108px); }
h2 { font-size: clamp(30px, 5vw, 58px); margin-bottom: 32px; }
h3 { font-family: var(--estrutura); font-size: clamp(17px, 2vw, 20px); letter-spacing: 0.04em; margin-bottom: 12px; text-transform: uppercase; }
h4 { font-family: var(--estrutura); font-size: 18px; }

.enfase {
  font-family: var(--enfase);
  color: var(--ciano);
  text-transform: none;
  display: inline-block;
  transform: rotate(-3deg);
}
.eyebrow {
  font-family: var(--estrutura); font-weight: 700;
  font-size: clamp(11px, 1.3vw, 14px);
  letter-spacing: 0.28em;
  opacity: 0.85;
  margin-bottom: 22px;
}
.sec-sub {
  max-width: 640px; margin: 0 auto 48px;
  text-align: center; font-size: clamp(16px, 1.9vw, 19px); opacity: 0.9;
}

/* ---------- ESTRUTURA ---------- */
.section { padding: clamp(80px, 12vh, 140px) 20px; position: relative; }
.wrap { max-width: var(--wrap); margin: 0 auto; position: relative; z-index: 2; }
.section h2 { text-align: center; }

/* Fundos alternados — profundidade */
.sec-inimigo  { background: linear-gradient(180deg, var(--eclipse) 0%, var(--abissal) 100%); }
.sec-metodo   { background: var(--eclipse); }
.sec-aulas    { background: linear-gradient(180deg, var(--eclipse) 0%, var(--orbita) 160%); }
.sec-mentor   { background: var(--abissal); padding-top: 0; }
.sec-prova    { background: var(--eclipse); }
.sec-bonus    { background: linear-gradient(180deg, var(--eclipse), var(--abissal)); }
.sec-oferta   { background: radial-gradient(ellipse at 50% 0%, rgba(13,59,54,0.65), var(--eclipse) 68%); }
.sec-garantia { background: var(--eclipse); }
.sec-faq      { background: var(--abissal); }
.sec-fim      { background: radial-gradient(ellipse at 50% 100%, rgba(13,59,54,0.7), var(--eclipse) 70%); text-align: center; }

/* ---------- REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- HERO ---------- */
.hero {
  min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; position: relative;
  padding: 120px 20px 80px;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media video,
.hero-slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  background-size: cover; background-position: center;
}
.hero-slide { opacity: 0; transition: opacity 1.6s ease, transform 1.6s ease; transform: scale(1.06); }
.hero-slide.is-active { opacity: 1; animation: kenburns 6.5s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.14); } to { transform: scale(1.06); } }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,15,14,0.72), rgba(10,15,14,0.45) 45%, rgba(10,15,14,0.9) 100%),
    radial-gradient(ellipse at center, transparent 30%, rgba(8,38,34,0.55) 100%);
}
#bokeh { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-content { position: relative; z-index: 2; max-width: 980px; }
.hero h1 .t-line { display: block; text-shadow: 0 4px 40px rgba(0,0,0,0.6); }
.hero h1 .enfase { font-size: 0.62em; margin-top: 6px; }
.hero-sub {
  max-width: 620px; margin: 26px auto 38px;
  font-size: clamp(16px, 2vw, 20px);
  opacity: 0.94;
  text-shadow: 0 2px 16px rgba(0,0,0,0.7);
}
.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(244,247,246,0.4);
  border-radius: 14px; z-index: 2;
}
.scroll-hint span {
  position: absolute; top: 7px; left: 50%; margin-left: -2px;
  width: 4px; height: 8px; border-radius: 2px;
  background: rgba(244,247,246,0.8);
  animation: hint 1.8s ease infinite;
}
@keyframes hint { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(16px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- INIMIGO ---------- */
.manifesto { max-width: 720px; margin: 0 auto; text-align: center; }
.manifesto p { margin-bottom: 22px; font-size: clamp(17px, 2.1vw, 21px); }
.destaque-linha em { color: var(--ciano); font-style: normal; }
.personas { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 56px; }
.card {
  background: rgba(13,59,54,0.35);
  border: 1px solid rgba(111,247,227,0.14);
  border-radius: 16px;
  padding: 34px 30px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(111,247,227,0.4);
  box-shadow: 0 12px 44px rgba(8,38,34,0.6);
}
.persona h3 { color: var(--ciano); }
.bordao {
  font-family: var(--display);
  font-size: clamp(24px, 3.6vw, 40px);
  text-align: center;
  text-transform: uppercase;
  margin: 72px auto 0;
  max-width: 760px;
  line-height: 1.15;
  color: var(--lunar);
}

/* ---------- MECANISMO ---------- */
.x-vs { color: var(--ciano); }
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 64px; }
.v-copiar { opacity: 0.85; border-color: rgba(244,247,246,0.1); }
.v-copiar h3 { color: rgba(244,247,246,0.55); }
.v-criar { border-color: rgba(111,247,227,0.45); box-shadow: 0 0 40px rgba(111,247,227,0.08) inset; }
.v-criar h3 { color: var(--ciano); }
.passos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.passo {
  background: rgba(8,38,34,0.5);
  border: 1px solid rgba(111,247,227,0.12);
  border-radius: 14px; padding: 26px 22px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.passo:hover { transform: translateY(-5px); border-color: rgba(111,247,227,0.45); }
.passo-num {
  font-family: var(--display);
  font-size: 34px; color: rgba(111,247,227,0.55);
  display: block; margin-bottom: 8px;
}
.passo h4 { margin-bottom: 6px; letter-spacing: 0.05em; }
.passo p { font-size: 15px; opacity: 0.85; }
.frase-metodo { text-align: center; margin-top: 56px; font-size: clamp(17px, 2.2vw, 22px); }
.frase-metodo strong { color: var(--ciano); font-weight: 600; }

/* ---------- AULAS ---------- */
.enfase-inline { font-size: 0.75em; margin-left: 10px; }
.aulas-grid {
  list-style: none;
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  counter-reset: aula;
}
.aula {
  display: flex; gap: 20px; align-items: flex-start;
  background: rgba(10,15,14,0.55);
  border: 1px solid rgba(111,247,227,0.1);
  border-radius: 14px; padding: 22px 24px;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.aula:hover { transform: translateX(6px); border-color: rgba(111,247,227,0.4); background: rgba(8,38,34,0.7); }
.aula-num { font-family: var(--display); font-size: 30px; color: rgba(111,247,227,0.55); line-height: 1; min-width: 46px; }
.aula h4 { margin-bottom: 4px; }
.aula p { font-size: 15px; opacity: 0.82; }

/* ---------- MENTOR ---------- */
.mentor-banner { position: relative; margin-bottom: 64px; }
.mentor-banner img { width: 100%; height: auto; max-height: 640px; object-fit: cover; object-position: center 20%; }
.mentor-banner::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,38,34,0.35), transparent 40%, var(--abissal) 98%);
}
.mentor-texto { max-width: 700px; margin: 0 auto; }
.mentor-texto p { margin-bottom: 22px; font-size: clamp(16px, 2vw, 19px); }
.mentor-texto em { color: var(--ciano); font-style: italic; }
.assinatura {
  text-align: center; margin-top: 36px;
  font-family: var(--estrutura); font-weight: 700; letter-spacing: 0.08em;
  font-size: 14px; text-transform: uppercase; opacity: 0.8;
}

/* ---------- GALERIA ---------- */
.galeria {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 250px;
  gap: 14px;
}
.g-item {
  position: relative; overflow: hidden; border-radius: 14px;
  border: 1px solid rgba(111,247,227,0.1);
}
.g-wide { grid-column: span 2; }
.g-tall { grid-row: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.g-item:hover img { transform: scale(1.06); }
.g-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 26px 16px 12px;
  font-family: var(--estrutura); font-weight: 700; font-size: 12px;
  letter-spacing: 0.08em; text-transform: uppercase;
  background: linear-gradient(transparent, rgba(10,15,14,0.9));
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.g-item:hover figcaption { opacity: 1; transform: none; }

/* ---------- BÔNUS ---------- */
.nichos-banner { margin-bottom: 40px; border-radius: 16px; overflow: hidden; border: 1px solid rgba(111,247,227,0.12); }
.nichos-banner img { width: 100%; height: auto; }
.nichos-banner figcaption {
  padding: 14px 18px;
  font-family: var(--estrutura); font-weight: 700;
  font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
  background: rgba(8,38,34,0.8); text-align: center;
}
.bonus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bonus-tag {
  font-family: var(--display); color: var(--ciano);
  font-size: 20px; display: block; margin-bottom: 12px;
}
.bonus p { font-size: 15px; opacity: 0.88; }
.astrox-sticker {
  width: min(300px, 60%);
  height: auto;
  margin: 48px auto 0;
  filter: drop-shadow(0 10px 40px rgba(8,38,34,0.8));
  animation: float 5s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-14px) rotate(1.5deg); } }

/* ---------- OFERTA ---------- */
.ancora { max-width: 700px; margin: 0 auto 18px; text-align: center; font-size: clamp(16px, 2vw, 20px); }
.ancora-2 { font-family: var(--estrutura); font-weight: 700; color: var(--ciano); margin-bottom: 48px; }
.oferta-box {
  max-width: 560px; margin: 0 auto;
  background: rgba(10,15,14,0.75);
  border: 1px solid rgba(111,247,227,0.35);
  border-radius: 20px;
  padding: 44px 40px;
  text-align: center;
  box-shadow: 0 0 80px rgba(111,247,227,0.07), 0 30px 60px rgba(0,0,0,0.5);
}
.selo {
  display: inline-block;
  font-family: var(--estrutura); font-weight: 700; font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--ciano);
  border: 1px solid rgba(111,247,227,0.5);
  border-radius: 100px;
  padding: 8px 20px;
  margin-bottom: 28px;
}
.oferta-lista { list-style: none; text-align: left; margin-bottom: 30px; }
.oferta-lista li {
  padding: 10px 0 10px 36px; position: relative;
  border-bottom: 1px solid rgba(244,247,246,0.07);
  font-size: 15.5px;
}
.oferta-lista li::before {
  content: '';
  position: absolute; left: 4px; top: 14px;
  width: 16px; height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 5 C8 9 15 16 20 19 M19 4 C14 9 8 15 5 20' stroke='%236FF7E3' stroke-width='3.4' stroke-linecap='round' fill='none'/%3E%3C/svg%3E");
  background-size: contain; background-repeat: no-repeat;
}
.preco { margin-bottom: 26px; }
.preco-destaque {
  font-family: var(--estrutura); font-weight: 700;
  font-size: clamp(19px, 2.4vw, 24px);
}
.cta-oferta { width: 100%; font-size: 19px; }
.cta-secundario {
  display: block; margin-top: 22px;
  font-size: 14px; opacity: 0.8; text-decoration: none;
  transition: opacity 0.2s ease, color 0.2s ease;
}
.cta-secundario:hover { opacity: 1; color: var(--ciano); }

/* ---------- GARANTIA ---------- */
.garantia-box {
  display: flex; gap: 40px; align-items: center;
  max-width: 860px; margin: 0 auto;
  background: rgba(13,59,54,0.3);
  border: 1px solid rgba(111,247,227,0.15);
  border-radius: 20px;
  padding: 48px;
}
.garantia-box h2 { text-align: left; font-size: clamp(24px, 3.4vw, 38px); margin-bottom: 16px; }
.garantia-selo {
  flex-shrink: 0;
  width: 130px; height: 130px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: var(--display); font-size: 52px; line-height: 0.9;
  color: var(--ciano);
  border: 2px solid var(--ciano);
  box-shadow: 0 0 34px rgba(111,247,227,0.25), inset 0 0 24px rgba(111,247,227,0.1);
}
.garantia-selo small { font-family: var(--estrutura); font-size: 13px; letter-spacing: 0.2em; color: var(--lunar); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-list details {
  border-bottom: 1px solid rgba(244,247,246,0.1);
  padding: 4px 0;
}
.faq-list summary {
  cursor: pointer; list-style: none;
  font-family: var(--estrutura); font-weight: 700;
  font-size: clamp(15px, 1.9vw, 18px);
  padding: 18px 44px 18px 4px;
  position: relative;
  transition: color 0.2s ease;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+';
  position: absolute; right: 8px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--display); font-size: 26px;
  color: var(--ciano);
  transition: transform 0.3s ease;
}
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list summary:hover { color: var(--ciano); }
.faq-list details p { padding: 0 4px 22px; opacity: 0.88; max-width: 680px; }

/* ---------- FECHAMENTO ---------- */
.fim-manifesto { max-width: 680px; margin: 0 auto 56px; font-size: clamp(17px, 2.2vw, 22px); }
.fim-manifesto strong { color: var(--ciano); }
.frase-mae {
  font-family: var(--display);
  font-size: clamp(40px, 7vw, 84px);
  line-height: 1.02; text-transform: uppercase;
  margin-bottom: 56px;
}
.frase-mae span { color: var(--ciano); }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--eclipse);
  border-top: 1px solid rgba(111,247,227,0.1);
  text-align: center;
  padding: 56px 20px 110px;
}
.footer-logo { height: 64px; width: auto; margin: 0 auto 20px; }
.footer p { font-size: 13px; opacity: 0.6; }

/* ---------- WHATSAPP ---------- */
.whats-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 200;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 28px rgba(0,0,0,0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: whats-in 0.6s ease 1.4s backwards;
}
.whats-float:hover { transform: scale(1.1); box-shadow: 0 10px 34px rgba(37,211,102,0.45); }
@keyframes whats-in { from { transform: scale(0); } to { transform: scale(1); } }

/* ---------- RESPONSIVO ---------- */
@media (max-width: 900px) {
  .passos { grid-template-columns: repeat(2, 1fr); }
  .bonus-grid { grid-template-columns: 1fr; }
  .galeria { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
}
@media (max-width: 700px) {
  .personas, .versus, .aulas-grid { grid-template-columns: 1fr; }
  .garantia-box { flex-direction: column; text-align: center; padding: 36px 24px; }
  .garantia-box h2 { text-align: center; }
  .oferta-box { padding: 34px 22px; }
  .nav-logo { height: 38px; }
  .whats-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
}
@media (hover: none) {
  .g-item figcaption { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .grain, .cta-pulse, .astrox-sticker, .hero-slide.is-active, .scroll-hint span { animation: none !important; }
  .hero-slide { transition: none; }
  .reveal { transition: none; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
