/* ===== INÍCIO: subpágina de conteúdo (Portaria 888) ===== */
.crumbs{font-size:14px;color:rgba(255,255,255,.75)}
.crumbs a{color:#fff;text-decoration:underline;text-underline-offset:3px}
.intro{padding:14px 16px;border-radius:16px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18);font-size:15.5px;color:rgba(255,255,255,.9)}
.toc{background:var(--soft);border:1px solid var(--line);border-radius:16px}
.toc summary{list-style:none;cursor:pointer;min-height:52px;display:flex;align-items:center;justify-content:space-between;padding:0 16px;font-family:var(--head);font-weight:700;color:var(--navy)}
.toc summary::-webkit-details-marker{display:none}
.toc ol{padding:0 16px 14px 36px;display:grid;gap:4px;list-style:decimal;font-size:15px}
.toc a{color:var(--deep);font-weight:600;display:inline-block;padding:4px 0}
.doc{display:grid;gap:36px;max-width:70ch;min-width:0}
.doc section{display:grid;gap:12px;scroll-margin-top:80px}
.doc .h2{font-size:24px}
.doc p{font-size:16.5px}
.doc-list{display:grid;gap:8px}
.doc-list li{display:flex;gap:12px;align-items:center;padding:10px 12px;border:1px solid var(--line);border-radius:14px;font-size:15.5px}
.doc-checks{display:grid;gap:8px}
.doc-checks li{display:flex;gap:10px;align-items:flex-start;font-size:16px}
.doc-checks svg{width:22px;height:22px;color:var(--aqua);flex:none;margin-top:2px}
.callout{padding:14px 16px;border-radius:14px;background:var(--navy-2);color:#fff;font-family:var(--head);font-weight:700}
.doc-cta{padding:20px;border-radius:18px;background:var(--soft);border:1px solid var(--line)}
.art-layout{display:grid;gap:24px;align-items:start;grid-template-columns:minmax(0,1fr)}
/* ===== FIM: subpágina de conteúdo ===== */
/* ----- rodada 3: subpáginas novas ----- */
.home-link{display:none}
/* Gota cristal aprovada: decorativa, nunca substitui a logo.
   Específico para artigos; a primeira dobra da home não é afetada. */
.sub-hero .hero-drop{
  top:26px;
  right:-52px;
  width:clamp(210px,55vw,300px);
  height:auto;
  opacity:.68;
  transform:none;
  pointer-events:none;
}
.sub-hero.has-img .hero-drop{
  display:none;
  right:-70px;
  opacity:.36;
}
@media(max-width:359px){
  .sub-hero .hero-drop{right:-76px;opacity:.54}
  .sub-hero.has-img .hero-drop{opacity:.28}
}
@media(min-width:600px){
  .sub-hero .hero-drop{
    top:10%;
    right:4%;
    width:min(34vw,390px);
    opacity:.75;
  }
  .sub-hero.has-img .hero-drop{opacity:.4}
}
/* Subpáginas são artigos, não a hero de tela inteira da página inicial. */
.sub-hero .hero-in{
  min-height:0;
  justify-content:flex-start;
  gap:14px;
  padding-block:32px 40px;
}
@media(max-width:599px){
  .sub-hero .h1{
    font-size:clamp(29px,7vw,34px);
    text-wrap:balance;
  }
}
@media(min-width:600px) and (max-width:959px){
  .sub-hero .hero-in{padding-block:52px 60px}
}
.sub-hero-grid{display:grid;gap:24px;align-items:center}
.sub-hero-img{margin:0 0 40px;border-radius:20px;overflow:hidden;background:#fff;aspect-ratio:1/1;max-width:240px;width:100%;justify-self:center;box-shadow:0 18px 40px rgba(0,0,0,.25)}
.sub-hero-img img{width:100%;height:100%;object-fit:contain}
.doc-models{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.doc-models div{display:flex;flex-direction:column;gap:2px;padding:14px;border:1px solid var(--line);border-radius:14px;background:var(--soft)}
.doc-models b{font-family:var(--head);color:var(--navy);font-size:15.5px}
.doc-models span{font-size:14px;color:var(--muted)}
.doc-fig{margin:0;border-radius:16px;overflow:hidden;border:1px solid var(--line);background:#fff}
.doc-fig img{width:100%;height:auto;max-height:420px;object-fit:contain}
.doc-steps{counter-reset:st;display:grid;gap:8px}
.doc-steps li{counter-increment:st;position:relative;padding:10px 12px 10px 48px;border:1px solid var(--line);border-radius:14px;font-size:15.5px;line-height:1.45}
.doc-steps li::before{content:counter(st);position:absolute;left:12px;top:10px;width:26px;height:26px;border-radius:50%;background:var(--navy);color:#fff;font-family:var(--head);font-weight:800;font-size:13px;display:grid;place-items:center}
.doc-steps b{color:var(--navy)}
@media(min-width:600px){.doc-models{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(min-width:960px){
  .sub-hero.has-img .sub-hero-grid{grid-template-columns:1.3fr 1fr;gap:56px}
  .sub-hero-img{margin:40px 0}
  .sub-hero .hero-in{padding-block:72px}
}
@media(min-width:960px){.sub-hero-img{max-width:360px}}
/* ===== subpáginas v4: componentes modernos (pg-*) ===== */
.doc{max-width:820px}
.sub-hero-img{position:relative;background:#0B2B63}
.sub-hero-img img.bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:blur(18px) brightness(.85);transform:scale(1.2)}
.sub-hero-img img.fg{position:relative;width:100%;height:100%;object-fit:contain}
.pg-tag{display:inline-block;font-family:var(--head);font-weight:700;font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--aqua)}
/* modelos */
.pg-models{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.pg-models li{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:12px;align-items:center;padding:16px;border-radius:16px;background:var(--white);border:1px solid var(--line);box-shadow:0 8px 20px rgba(11,43,99,.06)}
.pg-num{grid-row:1/3;font-family:var(--head);font-weight:800;font-size:36px;line-height:1;color:var(--aqua)}
.pg-models b{font-family:var(--head);color:var(--navy);font-size:15px;line-height:1.2}
.pg-models small{font-size:12.5px;color:var(--muted);text-transform:uppercase;letter-spacing:.1em;font-family:var(--head);font-weight:700}
.pg-feature{display:grid;border-radius:18px;overflow:hidden;background:var(--navy-2);color:#fff}
.pg-feature-img{margin:0;aspect-ratio:16/9;overflow:hidden;background:#fff}
.pg-feature-img img{width:100%;height:100%;object-fit:cover}
.pg-feature-txt{padding:20px;display:grid;gap:6px}
.pg-feature-txt b{font-family:var(--head);font-size:24px}
.pg-feature-txt p{color:rgba(255,255,255,.8);font-size:15.5px}
.pg-feature .pg-tag{color:var(--aqua-ink)}
/* 9 etapas: todos os cards com a mesma altura */
.pg-steps{display:grid;grid-template-columns:minmax(0,1fr);grid-auto-rows:1fr;gap:10px;counter-reset:none}
.pg-steps li{display:grid;grid-template-columns:36px 1fr;column-gap:12px;align-content:start;padding:14px;border-radius:14px;background:var(--white);border:1px solid var(--line)}
.pg-n{grid-row:1/3;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--navy);color:#fff;font-family:var(--head);font-weight:800;font-size:15px}
.pg-steps li.alc{background:var(--soft-2);border-color:#BFE6F3}
.pg-steps li.alc .pg-n{background:var(--aqua);color:var(--navy-2)}
.pg-steps b{font-family:var(--head);color:var(--navy);font-size:15px;line-height:1.3}
.pg-steps p{font-size:14px!important;color:var(--muted);line-height:1.45;margin-top:2px}
.pg-legend{display:flex;align-items:center;gap:8px;font-size:13.5px!important;color:var(--muted)}
.pg-legend i{width:14px;height:14px;border-radius:50%;background:var(--aqua)}
/* qual escolher */
.pg-choose{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:1fr;gap:10px}
.pg-choose li{display:flex;flex-direction:column;gap:8px;padding:18px;border-radius:16px;background:var(--white);border:1px solid var(--line)}
.pg-choose b{font-family:var(--head);color:var(--navy);font-size:15.5px;line-height:1.25}
.pg-choose p{font-size:14px!important;color:var(--muted);line-height:1.45}
.pg-help{display:grid;gap:12px;padding:18px;border-radius:16px;background:var(--soft);border:1px solid var(--line)}
.pg-help p{font-size:15.5px}
/* refil */
.pg-refil{display:grid;border-radius:20px;overflow:hidden;background:linear-gradient(160deg,var(--navy),var(--navy-2));color:#fff}
.pg-refil figure{margin:0;aspect-ratio:16/10;overflow:hidden;background:#fff}
.pg-refil figure img{width:100%;height:100%;object-fit:cover}
.pg-refil-txt{padding:22px;display:grid;gap:14px}
.pg-refil .pg-tag{color:var(--aqua-ink)}
.pg-stats{display:flex;align-items:center;gap:14px}
.pg-stats div{display:flex;flex-direction:column;padding:12px 16px;border-radius:14px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);min-width:104px}
.pg-stats b{font-family:var(--head);font-weight:800;font-size:28px;line-height:1.05;color:#fff}
.pg-stats span{font-size:13px;color:var(--aqua-ink);font-family:var(--head);font-weight:700;text-transform:uppercase;letter-spacing:.1em}
.pg-stats em{font-style:normal;color:rgba(255,255,255,.7);font-family:var(--head);font-weight:700}
.pg-refil-txt p{color:rgba(255,255,255,.82);font-size:15.5px}
.pg-actions{display:flex;flex-direction:column;gap:10px}
/* importante */
.pg-alert{display:flex;gap:14px;align-items:flex-start;padding:18px;border-radius:16px;background:#FFF8E6;border:1px solid #F5DFA6}
.pg-alert .ico{color:#9A6A00;--prisma-icon-accent:#E2A400;flex:none}
.pg-alert div{display:grid;gap:12px}
.pg-alert p{font-size:15.5px}
@media(min-width:600px){
  .pg-models{grid-template-columns:repeat(4,minmax(0,1fr))}
  .pg-models li{grid-template-columns:1fr;grid-template-rows:auto;text-align:center;gap:4px;padding:18px 10px}
  .pg-num{grid-row:auto;font-size:42px}
  .pg-feature{grid-template-columns:1.1fr 1fr;align-items:center}
  .pg-feature-img{aspect-ratio:auto;height:100%;min-height:220px}
  .pg-steps{grid-template-columns:repeat(3,minmax(0,1fr))}
  .pg-steps li{grid-template-columns:1fr;row-gap:8px}
  .pg-n{grid-row:auto}
  .pg-choose{grid-template-columns:repeat(4,minmax(0,1fr))}
  .pg-help{grid-template-columns:1fr auto;align-items:center}
  .pg-help .btn{width:auto}
  .pg-refil{grid-template-columns:.9fr 1.1fr}
  .pg-refil figure{aspect-ratio:auto;height:100%}
  .pg-refil-txt{padding:28px}
  .pg-actions{flex-direction:row;flex-wrap:wrap}
  .pg-actions .btn{width:auto}
  .pg-alert .btn{width:auto;justify-self:start}
}
/* FAQ da subpágina na largura do conteúdo; sumário sem número quebrado */
.doc .faq{max-width:none;width:100%;margin:0}
.toc ol{list-style:none;padding-left:16px;counter-reset:toc}
.toc li{counter-increment:toc;display:grid;grid-template-columns:22px 1fr;align-items:baseline}
.toc li::before{content:counter(toc) ".";font-family:var(--head);font-weight:700;color:var(--muted);font-size:14px}
.toc a{display:block}
.pg-refil figure img{object-position:center}
/* variações reaproveitadas nas subpáginas */
.pg-steps.one{grid-template-columns:minmax(0,1fr)!important;grid-auto-rows:auto}
.pg-steps.one li{grid-template-columns:36px 1fr!important;align-items:center;row-gap:0}
.pg-steps.one .pg-n{grid-row:1/3}
.pg-choose.compact li{align-items:center;text-align:center;justify-content:center;padding:16px 10px}
.pg-alert.info{background:var(--soft-2);border-color:#BFE6F3}
.pg-alert.info .ico{color:var(--deep);--prisma-icon-accent:var(--aqua)}
.pg-alert.info p{font-family:var(--head);font-weight:700;color:var(--navy)}
.pg-feature-txt .btn{margin-top:6px}
@media(min-width:600px){
  .pg-steps.two{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pg-feature-txt .btn{width:auto;justify-self:start}
}
/* FAQ: mesma largura aberto ou fechado */
.doc .faq,.doc .faq details{width:100%;max-width:none;box-sizing:border-box}
.pg-persona{display:flex;gap:14px;align-items:flex-start;padding:18px;border-radius:16px;background:var(--white);border:1px solid var(--line);box-shadow:0 8px 20px rgba(11,43,99,.05)}
.pg-persona .ico{flex:none;margin-top:2px}
.pg-persona p{font-size:15.5px}
.pg-alert.info p{font-weight:600}
@media(max-width:599px){.pg-persona,.pg-alert{flex-direction:column;gap:10px}}

/* Gota decorativa: em celulares, reservar espaço real ao lado do título.
   Evita sobreposição com título/descrição sem alterar a composição desktop. */
@media(max-width:599px){
  .sub-hero:not(.has-img) .hero-drop{
    top:18px;
    right:16px;
    width:clamp(78px,23vw,106px);
    height:auto;
    opacity:.88;
  }
  .sub-hero:not(.has-img) .h1{
    max-width:calc(100% - clamp(92px,27vw,124px));
  }
}

/* Prisma — cabeçalhos jurídicos: preservar a gota cristal original e as copys. */
.sub-hero.sub-hero--legal .hero-in{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(106px,32%);
  grid-template-areas:"eyebrow art" "heading art" "intro intro";
  gap:12px 12px;
  align-items:center;
  align-content:center;
  justify-content:initial;
  min-height:0;
  width:100%;
  max-width:none;
  padding-block:clamp(38px,6vw,72px);
}
.sub-hero.sub-hero--legal .crumbs{display:none}
.sub-hero.sub-hero--legal .eyebrow{
  grid-area:eyebrow;
  display:inline-flex;
  align-items:center;
  justify-self:start;
  align-self:end;
  width:auto;
  max-width:100%;
  margin:0;
  padding:7px 14px;
  background:rgba(74,175,199,.12);
  border:1px solid rgba(145,213,232,.2);
  border-radius:999px;
  color:#91D5E8;
  font-size:11px;
  font-weight:700;
  letter-spacing:.12em;
}
.sub-hero.sub-hero--legal .eyebrow::before{display:none}
.sub-hero.sub-hero--legal .h1{
  grid-area:heading;
  align-self:start;
  width:100%;
  max-width:22ch;
  margin:0;
  font-size:clamp(29px,5vw,56px);
  line-height:1.12;
  text-wrap:balance;
}
.sub-hero.sub-hero--legal .intro{
  grid-area:intro;
  width:100%;
  max-width:60ch;
  margin:0;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  color:rgba(236,244,251,.83);
  font-size:clamp(15px,1.65vw,17px);
  line-height:1.65;
}
.sub-hero.sub-hero--legal .intro::after{
  content:"";
  display:block;
  width:44px;
  height:2px;
  margin-top:24px;
  border-radius:999px;
  background:#4BAFC7;
}
.sub-hero.sub-hero--legal .hero-drop{
  display:block;
  position:relative;
  grid-area:art;
  align-self:center;
  justify-self:center;
  top:auto;
  right:auto;
  width:100%;
  height:auto;
  max-width:200px;
  opacity:.95;
  z-index:0;
  transform:none;
  pointer-events:none;
}
@media(min-width:600px){
  .sub-hero.sub-hero--legal .hero-in{
    grid-template-columns:minmax(0,1fr) minmax(180px,31%);
    grid-template-areas:"eyebrow art" "heading art" "intro art";
    gap:14px clamp(24px,4vw,58px);
  }
  .sub-hero.sub-hero--legal .hero-drop{max-width:340px}
}

/* Portaria 888 — hero institucional sem sobreposição. Preserva SVG, animação e textos. */
.sub-hero.sub-hero--portaria .hero-in{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  grid-template-areas:"eyebrow" "heading" "intro" "art";
  align-content:center;
  align-items:start;
  gap:0;
  min-height:0;
  width:100%;
  max-width:none;
  padding-block:clamp(36px,6vw,76px);
}
.sub-hero.sub-hero--portaria .crumbs{display:none}
.sub-hero.sub-hero--portaria .eyebrow{
  grid-area:eyebrow;
  display:inline-flex;
  align-items:center;
  justify-self:start;
  align-self:start;
  max-width:100%;
  margin:0 0 20px;
  padding:7px 14px;
  background:rgba(74,175,199,.12);
  border:1px solid rgba(145,213,232,.2);
  border-radius:999px;
  color:#91D5E8;
  font-size:11px;
  font-weight:700;
  letter-spacing:.1em;
}
.sub-hero.sub-hero--portaria .eyebrow::before{display:none}
.sub-hero.sub-hero--portaria .h1{
  grid-area:heading;
  width:100%;
  max-width:none;
  margin:0 0 20px;
  font-size:clamp(29px,4.3vw,55px);
  line-height:1.13;
  text-wrap:balance;
}
.sub-hero.sub-hero--portaria .intro{
  grid-area:intro;
  width:100%;
  max-width:64ch;
  margin:0;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  color:rgba(236,244,251,.86);
  font-size:clamp(15px,1.55vw,17px);
  line-height:1.65;
}
.sub-hero.sub-hero--portaria .intro::after{
  content:"";
  display:block;
  width:44px;
  height:2px;
  margin-top:24px;
  border-radius:999px;
  background:#4BAFC7;
}
.sub-hero.sub-hero--portaria .hero-drop{
  display:block;
  position:relative;
  grid-area:art;
  align-self:center;
  justify-self:end;
  top:auto;
  right:auto;
  width:min(40vw,165px);
  height:auto;
  max-width:100%;
  margin-top:14px;
  opacity:.95;
  z-index:0;
  pointer-events:none;
}
@media(min-width:600px){
  .sub-hero.sub-hero--portaria .hero-in{
    grid-template-columns:minmax(0,1fr) minmax(190px,31%);
    grid-template-areas:"eyebrow art" "heading art" "intro art";
    column-gap:clamp(24px,3.8vw,58px);
    row-gap:0;
  }
  .sub-hero.sub-hero--portaria .hero-drop{
    justify-self:center;
    width:100%;
    max-width:340px;
    margin-top:0;
  }
}

/* Prisma — subpáginas de produto: cabeçalho institucional; fotos, gota e copys preservadas. */
.sub-hero.sub-hero--product .crumbs{display:none}
.sub-hero.sub-hero--product .hero-in{
  align-items:flex-start;
  justify-content:center;
  gap:0;
  min-height:0;
  width:100%;
  max-width:720px;
  padding-block:clamp(36px,6vw,72px);
}
.sub-hero.sub-hero--product .eyebrow{
  display:inline-flex;
  align-items:center;
  align-self:flex-start;
  width:auto;
  max-width:100%;
  margin:0 0 20px;
  padding:7px 14px;
  border:1px solid rgba(145,213,232,.2);
  border-radius:999px;
  background:rgba(74,175,199,.12);
  color:#91D5E8;
  font-size:11px;
  font-weight:700;
  letter-spacing:.1em;
}
.sub-hero.sub-hero--product .eyebrow::before{display:none}
.sub-hero.sub-hero--product .h1{
  width:100%;
  max-width:none;
  margin:0 0 20px;
  font-size:clamp(29px,4.3vw,52px);
  line-height:1.13;
  text-wrap:balance;
}
.sub-hero.sub-hero--product .intro{
  width:100%;
  max-width:64ch;
  margin:0;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  color:rgba(236,244,251,.86);
  font-size:clamp(15px,1.55vw,17px);
  line-height:1.65;
}
.sub-hero.sub-hero--product .intro::after{
  content:"";
  display:block;
  width:44px;
  height:2px;
  margin-top:24px;
  border-radius:999px;
  background:#4BAFC7;
}
.sub-hero.sub-hero--product .hero-drop{
  top:auto;
  right:-24px;
  bottom:55px;
  width:clamp(165px,50vw,265px);
  height:auto;
  opacity:.35;
  pointer-events:none;
}
@media(max-width:599px){
  .sub-hero.sub-hero--product .hero-in{padding-block:36px 0}
  .sub-hero.sub-hero--product .h1{font-size:clamp(29px,7vw,34px)}
  .sub-hero.sub-hero--product .sub-hero-img{margin:24px 0 40px}
}
@media(min-width:600px){
  .sub-hero.sub-hero--product .hero-drop{
    top:auto;
    right:2%;
    bottom:9%;
    width:min(30vw,340px);
    opacity:.36;
  }
}

/* Bebedouros: foto de produto recortada, sem cartao ou fundo cinza. */
.sub-hero.sub-hero--product.sub-hero--bebedouros .sub-hero-img{
  width:min(100%,420px);
  max-width:none;
  height:auto;
  aspect-ratio:auto;
  overflow:visible;
  margin:18px auto 32px;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
.sub-hero.sub-hero--product.sub-hero--bebedouros .sub-hero-img img.fg{
  display:block;
  width:100%;
  height:auto;
  object-fit:contain;
  filter:drop-shadow(0 20px 22px rgba(0,0,0,.24));
}
@media(min-width:960px){
  .sub-hero.sub-hero--product.sub-hero--bebedouros .sub-hero-img{
    width:min(100%,490px);
    margin:0 auto;
  }
}

/* PRISMA-BEBEDOUROS-MOBILE-FOLD — altura util e foto inteira, sem afetar outras paginas. */
@media(max-width:599px){
  .sub-hero.sub-hero--bebedouros .sub-hero-grid{
    min-height:calc(100vh - 64px);
    min-height:calc(100svh - 64px);
    display:flex;
    flex-direction:column;
    justify-content:space-evenly;
    gap:clamp(8px,1.5svh,18px);
  }
  .sub-hero.sub-hero--product.sub-hero--bebedouros .hero-in{
    flex:0 0 auto;
    padding-block:clamp(16px,2.8svh,24px) 0;
  }
  .sub-hero.sub-hero--bebedouros .eyebrow{
    margin-bottom:10px;
    padding:5px 12px;
  }
  .sub-hero.sub-hero--bebedouros .h1{
    font-size:clamp(26px,7vw,33px);
    line-height:1.12;
    margin-bottom:12px;
  }
  .sub-hero.sub-hero--bebedouros .intro{
    font-size:clamp(14px,3.5vw,15px);
    line-height:1.43;
  }
  .sub-hero.sub-hero--bebedouros .intro::after{
    margin-top:14px;
  }
  .sub-hero.sub-hero--product.sub-hero--bebedouros .sub-hero-img{
    flex:0 0 auto;
    width:clamp(185px,min(78vw,calc(110svh - 440px)),370px);
    margin:0 auto clamp(12px,1.8svh,20px);
  }
}

/* Refis: recorte transparente integrado ao fundo azul, sem moldura. */
.sub-hero.sub-hero--product .sub-hero-img--refis{
  width:min(100%,620px);
  max-width:620px;
  margin:12px auto 30px;
  aspect-ratio:auto;
  background:transparent;
  border:0;
  border-radius:0;
  box-shadow:none;
  overflow:visible;
  justify-self:center;
}
.sub-hero.sub-hero--product .sub-hero-img--refis img.fg{
  display:block;
  position:relative;
  width:100%;
  height:auto;
  object-fit:contain;
  filter:drop-shadow(0 15px 16px rgba(0,0,0,.16));
}
@media(min-width:960px){
  .sub-hero.sub-hero--product .sub-hero-img--refis{
    width:100%;
    margin:0 auto;
  }
}

/* Hero refis: composicao institucional, sem repetir a foto Top Life. */
.sub-hero.sub-hero--product.sub-hero--refis-categoria .sub-hero-img--refis{
  width:100%;
  max-width:650px;
  margin:16px auto 26px;
  background:transparent;
  border:0;
  border-radius:0;
  box-shadow:none;
  overflow:visible;
  aspect-ratio:auto;
}
.sub-hero.sub-hero--product.sub-hero--refis-categoria .sub-hero-img--refis img.fg{
  display:block;
  width:100%;
  height:auto;
  object-fit:contain;
  filter:none;
}
@media(min-width:960px){
  .sub-hero.sub-hero--refis-categoria .sub-hero-grid{
    grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);
    gap:32px;
  }
  .sub-hero.sub-hero--product.sub-hero--refis-categoria .sub-hero-img--refis{
    margin:0 auto;
  }
}

/* Refis: imagem da categoria ocupando a largura do mobile, sem bordas de cartao. */
@media(max-width:959px){
  .sub-hero.sub-hero--product.sub-hero--refis-categoria .sub-hero-img--refis{
    width:100vw;
    max-width:none;
    margin:14px calc(50% - 50vw) 0;
    overflow:hidden;
  }
}

/* Refis categoria: degradê real mais perceptível, fundo do hero aparece nas bordas. */
.sub-hero.sub-hero--product.sub-hero--refis-categoria .sub-hero-img--refis img.fg{
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, rgba(0,0,0,.32) 6%, rgba(0,0,0,.82) 14%, #000 22%, #000 78%, rgba(0,0,0,.82) 86%, rgba(0,0,0,.32) 94%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.48) 8%, #000 20%, #000 77%, rgba(0,0,0,.55) 88%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0%, rgba(0,0,0,.32) 6%, rgba(0,0,0,.82) 14%, #000 22%, #000 78%, rgba(0,0,0,.82) 86%, rgba(0,0,0,.32) 94%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.48) 8%, #000 20%, #000 77%, rgba(0,0,0,.55) 88%, transparent 100%);
  mask-composite: intersect;
}
/* Desktop: aumenta a fusão superior/inferior, mantendo a área central nítida. */
@media(min-width:960px){
  .sub-hero.sub-hero--product.sub-hero--refis-categoria .sub-hero-img--refis img.fg{
    -webkit-mask-image:
      linear-gradient(to right, transparent 0%, rgba(0,0,0,.35) 7%, #000 20%, #000 80%, rgba(0,0,0,.35) 93%, transparent 100%),
      linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.48) 10%, #000 25%, #000 76%, rgba(0,0,0,.48) 89%, transparent 100%);
    mask-image:
      linear-gradient(to right, transparent 0%, rgba(0,0,0,.35) 7%, #000 20%, #000 80%, rgba(0,0,0,.35) 93%, transparent 100%),
      linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.48) 10%, #000 25%, #000 76%, rgba(0,0,0,.48) 89%, transparent 100%);
  }
}
@media(min-width:960px){
  .sub-hero.sub-hero--product.sub-hero--refis-categoria .sub-hero-img--refis{
    transform:scale(1.07);
    transform-origin:35% center;
  }
}
@media(min-width:1200px){
  .sub-hero.sub-hero--product.sub-hero--refis-categoria .sub-hero-img--refis{
    transform:scale(1.18);
  }
}
