/* -- Variáveis CSS globais (se aplicáveis para o tema "onde-estamos") -- */
/* Geralmente definidas em um arquivo de variáveis ou no ':root' */
:root {
    --primary-color: #2e3856;
    --secondary-color: #245074;
    --accent-color: #FFC107;
    /* Amarelo para detalhes, exemplo */
    --text-dark: #333;
    --text-muted: #666;
    --bg-light: #f8f9fa;
    --border-color: #ddd;
    --success-color: #28a745;
    --bs-gray-500: #adb5bd;
    /* Exemplo de cor cinza do Bootstrap */

    /* Overrides for gradients to solid colors */
    --gradient-primary: var(--primary-color);
    --gradient-success: var(--success-color);
}

/* Base Body e Textos */
body {
    font-family: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #fff;
}

.text-a-primary,
h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
.text-primary {
    color: var(--primary-color) !important;
}

/* Seções Específicas do Onde Estamos (ex: hero, breadcrumb, unit-card) */
.hero-section {
    background: var(--primary-color);
    color: white;
    padding: 4rem 0 3rem;
    margin-bottom: 2rem;
}

.breadcrumb {
    background: transparent;
    margin-bottom: 2rem;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--text-muted);
}

.unit-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: none;
}

.unit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.unit-image {
    height: 300px;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
}

.info-sidebar {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.info-header {
    background: var(--secondary-color);
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.info-item {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.info-item:hover {
    background-color: var(--bg-light);
    padding-left: 2rem;
}

.info-item:last-child {
    border-bottom: none;
}

.info-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 1rem;
    flex-shrink: 0;
}

/* Estilos de Tabs Customizadas (Onde Estamos) */
.custom-tabs {
    border: none;
    margin: 3rem 0 2rem;
    /* Margens específicas */
}

.custom-tabs .nav-link {
    border: 1px solid var(--primary-color);
    border-radius: 8px !important;
    /* Arredondamento maior */
    padding: 12px 25px;
    /* Padding maior */
    margin-right: 10px;
    background: var(--bg-light);
    color: var(--text-dark);
    font-weight: 600;
    transition: all 0.3s ease;
}

.custom-tabs .nav-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.custom-tabs .nav-link.active {
    background: rgba(44, 90, 160, 1) !important;
    /* Cor ativa específica */
    color: white;
    box-shadow: 0 5px 15px rgba(44, 90, 160, 0.3);
}

/* Tab Content (Onde Estamos) */
.tab-content {
    background: white;
    border-radius: 15px;
    /* Cantos mais arredondados */
    padding: 2rem;
    box-shadow: none;
}

/* Document Cards (Onde Estamos) */
.document-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 4px solid var(--accent-color);
    /* Borda lateral colorida */
    margin-bottom: 1rem;
}

.document-card:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Stats Cards (Onde Estamos) */
.stats-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    border-top: 4px solid var(--primary-color);
    /* Borda superior colorida */
}

.stats-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.stats-number {
    font-size: 3rem;
    /* Número maior */
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: block;
}

.stats-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.stats-description {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Botão de Download (Onde Estamos) */
.btn-download {
    background: var(--success-color) !important;
    /* Cor de sucesso */
    border: none;
    border-radius: 25px;
    /* Mais arredondado */
    padding: 8px 20px;
    color: white !important;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
    color: white;
}

/* Alertas Customizados */
.alert-custom {
    border: none;
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
    background: rgba(42, 58, 89, 0.1);
    color: var(--text-dark);
    /* Adicionado para garantir legibilidade */
}

/* Itens de Contato */
.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.contact-value {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-value:hover {
    color: var(--primary-color);
}

/* Animações (comuns ou específicas) */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pulse-icon {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

/* Accordion (Onde Estamos) */
.accordion-header {
    border-top: 4px solid var(--primary-color);
    /* Borda superior */
    border-radius: 15px 15px 0 0;
    /* Cantos arredondados */
}

.accordion-collapse {
    background-color: var(--bs-gray-500) !important;
    /* Cor de fundo específica */
}

.accordion-body {
    max-height: 60vh;
    overflow-y: auto;
}

/* Ajustes de responsividade - podem ser genéricos ou específicos para o layout Onde Estamos */
@media (max-width: 768px) {
    .custom-tabs {
        flex-direction: column;
    }

    .custom-tabs .nav-link {
        margin: 2px 0;
        border-radius: 6px;
        text-align: center;
        padding: 10px 15px;
        /* Ajuste para mobile */
    }

    .tab-content {
        padding: 1rem;
    }

    .stats-card {
        padding: 1.5rem 1rem;
    }

    .stats-number {
        font-size: 2.5rem;
        /* Ajuste para mobile */
    }
}

@media (max-width: 576px) {
    .stats-number {
        font-size: 2rem;
        /* Ajuste para mobile */
    }
}