/* Accessibility refinements: keep the existing layout and motion. */

/* White navigation stays legible even when the floating glass is over white. */
body:not(.privacy-page) .floating { background-color: rgba(81, 85, 85, .84); }
.floating nav :is(a,button):hover { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }

/* A dark inner ring and white outer ring work on both light and dark surfaces. */
:is(a,button,input,select,textarea,summary,[tabindex]):focus-visible {
  outline: 3px solid #10364a !important;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px #fff !important;
}
:is(a,button,input,select,textarea,summary,[tabindex]) { scroll-margin-block: 120px 24px; }
:is(.hero-product-link,.card-select):focus-visible {
  outline-offset: -9px;
  box-shadow: inset 0 0 0 6px #fff !important;
}
.skip:focus { z-index: 10000; color: #10364a; }

/* Secondary form copy must remain readable on the approved blue-gray panel. */
#cotacao :is(.quote-form-note,.quote-purpose,.quote-channel-note,.form-foot,label,small) { color: #10364a; }
#cotacao :is(.quote-purpose,.quote-channel-note,.form-foot) a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
#cotacao :is(input,select,textarea) { border: 1px solid #456776; }
#cotacao :is(input,textarea)::placeholder { color: #456776; opacity: 1; }
.all-products span,.about .text-link span { color: #934409; }

/* Compact controls retain their visual size but gain a comfortable hit area. */
#close-dialog { min-width: 44px; min-height: 44px; }
#cotacao #back-form { min-height: 44px; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
.footer-end :is(a,button) { min-height: 44px; display: inline-flex; align-items: center; }
@media (pointer: coarse) {
  .support-service-source { min-height: 44px; display: inline-flex; align-items: center; }
}
