/* Brand accents requested by Patrice, 19/10/2026. */
body{--brand-footer:color-mix(in srgb,var(--brand-color) 70%,#fff);--brand-color:#0094d8;--brand-surface:#0094d8}
/* A permanent line under every primary menu label, including the mobile menu. */
header nav>a{position:relative}
header nav>a::after{content:"";display:block;position:absolute;left:0;bottom:-7px;width:28px;height:2px;background:var(--brand-color);pointer-events:none;transition:width .18s}
header nav>a:hover::after,header nav>a:focus-visible::after,header nav>a[aria-current]::after{width:100%}
header nav>a.contact-link::after{left:18px;bottom:7px}
header nav>a.nav-contact{border-bottom-color:transparent}
header nav>a.nav-cta::after{left:19px;bottom:7px;background:#fff;width:28px}
header nav>a.nav-cta:hover::after,header nav>a.nav-cta:focus-visible::after{width:calc(100% - 38px)}
/* Gray information panels take the brand color; photography keeps its original colors. */
body :is(.feature,.cross,.aside,.field-example,.contact-note,.lesson,.portrait-rail-note,.portrait-overview-link,.trust-history-strip,.family-method,.software-screen-image,.focus-card figure){background:var(--brand-surface);color:#fff;border-color:var(--brand-surface)}
body :is(.feature,.cross,.aside,.field-example,.contact-note,.lesson,.portrait-rail-note,.portrait-overview-link,.trust-history-strip,.family-method,.software-screen-image,.focus-card figure) :is(h2,h3,h4,p,li,figcaption,.eyebrow,.num,span:not(.software-screen-image>span)){color:inherit}
body :is(.feature,.cross,.aside,.field-example,.contact-note,.lesson,.portrait-rail-note,.portrait-overview-link,.trust-history-strip,.family-method,.software-screen-image,.focus-card figure) a:not(.button){color:inherit}
body :is(.feature,.cross,.aside,.field-example,.contact-note,.lesson,.portrait-rail-note,.portrait-overview-link,.trust-history-strip,.family-method,.software-screen-image,.focus-card figure) :is(.button,.under-link){border-color:#fff}
body :is(.feature,.cross,.aside,.field-example,.contact-note,.lesson,.portrait-rail-note,.portrait-overview-link,.trust-history-strip,.family-method,.software-screen-image,.focus-card figure) .button{background:#fff;color:var(--brand-surface)}
body .family-method :is(h2,h3,p,a,.family-method-step>span){color:#fff}
body .family-method article{border-color:#ffffff65}
/* Colored edges keep the many photographic cards easy to scan. */
body :is(.visitor-card,.visual-card,.agedis-guide-card,.reference-card,.pole-card,.client-voices__card){border-color:var(--brand-color)!important;border-top:3px solid var(--brand-color)!important}
body .focus-note{border-left-color:var(--brand-color)}
/* The full footer uses the same brand color, with legible white text. */
body footer,body footer.site-footer{background:var(--brand-footer);color:#fff;border-top-color:var(--brand-surface)}
body footer :is(a,p,h3,span,.eyebrow,.foot-brand,.foot-bottom,.footer-bottom){color:#fff!important}
body footer :is(.foot-bottom,.footer-bottom){border-top-color:#ffffff65}
body footer a:hover,body footer a:focus-visible{color:#fff;text-decoration:underline;text-underline-offset:4px}
body footer :is(a:focus-visible,button:focus-visible){outline-color:#fff}
body footer :is(.foot-grid>.brand,.foot-grid .brand,.footer-brand>a){display:inline-block;background:transparent;padding:0;max-width:100%;box-sizing:content-box}
body footer :is(.foot-grid .brand img,.footer-brand img){display:block}
body footer [data-sm-control]{color:#fff;border-color:#ffffff85;background:transparent}
/* Native Elementor pages (Alltech contact and shop) use the same accents. */
body .elementor-location-header .elementor-nav-menu>li>a.elementor-item::after{content:"";position:absolute;display:block!important;left:20px!important;right:auto!important;bottom:5px!important;width:28px!important;height:2px!important;background:var(--brand-color)!important;opacity:1!important;transform:none!important}
body footer.elementor-location-footer :is(.elementor-section,.e-con){background:var(--brand-footer)!important}
body footer.elementor-location-footer :is(a,p,h2,h3,span,i,.elementor-heading-title){color:#fff!important}
body footer.elementor-location-footer .elementor-widget-image img{background:transparent;padding:0;filter:brightness(0) invert(1)}
@media(max-width:800px){header nav>a::after{bottom:3px}header nav>a.nav-cta::after{bottom:7px}}
@media(prefers-reduced-motion:reduce){header nav>a::after{transition:none}}

/* Continuous brand line under the menu band, like Alltech. */
body[class]>header,body>header.header,body>header.site-header{border-bottom:2px solid var(--brand-color)}
body .elementor-location-header>.elementor-section{border-bottom:2px solid var(--brand-color)}
/* Official transparent brand marks, white on the softer footer background. */
body footer .brand-native-logo{margin:35px 0 20px max(20px,calc((100% - 1280px)/2));width:170px}
body footer .footer-logo{display:inline-block;line-height:1}
body footer :is(.brand img,.footer-brand img,.footer-logo img){filter:brightness(0) invert(1);height:auto;max-width:185px;background:transparent}

/* Exact dominant chromatic pixel color sampled from the official logo. */
body{--accent:var(--brand-color)!important;--blue:var(--brand-color);--red:var(--brand-color);--visitor-accent:var(--brand-color)}
.brand-motion{--accent:var(--brand-color)!important}

/* Patrice, 19/10/2026: footer at full brand color, every text white. */
body{--brand-footer:var(--brand-color)}
body footer :is(a,p,h1,h2,h3,h4,h5,h6,span,li,label,small,strong,b,em,i,.eyebrow){color:#fff!important;opacity:1}
