/* ============================================================
   TECMOTOS – global.css
   Estilos compartilhados por todas as páginas.
   Para alterar cores principais, edite as variáveis abaixo:
   ============================================================ */

:root {
  --preto:       #0a0a0a;     /* Cor principal – fundo        */
  --vermelho:    #cc0000;     /* Cor de destaque              */
  --branco:      #ffffff;     /* Textos                       */
  --cinza:       #1a1a1a;     /* Cards e seções alternadas    */
  --cinza-claro: #2a2a2a;     /* Bordas e hover               */
  --texto-suave: #b0b0b0;     /* Textos secundários           */
  --fonte:       'Inter', sans-serif;
  --transicao:   0.3s ease;
  --radius:      8px;
  --sombra:      0 4px 24px rgba(0,0,0,0.4);
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--fonte);
  background: var(--preto);
  color: var(--branco);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Utilitários ──────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.section-title span { color: var(--vermelho); }
.section-subtitle {
  color: var(--texto-suave);
  font-size: 1rem;
  margin-bottom: 48px;
  max-width: 540px;
}

/* ── Botões ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: transform var(--transicao), box-shadow var(--transicao), background var(--transicao);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-whatsapp {
  background: #25D366;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37,211,102,0.3);
}
.btn-whatsapp:hover { background: #1ebe5d; box-shadow: 0 6px 28px rgba(37,211,102,0.45); }
.btn-vermelho {
  background: var(--vermelho);
  color: #fff;
  box-shadow: 0 4px 20px rgba(204,0,0,0.35);
}
.btn-vermelho:hover { background: #e00000; box-shadow: 0 6px 28px rgba(204,0,0,0.5); }
.btn-outline {
  background: transparent;
  color: var(--branco);
  border: 2px solid var(--branco);
}
.btn-outline:hover { background: var(--branco); color: var(--preto); }

/* ── Header ───────────────────────────────────────────── */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: box-shadow var(--transicao);
}
#header.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,0.6); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.logo img { height: 48px; width: auto; object-fit: contain; }
nav ul { display: flex; gap: 32px; }
nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--texto-suave);
  transition: color var(--transicao);
  position: relative;
}
nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--vermelho);
  transition: width var(--transicao);
}
nav a:hover,
nav a.active { color: var(--branco); }
nav a:hover::after,
nav a.active::after { width: 100%; }
.header-cta { display: flex; align-items: center; gap: 12px; }
.btn-wpp-header {
  background: #25D366;
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background var(--transicao), transform var(--transicao);
}
.btn-wpp-header:hover { background: #1ebe5d; transform: translateY(-1px); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--branco);
  transition: all var(--transicao);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ── Hero – textos compartilhados entre páginas ───────── */
.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.hero-title span { color: var(--vermelho); }
.hero-subtitle {
  font-size: 1.05rem;
  color: var(--texto-suave);
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--vermelho);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.8rem;
  color: var(--texto-suave);
  margin-top: 4px;
}

/* ── Tag de destaque (usada em ambas as páginas) ──────── */
.curso-tag {
  display: inline-block;
  background: rgba(204,0,0,0.15);
  border: 1px solid rgba(204,0,0,0.4);
  color: #ff4444;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
}

/* ── Animações de entrada ─────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Footer ───────────────────────────────────────────── */
footer {
  background: #050505;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 56px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo { margin-bottom: 16px; }
.footer-logo img { height: 44px; }
.footer-desc { font-size: 0.88rem; color: var(--texto-suave); line-height: 1.7; max-width: 280px; }
.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--texto-suave);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a {
  font-size: 0.9rem;
  color: var(--texto-suave);
  transition: color var(--transicao);
}
.footer-col a:hover { color: var(--branco); }
.footer-col p { font-size: 0.88rem; color: var(--texto-suave); line-height: 1.7; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.82rem; color: var(--texto-suave); }
.footer-bottom span { color: var(--vermelho); }

/* ── WhatsApp Flutuante ───────────────────────────────── */
.wpp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 999;
  background: #25D366;
  width: 60px; height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  transition: transform var(--transicao), box-shadow var(--transicao);
}
.wpp-float:hover { transform: scale(1.1); box-shadow: 0 6px 32px rgba(37,211,102,0.65); }
.wpp-float svg { width: 30px; height: 30px; color: #fff; }
.wpp-float-tooltip {
  position: absolute;
  right: 72px;
  background: #fff;
  color: #1a1a1a;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  opacity: 0;
  transform: translateX(8px);
  transition: all var(--transicao);
  pointer-events: none;
}
.wpp-float:hover .wpp-float-tooltip { opacity: 1; transform: translateX(0); }

/* ── Responsivo Global ────────────────────────────────── */
@media (max-width: 992px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  nav {
    display: none;
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: rgba(10,10,10,0.98);
    padding: 24px;
    flex-direction: column;
  }
  nav.open { display: flex; }
  nav ul { flex-direction: column; gap: 20px; }
  .hamburger { display: flex; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { justify-content: center; }
}
