:root {
  --blue: #276097;
  --blue-dark: #1b4064;
  --ink: #555555;
  --menu: #231f1c;
  --menu-current: #302c29;
  --menu-hover: #444444;
  --menu-sub: #525252;
  --footer: #e2e6e9;
  --footer2: #c1c1c1;
  --btn: #201815;
  --max: 1200px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 1.8;
}

img { max-width: 100%; height: auto; }

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  background: #fff;
  color: #000;
  padding: 8px 12px;
  z-index: 10000;
}
.skip-link:focus { top: 8px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

#header { background: #fff; }

.branding {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  min-height: 184px;
}

.site-identity {
  display: flex;
  align-items: center;
  min-height: 168px;
  padding: 8px 0;
}

#logo img {
  display: block;
  width: 520px;
  max-width: 62%;
  height: auto;
}

.header-widget {
  position: absolute;
  right: 0;
  top: 22px;
  width: 320px;
  z-index: 5;
}

.resultados {
  margin: 0 auto;
  padding: 15px;
  background: #f1f1f1;
  width: 300px;
  border-radius: 15px;
  border: 1px solid #ddd;
  text-align: center;
}

.resultados h2 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #333;
  margin: 0 0 10px;
}

.resultados a {
  display: inline-block;
  font-weight: 700;
  color: #000;
  padding: 5px 20px;
  background: #fff;
  border-radius: 5px;
  border: 1px solid #ddd;
  margin-bottom: 5px;
  width: 70%;
}

.resultados a:hover {
  background: #0b3864;
  color: #fff;
}

#nav-toggle {
  display: none;
  width: 100%;
  height: 44px;
  border: 0;
  background: var(--menu);
  color: #fff;
  cursor: pointer;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  position: relative;
  margin: 0 auto;
}
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle-bar::before { top: -7px; }
.nav-toggle-bar::after { top: 7px; }

#access {
  background: var(--menu);
  width: 100%;
}

#access .menu {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
}

#access .menu > li { position: relative; }

#access a {
  display: block;
  color: #fff;
  font-family: "Ubuntu Condensed", Arial, Helvetica, sans-serif;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

#access a span { display: block; padding: 17px 16px; }

#access .menu > li:hover,
#access .menu > li:focus-within { background: var(--menu-hover); }

#access .current-menu-item > a,
#access .menu > li.current-menu-item { background: var(--menu-current); }

#access .menu-item-has-children > a span { padding-right: 26px; }

#access .menu-item-has-children > a span::after {
  content: "";
  display: inline-block;
  margin-left: 8px;
  border: 4px solid transparent;
  border-top-color: #fff;
  vertical-align: 2px;
}

#access .sub-menu {
  display: block;
  position: absolute;
  z-index: 1000;
  left: 0;
  top: 100%;
  min-width: 240px;
  max-width: min(480px, 88vw);
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--menu-hover);
  visibility: hidden;
  opacity: 0;
  transform: translateY(8px);
  max-height: 0;
  overflow: hidden;
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}

#access li:hover > .sub-menu,
#access li:focus-within > .sub-menu,
#access li.menu-hover > .sub-menu {
  visibility: visible;
  opacity: 1;
  transform: none;
  max-height: 800px;
  overflow: visible;
}

#access .sub-menu a {
  text-transform: none;
  letter-spacing: 0;
  font-size: 15px;
  white-space: normal;
}

#access .sub-menu a span { padding: 12px 16px; }

#access .sub-menu li:hover,
#access .sub-menu li:focus-within { background: var(--menu-sub); }

#forbottom {
  max-width: var(--max);
  margin: 5px auto 0;
  min-height: 400px;
}

.entry-title { display: none; }

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.cortitulos,
.corimportantes {
  font-family: "Ubuntu Condensed", Arial, Helvetica, sans-serif;
  color: var(--blue);
  font-weight: 400;
  line-height: 1.25;
}

.entry-content h1 { font-size: 32px; margin: 0 0 12px; }
.entry-content h2 { font-size: 28px; margin: 8px 0 12px; }
.entry-content h3 { font-size: 22px; margin: 8px 0 10px; }
.entry-content h4 { font-size: 18px; margin: 12px 0 6px; }

.negrito { font-weight: 700; }
.roxo { color: #052646; }
.corimportantes,
.cortitulos { color: var(--blue) !important; }
.corfundoimportantes { background-color: #231f1c !important; color: #fff; }
.corfundoimportantes h1,
.corfundoimportantes p { color: #fff; }

.entry-content p { margin: 0 0 12px; }

.botao {
  display: inline-block;
  background: var(--btn) !important;
  padding: 10px 14px;
  border-radius: 7px;
  line-height: 1;
}
.botao:hover { background: var(--blue) !important; }
.botao a,
.botao a:hover { color: #fff !important; }

.panel-layout,
.panel-grid,
.panel-grid-cell,
.panel-row-style,
.so-panel,
.textwidget,
.sow-image-container {
  min-width: 0;
  max-width: 100%;
}

.entry-content img { height: auto; }
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 24px;
}
.entry-content th,
.entry-content td {
  padding: 6px 8px;
  border: 1px solid #ddd;
  vertical-align: middle;
  text-align: left;
}
.entry-content th {
  background: var(--blue);
  color: #fff;
  font-weight: 700;
}
.entry-content tr:nth-child(odd) { background: #eee; }
.entry-content tr:nth-child(even) { background: #fff; }
.entry-content td a img { vertical-align: middle; }

.contato-form input[type="text"],
.contato-form input[type="email"],
.contato-form textarea {
  width: 100%;
  max-width: 100%;
  border: 1px solid #ccc;
  padding: 6px 8px;
  font: inherit;
  color: #333;
  background: #fff;
}
.contato-form button,
.contato-form input[type="submit"] {
  background: #fff;
  border: 1px solid #ccc;
  color: #333;
  padding: 6px 14px;
  font: inherit;
  cursor: pointer;
}
.contato-form button:hover { background: #f7f7f7; }
.form-status { margin-top: 8px; font-weight: 700; }
.form-status.is-ok { color: #1b4064; }
.form-status.is-err { color: #8a1f1f; }

.hero-slider {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 30px;
  overflow: hidden;
  background: #0b3864;
}
.hero-slide { display: none; }
.hero-slide.is-active { display: block; }
.hero-slide a { display: block; }
.hero-slide img { display: block; width: 100%; height: auto; }
.hero-prev,
.hero-next {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 36px;
  height: 44px;
  margin-top: -22px;
  border: 0;
  background: rgba(0, 0, 0, .35);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  transition: opacity .35s ease;
}
.hero-slider:hover .hero-prev,
.hero-slider:hover .hero-next,
.hero-prev:focus,
.hero-next:focus { opacity: 1; }
.hero-dots {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.hero-prev { left: 8px; }
.hero-next { right: 8px; }
.hero-prev::before,
.hero-next::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  margin: 0 auto;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}
.hero-prev::before { transform: rotate(-135deg); }
.hero-next::before { transform: rotate(45deg); }

.socials-side {
  position: fixed;
  right: 0;
  top: 40%;
  z-index: 99;
  width: 42px;
  padding: 5px;
  opacity: .5;
  transition: opacity .4s ease;
}
.socials-side:hover { opacity: 1; }
.socials-side a { display: block; margin-top: 4px; }
.socials-side img { display: block; width: 26px; height: 26px; }

#footer { margin-top: 10px; }
.footer-main { background: var(--footer); color: var(--ink); }
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 26px 0 22px;
}
.footer-mark { width: 95px; height: 95px; flex: 0 0 auto; }
.footer-address { flex: 1; font-size: 14px; line-height: 1.55; }
.footer-address p { margin: 0; }
.footer-address strong { color: #222; }
.footer-wa img { display: block; width: 252px; height: auto; }
.footer-base { background: var(--footer2); padding: 22px 0 26px; }
.socials-footer { display: flex; justify-content: center; gap: 8px; }
.socials-footer img { width: 26px; height: 26px; }

.to-top {
  position: fixed;
  right: 18px;
  bottom: 16px;
  z-index: 90;
  width: 50px;
  height: 48px;
  border: 0;
  background: rgba(0, 0, 0, .06);
  box-shadow: rgba(0, 0, 0, .28) 0 0 1px;
  color: #666;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.to-top.is-on { opacity: 1; pointer-events: auto; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, .82);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1100px, 100%); max-height: 86vh; width: auto; height: auto; box-shadow: 0 8px 30px rgba(0,0,0,.4); }
.lightbox-close {
  position: absolute;
  top: 12px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 1280px) {
  .branding,
  #access .menu,
  #forbottom,
  .footer-inner { padding-left: 15px; padding-right: 15px; }
  #forbottom { padding-top: 8px; }
}

@media (max-width: 800px) {
  .branding { min-height: 0; }
  .site-identity { justify-content: center; min-height: 0; padding-top: 16px; }
  #logo img { width: 280px; max-width: 86%; }
  .header-widget {
    position: relative;
    top: 0;
    right: auto;
    width: 95%;
    margin: 8px auto 16px;
  }
  .resultados { width: 100%; }
  #nav-toggle { display: block; }
  #access { display: none; }
  #access.is-open { display: block; }
  #access .menu { display: block; }
  #access.is-open .sub-menu {
    position: static;
    visibility: visible;
    opacity: 1;
    transform: none;
    max-height: none;
    overflow: visible;
    max-width: none;
    background: rgba(255, 255, 255, .05);
  }
  .footer-inner { flex-direction: column; text-align: center; padding: 22px 16px; }
  .socials-side { display: none; }
  .hero-slider { aspect-ratio: 1200 / 386; }
  #forbottom { min-height: 0; padding: 10px; }
}
