/* Identidade da Camara Municipal de Santa Isabel: azul #051A53 e vermelho #D82221. */
:root {
    --si-accent: #d82221;
    --si-primary: #051a53;
    --si-dark: #031137;
    --si-soft: #eef1f8;
    --si-red: #d82221;
    --bs-primary: var(--si-primary);
    --bs-primary-rgb: 5, 26, 83;
    --bs-link-color: var(--si-primary);
    --bs-link-hover-color: var(--si-dark);
}
.public-home { --home-blue: var(--si-primary); --home-navy: var(--si-dark); --home-border: #d9dfeb; }
.admin-shell { --admin-blue: var(--si-primary); --admin-navy: var(--si-dark); --admin-border: #d9dfeb; --bs-primary: var(--si-primary); --bs-primary-rgb: 5,26,83; }
.public-home .site-header, .admin-shell .admin-topbar { border-top: 4px solid var(--si-accent); }
.public-home .site-brand img, .admin-shell .admin-brand img { width: 56px; height: 56px; max-height: none; object-fit: contain; }
.public-home .welcome { background: linear-gradient(120deg, #f5f7fc, #e8edf7); border-bottom-color: #d9dfeb; }
.public-home .service-icon { background: var(--si-soft); }
.public-home .primary-service .service-icon { background: #ffffff20; }
.public-home .site-footer { background: var(--si-dark); border-top: 4px solid var(--si-red); }
.public-home .footer-identity img { width: min(100%, 360px); height: auto; max-width: 100%; background: white; padding: 12px; border-radius: 6px; }
.btn-primary, .admin-shell .btn-primary { --bs-btn-bg: var(--si-primary); --bs-btn-border-color: var(--si-primary); --bs-btn-hover-bg: var(--si-dark); --bs-btn-hover-border-color: var(--si-dark); --bs-btn-active-bg: var(--si-dark); --bs-btn-active-border-color: var(--si-dark); }
.btn-outline-primary { --bs-btn-color: var(--si-primary); --bs-btn-border-color: var(--si-primary); --bs-btn-hover-bg: var(--si-primary); --bs-btn-hover-border-color: var(--si-primary); }
.admin-shell .text-primary { color: var(--admin-blue) !important; }
.admin-shell .bg-primary { background-color: var(--si-primary) !important; }
.admin-shell #calendar { --fc-today-bg-color: var(--si-soft); --fc-button-active-bg-color: var(--si-primary); --fc-button-active-border-color: var(--si-primary); }
html[data-theme=dark] .public-home, html[data-theme=dark] .admin-shell { --home-blue: #a9c4ff; --home-navy: #d7e4ff; --admin-blue: #a9c4ff; --admin-navy: #d7e4ff; }
html[data-theme=dark] .public-home .welcome { background: var(--night-panel); border-color: var(--night-border); }
html[data-theme=dark] .public-home .service-icon { background: #233454; }
html[data-theme=dark] .public-home .primary-service { background: #051a53; border-color: #3b5994; }
html[data-theme=dark] .public-home .primary-service .service-icon { background: #ffffff20; }
html[data-theme=dark] .site-brand img, html[data-theme=dark] .admin-brand img { background: white; border-radius: 4px; padding: 4px; }
@media (max-width: 600px) {
    .public-home .site-brand, .admin-shell .admin-brand { gap: 10px; }
    .public-home .site-brand strong { font-size: .95rem; }
    .public-home .brand-description { font-size: .65rem; }
    .public-home .footer-identity { flex-wrap: wrap; }
}

@media (max-width: 600px) {
    .public-home .public-navigation .site-brand img, .public-home .site-brand img, .admin-shell .admin-brand img { width: 44px; height: 44px; }
}
