:root {
  --primary-blue: #003a99;
  --navy-blue: #001f5c;
  --light-blue: #2563eb;
  --cyan: #00bcd4;
  --white: #ffffff;
  --light-gray: #f0f0f0;
  --dark-text: #333333;
  --text-gray: #666666;
  --success-yellow: #fdd835;
  --hero-bg: linear-gradient(135deg, #5B3ADB 0%, #3A6FDB 50%, #00BCD4 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark-text);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.top-header {
  background-color: var(--white);
  border-bottom: 1px solid #e0e0e0;
  padding: 15px 0;
}

.top-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 28px;
  font-weight: 900;
  color: var(--dark-text);
  letter-spacing: 1px;
}

.logo-img {
  height: 80px;
  object-fit: contain;
  cursor: pointer;
}

.top-header-right {
  display: flex;
  align-items: center;
  gap: 30px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-icon {
  font-size: 20px;
}

.info-icon-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.info-text {
  display: flex;
  flex-direction: column;
}

.info-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-blue);
}

.info-sublabel {
  font-size: 11px;
  color: var(--text-gray);
}

.social-icons {
  display: flex;
  gap: 8px;
}

.social-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  font-size: 13px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-icon:hover {
  background-color: var(--cyan);
  color: var(--primary-blue);
  transform: translateY(-3px);
}

.social-icon-img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.nav-bar {
  background-color: var(--primary-blue);
  padding: 0;
  margin: 0;
  border-bottom: none;
}

.nav-content {
  display: flex;
  gap: 0;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: var(--white);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  padding: 15px 30px;
  transition: background-color 0.3s ease;
  border-bottom: 3px solid transparent;
}

.nav-link:hover,
.nav-link.active {
  background-color: rgba(255, 255, 255, 0.1);
  border-bottom-color: var(--cyan);
}

.hero {
  width: 100%;
  height: auto;
  padding: 0 !important;
  margin: 0 !important;
  border: none;
  overflow: hidden;
  background: transparent !important;
  display: block;
}

.hero-content {
  display: none !important;
}

.hero-image-full {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 !important;
  padding: 0 !important;
  border: none;
}

.hero-url {
  font-size: 12px;
  opacity: 0.9;
  margin-bottom: 10px;
  font-weight: 600;
}

.hero-text h1 {
  font-size: 56px;
  margin-bottom: 15px;
  line-height: 1.1;
  font-weight: 700;
}

.hero-text .highlight {
  color: var(--cyan);
  font-style: italic;
}

.hero-subtitle {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.95;
}

.btn {
  padding: 14px 28px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-download {
  background-color: var(--white);
  color: var(--primary-blue);
  margin-bottom: 30px;
}

.btn-download:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.logo-badge {
  display: flex;
  align-items: center;
  gap: 15px;
  background-color: rgba(255, 255, 255, 0.15);
  padding: 15px 20px;
  border-radius: 8px;
  width: fit-content;
  backdrop-filter: blur(10px);
}

.badge-icon {
  background-color: var(--white);
  color: var(--primary-blue);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 28px;
  flex-shrink: 0;
}

.logo-badge p {
  font-size: 12px;
  line-height: 1.3;
}

.logo-badge strong {
  font-size: 13px;
}

.hero-image {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  object-fit: cover;
  height: 550px;
}

.cursos {
  padding: 80px 0;
  background-color: var(--light-gray);
}

.section-title {
  font-size: 32px;
  margin-bottom: 50px;
  color: var(--primary-blue);
  font-weight: 700;
  text-align: left;
}

.cursos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.curso-card {
  background-color: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.curso-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.curso-card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.curso-card h3 {
  padding: 20px;
  font-size: 16px;
  color: var(--dark-text);
  margin-bottom: 15px;
  line-height: 1.4;
  height: 80px;
  display: flex;
  align-items: center;
}

.btn-tertiary {
  background-color: var(--primary-blue);
  color: var(--white);
  margin: 0 20px 20px 20px;
  width: calc(100% - 40px);
}

.btn-tertiary:hover {
  background-color: var(--light-blue);
  transform: translateY(-2px);
}

/* ===========================
   CURSO DETAIL PAGE
   =========================== */
.curso-detail {
  padding: 0;
  background-color: var(--light-gray);
  margin-bottom: 40px;
}

.curso-detail .container {
  padding: 0 20px;
}

.curso-title {
  font-size: 32px;
  margin-bottom: 0;
  margin-right: 10px;
  color: var(--dark-text);
  font-weight: 700;
  text-align: left;
  padding: 60px 40px 20px 40px;
  background-color: var(--light-gray);
  border-bottom: 3px solid var(--dark-text);
  display: inline-block;
}

.curso-subtitle {
  font-size: 32px;
  margin-bottom: 40px;
  color: var(--light-blue);
  font-weight: 700;
  text-align: left;
  padding: 40px 40px 0 40px;
  background-color: var(--light-gray);
  width: 100%;
}

.curso-header {
  display: none;
}

.curso-detail-image {
  width: 100%;
  border-radius: 0;
  box-shadow: none;
  object-fit: cover;
  height: auto;
  max-height: 500px;
  display: block;
  margin-bottom: 40px;
  padding: 0 40px;
  box-sizing: border-box;
}

.curso-info {
  background-color: var(--white);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  margin-bottom: 40px;
}

.curso-info h2,
.curso-info h3 {
  font-size: 18px;
  color: var(--dark-text);
  margin-bottom: 20px;
  line-height: 1.4;
  font-weight: 700;
}

.curso-description {
  font-size: 16px;
  color: var(--text-gray);
  margin-bottom: 15px;
  line-height: 1.8;
  text-align: left;
}

.curso-details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.detail-box {
  background-color: #fef3c7;
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid var(--success-yellow);
}

.detail-box h4 {
  color: var(--primary-blue);
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
}

.detail-box p {
  color: var(--text-gray);
  font-size: 15px;
}

.btn-inscription {
  background-color: var(--primary-blue);
  color: var(--white);
  width: 100%;
  padding: 15px;
  font-size: 16px;
  font-weight: 600;
}

.btn-inscription a {
  color: inherit;
  text-decoration: none;
}

.btn-inscription:hover {
  background-color: var(--light-blue);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.footer-header {
  background-color: var(--light-gray);
  border-top: 1px solid #e0e0e0;
  padding: 15px 0;
}

@media (max-width: 768px) {
  .top-header-content {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .top-header-right {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-text h1 {
    font-size: 42px;
  }

  .hero-image {
    height: 350px;
  }

  .cursos-grid {
    grid-template-columns: 1fr;
  }

  .curso-header {
    grid-template-columns: 1fr;
  }

  .curso-detail-image {
    height: 300px;
  }

  .footer-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .nav-link {
    padding: 12px 20px;
    font-size: 12px;
  }

  .curso-details-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 32px;
  }

  .hero-url {
    font-size: 11px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .section-title {
    font-size: 24px;
  }

  .curso-card h3 {
    font-size: 14px;
  }

  .info-item {
    gap: 8px;
  }

  .info-label {
    font-size: 12px;
  }

  .info-sublabel {
    font-size: 10px;
  }

  .social-icons {
    gap: 6px;
  }

  .social-icon {
    width: 28px;
    height: 28px;
    font-size: 11px;
  }

  .curso-title {
    font-size: 24px;
  }

  .curso-subtitle {
    font-size: 22px;
  }
}
