/* Global design tokens (shared across all pages) */
:root{
  /* Social media / Back-to-top floating widget sizing */
  --social-top: 90px;
  --social-right: 30px;
  --social-border: 1px;
  --social-radius: 18px;
  --social-pad-y: 8px;
  --social-pad-x: 6px;
  --social-icons-gap: 6px;
  --social-icon: 24px;
  --social-btt-size: 22px;
  --social-expanded-pad-bottom: 42px;

  --bleu:#1E3A5F;
  --bleu-clair:#2b577a;
  --orange:#DC5014;
  --orange-logo:#F08C14;
  --bleu-ciel:#00B4F0;
  --gris:#F0F0F0;
  --gris-fonce:#4A4A4A;
  --noir:#282828;
  --font: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  --wrap:1100px;
  --pad:32px;
  --social-safe-right: clamp(90px, 10vw, 140px);
  --section-y:64px;
  --hero-height:406px;
  --hero-height-mobile:416px;
  --header-height:72px;
  --dropdown-offset-y:0px;
  --cta-font-size:16px;
  --cta-font-weight:700;
  --cta-letter-spacing:0.02em;
  --cta-radius:3px;
  --cta-pad-y:12px;
  --cta-pad-x:22px;
  --cta-transition:background-color .22s ease, color .22s ease, transform .22s ease, box-shadow .22s ease, filter .22s ease;
  --cta-hover-shadow:0 8px 18px rgba(0,0,0,0.18);
  --cta-active-shadow:0 3px 10px rgba(0,0,0,0.18);
  --cta-grey:#6a6a6a;
  --cta-grey-text:#f0f0f0;
  --cta-hover-orange:linear-gradient(180deg, rgba(255,255,255,0.16), rgba(0,0,0,0.22)), var(--orange);
  --cta-hover-grey:linear-gradient(180deg, rgba(255,255,255,0.16), rgba(0,0,0,0.22)), var(--cta-grey);
}


.contact-section{ --contact-accent: var(--orange); }
/* ===== Reset & Base ===== */
*{box-sizing:border-box;margin:0;padding:0;}
html{overflow-x:hidden;}
body{background:#f0f0f0;font-family:var(--font);overflow-x:hidden;}
button,input,select,textarea,optgroup{font-family:var(--font);}
main{margin-top:72px;}
section{width:100%;}
.section-block{padding:var(--section-y) 0;}
.pub-section{background:var(--noir);color:white;}
.pub-section ul{margin:18px 0 22px 18px;}
.pub-section ul li{margin-bottom:10px;}
.contact-section form textarea{resize:vertical;}


/* ===== Buttons: shared CTA typography (applies to gradient/hover buttons only) ===== */
.btn,
.opsst-recaptcha.btn{
  font-family:var(--font);
  font-size:var(--cta-font-size);
  font-weight:var(--cta-font-weight);
  line-height:1;
  letter-spacing:var(--cta-letter-spacing);
  text-transform:none;
  text-decoration:none;
  border-radius:var(--cta-radius);
  transition:var(--cta-transition);
}

/* Contact form CTA buttons (shared across pages) */
.contact-section form .btn,
.contact-section form .opsst-recaptcha.btn{

  display:block;
  width:fit-content;
  margin-left:auto;
  border:none;
  border-radius:var(--cta-radius);
  padding:var(--cta-pad-y) var(--cta-pad-x);
  cursor:pointer;
  background: #fff;
  color: var(--contact-accent);
  transition:var(--cta-transition);
}
.contact-section form .btn:hover,
.contact-section form .opsst-recaptcha.btn:hover{

  transform:translateY(-2px);
  box-shadow:var(--cta-hover-shadow);
  background: linear-gradient(180deg, rgba(255,255,255,0.22), rgba(0,0,0,0.30)), var(--contact-accent);
  color: #fff;
}
/* ===== Layout & Typography ===== */

/* ===== Utility: text alignment for text column next to form ===== */
.text-col--right{ text-align:right; }
@media(max-width:900px){
  /* Prevent right-edge overflow on small screens (fixed social capsule & rounding) */
  #socialCapsule{ display:block !important; transform: translateY(10px); top: var(--social-top) !important; right: var(--social-right) !important; }
  /* When layout stacks (form under text), keep text centered */
  .text-col--right{ text-align:center; }
  
/* Mobile/Tablet: center "page intro" title + text blocks under hero (Landing + Nos Services) */
  .services-text,
  .services-overview-left{
    text-align:center;
  }
  .services-text h2,
  .services-text p,
  .services-overview-left h2,
  .services-overview-left p{
    text-align:center;
  }
  .services-text p,
  .services-overview-left p{
    margin-left:auto;
    margin-right:auto;
    max-width:620px;
  }


  /* Global – intro title/text right under hero (mobile/tablet) */
  .hero + .section-block .section-title,
  .hero + .section-block .section-lead {
    text-align: center;
  }

  /* Keep longer intro text readable when centered */
  .hero + .section-block .section-lead {
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
  }
}

.wrap h2{font-size:28px;font-weight:600;line-height:1.2;margin-bottom:12px;}
.wrap p, .wrap li{font-size:16px;line-height:1.55;}
.wrap ul{margin:18px 0 22px 18px;}
.wrap li{margin-bottom:10px;}
.diagnostic-section .wrap p,
.final-cta-section .wrap p{max-width:none;}

/* ===== Header & Nav ===== */
.site-header{background:var(--noir);height:var(--header-height);display:flex;align-items:center;justify-content:center;position:fixed;top:0;left:0;right:0;z-index:3000;
}
.site-header::after{z-index:1;
  content:"";
  position:absolute;
  left:0; right:0;
  top:100%;
  height:3px;
  background:#DC5014;
  pointer-events:none;
  z-index:0;
}
.site-header::before{
  content:"";
  position:absolute;
  left:0; right:0;
  top:calc(100% + 3px);
  height:13.17px;
  
  background:linear-gradient(to bottom,
    rgba(0,0,0,0.7) 0%,
    rgba(0,0,0,0.7) 38%,
    rgba(0,0,0,0.0) 100%
  );
  pointer-events:none;
  z-index:1;
}
.nav-container{height:100%;width:100%;display:flex;justify-content:center;align-items:center;position:relative;}
.site-header{justify-content:flex-start;}
.nav-container{justify-content:flex-start; padding:0 var(--pad); box-sizing:border-box;}
.site-logo img{max-height:56px;}
.nav-toggle{display:none;}
.lang-selector a{color:#c9c9c9;text-decoration:none;}

body:not(.funnel-page) .site-header #primary-menu{
  align-items:center;
}

body:not(.funnel-page) .site-header .nav-wrap{
  align-items:center;
}

body:not(.funnel-page) .site-header .nav-item{
  display:flex;
  align-items:center;
}

body:not(.funnel-page) .site-header .nav-link{
  display:inline-flex;
  align-items:center;
  line-height:1.15;
}

.nav-item.has-dropdown:hover .dropdown-menu,
.nav-item.has-dropdown:focus-within .dropdown-menu{display:flex;}
body:not(.funnel-page) .site-header .nav-wrap > .nav-item.has-dropdown:first-child.open .dropdown-menu{display:flex;}

body:not(.funnel-page) .site-header .nav-link.cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:0;
  padding:8px 14px;
  border-radius:var(--cta-radius) !important;
  background:var(--orange);
  color:#ffffff !important;
  line-height:1.15;
  vertical-align:middle;
  box-shadow:none;
  transition:var(--cta-transition);
}

body:not(.funnel-page) .site-header .nav-link.cta:hover,
body:not(.funnel-page) .site-header .nav-link.cta:focus{
  background:var(--cta-hover-orange);
  color:#ffffff !important;
  opacity:1;
  transform:translateY(-1px);
  box-shadow:var(--cta-active-shadow);
  filter:none;
}

body:not(.funnel-page) .site-header .nav-link.cta:active{
  transform:translateY(0);
  box-shadow:none;
}

@media(max-width:1100px){
  body:not(.funnel-page) .site-header .nav-link.cta{
    width:100%;
    margin:10px 0;
    padding:8px 14px;
  }
}

/* Unified dropdown typography (matches header tone, slightly smaller; hover brightens) */
.nav-item.has-dropdown .dropdown-menu a{
  display:block;
  padding:10px 14px;
  text-decoration:none;
  color:#e6e6e6;
  font-size:13px;
  letter-spacing:0.08em;
  text-transform:uppercase;
  opacity:0.92;
}
.nav-item.has-dropdown .dropdown-menu a:hover{
  background:rgba(255,255,255,0.08);
  color:#ffffff;
  opacity:1;
}
.site-header .nav-link--disabled,
.site-header .nav-link--disabled:hover,
.site-header .nav-link--disabled:focus,
.nav-item.has-dropdown .dropdown-menu .nav-link--disabled,
.nav-item.has-dropdown .dropdown-menu .nav-link--disabled:hover,
.nav-item.has-dropdown .dropdown-menu .nav-link--disabled:focus{
  color:rgba(230,230,230,0.45) !important;
  background:transparent !important;
  cursor:not-allowed !important;
  opacity:0.55 !important;
  pointer-events:none;
}
.nav-item.has-dropdown .dropdown-menu .nav-placeholder{
  display:block;
  padding:10px 14px;
  font-size:13px;
  letter-spacing:0.08em;
  text-transform:uppercase;
}
body:not(.funnel-page) .site-header .dropdown-menu .nav-service-group-label{
  padding-bottom:4px;
  color:#e6e6e6;
  font-weight:700;
  opacity:0.92;
}
body:not(.funnel-page) .site-header .dropdown-menu .nav-service-subitem a,
body:not(.funnel-page) .site-header .dropdown-menu .nav-service-subitem .nav-placeholder{
  padding-left:28px;
  font-size:12px;
}





/* Desktop dropdown alignment: align dropdown text with parent nav link text */
@media (min-width:901px){
  .nav-item.has-dropdown .dropdown-menu{
    left:-14px; /* cancels dropdown link left padding (14px) */
  }
}
/* Mobile dropdown alignment: keep dropdown flush inside mobile menu */
@media (max-width:900px){
  .nav-item.has-dropdown .dropdown-menu{
    left:0;
  }
}
/* ===== Hero ===== */
.hero{height:var(--hero-height);position:relative;overflow:hidden;}
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.30);
  pointer-events:none;
  z-index:0;
}
@media(max-width:900px){
  .hero{height:var(--hero-height-mobile);}
}

/* ===== Subpages hero (all pages except LANDING) ===== */
body.is-subpage{
  --hero-height:225px;
  --hero-height-mobile:225px;
}
body.is-subpage .hero{position:relative;}
body.is-subpage .hero-overlay-text{
  position:absolute;
  left:var(--pad);
  top:28px;
  transform:none;
  z-index:1;
  width:min(var(--wrap), calc(100% - (var(--pad) * 2)));
  color:white;
  text-align:left;
  text-shadow:
    0 1px 2px rgba(0,0,0,.42),
    0 0 1px rgba(0,0,0,.72),
    1px 1px 1px rgba(0,0,0,.42),
    -1px 1px 1px rgba(0,0,0,.32);
}
body.is-subpage .hero-overlay-text h1,
body.is-subpage .hero-overlay-text .services-page-hero-title{
  font-size:34px;
  font-weight:800;
  line-height:1.1;
  margin:0;
}
@media(max-width:900px){
  body.is-subpage .hero-overlay-text{width:calc(100% - (var(--pad) * 2));}
}
@media(max-width:425px){
  body.is-subpage .hero-overlay-text{top:18px;}
}
.hero-right{
  width:26%;
  background:var(--orange);
  color:white;
  display:flex;
  justify-content:center;
  align-items:center;
  font-size:22px;
  font-weight:700;
  cursor:pointer;
  text-decoration:none;
}
.hero-left{
  flex:1;
  background:#282828;
  color:white;
  display:flex;
  align-items:center;
  padding-left:32px; 
  padding-right:32px;
  font-size:24px;
  font-weight:600;
}
.hero-bottom-bar{
  position:absolute;
  bottom:0;
  left:0;
  z-index:1;
  width:100%;
  display:flex;
  height:100px;
}

/* ===== Carousels (modular — single source of truth) =====
   Services carousel:
   - one shared JS controller
   - live fit calculation from the real available width
   - count-specific card bands (3 / 2 / 1) so the carousel drops before cards get cramped
*/

/* Shared variables */
:root{
  --carousel-gap: 32px;

  /* Services cards */
  --services-card-ratio: 225 / 340;
  --services-max-visible: 3;
  --services-arrow-gutter: 64px;
  --services-live-card-w: 210px;

  --services-card-3-min: 195px;
  --services-card-3-pref: 210px;
  --services-card-3-max: 225px;

  --services-card-2-min: 175px;
  --services-card-2-pref: 190px;
  --services-card-2-max: 210px;

  --services-card-1-min: 155px;
  --services-card-1-pref: 175px;
  --services-card-1-max: 190px;

  /* Partners cards */
  --partners-card-w: 220px;
  --partners-card-h: 100px;
  --partners-visible: 4;
  --partners-arrow-gutter: 48px;
}

/* SERVICES carousel component */
.services-carousel-area{
  position: relative;
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.services-carousel-viewport{
  width: 100%;
  overflow: hidden;
  padding: 0 var(--services-arrow-gutter);
  box-sizing: border-box;
}

.services-carousel{
  display: flex;
  gap: var(--carousel-gap);
  overflow-x: auto;
  padding: 20px 0;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.services-carousel::-webkit-scrollbar{display:none;}

.service-card{
  flex: 0 0 var(--services-live-card-w);
  width: var(--services-live-card-w);
  aspect-ratio: var(--services-card-ratio);
  height: auto;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  scroll-snap-align: start;
  scroll-snap-stop: always;

  transition: transform .2s ease, box-shadow .2s ease, opacity .25s ease;
  opacity: 0.85;
  background:#f0f0f0;
}
.service-card:hover{opacity:1;transform:translateY(-6px);box-shadow:0 10px 20px rgba(0,0,0,0.15);}

.service-card img{width:100%;height:100%;object-fit:cover;display:block;}

.service-card-caption{
  position:absolute;
  bottom:0;
  left:0;
  right:0;
  padding:10px 12px;
  background: rgba(0,0,0,0.65);
  color:#fff;
  font-size:12px;
  font-weight:600;
  line-height:1.2;
}

.services-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width: var(--services-arrow-gutter);
  background:none;
  border:none;
  cursor:pointer;
  font-size:32px;
  font-weight:800;
  color:#555;
  line-height:1;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 10px 0;
}
.services-arrow.left{left:0;}
.services-arrow.right{right:0;}

.services-dots{
  display:flex;
  justify-content:center;
  gap:8px;
  margin-top:16px;
}
.services-dots span{width:8px;height:8px;border-radius:50%;background:#ccc;cursor:pointer;}
.services-dots span.active{background:#333;transform:scale(1.3);}

/* Services carousel spacing breakpoints */
@media(max-width:768px){
  :root{
    --services-arrow-gutter: 60px;
  }
}
@media(max-width:425px){
  :root{
    --services-arrow-gutter: 52px;
  }
}
@media(max-width:375px){
  :root{
    --services-arrow-gutter: 48px;
  }
}
@media(max-width:320px){
  :root{
    --services-arrow-gutter: 44px;
  }
}


/* Clients carousel sizing breakpoints */
@media(max-width:768px){
  :root{
    --partners-card-w: 200px;
    --partners-card-h: 91px; /* keeps 2:1 ratio */
    --partners-arrow-gutter: 44px;
  }
}
@media(max-width:425px){
  :root{
    --partners-card-w: 240px;
    --partners-card-h: 82px;
    --partners-arrow-gutter: 38px;
  }
}
@media(max-width:375px){
  :root{
    --partners-card-w: 220px;
    --partners-card-h: 77px;
    --partners-arrow-gutter: 36px;
  }
}
@media(max-width:320px){
  :root{
    --partners-card-w: 200px;
    --partners-card-h: 71px;
    --partners-arrow-gutter: 34px;
  }
}

/* Responsive visible-count clamps (match your JS thresholds) */
@media(max-width:1100px){
  :root{ --partners-visible: 3; }
}
@media(max-width:900px){
  :root{ --partners-visible: 2; }
}
@media(max-width:700px){
  :root{ --partners-visible: 1; }
}

/* Clients carousel: prevent container max-width from shrinking too much on tablet/mobile */
@media(max-width:900px){
  body .partner-carousel-container{ max-width: 100% !important; }
}

/* CLIENTS carousel (kept compatible; uses same snap behavior) */
.partner-carousel{
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.partner-card{
  scroll-snap-align: start;
  scroll-snap-stop: always;
}


/* Ensure partner logos never overflow their cards */
.partner-card{
  overflow: hidden;
}
.partner-card img{
  display:block;
  max-width:100%;
  max-height:100%;
  width:100%;
  height:100%;
  object-fit: contain;
  object-position: center;
}

/* Optical client-logo sizing: stable frame, proportional fit, semantic categories. */
.partner-card .client-logo-frame{
  width:min(184px, 100%);
  height:72px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:visible;
}
.partner-card .client-logo{
  width:auto;
  height:auto;
  object-fit:contain;
  object-position:center;
  transform:scale(var(--client-logo-scale, 1));
  transform-origin:center;
}
.partner-carousel .client-logo--crisp-outline{
  filter:
    drop-shadow(0.75px 0 0 rgba(25, 32, 38, 0.70))
    drop-shadow(-0.75px 0 0 rgba(25, 32, 38, 0.70))
    drop-shadow(0 0.75px 0 rgba(25, 32, 38, 0.70))
    drop-shadow(0 -0.75px 0 rgba(25, 32, 38, 0.70))
    drop-shadow(0.53px 0.53px 0 rgba(25, 32, 38, 0.60))
    drop-shadow(-0.53px 0.53px 0 rgba(25, 32, 38, 0.60))
    drop-shadow(0.53px -0.53px 0 rgba(25, 32, 38, 0.60))
    drop-shadow(-0.53px -0.53px 0 rgba(25, 32, 38, 0.60));
}
.partner-card .client-logo-frame--wide .client-logo{
  max-width:100%;
  max-height:78%;
}
.partner-card .client-logo-frame--standard .client-logo{
  max-width:84%;
  max-height:90%;
}
.partner-card .client-logo-frame--compact .client-logo{
  max-width:90%;
  max-height:100%;
}
.partner-card .client-logo-frame--tall .client-logo{
  max-width:62%;
  max-height:100%;
}

@media(max-width:768px){
  .partner-card .client-logo-frame{height:61px;}
}
@media(max-width:425px){
  .partner-card .client-logo-frame{height:56px;}
}
@media(max-width:375px){
  .partner-card .client-logo-frame{height:51px;}
}
@media(max-width:320px){
  .partner-card .client-logo-frame{height:45px;}
}

/* ===== Social & Back To Top ===== */
#socialCapsule .social-icons{ gap: var(--social-icons-gap) !important; }
#socialCapsule{ display:block !important; transform: none !important; }
#socialCapsule .social-panel{
  position: relative !important;   
  overflow: hidden !important;     
  padding: var(--social-pad-y) var(--social-pad-x) !important;

  border-radius: var(--social-radius) !important;
  padding-bottom: var(--social-pad-y) !important;

  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.25s ease, padding-bottom 0.35s ease !important;
}
#socialCapsule .social-panel.expanded{
  padding-bottom: var(--social-expanded-pad-bottom) !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}
#socialCapsule #backToTop{
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 999px !important;

  border: 2px solid var(--gris-fonce) !important;
  background: var(--orange) !important;
  box-shadow: none !important;

  outline: none !important;

  color: #ffffff !important;
  font-size: var(--social-btt-size) !important;
  line-height: 1 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateX(-50%) translateY(-50%) scale(0.92) !important;
  transition: opacity 0.25s ease, transform 0.25s ease !important;
}
#socialCapsule #backToTop.visible{
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: translateX(-50%) translateY(-50%) scale(1) !important;
}
#socialCapsule #backToTop:focus,
#socialCapsule #backToTop:active{
  outline: none !important;
  box-shadow: none !important;
}
.social-icons img{
  width: var(--social-icon) !important;
  height: var(--social-icon) !important;
  object-fit:contain !important;
}


/* Social widget: override inline sizing/position so it scales proportionally */
#socialCapsule{
  top: var(--social-top) !important;
  right: var(--social-right) !important;
}
#socialCapsule .social-icons{
  gap: var(--social-icons-gap) !important;
}
#socialCapsule .social-icons img{
  width: var(--social-icon) !important;
  height: var(--social-icon) !important;
  max-width: var(--social-icon) !important;
  max-height: var(--social-icon) !important;
}

/* Social widget responsive scaling */
@media (max-width: 1024px){
  :root{
    --social-top: 86px;
    --social-right: 24px;
    --social-radius: 16px;
    --social-pad-y: 7px;
    --social-pad-x: 5px;
    --social-icons-gap: 6px;
    --social-icon: 23px;
    --social-btt-size: 21px;
    --social-expanded-pad-bottom: 40px;
  }
}
@media (max-width: 768px){
  :root{
    --social-top: 82px;
    --social-right: 18px;
    --social-radius: 15px;
    --social-pad-y: 7px;
    --social-pad-x: 5px;
    --social-icons-gap: 6px;
    --social-icon: 22px;
    --social-btt-size: 20px;
    --social-expanded-pad-bottom: 38px;
  }
}
@media (max-width: 425px){
  :root{
    --social-top: 78px;
    --social-right: 12px;
    --social-radius: 14px;
    --social-pad-y: 6px;
    --social-pad-x: 4px;
    --social-icons-gap: 5px;
    --social-icon: 21px;
    --social-btt-size: 19px;
    --social-expanded-pad-bottom: 36px;
  }
}
@media (max-width: 375px){
  :root{
    --social-top: 76px;
    --social-right: 10px;
    --social-radius: 13px;
    --social-pad-y: 6px;
    --social-pad-x: 4px;
    --social-icons-gap: 5px;
    --social-icon: 20px;
    --social-btt-size: 18px;
    --social-expanded-pad-bottom: 34px;
  }
}
@media (max-width: 320px){
  :root{
    --social-top: 74px;
    --social-right: 8px;
    --social-radius: 12px;
    --social-pad-y: 5px;
    --social-pad-x: 3px;
    --social-icons-gap: 4px;
    --social-icon: 19px;
    --social-btt-size: 17px;
    --social-expanded-pad-bottom: 32px;
  }
}

/* ===== Footer ===== */
footer{background:var(--noir);color:#c9c9c9;text-align:center;padding:30px 20px;border-top:3px solid #1E3A5F;font-size:14px;letter-spacing:0.03em;}
footer .footer-secondary-nav{
  display:flex;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
  gap:14px 22px;
  margin-bottom:14px;
}
footer .footer-secondary-nav a,
footer .footer-secondary-nav a:visited{
  color:rgba(255,255,255,0.92);
  text-decoration:none;
}
footer .footer-secondary-nav a:hover,
footer .footer-secondary-nav a:focus{
  color:#ffffff;
  text-decoration:none;
}
footer .footer-legal{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:8px;
  opacity: 1 !important;
}
footer .footer-legal-title{
  color:rgba(255,255,255,0.78);
}
footer .footer-legal .legal-separator{
  color: rgba(255,255,255,0.78) !important;
}
footer .footer-legal a,
footer .footer-legal a:visited,
footer .footer-legal a:hover,
footer .footer-legal a:focus{
  color: rgba(255,255,255,0.92) !important;
  text-decoration: none !important;
  opacity: 1 !important;
}
footer .footer-copy{
  color:#c9c9c9;
}

/* ===== Media Queries ===== */
@media(max-width:800px){
  :root{ --pad:18px; --section-y:48px; }
}
@media(max-width:1400px){
  .services-wrapper{grid-template-columns: 1fr; row-gap:24px;}
}
/* ===== Other ===== */
.diagnostic-section,
.final-cta-section{background:var(--bleu);color:white;}
.pub-contact-wrapper{
  display:flex;
  width:100%;
  min-height:450px;
}

.mail-form-section{
  width:100%;
}

.mail-form-section--split{
  display:flex;
}

.mail-form-section--single{
  display:block;
  min-height:0;
  padding:var(--section-y) var(--pad);
  background:var(--orange);
  color:#ffffff;
}

.mail-form-section--single .mail-form-section__inner{
  width:100%;
  max-width:760px;
  margin:0 auto;
}

.mail-form-section--single .mail-form-section__header{
  margin-bottom:28px;
}

.mail-form-section--single .mail-form-section__header h2{
  margin:0;
  font-size:28px;
  font-weight:600;
  line-height:1.2;
}

.mail-form-section--single .mail-form-section__header p{
  margin:12px 0 0;
  font-size:16px;
  font-weight:400;
  line-height:1.55;
}

.mail-form-section--single .mail-form-section__form.contact-section{
  width:100%;
  padding:0;
  background:transparent;
  color:inherit;
}

.mail-form-section--single .mail-form-section__form form{
  width:100%;
  max-width:720px;
  margin-top:0;
}

.mail-form-section--single .mail-form-section__form form input,
.mail-form-section--single .mail-form-section__form form textarea{
  width:100%;
}

.mail-form-section--single .mail-form-section__form form .btn,
.mail-form-section--single .mail-form-section__form form .opsst-recaptcha.btn{
  margin-right:0;
}

/* Keep Publications + Contact side-by-side on 1024px laptops.
   Stack only for tablet/mobile (<=900px) to match Notre organisation section behavior. */
@media(max-width:900px){
  .pub-contact-wrapper{flex-direction:column;}
  .pub-contact-wrapper > .pub-section,
  .pub-contact-wrapper > .contact-section{width:100%;}
}

/* Override: center title in 'Nos clients' section */
section.logos h2{ text-align:center; }

/* ===== Layout fix: diagnostic/final CTA section centered + button bottom-right ===== */
.diagnostic-section .wrap,
.final-cta-section .wrap{
  margin-left:auto;
  margin-right:auto;
  max-width:var(--wrap);
  width:100%;
  position:relative;
  /* Unified “safe edge” logic (same spirit as the forms):
     keep interactive elements away from the viewport edge AND away from the fixed social capsule. */
  padding-left:var(--pad);
  padding-right:calc(220px + var(--pad) + var(--social-safe-right)); /* reserve CTA + safe edge */
  padding-bottom:8px;
}
.diagnostic-section .wrap .btn,
.final-cta-section .wrap .btn{
  position:absolute;
  right:calc(var(--pad) + var(--social-safe-right));
  bottom:0;
}

@media(max-width:900px){
  .diagnostic-section .wrap,
  .final-cta-section .wrap{ padding-left:var(--pad); padding-right:var(--pad); padding-bottom:0; text-align:center; }
  .diagnostic-section .wrap .btn,
  .final-cta-section .wrap .btn{ position:static; display:inline-flex; align-items:center; justify-content:center; margin-top:16px; }
}

/* ===== Publications links list: anchor list block to the right while keeping normal bullets ===== */
.pub-section.text-col--right ul{
  display:inline-block;
  margin-left:auto;
  text-align:right;
  list-style-position:outside;
  padding-left:1.2em;
}


@media (max-width:900px){

  /* Publications bullet list: center the list block on tablet/mobile (<=900px)
     while keeping normal bullets and readable left-aligned text. */
  .pub-section.text-col--right ul{
    margin-left:auto;
    margin-right:auto;
    text-align:left;
  }

  /* Center section CTA buttons (exclude form buttons) */
  section .btn:not(form .btn){
    align-self:center;
    margin-left:auto;
    margin-right:auto;
  }


  /* Mobile: remove reserved CTA space so centered CTA sections stay on the true page axis */
  .diagnostic-section .wrap,
  .final-cta-section .wrap{padding-left:var(--pad); padding-right:var(--pad);}
}


.hero-right:hover,
.hero-right:focus,
.hero-right:active{
  text-decoration:none;
}


.nj-split-left.text-col--right p{ text-align:right; }
@media(max-width:1100px){
  .nj-split-left.text-col--right p{ text-align:center; }
}

/* =====================
   Standard Video Block
   Canonical component (thumbnail + play overlay)
   ===================== */

.org-video{
  width:100%;
  aspect-ratio:16/9;
  background:#111;
  border-radius:16px;
  position:relative;
  overflow:hidden;
  box-shadow:0 10px 24px rgba(0,0,0,.18);
}

.org-video::after{
  content:"";
  position:absolute;inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,.48));
  pointer-events:none;
}

.org-video img{
  width:100%;height:100%;
  object-fit:cover;display:block;
  opacity:.92;
}

.org-video-play{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:2;
}

.org-video-play .play-btn{
  width:76px;height:76px;
  border-radius:999px;
  background:rgba(255,255,255,.92);
  display:flex;align-items:center;justify-content:center;
  border:4px solid rgba(30,58,95,.9);
  transform:translateZ(0);
  transition:transform .18s ease, box-shadow .18s ease;
  box-shadow:0 10px 18px rgba(0,0,0,.25);
}

.org-video-play .play-btn::before{
  content:"";
  display:block;
  width:0;height:0;
  border-left:18px solid var(--bleu-clair);
  border-top:11px solid transparent;
  border-bottom:11px solid transparent;
  margin-left:4px;
}

.org-video:hover .play-btn{transform:scale(1.05);}


/* =========================
   Video Player Modal (Global)
   ========================= */
.video-modal-backdrop{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.75);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  z-index:99999;
}

.video-modal{
  width:min(960px, 100%);
  background:#000;
  border-radius:14px;
  box-shadow:0 18px 60px rgba(0,0,0,.55);
  overflow:hidden;
  position:relative;
}

.video-modal__frame{
  width:100%;
  aspect-ratio:16/9;
  background:#000;
}

.video-modal__frame iframe,
.video-modal__frame video{
  width:100%;
  height:100%;
  border:0;
  display:block;
  background:#000;
}

.video-modal__close{
  position:absolute;
  top:10px;
  right:10px;
  width:40px;
  height:40px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.25);
  background:rgba(0,0,0,.45);
  color:#fff;
  font-size:22px;
  line-height:1;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  z-index:2;
  transition:transform .12s ease, background .12s ease;
}
.video-modal__close:hover{ background:rgba(0,0,0,.65); transform:scale(1.03); }

body.video-modal-open{ overflow:hidden; }


/* Global form status modal */
.opsst-form-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.48);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 20000;
  padding: 20px;
}
.opsst-form-modal.is-visible { opacity: 1; pointer-events: auto; }
.opsst-form-modal.is-fading { opacity: 0; }
.opsst-form-modal__dialog {
  width: min(520px, 100%);
  background: #fff;
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: 0 18px 60px rgba(0,0,0,.24);
  text-align: center;
}
.opsst-form-modal__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.opsst-form-modal__message {
  font-size: 1rem;
  line-height: 1.6;
  color: #282828;
}
.opsst-form-modal__button {
  margin-top: 18px;
  min-width: 120px;
  border: 1px solid #1E3A5F;
  background: #1E3A5F;
  color: #fff;
  border-radius: 10px;
  padding: 10px 18px;
  font: inherit;
  cursor: pointer;
}
.opsst-form-modal.is-success .opsst-form-modal__title { color: #1f7a3d; }
.opsst-form-modal.is-error .opsst-form-modal__title { color: #b12b1d; }
@media (max-width: 768px) {
  .opsst-form-modal { padding: 16px; }
  .opsst-form-modal__dialog { padding: 24px 18px; border-radius: 16px; }
  .opsst-form-modal__title { font-size: 1.25rem; }
}

/* Header social links — integrated with existing shared header */
.site-header .header-socials{
  position:absolute;
  top:50%;
  left:calc(50% + 350px);
  right:calc(var(--pad) + 56px);
  transform:translateY(-50%);
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  z-index:5;
  pointer-events:none;
}
.site-header .header-socials a,
.site-header .mobile-socials a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  line-height:0;
  opacity:.92;
  pointer-events:auto;
}
.site-header .header-socials a,
.site-header .mobile-socials a{
  width:32px;
  height:32px;
  border-radius:4px;
  color:#c9c9c9;
  --header-social-icon-filter:brightness(0) saturate(100%) invert(79%);
  background:transparent;
}
.site-header .header-socials a:not(:hover):not(:focus):not(:active),
.site-header .mobile-socials a:not(:hover):not(:focus):not(:active){
  color:#8f969d;
  --header-social-icon-filter:brightness(0) saturate(100%) invert(64%) sepia(6%) saturate(349%) hue-rotate(169deg) brightness(91%) contrast(88%);
}
.site-header .header-socials a:hover,
.site-header .mobile-socials a:hover{opacity:1;}
.site-header .header-socials img,
.site-header .mobile-socials img{
  display:block;
  object-fit:contain;
  filter:var(--header-social-icon-filter);
}
.site-header .header-socials img,
.site-header .mobile-socials img{
  width:18px;
  height:18px;
}
.site-header .mobile-socials{display:none;}

/* Back-to-top only — keep the existing arrow button markup/logic, adjust the capsule only */
#socialCapsule{
  top:auto !important;
  bottom:88px !important;
}
#socialCapsule .social-panel{
  width:38px !important;
  height:38px !important;
  min-width:38px !important;
  min-height:38px !important;
  padding:0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}
#socialCapsule #backToTop{
  bottom:auto !important;
  left:50% !important;
  top:50% !important;
}

@media(max-width:900px){
  .site-header .header-socials{display:none;}
  .site-header .mobile-socials{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:16px;
    padding:14px 0 18px;
  }
  #socialCapsule{bottom:74px !important;}
}

@media(min-width:901px) and (max-width:1180px){
  .site-header .header-socials{display:none;}
}

/* Main-site form polish (Phase 2): scoped away from standalone funnel pages. */
body:not(.funnel-page) main .contact-section form,
body:not(.funnel-page) main .soumission-form,
body:not(.funnel-page) main .autoeval-access-form {
  width: 100%;
}

body:not(.funnel-page) main .contact-section form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

body:not(.funnel-page) main .contact-section form input,
body:not(.funnel-page) main .contact-section form textarea,
body:not(.funnel-page) main .soumission-form input,
body:not(.funnel-page) main .soumission-form textarea,
body:not(.funnel-page) main .soumission-form select,
body:not(.funnel-page) main .autoeval-access-card .autoeval-field input {
  width: 100%;
  min-height: 48px;
  padding: 13px 15px;
  border: 1px solid rgba(30,58,95,0.20);
  border-radius: 6px;
  background: #ffffff;
  color: var(--noir);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.35;
  box-shadow: none;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

body:not(.funnel-page) main .contact-section form textarea,
body:not(.funnel-page) main .soumission-form textarea {
  min-height: 132px;
  resize: vertical;
}

body:not(.funnel-page) main .contact-section form input::placeholder,
body:not(.funnel-page) main .contact-section form textarea::placeholder,
body:not(.funnel-page) main .soumission-form input::placeholder,
body:not(.funnel-page) main .soumission-form textarea::placeholder,
body:not(.funnel-page) main .autoeval-access-card .autoeval-field input::placeholder {
  color: rgba(74,74,74,0.72);
}

body:not(.funnel-page) main .contact-section form input:focus,
body:not(.funnel-page) main .contact-section form textarea:focus,
body:not(.funnel-page) main .soumission-form input:focus,
body:not(.funnel-page) main .soumission-form textarea:focus,
body:not(.funnel-page) main .soumission-form select:focus,
body:not(.funnel-page) main .autoeval-access-card .autoeval-field input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(220,80,20,0.16);
}

body:not(.funnel-page) main .soumission-form label,
body:not(.funnel-page) main .autoeval-access-card .autoeval-field label {
  display: block;
  margin: 0 0 6px;
  color: var(--bleu);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

body:not(.funnel-page) main .contact-section form .btn,
body:not(.funnel-page) main .contact-section form .opsst-recaptcha.btn,
body:not(.funnel-page) main #soumissionForm .wizard-nav .btn,
body:not(.funnel-page) main #soumissionForm .wizard-nav .opsst-recaptcha.btn,
body:not(.funnel-page) main .autoeval-access-card #autoevalAccessSubmit,
body:not(.funnel-page) main .autoeval-submit-btn {
  align-items: center;
  justify-content: center;
  min-height: 46px;
  min-width: 160px;
  padding: 12px 22px;
  border-radius: var(--cta-radius);
  border: 2px solid #6a6a6a;
  background: #6a6a6a;
  color: #f0f0f0;
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  box-shadow: none;
  cursor: pointer;
  transition: var(--cta-transition);
}

body:not(.funnel-page) main .contact-section form .btn,
body:not(.funnel-page) main .contact-section form .opsst-recaptcha.btn {
  display: inline-flex;
  width: fit-content;
  margin-top: 2px;
  margin-left: auto;
  border-color: #ffffff;
  background: #ffffff;
  color: var(--bleu);
}

body:not(.funnel-page) main .mail-form-section--single .contact-section form .btn,
body:not(.funnel-page) main .mail-form-section--single .contact-section form .opsst-recaptcha.btn {
  color: var(--orange);
}

body:not(.funnel-page) main .contact-section form .btn:hover,
body:not(.funnel-page) main .contact-section form .btn:focus,
body:not(.funnel-page) main .contact-section form .opsst-recaptcha.btn:hover,
body:not(.funnel-page) main .contact-section form .opsst-recaptcha.btn:focus,
body:not(.funnel-page) main #soumissionForm .wizard-nav .btn:hover,
body:not(.funnel-page) main #soumissionForm .wizard-nav .btn:focus,
body:not(.funnel-page) main #soumissionForm .wizard-nav .opsst-recaptcha.btn:hover,
body:not(.funnel-page) main #soumissionForm .wizard-nav .opsst-recaptcha.btn:focus,
body:not(.funnel-page) main .autoeval-access-card #autoevalAccessSubmit:not(:disabled):hover,
body:not(.funnel-page) main .autoeval-access-card #autoevalAccessSubmit:not(:disabled):focus,
body:not(.funnel-page) main .autoeval-submit-btn:not(:disabled):hover,
body:not(.funnel-page) main .autoeval-submit-btn:not(:disabled):focus {
  border-color: var(--orange);
  background: var(--orange);
  color: #ffffff;
  box-shadow: var(--cta-hover-shadow);
  transform: translateY(-2px);
}

body:not(.funnel-page) main .mail-form-section--single .contact-section form .btn:hover,
body:not(.funnel-page) main .mail-form-section--single .contact-section form .btn:focus,
body:not(.funnel-page) main .mail-form-section--single .contact-section form .opsst-recaptcha.btn:hover,
body:not(.funnel-page) main .mail-form-section--single .contact-section form .opsst-recaptcha.btn:focus {
  border-color: #6a6a6a;
  background: #6a6a6a;
  color: #f0f0f0;
}

body:not(.funnel-page) main .contact-section form .btn:active,
body:not(.funnel-page) main .contact-section form .opsst-recaptcha.btn:active,
body:not(.funnel-page) main #soumissionForm .wizard-nav .btn:active,
body:not(.funnel-page) main #soumissionForm .wizard-nav .opsst-recaptcha.btn:active,
body:not(.funnel-page) main .autoeval-access-card #autoevalAccessSubmit:not(:disabled):active,
body:not(.funnel-page) main .autoeval-submit-btn:not(:disabled):active {
  transform: translateY(0);
  box-shadow: var(--cta-active-shadow);
}

body:not(.funnel-page) main .contact-section form .btn:disabled,
body:not(.funnel-page) main .contact-section form .opsst-recaptcha.btn:disabled,
body:not(.funnel-page) main #soumissionForm .wizard-nav .btn:disabled,
body:not(.funnel-page) main #soumissionForm .wizard-nav .opsst-recaptcha.btn:disabled,
body:not(.funnel-page) main .autoeval-access-card #autoevalAccessSubmit:disabled,
body:not(.funnel-page) main .autoeval-submit-btn:disabled {
  opacity: .72;
  cursor: default;
  transform: none;
  box-shadow: none;
}

body:not(.funnel-page) main .soumission-form .section-title {
  color: var(--bleu);
  font-size: 14px;
  letter-spacing: .04em;
}

body:not(.funnel-page) main #soumissionForm .wizard-nav .wizard-back {
  min-height: 44px;
  padding-top: 12px;
  padding-bottom: 12px;
}

body:not(.funnel-page) main .autoeval-access-feedback,
body:not(.funnel-page) main .autoeval-submit-error {
  border-radius: 6px;
}

body:not(.funnel-page) .opsst-form-modal__dialog {
  border-radius: 8px;
}

body:not(.funnel-page) .opsst-form-modal__button {
  border-radius: 6px;
}

@media(max-width:700px){
  body:not(.funnel-page) main .contact-section form .btn,
  body:not(.funnel-page) main .contact-section form .opsst-recaptcha.btn,
  body:not(.funnel-page) main #soumissionForm .wizard-nav .btn,
  body:not(.funnel-page) main #soumissionForm .wizard-nav .opsst-recaptcha.btn,
  body:not(.funnel-page) main .autoeval-access-card #autoevalAccessSubmit,
  body:not(.funnel-page) main .autoeval-submit-btn {
    width: 100%;
    min-width: 0;
  }

  body:not(.funnel-page) main .contact-section form .btn,
  body:not(.funnel-page) main .contact-section form .opsst-recaptcha.btn {
    margin-left: 0;
  }
}

/* Main-site CTA source of truth: visual system only, scoped away from funnel pages. */
body:not(.funnel-page) main :is(a.btn, button.btn, .opsst-recaptcha.btn, .autoeval-submit-btn, .autoeval-reset-btn):not(.hero-left):not(.hero-right):not(.services-arrow):not(.step-dot):not(.back-to-top):not(.tile-card-link) {
  min-height:44px !important;
  padding:var(--cta-pad-y) var(--cta-pad-x) !important;
  border-radius:var(--cta-radius) !important;
  font-family:var(--font) !important;
  font-size:var(--cta-font-size) !important;
  font-weight:var(--cta-font-weight) !important;
  line-height:1.1 !important;
  text-transform:none !important;
  text-decoration:none !important;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  box-shadow:none;
  transition:var(--cta-transition);
}

body:not(.funnel-page) main :is(.home-section, .organisation-left, .org-intro, .mission-page-section, .service-section, .autoeval-intro, .autoeval-results) :is(a.btn, button.btn, .autoeval-submit-btn, .autoeval-reset-btn):not(.opsst-recaptcha):not(.hero-left):not(.hero-right):not(.services-arrow):not(.step-dot):not(.tile-card-link) {
  border-color:var(--cta-grey) !important;
  background:var(--cta-grey) !important;
  color:var(--cta-grey-text) !important;
}

body:not(.funnel-page) main :is(.home-section, .organisation-left, .org-intro, .mission-page-section, .service-section, .autoeval-intro, .autoeval-results) :is(a.btn, button.btn, .autoeval-submit-btn, .autoeval-reset-btn):not(.opsst-recaptcha):not(.hero-left):not(.hero-right):not(.services-arrow):not(.step-dot):not(.tile-card-link):hover,
body:not(.funnel-page) main :is(.home-section, .organisation-left, .org-intro, .mission-page-section, .service-section, .autoeval-intro, .autoeval-results) :is(a.btn, button.btn, .autoeval-submit-btn, .autoeval-reset-btn):not(.opsst-recaptcha):not(.hero-left):not(.hero-right):not(.services-arrow):not(.step-dot):not(.tile-card-link):focus {
  border-color:var(--orange) !important;
  background:var(--orange) !important;
  color:#ffffff !important;
  transform:translateY(-2px);
  box-shadow:var(--cta-hover-shadow);
  filter:none !important;
}

body:not(.funnel-page) main :is(.pub-section, .nj-split-left) :is(a.btn, button.btn, .opsst-recaptcha.btn):not(.hero-left):not(.hero-right):not(.services-arrow):not(.step-dot):not(.tile-card-link),
body:not(.funnel-page) main .pub-contact-wrapper > .contact-section :is(button.btn, .opsst-recaptcha.btn) {
  border-color:#ffffff !important;
  background:#ffffff !important;
  color:var(--gris-fonce) !important;
}

body:not(.funnel-page) main :is(.pub-section, .nj-split-left) :is(a.btn, button.btn, .opsst-recaptcha.btn):not(.hero-left):not(.hero-right):not(.services-arrow):not(.step-dot):not(.tile-card-link):hover,
body:not(.funnel-page) main :is(.pub-section, .nj-split-left) :is(a.btn, button.btn, .opsst-recaptcha.btn):not(.hero-left):not(.hero-right):not(.services-arrow):not(.step-dot):not(.tile-card-link):focus,
body:not(.funnel-page) main .pub-contact-wrapper > .contact-section :is(button.btn, .opsst-recaptcha.btn):hover,
body:not(.funnel-page) main .pub-contact-wrapper > .contact-section :is(button.btn, .opsst-recaptcha.btn):focus {
  border-color:var(--cta-grey) !important;
  background:var(--cta-grey) !important;
  color:#ffffff !important;
  transform:translateY(-2px);
  box-shadow:var(--cta-hover-shadow);
  filter:none !important;
}

body:not(.funnel-page) main :is(.diagnostic-section, .final-cta-section, .related-publications, .nj-split-right) :is(a.btn, button.btn, .opsst-recaptcha.btn):not(.hero-left):not(.hero-right):not(.services-arrow):not(.step-dot):not(.tile-card-link),
body:not(.funnel-page) main #landingContactForm :is(button.btn, .opsst-recaptcha.btn) {
  border-color:#ffffff !important;
  background:#ffffff !important;
  color:var(--bleu) !important;
}

body:not(.funnel-page) main :is(.diagnostic-section, .final-cta-section, .related-publications, .nj-split-right) :is(a.btn, button.btn, .opsst-recaptcha.btn):not(.hero-left):not(.hero-right):not(.services-arrow):not(.step-dot):not(.tile-card-link):hover,
body:not(.funnel-page) main :is(.diagnostic-section, .final-cta-section, .related-publications, .nj-split-right) :is(a.btn, button.btn, .opsst-recaptcha.btn):not(.hero-left):not(.hero-right):not(.services-arrow):not(.step-dot):not(.tile-card-link):focus,
body:not(.funnel-page) main #landingContactForm :is(button.btn, .opsst-recaptcha.btn):hover,
body:not(.funnel-page) main #landingContactForm :is(button.btn, .opsst-recaptcha.btn):focus {
  border-color:var(--orange) !important;
  background:var(--orange) !important;
  color:#ffffff !important;
  transform:translateY(-2px);
  box-shadow:var(--cta-hover-shadow);
  filter:none !important;
}

body:not(.funnel-page) main #soumissionForm .wizard-nav :is(.btn, .opsst-recaptcha.btn),
body:not(.funnel-page) main .autoeval-access-card #autoevalAccessSubmit,
body:not(.funnel-page) main .autoeval-submit-btn,
body:not(.funnel-page) main .autoeval-reset-btn {
  border-color:var(--cta-grey) !important;
  background:var(--cta-grey) !important;
  color:var(--cta-grey-text) !important;
  border-radius:var(--cta-radius) !important;
}

body:not(.funnel-page) main #soumissionForm .wizard-nav :is(.btn, .opsst-recaptcha.btn):not(:disabled):hover,
body:not(.funnel-page) main #soumissionForm .wizard-nav :is(.btn, .opsst-recaptcha.btn):not(:disabled):focus,
body:not(.funnel-page) main .autoeval-access-card #autoevalAccessSubmit:not(:disabled):hover,
body:not(.funnel-page) main .autoeval-access-card #autoevalAccessSubmit:not(:disabled):focus,
body:not(.funnel-page) main .autoeval-submit-btn:not(:disabled):hover,
body:not(.funnel-page) main .autoeval-submit-btn:not(:disabled):focus,
body:not(.funnel-page) main .autoeval-reset-btn:not(:disabled):hover,
body:not(.funnel-page) main .autoeval-reset-btn:not(:disabled):focus {
  border-color:var(--orange) !important;
  background:var(--orange) !important;
  color:#ffffff !important;
  transform:translateY(-2px);
  box-shadow:var(--cta-hover-shadow);
  filter:none !important;
}

body:not(.funnel-page) main :is(a.btn, button.btn, .opsst-recaptcha.btn, .autoeval-submit-btn, .autoeval-reset-btn):disabled,
body:not(.funnel-page) main :is(a.btn, button.btn, .opsst-recaptcha.btn, .autoeval-submit-btn, .autoeval-reset-btn).is-disabled {
  opacity:.72;
  cursor:default !important;
  transform:none !important;
  box-shadow:none !important;
}

/* Header CTA stays compact and separate from body CTA touch sizing. */
body:not(.funnel-page) .site-header .nav-link.cta {
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:0 !important;
  padding:8px 14px !important;
  border-radius:var(--cta-radius) !important;
  background:var(--orange) !important;
  color:#ffffff !important;
  line-height:1.15 !important;
  vertical-align:middle;
}

body:not(.funnel-page) .site-header .nav-link.cta:hover,
body:not(.funnel-page) .site-header .nav-link.cta:focus {
  background:var(--cta-hover-orange) !important;
  color:#ffffff !important;
  transform:translateY(-1px);
  box-shadow:var(--cta-active-shadow);
  filter:none !important;
}

/* =========================================================
   Shared site header / navigation
   Canonical header system
   ========================================================= */
body:not(.funnel-page) .site-header{
  background:var(--noir);
  height:var(--header-height, 72px);
  display:flex;
  align-items:center;
  justify-content:flex-start;
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:3000;
}

body:not(.funnel-page) .site-header::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:100%;
  height:3px;
  background:#DC5014;
  pointer-events:none;
  z-index:0;
}

body:not(.funnel-page) .site-header::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:calc(100% + 3px);
  height:13.17px;
  background:linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.7) 38%, rgba(0,0,0,0) 100%);
  pointer-events:none;
  z-index:1;
}

body:not(.funnel-page) .site-header .nav-container{
  height:100%;
  width:100%;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  position:relative;
  z-index:3;
  box-sizing:border-box;
  padding:0 var(--pad);
}

body:not(.funnel-page) .site-header .site-logo{
  position:absolute;
  left:var(--pad);
  top:50%;
  transform:translateY(-50%);
  z-index:5;
}

body:not(.funnel-page) .site-header .site-logo img{
  display:block;
  max-height:56px;
}

body:not(.funnel-page) .site-header .lang-selector{
  position:absolute;
  right:var(--pad);
  top:50%;
  transform:translateY(-50%);
  display:flex;
  gap:6px;
  z-index:5;
}

body:not(.funnel-page) .site-header .lang-selector a,
body:not(.funnel-page) .site-header .lang-selector .lang-link{
  color:#c9c9c9;
  text-decoration:none;
}

body:not(.funnel-page) .site-header .lang-selector .lang-link{
  display:inline-block;
  padding:4px 6px;
  border-radius:3px;
  cursor:default;
}

body:not(.funnel-page) .site-header .lang-selector .lang-link.is-active{
  color:#ffffff;
}

body:not(.funnel-page) .site-header .lang-selector .lang-link.is-active{
  font-weight:700;
  opacity:1;
}

body:not(.funnel-page) .site-header .lang-selector .lang-link.is-disabled{
  color:#c9c9c9;
  font-weight:400;
  opacity:1;
}

body:not(.funnel-page) .site-header .nav-toggle{
  display:none;
}

body:not(.funnel-page) .site-header nav#primary-menu,
body:not(.funnel-page) .site-header #primary-menu{
  flex:1;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  top:auto;
  left:auto;
  right:auto;
  transform:none;
  background:transparent;
  border-bottom:0;
  z-index:1;
}

body:not(.funnel-page) .site-header .nav-wrap{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:32px;
  width:auto;
  margin:0;
  padding:0;
  text-transform:uppercase;
  font-size:14px;
  letter-spacing:0.08em;
}

body:not(.funnel-page) .site-header .nav-item{
  display:flex;
  align-items:center;
  list-style:none;
}

body:not(.funnel-page) .site-header .nav-link{
  display:inline-flex;
  align-items:center;
  color:#e6e6e6;
  text-decoration:none;
  line-height:1.15;
  opacity:0.92;
}

body:not(.funnel-page) .site-header .nav-link:hover,
body:not(.funnel-page) .site-header .nav-link:focus{
  color:#c9c9c9;
  opacity:1;
}

body:not(.funnel-page) .site-header .nav-link--disabled,
body:not(.funnel-page) .site-header .nav-link--disabled:hover,
body:not(.funnel-page) .site-header .nav-link--disabled:focus,
body:not(.funnel-page) .site-header .dropdown-menu .nav-link--disabled,
body:not(.funnel-page) .site-header .dropdown-menu .nav-link--disabled:hover,
body:not(.funnel-page) .site-header .dropdown-menu .nav-link--disabled:focus{
  color:rgba(230,230,230,0.45) !important;
  background:transparent !important;
  cursor:not-allowed !important;
  opacity:0.55 !important;
  pointer-events:none;
}

body:not(.funnel-page) .site-header .nav-link.cta{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:auto !important;
  min-height:0 !important;
  margin:0 !important;
  padding:8px 14px !important;
  border-radius:var(--cta-radius) !important;
  background:var(--orange) !important;
  color:#ffffff !important;
  line-height:1.15 !important;
  vertical-align:middle;
  box-shadow:none;
  transition:var(--cta-transition);
}

body:not(.funnel-page) .site-header .nav-link.cta:hover,
body:not(.funnel-page) .site-header .nav-link.cta:focus{
  background:var(--cta-hover-orange) !important;
  color:#ffffff !important;
  opacity:1;
  transform:translateY(-1px);
  box-shadow:var(--cta-active-shadow);
  filter:none !important;
}

body:not(.funnel-page) .site-header .nav-link.cta:active{
  transform:translateY(0);
  box-shadow:none;
}

body:not(.funnel-page) .site-header .nav-item.has-dropdown{
  position:relative;
}

body:not(.funnel-page) .site-header .nav-item.has-dropdown > .nav-link{
  display:inline-flex;
  align-items:center;
  gap:6px;
}

body:not(.funnel-page) .site-header .nav-item.has-dropdown > .nav-link::after{
  content:"▾";
  font-size:11px;
  line-height:1;
  opacity:0.9;
  transform:translateY(-1px);
}

body:not(.funnel-page) .site-header .nav-item.has-dropdown .dropdown-menu{
  position:absolute;
  top:calc(100% + 6px);
  left:-14px;
  min-width:280px;
  margin:0;
  padding:10px 0;
  display:none;
  flex-direction:column;
  background:#282828;
  border:1px solid rgba(255,255,255,0.12);
  border-radius:0;
  box-shadow:0 12px 28px rgba(0,0,0,0.35);
  z-index:99999;
}

body:not(.funnel-page) .site-header .nav-item.has-dropdown .dropdown-menu::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:-10px;
  height:10px;
}

body:not(.funnel-page) .site-header .nav-item.has-dropdown:hover > .dropdown-menu,
body:not(.funnel-page) .site-header .nav-item.has-dropdown:focus-within > .dropdown-menu{
  display:flex;
}

body:not(.funnel-page) .site-header .nav-item.has-dropdown .dropdown-menu li,
body:not(.funnel-page) .site-header .nav-item.has-dropdown .dropdown-submenu li{
  list-style:none;
}

body:not(.funnel-page) .site-header .nav-item.has-dropdown .dropdown-menu a,
body:not(.funnel-page) .site-header .nav-item.has-dropdown .dropdown-menu .submenu-toggle,
body:not(.funnel-page) .site-header .nav-item.has-dropdown .dropdown-menu .nav-placeholder{
  display:block;
  padding:10px 14px;
  color:#e6e6e6;
  text-decoration:none;
  font-size:13px;
  letter-spacing:0.08em;
  text-transform:uppercase;
  opacity:0.92;
}

body:not(.funnel-page) .site-header .nav-item.has-dropdown .dropdown-menu a:hover,
body:not(.funnel-page) .site-header .nav-item.has-dropdown .dropdown-menu a:focus,
body:not(.funnel-page) .site-header .nav-item.has-dropdown .dropdown-menu .submenu-toggle:hover,
body:not(.funnel-page) .site-header .nav-item.has-dropdown .dropdown-menu .submenu-toggle:focus{
  background:rgba(255,255,255,0.08);
  color:#ffffff;
  opacity:1;
}

body:not(.funnel-page) .site-header .dropdown-menu .nav-service-group-label{
  padding-bottom:4px;
  color:#e6e6e6;
  font-weight:700;
  opacity:0.92;
}

body:not(.funnel-page) .site-header .dropdown-menu .nav-service-subitem a,
body:not(.funnel-page) .site-header .dropdown-menu .nav-service-subitem .nav-placeholder{
  padding-left:28px;
  font-size:12px;
}

body:not(.funnel-page) .site-header .dropdown-menu .has-submenu{
  position:relative;
}

body:not(.funnel-page) .site-header .dropdown-menu .has-submenu > .submenu-toggle{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  background:none;
  border:0;
  font:inherit;
  cursor:pointer;
  text-align:left;
}

body:not(.funnel-page) .site-header .dropdown-menu .has-submenu > .submenu-toggle::after{
  content:"▸";
  font-size:11px;
  line-height:1;
  opacity:0.9;
}

body:not(.funnel-page) .site-header .dropdown-submenu{
  position:absolute;
  top:-10px;
  left:100%;
  min-width:240px;
  margin:0;
  padding:10px 0;
  display:none;
  flex-direction:column;
  background:#282828;
  border:1px solid rgba(255,255,255,0.12);
  border-radius:0;
  box-shadow:0 12px 28px rgba(0,0,0,0.35);
  z-index:99999;
}

body:not(.funnel-page) .site-header .dropdown-menu .has-submenu:hover > .dropdown-submenu,
body:not(.funnel-page) .site-header .dropdown-menu .has-submenu:focus-within > .dropdown-submenu,
body:not(.funnel-page) .site-header .dropdown-menu .has-submenu.open > .dropdown-submenu{
  display:flex;
}

body:not(.funnel-page) .site-header .header-socials{
  position:absolute;
  top:50%;
  left:calc(50% + 350px);
  right:calc(var(--pad) + 56px);
  transform:translateY(-50%);
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  z-index:5;
  pointer-events:none;
}

body:not(.funnel-page) .site-header .mobile-socials{
  display:none;
}

body:not(.funnel-page) .site-header .header-socials a,
body:not(.funnel-page) .site-header .mobile-socials a{
  width:32px;
  height:32px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#c9c9c9;
  background:transparent;
  border-radius:4px;
  line-height:0;
  opacity:.92;
  pointer-events:auto;
}

body:not(.funnel-page) .site-header .header-socials a:not(:hover):not(:focus):not(:active),
body:not(.funnel-page) .site-header .mobile-socials a:not(:hover):not(:focus):not(:active){
  color:#8f969d;
  --header-social-icon-filter:brightness(0) saturate(100%) invert(64%) sepia(6%) saturate(349%) hue-rotate(169deg) brightness(91%) contrast(88%);
}

body:not(.funnel-page) .site-header .header-socials a:hover,
body:not(.funnel-page) .site-header .mobile-socials a:hover{
  opacity:1;
}

body:not(.funnel-page) .site-header .header-socials img,
body:not(.funnel-page) .site-header .mobile-socials img{
  width:18px;
  height:18px;
  display:block;
  object-fit:contain;
}

@media(max-width:1100px){
  body:not(.funnel-page) .site-header .nav-toggle{
    display:block !important;
    position:absolute;
    left:var(--pad);
    top:50%;
    transform:translateY(-50%);
    width:44px;
    height:44px;
    padding:0;
    color:#ffffff;
    background:none;
    border:0;
    font-size:28px;
    line-height:1;
    cursor:pointer;
    z-index:3001;
  }

  body:not(.funnel-page) .site-header .site-logo{
    left:50%;
    top:50%;
    transform:translate(-50%, -50%);
  }

  body:not(.funnel-page) .site-header nav#primary-menu,
  body:not(.funnel-page) .site-header #primary-menu{
    position:fixed !important;
    left:0 !important;
    right:0 !important;
    top:var(--header-height, 72px) !important;
    max-height:calc(100dvh - var(--header-height, 72px));
    overflow-y:auto;
    -webkit-overflow-scrolling:touch;
    display:none !important;
    flex:initial !important;
    width:100%;
    background:#282828 !important;
    border-bottom:1px solid rgba(255,255,255,0.08) !important;
    transform:none !important;
    z-index:2999 !important;
  }

  body:not(.funnel-page) .site-header.menu-open nav#primary-menu,
  body:not(.funnel-page) .site-header.menu-open #primary-menu{
    display:block !important;
  }

  body:not(.funnel-page) .site-header .nav-wrap{
    width:100% !important;
    flex-direction:column !important;
    align-items:stretch !important;
    gap:0 !important;
    padding:0 var(--pad) calc(18px + env(safe-area-inset-bottom, 0px)) !important;
    box-sizing:border-box;
  }

  body:not(.funnel-page) .site-header .nav-item{
    width:100% !important;
    display:block !important;
    border-top:1px solid rgba(255,255,255,0.08);
  }

  body:not(.funnel-page) .site-header .nav-item:first-child{
    border-top:0;
  }

  body:not(.funnel-page) .site-header .nav-link,
  body:not(.funnel-page) .site-header .nav-item.has-dropdown > .nav-link{
    width:100% !important;
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    padding:10px 0 !important;
    box-sizing:border-box;
  }

  body:not(.funnel-page) .site-header .nav-link.cta{
    width:100% !important;
    margin:10px 0 !important;
    padding:12px 14px !important;
  }

  body:not(.funnel-page) .site-header .nav-item.has-dropdown .dropdown-menu{
    position:static !important;
    left:0 !important;
    top:auto !important;
    min-width:0 !important;
    width:100% !important;
    margin:0 !important;
    padding:0 !important;
    display:none !important;
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
  }

  body:not(.funnel-page) .site-header .nav-item.has-dropdown .dropdown-menu::before{
    content:none;
  }

  body:not(.funnel-page) .site-header .nav-item.has-dropdown:hover > .dropdown-menu,
  body:not(.funnel-page) .site-header .nav-item.has-dropdown:focus-within > .dropdown-menu{
    display:none !important;
  }

  body:not(.funnel-page) .site-header .nav-item.has-dropdown.open > .dropdown-menu{
    display:flex !important;
  }

  body:not(.funnel-page) .site-header .nav-item.has-dropdown .dropdown-menu a,
  body:not(.funnel-page) .site-header .nav-item.has-dropdown .dropdown-menu .submenu-toggle,
  body:not(.funnel-page) .site-header .nav-item.has-dropdown .dropdown-menu .nav-placeholder{
    padding:10px 0 10px 18px !important;
    font-size:14px;
  }

  body:not(.funnel-page) .site-header .dropdown-submenu{
    position:static !important;
    left:auto !important;
    top:auto !important;
    min-width:0 !important;
    width:100% !important;
    margin:0 !important;
    padding:0 !important;
    display:none !important;
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
  }

  body:not(.funnel-page) .site-header .dropdown-menu .has-submenu:hover > .dropdown-submenu{
    display:none !important;
  }

  body:not(.funnel-page) .site-header .dropdown-menu .has-submenu.open > .dropdown-submenu{
    display:flex !important;
  }

  body:not(.funnel-page) .site-header .dropdown-submenu a,
  body:not(.funnel-page) .site-header .dropdown-submenu .nav-placeholder{
    padding:10px 0 10px 36px !important;
    font-size:14px;
  }

  body:not(.funnel-page) .site-header .header-socials{
    display:none !important;
  }

  body:not(.funnel-page) .site-header .mobile-socials{
    display:flex !important;
    align-items:center;
    justify-content:center;
    gap:16px;
    padding:14px 0 18px;
  }
}

@media(min-width:1101px) and (max-width:1180px){
  body:not(.funnel-page) .site-header .header-socials{
    display:none;
  }
}
