:root{
  --bg:#f5f5f5;
  --surface:#ffffff;
  --surface-muted:#fafafa;
  --border:#e5e5e5;
  --border-strong:#d4d4d4;
  --text-0:#171717;
  --text-1:#525252;
  --text-2:#737373;
  --accent:#0d9488;
  --accent-dark:#0f766e;
  --accent-soft:#ecfdf5;
  --brand:#2563eb;
  --brand-soft:#eff6ff;
  --warm:#ea580c;
  --warm-soft:#fff7ed;
  --amber:#d97706;
  --success:#16a34a;
  --success-soft:#f0fdf4;
  --radius-lg:20px;
  --radius-md:14px;
  --radius-sm:10px;
  --shadow-card:0 1px 2px rgba(0,0,0,.04), 0 4px 16px rgba(0,0,0,.06);
  --shadow-hover:0 4px 8px rgba(0,0,0,.06), 0 12px 28px rgba(0,0,0,.08);
  --ease:cubic-bezier(.22,1,.36,1);
  color-scheme: light;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  min-height:100vh;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  color:var(--text-0);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
body.no-scroll{ overflow:hidden; }

img,svg{ display:block; max-width:100%; }
button{ font:inherit; }
a{ color:inherit; }
:focus-visible{ outline:2px solid var(--accent); outline-offset:3px; border-radius:6px; }

.wrap{ max-width:1180px; margin:0 auto; padding:0 clamp(16px,4vw,32px); }

/* ---------- Header ---------- */
header.top{
  padding:18px 0 6px;
  position:relative;
  z-index:20;
}
.top__row{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
}
.brand{ display:flex; align-items:center; gap:12px; flex:none; }
.top-nav{
  position:relative;
  flex:1 1 auto;
  min-width:0;
  display:flex;
  justify-content:flex-end;
}
.top-nav__toggle{
  appearance:none;
  display:none;
  align-items:center;
  justify-content:center;
  width:36px;
  height:36px;
  padding:0;
  border:1px solid var(--border);
  border-radius:10px;
  background:var(--surface);
  color:var(--text-1);
  cursor:pointer;
  flex:none;
  transition:border-color .2s var(--ease), background .2s var(--ease);
}
.top-nav__toggle:hover{ border-color:var(--border-strong); background:var(--surface-muted); }
.top-nav__toggle-icon{
  position:relative;
  display:block;
  width:16px;
  height:2px;
  background:currentColor;
  border-radius:1px;
}
.top-nav__toggle-icon::before,
.top-nav__toggle-icon::after{
  content:"";
  position:absolute;
  left:0;
  width:16px;
  height:2px;
  background:currentColor;
  border-radius:1px;
  transition:transform .2s var(--ease), top .2s var(--ease), opacity .2s var(--ease);
}
.top-nav__toggle-icon::before{ top:-5px; }
.top-nav__toggle-icon::after{ top:5px; }
.top-nav.is-open .top-nav__toggle-icon{ background:transparent; }
.top-nav.is-open .top-nav__toggle-icon::before{ top:0; transform:rotate(45deg); }
.top-nav.is-open .top-nav__toggle-icon::after{ top:0; transform:rotate(-45deg); }
.top-nav__panel{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  align-items:center;
  gap:4px 10px;
  max-width:100%;
}
.top-nav__panel a{
  font-size:11.5px;
  line-height:1.35;
  color:var(--text-2);
  text-decoration:none;
  font-weight:500;
  white-space:nowrap;
  transition:color .2s var(--ease);
}
.top-nav__panel a:hover{ color:var(--accent-dark); }
@media (max-width:768px){
  .top-nav__toggle{ display:inline-flex; }
  .top-nav__panel{
    display:none;
    position:absolute;
    top:calc(100% + 8px);
    right:0;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    min-width:min(280px, calc(100vw - 32px));
    padding:6px;
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:var(--radius-sm);
    box-shadow:var(--shadow-hover);
    z-index:30;
  }
  .top-nav.is-open .top-nav__panel{ display:flex; }
  .top-nav__panel a{
    white-space:normal;
    padding:10px 12px;
    border-radius:8px;
    font-size:13px;
  }
  .top-nav__panel a:hover{ background:var(--surface-muted); }
}
.brand__mark{
  width:42px; height:42px; border-radius:12px; flex:none;
  background:linear-gradient(145deg, var(--accent) 0%, var(--accent-dark) 52%, var(--brand) 100%);
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 6px 16px -6px rgba(13,148,136,.45);
  color:#fff;
}
.brand__icon{ width:22px; height:22px; flex:none; }
.brand__text{
  display:flex; flex-direction:column; gap:1px; line-height:1.05;
  font-family:"Plus Jakarta Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.brand__osb{
  font-weight:800; font-size:17px; letter-spacing:.14em; text-transform:uppercase;
  color:var(--text-0);
}
.brand__tagline{
  font-weight:600; font-size:13.5px; letter-spacing:.02em;
  color:var(--accent-dark);
}
.trust-strip{
  margin-top:14px; display:flex; gap:18px; flex-wrap:wrap;
  font-size:12.5px; color:var(--text-2);
}
.trust-strip li{ list-style:none; display:flex; align-items:center; gap:6px; }
.trust-strip{ padding:0; margin-top:14px; }

/* ---------- Hero ---------- */
.hero{ padding:34px 0 26px; position:relative; z-index:2; }
.hero .wrap{ text-align:center; }
.hero__live{
  display:inline-flex; align-items:center; gap:8px;
  padding:6px 12px 6px 10px; border-radius:999px;
  background:var(--surface); border:1px solid var(--border);
  font-size:12.5px; color:var(--text-1); font-weight:600;
  margin-bottom:16px; box-shadow:var(--shadow-card);
}
.dot-live{
  width:8px; height:8px; border-radius:50%; background:var(--success);
  box-shadow:0 0 0 0 rgba(22,163,74,.45);
  animation:pulse-live 1.8s infinite;
}
@keyframes pulse-live{
  0%{ box-shadow:0 0 0 0 rgba(22,163,74,.4); }
  70%{ box-shadow:0 0 0 8px rgba(22,163,74,0); }
  100%{ box-shadow:0 0 0 0 rgba(22,163,74,0); }
}
.hero h1{
  font-size:clamp(1.7rem, 5vw, 2.65rem);
  line-height:1.12; margin:0 auto 12px; font-weight:800; letter-spacing:-.5px;
  max-width:22ch;
}
.hero h1 em{
  font-style:normal;
  color:var(--accent-dark);
}
.hero p{ font-size:15.5px; color:var(--text-1); max-width:52ch; margin:0 auto 22px; line-height:1.55; }

.hero__stats{ display:flex; gap:28px; flex-wrap:wrap; justify-content:center; }
.hero__stat b{ display:block; font-size:22px; font-weight:800; }
.hero__stat span{ font-size:12px; color:var(--text-2); }

/* ---------- SEO content blocks ---------- */
.seo-intro{ padding:0 0 8px; position:relative; z-index:2; }
.seo-intro .wrap{ max-width:920px; }
.seo-intro h1{
  font-size:clamp(1.5rem, 4vw, 2.15rem);
  line-height:1.18; margin:0 0 12px; font-weight:800; letter-spacing:-.4px;
}
.seo-intro p{ font-size:15px; color:var(--text-1); line-height:1.65; margin:0 0 14px; max-width:70ch; }
.seo-intro__breadcrumb{
  display:flex; flex-wrap:wrap; gap:6px; align-items:center;
  font-size:12.5px; color:var(--text-2); margin-bottom:14px;
}
.seo-intro__breadcrumb a{ color:var(--accent-dark); text-decoration:none; font-weight:600; }
.seo-intro__breadcrumb a:hover{ text-decoration:underline; }
.seo-intro__links{ display:flex; flex-wrap:wrap; gap:8px; margin:14px 0 4px; }
.seo-intro__links a{
  display:inline-flex; align-items:center; padding:7px 13px; border-radius:999px;
  background:var(--surface); border:1px solid var(--border); font-size:12.5px; font-weight:700;
  color:var(--text-1); text-decoration:none;
}
.seo-intro__links a:hover{ border-color:var(--border-strong); color:var(--text-0); }
.seo-faq{ margin-top:22px; border-top:1px solid var(--border); padding-top:18px; }
.seo-faq h2{ font-size:1.05rem; margin:0 0 12px; font-weight:800; }
.seo-faq__item{ margin-bottom:14px; }
.seo-faq__item summary{ font-weight:700; cursor:pointer; font-size:14px; color:var(--text-0); }
.seo-faq__item p{ margin:8px 0 0; font-size:13.5px; color:var(--text-1); line-height:1.6; }
.seo-card-link{
  display:block; text-decoration:none; color:inherit;
}

/* ---------- Filters ---------- */
.filterbar{
  position:sticky; top:0; z-index:30;
  backdrop-filter:blur(12px) saturate(120%);
  background:rgba(245,245,245,.88);
  border-bottom:1px solid var(--border);
  padding:12px 0;
}
.filterbar__rows{ display:flex; flex-direction:column; gap:10px; }
.filterbar__row{ display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
.chip{
  appearance:none; border:1px solid var(--border); background:var(--surface);
  color:var(--text-1); padding:9px 15px; border-radius:999px; font-size:13px;
  font-weight:600; cursor:pointer; transition:all .2s var(--ease);
  display:inline-flex; align-items:center; gap:6px; white-space:nowrap;
  box-shadow:0 1px 2px rgba(0,0,0,.03); text-decoration:none;
}
.chip:hover{ border-color:var(--border-strong); color:var(--text-0); }
.chip[aria-pressed="true"]{
  background:var(--accent-soft); border-color:var(--accent); color:var(--accent-dark);
}
.chip.chip--fire[aria-pressed="true"]{
  background:var(--warm-soft); border-color:var(--warm); color:var(--warm);
}
.chip.is-disabled{ opacity:.45; cursor:not-allowed; }
.filterbar__spacer{ flex:1; }
.sort-control{ display:flex; align-items:center; gap:6px; }
.sort-dir{
  appearance:none; border:1px solid var(--border); background:var(--surface);
  color:var(--text-1); width:38px; height:38px; flex:none; border-radius:999px;
  display:inline-flex; align-items:center; justify-content:center; cursor:pointer;
  transition:all .2s var(--ease); box-shadow:0 1px 2px rgba(0,0,0,.03);
}
.sort-dir:hover{ border-color:var(--border-strong); color:var(--text-0); }
.sort-dir[aria-pressed="true"]{ background:var(--accent-soft); border-color:var(--accent); color:var(--accent-dark); }
.sort-dir:disabled{ opacity:.4; cursor:not-allowed; }
.chip__badge{
  min-width:18px; height:18px; padding:0 5px; border-radius:999px;
  background:var(--accent); color:#fff; font-size:11px; font-weight:800;
  display:inline-flex; align-items:center; justify-content:center; line-height:1;
}
.chip[aria-pressed="true"].chip--filter{
  background:var(--accent-soft); border-color:var(--accent); color:var(--accent-dark);
}
.select{
  appearance:none; border:1px solid var(--border); background:var(--surface);
  color:var(--text-1); padding:9px 34px 9px 14px; border-radius:999px; font-size:13px;
  font-weight:600; cursor:pointer; box-shadow:0 1px 2px rgba(0,0,0,.03);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23737373' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 14px center;
}
.select:hover{ border-color:var(--border-strong); }

@media (max-width:420px){
  .filterbar__row--tools{ gap:8px; }
  .filterbar__row--tools .chip{ padding:8px 12px; font-size:12.5px; }
  .filterbar__row--tools .select{ padding:8px 26px 8px 12px; font-size:12.5px; }
  .sort-dir{ width:34px; height:34px; }
}

/* ---------- List & Cards ---------- */
.section{ padding:30px 0 36px; position:relative; z-index:2; }
.grid{
  display:flex;
  flex-direction:column;
  gap:14px;
  width:100%;
}
.card{
  position:relative;
  display:block;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius-md);
  padding:18px 18px 16px;
  box-shadow:var(--shadow-card);
  text-decoration:none;
  transition:transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
  opacity:0; transform:translateY(12px);
  animation:card-in .6s var(--ease) forwards;
  width:100%;
}
.card:hover{
  transform:translateY(-2px);
  border-color:var(--border-strong);
  box-shadow:var(--shadow-hover);
}
.card--top{
  border-color:#bbf7d0;
  background:linear-gradient(180deg, #f0fdf4, var(--surface));
}
@keyframes card-in{ to{ opacity:1; transform:translateY(0); } }

.card__head{ display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:12px; }
.tag{
  display:inline-flex; align-items:center; gap:5px;
  font-size:11px; font-weight:700; letter-spacing:.2px;
  padding:4px 9px; border-radius:999px;
}
.tag--category{ background:var(--brand-soft); color:var(--brand); border:1px solid #bfdbfe; }
.tag--status{ background:var(--success-soft); color:var(--success); border:1px solid #bbf7d0; }
.tag--status .tag-dot{ width:6px; height:6px; border-radius:50%; background:currentColor; }

.card__ribbon{ display:none; }

.card__banner{
  display:flex; align-items:center; justify-content:center; gap:7px;
  flex-wrap:wrap;
  text-align:center;
  margin:-18px -18px 16px;
  padding:11px 16px;
  font-size:13px;
  font-weight:700;
  letter-spacing:.1px;
  border-radius:var(--radius-md) var(--radius-md) 0 0;
  border-bottom:1px solid var(--border);
}
.card__banner--top{
  background:linear-gradient(180deg, #dcfce7, var(--success-soft));
  color:#15803d;
  border-bottom-color:#86efac;
  font-size:13.5px;
  font-weight:800;
}

.card__body{ display:flex; flex-direction:column; gap:14px; }
.card__top{ display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.card__admin{
  display:flex; align-items:center; min-width:0; flex:1;
}
.admin-logo{
  display:block; height:28px; width:auto; min-width:48px; max-width:min(168px, 100%);
  object-fit:contain; object-position:left center;
}
.admin-logo--modal{ height:34px; max-width:min(200px, 100%); }
.admin-logo--mark{ height:32px; max-width:52px; }
.admin-logo--slug-itau, .admin-logo--slug-itau-auto{ max-width:52px; }
.admin-logo--slug-honda{ height:26px; max-width:88px; }
.admin-logo--slug-chevrolet{ height:26px; max-width:72px; }
.admin-logo--slug-vw{ height:30px; max-width:34px; }
.admin-logo--slug-caixa, .admin-logo--slug-sicredi, .admin-logo--slug-cnp, .admin-logo--slug-unicoob{
  height:26px; max-width:120px;
}
.admin-logo--slug-yamaha{ height:26px; max-width:96px; }
.card__tags{ display:flex; gap:6px; flex-wrap:wrap; justify-content:flex-end; }

.card__fire{ display:none; }

.card__credit-row{
  display:flex; align-items:flex-end; justify-content:space-between; gap:12px;
  padding-bottom:14px; border-bottom:1px solid var(--border);
}
.card__label{ font-size:10.5px; text-transform:uppercase; letter-spacing:.6px; color:var(--text-2); font-weight:700; margin-bottom:4px; }
.card__value{
  font-size:clamp(1.55rem, 5.5vw, 2rem); font-weight:800; letter-spacing:-.5px;
  color:var(--text-0);
  display:inline-block; line-height:1.1;
  transition:color .28s var(--ease);
}
.card__value.is-done,
.card__stat b[data-count].is-done{ color:var(--success); }
.card__value.pop,
.card__stat b[data-count].pop{ animation:count-land .28s var(--ease); }
@keyframes count-land{
  0%{ transform:scale(1); }
  38%{ transform:scale(1.09); }
  68%{ transform:scale(0.98); }
  100%{ transform:scale(1); }
}

.card__stats{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:12px;
}
.card__stat b{
  display:block; font-size:14.5px; font-weight:800; color:var(--text-0);
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.card__stat--parcelas b{
  white-space:normal; overflow:visible; text-overflow:unset;
  font-size:13px; line-height:1.35;
}
.card__stat span{
  display:block; font-size:10.5px; color:var(--text-2); font-weight:600;
  text-transform:uppercase; letter-spacing:.35px; margin-bottom:3px;
}

.card__footer{
  display:flex; flex-direction:column; gap:10px;
}
.card__footer-row{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  flex-wrap:wrap;
}
.card__engagement{
  display:flex; align-items:center; gap:8px;
  font-size:13px; font-weight:700; color:#c2410c;
  padding:10px 13px; margin-top:2px;
  background:linear-gradient(90deg, var(--warm-soft) 0%, #fffbeb 100%);
  border:1px solid #fdba74;
  border-radius:12px;
  box-shadow:0 1px 3px rgba(234,88,12,.08);
}
.card__engagement .icon{ width:16px; height:16px; color:#ea580c; stroke-width:2.25; }
.card__engagement strong{ color:#9a3412; font-weight:800; font-size:14.5px; letter-spacing:-.2px; }
.card__engagement-dot{
  width:7px; height:7px; border-radius:50%; background:#ea580c; flex:none; margin-left:auto;
  box-shadow:0 0 0 0 rgba(234,88,12,.45);
  animation:pulse-live 1.8s infinite;
}
.card__meta{ display:flex; flex-direction:column; gap:4px; min-width:0; flex:1; }
.card__meta small{ color:var(--text-2); font-size:11.5px; }

.card--joined{
  border-color:var(--accent);
  box-shadow:0 0 0 1px rgba(13,148,136,.18), var(--shadow-card);
}
.card__actions{ display:flex; gap:6px; margin-left:auto; flex-wrap:wrap; justify-content:flex-end; }
.card__actions .btn{ min-width:88px; flex:none; padding:10px 12px; font-size:12.5px; }
.btn--join-active{
  background:var(--accent-soft); border-color:var(--accent); color:var(--accent-dark);
}
.btn{
  border:none; border-radius:12px; padding:11px 14px; font-weight:700; font-size:13.5px;
  cursor:pointer; display:inline-flex; align-items:center; justify-content:center; gap:6px;
  transition:transform .2s var(--ease), box-shadow .2s var(--ease), filter .2s var(--ease);
  text-decoration:none;
}
.btn:active{ transform:scale(.97); }
.btn--ghost{ background:var(--surface); color:var(--text-0); border:1px solid var(--border); flex:1; }
.btn--ghost:hover{ border-color:var(--border-strong); background:var(--surface-muted); }
.btn--primary{
  background:var(--warm); color:#fff;
  box-shadow:0 4px 12px -4px rgba(234,88,12,.45);
}
.btn--primary:hover{ filter:brightness(1.05); box-shadow:0 6px 16px -4px rgba(234,88,12,.5); }
.btn--block{ width:100%; }

@media (max-width:560px){
  .card__stats{ grid-template-columns:1fr 1fr; }
  .card__stats .card__stat:last-child{ grid-column:1 / -1; }
  .card__footer-row{ flex-direction:column; align-items:stretch; }
  .card__actions{ width:100%; margin-left:0; }
  .card__actions .btn{ flex:1 1 calc(33.33% - 6px); min-width:0; }
}

/* ---------- Modal ---------- */
.overlay{
  position:fixed; inset:0; background:rgba(23,23,23,.35); backdrop-filter:blur(4px);
  display:flex; align-items:flex-end; justify-content:center;
  opacity:0; pointer-events:none; transition:opacity .28s var(--ease);
  z-index:100; padding:0;
}
.overlay.open{ opacity:1; pointer-events:auto; }
.modal{
  width:100%; max-width:480px; max-height:92vh; overflow-y:auto;
  background:var(--surface);
  border:1px solid var(--border); border-bottom:none;
  border-radius:24px 24px 0 0; padding:22px 22px calc(20px + env(safe-area-inset-bottom));
  transform:translateY(24px); transition:transform .32s var(--ease);
  box-shadow:var(--shadow-hover);
}
.overlay.open .modal{ transform:translateY(0); }
@media (min-width:640px){
  .overlay{ align-items:center; }
  .modal{ border-radius:24px; border-bottom:1px solid var(--border-strong); transform:translateY(12px) scale(.97); }
  .overlay.open .modal{ transform:translateY(0) scale(1); }
}
.modal__handle{ width:38px; height:4px; border-radius:99px; background:var(--border-strong); margin:0 auto 16px; }
@media (min-width:640px){ .modal__handle{ display:none; } }
.modal__close{
  position:absolute; top:16px; right:16px; width:34px; height:34px; border-radius:50%;
  background:var(--surface-muted); border:1px solid var(--border); color:var(--text-1);
  display:flex; align-items:center; justify-content:center; cursor:pointer;
}
.modal__close:hover{ color:var(--text-0); border-color:var(--border-strong); }
.modal__title{ margin:0 0 3px; min-height:34px; display:flex; align-items:center; }
.modal__sub{
  display:flex; align-items:center; flex-wrap:wrap; gap:6px;
  font-size:13px; color:var(--text-2); margin:0 0 20px;
}
.modal__value{
  font-size:clamp(2rem, 8vw, 2.5rem); font-weight:800; margin-bottom:18px;
  color:var(--success);
}
.modal__rows{ display:flex; flex-direction:column; gap:0; margin-bottom:18px; border:1px solid var(--border); border-radius:16px; overflow:hidden; }
.modal__row{ display:flex; justify-content:space-between; gap:12px; padding:13px 16px; font-size:13.5px; }
.modal__row:nth-child(odd){ background:var(--surface-muted); }
.modal__row dt{ color:var(--text-2); font-weight:600; }
.modal__row dd{ margin:0; font-weight:700; color:var(--text-0); text-align:right; }
.modal__note{
  display:flex; align-items:flex-start; gap:8px;
  font-size:12.5px; color:var(--amber); background:var(--warm-soft);
  border:1px solid #fed7aa; padding:10px 13px; border-radius:12px; margin-bottom:18px;
}
.modal__profile{
  font-size:12.5px; color:var(--text-2); background:var(--surface-muted); border:1px solid var(--border);
  border-radius:12px; padding:12px 14px; margin-bottom:18px; display:none;
}
.modal__profile.show{ display:block; }
.modal__profile b{ color:var(--text-1); }
.modal__disclaimer{ font-size:11.5px; color:var(--text-2); text-align:center; margin-top:14px; line-height:1.5; }
.modal__actions{ display:flex; gap:10px; }
.modal{ position:relative; }

.filter-form{ display:flex; flex-direction:column; gap:18px; margin-bottom:18px; }
.filter-group__label{
  display:block; font-size:13px; font-weight:700; color:var(--text-0); margin-bottom:10px;
}
.filter-range{ display:flex; align-items:center; gap:8px; }
.filter-range__sep{ font-size:12px; color:var(--text-2); font-weight:600; flex:none; }
.filter-input{
  width:100%; min-width:0; border:1px solid var(--border); background:var(--surface);
  color:var(--text-0); padding:11px 14px; border-radius:12px; font-size:13.5px; font-weight:600;
  box-shadow:0 1px 2px rgba(0,0,0,.03); transition:border-color .2s var(--ease);
}
.filter-input::placeholder{ color:var(--text-2); font-weight:600; }
.filter-input:hover{ border-color:var(--border-strong); }
.filter-input:focus{ outline:none; border-color:var(--accent); box-shadow:0 0 0 3px rgba(13,148,136,.12); }
.filter-admins{
  display:flex; flex-direction:column; gap:0; max-height:min(240px, 42vh);
  overflow-y:auto; border:1px solid var(--border); border-radius:16px;
}
.filter-admin{
  display:flex; align-items:center; gap:10px; padding:12px 14px; cursor:pointer;
  font-size:13.5px; font-weight:600; color:var(--text-0); transition:background .15s var(--ease);
}
.filter-admin:nth-child(odd){ background:var(--surface-muted); }
.filter-admin:hover{ background:var(--accent-soft); }
.filter-admin input{
  width:16px; height:16px; accent-color:var(--accent); cursor:pointer; flex:none;
}
.filter-admin span{ min-width:0; }

.empty--filters{
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-lg);
  padding:48px 24px; box-shadow:var(--shadow-card); max-width:480px; margin:0 auto;
}
.empty--filters h3{ margin:14px 0 8px; font-size:1.15rem; color:var(--text-0); font-weight:800; }
.empty--filters p{ margin:0 auto 18px; max-width:36ch; line-height:1.55; font-size:14px; }
.empty__icon{
  width:52px; height:52px; margin:0 auto; border-radius:16px;
  background:var(--surface-muted); border:1px solid var(--border);
  display:flex; align-items:center; justify-content:center; color:var(--text-2);
}

/* ---------- Toast ---------- */
.toast-host{ position:fixed; left:50%; bottom:calc(20px + env(safe-area-inset-bottom)); transform:translateX(-50%); z-index:200; display:flex; flex-direction:column; gap:8px; align-items:center; pointer-events:none; }
.toast{
  background:var(--surface); border:1px solid var(--border); color:var(--text-0);
  padding:11px 18px; border-radius:999px; font-size:13px; font-weight:600;
  box-shadow:var(--shadow-hover);
  opacity:0; transform:translateY(10px); transition:all .3s var(--ease);
}
.toast.show{ opacity:1; transform:translateY(0); }

/* ---------- Join FAB & modal ---------- */
.join-fab{
  position:fixed; right:clamp(16px, 4vw, 28px);
  bottom:calc(88px + env(safe-area-inset-bottom));
  z-index:190;
  width:56px; height:56px; border:none; border-radius:999px;
  background:linear-gradient(145deg, var(--accent) 0%, var(--accent-dark) 100%);
  color:#fff; box-shadow:0 8px 24px -6px rgba(13,148,136,.55);
  display:inline-flex; align-items:center; justify-content:center;
  cursor:pointer; transition:transform .2s var(--ease), box-shadow .2s var(--ease);
}
.join-fab:hover{ transform:translateY(-2px); box-shadow:0 12px 28px -6px rgba(13,148,136,.6); }
.join-fab:active{ transform:scale(.96); }
.join-fab[hidden]{ display:none !important; }
.join-fab .icon{ width:22px; height:22px; }
.join-fab__badge{
  position:absolute; top:-4px; right:-4px;
  min-width:20px; height:20px; padding:0 6px; border-radius:999px;
  background:var(--warm); color:#fff; font-size:11px; font-weight:800;
  display:inline-flex; align-items:center; justify-content:center;
  border:2px solid var(--bg); line-height:1;
}
.modal--join{ max-width:520px; }
.join-totals-block{ margin-bottom:16px; }
.join-totals{
  display:grid; grid-template-columns:1fr 1fr; gap:10px;
}
.join-totals__item{
  background:var(--surface-muted); border:1px solid var(--border);
  border-radius:14px; padding:12px 14px;
}
.join-totals__item--wide{ grid-column:1 / -1; }
.join-totals__item span{
  display:block; font-size:11px; text-transform:uppercase; letter-spacing:.35px;
  color:var(--text-2); font-weight:700; margin-bottom:4px;
}
.join-totals__item strong{ font-size:1.05rem; color:var(--text-0); }
.join-parcelas-detail{
  margin:8px 4px 0; padding:0 2px;
  font-size:11px; line-height:1.5;
  color:var(--text-2); font-weight:500;
}
.join-parcelas-detail__label{ font-weight:600; color:var(--text-2); }
.join-parcelas-detail[hidden]{ display:none !important; }
.join-list{ display:flex; flex-direction:column; gap:10px; margin-bottom:18px; max-height:min(42vh, 360px); overflow-y:auto; }
.join-item{
  border:1px solid var(--border); border-radius:14px; padding:12px 14px; background:var(--surface-muted);
}
.join-item__head{ display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:10px; }
.join-item__admin{ min-width:0; flex:1; }
.join-item__remove{
  appearance:none; border:none; background:var(--surface); color:var(--text-2);
  width:32px; height:32px; border-radius:999px; cursor:pointer;
  display:inline-flex; align-items:center; justify-content:center;
  border:1px solid var(--border); flex:none;
}
.join-item__remove:hover{ color:var(--text-0); border-color:var(--border-strong); }
.join-item__rows{ display:flex; flex-direction:column; gap:0; margin:0; }
.join-item__row{
  display:flex; justify-content:space-between; gap:10px; padding:7px 0;
  font-size:13px; border-top:1px solid var(--border);
}
.join-item__row:first-child{ border-top:none; padding-top:0; }
.join-item__row dt{ color:var(--text-2); font-weight:600; margin:0; }
.join-item__row dd{ margin:0; font-weight:700; color:var(--text-0); text-align:right; }

/* ---------- Confetti ---------- */
.confetti{ position:fixed; width:8px; height:8px; border-radius:2px; pointer-events:none; z-index:300; }

/* ---------- Footer ---------- */
footer{ padding:30px 0 50px; text-align:center; color:var(--text-2); font-size:12.5px; position:relative; z-index:2; }

.empty{ text-align:center; padding:60px 20px; color:var(--text-2); }

/* ---------- Loading skeleton ---------- */
.grid.is-loading{ gap:14px; }
.skeleton-card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius-md);
  padding:18px;
  box-shadow:var(--shadow-card);
  animation:sk-pulse 1.2s ease-in-out infinite;
}
.skeleton-line{
  height:12px; border-radius:6px; background:linear-gradient(90deg, #eee, #f5f5f5, #eee);
  background-size:200% 100%;
  animation:sk-shimmer 1.2s infinite;
  margin-bottom:10px;
}
.skeleton-line--lg{ height:28px; width:55%; margin:14px 0; }
.skeleton-line--sm{ width:35%; }
@keyframes sk-shimmer{ 0%{ background-position:200% 0; } 100%{ background-position:-200% 0; } }
@keyframes sk-pulse{ 0%,100%{ opacity:1; } 50%{ opacity:.92; } }

/* ---------- Lucide Icons ---------- */
.icon{
  width:1em; height:1em; flex-shrink:0;
  stroke:currentColor; fill:none;
}
.icon--sm{ width:14px; height:14px; }
.icon--md{ width:18px; height:18px; }
.icon--lg{ width:22px; height:22px; }
.chip .icon, .trust-strip .icon{ width:15px; height:15px; }
.card__banner .icon{ width:16px; height:16px; }
.btn .icon{ width:16px; height:16px; }
.modal__close .icon{ width:18px; height:18px; }
.tag .icon{ width:13px; height:13px; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  .card, .card__value, .dot-live{ animation:none !important; }
  .card__value.pop, .card__stat b[data-count].pop{ animation:none !important; }
  .card{ opacity:1; transform:none; }
  *{ transition-duration:.01ms !important; }
}
