*,
*::before,
*::after { box-sizing: border-box; }

html { font-size: 13px; line-height: 1.8; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--font-size);
  color: var(--text);
  background: var(--bg);
}

img { max-width: 100%; height: auto; border: 0; vertical-align: middle; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--ink); }
iframe { border: 0; max-width: 100%; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip-link:focus {
  left: 8px;
  z-index: 9999;
  background: #fff;
  padding: 8px;
}

.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* Header */
.site-header { margin: 0 auto; }
#branding {
  position: relative;
  height: 170px;
  overflow: hidden;
  margin: 0 auto;
}
#bg_image {
  display: block;
  margin: 0 auto;
  height: 170px;
  width: auto;
  max-width: none;
}
#header-container {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  height: 170px;
  text-align: left;
}
#logo {
  display: block;
  float: left;
  margin: 10px 0 0;
}
#logo img { display: block; width: 200px; height: 149px; }

#nav-toggle {
  display: none;
  width: 100%;
  height: 44px;
  border: 0;
  background: var(--accent);
  cursor: pointer;
  position: relative;
}
#nav-toggle span,
#nav-toggle span:before,
#nav-toggle span:after {
  display: block;
  background: #fff;
  height: 2px;
  width: 22px;
  position: absolute;
  left: 16px;
}
#nav-toggle span { top: 21px; }
#nav-toggle span:before { content: ""; top: -7px; }
#nav-toggle span:after { content: ""; top: 7px; }

#access {
  display: block;
  background: var(--accent);
  width: 100%;
  clear: both;
}
#prime_nav {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: var(--container);
  width: 100%;
  display: flex;
  justify-content: flex-start;
}
#prime_nav li { margin: 0; }
#prime_nav a {
  display: block;
  color: #fff;
  font-family: var(--heading);
  font-size: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
#prime_nav a span { display: block; padding: 17px 18px; }
#prime_nav a:hover { color: #fff; }
#prime_nav li:hover { background: var(--accent-dark); }
#prime_nav li.current-menu-item { background: var(--accent-current); }

/* Side socials */
.socials-side {
  position: fixed;
  right: 0;
  top: 40%;
  width: 42px;
  padding: 5px;
  margin: 0;
  opacity: 0.5;
  z-index: 99;
  transition: opacity .5s ease-in-out;
}
.socials-side:hover { opacity: 1; }
.socials a {
  display: block;
  position: relative;
  line-height: 0;
  border-radius: 2px;
  padding: 6px;
}
.socials-side a { float: none; clear: both; margin-top: -6px; }
.socials img { position: relative; z-index: 2; display: block; }
.socials .socials-hover {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 38px;
  height: 38px;
  border-radius: 2px;
  background: var(--accent);
  transition: .3s transform ease;
}
.socials a:hover .socials-hover {
  background: var(--ink);
  transform: rotate(90deg);
}

/* Main */
#conteudo { margin-top: 5px; }
.page-wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 40px 0;
}
.interior { padding-top: 24px; }

.breadcrumbs {
  background: #f5f5f5;
  padding: 8px 0;
  font-size: .8em;
  color: #999;
}
.breadcrumbs-box {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 5px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.breadcrumbs a { color: var(--accent); display: inline-flex; }
.crumb-sep { color: #bbb; }

.page-wrap h1,
.page-wrap h2,
.page-wrap h3,
.page-wrap h4,
.page-wrap h5 {
  font-family: var(--heading);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.2;
}
.page-wrap h1 { font-size: 42px; margin: 0 0 24px; }
.page-wrap h2 { font-size: 36px; }
.page-wrap h3 { font-size: 31px; }
.page-wrap h4 { font-size: 26px; }
.page-wrap h5 { font-size: 21px; }
.page-wrap p { margin: 0 0 1em; }

/* Slider */
.slider {
  max-width: 1200px;
  margin: 0 auto 30px;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1200 / 362;
  background: #111;
}
.slider .slides { position: relative; height: 100%; }
.slider .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}
.slider .slide.is-active { opacity: 1; z-index: 1; }
.slider img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Home welcome */
.welcome-row {
  display: flex;
  gap: 21px;
  align-items: stretch;
  background: #dedede;
  padding: 20px;
  margin-bottom: 30px;
}
.welcome-photos { flex: 0 0 30%; max-width: calc(30% - 15px); padding: 20px; }
.welcome-photos img { display: block; margin: 0 auto; }
.welcome-text { flex: 0 0 40%; max-width: calc(40% - 12px); }
.welcome-text h3 { text-align: left; margin: 0; font-size: 31px; }
.welcome-text p { text-align: justify; margin-top: 15px; margin-bottom: 25px; }
.welcome-video { flex: 1; min-width: 0; }
.video-frame { position: relative; padding-top: 56.25%; height: 0; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Bounce button */
.hvr-bounce-to-right {
  display: inline-block;
  vertical-align: middle;
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 20px;
  background: var(--accent);
  color: #fff;
  transition: color .5s;
}
.hvr-bounce-to-right::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .5s ease-out;
}
.hvr-bounce-to-right:hover,
.hvr-bounce-to-right:focus { color: #fff; }
.hvr-bounce-to-right:hover::before {
  transform: scaleX(1);
  transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.66);
}

.home-products {
  display: flex;
  gap: 33px;
  border: 1px solid var(--border);
  padding: 20px;
  margin-bottom: 30px;
}
.home-products article { flex: 1; min-width: 0; text-align: center; }
.home-products h2 { text-align: center; margin: 0 0 .5em; font-size: 36px; }
.cta-center { text-align: center; margin: 0 0 30px; }

.quote-band {
  position: relative;
  overflow: hidden;
  padding: 100px 20%;
  margin-bottom: 30px;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.quote-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 120%;
  object-fit: cover;
  object-position: center 40%;
  z-index: 0;
}
.quote-band h3 {
  position: relative;
  z-index: 1;
  color: #fff;
  text-align: center;
  margin: 0;
  font-size: 31px;
  text-shadow: 0 1px 2px rgba(0,0,0,.35);
}

.clients-row {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  padding: 20px 0;
  margin-bottom: 0;
}
.clients-label,
.clients-logo {
  flex: 1;
  text-align: center;
  padding: 0 10px;
}
.clients-label h2 {
  text-align: left;
  margin: 0;
  font-size: 36px;
  padding-left: 20px;
}
.clients-logo img { display: inline-block; }

/* Empresa */
.empresa-row {
  display: flex;
  gap: 21px;
  background: #dedede url("/assets/img/bg-bem-vindo.webp") no-repeat right center;
  padding: 20px;
  margin-bottom: 30px;
}
.empresa-copy { flex: 0 0 48%; }
.empresa-copy h2 {
  text-align: justify;
  margin: 0 0 25px;
  color: var(--accent);
  font-size: 36px;
}
.empresa-copy p { text-align: justify; margin-top: 15px; margin-bottom: 25px; }
.empresa-photo { flex: 0 0 35%; padding: 20px; text-align: center; }

/* Produtos */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 30px;
}
.product-card { min-width: 0; }
.product-title {
  text-align: center;
  margin: 0;
  padding: 10px;
  background: var(--accent);
  color: #fff !important;
  font-size: 31px;
}
.product-card h4.product-title { font-size: 26px; }
.product-card h5.product-title { font-size: 21px; }
.product-sub { font-size: 10px; }
.product-card img { display: block; margin: 0 auto; }
.product-desc {
  text-align: center;
  padding: 10px;
  background: #dedede;
  margin: 0;
}

/* Contato */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.contact-box {
  border: 1px solid var(--border);
  padding: 20px;
  min-height: 620px;
}
.contact-box h3 {
  color: var(--accent);
  margin: 0 0 25px;
  text-align: justify;
  font-size: 31px;
}
.contact-box p { text-align: justify; }
.contact-box input[type="text"],
.contact-box input[type="email"],
.contact-box textarea {
  width: 100%;
  max-width: 100%;
  border: 1px solid #ccc;
  border-color: #ccc #eee #eee #ccc;
  color: #555;
  padding: 6px 8px;
  font-family: inherit;
  font-size: 13px;
}
.contact-box button[type="submit"],
.contact-box input[type="submit"] {
  background: #fff;
  border: 1px solid #ccc;
  color: #555;
  padding: 8px 16px;
  cursor: pointer;
  font-family: inherit;
}
.contact-box button[type="submit"]:hover { background: #f7f7f7; }
.form-feedback { min-height: 1.5em; }

/* BNDES */
.bndes-page .alignright {
  float: right;
  margin: 0 0 1em 1.5em;
  max-width: 42%;
}
.catalog-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 10px;
  background: #efefef;
  border: 3px solid #ddd;
  color: var(--accent);
  font-weight: 700;
}

/* Footer */
#footer { color: #aaa; background: #dedede; }
#footer2 { color: #aaa; background: var(--footer); }
#footer2-inside { max-width: var(--container); margin: 0 auto; }
.powered {
  display: table;
  margin: 0 auto;
  text-align: center;
  padding: 7px 0;
  font-size: 13px;
  font-style: italic;
}
.powered a { color: var(--accent); }
#sfooter-full { background: var(--footer-bar); padding: 12px 0; margin-top: 20px; }
#sfooter { float: none; display: table; margin: 0 auto; }
#sfooter a { float: left; }

/* WhatsApp */
.wptwa { font-family: sans-serif; font-size: 14px; }
.wptwa-toggle {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  width: 60px;
  height: 60px;
  border: 0;
  border-radius: 50px;
  background: #0dc152;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 1px 6px rgba(0,0,0,.06), 0 2px 32px rgba(0,0,0,.16);
  display: flex;
  align-items: center;
  justify-content: center;
}
.wptwa-box {
  position: fixed;
  right: 20px;
  bottom: 100px;
  z-index: 9999;
  width: 280px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0,0,0,.18);
  overflow: hidden;
}
.wptwa-description {
  background: #0dc152;
  height: 36px;
  position: relative;
}
.wptwa-close {
  position: absolute;
  right: 8px;
  top: 4px;
  background: none;
  border: 0;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
}
.wptwa-account {
  display: block;
  padding: 14px 16px;
  color: #555;
}
.wptwa-account:hover { background: #f5f5f5; color: #555; }
.wptwa-title { display: block; font-size: 12px; }
.wptwa-name { display: block; font-weight: 700; }

/* Lightbox */
.lb-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lb-overlay[hidden] { display: none; }
.lb-overlay img {
  max-width: min(1100px, 92vw);
  max-height: 88vh;
  background: #fff;
  padding: 10px;
}
.lb-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: 0;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
}

@media (max-width: 1280px) {
  .page-wrap { padding: 15px; }
  #header-container { padding: 0 10px; }
  .breadcrumbs-box { padding: 0 15px; }
}

@media (max-width: 800px) {
  #nav-toggle { display: block; }
  #access { display: none; }
  #access.is-open { display: block; }
  #prime_nav { flex-direction: column; }
  #prime_nav a span { padding: 12px 18px; }
  .socials-side { display: none; }
  #bg_image { max-width: 100%; height: auto; }
  #branding { height: auto; min-height: 110px; }
  #header-container { position: absolute; }
  #logo img { width: 140px; height: auto; }

  .welcome-row,
  .home-products,
  .empresa-row,
  .clients-row,
  .contact-grid {
    flex-direction: column;
    display: flex;
  }
  .product-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .welcome-photos,
  .welcome-text,
  .welcome-video,
  .empresa-copy,
  .empresa-photo {
    flex: 1 1 auto;
    max-width: 100%;
  }
  .quote-band { padding: 60px 16px; }
  .bndes-page .alignright { float: none; max-width: 100%; display: block; margin: 0 auto 1em; }
  .contact-box { min-height: 0; }
  .page-wrap h1 { font-size: 32px; }
  .clients-label h2 { text-align: center; padding-left: 0; }
}
