/* Floating Cookie Manager Button (FAB) */
.cookie-fab{
  position:fixed;left:16px;bottom:16px;z-index:1040; /* abaixo do modal (1055) */
  width:52px;height:52px;border-radius:999px;border:1px solid rgba(255,255,255,.04);cursor:pointer;
  display:grid;place-items:center;
  /* Quase imperceptível por padrão */
  color:rgba(255,255,255,.68);
  background:rgba(17,24,39,.28);
  opacity:.55;
  box-shadow:0 4px 14px rgba(2,6,23,.10), 0 1px 3px rgba(2,6,23,.08);
  backdrop-filter:saturate(120%) blur(3px);
  transition:transform .15s ease, background-color .15s ease, opacity .15s ease, box-shadow .15s ease, color .15s ease;
  will-change: transform, box-shadow, opacity;
}
.cookie-fab:hover{
  transform:translateY(-2px);
  opacity:.98;
  background:rgba(17,24,39,.90);
  color:#fff;
  box-shadow:0 10px 30px rgba(2,6,23,.26);
}
.cookie-fab:active{transform:translateY(0)}
.cookie-fab:focus-visible{outline:none;box-shadow:0 0 0 3px rgba(124,58,237,.35), 0 8px 24px rgba(2,6,23,.22)}
.cookie-fab i{font-size:22px;opacity:.95;transition:transform .18s ease, filter .15s ease}
.cookie-fab:hover i{transform:rotate(-12deg) scale(1.05)}
.cookie-fab:active i{transform:rotate(0) scale(.98)}
.cookie-fab::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;box-shadow:0 0 0 0 rgba(124,58,237,.0);transition:box-shadow .22s ease}
.cookie-fab:hover::after{box-shadow:0 0 0 6px rgba(124,58,237,.12)}
@keyframes fabBreath{0%,100%{transform:translateY(0)}50%{transform:translateY(-1px)}}
.cookie-fab{animation:fabBreath 4.8s ease-in-out infinite}

/* Evita conflito com balões/CTAs flutuantes (mantém visível) */
@media (max-width: 768px){ .cookie-fab{ left:12px; bottom:12px; } }

/* Card/balão do FAB (aparência conforme exemplo) */
.cookie-fab-card,
.cookieFabCard{
  /* Tokens no estilo glass + neumorphism */
  --ck-bg:rgba(255,255,255,.72);
  --ck-bg-alt:rgba(255,255,255,.55);
  --ck-border:rgba(255,255,255,.55);
  --ck-text:#0f172a;
  --ck-muted:#475569;
  --ck-brand:var(--color-primary-600, #1C267F);
  --ck-brand-strong:var(--color-primary-700, #18206C);
  --ck-grad-start:var(--ck-brand);
  --ck-grad-end:var(--color-primary-400, #38bdf8);
  --ck-shadow:0 18px 38px rgba(15,23,42,.18),0 2px 10px rgba(15,23,42,.12);

  position:fixed;left:16px;bottom:84px;z-index:1050;
  width:clamp(240px, 78vw, 330px);
  background:linear-gradient(135deg,var(--ck-bg),var(--ck-bg-alt));
  border:1px solid var(--ck-border);
  border-radius:18px;
  box-shadow:var(--ck-shadow);
  padding:16px 18px 14px;display:none;
  color:var(--ck-text);
  backdrop-filter:blur(18px) saturate(160%);
  -webkit-backdrop-filter:blur(18px) saturate(160%);
  transform:translateZ(0);
  overflow:hidden; /* evita sombras/botões vazando do card */
}
.cookie-fab-card::before{
  content:"";
  position:absolute;inset:-1px;border-radius:inherit;pointer-events:none;
  background:linear-gradient(125deg,rgba(255,255,255,.45),rgba(255,255,255,0));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.45);
}
.cookie-fab-card::after{content:"";position:absolute;left:16px;right:16px;top:8px;height:1px;border-radius:999px;background:linear-gradient(90deg,rgba(255,255,255,.5),rgba(255,255,255,0));opacity:.65}
.cookie-fab-card:hover{transform:translateY(-1px);box-shadow:0 20px 42px rgba(15,23,42,.18)}
@keyframes cardPop{0%{opacity:0;transform:translateY(12px) scale(.96)}70%{opacity:1;transform:translateY(-2px) scale(1.01)}100%{opacity:1;transform:translateY(0) scale(1)}}
.cookie-fab-card.is-open{display:block;animation:cardPop .22s cubic-bezier(.22,1,.36,1) both}

.cookie-fab-card .c-head,
.cookieFabCard .c-head{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.cookie-fab-card .c-icon,
.cookieFabCard .c-icon{flex:0 0 56px;width:56px;height:56px;border-radius:50%;background:var(--pp-neumorphic-base, rgba(255,255,255,.9));box-shadow:6px 6px 12px var(--pp-shadow-dark, rgba(15,23,42,.15)),-6px -6px 12px var(--pp-shadow-light, rgba(255,255,255,.8));display:grid;place-items:center}
.cookie-fab-card .c-icon i,
.cookieFabCard .c-icon i{font-size:24px;color:var(--pp-brand, var(--ck-brand));filter:drop-shadow(0 2px 4px rgba(0,0,0,.15))}
.cookie-fab-card .c-head-text,
.cookieFabCard .c-head-text{flex:1 1 auto;min-width:0}
.cookie-fab-card .c-title,
.cookieFabCard .c-title{color:var(--ck-brand);font-weight:800;font-size:.96rem;margin:0 0 4px;text-shadow:0 1px 1px rgba(255,255,255,.32)}
.cookie-fab-card .c-text,
.cookieFabCard .c-text{color:var(--ck-muted);font-size:.86rem;line-height:1.4;margin:0}
.cookie-fab-card .c-note,
.cookieFabCard .c-note{color:var(--ck-muted);font-size:.82rem;line-height:1.35;margin:6px 0 8px}
.cookie-fab-card .c-privacy,
.cookieFabCard .c-privacy{font-weight:700;color:var(--pp-brand, var(--ck-brand));text-decoration:none;transition:color .18s ease}
.cookie-fab-card .c-privacy:hover,
.cookieFabCard .c-privacy:hover{color:var(--pp-brand-700, var(--ck-brand-strong))}
.cookie-fab-card .c-actions,
.cookieFabCard .c-actions{display:grid;gap:12px;align-items:stretch;justify-items:stretch;margin-top:16px;grid-template-columns:repeat(2, minmax(0,1fr));grid-auto-rows:auto}
.cookie-fab-card .c-actions .c-personalize,
.cookieFabCard .c-actions .c-personalize{grid-column:1/-1;justify-self:start;margin-bottom:2px;display:inline-flex;align-items:center;gap:6px;padding:0;position:relative}

.cookie-fab-card .btn-cookie{border:1px solid rgba(255,255,255,.35);border-radius:12px;height:36px;padding:0 .9rem;font-weight:700;font-size:.86rem;cursor:pointer;background:linear-gradient(145deg,rgba(255,255,255,.95),rgba(255,255,255,.65));color:var(--ck-text);line-height:36px;transition:box-shadow .16s ease, transform .12s ease}
.cookie-fab-card .btn-cookie:hover{transform:translateY(-1px);box-shadow:inset 3px 3px 6px rgba(255,255,255,.45), inset -3px -3px 6px rgba(15,23,42,.08)}
.cookie-fab-card .btn-cookie:active{transform:translateY(0)}
.cookie-fab-card .btn-cookie:focus-visible{outline:none;box-shadow:0 0 0 3px rgba(var(--bs-primary-rgb,28,38,127),.28)}
.cookie-fab-card .btn-accept{background:linear-gradient(120deg,var(--ck-brand),var(--ck-brand-strong));color:#fff;border:0;box-shadow:0 10px 24px rgba(var(--bs-primary-rgb,28,38,127),.26)}
.cookie-fab-card .btn-accept:hover{transform:translateY(-1px);box-shadow:0 16px 34px rgba(var(--bs-primary-rgb,28,38,127),.34)}
.cookie-fab-card .btn-link{border:0;background:transparent;padding:0 .6rem;color:var(--ck-brand);height:auto;line-height:1.3;display:flex;align-items:center;justify-content:center;text-decoration:underline;text-underline-offset:3px}
.cookie-fab-card .btn-link:hover{transform:translateY(-1px);color:var(--ck-brand-strong)}

/* Tornar ações mais fluídas: o primário expande, demais se alinham naturalmente */
/* Personalizar, Rejeitar e Aceitar em linha */
#cookieDeclineBtn{grid-column:1/2}
#cookieAcceptBtn{grid-column:2/3}
/* Animações suaves sem mudar cor para Rejeitar */
#cookieDeclineBtn:hover{transform:translateY(-1px);box-shadow:0 6px 14px rgba(0,0,0,.10)}

/* Responsividade: stack em telas pequenas */
@media (max-width: 520px){
  .cookie-fab-card{left:10px;right:10px;bottom:70px;width:auto;padding:14px 16px;border-radius:16px}
  .cookie-fab-card .c-head{gap:9px}
}
@media (max-width: 460px){
  .cookie-fab-card .c-actions{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:auto}
  .cookie-fab-card .btn-cookie{height:34px;line-height:34px;font-size:.84rem;padding:0 .75rem}
  .cookie-fab-card .btn-link{grid-column:1/-1;justify-content:flex-start;padding:0 .15rem}
  #cookieDeclineBtn{grid-column:1/2}
  #cookieAcceptBtn{grid-column:2/3}
}
@media (max-width: 360px){
  .cookie-fab-card{padding:12px 14px;border-radius:15px}
  .cookie-fab-card .c-title{font-size:.9rem}
  .cookie-fab-card .c-text{font-size:.82rem}
  .cookie-fab-card .c-actions{grid-template-columns:1fr;grid-auto-rows:auto}
  .cookie-fab-card .btn-cookie,.cookie-fab-card .btn-link{width:100%;justify-content:center}
}

/* ===== Painel inline (dentro do card) ===== */
.cp-inline{display:none;margin-top:10px;border-top:1px dashed rgba(148,163,184,.35);padding-top:10px}
.cp-inline.is-open{display:block;animation:cardPop .22s cubic-bezier(.22,1,.36,1) both}

/* Cabeçalho do painel inline (parecido com a referência) */
.cp-head-inline{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px;padding:6px 10px;border-radius:12px;background:linear-gradient(145deg,rgba(var(--bs-primary-rgb,28,38,127),.12),rgba(var(--bs-primary-rgb,28,38,127),.02));box-shadow:inset 0 1px 0 rgba(255,255,255,.45)}
.cp-head-inline .cp-title-inline{margin:0;font-weight:800;color:var(--ck-brand);font-size:.98rem}
.cp-inline-close{border:0;background:rgba(var(--bs-primary-rgb,28,38,127),.12);color:var(--ck-brand);width:26px;height:26px;border-radius:999px;cursor:pointer;line-height:1;display:grid;place-items:center;transition:transform .12s ease, filter .12s ease}
.cp-inline-close:hover{filter:brightness(.95)}

/* Itens e colapsáveis sem scroll lateral */
.cp-item{border:1px solid rgba(148,163,184,.35);border-radius:14px;padding:10px 12px;background:linear-gradient(145deg,rgba(255,255,255,.92),rgba(255,255,255,.65));box-shadow:inset 2px 2px 4px rgba(255,255,255,.45), inset -2px -2px 4px rgba(148,163,184,.18)}
.cp-item + .cp-item{margin-top:6px}
/* Descrição compacta em 2 linhas (sem colapso) */
.cp-desc{margin:.2rem 0 0 0;color:var(--ck-muted);font-size:.82rem;line-height:1.35;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden}

/* Ao personalizar, esconda o conteúdo do gerenciador para não sobrepor */
.cookie-fab-card.show-prefs .c-title,
.cookie-fab-card.show-prefs .c-text,
.cookie-fab-card.show-prefs .c-privacy,
.cookie-fab-card.show-prefs .c-actions{display:none}

/* Ações do painel inline: pequenos, iguais e à esquerda */
.cp-inline .cp-actions{display:flex;gap:10px;justify-content:flex-start}
.cp-inline .cp-actions .btn-cookie{height:34px;line-height:34px;font-size:.9rem;min-width:120px}

/* Dark mode – mantém contraste e sombra elegantes */
@media (prefers-color-scheme: dark){
  .cookie-fab{border-color:rgba(255,255,255,.08)}
  .cookie-fab-card{
    --ck-bg:rgba(10,14,24,.85);
    --ck-bg-alt:rgba(30,41,59,.65);
    --ck-border:rgba(148,163,184,.28);
    --ck-text:#e5e7eb;
    --ck-muted:#cbd5f5;
    --ck-shadow:0 24px 48px rgba(2,6,23,.55);
    --ck-brand:var(--color-primary-400, #60a5fa);
    --ck-brand-strong:var(--color-primary-300, #93c5fd);
    --ck-grad-start:var(--ck-brand);
    --ck-grad-end:var(--color-primary-200, #bfdbfe);
  }
  .cookie-fab-card .c-icon{background:linear-gradient(145deg,rgba(30,41,59,.92),rgba(30,41,59,.58));box-shadow:inset 2px 2px 4px rgba(148,163,184,.2), inset -2px -2px 4px rgba(5,9,20,.6)}
  .cookie-fab-card .c-icon i{color:var(--ck-brand)}
  .cookie-fab-card .btn-cookie{background:linear-gradient(145deg,rgba(30,41,59,.9),rgba(30,41,59,.65));color:var(--ck-text);border-color:rgba(148,163,184,.25)}
  .cookie-fab-card .btn-cookie:hover{box-shadow:inset 2px 2px 4px rgba(30,41,59,.75), inset -2px -2px 4px rgba(148,163,184,.25)}
  .cookie-fab-card .btn-accept{background:linear-gradient(125deg,var(--ck-grad-start),var(--ck-grad-end))}
  .cookie-prefs{
    background:linear-gradient(145deg,rgba(15,23,42,.9),rgba(15,23,42,.72));
    border:1px solid rgba(148,163,184,.28);
    box-shadow:0 36px 68px rgba(2,6,23,.6);
  }
  .cookie-prefs .cp-head h3{color:var(--ck-brand)}
  .cookie-prefs .cp-body{color:#e2e8f0}
  .cp-item{
    background:linear-gradient(145deg,rgba(30,41,59,.92),rgba(30,41,59,.68));
    border-color:rgba(148,163,184,.28);
    box-shadow: 5px 5px 10px rgba(2,6,23,.6), -5px -5px 10px rgba(148,163,184,.2);
  }
  .cp-title{color:#e0e7ff}
  .cp-desc{color:rgba(226,232,240,.85)}
  .cookie-bottom-bar{background:linear-gradient(140deg,rgba(10,14,24,.9),rgba(15,23,42,.72));border-top-color:rgba(148,163,184,.3)}
}

/* Respeita usuários com redução de movimento */
@media (prefers-reduced-motion: reduce){
  .cookie-fab{animation:none}
  .cookie-fab-card.is-open{animation:none}
  .cookie-fab:hover::after{box-shadow:none}
}

/* =====================================================================
   cbb-inner com o mesmo fundo do lc-card (Neumorphism INSET)
   ===================================================================== */
.cookie-bottom-bar .cbb-inner{
  background: var(--pp-neumorphic-base, #e4e9f2);
  color: #000; /* texto preto, conforme solicitado */
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 20px;
  box-shadow: inset 4px 4px 8px var(--pp-shadow-dark, #b8bfcb),
              inset -4px -4px 8px var(--pp-shadow-light, #ffffff);
}
.cookie-bottom-bar .cbb-text{ color: #000; }
.cookie-bottom-bar .cbb-inner .cbb-icon{
  background: linear-gradient(145deg, rgba(255,255,255,.9), rgba(255,255,255,.6));
  box-shadow: inset 2px 2px 4px rgba(255,255,255,.55), inset -2px -2px 4px rgba(15,23,42,.08);
}
.cookie-bottom-bar .cbb-inner .cbb-icon i{ color: var(--pp-brand, var(--color-primary-600, #1C267F)); filter: drop-shadow(0 1px 3px rgba(var(--bs-primary-rgb,28,38,127),.25)); }
.cookie-bottom-bar .cbb-link{ color: var(--pp-brand, var(--color-primary-600, #1C267F)); }
.cookie-bottom-bar .cbb-link:hover{ color: var(--color-primary-700, #18206C); }

/* Botão "Entendi" no padrão lc-btn */
.cookie-bottom-bar .cbb-actions .lc-btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:20px 40px; border-radius:50px; border:none; outline:none;
  background:#e0e5ec; color:#5a6779; font-family:Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size:1.1rem; font-weight:600; letter-spacing:.5px; line-height:1;
  box-shadow: 9px 9px 18px #a3b1c6, -9px -9px 18px #ffffff;
  transition: all .25s ease; cursor:pointer; position:relative;
}
.cookie-bottom-bar .cbb-actions .lc-btn:hover{ box-shadow: 9px 9px 18px #a3b1c6, -9px -9px 18px #ffffff, inset 0 0 10px rgba(255,255,255,.8), 0 0 35px rgba(255,255,255,1); color:#1a1e24; }
.cookie-bottom-bar .cbb-actions .lc-btn:active{ transform:scale(.98); box-shadow: inset 7px 7px 14px #a3b1c6, inset -7px -7px 14px #ffffff; }
.cookie-bottom-bar .cbb-actions .lc-btn[disabled]{opacity:.7;cursor:not-allowed;box-shadow:none}
.cookie-bottom-bar .cbb-actions .lc-btn-primary{color:var(--pp-brand, var(--color-primary-600, #1C267F))}

/* =====================================================================
   Quando a barra estiver aberta, empurra itens fixos para cima
   (sem mudar seu posicionamento original quando a barra some)
   ===================================================================== */
body.cookie-bar-open .wpc-top{ bottom: calc(1rem + var(--cookie-bar-h, 0px)) !important; }
body.cookie-bar-open #toastContainer{ bottom: calc(20px + var(--cookie-bar-h, 0px)) !important; }
body.cookie-bar-open .welcome-bubble{ bottom: calc(88px + var(--cookie-bar-h, 0px)) !important; }
body.cookie-bar-open .lc-fab{ bottom: calc(16px + var(--cookie-bar-h, 0px)) !important; }
body.cookie-bar-open .lc-fab-hint{ bottom: calc(74px + var(--cookie-bar-h, 0px)) !important; }

/* Ações no footer da view de personalização dentro do modal Bootstrap */
.cookies-customize-actions{display:flex;gap:10px;justify-content:flex-start}
.cookies-customize-actions .btn{min-width:120px}

/* ===================== Modal de Personalização ===================== */
.cookie-prefs-overlay{position:fixed;inset:0;background:rgba(2,6,23,.55);backdrop-filter:saturate(120%) blur(2px);display:none;z-index:1065}
.cookie-prefs-overlay[aria-hidden="false"]{display:block}

/* ===================== Barra inferior de consentimento ===================== */
.cookie-bottom-bar{
  position:fixed;left:0;right:0;bottom:0;z-index:950;display:none; /* abaixo de itens fixos comuns */
  --ck-grad-start:var(--color-primary-600, #1C267F);
  --ck-grad-end:var(--color-primary-400, #38bdf8);
  /* Fundo oculto para não aparecer borda atrás do card */
  background:transparent;
  border-top:0;
  box-shadow:none;
  color:#e2e8f0;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
}
.cookie-bottom-bar[aria-hidden="false"]{display:block}
.cookie-bottom-bar .cbb-inner{max-width:none;width:100%;margin:0;padding:clamp(1rem,4vw,1.25rem) clamp(14px,4vw,22px);display:flex;align-items:center;gap:16px}
.cookie-bottom-bar .cbb-text{display:flex;align-items:flex-start;gap:14px;font-size:.92rem;line-height:1.45;color:#000}
.cookie-bottom-bar .cbb-icon{flex:0 0 48px;width:48px;height:48px;border-radius:16px;background:linear-gradient(145deg,rgba(15,23,42,.65),rgba(15,23,42,.45));box-shadow:inset 2px 2px 4px rgba(148,163,184,.28), inset -2px -2px 4px rgba(5,9,20,.45);display:grid;place-items:center}
.cookie-bottom-bar .cbb-icon i{font-size:20px;color:var(--ck-grad-end)}
.cookie-bottom-bar .cbb-copy{flex:1 1 auto;min-width:0}
.cookie-bottom-bar .cbb-link{color:var(--color-primary-600, #1C267F);text-decoration:underline;text-underline-offset:3px;transition:color .18s ease}
.cookie-bottom-bar .cbb-link:hover{color:var(--color-primary-700, #18206C)}
.cookie-bottom-bar .cbb-actions{margin-left:auto}
.cookie-bottom-bar .cbb-btn{border:1px solid rgba(255,255,255,.25);border-radius:14px;height:38px;line-height:38px;padding:0 1.1rem;font-weight:700;cursor:pointer;background:linear-gradient(145deg,rgba(15,23,42,.6),rgba(15,23,42,.4));color:#f1f5f9;transition:box-shadow .18s ease, transform .12s ease}
.cookie-bottom-bar .cbb-btn.cbb-accept{background:linear-gradient(125deg,var(--ck-grad-start),var(--ck-grad-end));border:0;color:#fff;box-shadow:0 12px 26px rgba(var(--bs-primary-rgb,28,38,127),.25)}
.cookie-bottom-bar .cbb-btn:hover{transform:translateY(-1px)}
.cookie-bottom-bar .cbb-btn:active{transform:translateY(0)}
.cookie-bottom-bar .cbb-btn:focus-visible{outline:none;box-shadow:0 0 0 3px rgba(148,163,184,.35)}

@media (max-width: 640px){
  .cookie-bottom-bar .cbb-inner{flex-direction:column;align-items:flex-start;gap:12px;padding:16px}
  .cookie-bottom-bar .cbb-text{gap:12px}
  .cookie-bottom-bar .cbb-actions{margin-left:0;width:100%;display:flex;justify-content:flex-start}
  .cookie-bottom-bar .cbb-btn{width:100%;text-align:center}
}
.cookie-prefs{
  --ck-brand:var(--color-primary-600, #1C267F);
  --ck-brand-strong:var(--color-primary-700, #18206C);
  --ck-muted:#475569;
  position:relative;width:min(92vw,520px);max-height:min(88vh,680px);overflow:hidden;
  display:flex;flex-direction:column;margin:6vh auto;
  background:linear-gradient(145deg,rgba(255,255,255,.9),rgba(255,255,255,.7));
  border:1px solid rgba(255,255,255,.45);
  border-radius:24px;
  box-shadow:0 30px 68px rgba(15,23,42,.32);
  backdrop-filter:blur(24px) saturate(165%);
  -webkit-backdrop-filter:blur(24px) saturate(165%);
}
.cookie-prefs .cp-head{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;border-bottom:1px solid rgba(148,163,184,.35)}
.cookie-prefs .cp-head h3{font-size:1.05rem;font-weight:800;color:var(--ck-brand);margin:0}
.cookie-prefs .cp-close{border:0;background:transparent;font-size:22px;line-height:1;cursor:pointer;color:var(--ck-muted);opacity:.85;transition:transform .12s ease, opacity .12s ease}
.cookie-prefs .cp-close:hover{opacity:1;transform:scale(1.05)}
.cookie-prefs .cp-body{padding:12px 18px;overflow:auto}
.cookie-prefs .cp-actions{display:flex;gap:12px;justify-content:flex-start;padding:14px 18px;border-top:1px solid rgba(148,163,184,.35)}
.cookie-prefs .cp-actions .btn-cookie{height:38px;line-height:38px;font-size:.92rem;padding:0 .9rem;min-width:140px;border-radius:14px}

.cp-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
/* cp-item no estilo Neumorfismo (outset, flutuando) */
.cp-item{
  border:1px solid rgba(255,255,255,.55);
  border-radius:14px;
  padding:10px 12px;
  background: var(--pp-neumorphic-base, #e4e9f2);
  color: var(--pp-text, #111827);
  box-shadow: 5px 5px 10px var(--pp-shadow-dark, #b8bfcb), -5px -5px 10px var(--pp-shadow-light, #ffffff);
  transition: transform .15s ease-out, box-shadow .15s ease-out;
}
.cp-item:hover{ transform: translateY(-1px); }
.cp-item:active{ transform: translateY(1px); box-shadow: inset 3px 3px 6px var(--pp-shadow-dark, #b8bfcb), inset -3px -3px 6px var(--pp-shadow-light, #ffffff); }
.cp-item:focus-visible{ outline: 3px solid rgba(var(--bs-primary-rgb,28,38,127),.28); outline-offset: 2px; }
.cp-row{display:flex;align-items:center;justify-content:space-between;gap:8px}
.cp-title{font-weight:800;margin:0;color:var(--ck-brand);font-size:.92rem}
.cp-desc{margin:.2rem 0 0 0;color:var(--ck-muted);font-size:.82rem;line-height:1.35;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden}

/* Switch */
.cp-switch{position:relative;width:38px;height:22px;flex:0 0 38px}
.cp-switch input{position:absolute;inset:0;opacity:0}
.cp-switch .track{position:absolute;inset:0;border-radius:22px;background:#e5e7eb;transition:background-color .2s ease}
.cp-switch .thumb{position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.18);transition:transform .2s ease}
.cp-switch input:checked + .track{background:linear-gradient(90deg,var(--ck-grad-start),var(--ck-grad-end))}
.cp-switch input:checked + .track .thumb{transform:translateX(14px)}

/* Rodapé do painel inline: fixo dentro do card visualmente, sem overflow */
.cp-actions-inline{margin-top:8px;display:flex;gap:8px;justify-content:flex-start}
.cp-actions-inline .btn-cookie{height:34px;line-height:34px;font-size:.9rem;min-width:120px}
.cp-switch input:disabled + .track{background:#d1d5db;cursor:not-allowed}
/* Se estiver checado e desabilitado (ex.: necessários), manter visual de ativo mas com leve opacidade */
.cp-switch input:checked:disabled + .track{background:linear-gradient(90deg,var(--ck-grad-start),var(--ck-grad-end));opacity:.78}
.cp-switch input:checked:disabled + .track .thumb{opacity:.95}

/* Removido destaque condicional de estado dos botões do card */

/* ================================================================
   Neumorphism (Trabalhe): base e botões do mini-card
   Aplicação local para não interferir em outros componentes
   ================================================================ */
/* Tokens do Trabalhe (fallback se #win-contact não estiver na página) */
.cookie-fab-card{
  --pp-text: var(--color-neutral-900, #111827);
  --pp-muted: #475569;
  --pp-brand: var(--color-primary-600, #1C267F);
  --pp-brand-700: var(--color-primary-700, #18206C);
  --pp-success: #16a34a;
  --pp-neumorphic-base: #e4e9f2;
  --pp-shadow-light: #ffffff;
  --pp-shadow-dark: #b8bfcb;
}

/* Fundo e container — Neumorfismo (elevado sobre fundo cinza claro) */
.cookie-fab-card{
  background: var(--pp-neumorphic-base) !important; /* cinza claro */
  color: var(--pp-text) !important;
  border: 1px solid rgba(255,255,255,.40);
  border-radius: 20px;
  /* Sombras externas suaves (uma escura e uma clara) para efeito de elevação */
  box-shadow: 6px 6px 14px var(--pp-shadow-dark),
              -6px -6px 14px var(--pp-shadow-light) !important;
  padding: clamp(1rem, 4vw, 1.75rem);
}
/* Remove brilhos do estilo antigo */
.cookie-fab-card::after,
.cookieFabCard::after{ display: none !important; }
/* Leve flutuação no hover, mantendo acessibilidade */
.cookie-fab-card:hover,
.cookieFabCard:hover{ transform: translateY(-1px); }

/* Estados abertos preservam a mesma elevação */
.cookie-fab-card.is-open,
.cookie-fab-card.show-prefs,
.cookie-fab-card.is-open.show-prefs,
.cookieFabCard.is-open,
.cookieFabCard.show-prefs{
  background: var(--neo-bg, #e0e5ec) !important; /* cinza igual ao do botão */
  box-shadow: 6px 6px 14px var(--pp-shadow-dark),
              -6px -6px 14px var(--pp-shadow-light) !important;
  border-radius: 20px;
}

/* Oculta o ícone quando estiver no modo Personalizar */
.cookie-fab-card.is-open.show-prefs .c-icon,
.cookieFabCard.is-open.show-prefs .c-icon{ display: none; }

/* Título e textos no padrão */
.cookie-fab-card .c-title{ color: var(--pp-brand); font-weight: 800; }
.cookie-fab-card .c-text, .cookie-fab-card .c-note{ color: var(--pp-muted); }

/* Botões idênticos ao Trabalhe */
.cookie-fab-card .lc-btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:20px 40px; border-radius:50px; border:none; outline:none;
  background:#e0e5ec; color:#5a6779; font-family:Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size:1.1rem; font-weight:600; letter-spacing:.5px; line-height:1;
  box-shadow: 9px 9px 18px #a3b1c6, -9px -9px 18px #ffffff;
  transition: all .25s ease; cursor:pointer; position:relative;
}
.cookie-fab-card .lc-btn:hover{ box-shadow: 9px 9px 18px #a3b1c6, -9px -9px 18px #ffffff, inset 0 0 10px rgba(255,255,255,.8), 0 0 35px rgba(255,255,255,1); color:#1a1e24; }
.cookie-fab-card .lc-btn:active{ transform:scale(.98); box-shadow: inset 7px 7px 14px #a3b1c6, inset -7px -7px 14px #ffffff; }
.cookie-fab-card .lc-btn[disabled]{opacity:.7;cursor:not-allowed;box-shadow:none}
.cookie-fab-card .lc-btn-primary{color:var(--pp-brand)}
.cookie-fab-card .lc-btn-ghost{
  /* Mesmo layout do cookieDeclineBtn */
  box-shadow: -4px -4px 14px rgba(255,255,255,.7), 4px 4px 16px rgba(0,0,0,.15);
}

/* Ações do painel inline (show-prefs): botões idênticos aos lc-btn */
.cookie-fab-card .cp-actions .btn-cookie{
  display:inline-flex;align-items:center;justify-content:center;
  padding:20px 40px; border-radius:50px; border:none; outline:none;
  background:#e0e5ec; color:#5a6779; font-family:Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size:1.1rem; font-weight:600; letter-spacing:.5px; line-height:1;
  box-shadow: 9px 9px 18px #a3b1c6, -9px -9px 18px #ffffff;
  transition: all .25s ease; cursor:pointer; position:relative;
}
.cookie-fab-card .cp-actions .btn-cookie:hover{ box-shadow: 9px 9px 18px #a3b1c6, -9px -9px 18px #ffffff, inset 0 0 10px rgba(255,255,255,.8), 0 0 35px rgba(255,255,255,1); color:#1a1e24; }
.cookie-fab-card .cp-actions .btn-cookie:active{ transform:scale(.98); box-shadow: inset 7px 7px 14px #a3b1c6, inset -7px -7px 14px #ffffff; }
.cookie-fab-card .cp-actions .btn-cookie.btn-accept{color:var(--pp-brand)}

/* Ícones dentro dos botões: leve "inner shadow" simulada */
.cookie-fab-card .lc-btn i,
.cookie-fab-card .cp-actions .btn-cookie i,
.cookie-bottom-bar .cbb-actions .lc-btn i{
  text-shadow: -1px -1px 0 rgba(255,255,255,.35), 1px 1px 1px rgba(0,0,0,.18);
}

/* ===================== Utility: neo-btn (Unificador) ===================== */
:root{
  --neo-bg:#e0e5ec;           /* fundo e botão */
  --neo-shadow-dark:#a3b1c6;  /* sombra escura */
  --neo-shadow-light:#ffffff; /* sombra clara */
  --neo-text:#5a6779;         /* texto padrão/pressionado */
  --neo-text-hover:#1a1e24;   /* texto no hover */

  /* Tokens responsivos dos botões – podem ser sobrescritos em escopos específicos */
  --neo-btn-padding-block:20px;
  --neo-btn-padding-inline:40px;
  --neo-btn-radius:50px;
  --neo-btn-font-size:1.1rem;
  --neo-btn-letter-spacing:.5px;
  --neo-btn-line-height:1;
  --neo-btn-white-space:nowrap;
  --neo-btn-flex-wrap:nowrap;
  --neo-btn-gap:0;
  --neo-btn-max-width:none;
  --neo-btn-min-width:auto;
  --neo-btn-shadow:9px 9px 18px var(--neo-shadow-dark), -9px -9px 18px var(--neo-shadow-light);
  --neo-btn-shadow-hover:9px 9px 18px var(--neo-shadow-dark), -9px -9px 18px var(--neo-shadow-light),
                       inset 0 0 10px rgba(255,255,255,.8), 0 0 35px rgba(255,255,255,1);
  --neo-btn-shadow-active:inset 7px 7px 14px var(--neo-shadow-dark), inset -7px -7px 14px var(--neo-shadow-light);
}

/* Aplica o mesmo layout/anim para todos os botões relevantes + classe utilitária */
:is(.neo-btn,
    .lc-btn,
    .wpc-chip,
    .cookie-fab-card .cp-actions .btn-cookie,
    .cookie-bottom-bar .cbb-actions .lc-btn,
    .cookie-modal .lc-btn){
  display:inline-flex;align-items:center;justify-content:center;
  padding:var(--neo-btn-padding-block) var(--neo-btn-padding-inline);
  border-radius:var(--neo-btn-radius);
  border:none;outline:none;
  background:var(--neo-bg);color:var(--neo-text);
  font-family:Inter, system-ui,-apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size:var(--neo-btn-font-size);font-weight:600;
  letter-spacing:var(--neo-btn-letter-spacing);
  line-height:var(--neo-btn-line-height);
  white-space:var(--neo-btn-white-space);
  box-shadow:var(--neo-btn-shadow);
  transition:all .25s ease;cursor:pointer;position:relative;
  max-width:var(--neo-btn-max-width);
  min-width:var(--neo-btn-min-width);
  flex-wrap:var(--neo-btn-flex-wrap);
  gap:var(--neo-btn-gap);
}

:is(.neo-btn,
    .lc-btn,
    .wpc-chip,
    .cookie-fab-card .cp-actions .btn-cookie,
    .cookie-bottom-bar .cbb-actions .lc-btn,
    .cookie-modal .lc-btn):hover{
  box-shadow:var(--neo-btn-shadow-hover);
  color:var(--neo-text-hover);
}

:is(.neo-btn,
    .lc-btn,
    .wpc-chip,
    .cookie-fab-card .cp-actions .btn-cookie,
    .cookie-bottom-bar .cbb-actions .lc-btn,
    .cookie-modal .lc-btn):active{
  transform:scale(.98);
  box-shadow:var(--neo-btn-shadow-active);
}

:is(.neo-btn,
    .lc-btn,
    .wpc-chip,
    .cookie-fab-card .cp-actions .btn-cookie,
    .cookie-bottom-bar .cbb-actions .lc-btn,
    .cookie-modal .lc-btn)[disabled]{opacity:.7;cursor:not-allowed;box-shadow:none}

@media (prefers-reduced-motion: reduce){
  :is(.neo-btn,
      .lc-btn,
      .wpc-chip,
      .cookie-fab-card .cp-actions .btn-cookie,
      .cookie-bottom-bar .cbb-actions .lc-btn,
      .cookie-modal .lc-btn){transition:none}
}

/* Inline actions inside the FAB card — keep buttons contained */
.cookie-fab-card .cp-actions.cp-actions-inline,
.cookieFabCard .cp-actions.cp-actions-inline{ flex-wrap: wrap; width:100%; }
.cookie-fab-card .cp-actions.cp-actions-inline .btn-cookie,
.cookieFabCard .cp-actions.cp-actions-inline .btn-cookie{
  /* Smaller neo-btn tokens to fit inside the card */
  --neo-btn-padding-block: 10px;
  --neo-btn-padding-inline: 14px;
  --neo-btn-radius: 14px;
  --neo-btn-font-size: .88rem;
  --neo-btn-letter-spacing: .2px;
  --neo-btn-min-width: 0;      /* permitir encolher para caber */
  --neo-btn-max-width: 100%;
  --neo-btn-gap: 6px;
  --neo-btn-white-space: nowrap; /* avoid multi-line labels */
  height: auto;
  line-height: 1;
  flex: 1 1 0;
}

@media (max-width: 360px){
  .cookie-fab-card .cp-actions.cp-actions-inline .btn-cookie,
  .cookieFabCard .cp-actions.cp-actions-inline .btn-cookie{
    --neo-btn-min-width: 0;       /* allow wrapping to next line on very small screens */
    --neo-btn-padding-inline: 12px;
    --neo-btn-font-size: .86rem;
  }
}
