:root {
  --primary: #1a202c;
  --accent-red: #ef4444;
  --accent-orange: #f97316;
  --accent-green: #059669;
  --accent-slate: #475569;
  --text-dark: #1e293b;
  --text-light: #475569;
  --bg-light: #f8fafc;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  color: var(--text-dark);
  background-color: #ffffff;
  line-height: 1.6;
}

:focus-visible {
  outline: 2px solid var(--accent-orange);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 8px;
  background-color: var(--primary);
  color: white;
  padding: 12px 20px;
  border-radius: 0 0 8px 8px;
  z-index: 1001;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.navbar {
  background-color: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 50px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 14px;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--accent-orange);
}

.nav-links .btn-contact {
  background-color: var(--accent-green);
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  transition: background-color 0.2s;
}

.nav-links .btn-contact:hover {
  background-color: #047857;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 3px;
  background-color: var(--text-dark);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.hero {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-bottom: 1px solid #e2e8f0;
}

.hero-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.hero-text {
  flex: 1 1 500px;
}

.hero-badge {
  display: inline-block;
  background-color: #fee2e2;
  color: #dc2626;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.hero h1 {
  font-size: 42px;
  font-weight: 900;
  line-height: 1.2;
  color: var(--primary);
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  transition: opacity 0.2s;
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-secondary {
  background-color: white;
  color: var(--text-dark);
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  border: 1px solid #cbd5e1;
  transition: background-color 0.2s;
}

.btn-secondary:hover {
  background-color: #f8fafc;
}

.hero-image-container {
  flex: 1 1 400px;
  display: flex;
  justify-content: center;
}

.hero-logo-big {
  max-width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: contain;
}

/* Faixa de Imagens em Carrossel Infinito */
.image-ticker-section {
  overflow: hidden;
  background-color: #f1f5f9;
  padding: 40px 0;
  border-bottom: 1px solid #e2e8f0;
  position: relative;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: scroll 45s linear infinite; /* Altere '45s' para mudar a velocidade */
}

.ticker-item {
  flex: 0 0 auto;
  padding: 0 14px;
}

.ticker-item img {
  height: 320px;
  width: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.ticker-item img:hover {
  transform: scale(1.02);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Modal para Imagem Ampliada */
.image-modal {
  border: none;
  margin: auto;
  max-width: none;
  max-height: none;
  padding: 20px;
  overflow: visible;
  background: transparent;
}

.image-modal::backdrop {
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
}

.modal-content-wrapper {
  position: relative;
  max-width: 90%;
  max-height: 90vh;
}

.modal-image {
  max-width: 100%;
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
  object-fit: contain;
}

.close-modal-btn {
  position: absolute;
  top: -45px;
  right: 0;
  background-color: #ffffff;
  color: #1e293b;
  border: none;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background-color 0.2s;
}

.close-modal-btn:hover {
  background-color: #f1f5f9;
}

/* Info Section */
.info-section {
  padding: 60px 0;
  text-align: center;
  background-color: #ffffff;
}

.section-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 48px auto;
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.feature-card {
  flex: 1 1 300px;
  max-width: 360px;
  background-color: var(--bg-light);
  border: 1px solid #e2e8f0;
  padding: 32px 24px;
  border-radius: 16px;
  text-align: left;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  margin-bottom: 16px;
}
.feature-icon svg { width: 26px; height: 26px; stroke-width: 1.8; }
.icon-homologado { background: #fef2f2; color: #dc2626; }
.icon-instrutores { background: #eff6ff; color: #2563eb; }
.icon-corporativo { background: #ecfdf5; color: #059669; }

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-light);
}

/* Trainings Section */
.trainings {
  padding: 80px 0;
  background-color: var(--bg-light);
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.trainings .section-title,
.trainings .section-subtitle {
  text-align: center;
}

.grid-trainings {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.training-card {
  flex: 1 1 calc(50% - 12px);
  min-width: 280px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.training-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
}

.card-nr10::before {
  background-color: var(--accent-red);
}
.card-nr12::before {
  background-color: var(--accent-orange);
}
.card-primeiros::before {
  background-color: var(--accent-green);
}
.card-nr35::before {
  background-color: var(--accent-slate);
}

.training-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  margin-bottom: 16px;
  width: fit-content;
}

.tag-nr10 {
  background-color: #fef2f2;
  color: var(--accent-red);
}
.tag-nr12 {
  background-color: #fff7ed;
  color: var(--accent-orange);
}
.tag-primeiros {
  background-color: #ecfdf5;
  color: var(--accent-green);
}
.tag-nr35 {
  background-color: #f1f5f9;
  color: var(--accent-slate);
}

.training-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--primary);
}

.training-card p {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 24px;
  flex-grow: 1;
}

.training-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.training-link:hover {
  text-decoration: underline;
}

/* Footer */
.footer {
  background-color: #0f172a;
  color: #94a3b8;
  padding: 40px 0;
  border-top: 1px solid #1e293b;
  font-size: 14px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-logo-text {
  color: white;
  font-weight: 800;
  font-size: 18px;
}

.footer-address {
  font-style: normal;
  font-size: 13px;
  color: #64748b;
}

.footer-address a {
  color: #94a3b8;
  text-decoration: none;
  font-weight: 600;
}

.footer-address a:hover {
  color: white;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.social-link {
  color: #94a3b8;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: color 0.2s;
}

.social-link:hover {
  color: white;
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #ffffff;
    flex-direction: column;
    padding: 16px 24px;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    gap: 12px;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-container {
    position: relative;
  }

  .hero h1 {
    font-size: 32px;
  }
  .hero {
    padding: 40px 0;
  }
  .training-card {
    flex: 1 1 100%;
  }
  .ticker-item img {
    height: 220px;
  }
  .close-modal-btn {
    top: -40px;
  }
}

.cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: #ffffff;
}

.cta-box {
  background-color: var(--primary);
  color: white;
  border-radius: 24px;
  padding: 48px 32px;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}

.cta-box h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-box p {
  color: #94a3b8;
  font-size: 16px;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-whatsapp {
  background-color: #25d366;
  color: white;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  transition: opacity 0.2s;
}

.btn-whatsapp:hover {
  opacity: 0.9;
}

.btn-instagram {
  background: linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
  color: white;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  transition: opacity 0.2s;
}

.btn-instagram:hover {
  opacity: 0.9;
}
