/* Casa Moderna Marcenaria — estático, convertido do Claude Design */

:root {
  --bg: #FAF8F5;
  --sand: #F1ECE4;
  --sand-deep: #E5DCCF;
  --ink: #1F1A17;
  --ink-soft: #3A312B;
  --muted: #5C5149;
  --muted-2: #6D625A;
  --muted-3: #7A6E64;
  --muted-4: #8A7F76;
  --line: #EAE3D9;
  --line-input: #E1D9CE;
  --gold: #C8894B;
  --gold-dark: #B57A3F;
  --gold-light: #F2B96B;
  --star: #E9A83B;
  --olive: #6B7A5E;
  --whatsapp: #25D366;
  --whatsapp-dark: #1EBE5A;

  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;

  --shadow-card: 0 8px 30px rgba(31, 26, 23, .06);
  --shadow-photo: 0 20px 60px rgba(31, 26, 23, .14);
  --radius-card: 22px;
  --radius-photo: 26px;
  --container: 1200px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--gold); }
img { max-width: 100%; }
input, select, button { font-family: var(--font-body); }
input::placeholder { color: var(--muted-4); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.page { min-height: 100vh; overflow-x: clip; }
.container { max-width: var(--container); margin: 0 auto; }
.accent { color: var(--gold); }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.plain-list { list-style: none; margin: 0; padding: 0; }

/* ---------- Tipografia ---------- */
.h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 4.2vw, 50px);
  line-height: 1.02;
  letter-spacing: -.03em;
  text-wrap: pretty;
}
.h2--lg { font-size: clamp(32px, 4.4vw, 52px); }
.h2--xl { font-size: clamp(34px, 4.6vw, 56px); }
.h2--sm { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.05; }
.lead { margin: 0; font-size: 18px; line-height: 1.55; color: var(--muted); }
.section-intro { max-width: 680px; display: flex; flex-direction: column; gap: 14px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  padding: 16px 26px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.btn svg { flex-shrink: 0; }
.btn--sm { font-size: 15px; padding: 12px 20px; gap: 8px; }
.btn--md { font-size: 15px; padding: 13px 22px; }

.btn--gold, .btn--gold:hover { color: #fff; }
.btn--gold { background: var(--gold); }
.btn--gold:hover { background: var(--gold-dark); }
.btn--glow { box-shadow: 0 10px 30px rgba(200, 137, 75, .35); }
.btn--glow:hover { transform: translateY(-1px); }

.btn--dark, .btn--dark:hover { color: #fff; }
.btn--dark { background: var(--ink); }
.btn--dark:hover { background: var(--gold); }

.btn--ghost, .btn--ghost:hover { color: #fff; }
.btn--ghost {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .35);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .22); }

.btn--gold-invert { background: var(--gold); color: #fff; }
.btn--gold-invert:hover { background: #fff; color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(250, 248, 245, .86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: box-shadow .3s ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(31, 26, 23, .08); }
.header-bar {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 40px; width: auto; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: -.3px; }
.brand-sub { font-size: 11px; font-weight: 600; color: var(--muted-3); margin-top: 3px; }

.nav-desktop { display: flex; gap: 28px; font-size: 15px; font-weight: 600; white-space: nowrap; }
.menu-btn {
  background: var(--ink);
  color: #fff;
  border: 0;
  width: 44px; height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.mobile-menu {
  padding: 8px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid var(--line);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu > a:not(.btn) { font-weight: 700; font-size: 20px; padding: 12px 0; }
.mobile-menu .btn { margin-top: 10px; justify-content: center; padding: 16px 22px; gap: 8px; }

@media (max-width: 1039.98px) {
  .nav-desktop, .header-cta { display: none; }
}
@media (min-width: 1040px) {
  .menu-btn, .mobile-menu { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
}
.cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-shade-x {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20, 15, 12, .78) 0%, rgba(20, 15, 12, .55) 45%, rgba(20, 15, 12, .12) 100%);
}
.hero-shade-y {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20, 15, 12, .35) 0%, rgba(20, 15, 12, 0) 30%, rgba(20, 15, 12, 0) 70%, rgba(20, 15, 12, .45) 100%);
}
.hero-inner { position: relative; max-width: var(--container); margin: 0 auto; padding: 140px 24px; width: 100%; }
.hero-content { max-width: 760px; display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .28);
  color: #fff;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background-color .2s ease;
}
.rating-pill:hover { background: rgba(255, 255, 255, .22); color: #fff; }
.rating-pill .stars { color: var(--gold-light); letter-spacing: 1px; }
.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(42px, 7.2vw, 92px);
  line-height: 1;
  letter-spacing: -.035em;
  color: #fff;
  text-wrap: pretty;
}
.hero-sub {
  margin: 0;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.5;
  color: rgba(255, 255, 255, .88);
  max-width: 560px;
  font-weight: 500;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero-curve {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  width: 100%;
  height: clamp(40px, 7vw, 90px);
  display: block;
}

/* ---------- Diferenciais ---------- */
.diffs { background: var(--bg); padding: 20px 24px 40px; }
.diffs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 16px;
}
.diff-card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: var(--shadow-card);
}
.diff-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--sand);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--gold);
}
.diff-text { display: flex; flex-direction: column; gap: 4px; }
.diff-text strong { font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: -.2px; }
.diff-text span { font-size: 14.5px; color: var(--muted-2); line-height: 1.5; }

/* ---------- Ambientes ---------- */
.ambientes { background: var(--bg); padding: 60px 24px 90px; }
.ambientes .section-intro { margin-bottom: 40px; }
.amb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 20px;
}
.amb-card, .amb-card:hover { color: #fff; }
.amb-card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  overflow: hidden;
  background: var(--sand-deep);
  box-shadow: 0 12px 40px rgba(31, 26, 23, .10);
}
.amb-card .cover-img { transition: transform .7s ease; }
.amb-card:hover .cover-img, .amb-card:focus-visible .cover-img { transform: scale(1.06); }
.amb-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 15, 12, 0) 40%, rgba(20, 15, 12, .82) 100%); }
.amb-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px; display: flex; flex-direction: column; gap: 8px; }
.amb-body strong { font-family: var(--font-display); font-weight: 700; font-size: 26px; letter-spacing: -.02em; line-height: 1.05; }
.amb-body > span { font-size: 15px; line-height: 1.45; color: rgba(255, 255, 255, .86); }
.amb-body .amb-cta {
  font-size: 15px;
  font-weight: 700;
  color: var(--gold-light);
  margin-top: 4px;
  transition: opacity .35s ease, transform .35s ease;
}
@media (min-width: 1040px) {
  .amb-body .amb-cta { opacity: 0; transform: translateY(6px); }
  .amb-card:hover .amb-cta, .amb-card:focus-visible .amb-cta { opacity: 1; transform: none; }
}

/* ---------- Blocos foto + texto ---------- */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 48px;
  align-items: center;
}
.split-text { display: flex; flex-direction: column; gap: 22px; }
.split-photo {
  border-radius: var(--radius-photo);
  overflow: hidden;
  aspect-ratio: 4 / 3.4;
  box-shadow: var(--shadow-photo);
  background: var(--sand-deep);
}
.split-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.chaves { background: var(--sand); padding: 90px 24px; }
.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.checklist li { display: flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 600; }
.check {
  width: 28px; height: 28px;
  border-radius: 999px;
  background: var(--olive);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.arquitetos { background: var(--ink); color: #fff; padding: 100px 24px; }
.arquitetos .lead { color: rgba(255, 255, 255, .78); }
.arquitetos .split-photo { box-shadow: 0 20px 60px rgba(0, 0, 0, .4); background: #2C2521; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

/* ---------- Acabamentos ---------- */
.acabamentos { background: var(--bg); padding: 90px 24px; }
.stack { display: flex; flex-direction: column; gap: 36px; }
.swatches {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 120px), 1fr));
  gap: 18px;
}
.swatch { display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 15px; font-weight: 700; }
.swatch-chip {
  width: 96px; height: 96px;
  border-radius: 999px;
  display: block;
  box-shadow: 0 8px 24px rgba(31, 26, 23, .14), inset 0 0 0 4px #fff;
}
.sw-freijo   { background: repeating-linear-gradient(100deg, #C79A67 0 3px, #B98652 3px 7px, #C79A67 7px 9px, #D3A874 9px 14px); }
.sw-carvalho { background: repeating-linear-gradient(100deg, #D9BC93 0 3px, #CBAA7D 3px 7px, #D9BC93 7px 9px, #E3C9A4 9px 14px); }
.sw-nogueira { background: repeating-linear-gradient(100deg, #6E4A33 0 3px, #5B3A27 3px 7px, #6E4A33 7px 9px, #7C563D 9px 14px); }
.sw-branco   { background: repeating-linear-gradient(45deg, #F4F1EC 0 2px, #EDE9E2 2px 4px); }
.sw-cinza    { background: repeating-linear-gradient(45deg, #9A9793 0 2px, #8F8C88 2px 4px); }
.sw-fendi    { background: repeating-linear-gradient(45deg, #B9AE9E 0 2px, #B0A594 2px 4px); }
.sw-preto    { background: #24211F; }

/* ---------- Como funciona ---------- */
.como-funciona { background: var(--sand); padding: 90px 24px; }
.stack--40 { gap: 40px; }
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 16px;
}
.step {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-card);
}
.step-n { font-family: var(--font-display); font-weight: 800; font-size: 52px; line-height: 1; color: var(--gold); letter-spacing: -.04em; }
.step strong { font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -.2px; line-height: 1.2; }
.step > span:last-child { font-size: 15.5px; line-height: 1.5; color: var(--muted-2); }

/* ---------- Avaliações ---------- */
.avaliacoes { background: var(--bg); padding: 90px 24px; }
.reviews-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.reviews-head .h2 { max-width: 620px; }
.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border-radius: 999px;
  padding: 12px 22px 12px 14px;
  box-shadow: var(--shadow-card);
}
.google-score { font-family: var(--font-display); font-weight: 800; font-size: 34px; letter-spacing: -.03em; }
.google-meta { display: flex; flex-direction: column; line-height: 1.2; }
.google-meta .stars { color: var(--star); letter-spacing: 1px; font-size: 15px; }
.google-meta .count { font-size: 13px; color: var(--muted-2); font-weight: 600; }
.reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
  gap: 16px;
}
.review {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-card);
  margin: 0;
}
.review .stars { color: var(--star); letter-spacing: 2px; font-size: 16px; }
.review blockquote { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--ink-soft); flex: 1; }
.review figcaption { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 42px; height: 42px;
  border-radius: 999px;
  background: var(--sand);
  color: #8B5E2E;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}
.review-author { display: flex; flex-direction: column; line-height: 1.25; }
.review-author strong { font-size: 15px; }
.review-author span { font-size: 13px; color: var(--muted-4); }

/* ---------- Instagram ---------- */
.instagram { background: var(--bg); padding: 20px 24px 90px; }
.stack--28 { gap: 28px; }
.insta-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.insta-head .h2 a { color: var(--gold); }
.insta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
  gap: 14px;
}
.insta-tile { display: block; aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: var(--sand-deep); }
.insta-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.insta-tile:hover img { transform: scale(1.04); }

/* ---------- CTA final ---------- */
.contato { position: relative; background: var(--ink); color: #fff; padding: 100px 24px; overflow: hidden; }
.contato .cover-img { opacity: .35; }
.contato-shade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(31, 26, 23, .92) 0%, rgba(31, 26, 23, .75) 55%, rgba(31, 26, 23, .6) 100%);
}
.contato-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: 48px;
  align-items: center;
}
.contato .lead { color: rgba(255, 255, 255, .8); }
.contato-links { display: flex; flex-direction: column; gap: 10px; font-size: 17px; font-weight: 600; overflow-wrap: anywhere; }
.contato-links a { color: rgba(255, 255, 255, .8); }
.contato-links a:first-child { color: #fff; }
.contato-links a:hover { color: var(--gold); }

.quote-form {
  background: var(--bg);
  color: var(--ink);
  border-radius: var(--radius-photo);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}
.quote-form-title { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -.02em; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--muted); }
.field input, .field select {
  border: 1px solid var(--line-input);
  background: #fff;
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 16px;
  color: var(--ink);
  outline: none;
  width: 100%;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200, 137, 75, .18); }
.field-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 14px;
}
.quote-submit {
  margin-top: 6px;
  border: 0;
  cursor: pointer;
  justify-content: center;
  padding: 17px 26px;
}
.form-note { font-size: 13px; color: var(--muted-4); text-align: center; }

/* ---------- Mapa / contato ---------- */
.local { background: var(--bg); padding: 90px 24px; }
.local-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 32px;
  align-items: stretch;
}
.map {
  border-radius: var(--radius-photo);
  overflow: hidden;
  min-height: 380px;
  background: var(--sand-deep);
  box-shadow: 0 12px 40px rgba(31, 26, 23, .08);
}
.map iframe { border: 0; width: 100%; height: 100%; min-height: 380px; display: block; }
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 16px;
  align-content: start;
}
.info-card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow-card);
  font-style: normal;
}
.info-card > strong { font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.info-card > span { font-size: 15.5px; line-height: 1.55; color: var(--muted); }
.info-card > span strong { color: var(--ink); }
.info-link { font-weight: 700; color: var(--gold); font-size: 15px; }
.info-phone { font-size: 15.5px; font-weight: 700; }
.info-secondary { font-size: 15px; color: var(--muted); word-break: break-all; }
.info-cta, .info-cta:hover { color: #fff; }
.info-cta {
  background: var(--ink);
  border-radius: var(--radius-card);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  transition: background-color .2s ease;
}
.info-cta:hover { background: var(--gold); }
.info-cta span { font-size: 14px; color: rgba(255, 255, 255, .7); font-weight: 600; }
.info-cta strong { font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -.2px; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .75); padding: 48px 24px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand img { height: 64px; width: auto; display: block; }
.footer-brand-text { display: flex; flex-direction: column; gap: 4px; font-size: 14px; line-height: 1.4; }
.footer-brand-text strong { color: #fff; font-family: var(--font-display); font-size: 16px; }
.footer-credit { font-size: 13.5px; }
.footer-credit a { color: var(--gold); font-weight: 700; }
.footer-credit a:hover { color: var(--gold-light); }

/* ---------- WhatsApp flutuante ---------- */
@keyframes wapulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .45); }
  100% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
}
.wa-float, .wa-float:hover { color: #fff; }
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  width: 60px; height: 60px;
  border-radius: 999px;
  background: var(--whatsapp);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
  animation: wapulse 2.4s ease-out infinite;
  transition: background-color .2s ease, transform .2s ease;
}
.wa-float:hover { background: var(--whatsapp-dark); transform: scale(1.05); }

/* ---------- Revelação ao rolar ---------- */
[data-reveal] { transition: opacity .7s ease, transform .7s ease; }
[data-reveal].is-hidden { opacity: 0; transform: translateY(18px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal].is-hidden { opacity: 1; transform: none; }
}
