:root {
  --refonte-navy: #071936;
  --refonte-blue: #0a57f5;
  --refonte-blue-dark: #0647ca;
  --refonte-sky: #eaf2ff;
  --refonte-border: rgba(7, 25, 54, 0.12);
  --refonte-shadow: 0 24px 70px rgba(7, 25, 54, 0.12);
  --radius: 13px;
  --max: 1260px;
}

body {
  color: var(--refonte-navy);
  background: #fff;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.site-header {
  min-height: 76px;
  padding-block: 12px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(7, 25, 54, 0.08);
  box-shadow: 0 8px 28px rgba(7, 25, 54, 0.045);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 38px rgba(7, 25, 54, 0.09);
}

.site-logo {
  width: 174px;
}

.site-nav {
  gap: 20px;
  font-size: 0.88rem;
}

.site-nav a:not(.nav-cta) {
  color: #34435a;
}

.site-nav a:not(.nav-cta)::after {
  bottom: 0;
  background: var(--refonte-blue);
}

.nav-contact-link {
  border: 0;
  background: transparent;
}

.nav-cta {
  padding: 12px 17px;
  color: #fff;
  background: var(--refonte-blue);
  box-shadow: 0 12px 28px rgba(10, 87, 245, 0.2);
}

.nav-mega-item {
  display: flex;
  align-self: stretch;
  align-items: center;
}

.nav-mega-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 100%;
  padding: 8px 0;
  color: #34435a;
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: inherit;
  cursor: pointer;
}

.nav-mega-trigger::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--refonte-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
  content: "";
}

.nav-mega-trigger[aria-expanded="true"] {
  color: var(--refonte-blue);
}

.nav-mega-trigger[aria-expanded="true"]::after {
  transform: scaleX(1);
}

.nav-mega-chevron {
  display: block;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  opacity: 0.8;
  transform-origin: center;
  transition: transform 180ms ease;
}

.nav-mega-trigger[aria-expanded="true"] .nav-mega-chevron {
  transform: rotate(180deg);
}

.direction-icon {
  display: inline-block;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  vertical-align: -3px;
}

.text-link::after {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  background: currentColor;
  -webkit-mask: url('../assets/icons/arrow-right.svg') center / contain no-repeat;
  mask: url('../assets/icons/arrow-right.svg') center / contain no-repeat;
  content: "";
}

body.mega-open::before {
  position: fixed;
  z-index: 18;
  inset: 76px 0 0;
  background: rgba(5, 17, 37, 0.56);
  backdrop-filter: blur(3px);
  content: "";
}

.mega-menu {
  position: fixed;
  z-index: 26;
  top: 76px;
  left: 50%;
  width: min(1180px, calc(100vw - 40px));
  max-height: calc(100vh - 96px);
  padding: 28px;
  overflow: auto;
  color: var(--refonte-navy);
  border: 1px solid rgba(7, 25, 54, 0.12);
  border-radius: 0 0 16px 16px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(7, 25, 54, 0.22);
  transform: translateX(-50%);
}

.mega-layout {
  display: grid;
  gap: 28px;
}

.mega-layout--services {
  grid-template-columns: 240px 1fr 1fr;
}

.mega-intro {
  display: flex;
  flex-direction: column;
  margin: -28px 0 -28px -28px;
  padding: 34px 28px 28px;
  background: linear-gradient(145deg, #f4f8ff, #e9f2ff);
}

.mega-kicker {
  margin: 0 0 14px;
  color: #315b9b;
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.mega-intro h2,
.mega-solution-main > h2,
.mega-portal h2 {
  margin: 0;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.mega-intro h2 {
  font-size: 2.2rem;
}

.mega-intro > p:not(.mega-kicker) {
  margin: 16px 0 20px;
  color: #5d708d;
}

.mega-intro img {
  width: calc(100% + 56px);
  height: 210px;
  margin: auto -28px 20px;
  object-fit: cover;
}

.mega-intro > a {
  color: var(--refonte-blue);
  font-weight: 750;
}

.mega-column {
  min-width: 0;
}

.mega-column--it {
  padding-left: 20px;
  border-left: 1px solid var(--refonte-border);
}

.mega-column > h2 {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--refonte-border);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.mega-heading-icon {
  font-size: 1.3rem;
}

.mega-link {
  display: grid !important;
  grid-template-columns: 54px minmax(0, 1fr) 18px;
  gap: 14px;
  align-items: center;
  min-height: 76px;
  padding: 10px 12px !important;
  border-radius: 10px;
}

.mega-link::after {
  display: none !important;
}

.mega-link:hover,
.mega-link.is-highlighted {
  background: #eaf3ff;
}

.mega-link img,
.mega-service-icon {
  width: 54px;
  height: 54px;
  border-radius: 9px;
}

.mega-link img {
  object-fit: cover;
}

.mega-service-icon {
  display: grid;
  place-items: center;
  color: var(--refonte-navy);
  background: #f0f4f9;
  font-size: 1.5rem;
}

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

.mega-link strong {
  color: var(--refonte-navy);
  font-size: 0.93rem;
}

.mega-link small {
  margin-top: 2px;
  color: #63738b;
  font-size: 0.8rem;
}

.mega-link i {
  color: var(--refonte-blue);
  font-size: 1.4rem;
  font-style: normal;
}

.mega-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: 11px;
  background: #f3f6fa;
}

.mega-footer > span {
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 12px;
}

.mega-footer b {
  grid-row: 1 / span 2;
  align-self: center;
  font-size: 1.35rem;
}

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

.mega-footer small {
  color: #66768d;
}

.mega-footer > a {
  flex: 0 0 auto;
  padding: 12px 17px !important;
  color: var(--refonte-blue) !important;
  border: 1px solid var(--refonte-blue);
  border-radius: 9px;
  font-weight: 750;
}

.mega-footer > a::after {
  display: none !important;
}

.mega-layout--solutions {
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.82fr);
}

.mega-solution-main > h2 {
  font-size: 2rem;
}

.mega-solution-main > p:not(.mega-kicker) {
  max-width: 660px;
  margin: 10px 0 24px;
  color: #5b6f8d;
}

.mega-webapp-feature {
  display: grid !important;
  grid-template-columns: 92px minmax(0, 1fr) 24px;
  gap: 16px;
  align-items: center;
  margin: 0 0 14px;
  padding: 10px !important;
  color: var(--refonte-navy) !important;
  border: 1px solid rgba(10, 87, 245, 0.2);
  border-radius: 12px;
  background: linear-gradient(120deg, #eef5ff, #f7fbff);
}

.mega-webapp-feature::after {
  display: none !important;
}

.mega-webapp-feature:hover {
  border-color: rgba(10, 87, 245, 0.42);
  background: #e7f1ff;
}

.mega-webapp-feature img {
  width: 92px;
  height: 68px;
  object-fit: cover;
  border-radius: 8px;
}

.mega-webapp-feature small,
.mega-webapp-feature strong,
.mega-webapp-feature em {
  display: block;
}

.mega-webapp-feature small {
  margin-bottom: 3px;
  color: var(--refonte-blue);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.mega-webapp-feature strong {
  font-size: 0.98rem;
}

.mega-webapp-feature em {
  margin-top: 3px;
  color: #5e708b;
  font-size: 0.76rem;
  font-style: normal;
  line-height: 1.35;
}

.mega-webapp-feature > i {
  color: var(--refonte-blue);
  font-size: 1.45rem;
  font-style: normal;
}

.mega-solution-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.mega-solution-grid > a {
  position: relative;
  display: grid !important;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 4px 12px;
  min-height: 128px;
  padding: 16px !important;
  border: 1px solid var(--refonte-border);
  border-radius: 10px;
}

.mega-solution-grid > a::after {
  display: none !important;
}

.mega-solution-grid > a.is-highlighted,
.mega-solution-grid > a:hover {
  border-color: rgba(10, 87, 245, 0.28);
  background: #eaf3ff;
}

.mega-solution-grid b {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--refonte-blue);
  border-radius: 9px;
  background: #eef5ff;
  font-size: 1.3rem;
}

.mega-solution-grid strong {
  align-self: center;
  font-size: 0.91rem;
}

.mega-solution-grid span {
  grid-column: 1 / -1;
  color: #5e708b;
  font-size: 0.79rem;
  line-height: 1.4;
}

.mega-solution-grid i {
  position: absolute;
  top: 18px;
  right: 14px;
  color: var(--refonte-blue);
  font-size: 1.25rem;
  font-style: normal;
}

.mega-portal {
  padding: 28px;
  color: #fff;
  border-radius: 12px;
  background: linear-gradient(145deg, #06152d, #0b244b);
}

.mega-portal > p {
  display: inline-flex;
  margin: 0 0 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--refonte-blue);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.mega-portal h2 {
  font-size: 2rem;
}

.mega-portal > span {
  display: block;
  margin: 12px 0 18px;
  color: #d4e2f7;
}

.mega-portal img {
  width: 100%;
  max-height: 230px;
  padding: 12px;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
}

.mega-portal > a {
  display: flex !important;
  justify-content: space-between;
  margin-top: 16px;
  padding: 13px 16px !important;
  color: var(--refonte-navy) !important;
  border-radius: 8px;
  background: #fff;
  font-weight: 750;
}

.mega-portal > a::after {
  display: none !important;
}

@media (max-width: 900px) {
  body.mega-open::before {
    display: none;
  }

  .nav-mega-item {
    display: block;
    width: 100%;
  }

  .nav-mega-trigger {
    justify-content: space-between;
    width: 100%;
    padding: 12px 0;
  }

  .mega-menu {
    position: static;
    width: 100%;
    max-height: none;
    padding: 14px;
    border-radius: 12px;
    box-shadow: none;
    transform: none;
  }

  .mega-layout--services,
  .mega-layout--solutions {
    grid-template-columns: 1fr;
  }

  .mega-intro {
    display: none;
  }

  .mega-column--it {
    padding: 0;
    border: 0;
  }

  .mega-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .mega-footer > a {
    text-align: center;
  }

  .mega-portal {
    padding: 20px;
  }
}

@media (max-width: 560px) {
  .mega-webapp-feature {
    grid-template-columns: 66px minmax(0, 1fr) 18px;
    gap: 11px;
  }

  .mega-webapp-feature img {
    width: 66px;
    height: 58px;
  }

  .mega-webapp-feature em {
    display: none;
  }

  .mega-solution-grid {
    grid-template-columns: 1fr;
  }
}

.hero-refonte {
  position: relative;
  isolation: isolate;
  min-height: clamp(600px, 72vh, 760px);
  padding: 0;
  overflow: hidden;
  border-bottom: 0;
  background: #edf4ff;
}

.hero-refonte__media,
.hero-refonte__veil {
  position: absolute;
  inset: 0;
}

.hero-refonte__media img,
.hero-refonte__media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-refonte__media video {
  z-index: 1;
  opacity: 0;
  transition: opacity 500ms ease;
}

.hero-refonte.video-ready .hero-refonte__media video {
  opacity: 1;
}

.hero-refonte__veil {
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 255, 255, 0.96) 27%, rgba(255, 255, 255, 0.64) 46%, rgba(255, 255, 255, 0.03) 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(7, 25, 54, 0.03));
  pointer-events: none;
}

.hero-refonte__content {
  position: relative;
  z-index: 3;
  display: flex;
  min-height: inherit;
  max-width: 1260px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-top: 46px;
  padding-bottom: 42px;
}

.hero-refonte .eyebrow {
  margin-bottom: 18px;
  color: #315b9b;
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero-refonte h1 {
  max-width: 690px;
  margin: 0;
  color: var(--refonte-navy);
  font-size: clamp(3.4rem, 6vw, 6.3rem);
  font-weight: 780;
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.hero-refonte h1 span {
  display: block;
  color: var(--refonte-blue);
}

.hero-refonte .hero-text {
  max-width: 620px;
  margin: 26px 0 0;
  color: #52647f;
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  line-height: 1.48;
}

.hero-refonte .hero-actions {
  margin-top: 30px;
  gap: 13px;
}

.hero-refonte .btn {
  min-height: 52px;
  padding: 14px 20px;
  border-radius: 9px;
}

.hero-refonte .btn-primary {
  background: var(--refonte-blue);
  box-shadow: 0 16px 35px rgba(10, 87, 245, 0.23);
}

.hero-refonte .btn-primary:hover,
.hero-refonte .btn-primary:focus-visible {
  background: var(--refonte-blue-dark);
}

.hero-refonte .btn-secondary {
  color: #174b9d;
  background: rgba(255, 255, 255, 0.62);
  border-color: rgba(10, 87, 245, 0.26);
  backdrop-filter: blur(12px);
}

.hero-refonte__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 30px 0 0;
  padding: 0;
  color: #73829a;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.18em;
  list-style: none;
  text-transform: uppercase;
}

.hero-refonte__contact {
  margin: 19px 0 0;
  color: #61718a;
  font-size: 0.86rem;
}

.hero-refonte__contact a {
  color: #174b9d;
  font-weight: 720;
}

.hero-refonte__trust li {
  display: flex;
  align-items: center;
}

.hero-refonte__trust li:not(:last-child)::after {
  width: 22px;
  height: 1px;
  margin: 0 13px;
  background: rgba(49, 91, 155, 0.35);
  content: "";
}

.refonte-proof {
  position: relative;
  z-index: 5;
  background: #fff;
  border-bottom: 1px solid var(--refonte-border);
  box-shadow: 0 18px 50px rgba(7, 25, 54, 0.055);
}

.refonte-proof__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.refonte-proof__grid--four {
  grid-template-columns: repeat(4, 1fr);
}

.refonte-proof p {
  min-width: 0;
  margin: 0;
  padding: 25px 34px;
}

.refonte-proof p + p {
  border-left: 1px solid var(--refonte-border);
}

.refonte-proof strong,
.refonte-proof span {
  display: block;
}

.refonte-proof strong {
  margin-bottom: 3px;
  color: var(--refonte-navy);
  font-size: 0.97rem;
}

.refonte-proof span {
  color: #64748b;
  font-size: 0.82rem;
}

.gateway-section {
  position: relative;
  z-index: 6;
  padding: 22px 0 34px;
  background: linear-gradient(180deg, #fff, #f8fbff);
  border-bottom: 1px solid var(--refonte-border);
}

.gateway-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.gateway-card {
  position: relative;
  min-width: 0;
  padding: 10px;
  overflow: hidden;
  border: 1px solid var(--refonte-border);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(7, 25, 54, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.gateway-grid::-webkit-scrollbar {
  display: none;
}

.gateway-card:hover,
.gateway-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(10, 87, 245, 0.3);
  box-shadow: 0 20px 48px rgba(7, 25, 54, 0.12);
}

.gateway-card > img {
  width: 100%;
  height: 128px;
  object-fit: cover;
  border-radius: 10px;
}

.gateway-card__body {
  position: relative;
  display: grid;
  min-height: 104px;
  padding: 15px 42px 8px 6px;
}

.gateway-card__body strong,
.gateway-card__body small {
  display: block;
}

.gateway-card__body strong {
  color: var(--refonte-navy);
  font-size: 1rem;
}

.gateway-card__body small {
  margin-top: 5px;
  color: #66758c;
  font-size: 0.78rem;
  line-height: 1.45;
}

.gateway-card__body i {
  position: absolute;
  top: 17px;
  right: 4px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--refonte-blue);
  border-radius: 50%;
  background: #edf3ff;
  font-size: 1.1rem;
  font-style: normal;
}

.region-showcase {
  position: relative;
  min-height: 350px;
  overflow: hidden;
  background: #f7fbff;
  border-bottom: 1px solid var(--refonte-border);
}

.region-showcase__background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.region-showcase__video {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 500ms ease;
}

.region-showcase.video-ready .region-showcase__video {
  opacity: 1;
}

.region-showcase::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 43%, rgba(255, 255, 255, 0.26) 68%, rgba(255, 255, 255, 0.02) 100%);
  content: "";
}

.region-showcase__content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 260px minmax(0, 530px);
  gap: 50px;
  align-items: center;
  min-height: 350px;
}

.region-showcase__map {
  display: grid;
  align-content: center;
  padding: 22px;
  color: #163968;
  border: 1px solid rgba(10, 87, 245, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 50px rgba(7, 25, 54, 0.08);
  backdrop-filter: blur(12px);
}

.region-showcase__map svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.region-showcase__map .region-route {
  fill: none;
  stroke: rgba(10, 87, 245, 0.24);
  stroke-width: 2;
  stroke-dasharray: 5 6;
}

.region-showcase__map .region-node {
  fill: #0a57f5;
  stroke: #fff;
  stroke-width: 3;
  filter: drop-shadow(0 3px 5px rgba(10, 87, 245, 0.2));
}

.region-showcase__map .region-node--main {
  fill: #071936;
  stroke-width: 4;
}

.region-showcase__map .region-city {
  fill: #31557f;
  font: 600 11px/1.2 Inter, system-ui, sans-serif;
}

.region-showcase__map .region-city--main {
  fill: #071936;
  font-size: 14px;
  font-weight: 800;
}

.region-showcase__zone-title,
.region-showcase__zone-note {
  margin: 0;
}

.region-showcase__zone-title {
  color: #071936;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.region-showcase__zone-note {
  color: #24456f;
  font-size: 0.76rem;
  line-height: 1.5;
}

.region-showcase__copy .eyebrow {
  margin-bottom: 8px;
  color: #315b9b;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.region-showcase__copy h2 {
  margin: 0;
  color: var(--refonte-navy);
  font-size: clamp(2.7rem, 5vw, 4.7rem);
  line-height: 0.97;
  letter-spacing: -0.055em;
}

.region-showcase__copy h2 span {
  color: var(--refonte-blue);
}

.region-showcase__copy > p:not(.eyebrow) {
  max-width: 520px;
  margin: 20px 0;
  color: #586b85;
}

.region-showcase__copy .text-link {
  display: inline-flex;
  color: #114da8;
  border-color: rgba(10, 87, 245, 0.2);
  background: rgba(255, 255, 255, 0.76);
}

.section {
  padding-block: 88px;
}

.section-muted {
  background: #f6f9fd;
}

.section-heading h2 {
  max-width: 860px;
  color: var(--refonte-navy);
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.offer-card,
.service-card,
.solution-showcase,
.values-panel {
  border-color: var(--refonte-border);
  border-radius: 18px;
  box-shadow: 0 16px 48px rgba(7, 25, 54, 0.07);
}

.offer-card:hover,
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--refonte-shadow);
}

.offer-card__media,
.service-card__media {
  border-radius: 13px;
}

.btn {
  border-radius: 9px;
}

.cta-band {
  background: linear-gradient(120deg, #061833, #0a3d94 65%, #0a57f5);
}

@media (max-width: 1020px) {
  .hero-refonte {
    min-height: 680px;
  }

  .hero-refonte__veil {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 45%, rgba(255, 255, 255, 0.2) 82%);
  }

  .hero-refonte h1 {
    max-width: 590px;
  }

  .gateway-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .refonte-proof__grid--four {
    grid-template-columns: repeat(2, 1fr);
  }

  .refonte-proof__grid--four p:nth-child(3) {
    border-top: 1px solid var(--refonte-border);
    border-left: 0;
  }

  .refonte-proof__grid--four p:nth-child(4) {
    border-top: 1px solid var(--refonte-border);
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 68px;
  }

  .site-logo {
    width: 152px;
  }

  .hero-refonte {
    min-height: 720px;
  }

  .hero-refonte__media img,
  .hero-refonte__media video {
    object-position: 67% center;
  }

  .hero-refonte__veil {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 255, 255, 0.94) 54%, rgba(255, 255, 255, 0.2) 86%),
      linear-gradient(90deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.05));
  }

  .hero-refonte__content {
    justify-content: flex-start;
    padding-top: 72px;
  }

  .hero-refonte h1 {
    max-width: 520px;
    font-size: clamp(3rem, 14vw, 4.7rem);
  }

  .hero-refonte .hero-text {
    max-width: 510px;
    font-size: 1.06rem;
  }

  .hero-refonte .hero-actions {
    align-items: stretch;
    width: 100%;
  }

  .hero-refonte .btn {
    justify-content: center;
  }

  .hero-refonte__trust {
    gap: 9px 0;
    max-width: 340px;
  }

  .refonte-proof__grid {
    grid-template-columns: 1fr;
  }

  .refonte-proof p {
    padding: 18px 20px;
  }

  .refonte-proof p + p {
    border-top: 1px solid var(--refonte-border);
    border-left: 0;
  }

  .gateway-grid {
    display: flex;
    margin-right: -20px;
    padding-right: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .gateway-card {
    flex: 0 0 min(78vw, 290px);
    scroll-snap-align: start;
  }

  .region-showcase {
    min-height: 610px;
  }

  .region-showcase::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 255, 255, 0.92) 56%, rgba(255, 255, 255, 0.18) 88%);
  }

  .region-showcase__background {
    object-position: 67% bottom;
  }

  .region-showcase__video {
    object-position: 67% bottom;
  }

  .region-showcase__content {
    grid-template-columns: 1fr;
    gap: 18px;
    align-content: start;
    min-height: 610px;
    padding-top: 44px;
  }

  .region-showcase__map {
    order: 2;
    width: min(100%, 330px);
    max-width: none;
    padding: 16px;
  }

  .region-showcase__map svg {
    width: 100%;
  }

  .region-showcase__copy h2 {
    font-size: clamp(2.6rem, 13vw, 4rem);
  }

  .section {
    padding-block: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-mega-chevron {
    transition: none;
  }

  .hero-refonte__media video,
  .region-showcase__video {
    display: none;
  }
}

/* La refonte ne s'arrête pas à la bannière : l'ensemble des sections reprend
   la grille, les contrastes et le rythme éditorial de la direction choisie. */
main > .section {
  border-top: 1px solid rgba(7, 25, 54, 0.07);
}

main > .section:nth-of-type(3),
main > .section:nth-of-type(6),
main > .section:nth-of-type(8) {
  background:
    radial-gradient(circle at 92% 8%, rgba(10, 87, 245, 0.07), transparent 27%),
    #f6f9fd;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.45fr) minmax(0, 1fr);
  column-gap: clamp(36px, 7vw, 104px);
  max-width: none;
  margin-bottom: 52px;
  align-items: start;
}

.section-heading .eyebrow {
  grid-column: 1;
  padding-top: 9px;
  color: #315b9b;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
}

.section-heading h2,
.section-heading > p:not(.eyebrow) {
  grid-column: 2;
}

.section-heading h2 {
  margin-top: 0;
}

.section-heading > p:not(.eyebrow) {
  max-width: 720px;
  margin-top: 14px;
}

.offer-grid-four {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.offer-card {
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--refonte-border);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 16px 45px rgba(7, 25, 54, 0.065);
}

.offer-card::before {
  inset: 18px auto 18px 0;
  width: 3px;
  height: auto;
  border-radius: 0 3px 3px 0;
}

.offer-card-featured {
  border-color: rgba(10, 87, 245, 0.26);
  background: linear-gradient(145deg, #fff, #f4f8ff);
  box-shadow: 0 20px 58px rgba(10, 87, 245, 0.1);
}

.offer-card__media {
  margin: 0 0 5px;
  aspect-ratio: 16 / 8.4;
  border: 0;
  border-radius: 14px;
  background: #eff4fa;
}

.offer-card__media img {
  object-fit: cover;
  transition: transform 500ms ease;
}

.offer-card:hover .offer-card__media img {
  transform: scale(1.025);
}

.offer-card h2 {
  color: var(--refonte-navy);
  font-size: clamp(1.65rem, 2.5vw, 2.25rem);
}

.offer-summary {
  min-height: 0;
  color: #5e6d83;
}

.project-price {
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 0;
  padding: 0;
  overflow: hidden;
  border-color: var(--refonte-border);
  border-radius: 12px;
  background: #f8fbff;
}

.project-price__total,
.project-price__deposit,
.project-price__balance {
  display: grid;
  align-content: center;
  justify-content: start;
  min-height: 76px;
  margin: 0 !important;
  padding: 12px 14px !important;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.project-price__deposit,
.project-price__balance {
  border-left: 1px solid var(--refonte-border);
}

.project-price span {
  font-size: 0.68rem;
}

.project-price__total strong {
  font-size: 1.24rem;
}

.offer-tech,
.offer-timing {
  padding: 12px 14px;
  border-radius: 11px;
  background: #f7f9fc;
}

.offer-includes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
}

.offer-actions {
  grid-template-columns: 0.9fr 1.1fr;
  gap: 10px;
}

.offer-actions .btn {
  min-height: 54px;
  height: 54px;
  border-radius: 9px;
}

.section-note {
  margin: 30px 0 0;
  padding: 22px 26px;
  color: #5b6b82;
  border: 1px solid var(--refonte-border);
  border-radius: 14px;
  background: #f7faff;
  font-size: 0.88rem;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

/* La grille éditoriale générale est volontairement asymétrique. Dans le bloc
   tarifaire régional, une seule colonne évite cependant un grand vide inutile. */
#tarifs-sur-site .section-heading {
  display: block;
  max-width: 980px;
  margin-bottom: 38px;
}

#tarifs-sur-site .section-heading .eyebrow {
  padding-top: 0;
}

#tarifs-sur-site .section-heading h2,
#tarifs-sur-site .section-heading > p:not(.eyebrow) {
  max-width: 900px;
}

.service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.service-card--visual {
  display: grid;
  grid-template-columns: minmax(150px, 0.72fr) minmax(0, 1.28fr);
  grid-auto-rows: min-content;
  column-gap: 24px;
  min-height: 0;
  padding: 16px;
  border-radius: 18px;
  background: #fff;
}

.service-card--visual::before {
  display: none;
}

.service-card__media {
  grid-column: 1;
  grid-row: 1 / span 8;
  margin: 0;
  width: 100%;
  min-width: 0;
  height: 100%;
  min-height: 270px;
  border: 0;
  border-radius: 12px;
}

.service-card__media img {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.service-card--visual > :not(.service-card__media) {
  grid-column: 2;
}

.service-card--visual h3 {
  margin: 4px 0 10px;
  color: var(--refonte-navy);
  font-size: 1.45rem;
  line-height: 1.15;
}

.service-card--visual .offer-price {
  color: var(--refonte-blue);
  font-size: 1.3rem;
}

.faq-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.faq-list details {
  align-self: start;
  border-color: var(--refonte-border);
  border-radius: 14px;
  box-shadow: none;
}

.solution-showcase {
  grid-template-columns: minmax(360px, 1fr) minmax(0, 0.9fr);
  padding: 20px;
  color: #fff;
  border: 0;
  border-radius: 24px;
  background:
    radial-gradient(circle at 80% 20%, rgba(48, 128, 255, 0.35), transparent 38%),
    linear-gradient(135deg, #061731, #0a347d);
  box-shadow: 0 30px 80px rgba(7, 25, 54, 0.22);
}

.solution-showcase__media {
  border: 0;
  border-radius: 16px;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.25);
}

.solution-showcase__content {
  padding: clamp(18px, 4vw, 50px) clamp(14px, 3vw, 36px);
}

.solution-showcase__content h2,
.solution-showcase__content > p:not(.offer-type),
.solution-showcase__content .offer-tech,
.solution-showcase__content .offer-includes {
  color: #fff;
}

.solution-showcase .offer-type {
  color: #9fc3ff;
}

.solution-showcase .offer-tech {
  background: rgba(255, 255, 255, 0.08);
}

.solution-showcase .offer-includes li::before {
  color: #84b3ff;
}

.split-layout {
  gap: clamp(42px, 8vw, 110px);
}

.values-panel {
  padding: clamp(28px, 4vw, 48px);
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(145deg, #f2f7ff, #fff);
}

.values-panel::before {
  inset: 0 auto 0 0;
  width: 4px;
  height: auto;
  background: var(--refonte-blue);
}

.process-promise {
  margin-top: -18px;
  padding: 24px 28px;
  border: 0;
  border-left: 4px solid var(--refonte-blue);
  border-radius: 0 13px 13px 0;
  background: #f1f6ff;
  box-shadow: none;
}

.steps {
  gap: 16px;
}

.step {
  min-height: 240px;
  padding: 72px 24px 26px;
  overflow: hidden;
  border: 1px solid var(--refonte-border);
  border-radius: 17px;
  box-shadow: none;
}

.step::before {
  top: 18px;
  left: 22px;
  width: auto;
  height: auto;
  color: rgba(10, 87, 245, 0.2);
  border: 0;
  background: transparent;
  box-shadow: none;
  font-size: 3.2rem;
  line-height: 1;
}

.step:not(:last-child)::after {
  display: none;
}

.process-trust {
  gap: 12px;
}

.process-trust li {
  border-color: var(--refonte-border);
  border-radius: 10px;
  background: #fff;
}

.site-footer {
  padding-block: 60px;
  background: #06142c;
}

@media (max-width: 980px) {
  .section-heading {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .section-heading .eyebrow,
  .section-heading h2,
  .section-heading > p:not(.eyebrow) {
    grid-column: 1;
  }

  .offer-grid-four,
  .service-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .offer-card {
    padding: 13px;
    border-radius: 16px;
  }

  .project-price {
    grid-template-columns: 1fr;
  }

  .project-price__deposit,
  .project-price__balance {
    border-top: 1px solid var(--refonte-border);
    border-left: 0;
  }

  .offer-includes,
  .offer-actions,
  .faq-list {
    grid-template-columns: 1fr;
  }

  .service-card--visual {
    grid-template-columns: 1fr;
  }

  .service-card__media {
    grid-row: auto;
    min-height: 220px;
  }

  .service-card--visual > :not(.service-card__media) {
    grid-column: 1;
  }

  .solution-showcase {
    grid-template-columns: 1fr;
    border-radius: 18px;
  }
}

/* Solutions métier : cartes éditoriales développables. */
.small-webapps {
  background: #fff;
}

.small-webapps__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(42px, 7vw, 92px);
  align-items: center;
}

.small-webapps__copy h2,
.nord-proximity__content h2 {
  margin: 8px 0 20px;
  color: var(--refonte-navy);
  font-size: clamp(2.15rem, 4vw, 3.75rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.small-webapps__copy > p:not(.eyebrow) {
  color: #566a85;
  font-size: 1.08rem;
  line-height: 1.75;
}

.small-webapps__visual {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid rgba(10, 87, 245, 0.15);
  border-radius: 26px;
  background:
    radial-gradient(circle at 84% 16%, rgba(10, 87, 245, 0.2), transparent 31%),
    linear-gradient(145deg, #f8fbff, #eaf2ff);
  box-shadow: 0 28px 75px rgba(7, 25, 54, 0.13);
}

.small-webapps__visual::before {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(10, 87, 245, 0.13) 1px, transparent 1px);
  background-size: 17px 17px;
  mask-image: linear-gradient(140deg, #000, transparent 70%);
  content: "";
}

.small-webapps__visual img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 17px;
}

.small-webapps__visual figcaption {
  position: absolute;
  z-index: 2;
  right: clamp(24px, 4vw, 46px);
  bottom: clamp(24px, 4vw, 46px);
  left: clamp(24px, 4vw, 46px);
  display: flex;
  gap: 7px;
  flex-direction: column;
  margin: 0;
  padding: 13px 17px;
  color: #fff;
  border-radius: 14px;
  background: var(--refonte-navy);
}

.small-webapps__visual figcaption span {
  color: #b9c9df;
  font-size: 0.88rem;
}

.solution-capabilities {
  position: relative;
  overflow: clip;
}

.solution-capabilities::before {
  position: absolute;
  top: 0;
  right: -180px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(10, 87, 245, 0.055);
  content: "";
}

.solution-card-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.solution-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(7, 25, 54, 0.12);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(7, 25, 54, 0.055);
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.solution-card:hover {
  border-color: rgba(10, 87, 245, 0.32);
  box-shadow: 0 20px 52px rgba(7, 25, 54, 0.1);
  transform: translateY(-3px);
}

.solution-card.is-expanded {
  grid-column: 1 / -1;
  justify-self: center;
  width: min(100%, 980px);
  border-color: rgba(10, 87, 245, 0.45);
  background: linear-gradient(145deg, #fff 10%, #f2f7ff 100%);
  box-shadow: 0 28px 75px rgba(10, 87, 245, 0.16);
  transform: none;
}

.solution-card__trigger {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) 38px;
  gap: 17px;
  align-items: center;
  width: 100%;
  min-height: 154px;
  padding: 23px;
  color: inherit;
  text-align: left;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.solution-card__trigger:focus-visible {
  outline: 3px solid rgba(10, 87, 245, 0.32);
  outline-offset: -4px;
}

.solution-card__icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  color: var(--refonte-blue);
  border-radius: 16px;
  background: #edf4ff;
  font-size: 1.55rem;
  font-weight: 800;
}

.solution-card__trigger > span:nth-child(2) {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.solution-card__trigger small {
  margin-bottom: 4px;
  color: #55739c;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.solution-card__trigger strong {
  color: var(--refonte-navy);
  font-size: clamp(1.18rem, 2vw, 1.48rem);
  line-height: 1.15;
}

.solution-card__trigger em {
  margin-top: 8px;
  color: #5d6f87;
  font-size: 0.92rem;
  font-style: normal;
  line-height: 1.5;
}

.solution-card__trigger > i {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--refonte-blue);
  border: 1px solid rgba(10, 87, 245, 0.18);
  border-radius: 50%;
  background: #f6f9ff;
  font-size: 1.35rem;
  font-style: normal;
  transition: transform 220ms ease, color 220ms ease, background 220ms ease;
}

.solution-card.is-expanded .solution-card__trigger > i {
  color: #fff;
  background: var(--refonte-blue);
  transform: rotate(45deg);
}

.solution-card__details {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: clamp(24px, 4vw, 50px);
  padding: 2px 28px 30px 107px;
  animation: solution-details-in 260ms ease both;
}

.solution-card__details[hidden] {
  display: none;
}

.solution-card__details h3 {
  margin: 0 0 9px;
  color: var(--refonte-navy);
  font-size: 1.2rem;
}

.solution-card__details p,
.solution-card__details li {
  color: #596d87;
  line-height: 1.65;
}

.solution-card__details ul {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.solution-card__details li {
  position: relative;
  padding-left: 23px;
}

.solution-card__details li::before {
  position: absolute;
  left: 0;
  color: var(--refonte-blue);
  font-weight: 900;
  content: "✓";
}

.solution-card__details aside {
  align-self: start;
  padding: 22px;
  color: #fff;
  border-radius: 16px;
  background: var(--refonte-navy);
}

.solution-card__details aside span,
.solution-card__details aside strong {
  display: block;
}

.solution-card__details aside span {
  margin-bottom: 9px;
  color: #76a7ff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.solution-card__details aside strong {
  font-size: 1rem;
  line-height: 1.45;
}

.solution-card__details aside p {
  margin: 12px 0 0;
  color: #b8c7da;
  font-size: 0.84rem;
}

@keyframes solution-details-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Page régionale : composition inspirée des maquettes HDF-IT. */
.nord-hero {
  padding-block: clamp(58px, 7vw, 96px);
}

.nord-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(480px, 1.14fr);
  gap: clamp(38px, 6vw, 82px);
  align-items: center;
}

.nord-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.nord-hero__chips li {
  padding: 8px 12px;
  color: #31557f;
  border: 1px solid rgba(10, 87, 245, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  font-size: 0.78rem;
  font-weight: 750;
}

.nord-hero__visual {
  position: relative;
  min-height: 510px;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(10, 87, 245, 0.16);
  border-radius: 28px;
  background: #dfeafb;
  box-shadow: 0 35px 90px rgba(7, 25, 54, 0.18);
}

.nord-hero__visual > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nord-hero__visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(5, 21, 45, 0.42));
  content: "";
}

.nord-location-card {
  position: absolute;
  z-index: 1;
  right: 22px;
  bottom: 22px;
  left: 22px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 17px 19px;
  color: var(--refonte-navy);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 45px rgba(7, 25, 54, 0.18);
  backdrop-filter: blur(14px);
}

.nord-location-card__pin {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #fff;
  border-radius: 50% 50% 50% 10px;
  background: var(--refonte-blue);
  transform: rotate(-45deg);
}

.nord-location-card__pin::first-letter {
  transform: rotate(45deg);
}

.nord-location-card > span:last-child {
  display: flex;
  flex-direction: column;
}

.nord-location-card small,
.nord-location-card em {
  color: #5a708d;
  font-size: 0.76rem;
  font-style: normal;
}

.nord-location-card strong {
  margin: 2px 0;
  font-size: 1.04rem;
}

.nord-proof {
  color: #fff;
  background: var(--refonte-navy);
}

.nord-proof__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.nord-proof__grid p {
  display: flex;
  min-height: 112px;
  margin: 0;
  padding: 25px clamp(18px, 3vw, 42px);
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid rgba(255, 255, 255, 0.13);
}

.nord-proof__grid p:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.13);
}

.nord-proof__grid strong {
  font-size: 1.02rem;
}

.nord-proof__grid span {
  margin-top: 4px;
  color: #aebed2;
  font-size: 0.82rem;
}

.nord-services__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.nord-service-card {
  display: grid;
  grid-template-columns: minmax(170px, 0.8fr) minmax(0, 1.2fr);
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--refonte-border);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 16px 48px rgba(7, 25, 54, 0.07);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.nord-service-card:hover {
  box-shadow: 0 25px 60px rgba(7, 25, 54, 0.13);
  transform: translateY(-4px);
}

.nord-service-card figure {
  min-height: 285px;
  margin: 0;
  background: #eef4ff;
}

.nord-service-card figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nord-service-card div {
  display: flex;
  min-width: 0;
  padding: 27px;
  flex-direction: column;
  align-items: flex-start;
}

.nord-service-card div > span {
  color: var(--refonte-blue);
  font-size: 0.69rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nord-service-card h3 {
  margin: 10px 0;
  color: var(--refonte-navy);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.12;
}

.nord-service-card p {
  margin: 0 0 18px;
  color: #5a6e88;
  line-height: 1.62;
}

.nord-service-card .text-link {
  margin-top: auto;
}

.nord-proximity__grid {
  display: grid;
  grid-template-columns: minmax(380px, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(42px, 7vw, 88px);
  align-items: center;
}

.nord-proximity__illustration {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  margin: 0;
  border-radius: 26px;
  background: #dfeafa;
  box-shadow: 0 28px 72px rgba(7, 25, 54, 0.15);
}

.nord-proximity__illustration img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nord-proximity__illustration figcaption {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  padding: 16px 18px;
  color: #fff;
  border-radius: 13px;
  background: rgba(7, 25, 54, 0.88);
  backdrop-filter: blur(10px);
}

.nord-proximity__content > p:not(.eyebrow) {
  color: #566a85;
  font-size: 1.04rem;
  line-height: 1.72;
}

.nord-mini-map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 28px 0;
  padding-top: 24px;
}

.nord-mini-map__route {
  position: absolute;
  top: 10px;
  right: 8%;
  left: 8%;
  height: 2px;
  background: linear-gradient(90deg, #8db4ff, var(--refonte-blue), #8db4ff);
}

.nord-mini-map p {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: 15px 8px 12px;
  text-align: center;
  border: 1px solid rgba(10, 87, 245, 0.13);
  border-radius: 12px;
  background: #fff;
}

.nord-mini-map p::before {
  position: absolute;
  top: -20px;
  left: 50%;
  width: 11px;
  height: 11px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--refonte-blue);
  box-shadow: 0 0 0 2px rgba(10, 87, 245, 0.25);
  content: "";
  transform: translateX(-50%);
}

.nord-mini-map p.is-roncq {
  color: #fff;
  background: var(--refonte-navy);
}

.nord-mini-map strong,
.nord-mini-map small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nord-mini-map strong {
  font-size: 0.78rem;
}

.nord-mini-map small {
  margin-top: 3px;
  color: #708199;
  font-size: 0.65rem;
}

.nord-mini-map .is-lille small {
  color: #b8c9df;
}

.nord-mini-map p.is-lille {
  color: #fff;
  background: var(--refonte-navy);
}

.solutions-hero-media {
  display: grid;
  place-items: center;
  padding: 0;
  background: #e8f1ff;
  transform: none;
}

.page-hero-media.solutions-hero-media img {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 0;
}

.mega-portal img {
  display: block;
  height: auto;
  max-height: none;
  padding: 0;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: #eaf2fc;
}

/* Grande bannière image de la page Hauts-de-France. */
.nord-image-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: clamp(600px, 74vh, 780px);
  overflow: hidden;
  align-items: stretch;
  color: #fff;
  background: #122b50;
}

.nord-image-hero__image,
.nord-image-hero__veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.nord-image-hero__image {
  z-index: -2;
  object-fit: cover;
  object-position: center;
}

.nord-image-hero__veil {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(4, 17, 38, 0.93) 0%, rgba(4, 17, 38, 0.78) 41%, rgba(4, 17, 38, 0.18) 72%, rgba(4, 17, 38, 0.08) 100%),
    linear-gradient(180deg, rgba(4, 17, 38, 0.1) 58%, rgba(4, 17, 38, 0.76) 100%);
}

.nord-image-hero__content {
  display: flex;
  width: 100%;
  padding-block: clamp(80px, 10vw, 134px) 150px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.nord-image-hero__content .eyebrow {
  color: #a9c7ff;
}

.nord-image-hero__content h1 {
  max-width: 780px;
  margin: 12px 0 22px;
  color: #fff;
  font-size: clamp(3rem, 6.4vw, 6.3rem);
  line-height: 0.94;
  letter-spacing: -0.065em;
  text-shadow: 0 12px 42px rgba(0, 0, 0, 0.22);
}

.nord-image-hero__content > p:not(.eyebrow) {
  max-width: 680px;
  margin: 0;
  color: #e2ebf7;
  font-size: clamp(1rem, 1.55vw, 1.22rem);
  line-height: 1.72;
}

.nord-image-hero__content .hero-actions {
  margin-top: 30px;
}

.nord-image-hero__content .btn-light {
  color: var(--refonte-navy);
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.92);
}

.nord-image-hero__services {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(4, 17, 38, 0.78);
  backdrop-filter: blur(13px);
}

.nord-image-hero__services .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.nord-image-hero__services span {
  position: relative;
  display: flex;
  min-height: 88px;
  padding: 22px 24px 22px 42px;
  align-items: center;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.84rem;
  font-weight: 780;
}

.nord-image-hero__services span:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.nord-image-hero__services span::before {
  position: absolute;
  left: 23px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6fa2ff;
  box-shadow: 0 0 0 5px rgba(111, 162, 255, 0.12);
  content: "";
}

@media (max-width: 1050px) {
  .small-webapps__grid,
  .nord-hero__grid,
  .nord-proximity__grid {
    grid-template-columns: 1fr;
  }

  .small-webapps__grid,
  .nord-proximity__grid {
    gap: 42px;
  }

  .nord-hero__visual {
    min-height: 470px;
  }

  .nord-services__grid {
    grid-template-columns: 1fr;
  }

  .nord-proximity__illustration {
    min-height: 500px;
  }
}

@media (max-width: 720px) {
  .solution-card-grid {
    grid-template-columns: 1fr;
  }

  .solution-card.is-expanded {
    grid-column: auto;
  }

  .solution-card__trigger {
    grid-template-columns: 48px minmax(0, 1fr) 32px;
    gap: 12px;
    min-height: 132px;
    padding: 18px 16px;
  }

  .solution-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 13px;
    font-size: 1.25rem;
  }

  .solution-card__trigger em {
    font-size: 0.82rem;
  }

  .solution-card__trigger > i {
    width: 31px;
    height: 31px;
  }

  .solution-card__details {
    grid-template-columns: 1fr;
    padding: 0 18px 20px;
  }

  .small-webapps__visual {
    padding: 14px;
    border-radius: 20px;
  }

  .small-webapps__visual img {
    height: auto;
  }

  .nord-hero__visual {
    min-height: 380px;
    border-radius: 20px;
  }

  .nord-image-hero {
    min-height: 720px;
  }

  .nord-image-hero__image {
    object-position: 62% center;
  }

  .nord-image-hero__veil {
    background: linear-gradient(180deg, rgba(4, 17, 38, 0.6), rgba(4, 17, 38, 0.8));
  }

  .nord-image-hero__content {
    padding-block: 72px 205px;
  }

  .nord-image-hero__content h1 {
    font-size: clamp(2.55rem, 10vw, 4rem);
  }

  .nord-image-hero__services .container {
    grid-template-columns: repeat(2, 1fr);
  }

  .nord-image-hero__services span {
    min-height: 64px;
    padding: 15px 12px 15px 30px;
    font-size: 0.72rem;
  }

  .nord-image-hero__services span::before {
    left: 14px;
    width: 6px;
    height: 6px;
  }

  .small-webapps__visual figcaption {
    right: 22px;
    bottom: 22px;
    left: 22px;
  }


  .nord-location-card {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }

  .nord-proof__grid {
    grid-template-columns: 1fr;
  }

  .nord-proof__grid p,
  .nord-proof__grid p:last-child {
    min-height: 82px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 0;
  }

  .nord-service-card {
    grid-template-columns: 1fr;
  }

  .nord-service-card figure {
    min-height: 220px;
    max-height: 260px;
  }

  .nord-proximity__illustration {
    min-height: 390px;
  }

  .nord-mini-map {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-top: 0;
  }

  .nord-mini-map__route {
    display: none;
  }

  .nord-mini-map p {
    padding-top: 16px;
    text-align: left;
  }

  .nord-mini-map p::before {
    top: 16px;
    right: 12px;
    left: auto;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .solution-card__details {
    animation: none;
  }
}

/* Direction premium partagée par toutes les pages publiques. Les sélecteurs
   restent purement visuels : aucun champ, attribut métier ou comportement
   Stripe/formulaire n'est modifié. */
html {
  scroll-padding-top: 104px;
}

[id] {
  scroll-margin-top: 104px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(74px, 9vw, 126px);
  background:
    radial-gradient(circle at 86% 16%, rgba(10, 87, 245, 0.14), transparent 30%),
    linear-gradient(145deg, #f8fbff 0%, #eef5ff 56%, #fff 100%);
  border-bottom: 1px solid var(--refonte-border);
}

.page-hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10, 87, 245, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 87, 245, 0.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(90deg, transparent, #000 42%, #000);
  pointer-events: none;
  content: "";
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero-grid {
  gap: clamp(42px, 7vw, 96px);
}

.page-hero-copy {
  max-width: 720px;
}

.page-hero-copy h1,
.compact-hero h1 {
  max-width: 900px;
  margin-block: 12px 22px;
  color: var(--refonte-navy);
  font-size: clamp(2.65rem, 5.6vw, 5.15rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.page-hero-copy > p:not(.eyebrow),
.compact-hero .container > p {
  max-width: 720px;
  color: #566a85;
  font-size: clamp(1rem, 1.55vw, 1.2rem);
  line-height: 1.72;
}

.page-hero-media,
.legal-hero-card {
  overflow: hidden;
  border: 1px solid rgba(10, 87, 245, 0.16);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(7, 25, 54, 0.16);
  transform: rotate(1deg);
}

.page-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.legal-section .container,
.legal-grid {
  gap: 18px;
}

.legal-block {
  padding: clamp(24px, 4vw, 42px);
  border-color: var(--refonte-border);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 15px 44px rgba(7, 25, 54, 0.055);
}

.legal-block::before {
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--refonte-blue), rgba(10, 87, 245, 0.1));
}

.legal-block h2 {
  color: var(--refonte-navy);
  letter-spacing: -0.025em;
}

.quote-form,
.contact-panel {
  border-color: var(--refonte-border);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 26px 70px rgba(7, 25, 54, 0.1);
}

.quote-form::before,
.contact-panel::before {
  height: 4px;
  background: linear-gradient(90deg, var(--refonte-blue), #6ba1ff);
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  border-color: rgba(7, 25, 54, 0.16);
  border-radius: 10px;
  background: #fbfdff;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--refonte-blue);
  box-shadow: 0 0 0 4px rgba(10, 87, 245, 0.1);
}

.service-grid-three .service-card,
.audience-card,
.local-service-card {
  border-color: var(--refonte-border);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(7, 25, 54, 0.06);
}

.service-grid-three .service-card {
  min-height: 0;
}

.service-grid-three .service-card:target {
  border-color: rgba(10, 87, 245, 0.48);
  background: linear-gradient(145deg, #fff, #edf4ff);
  box-shadow: 0 20px 55px rgba(10, 87, 245, 0.16);
}

.cta-band {
  background:
    radial-gradient(circle at 86% 15%, rgba(90, 155, 255, 0.35), transparent 32%),
    linear-gradient(135deg, #06142c, #0a347d);
}

@media (max-width: 900px) {
  .page-hero {
    padding-block: 58px 68px;
  }

  .page-hero-media,
  .legal-hero-card {
    transform: none;
  }

  .page-hero-media img {
    min-height: 230px;
  }
}

@media (max-width: 1100px) {
  .site-nav.is-open {
    max-height: calc(100dvh - 100px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}

@media (max-width: 680px) {
  html {
    scroll-padding-top: 78px;
  }

  [id] {
    scroll-margin-top: 78px;
  }

  .page-hero-copy h1,
  .compact-hero h1 {
    font-size: clamp(2.35rem, 12vw, 3.8rem);
  }

  .legal-block,
  .quote-form,
  .contact-panel {
    border-radius: 15px;
  }
}
