/* Kibo UI Rating-inspired minimal stars, Sirella pink-to-purple palette.
   Native SVG and CSS: no external packages or additional requests. */
#sirella-site-rating{position:relative;display:inline-flex;flex:0 0 auto;flex-direction:column;align-items:center;justify-content:center;align-self:center;gap:2px;width:max-content;max-width:100%;min-height:46px;text-align:center;pointer-events:none;color:#8b657d;font-family:inherit;isolation:isolate;z-index:1}
#sirella-site-rating .ssr-buttons{display:flex;gap:0;align-items:center;pointer-events:auto}
#sirella-site-rating .ssr-buttons[hidden]{display:none}
#sirella-site-rating button{appearance:none;background:none;border:0;box-shadow:none;padding:2px;display:grid;place-items:center;width:23px;height:26px;cursor:pointer;color:#ed178f;touch-action:manipulation;outline-offset:2px;flex:none}
#sirella-site-rating svg{width:20px;height:20px;overflow:visible;transition:transform .16s ease,filter .16s ease}
#sirella-site-rating .ssr-star{fill-opacity:0;stroke-width:1.8;stroke-linejoin:round;stroke-linecap:round;transition:fill-opacity .16s ease}
#sirella-site-rating button.ssr-selected .ssr-star{fill-opacity:1;stroke-width:1.3}
#sirella-site-rating button:hover svg,#sirella-site-rating button:focus-visible svg{transform:scale(1.1)}
#sirella-site-rating button:focus-visible{outline:2px solid #e91a92;border-radius:5px}
#sirella-site-rating button:disabled{cursor:default}
#sirella-site-rating .ssr-caption{font-size:10px;font-weight:500;letter-spacing:.01em;line-height:1.25;white-space:nowrap}
#sirella-site-rating.ssr-thanks .ssr-caption{font-size:11px;color:#b51b7b}
@media(max-width:1023px){#sirella-site-rating{min-height:48px}#sirella-site-rating button{width:44px;height:44px}#sirella-site-rating svg{width:20px;height:20px}}
@media(max-width:640px){#sirella-site-rating{flex-basis:100%;align-items:flex-start;min-height:48px}#sirella-site-rating .ssr-caption{align-self:auto;margin-left:4px}}
@media(prefers-reduced-motion:reduce){#sirella-site-rating svg,#sirella-site-rating .ssr-star{transition:none}#sirella-site-rating button:hover svg,#sirella-site-rating button:focus-visible svg{transform:none}}

/* Suppress the site's animated cursor only while selecting a rating.
   The original cursor remains unchanged everywhere else. */
@media (hover: hover) and (pointer: fine) {
  html.has-custom-cursor:has(#sirella-site-rating .ssr-buttons:hover) [aria-hidden="true"][class~="pointer-events-none"][class~="fixed"][class~="z-[1000]"] {
    visibility: hidden !important;
  }
  html.has-custom-cursor #sirella-site-rating .ssr-buttons,
  html.has-custom-cursor #sirella-site-rating .ssr-buttons * {
    cursor: pointer !important;
  }
}

/* Seamless home transition: the hero ends in --color-bg and the following
   sections share a sticky architectural background. Fade only that background
   at its document-flow boundary, never the content, cards, or sticky canvas. */
#conteudo div.relative.isolate:has(> section[aria-labelledby="destaques"])::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: clamp(96px, 10vw, 168px);
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    var(--color-bg, #f5f5f5) 0%,
    var(--color-bg, #f5f5f5) 3%,
    color-mix(in srgb, var(--color-bg, #f5f5f5) 82%, transparent) 28%,
    color-mix(in srgb, var(--color-bg, #f5f5f5) 40%, transparent) 62%,
    transparent 100%
  );
}
@media (max-width: 767px) {
  #conteudo div.relative.isolate:has(> section[aria-labelledby="destaques"])::before {
    height: 100px;
  }
}
