/* ==========================================================================
   STMC Theme — Clean Editorial
   Sindicato dos Trabalhadores do Serviço Público Municipal de Campinas
   ========================================================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
    /* Primary — Vermelho institucional */
    --stmc-red: #C62828;
    --stmc-red-dark: #8B1A1A;
    --stmc-red-light: #EF5350;
    --stmc-red-bg: #FFF5F5;

    /* Neutrals */
    --stmc-white: #ffffff;
    --stmc-gray-50: #F9FAFB;
    --stmc-gray-100: #F3F4F6;
    --stmc-gray-200: #E5E7EB;
    --stmc-gray-300: #D1D5DB;
    --stmc-gray-400: #9CA3AF;
    --stmc-gray-500: #6B7280;
    --stmc-gray-600: #4B5563;
    --stmc-gray-700: #374151;
    --stmc-gray-800: #1F2937;
    --stmc-gray-900: #111827;

    /* Bootstrap overrides */
    --bs-primary: #C62828;
    --bs-primary-rgb: 198, 40, 40;
    --bs-link-color: #C62828;
    --bs-link-hover-color: #8B1A1A;

    /* Typography — Inter only */
    --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

    /* Spacing */
    --section-py: 4.5rem;
    --section-py-sm: 3rem;

    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-7: 32px;
    --space-8: 40px;
    --space-9: 48px;
    --space-10: 64px;

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);

    /* Radius — zerado a pedido do cliente (cantos quadrados) */
    --radius-sm: 0;
    --radius-md: 0;
    --radius-lg: 0;
    --radius-xl: 0;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 200ms ease;
}

/* ---------- Base ---------- */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--stmc-gray-800);
    background-color: var(--stmc-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-sans);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--stmc-gray-900);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 1.875rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

h5 {
    font-size: 1.0625rem;
}

h6 {
    font-size: 0.9375rem;
}

a {
    color: var(--stmc-red);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--stmc-red-dark);
}

p {
    margin-bottom: 1rem;
    color: var(--stmc-gray-600);
}

.editorial-copy {
    max-width: 72ch;
    line-height: 1.65;
    text-align: left;
    text-align-last: left;
    hyphens: auto;
    word-spacing: normal;
    text-wrap: pretty;
}

/* Refinamento tipográfico transversal sem alterar a escala existente. */
h1,
h2,
h3,
h4,
h5,
h6,
[class*="title"],
[class*="heading"] {
    text-wrap: balance;
}

p,
li,
label,
small,
blockquote,
[class*="subtitle"],
[class*="description"],
[class*="copy"] {
    text-wrap: pretty;
}

.beneficio-card .editorial-copy,
.review-text.editorial-copy {
    text-align: left;
}

/* O e-mail continua visualmente igual ao texto original, mas é acionável. */
.endereco-inline-link {
    color: inherit;
    text-decoration: none;
}

@media (max-width: 767.98px) {
    :root {
        --mobile-cookie-reservation: clamp(208px, 30dvh, 260px);
    }

    .mobile-shell .stmc-navbar {
        min-height: 68px;
    }

    .mobile-shell .stmc-navbar > .container {
        flex-wrap: nowrap;
    }

    .mobile-shell .stmc-navbar .navbar-brand {
        flex: 0 1 auto;
        min-width: 0;
    }

    .mobile-shell .mobile-header-actions {
        gap: 8px;
    }

    .mobile-shell .mobile-header-actions a {
        width: 48px;
        height: 48px;
    }

    /* A pesquisa permanece disponível no desktop; no mobile a ação não faz parte do cabeçalho. */
    .mobile-shell .stmc-navbar .desktop-navbar-search,
    .mobile-shell .stmc-navbar .mobile-navbar-search {
        display: none !important;
    }

    .mobile-shell .mobile-bottom-nav {
        min-height: var(--mobile-bottom-nav-height);
    }

    .mobile-shell .mobile-bottom-nav > a,
    .mobile-shell .mobile-bottom-nav > button {
        min-width: 48px;
        min-height: 48px;
    }

    .mobile-shell button,
    .mobile-shell .btn,
    .mobile-shell .section-link,
    .mobile-shell .endereco-btn,
    .mobile-shell .manchete-hero-cta,
    .mobile-shell .about-ghost-button,
    .mobile-shell .denuncia-strip-btn-primary,
    .mobile-shell .denuncia-strip-btn-ghost,
    .mobile-shell .cookie-consent-actions button {
        min-height: 48px;
    }

    .mobile-shell main > section:not(.manchete-hero):not(.denuncia-strip):not(.mobile-services) > .container {
        box-sizing: border-box;
        width: calc(100% - 40px);
        max-width: none;
        margin-inline: 20px;
        padding-inline: 0;
    }

    .mobile-content-page main > section {
        margin-block: 0;
    }

    .mobile-content-page main > section + section {
        margin-block-start: 48px;
    }

    .mobile-content-page main .row {
        --bs-gutter-x: 16px;
        --bs-gutter-y: 16px;
    }

    .mobile-content-page :is(
        .cct-hero-aside,
        .cct-pillar,
        .cct-form-card,
        .about-info-card,
        .about-service-card,
        .about-partner-card,
        .about-commitment
    ) {
        border-radius: 16px;
    }

    .mobile-content-page .about-stats > .container,
    .mobile-content-page .about-contact > .container {
        box-sizing: border-box;
        width: calc(100% - 40px);
        max-width: none;
        margin-inline: 20px;
        padding-inline: 0;
    }

    .mobile-shell .cookie-consent {
        box-sizing: border-box;
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        align-items: stretch;
        right: 20px;
        bottom: calc(var(--mobile-bottom-nav-height) + env(safe-area-inset-bottom) + 12px);
        left: 20px;
        width: auto;
        max-width: none;
        max-height: min(16.25rem, calc(100dvh - var(--mobile-bottom-nav-height) - env(safe-area-inset-bottom) - 1rem));
        margin: 0;
        padding: 12px;
        gap: 8px;
        overflow-y: auto;
        overscroll-behavior: contain;
        scrollbar-gutter: stable;
    }

    .mobile-shell .cookie-consent-copy p {
        display: block;
        max-height: none;
        overflow: visible;
        line-height: 1.4;
        line-clamp: unset;
        -webkit-line-clamp: unset;
        -webkit-box-orient: initial;
    }

    .mobile-shell .cookie-consent-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
        width: 100%;
        gap: 8px;
    }

    .mobile-shell .cookie-consent-actions button {
        width: 100%;
        min-width: 0;
        min-height: 48px;
    }

    .mobile-shell.has-cookie-consent .page-wrapper {
        box-sizing: border-box;
        height: auto;
        min-height: 100dvh;
        overflow-x: clip;
        overflow-y: visible;
        padding-bottom: var(--mobile-cookie-reservation);
    }

    .mobile-shell .page-wrapper > .whatsapp-float {
        position: static;
        width: 48px;
        height: 48px;
        margin: 16px 20px calc(var(--mobile-bottom-nav-height) + env(safe-area-inset-bottom) + 16px) auto;
        font-size: 1.5rem;
        animation: none;
    }
}

/* --------------------------------------------------------------------------
   Clube de Benefícios — composição desktop da referência visual.
   O bloco é deliberadamente isolado em min-width: 992px para preservar
   integralmente o shell, o carrossel e a densidade atuais do mobile.
-------------------------------------------------------------------------- */
.desktop-beneficios-breadcrumb {
    display: none;
}

@media (min-width: 992px) {
    body.mobile-shell main.home-page .desktop-home-redesign a,
    body.mobile-shell main.home-page .desktop-home-redesign button {
        transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
    }

    body.mobile-shell main.home-page .desktop-home-services-grid a:hover,
    body.mobile-shell main.home-page .desktop-home-news-card:hover,
    body.mobile-shell main.home-page .desktop-home-rail-card:hover {
        border-color: #f0a2a4;
        box-shadow: 0 7px 18px rgb(15 29 53 / 0.08);
    }

    body.mobile-shell main.home-page .desktop-home-redesign a:focus-visible,
    body.mobile-shell main.home-page .desktop-home-redesign button:focus-visible {
        outline: 3px solid #17213a;
        outline-offset: 3px;
    }

    body.mobile-shell main.home-page .desktop-home-primary:hover,
    body.mobile-shell main.home-page .desktop-home-rail-card--red > a:not(.desktop-home-rail-secondary):hover {
        background: var(--stmc-red-dark);
        border-color: var(--stmc-red-dark);
        box-shadow: 0 5px 12px rgb(198 40 40 / 0.2);
        transform: translateY(-1px);
    }

    body.mobile-shell main.home-page .desktop-home-primary:active,
    body.mobile-shell main.home-page .desktop-home-rail-card--red > a:not(.desktop-home-rail-secondary):active,
    body.mobile-shell main.home-page .desktop-home-services-grid a:active {
        transform: translateY(0);
    }
}

@media (min-width: 992px) and (prefers-reduced-motion: reduce) {
    body.mobile-shell main.home-page .desktop-home-redesign a,
    body.mobile-shell main.home-page .desktop-home-redesign button {
        transition: none;
    }

    body.mobile-shell main.home-page .desktop-home-primary:hover,
    body.mobile-shell main.home-page .desktop-home-rail-card--red > a:not(.desktop-home-rail-secondary):hover,
    body.mobile-shell main.home-page .desktop-home-services-grid a:active {
        transform: none;
    }
}

/* Cabeçalho mobile: composição estável sem interferir no desktop. */
@media (max-width: 767.98px) {
    body.mobile-shell .stmc-navbar {
        overflow-x: clip;
    }

    body.mobile-shell .stmc-navbar > .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        min-width: 0;
    }

    body.mobile-shell .stmc-navbar .navbar-brand {
        display: flex;
        align-items: center;
        flex: 1 1 auto;
        min-width: 0;
        margin-right: 0;
        overflow: hidden;
    }

    body.mobile-shell .mobile-header-actions {
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        gap: 6px;
        margin-left: auto;
        white-space: nowrap;
    }

    body.mobile-shell .mobile-header-actions a,
    body.mobile-shell .stmc-navbar .navbar-toggler {
        flex: 0 0 auto;
        min-width: 44px;
        min-height: 44px;
    }

    body.mobile-shell .stmc-navbar .navbar-toggler {
        width: 44px;
        height: 44px;
        margin-left: 0;
        cursor: pointer;
    }

    body.mobile-shell .mobile-header-actions a:hover,
    body.mobile-shell .stmc-navbar .navbar-toggler:hover {
        background: #eef1f5;
        border-color: #dfe4ea;
    }

    body.mobile-shell .mobile-header-actions a:focus-visible,
    body.mobile-shell .stmc-navbar .navbar-toggler:focus-visible {
        outline: 3px solid var(--stmc-red);
        outline-offset: 3px;
    }

    body.mobile-shell .stmc-navbar .navbar-toggler[aria-expanded="true"] {
        color: var(--stmc-red);
        background: #fff0f0;
        border-color: rgb(198 40 40 / 0.35);
        box-shadow: 0 0 0 2px rgb(198 40 40 / 0.08);
    }
}

@media (max-width: 359.98px) {
    body.mobile-shell .stmc-navbar {
        padding-right: 8px;
        padding-left: 8px;
    }
}

/* Serviços mobile consolidados em uma única grade, sem duplicar a seção longa. */
@media (max-width: 767.98px) {
    body.mobile-shell #servicos-sindicato {
        display: none;
    }

    body.mobile-shell .mobile-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    body.mobile-shell .mobile-services-grid > a {
        box-sizing: border-box;
        height: 100px;
        min-height: 100px;
        width: 100%;
        padding: 12px 8px;
        overflow: hidden;
    }

    @media (hover: hover) {
        body.mobile-shell .mobile-services-grid > a:hover {
            border-color: var(--stmc-red);
            background: #fff7f7;
        }
    }

    body.mobile-shell .mobile-services-grid > a:focus-visible {
        outline: 3px solid var(--stmc-red);
        outline-offset: 3px;
        border-color: var(--stmc-red);
    }

    body.mobile-shell .mobile-services-grid > a:active {
        border-color: var(--stmc-red);
        background: #fff7f7;
    }

    body.mobile-shell .mobile-services-grid strong {
        max-width: 100%;
        overflow-wrap: normal;
        word-break: normal;
        text-wrap: balance;
    }
}

/* Fluxo vertical mobile: o menu aberto ocupa seu próprio espaço. */
@media (max-width: 767.98px) {
    body.mobile-shell .stmc-navbar > .container {
        flex-wrap: wrap;
    }

    body.mobile-shell .stmc-navbar .navbar-collapse {
        position: static;
        inset: auto;
        flex: 0 0 100%;
        width: 100%;
        max-height: calc(100dvh - var(--mobile-bottom-nav-height) - env(safe-area-inset-bottom) - 4.25rem);
        overflow-y: auto;
    }

    body.mobile-shell .home-banner {
        margin-top: 0;
    }
}


/* ---------- Sections ---------- */
.section-block {
    padding: var(--section-py) 0;
}

.section-block-alt {
    padding: var(--section-py) 0;
    background-color: var(--stmc-gray-50);
}

.section-title {
    font-size: 1.125rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--stmc-gray-900);
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
    border-bottom: 3px solid var(--stmc-red);
    display: inline-block;
}

.section-link {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--stmc-red);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: gap var(--transition-fast), color var(--transition-fast);
}

.section-link:hover {
    color: var(--stmc-red-dark);
    gap: 0.5rem;
    text-decoration: none;
}

button.section-link {
    background: none;
    border: 0;
    padding: 0;
    font-family: inherit;
    cursor: pointer;
}

button.section-link:focus-visible {
    outline: 2px solid var(--stmc-gray-900);
    outline-offset: 2px;
}

/* ---------- Bootstrap Overrides ---------- */

/* Buttons */
.btn-primary {
    --bs-btn-bg: var(--stmc-red);
    --bs-btn-border-color: var(--stmc-red);
    --bs-btn-hover-bg: var(--stmc-red-dark);
    --bs-btn-hover-border-color: var(--stmc-red-dark);
    --bs-btn-active-bg: #7B1515;
    --bs-btn-active-border-color: #7B1515;
    --bs-btn-disabled-bg: var(--stmc-red);
    --bs-btn-disabled-border-color: var(--stmc-red);
    font-weight: 600;
    font-size: 0.775rem;
    border-radius: var(--radius-md);
}

.btn-outline-primary {
    --bs-btn-color: var(--stmc-red);
    --bs-btn-border-color: var(--stmc-red);
    --bs-btn-hover-bg: var(--stmc-red);
    --bs-btn-hover-border-color: var(--stmc-red);
    --bs-btn-active-bg: var(--stmc-red-dark);
    --bs-btn-active-border-color: var(--stmc-red-dark);
    font-weight: 600;
    border-radius: var(--radius-md);
}

/* Cards */
.card {
    border: 1px solid var(--stmc-gray-200);
    border-radius: var(--radius-lg);
    box-shadow: none;
    transition: box-shadow var(--transition-base);
    overflow: hidden;
}

.card:hover {
    box-shadow: var(--shadow-md);
}

.card-img-top {
    object-fit: cover;
}

.card-stmc .card-body {
    padding: 1.25rem;
}

.card-stmc .card-title {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.4;
    margin-bottom: 0.375rem;
}

.card-stmc .card-title a {
    color: var(--stmc-gray-900);
    transition: color var(--transition-fast);
}

.card-stmc .card-title a:hover {
    color: var(--stmc-red);
    text-decoration: none;
}

.card-stmc .card-text {
    font-size: 0.875rem;
    color: var(--stmc-gray-500);
    line-height: 1.6;
}

.card-stmc .card-date {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--stmc-gray-400);
    letter-spacing: 0.02em;
}

/* Text truncation utilities */
.text-truncate-2 {
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.text-truncate-3 {
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.text-truncate-4 {
    display: -webkit-box;
    line-clamp: 4;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Navbar override */
.navbar {
    box-shadow: var(--shadow-sm);
}

/* Badge */
.badge-stmc {
    background-color: var(--stmc-red);
    color: var(--stmc-white);
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 0.25em 0.6em;
    border-radius: var(--radius-sm);
}

/* ---------- Utility Classes ---------- */
.bg-stmc-red {
    background-color: var(--stmc-red) !important;
}

.bg-stmc-red-dark {
    background-color: var(--stmc-red-dark) !important;
}

.bg-stmc-gray-50 {
    background-color: var(--stmc-gray-50) !important;
}

.bg-stmc-gray-100 {
    background-color: var(--stmc-gray-100) !important;
}

.bg-stmc-gray-900 {
    background-color: var(--stmc-gray-900) !important;
}

.text-stmc-red {
    color: var(--stmc-red) !important;
}

.text-stmc-red-dark {
    color: var(--stmc-red-dark) !important;
}

.text-stmc-gray {
    color: var(--stmc-gray-500) !important;
}

/* ---------- Photo / Video Overlay ---------- */
.media-thumb {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.media-thumb img,
.media-thumb .placeholder-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.media-thumb:hover img,
.media-thumb:hover .placeholder-img {
    transform: scale(1.03);
}

.media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 50%, rgba(0, 0, 0, 0.75));
    display: flex;
    align-items: flex-end;
    padding: 1.25rem;
    color: var(--stmc-white);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.media-thumb:hover .media-overlay {
    opacity: 1;
}

.media-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: rgba(198, 40, 40, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.125rem;
    transition: background var(--transition-fast), transform var(--transition-fast);
    backdrop-filter: blur(4px);
}

.media-thumb:hover .media-play-icon {
    background: var(--stmc-red);
    transform: translate(-50%, -50%) scale(1.08);
}

/* ---------- Top Bar ---------- */
/* ---------- Home Banner Refinado ---------- */
.home-banner {
    background: #021a1e;
    background: radial-gradient(ellipse 90% 120% at 50% 50%, #073840 0%, #042227 60%, #021417 100%);
    overflow: hidden;
    margin: 0;
    padding: 0;
    line-height: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    border-bottom: 0;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.25), 0 2px 10px rgba(0, 0, 0, 0.05);
}

.home-banner::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    height: 6px;
    background: var(--stmc-red);
    pointer-events: none;
}

.home-banner picture {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.home-banner-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    line-height: 0;
}

.home-banner-link picture {
    display: flex;
    justify-content: center;
    width: 100%;
}

.home-banner-img {
    width: auto;
    max-width: 100%;
    height: clamp(180px, 20vw, 290px);
    max-height: 290px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.25));
    mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
}

.home-campaign-banner {
    background: linear-gradient(180deg, var(--stmc-white) 0%, #fef2f2 100%);
    padding: 2.5rem 0 0;
    line-height: 0;
}

.home-campaign-banner picture {
    display: block;
    width: 100%;
}

.home-campaign-banner-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: 0 10px 32px rgba(198, 40, 40, 0.12);
}

/* ---------- Topbar Affiliations ---------- */
.topbar-divider {
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.25);
}

.topbar-affiliations {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.topbar-affiliation {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    padding: 2px 6px;
    border-radius: 4px;
    opacity: 0.9;
    transition: opacity var(--transition-fast);
}

.topbar-affiliation:hover {
    opacity: 1;
}

.topbar-affiliation-logo {
    height: 22px;
    width: auto;
    object-fit: contain;
}

/* ---------- Top Institutional Bar ---------- */
.stmc-topbar {
    background-color: var(--stmc-gray-900);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.5rem 0;
}

.stmc-topbar a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
}

.stmc-topbar a:hover {
    color: var(--stmc-white);
    text-decoration: none;
}

.stmc-topbar .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.stmc-topbar .social-icon:hover {
    background: var(--stmc-red);
    color: var(--stmc-white);
}

/* ---------- Main Navbar ---------- */
.stmc-navbar {
    background-color: var(--stmc-white);
    box-shadow: var(--shadow-sm);
    border-bottom: none;
    padding: 0;
}

.stmc-navbar .navbar-brand {
    padding: 0.3rem 0;
    display: flex;
    align-items: center;
}

.stmc-navbar .navbar-brand img {
    height: 50px;
    width: auto;
    transition: transform var(--transition-fast);
    background: #fff;
}

.stmc-navbar .navbar-brand:hover img {
    transform: scale(1.02);
}

.stmc-navbar .nav-link {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--stmc-gray-700);
    padding: 1rem 0.75rem;
    transition: color var(--transition-fast);
    position: relative;
}

.stmc-navbar .nav-link:hover,
.stmc-navbar .nav-link:focus {
    color: var(--stmc-red);
}

.stmc-navbar .nav-link.active {
    color: var(--stmc-red);
    font-weight: 600;
}

.stmc-navbar .dropdown-menu {
    border: 1px solid var(--stmc-gray-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
    margin-top: 0.25rem;
    min-width: 220px;
}

.stmc-navbar .dropdown-item {
    font-size: 0.8125rem;
    font-weight: 500;
    padding: 0.5rem 0.875rem;
    color: var(--stmc-gray-600);
    border-radius: var(--radius-sm);
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.stmc-navbar .dropdown-item:hover,
.stmc-navbar .dropdown-item:focus {
    background-color: var(--stmc-gray-50);
    color: var(--stmc-gray-900);
}

.stmc-navbar .navbar-search .form-control {
    font-size: 0.8125rem;
    border-radius: 2rem;
    padding: 0.375rem 1rem;
    border-color: var(--stmc-gray-200);
    background-color: var(--stmc-gray-50);
}

.stmc-navbar .navbar-search .form-control:focus {
    border-color: var(--stmc-red);
    background-color: var(--stmc-white);
    box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.1);
}

.stmc-navbar .navbar-search .btn {
    border-radius: 0 2rem 2rem 0;
}

/* Highlight CTA button */
.stmc-navbar .nav-link-highlight {
    background-color: var(--stmc-red);
    color: var(--stmc-white) !important;
    border-radius: 2rem;
    margin: 0.625rem 0.25rem;
    padding: 0.4rem 1.125rem !important;
    font-weight: 600;
    font-size: 0.8125rem;
    transition: background-color var(--transition-fast);
}

.stmc-navbar .nav-link-highlight:hover {
    background-color: var(--stmc-red-dark);
    color: var(--stmc-white) !important;
}

/* ---------- Hero Carousel ---------- */
.hero-carousel {
    border-radius: 0;
    overflow: hidden;
    background: var(--stmc-gray-900);
}

.hero-carousel .carousel-item img {
    transition: none;
}

.hero-carousel .carousel-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid var(--stmc-white);
    background: transparent;
    opacity: 0.6;
    transition: all var(--transition-fast);
}

.hero-carousel .carousel-indicators .active {
    background: var(--stmc-white);
    opacity: 0.95;
    transform: scale(1.15);
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
    width: 40px;
    height: 40px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    opacity: 1;
    transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon {
    width: 15px;
    height: 15px;
    background-size: 15px 15px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.6));
}

.hero-carousel .carousel-control-prev {
    left: 0.875rem;
}

.hero-carousel .carousel-control-next {
    right: 0.875rem;
}

.hero-carousel .carousel-control-prev:hover,
.hero-carousel .carousel-control-next:hover {
    background: var(--stmc-red);
    border-color: rgba(255, 255, 255, 0.85);
}

.hero-carousel .carousel-control-prev:focus-visible,
.hero-carousel .carousel-control-next:focus-visible {
    outline: 2px solid var(--stmc-white);
    outline-offset: 2px;
    background: var(--stmc-red);
}

.hero-featured {
    position: relative;
    overflow: hidden;
    container-type: inline-size;
    aspect-ratio: 16 / 9;
}

.hero-featured>img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-featured .placeholder-img {
    width: 100%;
    height: 100%;
    min-height: 0;
}

.hero-featured-caption {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgb(0 0 0 / 0.08) 18%, rgb(0 0 0 / 0.22) 48%, rgb(0 0 0 / 0.88) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(1rem, 2.5cqi, 1.5rem);
    color: var(--stmc-white);
}

.hero-featured-label {
    width: fit-content;
    margin-bottom: 0.75rem;
    padding-bottom: 0.35rem;
    border-bottom: 2px solid var(--stmc-red-light);
    color: var(--stmc-white);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1;
    text-transform: uppercase;
}

.hero-featured-caption h2 {
    color: var(--stmc-white);
    max-width: 24ch;
    font-size: clamp(1.125rem, 3.6cqi, 1.625rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.12;
    margin: 0;
    text-shadow: 0 2px 4px rgb(0 0 0 / 0.9), 0 0 10px rgb(0 0 0 / 0.45);
}

.hero-featured-caption p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.875rem;
    margin-bottom: 0;
    line-height: 1.5;
}

.hero-mini {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--stmc-gray-100);
    transition: box-shadow var(--transition-base);
    display: flex;
    gap: 0;
    height: 116px;
    background: var(--stmc-white);
}

.hero-mini:hover {
    box-shadow: var(--shadow-sm);
}

.hero-mini-img {
    width: 140px;
    min-width: 140px;
    overflow: hidden;
}

.hero-mini-img img,
.hero-mini-img .placeholder-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 116px;
}

/* Capas de noticias seguem o formato vertical do feed do Instagram (4:5). */
.hero-mini-img.noticia-instagram-img {
    width: 92px;
    min-width: 92px;
    aspect-ratio: 4 / 5;
    background: var(--stmc-gray-100);
}

.hero-mini-img.noticia-instagram-img img {
    object-fit: cover;
}

.hero-mini-body {
    padding: 0.75rem 0.875rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.hero-mini-body .mini-date {
    font-size: 0.625rem;
    font-weight: 600;
    color: var(--stmc-gray-400);
}

.hero-mini-body h6 {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.4;
    margin: 0.25rem 0 0;
    color: var(--stmc-gray-900);
}

.hero-mini-body h6 a {
    color: inherit;
}

.hero-mini-body h6 a:hover {
    color: var(--stmc-red);
    text-decoration: none;
}

#informacao-categoria .noticias-layout {
    display: grid;
    grid-template-columns: minmax(0, 45fr) minmax(0, 48fr);
    align-items: start;
    gap: 1.5rem;
    margin: 0;
}

#informacao-categoria .noticias-layout>* {
    width: auto;
    min-width: 0;
    max-width: none;
    padding: 0;
}

#informacao-categoria .noticias-destaque-col {
    align-self: center;
}

@media (min-width: 992px) {
    /* No desktop, as manchetes ficam expostas de uma vez; o carrossel continua
       disponível apenas para telas menores, onde a troca horizontal funciona
       melhor. */
    #carouselSlides .carousel-inner {
        display: grid;
        grid-template-columns: minmax(0, 2fr) minmax(15rem, 1fr);
        grid-template-rows: repeat(2, minmax(0, 1fr));
        gap: 0.5rem;
        min-height: 21rem;
        background: transparent;
    }

    #carouselSlides .carousel-item,
    #carouselSlides .carousel-item.active {
        display: block;
        grid-column: 2;
        position: relative;
        transform: none;
        transition: none;
    }

    #carouselSlides .carousel-item:first-child {
        grid-column: 1;
        grid-row: 1 / 3;
    }

    #carouselSlides .carousel-item:first-child .hero-featured {
        height: 100%;
        aspect-ratio: auto;
    }

    #carouselSlides .carousel-item:not(:first-child) .hero-featured {
        height: 100%;
        aspect-ratio: auto;
    }

    #carouselSlides .carousel-item:not(:first-child) .hero-featured-caption h2 {
        font-size: 1rem;
    }

    .noticia-apoio {
        padding-block: 0.5rem;
    }

    .noticias-apoio {
        transform: translateY(-0.65rem);
    }

    #carouselSlides .carousel-indicators,
    #carouselSlides .carousel-control-prev,
    #carouselSlides .carousel-control-next {
        display: none;
    }
}

.noticias-apoio {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
    border-top: 1px solid var(--stmc-gray-200);
}

.noticias-apoio-heading {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--stmc-gray-300);
    color: var(--stmc-gray-600);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.2;
    text-transform: uppercase;
}

.noticias-apoio-heading::before {
    width: 1.25rem;
    height: 2px;
    background: var(--stmc-red);
    content: "";
}

.noticias-apoio-atualizar {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: auto;
    padding: 0.25rem 0.4rem;
    border: 0;
    background: transparent;
    color: var(--stmc-gray-600);
    font: inherit;
    letter-spacing: inherit;
    text-transform: uppercase;
    cursor: pointer;
}

.noticias-apoio-atualizar span {
    font-size: 0.625rem;
    font-weight: 700;
}

.noticias-apoio-atualizar:hover,
.noticias-apoio-atualizar:focus-visible {
    color: var(--stmc-red);
}

.noticias-apoio-atualizar:focus-visible {
    outline: 2px solid var(--stmc-red);
    outline-offset: 2px;
}

.noticias-apoio-atualizar:disabled {
    cursor: wait;
    opacity: 0.65;
}

.noticias-apoio-atualizar.is-loading i {
    animation: noticias-apoio-girar 0.8s linear infinite;
}

@keyframes noticias-apoio-girar {
    to { transform: rotate(360deg); }
}

.noticia-apoio {
    display: grid;
    flex: 1 1 0;
    grid-template-columns: 2rem minmax(0, 1fr);
    align-items: center;
    gap: 0.75rem;
    min-height: 0;
    padding: 0.75rem 0.25rem;
    border-bottom: 1px solid var(--stmc-gray-200);
    color: inherit;
    text-decoration: none;
    transition: background-color var(--transition-fast), padding var(--transition-fast);
}

.noticia-apoio:hover {
    padding-inline: 0.65rem;
    background: var(--stmc-gray-50);
    color: inherit;
}

.noticia-apoio:focus-visible {
    outline: 2px solid var(--stmc-red);
    outline-offset: -2px;
}

.noticia-apoio-index {
    align-self: start;
    padding-top: 0.2rem;
    color: var(--stmc-red);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    font-variant-numeric: tabular-nums;
}

.noticia-apoio-body {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
}

.noticia-apoio-meta {
    color: var(--stmc-gray-600);
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1.4;
    text-transform: uppercase;
}

.noticia-apoio-title {
    margin-top: 0.3rem;
    color: var(--stmc-gray-900);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.35;
    transition: color var(--transition-fast);
}

.noticia-apoio:hover .noticia-apoio-title {
    color: var(--stmc-red-dark);
}

.noticia-apoio-action {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.4rem;
    color: var(--stmc-red);
    font-size: 0.6875rem;
    font-weight: 700;
}

.noticia-apoio-action i {
    transition: transform var(--transition-fast);
}

.noticia-apoio:hover .noticia-apoio-action i {
    transform: translateX(3px);
}

.noticia-apoio-skeleton {
    display: grid;
    flex: 1 1 0;
    grid-template-columns: 2rem minmax(0, 1fr);
    align-items: center;
    gap: 0.75rem;
    min-height: 6rem;
    padding: 0.75rem 0.25rem;
    border-bottom: 1px solid var(--stmc-gray-200);
}

.noticia-apoio-skeleton-index {
    width: 1.1rem;
    height: 0.75rem;
}

.noticia-apoio-skeleton-copy {
    display: grid;
    gap: 0.55rem;
    min-width: 0;
}

.noticias-apoio-status {
    margin: 1rem 0;
    color: var(--stmc-gray-600);
    font-size: 0.875rem;
}

.noticias-apoio-status.is-error {
    color: var(--stmc-red-dark);
}

.noticias-apoio-retry {
    align-self: flex-start;
}

/* ---------- Alert / Manchete bar ---------- */
.stmc-alert-bar {
    background: linear-gradient(135deg, #8b0000 0%, var(--stmc-red) 50%, #ff2d2d 100%);
    color: var(--stmc-white);
    font-size: 1.05rem;
    font-weight: 600;
    padding: 1rem 0;
    animation: slideDown 0.5s ease-out;
    box-shadow: 0 4px 16px rgba(196, 18, 48, 0.4);
    position: relative;
    z-index: 10;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ---------- Manchete Hero ---------- */
.manchete-hero {
    background: var(--stmc-white);
    border-bottom: 1px solid var(--stmc-gray-200);
}

.manchete-hero-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-block: clamp(0.75rem, 1.25vi, 1.1rem);
    padding: 0.75rem;
    text-align: center;
}

.manchete-hero-kicker {
    margin-bottom: 0.4rem;
    color: var(--stmc-red);
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 1.2;
    text-transform: uppercase;
}

.manchete-hero-title {
    color: var(--stmc-gray-900);
    max-width: 40ch;
    font-size: clamp(1.25rem, 1.4vi, 1.625rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.15;
    margin: 0;
}

.manchete-hero-subtitle {
    color: var(--stmc-gray-600);
    max-width: 72ch;
    margin: 0.5rem 0 0.75rem;
    font-size: 0.875rem;
    line-height: 1.55;
}

.manchete-hero-subtitle-mobile {
    display: none;
}

.manchete-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8125rem;
    color: var(--stmc-red);
    transition: gap var(--transition-fast), color var(--transition-fast);
}

.manchete-hero-cta:hover {
    gap: 0.65rem;
    color: var(--stmc-red-dark);
}

.manchete-hero-cta:focus-visible {
    outline: 2px solid var(--stmc-red);
    outline-offset: 4px;
}

.badge-manchete {
    background: var(--stmc-white);
    color: var(--stmc-red);
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    animation: badgePulse 1.5s ease-in-out infinite;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.35);
}

@keyframes badgePulse {

    0%,
    100% {
        box-shadow: 0 0 12px rgba(255, 255, 255, 0.35);
    }

    50% {
        box-shadow: 0 0 24px rgba(255, 255, 255, 0.6);
    }
}

.stmc-alert-bar .manchete-titulo {
    font-weight: 700;
    letter-spacing: -0.01em;
}

.stmc-alert-bar i {
    opacity: 0.9;
}

.stmc-alert-bar a {
    color: var(--stmc-white);
    text-decoration: none;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.3rem 0.9rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all var(--transition-fast);
    font-size: 0.875rem;
}

.stmc-alert-bar a:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

/* ---------- Footer ---------- */
.stmc-footer {
    background-color: var(--stmc-gray-900);
    color: var(--stmc-gray-400);
    font-size: 0.8125rem;
    position: relative;
    z-index: 1;
    clear: both;
    overflow: hidden;
}

.stmc-footer > .container:first-child {
    padding-block: clamp(2.25rem, 4vw, 3.5rem) 0;
}

.stmc-footer > .container:first-child > .row {
    row-gap: clamp(1.75rem, 3vw, 2.75rem) !important;
    margin-inline: 0;
}

.stmc-footer > .container:first-child [class*="col-"] {
    min-width: 0;
}

.stmc-footer ul {
    margin: 0;
    padding: 0;
}

.stmc-footer p {
    color: var(--stmc-gray-300);
}

.stmc-footer h6 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--stmc-white);
    margin-bottom: 1rem;
    padding-bottom: 0.625rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stmc-footer h6 .footer-city {
    text-transform: none;
    font-size: inherit !important;
}

.stmc-footer h6.footer-brand {
    text-transform: none;
}

.stmc-footer a {
    color: var(--stmc-gray-400);
    font-size: 0.8125rem;
    transition: color var(--transition-fast);
}

.stmc-footer a:hover {
    color: var(--stmc-white);
    text-decoration: none;
}

.stmc-footer a:focus-visible,
.stmc-footer-bottom a:focus-visible {
    outline: 2px solid var(--stmc-red);
    outline-offset: 3px;
    border-radius: 2px;
}

.stmc-footer-bottom {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 1.25rem 0 1.5rem;
    margin-top: clamp(2rem, 4vw, 3rem);
    font-size: 0.75rem;
    color: var(--stmc-gray-300);
}

.stmc-footer-bottom .container {
    min-width: 0;
}

.stmc-footer-bottom a {
    color: var(--stmc-gray-400);
}

.stmc-footer-bottom a:hover {
    color: var(--stmc-white);
}

.stmc-footer-bottom .footer-lgpd-link {
    color: var(--stmc-gray-300);
}

.stmc-footer-bottom .footer-lgpd-link:hover {
    color: var(--stmc-white);
}

.stmc-footer-bottom .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--stmc-gray-400);
    font-size: 0.875rem;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.stmc-footer-bottom .social-icon:hover {
    background: var(--stmc-red);
    color: var(--stmc-white);
}

.home-footer-bottom {
    margin-top: 2rem;
}

.home-footer-bottom-inner {
    display: grid;
    justify-items: center;
    gap: 0.75rem;
    text-align: center;
}

.home-footer-contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem clamp(1rem, 2.5vi, 2rem);
    margin: 0;
    font-style: normal;
}

.home-footer-contact > span,
.home-footer-contact > a {
    max-width: 100%;
    overflow-wrap: anywhere;
}

@media (max-width: 767.98px) {
    .stmc-footer > .container:first-child {
        padding-inline: 1.25rem;
    }

    .stmc-footer h6 {
        margin-bottom: 0.75rem;
    }

    .stmc-footer li {
        margin-bottom: 0.65rem !important;
    }

    .stmc-footer-bottom {
        margin-top: 2rem;
        padding-inline: 1.25rem;
    }

    .stmc-footer-bottom .container {
        padding-inline: 0;
    }
}

.home-footer-contact>span,
.home-footer-contact>a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.home-footer-contact>a {
    min-height: 2.75rem; /* 44px WCAG 2.5.8 mobile touch target */
    padding: 0.35rem 0.5rem;
    margin: -0.35rem 0;
}

.footer-lgpd-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 2.75rem; /* 44px touch target */
    padding: 0.35rem 0.5rem;
}

.home-footer-contact>a {
    color: var(--stmc-gray-300);
    text-decoration: none;
}

.home-footer-contact>a:hover,
.home-footer-contact>a:focus-visible {
    color: var(--stmc-white);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.home-footer-legal {
    display: grid;
    justify-items: center;
    gap: 0.4rem;
    max-width: 75ch;
    text-wrap: pretty;
}

.whatsapp-float {
    position: fixed;
    z-index: 1040;
    right: max(1rem, env(safe-area-inset-right));
    bottom: calc(max(1rem, env(safe-area-inset-bottom)) + 4rem);
    display: grid;
    width: 3.5rem;
    height: 3.5rem;
    place-items: center;
    color: #fff;
    background: #128c4a;
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0.25rem 0.9rem rgb(0 0 0 / 0.24);
    font-size: 1.75rem;
    text-decoration: none;
    animation: whatsapp-float-pulse 2.4s ease-out infinite;
    transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.whatsapp-float:hover {
    color: #fff;
    background: #0d783e;
    transform: translateY(-2px);
}

.whatsapp-float:focus-visible {
    outline: 3px solid var(--stmc-gray-900);
    outline-offset: 3px;
}

.cookie-consent {
    position: fixed;
    z-index: 1040;
    right: clamp(1rem, 3vi, 2rem);
    bottom: max(1rem, env(safe-area-inset-bottom));
    left: clamp(1rem, 3vi, 2rem);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem 1.5rem;
    width: min(100% - 2rem, 56rem);
    margin-inline: auto;
    padding: clamp(1rem, 2.2vi, 1.5rem);
    color: var(--stmc-gray-800);
    background: var(--stmc-white);
    border: 1px solid var(--stmc-gray-200);
    border-top: 4px solid var(--stmc-red);
    box-shadow: 0 0.75rem 2rem rgb(17 24 39 / 0.2);
}

.cookie-consent-copy h2 {
    margin: 0 0 0.35rem;
    color: var(--stmc-gray-900);
    font-size: 0.9375rem;
    font-weight: 800;
}

.cookie-consent-copy p {
    max-width: 68ch;
    margin: 0;
    color: var(--stmc-gray-600);
    font-size: 0.8125rem;
    line-height: 1.55;
}

.cookie-consent-copy a {
    color: var(--stmc-red-dark);
    font-weight: 700;
    text-underline-offset: 0.15em;
}

.cookie-consent-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.5rem;
}

.cookie-consent-actions button {
    min-height: 2.75rem;
    padding: 0.55rem 0.9rem;
    border: 1px solid var(--stmc-red);
    border-radius: 2px;
    font: inherit;
    font-size: 0.8125rem;
    font-weight: 700;
    cursor: pointer;
}

.cookie-consent-accept {
    color: var(--stmc-white);
    background: var(--stmc-red);
}

.cookie-consent-accept:hover {
    background: var(--stmc-red-dark);
}

.cookie-consent-reject {
    color: var(--stmc-red-dark);
    background: var(--stmc-white);
}

.cookie-consent-reject:hover {
    background: var(--stmc-red-bg);
}

.cookie-consent-actions button:focus-visible,
.cookie-consent-copy a:focus-visible {
    outline: 3px solid var(--stmc-gray-900);
    outline-offset: 3px;
}

.cookie-consent-error {
    grid-column: 1 / -1;
    margin: 0;
    color: #8b1a1a;
    font-size: 0.8125rem;
    font-weight: 600;
}

.cookie-consent-error[hidden] {
    display: none;
}

@keyframes whatsapp-float-pulse {

    0%,
    100% {
        box-shadow: 0 0.25rem 0.9rem rgb(0 0 0 / 0.24), 0 0 0 0 rgb(18 140 74 / 0.3);
    }

    55% {
        box-shadow: 0 0.25rem 0.9rem rgb(0 0 0 / 0.24), 0 0 0 0.65rem rgb(18 140 74 / 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .whatsapp-float {
        animation: none;
        transition: none;
    }
}

@media (max-width: 42rem) {
    .cookie-consent {
        right: 1rem;
        bottom: calc(5rem + env(safe-area-inset-bottom));
        left: 1rem;
        grid-template-columns: minmax(0, 1fr);
        gap: 0.85rem;
        width: auto;
        padding: 1rem;
    }

    .cookie-consent-actions {
        justify-content: stretch;
    }

    .cookie-consent-actions button {
        flex: 1 1 7rem;
    }
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(198, 40, 40, 0.35);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(198, 40, 40, 0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.site-skeleton {
    display: block;
    background: linear-gradient(90deg, var(--stmc-gray-100) 25%, var(--stmc-gray-200) 50%, var(--stmc-gray-100) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s ease-in-out infinite;
    border-radius: var(--radius-sm);
}

.site-skeleton-line {
    width: 72%;
    min-height: 0.8rem;
}

.site-skeleton-line.is-larga {
    width: 88%;
}

.site-skeleton-meta {
    width: 52%;
}

.site-skeleton-row td {
    padding-block: 0.9rem;
}

.site-skeleton-list-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) minmax(4rem, 7rem);
    align-items: center;
    gap: 0.875rem;
    min-height: 4.5rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--stmc-gray-100);
}

.site-skeleton-dot {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
}

.site-skeleton-list-content {
    display: grid;
    gap: 0.55rem;
    min-width: 0;
}

.site-loading-spinner {
    display: inline-block;
    flex: 0 0 auto;
    width: 0.95em;
    height: 0.95em;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: site-loading-spin 0.7s linear infinite;
}

.site-is-loading::before {
    content: "";
    display: inline-block;
    width: 0.9em;
    height: 0.9em;
    margin-inline-end: 0.5em;
    vertical-align: -0.08em;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: site-loading-spin 0.7s linear infinite;
}

@keyframes site-loading-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-skeleton {
        animation: none;
        background: var(--stmc-gray-100);
    }

    .site-loading-spinner,
    .site-is-loading::before {
        animation: none;
        border-right-color: currentColor;
        opacity: 0.7;
    }
}

/* ---------- Section entrance ---------- */
.section-block,
.section-block-alt {
    animation: fadeInUp 0.45s ease-out both;
}

/* ---------- Card hover lift ---------- */
.card-stmc {
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.card-stmc:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* ---------- Card highlight (Palavra da Diretoria) ---------- */
.card-highlight {
    border-left: 4px solid var(--stmc-red);
}

/* ---------- Card boletim destaque ---------- */
.card-boletim-destaque {
    border: none;
    overflow: hidden;
    background: linear-gradient(135deg, var(--stmc-white) 0%, #fef2f2 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    border-left: 4px solid var(--stmc-red);
}

.card-boletim-destaque:hover {
    box-shadow: 0 8px 30px rgba(198, 40, 40, 0.12);
    transform: translateY(-2px);
}

.boletim-destaque-layout {
    display: flex;
    gap: 0;
    align-items: stretch;
}

.boletim-destaque-capa {
    flex-shrink: 0;
    width: 300px;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.boletim-destaque-capa img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: 0.5rem;
}

.boletim-destaque-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--stmc-red) 0%, var(--stmc-red-dark) 100%);
    color: var(--stmc-white);
    font-size: 3rem;
}

.boletim-destaque-info {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-date-badge {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--stmc-white);
    background: var(--stmc-red);
    padding: 0.2rem 0.65rem;
    border-radius: 2rem;
    letter-spacing: 0.03em;
}

@media (max-width: 575.98px) {
    .boletim-destaque-layout {
        flex-direction: column;
    }

    .boletim-destaque-capa {
        width: 100%;
        max-height: 280px;
    }
}

/* ---------- Newsletter card ---------- */
.card-newsletter {
    background: linear-gradient(135deg, var(--stmc-gray-900) 0%, #2d3748 100%);
    border: none;
    color: var(--stmc-white);
}

.card-newsletter .card-body h5 {
    color: var(--stmc-white);
}

.card-newsletter .card-body p {
    color: rgba(255, 255, 255, 0.7);
}

.card-newsletter .form-control {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--stmc-white);
}

.card-newsletter .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.card-newsletter .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--stmc-red-light);
    color: var(--stmc-white);
    box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.2);
}

/* ---------- Date badge ---------- */
.card-date-badge {
    background: linear-gradient(135deg, var(--stmc-red), var(--stmc-red-light));
    color: var(--stmc-white);
    padding: 0.15rem 0.6rem;
    border-radius: var(--radius-sm);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* ---------- Agenda date circle ---------- */
.agenda-date {
    background: linear-gradient(135deg, var(--stmc-red), #E53935);
    color: var(--stmc-white);
    border-radius: var(--radius-lg);
    min-width: 70px;
    text-align: center;
    padding: 0.625rem 0.5rem;
}

/* ---------- Agenda Home Destaque ---------- */
.agenda-home-card {
    border: 0;
    border-top: 1px solid var(--stmc-gray-200);
    border-bottom: 1px solid var(--stmc-gray-200);
    background: var(--stmc-white);
    overflow: hidden;
    position: relative;
}

.agenda-section {
    background-color: #fdf1f1;
    border-block: 1px solid #f0dddd;
}

.agenda-home-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 2px;
    height: 2.5rem;
    background: var(--stmc-red);
}

.agenda-home-card:hover {
    background: var(--stmc-gray-50);
}

.agenda-home-date {
    background: linear-gradient(135deg, var(--stmc-red), #E53935);
    color: var(--stmc-white);
    border-radius: var(--radius-lg);
    min-width: 80px;
    text-align: center;
    padding: 0.875rem 0.75rem;
}

.agenda-home-date .agenda-day {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1;
}

.agenda-home-date .agenda-month {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    opacity: 0.9;
    letter-spacing: 0.05em;
}

.agenda-home-info h5 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--stmc-gray-900);
    margin-bottom: 0.5rem;
    line-height: 1.35;
}

.agenda-home-info p {
    font-size: 0.8125rem;
    color: var(--stmc-gray-600);
    line-height: 1.5;
    margin-bottom: 0;
}

.agenda-home-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    padding: 0 0 1rem;
    border-bottom: 1px solid var(--stmc-gray-300);
}

.agenda-home-header h2 {
    color: var(--stmc-gray-900);
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0 0 0.2rem;
}

.agenda-home-header p {
    color: var(--stmc-gray-500);
    font-size: 0.875rem;
    margin-bottom: 0;
}

.agenda-home-header-copy {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.agenda-home-heading-icon {
    display: grid;
    width: 2.5rem;
    height: 2.5rem;
    flex: 0 0 2.5rem;
    place-items: center;
    border-left: 2px solid var(--stmc-red);
    background: var(--stmc-red-bg);
    color: var(--stmc-red);
    font-size: 1.2rem;
}

.agenda-home-card-body {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    min-height: 8rem;
    padding: clamp(1rem, 1.8vi, 1.5rem) clamp(1rem, 2vi, 1.75rem) !important;
}

.agenda-home-info {
    flex: 1 1 auto;
    min-width: 0;
}

.agenda-home-info h5 {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.35;
}

.agenda-home-icon {
    display: grid;
    width: 2.75rem;
    height: 2.75rem;
    flex: 0 0 2.75rem;
    place-items: center;
    margin: 0;
    background: var(--stmc-red-bg);
    color: var(--stmc-red);
    font-size: 1.5rem;
}

.agenda-home-thumb {
    width: clamp(5rem, 9vi, 6.875rem);
    height: clamp(4rem, 6.7vi, 5.125rem);
    flex: 0 0 auto;
    object-fit: cover;
    border: 0;
}

.agenda-section .agenda-destaque::before {
    width: 3px;
    height: 100%;
    top: 0;
}

.agenda-section .agenda-destaque {
    border-left: 0;
}

/* ---------- Separator ---------- */
.section-separator {
    height: 4px;
    border: none;
    margin: 0;
    background: linear-gradient(90deg, var(--stmc-red), var(--stmc-red-light), var(--stmc-gray-200));
}

/* ---------- Sponsors / Parceiros ---------- */
.section-parceiros {
    background: linear-gradient(180deg, var(--stmc-white) 0%, var(--stmc-red-bg) 100%);
}

.sponsor-item {
    background: var(--stmc-white);
    border: 1px solid var(--stmc-gray-200);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1rem;
    text-align: center;
    min-height: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.sponsor-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--stmc-red-light);
}

.sponsor-item img {
    max-height: 70px;
    max-width: 100%;
    object-fit: contain;
}

/* ---------- Card link wrapper (clickable cards) ---------- */
.card-link-wrapper {
    display: block;
    text-decoration: none;
    color: inherit;
}

.card-link-wrapper:hover {
    text-decoration: none;
    color: inherit;
}

.card-link-wrapper .card-title {
    color: var(--stmc-gray-900);
    transition: color var(--transition-fast);
}

.card-link-wrapper:hover .card-title {
    color: var(--stmc-red);
}

/* ---------- Empresas Conveniadas ---------- */
.section-convenios {
    background: linear-gradient(180deg, var(--stmc-gray-50) 0%, var(--stmc-white) 100%);
}

.convenio-card {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--stmc-white);
    border: 1px solid var(--stmc-gray-200);
    border-radius: var(--radius-xl);
    padding: 1.25rem;
    height: 120px;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-xs);
}

.convenio-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--stmc-red-light);
}

.convenio-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(20%);
    transition: filter var(--transition-base);
}

.convenio-card:hover img {
    filter: grayscale(0%);
}

/* ---------- Lightbox ---------- */
.lightbox-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    animation: fadeIn 0.2s ease;
    cursor: pointer;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    z-index: 10000;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: default;
    animation: lightboxZoom 0.25s ease;
}

@keyframes lightboxZoom {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 0;
}

/* ==========================================================================
   ARTIGO / NOTÍCIA DETALHE
   ========================================================================== */

/* ---------- Breadcrumb ---------- */
.artigo-detalhe-breadcrumb {
    background: var(--stmc-gray-50);
    border-bottom: 1px solid var(--stmc-gray-200);
    padding: 0.875rem 0;
}

.artigo-detalhe-breadcrumb .breadcrumb {
    font-size: 0.8125rem;
    font-weight: 500;
}

.artigo-detalhe-breadcrumb .breadcrumb-item a {
    color: var(--stmc-gray-500);
    transition: color var(--transition-fast);
}

.artigo-detalhe-breadcrumb .breadcrumb-item a:hover {
    color: var(--stmc-red);
}

.artigo-detalhe-breadcrumb .breadcrumb-item.active {
    color: var(--stmc-gray-700);
    font-weight: 600;
}

.artigo-detalhe-breadcrumb .breadcrumb-item+.breadcrumb-item::before {
    color: var(--stmc-gray-300);
}

/* ---------- Article Container ---------- */
.artigo-detalhe {
    padding: 2.5rem 0 4rem;
    animation: fadeInUp 0.45s ease-out both;
}

/* ---------- Header ---------- */
.artigo-detalhe-header {
    margin-bottom: 2rem;
}

.artigo-detalhe-meta-top {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.artigo-detalhe-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--stmc-red), var(--stmc-red-light));
    color: var(--stmc-white);
    padding: 0.25rem 0.875rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.artigo-detalhe-badge--artigo {
    background: linear-gradient(135deg, #1565C0, #42A5F5);
}

.artigo-detalhe-date {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--stmc-gray-500);
    display: inline-flex;
    align-items: center;
}

.artigo-detalhe-titulo {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: var(--stmc-gray-900);
    margin-bottom: 0.75rem;
}

.artigo-detalhe-resumo {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--stmc-gray-600);
    border-left: 4px solid var(--stmc-red);
    padding-left: 1.25rem;
    margin-bottom: 1rem;
    font-style: italic;
}

.artigo-detalhe-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.8125rem;
    color: var(--stmc-gray-500);
}

.artigo-detalhe-fonte,
.artigo-detalhe-leituras {
    display: inline-flex;
    align-items: center;
}

/* ---------- Author (Articulista) ---------- */
.artigo-detalhe-autor {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    margin-top: 1.25rem;
    padding: 1rem 1.25rem;
    background: var(--stmc-gray-50);
    border-radius: var(--radius-lg);
    border: 1px solid var(--stmc-gray-200);
}

.artigo-detalhe-autor-foto {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--stmc-gray-200);
    flex-shrink: 0;
}

.artigo-detalhe-autor-placeholder {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--stmc-gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--stmc-gray-400);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.artigo-detalhe-autor-nome {
    font-weight: 700;
    font-size: 0.9375rem;
    color: var(--stmc-gray-900);
    display: block;
}

.artigo-detalhe-autor-desc {
    font-size: 0.8125rem;
    color: var(--stmc-gray-500);
    display: block;
    line-height: 1.4;
}

/* ---------- Featured Image ---------- */
.artigo-detalhe-img {
    margin: 0 0 2rem;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--stmc-gray-50);
}

.artigo-detalhe-img img {
    width: auto;
    max-width: 100%;
    height: auto;
    display: block;
    max-height: min(70vh, 700px);
    object-fit: contain;
    margin-inline: auto;
}

.artigo-detalhe-img figcaption {
    background: var(--stmc-gray-50);
    padding: 0.75rem 1rem;
    font-size: 0.8125rem;
    color: var(--stmc-gray-500);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.artigo-detalhe-creditos {
    font-style: italic;
    color: var(--stmc-gray-400);
}

/* ---------- Article Body ---------- */
.artigo-detalhe-corpo {
    font-size: 1.0625rem;
    line-height: 1.85;
    color: var(--stmc-gray-700);
    margin-bottom: 2rem;
}

.artigo-detalhe-corpo p {
    margin-bottom: 1.25rem;
    color: var(--stmc-gray-700);
}

.artigo-detalhe-corpo h2,
.artigo-detalhe-corpo h3,
.artigo-detalhe-corpo h4 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.artigo-detalhe-corpo img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin: 1.5rem 0;
}

.artigo-detalhe-corpo blockquote {
    border-left: 4px solid var(--stmc-red);
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    background: var(--stmc-red-bg);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    color: var(--stmc-gray-600);
}

.artigo-detalhe-corpo a {
    color: var(--stmc-red);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.artigo-detalhe-corpo a:hover {
    color: var(--stmc-red-dark);
}

.artigo-detalhe-corpo ul,
.artigo-detalhe-corpo ol {
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
}

.artigo-detalhe-corpo li {
    margin-bottom: 0.5rem;
}

.artigo-detalhe-corpo table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.9375rem;
}

.artigo-detalhe-corpo table th,
.artigo-detalhe-corpo table td {
    border: 1px solid var(--stmc-gray-200);
    padding: 0.625rem 0.875rem;
}

.artigo-detalhe-corpo table th {
    background: var(--stmc-gray-50);
    font-weight: 700;
}

.artigo-detalhe-corpo iframe {
    max-width: 100%;
    border-radius: var(--radius-md);
    margin: 1.5rem 0;
}

/* ---------- Tags ---------- */
.artigo-detalhe-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 1.25rem 0;
    margin-bottom: 1.5rem;
    border-top: 1px solid var(--stmc-gray-200);
    border-bottom: 1px solid var(--stmc-gray-200);
    font-size: 0.8125rem;
    color: var(--stmc-gray-500);
}

.artigo-detalhe-tag {
    background: var(--stmc-gray-100);
    color: var(--stmc-gray-700);
    padding: 0.2rem 0.7rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.artigo-detalhe-tag:hover {
    background: var(--stmc-red-bg);
    color: var(--stmc-red);
}

/* ---------- Photo Gallery ---------- */
.artigo-detalhe-galeria {
    margin-bottom: 2rem;
}

.artigo-detalhe-galeria h3 {
    font-size: 1.125rem;
    font-weight: 800;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--stmc-red);
    display: inline-block;
}

.artigo-detalhe-galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.75rem;
}

.artigo-detalhe-galeria-item {
    margin: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.artigo-detalhe-galeria-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.artigo-detalhe-galeria-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.artigo-detalhe-galeria-item figcaption {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
    color: var(--stmc-gray-500);
    background: var(--stmc-gray-50);
}

/* ---------- Share Buttons ---------- */
.artigo-detalhe-share {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1.5rem 0;
    margin-bottom: 1rem;
}

.artigo-detalhe-share-label {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--stmc-gray-700);
    display: inline-flex;
    align-items: center;
}

.artigo-detalhe-share-buttons {
    display: flex;
    gap: 0.625rem;
    flex-wrap: wrap;
}

.artigo-detalhe-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.125rem;
    border-radius: 2rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--stmc-white);
    text-decoration: none;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.artigo-detalhe-share-btn:hover {
    color: var(--stmc-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.artigo-detalhe-share-btn svg {
    flex-shrink: 0;
}

.share-facebook {
    background: #1877F2;
}

.share-facebook:hover {
    background: #0d65d9;
}

.share-twitter {
    background: #000000;
}

.share-twitter:hover {
    background: #333333;
}

.share-whatsapp {
    background: #25D366;
}

.share-whatsapp:hover {
    background: #1fb855;
}

.share-telegram {
    background: #0088CC;
}

.share-telegram:hover {
    background: #006da3;
}

.share-linkedin {
    background: #0A66C2;
}

.share-linkedin:hover {
    background: #084d94;
}

.share-copy {
    background: var(--stmc-gray-600);
    border: none;
    cursor: pointer;
}

.share-copy:hover {
    background: var(--stmc-gray-700);
}

.share-copy--copied {
    background: #16a34a !important;
}

.share-native {
    background: var(--stmc-red);
    border: none;
    cursor: pointer;
}

.share-native:hover {
    background: var(--stmc-red-dark);
}

/* ---------- Sidebar ---------- */
.artigo-detalhe-sidebar {
    position: sticky;
    top: 5.5rem;
    background: var(--stmc-white);
    border: 1px solid var(--stmc-gray-200);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.artigo-detalhe-sidebar-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--stmc-gray-900);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--stmc-red);
}

.artigo-detalhe-sidebar-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--stmc-gray-100);
    text-decoration: none;
    color: inherit;
    transition: background var(--transition-fast);
}

.artigo-detalhe-sidebar-item:last-child {
    border-bottom: none;
}

.artigo-detalhe-sidebar-item:hover {
    color: inherit;
}

.artigo-detalhe-sidebar-item:hover h6 {
    color: var(--stmc-red);
}

.artigo-detalhe-sidebar-img {
    width: 72px;
    min-width: 72px;
    height: 54px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
}

.artigo-detalhe-sidebar-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.artigo-detalhe-sidebar-placeholder {
    width: 100%;
    height: 100%;
    background: var(--stmc-gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--stmc-gray-300);
    font-size: 1.25rem;
}

.artigo-detalhe-sidebar-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.artigo-detalhe-sidebar-date {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--stmc-gray-400);
}

.artigo-detalhe-sidebar-body h6 {
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0.125rem 0 0;
    color: var(--stmc-gray-800);
    transition: color var(--transition-fast);
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---------- Skeleton Loading ---------- */
.artigo-detalhe-skeleton {
    max-width: 720px;
    margin: 2rem auto;
}

.skeleton-bar {
    background: linear-gradient(90deg, var(--stmc-gray-100) 25%, var(--stmc-gray-200) 50%, var(--stmc-gray-100) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s ease-in-out infinite;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
}

/* ==========================================================================
   LISTAGEM (Notícias / Artigos)
   ========================================================================== */

.listagem-section {
    padding: 2.5rem 0 4rem;
    animation: fadeInUp 0.45s ease-out both;
}

/* ---------- Header ---------- */
.listagem-header {
    margin-bottom: 2rem;
}

.listagem-titulo {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--stmc-gray-900);
    margin-bottom: 0.5rem;
}

.listagem-subtitulo {
    font-size: 1rem;
    color: var(--stmc-gray-500);
    line-height: 1.6;
    max-width: 600px;
}

/* ---------- Filtros ---------- */
.listagem-filtros {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--stmc-gray-200);
}

.listagem-busca {
    position: relative;
    max-width: 420px;
}

.listagem-busca .form-control {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
    border-radius: 2rem;
    font-size: 0.9375rem;
    border-color: var(--stmc-gray-200);
    background: var(--stmc-gray-50);
    transition: all var(--transition-fast);
}

.listagem-busca .form-control:focus {
    border-color: var(--stmc-red);
    background: var(--stmc-white);
    box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.1);
}

.listagem-busca-icon {
    position: absolute;
    left: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--stmc-gray-400);
    font-size: 0.875rem;
    pointer-events: none;
}

.listagem-busca-clear {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--stmc-gray-400);
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.listagem-busca-clear:hover {
    color: var(--stmc-red);
    background: var(--stmc-red-bg);
}

.listagem-canais {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.listagem-canal-btn {
    background: var(--stmc-gray-100);
    border: 1px solid var(--stmc-gray-200);
    color: var(--stmc-gray-600);
    padding: 0.35rem 0.875rem;
    border-radius: 2rem;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.listagem-canal-btn:hover {
    border-color: var(--stmc-red);
    color: var(--stmc-red);
    background: var(--stmc-red-bg);
}

.listagem-canal-btn.active {
    background: var(--stmc-red);
    border-color: var(--stmc-red);
    color: var(--stmc-white);
}

/* ---------- Contador ---------- */
.listagem-contador {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--stmc-gray-500);
    margin-bottom: 1.25rem;
}

/* ---------- Cards ---------- */
.listagem-card-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.listagem-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.listagem-card-img.noticia-instagram-img {
    height: auto;
    aspect-ratio: 4 / 5;
    background: var(--stmc-gray-100);
}

.listagem-card-img.noticia-instagram-img img {
    object-fit: cover;
}

.listagem-card:hover .listagem-card-img img {
    transform: scale(1.04);
}

.listagem-card-placeholder {
    width: 100%;
    height: 100%;
    background: var(--stmc-gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--stmc-gray-300);
    font-size: 2.5rem;
}

.listagem-card-fonte {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--stmc-gray-400);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
}

/* ---------- Loading skeleton ---------- */
.listagem-loading {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.listagem-skeleton-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--stmc-gray-200);
    padding-bottom: 1rem;
}

.listagem-skeleton-card .skeleton-img {
    height: 200px;
    width: 100%;
    border-radius: 0;
    margin-bottom: 1rem;
}

.listagem-skeleton-card .noticia-instagram-skeleton {
    height: auto;
    aspect-ratio: 4 / 5;
}

.listagem-skeleton-card .skeleton-title {
    height: 1.25rem;
    width: 80%;
    margin: 0 1rem 0.75rem;
}

.listagem-skeleton-card .skeleton-text {
    height: 0.875rem;
    width: 95%;
    margin: 0 1rem 0.5rem;
}

.listagem-skeleton-card .skeleton-text.short {
    width: 60%;
}

/* ---------- Vazio ---------- */
.listagem-vazio {
    text-align: center;
    padding: 4rem 1rem;
    color: var(--stmc-gray-400);
}

.listagem-vazio i {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: block;
}

.listagem-vazio h3 {
    color: var(--stmc-gray-600);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.listagem-vazio p {
    color: var(--stmc-gray-400);
    margin-bottom: 1.25rem;
}

/* ---------- Paginação ---------- */
.listagem-paginacao {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.listagem-paginacao .pagination {
    gap: 0.25rem;
}

.listagem-paginacao .page-link {
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--stmc-gray-600);
    border-color: var(--stmc-gray-200);
    padding: 0.5rem 0.875rem;
    transition: all var(--transition-fast);
    min-width: 40px;
    text-align: center;
}

.listagem-paginacao .page-link:hover {
    background: var(--stmc-red-bg);
    border-color: var(--stmc-red);
    color: var(--stmc-red);
}

.listagem-paginacao .page-item.active .page-link {
    background: var(--stmc-red);
    border-color: var(--stmc-red);
    color: var(--stmc-white);
}

.listagem-paginacao .page-item.disabled .page-link {
    color: var(--stmc-gray-300);
    background: var(--stmc-gray-50);
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .listagem-loading {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767.98px) {
    .listagem-section {
        padding: 2rem 0 3rem;
    }

    .listagem-titulo {
        font-size: 1.5rem;
    }

    .listagem-busca {
        max-width: 100%;
    }

    .listagem-card-img {
        height: 170px;
    }

    .listagem-loading {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .listagem-titulo {
        font-size: 1.25rem;
    }

    .listagem-canais {
        gap: 0.375rem;
    }

    .listagem-canal-btn {
        font-size: 0.75rem;
        padding: 0.3rem 0.75rem;
    }
}

.skeleton-title {
    height: 2.5rem;
    width: 80%;
}

.skeleton-meta {
    height: 1rem;
    width: 40%;
}

.skeleton-img {
    height: 300px;
    width: 100%;
    margin-top: 1rem;
}

.skeleton-text {
    height: 1rem;
    width: 100%;
}

.skeleton-text.short {
    width: 65%;
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .artigo-detalhe {
        padding: 2rem 0 3rem;
    }

    .artigo-detalhe-titulo {
        font-size: 1.75rem;
    }

    .artigo-detalhe-resumo {
        font-size: 1rem;
    }

    .artigo-detalhe-corpo {
        font-size: 1rem;
    }

    .artigo-detalhe-sidebar {
        position: static;
        margin-top: 2.5rem;
    }
}

@media (max-width: 767.98px) {
    .artigo-detalhe-titulo {
        font-size: 1.5rem;
    }

    .artigo-detalhe-img img {
        max-height: min(65vh, 500px);
    }

    .artigo-detalhe-galeria-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }

    .artigo-detalhe-galeria-item img {
        height: 130px;
    }

    .artigo-detalhe-share {
        flex-direction: column;
        align-items: flex-start;
    }

    .artigo-detalhe-share-btn span {
        display: none;
    }

    .artigo-detalhe-share-btn {
        padding: 0.625rem;
        border-radius: 50%;
        width: 42px;
        height: 42px;
        justify-content: center;
    }

    .artigo-detalhe-autor {
        padding: 0.875rem 1rem;
    }
}

@media (max-width: 575.98px) {
    .artigo-detalhe-meta-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .artigo-detalhe-info {
        flex-direction: column;
        gap: 0.5rem;
    }

    .artigo-detalhe-titulo {
        font-size: 1.375rem;
    }
}

.lightbox-caption {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    font-weight: 500;
    margin-top: 1rem;
    text-align: center;
    max-width: 600px;
}

/* ---------- Video Modal ---------- */
.video-modal-content {
    width: 90vw;
    max-width: 960px;
    cursor: default;
    animation: lightboxZoom 0.25s ease;
}

.video-modal-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.video-modal-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ---------- Lightbox thumb cursor ---------- */
.lightbox-thumb {
    cursor: pointer;
}

/* ---------- Galeria Home Grid (flexbox auto-fill) ---------- */
.galeria-home-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.galeria-home-item {
    flex: 1 0 180px;
    overflow: hidden;
}

@media (max-width: 575.98px) {
    .galeria-home-item {
        flex: 1 0 calc(50% - 0.375rem);
        max-width: calc(50% - 0.375rem);
    }
}

/* ---------- Image fallback ---------- */
img[src] {
    background: linear-gradient(135deg, var(--stmc-gray-100) 0%, var(--stmc-gray-200) 100%);
}

/* ---------- Placeholder styling ---------- */
.placeholder-img {
    background: linear-gradient(135deg, var(--stmc-gray-100) 0%, var(--stmc-gray-200) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--stmc-gray-400);
    font-size: 2rem;
    min-height: 200px;
}

.placeholder-img-sm {
    min-height: 130px;
}

.placeholder-img-lg {
    min-height: 300px;
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    :root {
        --section-py: 3rem;
    }

    .stmc-navbar .nav-link {
        padding: 0.6rem 1rem;
    }

    .stmc-navbar .nav-link-highlight {
        margin: 0.5rem 1rem;
        text-align: center;
        display: block;
    }

    .noticias-apoio {
        min-height: 0;
    }

    #informacao-categoria .noticias-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .home-banner {
        padding: 0.25rem 0;
    }

    .home-banner-img {
        width: 100%;
        max-width: 100%;
        height: auto;
        max-height: 220px;
        mask-image: none;
        -webkit-mask-image: none;
    }

    /* Banners quadrados do hero e da campanha de dependentes: sem teto de altura
       para não criar faixas brancas nas laterais */
    .home-banner-square .home-banner-img {
        width: min(100%, 26.25rem);
        max-height: none;
    }

    .home-campaign-banner {
        padding: 1.5rem 0 0;
    }

    .hero-featured {
        aspect-ratio: 4 / 3;
    }

}

@media (max-width: 575.98px) {
    :root {
        --section-py: 2.5rem;
    }

    .stmc-topbar .topbar-text {
        font-size: 0.6875rem;
    }

    .hero-featured-caption {
        padding: 1.25rem;
    }

    .hero-mini {
        height: auto;
    }

    .hero-mini-img {
        width: 110px;
        min-width: 110px;
    }

}

/* ---------- Blazor error UI ---------- */
#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

/* ==========================================================================
   GALERIA DE FOTOS — Cards
   ========================================================================== */

.galeria-card-img {
    position: relative;
}

.galeria-card-count {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    background: rgba(0, 0, 0, 0.7);
    color: var(--stmc-white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.625rem;
    border-radius: 2rem;
    backdrop-filter: blur(4px);
}

/* ==========================================================================
   GALERIA DE FOTOS — Detalhe
   ========================================================================== */

.galeria-detalhe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.875rem;
}

.galeria-detalhe-item {
    position: relative;
    margin: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    cursor: pointer;
}

.galeria-detalhe-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.galeria-detalhe-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-base);
}

.galeria-detalhe-item:hover img {
    transform: scale(1.04);
}

.galeria-detalhe-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    opacity: 0;
    transition: opacity var(--transition-base);
    pointer-events: none;
}

.galeria-detalhe-item:hover .galeria-detalhe-overlay {
    opacity: 1;
}

.galeria-detalhe-item figcaption {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
    color: var(--stmc-gray-500);
    background: var(--stmc-gray-50);
}

@media (max-width: 767.98px) {
    .galeria-detalhe-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .galeria-detalhe-item img {
        height: 150px;
    }
}

/* ==========================================================================
   AGENDA — Listagem
   ========================================================================== */

.agenda-grupo-titulo {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--stmc-gray-700);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--stmc-red);
    display: inline-block;
}

.agenda-card-periodo {
    font-size: 0.8125rem;
    color: var(--stmc-gray-500);
    font-weight: 500;
}

.agenda-card-texto {
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-top: 0.5rem;
}

/* ═══════════════════════════════════════════
   Busca – Resultados
   ═══════════════════════════════════════════ */

.busca-resultados {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.busca-resultado-item {
    display: block;
    padding: 1.25rem 1.5rem;
    background: #fff;
    border: 1px solid var(--stmc-gray-200);
    border-radius: var(--radius-lg, 0.75rem);
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-fast, 0.2s);
}

.busca-resultado-item:hover {
    border-color: var(--stmc-red);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
    text-decoration: none;
    color: inherit;
}

.busca-resultado-header {
    margin-bottom: 0.5rem;
}

.busca-tipo-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 0.2rem 0.65rem;
    border-radius: 2rem;
    background: var(--stmc-gray-100, #f0f2f5);
    color: var(--stmc-gray-600, #6b7280);
}

.busca-resultado-titulo {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--stmc-gray-800, #1f2937);
    margin: 0 0 0.375rem;
    line-height: 1.4;
}

.busca-resultado-item:hover .busca-resultado-titulo {
    color: var(--stmc-red);
}

.busca-resultado-texto {
    font-size: 0.9rem;
    color: var(--stmc-gray-500, #6b7280);
    line-height: 1.6;
    margin: 0;
}

.busca-resultado-data {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--stmc-gray-400, #9ca3af);
    margin-bottom: 0.375rem;
}

.agenda-card-texto p:last-child {
    margin-bottom: 0;
}

.agenda-card-passado {
    opacity: 0.65;
}

.agenda-card-passado .agenda-date {
    background: linear-gradient(135deg, var(--stmc-gray-400), var(--stmc-gray-500));
}

/* ==========================================================================
   BOLETINS DO STMC — Cards
   ========================================================================== */

.boletim-card-img {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: var(--stmc-gray-100);
}

.boletim-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.boletim-card-img:hover img {
    transform: scale(1.03);
}

.boletim-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--stmc-gray-100), var(--stmc-gray-200));
    color: var(--stmc-gray-400);
    font-size: 3rem;
}

/* ---------- Endereço & Atendimento ---------- */
.section-endereco {
    background: linear-gradient(135deg, #1a0a0a 0%, #3b1111 30%, #6b1a1a 65%, #8B1A1A 100%);
    padding: var(--section-py) 0 1.5rem;
    color: #fff;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flow-root;
    min-height: 0;
    height: auto;
}

.section-endereco .row {
    min-height: 0;
}

.section-endereco + .stmc-footer {
    margin-top: 0;
}

.endereco-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.75rem;
}

.endereco-icon-badge {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--stmc-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(198, 40, 40, 0.45);
}

.endereco-title {
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0;
    color: #fff;
    border-bottom: none;
    padding-bottom: 0;
}

.endereco-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    max-width: 560px;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.endereco-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
}

.endereco-info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.endereco-info-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.endereco-info-item:hover .endereco-info-icon {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}

.endereco-info-item strong {
    display: block;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.2rem;
}

.endereco-info-item div:not(.endereco-info-icon) {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
}

.endereco-phone {
    font-size: 0.8rem !important;
    font-weight: 700;
    color: #fff !important;
    letter-spacing: 0.025em;
}

.endereco-horario-badge {
    display: inline-block;
    margin-top: 0.375rem;
    padding: 0.3rem 1rem;
    border-radius: 2rem;
    background: var(--stmc-red);
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(198, 40, 40, 0.4);
}

.endereco-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 2.25rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.endereco-btn {
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.25s ease;
    text-decoration: none;
}

.endereco-btn-outline {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    color: #fff;
}

.endereco-btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff;
}

.endereco-btn-filled {
    background: rgba(255, 255, 255, 0.1);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

.endereco-btn-filled:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}

.endereco-map-wrapper {
    border-radius: var(--radius-xl);
    overflow: hidden;
    height: auto;
    min-height: 380px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.08);
}

.endereco-map-wrapper iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 380px;
}

@media (max-width: 991.98px) {
    .endereco-map-wrapper {
        min-height: 300px;
    }

    .endereco-map-wrapper iframe {
        min-height: 300px;
    }
}

@media (max-width: 575.98px) {
    .endereco-title {
        font-size: 1.125rem;
    }

    .endereco-actions {
        flex-direction: column;
    }

    .endereco-btn {
        text-align: center;
    }

    .endereco-map-wrapper,
    .endereco-map-wrapper iframe {
        min-height: 250px;
    }
}

/* ==========================================================================
   Contact / Report Form Pages
   ========================================================================== */

/* Form card */
.stmc-form-card {
    border: 1px solid var(--stmc-gray-200);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition-base);
}

.stmc-form-card:hover {
    box-shadow: var(--shadow-md);
}

.stmc-form-card .form-control,
.stmc-form-card .input-group-text {
    font-size: 0.875rem;
    border-color: var(--stmc-gray-200);
}

.stmc-form-card .input-group-text {
    background-color: var(--stmc-gray-50);
    color: var(--stmc-gray-400);
    border-right: none;
}

.stmc-form-card .input-group .form-control {
    border-left: none;
}

.stmc-form-card .form-control:focus {
    border-color: var(--stmc-red);
    box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.1);
}

.stmc-form-card .input-group:focus-within .input-group-text {
    border-color: var(--stmc-red);
    color: var(--stmc-red);
}

.stmc-form-card .form-label {
    font-size: 0.8125rem;
    color: var(--stmc-gray-700);
    margin-bottom: 0.375rem;
}

.stmc-form-card textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Contact info sidebar */
.stmc-info-list li {
    display: flex;
    gap: 0.875rem;
    align-items: flex-start;
    padding: 0.875rem 0;
    border-bottom: 1px solid var(--stmc-gray-100);
}

.stmc-info-list li:first-child {
    padding-top: 0;
}

.stmc-info-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.stmc-info-list strong {
    display: block;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--stmc-gray-800);
    margin-bottom: 0.125rem;
}

.stmc-info-list span {
    font-size: 0.8125rem;
    color: var(--stmc-gray-500);
    line-height: 1.5;
}

.stmc-info-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--stmc-red-bg);
    color: var(--stmc-red);
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
}

/* Social buttons (sidebar) */
.stmc-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--stmc-gray-100);
    color: var(--stmc-gray-500);
    font-size: 0.9375rem;
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.stmc-social-btn:hover {
    background-color: var(--stmc-red);
    color: var(--stmc-white);
}

/* Privacy notice (report page) */
.stmc-privacy-notice {
    display: flex;
    gap: 0.875rem;
    align-items: flex-start;
    padding: 1rem 1.25rem;
    background-color: #EFF6FF;
    border: 1px solid #BFDBFE;
    border-radius: var(--radius-lg);
    color: #1E40AF;
}

.stmc-privacy-notice>i {
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.stmc-privacy-notice strong {
    display: block;
    font-size: 0.8125rem;
    font-weight: 700;
    margin-bottom: 0.125rem;
}

.stmc-privacy-notice span {
    font-size: 0.8125rem;
    line-height: 1.5;
    opacity: 0.85;
}

/* Success icon */
.stmc-success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: #D1FAE5;
    color: #059669;
    font-size: 1.75rem;
}

/* Fade-in animation */
.stmc-fade-in {
    animation: stmcFadeIn 0.4s ease;
}

@keyframes stmcFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .stmc-contact-info {
        margin-top: 0.5rem;
    }
}

/* ---------- Serviços Home ---------- */
.section-servicos-home {
    background: linear-gradient(180deg, var(--stmc-white) 0%, var(--stmc-gray-50) 100%);
}

.servico-home-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.5rem;
    padding: 1.25rem 0.75rem;
    background: var(--stmc-white);
    border: 1px solid var(--stmc-gray-200);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-xs);
    text-decoration: none;
    color: var(--stmc-gray-700);
    min-height: 100px;
}

.servico-home-card i {
    font-size: 1.5rem;
    color: var(--stmc-red);
    transition: transform var(--transition-base);
}

.servico-home-card span {
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.3;
}

.servico-home-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--stmc-red-light);
    color: var(--stmc-red);
}

.servico-home-card:hover i {
    transform: scale(1.15);
}

/* ---------- Serviços + Filiação (seção unificada) ---------- */
.section-servicos-filiacao {
    background-color: #fff;
    padding: 0 0 5rem;
    position: relative;
    overflow: hidden;
}

#clube-beneficios {
    padding-top: 1.25rem;
}

/* --------------------------------------------------------------------------
   Home desktop redesign
   The existing mobile composition remains the source of truth below 992px.
   This layer gives the desktop landing page the compact editorial dashboard
   composition used by the current visual direction.
-------------------------------------------------------------------------- */
.desktop-home-redesign {
    display: none;
}

.desktop-navbar-links {
    display: none;
}

@media (min-width: 992px) {
    body.mobile-shell {
        background: #f5f7fa;
    }

    body.mobile-shell .stmc-topbar {
        display: none;
    }

    body.mobile-shell .stmc-navbar {
        min-height: 86px;
        border-bottom: 1px solid #edf0f4;
        box-shadow: 0 2px 14px rgba(15, 29, 53, 0.04);
    }

    body.mobile-shell .stmc-navbar > .container {
        max-width: 1500px;
        min-height: 86px;
        padding-inline: 32px;
    }

    body.mobile-shell .stmc-navbar .navbar-brand {
        gap: 10px;
        min-width: 220px;
        margin-right: clamp(1.5rem, 4vw, 4.25rem);
        padding-block: 0;
    }

    body.mobile-shell .stmc-navbar .navbar-brand img {
        width: 48px;
        height: 48px;
        object-fit: cover;
        object-position: center;
        border-radius: 13px;
        box-shadow: 0 2px 8px rgba(15, 29, 53, 0.12);
    }

    body.mobile-shell .stmc-navbar .navbar-brand .mobile-brand-wordmark {
        display: flex !important;
        flex-direction: column;
        gap: 1px;
        line-height: 1;
        color: #0f1d35;
        white-space: nowrap;
    }

    body.mobile-shell .stmc-navbar .navbar-brand .mobile-brand-wordmark strong {
        font-size: 1.38rem;
        font-weight: 800;
        letter-spacing: -0.06em;
    }

    body.mobile-shell .stmc-navbar .navbar-brand .mobile-brand-wordmark b {
        color: var(--stmc-red);
    }

    body.mobile-shell .stmc-navbar .navbar-brand .mobile-brand-wordmark small {
        color: #294c67;
        font-size: 0.72rem;
        font-weight: 500;
        letter-spacing: 0.01em;
        margin-top: 3px;
    }

    body.mobile-shell .stmc-navbar .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
        align-items: center;
    }

    body.mobile-shell .stmc-navbar .mobile-navbar-links,
    body.mobile-shell .stmc-navbar .mobile-navbar-links + .d-flex .navbar-search {
        display: none !important;
    }

    body.mobile-shell .stmc-navbar .desktop-navbar-links {
        display: flex;
        align-items: center;
        gap: clamp(0.25rem, 1.1vw, 1rem);
        margin: 0;
        padding: 0;
        list-style: none;
    }

    body.mobile-shell .stmc-navbar .desktop-navbar-links .nav-link {
        display: inline-flex;
        align-items: center;
        gap: 9px;
        border-radius: 9px;
        color: #152039;
        font-size: 0.84rem;
        font-weight: 500;
        padding: 0.8rem 0.9rem;
        white-space: nowrap;
    }

    body.mobile-shell .stmc-navbar .desktop-navbar-links .nav-link i {
        color: #152039;
        font-size: 1.05rem;
    }

    body.mobile-shell .stmc-navbar .desktop-navbar-links .nav-link:hover,
    body.mobile-shell .stmc-navbar .desktop-navbar-links .nav-link:focus-visible,
    body.mobile-shell .stmc-navbar .desktop-navbar-links .nav-link.active {
        background: #fff0f0;
        color: var(--stmc-red);
        font-weight: 600;
    }

    body.mobile-shell .stmc-navbar .desktop-navbar-links .nav-link.active i,
    body.mobile-shell .stmc-navbar .desktop-navbar-links .nav-link:hover i,
    body.mobile-shell .stmc-navbar .desktop-navbar-links .nav-link:focus-visible i {
        color: var(--stmc-red);
    }

    body.mobile-shell .desktop-navbar-search {
        display: inline-grid;
        place-items: center;
        width: 48px;
        height: 48px;
        margin-inline: 0.5rem 0.5rem;
        border: 0;
        border-radius: 50%;
        background: #f5f7fa;
        color: #152039;
        font-size: 1.3rem;
        cursor: pointer;
    }

    body.mobile-shell .desktop-navbar-search:hover,
    body.mobile-shell .desktop-navbar-search:focus-visible {
        background: #fff0f0;
        color: var(--stmc-red);
    }

    body.mobile-shell .desktop-navbar-join {
        display: inline-flex !important;
        align-items: center;
        gap: 9px;
        min-height: 38px;
        border-radius: 8px;
        padding: 0.375rem 0.75rem !important;
        font-size: 0.82rem;
        font-weight: 600;
    }

    body.mobile-shell .stmc-navbar .navbar-toggler {
        display: none;
    }

    body.mobile-shell main.home-page {
        padding: 26px 32px 64px;
        background: #f5f7fa;
    }

    body.mobile-shell .home-page > .home-banner:first-child,
    body.mobile-shell .home-page > .manchete-hero,
    body.mobile-shell .home-page > .denuncia-strip--anonima,
    body.mobile-shell .home-page > .mobile-services,
    body.mobile-shell .home-page > #informacao-categoria {
        display: none;
    }

    body.mobile-shell .desktop-home-redesign {
        display: grid;
        grid-template-columns: minmax(0, 3.12fr) minmax(312px, 0.98fr);
        gap: 22px;
        max-width: 1500px;
        margin: 0 auto 28px;
    }

    body.mobile-shell .desktop-home-layout {
        display: contents;
    }

    body.mobile-shell .desktop-home-feature {
        grid-column: 1;
        grid-row: 1;
        align-self: start;
        height: 330px;
        min-height: 0;
        position: relative;
        overflow: hidden;
        isolation: isolate;
        border-radius: 14px;
        background:
            linear-gradient(90deg, rgba(0, 20, 28, 0.92) 0%, rgba(0, 20, 28, 0.78) 30%, rgba(0, 20, 28, 0.09) 74%),
            url('../images/banner-hero-sintratel.png') center / cover no-repeat;
        box-shadow: 0 8px 24px rgba(15, 29, 53, 0.08);
    }

    body.mobile-shell .desktop-home-feature-copy {
        max-width: 480px;
        padding: 26px 34px 20px;
        color: #fff;
    }

    body.mobile-shell .desktop-home-kicker {
        display: inline-flex;
        align-items: center;
        min-height: 32px;
        padding: 0.25rem 0.85rem;
        border-radius: 8px;
        background: #ed1c24;
        color: #fff;
        font-size: 0.7rem;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }

    body.mobile-shell .desktop-home-feature h1 {
        max-width: 440px;
        margin: 11px 0 12px;
        color: #fff;
        font-size: clamp(1.65rem, 2.05vw, 2.1rem);
        font-weight: 700;
        letter-spacing: -0.03em;
        line-height: 1.16;
    }

    body.mobile-shell .desktop-home-feature p {
        max-width: 430px;
        margin: 0 0 17px;
        color: rgba(255, 255, 255, 0.92);
        font-size: 0.90rem;
        line-height: 1.48;
    }

    body.mobile-shell .desktop-home-primary,
    body.mobile-shell .desktop-home-rail-card--red > a:not(.desktop-home-rail-secondary) {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        min-height: 42px;
        padding: 0.6rem 1.05rem;
        border-radius: 9px;
        background: #ed1c24;
        color: #fff;
        font-size: 0.82rem;
        font-weight: 600;
        text-decoration: none;
        transition: transform 160ms ease, background-color 160ms ease;
    }

    body.mobile-shell .desktop-home-primary:hover,
    body.mobile-shell .desktop-home-primary:focus-visible,
    body.mobile-shell .desktop-home-rail-card--red > a:not(.desktop-home-rail-secondary):hover,
    body.mobile-shell .desktop-home-rail-card--red > a:not(.desktop-home-rail-secondary):focus-visible {
        background: #c9171e;
        color: #fff;
        transform: translateY(-1px);
    }

    body.mobile-shell .desktop-home-feature-controls {
        position: absolute;
        right: 20px;
        bottom: 17px;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    body.mobile-shell .desktop-home-feature-controls > span {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.45);
    }

    body.mobile-shell .desktop-home-feature-controls > span.is-active {
        background: #ed1c24;
    }

    body.mobile-shell .desktop-home-feature-controls button {
        display: grid;
        place-items: center;
        width: 43px;
        height: 43px;
        margin-left: 8px;
        border: 0;
        border-radius: 50%;
        background: rgba(15, 29, 53, 0.8);
        color: #fff;
        font-size: 1.15rem;
    }

    body.mobile-shell .desktop-home-feature-controls button + button {
        margin-left: 0;
    }

    body.mobile-shell .desktop-home-rail {
        grid-column: 2;
        grid-row: 1 / span 3;
        display: grid;
        align-self: start;
        gap: 16px;
    }

    body.mobile-shell .desktop-home-rail-card {
        display: grid;
        grid-template-columns: 64px minmax(0, 1fr);
        gap: 13px;
        align-items: start;
        padding: 18px;
        border: 1px solid #edf0f4;
        border-radius: 14px;
        background: #fff;
        box-shadow: 0 7px 20px rgba(15, 29, 53, 0.055);
    }

    body.mobile-shell .desktop-home-rail-icon {
        display: grid;
        place-items: center;
        width: 56px;
        height: 56px;
        border-radius: 50%;
        background: #ed1c24;
        color: #fff;
        font-size: 1.35rem;
    }

    body.mobile-shell .desktop-home-rail-card h2 {
        margin: 3px 0 6px;
        color: #10203d;
        font-size: 0.96rem;
        font-weight: 700;
    }

    body.mobile-shell .desktop-home-rail-card p {
        margin: 0;
        color: #405675;
        font-size: 0.78rem;
        line-height: 1.42;
    }

    body.mobile-shell .desktop-home-rail-card > a:not(.desktop-home-rail-secondary) {
        grid-column: 1 / -1;
        width: 100%;
    }

    body.mobile-shell .desktop-home-rail-secondary {
        display: inline-flex;
        grid-column: 1 / -1;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-height: 40px;
        border: 1px solid #e2e7ee;
        border-radius: 9px;
        color: #17213a;
        font-size: 0.78rem;
        font-weight: 600;
        text-decoration: none;
    }

    body.mobile-shell .desktop-home-rail-secondary:hover,
    body.mobile-shell .desktop-home-rail-secondary:focus-visible {
        border-color: #ed1c24;
        color: #ed1c24;
    }

    body.mobile-shell .desktop-home-rail-secondary--red {
        border-color: #ffe0e0;
        background: #fff1f1;
        color: #d62027;
    }

    body.mobile-shell .desktop-home-events {
        display: block;
        padding: 16px 18px;
    }

    body.mobile-shell .desktop-home-events-heading {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 10px;
    }

    body.mobile-shell .desktop-home-events-heading h2 {
        display: inline-flex;
        align-items: center;
        gap: 9px;
        margin: 0;
    }

    body.mobile-shell .desktop-home-events-heading h2 i {
        color: #10203d;
    }

    body.mobile-shell .desktop-home-events-heading a,
    body.mobile-shell .desktop-home-panel-heading a {
        color: #e31d25;
        font-size: 0.78rem;
        font-weight: 650;
        text-decoration: none;
        white-space: nowrap;
    }

    body.mobile-shell .desktop-home-event-empty {
        margin: 0 0 9px;
        padding: 10px 12px;
        border-radius: 10px;
        background: #f7f8fa;
        color: #405675;
        font-size: 0.76rem;
        line-height: 1.35;
    }

    body.mobile-shell .desktop-home-event-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        color: #17213a;
        font-size: 0.76rem;
        font-weight: 750;
        text-decoration: none;
    }

    body.mobile-shell .desktop-home-panel {
        grid-column: 1;
        margin-top: 18px;
        padding: 16px 17px 17px;
        border: 1px solid #edf0f4;
        border-radius: 14px;
        background: #fff;
        box-shadow: 0 7px 20px rgba(15, 29, 53, 0.045);
    }

    body.mobile-shell .desktop-home-panel-heading {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        margin: 0 0 12px;
    }

    body.mobile-shell .desktop-home-panel-heading h2 {
        margin: 0;
        color: #10203d;
        font-size: 1.2rem;
        font-weight: 700;
        letter-spacing: -0.025em;
    }

    body.mobile-shell .desktop-home-services-grid {
        display: grid;
        grid-template-columns: repeat(8, minmax(0, 1fr));
        gap: 12px;
    }

    body.mobile-shell .desktop-home-services-panel {
        grid-row: 2;
    }

    body.mobile-shell .desktop-home-news-panel {
        grid-row: 3;
    }

    body.mobile-shell .desktop-home-redesign > .assembleia-strip:not(.assembleia-strip-mobile) {
        grid-column: 1;
        width: 100%;
        margin-top: 18px;
    }

    body.mobile-shell .desktop-home-redesign > .assembleia-strip:not(.assembleia-strip-mobile) > .denuncia-strip-inner {
        width: 100%;
        max-width: none;
        margin-inline: 0;
        justify-content: center;
    }

    body.mobile-shell .desktop-home-redesign > .assembleia-strip:not(.assembleia-strip-mobile) .denuncia-strip-info {
        flex: 0 1 auto;
    }

    body.mobile-shell .desktop-home-redesign > .assembleia-strip:not(.assembleia-strip-mobile) .assembleia-strip-actions {
        flex: 0 0 auto;
    }

    body.mobile-shell .desktop-home-redesign > .assembleia-strip:not(.assembleia-strip-mobile) > .denuncia-strip-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.7rem;
    }

    body.mobile-shell .desktop-home-redesign > .assembleia-strip:not(.assembleia-strip-mobile) .denuncia-strip-info {
        justify-content: center;
        text-align: center;
    }

    body.mobile-shell .desktop-home-redesign > .assembleia-strip:not(.assembleia-strip-mobile) .assembleia-strip-text,
    body.mobile-shell .desktop-home-redesign > .assembleia-strip:not(.assembleia-strip-mobile) .assembleia-strip-header {
        align-items: center;
        justify-content: center;
    }

    body.mobile-shell .desktop-home-redesign > .assembleia-strip:not(.assembleia-strip-mobile) {
        grid-column: 1 / -1;
        width: min(100%, 1120px);
        justify-self: center;
    }

    body.mobile-shell .desktop-home-redesign > .assembleia-strip:not(.assembleia-strip-mobile) > .denuncia-strip-inner {
        flex-direction: row;
        text-align: left;
        gap: 1rem 1.5rem;
    }

    body.mobile-shell .desktop-home-redesign > .assembleia-strip:not(.assembleia-strip-mobile) .denuncia-strip-info {
        justify-content: flex-start;
        text-align: left;
    }

    body.mobile-shell .desktop-home-redesign > .assembleia-strip:not(.assembleia-strip-mobile) .assembleia-strip-text,
    body.mobile-shell .desktop-home-redesign > .assembleia-strip:not(.assembleia-strip-mobile) .assembleia-strip-header {
        align-items: flex-start;
        justify-content: flex-start;
        text-align: left;
    }

    body.mobile-shell .desktop-home-news-aside {
        grid-column: 2;
        grid-row: 3;
        align-self: start;
        margin-top: 1.35rem;
        min-width: 0;
        padding: 18px;
        border: 1px solid #edf0f4;
        border-radius: 14px;
        background: #fff;
        box-shadow: 0 7px 20px rgba(15, 29, 53, 0.045);
    }

    body.mobile-shell .desktop-home-news-aside-heading {
        display: flex;
        align-items: center;
        gap: 9px;
        padding-bottom: 11px;
        border-bottom: 1px solid #edf0f4;
    }

    body.mobile-shell .desktop-home-news-aside-heading i {
        color: #e31d25;
        font-size: 1.15rem;
    }

    body.mobile-shell .desktop-home-news-aside-heading h2 {
        margin: 0;
        color: #10203d;
        font-size: 1rem;
        font-weight: 700;
        letter-spacing: -0.02em;
    }

    body.mobile-shell .desktop-home-news-aside > p {
        margin: 13px 0 14px;
        color: #405675;
        font-size: 0.78rem;
        line-height: 1.4;
    }

    body.mobile-shell .desktop-home-news-aside-links {
        display: grid;
        gap: 8px;
    }

    body.mobile-shell .desktop-home-news-aside-links a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        min-height: 38px;
        padding: 8px 10px;
        border: 1px solid #e7ebf0;
        border-radius: 10px;
        color: #17213a;
        font-size: 0.75rem;
        font-weight: 600;
        text-decoration: none;
        transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease;
    }

    body.mobile-shell .desktop-home-news-aside-links a span {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        min-width: 0;
    }

    body.mobile-shell .desktop-home-news-aside-links a span i {
        flex: 0 0 auto;
        color: #2b5267;
        font-size: 0.9rem;
    }

    body.mobile-shell .desktop-home-news-aside-links a > i {
        flex: 0 0 auto;
        color: #e31d25;
    }

    body.mobile-shell .desktop-home-news-aside-links a:hover,
    body.mobile-shell .desktop-home-news-aside-links a:focus-visible {
        border-color: #f0a2a4;
        background: #fff7f7;
        color: #c9171e;
    }

    body.mobile-shell .desktop-home-news-aside-feature {
        display: grid;
        grid-template-columns: 2.2rem minmax(0, 1fr);
        gap: 0.75rem;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid #edf0f4;
    }

    body.mobile-shell .desktop-home-news-aside-feature-icon {
        display: grid;
        width: 2.2rem;
        height: 2.2rem;
        place-items: center;
        border-radius: 0.65rem;
        color: var(--stmc-red);
        background: #fff0f0;
        font-size: 1rem;
    }

    body.mobile-shell .desktop-home-news-aside-feature h3 {
        margin: 0 0 0.2rem;
        color: #10203d;
        font-size: 0.88rem;
        font-weight: 700;
    }

    body.mobile-shell .desktop-home-news-aside-feature p {
        margin: 0;
        color: #405675;
        font-size: 0.74rem;
        line-height: 1.35;
    }

    body.mobile-shell .desktop-home-news-aside-feature > a {
        grid-column: 2;
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        margin-top: 0.2rem;
        color: var(--stmc-red);
        font-size: 0.74rem;
        font-weight: 700;
        text-decoration: none;
    }

    body.mobile-shell .desktop-home-services-grid a {
        display: grid;
        place-items: center;
        gap: 8px;
        min-height: 110px;
        padding: 11px 6px;
        border: 1px solid #e6ebf0;
        border-radius: 12px;
        color: #10203d;
        text-align: center;
        text-decoration: none;
        transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
    }

    body.mobile-shell .desktop-home-services-grid a:hover,
    body.mobile-shell .desktop-home-services-grid a:focus-visible {
        border-color: #f2a3a5;
        box-shadow: 0 5px 14px rgba(211, 29, 37, 0.11);
        transform: translateY(-1px);
    }

    body.mobile-shell .desktop-home-services-grid i {
        color: #c91e26;
        font-size: 1.55rem;
        line-height: 1;
    }

    body.mobile-shell .desktop-home-services-grid a:nth-child(even) i {
        color: #2b5267;
    }

    body.mobile-shell .desktop-home-services-grid span {
        font-size: 0.75rem;
        font-weight: 600;
        line-height: 1.25;
    }

    body.mobile-shell .desktop-home-news-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
    }

    body.mobile-shell .desktop-home-news-card {
        overflow: hidden;
        border: 1px solid #e6ebf0;
        border-radius: 12px;
        background: #fff;
    }

    body.mobile-shell .desktop-home-news-card > img {
        display: block;
        width: 100%;
        height: auto;
        aspect-ratio: 1.78;
        object-fit: cover;
        object-position: center;
        background: #eef2f5;
    }

    body.mobile-shell .desktop-home-news-card > div {
        padding: 12px 13px 14px;
    }

    body.mobile-shell .desktop-home-news-card small {
        color: #66809a;
        font-size: 0.62rem;
        font-weight: 700;
        letter-spacing: 0.045em;
    }

    body.mobile-shell .desktop-home-news-card h3 {
        margin: 6px 0 5px;
        color: #10203d;
        font-size: 0.94rem;
        font-weight: 650;
        letter-spacing: -0.015em;
        line-height: 1.32;
    }

    body.mobile-shell .desktop-home-news-card p {
        min-height: 36px;
        margin: 0 0 9px;
        color: #405675;
        font-size: 0.76rem;
        line-height: 1.45;
    }

    body.mobile-shell .desktop-home-news-card a {
        color: #e31d25;
        font-size: 0.76rem;
        font-weight: 650;
        text-decoration: none;
    }

    body.mobile-shell .desktop-home-news-card a:hover,
    body.mobile-shell .desktop-home-news-card a:focus-visible {
        color: #a9161d;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    body.mobile-shell .stmc-navbar .navbar-brand {
        min-width: 185px;
        margin-right: 0.75rem;
    }

    body.mobile-shell .stmc-navbar .navbar-brand .mobile-brand-wordmark strong {
        font-size: 1.4rem;
    }

    body.mobile-shell .stmc-navbar .desktop-navbar-links .nav-link {
        gap: 5px;
        padding-inline: 0.45rem;
        font-size: 0.8125rem;
    }

    body.mobile-shell .desktop-home-layout {
        grid-template-columns: minmax(0, 1fr) 300px;
    }

    body.mobile-shell .desktop-home-redesign {
        grid-template-columns: minmax(0, 1fr) 300px;
    }

    body.mobile-shell .desktop-home-services-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}


/* O painel editorial existe somente na composição desktop; no mobile a lista original permanece.
 */
.desktop-services-intro {
    display: none;
}

/*
 * Padrão desktop para Serviços do sindicato e Voz dos Associados.
 * O bloco é deliberadamente isolado em >= 992px para preservar o shell mobile,
 * sua lista compacta e o carrossel horizontal existentes.
 */
@media (min-width: 992px) {
    body.mobile-shell main.home-page #servicos-sindicato {
        padding: clamp(2.8rem, 4.2vw, 4.6rem) 0;
        background: #f5f7fa;
        border-block: 1px solid #e7ebf0;
    }

    body.mobile-shell main.home-page #servicos-sindicato > .container {
        display: grid;
        grid-template-columns: minmax(360px, 0.86fr) minmax(0, 1.75fr);
        gap: clamp(1rem, 1.8vw, 1.75rem);
        align-items: stretch;
        max-width: 1468px;
    }

    body.mobile-shell main.home-page #servicos-sindicato .desktop-services-intro {
        display: flex;
        min-height: 360px;
        flex-direction: column;
        justify-content: center;
        padding: clamp(2rem, 3.2vw, 3rem);
        overflow: hidden;
        border-radius: 1.25rem;
        color: #fff;
        background:
            linear-gradient(90deg, rgb(0 33 40 / 0.96), rgb(0 33 40 / 0.72)),
            url('../images/banner-hero-sintratel.png') center / cover no-repeat;
        box-shadow: 0 8px 24px rgb(15 29 53 / 0.08);
    }

    body.mobile-shell main.home-page #servicos-sindicato .desktop-services-intro .servicos-badge {
        display: inline-flex;
        width: fit-content;
        align-items: center;
        margin-bottom: 1.15rem;
        padding: 0.48rem 0.8rem;
        border-radius: 0.55rem;
        color: #fff;
        background: var(--stmc-red);
        font-size: 0.78rem;
        font-weight: 800;
        letter-spacing: 0.04em;
        line-height: 1;
        text-transform: uppercase;
    }

    body.mobile-shell main.home-page #servicos-sindicato .desktop-services-intro h2 {
        max-width: 15rem;
        margin: 0 0 1rem;
        color: #fff;
        font-size: clamp(2rem, 3.2vw, 3rem);
        font-weight: 850;
        letter-spacing: -0.045em;
        line-height: 1.02;
    }

    body.mobile-shell main.home-page #servicos-sindicato .desktop-services-intro p {
        max-width: 17rem;
        margin: 0;
        color: rgb(255 255 255 / 0.9);
        font-size: 0.90rem;
        line-height: 1.35;
    }

    body.mobile-shell main.home-page #servicos-sindicato > .container > .text-center.mb-4 {
        display: none;
    }

    body.mobile-shell main.home-page #servicos-sindicato .servicos-sind-list {
        display: grid;
        max-width: none;
        gap: 0.9rem;
        margin: 0;
        border: 0;
    }

    body.mobile-shell main.home-page #servicos-sindicato .servicos-sind-item {
        display: grid;
        grid-template-columns: 3.35rem minmax(0, 1fr) auto;
        min-height: 5.8rem;
        align-items: center;
        gap: clamp(0.85rem, 1.35vw, 1.2rem);
        padding: 0.9rem 1.1rem;
        border: 1px solid #dfe5ec;
        border-radius: 1rem;
        background: #fff;
        box-shadow: 0 4px 14px rgb(15 29 53 / 0.035);
    }

    body.mobile-shell main.home-page #servicos-sindicato .servicos-sind-icon {
        display: grid;
        width: 3.35rem;
        height: 3.35rem;
        place-items: center;
        border-radius: 0.8rem;
        color: var(--stmc-red);
        background: #fff0f0;
        font-size: 1.55rem;
    }

    body.mobile-shell main.home-page #servicos-sindicato .servicos-sind-info {
        min-width: 0;
    }

    body.mobile-shell main.home-page #servicos-sindicato .servicos-sind-info h3 {
        margin: 0 0 0.22rem;
        color: #091a3b;
        font-size: 0.9rem;
        font-weight: 850;
        letter-spacing: -0.025em;
        line-height: 1.15;
    }

    body.mobile-shell main.home-page #servicos-sindicato .servicos-sind-info p {
        margin: 0;
        color: #304567;
        font-size: 0.86rem;
        line-height: 1.4;
    }

    body.mobile-shell main.home-page #servicos-sindicato .servicos-sind-item > .section-link {
        display: inline-flex;
        min-width: clamp(9.5rem, 12vw, 12rem);
        align-items: center;
        justify-content: center;
        gap: 0.42rem;
        margin-left: 0;
        padding: 0.72rem 0.9rem;
        border-radius: 0.6rem;
        color: var(--stmc-red);
        background: #fff0f0;
        font-size: 0.82rem;
        font-weight: 800;
        text-align: center;
        white-space: nowrap;
    }

    body.mobile-shell main.home-page #servicos-sindicato .servicos-sind-item > .section-link:hover,
    body.mobile-shell main.home-page #servicos-sindicato .servicos-sind-item > .section-link:focus-visible {
        color: #fff;
        background: var(--stmc-red);
        text-decoration: none;
    }

}

@media (min-width: 992px) and (max-width: 1199.98px) {
    body.mobile-shell main.home-page #servicos-sindicato > .container {
        grid-template-columns: minmax(220px, 0.62fr) minmax(0, 1.38fr);
    }

    body.mobile-shell main.home-page #servicos-sindicato .servicos-sind-item {
        grid-template-columns: 3.6rem minmax(0, 1fr);
    }

    body.mobile-shell main.home-page #servicos-sindicato .servicos-sind-icon {
        width: 3.6rem;
        height: 3.6rem;
        font-size: 1.7rem;
    }

    body.mobile-shell main.home-page #servicos-sindicato .servicos-sind-item > .section-link {
        grid-column: 2;
        justify-self: start;
        min-width: 0;
        padding-block: 0.65rem;
    }
}

.servicos-filiacao-top-bar {
    height: 5px;
    background: linear-gradient(90deg, var(--stmc-red-dark), var(--stmc-red), var(--stmc-red-light), var(--stmc-red));
    margin-bottom: 0.75rem;
}

#clube-beneficios .servicos-filiacao-top-bar {
        margin-bottom: 1.25rem;
}

.servicos-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--stmc-red), #d32f2f);
    color: var(--stmc-white);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.6rem 1.25rem;
    box-shadow: 0 2px 8px rgba(198, 40, 40, 0.25);
}

button.servicos-badge {
    border: 0;
    font-family: inherit;
    cursor: pointer;
    transition: box-shadow var(--transition-fast), transform var(--transition-fast);
}

button.servicos-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(198, 40, 40, 0.35);
}

button.servicos-badge:focus-visible {
    outline: 2px solid var(--stmc-gray-900);
    outline-offset: 2px;
}

.plataformas-pergunta {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--stmc-gray-400);
    text-align: center;
    margin: 0.5rem 0 1rem;
}

.plataforma-opcao {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1rem;
    background: var(--stmc-white);
    border: 1px solid var(--stmc-gray-200);
    border-left: 4px solid var(--stmc-red);
    color: var(--stmc-gray-900);
    text-decoration: none;
    transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.plataforma-opcao:hover,
.plataforma-opcao:focus {
    background: var(--stmc-red-bg);
    color: var(--stmc-gray-900);
}

.plataforma-opcao-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--stmc-red-bg);
    color: var(--stmc-red);
    font-size: 1.25rem;
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.plataforma-opcao:hover .plataforma-opcao-icon,
.plataforma-opcao:focus .plataforma-opcao-icon {
    background: var(--stmc-red);
    color: var(--stmc-white);
}

.plataforma-opcao-texto {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.plataforma-opcao-texto strong {
    font-size: 0.9375rem;
}

.plataforma-opcao-texto small {
    font-size: 0.75rem;
    color: var(--stmc-gray-500);
    margin-top: 0.125rem;
}

.plataforma-opcao-nova-aba {
    margin-left: auto;
    color: var(--stmc-gray-400);
    font-size: 0.875rem;
    flex-shrink: 0;
}

.servicos-destaque-title {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--stmc-gray-900);
    line-height: 1.15;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

.servicos-destaque-subtitle {
    font-size: 1rem;
    color: var(--stmc-gray-600);
    max-width: 520px;
    margin: 0.5rem auto 0;
    line-height: 1.6;
}

.servicos-associados-title {
    margin: 0 0 1.5rem;
    text-align: center;
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--stmc-red-dark);
    letter-spacing: -0.01em;
}

.servicos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3.5rem;
}

.servicos-grid>.servico-destaque-card {
    flex: 0 1 calc((100% - 4rem) / 5);
    max-width: calc((100% - 4rem) / 5);
}

.servico-destaque-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.875rem;
    padding: 1.75rem 1rem;
    background: var(--stmc-white);
    border: 1px solid rgba(198, 40, 40, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    text-decoration: none;
    color: var(--stmc-gray-700);
    min-height: 150px;
    position: relative;
    overflow: hidden;
}

.servico-destaque-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--stmc-red), var(--stmc-red-light));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.servico-destaque-card:hover::after {
    transform: scaleX(1);
}

.servico-destaque-card-com-imagem {
    padding: 0;
    aspect-ratio: 1212 / 690;
    min-height: auto;
    background: #1f1f1f;
    border: 0;
    box-shadow: 0 12px 26px rgba(123, 21, 21, 0.15), 0 2px 8px rgba(0, 0, 0, 0.08);
    isolation: isolate;
}

.servico-destaque-card-com-imagem::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.22) 100%),
        radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0) 38%);
    opacity: 0.7;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.servico-destaque-card-com-imagem::after {
    height: 4px;
    z-index: 2;
}

.servico-destaque-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease, filter 0.45s ease;
    z-index: 0;
}

.servico-destaque-card-com-imagem .servico-destaque-icon,
.servico-destaque-card-com-imagem span {
    display: none;
}

.servico-destaque-card-com-imagem:hover {
    border-color: transparent;
    box-shadow: 0 18px 34px rgba(123, 21, 21, 0.22), 0 4px 14px rgba(0, 0, 0, 0.14);
}

.servico-destaque-card-com-imagem:hover::before {
    opacity: 0.35;
}

.servico-destaque-card-com-imagem:hover .servico-destaque-img {
    transform: scale(1.06);
    filter: saturate(1.08) contrast(1.04);
}

.servico-destaque-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fef2f2, #fce4e4);
    border: 2px solid rgba(198, 40, 40, 0.12);
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.servico-destaque-icon i {
    font-size: 1.5rem;
    color: var(--stmc-red);
    transition: all 0.3s ease;
}

.servico-destaque-card span {
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.3;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
    color: var(--stmc-gray-800);
}

.servico-destaque-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(198, 40, 40, 0.15);
    border-color: rgba(198, 40, 40, 0.25);
}

.servico-destaque-card:hover .servico-destaque-icon {
    background: linear-gradient(135deg, var(--stmc-red), #d32f2f);
    border-color: var(--stmc-red);
}

.servico-destaque-card:hover .servico-destaque-icon i {
    color: var(--stmc-white);
    transform: scale(1.1);
}

.servico-destaque-card:hover span {
    color: var(--stmc-red);
}

/* ─── CTA Card (Filie-se) ─── */
.filiacao-cta-card {
    background: linear-gradient(135deg, #7b1515 0%, #C62828 30%, #d32f2f 60%, #e53935 100%);
    padding: 3rem 3.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(198, 40, 40, 0.3);
}

.filiacao-cta-card-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 10% 90%, rgba(255, 255, 255, 0.07) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 10%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.filiacao-cta-title {
    font-size: 1.625rem;
    font-weight: 800;
    color: var(--stmc-white);
    letter-spacing: -0.02em;
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

.filiacao-cta-text {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 1.25rem;
    max-width: 520px;
}

.filiacao-cta-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 1.5rem;
    margin-bottom: 0;
}

.filiacao-cta-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.filiacao-cta-feature i {
    color: #a5d6a7;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.filiacao-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    background: var(--stmc-white);
    color: var(--stmc-red-dark);
    padding: 1rem 2.25rem;
    font-size: 1.0625rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid var(--stmc-white);
}

.filiacao-cta-btn:hover {
    background: transparent;
    color: var(--stmc-white);
    border-color: var(--stmc-white);
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
}

.filiacao-cta-btn:active {
    transform: translateY(-1px);
}

.filiacao-cta-hint {
    margin-top: 0.875rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.02em;
}

/* Responsive: Serviços + Filiação */
@media (max-width: 991.98px) {
    .servicos-grid>.servico-destaque-card {
        flex-basis: calc((100% - 2rem) / 3);
        max-width: calc((100% - 2rem) / 3);
    }

    .filiacao-cta-card {
        padding: 2.5rem 2rem;
    }

    .filiacao-cta-title {
        font-size: 1.375rem;
    }

    .filiacao-cta-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .servicos-grid {
        gap: 0.5rem;
    }

    .servicos-grid>.servico-destaque-card {
        flex-basis: calc((100% - 0.75rem) / 2);
        max-width: calc((100% - 0.75rem) / 2);
    }

    .servico-destaque-card {
        padding: 1.25rem 0.75rem;
        min-height: 120px;
    }

    .servico-destaque-card-com-imagem {
        padding: 0;
        min-height: auto;
    }

    .servico-destaque-icon {
        width: 48px;
        height: 48px;
    }

    .servico-destaque-icon i {
        font-size: 1.25rem;
    }

    .servico-destaque-card span {
        font-size: 0.6875rem;
    }

    .servicos-destaque-title {
        font-size: 1.625rem;
    }

    .servicos-associados-title {
        font-size: 1rem;
    }

    .filiacao-cta-card {
        padding: 2rem 1.5rem;
    }

    .filiacao-cta-title {
        font-size: 1.25rem;
    }

    .filiacao-cta-text {
        font-size: 0.875rem;
    }

    .filiacao-cta-btn {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1.5rem;
    }

    .filiacao-cta-features {
        grid-template-columns: 1fr;
    }

    .servicos-filiacao-top-bar {
        margin-bottom: 1rem;
    }
}

/* ---------- Enquete ---------- */
.enquete-card,
.enquete-card-home {
    border-left: 4px solid var(--stmc-red);
}

.enquete-expirada {
    opacity: 0.7;
}

.enquete-opcoes {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.enquete-opcao {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--stmc-gray-50);
    border: 2px solid var(--stmc-gray-200);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-base);
    font-size: 0.875rem;
}

.enquete-opcao:hover {
    border-color: var(--stmc-red-light);
    background: #FFF5F5;
}

.enquete-opcao.selecionada {
    border-color: var(--stmc-red);
    background: #FFF0F0;
}

.enquete-opcao input[type="radio"],
.enquete-opcao input[type="checkbox"] {
    accent-color: var(--stmc-red);
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

.enquete-resultados {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.enquete-barra {
    height: 8px;
    background: var(--stmc-gray-100);
    border-radius: 0;
    overflow: hidden;
}

.enquete-barra-preenchida {
    height: 100%;
    background: linear-gradient(90deg, var(--stmc-red) 0%, var(--stmc-red-light) 100%);
    border-radius: 0;
    transition: width 0.6s ease;
    min-width: 2px;
}

/* ---------- LGPD ---------- */
.lgpd-content {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--stmc-gray-700);
}

.lgpd-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--stmc-gray-100);
}

.lgpd-section:last-child {
    border-bottom: none;
}

.lgpd-section h2 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--stmc-gray-900);
    margin-bottom: 0.75rem;
}

.lgpd-section ul {
    padding-left: 1.25rem;
}

.lgpd-section ul li {
    margin-bottom: 0.375rem;
}

.lgpd-contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #FEE2E2;
    color: var(--stmc-red);
    font-size: 1.25rem;
}

/* ---------- Footer LGPD link ---------- */
.footer-lgpd-link {
    font-size: 0.75rem;
    color: var(--stmc-gray-300);
    text-decoration: none;
    transition: color var(--transition-base);
}

.footer-lgpd-link:hover {
    color: var(--stmc-white);
}

/* ---------- Responsive: Serviços Home ---------- */
@media (max-width: 575.98px) {
    .servico-home-card {
        padding: 1rem 0.5rem;
        min-height: 80px;
    }

    .servico-home-card i {
        font-size: 1.25rem;
    }

    .servico-home-card span {
        font-size: 0.6875rem;
    }
}

/* ====================================================================
   Sindicalização — Authorization notice
   ==================================================================== */
.stmc-auth-notice {
    border: 2px solid #C62828;
    border-radius: var(--radius-lg, 0.75rem);
    overflow: hidden;
    background-color: #FFF5F5;
}

.stmc-auth-notice-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background-color: #C62828;
    color: #fff;
    font-size: 0.9375rem;
}

.stmc-auth-notice-header i {
    font-size: 1.125rem;
}

.stmc-auth-notice-body {
    padding: 1.25rem;
    font-size: 0.8125rem;
    line-height: 1.65;
    color: #374151;
}

.stmc-auth-notice-body p {
    margin-bottom: 0.75rem;
}

.stmc-auth-notice-body strong {
    color: #C62828;
}

/* Blazor ValidationMessage → Bootstrap style */
.validation-message {
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: var(--bs-form-invalid-color, #dc3545);
}

/* ===== Sintratel home: clube de beneficios, servicos, atendimento, reviews ===== */
.beneficios-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: max(220px, calc((100% - 3.75rem) / 4));
    gap: 1.25rem;
    padding-top: 2rem;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
}

.beneficios-grid::-webkit-scrollbar {
    display: none;
}

.beneficios-grid>.beneficio-card,
.beneficios-grid>.beneficio-link {
    min-width: 0;
    height: 100%;
    scroll-snap-align: start;
}

.beneficios-carousel {
    position: relative;
    max-width: 71.25rem;
    margin-inline: auto;
}

.beneficios-footer {
    width: min(100%, 71.25rem);
    margin-inline: auto;
}

.beneficios-carousel-controls {
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    display: flex;
    gap: 0.5rem;
}

.beneficios-carousel-controls[hidden] {
    display: none;
}

.beneficios-carousel-button {
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border: 1px solid var(--stmc-gray-200);
    background: var(--stmc-white);
    color: var(--stmc-red);
    cursor: pointer;
}

.beneficios-carousel-button:hover:not(:disabled) {
    border-color: var(--stmc-red);
    background: var(--stmc-red-bg);
}

.beneficios-carousel-button:disabled {
    color: var(--stmc-gray-400);
    cursor: not-allowed;
}

.beneficios-carousel-button:focus-visible,
.beneficios-viewport:focus-visible {
    outline: 2px solid var(--stmc-red);
    outline-offset: 2px;
}

.beneficio-card {
    background: var(--stmc-white);
    border: 1px solid var(--stmc-gray-200);
    border-top: 4px solid var(--stmc-red);
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.beneficio-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.beneficio-media {
    position: relative;
    aspect-ratio: 16 / 9;
    background: var(--stmc-red-bg);
    min-width: 0;
}

.beneficio-thumb {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.beneficio-body {
    padding: 1.25rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.beneficio-body small {
    color: var(--stmc-gray-600);
}

.beneficio-head {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 0.75rem;
}

.beneficio-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--stmc-red-bg);
    color: var(--stmc-red);
    font-size: 1.125rem;
}

.beneficio-tag {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--stmc-red);
    background: var(--stmc-red-bg);
    padding: 0.15rem 0.5rem;
}

.beneficio-card h5 {
    font-size: 0.9rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.beneficio-card p {
    font-size: 0.8125rem;
    color: var(--stmc-gray-600);
    margin-bottom: 0.5rem;
}

#clube-beneficios .beneficio-card p,
#servicos-sindicato .servicos-sind-info p,
.agenda-section .agenda-home-header p,
#voz-dos-associados .review-text {
    line-height: 1.6;
    text-align: left;
    word-spacing: normal;
}

.beneficio-card small {
    font-size: 0.6875rem;
    color: var(--stmc-gray-600);
    margin-top: auto;
}

.servicos-sind-list {
    max-width: 56rem;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--stmc-gray-200);
}

#servicos-sindicato {
    padding-block: clamp(1.75rem, 3vi, 2.5rem) clamp(0.75rem, 1vi, 1rem);
}

#servicos-sindicato .text-center.mb-4 {
    margin-bottom: 0.75rem !important;
}

#servicos-sindicato .servicos-sind-item {
    padding-block: 0.9rem;
}

#servicos-sindicato .servicos-sind-item > .section-link {
    padding: 0.45rem 0.6rem;
    border-radius: 0.25rem;
}

#servicos-sindicato .servicos-sind-item > .section-link:hover,
#servicos-sindicato .servicos-sind-item > .section-link:focus-visible {
    background: var(--stmc-red-bg);
    text-decoration: none;
}

#servicos-sindicato+.section-block {
    padding-top: clamp(2rem, 3vi, 3rem);
}

/* As avaliações formam uma área de prova social distinta da lista de serviços. */
#voz-dos-associados {
    margin-top: clamp(2rem, 4vi, 4rem);
    padding-block: clamp(2.5rem, 5vi, 4.5rem);
    background: var(--stmc-gray-50);
    border-block: 1px solid var(--stmc-gray-200);
}

#voz-dos-associados .servicos-badge {
    background: transparent;
    color: var(--stmc-gray-700);
    border: 1px solid var(--stmc-gray-300);
    box-shadow: none;
}

#voz-dos-associados .section-title {
    margin-bottom: 1.75rem !important;
}

#voz-dos-associados .review-card {
    background: var(--stmc-white);
    border-color: var(--stmc-gray-200);
    box-shadow: 0 0.5rem 1.5rem rgba(17, 24, 39, 0.06);
}


.servico-sind-icon {
    width: 2.75rem;
    height: 2.75rem;
    flex: 0 0 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--stmc-red-bg);
    color: var(--stmc-red);
    font-size: 1.25rem;
}

.servicos-sind-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.25rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--stmc-gray-200);
}

.servicos-sind-info {
    flex: 1 1 18rem;
    min-width: 0;
}

.servicos-sind-info h3 {
    margin: 0 0 0.25rem;
    color: var(--stmc-gray-900);
    font-size: 0.9rem;
    font-weight: 800;
}

.servicos-sind-info p {
    margin: 0;
    color: var(--stmc-gray-600);
    font-size: 0.875rem;
}

.servicos-sind-item>.section-link {
    flex: 0 1 auto;
    margin-left: auto;
}

.agenda-tag {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--stmc-red);
    margin-bottom: 0.25rem;
}

.agenda-destaque {
    border-left: 4px solid var(--stmc-red);
}

.review-stars {
    color: #f59e0b;
}

.review-text {
    font-size: 0.875rem;
    color: var(--stmc-gray-600);
    font-style: italic;
}

.review-verified {
    font-size: 0.75rem;
    color: #15803d;
    font-weight: 600;
}

/* ===== Responsive hardening (mobile-first patches) ===== */
@media (max-width: 767.98px) {

    .home-banner-img,
    .home-banner-img.banner-campanha-fina {
        aspect-ratio: auto;
    }
}

section[id] {
    scroll-margin-top: 96px;
}

@media (pointer: coarse) {
    .hero-carousel .carousel-indicators [data-bs-target] {
        width: 16px;
        height: 16px;
        padding: 14px;
        background-clip: content-box;
    }

    .hero-carousel .carousel-control-prev,
    .hero-carousel .carousel-control-next {
        width: 44px;
        height: 44px;
    }

    .stmc-topbar .social-icon,
    .stmc-footer-bottom .social-icon {
        width: 44px;
        height: 44px;
    }

    .stmc-navbar .nav-link {
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }

    .stmc-navbar .navbar-toggler {
        min-width: 44px;
        min-height: 44px;
    }

    .btn,
    .form-control,
    .form-select,
    .pagination .page-link,
    .cookie-consent-accept,
    .cookie-consent-reject {
        min-height: 44px;
    }

    /* A caixa de 18px é o desenho, não o alvo: quem recebe o toque é o rótulo,
       que já está ligado ao campo e continua marcando o mesmo checkbox. */
    .form-check {
        padding-block: 0.375rem;
    }

    .form-check-label {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
    }

    button.servicos-badge,
    .section-link {
        min-height: 44px;
    }

    .beneficios-carousel-button {
        width: 44px;
        height: 44px;
    }
}

.hero-mini-body h6,
.beneficio-card p,
.beneficio-card h5,
.review-text,
.agenda-home-info h5 {
    overflow-wrap: anywhere;
}

@media (max-width: 767.98px) {
    .beneficio-body {
        padding: 1rem 1.25rem 1.25rem;
    }
}

/* Meta de notícia: 10px vira 11px só no mobile, onde o toque exige leitura próxima. */
@media (max-width: 767.98px) {
    .noticia-apoio-meta {
        font-size: 0.6875rem;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Card de benefício clicável (Odonto Grátis) */
.beneficio-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.beneficio-link .beneficio-card {
    height: 100%;
}

.beneficio-link:focus-visible {
    outline: none;
}

.beneficio-link:focus-visible .beneficio-card {
    outline: 2px solid var(--stmc-red);
    outline-offset: 2px;
}

.beneficio-link small {
    color: var(--stmc-red);
    font-weight: 600;
}

.beneficio-link:hover small {
    text-decoration: underline;
}

/* ====================================================================
   Página: Odonto Grátis (odonto-gratis.html)
   ==================================================================== */
.odonto-hero {
    padding: 2rem 0 2.5rem;
    border-bottom: 1px solid var(--stmc-gray-100);
}

.odonto-hero .row {
    padding-top: 0.875rem;
}

.odonto-breadcrumb {
    font-size: 0.75rem;
    color: var(--stmc-gray-500);
}

.odonto-breadcrumb a {
    color: var(--stmc-gray-500);
    text-decoration: none;
}

.odonto-breadcrumb a:hover,
.odonto-breadcrumb a:focus {
    color: var(--stmc-red);
    text-decoration: underline;
}

.odonto-breadcrumb [aria-current="page"] {
    color: var(--stmc-gray-900);
    font-weight: 600;
}

.odonto-breadcrumb .bi {
    font-size: 0.625rem;
    opacity: 0.5;
}

.odonto-hero-title {
    font-size: 1.600rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--stmc-gray-900);
    margin: 1rem 0 0.875rem;
}

.odonto-hero-text {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--stmc-gray-600);
    max-width: 40rem;
}

.odonto-btn-ghost {
    background-color: var(--stmc-white);
    border: 1px solid var(--stmc-gray-200);
    color: var(--stmc-gray-900);
    font-weight: 600;
    transition: border-color var(--transition-fast), color var(--transition-fast);
    font-size: 0.9rem;
}

.odonto-btn-ghost:hover,
.odonto-btn-ghost:focus {
    background-color: var(--stmc-white);
    border-color: var(--stmc-red);
    color: var(--stmc-red);
}

/* --- Tabela de elegibilidade --- */
.odonto-table-wrap {
    background-color: var(--stmc-white);
    border: 1px solid var(--stmc-gray-100);
    box-shadow: var(--shadow-sm);
}

.odonto-table {
    width: 100%;
    margin: 0;
    table-layout: fixed;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.odonto-table thead th {
    background-color: var(--stmc-gray-900);
    color: var(--stmc-white);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-align: left;
    padding: 0.875rem 1.25rem;
    white-space: normal;
}

.odonto-table thead th:first-child {
    width: 44%;
}

.odonto-table thead th:nth-child(2) {
    width: 30%;
}

.odonto-table th[scope="row"],
.odonto-table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--stmc-gray-100);
    text-align: left;
    vertical-align: middle;
    color: var(--stmc-gray-600);
}

.odonto-table th[scope="row"] {
    font-weight: 600;
    color: var(--stmc-gray-900);
}

.odonto-table tbody tr:last-child th,
.odonto-table tbody tr:last-child td {
    border-bottom: 0;
}

.odonto-table tbody tr:nth-child(even) {
    background-color: var(--stmc-gray-50);
}

.odonto-gratis-tag {
    display: inline-block;
    padding: 0.25rem 0.625rem;
    background-color: var(--stmc-red-bg);
    border: 1px solid var(--stmc-red);
    color: var(--stmc-red-dark);
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.4;
    white-space: normal;
}

.odonto-note {
    font-size: 0.75rem;
    line-height: 1.65;
    color: var(--stmc-gray-500);
    margin-top: 1rem;
}

/* --- Listas de apoio --- */
.odonto-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 1.25rem;
}

.odonto-list li {
    position: relative;
    padding: 0.375rem 0 0.375rem 1.5rem;
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--stmc-gray-600);
}

.odonto-list .bi {
    position: absolute;
    left: 0;
    top: 0.5rem;
    color: var(--stmc-red);
    font-size: 0.8125rem;
}

/* --- FAQ de dependentes e carência --- */
.odonto-faq {
    background-color: var(--stmc-white);
    border: 1px solid var(--stmc-gray-200);
    border-top: 4px solid var(--stmc-red);
    box-shadow: var(--shadow-sm);
}

.odonto-faq-item+.odonto-faq-item {
    border-top: 1px solid var(--stmc-gray-100);
}

.odonto-faq-heading {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
}

.odonto-faq-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.125rem 1.5rem;
    background-color: transparent;
    border: 0;
    text-align: left;
    font: inherit;
    font-weight: bold;
    font-size: 0.9375rem;
    color: var(--stmc-gray-900);
    cursor: pointer;
    transition: color var(--transition-fast);
}

.odonto-faq-btn:hover {
    color: var(--stmc-red);
}

.odonto-faq-btn:focus-visible {
    outline: 2px solid var(--stmc-red);
    outline-offset: -2px;
}

.odonto-faq-btn i {
    flex: 0 0 auto;
    color: var(--stmc-red);
    transition: transform var(--transition-base);
}

.odonto-faq-btn[aria-expanded="true"] i {
    transform: rotate(45deg);
}

.odonto-faq-body {
    max-width: 60rem;
    padding: 0 1.5rem 1.25rem;
    font-size: 0.9375rem;
    line-height: 1.75;
    color: var(--stmc-gray-600);
}

.odonto-faq-body p {
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
}

.odonto-faq-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.25rem;
    margin-top: 1rem;
}

/* --- Passo a passo --- */
.odonto-steps {
    list-style: none;
    padding: 0;
    margin: 0;
}

.odonto-step {
    position: relative;
    display: flex;
    gap: 1rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--stmc-gray-200);
}

.odonto-step:last-child {
    border-bottom: 0;
}

.odonto-step-num {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    background-color: var(--stmc-red);
    color: var(--stmc-white);
    font-size: 0.9375rem;
    font-weight: 700;
}

.odonto-step h3 {
    font-size: 0.8375rem;
    font-weight: 700;
    color: var(--stmc-gray-900);
    margin-bottom: 0.25rem;
}

.odonto-step p {
    font-size: 0.8125rem;
    line-height: 1.65;
    color: var(--stmc-gray-600);
    margin: 0;
}

.odonto-telefone {
    font-size: 0.8125rem;
    color: var(--stmc-gray-600);
}

.odonto-telefone a {
    font-weight: 600;
    color: var(--stmc-gray-900);
}

.odonto-telefone a:hover,
.odonto-telefone a:focus {
    color: var(--stmc-red);
}

.odonto-hero p,
.odonto-hero-text,
.odonto-table th,
.odonto-table td,
.odonto-step h3 {
    overflow-wrap: anywhere;
}

/* --- Cartão de valores do hero --- */
.odonto-price {
    padding: 1.5rem;
    background-color: var(--stmc-white);
    border: 1px solid var(--stmc-gray-200);
    border-top: 4px solid var(--stmc-red);
    box-shadow: var(--shadow-sm);
}

.odonto-price-title {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--stmc-gray-500);
    margin-bottom: 1rem;
}

.odonto-price-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.odonto-price-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--stmc-gray-100);
}

.odonto-price-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--stmc-gray-900);
}

.odonto-price-list li:last-child {
    border-bottom: 0;
}

.odonto-price-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--stmc-gray-900);
    white-space: nowrap;
}

.odonto-price-sum {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 0.25rem;
    padding-top: 0.875rem;
    border-top: 2px solid var(--stmc-gray-900);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--stmc-gray-900);
}

.odonto-price-sum strong {
    font-size: 1.25rem;
    white-space: nowrap;
}

.odonto-price-foot {
    font-size: 0.8125rem;
    line-height: 1.6;
    color: var(--stmc-gray-600);
    margin: 1rem 0 0.75rem;
}

.odonto-price-foot i {
    color: var(--stmc-red);
    margin-right: 0.25rem;
}

/* --- Aside: atalhos para os documentos oficiais da operadora --- */
.odonto-aside-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.odonto-aside-link {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--stmc-gray-200);
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--stmc-gray-900);
    text-decoration: none;
    transition: border-color var(--transition-fast), color var(--transition-fast);
}

.odonto-aside-link:hover,
.odonto-aside-link:focus {
    border-color: var(--stmc-red);
    color: var(--stmc-red);
}

.odonto-aside-link:focus-visible {
    outline: 2px solid var(--stmc-red);
    outline-offset: 2px;
}

.odonto-aside-link>i:first-child {
    flex: 0 0 auto;
    font-size: 1.25rem;
    color: var(--stmc-red);
}

.odonto-aside-link .bi-arrow-up-right {
    flex: 0 0 auto;
    margin-left: auto;
    font-size: 0.75rem;
    color: var(--stmc-gray-400);
}

@media (max-width: 991.98px) {
    .odonto-hero-title {
        font-size: 1.625rem;
    }
}

@media (max-width: 767.98px) {
    .odonto-hero {
        padding: 1.5rem 0 2rem;
    }

    .odonto-hero-title {
        font-size: 1.375rem;
    }

    .odonto-hero-text {
        font-size: 0.875rem;
    }

    .odonto-faq-btn,
    .odonto-faq-body {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .odonto-step {
        gap: 0.75rem;
        padding: 1rem 0;
    }

    .odonto-table {
        font-size: 0.8125rem;
    }

    .odonto-table thead th,
    .odonto-table th[scope="row"],
    .odonto-table td {
        padding: 0.75rem 0.875rem;
    }

    .odonto-hero .btn,
    #como-solicitar .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (pointer: coarse) {

    .odonto-breadcrumb a,
    .odonto-faq-cta .btn,
    .odonto-aside-link {
        min-height: 44px;
    }
}

/* ============================================================
   Faixa Denúncia Anônima — .denuncia-strip
   ============================================================ */
.denuncia-strip {
    background: #1a1a2e;
    border-top: 3px solid var(--stmc-red);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.denuncia-strip-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
    flex-wrap: wrap;
}

.denuncia-strip-info {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    flex: 1 1 auto;
    min-width: 0;
}

.denuncia-strip-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: rgba(198, 40, 40, 0.18);
    color: var(--stmc-red-light);
    font-size: 1rem;
    flex-shrink: 0;
}

.denuncia-strip-text {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.denuncia-strip-text strong {
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 700;
    white-space: nowrap;
}

.denuncia-strip-sub {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.8125rem;
    font-weight: 400;
}

.denuncia-strip-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.denuncia-strip-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.875rem;
    background: var(--stmc-red);
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: background var(--transition-fast), transform var(--transition-fast);
    white-space: nowrap;
}

.denuncia-strip-btn-primary:hover,
.denuncia-strip-btn-primary:focus-visible {
    background: var(--stmc-red-dark);
    color: #fff;
    transform: translateY(-1px);
}

.denuncia-strip-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    background: transparent;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.8125rem;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
    white-space: nowrap;
}

.denuncia-strip-btn-ghost:hover,
.denuncia-strip-btn-ghost:focus-visible {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
}

/* Mobile: empilha texto acima dos botões */
@media (max-width: 575.98px) {
    .denuncia-strip-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.625rem;
    }

    .denuncia-strip-sub {
        display: block;
    }

    .denuncia-strip-actions {
        width: 100%;
    }

    .denuncia-strip-btn-primary,
    .denuncia-strip-btn-ghost {
        flex: 1;
        justify-content: center;
    }
}
/* ---------- sheets: modais viram folha inferior só na tela pequena ---------- */
/* O desktop mantém o diálogo centralado do Bootstrap; no mobile o mesmo modal
   encosta no rodapé, respeita a safe area e entra por baixo, como uma folha. */
@media (max-width: 575.98px) {
    .modal {
        --bs-modal-margin: 0px;
        --bs-modal-border-radius: 0;
    }

    .modal-dialog-centered {
        align-items: flex-end;
    }

    .modal.fade:not(.show) .modal-dialog {
        transform: translate(0, 100%);
    }

    .modal-content {
        padding-bottom: env(safe-area-inset-bottom);
    }

    .modal-footer {
        justify-content: stretch;
    }

    .modal-footer .btn {
        flex: 1 1 auto;
        justify-content: center;
    }
}

.beneficios-intro {
    display: flex;
    justify-content: center;
    text-align: center;
}

.beneficios-intro h2 {
    margin: 0 0 1.5rem;
    font-size: 1rem;
    font-weight: 700;
}

.beneficios-intro p,
.beneficios-intro-link,
.beneficios-categorias,
.beneficios-footer > strong,
.noticia-apoio-thumb,
.noticia-apoio-chevron,
.noticias-apoio-todas {
    display: none;
}

.beneficios-grid > [hidden] {
    display: none !important;
}

.mobile-services,
.mobile-bottom-nav,
.mobile-header-actions,
.mobile-brand-wordmark,
.mobile-skip-link {
    display: none;
}

@media (max-width: 767.98px) {
    :root {
        --mobile-shell-bg: #f4f6f8;
        --mobile-surface: #ffffff;
        --mobile-ink: #111827;
        --mobile-muted: #526071;
        --space-1: 4px;
        --space-2: 8px;
        --space-3: 12px;
        --space-4: 16px;
        --space-5: 20px;
        --space-6: 24px;
        --space-7: 32px;
        --space-8: 40px;
        --space-9: 48px;
        --space-10: 64px;
        --mobile-gutter: 20px;
        --mobile-card-gap: 16px;
        --mobile-bottom-nav-height: 4.25rem;
        --page-gutter-mobile: 20px;
        --card-radius: 16px;
        --mobile-nav-height: var(--mobile-bottom-nav-height);
    }

    html {
        scroll-padding-top: 4.5rem;
    }

    body {
        padding-bottom: calc(var(--mobile-bottom-nav-height) + env(safe-area-inset-bottom));
        background: var(--mobile-shell-bg);
    }

    .mobile-skip-link {
        position: fixed;
        display: block;
        inset: 0.5rem auto auto 0.5rem;
        z-index: 2000;
        padding: 0.65rem 0.9rem;
        color: #fff;
        background: var(--stmc-gray-900);
        border-radius: 0.5rem;
        transform: translateY(-150%);
    }

    .mobile-skip-link:focus {
        display: block;
        transform: translateY(0);
    }

    .page-wrapper {
        min-height: 100dvh;
        background: var(--mobile-shell-bg);
    }

    .stmc-topbar {
        display: none;
    }

    .stmc-navbar {
        min-height: 4.25rem;
        padding: max(0.45rem, env(safe-area-inset-top)) var(--mobile-gutter) 0.45rem;
        background: rgb(255 255 255 / 0.96);
        border-bottom: 1px solid #e8ebef;
        box-shadow: 0 3px 16px rgb(17 24 39 / 0.07);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .stmc-navbar > .container {
        max-width: none;
        padding: 0;
    }

    .stmc-navbar .navbar-brand {
        margin: 0;
        padding: 0;
    }

    .stmc-navbar .navbar-brand img {
        width: auto;
        height: 2.75rem;
        object-fit: contain;
    }

    .mobile-brand-wordmark {
        display: grid;
        gap: 0.05rem;
        margin-left: 0.35rem;
        color: #111827;
        line-height: 1;
    }

    .mobile-brand-wordmark strong {
        font-size: 1.05rem;
        font-weight: 750;
        letter-spacing: -0.045em;
    }

    .mobile-brand-wordmark b {
        color: var(--stmc-red);
        font-size: 0.72em;
        font-weight: 750;
    }

    .mobile-brand-wordmark small {
        color: #667085;
        font-size: 0.625rem;
        font-weight: 600;
        letter-spacing: 0.025em;
    }

    .mobile-header-actions {
        display: flex;
        align-items: center;
        gap: 0.45rem;
        margin-left: auto;
    }

    .mobile-header-actions a {
        display: grid;
        width: 2.5rem;
        height: 2.5rem;
        place-items: center;
        color: #344054;
        background: #f5f6f8;
        border: 1px solid #edf0f3;
        border-radius: 50%;
        font-size: 1.15rem;
    }

    .mobile-header-actions .desktop-navbar-search {
        display: grid;
        width: 2.5rem;
        height: 2.5rem;
        min-width: 44px;
        min-height: 44px;
        padding: 0;
        place-items: center;
        flex: 0 0 auto;
        border: 1px solid #edf0f3;
        border-radius: 50%;
        background: #f5f6f8;
        color: #344054;
    }

    .mobile-header-actions .desktop-navbar-search:hover,
    .mobile-header-actions .desktop-navbar-search:focus-visible {
        background: #fff0f0;
        color: var(--stmc-red);
    }

    .stmc-navbar .navbar-toggler {
        display: inline-grid;
        width: 2.75rem;
        height: 2.75rem;
        margin-left: 0.35rem;
        padding: 0;
        place-items: center;
        flex: 0 0 auto;
        border: 1px solid #edf0f3;
        border-radius: 0.75rem;
        background: #f5f6f8;
        color: #344054;
    }

    .stmc-navbar .navbar-toggler:focus-visible {
        outline: 3px solid rgb(198 40 40 / 0.35);
        outline-offset: 2px;
    }

    .stmc-navbar .navbar-collapse {
        position: absolute;
        inset: 100% 0 auto;
        z-index: 1045;
        max-height: calc(100dvh - 8.5rem - env(safe-area-inset-bottom));
        overflow-y: auto;
        padding: 1rem var(--mobile-gutter) 1.25rem;
        background: #fff;
        border-top: 1px solid #e5e7eb;
        border-radius: 0 0 1rem 1rem;
        box-shadow: 0 18px 45px rgb(17 24 39 / 0.18);
    }

    body.mobile-shell .stmc-navbar .navbar-collapse:not(.show) {
        display: none !important;
    }

    body.mobile-shell .stmc-navbar .navbar-collapse[hidden] {
        display: none !important;
    }

    .stmc-navbar .nav-link {
        min-height: 2.9rem;
        display: flex;
        align-items: center;
        padding: 0.65rem 0.25rem;
        border-bottom: 1px solid #eef0f3;
        font-size: 0.9rem;
        font-weight: 650;
    }

    main {
        min-width: 0;
    }

    .home-banner {
        margin: 0.75rem var(--mobile-gutter) 0;
        overflow: hidden;
        background: #082f34;
        border-radius: 0.9rem;
        box-shadow: 0 5px 15px rgb(15 23 42 / 0.1);
    }

    .home-banner-img,
    .home-banner-img.banner-campanha-fina {
        width: 100%;
        height: clamp(8.75rem, 42vw, 11rem);
        max-height: none;
        object-fit: cover;
        object-position: center;
        margin: 0;
        filter: none;
        mask-image: none;
        -webkit-mask-image: none;
    }

    .manchete-hero {
        margin: 0.7rem var(--mobile-gutter) 0;
        background: transparent;
    }

    .manchete-hero .container {
        padding: 0;
    }

    .manchete-hero-body {
        position: relative;
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 0.8rem;
        margin: 0;
        min-height: 14.5rem;
        padding: 1.1rem;
        overflow: hidden;
        background: #fff;
        border: 1px solid #e8ebef;
        border-radius: 0.9rem;
        box-shadow: 0 4px 14px rgb(17 24 39 / 0.06);
        text-align: left;
    }

    .manchete-hero-body::after {
        display: none;
    }

    .manchete-hero-kicker,
    .manchete-hero-title,
    .manchete-hero-subtitle,
    .manchete-hero-cta {
        grid-column: 1;
    }

    .manchete-hero-kicker {
        margin: 0;
        font-size: 0.625rem;
        letter-spacing: 0.12em;
    }

    .manchete-hero-title {
        margin: -0.1rem 0 0;
        font-size: 1rem;
        line-height: 1.14;
    }

    .manchete-hero-subtitle {
        display: -webkit-box;
        margin: 0;
        overflow: hidden;
        color: var(--mobile-muted);
        font-size: 0.75rem;
        line-height: 1.42;
        line-clamp: 3;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }

    .manchete-hero-subtitle br {
        display: none;
    }

    .manchete-hero-subtitle-desktop {
        display: none;
    }

    .manchete-hero-subtitle-mobile {
        display: block;
        max-width: 34ch;
        margin: var(--space-3) 0 var(--space-4);
        line-height: 1.45;
        text-wrap: pretty;
    }

    .manchete-hero-cta {
        margin-top: 0.2rem;
        font-size: 0.75rem;
    }

    .denuncia-strip {
        margin: 0.7rem var(--mobile-gutter) 0;
        overflow: hidden;
        border: 1px solid #34384f;
        border-top: 3px solid var(--stmc-red);
        border-radius: 0.9rem;
        box-shadow: 0 5px 15px rgb(17 24 39 / 0.12);
    }

    .denuncia-strip-inner {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.65rem;
        padding: 0.85rem;
    }

    .denuncia-strip-text {
        display: grid;
        gap: 0.1rem;
    }

    .denuncia-strip-text strong {
        font-size: 0.875rem;
    }

    .denuncia-strip-sub {
        font-size: 0.7rem;
        line-height: 1.35;
    }

    .denuncia-strip-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
        gap: 0.45rem;
    }

    .denuncia-strip-btn-primary,
    .denuncia-strip-btn-ghost {
        min-height: 2.4rem;
        justify-content: center;
        padding: 0.45rem 0.55rem;
        font-size: 0.72rem;
    }

    .mobile-services {
        display: block;
        margin: 0.9rem 0 0;
        padding: 0 var(--mobile-gutter);
    }

    .mobile-services-heading {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        margin-bottom: 0.6rem;
    }

    .mobile-services-heading h2 {
        margin: 0;
        color: var(--mobile-ink);
        font-size: 0.95rem;
        font-weight: 800;
        letter-spacing: -0.02em;
    }

    .mobile-services-heading a {
        flex: 0 0 auto;
        color: var(--stmc-red);
        font-size: 0.72rem;
        font-weight: 750;
    }

    .mobile-services-grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0.4rem;
    }

    .mobile-services-grid > a {
        display: grid;
        min-width: 0;
        min-height: 5.75rem;
        place-items: center;
        align-content: center;
        gap: 0.45rem;
        padding: 0.65rem 0.25rem;
        color: #263142;
        text-align: center;
        background: #fff;
        border: 1px solid #e7eaee;
        border-radius: 0.75rem;
        box-shadow: 0 2px 8px rgb(17 24 39 / 0.04);
    }

    .mobile-services-grid > a:first-child {
        border-bottom: 3px solid var(--stmc-red);
    }

    .mobile-services-grid span {
        display: grid;
        width: 2.15rem;
        height: 2.15rem;
        place-items: center;
        color: var(--stmc-red);
        background: #fff1f2;
        border-radius: 0.6rem;
        font-size: 1rem;
    }

    .mobile-services-grid strong {
        overflow-wrap: anywhere;
        font-size: 0.62rem;
        font-weight: 700;
        line-height: 1.25;
    }

    #informacao-categoria {
        padding: 1.25rem 0 !important;
        background: var(--mobile-shell-bg);
    }

    #informacao-categoria > .container {
        padding: 0;
    }

    #informacao-categoria .noticias-layout {
        display: block;
    }

    #informacao-categoria .noticias-destaque-col {
        display: none;
    }

    .noticias-apoio {
        gap: 0.5rem;
        border: 0;
    }

    .noticias-apoio-heading {
        padding: 0 0 0.75rem;
        border: 0;
        color: var(--mobile-ink);
        font-size: 0.95rem;
    }

    .noticias-apoio-heading > span {
        font-size: 1rem;
    }

    .noticia-apoio {
        min-height: 5.3rem;
        padding: 0.75rem;
        background: #fff;
        border: 1px solid #e7eaee;
        border-radius: 12px;
        box-shadow: 0 3px 10px rgb(17 24 39 / 0.045);
    }

    .noticia-apoio-index {
        align-self: start;
        display: grid;
        width: 1.8rem;
        height: 1.8rem;
        place-items: center;
        color: #fff;
        background: var(--stmc-red);
        border-radius: 50%;
        font-size: 0.62rem;
    }

    .noticia-apoio-meta {
        font-size: 0.62rem;
        line-height: 1.3;
    }

    .noticia-apoio-title {
        font-size: 0.82rem;
        line-height: 1.3;
    }

    .noticia-apoio-action {
        font-size: 0.68rem;
    }

    .stmc-footer {
        padding-bottom: env(safe-area-inset-bottom);
    }

    .mobile-bottom-nav {
        position: fixed;
        inset: auto 0 0;
        z-index: 1050;
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        min-height: var(--mobile-bottom-nav-height);
        padding: 0.35rem 0.35rem calc(0.35rem + env(safe-area-inset-bottom));
        background: rgb(255 255 255 / 0.97);
        border-top: 1px solid #e3e6ea;
        box-shadow: 0 -5px 20px rgb(17 24 39 / 0.09);
        backdrop-filter: blur(14px);
    }

    .mobile-bottom-nav a,
    .mobile-bottom-nav button {
        position: relative;
        display: grid;
        min-width: 0;
        min-height: 3.35rem;
        place-items: center;
        align-content: center;
        gap: 0.15rem;
        padding: 0.25rem;
        color: #596678;
        background: transparent;
        border: 0;
        font: inherit;
        text-decoration: none;
    }

    .mobile-bottom-nav i {
        font-size: 1.15rem;
        line-height: 1;
    }

    .mobile-bottom-nav span {
        font-size: 0.62rem;
        font-weight: 650;
    }

    .mobile-bottom-nav [aria-current="page"] {
        color: var(--stmc-red);
    }

    .mobile-bottom-nav [aria-current="page"]::before {
        position: absolute;
        top: -0.35rem;
        width: 2.8rem;
        height: 0.2rem;
        background: var(--stmc-red);
        border-radius: 0 0 0.2rem 0.2rem;
        content: "";
    }

    .mobile-header-actions a:focus-visible,
    .mobile-header-actions button:focus-visible,
    .mobile-services a:focus-visible,
    .mobile-bottom-nav a:focus-visible,
    .mobile-bottom-nav button:focus-visible {
        outline: 3px solid rgb(198 40 40 / 0.35);
        outline-offset: 2px;
    }

    @media (max-width: 359.98px) {
        .mobile-services-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        .manchete-hero-body {
            grid-template-columns: minmax(0, 1fr);
        }
    }
}

@media (prefers-reduced-motion: reduce) {
    .mobile-bottom-nav *,
    .mobile-header-actions *,
    .mobile-services * {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}

/* Continuidade do padrão de aplicativo nas seções restantes da página inicial. */
#voz-dos-associados .review-join-card {
    display: none;
}

@media (max-width: 767.98px) {
    body.mobile-shell main.home-page > .desktop-beneficios-breadcrumb,
    body.mobile-shell main.home-page > #campanha-salarial {
        display: none !important;
    }

    #campanha-salarial {
        display: none;
    }

    #informacao-categoria .noticias-layout {
        display: grid;
        gap: 0.8rem;
        --bs-gutter-y: 0;
    }

    #informacao-categoria .noticias-destaque-col {
        display: block;
    }

    #informacao-categoria .hero-carousel {
        overflow: hidden;
        border: 1px solid #e4e7ec;
        border-radius: 0.9rem;
        box-shadow: 0 5px 16px rgb(17 24 39 / 0.09);
    }

    #informacao-categoria .hero-featured {
        aspect-ratio: 2.18 / 1;
        max-height: 11.5rem;
    }

    #informacao-categoria .hero-featured-caption {
        padding: 0.8rem;
    }

    #informacao-categoria .hero-featured-label {
        margin-bottom: 0.45rem;
        font-size: 0.58rem;
    }

    #informacao-categoria .hero-featured-caption h2 {
        max-width: 27ch;
        font-size: clamp(0.95rem, 4.3vw, 1.18rem);
        font-weight: 700;
        line-height: 1.22;
    }

    #informacao-categoria .hero-carousel .carousel-control-prev,
    #informacao-categoria .hero-carousel .carousel-control-next {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
        flex: 0 0 44px;
    }

    #informacao-categoria .hero-carousel .carousel-control-prev {
        left: 0.55rem;
    }

    #informacao-categoria .hero-carousel .carousel-control-next {
        right: 0.55rem;
    }

    #informacao-categoria .hero-carousel .carousel-indicators {
        justify-content: flex-end;
        margin-right: 0.75rem;
        margin-bottom: 0.3rem;
        gap: 0;
    }

    #informacao-categoria .hero-carousel .carousel-indicators [data-bs-target] {
        width: 2rem;
        height: 2rem;
        margin: 0;
        padding: 0;
        background: radial-gradient(circle, rgb(255 255 255 / 0.7) 0 0.23rem, transparent 0.26rem);
        background-clip: border-box;
        border: 0;
        border-radius: 0;
        opacity: 1;
        transform: none;
    }

    #informacao-categoria .hero-carousel .carousel-indicators .active {
        background: radial-gradient(circle, var(--stmc-red-light) 0 0.28rem, transparent 0.31rem);
        transform: none;
    }

    #informacao-categoria .noticias-apoio-heading {
        justify-content: space-between;
        gap: 0.75rem;
        margin-top: 0;
        order: 0;
        margin-bottom: 0;
        padding-top: 0.15rem;
        padding-bottom: 0.45rem;
        font-size: 0.95rem;
        letter-spacing: normal;
        text-transform: none;
    }

    .noticias-apoio-heading::before {
        display: none;
    }

    .noticias-apoio-todas {
        display: inline-flex;
        align-items: center;
        gap: 0.3rem;
        margin-left: auto;
        color: var(--stmc-red);
        font-size: 0.875rem;
        font-weight: 750;
        letter-spacing: 0;
        text-transform: none;
    }

    .noticia-apoio {
        order: 1;
        grid-template-columns: 6rem minmax(0, 1fr) 0.85rem;
        gap: 0.65rem;
        min-height: 4.55rem;
        padding: 0.45rem 0.55rem;
    }

    .noticia-apoio:hover {
        padding-inline: 0.35rem;
    }

    .noticia-apoio-index,
    .noticia-apoio-action {
        display: none;
    }

    .noticia-apoio-thumb {
        display: block;
        align-self: stretch;
        min-height: 3.8rem;
        overflow: hidden;
        background: #e9edf1;
        border-radius: 0.6rem;
    }

    .noticia-apoio-thumb img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .noticia-apoio-body {
        align-self: center;
    }

    .noticia-apoio-meta {
        display: -webkit-box;
        overflow: hidden;
        font-size: 0.56rem;
        line-height: 1.25;
        line-clamp: 1;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 1;
    }

    .noticia-apoio-title {
        display: -webkit-box;
        margin-top: 0.2rem;
        overflow: hidden;
        font-size: 0.72rem;
        line-height: 1.18;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .noticia-apoio-chevron {
        display: grid;
        align-self: stretch;
        place-items: center;
        color: #667085;
        font-size: 0.85rem;
    }

    #clube-beneficios.section-servicos-filiacao {
        padding-bottom: 1.25rem;
        background: #fff;
    }

    #clube-beneficios .servicos-filiacao-top-bar {
        height: 3px;
        margin-bottom: 3.25rem;
    }

    #clube-beneficios > .container {
        max-width: none;
        padding-inline: 0;
    }

    #clube-beneficios .text-center.mb-4 {
        margin-bottom: 0.6rem !important;
        text-align: left !important;
    }

    #clube-beneficios .servicos-badge {
        padding: 0.45rem 0.7rem;
        border-radius: 0.35rem;
        font-size: 0.58rem;
    }

    .beneficios-intro {
        display: flex;
        align-items: end;
        justify-content: space-between;
        gap: 0.8rem;
        text-align: left;
    }

    .beneficios-intro h2 {
        margin: 0;
        color: var(--mobile-ink);
        font-size: 1.12rem;
        font-weight: 850;
        letter-spacing: -0.045em;
        line-height: 1.05;
    }

    .beneficios-intro p {
        display: block;
        max-width: 24rem;
        margin: 0.35rem 0 0;
        color: var(--mobile-muted);
        font-size: 0.68rem;
        line-height: 1.4;
    }

    .beneficios-intro-link {
        display: inline-flex;
        flex: 0 0 auto;
        min-height: 2.25rem;
        align-items: center;
        gap: 0.4rem;
        padding: 0.45rem 0.55rem;
        color: var(--stmc-red);
        background: #fff5f5;
        border: 1px solid #fee2e2;
        border-radius: 0.65rem;
        font: inherit;
        font-size: 0.62rem;
        font-weight: 750;
    }

    .beneficios-categorias {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: minmax(3.9rem, 1fr);
        gap: 0.45rem;
        margin: 0.8rem calc(var(--mobile-gutter) * -1) 0;
        padding: 0 var(--mobile-gutter) 0.25rem;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scroll-snap-type: inline mandatory;
        scrollbar-width: none;
    }

    .beneficios-categorias::-webkit-scrollbar {
        display: none;
    }

    .beneficios-categorias span {
        display: grid;
        min-height: 3.65rem;
        place-items: center;
        align-content: center;
        gap: 0.3rem;
        padding: 0.4rem 0.3rem;
        color: #566273;
        background: #fff;
        border: 1px solid #e7eaee;
        border-radius: 0.7rem;
        box-shadow: 0 2px 8px rgb(17 24 39 / 0.04);
        font: inherit;
        font-size: 0.56rem;
        font-weight: 650;
        scroll-snap-align: start;
        transition: color 160ms ease, border-color 160ms ease, box-shadow 160ms ease,
            transform 160ms ease;
    }

    .beneficios-categorias span i {
        color: #596779;
        font-size: 0.9rem;
    }

    .beneficios-categorias span:hover {
        color: var(--stmc-red);
        border-color: #f2c7c7;
        box-shadow: 0 4px 12px rgb(17 24 39 / 0.1);
        transform: translateY(-2px);
    }

    .beneficios-categorias span:hover i {
        color: var(--stmc-red);
    }

    #clube-beneficios .beneficios-carousel {
        margin-inline: calc(var(--mobile-gutter) * -1);
    }

    #clube-beneficios .beneficios-carousel-controls {
        display: none;
    }

    #clube-beneficios .beneficios-grid {
        grid-auto-columns: clamp(11rem, 50vw, 12.5rem);
        gap: 0.6rem;
        padding: 0.7rem var(--mobile-gutter) 0.3rem;
        scroll-padding-inline: var(--mobile-gutter);
    }

    #clube-beneficios .beneficio-card {
        border: 1px solid #e7eaee;
        border-top: 4px solid var(--stmc-red);
        border-radius: 0.85rem;
        box-shadow: 0 4px 14px rgb(17 24 39 / 0.07);
    }

    #clube-beneficios .beneficio-media {
        aspect-ratio: 16 / 8.9;
    }

    #clube-beneficios .beneficio-body {
        min-height: 11.25rem;
        padding: 0.7rem;
    }

    #clube-beneficios .beneficio-head {
        gap: 0.45rem;
        margin-bottom: 0.55rem;
    }

    #clube-beneficios .beneficio-icon {
        width: 1.9rem;
        height: 1.9rem;
        border-radius: 0.55rem;
        font-size: 0.82rem;
    }

    #clube-beneficios .beneficio-tag {
        border-radius: 0.25rem;
        font-size: 0.58rem;
    }

    #clube-beneficios .beneficio-card h5 {
        font-size: 0.82rem;
        line-height: 1.2;
    }

    #clube-beneficios .beneficio-card p {
        display: -webkit-box;
        overflow: hidden;
        font-size: 0.66rem;
        line-height: 1.35;
        line-clamp: 5;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 5;
    }

    #clube-beneficios .beneficio-card small {
        font-size: 0.6rem;
    }

    #clube-beneficios .beneficios-footer {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-top: 0.75rem !important;
        text-align: left !important;
    }

    #clube-beneficios .beneficios-footer > strong {
        display: block;
        color: var(--mobile-ink);
        font-size: 1rem;
    }

    #clube-beneficios .beneficios-footer .section-link {
        font-size: 0.7rem;
    }

    .beneficio-strip {
        margin-block: 0.9rem;
    }

    #servicos-sindicato {
        padding: 1.1rem 0 0.8rem;
        background: var(--mobile-shell-bg);
    }

    #servicos-sindicato > .container {
        padding: 0;
    }

    #servicos-sindicato .text-center.mb-4 {
        margin-bottom: 0.65rem !important;
        text-align: left !important;
    }

    #servicos-sindicato .servicos-badge {
        padding: 0.45rem 0.7rem;
        border-radius: 0.35rem;
        font-size: 0.58rem;
    }

    #servicos-sindicato .servicos-sind-list {
        display: grid;
        gap: 0.55rem;
        border: 0;
    }

    #servicos-sindicato .servicos-sind-item {
        display: grid;
        grid-template-columns: 2.4rem minmax(0, 1fr) auto;
        gap: 0.65rem;
        padding: 0.75rem;
        background: #fff;
        border: 1px solid #e5e8ec;
        border-radius: 0.75rem;
        box-shadow: 0 3px 10px rgb(17 24 39 / 0.045);
    }

    #servicos-sindicato .servicos-sind-icon {
        display: grid;
        width: 2.4rem;
        height: 2.4rem;
        place-items: center;
        color: var(--stmc-red);
        background: #fff1f2;
        border-radius: 0.6rem;
    }

    #servicos-sindicato .servicos-sind-info {
        min-width: 0;
    }

    #servicos-sindicato .servicos-sind-info h3 {
        font-size: 0.88rem;
    }

    #servicos-sindicato .servicos-sind-info p {
        display: -webkit-box;
        overflow: hidden;
        font-size: 0.78rem;
        line-height: 1.35;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    #servicos-sindicato .servicos-sind-item > .section-link {
        width: 2rem;
        height: 2rem;
        align-self: center;
        overflow: hidden;
        color: transparent;
        font-size: 0;
        white-space: nowrap;
    }

    #servicos-sindicato .servicos-sind-item > .section-link i {
        display: grid;
        width: 2rem;
        height: 2rem;
        place-items: center;
        color: var(--stmc-red);
        font-size: 0.85rem;
    }

    #voz-dos-associados {
        margin-top: 0.8rem;
        padding: 1.25rem 0 1.5rem;
    }

    #voz-dos-associados > .container {
        max-width: none;
        padding-inline: 0;
    }

    #voz-dos-associados .text-center.mb-2,
    #voz-dos-associados .section-title {
        text-align: left !important;
    }

    #voz-dos-associados .servicos-badge {
        padding: 0.4rem 0;
        border: 0;
        font-size: 0.6875rem;
    }

    #voz-dos-associados .section-title {
        margin-bottom: 0.75rem !important;
        font-size: 1.2rem;
        font-weight: 700;
    }

    #voz-dos-associados .row {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: min(82vw, 19rem);
        gap: 0.7rem;
        margin-inline: calc(var(--mobile-gutter) * -1);
        padding: 0.1rem var(--mobile-gutter) 0.6rem;
        overflow-x: auto;
        scroll-padding-inline: var(--mobile-gutter);
        scroll-snap-type: inline mandatory;
        scrollbar-width: none;
    }

    #voz-dos-associados .row::-webkit-scrollbar {
        display: none;
    }

    #voz-dos-associados .row > [class*="col-"] {
        width: auto;
        padding: 0;
        scroll-snap-align: start;
    }

    #voz-dos-associados .review-card {
        border-radius: 12px;
        box-shadow: 0 4px 14px rgb(17 24 39 / 0.07);
    }

    #voz-dos-associados .review-card .card-body {
        position: relative;
        padding: 1rem !important;
    }

    #voz-dos-associados .review-card .card-body::after {
        position: absolute;
        top: 0.85rem;
        right: 1rem;
        color: #d9dee7;
        content: "\201D";
        font-family: Georgia, serif;
        font-size: 2.25rem;
        font-weight: 700;
        line-height: 1;
    }

    #voz-dos-associados .review-stars {
        margin-bottom: 0.7rem !important;
        color: #f59e0b;
        font-size: 0.9rem;
        letter-spacing: 0.04em;
    }

    #voz-dos-associados .review-text {
        min-height: 5.7rem;
        margin-bottom: 0.8rem;
        font-size: 0.76rem;
        line-height: 1.45;
    }

    #voz-dos-associados .review-author {
        position: relative;
        min-height: 2.75rem;
        padding: 0.75rem 0 0 3.35rem;
        border-top: 1px solid #edf0f4;
        font-size: 0.78rem;
    }

    #voz-dos-associados .review-author::before {
        position: absolute;
        top: 0.75rem;
        left: 0;
        display: grid;
        width: 2.45rem;
        height: 2.45rem;
        place-items: center;
        color: var(--stmc-red);
        background: #fde8e8;
        border-radius: 50%;
        content: "\F4DA";
        font-family: bootstrap-icons;
        font-size: 1.15rem;
    }

    #voz-dos-associados .review-author .text-muted {
        color: var(--mobile-muted) !important;
        font-size: 0.68rem !important;
    }

    #voz-dos-associados .review-verified {
        display: inline-flex;
        align-items: center;
        margin-top: 0.25rem;
        color: #15803d;
        font-size: 0.66rem;
        font-weight: 700;
    }

    #voz-dos-associados .review-join-card {
        display: grid;
        grid-template-columns: 2.65rem minmax(0, 1fr) auto;
        align-items: center;
        gap: 0.7rem;
        margin-top: 0.5rem;
        padding: 0.9rem;
        color: #fff;
        background: #071b31;
        border-radius: 12px;
        box-shadow: 0 4px 14px rgb(17 24 39 / 0.08);
    }

    #voz-dos-associados .review-join-icon {
        display: grid;
        width: 2.4rem;
        height: 2.4rem;
        place-items: center;
        color: #fff;
        background: var(--stmc-red);
        border-radius: 50%;
        font-size: 1rem;
    }

    #voz-dos-associados .review-join-copy {
        min-width: 0;
    }

    #voz-dos-associados .review-join-kicker {
        display: block;
        color: #c9d1dc;
        font-size: 0.55rem;
        font-weight: 700;
        letter-spacing: 0.11em;
        text-transform: uppercase;
    }

    #voz-dos-associados .review-join-copy strong {
        display: block;
        margin-top: 0.15rem;
        font-size: 0.9rem;
        line-height: 1.1;
    }

    #voz-dos-associados .review-join-copy p {
        margin: 0.3rem 0 0;
        color: #b9c6d4;
        font-size: 0.62rem;
        line-height: 1.35;
    }

    #voz-dos-associados .review-join-action {
        display: inline-flex;
        align-items: center;
        gap: 0.3rem;
        min-height: 2.35rem;
        padding: 0.5rem 0.65rem;
        color: #fff;
        background: var(--stmc-red);
        border-radius: 0.45rem;
        font-size: 0.65rem;
        font-weight: 700;
        white-space: nowrap;
        text-decoration: none;
    }

    .section-endereco {
        padding: 0.75rem 0 1rem;
        background: #f4f6f8;
        color: var(--mobile-ink);
    }

    .section-endereco > .container {
        padding: 0;
    }

    .endereco-icon-badge {
        width: 2.35rem;
        height: 2.35rem;
        font-size: 1.05rem;
    }

    .endereco-title {
        font-size: 0.95rem;
        color: #fff;
    }

    .endereco-subtitle {
        margin: 0;
        color: rgb(255 255 255 / 0.82);
        font-size: 0.7rem;
        line-height: 1.4;
    }

    .section-endereco .container {
        display: block;
    }

    .section-endereco .endereco-header {
        display: flex;
        align-items: center;
        margin: 0 0 0.65rem;
        padding: 0.85rem 1rem;
        background: linear-gradient(135deg, #4a1113, #9b1d21);
        border-radius: 12px;
        box-shadow: 0 4px 12px rgb(17 24 39 / 0.12);
    }

    .section-endereco .endereco-title {
        align-self: center;
        margin: 0 !important;
        line-height: 1.15;
    }

    .section-endereco .endereco-header + .endereco-subtitle {
        display: block;
        margin: 0 0 0.65rem;
        padding: 0 0.75rem 0.75rem;
        background: linear-gradient(135deg, #4a1113, #9b1d21);
        border-radius: 0 0 0.8rem 0.8rem;
        pointer-events: auto;
    }

    .section-endereco .row {
        display: flex;
        flex-direction: column;
        gap: 0.65rem;
        margin: 0;
    }

    .section-endereco .row > [class*="col-"] {
        width: 100%;
        padding: 0;
    }

    .endereco-info-list {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.55rem;
        align-items: stretch;
    }

    .endereco-info-item {
        align-items: flex-start;
        min-width: 0;
        gap: 0.5rem;
        min-height: 0;
        padding: 0.8rem;
        background: #fff;
        border: 1px solid #e6e9ee;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgb(17 24 39 / 0.04);
    }

    .endereco-info-icon {
        width: 2rem;
        height: 2rem;
        font-size: 0.8rem;
        color: var(--stmc-red);
        background: #fff0f0;
        border-color: #ffe0e0;
    }

    .endereco-info-item strong,
    .endereco-info-item div:not(.endereco-info-icon) {
        overflow-wrap: normal;
        color: var(--mobile-ink);
        font-size: 0.8rem;
        line-height: 1.35;
    }

    .endereco-info-item strong {
        color: var(--mobile-ink);
    }

    .endereco-horario-badge {
        padding: 0.25rem 0.55rem;
        font-size: 0.53rem;
    }

    .endereco-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.4rem;
        margin-top: 0.7rem;
        padding-top: 0.7rem;
    }

    .endereco-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.15rem;
        min-height: 2.75rem;
        padding: 0.55rem 0.45rem;
        border: 1px solid var(--stmc-red);
        border-radius: 8px;
        color: var(--stmc-red) !important;
        background: #fff;
        font-size: 0.78rem;
    }

    .endereco-btn .me-2 {
        margin-right: 0 !important;
    }

    .endereco-btn-filled {
        color: #fff !important;
        background: var(--stmc-red);
    }

    .endereco-map-wrapper,
    .endereco-map-wrapper iframe {
        min-height: 12rem;
        border-radius: 12px;
    }

    .stmc-footer > .container:first-child {
        padding: 1.35rem var(--mobile-gutter) 0;
    }

    .stmc-footer > .container:first-child > .row {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.1rem 0.8rem !important;
        padding-bottom: 0 !important;
    }

    .stmc-footer > .container:first-child [class*="col-"] {
        width: auto;
        padding: 0;
    }

    .stmc-footer > .container:first-child [class*="col-"]:first-child {
        grid-column: 1 / -1;
    }

    .stmc-footer h6 {
        font-size: 0.72rem;
    }

    .stmc-footer p,
    .stmc-footer a {
        font-size: 0.76rem;
        line-height: 1.45;
    }

    .stmc-footer-bottom {
        margin-top: 1.25rem;
        padding: 1rem var(--mobile-gutter) 1.2rem;
    }

    .home-footer-contact {
        gap: 0.55rem;
        font-size: 0.66rem;
    }

    .home-footer-legal {
        gap: 0.55rem;
        font-size: 0.62rem;
        line-height: 1.45;
    }

    /* Ritmo vertical único entre as seções da home no mobile. */
    #informacao-categoria,
    #clube-beneficios,
    #servicos-sindicato,
    #voz-dos-associados,
    #endereco-atendimento {
        margin-top: 0.8rem;
    }

    #informacao-categoria {
        padding-bottom: 0.25rem !important;
    }

    .noticias-apoio-heading {
        padding-bottom: 8px;
    }

    /* Espaçamento interno consistente para os grupos de cards mobile. */
    .noticias-apoio,
    .beneficios-grid,
    .servicos-sind-list,
    #voz-dos-associados .row,
    .endereco-info-list {
        gap: var(--mobile-card-gap);
    }

    .beneficios-categorias {
        gap: var(--mobile-card-gap);
    }

    #clube-beneficios .servicos-filiacao-top-bar {
        margin-bottom: 1.25rem;
    }

    #servicos-sindicato {
        margin-top: 0.8rem;
        margin-bottom: 24px;
    }

    #voz-dos-associados {
        margin-top: 0;
    }

    #endereco-atendimento {
        padding-top: 24px;
        padding-bottom: 24px;
        margin-top: 0;
        margin-bottom: 0;
    }

    /* Home: superfícies fixas respeitam a navegação e a safe area. */
    .mobile-bottom-nav {
        box-sizing: border-box;
        min-height: var(--mobile-bottom-nav-height);
        height: auto;
        padding: 0.35rem 0.5rem env(safe-area-inset-bottom);
    }

    .mobile-bottom-nav a,
    .mobile-bottom-nav button {
        min-width: 44px;
        min-height: 44px;
        padding-inline: 0.35rem;
    }

    main {
        padding-bottom: calc(var(--mobile-bottom-nav-height) + max(16px, env(safe-area-inset-bottom)));
    }

    .mobile-bottom-nav span {
        min-height: 11px;
        font-size: max(11px, 0.62rem);
    }

    .mobile-header-actions a,
    .mobile-header-actions button {
        min-width: 44px;
        min-height: 44px;
    }

    .manchete-hero-cta {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    .whatsapp-float {
        right: 16px;
        bottom: calc(var(--mobile-bottom-nav-height) + max(16px, env(safe-area-inset-bottom)) + 12px);
        width: 54px;
        height: 54px;
        z-index: 1030;
    }

    .whatsapp-float.is-obscured {
        opacity: 0;
        pointer-events: none;
    }

    .cookie-consent {
        position: relative;
        z-index: 1;
        inset: auto;
        width: auto;
        max-width: none;
        margin: var(--space-4) var(--mobile-gutter) calc(var(--mobile-bottom-nav-height) + max(16px, env(safe-area-inset-bottom)));
        max-height: min(14rem, calc(100dvh - var(--mobile-bottom-nav-height) - env(safe-area-inset-bottom) - var(--space-4)));
        overflow: auto;
    }

    body.has-cookie-consent {
        padding-bottom: calc(var(--mobile-bottom-nav-height) + env(safe-area-inset-bottom));
    }

    @media (max-height: 671.98px) {
        .cookie-consent {
            max-height: min(13rem, calc(100dvh - var(--mobile-bottom-nav-height) - env(safe-area-inset-bottom) - var(--space-4)));
            overflow: auto;
        }
    }

    .denuncia-strip-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;

    }

    .denuncia-strip--anonima .denuncia-strip-inner {
        gap: 0;
    }

    .denuncia-strip--anonima .denuncia-strip-actions {
        gap: 0;
    }

    .denuncia-strip-info,
    .denuncia-strip-text {
        width: 100%;
    }

    .denuncia-strip-actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
        gap: 0.75rem;
    }

    .denuncia-strip--anonima .denuncia-strip-inner,
    .beneficio-strip .denuncia-strip-inner,
    .denuncia-strip--anonima .denuncia-strip-actions,
    .beneficio-strip .denuncia-strip-actions {
        gap: 0.75rem;
    }

    .beneficio-strip .denuncia-strip-btn-primary,
    .beneficio-strip .denuncia-strip-btn-ghost,
    .denuncia-strip--anonima .denuncia-strip-btn-primary,
    .denuncia-strip--anonima .denuncia-strip-btn-ghost {
        width: calc(100% - (var(--space-6) * 2));
        justify-self: center;
    }

    .beneficio-strip .denuncia-strip-info {
        padding-left: var(--space-6);
    }

    .beneficio-strip {
        margin-bottom: var(--space-6);
    }

    .denuncia-strip--anonima .denuncia-strip-info {
        padding-left: var(--space-6);
    }

    .denuncia-strip-btn-primary,
    .denuncia-strip-btn-ghost {
        min-height: 2.75rem;
        width: 100%;
        justify-content: center;
    }

    #servicos-sindicato,
    #voz-dos-associados {
        padding-top: 1.25rem;
    }

    #voz-dos-associados {
        padding-bottom: 1.25rem;
        margin-bottom: 1rem !important;
    }

    /* Ritmo vertical mobile da home. */
    .section-block,
    .section-servicos-filiacao,
    .section-endereco {
        padding-block: var(--space-9);
    }

    #informacao-categoria {
        padding-block: var(--space-6);
    }

    #clube-beneficios,
    #endereco-atendimento {
        padding-block: var(--space-6);
    }

    #clube-beneficios .servicos-filiacao-top-bar {
        margin-bottom: var(--space-8);
        margin-left: calc(var(--mobile-gutter) * -1);
        width: calc(100% + (var(--mobile-gutter) * 2));
    }

    #clube-beneficios {
        padding-top: 0;
        margin-top: 0;
        background: #fff;
    }


    #informacao-categoria .noticias-layout,
    #voz-dos-associados .row,
    .endereco-info-list,
    .beneficios-grid,
    .servicos-sind-list {
        gap: var(--space-4);
    }

    .endereco-info-item,
    .servicos-sind-item {
        padding: var(--space-5);
    }

    .beneficio-card {
        padding: 0;
    }

    #clube-beneficios .beneficio-body {
        padding: var(--space-5);
    }

    .review-card > .card-body,
    .card-stmc > .card-body {
        padding: var(--space-5) !important;
    }

    .section-title,
    .endereco-title,
    .beneficios-intro h2,
    .noticias-apoio-heading {
        margin-bottom: var(--space-3);
        text-wrap: balance;
    }

    .section-title + p,
    .beneficios-intro p,
    .editorial-copy,
    .noticias-apoio-meta,
    .noticias-apoio-title {
        margin-top: var(--space-3);
        text-wrap: pretty;
    }

    .section-link,
    .endereco-btn,
    .beneficios-intro-link,
    .denuncia-strip-btn-primary,
    .denuncia-strip-btn-ghost {
        min-height: 44px;
    }

    .mobile-services-heading {
        margin-top: 0;
        margin-bottom: 0.65rem;
    }

    .mobile-services-heading a {
        min-height: 36px;
        display: inline-flex;
        align-items: center;
    }

    .noticias-apoio-heading {
        padding-bottom: 0.45rem;
        margin-bottom: 0.25rem;
    }

    /* Evita trabalho contínuo durante a rolagem em telas móveis. */
    html {
        scroll-behavior: auto;
    }

    .mobile-bottom-nav {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .whatsapp-float {
        animation: none;
    }

    .section-block,
    .section-servicos-filiacao,
    .section-endereco {
        contain: layout paint;
    }

}

@media (max-width: 480px) {
    .mobile-services-heading {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        margin-bottom: 0.85rem;
    }

    .mobile-services-heading a {
        min-height: 36px;
        display: inline-flex;
        align-items: center;
    }

    .mobile-services-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .mobile-services-grid a {
        min-height: 100px;
        padding: 14px 12px;
        border-radius: 14px;
    }
}

@media (max-width: 767.98px) {
    .mobile-header {
        margin-bottom: var(--space-3);
    }

    #informacao-categoria {
        padding-top: var(--space-4);
        margin-bottom: 0;
    }

    #informacao-categoria .noticias-layout {
        gap: var(--space-4);
    }

    .denuncia-strip {
        margin-top: var(--space-4);
    }

    .mobile-services {
        margin-top: 1.5rem;
    }

    .mobile-services-heading h2,
    .mobile-services-heading a {
        margin: 0;
    }

    #servicos-sindicato > .container > .text-center.mb-4 {
        padding-bottom: var(--space-2);
    }

    .mobile-services-grid {
        gap: 12px;
    }

    .mobile-services-grid > a {
        padding: 14px 12px;
    }

    .section-block,
    .section-servicos-filiacao,
    .section-endereco {
        margin-block: var(--space-9);
    }

    .section-link,
    .endereco-btn,
    .denuncia-strip-btn-primary,
    .denuncia-strip-btn-ghost {
        min-height: 44px;
        padding: var(--space-3) var(--space-4);
    }
}

@media (max-width: 672px) {
    .mobile-shell .cookie-consent {
        position: fixed;
        right: 16px;
        left: 16px;
        bottom: calc(var(--mobile-bottom-nav-height) + env(safe-area-inset-bottom) + 12px);
        z-index: 1070;
        width: auto;
        margin: 0;
        padding: 12px;
        gap: 10px;
        max-height: min(16.25rem, calc(100dvh - var(--mobile-bottom-nav-height) - env(safe-area-inset-bottom) - 1rem));
        overflow-y: auto;
        overscroll-behavior: contain;
        scrollbar-gutter: stable;
    }

    .mobile-shell .cookie-consent-copy h2 {
        margin-bottom: 6px;
        font-size: 14px;
    }

    .mobile-shell .cookie-consent-copy p {
        display: block;
        max-height: none;
        overflow: visible;
        font-size: 12px;
        line-height: 1.4;
        line-clamp: unset;
        -webkit-box-orient: initial;
        -webkit-line-clamp: unset;
    }

    .mobile-shell .cookie-consent-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .mobile-shell .cookie-consent-actions button {
        width: 100%;
        min-width: 0;
        min-height: 48px;
    }
}

/* Mobile navigation reserves its full footprint, including the safe area. */
@media (max-width: 767.98px) {
    :root {
        --mobile-bottom-nav-height: 68px;
    }

    /* Mantém um respiro discreto entre o cabeçalho e o banner institucional. */
    body.mobile-shell main.home-page > .home-banner:first-child {
        margin-top: 0.75rem;
    }

    /* O consentimento ocupa a camada de decisão; o WhatsApp reaparece assim que ela fecha. */
    body.mobile-shell.has-cookie-consent .whatsapp-float {
        visibility: hidden;
        pointer-events: none;
    }

    main {
        padding-bottom: calc(
            var(--mobile-bottom-nav-height)
            + max(16px, env(safe-area-inset-bottom))
            + 16px
        );
    }

    /* Quando o consentimento está visível, reserva também a altura do banner
       para que o último conteúdo não fique escondido atrás das camadas fixas. */
    body.has-cookie-consent main {
        padding-bottom: calc(
            var(--mobile-bottom-nav-height)
            + max(16px, env(safe-area-inset-bottom))
            + 12rem
        );
    }

    .mobile-bottom-nav {
        box-sizing: border-box;
        width: 100%;
        min-height: var(--mobile-bottom-nav-height);
        grid-template-columns: repeat(5, minmax(0, 1fr));
        padding-bottom: env(safe-area-inset-bottom);
        overflow: hidden;
    }

    .mobile-bottom-nav a,
    .mobile-bottom-nav button {
        min-width: 44px;
        min-height: 44px;
    }

    .mobile-bottom-nav button.is-open {
        color: var(--stmc-red);
        background: rgb(198 40 40 / 0.08);
    }

    .mobile-bottom-nav button.is-open::before {
        position: absolute;
        top: -0.35rem;
        width: 2.8rem;
        height: 0.2rem;
        background: var(--stmc-red);
        border-radius: 0 0 0.2rem 0.2rem;
        content: "";
    }

    /* No mobile, o WhatsApp permanece fixo acima da navegação inferior. */
    .mobile-shell .page-wrapper > .whatsapp-float {
        position: fixed;
        right: max(16px, env(safe-area-inset-right));
        bottom: calc(var(--mobile-bottom-nav-height) + max(16px, env(safe-area-inset-bottom)) + 12px);
        display: grid;
        width: 48px;
        height: 48px;
        min-width: 44px;
        min-height: 44px;
        margin: 0;
        z-index: 1030;
    }
}

/* Consentimento compacto no desktop; o comportamento mobile permanece intacto. */
@media (min-width: 992px) {
    .cookie-consent {
        box-sizing: border-box;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 0.75rem 1.5rem;
        width: min(calc(100% - 3rem), 76rem);
        max-height: min(8rem, calc(100vh - 2rem));
        padding: 0.75rem 1rem;
        overflow: auto;
    }

    .cookie-consent-copy {
        min-width: 0;
    }

    .cookie-consent-actions {
        flex-wrap: nowrap;
        align-items: center;
        white-space: nowrap;
    }

    .whatsapp-float {
        right: max(1.5rem, env(safe-area-inset-right));
        bottom: max(7rem, calc(1rem + env(safe-area-inset-bottom) + 6rem));
        z-index: 1050;
    }

    body.has-cookie-consent {
        padding-bottom: 7rem;
    }
}

@media (max-width: 480px) {
    .manchete-hero-body {
        min-height: 0;
        padding: 1.1rem 1.15rem;
        gap: 0.45rem;
        align-content: start;
        justify-content: stretch;
    }

    .manchete-hero-kicker {
        margin-bottom: 4px;
        font-weight: 700;
    }

    .manchete-hero-title {
        margin-top: 0;
        margin-bottom: 4px;
    }

    .manchete-hero-subtitle,
    .manchete-hero-subtitle-mobile {
        margin-bottom: 6px;
    }

    .manchete-hero-cta {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        min-height: 36px;
        margin-top: 0;
    }
}

@media (max-width: 767px) {
    .denuncia-strip {
        height: auto;
        padding: 16px 0;
        margin-inline: var(--mobile-gutter);
    }

    .denuncia-strip-inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
        min-width: 0;
    }

    .denuncia-strip-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        width: 100%;
    }

    .denuncia-strip-actions a {
        width: 100%;
        min-height: 44px;
        justify-content: center;
    }

    .beneficio-strip {
        padding-bottom: 32px;
    }

}

@media (max-width: 767.98px) {
    /* O strip odontológico segue exatamente o mesmo padrão visual do canal anônimo. */
    body.mobile-shell main.home-page .beneficio-strip {
        width: auto;
        margin-inline: var(--mobile-gutter);
        margin-top: 1.25rem;
        margin-bottom: 1.25rem;
        padding-bottom: 0;
        background: #1a1a2e;
        border: 0;
        border-top: 3px solid var(--stmc-red);
        border-radius: 14px;
        box-shadow: 0 5px 15px rgb(17 24 39 / 0.12);
    }

    body.mobile-shell main.home-page .beneficio-strip .denuncia-strip-inner {
        min-height: 0;
        padding: 1.15rem 1.15rem;
        gap: 1rem;
    }

    body.mobile-shell main.home-page .beneficio-strip .denuncia-strip-icon {
        width: 36px;
        height: 36px;
        flex-shrink: 0;
        margin-top: 2px;
        background: rgb(198 40 40 / 0.18);
        color: #ef5350;
    }

    body.mobile-shell main.home-page .beneficio-strip .denuncia-strip-text {
        gap: 0.25rem;
    }

    body.mobile-shell main.home-page .beneficio-strip .denuncia-strip-text strong {
        font-size: 0.95rem;
        font-weight: 700;
        line-height: 1.25;
    }

    body.mobile-shell main.home-page .beneficio-strip .denuncia-strip-sub {
        display: block;
        font-size: 0.8rem;
        line-height: 1.45;
    }

    body.mobile-shell main.home-page .beneficio-strip .denuncia-strip-actions {
        gap: 0.65rem;
    }

    body.mobile-shell main.home-page .beneficio-strip .denuncia-strip-btn-primary,
    body.mobile-shell main.home-page .beneficio-strip .denuncia-strip-btn-ghost {
        width: 100%;
        min-height: 46px;
        padding: 0.7rem 1rem;
        border-radius: 10px;
        font-size: 0.84375rem;
        line-height: 1.25;
        white-space: nowrap;
        justify-content: center;
    }

    body.mobile-shell main.home-page .beneficio-strip .denuncia-strip-btn-ghost {
        border-color: rgb(255 255 255 / 0.18);
        color: rgb(255 255 255 / 0.9);
    }

    main.home-page .manchete-hero-title {
        font-size: 17px;
        font-weight: 700;
        line-height: 1.24;
    }

    main.home-page .manchete-hero-subtitle,
    main.home-page .manchete-hero-subtitle-mobile {
        font-size: 13.5px;
        line-height: 1.42;
    }

    main.home-page .mobile-services-heading h2,
    main.home-page .noticias-apoio-heading {
        font-size: 16px;
        font-weight: 700;
        line-height: 1.3;
    }

    main.home-page #voz-dos-associados .section-title {
        font-size: 16px;
        font-weight: 700;
        line-height: 1.3;
    }

    main.home-page .mobile-services-grid strong {
        font-size: 13px;
        font-weight: 600;
        line-height: 1.25;
    }

    main.home-page .noticia-apoio-meta {
        font-size: 10px;
    }

    main.home-page .noticia-apoio-title {
        font-size: 13px;
        font-weight: 600;
        line-height: 1.35;
    }

    main.home-page .denuncia-strip-subtitle {
        font-size: 12px;
        line-height: 1.45;
    }

    main.home-page #clube-beneficios .beneficio-card h5 {
        font-size: 14px;
        line-height: 1.3;
    }

    main.home-page #clube-beneficios .beneficio-card p {
        font-size: 12px;
        line-height: 1.45;
    }

    main.home-page #clube-beneficios .beneficio-card small {
        font-size: 10px;
    }

    main.home-page .section-servicos-filiacao h3 {
        font-size: 13.5px;
        line-height: 1.3;
    }

    main.home-page .section-servicos-filiacao p,
    main.home-page .endereco-subtitle {
        font-size: 13px;
        line-height: 1.45;
    }

    main.home-page #voz-dos-associados .review-text {
        font-size: 14px;
        line-height: 1.5;
    }

    main.home-page .section-endereco .endereco-info {
        font-size: 12px;
        line-height: 1.45;
    }

    main.home-page .manchete-hero-cta,
    main.home-page .mobile-services-heading > a,
    main.home-page .section-link {
        color: var(--stmc-red);
        font-size: 14px;
        line-height: 1.35;
    }

    main.home-page #clube-beneficios .beneficios-footer .section-link {
        font-size: 14px;
    }

    main.home-page .manchete-hero-cta {
        font-weight: 700;
    }

    main.home-page .manchete-hero-cta:hover,
    main.home-page .mobile-services-heading > a:hover,
    main.home-page .section-link:hover {
        color: var(--stmc-red-dark);
    }

    main.home-page .denuncia-strip-btn-primary,
    main.home-page .denuncia-strip-btn-ghost {
        font-size: 13.5px;
        line-height: 1.3;
    }

    main.home-page .denuncia-strip-btn-primary {
        color: #fff;
        font-weight: 700;
    }

    main.home-page .denuncia-strip-btn-ghost {
        color: rgba(255, 255, 255, 0.9);
    }

    main.home-page .endereco-btn {
        font-size: 13px;
        line-height: 1.35;
    }

    main.home-page .endereco-btn-outline {
        color: var(--stmc-red);
    }

    main.home-page .endereco-btn-filled {
        color: #fff;
    }
}
 .home-cct-copy-mobile { display: none; }

@media (max-width: 767.98px) {
    body.mobile-shell #endereco-atendimento {
        overflow-x: clip;
    }

    body.mobile-shell main.home-page .denuncia-strip--anonima {
        min-height: 0;
        margin-top: 0.75rem;
        scroll-margin-top: 1rem;
    }

    body.mobile-shell main.home-page .denuncia-strip--anonima .denuncia-strip-inner {
        gap: 0.85rem;
        padding: 1rem;
    }

    body.mobile-shell main.home-page .denuncia-strip--anonima .denuncia-strip-info {
        align-items: center;
        gap: 0.7rem;
        padding-left: 0;
    }

    body.mobile-shell main.home-page .denuncia-strip--anonima .denuncia-strip-actions {
        gap: 0.65rem;
    }

    body.mobile-shell main.home-page .denuncia-strip--anonima .denuncia-strip-btn-primary,
    body.mobile-shell main.home-page .denuncia-strip--anonima .denuncia-strip-btn-ghost {
        min-height: 48px;
        width: 100%;
        justify-content: center;
    }

    body.mobile-shell main.home-page .manchete-hero {
        margin-top: 0.5rem;
        margin-right: var(--mobile-gutter);
        margin-left: var(--mobile-gutter);
        overflow: visible;
    }

    body.mobile-shell main.home-page .manchete-hero-body {
        box-sizing: border-box;
        gap: 0.45rem;
        min-width: 0;
        padding: 1.1rem 1.15rem;
        border-radius: 14px;
    }

    body.mobile-shell main.home-page .manchete-hero-title,
    body.mobile-shell main.home-page .manchete-hero-subtitle,
    body.mobile-shell main.home-page .manchete-hero-subtitle-mobile {
        max-width: 100%;
        min-width: 0;
    }

    body.mobile-shell main.home-page .manchete-hero-subtitle-mobile {
        margin-bottom: 4px;
    }

    body.mobile-shell main.home-page .manchete-hero-subtitle {
        margin-bottom: 2px;
    }

    body.mobile-shell main.home-page .manchete-hero-title {
        margin-bottom: 4px;
    }

    body.mobile-shell main.home-page .manchete-hero-cta {
        align-self: flex-start;
        font-size: 13.5px;
        font-weight: 600;
        min-height: 36px;
        margin-top: 0;
    }

    body.mobile-shell main.home-page #endereco-atendimento {
        padding-bottom: 1rem;
    }

    body.mobile-shell #endereco-atendimento .endereco-inline-link {
        display: block;
        color: inherit;
        text-decoration: none;
    }

    body.mobile-shell #endereco-atendimento .endereco-btn {
        min-width: 44px;
        min-height: 44px;
    }

    body.mobile-shell #endereco-atendimento .endereco-btn:focus-visible {
        outline: 3px solid rgb(255 255 255 / 0.9);
        outline-offset: 3px;
    }

    .home-cct-copy-full { display: none; }
    .home-cct-copy-mobile { display: block; }
}

/* Ajustes finais do Clube: somente desktop; o shell mobile permanece intocado. */
@media (min-width: 992px) {
    /* Mantém as seções legadas da home no mesmo trilho visual do redesign desktop. */
    body.mobile-shell main.home-page #campanha-salarial,
    body.mobile-shell main.home-page #clube-beneficios {
        width: min(100%, 1468px);
        margin-inline: auto;
    }

    body.mobile-shell main.home-page #campanha-salarial {
        margin-top: 0;
        margin-bottom: 0;
        overflow: hidden;
        border-radius: 0;
    }

    body.mobile-shell main.home-page #clube-beneficios {
        max-width: 1468px;
    }

    body.mobile-shell main.home-page #campanha-salarial {
        height: clamp(240px, 19.5vw, 300px);
    }

    body.mobile-shell main.home-page #campanha-salarial picture,
    body.mobile-shell main.home-page #campanha-salarial .home-banner-img {
        height: 100%;
        max-height: none;
        aspect-ratio: auto;
        object-fit: cover;
        object-position: center;
    }

    body.mobile-shell main.home-page #clube-beneficios .beneficios-carousel {
        overflow-x: clip;
    }

    body.mobile-shell main.home-page #clube-beneficios .beneficio-card,
    body.mobile-shell main.home-page #clube-beneficios .beneficio-link .beneficio-card {
        min-height: 0;
        height: 350px;
        overflow: hidden;
    }

    body.mobile-shell main.home-page #clube-beneficios .beneficio-body {
        padding: 12px 14px 12px;
    }

    body.mobile-shell main.home-page #clube-beneficios .beneficio-head {
        gap: 0.4rem;
        margin-bottom: 0.55rem;
    }

    body.mobile-shell main.home-page #clube-beneficios .beneficio-icon {
        width: 30px;
        height: 30px;
        font-size: 0.86rem;
    }

    body.mobile-shell main.home-page #clube-beneficios .beneficio-tag {
        padding: 0.2rem 0.48rem;
        font-size: 0.58rem;
    }

    body.mobile-shell main.home-page #clube-beneficios .beneficio-card h5 {
        min-height: 1.3em;
        margin-bottom: 0.35rem;
        font-size: 0.94rem;
        line-height: 1.12;
    }

    body.mobile-shell main.home-page #clube-beneficios .beneficio-card p {
        min-height: 3.3em;
        margin-bottom: 0.55rem;
        font-size: 0.78rem;
        line-height: 1.28;
    }

    body.mobile-shell main.home-page #clube-beneficios .beneficio-card small {
        font-size: 0.68rem;
        line-height: 1.3;
    }
}

@media (min-width: 992px) and (max-width: 1399.98px) {
    body.mobile-shell .stmc-navbar > .container {
        max-width: 100%;
        min-width: 0;
        padding-inline: 24px;
    }

    body.mobile-shell .stmc-navbar .navbar-brand {
        min-width: 185px;
        margin-right: 1rem;
        flex-shrink: 0;
    }

    body.mobile-shell .stmc-navbar .navbar-collapse {
        min-width: 0;
    }

    body.mobile-shell .stmc-navbar .desktop-navbar-links {
        gap: 0.35rem;
        min-width: 0;
    }

    body.mobile-shell .stmc-navbar .desktop-navbar-links .nav-link {
        gap: 5px;
        padding-inline: 0.58rem;
        font-size: 0.8125rem;
    }

    body.mobile-shell .stmc-navbar .desktop-navbar-links .nav-link i {
        font-size: 0.9rem;
    }

    body.mobile-shell .desktop-navbar-search {
        width: 40px;
        height: 40px;
        margin-inline: 0.15rem;
        flex: 0 0 auto;
    }

    body.mobile-shell .desktop-navbar-join {
        min-height: 40px;
        padding-inline: 0.75rem !important;
        font-size: 0.8rem;
        flex: 0 0 auto;
    }

    body.mobile-shell .stmc-navbar .d-flex.align-items-center.gap-2.ms-lg-3 {
        gap: 0.65rem !important;
        flex: 0 0 auto;
    }

    body.mobile-shell main.home-page #clube-beneficios .beneficios-grid {
        grid-auto-columns: calc((100% - 3 * 14px) / 4);
        gap: 14px;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    body.mobile-shell .stmc-navbar .d-flex.align-items-center.gap-2.ms-lg-3 > .btn-outline-secondary {
        display: none !important;
    }

    body.mobile-shell main.home-page #clube-beneficios .beneficios-grid {
        grid-auto-columns: calc((100% - 2 * 14px) / 3);
    }

    body.mobile-shell main.home-page #clube-beneficios .beneficio-card,
    body.mobile-shell main.home-page #clube-beneficios .beneficio-link .beneficio-card {
        height: 350px;
    }
}

/* Títulos das áreas principais seguem a mesma escala do cabeçalho de serviços desktop. */
@media (min-width: 992px) {
    body.mobile-shell main.home-page #clube-beneficios .beneficios-intro h2,
    body.mobile-shell main.home-page #servicos-sindicato .desktop-services-intro h2 {
        font-size: 1.28rem;
    }

    body.mobile-shell main.home-page #clube-beneficios .servicos-badge {
        font-size: 0.65rem;
    }

    body.mobile-shell main.home-page > .desktop-beneficios-breadcrumb,
    body.mobile-shell main.home-page > #campanha-salarial {
        display: none;
    }
}

/* Mantém o selo Destaque no canto superior direito do banner desktop. */
@media (min-width: 992px) {
    body.mobile-shell main.home-page .desktop-home-feature {
        position: relative;
    }

    body.mobile-shell main.home-page .desktop-home-kicker {
        position: absolute;
        top: 26px;
        left: auto;
        right: 34px;
        z-index: 1;
    }

    body.mobile-shell main.home-page .desktop-home-feature-copy {
        padding-top: 58px;
    }

    body.mobile-shell main.home-page #endereco-atendimento .row {
        align-items: flex-start !important;
    }

    body.mobile-shell main.home-page #endereco-atendimento .endereco-map-wrapper {
        margin-top: 0;
    }

    body.mobile-shell main.home-page #endereco-atendimento {
        padding-bottom: var(--section-py);
    }
}

/* Botões de ação da home usam a mesma cor sólida do CTA de benefício. */
@media (min-width: 992px) {
    body.mobile-shell main.home-page .desktop-navbar-join,
    body.mobile-shell main.home-page .desktop-home-primary,
    body.mobile-shell main.home-page #servicos-sindicato .servicos-sind-item > .section-link,
    body.mobile-shell main.home-page .denuncia-strip-btn-primary {
        background: var(--stmc-red);
        border-color: var(--stmc-red);
        color: #fff;
    }

    body.mobile-shell main.home-page .desktop-home-rail-card--red > a:not(.desktop-home-rail-secondary) {
        background: #fff1f1;
        border: 1px solid #f5c2c4;
        color: #d62027;
        font-weight: 700;
    }

    body.mobile-shell main.home-page #servicos-sindicato .servicos-sind-item > .section-link i {
        color: #fff;
    }

    body.mobile-shell main.home-page .desktop-navbar-join:hover,
    body.mobile-shell main.home-page .desktop-navbar-join:focus-visible,
    body.mobile-shell main.home-page .desktop-home-primary:hover,
    body.mobile-shell main.home-page .desktop-home-primary:focus-visible,
    body.mobile-shell main.home-page #servicos-sindicato .servicos-sind-item > .section-link:hover,
    body.mobile-shell main.home-page #servicos-sindicato .servicos-sind-item > .section-link:focus-visible,
    body.mobile-shell main.home-page .denuncia-strip-btn-primary:hover,
    body.mobile-shell main.home-page .denuncia-strip-btn-primary:focus-visible {
        background: var(--stmc-red-dark);
        border-color: var(--stmc-red-dark);
    }

    body.mobile-shell main.home-page .desktop-home-rail-card--red > a:not(.desktop-home-rail-secondary):hover,
    body.mobile-shell main.home-page .desktop-home-rail-card--red > a:not(.desktop-home-rail-secondary):focus-visible {
        background: var(--stmc-red);
        border-color: var(--stmc-red);
        color: #fff;
    }
}

/* Primeira dobra desktop: banner e rail tratados como um único sistema visual. */
@media (max-width: 767.98px) {
    /* Evita a faixa vazia entre o último CTA da home e o rodapé. */
    body.mobile-shell main.home-page {
        padding-bottom: 16px;
    }

    body.mobile-shell main.home-page #voz-dos-associados {
        padding-top: 24px;
        padding-bottom: 24px;
        margin-bottom: 0 !important;
    }

    /* Os dois strips da home compartilham exatamente o mesmo sistema no mobile. */
    body.mobile-shell main.home-page .denuncia-strip--anonima,
    body.mobile-shell main.home-page .beneficio-strip {
        width: auto;
        min-height: 0;
        padding-top: 0;
        padding-bottom: 0;
        background: #1a1a2e;
        border: 0;
        border-top: 3px solid var(--stmc-red);
        border-radius: 14px;
        box-shadow: 0 5px 15px rgb(17 24 39 / 0.12);
    }

    body.mobile-shell main.home-page .denuncia-strip--anonima {
        margin-top: 1rem;
        margin-bottom: 0.25rem;
    }

    body.mobile-shell main.home-page .beneficio-strip {
        margin-top: 1.25rem;
        margin-bottom: 1.25rem;
    }

    body.mobile-shell main.home-page .denuncia-strip--anonima .denuncia-strip-inner,
    body.mobile-shell main.home-page .beneficio-strip .denuncia-strip-inner {
        min-height: 0;
        padding: 1.15rem 1.15rem;
        gap: 1rem;
    }

    body.mobile-shell main.home-page .denuncia-strip--anonima .denuncia-strip-icon,
    body.mobile-shell main.home-page .beneficio-strip .denuncia-strip-icon {
        width: 36px;
        height: 36px;
        flex-shrink: 0;
        margin-top: 2px;
        background: rgb(198 40 40 / 0.18);
        color: #ef5350;
    }

    body.mobile-shell main.home-page .denuncia-strip--anonima .denuncia-strip-info,
    body.mobile-shell main.home-page .beneficio-strip .denuncia-strip-info {
        width: 100%;
        align-items: flex-start;
        padding-left: 0;
        gap: 0.85rem;
    }

    body.mobile-shell main.home-page .denuncia-strip--anonima .denuncia-strip-text,
    body.mobile-shell main.home-page .beneficio-strip .denuncia-strip-text {
        gap: 0.25rem;
    }

    body.mobile-shell main.home-page .denuncia-strip--anonima .denuncia-strip-text strong,
    body.mobile-shell main.home-page .beneficio-strip .denuncia-strip-text strong {
        font-size: 0.95rem;
        font-weight: 700;
        line-height: 1.25;
    }

    body.mobile-shell main.home-page .denuncia-strip--anonima .denuncia-strip-sub,
    body.mobile-shell main.home-page .beneficio-strip .denuncia-strip-sub {
        display: block;
        font-size: 0.8rem;
        line-height: 1.45;
    }

    body.mobile-shell main.home-page .denuncia-strip--anonima .denuncia-strip-actions,
    body.mobile-shell main.home-page .beneficio-strip .denuncia-strip-actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
        gap: 0.65rem;
    }

    body.mobile-shell main.home-page .denuncia-strip--anonima .denuncia-strip-btn-primary,
    body.mobile-shell main.home-page .denuncia-strip--anonima .denuncia-strip-btn-ghost,
    body.mobile-shell main.home-page .beneficio-strip .denuncia-strip-btn-primary,
    body.mobile-shell main.home-page .beneficio-strip .denuncia-strip-btn-ghost {
        width: 100%;
        min-height: 46px;
        justify-self: stretch;
        padding: 0.7rem 1rem;
        border-radius: 10px;
        font-size: 0.84375rem;
        line-height: 1.25;
        white-space: nowrap;
        justify-content: center;
    }
}

@media (min-width: 992px) {
    body.mobile-shell main.home-page .desktop-home-rail-card {
        grid-template-columns: 56px minmax(0, 1fr);
    }

    body.mobile-shell main.home-page .desktop-home-rail-icon {
        width: 50px;
        height: 50px;
    }

    body.mobile-shell main.home-page > #servicos-sindicato {
        display: none;
    }

    body.mobile-shell main.home-page .desktop-home-redesign {
        grid-template-columns: minmax(0, 3.12fr) minmax(300px, 0.98fr);
        column-gap: clamp(1rem, 1.6vw, 1.5rem);
        align-items: start;
    }

    body.mobile-shell main.home-page .desktop-home-feature,
    body.mobile-shell main.home-page .desktop-home-rail-card {
        border: 1px solid #e5eaf0;
        border-radius: 14px;
        box-shadow: 0 7px 20px rgb(15 29 53 / 0.055);
    }

    body.mobile-shell main.home-page .desktop-home-feature {
        align-self: start;
    }

    body.mobile-shell main.home-page .desktop-home-rail {
        align-self: start;
        gap: 14px;
    }

    body.mobile-shell main.home-page .desktop-home-rail-card {
        min-height: 132px;
        align-content: start;
        padding: 16px;
    }

    body.mobile-shell main.home-page .desktop-home-rail-card--red {
        min-height: 154px;
        border-left: 3px solid var(--stmc-red);
    }

    body.mobile-shell main.home-page .desktop-home-events {
        min-height: 126px;
        padding: 15px 16px;
    }

    body.mobile-shell main.home-page .desktop-home-rail-card > a:not(.desktop-home-rail-secondary) {
        border-radius: 9px;
    }

    body.mobile-shell main.home-page .desktop-home-rail-secondary {
        border-radius: 9px;
    }
}

/* Hero desktop: contraste localizado para preservar a leitura sem pesar a arte. */
@media (min-width: 992px) {
    body.mobile-shell main.home-page .desktop-home-feature::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 0;
        border-radius: inherit;
        background: linear-gradient(
            90deg,
            rgb(0 20 28 / 0.34) 0%,
            rgb(0 20 28 / 0.2) 38%,
            rgb(0 20 28 / 0.04) 68%,
            transparent 82%
        );
        pointer-events: none;
    }

    body.mobile-shell main.home-page .desktop-home-feature-copy {
        position: relative;
        z-index: 1;
    }
}

/* Novidades desktop: Ver notícias é primário; Conheça o Sintratel permanece secundário. */
@media (min-width: 992px) {
    body.mobile-shell main.home-page .desktop-home-events > .desktop-home-event-link {
        margin-top: 11px;
        padding-top: 10px;
        border-top: 1px solid #edf0f4;
        color: #66768a;
        font-weight: 650;
    }

    body.mobile-shell main.home-page .desktop-home-events > .desktop-home-event-link:hover,
    body.mobile-shell main.home-page .desktop-home-events > .desktop-home-event-link:focus-visible {
        color: #e31d25;
    }
}

/* Notícias desktop: imagem estável e CTAs alinhados na base dos cards. */
@media (min-width: 992px) {
    body.mobile-shell main.home-page .desktop-home-news-card {
        display: flex;
        min-height: 360px;
        flex-direction: column;
        overflow: hidden;
    }

    body.mobile-shell main.home-page .desktop-home-news-card > img {
        display: block;
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        flex: 0 0 auto;
        object-fit: cover;
        object-position: center;
        background: #eef2f5;
    }

    body.mobile-shell main.home-page .desktop-home-news-card > div {
        display: flex;
        min-height: 0;
        flex: 1 1 auto;
        flex-direction: column;
    }

    body.mobile-shell main.home-page .desktop-home-news-card p {
        flex: 1 1 auto;
    }

    body.mobile-shell main.home-page .desktop-home-news-card a {
        align-self: flex-start;
        margin-top: auto;
    }

    body.mobile-shell main.home-page .desktop-home-news-card a:focus-visible {
        outline: 3px solid #17213a;
        outline-offset: 3px;
    }
}

/* Coluna lateral desktop: links com altura, setas e separação consistentes. */
@media (min-width: 992px) {
    body.mobile-shell main.home-page .desktop-home-news-aside {
        display: flex;
        min-height: 330px;
        flex-direction: column;
    }

    body.mobile-shell main.home-page .desktop-home-news-aside-links {
        gap: 10px;
    }

    body.mobile-shell main.home-page .desktop-home-news-aside-links a {
        min-height: 42px;
        box-sizing: border-box;
    }

    body.mobile-shell main.home-page .desktop-home-news-aside-links a > i {
        margin-left: auto;
    }

    body.mobile-shell main.home-page .desktop-home-news-aside-links a:focus-visible,
    body.mobile-shell main.home-page .desktop-home-news-aside-feature > a:focus-visible {
        outline: 3px solid #17213a;
        outline-offset: 3px;
    }

    body.mobile-shell main.home-page .desktop-home-news-aside-feature {
        margin-top: auto;
        padding-top: 14px;
        border-top-color: #e7ebf0;
    }
}

/* Home desktop: escala vertical única entre os blocos principais. */
@media (min-width: 992px) {
    body.mobile-shell main.home-page .desktop-home-redesign {
        margin-bottom: var(--space-7);
    }

    body.mobile-shell main.home-page .desktop-home-panel,
    body.mobile-shell main.home-page .desktop-home-news-aside {
        margin-top: var(--space-5);
    }

    body.mobile-shell main.home-page .beneficio-strip {
        margin-top: var(--space-7);
        margin-bottom: var(--space-7);
    }

    body.mobile-shell main.home-page #servicos-sindicato {
        margin-top: var(--space-7);
        margin-bottom: 0;
        padding-block: var(--space-8);
    }

    body.mobile-shell main.home-page #voz-dos-associados {
        margin-top: var(--space-7);
        padding-block: var(--space-8);
    }

    body.mobile-shell main.home-page #endereco-atendimento {
        margin-top: var(--space-7);
    }

    body.mobile-shell main.home-page #endereco-atendimento + .stmc-footer {
        margin-top: 0;
    }
}

/* Cabeçalho desktop: grupos estáveis, respiro entre navegação e ações. */
@media (min-width: 992px) {
    body.mobile-shell .stmc-navbar > .container {
        display: flex;
        align-items: center;
        column-gap: clamp(1rem, 2vw, 2.5rem);
    }

    body.mobile-shell .stmc-navbar .navbar-brand {
        flex: 0 0 auto;
        margin-right: 0;
    }

    body.mobile-shell .stmc-navbar .navbar-collapse {
        display: flex !important;
        flex: 1 1 auto;
        align-items: center;
        min-width: 0;
        gap: clamp(0.75rem, 1.5vw, 1.75rem);
    }

    body.mobile-shell .stmc-navbar .desktop-navbar-links {
        flex: 1 1 auto;
        justify-content: center;
        min-width: 0;
        gap: clamp(0.25rem, 0.8vw, 0.85rem);
    }

    body.mobile-shell .stmc-navbar .desktop-navbar-links .nav-item,
    body.mobile-shell .stmc-navbar .desktop-navbar-links .nav-link {
        flex: 0 0 auto;
    }

    body.mobile-shell .stmc-navbar .d-flex.align-items-center.gap-2.ms-lg-3 {
        display: flex;
        flex: 0 0 auto;
        align-items: center;
        gap: clamp(0.5rem, 0.9vw, 1rem) !important;
        margin-left: 0 !important;
        padding-left: clamp(0.75rem, 1.4vw, 1.5rem);
        border-left: 1px solid #e9edf2;
    }

    body.mobile-shell .desktop-navbar-search {
        flex: 0 0 auto;
        margin-inline: 0 0.25rem;
    }

    body.mobile-shell .desktop-navbar-join,
    body.mobile-shell .stmc-navbar .d-flex.align-items-center.gap-2.ms-lg-3 > .btn-outline-secondary {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    body.mobile-shell .stmc-navbar .desktop-navbar-links .nav-link:focus-visible,
    body.mobile-shell .desktop-navbar-search:focus-visible,
    body.mobile-shell .desktop-navbar-join:focus-visible,
    body.mobile-shell .stmc-navbar .d-flex.align-items-center.gap-2.ms-lg-3 > .btn-outline-secondary:focus-visible {
        outline: 2px solid var(--stmc-red);
        outline-offset: 3px;
    }
}

/* Interações desktop: feedback consistente, discreto e acessível. */
@media (min-width: 992px) {
    body.mobile-shell .stmc-navbar .desktop-navbar-links .nav-link,
    body.mobile-shell .desktop-navbar-search,
    body.mobile-shell .desktop-navbar-join,
    body.mobile-shell .stmc-navbar .d-flex.align-items-center.gap-2.ms-lg-3 > .btn-outline-secondary,
    body.mobile-shell main.home-page .desktop-home-rail-card,
    body.mobile-shell main.home-page .desktop-home-news-card,
    body.mobile-shell main.home-page .desktop-home-services-grid a,
    body.mobile-shell main.home-page .desktop-home-news-aside-links a,
    body.mobile-shell main.home-page .desktop-home-event-link,
    body.mobile-shell main.home-page .desktop-home-primary,
    body.mobile-shell main.home-page .desktop-home-rail-secondary,
    body.mobile-shell main.home-page .desktop-home-redesign button:not(:disabled),
    body.mobile-shell main.home-page .whatsapp-float {
        transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
    }

    body.mobile-shell .stmc-navbar .desktop-navbar-links .nav-link:hover,
    body.mobile-shell .desktop-navbar-search:hover,
    body.mobile-shell .desktop-navbar-join:hover,
    body.mobile-shell .stmc-navbar .d-flex.align-items-center.gap-2.ms-lg-3 > .btn-outline-secondary:hover {
        transform: translateY(-1px);
    }

    body.mobile-shell main.home-page .desktop-home-redesign button:not(:disabled):hover {
        background-color: #fff7f7;
        border-color: #f0a2a4;
        box-shadow: 0 5px 12px rgb(15 29 53 / 0.08);
        transform: translateY(-1px);
    }

    body.mobile-shell main.home-page .desktop-home-rail-card:hover,
    body.mobile-shell main.home-page .desktop-home-news-card:hover,
    body.mobile-shell main.home-page .desktop-home-services-grid a:hover {
        border-color: #f0a2a4;
        box-shadow: 0 7px 18px rgb(15 29 53 / 0.09);
        transform: translateY(-2px);
    }

    body.mobile-shell main.home-page .desktop-home-news-card a:hover,
    body.mobile-shell main.home-page .desktop-home-news-aside-links a:hover,
    body.mobile-shell main.home-page .desktop-home-event-link:hover,
    body.mobile-shell main.home-page .desktop-home-rail-secondary:hover {
        color: #c9171e;
    }

    body.mobile-shell main.home-page .desktop-home-redesign a:focus-visible,
    body.mobile-shell main.home-page .desktop-home-redesign button:focus-visible,
    body.mobile-shell .stmc-navbar .desktop-navbar-links .nav-link:focus-visible,
    body.mobile-shell .desktop-navbar-search:focus-visible,
    body.mobile-shell .desktop-navbar-join:focus-visible,
    body.mobile-shell .stmc-navbar .d-flex.align-items-center.gap-2.ms-lg-3 > .btn-outline-secondary:focus-visible,
    body.mobile-shell .whatsapp-float:focus-visible {
        outline: 3px solid #17213a;
        outline-offset: 3px;
    }

    body.mobile-shell .whatsapp-float:hover {
        box-shadow: 0 0.35rem 1rem rgb(0 0 0 / 0.28);
        transform: translateY(-2px);
    }
}

@media (min-width: 992px) and (prefers-reduced-motion: reduce) {
    body.mobile-shell .stmc-navbar .desktop-navbar-links .nav-link,
    body.mobile-shell .desktop-navbar-search,
    body.mobile-shell .desktop-navbar-join,
    body.mobile-shell .stmc-navbar .d-flex.align-items-center.gap-2.ms-lg-3 > .btn-outline-secondary,
    body.mobile-shell main.home-page .desktop-home-rail-card,
    body.mobile-shell main.home-page .desktop-home-news-card,
    body.mobile-shell main.home-page .desktop-home-services-grid a,
    body.mobile-shell main.home-page .desktop-home-news-aside-links a,
    body.mobile-shell main.home-page .desktop-home-event-link,
    body.mobile-shell main.home-page .desktop-home-primary,
    body.mobile-shell main.home-page .desktop-home-rail-secondary,
    body.mobile-shell main.home-page .desktop-home-redesign button:not(:disabled),
    body.mobile-shell main.home-page .whatsapp-float {
        transition: none;
    }

    body.mobile-shell .stmc-navbar .desktop-navbar-links .nav-link:hover,
    body.mobile-shell .desktop-navbar-search:hover,
    body.mobile-shell .desktop-navbar-join:hover,
    body.mobile-shell .stmc-navbar .d-flex.align-items-center.gap-2.ms-lg-3 > .btn-outline-secondary:hover,
    body.mobile-shell main.home-page .desktop-home-rail-card:hover,
    body.mobile-shell main.home-page .desktop-home-news-card:hover,
    body.mobile-shell main.home-page .desktop-home-services-grid a:hover,
    body.mobile-shell main.home-page .desktop-home-redesign button:not(:disabled):hover,
    body.mobile-shell .whatsapp-float:hover {
        transform: none;
    }
}

/* ============================================================
   Faixa e Card da Assembleia Geral Online 2027 — Pauta de Reivindicações
   ============================================================ */
.assembleia-strip-mobile {
    display: none;
}

@media (max-width: 991.98px) {
    .assembleia-strip-mobile {
        display: block;
    }
}

.assembleia-strip {
    background: linear-gradient(135deg, #0b192c 0%, #15294a 100%);
    border-top: 3px solid #ed1c24;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.assembleia-strip::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 280px;
    height: 100%;
    background: radial-gradient(circle at right, rgba(237, 28, 36, 0.14) 0%, transparent 70%);
    pointer-events: none;
}

.assembleia-strip .denuncia-strip-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
}

.assembleia-strip .denuncia-strip-info {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex: 1 1 auto;
    min-width: 0;
}

.assembleia-strip-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    min-width: 0;
    flex: 1 1 auto;
}

.assembleia-strip-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.45rem 0.65rem;
    min-width: 0;
    max-width: 100%;
}

.assembleia-strip-title {
    margin: 0;
    color: #ffffff;
    font-size: clamp(0.8125rem, 1.25vw, 0.8375rem);
    font-weight: 800;
    line-height: 1.35;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
    letter-spacing: -0.01em;
}

.assembleia-strip-sub {
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(0.72rem, 1.05vw, 0.7125rem);
    font-weight: 400;
    line-height: 1.4;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
}

.assembleia-badge-live {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: rgba(237, 28, 36, 0.22);
    border: 1px solid rgba(237, 28, 36, 0.45);
    color: #ff6b6b;
    font-size: 0.5875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    flex-shrink: 0;
}

.assembleia-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ff4d4f;
    box-shadow: 0 0 6px #ff4d4f;
    animation: assembleiaPulse 1.8s infinite ease-in-out;
    flex-shrink: 0;
}

@keyframes assembleiaPulse {
    0%, 100% { transform: scale(0.9); opacity: 0.7; }
    50% { transform: scale(1.25); opacity: 1; }
}

.assembleia-strip-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #ed1c24 0%, #c41219 100%);
    color: #ffffff;
    font-size: 1.15rem;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(237, 28, 36, 0.35);
}

.assembleia-strip-actions {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    flex-shrink: 0;
}

.assembleia-btn-vote {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 40px;
    padding: 0.5rem 1.15rem;
    background: #ed1c24;
    color: #fff !important;
    font-size: 0.8125rem;
    font-weight: 750;
    text-decoration: none;
    border-radius: 8px;
    transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(237, 28, 36, 0.35);
}

.assembleia-btn-vote:hover,
.assembleia-btn-vote:focus-visible {
    background: #c9171e;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(237, 28, 36, 0.45);
    outline: none;
}

.assembleia-btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 40px;
    padding: 0.5rem 0.95rem;
    background: transparent;
    color: rgba(255, 255, 255, 0.88) !important;
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
    white-space: nowrap;
}

.assembleia-btn-ghost:hover,
.assembleia-btn-ghost:focus-visible {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.45);
    color: #ffffff !important;
    outline: none;
}

/* Ajustes Responsivos para Telas Mobile / Tablets Pequenos (< 768px) */
@media (max-width: 767.98px) {
    .assembleia-btn-convencoes {
        display: none !important;
    }

    .assembleia-strip {
        margin: 0.75rem var(--mobile-gutter, 20px) 0;
        border-radius: 0.9rem;
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-top: 3px solid #ed1c24;
        box-shadow: 0 6px 18px rgba(11, 25, 44, 0.15);
    }

    .assembleia-strip .denuncia-strip-inner {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0.85rem;
        padding: 1rem;
    }

    .assembleia-strip .denuncia-strip-info {
        display: flex;
        align-items: flex-start;
        gap: 0.75rem;
        width: 100%;
    }

    .assembleia-strip-icon {
        width: 2.25rem;
        height: 2.25rem;
        font-size: 1rem;
        margin-top: 2px;
    }

    .assembleia-strip-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
    }

    .assembleia-strip-title {
        font-size: 0.875rem;
        line-height: 1.3;
    }

    .assembleia-strip-sub {
        font-size: 0.75rem;
        line-height: 1.35;
        margin-top: 0.2rem;
    }

    .assembleia-strip-actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
        width: 100%;
        gap: 0.5rem;
    }

    .assembleia-strip-actions .assembleia-btn-vote,
    .assembleia-strip-actions .assembleia-btn-ghost {
        width: min(100%, 18rem);
        min-height: 44px;
        padding: 0.5rem 0.6rem;
        font-size: 0.75rem;
        text-align: center;
    }
}

/* Ajustes Finos para Telas Muito Estreitas (< 380px) */
@media (max-width: 379.98px) {
    .assembleia-strip-actions {
        grid-template-columns: 1fr;
    }

    .assembleia-strip-title {
        font-size: 0.8125rem;
    }
}

/* Card Assembleia no trilho Desktop */
@media (min-width: 992px) {
    body.mobile-shell .desktop-home-rail-card--assembleia {
        min-height: 154px;
        border-color: #edf0f4;
        background: #fff;
        box-shadow: 0 7px 20px rgba(15, 29, 53, 0.055);
        position: relative;
    }

    body.mobile-shell .desktop-home-rail-card--assembleia .desktop-home-rail-icon {
        background: #ed1c24;
        box-shadow: none;
    }

    body.mobile-shell .desktop-home-rail-card--assembleia h2 {
        display: flex;
        flex-direction: column;
        gap: 3px;
        color: #0f1d35;
    }

    body.mobile-shell .desktop-home-rail-card--assembleia h2 small {
        font-size: 0.72rem;
        font-weight: 800;
        color: #ed1c24;
        text-transform: uppercase;
        letter-spacing: 0.04em;
    }

    body.mobile-shell .desktop-home-rail-card--assembleia .assembleia-btn-destaque {
        display: inline-flex;
        grid-column: 1 / -1;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-height: 42px;
        padding: 0.6rem 1.05rem;
        border-radius: 9px;
        background: #c62828;
        color: #fff;
        font-size: 0.82rem;
        font-weight: 800;
        text-decoration: none;
        box-shadow: 0 4px 12px rgba(237, 28, 36, 0.25);
        transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
    }

    body.mobile-shell .desktop-home-rail-card--assembleia .assembleia-btn-destaque:hover,
    body.mobile-shell .desktop-home-rail-card--assembleia .assembleia-btn-destaque:focus-visible {
        background: #a61f24;
        color: #fff;
        transform: translateY(-1px);
        box-shadow: 0 6px 16px rgba(237, 28, 36, 0.35);
    }
}
