:root {
  --navy: #101933;
  --navy-soft: #273251;
  --gold: #d9a41f;
  --gold-dark: #b9800f;
  --text: #1e2230;
  --muted: #6d7281;
  --surface: #ffffff;
  --line: #e5e7ee;
  --shadow: 0 18px 45px rgba(16, 25, 51, 0.16);
  --radius: 18px;
  --container: min(1120px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Open Sans", Arial, sans-serif;
  background: #f7f8fb;
}

body.menu-open,
body.lightbox-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled,
.site-header.menu-active {
  background: rgba(16, 25, 51, 0.94);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
}

.navbar {
  width: var(--container);
  min-height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img {
  width: 92px;
  height: auto;
}

.menu {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.menu a {
  position: relative;
  padding: 8px 0;
}

.menu a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.menu a:hover::after,
.menu a:focus-visible::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  border-radius: 99px;
  background: #fff;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: url("img/fundo-hero-scaled.jpg") center top / cover no-repeat;
  border-bottom-right-radius: 34px;
  border-bottom-left-radius: 34px;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 25, 51, 0.92), rgba(16, 25, 51, 0.66) 43%, rgba(16, 25, 51, 0.18)),
    linear-gradient(180deg, rgba(16, 25, 51, 0.2), rgba(16, 25, 51, 0.36));
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin-left: clamp(0px, 8vw, 96px);
  padding-top: 80px;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  line-height: 1.08;
}

h1 {
  max-width: 720px;
  font-size: clamp(2.85rem, 4.15vw, 4.05rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

h2 {
  color: var(--navy);
  font-size: clamp(1.85rem, 3.6vw, 3.15rem);
  font-weight: 900;
  letter-spacing: -0.045em;
}

h3 {
  color: var(--navy);
  font-size: 1.02rem;
  font-weight: 800;
}

p {
  margin: 0;
  line-height: 1.75;
}

.hero p {
  max-width: 640px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  line-height: 1.62;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 26px;
  padding: 0 26px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  box-shadow: 0 16px 26px rgba(217, 164, 31, 0.26);
}

.button--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.34);
}

.button--ghost:hover,
.button--ghost:focus-visible {
  background: rgba(255, 255, 255, 0.1);
}

.section {
  padding: 98px 0;
  background: #fff;
}

.services {
  text-align: center;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--gold);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.42em;
  text-transform: uppercase;
}

.services h2 {
  max-width: 760px;
  margin: 0 auto;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 44px;
}

.service-card {
  min-height: 254px;
  padding: 34px 28px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(16, 25, 51, 0.09);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(217, 164, 31, 0.42);
  box-shadow: var(--shadow);
}

.service-card__icon {
  display: inline-grid;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  place-items: center;
  color: var(--gold);
  border: 2px solid rgba(217, 164, 31, 0.74);
  border-radius: 7px;
  line-height: 1;
}

.service-card__icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.service-card p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.92rem;
}

.about,
.contact {
  position: relative;
  padding: 104px 0;
  color: #fff;
  background:
    radial-gradient(circle at 78% 20%, rgba(217, 164, 31, 0.11), transparent 30%),
    linear-gradient(135deg, var(--navy), var(--navy-soft));
  overflow: hidden;
}

.about__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(38px, 7vw, 84px);
}

.about__image {
  position: relative;
}

.about__image::before {
  content: "";
  position: absolute;
  inset: 28px -22px -22px 28px;
  border: 1px solid rgba(217, 164, 31, 0.42);
  border-radius: var(--radius);
}

.about__image img {
  position: relative;
  width: 100%;
  aspect-ratio: 1.23 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.35);
}

.about h2,
.contact h2 {
  color: #fff;
}

.about p:not(.eyebrow),
.contact p:not(.eyebrow) {
  max-width: 590px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.78);
}

.gallery {
  background: #fff;
  text-align: center;
  overflow: hidden;
}

.gallery__grid {
  display: grid;
  width: 100vw;
  margin-top: 42px;
  margin-left: 50%;
  grid-auto-flow: column;
  grid-auto-columns: clamp(260px, 28vw, 420px);
  grid-template-columns: none;
  grid-template-rows: clamp(190px, 22vw, 310px);
  gap: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scrollbar-color: var(--gold) #eef0f5;
  scrollbar-width: thin;
  transform: translateX(-50%);
}

.gallery__grid::-webkit-scrollbar {
  height: 10px;
}

.gallery__grid::-webkit-scrollbar-track {
  background: #eef0f5;
}

.gallery__grid::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 999px;
}

.gallery__item {
  position: relative;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #dfe2ea;
  cursor: pointer;
  overflow: hidden;
  scroll-snap-align: start;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.gallery__item::after {
  content: "Ampliar";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(16, 25, 51, 0.42);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.gallery__item:hover img,
.gallery__item:focus-visible img {
  transform: scale(1.06);
  filter: saturate(1.06);
}

.gallery__item:hover::after,
.gallery__item:focus-visible::after {
  opacity: 1;
}

.contact {
  text-align: center;
}

.contact__content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact h2 {
  max-width: 760px;
}

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
}

.footer {
  padding: 34px 0 28px;
  color: rgba(255, 255, 255, 0.7);
  background: #101010;
  text-align: center;
}

.footer__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.footer img {
  width: 58px;
}

.footer p {
  font-size: 0.78rem;
}

.footer a {
  color: var(--gold);
}

.footer__social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
}

.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: #fff;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer__social svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.footer__social a[aria-label="Google"] svg {
  fill: currentColor;
  stroke: none;
}

.footer__social a:hover,
.footer__social a:focus-visible {
  color: var(--gold);
  transform: translateY(-2px);
}

.footer__credit {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
}

.footer__credit a {
  font-family: inherit;
  font-size: inherit;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.lightbox {
  position: fixed;
  z-index: 40;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(5, 8, 18, 0.88);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox__image {
  max-width: min(1120px, 92vw);
  max-height: 86vh;
  border-radius: 14px;
  object-fit: contain;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.42);
}

.lightbox__close {
  position: absolute;
  top: 22px;
  right: 24px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 920px) {
  .menu-toggle {
    display: block;
  }

  .menu {
    position: fixed;
    top: 80px;
    right: 20px;
    left: 20px;
    display: grid;
    gap: 0;
    padding: 16px;
    border-radius: 18px;
    background: rgba(16, 25, 51, 0.98);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .menu a {
    display: block;
    padding: 14px 10px;
  }

  .hero {
    min-height: 560px;
  }

  .hero__content {
    max-width: 500px;
    margin-left: 0;
    padding-top: 68px;
  }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about__grid {
    grid-template-columns: 1fr;
  }

  .about__content {
    max-width: 680px;
  }

  .gallery__grid {
    grid-auto-columns: clamp(230px, 42vw, 340px);
    grid-template-rows: 210px;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100% - 28px, 1120px);
  }

  .navbar {
    min-height: 72px;
  }

  .brand img {
    width: 76px;
  }

  .menu {
    top: 72px;
    right: 14px;
    left: 14px;
  }

  .hero {
    min-height: 590px;
    border-bottom-right-radius: 22px;
    border-bottom-left-radius: 22px;
    background-position: 58% center;
  }

  .hero__overlay {
    background: linear-gradient(90deg, rgba(16, 25, 51, 0.92), rgba(16, 25, 51, 0.54));
  }

  .hero__content {
    width: calc(100% - 48px);
    margin-right: auto;
    margin-left: auto;
    padding-top: 34px;
  }

  h1 {
    max-width: 390px;
    font-size: clamp(2.25rem, 10vw, 3rem);
    line-height: 1.04;
  }

  .hero p {
    max-width: 350px;
    font-size: 0.86rem;
  }

  .hero .button {
    width: auto;
    min-height: 48px;
    padding: 0 28px;
  }

  .section,
  .about,
  .contact {
    padding: 72px 0;
  }

  .eyebrow {
    font-size: 0.65rem;
    letter-spacing: 0.32em;
  }

  .services__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-card {
    min-height: auto;
    padding: 30px 22px;
  }

  .about__image::before {
    inset: 18px -10px -10px 18px;
  }

  .gallery__grid {
    grid-auto-columns: 78vw;
    grid-template-rows: 230px;
  }

  .contact__actions,
  .button {
    width: 100%;
  }

  .button {
    padding: 0 20px;
  }

  .hero .button {
    width: auto;
    padding: 0 28px;
  }
}
