/* ACTON RC8-R27 — final shared visual system. One file in each independent Pages root. */
:root{--acton-r27-lang-bg:#f0f2f3;--acton-r27-lang-text:#56646b;--acton-r27-lang-active:#fff;--acton-r27-cta-bg:#f2f4f5;--acton-r27-cta-text:#18262a}
/* Language control identical across all public Pages surfaces. */
nav:is(.language,.lang-links,.r14-product-langs,.acton-lang-switch,.acton-lang-unified){display:inline-flex!important;align-items:center!important;gap:3px!important;background:var(--acton-r27-lang-bg)!important;border:0!important;padding:3px!important;border-radius:8px!important;box-shadow:none!important;line-height:1.2!important;max-width:100%!important}
nav:is(.language,.lang-links,.r14-product-langs,.acton-lang-switch,.acton-lang-unified)>a{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;white-space:nowrap!important;min-height:30px!important;padding:5px 8px!important;border:0!important;border-radius:6px!important;background:transparent!important;color:var(--acton-r27-lang-text)!important;font:600 11px/1.2 system-ui,sans-serif!important;text-decoration:none!important;box-shadow:none!important;min-width:0!important}
nav:is(.language,.lang-links,.r14-product-langs,.acton-lang-switch,.acton-lang-unified)>a[aria-current="page"]{background:var(--acton-r27-lang-active)!important;color:#17282c!important;font-weight:700!important}
nav:is(.language,.lang-links,.r14-product-langs,.acton-lang-switch,.acton-lang-unified)>a:focus-visible{outline:2px solid #205c69!important;outline-offset:1px!important}
/* Correct R23 regression: relative positioning overrides absolute art and clips copy. */
.hero-grid>.hero-art{min-height:clamp(340px,29vw,420px)!important;max-height:none!important;align-self:stretch!important;display:block!important;overflow:hidden!important;border-radius:17px!important;min-width:0!important;isolation:isolate}
.hero-grid>.hero-art>.art-copy{position:absolute!important;left:clamp(20px,3vw,32px)!important;right:clamp(20px,3vw,32px)!important;bottom:clamp(20px,3vw,30px)!important;top:auto!important;inset-block-start:auto!important;z-index:2!important;color:#fff!important;max-width:100%!important}
.hero-grid>.hero-art>.art-copy strong{font-size:clamp(22px,2.5vw,35px)!important;line-height:1.17!important;overflow-wrap:anywhere!important;hyphens:auto!important}
.hero-grid>.hero-art>.art-copy .art-nodes{display:flex!important;flex-wrap:wrap!important;gap:6px!important;margin-top:18px!important}
.hero-grid>.hero-art>.art-copy .art-nodes span{font-size:clamp(8px,.73vw,10px)!important;padding:5px 7px!important;max-width:100%!important}
.hero-grid>.hero-art>.r14-blueprint{position:absolute!important;inset:24px!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:auto auto 1fr 1fr!important;align-content:stretch!important;gap:8px!important;z-index:2!important;min-width:0!important;color:#fff!important}
.hero-grid>.hero-art>.r14-blueprint .bp-label,.hero-grid>.hero-art>.r14-blueprint .bp-heading{grid-column:1/-1!important;min-width:0!important;margin:0!important}
.hero-grid>.hero-art>.r14-blueprint .bp-heading{font-size:clamp(17px,2vw,24px)!important;line-height:1.2!important;margin:3px 0 8px!important;overflow-wrap:anywhere!important}
.hero-grid>.hero-art>.r14-blueprint .bp-node{display:flex!important;flex-direction:column!important;justify-content:center!important;min-width:0!important;max-height:none!important;margin:0!important;gap:6px!important;padding:10px!important;overflow-wrap:anywhere!important}
.hero-grid>.hero-art>.r14-blueprint .bp-node b{font-size:10px!important;line-height:1.3!important;letter-spacing:.035em!important}
.hero-grid>.hero-art>.r14-blueprint .bp-node span{font-size:11px!important;line-height:1.25!important}
/* CTA and institutional footer are separate, accessible regions. */
section:is(.contact,.contact-band,.cta-final,.u64-cta,.r14-re-bottom){background:var(--acton-r27-cta-bg)!important;background-image:none!important;color:var(--acton-r27-cta-text)!important;border-top:1px solid #e0e5e7!important;border-bottom:0!important}
section:is(.contact,.contact-band,.cta-final,.u64-cta,.r14-re-bottom) :is(h1,h2,h3,p,.eyebrow,span,small){color:var(--acton-r27-cta-text)!important}
section:is(.contact,.contact-band,.cta-final,.u64-cta,.r14-re-bottom) a:is(.btn,.u64-button):not(.outline):not(.btn-outline):not(:where(.acton-r29-whatsapp-cta,.r16-proposal-link)){background:#172327!important;color:#fff!important;border-color:#172327!important}
/* Typographic, optical wordmark alignment independent from uppercase initial glyph. */
.acton-r17-identity .acton-r17-divider,.acton-r17-identity .acton-r17-unit{transform:translateY(-1px)!important;align-self:center!important}
/* Button sizing and WhatsApp are predictable at all breakpoints. */
a:is(.btn,.u64-button,.r14-header-cta),button:is(.btn,.primary,.secondary,.r14-mobile-menu){box-sizing:border-box;min-height:38px;max-width:100%;text-align:center;align-items:center;justify-content:center}
a:is(.btn,.u64-button,.r14-header-cta):focus-visible,button:focus-visible{outline-offset:2px}
.acton-wa-floating,.acton-wa-btn,.wa-float{box-sizing:border-box!important;border:0!important;box-shadow:0 4px 16px #132f2e25!important;inset:auto 18px 18px auto!important}
@media(max-width:650px){.hero-grid>.hero-art{min-height:320px!important}.hero-grid>.hero-art>.art-copy strong{font-size:25px!important}.hero-grid>.hero-art>.r14-blueprint{inset:17px!important;gap:6px!important}.hero-grid>.hero-art>.r14-blueprint .bp-node{padding:7px!important}.hero-grid>.hero-art>.r14-blueprint .bp-node b{font-size:9px!important}.hero-grid>.hero-art>.r14-blueprint .bp-node span{font-size:10px!important}nav:is(.language,.lang-links,.r14-product-langs,.acton-lang-switch,.acton-lang-unified)>a{padding:5px!important;min-height:29px!important;font-size:10px!important}}
@media(max-width:380px){.hero-grid>.hero-art>.r14-blueprint{inset:13px!important}.hero-grid>.hero-art>.r14-blueprint .bp-heading{font-size:17px!important}.hero-grid>.hero-art>.r14-blueprint .bp-node{padding:6px!important}}

/* Stable regional selection: do not let moving commercial blocks anchor page scroll. */
#planos,.r14-pricing-wrap,#relatorios-pro{overflow-anchor:none}

/* RC8-R28: hero card aligns to the official Grupo Acton reference at desktop/tablet. */
@media (min-width:1025px){.hero-grid>.hero-art{min-height:590px!important;height:auto!important;}}
@media (min-width:651px) and (max-width:900px){.hero-grid>.hero-art{min-height:608px!important;height:auto!important;}}
@media (min-width:901px) and (max-width:1024px){.hero-grid>.hero-art{min-height:522px!important;height:auto!important;}}
