/* =====================================================================
   Distrito Sul Store — tema escuro
   ===================================================================== */

:root {
  --bg: #08080a;
  --bg-soft: #0e0e11;
  --card: #121216;
  --card-2: #17171c;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f5f5f7;
  --muted: #a1a1ab;
  --accent-rgb: 255, 210, 0;
  --accent2-rgb: 255, 243, 196;
  --accent: #ffd200;
  --accent-2: #fff3c4;
  --accent-soft: rgba(255, 210, 0, 0.14);
  --accent-ink: #14110a;
  --green: #34d399;
  --yellow: #ffd200;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --shell: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(60rem 40rem at 85% -10%, rgba(var(--accent-rgb), 0.16), transparent 60%),
    radial-gradient(50rem 30rem at 0% 0%, rgba(var(--accent-rgb), 0.06), transparent 55%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; margin: 0; letter-spacing: -0.02em; }

.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 20px; position: relative; z-index: 1; }
main { flex: 1; position: relative; z-index: 1; }

/* ------------------------------- Announcement ---------------------------- */
.announce {
  background:
    linear-gradient(90deg, rgba(var(--accent-rgb), 1) 0%, var(--accent-2) 50%, rgba(var(--accent-rgb), 1) 100%);
  color: #14110a;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 9px 16px;
  position: relative;
  z-index: 5;
  border-bottom: 2px solid #000;
}
.announce strong { background: #0a0a0c; color: var(--accent-2); padding: 2px 8px; border-radius: 4px; }
.announce a { text-decoration: underline; }

/* --------------------------------- Header -------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(8, 8, 10, 0.82);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 22px; height: 74px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em; font-size: 17px; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 11px;
  background: linear-gradient(140deg, var(--accent-2), var(--accent));
  color: var(--accent-ink);
  display: grid; place-items: center; font-size: 16px; font-weight: 800;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.1), 0 8px 24px rgba(var(--accent-rgb), 0.35);
  transform: skewX(-6deg);
}
.brand-mark.big { width: 60px; height: 60px; font-size: 22px; border-radius: 14px; }
.brand-logo { height: 46px; width: auto; max-width: 150px; object-fit: contain; filter: drop-shadow(0 6px 16px rgba(0,0,0,.5)); }
.brand-text { line-height: 1.1; }
.brand small { display: block; font-family: var(--font-body); font-size: 10px; letter-spacing: 0.22em; color: var(--muted); font-weight: 600; text-transform: uppercase; margin-top: 3px; }

.navlinks { display: flex; align-items: center; gap: 4px; flex: 1; }
.navlinks a {
  padding: 8px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
  color: var(--muted); transition: color .18s, background .18s; white-space: nowrap;
}
.navlinks a:hover, .navlinks a.active { color: #fff; background: rgba(255,255,255,0.06); }

.navtools { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(255,255,255,0.03); display: grid; place-items: center; cursor: pointer;
  transition: border-color .18s, background .18s, transform .18s; color: var(--text);
}
.icon-btn:hover { border-color: var(--line-strong); background: rgba(255,255,255,0.07); transform: translateY(-1px); }
.cart-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 0 16px; width: auto; height: 40px; font-size: 13.5px; font-weight: 700; border-radius: 999px; }
.cart-count {
  min-width: 19px; height: 19px; border-radius: 999px; background: var(--accent);
  color: var(--accent-ink); font-size: 11px; font-weight: 800; display: grid; place-items: center; padding: 0 5px;
}
.account-link { font-size: 13.5px; font-weight: 600; color: var(--muted); padding: 8px 10px; border-radius: 8px; }
.account-link:hover { color: #fff; }

.menu-toggle { display: none; }
.mobile-nav { display: none; }

/* --------------------------------- Hero ---------------------------------- */
.hero { position: relative; padding: 56px 0 34px; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: -20% -10% auto; height: 90%;
  background:
    linear-gradient(180deg, rgba(var(--accent-rgb),0.18), transparent 70%),
    radial-gradient(40rem 22rem at 70% 0%, rgba(var(--accent-rgb),0.22), transparent 70%);
  filter: blur(20px); pointer-events: none;
}
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 800;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 16px;
}
.eyebrow::before { content: ''; width: 26px; height: 1px; background: var(--accent); }
.hero h1 { font-size: clamp(38px, 5vw, 62px); font-weight: 800; letter-spacing: -0.045em; }
.hero h1 em { font-style: italic; color: var(--accent-2); font-weight: 700; }
.hero p.lead { color: var(--muted); font-size: 16px; max-width: 46ch; margin: 18px 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-stats { display: flex; gap: 26px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); }
.hero-stats div strong { font-family: var(--font-display); font-size: 20px; display: block; }
.hero-stats div span { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; }

.hero-art {
  position: relative; aspect-ratio: 4 / 3.4; border-radius: 22px; overflow: hidden;
  border: 1px solid var(--line); background:
    radial-gradient(18rem 12rem at 70% 20%, rgba(var(--accent-rgb),0.4), transparent 70%),
    linear-gradient(150deg, #1a1508, #0b0b0e 60%);
  box-shadow: var(--shadow);
}
.hero-art::after {
  content: 'RP'; position: absolute; right: -10px; bottom: -40px;
  font-family: var(--font-display); font-size: 210px; font-weight: 800; letter-spacing: -0.08em;
  color: rgba(255,255,255,0.035); line-height: 1;
}
.hero-art .glowline {
  position: absolute; inset: auto 20px 20px; height: 46px; border-radius: 12px;
  background: linear-gradient(90deg, rgba(var(--accent-rgb),0.22), transparent);
  border: 1px solid var(--line);
}
.hero-art .badge-float {
  position: absolute; top: 18px; left: 18px; padding: 7px 12px; border-radius: 999px;
  background: rgba(0,0,0,0.5); border: 1px solid var(--line-strong); font-size: 11px;
  font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
}
.hero-art .ticket {
  position: absolute; left: 18px; right: 18px; bottom: 76px; padding: 16px;
  border-radius: 14px; background: rgba(10,10,12,0.82); border: 1px solid var(--line);
}
.hero-art .ticket span { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.hero-art .ticket strong { display: block; font-family: var(--font-display); font-size: 22px; margin-top: 4px; }
.hero-art::before {
  content: ''; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(-45deg, transparent 0 26px, rgba(var(--accent-rgb),0.05) 26px 28px);
  pointer-events: none;
}
.hero-art.has-image { background-size: cover; background-position: center; }
.hero-art.has-image::after { display: none; }
.hero-art.has-image::before {
  background: linear-gradient(180deg, rgba(8,8,10,.15) 0%, rgba(8,8,10,.55) 62%, rgba(8,8,10,.9) 100%);
}
.hero-logo { width: 100%; height: 100%; object-fit: contain; padding: 26px; filter: drop-shadow(0 18px 40px rgba(0,0,0,.6)); }

/* Emblema da cidade (fallback quando nao ha logo enviada) */
.hero-emblem {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; padding: 34px 26px 92px;
  text-align: center;
}
.hero-emblem .crown { width: 112px; height: auto; filter: drop-shadow(0 10px 22px rgba(0,0,0,.65)); }
.hero-emblem .emblem-word {
  font-family: var(--font-display); font-weight: 800; font-style: italic;
  font-size: clamp(30px, 3.6vw, 46px); line-height: .92; letter-spacing: -0.03em;
  text-transform: uppercase; color: #fff; transform: skewX(-8deg);
  text-shadow: -3px 3px 0 #0a0a0c, 0 8px 24px rgba(0,0,0,.7); margin-top: 6px;
}
.hero-emblem .emblem-word.sul {
  font-size: clamp(42px, 5vw, 66px); color: var(--accent);
  -webkit-text-stroke: 2px #0a0a0c;
}
.hero-emblem .emblem-sub {
  font-size: 10px; font-weight: 800; letter-spacing: 0.46em; text-transform: uppercase;
  color: var(--text); margin-top: 8px; opacity: .8;
}

/* Pinceladas de fundo do hero */
.brush { position: absolute; pointer-events: none; z-index: 0; opacity: .2; filter: blur(.4px); }
.brush-a { top: 12%; left: -8%; width: 52%; height: 26px; background: var(--accent); transform: rotate(-11deg); border-radius: 40px; }
.brush-b { top: 58%; left: -4%; width: 34%; height: 14px; background: var(--accent-2); transform: rotate(-6deg); border-radius: 30px; opacity: .14; }

/* -------------------------------- Buttons -------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-size: 13.5px; font-weight: 700; cursor: pointer; transition: all .18s;
  align-items: center; justify-content: center; white-space: nowrap;
}
.btn-primary { background: linear-gradient(135deg, var(--accent-2), var(--accent)); color: var(--accent-ink); font-weight: 800; box-shadow: 0 10px 26px rgba(var(--accent-rgb),0.3); border-bottom: 2px solid rgba(0,0,0,0.35); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 32px rgba(var(--accent-rgb),0.42); }
.btn-ghost { background: rgba(255,255,255,0.04); border-color: var(--line); color: var(--text); }
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: var(--line-strong); }
.btn-block { width: 100%; }
.btn-sm { height: 34px; padding: 0 14px; font-size: 12.5px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none !important; }

/* -------------------------------- Sections ------------------------------- */
.section { padding: 44px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.section-head .eyebrow { margin-bottom: 8px; }
.section-head h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; }
.section-head h2 em { font-style: italic; color: var(--accent-2); }
.section-head p { color: var(--muted); font-size: 14px; margin: 6px 0 0; }
.section-head .link-more { font-size: 13px; font-weight: 700; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.section-head .link-more:hover { color: #fff; }

/* --------------------------------- Cards --------------------------------- */
.grid-products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card {
  position: relative; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--card-2), var(--card));
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(var(--accent-rgb),0.45); box-shadow: 0 18px 40px rgba(0,0,0,0.5); }
.card-media { position: relative; aspect-ratio: 1 / .82; overflow: hidden; background: #0b0b0e; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-media img { transform: scale(1.06); }
.card-media.noimg { display: grid; place-items: center; background:
  radial-gradient(60% 60% at 50% 30%, rgba(var(--accent-rgb),0.22), transparent 70%),
  linear-gradient(160deg, #16161b, #0a0a0c); }
.card-media.noimg span {
  font-family: var(--font-display); font-size: 46px; font-weight: 800; color: rgba(255,255,255,0.09);
  letter-spacing: -0.05em;
}
.card-badge {
  position: absolute; top: 10px; left: 10px; padding: 4px 9px; border-radius: 6px;
  background: var(--accent); color: var(--accent-ink); font-size: 10px; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.card-badge.off { background: #111; border: 1px solid var(--line-strong); color: var(--green); }
.card-body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-title { font-family: var(--font-display); font-size: 15px; font-weight: 700; line-height: 1.25; }
.card-title a:hover { color: var(--accent-2); }
.card-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.card-price .now { font-family: var(--font-display); font-size: 19px; font-weight: 800; }
.card-price .old { font-size: 12.5px; color: var(--muted); text-decoration: line-through; }
.card-note { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--muted); }
.pix-dot { width: 7px; height: 7px; border-radius: 50%; background: #32bcad; box-shadow: 0 0 0 3px rgba(50,188,173,0.15); }
.card-actions { display: flex; gap: 8px; margin-top: 10px; }
.card-actions .btn { flex: 1; }
.card-actions .btn-icon { flex: 0 0 40px; padding: 0; }

/* ------------------------------ Trust strip ------------------------------ */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 8px; }
.trust-item {
  display: flex; gap: 12px; align-items: flex-start; padding: 16px;
  border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,0.02);
}
.trust-item .ico { width: 34px; height: 34px; border-radius: 9px; background: var(--accent-soft); color: var(--accent-2); display: grid; place-items: center; flex: none; font-size: 16px; }
.trust-item strong { display: block; font-size: 13.5px; font-family: var(--font-display); }
.trust-item span { font-size: 12px; color: var(--muted); }

/* --------------------------------- Reviews ------------------------------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.review { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: rgba(255,255,255,0.02); display: flex; flex-direction: column; gap: 10px; }
.review .stars { color: var(--yellow); font-size: 13px; letter-spacing: 2px; }
.review p { margin: 0; font-size: 13.5px; color: #d8d8de; }
.review .who { display: flex; align-items: center; gap: 9px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.review .avatar { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(140deg, var(--accent), #7a5a00); display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.review .who small { display: block; color: var(--muted); font-size: 11px; }

/* ---------------------------------- FAQ ---------------------------------- */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,0.02); padding: 0 16px; }
.faq summary { cursor: pointer; padding: 15px 0; font-weight: 600; font-size: 14px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--accent-2); font-size: 18px; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 0 0 15px; color: var(--muted); font-size: 13.5px; }

/* --------------------------------- CTA box ------------------------------- */
.cta-box {
  position: relative; overflow: hidden; border-radius: 20px; border: 1px solid var(--line);
  padding: 40px; background:
    radial-gradient(30rem 16rem at 80% 0%, rgba(var(--accent-rgb),0.3), transparent 70%),
    linear-gradient(140deg, #141418, #0a0a0c);
  display: flex; align-items: center; justify-content: space-between; gap: 26px;
}
.cta-box h2 { font-size: clamp(22px, 3vw, 32px); }
.cta-box p { color: var(--muted); margin: 8px 0 0; font-size: 14px; }

/* --------------------------------- Footer -------------------------------- */
.site-footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 34px 0 26px; background: #070708; position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 30px; }
.footer-grid h4 { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.footer-grid a { display: block; font-size: 13.5px; color: #cfcfd6; padding: 4px 0; }
.footer-grid a:hover { color: var(--accent-2); }
.footer-about { color: var(--muted); font-size: 13px; max-width: 40ch; margin: 0 0 12px; }
.connect-box {
  display: grid; gap: 6px; padding: 12px; border-radius: 11px;
  border: 1px dashed rgba(var(--accent-rgb),.35); background: rgba(var(--accent-rgb),.06);
  max-width: 300px;
}
.connect-box span { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-2); font-weight: 800; }
.connect-box code { font-family: monospace; font-size: 12.5px; color: var(--text); word-break: break-all; }
.connect-box .btn { justify-self: start; margin-top: 2px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); flex-wrap: wrap; }

/* ---------------------------------- Cart --------------------------------- */
.drawer-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(3px);
  z-index: 60; opacity: 0; pointer-events: none; transition: opacity .22s;
}
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100dvh; width: min(430px, 100%);
  background: var(--bg-soft); border-left: 1px solid var(--line); z-index: 61;
  transform: translateX(102%); transition: transform .26s cubic-bezier(.22,.8,.3,1);
  display: flex; flex-direction: column;
}
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 17px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 20px; display: grid; gap: 12px; align-content: start; }
.drawer-foot { padding: 16px 20px 20px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.drawer-total { display: flex; justify-content: space-between; font-size: 14px; }
.drawer-total strong { font-family: var(--font-display); font-size: 20px; }
.cart-empty { text-align: center; color: var(--muted); padding: 40px 0; font-size: 14px; }

.cart-item { display: grid; grid-template-columns: 62px 1fr; gap: 12px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,0.02); }
.cart-item .thumb { width: 62px; height: 62px; border-radius: 9px; overflow: hidden; background: #101013; display: grid; place-items: center; }
.cart-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-item h4 { font-family: var(--font-body); font-size: 13px; font-weight: 600; margin: 0 0 4px; }
.cart-item .price { font-weight: 800; font-size: 13.5px; }
.qty { display: inline-flex; align-items: center; gap: 2px; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; margin-top: 6px; }
.qty button { width: 24px; height: 24px; border: 0; background: transparent; cursor: pointer; color: var(--muted); font-size: 14px; }
.qty button:hover { background: rgba(255,255,255,0.06); color: #fff; }
.qty span { min-width: 22px; text-align: center; font-size: 12px; font-weight: 700; }
.cart-item .remove { border: 0; background: none; color: var(--muted); font-size: 11px; cursor: pointer; padding: 2px 0; }
.cart-item .remove:hover { color: var(--accent-2); }

/* --------------------------------- Forms --------------------------------- */
.form-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); padding: 24px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.input, select.input, textarea.input {
  width: 100%; height: 44px; padding: 0 14px; border-radius: 10px;
  background: #0c0c0f; border: 1px solid var(--line); outline: none;
  transition: border-color .16s, box-shadow .16s;
}
textarea.input { height: auto; padding: 12px 14px; min-height: 110px; resize: vertical; }
.input:focus { border-color: rgba(var(--accent-rgb),0.6); box-shadow: 0 0 0 3px rgba(var(--accent-rgb),0.15); }
.field-hint { font-size: 11.5px; color: var(--muted); }
.alert { padding: 12px 14px; border-radius: 10px; font-size: 13px; margin-bottom: 14px; border: 1px solid; }
.alert-error { background: rgba(var(--accent-rgb),0.1); border-color: rgba(var(--accent-rgb),0.35); color: #ffb3b7; }
.alert-ok { background: rgba(52,211,153,0.1); border-color: rgba(52,211,153,0.35); color: #9df0cd; }
.alert-warn { background: rgba(255,196,0,0.08); border-color: rgba(255,196,0,0.35); color: #ffe066; }

.auth-wrap { max-width: 430px; margin: 50px auto; }
.auth-wrap h1 { font-size: 28px; margin-bottom: 6px; }
.auth-wrap .sub { color: var(--muted); font-size: 13.5px; margin-bottom: 22px; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; margin: 18px 0; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.btn-discord { background: #5865f2; color: #fff; }
.btn-discord:hover { background: #4752c4; }

/* --------------------------------- Tables -------------------------------- */
.table-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: auto; background: var(--card); }
table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 640px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); background: rgba(255,255,255,0.02); }
tr:last-child td { border-bottom: 0; }
td.wrap { white-space: normal; }
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; border: 1px solid var(--line); }
.pill.pending { color: var(--yellow); border-color: rgba(251,191,36,0.35); background: rgba(251,191,36,0.08); }
.pill.paid { color: #93c5fd; border-color: rgba(147,197,253,0.35); background: rgba(147,197,253,0.08); }
.pill.delivered { color: var(--green); border-color: rgba(52,211,153,0.35); background: rgba(52,211,153,0.08); }
.pill.partial { color: #f0abfc; border-color: rgba(240,171,252,0.3); background: rgba(240,171,252,0.08); }
.pill.cancelled, .pill.failed { color: #fda4af; border-color: rgba(253,164,175,0.3); background: rgba(253,164,175,0.08); }

/* -------------------------------- Product -------------------------------- */
.product-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 36px; padding: 34px 0; align-items: start; }
.product-media { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: #0b0b0e; aspect-ratio: 1 / .9; }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-media.noimg { display: grid; place-items: center; background: radial-gradient(60% 60% at 50% 30%, rgba(var(--accent-rgb),0.2), transparent 70%), linear-gradient(160deg, #16161b, #0a0a0c); }
.product-media.noimg span { font-family: var(--font-display); font-size: 90px; font-weight: 800; color: rgba(255,255,255,0.08); }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); padding: 18px 0 0; }
.breadcrumb a:hover { color: #fff; }
.product-info h1 { font-size: clamp(26px, 3.4vw, 40px); margin: 12px 0 14px; }
.price-row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 18px 0 6px; }
.price-row .now { font-family: var(--font-display); font-size: 36px; font-weight: 800; letter-spacing: -0.03em; }
.price-row .old { color: var(--muted); text-decoration: line-through; font-size: 15px; }
.price-row .off { font-size: 11px; font-weight: 800; color: var(--green); background: rgba(52,211,153,0.12); padding: 3px 8px; border-radius: 6px; }
.installments { color: var(--muted); font-size: 12.5px; }
.product-desc { color: #cfcfd6; font-size: 14px; margin: 20px 0; white-space: pre-line; }
.buy-box { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); padding: 18px; display: grid; gap: 12px; }
.buy-row { display: flex; gap: 10px; align-items: center; }
.delivery-line { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); }
.delivery-line .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(52,211,153,0.15); }

/* -------------------------------- Checkout ------------------------------- */
.checkout-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; padding: 34px 0 60px; align-items: start; }
.steps { display: flex; gap: 8px; margin-bottom: 18px; }
.step { flex: 1; height: 4px; border-radius: 999px; background: rgba(255,255,255,0.08); }
.step.on { background: var(--accent); }
.pay-methods { display: grid; gap: 10px; }
.pay-option { display: flex; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 14px; cursor: pointer; transition: border-color .16s, background .16s; }
.pay-option:hover { border-color: var(--line-strong); background: rgba(255,255,255,0.03); }
.pay-option.selected { border-color: var(--accent); background: var(--accent-soft); }
.pay-option input { accent-color: var(--accent); }
.pay-option strong { display: block; font-size: 14px; }
.pay-option small { color: var(--muted); font-size: 12px; }
.summary-item { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.summary-item:last-of-type { border-bottom: 0; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 12px; border-top: 1px solid var(--line); margin-top: 8px; }
.summary-total strong { font-family: var(--font-display); font-size: 24px; }

/* --------------------------------- Order --------------------------------- */
.order-wrap { max-width: 780px; margin: 40px auto; }
.order-card { border: 1px solid var(--line); border-radius: 18px; background: var(--card); padding: 26px; }
.order-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.order-code { font-family: var(--font-display); font-size: 13px; color: var(--muted); letter-spacing: 0.1em; }
.qr-box { display: grid; grid-template-columns: 190px 1fr; gap: 20px; align-items: center; border: 1px dashed var(--line-strong); border-radius: 14px; padding: 18px; margin-top: 18px; background: #fff; }
.qr-box img { width: 190px; height: 190px; object-fit: contain; }
.qr-box .qr-text { color: #111; }
.qr-box .qr-text h4 { color: #111; font-size: 14px; }
.qr-box .qr-text p { color: #444; font-size: 12px; margin: 4px 0 10px; }
.copy-code { width: 100%; font-family: monospace; font-size: 11px; border: 1px solid #ddd; border-radius: 8px; padding: 8px; background: #f7f7f7; color: #333; resize: none; height: 62px; }
.spinner { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,0.25); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* --------------------------------- Admin --------------------------------- */
.admin-layout { display: grid; grid-template-columns: 210px 1fr; gap: 24px; padding: 26px 0 60px; align-items: start; }
.admin-nav { position: sticky; top: 90px; display: grid; gap: 4px; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; background: var(--card); }
.admin-nav a { padding: 9px 12px; border-radius: 9px; font-size: 13.5px; color: var(--muted); font-weight: 600; }
.admin-nav a:hover { background: rgba(255,255,255,0.05); color: #fff; }
.admin-nav a.active { background: var(--accent-soft); color: var(--accent-2); }
.admin-nav-label {
  font-size: 10px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); opacity: .7; padding: 12px 12px 4px;
}
.admin-nav-out { margin-top: 8px; border-top: 1px solid var(--line); padding-top: 10px !important; }
.admin-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 22px; }
.stat { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; background: var(--card); }
.stat span { font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }
.stat strong { display: block; font-family: var(--font-display); font-size: 24px; margin-top: 6px; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); padding: 20px; margin-bottom: 18px; }
.panel h3 { font-size: 16px; margin-bottom: 14px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-grid .full { grid-column: 1 / -1; }
.check { display: flex; align-items: center; gap: 8px; font-size: 13px; margin: 10px 0; }
.check input { accent-color: var(--accent); }

/* ----------------------------- Paginas de texto --------------------------- */
.text-page { max-width: 800px; margin: 34px auto 64px; }
.text-page .breadcrumb { font-size: 12px; color: var(--muted); display: flex; gap: 8px; margin-bottom: 14px; }
.text-page .breadcrumb a:hover { color: var(--accent-2); }
.text-page h1 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 18px; }
.rich-text { color: #d3d3db; font-size: 14.5px; line-height: 1.75; }
.rich-text p { margin: 0 0 14px; }
.rich-text a { color: var(--accent-2); }

/* --------------------------- Configuracoes do site ------------------------ */
.config-form .panel h3 {
  font-size: 13px; text-transform: uppercase; letter-spacing: .16em; color: var(--accent-2);
  padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.config-form .field.full { grid-column: 1 / -1; }
.color-row { display: flex; align-items: center; gap: 10px; }
.color-row input[type="color"] {
  width: 46px; height: 44px; padding: 3px; border-radius: 10px; border: 1px solid var(--line);
  background: #0c0c0f; cursor: pointer; flex: none;
}
.logo-preview { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.logo-preview img {
  max-height: 74px; max-width: 220px; object-fit: contain;
  border: 1px solid var(--line); border-radius: 10px; background: #08080a; padding: 8px;
}
.sticky-save {
  position: sticky; bottom: 0; z-index: 10; display: flex; align-items: center;
  justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 8px; padding: 14px 18px; border-radius: 14px;
  border: 1px solid rgba(var(--accent-rgb),.3); background: rgba(12,12,14,.92);
  backdrop-filter: blur(10px); box-shadow: 0 -10px 30px rgba(0,0,0,.45);
}
.pay-status-row { display: flex; flex-wrap: wrap; gap: 8px; }
.steps-list { margin: 0 0 12px; padding-left: 20px; color: #d3d3db; font-size: 13.5px; }
.steps-list li { margin-bottom: 8px; }
.steps-list strong { color: var(--text); }

/* -------------------------------- Toast ---------------------------------- */
.toasts { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 90; display: grid; gap: 8px; width: min(420px, calc(100% - 40px)); }
.toast { padding: 12px 16px; border-radius: 11px; background: #16161b; border: 1px solid var(--line-strong); font-size: 13px; box-shadow: var(--shadow); animation: slideUp .25s ease; }
.toast.error { border-color: rgba(var(--accent-rgb),0.5); }
.toast.ok { border-color: rgba(52,211,153,0.5); }
@keyframes slideUp { from { opacity: 0; transform: translateY(10px); } }

/* ------------------------------ Responsivo ------------------------------- */
@media (max-width: 1024px) {
  .grid-products { grid-template-columns: repeat(3, 1fr); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .navlinks { display: none; }
  .menu-toggle { display: grid; }
  .product-layout, .checkout-layout { grid-template-columns: 1fr; }
  .reviews { grid-template-columns: 1fr 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-layout { grid-template-columns: minmax(0, 1fr); }
  .admin-nav { position: static; display: flex; overflow-x: auto; min-width: 0; max-width: 100%; }
  .admin-nav > * { flex: none; }
}

@media (max-width: 760px) {
  .navlinks, .account-link { display: none; }
  .menu-toggle { display: grid; }
  .nav { gap: 10px; }
  .brand small { display: none; }
  .grid-products { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card-title { font-size: 13.5px; }
  .card-price .now { font-size: 17px; }
  .card-actions { flex-direction: column; }
  .card-actions .btn-icon { display: none; }
  .trust, .reviews, .footer-grid { grid-template-columns: 1fr; }
  .cta-box { flex-direction: column; align-items: flex-start; padding: 26px; }
  .hero { padding: 34px 0 20px; }
  .hero-stats { gap: 18px; }
  .qr-box { grid-template-columns: 1fr; justify-items: center; }
  .form-grid { grid-template-columns: 1fr; }
  .section { padding: 32px 0; }
  .mobile-nav.open {
    display: grid; position: fixed; inset: 68px 0 auto; background: var(--bg-soft);
    border-bottom: 1px solid var(--line); padding: 12px 20px 20px; gap: 2px; z-index: 39;
  }
  .mobile-nav a { padding: 11px 10px; border-radius: 9px; font-size: 14px; font-weight: 600; color: var(--muted); }
  .mobile-nav a:hover { background: rgba(255,255,255,0.05); color: #fff; }
}

@media (max-width: 420px) {
  .grid-products { grid-template-columns: 1fr; }
  .cart-btn span.label { display: none; }
}

/* =====================================================================
   Painel — dashboard e componentes novos
   ===================================================================== */
.kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.kpi-grid-sm { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kpi {
  position: relative; overflow: hidden; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px 16px 14px; background: var(--card);
}
.kpi::after {
  content: ''; position: absolute; inset: auto -30px -50px auto; width: 110px; height: 110px;
  border-radius: 50%; background: radial-gradient(circle, rgba(var(--accent-rgb),.14), transparent 70%);
  pointer-events: none;
}
.kpi-label { display: block; font-size: 10.5px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 700; }
.kpi-value { display: block; font-family: var(--font-display); font-size: 26px; letter-spacing: -.02em; margin: 8px 0 4px; line-height: 1.1; }
.kpi-delta { display: block; font-size: 11.5px; color: var(--muted); }
.kpi-delta.up { color: var(--green); }
.kpi-delta.down { color: #fda4af; }
.kpi-delta b { color: var(--text); }

.period-tabs { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); }
.period-tab { padding: 6px 12px; border-radius: 7px; font-size: 12px; font-weight: 700; color: var(--muted); }
.period-tab:hover { color: #fff; background: rgba(255,255,255,.05); }
.period-tab.active { background: var(--accent); color: var(--accent-ink); }

.admin-split { display: grid; grid-template-columns: 1.55fr 1fr; gap: 18px; align-items: start; }
.admin-split > .panel { min-width: 0; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.panel-head h3 { margin: 0; }

.chart-wrap { border: 1px solid var(--line); border-radius: 12px; padding: 12px 10px 8px; background: linear-gradient(180deg, rgba(var(--accent-rgb),.05), transparent 60%); }
.chart-svg { display: block; width: 100%; height: 170px; overflow: visible; }
.chart-axis { display: flex; justify-content: space-between; gap: 4px; margin-top: 8px; font-size: 10px; color: var(--muted); }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.mini-stats > div { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: rgba(255,255,255,.02); }
.mini-stats span { display: block; font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.mini-stats strong { display: block; font-family: var(--font-display); font-size: 17px; margin-top: 3px; }

.funnel { display: grid; gap: 12px; }
.funnel-top { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-bottom: 5px; }
.funnel-top strong { color: var(--text); font-family: var(--font-display); }
.funnel-track { height: 9px; border-radius: 999px; background: rgba(255,255,255,.06); overflow: hidden; }
.funnel-bar { height: 100%; border-radius: 999px; transition: width .3s; }

.rank-list { display: grid; gap: 2px; }
.rank-item { display: flex; align-items: center; gap: 10px; padding: 9px 6px; border-bottom: 1px solid var(--line); }
.rank-item:last-child { border-bottom: 0; }
.rank-pos { width: 20px; flex: none; text-align: center; font-size: 11px; font-weight: 800; color: var(--muted); }
.rank-media { width: 38px; height: 38px; flex: none; border-radius: 9px; overflow: hidden; display: grid; place-items: center; background: linear-gradient(160deg, #1b1b20, #0b0b0e); border: 1px solid var(--line); }
.rank-media img { width: 100%; height: 100%; object-fit: cover; }
.rank-media span { font-family: var(--font-display); font-weight: 800; color: rgba(255,255,255,.35); }
.rank-media.avatar { border-radius: 50%; background: var(--accent-soft); }
.rank-media.avatar span { color: var(--accent-2); }
.rank-body { flex: 1; min-width: 0; }
.rank-body strong { display: block; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-body span { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.rank-value { font-family: var(--font-display); font-size: 13.5px; white-space: nowrap; }

.timeline { display: grid; gap: 2px; }
.timeline-item { display: flex; gap: 12px; padding: 9px 2px; }
.timeline-dot { width: 9px; height: 9px; flex: none; margin-top: 5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb),.14); }
.timeline-dot.delivery_ok { background: var(--green); box-shadow: 0 0 0 3px rgba(52,211,153,.14); }
.timeline-dot.delivery_fail, .timeline-dot.attempt_fail { background: #fb7185; box-shadow: 0 0 0 3px rgba(251,113,133,.14); }
.timeline-dot.order_paid { background: #38bdf8; box-shadow: 0 0 0 3px rgba(56,189,248,.14); }
.timeline-body { min-width: 0; }
.timeline-body strong { display: block; font-size: 12.5px; }
.timeline-body span { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; word-break: break-word; }
.timeline-body small { display: block; font-size: 10.5px; color: var(--muted); opacity: .7; margin-top: 3px; }

.cell-stack strong { display: block; font-size: 12.5px; }
.cell-stack span { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }
.row-actions { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.row-actions form { display: inline; }
.row-actions .btn { padding: 5px 9px; font-size: 11px; }
.filter-panel { padding: 16px; }
.filter-panel .form-grid { align-items: end; }
.stack-actions { display: grid; gap: 8px; }
.stack-actions form { display: block; }
.stack-actions .btn { width: 100%; }
.code-block {
  display: block; margin: 0; padding: 12px 14px; border-radius: 10px; overflow-x: auto;
  background: #0a0a0d; border: 1px solid var(--line); color: #d8d8e0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 11.5px; white-space: pre-wrap; word-break: break-all;
}
.mini-thumb { width: 40px; height: 40px; border-radius: 8px; overflow: hidden; display: grid; place-items: center; background: #0b0b0e; border: 1px solid var(--line); }
.mini-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mini-thumb span { font-family: var(--font-display); font-weight: 800; color: rgba(255,255,255,.3); }

.delivery-builder {
  margin-top: 14px; padding: 16px; border: 1px dashed var(--line-strong);
  border-radius: var(--radius); background: rgba(var(--accent-rgb),.03);
}
.delivery-builder-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.delivery-fields[hidden] { display: none; }

@media (max-width: 1200px) {
  .kpi-grid, .kpi-grid-sm { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-split { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .kpi-value { font-size: 22px; }
  .mini-stats { grid-template-columns: 1fr; }
  .admin-nav-label { display: none; }
  .admin-nav { gap: 6px; padding: 8px; }
  .admin-nav a { white-space: nowrap; }
}

/* =====================================================================
   Loja publica — faixa de compras, categorias e passos
   ===================================================================== */
.ticker { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.02); overflow: hidden; }
.ticker-inner { display: flex; align-items: center; gap: 16px; padding: 10px 0; }
.ticker-label {
  display: inline-flex; align-items: center; gap: 7px; flex: none;
  font-size: 10.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-2);
}
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(52,211,153,.15); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(52,211,153,0); } }
.ticker-track { display: flex; gap: 26px; white-space: nowrap; overflow: hidden; width: max-content; animation: tickerMove 38s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes tickerMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-item { font-size: 12px; color: var(--muted); flex: none; }
.ticker-item strong { color: var(--text); }
.ticker-item b { color: var(--accent-2); font-weight: 700; }
.ticker-item em { font-style: normal; opacity: .55; font-size: 10.5px; margin-left: 4px; }

.cat-strip { border-bottom: 1px solid var(--line); }
.cat-strip-inner { display: flex; gap: 8px; padding: 14px 0; overflow-x: auto; scrollbar-width: none; }
.cat-strip-inner::-webkit-scrollbar { display: none; }
.cat-chip {
  flex: none; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 12px; font-weight: 700; color: var(--muted); background: var(--card); transition: .16s;
}
.cat-chip:hover { color: #fff; border-color: var(--line-strong); transform: translateY(-1px); }
.cat-chip.active { background: var(--accent); color: var(--accent-ink); border-color: transparent; }

.section-tight { padding: 34px 0 10px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.step-card {
  position: relative; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(160deg, var(--card-2), var(--card)); overflow: hidden;
}
.step-card::after { content: ''; position: absolute; right: -40px; top: -40px; width: 130px; height: 130px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--accent-rgb),.12), transparent 70%); }
.step-num { font-family: var(--font-display); font-size: 13px; font-weight: 800; color: var(--accent); letter-spacing: .1em; }
.step-card h3 { font-size: 15.5px; margin: 8px 0 6px; }
.step-card p { margin: 0; font-size: 12.5px; color: var(--muted); line-height: 1.6; }

.product-meta-row { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 4px; }
.product-trust {
  display: flex; gap: 14px; flex-wrap: wrap; padding-top: 12px; border-top: 1px solid var(--line);
  font-size: 11.5px; color: var(--muted);
}
.product-trust span { display: inline-flex; align-items: center; gap: 6px; }
.product-trust svg { color: var(--green); flex: none; }

@media (max-width: 900px) {
  .steps-grid { grid-template-columns: 1fr; }
  .ticker-inner { flex-direction: column; align-items: flex-start; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  .live-dot { animation: none; }
}



/* =====================================================================
   ADMIN 2.0 - shell com sidebar + dashboard
   ===================================================================== */

.admin-body { display: block; background: #07090d; }
.admin-body .announce,
.admin-body .site-header,
.admin-body .mobile-nav,
.admin-body .site-footer,
.admin-body .drawer,
.admin-body .drawer-backdrop { display: none !important; }

.admin-shell {
  display: grid;
  grid-template-columns: 264px minmax(0, 1fr);
  min-height: 100vh;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px 14px;
  background: #0b0e14;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 2px 8px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.admin-brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 10px;
  background: #12161d;
  flex: none;
}

.admin-brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-display);
  font-weight: 800;
  flex: none;
}

.admin-brand-text {
  display: flex;
  flex-direction: column;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}

.admin-brand-text small {
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.admin-user-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  background: #11151d;
}

.admin-user-card small { display: block; font-size: 10.5px; color: var(--muted); }
.admin-user-card strong { display: block; font-size: 13px; }

.admin-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  background: linear-gradient(140deg, #ffb300, #ffe066);
  color: #1a1406;
  font-size: 14px;
  font-weight: 800;
}

.admin-avatar.sm { width: 32px; height: 32px; font-size: 12px; }

.admin-menu { display: flex; flex-direction: column; gap: 16px; flex: 1; }
.admin-group { display: grid; gap: 2px; }

.admin-group-title {
  padding: 4px 10px 6px;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6b7280;
  font-weight: 700;
}

.admin-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 9px;
  color: #a1a1ab;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
}

.admin-menu a svg { width: 17px; height: 17px; flex: none; opacity: 0.85; }
.admin-menu a:hover { background: rgba(255, 255, 255, 0.05); color: #fff; }

.admin-menu a.active {
  background: rgba(var(--accent-rgb), 0.1);
  color: var(--accent-2);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.16);
}

.admin-store-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 6px;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.admin-store-link svg { width: 15px; height: 15px; }
.admin-store-link:hover { color: #fff; border-color: rgba(255, 255, 255, 0.16); }

.admin-main { min-width: 0; padding: 0 28px 48px; }
.admin-content { max-width: 1480px; margin: 0 auto; }

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 15px 0 13px;
  margin-bottom: 20px;
  background: rgba(7, 9, 13, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-topbar-info { display: flex; align-items: center; gap: 36px; flex-wrap: wrap; }

.admin-topbar-info span {
  display: block;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b7280;
  font-weight: 600;
}

.admin-topbar-info strong { display: block; margin-top: 2px; font-size: 13px; color: #e5e7eb; font-weight: 700; }
.admin-topbar-info .is-open i,
.admin-topbar-info .is-closed i {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: 1px;
}
.admin-topbar-info .is-open i { background: var(--green); box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.14); }
.admin-topbar-info .is-closed i { background: #fb7185; box-shadow: 0 0 0 3px rgba(251, 113, 133, 0.14); }

.admin-topbar-actions { display: flex; align-items: center; gap: 10px; }

.admin-icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  color: var(--muted);
}
.admin-icon-btn:hover { color: #fff; border-color: rgba(255, 255, 255, 0.18); }
.admin-icon-btn svg { width: 17px; height: 17px; }

/* ------------------------------- Dashboard ------------------------------ */

.dash-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.dash-head h1 { font-size: 24px; margin: 0 0 2px; letter-spacing: -0.02em; }
.dash-head p { margin: 0; }

.dash-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.dash-card {
  display: flex;
  flex-direction: column;
  min-height: 154px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  background: #0f131a;
}

.dash-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.dash-card-tag { font-size: 10.5px; color: #6b7280; white-space: nowrap; }

.dash-info {
  width: 16px;
  height: 16px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  font-size: 9.5px;
  color: #7d7d87;
  cursor: help;
}

.dash-big {
  display: block;
  margin: 10px 0 2px;
  font-family: var(--font-display);
  font-size: 27px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.dash-sub { font-size: 11.5px; color: var(--muted); }

.dash-foot {
  margin-top: auto;
  padding-top: 11px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 10.5px;
  color: #6b7280;
}

.dash-chart-line { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.dash-delta { font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.dash-delta.up { color: var(--green); }
.dash-delta.down { color: #fb7185; }

.dash-spark { display: block; width: 100%; height: 54px; margin-top: auto; }

.visit-bars { display: flex; align-items: flex-end; gap: 6px; flex: 1; min-height: 58px; padding-top: 10px; }
.visit-col { flex: 1; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; min-width: 0; }
.visit-bar { width: 100%; max-width: 15px; min-height: 4px; border-radius: 3px 3px 1px 1px; background: linear-gradient(180deg, #fb7185, #e11d48); }
.visit-col small { font-size: 9px; color: #6b7280; line-height: 1; }

.dash-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.dash-grid-2-1 { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }

.dash-panel { margin-bottom: 0; background: #0f131a; border-color: rgba(255, 255, 255, 0.07); }
.dash-link { color: var(--accent-2); }

.payment-list { display: flex; flex-direction: column; }

.payment-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: inherit;
}
.payment-row:last-child { border-bottom: 0; }
.payment-row:hover { background: rgba(255, 255, 255, 0.025); }

.payment-media {
  width: 36px;
  height: 36px;
  flex: none;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: #171b22;
  font-size: 13px;
  font-weight: 700;
  color: #6b7280;
}
.payment-media img { width: 100%; height: 100%; object-fit: cover; }

.payment-main { flex: 1; min-width: 0; }
.payment-main strong,
.payment-main span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.payment-main strong { font-size: 12.5px; }
.payment-main span { font-size: 10.5px; color: var(--muted); }

.payment-row .pill { flex: none; font-size: 9.5px; padding: 3px 8px; }

.payment-money { min-width: 90px; text-align: right; }
.payment-money strong { display: block; font-size: 12px; color: var(--green); font-weight: 700; }
.payment-money small { font-size: 10px; color: #6b7280; }

.dash-panel-big {
  display: block;
  margin: 2px 0 8px;
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: -0.02em;
}

.dash-year-chart { display: block; width: 100%; height: 190px; }

.dash-year-axis {
  display: flex;
  justify-content: space-between;
  gap: 4px;
  margin-top: 4px;
  font-size: 9.5px;
  color: #6b7280;
}

.donut-wrap { display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; }
.donut-svg { width: 180px; height: 180px; flex: none; }
.donut-number { fill: #fff; font-family: var(--font-display); font-size: 22px; font-weight: 800; }
.donut-label { fill: #8b8b95; font-size: 9px; }
.donut-legend { display: flex; flex-direction: column; gap: 7px; flex: 1; min-width: 150px; }
.donut-legend-item { display: flex; align-items: center; gap: 8px; font-size: 11.5px; }
.donut-legend-item i { width: 9px; height: 9px; flex: none; border-radius: 2px; }
.donut-legend-item span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); }
.donut-legend-item strong { font-size: 11.5px; }

.dash-ops { margin-bottom: 16px; }

@media (max-width: 1180px) {
  .dash-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash-grid, .dash-grid-2-1 { grid-template-columns: minmax(0, 1fr); }
  .admin-topbar-hide-sm { display: none; }
}

@media (max-width: 900px) {
  .admin-shell { grid-template-columns: minmax(0, 1fr); }
  .admin-sidebar { position: static; height: auto; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
  .admin-user-card { display: none; }
  .admin-menu { max-height: 44vh; overflow-y: auto; }
  .admin-store-link { display: none; }
  .admin-main { padding: 0 16px 40px; }
  .admin-topbar { position: static; }
}

@media (max-width: 640px) {
  .dash-cards { grid-template-columns: minmax(0, 1fr); }
  .dash-big { font-size: 24px; }
  .payment-row .pill { display: none; }
  .admin-topbar-info { gap: 18px; }
  .donut-svg { width: 150px; height: 150px; }
}

/* =====================================================================
   LOJA - 3 layouts + postagens
   ===================================================================== */

/* Busca no hero (todos os layouts) */
.hero-search {
  display: flex;
  gap: 8px;
  max-width: 470px;
  margin-top: 22px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}
.hero-search input {
  flex: 1;
  min-width: 0;
  padding: 9px 14px;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 13px;
  outline: none;
}
.hero-search input::placeholder { color: #74747f; }
.hero-search .btn { border-radius: 999px; }

/* Vitrine de cards no hero (layouts vitrine/prime) */
.hero-showcase {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-content: center;
  min-height: 360px;
}
.showcase-glow {
  position: absolute;
  inset: 8% 6%;
  background: radial-gradient(circle at 50% 45%, rgba(var(--accent-rgb), 0.22), transparent 68%);
  filter: blur(24px);
  pointer-events: none;
}
.showcase-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  backdrop-filter: blur(10px);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.showcase-card:hover { transform: translateY(-4px); border-color: rgba(var(--accent-rgb), 0.4); }
.showcase-1 { grid-row: span 2; justify-content: flex-end; }
.showcase-2 { margin-top: 22px; }
.showcase-3 { margin-top: -12px; }

.showcase-media {
  display: grid;
  place-items: center;
  flex: 1;
  min-height: 96px;
  border-radius: 12px;
  background: linear-gradient(150deg, #1b1b22, #0b0b0f);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.showcase-media > span {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.22);
}
.showcase-info { display: flex; flex-direction: column; gap: 2px; }
.showcase-info strong { font-size: 12.5px; line-height: 1.3; }
.showcase-info small { font-size: 12px; color: var(--accent-2); font-weight: 700; }
.showcase-badge {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: -14px;
  transform: translateX(-50%);
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

/* Layout 2 - Vitrine */
.layout-vitrine .hero { padding: 42px 0 26px; }
.layout-vitrine .hero-inner { grid-template-columns: 1.05fr 0.95fr; gap: 32px; }
.layout-vitrine .hero h1 { font-size: clamp(34px, 4.4vw, 54px); }
.layout-vitrine .hero p.lead { margin: 14px 0 20px; font-size: 15px; }
.layout-vitrine .hero-showcase { min-height: 330px; }
.layout-vitrine .section { padding: 48px 0; }
.layout-vitrine .grid-products { gap: 12px; }
.layout-vitrine .card { border-radius: 12px; }
.layout-vitrine .card-media { aspect-ratio: 1 / 1; }
.layout-vitrine .card-body { padding: 12px 13px 14px; }
.layout-vitrine .cat-strip-inner { justify-content: center; }
.layout-vitrine .trust { margin-top: 18px; }
.layout-vitrine .steps-grid { gap: 12px; }

/* Layout 3 - Prime */
.layout-prime .hero {
  padding: 72px 0 46px;
  background:
    radial-gradient(ellipse at 12% 0%, rgba(var(--accent-rgb), 0.2), transparent 55%),
    radial-gradient(ellipse at 92% 30%, rgba(255, 210, 0, 0.14), transparent 52%);
  border-bottom: 1px solid var(--line);
}
.layout-prime .hero h1 { font-size: clamp(42px, 6vw, 74px); line-height: 0.98; letter-spacing: -0.05em; }
.layout-prime .hero p.lead { font-size: 17px; }
.layout-prime .hero-showcase { min-height: 430px; }
.layout-prime .showcase-card {
  border-radius: 22px;
  border-color: rgba(var(--accent-rgb), 0.22);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45);
}
.layout-prime .showcase-1 { transform: rotate(-2deg); }
.layout-prime .showcase-2 { transform: translateY(20px) rotate(2deg); }
.layout-prime .grid-products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.layout-prime .card {
  border-radius: 18px;
  border-color: rgba(var(--accent-rgb), 0.16);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.layout-prime .card:hover { box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5); }
.layout-prime .card-media { aspect-ratio: 1 / 0.95; }
.layout-prime .section-head h2 { font-size: clamp(28px, 3.6vw, 42px); }
.layout-prime .cat-chip { border-radius: 6px; text-transform: uppercase; letter-spacing: 0.08em; font-size: 10.5px; }
.layout-prime .step-card { background: linear-gradient(160deg, rgba(var(--accent-rgb), 0.07), transparent 70%); }
.layout-prime .ticker-label { border-radius: 6px; }

/* Seletor de layout no painel */
.layout-picker {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.layout-option {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.layout-option input { position: absolute; opacity: 0; pointer-events: none; }
.layout-option:hover { border-color: var(--line-strong); }
.layout-option.active { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.layout-option strong { font-size: 13px; }
.layout-option small { font-size: 11px; color: var(--muted); line-height: 1.45; }

.layout-preview {
  position: relative;
  display: block;
  height: 88px;
  margin-bottom: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #0b0b0f;
}
.lp-bar { position: absolute; inset: 0 0 auto; height: 10px; background: rgba(255, 255, 255, 0.07); }
.lp-hero { position: absolute; top: 16px; left: 8px; right: 8px; height: 28px; border-radius: 5px; background: linear-gradient(100deg, rgba(var(--accent-rgb), 0.38), rgba(255, 255, 255, 0.04)); }
.lp-grid { position: absolute; left: 8px; right: 8px; bottom: 8px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.lp-grid i { height: 18px; border-radius: 3px; background: rgba(255, 255, 255, 0.08); }
.preview-vitrine .lp-hero { height: 20px; background: rgba(255, 255, 255, 0.07); }
.preview-prime .lp-hero { height: 34px; background: radial-gradient(circle at 50% 10%, rgba(var(--accent-rgb), 0.55), rgba(255, 255, 255, 0.03)); }
.preview-prime .lp-grid { grid-template-columns: repeat(3, 1fr); }

/* Postagens */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.post-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.post-card:hover { transform: translateY(-4px); border-color: rgba(var(--accent-rgb), 0.35); }
.post-cover {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, rgba(var(--accent-rgb), 0.16), #101014 70%);
  background-size: cover;
  background-position: center;
}
.post-cover span { font-family: var(--font-display); font-size: 46px; font-weight: 800; color: rgba(255, 255, 255, 0.16); }
.post-body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 16px; }
.post-date { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent-2); font-weight: 700; }
.post-body h3 { font-size: 16px; line-height: 1.3; }
.post-body p { flex: 1; margin: 0; font-size: 12.5px; color: var(--muted); }
.post-more { font-size: 11.5px; font-weight: 700; color: var(--accent-2); }

.post-page { padding: 44px 0 8px; }
.post-shell { max-width: 860px; }
.post-back { display: inline-block; margin-bottom: 22px; font-size: 12px; font-weight: 700; color: var(--muted); }
.post-back:hover { color: #fff; }
.post-head h1 { font-size: clamp(30px, 4.5vw, 50px); line-height: 1.06; letter-spacing: -0.03em; margin: 8px 0 12px; }
.post-excerpt { font-size: 16px; color: var(--muted); max-width: 62ch; }
.post-hero { aspect-ratio: 16 / 8; margin: 26px 0; border: 1px solid var(--line); border-radius: 18px; background-size: cover; background-position: center; }
.post-content { font-size: 15.5px; line-height: 1.85; color: #d6d6de; }
.post-content p { margin: 0 0 18px; white-space: pre-line; }

@media (max-width: 980px) {
  .hero-showcase { min-height: 300px; }
  .layout-prime .hero { padding: 52px 0 34px; }
  .layout-prime .grid-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .layout-picker { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-showcase { display: none; }
  .layout-vitrine .hero-inner,
  .layout-prime .hero-inner { grid-template-columns: 1fr; }
  .hero-search { max-width: none; }
  .grid-products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .layout-prime .grid-products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .post-grid { grid-template-columns: 1fr; }
  .post-hero { aspect-ratio: 16 / 10; }
}

/* =====================================================================
   POLISH 2.0 - acabamento visual da loja
   ===================================================================== */

body:not(.admin-body) {
  background-image:
    radial-gradient(1100px 560px at 8% -10%, rgba(var(--accent-rgb), 0.08), transparent 62%),
    radial-gradient(900px 520px at 100% 0%, rgba(255, 210, 0, 0.06), transparent 60%);
  background-attachment: fixed;
}

::selection { background: rgba(var(--accent-rgb), 0.32); color: #fff; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #08080a; }
::-webkit-scrollbar-thumb { background: #232330; border-radius: 999px; border: 2px solid #08080a; }
::-webkit-scrollbar-thumb:hover { background: #33333f; }

/* Ritmo das secoes */
.section { position: relative; }
.section + .section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1200px, calc(100% - 40px));
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.07), transparent);
}
.section-head h2 { letter-spacing: -0.035em; line-height: 1.05; text-wrap: balance; }
.section-head h2 em {
  background: linear-gradient(100deg, var(--accent-2), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-head .link-more {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.section-head .link-more:hover { color: #fff; border-color: var(--line-strong); background: rgba(255, 255, 255, 0.05); }

/* Botoes */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.4) 50%, transparent 70%);
  transform: translateX(-130%);
  transition: transform 0.65s ease;
}
.btn-primary:hover::after { transform: translateX(130%); }
.btn-ghost { backdrop-filter: blur(8px); }

/* Hero */
.hero-inner { position: relative; z-index: 2; }
.hero h1 { text-wrap: balance; }
.hero h1 em {
  background: linear-gradient(100deg, var(--accent-2), var(--accent) 58%, #ffab00);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead { color: #b8b8c4; }

.hero-search {
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.hero-search:focus-within {
  border-color: rgba(var(--accent-rgb), 0.5);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.12), 0 16px 40px rgba(0, 0, 0, 0.25);
}

.hero-stats { gap: 12px; border-top: 0; padding-top: 0; flex-wrap: wrap; }
.hero-stats div {
  flex: 1;
  min-width: 118px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  backdrop-filter: blur(8px);
}
.hero-stats div strong { font-size: 18px; letter-spacing: -0.02em; }
.hero-stats div span { font-size: 10px; opacity: 0.8; }

.hero-art {
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.hero-art .ticket {
  backdrop-filter: blur(14px);
  background: rgba(10, 10, 12, 0.62);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.hero-showcase { z-index: 1; }
.showcase-card { box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38); }
.showcase-media { transition: transform 0.45s ease; }
.showcase-card:hover .showcase-media { transform: scale(1.03); }

/* Trust e passos */
.trust-item {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.trust-item:hover { transform: translateY(-3px); border-color: rgba(var(--accent-rgb), 0.25); }
.trust-item .ico { box-shadow: 0 10px 22px rgba(var(--accent-rgb), 0.15); }

.step-card { transition: transform 0.2s ease, border-color 0.2s ease; }
.step-card:hover { transform: translateY(-4px); border-color: rgba(var(--accent-rgb), 0.3); }
.step-num { letter-spacing: -0.04em; }

/* Categorias e ticker */
.cat-strip { background: rgba(8, 8, 11, 0.5); backdrop-filter: blur(12px); }
.cat-chip { background: rgba(255, 255, 255, 0.03); }
.cat-chip:hover { background: rgba(255, 255, 255, 0.06); }
.ticker-track {
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

/* Cards de produto */
.card {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 18px 40px rgba(0, 0, 0, 0.18);
}
.card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  z-index: 3;
  pointer-events: none;
}
.card:hover { transform: translateY(-6px) scale(1.008); }
.card-media::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.38));
  pointer-events: none;
}
.card-badge {
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}
.card-title { letter-spacing: -0.01em; }
.card-price .now { letter-spacing: -0.03em; }
.card-note { opacity: 0.85; }
.card-actions .btn-primary { box-shadow: 0 10px 22px rgba(var(--accent-rgb), 0.22); }

/* FAQ e CTA */
.faq details { transition: border-color 0.2s ease, background 0.2s ease; }
.faq details:hover { border-color: var(--line-strong); background: rgba(255, 255, 255, 0.035); }
.faq details[open] { border-color: rgba(var(--accent-rgb), 0.25); }
.cta-box {
  border: 1px solid rgba(var(--accent-rgb), 0.16);
  background:
    radial-gradient(600px 260px at 12% 10%, rgba(var(--accent-rgb), 0.12), transparent 70%),
    linear-gradient(150deg, var(--card-2), var(--card));
}

/* Postagens */
.post-card { box-shadow: 0 20px 45px rgba(0, 0, 0, 0.22); }
.post-card:hover h3 { color: var(--accent-2); }
.post-cover { position: relative; }
.post-cover::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.25));
}
.post-body h3 { letter-spacing: -0.015em; }

/* ------------------------- Aurora (modelo 1) ------------------------- */
.layout-aurora .hero { padding: 68px 0 46px; }
.layout-aurora .hero::after {
  content: '';
  position: absolute;
  width: 560px;
  height: 560px;
  right: -150px;
  top: -160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.18), transparent 66%);
  filter: blur(18px);
  animation: floatGlow 14s ease-in-out infinite;
  pointer-events: none;
}
.layout-aurora .hero-art { transform: rotate(-1.2deg); transition: transform 0.4s ease; }
.layout-aurora .hero-art:hover { transform: rotate(0deg) translateY(-4px); }

/* ------------------------- Vitrine (modelo 2) ------------------------ */
.layout-vitrine .hero {
  padding: 44px 0 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.022), transparent 80%);
}
.layout-vitrine .hero-showcase { order: -1; }
.layout-vitrine .hero h1 { font-size: clamp(32px, 4.2vw, 50px); }
.layout-vitrine .hero p.lead { margin: 12px 0 18px; font-size: 14.5px; }
.layout-vitrine .hero-stats { margin-top: 22px; }
.layout-vitrine .hero-stats div { padding: 10px 12px; }
.layout-vitrine .cat-strip {
  position: sticky;
  top: 74px;
  z-index: 30;
  background: rgba(8, 8, 10, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.layout-vitrine .section-head { align-items: center; }
.layout-vitrine .section-head h2 { font-size: clamp(22px, 2.6vw, 30px); }
.layout-vitrine .grid-products { gap: 12px; }
.layout-vitrine .card-title { font-size: 13.5px; }
.layout-vitrine .card-body { padding: 12px; gap: 6px; }
.layout-vitrine .card-note { display: none; }
.layout-vitrine .card-actions { margin-top: 8px; }
.layout-vitrine .card-actions .btn { height: 32px; font-size: 12px; }
.layout-vitrine .card-actions .btn-icon { flex: 0 0 34px; }

/* --------------------------- Prime (modelo 3) ------------------------ */
.layout-prime .hero { padding: 88px 0 62px; }
.layout-prime .hero::after {
  content: '';
  position: absolute;
  width: 640px;
  height: 640px;
  right: -180px;
  top: -240px;
  border-radius: 50%;
  background: conic-gradient(from 120deg, rgba(var(--accent-rgb), 0.2), transparent 40%, rgba(255, 244, 214, 0.16), transparent 75%);
  filter: blur(50px);
  animation: floatGlow 16s ease-in-out infinite;
  pointer-events: none;
}
.layout-prime .hero h1 { font-size: clamp(44px, 6.4vw, 82px); letter-spacing: -0.055em; }
.layout-prime .hero h1 em {
  background: linear-gradient(100deg, #fff3bf, var(--accent) 55%, #c98a00);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.layout-prime .hero p.lead { max-width: 52ch; color: #c9c9d4; font-size: 17px; }
.layout-prime .hero-stats div { border-color: rgba(var(--accent-rgb), 0.18); }
.layout-prime .section { padding: 64px 0; }
.layout-prime .section-head { margin-bottom: 32px; }
.layout-prime .section-head .eyebrow {
  padding: 6px 12px;
  border: 1px solid rgba(var(--accent-rgb), 0.18);
  border-radius: 999px;
  background: rgba(var(--accent-rgb), 0.08);
  letter-spacing: 0.16em;
}
.layout-prime .section-head .eyebrow::before { display: none; }
.layout-prime .card { background: linear-gradient(180deg, #15130c, #0d0d10); }
.layout-prime .card-price .now {
  background: linear-gradient(180deg, #ffeaa6, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.layout-prime .card-actions .btn-primary { box-shadow: 0 14px 30px rgba(var(--accent-rgb), 0.26); }
.layout-prime .cat-strip { border-top: 1px solid var(--line); background: rgba(8, 8, 11, 0.72); backdrop-filter: blur(14px); }
.layout-prime .cat-chip { background: transparent; }
.layout-prime .step-card { border-color: rgba(var(--accent-rgb), 0.12); }
.layout-prime .step-num { font-size: 46px; color: rgba(var(--accent-rgb), 0.22); }
.layout-prime .trust-item { border-color: rgba(var(--accent-rgb), 0.12); background: rgba(255, 255, 255, 0.025); }
.layout-prime .faq details { background: rgba(255, 255, 255, 0.025); }

@keyframes floatGlow {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(22px) scale(1.04); }
}

@media (max-width: 900px) {
  .layout-vitrine .cat-strip { position: static; backdrop-filter: none; }
  .layout-vitrine .hero-showcase { order: 0; }
  .layout-prime .hero { padding: 56px 0 40px; }
  .layout-prime .section { padding: 46px 0; }
}

@media (min-width: 1320px) {
  .layout-vitrine .grid-products { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .hero-stats div { flex: 1 1 40%; }
  .section + .section::before { width: calc(100% - 32px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* =====================================================================
   AURORA 2.0 - hero cinematografico, parallax e efeitos
   ===================================================================== */

body.layout-aurora { padding-bottom: 86px; }

.layout-aurora .aurora-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 680px;
  padding: 58px 0 0;
  overflow: hidden;
}
.layout-aurora .aurora-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(620px circle at var(--hx, 50%) var(--hy, 30%), rgba(var(--accent-rgb), 0.1), transparent 62%);
  transition: background 0.15s linear;
}

.aurora-sky { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }

.aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.6;
  animation: auroraDrift 18s ease-in-out infinite;
}
.aurora-blob.blob-a {
  width: 640px; height: 640px; left: -14%; top: -28%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.55), transparent 66%);
}
.aurora-blob.blob-b {
  width: 560px; height: 560px; right: -12%; top: -4%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.30), transparent 66%);
  animation-delay: -6s;
}
.aurora-blob.blob-c {
  width: 480px; height: 480px; left: 34%; bottom: -30%;
  background: radial-gradient(circle, rgba(255, 244, 214, 0.28), transparent 66%);
  animation-delay: -11s;
}

.aurora-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 34%, #000 18%, transparent 74%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 34%, #000 18%, transparent 74%);
}
.aurora-vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 18%, transparent 28%, rgba(6, 7, 10, 0.72) 78%),
    linear-gradient(180deg, transparent 58%, #07080b 100%);
}

.aurora-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 36px;
  align-items: center;
  padding-bottom: 54px;
  width: 100%;
}

.aurora-copy { position: relative; z-index: 3; }
.aurora-copy .eyebrow {
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  letter-spacing: 0.2em;
}
.aurora-copy .eyebrow::before {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: auroraPulse 2s ease-in-out infinite;
}

.aurora-copy h1 {
  margin: 8px 0 20px;
  font-family: var(--font-display);
  font-size: clamp(46px, 6.8vw, 88px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.058em;
  text-wrap: balance;
}
.aurora-copy h1 em {
  font-style: italic;
  background: linear-gradient(100deg, #fff3bf, var(--accent) 44%, #ff7a00 74%, #fff3c4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.aurora-copy .lead { max-width: 42ch; color: #c7c7d3; font-size: 16px; margin: 0 0 24px; }
.aurora-copy .hero-search {
  max-width: 520px;
  margin-top: 0;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}
.aurora-copy .hero-actions { margin-top: 16px; }
.aurora-copy .hero-stats { margin-top: 28px; }
.aurora-copy .hero-stats div {
  background: rgba(8, 9, 14, 0.5);
  border-color: rgba(255, 255, 255, 0.09);
}

/* Palco com cards flutuantes */
.aurora-stage {
  position: relative;
  z-index: 2;
  min-height: 520px;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: transform;
}

.aurora-halo {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(var(--accent-rgb), 0.4), transparent 30%, rgba(255, 244, 214, 0.4), transparent 62%, rgba(255, 255, 255, 0.28), transparent 85%);
  filter: blur(46px);
  opacity: 0.65;
  animation: auroraSpin 22s linear infinite;
}

.aurora-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  pointer-events: none;
}
.aurora-ring.ring-a { inset: 10% 4%; border-style: dashed; animation: auroraSpin 34s linear infinite; }
.aurora-ring.ring-b { inset: 24% 16%; border-color: rgba(var(--accent-rgb), 0.24); animation: auroraSpin 25s linear infinite reverse; }

.aurora-float {
  position: absolute;
  width: 218px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background: rgba(14, 15, 20, 0.68);
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  animation: auroraFloat 7s ease-in-out infinite;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.aurora-float:hover { border-color: rgba(var(--accent-rgb), 0.5); box-shadow: 0 34px 90px rgba(0, 0, 0, 0.65); }
.aurora-float.float-1 { top: 3%; left: 4%; --rot: -4deg; animation-delay: -1s; }
.aurora-float.float-2 { top: 34%; right: 0%; --rot: 3deg; animation-delay: -3.4s; }
.aurora-float.float-3 { bottom: 0%; left: 20%; --rot: -2deg; animation-delay: -5.2s; }

.aurora-float-media {
  display: grid;
  place-items: center;
  height: 128px;
  background-color: #0b0b10;
  background-size: cover;
  background-position: center;
}
.aurora-float-media > span {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.14);
}
.aurora-float-body { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px 14px; }
.aurora-float-body small { font-size: 8.5px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-2); }
.aurora-float-body strong { font-size: 13px; line-height: 1.3; }
.aurora-float-body em { font-style: normal; font-family: var(--font-display); font-size: 15px; font-weight: 800; color: var(--accent); }
.aurora-float-glow {
  position: absolute;
  inset: auto -30% -40%;
  height: 70%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.3), transparent 70%);
  filter: blur(20px);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.aurora-float:hover .aurora-float-glow { opacity: 1; }

.aurora-badge {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(10, 11, 16, 0.66);
  backdrop-filter: blur(14px);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e8e8ef;
  animation: auroraFloat 9s ease-in-out infinite;
  white-space: nowrap;
}
.aurora-badge { top: 16%; right: -8px; --rot: 0deg; }
.aurora-badge.badge-bottom { top: auto; bottom: 3%; right: 6%; animation-delay: -3s; }
.aurora-badge .live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.18); }

/* Faixa marquee */
.aurora-marquee {
  position: relative;
  z-index: 2;
  margin-top: auto;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.aurora-marquee-track {
  display: flex;
  align-items: center;
  gap: 30px;
  width: max-content;
  padding: 14px 0;
  animation: auroraMarquee 30s linear infinite;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8e8e9c;
  white-space: nowrap;
}
.aurora-marquee-track b { color: var(--accent); font-size: 13px; }

/* Grade bento (primeiro produto em destaque) */
.aurora-bento .card:first-child { grid-column: span 2; grid-row: span 2; }
.aurora-bento .card:first-child .card-media { flex: 1; aspect-ratio: auto; min-height: 300px; }
.aurora-bento .card:first-child .card-body { padding: 20px; gap: 10px; }
.aurora-bento .card:first-child .card-title { font-size: 22px; }
.aurora-bento .card:first-child .card-price .now { font-size: 28px; }
.aurora-bento .card:first-child .card-media.noimg span { font-size: 110px; }

/* Holofote nos cards */
.layout-aurora .card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--accent-rgb), 0.14), transparent 66%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.layout-aurora .card:hover::after { opacity: 1; }
.layout-aurora .card-media,
.layout-aurora .card-body { position: relative; z-index: 2; }

/* Reveal */
.layout-aurora .aurora-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.layout-aurora .aurora-reveal.aurora-in { opacity: 1; transform: none; }

/* Dock flutuante */
.aurora-dock {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 60;
  display: flex;
  gap: 4px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(12, 13, 18, 0.84);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
  transform: translateX(-50%);
}
.aurora-dock a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted);
  transition: background 0.18s ease, color 0.18s ease;
}
.aurora-dock a svg { width: 14px; height: 14px; }
.aurora-dock a:hover,
.aurora-dock a.active { background: var(--accent); color: var(--accent-ink); }

/* Cursor e progresso */
.aurora-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 80;
  height: 2px;
  pointer-events: none;
}
.aurora-progress i {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--accent), #fff3c4, #f0a500);
  box-shadow: 0 0 12px rgba(var(--accent-rgb), 0.6);
}
.aurora-cursor {
  position: fixed;
  top: 0; left: 0;
  z-index: 70;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.34), transparent 70%);
  filter: blur(2px);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease, width 0.2s ease, height 0.2s ease;
  mix-blend-mode: screen;
}
.aurora-cursor.is-active { width: 46px; height: 46px; }

@keyframes auroraDrift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  33% { transform: translate3d(42px, -30px, 0) scale(1.08); }
  66% { transform: translate3d(-30px, 22px, 0) scale(0.96); }
}
@keyframes auroraSpin { to { transform: rotate(360deg); } }
@keyframes auroraFloat {
  0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
  50% { transform: translateY(-14px) rotate(var(--rot, 0deg)); }
}
@keyframes auroraMarquee { to { transform: translateX(-50%); } }
@keyframes auroraPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.55); opacity: 0.55; }
}

@media (max-width: 1180px) {
  .layout-aurora .aurora-hero { min-height: 0; }
  .aurora-inner { grid-template-columns: 1fr; gap: 20px; }
  .aurora-stage { width: 100%; max-width: 560px; min-height: 470px; margin: 0 auto; }
  .aurora-copy { text-align: center; }
  .aurora-copy .lead { margin-left: auto; margin-right: auto; }
  .aurora-copy .hero-search { margin-left: auto; margin-right: auto; }
  .aurora-copy .hero-actions,
  .aurora-copy .hero-stats { justify-content: center; }
  .aurora-badge { right: 4%; }
  .aurora-bento .card:first-child { grid-column: span 1; grid-row: span 1; }
  .aurora-bento .card:first-child .card-media { min-height: 0; aspect-ratio: 1 / 0.82; flex: none; }
}

@media (max-width: 760px) {
  .layout-aurora .aurora-hero { padding-top: 40px; }
  .aurora-copy h1 { font-size: clamp(38px, 11vw, 56px); }
  .aurora-stage { min-height: 390px; }
  .aurora-float { width: 158px; border-radius: 16px; }
  .aurora-float-media { height: 92px; }
  .aurora-float-body { padding: 10px 11px 12px; }
  .aurora-float-body strong { font-size: 11.5px; }
  .aurora-float.float-1 { top: 2%; left: 0; }
  .aurora-float.float-2 { top: 32%; right: 0; }
  .aurora-float.float-3 { bottom: 0; left: 14%; }
  .aurora-badge { font-size: 8px; padding: 7px 10px; }
  .aurora-badge.badge-bottom { display: none; }
  .aurora-marquee-track { font-size: 10px; gap: 18px; padding: 12px 0; }
  .aurora-dock { bottom: 14px; }
  .aurora-dock a { padding: 9px; }
  .aurora-dock a span { display: none; }
  .aurora-cursor { display: none; }
}

/* Ajustes finos do hero Aurora em telas menores */
@media (max-width: 1180px) {
  .layout-aurora .aurora-hero { padding-top: 44px; }
  .aurora-stage { min-height: 420px; }
  .aurora-copy .hero-stats { margin-top: 20px; }
}

@media (max-width: 760px) {
  .layout-aurora .aurora-hero { padding-top: 34px; }
  .aurora-stage { min-height: 330px; margin-top: 4px; }
  .aurora-float { width: 142px; }
  .aurora-float-media { height: 80px; }
  .aurora-float-body small { display: none; }
  .aurora-copy .lead { font-size: 14px; margin-bottom: 16px; }
  .aurora-copy .hero-stats { gap: 8px; margin-top: 16px; }
  .aurora-copy .hero-stats div { min-width: 0; padding: 9px 10px; }
  .aurora-copy .hero-stats div strong { font-size: 16px; }
  .aurora-ring.ring-b { inset: 18% 8%; }
}

@media (max-width: 760px) {
  .aurora-blob, .aurora-halo, .aurora-ring, .aurora-badge { animation: none !important; }
}

/* =====================================================================
   NEBULA - quarto layout (particulas + cards 3D)
   ===================================================================== */

body.layout-nebula { background: #05050a; }

.layout-nebula .nebula-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 100vh;
  padding: 48px 0 34px;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% -18%, #1a1530 0%, #0a0914 45%, #05050a 76%);
}
.layout-nebula .nebula-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(560px circle at var(--hx, 50%) var(--hy, 30%), rgba(var(--accent-rgb), 0.08), transparent 62%);
}

.nebula-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.nebula-sky { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.nebula-aurora {
  position: absolute;
  left: 50%;
  top: -38%;
  width: 1050px;
  height: 1050px;
  border-radius: 50%;
  transform: translateX(-50%);
  background:
    radial-gradient(circle, rgba(255, 210, 0, 0.36), transparent 58%),
    radial-gradient(circle at 62% 58%, rgba(var(--accent-rgb), 0.22), transparent 55%),
    radial-gradient(circle at 38% 62%, rgba(255, 255, 255, 0.17), transparent 55%);
  filter: blur(72px);
  animation: nebulaBreathe 14s ease-in-out infinite;
}
.nebula-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 8%, transparent 68%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 8%, transparent 68%);
  opacity: 0.35;
}
.nebula-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 18%, transparent 20%, rgba(5, 5, 10, 0.78) 82%),
    linear-gradient(180deg, transparent 60%, #05050a 100%);
}

.nebula-inner {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.nebula-copy { max-width: 900px; text-align: center; }
.nebula-copy .eyebrow {
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  letter-spacing: 0.2em;
  color: #ffe9a3;
}
.nebula-copy .eyebrow::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(90deg, var(--accent), #fff3c4);
  animation: nebulaPulse 2.4s ease-in-out infinite;
}
.nebula-copy h1 {
  margin: 10px 0 18px;
  font-family: var(--font-display);
  font-size: clamp(50px, 7.4vw, 100px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.06em;
  text-wrap: balance;
}
.nebula-copy h1 em {
  font-style: italic;
  background: linear-gradient(100deg, #fff4c2, var(--accent) 42%, #ff7a00 68%, #fff3c4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nebula-copy .lead { max-width: 54ch; margin: 0 auto 22px; color: #c8c4dc; font-size: 16px; }
.nebula-copy .hero-search {
  max-width: 560px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
}
.nebula-copy .hero-actions,
.nebula-copy .hero-stats { justify-content: center; }
.nebula-copy .hero-stats { margin-top: 22px; }
.nebula-copy .hero-stats div {
  min-width: 132px;
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.1);
}

/* Palco 3D */
.nebula-deck {
  position: relative;
  width: 100%;
  max-width: 1060px;
  height: 430px;
  margin-top: 14px;
  perspective: 1100px;
}

.nebula-card {
  position: absolute;
  width: 200px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(24, 24, 36, 0.84), rgba(11, 11, 18, 0.92));
  backdrop-filter: blur(16px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
  transform: rotate(var(--r, 0deg)) translateZ(18px);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  transform-style: preserve-3d;
  will-change: transform;
}
.nebula-card:hover {
  border-color: rgba(var(--accent-rgb), 0.5);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.65);
}
.nebula-card.nc-1 { --r: -7deg; left: 2%; top: 5%; }
.nebula-card.nc-2 { --r: 6deg; right: 1%; top: 0; }
.nebula-card.nc-3 { --r: 5deg; left: 11%; bottom: 4%; }
.nebula-card.nc-4 { --r: -5deg; right: 8%; bottom: 1%; }

.nc-media {
  display: grid;
  place-items: center;
  height: 104px;
  background-color: #0b0b12;
  background-size: cover;
  background-position: center;
}
.nc-media > span {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.15);
}
.nc-body { display: flex; flex-direction: column; gap: 2px; padding: 11px 13px 13px; }
.nc-body small { font-size: 8px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: #ffe9a3; }
.nc-body strong { font-size: 12.5px; line-height: 1.3; }
.nc-body em { font-style: normal; font-family: var(--font-display); font-size: 14px; font-weight: 800; color: var(--accent); }

.nebula-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 230px;
  height: 230px;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, rgba(var(--accent-rgb), 0.24), rgba(17, 17, 26, 0.72) 58%, rgba(8, 8, 14, 0.1) 72%);
  box-shadow: inset 0 0 80px rgba(var(--accent-rgb), 0.12), 0 30px 80px rgba(0, 0, 0, 0.55);
}
.nebula-core-mark {
  font-family: var(--font-display);
  font-size: 54px;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, #fff5c7, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nebula-core small { margin-top: 4px; font-size: 8px; letter-spacing: 0.22em; text-transform: uppercase; color: #a7a3b8; }
.nebula-core-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.1); }
.nebula-core-ring.ring-1 { inset: -18px; border-style: dashed; animation: nebulaSpin 30s linear infinite; }
.nebula-core-ring.ring-2 { inset: -44px; border-color: rgba(255, 210, 0, 0.24); animation: nebulaSpin 42s linear infinite reverse; }

.nebula-scroll {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #6f6b80;
}
.nebula-scroll i { width: 1px; height: 34px; background: linear-gradient(180deg, var(--accent), transparent); animation: nebulaScroll 2s ease-in-out infinite; }

/* Restante da loja no tema Nebula */
.layout-nebula .section-head .eyebrow { color: #ffe9a3; }
.layout-nebula .section-head h2 em {
  background: linear-gradient(100deg, var(--accent), #fff3c4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.layout-nebula .card {
  border-color: rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(22, 22, 32, 0.92), rgba(10, 10, 16, 0.96));
}
.layout-nebula .cat-strip { background: rgba(7, 7, 12, 0.7); backdrop-filter: blur(14px); }
.layout-nebula .trust-item { background: rgba(255, 255, 255, 0.028); border-color: rgba(255, 255, 255, 0.08); }
.layout-nebula .step-card { background: linear-gradient(160deg, rgba(255, 210, 0, 0.08), rgba(255, 255, 255, 0.02)); }
.layout-nebula .nebula-reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.layout-nebula .nebula-reveal.nebula-in { opacity: 1; transform: none; }

.nebula-progress { position: fixed; top: 0; left: 0; right: 0; z-index: 80; height: 2px; pointer-events: none; }
.nebula-progress i {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--accent), #fff3c4, #f0a500);
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.30);
}

/* Miniatura no painel */
.preview-nebula .lp-hero {
  height: 34px;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 210, 0, 0.65), rgba(255, 255, 255, 0.03) 60%),
    radial-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px);
  background-size: auto, 8px 8px;
}
.preview-nebula .lp-grid { grid-template-columns: repeat(2, 1fr); }
.layout-picker { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@keyframes nebulaBreathe {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.85; }
  50% { transform: translateX(-50%) scale(1.08); opacity: 1; }
}
@keyframes nebulaSpin { to { transform: rotate(360deg); } }
@keyframes nebulaPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.5); opacity: 0.5; }
}
@keyframes nebulaScroll {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(8px); opacity: 0.35; }
}

@media (max-width: 1100px) {
  .nebula-deck { height: 390px; max-width: 780px; }
  .nebula-card { width: 176px; }
  .nc-media { height: 92px; }
  .nebula-core { width: 196px; height: 196px; }
  .nebula-core-mark { font-size: 46px; }
  .layout-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .layout-nebula .nebula-hero { padding: 34px 0 24px; min-height: 0; }
  .nebula-copy h1 { font-size: clamp(40px, 11.5vw, 58px); }
  .nebula-copy .hero-stats div { min-width: 0; }
  .nebula-deck {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    height: auto;
    margin-top: 22px;
    perspective: none;
  }
  .nebula-card {
    position: relative;
    inset: auto;
    width: auto;
    transform: none !important;
  }
  .nebula-core, .nebula-scroll { display: none; }
  .nebula-canvas { opacity: 0.55; }
  .layout-picker { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .nebula-aurora, .nebula-core-ring, .nebula-scroll i { animation: none !important; }
}

/* =====================================================================
   IDENTIDADE DA LOGO - dourado, prata e preto
   ===================================================================== */

:root {
  --silver: #ececf1;
  --silver-dim: #b9b9c4;
  --gold-deep: #f0a500;
}

.brand-mark,
.brand-logo {
  filter: drop-shadow(0 8px 18px rgba(var(--accent-rgb), 0.18));
}

.btn-primary {
  background: linear-gradient(135deg, #fff8d8, var(--accent) 55%, var(--gold-deep));
  border-bottom-color: rgba(120, 80, 0, 0.45);
}

.layout-aurora .card-price .now,
.layout-nebula .card-price .now {
  background: linear-gradient(180deg, #ffffff, #ffe9a3 58%, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.layout-aurora .card:hover,
.layout-nebula .card:hover {
  border-color: rgba(var(--accent-rgb), 0.5);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(var(--accent-rgb), 0.12) inset;
}

.nebula-core-mark img {
  width: 110px;
  height: auto;
  max-height: 92px;
  object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.5));
}

.aurora-badge,
.aurora-float {
  border-color: rgba(255, 255, 255, 0.14);
}

.aurora-copy h1 em,
.nebula-copy h1 em {
  filter: drop-shadow(0 8px 26px rgba(var(--accent-rgb), 0.16));
}

.layout-aurora .eyebrow,
.layout-nebula .eyebrow,
.layout-prime .eyebrow {
  color: var(--accent-2);
}

.site-header { border-bottom: 1px solid rgba(var(--accent-rgb), 0.07); }
.navlinks a.active { color: var(--accent-2); }

/* Correcao da faixa de compras: nao deixar o flex encolher a pista */
.ticker-inner { min-width: 0; }
.ticker-track {
  flex: 0 0 auto;
  width: max-content;
  min-width: max-content;
}

/* Janela da faixa: os itens so existem depois do rotulo e nunca passam por cima */
.ticker-viewport {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, #000 0, #000 96%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 96%, transparent 100%);
}
.ticker-label { position: relative; z-index: 2; }
.ticker-track {
  mask-image: none !important;
  -webkit-mask-image: none !important;
}

/* =====================================================================
   NEBULA 2.0 - entrada cinematografica e interacoes
   ===================================================================== */

/* Entrada em cascata */
.layout-nebula .nebula-copy > .eyebrow,
.layout-nebula .nebula-copy > h1,
.layout-nebula .nebula-copy > .lead,
.layout-nebula .nebula-copy > .hero-search,
.layout-nebula .nebula-copy > .hero-actions,
.layout-nebula .nebula-copy > .hero-stats,
.layout-nebula .nebula-words {
  opacity: 0;
  transform: translateY(26px);
  animation: nebulaEnter 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.layout-nebula .nebula-copy > .eyebrow { animation-delay: 0.05s; }
.layout-nebula .nebula-copy > h1 { animation-delay: 0.12s; }
.layout-nebula .nebula-copy > .lead { animation-delay: 0.22s; }
.layout-nebula .nebula-copy > .hero-search { animation-delay: 0.32s; }
.layout-nebula .nebula-copy > .hero-actions { animation-delay: 0.4s; }
.layout-nebula .nebula-copy > .hero-stats { animation-delay: 0.48s; }
.layout-nebula .nebula-words { animation-delay: 0.56s; }

.layout-nebula .nebula-deck {
  opacity: 0;
  transform: translateY(44px) scale(0.96);
  animation: nebulaDeckIn 1.1s 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.layout-nebula .nebula-scroll {
  opacity: 0;
  animation: nebulaEnter 0.9s 0.95s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

/* Palavras rotativas */
.nebula-words {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 16px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8f8a9f;
}
.nw-label { color: #6f6b80; }
.nw-track { position: relative; width: 112px; height: 16px; overflow: hidden; }
.nw-track b {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--accent);
  opacity: 0;
  transform: translateY(100%);
  animation: nebulaWord 15s ease-in-out infinite;
}
.nw-track b:nth-child(2) { animation-delay: 3s; }
.nw-track b:nth-child(3) { animation-delay: 6s; }
.nw-track b:nth-child(4) { animation-delay: 9s; }
.nw-track b:nth-child(5) { animation-delay: 12s; }

/* Cursor personalizado */
.nebula-cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 95;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(var(--accent-rgb), 0.62);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: width 0.22s ease, height 0.22s ease, background 0.22s ease, border-color 0.22s ease;
  mix-blend-mode: screen;
}
.nebula-cursor::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 12px rgba(var(--accent-rgb), 0.8);
}
.nebula-cursor.is-active {
  width: 54px;
  height: 54px;
  border-color: rgba(var(--accent-rgb), 0.35);
  background: rgba(var(--accent-rgb), 0.08);
}

/* Botao de voltar ao topo */
.nebula-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 65;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(var(--accent-rgb), 0.28);
  border-radius: 50%;
  background: rgba(12, 12, 18, 0.82);
  backdrop-filter: blur(12px);
  color: var(--accent);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease, color 0.2s ease;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.42);
}
.nebula-top.show { opacity: 1; transform: none; pointer-events: auto; }
.nebula-top:hover { background: var(--accent); color: var(--accent-ink); }
.nebula-top svg { width: 18px; height: 18px; }

/* Ripple */
.nebula-copy .btn,
.nebula-top { position: relative; }
.nebula-ripple {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: translate(-50%, -50%) scale(0);
  animation: nebulaRipple 0.65s ease-out forwards;
  pointer-events: none;
}

/* Brilho que segue o mouse nos cards */
.layout-nebula .card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background: radial-gradient(250px circle at var(--gx, 50%) var(--gy, 50%), rgba(var(--accent-rgb), 0.18), transparent 62%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.layout-nebula .card:hover::after { opacity: 1; }
.layout-nebula .card-media,
.layout-nebula .card-body { position: relative; z-index: 2; }

/* Cards entram em sequencia */
.layout-nebula .nebula-in .grid-products .card {
  animation: nebulaCardIn 0.7s backwards;
}
.layout-nebula .nebula-in .grid-products .card:nth-child(2) { animation-delay: 0.06s; }
.layout-nebula .nebula-in .grid-products .card:nth-child(3) { animation-delay: 0.12s; }
.layout-nebula .nebula-in .grid-products .card:nth-child(4) { animation-delay: 0.18s; }
.layout-nebula .nebula-in .grid-products .card:nth-child(5) { animation-delay: 0.24s; }
.layout-nebula .nebula-in .grid-products .card:nth-child(6) { animation-delay: 0.3s; }
.layout-nebula .nebula-in .grid-products .card:nth-child(7) { animation-delay: 0.36s; }
.layout-nebula .nebula-in .grid-products .card:nth-child(8) { animation-delay: 0.42s; }

/* Sublinhado animado dos titulos */
.layout-nebula .section-head h2 { position: relative; padding-bottom: 10px; }
.layout-nebula .section-head h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 58px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s 0.15s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.layout-nebula .nebula-in .section-head h2::after { transform: scaleX(1); }

/* Logo central flutuando */
.nebula-core-mark img { animation: nebulaLogoFloat 6s ease-in-out infinite; }

/* Categorias arrastaveis */
.layout-nebula .cat-strip-inner { cursor: grab; }
.layout-nebula .cat-strip-inner.dragging { cursor: grabbing; }
.layout-nebula .cat-strip-inner.dragging .cat-chip { pointer-events: none; }

@keyframes nebulaEnter {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}
@keyframes nebulaDeckIn {
  from { opacity: 0; transform: translateY(44px) scale(0.96); }
  to { opacity: 1; transform: none; }
}
@keyframes nebulaCardIn {
  from { opacity: 0; transform: translateY(26px) scale(0.97); }
  to { opacity: 1; transform: none; }
}
@keyframes nebulaWord {
  0% { opacity: 0; transform: translateY(100%); }
  4% { opacity: 1; transform: translateY(0); }
  16% { opacity: 1; transform: translateY(0); }
  20% { opacity: 0; transform: translateY(-100%); }
  100% { opacity: 0; transform: translateY(-100%); }
}
@keyframes nebulaRipple {
  0% { opacity: 0.6; transform: translate(-50%, -50%) scale(0); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(12); }
}
@keyframes nebulaLogoFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-6px) scale(1.02); }
}

@media (max-width: 700px) {
  .nebula-cursor { display: none; }
  .nebula-top { right: 16px; bottom: 16px; width: 42px; height: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  .layout-nebula .nebula-copy > *,
  .layout-nebula .nebula-deck,
  .layout-nebula .nebula-scroll,
  .nebula-cursor,
  .nebula-core-mark img,
  .layout-nebula .nebula-in .grid-products .card {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .nw-track b {
    animation: none !important;
    transform: none !important;
    opacity: 0 !important;
  }
  .nw-track b:first-child {
    opacity: 1 !important;
  }
}

.nebula-copy .btn { overflow: hidden; }
.layout-nebula .cat-strip-inner { user-select: none; -webkit-user-select: none; }
