/* Componentes funcionais inseridos na estrutura homologada. */
header nav > a { color:inherit; text-decoration:none; }
header nav > a:visited { color:inherit; }
header nav .active:visited { color:#08634e; }
a:visited { color:inherit; }
footer a:visited, .legalnav a:visited { color:#092e54; }
footer .legal { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:16px; white-space:normal; }
header nav > a:focus-visible, footer a:focus-visible, .legalnav a:focus-visible, .button[href]:focus-visible { outline:2px solid #28547b; outline-offset:2px; }
.button[href] { display:inline-flex; align-items:center; color:#102d43; text-decoration:none; }
.button[href]:visited { color:#102d43; }
[hidden] { display:none; }
.resultgrid.nl-content[hidden] { display:none; }
.nl-loading, .nl-error { padding:14px; background:#edf3f9; border-left:3px solid #8da9ca; color:#092e54; }
.nl-error { background:#fff2cd; border-left-color:#d8a126; }
.nl-balls { display:flex; flex-wrap:wrap; gap:8px; padding:0; margin:12px 0; list-style:none; }
.nl-ball { box-sizing:border-box; display:inline-flex; align-items:center; justify-content:center; width:38px; height:38px; border:1px solid #8da9ca; border-radius:50%; background:#e8eff7; color:#092e54; font-weight:700; }
.history-balls { display:flex; flex-wrap:wrap; gap:3px; }
.history-balls .nl-ball { width:24px; height:24px; font-size:12px; }
.resultgrid .nl-ranking { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:5px; padding:0; list-style:none; }
.resultgrid .nl-ranking li { display:grid; grid-template-columns:2.2em 2em minmax(0,1fr); align-items:center; gap:6px; padding:4px; border-bottom:1px solid #d5e0e2; }
.nl-rank { color:#39534e; font-size:12px; }
.nl-number { display:inline-flex; align-items:center; justify-content:center; width:30px; height:30px; border-radius:50%; background:#8da9ca; color:#092e54; }
.nl-caption { overflow-wrap:anywhere; font-size:13px; }
.catalog-status td { padding:12px; color:#39534e; text-align:center; }
.catalog .product-option { cursor:pointer; }
.catalog .product-option.is-selected { opacity:1; outline:2px solid #28547b; outline-offset:1px; }
.checkout { box-sizing:border-box; min-width:0; margin:0; padding:0; border:0; background:transparent; color:#15334b; }
.checkout label { display:block; margin:12px 0 5px; }
.checkout input, .checkout textarea { box-sizing:border-box; display:block; width:100%; min-height:42px; margin-top:6px; padding:10px; border:1px solid #a5b9c4; background:#fff; color:#15334b; font:inherit; }
.checkout textarea { min-height:100px; resize:vertical; }
.checkout button.primary-action, .checkout a.primary-action { display:inline-flex; align-items:center; justify-content:center; margin:10px 6px 0 0; padding:11px 18px; border:1px solid #d6a125; border-radius:3px; background:#efb82c; color:#102d43; font:700 15px Arial,sans-serif; text-decoration:none; cursor:pointer; }
.checkout .review-list { display:grid; grid-template-columns:auto minmax(0,1fr); gap:8px 16px; }
.checkout .review-list dt { font-weight:700; }
.checkout .pix-qr { display:block; width:auto; max-width:220px; height:auto; }
.checkout .pix-copy { min-height:110px; }
.track-panel [data-track-result], .track-panel #result { margin-top:12px; overflow-wrap:anywhere; }
.contact .track-body textarea { box-sizing:border-box; }
.cta .entry-campaign { max-width:180px; max-height:120px; overflow:hidden; }
.cta .entry-campaign img { display:block; width:auto; max-width:100%; max-height:120px; object-fit:contain; }
[data-entry-layout].is-retracted [data-entry-banner] { display:none; }
[data-entry-banner].is-fading { opacity:0; transition:opacity .6s ease; }
@media(max-width:760px) {
  footer .wrap { justify-content:flex-start; align-items:flex-start; }
  footer .legal { justify-content:flex-start; }
  .resultgrid .nl-ranking { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .checkout .review-list { grid-template-columns:1fr; }
}
