/* =====================================================================
   LUMINELIGHT — Design System "Suave / Quente" (Catálogo do Arquiteto)
   Paleta: creme + âmbar/caramelo + marrom espresso. Cantos arredondados,
   sombras macias, tipografia geométrica leve (Jost) + Inter.
   Preferência do projeto: telas front em LARGURA TOTAL.
   ===================================================================== */

:root{
  /* Cremes / neutros quentes */
  --cream:        #faf5ec;
  --cream-2:      #f3ebdd;
  --sand:         #ece0cc;
  --card:         #ffffff;
  --line:         #e7dcc8;

  /* Marrom / espresso (áreas escuras, hero) */
  --espresso:     #2a1d12;
  --espresso-2:   #3a2a1c;
  --cocoa:        #6b5436;

  /* Âmbar / caramelo / ouro */
  --gold:         #c7963f;
  --gold-soft:    #d8ad5c;
  --gold-deep:    #b07e2e;
  --amber-glow:   rgba(199,150,63,.28);

  /* Texto */
  --ink:          #3b2d1f;   /* títulos */
  --body:         #5c4e3e;   /* corpo */
  --muted:        #9a8a74;   /* apoio */
  --on-dark:      #f6efe2;
  --on-dark-dim:  #d9ccb6;

  /* Tipografia */
  --display: "Jost", "Century Gothic", system-ui, sans-serif;
  --sans:    "Inter", "Helvetica Neue", Arial, sans-serif;

  /* Métrica */
  --gutter: clamp(18px, 5vw, 72px);
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --shadow-sm: 0 6px 20px -10px rgba(74,53,30,.25);
  --shadow:    0 20px 50px -24px rgba(74,53,30,.35);
  --ease: cubic-bezier(.22,.61,.36,1);
  --nav-h: 82px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0; background:var(--cream); color:var(--body);
  font-family:var(--sans); font-size:16px; line-height:1.65;
  -webkit-font-smoothing:antialiased; overflow-x:hidden;
}
h1,h2,h3,h4{ font-family:var(--display); color:var(--ink); font-weight:400; line-height:1.12; margin:0; }
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
button{ font-family:inherit; cursor:pointer; }

.eyebrow{
  font-family:var(--sans); font-size:12px; letter-spacing:.28em; text-transform:uppercase;
  color:var(--gold-deep); font-weight:600;
}
.eyebrow b{ color:var(--gold-deep); font-weight:800; }
.display-xl{ font-size:clamp(40px,6vw,74px); font-weight:300; letter-spacing:-.5px; }
.display-lg{ font-size:clamp(30px,3.8vw,50px); font-weight:300; }
.lead{ font-size:18px; color:var(--body); }

/* ---------- Botões ---------- */
.btn{
  display:inline-flex; align-items:center; gap:.6em; border:1px solid transparent;
  padding:15px 30px; border-radius:var(--radius-pill);
  font-size:13.5px; font-weight:600; letter-spacing:.02em; transition:.35s var(--ease);
}
.btn svg{ width:18px; height:18px; }
.btn-gold{ background:linear-gradient(135deg,var(--gold-soft),var(--gold-deep)); color:#fff; box-shadow:var(--shadow-sm); }
.btn-gold:hover{ box-shadow:0 14px 34px -10px var(--amber-glow); transform:translateY(-2px); }
.btn-outline{ border-color:var(--gold); color:var(--gold-deep); background:rgba(255,255,255,.0); }
.btn-outline:hover{ background:var(--gold); color:#fff; }
.btn-outline-light{ border-color:rgba(255,255,255,.6); color:#fff; }
.btn-outline-light:hover{ background:#fff; color:var(--ink); }

/* ---------- Topbar ---------- */
.nav{
  position:fixed; top:0; left:0; right:0; z-index:50; height:var(--nav-h);
  display:grid; grid-template-columns:1fr auto 1fr; align-items:center;
  padding:0 var(--gutter); transition:.4s var(--ease); color:var(--on-dark);
}
.nav.scrolled{ background:rgba(250,245,236,.92); backdrop-filter:blur(14px); color:var(--ink); border-bottom:1px solid var(--line); box-shadow:var(--shadow-sm); }
.nav-left{ display:flex; align-items:center; gap:18px; }
.nav-burger{ background:none; border:none; color:currentColor; display:flex; }
.nav-burger svg{ width:26px; height:26px; }
.brand{ display:flex; flex-direction:column; align-items:center; line-height:1; }
.brand .name{ font-family:var(--display); font-size:26px; font-weight:400; letter-spacing:.42em; text-indent:.42em; }
.brand .sub{ font-size:9px; letter-spacing:.42em; text-indent:.42em; margin-top:5px; opacity:.8; }
.nav-right{ display:flex; align-items:center; justify-content:flex-end; gap:18px; }
.icon-btn{ background:none; border:none; color:currentColor; display:flex; position:relative; padding:4px; }
.icon-btn svg{ width:23px; height:23px; }
.cart-count{
  position:absolute; top:-4px; right:-6px; min-width:17px; height:17px; padding:0 4px;
  background:var(--gold); color:#fff; border-radius:999px; font-size:10px; font-weight:700;
  display:flex; align-items:center; justify-content:center;
}
.nav .btn-quote{ margin-left:6px; }
.nav.scrolled .btn-outline-light{ border-color:var(--gold); color:var(--gold-deep); }
.nav.scrolled .btn-outline-light:hover{ background:var(--gold); color:#fff; }

/* ---------- Hero ---------- */
.hero{
  position:relative; min-height:100vh; display:flex; align-items:center;
  padding:var(--nav-h) var(--gutter) 40px; background:var(--espresso); overflow:hidden;
}
.hero-photo{
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; object-position:66% center; z-index:0;
  animation:kenburns 22s ease-out both;
}
@keyframes kenburns{ from{ transform:scale(1.1); } to{ transform:scale(1); } }
.hero::after{
  content:""; position:absolute; inset:0; z-index:1; pointer-events:none;
  background:
    linear-gradient(90deg, rgba(18,11,5,.93) 0%, rgba(18,11,5,.74) 26%, rgba(18,11,5,.40) 48%, rgba(18,11,5,.10) 74%, rgba(18,11,5,0) 100%),
    linear-gradient(180deg, rgba(18,11,5,.30) 0%, transparent 22%, transparent 66%, rgba(18,11,5,.42) 100%);
}
.hero-inner{ position:relative; z-index:2; max-width:620px; color:var(--on-dark); }
.hero .eyebrow{ color:var(--gold-soft); }
.hero h1{ color:#fff; margin:20px 0 22px; }
.hero h1 b{ color:var(--gold-soft); font-weight:300; }
.hero p{ color:var(--on-dark-dim); max-width:460px; margin:0 0 34px; font-size:18px; }

/* ---------- Faixa de categorias (ícones) ---------- */
.cat-strip{
  background:var(--card); border-bottom:1px solid var(--line);
  padding:26px var(--gutter); display:grid; grid-auto-flow:column; grid-auto-columns:1fr;
  gap:10px; overflow-x:auto; scrollbar-width:none;
}
.cat-strip::-webkit-scrollbar{ display:none; }
.cat-ico{
  display:flex; flex-direction:column; align-items:center; gap:12px; text-align:center;
  padding:10px 6px; border-radius:var(--radius); min-width:92px; transition:.3s var(--ease); color:var(--ink);
}
.cat-ico:hover{ background:var(--cream); transform:translateY(-3px); }
.cat-ico svg{ width:34px; height:34px; stroke:var(--gold-deep); fill:none; stroke-width:1.4; }
.cat-ico span{ font-size:12.5px; font-weight:500; color:var(--body); line-height:1.25; }

/* ---------- Seções ---------- */
.section{ padding:clamp(64px,8vw,116px) var(--gutter); }
.section.tint{ background:var(--cream-2); }
.section-head{ text-align:center; max-width:640px; margin:0 auto 54px; }
.section-head h2{ margin:14px 0 14px; }
.section-head p{ color:var(--body); margin:0; }

/* ---------- Cards de destaque ---------- */
.features{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.feat{
  position:relative; min-height:300px; border-radius:var(--radius-lg); overflow:hidden;
  display:flex; align-items:flex-end; padding:30px; color:#fff; box-shadow:var(--shadow);
  background:linear-gradient(140deg,#6b5033,#3a2a1c);
}
.feat::after{ content:""; position:absolute; inset:0; background:linear-gradient(180deg,transparent 35%,rgba(26,16,8,.78)); z-index:1; }
.feat-bg{ position:absolute; inset:0; object-fit:cover; z-index:0; opacity:.9; }
.feat-ico{ position:absolute; top:26px; left:26px; z-index:2; width:40px; height:40px; opacity:.85; }
.feat-ico svg{ width:100%; height:100%; stroke:#fff; fill:none; stroke-width:1.4; }
.feat-content{ position:relative; z-index:2; }
.feat h3{ color:#fff; font-size:27px; margin-bottom:8px; }
.feat p{ color:rgba(255,255,255,.82); font-size:14px; max-width:230px; margin:0; }
.feat-go{
  position:absolute; right:26px; bottom:26px; z-index:2; width:46px; height:46px; border-radius:50%;
  border:1px solid rgba(255,255,255,.55); display:flex; align-items:center; justify-content:center; color:#fff; transition:.3s;
}
.feat:hover .feat-go{ background:var(--gold); border-color:var(--gold); transform:translateX(3px); }

/* ---------- Faixa "Monte seu Orçamento" ---------- */
.quote-band{
  margin:0 var(--gutter) clamp(64px,8vw,116px); padding:34px clamp(26px,4vw,52px);
  background:linear-gradient(120deg,var(--sand),var(--cream-2)); border:1px solid var(--line);
  border-radius:var(--radius-lg); display:flex; align-items:center; gap:28px; flex-wrap:wrap; justify-content:space-between;
}
.quote-band .qb-left{ display:flex; align-items:center; gap:24px; }
.quote-band .qb-ico{ width:58px; height:58px; flex-shrink:0; color:var(--gold-deep); }
.quote-band .qb-ico svg{ width:100%; height:100%; stroke:var(--gold-deep); fill:none; stroke-width:1.3; }
.quote-band h3{ font-size:28px; margin-bottom:4px; }
.quote-band p{ margin:0; color:var(--body); max-width:440px; font-size:15px; }

/* ---------- Benefícios ---------- */
.benefits{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; padding:46px var(--gutter); background:var(--cream); border-top:1px solid var(--line); }
.benefit{ display:flex; align-items:center; gap:16px; }
.benefit svg{ width:38px; height:38px; stroke:var(--gold-deep); fill:none; stroke-width:1.3; flex-shrink:0; }
.benefit span{ font-size:14.5px; color:var(--ink); font-weight:500; line-height:1.3; }

/* ---------- Catálogo / Produtos ---------- */
.filters{ display:flex; gap:10px; flex-wrap:wrap; justify-content:center; margin-bottom:44px; }
.filters button{
  background:var(--card); border:1px solid var(--line); color:var(--body);
  padding:10px 22px; border-radius:var(--radius-pill); font-size:13px; font-weight:500; transition:.3s;
}
.filters button.active, .filters button:hover{ border-color:var(--gold); color:var(--gold-deep); background:#fff; box-shadow:var(--shadow-sm); }

.product-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(290px,1fr)); gap:26px; }
.product{
  background:var(--card); border:1px solid var(--line); border-radius:var(--radius-lg);
  overflow:hidden; display:flex; flex-direction:column; transition:.4s var(--ease);
}
.product:hover{ transform:translateY(-6px); box-shadow:var(--shadow); border-color:var(--sand); }
.product-visual{ position:relative; aspect-ratio:4/5; background:linear-gradient(160deg,var(--cream-2),var(--sand)); }
.product-visual model-viewer{ width:100%; height:100%; --poster-color:transparent; }
.product-visual .pfoto{ width:100%; height:100%; object-fit:cover; transition:transform .7s var(--ease); }
.product:hover .product-visual .pfoto{ transform:scale(1.06); }
.product-visual .pfoto.contain{ object-fit:contain; background:#f6f1e8; padding:18px; }
.product:hover .product-visual .pfoto.contain{ transform:scale(1.04); }
.product-visual .pfoto-empty{ width:100%; height:100%; display:flex; align-items:center; justify-content:center; font-size:84px; opacity:.5; }
.product-visual .spin360{ width:100%; height:100%; cursor:grab; touch-action:none; user-select:none; }
.product-visual .spin360:active{ cursor:grabbing; }
.product-visual .spin360 img{ width:100%; height:100%; object-fit:cover; pointer-events:none; }
.badge-3d{
  position:absolute; top:14px; left:14px; z-index:3; display:flex; align-items:center; gap:6px;
  background:rgba(255,255,255,.9); border:1px solid var(--line); backdrop-filter:blur(6px);
  padding:6px 12px; border-radius:var(--radius-pill); font-size:10.5px; letter-spacing:.08em;
  text-transform:uppercase; color:var(--gold-deep); font-weight:600;
}
.product-body{ padding:20px 22px 24px; display:flex; flex-direction:column; gap:7px; flex:1; }
.product-body .cod{ font-size:11px; letter-spacing:.12em; color:var(--gold-deep); text-transform:uppercase; font-weight:600; }
.product-body h3{ font-size:21px; font-family:var(--display); font-weight:400; }
.product-body .desc{ font-size:13.5px; color:var(--body); flex:1; }
.product-foot{ display:flex; align-items:center; justify-content:space-between; margin-top:12px; }
.price{ font-family:var(--display); font-size:23px; color:var(--ink); font-weight:500; }
.price small{ font-size:12px; color:var(--muted); }
.add-btn{
  background:var(--cream); border:1px solid var(--gold); color:var(--gold-deep);
  width:44px; height:44px; border-radius:50%; font-size:22px; display:flex; align-items:center; justify-content:center; transition:.3s;
}
.add-btn:hover{ background:var(--gold); color:#fff; transform:rotate(90deg); }

/* ---------- Carrinho (drawer) ---------- */
.cart-overlay{ position:fixed; inset:0; background:rgba(42,29,18,.45); z-index:60; opacity:0; visibility:hidden; transition:.4s; }
.cart-overlay.open{ opacity:1; visibility:visible; }
.cart-drawer{
  position:fixed; top:0; right:0; height:100%; width:min(440px,100%); z-index:70;
  background:var(--cream); border-left:1px solid var(--line); box-shadow:var(--shadow);
  transform:translateX(100%); transition:transform .45s var(--ease); display:flex; flex-direction:column;
}
.cart-drawer.open{ transform:translateX(0); }
.cart-header{ padding:24px 28px; display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid var(--line); background:var(--card); }
.cart-header h3{ font-size:23px; }
.cart-close{ background:none; border:none; color:var(--muted); font-size:26px; line-height:1; }
.cart-items{ flex:1; overflow-y:auto; padding:8px 28px; }
.cart-empty{ text-align:center; color:var(--muted); padding:70px 20px; }
.cart-empty svg{ width:52px; height:52px; opacity:.4; margin-bottom:16px; stroke:var(--muted); fill:none; stroke-width:1.2; }
.ci{ display:flex; gap:15px; padding:18px 0; border-bottom:1px solid var(--line); }
.ci-thumb{ width:68px; height:68px; border-radius:10px; background:var(--card); border:1px solid var(--line); display:flex; align-items:center; justify-content:center; font-size:28px; flex-shrink:0; overflow:hidden; }
.ci-thumb img{ width:100%; height:100%; object-fit:cover; }
.ci-info{ flex:1; min-width:0; }
.ci-info .cod{ font-size:10px; letter-spacing:.1em; color:var(--gold-deep); text-transform:uppercase; font-weight:600; }
.ci-info h4{ font-family:var(--sans); font-size:14.5px; font-weight:600; color:var(--ink); margin:2px 0 5px; }
.ci-info .ci-price{ color:var(--ink); font-size:14.5px; font-weight:600; }
.qty{ display:flex; align-items:center; gap:9px; margin-top:8px; }
.qty button{ width:26px; height:26px; border:1px solid var(--line); background:var(--card); color:var(--ink); border-radius:7px; }
.qty span{ min-width:22px; text-align:center; font-size:14px; }
.ci-remove{ background:none; border:none; color:var(--muted); font-size:12px; text-decoration:underline; align-self:flex-start; }
.cart-foot{ padding:22px 28px 28px; border-top:1px solid var(--line); background:var(--card); }
.cart-total{ display:flex; justify-content:space-between; align-items:baseline; margin-bottom:16px; }
.cart-total span{ font-size:13px; letter-spacing:.06em; text-transform:uppercase; color:var(--body); }
.cart-total b{ font-family:var(--display); font-size:28px; color:var(--ink); font-weight:500; }
.btn-whats{ width:100%; justify-content:center; background:#1faa54; color:#fff; border:none; }
.btn-whats:hover{ background:#179247; transform:translateY(-2px); box-shadow:0 12px 30px -10px rgba(31,170,84,.5); }
.btn-whats[disabled]{ opacity:.45; pointer-events:none; }
.cart-note{ text-align:center; font-size:11.5px; color:var(--muted); margin-top:11px; }

/* ---------- Footer ---------- */
.footer{ padding:70px var(--gutter) 36px; background:var(--espresso); color:var(--on-dark-dim); }
.footer-top{ display:grid; grid-template-columns:2fr 1fr 1fr 1.4fr; gap:44px; margin-bottom:48px; }
.footer .brand{ align-items:flex-start; }
.footer .brand .name{ color:#fff; }
.footer .brand .sub{ color:var(--gold-soft); }
.footer p{ color:var(--on-dark-dim); max-width:320px; margin:16px 0 0; font-size:14px; }
.footer h4{ font-family:var(--sans); font-size:12px; letter-spacing:.16em; text-transform:uppercase; color:var(--gold-soft); margin-bottom:16px; }
.footer ul{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:11px; }
.footer ul a{ color:var(--on-dark-dim); font-size:14px; }
.footer ul a:hover{ color:#fff; }
.footer-bottom{ display:flex; justify-content:space-between; padding-top:26px; border-top:1px solid rgba(255,255,255,.12); color:#a08f78; font-size:12.5px; flex-wrap:wrap; gap:8px; }

/* ---------- Toast ---------- */
.toast{
  position:fixed; bottom:28px; left:50%; transform:translateX(-50%) translateY(120px);
  background:var(--card); border:1px solid var(--line); color:var(--ink);
  padding:13px 24px; border-radius:var(--radius-pill); z-index:90; font-size:14px;
  box-shadow:var(--shadow); transition:transform .4s var(--ease); display:flex; align-items:center; gap:10px;
}
.toast.show{ transform:translateX(-50%) translateY(0); }
.toast b{ color:var(--gold-deep); }

/* ---------- Reveal ---------- */
.reveal{ opacity:0; transform:translateY(34px); transition:opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in{ opacity:1; transform:none; }

/* ---------- Responsivo ---------- */
@media(max-width:980px){
  .features{ grid-template-columns:1fr; }
  .benefits{ grid-template-columns:1fr 1fr; }
  .footer-top{ grid-template-columns:1fr 1fr; }
}
@media(max-width:620px){
  .nav{ grid-template-columns:auto 1fr auto; }
  .nav .btn-quote span{ display:none; }
  .nav .btn-quote{ padding:12px; }
  .benefits{ grid-template-columns:1fr; }
  .quote-band{ flex-direction:column; align-items:flex-start; }
  .brand .name{ font-size:21px; }
}
