/*
 * Mantiqueira em Foco
 * ---------------------------------------------------------------
 * CSS puro, mobile-first, sem frameworks.
 * Layout construído com CSS Grid e Flexbox.
 */

/* ================================================================
   1. VARIÁVEIS / RESET
   ================================================================ */

:root {
    --blue-950: #071b35;
    --blue-900: #09264a;
    --blue-800: #0d3768;
    --blue-700: #12539a;
    --blue-600: #1769c2;
    --blue-500: #2184dc;
    --blue-100: #eaf3fc;

    --green-900: #064e3b;
    --green-800: #076345;
    --green-700: #087f55;
    --green-600: #0a9965;
    --green-500: #18a86f;
    --green-100: #e7f7f0;

    --cyan-600: #008aa8;
    --emerald-500: #10a77b;
    --gray-950: #15191e;
    --gray-800: #30363d;
    --gray-700: #4b5563;
    --gray-600: #687383;
    --gray-500: #87919e;
    --gray-300: #dce1e6;
    --gray-200: #e9edf1;
    --gray-100: #f4f6f8;
    --white: #ffffff;

    --body-bg: #f6f8fa;
    --card-bg: #ffffff;
    --border: #e1e6eb;

    --shadow-sm: 0 2px 10px rgba(7, 27, 53, .07);
    --shadow-md: 0 8px 28px rgba(7, 27, 53, .11);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;

    --container: 1240px;
    --transition: 180ms ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--gray-950);
    background: var(--body-bg);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

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

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

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

.container {
    width: min(calc(100% - 32px), var(--container));
    margin-inline: auto;
}

.section {
    padding-block: 42px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ================================================================
   2. HEADER
   ================================================================ */

.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.top-header {
    background: var(--white);
}

.header-inner {
    min-height: 82px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: max-content;
}

.brand-mark {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: linear-gradient(145deg, var(--blue-700), var(--green-600));
    border-radius: 10px;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: -.04em;
    box-shadow: var(--shadow-sm);
}

.brand-text {
    display: grid;
    line-height: 1;
}

.brand-text strong {
    color: var(--blue-900);
    font-size: 20px;
    letter-spacing: -.04em;
}

.brand-text small {
    margin-top: 4px;
    color: var(--green-700);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.brand-logo{
    display: block;
    width: 175px;
    height: 100px;
    object-fit: contain;
    flex-shrink: 0;
}

.header-location {
    justify-self: center;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-700);
}

.header-location > span:last-child {
    display: grid;
}

.header-location strong {
    color: var(--blue-900);
    font-size: 13px;
}

.header-location small {
    color: var(--gray-500);
    font-size: 11px;
}

.weather-icon {
    color: var(--green-600);
    font-size: 25px;
}

.search-form {
    width: 280px;
    display: flex;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--gray-100);
}

.search-form input {
    width: 100%;
    min-width: 0;
    padding: 11px 15px;
    border: 0;
    outline: 0;
    color: var(--gray-950);
    background: transparent;
}

.search-form input:focus {
    background: var(--white);
}

.search-form button {
    width: 46px;
    border: 0;
    color: var(--white);
    background: var(--blue-800);
    font-size: 23px;
}

.main-nav {
    background: var(--blue-950);
}

.nav-scroll {
    display: flex;
    align-items: stretch;
    overflow-x: auto;
    scrollbar-width: thin;
}

.nav-scroll a {
    flex: 0 0 auto;
    padding: 13px 16px;
    color: rgba(255, 255, 255, .86);
    border-bottom: 3px solid transparent;
    font-size: 13px;
    font-weight: 800;
    transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.nav-scroll a:hover,
.nav-scroll a:focus-visible {
    color: var(--white);
    background: rgba(255, 255, 255, .07);
    border-bottom-color: var(--green-500);
}

.nav-scroll .nav-home {
    font-size: 20px;
    padding-inline: 13px;
}

/* ================================================================
   3. PLANTÃO
   ================================================================ */

.breaking-news {
    background: var(--green-700);
    color: var(--white);
}

.breaking-inner {
    min-height: 42px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.breaking-label {
    flex: 0 0 auto;
    padding: 4px 9px;
    border-radius: 5px;
    color: var(--green-900);
    background: var(--white);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
}

.breaking-inner a {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 700;
}

.breaking-time {
    margin-left: auto;
    flex: 0 0 auto;
    color: rgba(255, 255, 255, .75);
    font-size: 11px;
}

/* ================================================================
   4. TÍTULOS DE SEÇÃO
   ================================================================ */

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.eyebrow {
    display: block;
    margin-bottom: 4px;
    color: var(--green-700);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.section-heading h1,
.section-heading h2 {
    margin: 0;
    color: var(--blue-950);
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.08;
    letter-spacing: -.04em;
}

.section-link {
    flex: 0 0 auto;
    color: var(--blue-700);
    font-size: 12px;
    font-weight: 800;
}

.section-link:hover {
    color: var(--green-700);
}

/* ================================================================
   5. CAPA
   ================================================================ */

.cover-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr);
    gap: 24px;
}

.lead-card,
.news-card,
.latest-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--card-bg);
    box-shadow: var(--shadow-sm);
}

.lead-card {
    transition: transform var(--transition), box-shadow var(--transition);
}

.lead-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.lead-image-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.lead-image-wrap img {
    height: 100%;
    object-fit: cover;
    transition: transform 300ms ease;
}

.lead-card:hover img {
    transform: scale(1.025);
}

.image-badge {
    position: absolute;
    left: 16px;
    bottom: 16px;
    padding: 6px 9px;
    border-radius: 5px;
    color: var(--white);
    background: var(--green-700);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
}

.lead-content {
    padding: 22px;
}

.category-tag {
    display: inline-block;
    margin-bottom: 9px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .09em;
}

.category-blue {
    color: var(--blue-700);
}

.category-green,
.category-emerald {
    color: var(--green-700);
}

.category-navy {
    color: var(--blue-900);
}

.category-cyan {
    color: var(--cyan-600);
}

.lead-content h2 {
    margin: 0 0 10px;
    color: var(--blue-950);
    font-size: clamp(28px, 3.5vw, 46px);
    line-height: 1.04;
    letter-spacing: -.045em;
}

.lead-content p {
    max-width: 780px;
    margin: 0 0 14px;
    color: var(--gray-600);
    font-size: 15px;
}

.article-meta {
    color: var(--gray-500);
    font-size: 11px;
}

.secondary-news {
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    gap: 16px;
}

.compact-card {
    transition: transform var(--transition), box-shadow var(--transition);
}

.compact-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.compact-card > a {
    height: 100%;
    display: grid;
    grid-template-columns: 150px 1fr;
}

.compact-card img {
    height: 100%;
    min-height: 150px;
    object-fit: cover;
}

.news-card-content {
    padding: 16px;
}

.news-card-content h3 {
    margin: 0 0 10px;
    color: var(--blue-950);
    font-size: 18px;
    line-height: 1.15;
}

/* ================================================================
   6. CIDADES
   ================================================================ */

.city-section {
    background: var(--white);
    border-block: 1px solid var(--border);
}

.city-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.city-card {
    position: relative;
    min-height: 190px;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--blue-900);
    isolation: isolate;
}

.city-card img {
    position: absolute;
    inset: 0;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    transition: transform 300ms ease;
}

.city-card:hover img {
    transform: scale(1.07);
}

.city-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(to top, rgba(3, 18, 35, .9), rgba(3, 18, 35, .08) 70%);
}

.city-name {
    position: absolute;
    right: 12px;
    bottom: 12px;
    left: 12px;
    color: var(--white);
}

.city-name strong,
.city-name small {
    display: block;
}

.city-name strong {
    font-size: 15px;
    line-height: 1.15;
}

.city-name small {
    margin-top: 4px;
    color: rgba(255, 255, 255, .75);
    font-size: 10px;
}

/* ================================================================
   7. VÍDEOS
   ================================================================ */

.video-section {
    background: var(--blue-950);
    color: var(--white);
}

.section-heading-light h2 {
    color: var(--white);
}

.section-heading-light .section-link {
    color: var(--green-500);
}

.video-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, .8fr);
    gap: 24px;
}

.video-feature {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, .05);
}

.video-frame {
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #000;
}

.video-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.video-feature-content {
    padding: 18px;
}

.video-feature-content h3 {
    margin: 0 0 6px;
    font-size: 23px;
    line-height: 1.15;
}

.video-feature-content p {
    margin: 0;
    color: rgba(255, 255, 255, .65);
    font-size: 13px;
}

.video-list {
    display: grid;
    gap: 14px;
    align-content: start;
}

.video-item {
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

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

.video-item a {
    display: grid;
    grid-template-columns: 145px 1fr;
    gap: 12px;
}

.video-thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    border-radius: 8px;
    background: var(--blue-800);
}

.video-thumb img {
    height: 100%;
    object-fit: cover;
}

.play-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    color: var(--blue-950);
    background: var(--white);
    font-size: 12px;
}

.video-category {
    color: var(--green-500);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.video-item h3 {
    margin: 5px 0 0;
    color: var(--white);
    font-size: 14px;
    line-height: 1.25;
}

/* ================================================================
   8. ÚLTIMAS NOTÍCIAS
   ================================================================ */

.latest-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.latest-card {
    transition: transform var(--transition), box-shadow var(--transition);
}

.latest-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.latest-card img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.latest-content {
    padding: 16px;
}

.latest-content h3 {
    margin: 0 0 8px;
    color: var(--blue-950);
    font-size: 17px;
    line-height: 1.18;
}

.latest-content p {
    margin: 0 0 12px;
    color: var(--gray-600);
    font-size: 12px;
}

/* ================================================================
   9. BLOCOS TEMÁTICOS
   ================================================================ */

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.topic-block {
    position: relative;
    padding: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--white);
}

.topic-header {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.topic-dot {
    flex: 0 0 auto;
    width: 9px;
    height: 9px;
    margin-top: 4px;
    border-radius: 50%;
    background: var(--blue-600);
}

.topic-green .topic-dot,
.topic-emerald .topic-dot {
    background: var(--green-600);
}

.topic-cyan .topic-dot {
    background: var(--cyan-600);
}

.topic-navy .topic-dot {
    background: var(--blue-900);
}

.topic-header h3 {
    margin: 0;
    color: var(--gray-800);
    font-size: 16px;
    line-height: 1.25;
}

.topic-block ul {
    margin: 18px 0 14px;
    padding: 0;
    list-style: none;
}

.topic-block li {
    padding-block: 9px;
    border-top: 1px solid var(--gray-200);
}

.topic-block li a {
    display: block;
    color: var(--gray-700);
    font-size: 13px;
    font-weight: 700;
}

.topic-block li a:hover {
    color: var(--blue-700);
}

.topic-more {
    color: var(--blue-700);
    font-size: 11px;
    font-weight: 900;
}

.topic-green .topic-more,
.topic-emerald .topic-more {
    color: var(--green-700);
}

/* ================================================================
   10. NEWSLETTER
   ================================================================ */

.newsletter-section {
    padding-block: 38px;
    background: linear-gradient(120deg, var(--blue-900), var(--green-800));
    color: var(--white);
}

.newsletter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.newsletter-inner .eyebrow {
    color: var(--green-500);
}

.newsletter-inner h2 {
    margin: 0 0 6px;
    font-size: clamp(23px, 3vw, 32px);
    line-height: 1.1;
}

.newsletter-inner p {
    margin: 0;
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
}

.newsletter-form {
    flex: 0 0 min(100%, 430px);
    display: flex;
    overflow: hidden;
    border-radius: 999px;
    background: var(--white);
}

.newsletter-form input {
    width: 100%;
    min-width: 0;
    padding: 13px 18px;
    border: 0;
    outline: 0;
}

.newsletter-form button {
    flex: 0 0 auto;
    padding: 0 21px;
    border: 0;
    color: var(--white);
    background: var(--green-700);
    font-size: 12px;
    font-weight: 900;
}

/* ================================================================
   11. FOOTER
   ================================================================ */

.site-footer {
    color: rgba(255, 255, 255, .75);
    background: var(--gray-950);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr repeat(4, 1fr);
    gap: 35px;
    padding-block: 48px;
}

.brand-footer .brand-text strong {
    color: var(--white);
}

.brand-footer .brand-text small {
    color: var(--green-500);
}

.footer-brand p {
    max-width: 360px;
    margin: 18px 0 0;
    font-size: 12px;
    line-height: 1.7;
}

.footer-contact {
    color: rgba(255, 255, 255, .5);
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-column h3 {
    margin: 0 0 8px;
    color: var(--white);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.footer-column a {
    color: rgba(255, 255, 255, .6);
    font-size: 12px;
}

.footer-column a:hover {
    color: var(--green-500);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.footer-bottom-inner {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: rgba(255, 255, 255, .42);
    font-size: 10px;
}

/* ================================================================
   12. TABLET
   ================================================================ */

@media (max-width: 1050px) {
    .header-inner {
        grid-template-columns: auto 1fr;
    }

    .header-location {
        display: none;
    }

    .search-form {
        justify-self: end;
    }

    .city-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .latest-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1.5fr repeat(2, 1fr);
    }
}

/* ================================================================
   13. MOBILE
   ================================================================ */

@media (max-width: 760px) {
    .container {
        width: min(calc(100% - 22px), var(--container));
    }

    .section {
        padding-block: 30px;
    }

    .header-inner {
        min-height: auto;
        padding-block: 12px;
        grid-template-columns: 1fr auto;
        gap: 12px;
    }

    .brand-mark {
        width: 39px;
        height: 39px;
        font-size: 13px;
    }

    .brand-text strong {
        font-size: 17px;
    }

    .brand-text small {
        font-size: 10px;
    }

    .search-form {
        width: 44px;
        height: 40px;
        border-radius: 50%;
        background: var(--blue-800);
    }

    .search-form input {
        position: absolute;
        width: 1px;
        height: 1px;
        opacity: 0;
        pointer-events: none;
    }

    .search-form button {
        width: 44px;
        background: transparent;
    }

    .breaking-inner {
        min-height: 38px;
        gap: 8px;
    }

    .breaking-inner a {
        font-size: 11px;
    }

    .breaking-time {
        display: none;
    }

    .section-heading {
        align-items: center;
    }

    .section-heading h1,
    .section-heading h2 {
        font-size: 25px;
    }

    .cover-grid,
    .video-layout {
        grid-template-columns: 1fr;
    }

    .lead-content {
        padding: 18px;
    }

    .lead-content h2 {
        font-size: 30px;
    }

    .secondary-news {
        grid-template-rows: none;
    }

    .compact-card > a {
        grid-template-columns: 125px 1fr;
    }

    .compact-card img {
        min-height: 125px;
    }

    .news-card-content {
        padding: 13px;
    }

    .news-card-content h3 {
        font-size: 16px;
    }

    .city-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .city-card {
        min-height: 150px;
    }

    .latest-grid,
    .category-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-inner {
        display: grid;
        gap: 18px;
    }

    .newsletter-form {
        flex-basis: auto;
        width: 100%;
    }

    .newsletter-form button {
        padding-inline: 15px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px 20px;
        padding-block: 35px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom-inner {
        padding-block: 14px;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

@media (max-width: 420px) {
    .city-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .city-card {
        min-height: 125px;
    }

    .city-name {
        right: 8px;
        bottom: 8px;
        left: 8px;
    }

    .city-name strong {
        font-size: 13px;
    }

    .compact-card > a {
        grid-template-columns: 105px 1fr;
    }

    .compact-card img {
        min-height: 115px;
    }

    .news-card-content h3 {
        font-size: 14px;
    }

    .video-item a {
        grid-template-columns: 120px 1fr;
    }

    .video-item h3 {
        font-size: 13px;
    }
}

/* ================================================================
   14. ACESSIBILIDADE / REDUÇÃO DE MOVIMENTO
   ================================================================ */

:focus-visible {
    outline: 3px solid var(--green-500);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

.noticia-galeria {
    margin: 32px 0;
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.galeria-grid figure {
    margin: 0;
}

.galeria-grid img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
}

.galeria-grid figcaption {
    margin-top: 6px;
    color: #68798b;
    font-size: .9rem;
}

.cities-page{
    padding:32px 0 58px
}

.cities-breadcrumb{
    margin:0 0 18px;
    color:#64748b;
    font-size:.88rem;
}
.cities-breadcrumb a{
    color:#087f5b;
    text-decoration:none;
}
.cities-hero, .institutional-hero{
    margin-bottom:30px;
    padding:clamp(24px,4vw,40px);
    border-radius:14px;
    background:linear-gradient(120deg,#102a43,#164e63);
    color:#fff;
}
.cities-eyebrow, .institutional-eyebrow{
    display:inline-block;
    margin-bottom:8px;
    color:#9ce7c6;
    font-size:.76rem;
    font-weight:800;
    letter-spacing:.12em;
    text-transform:uppercase;
}
.cities-hero h1{
    margin:0 0 12px;
    font-size:clamp(2rem,5vw,3rem);
    line-height:1.12;
}
.cities-hero p{
    max-width:780px;
    margin:0;
    color:#e4edf4;
    line-height:1.65;
}
.cities-summary{
    margin:0 0 20px;
    color:#526579;
}.cities-summary strong{
    color:#102a43;
}
.cities-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:22px;
}
.directory-city-card{
    position:relative;
    min-width:0;
    min-height:205px;
    overflow:hidden;
    border:1px solid #e2e8f0;
    border-radius:12px;
    background:#102a43;
    box-shadow:0 5px 18px rgba(16,42,67,.07);
    transition:transform .18s ease,box-shadow .18s ease;
}
.directory-city-card:hover{
    transform:translateY(-3px);
    box-shadow:0 10px 24px rgba(16,42,67,.14);
}
.directory-city-link{
    position:relative;
    display:flex;
    min-height:205px;
    height:100%;
    flex-direction:column;
    justify-content:flex-end;
    color:#fff;
    text-decoration:none;
}
.directory-city-image{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
}
.directory-city-card:after{
    position:absolute;
    inset:0;
    background:linear-gradient(180deg,rgba(8,28,48,.03) 10%,rgba(8,28,48,.88) 100%);
    content:"";
    pointer-events:none;
}
.directory-city-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(135deg,rgba(16,42,67,.2),rgba(8,127,91,.35));
}
.directory-city-info{
    position:relative;
    z-index:1;
    padding:22px;
}
.directory-city-info h2{
    margin:0 0 7px;
    font-size:1.35rem;
    line-height:1.25;
}
.directory-city-info p{
    margin:0 0 10px;
    color:#e4edf4;
    font-size:.9rem;
    line-height:1.5;
}
.directory-city-meta{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    align-items:center;
    color:#cfe9df;
    font-size:.82rem;
    font-weight:700;
}
.directory-city-meta span{
    display:inline-flex;
    align-items:center;
    gap:5px;
}
.directory-city-placeholder{
    position:absolute;
    inset:0;
    display:flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(135deg,#164e63,#087f5b);
    color:rgba(255,255,255,.18);
    font-size:2.5rem;
    font-weight:900;
    letter-spacing:.08em;
}
.cities-empty,.cities-error{
    padding:30px;
    border:1px solid #e2e8f0;
    border-radius:12px;
    background:#fff;
}
.cities-empty h2,.cities-error h1{
    margin-top:0;
    color:#102a43;
}
.cities-empty p,.cities-error p{
    color:#526579;line-height:1.65;
}
.cities-empty a,.cities-error a{
    color:#087f5b;
    font-weight:700;
}
@media(max-width:900px){
    .cities-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}
@media(max-width:600px){
    .cities-page{
        padding-top:22px;
    }
    .cities-hero{
        border-radius:9px;
    }
    .cities-grid{
        grid-template-columns:1fr;gap:16px;
    }
    .directory-city-card,.directory-city-link{
        min-height:190px;
    }
    .directory-city-info{
        padding:18px;
    }
    .cities-empty,.cities-error{
        padding:24px 18px;
    }
}


/* =========================================
   PÁGINAS INSTITUCIONAIS
   Mantiqueira em Foco
========================================= */

.institutional-page {
    padding: 34px 0 56px;
    min-height: 55vh;
}

.institutional-hero {
    background: linear-gradient(135deg, #102a56, #174c85);
    color: #fff;
    border-radius: 16px;
    padding: clamp(24px, 4vw, 42px);
    margin-bottom: 28px;
}

.institutional-hero .eyebrow {
    color: #b7e4d2;
    font-weight: 700;
    letter-spacing: 1.5px;
    font-size: .8rem;
}

.institutional-hero h1 {
    margin: 10px 0;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.12;
}

.institutional-hero p {
    max-width: 760px;
    margin: 0;
    color: #e6eef8;
    font-size: 1.05rem;
    line-height: 1.7;
}

.institutional-breadcrumb {
    font-size: .9rem;
    color: #64748b;
    margin-bottom: 16px;
}

.institutional-breadcrumb a,
.institutional-card a {
    color: #1767a8;
}

.institutional-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 26px;
    align-items: start;
}

.institutional-card {
    background: #fff;
    border: 1px solid #e3e8ef;
    border-radius: 14px;
    padding: clamp(20px, 3vw, 30px);
    box-shadow: 0 5px 20px rgba(15, 35, 65, .045);
    min-width: 0;
}

.institutional-card h2 {
    margin: 0 0 12px;
    color: #132f56;
    font-size: 1.45rem;
}

.institutional-card h2:not(:first-child) {
    margin-top: 28px;
}

.institutional-card h3 {
    margin: 24px 0 8px;
    color: #183d68;
    font-size: 1.12rem;
}

.institutional-card p,
.institutional-card li {
    color: #39485b;
    line-height: 1.8;
}

.institutional-card p {
    margin: 0 0 16px;
}

.institutional-card ul {
    padding-left: 22px;
}

.institutional-side {
    background: #f4f7fa;
    border-radius: 14px;
    padding: 22px;
    border: 1px solid #e4eaf1;
    overflow-wrap: anywhere;
}

.institutional-side h2 {
    font-size: 1.08rem;
    margin: 0 0 12px;
    color: #17375f;
}

.institutional-side a {
    color: #1767a8;
    text-decoration: none;
}

.institutional-side a:hover {
    text-decoration: underline;
}

.institutional-callout {
    border-left: 4px solid #1b9a70;
    background: #f0faf5;
    padding: 16px 18px;
    border-radius: 0 10px 10px 0;
    margin: 20px 0;
}

.institutional-callout p {
    margin-top: 8px;
}

.institutional-small {
    font-size: .9rem;
    color: #627187;
}

.institutional-definition {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 8px 18px;
    margin: 0;
}

.institutional-definition dt {
    font-weight: 700;
    color: #233d5d;
}

.institutional-definition dd {
    margin: 0;
    color: #46566a;
    line-height: 1.65;
}

.institutional-form {
    display: grid;
    gap: 16px;
}

.institutional-form .form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.institutional-form label {
    display: block;
    font-weight: 650;
    color: #20364f;
    margin-bottom: 6px;
}

.institutional-form input,
.institutional-form select,
.institutional-form textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 12px 13px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #fff;
    font: inherit;
    color: #172b43;
}

.institutional-form textarea {
    min-height: 150px;
    resize: vertical;
}

.institutional-form input:focus,
.institutional-form select:focus,
.institutional-form textarea:focus {
    outline: 3px solid rgba(32, 117, 184, .16);
    border-color: #2477b7;
}

.institutional-form button {
    border: 0;
    border-radius: 8px;
    padding: 13px 20px;
    background: #147d5a;
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    justify-self: start;
}

.institutional-form button:hover {
    background: #0f6548;
}

.institutional-alert {
    border-radius: 9px;
    padding: 13px 16px;
    margin: 0 0 18px;
    background: #fff4e5;
    color: #7a4100;
    border: 1px solid #f2d4a8;
}

.institutional-alert.success {
    background: #edf9f1;
    color: #17653a;
    border-color: #b9e5c8;
}

.institutional-steps {
    display: grid;
    gap: 12px;
    margin: 20px 0;
}

.institutional-step {
    border: 1px solid #e1e8ef;
    border-radius: 10px;
    padding: 16px;
}

.institutional-step strong {
    display: block;
    color: #17375f;
    margin-bottom: 5px;
}

.institutional-step p {
    margin: 0;
}

.hp-field {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

@media (max-width: 800px) {
    .institutional-layout {
        grid-template-columns: 1fr;
    }

    .institutional-form .form-row {
        grid-template-columns: 1fr;
    }

    .institutional-definition {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .institutional-definition dd {
        margin-bottom: 10px;
    }
}


/* =========================================================
   PUBLICIDADE - MANTIQUEIRA EM FOCO
========================================================= */

.ad-carousel {
    width: 100%;
    margin: 18px auto 24px;
    padding: 0;
}

.ad-carousel .container {
    position: relative;
}

.ad-label {
    margin-bottom: 7px;
    color: #94a3b8;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-align: center;
}

.ad-slides {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 9px;
    background: #f1f5f9;
}

.ad-slide {
    display: none;
    width: 100%;
}

.ad-slide.active {
    display: block;
    animation: adFade .5s ease;
}

.ad-slide a {
    display: block;
    width: 100%;
}

.ad-slide img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 260px;
    aspect-ratio: 970 / 180;
    object-fit: contain;
    margin: 0 auto;
}

.ad-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    padding: 10px 0 0;
}

.ad-indicators button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
}

.ad-indicators button.active {
    width: 22px;
    border-radius: 10px;
    background: #087f5b;
}

/* Propaganda lateral da notícia */

.ad-sidebar {
    width: 100%;
    margin: 22px 0;
}

.ad-sidebar .ad-slides {
    border: 1px solid #e2e8f0;
    background: #fff;
}

.ad-sidebar .ad-slide img {
    width: 100%;
    max-height: 350px;
    aspect-ratio: 4 / 5;
    object-fit: contain;
}

@keyframes adFade {
    from {
        opacity: .35;
    }
    to {
        opacity: 1;
    }
}

/* Responsividade */

@media (max-width: 768px) {

    .ad-carousel {
        margin: 12px auto 18px;
    }

    .ad-slide img {
        max-height: 150px;
        aspect-ratio: 16 / 5;
    }

    .ad-sidebar .ad-slide img {
        max-height: 300px;
    }

}