/* Importa fonte moderna (opcional, mas bonita) */
@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,300;14..32,400;14..32,500;14..32,600;14..32,700&display=swap');

* {
    box-sizing: border-box;
}

.obs-container, .obs-candidato-single {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: #1e293b;
}

/* Tipografia */
h1, h2, h3 {
    font-weight: 600;
    letter-spacing: -0.01em;
}

/* Cards de candidatos (lista) */
.obs-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
    margin-top: 32px;
}

.obs-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.02);
    padding: 24px 20px 20px;
    transition: all 0.25s ease;
    text-align: center;
    border: 1px solid #eef2f6;
}

.obs-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.15);
    border-color: #cbd5e1;
}

.obs-card img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 60px;
    margin-bottom: 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.obs-card h2 {
    font-size: 1.5rem;
    margin: 12px 0 4px;
}

.obs-card p {
    color: #475569;
    font-weight: 500;
    margin-bottom: 20px;
}

.obs-button {
    display: inline-block;
    background: #0f3b5c;
    color: white;
    padding: 10px 20px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s, transform 0.1s;
    border: none;
    cursor: pointer;
}

.obs-button:hover {
    background: #1e4a6e;
    transform: scale(0.98);
}

/* Cabeçalho do candidato */
.obs-header {
    text-align: center;
    margin-bottom: 40px;
}

.obs-header img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 80px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    border: 4px solid white;
}

.obs-header h1 {
    font-size: 2.5rem;
    margin-top: 20px;
    margin-bottom: 8px;
}

.obs-header .partido {
    font-size: 1.1rem;
    background: #e6f0fa;
    display: inline-block;
    padding: 6px 18px;
    border-radius: 40px;
    color: #0f3b5c;
    font-weight: 500;
}

/* Radar (canvas) */
.obs-radar {
    background: #f8fafc;
    border-radius: 32px;
    padding: 24px;
    margin-bottom: 48px;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.02), 0 2px 6px rgba(0,0,0,0.03);
}

/* Accordion dos temas */
.obs-tema-accordion {
    margin-bottom: 20px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: all 0.2s;
}

.obs-tema-titulo {
    background: #f9fbfd;
    padding: 16px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}

.obs-tema-titulo:hover {
    background: #f1f5f9;
}

.obs-tema-titulo h2 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
    color: #0f172a;
}

.obs-toggle {
    font-size: 1.3rem;
    font-weight: 600;
    color: #3b82f6;
    transition: transform 0.2s;
}

.obs-tema-conteudo {
    padding: 0 24px 24px 24px;
    background: #ffffff;
    border-top: 1px solid #edf2f7;
}

/* Subtemas não abordados */
.obs-subtema-vazio {
    background: #f8fafc;
    border-left: 3px solid #cbd5e1;
    padding: 12px 16px;
    margin: 12px 0;
    border-radius: 14px;
    color: #475569;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.obs-icon-silence {
    font-size: 1.2rem;
    opacity: 0.7;
}

/* Cards de proposta */
.obs-proposta-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03), 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.2s;
    border-left-width: 6px;
    border-left-style: solid;
}

.obs-proposta-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transform: translateX(2px);
}

.obs-status-selo {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 30px;
    background: #eef2ff;
    color: #1e40af;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.obs-declaracao {
    font-size: 1.05rem;
    line-height: 1.5;
    font-weight: 500;
    margin-bottom: 16px;
    background: #fefce8;
    padding: 12px 16px;
    border-radius: 16px;
    color: #2d3c49;
    border-left: 2px solid #eab308;
}

.obs-problema, .obs-como, .obs-justificativa {
    margin-bottom: 12px;
    font-size: 0.95rem;
    line-height: 1.45;
}

.obs-problema strong, .obs-como strong, .obs-justificativa strong {
    color: #0f3b5c;
}

.obs-fonte {
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: 12px;
    padding-top: 8px;
    border-top: 1px dashed #e2e8f0;
}

/* Rodapé de verificações */
.obs-verificacoes-rodape {
    margin-top: 56px;
    background: #fef9e3;
    border-radius: 24px;
    padding: 24px;
    border-left: 6px solid #eab308;
}

.obs-verificacoes-rodape h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.obs-verificacao-item {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #fde68a;
    font-size: 0.9rem;
}

/* Selos de status nas propostas */
.obs-proposta-card.status-verde { border-left-color: #22c55e; }
.obs-proposta-card.status-vermelho { border-left-color: #ef4444; }
.obs-proposta-card.status-amarelo { border-left-color: #f59e0b; }

/* Comparação (grid) */
.obs-comparacao-grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}
.obs-comp-col {
    flex: 1;
    min-width: 280px;
    background: #f9f9fc;
    border-radius: 24px;
    padding: 20px;
}
.obs-comp-item {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
}
.obs-sem-info {
    color: #94a3b8;
    font-style: italic;
}