/* AMP Consent — tema escuro alinhado com o site (fundo #161616, dourado #cc9966) */
.ampc-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 999999;
  background: #161616; color: #e8e8e8;
  border-top: 1px solid #cc9966;
  box-shadow: 0 -4px 24px rgba(0,0,0,.45);
  font-family: 'Open Sans', Arial, sans-serif; font-size: 14px; line-height: 1.5;
}
.ampc-banner__inner {
  max-width: 1080px; margin: 0 auto; padding: 18px 20px;
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.ampc-banner__text { flex: 1 1 380px; min-width: 260px; }
.ampc-banner__text strong { color: #fff; display: block; margin-bottom: 4px; font-size: 15px; }
.ampc-banner__text p { margin: 0; color: #c4c4c4; }
.ampc-banner__text a { color: #cc9966; text-decoration: underline; }
.ampc-banner__actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

.ampc-btn {
  font-family: inherit; font-size: 14px; font-weight: 600; letter-spacing: .01em;
  padding: 10px 22px; border-radius: 6px; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
  border: 1px solid transparent; background: none;
}
.ampc-btn--primary { background: #cc9966; border-color: #cc9966; color: #161616; }
.ampc-btn--primary:hover { background: transparent; color: #cc9966; }
.ampc-btn--outline { border-color: #6c6c6c; color: #e8e8e8; }
.ampc-btn--outline:hover { border-color: #cc9966; color: #cc9966; }
.ampc-btn--ghost { color: #a1a1a1; text-decoration: underline; padding: 10px 8px; }
.ampc-btn--ghost:hover { color: #cc9966; }

.ampc-modal {
  position: fixed; inset: 0; z-index: 1000000;
  background: rgba(0,0,0,.6); backdrop-filter: blur(2px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  font-family: 'Open Sans', Arial, sans-serif; font-size: 14px;
}
.ampc-modal[hidden], .ampc-banner[hidden] { display: none; }
.ampc-modal__box {
  background: #1d1d22; color: #e8e8e8; border: 1px solid #333;
  border-radius: 10px; max-width: 520px; width: 100%; max-height: 85vh; overflow-y: auto;
  padding: 26px 28px;
}
.ampc-modal__box h2 { color: #fff; font-size: 20px; margin: 0 0 6px; }
.ampc-modal__intro { color: #a1a1a1; margin: 0 0 18px; }
.ampc-cat { border-top: 1px solid #333; padding: 14px 0; }
.ampc-cat p { margin: 6px 0 0; color: #a1a1a1; font-size: 13px; }
.ampc-cat__head { display: flex; align-items: center; justify-content: space-between; }
.ampc-cat__title { font-weight: 700; color: #fff; }
.ampc-cat__always { font-size: 12px; color: #cc9966; font-weight: 600; }
.ampc-modal__actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; flex-wrap: wrap; }

.ampc-switch { position: relative; display: inline-block; width: 44px; height: 24px; }
.ampc-switch input { opacity: 0; width: 0; height: 0; }
.ampc-switch__slider {
  position: absolute; inset: 0; cursor: pointer; border-radius: 24px;
  background: #444; transition: background-color .2s;
}
.ampc-switch__slider::before {
  content: ""; position: absolute; height: 18px; width: 18px; left: 3px; top: 3px;
  border-radius: 50%; background: #fff; transition: transform .2s;
}
.ampc-switch input:checked + .ampc-switch__slider { background: #cc9966; }
.ampc-switch input:checked + .ampc-switch__slider::before { transform: translateX(20px); }

@media (max-width: 600px) {
  .ampc-banner__inner { padding: 14px 16px; gap: 12px; }
  .ampc-banner__actions { width: 100%; }
  .ampc-btn--primary, .ampc-btn--outline { flex: 1 1 auto; text-align: center; }
}
