/* ============================================================
   ACESSIBILIDADE — v1.0.0
   Widget flutuante + modo alto contraste
   ============================================================ */

.sr-only {
	position: absolute !important;
	width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.bdas-a11y {
	position: fixed;
	bottom: 1.5rem; right: 1.5rem;
	z-index: 60;
}

/* v3.9.47 — Botão maior, azul de acessibilidade (padrão WCAG), mais visível */
.bdas-a11y__toggle {
	width: 3.5rem; height: 3.5rem;
	border-radius: 50%;
	border: 0;
	background: #0047FF; /* azul de acessibilidade */
	color: #fff;
	display: inline-flex; align-items: center; justify-content: center;
	cursor: pointer;
	box-shadow: 0 6px 20px rgba(0, 71, 255, 0.4);
	transition: transform 200ms ease, background 200ms ease, box-shadow 200ms ease;
}
.bdas-a11y__toggle:hover { transform: scale(1.1); background: #0033CC; box-shadow: 0 8px 24px rgba(0, 71, 255, 0.5); }
.bdas-a11y__toggle:focus-visible { outline: 3px solid #FFC107; outline-offset: 3px; }

.bdas-a11y__panel {
	position: absolute;
	bottom: calc(100% + 0.75rem);
	right: 0;
	width: 17rem;
	background: var(--bdas-branco);
	border: var(--border-thin);
	box-shadow: 0 12px 36px rgba(0,0,0,0.2);
	padding: 1.25rem;
	display: flex; flex-direction: column; gap: 1rem;
}
.bdas-a11y__panel[hidden] { display: none; }
.bdas-a11y__title {
	font-family: var(--font-sans);
	font-size: 0.625rem;
	font-weight: var(--fw-bold);
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: rgba(0,0,0,0.5);
	margin: 0;
}
.bdas-a11y__group { display: flex; flex-direction: column; gap: 0.5rem; }
.bdas-a11y__label {
	font-family: var(--font-sans);
	font-size: 0.75rem;
	font-weight: var(--fw-bold);
	letter-spacing: 0.02em;
	color: rgba(0,0,0,0.7);
	margin: 0;
}
.bdas-a11y__buttons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.bdas-a11y__buttons button {
	font-family: var(--font-sans);
	font-size: 0.75rem;
	font-weight: var(--fw-bold);
	padding: 0.5rem 0;
	background: var(--bdas-cinza-2);
	border: 0;
	cursor: pointer;
	transition: background var(--transition);
}
.bdas-a11y__buttons button:hover { background: var(--bdas-cinza-3); }
.bdas-a11y__buttons button:focus-visible { outline: 2px solid var(--bdas-preto); outline-offset: 1px; }

.bdas-a11y__reset {
	font-family: var(--font-sans);
	font-size: 0.6875rem;
	font-weight: var(--fw-bold);
	text-transform: uppercase;
	letter-spacing: 0.18em;
	background: transparent;
	border: 0;
	color: rgba(0,0,0,0.5);
	cursor: pointer;
	text-align: left;
	padding: 0;
	margin-top: 0.25rem;
}
.bdas-a11y__reset:hover { color: var(--bdas-preto); }


/* ===== ALTO CONTRASTE ===== */
.bdas-high-contrast {
	--bdas-text:           #000;
	--bdas-text-muted:     #000;
	--bdas-bg:             #fff;
	--bdas-bg-alt:         #fff;
	--bdas-border:         #000;
	--ccba-magenta:        #c800c8;
	--ccba-laranja:        #FF6600;
	--ccba-vermelho:       #d00000;
	--ccba-azul:           #0033cc;
	--ccba-verde:          #007a6a;
}
.bdas-high-contrast body { background: #fff; color: #000; }
.bdas-high-contrast .bdas-header { border-bottom: 2px solid #000; }
.bdas-high-contrast a { color: #0033cc; text-decoration: underline; }
.bdas-high-contrast a:hover { color: #c800c8; }
.bdas-high-contrast .home-hero { background: #000; }
.bdas-high-contrast .home-hero__overlay { background: rgba(0,0,0,0.7); }
.bdas-high-contrast .home-hero__title,
.bdas-high-contrast .home-hero__subtitle { color: #fff; }
.bdas-high-contrast img { filter: contrast(1.2); }
.bdas-high-contrast .bdas-newsletter { background: #000; color: #fff; }
.bdas-high-contrast .bdas-newsletter a { color: #fff; }


/* Logo no header — PNG/SVG (fallback contextual) ou Custom Logo do Customizer */
.bdas-header__logo { display: inline-flex; align-items: center; }
.bdas-header__logo-img,
.bdas-header__logo-svg,
.bdas-header__logo .custom-logo {
	height: 3.5rem;       /* 56px — alinhado com a renderização do Figma Make v3 */
	width: auto;
	max-width: 240px;
	object-fit: contain;
	display: block;
}
.bdas-header__logo-svg { color: var(--bdas-preto); }
.bdas-header__logo:hover { opacity: 0.85; transition: opacity var(--transition); }
