/* ============================================
   Landing Page - pixelemfoco
   Plataforma de Cursos Online
   ============================================ */

/* Reset e Configurações Globais */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #667eea;
  --secondary-color: #764ba2;
  --text-dark: #2d3748;
  --text-light: #718096;
  --bg-light: #f7fafc;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   Header / Navegação
   ============================================ */
.header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: var(--white);
}

.menu {
  display: flex;
  gap: 30px;
  align-items: center;
}

.menu a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 8px 16px;
  border-radius: 5px;
}

.menu a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-login {
  background: var(--white) !important;
  color: var(--primary-color) !important;
  padding: 10px 25px !important;
  border-radius: 25px !important;
  font-weight: 600 !important;
}

.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* ============================================
   Banner Principal
   ============================================ */
.banner {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
  padding: 80px 20px;
  min-height: 600px;
  display: flex;
  align-items: center;
}

.banner-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.banner-text h1 {
  font-size: 48px;
  margin-bottom: 20px;
  line-height: 1.2;
}

.banner-text p {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.95;
  line-height: 1.8;
}

.banner-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-main, .btn-secondary {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 16px;
}

.btn-main {
  background: var(--white);
  color: var(--primary-color);
}

.btn-main:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--primary-color);
}

.banner-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.banner-placeholder {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 20px;
  backdrop-filter: blur(10px);
}

/* ============================================
   Seção Sobre
   ============================================ */
.sobre {
  padding: 80px 20px;
  background: var(--bg-light);
  text-align: center;
}

.sobre h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.sobre p {
  font-size: 18px;
  color: var(--text-light);
  max-width: 800px;
  margin: 0 auto 50px;
  line-height: 1.8;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.stat-item {
  background: var(--white);
  padding: 30px;
  border-radius: 15px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
}

.stat-item h3 {
  font-size: 48px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.stat-item p {
  font-size: 16px;
  color: var(--text-light);
  margin: 0;
}

/* ============================================
   Seção Cursos
   ============================================ */
.cursos {
  padding: 80px 20px;
  background: var(--white);
}

.cursos h2 {
  font-size: 36px;
  text-align: center;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.subtitle {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 50px;
  font-size: 18px;
}

.cursos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.curso-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 15px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  text-align: center;
  border: 2px solid transparent;
}

.curso-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.curso-icon {
  font-size: 60px;
  margin-bottom: 20px;
}

.curso-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.curso-card p {
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.6;
}

.curso-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

/* ============================================
   Seção Diferenciais
   ============================================ */
.diferenciais {
  padding: 80px 20px;
  background: var(--bg-light);
}

.diferenciais h2 {
  font-size: 36px;
  text-align: center;
  margin-bottom: 50px;
  color: var(--text-dark);
}

.diferenciais-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.diferencial-item {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 15px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
  text-align: center;
}

.diferencial-item:hover {
  transform: translateY(-5px);
}

.diferencial-icon {
  font-size: 50px;
  margin-bottom: 20px;
}

.diferencial-item h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.diferencial-item p {
  color: var(--text-light);
  line-height: 1.6;
}

/* ============================================
   Seção Contato
   ============================================ */
.contato {
  padding: 80px 20px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
  text-align: center;
}

.contato h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.contato p {
  font-size: 18px;
  margin-bottom: 40px;
  opacity: 0.95;
}

.contato-info {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.contato-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
}

.contato-icon {
  font-size: 24px;
}

.contato-item a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s ease;
}

.contato-item a:hover {
  opacity: 0.8;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: #1a202c;
  color: var(--white);
  padding: 60px 20px 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.footer-info h3 {
  margin-bottom: 15px;
  font-size: 24px;
}

.footer-info p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.footer-links h4,
.footer-social h4 {
  margin-bottom: 15px;
  font-size: 18px;
}

.footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--white);
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  font-size: 28px;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.social-icons a:hover {
  transform: scale(1.2);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   Responsividade
   ============================================ */
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    gap: 20px;
  }

  .menu {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    text-align: center;
  }

  .banner-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .banner-text h1 {
    font-size: 32px;
  }

  .banner-text p {
    font-size: 16px;
  }

  .banner-image {
    order: -1;
  }

  .banner-placeholder svg {
    width: 100%;
    height: auto;
  }

  .cursos-grid,
  .diferenciais-grid {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .banner-text h1 {
    font-size: 28px;
  }

  .banner-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn-main,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }

  .sobre h2,
  .cursos h2,
  .diferenciais h2,
  .contato h2 {
    font-size: 28px;
  }
}

/* ============================================
   Animações Suaves
   ============================================ */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.banner-text,
.curso-card,
.diferencial-item {
  animation: fadeIn 0.6s ease-out;
}
