/* Câmara Municipal — Template estático (modelo visual) */

:root {
    --navy-900: #0a1628;
    --navy-800: #0f2340;
    --navy-700: #15325a;
    --navy-600: #1e4478;
    --blue-accent: #2563eb;
    --green: #22c55e;
    --green-dark: #16a34a;
    --green-brand: #1a9e5c;
    --orange: #ea580c;
    --orange-brand: #c45c26;
    --teal: #0d9488;
    --card-blue: #243f6b;
    --card-green: #1a6b4a;
    --card-purple: #3d3568;
    --card-orange: #c45c26;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-400: #94a3b8;
    --gray-600: #475569;
    --gray-800: #1e293b;
    --white: #ffffff;
    --radius: 6px;
    --radius-lg: 10px;
    --shadow: 0 2px 14px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 10px 32px rgba(15, 23, 42, 0.1);
    --font: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.6;
    color: var(--gray-800);
    background: #eef1f6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

.container {
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* ── Top bar ── */
.topbar {
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
    color: rgba(255,255,255,0.9);
    font-size: 0.78rem;
    padding: 0.4rem 0;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.a11y-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.a11y-controls button {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    border-radius: 4px;
    padding: 0.15rem 0.45rem;
    cursor: pointer;
    font-size: 0.75rem;
    font-family: inherit;
}

.a11y-controls button:hover { background: rgba(255,255,255,0.2); }

.topbar-links {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.topbar-links a:hover { color: #fff; text-decoration: underline; }

.topbar-social {
    display: flex;
    gap: 0.5rem;
    margin-left: 0.5rem;
}

.topbar-social a {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

.topbar-social a:hover { background: var(--blue-accent); }

/* ── Header ── */
.site-header {
    background: var(--white);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header .container {
    position: relative;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 0.85rem 0;
    position: relative;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-shrink: 0;
}

.brand-logo {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.4rem;
}

.brand-text strong {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    color: var(--gray-400);
    font-weight: 600;
}

.brand-text span {
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--navy-800);
    line-height: 1.2;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 0.15rem;
}

.main-nav > a.nav-link,
.nav-dropdown > .nav-dropdown-toggle {
    background: none;
    border: none;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gray-800);
    padding: 0.6rem 0.75rem;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
    text-decoration: none;
    transition: color 0.2s, background 0.2s;
}

.main-nav > a.nav-link:hover,
.nav-dropdown > .nav-dropdown-toggle:hover,
.main-nav > a.nav-link.active,
.nav-dropdown.open > .nav-dropdown-toggle {
    color: var(--navy-600);
    background: var(--gray-100);
}

.nav-link-icon { font-size: 0.75rem; opacity: 0.7; }

.nav-dropdown { position: relative; }

.nav-dropdown .caret {
    font-size: 0.55rem;
    opacity: 0.6;
    transition: transform 0.25s;
    display: flex;
}

.nav-dropdown.open .caret,
.nav-dropdown:hover .caret {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 240px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
    z-index: 1100;
}

.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 24px;
    width: 12px;
    height: 12px;
    background: var(--white);
    border-left: 1px solid var(--gray-200);
    border-top: 1px solid var(--gray-200);
    transform: rotate(45deg);
}

.nav-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.6rem 1.1rem;
    font-size: 0.84rem;
    font-weight: 500;
    color: var(--gray-800);
    transition: background 0.15s, color 0.15s, padding-left 0.15s;
}

.nav-dropdown-menu a i {
    width: 18px;
    text-align: center;
    color: var(--navy-600);
    font-size: 0.85rem;
}

.nav-dropdown-menu a:hover {
    background: var(--gray-50);
    color: var(--navy-700);
    padding-left: 1.35rem;
}

@media (min-width: 769px) {
    .nav-dropdown:hover .nav-dropdown-menu,
    .nav-dropdown.open .nav-dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

.btn-search {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--navy-800);
    color: #fff;
    cursor: pointer;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.btn-search:hover { background: var(--navy-700); }

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--navy-800);
    cursor: pointer;
}

/* ── Hero ── */
.hero {
    position: relative;
    min-height: var(--hero-height, 420px);
    display: flex;
    align-items: center;
    background: var(--navy-900);
    overflow: hidden;
}

.hero--fixed-height {
    height: var(--hero-height, 420px);
    min-height: var(--hero-height, 420px);
    aspect-ratio: unset;
    max-height: none;
}

.hero-bg-layer {
    position: absolute;
    inset: 0;
    background-color: var(--navy-900);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-image: linear-gradient(90deg, rgba(10,22,40,0.88) 0%, rgba(10,22,40,0.45) 55%, rgba(10,22,40,0.25) 100%),
        url('/assets/modelo/images/hero-camara.jpg');
}

.hero--contain {
    min-height: var(--hero-height, 420px);
}

.hero--contain.hero--fixed-height {
    aspect-ratio: unset;
    max-height: none;
}

.hero--contain .hero-bg-layer {
    background-size: contain;
    background-repeat: no-repeat;
}

.hero--image-only {
    min-height: var(--hero-height, 420px);
}

.hero--image-only.hero--fixed-height {
    aspect-ratio: unset;
    max-height: none;
}

.hero--image-only.hero--contain.hero--fixed-height {
    aspect-ratio: unset;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: min(960px, 85%);
    padding: 3.5rem 0;
    color: #fff;
}

.hero-content h1 {
    font-size: clamp(1.6rem, 3.5vw, 2.35rem);
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 1rem;
    letter-spacing: -0.02em;
    max-width: none;
}

.hero-accent {
    color: var(--green-brand);
}

.hero-content p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin: 0 0 1.75rem;
    line-height: 1.7;
    max-width: none;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.35rem;
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
    letter-spacing: 0.01em;
}

.btn-green {
    background: var(--green);
    color: #fff;
    border-color: var(--green);
}

.btn-green:hover { background: var(--green-dark); border-color: var(--green-dark); }

.btn-outline-white {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.7);
}

.btn-outline-white:hover { background: rgba(255,255,255,0.12); }

.btn-outline {
    background: transparent;
    color: var(--navy-700);
    border: 2px solid var(--navy-700);
    padding: 0.55rem 1.1rem;
    font-size: 0.82rem;
}

.btn-outline:hover { background: var(--navy-700); color: #fff; }

.btn-sm { padding: 0.45rem 0.9rem; font-size: 0.8rem; }

/* Floating sidebar */
.floating-rail {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
}

.floating-tab {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    padding: 1rem 0.55rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #fff;
    border-radius: 6px 0 0 6px;
    transition: padding-right 0.2s;
    border: none;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
    line-height: 1.2;
    white-space: nowrap;
}

.floating-tab:hover { padding-right: 0.85rem; }

.floating-tab.vlibras { background: var(--tab-vlibras, #303f9f); }
.floating-tab.esic { background: var(--green-dark); }
.floating-tab.ouvidoria { background: var(--orange); }
.floating-tab.transp { background: var(--navy-600); }

/* VLibras oficial: botão nativo oculto; acionado pela aba do rail */
[vw].vlibras-silent {
    position: fixed !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 0 !important;
    height: 0 !important;
    overflow: visible !important;
    z-index: 998 !important;
}

[vw].vlibras-silent [vw-access-button] {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* ── Sections ── */
.section {
    padding: 2.75rem 0;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
}

.section-header h2 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--navy-800);
    letter-spacing: -0.02em;
}

.section-header .link-more {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy-600);
}

.section-header .link-more:hover { text-decoration: underline; }

.section-nav-arrows {
    display: flex;
    gap: 0.35rem;
}

.section-nav-arrows button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--gray-200);
    background: #fff;
    cursor: pointer;
    color: var(--navy-700);
}

.section-nav-arrows button:hover { background: var(--gray-100); }

/* Vereadores carousel */
.vereadores-track-wrap { overflow: hidden; }

.vereadores-track {
    display: flex;
    gap: 1rem;
    transition: transform 0.4s ease;
}

.vereador-card {
    flex: 0 0 calc(16.666% - 0.85rem);
    min-width: 0;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    text-align: center;
    position: relative;
    border: 1px solid rgba(226, 232, 240, 0.9);
}

.live-video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.vereador-card img.photo {
    aspect-ratio: 3/4;
    object-fit: cover;
    width: 100%;
    background: var(--gray-200);
}

.vereador-card .info {
    padding: 0.75rem 0.5rem 0.85rem;
}

.vereador-card .name {
    font-weight: 700;
    font-size: 0.82rem;
    color: var(--navy-800);
    margin-bottom: 0.1rem;
    line-height: 1.3;
}

.vereador-card .party {
    font-size: 0.72rem;
    color: var(--gray-400);
    margin-bottom: 0.5rem;
    line-height: 1.35;
}

.vereador-card .social {
    display: flex;
    justify-content: center;
    gap: 0.35rem;
}

.vereador-card .social a {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem;
    color: var(--navy-600);
}

.vereador-card .social a:hover { background: var(--navy-700); color: #fff; }

.badge-presidente {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--navy-600);
    color: #fff;
    font-size: 0.58rem;
    font-weight: 700;
    padding: 0.22rem 0.45rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 1.5rem;
}

.carousel-dots button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: var(--gray-200);
    cursor: pointer;
    padding: 0;
}

.carousel-dots button.active { background: var(--navy-700); width: 24px; border-radius: 4px; }

/* Atalhos + destaques — layout 50/50 */
.home-split-section {
    padding: 0 0 2.5rem;
}

.home-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    align-items: stretch;
}

.home-split .quick-icons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 0.85rem;
    height: 100%;
}

.home-split .highlights-slider {
    min-height: 100%;
    height: 100%;
}

.home-split .highlights-track,
.home-split .highlight-content {
    min-height: 280px;
}

.home-split .highlight-content {
    padding: 1.35rem;
}

.home-split .highlight-content h3 {
    font-size: 1.02rem;
}

.home-split .highlight-content p {
    font-size: 0.8rem;
    max-width: 100%;
}

.quick-icon-item {
    text-align: center;
    padding: 1rem 0.65rem;
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    background: #fff;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 118px;
}

.quick-icon-item:hover {
    border-color: var(--navy-600);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.quick-icon-item .icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 0.65rem;
    border-radius: 12px;
    background: rgba(37, 99, 235, 0.08);
    color: var(--navy-600);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.quick-icon-item h3 {
    margin: 0 0 0.25rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--navy-800);
}

.quick-icon-item p {
    margin: 0;
    font-size: 0.72rem;
    color: var(--gray-400);
    line-height: 1.4;
}

/* Slider de destaques */
.highlights-section {
    padding: 0 0 2.5rem;
}

.highlights-section .highlights-slider {
    min-height: 320px;
}

.highlights-section .highlights-track,
.highlights-section .highlight-content {
    min-height: 320px;
}

.highlights-slider {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 100%;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.highlights-track {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 260px;
}

.highlight-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.highlight-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.highlight-bg {
    position: absolute;
    inset: 0;
    background-size: cover !important;
    background-position: center !important;
}

.highlight-content {
    position: relative;
    z-index: 2;
    height: 100%;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.75rem;
    color: #fff;
}

.highlight-tag {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
    padding: 0.3rem 0.65rem;
    border-radius: 4px;
    margin-bottom: 0.65rem;
    width: fit-content;
}

.highlight-content h3 {
    margin: 0 0 0.5rem;
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.highlight-content p {
    margin: 0 0 1rem;
    font-size: 0.85rem;
    opacity: 0.92;
    line-height: 1.55;
    max-width: 95%;
}

.highlight-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    color: var(--navy-800);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    opacity: 0;
    transition: opacity 0.25s, background 0.2s;
}

.highlights-slider:hover .highlight-arrow {
    opacity: 1;
}

.highlight-arrow:hover {
    background: #fff;
}

.highlight-prev { left: 0.75rem; }
.highlight-next { right: 0.75rem; }

.highlights-dots {
    position: absolute;
    bottom: 0.85rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 0.4rem;
}

.highlights-dots button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.45);
    cursor: pointer;
    padding: 0;
    transition: all 0.25s;
}

.highlights-dots button.active {
    background: #fff;
    width: 22px;
    border-radius: 4px;
}

/* 3-column main grid */
.grid-3 {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 1.5rem;
}

.panel {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid rgba(226, 232, 240, 0.95);
    overflow: hidden;
}

.panel-head {
    padding: 0.95rem 1.2rem;
    border-bottom: 1px solid var(--gray-200);
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--navy-800);
    display: flex;
    align-items: center;
    justify-content: space-between;
    letter-spacing: -0.01em;
    background: linear-gradient(180deg, #fff 0%, #fafbfc 100%);
}

.panel-body { padding: 1.2rem; }

.panel-title {
    margin: 0 0 0.45rem;
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--navy-800);
    letter-spacing: -0.01em;
}

.panel-desc {
    margin: 0 0 1rem;
    font-size: 0.8rem;
    color: var(--gray-400);
    line-height: 1.55;
}

.panel-meta {
    margin: 1rem 0 0;
    font-size: 0.76rem;
    color: var(--gray-400);
}

.live-video {
    position: relative;
    aspect-ratio: 16/10;
    background: var(--navy-900);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 1rem;
}

.live-video img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }

.live-video .play-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.live-video .play-btn span {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--navy-800);
    box-shadow: var(--shadow-lg);
}

.badge-live {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #ef4444;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.badge-live::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
    animation: blink 1.2s infinite;
}

@keyframes blink { 50% { opacity: 0.3; } }

.session-list .item {
    display: flex;
    gap: 0.85rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--gray-100);
}

.session-list .item:last-child { border-bottom: none; }

.session-list .date-box {
    flex-shrink: 0;
    width: 50px;
    text-align: center;
    background: var(--navy-800);
    border-radius: 6px;
    padding: 0.4rem 0;
    color: #fff;
}

.session-list .date-box .day {
    display: block;
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.session-list .date-box .month {
    display: block;
    font-size: 0.62rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 600;
    letter-spacing: 0.04em;
}

.session-list .title { font-weight: 600; font-size: 0.88rem; color: var(--navy-800); }
.session-list .meta { font-size: 0.75rem; color: var(--gray-400); margin-top: 0.15rem; }

.news-list .item {
    display: flex;
    gap: 0.85rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--gray-100);
}

.news-list .item:last-child { border-bottom: none; }

.news-list .thumb {
    width: 72px;
    height: 72px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
    background: var(--gray-200);
}

.news-list .date { font-size: 0.72rem; color: var(--gray-400); }
.news-list .title { font-weight: 600; font-size: 0.85rem; color: var(--navy-800); line-height: 1.35; margin-top: 0.15rem; }
.news-list .item:hover .title { color: var(--blue-accent); }

/* Service cards */
.service-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.15rem;
}

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.service-card--split {
    padding: 0;
    min-height: 310px;
    justify-content: flex-start;
    background: #fff;
    color: #fff;
    box-shadow: var(--shadow);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.service-card--split::before {
    display: none;
}

.service-card-photo {
    position: relative;
    height: 158px;
    flex-shrink: 0;
    overflow: hidden;
}

.service-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card--split:hover .service-card-photo img {
    transform: scale(1.06);
}

.service-card-body {
    position: relative;
    z-index: 2;
    flex: 1;
    margin-top: 0;
    padding: 1rem 1.15rem 1.15rem;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.service-card-head {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
}

.service-card-head .icon {
    font-size: 1.15rem;
    line-height: 1;
    flex-shrink: 0;
    opacity: 0.95;
}

.service-card-head h3 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.service-card--split p {
    margin: 0;
    font-size: 0.74rem;
    line-height: 1.5;
    opacity: 0.92;
}

.service-card--split .link {
    margin-top: auto;
    padding-top: 0.7rem;
    font-size: 0.76rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    opacity: 0.95;
    transition: gap 0.2s ease, opacity 0.2s ease;
}

.service-card--split:hover .link {
    gap: 0.55rem;
    opacity: 1;
}

.service-card.blue .service-card-body {
    background: linear-gradient(180deg, rgba(255,255,255,0.08), transparent 35%), rgba(36, 63, 107, 0.93);
}

.service-card.teal .service-card-body {
    background: linear-gradient(180deg, rgba(255,255,255,0.08), transparent 35%), rgba(26, 107, 74, 0.93);
}

.service-card.navy .service-card-body {
    background: linear-gradient(180deg, rgba(255,255,255,0.08), transparent 35%), rgba(61, 53, 104, 0.93);
}

.service-card.orange .service-card-body {
    background: linear-gradient(180deg, rgba(255,255,255,0.08), transparent 35%), rgba(196, 92, 38, 0.93);
}

/* Stats bar */
.stats-bar {
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
    padding: 2.25rem 0;
    position: relative;
    overflow: hidden;
}

.stats-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40' fill='%23ffffff' fill-opacity='0.03'/%3E%3C/svg%3E");
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    color: #fff;
    position: relative;
    padding: 0 0.75rem;
}

.stat-item + .stat-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background: rgba(255, 255, 255, 0.12);
}

.stat-item .icon {
    font-size: 1.45rem;
    opacity: 0.75;
    margin-bottom: 0.55rem;
    font-weight: 300;
}

.stat-item .number {
    font-size: 1.85rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.4rem;
    letter-spacing: -0.02em;
}

.stat-item .label {
    font-size: 0.74rem;
    opacity: 0.82;
    line-height: 1.35;
    font-weight: 500;
}

/* Bottom 4 columns */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.info-panel {
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
}

.info-panel h3 {
    margin: 0 0 1rem;
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--navy-800);
    padding-bottom: 0.65rem;
    border-bottom: 2px solid var(--gray-100);
    letter-spacing: -0.01em;
}

.progress-item {
    margin-bottom: 0.85rem;
}

.progress-item .label-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
}

.progress-item .label-row span:first-child { font-weight: 600; color: var(--navy-800); }
.progress-item .label-row span:last-child { color: var(--gray-400); font-size: 0.75rem; }

.progress-bar {
    height: 5px;
    background: var(--gray-100);
    border-radius: 99px;
    overflow: hidden;
}

.progress-bar .fill {
    height: 100%;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--navy-700), var(--navy-600));
}

.law-list .item {
    display: flex;
    gap: 0.65rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 0.82rem;
}

.law-list .item:last-child { border-bottom: none; }

.law-list .doc-icon {
    color: var(--navy-600);
    font-size: 0.95rem;
    margin-top: 0.1rem;
}

.photo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.photo-grid img {
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--radius);
    width: 100%;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.photo-grid img:hover {
    transform: scale(1.04);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    z-index: 1;
    position: relative;
}

.video-list .item {
    display: flex;
    gap: 0.65rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--gray-100);
    align-items: flex-start;
}

.video-list .item:last-child { border-bottom: none; }

.video-list .play-icon {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: var(--navy-800);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    flex-shrink: 0;
}

.video-list .v-title { font-size: 0.82rem; font-weight: 600; color: var(--navy-800); }
.video-list .v-meta { font-size: 0.72rem; color: var(--gray-400); }

.info-panel .panel-footer {
    margin-top: auto;
    padding-top: 1rem;
}

/* FAQ (home) */
.section--faq {
    padding-bottom: 2rem;
}

.home-faq-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
    gap: 1.5rem;
    align-items: stretch;
}

.home-faq-panel {
    min-height: 100%;
}

.home-faq-list {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    flex: 1;
}

.home-faq-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    padding: 0.85rem 1rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--navy-800);
    background: var(--gray-50);
    text-decoration: none;
    line-height: 1.45;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.home-faq-list a span {
    flex: 1;
    min-width: 0;
}

.home-faq-list a i {
    flex-shrink: 0;
    font-size: 0.72rem;
    color: var(--gray-400);
    transition: transform 0.2s, color 0.2s;
}

.home-faq-list a:hover {
    border-color: var(--navy-600);
    color: var(--navy-700);
    background: #fff;
}

.home-faq-list a:hover i {
    color: var(--navy-600);
    transform: translateX(2px);
}

.home-faq-panel__cta {
    width: 100%;
    justify-content: center;
    margin-top: auto;
}

.home-faq-help {
    text-align: center;
    justify-content: center;
    gap: 0.25rem;
}

.home-faq-help__icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 0.75rem;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.1);
    color: var(--navy-600);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.home-faq-help h3 {
    text-align: center;
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0.5rem;
}

.home-faq-help p {
    font-size: 0.84rem;
    color: var(--gray-600);
    line-height: 1.65;
    margin: 0 0 1.25rem;
}

.home-faq-help__links {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-top: auto;
}

.home-faq-help__link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.8rem 1rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    background: var(--gray-50);
    color: var(--navy-800);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.home-faq-help__link i {
    width: 18px;
    text-align: center;
    color: var(--navy-600);
}

.home-faq-help__link:hover {
    background: #fff;
    border-color: var(--navy-600);
    color: var(--navy-700);
}

/* Useful links strip */
.useful-links {
    background: var(--gray-100);
    padding: 2.25rem 0 2.5rem;
    border-top: 1px solid var(--gray-200);
}

.useful-links__header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.useful-links__header h3 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--navy-800);
    text-transform: none;
    letter-spacing: -0.01em;
    margin: 0 0 0.35rem;
}

.useful-links__header p {
    margin: 0;
    font-size: 0.82rem;
    color: var(--gray-400);
}

.useful-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 0.85rem;
}

.useful-link-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: 58px;
    padding: 0.9rem 1.1rem;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--navy-700);
    text-decoration: none;
    box-shadow: var(--shadow);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s, color 0.2s;
}

.useful-link-card span {
    flex: 1;
    min-width: 0;
    line-height: 1.35;
}

.useful-link-card i {
    flex-shrink: 0;
    font-size: 0.72rem;
    color: var(--gray-400);
}

.useful-link-card:hover {
    border-color: var(--navy-600);
    color: var(--navy-800);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.useful-link-card:hover i {
    color: var(--navy-600);
}

.useful-link-card--placeholder {
    justify-content: center;
    color: var(--gray-400);
    filter: grayscale(1);
    opacity: 0.85;
    cursor: default;
    box-shadow: none;
}

.logos-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.logo-placeholder {
    height: 40px;
    padding: 0 1.5rem;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--gray-400);
    filter: grayscale(1);
    opacity: 0.8;
}

/* Footer */
.site-footer {
    background: var(--navy-900);
    color: rgba(255,255,255,0.85);
    padding: 3rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
}

.footer-extra {
    display: grid;
    grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: start;
    padding: 2rem 0 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-newsletter h4,
.footer-survey h4 {
    color: #fff;
    font-size: 0.88rem;
    font-weight: 700;
    margin: 0 0 0.65rem;
}

.footer-newsletter p,
.footer-survey > p {
    font-size: 0.82rem;
    opacity: 0.8;
    margin: 0 0 1rem;
    line-height: 1.55;
}

.footer-survey-scale {
    display: grid;
    grid-template-columns: repeat(11, minmax(0, 1fr));
    gap: 0.45rem;
    width: 100%;
}

.footer-survey-score {
    min-height: 46px;
    padding: 0.35rem 0.2rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.footer-survey-score:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-1px);
}

.footer-survey-score.is-selected {
    background: var(--green);
    border-color: var(--green);
    box-shadow: 0 6px 18px rgba(22, 163, 74, 0.35);
}

.footer-survey-score:disabled {
    cursor: default;
    opacity: 0.65;
}

.footer-survey-labels {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.65rem;
    font-size: 0.72rem;
    opacity: 0.65;
}

.footer-survey-feedback {
    margin: 0 0 0.55rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--green);
}

.footer-survey-result {
    width: 100%;
}

.footer-survey-chart {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 0.75rem 0.9rem 0.65rem;
}

.footer-survey-chart__avg {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.footer-survey-chart__label {
    font-size: 0.68rem;
    font-weight: 600;
    opacity: 0.75;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.footer-survey-chart__value {
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1;
    color: #fff;
}

.footer-survey-chart__value small {
    font-size: 0.72rem;
    font-weight: 600;
    opacity: 0.65;
    margin-left: 0.1rem;
}

.footer-survey-gauge {
    margin-bottom: 0.55rem;
}

.footer-survey-gauge__track {
    height: 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    overflow: hidden;
}

.footer-survey-gauge__fill {
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, #f59e0b, var(--green));
    transition: width 0.6s ease;
}

.footer-survey-gauge__marks {
    display: flex;
    justify-content: space-between;
    margin-top: 0.2rem;
    font-size: 0.62rem;
    opacity: 0.55;
}

.footer-survey-bars {
    display: grid;
    grid-template-columns: repeat(11, minmax(0, 1fr));
    gap: 0.25rem;
    align-items: end;
    min-height: 44px;
    margin-bottom: 0.45rem;
}

.footer-survey-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 0.2rem;
    min-width: 0;
    height: 44px;
}

.footer-survey-bar__fill {
    width: 100%;
    min-height: 3px;
    border-radius: 3px 3px 0 0;
    background: rgba(255, 255, 255, 0.18);
    transition: height 0.45s ease, background 0.2s;
}

.footer-survey-bar.is-highlight .footer-survey-bar__fill {
    background: var(--green);
}

.footer-survey-bar__label {
    font-size: 0.58rem;
    opacity: 0.7;
    font-weight: 600;
    line-height: 1;
}

.footer-survey-chart__total {
    margin: 0;
    font-size: 0.66rem;
    opacity: 0.65;
    text-align: center;
    line-height: 1.2;
}

.footer-survey.is-done .footer-survey-form {
    display: none;
}

.footer-survey.is-done .footer-survey-result {
    display: block;
}

.footer-brand .brand { margin-bottom: 1rem; }
.footer-brand .brand-text strong,
.footer-brand .brand-text span { color: rgba(255,255,255,0.9); }

.footer-brand p {
    font-size: 0.82rem;
    line-height: 1.6;
    opacity: 0.8;
    margin: 0 0 1rem;
}

.footer-contact {
    font-size: 0.82rem;
    line-height: 1.8;
    opacity: 0.85;
}

.footer-contact i { width: 18px; margin-right: 0.35rem; color: var(--green); }

.footer-col h4 {
    color: #fff;
    font-size: 0.88rem;
    font-weight: 700;
    margin: 0 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(255,255,255,0.1);
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-col li { margin-bottom: 0.45rem; }

.footer-col a {
    font-size: 0.82rem;
    opacity: 0.8;
}

.footer-col a:hover { opacity: 1; color: #fff; }

.newsletter p {
    font-size: 0.82rem;
    opacity: 0.8;
    margin: 0 0 0.75rem;
}

.newsletter-form {
    display: flex;
    gap: 0.35rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.6rem 0.85rem;
    border: none;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.82rem;
}

.newsletter-form button {
    padding: 0.6rem 1rem;
    background: var(--green);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.82rem;
    cursor: pointer;
}

.newsletter-form button:hover { background: var(--green-dark); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.75rem;
    opacity: 0.7;
}

.footer-bottom-links {
    display: flex;
    gap: 1.25rem;
}

.footer-bottom-links a:hover { opacity: 1; color: #fff; }

.footer-cookie-btn {
    background: none;
    border: 0;
    padding: 0;
    color: inherit;
    font: inherit;
    font-size: 0.75rem;
    opacity: 0.85;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.footer-cookie-btn:hover {
    opacity: 1;
    color: #fff;
}

/* ── Consentimento de cookies ── */
.cookie-consent {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 12000;
    padding: 1rem;
    pointer-events: none;
}

.cookie-consent:not([hidden]) {
    pointer-events: auto;
}

.cookie-consent__panel {
    max-width: 920px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 1.15rem 1.25rem;
}

.cookie-consent__main {
    min-width: 0;
}

.cookie-consent__panel--simple .cookie-consent__main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem 1.25rem;
}

.cookie-consent__panel--simple .cookie-consent__main h2,
.cookie-consent__panel--simple .cookie-consent__main p {
    flex: 1 1 420px;
    min-width: 0;
}

.cookie-consent__panel--simple .cookie-consent__actions {
    flex: 0 0 auto;
    margin-top: 0;
    margin-left: auto;
    justify-content: flex-end;
}

.cookie-consent h2 {
    margin: 0 0 0.55rem;
    font-size: 1rem;
    color: var(--navy-800);
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.cookie-consent p {
    margin: 0;
    font-size: 0.84rem;
    line-height: 1.55;
    color: var(--gray-600);
}

.cookie-consent a {
    color: var(--navy-700);
    font-weight: 600;
}

.cookie-consent__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
    align-items: center;
}

.cookie-consent__actions .btn {
    justify-content: center;
    white-space: nowrap;
}

.cookie-consent__prefs-lead {
    margin-bottom: 0.85rem !important;
}

.cookie-pref-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0;
    border-top: 1px solid var(--gray-100);
}

.cookie-pref-item strong {
    display: block;
    font-size: 0.84rem;
    color: var(--navy-800);
}

.cookie-pref-item span {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.76rem;
    color: var(--gray-500);
    line-height: 1.4;
}

.cookie-pref-badge {
    flex-shrink: 0;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: var(--gray-100);
    color: var(--navy-700);
    font-size: 0.68rem;
    font-weight: 700;
}

.cookie-pref-item--toggle {
    cursor: pointer;
}

.cookie-pref-item--toggle input {
    width: 1.1rem;
    height: 1.1rem;
    accent-color: var(--green-dark);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .cookie-consent {
        padding: 0.65rem;
    }

    .cookie-consent__panel {
        padding: 1rem;
    }

    .cookie-consent__panel--simple .cookie-consent__main {
        display: block;
    }

    .cookie-consent__panel--simple .cookie-consent__actions {
        margin-top: 1rem;
        margin-left: 0;
        width: 100%;
        justify-content: stretch;
    }

    .cookie-consent__panel--simple .cookie-consent__actions .btn {
        width: 100%;
    }

    .cookie-consent__panel:not(.cookie-consent__panel--simple) .cookie-consent__actions .btn {
        flex: 1 1 calc(50% - 0.25rem);
    }
}

.footer-social {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.footer-social a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.footer-social a:hover { background: var(--blue-accent); }

/* Responsive */
@media (max-width: 1024px) {
    .vereador-card { flex: 0 0 calc(25% - 0.75rem); }
    .home-split { grid-template-columns: 1fr; }
    .home-split .highlights-track,
    .home-split .highlight-content { min-height: 260px; }
    .grid-3 { grid-template-columns: 1fr; }
    .service-cards { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(3, 1fr); }
    .stat-item:nth-child(4)::before,
    .stat-item:nth-child(5)::before { display: none; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-extra { grid-template-columns: 1fr; gap: 2rem; }
    .home-faq-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .menu-toggle { display: block; }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid var(--gray-200);
    }

    .main-nav.open { display: flex; }

    .site-header { position: relative; }

    .nav-dropdown { width: 100%; }

    .nav-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-left: 3px solid var(--navy-600);
        margin: 0.25rem 0 0.5rem 0.75rem;
        padding: 0.25rem 0;
        display: none;
        min-width: auto;
        background: var(--gray-50);
        border-radius: 0 var(--radius) var(--radius) 0;
    }

    .nav-dropdown-menu::before { display: none; }

    .nav-dropdown.open .nav-dropdown-menu { display: block; }

    .nav-dropdown > .nav-dropdown-toggle {
        width: 100%;
        justify-content: space-between;
    }

    .floating-rail { display: none; }

    .hero-content { max-width: 100%; }

    .vereador-card { flex: 0 0 calc(50% - 0.5rem); }

    .home-split .quick-icons-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }

    .service-cards { grid-template-columns: 1fr; }

    .highlight-arrow { opacity: 1; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item::before { display: none; }

    .grid-4 { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr; }

    .footer-survey-scale {
        gap: 0.3rem;
    }

    .footer-survey-score {
        min-height: 40px;
        font-size: 0.78rem;
        border-radius: 6px;
    }

    .footer-survey-labels {
        font-size: 0.68rem;
    }

    .topbar-links { display: none; }
}
