/* Planejador Financeiro Prime v113 */
.pi-planner-page{background:linear-gradient(180deg,#f6fbff 0,#eef8fb 42%,#f8fafc 100%);color:#0f172a}.pi-planner-page .pi-menu a.active,.pi-planner-page .pi-menu a:hover{color:#08758a}.pfp-hero{position:relative;padding:76px 0 58px;overflow:hidden;background:radial-gradient(circle at 80% 14%,rgba(0,183,216,.20),transparent 32%),linear-gradient(135deg,#fff,#eefaff)}.pfp-hero:before{content:"";position:absolute;inset:auto -80px -180px auto;width:420px;height:420px;border-radius:50%;background:rgba(201,155,60,.10);filter:blur(8px)}.pfp-hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:42px;align-items:center}.pfp-hero-copy h1{margin:12px 0 16px;font-size:clamp(2.8rem,7vw,5.8rem);line-height:.92;letter-spacing:-.07em;color:#07142d}.pfp-hero-copy p{max-width:760px;color:#475569;font-weight:720;line-height:1.68;font-size:1.06rem}.pfp-hero-sub{font-size:1rem!important;color:#52657d!important}.pfp-hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin:26px 0 12px}.pfp-btn-light,.pfp-btn-secondary{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid rgba(14,165,233,.22);background:#fff;color:#0f172a;border-radius:999px;padding:12px 17px;font-weight:950;box-shadow:0 14px 34px rgba(15,23,42,.08);cursor:pointer}.pfp-btn-secondary:disabled{opacity:.45;cursor:not-allowed}.pfp-mentor-card{position:relative;overflow:hidden;border:1px solid rgba(14,165,233,.22);border-radius:34px;background:linear-gradient(135deg,rgba(255,255,255,.94),rgba(238,250,255,.88));box-shadow:0 30px 90px rgba(15,23,42,.12);padding:34px}.pfp-mentor-card:after{content:"";position:absolute;right:-70px;bottom:-88px;width:220px;height:220px;border-radius:50%;background:rgba(0,183,216,.13)}.pfp-mentor-card>*{position:relative;z-index:1}.pfp-mentor-icon{width:62px;height:62px;border-radius:22px;background:linear-gradient(135deg,#d7a83f,#f1cb72);color:#07142d;display:grid;place-items:center;font-size:1.55rem;box-shadow:0 18px 42px rgba(201,155,60,.22)}.pfp-mentor-card h2{margin:22px 0 10px;font-size:2.25rem;line-height:1;letter-spacing:-.055em;color:#07142d}.pfp-mentor-card p{color:#475569;line-height:1.65;font-weight:750}.pfp-mentor-points{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}.pfp-mentor-points span,.pfp-result-badges span{display:inline-flex;align-items:center;gap:8px;border:1px solid rgba(14,165,233,.20);background:rgba(14,165,233,.09);color:#075d73;border-radius:999px;padding:8px 11px;font-weight:950;font-size:.83rem}.pfp-philosophy,.pfp-wizard-section,.pfp-result-section{padding:54px 0}.pfp-philosophy-head{max-width:860px;margin-bottom:20px}.pfp-philosophy-head h2,.pfp-section-title h2,.pfp-wizard-intro h2{margin:8px 0 0;color:#07142d;font-size:clamp(2rem,4vw,3.35rem);line-height:.98;letter-spacing:-.06em}.pfp-philosophy-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.pfp-philosophy-grid article,.pfp-result-card,.pfp-conflicts,.pfp-final-message,.pfp-next-steps article,.pfp-wizard-shell{border:1px solid rgba(14,165,233,.18);background:rgba(255,255,255,.78);box-shadow:0 22px 60px rgba(15,23,42,.08);border-radius:26px}.pfp-philosophy-grid article{padding:20px}.pfp-philosophy-grid i{width:42px;height:42px;border-radius:15px;display:grid;place-items:center;background:#e7f8ff;color:#08758a;margin-bottom:12px}.pfp-philosophy-grid b{display:block;font-size:1.02rem;margin-bottom:6px}.pfp-philosophy-grid span{display:block;color:#64748b;font-weight:700;line-height:1.45}.pfp-wizard-shell{display:grid;grid-template-columns:.72fr 1.28fr;gap:28px;padding:28px;background:linear-gradient(135deg,rgba(255,255,255,.96),rgba(239,250,255,.86))}.pfp-wizard-intro{padding:10px}.pfp-wizard-intro p{color:#64748b;line-height:1.62;font-weight:720}.pfp-progress{height:10px;border-radius:999px;background:#dbeafe;overflow:hidden;margin:22px 0 10px}.pfp-progress span{display:block;height:100%;width:20%;border-radius:inherit;background:linear-gradient(90deg,#0ea5e9,#22d3ee);transition:.25s}.pfp-wizard-intro small{font-weight:950;color:#08758a}.pfp-form{background:#fff;border:1px solid rgba(14,165,233,.14);border-radius:24px;padding:24px}.pfp-step{display:none;border:0;margin:0;padding:0}.pfp-step.active{display:block}.pfp-step legend{font-weight:950;font-size:1.45rem;letter-spacing:-.04em;color:#07142d;margin-bottom:18px}.pfp-step-note{color:#64748b;font-weight:700;margin-top:-6px}.pfp-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.pfp-field-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}.pfp-field{display:block}.pfp-field span{display:block;font-size:.82rem;color:#334155;font-weight:900;margin-bottom:7px}.pfp-field input,.pfp-field select{width:100%;border:1px solid rgba(14,165,233,.23);background:#f8fcff;border-radius:15px;padding:13px 14px;font:inherit;font-weight:750;color:#0f172a;outline:none}.pfp-field input:focus,.pfp-field select:focus{border-color:#22bfe5;box-shadow:0 0 0 4px rgba(34,211,238,.14)}.pfp-full{margin-top:16px}.pfp-optional-box{margin-top:18px;padding:16px;border:1px dashed rgba(14,165,233,.32);border-radius:22px;background:#f8fcff}.pfp-optional-box b{display:block;color:#07142d}.pfp-optional-box>span{display:block;color:#64748b;font-weight:700;margin:5px 0 14px}.pfp-check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.pfp-check-grid label{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid rgba(14,165,233,.18);border-radius:16px;background:#f8fcff;font-weight:850;color:#334155}.pfp-check-grid input{accent-color:#0ea5e9}.pfp-commitment-card{display:flex;gap:16px;align-items:flex-start;background:linear-gradient(135deg,#eefaff,#fff);border:1px solid rgba(14,165,233,.18);padding:18px;border-radius:22px;margin-bottom:18px}.pfp-commitment-card i{width:48px;height:48px;border-radius:18px;background:#dff6ff;display:grid;place-items:center;color:#08758a;font-size:1.2rem;flex:none}.pfp-commitment-card h3{margin:0 0 6px;color:#07142d}.pfp-commitment-card p{margin:0;color:#64748b;font-weight:720;line-height:1.5}.pfp-review-box{margin-top:16px;padding:16px;border-radius:20px;background:#f8fcff;border:1px solid rgba(14,165,233,.16)}.pfp-review-box b,.pfp-review-box span{display:block}.pfp-review-box span{color:#64748b;font-weight:700;margin-top:4px}.pfp-form-actions{display:flex;justify-content:space-between;gap:12px;margin-top:24px}.hidden{display:none!important}.pfp-result-section{scroll-margin-top:90px}.pfp-result-hero{border-radius:34px;padding:34px;background:radial-gradient(circle at 90% 18%,rgba(0,183,216,.16),transparent 30%),linear-gradient(135deg,#fff,#eefaff);border:1px solid rgba(14,165,233,.20);box-shadow:0 24px 74px rgba(15,23,42,.10)}.pfp-result-hero h2{margin:8px 0 10px;font-size:clamp(2.2rem,4.6vw,4.1rem);line-height:.96;letter-spacing:-.065em;color:#07142d}.pfp-result-hero p{max-width:920px;color:#475569;font-weight:760;line-height:1.65}.pfp-result-badges{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.pfp-result-grid,.pfp-plan-grid,.pfp-next-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:18px}.pfp-wide{grid-column:1/-1}.pfp-result-card{padding:22px}.pfp-result-card h3,.pfp-conflicts h3,.pfp-final-message h3,.pfp-next-steps h3{margin:0 0 10px;color:#07142d;font-size:1.12rem;letter-spacing:-.035em}.pfp-result-card h3 i,.pfp-conflicts h3 i{color:#08758a}.pfp-result-card p,.pfp-next-steps p,.pfp-final-message p{margin:0;color:#475569;font-weight:720;line-height:1.62}.pfp-result-card ul{margin:0;padding-left:20px;color:#475569;font-weight:720;line-height:1.62}.pfp-conflicts{margin-top:18px;padding:22px;border-color:rgba(245,158,11,.28);background:linear-gradient(135deg,#fffdf4,#f8fcff)}.pfp-conflict-item{display:flex;gap:12px;align-items:flex-start;border-top:1px solid rgba(245,158,11,.16);padding-top:12px;margin-top:12px;color:#475569;font-weight:720;line-height:1.58}.pfp-conflict-item:first-child{border-top:0;margin-top:0;padding-top:0}.pfp-conflict-item i{color:#b7791f;margin-top:3px}.pfp-routes{margin-top:34px}.pfp-route-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.pfp-route{position:relative;padding:22px;border-radius:26px;background:#fff;border:1px solid rgba(14,165,233,.18);box-shadow:0 20px 54px rgba(15,23,42,.08);overflow:hidden}.pfp-route.recommended{border-color:rgba(201,155,60,.42);box-shadow:0 24px 64px rgba(201,155,60,.13)}.pfp-route.recommended:before{content:"Recomendada";position:absolute;right:16px;top:16px;background:#f7cf70;color:#07142d;border-radius:999px;padding:6px 9px;font-size:.72rem;font-weight:950}.pfp-route h3{margin:0 0 8px;color:#07142d}.pfp-route p{margin:0;color:#64748b;font-weight:720;line-height:1.55}.pfp-route small{display:block;margin-top:14px;color:#08758a;font-weight:950}.pfp-next-steps article{padding:24px}.pfp-final-message{display:flex;gap:18px;align-items:flex-start;margin-top:18px;padding:24px;background:linear-gradient(135deg,#fff,#eefaff)}.pfp-final-message>i{width:54px;height:54px;border-radius:20px;background:linear-gradient(135deg,#0ea5e9,#22d3ee);color:#fff;display:grid;place-items:center;font-size:1.35rem;flex:none}.pfp-result-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.pfp-result-actions-bottom{justify-content:center;margin-top:24px}.pfp-toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);background:#07142d;color:#fff;border-radius:999px;padding:12px 16px;font-weight:900;box-shadow:0 20px 60px rgba(15,23,42,.24);z-index:60}.pi-footer{padding:34px 0;color:#64748b}.pi-footer p{font-weight:900;color:#334155}.pi-footer small{display:block;line-height:1.55}
@media(max-width:980px){.pfp-hero-grid,.pfp-wizard-shell,.pfp-philosophy-grid,.pfp-route-grid,.pfp-result-grid,.pfp-plan-grid,.pfp-next-steps{grid-template-columns:1fr}.pfp-field-grid,.pfp-field-grid-4,.pfp-check-grid{grid-template-columns:1fr}.pfp-hero{padding-top:52px}.pfp-form-actions{flex-wrap:wrap}.pfp-form-actions button{flex:1}.pfp-hero-copy h1{font-size:3rem}.pfp-wide{grid-column:auto}}
@media(max-width:620px){.pfp-wizard-shell,.pfp-form,.pfp-result-hero{padding:18px}.pfp-hero-copy h1{font-size:2.55rem}.pfp-mentor-card h2{font-size:1.8rem}.pfp-route.recommended:before{position:static;display:inline-flex;margin-bottom:10px}.pfp-form-actions button,.pfp-hero-actions a{width:100%}}

/* v108 — refinamentos da camada server-side */
.pi-planner-page .pi-menu .pi-planner-nav-v108{background:#dff6ff;color:#007796}
.pfp-form-actions button:disabled{opacity:.66;cursor:not-allowed}
.pfp-result-hero::after{content:'Diagnóstico montado no servidor, sem armazenamento de dados pessoais nesta versão.';display:inline-flex;margin-top:12px;padding:7px 11px;border:1px solid #cfefff;border-radius:999px;background:rgba(255,255,255,.78);color:#607089;font-size:.78rem;font-weight:800}


/* v109 — refinamento de leitura do resultado */
.pfp-routes{margin-top:42px}
.pfp-routes .pfp-section-title{margin-bottom:22px}
.pfp-routes .pfp-section-title h2{margin-bottom:0;padding-bottom:2px}
.pfp-route-grid{margin-top:18px}
.pfp-route{padding:24px 24px 22px}
.pfp-route h3{line-height:1.18}
.pfp-route p,.pfp-route small,.pfp-result-card p,.pfp-result-card li,.pfp-next-steps p,.pfp-final-message p,.pfp-conflict-item span{word-break:normal;overflow-wrap:break-word;text-rendering:optimizeLegibility}
.pfp-conflicts.is-severe{border-color:rgba(220,38,38,.26);background:linear-gradient(135deg,#fff7f7,#f8fcff)}
.pfp-conflicts.is-severe h3 i{color:#b91c1c}
@media(max-width:620px){.pfp-routes{margin-top:32px}.pfp-routes .pfp-section-title{margin-bottom:16px}}

/* v110 — pausa pedagógica e convite para opinião */
.pfp-stop{display:flex;gap:18px;align-items:flex-start;margin-top:18px;padding:24px;border-radius:26px;border:1px solid rgba(14,165,233,.24);background:linear-gradient(135deg,#f5fcff,#ffffff);box-shadow:0 22px 60px rgba(15,23,42,.08)}
.pfp-stop-icon{width:58px;height:58px;border-radius:20px;background:linear-gradient(135deg,#07142d,#0b6c92);color:#fff;display:grid;place-items:center;font-size:1.45rem;flex:none;box-shadow:0 18px 45px rgba(7,20,45,.18)}
.pfp-stop h3{margin:6px 0 8px;color:#07142d;font-size:1.45rem;letter-spacing:-.045em;line-height:1.05}.pfp-stop p{margin:0;color:#475569;font-weight:760;line-height:1.62}.pfp-stop ul{margin:14px 0 0;padding-left:20px;color:#475569;font-weight:720;line-height:1.58}.pfp-stop li+li{margin-top:6px}
.pfp-feedback-card{display:grid;grid-template-columns:.9fr 1.1fr;gap:22px;margin-top:24px;padding:26px;border-radius:30px;border:1px solid rgba(14,165,233,.20);background:radial-gradient(circle at 100% 0,rgba(34,211,238,.12),transparent 35%),linear-gradient(135deg,#fff,#f1fbff);box-shadow:0 24px 74px rgba(15,23,42,.10)}
.pfp-feedback-copy h3{margin:8px 0 10px;color:#07142d;font-size:1.75rem;line-height:1.05;letter-spacing:-.05em}.pfp-feedback-copy p{margin:0;color:#52657d;font-weight:740;line-height:1.62}.pfp-feedback-form{display:grid;gap:12px}.pfp-feedback-form textarea{width:100%;min-height:118px;resize:vertical;border:1px solid rgba(14,165,233,.23);background:#f8fcff;border-radius:15px;padding:13px 14px;font:inherit;font-weight:750;color:#0f172a;outline:none}.pfp-feedback-form textarea:focus{border-color:#22bfe5;box-shadow:0 0 0 4px rgba(34,211,238,.14)}.pfp-feedback-check{display:flex;align-items:flex-start;gap:10px;color:#475569;font-size:.88rem;font-weight:750;line-height:1.45}.pfp-feedback-check input{margin-top:2px;accent-color:#0ea5e9}.pfp-feedback-status{min-height:18px;color:#08758a;font-weight:850}.pfp-hp{position:absolute!important;left:-9999px!important;opacity:0!important;width:1px!important;height:1px!important}
@media(max-width:980px){.pfp-feedback-card{grid-template-columns:1fr}.pfp-stop{flex-direction:column}.pfp-stop-icon{width:52px;height:52px}}


/* v112 — lapidação final e matriz de confiança */
.pfp-decision-board{margin-top:26px;padding:26px;border-radius:30px;border:1px solid rgba(14,165,233,.20);background:radial-gradient(circle at 100% 0,rgba(14,165,233,.10),transparent 34%),linear-gradient(135deg,#ffffff,#f4fcff);box-shadow:0 24px 74px rgba(15,23,42,.10)}
.pfp-decision-board .pfp-section-title{margin-bottom:18px}.pfp-decision-board .pfp-section-title p{margin:8px 0 0;max-width:940px;color:#64748b;font-weight:760;line-height:1.55}.pfp-decision-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.pfp-decision-card{display:flex;gap:16px;align-items:flex-start;padding:20px;border-radius:24px;border:1px solid rgba(14,165,233,.16);background:rgba(255,255,255,.86);box-shadow:0 18px 46px rgba(15,23,42,.06)}.pfp-decision-icon{width:48px;height:48px;border-radius:18px;display:grid;place-items:center;flex:none;background:linear-gradient(135deg,#e8f9ff,#ffffff);border:1px solid rgba(14,165,233,.20);color:#08758a;font-size:1.12rem}.pfp-decision-card h3{margin:0 0 8px;color:#07142d;font-size:1.14rem;letter-spacing:-.035em}.pfp-decision-card p{margin:0;color:#52657d;font-weight:740;line-height:1.58}.pfp-decision-card ul{margin:12px 0 0;padding-left:18px;color:#475569;font-weight:720;line-height:1.55}.pfp-decision-card li+li{margin-top:6px}
@media(max-width:980px){.pfp-decision-grid{grid-template-columns:1fr}.pfp-decision-card{padding:18px}}


/* v113 — Trilha de Proteção Financeira */
.pfp-protection-trail{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:18px;
  align-items:flex-start;
  margin-top:18px;
  padding:26px;
  border-radius:30px;
  border:1px solid rgba(14,165,233,.24);
  background:
    radial-gradient(circle at 100% 0,rgba(34,211,238,.13),transparent 34%),
    linear-gradient(135deg,#ffffff,#f1fbff);
  box-shadow:0 24px 70px rgba(15,23,42,.10);
}
.pfp-protection-icon{
  width:62px;
  height:62px;
  border-radius:23px;
  display:grid;
  place-items:center;
  flex:none;
  color:#06162f;
  font-size:1.5rem;
  background:linear-gradient(135deg,#f3d17a,#d7a83f);
  box-shadow:0 18px 42px rgba(201,155,60,.20);
}
.pfp-protection-content h3{
  margin:7px 0 6px;
  color:#07142d;
  font-size:1.62rem;
  line-height:1.05;
  letter-spacing:-.05em;
}
.pfp-protection-sub{
  margin:0 0 8px!important;
  color:#08758a!important;
  font-weight:900!important;
}
.pfp-protection-content p{
  margin:0;
  color:#475569;
  font-weight:760;
  line-height:1.62;
}
.pfp-protection-content ul{
  margin:15px 0 0;
  padding-left:20px;
  color:#334155;
  font-weight:740;
  line-height:1.58;
}
.pfp-protection-content li+li{margin-top:6px}
.pfp-protection-content small{
  display:block;
  margin-top:12px;
  color:#64748b;
  font-weight:780;
  line-height:1.45;
}
.pfp-protection-content .pfp-result-actions{
  justify-content:flex-start;
  margin-top:16px;
}
@media(max-width:700px){
  .pfp-protection-trail{grid-template-columns:1fr;padding:22px}
  .pfp-protection-icon{width:56px;height:56px}
}

.pfp-route.has-caution{border-color:rgba(245,158,11,.34)}
.pfp-route-caution{display:flex;gap:10px;align-items:flex-start;margin-top:16px;padding:12px 13px;border-radius:16px;background:#fff8e6;border:1px solid rgba(245,158,11,.28);color:#7c4a03;font-weight:850;line-height:1.45;font-size:.9rem}
.pfp-route-caution i{margin-top:2px;color:#b7791f;flex:none}
