/* ============================================================
   Quinto Construtora — styles.css
   ============================================================ */
:root {
  --ink: #16191c;
  --ink-soft: #2a2f34;
  --paper: #ffffff;
  --sand: #f4f1ec;
  --brass: #b08d4f;
  --brass-dark: #8f7038;
  --green: #1f4d3a;
  --whatsapp: #25d366;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .10);
  --maxw: 1140px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brass-dark); }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

h1, h2, h3 { font-weight: 800; line-height: 1.2; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); }
h3 { font-size: 1.15rem; }
.kicker {
  display: inline-block; text-transform: uppercase; letter-spacing: .14em;
  font-size: .78rem; font-weight: 700; color: var(--brass-dark); margin-bottom: .6rem;
}
.lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 46rem; }

/* ---------- Header ---------- */
.topbar {
  background: var(--ink); color: #cfd4d8; font-size: .82rem;
  padding: .45rem 0; text-align: center;
}
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px);
  border-bottom: 1px solid #e8e4dd;
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: .7rem 20px; max-width: var(--maxw); margin: 0 auto; }
.brand img { height: 52px; width: auto; }
.nav ul { display: flex; gap: 1.4rem; list-style: none; align-items: center; }
.nav ul a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; }
.nav ul a:hover, .nav ul a[aria-current="page"] { color: var(--brass-dark); }
.btn {
  display: inline-block; padding: .8rem 1.5rem; border-radius: 999px;
  font-weight: 700; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-brass { background: var(--brass); color: #fff; }
.btn-wa { background: var(--whatsapp); color: #fff; }
.btn-ghost { border: 2px solid #fff; color: #fff; }
.nav .btn { padding: .55rem 1.1rem; font-size: .9rem; }
.menu-toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; text-align: left; overflow: hidden;
  background: linear-gradient(rgba(13, 16, 18, .62), rgba(13, 16, 18, .62)), var(--hero-img) center/cover no-repeat;
  padding: clamp(5rem, 12vw, 9rem) 0;
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(13, 16, 18, .62); z-index: 1;
}
.hero .container { position: relative; z-index: 2; }

/* ---------- Video section ---------- */
.video-frame {
  width: 100%; max-width: 880px; margin: 2rem auto 0; display: block;
  border-radius: var(--radius); box-shadow: var(--shadow); background: #000;
}
.hero .lead { color: #e8e4dd; }
.hero-cta { display: flex; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }
.badges { display: flex; gap: 1.5rem; margin-top: 2.5rem; flex-wrap: wrap; }
.badges div { font-size: .85rem; color: #d9d2c5; }
.badges strong { display: block; font-size: 1.5rem; color: #fff; }

/* ---------- Sections ---------- */
section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
section.alt { background: var(--sand); }
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: #fff; border: 1px solid #eee8de; border-radius: var(--radius);
  padding: 1.6rem; box-shadow: 0 4px 14px rgba(0, 0, 0, .04);
}
.card h3 { margin-bottom: .5rem; }
.card .num { font-size: 2rem; font-weight: 800; color: var(--brass); }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
ul.checks { list-style: none; margin-top: 1rem; }
ul.checks li { padding-left: 1.7rem; position: relative; margin-bottom: .55rem; }
ul.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; }
.gallery img { height: 280px; width: 100%; object-fit: cover; transition: transform .3s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute; inset: auto 0 0 0; padding: .6rem .9rem; font-size: .85rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, .75)); color: #fff;
}

/* ---------- FAQ ---------- */
details.faq {
  background: #fff; border: 1px solid #eee8de; border-radius: var(--radius);
  padding: 1rem 1.3rem; margin-bottom: .8rem;
}
details.faq summary { font-weight: 700; cursor: pointer; list-style: none; }
details.faq summary::after { content: "+"; float: right; font-weight: 800; color: var(--brass); }
details.faq[open] summary::after { content: "–"; }
details.faq p { margin-top: .7rem; color: var(--ink-soft); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--green); color: #fff; text-align: center; }
.cta-band .lead { color: #dfe9e3; margin: .8rem auto 1.6rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.contact-list { list-style: none; }
.contact-list li { margin-bottom: 1rem; padding-left: 1.8rem; position: relative; }
.contact-list li::before { content: "•"; color: var(--brass); position: absolute; left: 0; font-size: 1.4rem; line-height: 1; }
form .field { margin-bottom: 1rem; }
form label { font-weight: 700; font-size: .9rem; display: block; margin-bottom: .3rem; }
form input, form textarea {
  width: 100%; padding: .8rem 1rem; border: 1px solid #d8d2c6; border-radius: 10px;
  font: inherit; background: #fff;
}
form input:focus, form textarea:focus { outline: 2px solid var(--brass); border-color: var(--brass); }
.map-embed { border: 0; width: 100%; height: 320px; border-radius: var(--radius); }

/* ---------- Footer ---------- */
footer.site {
  background: var(--ink); color: #b9bfc4; padding: 3.5rem 0 2rem; font-size: .95rem;
}
footer.site h3 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; }
footer.site a { color: #e3e6e8; text-decoration: none; }
footer.site a:hover { color: var(--brass); }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 2rem; }
.foot-grid ul { list-style: none; }
.foot-grid li { margin-bottom: .5rem; }
.copyright { border-top: 1px solid #2c3237; margin-top: 2.5rem; padding-top: 1.3rem; text-align: center; font-size: .82rem; color: #8a9197; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  background: var(--whatsapp); color: #fff; width: 58px; height: 58px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25); text-decoration: none;
}
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: .85rem; padding: 1rem 0 0; color: #7a8087; }
.breadcrumb a { color: #7a8087; text-decoration: none; }
.breadcrumb a:hover { color: var(--brass-dark); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3, .gallery { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid, .foot-grid { grid-template-columns: 1fr; }
  .foot-grid { gap: 1.6rem; }
}
@media (max-width: 720px) {
  .menu-toggle { display: block; }
  .nav ul {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 1rem 1.4rem 1.4rem;
    border-bottom: 1px solid #e8e4dd; gap: .9rem;
  }
  .nav ul.open { display: flex; }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .grid-3, .gallery { grid-template-columns: 1fr; }
  .nav .btn { display: none; }
}
