/* SWITCH CAMEROUN v4.2 — shared UX layer */
:root{
  --ux-blue:#0000ff;
  --ux-cyan:#63ddff;
  --ux-ease:cubic-bezier(.2,.7,.25,1);
  --site-header-height:76px;
}
html{scroll-behavior:smooth;scroll-padding-top:calc(var(--site-header-height) + 14px)}
body{overflow-x:hidden}
/* Typography: DM Sans is the only display and interface family across every page. */
html,body,body *{font-family:'DM Sans',sans-serif!important}
h1,h2,h3{letter-spacing:-.035em;line-height:1.13}
h1{line-height:1.04}
h2{line-height:1.12}
h3{line-height:1.2}
.hero-title{display:block;max-width:760px;line-height:1.04!important;letter-spacing:-.045em!important;overflow:visible}
.hero-title .hero-kinetic-line{display:block;position:relative;white-space:normal;line-height:1.04!important;margin:0!important;padding:0 0 .035em!important;overflow:visible}
.page-hero h1,.section-head h2,.section h2{line-height:1.1}
/* Header brand and navigation: protected spacing prevents logo/Accueil collisions. */
header{position:sticky;top:0;z-index:200;overflow:visible;background:rgba(4,10,25,.94);border-bottom:1px solid rgba(139,177,230,.18);box-shadow:0 5px 20px rgba(0,0,0,.12);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
header .container.nav{position:relative;display:flex;align-items:center;justify-content:space-between;gap:clamp(8px,1vw,16px);min-height:var(--site-header-height);height:auto;padding-top:8px;padding-bottom:8px;overflow:visible}
.brand{display:flex!important;align-items:center!important;justify-content:flex-start;gap:9px;flex:0 0 auto;width:max-content;max-width:none!important;min-width:max-content;white-space:nowrap;line-height:1;text-decoration:none}
.brand-mark-img,header .brand-mark-img{display:block;width:38px!important;height:38px!important;flex:0 0 38px;object-fit:contain;border:0!important;border-radius:0!important;padding:0!important;margin:0!important;background:transparent!important;box-shadow:none!important;filter:none!important;outline:0!important}
.brand-name{display:flex!important;flex-direction:column;align-items:flex-start;justify-content:center;gap:2px;min-width:0;font-size:14px!important;line-height:1!important;letter-spacing:-.025em!important;white-space:nowrap}
.brand-name>span:first-child{display:block;line-height:1!important}
.brand-name .brand-country{display:block;margin:0!important;font-size:10px;line-height:1.05!important;letter-spacing:.08em}
/* Horizontal desktop navigation. Menus open as independent floating panels. */
.navlinks{display:flex;flex:1 1 auto;align-items:center;justify-content:center;gap:clamp(5px,.72vw,11px);min-width:0;max-width:none;white-space:nowrap;font-size:12px;line-height:1.2}
.navlinks .nav-dropdown{position:relative;display:block;flex:0 0 auto;min-width:0}
.navlinks .nav-row{display:flex;align-items:center;justify-content:center;gap:2px;min-height:40px}
.navlinks .nav-row:after{display:none!important;content:none!important}
.navlinks .nav-parent{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:7px 2px;font-size:clamp(10px,.73vw,12px);font-weight:650;line-height:1.25;white-space:nowrap}
.navlinks .nav-submenu-toggle{display:grid!important;place-items:center;flex:0 0 19px;width:19px;height:24px;padding:0;border:0!important;border-radius:6px;background:transparent!important;color:currentColor;box-shadow:none!important;cursor:pointer}
.navlinks .nav-submenu-toggle .nav-chevron{display:block;width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg) translateY(-1px);transition:transform .2s var(--ux-ease)}
.navlinks .nav-submenu-toggle[aria-expanded="true"] .nav-chevron{transform:rotate(225deg) translate(-1px,-1px)}
.navlinks .nav-submenu{display:grid;grid-template-columns:1fr;gap:3px;position:absolute;top:calc(100% + 7px);left:0;z-index:240;min-width:238px;max-width:min(320px,calc(100vw - 28px));max-height:0;overflow:hidden;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(8px) scale(.985);transform-origin:top left;padding:0!important;margin:0;border:1px solid rgba(133,177,239,.24);border-radius:14px;background:rgba(5,14,34,.97);box-shadow:0 18px 38px rgba(0,0,0,.3);backdrop-filter:blur(18px) saturate(1.25);-webkit-backdrop-filter:blur(18px) saturate(1.25);transition:max-height .24s var(--ux-ease),opacity .18s ease,transform .22s var(--ux-ease),visibility .18s}
.navlinks .nav-dropdown.expanded>.nav-submenu{max-height:min(72vh,620px);overflow-y:auto;opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0) scale(1);padding:8px!important}
.navlinks .nav-submenu a{display:flex;flex-direction:column;gap:3px;padding:9px 10px;border-radius:8px;color:#edf4ff;font-size:12px;line-height:1.4;white-space:normal;text-align:left;transition:background .18s,color .18s}
.navlinks .nav-submenu a:hover,.navlinks .nav-submenu a:focus-visible{background:rgba(0,0,255,.24);color:#fff}
.navlinks .nav-submenu .nav-solution-link>span{font-size:12px;font-weight:750}
.navlinks .nav-submenu .nav-solution-link>small{font-size:10px;line-height:1.35;color:#b6c7e3}
.nav-cta{flex:0 0 auto;white-space:nowrap;padding:11px 13px;font-size:12px}
/* Language selector: equal-height controls, SVG flags centred in identical boxes. */
.language-tools{display:flex!important;align-items:center!important;justify-content:center;gap:5px;flex:0 0 auto;margin:0!important;padding:0;white-space:nowrap;line-height:1}
.language-tools .language-flag{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:5px;width:48px;min-width:48px;height:32px;margin:0;padding:0 6px;border:1px solid rgba(130,169,225,.25);border-radius:8px;background:rgba(255,255,255,.055);line-height:1!important;white-space:nowrap}
.language-tools .flag-svg{display:block!important;visibility:visible!important;opacity:1!important;flex:0 0 19px!important;width:19px!important;height:13px!important;max-height:13px!important;margin:0!important;padding:0!important;object-fit:fill}
.language-tools .language-code{display:block!important;margin:0!important;padding:0!important;font-size:10px!important;font-weight:750;line-height:1!important;letter-spacing:.035em}
.language-tools .header-theme-toggle{display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 30px;width:30px;min-width:30px;height:30px;margin:0;padding:0;border-radius:8px}
.language-tools .header-theme-toggle .theme-symbol{display:block;line-height:1}
.mobile-theme-toggle{display:none!important}
/* Liquid-glass controls with consistent dimensions and keyboard focus. */
.btn,.nav-cta,.theme-toggle,.menu-btn,.nav-submenu-toggle{backdrop-filter:blur(12px) saturate(1.18);-webkit-backdrop-filter:blur(12px) saturate(1.18);transition:transform .2s var(--ux-ease),background .2s,border-color .2s,box-shadow .2s}
.btn{border:1px solid rgba(194,222,255,.28);box-shadow:0 5px 16px rgba(0,0,255,.18),inset 0 1px 0 rgba(255,255,255,.22)}
.btn:hover,.nav-cta:hover{transform:translateY(-2px)}
.btn:focus-visible,.nav-cta:focus-visible,.theme-toggle:focus-visible,.menu-btn:focus-visible,.nav-submenu-toggle:focus-visible,.language-flag:focus-visible,a:focus-visible{outline:2px solid #77dfff;outline-offset:3px}
.menu-btn{display:none;align-items:center;justify-content:center;flex:0 0 40px;width:40px;height:40px;gap:5px;padding:0;border:1px solid rgba(145,185,244,.3);border-radius:11px;background:rgba(255,255,255,.07);color:#fff;cursor:pointer}
.menu-btn span{display:block;width:19px;height:2px;border-radius:4px;background:currentColor;transition:transform .22s var(--ux-ease),opacity .16s}
.menu-btn[aria-expanded="true"] span:first-child{transform:translateY(7px) rotate(45deg)}
.menu-btn[aria-expanded="true"] span:nth-child(2){opacity:0;transform:scaleX(.4)}
.menu-btn[aria-expanded="true"] span:last-child{transform:translateY(-7px) rotate(-45deg)}
/* Floating menu backdrop: injected once by app.js only while the mobile menu is open. */
.site-menu-backdrop{position:fixed;inset:0;z-index:150;background:rgba(1,6,18,.52);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .2s,visibility .2s}
.site-menu-backdrop.is-visible{opacity:1;visibility:visible;pointer-events:auto}
body.menu-open{overflow:hidden;touch-action:pan-y}
/* Transparent cut-outs remain transparent; blue tiles are applied only to icon frames. */
img{background:transparent}
.hero-robot-visual{min-height:0;overflow:visible;isolation:auto}
.hero-robot-visual:before,.hero-robot-visual:after,.hero .orb,.hero .ring{display:none!important;content:none!important}
.hero-robot-image{display:block;width:min(100%,470px)!important;max-height:540px!important;height:auto!important;object-fit:contain;border:0!important;border-radius:0!important;padding:0!important;background:transparent!important;box-shadow:none!important;filter:none!important;animation:none!important;transform:none!important}
.solution-logo{display:block;width:56px;height:56px;flex:0 0 56px;object-fit:contain;padding:7px!important;border:1px solid rgba(255,255,255,.22)!important;border-radius:12px!important;background:#0000ff!important;box-shadow:0 5px 16px rgba(0,0,255,.22)!important}
.solution-logo-large{width:70px;height:70px;flex-basis:70px}
.marquee-item img{display:block;width:42px;height:42px;flex:0 0 42px;object-fit:contain;padding:5px!important;border:1px solid rgba(255,255,255,.24)!important;border-radius:10px!important;background:#0000ff!important;box-shadow:none!important}
.detail-logo,.logo-art img,.meet2invest-art img,.team-group-photo img,.switch-ai-welcome-visual,.switch-ai-head-icon,.switch-ai-launcher-image,.switch-ai-avatar{background:transparent!important;border:0!important;border-radius:0!important;padding:0!important;box-shadow:none!important;outline:0!important;filter:none!important}
.detail-logo{object-fit:contain}
.logo-art{display:grid;place-items:center;min-height:0!important;height:190px;padding:0!important;background:transparent!important;overflow:hidden}
.logo-art img{display:block;width:min(88%,420px);height:100%;max-height:176px;object-fit:contain}
.meet2invest-art,.braintello-art{display:grid;place-items:center;gap:12px;background:transparent!important;border:0!important;box-shadow:none!important}
.braintello-guide-visual{display:block;width:min(82%,320px);max-height:260px;object-fit:contain;mix-blend-mode:normal}
.braintello-art>span{color:var(--muted);font-size:12px;text-align:center}
.switch-ai-welcome{grid-template-columns:minmax(88px,.72fr) minmax(0,1.28fr);align-items:center;gap:11px;background:transparent!important;border:0!important;box-shadow:none!important}
.switch-ai-welcome-visual{display:block;width:100%;height:108px;max-width:100%;object-fit:contain;object-position:center}
.switch-ai-guide-text{margin:0;padding:8px 0;color:var(--muted);font-size:11px;line-height:1.5}
.switch-ai-head-icon,.switch-ai-launcher-image{object-fit:contain}
.iconbox{background:#0000ff!important;border:1px solid rgba(255,255,255,.22)!important;color:#fff!important;box-shadow:0 5px 16px rgba(0,0,255,.2)}
.partner-logo-placeholder{background:#0000ff!important;border:1px solid rgba(255,255,255,.26)!important;color:#fff!important;box-shadow:0 8px 22px rgba(0,0,255,.18)}
.logo-art,.portfolio-art.logo-art{background:transparent!important}
/* Home hero text must occupy separate, predictable lines on every viewport. */
.hero-title .hero-kinetic-line.gradient{display:block!important;background:linear-gradient(95deg,#fff 8%,#7de2ff 52%,#7b95ff 95%);-webkit-background-clip:text;background-clip:text;color:transparent}
/* Solutions ribbon: brand blue and seamless repeated movement. */
.solution-marquee{overflow:hidden;padding:18px 0 20px;background:transparent;border:0}
.marquee-label{margin:0 0 12px;text-align:center;letter-spacing:.12em}
.marquee-viewport{width:100%;overflow:hidden}
.marquee-track{display:flex;width:max-content;will-change:transform;animation:ux-marquee 38s linear infinite}
.marquee-set{display:flex;align-items:stretch;flex:0 0 auto;gap:12px;padding:0 12px 0 0}
.marquee-item,.marquee-item:hover{display:flex;align-items:center;gap:11px;flex:0 0 auto;min-width:236px;min-height:72px;padding:10px 14px;border:1px solid rgba(255,255,255,.24);border-radius:12px;background:#0000ff!important;color:#fff!important;box-shadow:none!important;transform:none}
.marquee-item:hover{border-color:rgba(255,255,255,.62)}
.marquee-item>span:not(.braintello-mark){display:flex;flex-direction:column;gap:4px;line-height:1.16;font-size:13px;font-weight:750;white-space:nowrap;color:#fff}
.marquee-item small{font-size:9px;font-weight:550;letter-spacing:.01em;color:rgba(255,255,255,.88)!important;white-space:nowrap}
.marquee-item>b{margin-left:auto;color:#fff;font-size:16px}
.marquee-text-logo{min-width:190px}
.marquee-item .braintello-mark{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;border:1px solid rgba(255,255,255,.45);border-radius:9px;color:#fff;background:rgba(0,0,255,.35);font-size:17px}
@keyframes ux-marquee{from{transform:translate3d(0,0,0)}to{transform:translate3d(-50%,0,0)}}
/* One observer controls scroll entrances. */
.reveal{opacity:0;transform:translate3d(0,16px,0);transition:opacity .48s ease,transform .48s var(--ux-ease)}
.reveal.visible{opacity:1;transform:translate3d(0,0,0)}
/* Responsive floating navigation: hamburger, language controls and brand never overlap. */
@media(max-width:1480px){
  :root{--site-header-height:70px}
  header .container.nav{min-height:var(--site-header-height);gap:8px;justify-content:space-between}
  .brand{order:0;flex:0 0 auto;min-width:0}
  .brand-mark-img{width:34px!important;height:34px!important;flex-basis:34px}
  .brand-name{font-size:13px!important}
  .language-tools{order:1;margin-left:auto!important;gap:4px}
  .language-tools .header-theme-toggle{width:27px;min-width:27px;flex-basis:27px;height:27px}
  .language-tools .language-flag{width:37px;min-width:37px;height:29px;padding:0 4px;gap:4px}
  .language-tools .flag-svg{width:17px!important;height:12px!important;flex-basis:17px!important}
  .language-tools .language-code{font-size:9px!important}
  .menu-btn{display:flex;order:2;flex-basis:38px;width:38px;height:38px;margin-left:3px}
  .navlinks{display:flex;position:fixed;top:calc(var(--site-header-height) + env(safe-area-inset-top) + 9px);left:auto;right:12px;z-index:220;width:min(430px,calc(100vw - 24px));max-height:calc(100dvh - var(--site-header-height) - 28px);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:5px;padding:12px 13px 16px;border:1px solid rgba(145,185,244,.24);border-radius:18px;background:rgba(5,14,34,.97);box-shadow:0 22px 58px rgba(0,0,0,.38);backdrop-filter:blur(22px) saturate(1.2);-webkit-backdrop-filter:blur(22px) saturate(1.2);opacity:0;visibility:hidden;pointer-events:none;transform:translateY(-10px) scale(.985);transform-origin:top right;transition:opacity .2s ease,transform .22s var(--ux-ease),visibility .2s;white-space:normal}
  .navlinks.open{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0) scale(1)}
  .navlinks .nav-dropdown{position:relative;width:100%;flex:0 0 auto}
  .navlinks .nav-row{display:flex;width:100%;min-height:42px;align-items:center;justify-content:space-between;gap:8px}
  .navlinks .nav-parent{display:flex;flex:1 1 auto;min-width:0;min-height:42px;justify-content:flex-start;padding:9px 10px;font-size:14px;line-height:1.3;white-space:normal;text-align:left}
  .navlinks .nav-submenu-toggle{display:grid!important;place-items:center;flex:0 0 38px;width:38px;height:38px;border:1px solid rgba(130,180,242,.24)!important;border-radius:10px;background:rgba(255,255,255,.065)!important;color:#e7f1ff}
  .navlinks .nav-submenu{display:grid;position:static;min-width:0;width:calc(100% - 8px);max-width:none;max-height:0;margin:0 0 0 8px;gap:3px;overflow:hidden;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(-5px);padding:0!important;border:1px solid transparent;border-left:2px solid rgba(92,157,244,.38);border-radius:0 12px 12px 0;background:rgba(15,34,70,.42);box-shadow:0 10px 22px rgba(0,0,0,.13);backdrop-filter:blur(10px);transition:max-height .24s var(--ux-ease),opacity .18s,transform .2s,padding .2s,border-color .2s}
  .navlinks .nav-dropdown.expanded>.nav-submenu{max-height:560px;margin:2px 0 9px 8px;padding:7px 8px!important;border-color:rgba(122,173,242,.16);opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0)}
  .navlinks .nav-submenu a{padding:9px 11px;font-size:13px;line-height:1.4}
  .navlinks .mobile-socials{display:block;width:100%;padding:14px 9px 8px;margin-top:8px;border-top:1px solid rgba(133,177,239,.18)}
  .navlinks .mobile-socials>span{font-size:11px;color:#b5c8e5;font-weight:700}
  .navlinks .social-icon-row{display:flex;gap:9px;margin-top:9px}
  .navlinks .social-icon-row a{display:grid;place-items:center;width:40px;height:40px;padding:0;border:1px solid rgba(111,164,255,.28);border-radius:12px;background:rgba(0,0,255,.2);color:#e8f4ff}
  .navlinks .social-icon-row svg{width:20px;height:20px}
  .nav-cta{display:none!important}
}
@media(max-width:680px){
  :root{--site-header-height:64px}
  header .container.nav{gap:6px;padding-left:16px;padding-right:16px}
  .brand{gap:7px}
  .brand-mark-img{width:32px!important;height:32px!important;flex-basis:32px}
  .brand-name{font-size:12px!important}
  .brand-name .brand-country{font-size:9px}
  .language-tools{gap:3px}
  .language-tools .header-theme-toggle{width:25px;min-width:25px;flex-basis:25px;height:25px}
  .language-tools .language-flag{width:34px;min-width:34px;height:27px;gap:3px;padding:0 3px}
  .language-tools .flag-svg{width:16px!important;height:11px!important;flex-basis:16px!important}
  .language-tools .language-code{font-size:8px!important}
  .menu-btn{width:36px;height:36px;flex-basis:36px;margin-left:2px}
  .navlinks{top:calc(var(--site-header-height) + env(safe-area-inset-top) + 8px);right:10px;width:min(420px,calc(100vw - 20px));max-height:calc(100dvh - var(--site-header-height) - 22px);padding:10px 11px 14px;border-radius:16px}
  .hero{padding-top:50px;padding-bottom:38px}
  .hero-grid{grid-template-columns:1fr;gap:18px}
  .hero-title{font-size:clamp(40px,10.8vw,62px)!important;line-height:1.04!important}
  .hero-robot-visual{min-height:0;margin:8px auto 0}
  .hero-robot-image{width:min(86vw,390px)!important;max-height:400px!important}
  .section{padding:54px 0}
  .section-head{display:block;margin-bottom:26px}
  .section-head p{margin-top:12px}
  .cards,.two-col{grid-template-columns:1fr}
  .solution-marquee{padding:14px 0 16px}
  .marquee-set{gap:9px;padding-right:9px}
  .marquee-item,.marquee-item:hover{min-width:205px;min-height:60px;padding:8px 10px;gap:8px;border-radius:10px}
  .marquee-item img,.marquee-item .braintello-mark{width:34px;height:34px;flex-basis:34px}
  .marquee-item>span:not(.braintello-mark){font-size:11px}
  .marquee-item small{font-size:8px}
  .marquee-text-logo{min-width:165px}
  .logo-art{height:160px}
  .solution-logo-large{width:62px;height:62px;flex-basis:62px}
  .braintello-guide-visual{width:min(78%,260px);max-height:210px}
  .switch-ai-welcome{grid-template-columns:76px minmax(0,1fr);gap:8px}
  .switch-ai-welcome-visual{height:84px}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
  .reveal{opacity:1!important;transform:none!important}
  .marquee-track{animation:none!important;transform:none!important}
}
/* Complete the blue icon-frame system across contact, profile and product controls. */
.contact-info-icon,
.profile-highlight .highlight-icon,
.team-profile-socials .team-social-placeholder,
.izi-mark,
.braintello-mark,
.braintello-mark-large{
  background:#0000ff!important;
  border:1px solid rgba(255,255,255,.24)!important;
  color:#fff!important;
  box-shadow:0 5px 16px rgba(0,0,255,.18)!important;
}
/* Keep transparent logos and brand-blue icon tiles consistent in the light theme too. */
html[data-theme="light"] .logo-art,
html[data-theme="light"] .portfolio-art.logo-art{background:transparent!important}
html[data-theme="light"] .detail-logo{background:transparent!important;border:0!important;padding:0!important;box-shadow:none!important}
html[data-theme="light"] .solution-logo{background:#0000ff!important;border-color:rgba(255,255,255,.24)!important;color:#fff!important}
html[data-theme="light"] .iconbox,
html[data-theme="light"] .contact-info-icon,
html[data-theme="light"] .profile-highlight .highlight-icon,
html[data-theme="light"] .team-profile-socials .team-social-placeholder,
html[data-theme="light"] .izi-mark,
html[data-theme="light"] .braintello-mark,
html[data-theme="light"] .braintello-mark-large,
html[data-theme="light"] .partner-logo-placeholder{background:#0000ff!important;border-color:rgba(255,255,255,.24)!important;color:#fff!important}
