/* =========================================
   Barra de Acessibilidade
   ========================================= */
#accessibility-bar {
    background: #00496D;
    color: #fff;
    padding: 4px 0;
    font-size: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}
#accessibility-bar .container {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.a11y-label {
    color: #ccc;
    font-size: 11px;
    margin-right: 4px;
}
.a11y-text-controls {
    display: flex;
    gap: 2px;
}
.a11y-text-controls button,
#contrast-toggle {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.4);
    padding: 2px 8px;
    cursor: pointer;
    font-size: 12px;
    border-radius: 3px;
    line-height: 1.4;
    transition: background 0.15s;
}
.a11y-text-controls button:hover,
#contrast-toggle:hover {
    background: rgba(255,255,255,0.28);
}
#contrast-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* =========================================
   Breadcrumb
   ========================================= */
.breadcrumb-wrapper {
    background: #f5f5f5;
    border-bottom: 1px solid #ddd;
    padding: 6px 0;
    width: 100%;
}
header.primary .breadcrumb-wrapper {
    position: relative;
    z-index: 1;
}
.breadcrumb-wrapper .breadcrumb {
    background: transparent;
    margin: 0;
    padding: 0;
    font-size: 13px;
    border-radius: 0;
}
.breadcrumb-wrapper .breadcrumb > li + li::before {
    content: "> \00a0";
    color: #777;
    padding: 0 4px;
}

/* =========================================
   Alto Contraste
   ========================================= */
html.high-contrast,
html.high-contrast body {
    background-color: #000 !important;
    color: #ffff00 !important;
}
html.high-contrast * {
    background-color: #000 !important;
    color: #ffff00 !important;
    border-color: #ffff00 !important;
    box-shadow: none !important;
    text-shadow: none !important;
}
html.high-contrast a,
html.high-contrast a:visited {
    color: #00ffff !important;
}
html.high-contrast a:hover {
    color: #ffffff !important;
}
html.high-contrast img {
    filter: invert(1) contrast(2) !important;
    opacity: 0.85 !important;
}
html.high-contrast input,
html.high-contrast textarea,
html.high-contrast select {
    background: #111 !important;
    color: #ffff00 !important;
    border: 1px solid #ffff00 !important;
}
html.high-contrast #accessibility-bar {
    background: #000 !important;
    border-bottom-color: #ffff00 !important;
}
html.high-contrast .a11y-text-controls button {
    background: #111 !important;
    border-color: #ffff00 !important;
    color: #ffff00 !important;
}
html.high-contrast #contrast-toggle {
    background: #ffff00 !important;
    color: #000 !important;
    border-color: #ffff00 !important;
}
