:root {
  --bg: #e5e4e0;
  --panel: #f2efec;
  --ink: #111;
  --accent: #7a2512;
  --accent-dark: #5e1b0c;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
}
img { max-width: 100%; display: block; }

/* Cabeçalho: só o logotipo */
header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 10;
  padding: 20px 5vw;
  display: flex; justify-content: center;
}
header img { height: 48px; width: auto; }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: #fff;
  padding: 120px 6vw 80px;
  background: #111 url('https://lemeimoveis.com/wp-content/uploads/2026/04/528dc17981cdb0b4072e9e25b3537e1469c6567c.jpg') center/cover no-repeat;
}
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.7); }
.hero-inner { position: relative; max-width: 760px; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); line-height: 1.05; font-weight: 700; letter-spacing: -.02em; margin-bottom: 28px; }
.hero p { font-size: clamp(1rem, 2vw, 1.15rem); }

/* Apartamentos */
.section { padding: 80px 5vw; max-width: 1280px; margin: 0 auto; }
.section h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.15; letter-spacing: -.02em; margin-bottom: 12px; }
.section > p.sub { max-width: 620px; margin-bottom: 40px; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.card-img-ph {
  width: 100%; aspect-ratio: 16/10;
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: linear-gradient(135deg, #1b2a3a, #3a2a26);
  color: #fff; font-weight: 700; font-size: 1.6rem; letter-spacing: .12em; line-height: 1.2;
}
.card {
  display: flex; flex-direction: column;
  background: var(--panel); color: inherit; text-decoration: none;
  border: 1px solid var(--ink); border-radius: 18px; overflow: hidden;
  box-shadow: 7px 7px 0 var(--ink);
  transition: transform .2s ease;
}
.card:hover { transform: scale(1.03); }
.card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.card-body { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; padding: 20px; }
.card-body h3 { font-size: 1.05rem; font-weight: 600; }
.card-body p { font-size: .85rem; }
.card-body .cta { font-weight: 600; text-decoration: underline; text-align: right; white-space: nowrap; }

/* Diferenciais */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 40px; }
.features > div {
  background: #fff;
  border: 2px solid var(--accent);
  border-radius: 16px;
  padding: 40px 34px;
  font-size: 1.08rem;
}
.features h3 { font-size: 1.3rem; margin-bottom: 10px; color: var(--accent); }

/* Formulário (final da página) */
.contact-wrap { padding: 40px 5vw 80px; max-width: 1280px; margin: 0 auto; }
.contact {
  display: grid; grid-template-columns: 1fr 1fr;
  border: 1px solid var(--ink); border-radius: 18px; overflow: hidden;
  background: var(--panel);
}
.contact-img {
  min-height: 480px;
  background: url('https://lemeimoveis.com/wp-content/uploads/2026/04/f2f70761b1c80dae4df1eeb670577e3ef1bbb81d.jpg') center/cover no-repeat;
}
form { padding: 56px 60px; }
form .lead { margin-bottom: 28px; }
label { display: block; font-size: .95rem; margin: 18px 0 6px; }
input, textarea {
  width: 100%; font: inherit; padding: 12px;
  border: 1px solid var(--ink); background: transparent; border-radius: 0;
}
textarea { min-height: 150px; resize: vertical; }
input:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
button {
  margin-top: 28px; font: inherit; font-weight: 600; color: #fff;
  background: var(--accent); border: 0; border-radius: 999px;
  padding: 14px 32px; cursor: pointer; transition: background .2s;
}
button:hover { background: var(--accent-dark); }
.msg { margin-top: 16px; font-size: .95rem; }

footer { text-align: center; padding: 30px 5vw 40px; font-size: .9rem; }
footer a { color: inherit; margin: 0 10px; }

@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile */
@media (max-width: 900px) {
  .cards, .features { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .contact-img { min-height: 240px; }
  form { padding: 36px 24px; }
  .section { padding: 56px 6vw; }
  header img { height: 40px; }
}
