:root {
  --bg: #0b0b12;
  --bg-soft: #13101f;
  --card: rgba(255, 250, 244, 0.085);
  --card-strong: rgba(255, 250, 244, 0.15);
  --text: #fff7ec;
  --muted: #d8c9b7;
  --gold: #f0c56a;
  --gold-dark: #a97325;
  --moss: #718a46;
  --moss-deep: #314326;
  --sage: #c5d58f;
  --purple: #7e3ff2;
  --purple-soft: #b37cff;
  --purple-deep: #231035;
  --wine: #4b173f;
  --rose: #ffbadb;
  --clay: #8d5132;
  --danger: #ffb3a7;
  --border: rgba(255, 248, 230, 0.17);
  --border-strong: rgba(240, 197, 106, 0.42);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
  --glow-gold: 0 0 36px rgba(240, 197, 106, 0.22);
  --glow-purple: 0 0 42px rgba(126, 63, 242, 0.28);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 8% 8%, rgba(126, 63, 242, 0.34), transparent 27%),
    radial-gradient(circle at 85% 4%, rgba(113, 138, 70, 0.30), transparent 31%),
    radial-gradient(circle at 50% 55%, rgba(240, 197, 106, 0.10), transparent 34%),
    linear-gradient(135deg, #090912 0%, #15101f 38%, #193018 68%, #2a1028 100%);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), transparent 80%);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
button:disabled, input:disabled { cursor: not-allowed; opacity: 0.55; }
.container { width: min(1160px, calc(100% - 34px)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(10, 9, 18, 0.78); border-bottom: 1px solid rgba(240, 197, 106, 0.18); backdrop-filter: blur(22px) saturate(1.18); box-shadow: 0 16px 40px rgba(0,0,0,.22); }
.nav { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: Cinzel, serif; font-size: 1.17rem; font-weight: 700; letter-spacing: 0.055em; }
.brand img, .footer img { width: 52px; height: 52px; filter: drop-shadow(0 0 16px rgba(240,197,106,.28)); }
.nav-links { display: flex; align-items: center; gap: 15px; color: var(--muted); font-weight: 800; }
.nav-links a { position: relative; }
.nav-links a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -7px; width: 0; height: 2px; border-radius: 99px; background: linear-gradient(90deg, var(--gold), var(--purple-soft)); transition: width .22s ease; }
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }
.menu-toggle { display: none; border: 1px solid var(--border); color: var(--text); background: rgba(255,255,255,.06); border-radius: 14px; padding: 8px 12px; }
.btn { border: 0; border-radius: 999px; color: #1d1205; background: linear-gradient(135deg, #f6d989 0%, var(--gold) 46%, #d99538 100%); padding: 13px 22px; font-weight: 950; cursor: pointer; box-shadow: 0 16px 34px rgba(240, 197, 106, 0.25), inset 0 1px 0 rgba(255,255,255,.42); transition: transform 0.22s ease, box-shadow 0.22s ease, filter .22s ease; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 22px 48px rgba(240, 197, 106, 0.34), var(--glow-gold); filter: saturate(1.1); }
.btn-small { padding: 10px 16px; }
.btn-ghost { border: 1px solid rgba(179, 124, 255, 0.32); color: var(--text); background: linear-gradient(135deg, rgba(126, 63, 242, 0.16), rgba(113, 138, 70, 0.12)); box-shadow: none; }
.btn-ghost:hover { box-shadow: var(--glow-purple); border-color: rgba(240,197,106,.48); }
.btn-full { width: 100%; }
.hero { padding: 94px 0 70px; overflow: hidden; position: relative; }
.hero::after { content: ""; position: absolute; inset: auto -10% -26% 40%; height: 320px; background: radial-gradient(circle, rgba(126,63,242,.22), transparent 60%); pointer-events: none; }
.hero-grid, .checkout-grid, .split, .footer-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 42px; align-items: center; }
.eyebrow { margin: 0 0 12px; color: var(--sage); font-size: 0.78rem; font-weight: 950; letter-spacing: 0.22em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; font-family: Cinzel, serif; line-height: 1.06; }
h1 { font-size: clamp(3rem, 7vw, 6.2rem); max-width: 880px; text-shadow: 0 0 38px rgba(126,63,242,.28); }
h2 { font-size: clamp(2rem, 4vw, 3.75rem); }
h3 { font-size: 1.25rem; }
.hero-copy h1, .section-title h2 { background: linear-gradient(135deg, #fff7ec 0%, #f0c56a 45%, #b37cff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-text, .section-title p, .split p, .feature-card p, .footer p, .privacy-note, small { color: var(--muted); }
.hero-text { max-width: 690px; font-size: 1.16rem; margin: 24px 0 30px; }
.hero-actions, .checkout-actions, .stack-actions, .quick-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.stack-actions { display: grid; margin-top: 18px; }
.quick-actions { display: grid; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.trust-row span, .highlight-strip span { border: 1px solid rgba(240,197,106,.25); background: linear-gradient(135deg, rgba(113,138,70,.16), rgba(126,63,242,.14)); color: #f4e7d5; border-radius: 999px; padding: 9px 13px; font-size: 0.88rem; font-weight: 800; box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
.hero-card { position: relative; border: 1px solid rgba(240,197,106,.24); background: linear-gradient(145deg, rgba(255,255,255,.12), rgba(126,63,242,.12) 45%, rgba(113,138,70,.08)); border-radius: 42px; padding: 24px; box-shadow: var(--shadow), var(--glow-purple); overflow: hidden; }
.hero-card::before { content: ""; position: absolute; inset: -2px; border-radius: inherit; background: linear-gradient(135deg, rgba(240,197,106,.28), transparent 35%, rgba(179,124,255,.24)); pointer-events: none; mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; padding: 1px; }
.hero-card-isis img { width: 100%; max-height: 620px; object-fit: contain; border-radius: 32px; filter: drop-shadow(0 24px 46px rgba(0,0,0,.38)); }
.floating-card { position: absolute; left: -12px; bottom: 32px; width: min(320px, calc(100% - 32px)); border: 1px solid rgba(240, 197, 106, 0.48); background: linear-gradient(145deg, rgba(35,16,53,.94), rgba(49,67,38,.92)); border-radius: 22px; padding: 18px; box-shadow: var(--shadow), var(--glow-gold); }
.floating-card strong { color: var(--gold); }
.floating-card span { display: block; margin-top: 4px; color: var(--muted); font-size: 0.92rem; }
.section { padding: 82px 0; position: relative; }
.section-title { text-align: center; max-width: 820px; margin-bottom: 38px; }
.highlight-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 28px; }
.feature-grid, .product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature-card, .product-card, .form-panel, .metric-card { position: relative; border: 1px solid rgba(255,248,230,.14); background: linear-gradient(145deg, rgba(255,250,244,.10), rgba(255,250,244,.045)); border-radius: var(--radius); padding: 22px; box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24); overflow: hidden; }
.feature-card::before, .product-card::before, .form-panel::before, .metric-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 18% 0%, rgba(240,197,106,.13), transparent 34%), radial-gradient(circle at 96% 15%, rgba(126,63,242,.13), transparent 30%); pointer-events: none; }
.feature-card > *, .product-card > *, .form-panel > *, .metric-card > * { position: relative; }
.feature-card:nth-child(1), .product-card:nth-child(4n+1) { background: linear-gradient(145deg, rgba(49,67,38,.55), rgba(15,18,11,.46)); border-color: rgba(197,213,143,.28); }
.feature-card:nth-child(2), .product-card:nth-child(4n+2) { background: linear-gradient(145deg, rgba(35,16,53,.58), rgba(16,11,22,.48)); border-color: rgba(179,124,255,.30); }
.feature-card:nth-child(3), .product-card:nth-child(4n+3) { background: linear-gradient(145deg, rgba(75,23,63,.52), rgba(18,10,22,.48)); border-color: rgba(255,186,219,.24); }
.feature-card:nth-child(4), .product-card:nth-child(4n+4) { background: linear-gradient(145deg, rgba(114,77,28,.42), rgba(35,16,53,.40)); border-color: rgba(240,197,106,.34); }
.feature-card span { display: inline-flex; width: 56px; height: 56px; align-items: center; justify-content: center; margin-bottom: 18px; background: linear-gradient(135deg, rgba(240,197,106,.24), rgba(126,63,242,.20)); border: 1px solid rgba(240,197,106,.22); border-radius: 20px; font-size: 1.65rem; box-shadow: inset 0 1px 0 rgba(255,255,255,.12), var(--glow-purple); }
.product-card { display: flex; min-height: 430px; flex-direction: column; gap: 16px; transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.product-card:hover { transform: translateY(-6px); border-color: rgba(240,197,106,.46); box-shadow: 0 28px 70px rgba(0,0,0,.34), var(--glow-purple); }
.product-image, .product-photo { display: grid; width: 100%; min-height: 155px; place-items: center; border-radius: 22px; background: radial-gradient(circle at 50% 30%, rgba(240,197,106,.25), transparent 38%), linear-gradient(135deg, rgba(113,138,70,.20), rgba(126,63,242,.18)); border: 1px solid rgba(255,255,255,.10); font-size: 3.6rem; object-fit: cover; }
.product-photo { height: 180px; }
.product-card p { margin: 0; color: var(--muted); font-size: 0.94rem; }
.product-card h3 { color: #fff4de; }
.product-price { margin-top: auto; color: var(--gold); font-size: 1.45rem; font-weight: 950; text-shadow: 0 0 18px rgba(240,197,106,.20); }
.stock-badge { display: inline-flex; width: fit-content; border: 1px solid rgba(197, 213, 143, 0.46); border-radius: 999px; color: var(--sage); background: rgba(197, 213, 143, 0.10); padding: 5px 11px; font-size: 0.82rem; font-weight: 950; }
.stock-low { border-color: rgba(255, 179, 167, 0.5); color: var(--danger); background: rgba(255, 179, 167, 0.09); }
.qty-row { display: grid; grid-template-columns: 82px 1fr; gap: 10px; }
.qty-row input, .form input, .pix-key-label input, textarea { width: 100%; border: 1px solid rgba(255,248,230,.16); border-radius: 17px; color: var(--text); background: rgba(0, 0, 0, 0.26); outline: none; padding: 12px 14px; box-shadow: inset 0 1px 0 rgba(255,255,255,.04); }
textarea { min-height: 108px; resize: vertical; }
.qty-row input:focus, .form input:focus, .pix-key-label input:focus, textarea:focus { border-color: rgba(179, 124, 255, 0.75); box-shadow: 0 0 0 4px rgba(126,63,242,.14); }
.form { display: grid; gap: 16px; margin-top: 18px; }
.inline-form { grid-template-columns: 1fr auto; align-items: end; }
.form label, .pix-key-label { display: grid; gap: 8px; color: var(--muted); font-weight: 850; }
.check-row { grid-template-columns: auto 1fr; align-items: start; gap: 10px !important; font-size: 0.92rem; }
.check-row input { width: auto; margin-top: 4px; }
.saved-box, .cart-item, .client-item, .history-item, .stock-item, .warning-box, .isis-message { border: 1px solid rgba(255,248,230,.14); background: rgba(0, 0, 0, 0.22); border-radius: 19px; padding: 14px; }
.saved-box { margin-top: 16px; color: var(--sage); }
.dark-panel { min-height: 100%; background: linear-gradient(145deg, rgba(35,16,53,.42), rgba(49,67,38,.28)); }
.client-list, .cart-list, .history-list, .stock-list { display: grid; gap: 12px; margin-top: 18px; }
.client-item strong, .cart-item strong, .history-item strong, .stock-item strong { display: block; }
.client-item span, .cart-item span, .history-item span, .stock-item span { display: block; color: var(--muted); font-size: 0.9rem; }
.cart-item, .stock-item { display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.cart-remove { border: 0; color: #ffd3dc; background: transparent; cursor: pointer; font-weight: 950; }
.total-box { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 22px 0; border-top: 1px solid rgba(240,197,106,.20); padding-top: 18px; }
.total-box span { color: var(--muted); font-weight: 850; }
.total-box strong { color: var(--gold); font-size: 2.1rem; text-shadow: 0 0 22px rgba(240,197,106,.20); }
.pix-panel { display: grid; gap: 14px; }
.warning-box { color: #f1dfbf; background: linear-gradient(135deg, rgba(240, 197, 106, 0.12), rgba(126,63,242,.10)); border-color: rgba(240, 197, 106, 0.32); }
.warning-danger { color: var(--danger); background: rgba(255, 179, 167, 0.09); border-color: rgba(255, 179, 167, 0.35); }
.qr-wrap { display: grid; justify-items: center; gap: 10px; border: 1px dashed rgba(240, 197, 106, 0.50); border-radius: 24px; padding: 18px; background: rgba(255, 255, 255, 0.05); }
#pixQr { width: 220px; height: 220px; border-radius: 18px; background: #fff; padding: 10px; }
#pixStatus { margin: 0; color: var(--muted); text-align: center; }
.admin-content { display: grid; gap: 26px; }
.dashboard-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 24px; }
.metric-card { background: linear-gradient(145deg, rgba(126,63,242,.20), rgba(113,138,70,.13)); }
.metric-card:nth-child(2) { background: linear-gradient(145deg, rgba(113,138,70,.24), rgba(35,16,53,.22)); }
.metric-card:nth-child(3) { background: linear-gradient(145deg, rgba(240,197,106,.18), rgba(75,23,63,.22)); }
.metric-card:nth-child(4) { background: linear-gradient(145deg, rgba(75,23,63,.25), rgba(49,67,38,.18)); }
.metric-card span { display: block; color: var(--muted); font-weight: 850; }
.metric-card strong { display: block; margin-top: 8px; color: var(--gold); font-size: clamp(1.5rem, 3vw, 2.35rem); }
.admin-grid { align-items: stretch; }
.database-plan { margin-top: 4px; }
.timeline-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 18px; }
.timeline-grid div { border: 1px solid rgba(255,248,230,.14); border-radius: 20px; padding: 16px; background: linear-gradient(145deg, rgba(255,255,255,.07), rgba(126,63,242,.10)); }
.timeline-grid strong, .timeline-grid span { display: block; }
.timeline-grid span { color: var(--muted); font-size: .92rem; margin-top: 6px; }
.isis-chat { display: grid; gap: 10px; max-height: 360px; overflow: auto; border: 1px solid rgba(179,124,255,.28); border-radius: 24px; background: rgba(0,0,0,.20); padding: 14px; margin: 18px 0; }
.isis-message { max-width: 86%; }
.isis-message.user { justify-self: end; color: #1d1205; background: linear-gradient(135deg, var(--gold), #f7d38a); }
.isis-message.bot { justify-self: start; color: var(--text); background: linear-gradient(135deg, rgba(126,63,242,.22), rgba(113,138,70,.16)); }
.footer { border-top: 1px solid rgba(240,197,106,.18); padding: 48px 0; background: linear-gradient(135deg, rgba(0,0,0,.32), rgba(35,16,53,.24)); }
.footer-grid { grid-template-columns: 1.2fr 0.9fr 0.9fr; align-items: start; }
.footer strong { display: block; margin-top: 10px; font-family: Cinzel, serif; font-size: 1.2rem; color: var(--gold); }
@media (max-width: 1120px) { .feature-grid, .product-grid, .dashboard-grid, .timeline-grid { grid-template-columns: repeat(2, 1fr); } .nav-links { gap: 12px; font-size: .92rem; } }
@media (max-width: 920px) { .hero-grid, .checkout-grid, .split, .footer-grid { grid-template-columns: 1fr; } .nav-links { position: absolute; inset: 82px 16px auto 16px; display: none; flex-direction: column; align-items: stretch; border: 1px solid rgba(240,197,106,.18); background: rgba(10, 9, 18, 0.97); border-radius: 22px; padding: 18px; box-shadow: var(--shadow); } .nav-links.open { display: flex; } .menu-toggle { display: inline-flex; } .inline-form { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .hero { padding-top: 54px; } .feature-grid, .product-grid, .dashboard-grid, .timeline-grid { grid-template-columns: 1fr; } .hero-actions, .checkout-actions, .qty-row, .cart-item, .stock-item { display: grid; grid-template-columns: 1fr; } .floating-card { position: static; width: 100%; margin-top: 16px; } .btn { width: 100%; } }
