/* assets/css/normainicial.css */

:root {
    /* Paleta institucional CRP-21 */
    --crp-primary: #003366;   /* Azul marinho institucional */
    --crp-secondary: #D4AF37; /* Dourado Psi */
    --crp-accent: #0056b3;    /* Azul de apoio (links/destaques) */

    /* Mantém nomes antigos (compatibilidade do layout) */
    --primary-color: var(--crp-primary);
    --accent-color: var(--crp-secondary);
    --accent-blue: var(--crp-accent);

    --text-muted: #6c757d;
    --card-hover-y: -8px;
}

/* --- Hero Section Moderno --- */
.hero-modern {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-blue) 100%);
    color: white;
    padding: 4rem 0 6rem 0; /* Espaço extra embaixo para sobreposição */
    position: relative;
    overflow: hidden;
    margin-bottom: -3rem; /* Efeito de sobreposição dos cards */
}

/* Elemento decorativo de fundo */
.hero-modern::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.badge-modern {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 0.5em 1em;
    font-weight: 500;
    border-radius: 50px;
}

/* --- Cards Gerais --- */
.card-action {
    background: white;
    border: none;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

.card-action:hover {
    transform: translateY(var(--card-hover-y));
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.card-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

/* Cores dos Ícones */
.icon-primary { background: #e3f2fd; color: var(--primary-color); }
.icon-secondary { background: #f3e5f5; color: #8e24aa; } 

.card-title-modern {
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.card-text-modern {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* Listas com checkmark */
.card-list-modern {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    font-size: 0.85rem;
    color: #555;
    width: 100%;
}

.card-list-modern li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.card-list-modern li::before {
    content: '\F26A'; /* Bootstrap Icon Check Circle */
    font-family: 'bootstrap-icons';
    color: var(--accent-color);
    margin-right: 8px;
    font-weight: bold;
}

/* --- Card de Ética (Carrossel) --- */
.card-ethics {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid rgba(0,0,0,0.05);
}

.ethics-slider {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

.ethics-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    display: block;
}

.ethics-quote {
    font-style: italic;
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 1rem;
    position: relative;
    padding: 0 10px;
}

.ethics-ref {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

/* Ajuste dos indicadores do carrossel (bolinhas) */
.carousel-indicators {
    bottom: -10px; 
    margin-bottom: 0;
}

.carousel-indicators [data-bs-target] {
    background-color: var(--primary-color);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin: 0 4px;
    opacity: 0.3;
}
.carousel-indicators .active {
    opacity: 1;
}

/* --- Rodapé Informativo --- */
.info-strip-modern {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    border-left: 5px solid var(--accent-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-top: 2rem;
}
