/* =========================================================
   Acessibilidade Soropositivo 1.0.0
   Botão no canto inferior direito e painel de opções.
   As classes acsoro-* no <html> são postas pelo JavaScript.
   ========================================================= */

/* --- Botão redondo --- */
.acsoro { position: fixed; right: 20px; bottom: 20px; z-index: 99999; font-family: inherit; }

.acsoro-abrir {
	width: 58px; height: 58px; border-radius: 50%; border: 3px solid #fff;
	background: #c8102e; /* vermelho do laço */
	color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center;
	box-shadow: 0 4px 14px rgba(0,0,0,.28); transition: transform .15s ease;
}
.acsoro-abrir:hover { transform: scale(1.07); }
.acsoro-abrir:focus-visible, .acsoro-painel button:focus-visible { outline: 3px solid #f5b400; outline-offset: 2px; }

/* --- Painel --- */
.acsoro-painel {
	position: absolute; right: 0; bottom: 72px; width: 290px; max-width: calc(100vw - 40px);
	background: #fff; color: #222; border-radius: 16px; padding: 16px;
	box-shadow: 0 10px 30px rgba(0,0,0,.25); font-size: 16px; line-height: 1.4;
}
.acsoro-painel[hidden] { display: none; }

.acsoro-topo { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.acsoro-topo strong { font-size: 18px; color: #c8102e; }
.acsoro-fechar { background: none; border: 0; font-size: 26px; line-height: 1; cursor: pointer; color: #555; padding: 0 4px; }

.acsoro-linha { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.acsoro-par { display: flex; gap: 6px; }
.acsoro-par button {
	width: 48px; height: 40px; border-radius: 10px; border: 2px solid #e2e2e2;
	background: #f7f7f7; font-weight: 700; font-size: 16px; cursor: pointer; color: #222;
}

.acsoro-grade { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.acsoro-grade button {
	display: flex; flex-direction: column; align-items: center; gap: 4px;
	padding: 10px 6px; border-radius: 12px; border: 2px solid #e2e2e2;
	background: #f7f7f7; color: #222; font-size: 14px; cursor: pointer;
}
.acsoro-ic { font-size: 20px; line-height: 1; }
/* Opção ligada: borda e fundo no vermelho do laço */
.acsoro-grade button[aria-pressed="true"] { border-color: #c8102e; background: #fdecee; color: #8a0b20; font-weight: 700; }

.acsoro-zerar {
	width: 100%; padding: 10px; border-radius: 10px; border: 0;
	background: #222; color: #fff; font-size: 15px; cursor: pointer;
}
.acsoro-rodape { margin: 10px 0 0; text-align: center; font-size: 12px; color: #888; }

/* =========================================================
   O que cada opção faz na página
   ========================================================= */

/* Alto contraste: fundo preto, letra branca, links amarelos. Imagens ficam como estão. */
html.acsoro-contraste body, html.acsoro-contraste body *:not(img):not(svg):not(path):not(video):not(.acsoro *) {
	background-color: #000 !important; color: #fff !important; border-color: #fff !important;
}
html.acsoro-contraste body a:not(.acsoro *), html.acsoro-contraste body a *:not(.acsoro *) { color: #ffe600 !important; }

/* Sublinhar links */
html.acsoro-links body a:not(.acsoro *) { text-decoration: underline !important; text-underline-offset: 3px; }

/* Mais espaço entre linhas, letras e parágrafos */
html.acsoro-espaco body p, html.acsoro-espaco body li, html.acsoro-espaco body blockquote {
	line-height: 2 !important; letter-spacing: .03em !important; word-spacing: .12em !important;
}

/* Parar animações e transições */
html.acsoro-pausa *, html.acsoro-pausa *::before, html.acsoro-pausa *::after {
	animation: none !important; transition: none !important; scroll-behavior: auto !important;
}
