/* VetCuritiba — janela lateral "Avaliar o site" (padrão Menu Lateral .sm) */
button.menu-link {
  background: none; border: 0; padding: 0; margin: 0; width: 100%;
  font-family: inherit; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent}

body.vp-rate-lock { overflow: hidden}

.vp-rate {
  position: fixed; inset: 0; z-index: 1200;
  display: flex; align-items: stretch; justify-content: flex-end;
  padding: 0;
  background: rgba(11,18,32,0.55);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  opacity: 0; transition: opacity .35s ease;
  font-family: 'Inter', system-ui, sans-serif}
.vp-rate.is-open { opacity: 1}

.vp-rate-card {
  position: relative; width: min(88vw, 344px); max-width: none;
  height: 100%; height: 100dvh; max-height: 100dvh;
  margin-left: auto;
  display: flex; flex-direction: column;
  background-color: var(--ice, #E7ECF6);
  background-image: linear-gradient(var(--grid, #D8DFEE) 2px, transparent 2px), linear-gradient(90deg, var(--grid, #D8DFEE) 2px, transparent 2px);
  background-size: 40px 40px;
  border-radius: 28px 0 0 28px; border: 0;
  padding: max(16px, env(safe-area-inset-top)) 16px calc(16px + env(safe-area-inset-bottom));
  box-shadow: -24px 0 44px -12px rgba(11,18,32,0.5);
  transform: translate3d(100%, 0, 0);
  transition: transform .48s cubic-bezier(.2, .8, .2, 1);
  color: var(--ink, #0B1220); text-align: center;
  overflow: hidden}
.vp-rate.is-open .vp-rate-card { transform: translate3d(0, 0, 0)}

.vp-rate-body { flex: 1; max-height: none; overflow-y: auto; overflow-x: hidden; margin: 0; padding: 38px 2px 10px}

.vp-rate-x {
  position: absolute; right: 16px; top: max(16px, env(safe-area-inset-top)); width: 44px; height: 44px; border: 0; border-radius: 14px;
  background: #ffffff; color: var(--ink, #0B1220); font-size: 22px; font-weight: 800; line-height: 1; cursor: pointer;
  display: grid; place-items: center; z-index: 2;
  box-shadow: 0 10px 16px -12px rgba(11,18,32,0.6);
  transition: transform .2s cubic-bezier(.2,.8,.2,1)}
.vp-rate-x:active { transform: scale(.92)}

.vp-rate-ic {
  width: 56px; height: 56px; border-radius: 16px; background: #ffffff;
  margin: 0 auto 10px; display: grid; place-items: center;
  box-shadow: 0 8px 14px -10px rgba(11,18,32,0.45), 0 0 0 1px var(--grid, #D8DFEE);
  animation: vpRateBob 3s ease-in-out infinite}
.vp-rate-ic img { width: 44px; height: 44px; object-fit: contain; display: block}
@keyframes vpRateBob { 0%, 100% { transform: translateY(0) rotate(-2deg)} 50% { transform: translateY(-4px) rotate(2deg)} }

.vp-rate h2 {
  padding: 0 8px; font-size: 19px; line-height: 1.12; font-weight: 900;
  margin: 0 0 6px; letter-spacing: -.035em; color: var(--ink, #0B1220)}
.vp-rate h2 .mk {
  background: var(--gold, #E8B923); color: var(--ink, #0B1220);
  padding: 0 6px; display: inline-block; rotate: -1.5deg}
.vp-rate-sub { margin: 0; font-size: 12.5px; font-weight: 600; line-height: 1.45; color: var(--mut, #566883)}

.vp-paws {
  display: flex; justify-content: center; gap: 4px; margin: 14px 0 8px;
  background: #ffffff; padding: 8px 10px; border-radius: 14px;
  box-shadow: 0 8px 12px -10px rgba(11,18,32,0.55)}
.vp-paw {
  width: 44px; height: 44px; padding: 5px; border: 0; background: transparent; cursor: pointer; border-radius: 12px;
  -webkit-tap-highlight-color: transparent; transition: transform .18s ease}
.vp-paw svg { width: 100%; height: 100%; display: block; fill: #d8dfee; transition: fill .15s ease, transform .2s ease}
.vp-paw.is-on svg { fill: var(--gold, #E8B923); filter: drop-shadow(0 3px 5px rgba(232,185,35,0.4))}
.vp-paw.is-pop svg { animation: vpPawPop .4s cubic-bezier(.3, 1.7, .5, 1)}
.vp-paw:focus-visible { outline: 3px solid var(--gold, #E8B923); outline-offset: 1px}
@media (hover: hover) { .vp-paw:hover { transform: translateY(-3px) scale(1.06)} }
@keyframes vpPawPop { 0% { transform: scale(1)} 45% { transform: scale(1.32) rotate(-10deg)} 100% { transform: scale(1)} }

.vp-rate-label { min-height: 20px; font-size: 14px; font-weight: 900; color: var(--ink, #0B1220); margin: 0}
.vp-rate-label.is-empty { color: var(--mut, #566883); font-weight: 700; font-size: 12.5px}

.vp-rate-more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease, opacity .25s ease; opacity: 0}
.vp-rate-more.is-open { grid-template-rows: 1fr; opacity: 1}
.vp-rate-more > div { overflow: hidden; min-height: 0}
.vp-rate-more-in { padding-top: 10px; text-align: left}
.vp-rate-more label { display: block; font-size: 12px; font-weight: 800; color: var(--ink, #0B1220); margin-bottom: 5px}
.vp-rate-more textarea {
  width: 100%; min-height: 76px; resize: vertical; max-height: 160px;
  border: 2px solid var(--grid, #D8DFEE); border-radius: 13px; padding: 10px 12px;
  font: inherit; font-size: 13.5px; font-weight: 600; line-height: 1.45; color: var(--ink, #0B1220); background: #ffffff; outline: none;
  transition: border-color .2s, box-shadow .2s}
.vp-rate-more textarea:focus { border-color: var(--ink, #0B1220); box-shadow: 0 0 0 3px rgba(232,185,35,0.4)}
.vp-rate-count { text-align: right; font-size: 11px; font-weight: 700; color: var(--mut, #566883); margin-top: 4px}

.vp-rate-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; opacity: 0}

.vp-rate-err { margin: 10px 0 0; padding: 9px 11px; border-radius: 12px; background: #fde5e1; color: #b42318; font-size: 12.5px; font-weight: 700; text-align: left}

.vp-rate-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 14px}
.vp-rate-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; border: 0; border-radius: 14px; padding: 13px 16px; cursor: pointer; text-decoration: none;
  font: 800 14px/1 'Inter', system-ui, sans-serif; color: var(--ink, #0B1220); background: var(--gold, #E8B923);
  box-shadow: 0 5px 0 var(--goldd, #C4981A); transition: filter .15s ease, transform .12s ease, box-shadow .12s ease}
.vp-rate-btn:hover { filter: brightness(1.04)}
.vp-rate-btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--goldd, #C4981A)}
.vp-rate-btn[disabled] { background: #d8dfee; color: #566883; box-shadow: none; cursor: not-allowed; filter: none}
.vp-rate-btn.alt { background: #ffffff; color: var(--ink, #0B1220); box-shadow: inset 0 0 0 2px var(--grid, #D8DFEE)}
.vp-rate-btn.orange { background: var(--gold, #E8B923); color: var(--ink, #0B1220); box-shadow: 0 5px 0 var(--goldd, #C4981A)}
.vp-rate-skip { border: 0; background: none; padding: 6px; font: 800 12.5px 'Inter', system-ui, sans-serif; color: var(--mut, #566883); cursor: pointer}
.vp-rate-skip:hover { color: var(--ink, #0B1220); text-decoration: underline}
.vp-rate-note { margin: 8px 0 0; font-size: 11px; font-weight: 600; color: var(--mut, #566883)}

/* agradecimento */
.vp-rate-thanks { padding-top: 4px}
.vp-rate-thanks img { width: 76px; height: 76px; object-fit: contain; display: block; margin: 0 auto 8px}
.vp-rate-mini { display: flex; justify-content: center; gap: 4px; margin: 8px 0 10px}
.vp-rate-mini svg { width: 22px; height: 22px; fill: #d8dfee}
.vp-rate-mini svg.is-on { fill: var(--gold, #E8B923)}

@media (prefers-reduced-motion: reduce) {
  .vp-rate, .vp-rate-card, .vp-rate-more, .vp-paw, .vp-paw svg, .vp-rate-ic { transition: none; animation: none}
  .vp-paw.is-pop svg { animation: none}
}
