/* Solutions mega-menu — screenshot reference 2026-07-14. */
.mega-solutions-exact,
.mega-solutions-exact * {
  box-sizing: border-box;
}

.mega-solutions-exact {
  font-family: var(--font-family, 'Cerebri Sans'), Inter, system-ui, sans-serif;
}

.mega-solutions-exact::before,
.mega-solutions-exact::after {
  display: none;
}

.mega-solutions-exact a {
  color: inherit;
  text-decoration: none;
}

.mega-solutions-exact p,
.mega-solutions-exact ul {
  margin: 0;
}

.mega-solutions-exact .mega-eyebrow {
  margin: 0 0 13px;
  color: #2717f2;
  font-family: var(--font-family, 'Cerebri Sans'), Inter, system-ui, sans-serif;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.mega-solutions__intro {
  grid-area: intro;
  min-width: 0;
  padding: 0;
}

.mega-solutions__intro-copy {
  min-width: 0;
}

.mega-solutions__intro .mega-section-title {
  max-width: 820px;
  margin: 0;
  color: #07083f;
  font-size: 36px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: var(--cb-display-tracking);
}

.mega-solutions__intro .mega-solutions__lead {
  max-width: 810px;
  margin-top: 11px;
  color: #263478;
  font-size: 14.5px;
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: -.01em;
}

.mega-solutions__intro .mega-solutions__lead span {
  display: block;
}

.mega-hosted-pill {
  width: 200px;
  min-height: 39px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 14px;
  padding: 0 14px;
  border: 1px solid #dce0f4;
  border-radius: 12px;
  color: #263478;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 6px 16px rgba(18, 16, 104, .025);
  font-size: 13px;
  line-height: 1;
  font-weight: 500;
  white-space: nowrap;
}

.mega-hosted-pill .flag-inline {
  width: 18px;
  height: 13px;
  margin: 0;
  border-radius: 1px;
}

.mega-solutions__catalog {
  grid-area: catalog;
  min-width: 0;
}

.mega-solutions__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(2, 156px);
  gap: 14px 12px;
}

.mega-solutions-exact .mega-solution-tile,
.mega-solutions-exact article.mega-solution-tile {
  position: relative;
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-content: start;
  align-items: start;
  gap: 12px;
  margin: 0;
  padding: 18px 16px 14px 12px;
  border: 1px solid #dfe3f3;
  border-radius: 16px;
  color: #07083f;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 7px 18px rgba(18, 16, 104, .025);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.mega-solutions-exact a.mega-solution-tile:hover,
.mega-solutions-exact a.mega-solution-tile:focus-visible {
  border-color: rgba(37, 16, 243, .3);
  box-shadow: 0 14px 28px rgba(18, 16, 104, .08);
  transform: translateY(-1px);
}

.mega-solutions-exact a.mega-solution-tile:focus-visible,
.mega-solutions-exact .mega-path-link:focus-visible,
.mega-solutions-exact .mega-diagnostic-btn:focus-visible,
.mega-solutions-exact .mega-solutions__compliance:focus-visible {
  outline: 3px solid rgba(37, 16, 243, .26);
  outline-offset: 2px;
}

.mega-solution-tile--pending {
  cursor: default;
}

.mega-solution-tile .mega-icon {
  width: 46px;
  height: 54px;
  border-color: #dadef5;
  border-radius: 14px;
  background: linear-gradient(145deg, #fbfaff 0%, #f0efff 100%);
  box-shadow: inset 0 1px 0 #fff, 0 8px 18px rgba(37, 16, 243, .055);
}

.mega-solution-tile .mega-icon svg {
  width: 26px;
  height: 26px;
  stroke-width: 2.4;
}

.mega-solution-tile .mega-icon--word {
  font-size: 15px;
  font-weight: 900;
}

.mega-solution-tile__copy {
  display: block;
  min-width: 0;
}

.mega-solution-tile__copy strong {
  display: block;
  color: #07083f;
  font-size: 15.5px;
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: -.038em;
}

.mega-solution-tile__copy small {
  display: block;
  margin-top: 6px;
  color: #243174;
  font-size: 11.5px;
  line-height: 1.38;
  font-weight: 500;
  letter-spacing: -.01em;
}

.mega-solution-tile > .mega-arrow {
  position: absolute;
  right: 20px;
  bottom: 16px;
  width: 17px;
  height: 17px;
  color: #07083f;
}

.mega-microsoft-logo {
  width: 22px;
  height: 22px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 2px;
  flex: 0 0 22px;
}

.mega-microsoft-logo i:nth-child(1) { background: #f25022; }
.mega-microsoft-logo i:nth-child(2) { background: #7fba00; }
.mega-microsoft-logo i:nth-child(3) { background: #00a4ef; }
.mega-microsoft-logo i:nth-child(4) { background: #ffb900; }

.mega-icon--microsoft .mega-microsoft-logo {
  width: 38px;
  height: 38px;
  flex-basis: 38px;
  gap: 2px;
}

.mega-m365-suite {
  min-width: 0;
  min-height: 179px;
  display: grid;
  grid-template-columns: 263px minmax(0, 1fr);
  gap: 17px;
  margin-top: 18px;
  padding: 16px 17px 14px;
  border: 1px solid #dfe3f3;
  border-radius: 16px;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 7px 18px rgba(18, 16, 104, .025);
}

.mega-m365-suite__copy {
  min-width: 0;
}

.mega-m365-suite__title {
  min-height: 27px;
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.mega-m365-suite__title strong {
  color: #07083f;
  font-size: 18px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -.035em;
}

.mega-m365-suite__badge {
  min-height: 23px;
  display: inline-flex;
  align-items: center;
  margin-left: 3px;
  padding: 0 8px;
  border: 1px solid #e0e1fb;
  border-radius: 7px;
  color: #2c1cf1;
  background: #f1f0ff;
  font-size: 8px;
  line-height: 1;
  font-weight: 800;
}

.mega-m365-suite__copy > p {
  max-width: 270px;
  margin-top: 9px;
  color: #263478;
  font-size: 12px;
  line-height: 1.42;
  font-weight: 500;
}

.mega-m365-suite__copy ul {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding: 0;
  list-style: none;
}

.mega-m365-suite__copy li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #263478;
  font-size: 10.5px;
  line-height: 1.2;
  font-weight: 500;
}

.mega-m365-suite__copy li > span {
  width: 15px;
  height: 15px;
  display: grid;
  place-items: center;
  flex: 0 0 15px;
  border-radius: 50%;
  color: #fff;
  background: #2b1cf4;
  font-size: 9px;
  font-weight: 900;
  box-shadow: 0 4px 8px rgba(37, 16, 243, .18);
}

.mega-m365-suite__copy li b {
  font-weight: 500;
}

.mega-m365-apps {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 4px 8px;
}

.mega-m365-apps > span {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  color: #07083f;
  text-align: center;
}

.mega-m365-apps img {
  width: 48px;
  height: 48px;
  display: block;
  object-fit: cover;
  border-radius: 11px;
}

.mega-m365-apps b {
  display: block;
  max-width: 100%;
  margin-top: 3px;
  font-size: 9.5px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -.02em;
  white-space: nowrap;
}

.mega-solutions-exact .mega-solutions__paths {
  grid-area: paths;
  min-width: 0;
  padding: 0 0 0 27px;
  border-left: 1px solid #e2e5f3;
}

.mega-solutions__paths .mega-eyebrow {
  margin-bottom: 17px;
}

.mega-solutions-exact .mega-path-link {
  min-height: 82px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 17px;
  border-bottom: 1px solid #dfe3f3;
  color: #07083f;
}

.mega-solutions-exact .mega-path-link:last-child {
  border-bottom: 0;
}

.mega-solutions-exact .mega-path-link .mega-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.mega-solutions-exact .mega-path-link .mega-icon svg {
  width: 25px;
  height: 25px;
}

.mega-solutions-exact .mega-path-link b {
  max-width: 205px;
  color: #0d0e49;
  font-size: 14.5px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -.02em;
}

.mega-solutions-exact .mega-path-link:hover b,
.mega-solutions-exact .mega-path-link:hover .mega-arrow {
  color: #2816f2;
}

.mega-solutions-exact .mega-path-link .mega-arrow {
  width: 16px;
  height: 16px;
}

.mega-solutions-exact .mega-solutions__cta {
  grid-area: cta;
  position: relative;
  min-width: 0;
  min-height: 0;
  padding: 34px 31px 116px;
  border: 1px solid #dfe3f3;
  border-radius: 18px;
  overflow: hidden;
  color: #07083f;
  background:
    radial-gradient(circle at 77% 18%, rgba(101, 78, 255, .08), transparent 22%),
    linear-gradient(180deg, #fff 0%, #faf9ff 58%, #eeecff 100%);
  text-align: center;
}

.mega-solutions__cta-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin: 0 auto;
  border: 1px solid #d8d6fb;
  border-radius: 50%;
  color: #2816f2;
  background: linear-gradient(145deg, #fff, #f0efff);
  box-shadow: 0 9px 20px rgba(37, 16, 243, .06);
}

.mega-solutions__cta-icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mega-solutions-exact .mega-solutions__cta-eyebrow {
  margin-top: -3px;
  color: #2816f2;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 800;
}

.mega-solutions-exact .mega-solutions__cta .mega-section-title {
  max-width: 280px;
  margin: 16px auto 0;
  color: #07083f;
  font-size: 23px;
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: -.047em;
}

.mega-solutions-exact .mega-solutions__cta > p:not(.mega-section-title):not(.mega-solutions__cta-eyebrow) {
  max-width: 270px;
  margin: 13px auto 0;
  color: #263478;
  font-size: 13.5px;
  line-height: 1.46;
  font-weight: 500;
}

.mega-solutions-exact .mega-solutions__cta .mega-diagnostic-btn {
  width: 100%;
  min-height: 50px;
  margin-top: 49px;
  border-radius: 9px;
  padding-inline: 12px;
  font-size: 13.5px;
  white-space: nowrap;
  box-shadow: 0 15px 30px rgba(37, 16, 243, .24);
}

.mega-solutions__cta-proofs {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 0;
  min-height: 116px;
  display: grid;
  grid-template-columns: .86fr 1.25fr .86fr;
  align-items: center;
  border-top: 1px solid #e3e4f4;
  border-radius: 0 0 14px 14px;
  background: rgba(255, 255, 255, .48);
}

.mega-solutions__cta-proofs > span {
  min-width: 0;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 5px;
  padding: 0 5px;
  color: #263478;
  text-align: left;
}

.mega-solutions__cta-proofs svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #3928f2;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mega-solutions__cta-proofs b {
  font-size: 9.3px;
  line-height: 1.25;
  font-weight: 600;
}

.mega-solutions__compliance {
  grid-area: compliance;
  min-width: 0;
  min-height: 62px;
  display: grid;
  grid-template-columns: 47px minmax(0, 1fr) auto 18px;
  align-items: center;
  gap: 14px;
  padding: 0 25px 0 13px;
  border: 1px solid #dfe3f3;
  border-radius: 14px;
  color: #07083f;
  background: linear-gradient(90deg, #fff 0%, #fdfdff 63%, #f7f7ff 100%);
  box-shadow: 0 7px 18px rgba(18, 16, 104, .02);
}

.mega-solutions__compliance-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid #d9dcf7;
  border-radius: 50%;
  color: #2816f2;
  background: #f4f3ff;
}

.mega-solutions__compliance-icon svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mega-solutions__compliance-copy {
  min-width: 0;
  display: block;
}

.mega-solutions__compliance-copy strong,
.mega-solutions__compliance-copy small {
  display: block;
}

.mega-solutions__compliance-copy strong {
  color: #07083f;
  font-size: 12.5px;
  line-height: 1.15;
  font-weight: 800;
}

.mega-solutions__compliance-copy small {
  margin-top: 2px;
  color: #263478;
  font-size: 10.5px;
  line-height: 1.2;
  font-weight: 500;
}

.mega-solutions__certifications {
  color: #0d0e49;
  font-size: 10.5px;
  line-height: 1;
  font-weight: 700;
  white-space: nowrap;
}

.mega-solutions__certifications b {
  font-weight: 700;
}

.mega-solutions__certifications i {
  margin: 0 7px;
  font-style: normal;
}

.mega-solutions__compliance > .mega-arrow {
  width: 17px;
  height: 17px;
}

@media (min-width: 1321px) {
  .home-page {
    --header-h: var(--cb-topbar-h);
  }

  .home-page .site-header {
    height: var(--cb-topbar-h);
  }

  .home-page .site-header__inner {
    height: 100%;
  }

  .home-page .site-header[data-mega-open="solutions"] .nav-trigger[data-mega-trigger="solutions"]::after {
    bottom: -28px;
  }

  .mega-layer[data-active-menu="solutions"] {
    width: min(calc(100vw - 104px), 1568px);
    padding-top: 22px;
  }

  .home-page .mega-layer[data-active-menu="solutions"] {
    padding-top: 25px;
  }

  .mega-layer[data-active-menu="solutions"]::before {
    top: 9px;
    left: calc(50% - 225px);
  }


  .mega-solutions-exact {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(278px, 312px) minmax(286px, 315px);
    grid-template-rows: 107px 523px 62px;
    grid-template-areas:
      "intro intro ."
      "catalog paths cta"
      "compliance compliance compliance";
    column-gap: 27px;
    row-gap: 26px;
    width: 100%;
    height: 803px;
    min-height: 803px;
    padding: 34px 35px 22px;
    border: 1px solid rgba(217, 222, 246, .9);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 24px 68px rgba(13, 14, 76, .1), 0 7px 20px rgba(13, 14, 76, .035);
    overflow: hidden;
  }

  .mega-solutions__intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 200px;
    gap: 34px;
    align-items: start;
  }

  .mega-solutions-exact .mega-solutions__paths {
    height: 551px;
    margin-top: -28px;
    transform: translateX(-7px);
  }

  .mega-solutions-exact .mega-solutions__cta {
    height: 542px;
    margin-top: -21px;
  }
}

@media (min-width: 1501px) {
  .mega-solutions__intro {
    grid-template-columns: minmax(0, 814px) 200px;
    gap: 48px;
  }
}

@media (max-width: 1500px) and (min-width: 1321px) {
  .mega-solutions-exact {
    grid-template-columns: minmax(0, 1fr) 282px 286px;
    column-gap: 20px;
    padding-inline: 27px;
  }

  .mega-solutions__grid { gap: 12px 10px; }

  .mega-solutions-exact .mega-solution-tile,
  .mega-solutions-exact article.mega-solution-tile {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 12px;
    padding-inline: 11px 14px;
  }

  .mega-solution-tile .mega-icon { width: 52px; height: 62px; }
  .mega-solution-tile__copy strong { font-size: 15px; }
  .mega-solution-tile__copy small { font-size: 10.8px; }
  .mega-solution-tile > .mega-arrow { right: 13px; }
  .mega-m365-suite { grid-template-columns: 245px minmax(0, 1fr); padding-inline: 13px; }
  .mega-m365-suite__title strong { font-size: 15px; }
  .mega-m365-suite__copy > p { font-size: 10.5px; }
  .mega-m365-apps { gap-inline: 3px; }
  .mega-m365-apps img { width: 43px; height: 43px; }
  .mega-m365-apps b { font-size: 7.8px; }
  .mega-solutions-exact .mega-solutions__paths { padding-left: 20px; }
  .mega-solutions-exact .mega-path-link { gap: 12px; }
  .mega-solutions-exact .mega-path-link b { font-size: 13px; }
  .mega-solutions-exact .mega-solutions__cta { padding-inline: 18px; }
  .mega-solutions-exact .mega-solutions__cta .mega-section-title { font-size: 21px; }
  .mega-solutions-exact .mega-solutions__cta > p:not(.mega-section-title):not(.mega-solutions__cta-eyebrow) { font-size: 12.5px; }
  .mega-solutions__cta-proofs b { font-size: 7.8px; }
}

@media (max-width: 1320px) {
  .site-header[data-mega-open="solutions"] .nav-trigger[data-mega-trigger="solutions"]::after,
  .mega-layer[data-active-menu="solutions"]::before {
    display: none;
  }

  .mega-layer[data-active-menu="solutions"],
  .home-page .mega-layer[data-active-menu="solutions"] {
    width: 100%;
    padding-top: 8px;
  }

  .mega-solutions-exact {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: auto !important;
    grid-template-areas:
      "intro"
      "catalog"
      "paths"
      "cta"
      "compliance" !important;
    gap: 24px !important;
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    max-height: min(74vh, 780px);
    padding: 22px !important;
    border-radius: 20px;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .mega-solutions__intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 18px;
  }

  .mega-solutions__intro .mega-section-title {
    font-size: clamp(27px, 4.6vw, 36px);
  }

  .mega-solutions__intro .mega-solutions__lead {
    font-size: 13px;
  }

  .mega-solutions__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-rows: minmax(148px, auto);
  }

  .mega-m365-suite {
    grid-template-columns: minmax(230px, .72fr) minmax(0, 1.28fr);
    min-height: 190px;
  }

  .mega-solutions-exact .mega-solutions__paths {
    height: auto;
    margin: 0;
    padding: 0;
    border-left: 0;
  }

  .mega-solutions-exact .mega-solutions__cta {
    height: auto;
    min-height: 520px;
    margin: 0;
  }

  .mega-solutions__compliance {
    min-height: 72px;
  }
}

@media (max-width: 760px) {
  .mega-solutions-exact {
    gap: 20px !important;
    max-height: min(72vh, 720px);
    padding: 16px !important;
    border-radius: 18px;
  }

  .mega-solutions__intro {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .mega-solutions__intro .mega-section-title {
    font-size: 28px;
  }

  .mega-hosted-pill {
    width: max-content;
    margin-top: 0;
  }

  .mega-solutions__grid {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(142px, auto);
  }

  .mega-solutions-exact .mega-solution-tile,
  .mega-solutions-exact article.mega-solution-tile {
    padding-block: 20px;
  }

  .mega-m365-suite {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 20px;
    padding: 18px 14px;
  }

  .mega-m365-suite__copy > p {
    max-width: none;
  }

  .mega-m365-apps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: none;
    gap: 14px 7px;
  }

  .mega-m365-apps img {
    width: 46px;
    height: 46px;
  }

  .mega-m365-apps b {
    font-size: 9px;
  }

  .mega-solutions-exact .mega-path-link {
    min-height: 72px;
    gap: 13px;
  }

  .mega-solutions-exact .mega-solutions__cta {
    min-height: 0;
    padding: 26px 18px 18px;
  }

  .mega-solutions-exact .mega-solutions__cta .mega-diagnostic-btn {
    margin-top: 26px;
    white-space: normal;
  }

  .mega-solutions__cta-proofs {
    position: static;
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 28px;
    padding: 18px 10px 4px;
    border-radius: 0;
  }

  .mega-solutions__cta-proofs > span {
    grid-template-columns: 24px 1fr;
  }

  .mega-solutions__cta-proofs b {
    font-size: 10px;
  }

  .mega-solutions__compliance {
    grid-template-columns: 42px minmax(0, 1fr) 16px;
    min-height: 0;
    padding: 14px;
  }

  .mega-solutions__certifications {
    grid-column: 2 / -1;
    white-space: normal;
    line-height: 1.35;
  }

  .mega-solutions__compliance > .mega-arrow {
    grid-column: 3;
    grid-row: 1;
  }
}

/* Overlay Solutions injecté par nav-shell.js sous les topbars produit.
   Fixé au viewport (les topbars ont un backdrop-filter qui neutraliserait
   un position:fixed enfant) ; top/max-height recalculés par nav-shell.js. */
.cb-solutions-layer {
  position: fixed;
  top: 96px;
  left: 50%;
  z-index: 220;
  transform: translateX(-50%);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.cb-solutions-layer[hidden] { display: none; }
.cb-solutions-layer::before { display: none; }
@media (max-width: 1120px) {
  .cb-solutions-layer { display: none; }
}
