/* @import removido — fontes carregadas via <link> no HTML */

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

:root {
  --orange: #FF5C00;
  --orange-light: #FF7A29;
  --black: #0A0A0A;
  --dark: #111111;
  --card: #181818;
  --card2: #1E1E1E;
  --border: #2A2A2A;
  --white: #FFFFFF;
  --gray: #888888;
  --gray2: #555555;
  --green: #25D366;
  --red-err: #ff4d4d;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', sans-serif;
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.05;
}

/* ========== NAV ========== */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  border-bottom: 1px solid var(--border);
  background: var(--black);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo::before { content: '⚡'; color: var(--orange); font-size: 14px; }

.nav-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  border: 1px solid var(--orange);
  padding: 4px 10px;
  border-radius: 3px;
}

/* ========== SHARED ========== */
.container { max-width: 1000px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 960px; margin: 0 auto; padding: 0 24px; }
.accent { color: var(--orange); }

/* ========== DECO ========== */
.deco {
  position: absolute;
  color: var(--orange);
  opacity: 0.08;
  pointer-events: none;
  animation: decoFloat 6s ease-in-out infinite;
}

@keyframes decoFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-20px) rotate(15deg); }
}

/* ========== HERO BADGE ========== */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.8); }
}

/* ========== GATE SECTION ========== */
.gate-section {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.gate-section.saindo {
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
}

.gate-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Copy lado esquerdo */
.gate-copy { }

.gate-title {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.gate-sub {
  font-size: 15px;
  line-height: 1.75;
  color: #BBBBBB;
  margin-bottom: 28px;
}

.gate-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gate-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #BBB;
  line-height: 1.5;
}

.gate-benefits li::before {
  content: '✦';
  color: var(--orange);
  font-size: 10px;
  margin-top: 3px;
  flex-shrink: 0;
}

/* Card de formulário lado direito */
.gate-form-wrap { }

.gate-form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 40px 36px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,92,0,0.06);
}

/* Linha laranja no topo */
.gate-form-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--orange-light), var(--orange));
  border-radius: 10px 10px 0 0;
}

.gate-form-header {
  text-align: center;
  margin-bottom: 28px;
}

.gate-form-icon {
  font-size: 40px;
  display: block;
  margin-bottom: 12px;
}

.gate-form-header h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}

.gate-form-header p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.5;
}

/* ========== FORM FIELDS ========== */
.field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.field-group label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gray);
}

.field-group input {
  background: var(--card2);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 13px 16px;
  font-family: 'Barlow', sans-serif;
  font-size: 14px;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

.field-group input::placeholder { color: var(--gray2); }

.field-group input:focus {
  border-color: rgba(255,92,0,0.5);
  box-shadow: 0 0 0 3px rgba(255,92,0,0.08);
}

.field-group.valid input  { border-color: rgba(37,211,102,0.4); }
.field-group.invalid input {
  border-color: rgba(255,77,77,0.5);
  box-shadow: 0 0 0 3px rgba(255,77,77,0.06);
}

.field-error {
  font-size: 11px;
  color: var(--red-err);
  min-height: 14px;
  display: block;
  font-weight: 600;
}

/* ========== BOTÃO SUBMIT ========== */
.btn-gate-submit {
  display: block;
  width: 100%;
  background: var(--orange);
  color: #fff;
  font-family: 'Barlow', sans-serif;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 17px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 6px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  animation: btnPulse 3s ease-in-out infinite;
}

.btn-gate-submit:hover {
  background: var(--orange-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,92,0,0.3);
  animation: none;
}

.btn-gate-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

@keyframes btnPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,92,0,0.4); }
  50%       { box-shadow: 0 0 0 14px rgba(255,92,0,0); }
}

.spinner {
  display: inline-block;
  width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  vertical-align: middle;
  margin-right: 4px;
}

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

.gate-form-error {
  background: rgba(255,77,77,0.08);
  border: 1px solid rgba(255,77,77,0.25);
  border-radius: 4px;
  padding: 10px 14px;
  font-size: 12px;
  color: var(--red-err);
  margin-top: 12px;
  text-align: center;
}

.modal-privacy {
  text-align: center;
  font-size: 10px;
  color: var(--gray2);
  margin-top: 12px;
  letter-spacing: 0.3px;
}

/* ========== CONTENT SECTION ========== */
.content-section {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
  display: none; /* oculto por padrão */
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.content-section.visivel {
  display: block;
}

.content-section.animando {
  opacity: 1;
  transform: translateY(0);
}

/* Badge de sucesso */
.success-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37,211,102,0.08);
  border: 1px solid rgba(37,211,102,0.25);
  border-radius: 4px;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 24px;
}

.success-dot {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
}

.content-title {
  font-size: clamp(30px, 4.5vw, 58px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}

.content-sub {
  font-size: 15px;
  line-height: 1.75;
  color: #BBBBBB;
  max-width: 540px;
  margin: 0 auto;
}

/* ========== VIDEO ========== */
.hero-video-wrap {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
}

.hero-video-wrap::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255,92,0,0.35), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid var(--border);
  z-index: 1;
}

/* ========== BOTÃO BIBLIOTECA ========== */
.biblioteca-label {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 16px;
  letter-spacing: 0.3px;
}

.btn-biblioteca {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-family: 'Barlow', sans-serif;
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 20px 48px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  animation: btnPulse 3s ease-in-out infinite;
}

.btn-biblioteca:hover {
  background: var(--orange-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,92,0,0.35);
  animation: none;
}

.biblioteca-sub {
  margin-top: 12px;
  font-size: 11px;
  color: var(--gray2);
  letter-spacing: 0.5px;
}

/* ========== SCROLL REVEAL ========== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }

/* ========== FOOTER ========== */
footer {
  border-top: 1px solid var(--border);
  padding: 24px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--gray);
  letter-spacing: 1px;
  text-transform: uppercase;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-logo::before { content: '⚡'; color: var(--orange); margin-right: 6px; }

.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--gray); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--orange); }

.footer-disclaimer {
  width: 100%;
  border-top: 1px solid var(--border);
  margin-top: 16px;
  padding-top: 16px;
  font-size: 10px;
  line-height: 1.7;
  color: var(--gray2);
  text-align: center;
  letter-spacing: 0;
  text-transform: none;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  nav { padding: 16px 20px; }

  .gate-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .gate-title { letter-spacing: -1px; }
  .gate-form-card { padding: 32px 24px; }

  .content-title { letter-spacing: -1px; }
  .btn-biblioteca { padding: 18px 32px; font-size: 13px; }

  footer { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}
