/* SHER V91.5.206 — camada final de espaçamento, sem alterar cores ou dimensões de imagens */
:root{--sher-section:32px;--sher-heading:20px;--sher-gap:18px;--sher-card:20px;--sher-paragraph:12px;--sher-media:20px;--sher-footer:24px}
@media(max-width:700px){:root{--sher-section:24px;--sher-heading:16px;--sher-gap:14px;--sher-card:16px;--sher-paragraph:10px;--sher-media:16px;--sher-footer:20px}}
body:is(.sher-compact-v915126, :not(.sher-compact-v915126)) > section:not(.page-hero,.city-hero,.hero,.sher-article-hero,.sher-art-hero,.home-proof-v78,.cta,.contact-page-v894,.seo-hub-v77),
body main > section:not(.page-hero,.city-hero,.hero,.sher-article-hero,.sher-art-hero,.home-proof-v78,.cta,.contact-page-v894,.seo-hub-v77){padding-block:var(--sher-section)!important}
body :is(.section-heading,.section-head,.sher-section-head){margin-bottom:var(--sher-heading)!important}
body :is(.section-heading,.section-head,.sher-section-head) > :is(h2,h3){margin-bottom:8px!important}
body :is(.section-heading,.section-head,.sher-section-head) > :is(h2,h3) + p{margin-top:0!important}
body :is(.cards-grid,.content-grid,.service-grid,.services-grid,.article-grid,.sher-sector-grid,.clients-grid,.authority-v91-grid,.home-priority-v78-grid){gap:var(--sher-gap)!important}
body :is(.content-card,.service-card,.sher-sector-card,.home-priority-v78-grid article){padding:var(--sher-card)!important;min-width:0}
body :is(main,body > section) p + p{margin-top:var(--sher-paragraph)!important}
body :is(main,body > section) :is(h2,h3) + p{margin-top:8px}
body :is(.article-body,.article-content,.sher-article-content) figure{margin-block:var(--sher-media)}
body > section:last-of-type:not(.hero,.page-hero,.city-hero,.cta){padding-bottom:var(--sher-footer)!important}
body main > section:last-child:not(.hero,.page-hero,.city-hero,.cta){padding-bottom:var(--sher-footer)!important}

/* V91.5.230: narrow-screen overflow protection */
@media(max-width:700px){.form-row-v896{grid-template-columns:minmax(0,1fr)!important}.field-v896{min-width:0}.field-v896 :is(input,textarea,select){max-width:100%;box-sizing:border-box}.article-body,.article-content,.sher-article-content{overflow-wrap:anywhere}.article-body pre,.article-content pre,.sher-article-content pre{max-width:100%;overflow-x:auto}}

/* V91.5.207 — refinamento editorial; preserva componentes especializados */
:root{--sher-h2:clamp(24px,2.5vw,32px);--sher-h3:clamp(18px,1.7vw,22px);--sher-leading:1.6}
body :is(.section-heading,.section-head,.sher-section-head)>h2{font-size:var(--sher-h2)!important;line-height:1.22!important;margin-block:0 8px!important}
body :is(.section-heading,.section-head,.sher-section-head)>p{line-height:var(--sher-leading);margin-block:0!important}
body :is(.cards-grid,.service-grid,.services-grid,.content-grid,.sher-sector-grid){align-items:stretch;gap:var(--sher-gap)!important}
body :is(.cards-grid,.service-grid,.services-grid,.sher-sector-grid)>:is(.service-card,.sher-sector-card){display:flex;flex-direction:column;min-width:0;height:auto}
body :is(.service-card,.sher-sector-card,.content-card)>h3{font-size:var(--sher-h3)!important;line-height:1.3!important;margin-block:12px 8px!important;overflow-wrap:anywhere}
body :is(.service-card,.sher-sector-card)>p{line-height:var(--sher-leading);margin-block:0 12px}
body :is(.service-card,.sher-sector-card)>a:last-child{margin-top:auto;align-self:flex-start}
body .service-card .service-visual{margin-bottom:0}
body :is(.article-copy,.article-body,.article-content,.sher-article-content){min-width:0;overflow-wrap:break-word}
body :is(.article-copy,.article-body,.article-content,.sher-article-content) h2{font-size:var(--sher-h2)!important;line-height:1.25!important;margin-block:28px 12px!important}
body :is(.article-copy,.article-body,.article-content,.sher-article-content) h3{font-size:var(--sher-h3)!important;line-height:1.3!important;margin-block:20px 8px!important}
body :is(.article-copy,.article-body,.article-content,.sher-article-content) p{line-height:var(--sher-leading)!important;margin-block:0 var(--sher-paragraph)!important}
body :is(.article-copy,.article-body,.article-content,.sher-article-content) :is(ul,ol){line-height:var(--sher-leading);margin-block:12px 16px;padding-inline-start:1.5em}
body :is(.article-copy,.article-body,.article-content,.sher-article-content) figure{margin-block:var(--sher-media)!important;margin-inline:0;max-width:100%}
body :is(.article-copy,.article-body,.article-content,.sher-article-content) img{max-width:100%;height:auto}
body :is(.article-copy,.article-body,.article-content,.sher-article-content) table{max-width:100%;font-size:inherit}
body :is(.article-copy,.article-body,.article-content,.sher-article-content) :is(td,th){padding:8px 10px;vertical-align:top}
body :is(.article-copy,.article-body,.article-content,.sher-article-content) pre{max-width:100%;overflow-x:auto}
@media(max-width:700px){body :is(.article-copy,.article-body,.article-content,.sher-article-content) h2{margin-block:24px 10px!important}body :is(.article-copy,.article-body,.article-content,.sher-article-content) table{display:block;overflow-x:auto}body :is(.article-copy,.article-body,.article-content,.sher-article-content) :is(td,th){padding:6px 8px}}

/* V91.5.272 — títulos dos cards de serviços sem quebra de palavras */
body .section-services .service-card > h3 {
  font-size: clamp(16px, 1.45vw, 19px) !important;
  line-height: 1.3 !important;
  margin-inline: 0 !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
}
body .section-services .service-card { padding-inline: 12px !important; }
body .section-services .service-card > p,
body .section-services .service-card > a { margin-inline: 0 !important; }
@media (min-width: 901px) and (max-width: 1150px) {
  body .section-services :is(.services-grid,.service-grid,.home-services-grid) { grid-template-columns: repeat(3,minmax(0,1fr)) !important; }
}
