/* Consentimento de privacidade — componente compartilhado */
.privacy-modal[hidden] { display: none !important; }
.privacy-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: end center;
  padding: 20px;
  font-family: Manrope, Inter, Arial, sans-serif;
}
.privacy-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 15, 27, .58);
  backdrop-filter: blur(8px);
  animation: privacyFadeIn .38s ease both;
}
.privacy-modal__card {
  position: relative;
  isolation: isolate;
  width: min(760px, 100%);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 26px;
  background: linear-gradient(145deg, #071a2e 0%, #0b2b4a 65%, #0b3654 100%);
  box-shadow: 0 30px 90px rgba(0,0,0,.42);
  color: #fff;
  animation: privacyCardIn .62s cubic-bezier(.16,1,.3,1) both;
}
.privacy-modal__card::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -150px;
  right: -90px;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(18,216,155,.23), transparent 68%);
  animation: privacyGlow 4.5s ease-in-out infinite;
}
.privacy-modal__content {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: start;
  padding: 28px 30px 20px;
}
.privacy-modal__icon {
  display: grid;
  place-items: center;
  flex: 0 0 64px;
  width: 64px;
  min-width: 64px;
  max-width: 64px;
  height: 64px;
  min-height: 64px;
  max-height: 64px;
  aspect-ratio: 1 / 1;
  padding: 0;
  border: 1px solid rgba(91,235,191,.34);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(18,216,155,.22), rgba(18,102,241,.18));
  color: #61ebbf;
  box-shadow: 0 0 0 9px rgba(18,216,155,.06);
}
.privacy-modal__icon svg { width: 28px; height: 28px; }
.privacy-modal__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 7px;
  color: #68e9c2;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.privacy-modal__eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #12d89b;
  box-shadow: 0 0 0 5px rgba(18,216,155,.1);
}
.privacy-modal h2 { margin: 0; color: #fff; font-size: clamp(22px, 3vw, 30px); line-height: 1.15; font-weight: 800; letter-spacing: -.025em; }
.privacy-modal p { margin: 10px 0 0; color: #bed0df; font-size: 14px; line-height: 1.65; }
.privacy-modal p a { color: #65e5bd; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.privacy-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 0 30px 28px 112px;
}
.privacy-modal__button {
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 14px;
  font: 800 14px/1 Manrope, Inter, Arial, sans-serif;
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease;
}
.privacy-modal__button:hover { transform: translateY(-2px); }
.privacy-modal__button:focus-visible { outline: 3px solid rgba(103,176,255,.8); outline-offset: 3px; }
.privacy-modal__button--reject { border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.07); color: #e6eef5; }
.privacy-modal__button--reject:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.32); }
.privacy-modal__button--accept { background: #12d89b; color: #06271e; box-shadow: 0 12px 30px rgba(18,216,155,.24); }
.privacy-modal__button--accept:hover { background: #2be5ab; box-shadow: 0 16px 34px rgba(18,216,155,.3); }
.privacy-modal.is-closing .privacy-modal__backdrop { animation: privacyFadeOut .3s ease both; }
.privacy-modal.is-closing .privacy-modal__card { animation: privacyCardOut .34s cubic-bezier(.4,0,1,1) both; }
@keyframes privacyFadeIn { from { opacity: 0; } }
@keyframes privacyFadeOut { to { opacity: 0; } }
@keyframes privacyCardIn { from { opacity: 0; transform: translateY(45px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes privacyCardOut { to { opacity: 0; transform: translateY(36px) scale(.97); } }
@keyframes privacyGlow { 50% { transform: scale(1.12) translate(-8px, 8px); opacity: .72; } }
@media (max-width: 640px) {
  .privacy-modal { padding: 12px; }
  .privacy-modal__card { border-radius: 22px; }
  .privacy-modal__content { grid-template-columns: 50px 1fr; gap: 14px; padding: 22px 20px 16px; }
  .privacy-modal__icon { width: 50px; min-width: 50px; max-width: 50px; height: 50px; min-height: 50px; max-height: 50px; }
  .privacy-modal__icon svg { width: 23px; height: 23px; }
  .privacy-modal p { font-size: 13px; }
  .privacy-modal__actions { padding: 0 20px 22px; }
  .privacy-modal__button { flex: 1; padding: 0 14px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .privacy-modal *, .privacy-modal *::before { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
