/* ============================================
   PYTHON PARA INICIANTES - LANDING PAGE
   Go Up Treinamentos
   ============================================ */

/* ── Variáveis da página ── */
:root {
  --color-primary: #3b82f6;
  --color-primary-dark: #2563eb;
  --color-primary-light: #60a5fa;
  --color-accent: #8b5cf6;
  --color-secondary: #06b6d4;
  --color-urgency: #f59e0b;
  --color-highlight: #fbbf24;
  --color-bg-dark: #070b14;
  --color-bg-darker: #040709;
  --color-surface: #0d1422;
  --color-surface-light: #131d30;
}

/* ── Hero ajustes ── */
.hero {
  background: linear-gradient(135deg, #040709 0%, #070b14 60%, #0d1020 100%);
}
.hero-glow {
  background: radial-gradient(circle, rgba(59,130,246,0.18) 0%, transparent 70%);
}
.hero-glow-2 {
  background: radial-gradient(circle, rgba(139,92,246,0.12) 0%, transparent 70%);
}
.text-gradient {
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.btn-primary {
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(59,130,246,0.35);
}
.btn-primary:hover {
  box-shadow: 0 8px 25px rgba(59,130,246,0.5);
}

/* ============================================
   TERMINAL BADGE (hero-tag)
   ============================================ */
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: #000;
  border: 1px solid #2a2a2a;
  border-radius: 6px;
  color: #e2e8f0;
  font-family: 'Courier New', 'Lucida Console', monospace;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
  padding: 0.45rem 1rem;
  animation: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04), 0 2px 8px rgba(0,0,0,0.5);
}
.hero-tag i { display: none; }
.hero-tag::before {
  content: '> ';
  color: #3b82f6;
  font-weight: 700;
  margin-right: 0.2em;
}
.hero-tag .term-cursor {
  display: inline-block;
  width: 9px;
  height: 1.1em;
  background: #e2e8f0;
  margin-left: 4px;
  vertical-align: middle;
  border-radius: 1px;
  animation: blink-cursor 1.1s step-end infinite;
}
@keyframes blink-cursor {
  0%,100%{opacity:1} 50%{opacity:0}
}

/* ── Hero Modality ── */
.hero-modality {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  border: 1px solid rgba(59,130,246,0.5);
  border-radius: 5px;
  color: #60a5fa;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.4rem 0.9rem;
}

/* ============================================
   IDE MOCK
   ============================================ */
.ide-card {
  background: #0f172a;
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(59,130,246,0.1);
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)}
}
.ide-top {
  background: #1e293b;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.dot { width:12px;height:12px;border-radius:50%; }
.dot-r{background:#ef4444;} .dot-y{background:#f59e0b;} .dot-g{background:#10b981;}
.ide-tab {
  margin-left: 8px;
  color: #64748b;
  font-size: 0.8rem;
  font-family: monospace;
}
.ide-body {
  padding: 20px;
  font-family: 'Courier New', monospace;
  font-size: 0.85rem;
  line-height: 1.8;
}
.c-kw{color:#f472b6;} .c-fn{color:#60a5fa;} .c-str{color:#34d399;}
.c-cm{color:#475569;} .c-num{color:#fb923c;} .c-var{color:#e2e8f0;}
.ide-output {
  background: #0a0f1a;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 12px 20px;
  font-family: monospace;
  font-size: 0.8rem;
  color: #10b981;
}
.ide-output .prompt{color:#475569;}

/* ============================================
   PARA QUEM É
   ============================================ */
.for-who-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.for-who-card {
  background: var(--color-surface);
  border: 1px solid rgba(59,130,246,0.15);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
}
.for-who-card:hover {
  border-color: rgba(59,130,246,0.4);
  transform: translateY(-4px);
}
.for-who-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.for-who-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #60a5fa;
}
.for-who-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ============================================
   MÓDULOS / TRILHA
   ============================================ */
.modules-section {
  padding: 5rem 0;
  background: var(--color-surface);
}
.phase-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.35rem 0.9rem;
  border-radius: 4px;
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  font-family: 'Courier New', monospace;
}
.phase-base { background: rgba(59,130,246,0.08); color: #60a5fa; border: 1px solid rgba(59,130,246,0.35); border-left: 3px solid #3b82f6; }
.phase-prat { background: rgba(139,92,246,0.08); color: #c084fc; border: 1px solid rgba(139,92,246,0.35); border-left: 3px solid #8b5cf6; }
.phase-adv  { background: rgba(6,182,212,0.08);  color: #22d3ee; border: 1px solid rgba(6,182,212,0.35);  border-left: 3px solid #06b6d4; }

.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}
.mod-card {
  background: var(--color-bg-dark);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  transition: all 0.3s ease;
  position: relative;
}
.mod-card:hover {
  border-color: rgba(59,130,246,0.35);
  transform: translateY(-3px);
}
.mod-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: #3b4d6e;
  margin-bottom: 0.4rem;
  letter-spacing: 0.05em;
}
.mod-card h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #e2e8f0;
  line-height: 1.4;
}
.mod-tag {
  display: inline-block;
  margin-top: 0.6rem;
  padding: 0.18rem 0.6rem;
  border-radius: 3px;
  font-size: 0.68rem;
  font-weight: 700;
  font-family: 'Courier New', monospace;
  letter-spacing: 0.05em;
}
.tag-base { background: rgba(59,130,246,0.08); color: #60a5fa; border: 1px solid rgba(59,130,246,0.3); }
.tag-prat { background: rgba(139,92,246,0.08); color: #c084fc; border: 1px solid rgba(139,92,246,0.3); }
.tag-adv  { background: rgba(6,182,212,0.08);  color: #22d3ee; border: 1px solid rgba(6,182,212,0.3); }

/* ============================================
   LÓGICA DE PROGRAMAÇÃO - DESTAQUE
   ============================================ */
.logica-banner {
  background: linear-gradient(135deg, rgba(59,130,246,0.08) 0%, rgba(139,92,246,0.08) 100%);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: 20px;
  padding: 2.5rem;
  margin-bottom: 3rem;
}
.logica-banner h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #60a5fa;
  margin-bottom: 0.75rem;
}
.logica-banner p {
  color: var(--color-text-muted);
  line-height: 1.8;
  font-size: 0.95rem;
}
.logica-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.logica-topics span {
  background: rgba(59,130,246,0.06);
  border: 1px solid rgba(59,130,246,0.25);
  border-left: 2px solid #3b82f6;
  color: #93c5fd;
  padding: 0.28rem 0.75rem;
  border-radius: 3px;
  font-size: 0.78rem;
  font-family: 'Courier New', monospace;
  font-weight: 600;
}

/* ============================================
   PLANOS
   ============================================ */
.plans-section {
  background: linear-gradient(135deg, var(--color-bg-darker) 0%, var(--color-bg-dark) 100%);
}
.promo-ribbon {
  display: inline-block;
  background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
  color: #fff;
  padding: 0.35rem 1.2rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
  animation: pulse 2s infinite;
}
.price-original {
  text-decoration: line-through;
  color: #4b5563;
  font-size: 1rem;
  display: block;
  margin-bottom: 0.2rem;
}
.price-promo-badge {
  display: inline-block;
  background: rgba(245,158,11,0.15);
  border: 1px solid rgba(245,158,11,0.4);
  color: #fbbf24;
  padding: 0.25rem 0.9rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 0.4rem;
}

/* ============================================
   FAQ
   ============================================ */
.faq-section {
  padding: 5rem 0;
  background: var(--color-surface);
}
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item.open {
  border-color: rgba(59,130,246,0.3);
}
.faq-q {
  width: 100%;
  background: var(--color-bg-dark);
  border: none;
  color: #e2e8f0;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: background 0.3s;
  font-family: inherit;
}
.faq-q:hover { background: rgba(59,130,246,0.05); }
.faq-q i {
  color: #3b82f6;
  transition: transform 0.3s;
  flex-shrink: 0;
}
.faq-item.open .faq-q i { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  background: var(--color-bg-dark);
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  padding: 0 1.5rem;
}
.faq-item.open .faq-a {
  max-height: 300px;
  padding: 0 1.5rem 1.25rem;
}

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 28px;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 999;
  text-decoration: none;
  transition: all 0.3s;
}
.whatsapp-float:hover { transform: scale(1.1); }

/* ============================================
   OVERRIDES - BADGES DO CSS EXTERNO
   ============================================ */
.urgency-badge {
  background: rgba(245,158,11,0.1) !important;
  color: #fbbf24 !important;
  padding: 0.35rem 0.85rem !important;
  border-radius: 4px !important;
  border: 1px solid rgba(245,158,11,0.45) !important;
  font-size: 0.73rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  font-family: 'Courier New', monospace !important;
  animation: none !important;
  box-shadow: none !important;
}

.section-tag {
  display: inline-block !important;
  background: transparent !important;
  border: 1px solid rgba(59,130,246,0.35) !important;
  border-left: 3px solid #3b82f6 !important;
  border-radius: 3px !important;
  color: #60a5fa !important;
  padding: 0.3rem 0.85rem !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  margin-bottom: 0.75rem !important;
  font-family: 'Courier New', monospace !important;
}

/* ============================================
   RESPONSIVO
   ============================================ */
@media (max-width: 768px) {
  .modules-grid { grid-template-columns: 1fr 1fr; }
  .for-who-grid { grid-template-columns: 1fr; }
  .plans-grid { grid-template-columns: 1fr !important; }
  .hero .container { grid-template-columns: 1fr !important; }
  .ide-card { display: none; }
}
@media (max-width: 480px) {
  .modules-grid { grid-template-columns: 1fr; }
}
