/* Cartão aprovado: não modal, sem backdrop e sem bloquear a página. */
.cookie-card { position:fixed; z-index:30; right:20px; bottom:20px; width:min(460px,calc(100% - 40px)); padding:20px; background:var(--surface-header); color:var(--text-primary-dark); border:1px solid var(--border-light); border-radius:16px; box-shadow:0 8px 32px rgb(25 28 32 / .18); max-height:calc(100dvh - 40px); overflow:auto; }
.cookie-card[hidden],.cookie-preferences[hidden],.cookie-storage-warning[hidden] { display:none; }
.cookie-notice { display:grid; gap:16px; }
.cookie-card__badge { display:inline-block; margin-bottom:4px; color:var(--brand-orange-dark); font-size:.8125rem; font-weight:700; }
.cookie-notice h2 { font-size:1.125rem; line-height:1.3; margin-bottom:8px; padding-right:48px; }
.cookie-notice p { font-size:.9375rem; line-height:1.5; }
.cookie-notice a { color:var(--text-primary-dark); text-underline-offset:3px; }
.cookie-card__note { margin-top:10px; font-size:.8125rem !important; color:var(--text-secondary-dark); }
.cookie-actions { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.cookie-button { appearance:none; display:inline-flex; align-items:center; justify-content:center; min-height:48px; padding:10px 16px; border:1px solid var(--text-primary-dark); border-radius:var(--radius-sm); background:white; color:var(--text-primary-dark); font:600 1rem/1.4 var(--font-family-base); cursor:pointer; }
.cookie-choice { min-width:108px; }
.cookie-button:hover { background:var(--surface-page); }
.cookie-button:focus-visible,.cookie-reopen:focus-visible,.cookie-option input:focus-visible,.cookie-card a:focus-visible { outline:3px solid var(--focus-ring-light); outline-offset:3px; }
.cookie-more { border-color:transparent; text-decoration:underline; text-underline-offset:4px; }
.cookie-actions .cookie-more { grid-column:1/-1; }
.cookie-save { background:var(--surface-dark); color:white; }
.cookie-save:hover { background:var(--cta-graphite-hover); }
.cookie-reopen { font:inherit; text-decoration:underline; cursor:pointer; }
.cookie-close { position:absolute; top:12px; right:12px; width:44px; min-height:44px; padding:8px; border-color:transparent; font-size:1.5rem; line-height:1; }
.cookie-preferences { border-top:1px solid var(--border-light); padding-top:20px; }
.cookie-preferences h3 { font-size:1.125rem; margin-bottom:8px; }
.cookie-preferences fieldset { border:0; margin-top:16px; display:grid; gap:12px; }
.cookie-option { display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:88px; border:1px solid var(--border-light); border-radius:var(--radius-sm); padding:12px; cursor:pointer; }
.cookie-option strong,.cookie-option span span { display:block; }
.cookie-option span span { color:var(--text-secondary-dark); font-size:.9375rem; line-height:1.5; margin-top:4px; }
.cookie-option .cookie-state { color:var(--text-primary-dark); font-size:.8125rem; font-weight:600; }
.cookie-option input { flex:0 0 24px; width:24px; height:24px; accent-color:var(--brand-orange-dark); cursor:pointer; }
.cookie-preferences__actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:16px; }
.cookie-storage-warning { color:var(--text-primary-dark); padding:12px; border:1px solid var(--border-light); }
.cookie-sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
@media(max-width:599px) { .cookie-card { right:12px; bottom:12px; width:calc(100% - 24px); padding:16px; border-radius:12px; } }
