/* Apply the shared palette without changing the landing geometry. */
html:root,html:root body,html #conteudo-principal { background:var(--leo-bg) !important; }
#conteudo-principal [data-section-name="section0"] { background-color:var(--leo-media-bg); }
#conteudo-principal [data-section-name="section1"] { background:var(--leo-bg); border-top:1px solid var(--leo-line); }
#conteudo-principal .leo-book-section { background:var(--leo-book-background) !important; border-top:1px solid var(--leo-line); }
html[data-theme] .rrmc-primary-nav {
  background:var(--leo-header) !important; color:var(--leo-text) !important;
  border-bottom:1px solid color-mix(in srgb,var(--leo-line) 35%,transparent);
  -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px);
}
.primary-navigation :is(.global-menu-button,.rrmc-primary-nav-copy-container) { color:var(--leo-text) !important; }
.primary-navigation .global-menu-button {
  border:1px solid var(--leo-control-border); border-radius:999px;
  background:var(--leo-card); padding-inline:14px; height:44px;
}
.primary-navigation .global-menu-button:hover { border-color:var(--leo-action-text); }
.primary-navigation .global-menu-button:focus-visible { outline:2px solid var(--leo-focus); outline-offset:3px; }
.rrmc-primary-nav-keyline { background:color-mix(in srgb,var(--leo-line) 35%,transparent) !important; }
.rrmc-primary-nav-icon { color:var(--leo-text); }
.rrmc-global-menu,.rrmc-global-menu-grid,.rrmc-menu-bg-right,.rrmc-menu-links-container,.rrmc-menu-links-container-secondary,
.nav-background-container,.mobile-nav-background-blur { background:var(--leo-surface) !important; color:var(--leo-text); }
.rrmc-global-menu :is(.rrmc-menu-link,.rrmc-menu-link-copy,.rrmc-cta) { color:var(--leo-text) !important; }
.rrmc-global-menu .rrmc-menu-link:hover { color:var(--leo-action-text) !important; }
.rrmc-menu-bg-left .rrmc-bg-left-image,.rrmc-menu-link-bg,.rrmc-sticky-image-bg { background-image:none !important; background-color:var(--leo-card); }
html .leo-flow-footer .rrmc-footer-position-wrapper,html .leo-flow-footer .rrmc-footer {
  background:var(--leo-footer) !important; color:var(--leo-footer-text);
}
html .leo-flow-footer .rrmc-footer { border-top:1px solid var(--leo-footer-line); }
html .leo-flow-footer .leo-footer-business { color:var(--leo-footer-muted); border-color:var(--leo-footer-line); }
html .leo-flow-footer .leo-footer-business-name { color:var(--leo-footer-text); }
.rrmc-footer :is(a,button) { display:inline-flex;align-items:center;min-width:44px;min-height:44px;color:var(--leo-footer-text);font-size:14px; }
.rrmc-homepage-carousel-pagination:not(:has(a[href="#section0"].active)) .rrmc-button-svg-anim-circle { fill:var(--leo-action-text); opacity:1 !important; }
.rrmc-homepage-carousel-pagination:not(:has(a[href="#section0"].active)) .rrmc-button-svg-anim-path { stroke:var(--leo-action-text); }

.leo-footer-contact { display:flex; flex-wrap:wrap; align-items:center; gap:10px 28px; }
html .leo-flow-footer .leo-footer-contact a { color:var(--leo-footer-text); font:inherit; text-transform:none; letter-spacing:inherit; text-underline-offset:4px; }
.leo-footer-contact a:focus-visible { outline:2px solid var(--leo-focus); outline-offset:4px; }
@media(max-width:600px) { .leo-footer-contact { flex-direction:column; align-items:flex-start; gap:6px; } }
