/* TENEDIM global header, 2026-10-28 */
html body header,html body header.fixed{position:fixed!important;top:0!important;left:0!important;right:0!important;z-index:1000!important;background:#02224B!important;background-image:none!important;opacity:1!important;visibility:visible!important;transform:none!important;translate:none!important;border-bottom:0!important;box-shadow:none!important}
html body header.fixed::after,html body header::after{content:none!important;display:none!important;background:none!important}
html body main>section:first-child .bg-hero-side{background:transparent!important;background-image:none!important}
@media(max-width:767px){html body main>section:first-child:has(>.absolute.inset-0)::before,html body main>section:first-child:has(>.absolute.inset-0)::after,html body main>section:first-child[data-hero-reframed]::before,html body main>section:first-child[data-hero-reframed]::after{content:none!important;display:none!important;background:none!important}}

/* All photo headers: remove overlays on primary and detailed expertise pages. */
html body main>section:first-child .bg-hero-veil,
html body main>section:first-child .bg-hero-side,
html body main>section:first-child .bg-hero-gradient,
html body main>section:first-child .bg-gradient-to-b,
html body main>section:first-child .bg-gradient-to-t,
html body main>section:first-child .bg-gradient-to-r{
 background:none!important;background-image:none!important;
}
html body .tenedim-detail-hero{background-image:var(--hero-image)!important}
html body .tenedim-detail-hero::after,
html body .tenedim-detail-hero::before{content:none!important;display:none!important}
/* Alternative menu template used by legal pages. */
html body header.legal-nav{position:sticky!important;top:0!important;background:#02224B!important;background-image:none!important;z-index:1000!important}
html body header.legal-nav a{color:#fff!important}
@media(max-width:767px){html body main>section:first-child .bg-hero-veil{background:none!important}}

/* Global final hero cleanup: no added fades, masks or blur. */
html body main>section:first-child::before,
html body main>section:first-child::after,
html body main>section:first-child>.absolute::before,
html body main>section:first-child>.absolute::after,
html body main>section:first-child>.relative::before,
html body main>section:first-child>.relative::after,
html body .tenedim-detail-hero::before,
html body .tenedim-detail-hero::after{content:none!important;display:none!important;background:none!important;background-image:none!important}
html body main>section:first-child .bg-hero-veil,
html body main>section:first-child .bg-hero-side{display:none!important;background:none!important}
html body main>section:first-child img,
html body main>section:first-child video{filter:none!important;backdrop-filter:none!important;opacity:1!important}
html body main>section:first-child h1 em,
html body .tenedim-detail-hero h1 em{font-style:normal!important;font-weight:inherit!important}

/* Identical institutional navigation, all pages and languages. */
html body header.tenedim-unified-header{
 height:76px!important;min-height:76px!important;max-height:76px!important;
 padding:0!important;display:flex!important;align-items:center!important;
 background-color:#02224B!important;background-image:none!important;
 color:#fff!important;opacity:1!important;filter:none!important;
 backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
 transform:none!important;box-shadow:none!important;
}
html body header.tenedim-unified-header>div:first-child{
 width:100%!important;max-width:1400px!important;
 padding-left:40px!important;padding-right:40px!important;
 display:flex!important;align-items:center!important;
}
html body header.tenedim-unified-header a[aria-label="TENEDIM, accueil"] img{
 display:block!important;height:42px!important;max-height:42px!important;
 width:auto!important;max-width:180px!important;
 object-fit:contain!important;opacity:1!important;
 filter:brightness(0) invert(1)!important;mix-blend-mode:normal!important;
}
html body header.tenedim-unified-header nav[aria-label="Navigation principale"]{
 align-items:center!important;gap:clamp(14px,2vw,36px)!important;
}
html body header.tenedim-unified-header nav[aria-label="Navigation principale"] a,
html body header.tenedim-unified-header nav[data-tenedim-languages] a{
 color:#fff!important;font-size:12px!important;font-weight:500!important;
 text-decoration:none!important;
}
html body header.tenedim-unified-header nav[aria-label="Navigation principale"] a[href$="/contact/"]{
 border:1px solid #fff!important;background:transparent!important;color:#fff!important;
}
html body header.tenedim-unified-header nav[aria-label="Navigation principale"] a[href$="/contact/"]:hover{
 background:#fff!important;color:#02224B!important;
}
html body header.tenedim-unified-header nav[aria-label="Navigation principale"] a[aria-current="page"]:not([href$="/contact/"]){
 color:#fff!important;
}
@media(max-width:767px){
 html body header.tenedim-unified-header{height:68px!important;min-height:68px!important;max-height:68px!important}
 html body header.tenedim-unified-header>div:first-child{padding-left:24px!important;padding-right:24px!important}
 html body header.tenedim-unified-header a[aria-label="TENEDIM, accueil"] img{height:38px!important;max-height:38px!important}
}

/* Force home four-expertise navigation below the title, overriding legacy composition CSS. */
html body #tenedim-four-expertises>div:first-child>.reveal{
 display:block!important;align-items:initial!important;justify-content:initial!important;
 flex-direction:column!important;
}
html body #tenedim-four-expertises>div:first-child>.reveal>div:first-child{
 display:block!important;width:100%!important;max-width:100%!important;
}
html body #tenedim-four-expertises>div:first-child>.reveal ul{
 display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
 width:100%!important;max-width:680px!important;margin-top:24px!important;
 gap:8px!important;align-self:auto!important;white-space:nowrap!important;
}
html body #tenedim-four-expertises>div:first-child>.reveal ul li{
 display:block!important;min-width:0!important;margin:0!important;
}
html body #tenedim-four-expertises>div:first-child>.reveal ul li a{
 display:inline-block!important;white-space:nowrap!important;
 font-size:clamp(9px,1.9vw,14px)!important;letter-spacing:0!important;
}
@media(max-width:480px){
 html body #tenedim-four-expertises>div:first-child>.reveal ul{gap:3px!important}
}
