:root {
  --yellow: #f2d500;
  --yellow-soft: #ffe96b;
  --blue: #064b90;
  --blue-deep: #082039;
  --ink: #11151c;
  --muted: #667083;
  --line: rgba(17, 21, 28, 0.12);
  --paper: #f6f7f9;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(6, 19, 37, 0.16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", Arial, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(6, 75, 144, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(6, 75, 144, 0.04) 1px, transparent 1px),
    var(--paper);
  background-size: 44px 44px;
  overflow-x: hidden;
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  inset: 14px clamp(14px, 3vw, 34px) auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(8, 32, 57, 0.84);
  color: var(--white);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-logo {
  width: 104px;
  height: 42px;
  border-radius: 6px;
  object-fit: contain;
  object-position: center;
  background: #000;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand strong {
  font-size: 0.98rem;
}

.brand small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
  font-size: 0.9rem;
  font-weight: 700;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--yellow);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
}

.intro-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 720px);
  align-items: center;
  min-height: min(760px, 100svh);
  padding: clamp(92px, 12vh, 132px) clamp(18px, 5vw, 76px) clamp(42px, 8vh, 78px);
  background:
    linear-gradient(90deg, rgba(5, 18, 34, 0.86) 0%, rgba(7, 28, 51, 0.72) 41%, rgba(7, 28, 51, 0.22) 66%, rgba(7, 28, 51, 0.02) 100%),
    url("Assets/img/HeroMartelinhoDeOuro.jpg") center right / cover no-repeat;
  overflow: hidden;
  isolation: isolate;
}

.intro-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.04), transparent 32%),
    repeating-linear-gradient(110deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 12px);
  pointer-events: none;
}

.intro-section::after {
  content: "";
  position: absolute;
  top: -12%;
  right: clamp(18px, 9vw, 150px);
  z-index: 0;
  width: clamp(82px, 10vw, 150px);
  height: 130%;
  background: linear-gradient(180deg, rgba(242, 213, 0, 0.82), rgba(255, 233, 107, 0.58));
  transform: skewX(-18deg);
  pointer-events: none;
}

.intro-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  max-width: 690px;
  color: var(--white);
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--yellow);
  font-weight: 800;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 99px;
  background: currentColor;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "Oswald", Arial, sans-serif;
  letter-spacing: 0;
}

h1 {
  max-width: 660px;
  margin-bottom: 18px;
  font-size: clamp(2.25rem, 4.9vw, 4.85rem);
  line-height: 0.98;
}

.intro-copy p {
  max-width: 590px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.55;
}

.address-pill {
  display: inline-flex;
  margin-top: 18px;
  padding: 10px 13px;
  border-left: 4px solid var(--yellow);
  border-radius: 0 6px 6px 0;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(8, 32, 57, 0.42);
  font-style: normal;
  font-weight: 800;
  line-height: 1.35;
}

.intro-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 22px;
  border-radius: 6px;
  font-weight: 900;
  letter-spacing: 0.01em;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button::after {
  content: "";
  position: absolute;
  inset: -60% auto -60% -38%;
  z-index: -1;
  width: 32%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.62), transparent);
  transform: skewX(-18deg);
  transition: left 0.42s ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button:hover::after {
  left: 112%;
}

.button.primary {
  color: var(--blue-deep);
  background: linear-gradient(135deg, var(--yellow) 0%, var(--yellow-soft) 52%, #ffc400 100%);
  box-shadow: 0 16px 34px rgba(242, 213, 0, 0.34), 0 0 0 1px rgba(255, 255, 255, 0.18) inset;
}

.button.primary:hover {
  box-shadow: 0 22px 46px rgba(242, 213, 0, 0.46), 0 0 0 1px rgba(8, 32, 57, 0.16) inset;
}

.button.ghost {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
}

.button.ghost:hover {
  border-color: rgba(242, 213, 0, 0.72);
  background: rgba(242, 213, 0, 0.1);
}

.button.ghost.light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
}

.intro-media {
  position: relative;
  z-index: 1;
  min-height: 520px;
}

.photo-card {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 5px solid var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--white);
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-photo {
  inset: 50px 0 28px 70px;
}

.floating-photo {
  width: min(44%, 270px);
  height: 168px;
}

.floating-photo.top {
  top: 0;
  left: 0;
}

.floating-photo.bottom {
  right: 24px;
  bottom: 0;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: min(1120px, calc(100% - 36px));
  margin: -26px auto 0;
  position: relative;
  z-index: 2;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--line);
}

.signal-strip div {
  padding: clamp(18px, 3vw, 26px);
  background: var(--white);
}

.signal-strip strong,
.signal-strip span {
  display: block;
}

.signal-strip strong {
  margin-bottom: 5px;
  font-family: "Oswald", Arial, sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  color: var(--blue-deep);
}

.signal-strip span {
  color: var(--muted);
  font-size: 0.92rem;
}

.brand-story,
.work-section,
.video-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding: clamp(58px, 8vw, 96px) clamp(18px, 5vw, 76px);
}

.story-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.story-image::after {
  content: "Rua Canal, 295";
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 9px 12px;
  border-radius: 5px;
  color: var(--blue-deep);
  background: var(--yellow);
  font-weight: 900;
}

.story-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.story-copy,
.work-copy,
.video-copy {
  max-width: 680px;
}

.story-copy .section-kicker,
.work-copy .section-kicker,
.video-copy .section-kicker,
.services-section .section-kicker,
.gallery-section .section-kicker,
.coverage-section .section-kicker,
.contact-section .section-kicker {
  color: var(--blue);
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.85rem, 3.2vw, 3.2rem);
  line-height: 1.03;
  color: var(--blue-deep);
}

p {
  color: var(--muted);
  line-height: 1.68;
}

.services-section,
.gallery-section,
.coverage-section {
  padding: clamp(58px, 8vw, 96px) clamp(18px, 5vw, 76px);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 28px;
}

.section-heading.compact {
  max-width: 760px;
}

.service-track {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, 1fr);
  gap: 12px;
}

.service-card {
  position: relative;
  min-height: 270px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.service-card span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--blue);
  font-family: "Oswald", Arial, sans-serif;
  font-size: 1.1rem;
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.06;
}

.service-card p {
  margin-bottom: 0;
  font-size: 0.94rem;
}

.service-card.featured {
  color: var(--white);
  background:
    linear-gradient(rgba(8, 32, 57, 0.78), rgba(8, 32, 57, 0.78)),
    url("Assets/img/WhatsApp Image 2026-06-17 at 15.43.21 (3).jpeg") center / cover;
}

.service-card.featured span,
.service-card.featured h3,
.service-card.featured p {
  color: var(--white);
}

.work-section {
  background: var(--white);
}

.work-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.work-points span,
.place-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(6, 75, 144, 0.09);
  color: var(--blue-deep);
  font-weight: 800;
  font-size: 0.9rem;
}

.inspection-grid {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  grid-template-rows: 185px 185px;
  gap: 12px;
}

.inspection-grid img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: 0 16px 42px rgba(8, 32, 57, 0.1);
}

.inspection-grid img:first-child {
  grid-row: span 2;
}

.video-section {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  background:
    linear-gradient(120deg, rgba(8, 32, 57, 0.94), rgba(8, 32, 57, 0.84)),
    url("Assets/img/IMG-20250530-WA0000.jpeg") center / cover;
}

.video-frame {
  border: 5px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.video-frame video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  object-fit: cover;
}

.video-copy h2,
.video-copy p {
  color: var(--white);
}

.video-copy p {
  color: rgba(255, 255, 255, 0.74);
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.filter {
  min-height: 40px;
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--blue-deep);
  background: var(--white);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.filter.active,
.filter:hover {
  border-color: var(--blue);
  color: var(--white);
  background: var(--blue);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.gallery-item {
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--blue-deep);
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.28s ease, opacity 0.2s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
  opacity: 0.88;
}

.gallery-item.is-hidden {
  display: none;
}

.coverage-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: start;
  background: var(--white);
}

.place-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 10px;
}

.contact-section {
  position: relative;
  align-items: stretch;
  background:
    linear-gradient(135deg, #071c33 0%, #082039 58%, #f2d500 58%, #f2d500 100%);
}

.contact-card {
  max-width: 650px;
  color: var(--white);
}

.contact-card h2,
.contact-card p {
  color: var(--white);
}

.contact-card p {
  color: rgba(255, 255, 255, 0.74);
}

.contact-card .section-kicker {
  color: var(--yellow);
}

.contact-details {
  display: grid;
  gap: 12px;
}

.contact-details article {
  padding: clamp(18px, 3vw, 24px);
  border: 1px solid rgba(8, 32, 57, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 40px rgba(8, 32, 57, 0.08);
}

.contact-details span,
.contact-details strong {
  display: block;
}

.contact-details span {
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-details strong {
  color: var(--blue-deep);
  line-height: 1.45;
}

.site-footer {
  position: relative;
  padding: clamp(34px, 5vw, 56px) clamp(18px, 5vw, 76px) 24px;
  color: rgba(255, 255, 255, 0.78);
  background:
    linear-gradient(135deg, rgba(7, 28, 51, 0.97), rgba(8, 32, 57, 0.94)),
    url("Assets/img/HeroMartelinhoDeOuro.jpg") center / cover;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(242, 213, 0, 0.18), transparent 24%),
    repeating-linear-gradient(110deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 12px);
  pointer-events: none;
}

.footer-main,
.footer-bottom {
  position: relative;
  z-index: 1;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(250px, 0.9fr) minmax(240px, 0.75fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: center;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.footer-brand img {
  width: 112px;
  height: 58px;
  border-radius: 6px;
  background: #000;
  object-fit: contain;
}

.footer-brand strong,
.footer-brand small,
.footer-info span {
  display: block;
}

.footer-brand strong {
  color: var(--white);
  font-family: "Oswald", Arial, sans-serif;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1;
}

.footer-brand small {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 700;
}

.footer-info {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
}

.footer-info span:first-child {
  color: var(--yellow);
  font-weight: 900;
}

.footer-actions {
  display: grid;
  justify-items: end;
  gap: 12px;
}

.footer-link {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
  word-break: break-word;
}

.footer-link:hover {
  color: var(--yellow);
}

.footer-button {
  width: min(100%, 260px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 18px;
}

.site-footer p {
  margin: 0;
  color: inherit;
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-bottom a {
  color: var(--yellow);
  font-weight: 800;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 18;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 20px;
  border-radius: 999px;
  color: var(--blue-deep);
  background: linear-gradient(135deg, var(--yellow), var(--yellow-soft));
  font-weight: 900;
  box-shadow: 0 18px 44px rgba(8, 32, 57, 0.28), 0 0 0 7px rgba(242, 213, 0, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-whatsapp:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 24px 54px rgba(8, 32, 57, 0.34), 0 0 0 9px rgba(242, 213, 0, 0.2);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 26px;
  background: rgba(3, 12, 23, 0.88);
}

.lightbox.is-open {
  display: grid;
}

.lightbox img {
  max-width: min(1100px, 94vw);
  max-height: 86vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 1180px) {
  .service-track {
    grid-template-columns: repeat(3, 1fr);
  }

  .service-card.featured {
    grid-column: span 2;
  }
}

@media (max-width: 920px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    display: none;
    width: min(260px, calc(100vw - 28px));
    padding: 12px;
    border-radius: var(--radius);
    background: rgba(8, 32, 57, 0.96);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: grid;
  }

  .nav-links a {
    padding: 10px;
  }

  .intro-section,
  .brand-story,
  .work-section,
  .video-section,
  .coverage-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .intro-section {
    min-height: auto;
    padding-top: 98px;
  }

  .signal-strip {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-section {
    background: var(--blue-deep);
  }

  .footer-main {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-actions {
    justify-items: start;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .site-header {
    inset: 10px 10px auto;
  }

  .brand small {
    display: none;
  }

  h1 {
    font-size: clamp(1.95rem, 9.4vw, 2.85rem);
  }

  .eyebrow {
    max-width: 100%;
    font-size: 0.68rem;
    line-height: 1.32;
  }

  .intro-section {
    padding-inline: 14px;
    background:
      linear-gradient(90deg, rgba(7, 28, 51, 0.84), rgba(7, 28, 51, 0.58)),
      url("Assets/img/HeroMartelinhoDeOuro.jpg") center / cover;
  }

  .intro-section::after {
    display: none;
  }

  .service-track,
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-card,
  .service-card.featured {
    grid-column: auto;
    min-height: 230px;
  }

  .inspection-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 190px);
  }

  .inspection-grid img:first-child {
    grid-row: auto;
  }

  .footer-brand {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-brand img {
    width: 138px;
    height: 66px;
  }

  .footer-button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: clamp(1.85rem, 8.8vw, 2.3rem);
  }

  .intro-actions,
  .contact-actions {
    display: grid;
  }

  .service-track,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .contact-details article {
    word-break: break-word;
  }

  .footer-actions,
  .footer-button {
    width: 100%;
  }

  .floating-whatsapp {
    right: 12px;
    bottom: 12px;
    min-height: 48px;
    padding: 12px 16px;
  }
}

@media (max-height: 780px) and (min-width: 921px) {
  .intro-section {
    min-height: 680px;
    padding-top: 86px;
    padding-bottom: 40px;
  }

  h1 {
    font-size: clamp(2.2rem, 4.35vw, 4.15rem);
  }

  .intro-media {
    min-height: 455px;
  }
}
