/* NOVA ESTRUTURA V12.1 — correção tipográfica e responsiva.
   Sem alterações nos algoritmos, 3D, IFC, dados ou fluxos dos formulários.
   Este CSS é carregado POR ÚLTIMO para evitar conflitos das versões anteriores. */
:root { --nova-text:#142d45; --nova-border:#d9e4ed; }
html{scroll-padding-top:100px;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{font-family:'Segoe UI',Arial,sans-serif;line-height:1.65;overflow-wrap:normal;word-break:normal}
body,main,section,article,aside,form,.wrap,.request-card,.request-side,.request-body,.form-two,.service-card,.hero-copy,.intro-right,.n7-app,.n7-settings,.n7-preview,.n3d,.sim-layout,.sim-form{min-width:0}
h1,h2,h3,h4,.service-card h3,.hero h1,.section-intro h2,.request-side h2,.request-form-heading h3{
  font-family:'Segoe UI',Arial,sans-serif!important;
  font-stretch:normal!important;
  font-weight:750!important;
  letter-spacing:-.012em!important;
  line-height:1.22!important;
  overflow-wrap:break-word;
  text-wrap:pretty;
}
p,li,small,label,button,a,figcaption,.form-disclaimer{letter-spacing:normal;line-height:1.6;overflow-wrap:break-word}
button,input,select,textarea{max-width:100%;min-width:0;font-family:inherit}
input,textarea,select{line-height:1.45!important}
:focus-visible{outline:2px solid #4a9dd0;outline-offset:3px}
/* Header, espaçamento do menu e marca */
#header .nav-wrap{gap:18px}
#header .brand{gap:10px;min-width:0}
#header .brand strong{font:750 clamp(18px,1.7vw,22px)/1.15 'Segoe UI',Arial,sans-serif!important;letter-spacing:-.012em!important;white-space:nowrap}
#header .brand small{font-size:9px!important;letter-spacing:.055em!important;line-height:1.35!important}
#header .nav{gap:17px;min-width:0}
#header .nav a{font-size:12px!important;white-space:nowrap;line-height:1.35}
#header .nav-side{flex:none;gap:10px}
#header .btn-mini{line-height:1.3!important;gap:6px!important}
/* Título principal com altura suficiente para letras acentuadas */
.hero .hero-copy{min-width:0;max-width:660px}
.hero h1{font-size:clamp(42px,4.8vw,67px)!important;line-height:1.17!important;letter-spacing:-.025em!important;margin:0 0 19px!important;max-width:690px!important}
.hero h1 em{display:block!important;line-height:1.19!important;white-space:normal}
.hero .eyebrow{letter-spacing:.1em!important;line-height:1.5!important}
.hero .hero-sub{font-size:15px!important;line-height:1.75!important}
.hero .hero-actions .btn{line-height:1.4!important;white-space:normal;text-align:center}
.hero-stats div{min-width:0}.hero-stats span{line-height:1.4!important;letter-spacing:.03em!important}
/* Serviços: legibilidade dos nomes longos, cartões sem colagens */
#solucoes .section-intro{grid-template-columns:minmax(0,1fr) minmax(0,.9fr);gap:clamp(24px,5vw,65px)!important;align-items:center}
#solucoes .section-intro h2{font-size:clamp(36px,3.5vw,51px)!important;line-height:1.18!important;max-width:none!important}
#solucoes .intro-right p{font-size:14px!important;line-height:1.75!important}
#solucoes .services-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important}
#solucoes .service-card .service-top{line-height:1.4!important;letter-spacing:.08em!important;margin:15px 18px 8px!important}
#solucoes .service-card h3{font-size:clamp(18px,1.5vw,21px)!important;line-height:1.26!important;letter-spacing:-.014em!important;margin:0 18px 10px!important;hyphens:none!important}
#solucoes .service-card p{font-size:12px!important;line-height:1.68!important;margin:0 18px 14px!important}
#solucoes .service-card .service-cta{margin:0 18px!important;flex:none}
#solucoes .service-card{overflow:hidden;min-width:0!important}
/* Pedido: o principal local com texto apertado e campos justapostos */
#pedido .request-layout,#candidatar .request-layout{grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);gap:clamp(30px,4.8vw,75px)!important;align-items:start}
#pedido .request-side,#candidatar .request-side{min-width:0}
#pedido .request-side h2,#candidatar .request-side h2{font-size:clamp(37px,3.5vw,51px)!important;line-height:1.22!important;margin:10px 0 25px!important}
#pedido .request-side h2 em,#candidatar .request-side h2 em{display:inline;line-height:inherit}
#pedido .request-side>p,#candidatar .request-side>p{font-size:15px!important;line-height:1.8!important}
#pedido .request-bullets div{align-items:flex-start;line-height:1.6;gap:12px}
#pedido .request-card,#candidatar .request-card{border-radius:12px;overflow:hidden;min-width:0}
#pedido .request-tabs button{padding:17px 12px!important;font:700 12px/1.45 'Segoe UI',Arial,sans-serif!important;white-space:normal;overflow-wrap:break-word;min-height:63px}
#pedido .request-body,#candidatar .request-body{padding:clamp(23px,2.35vw,35px)!important}
#pedido .request-form-heading,#candidatar .request-form-heading{gap:16px;min-width:0;align-items:flex-start}
#pedido .request-form-heading>div,#candidatar .request-form-heading>div{min-width:0}
#pedido .request-form-heading h3,#candidatar .request-form-heading h3{font-size:clamp(23px,2vw,29px)!important;line-height:1.3!important;margin:9px 0 5px!important}
#pedido .form-two,#candidatar .form-two{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:16px;row-gap:17px;margin-bottom:19px}
#pedido .form-two >div,#candidatar .form-two >div{min-width:0}
#pedido .request-card label,#candidatar .request-card label{display:block;font:700 13px/1.5 'Segoe UI',Arial,sans-serif!important;color:#374e65;margin:0 0 8px}
#pedido .request-card input:not([type=checkbox]),#pedido .request-card select,#pedido .request-card textarea,
#candidatar .request-card input:not([type=checkbox]),#candidatar .request-card select,#candidatar .request-card textarea{
  display:block;box-sizing:border-box;width:100%;font:400 14px/1.5 'Segoe UI',Arial,sans-serif!important;
  min-height:49px;padding:12px 13px;border-radius:8px;
}
#pedido .request-card textarea,#candidatar .request-card textarea{min-height:124px;resize:vertical}
#pedido .consent,#candidatar .consent{display:flex!important;gap:11px;align-items:flex-start;line-height:1.55!important;margin:22px 0 15px!important}
#pedido .consent input,#candidatar .consent input{flex:0 0 17px;margin:4px 0 0;width:17px;height:17px}
#pedido .consent span,#candidatar .consent span{font-size:12px;line-height:1.6;min-width:0}
#pedido .form-actions,#candidatar .form-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:stretch;margin-top:18px}
#pedido .form-actions .btn,#candidatar .form-actions .btn{min-width:0!important;width:100%;height:auto;min-height:53px;line-height:1.4!important;padding:13px 14px!important;justify-content:center;text-align:center;white-space:normal}
#pedido .form-actions .btn-copy{grid-column:1/-1}
#pedido .form-disclaimer,#candidatar .form-disclaimer{font-size:11px!important;line-height:1.7!important;max-width:100%}
#pedido .contact-detail a,#candidatar .contact-detail a{overflow-wrap:anywhere}
/* Outros elementos da homepage que utilizavam títulos muito comprimidos */
.quick-lead-heading h2,.solar-section h2,.sim-promo h2,.proof h2,.method h2,.careers-teaser h2,.candidate-content h2{font-size:clamp(35px,3.65vw,54px)!important;line-height:1.24!important;letter-spacing:-.015em!important}
.quick-lead-strip .wrap{min-width:0;grid-template-columns:minmax(0,.8fr) minmax(0,1fr);gap:clamp(24px,4vw,56px)}
.quick-lead-strip .console-body h2{font-size:clamp(23px,2.3vw,31px)!important;line-height:1.26!important}
.quick-lead-strip .console-body label{font-size:12px!important;line-height:1.45!important}
.quick-lead-strip .console-body .form-two{grid-template-columns:repeat(2,minmax(0,1fr))}
.quick-lead-strip .console-body .form-two>div{min-width:0}
.quick-lead-strip .console-body input,.quick-lead-strip .console-body select{font-size:13px!important;min-width:0;width:100%}
.offer-band h3{font:750 21px/1.35 'Segoe UI',Arial,sans-serif!important;letter-spacing:-.012em!important}
.steps-grid h3{font-size:19px!important;line-height:1.3!important}
.proof-grid figcaption strong{font:700 19px/1.3 'Segoe UI',Arial,sans-serif!important}
.footer-brand{line-height:1.3!important;font-family:'Segoe UI',Arial,sans-serif!important;font-size:21px!important}
.footer-brand small{line-height:1.6!important}
.footer-bottom{flex-wrap:wrap;line-height:1.6!important}
/* Simulador e configurador 3D: reduzir compactação de cabeçalhos, rótulos e botões */
.sim-hero h1{font-size:clamp(38px,4vw,60px)!important;line-height:1.22!important}
.sim-step-label h2{font-size:clamp(22px,2.3vw,30px)!important;line-height:1.25!important}
.sim-choice b{font-size:15px;line-height:1.45}
.sim-choice small{line-height:1.65}
.sim-side h3{font:750 23px/1.35 'Segoe UI',Arial,sans-serif!important;letter-spacing:-.015em!important}
.sim-form label{line-height:1.55!important}
.sim-actions .btn{line-height:1.4!important}
.n7-titleline h1{font-size:clamp(23px,2.5vw,32px)!important;line-height:1.26!important}
.n7-panehead h2{font-size:21px!important;line-height:1.3!important}
.n7-group h3{font-size:14px!important;line-height:1.45!important}
.n7-settings label,.n3d-side label{line-height:1.55!important}
.n7-details summary{line-height:1.5!important;white-space:normal;gap:9px}
.n7-details summary small{line-height:1.5!important}
.n7-barinner small,.n7-barinner b{line-height:1.4!important}
.n7-actions .n7-btn{white-space:normal!important;line-height:1.4!important;padding:12px 10px;min-height:47px}
.n7-price{white-space:normal}
.n7-price strong{color:#276d9c}
/* Navegação em telas intermédias, antes de começar a comprimir os itens */
@media(max-width:1260px){
 #header .menu-toggle{display:flex!important;flex:0 0 35px}
 #header .nav{display:none!important;position:absolute;top:76px;left:0;right:0;z-index:106;margin:0;padding:20px max(24px,5vw);background:#0a2741!important;flex-direction:column;align-items:flex-start;gap:16px;box-shadow:0 14px 30px #0b233b30}
 #header .nav.open{display:flex!important}
 #header .nav a{white-space:normal;font-size:14px!important;line-height:1.5}
 #header .nav a.nav-careers{border:0;padding:0}
 #header .nav-side{margin-left:auto}
 #solucoes .services-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 #solucoes .service-card h3{font-size:clamp(19px,2vw,23px)!important}
}
@media(max-width:1060px){
 #pedido .request-layout,#candidatar .request-layout{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:30px!important}
 #pedido .request-side h2,#candidatar .request-side h2{font-size:38px!important}
 .quick-lead-strip .wrap{grid-template-columns:1fr!important;gap:24px}
 .quick-lead-strip .hero-console{max-width:660px}
 .n7-header nav{gap:12px}.n7-header nav a{line-height:1.5}
}
@media(max-width:830px){
 #pedido .request-layout,#candidatar .request-layout{grid-template-columns:minmax(0,1fr)!important;gap:32px!important}
 #pedido .request-side,#candidatar .request-side{position:static!important}
 #pedido .request-side h2,#candidatar .request-side h2{max-width:700px;font-size:clamp(36px,6vw,50px)!important}
 .request-card{max-width:100%}
 #solucoes .section-intro{grid-template-columns:1fr!important;gap:18px!important}
 .careers-page .header .nav{display:none!important}
 .sim-layout{grid-template-columns:minmax(0,1fr)!important}
 .sim-side{position:static!important}
 .n7-titleline{gap:12px}
}
@media(max-width:650px){
 .wrap{width:calc(100% - 32px)!important}
 .hero .hero-layout{min-height:0!important;padding:60px 0 53px!important}
 .hero h1{font-size:clamp(38px,10vw,56px)!important;line-height:1.19!important}
 .hero .hero-sub{font-size:14px!important}
 .hero-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 #solucoes .services-grid{grid-template-columns:1fr!important;gap:16px!important}
 #solucoes .service-card h3{font-size:21px!important}
 #solucoes .service-card p{font-size:13px!important}
 .request-tabs button{font-size:12px!important;padding:13px 7px!important;min-height:72px}
 #pedido .form-two,#candidatar .form-two{grid-template-columns:minmax(0,1fr)!important;gap:14px;margin-bottom:14px}
 #pedido .form-actions,#candidatar .form-actions{grid-template-columns:1fr}
 #pedido .form-actions .btn-copy{grid-column:auto}
 #pedido .request-body,#candidatar .request-body{padding:21px 17px!important}
 #pedido .request-form-heading,#candidatar .request-form-heading{flex-direction:column;gap:7px}
 #pedido .request-form-heading h3,#candidatar .request-form-heading h3{font-size:23px!important}
 .quick-lead-strip .console-body .form-two{grid-template-columns:1fr!important;gap:12px}
 .quick-lead-strip .console-body{padding:20px!important}
 .quick-lead-heading h2{font-size:32px!important}
 .solar-layout,.footer-main{grid-template-columns:1fr!important}
 .sim-grid.two,.sim-grid.three,.sim-choices{grid-template-columns:1fr!important}
 .sim-hero h1{font-size:40px!important}
 .n7-titleline{flex-wrap:wrap;align-items:flex-start}
 .n7-app{padding:0 12px 155px!important}
 .n7-barinner{padding:10px 12px!important}
 .n7-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%;gap:7px!important}
 .n7-actions #n7Request{grid-column:1/-1}
 .n7-actions .n7-btn{font-size:11px!important;min-height:43px;padding:9px 7px}
 .n7-settings{padding:15px!important}
 .n7-header nav{display:none!important}
 .n7-header .n7-brand small{display:none}
 .n7-header .n7-brand b{font-size:14px!important;letter-spacing:0!important}
 .n7-header #n7HeaderRequest{font-size:11px!important;white-space:normal}
}
@media(max-width:390px){
 #header .brand img{width:35px;height:35px}
 #header .brand strong{font-size:16px!important;white-space:normal}
 #header .nav-side{gap:5px}
 #header .language select{font-size:11px!important}
 #solucoes .service-card .service-photo{aspect-ratio:1.75!important}
 .hero h1{font-size:37px!important}
 .n7-header .n7-brand b{font-size:12px!important}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
/* Coerência azul também em formulários técnicos legados. */
.n7-app{--n7-orange:#3189bb}
.n7-info,.n7-warning{background:#f1f7fc!important;border-left-color:#398cbd!important;color:#345a76!important}
.sim-choice.selected{background:#edf7fd!important}
@media(max-width:760px){#header .nav{top:72px}}
