/* prefeito.css */

:root {
    --primary-blue: #016CB0;
    --accent-red: #D85057;
    --bg-light: #F2F5F7;
    --text-dark: #333;
    --text-muted: #666;
    --card-border: #E2E8F0;
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --sidebar-active-bg: #005A94;
}

.prefeito-container {
    padding: 0;
    text-align: left;
    max-width: 100%;
    margin: 0 auto;
    background-color: #F8FAFC;
}

/* Hero Banner */
.prefeito-hero {
    height: 227px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    position: relative;
}


.prefeito-hero h1 {
    color: white;
    font-size: calc(48px * var(--var-fontscale));
    font-weight: 700;
    margin-left: 10%;
    position: relative;
    z-index: 1;
}

.main-layout {
    display: flex;
    gap: 30px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 40px 20px 60px 20px;
}

/* Sidebar Styling */
.prefeito-sidebar {
    width: 320px;
    flex-shrink: 0;
}

.side-nav {
    background: white;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.side-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.side-nav>ul>li {
    border-bottom: 1px solid #F1F5F9;
}

.side-nav a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    text-decoration: none;
    color: #475569;
    font-size: calc(14px * var(--var-fontscale));
    font-weight: 500;
    transition: all 0.2s;
}

.side-nav li.active a {
    background-color: var(--primary-blue);
    color: white;
}

.side-nav li:not(.active) a:hover {
    background-color: #F8FAFC;
    color: var(--primary-blue);
}

.side-nav .has-submenu>a::after {
    content: '⌵';
    font-size: calc(18px * var(--var-fontscale));
    margin-top: -5px;
}

.side-nav .submenu {
    background-color: #FDFDFD;
    padding: 10px 0;
}

.side-nav .submenu a {
    padding: 10px 40px;
    font-size: calc(13px * var(--var-fontscale));
    font-weight: 400;
}

/* Main Content Styling */
.prefeito-content {
    flex: 1;
}

.breadcrumbs {
    font-size: calc(12px * var(--var-fontscale));
    color: #64748B;
    margin-bottom: 25px;
}

.breadcrumbs a {
    color: var(--primary-blue);
    text-decoration: none;
}

.page-title {
    font-size: calc(32px * var(--var-fontscale));
    font-weight: 700;
    font-family: Montserrat, sans-serif;
    color: rgb(41, 59, 73);
    margin-bottom: 24px;
    position: relative;
}

.page-title::after {
    content: "";
    display: block;
    width: 100%;
    height: 4px;
    margin-top: 8px;
    background: linear-gradient(to right, rgb(1, 108, 176), rgb(1, 108, 176)) 0% 0% / 188px 100% no-repeat, linear-gradient(to right, rgb(225, 237, 246), rgb(225, 237, 246)) 0% 0% / 100% 100%;
}

/* Mayor Card */
.mayor-card {
    display: flex;
    padding: 0;
    overflow: hidden;
    margin-bottom: 40px;
}

.mayor-photo {
    width: 40%;
    min-height: 350px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    overflow: hidden;
}

.mayor-info {
    width: 60%;
    padding: 30px 40px;
    display: flex;
    flex-direction: column;
}

.mayor-info h2 {
    font-size: calc(28px * var(--var-fontscale));
    color: #334155;
    margin-bottom: 32px;
    font-weight: 600;
}

.info-item {
    margin-bottom: 23px;
}

.info-label {
    display: block;
    font-weight: 600;
    color: #293B49;
    font-size: calc(20px * var(--var-fontscale));
}

.info-value {
    color: #293B49;
    font-size: calc(18px * var(--var-fontscale));
}

.chefe-info .info-label {
    font-size: calc(16px * var(--var-fontscale));
}

.chefe-info .info-value {
    font-size: calc(14px * var(--var-fontscale));
}

.btn-curriculo {
    display: inline-block;
    align-self: flex-start;
    padding: 10px 24px;
    border: 1.5px solid #1A82C4;
    color: #1A82C4;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    font-size: calc(18px * var(--var-fontscale));
    margin-top: 10px;
    transition: all 0.2s;
}

.btn-curriculo:hover {
    background-color: #1A82C4;
    color: white;
}

/* Cabinet Section */
.cabinet-section {
    margin-bottom: 50px;
}

.cabinet-section h3 {
    font-size: calc(28px * var(--var-fontscale));
    color: #1E293B;
    margin-bottom: 20px;
    font-weight: 600;
}

.cabinet-section p {
    color: #64748B;
    margin-bottom: 15px;
    font-size: calc(18px * var(--var-fontscale));
}

/* Atendimento Card */
.atendimento-section h3 {
    font-size: calc(28px * var(--var-fontscale));
    font-weight: 600;
}

.atendimento-card {
    background: white;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--card-shadow);
    margin-bottom: 60px;
}

.atendimento-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.contact-icon {
    width: 32px;
    height: 32px;
    color: var(--primary-blue);
    flex-shrink: 0;
}

.contact-text strong {
    display: block;
    font-size: calc(14px * var(--var-fontscale));
    color: #1E293B;
}

.contact-text span {
    font-size: calc(16px * var(--var-fontscale));
    color: #64748B;
}

.btn-help {
    background-color: #FFED4A;
    color: #293B49;
    padding: 12px 50px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: calc(16px * var(--var-fontscale));
    box-shadow: 0 4px 0 #E2CC00;
    transition: transform 0.1s;
}

.btn-help:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #E2CC00;
}

/* Composition Section */
.composition-section h3 {
    font-size: calc(28px * var(--var-fontscale));
    color: #1E293B;
    margin-bottom: 25px;
    font-weight: 600;
}

.chefe-card {
    width: 100%;
    background: white;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    display: flex;
    padding: 20px;
    gap: 20px;
    margin-bottom: 30px;
    box-shadow: var(--card-shadow);
}

.chefe-photo {
    width: 173px;
    height: 177px;
    background-size: cover;
    background-position: center;
    border-radius: 5px;
}

.chefe-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.role-label {
    font-size: calc(14px * var(--var-fontscale));
    color: #94A3B8;
    margin-bottom: 5px;
}

.chefe-info h4 {
    font-size: calc(20px * var(--var-fontscale));
    color: #1E293B;
    margin-bottom: 15px;
    font-weight: 600;
}

.composition-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.person-card {
    background: white;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--card-shadow);
}

.person-card .role-label {
    margin-bottom: 2px;
}

.person-card h4 {
    font-size: calc(15px * var(--var-fontscale));
    color: #1E293B;
    margin-bottom: 15px;
    font-weight: 700;
}

.footer-report {
    margin-top: 60px;
    padding: 30px 0;
    text-align: center;
}

.footer-report a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    font-size: calc(14px * var(--var-fontscale));
    border-bottom: 1px solid var(--primary-blue);
}

@media (max-width: 1024px) {
    .main-layout {
        flex-direction: column;
    }

    .prefeito-sidebar {
        width: 100%;
    }

    .mayor-photo,
    .mayor-info {
        width: 100%;
    }

    .mayor-photo {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .composition-grid {
        grid-template-columns: 1fr;
    }

    .atendimento-card {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
}

body * {
    font-family: "Montserrat", sans-serif;
}