/* Fonte moderna */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* Variáveis - Base Clara com Roxo nos Destaques */
:root {
    /* Roxos */
    --primary: #667eea;
    --primary-dark: #764ba2;
    --primary-light: #a78bfa;
    
    /* Base Clara */
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-lighter: #f3f4f6;
    
    /* Textos */
    --text-dark: #1f2937;
    --text-gray: #6b7280;
    --text-light: #9ca3af;
    
    /* Outros */
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /* font-family: 'Inter', sans-serif; */
    font-family: Arial, sans-serif;
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: #f8f9fa;
}

html {
    scroll-behavior: smooth;
}

.swiper {
  width: 80%;
  padding: 40px 0;
}

.book-cover {
  width: 100%;
  aspect-ratio: 2 / 3; /* formato capa */
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.book-cover:hover {
  transform: scale(1.04);
}

.swiper-button-next,
.swiper-button-prev {
  color: #333;
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark) !important;
}

.brand-highlight {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    color: var(--text-gray) !important;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem !important;
    font-size: 0.95rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: calc(100% - 2rem);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    font-weight: 600;
    padding: 0.6rem 1.8rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    font-weight: 600;
    padding: 0.6rem 1.8rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    margin-top: 76px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 20%;
    background: linear-gradient(to top, var(--bg-white), transparent);
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: white;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    font-weight: 400;
}

.hero-buttons .btn {
    font-size: 1.1rem;
    padding: 0.9rem 2.5rem;
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

/* Seções */
.section-light {
    background: var(--bg-white);
}

.section-courses {
    background: var(--bg-light);
}

.section-science {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

.section-cta {
    background: var(--bg-lighter);
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
}

.text-lead {
    font-size: 1.15rem;
    color: var(--text-gray);
    line-height: 1.7;
}

/* Features List */
.features-list {
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.feature-item i {
    color: var(--primary);
    font-size: 1.5rem;
}

/* Image Placeholder */
.image-placeholder {
    background: var(--bg-lighter);
    border-radius: 20px;
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* border: 2px dashed var(--border-color); */
}

.image-placeholder i {
    font-size: 4rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.image-placeholder img {
  width: 100%;
  heigth: 100%;
  border-radius: 7%;
  border: 7px solid var(--border-color);
}

.image-placeholder p {
    color: var(--text-gray);
}

/* Carousel */
.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

.carousel-control-btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.carousel-control-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.carousel-indicator {
    color: var(--text-gray);
    font-size: 1rem;
    font-weight: 600;
}

#currentSlide {
    color: var(--primary);
    font-size: 1.4rem;
    font-weight: 700;
}

.courses-carousel-wrapper {
    position: relative;
    padding: 20px 60px;
}

.carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 2px solid var(--border-color);
    color: var(--primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.carousel-nav-btn:hover {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-color: transparent;
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav-btn.prev {
    left: 0;
}

.carousel-nav-btn.next {
    right: 0;
}

.courses-carousel {
    display: flex;
    gap: 25px;
    overflow: hidden;
    padding: 20px 0;
}

/* Course Cards */
.course-card {
    min-width: 300px;
    max-width: 300px;
    flex-shrink: 0;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 16px;
    overflow: hidden;
    background: white;
    box-shadow: var(--shadow-md);
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.course-image-container {
    position: relative;
    overflow: hidden;
}

.course-image {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.course-card:hover .course-image {
    transform: scale(1.05);
}

.course-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.course-card:hover .course-overlay {
    opacity: 1;
}

.course-info {
    padding: 1.5rem;
    background: white;
}

.course-info h5 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 700;
}

.course-info p {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin: 0;
}

.carousel-progress {
    width: 100%;
    height: 4px;
    background: rgba(102, 126, 234, 0.15);
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar-custom {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    width: 0%;
    transition: width 1.6s linear;
    border-radius: 10px;
}

/* Info Cards */
.info-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid var(--border-color);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.info-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

/* Dual Cards */
.dual-card {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    /* border: 1px solid var(--border-color); */
    transition: all 0.3s ease;
}

.dual-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1.5rem;
}

.card-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.card-description {
    color: var(--text-gray);
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.card-nutri{
  /* background: linear-gradient(140deg, var(--bg-lighter), orange); */
  background: linear-gradient(0deg, var(--bg-white), orange);
}

.card-preparadora{
  /* background: linear-gradient(330deg, var(--bg-lighter), #f64847); */
  background: linear-gradient(0deg, var(--bg-white), #f64847);
}
.card-psicologa {
  /* background: linear-gradient(210deg, var(--bg-lighter), yellow); */
  background: linear-gradient(0deg, var(--bg-white), yellow);
}

.card-medico {
  /* background: linear-gradient(60deg, var(--bg-lighter), lightgreen); */
  background: linear-gradient(0deg, var(--bg-white), lightgreen);
} 

.card-instrucao {
  background: linear-gradient(330deg, var(--bg-lighter), #4F00FF);
  /* background: linear-gradient(0deg, var(--bg-white), #4F00FF); */
}

.card-mentorias {
  background: linear-gradient(30deg, var(--bg-lighter), lightgreen);
  /* background: linear-gradient(0deg, var(--bg-white), lightgreen); */
} 

.card-voce {
  background: linear-gradient(210deg, var(--bg-lighter), #9933FF);
  /* background: radial-gradient(circle, #F3EBFA 10%, #9933FF 100%); */
  /* background: linear-gradient(#9933FF, #F3EBFA, #9933FF); */
}

.card-empresas {
  background: linear-gradient(150deg, var(--bg-lighter), var(--primary));
  /* background: linear-gradient(var(--primary), #F3EBFA, var(--primary)); */
}

.plan-highlights {
    margin: 2rem 0;
}

.plan-item {
    background: var(--bg-lighter);
    padding: 1.2rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.plan-item strong {
    color: var(--primary);
    font-size: 1.1rem;
}

.plan-item span {
    color: var(--text-gray);
    font-size: 0.95rem;
}

.benefits-compact {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.benefits-compact li {
    padding: 0.8rem 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-gray);
}

.benefits-compact i {
    color: var(--primary);
    font-size: 1.2rem;
}

/* Team Cards Compact */
.team-card-compact {
    /* background: white; */
    padding: 2rem 1.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 100%;
    /* border: 1px solid var(--border-color); */
}

.team-card-compact:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.team-icon-compact {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    font-size: 2rem;
    color: white;
}

.team-card-compact h5 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.team-card-compact p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin: 0;
}

/* Science Cards Compact */
.science-card-compact {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem 1.5rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.science-card-compact:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.science-emoji {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.science-card-compact h5 {
    color: white;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.science-card-compact p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin: 0;
}

/* CTA Section */
.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
}

.cta-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
}

/* Footer */
.footer {
    background: var(--bg-lighter);
    border-top: 1px solid var(--border-color);
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.footer-subtitle {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
}

.footer-link {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Responsive */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }

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

    .courses-carousel-wrapper {
        padding: 20px 50px;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 60vh;
        padding: 2rem 0;
    }

    .hero-title {
        font-size: 2.2rem;
    }

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

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

    .courses-carousel-wrapper {
        padding: 20px 45px;
    }

    .course-card {
        min-width: 280px;
        max-width: 280px;
    }

    .course-image {
        height: 380px;
    }

    .card-title {
        font-size: 1.7rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.9rem;
    }

    .courses-carousel-wrapper {
        padding: 20px 40px;
    }

    .carousel-nav-btn {
        width: 44px;
        height: 44px;
    }

    .course-card {
        min-width: 260px;
        max-width: 260px;
    }

    .course-image {
        height: 360px;
    }

    .dual-card {
        padding: 2rem 1.5rem;
    }
}

/* ===== DROPDOWN MENU DE CURSOS ===== */

/* Dropdown básico do Bootstrap com hover */
.navbar-nav .dropdown:hover .dropdown-menu {
  display: block;
  animation: fadeInDown 0.3s ease;
}

.dropdown-menu {
  margin-top: 0;
  border: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  padding: 0.5rem 0;
}

/* Menu de Cursos Customizado */
.dropdown-menu-cursos {
  min-width: 300px;
  max-height: 500px;
  overflow-y: auto;
}

.dropdown-menu-cursos .dropdown-item {
  padding: 0.4rem 1rem;
  display: flex;
  align-items: center;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.dropdown-menu-cursos .dropdown-item:hover {
  background: linear-gradient(90deg, rgba(102, 126, 234, 0.1), transparent);
  border-left-color: var(--primary);
  padding-left: 1.5rem;
}

/* Info do Curso */
.curso-info {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.curso-info strong {
  color: var(--text-dark);
  font-size: 0.95rem;
  line-height: 1.2;
}

.curso-info small {
  color: var(--text-gray);
  font-size: 0.75rem;
  line-height: 1.2;
}

/* Separador */
.dropdown-divider {
  margin: 0.5rem 0;
  border-color: var(--border-color);
}

/* Link "Ver Todos" */
.dropdown-item.ver-todos {
  background: var(--bg-lighter);
  font-weight: 600;
  color: var(--primary);
  margin-top: 0.5rem;
  border-left: none !important;
}

.dropdown-item.ver-todos:hover {
  background: var(--primary);
  color: white;
  padding-left: 1.2rem;
}

/* Animação de entrada */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scrollbar customizada no dropdown */
.dropdown-menu-cursos::-webkit-scrollbar {
  width: 6px;
}

.dropdown-menu-cursos::-webkit-scrollbar-track {
  background: var(--bg-light);
  border-radius: 10px;
}

.dropdown-menu-cursos::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 10px;
}

/* Seta do dropdown */
.dropdown-toggle::after {
  margin-left: 0.4rem;
  vertical-align: 0.15em;
}

/* Mobile: Comportamento diferente */
@media (max-width: 991px) {
  .dropdown-menu-cursos {
    position: static !important;
    transform: none !important;
    box-shadow: none;
    background: var(--bg-lighter);
    margin-top: 0.5rem;
    border-radius: 8px;
  }

  .navbar-nav .dropdown:hover .dropdown-menu {
    display: none; /* Desabilita hover no mobile */
  }

  /* No mobile usa click do Bootstrap */
  .dropdown-menu-cursos .dropdown-item {
    padding: 0.6rem 1rem;
  }

  .curso-numero {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }

  .curso-info strong {
    font-size: 0.9rem;
  }

  .curso-info small {
    font-size: 0.7rem;
  }
}
