/* ========================================================
   UNIFORMA V8.6
   SISTEMA GLOBAL DE PROPORCOES
   Marcellus / Montserrat / Tech Premium
   ======================================================== */

:root {
  --uf-size-body:15px;
  --uf-size-small:13px;
  --uf-size-h1:52px;
  --uf-size-h2:40px;
  --uf-size-h3:24px;
  --uf-line-body:1.75;
  --uf-section-space:76px;
}

/* Base tipografica */

html {
  font-size:16px;
}

body {
  font-size:var(--uf-size-body)!important;
  line-height:var(--uf-line-body);
}

/* Titulos comerciais */

.page-shell main h1 {
  font-size:var(--uf-size-h1)!important;
  line-height:1.16!important;
  letter-spacing:-.025em!important;
}

.page-shell main h2 {
  font-size:var(--uf-size-h2)!important;
  line-height:1.2!important;
  letter-spacing:-.025em!important;
}

.page-shell main h3 {
  font-size:var(--uf-size-h3)!important;
  line-height:1.3!important;
  letter-spacing:-.015em!important;
}

/* Paragrafos comerciais */

.page-shell main p {
  font-size:var(--uf-size-body)!important;
  line-height:var(--uf-line-body)!important;
}

/* Texto secundario */

.page-shell main small {
  font-size:var(--uf-size-small)!important;
  line-height:1.65!important;
}

/* Etiquetas editoriais */

.page-shell main :is(
  .ufc-editorial-eyebrow,
  .ufc-editorial-number,
  .ufc-kicker,
  .section-overline,
  .ufc-form-title
) {
  font-family:'Montserrat',sans-serif!important;
  font-size:11px!important;
  font-weight:600!important;
  line-height:1.85!important;
  letter-spacing:2.5px!important;
}

/* ========================================================
   PAGINA CONTACTOS
   ======================================================== */

.ufc .ufc-hero h1 {
  max-width:760px;
}

.ufc .ufc-hero p {
  max-width:600px;
}

.ufc .ufc-hero-grid {
  min-height:540px!important;
}

.ufc .ufc-hero-copy {
  padding-top:65px!important;
  padding-bottom:65px!important;
}

/* Estrutura editorial */

.ufc .ufc-editorial {
  padding-top:76px!important;
  padding-bottom:76px!important;
}

.ufc .ufc-editorial-heading {
  padding-bottom:58px!important;
}

body .ufc .ufc-editorial-heading h2 {
  font-size:40px!important;
  line-height:1.2!important;
  letter-spacing:-1px!important;
  margin-top:23px!important;
  font-weight:400!important;
}

body .ufc .ufc-editorial-heading > p {
  font-size:15px!important;
  line-height:1.8!important;
  margin-top:23px!important;
}

body .ufc .ufc-editorial-link {
  font-size:26px!important;
  line-height:1.35!important;
}

body .ufc .ufc-editorial-channel p {
  font-size:14px!important;
  line-height:1.7!important;
  margin-top:18px!important;
  margin-bottom:9px!important;
}

body .ufc .ufc-editorial-channel small {
  font-size:12px!important;
  line-height:1.75!important;
}

/* Reduzir excesso de espaco nas seccoes */

.ufc .ufc-section {
  padding-top:var(--uf-section-space)!important;
  padding-bottom:var(--uf-section-space)!important;
}

.ufc .ufc-form-area {
  padding-top:82px!important;
  padding-bottom:82px!important;
}

.ufc .ufc-form-intro {
  padding-top:18px!important;
}

/* ========================================================
   PAGINAS GENERICAS E HOME
   ======================================================== */

.page-shell main .detail-hero {
  padding-top:72px!important;
  padding-bottom:72px!important;
}

.page-shell main .detail-hero h1 {
  max-width:900px;
}

.page-shell main .detail-hero p {
  max-width:680px;
}

.page-shell main .content-section {
  padding-top:var(--uf-section-space);
  padding-bottom:var(--uf-section-space);
}

.page-shell main .detail-body h2,
.page-shell main .subpages h2 {
  line-height:1.2!important;
}

/* ========================================================
   FORMULARIO DE ORCAMENTO
   Preservar a escala aprovada
   ======================================================== */

body .page-shell main .uf-quote-heading {
  font-family:Georgia,'Times New Roman',serif!important;
  font-size:clamp(27px,2.1vw,37px)!important;
  font-weight:400!important;
  line-height:1.25!important;
  letter-spacing:-.8px!important;
}

body .page-shell main .uf-quote-header > p:last-child {
  font-family:'Montserrat',sans-serif!important;
  font-size:12px!important;
  line-height:1.8!important;
}

body .page-shell main .uf-quote-step h3 {
  font-family:'Montserrat',sans-serif!important;
  font-size:16px!important;
  line-height:1.45!important;
}

body .page-shell main .uf-quote-step-caption {
  font-family:'Montserrat',sans-serif!important;
  font-size:10px!important;
  line-height:1.5!important;
}

body .page-shell main .uf-quote-disclaimer,
body .page-shell main .uf-quote-consent {
  font-family:'Montserrat',sans-serif!important;
  font-size:11px!important;
  line-height:1.7!important;
}

body .page-shell main .uf-quote-review p {
  font-family:'Montserrat',sans-serif!important;
  font-size:12px!important;
  line-height:1.8!important;
}

body .page-shell main .uf-quote-visual-card p {
  font-family:'Montserrat',sans-serif!important;
  font-size:11px!important;
}

/* ========================================================
   TABLET
   ======================================================== */

@media (min-width:761px) and (max-width:1100px) {
  :root {
    --uf-size-h1:44px;
    --uf-size-h2:36px;
    --uf-size-h3:22px;
    --uf-section-space:64px;
  }

  body .ufc .ufc-editorial-heading h2 {
    font-size:36px!important;
  }
}

/* ========================================================
   MOBILE
   Medidas inspiradas nos valores reais fornecidos
   ======================================================== */

@media (max-width:760px) {
  :root {
    --uf-size-body:14px;
    --uf-size-small:12px;
    --uf-size-h1:36px;
    --uf-size-h2:32px;
    --uf-size-h3:21px;
    --uf-section-space:52px;
  }

  .page-shell main h1 {
    line-height:1.18!important;
    letter-spacing:-.02em!important;
  }

  .page-shell main h2 {
    line-height:1.2!important;
    letter-spacing:-.025em!important;
  }

  .page-shell main p {
    line-height:1.75!important;
  }

  .ufc .ufc-hero-grid {
    min-height:0!important;
  }

  .ufc .ufc-hero-copy {
    padding-top:125px!important;
    padding-bottom:48px!important;
  }

  .ufc .ufc-editorial {
    padding-top:55px!important;
    padding-bottom:55px!important;
  }

  .ufc .ufc-editorial-heading {
    padding-bottom:35px!important;
  }

  body .ufc .ufc-editorial-heading h2 {
    font-size:32px!important;
    line-height:38.4px!important;
    letter-spacing:-.8px!important;
    margin-top:16px!important;
  }

  body .ufc .ufc-editorial-heading > p {
    font-size:14px!important;
    line-height:1.85!important;
    margin-top:20px!important;
  }

  body .ufc .ufc-editorial-link {
    font-size:25px!important;
  }

  body .ufc .ufc-editorial-channel p {
    font-size:13px!important;
    line-height:1.75!important;
  }

  .ufc .ufc-section {
    padding-top:52px!important;
    padding-bottom:52px!important;
  }

  .ufc .ufc-form-area {
    padding-top:60px!important;
    padding-bottom:60px!important;
  }

  .ufc .ufc-form-intro {
    padding-top:0!important;
  }

  .page-shell main .detail-hero {
    padding-top:125px!important;
    padding-bottom:48px!important;
  }

  .page-shell main .content-section {
    padding-top:52px;
    padding-bottom:52px;
  }

  /* Orcamento continua independente */

  body .page-shell main .uf-quote-heading {
    font-size:29px!important;
  }

  body .page-shell main .uf-quote-header > p:last-child {
    font-size:12px!important;
  }
}

/* Acessibilidade */

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto!important;
  }
}
