/* Hierarquia editorial. Fontes locais do sistema, sem downloads adicionais. */
body.refined-typography {
  --reading-size: 1.0625rem;
  --detail-size: 1rem;
  font-size: var(--reading-size);
  line-height: 1.75;
}
.refined-typography :is(h1,h2,h3) { overflow-wrap: break-word; }
.refined-typography h1 { font-size: clamp(2.25rem, 3.7vw, 3.5rem); line-height: 1.12; letter-spacing: -.035em; }
.refined-typography h2 { font-size: clamp(1.875rem, 3vw, 2.5rem); line-height: 1.2; letter-spacing: -.025em; margin-bottom: 24px; }
.refined-typography h3 { font-size: clamp(1.25rem, 1.9vw, 1.5rem); line-height: 1.32; letter-spacing: -.015em; }
.refined-typography:is(.about-page,.services-page,.service-detail-page,.contact-page,.regional) h1 { font-size: clamp(2.25rem,3.7vw,3.5rem); line-height: 1.12; }
.refined-typography:is(.about-page,.services-page,.service-detail-page,.contact-page,.regional) h2 { font-size: clamp(1.875rem,3vw,2.5rem); line-height: 1.2; }
body.refined-typography :is(.eyebrow,.solution-kicker,.service-kicker,.card-label,.visual-overline,.format-label,.about-service-label) {
  font-size: .75rem; line-height: 1.65; letter-spacing: .12em;
}
body.refined-typography .lead { font-size: 1.125rem; line-height: 1.75; }
body.refined-typography :is(.button,.text-link,.solution-link,.service-detail,.detail-related a) { font-size: .9375rem; line-height: 1.5; }
body.refined-typography .button { min-height: 50px; padding: 14px 24px; white-space: normal; text-align: center; }
.refined-typography .main-nav { font-size: .9375rem; }
.refined-typography .header-cta { font-size: .875rem; min-height: 44px; padding: 10px 18px; }
.refined-typography :is(.small,.section-note,.breadcrumbs,.hero-note,.detail-hero-note,.about-hero-note,.visual-foot,.service-photo figcaption,.detail-visual figcaption,.site-example figcaption) { font-size: .875rem; line-height: 1.65; }
.refined-typography :is(.card p,.process p,.detail-process p,.detail-rows p,.detail-three p,.website-benefit-grid p,.detail-sector-grid p,.detail-faq details > p,.faq p,.regional-query-grid article p:last-child,.about-method-list p,.about-service-list p,.about-principle p:last-child,.about-nation-inner p:last-child,.services-heading > p:last-child,.services-national p:not(.eyebrow),.services-core-grid article > p:not(.service-kicker),.services-core-grid li,.sites-service-grid > div > p:not(.eyebrow),.sites-benefits,.ads-service-grid p:not(.service-kicker),.website-formats p:not(.format-label),.meta-format-grid p:not(.format-label)) {
  font-size: var(--detail-size); line-height: 1.75;
}
.refined-typography :is(.about-story-inner > p:not(.eyebrow),.contact-explanation,.contact-person p,.national-heading > p:last-child,.regional-hero .lead) { font-size: var(--reading-size); line-height: 1.75; }
.refined-typography :is(.faq h3,.detail-faq h3) { font: 600 1rem/1.6 Arial,Helvetica,sans-serif; letter-spacing: 0; }
.refined-typography :is(.process h3,.detail-process h3) { font-size: 1.25rem; line-height: 1.35; }
.refined-typography .field label { font-size: .875rem; line-height: 1.5; }
.refined-typography :is(input,select,textarea) { font-size: 1rem; min-height: 48px; }
.refined-typography .form-panel .small { font-size: .8125rem; line-height: 1.7; }
.refined-typography .form-title { font-size: 1.625rem; line-height: 1.3; }
.refined-typography .form-status { font-size: .9375rem; }
.refined-typography .footer-grid { grid-template-columns: 1.2fr .65fr .85fr 1.3fr; }
.refined-typography :is(.footer-grid p:not(.footer-title),.footer-grid a:not(.footer-brand)) { font-size: .875rem; line-height: 1.8; }
.refined-typography .footer-title { font-size: .875rem; }
.refined-typography .footer-bottom { font-size: .8125rem; }
.refined-typography .footer-brand span { font-size: .6875rem; }
/* Home: texto com mais presença, títulos contidos e ritmo entre os blocos. */
.refined-typography.home .section { padding-block: 88px; }
.refined-typography.home .home-hero-grid { gap: clamp(32px,5vw,72px); }
.refined-typography.home .home-hero h1 { font-size: clamp(2.375rem,4.05vw,3.625rem); line-height: 1.09; letter-spacing: -.045em; margin-bottom: 26px; }
.refined-typography.home .home-hero h1 em { letter-spacing: -.03em; }
.refined-typography.home .home-hero .lead { font-size: 1.125rem; line-height: 1.75; max-width: 490px; }
.refined-typography.home .hero-location p { font-size: .875rem; line-height: 1.65; }
.refined-typography.home .hero-location p span { font-size: .8125rem; }
.refined-typography.home .home-portrait figcaption strong { font-size: 1.375rem; }
.refined-typography.home .home-portrait figcaption span { font-size: .8125rem; line-height: 1.6; }
.refined-typography.home .expertise-strip .container { font-size: .75rem; letter-spacing: .1em; flex-wrap: wrap; justify-content: center; gap: 12px 34px; }
.refined-typography.home .section-heading { margin-bottom: 36px; gap: 36px; }
.refined-typography.home .section-heading h2 { max-width: 860px; }
.refined-typography.home .section-heading > p { font-size: var(--reading-size); line-height: 1.75; }
.refined-typography.home .solutions-layout { grid-template-columns: .92fr 1.08fr; gap: 44px; }
.refined-typography.home .solution-feature { padding: 38px; }
.refined-typography.home .solution-feature h3 { font-size: clamp(2.125rem,3.4vw,2.75rem); line-height: 1.12; margin-bottom: 24px; }
.refined-typography.home :is(.solution-feature > p:not(.solution-kicker),.solution-row p,.journey-list p,.home-media p:not(.eyebrow),.process p,.national-benefits span) { font-size: var(--detail-size); line-height: 1.75; }
.refined-typography.home .solution-row { grid-template-columns: 24px minmax(0,1fr); gap: 18px; padding-block: 25px 30px; }
.refined-typography.home .solution-row h3 { font-size: clamp(1.375rem,2.1vw,1.75rem); line-height: 1.3; }
.refined-typography.home .solution-row p { max-width: none; }
.refined-typography.home :is(.solution-number,.journey-list article > span) { font-size: .8125rem; }
.refined-typography.home .discovery-grid { gap: 64px; }
.refined-typography.home .journey-list h3 { font: 600 1.0625rem/1.5 Arial,Helvetica,sans-serif; letter-spacing: 0; }
.refined-typography.home .scene-label { font-size: 1.375rem; }
.refined-typography.home .scene-caption { font-size: .8125rem; line-height: 1.65; }
.refined-typography.home .about-editorial { max-width: 1000px; }
.refined-typography.home .about-editorial > p:not(.eyebrow) { font-size: var(--reading-size); line-height: 1.8; max-width: 75ch; }
.refined-typography.home .about-editorial > .about-introduction { font-size: 1.1875rem; }
.refined-typography.home .media-grid { gap: 70px; }
.refined-typography.home .media-links span { font-size: 1.375rem; line-height: 1.35; }
.refined-typography.home .media-links h3 { font-size: 1.375rem; line-height: 1.35; margin: 0; }
.refined-typography.home .media-links a:hover h3 { color: var(--gold); }
.refined-typography.home .media-links small { font-size: .875rem; line-height: 1.6; }
.refined-typography.home .step { font-size: 1.75rem; margin-bottom: 20px; }
.refined-typography .national-copy h3 { font-size: clamp(1.375rem,2.1vw,1.75rem); line-height: 1.3; }
.refined-typography .national-benefits strong { font-size: 1rem; line-height: 1.5; }
.refined-typography .map-instruction { font-size: .875rem; }
.refined-typography .map-credit { font-size: .8125rem; }
.refined-typography :is(.state-directory summary,.state-group a,.regional-related a) { font-size: .9375rem; }
.refined-typography .state-group p { font-size: .8125rem; }
.refined-typography .state-group a span { font-size: .75rem; }
/* A busca ilustrativa mantém sua própria escala de leitura. */
.refined-typography.home .google-searchbar { font-size: .9375rem; }
.refined-typography.home .google-tabs { font-size: .8125rem; gap: 18px; }
.refined-typography.home .google-source strong { font-size: .875rem; }
.refined-typography.home .google-source div > span { font-size: .75rem; }
.refined-typography.home .google-result .google-result-title { font-size: 1.1875rem; line-height: 1.4; }
.refined-typography.home .google-result .google-snippet { font-size: .875rem; line-height: 1.7; }
.refined-typography.home .google-sitelinks { font-size: .8125rem; }
@media (max-width: 1000px) {
  .refined-typography .footer-grid { grid-template-columns: 1.2fr 1fr; }
  .refined-typography.home .section { padding-block: 68px; }
  .refined-typography.home :is(.discovery-grid,.media-grid,.solutions-layout) { gap: 32px; }
  .refined-typography.home .solution-feature { padding: 30px; }
}
@media (max-width: 760px) {
  body.refined-typography { --reading-size: 1rem; --detail-size: 1rem; }
  body.refined-typography h1 { font-size: clamp(2.125rem,8vw,2.75rem); line-height: 1.14; }
  body.refined-typography h2 { font-size: clamp(1.75rem,6.7vw,2.125rem); line-height: 1.22; }
  body.refined-typography:is(.about-page,.services-page,.service-detail-page,.contact-page,.regional) h1 { font-size: clamp(2.125rem,8vw,2.75rem); line-height: 1.14; }
  body.refined-typography:is(.about-page,.services-page,.service-detail-page,.contact-page,.regional) h2 { font-size: clamp(1.75rem,6.7vw,2.125rem); line-height: 1.22; }
  body.refined-typography .lead { font-size: 1.0625rem; }
  .refined-typography.home .home-hero h1 { font-size: clamp(2.25rem,8.8vw,3rem); line-height: 1.1; }
  .refined-typography.home .home-hero .lead { font-size: 1.0625rem; }
  .refined-typography.home .home-hero .button { font-size: .9375rem; }
  .refined-typography.home .section { padding-block: 56px; }
  .refined-typography.home .solutions-layout { grid-template-columns: minmax(0,1fr); }
  .refined-typography.home .solution-feature h3 { font-size: 2.25rem; }
  .refined-typography.home .solution-row h3 { font-size: 1.5rem; }
  .refined-typography.home .section-heading > p { margin-top: 18px; }
  .refined-typography.home .expertise-strip .container { font-size: .6875rem; gap: 10px 16px; letter-spacing: .06em; }
  .refined-typography.home .about-editorial { padding-left: 22px; }
  .refined-typography.home .about-editorial > .about-introduction { font-size: 1.125rem; }
  .refined-typography .footer-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
}
