/* Legaliza na Hora — sistema comum do site público.
   Última folha: tipografia, eixos, superfícies e controlos partilhados.
   Os layouts específicos e o comportamento dos formulários permanecem nos módulos. */
@font-face{font-family:LNH;src:url('/f/checkout-montserrat.woff2') format('woff2');font-style:normal;font-weight:400 700;font-display:swap}
:root{--lnh-font:LNH,Montserrat,Arial,sans-serif;--lnh-ink:#161616;--lnh-muted:#595959;--lnh-surface:#f4f4f2;--lnh-line:#dededb;--lnh-action:#3e6ae1;--lnh-action-hover:#3457b1;--lnh-radius:4px;--lnh-gutter:32px;--lnh-wide:1200px;--lnh-work:1120px}
body.lnh-editorial,body.lnh-system{font-family:var(--lnh-font)!important;font-size:16px;line-height:1.65;letter-spacing:0;color:var(--lnh-ink);--tinta:var(--lnh-ink);--cinza:var(--lnh-muted);--linha:var(--lnh-line);--ed-paper:var(--lnh-surface);--ed-cream:var(--lnh-surface);--claro:var(--lnh-surface)}
:is(body.lnh-editorial,body.lnh-system) :is(h1,h2,h3,h4,.disp,.mega,.rtit,.pv-summary-title,.price,.checkout-total,.pv-price-line strong,.pv-summary-buy strong,.ed-price-heading strong,.core-wordmark,.cg-wordmark,input,select,textarea,button,summary){font-family:var(--lnh-font)!important;font-stretch:normal}
/* Numeric proofs and service panels had their own legacy family declarations.
   Keep their existing size/weight and the separate Placa artwork face. */
:is(body.lnh-editorial,body.lnh-system) :is(
 .pv b,.pv-price strong,.ed-total strong,.av-h .av-n,.prova .n,.tres .n,
 .regua strong,.parc .v,.s-tot b,.compra-p b,.barra-compra b,.pu-preco b,
 .pv-proof b,.lx-isv,.cx b,.ha-aval b,.lx-gn b,.lx-conf b,.ct-passos b,
 .homologacao-rodape .rprova b,.relogio,.etapa,.lista4 strong,.prova-l b,
 .ss,.ss.ss-venda,.mais
){font-family:var(--lnh-font)!important;font-stretch:normal}
:is(body.lnh-editorial,body.lnh-system) :is(input,select,textarea,button){letter-spacing:0}
body.lnh-editorial h1{font-size:clamp(32px,3.8vw,48px);font-weight:700;line-height:1.15;letter-spacing:-.03em}
body.lnh-editorial h2{font-size:clamp(26px,2.7vw,32px);line-height:1.25;font-weight:700;letter-spacing:-.025em}
body.lnh-editorial :is(h3,h4){line-height:1.4;letter-spacing:-.01em}
body.lnh-editorial h3{font-size:20px;font-weight:600}
body.lnh-editorial h4{font-size:17px;font-weight:600}
:is(body.lnh-editorial,body.lnh-system) .w{max-width:var(--lnh-wide);margin-inline:auto;padding-inline:var(--lnh-gutter)}
body.lnh-editorial .w.lx-estreito{max-width:860px}
:is(body.lnh-editorial,body.lnh-system) .topo .menu{gap:14px!important}
/* One header axis and one set of controls on every commercial route. */
:is(body.lnh-editorial,body.lnh-system) .topo{--lnh-header-height:88px;background:#0a0a0a!important;border-bottom:1px solid #ffffff24}
:is(body.lnh-editorial,body.lnh-system) .topo .w{max-width:var(--lnh-wide)!important;min-height:88px;padding-inline:var(--lnh-gutter)!important;gap:24px}
:is(body.lnh-editorial,body.lnh-system) .topo .menu a{font-size:13px;font-weight:500;line-height:1.5;letter-spacing:0;color:#fff}
:is(body.lnh-editorial,body.lnh-system) .topo .marcas{gap:16px}
:is(body.lnh-editorial,body.lnh-system) .topo .logo{height:44px;width:auto}
:is(body.lnh-editorial,body.lnh-system) .topo .qa{height:52px;width:auto;padding-left:16px}
:is(body.lnh-editorial,body.lnh-system) .topo :is(.abrir,.idiomas summary){border-radius:var(--lnh-radius)!important;font-family:var(--lnh-font);font-weight:500;line-height:1.5}
/* Brand marks keep their proportions; flex must never squeeze the artwork. */
:is(body.lnh-editorial,body.lnh-system) .topo .marcas{flex-shrink:0}
:is(body.lnh-editorial,body.lnh-system) .topo .marcas>a{display:flex;flex:none;align-items:center}
:is(body.lnh-editorial,body.lnh-system) .topo .logo{width:auto!important;max-width:none!important;object-fit:contain;filter:none!important;flex-shrink:0}
:is(body.lnh-editorial,body.lnh-system) .topo .qa{max-width:none!important;flex-shrink:0}
/* Primary actions share colour, height, type and radius, including the wizard. */
:is(body.lnh-editorial,body.lnh-system) :is(.bt,.ed-button,.pv-buy-button,.button-primary,.button.primary,.lhero-feature-button,.btn.prim,.hero-document-button){font-family:var(--lnh-font)!important;border-radius:var(--lnh-radius)!important;font-size:14px!important;font-weight:600!important;letter-spacing:0!important;line-height:1.5!important;min-height:52px;box-shadow:none!important;text-transform:none;text-decoration:none}
:is(body.lnh-editorial,body.lnh-system) :is(.bt.p,.ed-button,.pv-buy-button,.button-primary,.button.primary,.lhero-feature-button,.btn.prim,.hero-document-button),body.pcv-checkout .checkout-section #f .checkout-wizard-actions .bt{background:var(--lnh-action)!important;border:1px solid var(--lnh-action)!important;color:#fff!important;box-shadow:none!important;border-radius:var(--lnh-radius)!important}
:is(body.lnh-editorial,body.lnh-system) :is(.bt.p,.ed-button,.pv-buy-button,.button-primary,.button.primary,.lhero-feature-button,.btn.prim,.hero-document-button):hover,body.pcv-checkout .checkout-section #f .checkout-wizard-actions .bt:hover{background:var(--lnh-action-hover)!important;border-color:var(--lnh-action-hover)!important;color:#fff!important}
:is(body.lnh-editorial,body.lnh-system) :is(.bt.s,.bt.sec){border:1px solid #a9a9a6!important;background:transparent!important;color:var(--lnh-ink)!important}
:is(body.lnh-editorial,body.lnh-system) :is(.lp-hero,.final,.closing,.lp-fecho,.tools,.heroi2,.lhero,.pv-intro.escuro) .bt.s,body.lnh-editorial .heroi .bt.s{color:#fff!important;border-color:#ffffff80!important}
body.lnh-editorial .heroi .comp-abre a{color:#fff;text-decoration:underline;text-underline-offset:3px}
:is(body.lnh-editorial,body.lnh-system) .topo .bt.p{min-height:44px;padding:10px 18px;font-size:13px!important}
:is(body.lnh-editorial,body.lnh-system) :focus-visible{outline:3px solid var(--lnh-action)!important;outline-offset:3px}
/* Keyboard entry stays above sticky headers on every public template. */
:is(body.lnh-editorial,body.lnh-system) .salta{
 position:fixed;top:8px;left:var(--lnh-gutter);z-index:1000;
 transform:translateY(calc(-100% - 16px));
 padding:12px 16px;min-height:44px;background:#fff;color:var(--lnh-ink);
 border:1px solid var(--lnh-line);border-radius:var(--lnh-radius);
 font-family:var(--lnh-font);line-height:1.5;text-decoration:underline;
}
:is(body.lnh-editorial,body.lnh-system) .salta:focus{transform:translateY(0)}
/* Public homologation pages share the same family and action language. */
body.lnh-system :is(p,li,a,label,small,.eyebrow,.lead,.card,.button){font-family:var(--lnh-font)!important}
body.lnh-system .button{border-radius:var(--lnh-radius)!important;font-size:14px;font-weight:600;min-height:52px}
body.lnh-system main h1{font-size:clamp(32px,3.8vw,48px)!important;line-height:1.15!important;letter-spacing:-.03em!important;font-weight:600!important}
body.lnh-system main .lead{font-size:17px!important;line-height:1.65!important}
/* Technical document names may exceed one mobile line; wrap only when needed. */
body.lnh-system.country-page main :is(h1,h2,h3){overflow-wrap:anywhere;word-break:normal}
body.lnh-editorial :is(form.pq,form.form) h2{font-size:20px!important;line-height:1.4!important;letter-spacing:-.01em!important}
body.lnh-editorial .ct-grid>div>p{max-width:72ch}
body.lnh-system :is(.focused-risk,.focused-promise){font-size:17px!important;line-height:1.65!important}
/* Marketing titles retain their own scale without changing the family. */
body.lnh-editorial.inicio-2026 .lp-hero h1{font-size:clamp(40px,5.1vw,64px)!important;line-height:1.1!important;letter-spacing:-.035em!important;max-width:min(100%,800px)!important}
body.lnh-editorial.inicio-2026 .lp-hero .lp-sub{font-size:17px;line-height:1.7}
body.lnh-editorial.inicio-2026 :is(.lp-cab,.lp-contratar-copy,.portal-grid,.lp-fecho) h2{font-size:clamp(28px,3vw,40px);line-height:1.2;letter-spacing:-.025em}
body.lnh-editorial.inicio-2026 :is(.lp-contratar,.lp-percurso,.lp-servicos,.lp-faq,.lp-fecho)>.w{padding-block:80px}
body.lnh-editorial:not(.inicio-2026):not(.pcv-checkout) main h1{font-size:clamp(32px,3.8vw,48px)!important;line-height:1.15!important;letter-spacing:-.03em!important;font-weight:600!important}
body.lnh-editorial :is(.ue-doc-head,.lhero-feature) h2{font-size:clamp(26px,2.7vw,32px)!important;line-height:1.25!important}
/* Service and shop surfaces use the same neutral palette and spacing rhythm. */
body.lnh-editorial :is(.pv-summary,.ed-services,.ct,.pq-pag,.ue-doc-index){background:var(--lnh-surface)}
body.lnh-editorial :is(.pv-summary,.pv-composicao,.pv-full-included,.pv-next,.ct){padding-block:64px}
body.lnh-editorial :is(.pv-summary-title,.ct h1){font-weight:600;font-size:clamp(32px,3.8vw,48px);line-height:1.15;letter-spacing:-.03em}
body.lnh-editorial .pv-summary h1 :is(span,em){font-weight:600!important;color:var(--lnh-ink)!important;font-style:normal}
body.lnh-editorial .lhero-feature-button{display:flex;align-items:center;justify-content:center;text-align:center;padding:14px 20px;min-height:52px}
body.lnh-editorial :is(.pv-summary-head,.ct-grid){gap:48px}
body.lnh-editorial .pv-summary-buy{padding:28px;border:1px solid var(--lnh-line);border-radius:8px!important;background:#fff}
body.lnh-editorial :is(.pv-price-line strong,.pv-summary-buy>strong,.ed-price-heading strong){font-weight:700;font-variant-numeric:tabular-nums;letter-spacing:-.025em}
body.lnh-editorial :is(.ed-services-grid,.ue-doc-grid){gap:24px}
body.lnh-editorial .ed-services-grid>article{border-color:var(--lnh-line);border-radius:8px!important;padding:28px;display:flex;flex-direction:column}
body.lnh-editorial .ed-services-grid>article h3{font-size:22px;line-height:1.35;letter-spacing:-.02em}
body.lnh-editorial .ed-services-grid>article .ed-button{margin-top:auto}
body.lnh-editorial :is(.form,.pq){border-radius:8px!important;border-color:var(--lnh-line);box-shadow:none}
body.lnh-editorial :is(.form,.pq) :is(input:not([type=radio]):not([type=checkbox]),select,textarea){font-family:var(--lnh-font)!important;border-radius:var(--lnh-radius)!important;border:1px solid #bcbcb9;background:#fff;min-height:54px;font-size:15px;line-height:1.5;padding:14px 16px}
body.lnh-editorial :is(.form,.pq) label{font-size:14px;line-height:1.5;font-weight:600}
body.lnh-editorial .pq-g2{gap:20px}
body.lnh-editorial .lnh-request-choice{padding:0!important;margin:0 0 24px!important;border:0!important;border-radius:0!important;background:none!important}
body.lnh-editorial .lnh-request-choice h2{margin:0 0 20px;font-size:20px!important;line-height:1.4!important}
body.lnh-editorial .ct-cards li{border-radius:8px!important;border-color:var(--lnh-line)}
/* The task form shares the commercial system, with a quieter heading scale. */
body.pcv-checkout{font-family:var(--lnh-font)!important;background:var(--lnh-surface);--checkout-ink:var(--lnh-ink);--checkout-muted:var(--lnh-muted);--checkout-bg:var(--lnh-surface);--checkout-line:var(--lnh-line)}
body.pcv-checkout .checkout-section>.w{max-width:var(--lnh-work)!important;padding-inline:var(--lnh-gutter)!important}
body.pcv-checkout .checkout-section h1{font-size:32px!important;line-height:1.25;letter-spacing:-.025em}
body.pcv-checkout .checkout-section #f .checkout-wizard-actions .bt{font-family:var(--lnh-font)!important;font-size:14px!important}
body.pcv-checkout #f input[type=file]::file-selector-button{font-family:var(--lnh-font)!important;border-radius:var(--lnh-radius)!important}
body.pcv-checkout #f .checkout-field:has(#em){display:flex;flex-direction:column;align-self:stretch;justify-content:space-between}
body.lnh-system .wrap{width:100%;max-width:var(--lnh-wide);margin-inline:auto;padding-inline:var(--lnh-gutter)}
:is(body.lnh-editorial,body.lnh-system) footer.homologacao-rodape{font-family:var(--lnh-font)!important}
/* Institutional footer keeps its content and has the same type and gutters. */
:is(body.lnh-editorial,body.lnh-system) footer.homologacao-rodape .w{max-width:var(--lnh-wide);padding-inline:var(--lnh-gutter)}
:is(body.lnh-editorial,body.lnh-system) .homologacao-rodape .rtit{font-size:32px;line-height:1.25;letter-spacing:-.025em}
:is(body.lnh-editorial,body.lnh-system) .homologacao-rodape .rgroup h2{font-size:14px;line-height:1.5;letter-spacing:0;font-weight:600}
:is(body.lnh-editorial,body.lnh-system) .homologacao-rodape .rgroup a{font-size:14px;line-height:1.65}
/* An expanded menu scrolls within the viewport, including short landscape screens.
   Use the actual header breakpoint; old browsers keep the vh fallback. */
:is(body.lnh-editorial,body.lnh-system) .topo .menu.on{
 max-height:calc(100vh - var(--lnh-header-height));
 max-height:calc(100dvh - var(--lnh-header-height));
 overflow-y:auto;
 overscroll-behavior-y:contain;
 padding-bottom:calc(24px + env(safe-area-inset-bottom,0px))!important;
}
/* Longer translated menus use the same expandable navigation, without clipping. */

 :is(body.lnh-editorial,body.lnh-system) .topo:has(.menu>a:nth-of-type(7)) .menu{display:none!important}
 :is(body.lnh-editorial,body.lnh-system) .topo:has(.menu>a:nth-of-type(7)) .menu.on{display:flex!important;position:absolute;inset:88px 0 auto;z-index:40;flex-direction:column;gap:0;padding:16px var(--lnh-gutter) 24px;background:#0a0a0a!important;border-bottom:1px solid #ffffff30}
 :is(body.lnh-editorial,body.lnh-system) .topo:has(.menu>a:nth-of-type(7)) .menu.on a{padding:12px 0;border-bottom:1px solid #ffffff26;min-height:44px;font-size:15px;white-space:normal}
 :is(body.lnh-editorial,body.lnh-system) .topo:has(.menu>a:nth-of-type(7)) .idiomas{display:none!important}
 :is(body.lnh-editorial,body.lnh-system) .topo:has(.menu>a:nth-of-type(7)) .abrir{display:block!important;order:4;flex:none;margin-left:0}
 :is(body.lnh-editorial,body.lnh-system) .topo:has(.menu>a:nth-of-type(7)) .bt.p{display:inline-flex!important;order:3;margin-left:auto}
 body.pcv-checkout .topo:has(.menu>a:nth-of-type(7)) :is(.menu,.abrir,.idiomas,.bt.p){display:none!important}

@media(max-width:1199px){
 :is(body.lnh-editorial,body.lnh-system) .topo .menu{display:none!important}
 :is(body.lnh-editorial,body.lnh-system) .topo .menu.on{display:flex!important;position:absolute;inset:88px 0 auto;z-index:40;flex-direction:column;gap:0;padding:16px var(--lnh-gutter) 24px;background:#0a0a0a!important;border-bottom:1px solid #ffffff30}
 :is(body.lnh-editorial,body.lnh-system) .topo .menu.on a{padding:12px 0;border-bottom:1px solid #ffffff26;min-height:44px;font-size:15px;white-space:normal}
 :is(body.lnh-editorial,body.lnh-system) .topo .idiomas{display:none!important}
 :is(body.lnh-editorial,body.lnh-system) .topo .abrir{display:block!important;order:4;flex:none;margin-left:0}
 :is(body.lnh-editorial,body.lnh-system) .topo .bt.p{display:inline-flex!important;order:3;margin-left:auto}
 body.pcv-checkout .topo :is(.menu,.abrir,.idiomas,.bt.p){display:none!important}
}
@media(max-width:1040px){:is(body.lnh-editorial,body.lnh-system) .topo .menu.on{background:#0a0a0a!important}:is(body.lnh-editorial,body.lnh-system) .topo .w{gap:16px}}
@media(max-width:640px){
 :root{--lnh-gutter:20px}
 :is(body.lnh-editorial,body.lnh-system) .topo{--lnh-header-height:76px}
 :is(body.lnh-editorial,body.lnh-system) .topo .idiomas{display:none!important}
 :is(body.lnh-editorial,body.lnh-system) .topo .marcas{margin:0;order:0;flex:0 0 auto;gap:10px}
 :is(body.lnh-editorial,body.lnh-system) .topo .marcas>a{max-width:none}
 :is(body.lnh-editorial,body.lnh-system) .topo .bt.p{display:inline-flex!important;order:2;flex:1 1 118px;max-width:148px;min-width:0;white-space:normal;text-align:center;line-height:1.3!important}
 :is(body.lnh-editorial,body.lnh-system) .topo .abrir{order:3;flex:0 0 auto;margin-left:0!important}
 body.pcv-checkout .topo .bt.p{display:none!important}

 :is(body.lnh-editorial,body.lnh-system) .topo .w{min-height:76px;gap:12px}
 :is(body.lnh-editorial,body.lnh-system) .topo .marcas{gap:10px}
 :is(body.lnh-editorial,body.lnh-system) .topo .logo{height:34px}
 :is(body.lnh-editorial,body.lnh-system) .topo .qa{height:42px;padding-left:10px}
 :is(body.lnh-editorial,body.lnh-system) .topo .bt.p{padding:10px 12px!important;font-size:11px!important;min-height:44px!important}
 :is(body.lnh-editorial,body.lnh-system) .topo .abrir{padding:10px 12px;font-size:14px;min-height:42px}
 :is(body.lnh-editorial,body.lnh-system) .topo .menu.on{top:76px}
 body.lnh-editorial :is(.pv-summary,.pv-composicao,.pv-full-included,.pv-next,.ct){padding-block:40px}
 body.lnh-editorial .pv-summary h1 :is(span,em){font-weight:600!important;color:var(--lnh-ink)!important;font-style:normal}
body.lnh-editorial .lhero-feature-button{display:flex;align-items:center;justify-content:center;text-align:center;padding:14px 20px;min-height:52px}
body.lnh-editorial :is(.pv-summary-head,.ct-grid){gap:28px}
 body.lnh-editorial .pv-summary-buy{padding:24px}
 body.lnh-editorial :is(.ed-services-grid,.ue-doc-grid){gap:20px}
 body.lnh-editorial .ed-services-grid>article{padding:24px}
 body.lnh-editorial.inicio-2026 :is(.lp-contratar,.lp-percurso,.lp-servicos,.lp-faq,.lp-fecho)>.w{padding-block:48px}
 body.lnh-editorial.inicio-2026 .lp-hero .lp-sub{font-size:16px}
 body.pcv-checkout .checkout-section h1{font-size:26px!important}
 :is(body.lnh-editorial,body.lnh-system) .homologacao-rodape .rtit{font-size:26px}
}
