:root {
  --font: Arial, Helvetica, sans-serif;
  --font-size: 16px;
  --text: #8e6339;
  --text-dark: #643811;
  --bg: #fffaf5;
  --white: #ffffff;
  --container: 1140px;
  --accent: #8e6339;
  --beige: #e5d0bb;
  --beige-border: #b99d80;
  --tab: #fafafa;
  --nav: #5f5b5b;
  --line: #c69c6c;
  --btn-beige: #deb07c;
  --footer-text: #89673a;
  --side-border: #cccccc;
}

html {
  font-size: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0 3em;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}

p {
  margin: 0 0 1em;
}

.skip-link {
  position: absolute;
  left: -999px;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
  z-index: 40;
  background: #111;
  color: #fff;
  padding: 8px 12px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-header {
  position: relative;
  z-index: 20;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container);
  margin: 0 auto;
  gap: 16px;
}

.logo {
  flex: 0 0 30%;
  text-align: center;
}

.logo img {
  width: 322px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--text-dark);
  margin-left: auto;
}

.header-phone svg {
  width: 25px;
  height: 29px;
  flex: 0 0 25px;
}

.main-nav {
  max-width: var(--container);
  margin: 0 auto;
}

.nav-desktop {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-desktop > li {
  position: relative;
  background: var(--tab);
  margin: 0 3px;
  border-radius: 7px 7px 0 0;
  box-shadow: 0 -0.2em 4px rgb(0 0 0 / 10%) inset;
}

.nav-desktop .nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 8px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  color: var(--nav);
  white-space: nowrap;
}

.nav-desktop .caret {
  width: 10px;
  height: 10px;
}

.sub-menu {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  z-index: 30;
  min-width: 200px;
  width: 200px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: #fff;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.has-sub:hover > .sub-menu,
.has-sub:focus-within > .sub-menu,
.has-sub.open > .sub-menu {
  display: block;
}

.sub-menu a {
  display: block;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--nav);
  text-transform: none;
  letter-spacing: 0;
}

.sub-menu a:hover,
.sub-menu a:focus {
  background: #dbdbdb;
  color: #444;
}

.nav-toggle {
  display: none;
  margin: 0 auto;
  background: var(--tab);
  border: 0;
  color: var(--nav);
  width: 44px;
  height: 40px;
  border-radius: 6px;
  cursor: pointer;
}

.nav-toggle .icon-close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
  display: inline;
}

.mobile-panel {
  background: #fff;
  max-width: var(--container);
  margin: 0 auto 8px;
}

.mobile-panel ul {
  list-style: none;
  margin: 0;
  padding: 8px 0 16px;
}

.mobile-panel a,
.mobile-sub-toggle {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 16px;
  background: none;
  border: 0;
  font: inherit;
  color: var(--nav);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-size: 12px;
  cursor: pointer;
}

.mobile-sub a {
  text-transform: none;
  padding-left: 28px;
}

.page-shell,
.home-shell,
.site-footer {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  box-sizing: border-box;
}

.page-shell,
.home-shell {
  background: var(--white);
  padding: 30px 30px 60px;
}

.home-shell {
  padding: 30px 30px 20px;
}

.home-banner {
  width: 100%;
  margin: 0 0 30px;
}

.home-cta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.cta-card {
  text-align: center;
}

.cta-zoom {
  overflow: hidden;
  margin-bottom: 13px;
}

.cta-zoom img {
  width: 98%;
  margin: 0 auto;
  transition: transform 1500ms ease;
}

.cta-card:hover .cta-zoom img {
  transform: scale(1.2);
}

.cta-card p {
  font-family: "Roboto", Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: #653811;
  margin: 0 0 40px;
}

.cta-last p {
  margin-bottom: 41px;
}

.btn-brown,
.btn-beige {
  display: inline-block;
  padding: 10px 18px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.4px;
  border: 0;
  border-radius: 0;
}

.btn-brown {
  color: #fff;
  background: #8e6339;
}

.btn-beige {
  color: #643811;
  background: #deb07c;
  font-size: 15px;
}

.home-split {
  display: flex;
  gap: 60px;
  padding: 30px 0 60px;
  background: var(--white);
}

.home-company {
  flex: 0 0 61.507%;
  max-width: 61.507%;
}

.home-products {
  flex: 1;
  min-width: 0;
}

.home-company h2,
.home-products h2 {
  margin: 0 0 8px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 30px;
  font-weight: 400;
  color: #643811;
}

.home-company h3,
.home-products h3 {
  margin: 0 0 16px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 23px;
  font-weight: 400;
  color: #8e6339;
}

.company-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}

.company-copy {
  padding: 0 10px 10px 25px;
}

.company-copy p {
  font-family: "Roboto", Arial, sans-serif;
  font-size: 15px;
  color: #8e6339;
  margin: 0 0 6px;
}

#menu_produtos ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#menu_produtos a {
  display: block;
  padding: 8px 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 300;
  color: #8e6339;
  border-bottom: 1px solid #c69c6c;
}

.page-layout {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.page-main {
  flex: 1 1 74%;
  min-width: 0;
}

.page-main h1 {
  margin: 0 0 16px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 23px;
  font-weight: 400;
  color: #8e6339;
}

.page-body {
  font-size: 15px;
  color: #8e6339;
}

.page-body p {
  margin: 0 0 14px;
}

.page-sidebar {
  flex: 0 0 272px;
  width: 272px;
  border-left: 1px solid #ccc;
  padding: 10px 10px 10px 20px;
}

.side-title {
  margin: 0 0 12px;
  padding: 10px;
  background: #e5d0bb;
  border-radius: 20px 0 0 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #89673a;
}

.side-products ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.side-products a {
  display: block;
  padding: 8px 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 300;
  color: #8e6339;
  border-bottom: 1px solid #c69c6c;
}

.map-embed {
  margin: 16px 0 8px;
  min-height: 300px;
  background: #f0f0f0;
}

.map-embed iframe {
  width: 100%;
  height: 300px;
  border: 0;
}

.gallery {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.gallery-3 {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-5 {
  grid-template-columns: repeat(5, 1fr);
}

.gallery-5 .gallery-item {
  aspect-ratio: 1 / 1;
}

.gallery-item {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: #eee;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms ease;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 800ms ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item:hover::after {
  background: rgba(0, 0, 0, 0.5);
}

.site-footer {
  background: #e5d0bb;
  border-top: 2px solid #b99d80;
  padding: 30px 0;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #89673a;
}

.site-footer a {
  color: #89673a;
}

.site-footer p {
  margin: 0 0 12px;
}

.wa-float {
  position: fixed;
  right: 25px;
  bottom: 10px;
  z-index: 9999;
  display: grid;
  place-items: center;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: #25d366;
  padding: 10px;
  box-sizing: border-box;
}

.wa-float svg {
  width: 45px;
  height: 45px;
}

.wa-float:hover {
  background: #036628;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.85);
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: min(92vw, 1100px);
  max-height: 86vh;
  width: auto;
  height: auto;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
}

.lightbox-close {
  top: 16px;
  right: 20px;
}

.lightbox-prev {
  left: 16px;
}

.lightbox-next {
  right: 16px;
}

@media (max-width: 1024px) {
  .nav-desktop {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .home-cta-grid {
    grid-template-columns: 1fr;
  }

  .home-split,
  .page-layout {
    flex-direction: column;
  }

  .home-company,
  .page-sidebar {
    flex: 1 1 auto;
    max-width: none;
    width: auto;
  }

  .page-sidebar {
    border-left: 0;
    padding-left: 0;
  }

  .gallery-5 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  body {
    margin: 0;
    padding: 10px;
  }

  .header-top {
    flex-direction: column;
    text-align: center;
  }

  .logo {
    flex: 1 1 auto;
    width: 100%;
  }

  .logo img {
    max-width: 77%;
    margin: 0 auto;
  }

  .header-phone {
    margin: 0 auto;
    font-size: 15px;
    justify-content: center;
  }

  .page-shell,
  .home-shell {
    padding: 10px;
  }

  .cta-card p {
    margin-bottom: 10px;
  }

  .home-company h2,
  .home-company h3,
  .home-products h2,
  .home-products h3,
  .page-main h1,
  .side-title {
    text-align: center;
  }

  .company-grid {
    grid-template-columns: 1fr;
  }

  .company-copy {
    padding: 0;
    text-align: center;
  }

  .gallery-3,
  .gallery-5 {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding: 20px;
  }
}
