/* Aviso de cookies: faixa fixa adaptável a desktop, celular e áreas seguras. */
.privacy-cookie-banner {
  position: fixed;
  z-index: 10000;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 16px max(20px, calc((100vw - 1180px) / 2));
  padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  border-top: 3px solid #08aee4;
  color: #132a43;
  background: #f7fafc;
  box-shadow: 0 -12px 36px rgba(0, 10, 24, .2);
  font: 400 14px/1.45 var(--font-ui, Inter, system-ui, sans-serif);
}
.privacy-cookie-banner[hidden] { display: none !important; }
.privacy-cookie-copy { max-width: 760px; }
.privacy-cookie-copy h2 { margin: 0 0 4px; color: #0c2846; font-size: 15px; line-height: 1.25; }
.privacy-cookie-copy p { margin: 0; color: #39536d; font-size: 13px; }
.privacy-cookie-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; }
.privacy-cookie-actions button,
.privacy-settings-dialog button {
  min-height: 42px;
  padding: 9px 13px;
  border: 1px solid #087fe4;
  border-radius: 9px;
  color: #0d355b;
  background: #fff;
  font: 700 12px/1.2 var(--font-ui, Inter, system-ui, sans-serif);
  cursor: pointer;
}
.privacy-cookie-actions button:hover,
.privacy-settings-dialog button:hover { background: #eaf6fd; }
.privacy-cookie-actions .privacy-accept,
.privacy-settings-dialog .privacy-accept {
  color: #fff;
  background: linear-gradient(100deg, #087fe4, #08aee4);
}
.privacy-cookie-actions .privacy-accept:hover,
.privacy-settings-dialog .privacy-accept:hover { background: #0876c7; }
.privacy-cookie-actions button:focus-visible,
.privacy-settings-dialog button:focus-visible,
.privacy-preferences-link:focus-visible,
.privacy-settings-dialog input:focus-visible {
  outline: 3px solid #08aee4;
  outline-offset: 3px;
}

.privacy-settings-dialog {
  width: min(560px, calc(100vw - 28px));
  max-width: 560px;
  max-height: calc(100dvh - 28px);
  overflow: auto;
  padding: 24px;
  border: 1px solid rgba(8, 127, 228, .35);
  border-radius: 18px;
  color: #132a43;
  background: #f7fafc;
  box-shadow: 0 24px 80px rgba(0, 10, 24, .35);
  font: 400 14px/1.45 var(--font-ui, Inter, system-ui, sans-serif);
}
.privacy-settings-dialog::backdrop { background: rgba(0, 10, 24, .68); }
.privacy-settings-dialog h2 { margin: 0 0 7px; color: #0c2846; font-size: 21px; line-height: 1.2; }
.privacy-settings-dialog > p { margin: 0 0 15px; color: #39536d; font-size: 13px; }
.privacy-settings-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.privacy-settings-close { min-width: 42px; padding-inline: 10px !important; font-size: 18px !important; }
.privacy-cookie-category {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin-top: 9px;
  padding: 12px;
  border: 1px solid #d4e1ec;
  border-radius: 11px;
  background: #fff;
}
.privacy-cookie-category strong { display: block; margin-bottom: 2px; color: #163653; font-size: 13px; }
.privacy-cookie-category small { display: block; color: #49647e; font-size: 12px; line-height: 1.4; }
.privacy-cookie-category input { width: 20px; height: 20px; accent-color: #087fe4; }
.privacy-cookie-category input:disabled { opacity: .75; }
.privacy-settings-note { margin: 12px 0 0; padding: 10px 12px; border-left: 3px solid #08aee4; color: #39536d; background: #e8f3fa; font-size: 11px; }
.privacy-settings-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.privacy-preferences-link {
  padding: 4px 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* Toast modal sazonal com cartão translúcido e fundo desfocado. */
.seasonal-greeting {
  position: fixed;
  z-index: 10001;
  inset: 0;
  display: grid;
  place-items: center;
  overflow-y: auto;
  padding: 18px;
  background: rgba(3, 12, 27, .62);
  backdrop-filter: blur(7px) saturate(.92);
  -webkit-backdrop-filter: blur(7px) saturate(.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity .32s ease, visibility .32s ease;
}
.seasonal-greeting[hidden] { display: none !important; }
.seasonal-greeting.is-visible { opacity: 1; visibility: visible; }
body.seasonal-modal-open { overflow: hidden; }
.seasonal-greeting-card {
  --greeting-accent: #08aee4;
  --greeting-ink: #eef8ff;
  --greeting-paper: rgba(4, 20, 41, .9);
  --greeting-title-font: Georgia, 'Times New Roman', serif;
  --greeting-copy-font: Georgia, 'Times New Roman', serif;
  width: min(510px, 100%);
  max-height: calc(100dvh - 36px);
  overflow-y: auto;
  padding: 39px 38px 34px;
  border: 1px solid rgba(8, 174, 228, .48);
  border-top: 3px solid var(--greeting-accent);
  border-radius: 10px;
  color: var(--greeting-ink);
  background: var(--greeting-paper);
  box-shadow: 0 24px 80px rgba(0, 7, 18, .48), 0 2px 18px rgba(8, 174, 228, .1) inset;
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  text-align: center;
  transform: translateY(14px) scale(.98);
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.seasonal-greeting.is-visible .seasonal-greeting-card { transform: translateY(0) scale(1); }
.seasonal-greeting-brand {
  margin: 0 0 23px;
  color: var(--greeting-accent);
  font: 700 11px/1.3 var(--font-ui, Inter, system-ui, sans-serif);
  letter-spacing: .24em;
  text-transform: uppercase;
}
.seasonal-greeting-brand::before,
.seasonal-greeting-brand::after { display: inline-block; width: 18px; height: 1px; margin: 0 9px 4px; content: ""; background: currentColor; }
.seasonal-greeting-kicker {
  margin: 0 0 13px;
  color: color-mix(in srgb, var(--greeting-ink) 68%, transparent);
  font: 500 10px/1.4 var(--font-ui, Inter, system-ui, sans-serif);
  letter-spacing: .24em;
  text-transform: uppercase;
}
.seasonal-greeting-title {
  margin: 0 0 12px;
  color: var(--greeting-ink);
  font: 400 clamp(30px, 4.8vw, 42px)/1.12 var(--greeting-title-font);
  letter-spacing: -.035em;
}
.seasonal-greeting-message {
  max-width: 390px;
  margin: 0 auto;
  color: color-mix(in srgb, var(--greeting-ink) 82%, transparent);
  font: italic 17px/1.5 var(--greeting-copy-font);
}
.seasonal-greeting-cta {
  min-width: 190px;
  min-height: 44px;
  margin: 24px auto 0;
  padding: 11px 18px;
  border: 1px solid var(--greeting-accent);
  border-radius: 2px;
  color: var(--greeting-ink);
  background: rgba(8, 174, 228, .08);
  font: 650 10px/1.3 var(--font-ui, Inter, system-ui, sans-serif);
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
}
.seasonal-greeting-cta:hover { color: #04162b; background: var(--greeting-accent); }
.seasonal-greeting-cta:focus-visible { outline: 3px solid var(--greeting-accent); outline-offset: 4px; }

#seasonal-greeting[data-season="natal"] .seasonal-greeting-card { --greeting-title-font: 'Palatino Linotype', 'Book Antiqua', Georgia, serif; }
#seasonal-greeting[data-season="reveillon"] .seasonal-greeting-card { --greeting-title-font: 'Palatino Linotype', Georgia, serif; }
#seasonal-greeting[data-season="carnaval"] .seasonal-greeting-card { --greeting-title-font: 'Trebuchet MS', Arial, sans-serif; --greeting-copy-font: 'Trebuchet MS', Arial, sans-serif; }
#seasonal-greeting[data-season="mulher"] .seasonal-greeting-card { --greeting-title-font: 'Palatino Linotype', Georgia, serif; }
#seasonal-greeting[data-season="pascoa"] .seasonal-greeting-card { --greeting-title-font: 'Palatino Linotype', Georgia, serif; }
#seasonal-greeting[data-season="ferias"] .seasonal-greeting-card { --greeting-title-font: 'Trebuchet MS', Arial, sans-serif; --greeting-copy-font: 'Trebuchet MS', Arial, sans-serif; }
#seasonal-greeting[data-season="pais"] .seasonal-greeting-card { --greeting-title-font: 'Palatino Linotype', Georgia, serif; }
#seasonal-greeting[data-season="independencia"] .seasonal-greeting-card { --greeting-title-font: 'Trebuchet MS', Arial, sans-serif; --greeting-copy-font: 'Trebuchet MS', Arial, sans-serif; }
#seasonal-greeting[data-season="criancas"] .seasonal-greeting-card { --greeting-title-font: 'Trebuchet MS', Arial, sans-serif; --greeting-copy-font: 'Trebuchet MS', Arial, sans-serif; }
#seasonal-greeting[data-season="aparecida"] .seasonal-greeting-card { --greeting-title-font: 'Palatino Linotype', Georgia, serif; }
#seasonal-greeting[data-season="outubro"] .seasonal-greeting-card { --greeting-title-font: 'Palatino Linotype', Georgia, serif; }

@media (max-width: 760px) {
  .privacy-cookie-banner {
    grid-template-columns: minmax(0, 1fr);
    gap: 11px;
    padding: 13px 15px;
    padding-bottom: calc(13px + env(safe-area-inset-bottom, 0px));
  }
  .privacy-cookie-copy h2 { font-size: 14px; }
  .privacy-cookie-copy p { font-size: 12px; }
  .privacy-cookie-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); justify-content: stretch; gap: 7px; }
  .privacy-cookie-actions button { width: 100%; min-height: 44px; padding: 8px 6px; font-size: 11px; }
  .privacy-cookie-actions button:last-child { grid-column: 1 / -1; }
  .privacy-settings-dialog { padding: 18px; }
  .privacy-settings-actions { display: grid; grid-template-columns: minmax(0, 1fr); }
  .privacy-settings-actions button { width: 100%; }
  .seasonal-greeting { padding: 14px; }
  .seasonal-greeting-card { padding: 31px 22px 26px; }
  .seasonal-greeting-brand { margin-bottom: 19px; font-size: 10px; }
  .seasonal-greeting-brand::before, .seasonal-greeting-brand::after { width: 12px; margin-inline: 5px; }
  .seasonal-greeting-kicker { font-size: 9px; letter-spacing: .19em; }
  .seasonal-greeting-title { font-size: clamp(28px, 8vw, 36px); }
  .seasonal-greeting-message { font-size: 16px; }
  .seasonal-greeting-cta { margin-top: 20px; }
}

@media (max-height: 620px) {
  .seasonal-greeting-card { padding-block: 24px; }
  .seasonal-greeting-brand { margin-bottom: 14px; }
  .seasonal-greeting-cta { margin-top: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .privacy-cookie-banner, .privacy-settings-dialog { scroll-behavior: auto; }
  .seasonal-greeting, .seasonal-greeting-card { transition: none; }
}
