/* Aviso on-site (instalador certificado) + drawer lateral "Saber mais". */

.rac-onsite { display: flex; align-items: flex-start; gap: 12px; margin: 16px 0;
  padding: 14px 16px; background: linear-gradient(180deg, #fffdf5 0%, #fff8e6 100%);
  border: 1px solid #f4dfa0; border-left: 4px solid #f0a500; border-radius: 10px;
  color: #6b5a20; font-size: 14px; line-height: 1.55; box-shadow: 0 1px 2px rgba(120, 90, 10, .05); }
.rac-onsite__ico { flex: 0 0 auto; width: 34px; height: 34px; display: flex; align-items: center;
  justify-content: center; border-radius: 50%; background: #fdecc4; color: #d98a00; }
.rac-onsite__ico svg { width: 19px; height: 19px; }
.rac-onsite__text { padding-top: 2px; }
.rac-onsite__text > p { margin: 0 0 6px; }
.rac-onsite__text > p:last-of-type { margin-bottom: 0; }
.rac-onsite__more { display: inline-flex; align-items: center; gap: 3px; margin-left: 6px;
  background: none; border: none; padding: 0; color: #1a3c5e; font-weight: 700; font-size: 13.5px;
  cursor: pointer; text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .15s, color .15s; }
.rac-onsite__more::after { content: "›"; font-size: 16px; line-height: 1; transition: transform .15s; }
.rac-onsite__more:hover { color: #0f2740; border-bottom-color: currentColor; }
.rac-onsite__more:hover::after { transform: translateX(2px); }

/* ---- Drawer lateral ---- */
.rac-drawer { position: fixed; inset: 0; z-index: 100000; visibility: hidden; }
.rac-drawer.is-visible { visibility: visible; }

.rac-drawer__backdrop { position: absolute; inset: 0; background: rgba(16, 26, 40, .5);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  opacity: 0; transition: opacity .3s ease; }
.rac-drawer.is-open .rac-drawer__backdrop { opacity: 1; }

.rac-drawer__panel { position: absolute; top: 0; right: 0; height: 100%; width: 480px; max-width: 94vw;
  background: #fff; border-radius: 16px 0 0 16px; box-shadow: -14px 0 40px rgba(16, 30, 55, .22);
  display: flex; flex-direction: column; overflow: hidden;
  transform: translateX(100%); transition: transform .34s cubic-bezier(.22, .61, .36, 1); }
.rac-drawer.is-open .rac-drawer__panel { transform: translateX(0); }

.rac-drawer__head { position: relative; display: flex; align-items: flex-start; gap: 14px;
  padding: 22px 24px 18px; border-bottom: 1px solid #eef1f6; }
.rac-drawer__head::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: #f0a500; }
.rac-drawer__head h2 { margin: 0; font-size: 17px; line-height: 1.35; color: #1a3c5e; font-weight: 700; flex: 1; }
.rac-drawer__close { flex: 0 0 auto; width: 34px; height: 34px; display: flex; align-items: center;
  justify-content: center; background: #f4f6fa; border: none; border-radius: 50%; cursor: pointer;
  color: #5b6b80; transition: background .15s, color .15s; }
.rac-drawer__close:hover { background: #e8ecf3; color: #1a3c5e; }
.rac-drawer__close svg { width: 18px; height: 18px; }

.rac-drawer__body { padding: 22px 24px 28px; overflow-y: auto; font-size: 14px; line-height: 1.65; color: #37424f; }
.rac-drawer__body h3 { font-size: 15px; color: #1a3c5e; margin: 22px 0 12px; font-weight: 700; }
.rac-drawer__body p { margin: 0 0 14px; }
.rac-drawer__body a { color: #1a5cae; text-decoration: underline; }
.rac-drawer__body ul { margin: 0 0 14px; padding-left: 20px; }
.rac-drawer__body ol { list-style: none; counter-reset: rac; margin: 0 0 16px; padding: 0; }
.rac-drawer__body ol li { counter-increment: rac; position: relative; padding-left: 40px; margin-bottom: 14px; }
.rac-drawer__body ol li::before { content: counter(rac); position: absolute; left: 0; top: -1px;
  width: 27px; height: 27px; display: flex; align-items: center; justify-content: center;
  background: #1a3c5e; color: #fff; border-radius: 50%; font-size: 13px; font-weight: 700; }

/* entrada suave do conteúdo (depois do painel deslizar) */
.rac-drawer__body > * { opacity: 0; transform: translateY(6px); }
.rac-drawer.is-open .rac-drawer__body > * { opacity: 1; transform: none;
  transition: opacity .3s ease, transform .3s ease; transition-delay: .18s; }

body.rac-drawer-open { overflow: hidden; }

@media (max-width: 520px) {
  .rac-drawer__panel { border-radius: 0; }
}
