@charset "utf-8";
:root {
  --bg: #f7f7f9;
  --text: #222;
  --muted: #666;
  --brand: #0a7cc7;
  --card-bg: #fff;
  --radius: 12px;
  --shadow: 0 8px 24px rgba(0,0,0,0.08);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body { margin:0; font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial; color: var(--text); background: var(--bg); }

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.header { position: sticky; top:0; z-index:10; background: rgba(255,255,255,0.75); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(0,0,0,0.06); }
.header-inner { max-width:1200px; margin:0 auto; display:flex; align-items:center; justify-content:space-between; padding:12px 16px; }
.logo img { height:42px; }
.nav { display:flex; gap:16px; }

.container { max-width:1200px; margin:0 auto; padding:16px; }

.hero { display:grid; grid-template-columns: 2fr 1fr; gap:16px; }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; } }

.hero-figure { background:#fff; border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow); }
.hero-figure img { width:100%; height: clamp(280px, 40vw, 520px); object-fit: cover; object-position: center 25%; display:block; }

.hero-side { display:grid; align-content:start; gap:12px; }
.title { font-size: clamp(22px, 3.6vw, 34px); font-weight: 800; margin:0; }
.subtitle { color: var(--muted); }
.price { font-size: 24px; font-weight: 900; }
.specs { display:flex; flex-wrap: wrap; gap:8px; }
.chip { background:#fff; border:1px solid rgba(0,0,0,0.08); padding:8px 10px; border-radius: 999px; box-shadow: 0 2px 6px rgba(0,0,0,0.05); }

.actions { display:flex; flex-wrap: wrap; gap:10px; margin-top: 4px; }
.btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:12px 16px; border-radius:10px; font-weight:800; text-decoration:none; transition: box-shadow .15s ease, transform .05s ease; }
.btn:focus { outline:none; box-shadow:0 0 0 3px rgba(10,124,199,0.25); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color:#fff; }
.btn-ghost { background:#fff; border:1px solid rgba(0,0,0,0.12); color: var(--text); }

.gallery { margin-top: 16px; display:grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap:10px; }
@media (max-width: 1200px) { .gallery { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.thumb { aspect-ratio: 1 / 1; width:100%; object-fit: cover; object-position: center 25%; border-radius: 10px; background:#eee; cursor: pointer; }

.section { margin-top: 20px; background:#fff; border-radius: var(--radius); box-shadow: var(--shadow); padding:16px; }
.section h2 { margin:0 0 10px; font-size: 18px; }

.footer { border-top:1px solid rgba(0,0,0,0.06); margin-top: 12px; }
.footer-inner { max-width:1200px; margin:0 auto; padding: 20px 16px; text-align:center; color:var(--muted); }

/* Floating WhatsApp */
.whatsapp { position: fixed; right: 16px; bottom: 16px; z-index: 20; }
.whatsapp img { height: 56px; width: 56px; }

/* Lightbox */
.lightbox-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.86); display: none; align-items: center; justify-content: center; z-index: 50; }
.lightbox-backdrop.active { display: flex; }
.lightbox-content { position: relative; max-width: 96vw; max-height: 92vh; }
.lightbox-img { max-width: 96vw; max-height: 92vh; object-fit: contain; border-radius: 8px; box-shadow: 0 12px 32px rgba(0,0,0,0.5); }
.lightbox-close { position: absolute; top: -40px; right: 0; background: rgba(255,255,255,0.14); color: #fff; border: 1px solid rgba(255,255,255,0.25); padding: 8px 12px; border-radius: 8px; cursor: pointer; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.14); color: #fff; border: 1px solid rgba(255,255,255,0.25); cursor: pointer; }
.lightbox-prev { left: -54px; }
.lightbox-next { right: -54px; }
@media (max-width: 700px) { .lightbox-prev { left: 8px; } .lightbox-next { right: 8px; } .lightbox-close { top: 8px; right: 8px; } }
