*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

img {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--azul);
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 8px;
  top: 8px;
  z-index: 10000;
  background: #111;
  color: #fff;
  padding: 8px 12px;
}

.sr-only,
.screen-reader-text,
.breadcrumb-home {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.wrap-1140 {
  width: min(100%, var(--elementor));
  margin-inline: auto;
  padding: 0 15px;
}

/* Topbar */
.topbar {
  background: var(--azul);
  color: #fff;
  font-size: 15px;
  min-height: 44px;
}

.topbar a {
  color: #fff;
}

.topbar a:hover {
  color: #fff;
  opacity: 0.85;
}

.topbar__inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 44px;
}

.topbar__contacts i {
  margin-right: 6px;
}

.topbar__sep {
  margin: 0 8px;
}

/* Header */
.site-header {
  background: #fff;
  position: relative;
  z-index: 30;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 146px;
  padding: 10px 0;
  gap: 16px;
}

.logo img {
  display: block;
  width: auto;
  max-width: 174px;
  height: auto;
}

.menu {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0;
}

.menu > li {
  position: relative;
}

.menu > li > a {
  display: block;
  padding: 0 10px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #333;
  white-space: nowrap;
}

.menu > li > a:hover,
.menu > li > a.is-current {
  color: var(--azul);
}

.menu .fa-angle-down {
  font-size: 11px;
  margin-left: 4px;
}

.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.2s;
  z-index: 40;
}

.has-children:hover > .sub-menu,
.has-children:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.sub-menu a {
  display: block;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #333;
}

.sub-menu a:hover {
  color: var(--azul);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: #333;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.mobile-panel {
  background: #fff;
  border-top: 1px solid #eee;
}

.mobile-panel a,
.mobile-sub {
  display: block;
  width: 100%;
  text-align: left;
  padding: 12px 20px;
  border: 0;
  background: none;
  font: inherit;
  color: #333;
  cursor: pointer;
}

.mobile-sub-list a {
  padding-left: 36px;
}

/* Page header */
.page-header {
  background: var(--page-header);
  text-align: center;
  padding: 20px 0;
}

.page-header h1 {
  margin: 0 0 6px;
  font-size: 32px;
  font-weight: 400;
  color: var(--azul);
  line-height: 1.3;
}

.crumbs {
  font-size: 13px;
  color: #777;
}

.crumbs a {
  color: #777;
}

.icon-home {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3Cpath fill='black' d='M280.37 148.26L96 300.11V464a16 16 0 0016 16l112.06-.29a16 16 0 0015.92-16V368a16 16 0 0116-16h64a16 16 0 0116 16v95.64a16 16 0 0015.93 16.01L464 480a16 16 0 0016-16V300L295.67 148.26a12.4 12.4 0 00-15.3 0zM571.6 251.47L488 182.84V44.05a12 12 0 00-12-12h-56a12 12 0 00-12 12v72.61L318.47 43a48 48 0 00-61 0L4.34 251.47a12 12 0 00-1.6 16.9l25.5 31A12 12 0 0045.15 301L277.37 81.63a12.4 12.4 0 0115.3 0L530.9 301a12 12 0 0016.9-1.6l25.5-31a12 12 0 00-1.7-16.93z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.crumb-sep {
  margin: 0 6px;
}

/* Hero */
.hero {
  position: relative;
  height: 450px;
  overflow: hidden;
  color: #fff;
}

.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.6s;
}

.hero__slide.is-active {
  opacity: 1;
}

.hero__slide.is-active::after {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: inherit;
  background-image: inherit;
  animation: kenburns 12s ease-out forwards;
}

@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.12); }
}

.hero__copy {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  text-align: center;
  pointer-events: none;
}

.hero__heading {
  max-width: 60%;
  margin: 0;
  padding: 10px;
  background: var(--azul-slide);
  font-size: 35px;
  font-weight: 700;
  line-height: 52px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.hero__btn,
.carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}

.hero__btn.prev,
.carousel-btn.prev { left: 16px; }
.hero__btn.next,
.carousel-btn.next { right: 16px; }

.hero__dots,
.carousel-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.hero__dots button,
.carousel-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.55);
  padding: 0;
  cursor: pointer;
}

.hero__dots button.is-active,
.carousel-dots button.is-active {
  background: #fff;
}

/* About */
.about {
  padding: 50px 0;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}

.kicker {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 600;
  color: var(--azul);
}

.about h2,
.about-page h2.brand {
  margin: 0 0 16px;
  font-size: 41px;
  font-weight: 600;
  color: #000;
  line-height: 1.2;
}

.about p,
.about-page p,
.page-prose p {
  margin: 0 0 14px;
  color: #7a7a7a;
}

.btn {
  display: inline-block;
  background: var(--azul);
  color: #fff !important;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 12px 22px;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  font-family: inherit;
}

.btn:hover {
  filter: brightness(0.95);
}

.carousel {
  position: relative;
  overflow: hidden;
  padding-bottom: 28px;
}

.carousel__track {
  display: flex;
  transition: transform 0.5s;
}

.carousel__track img {
  width: 100%;
  flex: 0 0 100%;
  height: auto;
  object-fit: cover;
}

.carousel-btn {
  color: #fff;
  text-shadow: 0 0 6px #000;
}

.carousel-dots button {
  background: #bbb;
}

.carousel-dots button.is-active {
  background: var(--azul);
}

.carousel .carousel-dots {
  bottom: -22px;
}

/* Flip */
.sec-title {
  margin: 0 0 24px;
  text-align: center;
  font-size: 30px;
  font-weight: 600;
  color: #000;
  text-transform: uppercase;
}

.flip-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.flip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 50px;
}

.flip {
  position: relative;
  display: block;
  height: 180px;
  background: var(--azul);
  color: #fff !important;
  overflow: hidden;
  perspective: 1000px;
}

.flip--tall {
  height: 350px;
}

.flip__front,
.flip__back {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
  transition: opacity 0.35s, transform 0.35s;
}

.flip__front img {
  width: 20%;
  height: auto;
  margin-bottom: 20px;
}

.flip--tall .flip__front img {
  width: 55%;
}

.flip__title {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.flip--tall .flip__title {
  font-size: 25px;
}

.flip__back {
  opacity: 0;
  background: var(--azul);
  transform: scale(0.88);
}

.flip:hover .flip__front {
  opacity: 0.15;
  transform: scale(1.08);
}

.flip:hover .flip__back {
  opacity: 1;
  transform: scale(1);
}

.flip__btn {
  display: inline-block;
  margin-top: 12px;
  background: #000;
  color: #fff;
  font-size: 12px;
  padding: 8px 14px;
}

/* Laser */
.laser {
  position: relative;
  min-height: 391px;
  background: url("/assets/img/corte-a-laser.webp") bottom center / cover no-repeat;
  color: #fff;
  display: grid;
  place-items: center;
  text-align: center;
}

.laser::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0.5;
}

.laser__inner {
  position: relative;
  z-index: 1;
  padding: 40px 16px;
}

.laser h2 {
  margin: 0 0 16px;
  font-size: 28px;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
}

/* Icon boxes */
.trio {
  padding: 50px 0;
}

.trio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.trio article {
  border: 1px solid var(--border-card);
  border-radius: 1px;
  margin-right: 15px;
  padding: 15px;
  text-align: center;
  transition: background 0.3s;
}

.trio article:hover {
  background-image: linear-gradient(180deg, #e1dddd 0%, #85858500 100%);
}

.trio .icon {
  margin: 0 auto 15px;
  background: none;
  color: var(--azul);
  font-size: 50px;
  line-height: 1;
}

.trio h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
  color: #000;
  text-transform: uppercase;
}

.trio p {
  margin: 0 0 16px;
  color: #7a7a7a;
  font-size: 14px;
}

/* Footer */
.site-footer {
  background: var(--footer-bg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1.1fr 0.8fr;
  gap: 20px;
  align-items: start;
  padding: 60px 0 40px;
}

.footer-logo img {
  width: 78%;
  max-width: 250px;
  height: auto;
}

.site-footer h4 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 400;
  color: var(--azul);
}

.footer-contact li,
.footer-links a {
  color: #000;
  font-size: 14px;
  padding: 7px 0;
  display: block;
  line-height: 1.5;
}

.footer-contact i {
  color: var(--azul);
  margin-right: 8px;
  width: 14px;
}

.footer-esd img {
  width: 170px;
  height: auto;
  margin-left: auto;
}

.footer-copy {
  background: var(--azul);
  color: #fff;
  padding: 15px 0 25px;
  text-align: center;
}

.footer-copy hr {
  border: 0;
  border-top: 1px solid #fff;
  margin: 0 0 14px;
}

.footer-copy p,
.footer-copy a {
  color: #fff;
  margin: 0;
  font-size: 14px;
}

.scroll-top:hover {
  color: #fff;
  background: rgba(181, 181, 181, 0.7);
}

.wa-float {
  position: fixed;
  right: 25px;
  bottom: 10px;
  z-index: 9999;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: #25d366;
  color: #fff !important;
  display: grid;
  place-items: center;
  font-size: 32px;
}

.wa-float:hover {
  background: #036628;
  color: #fff !important;
}

.cookie-manage {
  position: fixed;
  left: 20px;
  bottom: 68px;
  z-index: 40;
  width: 28px;
  height: 28px;
  border: 0;
  background: #cfcfcf;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.cookie-dialog {
  position: fixed;
  left: 16px;
  bottom: 92px;
  z-index: 50;
  width: min(340px, calc(100vw - 32px));
  background: #fff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
  padding: 16px;
}

.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

/* Inner pages */
.page-block {
  padding: 40px 0 60px;
}

.about-page .about__grid {
  padding-top: 10px;
}

.servicos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.icon-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 30px;
  font-size: 1.5em;
  line-height: 1.4;
  color: #4a4a4a;
}

.icon-list i {
  color: var(--azul);
  font-size: 30px;
  margin-top: 4px;
}

.page-prose {
  max-width: 1140px;
  margin: 0 auto;
  padding: 40px 15px 20px;
}

.page-prose p {
  text-align: justify;
}

.area-title {
  color: var(--azul);
  font-size: 18px;
  font-weight: 600;
  margin: 20px 0 12px;
}

.areas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 20px 0 40px;
}

.area {
  background: var(--azul);
  color: #fff;
  text-align: center;
  padding: 36px 12px 28px;
  min-height: 160px;
}

.area i {
  font-size: 42px;
  color: #fff;
  display: block;
  margin-bottom: 14px;
}

.area h3 {
  margin: 0;
  font-size: 1.4em;
  font-weight: 500;
  color: #fff;
}

.prod-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.prod-card h2 {
  margin: 0;
  background: var(--azul);
  color: #fff;
  text-align: center;
  font-size: 18px;
  font-weight: 400;
  text-transform: uppercase;
  padding: 7px 10px;
}

.prod-card img {
  width: 100%;
  height: auto;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.gallery a img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}

.contact,
.map {
  width: 100%;
  min-width: 0;
}

.contact label {
  display: block;
  font-weight: 600;
  color: #5a75c1;
  margin-bottom: 4px;
}

.contact input,
.contact textarea {
  width: 100%;
  margin-bottom: 14px;
  padding: 8px 10px;
  border: 1px solid #ccc;
  font: inherit;
}

.contact textarea {
  min-height: 110px;
}

.map iframe {
  width: 100%;
  height: 420px;
  border: 0;
}

.error404 {
  text-align: center;
  padding: 40px 0 70px;
}

.error404 h2 {
  font-size: 28px;
  font-weight: 400;
}

.searchform {
  max-width: 360px;
  margin: 20px auto;
}

.searchform input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
}

.cookie-doc {
  max-width: 1140px;
  margin: 0 auto;
  padding: 30px 15px 60px;
  color: #4a4a4a;
}

.cookie-doc h2,
.cookie-doc h3,
.cookie-doc h4 {
  color: #333;
}

.cookie-doc details {
  border: 1px solid #ddd;
  margin: 8px 0;
  padding: 8px 12px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.92);
  display: grid;
  place-items: center;
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  background: none;
  border: 0;
  color: #fff;
  font-size: 42px;
  cursor: pointer;
}

.lightbox__close {
  top: 12px;
  right: 20px;
}

.lightbox__prev { left: 16px; }
.lightbox__next { right: 16px; }

.reveal {
  animation: fadein 0.7s ease both;
}

@keyframes fadein {
  from { opacity: 0.35; }
  to { opacity: 1; }
}

@media (max-width: 1024px) {
  .footer-grid,
  .trio__grid,
  .areas {
    grid-template-columns: 1fr 1fr;
  }

  .flip-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .nav-desktop {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .topbar__inner {
    justify-content: center;
    text-align: center;
    padding: 8px 0;
    flex-wrap: wrap;
  }

  .header-inner {
    min-height: 90px;
    padding: 8px 0;
  }

  .logo img {
    max-width: 150px;
    height: auto;
  }

  .hero {
    height: 186px;
  }

  .hero__heading {
    max-width: 80%;
    font-size: 12px;
    line-height: 1.4em;
  }

  .about__grid,
  .servicos-grid,
  .contact-grid,
  .flip-row,
  .flip-grid,
  .trio__grid,
  .prod-grid,
  .areas,
  .footer-grid,
  .gallery {
    grid-template-columns: 1fr;
  }

  .about h2,
  .about-page h2.brand {
    font-size: 32px;
  }

  .page-header h1 {
    font-size: 24px;
  }

  .trio article {
    margin: 10px;
  }

  .footer-esd img {
    margin: 0;
  }

  .icon-list li {
    font-size: 1.1em;
  }
}
