*,
*::before,
*::after {
  box-sizing: border-box;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  background: #fff;
  color: #000;
  padding: 8px 12px;
  z-index: 100;
}

.skip-link:focus {
  top: 8px;
}

.site-header {
  background: #fff;
}

.topbar {
  background:
    linear-gradient(to right, rgba(255, 255, 255, 0.51), rgba(255, 255, 255, 0.51)),
    url('/assets/img/topo.webp') center / cover no-repeat;
  min-height: 172px;
  display: flex;
  align-items: center;
}

.topbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1240px, calc(100% - 48px));
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  color: var(--title);
}

.brand img {
  width: 153px;
  height: 141px;
  object-fit: contain;
}

.brand-name {
  font-size: 28px;
  line-height: 1.2;
  font-weight: 400;
}

.top-contacts {
  display: flex;
  align-items: center;
  gap: 28px;
}

.top-link,
.mobile-contacts a,
.footer-main a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 700;
  color: var(--text);
}

.top-link svg,
.mobile-contacts svg,
.footer-main svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  flex: 0 0 auto;
}

.nav-toggle,
.mobile-contacts,
.mobile-panel {
  display: none;
}

.desktop-nav {
  background: var(--nav);
  min-height: 70px;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.menu {
  display: flex;
  align-items: stretch;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu > li {
  position: relative;
  display: flex;
  align-items: stretch;
}

.menu > li > a {
  display: flex;
  align-items: center;
  padding: 0 15px;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.menu > li.is-current > a,
.menu > li > a:hover,
.menu > li:focus-within > a {
  background: var(--nav-on);
}

.menu > li.has-sub > a::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 8px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #fff;
}

.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--nav);
  z-index: 20;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.menu > li:hover > .submenu,
.menu > li:focus-within > .submenu {
  display: block;
}

.submenu a {
  display: block;
  padding: 12px 18px;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
}

.submenu a:hover,
.submenu a[aria-current='page'] {
  background: var(--nav-on);
}

.hero {
  position: relative;
  height: 500px;
  background: #000;
  overflow: hidden;
}

.hero-track,
.hero-slide {
  height: 100%;
}

.hero-slide {
  display: none;
  position: relative;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.hero-slide.is-active {
  display: flex;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--img) center / cover no-repeat;
  opacity: var(--overlay);
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 20px;
}

.hero-copy h1,
.hero-h1 {
  margin: 0;
  font-size: 53px;
  font-weight: 400;
  line-height: 1.25;
}

.hero-h2 {
  margin: 8px 0 0;
  font-size: 40px;
  font-weight: 400;
  line-height: 1.35;
}

.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 46px;
  height: 46px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  opacity: 0;
}

.hero:hover .hero-nav,
.hero:focus-within .hero-nav {
  opacity: 1;
}

.hero-prev { left: 12px; }
.hero-next { right: 12px; }

.hero-nav svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.4;
}

.hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.hero-dots button {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
}

.hero-dots button.is-active {
  background: #fff;
}

.welcome {
  margin: 70px auto 100px;
  max-width: 1240px;
  background: #fff url('/assets/img/quem-somos.webp') center center / 1240px auto no-repeat;
}

.welcome-grid,
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}

.welcome-copy,
.about-copy {
  background: #fff;
  padding: 15px 10px 0 70px;
}

.welcome-copy h2,
.quote-copy h2 {
  margin: 0 0 3px;
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--gold-text);
  line-height: 1.3;
}

.welcome-title,
.quote-title {
  margin: 0 0 16px;
  font-size: 35px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--title);
  line-height: 1.15;
}

.welcome-copy p,
.about-copy p {
  margin: 0 0 16px;
}

.welcome-btn {
  margin-top: 8px;
}

.products {
  max-width: 1240px;
  margin: 0 auto 100px;
  padding: 0 70px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.product-grid h3 {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  color: #3a3a3a;
  line-height: 1.35;
}

.product-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 600 / 400;
  object-fit: cover;
}

.product-grid p {
  margin: 22px 0 0;
  text-align: center;
}

.btn {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
  border: 0;
  cursor: pointer;
}

.btn-gold {
  background: var(--gold);
  padding: 18px 40px;
}

.btn-black {
  background: #000;
  padding: 21px 42px;
}

.quote {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--gray);
  margin-bottom: 70px;
  align-items: center;
}

.quote-copy {
  padding: 50px 10px 24px 8vw;
}

.quote img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 465px;
  object-fit: cover;
  object-position: center top;
}

.services {
  max-width: 1240px;
  margin: 0 auto 20px;
}

.services h4 {
  margin: 0 0 18px;
  font-size: 35px;
  font-weight: 600;
  text-transform: uppercase;
  text-align: center;
  color: var(--title);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.service-card {
  min-height: 400px;
  padding: 220px 50px 50px;
  background: center / cover no-repeat;
  text-align: center;
  transition: filter 0.2s ease, box-shadow 0.2s ease, outline-offset 0.2s ease;
}

.service-card:hover {
  outline: 2px solid var(--gold);
  outline-offset: -10px;
  filter: contrast(150%);
  box-shadow: inset 20px 20px 20px 15px rgba(0, 0, 0, 0.25);
}

.service-card p {
  width: 70%;
  margin: 0 auto 10px;
  background: rgba(179, 155, 102, 0.7);
  padding: 20px 10px;
  color: #fff;
}

.service-card .veja-mais {
  width: 40%;
  background: #000;
  padding: 0;
}

.service-card .veja-mais a {
  display: block;
  padding: 16px 8px;
  color: #fff;
  text-decoration: none;
}

.page-head {
  width: min(1240px, calc(100% - 40px));
  margin: 48px auto 36px;
}

.entry-title {
  margin: 0;
  text-align: center;
  font-size: 26px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--text);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 10px;
}

.gallery {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto 80px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.gallery a {
  display: block;
  background: #f3f3f3;
}

.gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.figure-center {
  width: min(1026px, calc(100% - 40px));
  margin: 10px auto 80px;
  text-align: center;
}

.about {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto 100px;
  background: #fff url('/assets/img/quem-somos.webp') center center / 100% auto no-repeat;
}

.about-copy {
  padding-bottom: 10px;
}

.contact-grid {
  width: min(1240px, calc(100% - 48px));
  margin: 10px auto 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.contact-form label {
  display: block;
  margin-bottom: 16px;
}

.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  box-sizing: border-box;
  border: 1px solid #d5d5d5;
  padding: 10px 12px;
  font: inherit;
  color: var(--text);
  background: #fff;
}

.hp {
  position: absolute;
  left: -9999px;
}

.contact-map {
  width: 100%;
  height: 560px;
  border: 0;
}

#form-feedback {
  min-height: 1.4em;
  margin: 12px 0 0;
}

.prose {
  margin-bottom: 80px;
}

.prose blockquote {
  margin: 18px 0;
  padding-left: 16px;
  border-left: 3px solid var(--gold);
}

.site-footer {
  color: #fff;
}

.footer-main {
  background: var(--nav);
  padding: 42px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr 1.4fr auto;
  gap: 24px;
  align-items: center;
}

.footer-main h3 {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.4px;
}

.footer-main p {
  margin: 0 0 8px;
}

.footer-main a,
.footer-main p {
  color: #fff;
  font-weight: 400;
  font-size: 15px;
}

.footer-main p {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.footer-logo {
  justify-self: end;
}

.footer-logo img {
  width: 105px;
  height: 97px;
  object-fit: contain;
}

.footer-copy,
.footer-social {
  background: var(--gold);
  text-align: center;
}

.footer-copy {
  padding: 16px 16px 4px;
}

.footer-copy p {
  margin: 0;
  color: #fff;
  font-size: 15px;
}

.footer-copy a {
  color: #fff;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 8px 0 18px;
}

.footer-social a {
  color: #fff;
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--whats);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 50px;
  padding: 12px 18px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.wa-float svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox img {
  max-width: min(92vw, 1200px);
  max-height: 88vh;
  object-fit: contain;
}

.lightbox button {
  position: absolute;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 32px;
  line-height: 1;
}

.lightbox .lb-close { top: 16px; right: 18px; }
.lightbox .lb-prev { left: 12px; top: 50%; }
.lightbox .lb-next { right: 12px; top: 50%; }

@media (max-width: 921px) {
  .topbar {
    min-height: 0;
    padding: 12px 0;
  }

  .top-contacts,
  .desktop-nav,
  .brand-name {
    display: none;
  }

  .brand img {
    width: 118px;
    height: 109px;
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .nav-toggle span {
    display: block;
    height: 2px;
    background: var(--gold);
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .mobile-contacts {
    display: block;
    background: #fff;
  }

  .mobile-contacts a {
    display: flex;
    justify-content: center;
    padding: 14px 12px;
    font-weight: 700;
  }

  .mobile-panel {
    display: block;
    background: var(--nav);
  }

  .mobile-panel[hidden] {
    display: none;
  }

  .mobile-panel ul {
    list-style: none;
    margin: 0;
    padding: 8px 0 16px;
  }

  .mobile-panel a {
    display: block;
    padding: 12px 22px;
    color: #fff;
    text-decoration: none;
  }

  .mobile-panel .is-current a {
    background: var(--nav-on);
  }

  .hero-nav {
    opacity: 1;
  }
}

@media (max-width: 780px) {
  .hero {
    height: 300px;
  }

  .hero-nav {
    display: none;
  }

  .hero-copy h1,
  .hero-h1,
  .services h4,
  .welcome-title,
  .quote-title {
    font-size: 30px;
  }

  .hero-h2,
  .welcome-copy h2,
  .quote-copy h2,
  .product-grid h3 {
    font-size: 27px;
  }

  .welcome {
    margin: 24px 16px 40px;
    background: #fff;
  }

  .welcome-grid,
  .about,
  .product-grid,
  .service-grid,
  .quote,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .welcome-photo,
  .about-photo {
    display: none;
  }

  .welcome-copy,
  .about-copy,
  .products,
  .quote-copy {
    padding: 5px;
  }

  .about {
    width: min(1240px, calc(100% - 32px));
    margin-bottom: 48px;
    background: #fff;
  }

  .services {
    width: min(1240px, calc(100% - 24px));
  }

  .service-card {
    margin-bottom: 30px;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 48px;
  }

  .footer-logo {
    justify-self: start;
  }
}

@media (max-width: 600px) {
  .brand-name {
    display: none;
  }
}
