/* Potência — sistema responsivo unificado (08/10/2026)
   Carregado por último em todas as páginas. Mantém marca, imagens, conteúdo e integrações.
   Gutter e escala fluidos -> desktop amplo -> tablet -> telefone -> telas estreitas. */
:root{
  --max:2120px;
  --pad:clamp(18px,3vw,88px);
  --site-nav-height:88px;
  --top-callbar-height:34px;
  --site-header-height:calc(var(--site-nav-height) + var(--top-callbar-height));
}
html{scroll-padding-top:calc(var(--site-header-height) + 20px)}
body{min-width:0}
.container{width:min(100%,var(--max));padding-inline:var(--pad)}
main,main>section,section,.container,.footer-main,.section-head>*{min-width:0}
img,video,iframe{max-width:100%}
img{height:auto}
button,input,textarea,select{min-width:0}
:where(h1,h2,h3,h4,p,li,.contact-value,.segment-title,.product-name){overflow-wrap:break-word}
:where(.btn,.text-link,a,button){touch-action:manipulation}
:where(a,button,input,select,textarea):focus-visible{outline:2px solid var(--red);outline-offset:3px}

/* Tipografia controlada também nas telas amplas: títulos legíveis, sem esticar. */
.display{font-size:clamp(37px,4vw,74px);line-height:1.08;letter-spacing:-.027em;max-width:1080px;text-wrap:balance}
.h1{font-size:clamp(33px,3.4vw,61px);line-height:1.1;max-width:1050px;text-wrap:balance}
.h2{font-size:clamp(28px,2.6vw,46px);line-height:1.13;text-wrap:balance}
.h3{font-size:clamp(22px,2vw,32px);line-height:1.18}
.lead,.prose p,.prose li{font-size:clamp(15px,1vw,19px);line-height:1.65}
.step-title{font-size:clamp(20px,1.45vw,25px)}
.upload-title{font-size:16px}
.region-card h3{font-size:clamp(15px,1.1vw,19px)}

/* Barra telefônica e menu: dimensões consistentes em todas as páginas. */
.site-header .top-callbar{height:var(--top-callbar-height);background:#c9121b;color:white}
.top-callbar-inner{justify-content:flex-start}
.site-header .top-callbar a{min-height:var(--top-callbar-height);display:inline-flex;align-items:center;white-space:normal;line-height:1.2}
.header-inner{height:var(--site-nav-height);gap:clamp(12px,2vw,28px)}
.wordmark{min-width:0;flex:0 0 auto}
.main-nav{gap:clamp(13px,1.8vw,28px)}
.main-nav a{white-space:nowrap}
.site-header.inner.scrolled{background:rgba(245,243,237,.97);color:var(--ink);border-bottom:1px solid var(--line)}

/* Heroes continuam com as imagens/títulos originais. Só geometria muda. */
/* A área de destaque precisa sempre cobrir a viewport inteira.
   O min-height permite crescer se o conteúdo passar da altura disponível. */
.hero,.page-hero,.regions-hero{
  width:100%;
  min-height:100vh; /* fallback para navegadores antigos */
  min-height:100dvh;
  height:auto;
  margin-top:0;
  display:flex;
  align-items:flex-end;
}
.hero-content,.page-hero>.container,.regions-hero>.container{
  padding-top:calc(var(--site-header-height) + 44px);
  padding-bottom:clamp(34px,5vh,86px);
}
.hero-copy{max-width:1080px}
.hero-copy p,.page-hero p{max-width:720px;font-size:clamp(16px,1.2vw,21px);line-height:1.55}
.hero-meta{margin-top:clamp(28px,3.8vw,56px);grid-template-columns:repeat(3,minmax(0,1fr))}
.hero-meta div{min-width:0}
.page-hero .h1{max-width:1010px}
.page-hero.image{background-position:center center}
.regions-hero .h1{max-width:980px}
.quote-hero>.quote-hero-layout{gap:clamp(24px,4vw,80px);min-width:0}

/* Seções e distribuição em desktop. */
.section{padding-block:clamp(48px,5.5vw,104px)}
.section-intro{padding-block:clamp(42px,4.2vw,74px)}
.section-head{gap:clamp(24px,4vw,64px)}
.section-head>.lead{max-width:610px}
.editorial{grid-template-columns:minmax(0,1fr) minmax(0,1fr);min-height:0}
.editorial-media{min-height:clamp(365px,33vw,680px)}
.editorial-copy{padding:clamp(28px,4.5vw,88px)}
.segment-grid{width:calc(100% - var(--pad) - var(--pad));max-width:calc(var(--max) - var(--pad) - var(--pad));margin-inline:auto;gap:clamp(14px,1.6vw,24px);grid-template-columns:repeat(2,minmax(0,1fr))}
.segment{min-height:clamp(320px,30vw,590px)}
.segment-content{padding:clamp(25px,3.5vw,66px)}
.segment-title{font-size:clamp(26px,2.6vw,42px)}
.product-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 clamp(22px,3vw,56px)}
.product-name{font-size:clamp(19px,1.7vw,29px)}
.image-band{min-height:clamp(350px,35vw,650px)}
.process{grid-template-columns:repeat(3,minmax(0,1fr))}
.process-step,.process-step+.process-step{min-width:0}
.segment-areas{grid-template-columns:repeat(3,minmax(0,1fr))}

/* Conversão: o formulário pode diminuir sem esmagar campos ou o anexo. */
.quote-section{padding-block:clamp(44px,5vw,96px)}
.quote-grid{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:clamp(28px,4.5vw,88px);align-items:start}
.quote-form{grid-template-columns:repeat(2,minmax(0,1fr));min-width:0;gap:18px 20px}
.quote-form>*{min-width:0}
.field input,.field select,.field textarea{width:100%;max-width:100%}
.upload-box,.upload-box input[type=file]{min-width:0;max-width:100%}
.form-consent{min-width:0}

/* Contatos, textos, mapa, CTA e rodapé. */
.content-grid,.content-grid>.prose{width:100%;max-width:none;min-width:0}
.prose-intro{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}
.prose-details ul{grid-template-columns:repeat(2,minmax(0,1fr))}
.contact-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(22px,3vw,64px)}
.contact-item{min-width:0}
.contact-value{overflow-wrap:anywhere}
.contact-location-heading{min-width:0;gap:20px}
.contact-map-frame{width:100%;height:clamp(320px,30vw,560px)}
.cta-strip-inner{grid-template-columns:minmax(0,1fr) auto;gap:clamp(18px,3.5vw,64px)}
.cta-strip h2{font-size:clamp(24px,2.35vw,42px);max-width:1000px}
.footer-main{grid-template-columns:minmax(0,1.25fr) minmax(0,.8fr) minmax(0,1fr);gap:clamp(26px,4vw,76px)}
.footer-links a,.footer-info{overflow-wrap:anywhere}

/* Produtos: cards consistentes, sem tamanhos presos em pixels grandes. */
.products-catalog{padding-block:clamp(44px,5vw,88px)}
.products-categories{gap:clamp(12px,1.3vw,24px)}
.products-category{min-width:0}
.products-category-media{height:clamp(175px,16vw,295px);min-width:0}
.products-category-info{min-height:98px}
.products-category-text{min-width:0}
.products-category-text strong{font-size:clamp(16px,1.15vw,21px)}
.products-detail-list{grid-template-columns:repeat(3,minmax(0,1fr))}
.products-brand-carousel{max-width:100%}
.products-brand-row li{flex-shrink:0}

/* Regiões: mapa/fatos em grid que escala progressivamente. */
.regions-overview-grid{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}
.region-cards{grid-template-columns:repeat(5,minmax(0,1fr));gap:clamp(12px,1.25vw,22px)}
.region-card{min-width:0;padding:clamp(16px,1.5vw,26px)}
.region-card strong{font-size:clamp(29px,2.8vw,55px)}

/* Notebooks e tablets horizontais: menu recolhível antes de começar a apertar. */
@media(max-width:1100px){
  :root{--site-nav-height:78px;--pad:clamp(20px,3.5vw,46px)}
  .menu-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;margin-left:auto;min-height:48px;min-width:72px;padding:10px 0;color:inherit;cursor:pointer}
  .menu-button:after{content:"";display:inline-block;width:17px;height:12px;border-top:2px solid currentColor;border-bottom:2px solid currentColor;box-shadow:inset 0 4px 0 transparent;position:relative}
  .main-nav{position:fixed;z-index:105;top:var(--site-header-height);bottom:0;left:0;right:0;width:100%;height:auto;max-height:calc(100dvh - var(--site-header-height));padding:clamp(18px,3vw,30px) var(--pad) 36px;background:var(--paper);color:var(--ink);display:none;flex-direction:column;align-items:stretch;gap:0;overflow-y:auto;overscroll-behavior:contain;box-shadow:0 18px 38px rgba(0,0,0,.08)}
  body.menu-open .main-nav{display:flex}
  .main-nav a,.site-header.inner .main-nav a,.site-header.inner.scrolled .main-nav a{display:flex;align-items:center;min-height:53px;padding:12px 0;border-bottom:1px solid var(--line);color:var(--ink);white-space:normal;font-size:17px}
  .main-nav .nav-cta,.site-header.inner .main-nav .nav-cta,.site-header.inner.scrolled .main-nav .nav-cta{margin-top:18px;padding:15px 18px;justify-content:center;border:0;background:var(--red);color:#fff;text-align:center}
  .site-header.menu-open,.site-header.inner.menu-open{background:var(--paper);color:var(--ink)}
  body.menu-open .site-header,body.menu-open .site-header.inner{background:var(--paper);color:var(--ink);border-bottom:1px solid var(--line)}
  body.menu-open .site-header .wordmark,body.menu-open .site-header.inner .wordmark{color:var(--ink)}
  .editorial{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .contact-grid{gap:24px}
  .quote-grid{grid-template-columns:1fr;gap:26px}
  .quote-form{max-width:900px}
  .quote-intro{position:static;max-width:850px}
  .regions-overview-grid{grid-template-columns:1fr}
  .region-cards{grid-template-columns:repeat(3,minmax(0,1fr))}
  .footer-main{grid-template-columns:1.1fr 1fr 1fr;gap:28px}
  .products-category,.products-category:nth-child(n+4){grid-column:span 6}
  .products-category-media{height:clamp(175px,23vw,260px)}
  .products-detail-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Tablets verticais e celulares grandes. */
@media(max-width:800px){
  /* Mantém o hero em altura total também nos tablets. */
  .hero-content,.page-hero>.container,.regions-hero>.container{padding-top:calc(var(--site-header-height) + 32px);padding-bottom:40px}
  .display{font-size:clamp(36px,5.3vw,58px)}
  .h1{font-size:clamp(34px,5vw,53px)}
  .h2{font-size:clamp(26px,3.8vw,38px)}
  .hero-meta{margin-top:26px}
  .section{padding-block:clamp(42px,7vw,70px)}
  .section-head{flex-direction:column;align-items:flex-start;gap:14px}
  .section-head>.lead{max-width:750px;margin:0}
  .editorial{grid-template-columns:1fr}
  .editorial-media{min-height:clamp(265px,45vw,460px)}
  .editorial-copy{padding:clamp(25px,5vw,48px) var(--pad)}
  .segment-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .segment{min-height:clamp(290px,38vw,400px)}
  .segment-content{padding:24px}
  .segment-title{font-size:clamp(23px,3vw,30px)}
  .product-list{grid-template-columns:1fr}
  .process{grid-template-columns:1fr}
  .process-step,.process-step+.process-step{padding:24px 0;border-right:0;border-bottom:1px solid rgba(255,255,255,.2)}
  .process-step:last-child{border-bottom:0}
  .step-number{margin-bottom:12px}
  .prose-intro{grid-template-columns:1fr}
  .prose-details ul{grid-template-columns:1fr}
  .contact-grid{grid-template-columns:1fr;gap:0}
  .contact-location-heading{align-items:flex-start;flex-direction:column}
  .cta-strip-inner{display:flex;flex-direction:column;align-items:flex-start;gap:22px}
  .footer-main{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px}
  .footer-brand{grid-column:1/-1}
  .segment-areas{grid-template-columns:repeat(2,minmax(0,1fr))}
  .regions-summary-head{flex-direction:column;align-items:flex-start;gap:12px}
  .region-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
  .quote-hero>.quote-hero-layout{grid-template-columns:1fr;gap:20px}
  .quote-scroll-cta{justify-self:start}
}

/* Telefones: sem cortes, campos realmente tocáveis e grades em uma coluna. */
@media(max-width:600px){
  :root{--site-nav-height:68px;--top-callbar-height:32px;--pad:clamp(16px,5vw,24px)}
  html{scroll-padding-top:calc(var(--site-header-height) + 12px)}
  .header-inner{gap:10px}
  .brand-mark{width:24px;height:31px}
  .brand-name{font-size:clamp(17px,5vw,20px)}
  .brand-sub{font-size:6px;letter-spacing:.18em}
  .menu-button{font-size:14px}
  .site-header .top-callbar a{font-size:11px;gap:6px}
  .hero,.page-hero,.regions-hero{align-items:flex-end}
  .hero-content,.page-hero>.container,.regions-hero>.container{padding-top:calc(var(--site-header-height) + 32px);padding-bottom:28px}
  .display{font-size:clamp(32px,8.4vw,45px);line-height:1.12;max-width:100%;text-wrap:pretty}
  .h1{font-size:clamp(31px,8.2vw,42px);line-height:1.12;text-wrap:pretty}
  .h2{font-size:clamp(25px,6.7vw,34px);line-height:1.17}
  .h3{font-size:clamp(22px,5.6vw,28px)}
  .hero-copy p,.page-hero p,.regions-hero .lead{font-size:15px;line-height:1.55;max-width:100%;margin-top:18px}
  .page-hero .h1{max-width:100%}
  .page-breadcrumb{margin-bottom:20px}
  .hero-actions{display:grid;grid-template-columns:1fr;gap:10px;margin-top:23px}
  .hero-actions .btn{width:100%;min-height:49px;text-align:center}
  .hero-meta{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px;margin-top:26px}
  .hero-meta div{padding:10px 8px 8px 0}
  .hero-meta div:nth-child(3){grid-column:1/-1;border-top:1px solid rgba(255,255,255,.2);margin-top:8px}
  .hero-meta strong{font-size:12px}
  .hero-meta span{font-size:11px}
  .section,.section-intro,.quote-section{padding-block:38px}
  .section-head{gap:12px;margin-bottom:22px}
  .section-head .lead,.section-head>.lead{font-size:15px;line-height:1.55}
  .section-intro .intro-copy .lead{font-size:15px}
  .editorial-media{min-height:250px}
  .editorial-copy{padding:32px var(--pad)}
  .segment-grid{grid-template-columns:1fr;gap:12px}
  .segment{min-height:315px}
  .segment-title{font-size:27px}
  .segment-content p{font-size:14px}
  .product-list{margin-top:20px}
  .product-row{min-height:75px;grid-template-columns:28px minmax(0,1fr) 24px}
  .product-name{font-size:clamp(18px,5vw,23px)}
  .image-band{min-height:340px}
  .image-band-copy{padding-top:50px;padding-bottom:42px}
  .process-step,.process-step+.process-step{padding:19px 0}
  .segment-areas{grid-template-columns:1fr;margin-top:22px}
  .segment-area{min-height:165px;padding:22px}
  .prose-intro{gap:16px}
  .prose-details li{padding:15px}
  .contact-item{padding:18px}
  .contact-value{font-size:clamp(17px,4.7vw,21px)}
  .contact-map-frame{height:320px}
  .quote-grid{grid-template-columns:1fr;gap:22px}
  .quote-form{grid-template-columns:1fr;gap:15px;padding:18px}
  .quote-form .field.full,.quote-form .upload-box,.quote-form .form-consent,.quote-form .form-actions{grid-column:1/-1}
  .field input,.field textarea,.field select{min-height:48px;font-size:16px}
  .upload-box{padding:15px}
  .upload-box input[type=file]{font-size:12px}
  .form-actions .btn,.products-request .btn,.cta-strip .btn{width:100%;min-height:50px}
  .ui-select-trigger{min-height:48px}
  .cta-strip-inner{align-items:stretch;padding-block:26px}
  .cta-strip h2{font-size:clamp(25px,6.4vw,33px)}
  .footer-main{grid-template-columns:1fr;gap:24px;padding-top:33px;padding-bottom:28px}
  .footer-brand{grid-column:auto}
  .footer-bottom{flex-direction:column;gap:8px}
  .products-heading{display:flex;flex-direction:column;align-items:flex-start;gap:9px;margin-bottom:20px}
  .products-categories{gap:12px}
  .products-category,.products-category:nth-child(n+4){grid-column:span 12}
  .products-category-media{height:clamp(166px,51vw,230px);padding:10px 14px 0}
  .products-category-info{min-height:0;padding:14px 17px 18px}
  .products-detail{padding:20px 16px}
  .products-detail-list{grid-template-columns:1fr}
  .products-detail-footer,.products-request{flex-direction:column;align-items:stretch}
  .products-detail-footer .btn,.products-request .btn{white-space:normal}
  .products-request{padding:20px;margin-top:18px}
  .products-brands-heading{gap:12px}
  .products-brand-row li{flex-basis:165px;height:100px}
  .products-brand-row .brand-official{max-width:135px;max-height:58px}
  .products-brands-caption{overflow-wrap:anywhere}
  .regions-hero{background-position:62% center}
  .regions-total-block{flex-direction:column;align-items:flex-start;gap:9px}
  .regions-overview-section{padding-block:38px}
  .region-cards{grid-template-columns:1fr}
  .region-card h3{font-size:17px;margin-bottom:18px}
  .region-card strong{font-size:48px}
  .quote-scroll-cta{justify-self:stretch;width:100%;white-space:normal}
}

/* Celulares compactos 320px e modo zoom (200%). */
@media(max-width:360px){
  .wordmark{gap:8px}
  .brand-name{font-size:16px}
  .brand-sub{font-size:5.5px}
  .menu-button{font-size:13px;min-width:62px}
  .display{font-size:30px}
  .h1{font-size:29px}
  .hero-meta{grid-template-columns:1fr}
  .hero-meta div:nth-child(3){grid-column:auto;margin-top:0}
  .hero-meta div+div{border-top:1px solid rgba(255,255,255,.19)}
  .page-hero>.container,.hero-content,.regions-hero>.container{padding-top:calc(var(--site-header-height) + 28px)}
  .products-category-media{height:170px}
}

/* Telas muito amplas: usa espaço adicional sem linhas enormes. */
@media(min-width:1800px){
  .segment-grid{gap:26px}
  .section-head>.lead{max-width:700px}
  .products-category-media{height:290px}
  .footer-main{padding-block:74px}
  .quote-grid{gap:90px}
}

/* Respeita acessibilidade e evita o carrossel animado forçado. */
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .brand-carousel-track,.products-brand-track{animation:none}
  .brand-carousel,.products-brand-carousel{overflow-x:auto}
  *,*::before,*::after{transition-duration:0.01ms!important}
}

/* v5 — correção real dos banners (não apenas dos heróis).
   Os destaques com imagem ocupam a viewport inteira, mesmo quando regras
   responsivas anteriores reduzem a altura para 340–650px. */
.hero,
.page-hero,
.regions-hero,
.image-band {
  box-sizing: border-box;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  max-height: none;
  overflow: hidden;
}

/* O banner principal e os banners internos devem realmente cobrir a área,
   nunca usar o tamanho natural da imagem nem deixar bordas vazias. */
.hero-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.page-hero.image,
.regions-hero,
.image-band {
  background-size: cover, cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* A mídia tem a altura toda, mas o texto continua seguro em telas baixas. */
.hero-content,
.page-hero > .container,
.regions-hero > .container,
.image-band-copy {
  position: relative;
  z-index: 2;
}
@media (max-width: 600px) {
  .hero,
  .page-hero,
  .regions-hero,
  .image-band {
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    height: auto;
  }
  .image-band-copy {
    padding-top: calc(var(--site-header-height) + 28px);
    padding-bottom: 36px;
  }
}

/* V6 — Produtos e Contato sem banner: conteúdo imediatamente após o cabeçalho fixo. */
body.no-banner-page main{padding-top:var(--site-header-height)}
body.no-banner-page .site-header.inner,
body.no-banner-page .site-header.inner.scrolled{
  background:var(--paper);
  color:var(--ink);
  border-bottom:1px solid var(--line);
}
body.no-banner-page .site-header.inner .wordmark,
body.no-banner-page .site-header.inner .main-nav a,
body.no-banner-page .site-header.inner .menu-button{color:var(--ink)}
body.no-banner-page .site-header.inner .brand-sub{color:rgba(22,22,22,.62)}
body.no-banner-page .site-header.inner .nav-cta{border-color:var(--ink);color:var(--ink)}
@media(max-width:1100px){
  body.no-banner-page .site-header.inner .main-nav .nav-cta{background:var(--red);border-color:var(--red);color:#fff}
}
body.no-banner-products .products-catalog{padding-top:clamp(36px,4.5vw,76px)}
body.no-banner-products .products-heading :is(h1,h2){margin:0;font-size:clamp(34px,3.5vw,54px);font-weight:800;letter-spacing:-.035em;line-height:1.08;color:var(--ink)}
body.no-banner-contact main>.section{padding-top:clamp(38px,4.5vw,78px)}
body.no-banner-contact .contact-page-title{
  margin:0 0 18px;
  font-size:clamp(35px,3.4vw,56px);
  font-weight:750;
  line-height:1.08;
  letter-spacing:-.03em;
  color:var(--ink);
}
body.no-banner-contact .contact-page-heading{padding-bottom:clamp(22px,2.8vw,36px)}
@media(max-width:600px){
  body.no-banner-products .products-catalog{padding-top:34px}
  body.no-banner-contact main>.section{padding-top:32px}
}
