/* MICP — Quando o MICP pode ser útil */
.page-when-useful{background:var(--bg);}

/* Abertura editorial sem imagem: preserva o respiro do header,
   reduz o peso tipográfico e mantém a introdução como um bloco único. */
.useful-hero{
  min-height:auto;
  display:flex;
  align-items:flex-start;
  padding:132px 8vw 118px;
  background:linear-gradient(135deg,#f7f3ec 0%,#eadfce 100%);
}
.useful-hero__inner{max-width:900px;}
.useful-hero .eyebrow{margin-bottom:18px;}
.useful-hero .hero-title{
  max-width:860px!important;
  margin:0!important;
  font-size:30px!important;
  line-height:1.16!important;
  letter-spacing:-.015em!important;
}
.useful-rule{width:44px;height:2px;background:var(--gold);margin:10px 0 22px;}
.useful-hero__lead{
  max-width:760px;
  font-size:18px;
  line-height:1.5;
  margin:0 0 24px;
  color:#2d2b28;
}
.useful-hero__copy{max-width:820px;}
.useful-hero__copy p{
  font-size:15.5px;
  line-height:1.68;
  margin:0 0 15px;
  color:#171513;
}
.useful-hero__copy p strong{
  font-size:16px;
  font-weight:700;
  line-height:1.55;
  display:block;
  margin:4px 0 2px;
}
.useful-hero__copy p:last-child{margin-bottom:0;}

/* A seção seguinte se aproxima da abertura sem eliminar a separação visual. */
body.page-when-useful .useful-grid{
  padding-top:42px!important;
  padding-left:8vw;
  padding-right:8vw;
  background:#efe8dc;
}
.useful-grid__head{max-width:800px;margin-bottom:38px;}
.useful-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;}
.useful-card{display:flex;flex-direction:column;min-height:315px;padding:34px 30px;background:#f8f4ed;border-top:3px solid var(--gold);transition:transform .2s ease,box-shadow .2s ease;}
.useful-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(37,0,7,.08);}
.useful-card h3{margin:0 0 10px;font-family:var(--serif);font-size:29px;line-height:1.18;font-weight:400;}
.useful-card p{margin:0 0 28px;font-size:16px;line-height:1.65;}
.useful-card__link{margin-top:auto;color:var(--gold);font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;}
.useful-card--soon{opacity:.76;}
.useful-card--soon .useful-card__link{color:#6f685f;}
.useful-detail-hero{
  min-height:590px;
  display:flex;
  align-items:flex-end;
  padding:150px 8vw 82px;
  background:linear-gradient(135deg,#f7f3ec 0%,#eadfce 100%);
}
.useful-detail-hero__inner{max-width:850px;}
.useful-detail-hero .hero-title{font-size:68px;line-height:1.02;max-width:820px;margin:0 0 26px;}
.useful-detail-hero__lead{max-width:720px;font-size:20px;line-height:1.58;margin:0 0 34px;color:#2d2b28;}
.useful-detail-hero .btn{display:inline-flex;align-items:center;gap:12px;background:var(--wine);color:#fff;padding:20px 26px;}
.useful-copy{padding-left:8vw;padding-right:8vw;}
.useful-copy__inner{max-width:820px;}
.useful-copy h2{font-family:var(--serif);font-size:44px;line-height:1.12;font-weight:400;margin:0 0 28px;}
.useful-copy p{max-width:760px;font-size:16px;line-height:1.78;margin:0 0 16px;}
.useful-copy--soft{background:#efe8dc;}
.useful-points{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-top:36px;}
.useful-point{padding:28px;border-left:2px solid var(--gold);background:rgba(255,255,255,.44);}
.useful-point__question{display:block;margin-bottom:10px;font-size:12px;line-height:1.4;letter-spacing:.08em;text-transform:uppercase;color:var(--gold);}
.useful-point strong{display:block;margin-bottom:8px;font-size:15px;letter-spacing:.03em;text-transform:uppercase;}
.useful-point p{font-size:16px;line-height:1.55;margin:0;}
.useful-application{padding-left:8vw;padding-right:8vw;background:var(--wine);color:#fff;}
.useful-application__inner{display:grid;grid-template-columns:1.35fr .65fr;align-items:center;gap:50px;max-width:1120px;margin:0 auto;}
.useful-application h2{font-family:var(--serif);font-size:46px;line-height:1.1;font-weight:400;margin:0 0 10px;}
.useful-application p{font-size:18px;line-height:1.68;margin:0;max-width:720px;}
.useful-application .btn{justify-self:end;background:var(--gold);color:#fff;padding:20px 28px;}
.related-situations{padding-left:8vw;padding-right:8vw;}
.related-situations__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:32px;}
.related-situation{padding:26px 26px 24px;border:1px solid rgba(37,0,7,.16);min-height:160px;}
.related-situation h3{font-family:var(--serif);font-size:24px;line-height:1.2;font-weight:400;margin:0 0 14px;}
.related-situation span{font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--gold);}
.home-useful-link{display:inline-flex;margin-top:20px;color:var(--gold);font-weight:800;font-size:12px;letter-spacing:.05em;text-transform:uppercase;}
@media(max-width:1100px){
  .useful-hero,.useful-detail-hero{min-height:auto;padding:102px 24px 92px;background:linear-gradient(135deg,#f7f3ec 0%,#eadfce 100%);}
  .useful-hero .hero-title{font-size:30px!important;line-height:1.16!important;}
  .useful-detail-hero .hero-title{font-size:48px;}
  .useful-grid,.useful-copy,.useful-application,.related-situations{padding-left:24px;padding-right:24px;}
  body.page-when-useful .useful-grid{padding-top:38px!important;}
  .useful-cards,.related-situations__grid{grid-template-columns:1fr;}
  .useful-points{grid-template-columns:1fr;}
  .useful-application__inner{grid-template-columns:1fr;}
  .useful-application .btn{justify-self:start;}
}
@media(max-width:620px){
  .useful-hero,.useful-detail-hero{padding-top:82px;padding-bottom:64px;}
  .useful-hero .hero-title{font-size:28px!important;line-height:1.18!important;}
  .useful-detail-hero .hero-title{font-size:38px;}
  .useful-hero__lead,.useful-detail-hero__lead{font-size:17px;}
  .useful-hero__copy p{font-size:15.5px;line-height:1.65;}
  .useful-copy h2,.useful-application h2{font-size:34px;}
  .useful-copy p,.useful-application p{font-size:16px;}
  .useful-card{min-height:0;}
}


/* v305 — Transição da abertura no padrão de A Origem do Método */
body.page-when-useful .useful-hero{
  position:relative;
  overflow:hidden;
  border-bottom:0!important;
  padding-bottom:132px;
}
body.page-when-useful .useful-hero::after{
  content:"";
  display:block;
  position:absolute;
  left:0;
  right:0;
  bottom:-1px;
  height:clamp(120px,10vw,172px);
  z-index:1;
  pointer-events:none;
  background:linear-gradient(
    180deg,
    rgba(239,232,220,0) 0%,
    rgba(239,232,220,.24) 30%,
    rgba(239,232,220,.66) 68%,
    #efe8dc 100%
  );
}
body.page-when-useful .useful-hero__inner{
  position:relative;
  z-index:2;
}
body.page-when-useful .useful-grid{
  padding-top:clamp(76px,6vw,104px)!important;
}

/* v305 — Acesso da Home com presença visual de CTA */
.home-useful-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-top:24px;
  padding:15px 20px;
  background:var(--wine);
  color:#fff!important;
  border:1px solid var(--wine);
  font-family:var(--sans);
  font-size:12px;
  font-weight:700;
  line-height:1.2;
  letter-spacing:.045em;
  text-transform:uppercase;
  text-decoration:none;
  transition:background-color .2s ease,color .2s ease,border-color .2s ease,transform .2s ease;
}
.home-useful-link:hover,
.home-useful-link:focus-visible{
  background:var(--gold);
  border-color:var(--gold);
  color:#fff!important;
  transform:translateY(-1px);
}

@media(max-width:1100px){
  body.page-when-useful .useful-hero{padding-bottom:108px;}
  body.page-when-useful .useful-hero::after{height:96px;}
  body.page-when-useful .useful-grid{padding-top:72px!important;}
}
@media(max-width:760px){
  body.page-when-useful .useful-hero{padding-bottom:82px;}
  body.page-when-useful .useful-hero::after{height:72px;}
  body.page-when-useful .useful-grid{padding-top:56px!important;}
  .home-useful-link{width:100%;max-width:420px;padding:14px 16px;text-align:center;}
}

/* v315 — Harmonização tipográfica e alinhamentos da página interna
   Referência: página “Quando o MICP pode ser útil”. */
body.page-useful-detail .useful-detail-hero{
  min-height:auto;
  align-items:flex-start;
  padding:132px 8vw 108px;
}
body.page-useful-detail .useful-detail-hero__inner{
  width:100%;
  max-width:900px;
}
body.page-useful-detail .useful-detail-hero .eyebrow{
  margin-bottom:18px;
}
body.page-useful-detail .useful-detail-hero .hero-title{
  max-width:860px;
  margin:0;
  font-size:38px;
  line-height:1.14;
  letter-spacing:-.015em;
}
body.page-useful-detail .useful-detail-hero .useful-rule{
  margin:12px 0 24px;
}
body.page-useful-detail .useful-detail-hero__lead{
  max-width:820px;
  margin:0 0 30px;
  font-size:16px;
  line-height:1.7;
  color:#171513;
}
body.page-useful-detail .useful-detail-hero .btn{
  padding:16px 21px;
}

body.page-useful-detail .useful-copy{
  padding-top:84px;
  padding-bottom:84px;
}
body.page-useful-detail .useful-copy__inner{
  width:100%;
  max-width:900px;
}
body.page-useful-detail .useful-copy h2{
  max-width:820px;
  margin:0 0 24px;
  font-size:32px;
  line-height:1.18;
  letter-spacing:-.01em;
}
body.page-useful-detail .useful-copy p{
  max-width:800px;
  margin:0 0 14px;
  font-size:15.5px;
  line-height:1.7;
}
body.page-useful-detail .useful-copy p:last-child{
  margin-bottom:0;
}

body.page-useful-detail .useful-points{
  max-width:900px;
  gap:20px;
  margin-top:34px;
}
body.page-useful-detail .useful-point{
  min-height:220px;
  padding:26px 28px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}
body.page-useful-detail .useful-point__question{
  min-height:34px;
  margin-bottom:12px;
  font-size:11px;
  line-height:1.45;
  letter-spacing:.075em;
}
body.page-useful-detail .useful-point strong{
  margin-bottom:12px;
  font-size:14px;
  line-height:1.35;
  letter-spacing:.045em;
}
body.page-useful-detail .useful-point p{
  max-width:none;
  margin:0 0 10px;
  font-size:15px;
  line-height:1.62;
}
body.page-useful-detail .useful-point p:last-child{
  margin-bottom:0;
}

body.page-useful-detail .useful-application{
  padding-top:82px;
  padding-bottom:82px;
}
body.page-useful-detail .useful-application__inner{
  max-width:1120px;
  gap:44px;
}
body.page-useful-detail .useful-application h2{
  max-width:700px;
  margin:0;
  font-size:34px;
  line-height:1.18;
}
body.page-useful-detail .useful-application .eyebrow{
  margin-bottom:16px;
}
body.page-useful-detail .useful-application .btn{
  padding:17px 23px;
}

body.page-useful-detail .related-situations{
  padding-top:84px;
  padding-bottom:92px;
}
body.page-useful-detail .related-situations > .eyebrow,
body.page-useful-detail .related-situations > .section-title,
body.page-useful-detail .related-situations__grid{
  max-width:1120px;
  margin-left:auto;
  margin-right:auto;
}
body.page-useful-detail .related-situations .section-title{
  margin-top:0;
  margin-bottom:0;
  font-size:34px;
  line-height:1.18;
}
body.page-useful-detail .related-situations__grid{
  margin-top:30px;
}
body.page-useful-detail .related-situation{
  min-height:150px;
  padding:25px 26px 23px;
}
body.page-useful-detail .related-situation h3{
  font-size:22px;
  line-height:1.25;
}

@media(max-width:1100px){
  body.page-useful-detail .useful-detail-hero{
    padding:102px 24px 86px;
  }
  body.page-useful-detail .useful-detail-hero .hero-title{
    font-size:36px;
  }
  body.page-useful-detail .useful-copy,
  body.page-useful-detail .useful-application,
  body.page-useful-detail .related-situations{
    padding-top:70px;
    padding-bottom:70px;
  }
}
@media(max-width:620px){
  body.page-useful-detail .useful-detail-hero{
    padding-top:82px;
    padding-bottom:66px;
  }
  body.page-useful-detail .useful-detail-hero .hero-title{
    font-size:30px;
    line-height:1.17;
  }
  body.page-useful-detail .useful-detail-hero__lead{
    font-size:15.5px;
    line-height:1.65;
  }
  body.page-useful-detail .useful-copy h2,
  body.page-useful-detail .useful-application h2,
  body.page-useful-detail .related-situations .section-title{
    font-size:28px;
  }
  body.page-useful-detail .useful-copy p{
    font-size:15.5px;
  }
  body.page-useful-detail .useful-point{
    min-height:auto;
  }
}


/* v316 — Composição editorial da página interna
   Reduz a largura de leitura e organiza todos os blocos em unidades respiradas. */
body.page-useful-detail .useful-detail-hero__inner,
body.page-useful-detail .useful-copy__inner{
  max-width:760px;
}
body.page-useful-detail .useful-detail-hero .hero-title{
  max-width:760px;
}
body.page-useful-detail .useful-detail-hero__lead-group{
  max-width:700px;
  margin:0 0 32px;
}
body.page-useful-detail .useful-detail-hero__lead-group p{
  margin:0 0 16px;
  font-size:16px;
  line-height:1.68;
  color:#171513;
}
body.page-useful-detail .useful-detail-hero__lead-group p:last-child{
  margin-bottom:0;
}
body.page-useful-detail .useful-copy h2{
  max-width:700px;
}
body.page-useful-detail .useful-copy p{
  max-width:680px;
  margin-bottom:18px;
  font-size:15.5px;
  line-height:1.72;
}
body.page-useful-detail .useful-copy__emphasis{
  font-weight:600;
  color:#171513;
}
body.page-useful-detail .useful-copy__inner > h2 + p{
  margin-top:0;
}
body.page-useful-detail .useful-points{
  max-width:900px;
}
@media(max-width:1100px){
  body.page-useful-detail .useful-detail-hero__inner,
  body.page-useful-detail .useful-copy__inner,
  body.page-useful-detail .useful-detail-hero__lead-group,
  body.page-useful-detail .useful-copy h2,
  body.page-useful-detail .useful-copy p{
    max-width:720px;
  }
}
@media(max-width:760px){
  body.page-useful-detail .useful-detail-hero__lead-group p,
  body.page-useful-detail .useful-copy p{
    font-size:15.5px;
    line-height:1.68;
  }
}

/* v317 — Padronização dos H1 da nova seção */
body.page-when-useful .useful-hero__inner,
body.page-useful-detail .useful-detail-hero__inner{
  width:100%;
  max-width:760px;
}
body.page-when-useful .useful-hero .hero-title,
body.page-useful-detail .useful-detail-hero .hero-title{
  max-width:680px!important;
  margin:0!important;
  font-size:36px!important;
  line-height:1.12!important;
  letter-spacing:-.015em!important;
}
body.page-when-useful .useful-hero__lead,
body.page-when-useful .useful-hero__copy,
body.page-useful-detail .useful-detail-hero__lead-group{
  max-width:680px;
}
@media(max-width:1100px){
  body.page-when-useful .useful-hero .hero-title,
  body.page-useful-detail .useful-detail-hero .hero-title{
    max-width:640px!important;
    font-size:34px!important;
    line-height:1.14!important;
  }
}
@media(max-width:620px){
  body.page-when-useful .useful-hero .hero-title,
  body.page-useful-detail .useful-detail-hero .hero-title{
    max-width:100%!important;
    font-size:29px!important;
    line-height:1.17!important;
  }
}

/* v323 — Lapidação geral da nova seção
   Ajustes exclusivamente visuais, com preservação integral da estrutura e dos textos. */
body.page-when-useful .useful-hero__inner,
body.page-useful-detail .useful-detail-hero__inner{
  width:100%;
  max-width:760px;
}
body.page-when-useful .useful-hero .hero-title,
body.page-useful-detail .useful-detail-hero .hero-title{
  max-width:650px!important;
  font-size:34px!important;
  line-height:1.14!important;
  letter-spacing:-.012em!important;
}
body.page-when-useful .useful-hero__lead,
body.page-when-useful .useful-hero__copy,
body.page-useful-detail .useful-detail-hero__lead-group{
  max-width:650px;
}
body.page-useful-detail .useful-detail-hero{
  padding-top:126px;
  padding-bottom:96px;
}
body.page-useful-detail .useful-detail-hero__lead-group{
  margin-bottom:30px;
}
body.page-useful-detail .useful-detail-hero__lead-group p{
  font-size:15.5px;
  line-height:1.7;
  margin-bottom:14px;
}

body.page-useful-detail .useful-copy{
  padding-top:78px;
  padding-bottom:78px;
}
body.page-useful-detail .useful-copy__inner{
  max-width:760px;
}
body.page-useful-detail .useful-copy h2{
  max-width:650px;
  margin-bottom:22px;
  font-size:31px;
  line-height:1.2;
}
body.page-useful-detail .useful-copy p{
  max-width:650px;
  margin-bottom:16px;
  font-size:15.5px;
  line-height:1.72;
}
body.page-useful-detail .useful-copy__emphasis,
body.page-useful-detail .useful-copy p > strong:only-child{
  display:block;
  margin-top:22px;
  font-weight:600;
}

body.page-useful-detail .useful-points{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:22px;
  max-width:900px;
  margin-top:38px;
}
body.page-useful-detail .useful-point{
  min-height:230px;
  padding:28px 30px;
}
body.page-useful-detail .useful-point__question{
  min-height:30px;
  margin-bottom:14px;
  font-size:10.5px;
  line-height:1.45;
  letter-spacing:.07em;
}
body.page-useful-detail .useful-point strong{
  margin-bottom:14px;
  font-size:14px;
  line-height:1.3;
}
body.page-useful-detail .useful-point p{
  max-width:none;
  margin-bottom:10px;
  font-size:14.5px;
  line-height:1.62;
}

body.page-useful-detail .useful-application{
  padding-top:76px;
  padding-bottom:76px;
}
body.page-useful-detail .useful-application h2{
  max-width:650px;
  font-size:32px;
  line-height:1.2;
}
body.page-useful-detail .useful-application .btn{
  padding:16px 22px;
}
body.page-useful-detail .related-situations{
  padding-top:80px;
  padding-bottom:90px;
}
body.page-useful-detail .related-situations .section-title{
  font-size:32px;
  line-height:1.2;
}

@media(max-width:1100px){
  body.page-when-useful .useful-hero .hero-title,
  body.page-useful-detail .useful-detail-hero .hero-title{
    max-width:620px!important;
    font-size:32px!important;
  }
  body.page-useful-detail .useful-detail-hero{
    padding-top:98px;
    padding-bottom:82px;
  }
  body.page-useful-detail .useful-copy,
  body.page-useful-detail .useful-application,
  body.page-useful-detail .related-situations{
    padding-top:68px;
    padding-bottom:68px;
  }
}
@media(max-width:760px){
  body.page-when-useful .useful-hero .hero-title,
  body.page-useful-detail .useful-detail-hero .hero-title{
    max-width:100%!important;
    font-size:28px!important;
    line-height:1.18!important;
  }
  body.page-useful-detail .useful-points{
    grid-template-columns:1fr;
  }
  body.page-useful-detail .useful-point{
    min-height:auto;
  }
}


/* v331 — Página “O devedor diz que não tem patrimônio” */
body.page-useful-detail .useful-points--visitor .useful-point{min-height:190px;}
body.page-useful-detail .useful-points--visitor .useful-point strong{font-family:var(--serif);font-size:23px;line-height:1.22;font-weight:400;letter-spacing:0;text-transform:none;}
body.page-useful-detail .useful-points--visitor .useful-point p{margin-top:auto;}
body.page-useful-detail .useful-application p{max-width:720px;margin:16px 0 0;font-size:16px;line-height:1.68;}
@media(max-width:620px){body.page-useful-detail .useful-points--visitor .useful-point{min-height:0;}body.page-useful-detail .useful-points--visitor .useful-point strong{font-size:21px;}}


/* v340 — ajuste específico da transição na página sem patrimônio.
   A hero possui apenas uma linha de apoio; por isso não deve conservar
   os mesmos espaços verticais da página de referência, que possui três parágrafos. */
body.page-devedor-sem-patrimonio .useful-detail-hero{
  padding-bottom:40px!important;
}
body.page-devedor-sem-patrimonio .useful-detail-hero + .useful-copy{
  padding-top:48px!important;
}
@media(max-width:760px){
  body.page-devedor-sem-patrimonio .useful-detail-hero{
    padding-bottom:36px!important;
  }
  body.page-devedor-sem-patrimonio .useful-detail-hero + .useful-copy{
    padding-top:42px!important;
  }
}


/* v344: transições das páginas de situação */
body.page-useful-detail .useful-transition-section{
  padding:38px 8vw;
  background:#f4efe7;
}
body.page-useful-detail .useful-transition-section__inner{
  width:min(1120px,100%);
  margin:0 auto;
}
body.page-useful-detail .useful-transition-section p{
  margin:0;
  max-width:920px;
  font-family:var(--serif);
  font-size:clamp(24px,2.5vw,34px);
  line-height:1.25;
  color:var(--ink);
}
@media (max-width:760px){
  body.page-useful-detail .useful-transition-section{padding:30px 24px;}
}
