/* Aviso de cookies e preferências — mesmo componente das landing pages */
.ck-banner {
      position: fixed;
      left: 50%; bottom: 22px;
      z-index: 10000;
      width: min(680px, calc(100vw - 32px));
      transform: translate(-50%, 26px);
      opacity: 0;
      pointer-events: none;
      transition: opacity .5s cubic-bezier(.16,1,.3,1), transform .5s cubic-bezier(.16,1,.3,1);
    }
.ck-banner.ck-show {
      transform: translate(-50%, 0);
      opacity: 1;
      pointer-events: auto;
    }
.ck-banner.ck-hide {
      transform: translate(-50%, 26px);
      opacity: 0;
      pointer-events: none;
      transition: opacity .35s ease, transform .35s ease;
    }
.ck-glass {
      display: flex; flex-wrap: wrap; align-items: center; gap: 18px;
      padding: 18px 22px;
      border-radius: 22px;
      background: rgba(7,16,11,.85);
      border: 1px solid rgba(231,200,135,.22);
      -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
      box-shadow: 0 30px 70px -30px rgba(0,0,0,.9);
    }
.ck-text { flex: 1 1 300px; min-width: 0; }
.ck-title {
      font-family: 'Crimson Pro', Georgia, serif;
      font-size: 16.5px;
      font-weight: 700;
      color: #f7f2e6;
      line-height: 1.2;
      margin: 0 0 4px;
    }
.ck-desc {
      font-family: 'Outfit', sans-serif;
      font-size: 12.5px;
      color: rgba(245,242,235,.66);
      line-height: 1.55;
      margin: 0;
    }
.ck-btn-link {
      font-family: 'Crimson Pro', Georgia, serif;
      font-size: 13px;
      font-style: italic;
      color: #e7c785;
      background: none;
      border: none;
      cursor: pointer;
      padding: 2px 0 0;
      margin-top: 2px;
      text-decoration: underline;
      text-underline-offset: 3px;
      text-decoration-color: rgba(232,199,116,.45);
      transition: color .2s;
      white-space: nowrap;
    }
.ck-btn-link:hover { color: #f7f2e6; }
/* Botão terciário — usado no modal de preferências (fundo claro) */
    .ck-btn-decline {
      font-family: 'Outfit', sans-serif;
      font-size: 13px;
      font-weight: 500;
      color: rgba(10,67,35,.80);
      background: transparent;
      border: none;
      padding: 9px 12px;
      border-radius: 12px;
      cursor: pointer;
      transition: background .2s, color .2s;
      white-space: nowrap;
    }
.ck-btn-decline:hover { background: rgba(10,67,35,.06); color: var(--verde-deep); }
.ck-actions {
      display: flex; align-items: center; gap: 10px;
      margin-left: auto;
    }
.ck-btn-config {
      font-family: 'Outfit', sans-serif;
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 1.6px;
      text-transform: uppercase;
      color: #f7f2e6;
      background: transparent;
      border: 1.5px solid rgba(231,200,135,.35);
      padding: 11px 18px;
      border-radius: 999px;
      cursor: pointer;
      white-space: nowrap;
      transition: border-color .25s, background .25s;
    }
.ck-btn-config:hover { border-color: rgba(231,200,135,.7); background: rgba(255,255,255,.06); }
.ck-btn-accept {
      font-family: 'Outfit', sans-serif;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 1.6px;
      text-transform: uppercase;
      color: #0a4323;
      background: linear-gradient(180deg, #e7c785, #cfa048);
      border: none;
      border-radius: 999px;
      padding: 12.5px 26px;
      cursor: pointer;
      white-space: nowrap;
      box-shadow: 0 10px 26px -10px rgba(231,200,135,.55);
      transition: transform .22s cubic-bezier(.34,1.56,.64,1), box-shadow .22s;
    }
.ck-btn-accept:hover {
      transform: translateY(-2px);
      box-shadow: 0 14px 30px -10px rgba(231,200,135,.7);
    }
.ck-btn-accept:active { transform: scale(.97); }
.ck-banner { bottom: 14px; }
.ck-glass { flex-direction: column; align-items: stretch; gap: 12px; padding: 16px 18px; }
.ck-text { flex: 0 0 auto; }
.ck-actions { margin-left: 0; }
.ck-actions .ck-btn-config, .ck-actions .ck-btn-accept { flex: 1; }
/* ── Modal de Preferências de Cookies (Liquid Glass) ── */
    .ck-prefs {
      position: fixed; inset: 0;
      z-index: 10001;
      pointer-events: none;
      visibility: hidden;
    }
.ck-prefs.ck-prefs-show { pointer-events: auto; visibility: visible; }
.ck-prefs-backdrop {
      position: absolute; inset: 0;
      background: rgba(7,20,12,.45);
      backdrop-filter: blur(6px);
      -webkit-backdrop-filter: blur(6px);
      opacity: 0;
      transition: opacity .35s ease;
    }
.ck-prefs.ck-prefs-show .ck-prefs-backdrop { opacity: 1; }
/* Mobile: bottom-sheet */
    .ck-prefs-card {
      position: absolute;
      left: 50%;
      bottom: 0;
      transform: translateX(-50%) translateY(100%);
      width: calc(100% - 24px);
      max-width: 520px;
      max-height: 86vh;
      background: rgba(245,242,235,.96);
      backdrop-filter: blur(48px) saturate(180%);
      -webkit-backdrop-filter: blur(48px) saturate(180%);
      border-radius: 22px 22px 0 0;
      border: 1px solid rgba(255,255,255,.5);
      box-shadow: 0 -16px 60px rgba(10,67,35,.18);
      display: flex;
      flex-direction: column;
      transition: transform .42s cubic-bezier(.34,1.2,.64,1), opacity .3s ease;
      overflow: hidden;
    }
.ck-prefs.ck-prefs-show .ck-prefs-card {
      transform: translateX(-50%) translateY(0);
    }
.ck-prefs-card {
        top: 50%;
        bottom: auto;
        left: 50%;
        transform: translate(-50%, calc(-50% + 24px));
        opacity: 0;
        border-radius: 22px;
        max-height: 80vh;
      }
.ck-prefs.ck-prefs-show .ck-prefs-card {
        transform: translate(-50%, -50%);
        opacity: 1;
      }
.ck-prefs-handle { display: none; }
.ck-prefs-handle {
      width: 40px; height: 4px;
      background: rgba(10,67,35,.18);
      border-radius: 2px;
      margin: 10px auto 0;
      flex-shrink: 0;
    }
.ck-prefs-header {
      display: flex; align-items: center;
      padding: 14px 20px 10px;
      border-bottom: 1px solid rgba(10,67,35,.08);
      flex-shrink: 0;
    }
.ck-prefs-title {
      font-family: 'Crimson Pro', Georgia, serif;
      font-size: 18px;
      font-weight: 700;
      color: var(--verde-deep);
      flex: 1;
    }
.ck-prefs-close {
      width: 30px; height: 30px;
      border-radius: 50%;
      background: rgba(10,67,35,.06);
      border: none;
      display: flex; align-items: center; justify-content: center;
      cursor: pointer;
      transition: background .2s, transform .3s;
      margin-right: 10px;
    }
.ck-prefs-close:hover { background: rgba(10,67,35,.14); transform: rotate(90deg); }
.ck-prefs-close svg { width: 12px; height: 12px; stroke: var(--verde); stroke-width: 2.6; fill: none; stroke-linecap: round; }
.ck-prefs-body {
      padding: 16px 20px;
      overflow-y: auto;
      flex: 1;
    }
.ck-cat { padding: 14px 0; border-bottom: 1px solid rgba(10,67,35,.08); }
.ck-cat:last-child { border-bottom: none; }
.ck-cat-row {
      display: flex;
      align-items: center;
      gap: 14px;
      cursor: pointer;
    }
.ck-cat-info { flex: 1; min-width: 0; }
.ck-cat-name {
      font-family: 'Crimson Pro', Georgia, serif;
      font-size: 16px;
      font-weight: 700;
      color: var(--verde-deep);
      margin-bottom: 4px;
    }
.ck-cat-desc {
      font-family: 'Outfit', sans-serif;
      font-size: 13px;
      color: rgba(10,67,35,.80);
      line-height: 1.45;
    }
/* Toggle switch */
    .ck-toggle-input { position: absolute; opacity: 0; pointer-events: none; }
.ck-toggle {
      position: relative;
      flex-shrink: 0;
      width: 44px; height: 26px;
      background: rgba(10,67,35,.2);
      border-radius: 999px;
      transition: background .25s ease;
      cursor: pointer;
    }
.ck-toggle-dot {
      position: absolute;
      top: 3px; left: 3px;
      width: 20px; height: 20px;
      background: #fff;
      border-radius: 50%;
      box-shadow: 0 2px 4px rgba(0,0,0,.18);
      transition: transform .25s cubic-bezier(.34,1.56,.64,1);
    }
.ck-toggle-input:checked ~ .ck-toggle { background: var(--dourado); }
.ck-toggle-input:checked ~ .ck-toggle .ck-toggle-dot { transform: translateX(18px); }
.ck-toggle--locked {
      background: rgba(207,160,72,.55);
      cursor: not-allowed;
    }
.ck-toggle--locked .ck-toggle-dot { transform: translateX(18px); }
.ck-prefs-footer {
      display: flex;
      gap: 10px;
      padding: 14px 20px 20px;
      border-top: 1px solid rgba(10,67,35,.08);
      flex-shrink: 0;
    }
.ck-btn-decline--in-prefs {
      flex: 1;
      background: rgba(10,67,35,.06);
      color: var(--verde-deep);
      font-weight: 600;
      padding: 12px 16px;
      border-radius: 14px;
    }
.ck-prefs-footer .ck-btn-accept { flex: 1; padding: 12px 16px; }
@media (max-width: 640px) {
      .ck-banner { bottom: 14px; }
      .ck-glass { flex-direction: column; align-items: stretch; gap: 12px; padding: 16px 18px; }
      .ck-text { flex: 0 0 auto; }
      .ck-actions { margin-left: 0; }
      .ck-actions .ck-btn-config, .ck-actions .ck-btn-accept { flex: 1; }
    }
@media (min-width: 601px) {
      .ck-prefs-card {
        top: 50%;
        bottom: auto;
        left: 50%;
        transform: translate(-50%, calc(-50% + 24px));
        opacity: 0;
        border-radius: 22px;
        max-height: 80vh;
      }
      .ck-prefs.ck-prefs-show .ck-prefs-card {
        transform: translate(-50%, -50%);
        opacity: 1;
      }
      .ck-prefs-handle { display: none; }
    }
.ck-banner .ck-btn-link{text-decoration:underline}
@media (min-width:641px){.ck-banner{left:auto;right:22px;width:min(420px,calc(100vw - 44px));transform:translate(0,26px)}.ck-banner.ck-show{transform:translate(0,0)}.ck-banner.ck-hide{transform:translate(0,26px)}.ck-glass{flex-direction:column;align-items:stretch;gap:14px}.ck-text{flex:0 0 auto}.ck-actions{margin-left:0;justify-content:flex-end}}
/* botões flutuantes saem do caminho enquanto o aviso de cookies está aberto (como nas LPs) */
body:has(.ck-banner.ck-show) .acfab{opacity:0;pointer-events:none;transform:translateY(20px);transition:opacity .3s ease,transform .3s ease}
