*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  left: -999px;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
  z-index: 40;
  background: #111;
  color: #fff;
  padding: 8px 12px;
}

.site-header {
  position: sticky;
  top: -42px;
  z-index: 20;
  background: #fff;
}

.topbar {
  border-bottom: 1px solid #f5f5f5;
  min-height: 42px;
}

.topbar-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 42px;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #333;
  font-weight: 500;
}

.topbar-item svg {
  flex: 0 0 auto;
}

.brand-bar {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
}

.brand-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 140px;
  gap: 24px;
}

.logo img {
  display: block;
  width: 240px;
  height: auto;
}

.nav-desktop ul {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-desktop a {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #000;
  padding: 8px 0 10px;
  border-bottom: 2px solid transparent;
}

.nav-desktop a:hover,
.nav-desktop a[aria-current="page"] {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: #333;
  padding: 8px;
}

.mobile-panel {
  background: #fff;
  border-top: 1px solid #eee;
}

.mobile-panel ul {
  list-style: none;
  margin: 0;
  padding: 8px 0 20px;
}

.mobile-panel a {
  display: block;
  padding: 12px 6%;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 14px;
}

.mobile-panel a[aria-current="page"] {
  color: var(--blue);
}

.hero-slider {
  position: relative;
  height: 524px;
  overflow: hidden;
  background: #111;
}

.slides,
.slide {
  height: 100%;
}

.slide {
  display: none;
  position: relative;
}

.slide.is-active {
  display: block;
}

.slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 1, 1, 0.34);
}

.slide-copy {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 0 12%;
}

.slide-copy h2 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.slide-copy h3 {
  margin: 10px 0 0;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #1f2226;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.slide-btn.prev {
  left: 24px;
}

.slide-btn.next {
  right: 24px;
}

.welcome {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #f7f7f7;
  min-height: 520px;
}

.welcome-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 520px;
}

.welcome-copy {
  padding: 64px 8% 64px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.welcome-copy h2 {
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #222;
}

.welcome-logo {
  width: 210px;
  height: auto;
  margin: 8px 0 18px;
}

.line {
  display: block;
  width: 42px;
  height: 3px;
  background: #111;
  margin: 8px 0 22px;
}

.line-center {
  margin: 0 auto 18px;
}

.line-light {
  background: rgba(255, 255, 255, 0.85);
}

.welcome-copy p {
  max-width: 520px;
  color: #6b7280;
  font-size: 16px;
  margin: 0 0 28px;
}

.btn-blue {
  display: inline-block;
  background: var(--blue);
  color: #fff !important;
  padding: 12px 28px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.btn-blue:hover {
  filter: brightness(1.08);
}

.home-servicos,
.page-block {
  padding: 56px 0 72px;
}

.section-title {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #111;
  margin: 0 0 14px;
}

.home-servicos .svc-grid,
.page-block .svc-grid {
  margin-top: 28px;
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.svc-card {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 800 / 897;
  background: #111;
}

.svc-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.svc-card:hover img {
  transform: scale(1.06);
}

.svc-label {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 10px 14px;
  min-width: 78%;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.cta-curve {
  background: var(--green);
  color: #fff;
  padding: 160px 0 80px;
  border-top-left-radius: 50% 160px;
  border-top-right-radius: 50% 160px;
  margin-top: -1px;
}

.cta-carousel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.cta-card {
  background: rgba(255, 255, 255, 0.14);
  text-align: center;
  padding: 28px 18px 32px;
  border-radius: 8px;
  color: #e8f5e9;
}

.cta-card.is-center {
  background: #fff;
  color: var(--blue);
  transform: translateY(-18px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.cta-card img {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: block;
  background: #eef2f7;
}

.cta-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.cta-card p {
  margin: 6px 0 16px;
  font-size: 14px;
  font-weight: 600;
}

.cta-card a {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: inherit;
}

.cta-card.is-center a {
  color: var(--blue);
}

.cta-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}

.cta-dots button {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background: #a3a3a3;
  padding: 0;
  cursor: pointer;
}

.cta-dots button.is-active {
  background: #000;
}

.orcamento {
  position: relative;
  min-height: 430px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.orcamento-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.orcamento-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  padding: 48px 16px;
}

.orcamento-kicker {
  margin: 0 0 18px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.orcamento-box {
  background: var(--blue);
  padding: 42px 72px 36px;
  min-width: min(640px, 92vw);
}

.orcamento-box p {
  margin: 0 0 22px;
  font-size: 28px;
  font-weight: 500;
}

.btn-pill {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  border: 2px solid #fff;
  border-radius: 999px;
  padding: 10px 28px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.btn-pill:hover {
  background: #fff;
  color: var(--blue);
}

.site-footer {
  background: var(--footer);
  color: #fff;
  border-top: 8px solid var(--blue);
  padding: 40px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr auto;
  gap: 32px;
  align-items: start;
  padding-bottom: 28px;
}

.footer-about p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  max-width: 360px;
}

.footer-about a {
  color: #fff;
}

.footer-contact h2 {
  margin: 0 0 16px;
  font-size: 28px;
  font-weight: 600;
  text-align: center;
}

.footer-contact ul {
  list-style: none;
  margin: 0;
  padding: 0;
  width: max-content;
  margin-inline: auto;
}

.footer-contact li + li {
  margin-top: 8px;
}

.footer-contact a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  white-space: nowrap;
}

.footer-logo {
  text-align: right;
}

.footer-logo img {
  width: 210px;
  height: auto;
}

.footer-copy {
  border-top: 1px solid #d9d8d836;
  text-align: center;
  padding: 15px 5px 18px;
  font-size: 14px;
}

.footer-copy p {
  margin: 0;
}

.page-title {
  background: var(--titlebar);
  color: #fff;
  min-height: 78px;
  display: flex;
  align-items: center;
}

.page-title h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sobre-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 640px;
}

.sobre-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 640px;
}

.sobre-copy {
  padding: 48px 7% 48px 48px;
  background: #f7f7f7;
  color: #9aa0a6;
  font-size: 16px;
}

.sobre-copy p + p {
  margin-top: 18px;
}

.mvv {
  padding: 56px 0 72px;
  background: #f7f7f7;
}

.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.mvv-grid h3 {
  margin: 12px 0 14px;
  color: var(--blue);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.mvv-grid p {
  margin: 0;
  color: #9aa0a6;
  font-size: 15px;
}

.galeria-page .gal-group {
  margin-bottom: 48px;
}

.galeria-page h2 {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.gal-grid {
  display: grid;
  grid-template-columns: repeat(5, 150px);
  gap: 28px 36px;
  margin-top: 8px;
}

.gal-item {
  display: block;
  width: 150px;
  height: 150px;
  border: 4px solid #8bc34a;
  overflow: hidden;
}

.gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gal-item:hover {
  opacity: 0.9;
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 12px;
}

.area-card {
  background: #e6e6e6;
  border-radius: 12px;
  text-align: center;
  padding: 28px 12px 22px;
}

.area-icon {
  display: inline-flex;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  border: 3px solid currentColor;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.area-card h3 {
  margin: 16px 0 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 920px;
  margin: 12px auto 0;
}

.contact-card {
  background: #e6e6e6;
  border-radius: 12px;
  text-align: center;
  padding: 36px 16px 28px;
  display: block;
}

.contact-card h3 {
  margin: 12px 0 6px;
  color: var(--blue);
  font-size: 22px;
  font-weight: 600;
}

.contact-card p {
  margin: 0;
  color: #222;
  font-size: 15px;
}

.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.scroll-top {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 30;
  width: 42px;
  height: 42px;
  border: 0;
  background: var(--blue);
  color: #fff;
  cursor: pointer;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.88);
  display: grid;
  place-items: center;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-img {
  max-width: 88vw;
  max-height: 86vh;
  object-fit: contain;
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.45);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: none;
  border: 0;
  color: #fff;
  font-size: 42px;
  cursor: pointer;
  line-height: 1;
}

.lightbox-close {
  top: 16px;
  right: 24px;
}

.lightbox-prev {
  left: 16px;
}

.lightbox-next {
  right: 16px;
}

@media (max-width: 1024px) {
  .brand-inner {
    min-height: 110px;
  }

  .svc-grid,
  .areas-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-carousel,
  .mvv-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cta-card.is-center {
    transform: none;
  }

  .footer-logo,
  .footer-contact h2 {
    text-align: center;
  }

  .gal-grid {
    grid-template-columns: repeat(3, 150px);
  }
}

@media (max-width: 767px) {
  .nav-desktop {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 0;
    gap: 8px;
  }

  .brand-inner {
    flex-direction: column;
    min-height: auto;
    padding: 8px 0 12px;
  }

  .hero-slider {
    height: 420px;
  }

  .slide-copy h2 {
    font-size: 26px;
  }

  .slide-copy h3 {
    font-size: 16px;
  }

  .slide-btn {
    width: 36px;
    height: 36px;
    font-size: 22px;
  }

  .welcome,
  .sobre-hero {
    grid-template-columns: 1fr;
  }

  .welcome-photo img,
  .sobre-photo img {
    min-height: 280px;
  }

  .welcome-copy,
  .sobre-copy {
    padding: 32px 6%;
  }

  .svc-grid,
  .areas-grid,
  .gal-grid {
    grid-template-columns: 1fr 1fr;
    justify-content: center;
  }

  .gal-item {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
  }

  .cta-curve {
    border-top-left-radius: 50% 60px;
    border-top-right-radius: 50% 60px;
    padding-top: 80px;
  }

  .orcamento-box p {
    font-size: 22px;
  }

  .page-title h1 {
    font-size: 22px;
  }
}
