/* SWITCH CAMEROUN v4.3 — audited final corrections */
:root{--ux-blue:#0000ff;--site-header-height:76px}
/* No content is hidden if the page script fails; all authored reveal targets are observed by app.js. */
html:not(.js-ready) .reveal{opacity:1!important;transform:none!important}
/* Restore Switch AI's original icon asset geometry and contain settings. */
.switch-ai-head-icon,.switch-ai-launcher-image{
  display:block!important;object-fit:contain!important;object-position:center!important;
  clip-path:none!important;filter:none!important;outline:0!important;
}
.switch-ai-head-icon{width:42px!important;height:42px!important;max-width:42px!important;max-height:42px!important;flex:0 0 42px!important}
.switch-ai-launcher-image{width:40px!important;height:40px!important;max-width:40px!important;max-height:40px!important;flex:0 0 40px!important;border-radius:50%!important}
.switch-ai-welcome{grid-template-columns:minmax(76px,.62fr) minmax(0,1.38fr)!important;align-items:center!important;gap:12px!important;min-width:0!important}
.switch-ai-welcome-visual{display:block!important;width:100%!important;height:116px!important;max-width:100%!important;max-height:116px!important;object-fit:contain!important;object-position:center!important;clip-path:none!important}
.home-ai-intro .card>img{display:block!important;width:min(100%,250px)!important;height:auto!important;max-height:300px!important;object-fit:contain!important;margin:0 auto 14px!important}
@media(max-width:680px){
 .switch-ai-welcome{grid-template-columns:minmax(68px,76px) minmax(0,1fr)!important;gap:9px!important}
 .switch-ai-welcome-visual{height:92px!important;max-height:92px!important}
 .switch-ai-head-icon{width:36px!important;height:36px!important;max-width:36px!important;max-height:36px!important;flex-basis:36px!important}
 .switch-ai-launcher-image{width:32px!important;height:32px!important;max-width:32px!important;max-height:32px!important;flex-basis:32px!important}
}
/* A genuine circle holds a contained rectangular SVG flag; the FR/EN text no longer squeezes it. */
header .language-tools{display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;flex:0 0 auto!important;min-width:0!important}
header .language-tools .language-flag{
  display:grid!important;place-items:center!important;position:relative!important;
  width:36px!important;min-width:36px!important;height:36px!important;min-height:36px!important;
  flex:0 0 36px!important;aspect-ratio:1/1!important;padding:0!important;margin:0!important;
  border-radius:50%!important;overflow:hidden!important;line-height:0!important;
  background:rgba(255,255,255,.075)!important;border:1px solid rgba(144,180,238,.34)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12)!important;
}
header .language-tools .language-flag .flag-svg{
  display:block!important;visibility:visible!important;opacity:1!important;
  width:24px!important;height:16px!important;min-width:24px!important;min-height:16px!important;
  max-width:24px!important;max-height:16px!important;flex:0 0 24px!important;
  margin:0!important;padding:0!important;object-fit:contain!important;clip-path:none!important;
}
header .language-tools .language-flag .language-code{display:none!important}
header .language-tools .language-flag.is-current{border-color:rgba(119,222,255,.9)!important;background:rgba(0,0,255,.2)!important}
@media(max-width:680px){
 header .language-tools{gap:5px!important}
 header .language-tools .language-flag{width:33px!important;min-width:33px!important;height:33px!important;min-height:33px!important;flex-basis:33px!important}
 header .language-tools .language-flag .flag-svg{width:22px!important;height:15px!important;min-width:22px!important;min-height:15px!important;max-width:22px!important;max-height:15px!important;flex-basis:22px!important}
}
/* Separate the brand from the first navigation label; slightly tighten the navigation links. */
@media(min-width:1481px){
 header .container.nav{display:flex!important;align-items:center!important;gap:8px!important}
 header .brand{flex:0 0 auto!important;margin:0 26px 0 0!important;padding-right:0!important;gap:11px!important}
 header .navlinks{flex:1 1 auto!important;min-width:0!important;justify-content:space-between!important;gap:clamp(6px,.55vw,10px)!important}
 header .navlinks .nav-dropdown{flex:0 1 auto!important;min-width:0!important}
 header .navlinks .nav-parent{font-size:clamp(11px,.75vw,13px)!important;letter-spacing:-.02em!important;padding-left:2px!important;padding-right:2px!important}
 header .navlinks .nav-row{gap:2px!important}
 header .language-tools{margin-left:8px!important;gap:5px!important}
 header .nav-cta{margin-left:8px!important;padding-left:12px!important;padding-right:12px!important;white-space:nowrap!important}
}
/* Scrolled header: blue identity with a subtle translucent glass finish. */
header{transition:background .22s ease,border-color .22s ease,box-shadow .22s ease,backdrop-filter .22s ease}
header.is-scrolled{background:rgba(0,0,255,.76)!important;border-bottom-color:rgba(255,255,255,.2)!important;box-shadow:0 8px 30px rgba(0,0,35,.2)!important;backdrop-filter:blur(18px) saturate(1.25)!important;-webkit-backdrop-filter:blur(18px) saturate(1.25)!important}
/* All raster assets remain in natural aspect ratio, with no clipping on cards or illustrations. */
main img{max-width:100%;height:auto}
main .hero-robot-image,main .solution-logo,main .detail-logo,main .logo-art img,main .meet2invest-art img,
.switch-ai-welcome-visual,.switch-ai-head-icon,.switch-ai-launcher-image{object-fit:contain!important}
main .card,main article,main .section-head,main .two-col,main .hero-grid{min-width:0!important;max-height:none!important}
main p,main li,main h1,main h2,main h3{overflow-wrap:break-word!important;max-height:none!important;text-overflow:clip!important}
@media(prefers-reduced-motion:reduce){header{transition:none!important}}

/* Transparent brand imagery: remove the old white panels behind ONBOCK and Pharmapiol assets. */
.logo-art,html[data-theme="light"] .logo-art{
  background:transparent!important;background-image:none!important;
}
.logo-art img,.solution-logo,.marquee-item img,.detail-logo,.brand-mark-img{
  background:transparent!important;border:0!important;box-shadow:none!important;
}
.logo-art img{object-fit:contain!important;filter:none!important}


/* SWITCH CAMEROUN v4.4 — visual integration, menu recovery and blue identity refinements */
:root{--switch-blue:#0000ff}
.impact-statement{margin:18px 0 0!important;padding:12px 16px!important;border-left:3px solid #0000ff;border-radius:0 12px 12px 0;background:linear-gradient(90deg,rgba(0,0,255,.16),rgba(0,0,255,0));color:var(--text);font-size:clamp(15px,1.35vw,19px);font-weight:650;line-height:1.45;max-width:590px}
.impact-statement span{color:#78aaff}
.visual-interlude{padding:14px 0 30px!important;background:transparent!important;overflow:visible}
.visual-interlude .container{display:flex;justify-content:center;align-items:center;min-height:0;background:transparent!important}
.visual-interlude img{display:block;width:min(100%,440px);max-height:320px;object-fit:contain;object-position:center;background:transparent!important;border:0!important;border-radius:0!important;padding:0!important;box-shadow:none!important;filter:none!important}
.solution-visual{display:block;width:min(100%,360px)!important;max-height:300px!important;height:auto!important;object-fit:contain!important;background:transparent!important;border:0!important;border-radius:0!important;padding:0!important;box-shadow:none!important}
.meet2invest-art,.braintello-art{min-height:240px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
.solution-feature-card .solution-logo{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
.brand-name{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:1px!important;line-height:1!important}
.brand-name>span:first-child{font-size:inherit!important;line-height:.98!important}
.brand-name .brand-country{font-size:.58em!important;font-weight:800!important;letter-spacing:.12em!important;text-transform:uppercase!important;line-height:1!important;margin:0!important}
.navlinks .nav-parent.active,.navlinks .nav-parent[aria-current="page"]{color:#111827!important}
header.is-scrolled .navlinks .nav-parent.active,header.is-scrolled .navlinks .nav-parent[aria-current="page"]{color:#07152d!important;background:rgba(255,255,255,.88)!important;border-radius:8px}
.navlinks .nav-solution-link{display:flex!important;flex-direction:column!important;gap:2px!important}
.navlinks .nav-solution-link>span{font-weight:750}
.navlinks .nav-solution-link small{font-size:10px!important;opacity:.78}
.navlinks .nav-submenu{z-index:280!important}
.site-menu-backdrop{z-index:190!important;background:rgba(1,6,18,.38)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
header{z-index:210!important;isolation:isolate}
header .navlinks{z-index:260!important}
header .menu-btn{position:relative;z-index:270!important;touch-action:manipulation}
header .language-tools{position:relative;z-index:270!important}
body.menu-open header{z-index:300!important}
body.menu-open .navlinks{z-index:320!important}
body.menu-open .menu-btn{z-index:330!important}
.switch-ai-launcher{border:2px solid #0000ff!important;outline:1px solid rgba(0,0,255,.35)!important;box-shadow:0 0 0 3px rgba(0,0,255,.14),0 10px 30px rgba(0,0,255,.3)!important}
.switch-ai-panel{border:1.5px solid #0000ff!important;box-shadow:0 18px 60px rgba(0,0,80,.4),0 0 0 1px rgba(0,0,255,.25)!important}
.switch-ai-head{border-bottom:1px solid rgba(0,0,255,.6)!important}
.eyebrow,.pill{background:#0000ff!important;color:#fff!important;border-color:#0000ff!important}
.section:before,.section:after,.page-hero:after{border-color:#0000ff!important}
@media(max-width:1480px){
  header .navlinks{z-index:320!important;max-height:calc(100dvh - var(--site-header-height) - 18px)!important}
  .site-menu-backdrop.is-visible{opacity:1!important;visibility:visible!important;pointer-events:auto!important}
  body.menu-open header .navlinks.open{opacity:1!important;visibility:visible!important;pointer-events:auto!important;transform:translateY(0) scale(1)!important}
}
@media(max-width:680px){
 .visual-interlude{padding:4px 0 20px!important}
 .visual-interlude img{width:min(86vw,340px);max-height:245px}
 .impact-statement{font-size:14px;padding:10px 12px!important}
 .brand-name .brand-country{font-size:7px!important;letter-spacing:.1em!important}
}
@media(prefers-reduced-motion:reduce){
 .visual-interlude img{animation:none!important;transition:none!important}
}


/* v4.4 final visual details */
.section h1 .gradient,.section h2 .gradient,.page-hero h1 .gradient,.hero-title .gradient{
  background:none!important;-webkit-background-clip:initial!important;background-clip:initial!important;
  color:#5b9cff!important;-webkit-text-fill-color:#5b9cff!important;
}
main>section+section{border-top:1px solid rgba(0,0,255,.42)}
/* Mobile menu must sit above the dimming layer and retain touch interaction. */
@media(max-width:1480px){
  header{position:sticky!important}
  header .container.nav{position:relative!important;z-index:1!important}
  header .navlinks{position:fixed!important;z-index:320!important;pointer-events:none}
  header .navlinks.open{pointer-events:auto!important}
  header .menu-btn{z-index:340!important;pointer-events:auto!important}
  .site-menu-backdrop{z-index:180!important}
  body.menu-open .site-menu-backdrop{pointer-events:auto!important}
  body.menu-open header{z-index:300!important}
}


/* SWITCH CAMEROUN v4.5 — precise navigation and identity corrections */
/* Active page: blue on dark header; electric blue text only on blue scrolled header. */
header:not(.is-scrolled) .navlinks .nav-parent.active,
header:not(.is-scrolled) .navlinks .nav-parent[aria-current="page"]{color:#0000ff!important;background:transparent!important}
header.is-scrolled .navlinks .nav-parent.active,
header.is-scrolled .navlinks .nav-parent[aria-current="page"]{color:#47e7ff!important;background:transparent!important;box-shadow:none!important}
/* Header CTA: blue on dark, white surface and dark text on the blue scrolled header. */
header:not(.is-scrolled) .nav-cta{background:#0000ff!important;color:#fff!important;border-color:#0000ff!important}
header.is-scrolled .nav-cta{background:#fff!important;color:#07152d!important;border-color:#fff!important;box-shadow:0 5px 18px rgba(0,0,30,.16)!important}
header.is-scrolled .nav-cta:hover{background:#f1f5ff!important;color:#0000ff!important}
/* Brand lockup: common left alignment and consistent inter-line spacing. */
.brand-name{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:2px!important;line-height:1!important}
.brand-name>span:first-child{line-height:1!important}
.brand-name .brand-country{display:block!important;margin:0!important;line-height:1!important;letter-spacing:inherit!important}
/* Product marks have a common optical box regardless of source aspect ratio. */
.solution-logo,.solution-logo-large,.marquee-meet2invest-logo{width:56px!important;height:56px!important;min-width:56px!important;max-width:56px!important;max-height:56px!important;flex:0 0 56px!important;object-fit:contain!important;object-position:center!important;padding:4px!important;box-sizing:border-box!important}
.solution-logo-large{width:64px!important;height:64px!important;min-width:64px!important;max-width:64px!important;max-height:64px!important;flex-basis:64px!important}
.marquee-item img{width:48px!important;height:48px!important;min-width:48px!important;max-width:48px!important;object-fit:contain!important;object-position:center!important}
/* Remove the idea prompt from the mobile drawer, without affecting desktop navigation. */
@media(max-width:900px){.navlinks .mobile-socials>a[href*="nav-solutions-section-3"]{display:none!important}}
