/* Feat — cookie consent banner styles. Escopado em #feat-cookie-* */

#feat-cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  background: rgba(20, 20, 20, 0.96);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  font-family: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  animation: feat-cb-in 0.32s ease both;
}

@keyframes feat-cb-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.feat-cb-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.feat-cb-text {
  flex: 1;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.86);
}

.feat-cb-text strong {
  color: #fff;
  font-weight: 700;
}

.feat-cb-link {
  color: #FF0066;
  text-decoration: underline;
  font-weight: 600;
}

.feat-cb-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.feat-cb-btn {
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 10px 16px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, transform 0.12s ease;
}

.feat-cb-btn:active { transform: scale(0.97); }

.feat-cb-btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
}
.feat-cb-btn-ghost:hover { background: rgba(255, 255, 255, 0.14); }

.feat-cb-btn-primary {
  background: #FF0066;
  color: #fff;
}
.feat-cb-btn-primary:hover { background: #D40057; }

@media (max-width: 720px) {
  .feat-cb-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .feat-cb-actions {
    justify-content: space-between;
  }
  .feat-cb-btn {
    flex: 1;
    text-align: center;
  }
}

/* Modal */
#feat-cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  font-family: 'Instrument Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  animation: feat-cb-in 0.2s ease both;
}

.feat-cb-modal-card {
  background: #141414;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  max-width: 560px;
  width: 100%;
  padding: 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  max-height: 90vh;
  overflow-y: auto;
}

.feat-cb-modal-card h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #fff;
}

.feat-cb-modal-lead {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.55;
  margin: 0 0 20px;
}

.feat-cb-pref-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
}

.feat-cb-pref {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  cursor: pointer;
}

.feat-cb-pref-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.feat-cb-pref strong {
  font-size: 15px;
  color: #fff;
}

.feat-cb-pref span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
}

.feat-cb-pref input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #FF0066;
  cursor: pointer;
}

.feat-cb-pref input[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.feat-cb-modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 18px;
}

@media (max-width: 540px) {
  .feat-cb-modal-actions {
    flex-direction: column-reverse;
  }
  .feat-cb-btn { width: 100%; }
}
