:root {
    --primary-color: #0D30C6;
    --azul-forte: #081f5c;
    --amarelo: #eba53d;
    --text-light: #ffffff;
    --text-dark: #333333;
    --transition-default: all 0.3s ease;
}

/* Estilo padrão para a fonte Montserrat */
body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
}

/* Botões */
.btn {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.btn-amarelo {
    background-color: var(--amarelo) !important;
    border-color: var(--amarelo) !important;
    color: var(--text-light) !important;
}

.btn-amarelo:hover {
    filter: brightness(110%);
}

.btn-blue {
    background-color: #5392af !important;
    border-color: #5392af !important;
    color: white !important;
}

.btn-blue:hover {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.btn-dark-blue {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: white !important;
}

.btn-dark-blue:hover {
    background-color: var(--azul-forte) !important;
    border-color: var(--azul-forte) !important;
}

/* Classes para os diferentes pesos da fonte Montserrat */
.font-montserrat-light {
    font-weight: 300;
}

.font-montserrat-normal {
    font-weight: 400;
}

.font-montserrat-bold {
    font-weight: 700;
}

/* Classe para a cor primária */
.azul-futuro {
    color: var(--primary-color);
}

.azul-escuro {
    color: #081f5c;
}

/* Navegação */
.navbar {
    background-color: rgb(253, 241, 239);
    transition: var(--transition-default);
}

.navbar.scrolled {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-link {
    position: relative;
    transition: var(--transition-default);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-color);
    transition: var(--transition-default);
}

.nav-link:hover::after {
    width: 100%;
    left: 0;
}

/* Hero Section */
.hero-section {
    background-color: #FDF1EF;
    min-height: 100vh;
    max-height: 800px;
    display: flex;
    align-items: center;
}

.hero-content {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    width: 100%; /* Garante que o conteúdo ocupe toda a largura disponível */
}

/* Hero Mentoria */
.hero-mentoria {
    position: relative;
    background-image: url(img/capa-mentoria.png);
    background-size: cover;
    background-position: center;
    height: 70vh;
    color: white;
    text-align: left;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.hero-text-mentoria {
    position: relative;
    z-index: 10;
}

.hero-mentoria::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 5;
}

/* Newsletter Section */
.newsletter-section {
    margin-top: 2rem;
}

.newsletter-section form {
    display: flex;
    gap: 10px;
    width: 100%;
}

.newsletter-section input {
    flex: 1;
    min-width: 0; /* Previne o input de estourar o container */
    height: 40px; /* Altura fixa para alinhar com o botão */
    border: 2px solid #e9ecef;
    border-radius: 4px;
    padding: 0.375rem 0.75rem;
}

.newsletter-section .btn {
    height: 40px; /* Mesma altura do input */
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

/* Parallax Effect */
.parallax {
    background-image: url(img/capa-mentoria.png);
    height: 500px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Cards Padrão e Animações */
.card {
    transition: var(--transition-default);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

/* Novos estilos para os cards de curso */
.curso-card {
    border-radius: 12px;
    height: 100%;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

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

.bg-light-yellow {
    background-color: #FFF8E1;
}

.bg-light-green {
    background-color: #E8F5E9;
}

.bg-light-blue {
    background-color: #E3F2FD;
}

.curso-image-top {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.badge-container {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
}

.badge-custom {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: white;
    display: inline-block;
}

.mentoria-badge {
    background-color: #646400;
}

.curso-badge {
    background-color: #006400;
}

.action-badge {
    background-color: var(--amarelo);
}

.launch-badge {
    background-color: var(--amarelo);
}

.progress-badge {
    background-color: #6c757d;
}

.curso-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.curso-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.curso-description {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.curso-subtitle {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 20px;
    flex: 1;
}

.curso-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.saiba-mais {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.saiba-mais:hover {
    color: var(--amarelo);
    transform: translateX(5px);
}

.saiba-mais i {
    margin-left: 5px;
}

/* Paginação de pontos */
.dots-container {
    text-align: center;
    margin-top: 30px;
}

.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: var(--primary-color);
}

/* Icon Box */
.icon-box img {
    width: 60px;
    height: auto;
    margin-bottom: 1rem;
}

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

.fadeInUp {
    animation: fadeInUp 1s ease both;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Formulário de Feedback */
.form-feedback {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #28a745;
    color: var(--text-light);
    padding: 1rem;
    border-radius: 4px;
    z-index: 1000;
    display: none;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Swiper Customization */
.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-color) !important;
}

.swiper-pagination-bullet-active {
    background: var(--primary-color) !important;
}

/* Media Queries */
@media (min-width: 992px) {
    .treinamentos-online-section .row {
        margin: 0 auto;
        max-width: 1200px;
    }
    
    .treinamentos-online-section .col-md-5 {
        margin: 0 15px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        max-height: 600px;
    }

    .navbar-collapse {
        background-color: rgba(255, 255, 255, 0.95);
        padding: 1rem;
        border-radius: 8px;
        margin-top: 1rem;
    }

    #particleCanvas {
        opacity: 0.5;
    }

    .hero-content {
        margin: 1rem;
        padding: 1.5rem;
    }

    .parallax {
        background-attachment: scroll;
    }
    
    .curso-card {
        margin-bottom: 20px;
    }
    
    .newsletter-section form {
        flex-direction: column;
    }

    .newsletter-section .btn {
        width: 100%;
    }
}

/* Acessibilidade */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Cookie Consent Customization */
.cc-window {
    background-color: var(--primary-color) !important;
}

.cc-btn {
    background-color: var(--amarelo) !important;
    border-radius: 4px !important;
}

/* Form Styling */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 48, 198, 0.25);
}