*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.8;
  color: #4a4a4a;
  background-color: #fff;
  background-image: url('/assets/img/fundo.webp');
  background-repeat: repeat-y;
  background-position: top center;
  background-size: 100% auto;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: #828282; }
ul { list-style: none; margin: 0; padding: 0; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--font); line-height: 1.4; font-weight: 400; }

.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus { left: 8px; top: 8px; z-index: 999; background: #fff; padding: 8px; }

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* Header */
.site-header { background: #000; position: relative; }
.header-logo {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5px;
  text-align: center;
}
.logo-img {
  width: auto;
  max-height: 102px;
  margin: 20px auto 10px;
}
.header-nav {
  background: #ffce38;
  text-align: center;
}
.nav-desktop { display: block; }
.main-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  min-height: 74px;
  gap: 0;
}
.main-menu > .menu-item { position: relative; }
.main-menu > .menu-item > a {
  display: block;
  font-family: var(--nav-font);
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  color: #4a4a4a;
  padding: 26px 18px;
  letter-spacing: 0.2px;
}
.main-menu > .menu-item > a:hover,
.main-menu > .menu-item.current > a { color: #000; }
.text-wrap { position: relative; display: inline-flex; align-items: center; gap: 6px; }
.nav-arrow { display: inline-block; }

.sub-menu {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 190px;
  background: #fff;
  border-top: 3px solid #000;
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
  z-index: 40;
  text-align: left;
}
.menu-item.has-children:hover > .sub-menu,
.menu-item.has-children:focus-within > .sub-menu { display: block; }
.sub-menu a {
  display: block;
  padding: 10px 16px;
  font-size: 12px;
  letter-spacing: .6px;
  color: #333;
  white-space: nowrap;
}
.sub-menu a:hover { background: #f5f5f5; color: #000; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: #4a4a4a;
  font-family: var(--nav-font);
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .4px;
  padding: 22px 16px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
}
.nav-toggle-close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-text { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-close { display: inline; }

.mobile-dropdown {
  display: none;
  background: #fff;
  text-align: left;
}
.mobile-menu a {
  display: block;
  padding: 12px 20px;
  border-bottom: 1px solid #eee;
  font-size: 15px;
  color: #333;
}
.mobile-menu .has-children { position: relative; }
.mobile-menu .dropdown-toggle {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.mobile-menu .dropdown-toggle::before {
  content: "+";
  font-size: 20px;
  color: #333;
}
.mobile-menu .dropdown-toggle[aria-expanded="true"]::before { content: "–"; }
.mobile-menu .sub-menu { display: none; position: static; border: 0; box-shadow: none; min-width: 0; background: #fafafa; }
.mobile-menu .has-children.open > .sub-menu { display: block; }
.mobile-menu .sub-menu a { padding-left: 36px; font-size: 14px; }

/* Hero slider */
.hero-slider {
  position: relative;
  height: 450px;
  overflow: hidden;
  background: #000;
}
.slider, .slide {
  position: absolute;
  inset: 0;
}
.slide {
  opacity: 0;
  transition: opacity 800ms ease;
  background: #000;
}
.slide.active { opacity: 1; z-index: 1; }
.slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

/* Welcome */
.welcome { padding: 30px 0 20px; }
.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}
.welcome-text { padding: 50px 0; }
.welcome-text h1 {
  font-size: 35px;
  line-height: 1.2;
  text-transform: uppercase;
  color: #000;
  margin: 0 0 18px;
}
.welcome-photo { padding-top: 20px; }

/* Cards */
.card-row { margin-bottom: 50px; }
.card-row-last { margin-bottom: 0; padding-bottom: 50px; }
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}
.cards-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding-bottom: 20px;
}
.info-card { min-width: 0; }
.card-photo img { width: 100%; height: auto; }
.card-btn-wrap { text-align: center; margin: 18px 0 0; }

.widget-title {
  font-size: 13px;
  line-height: 1;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 400;
  color: #333;
  margin: 0 0 16px;
  padding-left: 12px;
  border-left: 3px solid #828282;
}

.button,
input[type="submit"],
button[type="submit"] {
  display: inline-block;
  background: #828282;
  color: #fff !important;
  border: 1px solid #fff;
  padding: 12px 18px;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .6px;
  text-transform: uppercase;
  cursor: pointer;
  line-height: 1.2;
}
.button:hover,
input[type="submit"]:hover,
button[type="submit"]:hover {
  background: #000;
  color: #fff !important;
  border-color: #fff;
}

/* CTA */
.cta-banner {
  position: relative;
  height: 450px;
  background: #000 url('/assets/img/cta-orcamento.webp') center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 50px;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.2);
}
.cta-inner { position: relative; z-index: 1; text-align: center; padding: 20px; }
.cta-inner h2 {
  font-size: 45px;
  line-height: 1.375;
  color: #fff;
  text-shadow: 0 2px 2px rgba(0,0,0,.5);
  margin: 0 0 18px;
  text-transform: uppercase;
  font-weight: 400;
}

/* Page header */
.page-header {
  background: #fff;
  padding: 28px 0 22px;
}
.page-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.page-header-title {
  font-size: 32px;
  line-height: 1.4;
  margin: 0;
  color: #333;
  font-weight: 400;
}
.breadcrumbs ol { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.breadcrumbs a { color: #777; font-size: 13px; }
.breadcrumbs .sep { color: #bbb; font-size: 12px; margin: 0 4px; }
.page-body { padding: 28px 0 50px; }

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px 8px;
  margin: 0;
}
.gallery-item {
  width: auto;
  padding: 0 0 8px;
  text-align: center;
}
.gallery-item img {
  width: 150px;
  max-width: 100%;
  height: 150px;
  object-fit: cover;
  margin: 0 auto;
}
.gallery-caption {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.4;
  color: #555;
  background: rgba(255,255,255,.85);
  padding: 2px 8px;
  font-style: italic;
}

/* Form */
.contact-form-wrap label {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}
.contact-form-wrap input[type="text"],
.contact-form-wrap input[type="email"],
.contact-form-wrap textarea {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 8px 10px;
  font-family: var(--font);
  font-size: 14px;
  color: #4a4a4a;
  background: #fff;
  margin: 4px 0 10px;
}
.contact-form-wrap textarea { min-height: 180px; resize: vertical; }
.form-feedback { margin-top: 10px; }

/* Footer */
.site-footer { background: #000; color: #fff; position: relative; }
.footer-widgets { padding: 30px 0 20px; }
.footer-grid {
  display: grid;
  grid-template-columns: 28.7% 20% 31% 20.3%;
  gap: 30px;
  align-items: start;
}
.footer-col { color: #fff; font-size: 14px; }
.footer-col a { color: #fff; }
.footer-col a:hover { color: #ddd; }
.footer-col p { margin: 0; }
.footer-col li { margin: 0 0 4px; }
.site-footer .widget-title {
  color: #fff;
  border-left-color: #fff;
  margin-bottom: 20px;
  font-size: 13px;
  font-weight: 700;
}
.ft-icon {
  display: inline-block;
  vertical-align: -2px;
  margin-right: 4px;
  width: 14px;
  height: 14px;
}
.footer-logo { width: 205px; height: auto; margin-left: auto; }
.footer-logo-col { text-align: right; }
.footer-bottom {
  background: #111;
  padding: 10px 0;
  text-align: center;
}
.copyright {
  margin: 0;
  font-size: 12px;
  line-height: 1;
  color: #ccc;
}
.copyright a { color: #ccc; }

.scroll-top {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 40;
  width: 36px;
  height: 36px;
  background: #111;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
}
.scroll-top:hover { color: #fff; background: #000; }

.joinchat {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 1px 1px 6px rgba(0,0,0,.3);
}
.joinchat:hover { color: #fff; transform: scale(1.04); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(0,0,0,.92);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 40px 70px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 90vw; max-height: 80vh; object-fit: contain; }
.lightbox-cap { color: #fff; margin: 12px 0 0; text-align: center; }
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  line-height: 1;
  padding: 8px 14px;
}
.lightbox-close { top: 10px; right: 16px; font-size: 42px; }
.lightbox-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 10px; top: 50%; transform: translateY(-50%); }

iframe { max-width: 100%; }

@media (max-width: 1024px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-logo-col { text-align: left; }
}

@media (max-width: 780px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: flex; }
  .mobile-dropdown { display: block; }
  .mobile-dropdown[hidden] { display: none; }
  .logo-img { max-height: 90px; margin: 16px auto; }
  .hero-slider, .cta-banner { height: 280px; }
  .cta-inner h2 { font-size: 28px; }
  .welcome-grid,
  .cards-3,
  .cards-4,
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .welcome-text { padding: 20px 0 0; }
  .welcome-text h1 { font-size: 28px; }
  .page-header-inner { flex-direction: column; align-items: flex-start; }
  .page-header-title { font-size: 28px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-col, .footer-logo-col { text-align: center; }
  .footer-logo { margin: 0 auto; }
  .site-footer .widget-title { display: inline-block; }
  .card-row-last { padding-bottom: 30px; }
}
