/* Rubriva — popup da newsletter */
.nlp { position: fixed; inset: 0; z-index: 795; display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom)); }
.nlp[hidden] { display: none; }
.nlp__backdrop { position: absolute; inset: 0; background: rgba(30, 18, 21, .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; transition: opacity .25s ease; }
.nlp__dialog { position: relative; width: min(760px, 100%); max-height: calc(100vh - 32px); overflow: auto; display: grid; grid-template-columns: 240px minmax(0, 1fr);
  background: #fff; border-radius: 22px; box-shadow: 0 30px 80px rgba(46, 8, 18, .35); opacity: 0; transform: translateY(14px) scale(.98);
  transition: opacity .3s cubic-bezier(.22, 1, .36, 1), transform .35s cubic-bezier(.22, 1, .36, 1); }
.nlp.is-in .nlp__backdrop { opacity: 1; }
.nlp.is-in .nlp__dialog { opacity: 1; transform: none; }
.nlp__close { position: absolute; top: 10px; right: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; font-size: 28px; line-height: 1; color: #6B5A5E; cursor: pointer; }
.nlp__close:hover { background: #F5E6E9; color: #6D1A2C; }
.nlp__art { position: relative; background: #6D1A2C; color: #fff; overflow: hidden; display: grid; place-items: center; min-height: 220px; }
.nlp__art svg { width: 92px; height: 92px; position: relative; z-index: 1; }
.nlp__orb { position: absolute; width: 240px; height: 240px; border-radius: 50%; right: -90px; bottom: -80px; background: radial-gradient(circle at 30% 30%, #8E2A3E, #2E0812); }
.nlp__ring { position: absolute; width: 340px; height: 340px; border-radius: 50%; right: -150px; bottom: -130px; border: 1.5px solid rgba(255, 255, 255, .16); }
.nlp__body { padding: 34px 34px 28px; }
.nlp__body > .nlp__eyebrow { margin: 0 0 12px; font: 600 12px/1 "Inter", sans-serif; letter-spacing: .16em; text-transform: uppercase; color: #6D1A2C; }
.nlp h2 { margin: 0 0 12px; font: 600 clamp(26px, 3vw, 34px)/1.1 "Fraunces", Georgia, serif; color: #1E1215; letter-spacing: -.01em; }
.nlp h2 em { color: #6D1A2C; font-style: italic; font-weight: 400; }
.nlp__body > p { margin: 0 0 20px; color: #6B5A5E; font-size: 15.5px; line-height: 1.5; }
.nlp__form { display: grid; gap: 12px; }
.nlp__form label { display: grid; gap: 6px; font: 500 13.5px/1.3 "Inter", sans-serif; color: #1E1215; }
.nlp__form label small { color: #6B5A5E; font-weight: 400; }
.nlp__form input[type="text"], .nlp__form input[type="email"] { font: 15px/1.4 "Inter", sans-serif; padding: 12px 14px; border: 1px solid rgba(109, 26, 44, .2); border-radius: 12px; background: #fff; color: #1E1215; }
.nlp__form input:focus { outline: 2px solid #8E2A3E; outline-offset: 1px; border-color: transparent; }
.nlp__form .is-invalid { border-color: #A3172F; }
.nlp__check { grid-template-columns: auto 1fr !important; align-items: start; font-weight: 400 !important; font-size: 12.5px !important; color: #6B5A5E !important; }
.nlp__check input { width: 18px; height: 18px; margin-top: 1px; accent-color: #6D1A2C; }
.nlp__check a { color: #6D1A2C; }
.nlp__check.is-invalid span { color: #A3172F; }
.nlp__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.nlp__btn { justify-self: start; border: 0; border-radius: 999px; background: #6D1A2C; color: #fff; font: 600 15px/1 "Inter", sans-serif; padding: 15px 26px; cursor: pointer; transition: background .2s; }
.nlp__btn:hover { background: #4A0E1C; }
.nlp__btn:disabled { opacity: .6; cursor: progress; }
.nlp__status { margin: 0; min-height: 1.2em; font-size: 13.5px; color: #6B5A5E; }
.nlp__status.is-error { color: #A3172F; }
.nlp__done { margin: 0 0 6px; font: 400 18px/1.45 "Fraunces", Georgia, serif; color: #1E1215; }
html.nlp-open { overflow: hidden; }
@media (max-width: 640px) {
  .nlp { place-items: end center; padding: 0; }
  .nlp__dialog { grid-template-columns: 1fr; border-radius: 22px 22px 0 0; max-height: 92vh; }
  .nlp__art { min-height: 110px; }
  .nlp__art svg { width: 56px; height: 56px; }
  .nlp__body { padding: 24px 20px calc(20px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { .nlp__dialog, .nlp__backdrop { transition: none; } }

/* Tema escuro */
[data-theme="dark"] .nlp__backdrop { background: rgba(0, 0, 0, .65); }
[data-theme="dark"] .nlp__dialog { background: #1F1015; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
[data-theme="dark"] .nlp h2, [data-theme="dark"] .nlp__form label, [data-theme="dark"] .nlp__done { color: #F3E8EA; }
[data-theme="dark"] .nlp__body > p, [data-theme="dark"] .nlp__status, [data-theme="dark"] .nlp__check, [data-theme="dark"] .nlp__form label small { color: #BCA9AE !important; }
[data-theme="dark"] .nlp__body > .nlp__eyebrow, [data-theme="dark"] .nlp h2 em, [data-theme="dark"] .nlp__check a { color: #E3A5B2; }
[data-theme="dark"] .nlp__form input[type="text"], [data-theme="dark"] .nlp__form input[type="email"] { background: #140A0D; color: #F3E8EA; border-color: rgba(201, 138, 151, .25); }
[data-theme="dark"] .nlp__art { background: #4A0E1C; }
[data-theme="dark"] .nlp__close { color: #BCA9AE; }
[data-theme="dark"] .nlp__close:hover { background: #2A151C; color: #E3A5B2; }
[data-theme="dark"] .nlp__btn { background: #8E2A3E; }
[data-theme="dark"] .nlp__btn:hover { background: #A33A50; }
[data-theme="dark"] .nlp__status.is-error, [data-theme="dark"] .nlp__check.is-invalid span { color: #FF8FA3 !important; }
