* { box-sizing: border-box; }

body {
    font-family: var(--fonte-principal, 'Poppins', sans-serif);
    color: var(--cor-texto, #212121);
    background: var(--cor-fundo, #ffffff);
    margin: 0;
}

a { color: var(--cor-links, #0d47a1); text-decoration: none; }
a:hover { opacity: 0.85; }

.section-padding { padding: 4.5rem 0; }
.bg-light-section { background: #f7f8fa; }

.section-title {
    font-size: calc(var(--tamanho-titulos, 2.5rem) * 0.75);
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.6rem;
}
.section-title::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 60px; height: 4px;
    background: var(--cor-destaque, #ffb300);
    border-radius: 4px;
}

/* ---------- PREVIEW BANNER ---------- */
.preview-banner {
    background: #212529;
    color: #fff;
    text-align: center;
    padding: 0.5rem;
    font-size: 0.85rem;
}

/* ---------- HEADER ---------- */
.site-header {
    background: var(--cor-header, #ffffff);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}
.site-nav a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--cor-texto, #212121);
}
.site-nav-mobile {
    display: none;
    flex-direction: column;
    background: var(--cor-header, #fff);
    padding: 0.5rem 1.5rem 1rem;
}
.site-nav-mobile.show { display: flex; }
.site-nav-mobile a { padding: 0.5rem 0; border-bottom: 1px solid #eee; }

/* ---------- HERO ---------- */
.hero-section {
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 4rem 0;
    background-color: var(--cor-principal, #0d47a1);
    color: #fff;
}
.hero-section:has(img[src]) { color: #fff; }
.badge-numero {
    display: inline-block;
    background: var(--cor-destaque, #ffb300);
    color: #1a1a1a;
    font-weight: 700;
    padding: 0.3rem 0.9rem;
    border-radius: 30px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}
.hero-title {
    font-size: var(--tamanho-titulos, 2.8rem);
    font-weight: 700;
    margin-bottom: 0.3rem;
}
.hero-cargo { font-size: 1.1rem; opacity: 0.9; margin-bottom: 0.8rem; }
.hero-frase { font-size: 1.3rem; font-weight: 600; margin-bottom: 0.4rem; }
.hero-subtitulo { opacity: 0.9; }
.hero-foto {
    width: 280px; height: 280px;
    object-fit: cover;
    border-radius: 50%;
    border: 6px solid rgba(255,255,255,0.25);
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}
.btn-hero {
    background: var(--cor-botoes, #0d47a1);
    color: #fff;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    border: 2px solid rgba(255,255,255,0.4);
    transition: transform 0.15s ease;
}
.btn-hero:hover { transform: translateY(-2px); color: #fff; }

/* ---------- SOBRE ---------- */
.texto-bio { font-size: var(--tamanho-textos, 1rem); line-height: 1.8; }

/* ---------- CARDS ---------- */
.proposta-card, .projeto-card, .noticia-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0,0,0,0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    padding: 1.4rem;
}
.projeto-card, .noticia-card { padding: 0; }
.projeto-card > div, .noticia-card > div { padding: 1.1rem; }

.proposta-card:hover, .projeto-card:hover, .noticia-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.1);
}

.proposta-img, .projeto-img, .noticia-img {
    width: 100%; height: 170px;
    object-fit: cover;
    border-radius: 10px;
}
.projeto-img, .noticia-img { border-radius: 16px 16px 0 0; }

.proposta-icone {
    width: 54px; height: 54px;
    border-radius: 14px;
    background: color-mix(in srgb, var(--cor-principal, #0d47a1) 12%, white);
    color: var(--cor-principal, #0d47a1);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
}
.proposta-categoria {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--cor-principal, #0d47a1);
    letter-spacing: 0.04em;
    margin-top: 0.6rem;
}

.status-badge {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.25rem 0.7rem;
    border-radius: 20px;
    text-transform: uppercase;
}
.status-planejado { background: #e9ecef; color: #495057; }
.status-andamento { background: #fff3cd; color: #856404; }
.status-concluido { background: #d1e7dd; color: #0f5132; }

.galeria-img {
    width: 100%; height: 130px;
    object-fit: cover;
    border-radius: 10px;
}

/* ---------- CONTATO ---------- */
.btn-contato {
    background: var(--cor-botoes, #0d47a1);
    color: #fff;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    border: none;
}

/* ---------- ANÚNCIOS ---------- */
.anuncio-slot {
    margin: 2rem auto;
    padding: 0.75rem;
    text-align: center;
    background: #f7f8fa;
    border: 1px dashed #d0d4da;
    border-radius: 10px;
}
.anuncio-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #9aa0ac;
    margin-bottom: 0.5rem;
}

/* ---------- FOOTER ---------- */
.site-footer {
    background: var(--cor-footer, #0d1b2a);
    color: #cbd5e1;
    padding: 2.5rem 0;
}
.footer-social a {
    display: inline-flex;
    width: 40px; height: 40px;
    align-items: center; justify-content: center;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    color: #fff;
    margin: 0 0.3rem;
    font-size: 1.1rem;
}

/* ---------- RESPONSIVO ---------- */
@media (max-width: 991.98px) {
    .hero-section { text-align: center; padding: 3rem 0; }
    .hero-foto { width: 200px; height: 200px; }
    .section-padding { padding: 3rem 0; }
}
