/* Header */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--teal);
  color: #fff;
  min-height: var(--header-top);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 46px;
  font-size: 14px;
}
.top-contacts,
.top-social {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.top-contacts a,
.top-social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
}
.top-contacts svg,
.top-social svg {
  flex: 0 0 auto;
}
.brandbar {
  background: #fff;
  padding: 8px 0 18px;
}
.brandbar-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}
.logo img {
  width: 265px;
  height: auto;
}
.nav-desktop {
  margin-left: auto;
}
.nav-desktop > ul {
  display: flex;
  align-items: center;
  gap: 6px 22px;
  flex-wrap: wrap;
}
.nav-desktop a {
  color: var(--nav);
  font-size: 15px;
  font-weight: 500;
  padding: 10px 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-desktop a[aria-current="page"],
.nav-desktop a:hover {
  color: var(--teal);
}
.nav-desktop .caret {
  width: 10px;
  height: 10px;
}
.has-sub {
  position: relative;
}
.sub-menu {
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 180px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
  z-index: 30;
}
.has-sub:hover .sub-menu,
.has-sub:focus-within .sub-menu,
.has-sub.open .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.sub-menu a {
  display: block;
  padding: 8px 16px;
  white-space: nowrap;
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid #d9d9d9;
  background: #fff;
  border-radius: 4px;
  margin: 0 auto;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #444;
}
[hidden] {
  display: none !important;
}
.mobile-panel {
  background: #fff;
  border-top: 1px solid #eee;
  padding: 12px 8%;
}
.mobile-panel a {
  display: block;
  padding: 10px 0;
  color: var(--nav);
  border-bottom: 1px solid #f2f2f2;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  padding: 10px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.btn-teal {
  background: var(--teal-dark);
  color: #fff;
}
.btn-teal:hover {
  background: var(--teal);
}
.btn-outline-white {
  border: 2px solid #fff;
  color: #fff;
  background: transparent;
  text-transform: none;
  font-weight: 500;
  letter-spacing: 0;
}
.btn-outline-white:hover {
  background: #fff;
  color: var(--text);
}
.link-more {
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

/* Hero slider */
.hero-slider {
  position: relative;
  height: 500px;
  overflow: hidden;
  background: #111;
}
.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}
.slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}
.slide-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
.slide-content {
  position: relative;
  z-index: 2;
  height: 100%;
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 24px;
}
.slide-heading {
  margin: 0 0 16px;
  font-size: 36px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.2;
}
.slide-desc {
  margin: 0 0 28px;
  font-size: 18px;
  font-weight: 400;
  max-width: 560px;
  line-height: 1.45;
}
.slide-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
}
.slide-arrow.prev { left: 12px; }
.slide-arrow.next { right: 12px; }
.slide-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.slide-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  padding: 0;
}
.slide-dots button.active {
  background: #fff;
}

/* About */
.about-home,
.about-page {
  position: relative;
  padding: 100px 0 140px;
  background:
    linear-gradient(rgba(249, 249, 249, 0.8), rgba(249, 249, 249, 0.8)),
    url("/assets/img/marble-bg.webp") center / cover no-repeat,
    url("/assets/img/fundo.webp") center / cover no-repeat;
}
.about-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-photo {
  position: relative;
  padding: 0 28px 28px 0;
}
.about-photo::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 78%;
  height: 72%;
  background: var(--teal-dark);
  border-radius: 8px;
  z-index: 0;
}
.about-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 8px;
}
.kicker {
  margin: 0 0 8px;
  color: var(--teal-dark);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.28em;
}
.kicker.center,
.section-title {
  text-align: center;
}
.about-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.about-copy h2,
.section-title {
  margin: 0 0 18px;
  font-size: 42px;
  font-weight: 600;
  line-height: 1.15;
  color: #111;
}
.about-copy p {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.7;
}
.about-copy .btn {
  margin-top: 12px;
}

/* Features overlapping bar */
.features {
  margin-top: -90px;
  position: relative;
  z-index: 2;
  padding: 0 10px 8px;
}
.features-bar {
  background: var(--teal-dark);
  color: #fff;
  border-radius: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 24px;
  padding: 28px 40px 32px;
  text-align: center;
}
.features-bar article {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}
.features-bar svg {
  width: 38px;
  height: 38px;
  display: block;
  flex: 0 0 auto;
  overflow: visible;
}
.features-bar p {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  max-width: 260px;
}

/* Products */
.products {
  padding: 48px 0 64px;
  background: #fff;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 28px;
  text-align: center;
}
.product-grid img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 18px;
}
.product-grid h3 {
  margin: 18px 0 10px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

/* CTA parallax */
.cta-orcamento {
  position: relative;
  isolation: isolate;
  clip-path: inset(0);
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 80px 16px;
  overflow: hidden;
}
.cta-parallax {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: url("/assets/img/orcamento.webp") 50% 50% / cover no-repeat;
  pointer-events: none;
}
.cta-orcamento::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgb(239, 209, 196);
  opacity: 0.28;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.cta-inner {
  position: relative;
  z-index: 2;
}
.cta-orcamento h2 {
  margin: 0 0 12px;
  font-size: 42px;
  font-weight: 600;
  text-transform: uppercase;
}
.cta-orcamento p {
  margin: 0 0 28px;
  font-size: 20px;
  font-weight: 500;
  color: rgb(247, 247, 247);
}

/* Quick links */
.quick-links {
  background: var(--bg-soft);
  padding: 60px 0 90px;
  text-align: center;
}
.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.icon-circle {
  width: 82px;
  height: 82px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #b9b9b9;
  display: flex;
  align-items: center;
  justify-content: center;
}
.quick-links h2 {
  margin: 0 0 18px;
  font-size: 22px;
  font-weight: 700;
  color: var(--teal-dark);
  line-height: 1.25;
}

/* Interior */
.page-title {
  background: var(--bg-title);
  padding: 28px 0;
}
.page-title h1 {
  margin: 0;
  color: var(--teal);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.about-page {
  padding: 70px 0 90px;
}
.gallery-wrap {
  padding: 48px 0 80px;
}
.gallery-grid,
.gallery-videos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.gallery-videos {
  grid-template-columns: repeat(2, minmax(0, 420px));
  justify-content: center;
  margin-top: 22px;
}
.gallery-card {
  margin: 0;
  background: var(--teal-dark);
  border-radius: 22px;
  padding: 14px;
}
.gallery-card a {
  display: block;
  cursor: zoom-in;
}
.gallery-card img,
.gallery-card video {
  width: 100%;
  height: 255px;
  object-fit: cover;
  border-radius: 8px;
  background: #111;
}
.gallery-card-video video {
  height: 320px;
}
.map-section {
  padding: 40px 0 80px;
}
.map-section iframe {
  width: 100%;
  height: 360px;
  border: 0;
}
.contact-channels {
  padding: 50px 0 20px;
  text-align: center;
}
.contact-channels h2 {
  margin: 0 0 36px;
  font-size: 22px;
  font-weight: 700;
}
.channel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.channel {
  background: #f4f4f4;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #222;
  font-weight: 600;
}
.channel svg {
  color: var(--teal);
}
.archive-title {
  padding: 36px 0 80px;
}
.archive-title h1 {
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  color: #111;
}

/* Footer */
.site-footer {
  background: var(--bg-footer);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.2fr 0.8fr;
  gap: 28px;
  padding: 48px 0 40px;
  align-items: start;
}
.footer-logo img {
  width: 200px;
  height: auto;
  margin-inline: auto;
}
.site-footer h4 {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.site-footer p {
  margin: 0 0 8px;
  color: #6b6b6b;
  font-size: 14px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.site-footer svg {
  color: var(--teal);
  flex: 0 0 auto;
  margin-top: 3px;
}
.footer-social {
  display: flex;
  gap: 8px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  background: var(--teal);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}
.footer-social svg {
  color: #fff;
  margin: 0;
}
.copyright {
  background: var(--teal);
  color: #fff;
  text-align: center;
  padding: 14px 12px;
  font-size: 13px;
}
.copyright p {
  margin: 0;
  color: #fff;
  display: block;
}

.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--wa);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

@media (max-width: 1024px) {
  .logo img { width: 180px; }
  .nav-desktop a { font-size: 14px; }
  .about-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid { gap: 24px; }
}

@media (max-width: 900px) {
  .nav-desktop { display: none; }
  .brandbar-inner {
    flex-direction: column;
    text-align: center;
  }
  .nav-toggle { display: flex; }
  .hero-slider { height: 420px; }
  .slide-heading { font-size: 28px; }
  .about-home,
  .about-page { padding: 48px 0 80px; }
  .about-grid,
  .product-grid,
  .features-bar,
  .quick-grid,
  .channel-grid,
  .gallery-grid,
  .gallery-videos,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .features { margin-top: -40px; }
  .topbar-inner {
    flex-direction: column;
    padding: 10px 0;
    text-align: center;
  }
  .top-contacts,
  .top-social { justify-content: center; }
  .cta-orcamento h2,
  .about-copy h2,
  .section-title { font-size: 32px; }
  .cta-parallax {
    position: absolute;
    background-attachment: scroll;
  }
  .gallery-card img,
  .gallery-card video { height: 220px; }
}
