:root {
  --ink: #1a1612;
  --ink-soft: #2c261f;
  --paper: #f3eee6;
  --paper-dim: #e7e0d4;
  --gold: #b88a36;
  --gold-deep: #8b6321;
  --mute: #7a7166;
  --line: rgba(26, 22, 18, 0.12);
  --display: "Fraunces", Georgia, serif;
  --sans: "Outfit", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---- Header ---- */
.top {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1.25rem, 4vw, 3rem);
  background: linear-gradient(to bottom, rgba(26, 22, 18, 0.72), transparent);
  color: #f7f2ea;
  mix-blend-mode: normal;
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.4rem;
  background: var(--gold);
  color: #1a1612;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

.brand-mark.sm {
  width: 1.75rem;
  height: 1.75rem;
  font-size: 0.8rem;
}

.brand-name {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand-name em {
  font-style: italic;
  font-weight: 400;
  color: #e8c57a;
}

.nav {
  display: none;
  gap: 1.5rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav a {
  opacity: 0.82;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.nav a:hover {
  opacity: 1;
  color: #e8c57a;
}

@media (min-width: 880px) {
  .nav {
    display: flex;
  }
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-gold {
  background: var(--gold);
  color: #1a1612;
}

.btn-gold:hover {
  background: #c99a45;
}

.btn-line {
  border-color: rgba(243, 238, 230, 0.45);
  color: #f3eee6;
}

.btn-line:hover {
  border-color: #e8c57a;
  color: #e8c57a;
}

.btn-ghost {
  padding: 0.55rem 0.95rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-color: rgba(243, 238, 230, 0.28);
  color: #f3eee6;
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: #e8c57a;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: #f7f2ea;
  overflow: hidden;
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: hero-drift 18s ease-in-out infinite alternate;
}

@keyframes hero-drift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.5%, -1%, 0);
  }
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(26, 22, 18, 0.78) 0%, rgba(26, 22, 18, 0.35) 48%, rgba(26, 22, 18, 0.55) 100%),
    linear-gradient(to top, rgba(26, 22, 18, 0.88) 0%, transparent 42%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: clamp(5.5rem, 14vh, 8rem) clamp(1.25rem, 4vw, 3rem) clamp(2.5rem, 6vh, 4rem);
  max-width: 42rem;
}

.eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #e8c57a;
}

.hero-brand {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(3rem, 9vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.hero-brand em {
  display: block;
  font-style: italic;
  font-weight: 400;
  color: #e8c57a;
}

.hero-lead {
  margin: 1.25rem 0 0;
  max-width: 34rem;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  font-weight: 300;
  color: rgba(247, 242, 234, 0.86);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.hero-copy,
.strip,
.block,
.processo,
.contato {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.9s ease forwards;
}

.hero-copy {
  animation-delay: 0.15s;
}
.strip {
  animation-delay: 0.35s;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---- Strip ---- */
.strip {
  display: grid;
  gap: 0.75rem;
  padding: 1.35rem clamp(1.25rem, 4vw, 3rem);
  background: var(--ink);
  color: rgba(247, 242, 234, 0.78);
  font-size: 0.92rem;
  border-bottom: 1px solid rgba(184, 138, 54, 0.35);
}

.strip strong {
  color: #e8c57a;
  font-weight: 500;
}

@media (min-width: 760px) {
  .strip {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

/* ---- Blocks ---- */
.block {
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1.25rem, 4vw, 3rem);
}

.block-alt {
  background: linear-gradient(180deg, #ebe4d8 0%, var(--paper) 100%);
}

.block-head {
  max-width: 36rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.block-head h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2rem, 4.5vw, 3rem);
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.block-head p {
  margin: 0.85rem 0 0;
  color: var(--mute);
  font-size: 1.05rem;
  font-weight: 300;
}

/* ---- Materiais ---- */
.materiais {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 860px) {
  .materiais {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.mat h3 {
  margin: 1rem 0 0.35rem;
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 500;
}

.mat p {
  margin: 0;
  color: var(--mute);
  font-size: 0.98rem;
}

.mat-visual {
  height: clamp(14rem, 28vw, 18rem);
  border-radius: 0.35rem;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(26, 22, 18, 0.08);
}

.mat-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 22, 18, 0.18), transparent 45%);
}

.mat-marble {
  background:
    radial-gradient(ellipse at 20% 30%, rgba(255, 255, 255, 0.55), transparent 45%),
    linear-gradient(125deg, #d8d2c8 0%, #f4f0ea 35%, #c9c0b4 55%, #ece7df 100%);
}

.mat-granite {
  background:
    radial-gradient(circle at 70% 40%, rgba(255, 255, 255, 0.12) 0 1px, transparent 2px),
    radial-gradient(circle at 30% 70%, rgba(0, 0, 0, 0.18) 0 1px, transparent 2px),
    linear-gradient(160deg, #3a3632, #6a625a 40%, #2a2622 70%, #524c46);
  background-size: 18px 18px, 22px 22px, auto;
}

.mat-quartz {
  background:
    linear-gradient(135deg, #eceff3 0%, #d5dae2 40%, #f7f8fa 70%, #cfd5de 100%);
}

/* ---- Serviços ---- */
.servicos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.servicos li {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.servicos .num {
  font-family: var(--display);
  font-size: 1.35rem;
  color: var(--gold-deep);
  font-weight: 500;
}

.servicos h3 {
  margin: 0 0 0.3rem;
  font-size: 1.15rem;
  font-weight: 500;
}

.servicos p {
  margin: 0;
  color: var(--mute);
}

@media (min-width: 800px) {
  .servicos {
    grid-template-columns: 1fr 1fr;
    gap: 0 2.5rem;
    border-top: none;
  }

  .servicos li {
    border-top: 1px solid var(--line);
  }
}

/* ---- Processo ---- */
.processo {
  display: grid;
  gap: 2rem;
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1.25rem, 4vw, 3rem);
  background:
    linear-gradient(135deg, rgba(26, 22, 18, 0.92), rgba(44, 38, 31, 0.88)),
    radial-gradient(ellipse at 80% 20%, rgba(184, 138, 54, 0.25), transparent 50%);
  color: #f3eee6;
}

@media (min-width: 900px) {
  .processo {
    grid-template-columns: 1.35fr 0.85fr;
    align-items: center;
    gap: 3rem;
  }
}

.processo h2 {
  margin: 0 0 1.5rem;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.processo ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1rem;
}

.processo li {
  padding-left: 0;
  color: rgba(243, 238, 230, 0.8);
  font-weight: 300;
}

.processo strong {
  display: block;
  color: #e8c57a;
  font-weight: 500;
  margin-bottom: 0.15rem;
}

.processo-card {
  padding: 1.75rem;
  border: 1px solid rgba(232, 197, 122, 0.35);
  background: rgba(26, 22, 18, 0.35);
  backdrop-filter: blur(6px);
}

.processo-card .big {
  margin: 0.5rem 0 1.35rem;
  font-family: var(--display);
  font-size: 1.55rem;
  line-height: 1.25;
  font-weight: 400;
}

/* ---- Contato ---- */
.contato {
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1.25rem, 4vw, 3rem) 2rem;
}

.contato-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 760px) {
  .contato-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contato-item {
  display: block;
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.35);
  transition: border-color 0.2s ease, background 0.2s ease;
}

a.contato-item:hover {
  border-color: var(--gold);
  background: rgba(184, 138, 54, 0.08);
}

.contato-item span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 0.4rem;
}

.contato-item strong {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.3;
}

/* ---- Footer ---- */
.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 2rem clamp(1.25rem, 4vw, 3rem) 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--mute);
  font-size: 0.88rem;
}

.foot > div {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.foot p {
  margin: 0;
}

.muted {
  color: var(--mute);
}

/* ---- Reveal on scroll ---- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero-media img,
  .hero-copy,
  .strip,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
