/* ==========================================================================
   CSS Principal - Portal COTEC/UFRB
   Design System baseados nas cores da UFRB (Azul #172983 e Dourado #FFCC00)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    --primary-color: #172983;
    --primary-dark: #0f1c5c;
    --primary-light: rgba(23, 41, 131, 0.1);
    --accent-color: #FFCC00;
    --accent-hover: #e6b800;
    --text-color: #212529;
    --text-muted: #6c757d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #dee2e6;
    --success-color: #198754;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset e Configurações Gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--bg-light);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

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

/* ==========================================================================
   ACESSIBILIDADE — eMAG 3.1 + WCAG 2.1 (Nível AA)
   ========================================================================== */

/* 1. Link "Pular para o Conteúdo Principal" (eMAG 2.1 / WCAG 2.4.1) */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--accent-color);
    color: #000;
    font-weight: 700;
    padding: 10px 20px;
    z-index: 10000;
    border-radius: 0 0 8px 0;
    text-decoration: underline;
    transition: top 0.2s;
}
.skip-link:focus {
    top: 0;
}

/* 2. Barra de Acessibilidade */
.accessibility-bar {
    background-color: #1a1a2e;
    border-bottom: 2px solid var(--accent-color);
    padding: 6px 0;
    font-size: 12px;
}
.accessibility-bar .container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}
.accessibility-bar a,
.accessibility-bar button {
    color: #e0e0e0;
    background: none;
    border: 1px solid transparent;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
    text-decoration: none;
}
.accessibility-bar a:hover,
.accessibility-bar button:hover {
    background-color: var(--accent-color);
    color: #000;
    border-color: var(--accent-color);
}
.accessibility-bar .a11y-sep {
    color: #444;
    user-select: none;
}

/* 3. Foco visível para navegação por teclado (WCAG 2.4.7) */
:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 3px;
    border-radius: 3px;
}
/* Remove outline padrão feio apenas para mouse */
:focus:not(:focus-visible) {
    outline: none;
}

/* 4. Modo Alto Contraste (eMAG 3.1) */
body.alto-contraste {
    --primary-color: #0000ff;
    --accent-color: #ffff00;
    --text-color: #ffffff;
    --text-muted: #cccccc;
    --bg-light: #000000;
    --bg-white: #111111;
    --border-color: #ffffff;
    background-color: #000 !important;
    color: #fff !important;
}
body.alto-contraste a { color: #ffff00 !important; }
body.alto-contraste header,
body.alto-contraste .hero,
body.alto-contraste .gov-bar { background: #000 !important; border-color: #fff !important; }
body.alto-contraste .news-card,
body.alto-contraste .sidebar-box,
body.alto-contraste .access-card { background: #111 !important; border: 1px solid #fff !important; color: #fff !important; }
body.alto-contraste img { filter: grayscale(100%) contrast(120%); }

/* 5. Tamanho de fonte acessível */
body.fonte-grande { font-size: 18px; }
body.fonte-muito-grande { font-size: 22px; }


h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}

/* Acessibilidade (Barra do Governo / Atalhos) */
.gov-bar {
    background-color: #000;
    color: #fff;
    padding: 6px 0;
    font-size: 11px;
    font-weight: 600;
}

.gov-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gov-bar a {
    color: #fff;
    text-decoration: none;
}

.gov-bar a:hover {
    text-decoration: underline;
}

/* Layout Geral */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navegação */
header {
    background-color: var(--bg-white);
    border-bottom: 4px solid var(--accent-color);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    background-color: rgba(255, 255, 255, 0.97);
}

header .header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand-logo-text {
    border-left: 2px solid var(--border-color);
    padding-left: 15px;
}

.brand-logo-text h1 {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--primary-color);
}

.brand-logo-text p {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    font-weight: 600;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav a {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    color: var(--text-color);
    padding: 8px 14px;
    border-radius: var(--radius-md);
    position: relative;
    letter-spacing: -0.2px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

nav a:hover {
    color: var(--primary-color);
    background-color: var(--primary-light);
}

nav a.active {
    color: #fff;
    background-color: var(--primary-color);
}

/* Hero Banner */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0d1b4d 50%, var(--primary-dark) 100%);
    color: var(--bg-white);
    padding: 70px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(255, 204, 0, 0.18) 0%, transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(255, 204, 0, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
}

.hero-grid-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

@media (max-width: 768px) {
    .hero-grid-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-sidebar-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    position: relative;
    z-index: 2;
}

.hero h2 {
    color: var(--accent-color);
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 17px;
    opacity: 0.92;
    margin-bottom: 28px;
    line-height: 1.7;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-accent {
    background-color: var(--accent-color);
    color: #000;
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

.btn-outline-white {
    background: transparent;
    border: 2px solid var(--bg-white);
    color: var(--bg-white);
    margin-left: 10px;
}

.btn-outline-white:hover {
    background-color: var(--bg-white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Grid de Acesso Rápido */
.fast-access {
    margin-top: -30px;
    position: relative;
    z-index: 10;
    margin-bottom: 40px;
}

.access-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.access-card {
    background-color: var(--bg-white);
    padding: 28px 20px;
    text-align: center;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border-bottom: 4px solid var(--primary-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.access-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    transition: height 0.35s ease;
}

.access-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(23, 41, 131, 0.18);
    border-bottom-color: var(--accent-color);
}

.access-card:hover::before {
    height: 100%;
}

.access-card:hover .icon,
.access-card:hover h3,
.access-card:hover p {
    color: #fff;
    position: relative;
    z-index: 2;
}

.access-card:hover .icon {
    color: var(--accent-color);
}

.access-card .icon {
    font-size: 34px;
    margin-bottom: 14px;
    color: var(--primary-color);
    transition: var(--transition);
}

.access-card h3 {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--text-color);
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.access-card p {
    font-size: 12px;
    color: var(--text-muted);
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

/* Layout em duas colunas (Conteúdo e Sidebar) */
.main-content {
    margin-bottom: 60px;
}

.layout-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

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

/* Notícias & Avisos */
.section-title {
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
    position: relative;
    font-size: 22px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: var(--accent-color);
}

.news-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 25px;
}

.news-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    height: 100%;
}

.news-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: rgba(23, 41, 131, 0.2);
}

.news-img {
    width: 100%;
    height: 170px;
    background-size: cover;
    background-position: center;
}

.news-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.news-meta {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.news-tag {
    background-color: var(--primary-light);
    color: var(--primary-color);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
    margin-right: 8px;
}

.news-info h3 {
    font-size: 16px;
    margin-bottom: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.4;
}

.news-info p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1;
}

@media (max-width: 576px) {
    .news-list {
        grid-template-columns: 1fr;
    }
}

/* Sidebar & Contatos */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sidebar-box {
    background-color: var(--bg-white);
    padding: 25px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

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

.contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
}

.contact-item strong {
    color: var(--primary-color);
}

/* Formulário de Registro de Incidente (ETIR) */
.form-card {
    background-color: var(--bg-white);
    padding: 35px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    font-family: var(--font-body);
    font-size: 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(23, 41, 131, 0.15);
}

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

/* Alertas e Mensagens */
.alert {
    padding: 12px 18px;
    border-radius: var(--radius-md);
    margin-bottom: 25px;
    font-size: 14px;
}

.alert-success {
    background-color: #d1e7dd;
    color: #0f5132;
    border: 1px solid #badbcc;
}

.alert-danger {
    background-color: #f8d7da;
    color: #842029;
    border: 1px solid #f5c2c7;
}

/* Rodapé */
footer {
    background: linear-gradient(180deg, #1a1e2b 0%, #111422 100%);
    color: #fff;
    padding: 50px 0 20px;
    margin-top: auto;
    font-size: 14px;
    border-top: 4px solid var(--accent-color);
}

footer a {
    color: rgba(255, 255, 255, 0.7);
}

footer a:hover {
    color: var(--accent-color);
}

footer .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    footer .footer-grid {
        grid-template-columns: 1fr;
    }
}

footer h3 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 204, 0, 0.2);
    padding-bottom: 8px;
}

footer ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

/* Área Administrativa (Login & Dashboard) */
.login-body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.login-card {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 420px;
}

.login-card h2 {
    font-size: 26px;
    margin-bottom: 8px;
    text-align: center;
}

.login-card p.subtitle {
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 25px;
}

/* Dashboard e tabelas administrativas */
.admin-header {
    background-color: var(--primary-color);
    color: #fff;
    border-bottom: none;
}

.admin-header h1 {
    color: #fff;
}

.admin-header nav a {
    color: rgba(255, 255, 255, 0.8);
}

.admin-header nav a:hover, .admin-header nav a.active {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-top: 20px;
    margin-bottom: 40px;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    text-align: left;
}

table th {
    background-color: #f1f3f9;
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 12px 16px;
    border-bottom: 2px solid var(--border-color);
}

table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
}

table tr:last-child td {
    border-bottom: none;
}

table tr:hover td {
    background-color: #fafbfd;
}

.badge {
    display: inline-block;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
}

.badge-success { background-color: #d1e7dd; color: #0f5132; }
.badge-warning { background-color: #fff3cd; color: #664d03; }
.badge-danger { background-color: #f8d7da; color: #842029; }
.badge-secondary { background-color: #e2e3e5; color: #41464b; }

.action-btn {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: var(--radius-sm);
    margin-right: 5px;
    display: inline-flex;
    align-items: center;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

.btn-edit { background-color: #e2f0fd; color: #0d6efd; }
.btn-edit:hover { background-color: #0d6efd; color: #fff; }
.btn-delete { background-color: #fce8e6; color: #d93025; }
.btn-delete:hover { background-color: #d93025; color: #fff; }

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background-color: var(--bg-white);
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.stat-info h4 {
    font-size: 13px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.stat-info p {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-color);
}

.stat-icon {
    font-size: 32px;
    color: var(--accent-color);
}

/* Botões Flutuantes de Ação Rápida */
.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.floating-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.floating-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.floating-btn i {
    font-size: 24px;
}

.floating-btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.floating-btn-ai {
    background: linear-gradient(135deg, #4F46E5 0%, #3730A3 100%);
    border: 2px solid var(--accent-color);
}

/* Balão explicativo/Tooltip */
.floating-btn::after {
    content: attr(data-tooltip);
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background-color: #1a1a2e;
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.floating-btn:hover::after {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* Ocultar o botão flutuante padrão (balão) do AnythingLLM para usar o nosso personalizado */
#anythingllm-chat-widget-bubble {
    display: none !important;
}

/* Botão do Menu Hambúrguer (escondido por padrão no desktop) */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary-color);
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.menu-toggle:hover {
    background-color: var(--primary-light);
}

/* Responsividade do Header e Menu (Mobile) */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    header .header-main {
        flex-wrap: wrap;
    }

    nav {
        display: none;
        width: 100%;
        margin-top: 15px;
        border-top: 1px solid var(--border-color);
        padding-top: 15px;
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    nav a {
        width: 100%;
        display: flex;
        padding: 10px 15px;
    }
}

/* Suporte de alto contraste para o menu hambúrguer */
body.alto-contraste .menu-toggle {
    color: #ffff00 !important;
    border: 1px solid #fff;
}

/* ==========================================================================
   CONTRATAÇÕES - Stepper e Componentes de Aquisição
   ========================================================================== */

.stepper-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
    margin: 40px 0;
    padding-left: 30px;
}

.stepper-container::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 15px;
    bottom: 15px;
    width: 4px;
    background-color: var(--primary-light);
    border-radius: 2px;
}

.step-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 25px 30px;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.step-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.step-badge {
    position: absolute;
    left: -37px;
    top: 20px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: var(--primary-color);
    border: 4px solid var(--bg-light);
    box-shadow: var(--shadow-sm);
    z-index: 2;
    transition: var(--transition);
}

.step-card:hover .step-badge {
    background-color: var(--accent-color);
    transform: scale(1.25);
}

.step-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 10px;
}

.step-header h4 {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary-color);
    margin: 0;
}

.step-number {
    background-color: var(--primary-light);
    color: var(--primary-color);
    font-weight: 800;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
}

.step-content p {
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 15px;
}

.step-artifacts {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 15px;
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
}

.btn-artifact {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    background-color: var(--bg-light);
    color: var(--primary-color);
    border: 1px solid var(--border-color);
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
}

.btn-artifact:hover {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* Suporte de alto contraste para o Stepper */
body.alto-contraste .stepper-container::before {
    background-color: #fff;
}

body.alto-contraste .step-badge {
    background-color: #ffff00;
    border-color: #000;
}

body.alto-contraste .step-card {
    border: 2px solid #fff !important;
}

body.alto-contraste .step-card:hover {
    border-color: #ffff00 !important;
}

body.alto-contraste .step-number {
    background-color: #0000ff;
    color: #fff;
    border: 1px solid #fff;
}

body.alto-contraste .btn-artifact {
    background-color: #000;
    color: #ffff00;
    border-color: #fff;
}

body.alto-contraste .btn-artifact:hover {
    background-color: #ffff00;
    color: #000;
    border-color: #ffff00;
}


