body {
  margin: 0;
  background: linear-gradient(180deg, #f3f7ff 0%, #f8f9fd 55%, #f4f6fb 100%);
  color: #132640;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

a {
  color: #1747a7;
  text-decoration: none;
}

.mx-wrap {
  max-width: 920px;
  margin: 0 auto;
  padding: 16px;
}

.mx-card {
  background: #fff;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 12px 28px rgba(10, 26, 52, 0.08);
  margin-bottom: 14px;
}

.mx-step {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eaf0ff;
  color: #24458e;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
}

.mx-progress {
  height: 8px;
  background: #e9eef8;
  border-radius: 999px;
  overflow: hidden;
  margin: 10px 0 16px;
}

.mx-progress > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #2f69ff, #11a4ff);
}

.mx-h1 {
  margin: 0 0 10px;
  font-size: clamp(27px, 6.8vw, 40px);
  line-height: 1.1;
}

.mx-sub {
  margin: 0 0 14px;
  color: #4a5a75;
  font-size: 16px;
}

.mx-h2 {
  margin: 0 0 8px;
  font-size: clamp(22px, 5.6vw, 30px);
  line-height: 1.16;
}

.mx-p {
  margin: 0 0 14px;
  color: #2f3f5b;
  line-height: 1.62;
}

.mx-list {
  margin: 0 0 14px;
  padding-left: 18px;
  color: #2f3f5b;
}

.mx-list li {
  margin: 0 0 8px;
}

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

.mx-option,
.mx-cta-main,
.mx-cta-inline {
  border: 0;
  border-radius: 14px;
  width: 100%;
  cursor: pointer;
  font-weight: 800;
}

.mx-option {
  background: #f3f6ff;
  color: #112a59;
  padding: 14px;
  font-size: 17px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.mx-option:hover {
  background: #e8eeff;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(22, 50, 115, 0.14);
}

.mx-option.is-selected {
  background: #dfe9ff;
  box-shadow: 0 0 0 2px #2d67ff inset;
}

.mx-field {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d7e1f2;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 10px;
  font-size: 16px;
}

.mx-consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 12px;
  padding: 10px 12px;
  background: #f4f8ff;
  border-radius: 12px;
  border: 1px solid #e2e9f8;
}

.mx-consent-row input[type="checkbox"] {
  width: auto;
  flex-shrink: 0;
  margin-top: 3px;
  cursor: pointer;
}

.mx-consent-row label {
  font-size: 13px;
  color: #4a5a75;
  line-height: 1.45;
  cursor: pointer;
  margin: 0;
}

.mx-help {
  margin: 8px 0 0;
  color: #536280;
  font-size: 12px;
}

.mx-cta-main,
.mx-cta-inline {
  background: linear-gradient(90deg, #ff7b00, #ff5f2a);
  color: #fff;
  box-shadow: 0 12px 24px rgba(255, 95, 42, 0.25);
}

.mx-cta-main {
  padding: 14px 16px;
  font-size: 17px;
}

.mx-cta-inline {
  display: inline-block;
  width: auto;
  padding: 12px 18px;
  font-size: 15px;
}

.mx-highlight {
  border-left: 4px solid #2f69ff;
  background: #f4f8ff;
  border-radius: 12px;
  padding: 12px;
  color: #223c69;
  margin: 0 0 14px;
}

.mx-related {
  background: #f8faff;
  border: 1px solid #e7edf9;
  border-radius: 12px;
  padding: 12px;
}

.mx-related h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.mx-related a {
  display: block;
  margin: 0 0 6px;
}

.mx-ad {
  background: #f1f5fc;
  border-radius: 10px;
  min-height: 54px;
  margin: 12px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .mx-wrap {
    padding: 24px;
  }

  .mx-card {
    padding: 24px;
    border-radius: 22px;
  }

  .mx-grid.two {
    grid-template-columns: 1fr 1fr;
  }
}

/* GAM: reserva altura mínima nos slots (mobile / antes do render) */
.mx-ad[id^="wf_"] {
  min-height: 100px;
}

/* ------------------------------------------------------------------ */
/* Anchor CTAs (<a class="mx-cta-main">): block layout, touch targets. */
/* Quiz uses <button class="mx-cta-main"> — unchanged (selector is a). */
/* Secondary inline: only main CTA + .mx-p pattern (bet funnel page 4). */
/* ------------------------------------------------------------------ */

.mx-wrap .mx-card {
  box-sizing: border-box;
  max-width: 100%;
}

a.mx-cta-main {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
  padding: 16px 20px;
  min-height: 48px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  word-break: break-word;
  overflow-wrap: anywhere;
  white-space: normal;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.mx-card > a.mx-cta-main + .mx-p a.mx-cta-inline {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
  padding: 16px 20px;
  min-height: 48px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  word-break: break-word;
  overflow-wrap: anywhere;
  white-space: normal;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  text-decoration: none;
  color: #fff;
}

.mx-card > a.mx-cta-main + .mx-p {
  margin-top: 14px;
}

@media (max-width: 767px) {
  a.mx-cta-main,
  .mx-card > a.mx-cta-main + .mx-p a.mx-cta-inline {
    font-size: 16px;
    padding: 16px 16px;
  }
}

/* GAM layout polish: centraliza slots e evita empilhamento visual nos funis. */
.wf-runtime-ad {
  width: 100%;
  margin: 32px auto;
}

.wf-runtime-ad--top {
  margin-top: 0;
  margin-bottom: 24px;
}

.wf-ad-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 32px 0;
}

.wf-runtime-ad--top .wf-ad-container {
  margin: 0 0 24px;
}

.wf-runtime-ad--inarticle .wf-ad-container {
  margin: 32px 0;
}

.wf-ad-container iframe {
  max-width: 100%;
}

.wf-ad {
  max-width: 100%;
  overflow: hidden;
  text-align: center;
}

.wf-ad.is-wf-ad-requested {
  min-height: 90px;
}

.wf-ad--top.is-wf-ad-requested,
.wf-ad--inarticle.is-wf-ad-requested {
  min-height: 250px;
}

.wf-ad.is-wf-ad-empty {
  min-height: 0;
  border: 0;
  background: transparent;
}

.wf-ad--anchor {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  max-width: 100%;
  background: rgba(255, 255, 255, 0.96);
}

.wf-ad--anchor.is-wf-ad-requested {
  min-height: 50px;
}

.wf-runtime-ad--nonvisual,
.wf-runtime-ad--nonvisual .wf-ad-container {
  margin: 0;
  display: block;
}

.wf-runtime-ad--nonvisual .wf-ad--premium {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  min-height: 1px;
}

.wf-only-desk { display: block; }
.wf-only-mob { display: none; }

body {
  padding-bottom: 72px;
}

@media (max-width: 767px) {
  .wf-only-desk { display: none; }
  .wf-only-mob { display: block; }

  .wf-ad-container {
    margin: 40px 0;
  }

  .wf-runtime-ad--top .wf-ad-container {
    margin-bottom: 32px;
  }

  body {
    padding-bottom: 88px;
  }
}

.wf-ad-container iframe {
  max-width: 100%;
  height: var(--wf-rendered-ad-height, revert) !important;
}
