/* AKGlobal, page d'accueil (s'appuie sur ak.css) */

.hx-sec {
  padding: 84px 0;
  position: relative;
}
.hx-head {
  max-width: 680px;
  margin-bottom: 36px;
}
.hx-head h2 {
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.15;
  margin: 0 0 10px;
}
.hx-head p {
  color: var(--muted);
  margin: 0;
  font-size: 16.5px;
}
.hx-head .kicker-line {
  background: var(--red);
}
.hx-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  max-width: none;
}
.hx-head-row > div {
  max-width: 620px;
}
.hx-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  color: var(--royal);
  text-decoration: none;
  white-space: nowrap;
}
.hx-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s;
}
.hx-link:hover svg {
  transform: translateX(4px);
}

/* Expertise : 3 atouts */
.hx-intro {
  padding-top: 56px;
}
.hx-vals {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.hx-val {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 26px 24px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 20px 40px -34px rgba(16, 43, 78, 0.5);
  transition: transform 0.3s, box-shadow 0.3s;
}
.hx-val:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 50px -30px rgba(16, 43, 78, 0.55);
}
.hx-ic {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: rgba(33, 70, 139, 0.1);
  color: var(--royal);
}
.hx-ic svg {
  width: 22px;
  height: 22px;
}
.hx-val b {
  font-size: 17px;
  color: var(--navy);
}
.hx-val small {
  font-size: 14.5px;
  color: var(--muted);
}

/* Services : tuiles à icône, la description et le lien se révèlent au survol */
.hx-svcs {
  background: var(--tint);
}
.st-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 14px;
}
.st {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 26px 14px 22px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s,
    border-color 0.35s;
}
.st::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--navy), var(--royal));
  opacity: 0;
  transition: opacity 0.35s;
  z-index: -1;
}
.st-ic {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 6px;
  border-radius: 16px;
  background: rgba(33, 70, 139, 0.1);
  color: var(--royal);
  transition: background 0.35s, color 0.35s,
    transform 0.45s cubic-bezier(0.3, 1.5, 0.5, 1);
}
.st-ic svg {
  width: 26px;
  height: 26px;
}
.st b {
  font-size: 14.5px;
  line-height: 1.3;
  color: var(--navy);
  transition: color 0.35s;
}
.st small {
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--muted);
  transition: color 0.35s;
}
.st-go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--royal);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s, transform 0.35s, color 0.35s;
}
.st-go svg {
  width: 14px;
  height: 14px;
}
.st:hover,
.st:focus-visible {
  transform: translateY(-8px);
  border-color: transparent;
  box-shadow: 0 30px 50px -28px rgba(16, 43, 78, 0.75);
}
.st:hover::before,
.st:focus-visible::before {
  opacity: 1;
}
.st:hover .st-ic,
.st:focus-visible .st-ic {
  background: #fff;
  color: var(--navy);
  transform: rotate(-8deg) scale(1.06);
}
.st:hover b,
.st:focus-visible b {
  color: #fff;
}
.st:hover small,
.st:focus-visible small {
  color: #c3cfe0;
}
.st:hover .st-go,
.st:focus-visible .st-go {
  opacity: 1;
  transform: none;
  color: #fff;
}
.js .st-grid .st.rv {
  transition: opacity 0.6s ease calc(var(--k) * 70ms),
    translate 0.6s ease calc(var(--k) * 70ms),
    transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s,
    border-color 0.35s;
}

/* Projets : section bleu marine pleine largeur, cartes illustrées qui défilent */
.hx-projects {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--navy);
  color: #c3cfe0;
  padding: 80px 0 70px;
}
.hx-projects::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(
      circle at 100% 0%,
      rgba(33, 70, 139, 0.9),
      rgba(33, 70, 139, 0) 45%
    ),
    radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0/22px
      22px;
}
.pj-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 32px;
}
.pj-top .kicker-line {
  background: var(--green);
}
.pj-top h2 {
  color: #fff;
  font-size: clamp(26px, 2.8vw, 36px);
  margin: 0 0 8px;
}
.pj-top p {
  margin: 0;
  color: #9fb0c8;
}
.pj-nav {
  display: flex;
  gap: 10px;
}
.pj-nav button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}
.pj-nav button svg {
  width: 18px;
  height: 18px;
}
.pj-prev svg {
  transform: rotate(180deg);
}
.pj-nav button:hover {
  background: #fff;
  color: var(--navy);
}
.pc-viewport {
  overflow: hidden;
  margin: 0 -10px;
  padding: 10px;
}
.pc-track {
  display: flex;
  gap: 22px;
}
.pc {
  flex: 0 0 calc((100% - 44px) / 3);
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(159, 182, 221, 0.2);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.pc.leave {
  opacity: 0;
  transform: translateX(-30px) scale(0.96);
}
.pc.enter {
  animation: pcIn 0.6s ease both;
}
@keyframes pcIn {
  from {
    opacity: 0;
    transform: translateX(30px) scale(0.96);
  }
}
.pc-img {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.pc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.pc:hover .pc-img img {
  transform: scale(1.06);
}
.pc-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(16, 43, 78, 0) 45%,
    rgba(16, 43, 78, 0.75)
  );
}
.pc-co {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 1;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pc-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px 20px 22px;
}
.pc-body h3 {
  color: #fff;
  font-size: 18px;
  line-height: 1.3;
  margin: 0;
}
.pj-svcs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pj-svcs a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px 5px 5px;
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.25s;
}
.pj-svcs a:hover {
  transform: translateY(-2px);
}
.pj-svcs a span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
}
.pj-svcs a svg {
  width: 12px;
  height: 12px;
}
.pj-bottom {
  display: flex;
  justify-content: flex-end;
  margin-top: 26px;
}
.hx-link-light {
  color: #fff;
}

/* Ils nous font confiance : défilement continu des logos */
.hx-trust-left .hx-head {
  margin-left: 0 !important;
  text-align: left !important;
}
.hx-trust-left .kicker-line {
  margin-left: 0 !important;
}
.hx-trust-left .tr-note {
  text-align: left;
}
.hx-trust {
  padding-bottom: 64px;
}
.hx-trust .hx-head {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.hx-trust .kicker-line {
  margin-left: auto;
  margin-right: auto;
}
.tr-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 12%,
    #000 88%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 12%,
    #000 88%,
    transparent
  );
}
.tr-track {
  display: flex;
  gap: 22px;
  width: max-content;
  list-style: none;
  margin: 0;
  padding: 6px 0;
  animation: trMove 30s linear infinite;
}
.tr-marquee:hover .tr-track {
  animation-play-state: paused;
}
.tr-track li {
  display: grid;
  place-items: center;
  width: 220px;
  height: 100px;
  padding: 20px 26px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
}
.tr-track img {
  max-width: 100%;
  max-height: 50px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.7;
  transition: filter 0.3s, opacity 0.3s;
}
.tr-track li:hover img {
  filter: none;
  opacity: 1;
}
@keyframes trMove {
  to {
    transform: translateX(calc(-50% - 11px));
  }
}
.tr-note {
  margin-top: 18px;
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
}

/* Conseils : encarts promotionnels */
.hx-tips {
  background: var(--tint);
}
.tips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.tip {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 28px 26px 24px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.3s, box-shadow 0.3s;
}
.tip::after {
  content: "";
  position: absolute;
  right: -50px;
  top: -50px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(33, 70, 139, 0.06);
  transition: transform 0.5s;
}
.tip:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 50px -32px rgba(16, 43, 78, 0.55);
}
.tip:hover::after {
  transform: scale(1.4);
}
.tip-tag {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(232, 17, 45, 0.08);
  color: #c8102e;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.tip-tag svg {
  width: 14px;
  height: 14px;
}
.tip h3 {
  font-size: 19px;
  line-height: 1.3;
  margin: 16px 0 10px;
}
.tip p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 15px;
}
.tip a {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--royal);
  text-decoration: none;
}
.tip a svg {
  width: 15px;
  height: 15px;
  transition: transform 0.25s;
}
.tip:hover a svg {
  transform: translateX(4px);
}

@media (prefers-reduced-motion: reduce) {
  .tr-track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
    justify-content: center;
  }
  .tr-track li[aria-hidden] {
    display: none;
  }
  .pj,
  .st,
  .st-go,
  .tip {
    transition: none;
  }
}
@media (max-width: 1100px) {
  .st-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 960px) {
  .hx-sec {
    padding: 64px 0;
  }
  .hx-vals,
  .tips {
    grid-template-columns: 1fr;
  }
  .hx-head-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .pc {
    flex-basis: calc((100% - 22px) / 2);
  }
  .pj-top {
    flex-direction: column;
    align-items: flex-start; 
  }
  .st-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .st-go {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 560px) {
  .pc {
    flex-basis: 100%;
  }
  .tr-track li {
    width: 170px;
    height: 84px;
  }
}

/* En-tête de l'accueil : barre de navigation sur le bleu marine, comme la maquette */
.brand-white {
  display: none;
}
@media (min-width: 961px) {
  body.home .site-header {
    background: var(--navy);
    backdrop-filter: none;
    border-color: transparent;
  }
  body.home .site-header.scrolled {
    background: rgba(16, 43, 78, 0.97);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
  }
  body.home .brand img:not(.brand-white) {
    display: none;
  }
  body.home .brand .brand-white {
    display: block;
  }
  body.home .menu > li > a {
    color: #fff;
  }
  body.home .menu > li > a[aria-current] {
    color: #fff;
  }
  body.home .menu > li > a[aria-current]::after {
    background: #fff;
  }
  body.home .menu > li > a:hover {
    color: #cfe0ff;
  }
  body.home .sub-toggle {
    color: #c3cfe0;
  }
  body.home .lang a {
    color: #9fb0c8;
  }
  body.home .lang a[aria-current] {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
  }
  body.home .nav-end .btn-primary {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    box-shadow: none;
  }
  body.home .nav-end .btn-primary:hover {
    background: #fff;
    color: var(--navy);
  }
}

/* Projets en puzzle */
.pz-on .pc {
  transition: none;
}
.pz {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 1fr);
}
.pz i {
  background-size: 400% 300%;
  background-position: calc(var(--x) * 33.333%) calc(var(--y) * 50%);
  transition: transform 0.55s cubic-bezier(0.5, 0, 0.3, 1), opacity 0.5s ease;
  transition-delay: var(--d);
}
.pc.out .pz i {
  transform: translateY(-14px) rotate(14deg) scale(0.15);
  opacity: 0;
}
.pc-co,
.pc-body h3 {
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.pc.out .pc-co,
.pc.out .pc-body h3 {
  opacity: 0;
  transform: translateY(8px);
}
.pz-on .pc-img::after {
  z-index: 1;
  pointer-events: none;
}
.pz-on .pc-co {
  z-index: 2;
}
/* Bouton « voir plus » */
.pj-bottom {
  justify-content: center !important;
  margin-top: 34px !important;
}
.pj-more {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 8px 8px 8px 24px;
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 16px 34px -16px rgba(0, 0, 0, 0.6);
  transition: transform 0.25s;
}
.pj-more i {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  transition: transform 0.3s;
}
.pj-more i svg {
  width: 18px;
  height: 18px;
}
.pj-more:hover {
  transform: translateY(-2px);
}
.pj-more:hover i {
  transform: translateX(4px) rotate(-10deg);
}
@media (prefers-reduced-motion: reduce) {
  .pz i,
  .pc-co,
  .pc-body h3 {
    transition: none;
  }
}

/* ===== Services : grille « bento » ===== */
.sv-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(200px, auto);
  gap: 18px;
}
.sv-feat,
.sv-card,
.sv-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  text-decoration: none;
  color: inherit;
}
.sv-num {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #9aa7ba;
}
.sv-ic {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(33, 70, 139, 0.1);
  color: var(--royal);
  transition: background 0.35s, color 0.35s,
    transform 0.45s cubic-bezier(0.3, 1.5, 0.5, 1);
}
.sv-ic svg {
  width: 23px;
  height: 23px;
}
.sv-feat {
  grid-column: span 2;
  grid-row: span 2;
  padding: 32px;
  justify-content: flex-end;
  color: #fff;
  background: var(--navy);
}
.sv-feat img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.8s ease;
}
.sv-feat::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(16, 43, 78, 0.15),
    rgba(16, 43, 78, 0.92) 65%
  );
}
.sv-feat:hover img {
  transform: scale(1.06);
}
.sv-feat .sv-num {
  color: rgba(255, 255, 255, 0.75);
}
.sv-feat .sv-ic {
  background: #fff;
  color: var(--navy);
  margin-bottom: 16px;
}
.sv-feat h3 {
  color: #fff;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.2;
  margin: 0 0 10px;
}
.sv-feat p {
  margin: 0 0 18px;
  color: #d6dfeb;
  max-width: 440px;
}
.sv-go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14.5px;
}
.sv-go svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s;
}
.sv-feat:hover .sv-go svg,
.sv-cta:hover .sv-go svg {
  transform: translateX(4px);
}
.sv-card {
  padding: 24px 22px 22px;
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s,
    border-color 0.35s;
}
.sv-card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, var(--royal), var(--green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s;
}
.sv-card h3 {
  font-size: 16.5px;
  line-height: 1.3;
  margin: 16px 0 6px;
}
.sv-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  padding-right: 24px;
}
.sv-arrow {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--tint);
  color: var(--royal);
  transition: background 0.3s, color 0.3s, transform 0.3s;
}
.sv-arrow svg {
  width: 15px;
  height: 15px;
}
.sv-card:hover {
  transform: translateY(-6px);
  border-color: rgba(33, 70, 139, 0.25);
  box-shadow: 0 28px 50px -30px rgba(16, 43, 78, 0.6);
}
.sv-card:hover::after {
  transform: scaleX(1);
}
.sv-card:hover .sv-ic {
  background: var(--navy);
  color: #fff;
  transform: rotate(-8deg) scale(1.06);
}
.sv-card:hover .sv-arrow {
  background: var(--royal);
  color: #fff;
  transform: rotate(-45deg);
}
.sv-cta {
  grid-column: span 2;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  padding: 24px 26px;
  background: linear-gradient(120deg, var(--navy), var(--royal));
  color: #c3cfe0;
}
.sv-cta .sv-ic {
  background: #fff;
  color: var(--navy);
  flex: none;
}
.sv-cta div {
  flex: 1;
}
.sv-cta h3 {
  color: #fff;
  font-size: 18px;
  margin: 0 0 4px;
}
.sv-cta p {
  margin: 0;
  font-size: 14px;
}
.sv-cta .sv-go {
  color: #fff;
  white-space: nowrap;
}
.js .sv-bento .rv {
  transition: opacity 0.6s ease calc(var(--k, 0) * 80ms),
    translate 0.6s ease calc(var(--k, 0) * 80ms),
    transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s,
    border-color 0.35s;
}
@media (max-width: 1100px) {
  .sv-bento {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .sv-bento {
    grid-template-columns: 1fr;
  }
  .sv-feat,
  .sv-cta {
    grid-column: auto;
  }
  .sv-feat {
    grid-row: auto;
    min-height: 340px;
  }
  .sv-cta {
    flex-wrap: wrap;
  }
}

/* ===== Ils nous font confiance : logos en couleur, dans le conteneur, mis en avant tour à tour ===== */
.tr-logos {
  list-style: none;
  margin: 0;
  padding: 18px 0 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.tr-logos li {
  display: grid;
  place-items: center;
  height: 104px;
  padding: 18px 22px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.6s cubic-bezier(0.3, 1.4, 0.5, 1), box-shadow 0.6s,
    border-color 0.6s;
}
.tr-logos img {
  max-width: 100%;
  max-height: 50px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.tr-logos li.pop {
  transform: translateY(-16px) scale(1.12);
  border-color: rgba(33, 70, 139, 0.3);
  box-shadow: 0 26px 44px -24px rgba(16, 43, 78, 0.55);
  z-index: 1;
}
.js .tr-logos li {
  opacity: 0;
  translate: 0 30px;
}
.js .tr-logos.in li {
  opacity: 1;
  translate: none;
  transition: opacity 0.6s ease, translate 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.6s cubic-bezier(0.3, 1.4, 0.5, 1), box-shadow 0.6s,
    border-color 0.6s;
}
.js .tr-logos.in li:nth-child(2) {
  transition-delay: 0.12s, 0.12s, 0s, 0s, 0s;
}
.js .tr-logos.in li:nth-child(3) {
  transition-delay: 0.24s, 0.24s, 0s, 0s, 0s;
}
.js .tr-logos.in li:nth-child(4) {
  transition-delay: 0.36s, 0.36s, 0s, 0s, 0s;
}
.js .tr-logos.in li:nth-child(5) {
  transition-delay: 0.48s, 0.48s, 0s, 0s, 0s;
}
@media (max-width: 960px) {
  .tr-logos {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 560px) {
  .tr-logos {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (prefers-reduced-motion: reduce) {
  .js .tr-logos li {
    opacity: 1;
    translate: none;
  }
  .tr-logos li {
    transition: none;
  }
}
.hx-intro {
  position: relative;
  z-index: 1;
  padding-top: 70px;
}
.hx-intro .hx-head {
  max-width: min(680px, 48%);
}
@media (max-width: 960px) {
  .hx-intro .hx-head {
    max-width: 680px;
  }
}

/* Mosaïque sans bloc « Parlons-en » : grande carte à gauche sur 3 rangées, 6 cartes à droite */
.sv-bento {
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-auto-rows: minmax(190px, auto);
}
.sv-feat {
  grid-column: 1;
  grid-row: span 3;
}
.sv-feat img,
.sv-feat .sv-ic,
.sv-feat h3,
.sv-feat p,
.sv-feat .sv-num {
  transition: opacity 0.45s ease, transform 0.6s ease;
}
.sv-feat.swap img {
  opacity: 0;
  transform: scale(1.08);
}
.sv-feat.swap .sv-ic,
.sv-feat.swap h3,
.sv-feat.swap p,
.sv-feat.swap .sv-num {
  opacity: 0;
  transform: translateY(12px);
}
.sv-card.swap {
  opacity: 0.25;
}
.sv-card {
  transition: opacity 0.4s ease, transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 0.35s, border-color 0.35s;
}
.sv-dots {
  position: absolute;
  left: 32px;
  top: 28px;
  display: flex;
  gap: 6px;
  z-index: 1;
}
.sv-dots i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  transition: width 0.4s, background 0.4s;
}
.sv-dots i.on {
  width: 24px;
  background: #fff;
}
@media (max-width: 1100px) {
  .sv-bento {
    grid-template-columns: 1fr 1fr;
  }
  .sv-feat {
    grid-column: span 2;
    grid-row: auto;
    min-height: 380px;
  }
}
@media (max-width: 600px) {
  .sv-bento {
    grid-template-columns: 1fr;
  }
  .sv-feat {
    grid-column: auto;
  }
}
.hx-intro .hx-head {
  max-width: 680px;
}

/* ===== Une expertise au service de vos enjeux : texte à gauche, 3 atouts décalés à droite ===== */
.hx-intro2 {
  padding-top: 110px;
}
.hx-intro2 .container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.hx-intro2 .hx-head {
  margin: 0;
}
.hx-intro2 .hx-head h2 {
  font-size: clamp(28px, 3vw, 40px);
}
.hx-intro2 .hx-vals {
  grid-template-columns: 1fr;
  gap: 16px;
}
.hx-intro2 .hx-val {
  position: relative;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  border-radius: 20px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--c);
  box-shadow: 0 24px 44px -36px rgba(16, 43, 78, 0.6);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s;
}
.hx-intro2 .hx-val:nth-child(1) {
  --c: var(--royal);
}
.hx-intro2 .hx-val:nth-child(2) {
  --c: var(--green);
  margin-left: 40px;
}
.hx-intro2 .hx-val:nth-child(3) {
  --c: #d6aa00;
  margin-left: 80px;
}
.hx-intro2 .hx-ic {
  flex: none;
  width: 56px;
  height: 56px;
  margin: 0;
  border-radius: 16px;
  background: var(--c);
  color: #fff;
  transition: transform 0.45s cubic-bezier(0.3, 1.5, 0.5, 1);
}
.hx-intro2 .hx-val b {
  display: block;
  font-size: 17px;
  margin-bottom: 2px;
}
.hx-intro2 .hx-val small {
  display: block;
}
.hx-intro2 .hx-val > span:last-child {
  display: block;
}
.hx-intro2 .hx-val:hover {
  transform: translateX(8px);
  box-shadow: 0 30px 50px -30px rgba(16, 43, 78, 0.6);
}
.hx-intro2 .hx-val:hover .hx-ic {
  transform: rotate(-10deg) scale(1.08);
}
@media (max-width: 960px) {
  .hx-intro2 {
    padding-top: 90px;
  }
  .hx-intro2 .container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hx-intro2 .hx-val:nth-child(n) {
    margin-left: 0;
  }
}

/* Les bons réflexes : encarts « pub » illustrés, à éviter / bonne pratique */
.ads {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.ad {
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 24px 50px -38px rgba(16, 43, 78, 0.6);
  transition: transform 0.35s, box-shadow 0.35s;
}
.ad:hover {
  transform: translateY(-6px);
  box-shadow: 0 32px 60px -34px rgba(16, 43, 78, 0.65);
}
.ad-img {
  position: relative;
  aspect-ratio: 16/11;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: #fff;
  isolation: isolate;
}
.ad-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.8s ease;
}
.ad-img::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(16, 43, 78, 0.1) 20%,
    rgba(16, 43, 78, 0.92)
  );
}
.ad:hover .ad-img img {
  transform: scale(1.06);
}
.ad-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ad-img h3 {
  color: #fff;
  font-size: 20px;
  line-height: 1.25;
  margin: 0;
}
.ad-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 20px 22px;
  flex: 1;
}
.ad-body p {
  position: relative;
  margin: 0;
  padding: 12px 14px 12px 50px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}
.ad-body p b {
  display: block;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.ad-body p > span {
  position: absolute;
  left: 12px;
  top: 12px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #fff;
}
.ad-body p > span svg {
  width: 15px;
  height: 15px;
}
.ad-bad {
  background: rgba(232, 17, 45, 0.07);
}
.ad-bad b {
  color: #c8102e;
}
.ad-bad > span {
  background: var(--red);
}
.ad-good {
  background: rgba(0, 135, 81, 0.08);
}
.ad-good b {
  color: #00703f;
}
.ad-good > span {
  background: var(--green);
}
.ad-good > span svg circle {
  fill: var(--green);
}
.ad-btn {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.25s;
}
.ad-btn svg {
  width: 15px;
  height: 15px;
  transition: transform 0.25s;
}
.ad-btn:hover {
  background: var(--royal);
}
.ad-btn:hover svg {
  transform: translateX(4px);
}
@media (max-width: 1000px) {
  .ads {
    grid-template-columns: 1fr;
    max-width: 560px;
  }
}

/* Les bons réflexes : bannières publicitaires qui défilent */
.adx-wrap {
  position: relative;
}
.adx-stage {
  position: relative;
  display: grid;
  border-radius: 28px;
  overflow: hidden;
  min-height: 440px;
  background: var(--navy);
  box-shadow: 0 40px 70px -45px rgba(16, 43, 78, 0.8);
}
.adx {
  grid-area: 1/1;
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  padding: 48px 52px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s;
}
.adx.on {
  opacity: 1;
  visibility: visible;
}
.adx > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transform: scale(1.12);
  transition: transform 7s ease;
}
.adx.on > img {
  transform: scale(1);
}
.adx::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(12, 34, 64, 0.96) 0%,
    rgba(16, 43, 78, 0.86) 45%,
    rgba(16, 43, 78, 0.25) 100%
  );
}
.adx-in {
  max-width: 560px;
  color: #fff;
}
.adx-in > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.adx.on .adx-in > * {
  opacity: 1;
  transform: none;
}
.adx.on .adx-in > *:nth-child(2) {
  transition-delay: 0.12s;
}
.adx.on .adx-in > *:nth-child(3) {
  transition-delay: 0.26s;
}
.adx.on .adx-in > *:nth-child(4) {
  transition-delay: 0.4s;
}
.adx.on .adx-in > *:nth-child(5) {
  transition-delay: 0.54s;
}
.adx .ad-tag {
  position: static;
  display: inline-block;
  margin-bottom: 14px;
}
.adx h3 {
  color: #fff;
  font-size: clamp(24px, 2.8vw, 36px);
  line-height: 1.18;
  margin: 0 0 20px;
}
.adx-in p {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0 0 12px;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 15px;
  line-height: 1.5;
  color: #e6edf7;
  backdrop-filter: blur(6px);
}
.adx-in p b {
  white-space: nowrap;
}
.adx-in p > span {
  flex: none;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: #fff;
}
.adx-in p > span svg {
  width: 14px;
  height: 14px;
}
.adx-bad {
  background: rgba(232, 17, 45, 0.18);
  border: 1px solid rgba(232, 17, 45, 0.35);
}
.adx-bad b {
  color: #ff8a98;
}
.adx-bad > span {
  background: var(--red);
}
.adx-good {
  background: rgba(0, 135, 81, 0.2);
  border: 1px solid rgba(63, 191, 134, 0.4);
}
.adx-good b {
  color: #7fe0b4;
}
.adx-good > span {
  background: var(--green);
}
.adx-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: none;
  transition: transform 0.25s;
}
.adx-btn svg {
  width: 15px;
  height: 15px;
}
.adx-btn:hover {
  transform: translateY(-2px);
}
.adx-ctrl {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 22px;
}
.adx-ctrl > button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}
.adx-ctrl > button svg {
  width: 17px;
  height: 17px;
}
.adx-prev svg {
  transform: rotate(180deg);
}
.adx-ctrl > button:hover {
  background: var(--navy);
  color: #fff;
}
.adx-dots {
  display: flex;
  gap: 8px;
}
.adx-dot {
  position: relative;
  width: 40px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: #c9d4e4;
  overflow: hidden;
  cursor: pointer;
}
.adx-dot i {
  position: absolute;
  inset: 0;
  background: var(--royal);
  transform: scaleX(0);
  transform-origin: left;
}
.adx-dot.on i {
  animation: adxBar 6s linear forwards;
}
.adx-wrap.paused .adx-dot.on i {
  animation-play-state: paused;
}
@keyframes adxBar {
  to {
    transform: scaleX(1);
  }
}
html:not(.js) .adx {
  grid-area: auto;
  opacity: 1;
  visibility: visible;
}
@media (max-width: 760px) {
  .adx {
    padding: 32px 24px;
  }
  .adx::after {
    background: linear-gradient(
      180deg,
      rgba(12, 34, 64, 0.7),
      rgba(16, 43, 78, 0.95)
    );
  }
  .adx-stage {
    min-height: 560px;
  }
  .adx-in p {
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  .adx,
  .adx > img,
  .adx-in > * {
    transition: none;
  }
  .adx-dot.on i {
    animation: none;
    transform: none;
  }
}

/* ===================== En-tête de l'accueil (reproduction de la maquette) ===================== */
body.home {
  background: #fff;
}
.hz {
  position: relative;
  isolation: isolate;
  margin: -72px 14px 0;
  padding: 150px 0 120px;
  min-height: 660px;
  border-radius: 30px;
  background: #0b2147;
  color: #fff;
}
.hz::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  border-radius: inherit;
  background: radial-gradient(
      ellipse at 18% 30%,
      rgba(33, 70, 139, 0.55),
      rgba(33, 70, 139, 0) 55%
    ),
    radial-gradient(
      ellipse at 70% 85%,
      rgba(16, 43, 78, 0.9),
      rgba(16, 43, 78, 0) 60%
    ),
    linear-gradient(160deg, #0f2a54 0%, #0a1d3f 60%, #08183a 100%);
}
.hz-text {
  position: relative;
  z-index: 2;
}
.hz-kick {
  display: block;
  width: 44px;
  height: 3px;
  border-radius: 3px;
  background: #22c3a6;
  margin-bottom: 26px;
}
.hz h1 {
  color: #fff;
  font-size: clamp(34px, 3.9vw, 54px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0 0 22px;
  max-width: 620px;
}
.hz-lead {
  color: #d2dcea;
  font-size: 17.5px;
  line-height: 1.6;
  max-width: 540px;
  margin: 0;
}
.hz-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
  margin-top: 36px;
}
.hz-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 30px;
  border-radius: 999px;
  background: #1f6bff;
  color: #fff;
  font-weight: 600;
  font-size: 15.5px;
  text-decoration: none;
  box-shadow: 0 16px 34px -14px rgba(31, 107, 255, 0.8);
  transition: background 0.25s, transform 0.25s;
}
.hz-btn svg {
  width: 17px;
  height: 17px;
  transition: transform 0.25s;
}
.hz-btn:hover {
  background: #1559e0;
  transform: translateY(-2px);
}
.hz-btn:hover svg {
  transform: translateX(4px);
}
.hz-play {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  font-weight: 600;
  font-size: 15.5px;
  text-decoration: none;
}
.hz-play span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  transition: background 0.25s, color 0.25s;
}
.hz-play span svg {
  width: 16px;
  height: 16px;
  margin-left: 3px;
}
.hz-play:hover span {
  background: #fff;
  color: #0b2147;
}
/* Photo : forme organique (sommet arrondi à gauche, diagonale vers le bas), collée au bord droit, débordant sous l'en-tête */
.hz-media {
  position: absolute;
  z-index: 1;
  left: 56%;
  right: 0;
  top: 120px;
  bottom: 0;
}
.hz-photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M100 0L24 3C12 6 5 17 4 28C3 37 6 43 10 50L50 100H100Z'/%3E%3C/svg%3E")
    center/100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M100 0L24 3C12 6 5 17 4 28C3 37 6 43 10 50L50 100H100Z'/%3E%3C/svg%3E")
    center/100% 100% no-repeat;
}
.hz-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 28%;
}
.hz-rib {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.hz-rib path {
  fill: none;
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
}
.hz-r-blue {
  stroke: url(#hz-g);
  stroke-width: 20;
}
.hz-r-green {
  stroke: #22c3a6;
  stroke-width: 4;
}
.hz-r-yellow {
  stroke: #fcd116;
  stroke-width: 4;
}
/* Transition courbée blanche en bas à droite */
.hz-wave {
  position: absolute;
  right: 0;
  bottom: -12px;
  width: 46%;
  height: 110px;
  z-index: 2;
  pointer-events: none;
}
.hz-w-fill {
  fill: #fff;
}
.hz-w-y {
  fill: none;
  stroke: #fcd116;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
  opacity: 0.8;
}
.hx-intro {
  padding-top: 120px;
}

/* Barre de navigation dans la carte bleu marine (accueil, ordinateur) */
@media (min-width: 961px) {
  body.home .site-header {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
  }
  body.home .site-header .header-inner {
    height: 84px;
  }
  body.home .site-header.scrolled {
    background: rgba(11, 33, 71, 0.97);
  }
  body.home .nav-end .btn-primary {
    padding: 11px 22px;
    border: 1.5px solid rgba(255, 255, 255, 0.85);
    background: transparent;
    box-shadow: none;
    border-radius: 999px;
  }
}

/* Animations discrètes */
.js .hz-text > * {
  opacity: 0;
  translate: 0 16px;
  animation: hzIn 0.7s ease forwards;
}
.js .hz-text > *:nth-child(2) {
  animation-delay: 0.08s;
}
.js .hz-text > *:nth-child(3) {
  animation-delay: 0.16s;
}
.js .hz-text > *:nth-child(4) {
  animation-delay: 0.26s;
}
.js .hz-media {
  opacity: 0;
  translate: 24px 0;
  animation: hzIn 1s ease 0.2s forwards;
}
@keyframes hzIn {
  to {
    opacity: 1;
    translate: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .js .hz-text > *,
  .js .hz-media {
    animation: none;
    opacity: 1;
    translate: none;
  }
}

/* Petits écrans */
@media (max-width: 1100px) {
  .hz h1 {
    max-width: 520px;
  }
  .hz-media {
    left: 54%;
  }
}
@media (max-width: 960px) {
  .hz {
    margin: 0;
    border-radius: 0 0 28px 28px;
    padding: 48px 0 0;
    min-height: 0;
  }
  .hz-media {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    height: 380px;
    margin: 40px 0 0 22%;
  }
  .hz-wave {
    width: 70%;
    bottom: -2px;
    height: 70px;
  }
  .hx-intro {
    padding-top: 64px;
  }
}
@media (max-width: 560px) {
  .hz-media {
    height: 320px;
    margin-left: 12%;
  }
  .hz-actions {
    gap: 18px;
  }
}
@media (min-width: 961px) and (max-width: 1280px) {
  body.home .site-header .container,
  .hz .container {
    padding-left: 48px;
    padding-right: 48px;
  }
}

/* ===== En-tête : pleine largeur, sans marge, barre de navigation sur fond bleu ===== */
.hz {
  margin: 0;
  border-radius: 0 0 0 70px;
  padding: 70px 0 130px;
  min-height: 600px;
}
.hz-media {
  top: 30px;
  bottom: 0;
}
@media (min-width: 961px) {
  body.home .site-header,
  body.home .site-header.scrolled {
    background: #0b2147;
    box-shadow: none;
  }
  body.home .site-header.scrolled {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
  }
  body.home .site-header .container,
  .hz .container {
    padding-left: 24px;
    padding-right: 24px;
  }
}
@media (max-width: 960px) {
  .hz {
    border-radius: 0 0 0 36px;
    padding-top: 44px;
  }
}

/* ===== Une expertise au service de vos enjeux : 3 cartes alignées (maquette) ===== */
.hx-intro3 {
  padding-top: 90px;
}
.hx-intro3 .container {
  display: block;
}
.hx-intro3 .hx-head {
  max-width: 760px;
  margin: 0 0 38px;
}
.hx-intro3 .hx-vals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.hx-intro3 .hx-val {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  margin: 0 !important;
  padding: 34px 28px 30px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 1px solid var(--line);
  box-shadow: 0 24px 50px -40px rgba(16, 43, 78, 0.55);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s,
    border-color 0.35s;
}
.hx-intro3 .hx-val::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: var(--c);
  transform: scaleX(0.3);
  transition: transform 0.45s;
}
.hx-intro3 .hx-val:nth-child(1) {
  --c: var(--royal);
  --t: rgba(33, 70, 139, 0.1);
}
.hx-intro3 .hx-val:nth-child(2) {
  --c: var(--green);
  --t: rgba(0, 135, 81, 0.1);
}
.hx-intro3 .hx-val:nth-child(3) {
  --c: #c99a00;
  --t: rgba(252, 209, 22, 0.18);
}
.hx-intro3 .hx-ic {
  position: relative;
  flex: none;
  width: 70px;
  height: 70px;
  margin: 0 0 10px;
  border-radius: 50%;
  background: var(--t);
  color: var(--c);
  transition: background 0.35s, color 0.35s,
    transform 0.5s cubic-bezier(0.3, 1.5, 0.5, 1);
}
.hx-intro3 .hx-ic::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1.5px dashed var(--c);
  opacity: 0.35;
  animation: spin 18s linear infinite;
}
.hx-intro3 .hx-ic svg {
  width: 30px;
  height: 30px;
}
.hx-intro3 .hx-val > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hx-intro3 .hx-val b {
  font-size: 18px;
  color: var(--royal);
}
.hx-intro3 .hx-val small {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.55;
}
.hx-intro3 .hx-val:hover {
  transform: translateY(-8px);
  border-color: var(--c);
  box-shadow: 0 34px 60px -36px rgba(16, 43, 78, 0.6);
}
.hx-intro3 .hx-val:hover::before {
  transform: scaleX(1);
}
.hx-intro3 .hx-val:hover .hx-ic {
  background: var(--c);
  color: #fff;
  transform: rotate(-8deg) scale(1.06);
}
.js .hx-intro3 .hx-val.rv {
  transition: opacity 0.6s ease calc(var(--k) * 0.12s),
    translate 0.6s ease calc(var(--k) * 0.12s),
    transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s,
    border-color 0.35s;
}
@media (max-width: 900px) {
  .hx-intro3 .hx-vals {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hx-intro3 .hx-ic::after {
    animation: none;
  }
}

/* Ajustements finaux d'après la maquette haute définition */
.hz h1 {
  font-size: clamp(36px, 4.3vw, 62px);
  line-height: 1.08;
  max-width: 700px;
  font-weight: 800;
}
.hz-lead {
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.5;
  max-width: 600px;
  color: #e2e9f3;
}
.hz-kick {
  width: 70px;
  height: 4px;
  background: #1fd1a5;
}
.hz-btn {
  padding: 18px 34px;
  font-size: 17px;
  font-weight: 700;
  background: #1466ff;
}
.hz {
  padding-top: 64px;
  padding-bottom: 110px;
  border-radius: 0 0 0 60px;
}
.hz-media {
  left: 57%;
  top: 24px;
}
.hz-photo img {
  object-position: 50% 18%;
}
.hx-intro3 .hx-head .kicker-line {
  background: #1fd1a5;
  width: 70px;
  height: 4px;
}
.hx-intro3 .hx-head h2 {
  font-size: clamp(30px, 3.3vw, 46px);
  font-weight: 800;
}
@media (max-width: 960px) {
  .hz-media {
    margin-left: 6% !important;
    height: 420px !important;
  }
  .hz-photo img {
    object-position: 40% 20%;
  }
}
@media (max-width: 560px) {
  .hz-media {
    margin-left: 0 !important;
    height: 380px !important;
  }
}

/* ===== Forme, débordement et rubans calés sur la maquette HD ===== */
.hz {
  z-index: 2;
  padding-bottom: 120px;
  border-radius: 0 0 0 80px;
}
.hz-media {
  left: 58% !important;
  top: 18px !important;
  bottom: -62px !important;
  right: 0;
}
.hz-photo {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M100 0L52 0.6C28 1.6 7 8 2.4 20.4C0.6 27 0.9 32.6 3.2 37.6L31 93C33.6 98 37.6 100 42.6 100H100Z'/%3E%3C/svg%3E")
    center/100% 100% no-repeat !important;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M100 0L52 0.6C28 1.6 7 8 2.4 20.4C0.6 27 0.9 32.6 3.2 37.6L31 93C33.6 98 37.6 100 42.6 100H100Z'/%3E%3C/svg%3E")
    center/100% 100% no-repeat !important;
}
.hz-photo img {
  object-position: 30% 22% !important;
}
.hz-r-blue {
  stroke: url(#hz-g) !important;
  stroke-width: 26 !important;
}
.hz-r-teal {
  fill: none;
  stroke: #1fd1a5;
  stroke-width: 3.5;
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
}
.hz-r-yellow {
  stroke: #fcd116 !important;
  stroke-width: 3.5 !important;
}
.hz-wave {
  right: 0 !important;
  left: auto;
  bottom: -64px !important;
  width: 31% !important;
  height: 180px !important;
  z-index: 3;
}
.hz-w-y {
  stroke: #fcd116 !important;
  stroke-width: 3 !important;
  opacity: 1 !important;
}
.hz-w-t {
  fill: none;
  stroke: #1fd1a5;
  stroke-width: 2.5;
  vector-effect: non-scaling-stroke;
  opacity: 0.85;
}
.hx-intro3 {
  padding-top: 120px;
}
@media (max-width: 960px) {
  .hz {
    padding-bottom: 0;
  }
  .hz-media {
    bottom: auto !important;
    top: auto !important;
  }
  .hz-wave {
    width: 60% !important;
    bottom: -2px !important;
    height: 110px !important;
  }
}

/* Barre de navigation et en-tête : exactement le même bleu, sans démarcation */
.hz::before {
  background: radial-gradient(
      ellipse at 20% 70%,
      rgba(33, 70, 139, 0.45),
      rgba(33, 70, 139, 0) 55%
    ),
    #0b2147 !important;
}
body.home .site-header,
body.home .site-header.scrolled {
  background: #0b2147 !important;
  border-color: transparent !important;
}
@media (max-width: 960px) {
  body.home .brand img:not(.brand-white) {
    display: none;
  }
  body.home .brand .brand-white {
    display: block;
  }
  body.home .nav-toggle-bars,
  body.home .nav-toggle-bars::before,
  body.home .nav-toggle-bars::after {
    background: #fff;
  }
  body.home .nav-toggle[aria-expanded="true"] .nav-toggle-bars {
    background: transparent;
  }
}
@media (max-width: 960px) {
  .hz-photo img {
    object-position: 22% 15% !important;
  }
  .hz-media {
    margin-left: 4% !important;
  }
}

/* Bordure : formes superposées (même silhouette que la photo, décalées), plus de traits dessinés */
.hz-layer {
  position: absolute;
  inset: 0;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M100 0L52 0.6C28 1.6 7 8 2.4 20.4C0.6 27 0.9 32.6 3.2 37.6L31 93C33.6 98 37.6 100 42.6 100H100Z'/%3E%3C/svg%3E")
    center/100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M100 0L52 0.6C28 1.6 7 8 2.4 20.4C0.6 27 0.9 32.6 3.2 37.6L31 93C33.6 98 37.6 100 42.6 100H100Z'/%3E%3C/svg%3E")
    center/100% 100% no-repeat;
}
.hz-l1 {
  background: #1fd1a5;
  transform: translate(-30px, -12px);
}
.hz-l2 {
  background: linear-gradient(180deg, #3d8bff, #1f5bd6 45%, #0f2f6b);
  transform: translate(-22px, -6px);
}
.hz-l3 {
  background: linear-gradient(200deg, rgba(252, 209, 22, 0) 45%, #fcd116 60%);
  transform: translate(-8px, 0);
  bottom: 2px;
}
.hz-photo {
  z-index: 1;
}
.js .hz-layer {
  opacity: 0;
  animation: hzIn 0.9s ease forwards;
}
.js .hz-l1 {
  animation-delay: 0.45s;
}
.js .hz-l2 {
  animation-delay: 0.35s;
}
.js .hz-l3 {
  animation-delay: 0.55s;
}
@media (prefers-reduced-motion: reduce) {
  .js .hz-layer {
    animation: none;
    opacity: 1;
  }
}
@media (max-width: 560px) {
  .hz-l1 {
    transform: translate(-18px, -8px);
  }
  .hz-l2 {
    transform: translate(-12px, -4px);
  }
  .hz-l3 {
    transform: translate(-5px, 3px);
  }
}
.hz-w-y,
.hz-w-t {
  display: none;
}

/* Barre de navigation identique aux autres pages ; photo sans bordure */
.hz-layer {
  display: none;
}
.hz {
  padding-top: 70px;
}

/* Photo qui touche le haut de l'en-tête, décalée, avec un filet jaune décalé derrière */
.hz-media {
  top: 0 !important;
  left: 60% !important;
}
.hz-yel {
  position: absolute;
  inset: 0;
  transform: translate(-16px, 8px);
  z-index: 0;
  background: linear-gradient(190deg, rgba(252, 209, 22, 0) 35%, #fcd116 55%);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M100 0L52 0.6C28 1.6 7 8 2.4 20.4C0.6 27 0.9 32.6 3.2 37.6L31 93C33.6 98 37.6 100 42.6 100H100Z'/%3E%3C/svg%3E")
    center/100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M100 0L52 0.6C28 1.6 7 8 2.4 20.4C0.6 27 0.9 32.6 3.2 37.6L31 93C33.6 98 37.6 100 42.6 100H100Z'/%3E%3C/svg%3E")
    center/100% 100% no-repeat;
}
.js .hz-yel {
  opacity: 0;
  animation: hzIn 0.9s ease 0.5s forwards;
}
/* Coin bas gauche de l'en-tête : courbe asymétrique plutôt qu'un arrondi parfait */
.hz {
  border-radius: 0 0 0 160px / 0 0 0 70px;
}
@media (max-width: 960px) {
  .hz {
    border-radius: 0 0 0 70px / 0 0 0 36px;
  }
  .hz-yel {
    transform: translate(-10px, 6px);
  }
}

/* Bandeau final « Demander un diagnostic IT » sur bleu léger */
.hx-cta {
  padding: 70px 0;
  background: linear-gradient(
      120deg,
      rgba(33, 70, 139, 0.12),
      rgba(33, 70, 139, 0.05)
    ),
    #fff;
  border-top: 1px solid rgba(33, 70, 139, 0.12);
}
.hx-cta-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.hx-cta-in > div {
  max-width: 640px;
}
.hx-cta .kicker-line {
  background: #1fd1a5;
  width: 70px;
  height: 4px;
}
.hx-cta h2 {
  font-size: clamp(26px, 2.8vw, 38px);
  margin: 0 0 10px;
}
.hx-cta p {
  margin: 0;
  color: var(--muted);
  font-size: 16.5px;
}
.hz-yel {
  bottom: 14px;
}

/* AKGlobal, correctif responsive de l'image de l'en-tête.
   Ajouter TOUT A LA FIN de assets/home.css.
   N'affecte pas la version ordinateur (plus de 960px). */

@media (max-width: 960px) {
  .hz {
    min-width: 0;
    min-height: 0;
    padding: 44px 0 0;
    border-radius: 0 0 0 36px;
  }

  .hz .hz-text {
    position: relative;
    z-index: 2;
    min-width: 0;
  }

  .hz h1 {
    max-width: 100%;
    font-size: clamp(30px, 5vw, 44px);
    overflow-wrap: break-word;
  }

  .hz .hz-lead {
    max-width: 100%;
  }

  /* Ces propriétés réinitialisent les anciens left/top/bottom !important
     qui forçaient la photo hors écran, même sur mobile. */
  .hz .hz-media {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    width: min(100%, 740px);
    max-width: 100%;
    height: clamp(300px, 53vw, 420px) !important;
    margin: 36px 0 0 auto !important;
  }

  .hz .hz-photo,
  .hz .hz-yel {
    max-width: 100%;
  }

  .hz .hz-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 36% 20% !important;
  }

  .hz .hz-wave {
    right: 0 !important;
    left: auto !important;
    bottom: -2px !important;
    width: 60% !important;
    max-width: 100%;
    height: 90px !important;
  }
}

@media (max-width: 560px) {
  .hz {
    padding-top: 32px;
  }
  .hz h1 {
    font-size: clamp(28px, 8vw, 36px);
  }
  .hz .hz-lead {
    font-size: 16px;
    line-height: 1.55;
  }
  .hz .hz-actions {
    gap: 14px;
    margin-top: 28px;
  }
  .hz .hz-btn {
    max-width: 100%;
    padding: 14px 20px;
    font-size: 15px;
  }
  .hz .hz-media {
    width: 100%;
    height: clamp(280px, 88vw, 370px) !important;
    margin: 28px 0 0 !important;
  }
  .hz .hz-photo img {
    object-position: 30% 18% !important;
  }
  .hz .hz-yel {
    transform: translate(-7px, 5px);
  }
  .hz .hz-wave {
    width: 65% !important;
    height: 58px !important;
  }
}

/* Aligner le bas de l'image avec le fond bleu */

@media (min-width: 961px) {
  .hz-media {
    bottom: 0 !important;
  }
}

@media (max-width: 960px) {
  .hz {
    padding-bottom: 0;
  }

  .hz-media {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;

    width: 100%;
    height: 380px !important;
    margin: 35px 0 0 !important;
  }

  .hz-wave {
    display: none;
  }
}

@media (max-width: 560px) {
  .hz-media {
    height: 340px !important;
  }
}

/* « Parlons de vos priorités IT » : photo à droite, bord gauche en vague + aplats décalés (comme Contact) */
.hx-cta2 {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 90px 0;
  min-height: 420px;
  display: flex;
  align-items: center;
}
.hx-cta2 .hx-cta-in {
  position: relative;
  z-index: 2;
  flex-direction: column;
  align-items: flex-start;
  max-width: 1200px;
}
.hx-cta2 .hx-cta-in > div {
  max-width: 520px;
}
.hx-cta2 .hz-btn {
  margin-top: 24px;
}
.hx-cta-media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50%;
  z-index: 0;
}
.hx-cta-media > * {
  position: absolute;
  inset: 0;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M30 0H100V100H22C10 84 4 70 9 54C14 38 26 30 22 16C20 8 24 2 30 0Z'/%3E%3C/svg%3E")
    center/100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M30 0H100V100H22C10 84 4 70 9 54C14 38 26 30 22 16C20 8 24 2 30 0Z'/%3E%3C/svg%3E")
    center/100% 100% no-repeat;
}
.cm-l1 {
  background: #1fd1a5;
  transform: translateX(-22px);
}
.cm-l2 {
  background: linear-gradient(180deg, #3d8bff, #1f5bd6 50%, #fcd116);
  transform: translateX(-12px);
}
.cm-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.cm-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(16, 43, 78, 0.25),
    rgba(16, 43, 78, 0) 40%
  );
}
.js .hx-cta-media > * {
  opacity: 0;
  translate: 40px 0;
  transition: opacity 0.9s ease, translate 1s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.js .hx-cta2.seen .hx-cta-media > * {
  opacity: 1;
  translate: none;
}
.js .hx-cta2.seen .cm-l1 {
  transition-delay: 0.25s;
}
.js .hx-cta2.seen .cm-l2 {
  transition-delay: 0.15s;
}
@media (max-width: 900px) {
  .hx-cta2 {
    flex-direction: column;
    align-items: stretch;
    padding: 60px 0 0;
  }
  .hx-cta-media {
    position: relative;
    width: auto;
    height: 280px;
    margin-top: 40px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .js .hx-cta-media > * {
    opacity: 1;
    translate: none;
    transition: none;
  }
}
.hx-cta2 .hx-cta-in {
  width: 100%;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .hx-cta-media {
    order: 2;
  }
  .hx-cta2 .hx-cta-in {
    order: 1;
  }
}

/* ===== Section « Votre organisation grandit » ===== */
/* Votre organisation grandit : texte à gauche, carte navy avec les étapes à droite */
.hx-who{position:relative;overflow:hidden}
.hx-who::before{content:"";position:absolute;right:-160px;top:-160px;width:420px;height:420px;border-radius:50%;background:radial-gradient(circle,rgba(33,70,139,.12),rgba(33,70,139,0) 70%);pointer-events:none}
.who-grid{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:56px;align-items:center}
.who-intro h2{font-size:clamp(28px,3vw,40px);line-height:1.15;margin:0 0 18px;color:var(--navy)}
.who-intro p{color:var(--muted);font-size:16.5px;line-height:1.75;margin:0;max-width:560px}
.who-panel{position:relative;padding:44px 44px 40px;border-radius:28px;background:linear-gradient(160deg,#0f2a54 0%,#0a1d3f 100%);color:#fff;box-shadow:0 40px 70px -46px rgba(16,43,78,.8);overflow:hidden}
.who-panel::after{content:"";position:absolute;left:0;right:0;bottom:0;height:5px;background:linear-gradient(90deg,#fcd116 0%,#008751 50%,#e8112d 100%)}
.who-eye{display:inline-block;margin-bottom:14px;padding:5px 13px;border-radius:999px;background:rgba(252,209,22,.14);color:#fcd116;font-size:12.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.who-panel h3{font-size:clamp(20px,2.2vw,26px);line-height:1.25;margin:0 0 14px;color:#fff}
.who-panel p{color:#c3cfe0;font-size:15.5px;line-height:1.7;margin:0 0 22px;max-width:620px}
/* Étapes : une grande carte glisse en place, son anneau se remplit pendant 2 s, puis elle s'efface vers la gauche */
.who-stage{position:relative;display:grid;margin:0 0 18px;padding:0;list-style:none;min-height:150px}
.who-step{grid-area:1/1;display:flex;align-items:center;gap:24px;padding:24px 30px;border-radius:24px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.12);backdrop-filter:blur(6px);opacity:0;visibility:hidden;transform:translateX(48px);filter:blur(6px);transition:opacity .6s ease,transform .7s cubic-bezier(.2,.7,.2,1),filter .6s ease,visibility 0s .7s}
.who-step.on{opacity:1;visibility:visible;transform:none;filter:none;transition:opacity .6s ease,transform .7s cubic-bezier(.2,.7,.2,1),filter .6s ease,visibility 0s}
.who-step.out{opacity:0;visibility:visible;transform:translateX(-48px);filter:blur(6px);transition:opacity .5s ease,transform .5s ease,filter .5s ease,visibility 0s .5s}
.who-n{position:relative;display:grid;place-items:center;width:68px;height:68px;flex:none;color:#fcd116;font-size:21px;font-weight:800}
.who-n > span{position:relative;z-index:1}
.who-ring{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg)}
.who-ring circle{fill:none;stroke-width:3.5}
.who-ring .rt{stroke:rgba(255,255,255,.14)}
.who-ring .rf{stroke:#fcd116;stroke-linecap:round;stroke-dasharray:100;stroke-dashoffset:100}
.who-step.on .rf{animation:whoRing 2s linear forwards}
@keyframes whoRing{to{stroke-dashoffset:0}}
.who-step b{font-size:clamp(21px,2.4vw,26px);font-weight:700;line-height:1.2;color:#fff}
.who-dots{display:flex;gap:8px;margin:0 0 24px}
.who-dots i{display:block;height:4px;width:22px;border-radius:999px;background:rgba(255,255,255,.2);overflow:hidden;position:relative}
.who-dots i::after{content:"";position:absolute;inset:0;background:#fcd116;transform:scaleX(0);transform-origin:left}
.who-dots i.on::after{animation:whoBar 2s linear forwards}
.who-dots i.done::after{transform:scaleX(1)}
@keyframes whoBar{to{transform:scaleX(1)}}
@media (prefers-reduced-motion:reduce){
  .who-stage{display:flex;flex-direction:column;gap:14px;min-height:0}
  .who-step,.who-step.on,.who-step.out{opacity:1;visibility:visible;transform:none;filter:none;transition:none}
  .who-ring .rf{stroke-dashoffset:0}
  .who-dots{display:none}
}
.who-panel > p:last-child{margin-bottom:0}
@media (max-width:900px){
  .who-grid{grid-template-columns:1fr;gap:40px}
}
@media (max-width:600px){
  .who-panel{padding:32px 22px 30px}
}

/* ===== Expériences concrètes (sur fond bleu des projets) ===== */
.hx-exp .pj-top{margin-bottom:30px}
.exp-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.exp-card{display:flex;flex-direction:column;border-radius:22px;overflow:hidden;background:rgba(255,255,255,.06);border:1px solid rgba(159,182,221,.2);transition:transform .35s cubic-bezier(.2,.7,.2,1),box-shadow .35s,border-color .35s}
.exp-card:hover{transform:translateY(-6px);border-color:rgba(159,182,221,.45);box-shadow:0 28px 54px -30px rgba(0,0,0,.7)}
.exp-img{position:relative;aspect-ratio:16/8;overflow:hidden}
.exp-img img{width:100%;height:100%;object-fit:cover;transition:transform .8s ease}
.exp-card:hover .exp-img img{transform:scale(1.05)}
.exp-img::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(16,43,78,0) 45%,rgba(11,33,71,.72))}
.exp-co{position:absolute;left:18px;bottom:16px;z-index:1;padding:6px 14px;border-radius:999px;background:var(--green);color:#fff;font-size:12.5px;font-weight:700;letter-spacing:.05em;text-transform:uppercase}
.exp-body{padding:26px 28px 28px}
.exp-body h3{color:#fff;font-size:20px;line-height:1.3;margin:0 0 12px}
.exp-body p{margin:0;color:#c3cfe0;font-size:15px;line-height:1.65}
.js .exp-grid .exp-card.rv{transition:opacity .6s ease calc(var(--k)*.12s),translate .6s ease calc(var(--k)*.12s),transform .35s cubic-bezier(.2,.7,.2,1),box-shadow .35s,border-color .35s}
@media (max-width:760px){.exp-grid{grid-template-columns:1fr}}

/* ===== Témoignages clients ===== */
.hx-quotes{background:var(--tint)}
.hx-head.center{margin-left:auto;margin-right:auto;text-align:center;max-width:680px}
.hx-head.center .kicker-line{margin-left:auto;margin-right:auto}
/* Carrousel : grande citation à gauche, liste des auteurs à droite */
.qx{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:26px;align-items:stretch}
.qx-stage{position:relative;overflow:hidden;display:grid;padding:58px 56px 34px;border-radius:28px;background:#fff;border:1px solid rgba(33,70,139,.12);box-shadow:0 40px 80px -60px rgba(16,43,78,.6)}
.qx-stage::before{content:"";position:absolute;right:-90px;top:-90px;width:260px;height:260px;border-radius:50%;background:radial-gradient(circle,rgba(252,209,22,.2),rgba(252,209,22,0) 70%);animation:qxGlow 9s ease-in-out infinite alternate;pointer-events:none}
@keyframes qxGlow{to{translate:-60px 70px;scale:1.25}}
.qx-mark{position:absolute;left:44px;top:-6px;font-size:130px;line-height:1;font-weight:800;background:linear-gradient(135deg,#fcd116,#008751);-webkit-background-clip:text;background-clip:text;color:transparent;opacity:.9;pointer-events:none}
.qx-stage .q-card{grid-area:1/1;display:flex;flex-direction:column;padding:0;margin:0;border:0;background:none;box-shadow:none;border-radius:0;overflow:visible}
.qx-stage .q-card:hover{transform:none;box-shadow:none}
.qx-stage blockquote{margin:18px 0 30px;font-size:clamp(18px,1.6vw,22px);line-height:1.6;color:var(--navy);font-style:normal;font-weight:500}
.qx-stage figcaption{display:flex;align-items:center;gap:14px;margin-top:auto}
.qx-stage figcaption b{display:block;font-size:16px;color:var(--navy)}
.qx-stage figcaption small{display:block;font-size:13px;color:var(--muted)}
.q-av{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;flex:none;background:var(--navy);color:#fff;font-size:17px;font-weight:700}
.q-av2{background:var(--green)}
.q-av3{background:var(--royal)}
.q-av4{background:#c98f00}
.qx-foot{display:none}
.qx-nav{display:none}

/* Mode animé (JavaScript actif) */
.js .qx-stage .q-card{visibility:hidden;opacity:0;transition:opacity .5s ease,visibility 0s .5s}
.js .qx-stage .q-card.on{visibility:visible;opacity:1;transition:opacity .5s ease}
.js .qx-stage .q-card .w{display:inline-block;opacity:0;translate:0 .5em;filter:blur(4px)}
.js .qx-stage .q-card.on .w{animation:qxWord .55s cubic-bezier(.2,.7,.2,1) calc(var(--w)*22ms) forwards}
@keyframes qxWord{to{opacity:1;translate:none;filter:none}}
.js .qx-stage .q-card figcaption{opacity:0;translate:-14px 0}
.js .qx-stage .q-card.on figcaption{animation:hzIn .6s ease .35s forwards}
.js .qx-foot{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:30px;padding-top:20px;border-top:1px solid var(--line)}
.qx-count{font-size:14px;color:var(--muted);letter-spacing:.04em}
.qx-count b{font-size:20px;color:var(--navy)}
.qx-arrows{display:flex;gap:10px}
.qx-arrows button{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;border:1.5px solid rgba(33,70,139,.25);background:#fff;color:var(--navy);cursor:pointer;transition:background .25s,color .25s,border-color .25s,transform .25s}
.qx-arrows button:hover{background:var(--navy);border-color:var(--navy);color:#fff;transform:scale(1.06)}
.qx-prev svg{rotate:180deg}
.js .qx-nav{display:flex;flex-direction:column;gap:12px}
.qx-tab{position:relative;overflow:hidden;display:flex;align-items:center;gap:14px;width:100%;padding:16px 18px;border-radius:18px;border:1px solid rgba(33,70,139,.12);background:rgba(255,255,255,.6);text-align:left;font:inherit;cursor:pointer;transition:background .35s,transform .35s,box-shadow .35s,border-color .35s}
.qx-tab b{display:block;font-size:15px;color:var(--navy);transition:color .35s}
.qx-tab small{display:block;font-size:12.5px;color:var(--muted);transition:color .35s}
.qx-tab .q-av{width:40px;height:40px;font-size:15px;transition:transform .35s}
.qx-tab:hover{background:#fff;transform:translateX(-4px)}
.qx-tab.on{background:var(--navy);border-color:var(--navy);transform:translateX(-10px);box-shadow:0 24px 44px -28px rgba(16,43,78,.8)}
.qx-tab.on b{color:#fff}
.qx-tab.on small{color:#c3cfe0}
.qx-tab.on .q-av{transform:scale(1.08);box-shadow:0 0 0 3px rgba(255,255,255,.25)}
.qx-tab i{position:absolute;left:0;bottom:0;height:3px;width:0;background:linear-gradient(90deg,#fcd116,#1fd1a5)}
.qx-tab.on i{animation:qxBar var(--qdur,7s) linear forwards}
.qx.paused .qx-tab.on i{animation-play-state:paused}
@keyframes qxBar{to{width:100%}}
@media (max-width:900px){
  .qx{grid-template-columns:1fr}
  .qx-stage{padding:50px 26px 26px}
  .qx-mark{left:20px;font-size:110px}
  .js .qx-nav{flex-direction:row;justify-content:center;order:-1}
  .qx-tab{width:auto;padding:6px;border-radius:50%}
  .qx-tab>span:not(.q-av){display:none}
  .qx-tab:hover,.qx-tab.on{transform:none}
  .qx-tab i{left:6px;right:6px;width:auto;scale:0 1;transform-origin:left;bottom:-1px}
  .qx-tab.on i{animation:none;scale:1 1}
}
@media (prefers-reduced-motion:reduce){
  .js .qx-stage .q-card .w,.js .qx-stage .q-card figcaption{animation:none!important;opacity:1;translate:none;filter:none}
  .qx-stage::before,.qx-tab.on i{animation:none}
}

/* ===== « Par où commencer ? » ===== */
.hx-start .hx-cta-in>div{max-width:620px}
.hx-start .hz-btn{margin:22px 0 24px}
.start-detail{color:var(--muted)!important;font-size:16px!important;line-height:1.7;max-width:600px;margin:0!important}


/* Expertise : fond bleu clair */
.hx-intro3 {
  background: linear-gradient(
    135deg,
    #f3f6fa 0%, 
    #e8eef6 100%
  ); 
}

/* Témoignages : fond bleu doux */
.hx-quotes {
  background: linear-gradient(
    135deg,
    #e8eef6 0%,
    #dfe8f3 100%
  );
}


/* Ligne décorative des titres */
.hx-intro3 .kicker-line {
  background: #008751;
}

.hx-quotes .kicker-line {
  background: #21468B;
}


/* Harmoniser la transition entre le header et l'expertise */

.hz-w-fill {
  fill: #F3F6FA;
}

/* Fond expertise assorti à la vague */
.hx-intro3 {
  background: linear-gradient(
    135deg,
    #F3F6FA 0%,
    #E8EEF6 100%
  );
}

/* Fond Expertise : il remonte sous l'arrondi de l'en-tête pour qu'aucune bande blanche n'apparaisse */
.hx-intro3 {
  background: #F3F6FA;
}
.hz {
  z-index: 2;
}
.hz + .hx-intro3 {
  margin-top: -70px;
  padding-top: 160px;
}
@media (max-width: 960px) {
  .hz + .hx-intro3 {
    margin-top: -36px;
    padding-top: 100px;
  }
}

/* Pas de vague blanche supplémentaire */
.hz-wave {
  display: none !important;
}
