/* Cabinet 2ST Consulting : composants communs des pages intérieures
   (À propos, Services, Formations, Équipements, Réalisations, Contact, Confidentialité).
   S'appuie sur site.css (couleurs, boutons, en-tête, pied de page). */

/* ---------- Menu et sous-menu « Services » ---------- */
.site-nav {
  gap: clamp(18px, 2vw, 32px);
}
.nav-group {
  position: relative;
  display: flex;
  align-items: center;
}
.site-nav .nav-parent {
  gap: 5px;
}
.nav-caret {
  width: 12px;
  height: 12px;
  transition: transform 0.25s;
}
.nav-sub {
  position: absolute;
  top: calc(100% + 8px);
  left: -16px;
  z-index: 5;
  display: grid;
  min-width: 230px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 18px 40px -22px rgba(6, 31, 62, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}
/* Zone tampon : le survol ne se perd pas entre le lien et le sous-menu */
.nav-sub::before {
  content: "";
  position: absolute;
  top: -14px;
  right: 0;
  left: 0;
  height: 14px;
}
.nav-group:hover .nav-sub,
.nav-group:focus-within .nav-sub {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.nav-group:hover .nav-caret,
.nav-group:focus-within .nav-caret {
  transform: rotate(180deg);
}
.site-nav .nav-sub a {
  min-height: 0;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 15px;
}
.site-nav .nav-sub a::after {
  display: none;
}
.site-nav .nav-sub a:hover,
.site-nav .nav-sub a[aria-current] {
  background: var(--paper);
  color: var(--red);
}
@media (max-width: 1080px) {
  .nav-group {
    display: block;
  }
  .nav-caret {
    display: none;
  }
  .nav-sub {
    position: static;
    min-width: 0;
    padding: 0 0 4px 16px;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav-sub::before {
    display: none;
  }
  .site-nav .nav-group > .nav-parent {
    display: flex;
  }
  .site-nav .nav-sub a {
    display: flex;
    min-height: 46px;
    padding: 0 28px 0 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
  }
  .site-nav .nav-sub a:hover,
  .site-nav .nav-sub a[aria-current] {
    background: none;
    color: var(--gold);
  }
}
.site-nav.open > :nth-child(6) { animation-delay: 0.3s; }
.site-nav.open > :nth-child(7) { animation-delay: 0.36s; }

/* Barre de lecture sous l'en-tête (créée par site.js sur toutes les pages) */
.read-progress {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), #f26a21, #c8102e);
  transform: scaleX(var(--read, 0));
  transform-origin: left;
  pointer-events: none;
}

/* ---------- Fond de page ---------- */
.pg-page {
  background: var(--paper);
}
.pg-page .footer-wave {
  background: var(--paper);
}
/* La vague du pied de page prend la couleur du bandeau qui la précède */
body:has(main > .cta-band:last-child) .footer-wave {
  background: var(--cream);
}

/* ---------- Haut de page : photo + voile bleu ---------- */
.pg-hero {
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
  color: var(--white);
}
.pg-hero-bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  transform: scale(1.1);
  animation: pg-zoom 16s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.pg-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(6, 31, 62, 0.95) 0%, rgba(8, 47, 91, 0.86) 48%, rgba(8, 47, 91, 0.55) 100%);
}
@keyframes pg-zoom {
  to {
    transform: scale(1);
  }
}
.pg-hero-in {
  position: relative;
  z-index: 2;
  max-width: 880px;
  padding: clamp(48px, 6vw, 92px) var(--gutter) clamp(84px, 9vw, 128px);
}
.pg-hero-in > * {
  animation: pg-rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}
.pg-hero-in > :nth-child(2) { animation-delay: 0.08s; }
.pg-hero-in > :nth-child(3) { animation-delay: 0.16s; }
.pg-hero-in > :nth-child(4) { animation-delay: 0.24s; }
.pg-hero-in > :nth-child(5) { animation-delay: 0.32s; }
@keyframes pg-rise {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
}
.pg-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.7);
}
.pg-crumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: rgba(255, 255, 255, 0.4);
}
.pg-crumbs a:hover {
  color: var(--gold);
}
.pg-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.pg-eyebrow::before {
  content: "";
  flex: none;
  width: 38px;
  height: 3px;
  border-radius: 3px;
  background: var(--gold);
}
.pg-hero h1 {
  margin-bottom: 18px;
  font-size: clamp(34px, 4.4vw, 60px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--white);
}
.pg-hero h1 em {
  color: var(--gold);
}
.pg-lead {
  max-width: 640px;
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}
.pg-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.pg-hero .button-line,
.cta-band .button-line {
  border-color: rgba(255, 255, 255, 0.75);
  color: var(--white);
}
.pg-hero .button-line:hover,
.cta-band .button-line:hover {
  background: var(--white);
  color: var(--navy-deep);
}
.pg-wave {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  z-index: 3;
  display: block;
  width: 100%;
  height: clamp(36px, 5vw, 70px);
  fill: var(--paper);
}

/* ---------- Sections ---------- */
.pg-section {
  padding: clamp(56px, 7vw, 100px) var(--gutter);
  scroll-margin-top: 80px;
}
.pg-alt {
  background: var(--cream);
}
.pg-blue {
  background: var(--diff-bg);
}
.pg-head {
  max-width: 760px;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.pg-head-center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}
.pg-head-center .pg-eyebrow {
  justify-content: center;
}
.pg-head .pg-eyebrow {
  color: var(--green);
}
.pg-head .pg-eyebrow::before {
  background: var(--green);
}
.pg-head h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.pg-head h2 em {
  color: var(--red);
}
.pg-head p {
  margin: 0;
  font-size: 17px;
  color: var(--muted);
}
.pg-prose p {
  margin: 0 0 14px;
  font-size: 16.5px;
  color: var(--muted);
}
.pg-prose p.pg-big {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink);
}

/* Liste à coches */
.check {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.check li {
  position: relative;
  padding-left: 26px;
  font-size: 15.5px;
  line-height: 1.5;
}
.check li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 2px;
  width: 12px;
  height: 2px;
  background: var(--red);
}

/* Puces / étiquettes */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.chips li,
.chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--white);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--navy);
}

/* Lien fléché */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 600;
  color: var(--navy);
}
.arrow-link .icon {
  transition: transform 0.25s;
}
.arrow-link:hover {
  color: var(--red);
}
.arrow-link:hover .icon {
  transform: translateX(4px);
}

/* Sommaire en puces (ancres de la page) */
.pg-index {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pg-index a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px 0 8px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--white);
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.pg-index a:hover {
  border-color: var(--gold);
  box-shadow: 0 10px 24px -14px rgba(6, 31, 62, 0.45);
  transform: translateY(-2px);
}
.pg-index-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
}
.pg-index-icon .svc-icon {
  width: 17px;
  height: 17px;
}

/* ---------- Services : présentation en liste, texte rédigé ---------- */
.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: start;
}
.intro h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.intro p {
  margin: 0 0 14px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
}
.text-link {
  font-weight: 600;
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: rgba(8, 47, 91, 0.3);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
  transition: color 0.2s, text-decoration-color 0.2s;
}
.text-link:hover {
  color: var(--red);
  text-decoration-color: currentColor;
}
.svc-list {
  border-top: 1px solid rgba(8, 47, 91, 0.2);
}
.svc-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 0.85fr) minmax(0, 1.15fr) minmax(0, 0.85fr);
  grid-template-areas: "no head body list";
  gap: clamp(20px, 3vw, 48px);
  padding: clamp(32px, 4vw, 56px) 0;
  border-bottom: 1px solid rgba(8, 47, 91, 0.2);
  scroll-margin-top: 100px;
}
.svc-no {
  grid-area: no;
  padding-top: 7px;
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--red);
}
.svc-head {
  grid-area: head;
}
.svc-head h3 {
  margin: 0 0 20px;
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.svc-photo {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  background: var(--navy);
}
.svc-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.svc-row:hover .svc-photo img {
  transform: scale(1.04);
}
.svc-body {
  grid-area: body;
}
.svc-body p {
  margin: 0 0 16px;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink);
}
.svc-body .text-link {
  display: inline-block;
  margin-top: 6px;
}
.svc-items {
  grid-area: list;
}
.svc-items h4 {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}
.svc-items ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.svc-items li {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
  line-height: 1.45;
}
.svc-items li:last-child {
  border-bottom: 0;
}

/* Deux liens en photo vers les sous-rubriques */
.duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.duo a {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 300px;
  padding: 26px;
  overflow: hidden;
  border-radius: 8px;
  color: var(--white);
  isolation: isolate;
}
.duo img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.duo a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(6, 31, 62, 0.15) 20%, rgba(6, 31, 62, 0.92) 100%);
}
.duo a:hover img {
  transform: scale(1.04);
}
.duo h3 {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 500;
  color: var(--white);
}
.duo p {
  max-width: 420px;
  margin: 0;
  font-size: 15.5px;
  color: rgba(255, 255, 255, 0.86);
}
.duo span {
  display: inline-block;
  margin-top: 12px;
  font-weight: 600;
  color: var(--gold);
}

/* ---------- Étapes (déroulé d'une mission, inscription, commande) ---------- */
.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(var(--steps, 4), minmax(0, 1fr));
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.steps li {
  padding-top: 18px;
  border-top: 2px solid var(--navy);
}
.steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--red);
}
.steps h3 {
  margin-bottom: 6px;
  font-size: 17px;
  font-weight: 600;
}
.steps p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

/* ---------- Colonnes de texte (raisons, valeurs, renvois) ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
  gap: 32px 28px;
}
.card {
  padding-top: 20px;
  border-top: 1px solid rgba(8, 47, 91, 0.25);
}
.card-icon {
  display: block;
  margin-bottom: 12px;
  color: var(--navy);
}
.card-icon .svc-icon {
  width: 26px;
  height: 26px;
}
.card h3 {
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
}
.card p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--muted);
}
.card .arrow-link {
  margin-top: 8px;
}

/* Liste de définitions (organisation des formations) */
.info-list {
  margin: 0;
  border-top: 1px solid rgba(8, 47, 91, 0.2);
}
.info-list div {
  display: grid;
  grid-template-columns: minmax(0, 180px) minmax(0, 1fr);
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.info-list dt {
  font-weight: 600;
  color: var(--navy);
}
.info-list dd {
  margin: 0;
  color: var(--ink);
}

/* ---------- Chiffres clés ---------- */
.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.facts div {
  padding: 24px 22px;
}
.facts div + div {
  border-left: 1px solid var(--line);
}
.facts dd {
  margin: 0 0 4px;
  font-size: clamp(34px, 3.4vw, 46px);
  font-weight: 600;
  line-height: 1;
  color: var(--navy);
}
.facts dt {
  font-size: 14.5px;
  color: var(--muted);
}

/* ---------- Mosaïque d'accueil : nos activités ---------- */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.offer {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 420px;
  overflow: hidden;
  border-radius: 10px;
  background: var(--navy-deep);
  color: var(--white);
  isolation: isolate;
}
.offer img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.offer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(6, 31, 62, 0.15) 0%, rgba(6, 31, 62, 0.55) 45%, rgba(6, 31, 62, 0.96) 100%);
  transition: background 0.5s;
}
.offer:hover img {
  transform: scale(1.07);
}
.offer:hover::before {
  background: linear-gradient(180deg, rgba(8, 47, 91, 0.45) 0%, rgba(8, 47, 91, 0.8) 45%, rgba(6, 31, 62, 0.98) 100%);
}
.offer-body {
  margin-top: auto;
  padding: 24px;
}
.offer-tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 10px;
  border-radius: 99px;
  background: var(--gold);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy-deep);
}
.offer h3 {
  margin-bottom: 8px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--white);
}
.offer p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.84);
}
.offer-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--gold);
}
.offer-more .icon {
  transition: transform 0.25s;
}
.offer:hover .offer-more .icon {
  transform: translateX(5px);
}
.offer:focus-visible {
  outline-color: var(--gold);
}
.js .offer-grid.reveal {
  opacity: 1;
  transform: none;
}
.js .offer-grid.reveal .offer {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease calc(var(--n, 0) * 0.1s), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) calc(var(--n, 0) * 0.1s);
}
.js .offer-grid.reveal.visible .offer {
  opacity: 1;
  transform: none;
}

/* ---------- Bandeau de contact en bas de page ---------- */
.cta-band {
  padding: clamp(28px, 4vw, 56px) var(--gutter);
  background: var(--cream);
}
.cta-band-in {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto;
  gap: 24px 40px;
  align-items: center;
  padding: clamp(28px, 3.5vw, 48px);
  border-radius: 10px;
  background: var(--navy-deep);
  color: var(--white);
}
.cta-band h2 {
  margin-bottom: 8px;
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--white);
}
.cta-band p {
  margin: 0;
  font-size: 16.5px;
  color: rgba(255, 255, 255, 0.82);
}
.cta-band p a {
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
}
.cta-band .pg-actions {
  margin: 0;
}
.button-wa {
  background: #25d366;
  color: var(--white);
}
.button-wa:hover {
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35);
}

/* ---------- Filtres ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}
.filter {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--white);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.filter:hover {
  border-color: var(--navy);
}
.filter[aria-pressed="true"] {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}
.is-filtered-out {
  display: none !important;
}

/* ---------- Formations : catalogue en liste dépliable ---------- */
.catalog-group {
  margin-bottom: clamp(36px, 5vw, 56px);
}
.catalog-group:last-of-type {
  margin-bottom: 0;
}
.catalog-group > h3 {
  margin: 0 0 12px;
  font-size: 21px;
  font-weight: 600;
}
.course-row {
  border-top: 1px solid rgba(8, 47, 91, 0.2);
}
.course-row:last-child {
  border-bottom: 1px solid rgba(8, 47, 91, 0.2);
}
.course-row summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px 28px;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
}
.course-row summary::-webkit-details-marker {
  display: none;
}
.course-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--navy-deep);
  transition: color 0.2s;
}
.course-row summary:hover .course-title {
  color: var(--red);
}
.course-dur {
  font-size: 15px;
  color: var(--muted);
}
.course-plus {
  position: relative;
  width: 28px;
  height: 28px;
  border: 1.5px solid rgba(8, 47, 91, 0.3);
  border-radius: 50%;
}
.course-plus::before,
.course-plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 1.5px;
  background: var(--navy);
  transform: translate(-50%, -50%);
  transition: transform 0.25s;
}
.course-plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.course-row[open] .course-plus::after {
  transform: translate(-50%, -50%) rotate(0deg);
}
.course-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px 40px;
  padding: 0 44px 26px 0;
  animation: pg-rise 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.course-detail h4 {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}
.course-detail p {
  margin: 0 0 16px;
  font-size: 15.5px;
  line-height: 1.6;
}
.course-detail ol {
  margin: 0;
  padding-left: 20px;
  font-size: 15.5px;
  line-height: 1.65;
}
.course-detail .text-link {
  display: inline-block;
}

/* ---------- Équipements ---------- */
.gear-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.gear {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 22px 44px -34px rgba(6, 31, 62, 0.6);
  scroll-margin-top: 110px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s;
}
.gear:hover {
  box-shadow: 0 34px 60px -30px rgba(6, 31, 62, 0.6);
  transform: translateY(-6px);
}
.gear-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--navy);
}
.gear-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.gear:hover .gear-media img {
  transform: scale(1.06);
}
.gear-type {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 11px;
  border-radius: 99px;
  background: rgba(6, 31, 62, 0.82);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}
.gear-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px 22px 24px;
}
.gear h3 {
  margin-bottom: 6px;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.25;
}
.gear-use {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}
.gear .check {
  margin-bottom: 20px;
}
.gear .check li {
  font-size: 14.5px;
}
.gear .text-link {
  align-self: flex-start;
  margin-top: auto;
}

/* ---------- Réalisations ---------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 18px;
}
.work {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  animation: pg-rise 0.5s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}
.work-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--navy);
}
.work-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.work-type {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 11px;
  border-radius: 99px;
  background: var(--white);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
}
.work-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px 22px 22px;
}
.work-meta {
  margin: 0 0 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--green);
}
.work h3 {
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}
.work p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}
.work-result {
  margin-top: auto;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--paper);
  font-size: 14.5px;
}
.work-result strong {
  display: block;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
}
.logo-wall {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.logo-wall li {
  display: grid;
  place-items: center;
  min-height: 92px;
  padding: 14px;
  border: 1px dashed rgba(8, 47, 91, 0.3);
  border-radius: 14px;
  background: var(--white);
  font-size: 13.5px;
  text-align: center;
  color: var(--muted);
}
.logo-wall img {
  max-height: 56px;
  width: auto;
  filter: grayscale(1);
  opacity: 0.75;
  transition: filter 0.3s, opacity 0.3s;
}
.logo-wall li:hover img {
  filter: none;
  opacity: 1;
}

/* ---------- Équipe ---------- */
.team {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.member {
  overflow: hidden;
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 22px 44px -34px rgba(6, 31, 62, 0.6);
}
.member-photo {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: linear-gradient(160deg, var(--diff-bg), #cfdbea);
  font-family: var(--serif);
  font-size: 54px;
  font-style: italic;
  color: var(--navy);
}
.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.member:hover .member-photo img {
  transform: scale(1.05);
}
.member-body {
  padding: 18px 20px 22px;
}
.member h3 {
  margin-bottom: 2px;
  font-size: 18px;
  font-weight: 600;
}
.member-role {
  margin: 0 0 10px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--red);
}
.member p:last-child {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--muted);
}

/* ---------- Deux colonnes : texte + photo ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}
.split-media {
  position: relative;
  margin: 0;
  isolation: isolate;
}
.split-media img {
  width: 100%;
  aspect-ratio: 5 / 4;
  border-radius: 12px;
  object-fit: cover;
}


/* ---------- Implantations ---------- */
.offices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.office-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  padding: 26px;
  border-radius: 10px;
  background: var(--white);
  font-style: normal;
  box-shadow: 0 22px 44px -34px rgba(6, 31, 62, 0.6);
}
.office-flag {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--gold);
}
.office-card h3 {
  margin-bottom: 4px;
  font-size: 20px;
  font-weight: 600;
}
.office-card p {
  margin: 0 0 8px;
  font-size: 15px;
  color: var(--muted);
}
.office-card a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-weight: 600;
  color: var(--navy);
}
.office-card a:hover {
  color: var(--red);
}

/* ---------- Contact ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.contact-aside {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 12px;
}
.reach {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 76px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
a.reach:hover {
  border-color: var(--gold);
  box-shadow: 0 16px 34px -24px rgba(6, 31, 62, 0.55);
  transform: translateX(4px);
}
.reach-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--navy);
  color: var(--white);
}
.reach-icon svg {
  width: 22px;
  height: 22px;
}
.reach-wa .reach-icon {
  background: #25d366;
}
.reach small {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
}
.reach strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy-deep);
  overflow-wrap: anywhere;
}
.reach > .icon {
  color: var(--muted);
}
.contact-note {
  margin: 6px 0 0;
  padding: 16px 18px;
  border-radius: 10px;
  background: var(--diff-bg);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink);
}

.form-card {
  padding: clamp(22px, 3vw, 40px);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 30px 70px -44px rgba(6, 31, 62, 0.7);
  scroll-margin-top: 100px;
}
.form-card h2 {
  margin-bottom: 6px;
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.form-card > p {
  margin: 0 0 24px;
  color: var(--muted);
}
.form-card fieldset {
  min-width: 0;
  margin: 0 0 22px;
  padding: 0;
  border: 0;
}
.form-card legend {
  margin-bottom: 12px;
  padding: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
}
.need-choices {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.need {
  position: relative;
}
.need input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.need label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  height: 100%;
  min-height: 104px;
  padding: 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--navy-deep);
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.need label .svc-icon {
  flex: none;
  color: var(--navy);
}
.need label:hover {
  border-color: var(--navy);
}
.need input:checked + label {
  border-color: var(--navy);
  background: var(--diff-bg);
  box-shadow: inset 0 0 0 1px var(--navy);
}
.need input:focus-visible + label {
  outline: 3px solid var(--navy);
  outline-offset: 2px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}
.form-grid .full {
  grid-column: 1 / -1;
}
.field {
  display: grid;
  gap: 6px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy-deep);
}
.field span.opt {
  font-weight: 400;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1.5px solid rgba(8, 47, 91, 0.2);
  border-radius: 12px;
  background: var(--paper);
  font-size: 16px;
  font-weight: 400;
  color: var(--ink);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.field textarea {
  min-height: 120px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--navy);
  background: var(--white);
  outline: none;
  box-shadow: 0 0 0 4px rgba(8, 47, 91, 0.12);
}
.form-card .need-panel {
  padding: 18px;
  border-radius: 10px;
  background: var(--paper);
}
/* La légende reste à l'intérieur du bloc coloré */
.need-panel legend {
  float: left;
  width: 100%;
}
.need-panel legend + * {
  clear: both;
}
.need-panel .field input,
.need-panel .field select,
.need-panel .field textarea {
  background: var(--white);
}
.js .need-panel[hidden] {
  display: none;
}
.need-panel:not([hidden]) {
  animation: pg-rise 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.radio-row label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  font-size: 15px;
  cursor: pointer;
}
.radio-row input,
.consent input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--navy);
}
.consent {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin: 4px 0 22px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink);
}
.consent input {
  margin-top: 3px;
}
.consent a,
.form-foot a {
  font-weight: 600;
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.form-submit {
  width: 100%;
  min-height: 54px;
  background: var(--gold);
  color: var(--navy-deep);
  font-size: 16px;
}
.form-submit:hover {
  box-shadow: 0 12px 28px rgba(242, 196, 19, 0.4);
}
.form-foot {
  margin: 14px 0 0;
  font-size: 13.5px;
  color: var(--muted);
}

/* ---------- Pages légales ---------- */
.legal {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 760px);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.legal-toc {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 2px;
  padding: 18px;
  border-radius: 10px;
  background: var(--white);
  font-size: 14.5px;
}
.legal-toc strong {
  margin-bottom: 6px;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
}
.legal-toc a {
  display: block;
  padding: 7px 10px;
  border-radius: 10px;
  color: var(--navy);
}
.legal-toc a:hover {
  background: var(--paper);
}
.legal-body h2 {
  margin: 0 0 14px;
  padding-top: 8px;
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 500;
  letter-spacing: -0.02em;
  scroll-margin-top: 110px;
}
.legal-body h2:not(:first-child) {
  margin-top: 44px;
}
.legal-body h3 {
  margin: 26px 0 8px;
  font-size: 18px;
  font-weight: 600;
  scroll-margin-top: 110px;
}
.legal-body p,
.legal-body li {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
}
.legal-body p {
  margin: 0 0 12px;
}
.legal-body ul {
  margin: 0 0 14px;
  padding-left: 20px;
}
.legal-body a {
  font-weight: 600;
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-body dl {
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  gap: 8px 18px;
  margin: 0 0 14px;
  padding: 18px 20px;
  border-radius: 10px;
  background: var(--white);
}
.legal-body dt {
  font-weight: 600;
  color: var(--navy);
}
.legal-body dd {
  margin: 0;
}
.legal-date {
  font-size: 14.5px;
  color: var(--muted);
}

/* Liens légaux du pied de page */
.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
}
.footer-legal-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  text-underline-offset: 3px;
}
.footer-legal-links a:hover {
  color: var(--gold);
}

/* ---------- Page Formations ---------- */
.train-band {
  position: relative;
  margin-top: -1px;
  padding: 0 var(--gutter);
  background: var(--paper);
}
.train-stats {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: clamp(-56px, -4vw, -32px) 0 0;
  overflow: hidden;
  border-radius: 12px;
  background: var(--navy-deep);
  box-shadow: 0 30px 60px -40px rgba(6, 31, 62, 0.8);
}
.train-stats div {
  padding: clamp(20px, 2.4vw, 32px) clamp(18px, 2vw, 28px);
}
.train-stats div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}
.train-stats dd {
  margin: 0 0 6px;
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 600;
  line-height: 1;
  color: var(--gold);
}
.train-stats dt {
  font-size: 14.5px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
}
.catalog-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(32px, 4vw, 52px);
}
.domain-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.domain-nav a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px 0 6px;
  border: 1px solid rgba(8, 47, 91, 0.18);
  border-radius: 99px;
  background: var(--white);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy);
  transition: border-color 0.25s, background 0.25s, color 0.25s;
}
.domain-nav a span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--navy);
  font-size: 12.5px;
  color: var(--white);
  transition: background 0.25s;
}
.domain-nav a:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}
.domain-nav a:hover span {
  background: var(--gold);
  color: var(--navy-deep);
}
.domains {
  display: grid;
  gap: clamp(24px, 3vw, 40px);
}
.domain {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  overflow: hidden;
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 30px 60px -48px rgba(6, 31, 62, 0.7);
  scroll-margin-top: 100px;
}
.domain:nth-child(even) .domain-media {
  order: 2;
}
.domain-media {
  position: relative;
  min-height: 420px;
  margin: 0;
  overflow: hidden;
  background: var(--navy);
}
.domain-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.domain:hover .domain-media img {
  transform: scale(1.04);
}
.domain-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 31, 62, 0) 45%, rgba(6, 31, 62, 0.85) 100%);
}
.domain-media figcaption {
  position: absolute;
  right: 24px;
  bottom: 22px;
  left: 24px;
  z-index: 1;
}
.domain-count {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
  color: var(--white);
}
.domain-count strong {
  font-size: 48px;
  font-weight: 600;
  line-height: 1;
  color: var(--gold);
}
.domain-body {
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 3.4vw, 48px);
}
.domain-no {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
}
.domain-body h3 {
  margin: 0 0 12px;
  font-size: clamp(23px, 2.2vw, 30px);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.015em;
}
.domain-intro {
  max-width: 620px;
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
}
.tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}
.tiles li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  padding: 12px 16px;
  overflow: hidden;
  border: 1px solid rgba(8, 47, 91, 0.12);
  border-radius: 10px;
  background: var(--paper);
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--navy-deep);
  transition: border-color 0.3s, background 0.3s, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
/* Survol : un filet doré apparaît sur le bord gauche */
.tiles li::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: var(--gold);
  transform: scaleY(0);
  transition: transform 0.3s;
}
.tiles li:hover {
  border-color: rgba(8, 47, 91, 0.25);
  background: var(--white);
  transform: translateX(3px);
}
.tiles li:hover::before {
  transform: scaleY(1);
}
.tile-no {
  flex: none;
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--red);
}
.domain-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.domain-foot span {
  font-size: 14.5px;
  color: var(--muted);
}
/* Domaine avec beaucoup de formations : photo en bandeau, liste sur trois colonnes */
.domain-wide {
  grid-template-columns: minmax(0, 1fr);
}
.domain-wide .domain-media {
  order: 0 !important;
  min-height: 300px;
}
.domain-wide .tiles {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.domain-wide .domain-intro {
  max-width: 760px;
}
@media (max-width: 1100px) {
  .domain-wide .tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .train-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .train-stats div:nth-child(3) {
    border-left: 0;
  }
  .train-stats div:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
  .domain {
    grid-template-columns: minmax(0, 1fr);
  }
  .domain:nth-child(even) .domain-media {
    order: 0;
  }
  .domain-media {
    min-height: 260px;
  }
}
@media (max-width: 640px) {
  .tiles,
  .domain-wide .tiles {
    grid-template-columns: minmax(0, 1fr);
  }
  .domain-media {
    min-height: 210px;
  }
  .domain-foot .button {
    flex: 1 1 100%;
  }
}

/* Formations : liste de liens par groupe */
.catalog-intro {
  margin: -4px 0 14px;
  color: var(--muted);
}
.course-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.course-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(8, 47, 91, 0.16);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--navy-deep);
  transition: color 0.2s, padding 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.course-list .icon {
  flex: none;
  width: 18px;
  height: 18px;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.25s, transform 0.3s;
}
.course-list a:hover {
  padding-left: 8px;
  color: var(--red);
}
.course-list a:hover .icon {
  opacity: 1;
  transform: none;
}
.svc-goal {
  padding-left: 14px;
  border-left: 3px solid var(--gold);
  font-weight: 600;
  color: var(--navy) !important;
}
.gear-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.gear-grid-2 .gear-media {
  aspect-ratio: 16 / 8;
}
@media (max-width: 1100px) {
  .course-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .course-list,
  .gear-grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Liste « Pourquoi choisir » sur deux colonnes */
.why-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 40px;
  max-width: 980px;
}
.why-list li {
  padding: 16px 0 16px 30px;
  border-bottom: 1px solid var(--line);
  font-size: 17.5px;
  font-weight: 500;
  color: var(--navy-deep);
}
.why-list li::before {
  top: 1.55em;
}
@media (max-width: 760px) {
  .why-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Titre de l'accueil (texte long fourni par la cliente) */
.top h1.h1-long {
  font-size: clamp(32px, 3vw, 52px);
  line-height: 1.1;
}
@media (max-width: 640px) {
  .top h1.h1-long {
    font-size: clamp(28px, 8.2vw, 36px);
  }
  .top h1.h1-long .line {
    display: inline;
    white-space: normal;
  }
}

/* ---------- Animations (discrètes, coupées si l'utilisateur réduit les animations) ---------- */
/* Bandeau des secteurs qui défile sur l'accueil */
.ticker {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding: 22px 0 22px var(--gutter);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.ticker-label {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  white-space: nowrap;
}
.ticker-track {
  display: flex;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ticker-list {
  display: flex;
  flex: none;
  margin: 0;
  padding: 0;
  list-style: none;
  animation: ticker 55s linear infinite;
}
.ticker:hover .ticker-list {
  animation-play-state: paused;
}
.ticker-list li {
  display: flex;
  align-items: center;
}
.ticker-list li::after {
  content: "";
  width: 6px;
  height: 6px;
  margin: 0 22px;
  border-radius: 50%;
  background: var(--gold);
}
.ticker-list a {
  font-size: 17px;
  font-weight: 500;
  color: var(--navy-deep);
  white-space: nowrap;
  transition: color 0.2s;
}
.ticker-list a:hover {
  color: var(--red);
}
@keyframes ticker {
  to {
    transform: translateX(-100%);
  }
}

/* Titres de section : le texte monte derrière un masque */
.js .reveal-title {
  overflow: hidden;
}
.js .reveal-title > span {
  display: inline-block;
  transform: translateY(105%);
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.05s;
}
.js .reveal-title.is-in > span {
  transform: none;
}

/* Listes : les éléments arrivent l'un après l'autre */
.js .stagger > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--i, 0) * 70ms + 80ms);
}
.js .stagger.is-in > * {
  opacity: 1;
  transform: none;
}
.js .reveal.stagger,
.js .reveal:has(> .stagger) {
  opacity: 1;
  transform: none;
}

/* Étapes : le filet du haut se trace de gauche à droite */
.js .steps li {
  border-top-color: transparent;
  background: linear-gradient(var(--navy), var(--navy)) top left / 0 2px no-repeat;
  transition: background-size 0.9s cubic-bezier(0.65, 0, 0.15, 1), opacity 0.6s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--i, 0) * 140ms + 80ms);
}
.js .steps.is-in li {
  background-size: 100% 2px;
}

/* Photos : dévoilement à l'arrivée, puis léger décalage au défilement */
.js .img-reveal {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.1s cubic-bezier(0.65, 0, 0.15, 1);
}
.js .img-reveal.is-in {
  clip-path: inset(0 0 0 0);
}
.parallax img {
  transform: translateY(var(--py, 0px)) scale(1.08);
  will-change: transform;
}
.svc-row:hover .svc-photo.parallax img,
.duo a.parallax:hover img,
.offer.parallax:hover img {
  transform: translateY(var(--py, 0px)) scale(1.12);
}
.split-media {
  overflow: hidden;
  border-radius: 12px;
}

/* Bandeau de contact : reflet lent qui traverse le fond */
.cta-band-in {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.cta-band-in::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.07) 50%, transparent 65%);
  transform: translateX(-100%);
  animation: sheen 7s ease-in-out infinite 1.5s;
}
@keyframes sheen {
  0% { transform: translateX(-100%); }
  45%, 100% { transform: translateX(100%); }
}

@media (max-width: 640px) {
  .ticker {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding-right: 0;
  }
  .ticker-list a {
    font-size: 15.5px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-list {
    animation: none;
  }
  .ticker-track {
    overflow-x: auto;
  }
  .js .reveal-title > span,
  .js .stagger > * {
    opacity: 1;
    transform: none;
  }
  .js .steps li {
    background-size: 100% 2px;
  }
  .js .img-reveal {
    clip-path: none;
  }
  .parallax img {
    transform: none;
  }
  .cta-band-in::before {
    display: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .svc-row {
    grid-template-columns: 40px minmax(0, 0.9fr) minmax(0, 1.1fr);
    grid-template-areas: "no head body" "no head list";
    row-gap: 8px;
  }
}
@media (max-width: 760px) {
  .svc-row {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "no" "head" "body" "list";
    row-gap: 14px;
  }
  .svc-no {
    padding: 0;
  }
  .course-row summary {
    grid-template-columns: minmax(0, 1fr) 28px;
    gap: 4px 14px;
  }
  .course-dur {
    grid-row: 2;
  }
  .course-plus {
    grid-row: 1 / span 2;
    grid-column: 2;
  }
  .course-detail {
    grid-template-columns: minmax(0, 1fr);
    padding-right: 0;
  }
  .info-list div {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
}
@media (max-width: 1240px) {
  .offer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .offer {
    min-height: 360px;
  }
  .team {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .need-choices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .need label {
    min-height: 0;
    flex-direction: row;
    align-items: center;
  }
}
@media (max-width: 1100px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gear-grid,
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .logo-wall {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .contact-aside {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .contact-note {
    grid-column: 1 / -1;
  }
  .cta-band-in {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 900px) {
  .intro {
    grid-template-columns: minmax(0, 1fr);
  }
  .split {
    grid-template-columns: minmax(0, 1fr);
  }
  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .facts div:nth-child(3) {
    border-left: 0;
  }
  .facts div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .legal {
    grid-template-columns: minmax(0, 1fr);
  }
  .legal-toc {
    position: static;
  }
  .offices {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 640px) {
  .pg-lead {
    font-size: 16.5px;
  }
  .pg-hero-in {
    padding-bottom: 76px;
  }
  .pg-actions .button {
    flex: 1 1 100%;
  }
  .offer-grid,
  .gear-grid,
  .cards,
  .steps,
  .need-choices,
  .form-grid,
  .duo,
  .contact-aside {
    grid-template-columns: minmax(0, 1fr);
  }
  .offer {
    min-height: 320px;
  }
  .logo-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .facts div {
    padding: 20px 14px;
  }
  .team {
    gap: 12px;
  }
  .member-body {
    padding: 14px;
  }
  .member h3 {
    font-size: 16px;
  }
  .legal-body dl {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }
  .legal-body dd {
    margin-bottom: 10px;
  }
  .reach > .icon {
    display: none;
  }
  .reach {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .reach strong {
    font-size: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pg-hero-bg {
    transform: none;
  }
  .js .offer-grid.reveal .offer {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   Entêtes sans photo : un style par page
   ========================================================= */
.pg-hero--about,
.pg-hero--services,
.pg-hero--contact,
.pg-hero--legal {
  display: grid;
  align-items: center;
}
.pg-hero--about::before,
.pg-hero--legal::before {
  display: none;
}
.pg-hero--about .pg-hero-in,
.pg-hero--contact .pg-hero-in {
  max-width: none;
  padding-bottom: clamp(56px, 7vw, 96px);
}
.pg-hero--about .qhse {
  margin-top: clamp(32px, 4vw, 56px);
}

/* Entêtes clairs : texte foncé */
.pg-hero--about,
.pg-hero--legal {
  color: var(--ink);
}
.pg-hero--about h1,
.pg-hero--legal h1 {
  color: var(--navy-deep);
}
.pg-hero--about h1 em,
.pg-hero--legal h1 em {
  color: var(--red);
}
.pg-hero--about .pg-lead,
.pg-hero--legal .pg-lead {
  color: var(--muted);
}
.pg-hero--about .pg-crumbs,
.pg-hero--legal .pg-crumbs {
  color: var(--muted);
}
.pg-hero--about .pg-crumbs li + li::before,
.pg-hero--legal .pg-crumbs li + li::before {
  color: rgba(8, 47, 91, 0.35);
}
.pg-hero--about .pg-crumbs a:hover,
.pg-hero--legal .pg-crumbs a:hover {
  color: var(--red);
}
.pg-hero--about .button-line {
  border-color: var(--navy);
  color: var(--navy);
}
.pg-hero--about .button-line:hover {
  background: var(--navy);
  color: var(--white);
}

/* ---------- À propos : les lettres QHSE s'allument tour à tour ---------- */
.pg-hero--about {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: linear-gradient(160deg, var(--white) 0%, var(--cream) 100%);
}
.qhse {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(8px, 1vw, 14px);
  margin: 0 var(--gutter) clamp(40px, 5vw, 72px) 0;
  padding: 0;
  list-style: none;
}
.qhse li {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 1 / 1.7;
  padding: clamp(10px, 1.2vw, 16px);
  border: 1px solid rgba(8, 47, 91, 0.12);
  border-radius: 18px;
  background: var(--white);
  color: var(--navy-deep);
  animation: qhse-in 0.9s cubic-bezier(0.16, 1, 0.3, 1) backwards, qhse-lit 10s ease-in-out infinite;
  animation-delay: calc(0.2s + var(--n) * 0.1s), calc(1.4s + var(--n) * 2s);
}
.qhse li:nth-child(even) {
  margin-top: 26%;
}
.qhse b {
  font-size: clamp(44px, 5vw, 80px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}
.qhse span {
  margin-top: 8px;
  font-size: clamp(11px, 0.95vw, 13.5px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.02em;
}
@keyframes qhse-in {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
}
@keyframes qhse-lit {
  0%,
  20%,
  100% {
    border-color: rgba(8, 47, 91, 0.12);
    background: var(--white);
    color: var(--navy-deep);
  }
  4%,
  16% {
    border-color: transparent;
    background: linear-gradient(160deg, #c8102e, #f26a21);
    color: var(--white);
  }
}

/* ---------- Contact : ondes autour de l'enveloppe, coordonnées qui flottent ---------- */
.pg-hero--contact {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, #0d3f78 100%);
}
.pg-hero--contact::before {
  background: none;
}
.signal {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: min(100%, 440px);
  aspect-ratio: 1;
  margin: 0 var(--gutter) clamp(32px, 4vw, 56px) auto;
}
.signal-core {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #f26a21);
  color: var(--navy-deep);
  box-shadow: 0 20px 44px -16px rgba(242, 196, 19, 0.6);
}
.signal-core svg {
  width: 46px;
  height: 46px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.signal-ring {
  position: absolute;
  inset: 30%;
  border: 2px solid rgba(242, 196, 19, 0.5);
  border-radius: 50%;
  animation: signal-wave 4.5s ease-out infinite;
  animation-delay: calc(var(--n) * -1.5s);
}
@keyframes signal-wave {
  from {
    opacity: 0.9;
    transform: scale(0.6);
  }
  to {
    opacity: 0;
    transform: scale(2.1);
  }
}
.signal-chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 14.5px;
  font-weight: 600;
  white-space: nowrap;
  animation: chip-in 0.8s cubic-bezier(0.34, 1.4, 0.64, 1) backwards, chip-float 6s ease-in-out infinite alternate;
  animation-delay: calc(0.5s + var(--n) * 0.18s), calc(var(--n) * -2s);
  transition: background 0.25s, border-color 0.25s;
}
.signal-chip:hover {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.2);
}
.signal-chip small {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--gold);
}
.signal-chip:nth-of-type(1) {
  top: 8%;
  left: 0;
}
.signal-chip:nth-of-type(2) {
  bottom: 6%;
  left: 4%;
}
.signal-chip:nth-of-type(3) {
  top: 22%;
  right: 0;
}
@keyframes chip-in {
  from {
    opacity: 0;
    scale: 0.6;
  }
}
@keyframes chip-float {
  to {
    transform: translateY(-14px);
  }
}

/* ---------- Mentions légales : document qui se dessine, fond quadrillé ---------- */
.pg-hero--legal {
  grid-template-columns: minmax(0, 1fr) auto;
  background-color: var(--paper);
  background-image: linear-gradient(rgba(8, 47, 91, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(8, 47, 91, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  animation: legal-grid 24s linear infinite;
  border-bottom: 1px solid var(--line);
}
@keyframes legal-grid {
  to {
    background-position: 32px 32px;
  }
}
.pg-hero--legal .pg-hero-in {
  padding-bottom: clamp(44px, 5vw, 72px);
}
.legal-doc {
  position: relative;
  z-index: 2;
  width: clamp(150px, 18vw, 230px);
  margin-right: var(--gutter);
  color: var(--navy);
}
.legal-doc svg {
  display: block;
  width: 100%;
  height: auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.legal-doc .draw {
  stroke-dasharray: 1;
  animation: doc-draw 1.6s ease-in-out backwards;
  animation-delay: calc(0.2s + var(--n) * 0.18s);
}
.legal-doc .seal {
  stroke: var(--red);
  animation: doc-draw 1s ease-in-out 1.5s backwards, seal-pulse 3s ease-in-out 2.6s infinite;
  transform-box: fill-box;
  transform-origin: center;
}
@keyframes doc-draw {
  from {
    stroke-dashoffset: 1;
  }
}
@keyframes seal-pulse {
  50% {
    transform: scale(1.08);
  }
}

/* ---------- Contact : panneau de coordonnées sur fond bleu ---------- */
.contact-aside {
  padding: clamp(20px, 2.4vw, 30px);
  border-radius: 18px;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  box-shadow: 0 30px 60px -36px rgba(6, 31, 62, 0.8);
  color: var(--white);
}
.contact-aside-head {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--white);
}
.contact-aside-head + p {
  margin: 0 0 8px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.78);
}
.contact-aside .reach {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
}
.contact-aside a.reach:hover {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.13);
}
.contact-aside .reach small {
  color: var(--gold);
}
.contact-aside .reach strong {
  color: var(--white);
}
.contact-aside .reach > .icon {
  color: rgba(255, 255, 255, 0.7);
  transition: transform 0.3s;
}
.contact-aside a.reach:hover > .icon {
  transform: translateX(4px);
}
.contact-aside .reach-icon {
  background: var(--gold);
  color: var(--navy-deep);
}
.contact-aside .reach-wa .reach-icon {
  background: #25d366;
  color: var(--white);
}
.contact-aside .contact-note {
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.86);
}
.contact-aside .contact-note strong {
  color: var(--gold);
}
/* Les coordonnées arrivent l'une après l'autre */
.js .contact-aside.visible > * {
  animation: reach-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}
.js .contact-aside.visible > :nth-child(2) { animation-delay: 0.06s; }
.js .contact-aside.visible > :nth-child(3) { animation-delay: 0.12s; }
.js .contact-aside.visible > :nth-child(4) { animation-delay: 0.18s; }
.js .contact-aside.visible > :nth-child(5) { animation-delay: 0.24s; }
.js .contact-aside.visible > :nth-child(6) { animation-delay: 0.3s; }
.js .contact-aside.visible > :nth-child(7) { animation-delay: 0.36s; }
@keyframes reach-in {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }
}
/* Formulaire : liseré animé en haut, champ actif qui s'éclaire */
.form-card {
  position: relative;
  overflow: hidden;
}
.form-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--navy), var(--gold), #f26a21, #c8102e, var(--navy));
  background-size: 300% 100%;
  animation: card-line 8s linear infinite;
}
@keyframes card-line {
  to {
    background-position: 300% 0;
  }
}
.form-card .field input,
.form-card .field select,
.form-card .field textarea {
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.form-card .field input:focus,
.form-card .field select:focus,
.form-card .field textarea:focus {
  box-shadow: 0 0 0 4px rgba(242, 196, 19, 0.28);
}

@media (max-width: 1000px) {
  .pg-hero--about,
  .pg-hero--contact {
    grid-template-columns: minmax(0, 1fr);
  }
  .pg-hero--about .pg-hero-in,
  .pg-hero--contact .pg-hero-in {
    padding-bottom: 24px;
  }
  .qhse {
    margin: 0 var(--gutter) 48px;
  }
  .signal {
    width: min(100% - 48px, 360px);
    margin: 0 auto 48px;
  }
}
@media (max-width: 640px) {
  .pg-hero--legal {
    grid-template-columns: minmax(0, 1fr);
  }
  .legal-doc {
    display: none;
  }
  .qhse li {
    aspect-ratio: 1 / 2.1;
  }
  .signal-chip {
    padding: 8px 12px;
    font-size: 13px;
  }
  .qhse {
    gap: 6px;
  }
  .qhse li {
    justify-content: space-between;
    padding: 8px 6px;
  }
  /* Le mot passe à la verticale pour tenir dans la tuile */
  .qhse span {
    order: -1;
    margin: 0;
    font-size: 11px;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    align-self: flex-start;
  }
  .signal-core {
    width: 88px;
    height: 88px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .qhse li,
  .kw-row,
  .signal-ring,
  .signal-chip,
  .legal-doc .draw,
  .legal-doc .seal,
  .pg-hero--legal,
  .form-card::before,
  .js .contact-aside.visible > * {
    animation: none;
  }
  .kw-rows {
    overflow-x: auto;
  }
}

/* ---------- Services : icônes qui apparaissent et disparaissent sur le fond bleu ---------- */
.hero-icons {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
}
.hero-icons svg {
  position: absolute;
  width: clamp(34px, 3.6vw, 56px);
  height: clamp(34px, 3.6vw, 56px);
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  animation: icon-blink 9s ease-in-out infinite;
  animation-delay: calc(var(--n) * 0.9s);
}
.hero-icons svg:nth-child(even) {
  stroke: rgba(255, 255, 255, 0.85);
}
@keyframes icon-blink {
  0%,
  100% {
    opacity: 0;
    transform: translateY(14px) scale(0.7) rotate(-8deg);
  }
  15%,
  45% {
    opacity: 0.55;
    transform: none;
  }
  60% {
    opacity: 0;
    transform: translateY(-14px) scale(0.85) rotate(6deg);
  }
}
.pg-hero--services .pg-hero-in {
  padding-bottom: clamp(84px, 9vw, 128px);
}
@media (max-width: 900px) {
  .hero-icons {
    opacity: 0.45;
  }
}

/* ---------- Contact : petite scène d'appel ---------- */
.call {
  position: relative;
  z-index: 2;
  width: min(100%, 460px);
  margin: 0 var(--gutter) clamp(40px, 5vw, 64px) auto;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.07);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  --t: 10s;
}
.call-people {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}
.call-person {
  display: grid;
  justify-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}
.face {
  width: 78px;
  height: 78px;
}
.face .skin {
  fill: #8d5a3b;
}
.face .hair {
  fill: #1c1410;
}
.face .feat {
  fill: none;
  stroke: #1c1410;
  stroke-width: 2.6;
  stroke-linecap: round;
}
.face .helmet {
  fill: var(--gold);
}
.face .cloth-a {
  fill: var(--navy-deep);
}
.face .cloth-b {
  fill: #c8102e;
}
/* La cliente passe d'un air préoccupé au sourire */
.mouth-worry {
  animation: show-worry var(--t) linear infinite;
}
.mouth-smile {
  opacity: 0;
  animation: show-smile var(--t) linear infinite;
}
@keyframes show-worry {
  0%, 70% { opacity: 1; }
  72%, 98% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes show-smile {
  0%, 70% { opacity: 0; }
  72%, 98% { opacity: 1; }
  100% { opacity: 0; }
}
/* Combiné : il sonne, puis le conseiller décroche */
.call-line {
  position: relative;
  display: grid;
  place-items: center;
  height: 78px;
}
.call-line::before {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  top: 50%;
  border-top: 2px dashed rgba(255, 255, 255, 0.25);
}
.call-line::after {
  content: "";
  position: absolute;
  top: calc(50% - 1px);
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), #f26a21);
  transform-origin: left;
  animation: line-connect var(--t) ease-in-out infinite;
}
@keyframes line-connect {
  0%, 16% { transform: scaleX(0); opacity: 1; }
  24%, 96% { transform: scaleX(1); opacity: 1; }
  100% { transform: scaleX(1); opacity: 0; }
}
.call-phone {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #c8102e;
  color: var(--white);
  animation: phone-state var(--t) linear infinite;
}
.call-phone svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
  animation: phone-ring var(--t) linear infinite;
}
@keyframes phone-state {
  0%, 17% { background: #c8102e; box-shadow: 0 0 0 0 rgba(200, 16, 46, 0.6); }
  8% { box-shadow: 0 0 0 14px rgba(200, 16, 46, 0); }
  18%, 100% { background: #22b573; box-shadow: none; }
}
@keyframes phone-ring {
  0%, 2%, 4%, 6%, 8%, 10%, 12%, 14% { transform: rotate(-16deg); }
  1%, 3%, 5%, 7%, 9%, 11%, 13%, 15% { transform: rotate(16deg); }
  17%, 100% { transform: rotate(135deg); }
}
.call-status {
  margin: 14px 0 0;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  color: var(--gold);
}
.call-status {
  display: grid;
}
.call-status span {
  grid-area: 1 / 1;
  animation: status-a var(--t) linear infinite;
}
.call-status span:last-child {
  opacity: 0;
  animation-name: status-b;
}
@keyframes status-a {
  0%, 17% { opacity: 1; }
  18%, 100% { opacity: 0; }
}
@keyframes status-b {
  0%, 17% { opacity: 0; }
  18%, 100% { opacity: 1; }
}
/* Bulles de conversation */
.call-chat {
  display: grid;
  gap: 8px;
  min-height: 150px;
  margin-top: 12px;
}
.bubble {
  max-width: 82%;
  padding: 9px 14px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.4;
  opacity: 0;
  animation: bubble var(--t) ease-out infinite;
}
.bubble-client {
  justify-self: start;
  border-bottom-left-radius: 4px;
  background: var(--white);
  color: var(--navy-deep);
  animation-name: bubble-1;
}
.bubble-pro {
  justify-self: end;
  border-bottom-right-radius: 4px;
  background: var(--gold);
  color: var(--navy-deep);
  animation-name: bubble-2;
}
.bubble-happy {
  justify-self: start;
  border-bottom-left-radius: 4px;
  background: var(--white);
  color: var(--navy-deep);
  animation-name: bubble-3;
}
.bubble-happy b {
  margin-right: 6px;
  letter-spacing: 1px;
  color: #f2a413;
}
@keyframes bubble-1 {
  0%, 24% { opacity: 0; transform: translateY(10px); }
  28%, 96% { opacity: 1; transform: none; }
  100% { opacity: 0; }
}
@keyframes bubble-2 {
  0%, 44% { opacity: 0; transform: translateY(10px); }
  48%, 96% { opacity: 1; transform: none; }
  100% { opacity: 0; }
}
@keyframes bubble-3 {
  0%, 70% { opacity: 0; transform: translateY(10px) scale(0.9); }
  74%, 96% { opacity: 1; transform: none; }
  100% { opacity: 0; }
}
@media (max-width: 1000px) {
  .call {
    margin: 0 auto 48px;
    width: min(100% - 48px, 460px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-icons svg {
    animation: none;
    opacity: 0.4;
  }
  .call *,
  .call *::before,
  .call *::after {
    animation: none !important;
  }
  .bubble,
  .mouth-smile {
    opacity: 1;
  }
  .mouth-worry {
    opacity: 0;
  }
  .call-phone {
    background: #22b573;
  }
  .call-status span:first-child {
    opacity: 0;
  }
  .call-status span:last-child {
    opacity: 1;
  }
}

/* =========================================================
   À propos : entête en collage, équipe, parcours, références
   ========================================================= */
.ab-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
}
.ab-eyebrow span {
  flex: none;
  width: 34px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, #c8102e, #f26a21);
}
.ab-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  padding: clamp(40px, 5vw, 80px) var(--gutter);
  overflow: hidden;
  background: var(--paper);
}
.ab-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  animation: ab-drift 16s ease-in-out infinite alternate;
  pointer-events: none;
}
.ab-blob-1 {
  top: -20%;
  right: 20%;
  width: 46vw;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(242, 196, 19, 0.22), transparent 66%);
}
.ab-blob-2 {
  bottom: -30%;
  left: -10%;
  width: 40vw;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(200, 16, 46, 0.12), transparent 66%);
  animation-direction: alternate-reverse;
}
@keyframes ab-drift {
  to {
    transform: translate(6vw, 4vw) scale(1.15);
  }
}
.ab-hero-copy {
  position: relative;
  z-index: 1;
}
.ab-hero-copy > * {
  animation: pg-rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}
.ab-hero-copy > :nth-child(2) { animation-delay: 0.08s; }
.ab-hero-copy > :nth-child(3) { animation-delay: 0.16s; }
.ab-hero-copy > :nth-child(4) { animation-delay: 0.24s; }
.ab-hero h1 {
  margin-bottom: 18px;
  font-size: clamp(36px, 4.4vw, 62px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--navy-deep);
}
.ab-hero h1 em {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--red);
}
.ab-lead {
  max-width: 560px;
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
}
.ab-hero .button-line {
  border-color: var(--navy);
  color: var(--navy);
}
.ab-hero .button-line:hover {
  background: var(--navy);
  color: var(--white);
}
/* Équipe */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}
.person {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s;
}
.person:not(.person-soon):hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 50px -28px rgba(6, 31, 62, 0.5);
}
.person-photo {
  margin: 0;
  aspect-ratio: 4 / 4.4;
  overflow: hidden;
  background: var(--navy-deep);
}
.person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.person:hover .person-photo img {
  transform: scale(1.05);
}
.person-body {
  padding: 18px 20px 22px;
}
.person-role {
  margin: 0 0 4px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
}
.person h3 {
  margin-bottom: 6px;
  font-size: 22px;
  font-weight: 600;
  color: var(--navy-deep);
}
.person-sub {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}
.person-body p {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}
.person-lead {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
}
.person-lead .person-body {
  align-self: center;
  padding: clamp(22px, 3vw, 44px);
}
.person-lead h3 {
  font-size: clamp(26px, 2.6vw, 36px);
}
.person-lead .person-body > p:not(.person-role):not(.person-sub) {
  font-size: 16px;
}
.person-lead .person-photo {
  aspect-ratio: auto;
  height: 100%;
}
.person-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.person-tags li {
  padding: 4px 10px;
  border-radius: 99px;
  background: rgba(8, 47, 91, 0.07);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--navy);
}
.person-soon {
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 260px;
  padding: 24px;
  border: 2px dashed rgba(8, 47, 91, 0.2);
  background: transparent;
  text-align: center;
}
.person-soon p {
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
}
.soon-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(8, 47, 91, 0.07);
  font-size: 28px;
  color: var(--navy);
  animation: soon-pulse 2.6s ease-in-out infinite;
}
@keyframes soon-pulse {
  50% {
    box-shadow: 0 0 0 10px rgba(242, 196, 19, 0.18);
  }
}

@media (max-width: 1100px) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .refs-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .refs-world {
    grid-column: 1 / -1;
  }
}
@media (max-width: 900px) {
  .ab-hero,
  .ab-path-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .ab-path-head {
    position: static;
  }
  .ab-highlight {
    aspect-ratio: 16 / 11;
  }
  .ab-collage {
    width: min(100%, 520px);
    margin: 0 auto;
  }
}
@media (max-width: 640px) {
  .team-grid,
  .person-lead,
  .refs-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .person-lead .person-photo {
    aspect-ratio: 4 / 4.4;
    height: auto;
  }
  .person-soon {
    min-height: 140px;
  }
  .ab-chip {
    max-width: 170px;
    padding: 8px 12px;
    font-size: 12px;
  }
  .ab-chip b {
    font-size: 14.5px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ab-blob,
  .ab-shot,
  .ab-chip,
  .ab-hero-copy > *,
  .soon-icon {
    animation: none;
  }
  .js .refs-block .refs-list li {
    opacity: 1;
    transform: none;
  }
}

/* ---------- À propos, version 2 ---------- */
.ab-visual {
  position: relative;
  z-index: 1;
  justify-self: center;
  width: min(100%, 460px);
  aspect-ratio: 4 / 4.6;
}
.ab-visual-back {
  position: absolute;
  inset: 0;
  border-radius: 46% 14% 46% 14% / 36% 12% 36% 12%;
  background: linear-gradient(140deg, var(--gold), #f26a21 45%, #c8102e);
  transform: translate(-20px, 20px) rotate(-4deg);
  animation: ab-back 1.2s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}
@keyframes ab-back {
  from {
    transform: translate(30px, -30px) rotate(6deg);
    opacity: 0;
  }
}
.ab-visual-frame {
  position: absolute;
  inset: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 46% 14% 46% 14% / 36% 12% 36% 12%;
  box-shadow: 0 34px 60px -30px rgba(6, 31, 62, 0.6);
  animation: ab-shot-in 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s backwards;
}
.ab-visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Équipe en bref */
.ab-team .team-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.ab-team .person-soon {
  grid-column: span 2;
}

/* Structures */
.ref-orgs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 26px;
}
.ref-org {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  min-height: 126px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  text-align: center;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s, border-color 0.35s;
}
.ref-org:hover {
  border-color: var(--gold);
  box-shadow: 0 20px 40px -26px rgba(6, 31, 62, 0.5);
  transform: translateY(-5px);
}
.ref-org img {
  max-width: 100%;
  max-height: 58px;
  margin: 0 auto;
  object-fit: contain;
}
.ref-org b {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--navy-deep);
}
.ref-org span {
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--muted);
}
.ref-org-hl {
  border-color: transparent;
  background: linear-gradient(140deg, #c8102e, #f26a21);
}
.ref-org-hl b,
.ref-org-hl span {
  color: var(--white);
}

/* Pays : drapeaux et organisations */
.world {
  padding: clamp(22px, 3vw, 36px);
  border-radius: 24px;
  background: var(--navy-deep);
  color: var(--white);
}
.world-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  margin-bottom: 18px;
}
.world-count {
  margin: 0;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
}
.world-count b {
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--gold);
}
.world-head > p:last-child {
  max-width: 520px;
  margin: 0;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.75);
}
.flags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}
.flag {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 6px 12px 6px 6px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  font-size: 13.5px;
  font-weight: 600;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.flag img {
  width: 30px;
  height: 20px;
  border-radius: 4px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25);
}
.flag:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.flag.is-active {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--navy-deep);
}
.flag:focus-visible {
  outline-color: var(--gold);
}
.country-panel {
  display: none;
}
.country-panel.is-active {
  display: block;
}
.country-panel h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
}
.country-panel h3 img {
  width: 42px;
  height: 28px;
  border-radius: 5px;
  object-fit: cover;
}
.country-panel h3 span {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}
.cty-logos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.cty-logos li {
  display: grid;
  place-items: center;
  height: 84px;
  padding: 8px;
  border-radius: 14px;
  background: var(--white);
  animation: logo-in 0.55s cubic-bezier(0.34, 1.4, 0.64, 1) backwards;
  animation-delay: calc(var(--n) * 0.035s);
  transition: transform 0.25s;
}
.cty-logos li:hover {
  transform: scale(1.06);
}
.cty-logos img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
@keyframes logo-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.9);
  }
}

/* Vision, mission, valeurs */
.vmv-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.vmv-card {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 3vw, 36px);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 24px 50px -36px rgba(6, 31, 62, 0.6);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s;
}
.vmv-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 6px;
  background: var(--tone);
}
.vmv-card::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: var(--tone);
  opacity: 0.06;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.vmv-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 34px 60px -32px rgba(6, 31, 62, 0.6);
}
.vmv-card:hover::after {
  transform: scale(1.5);
}
.vmv-ico {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  border-radius: 18px;
  background: var(--tone);
  color: var(--white);
}
.vmv-ico svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.vmv-card h3 {
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: clamp(32px, 3vw, 42px);
  font-style: italic;
  font-weight: 500;
  color: var(--tone);
}
.vmv-card p {
  position: relative;
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
}
.vmv-chips {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.vmv-chips li {
  padding: 5px 12px;
  border: 1px solid rgba(0, 135, 81, 0.35);
  border-radius: 99px;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy-deep);
  animation: vmv-chip 16s linear infinite;
  animation-delay: calc(var(--v) * 2s);
}
@keyframes vmv-chip {
  0%, 12.5%, 100% { background: transparent; color: var(--navy-deep); }
  1.5%, 11% { background: var(--green); color: var(--white); }
}

@media (max-width: 1100px) {
  .ref-orgs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .vmv-cards {
    grid-template-columns: minmax(0, 1fr);
  }
  .ab-team .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ab-team .person-soon {
    grid-column: auto;
  }
}
@media (max-width: 640px) {
  .ref-orgs,
  .ab-team .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ab-team .person:not(.person-soon) {
    grid-column: 1 / -1;
  }
  .ab-team .person-soon {
    grid-column: 1 / -1;
  }
  .flags {
    flex-wrap: nowrap;
    margin: 0 -22px 18px;
    padding: 0 22px 4px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .flag {
    flex: none;
  }
  .cty-logos {
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  }
  .cty-logos li {
    height: 70px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ab-visual-back,
  .ab-visual-frame,
  .cty-logos li,
  .vmv-chips li {
    animation: none;
  }
}

/* ---------- Services : titre centré, icônes fixes sur tout l'entête ---------- */
.pg-hero--services {
  justify-items: center;
  text-align: center;
}
.pg-hero--services .pg-hero-in {
  max-width: 900px;
}
.pg-hero--services .pg-lead {
  margin: 0 auto;
}
.pg-hero--services .pg-actions {
  justify-content: center;
}
.hero-icons svg,
.hero-icons svg:nth-child(even) {
  width: clamp(28px, 2.6vw, 40px);
  height: clamp(28px, 2.6vw, 40px);
  opacity: 0.16;
  transform: none;
  animation: none;
}
.hero-icons svg:nth-child(3n) {
  opacity: 0.24;
}
@media (max-width: 900px) {
  .hero-icons {
    opacity: 1;
  }
  .hero-icons svg:nth-child(n + 25) {
    display: none;
  }
}

/* ---------- Contact : entête en dégradé, carte d'appel posée sur le blanc ---------- */
.pg-hero--contact {
  overflow: visible;
  background: linear-gradient(120deg, var(--navy-deep) 0%, var(--navy) 45%, #0d3f78 75%, #c8102e 140%);
}
.pg-hero--contact .pg-wave {
  z-index: 1;
}
.pg-hero--contact .call {
  z-index: 4;
  align-self: end;
  margin-bottom: -150px;
  border: 0;
  background: var(--white);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: 0 40px 80px -40px rgba(6, 31, 62, 0.65);
  animation: call-in 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s backwards;
}
@keyframes call-in {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
}
.pg-hero--contact + .pg-section {
  padding-top: calc(clamp(48px, 6vw, 80px) + 160px);
}
.call-person {
  color: var(--muted);
}
.call-line::before {
  border-top-color: rgba(8, 47, 91, 0.2);
}
.call-status {
  color: var(--green);
}
.bubble-client,
.bubble-happy {
  background: var(--diff-bg, #e7eef6);
}
/* Points de saisie avant chaque message */
.typing {
  display: flex;
  gap: 4px;
  width: max-content;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--diff-bg, #e7eef6);
  opacity: 0;
  animation: typing-1 var(--t) linear infinite;
}
.typing-2 {
  justify-self: end;
  background: rgba(242, 196, 19, 0.35);
  animation-name: typing-2;
}
.typing i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--navy);
  animation: dot 0.9s ease-in-out infinite;
}
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dot {
  50% { transform: translateY(-4px); opacity: 0.4; }
}
/* La bulle prend la place des points */
.call-chat {
  grid-template-areas: "a" "b" "c";
}
.typing-1,
.bubble-client {
  grid-area: a;
}
.typing-2,
.bubble-pro {
  grid-area: b;
}
.bubble-happy {
  grid-area: c;
}
@keyframes typing-1 {
  0%, 19% { opacity: 0; }
  20%, 27% { opacity: 1; }
  28%, 100% { opacity: 0; }
}
@keyframes typing-2 {
  0%, 37% { opacity: 0; }
  38%, 47% { opacity: 1; }
  48%, 100% { opacity: 0; }
}
/* Le client parle : son avatar rebondit */
.call-person:first-child .face {
  animation: talk-a var(--t) ease-in-out infinite;
}
.call-person:last-child .face {
  animation: talk-b var(--t) ease-in-out infinite;
}
@keyframes talk-a {
  0%, 27%, 34%, 72%, 100% { transform: none; }
  30%, 75% { transform: translateY(-6px) scale(1.05); }
}
@keyframes talk-b {
  0%, 47%, 54%, 100% { transform: none; }
  50% { transform: translateY(-6px) scale(1.05); }
}
/* Satisfaction : un badge vert éclate en fin d'appel */
.call-burst {
  position: absolute;
  top: -18px;
  right: -18px;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 8px rgba(0, 135, 81, 0.2);
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
  opacity: 0;
  animation: burst var(--t) cubic-bezier(0.34, 1.6, 0.64, 1) infinite;
}
@keyframes burst {
  0%, 74% { opacity: 0; transform: scale(0.3) rotate(-30deg); }
  78%, 96% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: scale(0.8); }
}
@media (max-width: 1000px) {
  .pg-hero--contact .call {
    margin-bottom: -120px;
  }
  .pg-hero--contact + .pg-section {
    padding-top: calc(48px + 130px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .typing {
    display: none;
  }
  .call-burst {
    opacity: 1;
  }
}

/* ---------- À propos : plus de bleu ---------- */
.ab-hero {
  background: linear-gradient(150deg, var(--white) 0%, #e7eef6 60%, #d6e3f1 100%);
}
.ab-team {
  background: #e7eef6;
}
.ab-team .team-grid {
  grid-template-columns: minmax(0, 360px) minmax(0, 320px);
  justify-content: start;
}
.ab-team .person-soon {
  grid-column: auto;
  min-height: 0;
  border-color: rgba(8, 47, 91, 0.25);
}
.ab-vmv {
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 100%);
}
.ab-vmv .pg-head h2 {
  color: var(--white);
}
.ab-vmv .ab-eyebrow {
  color: var(--gold);
}
.ab-vmv .ab-eyebrow span {
  background: var(--gold);
}
.ab-vmv .vmv-card {
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}
@media (max-width: 640px) {
  .ab-team .team-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .ab-team .person-soon {
    min-height: 120px;
  }
}
/* Carte d'appel : de l'air sous le menu, badge contenu dans l'écran */
.pg-hero--contact {
  padding-top: clamp(24px, 3vw, 44px);
}
@media (max-width: 640px) {
  .call-burst {
    top: -14px;
    right: 8px;
    width: 46px;
    height: 46px;
    font-size: 22px;
  }
}

/* ---------- 9 novembre ---------- */
.ab-collage {
  position: relative;
  z-index: 1;
  aspect-ratio: 1 / 0.92;
}
.ab-shot {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border-radius: 26px;
  box-shadow: 0 30px 60px -30px rgba(6, 31, 62, 0.55);
  animation: ab-shot-in 1.1s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}
.ab-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ab-shot-main {
  top: 0;
  left: 0;
  width: 72%;
  height: 78%;
  rotate: -3deg;
}
.ab-shot-side {
  right: 0;
  bottom: 0;
  width: 42%;
  height: 62%;
  border: 6px solid var(--white);
  rotate: 4deg;
  animation-delay: 0.2s;
}
@keyframes ab-shot-in {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.94);
  }
}

/* Équipe : Hervé seul, en grande carte horizontale */
.person-solo {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  max-width: 1040px;
  overflow: hidden;
  border-radius: 26px;
  background: var(--white);
  box-shadow: 0 34px 70px -40px rgba(6, 31, 62, 0.55);
}
.person-solo-photo {
  margin: 0;
  min-height: 440px;
  overflow: hidden;
}
.person-solo-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.person-solo:hover .person-solo-photo img {
  transform: scale(1.04);
}
.person-solo-body {
  align-self: center;
  padding: clamp(24px, 4vw, 56px);
}
.person-solo h3 {
  margin-bottom: 6px;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--navy-deep);
}
.person-solo .person-sub {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}
.person-solo-body > p:not(.person-role):not(.person-sub) {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--muted);
}

/* Références : bloc bleu clair, logos qui défilent, cartes qui arrivent */
.world {
  background: linear-gradient(150deg, #e7eef6 0%, #f4f7fb 100%);
  border: 1px solid rgba(8, 47, 91, 0.1);
  color: var(--ink);
}
.world-count {
  color: var(--navy);
}
.world-count b {
  color: var(--red);
}
.world-head > p:last-child {
  color: var(--muted);
}
.flag {
  border-color: rgba(8, 47, 91, 0.14);
  background: var(--white);
  color: var(--navy-deep);
}
.flag.is-active {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}
.flag:focus-visible {
  outline-color: var(--navy);
}
.country-panel h3 {
  color: var(--navy-deep);
}
.country-panel h3 span {
  color: var(--muted);
}
.country-panel.is-active {
  animation: panel-in 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}
.cty-logos li {
  box-shadow: 0 10px 24px -18px rgba(6, 31, 62, 0.5);
}

/* Titres de section : le texte monte derrière un masque */
.js .reveal-title {
  overflow: hidden;
}
.js .reveal-title > span {
  display: inline-block;
  transform: translateY(105%);
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.05s;
}
.js .reveal-title.is-in > span {
  transform: none;
}

/* Listes : les éléments arrivent l'un après l'autre */
.js .stagger > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--i, 0) * 70ms + 80ms);
}
.js .stagger.is-in > * {
  opacity: 1;
  transform: none;
}
.js .reveal.stagger,
.js .reveal:has(> .stagger) {
  opacity: 1;
  transform: none;
}

/* Étapes : le filet du haut se trace de gauche à droite */
.js .steps li {
  border-top-color: transparent;
  background: linear-gradient(var(--navy), var(--navy)) top left / 0 2px no-repeat;
  transition: background-size 0.9s cubic-bezier(0.65, 0, 0.15, 1), opacity 0.6s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--i, 0) * 140ms + 80ms);
}
.js .steps.is-in li {
  background-size: 100% 2px;
}

/* Photos : dévoilement à l'arrivée, puis léger décalage au défilement */
.js .img-reveal {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.1s cubic-bezier(0.65, 0, 0.15, 1);
}
.js .img-reveal.is-in {
  clip-path: inset(0 0 0 0);
}
.parallax img {
  transform: translateY(var(--py, 0px)) scale(1.08);
  will-change: transform;
}
.svc-row:hover .svc-photo.parallax img,
.duo a.parallax:hover img,
.offer.parallax:hover img {
  transform: translateY(var(--py, 0px)) scale(1.12);
}
.split-media {
  overflow: hidden;
  border-radius: 12px;
}

/* Bandeau de contact : reflet lent qui traverse le fond */
.cta-band-in {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.cta-band-in::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.07) 50%, transparent 65%);
  transform: translateX(-100%);
  animation: sheen 7s ease-in-out infinite 1.5s;
}
@keyframes sheen {
  0% { transform: translateX(-100%); }
  45%, 100% { transform: translateX(100%); }
}

@media (max-width: 640px) {
  .ticker {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding-right: 0;
  }
  .ticker-list a {
    font-size: 15.5px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-list {
    animation: none;
  }
  .ticker-track {
    overflow-x: auto;
  }
  .js .reveal-title > span,
  .js .stagger > * {
    opacity: 1;
    transform: none;
  }
  .js .steps li {
    background-size: 100% 2px;
  }
  .js .img-reveal {
    clip-path: none;
  }
  .parallax img {
    transform: none;
  }
  .cta-band-in::before {
    display: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .svc-row {
    grid-template-columns: 40px minmax(0, 0.9fr) minmax(0, 1.1fr);
    grid-template-areas: "no head body" "no head list";
    row-gap: 8px;
  }
}
@media (max-width: 760px) {
  .svc-row {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "no" "head" "body" "list";
    row-gap: 14px;
  }
  .svc-no {
    padding: 0;
  }
  .course-row summary {
    grid-template-columns: minmax(0, 1fr) 28px;
    gap: 4px 14px;
  }
  .course-dur {
    grid-row: 2;
  }
  .course-plus {
    grid-row: 1 / span 2;
    grid-column: 2;
  }
  .course-detail {
    grid-template-columns: minmax(0, 1fr);
    padding-right: 0;
  }
  .info-list div {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
}
@media (max-width: 1240px) {
  .offer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .offer {
    min-height: 360px;
  }
  .team {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .need-choices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .need label {
    min-height: 0;
    flex-direction: row;
    align-items: center;
  }
}
@media (max-width: 1100px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gear-grid,
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cty-logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .contact-aside {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .contact-note {
    grid-column: 1 / -1;
  }
  .cta-band-in {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 900px) {
  .intro {
    grid-template-columns: minmax(0, 1fr);
  }
  .split {
    grid-template-columns: minmax(0, 1fr);
  }
  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .facts div:nth-child(3) {
    border-left: 0;
  }
  .facts div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .legal {
    grid-template-columns: minmax(0, 1fr);
  }
  .legal-toc {
    position: static;
  }
  .offices {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 640px) {
  .pg-lead {
    font-size: 16.5px;
  }
  .pg-hero-in {
    padding-bottom: 76px;
  }
  .pg-actions .button {
    flex: 1 1 100%;
  }
  .offer-grid,
  .gear-grid,
  .cards,
  .steps,
  .need-choices,
  .form-grid,
  .duo,
  .contact-aside {
    grid-template-columns: minmax(0, 1fr);
  }
  .offer {
    min-height: 320px;
  }
  .cty-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .facts div {
    padding: 20px 14px;
  }
  .team {
    gap: 12px;
  }
  .member-body {
    padding: 14px;
  }
  .member h3 {
    font-size: 16px;
  }
  .legal-body dl {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }
  .legal-body dd {
    margin-bottom: 10px;
  }
  .reach > .icon {
    display: none;
  }
  .reach {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .reach strong {
    font-size: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pg-hero-bg {
    transform: none;
  }
  .js .offer-grid.reveal .offer {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   Entêtes sans photo : un style par page
   ========================================================= */
.pg-hero--about,
.pg-hero--services,
.pg-hero--contact,
.pg-hero--legal {
  display: grid;
  align-items: center;
}
.pg-hero--about::before,
.pg-hero--legal::before {
  display: none;
}
.pg-hero--about .pg-hero-in,
.pg-hero--contact .pg-hero-in {
  max-width: none;
  padding-bottom: clamp(56px, 7vw, 96px);
}
.pg-hero--about .qhse {
  margin-top: clamp(32px, 4vw, 56px);
}

/* Entêtes clairs : texte foncé */
.pg-hero--about,
.pg-hero--legal {
  color: var(--ink);
}
.pg-hero--about h1,
.pg-hero--legal h1 {
  color: var(--navy-deep);
}
.pg-hero--about h1 em,
.pg-hero--legal h1 em {
  color: var(--red);
}
.pg-hero--about .pg-lead,
.pg-hero--legal .pg-lead {
  color: var(--muted);
}
.pg-hero--about .pg-crumbs,
.pg-hero--legal .pg-crumbs {
  color: var(--muted);
}
.pg-hero--about .pg-crumbs li + li::before,
.pg-hero--legal .pg-crumbs li + li::before {
  color: rgba(8, 47, 91, 0.35);
}
.pg-hero--about .pg-crumbs a:hover,
.pg-hero--legal .pg-crumbs a:hover {
  color: var(--red);
}
.pg-hero--about .button-line {
  border-color: var(--navy);
  color: var(--navy);
}
.pg-hero--about .button-line:hover {
  background: var(--navy);
  color: var(--white);
}

/* ---------- À propos : les lettres QHSE s'allument tour à tour ---------- */
.pg-hero--about {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: linear-gradient(160deg, var(--white) 0%, var(--cream) 100%);
}
.qhse {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(8px, 1vw, 14px);
  margin: 0 var(--gutter) clamp(40px, 5vw, 72px) 0;
  padding: 0;
  list-style: none;
}
.qhse li {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 1 / 1.7;
  padding: clamp(10px, 1.2vw, 16px);
  border: 1px solid rgba(8, 47, 91, 0.12);
  border-radius: 18px;
  background: var(--white);
  color: var(--navy-deep);
  animation: qhse-in 0.9s cubic-bezier(0.16, 1, 0.3, 1) backwards, qhse-lit 10s ease-in-out infinite;
  animation-delay: calc(0.2s + var(--n) * 0.1s), calc(1.4s + var(--n) * 2s);
}
.qhse li:nth-child(even) {
  margin-top: 26%;
}
.qhse b {
  font-size: clamp(44px, 5vw, 80px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}
.qhse span {
  margin-top: 8px;
  font-size: clamp(11px, 0.95vw, 13.5px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.02em;
}
@keyframes qhse-in {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
}
@keyframes qhse-lit {
  0%,
  20%,
  100% {
    border-color: rgba(8, 47, 91, 0.12);
    background: var(--white);
    color: var(--navy-deep);
  }
  4%,
  16% {
    border-color: transparent;
    background: linear-gradient(160deg, #c8102e, #f26a21);
    color: var(--white);
  }
}

/* ---------- Contact : ondes autour de l'enveloppe, coordonnées qui flottent ---------- */
.pg-hero--contact {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, #0d3f78 100%);
}
.pg-hero--contact::before {
  background: none;
}
.signal {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: min(100%, 440px);
  aspect-ratio: 1;
  margin: 0 var(--gutter) clamp(32px, 4vw, 56px) auto;
}
.signal-core {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #f26a21);
  color: var(--navy-deep);
  box-shadow: 0 20px 44px -16px rgba(242, 196, 19, 0.6);
}
.signal-core svg {
  width: 46px;
  height: 46px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.signal-ring {
  position: absolute;
  inset: 30%;
  border: 2px solid rgba(242, 196, 19, 0.5);
  border-radius: 50%;
  animation: signal-wave 4.5s ease-out infinite;
  animation-delay: calc(var(--n) * -1.5s);
}
@keyframes signal-wave {
  from {
    opacity: 0.9;
    transform: scale(0.6);
  }
  to {
    opacity: 0;
    transform: scale(2.1);
  }
}
.signal-chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 14.5px;
  font-weight: 600;
  white-space: nowrap;
  animation: chip-in 0.8s cubic-bezier(0.34, 1.4, 0.64, 1) backwards, chip-float 6s ease-in-out infinite alternate;
  animation-delay: calc(0.5s + var(--n) * 0.18s), calc(var(--n) * -2s);
  transition: background 0.25s, border-color 0.25s;
}
.signal-chip:hover {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.2);
}
.signal-chip small {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--gold);
}
.signal-chip:nth-of-type(1) {
  top: 8%;
  left: 0;
}
.signal-chip:nth-of-type(2) {
  bottom: 6%;
  left: 4%;
}
.signal-chip:nth-of-type(3) {
  top: 22%;
  right: 0;
}
@keyframes chip-in {
  from {
    opacity: 0;
    scale: 0.6;
  }
}
@keyframes chip-float {
  to {
    transform: translateY(-14px);
  }
}

/* ---------- Mentions légales : document qui se dessine, fond quadrillé ---------- */
.pg-hero--legal {
  grid-template-columns: minmax(0, 1fr) auto;
  background-color: var(--paper);
  background-image: linear-gradient(rgba(8, 47, 91, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(8, 47, 91, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  animation: legal-grid 24s linear infinite;
  border-bottom: 1px solid var(--line);
}
@keyframes legal-grid {
  to {
    background-position: 32px 32px;
  }
}
.pg-hero--legal .pg-hero-in {
  padding-bottom: clamp(44px, 5vw, 72px);
}
.legal-doc {
  position: relative;
  z-index: 2;
  width: clamp(150px, 18vw, 230px);
  margin-right: var(--gutter);
  color: var(--navy);
}
.legal-doc svg {
  display: block;
  width: 100%;
  height: auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.legal-doc .draw {
  stroke-dasharray: 1;
  animation: doc-draw 1.6s ease-in-out backwards;
  animation-delay: calc(0.2s + var(--n) * 0.18s);
}
.legal-doc .seal {
  stroke: var(--red);
  animation: doc-draw 1s ease-in-out 1.5s backwards, seal-pulse 3s ease-in-out 2.6s infinite;
  transform-box: fill-box;
  transform-origin: center;
}
@keyframes doc-draw {
  from {
    stroke-dashoffset: 1;
  }
}
@keyframes seal-pulse {
  50% {
    transform: scale(1.08);
  }
}

/* ---------- Contact : panneau de coordonnées sur fond bleu ---------- */
.contact-aside {
  padding: clamp(20px, 2.4vw, 30px);
  border-radius: 18px;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  box-shadow: 0 30px 60px -36px rgba(6, 31, 62, 0.8);
  color: var(--white);
}
.contact-aside-head {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--white);
}
.contact-aside-head + p {
  margin: 0 0 8px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.78);
}
.contact-aside .reach {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
}
.contact-aside a.reach:hover {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.13);
}
.contact-aside .reach small {
  color: var(--gold);
}
.contact-aside .reach strong {
  color: var(--white);
}
.contact-aside .reach > .icon {
  color: rgba(255, 255, 255, 0.7);
  transition: transform 0.3s;
}
.contact-aside a.reach:hover > .icon {
  transform: translateX(4px);
}
.contact-aside .reach-icon {
  background: var(--gold);
  color: var(--navy-deep);
}
.contact-aside .reach-wa .reach-icon {
  background: #25d366;
  color: var(--white);
}
.contact-aside .contact-note {
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.86);
}
.contact-aside .contact-note strong {
  color: var(--gold);
}
/* Les coordonnées arrivent l'une après l'autre */
.js .contact-aside.visible > * {
  animation: reach-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}
.js .contact-aside.visible > :nth-child(2) { animation-delay: 0.06s; }
.js .contact-aside.visible > :nth-child(3) { animation-delay: 0.12s; }
.js .contact-aside.visible > :nth-child(4) { animation-delay: 0.18s; }
.js .contact-aside.visible > :nth-child(5) { animation-delay: 0.24s; }
.js .contact-aside.visible > :nth-child(6) { animation-delay: 0.3s; }
.js .contact-aside.visible > :nth-child(7) { animation-delay: 0.36s; }
@keyframes reach-in {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }
}
/* Formulaire : liseré animé en haut, champ actif qui s'éclaire */
.form-card {
  position: relative;
  overflow: hidden;
}
.form-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--navy), var(--gold), #f26a21, #c8102e, var(--navy));
  background-size: 300% 100%;
  animation: card-line 8s linear infinite;
}
@keyframes card-line {
  to {
    background-position: 300% 0;
  }
}
.form-card .field input,
.form-card .field select,
.form-card .field textarea {
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.form-card .field input:focus,
.form-card .field select:focus,
.form-card .field textarea:focus {
  box-shadow: 0 0 0 4px rgba(242, 196, 19, 0.28);
}

@media (max-width: 1000px) {
  .pg-hero--about,
  .pg-hero--contact {
    grid-template-columns: minmax(0, 1fr);
  }
  .pg-hero--about .pg-hero-in,
  .pg-hero--contact .pg-hero-in {
    padding-bottom: 24px;
  }
  .qhse {
    margin: 0 var(--gutter) 48px;
  }
  .signal {
    width: min(100% - 48px, 360px);
    margin: 0 auto 48px;
  }
}
@media (max-width: 640px) {
  .pg-hero--legal {
    grid-template-columns: minmax(0, 1fr);
  }
  .legal-doc {
    display: none;
  }
  .qhse li {
    aspect-ratio: 1 / 2.1;
  }
  .signal-chip {
    padding: 8px 12px;
    font-size: 13px;
  }
  .qhse {
    gap: 6px;
  }
  .qhse li {
    justify-content: space-between;
    padding: 8px 6px;
  }
  /* Le mot passe à la verticale pour tenir dans la tuile */
  .qhse span {
    order: -1;
    margin: 0;
    font-size: 11px;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    align-self: flex-start;
  }
  .signal-core {
    width: 88px;
    height: 88px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .qhse li,
  .kw-row,
  .signal-ring,
  .signal-chip,
  .legal-doc .draw,
  .legal-doc .seal,
  .pg-hero--legal,
  .form-card::before,
  .js .contact-aside.visible > * {
    animation: none;
  }
  .kw-rows {
    overflow-x: auto;
  }
}

/* ---------- Services : icônes qui apparaissent et disparaissent sur le fond bleu ---------- */
.hero-icons {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
}
.hero-icons svg {
  position: absolute;
  width: clamp(34px, 3.6vw, 56px);
  height: clamp(34px, 3.6vw, 56px);
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  animation: icon-blink 9s ease-in-out infinite;
  animation-delay: calc(var(--n) * 0.9s);
}
.hero-icons svg:nth-child(even) {
  stroke: rgba(255, 255, 255, 0.85);
}
@keyframes icon-blink {
  0%,
  100% {
    opacity: 0;
    transform: translateY(14px) scale(0.7) rotate(-8deg);
  }
  15%,
  45% {
    opacity: 0.55;
    transform: none;
  }
  60% {
    opacity: 0;
    transform: translateY(-14px) scale(0.85) rotate(6deg);
  }
}
.pg-hero--services .pg-hero-in {
  padding-bottom: clamp(84px, 9vw, 128px);
}
@media (max-width: 900px) {
  .hero-icons {
    opacity: 0.45;
  }
}

/* ---------- Contact : petite scène d'appel ---------- */
.call {
  position: relative;
  z-index: 2;
  width: min(100%, 460px);
  margin: 0 var(--gutter) clamp(40px, 5vw, 64px) auto;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.07);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  --t: 10s;
}
.call-people {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}
.call-person {
  display: grid;
  justify-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}
.face {
  width: 78px;
  height: 78px;
}
.face .skin {
  fill: #8d5a3b;
}
.face .hair {
  fill: #1c1410;
}
.face .feat {
  fill: none;
  stroke: #1c1410;
  stroke-width: 2.6;
  stroke-linecap: round;
}
.face .helmet {
  fill: var(--gold);
}
.face .cloth-a {
  fill: var(--navy-deep);
}
.face .cloth-b {
  fill: #c8102e;
}
/* La cliente passe d'un air préoccupé au sourire */
.mouth-worry {
  animation: show-worry var(--t) linear infinite;
}
.mouth-smile {
  opacity: 0;
  animation: show-smile var(--t) linear infinite;
}
@keyframes show-worry {
  0%, 70% { opacity: 1; }
  72%, 98% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes show-smile {
  0%, 70% { opacity: 0; }
  72%, 98% { opacity: 1; }
  100% { opacity: 0; }
}
/* Combiné : il sonne, puis le conseiller décroche */
.call-line {
  position: relative;
  display: grid;
  place-items: center;
  height: 78px;
}
.call-line::before {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  top: 50%;
  border-top: 2px dashed rgba(255, 255, 255, 0.25);
}
.call-line::after {
  content: "";
  position: absolute;
  top: calc(50% - 1px);
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), #f26a21);
  transform-origin: left;
  animation: line-connect var(--t) ease-in-out infinite;
}
@keyframes line-connect {
  0%, 16% { transform: scaleX(0); opacity: 1; }
  24%, 96% { transform: scaleX(1); opacity: 1; }
  100% { transform: scaleX(1); opacity: 0; }
}
.call-phone {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #c8102e;
  color: var(--white);
  animation: phone-state var(--t) linear infinite;
}
.call-phone svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
  animation: phone-ring var(--t) linear infinite;
}
@keyframes phone-state {
  0%, 17% { background: #c8102e; box-shadow: 0 0 0 0 rgba(200, 16, 46, 0.6); }
  8% { box-shadow: 0 0 0 14px rgba(200, 16, 46, 0); }
  18%, 100% { background: #22b573; box-shadow: none; }
}
@keyframes phone-ring {
  0%, 2%, 4%, 6%, 8%, 10%, 12%, 14% { transform: rotate(-16deg); }
  1%, 3%, 5%, 7%, 9%, 11%, 13%, 15% { transform: rotate(16deg); }
  17%, 100% { transform: rotate(135deg); }
}
.call-status {
  margin: 14px 0 0;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  color: var(--gold);
}
.call-status {
  display: grid;
}
.call-status span {
  grid-area: 1 / 1;
  animation: status-a var(--t) linear infinite;
}
.call-status span:last-child {
  opacity: 0;
  animation-name: status-b;
}
@keyframes status-a {
  0%, 17% { opacity: 1; }
  18%, 100% { opacity: 0; }
}
@keyframes status-b {
  0%, 17% { opacity: 0; }
  18%, 100% { opacity: 1; }
}
/* Bulles de conversation */
.call-chat {
  display: grid;
  gap: 8px;
  min-height: 150px;
  margin-top: 12px;
}
.bubble {
  max-width: 82%;
  padding: 9px 14px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.4;
  opacity: 0;
  animation: bubble var(--t) ease-out infinite;
}
.bubble-client {
  justify-self: start;
  border-bottom-left-radius: 4px;
  background: var(--white);
  color: var(--navy-deep);
  animation-name: bubble-1;
}
.bubble-pro {
  justify-self: end;
  border-bottom-right-radius: 4px;
  background: var(--gold);
  color: var(--navy-deep);
  animation-name: bubble-2;
}
.bubble-happy {
  justify-self: start;
  border-bottom-left-radius: 4px;
  background: var(--white);
  color: var(--navy-deep);
  animation-name: bubble-3;
}
.bubble-happy b {
  margin-right: 6px;
  letter-spacing: 1px;
  color: #f2a413;
}
@keyframes bubble-1 {
  0%, 24% { opacity: 0; transform: translateY(10px); }
  28%, 96% { opacity: 1; transform: none; }
  100% { opacity: 0; }
}
@keyframes bubble-2 {
  0%, 44% { opacity: 0; transform: translateY(10px); }
  48%, 96% { opacity: 1; transform: none; }
  100% { opacity: 0; }
}
@keyframes bubble-3 {
  0%, 70% { opacity: 0; transform: translateY(10px) scale(0.9); }
  74%, 96% { opacity: 1; transform: none; }
  100% { opacity: 0; }
}
@media (max-width: 1000px) {
  .call {
    margin: 0 auto 48px;
    width: min(100% - 48px, 460px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-icons svg {
    animation: none;
    opacity: 0.4;
  }
  .call *,
  .call *::before,
  .call *::after {
    animation: none !important;
  }
  .bubble,
  .mouth-smile {
    opacity: 1;
  }
  .mouth-worry {
    opacity: 0;
  }
  .call-phone {
    background: #22b573;
  }
  .call-status span:first-child {
    opacity: 0;
  }
  .call-status span:last-child {
    opacity: 1;
  }
}

/* =========================================================
   À propos : entête en collage, équipe, parcours, références
   ========================================================= */
.ab-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
}
.ab-eyebrow span {
  flex: none;
  width: 34px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, #c8102e, #f26a21);
}
.ab-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  padding: clamp(40px, 5vw, 80px) var(--gutter);
  overflow: hidden;
  background: var(--paper);
}
.ab-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  animation: ab-drift 16s ease-in-out infinite alternate;
  pointer-events: none;
}
.ab-blob-1 {
  top: -20%;
  right: 20%;
  width: 46vw;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(242, 196, 19, 0.22), transparent 66%);
}
.ab-blob-2 {
  bottom: -30%;
  left: -10%;
  width: 40vw;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(200, 16, 46, 0.12), transparent 66%);
  animation-direction: alternate-reverse;
}
@keyframes ab-drift {
  to {
    transform: translate(6vw, 4vw) scale(1.15);
  }
}
.ab-hero-copy {
  position: relative;
  z-index: 1;
}
.ab-hero-copy > * {
  animation: pg-rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}
.ab-hero-copy > :nth-child(2) { animation-delay: 0.08s; }
.ab-hero-copy > :nth-child(3) { animation-delay: 0.16s; }
.ab-hero-copy > :nth-child(4) { animation-delay: 0.24s; }
.ab-hero h1 {
  margin-bottom: 18px;
  font-size: clamp(36px, 4.4vw, 62px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--navy-deep);
}
.ab-hero h1 em {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--red);
}
.ab-lead {
  max-width: 560px;
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
}
.ab-hero .button-line {
  border-color: var(--navy);
  color: var(--navy);
}
.ab-hero .button-line:hover {
  background: var(--navy);
  color: var(--white);
}
/* Équipe */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}
.person {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s;
}
.person:not(.person-soon):hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 50px -28px rgba(6, 31, 62, 0.5);
}
.person-photo {
  margin: 0;
  aspect-ratio: 4 / 4.4;
  overflow: hidden;
  background: var(--navy-deep);
}
.person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.person:hover .person-photo img {
  transform: scale(1.05);
}
.person-body {
  padding: 18px 20px 22px;
}
.person-role {
  margin: 0 0 4px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
}
.person h3 {
  margin-bottom: 6px;
  font-size: 22px;
  font-weight: 600;
  color: var(--navy-deep);
}
.person-sub {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}
.person-body p {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}
.person-lead {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
}
.person-lead .person-body {
  align-self: center;
  padding: clamp(22px, 3vw, 44px);
}
.person-lead h3 {
  font-size: clamp(26px, 2.6vw, 36px);
}
.person-lead .person-body > p:not(.person-role):not(.person-sub) {
  font-size: 16px;
}
.person-lead .person-photo {
  aspect-ratio: auto;
  height: 100%;
}
.person-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.person-tags li {
  padding: 4px 10px;
  border-radius: 99px;
  background: rgba(8, 47, 91, 0.07);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--navy);
}
.person-soon {
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 260px;
  padding: 24px;
  border: 2px dashed rgba(8, 47, 91, 0.2);
  background: transparent;
  text-align: center;
}
.person-soon p {
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
}
.soon-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(8, 47, 91, 0.07);
  font-size: 28px;
  color: var(--navy);
  animation: soon-pulse 2.6s ease-in-out infinite;
}
@keyframes soon-pulse {
  50% {
    box-shadow: 0 0 0 10px rgba(242, 196, 19, 0.18);
  }
}

@media (max-width: 1100px) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .refs-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .refs-world {
    grid-column: 1 / -1;
  }
}
@media (max-width: 900px) {
  .ab-hero,
  .ab-path-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .ab-path-head {
    position: static;
  }
  .ab-highlight {
    aspect-ratio: 16 / 11;
  }
  .ab-collage {
    width: min(100%, 520px);
    margin: 0 auto;
  }
}
@media (max-width: 640px) {
  .team-grid,
  .person-lead,
  .refs-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .person-lead .person-photo {
    aspect-ratio: 4 / 4.4;
    height: auto;
  }
  .person-soon {
    min-height: 140px;
  }
  .ab-chip {
    max-width: 170px;
    padding: 8px 12px;
    font-size: 12px;
  }
  .ab-chip b {
    font-size: 14.5px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ab-blob,
  .ab-shot,
  .ab-chip,
  .ab-hero-copy > *,
  .soon-icon {
    animation: none;
  }
  .js .refs-block .refs-list li {
    opacity: 1;
    transform: none;
  }
}

/* ---------- À propos, version 2 ---------- */
.ab-visual {
  position: relative;
  z-index: 1;
  justify-self: center;
  width: min(100%, 460px);
  aspect-ratio: 4 / 4.6;
}
.ab-visual-back {
  position: absolute;
  inset: 0;
  border-radius: 46% 14% 46% 14% / 36% 12% 36% 12%;
  background: linear-gradient(140deg, var(--gold), #f26a21 45%, #c8102e);
  transform: translate(-20px, 20px) rotate(-4deg);
  animation: ab-back 1.2s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}
@keyframes ab-back {
  from {
    transform: translate(30px, -30px) rotate(6deg);
    opacity: 0;
  }
}
.ab-visual-frame {
  position: absolute;
  inset: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 46% 14% 46% 14% / 36% 12% 36% 12%;
  box-shadow: 0 34px 60px -30px rgba(6, 31, 62, 0.6);
  animation: ab-shot-in 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s backwards;
}
.ab-visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Équipe en bref */
.ab-team .team-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.ab-team .person-soon {
  grid-column: span 2;
}

/* Structures */
.ref-orgs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 26px;
}
.ref-org {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  min-height: 126px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  text-align: center;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s, border-color 0.35s;
}
.ref-org:hover {
  border-color: var(--gold);
  box-shadow: 0 20px 40px -26px rgba(6, 31, 62, 0.5);
  transform: translateY(-5px);
}
.ref-org img {
  max-width: 100%;
  max-height: 58px;
  margin: 0 auto;
  object-fit: contain;
}
.ref-org b {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--navy-deep);
}
.ref-org span {
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--muted);
}
.ref-org-hl {
  border-color: transparent;
  background: linear-gradient(140deg, #c8102e, #f26a21);
}
.ref-org-hl b,
.ref-org-hl span {
  color: var(--white);
}

/* Pays : drapeaux et organisations */
.world {
  padding: clamp(22px, 3vw, 36px);
  border-radius: 24px;
  background: var(--navy-deep);
  color: var(--white);
}
.world-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  margin-bottom: 18px;
}
.world-count {
  margin: 0;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
}
.world-count b {
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--gold);
}
.world-head > p:last-child {
  max-width: 520px;
  margin: 0;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.75);
}
.flags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}
.flag {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 6px 12px 6px 6px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  font-size: 13.5px;
  font-weight: 600;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.flag img {
  width: 30px;
  height: 20px;
  border-radius: 4px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25);
}
.flag:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.flag.is-active {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--navy-deep);
}
.flag:focus-visible {
  outline-color: var(--gold);
}
.country-panel {
  display: none;
}
.country-panel.is-active {
  display: block;
}
.country-panel h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
}
.country-panel h3 img {
  width: 42px;
  height: 28px;
  border-radius: 5px;
  object-fit: cover;
}
.country-panel h3 span {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}
.cty-logos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.cty-logos li {
  display: grid;
  place-items: center;
  height: 84px;
  padding: 8px;
  border-radius: 14px;
  background: var(--white);
  animation: logo-in 0.55s cubic-bezier(0.34, 1.4, 0.64, 1) backwards;
  animation-delay: calc(var(--n) * 0.035s);
  transition: transform 0.25s;
}
.cty-logos li:hover {
  transform: scale(1.06);
}
.cty-logos img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
@keyframes logo-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.9);
  }
}

/* Vision, mission, valeurs */
.vmv-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.vmv-card {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 3vw, 36px);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 24px 50px -36px rgba(6, 31, 62, 0.6);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s;
}
.vmv-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 6px;
  background: var(--tone);
}
.vmv-card::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: var(--tone);
  opacity: 0.06;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.vmv-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 34px 60px -32px rgba(6, 31, 62, 0.6);
}
.vmv-card:hover::after {
  transform: scale(1.5);
}
.vmv-ico {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  border-radius: 18px;
  background: var(--tone);
  color: var(--white);
}
.vmv-ico svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.vmv-card h3 {
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: clamp(32px, 3vw, 42px);
  font-style: italic;
  font-weight: 500;
  color: var(--tone);
}
.vmv-card p {
  position: relative;
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
}
.vmv-chips {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.vmv-chips li {
  padding: 5px 12px;
  border: 1px solid rgba(0, 135, 81, 0.35);
  border-radius: 99px;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy-deep);
  animation: vmv-chip 16s linear infinite;
  animation-delay: calc(var(--v) * 2s);
}
@keyframes vmv-chip {
  0%, 12.5%, 100% { background: transparent; color: var(--navy-deep); }
  1.5%, 11% { background: var(--green); color: var(--white); }
}

@media (max-width: 1100px) {
  .ref-orgs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .vmv-cards {
    grid-template-columns: minmax(0, 1fr);
  }
  .ab-team .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ab-team .person-soon {
    grid-column: auto;
  }
}
@media (max-width: 640px) {
  .ref-orgs,
  .ab-team .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ab-team .person:not(.person-soon) {
    grid-column: 1 / -1;
  }
  .ab-team .person-soon {
    grid-column: 1 / -1;
  }
  .flags {
    flex-wrap: nowrap;
    margin: 0 -22px 18px;
    padding: 0 22px 4px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .flag {
    flex: none;
  }
  .cty-logos {
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  }
  .cty-logos li {
    height: 70px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ab-visual-back,
  .ab-visual-frame,
  .cty-logos li,
  .vmv-chips li {
    animation: none;
  }
}

/* ---------- Services : titre centré, icônes fixes sur tout l'entête ---------- */
.pg-hero--services {
  justify-items: center;
  text-align: center;
}
.pg-hero--services .pg-hero-in {
  max-width: 900px;
}
.pg-hero--services .pg-lead {
  margin: 0 auto;
}
.pg-hero--services .pg-actions {
  justify-content: center;
}
.hero-icons svg,
.hero-icons svg:nth-child(even) {
  width: clamp(28px, 2.6vw, 40px);
  height: clamp(28px, 2.6vw, 40px);
  opacity: 0.16;
  transform: none;
  animation: none;
}
.hero-icons svg:nth-child(3n) {
  opacity: 0.24;
}
@media (max-width: 900px) {
  .hero-icons {
    opacity: 1;
  }
  .hero-icons svg:nth-child(n + 25) {
    display: none;
  }
}

/* ---------- Contact : entête en dégradé, carte d'appel posée sur le blanc ---------- */
.pg-hero--contact {
  overflow: visible;
  background: linear-gradient(120deg, var(--navy-deep) 0%, var(--navy) 45%, #0d3f78 75%, #c8102e 140%);
}
.pg-hero--contact .pg-wave {
  z-index: 1;
}
.pg-hero--contact .call {
  z-index: 4;
  align-self: end;
  margin-bottom: -150px;
  border: 0;
  background: var(--white);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: 0 40px 80px -40px rgba(6, 31, 62, 0.65);
  animation: call-in 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s backwards;
}
@keyframes call-in {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
}
.pg-hero--contact + .pg-section {
  padding-top: calc(clamp(48px, 6vw, 80px) + 160px);
}
.call-person {
  color: var(--muted);
}
.call-line::before {
  border-top-color: rgba(8, 47, 91, 0.2);
}
.call-status {
  color: var(--green);
}
.bubble-client,
.bubble-happy {
  background: var(--diff-bg, #e7eef6);
}
/* Points de saisie avant chaque message */
.typing {
  display: flex;
  gap: 4px;
  width: max-content;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--diff-bg, #e7eef6);
  opacity: 0;
  animation: typing-1 var(--t) linear infinite;
}
.typing-2 {
  justify-self: end;
  background: rgba(242, 196, 19, 0.35);
  animation-name: typing-2;
}
.typing i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--navy);
  animation: dot 0.9s ease-in-out infinite;
}
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dot {
  50% { transform: translateY(-4px); opacity: 0.4; }
}
/* La bulle prend la place des points */
.call-chat {
  grid-template-areas: "a" "b" "c";
}
.typing-1,
.bubble-client {
  grid-area: a;
}
.typing-2,
.bubble-pro {
  grid-area: b;
}
.bubble-happy {
  grid-area: c;
}
@keyframes typing-1 {
  0%, 19% { opacity: 0; }
  20%, 27% { opacity: 1; }
  28%, 100% { opacity: 0; }
}
@keyframes typing-2 {
  0%, 37% { opacity: 0; }
  38%, 47% { opacity: 1; }
  48%, 100% { opacity: 0; }
}
/* Le client parle : son avatar rebondit */
.call-person:first-child .face {
  animation: talk-a var(--t) ease-in-out infinite;
}
.call-person:last-child .face {
  animation: talk-b var(--t) ease-in-out infinite;
}
@keyframes talk-a {
  0%, 27%, 34%, 72%, 100% { transform: none; }
  30%, 75% { transform: translateY(-6px) scale(1.05); }
}
@keyframes talk-b {
  0%, 47%, 54%, 100% { transform: none; }
  50% { transform: translateY(-6px) scale(1.05); }
}
/* Satisfaction : un badge vert éclate en fin d'appel */
.call-burst {
  position: absolute;
  top: -18px;
  right: -18px;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 8px rgba(0, 135, 81, 0.2);
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
  opacity: 0;
  animation: burst var(--t) cubic-bezier(0.34, 1.6, 0.64, 1) infinite;
}
@keyframes burst {
  0%, 74% { opacity: 0; transform: scale(0.3) rotate(-30deg); }
  78%, 96% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: scale(0.8); }
}
@media (max-width: 1000px) {
  .pg-hero--contact .call {
    margin-bottom: -120px;
  }
  .pg-hero--contact + .pg-section {
    padding-top: calc(48px + 130px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .typing {
    display: none;
  }
  .call-burst {
    opacity: 1;
  }
}

/* ---------- À propos : plus de bleu ---------- */
.ab-hero {
  background: linear-gradient(150deg, var(--white) 0%, #e7eef6 60%, #d6e3f1 100%);
}
.ab-team {
  background: #e7eef6;
}
.ab-team .team-grid {
  grid-template-columns: minmax(0, 360px) minmax(0, 320px);
  justify-content: start;
}
.ab-team .person-soon {
  grid-column: auto;
  min-height: 0;
  border-color: rgba(8, 47, 91, 0.25);
}
.ab-vmv {
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 100%);
}
.ab-vmv .pg-head h2 {
  color: var(--white);
}
.ab-vmv .ab-eyebrow {
  color: var(--gold);
}
.ab-vmv .ab-eyebrow span {
  background: var(--gold);
}
.ab-vmv .vmv-card {
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}
@media (max-width: 640px) {
  .ab-team .team-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .ab-team .person-soon {
    min-height: 120px;
  }
}
/* Carte d'appel : de l'air sous le menu, badge contenu dans l'écran */
.pg-hero--contact {
  padding-top: clamp(24px, 3vw, 44px);
}
@media (max-width: 640px) {
  .call-burst {
    top: -14px;
    right: 8px;
    width: 46px;
    height: 46px;
    font-size: 22px;
  }
}

/* ---------- 9 novembre ---------- */
.ab-collage {
  position: relative;
  z-index: 1;
  aspect-ratio: 1 / 0.92;
}
.ab-shot {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border-radius: 26px;
  box-shadow: 0 30px 60px -30px rgba(6, 31, 62, 0.55);
  animation: ab-shot-in 1.1s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}
.ab-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ab-shot-main {
  top: 0;
  left: 0;
  width: 72%;
  height: 78%;
  rotate: -3deg;
}
.ab-shot-side {
  right: 0;
  bottom: 0;
  width: 42%;
  height: 62%;
  border: 6px solid var(--white);
  rotate: 4deg;
  animation-delay: 0.2s;
}
@keyframes ab-shot-in {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.94);
  }
}

/* Équipe : Hervé seul, en grande carte horizontale */
.person-solo {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  max-width: 1040px;
  overflow: hidden;
  border-radius: 26px;
  background: var(--white);
  box-shadow: 0 34px 70px -40px rgba(6, 31, 62, 0.55);
}
.person-solo-photo {
  margin: 0;
  min-height: 440px;
  overflow: hidden;
}
.person-solo-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.person-solo:hover .person-solo-photo img {
  transform: scale(1.04);
}
.person-solo-body {
  align-self: center;
  padding: clamp(24px, 4vw, 56px);
}
.person-solo h3 {
  margin-bottom: 6px;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--navy-deep);
}
.person-solo .person-sub {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}
.person-solo-body > p:not(.person-role):not(.person-sub) {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--muted);
}

/* Références : bloc bleu clair, logos qui défilent, cartes qui arrivent */
.world {
  background: linear-gradient(150deg, #e7eef6 0%, #f4f7fb 100%);
  border: 1px solid rgba(8, 47, 91, 0.1);
  color: var(--ink);
}
.world-count {
  color: var(--navy);
}
.world-count b {
  color: var(--red);
}
.world-head > p:last-child {
  color: var(--muted);
}
.flag {
  border-color: rgba(8, 47, 91, 0.14);
  background: var(--white);
  color: var(--navy-deep);
}
.flag.is-active {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}
.flag:focus-visible {
  outline-color: var(--navy);
}
.country-panel h3 {
  color: var(--navy-deep);
}
.country-panel h3 span {
  color: var(--muted);
}
.country-panel.is-active {
  animation: panel-in 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}
.cty-logos li {
  box-shadow: 0 10px 24px -18px rgba(6, 31, 62, 0.5);
}
.logo-ticker {
  margin: 0 calc(clamp(22px, 3vw, 36px) * -1) 22px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logo-ticker ul {
  display: flex;
  gap: 12px;
  width: max-content;
  margin: 0;
  padding: 4px 0;
  list-style: none;
  animation: ticker 70s linear infinite;
}
.logo-ticker:hover ul {
  animation-play-state: paused;
}
.logo-ticker li {
  display: grid;
  flex: none;
  place-items: center;
  width: 112px;
  height: 64px;
  padding: 6px;
  border-radius: 12px;
  background: var(--white);
}
.logo-ticker img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}
.js .ref-orgs .ref-org {
  opacity: 0;
  transform: translateY(24px) rotate(-2deg);
}
.js .ref-orgs.visible .ref-org {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s, transform 0.7s cubic-bezier(0.34, 1.4, 0.64, 1), box-shadow 0.35s, border-color 0.35s;
}
.js .ref-orgs.visible .ref-org:nth-child(2) { transition-delay: 0.08s, 0.08s, 0s, 0s; }
.js .ref-orgs.visible .ref-org:nth-child(3) { transition-delay: 0.16s, 0.16s, 0s, 0s; }
.js .ref-orgs.visible .ref-org:nth-child(4) { transition-delay: 0.24s, 0.24s, 0s, 0s; }
.js .ref-orgs.visible .ref-org:nth-child(5) { transition-delay: 0.32s, 0.32s, 0s, 0s; }
.js .ref-orgs.visible .ref-org:nth-child(6) { transition-delay: 0.4s, 0.4s, 0s, 0s; }
.js .ref-orgs.visible .ref-org:hover {
  transform: translateY(-5px);
}
.ref-org-hl {
  background-size: 200% 200%;
  animation: hl-shift 6s ease-in-out infinite alternate;
}
@keyframes hl-shift {
  to {
    background-position: 100% 100%;
  }
}

/* Contact : entête en dégradé, parcours de la demande qui s'allume étape par étape */
.pg-hero--contact2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  background: linear-gradient(120deg, var(--navy-deep) 0%, var(--navy) 50%, #0d3f78 80%, #6e1a3d 120%);
}
.pg-hero--contact2::before {
  display: none;
}
.pg-hero--contact2 .pg-hero-in {
  max-width: none;
  padding-bottom: clamp(48px, 6vw, 92px);
}
.ab-eyebrow-light {
  color: var(--gold);
}
.ab-eyebrow-light span {
  background: var(--gold);
}
.pg-hero--contact2 h1 em {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--gold);
}
.ct-ring {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  pointer-events: none;
  animation: ct-ring 14s linear infinite;
}
.ct-ring-1 {
  top: -30%;
  right: -10%;
  width: 60vw;
  aspect-ratio: 1;
}
.ct-ring-2 {
  bottom: -50%;
  left: -15%;
  width: 45vw;
  aspect-ratio: 1;
  border-color: rgba(242, 196, 19, 0.16);
  animation-direction: reverse;
}
@keyframes ct-ring {
  50% {
    transform: scale(1.06);
  }
}
.journey {
  --t: 9s;
  position: relative;
  z-index: 2;
  display: grid;
  gap: 14px;
  margin: 0 var(--gutter) clamp(48px, 6vw, 92px) 0;
  padding: 0;
  list-style: none;
}
.journey::before,
.journey::after {
  content: "";
  position: absolute;
  top: 34px;
  bottom: 34px;
  left: 33px;
  width: 2px;
  background: rgba(255, 255, 255, 0.18);
}
.journey::after {
  background: linear-gradient(180deg, var(--gold), #f26a21);
  transform-origin: top;
  animation: journey-line var(--t) ease-in-out infinite;
}
@keyframes journey-line {
  0%, 8% { transform: scaleY(0); }
  60%, 92% { transform: scaleY(1); }
  100% { transform: scaleY(1); opacity: 0; }
}
.journey-step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px 14px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  animation: step-lit var(--t) ease-in-out infinite;
  animation-delay: calc(var(--n) * 2.2s);
}
.journey-step b {
  display: block;
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
}
.journey-step div span {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
}
.journey-ico {
  position: relative;
  z-index: 1;
  display: grid;
  flex: none;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--gold);
  animation: ico-lit var(--t) ease-in-out infinite;
  animation-delay: calc(var(--n) * 2.2s);
}
.journey-ico svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@keyframes step-lit {
  0%, 30%, 100% { border-color: rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.06); transform: none; }
  6%, 24% { border-color: var(--gold); background: rgba(255, 255, 255, 0.14); transform: translateX(8px); }
}
@keyframes ico-lit {
  0%, 30%, 100% { background: rgba(255, 255, 255, 0.12); color: var(--gold); }
  6%, 24% { background: var(--gold); color: var(--navy-deep); }
}
/* Retire l'ancienne carte d'appel */
.pg-hero--contact2 + .pg-section {
  padding-top: clamp(48px, 6vw, 80px);
}

@media (max-width: 1000px) {
  .pg-hero--contact2 {
    grid-template-columns: minmax(0, 1fr);
  }
  .pg-hero--contact2 .pg-hero-in {
    padding-bottom: 20px;
  }
  .journey {
    margin: 0 var(--gutter) 48px;
  }
}
@media (max-width: 760px) {
  .person-solo {
    grid-template-columns: minmax(0, 1fr);
  }
  .person-solo-photo {
    min-height: 0;
    aspect-ratio: 4 / 4.2;
  }
}
@media (prefers-reduced-motion: reduce) {
  .logo-ticker ul,
  .journey::after,
  .journey-step,
  .journey-ico,
  .ct-ring,
  .ref-org-hl {
    animation: none;
  }
  .js .ref-orgs .ref-org {
    opacity: 1;
    transform: none;
  }
  .logo-ticker {
    overflow-x: auto;
  }
}
.pg-hero--contact2 .journey {
  margin-top: clamp(40px, 5vw, 72px);
}
@media (max-width: 1000px) {
  .pg-hero--contact2 .journey {
    margin-top: 0;
  }
}

/* ---------- Accueil : Ils nous font confiance ---------- */
.trust {
  padding: clamp(56px, 7vw, 96px) var(--gutter);
  background: linear-gradient(180deg, var(--white) 0%, #e7eef6 100%);
  text-align: center;
}
.trust .pg-head {
  max-width: 720px;
  margin: 0 auto 32px;
}
.trust .ab-eyebrow {
  justify-content: center;
}
.trust h2 {
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.trust h2 em {
  font-family: var(--serif);
  color: var(--red);
}
.trust .pg-head > p:last-child {
  color: var(--muted);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  perspective: 900px;
}
.trust-tile {
  display: grid;
  place-items: center;
  height: 120px;
  padding: 18px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 18px 40px -28px rgba(6, 31, 62, 0.55);
  transition: transform 0.55s cubic-bezier(0.65, 0, 0.35, 1), box-shadow 0.3s;
}
.trust-tile:hover {
  box-shadow: 0 26px 50px -26px rgba(6, 31, 62, 0.6);
  transform: translateY(-6px);
}
.trust-tile img {
  max-width: 100%;
  max-height: 84px;
  object-fit: contain;
}
/* Retournement : la tuile pivote, change de logo, revient */
.trust-tile.is-flipping {
  transform: rotateY(90deg);
}
.js .trust-grid:not(.visible) .trust-tile {
  opacity: 0;
  translate: 0 30px;
}
.js .trust-grid.visible .trust-tile {
  opacity: 1;
  translate: 0 0;
  transition: opacity 0.6s calc(var(--n) * 0.06s), translate 0.7s cubic-bezier(0.16, 1, 0.3, 1) calc(var(--n) * 0.06s), transform 0.55s cubic-bezier(0.65, 0, 0.35, 1), box-shadow 0.3s;
}
.trust-more {
  display: inline-block;
  margin-top: 28px;
}
@media (max-width: 1000px) {
  .trust-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .trust-tile {
    height: 96px;
    padding: 12px;
  }
  .trust-tile img {
    max-height: 66px;
  }
}

/* ---------- À propos : un pays arrive, ses logos apparaissent, puis le suivant ---------- */
.country-panels {
  position: relative;
  min-height: 300px;
  padding-top: 10px;
}
.country-progress {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  border-radius: 3px;
  background: rgba(8, 47, 91, 0.1);
  overflow: hidden;
}
.country-progress::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--red), #f26a21);
  transform-origin: left;
  transform: scaleX(0);
}
.world.is-running .country-progress::after {
  animation: country-time var(--country-time, 6s) linear both;
}
.world.is-paused .country-progress::after {
  animation-play-state: paused;
}
@keyframes country-time {
  to {
    transform: none;
  }
}
.country-panel.is-active {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  padding-top: 22px;
  animation: none;
}
.country-id {
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
}
.country-flag {
  width: 150px;
  height: 100px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 20px 40px -18px rgba(6, 31, 62, 0.6);
  animation: flag-in 0.8s cubic-bezier(0.34, 1.4, 0.64, 1) backwards;
}
@keyframes flag-in {
  from {
    opacity: 0;
    transform: translateX(-60px) rotate(-12deg) scale(0.7);
  }
}
.country-id h3 {
  display: grid;
  gap: 2px;
  margin: 0;
  font-size: 24px;
  animation: pg-rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.15s backwards;
}
.country-id h3 span {
  font-size: 14px;
}
.country-panel.is-active .cty-logos li {
  animation: logo-in 0.6s cubic-bezier(0.34, 1.4, 0.64, 1) backwards;
  animation-delay: calc(0.35s + var(--n) * 0.06s);
}
/* Sortie : le drapeau et les logos s'envolent avant le pays suivant */
.country-panel.is-leaving {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  padding-top: 22px;
}
.country-panel.is-leaving .country-flag,
.country-panel.is-leaving .country-id h3,
.country-panel.is-leaving .cty-logos li {
  animation: logo-out 0.4s ease-in forwards;
}
.country-panel.is-leaving .cty-logos li {
  animation-delay: calc(var(--n) * 0.015s);
}
@keyframes logo-out {
  to {
    opacity: 0;
    transform: translateX(40px) scale(0.85);
  }
}
@media (max-width: 760px) {
  .country-panel.is-active,
  .country-panel.is-leaving {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .country-flag {
    width: 96px;
    height: 64px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .country-flag,
  .country-id h3,
  .country-panel.is-active .cty-logos li {
    animation: none;
  }
  .js .trust-grid:not(.visible) .trust-tile {
    opacity: 1;
    translate: none;
  }
}
.cty-logos li {
  overflow: hidden;
}
.cty-logos img {
  max-height: 64px;
}
@media (max-width: 640px) {
  .cty-logos img {
    max-height: 52px;
  }
}

/* ---------- À propos : chiffres à la place de la photo ---------- */
.stat-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-self: center;
}
.stat {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 190px;
  padding: 22px;
  overflow: hidden;
  border-radius: 24px;
  color: var(--white);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.stat:hover {
  transform: translateY(-6px);
}
.stat::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}
.stat-a { background: linear-gradient(150deg, var(--navy) 0%, #0d3f78 100%); }
.stat-b { background: linear-gradient(150deg, #c8102e 0%, #f26a21 100%); }
.stat-c { background: linear-gradient(150deg, var(--gold) 0%, #f2a413 100%); color: var(--navy-deep); }
.stat-d { background: linear-gradient(150deg, #006b40 0%, #008751 100%); }
.stat-ico {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: auto;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.18);
}
.stat-ico svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.stat b {
  margin-top: 14px;
  font-size: clamp(44px, 4.4vw, 62px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat > span:last-child {
  position: relative;
  font-size: 14.5px;
  line-height: 1.4;
  opacity: 0.92;
}

/* ---------- À propos : pays rangés par région, sans conteneur ---------- */
.world {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  padding: 0;
  border: 0;
  background: none;
}
.world-nav {
  display: grid;
  gap: 18px;
}
.world-count {
  margin: 0;
}
.region-name {
  margin: 0 0 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
}
.world .flags {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
}
.world .flag {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 46px;
  padding: 6px 10px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: var(--navy-deep);
  font-size: 14.5px;
  font-weight: 600;
  text-align: left;
  transition: background 0.25s, border-color 0.25s, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.world .flag img {
  width: 32px;
  height: 22px;
}
.world .flag small {
  min-width: 26px;
  padding: 2px 7px;
  border-radius: 99px;
  background: rgba(8, 47, 91, 0.08);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  color: var(--navy);
}
.world .flag:hover {
  border-color: rgba(8, 47, 91, 0.15);
  background: var(--white);
  transform: translateX(4px);
}
.world .flag.is-active {
  border-color: transparent;
  background: var(--navy);
  color: var(--white);
  transform: translateX(6px);
}
.world .flag.is-active small {
  background: var(--gold);
  color: var(--navy-deep);
}
.world .country-panels {
  position: sticky;
  top: 110px;
  min-height: 420px;
  padding: clamp(20px, 3vw, 32px);
  border-radius: 26px;
  background: linear-gradient(160deg, #e7eef6 0%, var(--white) 100%);
  box-shadow: 0 30px 60px -40px rgba(6, 31, 62, 0.5);
}
.world .country-progress {
  top: 18px;
  right: 26px;
  left: 26px;
}
.world .country-panel.is-active,
.world .country-panel.is-leaving {
  grid-template-columns: minmax(0, 1fr);
  justify-items: start;
  gap: 20px;
}
.world .country-id {
  display: flex;
  align-items: center;
  gap: 18px;
  text-align: left;
}
.world .country-flag {
  width: 108px;
  height: 72px;
}
.world .cty-logos {
  width: 100%;
  grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
}

/* ---------- À propos : Pourquoi nous ---------- */
.ab-why {
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: var(--white);
}
.ab-why-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
.ab-why-head h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  line-height: 1.15;
  color: var(--white);
}
.ab-why-head > p:not(.ab-eyebrow) {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.8);
}
.why-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.why-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 78px;
  padding: 14px 18px 14px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.35;
  transition: background 0.3s, border-color 0.3s, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.why-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}
.why-card:hover {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
}
.why-ico {
  display: grid;
  flex: none;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--gold), #f26a21);
  color: var(--navy-deep);
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.why-card:hover .why-ico {
  transform: rotate(-8deg) scale(1.08);
}
.why-ico svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.js .why-cards .why-card {
  opacity: 0;
  translate: 0 24px;
}
.js .ab-why.is-in .why-card,
.js .why-cards.visible .why-card {
  opacity: 1;
  translate: 0 0;
  transition: opacity 0.6s calc(var(--n) * 0.08s), translate 0.7s cubic-bezier(0.16, 1, 0.3, 1) calc(var(--n) * 0.08s), background 0.3s, border-color 0.3s, transform 0.35s;
}

/* ---------- Contact : carte en points, liaison animée ---------- */
.pg-hero--contact2 {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: radial-gradient(circle at 75% 40%, #0d3f78 0%, var(--navy) 40%, var(--navy-deep) 100%);
}
.ct-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.ct-badges li {
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}
.ct-badges b {
  color: var(--gold);
}
@media (max-width: 1100px) {
  .world {
    grid-template-columns: minmax(0, 1fr);
  }
  .world .country-panels {
    position: static;
  }
}
@media (max-width: 1000px) {
  .pg-hero--contact2 {
    grid-template-columns: minmax(0, 1fr);
  }
  .ab-why-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 640px) {
  .why-cards {
    grid-template-columns: minmax(0, 1fr);
  }
  .world .flag {
    gap: 7px;
    min-height: 40px;
    padding: 5px 7px;
    font-size: 13px;
  }
  .world .flag img {
    width: 24px;
    height: 16px;
  }
  .world .flag small {
    min-width: 22px;
    padding: 1px 5px;
    font-size: 11px;
  }
  .world .flag:hover,
  .world .flag.is-active {
    transform: none;
  }
  .world .cty-logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .stat {
    min-height: 160px;
    padding: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .js .why-cards .why-card {
    opacity: 1;
    translate: none;
  }
}

/* ---------- À propos : chiffres des références en grand ---------- */
.world-kpis {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 clamp(32px, 4vw, 52px);
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 60%, #0d3f78 100%);
  color: var(--white);
  box-shadow: 0 40px 80px -50px rgba(6, 31, 62, 0.9);
}
.world-kpis::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 196, 19, 0.28), transparent 70%);
}
.kpi {
  position: relative;
  display: grid;
  justify-items: start;
  gap: 6px;
  padding: clamp(26px, 3.4vw, 44px);
}
.kpi + .kpi {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}
.kpi-ico {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 8px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--gold);
}
.kpi-ico svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.kpi b {
  font-size: clamp(60px, 7.6vw, 112px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #ffe27a 0%, var(--gold) 45%, #f26a21 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.kpi b.is-counting {
  filter: drop-shadow(0 0 18px rgba(242, 196, 19, 0.45));
}
.kpi > span:last-child {
  font-size: clamp(15px, 1.3vw, 18px);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.86);
}
.stat b {
  font-variant-numeric: tabular-nums;
}

/* ---------- À propos : panneau du pays ---------- */
.world .country-panels {
  min-height: 380px;
  overflow: hidden;
  border: 1px solid rgba(8, 47, 91, 0.1);
  background: var(--white);
  box-shadow: 0 34px 70px -46px rgba(6, 31, 62, 0.6);
}
/* le drapeau du pays, en très grand et estompé, habille le fond du panneau */
.world .country-panel {
  position: relative;
}
.world .country-panel.is-active::before,
.world .country-panel.is-leaving::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -90px;
  z-index: 0;
  width: 360px;
  height: 240px;
  background: var(--flag) center / cover no-repeat;
  opacity: 0.1;
  filter: blur(2px);
  transform: rotate(-8deg);
  pointer-events: none;
  animation: flag-wash 0.9s ease-out backwards;
}
@keyframes flag-wash {
  from {
    opacity: 0;
    transform: rotate(-8deg) translateX(60px);
  }
}
.world .country-panel > * {
  position: relative;
  z-index: 1;
}
.world .country-id {
  width: 100%;
  padding-bottom: 18px;
  border-bottom: 1px dashed rgba(8, 47, 91, 0.18);
}
.world .country-id h3 {
  font-size: clamp(24px, 2.4vw, 32px);
}
.world .country-id h3 span {
  font-weight: 600;
  color: var(--red);
}
.world .cty-logos li {
  border: 1px solid rgba(8, 47, 91, 0.08);
  box-shadow: 0 10px 24px -18px rgba(6, 31, 62, 0.5);
}

/* ---------- Contact : entête « conversation » ---------- */
.ct-stage {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  min-height: 460px;
  margin: clamp(24px, 3vw, 44px) var(--gutter) clamp(24px, 3vw, 44px) 0;
}
.ct-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  animation: glow-drift 9s ease-in-out infinite alternate;
}
.ct-glow-a {
  top: 6%;
  left: 12%;
  width: 240px;
  height: 240px;
  background: rgba(242, 196, 19, 0.3);
}
.ct-glow-b {
  right: 6%;
  bottom: 4%;
  width: 260px;
  height: 260px;
  background: rgba(200, 16, 46, 0.32);
  animation-delay: -4s;
}
@keyframes glow-drift {
  to {
    transform: translate(40px, -30px) scale(1.15);
  }
}
.ct-chat {
  position: relative;
  width: min(100%, 400px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.6);
  animation: chat-float 7s ease-in-out infinite;
}
@keyframes chat-float {
  50% {
    transform: translateY(-10px);
  }
}
.chat-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--white);
}
.chat-av {
  display: grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--white);
}
.chat-av {
  place-items: center start;
}
.chat-av img {
  width: auto;
  max-width: none;
  height: 40px;
  margin-left: 2px;
}
.chat-top b {
  display: block;
  font-size: 15px;
}
.chat-top small {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.75);
}
.chat-top small i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2bd576;
  box-shadow: 0 0 0 0 rgba(43, 213, 118, 0.6);
  animation: online 2s infinite;
}
@keyframes online {
  70% {
    box-shadow: 0 0 0 8px rgba(43, 213, 118, 0);
  }
}
.chat-call {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-deep);
}
.chat-call svg,
.chip-ico svg,
.file-ico svg,
.file-ok svg,
.chat-send svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ct-stage[data-step="5"] .chat-call {
  animation: ring 0.9s ease-in-out 3;
}
@keyframes ring {
  0%, 100% { transform: rotate(0); }
  20% { transform: rotate(-18deg); }
  40% { transform: rotate(16deg); }
  60% { transform: rotate(-10deg); }
  80% { transform: rotate(6deg); }
}
.chat-body {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  height: 252px;
  padding: 18px;
  overflow: hidden;
}
.chat-body > * {
  display: none;
}
.chat-body > .on {
  display: flex;
  animation: bubble-in 0.5s cubic-bezier(0.34, 1.5, 0.64, 1);
}
@keyframes bubble-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.9);
  }
}
.msg {
  max-width: 82%;
  padding: 11px 15px;
  font-size: 14.5px;
  line-height: 1.4;
}
.msg-in {
  align-self: flex-start;
  border-radius: 18px 18px 18px 6px;
  background: var(--white);
  color: var(--navy-deep);
  transform-origin: bottom left;
}
.msg-out {
  align-self: flex-end;
  border-radius: 18px 18px 6px 18px;
  background: linear-gradient(135deg, var(--gold), #f2a413);
  color: var(--navy-deep);
  font-weight: 600;
  transform-origin: bottom right;
}
.typing {
  gap: 5px;
  width: max-content;
  padding: 13px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.85);
}
.typing-out {
  align-self: flex-end;
  background: rgba(242, 196, 19, 0.85);
}
.typing i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--navy);
  animation: dot-jump 1s infinite;
}
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dot-jump {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-5px); opacity: 1; }
}
.msg-file {
  align-self: flex-end;
  align-items: center;
  gap: 12px;
  width: 82%;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  background: rgba(6, 31, 62, 0.55);
  color: var(--white);
}
.file-ico {
  display: grid;
  flex: none;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #c8102e;
}
.msg-file b {
  display: block;
  font-size: 14px;
}
.msg-file small {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}
.file-ok {
  display: grid;
  flex: none;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-left: auto;
  border-radius: 50%;
  background: #2bd576;
  color: var(--white);
}
.msg-file.on .file-ok {
  animation: bubble-in 0.5s cubic-bezier(0.34, 1.8, 0.64, 1) 0.5s backwards;
}
.chat-input {
  display: flex;
  align-items: center;
  margin: 0 14px 14px;
  padding: 8px 8px 8px 16px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.6);
}
.chat-send {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
}
.ct-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 8px;
  border-radius: 99px;
  background: var(--white);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6);
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-deep);
  animation: chip-bob 6s ease-in-out infinite;
}
.chip-ico {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--white);
}
.ct-chip-phone { top: 12%; left: 2%; }
.ct-chip-phone .chip-ico { background: #008751; }
.ct-chip-phone .chip-ico::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #008751;
  animation: ring-wave 1.8s ease-out infinite;
}
@keyframes ring-wave {
  to {
    opacity: 0;
    transform: scale(1.9);
  }
}
.ct-chip-mail { right: 0; top: 40%; animation-delay: -2s; }
.ct-chip-mail .chip-ico { background: #c8102e; }
.ct-chip-cal { top: 62%; left: 0; animation-delay: -4s; }
.ct-chip-cal .chip-ico { background: var(--navy); }
@keyframes chip-bob {
  50% {
    transform: translateY(-12px);
  }
}

/* ---------- Contact : formulaire ---------- */
.form-card {
  padding: clamp(24px, 3.4vw, 48px);
  border: 1px solid rgba(8, 47, 91, 0.08);
  border-radius: 28px;
  box-shadow: 0 40px 90px -50px rgba(6, 31, 62, 0.65);
}
.form-card::before {
  height: 6px;
}
.form-card h2 {
  font-size: clamp(28px, 2.8vw, 38px);
}
.form-card fieldset {
  margin-bottom: 28px;
  padding-top: 26px;
  border-top: 1px dashed rgba(8, 47, 91, 0.16);
}
.form-card legend {
  display: flex;
  align-items: center;
  gap: 10px;
  float: left;
  width: 100%;
  margin-bottom: 16px;
  font-size: 13.5px;
}
.form-card legend + * {
  clear: both;
}
.lg-ico {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold), #f26a21);
  color: var(--navy-deep);
}
.lg-ico svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.form-card .field input,
.form-card .field select,
.form-card .field textarea {
  border-radius: 14px;
  background: #f6f8fb;
}
.form-card .field input:focus,
.form-card .field select:focus,
.form-card .field textarea:focus {
  border-color: var(--navy);
  background: var(--white);
}

/* Votre besoin : de vraies cartes de choix */
.need-choices {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.need label {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-content: center;
  column-gap: 14px;
  row-gap: 2px;
  min-height: 96px;
  padding: 16px 44px 16px 16px;
  overflow: hidden;
  border: 1.5px solid rgba(8, 47, 91, 0.12);
  border-radius: 20px;
  background: var(--white);
  font-size: 15.5px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s, box-shadow 0.3s, color 0.25s;
}
.need label small {
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--muted);
  transition: color 0.25s;
}
.need-ico {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  grid-row: 1 / span 2;
  border-radius: 15px;
  color: var(--white);
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.25s;
}
.need label .need-ico .svc-icon {
  width: 24px;
  height: 24px;
  color: currentColor;
}
.need:nth-child(1) .need-ico { background: linear-gradient(135deg, var(--navy), #0d3f78); }
.need:nth-child(2) .need-ico { background: linear-gradient(135deg, #c8102e, #f26a21); }
.need:nth-child(3) .need-ico { background: linear-gradient(135deg, var(--gold), #f2a413); color: var(--navy-deep); }
.need:nth-child(4) .need-ico { background: linear-gradient(135deg, #006b40, #008751); }
.need label::after {
  content: "";
  position: absolute;
  top: 14px;
  right: 14px;
  width: 22px;
  height: 22px;
  border: 2px solid rgba(8, 47, 91, 0.2);
  border-radius: 50%;
  transition: background 0.25s, border-color 0.25s;
}
.need label:hover {
  border-color: var(--navy);
  box-shadow: 0 24px 40px -28px rgba(6, 31, 62, 0.6);
  transform: translateY(-4px);
}
.need label:hover .need-ico {
  transform: rotate(-8deg) scale(1.08);
}
.need input:checked + label {
  border-color: transparent;
  background: linear-gradient(150deg, var(--navy-deep), var(--navy));
  box-shadow: 0 24px 44px -26px rgba(6, 31, 62, 0.9);
  color: var(--white);
}
.need input:checked + label small {
  color: rgba(255, 255, 255, 0.75);
}
.need input:checked + label::after {
  border-color: var(--gold);
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23061f3e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.form-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.form-submit svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.form-submit:hover svg {
  transform: translate(4px, -4px);
}

@media (max-width: 1000px) {
  .ct-stage {
    margin: 0 var(--gutter) 40px;
  }
}
@media (max-width: 760px) {
  .world-kpis {
    grid-template-columns: minmax(0, 1fr);
  }
  .kpi {
    grid-template-columns: auto 1fr;
    align-items: center;
    column-gap: 16px;
    padding: 20px 22px;
  }
  .kpi-ico {
    grid-row: span 2;
    margin: 0;
  }
  .kpi + .kpi {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-left: 0;
  }
  .kpi b {
    font-size: 56px;
  }
}
@media (max-width: 640px) {
  .ct-stage {
    min-height: 0;
    padding: 30px 0 46px;
  }
  .ct-chip {
    font-size: 12.5px;
  }
  .ct-chip-phone { top: 0; left: 0; }
  .ct-chip-mail { top: auto; right: 0; bottom: 0; }
  .ct-chip-cal { display: none; }
  .chat-body {
    height: 300px;
  }
  .msg {
    font-size: 14px;
  }
  .need-choices {
    grid-template-columns: minmax(0, 1fr);
  }
  .need label {
    grid-template-columns: 40px minmax(0, 1fr);
    min-height: 0;
  }
  .need-ico {
    width: 40px;
    height: 40px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ct-glow,
  .ct-chat,
  .ct-chip,
  .chat-top small i,
  .ct-chip-phone .chip-ico::after,
  .typing i {
    animation: none;
  }
}

/* ---------- Plus aucun bloc qui suit le défilement ---------- */
.contact-aside,
.world .country-panels,
.legal-toc {
  position: static;
}

/* ---------- À propos : bandeau des chiffres, plus doux ---------- */
.world-kpis {
  border: 1px solid rgba(8, 47, 91, 0.1);
  border-color: rgba(42, 108, 176, 0.22);
  background: linear-gradient(135deg, rgba(42, 120, 214, 0.13) 0%, rgba(42, 120, 214, 0.24) 100%);
  color: var(--navy-deep);
  box-shadow: none;
}
.world-kpis::before {
  content: none;
}
.kpi + .kpi {
  border-color: rgba(42, 108, 176, 0.25);
}
.kpi-ico {
  background: var(--navy);
  color: var(--gold);
}
.kpi b {
  background: linear-gradient(180deg, var(--navy) 0%, #0d3f78 55%, #c8102e 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.kpi b.is-counting {
  filter: none;
}
.kpi > span:last-child {
  color: var(--navy-deep);
}

/* ---------- Contact : « Nous joindre directement » ---------- */
.ct-direct {
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(8, 47, 91, 0.08);
  border-radius: 28px;
  background: var(--white);
  color: var(--navy-deep);
  box-shadow: 0 40px 90px -50px rgba(6, 31, 62, 0.65);
}
.ctd-head {
  position: relative;
  padding: 28px 28px 26px;
  overflow: hidden;
  background: linear-gradient(150deg, var(--navy-deep), var(--navy));
  color: var(--white);
}
.ctd-head::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -70px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 196, 19, 0.35), transparent 70%);
}
.ct-direct .contact-aside-head {
  margin: 0 0 6px;
  color: var(--white);
}
.ctd-head p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}
.ctd-list {
  display: grid;
  gap: 10px;
  padding: 20px;
}
.ctd {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px 12px 12px;
  border: 1px solid rgba(8, 47, 91, 0.1);
  border-radius: 18px;
  background: var(--white);
  color: var(--navy-deep);
  text-decoration: none;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s, box-shadow 0.3s;
}
.ctd:hover {
  border-color: transparent;
  box-shadow: 0 20px 40px -24px rgba(6, 31, 62, 0.55);
  transform: translateY(-3px);
}
.ctd-ico {
  position: relative;
  display: grid;
  flex: none;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 16px;
  color: var(--white);
}
.ctd-ico svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ctd-wa .ctd-ico svg {
  width: 28px;
  height: 28px;
  stroke: none;
}
.ctd-bj .ctd-ico,
.ctd-fr .ctd-ico { background: linear-gradient(135deg, var(--navy), #0d3f78); }
.ctd-wa .ctd-ico { background: #25d366; }
.ctd-mail .ctd-ico { background: linear-gradient(135deg, #c8102e, #f26a21); }
.ctd-flag {
  position: absolute;
  right: -5px;
  bottom: -4px;
  width: 22px;
  height: 22px;
  border: 2px solid var(--white);
  border-radius: 50%;
  object-fit: cover;
}
.ctd-txt {
  display: grid;
  min-width: 0;
}
.ctd-txt small {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.ctd-txt strong {
  overflow: hidden;
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ctd-go {
  display: grid;
  flex: none;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-left: auto;
  border-radius: 50%;
  background: rgba(8, 47, 91, 0.06);
  color: var(--navy);
  transition: background 0.25s, color 0.25s, transform 0.35s;
}
.ctd-go svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ctd:hover .ctd-go {
  background: var(--gold);
  color: var(--navy-deep);
  transform: translateX(3px);
}
.ctd-offices {
  display: grid;
  gap: 10px;
  margin: 0 20px 20px;
  padding: 16px;
  border-radius: 18px;
  background: #f3f6fa;
}
.ctd-office {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.45;
}
.ctd-office b {
  display: block;
  color: var(--navy-deep);
}
.ctd-office span {
  color: var(--muted);
}
.ctd-pin {
  display: grid;
  flex: none;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--white);
  color: var(--red);
}
.ctd-pin svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Mentions légales : entête ---------- */
.lg-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 32px;
  padding: clamp(48px, 6vw, 88px) var(--gutter);
  overflow: hidden;
  background: radial-gradient(circle at 80% 40%, #0d3f78 0%, var(--navy) 40%, var(--navy-deep) 100%);
  color: var(--white);
}
.lg-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(36px, 4.6vw, 62px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--white);
}
.lg-hero h1 em {
  font-family: var(--serif);
  color: var(--gold);
}
.lg-hero .pg-lead {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.82);
}
.lg-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.lg-facts li {
  display: grid;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 15px;
  font-weight: 600;
}
.lg-facts small {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}
.lg-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 360px;
}
.lg-orbit {
  position: absolute;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  animation: lg-spin 40s linear infinite;
}
.lg-orbit-1 { width: 300px; height: 300px; }
.lg-orbit-2 { width: 400px; height: 400px; animation-direction: reverse; animation-duration: 60s; }
@keyframes lg-spin {
  to { transform: rotate(360deg); }
}
.lg-shield {
  position: relative;
  width: 210px;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.35));
  animation: chat-float 7s ease-in-out infinite;
}
.lg-shield-bg {
  fill: rgba(255, 255, 255, 0.08);
}
.lg-shield-line {
  fill: none;
  stroke: url(#lgShield);
  stroke-width: 6;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: lg-draw 1.8s cubic-bezier(0.65, 0, 0.35, 1) 0.2s forwards;
}
@keyframes lg-draw {
  to { stroke-dashoffset: 0; }
}
.lg-lock {
  fill: none;
  stroke: var(--white);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform-origin: 100px 120px;
  animation: lg-lock 4s ease-in-out 1.8s infinite;
}
.lg-lock rect {
  fill: rgba(242, 196, 19, 0.2);
}
@keyframes lg-lock {
  0%, 70%, 100% { transform: none; }
  78% { transform: translateY(-6px); }
  86% { transform: none; }
}
.lg-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 8px;
  border-radius: 99px;
  background: var(--white);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy-deep);
  animation: chip-bob 6s ease-in-out infinite;
}
.lg-badge svg {
  box-sizing: content-box;
  width: 16px;
  height: 16px;
  padding: 7px;
  border-radius: 50%;
  fill: none;
  stroke: var(--white);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lg-badge-1 { top: 12%; left: 6%; }
.lg-badge-1 svg { background: #008751; }
.lg-badge-2 { top: 44%; right: 2%; animation-delay: -2s; }
.lg-badge-2 svg { background: #c8102e; }
.lg-badge-3 { bottom: 10%; left: 12%; animation-delay: -4s; }
.lg-badge-3 svg { background: var(--navy); }

/* ---------- Mentions légales : contenu ---------- */
.lg-page {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
}
.lg-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}
.lg-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(8, 47, 91, 0.1);
  border-radius: 16px;
  background: var(--white);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--navy-deep);
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s, box-shadow 0.3s;
}
.lg-nav a:hover {
  border-color: var(--navy);
  box-shadow: 0 18px 34px -24px rgba(6, 31, 62, 0.6);
  transform: translateY(-3px);
}
.lg-nav span {
  display: grid;
  flex: none;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: rgba(8, 47, 91, 0.07);
  color: var(--navy);
}
.lg-nav svg,
.lg-tile-ico svg,
.lg-card-ico svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lg-block {
  padding: clamp(24px, 3.4vw, 48px);
  border: 1px solid rgba(8, 47, 91, 0.08);
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 40px 90px -60px rgba(6, 31, 62, 0.55);
  scroll-margin-top: 110px;
}
.lg-block-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 20px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px dashed rgba(8, 47, 91, 0.16);
}
.lg-block-head h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.lg-block .legal-date {
  margin: 0;
  padding: 6px 12px;
  border-radius: 99px;
  background: rgba(242, 196, 19, 0.18);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-deep);
}
.lg-sub {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
}
.lg-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 26px;
}
.lg-tile {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border-radius: 18px;
  background: #f3f6fa;
}
.lg-tile-wide {
  grid-column: span 2;
}
.lg-tile-ico {
  display: grid;
  flex: none;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--gold);
}
.lg-tile dt {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.lg-tile dd {
  margin: 2px 0 0;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--navy-deep);
  overflow-wrap: anywhere;
}
.lg-mini {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.lg-mini article {
  padding: 18px;
  border: 1px solid rgba(8, 47, 91, 0.1);
  border-radius: 18px;
}
.lg-mini h3,
.lg-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  color: var(--navy-deep);
}
.lg-mini p,
.lg-card p,
.lg-card li,
.lg-intro p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
}
.lg-mini p:last-child,
.lg-card > :last-child {
  margin-bottom: 0;
}
.lg-intro {
  max-width: 900px;
  margin-bottom: 24px;
}
.lg-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.lg-card {
  position: relative;
  padding: 22px 22px 22px 80px;
  border: 1px solid rgba(8, 47, 91, 0.1);
  border-radius: 20px;
  scroll-margin-top: 110px;
  transition: border-color 0.25s, box-shadow 0.3s;
}
.lg-card:hover {
  border-color: rgba(8, 47, 91, 0.25);
  box-shadow: 0 24px 44px -34px rgba(6, 31, 62, 0.55);
}
.lg-card-wide {
  grid-column: 1 / -1;
}
.lg-card-ico {
  position: absolute;
  top: 20px;
  left: 20px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: var(--white);
}
.lg-card:nth-child(4n + 1) .lg-card-ico { background: linear-gradient(135deg, var(--navy), #0d3f78); }
.lg-card:nth-child(4n + 2) .lg-card-ico { background: linear-gradient(135deg, #c8102e, #f26a21); }
.lg-card:nth-child(4n + 3) .lg-card-ico { background: linear-gradient(135deg, var(--gold), #f2a413); color: var(--navy-deep); }
.lg-card:nth-child(4n + 4) .lg-card-ico { background: linear-gradient(135deg, #006b40, #008751); }
.lg-card ul {
  margin: 0 0 12px;
  padding-left: 18px;
}
.lg-card li::marker {
  color: var(--red);
}
.lg-card a,
.lg-tile a,
.lg-mini a {
  color: var(--navy);
  font-weight: 600;
}

@media (max-width: 1000px) {
  .lg-hero {
    grid-template-columns: minmax(0, 1fr);
  }
  .lg-visual {
    min-height: 300px;
  }
  .lg-tiles,
  .lg-mini {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .lg-orbit-2 {
    display: none;
  }
  .lg-orbit-1 {
    width: 260px;
    height: 260px;
  }
  .lg-shield {
    width: 160px;
  }
  .lg-badge {
    font-size: 12px;
  }
  .lg-badge-1 { left: 0; }
  .lg-badge-2 { right: 0; }
  .lg-badge-3 { left: 4%; }
  .lg-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .lg-tiles,
  .lg-mini,
  .lg-cards {
    grid-template-columns: minmax(0, 1fr);
  }
  .lg-tile-wide {
    grid-column: auto;
  }
  .lg-card {
    padding: 74px 18px 18px;
  }
  .ctd-list {
    padding: 14px;
  }
  .ctd-offices {
    margin: 0 14px 14px;
  }
  .ctd-txt strong {
    font-size: 14.5px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .lg-orbit,
  .lg-shield,
  .lg-lock,
  .lg-badge {
    animation: none;
  }
  .lg-shield-line {
    animation: none;
    stroke-dashoffset: 0;
  }
}

/* Formations : domaine à longue liste, photo à côté du texte (plus de bandeau étiré) */
.domain-long .tiles {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 640px) {
  .domain-long .tiles {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (min-width: 1101px) {
  .domain:nth-child(even) {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  }
}

/* Formations : coche à la place des numéros */
.tile-ico {
  display: grid;
  flex: none;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(242, 196, 19, 0.25);
  color: var(--navy);
}
.tile-ico svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* À propos : deux fiches équipe, la seconde inversée ; photo seule dans l'entête */
.ab-team .person-solo + .person-solo {
  margin-top: clamp(20px, 3vw, 32px);
}
.person-solo-body > p:not(.person-role):not(.person-sub) + p {
  margin-top: 12px;
}
@media (min-width: 901px) {
  .person-solo--flip {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    margin-left: auto;
  }
  .person-solo--flip .person-solo-photo {
    order: 2;
  }
}
.ab-collage-solo .ab-shot-main {
  top: 4%;
  left: 4%;
  width: 92%;
  height: 90%;
  rotate: -2deg;
}

/* Fiches équipe : même taille, décalées de chaque côté (Aurelle à gauche, Hervé à droite) */
.ab-team .person-solo {
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  width: min(100%, 980px);
  max-width: none;
  margin: 0 auto 0 0;
  transition: box-shadow 0.4s, translate 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.ab-team .person-solo + .person-solo {
  margin-top: clamp(20px, 3vw, 32px);
}
.ab-team .person-solo-photo {
  min-height: 0;
  max-height: none;
}
.ab-team .person-solo-photo img {
  object-position: center 20%;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.ab-team .person-solo-body {
  padding: clamp(22px, 3vw, 40px) clamp(22px, 3.4vw, 46px);
}
.ab-team .person-solo h3 {
  font-size: clamp(28px, 2.6vw, 36px);
}
.ab-team .person-solo-body > p:not(.person-role):not(.person-sub) {
  font-size: 15.5px;
  line-height: 1.6;
}
.ab-team .person-solo:hover {
  translate: 0 -6px;
  box-shadow: 0 44px 80px -40px rgba(6, 31, 62, 0.6);
}
.ab-team .person-solo:hover .person-solo-photo img {
  transform: scale(1.05);
}
/* Arrivée légère : chaque fiche glisse depuis son côté, puis les étiquettes apparaissent une à une */
.js .ab-team .person-solo.reveal {
  transform: translateX(-60px);
  transition: opacity 0.9s ease, transform 1s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s, translate 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.js .ab-team .person-solo--flip.reveal {
  transform: translateX(60px);
}
.js .ab-team .person-solo.reveal.visible {
  transform: none;
}
.js .ab-team .person-solo .person-tags li {
  opacity: 0;
  translate: 0 10px;
  transition: opacity 0.5s, translate 0.5s cubic-bezier(0.34, 1.5, 0.64, 1);
}
.js .ab-team .person-solo.visible .person-tags li {
  opacity: 1;
  translate: 0 0;
}
.js .ab-team .person-solo.visible .person-tags li:nth-child(1) { transition-delay: 0.5s; }
.js .ab-team .person-solo.visible .person-tags li:nth-child(2) { transition-delay: 0.6s; }
.js .ab-team .person-solo.visible .person-tags li:nth-child(3) { transition-delay: 0.7s; }
.js .ab-team .person-solo.visible .person-tags li:nth-child(4) { transition-delay: 0.8s; }
.ab-team .person-role {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ab-team .person-role::before {
  content: "";
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
}
.ab-team .person-solo.visible .person-role::before,
html:not(.js) .ab-team .person-role::before {
  width: 26px;
}
@media (min-width: 901px) {
  .ab-team .person-solo--flip {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
    margin: 0 0 0 auto;
  }
  .ab-team .person-solo--flip .person-solo-photo {
    order: 2;
  }
}
@media (max-width: 900px) {
  .ab-team .person-solo,
  .ab-team .person-solo--flip {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }
  .ab-team .person-solo-photo {
    height: 380px;
  }
  .js .ab-team .person-solo.reveal,
  .js .ab-team .person-solo--flip.reveal {
    transform: translateY(30px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .js .ab-team .person-solo.reveal,
  .js .ab-team .person-solo--flip.reveal {
    transform: none;
  }
  .js .ab-team .person-solo .person-tags li {
    opacity: 1;
    translate: none;
  }
}


/* Fiches équipe : plus larges, moins hautes, toujours décalées */
@media (min-width: 901px) {
  .ab-team .person-solo {
    grid-template-columns: minmax(0, 0.5fr) minmax(0, 1.5fr);
    width: min(88%, 1160px);
  }
  .ab-team .person-solo--flip {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.5fr);
  }
  .ab-team .person-solo-body {
    padding: 28px clamp(24px, 3vw, 44px);
  }
  .ab-team .person-solo h3 {
    margin-bottom: 4px;
    font-size: clamp(26px, 2.2vw, 32px);
  }
  .ab-team .person-solo .person-sub {
    margin-bottom: 10px;
  }
  .ab-team .person-solo-body > p:not(.person-role):not(.person-sub) {
    font-size: 15px;
    line-height: 1.55;
  }
  .ab-team .person-solo-body > p:not(.person-role):not(.person-sub) + p {
    margin-top: 8px;
  }
  .ab-team .person-tags {
    margin-top: 14px;
  }
}

/* ---------- Technologie : bloc bleu nuit, navigateur et téléphone animés ---------- */
.tech {
  position: relative;
  padding: clamp(56px, 7vw, 100px) var(--gutter);
  overflow: hidden;
  background: radial-gradient(circle at 85% 30%, #0d3f78 0%, var(--navy) 38%, var(--navy-deep) 100%);
  color: var(--white);
  scroll-margin-top: 90px;
}
.tech-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 75% 45%, #000 0%, transparent 70%);
  animation: tech-grid 30s linear infinite;
}
@keyframes tech-grid {
  to { background-position: 44px 44px; }
}
.tech-in {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.tech-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.tech-eyebrow span {
  width: 28px;
  height: 2px;
  background: var(--gold);
}
.tech h2 {
  margin: 0 0 16px;
  font-size: clamp(30px, 3.6vw, 48px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
}
.tech h2 em {
  font-family: var(--serif);
  color: var(--gold);
}
.tech-lead {
  max-width: 540px;
  margin: 0 0 26px;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}
.tech-list {
  display: grid;
  gap: 12px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}
.tech-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px 12px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  transition: background 0.3s, border-color 0.3s, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.tech-list li:hover {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.11);
  transform: translateX(6px);
}
.tech-list b {
  display: block;
  font-size: 16px;
}
.tech-list small {
  font-size: 13px;
  color: var(--gold);
}
.tech-ico {
  display: grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--gold), #f26a21);
  color: var(--navy-deep);
}
.tech-ico svg,
.tv-chip svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.js .tech-copy .tech-list li {
  opacity: 0;
  translate: -24px 0;
}
.js .tech-copy.visible .tech-list li {
  opacity: 1;
  translate: 0 0;
  transition: opacity 0.6s calc(0.25s + var(--n) * 0.12s), translate 0.7s cubic-bezier(0.16, 1, 0.3, 1) calc(0.25s + var(--n) * 0.12s), background 0.3s, border-color 0.3s, transform 0.35s;
}
.tech-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.tech .button-line {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

/* Visuel */
.tech-visual {
  position: relative;
  min-height: 420px;
}
.tv-browser {
  position: absolute;
  top: 6%;
  left: 0;
  width: 84%;
  overflow: hidden;
  border-radius: 16px;
  background: #0b2547;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.1);
  animation: tv-float 8s ease-in-out infinite;
}
.tv-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.07);
}
.tv-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c8102e;
}
.tv-bar i:nth-child(2) { background: var(--gold); }
.tv-bar i:nth-child(3) { background: #2bd576; }
.tv-bar span {
  flex: 1;
  margin-left: 10px;
  padding: 4px 12px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}
.tv-page {
  display: grid;
  gap: 14px;
  padding: 18px;
}
.tv-hero {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(242, 196, 19, 0.22), rgba(200, 16, 46, 0.22));
}
.tv-line {
  height: 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.75);
  transform-origin: left;
  animation: tv-build 6s ease-in-out infinite;
}
.tv-line.w60 { width: 60%; }
.tv-line.w40 { width: 40%; opacity: 0.6; animation-delay: 0.2s; }
.tv-btn {
  width: 84px;
  height: 22px;
  margin-top: 6px;
  border-radius: 99px;
  background: var(--gold);
  transform-origin: left;
  animation: tv-build 6s ease-in-out 0.4s infinite;
}
@keyframes tv-build {
  0% { transform: scaleX(0); }
  15%, 85% { transform: scaleX(1); }
  100% { transform: scaleX(0); }
}
.tv-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.tv-cards span {
  height: 54px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.09);
  animation: tv-pop 6s ease-in-out infinite;
}
.tv-cards span:nth-child(2) { animation-delay: 0.15s; }
.tv-cards span:nth-child(3) { animation-delay: 0.3s; }
@keyframes tv-pop {
  0%, 10% { opacity: 0; transform: translateY(10px); }
  25%, 85% { opacity: 1; transform: none; }
  100% { opacity: 0; }
}
.tv-code {
  margin: 0;
  padding: 12px 14px;
  overflow: hidden;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.3);
  font: 500 12.5px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace;
  color: rgba(255, 255, 255, 0.85);
  white-space: pre;
}
.tv-code b { color: #ff8a8a; font-weight: 600; }
.tv-code em { font-style: normal; color: var(--gold); }
.tv-code code {
  display: block;
  clip-path: inset(0 100% 0 0);
  animation: tv-type 6s steps(40) infinite;
}
@keyframes tv-type {
  0%, 20% { clip-path: inset(0 100% 0 0); }
  55%, 90% { clip-path: inset(0 0 0 0); }
  100% { clip-path: inset(0 100% 0 0); }
}
.tv-phone {
  position: absolute;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: start;
  gap: 10px;
  width: 30%;
  min-width: 140px;
  aspect-ratio: 9 / 18;
  padding: 34px 12px 12px;
  border: 6px solid #071a33;
  border-radius: 30px;
  background: linear-gradient(180deg, #f6f8fb, #e7eef6);
  box-shadow: 0 40px 70px -30px rgba(0, 0, 0, 0.7);
  animation: tv-float 8s ease-in-out -4s infinite;
}
.tv-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 40%;
  height: 12px;
  border-radius: 99px;
  background: #071a33;
  transform: translateX(-50%);
}
.tv-app {
  aspect-ratio: 1;
  border-radius: 14px;
  animation: tv-app 6s ease-in-out infinite;
}
.tv-app.a1 { background: var(--navy); }
.tv-app.a2 { background: #c8102e; animation-delay: 0.15s; }
.tv-app.a3 { background: var(--gold); animation-delay: 0.3s; }
.tv-app.a4 { background: #008751; animation-delay: 0.45s; }
@keyframes tv-app {
  0%, 10% { transform: scale(0.4); opacity: 0; }
  22%, 88% { transform: scale(1); opacity: 1; }
  100% { transform: scale(0.4); opacity: 0; }
}
.tv-toast {
  position: absolute;
  right: 10px;
  bottom: 14px;
  left: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  background: var(--navy-deep);
  font-size: 11.5px;
  font-weight: 700;
  text-align: center;
  color: var(--white);
  animation: tv-toast 6s ease-in-out infinite;
}
.tv-toast::before {
  content: "✓ ";
  color: #2bd576;
}
@keyframes tv-toast {
  0%, 55% { opacity: 0; transform: translateY(12px); }
  65%, 92% { opacity: 1; transform: none; }
  100% { opacity: 0; }
}
@keyframes tv-float {
  50% { transform: translateY(-10px); }
}
.tv-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 8px;
  border-radius: 99px;
  background: var(--white);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy-deep);
  animation: chip-bob 6s ease-in-out infinite;
}
.tv-chip svg {
  box-sizing: content-box;
  width: 16px;
  height: 16px;
  padding: 7px;
  border-radius: 50%;
  color: var(--white);
}
.tv-chip.c1 { top: 0; right: 14%; }
.tv-chip.c1 svg { background: var(--navy); }
.tv-chip.c2 { bottom: 10%; left: 6%; animation-delay: -3s; }
.tv-chip.c2 svg { background: #008751; }

@media (max-width: 1000px) {
  .tech-in {
    grid-template-columns: minmax(0, 1fr);
  }
  .tech-visual {
    min-height: 380px;
  }
}
@media (max-width: 640px) {
  .tech-visual {
    min-height: 320px;
  }
  .tv-browser {
    width: 92%;
  }
  .tv-cards span {
    height: 40px;
  }
  .tv-code {
    font-size: 10.5px;
  }
  .tv-phone {
    min-width: 112px;
    border-width: 5px;
    border-radius: 24px;
  }
  .tv-chip.c1 {
    right: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tech-grid, .tv-browser, .tv-phone, .tv-line, .tv-btn, .tv-cards span, .tv-code code, .tv-app, .tv-toast, .tv-chip {
    animation: none;
  }
  .tv-code code {
    clip-path: none;
  }
  .js .tech-copy .tech-list li {
    opacity: 1;
    translate: none;
  }
}

/* ---------- Page Technologie ---------- */
.tk-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: clamp(56px, 7vw, 104px) var(--gutter);
  overflow: hidden;
  background: linear-gradient(140deg, #04152b 0%, var(--navy-deep) 45%, #0d3f78 100%);
  color: var(--white);
}
.tk-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  animation: glow-drift 10s ease-in-out infinite alternate;
}
.tk-blob.b1 { top: -80px; right: 20%; width: 360px; height: 360px; background: rgba(242, 196, 19, 0.22); }
.tk-blob.b2 { bottom: -120px; left: 30%; width: 380px; height: 380px; background: rgba(200, 16, 46, 0.25); animation-delay: -5s; }
.tk-glyph {
  position: absolute;
  font: 700 22px ui-monospace, Menlo, monospace;
  color: rgba(255, 255, 255, 0.12);
  animation: chip-bob 7s ease-in-out infinite;
}
.tk-glyph.g1 { top: 14%; left: 46%; }
.tk-glyph.g2 { bottom: 16%; left: 4%; font-size: 28px; animation-delay: -2s; }
.tk-glyph.g3 { top: 8%; left: 6%; animation-delay: -4s; }
.tk-hero-copy {
  position: relative;
  z-index: 1;
}
.tk-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(36px, 4.8vw, 64px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--white);
}
.tk-hero h1 em {
  font-family: var(--serif);
  color: var(--gold);
}
.tk-lead {
  max-width: 540px;
  margin: 0 0 28px;
  font-size: 17.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}
.tk-hero .button-line {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}
/* Tableau de bord animé */
.tk-dash {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  overflow: visible;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.07);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.12);
  animation: tv-float 8s ease-in-out infinite, tk-in 1s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}
@keyframes tk-in {
  from { opacity: 0; transform: translateY(40px) rotateX(10deg); }
}
.tk-dash-side {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 14px;
  padding: 18px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.tk-dash-side b {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: var(--gold);
}
.tk-dash-side i {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.14);
}
.tk-dash-side i.on {
  background: rgba(255, 255, 255, 0.5);
}
.tk-dash-main {
  display: grid;
  gap: 14px;
  padding: 18px;
}
.tk-dash-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.tk-dash-title {
  font-weight: 700;
}
.tk-dash-live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}
.tk-dash-live i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2bd576;
  animation: online 2s infinite;
}
.tk-dash-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.tk-dash-kpis div {
  display: grid;
  gap: 2px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  animation: tv-pop 7s ease-in-out infinite;
}
.tk-dash-kpis div:nth-child(2) { animation-delay: 0.2s; }
.tk-dash-kpis div:nth-child(3) { animation-delay: 0.4s; }
.tk-dash-kpis small {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.65);
}
.tk-dash-kpis b {
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.1;
}
.tk-dash-kpis .up {
  font-size: 11.5px;
  font-weight: 700;
  color: #2bd576;
}
.tk-dash-chart {
  height: 130px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.18);
}
.tk-dash-chart svg {
  width: 100%;
  height: 100%;
}
.tk-area {
  fill: url(#tkArea);
  animation: tk-area 7s ease-in-out infinite;
}
.tk-line {
  fill: none;
  stroke: var(--gold);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1;
  animation: tk-line 7s ease-in-out infinite;
}
@keyframes tk-line {
  0% { stroke-dashoffset: 1; }
  40%, 90% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 1; }
}
@keyframes tk-area {
  0%, 20% { opacity: 0; }
  45%, 90% { opacity: 1; }
  100% { opacity: 0; }
}
.tk-notif-unused {
  position: absolute;
  right: -14px;
  bottom: -26px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 10px;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 24px 40px -20px rgba(0, 0, 0, 0.6);
  color: var(--navy-deep);
  animation: tk-notif 7s ease-in-out infinite;
}
.tk-notif > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #008751;
  color: var(--white);
  font-weight: 700;
}
.tk-notif b {
  display: block;
  font-size: 14px;
}
.tk-notif small {
  font-size: 12px;
  color: var(--muted);
}
@keyframes tk-notif {
  0%, 45% { opacity: 0; transform: translateY(16px) scale(0.95); }
  55%, 92% { opacity: 1; transform: none; }
  100% { opacity: 0; }
}

/* Exemples */
.tk-examples .pg-head h2 em,
.tk-method .pg-head h2 em {
  font-family: var(--serif);
  color: var(--red);
}
.tk-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.tk-filters button {
  padding: 10px 18px;
  border: 1.5px solid rgba(8, 47, 91, 0.15);
  border-radius: 99px;
  background: var(--white);
  font: 600 14.5px/1 inherit;
  font-family: inherit;
  color: var(--navy-deep);
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.3s;
}
.tk-filters button:hover {
  border-color: var(--navy);
  transform: translateY(-2px);
}
.tk-filters button.is-on {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}
.tk-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.tk-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(8, 47, 91, 0.08);
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 30px 60px -44px rgba(6, 31, 62, 0.6);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s, opacity 0.35s;
}
.tk-card:hover {
  box-shadow: 0 40px 70px -40px rgba(6, 31, 62, 0.65);
  transform: translateY(-8px);
}
.tk-card.is-hidden {
  display: none;
}
.tk-card.is-showing {
  animation: tk-card-in 0.6s cubic-bezier(0.16, 1, 0.3, 1) backwards;
  animation-delay: calc(var(--i, 0) * 0.07s);
}
@keyframes tk-card-in {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
}
.js .tk-cards .tk-card:not(.is-in) {
  opacity: 0;
  transform: translateY(30px);
}
.tk-card.is-in {
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) calc(var(--n) * 0.08s), opacity 0.6s calc(var(--n) * 0.08s), box-shadow 0.35s;
}
.tk-mock {
  display: grid;
  place-items: center;
  height: 190px;
  overflow: hidden;
  background: linear-gradient(150deg, var(--navy-deep), #0d3f78);
}
.tk-card:nth-child(3n + 2) .tk-mock { background: linear-gradient(150deg, #7a0a1a, #c8102e); }
.tk-card:nth-child(3n + 3) .tk-mock { background: linear-gradient(150deg, #00563a, #008751); }
.tk-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}
.tk-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  margin-bottom: 10px;
  padding: 5px 10px;
  border-radius: 99px;
  background: rgba(242, 196, 19, 0.2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy-deep);
}
.tk-tag svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tk-card h3 {
  margin: 0 0 8px;
  font-size: 19px;
  color: var(--navy-deep);
}
.tk-card p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}
.tk-feats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}
.tk-feats li {
  padding: 5px 10px;
  border-radius: 99px;
  background: #f0f4f9;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--navy);
}

/* Mini maquettes animées */
.mk {
  position: relative;
  border-radius: 12px;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.tk-card:hover .mk {
  transform: scale(1.06) rotate(-1.5deg);
}
.mk-web {
  width: 72%;
  height: 140px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6);
}
.mk-bar {
  display: flex;
  gap: 4px;
  padding: 7px 9px;
  background: #e7eef6;
}
.mk-bar i { width: 7px; height: 7px; border-radius: 50%; background: #c8102e; }
.mk-bar i:nth-child(2) { background: var(--gold); }
.mk-bar i:nth-child(3) { background: #2bd576; }
.mk-scroll {
  display: grid;
  gap: 8px;
  padding: 9px;
  animation: mk-scroll 6s ease-in-out infinite;
}
@keyframes mk-scroll {
  0%, 20% { transform: none; }
  55%, 75% { transform: translateY(-50px); }
  100% { transform: none; }
}
.mk-hero { height: 44px; border-radius: 6px; background: linear-gradient(135deg, var(--navy), #0d3f78); }
.mk-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 6px; }
.mk-row b { height: 28px; border-radius: 5px; background: #e7eef6; }
.mk-text { height: 7px; border-radius: 4px; background: #dfe6ef; }
.mk-text.s { width: 60%; }
.mk-cal {
  width: min(56%, 210px);
  padding: 12px;
  background: #fff;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6);
}
.mk-cal-head { display: flex; justify-content: space-between; margin-bottom: 10px; }
.mk-cal-head b { width: 40%; height: 9px; border-radius: 5px; background: var(--navy); }
.mk-cal-head span { width: 18%; height: 9px; border-radius: 5px; background: #dfe6ef; }
.mk-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.mk-cal-grid i { aspect-ratio: 1; border-radius: 4px; background: #eef2f7; }
.mk-cal-grid i.on { background: #c8102e; animation: mk-blink 2.4s ease-in-out infinite; }
.mk-cal-grid i.on:nth-child(10) { animation-delay: 0.6s; background: var(--gold); }
.mk-cal-grid i.on:nth-child(17) { animation-delay: 1.2s; background: var(--navy); }
.mk-cal-grid i.on:nth-child(23) { animation-delay: 1.8s; background: #008751; }
@keyframes mk-blink {
  50% { transform: scale(1.25); }
}
.mk-phone {
  display: grid;
  gap: 7px;
  width: 92px;
  height: 168px;
  padding: 22px 9px 9px;
  border: 4px solid #071a33;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6);
  align-content: start;
  translate: 0 18px;
}
.mk-notch { position: absolute; top: 5px; left: 50%; width: 30px; height: 6px; border-radius: 9px; background: #071a33; transform: translateX(-50%); }
.mk-check { display: flex; align-items: center; gap: 5px; }
.mk-check i {
  flex: none;
  width: 11px;
  height: 11px;
  border: 2px solid #c9d3df;
  border-radius: 3px;
  animation: mk-tick 6s steps(1) infinite;
  animation-delay: calc(var(--n) * 0.5s);
}
.mk-check b { flex: 1; height: 6px; border-radius: 4px; background: #e3e9f1; }
@keyframes mk-tick {
  0%, 8% { background: transparent; border-color: #c9d3df; }
  10%, 85% { background: #008751; border-color: #008751; }
  100% { background: transparent; }
}
.mk-pdf {
  margin-top: 4px;
  padding: 4px;
  border-radius: 6px;
  background: #c8102e;
  font-size: 8.5px;
  font-weight: 700;
  text-align: center;
  color: #fff;
  animation: tv-toast 6s ease-in-out infinite;
}
.mk-dash {
  width: 74%;
  padding: 12px;
  background: #fff;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6);
}
.mk-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 10px; }
.mk-kpis span { height: 22px; border-radius: 5px; background: #eef2f7; border-left: 3px solid var(--gold); }
.mk-kpis span:nth-child(2) { border-color: #c8102e; }
.mk-kpis span:nth-child(3) { border-color: #008751; }
.mk-bars { display: flex; align-items: flex-end; gap: 6px; height: 74px; }
.mk-bars i {
  flex: 1;
  height: var(--h);
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--gold), #f26a21);
  transform-origin: bottom;
  animation: mk-grow 5s ease-in-out infinite;
  animation-delay: calc(var(--n) * 0.1s);
}
@keyframes mk-grow {
  0% { transform: scaleY(0.1); }
  30%, 85% { transform: scaleY(1); }
  100% { transform: scaleY(0.1); }
}
.mk-shop {
  width: min(58%, 220px);
  padding: 12px;
  background: #fff;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6);
}
.mk-cart {
  position: absolute;
  top: -10px;
  right: -10px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold);
  font-size: 13px;
  font-weight: 800;
  color: var(--navy-deep);
  animation: mk-bounce 2.5s ease-in-out infinite;
}
@keyframes mk-bounce {
  0%, 70%, 100% { transform: none; }
  80% { transform: translateY(-8px) scale(1.15); }
  90% { transform: translateY(0) scale(0.95); }
}
.mk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.mk-grid span {
  display: grid;
  gap: 4px;
  padding: 5px;
  border-radius: 6px;
  background: #f3f6fa;
  animation: tv-pop 6s ease-in-out infinite;
  animation-delay: calc(var(--n) * 0.12s);
}
.mk-grid i { aspect-ratio: 1.3; border-radius: 4px; background: #c8102e; opacity: 0.85; }
.mk-grid span:nth-child(2n) i { background: var(--gold); }
.mk-grid span:nth-child(3n) i { background: var(--navy); }
.mk-grid b { height: 5px; border-radius: 3px; background: #dfe6ef; }
.mk-ops { display: grid; gap: 8px; width: 72%; }
.mk-srv {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 9px;
  background: #0b1f3a;
  box-shadow: 0 14px 24px -14px rgba(0, 0, 0, 0.7);
}
.mk-srv i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2bd576;
  animation: mk-led 1.2s steps(2) infinite;
  animation-delay: calc(var(--n) * 0.3s);
}
.mk-srv i + i { background: var(--gold); animation-delay: calc(var(--n) * 0.3s + 0.5s); }
.mk-srv b { flex: 1; height: 6px; margin-left: 6px; border-radius: 4px; background: rgba(255, 255, 255, 0.18); }
.mk-srv em {
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
  color: #2bd576;
  animation: tv-toast 6s ease-in-out infinite;
  animation-delay: calc(var(--n) * 0.4s);
}
@keyframes mk-led {
  50% { opacity: 0.25; }
}

/* Méthode : étapes reliées par une ligne qui se dessine */
.tk-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tk-steps::before {
  content: "";
  position: absolute;
  top: 31px;
  right: 10%;
  left: 10%;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--navy), var(--gold), #c8102e);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.6s cubic-bezier(0.65, 0, 0.35, 1) 0.2s;
}
.tk-steps.visible::before,
html:not(.js) .tk-steps::before {
  transform: none;
}
.tk-steps li {
  position: relative;
  text-align: center;
}
.tk-step-ico {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border: 4px solid var(--paper, #f7f4ec);
  border-radius: 20px;
  background: var(--navy);
  color: var(--gold);
  box-shadow: 0 16px 30px -16px rgba(6, 31, 62, 0.7);
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s;
}
.tk-steps li:hover .tk-step-ico {
  background: #c8102e;
  color: var(--white);
  transform: translateY(-6px) rotate(-6deg);
}
.tk-step-ico svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.js .tk-steps li {
  opacity: 0;
  translate: 0 20px;
}
.js .tk-steps.visible li {
  opacity: 1;
  translate: 0 0;
  transition: opacity 0.6s calc(0.3s + var(--n) * 0.25s), translate 0.7s cubic-bezier(0.34, 1.4, 0.64, 1) calc(0.3s + var(--n) * 0.25s);
}
.tk-steps h3 {
  margin: 0 0 6px;
  font-size: 17px;
  color: var(--navy-deep);
}
.tk-steps p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
}

@media (max-width: 1100px) {
  .tk-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  .tk-hero { grid-template-columns: minmax(0, 1fr); }
  .tk-dash { margin-bottom: 20px; }
  .tk-steps { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .tk-steps::before { top: 10px; bottom: 10px; left: 31px; right: auto; width: 3px; height: auto; transform-origin: top; transform: scaleY(0); background: linear-gradient(180deg, var(--navy), var(--gold), #c8102e); }
  .tk-steps.visible::before { transform: none; }
  .tk-steps li { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 16px; text-align: left; }
  .tk-step-ico { grid-row: span 2; margin: 0; }
}
@media (max-width: 640px) {
  .tk-cards { grid-template-columns: minmax(0, 1fr); }
  .tk-dash { grid-template-columns: minmax(0, 1fr); }
  .tk-dash-side { display: none; }
  .tk-dash-kpis b { font-size: 18px; }
  .tk-notif-unused { right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .tk-blob, .tk-glyph, .tk-dash, .tk-dash-kpis div, .tk-area, .tk-line, .tk-notif, .mk *, .mk-scroll {
    animation: none !important;
  }
  .tk-line { stroke-dashoffset: 0; }
  .js .tk-steps li, .js .tk-cards .tk-card:not(.is-in) { opacity: 1; translate: none; transform: none; }
}

/* ---------- Accueil : avis clients (bleu nuit, compact) ---------- */
.reviews {
  position: relative;
  padding: clamp(44px, 5vw, 72px) var(--gutter);
  overflow: hidden;
  background: linear-gradient(150deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: var(--white);
}
.reviews::before {
  content: "“";
  position: absolute;
  top: -70px;
  right: 3%;
  font-family: var(--serif);
  font-size: 320px;
  line-height: 1;
  color: rgba(242, 196, 19, 0.1);
  pointer-events: none;
}
.rv-head {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
  margin-bottom: 28px;
}
.reviews .pg-eyebrow {
  color: var(--red);
}
.reviews h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--white);
}
.reviews h2 em {
  font-family: var(--serif);
  color: var(--gold);
}
.rv-open {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.rv-btn-star {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.rv-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.rv-card {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 22px;
  border-radius: 22px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 30px 60px -36px rgba(0, 0, 0, 0.7);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.rv-card:hover {
  transform: translateY(-6px) rotate(-0.6deg);
}
.js .rv-track .rv-card {
  opacity: 0;
  translate: 0 30px;
}
.js .rv-track.visible .rv-card {
  opacity: 1;
  translate: 0 0;
  transition: opacity 0.6s calc(var(--n) * 0.15s), translate 0.8s cubic-bezier(0.34, 1.3, 0.64, 1) calc(var(--n) * 0.15s), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.rv-sample {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 3px 9px;
  border-radius: 99px;
  background: #eef2f7;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.rv-stars {
  display: inline-flex;
  gap: 2px;
}
.rv-stars svg {
  width: 18px;
  height: 18px;
  fill: var(--gold);
}
.rv-stars svg.off {
  fill: #dfe6ef;
}
.js .rv-track.visible .rv-stars svg {
  animation: star-pop 0.5s cubic-bezier(0.34, 1.8, 0.64, 1) backwards;
}
.rv-stars svg:nth-child(2) { --s: 1; }
.rv-stars svg:nth-child(3) { --s: 2; }
.rv-stars svg:nth-child(4) { --s: 3; }
.rv-stars svg:nth-child(5) { --s: 4; }
.js .rv-track.visible .rv-stars svg { animation-delay: calc(0.4s + var(--n, 0) * 0.15s + var(--s, 0) * 0.08s); }
@keyframes star-pop {
  0% { transform: scale(0); }
  60% { transform: scale(1.3); }
}
.rv-card blockquote {
  flex: 1;
  margin: 12px 0 18px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--navy-deep);
}
.rv-card figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px dashed rgba(8, 47, 91, 0.15);
}
.rv-avatar {
  display: grid;
  flex: none;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), #0d3f78);
  font-size: 14px;
  font-weight: 800;
  color: var(--gold);
}
.rv-card:nth-child(2) .rv-avatar { background: linear-gradient(135deg, #c8102e, #f26a21); color: var(--white); }
.rv-card:nth-child(3) .rv-avatar { background: linear-gradient(135deg, #006b40, #008751); color: var(--white); }
.rv-card figcaption b {
  display: block;
  font-size: 14.5px;
  color: var(--navy-deep);
}
.rv-card figcaption small {
  font-size: 13px;
  color: var(--muted);
}

/* Fenêtre « Donner mon avis » */
.rv-dialog {
  width: min(92vw, 460px);
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.6);
}
.rv-dialog[open] {
  animation: rv-pop 0.45s cubic-bezier(0.34, 1.4, 0.64, 1);
}
.rv-dialog::backdrop {
  background: rgba(6, 31, 62, 0.6);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
@keyframes rv-pop {
  from { opacity: 0; transform: translateY(20px) scale(0.95); }
}
.rv-dialog-in {
  position: relative;
  padding: 26px;
}
.rv-dialog h3 {
  margin: 0 0 10px;
  font-size: 22px;
  color: var(--navy-deep);
}
.rv-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #eef2f7;
  font-size: 22px;
  line-height: 1;
  color: var(--navy);
  cursor: pointer;
}
.rv-rating {
  margin: 0 0 12px;
  padding: 0;
  border: 0;
}
.rv-stars-input {
  display: inline-flex;
  flex-direction: row-reverse;
  gap: 4px;
}
.rv-stars-input input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.rv-stars-input label {
  cursor: pointer;
}
.rv-stars-input svg {
  width: 34px;
  height: 34px;
  fill: #dfe6ef;
  transition: fill 0.2s, transform 0.3s cubic-bezier(0.34, 1.8, 0.64, 1);
}
.rv-stars-input label:hover svg,
.rv-stars-input label:hover ~ label svg,
.rv-stars-input input:checked ~ label svg {
  fill: var(--gold);
}
.rv-stars-input label:hover svg {
  transform: scale(1.2) rotate(-8deg);
}
.rv-stars-input input:focus-visible + label {
  outline: 3px solid var(--navy);
  outline-offset: 2px;
  border-radius: 6px;
}
.rv-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 10px;
}
.rv-dialog input[type="text"],
.rv-dialog textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1.5px solid rgba(8, 47, 91, 0.14);
  border-radius: 12px;
  background: #f6f8fb;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
}
.rv-dialog input[type="text"]:focus,
.rv-dialog textarea:focus {
  border-color: var(--navy);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(242, 196, 19, 0.28);
  outline: none;
}
.rv-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 10px 0 16px;
  font-size: 13.5px;
  color: var(--muted);
}
.rv-consent input {
  margin-top: 3px;
  accent-color: var(--navy);
}
.rv-submit {
  width: 100%;
}
.rv-thanks {
  padding: 26px 6px 6px;
  text-align: center;
}
.rv-thanks-ico {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-deep);
  animation: star-pop 0.6s cubic-bezier(0.34, 1.8, 0.64, 1);
}
.rv-thanks-ico svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}
@media (max-width: 1000px) {
  .rv-track {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 640px) {
  .rv-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .rv-open {
    width: 100%;
    justify-content: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .js .rv-track .rv-card { opacity: 1; translate: none; }
  .rv-stars svg, .rv-dialog[open] { animation: none !important; }
}

/* ---------- Petits libellés au-dessus des titres : un seul style partout ---------- */
html body :is(.pg-eyebrow, .ab-eyebrow, .tech-eyebrow, .section-number, .sx-eyebrow, .top-eyebrow):not(#_) {
  display: flex;
  justify-content: var(--eb-align, flex-start);
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
/* le trait : la balise <span> quand elle existe, sinon un trait ajouté */
html body :is(.pg-eyebrow, .ab-eyebrow, .tech-eyebrow, .sx-eyebrow, .top-eyebrow) > span:first-child,
html body .section-number:not(#_)::before,
html body .pg-eyebrow:not(#_)::before {
  content: "";
  flex: none;
  width: 32px;
  height: 2px;
  border-radius: 2px;
}
html body .section-number:not(#_)::before {
  display: block;
  background: currentColor;
}

/* Avis clients : fond clair chaleureux (au lieu du bleu nuit) */
.reviews {
  border-top: 1px solid rgba(8, 47, 91, 0.08);
  background:
    radial-gradient(circle at 8% 20%, rgba(242, 196, 19, 0.16), transparent 32%),
    radial-gradient(circle at 92% 85%, rgba(200, 16, 46, 0.1), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #fffaf0 100%);
  color: var(--ink);
}
.reviews::before {
  color: rgba(242, 196, 19, 0.28);
}
.reviews h2 {
  color: var(--navy-deep);
}
.reviews h2 em {
  color: var(--red);
}
.rv-card {
  border: 1px solid rgba(8, 47, 91, 0.08);
  box-shadow: 0 30px 60px -40px rgba(6, 31, 62, 0.45);
}
.rv-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 22px;
  left: 22px;
  height: 4px;
  border-radius: 0 0 4px 4px;
  background: var(--gold);
}
.rv-card:nth-child(2)::before { background: #c8102e; }
.rv-card:nth-child(3)::before { background: #008751; }
/* libellés centrés : ils restent centrés */
html body :is(.vmv-head, .pg-head-center, [style*="text-align:center"], .trust .pg-head) :is(.pg-eyebrow, .section-number, .ab-eyebrow, .sx-eyebrow):not(#_) {
  --eb-align: center;
}


/* Avis clients : un avis à la fois se met en avant, le bouton pulse doucement */
.rv-card {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s, border-color 0.6s;
}
.rv-card::before {
  transform: scaleX(0.35);
  transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}
.rv-card.is-spot {
  border-color: rgba(8, 47, 91, 0.16);
  box-shadow: 0 40px 70px -36px rgba(6, 31, 62, 0.55);
  transform: translateY(-8px);
}
.rv-card.is-spot::before {
  transform: scaleX(1);
}
.rv-card.is-spot .rv-stars svg:not(.off) {
  animation: rv-twinkle 0.6s ease-out backwards;
}
.rv-card.is-spot .rv-stars svg:nth-child(2) { animation-delay: 0.08s; }
.rv-card.is-spot .rv-stars svg:nth-child(3) { animation-delay: 0.16s; }
.rv-card.is-spot .rv-stars svg:nth-child(4) { animation-delay: 0.24s; }
.rv-card.is-spot .rv-stars svg:nth-child(5) { animation-delay: 0.32s; }
@keyframes rv-twinkle {
  50% { transform: scale(1.35) rotate(15deg); }
}
.rv-open {
  position: relative;
}
.rv-open::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(242, 196, 19, 0.6);
  animation: rv-ring 2.6s ease-out infinite;
}
@keyframes rv-ring {
  70%, 100% { box-shadow: 0 0 0 14px rgba(242, 196, 19, 0); }
}
.reviews::before {
  animation: rv-quote 6s ease-in-out infinite;
}
@keyframes rv-quote {
  50% { transform: translateY(12px) rotate(-4deg); }
}
@media (prefers-reduced-motion: reduce) {
  .rv-open::after, .reviews::before, .rv-card.is-spot .rv-stars svg { animation: none; }
}

/* Après un avis : proposer d'en donner un autre */
.rv-again {
  margin-top: 16px;
  padding: 10px 18px;
  border: 1.5px solid var(--navy);
  border-radius: 99px;
  background: transparent;
  font: inherit;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}
.rv-again:hover {
  background: var(--navy);
  color: var(--white);
}

/* Avis : validation des champs */
.rv-label {
  margin-bottom: 6px;
  padding: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}
.rv-opt {
  font-weight: 500;
  color: var(--muted);
}
.rv-f {
  margin-bottom: 10px;
}
.rv-grid .rv-f {
  margin-bottom: 0;
}
.rv-err {
  display: none;
  margin: 6px 2px 0;
  font-size: 12.5px;
  font-weight: 600;
  color: #c8102e;
}
.rv-err::before {
  content: "! ";
  font-weight: 800;
}
.rv-f.is-error .rv-err {
  display: block;
  animation: rv-err-in 0.3s ease-out;
}
.rv-dialog .rv-f.is-error input,
.rv-dialog .rv-f.is-error textarea {
  border-color: #c8102e;
  background: #fff5f6;
}
@keyframes rv-err-in {
  from { opacity: 0; transform: translateY(-4px); }
}
.rv-submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}
.rv-hint {
  margin: 8px 0 0;
  font-size: 12.5px;
  text-align: center;
  color: var(--muted);
  transition: opacity 0.3s;
}
.is-consented .rv-hint {
  opacity: 0;
  height: 0;
  margin: 0;
  overflow: hidden;
}
.rv-consent input:required:not(:checked) + span {
  color: var(--navy-deep);
}
form.shake {
  animation: rv-shake 0.4s;
}
@keyframes rv-shake {
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}
/* Remerciement */
.rv-thanks h3 {
  margin: 0 0 8px;
  font-size: 24px;
  color: var(--navy-deep);
}
.rv-thanks p {
  margin: 0 auto 16px;
  max-width: 340px;
  color: var(--muted);
}
.rv-recap {
  display: grid;
  gap: 8px;
  max-width: 260px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  text-align: left;
}
.rv-recap li {
  padding: 8px 12px;
  border-radius: 12px;
  background: #f3f6fa;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-deep);
  animation: rv-err-in 0.4s ease-out backwards;
}
.rv-recap li:first-child { background: #e8f6ee; color: #006b40; }
.rv-recap li:nth-child(2) { animation-delay: 0.15s; opacity: 0.7; }
.rv-recap li:nth-child(3) { animation-delay: 0.3s; opacity: 0.5; }

/* Merci animé : étoile qui éclate, étapes qui s'enchaînent, barre de temps, puis fermeture */
.rv-thanks {
  position: relative;
}
.rv-thanks-ico {
  position: relative;
  z-index: 1;
  animation: rv-star-in 0.7s cubic-bezier(0.34, 1.8, 0.64, 1) both;
}
@keyframes rv-star-in {
  0% { transform: scale(0) rotate(-120deg); }
  100% { transform: none; }
}
.rv-burst {
  position: absolute;
  top: 58px;
  left: 50%;
  width: 0;
  height: 0;
}
.rv-burst i {
  position: absolute;
  width: 8px;
  height: 8px;
  margin: -4px;
  border-radius: 50%;
  background: var(--gold);
  animation: rv-burst 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}
.rv-burst i:nth-child(2n) { background: #c8102e; }
.rv-burst i:nth-child(3n) { background: #008751; }
.rv-burst i:nth-child(1) { --a: 0deg; }
.rv-burst i:nth-child(2) { --a: 45deg; }
.rv-burst i:nth-child(3) { --a: 90deg; }
.rv-burst i:nth-child(4) { --a: 135deg; }
.rv-burst i:nth-child(5) { --a: 180deg; }
.rv-burst i:nth-child(6) { --a: 225deg; }
.rv-burst i:nth-child(7) { --a: 270deg; }
.rv-burst i:nth-child(8) { --a: 315deg; }
@keyframes rv-burst {
  0% { opacity: 1; transform: rotate(var(--a)) translateX(0) scale(1); }
  100% { opacity: 0; transform: rotate(var(--a)) translateX(70px) scale(0.3); }
}
.rv-thanks h3,
.rv-thanks p {
  animation: rv-err-in 0.5s ease-out 0.35s backwards;
}
.rv-recap li:nth-child(1) { animation-delay: 0.6s; }
.rv-recap li:nth-child(2) { animation-delay: 0.85s; }
.rv-recap li:nth-child(3) { animation-delay: 1.1s; }
.rv-timer {
  display: block;
  height: 4px;
  margin: 20px auto 0;
  max-width: 200px;
  border-radius: 4px;
  background: var(--gold);
  transform-origin: left;
  animation: rv-timer 4.2s linear both;
}
@keyframes rv-timer {
  to { transform: scaleX(0); }
}
.rv-dialog.is-closing {
  animation: rv-out 0.35s ease-in forwards;
}
@keyframes rv-out {
  to { opacity: 0; transform: translateY(16px) scale(0.96); }
}
@media (prefers-reduced-motion: reduce) {
  .rv-thanks-ico, .rv-burst, .rv-thanks h3, .rv-thanks p, .rv-recap li { animation: none !important; }
}

/* Technologie : la réalisation AKGlobal, même carte que les autres (capture dans un navigateur) */
.tk-mock--shot {
  text-decoration: none;
}
.mk-site {
  width: 82%;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6);
  translate: 0 14px;
}
.mk-site img {
  display: block;
  width: 100%;
  height: auto;
}
.tk-visit {
  align-self: flex-start;
  margin-top: 14px;
}
.tk-card .tk-feats {
  margin-top: auto;
}

/* Accueil : 5 activités (2 grandes cartes puis 3) */
@media (min-width: 1241px) {
  .offer-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .offer-grid .offer:nth-child(-n + 2) {
    grid-column: span 3;
  }
  .offer-grid .offer:nth-child(n + 3) {
    grid-column: span 2;
  }
}
@media (min-width: 641px) and (max-width: 1240px) {
  .offer-grid .offer:first-child {
    grid-column: 1 / -1;
  }
}


/* ---------- Page Études : rangées photo + texte, alternées ---------- */
#nos-etudes .pg-head h2 em {
  font-family: var(--serif);
  color: var(--red);
}
.et-list {
  display: grid;
  gap: clamp(24px, 3vw, 40px);
}
.et-row {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  overflow: hidden;
  border: 1px solid rgba(8, 47, 91, 0.08);
  border-radius: 26px;
  background: var(--white);
  box-shadow: 0 34px 70px -50px rgba(6, 31, 62, 0.6);
  transition: box-shadow 0.4s, translate 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.et-row:hover {
  translate: 0 -5px;
  box-shadow: 0 44px 80px -46px rgba(6, 31, 62, 0.65);
}
.et-row:nth-child(even) .et-photo {
  order: 2;
}
.et-photo {
  position: relative;
  min-height: 320px;
  margin: 0;
  overflow: hidden;
}
.et-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.et-row:hover .et-photo img {
  transform: scale(1.06);
}
.et-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(6, 31, 62, 0) 50%, rgba(6, 31, 62, 0.55) 100%);
}
.et-ico {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--gold), #f26a21);
  color: var(--navy-deep);
  box-shadow: 0 16px 30px -12px rgba(0, 0, 0, 0.6);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.et-row:hover .et-ico {
  transform: rotate(-8deg) scale(1.08);
}
.et-ico svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.et-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 3.4vw, 46px);
}
.et-body h3 {
  margin: 0 0 8px;
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--navy-deep);
}
.et-lead {
  margin: 0 0 12px;
  font-weight: 700;
  color: var(--red);
}
.et-body > p:not(.et-lead) {
  margin: 0 0 16px;
  line-height: 1.65;
  color: var(--muted);
}
.et-items {
  display: grid;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}
.et-items li {
  position: relative;
  padding-left: 28px;
  font-weight: 600;
  color: var(--navy-deep);
}
.et-items li::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(242, 196, 19, 0.3) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23082f5b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.et-body .text-link {
  align-self: flex-start;
}
/* arrivée : la photo glisse depuis son côté, le texte suit */
.js .et-row.reveal .et-photo {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1s cubic-bezier(0.65, 0, 0.35, 1) 0.1s;
}
.js .et-row.reveal:nth-child(even) .et-photo {
  clip-path: inset(0 0 0 100%);
}
.js .et-row.reveal.visible .et-photo {
  clip-path: inset(0 0 0 0);
}
.js .et-row.reveal .et-ico {
  scale: 0;
  transition: scale 0.6s cubic-bezier(0.34, 1.8, 0.64, 1) 0.8s, transform 0.5s;
}
.js .et-row.reveal.visible .et-ico {
  scale: 1;
}
@media (max-width: 900px) {
  .et-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .et-row:nth-child(even) .et-photo {
    order: 0;
  }
  .et-photo {
    min-height: 220px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .js .et-row.reveal .et-photo { clip-path: none; }
  .js .et-row.reveal .et-ico { scale: 1; }
}

/* Listes déroulantes : flèche personnalisée, même style que les champs */
html body select:not([multiple]):not(#_) {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 48px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23082f5b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 18px;
  cursor: pointer;
  text-overflow: ellipsis;
}
html body .form-card .field select:not(#_):focus {
  border-color: var(--navy);
  background-color: var(--white);
  box-shadow: 0 0 0 4px rgba(242, 196, 19, 0.28);
}
html body .form-card .field select:not(#_):hover {
  border-color: rgba(8, 47, 91, 0.45);
}

/* Accueil : 5 domaines dans la barre du bandeau (Études ajouté) */
html body .top-block-main .top-pillars:not(#_) {
  grid-template-columns: repeat(5, auto);
}
@media (max-width: 1100px) {
  html body .top-block-main .top-pillars:not(#_) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  html body .top-block-main .top-pillars li:not(#_) {
    border-left: 1px solid rgba(255, 255, 255, 0.18);
    border-top: 0;
  }
  html body .top-block-main .top-pillars li:nth-child(odd):not(#_) {
    border-left: 0;
  }
  html body .top-block-main .top-pillars li:nth-child(n+3):not(#_) {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }
  html body .top-block-main .top-pillars li:last-child:nth-child(odd):not(#_) {
    grid-column: 1 / -1;
  }
}
@media (min-width: 1101px) {
  html body .top-block-main .top-pillars a:not(#_) {
    gap: 9px;
    padding: 14px 13px;
    font-size: 15px;
  }
  html body .top-block-main .top-pillar-icon:not(#_) {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }
  html body .top-block-main .top-pillar-icon .svc-icon:not(#_) {
    width: 18px;
    height: 18px;
  }
}

/* Bandeau d'accueil : 6 domaines (Technologie ajouté) */
@media (min-width: 1101px) {
  html body .top-block-main .top-pillars:not(#_) {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    max-width: 640px;
  }
  html body .top-block-main .top-pillars li:nth-child(3n + 1):not(#_) {
    border-left: 0;
  }
  html body .top-block-main .top-pillars li:nth-child(n + 4):not(#_) {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }
}
@media (max-width: 1100px) {
  html body .top-block-main .top-pillars li:last-child:nth-child(odd):not(#_) {
    grid-column: auto;
  }
}

/* ---------- Accueil : Développement commercial & partenariats (BDP) ---------- */
.bd {
  position: relative;
  padding: clamp(56px, 7vw, 100px) var(--gutter);
  overflow: hidden;
  background: radial-gradient(circle at 78% 30%, #0d3f78 0%, var(--navy) 38%, var(--navy-deep) 100%);
  color: var(--white);
}
.bd-grid-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(circle at 75% 40%, #000, transparent 65%);
  pointer-events: none;
}
.bd-top {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.bd .pg-eyebrow:not(#_) {
  color: var(--gold);
}
.bd h2 {
  margin: 0 0 18px;
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
}
.bd h2 em {
  font-family: var(--serif);
  color: var(--gold);
}
.bd-copy > p:not(.pg-eyebrow) {
  margin: 0 0 14px;
  font-size: 16.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.8);
}
.bd-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-top: 26px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.07);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.bd-cta p {
  flex: 1 1 220px;
  margin: 0;
  font-weight: 600;
}
/* Réseau animé : le BDP au centre relie clients et spécialistes */
.bd-net {
  position: relative;
  aspect-ratio: 500 / 440;
  width: 100%;
  max-width: 560px;
  margin-left: auto;
}
.bd-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.bd-lines path {
  fill: none;
  stroke: rgba(242, 196, 19, 0.55);
  stroke-width: 2;
  stroke-dasharray: 0.04 0.03;
  vector-effect: non-scaling-stroke;
  animation: bd-flow 3s linear infinite;
}
.bd-lines path:nth-child(even) { animation-direction: reverse; stroke: rgba(255, 255, 255, 0.35); }
@keyframes bd-flow {
  to { stroke-dashoffset: -0.35; }
}
.bd-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: bd-spin 40s linear infinite;
}
.bd-ring.r1 { width: 46%; aspect-ratio: 1; }
.bd-ring.r2 { width: 78%; aspect-ratio: 1; animation-direction: reverse; animation-duration: 60s; }
@keyframes bd-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}
.bd-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  width: 26%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 0 10px rgba(242, 196, 19, 0.18), 0 30px 60px -20px rgba(0, 0, 0, 0.7);
  transform: translate(-50%, -50%);
  animation: bd-hub 3s ease-in-out infinite;
}
.bd-hub img {
  width: 62%;
}
.bd-hub b {
  padding: 2px 10px;
  border-radius: 99px;
  background: var(--navy);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--gold);
}
@keyframes bd-hub {
  50% { box-shadow: 0 0 0 22px rgba(242, 196, 19, 0), 0 30px 60px -20px rgba(0, 0, 0, 0.7); }
}
.bd-node {
  position: absolute;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px 9px 10px;
  border-radius: 99px;
  background: var(--white);
  box-shadow: 0 18px 34px -18px rgba(0, 0, 0, 0.7);
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  color: var(--navy-deep);
  transform: translate(-50%, -50%);
  animation: bd-bob 6s ease-in-out infinite;
}
.bd-node i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(242, 196, 19, 0.6);
  animation: online 2.2s infinite;
}
.bd-node.n4 i, .bd-node.n5 i, .bd-node.n6 i { background: #c8102e; box-shadow: 0 0 0 0 rgba(200, 16, 46, 0.5); }
.bd-node.n1 { top: 16%; left: 14%; }
.bd-node.n2 { top: 50%; left: 8%; animation-delay: -1s; }
.bd-node.n3 { top: 85%; left: 18%; animation-delay: -2s; }
.bd-node.n4 { top: 16%; left: 86%; animation-delay: -3s; }
.bd-node.n5 { top: 50%; left: 92%; animation-delay: -4s; }
.bd-node.n6 { top: 85%; left: 82%; animation-delay: -5s; }
@keyframes bd-bob {
  50% { transform: translate(-50%, calc(-50% - 8px)); }
}
/* Étapes : cartes en verre, apparition en cascade */
.bd-cards {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: clamp(36px, 5vw, 64px) 0 0;
  padding: 0;
  list-style: none;
}
.bd-card {
  position: relative;
  padding: 24px 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s, background 0.3s;
}
.bd-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), #f26a21, #c8102e);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}
.bd-card:hover {
  border-color: rgba(242, 196, 19, 0.6);
  background: rgba(255, 255, 255, 0.11);
  transform: translateY(-8px);
}
.bd-card:hover::after {
  transform: none;
}
.bd-ico {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--gold), #f26a21);
  color: var(--navy-deep);
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.bd-card:hover .bd-ico {
  transform: rotate(-8deg) scale(1.08);
}
.bd-ico svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.bd-card h3 {
  margin: 0 0 6px;
  font-size: 18px;
  color: var(--white);
}
.bd-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}
.js .bd-cards .bd-card {
  opacity: 0;
  translate: 0 30px;
}
.js .bd-cards.visible .bd-card {
  opacity: 1;
  translate: 0 0;
  transition: opacity 0.6s calc(var(--n) * 0.12s), translate 0.8s cubic-bezier(0.34, 1.3, 0.64, 1) calc(var(--n) * 0.12s), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s, background 0.3s;
}
@media (max-width: 1000px) {
  .bd-top { grid-template-columns: minmax(0, 1fr); }
  .bd-net { max-width: 480px; margin: 0 auto; }
  .bd-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .bd-cards { grid-template-columns: minmax(0, 1fr); }
  .bd-node { padding: 6px 10px 6px 8px; font-size: 11.5px; }
  .bd-node.n2 { left: 14%; }
  .bd-node.n5 { left: 86%; }
}
@media (prefers-reduced-motion: reduce) {
  .bd-lines path, .bd-ring, .bd-hub, .bd-node, .bd-node i { animation: none; }
  .js .bd-cards .bd-card { opacity: 1; translate: none; }
}


.ab-team {
  overflow-x: clip;
}

/* BDP : version compacte, sans réseau animé */
.bd {
  padding: clamp(44px, 5vw, 72px) var(--gutter);
}
.bd-top {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
}
.bd h2 {
  font-size: clamp(28px, 2.8vw, 38px);
}
.bd-copy > p:not(.pg-eyebrow) {
  font-size: 15.5px;
}
.bd-cta {
  margin-top: 18px;
  padding: 14px 16px;
}
.bd-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}
.bd-card {
  padding: 18px;
}
.bd-ico {
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  border-radius: 13px;
}
.bd-ico svg {
  width: 21px;
  height: 21px;
}
.bd-card h3 {
  font-size: 16.5px;
}
.bd-card p {
  font-size: 14px;
}
@media (max-width: 1000px) {
  .bd-top { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .bd-cards { grid-template-columns: minmax(0, 1fr); }
}

/* BDP (page À propos) : fond clair chaleureux au lieu du bleu nuit */
html body .bd:not(#_) {
  border-top: 1px solid rgba(8, 47, 91, 0.08);
  border-bottom: 1px solid rgba(8, 47, 91, 0.08);
  background:
    radial-gradient(circle at 90% 15%, rgba(242, 196, 19, 0.18), transparent 35%),
    radial-gradient(circle at 5% 90%, rgba(200, 16, 46, 0.08), transparent 30%),
    linear-gradient(180deg, #fffdf7 0%, #fbf3e2 100%);
  color: var(--ink);
}
html body .bd-grid-bg:not(#_) {
  background-image: radial-gradient(rgba(8, 47, 91, 0.1) 1px, transparent 1px);
}
html body .bd .pg-eyebrow:not(#_) {
  color: var(--red);
}
html body .bd h2:not(#_) {
  color: var(--navy-deep);
}
html body .bd h2 em:not(#_) {
  color: var(--red);
}
html body .bd-copy > p:not(.pg-eyebrow):not(#_) {
  color: var(--muted);
}
html body .bd-cta:not(#_) {
  border: 0;
  background: var(--navy);
  color: var(--white);
}
html body .bd-card:not(#_) {
  border: 1px solid rgba(8, 47, 91, 0.08);
  background: var(--white);
  box-shadow: 0 24px 50px -36px rgba(6, 31, 62, 0.5);
}
html body .bd-card:hover:not(#_) {
  border-color: rgba(242, 196, 19, 0.7);
  background: var(--white);
}
html body .bd-card h3:not(#_) {
  color: var(--navy-deep);
}
html body .bd-card p:not(#_) {
  color: var(--muted);
}

/* À propos : chiffres à gauche, texte à droite */
@media (min-width: 901px) {
  .split--stats-left > .stat-panel {
    order: -1;
  }
}

@media (min-width: 901px) {
  .split--stats-left {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  }
}

/* BDP : icônes aux couleurs de la charte, une par étape (au lieu du dégradé orangé répété) */
html body .bd-card .bd-ico:not(#_) {
  background: linear-gradient(135deg, #0b6e78, #0e8a96);
  color: var(--white);
}
html body .bd-card:nth-child(2) .bd-ico:not(#_) {
  background: linear-gradient(135deg, #b40d24, #c8102e);
  color: var(--white);
}
html body .bd-card:nth-child(3) .bd-ico:not(#_) {
  background: linear-gradient(135deg, #006b40, #008751);
  color: var(--white);
}
html body .bd-card:nth-child(4) .bd-ico:not(#_) {
  background: linear-gradient(135deg, #2a6cb0, #3b82c4);
  color: var(--white);
}

/* BDP : fiche de Camille Laurent */
.bdp-person {
  position: relative;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 3vw, 36px);
  margin-top: clamp(28px, 4vw, 44px);
  padding: 18px;
  border: 1px solid rgba(8, 47, 91, 0.08);
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 30px 60px -40px rgba(6, 31, 62, 0.5);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s;
}
.bdp-person:hover {
  transform: translateY(-5px);
  box-shadow: 0 40px 70px -40px rgba(6, 31, 62, 0.6);
}
.bdp-person::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 6px;
  border-radius: 28px 0 0 28px;
  background: linear-gradient(180deg, var(--navy), var(--gold), #c8102e);
}
.bdp-photo {
  position: relative;
  margin: 0;
}
.bdp-photo > img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 25%;
  border-radius: 22px;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.bdp-person:hover .bdp-photo > img {
  transform: scale(1.03);
}
.bdp-flag {
  position: absolute;
  bottom: -12px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  border-radius: 99px;
  background: var(--white);
  box-shadow: 0 12px 24px -12px rgba(6, 31, 62, 0.6);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  color: var(--navy-deep);
  transform: translateX(-50%);
}
.bdp-flag img {
  width: 24px;
  height: 16px;
  border-radius: 3px;
  object-fit: cover;
}
.bdp-role {
  display: inline-block;
  margin: 0 0 8px;
  padding: 5px 12px;
  border-radius: 99px;
  background: rgba(242, 196, 19, 0.2);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--navy-deep);
}
.bdp-person h3 {
  margin: 0 0 8px;
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 600;
  color: var(--navy-deep);
}
.bdp-person-body > p:not(.bdp-role) {
  max-width: 640px;
  margin: 0 0 16px;
  line-height: 1.65;
  color: var(--muted);
}
.bdp-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 99px;
  background: var(--navy);
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  transition: background 0.25s, gap 0.25s;
}
.bdp-contact:hover {
  gap: 12px;
  background: #c8102e;
}
.bdp-contact svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (max-width: 640px) {
  .bdp-person {
    grid-template-columns: minmax(0, 1fr);
    text-align: center;
  }
  .bdp-photo {
    max-width: 220px;
    margin: 0 auto 10px;
  }
  .bdp-person-body > p:not(.bdp-role) {
    margin-inline: auto;
  }
}

html body .bdp-photo > img:not(#_) {
  width: 220px;
  height: 220px;
  max-width: 100%;
}
html body .bdp-person:not(#_) {
  align-items: center;
  min-height: 0;
}

/* ---------- Sélecteur de langue FR | EN ---------- */
html body .lang-switch:not(#_) {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(8, 47, 91, 0.15);
  border-radius: 99px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
html body .lang-switch span:not(#_) {
  display: none;
}
html body .site-nav .lang-switch a:not(#_) {
  min-height: 30px;
  min-width: 36px;
  justify-content: center;
  padding: 0 10px;
  border: 0;
  border-radius: 99px;
  color: var(--navy);
  transition: background 0.25s, color 0.25s;
}
html body .site-nav .lang-switch a:not(#_)::after {
  content: none;
}
html body .site-nav .lang-switch a:hover:not(#_) {
  background: rgba(8, 47, 91, 0.08);
}
html body .site-nav .lang-switch a[aria-current]:not(#_) {
  background: var(--navy);
  color: var(--white);
}
@media (max-width: 1100px) {
  html body .lang-switch:not(#_) {
    align-self: flex-start;
    margin-top: 18px;
    border-color: rgba(255, 255, 255, 0.3);
  }
  html body .site-nav .lang-switch a:not(#_) {
    min-height: 38px;
    min-width: 48px;
    color: var(--white);
  }
  html body .site-nav .lang-switch a[aria-current]:not(#_) {
    background: var(--gold);
    color: var(--navy-deep);
  }
}

/* Fiche Camille : trois colonnes pour occuper la largeur */
@media (min-width: 1001px) {
  html body .bdp-person:not(#_) {
    grid-template-columns: 220px minmax(0, 1.2fr) minmax(0, 1fr);
  }
}
.bdp-help {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px 24px;
  border-radius: 20px;
  background: linear-gradient(150deg, #f3f6fa, #eef3f8);
}
.bdp-help-title {
  margin: 0 0 14px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
}
.bdp-help ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.bdp-help li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--navy-deep);
}
.bdp-help li > span {
  display: grid;
  flex: none;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 8px 16px -10px rgba(6, 31, 62, 0.5);
}
.bdp-help svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (max-width: 1000px) {
  .bdp-help {
    grid-column: 1 / -1;
  }
}
@media (max-width: 640px) {
  .bdp-help {
    text-align: left;
  }
}

/* Fiche Camille : demi-largeur, liseré jaune uni */
@media (min-width: 1001px) {
  html body .bdp-person:not(#_) {
    grid-template-columns: 220px minmax(0, 1fr);
    width: calc(50% - 8px);
  }
}
html body .bdp-person:not(#_)::before {
  background: var(--gold);
}
