:root {
  --graphite: #15171b;
  --ink: #24262c;
  --muted: #676b73;
  --line: #e6e0d4;
  --paper: #f7f5ef;
  --white: #ffffff;
  --gold: #c4932e;
  --gold-light: #f0d36b;
  --shadow: 0 22px 60px rgba(21, 23, 27, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

.container {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(18px, 4vw, 54px);
  color: var(--white);
  transition: background 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(21, 23, 27, 0.94);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(12px);
}

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

.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.brand strong {
  display: block;
  font-size: 1.02rem;
  letter-spacing: 0.08em;
}

.brand small {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
}

.nav a {
  position: relative;
}

.nav a::after {
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 2px;
  background: var(--gold-light);
  content: "";
  transition: right 0.2s ease;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  right: 0;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  padding: 10px;
}

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

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: imagePulse 12s ease-in-out infinite alternate;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(9, 10, 12, 0.88) 0%, rgba(9, 10, 12, 0.62) 42%, rgba(9, 10, 12, 0.16) 100%),
    radial-gradient(circle at 18% 54%, rgba(196, 147, 46, 0.2), transparent 34%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 140px 0 86px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.2rem, 6.3vw, 5.22rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4.2vw, 3.8rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 12px;
  font-size: 1.15rem;
  line-height: 1.18;
}

.hero-text {
  max-width: 620px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  padding: 13px 22px;
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn.primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #1b1405;
  box-shadow: 0 12px 32px rgba(196, 147, 46, 0.32);
}

.btn.ghost {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.btn.large {
  min-width: 240px;
}

.section {
  padding: clamp(72px, 9vw, 128px) 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(34px, 7vw, 86px);
  align-items: center;
}

.about p,
.contact-copy p {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.05rem;
}

.signature-panel {
  position: relative;
  display: grid;
  place-items: center;
  gap: 20px;
  min-height: 420px;
  padding: 32px;
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.signature-panel::before {
  position: absolute;
  inset: 18px;
  border: 1px solid var(--line);
  content: "";
}

.signature-panel::after {
  position: absolute;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(196, 147, 46, 0.35);
  border-radius: 50%;
  content: "";
  animation: ringPulse 3s ease-in-out infinite;
}

.signature-panel img,
.signature-panel div {
  position: relative;
  z-index: 1;
}

.signature-panel img {
  width: min(260px, 70vw);
}

.signature-panel div {
  text-align: center;
}

.signature-panel strong,
.signature-panel span {
  display: block;
}

.signature-panel span {
  color: var(--muted);
}

.services {
  background: var(--graphite);
  color: var(--white);
}

.section-head {
  max-width: 820px;
  margin-bottom: 42px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.service-card {
  min-height: 260px;
  padding: clamp(22px, 3vw, 34px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    var(--graphite);
  transition: transform 0.2s ease, background 0.2s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  background:
    linear-gradient(180deg, rgba(196, 147, 46, 0.22), rgba(255, 255, 255, 0.03)),
    var(--graphite);
}

.service-icon {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.service-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.visual-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
  background: #101114;
}

.image-tile {
  position: relative;
  overflow: hidden;
}

.image-tile img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.02);
  transition: transform 1.2s ease;
}

.image-tile::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.34));
  content: "";
}

.image-tile:hover img {
  transform: scale(1.045);
}

.image-tile.emphasis img {
  animation: imagePulse 10s ease-in-out infinite alternate;
}

.method {
  background:
    linear-gradient(135deg, rgba(196, 147, 46, 0.12), transparent 34%),
    var(--paper);
}

.steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.steps li {
  position: relative;
  padding: 24px 24px 24px 72px;
  background: var(--white);
  box-shadow: 0 14px 38px rgba(21, 23, 27, 0.08);
}

.steps li::before {
  position: absolute;
  left: 24px;
  top: 24px;
  color: var(--gold);
  font-weight: 900;
  content: counter(steps, decimal-leading-zero);
  counter-increment: steps;
}

.steps strong,
.steps span {
  display: block;
}

.steps span {
  color: var(--muted);
}

.contact-section {
  padding: clamp(70px, 9vw, 110px) 0;
  background:
    linear-gradient(90deg, rgba(21, 23, 27, 0.96), rgba(21, 23, 27, 0.84)),
    url("../img/hero-construcao.jpg") center/cover;
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.72fr);
  gap: clamp(30px, 6vw, 76px);
  align-items: start;
}

.contact-copy h2 {
  max-width: 760px;
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-mail {
  display: inline-flex;
  margin-top: 8px;
  color: var(--gold-light);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--graphite);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #d7d0c2;
  background: #fffdf8;
  color: var(--ink);
  font: inherit;
  padding: 13px 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(196, 147, 46, 0.16);
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 78px;
  height: 78px;
  border-radius: 999px;
  border: 3px solid var(--white);
  padding: 0;
  background: #25d366;
  color: var(--white);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.26);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float::before {
  width: 38px;
  height: 38px;
  background: currentColor;
  content: "";
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16.02 3.2A12.75 12.75 0 0 0 5.1 22.52L3.2 29l6.64-1.76A12.72 12.72 0 0 0 16.02 28.8a12.8 12.8 0 0 0 0-25.6Zm0 23.45a10.6 10.6 0 0 1-5.4-1.48l-.39-.23-3.94 1.04 1.06-3.83-.25-.4a10.58 10.58 0 1 1 8.92 4.9Zm5.82-7.93c-.32-.16-1.88-.93-2.17-1.03-.29-.11-.5-.16-.72.16-.21.32-.82 1.03-1.01 1.24-.19.21-.37.24-.69.08-.32-.16-1.35-.5-2.57-1.59-.95-.85-1.59-1.9-1.78-2.22-.19-.32-.02-.49.14-.65.15-.14.32-.37.48-.56.16-.19.21-.32.32-.53.11-.21.05-.4-.03-.56-.08-.16-.72-1.74-.98-2.38-.26-.62-.52-.54-.72-.55h-.61c-.21 0-.56.08-.85.4-.29.32-1.12 1.09-1.12 2.67 0 1.57 1.15 3.09 1.31 3.3.16.21 2.26 3.45 5.48 4.84.77.33 1.36.53 1.83.68.77.24 1.47.21 2.02.13.62-.09 1.88-.77 2.15-1.51.27-.74.27-1.38.19-1.51-.08-.13-.29-.21-.61-.37Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16.02 3.2A12.75 12.75 0 0 0 5.1 22.52L3.2 29l6.64-1.76A12.72 12.72 0 0 0 16.02 28.8a12.8 12.8 0 0 0 0-25.6Zm0 23.45a10.6 10.6 0 0 1-5.4-1.48l-.39-.23-3.94 1.04 1.06-3.83-.25-.4a10.58 10.58 0 1 1 8.92 4.9Zm5.82-7.93c-.32-.16-1.88-.93-2.17-1.03-.29-.11-.5-.16-.72.16-.21.32-.82 1.03-1.01 1.24-.19.21-.37.24-.69.08-.32-.16-1.35-.5-2.57-1.59-.95-.85-1.59-1.9-1.78-2.22-.19-.32-.02-.49.14-.65.15-.14.32-.37.48-.56.16-.19.21-.32.32-.53.11-.21.05-.4-.03-.56-.08-.16-.72-1.74-.98-2.38-.26-.62-.52-.54-.72-.55h-.61c-.21 0-.56.08-.85.4-.29.32-1.12 1.09-1.12 2.67 0 1.57 1.15 3.09 1.31 3.3.16.21 2.26 3.45 5.48 4.84.77.33 1.36.53 1.83.68.77.24 1.47.21 2.02.13.62-.09 1.88-.77 2.15-1.51.27-.74.27-1.38.19-1.51-.08-.13-.29-.21-.61-.37Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.whatsapp-float span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.34);
}

.cookie-consent {
  position: fixed;
  left: 22px;
  right: 180px;
  bottom: 22px;
  z-index: 29;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 760px;
  padding: 16px 18px;
  background: rgba(21, 23, 27, 0.96);
  color: var(--white);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
}

.cookie-consent[hidden] {
  display: none;
}

.cookie-consent p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  line-height: 1.45;
}

.cookie-accept {
  min-height: 42px;
  border: 0;
  padding: 10px 18px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #1b1405;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  text-transform: uppercase;
}

.footer {
  padding: 34px 24px 38px;
  background: var(--gold);
  color: #1b1405;
  font-size: 1.1rem;
}

.footer-inner {
  width: min(1400px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-copy {
  display: grid;
  gap: 10px;
}

.footer a {
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.back-to-top {
  white-space: nowrap;
}

.message-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(90deg, rgba(21, 23, 27, 0.94), rgba(21, 23, 27, 0.82)),
    url("../img/hero-construcao.jpg") center/cover;
}

.message-card {
  width: min(680px, 100%);
  padding: clamp(28px, 6vw, 52px);
  background: var(--white);
  box-shadow: var(--shadow);
}

.message-card h1 {
  color: var(--ink);
  font-size: clamp(2rem, 6vw, 4rem);
}

.message-card p {
  color: var(--muted);
}

@keyframes imagePulse {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.055);
  }
}

@keyframes ringPulse {
  0%,
  100% {
    transform: scale(0.92);
    opacity: 0.55;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.9;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

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

  .nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: 86px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: rgba(21, 23, 27, 0.98);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 14px;
  }

  .split,
  .visual-band,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 760px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(9, 10, 12, 0.78) 0%, rgba(9, 10, 12, 0.72) 54%, rgba(9, 10, 12, 0.48) 100%),
      radial-gradient(circle at 22% 44%, rgba(196, 147, 46, 0.22), transparent 42%);
  }

  .hero-media img {
    object-position: 58% center;
  }

  .hero-actions,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn {
    width: 100%;
  }

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

  .service-card {
    min-height: auto;
  }

  .signature-panel {
    min-height: 340px;
    padding: 24px;
  }

  .image-tile img {
    min-height: 360px;
  }

  .steps li {
    padding: 22px 18px 22px 58px;
  }

  .steps li::before {
    left: 18px;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    width: 64px;
    height: 64px;
    border-width: 3px;
  }

  .whatsapp-float::before {
    width: 31px;
    height: 31px;
  }

  .footer {
    padding-bottom: 88px;
    font-size: 1rem;
  }

  .cookie-consent {
    left: 14px;
    right: 14px;
    bottom: 84px;
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-accept {
    width: 100%;
  }
}
