*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: var(--ubuntu);
  font-size: 14px;
  line-height: 1.8;
}

img { max-width: 100%; height: auto; }

a { color: var(--ink); }
a:hover { color: #ccc; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  background: #000;
  color: #fff;
  padding: 8px 12px;
  z-index: 1000;
}
.skip-link:focus { top: 8px; }

.wrap {
  width: min(var(--wrap), calc(100% - 30px));
  margin: 0 auto;
}

.site-header { background: #fff; }

.brand {
  width: min(var(--wrap), calc(100% - 30px));
  margin: 0 auto;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo img {
  display: block;
  width: 340px;
  max-width: 100%;
  height: auto;
}

.brand-contact {
  width: 33%;
  min-width: 280px;
  text-align: right;
  font-size: 18px;
  line-height: 1.45;
}
.brand-contact h2 {
  margin: 0 0 6px;
  font-family: var(--fjalla);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0;
}
.brand-contact p { margin: 0; }
.brand-contact strong {
  font-family: var(--fjalla);
  font-weight: 400;
}
.brand-contact a { text-decoration: none; }
.brand-contact a:hover { text-decoration: underline; }

.nav-bar { background: var(--nav); }

.nav-toggle {
  display: none;
  width: 100%;
  height: 44px;
  border: 0;
  background: var(--nav);
  color: #fff;
  cursor: pointer;
  padding: 0 16px;
  text-align: left;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.nav-list {
  width: min(var(--wrap), 100%);
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
}
.nav-list a {
  display: block;
  color: #fff;
  text-decoration: none;
  font-family: var(--fjalla);
  font-size: 18px;
  text-transform: uppercase;
  padding: 17px 18px;
  line-height: 1.2;
}
.nav-list a:hover,
.nav-list a[aria-current="page"] { background: var(--nav-active); color: #fff; }

.slider {
  position: relative;
  width: 100%;
  aspect-ratio: 1920 / 600;
  background: #000;
  margin-bottom: 34px;
}
.slider-track { position: absolute; inset: 0; }
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s linear;
}
.slide.is-active { opacity: 1; z-index: 1; }
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.slider-prev,
.slider-next {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 30px;
  height: 30px;
  margin-top: -15px;
  background: #000;
  opacity: 0.6;
  display: grid;
  place-items: center;
}
.slider-prev { left: 0; }
.slider-next { right: 0; }
.slider-prev:hover,
.slider-next:hover { opacity: 1; }
.slider-prev span,
.slider-next span {
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}
.slider-prev span { border-right: 6px solid #fff; margin-left: -2px; }
.slider-next span { border-left: 6px solid #fff; margin-right: -2px; }
.slider-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -22px;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  background: #333;
  box-shadow: 1px 1px 2px #000;
  cursor: pointer;
}
.dot.is-active { background: #ccc; }

.section-title {
  margin: 0 0 40px;
  color: #000;
  font-family: var(--fjalla);
  font-size: 40px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -1px;
}
.section-title.light {
  color: #fff;
  text-shadow: 4px 4px 0 rgba(0, 0, 0, 0.1);
}
.section-title.xl { font-size: 50px; }

.prose p { margin: 0 0 1em; text-align: justify; }
.prose p.center { text-align: center; }
.prose a { color: inherit; }

.escritorio { padding: 10px 0 20px; }
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}
.fachada-frame {
  margin-top: 60px;
  padding: 29px;
  border: 1px solid var(--line);
}
.fachada-frame img { display: block; width: 100%; height: auto; }

.btn {
  display: inline-block;
  text-decoration: none;
  text-align: center;
  border-radius: 0;
  line-height: 1.2;
}
.btn-dark {
  background: #252422;
  color: #fff !important;
  border: 0;
  padding: 1em 2em;
  font-size: 16px;
  font-family: var(--ubuntu);
}
.btn-dark:hover { background: #302e2c; color: #fff !important; }
.btn-light {
  background: #fff;
  color: #000 !important;
  padding: 1.4em 2.8em;
  font-size: 1.3em;
  font-family: var(--ubuntu);
}
.btn-light:hover { background: #f4f4f4; color: #000 !important; }
.center { text-align: center; }

.missao {
  background: #111 url("/assets/img/bg-f.jpg") center center / cover no-repeat;
  margin-top: 10px;
}
.missao .dark-box {
  background: #252422;
  color: #fff;
  padding: 29px;
}
.missao .prose p { color: #fff; }

.equipe { padding: 36px 0 20px; }
.team {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 28px;
  margin-top: 150px;
}
.member {
  background: #fff;
  border: 1px solid #eee;
  border-top: 5px solid #d3d3d3;
  border-bottom: 5px solid #f5f5f5;
  box-shadow: 3px 0 5px rgba(0, 0, 0, 0.04);
  text-align: center;
  padding: 0 12px 16px;
}
.member-photo {
  width: 50%;
  aspect-ratio: 1;
  margin: -25% auto 8px;
  border-radius: 50%;
  border: 6px solid #eee;
  background-size: cover;
  background-position: center top;
  box-shadow: 2px 0 1px rgba(0, 0, 0, 0.05);
}
.member h3 {
  margin: 10px 0 8px;
  color: #222;
  font-family: var(--ubuntu);
  font-size: 20px;
  font-weight: 400;
}
.member .role { color: #888; font-size: 16px; margin: 0; }
.member .bio {
  margin: 19px 0 10px;
  color: #555;
  font-size: 14px;
  line-height: 23px;
  text-align: justify;
}

.areas {
  background: #1c1c1c url("/assets/img/bg-servicos.jpg") repeat;
  color: #fff;
  padding: 36px 0 48px;
}
.areas-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
  margin-bottom: 10px;
}
.areas-head .section-title { margin-bottom: 0; }
.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px 30px;
}
.areas h3 {
  margin: 8px 0 10px;
  color: #fff;
  font-family: var(--fjalla);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.2px;
}
.areas ul { margin: 0; padding-left: 1.2em; }
.areas li { margin: 0 0 0.35em; }

.noticias { padding: 28px 0 50px; }
.news-grid {
  display: grid;
  grid-template-columns: 1.62fr 1fr;
  gap: 30px;
  align-items: start;
}
.news-item { margin: 0 0 22px; padding-bottom: 8px; }
.news-item h3 {
  margin: 0 0 4px;
  font-family: var(--ubuntu);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
}
.news-item h3 a { color: #222; text-decoration: none; }
.news-item h3 a:hover { color: #000; }
.news-date { margin: 0 0 6px; color: #777; }
.news-item p { margin: 0; }
.news-item p a { text-decoration: none; }
.links-box {
  border: 1px solid var(--line);
  padding: 29px;
  margin-top: 50px;
}
.links-box h2 {
  margin: 0 0 30px;
  font-family: var(--fjalla);
  font-size: 30px;
  font-weight: 400;
  letter-spacing: -0.5px;
  color: #000;
}
.links-box a {
  position: relative;
  display: inline-block;
  margin: 0 0 8px;
  text-decoration: none;
  color: var(--ink);
}
.links-box a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0;
  background: #000;
  transition: width 0.3s ease-out;
}
.links-box a:hover::after { width: 100%; }
.links-box a:hover { color: var(--ink); }

.local {
  background: #000;
  color: #fff;
  padding: 50px 0;
}
.local p { text-align: left; }
.map {
  width: 100%;
  height: 230px;
  border: 0;
  display: block;
  background: #222;
}

.contact-band {
  background: #111 url("/assets/img/bg-contato-1.jpg") center center / cover no-repeat;
}
.contact-layout {
  display: grid;
  grid-template-columns: 0.67fr 1fr;
}
.contact-panel {
  background: #000;
  color: #fff;
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.contact-panel .section-title { font-size: 50px; }
.contact-panel p { text-align: left; margin: 0 0 1em; }
.contact-form label {
  display: block;
  margin: 0 0 14px;
}
.contact-form input,
.contact-form textarea {
  display: block;
  width: 90%;
  margin-top: 4px;
  padding: 6px 8px;
  border: 1px solid #ccc;
  border-color: #ccc #eee #eee #ccc;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.contact-form textarea { min-height: 34px; resize: vertical; }
.contact-form button {
  background: #f7f7f7;
  color: var(--ink);
  border: 1px solid #ccc;
  padding: 8px 16px;
  font: inherit;
  cursor: pointer;
}
.contact-form button:hover { background: #fff; }
.hp { position: absolute; left: -9999px; }
.form-status { min-height: 1.4em; margin: 8px 0 0; }

.site-footer {
  background: var(--footer);
  color: #fff;
  text-align: center;
  padding: 28px 16px 36px;
  font-size: 13px;
}
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #f5f5f5; }

.fb-float {
  position: fixed;
  right: 0;
  top: 40%;
  z-index: 90;
  width: 42px;
  padding: 5px;
  opacity: 0.5;
  background: #000;
  line-height: 0;
  transition: opacity 0.5s ease-in-out;
}
.fb-float:hover { opacity: 1; }
.fb-float img { width: 32px; height: 32px; display: block; }

.to-top {
  position: fixed;
  right: 40px;
  bottom: 24px;
  z-index: 90;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.06);
  color: #777;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.to-top.is-visible { opacity: 1; pointer-events: auto; }
.to-top:hover { color: #ccc; }

.page {
  width: min(var(--wrap), calc(100% - 72px));
  margin: 28px auto 70px;
}
.page h1.entry-title {
  margin: 8px 0 10px;
  color: #444;
  font-family: var(--ubuntu);
  font-size: 34px;
  font-weight: 400;
  line-height: 1.25;
}
.entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding-bottom: 8px;
  margin-bottom: 16px;
  border-bottom: 1px solid #eee;
  color: var(--meta);
  font-size: 14px;
}
.entry-meta a { color: #888; text-decoration: none; }
.entry-meta a:hover { color: var(--ink); }
.entry-content p { margin: 0 0 1em; }
.entry-content img.alignleft {
  float: left;
  margin: 4px 16px 8px 0;
}
.archive-title {
  margin: 10px 0 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e5e5e5;
  font-family: var(--ubuntu);
  font-size: 34px;
  font-weight: 700;
  color: #222;
}
.archive-title em { font-weight: 400; }
.archive-item { margin: 0 0 42px; }
.archive-item h2 {
  margin: 18px 0 6px;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.25;
}
.archive-item h2 a { color: #444; text-decoration: none; }
.archive-item h2 a:hover { color: #000; }
.continue {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 15px;
  border: 1px solid var(--ink);
  color: var(--ink);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.4px;
  line-height: 2.2;
}
.continue:hover { background: #ccc; color: #fff; }
.crumbs { margin: 0 0 8px; font-size: 14px; }
.crumbs a { text-decoration: none; }
.attachment { text-align: center; margin-top: 18px; }
.attachment img { display: inline-block; }
.teses-box {
  border: 1px solid #ddd;
  padding: 28px 34px 10px;
  margin: 10px auto 40px;
}
.teses-box h1 {
  margin: 0 0 36px;
  font-family: var(--fjalla);
  font-size: 40px;
  font-weight: 400;
  letter-spacing: -1px;
  color: #000;
}
.teses-box p { margin: 0 0 1.15em; }

@media (max-width: 800px) {
  .fb-float { display: none; }
}
  .areas-grid { grid-template-columns: 1fr 1fr; }
  .brand-contact { width: auto; min-width: 0; font-size: 16px; }
  .logo img { width: 280px; }
}

@media (max-width: 780px) {
  .split,
  .areas-head,
  .news-grid,
  .contact-layout,
  .contact-panel,
  .team { grid-template-columns: 1fr; }
  .brand {
    min-height: 0;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 0 10px;
  }
  .brand-contact { text-align: left; width: 100%; }
  .logo img { width: min(100%, 320px); }
  .fachada-frame { margin-top: 10px; }
  .missao { background-image: none; background: #252422; }
  .missao .ghost { display: none; }
  .areas-grid { grid-template-columns: 1fr; }
  .links-box { margin-top: 10px; }
  .contact-band { background-image: none; }
  .contact-photo {
    display: block;
    min-height: 180px;
    background: url("/assets/img/bg-contato-1.jpg") center / cover no-repeat;
  }
  .section-title,
  .section-title.xl,
  .contact-panel .section-title,
  .teses-box h1 { font-size: 32px; }
  .page { width: min(100% - 28px, var(--wrap)); }
  .team { margin-top: 90px; }
  .member { margin-top: 70px; }
  .entry-content img.alignleft { float: none; display: block; margin: 0 auto 12px; }
}

@media (max-width: 650px) {
  .nav-toggle { display: flex; align-items: center; }
  .nav-list {
    display: none;
    flex-direction: column;
  }
  .nav.is-open .nav-list { display: flex; }
  .nav-list a { padding: 12px 16px; }
  .slider { margin-bottom: 28px; }
}

@media (min-width: 781px) {
  .contact-photo { display: block; min-height: 1px; }
}
