/* GO27 — drawer editorial, isolado do restante do portal. */
#go27-site-drawer {
  position: fixed;
  z-index: 1002;
  inset: 0 auto 0 0;
  width: min(386px, 90vw);
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateX(-105%);
  transition: transform 260ms cubic-bezier(.2,.65,.2,1);
  background: #fff;
  box-shadow: 10px 0 40px rgba(14, 20, 30, .23);
  color: #182334;
  font-family: Inter, Arial, sans-serif;
  overscroll-behavior: contain;
}
#portal-menu-toggle:checked ~ #go27-site-drawer { transform: translateX(0); }
.go27-drawer * { box-sizing: border-box; }
.go27-drawer-header {
  height: 70px;
  flex: 0 0 70px;
  padding: 0 20px 0 23px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ef3f23;
  color: #fff;
}
.go27-drawer-logo {
  font-size: 32px;
  line-height: 1;
  letter-spacing: -2px;
  font-weight: 900;
  text-decoration: none;
  color: #fff;
}
.go27-drawer-logo span { font-weight: 300; }
.go27-drawer-logo:hover { color: #fff; }
.go27-drawer-close {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 23px;
}
.go27-drawer-close:hover { background: rgba(255,255,255,.17); }
.go27-drawer-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #cbd0d7 transparent;
  overscroll-behavior-y: contain;
  padding: 17px 16px 18px;
}
.go27-drawer-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}
.go27-drawer-action {
  min-width: 0;
  min-height: 49px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid #e1e4e9;
  border-radius: 9px;
  color: #2d3c4e;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 800;
  text-decoration: none;
}
.go27-drawer-action:hover {
  border-color: #c7cbd3;
  background: #f7f8f9;
  color: #1a293a;
}
.go27-drawer-action > i:first-child { flex: none; color: #ef3f23; font-size: 18px; }
.go27-drawer-action-whatsapp > i:first-child { color: #189952; }
.go27-drawer-action-end { font-size: 10px; margin-left: auto; opacity: .55; }
.go27-drawer-panel {
  background: #f2f3f5;
  padding: 10px;
  border: 1px solid #e8eaee;
  border-radius: 13px;
}
.go27-drawer-primary {
  padding: 3px 0 9px;
  border-bottom: 1px solid #dde1e6;
}
.go27-drawer-link {
  min-height: 39px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 11px 9px 13px;
  border: 0;
  border-radius: 7px;
  color: #25364b;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 700;
  text-decoration: none;
  transition: background .14s ease, color .14s ease;
}
.go27-drawer-link > i:first-child {
  width: 18px;
  flex: 0 0 18px;
  text-align: center;
  color: #ef3f23;
  font-size: 13px;
}
.go27-drawer-link:hover,
.go27-drawer-link:focus-visible {
  background: #fff;
  color: #df3b22;
}
.go27-drawer-link[aria-current="page"] {
  background: #fff;
  color: #c73320;
  box-shadow: inset 3px 0 0 #ef3f23;
}
.go27-drawer-item-arrow {
  margin-left: auto;
  font-size: 10px;
  color: #8e97a4;
  opacity: .75;
}
.go27-drawer-group {
  padding: 12px 0 0;
  border-bottom: 1px solid #dde1e6;
}
.go27-drawer-group:last-child { border-bottom: 0; }
.go27-drawer-heading {
  min-height: 37px;
  padding: 8px 10px 10px 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  list-style: none;
  color: #e43d25;
  font-size: 11px;
  letter-spacing: .07em;
  line-height: 1.4;
  text-transform: uppercase;
  font-weight: 900;
  border-radius: 7px;
}
.go27-drawer-heading::-webkit-details-marker { display: none; }
.go27-drawer-heading::marker { display: none; content: ""; }
.go27-drawer-heading:hover { background: #e8eaef; }
.go27-drawer-heading > span { display: inline-flex; align-items: center; gap: 10px; }
.go27-drawer-heading > span i { width: 15px; text-align: center; font-size: 12px; }
.go27-drawer-chevron {
  font-size: 11px;
  color: #6e7580;
  transition: transform .18s ease;
}
.go27-drawer-group:not([open]) .go27-drawer-chevron { transform: rotate(-90deg); }
.go27-drawer-group .go27-drawer-links { padding: 0 0 8px; }
.go27-drawer-footer {
  flex: 0 0 auto;
  background: #fff;
  border-top: 1px solid #e8eaf0;
  box-shadow: 0 -7px 21px rgba(20,25,40,.04);
  padding: 13px 20px max(14px, env(safe-area-inset-bottom));
}
.go27-drawer-footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  margin-bottom: 10px;
}
.go27-drawer-footer-top strong {
  font-size: 11px;
  color: #263448;
  font-weight: 850;
}
.go27-drawer-footer-top span {
  font-size: 10px;
  color: #87919e;
}
.go27-drawer-social { display: flex; align-items: center; justify-content: center; gap: 16px; }
.go27-drawer-social a {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #f2f3f8;
  color: #3b45dc;
  font-size: 17px;
  text-decoration: none;
}
.go27-drawer-social a:hover {
  background: #e7e9fd;
  color: #2731bf;
}
.go27-drawer :is(a,button,summary):focus-visible,
[data-go27-menu-open]:focus-visible {
  outline: 3px solid #5260d9;
  outline-offset: 2px;
}
@media (max-width: 640px) {
  #go27-site-drawer { width: min(356px, 91vw); }
  .go27-drawer-header { height: 63px; flex-basis: 63px; }
  .go27-drawer-logo { font-size: 30px; }
  .go27-drawer-scroll { padding: 13px 12px 12px; }
  .go27-drawer-panel { padding: 8px; }
  .go27-drawer-link { min-height: 41px; font-size: 13px; }
  .go27-drawer-footer { padding: 11px 15px max(10px, env(safe-area-inset-bottom)); }
}
@media (max-height: 530px) {
  .go27-drawer-footer-top { display: none; }
  .go27-drawer-footer { padding-top: 8px; padding-bottom: 8px; }
  .go27-drawer-social a { height: 31px; width: 31px; flex-basis: 31px; }
}
@media (prefers-reduced-motion: reduce) {
  #go27-site-drawer,.go27-drawer-chevron,.go27-drawer-link { transition: none; }
}

/* Navegação editorial linear: sem grupos expansíveis nem sublinks. */
.go27-drawer-flat,
.go27-drawer-secondary {
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.go27-drawer-flat .go27-drawer-link { min-height: 38px; padding: 8px 13px; }
.go27-drawer-flat .go27-drawer-link:not(:has(i)) { padding-left: 42px; }
.go27-drawer-secondary {
    margin-top: 11px;
    padding-top: 11px;
    border-top: 1px solid #dce1e7;
}
.go27-drawer-secondary .go27-drawer-link {
    min-height: 36px;
    color: #526174;
    font-size: 12px;
    font-weight: 650;
    padding: 8px 13px;
}
.go27-drawer-scroll { scroll-padding-top: 16px; }
