/* Versattos — Ambientes Planejados
   Tokens: preto #000000, branco #FFFFFF, dourado claro #E7DCB6, dourado escuro #A48A55
   Tipografia: Cinzel (display) + Jost (corpo) */

:root {
  --bg: #0a0a0a;
  --bg-2: #111111;
  --line: rgba(164, 138, 85, 0.35);
  --text: #f2ede3;
  --text-dim: #b7ae9c;
  --gold: #a48a55;
  --gold-l: #e7dcb6;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Jost', Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 4px;
  color: var(--gold);
  text-transform: uppercase;
}

h1, h2, h3 {
  font-family: 'Cinzel', serif;
  font-weight: 600;
  color: #fff;
  text-wrap: balance;
}

/* ---------- corner-cut frame (brand motif) ---------- */
.framed {
  position: relative;
}
.framed::before {
  content: '';
  position: absolute;
  inset: 22px;
  border: 1px solid var(--line);
  clip-path: polygon(
    28px 0, calc(100% - 28px) 0, 100% 28px,
    100% calc(100% - 28px), calc(100% - 28px) 100%,
    28px 100%, 0 calc(100% - 28px), 0 28px
  );
  pointer-events: none;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 140px 24px 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, #000 0%, rgba(0,0,0,0.55) 32%, rgba(0,0,0,0.45) 60%, rgba(0,0,0,0.7) 100%),
    linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.15) 30%);
}
.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 720px;
}
.hero-content img.icon { width: 84px; height: 84px; margin-bottom: 28px; }
.hero-content h1 {
  font-size: clamp(40px, 7vw, 68px);
  letter-spacing: 6px;
  line-height: 1.1;
}
.hero-content .sub {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 3px;
  color: var(--gold-l);
  margin-top: 10px;
}
.hero-content .divider {
  width: 56px;
  height: 1px;
  background: var(--gold);
  margin: 30px 0;
}
.hero-content p.tagline {
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 300;
  color: var(--gold-l);
  max-width: 520px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 34px;
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 1.5px;
  border-radius: 2px;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.btn-primary {
  background: var(--gold);
  color: #0a0a0a;
  margin-top: 40px;
}
.btn-primary:hover { background: var(--gold-l); transform: translateY(-1px); }
.btn-ghost {
  border: 1px solid var(--line);
  color: var(--gold-l);
}
.btn-ghost:hover { border-color: var(--gold); }

/* ---------- section shell ---------- */
section { padding: 110px 0; }
.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.section-head h2 { font-size: clamp(28px, 4vw, 40px); margin-top: 14px; }
.section-head .divider {
  width: 56px; height: 1px; background: var(--gold); margin-top: 24px;
}

/* ---------- benefits ---------- */
.benefits {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.benefit {
  background: var(--bg-2);
  padding: 36px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}
.benefit svg { width: 32px; height: 32px; stroke: var(--gold-l); flex-shrink: 0; }
.benefit span {
  font-size: 15px;
  letter-spacing: 0.4px;
  color: #fff;
}
@media (max-width: 560px) {
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- sobre ---------- */
.sobre {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
.sobre p { color: var(--text-dim); font-size: 17px; font-weight: 300; max-width: 46ch; }
.sobre p + p { margin-top: 18px; }
.sobre .financing {
  margin-top: 32px;
  padding: 22px 26px;
  border: 1px solid var(--line);
  font-size: 15px;
  color: var(--gold-l);
  font-weight: 300;
  position: relative;
}
.sobre-figure {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #000;
}
.sobre-figure img { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
@media (max-width: 900px) {
  .sobre { grid-template-columns: 1fr; }
  .sobre-figure { order: -1; max-width: 420px; margin: 0 auto; }
}

/* ---------- portfolio ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.gallery button {
  all: unset;
  cursor: pointer;
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  display: block;
  background: #000;
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform .5s ease, filter .5s ease;
}
.gallery button:hover img { transform: scale(1.06); }
.gallery button::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.45), rgba(0,0,0,0) 40%);
}
@media (max-width: 1000px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 620px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

.gallery-note {
  text-align: center;
  margin-top: 32px;
  font-size: 14px;
  color: var(--text-dim);
}
.gallery-note a {
  color: var(--gold-l);
  border-bottom: 1px solid var(--line);
  transition: color .2s ease, border-color .2s ease;
}
.gallery-note a:hover { color: var(--gold); border-color: var(--gold); }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(6, 5, 4, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
  padding: 40px 20px;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: min(920px, 92vw);
  max-height: 86vh;
  object-fit: contain;
  border: 1px solid var(--line);
}
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  color: var(--gold-l);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  cursor: pointer;
  background: transparent;
}
.lightbox-close:hover { border-color: var(--gold); }

/* ---------- contato ---------- */
.contato {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  text-align: center;
  padding: 130px 24px;
}
.contato .container { display: flex; flex-direction: column; align-items: center; }
.contato-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 40px;
}
.contato-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border: 1px solid var(--line);
  font-size: 15px;
  letter-spacing: 0.6px;
  color: var(--gold-l);
  transition: border-color .2s ease, color .2s ease;
}
.contato-links a:hover { border-color: var(--gold); color: #fff; }
.contato-links svg { width: 17px; height: 17px; stroke: currentColor; flex-shrink: 0; }
.contato .region { margin-top: 28px; font-size: 13px; letter-spacing: 1.5px; color: var(--text-dim); }

/* ---------- whatsapp float ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 40;
  box-shadow: 0 8px 24px rgba(0,0,0,0.45);
  transition: transform .2s ease, background .2s ease;
}
.wa-float:hover { transform: scale(1.06); background: var(--gold-l); }
.wa-float svg { width: 28px; height: 28px; fill: #0a0a0a; }

/* ---------- footer ---------- */
footer {
  padding: 36px 24px;
  text-align: center;
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--text-dim);
  border-top: 1px solid var(--line);
}

/* ---------- reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
