:root {
  --pq-purple-950: #1f0d29;
  --pq-purple-900: #2a1437;
  --pq-purple-800: #3a2050;
  --pq-purple-600: #785b91;
  --pq-lilac-100: #e9def1;
  --pq-lilac-50: #f5eff8;
  --pq-sage: #dfe8d9;
  --pq-sage-strong: #89a88a;
  --pq-cream: #fbf7ef;
  --pq-gold: #e3b628;
  --pq-gold-dark: #9c7410;
  --pq-green: #4d9d72;
  --pq-green-soft: #e4f1e8;
  --pq-yellow: #d7a21f;
  --pq-red: #ce5d5d;
  --pq-text: #2b1736;
  --pq-muted: #746b79;
  --pq-card: #fffdf9;
  --pq-border: #e5dfe6;
  --pq-shadow: 0 12px 34px rgba(54, 34, 62, 0.1);
}

html {
  background: var(--pq-cream);
  color-scheme: light;
}

html.pq-modal-open,
body.pq-modal-open {
  overflow: hidden !important;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 8% 4%, rgba(226, 214, 235, 0.88), transparent 26rem),
    radial-gradient(circle at 92% 7%, rgba(218, 229, 210, 0.9), transparent 29rem),
    radial-gradient(circle at 56% 19%, rgba(255, 239, 204, 0.72), transparent 23rem),
    linear-gradient(145deg, #fbf6ef 0%, #f8f4ef 38%, #f5eff7 72%, #edf2e8 100%) !important;
  background-attachment: scroll !important;
}

#root > div {
  background: transparent !important;
}

button,
[role="button"] {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
[role="button"]:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(120, 91, 145, 0.3) !important;
  outline-offset: 3px;
}

/* Cabecera y estructura general */
#pq-app-header {
  background:
    radial-gradient(circle at 80% 0%, rgba(135, 91, 153, 0.34), transparent 35%),
    linear-gradient(135deg, #21102c 0%, #351942 54%, #24102f 100%) !important;
  border-bottom-color: rgba(227, 182, 40, 0.62) !important;
  box-shadow: 0 9px 28px rgba(39, 18, 48, 0.2);
}

#pq-app-header h1 {
  color: #e9bd35 !important;
}

#pq-app-header p {
  color: #e1d1e8 !important;
}

[data-pq-view="home"],
[data-pq-view="module"],
[data-pq-view="lesson"],
[data-pq-view="certificate"] {
  position: relative;
  z-index: 1;
}

#pq-profile-greeting .pq-greeting-icon {
  overflow: hidden;
  cursor: pointer;
  color: #76538f;
  background:
    linear-gradient(145deg, rgba(255, 253, 249, 0.96), rgba(241, 233, 245, 0.96)) !important;
  border: 2px solid rgba(120, 91, 145, 0.18) !important;
  box-shadow: 0 8px 20px rgba(68, 42, 76, 0.13), 0 0 0 4px rgba(255, 253, 249, 0.66);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

#pq-profile-greeting .pq-greeting-icon:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(68, 42, 76, 0.17), 0 0 0 4px rgba(223, 232, 217, 0.75);
}

#pq-profile-greeting .pq-greeting-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.pq-profile-initial {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: #4d315f;
  background: linear-gradient(145deg, #ede2f3, #e5ede0);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 25px;
  font-weight: 800;
}

#pq-profile-greeting h2 span {
  color: #68427f;
}

#pq-journey-card,
#pq-global-progress,
[data-pq-module-card],
[data-pq-certificate-card],
#pq-coming-soon-card,
[data-pq-view="module"] > div:nth-child(2) > button,
[data-pq-view="module"] > div:nth-child(2) > div,
[data-pq-view="lesson"] > div:nth-child(4),
[data-pq-view="certificate"] > div:last-child > div {
  background: rgba(255, 253, 249, 0.96) !important;
  border-color: rgba(105, 80, 116, 0.15) !important;
  box-shadow: var(--pq-shadow) !important;
}

#pq-global-progress,
#pq-journey-card {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.pq-progress-track,
[data-pq-module-card] > div:last-child > div,
[data-pq-certificate-card] > div:last-child > div > div {
  background: linear-gradient(90deg, #e4ece1, #e9e2ee) !important;
}

.pq-progress-track > span,
[data-pq-module-card] > div:last-child > div > div,
[data-pq-certificate-card] > div:last-child > div > div > div {
  background: linear-gradient(90deg, #4c9c71, #69b184) !important;
}

[data-pq-module-card] > div:last-child,
[data-pq-certificate-card] > div:last-child,
#pq-coming-soon-card .pq-cs-text {
  background: rgba(255, 253, 249, 0.98) !important;
}

[data-pq-module-card] > div:first-child > div:first-of-type {
  color: #47285a !important;
  background: rgba(237, 226, 244, 0.95) !important;
  border-color: rgba(120, 91, 145, 0.2) !important;
}

/* Los logros forman un carrusel horizontal */
#pq-achievements {
  min-width: 0;
  overflow: hidden;
  margin-top: 16px;
}

#pq-achievements .pq-achievements-grid {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 12px !important;
  width: 100%;
  max-width: 100%;
  padding: 2px 5px 14px 3px;
  overflow-x: auto !important;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 3px;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(120, 91, 145, 0.32) transparent;
  -webkit-overflow-scrolling: touch;
}

#pq-achievements .pq-achievements-grid::-webkit-scrollbar {
  height: 5px;
}

#pq-achievements .pq-achievements-grid::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(120, 91, 145, 0.3);
}

.pq-achievement-card {
  flex: 0 0 clamp(142px, 40vw, 170px);
  min-width: 142px !important;
  min-height: 178px;
  scroll-snap-align: start;
  cursor: pointer;
  background: rgba(255, 253, 249, 0.97) !important;
  border-color: rgba(105, 80, 116, 0.15) !important;
  box-shadow: 0 8px 22px rgba(54, 34, 62, 0.09);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.pq-achievement-card:hover {
  transform: translateY(-2px);
  border-color: rgba(120, 91, 145, 0.34) !important;
  box-shadow: 0 12px 26px rgba(54, 34, 62, 0.13);
}

.pq-achievement-card .pq-achievement-state {
  color: #74538b;
  background: linear-gradient(145deg, #eee5f3, #f4eef7);
}

.pq-achievement-card.is-unlocked .pq-achievement-state {
  color: #2f8b5b;
  background: linear-gradient(145deg, #dcefe3, #edf6ed);
}

/* Nas conquistas bloqueadas, o cadeado fica entre o título e o botão. */
.pq-achievement-card.is-locked .pq-achievement-state {
  width: 32px;
  height: 32px;
  margin: 9px 0 7px;
}

.pq-achievement-card.is-locked .pq-achievement-state svg {
  width: 18px;
  height: 18px;
}

.pq-achievement-card .pq-achievement-label {
  color: #73528b;
  background: #eee5f4;
}

.pq-achievement-card.is-unlocked .pq-achievement-label {
  color: #2e8759;
  background: #dff0e4;
}

/* Módulos, clases y niveles de intensidad */
[data-pq-view="module"] > div:first-child {
  box-shadow: 0 13px 32px rgba(47, 26, 57, 0.17);
}

[data-pq-view="module"] > div:nth-child(2) > button,
[data-pq-view="module"] > div:nth-child(2) > div {
  content-visibility: auto;
  contain-intrinsic-size: auto 142px;
}

[data-pq-view="module"] > div:nth-child(2) span {
  color: #74558a;
}

[data-pq-view="module"] .pq-intensity {
  padding: 5px 10px;
  border: 1px solid transparent;
}

[data-pq-view="module"] .pq-intensity.pq-intensity-soft {
  color: #2f8a5b !important;
  background: #e3f1e7 !important;
  border-color: #c8e3d1;
}

[data-pq-view="module"] .pq-intensity.pq-intensity-moderate {
  color: #956c08 !important;
  background: #fff2cb !important;
  border-color: #eadba5;
}

/* Navegação das aulas: impede que “Bloqueada” perca a primeira letra. */
[data-pq-view="lesson"] div[class*="col-span-1"]:has(.lucide-lock) {
  padding-left: 12px !important;
  padding-right: 12px !important;
}

[data-pq-view="lesson"] div[class*="col-span-1"]:has(.lucide-lock) > span:last-child {
  display: flex !important;
  min-width: 0 !important;
  overflow: visible !important;
  white-space: nowrap !important;
  text-overflow: clip !important;
  -webkit-line-clamp: unset !important;
  -webkit-box-orient: initial !important;
  gap: 4px !important;
  font-size: clamp(13px, 4vw, 16px) !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
}

[data-pq-view="lesson"] div[class*="col-span-1"]:has(.lucide-lock) .lucide-lock {
  width: 18px !important;
  height: 18px !important;
  margin-left: 2px !important;
}

[data-pq-view="module"] .pq-intensity.pq-intensity-challenging {
  color: #aa4545 !important;
  background: #fbe5e5 !important;
  border-color: #efc5c5;
}

[data-pq-view="lesson"] > div:first-child {
  background: linear-gradient(90deg, #dce8d9, #e8e0ed) !important;
}

[data-pq-view="lesson"] > div:nth-child(2) button,
[data-pq-view="certificate"] > div:first-child button {
  background: rgba(255, 253, 249, 0.94) !important;
}

[data-pq-view="certificate"] > div:first-child {
  background: rgba(250, 247, 242, 0.94) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

[data-pq-view="certificate"] input {
  background: #fffdf9 !important;
  border-color: #d9cce2 !important;
}

/* Login con fondo salvia, crema y lila */
#pq-email-login {
  isolation: isolate;
  background:
    radial-gradient(circle at 8% 6%, rgba(220, 207, 231, 0.95), transparent 27rem),
    radial-gradient(circle at 92% 12%, rgba(214, 226, 207, 0.96), transparent 30rem),
    radial-gradient(circle at 52% 30%, rgba(255, 233, 186, 0.72), transparent 20rem),
    linear-gradient(145deg, #f9f2ec 0%, #f9f5ef 44%, #f1ebf4 76%, #edf2e8 100%) !important;
}

#pq-email-login::before,
#pq-profile-onboarding::before,
#pq-language-popup::before {
  content: "";
  position: fixed;
  z-index: -1;
  left: -55px;
  top: 5%;
  width: 230px;
  height: 330px;
  opacity: 0.18;
  filter: blur(3px);
  pointer-events: none;
  background:
    radial-gradient(ellipse at 60% 12%, #847092 0 9%, transparent 10%),
    radial-gradient(ellipse at 42% 30%, #847092 0 11%, transparent 12%),
    radial-gradient(ellipse at 62% 49%, #847092 0 10%, transparent 11%),
    radial-gradient(ellipse at 38% 68%, #847092 0 11%, transparent 12%),
    linear-gradient(78deg, transparent 48%, #847092 49% 51%, transparent 52%);
  transform: rotate(-16deg);
}

#pq-email-login > div {
  max-width: 450px !important;
  overflow: hidden;
  color: var(--pq-text) !important;
  background: rgba(255, 253, 249, 0.9) !important;
  border: 1px solid rgba(120, 91, 145, 0.2) !important;
  border-radius: 30px !important;
  box-shadow:
    0 28px 75px rgba(61, 40, 67, 0.18),
    0 0 0 5px rgba(255, 253, 249, 0.38) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

#pq-email-login > div > div:first-child,
#pq-email-login > div > div:last-child {
  background: linear-gradient(90deg, transparent, rgba(227, 182, 40, 0.95), transparent) !important;
}

#pq-email-login img {
  width: 94px !important;
  height: 94px !important;
  border-color: rgba(227, 182, 40, 0.72) !important;
  box-shadow: 0 8px 26px rgba(72, 47, 79, 0.15);
}

#pq-email-login h1 {
  color: #3a1d49 !important;
  text-shadow: none !important;
}

#pq-email-login p,
#pq-email-login #pq-login-sub {
  color: var(--pq-muted) !important;
}

#pq-email-login p[style*="color:#fff"] {
  color: #3b2248 !important;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 19px !important;
}

#pq-email-login label {
  color: #513362 !important;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 15px !important;
}

#pq-email-login #pq-login-toggle {
  color: #8769a0 !important;
}

#pq-email-login input {
  min-height: 58px;
  color: var(--pq-text) !important;
  background: rgba(255, 253, 249, 0.85) !important;
  border: 2px solid #dbcde4 !important;
  border-radius: 15px !important;
}

#pq-email-login input:focus {
  border-color: #9a7daf !important;
  box-shadow: 0 0 0 4px rgba(154, 125, 175, 0.14);
}

#pq-email-login input::placeholder {
  color: #9a909e !important;
}

#pq-email-login #pq-email-btn {
  min-height: 58px;
  color: #2d1838 !important;
  background: linear-gradient(135deg, #efc62f, #dfad19) !important;
  box-shadow: 0 10px 28px rgba(191, 139, 15, 0.25) !important;
}

/* Registro inicial y selección de avatar */
#pq-profile-onboarding {
  align-items: flex-start;
  isolation: isolate;
  padding: max(20px, env(safe-area-inset-top)) 16px max(24px, env(safe-area-inset-bottom));
  background:
    radial-gradient(circle at 7% 8%, rgba(220, 207, 231, 0.92), transparent 24rem),
    radial-gradient(circle at 93% 10%, rgba(214, 226, 207, 0.94), transparent 28rem),
    radial-gradient(circle at 50% 36%, rgba(255, 234, 190, 0.6), transparent 19rem),
    linear-gradient(145deg, #faf4ed, #f6f3ee 48%, #f1ebf4 76%, #edf2e9) !important;
}

#pq-profile-onboarding .pq-onboarding-card {
  width: min(100%, 510px);
  margin: auto;
  background: rgba(255, 253, 249, 0.94);
  border-color: rgba(120, 91, 145, 0.18);
  box-shadow: 0 26px 72px rgba(61, 40, 67, 0.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

#pq-profile-onboarding .pq-onboarding-brand {
  background:
    radial-gradient(circle at 80% 0%, rgba(134, 93, 151, 0.34), transparent 42%),
    linear-gradient(135deg, #251130, #3a1b48);
}

#pq-profile-onboarding form {
  padding: 25px 24px 27px;
}

.pq-profile-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 12px;
}

.pq-profile-field-name {
  grid-column: 1 / -1;
}

.pq-profile-field {
  min-width: 0;
}

#pq-profile-onboarding input {
  background: rgba(255, 253, 249, 0.9);
  border-color: #dcd0e4;
}

#pq-profile-onboarding input:focus {
  border-color: #997bae;
  box-shadow: 0 0 0 4px rgba(153, 123, 174, 0.13);
}

.pq-avatar-fieldset {
  min-width: 0;
  margin: 2px 0 16px;
  padding: 0;
  border: 0;
}

.pq-avatar-fieldset legend {
  display: block;
  margin: 0 0 4px;
  padding: 0;
  color: #4f315f;
  font-size: 14px;
  font-weight: 780;
}

.pq-avatar-fieldset legend span {
  color: #897b8f;
  font-weight: 600;
}

.pq-avatar-fieldset > p {
  margin: 0 0 10px;
  color: var(--pq-muted);
  font-size: 12px;
  line-height: 1.4;
}

.pq-avatar-grid {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(2, 62px);
  grid-auto-columns: 62px;
  gap: 10px;
  width: 100%;
  padding: 4px 4px 10px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: rgba(120, 91, 145, 0.3) transparent;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
}

.pq-avatar-grid::-webkit-scrollbar {
  height: 5px;
}

.pq-avatar-grid::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(120, 91, 145, 0.3);
}

.pq-avatar-swipe-hint,
.pq-avatar-fieldset > .pq-avatar-swipe-hint,
.pq-avatar-card > .pq-avatar-swipe-hint {
  margin: -4px 3px 11px;
  color: #897a91;
  font-size: 11px;
  font-weight: 650;
  text-align: right;
}

#pq-profile-onboarding .pq-avatar-option,
.pq-avatar-option {
  position: relative;
  width: 58px;
  min-width: 58px;
  height: 58px;
  min-height: 58px;
  padding: 0;
  overflow: visible;
  border: 2px solid rgba(120, 91, 145, 0.17);
  border-radius: 50%;
  background: #f1eaf4;
  box-shadow: none;
  cursor: pointer;
  scroll-snap-align: start;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.pq-avatar-option:hover {
  transform: translateY(-1px);
  border-color: rgba(120, 91, 145, 0.5);
}

.pq-avatar-option.is-selected {
  border-color: #4d9d72 !important;
  box-shadow: 0 0 0 3px rgba(77, 157, 114, 0.18) !important;
}

.pq-avatar-option img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
  object-fit: cover;
}

.pq-avatar-check {
  position: absolute;
  right: -3px;
  bottom: -2px;
  width: 20px;
  height: 20px;
  display: none;
  place-items: center;
  border: 2px solid #fffdf9;
  border-radius: 50%;
  color: #fff;
  background: #4d9d72;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.pq-avatar-option.is-selected .pq-avatar-check {
  display: grid;
}

#pq-profile-onboarding .pq-onboarding-error {
  margin-top: 0;
}

.pq-primary-button,
#pq-profile-onboarding .pq-primary-button {
  min-height: 50px;
  border: 0;
  border-radius: 14px;
  color: #2b1735;
  background: linear-gradient(135deg, #edc332, #dfac1a);
  box-shadow: 0 9px 22px rgba(191, 139, 15, 0.22);
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

.pq-secondary-button {
  min-height: 50px;
  border: 1px solid #d8cce0;
  border-radius: 14px;
  color: #5f456f;
  background: #f7f1f8;
  font-size: 15px;
  font-weight: 750;
  cursor: pointer;
}

/* Modales de avatar y logros */
#pq-avatar-modal,
#pq-achievement-modal {
  position: fixed;
  inset: 0;
  z-index: 1000010;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(37, 20, 45, 0.52);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}

#pq-avatar-modal.pq-visible,
#pq-achievement-modal.pq-visible {
  display: flex;
  animation: pq-v8-fade 180ms ease;
}

@keyframes pq-v8-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.pq-avatar-card,
.pq-achievement-detail-card {
  position: relative;
  width: min(100%, 480px);
  max-height: min(760px, calc(100vh - 36px));
  overflow-y: auto;
  padding: 27px 23px 23px;
  border: 1px solid rgba(120, 91, 145, 0.19);
  border-radius: 25px;
  color: var(--pq-text);
  background:
    radial-gradient(circle at 90% 0%, rgba(219, 230, 211, 0.66), transparent 42%),
    radial-gradient(circle at 7% 12%, rgba(232, 220, 240, 0.73), transparent 40%),
    rgba(255, 253, 249, 0.98);
  box-shadow: 0 28px 80px rgba(40, 22, 48, 0.26);
}

.pq-modal-close {
  position: absolute;
  z-index: 2;
  top: 13px;
  right: 14px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(120, 91, 145, 0.15);
  border-radius: 50%;
  color: #674d76;
  background: rgba(255, 253, 249, 0.78);
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.pq-modal-leaf {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin: 0 auto 8px;
  border-radius: 50%;
  color: #4d9d72;
  background: #e3efe2;
}

.pq-modal-leaf svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pq-avatar-card h2,
.pq-achievement-detail-card h2 {
  margin: 0;
  color: var(--pq-text);
  font-size: 25px;
  line-height: 1.2;
  text-align: center;
}

.pq-avatar-card > p {
  margin: 7px 0 18px;
  color: var(--pq-muted);
  font-size: 14px;
  text-align: center;
}

.pq-avatar-card .pq-use-initial {
  width: 100%;
  min-width: 0;
  height: auto;
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 13px;
  padding: 7px 12px;
  overflow: visible;
  border-radius: 15px;
  color: #50355e;
  background: rgba(248, 243, 249, 0.9);
  font-size: 13px;
  font-weight: 730;
  text-align: left;
}

.pq-use-initial .pq-initial-preview {
  width: 41px;
  height: 41px;
  flex: 0 0 41px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #533566;
  background: linear-gradient(145deg, #e9def0, #e4ece0);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 20px;
  font-weight: 800;
}

.pq-use-initial .pq-avatar-check {
  position: static;
  flex: 0 0 20px;
  margin-left: auto;
}

.pq-avatar-card .pq-avatar-grid {
  margin-bottom: 8px;
}

.pq-modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.pq-achievement-detail-card {
  width: min(100%, 390px);
  padding: 31px 25px 25px;
  text-align: center;
}

.pq-achievement-detail-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  border: 1px solid rgba(120, 91, 145, 0.17);
  border-radius: 50%;
  background: linear-gradient(145deg, #ece1f2, #e4eee1);
  box-shadow: 0 9px 24px rgba(64, 40, 72, 0.11);
  font-size: 35px;
}

.pq-achievement-eyebrow {
  margin: 0 0 6px;
  color: #8a6c9f;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 2px;
}

.pq-achievement-requirement {
  margin: 10px auto 18px;
  color: var(--pq-muted);
  font-size: 14px;
  line-height: 1.5;
}

.pq-achievement-detail-progress {
  padding: 13px 14px;
  border: 1px solid rgba(120, 91, 145, 0.13);
  border-radius: 15px;
  background: rgba(250, 247, 250, 0.8);
}

.pq-achievement-detail-progress-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
  color: var(--pq-muted);
  font-size: 12px;
}

.pq-achievement-detail-progress-copy strong {
  color: #4d9d72;
  font-size: 13px;
}

.pq-achievement-detail-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: linear-gradient(90deg, #e3ece0, #e9e1ee);
}

.pq-achievement-detail-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #4d9d72, #69b184);
  transition: width 300ms ease;
}

.pq-achievement-detail-status {
  width: fit-content;
  margin: 14px auto 17px;
  padding: 6px 13px;
  border-radius: 999px;
  color: #76578a;
  background: #eee6f3;
  font-size: 12px;
  font-weight: 800;
}

.pq-achievement-detail-status.is-complete {
  color: #2d8758;
  background: #dff0e4;
}

.pq-achievement-detail-card > .pq-primary-button {
  width: 100%;
}

/* Ventanas auxiliares */
#pq-install-popup,
#pq-ios-install-modal,
#pq-language-popup,
#pq-info-modal {
  isolation: isolate;
  background: rgba(44, 25, 51, 0.48) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
}

#pq-install-popup.pq-visible,
#pq-ios-install-modal.pq-visible {
  opacity: 1 !important;
  animation: none !important;
}

#pq-install-popup .pq-ip-card,
#pq-ios-install-modal .pq-ios-sheet,
#pq-language-popup .pq-lang-card,
#pq-info-modal .pq-info-card {
  color: var(--pq-text) !important;
  background:
    radial-gradient(circle at 94% 0%, rgba(220, 230, 213, 0.74), transparent 42%),
    radial-gradient(circle at 6% 9%, rgba(233, 222, 241, 0.76), transparent 40%),
    rgba(255, 253, 249, 0.98) !important;
  border-color: rgba(120, 91, 145, 0.18) !important;
  box-shadow: 0 25px 72px rgba(43, 24, 51, 0.25) !important;
}

#pq-install-popup .pq-ip-icon {
  overflow: hidden;
  background: #fffdf9 !important;
  box-shadow: 0 0 0 3px rgba(227, 182, 40, 0.2);
}

#pq-install-popup .pq-ip-icon img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: inherit;
  object-fit: cover;
}

#pq-language-popup h2,
#pq-info-modal h2,
#pq-install-popup h2,
#pq-ios-install-modal h2 {
  color: #352040 !important;
}

.pq-lang-option,
#pq-ios-install-modal .pq-ios-step {
  color: var(--pq-text) !important;
  background: rgba(255, 253, 249, 0.74) !important;
  border-color: rgba(120, 91, 145, 0.16) !important;
}

.pq-lang-option:hover,
.pq-lang-option.pq-selected {
  border-color: #7e6093 !important;
  background: linear-gradient(145deg, #ede3f3, #e6eee1) !important;
}

#pq-language-confirm,
#pq-install-popup .pq-ip-actions button:first-child,
#pq-info-ok {
  color: #2b1735 !important;
  background: linear-gradient(135deg, #edc332, #dfac1a) !important;
}

/* Selector de idioma flotante de React */
[role="listbox"] {
  color: var(--pq-text) !important;
  background:
    radial-gradient(circle at 94% 0%, rgba(220, 230, 213, 0.7), transparent 44%),
    rgba(255, 253, 249, 0.98) !important;
  border-color: rgba(120, 91, 145, 0.2) !important;
  box-shadow: 0 18px 48px rgba(47, 28, 55, 0.2) !important;
}

[role="listbox"] [role="option"] span:nth-child(2) {
  color: #4c3559 !important;
}

[role="listbox"] [role="option"][aria-selected="true"] {
  background: linear-gradient(90deg, rgba(232, 220, 240, 0.8), rgba(223, 232, 217, 0.8)) !important;
}

/* Bienestar: las portadas y enlaces de PDF no se modifican */
#pq-bonus-screen {
  background:
    radial-gradient(circle at 7% 2%, rgba(228, 217, 236, 0.76), transparent 25rem),
    radial-gradient(circle at 94% 5%, rgba(218, 229, 211, 0.82), transparent 27rem),
    linear-gradient(145deg, #fbf6ef, #f7f3ef 48%, #f2edf5 78%, #edf2e9) !important;
}

#pq-bonus-screen h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--pq-text) !important;
}

.pq-wellness-heading-icon {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  fill: none;
  stroke: #4d9d72;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#pq-bonus-screen h2 + p {
  color: #4d805f !important;
}

#pq-bonus-screen .pq-bonus-card,
#pq-bonus-screen .pq-bonus-card > div:last-child {
  background: rgba(255, 253, 249, 0.98) !important;
}

#pq-pdf-viewer {
  background: var(--pq-cream) !important;
}

#pq-pdf-viewer > div:first-child {
  background: linear-gradient(135deg, #25112f, #351943) !important;
}

/* Barra inferior y controles flotantes */
#pq-bottom-nav {
  min-height: 66px;
  background:
    radial-gradient(circle at 74% 0%, rgba(126, 85, 145, 0.28), transparent 42%),
    linear-gradient(135deg, #21102b, #361943) !important;
  border-top-color: rgba(227, 182, 40, 0.58) !important;
  box-shadow: 0 -9px 28px rgba(39, 19, 48, 0.2) !important;
  transform: translateZ(0);
  backface-visibility: hidden;
}

#pq-bottom-nav button {
  min-height: 64px;
}

.pq-nav-icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#pq-install-btn {
  color: #2b1735 !important;
  background: linear-gradient(135deg, #edc332, #dfac1a) !important;
  box-shadow: 0 9px 25px rgba(191, 139, 15, 0.27), 0 4px 12px rgba(48, 28, 55, 0.16) !important;
}

@media (min-width: 700px) {
  .pq-achievement-card {
    flex-basis: 170px;
  }

  #pq-profile-onboarding .pq-onboarding-card {
    margin-top: 18px;
    margin-bottom: 18px;
  }
}

@media (max-width: 560px) {
  [data-pq-view="module"] > div:nth-child(2) > button,
  [data-pq-view="module"] > div:nth-child(2) > div {
    box-shadow: 0 5px 16px rgba(54, 34, 62, 0.075) !important;
  }

  #pq-profile-greeting .pq-greeting-icon {
    width: 49px;
    height: 49px;
    flex-basis: 49px;
  }

  .pq-profile-fields {
    grid-template-columns: 1fr 1fr;
  }

  #pq-profile-onboarding form {
    padding: 22px 19px 24px;
  }

  #pq-profile-onboarding .pq-onboarding-brand {
    padding: 18px 20px;
  }

  #pq-profile-onboarding .pq-onboarding-brand img {
    width: 59px;
    height: 59px;
    flex-basis: 59px;
  }

  .pq-avatar-card,
  .pq-achievement-detail-card {
    padding-left: 19px;
    padding-right: 19px;
  }
}

@media (max-width: 370px) {
  .pq-profile-fields {
    grid-template-columns: 1fr;
  }

  .pq-profile-field-name {
    grid-column: auto;
  }

  .pq-achievement-card {
    flex-basis: 138px;
    min-width: 138px !important;
  }
}

/* ── Escolha de acesso da demonstração — 26/08/2026 ─────────────── */
#comprovante-block > div > a[data-pq-main-offer-cta="1"] [data-pq-main-offer-label="1"] {
  max-width: 100% !important;
  text-align: center !important;
  white-space: normal !important;
}

.pq-demo-access-overlay {
  z-index: 100060 !important;
  background: rgba(24, 12, 30, .84) !important;
  -webkit-backdrop-filter: blur(7px) !important;
  backdrop-filter: blur(7px) !important;
}

.pq-demo-access-card,
.pq-demo-exit-offer-card {
  position: relative;
  width: min(100%, 700px);
  box-sizing: border-box;
  border: 1px solid rgba(212, 175, 55, .38);
  border-radius: 25px;
  color: #f9f4fb;
  background:
    radial-gradient(circle at 88% 4%, rgba(91, 43, 110, .72), transparent 33%),
    linear-gradient(155deg, #31143d 0%, #1d0c29 68%, #16091f 100%);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .58), 0 0 38px rgba(212, 175, 55, .1);
  animation: pq-demo-access-in .24s ease both;
}

.pq-demo-access-card {
  padding: 22px 20px 18px;
}

.pq-demo-access-close {
  position: absolute;
  top: 12px;
  right: 13px;
  z-index: 3;
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, .08);
  font: inherit;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.pq-demo-access-heading {
  padding: 0 34px;
  text-align: center;
}

.pq-demo-access-heading > span,
.pq-demo-exit-badge {
  display: inline-block;
  margin-bottom: 7px;
  color: #f0c535;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 1.25px;
}

.pq-demo-access-heading h2,
.pq-demo-exit-offer-card h2 {
  margin: 0;
  color: #f4ce3e;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 7vw, 31px);
  line-height: 1.12;
}

.pq-demo-access-heading p {
  margin: 6px 0 14px;
  color: #d7c9df;
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.45;
}

.pq-demo-access-plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}

.pq-demo-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 19px;
  background: rgba(255, 255, 255, .065);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}

.pq-demo-plan-premium {
  border-color: rgba(60, 220, 123, .46);
  background: linear-gradient(150deg, rgba(37, 211, 102, .13), rgba(255, 255, 255, .055));
}

.pq-demo-plan-recommended {
  position: absolute;
  top: -10px;
  right: 14px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #12321e;
  background: #55df88;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: .7px;
  box-shadow: 0 7px 18px rgba(37, 211, 102, .25);
}

.pq-demo-plan-kicker {
  margin-bottom: 5px;
  color: #d8b943;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 1px;
}

.pq-demo-plan h3 {
  margin: 0;
  color: #fff;
  font-size: 19px;
  line-height: 1.2;
}

.pq-demo-plan ul {
  display: grid;
  gap: 5px;
  margin: 10px 0 11px;
  padding: 0;
  list-style: none;
}

.pq-demo-plan li {
  position: relative;
  padding-left: 19px;
  color: #e8dfee;
  font-size: 12.5px;
  line-height: 1.35;
}

.pq-demo-plan li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #67df93;
  font-weight: 950;
}

.pq-demo-plan-price {
  display: flex;
  align-items: flex-end;
  gap: 9px;
  margin-top: auto;
  margin-bottom: 10px;
}

.pq-demo-plan-price span,
.pq-demo-exit-price span {
  color: #ff4d5e;
  font-size: 16px;
  font-weight: 800;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.pq-demo-plan-price strong {
  color: #f4ce3e;
  font-size: 29px;
  line-height: 1;
}

.pq-demo-plan-premium .pq-demo-plan-price strong {
  color: #61e394;
}

.pq-demo-plan > a,
.pq-demo-exit-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  box-sizing: border-box;
  padding: 10px 13px;
  border-radius: 13px;
  color: #2b1735;
  background: linear-gradient(135deg, #f0c535, #dfa814);
  box-shadow: 0 8px 22px rgba(190, 139, 13, .22);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

.pq-demo-plan-premium > a {
  color: #0d2a18;
  background: linear-gradient(135deg, #65e49a, #2bc86a);
  box-shadow: 0 8px 23px rgba(37, 211, 102, .26);
}

.pq-demo-access-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  margin-top: 11px;
  box-sizing: border-box;
  padding: 11px 15px;
  border: 2px solid #25d366;
  border-radius: 15px;
  color: #183522;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
  font-size: 14px;
  font-weight: 950;
  text-align: center;
  text-decoration: none;
}

.pq-demo-whatsapp-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  color: #25d366;
}

.pq-demo-exit-offer-overlay {
  z-index: 100061 !important;
}

.pq-demo-exit-offer-card {
  width: min(100%, 430px);
  padding: 25px 24px 22px;
  text-align: center;
}

.pq-demo-exit-gift {
  margin-bottom: 8px;
  font-size: 46px;
  line-height: 1;
}

.pq-demo-exit-offer-card h2 {
  font-size: clamp(24px, 7vw, 30px);
}

.pq-demo-exit-product {
  margin: 11px 0 7px;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.pq-demo-exit-price {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
}

.pq-demo-exit-price strong {
  color: #62e394;
  font-size: 40px;
  line-height: 1;
  display: inline-block;
  transform-origin: center;
  animation: pq-demo-exit-price-pulse 1.45s ease-in-out infinite;
}

.pq-demo-exit-benefits {
  display: grid;
  gap: 6px;
  margin: 15px 0 0;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  background: rgba(255, 255, 255, .055);
  list-style: none;
  text-align: left;
}

.pq-demo-exit-benefits li {
  color: #eee6f2;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.3;
}

.pq-demo-exit-note {
  margin: 9px 0 13px;
  color: #cdbed5;
  font-size: 12px;
}

.pq-demo-exit-cta {
  color: #0d2a18;
  background: linear-gradient(135deg, #65e49a, #2bc86a);
  box-shadow: 0 8px 24px rgba(37, 211, 102, .28);
  font-size: 14px;
}

@keyframes pq-demo-access-in {
  from { opacity: 0; transform: translateY(9px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes pq-demo-exit-price-pulse {
  0%, 100% {
    transform: scale(1);
    text-shadow: 0 0 0 rgba(98, 227, 148, 0);
  }
  50% {
    transform: scale(1.075);
    text-shadow: 0 0 20px rgba(98, 227, 148, .52);
  }
}

@media (max-width: 650px) {
  .pq-demo-access-card { padding: 20px 12px 13px; }
  .pq-demo-access-heading { padding: 0 25px; }
  .pq-demo-access-heading p { margin-bottom: 12px; }
  .pq-demo-access-plans { grid-template-columns: 1fr; gap: 9px; }
  .pq-demo-plan { padding: 13px; }
  .pq-demo-plan ul { margin: 8px 0 9px; }
  .pq-demo-plan-price strong { font-size: 27px; }
  .pq-demo-plan-price span { font-size: 15px; }
}

@media (max-height: 700px) and (min-width: 651px) {
  .pq-demo-access-card { padding-top: 20px; padding-bottom: 17px; }
  .pq-demo-access-heading p { margin-bottom: 13px; }
  .pq-demo-plan { padding: 14px; }
  .pq-demo-plan ul { margin: 9px 0 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .pq-demo-access-card,
  .pq-demo-exit-offer-card,
  .pq-demo-exit-price strong { animation: none !important; }
}

@media print {
  body {
    background: #fff !important;
  }
}

/* Transferência de acesso: mesmo tema sálvia, creme e lilás */
#pq-device-transfer-modal.pq-transfer-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200020;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 20px;
  background: rgba(52, 31, 59, 0.48);
  backdrop-filter: blur(11px);
  -webkit-backdrop-filter: blur(11px);
}

#pq-device-transfer-modal .pq-transfer-card {
  width: min(100%, 405px);
  box-sizing: border-box;
  padding: 29px 25px 24px;
  border: 1px solid rgba(120, 91, 145, 0.2);
  border-radius: 26px;
  color: #321e3b;
  background:
    radial-gradient(circle at 92% 2%, rgba(211, 229, 204, 0.88), transparent 43%),
    radial-gradient(circle at 5% 4%, rgba(232, 217, 241, 0.92), transparent 42%),
    linear-gradient(145deg, #fff8ee, #f7eff8 55%, #edf3e9);
  box-shadow: 0 28px 80px rgba(45, 25, 52, 0.25), 0 0 0 5px rgba(255, 253, 249, 0.3);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-align: center;
}

#pq-device-transfer-modal .pq-transfer-icon {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  border: 1px solid rgba(121, 91, 143, 0.18);
  border-radius: 50%;
  color: #68447c;
  background: linear-gradient(145deg, #e8f0e3, #eee4f3);
  font-size: 31px;
  font-weight: 800;
}

#pq-device-transfer-modal h2 {
  margin: 0 0 9px;
  color: #372042;
  font-size: 23px;
  line-height: 1.2;
  font-weight: 850;
}

#pq-device-transfer-modal p {
  margin: 0 0 24px;
  color: #675d6b;
  font-size: 15px;
  line-height: 1.55;
}

#pq-device-transfer-modal .pq-transfer-actions {
  display: grid;
  grid-template-columns: 0.85fr 1.25fr;
  gap: 11px;
}

#pq-device-transfer-modal button {
  min-height: 49px;
  border-radius: 14px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
}

#pq-device-transfer-modal #pq-nao {
  border: 1.5px solid #bcaac6;
  color: #60496c;
  background: rgba(255, 253, 249, 0.72);
}

#pq-device-transfer-modal #pq-sim {
  border: 0;
  color: #2d1937;
  background: linear-gradient(135deg, #f2ca32, #e4b31b);
  box-shadow: 0 9px 22px rgba(190, 139, 13, 0.24);
}

/* Avatar da saudação: menos moldura e retrato ligeiramente maior */
#pq-profile-greeting .pq-greeting-icon {
  border-width: 1px !important;
  box-shadow: 0 8px 20px rgba(68, 42, 76, 0.13), 0 0 0 1.5px rgba(255, 253, 249, 0.62) !important;
}

#pq-profile-greeting .pq-greeting-icon img {
  transform: scale(1.045);
}

/* Demonstração: chamada de acesso mais viva em todas as aulas bloqueadas */
[data-pq-full-access-badge="1"] {
  padding: 7px 11px !important;
  border: 1px solid #b88608 !important;
  border-radius: 999px !important;
  color: #32143e !important;
  background: linear-gradient(135deg, #ffd94d, #efb915) !important;
  box-shadow: 0 7px 18px rgba(196, 139, 5, 0.3) !important;
  font-size: 11px !important;
  line-height: 1.1 !important;
  font-weight: 950 !important;
  letter-spacing: 0.25px !important;
}

html.pq-demo-mode [data-pq-full-access-badge="1"] {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}
html.pq-demo-mode [data-pq-full-access-badge="1"] .pq-demo-access-line,
html.pq-demo-mode [data-pq-full-access-badge="1"] .pq-demo-access-completo {
  display: block !important;
  width: 100% !important;
  text-align: center !important;
}

[data-pq-view="module"] > div:nth-child(2) > div:has([data-pq-full-access-badge="1"]) {
  border: 1px solid rgba(121, 87, 140, 0.22) !important;
  background: linear-gradient(145deg, rgba(255, 253, 249, 0.98), rgba(241, 233, 245, 0.98)) !important;
  box-shadow: 0 9px 24px rgba(55, 31, 65, 0.1) !important;
}

/* Ícones renovados e destaque do Bem-estar somente na demonstração */
#pq-bottom-nav .pq-nav-icon {
  width: 29px;
  height: 29px;
}

#pq-bottom-nav .pq-nav-icon-classes,
#pq-bottom-nav .pq-nav-icon-food {
  filter: drop-shadow(0 3px 5px rgba(15, 7, 24, 0.28));
}

/* Idioma: chama a atenção até a primeira escolha e desaparece depois */
.pq-language-selector-pulse {
  opacity: 1 !important;
  animation: pq-language-selector-pulse 1.65s ease-in-out infinite !important;
}

.pq-language-selector-hidden {
  display: none !important;
}

@keyframes pq-language-selector-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(120, 91, 145, 0.16);
    filter: brightness(1);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(120, 91, 145, 0.13);
    filter: brightness(1.18) drop-shadow(0 0 5px rgba(227, 182, 40, 0.35));
  }
}

/* WhatsApp: somente “Dúvidas”, com contraste e alinhamento melhores */
body:has(#pq-bottom-nav) .fixed.bottom-6.right-4.z-50 {
  right: 10px !important;
}

body:has(#pq-bottom-nav) .fixed.bottom-6.right-4.z-50 > a {
  gap: 6px !important;
}

body:has(#pq-bottom-nav) .fixed.bottom-6.right-4.z-50 > a > div:first-child {
  padding-left: 0 !important;
  padding-right: 0 !important;
  color: #4b3456 !important;
  text-shadow: none !important;
  font-size: 12.5px !important;
  font-weight: 750 !important;
}

#pq-tab-bonus.pq-demo-wellness-pulse .pq-nav-icon,
#pq-tab-bonus.pq-demo-wellness-pulse span {
  transform-origin: center;
  animation: pq-demo-wellness-pulse 1.8s ease-in-out infinite;
}

/* Aula: a barra de progresso acompanha o conteúdo, sem ficar presa à tela ao rolar */
[data-pq-view="lesson"] > div:first-child:has(> div[style*="width"]) {
  position: static !important;
  inset: auto !important;
  z-index: auto !important;
}

/* Orientação exibida uma única vez ao abrir o primeiro módulo */
#pq-module-guide-modal {
  position: fixed;
  inset: 0;
  z-index: 99996;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(42, 24, 48, 0.5);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

#pq-module-guide-modal.pq-visible {
  display: flex;
  animation: pq-v8-fade-in 180ms ease-out;
}

.pq-module-guide-card {
  position: relative;
  width: min(100%, 390px);
  padding: 30px 26px 25px;
  border: 1px solid rgba(126, 96, 147, 0.26);
  border-radius: 27px;
  color: var(--pq-text);
  text-align: center;
  background:
    radial-gradient(circle at 92% 4%, rgba(217, 232, 209, 0.92), transparent 36%),
    radial-gradient(circle at 5% 5%, rgba(235, 220, 243, 0.9), transparent 38%),
    rgba(255, 252, 246, 0.99);
  box-shadow: 0 24px 64px rgba(48, 28, 55, 0.24);
}

.pq-module-guide-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  color: #6f5879;
  background: rgba(241, 233, 245, 0.86);
  font-size: 23px;
  line-height: 1;
  cursor: pointer;
}

.pq-module-guide-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 15px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #4d8d65;
  background: linear-gradient(145deg, #e5efe0, #efe5f4);
}

.pq-module-guide-icon svg {
  width: 34px;
  height: 34px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#pq-module-guide-title {
  margin: 0 24px 10px;
  color: #321e3b;
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(21px, 5.5vw, 25px);
  line-height: 1.18;
  font-weight: 800;
}

.pq-module-guide-copy {
  margin: 0;
  color: #675d6b;
  font-size: 15px;
  line-height: 1.6;
}

#pq-module-guide-start {
  width: 100%;
  margin-top: 21px;
  padding: 14px 18px;
  border: 0;
  border-radius: 999px;
  color: #2d1937;
  background: linear-gradient(135deg, #f2ca32, #e4b31b);
  box-shadow: 0 9px 22px rgba(190, 139, 13, 0.24);
  font-size: 15px;
  font-weight: 850;
  cursor: pointer;
}

#pq-module-guide-start:focus-visible,
.pq-module-guide-close:focus-visible {
  outline: 3px solid rgba(120, 91, 145, 0.36);
  outline-offset: 3px;
}

@media (max-width: 420px) {
  .pq-module-guide-card {
    padding: 27px 20px 21px;
    border-radius: 23px;
  }

  .pq-module-guide-copy {
    font-size: 14px;
    line-height: 1.55;
  }
}

@keyframes pq-demo-wellness-pulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 rgba(233, 188, 44, 0));
    opacity: 0.82;
  }
  50% {
    transform: scale(1.12);
    filter: drop-shadow(0 0 7px rgba(239, 193, 43, 0.72));
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pq-language-selector-pulse,
  #pq-tab-bonus.pq-demo-wellness-pulse .pq-nav-icon,
  #pq-tab-bonus.pq-demo-wellness-pulse span {
    animation: none;
  }
}

/* Refinamento final: leitura dos módulos e duração total */
[data-pq-module-card] > div:last-child > h3 {
  color: #321d3d !important;
  font-size: 13px !important;
  line-height: 1.28 !important;
  font-weight: 800 !important;
}

[data-pq-module-card] > div:last-child > p:first-of-type {
  color: #5d5063 !important;
  font-size: 11.5px !important;
  line-height: 1.42 !important;
  font-weight: 600 !important;
}

/* ── Refinamentos solicitados: oferta, navegação e conclusões ───────────── */

/* Preço da oferta: mantém a tipografia existente e melhora a separação. */
#comprovante-block p:has(> [data-pq-old-price="1"]) {
  font-weight: 900 !important;
}

#comprovante-block [data-pq-old-price="1"] {
  color: #ff3535 !important;
  font-weight: 950 !important;
}

#comprovante-block p:has(> [data-pq-new-price="1"]) {
  display: block !important;
  white-space: nowrap !important;
  font-weight: 800 !important;
}

#comprovante-block [data-pq-new-price="1"] {
  margin-left: 6px !important;
  color: #39c978 !important;
  text-shadow: 0 2px 14px rgba(57, 201, 120, 0.36) !important;
}

#comprovante-block p[class*="tracking-widest"] {
  font-weight: 950 !important;
}

/* Botão principal: pulsação um pouco mais perceptível, sem alterar cor ou layout. */
#comprovante-block > div > a[href*="wa.me"] {
  transform-origin: center;
  animation: pq-offer-cta-pulse 2.25s ease-in-out infinite !important;
}

@keyframes pq-offer-cta-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  }
  50% {
    transform: scale(1.03);
    box-shadow: 0 7px 31px rgba(37, 211, 102, 0.56);
  }
}

/* Garantia mais compacta, com o novo selo ligeiramente maior. */
#comprovante-block div:has(> img[src*="garantia-30-dias.png"]) {
  gap: 9px !important;
  padding: 8px 11px !important;
}

#comprovante-block img[src*="garantia-30-dias.png"] {
  width: 88px !important;
  height: 88px !important;
  object-fit: contain !important;
  background: transparent !important;
}

#comprovante-block img[src*="garantia-30-dias.png"] + p {
  font-size: 13px !important;
  line-height: 1.38 !important;
}

#comprovante-block img[src*="garantia-30-dias.png"] + p strong {
  font-size: 15px !important;
  line-height: 1.3 !important;
}

/* Idioma e WhatsApp usam o mesmo ritmo e o mesmo movimento. */
.pq-language-selector-pulse {
  --pq-shared-pulse-ring: rgba(120, 91, 145, 0.16);
  --pq-shared-pulse-glow: rgba(227, 182, 40, 0.32);
  transform-origin: center;
  animation: pq-shared-floating-pulse 1.65s ease-in-out infinite !important;
}

body:has(#pq-bottom-nav) .fixed.bottom-6.right-4.z-50 > a[aria-label="WhatsApp"] > div:last-child {
  --pq-shared-pulse-ring: rgba(37, 211, 102, 0.18);
  --pq-shared-pulse-glow: rgba(37, 211, 102, 0.38);
  transform-origin: center;
  animation: pq-shared-floating-pulse 1.65s ease-in-out infinite !important;
}

@keyframes pq-shared-floating-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 var(--pq-shared-pulse-ring);
    filter: brightness(1) drop-shadow(0 0 0 transparent);
  }
  50% {
    transform: scale(1.07);
    box-shadow: 0 0 0 8px var(--pq-shared-pulse-ring);
    filter: brightness(1.13) drop-shadow(0 0 5px var(--pq-shared-pulse-glow));
  }
}

/* Versão completa: mesma animação nos três itens da barra. */
html:not(.pq-demo-mode) #pq-tab-aulas,
html:not(.pq-demo-mode) #pq-tab-bonus,
html:not(.pq-demo-mode) #pq-tab-exclusivos {
  transform-origin: center bottom;
  animation: pq-bottom-nav-soft-breathe 3.6s ease-in-out infinite;
  animation-delay: 0s;
}

@keyframes pq-bottom-nav-soft-breathe {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-1px) scale(1.018); }
}

/* O destaque já existente da Alimentação continua mais chamativo na demo. */
#pq-tab-bonus.pq-demo-wellness-pulse .pq-nav-icon,
#pq-tab-bonus.pq-demo-wellness-pulse span {
  animation-duration: 1.7s;
}

/* Aula concluída: tique maior e card discretamente realçado. */
[data-pq-view="module"] button:has(.lucide-circle-check) {
  border: 1px solid rgba(212, 175, 55, 0.58) !important;
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.13) !important;
  background: linear-gradient(145deg, #2a1a40, #302047) !important;
}

[data-pq-view="module"] button .absolute.top-2.right-2:has(> .lucide-circle-check) {
  padding: 4px !important;
  background: #d4af37 !important;
  border: 2px solid rgba(255, 255, 255, 0.92) !important;
  box-shadow: 0 3px 12px rgba(212, 175, 55, 0.5) !important;
}

[data-pq-view="module"] .lucide-circle-check {
  width: 24px !important;
  height: 24px !important;
  color: #24112e !important;
  stroke-width: 2.7 !important;
}

/* Confirmação antes de efetivar uma troca de idioma. */
#pq-language-confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 999997;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(57, 42, 62, 0.34);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}

.pq-language-confirm-card {
  width: min(100%, 390px);
  padding: 28px 24px 22px;
  border: 1px solid rgba(108, 78, 121, 0.2);
  border-radius: 26px;
  background: linear-gradient(145deg, #fff9fd 0%, #f6f8ee 100%);
  box-shadow: 0 24px 65px rgba(48, 29, 55, 0.3);
  text-align: center;
}

.pq-language-confirm-card h2 {
  margin: 0 0 9px;
  color: #35213e;
  font-size: 21px;
  font-weight: 850;
}

.pq-language-confirm-card p {
  margin: 0 0 20px;
  color: #6d5d72;
  font-size: 15px;
  line-height: 1.5;
}

.pq-language-confirm-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

#pq-language-confirm-yes,
#pq-language-confirm-no {
  width: 100%;
  padding: 13px 16px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

#pq-language-confirm-yes {
  border: 0;
  color: #2d1937;
  background: linear-gradient(135deg, #f2ca32, #e4b31b);
  box-shadow: 0 8px 20px rgba(190, 139, 13, 0.26);
}

#pq-language-confirm-no {
  border: 1px solid rgba(103, 70, 117, 0.28);
  color: #5c4267;
  background: rgba(255, 255, 255, 0.72);
}

/* O FAQ é o último conteúdo e recebe apenas a área segura dos controles fixos. */
html.pq-demo-mode [data-pq-view="home"],
body:has(#comprovante-block) [data-pq-view="home"] {
  padding-bottom: 0 !important;
}

html.pq-demo-mode #comprovante-block,
body:has(#comprovante-block) #comprovante-block {
  margin-bottom: 0 !important;
}

html.pq-demo-mode #pq-social-proof-faq,
body:has(#comprovante-block) #pq-social-proof-faq {
  box-sizing: border-box;
  margin-bottom: 0 !important;
  padding-bottom: calc(7rem + env(safe-area-inset-bottom, 0px)) !important;
}

/* Depoimentos e FAQ da oferta de demonstração. */
#pq-social-proof-faq {
  display: grid;
  gap: 14px;
}

.pq-offer-extra-section {
  padding: 18px;
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 16px;
  background: linear-gradient(155deg, rgba(42, 26, 64, 0.94), rgba(31, 18, 48, 0.96));
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.pq-offer-extra-title {
  margin: 0 0 14px;
  color: #d4af37;
  font-size: 17px;
  line-height: 1.3;
  font-weight: 900;
  text-align: center;
}

.pq-testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.pq-testimonial-card {
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 11px;
  padding: 12px;
  border: 1px solid rgba(212, 175, 55, 0.16);
  border-radius: 14px;
  background: rgba(26, 16, 37, 0.64);
}

.pq-testimonial-photo {
  width: 58px;
  height: 58px;
  border: 2px solid rgba(212, 175, 55, 0.62);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.3);
}

.pq-testimonial-name {
  display: block;
  margin-bottom: 1px;
  color: #fff;
  font-size: 13.5px;
  font-weight: 850;
}

.pq-testimonial-stars {
  display: block;
  margin-bottom: 5px;
  color: #f2c94c;
  font-size: 13px;
  letter-spacing: 1px;
  line-height: 1;
}

.pq-testimonial-text {
  margin: 0;
  color: #e2d9f3;
  font-size: 12.5px;
  line-height: 1.42;
}

.pq-faq-list {
  display: grid;
  gap: 8px;
}

.pq-faq-item {
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.17);
  border-radius: 12px;
  background: rgba(26, 16, 37, 0.62);
}

.pq-faq-item summary {
  position: relative;
  padding: 12px 38px 12px 13px;
  color: #fff;
  font-size: 13.5px;
  line-height: 1.35;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.pq-faq-item summary::-webkit-details-marker {
  display: none;
}

.pq-faq-item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  color: #d4af37;
  font-size: 20px;
  font-weight: 700;
}

.pq-faq-item[open] summary::after {
  content: "−";
}

.pq-faq-answer {
  margin: 0;
  padding: 0 13px 13px;
  color: #c9a8f0;
  font-size: 13px;
  line-height: 1.48;
}

@media (min-width: 640px) {
  .pq-testimonial-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pq-testimonial-card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  #comprovante-block > div > a[href*="wa.me"],
  .pq-language-selector-pulse,
  body:has(#pq-bottom-nav) .fixed.bottom-6.right-4.z-50 > a[aria-label="WhatsApp"] > div:last-child,
  #pq-tab-aulas,
  #pq-tab-bonus {
    animation: none !important;
  }
}

[data-pq-module-card] > div:last-child > p:nth-of-type(2) {
  width: fit-content;
  margin-top: 1px;
  padding: 5px 8px;
  border: 1px solid rgba(120, 91, 145, 0.14);
  border-radius: 999px;
  color: #4a2d57 !important;
  background: linear-gradient(90deg, rgba(232, 220, 240, 0.78), rgba(223, 233, 218, 0.82));
  font-size: 11.5px !important;
  line-height: 1.2 !important;
  font-weight: 850 !important;
}

/* Quiz: perguntas com tipografia mais limpa e legível */
.pq-demo-step h1 {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-weight: 850 !important;
  letter-spacing: -0.45px;
}

/* Oferta da demonstração */
#comprovante-block [data-pq-old-price="1"] {
  display: inline-block;
  margin-left: 3px;
  font-size: 23px !important;
  line-height: 1 !important;
  font-weight: 950 !important;
  text-decoration-thickness: 4px !important;
}

#comprovante-block [data-pq-new-price="1"] {
  font-size: clamp(50px, 12vw, 66px) !important;
  line-height: 1 !important;
  font-weight: 950 !important;
  letter-spacing: -1.4px;
}

/* Login: fundo menos branco e tipografia mais legível */
#pq-email-login {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

#pq-email-login > div {
  background:
    radial-gradient(circle at 92% 5%, rgba(205, 222, 197, 0.94), transparent 46%),
    radial-gradient(circle at 5% 4%, rgba(226, 209, 237, 0.96), transparent 44%),
    linear-gradient(145deg, rgba(252, 238, 224, 0.98), rgba(243, 232, 245, 0.98) 53%, rgba(229, 238, 224, 0.98)) !important;
}

#pq-email-login p,
#pq-email-login label,
#pq-email-login input,
#pq-email-login button,
#pq-email-login #pq-login-sub {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

#pq-email-login p[style*="color:#fff"] {
  font-size: 20px !important;
  line-height: 1.35 !important;
  font-weight: 800 !important;
}

#pq-email-login #pq-login-sub {
  color: #665a6b !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  font-weight: 550 !important;
}

#pq-email-login label {
  font-size: 15px !important;
  font-weight: 800 !important;
}

#pq-email-login #pq-login-toggle {
  font-size: 13px !important;
  font-weight: 750 !important;
}

#pq-email-login #pq-email-btn {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 19px !important;
  font-weight: 900 !important;
  letter-spacing: 0.15px !important;
}

/* Pop-ups informativos do certificado e de novas aulas */
#pq-info-modal {
  position: fixed;
  inset: 0;
  z-index: 1200010;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

#pq-info-modal.pq-visible {
  display: flex;
}

#pq-info-modal .pq-info-card {
  position: relative;
  width: min(100%, 410px);
  box-sizing: border-box;
  padding: 30px 25px 25px;
  border: 1px solid rgba(120, 91, 145, 0.2);
  border-radius: 25px;
  text-align: center;
}

#pq-info-modal .pq-info-close {
  position: absolute;
  top: 11px;
  right: 13px;
  width: 37px;
  height: 37px;
  border: 0;
  border-radius: 50%;
  color: #694c7b;
  background: rgba(236, 226, 242, 0.9);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

#pq-info-modal .pq-info-icon {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  margin: 0 auto 15px;
  border: 1px solid rgba(122, 151, 116, 0.24);
  border-radius: 50%;
  background: linear-gradient(145deg, #e8f0e4, #eee5f3);
  font-size: 32px;
}

#pq-info-modal h2 {
  margin: 0 0 9px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 850;
}

#pq-info-modal .pq-info-copy {
  margin: 0 0 22px;
  color: #665b6b !important;
  font-size: 15px;
  line-height: 1.55;
}

#pq-info-ok {
  width: 100%;
  min-height: 51px;
  border: 0;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 850;
  cursor: pointer;
}

#pq-coming-soon-card[role="button"] {
  cursor: pointer !important;
}

/* Certificado clássico escolhido: formato horizontal para tela e impressão */
[data-pq-view="certificate"] > div:last-child {
  overflow-x: auto;
}

[data-pq-view="certificate"] > div:last-child > div {
  max-width: 960px !important;
}

#cert-card[data-pq-model="classic"] {
  width: 100%;
  max-width: 960px;
  aspect-ratio: 297 / 210;
  box-sizing: border-box;
  overflow: hidden;
  border: 0 !important;
  border-radius: 4px !important;
  background: #f7eedb !important;
  box-shadow: 0 18px 55px rgba(47, 28, 55, 0.22);
  container-type: inline-size;
}

.pq-certificate-classic {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 4.2cqw 8cqw 3.5cqw;
  overflow: hidden;
  color: #43234e;
  background:
    radial-gradient(circle at 50% 47%, rgba(255, 255, 255, 0.56), transparent 38%),
    linear-gradient(145deg, #fbf3df, #f6ead2 72%, #f1e0c4);
  border: 1.2cqw solid #532761;
  outline: 0.34cqw solid #d5aa2d;
  outline-offset: -2.15cqw;
  text-align: center;
}

.pq-certificate-classic::before,
.pq-certificate-classic::after {
  content: "";
  position: absolute;
  width: 14cqw;
  height: 14cqw;
  opacity: 0.2;
  border: 0.35cqw solid #d0a12a;
  border-radius: 50% 0 50% 0;
  transform: rotate(35deg);
}

.pq-certificate-classic::before {
  top: -6cqw;
  left: -4cqw;
}

.pq-certificate-classic::after {
  right: -4cqw;
  bottom: -6cqw;
}

.pq-certificate-watermark {
  position: absolute;
  left: 50%;
  top: 51%;
  transform: translate(-50%, -50%);
  color: rgba(105, 64, 120, 0.05);
  font-size: 38cqw;
  line-height: 1;
}

.pq-certificate-logo {
  width: 7.6cqw;
  height: 7.6cqw;
  margin-bottom: 0.8cqw;
  border: 0.2cqw solid rgba(202, 153, 31, 0.7);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0.8cqw 1.8cqw rgba(74, 38, 83, 0.13);
}

.pq-certificate-classic h1 {
  margin: 0;
  color: #4c2358;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 4.2cqw;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: 0.18cqw;
  text-transform: uppercase;
}

.pq-certificate-ornament {
  width: 36cqw;
  display: flex;
  align-items: center;
  gap: 1.2cqw;
  margin: 1.2cqw 0 1.4cqw;
  color: #c99b25;
}

.pq-certificate-ornament span {
  flex: 1;
  height: 0.13cqw;
  background: linear-gradient(90deg, transparent, #c99b25);
}

.pq-certificate-ornament span:last-child {
  background: linear-gradient(90deg, #c99b25, transparent);
}

.pq-certificate-ornament b {
  font-size: 1.25cqw;
}

.pq-certificate-certify,
.pq-certificate-completion {
  margin: 0;
  color: #735b75;
  font-family: Inter, system-ui, sans-serif;
  font-size: 1.65cqw;
  line-height: 1.35;
  font-weight: 600;
}

.pq-certificate-name {
  min-width: 58%;
  margin: 0.8cqw 0 1cqw;
  padding: 0 2cqw 0.5cqw;
  border-bottom: 0.18cqw solid #c99b25;
  color: #4c2358;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 4.2cqw;
  line-height: 1.05;
  font-weight: 800;
}

.pq-certificate-classic h2 {
  margin: 0.55cqw 0 0;
  color: #5b2c66;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.55cqw;
  line-height: 1.1;
  font-weight: 800;
  text-transform: uppercase;
}

.pq-certificate-meta {
  margin: 0.55cqw 0 1.8cqw;
  color: #8f6b16;
  font-family: Inter, system-ui, sans-serif;
  font-size: 1.35cqw;
  font-weight: 800;
  letter-spacing: 0.08cqw;
}

.pq-certificate-footer {
  width: 76%;
  display: grid;
  grid-template-columns: 1fr 8cqw 1fr;
  align-items: end;
  gap: 2.2cqw;
}

.pq-certificate-footer > div:not(.pq-certificate-seal) {
  display: flex;
  flex-direction: column;
  gap: 0.35cqw;
  padding-top: 0.7cqw;
  border-top: 0.15cqw solid rgba(83, 39, 97, 0.56);
}

.pq-certificate-footer strong {
  color: #4c2358;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.75cqw;
  line-height: 1.1;
}

.pq-certificate-footer span {
  color: #7a687b;
  font-family: Inter, system-ui, sans-serif;
  font-size: 1.05cqw;
  font-weight: 700;
  letter-spacing: 0.08cqw;
  text-transform: uppercase;
}

.pq-certificate-seal {
  width: 6.3cqw;
  height: 6.3cqw;
  display: grid;
  place-items: center;
  justify-self: center;
  border: 0.3cqw double #d0a12a;
  border-radius: 50%;
  color: #d0a12a;
  background: rgba(255, 250, 235, 0.84);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.8cqw;
  font-weight: 900;
}

@media print {
  @page {
    size: A4 landscape;
    margin: 0;
  }

  body * {
    visibility: hidden !important;
  }

  #cert-card,
  #cert-card * {
    visibility: visible !important;
  }

  #cert-card[data-pq-model="classic"] {
    position: fixed !important;
    inset: 0 !important;
    width: 297mm !important;
    max-width: none !important;
    height: 210mm !important;
    aspect-ratio: auto !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
}

/* ── Área Exclusivos: mantém o mesmo padrão visual dos cards de Alimentação ── */
#pq-exclusivos-screen {
  background:
    radial-gradient(circle at 7% 2%, rgba(228, 217, 236, 0.76), transparent 25rem),
    radial-gradient(circle at 94% 5%, rgba(218, 229, 211, 0.82), transparent 27rem),
    linear-gradient(145deg, #fbf6ef, #f7f3ef 48%, #f2edf5 78%, #edf2e9) !important;
}

#pq-exclusivos-screen h2 {
  color: var(--pq-text) !important;
}

#pq-exclusivos-screen h2 + p {
  color: #4d805f !important;
}

#pq-exclusivos-screen h2 + p + p {
  color: var(--pq-muted) !important;
}

#pq-exclusivos-screen .pq-bonus-card {
  border: 1px solid var(--pq-border) !important;
  border-radius: 18px !important;
  background: #fff !important;
  box-shadow: 0 9px 26px rgba(48, 24, 65, 0.1);
}

#pq-exclusivos-screen .pq-bonus-card > div:last-child {
  background: #fff !important;
}

#pq-exclusivos-screen .pq-bonus-card p {
  color: var(--pq-text) !important;
  font-size: 13px !important;
}

#pq-bottom-nav .pq-nav-icon-exclusive {
  filter: drop-shadow(0 3px 5px rgba(15, 7, 24, 0.28));
}

/* ── Ajustes finais da Área Exclusivos / versão demo ───────────────────── */
.pq-demo-mode #pq-bottom-nav .pq-demo-nav-pulse .pq-nav-icon,
.pq-demo-mode #pq-bottom-nav .pq-demo-nav-pulse span {
  transform-origin: center;
  animation: pq-demo-all-tabs-pulse 1.8s ease-in-out infinite;
}

@keyframes pq-demo-all-tabs-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: .82;
    filter: drop-shadow(0 0 0 rgba(233, 188, 44, 0));
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
    filter: drop-shadow(0 0 7px rgba(239, 193, 43, .72));
  }
}

.pq-exclusivos-cta-block {
  margin: 20px 0 8px;
  padding: 20px 16px;
  border: 1px solid rgba(212, 175, 55, .28);
  border-radius: 18px;
  text-align: center;
  background: linear-gradient(145deg, #261132, #351842);
  box-shadow: 0 12px 30px rgba(32, 14, 39, .18);
}

.pq-exclusivos-cta-block h3 {
  margin: 0 0 8px;
  color: #f0c535;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.25;
}

.pq-exclusivos-cta-block p {
  max-width: 430px;
  margin: 0 auto 14px;
  color: #f1e9f3;
  font-size: 13px;
  line-height: 1.5;
}

.pq-exclusivos-cta-icon {
  margin-bottom: 5px;
  font-size: 22px;
}

.pq-exclusivos-old-price {
  margin: 5px 0 2px;
  color: #ff5d6c;
  font-size: 20px;
  font-weight: 950;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.pq-exclusivos-price-label,
.pq-exclusivos-offer-caption {
  color: #d9cde1;
  font-size: 12px;
  font-weight: 750;
}

.pq-exclusivos-price {
  margin: 6px 0 16px;
  color: #25d366;
  font-size: 45px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -1px;
  transform-origin: center;
}

.pq-price-pulse {
  animation: pq-exclusive-price-pulse 1.9s ease-in-out infinite;
}

@keyframes pq-exclusive-price-pulse {
  0%, 100% {
    transform: scale(1);
    text-shadow: 0 0 0 rgba(37, 211, 102, 0);
  }
  50% {
    transform: scale(1.045);
    text-shadow: 0 0 18px rgba(37, 211, 102, .34);
  }
}

.pq-exclusivos-main-cta {
  display: flex;
  width: 100%;
  min-height: 54px;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  padding: 14px 13px;
  border-radius: 14px;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  text-align: center;
  font-size: 14px;
  font-weight: 950;
  line-height: 1.25;
  letter-spacing: .15px;
  box-shadow: 0 6px 22px rgba(37, 211, 102, .32);
  transform-origin: center;
}

.pq-cta-pulse {
  animation: pq-exclusive-cta-pulse 2.1s ease-in-out infinite;
}

@keyframes pq-exclusive-cta-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 6px 22px rgba(37, 211, 102, .32);
  }
  50% {
    transform: scale(1.025);
    box-shadow: 0 9px 32px rgba(37, 211, 102, .5);
  }
}

/* Mais respiro no fim para o botão Instalar App não cobrir a oferta. */
#pq-exclusivos-screen .pq-exclusivos-screen-inner {
  padding-bottom: 132px !important;
}

#pq-exclusivos-screen .pq-exclusivos-cta-block {
  margin-bottom: 18px;
}

/* Pop-ups da Área Exclusivos nas cores do aplicativo. */
.pq-exclusivos-modal-card {
  position: relative;
  width: 100%;
  max-width: 430px;
  max-height: calc(100vh - 28px);
  overflow-y: auto;
  box-sizing: border-box;
  padding: 24px 18px 18px;
  border: 1px solid rgba(212, 175, 55, .5);
  border-radius: 24px;
  background: linear-gradient(165deg, #35143f 0%, #24102f 46%, #180a24 100%);
  box-shadow: 0 26px 70px rgba(0, 0, 0, .58);
  color: #fff;
  text-align: center;
  scrollbar-width: thin;
  scrollbar-color: rgba(212, 175, 55, .45) transparent;
}

.pq-exclusivos-modal-card h2 {
  margin: 7px 0 8px;
  color: #fff;
  font-size: 24px;
  font-weight: 950;
  line-height: 1.18;
}

.pq-exclusivos-modal-close {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 12px;
  padding: 2px 6px;
  border: 0;
  background: none;
  color: #bca7c4;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.pq-exclusivos-modal-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 8px auto 2px;
  padding: 7px 11px;
  border: 1px solid rgba(240, 197, 53, .35);
  border-radius: 999px;
  background: rgba(240, 197, 53, .1);
  color: #f0c535;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .55px;
}

.pq-exclusivos-modal-intro {
  margin: 0 4px 13px;
  color: #d7cadd;
  font-size: 13px;
  line-height: 1.45;
}

.pq-exclusivos-timer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 auto 7px;
  padding: 8px 12px;
  border: 1px solid rgba(240, 197, 53, .35);
  border-radius: 999px;
  background: rgba(240, 197, 53, .09);
  color: #f0c535;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .35px;
}

.pq-exclusivos-timer strong {
  min-width: 42px;
  color: #fff;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}

.pq-exclusivos-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 8px 0 15px;
}

.pq-exclusivos-mini-card {
  display: grid;
  grid-template-columns: 52px 1fr;
  min-height: 74px;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  padding: 6px;
  border: 1px solid rgba(240, 197, 53, .15);
  border-radius: 12px;
  background: rgba(255, 255, 255, .045);
  text-align: left;
}

.pq-exclusivos-mini-card img {
  width: 52px;
  height: 68px;
  border-radius: 7px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .28);
}

.pq-exclusivos-mini-card span {
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  line-height: 1.25;
}

.pq-exclusivos-benefit-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  margin: 0 0 14px;
  color: #e8deec;
  font-size: 10.5px;
  font-weight: 750;
  line-height: 1.25;
}

.pq-exclusivos-demo-benefits {
  display: grid;
  gap: 7px;
  margin: 13px 0 15px;
  padding: 13px 14px;
  border: 1px solid rgba(240, 197, 53, .16);
  border-radius: 14px;
  background: rgba(255, 255, 255, .04);
  color: #f2eaf4;
  text-align: left;
  font-size: 13px;
  font-weight: 750;
}

.pq-exclusivos-later {
  margin-top: 13px;
  padding: 5px 10px;
  border: 0;
  background: none;
  color: #a995b1;
  font-size: 12.5px;
  font-weight: 650;
  cursor: pointer;
}

@media (max-width: 390px) {
  .pq-exclusivos-modal-card {
    padding-left: 14px;
    padding-right: 14px;
  }

  .pq-exclusivos-mini-card {
    grid-template-columns: 45px 1fr;
    min-height: 66px;
    gap: 6px;
  }

  .pq-exclusivos-mini-card img {
    width: 45px;
    height: 61px;
  }

  .pq-exclusivos-mini-card span {
    font-size: 9.6px;
  }

  .pq-exclusivos-main-cta {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pq-demo-mode #pq-bottom-nav .pq-demo-nav-pulse .pq-nav-icon,
  .pq-demo-mode #pq-bottom-nav .pq-demo-nav-pulse span,
  .pq-price-pulse,
  .pq-cta-pulse {
    animation: none !important;
  }
}

/* ── Refinos finais: cabeçalhos Alimentação/Exclusivos e popup de alunas ── */
#pq-bonus-screen .pq-section-screen-inner,
#pq-exclusivos-screen .pq-section-screen-inner {
  padding-top: 12px !important;
}

#pq-bonus-screen .pq-section-title,
#pq-exclusivos-screen .pq-section-title {
  min-height: 32px;
  margin-top: 0 !important;
  margin-bottom: 5px !important;
  font-size: 20px !important;
  line-height: 1.2 !important;
}

#pq-bonus-screen .pq-section-kicker,
#pq-exclusivos-screen .pq-section-kicker {
  margin-bottom: 5px !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
}

#pq-bonus-screen .pq-section-subtitle,
#pq-exclusivos-screen .pq-section-subtitle {
  margin-bottom: 18px !important;
  font-size: 13.5px !important;
  line-height: 1.4 !important;
}

#pq-bonus-screen .pq-section-kicker {
  color: #3e7a55 !important;
  font-weight: 800 !important;
}

#pq-bonus-screen .pq-section-subtitle {
  color: #665d6b !important;
  font-weight: 650 !important;
}

/* Exclusivos ganha uma atmosfera própria, ainda dentro do roxo/dourado do app. */
#pq-exclusivos-screen {
  background:
    radial-gradient(circle at 10% 0%, rgba(227, 182, 40, .22), transparent 23rem),
    radial-gradient(circle at 92% 4%, rgba(120, 91, 145, .27), transparent 28rem),
    linear-gradient(150deg, #f8f0fa 0%, #f1e7f6 48%, #fbf3e2 100%) !important;
}

#pq-exclusivos-screen .pq-exclusivos-title {
  color: #563067 !important;
  font-weight: 900 !important;
  text-shadow: 0 1px 0 rgba(255,255,255,.7), 0 5px 15px rgba(86,48,103,.11);
}

#pq-exclusivos-screen .pq-exclusivos-title .pq-nav-icon-exclusive {
  width: 30px;
  height: 30px;
  filter: drop-shadow(0 3px 7px rgba(212,175,55,.34));
}

#pq-exclusivos-screen .pq-exclusivos-kicker {
  color: #6c427e !important;
  font-weight: 850 !important;
}

#pq-exclusivos-screen .pq-exclusivos-subtitle {
  color: #675b6d !important;
  font-weight: 650 !important;
}

/* Popup automático das alunas: menor, direto e focado nos 6 materiais + CTA. */
.pq-exclusivos-aluna-card {
  max-width: 410px !important;
  max-height: calc(100vh - 38px) !important;
  padding: 16px 14px 12px !important;
  border-radius: 20px !important;
}

.pq-exclusivos-aluna-card .pq-exclusivos-modal-close {
  top: 8px;
  right: 10px;
  font-size: 25px;
}

.pq-exclusivos-aluna-card .pq-exclusivos-modal-badge {
  margin: 3px auto 1px;
  padding: 6px 10px;
  font-size: 10.5px;
}

.pq-exclusivos-aluna-card h2 {
  margin: 5px 0 5px;
  font-size: 20px;
  line-height: 1.15;
}

.pq-exclusivos-aluna-card .pq-exclusivos-modal-intro {
  margin: 0 3px 7px;
  font-size: 12px;
  line-height: 1.35;
}

.pq-exclusivos-aluna-card .pq-exclusivos-mini-grid {
  gap: 6px;
  margin: 6px 0 10px;
}

/* Mantém as capas no tamanho aprovado; apenas reduz o espaço ao redor. */
.pq-exclusivos-aluna-card .pq-exclusivos-mini-card {
  min-height: 72px;
  gap: 7px;
  padding: 5px;
  border-radius: 11px;
}

.pq-exclusivos-aluna-card .pq-exclusivos-mini-card img {
  width: 52px;
  height: 68px;
}

.pq-exclusivos-aluna-card .pq-exclusivos-mini-card span {
  font-size: 10px;
  line-height: 1.2;
}

.pq-exclusivos-aluna-card .pq-exclusivos-aluna-cta {
  min-height: 58px;
  padding: 12px 12px;
  border-radius: 14px;
  font-size: 12.5px;
  line-height: 1.22;
}

/* “Ver depois” fica visível, mas continua secundário em relação à compra. */
.pq-exclusivos-aluna-card .pq-exclusivos-later {
  margin-top: 8px;
  padding: 6px 13px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.035);
  color: #cbbbd1;
  font-size: 11.5px;
}

@media (max-width: 390px) {
  .pq-exclusivos-aluna-card {
    max-height: calc(100vh - 24px) !important;
    padding: 13px 11px 10px !important;
  }

  .pq-exclusivos-aluna-card .pq-exclusivos-mini-card {
    grid-template-columns: 45px 1fr;
    min-height: 64px;
  }

  .pq-exclusivos-aluna-card .pq-exclusivos-mini-card img {
    width: 45px;
    height: 61px;
  }

  .pq-exclusivos-aluna-card .pq-exclusivos-mini-card span {
    font-size: 9.4px;
  }

  .pq-exclusivos-aluna-card .pq-exclusivos-aluna-cta {
    font-size: 11.8px;
  }
}

/* Benefícios da oferta completa dentro da aba Exclusivos na versão demo. */
.pq-exclusivos-cta-demo .pq-exclusivos-cta-benefits {
  max-width: 360px;
  margin: 12px auto 14px;
  padding: 12px 13px;
  gap: 7px;
  font-size: 12.5px;
  line-height: 1.35;
}

/* ── Ajuste solicitado: lista dos 6 conteúdos no CTA das alunas ── */
.pq-exclusivos-cta-aluna .pq-exclusivos-aluna-copy {
  max-width: 390px;
  margin: 0 auto 11px;
  color: #f2eaf4;
  font-size: 13px;
  line-height: 1.45;
}

.pq-exclusivos-cta-aluna .pq-exclusivos-aluna-copy strong {
  color: #fff;
  font-weight: 900;
}

.pq-exclusivos-aluna-benefits {
  display: grid;
  gap: 7px;
  max-width: 390px;
  margin: 0 auto 14px;
  padding: 12px 13px;
  border: 1px solid rgba(240, 197, 53, .16);
  border-radius: 14px;
  background: rgba(255, 255, 255, .04);
  color: #f4edf6;
  text-align: left;
  font-size: 12.2px;
  font-weight: 760;
  line-height: 1.32;
}

.pq-exclusivos-demo-benefits strong {
  font-weight: 950;
  letter-spacing: .15px;
}

/* ── Destaque final do popup de 4,99€ ─────────────────────────────── */
.pq-exclusivos-aluna-card .pq-exclusivos-aluna-cta-price {
  display: inline-block;
  margin-left: 4px;
  color: #ff2638;
  font-size: 1.72em;
  font-weight: 1000;
  line-height: .95;
  letter-spacing: -.4px;
  text-shadow: none;
  -webkit-text-stroke: 0;
  filter: none;
}

/* ── Lembrete visual ao tocar em “Ver depois” no popup das alunas ── */
.pq-exclusivos-reminder-overlay {
  position: fixed;
  inset: 0;
  z-index: 100030;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 18px 18px 112px;
  box-sizing: border-box;
  background: rgba(20, 9, 29, .38);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-family: Inter, system-ui, sans-serif;
}

.pq-exclusivos-reminder-card {
  position: relative;
  width: min(390px, calc(100vw - 36px));
  padding: 16px 16px 14px;
  box-sizing: border-box;
  border: 1px solid rgba(212,175,55,.52);
  border-radius: 18px;
  background: linear-gradient(160deg, #351440 0%, #24102f 100%);
  color: #fff;
  text-align: center;
  box-shadow: 0 18px 48px rgba(0,0,0,.48), 0 0 24px rgba(212,175,55,.12);
}

.pq-exclusivos-reminder-card h3 {
  margin: 0 0 6px;
  color: #f0c535;
  font-size: 18px;
  font-weight: 950;
}

.pq-exclusivos-reminder-card p {
  margin: 0 auto 12px;
  color: #f3eaf6;
  font-size: 13.5px;
  font-weight: 650;
  line-height: 1.45;
}

.pq-exclusivos-reminder-card strong {
  color: #f0c535;
  font-weight: 950;
}

.pq-exclusivos-reminder-arrow {
  position: absolute;
  left: 50%;
  bottom: -45px;
  transform: translateX(-50%);
  color: #f0c535;
  font-size: 39px;
  font-weight: 950;
  line-height: 1;
  text-shadow: 0 3px 12px rgba(212,175,55,.5);
  animation: pq-reminder-arrow-bounce .9s ease-in-out infinite;
}

#pq-exclusivos-reminder-ok {
  min-width: 104px;
  padding: 10px 20px;
  border: 0;
  border-radius: 999px;
  background: #d4af37;
  color: #261132;
  font-size: 13.5px;
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(212,175,55,.28);
}

.pq-exclusivos-reminder-tab {
  position: fixed;
  z-index: 100032;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 8px 4px 7px;
  box-sizing: border-box;
  border: 2px solid #f0c535;
  border-radius: 14px;
  background: #2a1637;
  color: #f0c535;
  pointer-events: none;
  box-shadow: 0 0 0 3px rgba(240,197,53,.18), 0 0 26px rgba(240,197,53,.68);
  animation: pq-reminder-tab-pulse 1s ease-in-out infinite;
}

.pq-exclusivos-reminder-tab .pq-nav-icon {
  width: 26px;
  height: 26px;
}

.pq-exclusivos-reminder-tab span {
  color: #f0c535 !important;
  font-size: 12px !important;
  font-weight: 950 !important;
}

@keyframes pq-reminder-tab-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 3px rgba(240,197,53,.16), 0 0 18px rgba(240,197,53,.42); }
  50% { transform: scale(1.08); box-shadow: 0 0 0 5px rgba(240,197,53,.22), 0 0 34px rgba(240,197,53,.82); }
}

@keyframes pq-reminder-arrow-bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 7px); }
}

@media (prefers-reduced-motion: reduce) {
  .pq-exclusivos-reminder-tab,
  .pq-exclusivos-reminder-arrow {
    animation: none !important;
  }
}


/* ── Tour do primeiro acesso no app completo ───────────────────────── */
.pq-app-feature-tour {
  position: fixed;
  inset: 0;
  z-index: 100040;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 18px 18px 112px;
  box-sizing: border-box;
  background: rgba(21, 10, 29, .36);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-family: Inter, system-ui, sans-serif;
}

.pq-app-tour-card {
  position: relative;
  width: min(390px, calc(100vw - 36px));
  padding: 16px 17px 14px;
  box-sizing: border-box;
  border: 1px solid rgba(212,175,55,.52);
  border-radius: 19px;
  background: linear-gradient(160deg, #351440 0%, #24102f 100%);
  color: #fff;
  text-align: center;
  box-shadow: 0 18px 50px rgba(0,0,0,.5), 0 0 24px rgba(212,175,55,.12);
}

.pq-app-tour-step {
  display: inline-block;
  margin-bottom: 5px;
  color: #d8b943;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .8px;
}

.pq-app-tour-card h2 {
  margin: 0 0 7px;
  color: #f0c535;
  font-size: 20px;
  font-weight: 950;
  line-height: 1.2;
}

.pq-app-tour-card p {
  margin: 0 auto 13px;
  color: #f1e8f4;
  font-size: 13.5px;
  font-weight: 650;
  line-height: 1.48;
}

#pq-app-tour-ok {
  min-width: 112px;
  padding: 10px 22px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #f2ca32, #e4b31b);
  color: #2d1937;
  font-size: 14px;
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 7px 20px rgba(190,139,13,.3);
}

.pq-app-tour-arrow {
  position: absolute;
  left: 50%;
  bottom: -45px;
  transform: translateX(-50%);
  color: #f0c535;
  font-size: 39px;
  font-weight: 950;
  line-height: 1;
  text-shadow: 0 3px 12px rgba(212,175,55,.52);
  animation: pq-app-tour-arrow .9s ease-in-out infinite;
}

.pq-app-tour-highlight {
  position: fixed;
  z-index: 100042;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 8px 4px 7px;
  box-sizing: border-box;
  border: 2px solid #f0c535;
  border-radius: 14px;
  background: #2a1637;
  color: #f0c535;
  pointer-events: none;
  box-shadow: 0 0 0 3px rgba(240,197,53,.18), 0 0 30px rgba(240,197,53,.72);
  animation: pq-app-tour-tab 1s ease-in-out infinite;
}

.pq-app-tour-highlight .pq-nav-icon { width: 26px; height: 26px; }
.pq-app-tour-highlight span { color: #f0c535 !important; font-size: 12px !important; font-weight: 950 !important; }

@keyframes pq-app-tour-tab {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 3px rgba(240,197,53,.16), 0 0 20px rgba(240,197,53,.44); }
  50% { transform: scale(1.08); box-shadow: 0 0 0 5px rgba(240,197,53,.23), 0 0 36px rgba(240,197,53,.85); }
}

@keyframes pq-app-tour-arrow {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 7px); }
}

@media (prefers-reduced-motion: reduce) {
  .pq-app-tour-highlight,
  .pq-app-tour-arrow { animation: none !important; }
}

/* ── Ajustes de conversão da demo — 18/08/2026 ─────────────────────────── */

/* A instalação só é oferecida depois da compra. Na rota /teste, o botão
   permanece fora da experiência para não competir com o acesso completo. */
html.pq-demo-mode #pq-install-btn,
html.pq-demo-mode #pq-install-popup,
html.pq-demo-mode #pq-ios-install-modal {
  display: none !important;
}

/* No desktop, Exclusivos mantém a mesma leitura compacta de uma tela mobile
   em vez de esticar as capas por toda a largura do monitor. */
#pq-exclusivos-screen .pq-section-screen-inner {
  width: 100%;
  max-width: 560px;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box;
}

#pq-exclusivos-screen .pq-exclusivos-grid {
  width: 100%;
}

/* Etiqueta explicativa nos materiais bloqueados: evita o cadeado "mudo" e
   deixa claro por que aquele conteúdo não abre. */
.pq-pdf-locked-label {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  z-index: 5;
  padding: 6px 7px;
  border: 1px solid rgba(242, 197, 48, 0.52);
  border-radius: 999px;
  color: #fff8d8;
  background: rgba(37, 17, 47, 0.86);
  box-shadow: 0 5px 16px rgba(19, 8, 42, 0.28);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  font-size: 10px;
  line-height: 1.15;
  font-weight: 850;
  text-align: center;
  pointer-events: none;
}

/* Na demo, Exclusivos é apresentado como adicional opcional — sem preço antes
   de a pessoa conhecer o acesso principal de 14,90€. */
.pq-exclusivos-demo-info {
  padding-top: 18px;
  background:
    radial-gradient(circle at 50% 0%, rgba(242, 197, 48, 0.12), transparent 44%),
    linear-gradient(145deg, #251130, #341741);
}

.pq-exclusivos-demo-info > p {
  color: #eadfed;
}

.pq-exclusivos-demo-main-note {
  margin: 12px auto 16px !important;
  padding: 12px 13px;
  border: 1px solid rgba(242, 197, 48, 0.22);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
  color: #f5edf6 !important;
}

.pq-exclusivos-demo-main-note strong {
  color: #f4cf4f;
}

button.pq-exclusivos-main-cta,
.pq-exclusivos-demo-main-cta {
  border: 0;
  font-family: inherit;
  cursor: pointer;
}

.pq-exclusivos-demo-info-card {
  max-width: 430px;
}

.pq-exclusivos-demo-info-card .pq-exclusivos-modal-intro strong {
  color: #f1c83d;
}

/* Quando um conteúdo bloqueado leva para a oferta, o bloco ganha um destaque
   curto para explicar visualmente o motivo da rolagem. */
#comprovante-block.pq-demo-offer-highlight {
  position: relative;
  z-index: 2;
  animation: pq-demo-offer-focus 1.75s ease-out 1 !important;
}

@keyframes pq-demo-offer-focus {
  0% {
    transform: scale(1);
    filter: brightness(1);
    box-shadow: 0 0 0 0 rgba(242, 197, 48, 0);
  }
  25% {
    transform: scale(1.012);
    filter: brightness(1.08);
    box-shadow: 0 0 0 7px rgba(242, 197, 48, 0.26), 0 0 36px rgba(242, 197, 48, 0.30);
  }
  65% {
    transform: scale(1.006);
    filter: brightness(1.04);
    box-shadow: 0 0 0 4px rgba(242, 197, 48, 0.16), 0 0 24px rgba(242, 197, 48, 0.18);
  }
  100% {
    transform: scale(1);
    filter: brightness(1);
    box-shadow: 0 0 0 0 rgba(242, 197, 48, 0);
  }
}

/* CTA exibido depois que a primeira aula da demonstração termina (com o botão
   "Marcar como Concluída" como fallback caso a API do YouTube não responda). */
.pq-demo-first-lesson-overlay {
  z-index: 100040 !important;
}

.pq-demo-first-lesson-card {
  width: min(100%, 400px);
  box-sizing: border-box;
  padding: 26px 21px 20px;
  border: 1px solid rgba(212, 175, 55, 0.48);
  border-radius: 25px;
  color: #34203e;
  text-align: center;
  background:
    radial-gradient(circle at 92% 2%, rgba(218, 231, 211, 0.92), transparent 37%),
    radial-gradient(circle at 6% 1%, rgba(232, 218, 241, 0.92), transparent 38%),
    #fffaf4;
  box-shadow: 0 25px 68px rgba(31, 13, 40, 0.36);
}

.pq-demo-first-lesson-icon {
  margin-bottom: 7px;
  font-size: 38px;
  line-height: 1;
}

.pq-demo-first-lesson-card h2 {
  margin: 0 0 8px;
  color: #351d40;
  font-size: 23px;
  line-height: 1.17;
  font-weight: 900;
}

.pq-demo-first-lesson-card > p {
  margin: 0 0 15px;
  color: #6d5c71;
  font-size: 14px;
  font-weight: 650;
}

.pq-demo-first-lesson-benefits {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding: 13px 14px;
  border: 1px solid rgba(106, 77, 120, 0.14);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.62);
  text-align: left;
}

.pq-demo-first-lesson-benefits span {
  color: #4d3b55;
  font-size: 13.5px;
  line-height: 1.3;
  font-weight: 750;
}

#pq-demo-first-lesson-offer {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border: 0;
  border-radius: 15px;
  color: #2e1937;
  background: linear-gradient(135deg, #f1c936, #e4af19);
  box-shadow: 0 9px 25px rgba(190, 139, 13, 0.27);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 950;
  cursor: pointer;
  animation: pq-demo-first-lesson-cta 2.1s ease-in-out infinite;
}

#pq-demo-first-lesson-continue {
  margin-top: 10px;
  padding: 8px 14px;
  border: 0;
  color: #76627c;
  background: transparent;
  font-family: inherit;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}

@keyframes pq-demo-first-lesson-cta {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 9px 25px rgba(190, 139, 13, 0.27);
  }
  50% {
    transform: scale(1.025);
    box-shadow: 0 12px 34px rgba(190, 139, 13, 0.42);
  }
}

@media (max-width: 420px) {
  .pq-pdf-locked-label {
    left: 6px;
    right: 6px;
    bottom: 6px;
    padding: 5px 6px;
    font-size: 9px;
  }

  .pq-demo-first-lesson-card {
    padding: 23px 17px 17px;
    border-radius: 22px;
  }

  .pq-demo-first-lesson-card h2 {
    font-size: 21px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #comprovante-block.pq-demo-offer-highlight,
  #pq-demo-first-lesson-offer {
    animation: none !important;
  }
}

/* ── Conversão / prova social / presente Exclusivos — 18/08/2026 ───────── */

/* CTA principal da demo: uma linha só e ícone do WhatsApp maior. */
#comprovante-block > div > a[data-pq-main-offer-cta="1"] {
  gap: 8px !important;
  padding-left: 11px !important;
  padding-right: 11px !important;
  white-space: nowrap !important;
  font-size: clamp(13px, 4vw, 20px) !important;
  line-height: 1.08 !important;
  letter-spacing: -.15px !important;
}

#comprovante-block > div > a[data-pq-main-offer-cta="1"] svg {
  width: 46px !important;
  height: 46px !important;
  flex: 0 0 46px !important;
}

#comprovante-block > div > a[data-pq-main-offer-cta="1"] [data-pq-main-offer-label="1"] {
  display: block;
  min-width: 0;
  white-space: nowrap;
}

@media (max-width: 380px) {
  #comprovante-block > div > a[data-pq-main-offer-cta="1"] {
    gap: 6px !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
    font-size: 13px !important;
  }
  #comprovante-block > div > a[data-pq-main-offer-cta="1"] svg {
    width: 42px !important;
    height: 42px !important;
    flex-basis: 42px !important;
  }
}

/* Carrossel com os prints reais de WhatsApp. */
.pq-testimonial-carousel {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 36px 26px;
  box-sizing: border-box;
}

.pq-testimonial-viewport {
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255,255,255,.045);
  box-shadow: 0 10px 28px rgba(0,0,0,.28);
}

.pq-testimonial-track {
  display: flex;
  width: 100%;
  transform: translate3d(0,0,0);
  transition: transform .42s cubic-bezier(.22,.72,.28,1);
  will-change: transform;
}

.pq-testimonial-slide {
  flex: 0 0 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef1f3;
}

.pq-testimonial-screenshot {
  display: block;
  width: 100%;
  height: auto;
  max-height: 650px;
  object-fit: contain;
  background: #eef1f3;
}

.pq-testimonial-arrow {
  position: absolute;
  z-index: 3;
  top: 48%;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border: 1px solid rgba(212,175,55,.45);
  border-radius: 50%;
  background: rgba(26,16,37,.92);
  color: #f2c94c;
  box-shadow: 0 7px 18px rgba(0,0,0,.3);
  font-size: 27px;
  line-height: 1;
  font-weight: 800;
  cursor: pointer;
}

.pq-testimonial-prev { left: -1px; }
.pq-testimonial-next { right: -1px; }

.pq-testimonial-dots {
  position: absolute;
  left: 50%;
  bottom: 5px;
  display: flex;
  gap: 7px;
  transform: translateX(-50%);
}

.pq-testimonial-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(201,168,240,.35);
  cursor: pointer;
  transition: transform .18s ease, background .18s ease;
}

.pq-testimonial-dot.pq-active {
  transform: scale(1.28);
  background: #d4af37;
}

@media (max-width: 420px) {
  .pq-testimonial-carousel { padding-left: 29px; padding-right: 29px; }
  .pq-testimonial-arrow { width: 30px; height: 30px; font-size: 24px; }
  .pq-testimonial-screenshot { max-height: 610px; }
}

/* Nova aluna: antes da recompensa, nada de preço nos Exclusivos. */
.pq-exclusivos-beneficio-bloqueado {
  background:
    radial-gradient(circle at 50% 0%, rgba(242,197,48,.12), transparent 42%),
    linear-gradient(145deg,#281335,#371844);
}

.pq-exclusivos-ir-aula {
  border: 0;
  background: linear-gradient(135deg,#d4af37,#f0c84a) !important;
  color: #24102f !important;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 7px 23px rgba(212,175,55,.25) !important;
}

.pq-exclusivos-premio-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
  padding: 7px 11px;
  border: 1px solid rgba(37,211,102,.38);
  border-radius: 999px;
  color: #8ff0b1;
  background: rgba(37,211,102,.1);
  font-size: 10.5px;
  line-height: 1.2;
  font-weight: 950;
  letter-spacing: .45px;
}

.pq-exclusivos-price-stack {
  margin: 5px auto 16px;
  text-align: center;
}

.pq-exclusivos-old-price-special {
  color: #ff4054;
  font-size: 20px;
  line-height: 1.15;
  font-weight: 850;
}

.pq-exclusivos-old-price-special strong {
  font-size: 25px;
  font-weight: 1000;
  text-decoration: line-through;
  text-decoration-thickness: 3px;
}

.pq-exclusivos-new-price-special {
  margin-top: 3px;
  color: #50df84;
  font-size: 20px;
  line-height: 1.08;
  font-weight: 900;
}

.pq-exclusivos-new-price-special strong {
  display: inline-block;
  color: #43df7d;
  font-size: 46px;
  line-height: 1;
  font-weight: 1000;
  letter-spacing: -1px;
  text-shadow: 0 3px 15px rgba(37,211,102,.28);
}

.pq-exclusivos-beneficio-card {
  max-width: 390px;
}

.pq-exclusivos-beneficio-card .pq-exclusivos-modal-intro strong {
  color: #f0c535;
}

.pq-exclusivos-price-stack-modal {
  margin-top: 14px;
}

/* Popup das três caixas: recompensa por concluir a primeira aula real. */
.pq-exclusivos-presente-overlay {
  z-index: 100060 !important;
}

.pq-exclusivos-presentes-card {
  width: min(100%, 405px);
  box-sizing: border-box;
  padding: 26px 19px 22px;
  border: 1px solid rgba(212,175,55,.55);
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% -5%, rgba(248,213,83,.23), transparent 36%),
    linear-gradient(160deg,#35143f,#21102c 58%,#170a22);
  color: #fff;
  text-align: center;
  box-shadow: 0 28px 75px rgba(0,0,0,.58);
}

.pq-exclusivos-presentes-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: #f0c535;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 950;
  letter-spacing: .7px;
}

.pq-exclusivos-presentes-card h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 25px;
  line-height: 1.16;
  font-weight: 950;
}

.pq-exclusivos-presentes-card h2 strong {
  color: #5ae08b;
}

.pq-exclusivos-presentes-card > p {
  margin: 0 auto 18px;
  max-width: 330px;
  color: #dbcde0;
  font-size: 13.5px;
  line-height: 1.45;
  font-weight: 650;
}

.pq-gift-boxes {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 10px;
  margin: 14px 0 10px;
}

.pq-gift-box {
  position: relative;
  min-height: 104px;
  padding: 8px 4px;
  border: 1px solid rgba(240,197,53,.32);
  border-radius: 18px;
  background: linear-gradient(145deg,rgba(255,255,255,.085),rgba(255,255,255,.035));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 8px 22px rgba(0,0,0,.2);
  cursor: pointer;
  transform-origin: 50% 82%;
  animation: pq-gift-wiggle 1.8s ease-in-out infinite;
}

.pq-gift-box:nth-child(2) { animation-delay: .18s; }
.pq-gift-box:nth-child(3) { animation-delay: .36s; }

.pq-gift-box span {
  display: block;
  font-size: 57px;
  line-height: 1;
  filter: drop-shadow(0 8px 12px rgba(0,0,0,.3));
}

.pq-gift-box:hover,
.pq-gift-box:focus-visible {
  border-color: rgba(240,197,53,.72);
  outline: none;
  box-shadow: 0 0 0 3px rgba(240,197,53,.12), 0 10px 28px rgba(0,0,0,.25);
}

.pq-gift-box.pq-gift-selected {
  z-index: 2;
  animation: pq-gift-open .65s ease both !important;
}

.pq-gift-box.pq-gift-not-selected {
  opacity: 0;
  transform: scale(.72);
  pointer-events: none;
  transition: opacity .28s ease, transform .28s ease;
}

.pq-gift-hint {
  margin-bottom: 0 !important;
  color: #f0c535 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

.pq-gift-opened {
  margin: 2px 0 6px;
  font-size: 72px;
  line-height: 1;
  animation: pq-gift-opened-pop .52s cubic-bezier(.2,.82,.32,1.3) both;
}

.pq-gift-result-state {
  animation: pq-gift-result-in .35s ease both;
}

.pq-gift-result-ok {
  width: 100%;
  min-height: 52px;
  margin-top: 4px;
  border: 0;
  border-radius: 15px;
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 25px rgba(37,211,102,.3);
  font-family: inherit;
  font-size: 16px;
  font-weight: 950;
  cursor: pointer;
}

@keyframes pq-gift-wiggle {
  0%, 74%, 100% { transform: rotate(0deg) translateY(0); }
  80% { transform: rotate(-3deg) translateY(-2px); }
  86% { transform: rotate(3deg) translateY(-3px); }
  92% { transform: rotate(-2deg) translateY(-1px); }
}

@keyframes pq-gift-open {
  0% { transform: scale(1) rotate(0); }
  35% { transform: scale(1.08) rotate(-4deg); }
  70% { transform: scale(1.12) rotate(4deg); }
  100% { transform: scale(1.18) rotate(0); opacity: 1; }
}

@keyframes pq-gift-opened-pop {
  from { transform: scale(.55) rotate(-8deg); opacity: 0; }
  to { transform: scale(1) rotate(0); opacity: 1; }
}

@keyframes pq-gift-result-in {
  from { opacity: .55; transform: scale(.97); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 390px) {
  .pq-exclusivos-presentes-card { padding: 23px 14px 18px; }
  .pq-gift-boxes { gap: 7px; }
  .pq-gift-box { min-height: 94px; border-radius: 15px; }
  .pq-gift-box span { font-size: 50px; }
  .pq-exclusivos-presentes-card h2 { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .pq-testimonial-track { transition: none !important; }
  .pq-gift-box,
  .pq-gift-box.pq-gift-selected,
  .pq-gift-opened,
  .pq-gift-result-state { animation: none !important; }
}


/* ── Ajustes finais demo / oferta / certificado — 18/08/2026 ───────────── */
/* O conjunto WhatsApp + texto fica centralizado dentro do botão e sem emoji. */
#comprovante-block > div > a[data-pq-main-offer-cta="1"] {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  gap: 6px !important;
  padding-left: 10px !important;
  padding-right: 10px !important;
  overflow: hidden !important;
  text-align: center !important;
}

#comprovante-block > div > a[data-pq-main-offer-cta="1"] [data-pq-main-offer-label="1"] {
  flex: 0 1 auto !important;
  min-width: 0 !important;
  max-width: calc(100% - 52px) !important;
  margin: 0 !important;
  font-weight: 900 !important;
  text-align: left !important;
  white-space: nowrap !important;
}

@media (max-width: 380px) {
  #comprovante-block > div > a[data-pq-main-offer-cta="1"] {
    gap: 4px !important;
    padding-left: 7px !important;
    padding-right: 7px !important;
    font-size: 12.5px !important;
  }
  #comprovante-block > div > a[data-pq-main-offer-cta="1"] [data-pq-main-offer-label="1"] {
    max-width: calc(100% - 48px) !important;
  }
}

/* Certificado e "Novas Aulas em Produção" da demo usam exatamente o mesmo visual da versão completa. */
/* Bloco de Exclusivos da demo mais direto e compacto. */
html.pq-demo-mode .pq-exclusivos-demo-info {
  padding-top: 16px !important;
  padding-bottom: 16px !important;
}
html.pq-demo-mode .pq-exclusivos-demo-info > p,
html.pq-demo-mode .pq-exclusivos-demo-main-note {
  margin: 5px auto 12px !important;
  max-width: 460px !important;
  line-height: 1.45 !important;
}

/* ── Correção definitiva: Certificado da demo igual ao card completo ───── */
html.pq-demo-mode [data-pq-certificate-card] {
  display: grid !important;
  grid-template-columns: 150px minmax(0, 1fr) !important;
  min-height: 166px !important;
  overflow: hidden !important;
  border: 1px solid var(--pq-border) !important;
  border-radius: 22px !important;
  background: #fff !important;
  box-shadow: var(--pq-shadow) !important;
}

html.pq-demo-mode [data-pq-certificate-card] > div:first-child {
  width: 150px !important;
  height: 100% !important;
  min-height: 166px !important;
  aspect-ratio: auto !important;
}

html.pq-demo-mode [data-pq-certificate-card] > div:last-child {
  display: flex !important;
  min-width: 0 !important;
  padding: 18px !important;
  align-items: flex-start !important;
  justify-content: center !important;
  text-align: left !important;
  visibility: visible !important;
  opacity: 1 !important;
  background: #fff !important;
}

html.pq-demo-mode [data-pq-certificate-card] > div:last-child p {
  width: 100% !important;
  text-align: left !important;
}

html.pq-demo-mode .pq-cert-demo-side-fallback {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

html.pq-demo-mode .pq-cert-demo-side-fallback p {
  margin: 0 !important;
  color: var(--pq-text) !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
}

@media (max-width: 640px) {
  html.pq-demo-mode [data-pq-certificate-card] {
    grid-template-columns: 118px minmax(0, 1fr) !important;
  }
  html.pq-demo-mode [data-pq-certificate-card] > div:first-child {
    width: 118px !important;
  }
}

@media (max-width: 370px) {
  html.pq-demo-mode [data-pq-certificate-card] {
    grid-template-columns: 100px minmax(0, 1fr) !important;
  }
  html.pq-demo-mode [data-pq-certificate-card] > div:first-child {
    width: 100px !important;
  }
}

/* O novo CTA não usa mais o ícone do WhatsApp: mantém o texto centralizado. */
#comprovante-block > div > a[data-pq-main-offer-cta="1"] [data-pq-main-offer-label="1"] {
  max-width: 100% !important;
  text-align: center !important;
  white-space: normal !important;
}
