/* ═══════════════════════════════════════════════════════════════
   QUANTOTÁ · Design System v5
   Referências: ClickSuper (super-verde), FarmaciasApp (farma-teal)
   ═══════════════════════════════════════════════════════════════ */

/* ── TOKENS ─────────────────────────────────────────────────── */
:root {
  /* Super — verde fresco (frescor, economia, natureza) */
  --g: #22c55e; --gd: #16a34a; --gl: rgba(34,197,94,.07); --gm: #bbf7d0;

  /* Farma — teal saúde (confiança, cuidado, saúde) */
  --b: #0d9488; --bd: #0f766e; --bl: rgba(13,148,136,.07); --bm: #ccfbf1;

  /* Neutros refinados */
  --ink: #09090b; --ink2: #18181b;
  --body: #52525b; --muted: #a1a1aa;
  --bg: #fafafa; --bg2: rgba(255,255,255,.85); --bg3: rgba(255,255,255,.5);
  --bdr: rgba(228,228,231,.9); --bdr2: rgba(212,212,216,.9);

  /* Acento semântico */
  --gold: #f59e0b; --red: #ef4444; --pu: #8b5cf6; --green: #10b981;

  /* Sombras em camadas */
  --sh:  0 1px 2px rgba(0,0,0,.04), 0 1px 4px rgba(0,0,0,.03);
  --sh2: 0 4px 6px -1px rgba(0,0,0,.06), 0 2px 4px -1px rgba(0,0,0,.04);
  --sh3: 0 20px 60px -12px rgba(0,0,0,.1), 0 8px 20px -4px rgba(0,0,0,.05);

  /* Radii */
  --r: 12px; --r2: 20px; --r3: 16px;

  /* Setor ativo */
  --ac: var(--g); --acd: var(--gd); --acl: var(--gl); --acm: var(--gm);
}

/* ── RESET & BASE ────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.6;
  letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; transition: all .2s ease; }

/* ── TOPBAR ──────────────────────────────────────────────────── */
.topbar {
  padding: .42rem 5%;
  display: flex; align-items: center;
  justify-content: space-between;
  gap: .5rem; flex-wrap: wrap;
}
body.sector-super .topbar { background: linear-gradient(90deg, #15803d, #16a34a, #22c55e); }
body.sector-farma .topbar { background: linear-gradient(90deg, #134e4a, #0f766e, #0d9488); }
.topbar-l { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.tb-item {
  font-size: .7rem; color: rgba(255,255,255,.9);
  font-weight: 600; display: flex; align-items: center; gap: .28rem;
  letter-spacing: .01em;
}
.topbar-r { font-size: .68rem; color: rgba(255,255,255,.55); font-weight: 500; }

/* ── HEADER ──────────────────────────────────────────────────── */
header {
  background: rgba(255,255,255,.72);
  backdrop-filter: saturate(200%) blur(24px);
  -webkit-backdrop-filter: saturate(200%) blur(24px);
  padding: 0 5%;
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 1rem; height: 68px;
  border-bottom: 1px solid rgba(255,255,255,.7);
  position: sticky; top: 0; z-index: 300;
  box-shadow: 0 1px 0 rgba(0,0,0,.05), 0 4px 20px rgba(0,0,0,.03);
}
.logo {
  font-family: 'Nunito', sans-serif;
  font-weight: 900; font-size: 1.8rem;
  letter-spacing: -.06em;
  display: flex; align-items: center; gap: .2rem;
}
.logo-super { color: var(--gd); }
.logo-farma { color: var(--bd); }
.logo-dot {
  width: 7px; height: 7px; border-radius: 50%;
  margin-left: 1px; display: inline-block;
  animation: blink 2.4s ease infinite;
}
body.sector-super .logo-dot { background: var(--g); box-shadow: 0 0 8px var(--g); }
body.sector-farma .logo-dot { background: var(--b); box-shadow: 0 0 8px var(--b); }
@keyframes blink { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:.3; transform:scale(.45); } }

/* SECTOR PILLS */
.sector-pills {
  display: flex; gap: 3px;
  background: rgba(0,0,0,.04);
  padding: 3px; border-radius: 11px;
}
.sp {
  border: none; background: transparent;
  border-radius: 8px; padding: .38rem .95rem;
  font-family: 'Inter', sans-serif; font-size: .82rem;
  font-weight: 600; color: var(--muted);
  cursor: pointer; transition: all .18s;
  white-space: nowrap; display: flex; align-items: center; gap: .32rem;
}
.sp:hover:not(.on) { color: var(--body); }
.sp.on { box-shadow: 0 1px 5px rgba(0,0,0,.1); color: #fff; font-weight: 700; }
.sp-super.on { background: linear-gradient(135deg, #16a34a, #22c55e); }
.sp-farma.on  { background: linear-gradient(135deg, #0f766e, #0d9488); }

/* NAV */
nav { display: flex; align-items: center; gap: .15rem; }
nav a {
  color: var(--body); font-size: .84rem; font-weight: 600;
  padding: .38rem .75rem; border-radius: 8px;
  transition: all .15s; white-space: nowrap;
}
nav a:hover { background: rgba(0,0,0,.04); color: var(--ink); }
.nav-cta {
  color: #fff !important; padding: .42rem 1.1rem !important;
  border-radius: 9px; font-weight: 700;
  transition: all .25s cubic-bezier(.34,1.56,.64,1);
  position: relative; overflow: hidden;
}
.nav-cta::after {
  content: ''; position: absolute; top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.3), transparent);
  transform: skewX(-20deg); transition: left .6s ease;
}
.nav-cta:hover::after { left: 150%; }
.nav-cta:hover { transform: translateY(-1px); filter: brightness(1.06); }
body.sector-super .nav-cta { background: linear-gradient(135deg,#16a34a,#22c55e); box-shadow: 0 3px 10px rgba(34,197,94,.3); }
body.sector-farma .nav-cta { background: linear-gradient(135deg,#0f766e,#0d9488); box-shadow: 0 3px 10px rgba(13,148,136,.3); }

/* ── SUB-NAV ─────────────────────────────────────────────────── */
.ptabs {
  background: rgba(255,255,255,.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--bdr);
  padding: 0 5%; display: flex; overflow-x: auto;
}
.ptabs::-webkit-scrollbar { height: 0; }
.ptab {
  padding: .7rem 1.1rem;
  border: none; background: transparent;
  color: var(--muted); font-family: 'Inter', sans-serif;
  font-size: .82rem; font-weight: 600;
  cursor: pointer; border-bottom: 2px solid transparent;
  transition: all .15s; white-space: nowrap;
  display: flex; align-items: center; gap: .3rem;
}
.ptab:hover { color: var(--body); }
.ptab.on { font-weight: 700; border-bottom-color: currentColor; }
body.sector-super .ptab.on { color: var(--gd); }
body.sector-farma .ptab.on { color: var(--bd); }
.ptab-dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .3; }
.ptab.on .ptab-dot { opacity: 1; }

/* ── HERO ────────────────────────────────────────────────────── */
.hero { padding: 4.5rem 5% 3.5rem; position: relative; overflow: hidden; display: none; }
.hero.active { display: block; }
body.sector-super .hero-super { display: block; }
body.sector-farma .hero-farma { display: block; }

/* Mesh gradient background */
body.sector-super .hero-super {
  background:
    radial-gradient(ellipse 80% 60% at 80% -10%, rgba(134,239,172,.22) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at -10% 80%, rgba(34,197,94,.14) 0%, transparent 55%),
    radial-gradient(ellipse 70% 70% at 90% 90%, rgba(22,163,74,.08) 0%, transparent 60%),
    linear-gradient(160deg, #f7fef9 0%, #f0fdf4 50%, #dcfce7 100%);
}
body.sector-farma .hero-farma {
  background:
    radial-gradient(ellipse 80% 60% at 80% -10%, rgba(153,246,228,.22) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at -10% 80%, rgba(13,148,136,.12) 0%, transparent 55%),
    radial-gradient(ellipse 70% 70% at 90% 90%, rgba(15,118,110,.08) 0%, transparent 60%),
    linear-gradient(160deg, #f0fdfa 0%, #ccfbf1 30%, #e8fef8 100%);
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hbg-blob {
  position: absolute; top: -15%; right: -8%; width: 55vw;
  max-width: 700px; height: 55vw; max-height: 700px;
  border-radius: 50%; opacity: .14; filter: blur(72px);
  animation: floatBlob 22s ease-in-out infinite alternate;
}
@keyframes floatBlob { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(-4%,8%) scale(1.12); } }
body.sector-super .hbg-blob { background: radial-gradient(circle, #bbf7d0 0%, #22c55e 45%, transparent 70%); }
body.sector-farma .hbg-blob { background: radial-gradient(circle, #99f6e4 0%, #0d9488 45%, transparent 70%); }
.hbg-stripe { position: absolute; bottom: 0; left: 0; right: 0; height: 4px; }
body.sector-super .hbg-stripe { background: linear-gradient(90deg, #16a34a, #86efac, transparent); }
body.sector-farma .hbg-stripe { background: linear-gradient(90deg, #0d9488, #2dd4bf, transparent); }

.hero-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.08fr;
  gap: 3.5rem; align-items: start;
}
@media (max-width:820px) { .hero-inner { grid-template-columns: 1fr; } }

.hero-tag {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .3rem .9rem; border-radius: 100px;
  font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .07em;
  margin-bottom: 1.1rem;
}
body.sector-super .hero-tag { background: rgba(34,197,94,.12); color: #15803d; border: 1px solid rgba(34,197,94,.22); }
body.sector-farma .hero-tag { background: rgba(13,148,136,.1); color: var(--bd); border: 1px solid rgba(13,148,136,.22); }
.hero-tag::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; animation: blink 2s infinite; }

h1 {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  font-weight: 900; line-height: 1.12;
  letter-spacing: -.05em; margin-bottom: 1.1rem; color: var(--ink);
}
.hl { position: relative; display: inline-block; }
body.sector-super .hl { color: var(--gd); }
body.sector-farma .hl { color: var(--bd); }
.hl::after {
  content: ''; position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 3px; border-radius: 2px;
  background: currentColor; opacity: .25;
}

.hero-sub { color: var(--body); font-size: .97rem; line-height: 1.74; max-width: 420px; margin-bottom: 1.8rem; }

.stats-row { display: flex; gap: 2rem; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat-n { font-family: 'Nunito', sans-serif; font-size: 1.55rem; font-weight: 900; line-height: 1; }
body.sector-super .stat-n { color: var(--gd); }
body.sector-farma .stat-n { color: var(--bd); }
.stat-l { font-size: .67rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-top: .22rem; }

/* ── SEARCH PANEL ────────────────────────────────────────────── */
.sp-card {
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(32px);
  -webkit-backdrop-filter: saturate(180%) blur(32px);
  border-radius: var(--r2);
  box-shadow: var(--sh3), 0 0 0 1px rgba(255,255,255,.9) inset;
  padding: 1.75rem;
  border: 1px solid rgba(255,255,255,.85);
  position: relative; overflow: hidden;
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), box-shadow .35s ease;
}
.sp-card:hover { transform: translateY(-3px); box-shadow: 0 28px 70px -15px rgba(0,0,0,.13), 0 0 0 1px rgba(255,255,255,.9) inset; }
.sp-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  border-radius: var(--r2) var(--r2) 0 0;
}
body.sector-super .sp-card::before { background: linear-gradient(90deg, #16a34a, #22c55e, #86efac); }
body.sector-farma .sp-card::before { background: linear-gradient(90deg, #0f766e, #0d9488, #2dd4bf); }

/* INNER TABS */
.itabs {
  display: flex; gap: 3px;
  background: rgba(0,0,0,.04);
  padding: 3px; border-radius: 11px;
  margin-bottom: 1.4rem;
}
.itab {
  flex: 1; padding: .46rem .2rem;
  border: none; background: transparent;
  border-radius: 8px; font-family: 'Inter', sans-serif;
  font-size: .76rem; font-weight: 600; color: var(--muted);
  cursor: pointer; transition: all .15s; white-space: nowrap;
}
.itab.on { background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.08); color: var(--ink); font-weight: 700; }
body.sector-super .itab.on { color: var(--gd); }
body.sector-farma .itab.on { color: var(--bd); }
.tp { display: none; } .tp.on { display: block; }

/* FORM ELEMENTS */
.fg { display: flex; flex-direction: column; gap: .22rem; }
.fg label, .flbl {
  font-size: .65rem; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: .07em;
}
select, input[type=text], textarea {
  font-family: 'Inter', sans-serif; font-size: .88rem;
  color: var(--ink); background: #fff;
  border: 1.5px solid var(--bdr);
  border-radius: 10px; outline: none;
  transition: border .15s, box-shadow .15s; width: 100%;
}
select { padding: .65rem .9rem; }
input[type=text] { padding: .65rem .9rem; }
textarea { padding: .7rem .9rem; resize: vertical; }
select:focus, input:focus, textarea:focus { border-color: var(--ac); box-shadow: 0 0 0 3px var(--acl); }
body.sector-super select:focus, body.sector-super input:focus { border-color: var(--g); box-shadow: 0 0 0 3px rgba(34,197,94,.12); }
body.sector-farma select:focus, body.sector-farma input:focus { border-color: var(--b); box-shadow: 0 0 0 3px rgba(13,148,136,.12); }

.srow { display: flex; gap: .48rem; align-items: flex-end; flex-wrap: wrap; }
.srow .fg { min-width: 130px; flex: 1; }

/* SEARCH BUTTON */
.btn-srch {
  padding: .7rem 1.4rem; border: none; border-radius: 10px;
  font-family: 'Inter', sans-serif; font-size: .9rem;
  font-weight: 700; color: #fff; cursor: pointer;
  display: flex; align-items: center; gap: .38rem;
  white-space: nowrap; flex-shrink: 0;
  transition: all .25s cubic-bezier(.34,1.56,.64,1);
  position: relative; overflow: hidden;
}
.btn-srch::after {
  content: ''; position: absolute; top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
  transform: skewX(-20deg); transition: left .6s ease;
}
.btn-srch:hover::after { left: 150%; }
.btn-srch:hover { transform: translateY(-1px); filter: brightness(1.06); }
body.sector-super .btn-srch { background: linear-gradient(135deg,#16a34a,#22c55e); box-shadow: 0 4px 12px rgba(22,163,74,.35); }
body.sector-super .btn-srch:hover { box-shadow: 0 6px 18px rgba(22,163,74,.5); }
body.sector-farma .btn-srch { background: linear-gradient(135deg,#0f766e,#0d9488); box-shadow: 0 4px 12px rgba(13,148,136,.35); }
body.sector-farma .btn-srch:hover { box-shadow: 0 6px 18px rgba(13,148,136,.5); }
.btn-srch svg { width: 14px; height: 14px; }

/* ADV FILTERS */
.btn-adv {
  display: inline-flex; align-items: center; gap: .32rem;
  border: 1.5px solid var(--bdr); border-radius: 9px;
  background: #fff; padding: .5rem .9rem;
  font-family: 'Inter', sans-serif; font-size: .77rem;
  font-weight: 600; color: var(--body); cursor: pointer;
  transition: all .15s; white-space: nowrap;
}
.btn-adv:hover, .btn-adv.on { border-color: var(--ac); color: var(--acd); background: var(--acl); }
.badge-cnt {
  display: none; background: var(--ac); color: #fff;
  border-radius: 100px; font-size: .58rem; font-weight: 700; padding: .05rem .35rem;
}
.badge-cnt.show { display: inline-block; }
.adv-panel {
  background: rgba(248,248,248,.6); border: 1.5px solid var(--bdr);
  border-radius: 12px; padding: 1rem 1.1rem;
  margin-top: .6rem; display: none;
}
.adv-panel.open { display: block; animation: fadeUp .18s ease; }
@keyframes fadeUp { from { opacity:0; transform:translateY(6px); } to { opacity:1; transform:translateY(0); } }
.adv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(145px,1fr)); gap: .42rem; margin-top: .55rem; }
.adv-field { display: flex; flex-direction: column; gap: .2rem; }
.adv-field label { font-size: .61rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.adv-field select, .adv-field input { padding: .48rem .7rem; border-radius: 8px; font-size: .82rem; }
.adv-foot { display: flex; justify-content: flex-end; margin-top: .6rem; }
.btn-clear {
  background: none; border: 1px solid var(--bdr); border-radius: 7px;
  padding: .28rem .65rem; font-size: .72rem;
  font-family: 'Inter', sans-serif; color: var(--muted); cursor: pointer; transition: all .15s;
}
.btn-clear:hover { border-color: var(--red); color: var(--red); }

/* FILTER PILLS */
.fpills { display: flex; flex-wrap: wrap; gap: .26rem; margin-top: .5rem; }
.fp {
  display: inline-flex; align-items: center; gap: .2rem;
  border-radius: 100px; padding: .18rem .58rem;
  font-size: .7rem; font-weight: 600; border: 1px solid transparent;
}
body.sector-super .fp { background: var(--gm); color: #15803d; border-color: rgba(22,163,74,.2); }
body.sector-farma .fp { background: var(--bm); color: var(--bd); border-color: rgba(15,118,110,.2); }
.fp button { background: none; border: none; cursor: pointer; color: inherit; opacity: .5; font-size: .68rem; }
.fp button:hover { opacity: 1; }

/* QUICK SUGGEST */
.qsug { display: flex; flex-wrap: wrap; gap: .26rem; align-items: center; margin-top: .6rem; }
.qlbl { font-size: .67rem; color: var(--muted); font-weight: 600; }
.qb {
  background: #fff; border: 1.5px solid var(--bdr); border-radius: 100px;
  padding: .2rem .62rem; cursor: pointer; font-size: .72rem;
  font-family: 'Inter', sans-serif; font-weight: 600; color: var(--body); transition: all .15s;
}
body.sector-super .qb:hover { border-color: var(--g); color: var(--gd); background: var(--gl); }
body.sector-farma .qb:hover { border-color: var(--b); color: var(--bd); background: var(--bl); }

.info-note {
  display: flex; align-items: flex-start; gap: .4rem;
  border-radius: 9px; padding: .55rem .8rem;
  margin-top: .85rem; font-size: .7rem; line-height: 1.55;
}
body.sector-super .info-note { background: #f0fdf4; border: 1px solid #bbf7d0; color: #15803d; }
body.sector-farma .info-note { background: #f0fdfa; border: 1px solid var(--bm); color: #0f766e; }

/* ── LIST BUILDER ────────────────────────────────────────────── */
.list-wrap { display: flex; flex-direction: column; gap: .4rem; max-height: 310px; overflow-y: auto; padding-right: 2px; }
.list-wrap::-webkit-scrollbar { width: 4px; }
.list-wrap::-webkit-scrollbar-thumb { background: var(--bdr2); border-radius: 4px; }
.li-card { background: #fff; border: 1.5px solid var(--bdr); border-radius: 11px; overflow: hidden; transition: border .15s, box-shadow .15s; }
.li-card.expanded { border-color: var(--ac); box-shadow: 0 0 0 3px var(--acl); }
.li-head { display: flex; align-items: center; gap: .46rem; padding: .62rem .8rem; cursor: pointer; user-select: none; }
.li-num { width: 22px; height: 22px; border-radius: 50%; font-family: 'Nunito', sans-serif; font-size: .7rem; font-weight: 900; color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
body.sector-super .li-num { background: linear-gradient(135deg,#16a34a,#22c55e); }
body.sector-farma .li-num { background: linear-gradient(135deg,#0f766e,#0d9488); }
.li-text { flex: 1; min-width: 0; }
.li-name { font-weight: 600; font-size: .85rem; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.li-hint { font-size: .7rem; color: var(--muted); margin-top: .06rem; }
.li-tags { display: flex; gap: .2rem; flex-wrap: wrap; margin-top: .1rem; }
.li-tag { font-size: .6rem; font-weight: 700; padding: .07rem .3rem; border-radius: 4px; }
.lt-a { background: #ccfbf1; color: #0f766e; }
.lt-b { background: #fef9c3; color: #713f12; }
.lt-c { background: #f3e8ff; color: #6b21a8; }
.lt-d { background: var(--gm); color: var(--gd); }
.lt-e { background: var(--bm); color: var(--bd); }
.li-caret { font-size: .7rem; color: var(--muted); transition: transform .2s; flex-shrink: 0; }
.li-caret.open { transform: rotate(180deg); }
.li-body { display: none; border-top: 1px solid var(--bdr); padding: .7rem .8rem; background: rgba(248,250,252,.6); }
.li-body.open { display: block; animation: fadeUp .15s ease; }
.li-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; }
.li-fg { display: flex; flex-direction: column; gap: .18rem; }
.li-fg label { font-size: .6rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.li-fg input, .li-fg select { padding: .46rem .7rem; border-radius: 7px; font-size: .82rem; }
.li-actions { display: flex; gap: .32rem; margin-top: .5rem; padding-top: .46rem; border-top: 1px solid var(--bdr); }
.btn-lisave { border: none; border-radius: 7px; padding: .3rem .72rem; font-size: .74rem; font-weight: 700; cursor: pointer; font-family: 'Inter', sans-serif; color: #fff; transition: all .15s; }
body.sector-super .btn-lisave { background: linear-gradient(135deg,#16a34a,#22c55e); }
body.sector-farma .btn-lisave { background: linear-gradient(135deg,#0f766e,#0d9488); }
.btn-lidel { background: none; border: 1.5px solid var(--bdr); border-radius: 7px; padding: .28rem .62rem; font-size: .74rem; color: var(--muted); cursor: pointer; font-family: 'Inter', sans-serif; transition: all .15s; }
.btn-lidel:hover { border-color: var(--red); color: var(--red); }
.btn-addli {
  display: flex; align-items: center; justify-content: center; gap: .35rem;
  background: none; border: 2px dashed var(--bdr2); border-radius: 11px;
  padding: .58rem; cursor: pointer; font-family: 'Inter', sans-serif;
  font-size: .82rem; font-weight: 600; color: var(--muted); width: 100%;
  margin-top: .38rem; transition: all .18s;
}
body.sector-super .btn-addli:hover { border-color: var(--g); color: var(--gd); background: var(--gl); }
body.sector-farma .btn-addli:hover { border-color: var(--b); color: var(--bd); background: var(--bl); }
.li-foot { display: flex; align-items: center; justify-content: space-between; margin-top: .65rem; flex-wrap: wrap; gap: .5rem; }
.li-foot-info { font-size: .78rem; color: var(--muted); }
.li-foot-info strong { color: var(--ink); font-weight: 700; }

/* ── MISSIONS ────────────────────────────────────────────────── */
.missions-title { font-size: .65rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .6rem; display: block; }
.missions-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(120px,1fr)); gap: .48rem; margin-bottom: 1rem; }
.mission-card {
  background: #fff; border: 1.5px solid var(--bdr); border-radius: 11px;
  padding: .65rem; cursor: pointer; transition: all .2s cubic-bezier(.34,1.56,.64,1);
  text-align: center; display: flex; flex-direction: column; align-items: center; gap: .28rem;
}
.mission-card:hover { border-color: var(--g); background: var(--gl); transform: translateY(-2px); box-shadow: var(--sh2); }
.mission-ico { font-size: 1.4rem; }
.mission-nm { font-size: .72rem; font-weight: 700; color: var(--ink); }
.mission-sub { font-size: .6rem; color: var(--muted); }

/* ── PAGES ───────────────────────────────────────────────────── */
.page-wrap { display: none; }
.page-wrap.active { display: block; }
.page { display: none; max-width: 1100px; margin: 0 auto; padding: 2.4rem 5%; }
.page.on { display: block; }

/* ── SECTION TITLE ───────────────────────────────────────────── */
.sec-title {
  font-family: 'Nunito', sans-serif;
  font-size: 1.28rem; font-weight: 900;
  color: var(--ink); margin-bottom: 1.1rem;
  display: flex; align-items: center; gap: .55rem;
  letter-spacing: -.02em;
}
.sec-badge { font-size: .6rem; font-weight: 700; padding: .14rem .5rem; border-radius: 100px; text-transform: uppercase; letter-spacing: .05em; }
.sb-g { background: var(--gm); color: #15803d; }
.sb-b { background: var(--bm); color: var(--bd); }
.sb-r { background: #fee2e2; color: #b91c1c; }

/* ── RESULT CARD ─────────────────────────────────────────────── */
.rcard {
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-radius: var(--r2); box-shadow: var(--sh3);
  border: 1px solid rgba(255,255,255,.9);
  overflow: hidden; margin-bottom: 1.75rem;
}
.rcard-head {
  padding: 1.2rem 1.5rem; border-bottom: 1px solid rgba(0,0,0,.04);
  background: rgba(250,250,250,.5);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .6rem;
}
.rcard-title { font-family: 'Nunito', sans-serif; font-size: 1rem; font-weight: 900; color: var(--ink); letter-spacing: -.02em; }
.rcard-sub { font-size: .74rem; color: var(--muted); margin-top: .1rem; }
.fresh-tag {
  display: inline-flex; align-items: center; gap: .24rem;
  padding: .22rem .6rem; border-radius: 100px;
  font-size: .67rem; font-weight: 700;
}
.fresh-tag::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: currentColor; animation: blink 2s infinite; }
body.sector-super .fresh-tag { background: #bbf7d0; color: #15803d; }
body.sector-farma .fresh-tag { background: var(--bm); color: var(--bd); }
.rcard-body { padding: 1.25rem 1.5rem; }

/* WINNER BAR */
.winner-bar {
  border-radius: var(--r3); padding: 1.25rem 1.5rem;
  margin-bottom: 1.2rem; display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
body.sector-super .winner-bar { background: linear-gradient(120deg, #166534, #16a34a, #22c55e); }
body.sector-farma .winner-bar { background: linear-gradient(120deg, #134e4a, #0f766e, #0d9488); }
.wb-lbl { font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.5); margin-bottom: .16rem; }
.wb-name { font-family: 'Nunito', sans-serif; font-size: 1.32rem; font-weight: 900; color: #fff; }
.wb-city { font-size: .74rem; color: rgba(255,255,255,.52); margin-top: .08rem; }
.wb-save { font-family: 'Nunito', sans-serif; font-size: 1.9rem; font-weight: 900; color: #fff; }
.wb-save-lbl { font-size: .7rem; color: rgba(255,255,255,.52); text-align: right; }

/* TABLE */
.ptable { width: 100%; border-collapse: collapse; }
.ptable th {
  text-align: left; padding: .58rem .85rem;
  font-size: .63rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--muted); border-bottom: 1.5px solid var(--bdr);
  background: rgba(248,250,252,.8);
}
.ptable td { padding: .8rem .85rem; border-bottom: 1px solid rgba(228,228,231,.5); font-size: .86rem; vertical-align: middle; }
.ptable tr:last-child td { border-bottom: none; }
.ptable tr:hover td { background: rgba(0,0,0,.015); }
.ptable tr.best td { background: #f0fdf4; }
body.sector-farma .ptable tr.best td { background: #f0fdfa; }
.p-best { font-family: 'Nunito', sans-serif; font-size: 1.02rem; font-weight: 900; }
body.sector-super .p-best { color: var(--gd); }
body.sector-farma .p-best { color: var(--bd); }
.rank { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(0,0,0,.05); font-size: .66rem; font-weight: 700; color: var(--muted); margin-right: .26rem; }
.rank.r1 { color: #fff; }
body.sector-super .rank.r1 { background: linear-gradient(135deg,#16a34a,#22c55e); }
body.sector-farma .rank.r1 { background: linear-gradient(135deg,#0f766e,#0d9488); }
.badge-best { display: inline-block; font-size: .58rem; font-weight: 700; padding: .08rem .35rem; border-radius: 4px; color: #fff; margin-left: .26rem; }
body.sector-super .badge-best { background: var(--g); }
body.sector-farma .badge-best { background: var(--b); }
.chip-save { display: inline-flex; align-items: center; font-size: .67rem; font-weight: 700; padding: .14rem .42rem; border-radius: 100px; }
body.sector-super .chip-save { background: var(--gm); color: #15803d; }
body.sector-farma .chip-save { background: var(--bm); color: var(--bd); }
.src-pill { font-size: .61rem; color: var(--muted); background: rgba(0,0,0,.04); padding: .08rem .35rem; border-radius: 5px; display: inline-flex; align-items: center; gap: 3px; border: 1px solid transparent; }
.src-pill.fresh-today { background: #dcfce7; color: #166534; border-color: #bbf7d0; animation: pulse-green 2.5s infinite; }
@keyframes pulse-green { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.4); } 70% { box-shadow: 0 0 0 6px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
.src-pill.fresh-recent { background: #f0fdfa; color: #0f766e; border-color: #ccfbf1; }
.src-pill.fresh-stale  { background: #fef2f2; color: #991b1b; border-color: #fee2e2; }
.src-pill small { font-size: .55rem; opacity: .7; font-weight: 700; text-transform: uppercase; }
/* Variantes do produto (só se compara o mesmo produto/tamanho/dosagem) */
.variant-bar:empty { display: none; }
.variant-bar { margin-bottom: 1rem; }
.variant-lbl { font-size: .74rem; font-weight: 700; color: var(--body); margin-bottom: .45rem; }
.variant-list { display: flex; flex-wrap: wrap; gap: .45rem; }
.variant-chip { display: flex; flex-direction: column; align-items: flex-start; gap: .1rem; text-align: left; cursor: pointer;
  background: #fff; border: 1.5px solid var(--bdr2); border-radius: 10px; padding: .45rem .7rem; font: inherit; max-width: 100%; }
.variant-chip:hover { border-color: var(--muted); }
.variant-chip .vc-name { font-size: .8rem; font-weight: 700; color: var(--ink2); }
.variant-chip .vc-meta { font-size: .68rem; color: var(--muted); }
body.sector-super .variant-chip.on { border-color: var(--gd); background: var(--gl); }
body.sector-farma .variant-chip.on { border-color: var(--bd); background: var(--bl); }
.variant-chip.on .vc-name { color: var(--ink); }
.unit-p { font-size: .66rem; color: var(--muted); font-weight: 600; margin-top: .1rem; }
.ct-variant { font-size: .66rem; color: var(--body); margin-top: .3rem; line-height: 1.35; }
.ct-variant-more { color: var(--muted); }
/* Busca sem resultado */
.nf-cell { text-align: center; padding: 1.6rem 1rem !important; }
.nf-box { border: 1px dashed #fca5a5; background: #fef2f2; border-radius: 12px; padding: .85rem 1rem; margin-bottom: 1.1rem; }
.nf-title { font-weight: 800; font-size: .9rem; color: #991b1b; }
.nf-sub { margin-top: .45rem; font-size: .8rem; color: var(--body); display: flex; flex-wrap: wrap; gap: .35rem; justify-content: center; align-items: center; }
.nf-box .nf-sub { justify-content: flex-start; }
/* Dados de exemplo (preços ilustrativos do seed) */
.src-pill.sample { background: #fef3c7; color: #92400e; border-color: #fde68a; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; }
.sample-banner { background: #fffbeb; color: #78350f; border-bottom: 1px solid #fde68a; font-size: .8rem; line-height: 1.45; text-align: center; padding: .55rem 1rem; }
.sample-banner .src-pill { vertical-align: middle; }
.win-sample-note { margin-top: .4rem; font-size: .72rem; font-weight: 700; color: #fff; background: rgba(0,0,0,.22); border-radius: 6px; padding: .2rem .5rem; display: inline-block; }

/* FEEDBACK */
.feedback-group { display: flex; gap: 6px; margin-top: 6px; }
.btn-feed { background: rgba(0,0,0,.03); border: 1px solid var(--bdr); border-radius: 6px; padding: 3px 8px; font-size: 11px; font-weight: 600; color: var(--muted); cursor: pointer; transition: all .15s; display: flex; align-items: center; gap: 4px; }
.btn-feed.ok:hover { border-color: var(--green); color: var(--green); background: rgba(16,185,129,.05); }
.btn-feed.err:hover { border-color: var(--red); color: var(--red); background: rgba(239,68,68,.05); }

/* FARMA SPECIFIC */
.badge-tipo { display: inline-block; font-size: .62rem; font-weight: 700; padding: .1rem .4rem; border-radius: 5px; white-space: nowrap; }
.bt-ref { background: #fee2e2; color: #b91c1c; }
.bt-gen { background: #dcfce7; color: #166534; }
.bt-sim { background: #fef9c3; color: #713f12; }
.tarja { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: .2rem; vertical-align: middle; }
.tj-isento { background: #6ee7b7; }
.tj-verm { background: #ef4444; }
.tj-pret { background: #1f2937; }
.gen-tip { border-radius: 12px; padding: 1rem 1.1rem; margin-bottom: 1rem; display: flex; gap: .65rem; align-items: flex-start; }
body.sector-farma .gen-tip { background: var(--bl); border: 1.5px solid var(--bm); }
.gen-tip-title { font-weight: 700; font-size: .88rem; color: var(--bd); }
.gen-tip-body { font-size: .8rem; color: var(--body); margin-top: .16rem; line-height: 1.55; }

/* TABLE ACTIONS */
.tbl-actions { display: flex; gap: .45rem; flex-wrap: wrap; margin-top: 1rem; padding-top: .85rem; border-top: 1px solid var(--bdr); }
.btn-tbl { display: inline-flex; align-items: center; gap: .28rem; background: #fff; border: 1.5px solid var(--bdr); border-radius: 9px; padding: .42rem .9rem; font-family: 'Inter', sans-serif; font-size: .77rem; font-weight: 600; color: var(--body); cursor: pointer; transition: all .15s; }
body.sector-super .btn-tbl:hover { border-color: var(--g); color: var(--gd); background: var(--gl); }
body.sector-farma .btn-tbl:hover { border-color: var(--b); color: var(--bd); background: var(--bl); }
.legal-note { border-radius: 9px; padding: .52rem .8rem; font-size: .7rem; line-height: 1.5; margin-top: .85rem; }
body.sector-super .legal-note { background: #f0fdf4; border: 1px solid #bbf7d0; color: #15803d; }
body.sector-farma .legal-note { background: #f0fdfa; border: 1px solid var(--bm); color: #0f766e; }

/* ── CROSS TABLE ─────────────────────────────────────────────── */
.cross-table { width: 100%; border-collapse: collapse; min-width: 540px; font-size: .83rem; }
.cross-table th, .cross-table td { border: 1px solid var(--bdr); text-align: center; vertical-align: middle; }
.ct-prod-col { text-align:left!important; width:155px; min-width:140px; background:rgba(248,250,252,.8); padding:.68rem .88rem; font-size:.63rem; font-weight:700; text-transform:uppercase; letter-spacing:.06em; color:var(--muted); }
.ct-mkt-col { padding:.62rem .72rem; background:rgba(248,250,252,.8); min-width:105px; }
.ct-mkt-col.best-col { border-top:3px solid var(--ac)!important; }
body.sector-super .ct-mkt-col.best-col { background:#f0fdf4; }
body.sector-farma .ct-mkt-col.best-col { background:#f0fdfa; }
.ct-mkt-n { font-weight:700; font-size:.8rem; color:var(--ink); }
.ct-mkt-tot { font-size:.68rem; color:var(--muted); margin-top:.14rem; font-family:'Nunito',sans-serif; font-weight:700; }
.ct-winner-flag { font-size:.58rem; font-weight:700; border-radius:100px; padding:.09rem .4rem; color:#fff; margin-top:.22rem; display:inline-block; }
body.sector-super .ct-winner-flag { background:var(--g); }
body.sector-farma .ct-winner-flag { background:var(--b); }
.ct-row:hover td { background:rgba(0,0,0,.015); }
.ct-prod-cell { text-align:left!important; padding:.72rem .88rem; background:rgba(248,250,252,.5); border-right:2px solid var(--bdr2); }
.ct-prod-nm { font-weight:700; color:var(--ink); font-size:.85rem; line-height:1.3; }
.ct-prod-sub { display:flex; flex-wrap:wrap; gap:.18rem; margin-top:.2rem; }
.ct-tag { font-size:.59rem; font-weight:600; padding:.07rem .3rem; border-radius:3px; background:rgba(0,0,0,.05); color:var(--muted); border:1px solid var(--bdr); }
.ct-qty { font-size:.63rem; font-weight:700; padding:.06rem .3rem; border-radius:4px; margin-top:.14rem; display:inline-block; }
body.sector-super .ct-qty { color:var(--gd); background:var(--gm); }
body.sector-farma .ct-qty { color:var(--bd); background:var(--bm); }
.ct-cell { padding:.68rem .72rem; position:relative; transition:background .12s; }
.ct-cheap { background:#f0fdf4; }
body.sector-farma .ct-cheap { background:#f0fdfa; }
.ct-exp { background:#fff5f5; }
.ct-empty { background:rgba(0,0,0,.015); }
.ct-na { color:var(--bdr2); font-size:1rem; }
.ct-p { font-family:'Nunito',sans-serif; font-size:.98rem; font-weight:900; color:var(--ink); }
body.sector-super .ct-p.pbest { color:var(--gd); }
body.sector-farma .ct-p.pbest { color:var(--bd); }
.ct-p.pexp { color:var(--red); }
.ct-unit { font-size:.62rem; color:var(--muted); margin-top:.06rem; }
.ct-nm { font-size:.6rem; color:var(--muted); margin-top:.08rem; line-height:1.3; }
.ct-cheapf { font-size:.58rem; font-weight:700; border-radius:3px; padding:.07rem .3rem; color:#fff; margin-top:.16rem; display:inline-block; }
body.sector-super .ct-cheapf { background:var(--g); }
body.sector-farma .ct-cheapf { background:var(--b); }
.ct-diff { font-size:.61rem; font-weight:600; color:var(--red); margin-top:.1rem; }
.ct-tot-row td { background:rgba(248,250,252,.8); border-top:2px solid var(--bdr2); }
.ct-tot-label { text-align:left!important; padding:.78rem .88rem; }
.ct-tot-cell { padding:.78rem .72rem; }
body.sector-super .ct-tot-cell.tbest { background:#f0fdf4; }
body.sector-farma .ct-tot-cell.tbest { background:#f0fdfa; }
.ct-tot-p { font-family:'Nunito',sans-serif; font-size:1.08rem; font-weight:900; color:var(--ink); }
.ct-tot-p.tbp { font-size:1.2rem; }
body.sector-super .ct-tot-p.tbp { color:var(--gd); }
body.sector-farma .ct-tot-p.tbp { color:var(--bd); }
.ct-tot-flag { font-size:.58rem; font-weight:700; border-radius:100px; padding:.09rem .4rem; color:#fff; margin-top:.2rem; display:inline-block; }
body.sector-super .ct-tot-flag { background:var(--g); }
body.sector-farma .ct-tot-flag { background:var(--b); }

/* ── SAVINGS PANEL ───────────────────────────────────────────── */
.savings-panel { background: var(--ink); border-radius: var(--r2); padding: 1.5rem; }
.sv-title { font-family:'Nunito',sans-serif; font-size:.78rem; font-weight:900; color:rgba(255,255,255,.3); text-transform:uppercase; letter-spacing:.08em; margin-bottom:1rem; }
.sv-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(168px,1fr)); gap:.72rem; }
.sv-card { background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.08); border-radius:12px; padding:1rem; transition:background .15s; }
.sv-card:hover { background:rgba(255,255,255,.08); }
body.sector-super .sv-card.main { background:rgba(34,197,94,.08); border-color:rgba(34,197,94,.2); }
body.sector-farma .sv-card.main { background:rgba(13,148,136,.08); border-color:rgba(13,148,136,.2); }
.sv-lbl { font-size:.69rem; color:rgba(255,255,255,.4); margin-bottom:.35rem; line-height:1.45; }
.sv-val { font-family:'Nunito',sans-serif; font-size:1.5rem; font-weight:900; }
body.sector-super .sv-val { color:#86efac; }
body.sector-farma .sv-val { color:#5eead4; }
.sv-sub { font-size:.66rem; color:rgba(255,255,255,.26); margin-top:.12rem; line-height:1.4; }

/* ── AI CARD ─────────────────────────────────────────────────── */
.ai-card { background:linear-gradient(135deg,#0d1524,#131f36); border-radius:var(--r2); padding:1.5rem; margin-bottom:1.75rem; border:1px solid rgba(255,255,255,.06); display:none; }
.ai-card.on { display:block; animation:fadeUp .28s ease; }
.ai-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:1.1rem; flex-wrap:wrap; gap:.5rem; }
.ai-title { font-family:'Nunito',sans-serif; font-size:.98rem; font-weight:900; color:#fff; }
.ai-badge { display:inline-flex; align-items:center; gap:.24rem; background:rgba(52,211,153,.1); border:1px solid rgba(52,211,153,.22); color:#6ee7b7; padding:.18rem .58rem; border-radius:100px; font-size:.6rem; font-weight:700; text-transform:uppercase; letter-spacing:.06em; }
.ai-badge::before { content:''; width:4px; height:4px; border-radius:50%; background:#6ee7b7; animation:blink 1.5s infinite; }
.ai-kpis { display:grid; grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); gap:.8rem; margin-bottom:1rem; }
.ai-kpi { background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.07); border-radius:10px; padding:.9rem; }
.ai-kpi-lbl { font-size:.6rem; font-weight:700; text-transform:uppercase; letter-spacing:.07em; color:rgba(255,255,255,.3); margin-bottom:.4rem; }
.ai-kpi-val { font-family:'Nunito',sans-serif; font-size:1.28rem; font-weight:900; color:#fff; margin-bottom:.1rem; }
.ai-kpi-sub { font-size:.68rem; color:rgba(255,255,255,.32); }
.prob-bar { width:100%; height:5px; background:rgba(255,255,255,.07); border-radius:100px; overflow:hidden; margin-top:.4rem; }
.prob-fill { height:100%; border-radius:100px; transition:width 1.2s ease; }
.pf-hi { background:linear-gradient(90deg,#10b981,#6ee7b7); }
.pf-md { background:linear-gradient(90deg,#f59e0b,#fcd34d); }
.pf-lo { background:linear-gradient(90deg,#ef4444,#fca5a5); }
.ai-rec { background:rgba(52,211,153,.07); border:1px solid rgba(52,211,153,.14); border-radius:10px; padding:.88rem 1rem; display:flex; gap:.6rem; }
.ai-rec-txt { font-size:.82rem; color:rgba(255,255,255,.68); line-height:1.55; }
.ai-rec-txt strong { color:#6ee7b7; }

/* ── HIST CARD ───────────────────────────────────────────────── */
.hist-card { background:#fff; border-radius:var(--r2); box-shadow:var(--sh3); border:1.5px solid var(--bdr); padding:1.4rem 1.5rem; margin-bottom:1.75rem; display:none; }
.hist-card.on { display:block; animation:fadeUp .25s ease; }
.chart-area { height:190px; margin:.6rem 0; }
.chart-leg { display:flex; gap:1rem; flex-wrap:wrap; margin-top:.48rem; }
.leg-item { display:flex; align-items:center; gap:.28rem; font-size:.7rem; color:var(--muted); font-weight:600; }
.leg-dot { width:7px; height:7px; border-radius:50%; }

/* ── PROMO CARDS ─────────────────────────────────────────────── */
.promo-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(196px,1fr)); gap:.85rem; margin-bottom:1.75rem; }
.promo-card {
  background:#fff; border-radius:var(--r3); padding:1.1rem;
  border:1px solid rgba(228,228,231,.8);
  box-shadow:var(--sh2); transition:all .22s cubic-bezier(.34,1.56,.64,1);
  position:relative; overflow:hidden; cursor:pointer;
}
.promo-card::before { content:''; position:absolute; top:0; left:0; right:0; height:3px; border-radius:var(--r3) var(--r3) 0 0; }
.pc-super::before { background:linear-gradient(90deg,#16a34a,#22c55e); }
.pc-farma::before { background:linear-gradient(90deg,#0f766e,#0d9488); }
.pc-spon { border:1.5px solid rgba(245,158,11,.35)!important; background:linear-gradient(145deg,#fffef5,#fff)!important; box-shadow:0 4px 14px rgba(245,158,11,.12)!important; }
.pc-spon::before { background:linear-gradient(90deg,#f59e0b,#fbbf24)!important; }
.promo-card:hover { transform:translateY(-5px) scale(1.01); box-shadow:0 24px 40px rgba(0,0,0,.09); }
.pc-type { font-size:.6rem; font-weight:700; text-transform:uppercase; letter-spacing:.07em; margin-bottom:.35rem; }
.pct-super { color:var(--gd); } .pct-farma { color:var(--bd); } .pct-spon { color:#d97706; }
.pc-name { font-weight:700; font-size:.88rem; color:var(--ink); margin-bottom:.12rem; line-height:1.35; }
.pc-store { font-size:.73rem; color:var(--muted); margin-bottom:.6rem; }
.pc-price { font-family:'Nunito',sans-serif; font-size:1.45rem; font-weight:900; }
.pc-super .pc-price { color:var(--gd); }
.pc-farma-c .pc-price { color:var(--bd); }
.pc-spon .pc-price { color:#d97706!important; }
.pc-old { font-size:.78rem; color:var(--muted); text-decoration:line-through; margin-left:.22rem; }
.pc-disc { display:inline-block; background:#fee2e2; color:var(--red); font-size:.6rem; font-weight:700; padding:.09rem .34rem; border-radius:4px; margin-left:.2rem; }
.pc-valid { font-size:.67rem; color:var(--muted); margin-top:.38rem; }
.pc-report { position:absolute; top:.58rem; right:.62rem; background:none; border:none; cursor:pointer; font-size:.7rem; color:var(--muted); opacity:0; transition:opacity .15s; }
.promo-card:hover .pc-report { opacity:1; }

/* FARMA CATS */
.farma-cats { display:flex; flex-wrap:wrap; gap:.5rem; margin-bottom:1.75rem; }
.fcat { display:flex; align-items:center; gap:.32rem; background:#fff; border:1.5px solid var(--bdr); border-radius:10px; padding:.55rem .88rem; cursor:pointer; transition:all .18s; font-size:.82rem; font-weight:600; color:var(--body); }
.fcat:hover { border-color:var(--b); color:var(--bd); background:var(--bl); }
.fcat-ico { font-size:1.1rem; }

/* ── CITY GRID ───────────────────────────────────────────────── */
.city-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(140px,1fr)); gap:.65rem; margin-bottom:1.75rem; }
.city-card {
  background:#fff; border:1.5px solid var(--bdr); border-radius:var(--r3);
  padding:.95rem; cursor:pointer;
  transition:all .22s cubic-bezier(.34,1.56,.64,1);
  text-align:center; box-shadow:var(--sh);
}
body.sector-super .city-card:hover, body.sector-super .city-card.sel { transform:translateY(-3px); box-shadow:0 12px 28px rgba(34,197,94,.18); border-color:var(--g); background:var(--gl); }
body.sector-farma .city-card:hover, body.sector-farma .city-card.sel { transform:translateY(-3px); box-shadow:0 12px 28px rgba(13,148,136,.18); border-color:var(--b); background:var(--bl); }
.city-ico { font-size:1.5rem; margin-bottom:.32rem; }
.city-name { font-weight:700; font-size:.83rem; color:var(--ink); }
.city-cnt { font-size:.66rem; color:var(--muted); margin-top:.08rem; }

/* ── CTA BANNER ──────────────────────────────────────────────── */
.cta-banner {
  border-radius:var(--r2); padding:2.2rem 2.5rem;
  display:flex; align-items:center; justify-content:space-between;
  flex-wrap:wrap; gap:1.5rem; margin-bottom:1.75rem;
  position:relative; overflow:hidden;
}
.cta-banner::after {
  content:''; position:absolute; top:-50%; right:-10%;
  width:400px; height:400px; border-radius:50%;
  background:rgba(255,255,255,.06); pointer-events:none;
}
body.sector-super .cta-banner { background:linear-gradient(135deg,#166534,#16a34a,#22c55e); }
body.sector-farma .cta-banner { background:linear-gradient(135deg,#134e4a,#0f766e,#0d9488); }
.cta-banner h2 { font-family:'Nunito',sans-serif; font-size:1.38rem; font-weight:900; color:#fff; margin-bottom:.3rem; letter-spacing:-.03em; }
.cta-banner p { color:rgba(255,255,255,.65); font-size:.87rem; max-width:360px; line-height:1.58; }
.cta-plans { display:flex; gap:.5rem; flex-wrap:wrap; }
.cta-plan { background:rgba(255,255,255,.16); border:1.5px solid rgba(255,255,255,.28); border-radius:11px; padding:.6rem 1rem; text-align:center; cursor:pointer; transition:all .2s cubic-bezier(.34,1.56,.64,1); min-width:80px; }
.cta-plan:hover { background:#fff; transform:translateY(-2px); }
.cta-plan:hover .ctp-price, .cta-plan:hover .ctp-name { color:var(--acd); }
.ctp-price { font-family:'Nunito',sans-serif; font-size:1rem; font-weight:900; color:#fff; display:block; }
.ctp-name { font-size:.65rem; font-weight:600; color:rgba(255,255,255,.6); display:block; margin-top:.06rem; }

/* ── MODAL ───────────────────────────────────────────────────── */
.ovl { position:fixed; inset:0; background:rgba(9,9,11,.55); backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px); z-index:500; display:none; align-items:center; justify-content:center; padding:1rem; }
.ovl.on { display:flex; }
.modal { background:#fff; border-radius:var(--r2); padding:2rem; max-width:460px; width:100%; max-height:90vh; overflow-y:auto; animation:fadeUp .22s ease; box-shadow:0 24px 72px rgba(0,0,0,.2); border:1px solid rgba(255,255,255,.9); }
.modal-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:1.3rem; }
.modal-title { font-family:'Nunito',sans-serif; font-size:1.08rem; font-weight:900; color:var(--ink); letter-spacing:-.03em; }
.modal-close { width:30px; height:30px; background:rgba(0,0,0,.05); border:none; border-radius:50%; cursor:pointer; font-size:.82rem; color:var(--body); transition:all .15s; }
.modal-close:hover { background:rgba(0,0,0,.1); color:var(--ink); }
.mfld { margin-bottom:.8rem; }
.mfld label { display:block; font-size:.63rem; font-weight:700; color:var(--muted); text-transform:uppercase; letter-spacing:.06em; margin-bottom:.28rem; }
.mfld input, .mfld select { width:100%; padding:.65rem .92rem; border-radius:10px; }
.btn-submit { width:100%; padding:.82rem; border:none; border-radius:11px; font-family:'Nunito',sans-serif; font-size:.98rem; font-weight:900; cursor:pointer; color:#fff; margin-top:.35rem; transition:all .28s cubic-bezier(.34,1.56,.64,1); position:relative; overflow:hidden; }
.btn-submit::after { content:''; position:absolute; top:0; left:-100%; width:50%; height:100%; background:linear-gradient(90deg,transparent,rgba(255,255,255,.28),transparent); transform:skewX(-20deg); transition:left .6s ease; }
.btn-submit:hover::after { left:150%; }
.btn-submit:hover { transform:translateY(-2px); filter:brightness(1.06); }
body.sector-super .btn-submit { background:linear-gradient(135deg,#16a34a,#22c55e); box-shadow:0 4px 14px rgba(34,197,94,.32); }
body.sector-farma .btn-submit { background:linear-gradient(135deg,#0f766e,#0d9488); box-shadow:0 4px 14px rgba(13,148,136,.32); }
.lgpd-mini { border-radius:8px; padding:.52rem .78rem; font-size:.69rem; line-height:1.5; margin-top:.65rem; display:flex; gap:.32rem; }
body.sector-super .lgpd-mini { background:var(--gl); color:#15803d; }
body.sector-farma .lgpd-mini { background:var(--bl); color:var(--bd); }

/* REPORT MODAL */
.report-opts { display:flex; flex-direction:column; gap:.36rem; margin:.65rem 0; }
.ropt { display:flex; align-items:center; gap:.48rem; padding:.55rem .78rem; border:1.5px solid var(--bdr); border-radius:10px; cursor:pointer; font-size:.85rem; font-weight:600; color:var(--body); transition:all .15s; }
.ropt:hover { border-color:var(--b); background:var(--bl); color:var(--bd); }
.ropt.sel { border-color:var(--b); background:var(--bl); color:var(--bd); }

/* ── RATING ──────────────────────────────────────────────────── */
.rating-cell { white-space:nowrap; }
.rating-cell .rt-stars { color:var(--gold); font-size:.78rem; }
.rating-cell .rt-reviews { font-size:.68rem; color:var(--muted); margin-left:.2rem; }

/* ── TOAST ───────────────────────────────────────────────────── */
.toast { position:fixed; bottom:1.75rem; right:1.75rem; background:var(--ink); color:#fff; padding:.82rem 1.3rem; border-radius:12px; font-size:.83rem; font-weight:600; z-index:1000; transform:translateY(60px); opacity:0; transition:all .32s cubic-bezier(.34,1.56,.64,1); max-width:300px; box-shadow:0 12px 32px rgba(0,0,0,.2); pointer-events:none; letter-spacing:-.01em; }
body.sector-super .toast { border-left:3px solid var(--g); }
body.sector-farma .toast { border-left:3px solid var(--b); }
.toast.on { transform:translateY(0); opacity:1; }

/* ── AUTOCOMPLETE ────────────────────────────────────────────── */
.autocomplete-wrapper { position:relative; flex:1; }
.qt-autocomplete { position:absolute; top:calc(100% + 4px); left:0; right:0; background:#fff; border:1.5px solid var(--bdr); border-radius:12px; box-shadow:var(--sh3); z-index:1000; max-height:240px; overflow-y:auto; display:none; }
.qt-autocomplete.on { display:block; animation:fadeUp .15s ease; }
.qt-suggestion { padding:.72rem .95rem; cursor:pointer; font-size:.87rem; font-weight:500; color:var(--ink); border-bottom:1px solid rgba(0,0,0,.04); transition:all .12s; display:flex; align-items:center; gap:.48rem; }
.qt-suggestion:last-child { border-bottom:none; }
.qt-suggestion:hover, .qt-suggestion.selected { background:var(--acl); color:var(--acd); }
.qt-suggestion strong { color:var(--ac); font-weight:700; }
.qt-autocomplete::-webkit-scrollbar { width:5px; }
.qt-autocomplete::-webkit-scrollbar-thumb { background:var(--bdr2); border-radius:4px; }

/* ── SPONSORED BAR ───────────────────────────────────────────── */
.spon-bar { background:linear-gradient(120deg,var(--ink2),var(--ink)); border-radius:var(--r3); padding:.85rem 1.3rem; display:flex; align-items:center; justify-content:space-between; margin-bottom:1.65rem; gap:.75rem; border:1px solid rgba(255,255,255,.04); flex-wrap:wrap; }
.spon-tag { font-size:.55rem; color:rgba(255,255,255,.22); text-transform:uppercase; letter-spacing:.1em; margin-bottom:.05rem; }
.spon-txt { color:#fff; font-size:.87rem; font-weight:600; }
.spon-btn { background:var(--gold); color:var(--ink); padding:.42rem .95rem; border-radius:8px; font-weight:700; font-size:.74rem; border:none; cursor:pointer; flex-shrink:0; white-space:nowrap; transition:all .15s; }
.spon-btn:hover { filter:brightness(1.08); }

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width:680px) {
  header { padding:0 4%; gap:.5rem; }
  .sector-pills .sp span:not(.sp-ico) { display:none; }
  nav a:not(.nav-cta) { display:none; }
  .hero { padding:3rem 4% 2.5rem; }
  .hero-inner { grid-template-columns:1fr; gap:2rem; }
  .page { padding:1.75rem 4%; }
  .li-grid-2 { grid-template-columns:1fr; }
  .rcard-body { padding:1rem; }
  .rcard-head { padding:1rem; }
  .sp-card { padding:1.35rem; }
  .winner-bar { padding:1rem 1.2rem; }
  .cta-banner { padding:1.5rem; }
}

/* ── PREMIUM PARTNERS ────────────────────────────────────────── */
.pc-spon { border:1.5px solid rgba(245,158,11,.3)!important; }
