/* ============================================================
   RESIDENCIAL TRADIÇÃO — reconstrução fiel à referência AAKRITI
   Fundo #101010 · superfícies #1A1A1A · champanhe #D8C3A5
   Display: Cormorant Garamond · Corpo: Jost
   ============================================================ */
:root {
  --bg: #101010;
  --surface: #1a1a1a;
  --surface-2: #222222;
  --line: rgba(216, 195, 165, 0.16);
  --champagne: #d8c3a5;
  --white: #ffffff;
  --text: #f2ede6;
  --muted: #a89f94;
  --pill: #f5f1ea;
  --radius: 20px;
  --max: 1240px;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: #000; font-family: var(--sans); color: var(--text); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
::selection { background: var(--champagne); color: #111; }

/* Página contida em grande card arredondado */
.page {
  max-width: 1440px;
  margin: 14px auto;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 26px;
  overflow: hidden;
}

.eyebrow {
  display: block;
  font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--champagne);
  margin-bottom: 12px;
}

h2 { font-family: var(--serif); font-weight: 500; line-height: 1.12; color: #fff; }

/* Pills brancas com seta em círculo preto */
.pill {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--pill); color: #141414;
  font-size: 0.85rem; font-weight: 500;
  padding: 10px 10px 10px 22px; border-radius: 999px;
  text-decoration: none; white-space: nowrap;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pill:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,.45); }
.pill .arrow {
  display: inline-grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: #141414; color: #fff; font-size: 0.9rem;
}
.pill-lg { font-size: 0.95rem; padding: 12px 12px 12px 26px; }
.pill-sm { font-size: 0.78rem; }

/* ============ 1. NAVBAR ============ */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 18px 34px;
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--champagne);
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 1.3rem; color: var(--champagne);
}
.brand-text { display: flex; flex-direction: column; font-size: 0.95rem; font-weight: 600; letter-spacing: 0.22em; color: #fff; line-height: 1.2; }
.brand-text small { font-size: 0.55rem; font-weight: 400; letter-spacing: 0.3em; color: var(--muted); }
.nav .links { display: flex; gap: 26px; }
.nav .links a { color: var(--muted); text-decoration: none; font-size: 0.85rem; padding: 8px 16px; border-radius: 999px; transition: .25s; }
.nav .links a:hover { color: #fff; }
.nav .links a.active { background: var(--pill); color: #141414; font-weight: 500; }
.nav-side { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line);
  display: grid; place-items: center; transition: .25s;
}
.icon-btn svg { width: 15px; height: 15px; fill: var(--champagne); }
.icon-btn:hover { border-color: var(--champagne); }

/* ============ 2. HERO ============ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 60px 54px 0;
  background: linear-gradient(180deg, rgba(16,16,16,.55), rgba(16,16,16,.15) 40%, rgba(16,16,16,.78)), url('../assets/img/fachada-dia.jpg') center 65% / cover;
  overflow: hidden;
}
.hero-brand {
  font-weight: 300; text-align: center;
  font-size: clamp(3.4rem, 12.5vw, 11rem);
  letter-spacing: 0.1em; line-height: 1;
  color: rgba(245, 241, 234, 0.92);
  text-shadow: 0 4px 60px rgba(0,0,0,.5);
  margin-top: 40px;
}
.hero-sub { text-align: center; letter-spacing: 0.55em; font-size: clamp(0.65rem, 1.4vw, 0.9rem); color: #e8ded2; margin: 10px 0 90px; }
.hero-chips { position: absolute; top: 34px; right: 40px; display: flex; flex-direction: column; gap: 12px; }
.chip {
  background: rgba(20, 20, 20, 0.55);
  border: 1px solid var(--line);
  border-radius: 14px; backdrop-filter: blur(12px);
  padding: 12px 18px; min-width: 150px;
}
.chip strong { display: block; font-size: 1.15rem; color: #fff; }
.chip span { font-size: 0.7rem; color: var(--muted); }
.hero-foot { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: end; padding-bottom: 64px; }
.hero-left h2 { font-size: clamp(1.2rem, 2.2vw, 1.7rem); margin-bottom: 8px; }
.hero-left p { font-size: 0.85rem; color: #d9d2c7; max-width: 30ch; }
.since { display: inline-block; margin-top: 14px; font-size: 0.68rem; letter-spacing: 0.3em; color: var(--champagne); border-top: 1px solid var(--line); padding-top: 12px; }
.hero-cta { justify-self: center; margin-bottom: 8px; }

/* ============ 3. SOBRE ============ */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding: 84px 54px; align-items: center; }
.about-text h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); margin-bottom: 16px; }
.about-text > p { color: var(--muted); font-size: 0.95rem; max-width: 46ch; }
.mini-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 34px 0; }
.mini-features div { border-top: 1px solid var(--line); padding-top: 16px; }
.mini-icon { color: var(--champagne); font-size: 1.2rem; }
.mini-features strong { display: block; font-size: 0.85rem; color: #fff; margin: 8px 0 4px; }
.mini-features small { font-size: 0.72rem; color: var(--muted); line-height: 1.5; display: block; }
.about-photo { position: relative; margin: 0; }
.about-photo img { width: 100%; height: 520px; object-fit: cover; border-radius: var(--radius); }
.float-badge {
  position: absolute; left: 26px; bottom: 26px;
  background: rgba(20, 20, 20, 0.6); border: 1px solid var(--line);
  backdrop-filter: blur(12px); border-radius: 14px; padding: 14px 22px;
}
.float-badge strong { display: block; font-family: var(--serif); font-size: 1.5rem; color: #fff; }
.float-badge span { font-size: 0.7rem; color: var(--muted); }

/* ============ 4. SERVIÇOS ============ */
.services { padding: 20px 54px 84px; }
.services h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); margin-bottom: 36px; max-width: 16ch; }
.service-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.service-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 18px;
  transition: transform .3s ease, border-color .3s ease;
}
.service-card:hover { transform: translateY(-6px); border-color: rgba(216,195,165,.45); }
.s-icon { font-size: 1.3rem; color: var(--champagne); }
.service-card h3 { font-size: 0.9rem; font-weight: 600; color: #fff; margin: 14px 0 6px; }
.service-card p { font-size: 0.72rem; color: var(--muted); line-height: 1.55; min-height: 3.3em; }
.s-arrow {
  display: inline-grid; place-items: center; margin-top: 14px;
  width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid var(--line); color: var(--champagne); font-size: 0.8rem;
}

/* ============ 5. PROJETOS ============ */
.projects { padding: 0 54px 84px; }
.section-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 30px; }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
.project-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.project-row img { height: 300px; width: 100%; object-fit: cover; border-radius: var(--radius); transition: transform .35s ease; }
.project-row img:hover { transform: scale(1.025); }

/* ============ 6. DESTAQUE ============ */
.featured { display: grid; grid-template-columns: 0.9fr 1.4fr; gap: 48px; padding: 0 54px 84px; align-items: center; }
.featured-text h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); margin-bottom: 14px; }
.featured-text > p { color: var(--muted); font-size: 0.92rem; max-width: 40ch; }
.specs { list-style: none; margin: 24px 0 30px; display: grid; gap: 12px; }
.specs li { display: flex; gap: 10px; align-items: center; font-size: 0.85rem; color: #d9d2c7; }
.specs span { color: var(--champagne); }
.featured-photo { width: 100%; height: 420px; object-fit: cover; border-radius: var(--radius); }

/* ============ 7. DEPOIMENTO ============ */
.testimonial { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; padding: 0 54px 84px; align-items: center; }
.testimonial h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
.t-arrows { display: flex; gap: 10px; margin-top: 26px; }
.t-arrows button {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line); background: transparent;
  color: var(--champagne); font-size: 1.2rem; cursor: pointer; transition: .25s;
}
.t-arrows button:hover { border-color: var(--champagne); }
.t-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; position: relative; }
.quote { font-family: var(--serif); font-size: 4rem; line-height: 1; color: var(--champagne); }
.t-card p { font-size: 1rem; color: #e6dfd5; margin: 6px 0 20px; max-width: 52ch; }
.t-stars { color: var(--champagne); letter-spacing: 3px; font-size: 0.9rem; }
.t-stars small { letter-spacing: 0; color: var(--muted); margin-left: 8px; }
.t-author { display: flex; gap: 14px; align-items: center; margin-top: 22px; }
.t-author img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); }
.t-author strong { display: block; font-size: 0.9rem; color: #fff; }
.t-author small { font-size: 0.75rem; color: var(--muted); }

/* ============ 8. CTA ============ */
.cta { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; padding: 0 54px 84px; align-items: center; }
.cta-text h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); margin-bottom: 10px; }
.cta-text > p { color: var(--muted); font-size: 0.95rem; }
.cta-contacts { display: flex; flex-direction: column; gap: 8px; margin: 26px 0; font-size: 0.88rem; color: #d9d2c7; }
.cta-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; margin-top: 6px; }
.cta-form input {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; color: #fff;
  font-family: var(--sans); font-size: 0.85rem;
  padding: 12px 20px; width: 100%;
}
.cta-form input::placeholder { color: #7d766c; }
.cta-form input:focus { outline: none; border-color: var(--champagne); }
.cta-form button {
  background: var(--pill); color: #141414; border: none; cursor: pointer;
  border-radius: 999px; font-family: var(--sans); font-weight: 600; font-size: 0.85rem;
  padding: 12px 26px; transition: transform .3s ease;
}
.cta-form button:hover { transform: translateY(-2px); }
.cta-photo { position: relative; }
.cta-photo img { width: 100%; height: 380px; object-fit: cover; border-radius: var(--radius); }
.pill-float { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); }
.pill-float:hover { transform: translateX(-50%) translateY(-2px); }

/* ============ 9. FOOTER ============ */
.footer {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--line); padding: 26px 54px;
  font-size: 0.75rem; color: var(--muted);
}
.footer .legal, .footer .social { letter-spacing: 0.1em; }

/* ============ RESPONSIVO ============ */
@media (max-width: 1080px) {
  .nav .links { display: none; }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .project-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .about, .featured, .testimonial, .cta { grid-template-columns: 1fr; }
  .hero-chips { display: none; }
  .hero-foot { grid-template-columns: 1fr; justify-items: start; }
  .hero-cta { justify-self: start; }
  .section-head { flex-direction: column; align-items: start; gap: 18px; }
  .cta-form { grid-template-columns: 1fr; }
  .about, .services, .projects, .featured, .testimonial, .cta { padding-left: 26px; padding-right: 26px; }
  .nav, .footer { padding-left: 26px; padding-right: 26px; }
  .hero { padding-left: 26px; padding-right: 26px; }
  .about-photo img { height: 380px; }
}
@media (max-width: 560px) {
  .service-grid { grid-template-columns: 1fr 1fr; }
  .project-row { grid-template-columns: 1fr; }
  .nav-side .icon-btn { display: none; }
}
