/*
 * U-07 – Contraste dos botões (todos os estados).
 * WCAG 2.1: 1.4.3 Contraste mínimo (AA); 1.4.11 Contraste não textual (AA); 2.4.7 Foco visível (AA).
 *
 * Medido em PP a 17/11/2026 (inicial, Universo+, Seguros, Universo Explica, Ajuda; 1280 px e 375 px;
 * menu do telemóvel aberto). Os botões cumprem no estado normal, exceto o "Ir para o topo".
 * O que falhava:
 *   1. "Login" do cabeçalho, no hover: opacity 0.7 (style.css do tema filho) → texto branco
 *      sobre azul a 3,56:1. Passa a inverter as cores: fundo branco, texto azul Universo (5,8:1).
 *   2. "Login" e "Adira" do cabeçalho, no foco por teclado: o Salient tira o contorno
 *      (.sf-menu:not(.buttons) a:focus { outline: none }). Passam a ter contorno branco (5,8:1).
 *   3. "Ir para o topo" (todas as páginas): seta branca sobre rgba(0,0,0,.25) → 1,83:1 sobre
 *      fundo claro. Passa a azul-escuro (19,6:1); no hover, azul Universo (5,8:1).
 *
 * Os seletores do cabeçalho têm de ser tão fortes como o do Salient
 * (#header-outer #top nav > ul > li > a { color: #fff !important }).
 */

/* 1. Login – hover */
#header-outer #top nav > ul > li.menu-login > a:hover {
	opacity: 1;
	background-color: #fff;
	color: var(--blue-main-universo, #0051ff) !important;
}

/* 2. Login e Adira – foco por teclado */
#header-outer #top nav > ul > li.menu-login > a:focus-visible,
#header-outer #top nav > ul > li.menu-adira > a:focus-visible {
	outline: 2px solid #fff !important;
	outline-offset: 3px;
}

/* 3. Ir para o topo */
body #to-top,
body[data-button-style*="rounded"] #to-top {
	background-color: var(--blue-deep-universo, #030336) !important;
}

body #to-top:hover,
body #to-top:focus-visible,
body[data-button-style*="rounded"] #to-top:hover,
body[data-button-style*="rounded"] #to-top:focus-visible {
	background-color: var(--blue-main-universo, #0051ff) !important;
}

body #to-top:focus-visible {
	outline: 2px solid var(--blue-deep-universo, #030336);
	outline-offset: 3px;
}
