/* Reset e configurações básicas */
* {
  margin: 0;
  padding: 0;
  border: none;
  box-sizing: border-box;
  font-family: "Roboto", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

:root {
  /* Cores inspiradas em Minecraft */
  --primary-color: #7cb342; /* Verde Minecraft */
  --secondary-color: #8d6e63; /* Marrom terra */
  --accent-color: #ffb300; /* Dourado */
  --dark-green: #558b2f; /* Verde escuro */
  --brown: #6d4c41; /* Marrom escuro */
  --gray: #424242; /* Cinza escuro */
  --light-gray: #757575; /* Cinza claro */
  --white: #fafafa; /* Branco suave */
  --black: #212121; /* Preto */
  --background: #2e2e2e; /* Fundo escuro */
  --card-bg: #3e3e3e; /* Fundo dos cards */
  --border-color: #555555; /* Cor das bordas */
}

body {
  background: linear-gradient(135deg, var(--background) 0%, var(--gray) 100%);
  color: var(--white);
  min-height: 100vh;
  line-height: 1.6;
}

/* Menu Sidebar */
.menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 80px;
  background-color: rgba(36, 36, 36, 0.95);
  backdrop-filter: blur(10px);
  overflow-x: hidden;
  transition: width 0.3s ease;
  box-shadow: 2px 0 15px rgba(255, 184, 0, 0.2);
  z-index: 1000;
  border-right: 2px solid var(--primary-color);
}

.conteudo {
  margin-left: 90px;
  padding: 20px;
  transition: margin-left 0.3s ease;
}

.menu:hover {
  width: 250px;
}

.menu ul {
  list-style: none;
  padding: 20px 0;
  margin: 0;
}

.menu li {
  margin: 15px 0;
  text-align: left;
  padding: 0 15px;
}

.menu a {
  text-decoration: none;
  font-size: 1.1rem;
  color: var(--white);
  display: block;
  padding: 12px 20px;
  transition: all 0.3s ease;
  border-radius: 10px;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.menu a:hover {
  color: var(--primary-color);
  background-color: rgba(255, 184, 0, 0.1);
  transform: translateX(5px);
}

.menu a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.menu a:hover::before {
  width: 100%;
}

.menu-icon {
  font-size: 1.5rem;
  margin-right: 15px;
  display: inline-block;
  width: 30px;
  text-align: center;
}

.menu-text {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.menu:hover .menu-text {
  opacity: 1;
}

/* Main Content */
.main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

/* Section Titles */
.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 3rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

/* Hero Sections */
.hero,
.content-hero,
.inscription-hero {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, var(--card-bg) 0%, var(--gray) 100%);
  border-radius: 20px;
  margin-bottom: 4rem;
  border: 2px solid var(--primary-color);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.hero-title,
.content-hero-title,
.inscription-hero-title {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle,
.content-hero-subtitle,
.inscription-hero-subtitle {
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--dark-green));
  color: var(--white);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(124, 179, 66, 0.4);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--secondary-color), var(--brown));
  color: var(--white);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(141, 110, 99, 0.4);
}

.btn-large {
  padding: 1.2rem 2.5rem;
  font-size: 1.2rem;
}

/* Features Grid */
.features-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.feature-card {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  border: 2px solid var(--primary-color);
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(124, 179, 66, 0.3);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

.feature-card h4 {
  color: var(--accent-color);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--white);
  opacity: 0.9;
}

/* Stats Grid */
.stats-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.stat-card {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  flex: 1;
  min-width: 200px;
  max-width: 250px;
  border: 2px solid var(--accent-color);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(255, 179, 0, 0.3);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--white);
  font-weight: 500;
}

/* Modules Grid */
.modules-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.module-card {
  background: var(--card-bg);
  border-radius: 15px;
  overflow: hidden;
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  border: 2px solid var(--primary-color);
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.module-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(124, 179, 66, 0.3);
}

.module-header {
  background: linear-gradient(135deg, var(--primary-color), var(--dark-green));
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.module-icon {
  font-size: 2rem;
}

.module-header h4 {
  color: var(--white);
  font-size: 1.2rem;
}

.module-content {
  padding: 1.5rem;
}

.module-content ul {
  list-style: none;
  margin-bottom: 1rem;
}

.module-content li {
  color: var(--white);
  margin-bottom: 0.5rem;
  padding-left: 1rem;
  position: relative;
}

.module-content li::before {
  content: "⚔️";
  position: absolute;
  left: 0;
}

.module-duration {
  color: var(--accent-color);
  font-weight: 600;
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

/* Skills Table */
.table-container {
  background: var(--card-bg);
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 4rem;
  border: 2px solid var(--primary-color);
  overflow-x: auto;
}

.skills-table-content {
  width: 100%;
  border-collapse: collapse;
  background: var(--card-bg);
}

.skills-table-content th,
.skills-table-content td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.skills-table-content th {
  background: linear-gradient(135deg, var(--primary-color), var(--dark-green));
  color: var(--white);
  font-weight: 600;
  position: sticky;
  top: 0;
}

.skills-table-content tr:hover {
  background-color: rgba(124, 179, 66, 0.1);
}

/* Certification */
.certification-content {
  display: flex;
  align-items: center;
  gap: 3rem;
  background: var(--card-bg);
  padding: 3rem;
  border-radius: 15px;
  border: 2px solid var(--accent-color);
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.certification-info {
  flex: 1;
  min-width: 300px;
}

.certification-info h4 {
  color: var(--accent-color);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.certification-info ul {
  list-style: none;
  margin-top: 1rem;
}

.certification-info li {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.certification-image {
  flex: 0 0 200px;
  display: flex;
  justify-content: center;
}

.cert-placeholder {
  background: linear-gradient(
    135deg,
    var(--accent-color),
    var(--primary-color)
  );
  width: 150px;
  height: 200px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(255, 179, 0, 0.3);
}

.cert-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* Pricing */
.pricing-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.pricing-card {
  background: var(--card-bg);
  border-radius: 15px;
  padding: 2rem;
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  border: 2px solid var(--primary-color);
  transition: all 0.3s ease;
  position: relative;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.pricing-card.featured {
  border-color: var(--accent-color);
  transform: scale(1.05);
  box-shadow: 0 8px 32px rgba(255, 179, 0, 0.3);
}

.pricing-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-color);
  color: var(--black);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
}

.pricing-header {
  text-align: center;
  margin-bottom: 2rem;
}

.pricing-header h4 {
  color: var(--accent-color);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.price-period {
  color: var(--light-gray);
  font-size: 1rem;
}

.pricing-features {
  list-style: none;
}

.pricing-features li {
  color: var(--white);
  margin-bottom: 0.8rem;
  padding-left: 1rem;
}

/* Form Styles */
.form-container {
  background: var(--card-bg);
  border-radius: 15px;
  padding: 3rem;
  margin-bottom: 4rem;
  border: 2px solid var(--primary-color);
}

.form-section {
  margin-bottom: 2.5rem;
}

.form-section h4 {
  color: var(--accent-color);
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 0.5rem;
}

.form-row {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.form-group {
  flex: 1;
  min-width: 250px;
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  color: var(--white);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border-radius: 8px;
  background: var(--background);
  color: var(--white);
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(124, 179, 66, 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* Radio and Checkbox Styles */
.radio-group,
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.radio-option,
.checkbox-option {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  cursor: pointer;
  color: var(--white);
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.radio-option:hover,
.checkbox-option:hover {
  background-color: rgba(124, 179, 66, 0.1);
}

.radio-option input,
.checkbox-option input {
  display: none;
}

.radio-custom,
.checkbox-custom {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-color);
  border-radius: 50%;
  position: relative;
  transition: all 0.3s ease;
}

.checkbox-custom {
  border-radius: 4px;
}

.radio-option input:checked + .radio-custom {
  border-color: var(--primary-color);
  background-color: var(--primary-color);
}

.radio-option input:checked + .radio-custom::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: var(--white);
  border-radius: 50%;
}

.checkbox-option input:checked + .checkbox-custom {
  border-color: var(--primary-color);
  background-color: var(--primary-color);
}

.checkbox-option input:checked + .checkbox-custom::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--white);
  font-weight: bold;
  font-size: 12px;
}

/* Form Actions */
.form-actions {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* FAQ */
.faq-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.faq-item {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 15px;
  flex: 1;
  min-width: 280px;
  max-width: 400px;
  border: 2px solid var(--primary-color);
  transition: all 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(124, 179, 66, 0.3);
}

.faq-item h4 {
  color: var(--accent-color);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.faq-item p {
  color: var(--white);
  opacity: 0.9;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--dark-green) 0%, var(--brown) 100%);
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-section {
  flex: 1;
  min-width: 250px;
}

.footer-section h4 {
  color: var(--accent-color);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.footer-section p {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid var(--border-color);
  color: var(--white);
  opacity: 0.8;
}

/* Links */
.link {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.link:hover {
  color: var(--primary-color);
}

/* Media Queries */
@media (max-width: 768px) {
  .menu {
    width: 60px;
  }

  .menu:hover {
    width: 200px;
  }

  .conteudo {
    margin-left: 70px;
    padding: 1rem;
  }

  .hero-title,
  .content-hero-title,
  .inscription-hero-title {
    font-size: 2rem;
  }

  .hero-subtitle,
  .content-hero-subtitle,
  .inscription-hero-subtitle {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .features-grid,
  .stats-grid,
  .modules-grid,
  .pricing-grid {
    flex-direction: column;
    align-items: center;
  }

  .feature-card,
  .stat-card,
  .module-card,
  .pricing-card {
    width: 100%;
    max-width: 400px;
  }

  .form-row {
    flex-direction: column;
  }

  .form-group {
    min-width: auto;
  }

  .form-actions {
    flex-direction: column;
    align-items: center;
  }

  .certification-content {
    flex-direction: column;
    text-align: center;
  }

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

  .table-container {
    padding: 1rem;
  }

  .skills-table-content {
    font-size: 0.9rem;
  }

  .skills-table-content th,
  .skills-table-content td {
    padding: 0.5rem;
  }
}

@media (max-width: 480px) {
  .logo h1 {
    font-size: 1.4rem;
  }

  .logo-icon {
    font-size: 2rem;
  }

  .hero,
  .content-hero,
  .inscription-hero {
    padding: 2rem 1rem;
  }

  .hero-title,
  .content-hero-title,
  .inscription-hero-title {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .form-container {
    padding: 1.5rem;
  }

  .pricing-card.featured {
    transform: none;
  }
}

@media (max-width: 320px) {
  .menu {
    width: 45px;
  }

  .menu:hover {
    width: 160px;
  }

  .conteudo {
    margin-left: 55px;
    padding: 0.5rem;
  }

  .hero,
  .content-hero,
  .inscription-hero {
    padding: 1rem 0.5rem;
  }

  .hero-title,
  .content-hero-title,
  .inscription-hero-title {
    font-size: 1.6rem;
  }

  .hero-subtitle,
  .content-hero-subtitle,
  .inscription-hero-subtitle {
    font-size: 0.9rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }

  .menu-icon {
    font-size: 1.2rem;
    margin-right: 8px;
    width: 20px;
  }

  .menu a {
    font-size: 0.9rem;
    padding: 8px 12px;
  }

  .feature-card,
  .stat-card,
  .module-card,
  .pricing-card {
    padding: 1rem;
    margin-bottom: 1rem;
  }

  .form-container {
    padding: 1rem;
  }

  .footer-content {
    padding: 0 1rem;
  }

  .footer-section {
    min-width: auto;
    margin-bottom: 1rem;
  }
}
