html,
body {
  overflow-x: hidden;
}

.ast-container,
.site-content .ast-container,
.entry-content,
.page .entry-content,
.single .entry-content,
.entry-content > .wp-block-shortcode {
  max-width: 100% !important;
}

.page .entry-content,
.single .entry-content,
.ast-container,
.site-content .ast-container {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.vm-pegada-section {
  width: 100%;
  background: #49a650;
  padding: 42px 0;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

.vm-pegada-shell {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 32px;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 400px minmax(0, 1fr);
  gap: 42px;
  align-items: center;
}

.vm-pegada-left {
  min-height: 520px;
  display: flex;
  align-items: center;
}

.vm-pegada-copy {
  max-width: 540px;
  color: #fff !important;
}

.vm-pegada-section .vm-pegada-copy,
.vm-pegada-section .vm-pegada-copy p,
.vm-pegada-section .vm-pegada-copy strong,
.vm-pegada-section .vm-pegada-copy .vm-pegada-title,
.vm-pegada-section .vm-pegada-copy .vm-pegada-title span,
.vm-pegada-section h2.vm-pegada-title,
.vm-pegada-section h2.vm-pegada-title span {
  color: #ffffff !important;
}

.vm-pegada-title {
  margin: 0 0 24px;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
}

.vm-pegada-title span {
  display: block;
  margin: 0;
  padding: 0;
}

.vm-pegada-title span:first-child {
  font-size: 2.6rem;
  line-height: 1;
  margin-bottom: 6px;
  white-space: nowrap;
}

.vm-pegada-title span:nth-child(2),
.vm-pegada-title span:nth-child(3) {
  font-size: 4.4rem;
  line-height: 0.92;
}

.vm-pegada-title span:nth-child(2) {
  margin-bottom: -2px;
}

.vm-pegada-copy p {
  margin: 0 0 18px;
  font-size: 1rem;
  line-height: 1.28;
}

.vm-pegada-copy strong {
  font-weight: 700;
}

.vm-pegada-right {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.vm-quiz-card {
  width: 100%;
  max-width: 1040px;
  height: 520px;
  background: #f7f7f7;
  display: grid;
  grid-template-columns: 320px 76px minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
}

.vm-quiz-image-col {
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: linear-gradient(90deg, #f1f1f1 0%, #fafafa 100%);
  padding: 0;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
}

.vm-quiz-main-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  max-width: none;
  max-height: none;
}

.vm-quiz-steps-col {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 14px;
  box-sizing: border-box;
}

.vm-quiz-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vm-step {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 3px solid #d9d9d9;
  background: #f0f0f0;
  color: #c3c3c3;
  font-size: 1.85rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.vm-step.is-active {
  border-color: #4677bb;
  background: #fff;
  color: #4677bb;
}

.vm-step.is-done {
  border-color: #6fa7df;
  background: #6fa7df;
  color: #fff;
}

.vm-quiz-content-col {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  box-sizing: border-box;
  padding: 14px 16px 10px 0;
  overflow: hidden;
}

.vm-pegada-section .vm-quiz-card .vm-quiz-content-col .vm-question-title,
.vm-pegada-section .vm-quiz-card .vm-quiz-content-col h3.vm-question-title,
.vm-pegada-section h3#vm-question-title.vm-question-title,
#vm-question-title {
  margin: 0 0 12px !important;
  color: #5f6b73 !important;
  font-family: "Poppins", sans-serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  max-width: 500px !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.vm-pegada-section .vm-question-title,
.vm-pegada-section .vm-question-title:visited,
.vm-pegada-section .vm-question-title:hover,
.vm-pegada-section .vm-question-title:focus {
  color: #5f6b73 !important;
}

.vm-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vm-option {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  min-height: 64px;
  border: 1px solid #dedede;
  background: #fbfbfb;
  cursor: pointer;
}

.vm-option input {
  display: none;
}

.vm-option-letter {
  background: #e7e7e7;
  color: #67747d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  font-weight: 700;
}

.vm-option-text {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  color: #6a7780;
  font-size: 0.96rem;
  line-height: 1.22;
}

.vm-option.is-selected {
  border-color: #4677bb;
}

.vm-option.is-selected .vm-option-letter {
  color: #4677bb;
  text-decoration: underline;
}

.vm-quiz-nav {
  margin-top: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding-top: 8px;
}

.vm-nav-arrow {
  border: none;
  background: transparent;
  color: #d7d7d7;
  font-size: 3.1rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.vm-nav-arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.vm-nav-next {
  min-width: 60px;
}

.vm-nav-next.is-finish {
  min-width: 210px;
  height: 56px;
  border: none;
  border-radius: 999px;
  background: #39b257;
  color: #ffffff;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  cursor: pointer;
}

.vm-nav-next.is-finish:hover {
  background: #34a44f;
}

.vm-nav-next.is-finish:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.vm-modal-open {
  overflow: hidden;
}

.vm-result-modal[hidden],
.vm-share-flow-modal[hidden] {
  display: none !important;
}

.vm-share-flow-btn[hidden],
.vm-share-flow-status[hidden] {
  display: none !important;
}

[hidden] {
  display: none !important;
}

.vm-result-modal {
  position: absolute;
  inset: 0;
  z-index: 99999;
  background: rgba(13, 51, 25, 0.82);
  box-sizing: border-box;
}

.vm-result-close {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  color: #ffffff;
  font-size: 3rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  z-index: 3;
}

.vm-result-panel {
  position: absolute;
  top: 50%;
  right: 32px;
  transform: translateY(-50%);
  width: 1040px;
  height: 520px;
  background: #ffffff;
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  box-sizing: border-box;
  overflow: hidden;
}

.vm-result-left-panel {
  background: #f5f5f5;
  padding: 16px 18px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

.vm-result-kicker {
  width: 100%;
  color: #66737b;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 4px;
}

.vm-result-title {
  width: 100%;
  color: #66737b;
  font-size: 3rem;
  font-weight: 700;
  line-height: 0.95;
  white-space: nowrap;
  margin-bottom: 10px;
}

.vm-result-image {
  width: 100%;
  max-width: 165px;
  height: auto;
  margin: 4px auto 14px;
}

.vm-result-share {
  color: #49a650;
  font-family: "Poppins", sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  margin-top: auto;
  margin-bottom: 12px;
  max-width: 220px;
}

.vm-result-icons {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
}

.vm-result-icons a {
  width: 32px;
  height: 32px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 0;
  padding: 0;
}

.vm-result-icons a img {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.vm-result-icons a:hover {
  opacity: 0.9;
}

.vm-result-right-panel {
  padding: 22px 28px 18px 20px;
  color: #222222;
  font-size: 0.95rem;
  line-height: 1.52;
  box-sizing: border-box;
  overflow-y: auto;
}

.vm-result-right-panel p {
  margin: 0 0 14px;
}

.vm-result-right-panel ul {
  margin: 0 0 16px;
  padding-left: 0;
  list-style: none;
}

.vm-result-right-panel li {
  position: relative;
  margin-bottom: 12px;
  padding-left: 24px;
}

.vm-result-right-panel li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #54ab59;
  font-weight: 700;
}

.vm-result-right-panel strong {
  color: #53ab58;
}

.entry-content > .wp-block-uagb-container,
.entry-content .wp-block-uagb-container:has(.vm-pegada-section),
.uagb-container-inner-blocks-wrap:has(.vm-pegada-section),
.wp-block-uagb-container:has(.vm-pegada-section) {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.wp-block-uagb-container,
.uagb-container-inner-blocks-wrap {
  max-width: 100%;
}

.vm-pegada-section {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}

.wp-block-uagb-container .vm-pegada-section {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}

.vm-pegada-section .vm-pegada-shell {
  max-width: 1360px;
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
  box-sizing: border-box;
}

/* SHARE FLOW MODAL */
.vm-share-flow-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(13, 51, 25, 0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
}

.vm-share-flow-card {
  width: 100%;
  max-width: 640px;
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.vm-share-flow-header {
  background: #49a650;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.vm-share-flow-title {
  margin: 0;
  color: #ffffff !important;
  font-family: "Poppins", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
}

.vm-share-flow-close {
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  color: #ffffff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.vm-share-flow-body {
  padding: 24px 24px 26px;
}

.vm-share-flow-text {
  margin: 0 0 16px;
  color: #5f6b73;
  font-size: 0.98rem;
  line-height: 1.5;
}

.vm-share-flow-message {
  margin: 0 0 22px;
  padding: 18px;
  border: 1px solid #dfe8e2;
  background: #f7fbf7;
  border-radius: 18px;
  color: #35515d;
  font-size: 0.96rem;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
}

.vm-share-flow-status {
  margin: 0 0 20px;
  color: #49a650;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.4;
}

.vm-share-flow-actions {
  display: flex;
  gap: 14px;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: space-between;
}

.vm-share-flow-btn {
  flex: 1 1 0;
  min-width: 0;
  height: 72px;
  border: none;
  border-radius: 999px;
  font-family: "Poppins", sans-serif;
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 0 18px;
  cursor: pointer;
  transition: 0.2s ease;
  text-align: center;
}

.vm-share-flow-btn-step {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1;
}

.vm-share-flow-btn-label {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.05;
}

.vm-share-flow-btn--primary {
  background: #39b257;
  color: #ffffff;
}

.vm-share-flow-btn--primary:hover {
  background: #34a44f;
}

.vm-share-flow-btn--secondary {
  background: #edf4ee;
  color: #4f6570;
}

.vm-share-flow-btn--secondary:hover {
  background: #dfeadf;
}

@media (max-width: 1200px) {
  .vm-pegada-shell {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }

  .vm-pegada-left {
    min-height: auto;
  }

  .vm-quiz-card {
    height: auto;
    grid-template-columns: 1fr;
  }

  .vm-quiz-image-col {
    height: auto;
    padding: 20px;
  }

  .vm-quiz-main-image {
    max-width: 220px;
    max-height: 320px;
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .vm-quiz-steps-col {
    padding: 16px;
    align-items: center;
  }

  .vm-quiz-steps {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .vm-quiz-content-col {
    padding: 18px;
    height: auto;
    overflow: visible;
  }

  .vm-option {
    grid-template-columns: 72px minmax(0, 1fr);
    min-height: 70px;
  }

  .vm-option-letter {
    font-size: 2.4rem;
  }

  .vm-option-text {
    font-size: 1rem;
  }

  .vm-result-modal {
    padding: 18px;
  }

  .vm-result-panel {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    width: 100%;
    max-width: 760px;
    height: auto;
    margin: 70px auto 0;
    grid-template-columns: 1fr;
  }

  .vm-result-left-panel {
    padding: 20px;
  }

  .vm-result-right-panel {
    padding: 22px 22px 20px;
    overflow: visible;
  }

  .vm-result-close {
    top: 14px;
    left: 14px;
    font-size: 2.4rem;
    width: 42px;
    height: 42px;
  }

  .vm-result-title {
    white-space: normal;
  }

  .vm-pegada-title span:first-child {
    font-size: 2rem;
    white-space: nowrap;
  }

  .vm-pegada-title span:nth-child(2),
  .vm-pegada-title span:nth-child(3) {
    font-size: 3.2rem;
  }
}

@media (max-width: 767px) {
  .vm-share-flow-modal {
    padding: 16px;
  }

  .vm-share-flow-card {
    max-width: 100%;
  }

  .vm-share-flow-body {
    padding: 18px 18px 22px;
  }

  .vm-share-flow-actions {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
  }

  .vm-share-flow-btn {
    width: auto;
    min-width: 0;
    height: 64px;
  }

  .vm-share-flow-btn-step {
    font-size: 0.76rem;
  }

  .vm-share-flow-btn-label {
    font-size: 0.82rem;
  }

  .vm-result-icons {
    flex-wrap: wrap;
  }

  .vm-result-share {
    max-width: none;
  }
}