:root {
    --primary-blue: #007bff;
    --bg-light: #f4f7f9;
    --text-dark: #333;
    --nav-height: 75px;
}

body {
    margin: 0;
    background-color: var(--bg-light);
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    padding-bottom: calc(var(--nav-height) + 40px);
}

/* Cabeçalho Azul */
.top-bar {
    background-color: var(--primary-blue);
    padding: 30px 20px 50px;
    border-radius: 0 0 35px 35px;
    color: white;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.logo-container {
    background: white;
    display: inline-block;
    padding: 8px 25px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin-bottom: 12px;
}

.logo-container img.main-logo {
    height: 42px;
    display: block;
}

.city-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 5px;
}

.city-info img.city-logo {
    height: 45px;
    background: white;
    padding: 5px;
    border-radius: 10px;
}

.city-info .text-box {
    text-align: left;
    line-height: 1.2;
}

.city-info h2 {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.city-info p {
    margin: 0;
    font-size: 0.7rem;
    opacity: 0.9;
}

/* Cards */
.content { 
    margin-top: -25px; 
    padding: 0 16px; 
}

.section-title {
    font-size: 0.9rem;
    font-weight: 800;
    color: #2c3e50;
    margin: 35px 0 15px 5px;
}

.grid-modern { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 12px; 
}

.card-item {
    background: #ffffff;
    text-decoration: none;
    border-radius: 20px;
    padding: 20px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.2s;
    border: 1px solid rgba(0,0,0,0.02);
}

.card-item:active { transform: scale(0.92); background-color: #f8f9fa; }

.card-icon { font-size: 1.8rem; margin-bottom: 8px; color: var(--primary-blue); }
.card-label { font-size: 0.65rem; font-weight: 700; color: #444; text-align: center; }

/* --- RODAPÉ DE LOGOS --- */
.brand-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin: 40px 0 20px;
    padding: 20px;
}

.brand-footer img {
    height: 35px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.05));
}

/* Menu Fixo */
.nav-dock {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: #ffffff;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 10000;
    box-shadow: 0 -2px 15px rgba(0,0,0,0.08);
    padding-bottom: env(safe-area-inset-bottom);
}
/* --- RODAPÉ DE LOGOS AMPLIADO --- */
.brand-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px; /* Mais espaço entre os logos */
    margin: 50px 0 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.4); /* Fundo sutil para destacar os logos */
    border-radius: 20px;
}

.brand-footer img {
    height: 95px; /* Aumentado de 35px para 55px */
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1)); /* Sombra mais visível */
    transition: transform 0.3s;
}

/* Efeito leve ao passar o mouse ou tocar */
.brand-footer img:active {
    transform: scale(1.1);
}
.nav-link { text-decoration: none; display: flex; flex-direction: column; align-items: center; color: #8e9aaf; flex: 1; }
.nav-link.active { color: var(--primary-blue); }
.nav-link span { font-size: 0.6rem; font-weight: 700; margin-top: 4px; }