        :root {
            --brand-dark-blue: #0A2240;
            --brand-blue: #2D82C4;
            --brand-green: #198754;
            --brand-light: #F4F7FA;
        }

        body {
            font-family: 'Open Sans', sans-serif;
            background-color: var(--brand-light);
            color: #333;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            transition: font-size 0.2s ease, background-color 0.3s ease, color 0.3s ease;
        }

        /* Navbar Header */
        .navbar-custom {
            background-color: var(--brand-dark-blue);
            padding: 12px 0;
        }

        /* Container de destaque para o Logo */
        .logo-wrapper {
            background-color: #ffffff;
            padding: 6px 12px;
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }
        .logo-wrapper:hover {
            transform: scale(1.02);
            box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
        }
        .logo-wrapper img {
            height: 48px;
            width: auto;
            display: block;
        }

        /* Header Banner */
        .header-section {
            background: linear-gradient(180deg, var(--brand-dark-blue) 0%, #153866 100%);
            color: white;
            padding: 50px 0 80px;
        }

        /* Content Wrapper Card */
        .portal-card {
            background: white;
            border-radius: 16px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.08);
            margin-top: -50px;
            border: none;
        }

        /* Action Cards / Buttons */
        .action-card {
            border: 2px solid #e2e8f0;
            border-radius: 16px;
            background: #ffffff;
            transition: all 0.3s ease;
            text-decoration: none !important;
            color: inherit;
            display: flex;
            flex-direction: column;
            height: 100%;
            position: relative;
            overflow: hidden;
        }

        .action-card:hover {
            border-color: var(--brand-blue);
            transform: translateY(-6px);
            box-shadow: 0 12px 24px rgba(45, 130, 196, 0.18);
        }

        .action-icon {
            width: 64px;
            height: 64px;
            border-radius: 14px;
            background-color: #e8f2f9;
            color: var(--brand-blue);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            transition: all 0.3s ease;
            flex-shrink: 0;
        }

        .action-card:hover .action-icon {
            background-color: var(--brand-blue);
            color: white;
        }

        .action-btn-text {
            color: var(--brand-blue);
            font-weight: 700;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            transition: gap 0.2s ease;
        }

        .action-card:hover .action-btn-text {
            gap: 10px;
            color: var(--brand-dark-blue);
        }

        /* Barra de Ajuste de Fonte posiconda no lado direito, abaixo do VLibras */
        .accessibility-bar {
            position: fixed;
            right: 12px;
            top: calc(50% + 55px);
            z-index: 1050;
        }

        /* Footer */
        footer {
            margin-top: auto;
            background-color: var(--brand-dark-blue);
            color: #b0c4de;
            font-size: 0.9rem;
        }

        /* Estilos de Alto Contraste */
        body.high-contrast {
            background-color: #000000 !important;
            color: #FFFFFF !important;
        }
        body.high-contrast .navbar-custom,
        body.high-contrast .header-section,
        body.high-contrast .portal-card,
        body.high-contrast .action-card,
        body.high-contrast footer,
        body.high-contrast .alert,
        body.high-contrast .accessibility-bar > div {
            background-color: #121212 !important;
            color: #FFFF00 !important;
            border-color: #FFFF00 !important;
        }
        body.high-contrast h1, body.high-contrast h2, body.high-contrast h3, 
        body.high-contrast h4, body.high-contrast h5, body.high-contrast h6,
        body.high-contrast p, body.high-contrast label, body.high-contrast span,
        body.high-contrast i, body.high-contrast small, body.high-contrast strong, 
        body.high-contrast a, body.high-contrast .action-btn-text {
            color: #FFFF00 !important;
        }
        body.high-contrast .action-icon {
            background-color: #000000 !important;
            color: #FFFF00 !important;
            border: 1px solid #FFFF00 !important;
        }
        body.high-contrast .btn-dark {
            background-color: #FFFF00 !important;
            color: #000000 !important;
            border-color: #FFFF00 !important;
            font-weight: bold !important;
        }
        body.high-contrast .badge {
            background-color: #000000 !important;
            color: #FFFF00 !important;
            border: 1px solid #FFFF00 !important;
        }

            :root {
            --brand-dark-blue: #0A2240;
            --brand-blue: #2D82C4;
            --brand-green: #198754;
            --brand-light: #F4F7FA;
        }

        body {
            font-family: 'Open Sans', sans-serif;
            background-color: var(--brand-light);
            color: #333;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            transition: font-size 0.2s ease, background-color 0.3s ease, color 0.3s ease;
        }

        /* Navbar Header */
        .navbar-custom {
            background-color: var(--brand-dark-blue);
            padding: 12px 0;
        }

        /* Container de destaque para o Logo */
        .logo-wrapper {
            background-color: #ffffff;
            padding: 6px 12px;
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }
        .logo-wrapper img {
            height: 48px;
            width: auto;
            display: block;
        }

        /* Header Banner */
        .header-section {
            background: linear-gradient(180deg, var(--brand-dark-blue) 0%, #153866 100%);
            color: white;
            padding: 40px 0 70px;
        }

        /* Content Wrapper Card */
        .portal-card {
            background: white;
            border-radius: 16px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.08);
            margin-top: -45px;
            border: none;
        }

        .btn-brand-primary {
            background-color: var(--brand-blue);
            color: white;
            font-weight: 600;
            border: none;
            padding: 12px 24px;
            border-radius: 8px;
            transition: background-color 0.2s ease;
        }
        .btn-brand-primary:hover {
            background-color: #216ba4;
            color: white;
        }

        /* Barra de Ajuste de Fonte e Acessibilidade */
        .accessibility-bar {
            position: fixed;
            right: 12px;
            top: calc(50% + 55px);
            z-index: 1050;
        }

        /* Footer */
        footer {
            margin-top: auto;
            background-color: var(--brand-dark-blue);
            color: #b0c4de;
            font-size: 0.9rem;
        }

        /* ==========================================================
           REGRAS REFORÇADAS DE ALTO CONTRASTE (Sobrescreve Bootstrap)
           ========================================================== */
        body.high-contrast,
        body.high-contrast main,
        body.high-contrast header,
        body.high-contrast footer,
        body.high-contrast nav {
            background-color: #000000 !important;
            color: #FFFF00 !important;
        }

        body.high-contrast *,
        body.high-contrast h1, body.high-contrast h2, body.high-contrast h3,
        body.high-contrast h4, body.high-contrast h5, body.high-contrast h6,
        body.high-contrast p, body.high-contrast span, body.high-contrast label,
        body.high-contrast i, body.high-contrast small, body.high-contrast strong,
        body.high-contrast td, body.high-contrast th {
            color: #FFFF00 !important;
        }

        body.high-contrast .portal-card,
        body.high-contrast .navbar-custom,
        body.high-contrast .header-section,
        body.high-contrast .alert,
        body.high-contrast .table-responsive,
        body.high-contrast .accessibility-bar > div {
            background-color: #121212 !important;
            border-color: #FFFF00 !important;
            box-shadow: none !important;
        }

        body.high-contrast .form-control,
        body.high-contrast .form-select {
            background-color: #1a1a1a !important;
            color: #FFFF00 !important;
            border: 2px solid #FFFF00 !important;
        }

        body.high-contrast .btn {
            background-color: #000000 !important;
            color: #FFFF00 !important;
            border: 2px solid #FFFF00 !important;
            font-weight: bold !important;
        }
        body.high-contrast .btn:hover {
            background-color: #FFFF00 !important;
            color: #000000 !important;
        }


        body.high-contrast .table {
            --bs-table-bg: #121212 !important;
            --bs-table-color: #FFFF00 !important;
            border-color: #FFFF00 !important;
        }
        body.high-contrast .table-light,
        body.high-contrast .table-hover tbody tr:hover {
            background-color: #222222 !important;
            color: #FFFF00 !important;
        }

        
        body.high-contrast .pagination .page-link {
            background-color: #121212 !important;
            color: #FFFF00 !important;
            border-color: #FFFF00 !important;
        }
        body.high-contrast .pagination .page-item.active .page-link {
            background-color: #FFFF00 !important;
            color: #000000 !important;
        }

        /* //***************cookies/////////////// */
        /* Container Principal (Posicionamento Flutuante) */
.cookieConsentContainer {
    position: fixed;
    bottom: 24px;
    left: 24px;
    max-width: 420px;
    width: calc(100% - 48px);
    z-index: 1080;
    opacity: 0;
    transform: translateY(30px) scale(0.96);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

/* Estado de Exibição */
.cookieConsentContainer.cookie-show {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* Card Estilizado */
.cookie-card {
    background: #0A2240; /* Cor azul-escuro institucional */
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 16px 32px rgba(10, 34, 64, 0.35), 0 4px 12px rgba(0, 0, 0, 0.15);
    color: #ffffff;
    backdrop-filter: blur(8px);
}

/* Cabeçalho do Card */
.cookie-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.cookie-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(45, 130, 196, 0.2);
    color: #64b5f6;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.cookie-title-area {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.cookie-title-area h6 {
    margin: 0;
    font-weight: 700;
    font-size: 0.95rem;
    color: #ffffff;
    letter-spacing: -0.2px;
}

.cookie-badge {
    background: rgba(255, 255, 255, 0.1);
    color: #b0c4de;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Corpo e Texto */
.cookie-body p {
    font-size: 0.85rem;
    color: #d0dce8;
    line-height: 1.5;
    margin: 0 0 16px 0;
}

.cookie-body a {
    color: #64b5f6;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.cookie-body a:hover {
    color: #90caf9;
}

/* Botão de Ação */
.cookie-footer {
    display: flex;
    justify-content: flex-end;
}

.btn-cookie-accept {
    width: 100%;
    background: #198754; /* Verde sucesso */
    color: #ffffff;
    border: none;
    padding: 10px 18px;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(25, 135, 84, 0.25);
}

.btn-cookie-accept:hover {
    background: #157347;
    box-shadow: 0 6px 16px rgba(25, 135, 84, 0.35);
    transform: translateY(-1px);
}

.btn-cookie-accept:active {
    transform: translateY(0);
}

/* Responsividade (Celulares) */
@media (max-width: 576px) {
    .cookieConsentContainer {
        left: 12px;
        bottom: 12px;
        width: calc(100% - 24px);
        max-width: none;
    }
    .cookie-card {
        padding: 16px;
        border-radius: 16px;
    }
}

/* Suporte para Alto Contraste */
body.high-contrast .cookie-card {
    background: #000000 !important;
    border: 2px solid #FFFF00 !important;
    box-shadow: none !important;
}

body.high-contrast .cookie-icon {
    background: #000000 !important;
    color: #FFFF00 !important;
    border: 1px solid #FFFF00 !important;
}

body.high-contrast .cookie-title-area h6,
body.high-contrast .cookie-body p,
body.high-contrast .cookie-body a,
body.high-contrast .cookie-badge {
    color: #FFFF00 !important;
}

body.high-contrast .btn-cookie-accept {
    background: #000000 !important;
    color: #FFFF00 !important;
    border: 2px solid #FFFF00 !important;
    box-shadow: none !important;
}

body.high-contrast .btn-cookie-accept:hover {
    background: #FFFF00 !important;
    color: #000000 !important;
}

/* Fundo Escurecido com Desfocagem (Overlay) */
.cookieConsentOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(10, 34, 64, 0.65); /* Tom do azul institucional escurecido */
    backdrop-filter: blur(5px);
    z-index: 1090;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Transição de Aparição */
.cookieConsentOverlay.cookie-show {
    opacity: 1;
    pointer-events: auto;
}

/* Container do Modal */
.cookieConsentContainer {
    width: 100%;
    max-width: 500px;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookieConsentOverlay.cookie-show .cookieConsentContainer {
    transform: scale(1) translateY(0);
}

/* Card Principal */
.cookie-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border-top: 6px solid #2D82C4; /* Borda superior azul para destaque */
    color: #333333;
}

/* Header */
.cookie-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.cookie-icon {
    width: 48px;
    height: 48px;
    background-color: #eef6fc;
    color: #2D82C4;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.cookie-title-area {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.cookie-title-area h5 {
    margin: 0;
    font-weight: 700;
    font-size: 1.1rem;
    color: #0A2240;
}

.cookie-badge {
    background: #2D82C4;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
    letter-spacing: 0.5px;
}

/* Texto */
.cookie-body p {
    font-size: 0.92rem;
    color: #555555;
    line-height: 1.6;
    margin: 0 0 24px 0;
}

.cookie-body a {
    color: #2D82C4;
    text-decoration: underline;
    font-weight: 600;
}

.cookie-body a:hover {
    color: #1a5685;
}

/* Botão de Destaque */
.cookie-footer {
    display: flex;
    justify-content: center;
}

.btn-cookie-accept {
    width: 100%;
    background: #198754;
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(25, 135, 84, 0.3);
}

.btn-cookie-accept:hover {
    background: #146c43;
    box-shadow: 0 6px 18px rgba(25, 135, 84, 0.4);
    transform: translateY(-1px);
}

/* Suporte total ao Modo Alto Contraste */
body.high-contrast .cookieConsentOverlay {
    background-color: rgba(0, 0, 0, 0.85) !important;
}

body.high-contrast .cookie-card {
    background: #000000 !important;
    border: 3px solid #FFFF00 !important;
    box-shadow: none !important;
}

body.high-contrast .cookie-icon {
    background: #000000 !important;
    color: #FFFF00 !important;
    border: 1px solid #FFFF00 !important;
}

body.high-contrast .cookie-title-area h5,
body.high-contrast .cookie-body p,
body.high-contrast .cookie-body a,
body.high-contrast .cookie-badge {
    color: #FFFF00 !important;
}

body.high-contrast .btn-cookie-accept {
    background: #000000 !important;
    color: #FFFF00 !important;
    border: 2px solid #FFFF00 !important;
}

body.high-contrast .btn-cookie-accept:hover {
    background: #FFFF00 !important;
    color: #000000 !important;
}

/* //*************Politica de privacidade************************* */
      :root {
            --brand-dark-blue: #0A2240;
            --brand-blue: #2D82C4;
            --brand-green: #198754;
            --brand-light: #F4F7FA;
        }

        body {
            font-family: 'Open Sans', sans-serif;
            background-color: var(--brand-light);
            color: #333;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            transition: font-size 0.2s ease, background-color 0.3s ease, color 0.3s ease;
        }

        /* Navbar Header */
        .navbar-custom {
            background-color: var(--brand-dark-blue);
            padding: 12px 0;
        }

        /* Logo Wrapper */
        .logo-wrapper {
            background-color: #ffffff;
            padding: 6px 12px;
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }
        .logo-wrapper img {
            height: 48px;
            width: auto;
            display: block;
        }

        /* Header Banner */
        .header-section {
            background: linear-gradient(180deg, var(--brand-dark-blue) 0%, #153866 100%);
            color: white;
            padding: 40px 0 70px;
        }

        /* Content Wrapper Card */
        .portal-card {
            background: white;
            border-radius: 16px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.08);
            margin-top: -45px;
            border: none;
        }

        /* Cards Internos */
        .info-box {
            background-color: #f8f9fa;
            border-left: 4px solid var(--brand-blue);
            border-radius: 8px;
            padding: 20px;
            margin-bottom: 24px;
        }

        /* Link Customizado */
        .link-custom {
            color: var(--brand-blue);
            font-weight: 600;
            text-decoration: none;
            transition: color 0.2s ease;
        }
        .link-custom:hover {
            color: #1a5685;
            text-decoration: underline;
        }

        /* Barra de Acessibilidade */
        .accessibility-bar {
            position: fixed;
            right: 12px;
            top: calc(50% + 55px);
            z-index: 1050;
        }

        /* Footer */
        footer {
            margin-top: auto;
            background-color: var(--brand-dark-blue);
            color: #b0c4de;
            font-size: 0.9rem;
        }

        /* ==========================================================
           REGRAS REFORÇADAS DE ALTO CONTRASTE (Sobrescreve Bootstrap)
           ========================================================== */
        body.high-contrast,
        body.high-contrast main,
        body.high-contrast header,
        body.high-contrast footer,
        body.high-contrast nav {
            background-color: #000000 !important;
            color: #FFFF00 !important;
        }

        body.high-contrast *,
        body.high-contrast h1, body.high-contrast h2, body.high-contrast h3,
        body.high-contrast h4, body.high-contrast h5, body.high-contrast h6,
        body.high-contrast p, body.high-contrast span, body.high-contrast label,
        body.high-contrast i, body.high-contrast small, body.high-contrast strong,
        body.high-contrast li, body.high-contrast div {
            color: #FFFF00 !important;
        }

        body.high-contrast a {
            color: #FFFF00 !important;
            text-decoration: underline !important;
        }

        body.high-contrast .portal-card,
        body.high-contrast .navbar-custom,
        body.high-contrast .header-section,
        body.high-contrast .info-box,
        body.high-contrast .alert,
        body.high-contrast .accessibility-bar > div {
            background-color: #121212 !important;
            border-color: #FFFF00 !important;
            box-shadow: none !important;
        }

        body.high-contrast .btn {
            background-color: #000000 !important;
            color: #FFFF00 !important;
            border: 2px solid #FFFF00 !important;
            font-weight: bold !important;
        }
        body.high-contrast .btn:hover {
            background-color: #FFFF00 !important;
            color: #000000 !important;
        }
        body.high-contrast .btn:hover * {
            color: #000000 !important;
        }
