/* ==========================================================
    ESTILOS REFINADOS PARA O CONTEÚDO DO INFOGRÁFICO
========================================================== */

.infographic-content {
    font-family: 'Poppins', sans-serif;
    color: var(--cinza-escuro);
    padding: 1rem;
}

.infographic-content h2,
.infographic-content h3 {
    color: var(--azul-escuro);
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.infographic-content h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.infographic-content h3 {
    font-size: 1.3rem;
}

.infographic-content p {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 1.5rem auto;
    line-height: 1.6;
}

.infographic-content section {
    margin-bottom: 3rem;
    padding: 1.5rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Estilo para seções sem fundo */
.infographic-content section.transparent-section {
    background: none;
    box-shadow: none;
    padding: 0;
}

/* Grid para os 4 pilares */
.infographic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.pillar-card {
    background-color: var(--off-white);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

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

.pillar-card .emoji {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.pillar-card h3 {
    margin-bottom: 0.5rem;
}

/* Cores específicas para os pilares */
.pillar-card h3[style*="#FF6B6B"] { color: #FF6B6B; }
.pillar-card h3[style*="#FFD166"] { color: #FFD166; }
.pillar-card h3[style*="#06D6A0"] { color: #06D6A0; }
.pillar-card h3[style*="#118AB2"] { color: var(--azul-claro); }


/* Container dos gráficos */
.chart-container {
    position: relative;
    width: 100%;
    max-width: 550px;
    margin: 1.5rem auto 0 auto;
    height: 350px;
}

/* Grid para os gráficos Donut */
.donut-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 600px) {
    .donut-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.donut-item {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.donut-item .chart-container {
    width: 150px;
    height: 150px;
    margin-bottom: 1rem;
}

/* Seção final com fundo escuro */
.final-section {
    background-color: var(--azul-escuro);
    color: white;
}

.final-section h2, .final-section p {
    color: white;
}
.final-section .pillars-highlight span {
    font-weight: bold;
}