:root {
    --primary-color: #4a90e2;
    --secondary-color: #50c878;
    --accent-color: #ff6b6b;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --dark-bg: #343a40;
    --light-gray: #f8f9fa;
    --dark-gray: #343a40;
}

/* Pintar destcar fundo do menu referente a página que está sendo navegada */
.nav-link.active,
.dropdown-item.active {
    font-weight: bold;
    color: #0d6efd !important;
    background-color: #e8f0ff;
}
/* Fim: Pintar destcar fundo do menu referente a página que está sendo navegada */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    padding-top: 0;
    transition: padding-top 0.3s ease-in-out;
}

/* Navbar */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: bold;
    color: var(--primary-color) !important;
}

.nav-link {
    color: var(--text-color) !important;
    transition: color 0.3s ease;
}

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

/* Stats Section */
.stats-section {
    background-color: var(--light-gray);
}

.stat-box {
    padding: 2rem;
    text-align: center;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
}

.stat-box h3 {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

/* Features Section */
.features-section {
    background-color: white;
}

.feature-box {
    padding: 2rem;
    text-align: center;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
}

.feature-box i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-box h4 {
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

/* Testimonials Section */
.testimonials-section {
    background-color: #f8f9fa;
    padding: 4rem 0;
}

.testimonials-scroll {
    overflow-x: auto;
    padding: 1rem 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #f1f1f1;
    width: 100%;
}

.testimonials-scroll::-webkit-scrollbar {
    height: 8px;
}

.testimonials-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.testimonials-scroll::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.testimonials-container {
    display: flex;
    gap: 1.5rem;
    padding: 1rem;
    min-width: max-content;
    flex-wrap: nowrap;
}

.testimonial-card {
    flex: 0 0 300px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-img {
    width: 100%;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-gray);
    padding: 1rem;
}

.testimonial-img i {
    font-size: 5rem;
    color: var(--primary-color);
}

.testimonial-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.testimonial-text {
    font-size: 1rem;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.5;
    flex-grow: 1;
}

.testimonial-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    margin-top: auto;
}

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

.testimonial-link i {
    font-size: 1.2rem;
}

/* Footer */
footer {
    background-color: var(--dark-gray);
}

footer h5 {
    color: white;
    margin-bottom: 1.5rem;
}

footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-color) !important;
}

.social-links a {
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.1);
}

/* Responsividade */
@media (max-width: 768px) {
    .stat-box, .feature-box {
        margin-bottom: 1rem;
    }
    
    .navbar-nav {
        padding: 1rem 0;
    }
    
    .carousel-item {
        padding: 1rem;
    }
}

/* Botões */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #357abd;
    border-color: #357abd;
    transform: translateY(-2px);
}

/* Formulários */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(74, 144, 226, 0.25);
}

/* Cards */
.card {
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

/* Animações */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

/* Estilos para o menu quando fixo */
.navbar-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1030;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease-in-out;
    background-color: var(--light-gray);
}

/* Estilos para o menu encolhido */
.navbar-shrunk {
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
}

/* Mantém a logo visível e ligeiramente menor quando fixo */
.navbar-fixed .navbar-brand {
    font-size: 1.1rem;
}

/* Adiciona padding ao body para evitar que o conteúdo fique atrás do menu fixo */
body.navbar-is-fixed {
    padding-top: 0;
}

/* Estilo para o body quando o menu está fixo (JS vai adicionar/remover) */
body.navbar-is-fixed {
    /* O padding será definido via JS */
}

/* Estilos para Select2 */
.select2-container {
    width: 100% !important;
    z-index: 9999;
}

.select2-container--bootstrap-5 .select2-selection {
    min-height: 38px;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    background-color: #fff;
    padding: 0.375rem 0.75rem;
    cursor: pointer;
    position: relative;
}

.select2-container--bootstrap-5 .select2-selection--single {
    padding-right: 2rem;
}

.select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered {
    padding: 0;
    line-height: 1.5;
}

.select2-container--bootstrap-5 .select2-selection--single .select2-selection__arrow {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.select2-container--bootstrap-5 .select2-selection--single .select2-selection__arrow b {
    border-color: #6c757d transparent transparent transparent;
    border-style: solid;
    border-width: 0.4rem 0.4rem 0 0.4rem;
    height: 0;
    width: 0;
    margin: 0;
    position: static;
}

.select2-container--bootstrap-5.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent #6c757d transparent;
    border-width: 0 0.4rem 0.4rem 0.4rem;
}

.select2-container--bootstrap-5 .select2-selection--multiple {
    min-height: 38px;
    padding: 0.375rem 0.75rem;
}

.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__rendered {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    padding: 0;
}

.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__choice {
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    padding: 0.25rem 0.5rem;
    margin: 0;
    display: flex;
    align-items: center;
}

.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__choice__remove {
    margin-left: 0.5rem;
    color: #6c757d;
    border: none;
    background: none;
    padding: 0;
    font-size: 1.2rem;
    line-height: 1;
}

.select2-container--bootstrap-5 .select2-dropdown {
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    z-index: 9999;
}

.select2-container--bootstrap-5 .select2-results__option {
    padding: 0.5rem 1rem;
}

.select2-container--bootstrap-5 .select2-results__option--highlighted {
    background-color: #0d6efd;
    color: white;
}

.select2-container--bootstrap-5 .select2-results__option--selected {
    background-color: #0d6efd;
    color: white;
}

.select2-container--bootstrap-5 .select2-search--dropdown .select2-search__field {
    padding: 0.375rem 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    width: 100%;
}

.select2-container--bootstrap-5 .select2-selection--single .select2-selection__placeholder {
    color: #6c757d;
}

/* Ajuste para garantir que o dropdown não fique cortado */
.select2-container--bootstrap-5 .select2-dropdown {
    position: absolute;
    z-index: 9999;
}

/* Ajuste para garantir que o dropdown não fique cortado em modais */
.modal .select2-container--bootstrap-5 .select2-dropdown {
    z-index: 9999;
}

/* Ajuste para garantir que o dropdown não fique cortado em formulários */
.form-control.select2-hidden-accessible {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Ajuste para garantir que o dropdown fique visível */
.select2-container--open {
    z-index: 9999 !important;
}

.select2-dropdown {
    z-index: 9999 !important;
}

/* Ajuste para garantir que o dropdown fique visível em modais */
.modal .select2-container--open {
    z-index: 9999 !important;
}

.modal .select2-dropdown {
    z-index: 9999 !important;
}

/* Ajuste para garantir que o dropdown fique visível em formulários */
.form-control.select2-container--open {
    z-index: 9999 !important;
}

.form-control .select2-dropdown {
    z-index: 9999 !important;
} 