/* States the canvas runtime used to render, plus small layout fixes; shared by the prototype and the public site. */
body{margin:0}
.bc-if{display:contents}
.bc-if[hidden]{display:none}
.bc-field[aria-invalid="true"]{border-color:#5E2416}

/* Phones: a lower header. The logo and the contact button share the first row and the
   three menu links fit on the second, instead of the logo, then two rows of menu. */
@media (max-width:600px){
 header:has(nav[aria-label="Principal"])>div{position:relative;min-height:0;padding-top:10px;padding-bottom:4px;row-gap:4px}
 header:has(nav[aria-label="Principal"])>div>a:first-child img{width:140px}
 nav[aria-label="Principal"]{width:100%;column-gap:20px;font-size:14px}
 nav[aria-label="Principal"]>.bc-btn{position:absolute;top:12px;right:clamp(20px,5vw,72px);min-height:40px;padding:0 14px;font-size:14px}
}

/* Small phones: the line above the home title keeps "Atendimento on-line em todo o Brasil"
   on one line instead of leaving "Brasil" alone. */
@media (max-width:400px){
 p.bc-hero-sobre{font-size:12px;letter-spacing:.1em}
}

/* Header logo: on keyboard focus, a mogno line under the logo, like the underline of the
   current menu item, instead of a box around it. The transparent outline keeps a ring in
   forced-colors mode. */
header a[aria-label$=", início"]{position:relative}
header a[aria-label$=", início"]:focus-visible{outline:2px solid transparent}
header a[aria-label$=", início"]:focus-visible::after{content:"";position:absolute;left:0;right:0;bottom:-8px;height:2px;background:#5E2416}
@media (max-width:600px){header a[aria-label$=", início"]:focus-visible::after{bottom:-3px}}
