/* ==========================================================
   Caminhos do Peabiru — Header / Footer / Ajustes globais
   Arquivo: assets/css/peabiru-layout.css
   ========================================================== */

:root {
  --peabiru-page-bg: #f6f1e7;
  --peabiru-cream: #f8f3e7;
  --peabiru-cream-2: #fffaf0;
  --peabiru-green-950: #06291d;
  --peabiru-green-900: #0b3324;
  --peabiru-green-800: #123f2d;
  --peabiru-green-700: #1c563c;
  --peabiru-green-600: #286b49;
  --peabiru-olive: #2f5125;
  --peabiru-gold: #d7a545;
  --peabiru-earth: #b76f32;
  --peabiru-shadow: 0 18px 42px rgba(6, 41, 29, 0.16);
  --peabiru-header-h: 76px;
  --peabiru-footer-h: 112px;
}

html {
  min-height: 100%;
  background: var(--peabiru-page-bg) !important;
}

body:not(.home-page):not(.peabiru-home-page):not(.mapa-page) {
  min-height: 100svh;
  background: var(--peabiru-page-bg) !important;
  color: #17211a;
}

body:not(.home-page):not(.peabiru-home-page):not(.mapa-page) main,
body:not(.home-page):not(.peabiru-home-page):not(.mapa-page) .page,
body:not(.home-page):not(.peabiru-home-page):not(.mapa-page) .conteudo,
body:not(.home-page):not(.peabiru-home-page):not(.mapa-page) .conteudo-page,
body:not(.home-page):not(.peabiru-home-page):not(.mapa-page) .historia-page,
body:not(.home-page):not(.peabiru-home-page):not(.mapa-page) .aplicativos-page {
  background: var(--peabiru-page-bg) !important;
}

body.home-page,
body.peabiru-home-page {
  min-height: 100svh;
  background: #071f18 !important;
}

body.home-page > .site-header,
body.peabiru-home-page > .site-header {
  flex: 0 0 auto;
}

body.home-page .home-main,
body.peabiru-home-page .home-main {
  flex: 1 1 auto;
  min-height: 0;
}

body.home-page .hero,
body.peabiru-home-page .hero {
  min-height: 0 !important;
}

/* ===================== Header ===================== */
.peabiru-site-header {
  position: sticky;
  top: 0;
  z-index: 12000;
  width: 100%;
  min-height: var(--peabiru-header-h);
  background: rgba(248, 243, 231, 0.97);
  border-bottom: 1px solid rgba(12, 42, 30, 0.10);
  box-shadow: 0 8px 30px rgba(6, 41, 29, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.peabiru-site-header::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--peabiru-green-900), var(--peabiru-gold), var(--peabiru-earth), var(--peabiru-green-900));
}

.peabiru-header-shell {
  width: min(100% - 32px, 1240px);
  min-height: var(--peabiru-header-h);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.peabiru-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  color: var(--peabiru-green-950);
  text-decoration: none;
}

.peabiru-brand-logo-wrap {
  width: 82px;
  height: 58px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(12, 42, 30, 0.08);
  box-shadow: 0 12px 24px rgba(6, 41, 29, 0.10);
  overflow: hidden;
}

.peabiru-brand-logo {
  display: block;
  width: 74px !important;
  height: auto !important;
  max-width: 74px !important;
  max-height: 52px !important;
  object-fit: contain;
}

.peabiru-brand-name {
  display: block;
  max-width: 360px;
  color: var(--peabiru-green-950);
  font-size: clamp(1.18rem, 1.6vw, 1.55rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.02;
  white-space: nowrap;
}

.peabiru-nav {
  display: block !important;
  margin-left: auto;
}

/* Marca ESTEIO horizontal: canto superior direito, fixa junto ao header sticky.
   Reserva espaço para impedir sobreposição dos links do menu. */
.peabiru-site-header {
  --peabiru-esteio-w: clamp(136px, 14vw, 150px);
  --peabiru-brand-w: 350px;
}

.peabiru-site-header .peabiru-header-shell {
  box-sizing: border-box;
  padding-left: calc(var(--peabiru-brand-w) + 22px);
  padding-right: calc(var(--peabiru-esteio-w) + 22px);
}

/* Identidade Peabiru sempre ancorada a esquerda do viewport. */
.peabiru-site-header .peabiru-brand {
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  z-index: 2;
  max-width: var(--peabiru-brand-w);
}
/* O nome da identidade deve ser exibido por inteiro em qualquer viewport.
   Quando o espaço é estreito, quebra entre as palavras sem reticências. */
.peabiru-site-header .peabiru-brand-name {
  min-width: 0;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.peabiru-site-header .peabiru-header-esteio {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--peabiru-esteio-w);
  height: calc(var(--peabiru-header-h) - 14px);
  pointer-events: none;
}

.peabiru-site-header .peabiru-header-esteio-logo {
  display: block;
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
}

/* Entre 901 e 1200px, manter os quatro links sem colisão com a logo. */
@media (min-width: 901px) and (max-width: 1200px) {
  .peabiru-site-header { --peabiru-brand-w: 265px; }
  .peabiru-site-header .peabiru-header-shell { gap: 10px; }
  .peabiru-site-header .peabiru-brand { gap: 10px; }
  .peabiru-site-header .peabiru-brand-logo-wrap { width: 68px; height: 52px; }
  .peabiru-site-header .peabiru-brand-logo {
    width: 60px !important;
    max-width: 60px !important;
    max-height: 46px !important;
  }
  .peabiru-site-header .peabiru-brand-name {
    max-width: 190px;
    font-size: 1.02rem;
    line-height: 1.08;
  }
  .peabiru-site-header .peabiru-nav-list { gap: 0; }
  .peabiru-site-header .peabiru-nav-link {
    gap: 6px;
    padding: 0 7px;
    font-size: 0.72rem;
  }
}

@media (max-width: 900px) {
  .peabiru-site-header { --peabiru-esteio-w: clamp(108px, 23vw, 155px); --peabiru-brand-w: 270px; }
  .peabiru-site-header .peabiru-header-esteio { right: 12px; }
  .peabiru-site-header .peabiru-nav-toggle { margin-left: auto; }
}

@media (max-width: 640px) {
  .peabiru-site-header { --peabiru-esteio-w: clamp(98px, 29vw, 130px); --peabiru-brand-w: 184px; }
  .peabiru-site-header .peabiru-header-shell { gap: 6px; }
  .peabiru-site-header .peabiru-brand { gap: 7px; }
  .peabiru-site-header .peabiru-brand-logo-wrap { width: 52px; height: 44px; }
  .peabiru-site-header .peabiru-brand-logo {
    width: 46px !important;
    max-width: 46px !important;
    max-height: 40px !important;
  }
  .peabiru-site-header .peabiru-brand-name {
    max-width: 118px;
    font-size: 0.87rem;
  }
}

@media (max-width: 420px) {
  .peabiru-site-header { --peabiru-esteio-w: clamp(86px, 28vw, 110px); --peabiru-brand-w: 133px; }
  .peabiru-site-header .peabiru-header-shell {
    gap: 5px;
    padding-left: calc(var(--peabiru-brand-w) + 6px);
    padding-right: calc(var(--peabiru-esteio-w) + 12px);
  }
  .peabiru-site-header .peabiru-header-esteio { right: 8px; }
  .peabiru-site-header .peabiru-brand { left: 8px; }
  .peabiru-site-header .peabiru-brand-logo-wrap { width: 44px; height: 42px; }
  .peabiru-site-header .peabiru-brand-logo {
    width: 40px !important;
    max-width: 40px !important;
    max-height: 38px !important;
  }
  .peabiru-site-header .peabiru-brand-name {
    max-width: 77px;
    font-size: 0.68rem;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}


.peabiru-nav-list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.peabiru-nav-list li {
  position: relative;
  margin: 0;
  padding: 0;
}

.peabiru-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--peabiru-olive);
  font-family: Poppins, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 0.84rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.peabiru-nav-link i {
  width: 17px;
  min-width: 17px;
  display: inline-flex;
  justify-content: center;
  font-size: 0.96rem;
  color: var(--peabiru-green-600);
}

.peabiru-nav-link:hover,
.peabiru-nav-link:focus-visible,
.peabiru-nav-link.is-active,
.peabiru-nav-item-dropdown.is-open > .peabiru-sub-toggle {
  color: var(--peabiru-green-950);
  background: rgba(12, 42, 30, 0.08);
  outline: none;
}

.peabiru-nav-link:hover {
  transform: translateY(-1px);
}

.peabiru-chevron {
  margin-left: 1px;
  font-size: 0.72rem !important;
  transition: transform 0.18s ease;
}

.peabiru-nav-item-dropdown.is-open .peabiru-chevron,
.peabiru-nav-item-dropdown:hover .peabiru-chevron {
  transform: rotate(180deg);
}

@media (min-width: 901px) {
  .peabiru-nav-item-dropdown {
    padding-bottom: 18px !important;
    margin-bottom: -18px !important;
  }
}

.peabiru-sub-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  width: min(360px, 92vw);
  padding: 10px;
  margin: 0;
  list-style: none;
  background: rgba(255, 250, 240, 0.99);
  border: 1px solid rgba(12, 42, 30, 0.12);
  border-radius: 20px;
  box-shadow: var(--peabiru-shadow);
  transform: translateX(-50%) translateY(4px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.16s ease, visibility 0.16s ease, transform 0.16s ease;
  z-index: 12100;
}

.peabiru-sub-menu::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -7px;
  width: 14px;
  height: 14px;
  background: rgba(255, 250, 240, 0.99);
  border-left: 1px solid rgba(12, 42, 30, 0.12);
  border-top: 1px solid rgba(12, 42, 30, 0.12);
  transform: translateX(-50%) rotate(45deg);
}

.peabiru-nav-item-dropdown:hover > .peabiru-sub-menu,
.peabiru-nav-item-dropdown:focus-within > .peabiru-sub-menu,
.peabiru-nav-item-dropdown.is-open > .peabiru-sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.peabiru-sub-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 14px;
  color: var(--peabiru-green-950);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: background 0.16s ease, transform 0.16s ease;
}

.peabiru-sub-menu a i {
  width: 22px;
  min-width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  color: var(--peabiru-green-700);
}

.peabiru-sub-menu a:hover,
.peabiru-sub-menu a:focus-visible {
  background: rgba(12, 42, 30, 0.08);
  transform: translateX(2px);
  outline: none;
}

.peabiru-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border: 1px solid rgba(12, 42, 30, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 10px 24px rgba(6, 41, 29, 0.10);
  cursor: pointer;
}

.peabiru-nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--peabiru-green-950);
  transition: transform 0.18s ease, opacity 0.18s ease;
}

body.peabiru-menu-open .peabiru-nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

body.peabiru-menu-open .peabiru-nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.peabiru-menu-open .peabiru-nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ===================== Footer compacto com paisagem ===================== */
.peabiru-footer {
  position: relative !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  width: 100%;
  min-height: var(--peabiru-footer-h);
  flex-shrink: 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.94);
  background:
    linear-gradient(90deg, rgba(6, 41, 29, 0.94), rgba(6, 41, 29, 0.72), rgba(6, 41, 29, 0.94)),
    url("/peabirusys/assets/img/hero2.jpg") center 48% / cover no-repeat,
    url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1800&q=80") center 48% / cover no-repeat,
    var(--peabiru-green-950) !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}

.peabiru-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 0%, rgba(215, 165, 69, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.28));
}

.peabiru-footer-shell {
  position: relative;
  z-index: 1;
  width: min(100% - 32px, 1240px);
  min-height: var(--peabiru-footer-h);
  margin: 0 auto;
  padding: 18px 0;
  display: grid;
  grid-template-columns: minmax(210px, auto) 1fr minmax(220px, auto);
  align-items: center;
  gap: 18px;
  border: 0 !important;
  box-shadow: none !important;
}

.peabiru-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff7df;
  text-decoration: none;
  min-width: 0;
}

.peabiru-footer-logo {
  display: block;
  width: 62px;
  height: auto;
  max-height: 44px;
  object-fit: contain;
  padding: 4px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.22);
  flex: 0 0 auto;
}

.peabiru-footer-brand span {
  display: block;
  color: #fff7df;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.025em;
  white-space: nowrap;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.26);
}

.peabiru-footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px 14px;
  flex-wrap: wrap;
}

.peabiru-footer-nav a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.15;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.16s ease, transform 0.16s ease;
}

.peabiru-footer-nav a:hover,
.peabiru-footer-nav a:focus-visible {
  color: #fff7df;
  transform: translateY(-1px);
  outline: none;
}

.peabiru-footer-copy {
  display: grid;
  gap: 3px;
  justify-items: end;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: right;
  background: transparent !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

.peabiru-footer-copy span {
  display: block;
  background: transparent !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

/* ===================== Responsividade ===================== */
@media (max-width: 1100px) {
  .peabiru-brand-name {
    max-width: 260px;
    font-size: 1.18rem;
  }

  .peabiru-nav-link {
    padding: 0 10px;
    font-size: 0.78rem;
  }

  .peabiru-footer-shell {
    grid-template-columns: 1fr;
    gap: 9px;
    justify-items: center;
    text-align: center;
    padding: 16px 0;
  }

  .peabiru-footer-copy {
    justify-items: center;
    text-align: center;
  }
}

@media (max-width: 900px) {
  :root {
    --peabiru-header-h: 72px;
    --peabiru-footer-h: 126px;
  }

  .peabiru-header-shell {
    width: min(100% - 24px, 1240px);
    gap: 12px;
  }

  .peabiru-brand-logo-wrap {
    width: 74px;
    height: 54px;
    border-radius: 16px;
  }

  .peabiru-brand-logo {
    width: 66px !important;
    max-width: 66px !important;
    max-height: 48px !important;
  }

  .peabiru-brand-name {
    max-width: min(46vw, 280px);
    font-size: 1.08rem;
    white-space: normal;
  }

  .peabiru-nav-toggle {
    display: block;
  }

  .peabiru-nav {
    display: block !important;
    position: fixed;
    top: var(--peabiru-header-h);
    left: 12px;
    right: 12px;
    max-height: calc(100svh - var(--peabiru-header-h) - 24px);
    z-index: 13000;
    padding: 12px;
    border: 1px solid rgba(12, 42, 30, 0.12);
    border-radius: 24px;
    background: rgba(255, 250, 240, 0.99);
    box-shadow: var(--peabiru-shadow);
    overflow: auto;
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease;
  }

  body.peabiru-menu-open .peabiru-nav,
  .peabiru-nav.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .peabiru-nav-list {
    display: grid;
    gap: 6px;
  }

  .peabiru-nav-link {
    width: 100%;
    justify-content: flex-start;
    min-height: 48px;
    padding: 0 14px;
    font-size: 0.88rem;
  }

  .peabiru-sub-menu {
    position: static;
    width: 100%;
    padding: 4px 0 4px 34px;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    transform: none;
    display: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .peabiru-sub-menu::before {
    display: none;
  }

  .peabiru-nav-item-dropdown.is-open > .peabiru-sub-menu {
    display: block;
  }

  .peabiru-sub-menu a {
    min-height: 42px;
    padding: 9px 10px;
    font-size: 0.86rem;
  }
}

@media (max-width: 640px) {
  :root {
    --peabiru-footer-h: 138px;
  }

  .peabiru-brand {
    gap: 10px;
  }

  .peabiru-brand-name {
    max-width: 170px;
    font-size: 0.98rem;
  }

  .peabiru-brand-logo-wrap {
    width: 66px;
    height: 50px;
  }

  .peabiru-brand-logo {
    width: 58px !important;
    max-width: 58px !important;
    max-height: 44px !important;
  }

  .peabiru-footer-shell {
    width: min(100% - 24px, 1240px);
    min-height: var(--peabiru-footer-h);
    padding: 13px 0;
    gap: 8px;
  }

  .peabiru-footer-brand span {
    font-size: 0.92rem;
  }

  .peabiru-footer-logo {
    width: 52px;
    max-height: 38px;
  }

  .peabiru-footer-nav {
    gap: 6px 10px;
  }

  .peabiru-footer-nav a {
    font-size: 0.74rem;
  }

  .peabiru-footer-copy {
    font-size: 0.72rem;
  }
}

@media (max-width: 420px) {
  .peabiru-brand-name {
    max-width: 130px;
    font-size: 0.9rem;
  }

  .peabiru-footer-nav {
    display: none;
  }

  .peabiru-footer-shell {
    min-height: 96px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .peabiru-nav,
  .peabiru-nav-link,
  .peabiru-sub-menu,
  .peabiru-sub-menu a,
  .peabiru-footer-nav a {
    transition: none !important;
  }
}


/* ==========================================================
   LAYOUT GLOBAL — ACESSIBILIDADE, REFLOW E NAVEGAÇÃO
   ========================================================== */
.peabiru-skip-link {
  position: fixed;
  left: 12px;
  top: 8px;
  z-index: 200000;
  padding: 12px 16px;
  border: 3px solid #ffffff;
  border-radius: 10px;
  background: #06291d;
  color: #ffffff;
  font-weight: 900;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.15s ease;
}

.peabiru-skip-link:focus {
  transform: translateY(0);
}

.peabiru-site-header :where(a, button):focus-visible,
.peabiru-footer :where(a, button):focus-visible {
  outline: 3px solid #005fcc !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 2px #ffffff !important;
}

.peabiru-nav-toggle,
.peabiru-nav-link,
.peabiru-sub-menu a,
.peabiru-footer-nav a {
  min-height: 44px;
}

.peabiru-nav-toggle {
  min-width: 44px;
}

.peabiru-nav-link[aria-current="page"],
.peabiru-nav-link.is-active {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

@media (max-width: 900px) {
  .peabiru-nav {
    overscroll-behavior: contain;
  }

  .peabiru-nav-list,
  .peabiru-sub-menu {
    width: 100%;
  }

  .peabiru-nav-link,
  .peabiru-sub-menu a {
    min-height: 48px;
  }
}

@media (max-width: 640px) {
  .peabiru-header-shell {
    width: calc(100% - 20px);
  }

  .peabiru-brand-name {
    overflow-wrap: anywhere;
  }

  .peabiru-footer-shell {
    width: calc(100% - 24px);
  }

  .peabiru-footer-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding-inline: 4px;
  }
}

@media (max-width: 420px) {
  .peabiru-footer-nav {
    display: flex;
  }

  .peabiru-footer-shell {
    min-height: auto;
    padding-block: 16px;
  }

  .peabiru-footer-nav a {
    white-space: normal;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .peabiru-skip-link {
    transition: none;
  }
}


/* ==========================================================
   HEADER / FOOTER — ALTO CONTRASTE CORRIGIDO
   ========================================================== */
html.peabiru-alto-contraste .peabiru-site-header,
html.peabiru-alto-contraste .peabiru-nav,
html.peabiru-alto-contraste .peabiru-sub-menu,
html.peabiru-alto-contraste .peabiru-footer,
html.peabiru-alto-contraste .peabiru-header-shell,
html.peabiru-alto-contraste .peabiru-footer-shell {
  background: #000000 !important;
  background-image: none !important;
  color: #ffffff !important;
  border-color: #ffffff !important;
  box-shadow: none !important;
}

html.peabiru-alto-contraste .peabiru-site-header::before,
html.peabiru-alto-contraste .peabiru-footer::before {
  background: none !important;
}

html.peabiru-alto-contraste .peabiru-brand-name,
html.peabiru-alto-contraste .peabiru-footer-brand span,
html.peabiru-alto-contraste .peabiru-footer-copy,
html.peabiru-alto-contraste .peabiru-footer-copy span {
  color: #ffffff !important;
  text-shadow: none !important;
}

html.peabiru-alto-contraste .peabiru-site-header :where(a, button),
html.peabiru-alto-contraste .peabiru-footer :where(a, button) {
  background: #000000 !important;
  color: #ffffff !important;
  border-color: #ffff00 !important;
  box-shadow: none !important;
}

html.peabiru-alto-contraste .peabiru-site-header :where(a, button) :where(span, i),
html.peabiru-alto-contraste .peabiru-footer :where(a, button) :where(span, i) {
  color: #ffffff !important;
}

html.peabiru-alto-contraste .peabiru-site-header :where(a, button):hover,
html.peabiru-alto-contraste .peabiru-footer :where(a, button):hover {
  background: #ffff00 !important;
  color: #000000 !important;
}

html.peabiru-alto-contraste .peabiru-site-header :where(a, button):hover :where(span, i),
html.peabiru-alto-contraste .peabiru-footer :where(a, button):hover :where(span, i) {
  color: #000000 !important;
}

html.peabiru-alto-contraste .peabiru-nav-link.is-active,
html.peabiru-alto-contraste .peabiru-nav-link[aria-current="page"],
html.peabiru-alto-contraste .peabiru-nav-item-dropdown.is-open > .peabiru-sub-toggle {
  background: #ffff00 !important;
  color: #000000 !important;
  border: 3px solid #ffffff !important;
  box-shadow: none !important;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

html.peabiru-alto-contraste .peabiru-nav-link.is-active :where(span, i),
html.peabiru-alto-contraste .peabiru-nav-link[aria-current="page"] :where(span, i),
html.peabiru-alto-contraste .peabiru-nav-item-dropdown.is-open > .peabiru-sub-toggle :where(span, i) {
  color: #000000 !important;
}

html.peabiru-alto-contraste .peabiru-sub-menu a {
  color: #ffffff !important;
  border: 1px solid transparent !important;
}

html.peabiru-alto-contraste .peabiru-sub-menu a:hover,
html.peabiru-alto-contraste .peabiru-sub-menu a:focus-visible {
  background: #ffff00 !important;
  color: #000000 !important;
  border-color: #ffffff !important;
}

html.peabiru-alto-contraste .peabiru-sub-menu a:hover :where(span, i),
html.peabiru-alto-contraste .peabiru-sub-menu a:focus-visible :where(span, i) {
  color: #000000 !important;
}

html.peabiru-alto-contraste .peabiru-nav-toggle span {
  background: #ffff00 !important;
}

html.peabiru-alto-contraste .peabiru-brand-logo-wrap,
html.peabiru-alto-contraste .peabiru-footer-logo {
  background: #ffffff !important;
  border: 2px solid #ffff00 !important;
}

html.peabiru-alto-contraste .peabiru-site-header :where(a, button):focus-visible,
html.peabiru-alto-contraste .peabiru-footer :where(a, button):focus-visible {
  outline: 4px solid #00ffff !important;
  outline-offset: 3px !important;
}

/* Estado da página atual dentro do submenu. */
.peabiru-sub-menu a[aria-current="page"] {
  background: rgba(12, 42, 30, 0.1);
  color: var(--peabiru-green-950);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

html.peabiru-alto-contraste .peabiru-sub-menu a[aria-current="page"] {
  background: #ffff00 !important;
  color: #000000 !important;
  border: 3px solid #ffffff !important;
}

html.peabiru-alto-contraste .peabiru-sub-menu a[aria-current="page"] :where(span, i) {
  color: #000000 !important;
}
