@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

@font-face {
    font-family: Barlow;
    src: url('../../fonts/barlow/Barlow-BlackItalic.woff2') format('woff2'), url('Barlow-BlackItalic.woff') format('woff');
    font-weight: 900;
    font-style: italic;
    font-display: swap
}

@font-face {
    font-family: Barlow;
    src: url('../../fonts/barlow/Barlow-Black.woff2') format('woff2'), url('Barlow-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: Barlow;
    src: url('../../fonts/barlow/Barlow-Bold.woff2') format('woff2'), url('Barlow-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: Barlow;
    src: url('../../fonts/barlow/Barlow-BoldItalic.woff2') format('woff2'), url('Barlow-BoldItalic.woff') format('woff');
    font-weight: 700;
    font-style: italic;
    font-display: swap
}

@font-face {
    font-family: Barlow;
    src: url('../../fonts/barlow/Barlow-ExtraBoldItalic.woff2') format('woff2'), url('Barlow-ExtraBoldItalic.woff') format('woff');
    font-weight: 700;
    font-style: italic;
    font-display: swap
}

@font-face {
    font-family: Barlow;
    src: url('../../fonts/barlow/Barlow-ExtraBold.woff2') format('woff2'), url('Barlow-ExtraBold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: Barlow;
    src: url('../../fonts/barlow/Barlow-ExtraLight.woff2') format('woff2'), url('Barlow-ExtraLight.woff') format('woff');
    font-weight: 200;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: Barlow;
    src: url('../../fonts/barlow/Barlow-ExtraLightItalic.woff2') format('woff2'), url('Barlow-ExtraLightItalic.woff') format('woff');
    font-weight: 200;
    font-style: italic;
    font-display: swap
}

@font-face {
    font-family: Barlow;
    src: url('../../fonts/barlow/Barlow-Italic.woff2') format('woff2'), url('Barlow-Italic.woff') format('woff');
    font-weight: 400;
    font-style: italic;
    font-display: swap
}

@font-face {
    font-family: Barlow;
    src: url('../../fonts/barlow/Barlow-Light.woff2') format('woff2'), url('Barlow-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: Barlow;
    src: url('../../fonts/barlow/Barlow-MediumItalic.woff2') format('woff2'), url('Barlow-MediumItalic.woff') format('woff');
    font-weight: 500;
    font-style: italic;
    font-display: swap
}

@font-face {
    font-family: Barlow;
    src: url('../../fonts/barlow/Barlow-SemiBold.woff2') format('woff2'), url('Barlow-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: Barlow;
    src: url('../../fonts/barlow/Barlow-Regular.woff2') format('woff2'), url('Barlow-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: Barlow;
    src: url('../../fonts/barlow/Barlow-Medium.woff2') format('woff2'), url('Barlow-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: Barlow;
    src: url('../../fonts/barlow/Barlow-LightItalic.woff2') format('woff2'), url('Barlow-LightItalic.woff') format('woff');
    font-weight: 300;
    font-style: italic;
    font-display: swap
}

@font-face {
    font-family: Barlow;
    src: url('../../fonts/barlow/Barlow-SemiBoldItalic.woff2') format('woff2'), url('Barlow-SemiBoldItalic.woff') format('woff');
    font-weight: 600;
    font-style: italic;
    font-display: swap
}

@font-face {
    font-family: Barlow;
    src: url('../../fonts/barlow/Barlow-Thin.woff2') format('woff2'), url('Barlow-Thin.woff') format('woff');
    font-weight: 100;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: Barlow;
    src: url('../../fonts/barlow/Barlow-ThinItalic.woff2') format('woff2'), url('Barlow-ThinItalic.woff') format('woff');
    font-weight: 100;
    font-style: italic;
    font-display: swap
}

/* ============================================
   RESET E VARIÁVEIS GLOBAIS
   ============================================ */
:root {
    /* fonte */
    --font-family-base: "Montserrat", sans-serif;
    --font-size-base: 1rem;
    --font-weight-base: 400;
    --font-weight-light: 300;
    --font-weight-bold: 700;
    --line-height-base: 1.5;
    --letter-spacing-base: 0.01em;
    --title-color: #034454;
    /* background */
    --bgDefault: #034454;
    --bgDefault-hover: linear-gradient(90deg, #166d77 0%, #21c0b6 100%);
    /* cor icones */
    --bs-secondary-color: #034454;
    --footer: var(--bgDefault);
    --color-dark-blue: #1a2d4d;
    --color-teal: #0d8b8b;
    --color-dark-teal: #0a6b6b;
    --color-light-gray: #f5f5f5;
    --color-text-dark: #333333;
    --color-text-light: #666666;
    --color-border: #e0e0e0;
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /*  --maxw: 1200px; */
    --gap: 16px;
    --fg: #1f2937;
    --muted: #6b7280;
    --list: #6b7280;
    --bg: #f8fafc;
    --card: #ffffff;
    --line: #e5e7eb;
    --brand: #065f46;
    --bar: #fff;
    --ink: #0a5560;
    --accent: #b5cb3e;
    /* =================== BOTÕES SÓLIDOS ===================== */
    /* Primary */
    /* --btn-primary-bg: #034454; */
    --btn-primary-bg: var(--bgDefault);
    --btn-primary-color: #fff;
    /* --btn-primary-border: #034454; */
    --btn-primary-border: var(--bgDefault);
    --btn-primary-hover-bg: #001b21;
    --btn-primary-hover-color: #fff;
    --btn-primary-hover-border: #001b21;
    /* Secondary */
    --btn-secondary-bg: #e4e8ed;
    --btn-secondary-color: #4b6276;
    --btn-secondary-border: #c8d1db;
    --btn-secondary-hover-bg: #d0dbe8;
    --btn-secondary-hover-color: #34525f;
    --btn-secondary-hover-border: #b4c4d3;
    /* Warning */
    --btn-warning-bg: #ffe5ae;
    --btn-warning-color: #ad6800;
    --btn-warning-border: #ffe5ae;
    --btn-warning-hover-bg: #ffd580;
    --btn-warning-hover-color: #8d5300;
    --btn-warning-hover-border: #ffd580;
    /* Info */
    --btn-info-bg: #c9e7fb;
    --btn-info-color: #1876a1;
    --btn-info-border: #c9e7fb;
    --btn-info-hover-bg: #b3dbf7;
    --btn-info-hover-color: #0b5377;
    --btn-info-hover-border: #b3dbf7;
    /* Danger */
    --btn-danger-bg: #ffc5c2;
    --btn-danger-color: #ba3b2f;
    --btn-danger-border: #ffc5c2;
    --btn-danger-hover-bg: #ff9990;
    --btn-danger-hover-color: #87201c;
    --btn-danger-hover-border: #ff9990;
    /* =================== OUTLINE ===================== */
    /* Primary */
    --btn-outline-primary-color: #36867d;
    --btn-outline-primary-border: #36867d;
    --btn-outline-primary-hover-bg: #36867d;
    --btn-outline-primary-hover-color: #fff;
    /* Secondary */
    --btn-outline-secondary-color: #34525f;
    --btn-outline-secondary-border: #34525f;
    --btn-outline-secondary-hover-bg: #34525f;
    --btn-outline-secondary-hover-color: #fff;
    /* Warning */
    --btn-outline-warning-color: #ad6800;
    --btn-outline-warning-border: #ad6800;
    --btn-outline-warning-hover-bg: #ad6800;
    --btn-outline-warning-hover-color: #fff;
    /* Info */
    --btn-outline-info-color: #0b5377;
    --btn-outline-info-border: #0b5377;
    --btn-outline-info-hover-bg: #0b5377;
    --btn-outline-info-hover-color: #fff;
    /* Danger */
    --btn-outline-danger-color: #ba3b2f;
    --btn-outline-danger-border: #ba3b2f;
    --btn-outline-danger-hover-bg: #ba3b2f;
    --btn-outline-danger-hover-color: #fff;
    /* =================== BADGES SÓLIDOS ===================== */
    /* Primary */
    --bg-primary-bg: #034454;
    --bg-primary-color: #fff;
    --bg-primary-border: #034454;
    --bg-primary-hover-bg: #001b21;
    --bg-primary-hover-color: #fff;
    --bg-primary-hover-border: #001b21;
    /* Secondary */
    --bg-secondary-bg: #e4e8ed;
    --bg-secondary-color: #4b6276;
    --bg-secondary-border: #c8d1db;
    --bg-secondary-hover-bg: #d0dbe8;
    --bg-secondary-hover-color: #34525f;
    --bg-secondary-hover-border: #b4c4d3;
    /* Warning */
    --bg-warning-bg: #ffe5ae;
    --bg-warning-color: #ad6800;
    --bg-warning-border: #ffe5ae;
    --bg-warning-hover-bg: #ffd580;
    --bg-warning-hover-color: #8d5300;
    --bg-warning-hover-border: #ffd580;
    /* Info */
    --bg-info-bg: #c9e7fb;
    --bg-info-color: #1876a1;
    --bg-info-border: #c9e7fb;
    --bg-info-hover-bg: #b3dbf7;
    --bg-info-hover-color: #0b5377;
    --bg-info-hover-border: #b3dbf7;
    /* Danger */
    --bg-danger-bg: #ffc5c2;
    --bg-danger-color: #ba3b2f;
    --bg-danger-border: #ffc5c2;
    --bg-danger-hover-bg: #ff9990;
    --bg-danger-hover-color: #87201c;
    --bg-danger-hover-border: #ff9990;
    /* =================== OUTLINE ===================== */
    /* Primary */
    --bg-outline-primary-color: #36867d;
    --bg-outline-primary-border: #36867d;
    --bg-outline-primary-hover-bg: #36867d;
    --bg-outline-primary-hover-color: #fff;
    /* Secondary */
    --bg-outline-secondary-color: #34525f;
    --bg-outline-secondary-border: #34525f;
    --bg-outline-secondary-hover-bg: #34525f;
    --bg-outline-secondary-hover-color: #fff;
    /* Warning */
    --bg-outline-warning-color: #ad6800;
    --bg-outline-warning-border: #ad6800;
    --bg-outline-warning-hover-bg: #ad6800;
    --bg-outline-warning-hover-color: #fff;
    /* Info */
    --bg-outline-info-color: #0b5377;
    --bg-outline-info-border: #0b5377;
    --bg-outline-info-hover-bg: #0b5377;
    --bg-outline-info-hover-color: #fff;
    /* Danger */
    --bg-outline-danger-color: #ba3b2f;
    --bg-outline-danger-border: #ba3b2f;
    --bg-outline-danger-hover-bg: #ba3b2f;
    --bg-outline-danger-hover-color: #fff;
}

.card-bg {
    background: var(--bgDefault) !important;
    color: #fff !important;
}

.card-bg i {
    color: #fff !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    font-optical-sizing: auto;
    font-family: Barlow, sans-serif;
    font-weight: 500;
    font-style: normal;
    letter-spacing: 0.01rem;
    font-size: clamp(10px, 1.1vw, 1rem);
    line-height: 1.6;
    margin: 0;
    color: var(--fg);
    background: var(--bg);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body.access-scale {
    font-size: var(--access-font-size, 100%) !important;
}

h1,
h2 {
    font-weight: 700;
}

h1 {
    font-size: 1.65rem;
    margin-bottom: 1.3rem;
}

h2 {
    font-size: 1.12rem;
    margin-top: 2rem;
    margin-bottom: .6rem;
}

.link {
    color: #185fc9;
    text-decoration: none;
}

.link:hover {
    text-decoration: underline;
}

ul {
    margin-bottom: 1rem;
}


main {
    flex: 1
}

.text-muted {
    --bs-text-opacity: 1;
    color: var(--bs-secondary-color) !important;
}



header {
    background: #fff;
    border-bottom: 1px solid var(--line)
}


.section {
    margin: 28px 0
}

.section__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
}

/* .section__head h1 {
    font-size: clamp(1.2rem, 2vw, 1.5rem) !important;
    color: var(--title-color, #1e2b3a);
    margin: 0;
    white-space: nowrap;
} */

.section__head h1 {
    font-size: clamp(1.2rem, 2vw, 1.5rem) !important;
    color: var(--title-color, #1e2b3a);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    /* Esconde o excesso de texto */
    text-overflow: ellipsis;
    /* Adiciona os três pontinhos (...) */
}


.section__head .section__hint {
    font-size: clamp(0.9rem, 1.6vw, 1rem);
    color: var(--text-muted, #5b6b7a);
    text-align: right;
    flex: 1;
    min-width: 220px;
}

.title-color {
    color: var(--title-color);
}

.enabled {
    left: initial !important;
    right: 0px !important;
    top: 30% !important;
    bottom: initial !important;
    transform: translateY(calc(-50% - 10px)) !important;
}

/* ============================================
   BOTAO CHATBOT
   ============================================ */
.chatbot {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 9999;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: none;
    background: #2a839e;
    cursor: pointer;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.164);
    background-size: 300%;
    background-position: left;
    transition-duration: 1s;
}

.chatbot i {
    font-size: 1.5em;
    color: #fff;
    line-height: 5px;
}

.tooltip {
    position: absolute;
    top: -40px;
    opacity: 0;
    background: #2a839e;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition-duration: .5s;
    pointer-events: none;
    letter-spacing: 0.5px;
}

.chatbot:hover .tooltip {
    opacity: 1;
    transition-duration: .5s;
}

.chatbot:hover {
    background-position: right;
    transition-duration: 1s;
}

#chatbot-frame {
    display: none;
    position: fixed;
    right: 30px;
    bottom: 100px;
    width: 340px;
    height: 420px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 6px 32px 0 rgba(60, 72, 87, .20);
    z-index: 10000;
    overflow: hidden;
    flex-direction: column;
}

#chatbot-frame.open {
    display: flex;
}

/* ============================================
   COOKIES
   ============================================ */
.cookie-consent-banner {
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(40, 40, 40, .55)
}

.cookie-modal {
    background: #fff;
    border-radius: 10px;
    max-width: 440px;
    width: 96vw;
    padding: 28px 26px 18px;
    box-shadow: 0 4px 32px #0002;
    position: relative;
    z-index: 11
}

.cookie-title {
    font-size: 1.17rem;
    font-weight: 500;
    color: #000;
}

.cookie-desc {
    color: #333;
    font-size: .97rem
}

.cookie-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 0;
    border-bottom: 1px solid #e8e8e8;
    font-size: .98rem
}

.cookie-tag.always {
    color: #31a931;
    font-weight: 600;
    font-size: .92em
}

.switch {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 20px;
    margin-left: 10px
}

.accordion-toggle {
    cursor: pointer;
    margin-left: 8px;
    color: #2b5;
    font-weight: 700;
    font-size: 1.2em;
    user-select: none;
    border-radius: 50%;
    padding: 1px 8px;
    background: #f4f4f4;
    border: 1px solid #e2e2e2;
    transition: background .15s
}

.btn-aceitar,
.cookie-link {
    margin: 0 6px;
    cursor: pointer
}

.slider,
.slider:before {
    position: absolute;
    transition: .3s
}

.accordion-toggle:hover {
    background: #e5ffe5
}

.accordion-panel {
    font-size: .93em;
    color: #444;
    padding: 7px 5px 3px 10px;
    border-left: 3px solid #2b5;
    background: #fafafa
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0
}

.slider {
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    border-radius: 16px
}

.slider:before {
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 0 2px #8883
}

input:checked+.slider {
    background-color: #2b5
}

input:checked+.slider:before {
    transform: translateX(16px)
}

.slider.round {
    border-radius: 16px
}

.cookie-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px
}

.cookie-backdrop {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, .2);
    z-index: 1
}

#cookie-consent-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #f8f8f8;
    border-top: 1px solid #e0e0e0;
    box-shadow: 0 -1px 6px rgba(0, 0, 0, .06);
    z-index: 9999;
    padding: 12px 0
}

.cookie-consent-content {
    text-align: center;
    font-size: 1rem;
    color: #444
}

.btn-aceitar {
    background: #00364b;
    color: #fff;
    border: none;
    padding: 5px 15px;
    border-radius: 3px;
    font-weight: 500
}

.cookie-link {
    color: #9b9b9b;
    text-decoration: underline;
    font-size: .96em
}

/* ============================================
   POPUP
   ============================================ */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .75);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    animation: .3s forwards fadeIn;
    padding: 20px
}

@keyframes fadeIn {
    to {
        opacity: 1
    }
}

@keyframes slideUp {
    from {
        transform: translateY(30px) scale(.95);
        opacity: 0
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1
    }
}

.popup-container {
    position: relative;
    padding: 2px;
    max-width: 900px;
    width: 100%;
    background: #fff;
    border-radius: 16px;
    overflow: visible;
    box-shadow: 0 25px 50px rgba(0, 0, 0, .3);
    animation: .4s forwards slideUp
}

.popup-close {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 255, 255, .96);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
    transition: background .2s, transform .2s
}

.popup-image,
.popup-link {
    display: block;
    border-radius: 16px
}

.popup-close:hover {
    background: #fff;
    transform: scale(1.09)
}

.popup-close svg {
    width: 24px;
    height: 24px;
    stroke: #1a1a1a;
    stroke-width: 2
}

.popup-link {
    position: relative;
    overflow: hidden
}

.popup-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform .3s
}

.popup-link:hover .popup-image {
    transform: scale(1.02);
    border-radius: 16px
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
    font-size: 0.95rem;
    background: #fff;
    background-color: #f0f7fa !important;
    border-radius: 8px;
    padding: 0.75rem 1rem !important;
}


.breadcrumb-item>a,
.breadcrumb-item>span {
    display: inline-block;
    max-width: 220px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: bottom;
    color: #0a3d62;
    font-weight: 500;

}

@media (max-width: 992px) {

    .breadcrumb-item>a,
    .breadcrumb-item>span {
        max-width: 120px;
    }
}


.breadcrumb-item a:hover {
    color: #004d5f;
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #2c5260;
    font-weight: 500;
}

.breadcrumb-item+.breadcrumb-item {
    padding: 0 !important;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: "\f105";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #999;
    padding: 0 0.5rem;
}

/* ============================================
   BANNER ROTATIVO COROUSEL
   ============================================ */
@media (max-width: 600px) {
    #carouselExampleCaptions {
        display: none;
    }
}

.carousel-caption {
    background: rgba(15, 23, 42, 0.75);
    border-radius: 18px;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    margin: 0 auto 2rem;
}

.carousel-caption h5 {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    font-weight: 600;
}

.carousel-caption p {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    margin-bottom: 0.8rem;
}

.carousel-caption .btn {
    font-size: clamp(0.85rem, 1.8vw, 1rem);
    padding: 0.5rem 1.2rem;
}

@media (max-width: 576px) {
    .carousel-caption {
        padding: 1rem;
        bottom: 0.5rem;
    }
}

/* ============================================================
   BADGES DE FILTROS
============================================================ */
.filters-wrapper {
    grid-gap: 10px;
    gap: 10px;
    display: flex;
    flex-wrap: wrap;
}

.filter-badge {
    border-radius: 25px;
    padding: 0.2rem 0.3rem;
    background: var(--btn-secondary-bg);
    color: var(--btn-secondary-color);
    border: 1px solid var(--btn-secondary-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-family: inherit;
    box-shadow: none;
    text-decoration: none;
}

.filter-badge strong {
    margin-left: 2px;
    color: #c7371b;
    font-weight: 500;
    font-family: inherit;
}

.filter-badge .remove-filter {
    margin-left: 10px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    width: 1rem;
    height: 1rem;
    font-size: 0rem;
    color: #aaa;
    text-decoration: none;
    transition: background 0.18s, color 0.18s;
    box-shadow: none;
}

.filter-badge .remove-filter svg {
    width: 10px;
    height: 10px;
    display: block;
}


.active-filters {
    margin: 0 0 18px 0;
    padding: 1rem;
    border: none;
    border-radius: 0;
    border-radius: 10px;
    border: 1px solid var(--btn-secondary-border);
}

.filters-label {
    font-weight: 600;
    color: var(--bgDefault);
    font-size: 1rem;
    margin-right: 14px;
    font-family: inherit;
}

.clear-all-filters,
.clear-all-filters:visited,
.clear-all-filters:active,
.clear-all-filters:hover {
    border-radius: 25px;
    padding: 0.2rem 0.3rem;
    background: #ffede9;
    color: #a9563c;
    border: 1px solid #a9563c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-family: inherit;
    box-shadow: none;
    text-decoration: none;
}

.clear-all-filters:hover {
    background: #ffe0d6;
    color: #c7371b !important;
    text-decoration: none !important;
}

/* ============================================================
   BOTOES
============================================================ */
/* ====== SÓLIDOS ====== */
.btn--primary {
    background: var(--btn-primary-bg);
    color: var(--btn-primary-color);
    border: 1px solid var(--btn-primary-border);
}

.btn--primary:hover,
.btn--primary:focus {
    background: var(--btn-primary-hover-bg);
    color: var(--btn-primary-hover-color);
    border: 1px solid var(--btn-primary-hover-border);
}


.btn--info {
    background: var(--btn-info-bg);
    color: var(--btn-info-color);
    border: 1px solid var(--btn-info-border);
}

.btn--info:hover,
.btn--info:focus {
    background: var(--btn-info-hover-bg);
    color: var(--btn-info-hover-color);
    border: 1px solid var(--btn-info-hover-border);
}


.btn--secondary {
    background: var(--btn-secondary-bg);
    color: var(--btn-secondary-color);
    border: 1px solid var(--btn-secondary-border);
}

.btn--secondary:hover,
.btn--secondary:focus {
    background: var(--btn-secondary-hover-bg);
    color: var(--btn-secondary-hover-color);
    border: 1px solid var(--btn-secondary-hover-border);
}

.btn--warning {
    background: var(--btn-warning-bg);
    color: var(--btn-warning-color);
    border: 1px solid var(--btn-warning-border);
}

.btn--warning:hover,
.btn--warning:focus {
    background: var(--btn-warning-hover-bg);
    color: var(--btn-warning-hover-color);
    border: 1px solid var(--btn-warning-hover-border);
}


.btn--danger {
    background: var(--btn-danger-bg);
    color: var(--btn-danger-color);
    border: 1px solid var(--btn-danger-border);
}

.btn--danger:hover,
.btn--danger:focus {
    background: var(--btn-danger-hover-bg);
    color: var(--btn-danger-hover-color);
    border: 1px solid var(--btn-danger-hover-border);
}

/* ====== OUTLINE ====== */
.btn--outline--primary {
    background: transparent;
    color: var(--btn-outline-primary-color);
    border: 1px solid var(--btn-outline-primary-border);
}

.btn--outline--primary:hover,
.btn--outline--primary:focus {
    background: var(--btn-outline-primary-hover-bg);
    color: var(--btn-outline-primary-hover-color);
}

.btn--outline--secondary {
    background: transparent;
    color: var(--btn-outline-secondary-color);
    border: 1px solid var(--btn-outline-secondary-border);
}

.btn--outline--secondary:hover,
.btn--outline--secondary:focus {
    background: var(--btn-outline-secondary-hover-bg);
    color: var(--btn-outline-secondary-hover-color);
}

.btn--outline--warning {
    background: transparent;
    color: var(--btn-outline-warning-color);
    border: 1px solid var(--btn-outline-warning-border);
}

.btn--outline--warning:hover,
.btn--outline--warning:focus {
    background: var(--btn-outline-warning-hover-bg);
    color: var(--btn-outline-warning-hover-color);
}

.btn--outline--info {
    background: transparent;
    color: var(--btn-outline-info-color);
    border: 1px solid var(--btn-outline-info-border);
}

.btn--outline--info:hover,
.btn--outline--info:focus {
    background: var(--btn-outline-info-hover-bg);
    color: var(--btn-outline-info-hover-color);
}

.btn--outline--danger {
    background: transparent;
    color: var(--btn-outline-danger-color);
    border: 1px solid var(--btn-outline-danger-border);
}

.btn--outline--danger:hover,
.btn--outline--danger:focus {
    background: var(--btn-outline-danger-hover-bg);
    color: var(--btn-outline-danger-hover-color);
}


.btn.btn-outline-secondary {
    font-weight: 600;
    padding-inline: 16px;
}


.sociais_contato {
    width: 2rem;
    height: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
    transition: all 0.2s ease;
    background: rgba(15, 23, 42, 0.15);
}

.sociais_contato a {
    text-decoration: none;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sociais_contato a i {
    font-size: 1.3rem;
    color: var(--bgDefault);
}

.sociais_contato:hover {
    background: var(--accent);
}

/* ============================================================
BADGES
============================================================ */

.badge {
    display: inline-block;
    padding: 5px 5px;
    cursor: pointer;
    border-radius: 0.258rem;
    font-weight: 500;
    font-size: 0.8rem;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
}

/* ====== SÓLIDOS ====== */
.bg--primary {
    background: var(--bg-primary-bg);
    color: var(--bg-primary-color);
    border: 1px solid var(--bg-primary-border);
}

.bg--primary:hover,
.bg--primary:focus {
    background: var(--bg-primary-hover-bg);
    color: var(--bg-primary-hover-color);
    border: 1px solid var(--bg-primary-hover-border);
}


.bg--info {
    background: var(--bg-info-bg);
    color: var(--bg-info-color);
    border: 1px solid var(--bg-info-border);
}

.bg--info:hover,
.bg--info:focus {
    background: var(--bg-info-hover-bg);
    color: var(--bg-info-hover-color);
    border: 1px solid var(--bg-info-hover-border);
}


.bg--secondary {
    background: var(--bg-secondary-bg);
    color: var(--bg-secondary-color);
    border: 1px solid var(--bg-secondary-border);
}

.bg--secondary:hover,
.bg--secondary:focus {
    background: var(--bg-secondary-hover-bg);
    color: var(--bg-secondary-hover-color);
    border: 1px solid var(--bg-secondary-hover-border);
}

.bg--warning {
    background: var(--bg-warning-bg);
    color: var(--bg-warning-color);
    border: 1px solid var(--bg-warning-border);
}

.bg--warning:hover,
.bg--warning:focus {
    background: var(--bg-warning-hover-bg);
    color: var(--bg-warning-hover-color);
    border: 1px solid var(--bg-warning-hover-border);
}


.bg--danger {
    background: var(--bg-danger-bg);
    color: var(--bg-danger-color);
    border: 1px solid var(--bg-danger-border);
}

.bg--danger:hover,
.bg--danger:focus {
    background: var(--bg-danger-hover-bg);
    color: var(--bg-danger-hover-color);
    border: 1px solid var(--bg-danger-hover-border);
}

/* ====== OUTLINE ====== */
.bg--outline--primary {
    background: transparent;
    color: var(--bg-outline-primary-color);
    border: 1px solid var(--bg-outline-primary-border);
}

.bg--outline--primary:hover,
.bg--outline--primary:focus {
    background: var(--bg-outline-primary-hover-bg);
    color: var(--bg-outline-primary-hover-color);
}

.bg--outline--secondary {
    background: transparent;
    color: var(--bg-outline-secondary-color);
    border: 1px solid var(--bg-outline-secondary-border);
}

.bg--outline--secondary:hover,
.bg--outline--secondary:focus {
    background: var(--bg-outline-secondary-hover-bg);
    color: var(--bg-outline-secondary-hover-color);
}

.bg--outline--warning {
    background: transparent;
    color: var(--bg-outline-warning-color);
    border: 1px solid var(--bg-outline-warning-border);
}

.bg--outline--warning:hover,
.bg--outline--warning:focus {
    background: var(--bg-outline-warning-hover-bg);
    color: var(--bg-outline-warning-hover-color);
}

.bg--outline--info {
    background: transparent;
    color: var(--bg-outline-info-color);
    border: 1px solid var(--bg-outline-info-border);
}

.bg--outline--info:hover,
.bg--outline--info:focus {
    background: var(--bg-outline-info-hover-bg);
    color: var(--bg-outline-info-hover-color);
}

.bg--outline--danger {
    background: transparent;
    color: var(--bg-outline-danger-color);
    border: 1px solid var(--bg-outline-danger-border);
}

.bg--outline--danger:hover,
.bg--outline--danger:focus {
    background: var(--bg-outline-danger-hover-bg);
    color: var(--bg-outline-danger-hover-color);
}


.bg.bg-outline-secondary {
    font-weight: 600;
    padding-inline: 16px;
}

/* ============================================================
   HEADER — SOCIAL, ACESSIBILIDADE, LOGO, BUSCA
============================================================ */
/* .access-bar {
    background: var(--bgDefault);
    color: #fff;
    font-size: 0.85rem;
    width: 100%;
} */

.access-bar {
    background: var(--theme-bg, var(--bgDefault));
    /* Usa o do banco se tiver, senão o padrão */
    color: var(--theme-text, #fff);
    /* Usa o do banco se tiver, senão #fff */
    font-size: 0.85rem;
    width: 100%;
}


.access-bar .container {
    padding-block: 6px;
    min-width: 0;
    width: 100%;
}

.access-bar .container>.d-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.7rem;
    flex-wrap: wrap;
    min-width: 0;
    width: 100%;
}

.sociais_header {
    width: 2rem;
    height: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0.35rem;
    transition: background 0.2s;
    background: rgba(255, 255, 255, 0.15);
    flex: 0 0 auto;
}

.sociais_header a {
    text-decoration: none;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sociais_header a i {
    font-size: 1.1rem;
    color: #fff;
    transition: color 0.2s;
}

.sociais_header:hover {
    background: #034454;
}

.sociais_header:hover i {
    color: #034454;
}

.access-nav {
    min-width: 220px;
    max-width: 100%;
    width: auto;
    padding: 0.15rem 0.75rem;
    border-radius: 6px;
    display: inline-flex;
    gap: 0.35rem;
    background: rgba(255, 255, 255, 0.15);
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.access-link {
    text-decoration: none;
    background: none;
    border: none;
    padding: 2px 6px;
    cursor: pointer;
    font-weight: 600;
    color: #fff;
    font-size: 0.8rem;
    transition: color 0.2s;
}

.access-link:hover {
    text-decoration: underline;
}

.sep {
    width: 2px;
    height: 1.3rem;
    border-radius: 50px;
    background: #bbb;
    margin: 0 0.7em;
    align-self: center;
    flex-shrink: 0;
}

@media (max-width: 991.98px) {
    .sociais_header {
        display: none !important;
    }

    .access-bar .container>.d-flex {
        justify-content: center;
        gap: 0.3rem;
    }

    .access-nav {
        margin-left: auto;
        margin-right: auto;
        min-width: 220px;
        max-width: 100vw;
        width: auto;
        justify-content: center;
    }

    .sep {
        height: 1rem;
        margin: 0 0.4em;
    }
}

@media (max-width: 575.98px) {
    .access-bar {
        font-size: 0.7rem;
    }

    .access-link {
        font-size: 0.7rem;
        padding: 2px 4px;
    }

    .sep {
        height: 0.7rem;
        margin: 0 0.2em;
    }

    .access-bar .container>.d-flex {
        gap: 0.15rem;
        justify-content: center;
    }

    .access-nav {
        min-width: 180px;
        max-width: 100vw;
        width: 100%;
        justify-content: center;
        padding: 0.10rem 0.2rem;
        flex-wrap: wrap;
    }
}

.top-nav {
    padding-block: 1.55rem;
}

.logo_header {
    max-height: 4rem;
}

.auth {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.search-lite {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px 12px;
    background: #fff;
    min-width: 260px;
}

.search-lite input {
    border: none;
    outline: none;
    width: 100%;
    font-size: .9rem;
}

.btn {
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 6px;
    font-weight: 500;
}


@media (max-width: 991.98px) {
    .auth {
        display: none;
    }
}

/* ---------- EFEITOS QUE DEVEM AFETAR O SITE TODO ---------- */
html.access-grayscale {
    filter: grayscale(100%) !important;
}

html.access-high-contrast {
    filter: contrast(180%) !important;
}

html.access-neg-contrast {
    filter: invert(100%) hue-rotate(180deg) !important;
}

html.access-light-bg {
    background: #ffffff !important;
}

html.access-light-bg body,
html.access-light-bg * {
    background-color: #ffffff !important;
    color: #000 !important;
}

html.access-underline a {
    text-decoration: underline !important;
}

html.access-readable-font * {
    font-family: Arial, Helvetica, sans-serif !important;
}

html {
    transition: font-size 0.1s linear;
}

/* ============================================================
   NAVBAR — DESKTOP + STICKY
============================================================ */
.navbar-main {
    padding-block: 0.75rem 12px;
    background: #ffffff !important;
    position: relative;
    z-index: 99;
    box-shadow: 0px 1px 0px 0px rgba(0, 0, 0, .15);
}

.navbar-main .navbar-nav {
    align-items: center;
}

.navbar-main .nav-link {
    color: var(--ink);
    font-weight: 600;
    letter-spacing: .02em;
    padding: 0.3rem;
    border: 1px solid transparent;
    border-radius: 0.3rem;
    position: relative;
    transition: color .2s ease, background .2s ease;
    margin: 3px;
}

.navbar-main .nav-link:hover {
    border: 1px solid var(--bgDefault);
    color: var(--bgDefault);
    font-weight: 600;
}

.navbar-main .nav-link.active,
.navbar-main .nav-item.show>.nav-link {
    position: relative;
    border: 1px solid var(--bgDefault);
    background: var(--bgDefault);
    color: #fff !important;
}

.navbar-main .nav-link.active::after,
.navbar-main .nav-item.show>.nav-link::after {
    content: "";
    display: block;
    position: absolute;
    left: 50%;
    bottom: 0.2rem;
    width: 90%;
    height: 3px;
    border-radius: 999px;
    background: var(--accent);
    transform: translateX(-50%);
}

/* ============================================================
   NAVBAR MOBILE
============================================================ */
@media (max-width: 991px) {

    .sticky-wrapper.is-sticky .navbar-main {
        background: #ffffff !important;
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.10);
        padding-block: .5rem;
    }

    .navbar-main .navbar-collapse.show {
        background: #ffffff !important;
        border-radius: 12px;
        padding: 1rem;
        margin-top: .75rem;
        box-shadow:
            0 4px 12px rgba(0, 0, 0, 0.12),
            0 1px 3px rgba(0, 0, 0, 0.10);
        position: relative;
        z-index: 9000 !important;
    }

    .navbar-main .navbar-collapse,
    .navbar-main .collapsing {
        transition: none !important;
        -webkit-transition: none !important;
    }

    .navbar-main .navbar-nav {
        padding: 1rem 0 !important;
    }

    .navbar-main .nav-link {
        padding: .85rem 1.25rem !important;
        font-size: 1.05rem !important;
        border-radius: 8px;
        background: transparent !important;
        color: #0f172a !important;
    }

    .navbar-main .nav-link.active {
        background: var(--bgDefault) !important;
        color: #fff !important;
    }

    .navbar-main .nav-link.active::after {
        bottom: .25rem;
    }
}

/* ============================================================
   NAVBAR TOGGLER (hambúrguer)
============================================================ */
.toggler-custom {
    width: 42px;
    height: 42px;
    padding: 0;
    border: none !important;
    background: none !important;
    display: flex;
    flex-direction: column;
    gap: 6px;
    justify-content: center;
    align-items: center;
}

.navbar-toggler:focus {
    box-shadow: none !important;
}

.toggler-custom .bar {
    width: 26px;
    height: 3px;
    background: var(--ink);
    border-radius: 3px;
    transition: .35s cubic-bezier(.68, -.55, .27, 1.55);
}

.toggler-custom[aria-expanded="true"] .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.toggler-custom[aria-expanded="true"] .bar:nth-child(2) {
    opacity: 0;
}

.toggler-custom[aria-expanded="true"] .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

@media (min-width: 992px) {
    .toggler-custom {
        display: none !important;
    }
}

/* ============================================
   CARDS E LISTAS
   ============================================ */
.card,
.law-card,
.sidebar {
    height: fit-content;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 10px #c1c8d855;
    padding: 1rem;
    border: none;
    transition: transform 0.2s, box-shadow 0.2s;

}

.card--link {
    background: #fff;
    color: var(--bgDefault);
    text-decoration: none;
    /* color: inherit; */
    height: 100%;
    align-items: center;
}

/* .card--link i {
    color: var(--bgDefault);
} */

.card--link:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);

}

.card__title {
    font-weight: 600;
    margin: 0 0 6px
}

.pill {
    width: fit-content;
    display: inline-block;
    padding: 2px 8px;
    font-size: 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted)
}

.list {
    display: grid;
    gap: 8px
}

.list__item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    padding: 10px 0;
    border-bottom: 1px dashed var(--line)
}

.list__item:last-child {
    border-bottom: 0
}

.dropdown-menu {
    z-index: 1055;
}

/* ============================================
   CALENDÁRIO
   ============================================ */
.calendar-card {
    width: 100%;
    border-radius: 14px;
    box-shadow: 0 2px 2px #0001;
    overflow: hidden;
    background: #fff;
}

.calendar-sidebar {
    background: var(--bgDefault);
    color: #fff;
    width: 170px;
    min-width: 120px;
    max-width: 200px;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    text-align: center;
    transition: all .2s;
    border-radius: 0;
    flex-shrink: 0;
}

.sidebar-day-wrap {
    width: 100%;
    min-height: 95px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 16px;
    padding-bottom: 5px;
    border-bottom: 1px solid #fff2;
}

.sidebar-day {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.5px;
}

.sidebar-weekday {
    font-size: 1rem;
    font-weight: 600;
    margin-top: 3px;
    letter-spacing: 1px;
    min-height: 20px;
}

.sidebar-events-title {
    font-size: 1rem;
    font-weight: 500;
    margin: 10px 0 2px 0;
    width: 100%;
}

.sidebar-events-list-wrap {
    width: 100%;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.sidebar-events-list {
    width: 100%;
    max-height: 200px;
    min-height: 34px;
    overflow-y: auto;
    list-style: none;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0 2px;
    transition: none;
}

.sidebar-events-list li {
    font-size: 0.94rem;
    margin-bottom: 7px;
    line-height: 1.3;
    background: rgba(255, 255, 255, 0.09);
    border-radius: 7px;
    padding: 4px 6px;
    cursor: pointer;
    text-align: left;
    word-break: break-word;
}

.sidebar-events-list li:hover {
    background: rgba(255, 255, 255, 0.19);
}

.calendar-base {
    background: #fff;
    flex: 1;
    min-width: 0;
    min-height: 360px;
    color: #252525;
    box-sizing: border-box;
    transition: all .2s;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 22px 16px 18px 16px;
    overflow-x: auto;
}

.calendar-header .month-label,
.calendar-header .year-label {
    font-size: 1.15rem;
    font-weight: 700;
}

.calendar-header .nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.18rem 0.38rem;
    border: none;
    width: 28px;
    height: 28px;
    color: #fff;
    background: var(--bgDefault);
    border-radius: 0.38rem;
    font-size: 1.07rem;
    cursor: pointer;
    transition: background .18s;
}

.calendar-header .nav-btn:hover {
    background: #036880;
}

.calendar-weekdays {
    display: flex;
    justify-content: space-between;
    font-size: 1.08rem;
    font-weight: 700;
    color: #034454;
    margin-bottom: 5px;
    gap: 2px;
    letter-spacing: 1px;
}

.calendar-weekdays div {
    flex: 1 0 0;
    text-align: center;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-auto-rows: 38px;
    gap: 2px;
}

.calendar-day-cell {
    text-align: center;
    font-size: 1.09rem;
    line-height: 36px;
    position: relative;
    cursor: pointer;
    user-select: none;
    border-radius: 0.31rem;
    transition: background .14s, color .12s;
}

.calendar-day-cell.inactive {
    color: #d1d1d1;
    cursor: default;
}

.calendar-day-cell.active,
.calendar-day-cell:hover:not(.inactive) {
    background: var(--bgDefault);
    color: #fff;
}

/* =========================================================
   CALENDARIO - DIA ATIVO/HOVER RESPEITANDO TEMA DO BANCO
   (sem alterar o JS)
   ========================================================= */
.calendar-theme[data-theme="1"] .calendar-day-cell.active,
.calendar-theme[data-theme="1"] .calendar-day-cell:hover:not(.inactive) {
    background: var(--theme-bg) !important;
    color: var(--theme-text) !important;
}

.calendar-theme[data-theme="1"] .calendar-day-cell:hover:not(.inactive) {
    filter: brightness(0.98);
}

.calendar-dot {
    width: 7px;
    height: 7px;
    background: #59bfdb;
    border-radius: 50%;
    display: inline-block;
    position: absolute;
    left: 50%;
    bottom: 3px;
    transform: translateX(-50%);
}

/* ===== EVENTO LATERAL PROXIMOS EVENTOS ===== */
.eventos-laterais-card {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 2px #c1c8d855;
    padding: 10px 14px 10px 10px;
    margin-bottom: 5px;
    gap: 12px;
    min-height: 68px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.eventos-laterais-card:hover {
    box-shadow: 0 3px 3px #0002;
}

.eventos-laterais-info {
    flex: 1;
    min-width: 0;
}

.eventos-laterais-titulo {
    color: #23415f;
    font-weight: 700;
    font-size: 0.9em;
    word-break: break-word;
}

.eventos-laterais-label {
    font-size: 0.93em;
    color: #888;
    font-weight: 500;
}

/* ===== EVENTO DESTAQUE ===== */
.evento-destaque-card {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-size: cover;
    background-position: center;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    background-repeat: no-repeat;
    box-shadow: 0 2px 14px #0003;
    transition: transform .25s ease, box-shadow .25s ease;
}

.evento-destaque-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px #0004;
}

.evento-destaque-glass-footer {
    width: 100%;
    padding: 14px 18px 13px 18px;
    background: rgba(0, 0, 0, 0.44);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    color: #fff;
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.evento-destaque-titulo {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.2;
}

.evento-destaque-data {
    font-size: .95rem;
    opacity: .85;
}

/* ******************************* */
@media (min-width: 992px) {

    .calendar-card,
    .destaque-card,
    .proximos-eventos-card {
        height: 100%;
        min-height: 360px;
        display: flex;
        flex-direction: column;
    }

    .evento-destaque-card {
        flex: 1 1 auto;
        min-height: 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }

    .proximos-eventos-card {
        flex: 1 1 auto;
        min-height: 0;
        overflow: hidden;
    }

    #eventoDestaque,
    #proximosEventos {
        flex: 1 1 auto;
        min-height: 0;
        display: flex;
        flex-direction: column;
        justify-content: stretch;
    }

    #eventoDestaque>.evento-destaque-card,
    #proximosEventos>.eventos-laterais-card {
        flex: 1 1 auto;
        min-height: 0;
    }

    #proximosEventos {
        overflow-y: auto;
        max-height: 100%;
    }
}

/* ============================================
  NOTÍCIAS
   ============================================ */
.card-news .card__title {
    font-size: 1.09rem;
    font-weight: 600;
}

.card-news img {
    object-fit: cover;
}

.card-news .badge {
    font-size: 0.85em;
}

.sidebar .card {
    border-radius: .5rem;
}

.sidebar .list-group-item {
    border: none;
}

.sidebar .badge {
    font-size: 0.77em;
}

.sidebar .card__title {
    font-size: 1rem;
}

.news-main-img {
    border-radius: 12px;
    max-height: 420px;
    object-fit: cover;
    width: 100%;
}

/* .badge {
    font-size: 0.85em;
    font-weight: 600;
    border-radius: 0.235rem;
} */

.news-meta {
    font-size: .98em;
    color: #6b7280;
}

.news-views {
    font-size: .98em;
    color: #6b7280;
}

.sidebar-block {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 12px #d3d8e855;
    padding: 1.2em 1em 1em 1em;
    margin-bottom: 0.5em;
}

.sidebar-block h5 {
    font-size: 1.03em;
    font-weight: 700;
}

.category-link {
    text-decoration: none;
    color: var(--text-muted) !important;
}

.category-link:hover {
    text-decoration: underline;
}

.comment-box {
    background: #f4f6fa;
    border-radius: .7em;
    padding: 1.3em 1.1em;
    margin-top: 2em;
}

.form-label {
    font-weight: 600;
}

/* ============================================
  CERTIFICADO
   ============================================ */
.cert-verify-form .form-label {
    font-weight: 600;
    color: #1a3a42;
}

.cert-verify-form .form-control {
    border-radius: 10px;
    font-size: 1.12rem;
    border: 1.5px solid #d0e8f0;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.cert-verify-form .form-control:focus {
    box-shadow: none !important;
    outline: none !important;
}

.cert-verify-form .btn {
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.08rem;
    padding: .48rem 1.5rem;
    letter-spacing: .01em;
    transition: all 0.3s ease;
}

.cert-verify-form .btn--primary {
    background: linear-gradient(135deg, #004d5f 0%, #006175 100%);
    border: none;
    color: white;
}

.cert-verify-form .btn--primary:hover {
    background: linear-gradient(135deg, #003d4d 0%, #005063 100%);
    box-shadow: 0 4px 12px rgba(0, 97, 117, 0.25);
    transform: translateY(-1px);
}

.cert-verify-form .btn--primary:active {
    transform: translateY(0);
}

.cert-verify-result {
    border-radius: 14px;
    background: linear-gradient(90deg, #e8f4f8 60%, #f5fbfd 100%);
    margin-top: 1.7rem;
    margin-bottom: .6rem;
    padding: 1.4rem 1.2rem;
    transition: all 0.3s ease;
    min-width: 230px;
    animation: slideInDown 0.4s ease-out;
}

.cert-verify-result.error {
    background: linear-gradient(90deg, #fde7ea 60%, #fdf7f7 100%);
}


@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cert-verify-result .fa-circle-check {
    color: #fff;
    font-size: 1.9em;
    vertical-align: middle;
}

.cert-verify-result .fa-circle-xmark {
    color: #d41f1f;
    margin-right: .7rem;
    font-size: 1.6em;
    vertical-align: middle;
}

.cert-verify-result h5 {
    text-transform: uppercase;
    font-size: 1.16rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: #006175;
}

.cert-verify-result ul {
    padding-left: 0;
    list-style: none;
    margin-bottom: 0;
    font-size: 1.06rem;
    color: #2c5260;
}

.cert-verify-result li strong {
    font-weight: 600;
    color: #004d5f;
}

.cert-verify-result .text-danger {
    color: #d41f1f !important;
}

.cert-verify-result .text-warning {
    color: #c97c0f !important;
}

@media (max-width: 520px) {
    .cert-verify-form {
        padding: 1.3rem .7rem;
    }

    .cert-verify-result {
        padding: .95rem .4rem;
        margin-top: 1.2rem;
    }

    .cert-verify-form .btn {
        font-size: 1rem;
        padding: .4rem 1rem;
    }
}

.ribbon {
    font-size: 2em;
    font-weight: bold;
    color: #fff;
}

.ribbon {
    --c: #2a839e;
    padding: .6em 1.3em;
    aspect-ratio: 1;
    display: grid;
    place-content: center;
    text-align: center;
    position: relative;
    z-index: 0;
    width: fit-content;
    box-sizing: border-box;
}

.ribbon:before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 50% 0 auto;
    aspect-ratio: 1;
    background: color-mix(in srgb, var(--c), #000 35%);
    clip-path: polygon(calc(100%/3) 0, calc(200%/3) 0, 100% 90%, 80% 85%, calc(200%/3) 100%, calc(100%/3) 0, calc(200%/3) 0, calc(100%/3) 100%, 20% 85%, 0 90%);
}

.ribbon:after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: var(--c);
    clip-path: polygon(99.58% 56.44%, 94.85% 64.05%, 94.39% 73.01%, 87.34% 78.55%, 83.84% 86.8%,
            75.32% 89.6%, 69.21% 96.16%, 60.25% 95.87%, 52.27% 99.95%, 43.95% 96.61%,
            35.05% 97.71%, 28.37% 91.73%, 19.63% 89.72%, 15.4% 81.81%, 7.88% 76.94%,
            6.61% 68.06%, 1.2% 60.91%, 3.05% 52.13%, 0.42% 43.56%, 5.15% 35.95%,
            5.61% 26.99%, 12.66% 21.45%, 16.16% 13.2%, 24.68% 10.4%, 30.79% 3.84%,
            39.75% 4.13%, 47.73% 0.05%, 56.05% 3.39%, 64.95% 2.29%, 71.63% 8.27%,
            80.37% 10.28%, 84.6% 18.19%, 92.12% 23.06%, 93.39% 31.94%, 98.8% 39.09%,
            96.95% 47.87%);
}

/* ============================================
   TERMOS
   ============================================ */

.termos-section {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px #e0e7ef66;
    padding: 2.4rem 2rem 2.4rem 2rem;
    margin-top: 2.5rem;
}

/* ============================================
   PRIVACIDADE
   ============================================ */
.priv-section {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px #e0e7ef66;
    padding: 2.4rem 2rem 2.4rem 2rem;
    margin-top: 2.5rem;
}

/* ============================================
  GALERIA
   ============================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px #cbd5e155;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 320px;
    transition: box-shadow .2s;
}

.gallery-card:hover {
    box-shadow: 0 4px 16px #b6c1d866;
}

.gallery-img-wrap {
    width: 100%;
    aspect-ratio: 4/3;
    background: #f1f5fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .18s;
}

.gallery-card:hover .gallery-img {
    transform: scale(1.045);
}

.gallery-title {
    font-weight: 600;
    font-size: 1.07em;
    margin: 0.7em 0 0.4em 0;
}

.gallery-caption {
    font-size: 0.98em;
    color: #64748b;
}

.gallery-filter .btn {
    border-radius: 18px;
    font-size: .97em;
    padding: 0.35em 1.1em;
}

/* ============================================
   GRID UTILITÁRIA
   ============================================ */
/* Utilitário geral */
.grid {
    display: grid;
    gap: var(--gap, 1.2rem);
}

/* Grid automática — o número de colunas se adapta ao espaço! */
.grid-auto {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* Grid com N colunas fixas */
.grid--2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

.grid--5 {
    grid-template-columns: repeat(5, 1fr);
}

/* Ícones grandes nos cards */
.grid i {
    font-size: 3em;
}

/* RESPONSIVIDADE FLEXÍVEL */
@media (max-width: 1100px) {
    .grid--5 {
        grid-template-columns: repeat(3, 1fr);
    }

    .grid--4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid--3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 800px) {

    .grid--5,
    .grid--4,
    .grid--3 {
        grid-template-columns: 1fr 1fr;
    }

    .grid--2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 500px) {

    .grid--5,
    .grid--4,
    .grid--3,
    .grid--2,
    .grid-auto {
        /* grid-template-columns: 1fr; */
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
FILTROS PÁGINA CURSOS
   ============================================ */
.filters {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 12px;
    display: grid;
    gap: 10px
}

.chip {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px 10px;
    background: #fff;
    cursor: pointer
}

.chip.active {
    background: #e8fff3;
    border-color: #b7f0d1
}

.divider {
    height: 1px;
    background: var(--line);
    margin: 8px 0
}

.muted {
    display: flex;
    /* color: var(--muted); */
    align-items: center;
}

.list {
    color: var(--list);
}

/* ============================================
PAGINAÇÃO
   ============================================ */
/* .pagination {
    border-radius: 0 !important;
    gap: 5px !important;
    text-decoration: none !important;
    display: flex !important;
    list-style: none !important;
    padding-left: 0 !important;
}

.pagination .page-link {
    border-radius: 0.25rem !important;
    color: #065f46 !important;
    background: #fff !important;
    font-weight: 500 !important;
    transition: none !important;
    box-shadow: 0 2px 10px #c1c8d855 !important;
    border: none !important;
}

.pagination .page-item.active .page-link {
    background: var(--bgDefault) !important;
    border-radius: 0.25rem !important;
    color: #fff !important;
    font-weight: 500 !important;
    transition: none !important;
    box-shadow: 0 2px 10px #c1c8d855 !important;
    border: none !important;
}

.pagination .page-link:hover,
.pagination .page-link:focus {
    background: var(--bgDefault) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 0.25rem !important;
}

.pagination .page-item.disabled .page-link {
    background: #fff !important;
    color: #c1c1c1 !important;
    box-shadow: 0 2px 10px #c1c8d855 !important;
    border: none !important;
} */
.pagination {
    border-radius: 0;
    gap: 5px;
    text-decoration: none;
    display: flex;
    list-style: none;
    padding-left: 0;
}

.pagination .page-link {
    border-radius: 0.25rem;
    color: #065f46;
    background: #fff;
    font-weight: 500;
    transition: none;
    box-shadow: 0 2px 10px #c1c8d855;
    border: none;
}

.pagination .page-item.active .page-link {
    background: var(--bgDefault);
    border-radius: 0.25rem;
    color: #fff;
    font-weight: 500;
    transition: none;
    box-shadow: 0 2px 10px #c1c8d855;
    border: none;
}

/* .pagination .page-link:hover,
.pagination .page-link:focus {
    background: var(--bgDefault);
    color: #fff;
    border: none;
    border-radius: 0.25rem;
} */

/* .pagination .page-link:hover,
.pagination .page-link:focus {
    background: var(--theme-bg, #065f46);
    color: var(--theme-text, #fff);
} */

/* .pagination .page-item.disabled .page-link {
    background: #fff;
    color: #c1c1c1;
    box-shadow: 0 2px 10px #c1c8d855;
    border: none;
} */

/* ============================================
   PAGINAÇÃO DINÂMICA COM TEMA
   ============================================ */
/* .pagination {
    border-radius: 0 !important;
    gap: 5px !important;
    text-decoration: none !important;
    display: flex !important;
    list-style: none !important;
    padding-left: 0 !important;
}

.pagination .page-link {
    border-radius: 0.25rem !important;
    color: var(--theme-text, #065f46) !important;
    background: var(--theme-bg, #fff) !important;
    font-weight: 500 !important;
    transition: none !important;
    box-shadow: 0 2px 10px #c1c8d855 !important;
    border: none !important;
}

.pagination .page-item.active .page-link,
.pagination .page-link:hover,
.pagination .page-link:focus {
    background: var(--theme-text, #065f46) !important;
    color: var(--theme-bg, #fff) !important;
    border: none !important;
    border-radius: 0.25rem !important;
}

.pagination .page-item.disabled .page-link {
    background: #fff !important;
    color: #c1c1c1 !important;
    box-shadow: 0 2px 10px #c1c8d855 !important;
    border: none !important;
} */

/* ============================================
FOOTER
   ============================================ */
.logo_footer {
    max-height: 4rem;
    filter: brightness(0) invert(1)
}

.text-footer {
    font-size: 14px;
    font-weight: 500;
    margin-top: 10px;
}

/* .site-footer {
    background: var(--footer);
    color: #e7eaf0;
    font-size: .99em;
}

.sociais_footer {
    width: 2rem;
    height: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0.35rem;
    transition: background 0.2s;
    background: rgba(255, 255, 255, 0.15);
}

.sociais_footer a {
    text-decoration: none;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sociais_footer a i {
    font-size: 1.1rem;
    color: #fff;
    transition: color 0.2s;
}

.sociais_footer:hover {
    background: #fff;
}

.sociais_footer:hover i {
    color: #034454;
}

.site-footer address {
    font-style: normal;
}

@media (max-width: 575.98px) {
    .site-footer {
        font-size: .96em;
    }
}
 */

/* FOOTER COM TEMA CUSTOMIZADO DO BANCO */
.site-footer {
    background: var(--theme-bg, var(--footer));
    /* Se tiver --theme-bg, usa. Se não, usa --footer antigo */
    color: var(--theme-text, #e7eaf0);
    /* Se tiver --theme-text, usa. Se não, #e7eaf0 */
    font-size: .99em;
}

/* Links e ícones do footer */
.site-footer a,
.site-footer .link-light {
    color: var(--theme-text, #e7eaf0) !important;
}

.site-footer a:hover,
.site-footer .link-light:hover {
    color: var(--theme-icon, #fff) !important;
}

/* Ícones sociais */
.sociais_footer a i {
    color: var(--theme-icon, #fff) !important;
}

.sociais_footer:hover i {
    color: var(--theme-bg, #034454) !important;
}

.logo_footer {
    max-height: 4rem;
    filter: brightness(0) invert(1);
}

.text-footer {
    font-size: 14px;
    font-weight: 500;
    margin-top: 10px;
}

.sociais_footer {
    width: 2rem;
    height: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0.35rem;
    transition: background 0.2s;
    background: rgba(255, 255, 255, 0.15);
}

.sociais_footer:hover {
    background: #034454;
}

.site-footer address {
    font-style: normal;
}

@media (max-width: 575.98px) {
    .site-footer {
        font-size: .96em;
    }
}

.fancybox__container {
    z-index: 12000 !important;
}

.fancybox-active .navbar-main,
.fancybox-active .sticky-wrapper {
    display: none !important;
}