/* ─── NAMESPACE: todos os estilos dentro de #mpb para não conflitar com o tema WordPress ─── */
  #mpb * { box-sizing: border-box; margin: 0; padding: 0; }

  #mpb {
    --navy: #001254;
    --navy-mid: #112777;
    --blue: #0967FD;
    --blue-light: #EAF2FF;
    --gold: #0967FD;
    --gold-light: #EAF2FF;
    --cream: #F7F9FF;
    --text: #404040;
    --text-muted: #667085;
    --border: #DDE4F3;
    --white: #FFFFFF;
    --green: #0D7A5F;
    --green-light: #D6F5EC;
    --red: #C0392B;
    --red-light: #FDECEA;

    font-family: 'Roboto', sans-serif;
    color: var(--text);
    background: var(--cream);
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 0 60px 0;
    line-height: 1.7;
  }

  #mpb h1, #mpb h2, #mpb h3 {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.25;
  }

  #mpb .blog-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
    padding: 56px 48px;
    border-radius: 0 0 32px 32px;
    margin-bottom: 48px;
    position: relative;
    overflow: hidden;
  }

  #mpb .blog-hero::before {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 260px; height: 260px;
    border-radius: 50%;
    background: rgba(9, 103, 253, 0.18);
  }

  #mpb .blog-hero::after {
    content: '';
    position: absolute;
    bottom: -60px; left: 20%;
    width: 180px; height: 180px;
    border-radius: 50%;
    background: rgba(114, 169, 255, 0.16);
  }

  #mpb .blog-hero .tag {
    display: inline-block;
    background: rgba(9,103,253,0.2);
    color: #A9CBFF;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 18px;
    border: 1px solid rgba(114,169,255,0.4);
  }

  #mpb .blog-hero h1 {
    color: #FFFFFF;
    font-size: clamp(1.6rem, 3vw, 2.8rem);
    margin-bottom: 14px;
    max-width: 660px;
    position: relative;
    z-index: 1;
  }

  #mpb .blog-hero p {
    color: rgba(255,255,255,0.72);
    font-size: 1rem;
    max-width: 500px;
    font-weight: 300;
    position: relative;
    z-index: 1;
  }

  #mpb .content-section {
    padding: 0 32px;
    margin-bottom: 40px;
  }

  #mpb .content-section p a {
    text-decoration: none;
    color: var(--blue);
  }

  #mpb p {
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 16px;
    font-weight: 300;
  }

  #mpb h2 {
    font-size: clamp(1.3rem, 2.5vw, 1.75rem);
    margin-bottom: 16px;
    margin-top: 8px;
  }

  #mpb h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--navy-mid);
  }

  #mpb .highlight-box {
    background: var(--blue-light);
    border-left: 3px solid var(--blue);
    padding: 18px 22px;
    border-radius: 0 12px 12px 0;
    margin: 24px 0;
  }

  #mpb .highlight-box p {
    color: var(--navy);
    font-weight: 400;
    margin-bottom: 0;
    font-size: 0.95rem;
  }

  #mpb .highlight-box strong {
    color: var(--blue);
  }

  #mpb .gold-box {
    background: var(--gold-light);
    border-left: 3px solid var(--gold);
    padding: 18px 22px;
    border-radius: 0 12px 12px 0;
    margin: 24px 0;
  }

  #mpb .gold-box p {
    color: var(--navy);
    font-weight: 400;
    margin-bottom: 0;
    font-size: 0.95rem;
  }

  /* ─── CALCULADORA: MÓDULO 1 (Segmento + Investimento Mínimo) ─── */
  #mpb .calc-module {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    margin: 32px 0;
    box-shadow: 0 4px 24px rgba(0,18,84,0.08);
  }

  #mpb .calc-header {
    background: var(--navy);
    padding: 20px 28px;
    display: flex;
    align-items: center;
    gap: 12px;
  }

  #mpb .calc-header .calc-icon {
    width: 36px; height: 36px;
    background: rgba(9,103,253,0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
  }

  #mpb .calc-header h3 {
    color: white;
    font-size: 1rem;
    margin: 0;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
  }

  #mpb .calc-header span {
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
    display: block;
  }

  #mpb .calc-body {
    padding: 28px;
  }

  #mpb .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 24px;
  }

  @media (max-width: 560px) {
    #mpb .form-grid { grid-template-columns: 1fr; }
    #mpb .blog-hero { padding: 36px 24px; }
    #mpb .content-section { padding: 0 16px; }
    #mpb .calc-body { padding: 20px; }
    #mpb .results-grid { grid-template-columns: 1fr 1fr !important; }
  }

  #mpb .form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
  }

  #mpb .form-group.full-width { grid-column: 1 / -1; }

  #mpb label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.6px;
  }

  #mpb label .label-hint {
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    color: #9AA0B8;
    font-size: 0.72rem;
    margin-left: 4px;
  }

  #mpb input[type="number"],
  #mpb select {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-family: 'Roboto', sans-serif;
    font-size: 0.95rem;
    color: var(--text);
    background: var(--cream);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
  }

  #mpb input[type="number"]:focus,
  #mpb select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(9,103,253,0.13);
    background: white;
  }

  #mpb select {
    padding-right: 36px;
    cursor: pointer;
  }

  /* ─── TABS GOOGLE / META ─── */
  #mpb .platform-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    background: var(--cream);
    padding: 6px;
    border-radius: 12px;
    width: fit-content;
  }

  #mpb .tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    border: none;
    border-radius: 8px;
    font-family: 'Roboto', sans-serif;
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    background: transparent;
    color: var(--text-muted);
  }

  #mpb .tab-btn.active {
    background: var(--white);
    color: var(--navy);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }

  #mpb .tab-btn .tab-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
  }

  #mpb .tab-btn[data-platform="google"] .tab-dot { background: #4285F4; }
  #mpb .tab-btn[data-platform="meta"] .tab-dot { background: #0866FF; }

  #mpb .tab-btn[data-platform="meta"].active .tab-dot { background: #0866FF; }

  #mpb .platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    margin-bottom: 16px;
  }

  #mpb .badge-google {
    background: #EAF0FF;
    color: #0967FD;
  }

  #mpb .badge-meta {
    background: #EAF3FF;
    color: #0866FF;
  }

  /* ─── RESULTS PANEL ─── */
  #mpb .results-panel {
    background: var(--navy);
    border-radius: 14px;
    padding: 24px;
    margin-top: 8px;
  }

  #mpb .results-panel h4 {
    font-family: 'Roboto', sans-serif;
    color: rgba(255,255,255,0.55);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 18px;
  }

  #mpb .results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 18px;
  }

  #mpb .result-card {
    background: rgba(255,255,255,0.07);
    border-radius: 10px;
    padding: 14px 16px;
    border: 1px solid rgba(255,255,255,0.08);
  }

  #mpb .result-card .r-label {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.45);
    font-weight: 500;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  #mpb .result-card .r-value {
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
    line-height: 1;
  }

  #mpb .result-card .r-sub {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.4);
    margin-top: 4px;
  }

  #mpb .result-card.highlight-result {
    background: rgba(9,103,253,0.18);
    border-color: rgba(114,169,255,0.4);
  }

  #mpb .result-card.highlight-result .r-value {
    color: #A9CBFF;
  }

  #mpb .roi-bar-wrapper {
    margin-top: 4px;
  }

  #mpb .roi-bar-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
  }

  #mpb .roi-bar-label span {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.5);
  }

  #mpb .roi-bar-label strong {
    font-size: 0.88rem;
    color: white;
  }

  #mpb .roi-bar-track {
    height: 7px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    overflow: hidden;
  }

  #mpb .roi-bar-fill {
    height: 100%;
    border-radius: 10px;
    background: linear-gradient(90deg, var(--blue) 0%, #72A9FF 100%);
    transition: width 0.6s cubic-bezier(0.4,0,0.2,1);
    width: 0%;
  }

  #mpb .viability-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 10px;
    margin-top: 14px;
    font-size: 0.83rem;
    font-weight: 500;
  }

  #mpb .viab-green { background: rgba(13,122,95,0.2); color: #4DF0C0; border: 1px solid rgba(13,122,95,0.3); }
  #mpb .viab-yellow { background: rgba(9,103,253,0.2); color: #A9CBFF; border: 1px solid rgba(114,169,255,0.4); }
  #mpb .viab-red { background: rgba(192,57,43,0.2); color: #FF7B6B; border: 1px solid rgba(192,57,43,0.3); }

  /* ─── REFERÊNCIA DE CPL ─── */
  #mpb .cpl-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    margin-top: 8px;
  }

  #mpb .cpl-table thead th {
    text-align: left;
    padding: 10px 14px;
    background: var(--navy);
    color: rgba(255,255,255,0.65);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  #mpb .cpl-table thead th:first-child { border-radius: 8px 0 0 0; }
  #mpb .cpl-table thead th:last-child { border-radius: 0 8px 0 0; }

  #mpb .cpl-table tbody tr:nth-child(even) td { background: rgba(0,18,84,0.03); }

  #mpb .cpl-table tbody td {
    padding: 11px 14px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
  }

  #mpb .cpl-table tbody td:first-child { font-weight: 500; }

  #mpb .cpl-note {
    color: var(--text-muted);
    font-size: 0.72rem;
    margin: 12px 0 0;
  }

  #mpb .range-pill {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
  }

  #mpb .pill-low { background: var(--green-light); color: var(--green); }
  #mpb .pill-mid { background: var(--gold-light); color: var(--gold); }
  #mpb .pill-high { background: var(--red-light); color: var(--red); }

  /* ─── MÓDULO 1: REFERÊNCIA RÁPIDA ─── */
  #mpb .segment-ref-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
    margin-top: 8px;
  }

  #mpb .seg-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    padding: 14px;
    cursor: pointer;
    transition: all 0.2s;
  }

  #mpb .seg-card:hover, #mpb .seg-card.active {
    border-color: var(--blue);
    background: var(--blue-light);
  }

  #mpb .seg-card .seg-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
  }

  #mpb .seg-card .seg-cpl {
    font-size: 0.72rem;
    color: var(--text-muted);
  }

  #mpb .seg-card .seg-cpl strong {
    color: var(--gold);
    font-size: 0.88rem;
  }

  /* ─── CTA FINAL ─── */
  #mpb .cta-block {
    background: linear-gradient(135deg, var(--navy) 0%, #1A3358 100%);
    border-radius: 20px;
    padding: 40px 36px;
    text-align: center;
    margin: 40px 0 0;
    position: relative;
    overflow: hidden;
  }

  #mpb .cta-block::before {
    content: '';
    position: absolute;
    top: -30px; right: -30px;
    width: 150px; height: 150px;
    border-radius: 50%;
    background: rgba(201,136,26,0.12);
  }

  #mpb .cta-block h2 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
  }

  #mpb .cta-block p {
    color: rgba(255,255,255,0.65);
    margin-bottom: 24px;
    font-size: 0.95rem;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
  }

  #mpb .cta-btn {
    display: inline-block;
    background: var(--gold);
    color: white;
    padding: 13px 32px;
    border-radius: 10px;
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s;
    position: relative;
    z-index: 1;
    cursor: pointer;
    border: none;
  }

  #mpb .cta-btn:hover {
    background: var(--navy-mid);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(9,103,253,0.32);
  }

  #mpb .divider {
    height: 1px;
    background: var(--border);
    margin: 40px 32px;
  }

  #mpb .section-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--navy);
    color: white;
    font-size: 0.78rem;
    font-weight: 700;
    margin-right: 10px;
    flex-shrink: 0;
    vertical-align: middle;
    font-family: 'Roboto', sans-serif;
  }

  #mpb h2.numbered {
    display: flex;
    align-items: flex-start;
    gap: 0;
  }

  #mpb .calc-disclaimer {
    text-align: center;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.35);
    margin-top: 14px;
    font-style: italic;
  }

  #mpb .input-prefix-wrap {
    position: relative;
  }

  #mpb .input-prefix {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    pointer-events: none;
  }

  #mpb .input-prefix-wrap input {
    padding-left: 30px;
  }

  #mpb .input-suffix-wrap {
    position: relative;
  }

  #mpb .input-suffix {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    pointer-events: none;
  }

  #mpb .input-suffix-wrap input {
    padding-right: 32px;
  }

/* Google Tag Manager: fallback sem JavaScript */
.gtm-noscript {
  display: none;
  visibility: hidden;
}

/* Modal de contato */
[hidden]{display:none!important}body.modal-open{overflow:hidden}.hp-field{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.lead-modal{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:24px;font-family:'Roboto',sans-serif}.lead-modal__backdrop{position:absolute;inset:0;border:0;background:rgba(0,10,48,.78);backdrop-filter:blur(10px);cursor:pointer}.lead-modal__dialog{position:relative;z-index:1;width:min(960px,100%);max-height:calc(100svh - 48px);overflow:auto;display:grid;grid-template-columns:.82fr 1.18fr;background:#fff;border-radius:20px;box-shadow:0 36px 100px rgba(0,18,84,.38)}.lead-modal__close{position:absolute;z-index:3;top:14px;right:16px;width:42px;height:42px;border:0;border-radius:50%;background:rgba(0,18,84,.09);color:#001254;font:400 28px/1 Arial,sans-serif;cursor:pointer}.lead-modal__close:hover{background:rgba(0,18,84,.16)}.lead-modal__intro{padding:56px 42px;color:#fff;background:radial-gradient(circle at 10% 5%,rgba(9,103,253,.5),transparent 42%),#001254}.lead-modal__intro h2{margin:18px 0 22px;color:#fff;font:700 clamp(2rem,4vw,3rem)/1.08 'Raleway',sans-serif}.lead-modal__intro p{margin:0;color:rgba(255,255,255,.78);line-height:1.65}.lead-form--modal{padding:48px 42px 36px;color:#001254}.modal-field-row{display:grid;grid-template-columns:1fr 1fr;gap:18px}.modal-field{margin-bottom:20px}.modal-field label{display:flex;justify-content:space-between;margin-bottom:8px;color:#001254;font:700 11px 'Raleway',sans-serif;letter-spacing:.05em;text-transform:uppercase}.modal-field label span{color:#77809a;font-weight:500;text-transform:none}.modal-field input,.modal-field select,.modal-field textarea{box-sizing:border-box;width:100%;border:1px solid #d8deed;border-radius:9px;background:#f8faff;padding:12px 13px;color:#101a3a;font:400 16px 'Roboto',sans-serif;outline:0}.modal-field textarea{min-height:92px;resize:vertical}.modal-field input:focus,.modal-field select:focus,.modal-field textarea:focus{border-color:#0967fd;box-shadow:0 0 0 3px rgba(9,103,253,.13)}.modal-submit{width:100%;border:0;border-radius:9px;padding:15px 20px;background:#0967fd;color:#fff;font:700 15px 'Raleway',sans-serif;cursor:pointer}.modal-submit:hover{background:#001254}.modal-submit[disabled]{cursor:wait;opacity:.65}.modal-form-note{margin:12px 0 0;text-align:center;color:#77809a;font-size:11px}.form-status{min-height:1.4em;margin:10px 0 0;text-align:center;font-size:13px}.form-status.is-loading{color:#667085}.form-status.is-success{color:#16733a}.form-status.is-error{color:#a52a2a}.lead-modal button:focus-visible{outline:3px solid rgba(9,103,253,.4);outline-offset:3px}
@media(max-width:820px){.lead-modal__dialog{grid-template-columns:1fr}.lead-modal__intro{padding:42px 32px 30px}.lead-form--modal{padding:36px 32px 28px}}
@media(max-width:560px){.lead-modal{padding:10px}.lead-modal__dialog{max-height:calc(100svh - 20px);border-radius:14px}.lead-modal__intro{padding:34px 22px 24px}.lead-modal__intro h2{margin:14px 0;font-size:1.8rem}.lead-form--modal{padding:28px 22px 22px}.modal-field-row{grid-template-columns:1fr;gap:0}.lead-modal__close{top:9px;right:10px}}

/* Botão flutuante de contato */
#mpb .contact-float{position:fixed;z-index:40;right:max(22px,env(safe-area-inset-right));bottom:max(22px,env(safe-area-inset-bottom));display:flex;align-items:center;gap:12px;min-width:278px;padding:11px 14px 11px 11px;border:1px solid rgba(255,255,255,.28);border-radius:18px;background:linear-gradient(135deg,#0b76ff 0%,#064bd8 58%,#001254 100%);color:#fff;text-decoration:none;box-shadow:0 16px 42px rgba(0,38,138,.34),0 4px 12px rgba(0,18,84,.2);isolation:isolate;overflow:hidden;transition:transform .22s ease,box-shadow .22s ease}
#mpb .contact-float::before{content:"";position:absolute;z-index:-1;inset:-70%;background:linear-gradient(110deg,transparent 38%,rgba(255,255,255,.27) 49%,transparent 60%);transform:translateX(-55%) rotate(8deg);animation:contact-float-shine 4.5s ease-in-out infinite}
#mpb .contact-float::after{content:"";position:absolute;right:-22px;top:-26px;width:92px;height:92px;border-radius:50%;background:rgba(255,255,255,.1)}
#mpb .contact-float__icon{display:grid;place-items:center;flex:0 0 48px;width:48px;height:48px;border-radius:14px;background:#25d366;color:#fff;box-shadow:0 8px 20px rgba(0,0,0,.2);font-size:25px}
#mpb .contact-float__copy{display:flex;flex:1;flex-direction:column;line-height:1.12}
#mpb .contact-float__copy small{margin-bottom:5px;color:rgba(255,255,255,.74);font:500 10px 'Raleway',sans-serif;letter-spacing:.08em;text-transform:uppercase}
#mpb .contact-float__copy strong{color:#fff;font:700 14px 'Raleway',sans-serif}
#mpb .contact-float__arrow{position:relative;z-index:1;font-size:19px;transition:transform .2s ease}
#mpb .contact-float:hover{transform:translateY(-4px);box-shadow:0 22px 52px rgba(0,38,138,.42),0 6px 16px rgba(0,18,84,.24)}
#mpb .contact-float:hover .contact-float__arrow{transform:translateX(3px)}
#mpb .contact-float:focus-visible{outline:3px solid rgba(9,103,253,.42);outline-offset:4px}
@keyframes contact-float-shine{0%,62%{transform:translateX(-55%) rotate(8deg)}82%,100%{transform:translateX(55%) rotate(8deg)}}
@media(max-width:560px){#mpb .contact-float{right:max(14px,env(safe-area-inset-right));bottom:max(14px,env(safe-area-inset-bottom));min-width:0;width:62px;height:62px;padding:7px;border-radius:19px}#mpb .contact-float__icon{flex-basis:48px}#mpb .contact-float__copy,#mpb .contact-float__arrow{display:none}}
@media(prefers-reduced-motion:reduce){#mpb .contact-float::before{animation:none}#mpb .contact-float{transition:none}}
/* ─── JORNADA, CTAs E MICROINTERAÇÕES ─── */
body.calculadora-midia-paga {
  margin: 0;
  background: #EEF3FF;
}

#mpb {
  box-shadow: 0 24px 80px rgba(0, 18, 84, 0.08);
}

#mpb .table-scroll {
  width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-color: var(--blue) var(--blue-light);
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

#mpb .table-scroll:focus-visible {
  outline: 3px solid rgba(9, 103, 253, 0.28);
  outline-offset: 4px;
  border-radius: 10px;
}

#mpb .journey-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 24px 26px;
  margin: 28px 0 4px;
  border: 1px solid rgba(9, 103, 253, 0.16);
  border-radius: 18px;
  background: linear-gradient(135deg, #FFFFFF 0%, #F4F8FF 100%);
  box-shadow: 0 12px 34px rgba(0, 18, 84, 0.08);
}

#mpb .journey-cta--result {
  grid-template-columns: auto minmax(0, 1fr) auto;
  background: linear-gradient(135deg, var(--blue-light) 0%, #FFFFFF 88%);
  border-color: rgba(9, 103, 253, 0.24);
}

#mpb .journey-cta__icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--navy);
  color: #FFFFFF;
  font-size: 1.1rem;
  box-shadow: 0 10px 22px rgba(0, 18, 84, 0.2);
}

#mpb .journey-cta__eyebrow,
#mpb .cta-block__eyebrow {
  display: block;
  margin-bottom: 5px;
  color: var(--blue);
  font-family: 'Raleway', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

#mpb .journey-cta h3 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

#mpb .journey-cta p {
  margin: 6px 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

#mpb .cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  overflow: hidden;
  isolation: isolate;
  white-space: nowrap;
  transition: transform 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}

#mpb .cta-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.28) 48%, transparent 66%);
  transform: translateX(-130%);
  transition: transform 650ms ease;
}

#mpb .cta-btn--compact {
  padding: 12px 20px;
  font-size: 0.86rem;
}

#mpb .cta-btn--primary {
  padding: 14px 28px;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 10px 28px rgba(9,103,253,0.3);
}

#mpb .cta-block {
  background: radial-gradient(circle at 88% 5%, rgba(114,169,255,0.25), transparent 28%),
              linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 48px 36px;
  border: 1px solid rgba(114,169,255,0.18);
  box-shadow: 0 22px 52px rgba(0,18,84,0.2);
}

#mpb .cta-block::before {
  background: rgba(9,103,253,0.18);
}

#mpb .cta-block__eyebrow {
  position: relative;
  z-index: 1;
  color: #A9CBFF;
  margin-bottom: 10px;
}

#mpb .cta-block h2 {
  font-size: clamp(1.45rem, 3vw, 2rem);
}

#mpb .cta-block p {
  max-width: 590px;
}

#mpb .cta-block__trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  position: relative;
  z-index: 1;
  margin-top: 15px;
  color: rgba(255,255,255,0.62);
  font-size: 0.76rem;
}

#mpb .site-exit__brand {
  display: flex;
  justify-content: center;
  margin: 34px auto 8px;
}

#mpb .site-exit__logo {
  display: block;
  width: min(180px, 55vw);
  height: auto;
  object-fit: contain;
}

#mpb .site-exit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px 14px;
  margin: 24px auto 0;
  color: var(--text-muted);
  font-size: 0.84rem;
  text-align: center;
}

#mpb .site-exit__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  color: var(--navy);
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  text-decoration: none;
}

#mpb .site-exit__link span {
  color: var(--blue);
  transition: transform 180ms ease;
}

#mpb .tab-btn,
#mpb input[type="number"],
#mpb select,
#mpb .result-card,
#mpb .calc-module,
#mpb .highlight-box,
#mpb .gold-box {
  transition-duration: 220ms;
  transition-timing-function: ease;
}

#mpb .tab-btn:focus-visible,
#mpb .cta-btn:focus-visible,
#mpb .site-exit__link:focus-visible {
  outline: 3px solid rgba(9,103,253,0.4);
  outline-offset: 3px;
}

#mpb .blog-hero .tag,
#mpb .blog-hero h1,
#mpb .blog-hero p {
  animation: mpb-hero-in 700ms cubic-bezier(.2,.75,.25,1) both;
}

#mpb .blog-hero h1 { animation-delay: 90ms; }
#mpb .blog-hero p { animation-delay: 170ms; }

#mpb.motion-ready .reveal-item {
  opacity: 1;
  transform: none;
}

#mpb.motion-ready .reveal-item.is-visible {
  animation: mpb-reveal-in 650ms cubic-bezier(.2,.75,.25,1) both;
}

#mpb .results-panel.is-updating .result-card {
  animation: mpb-result-update 360ms ease both;
}

#mpb .results-panel.is-updating .result-card:nth-child(2) { animation-delay: 25ms; }
#mpb .results-panel.is-updating .result-card:nth-child(3) { animation-delay: 50ms; }
#mpb .results-panel.is-updating .result-card:nth-child(4) { animation-delay: 75ms; }
#mpb .results-panel.is-updating .result-card:nth-child(5) { animation-delay: 100ms; }
#mpb .results-panel.is-updating .result-card:nth-child(6) { animation-delay: 125ms; }

@keyframes mpb-hero-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes mpb-result-update {
  0% { transform: translateY(4px); border-color: rgba(114,169,255,0.36); }
  100% { transform: translateY(0); }
}
@keyframes mpb-reveal-in {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (hover: hover) and (pointer: fine) {
  #mpb .cta-btn:hover {
    background: var(--navy-mid);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(9,103,253,0.34);
  }

  #mpb .cta-btn:hover::after { transform: translateX(130%); }
  #mpb .journey-cta:hover { transform: translateY(-2px); box-shadow: 0 17px 42px rgba(0,18,84,0.12); }
  #mpb .result-card:hover { transform: translateY(-2px); border-color: rgba(114,169,255,0.35); }
  #mpb .site-exit__link:hover { color: var(--blue); }
  #mpb .site-exit__link:hover span { transform: translateX(3px); }
}

@media (max-width: 760px) {
  body.calculadora-midia-paga { background: var(--cream); }

  #mpb {
    width: 100%;
    box-shadow: none;
  }

  #mpb .blog-hero {
    padding: 42px 24px;
    margin-bottom: 38px;
    border-radius: 0 0 24px 24px;
  }

  #mpb .content-section {
    padding: 0 20px;
    margin-bottom: 34px;
  }

  #mpb .divider { margin: 32px 20px; }

  #mpb .form-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  #mpb .form-group.full-width { grid-column: auto; }

  #mpb input[type="number"],
  #mpb select { min-height: 48px; font-size: 1rem; }

  #mpb .calc-module {
    margin: 24px 0;
    border-radius: 16px;
  }

  #mpb .calc-header { padding: 18px 20px; }
  #mpb .calc-body { padding: 20px; }

  #mpb .platform-tabs {
    width: 100%;
  }

  #mpb .tab-btn {
    flex: 1 1 0;
    justify-content: center;
    min-height: 44px;
    padding-inline: 12px;
  }

  #mpb .table-scroll {
    width: calc(100% + 40px);
    margin-inline: -20px;
    padding-inline: 20px;
    box-shadow: inset -18px 0 18px -22px rgba(0,18,84,0.48);
  }

  #mpb .cpl-table { min-width: 720px; }

  #mpb .results-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px;
  }

  #mpb .result-card { min-width: 0; padding: 14px 12px; }
  #mpb .result-card .r-value { font-size: clamp(1.05rem, 5vw, 1.25rem); overflow-wrap: anywhere; }
  #mpb .roi-bar-label { flex-wrap: wrap; gap: 6px 12px; }

  #mpb .journey-cta,
  #mpb .journey-cta--result {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 18px;
    padding: 22px;
  }

  #mpb .journey-cta__icon { width: 46px; height: 46px; }

  #mpb .journey-cta .cta-btn,
  #mpb .cta-block .cta-btn {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  #mpb .cta-block {
    padding: 38px 24px;
    border-radius: 18px;
  }


#mpb .site-exit {
    flex-direction: column;
    gap: 4px;
  }
}

@media (max-width: 420px) {
  #mpb .blog-hero { padding: 34px 20px; }
  #mpb .content-section { padding-inline: 16px; }
  #mpb .divider { margin-inline: 16px; }
  #mpb .calc-body { padding: 16px; }
  #mpb .calc-header { align-items: flex-start; padding: 16px; }
  #mpb .calc-header .calc-icon { width: 34px; height: 34px; }
  #mpb .results-panel { padding: 18px 16px; }
  #mpb .results-grid { grid-template-columns: 1fr !important; }
  #mpb .table-scroll { width: calc(100% + 32px); margin-inline: -16px; padding-inline: 16px; }
  #mpb .journey-cta { padding: 20px 18px; border-radius: 16px; }
  #mpb .cta-block { padding: 34px 18px; }
  #mpb .viability-badge { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  #mpb *,
  #mpb *::before,
  #mpb *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  #mpb.motion-ready .reveal-item {
    opacity: 1;
    transform: none;
  }
}

/* Ajustes do formulário de diagnóstico */
#mpb .cta-btn,
#mpb .contact-float,
.modal-submit { border-radius: 10px; }

/* CTAs sem borda externa; demais efeitos visuais preservados */
#mpb .cta-btn,
#mpb .cta-btn--primary,
#mpb .contact-float,
.modal-submit {
  border: 0;
}

.modal-field input[type="radio"] { width: 17px; height: 17px; margin: 0; accent-color: #0967fd; box-shadow: none; }
.investment-field { min-width: 0; padding: 0; border: 0; }
.investment-field legend { margin-bottom: 10px; color: #001254; font: 700 11px 'Raleway', sans-serif; letter-spacing: .05em; text-transform: uppercase; }
.modal-field .investment-option { display: flex; align-items: center; justify-content: flex-start; gap: 10px; margin: 0 0 8px; padding: 10px 12px; border: 1px solid #d8deed; border-radius: 10px; background: #f8faff; cursor: pointer; text-transform: none; transition: border-color .18s ease, background-color .18s ease; }
.modal-field .investment-option:hover { border-color: #96baff; background: #f2f6ff; }
.modal-field .investment-option span { color: #334064; font: 500 14px 'Roboto', sans-serif; text-transform: none; }
