/* ==========================================================================
   Shop Streaming — design system da loja
   Tema: azul neon sobre preto-azulado (cores da logo)
   ========================================================================== */

:root {
  --bg: #25293c;
  --bg-2: #2a2e42;
  --surface: #2f3348;
  --surface-2: #34384f;
  --surface-3: #3b4059;
  --card: #2c3145;
  --bg-deep: #1a1d2c;
  --bg-rgb: 37, 41, 60;
  --deep-rgb: 15, 17, 28;
  --hdr: #2f3249;
  --hdr-rgb: 47, 50, 73;
  --blue-rgb: 30, 107, 255;
  --blue2-rgb: 61, 134, 255;
  --cyan-rgb: 34, 211, 238;
  --sky-rgb: 56, 189, 248;
  --line-rgb: 96, 144, 255;
  --line: rgba(var(--line-rgb), .16);
  --line-2: rgba(var(--line-rgb), .30);

  --blue: #1e6bff;
  --blue-2: #3d86ff;
  --blue-mid: #1fa3ff;
  --sky: #38bdf8;
  --cyan: #22d3ee;
  --ice: #c7e6ff;
  --grad: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 55%, var(--cyan) 100%);
  --grad-soft: linear-gradient(135deg, rgba(var(--blue-rgb), .24), rgba(var(--cyan-rgb), .12));
  --grad-line: linear-gradient(90deg, transparent, rgba(var(--sky-rgb), .7), transparent);

  --text: #eaf1ff;
  --muted: #8ea4cf;
  --dim: #5f759f;
  --ok: #22c55e;
  --warn: #f59e0b;
  --bad: #f43f5e;

  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --glow: 0 0 0 1px rgba(var(--blue2-rgb), .45), 0 12px 44px -10px rgba(var(--blue-rgb), .65);
  --glow-soft: 0 10px 40px -14px rgba(var(--blue-rgb), .55);
  --shadow: 0 18px 50px -18px rgba(0, 0, 0, .8);

  --font: 'Rubik', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Exo 2', 'Rubik', system-ui, sans-serif;
  --wrap: 1240px;
  --header-h: 68px;
  --nav-h: 54px;
}

@property --spin { syntax: '<angle>'; initial-value: 0deg; inherits: false; }

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: dark; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh;
  font-family: var(--font); font-size: 15px; line-height: 1.5;
  color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 700; }
p { margin: 0; }
::selection { background: rgba(var(--blue-rgb), .55); color: #fff; }
.ico { flex-shrink: 0; vertical-align: middle; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp-field { position: absolute !important; left: -9999px !important; top: auto !important; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.text-muted { color: var(--muted); }
.text-dim { color: var(--dim); }
.text-ok { color: var(--ok); } .text-bad { color: var(--bad); } .text-warn { color: var(--warn); }
.text-center { text-align: center; }
.grad-text {
  background: linear-gradient(90deg, #fff 0%, #8fd0ff 30%, var(--cyan) 55%, #8fd0ff 80%, #fff 100%);
  background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 7s linear infinite;
}
.hero .grad-text { display: inline-block; will-change: background-position; } /* camada própria: só o texto é repintado no brilho */
@keyframes shine { to { background-position: -220% 0; } }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #3d425a; border-radius: 10px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #1f3a85; }

/* ── Fundo animado ─────────────────────────────────────────────────────── */
.fx-aurora { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.fx-aurora i {
  position: absolute; border-radius: 50%; filter: blur(120px); opacity: .17; will-change: transform;
}
.fx-aurora i:nth-child(1) { width: 640px; height: 640px; left: -160px; top: -200px; background: #1e56ff; animation: float1 22s ease-in-out infinite; }
.fx-aurora i:nth-child(2) { width: 560px; height: 560px; right: -180px; top: 20%; background: #0ea5d9; opacity: .09; animation: float2 28s ease-in-out infinite; }
.fx-aurora i:nth-child(3) { width: 520px; height: 520px; left: 30%; bottom: -260px; background: #4338ca; opacity: .10; animation: float3 26s ease-in-out infinite; }
@keyframes float1 { 50% { transform: translate(120px, 90px) scale(1.12); } }
@keyframes float2 { 50% { transform: translate(-140px, 70px) scale(.92); } }
@keyframes float3 { 50% { transform: translate(90px, -80px) scale(1.1); } }
.fx-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(var(--line-rgb), .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--line-rgb), .06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
}
#fxCanvas { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: .55; }
.page-shell { position: relative; z-index: 2; min-height: 100vh; display: flex; flex-direction: column; }
.page-shell > main { flex: 1; }

/* ── Layout ───────────────────────────────────────────────────────────── */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.page { padding: 26px 0 60px; }
.page-title { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: .01em; display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.page-title .ico { color: var(--sky); }
.page-sub { color: var(--muted); margin-bottom: 22px; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.mt-1 { margin-top: 6px; } .mt-2 { margin-top: 12px; } .mt-3 { margin-top: 18px; } .mt-4 { margin-top: 26px; }
.mb-1 { margin-bottom: 6px; } .mb-2 { margin-bottom: 12px; } .mb-3 { margin-bottom: 18px; } .mb-4 { margin-bottom: 26px; }

/* ── Cartões e painéis ─────────────────────────────────────────────────── */
.card {
  position: relative; background: linear-gradient(180deg, rgba(52, 56, 79, .72), rgba(44, 49, 69, .72));
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px;
  backdrop-filter: blur(10px); box-shadow: var(--shadow);
}
.glow-card { position: relative; overflow: hidden; isolation: isolate; }
.glow-card::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--blue2-rgb), .22), transparent 45%);
}
.glow-card:hover::before { opacity: 1; }
.panel {
  position: relative; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 22px;
  background: linear-gradient(180deg, rgba(49, 53, 75, .62), rgba(43, 47, 67, .62)); backdrop-filter: blur(10px);
  margin-bottom: 22px; box-shadow: var(--shadow);
}
.panel-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.panel-ico {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: var(--cyan);
  background: var(--grad-soft); border: 1px solid var(--line-2);
  box-shadow: inset 0 0 22px rgba(var(--cyan-rgb), .12);
}
.panel-title { font-size: 1.12rem; font-weight: 700; }
.panel-sub { font-size: .8rem; color: var(--muted); margin-top: 2px; }
.panel-more { margin-left: auto; font-size: .82rem; color: var(--sky); display: inline-flex; align-items: center; gap: 4px; }
.panel-more:hover { color: #fff; }

/* ── Botões ───────────────────────────────────────────────────────────── */
.btn {
  --h: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h); padding: 0 20px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 600; font-size: .92rem; white-space: nowrap; position: relative; overflow: hidden;
  transition: transform .18s, box-shadow .25s, background .2s, border-color .2s, color .2s;
  background: rgba(255, 255, 255, .06); color: var(--text); border-color: var(--line);
}
.btn:hover { border-color: var(--line-2); background: rgba(255, 255, 255, .1); transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn:disabled, .btn.disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-primary { background: var(--grad); border-color: transparent; color: var(--on-accent, #fff); box-shadow: 0 8px 26px -8px rgba(var(--blue-rgb), .8); }
/* hover: cores invertidas (fundo claro, texto na cor do botão) e sem a luz em volta */
.btn-primary:hover:not(:disabled):not(.disabled) { background: var(--on-accent, #fff); border-color: transparent; color: var(--blue); box-shadow: none; filter: none; }
.btn-primary::after, .btn-shine::after {
  content: ''; position: absolute; top: 0; left: 0; width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .38), transparent); transform: translateX(-160%) skewX(-20deg);
  animation: sweep 3.6s ease-in-out infinite; will-change: transform;
}
@keyframes sweep { 0%, 55% { transform: translateX(-160%) skewX(-20deg); } 100% { transform: translateX(320%) skewX(-20deg); } }
.btn-outline { background: transparent; border-color: var(--line-2); color: var(--ice); }
.btn-outline:hover { background: rgba(var(--blue2-rgb), .12); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--muted); }
.btn-ghost:hover { background: rgba(255, 255, 255, .06); color: #fff; border-color: transparent; }
.btn-success { background: linear-gradient(135deg, #16a34a, #22c55e); color: #04140a; border-color: transparent; box-shadow: 0 8px 26px -10px rgba(34, 197, 94, .8); }
.btn-success:hover { filter: brightness(1.08); border-color: transparent; background: linear-gradient(135deg, #16a34a, #22c55e); }
.btn-danger { background: rgba(244, 63, 94, .12); border-color: rgba(244, 63, 94, .35); color: #fda4af; }
.btn-danger:hover { background: rgba(244, 63, 94, .22); border-color: rgba(244, 63, 94, .55); }
.btn-lg { --h: 52px; padding: 0 28px; font-size: 1rem; border-radius: 14px; }
.btn-sm { --h: 34px; padding: 0 14px; font-size: .82rem; border-radius: 10px; }
.btn-block { width: 100%; }
.btn-google { background: #fff; color: #3e435c; border-color: #fff; }
.btn-google:hover { background: #f3f6ff; border-color: #fff; }
.icon-btn {
  position: relative; width: 42px; height: 42px; border-radius: 12px; display: inline-grid; place-items: center;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line); color: var(--ice);
  transition: background .2s, border-color .2s, transform .2s, box-shadow .25s;
}
.icon-btn:hover { background: rgba(var(--blue2-rgb), .16); border-color: var(--line-2); transform: translateY(-1px); box-shadow: var(--glow-soft); }
.icon-btn .dot {
  position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--grad); color: var(--on-accent, #fff); font-size: .62rem; font-weight: 700; display: none; align-items: center; justify-content: center;
  border: 2px solid var(--bg); box-shadow: 0 0 12px rgba(34, 168, 255, .8);
}
.icon-btn .dot.alert { background: linear-gradient(135deg, #f43f5e, #fb7185); box-shadow: 0 0 12px rgba(244, 63, 94, .8); }

/* ── Formulários ──────────────────────────────────────────────────────── */
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.label { font-size: .8rem; font-weight: 600; color: var(--ice); letter-spacing: .02em; display: flex; align-items: center; justify-content: space-between; }
.label a { color: var(--sky); font-weight: 500; }
.label a:hover { color: #fff; }
.input, .select, .textarea {
  width: 100%; height: 48px; padding: 0 16px; border-radius: 12px; background: rgba(41, 45, 64, .85);
  border: 1px solid var(--line); outline: none; color: var(--text);
  transition: border-color .2s, box-shadow .25s, background .2s;
}
.textarea { height: auto; min-height: 110px; padding: 12px 16px; resize: vertical; line-height: 1.5; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238ea4cf' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.select option { background: var(--surface); }
.input::placeholder, .textarea::placeholder { color: var(--dim); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--line-2); }
.input:focus, .select:focus, .textarea:focus { border-color: var(--blue-2); box-shadow: 0 0 0 4px rgba(var(--blue-rgb), .2), 0 0 24px rgba(var(--blue-rgb), .18); background: rgba(44, 49, 69, .95); }
.input-wrap { position: relative; }
.input-wrap .lead { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--dim); pointer-events: none; transition: color .2s; }
.input-wrap .input { padding-left: 44px; }
.input-wrap:focus-within .lead { color: var(--sky); }
.input-wrap .trail {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 9px;
  display: grid; place-items: center; background: transparent; border: 0; color: var(--dim);
}
.input-wrap .trail:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.input-wrap .input.has-trail { padding-right: 48px; }
.check { display: flex; align-items: center; gap: 10px; cursor: pointer; color: var(--muted); font-size: .88rem; user-select: none; }
.check input { appearance: none; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--line-2); background: rgba(41, 45, 64, .85); display: grid; place-items: center; cursor: pointer; transition: .2s; flex-shrink: 0; }
.check input:checked { background: var(--grad); border-color: transparent; box-shadow: 0 0 14px rgba(34, 168, 255, .6); }
.check input:checked::after { content: ''; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); }
.hint { font-size: .78rem; color: var(--dim); }
.form-error { font-size: .8rem; color: #fda4af; }

/* ── Selos, alertas, toasts ───────────────────────────────────────────── */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: .72rem; font-weight: 600; background: rgba(var(--blue2-rgb), .14); color: var(--ice); border: 1px solid var(--line-2); }
.badge-ok { background: rgba(34, 197, 94, .12); color: #86efac; border-color: rgba(34, 197, 94, .3); }
.badge-warn { background: rgba(245, 158, 11, .12); color: #fcd34d; border-color: rgba(245, 158, 11, .3); }
.badge-bad { background: rgba(244, 63, 94, .12); color: #fda4af; border-color: rgba(244, 63, 94, .3); }
.badge-gray { background: rgba(142, 164, 207, .1); color: var(--muted); border-color: rgba(142, 164, 207, .2); }
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; font-size: .88rem; border: 1px solid var(--line-2); background: rgba(var(--blue-rgb), .1); color: var(--ice); margin-bottom: 14px; }
.alert .ico { margin-top: 2px; }
.alert-error { background: rgba(244, 63, 94, .1); border-color: rgba(244, 63, 94, .35); color: #fecdd3; }
.alert-success { background: rgba(34, 197, 94, .1); border-color: rgba(34, 197, 94, .35); color: #bbf7d0; }
.alert-warn { background: rgba(245, 158, 11, .1); border-color: rgba(245, 158, 11, .35); color: #fde68a; }
.toast-wrap { position: fixed; right: 18px; top: calc(var(--header-h) + var(--nav-h) + 14px); z-index: 10000; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; pointer-events: none; }
.toast {
  pointer-events: auto; min-width: 240px; max-width: 360px; display: flex; gap: 10px; align-items: flex-start;
  padding: 13px 16px; border-radius: 14px; background: rgba(44, 49, 69, .96); border: 1px solid var(--line-2);
  border-left: 3px solid var(--blue-2); box-shadow: var(--shadow), var(--glow-soft); font-size: .88rem;
  animation: toastIn .35s cubic-bezier(.2, .9, .3, 1.2) both;
}
.toast.success { border-left-color: var(--ok); } .toast.error { border-left-color: var(--bad); } .toast.warn { border-left-color: var(--warn); }
.toast.out { animation: toastOut .3s forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateX(30px) scale(.96); } }
@keyframes toastOut { to { opacity: 0; transform: translateX(30px); } }

/* ── Modal ────────────────────────────────────────────────────────────── */
.modal-overlay { position: fixed; inset: 0; z-index: 9000; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(14, 16, 28, .74); backdrop-filter: blur(8px); animation: fadeIn .2s both; }
.modal-overlay.hidden { display: none; }
.modal {
  position: relative; width: 100%; max-width: 440px; padding: 28px; border-radius: var(--r-xl);
  background: linear-gradient(180deg, var(--surface-2), var(--card)); border: 1px solid var(--line-2); box-shadow: var(--shadow), var(--glow-soft);
  animation: popIn .3s cubic-bezier(.2, .9, .3, 1.15) both;
}
.modal h3 { font-size: 1.2rem; margin-bottom: 4px; display: flex; align-items: center; gap: 10px; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 10px; border: 0; background: rgba(255, 255, 255, .06); color: var(--muted); display: grid; place-items: center; }
.modal-close:hover { background: rgba(255, 255, 255, .12); color: #fff; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes popIn { from { opacity: 0; transform: translateY(14px) scale(.96); } }
.chip-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.chip-btn { height: 40px; border-radius: 10px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); font-weight: 600; font-size: .86rem; transition: .2s; }
.chip-btn:hover { background: rgba(var(--blue2-rgb), .18); border-color: var(--blue-2); }

/* ── Tabelas / paginação / vazio ──────────────────────────────────────── */
.table-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); }
.table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.table th { text-align: left; padding: 12px 16px; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); background: rgba(var(--blue2-rgb), .07); border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 13px 16px; border-bottom: 1px solid rgba(var(--line-rgb), .08); }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: rgba(var(--blue2-rgb), .05); }
.pager { display: flex; gap: 6px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 26px; }
.pager a, .pager span { min-width: 40px; height: 40px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border-radius: 11px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); color: var(--muted); font-weight: 600; font-size: .86rem; transition: .2s; }
.pager a:hover { color: #fff; border-color: var(--line-2); background: rgba(var(--blue2-rgb), .15); }
.pager .current { background: var(--grad); color: var(--on-accent, #fff); border-color: transparent; box-shadow: 0 6px 20px -6px rgba(var(--blue-rgb), .8); }
.pager .dots { border: 0; background: none; }
.empty { text-align: center; padding: 56px 20px; color: var(--muted); }
.empty .ico-wrap { width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 24px; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid var(--line-2); color: var(--cyan); box-shadow: 0 0 40px -8px rgba(var(--cyan-rgb), .35); }
.empty h3 { color: var(--text); font-size: 1.1rem; margin-bottom: 6px; }
.pill-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 16px; border-radius: 999px; font-size: .84rem; font-weight: 600; color: var(--muted); border: 1px solid var(--line); background: rgba(255, 255, 255, .03); transition: .2s; white-space: nowrap; }
.pill:hover { color: #fff; border-color: var(--line-2); background: rgba(var(--blue2-rgb), .1); }
.pill.active { color: #fff; background: var(--grad-soft); border-color: var(--blue-2); box-shadow: inset 0 0 18px rgba(var(--blue-rgb), .2); }

/* ── Revelação ao rolar ───────────────────────────────────────────────── */
html.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
html.js .rv.in { opacity: 1; transform: none; }

/* ══════════════════════════════════════════════════════════════════════
   TOPO + NAVEGAÇÃO
   ══════════════════════════════════════════════════════════════════════ */
.header { position: sticky; top: 0; z-index: 800; transition: background .3s, box-shadow .3s; }
.header-glass {
  background: rgba(var(--hdr-rgb), .82); backdrop-filter: blur(20px) saturate(150%); -webkit-backdrop-filter: blur(20px) saturate(150%);
  border-bottom: 1px solid var(--line);
  position: relative; z-index: 2; /* acima da linha de brilho (.header::after): menus abertos não são cortados por ela */
}
.header.scrolled .header-glass { background: rgba(var(--hdr-rgb), .94); box-shadow: 0 10px 40px -12px rgba(0, 0, 0, .55), 0 1px 0 rgba(var(--blue2-rgb), .35); }
.header::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--grad-line); opacity: .7; pointer-events: none; z-index: 1; }
.topbar { height: var(--header-h); display: flex; align-items: center; gap: 18px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-logo { width: 48px; height: 48px; border-radius: 0; object-fit: contain; transition: transform .5s cubic-bezier(.2, .9, .3, 1.3); }
.brand:hover .brand-logo { transform: rotate(-6deg) scale(1.1); } /* sem brilho, nem parado nem ao passar o mouse */ /* sem acender/brilhar ao passar o mouse */
.brand-name { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 1.32rem; line-height: 1; letter-spacing: .03em; text-transform: uppercase; display: flex; flex-direction: row; align-items: baseline; gap: .32em; white-space: nowrap; }
/* uma linha só: "SHOP" branco + "STREAMING" azul (no celular o nome empilha, mais abaixo) */
.brand-name b { display: block; color: #fff; font-weight: 900; text-shadow: 0 0 18px rgba(255, 255, 255, .25); }
.brand-name span { display: block; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em; }
@media (max-width: 640px) {
  .brand-name { flex-direction: column; align-items: stretch; gap: 0; line-height: .88; font-size: 1.28rem; letter-spacing: .01em; }
  .brand-name b { font-size: 1.55em; letter-spacing: .13em; margin-right: -.13em; }
  .brand-name span { font-size: .78em; letter-spacing: .06em; padding-right: 0; }
}
.ac-drop { position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 50; max-height: 380px; overflow-y: auto; display: none; padding: 8px; border-radius: 16px; background: var(--card); border: 1px solid var(--line-2); box-shadow: var(--shadow), var(--glow-soft); }
.ac-drop.show { display: block; animation: popIn .2s both; }
.ac-label { font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); padding: 8px 10px 4px; }
.ac-item { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; transition: background .15s; }
.ac-item:hover, .ac-item.active { background: rgba(var(--blue2-rgb), .16); }
.ac-img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; background: var(--surface-2); flex-shrink: 0; }
.ac-name { font-weight: 600; font-size: .88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ac-meta { font-size: .76rem; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.ac-ok { color: var(--sky); } .ac-disc { color: #86efac; } .ac-out { color: #fda4af; }
.ac-empty { padding: 18px; text-align: center; color: var(--muted); font-size: .88rem; }
.tb-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; margin-left: auto; }
.balance-chip {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 6px 0 14px; border-radius: 12px; font-weight: 600; font-size: .88rem;
  background: var(--grad-soft); border: 1px solid var(--line-2); color: var(--ice); transition: .2s;
}
.balance-chip:hover { box-shadow: var(--glow-soft); border-color: var(--blue-2); }
.balance-chip .plus { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--grad); color: var(--on-accent, #fff); }
.avatar { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: .86rem; color: var(--on-accent, #fff); background: var(--grad); border: 0; box-shadow: 0 0 0 2px rgba(255, 255, 255, .08), 0 6px 20px -6px rgba(var(--blue-rgb), .9); transition: transform .2s; }
.avatar:hover { transform: translateY(-1px) scale(1.04); }
.menu-pop { position: absolute; right: 0; top: calc(100% + 10px); width: 270px; z-index: 60; padding: 8px; border-radius: 18px; background: var(--card); border: 1px solid var(--line-2); box-shadow: var(--shadow), var(--glow-soft); display: none; }
.menu-pop.show { display: block; animation: popIn .2s both; }
.menu-head { padding: 12px 12px 14px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.menu-head b { display: block; font-size: .95rem; }
.menu-head small { color: var(--muted); }
.menu-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border-radius: 12px; border: 0; background: none; color: var(--muted); font-size: .9rem; font-weight: 500; text-align: left; transition: .15s; }
.menu-item:hover { background: rgba(var(--blue2-rgb), .15); color: #fff; }
.menu-item.danger:hover { background: rgba(244, 63, 94, .15); color: #fda4af; }
.menu-sep { height: 1px; background: var(--line); margin: 6px 4px; }
.rel { position: relative; }

.navrow { height: var(--nav-h); display: flex; align-items: center; gap: 8px; border-top: 1px solid rgba(var(--line-rgb), .08); }
.nav-pill {
  position: relative; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 12px; font-weight: 500; font-size: .9rem;
  color: var(--muted); border: 1px solid transparent; transition: color .2s, background .2s, border-color .2s; white-space: nowrap; background: none; background-origin: border-box;
}
.nav-pill:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.nav-pill.active { color: var(--on-accent, #fff); font-weight: 600; background: var(--grad); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15); }
/* brilho externo só no desktop: em telas menores a barra de menu rola e cortava a sombra em retângulo ("vazamento" nas laterais) */
@media (min-width: 961px) { .nav-pill.active { box-shadow: 0 8px 24px -8px rgba(var(--blue-rgb), .9), inset 0 0 0 1px rgba(255, 255, 255, .15); } }
.nav-pill .ico-chev { transition: transform .25s; }
.dd { position: relative; }
.dd:hover .ico-chev, .dd.open .ico-chev { transform: rotate(180deg); }
.dd-menu {
  position: absolute; left: 0; top: calc(100% + 8px); z-index: 70; display: none; width: 280px; padding: 8px; border-radius: 18px;
  background: var(--card); border: 1px solid var(--line-2); box-shadow: var(--shadow), var(--glow-soft);
}
.dd:hover > .dd-menu, .dd.open > .dd-menu, .dd:focus-within > .dd-menu { display: block; animation: popIn .2s both; }
.dd::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }
.dd-item { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: var(--muted); font-size: .9rem; font-weight: 500; transition: .15s; }
.dd-item .ico:last-child { margin-left: auto; }
.dd-item:hover, .dd-item.hot { background: rgba(var(--blue2-rgb), .16); color: #fff; }
.dd-item .count { margin-left: auto; font-size: .72rem; color: var(--dim); }
.dd-fly {
  position: absolute; left: calc(100% + 8px); top: -8px; width: 300px; max-height: 420px; overflow-y: auto; display: none; padding: 8px; border-radius: 18px;
  background: var(--card); border: 1px solid var(--line-2); box-shadow: var(--shadow), var(--glow-soft);
}
.dd-cat:hover > .dd-fly { display: block; animation: popIn .18s both; }
.dd-cat { position: relative; }
.dd-fly .dd-item { padding: 8px 10px; }
.dd-fly img { width: 34px; height: 34px; border-radius: 9px; object-fit: cover; }
.dd-fly .p { margin-left: auto; font-size: .78rem; color: var(--cyan); font-weight: 700; }
.nav-spacer { flex: 1; }
.nav-note { font-size: .78rem; color: var(--dim); display: flex; align-items: center; gap: 8px; }
.nav-note .live { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(34, 197, 94, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }

.maint-bar { background: rgba(245, 158, 11, .12); border-bottom: 1px solid rgba(245, 158, 11, .3); color: #fcd34d; text-align: center; padding: 10px 20px; font-size: .88rem; font-weight: 600; }

@media (max-width: 960px) {
  .tb-actions { margin-left: auto; }
  .hide-md { display: none !important; }
  .navrow { overflow-x: auto; scrollbar-width: none; }
  .navrow::-webkit-scrollbar { display: none; }
  .nav-spacer, .nav-note { display: none; }
  .dd-menu { position: fixed; left: 12px; right: 12px; top: auto; width: auto; max-height: 70vh; overflow-y: auto; }
  .dd-fly { position: static; width: auto; max-height: none; display: none; box-shadow: none; border: 0; border-radius: 0; background: none; padding: 0 0 0 10px; animation: none; }
  .dd-cat.open > .dd-fly { display: block; }
  .dd-cat:hover > .dd-fly { display: none; }
  .dd-cat.open:hover > .dd-fly { display: block; }
}
@media (min-width: 961px) { .only-md { display: none !important; } }
@media (max-width: 560px) {
  :root { --header-h: 62px; }
  .wrap { padding: 0 14px; }
  .brand-name { font-size: 1.05rem; }
  .brand-logo { width: 38px; height: 38px; }
  .tb-actions { gap: 7px; }
  .icon-btn, .avatar, .balance-chip { height: 38px; }
  .icon-btn, .avatar { width: 38px; }
  .balance-chip .amt { display: none; }
  .balance-chip { padding: 0 5px; }
}

/* ══════════════════════════════════════════════════════════════════════
   HOME
   ══════════════════════════════════════════════════════════════════════ */
.hero {
  position: relative; overflow: hidden; border-radius: var(--r-xl); padding: 34px 36px; margin: 22px 0 18px;
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap; isolation: isolate;
  background: linear-gradient(120deg, rgba(55, 59, 82, .85), rgba(43, 47, 67, .85));
  border: 1px solid transparent;
}
/* borda neon giratória: o degradê gira com transform (compositor) — sem repintar o hero a cada quadro, o que travava o brilho do título */
.hero-ring {
  position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1.5px; overflow: hidden; pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.hero-ring b {
  position: absolute; left: 50%; top: 50%; width: 1400px; height: 1400px; margin: -700px 0 0 -700px; will-change: transform;
  background: conic-gradient(rgba(var(--blue-rgb), 0) 0deg, var(--blue) 70deg, var(--cyan) 140deg, rgba(var(--cyan-rgb), 0) 220deg, rgba(var(--blue-rgb), 0) 360deg);
  animation: ringspin 7s linear infinite;
}
@keyframes ringspin { to { transform: rotate(360deg); } }
.hero::after { content: ''; position: absolute; right: -80px; top: -120px; width: 420px; height: 420px; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgba(var(--cyan-rgb), .22), transparent 65%); }
@keyframes spin { to { --spin: 360deg; } }
.hero-copy { flex: 1 1 380px; min-width: 0; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 600; color: var(--cyan); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
.hero-eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--grad); border-radius: 2px; }
.hero h1 { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: clamp(1.7rem, 3.6vw, 2.7rem); line-height: 1.08; margin-bottom: 10px; letter-spacing: .005em; }
.hero p { color: var(--muted); max-width: 540px; }
.hero-side { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.chip { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 999px; font-size: .8rem; font-weight: 600; color: #b8f5d4; background: rgba(34, 197, 94, .1); border: 1px solid rgba(34, 197, 94, .35); }
.chip.blue { color: var(--ice); background: rgba(var(--blue2-rgb), .14); border-color: var(--line-2); }
.hero-stats { display: flex; gap: 22px; }
.hero-stats div { text-align: right; }
.hero-stats b { display: block; font-family: var(--font-display); font-style: italic; font-size: 1.7rem; font-weight: 900; line-height: 1; }
.hero-stats small { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }

.slider { position: relative; margin-bottom: 18px; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line-2); background: #292d40; box-shadow: var(--shadow), 0 0 60px -20px rgba(var(--blue-rgb), .5); }
.slides { position: relative; aspect-ratio: 1280 / 550; width: 100%; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s; display: block; }
.slide.active { opacity: 1; visibility: visible; z-index: 2; }
.slide > img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.035); transition: transform 8s ease-out; }
.slide.active > img { transform: scale(1); }
.slide-over { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(var(--bg-rgb), .86) 0%, rgba(var(--bg-rgb), .35) 55%, transparent 100%); display: flex; align-items: center; padding: 0 clamp(20px, 5vw, 64px); }
.slide-copy { max-width: 520px; }
.slide-copy h2 { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: clamp(1.4rem, 3.6vw, 2.8rem); margin-bottom: 8px; text-shadow: 0 4px 30px rgba(0, 0, 0, .6); }
.slide-copy p { color: var(--ice); margin-bottom: 18px; font-size: clamp(.9rem, 1.6vw, 1.1rem); }
.slide-design { background: radial-gradient(900px 400px at 85% 50%, rgba(var(--blue-rgb), .45), transparent 60%), linear-gradient(120deg, #32364c, #292d40 70%); display: flex; align-items: center; }
.slide-design .slide-over { background: none; position: relative; width: 100%; justify-content: space-between; gap: 30px; }
.slide-art { width: clamp(120px, 24vw, 280px); aspect-ratio: 1; border-radius: 22%; flex-shrink: 0; box-shadow: 0 0 80px -10px rgba(34, 168, 255, .8), 0 30px 60px -20px #000; animation: bob 5s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-12px) rotate(-1.5deg); } }
.slider-progress { position: absolute; left: 0; top: 0; height: 3px; width: 100%; z-index: 6; background: rgba(255, 255, 255, .08); }
.slider-progress i { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: 0 50%; will-change: transform; background: var(--grad); box-shadow: 0 0 14px rgba(var(--cyan-rgb), .9); }
.slider-progress i.run { animation: progress var(--dur, 7s) linear forwards; }
@keyframes progress { to { transform: scaleX(1); } }
.slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 6; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(var(--bg-rgb), .6); backdrop-filter: blur(8px); color: #fff; display: grid; place-items: center; opacity: 0; transition: .25s; }
.slider:hover .slider-arrow { opacity: 1; }
.slider-arrow:hover { background: var(--grad); border-color: transparent; box-shadow: var(--glow); }
.slider-arrow.prev { left: 14px; } .slider-arrow.next { right: 14px; }
/* bolinhas dentro da imagem (no lugar das miniaturas) */
.slider-dots { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); z-index: 6; display: flex; align-items: center; gap: 7px; padding: 5px 9px; border-radius: 999px; background: rgba(var(--deep-rgb), .34); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); pointer-events: none; }
.sdot { position: relative; pointer-events: auto; width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .55); transition: width .35s, background .3s, box-shadow .3s; }
.sdot::before { content: ''; position: absolute; inset: -12px -5px; } /* área de toque maior */
.sdot:hover { background: rgba(255, 255, 255, .85); }
.sdot.active { width: 22px; background: var(--grad); box-shadow: 0 0 10px rgba(var(--cyan-rgb), .7); }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }
.feature { display: flex; align-items: center; gap: 16px; padding: 22px; border-radius: var(--r-lg); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(52, 56, 79, .6), rgba(44, 49, 69, .6)); backdrop-filter: blur(8px); transition: transform .3s, border-color .3s, box-shadow .3s; }
.feature:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--glow-soft); }
.feature-ico { width: 58px; height: 58px; flex-shrink: 0; display: grid; place-items: center; border-radius: 18px; background: var(--grad); color: var(--on-accent, #fff); box-shadow: 0 10px 28px -8px rgba(var(--blue-rgb), .9); transition: transform .4s cubic-bezier(.2, .9, .3, 1.4); }
.feature:hover .feature-ico { transform: rotate(-8deg) scale(1.1); }
.feature-title { font-family: var(--font-display); font-weight: 800; font-size: 1.12rem; line-height: 1.15; }
.feature small { display: block; color: var(--muted); font-size: .78rem; margin-top: 3px; font-family: var(--font); font-weight: 400; }

.logo-strip { position: relative; overflow: hidden; margin: 14px 0 0; padding: 6px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%); }
.logo-strip-track { display: flex; width: max-content; animation: logoScroll 42s linear infinite; will-change: transform; backface-visibility: hidden; transform: translate3d(0, 0, 0); }
.logo-strip-group { display: flex; flex-shrink: 0; }
.logo-strip img { display: block; height: 52px; width: auto; flex-shrink: 0; filter: brightness(0) invert(1); opacity: .7; transition: opacity .3s; user-select: none; -webkit-user-drag: none; }
.logo-strip:hover img { opacity: 1; }
@keyframes logoScroll { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
.tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.tile { position: relative; display: flex; flex-direction: column; padding: 10px 10px 12px; border-radius: var(--r-lg); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .008)); transition: transform .25s ease, border-color .3s, box-shadow .3s; transform-style: preserve-3d; will-change: transform; }
.tile:hover { border-color: var(--blue-2); box-shadow: 0 18px 50px -16px rgba(var(--blue-rgb), .75); }
.tile-link { position: absolute; inset: 0; z-index: 3; border-radius: inherit; }
.tile-img { position: relative; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: var(--surface-2); }
.tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.tile:hover .tile-img img { transform: scale(1.08); }
.tile-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .22) 48%, transparent 66%); transform: translateX(-120%); transition: transform .8s; pointer-events: none; }
.tile:hover .tile-img::after { transform: translateX(120%); }
.tile-name { margin-top: 10px; padding: 11px 10px; border-radius: 12px; background: rgba(255, 255, 255, .045); text-align: center; font-weight: 600; font-size: .84rem; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: background .2s, color .2s; }
.tile:hover .tile-name { background: var(--grad-soft); color: #fff; }
.tile-cart { position: absolute; z-index: 4; right: 18px; top: 18px; width: 38px; height: 38px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(var(--bg-rgb), .72); backdrop-filter: blur(8px); color: #fff; display: grid; place-items: center; opacity: 0; transform: translateY(-6px) scale(.9); transition: .25s; }
.tile:hover .tile-cart { opacity: 1; transform: none; }
.tile-cart:hover { background: var(--grad); border-color: transparent; box-shadow: var(--glow); }
/* esgotado: o card da vitrine fica igual aos outros; o aviso só aparece depois de abrir o produto */
@media (hover: none) { .tile-cart { opacity: 1; transform: none; } }
@media (max-width: 1140px) { .tiles { gap: 16px; } }
@media (max-width: 920px) { .tiles { grid-template-columns: repeat(4, 1fr); gap: 12px; } .features { grid-template-columns: repeat(2, 1fr); } .hero-side { align-items: flex-start; } .chips, .hero-stats div { justify-content: flex-start; text-align: left; } }
@media (max-width: 700px) { .tiles { grid-template-columns: repeat(3, 1fr); gap: 10px; } .hero { padding: 24px 20px; } .panel { padding: 16px; border-radius: 22px; } .tile { padding: 7px 7px 10px; } .tile-name { font-size: .76rem; padding: 7px 6px; } }
@media (max-width: 520px) { .tiles { grid-template-columns: repeat(2, 1fr); } .features { grid-template-columns: 1fr; } .feature { padding: 16px; } .slider-arrow { display: none; } .slide-copy h2 { font-size: 1.2rem; } .slide-copy p { margin-bottom: 10px; } .slide-copy .btn-lg { --h: 38px; padding: 0 16px; font-size: .84rem; } .slide-art { width: 96px; } .slide-design .slide-over { padding: 0 16px; } }

/* ── Rodapé, flutuantes ──────────────────────────────────────────────── */
.footer { margin-top: 30px; border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(40, 44, 63, .6), rgba(var(--bg-rgb), .95)); position: relative; z-index: 2; }
.footer::before { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--grad-line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding: 44px 0 30px; }
.footer h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ice); margin-bottom: 14px; }
.footer p, .footer a { font-size: .86rem; color: var(--muted); }
.footer a { display: block; padding: 4px 0; transition: color .2s, transform .2s; }
.footer a:hover { color: #fff; transform: translateX(3px); }
.footer-brand .brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; padding: 0; min-height: 0; width: fit-content; }
.footer-brand .brand:hover { transform: none; }
.social { display: flex; gap: 8px; margin-top: 14px; }
.social a { width: 38px; height: 38px; padding: 0; display: grid; place-items: center; border-radius: 11px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); color: var(--ice); }
.social a:hover { background: var(--grad); transform: translateY(-2px); border-color: transparent; }
/* redes sociais com a cor de cada marca */
.social a.s-tg { background: linear-gradient(145deg, #37aee2, #1e96c8); border-color: transparent; color: #fff; }
.social a.s-ig { background: linear-gradient(45deg, #f9ce34, #ee2a7b 55%, #6228d7); border-color: transparent; color: #fff; }
.social a.s-yt { background: #ff0000; border-color: transparent; color: #fff; }
.social a.s-wa { background: none; border: 0; padding: 0; overflow: hidden; }
.social a.s-wa .wa-ico { width: 100%; height: 100%; display: block; }
.social a.s-grp:hover { background: var(--grad); }
.social a.s-tg:hover, .social a.s-ig:hover, .social a.s-yt:hover, .social a.s-wa:hover { filter: brightness(1.12); box-shadow: 0 8px 20px -8px rgba(255, 255, 255, .35); }
.footer-delivery a { display: inline; padding: 0; color: var(--sky); text-decoration: underline; text-underline-offset: 2px; }
.footer-delivery a:hover { transform: none; color: #fff; }
/* no rodapé o nome fica ao lado da bolsa em qualquer largura */
.footer-brand .brand-name { flex-direction: row; align-items: baseline; gap: .32em; line-height: 1; font-size: 1.32rem; letter-spacing: .03em; }
.footer-brand .brand-name b { font-size: 1em; letter-spacing: inherit; margin-right: 0; }
.footer-brand .brand-name span { font-size: 1em; letter-spacing: inherit; padding-right: .08em; }
.seal-row { display: flex; flex-wrap: wrap; gap: 8px; }
.seal { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 10px; font-size: .76rem; color: var(--ice); background: rgba(var(--blue2-rgb), .1); border: 1px solid var(--line); }
.seal .ico { color: var(--cyan); }
.footer-bottom { padding: 18px 0 26px; border-top: 1px solid rgba(var(--line-rgb), .1); text-align: center; font-size: .78rem; color: var(--dim); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; padding-top: 32px; } }

.fab { position: fixed; right: 20px; bottom: 20px; z-index: 700; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: var(--on-accent, #fff); box-shadow: 0 12px 36px -8px rgba(var(--blue-rgb), .95); transition: transform .25s; }
.fab:hover { transform: translateY(-3px) scale(1.07); }
.fab::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(var(--sky-rgb), .7); animation: ring 2.4s ease-out infinite; }
.fab::after { content: ''; position: absolute; right: 2px; top: 2px; width: 13px; height: 13px; border-radius: 50%; background: var(--ok); border: 2px solid var(--bg); }
@keyframes ring { to { transform: scale(1.6); opacity: 0; } }
@keyframes glowPulse { 0%, 100% { opacity: .55; transform: scale(.94); } 50% { opacity: 1; transform: scale(1.06); } }
.fab-label { position: absolute; right: 70px; top: 50%; transform: translateY(-50%) translateX(8px); background: rgba(44, 49, 69, .96); border: 1px solid var(--line-2); padding: 7px 12px; border-radius: 10px; font-size: .8rem; font-weight: 600; white-space: nowrap; opacity: 0; pointer-events: none; transition: .25s; }
.fab:hover .fab-label { opacity: 1; transform: translateY(-50%); }
.install-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; display: none; align-items: center; justify-content: center; gap: 14px; padding: 11px 16px; background: var(--grad); color: var(--on-accent, #fff); font-size: .88rem; font-weight: 500; box-shadow: 0 -10px 40px -10px rgba(var(--blue-rgb), .8); }
.install-bar.show { display: flex; animation: slideUp .4s both; }
.install-bar button.go { border: 0; background: rgba(255, 255, 255, .22); color: #fff; font-weight: 700; padding: 6px 16px; border-radius: 9px; }
.install-bar button.go:hover { background: rgba(255, 255, 255, .34); }
.install-bar button.x { border: 0; background: none; color: #fff; opacity: .8; padding: 4px; position: absolute; left: 12px; }
@keyframes slideUp { from { transform: translateY(100%); } }
body.has-install .fab { bottom: 70px; }

/* ── Notificações (cliente) ──────────────────────────────────────────── */
.notif-panel { position: absolute; right: 0; top: calc(100% + 10px); width: 360px; max-width: calc(100vw - 24px); max-height: 70vh; overflow-y: auto; z-index: 60; padding: 12px; border-radius: 18px; background: var(--card); border: 1px solid var(--line-2); box-shadow: var(--shadow), var(--glow-soft); display: none; }
.notif-panel.show { display: block; animation: popIn .2s both; }
.notif-head { display: flex; align-items: center; justify-content: space-between; padding: 4px 6px 12px; border-bottom: 1px solid var(--line); margin-bottom: 8px; font-weight: 700; }
.notif-item { padding: 11px 12px; border-radius: 12px; cursor: pointer; border-left: 3px solid transparent; transition: .15s; }
.notif-item:hover { background: rgba(255, 255, 255, .05); }
.notif-item.unread { background: rgba(var(--blue-rgb), .12); border-left-color: var(--blue-2); }
.notif-item b { font-size: .86rem; display: block; }
.notif-item span { font-size: .78rem; color: var(--muted); display: block; margin-top: 2px; }
.notif-item small { font-size: .68rem; color: var(--dim); display: block; margin-top: 5px; }
.notif-empty { text-align: center; padding: 30px 10px; color: var(--muted); font-size: .86rem; }
.toast-notif { cursor: pointer; }

/* ── Movimento reduzido ──────────────────────────────────────────────
   Desliga só os efeitos pesados/decorativos. O carrossel de logos, o slider
   e as transições básicas continuam funcionando (são lentos e sem flashes). */
@media (prefers-reduced-motion: reduce) {
  html.respect-motion .fx-aurora i, html.respect-motion .hero-ring b, html.respect-motion .auth-card::before, html.respect-motion .auth-logo::before, html.respect-motion .btn-primary::after, html.respect-motion .btn-shine::after, html.respect-motion .grad-text, html.respect-motion .pd-art, html.respect-motion .slide-art, html.respect-motion .pd-ring, html.respect-motion .auth-logo img, html.respect-motion .qf, html.respect-motion .qr-scan, html.respect-motion .live-dot { animation: none !important; }
  html.respect-motion.js .rv { opacity: 1; transform: none; transition: none; }
  html.respect-motion #fxCanvas { display: none; }
}

@media (max-width: 430px) {
  .topbar { gap: 8px; }
  .brand { gap: 8px; }
  .brand-logo { width: 34px; height: 34px; }
  .brand-name { font-size: .92rem; }
  .tb-actions { gap: 5px; }
  .icon-btn, .avatar { width: 34px; height: 34px; border-radius: 10px; }
  .balance-chip { height: 34px; border-radius: 10px; }
  .balance-chip .plus { width: 26px; height: 26px; }
  .hero h1 { font-size: 1.55rem; }
}

@media (max-width: 560px) {
  .notif-panel { position: fixed; left: 12px; right: 12px; top: calc(var(--header-h) + 8px); width: auto; max-width: none; }
  .menu-pop { position: fixed; right: 12px; top: calc(var(--header-h) + 8px); }
}

/* ── Topo: busca em barra que abre sobre o cabeçalho + login rápido ── */
.hdr-wrap { position: relative; }
.search-bar { position: absolute; left: 0; right: 0; top: 0; height: var(--header-h); z-index: 30; display: flex; align-items: center; gap: 10px; padding: 0 20px; background: #292d40; border-bottom: 1px solid var(--line-2);
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .25s, visibility .2s; }
.search-bar.open { opacity: 1; visibility: visible; transform: none; }
.search-bar > .lead { position: absolute; left: 36px; top: 50%; transform: translateY(-50%); color: var(--sky); pointer-events: none; }
.search-bar .input { flex: 1; height: 46px; padding-left: 46px; border-radius: 14px; background: rgba(255, 255, 255, .06); }
.search-bar .ac-drop { left: 20px; right: 20px; }
.user-btn { position: relative; }
.dot-live { position: absolute; right: 5px; bottom: 5px; width: 9px; height: 9px; border-radius: 50%; background: var(--ok); border: 2px solid var(--bg); box-shadow: 0 0 8px var(--ok); }
.avatar.has-img { padding: 0; overflow: hidden; background: var(--surface-2); }
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.login-pop { width: 340px; max-width: calc(100vw - 24px); padding: 16px; }
.login-pop .field { margin-bottom: 12px; }
.login-pop .label { font-size: .78rem; }
.login-pop .input { height: 44px; font-size: .9rem; }
.login-pop .input-wrap .trail { width: 34px; height: 34px; }
.login-pop .btn { --h: 44px; }
.login-pop .divider { margin: 12px 0; }
.login-pop .guard-status { margin-top: 10px; }
.pop-error { padding: 9px 12px; border-radius: 10px; font-size: .82rem; margin-bottom: 10px; background: rgba(244, 63, 94, .1); border: 1px solid rgba(244, 63, 94, .35); color: #fecdd3; }
.pop-new { text-align: center; font-size: .82rem; color: var(--muted); margin-top: 12px; }
.pop-new a { color: var(--cyan); font-weight: 600; }
.pop-new a:hover { color: #fff; }
.fab-dot { position: absolute; left: -4px; top: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: linear-gradient(135deg, #f43f5e, #fb7185); color: #fff; font-size: .68rem; font-weight: 700; display: none; align-items: center; justify-content: center; border: 2px solid var(--bg); box-shadow: 0 0 12px rgba(244, 63, 94, .8); }
@media (max-width: 560px) {
  .search-bar { padding: 0 14px; }
  .search-bar > .lead { left: 30px; }
  .search-bar .ac-drop { left: 14px; right: 14px; }
  .login-pop { position: fixed; left: 12px; right: 12px; top: calc(var(--header-h) + 8px); width: auto; max-height: calc(100dvh - var(--header-h) - 24px); overflow-y: auto; }
}

/* ── Polimento mobile (celular) ──────────────────────────────────────── */
@media (max-width: 640px) {
  /* menu superior: abas menores, com "esmaecer" na borda para indicar que rola */
  .navrow { padding-right: 14px; scroll-padding: 0 28px; }
  /* esmaecimento na borda direita (sticky, não usa mask para não cortar o menu de Categorias) */
  .navrow::after { content: ''; position: sticky; right: -14px; flex: 0 0 30px; align-self: stretch; margin: 0 -14px 0 -16px; background: linear-gradient(90deg, rgba(var(--bg-rgb), 0), rgba(var(--bg-rgb), .92)); pointer-events: none; transition: opacity .2s; }
  .navrow.at-end::after { opacity: 0; }
  .nav-pill { height: 36px; padding: 0 13px; gap: 6px; font-size: .86rem; }
  /* celulares estreitos: as 3 abas (Início · Categorias · Meus Pedidos) cabem sem rolar a partir de ~360px */
  @media (max-width: 430px) {
    .navrow { gap: 3px; }
    .nav-pill { padding: 0 9px; gap: 5px; font-size: .82rem; }
    .nav-pill > svg:not(.ico-chev) { width: 16px; height: 16px; }
    .nav-pill .ico-chev { width: 14px; height: 14px; }
  }
  @media (max-width: 380px) { .navrow { padding-right: 0; gap: 2px; } .nav-pill { padding: 0 6px; gap: 4px; } }
  /* hero compacto */
  .hero { padding: 22px 18px; margin: 14px 0 14px; gap: 14px; }
  .hero h1 { font-size: 1.6rem; }
  .hero p { font-size: .92rem; }
  .hero-side { align-items: stretch; width: 100%; gap: 12px; }
  .chips { justify-content: flex-start; gap: 6px; }
  .chip { height: 28px; padding: 0 11px; font-size: .72rem; gap: 5px; }
  .hero-stats { width: 100%; justify-content: space-between; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
  .hero-stats div { text-align: left; }
  .hero-stats b { font-size: 1.35rem; }
  .hero-stats small { font-size: .62rem; letter-spacing: .05em; }
  /* "Por que comprar": 2 × 2 compactos em vez de 4 cartões empilhados */
  .features { gap: 10px; margin-bottom: 16px; }
  .feature { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; }
  .feature-ico { width: 42px; height: 42px; border-radius: 13px; }
  .feature-ico svg { width: 22px; height: 22px; }
  .feature-title { font-size: .95rem; }
  .feature small { font-size: .7rem; line-height: 1.3; }
  /* barra "Instale o app": sem ícone sobreposto, texto enxuto */
  .install-bar { justify-content: space-between; gap: 10px; padding: 8px 12px 8px 40px; font-size: .76rem; line-height: 1.25; text-align: left; }
  .install-bar > svg { display: none; }
  .install-bar button.x { left: 8px; top: 50%; transform: translateY(-50%); }
  .install-bar button.go { padding: 6px 13px; font-size: .78rem; flex-shrink: 0; }
  /* botão de suporte menor, sem tapar tanto o conteúdo */
  .fab { width: 50px; height: 50px; right: 12px; bottom: 14px; }
  .fab svg { width: 22px; height: 22px; }
  body.has-install .fab { bottom: 62px; }
}
@media (max-width: 520px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ── Telas muito pequenas (iPhone SE / Androids de 320–360px): topo logado cabe sem vazar ── */
@media (max-width: 360px) {
  .wrap { padding: 0 10px; }
  .topbar { gap: 6px; }
  .brand { gap: 6px; }
  .brand-logo { width: 30px; height: 30px; }
  .brand-name { font-size: .8rem; }
  .tb-actions { gap: 3px; }
  .icon-btn, .avatar, .balance-chip { height: 32px; }
  .icon-btn, .avatar { width: 32px; border-radius: 9px; }
  .balance-chip { padding: 0 3px 0 8px; gap: 4px; border-radius: 9px; }
  .balance-chip .plus { width: 24px; height: 24px; border-radius: 7px; }
  .balance-chip > .ico { width: 16px; height: 16px; }
  .icon-btn .ico { width: 17px; height: 17px; }
  .install-bar { padding-left: 34px; font-size: .72rem; }
  .login-pop, .menu-pop, .notif-panel { left: 8px !important; right: 8px !important; }
}
/* telas de dobráveis fechados (~280px): só o logotipo, para o topo logado caber sem rolar para o lado */
@media (max-width: 300px) {
  .brand-name { display: none; }
  .balance-chip { padding-left: 6px; }
}

/* botões com texto longo quebram a linha em vez de vazar da tela (celulares) */
@media (max-width: 420px) {
  .btn { white-space: normal; height: auto; min-height: var(--h); padding-top: 8px; padding-bottom: 8px; line-height: 1.25; text-align: center; max-width: 100%; }
}

/* ── Páginas institucionais (Privacidade, Reembolso, Termos, Dúvidas) ── */
.seal-center { justify-content: center; padding: 4px 0 22px; }
.consent { margin: 0 0 12px; font-size: .78rem; color: var(--muted); text-align: center; line-height: 1.5; }
.consent a { color: var(--sky); text-decoration: underline; text-underline-offset: 2px; }
.legal { max-width: 860px; margin: 0 auto; padding: 30px 34px; }
.legal-head { display: flex; align-items: center; gap: 16px; padding-bottom: 20px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.legal-ico { width: 56px; height: 56px; border-radius: 17px; flex-shrink: 0; display: grid; place-items: center; color: var(--on-accent, #fff); background: var(--grad); box-shadow: 0 12px 30px -10px rgba(var(--blue-rgb), .9); }
.legal-head h1 { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: clamp(1.4rem, 3.4vw, 2rem); line-height: 1.1; }
.legal-head small { color: var(--dim); font-size: .78rem; }
.legal-body { line-height: 1.7; color: #c9d6f0; font-size: .96rem; }
.legal-body p { margin: 14px 0; }
.legal-body h2 { margin: 28px 0 8px; font-size: 1.12rem; color: #fff; display: flex; align-items: center; gap: 10px; }
.legal-body h2::before { content: ''; width: 4px; height: 1.1em; border-radius: 3px; background: var(--grad); flex-shrink: 0; }
.legal-body ul { margin: 8px 0 14px; padding-left: 22px; }
.legal-body li { margin: 6px 0; padding-left: 4px; }
.legal-body li::marker { color: var(--cyan); }
.legal-body strong { color: #fff; font-weight: 700; }
.legal-body a { color: var(--sky); text-decoration: underline; text-underline-offset: 3px; word-break: break-all; }
.legal-more { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); }
.legal-more a { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 12px; font-size: .84rem; color: var(--muted); border: 1px solid var(--line); background: rgba(255, 255, 255, .03); transition: .2s; }
.legal-more a:hover { color: #fff; border-color: var(--line-2); background: rgba(var(--blue2-rgb), .12); }
@media (max-width: 640px) { .legal { padding: 20px 16px; border-radius: 22px; } .legal-head { gap: 12px; } .legal-ico { width: 46px; height: 46px; border-radius: 14px; } .legal-body { font-size: .92rem; } }

/* ── Alvos de toque confortáveis no celular (mín. ~36px de altura) ── */
@media (max-width: 640px) {
  .footer a { display: flex; align-items: center; min-height: 36px; padding: 4px 0; }
  .footer a:hover { transform: none; }
  .install-bar button.x { width: 36px; height: 36px; padding: 0; display: grid; place-items: center; left: 2px; }
  .install-bar button.go { min-height: 36px; }
  .label a { padding: 7px 0; }
}

/* ── Ponteiro do mouse: seta preta com contorno azul neon (só com mouse; no celular não existe) ───── */
:root { --cur: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Cfilter id='b' x='-30%25' y='-30%25' width='160%25' height='160%25'%3E%3CfeGaussianBlur stdDeviation='1.5'/%3E%3C/filter%3E%3Cpath filter='url(%23b)' d='M4 3L22 13.1L12.6 14.1L9.4 23Z' fill='none' stroke='%232f8bff' stroke-opacity='.9' stroke-width='3.6' stroke-linejoin='round'/%3E%3Cpath d='M4 3L22 13.1L12.6 14.1L9.4 23Z' fill='%23070a14' stroke='%233b9bff' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") 4 3, auto; --cur-link: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Cfilter id='b' x='-30%25' y='-30%25' width='160%25' height='160%25'%3E%3CfeGaussianBlur stdDeviation='1.5'/%3E%3C/filter%3E%3Cpath filter='url(%23b)' d='M4 3L22 13.1L12.6 14.1L9.4 23Z' fill='none' stroke='%2322d3ee' stroke-opacity='.9' stroke-width='3.6' stroke-linejoin='round'/%3E%3Cpath d='M4 3L22 13.1L12.6 14.1L9.4 23Z' fill='%230a1224' stroke='%2322d3ee' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") 4 3, pointer; }
@media (hover: hover) and (pointer: fine) {
  html, body { cursor: var(--cur); }
  a, button, [role="button"], label, summary, select, [data-pop], [onclick], .pill, .tile, .nav-pill, .btn, .opt, input[type="submit"], input[type="button"], input[type="checkbox"], input[type="radio"] { cursor: var(--cur-link); }
  input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="range"]):not([type="color"]):not([type="file"]), textarea { cursor: text; }
  button:disabled, .btn:disabled, .btn.disabled, input:disabled, select:disabled { cursor: not-allowed; }
}

/* degradê em elemento com borda transparente: o "background:" abreviado volta a origem para padding-box e o degradê se repete na borda de 1px (faixa de outra cor nas laterais). Aqui a origem é fixada por último. */
.nav-pill.active, .btn-primary, .btn-primary:hover, .pill.active, .btn-lime { background-origin: border-box; background-repeat: no-repeat; }

/* Categorias (desktop): ponte invisível entre o item e o submenu + pequena tolerância ao sair, para dar tempo de arrastar o mouse até os produtos sem o menu sumir */
@media (min-width: 961px) {
  .dd-fly { display: block; visibility: hidden; opacity: 0; animation: none; transition: opacity .15s ease .3s, visibility 0s linear .45s; }
  .dd-cat:hover > .dd-fly, .dd-cat:focus-within > .dd-fly { visibility: visible; opacity: 1; animation: none; transition-delay: 0s; }
  .dd-menu:has(.dd-cat:hover) .dd-cat:not(:hover) > .dd-fly { visibility: hidden; opacity: 0; transition: none; }
  .dd-cat:hover::after { content: ''; position: absolute; left: 100%; top: 0; bottom: 0; width: 26px; }
}

/* ── Menu ☰ (celular/tablet): painel com todas as opções, sem rolar para os lados ── */
.menu-btn { display: none; }
@media (max-width: 960px) {
  .menu-btn { display: grid; flex: 0 0 auto; }
  .navrow, .navrow::after { display: none !important; }
  .header.nav-open .navrow { display: flex !important; flex-direction: column; align-items: stretch; gap: 4px; height: auto; max-height: calc(100vh - var(--header-h) - 24px); overflow-y: auto; padding: 10px 0 14px; border-top: 1px solid rgba(var(--line-rgb), .12); animation: popIn .18s both; }
  .header.nav-open .navrow .nav-pill { height: 48px; padding: 0 14px; font-size: .96rem; justify-content: flex-start; border-radius: 14px; }
  .header.nav-open .navrow .nav-pill.active { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15); }
  .header.nav-open .navrow .dd { width: 100%; }
  .header.nav-open .navrow .dd > .nav-pill { width: 100%; }
  .header.nav-open .navrow .dd > .nav-pill .ico-chev { margin-left: auto; }
  .header.nav-open .navrow .dd.open > .dd-menu { position: static; display: block; width: auto; max-height: none; margin: 6px 0 2px; padding: 6px; border-radius: 14px; box-shadow: none; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); animation: none; }
  .header.nav-open .navrow .dd:hover:not(.open) > .dd-menu { display: none; }
  .header.nav-open .navrow .dd-item { min-height: 44px; }
}
/* logado: ☰ + logo + 5 ícones já ocupam a linha toda → só a logo; visitante mantém o nome */
@media (max-width: 700px) { .header:has(.balance-chip) .brand-name { display: none; } }
@media (max-width: 430px) { .topbar { gap: 8px; } }
@media (max-width: 300px) { .header .brand-name { display: none; } }
/* banner maior no celular: ocupa a largura toda e fica mais alto */
@media (max-width: 640px) {
  .slider { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); width: auto; border-radius: 0; border-left: 0; border-right: 0; }
  .slides { aspect-ratio: 1280 / 640; }
  .slide > img { object-position: center; }
}

/* ── Rodapé dentro de uma caixa (quadrante), como os blocos de produtos ── */
.footer { background: none; border-top: 0; padding: 10px 0 24px; margin-top: 18px; }
.footer::before { display: none; }
.footer-box { border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--card); padding: 6px 32px 0; box-shadow: var(--shadow); overflow: hidden; }
.footer-box .footer-grid { padding: 34px 0 26px; }
.footer-box .footer-bottom { border-top: 1px solid rgba(var(--line-rgb), .12); }
.social a.s-fb { background: #1877f2; border-color: transparent; color: #fff; }
.social a.s-fb:hover { filter: brightness(1.12); background: #1877f2; }
.social { gap: 10px; flex-wrap: wrap; }
@media (max-width: 760px) {
  .footer { padding: 6px 0 22px; }
  .footer-box { padding: 4px 16px 0; border-radius: 22px; }
  .footer-box .footer-grid { grid-template-columns: 1fr; gap: 26px; padding: 26px 0 18px; text-align: center; }
  .footer-box .footer-brand { display: flex; flex-direction: column; align-items: center; }
  .footer-box .footer-brand .brand { justify-content: center; }
  .footer-box .social { justify-content: center; margin-top: 12px; }
  .footer-box h4 { margin-bottom: 8px; }
  .footer-box a { justify-content: center; text-align: center; }
  .footer-box .footer-trust { display: flex; flex-direction: column; align-items: center; }
  .footer-box .footer-trust h4:not(:first-child) { margin-top: 22px; }
  .footer-box .g-rev { display: block; width: 100%; }
  .g-rev-svg { width: 100%; max-width: 420px; height: auto; margin: 0 auto; }
  .pay-flags, .trust-seals { justify-content: center; }
  .footer-box .footer-grid > div + div { padding-top: 22px; border-top: 1px solid rgba(var(--line-rgb), .1); }
}
/* banner da home no celular: mais alto e com a "telinha" bem à mostra */
@media (max-width: 640px) {
  /* a arte inteira aparece, sem cortar nem perder as laterais; esticada só um pouco na altura (~15%) para ficar mais visível */
  .slides { aspect-ratio: 1280 / 630; }
  .slide > img { object-fit: fill; object-position: center; transform: none; transition: none; }
  .slider-dots { bottom: 8px; }
}

/* redes no rodapé: quadradinhos coloridos lado a lado (WhatsApp também em quadradinho verde) */
.social { display: flex; flex-wrap: wrap; gap: 10px; }
.social > a { width: 42px; height: 42px; padding: 0; display: grid; place-items: center; border-radius: 12px; flex: 0 0 auto; color: #fff; overflow: hidden; }
.social > a.s-wa { background: #25d366; border: 0; }
.social > a.s-wa .wa-ico { width: 100%; height: 100%; display: block; }
/* telas de ~280 px (dobráveis fechados), logado: ícones um pouco menores para caber */
@media (max-width: 300px) {
  .header .menu-btn, .header .tb-actions .icon-btn, .header .tb-actions .avatar { width: 30px; height: 30px; }
  .header .tb-actions { gap: 2px; }
  .header .topbar { gap: 4px; }
  .header .balance-chip { padding: 0 2px 0 6px; }
}

/* ── Ícones animados (GIFs da pasta icones) e quadradinhos das categorias em movimento ── */
.as-star, .as-search { flex-shrink: 0; display: inline-block; vertical-align: middle; object-fit: contain; }
.icon-btn .as-search { width: 22px; height: 22px; }
.search-bar .as-search { margin-left: 6px; }
.empty .ico-wrap .as-star { width: 36px; height: 36px; }
.stars .as-star, .rev-head .as-star { filter: drop-shadow(0 0 2px rgba(255, 190, 40, .35)); }
/* quadradinhos de título (categorias, sugestões...): o ícone dá um "pinch" suave, cada um em um ritmo */
.panel-ico { position: relative; overflow: hidden; }
.panel-ico > .ico { animation: icoPinch 3s ease-in-out infinite; transform-origin: 50% 60%; }
.panel:nth-of-type(2n) .panel-ico > .ico { animation-delay: -.8s; }
.panel:nth-of-type(3n) .panel-ico > .ico { animation-delay: -1.6s; }
.panel-ico::after { content: ''; position: absolute; inset: -40% -60%; background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, .28) 50%, transparent 58%); transform: translateX(-120%); animation: icoShine 4.2s ease-in-out infinite; pointer-events: none; }
@keyframes icoPinch { 0%, 55%, 100% { transform: scale(1) rotate(0); } 12% { transform: scale(1.22) rotate(-9deg); } 24% { transform: scale(.9) rotate(7deg); } 36% { transform: scale(1.08) rotate(-3deg); } 46% { transform: scale(1) rotate(0); } }
@keyframes icoShine { 0%, 62% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
@media (prefers-reduced-motion: reduce) { html.respect-motion .panel-ico > .ico, html.respect-motion .panel-ico::after { animation: none !important; } }
