/* ═══════════════════════════════════════
   LOJA 3D — Tema Claro (Branco → Preto)
   ═══════════════════════════════════════ */
:root{
  --bg:#ffffff;
  --bg2:#f5f5f7;
  --bg3:#18181b;
  --panel:#ffffff;
  --stroke:rgba(0,0,0,.09);
  --stroke2:rgba(0,0,0,.05);
  --text:#18181b;
  --text2:#3f3f46;
  --muted:#71717a;
  --gold:#a16207;
  --gold2:#854d0e;
  --goldLight:#fef3c7;
  --shadow: 0 1px 3px rgba(0,0,0,.06), 0 4px 16px rgba(0,0,0,.04);
  --shadow2: 0 4px 24px rgba(0,0,0,.10);
  --radius: 14px;
  --radius2: 20px;
  --max: 1200px;
}
*{box-sizing:border-box; margin:0}
html{height:100%}
body{
  min-height:100vh; display:flex; flex-direction:column;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color:var(--text) !important;
  background:var(--bg) !important;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
  padding-bottom:52px;
}
a{color:inherit;text-decoration:none}
img{max-width:100%}
.container{max-width:var(--max); margin:0 auto; padding:0 20px}

/* ══════ TOPBAR ══════ */
.topbar{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  background: rgba(255,255,255,.85);
  border-bottom:1px solid var(--stroke);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 0; gap:14px;
}
.brand{display:flex; align-items:center; gap:10px; font-weight:800}
.brand .logo-img{
  width:34px; height:34px; border-radius:8px;
  object-fit:cover; border:1px solid var(--stroke);
}
.brand .name{font-size:15px; font-weight:800; color:var(--text)}
.navlinks{display:flex; gap:2px; align-items:center}
.navlinks a{
  padding:8px 14px; border-radius:8px; color:var(--muted);
  font-size:14px; font-weight:500; transition:.15s;
}
.navlinks a:hover{color:var(--text); background:var(--bg2)}
.actions{display:flex; gap:8px; align-items:center}

/* ══════ BUTTONS ══════ */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:9px 16px; border-radius:9px;
  border:1px solid var(--stroke);
  background:var(--bg);
  color:var(--text); gap:8px; font-size:13px; font-weight:600;
  transition:.15s; cursor:pointer; white-space:nowrap;
}
.btn:hover{background:var(--bg2); box-shadow:var(--shadow)}
.btn.gold{
  border-color:transparent;
  background:var(--bg3);
  color:#ffffff;
}
.btn.gold:hover{background:#27272a}
.badge{
  display:inline-flex; align-items:center; justify-content:center;
  min-width:18px; height:18px; padding:0 5px;
  border-radius:999px; font-size:11px; font-weight:700;
  background:var(--gold); color:#fff;
}

/* ══════ HERO ══════ */
.hero{padding:40px 0 20px}
.heroGrid{display:grid; grid-template-columns:1.1fr .9fr; gap:16px; align-items:stretch}
@media(max-width:980px){.heroGrid{grid-template-columns:1fr}}

/* ══════ CARDS ══════ */
.card{
  border:1px solid var(--stroke);
  background:var(--panel);
  border-radius:var(--radius2);
  box-shadow:var(--shadow);
  overflow:hidden; position:relative;
}
.card.pad{padding:28px}
.kicker{color:var(--gold); font-size:11px; letter-spacing:.12em; text-transform:uppercase; font-weight:700}
.h1{font-size:42px; line-height:1.08; font-weight:900; letter-spacing:-.03em; color:var(--text); margin:14px 0}
@media(max-width:680px){.h1{font-size:28px}}
.lead{color:var(--muted); font-size:15px; line-height:1.75; max-width:54ch}
.heroCtas{display:flex; gap:10px; margin-top:22px; flex-wrap:wrap}
.pills{display:flex; gap:8px; flex-wrap:wrap; margin-top:22px}
.pill{
  padding:7px 14px; border-radius:999px;
  border:1px solid var(--stroke);
  background:var(--bg2);
  color:var(--muted); font-size:12px; font-weight:500;
}

/* ══════ 3D CANVAS ══════ */
.canvasWrap{min-height:380px; display:flex; flex-direction:column; background:var(--bg3); border-radius:var(--radius2); overflow:hidden}
.canvasArea{position:relative; height:100%; min-height:360px; overflow:hidden}
canvas#hero3d{width:100%; height:100%; display:block}
.fallback3d{
  position:absolute; inset:0;
  display:flex; align-items:center; justify-content:center;
  background:radial-gradient(400px 280px at 50% 40%, rgba(161,98,7,.12), transparent 60%);
  opacity:0; pointer-events:none; transition:.3s;
}
.fallback3d.on{opacity:1}
.fallbackLogo{
  width:140px; height:140px; border-radius:28px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.06);
  display:flex; align-items:center; justify-content:center;
  position:relative; overflow:hidden;
}
.fallbackLogo:before{
  content:""; position:absolute; inset:-60%;
  background:conic-gradient(from 0deg,transparent,rgba(161,98,7,.35),transparent);
  animation:spin 7s linear infinite;
}
.fallbackLogo span{position:relative; font-weight:900; letter-spacing:.08em; font-size:16px; color:rgba(255,255,255,.9)}

/* ══════ GRADIENT SECTION (Branco → Preto) ══════ */
.gradientSection{
  background: linear-gradient(180deg,
    #ffffff 0%,
    #f5f5f7 8%,
    #e4e4e7 20%,
    #a1a1aa 40%,
    #52525b 58%,
    #27272a 75%,
    #18181b 100%
  );
  padding:48px 0 72px;
  margin-top:16px;
}
.gradientSection .sectionHead h2{transition:color .3s}
.gradientSection .sectionHead p{transition:color .3s}

/* Cards inside gradient adapt */
.gradientSection .prodCard{
  background:#fff;
  border-color:rgba(0,0,0,.08);
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.gradientSection .prodCard:hover{
  box-shadow:0 8px 30px rgba(0,0,0,.18);
  transform:translateY(-3px);
}
.gradientSection .prodTitle{color:var(--text)}
.gradientSection .price{color:var(--gold2)}
.gradientSection .small{color:var(--muted)}
.gradientSection .prodImg{background:#f9f9fb}

/* Bottom part of gradient = light text */
.gradientSection .sectionHead{color:#fff}
.gradientSection .sectionHead h2{color:#fff}
.gradientSection .sectionHead p{color:rgba(255,255,255,.6)}
.gradientSection .btn{background:rgba(255,255,255,.12); color:#fff; border-color:rgba(255,255,255,.18)}
.gradientSection .btn:hover{background:rgba(255,255,255,.20)}
.gradientSection > .container > .row .small{color:rgba(255,255,255,.5)}
.gradientSection > .container > .row .btn{color:#fff; border-color:rgba(255,255,255,.15); background:rgba(255,255,255,.08)}
.gradientSection > .container > .row .btn.gold{background:#fff; color:var(--bg3)}

/* ══════ SECTIONS ══════ */
.section{padding:28px 0}
.sectionHead{display:flex; align-items:flex-end; justify-content:space-between; gap:14px; margin-bottom:18px}
.sectionHead h2{margin:0; font-size:20px; font-weight:800; color:var(--text)}
.sectionHead p{margin:0; color:var(--muted); font-size:13px}

/* ══════ PRODUCT GRID ══════ */
.grid{display:grid; grid-template-columns:repeat(4,1fr); gap:14px}
@media(max-width:980px){.grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:720px){.grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:420px){.grid{grid-template-columns:1fr}}
.prodCard{
  border-radius:var(--radius);
  border:1px solid var(--stroke);
  background:var(--panel);
  overflow:hidden; transition:.2s; position:relative;
}
.prodCard:hover{transform:translateY(-3px); box-shadow:var(--shadow2)}
.prodImg{
  aspect-ratio:4/3;
  display:flex; align-items:center; justify-content:center;
  background:var(--bg2);
}
.prodImg img{max-width:82%; max-height:82%; filter:drop-shadow(0 4px 10px rgba(0,0,0,.08))}
.prodBody{padding:14px}
.prodTitle{font-size:14px; font-weight:700; margin:0 0 8px; color:var(--text)}
.prodMeta{display:flex; align-items:center; justify-content:space-between; gap:10px}
.price{font-weight:800; color:var(--gold2); font-size:15px}
.small{font-size:12px; color:var(--muted)}

/* ══════ FORMS ══════ */
.row{display:flex; gap:12px; flex-wrap:wrap}
.input,.select,.textarea{
  width:100%; padding:11px 14px; border-radius:9px;
  border:1px solid var(--stroke);
  background:var(--bg2);
  color:var(--text); font-size:14px; outline:none;
  transition:border-color .15s;
}
.input:focus,.select:focus,.textarea:focus{border-color:var(--gold); box-shadow:0 0 0 3px rgba(161,98,7,.08)}
.textarea{min-height:120px; resize:vertical}
.formGrid{display:grid; grid-template-columns:1fr 1fr; gap:12px}
@media(max-width:720px){.formGrid{grid-template-columns:1fr}}
.hr{height:1px; background:var(--stroke2); margin:18px 0}

/* ══════ TOAST ══════ */
.toast{
  position:fixed; right:16px; bottom:68px; z-index:999;
  max-width:320px; padding:14px 18px;
  border-radius:12px;
  border:1px solid var(--stroke);
  background:rgba(255,255,255,.95);
  backdrop-filter:blur(14px);
  box-shadow:var(--shadow2);
  display:none;
}
.toast.on{display:block}
.toast b{display:block; font-size:13px; font-weight:700; color:var(--text)}
.toast span{display:block; color:var(--muted); font-size:12px; margin-top:4px}

/* ══════ FOOTER (fixo embaixo, escuro) ══════ */
.footer{
  padding:14px 0;
  background:var(--bg3);
  color:rgba(255,255,255,.45);
  font-size:12px;
  position:fixed; bottom:0; left:0; right:0; z-index:40;
}
.footer .container{display:flex; align-items:center; justify-content:center; gap:6px}

/* ══════ TABLE ══════ */
.table{
  width:100%; border-collapse:separate; border-spacing:0; overflow:hidden;
  border:1px solid var(--stroke);
  border-radius:12px; background:var(--panel);
}
.table th,.table td{padding:12px 14px; border-bottom:1px solid var(--stroke2); font-size:13px; color:var(--text)}
.table th{text-align:left; color:var(--muted); font-weight:700; font-size:11px; text-transform:uppercase; letter-spacing:.06em; background:var(--bg2)}
.table tr:last-child td{border-bottom:none}
.table tr:hover td{background:var(--bg2)}
.inlineTag{
  display:inline-flex; align-items:center; gap:5px;
  padding:5px 10px; border-radius:999px;
  border:1px solid var(--stroke);
  background:var(--bg2);
  font-size:12px; color:var(--muted);
}

/* ══════ ANIMATIONS ══════ */
.reveal{opacity:0; transform:translateY(14px); transition:.5s cubic-bezier(.22,1,.36,1)}
.reveal.on{opacity:1; transform:translateY(0)}
@keyframes spin{to{transform:rotate(360deg)}}

/* ══════ MOBILE ══════ */
@media(max-width:768px){
  .navlinks{display:none}
  .nav{flex-wrap:wrap}
  .card.pad{padding:20px}
  .h1{font-size:26px}
}
