:root {
  --malachite: #04e762ff;
  --amber-flame: #f5b700ff;
  --fuchsia-flame: #dc0073ff;
  --brilliant-azure: #008bf8ff;

  /* Working tones derived from the requested palette */
  --frosted-blue: var(--brilliant-azure);
  --icy-aqua: color-mix(in oklab, var(--malachite) 32%, white 68%);
  --mint-cream: color-mix(in oklab, var(--amber-flame) 18%, white 82%);
  --petal-frost: color-mix(in oklab, var(--fuchsia-flame) 34%, white 66%);
  --blush-pop: var(--fuchsia-flame);

  /* Legacy variable names still referenced in HTML classes */
  --indigo-velvet: var(--brilliant-azure);
  --medium-slate-blue: var(--brilliant-azure);
  --tiger-orange: var(--fuchsia-flame);
  --cayenne-red: color-mix(in oklab, var(--fuchsia-flame) 82%, var(--malachite) 18%);

  /* Aliases used by existing HTML utility classes */
  --azul-forte: color-mix(in oklab, var(--brilliant-azure) 58%, #1f2937 42%);
  --azul-claro: var(--frosted-blue);
  --turquesa-suave: var(--icy-aqua);
  --laranja-vibrante: var(--fuchsia-flame);
  --amarelo-claro: var(--amber-flame);
  --amarelo-vibrante: color-mix(in oklab, var(--amber-flame) 80%, #d97706 20%);

  --texto: color-mix(in oklab, var(--brilliant-azure) 30%, #111 70%);
  --branco: #FFFFFF;
}

body {
  font-family: "Nunito Sans Variable", "Segoe UI", system-ui, sans-serif;
  color: var(--texto);
  background:
    radial-gradient(circle at 8% 6%, color-mix(in oklab, var(--frosted-blue) 26%, white 74%) 0%, transparent 44%),
    radial-gradient(circle at 92% 2%, color-mix(in oklab, var(--icy-aqua) 28%, white 72%) 0%, transparent 50%),
    radial-gradient(circle at 84% 90%, color-mix(in oklab, var(--blush-pop) 18%, white 82%) 0%, transparent 46%),
    radial-gradient(circle at 18% 92%, color-mix(in oklab, var(--petal-frost) 22%, white 78%) 0%, transparent 42%),
    white;
}

html {
  scroll-padding-top: var(--anchor-offset, 110px);
}

main [id],
footer[id],
section[id] {
  scroll-margin-top: var(--anchor-offset, 110px);
}

.title-font {
  font-family: "Montserrat Variable", "Segoe UI", system-ui, sans-serif;
}

.menu-nav-icon {
  display: inline-block;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}

.menu-icon-modelos {
  -webkit-mask-image: url("/public/assets/images/svg/table-picnic.svg");
  mask-image: url("/public/assets/images/svg/table-picnic.svg");
}

.menu-icon-temas {
  -webkit-mask-image: url("/public/assets/images/svg/paint-brush.svg");
  mask-image: url("/public/assets/images/svg/paint-brush.svg");
}

.menu-icon-pacotes {
  -webkit-mask-image: url("/public/assets/images/svg/gift-box-benefits.svg");
  mask-image: url("/public/assets/images/svg/gift-box-benefits.svg");
}

.menu-icon-contato {
  -webkit-mask-image: url("/public/assets/images/svg/whatsapp.svg");
  mask-image: url("/public/assets/images/svg/whatsapp.svg");
}

.section-hero {
  padding: 1.25rem;
  border-radius: 2rem;
  border: 1px solid color-mix(in oklab, var(--brilliant-azure) 18%, white 82%);
  background:
    radial-gradient(circle at 10% 15%, color-mix(in oklab, var(--brilliant-azure) 16%, white 84%) 0%, transparent 44%),
    radial-gradient(circle at 92% 18%, color-mix(in oklab, var(--malachite) 14%, white 86%) 0%, transparent 42%),
    linear-gradient(145deg, color-mix(in oklab, var(--brilliant-azure) 6%, white 94%) 0%, color-mix(in oklab, var(--malachite) 6%, white 94%) 100%);
  box-shadow: 0 20px 40px rgba(25, 130, 196, 0.09);
}

.section-modelos {
  padding: 1.25rem;
  border-radius: 2rem;
  border: 1px solid color-mix(in oklab, var(--brilliant-azure) 22%, white 78%);
  background:
    radial-gradient(circle at 10% 14%, color-mix(in oklab, var(--brilliant-azure) 16%, white 84%) 0%, transparent 44%),
    radial-gradient(circle at 86% 86%, color-mix(in oklab, var(--malachite) 14%, white 86%) 0%, transparent 42%),
    linear-gradient(160deg, color-mix(in oklab, var(--brilliant-azure) 7%, white 93%) 0%, color-mix(in oklab, var(--malachite) 6%, white 94%) 100%);
  box-shadow: 0 20px 40px rgba(25, 130, 196, 0.1);
}

@media (min-width: 640px) {
  .section-hero,
  .section-modelos {
    padding: 1.75rem;
  }
}

@media (max-width: 639px) {
  #themeBookingModal {
    padding: 0;
    place-items: stretch;
  }

  #themeBookingModal .modal-box {
    margin: 0;
    width: 100vw;
    max-width: none;
    height: 100dvh;
    max-height: none;
    border-radius: 0;
  }
}

.themes-search-field,
.themes-search-field:focus-within {
  outline: none !important;
  box-shadow: none !important;
}

.themes-search-field:focus-within {
  border-color: var(--brilliant-azure) !important;
  box-shadow: 0 0 0 2px color-mix(in oklab, var(--brilliant-azure) 28%, transparent) !important;
}

.themes-search-field input,
.themes-search-field input:focus,
.themes-search-field input:focus-visible {
  outline: none !important;
  box-shadow: none !important;
  border: 0 !important;
  -webkit-appearance: none;
  appearance: none;
}

#themesList[data-themes-ready="0"] .themes-list,
#themesList[data-themes-ready="0"] [data-themes-empty],
#themesList[data-themes-ready="0"] [data-themes-prev],
#themesList[data-themes-ready="0"] [data-themes-next],
#themesList[data-themes-ready="0"] [data-themes-pagination] {
  visibility: hidden;
}

#themesList[data-themes-ready="0"] [data-themes-loading] {
  display: inline-flex;
}

#themesList[data-themes-ready="1"] [data-themes-loading] {
  display: none;
}
