.hero-showcase {
  padding: 140px 0 78px;
}

.hero-showcase::before {
  content: "";
  position: absolute;
  inset: -18% 0 0;
  pointer-events: none;
  background:
    radial-gradient(900px 500px at 18% 30%, rgba(71, 15, 244, .28), transparent 60%),
    radial-gradient(700px 500px at 85% 60%, rgba(23, 141, 255, .18), transparent 60%);
}

.hero-showcase-inner {
  position: relative;
  grid-template-columns: minmax(0, .88fr) minmax(520px, 1.12fr);
  gap: clamp(44px, 6vw, 92px);
  min-height: 74vh;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy h1 {
  margin-top: 14px;
}

.hero-copy .lead {
  margin-top: 26px;
}

.hero-copy .accent {
  display: inline-block;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero-showcase .btn span {
  width: auto;
  height: auto;
  display: inline;
  border-radius: 0;
  background: transparent;
  color: inherit;
}

.hero-showcase .btn .arr {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--cosmic);
  line-height: 1;
}

.hero-showcase .btn-primary:hover .arr {
  background: #06060B;
  color: var(--cosmic);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 4vw, 42px);
  margin-top: 56px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.hero-meta .stat {
  display: flex;
  min-width: 138px;
  flex-direction: column;
  gap: 6px;
}

.hero-meta .stat strong {
  color: var(--text);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
}

.hero-meta .stat span {
  max-width: 18ch;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  line-height: 1.45;
  text-transform: uppercase;
}

.hero-visual {
  position: relative;
  width: min(100%, 680px);
  justify-self: end;
  transform: translateX(clamp(0px, 2.6vw, 36px)) translateY(clamp(-56px, -3.4vw, -28px));
  isolation: isolate;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 11%;
  z-index: -1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(23, 141, 255, .22), transparent 62%),
    radial-gradient(circle at 70% 32%, rgba(71, 15, 244, .18), transparent 48%);
  filter: blur(28px);
}

.hero-visual svg {
  width: 100%;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 26px 72px rgba(0, 0, 0, .32));
}

.hero-visual .scan-line {
  transform-origin: 260px 260px;
  transform-box: view-box;
  animation: homeScan 6s linear infinite;
}

.hero-visual .pulse {
  transform-origin: center;
  transform-box: fill-box;
  animation: homePulse 3s ease-out infinite;
}

.hero-visual .radar-logo {
  transform-origin: 260px 260px;
}

.preview-banner {
  position: fixed;
  left: 50%;
  top: 88px;
  z-index: 80;
  transform: translateX(-50%);
  padding: 10px 14px;
  border: 1px solid rgba(23, 141, 255, .38);
  border-radius: 999px;
  color: var(--cosmic);
  background: rgba(6, 6, 11, .86);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .28);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.service-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  min-height: 246px;
  overflow: hidden;
  padding: 30px 28px;
  border: 1px solid rgba(255, 255, 241, .11);
  background: linear-gradient(145deg, rgba(20, 20, 31, .94), rgba(12, 12, 20, .96));
  transition: transform .2s ease, border-color .25s ease, background .25s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 241, .24), transparent);
  opacity: .7;
}

.service-card:hover {
  border-color: rgba(23, 141, 255, .42);
  background: linear-gradient(145deg, rgba(24, 24, 38, .98), rgba(12, 12, 20, .98));
}

.service-card.feature {
  grid-column: span 2;
  background:
    radial-gradient(420px 260px at 12% 18%, rgba(71, 15, 244, .18), transparent 66%),
    linear-gradient(145deg, rgba(20, 20, 31, .97), rgba(8, 8, 18, .98));
  border-color: rgba(71, 15, 244, .34);
}

.service-card.service-wide {
  grid-column: span 2;
  min-height: 224px;
}

.service-content {
  display: flex;
  align-self: stretch;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
}

.service-card .service-badge {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 6px 10px;
  border: 1px solid rgba(23, 141, 255, .36);
  border-radius: 999px;
  color: var(--accent-2);
  background: rgba(23, 141, 255, .06);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.25;
  text-transform: uppercase;
}

.service-card h3 {
  min-height: 48px;
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.2;
}

.service-card p {
  flex: 1;
  margin: 0;
  color: rgba(255, 255, 241, .68);
  font-size: 13px;
  line-height: 1.55;
}

.service-card.feature h3 {
  min-height: 0;
  font-size: clamp(27px, 2.7vw, 36px);
}

.service-card.feature p {
  max-width: 56ch;
  font-size: 15px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
}

.service-card .service-tags span {
  margin: 0;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 241, .13);
  border-radius: 999px;
  color: rgba(255, 255, 241, .76);
  background: rgba(255, 255, 241, .045);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.detail-card .service-tags {
  margin: 20px 0 18px;
}

.detail-card .service-tags span {
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 241, .13);
  border-radius: 999px;
  color: rgba(255, 255, 241, .76);
  background: rgba(255, 255, 241, .045);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.detail-card.is-featured {
  border-color: rgba(23, 141, 255, .30);
  background:
    linear-gradient(145deg, rgba(23, 141, 255, .11), rgba(255, 255, 241, .035)),
    rgba(255, 255, 241, .03);
}

.service-card .service-arrow {
  display: grid;
  width: 36px;
  height: 36px;
  margin: 0;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 241, .12);
  border-radius: 50%;
  color: rgba(255, 255, 241, .86);
  background: rgba(255, 255, 241, .055);
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.service-card:hover .service-arrow {
  border-color: rgba(255, 255, 241, .22);
  color: var(--cosmic);
  background: var(--accent);
  transform: translateX(2px);
}

[data-home-rail] {
  --home-rail-gap: 18px;
  --home-rail-card-size: clamp(300px, 31vw, 410px);
}

[data-home-rail]:not(.is-home-rail-active) > [aria-hidden="true"] {
  display: none !important;
}

[data-home-rail].is-home-rail-active {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: var(--home-rail-gap);
  align-items: stretch;
  margin: -14px 0;
  padding: 14px 0;
  overflow-x: hidden;
  overflow-y: visible;
  border-radius: 0;
  cursor: grab;
  mask-image: linear-gradient(90deg, transparent, black 4%, black 96%, transparent);
  overscroll-behavior-x: contain;
  scroll-behavior: auto;
  scrollbar-width: none;
  touch-action: pan-y;
  user-select: none;
}

[data-home-rail].is-home-rail-active::-webkit-scrollbar {
  display: none;
}

[data-home-rail].is-home-rail-active.is-dragging {
  cursor: grabbing;
}

[data-home-rail].is-home-rail-active > * {
  flex: 0 0 var(--home-rail-card-size);
  max-width: var(--home-rail-card-size);
}

.dimensions-grid.is-home-rail-active {
  --home-rail-card-size: clamp(320px, 31vw, 430px);
}

/* Mode « snap » (Notre approche) : carrousel centré façon mobile, sans boucle automatique. */
[data-home-rail].is-home-rail-active.is-snap-rail {
  /* Départ à gauche : un contenu centré (logos de l'écosystème) rendrait le début inatteignable. */
  justify-content: flex-start;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-inline: var(--snap-edge, 0px);
  scroll-padding-inline: var(--snap-edge, 0px);
  cursor: grab;
  mask-image: none;
  touch-action: pan-x pan-y;
  user-select: auto;
}
[data-home-rail].is-snap-rail > * {
  scroll-snap-align: center;
  /* Un geste = une carte : un glissement rapide ne saute plus la suivante. */
  scroll-snap-stop: always;
  transition: opacity .3s ease, transform .3s ease;
}
[data-home-rail].is-home-rail-active.is-snap-rail > :not(.is-rail-current) {
  opacity: .55;
  transform: scale(.97);
  cursor: pointer;
}
[data-home-rail].is-snap-rail.is-dragging {
  scroll-snap-type: none;
  scroll-behavior: auto;
  cursor: grabbing;
  user-select: none;
}
[data-home-rail].is-snap-rail:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}
/* Points de position : même style que les carrousels mobiles (.uk-dots). */
.home-rail-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 20px;
}
.home-rail-dots[hidden] {
  display: none;
}
.home-rail-dots > button {
  position: relative;
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 241, .18);
  cursor: pointer;
  transition: .25s;
}
.home-rail-dots > button::before {
  content: '';
  position: absolute;
  inset: -9px -3px;
}
.home-rail-dots > button.is-active {
  width: 22px;
  border-radius: 6px;
  background: var(--accent-2, var(--accent));
}
.home-rail-dots > button:focus-visible {
  outline: 2px solid var(--accent-2, var(--accent));
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  [data-home-rail].is-home-rail-active.is-snap-rail {
    scroll-behavior: auto;
  }
  [data-home-rail].is-snap-rail > * {
    transition: none;
  }
}

.trust-grid.is-home-rail-active {
  --home-rail-card-size: clamp(230px, 24vw, 320px);
  border: 0;
}

.trust-grid.is-home-rail-active > div {
  display: grid;
  align-content: center;
  min-height: 170px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 241, .035);
}

.news-grid.is-home-rail-active {
  --home-rail-card-size: clamp(320px, 31vw, 420px);
}

@media (min-width: 1021px) {
  .hero-meta {
    flex-wrap: nowrap;
    gap: clamp(18px, 2.2vw, 30px);
  }

  .hero-meta .stat {
    min-width: 0;
    flex: 0 1 auto;
  }

  .hero-meta .stat strong {
    font-size: clamp(28px, 2.35vw, 38px);
    white-space: nowrap;
  }

  /* 14ch : en JetBrains Mono (plus large que la police système), 15ch faisait passer le badge
     légendé sur sa propre ligne à partir de 1580 px. Les libellés restent sur deux lignes. */
  .hero-meta .stat span {
    max-width: 14ch;
  }
}

@keyframes homeScan {
  to {
    transform: rotate(360deg);
  }
}

@keyframes homePulse {
  0% {
    opacity: 1;
    transform: scale(.4);
  }

  100% {
    opacity: 0;
    transform: scale(1.6);
  }
}

.team-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.team-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  justify-content: stretch;
}

.team-carousel {
  position: relative;
  overflow: hidden;
}

.team-carousel.is-active {
  
  margin: -14px 0;
  padding: 14px 0;
  mask-image: linear-gradient(90deg, transparent, black 4%, black 96%, transparent);
  cursor: grab;
  user-select: none;
}

.team-carousel.is-active .team-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 18px;
  touch-action: pan-y;
  will-change: transform;
  transition: transform .72s cubic-bezier(.22, .78, .24, 1);
}

.team-carousel.is-active .team-card {
  flex: 0 0 calc((100% - 54px) / 4);
}

.team-carousel.is-shifting .team-card:first-child {
  opacity: .18;
  transform: scale(.97);
}

.team-carousel.is-dragging {
  cursor: grabbing;
}

.team-carousel:not(.is-active) .team-track > [aria-hidden="true"] {
  display: none;
}

.team-card-top {
  position: static;
  width: max-content;
}

.linkedin-link {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(255, 255, 241, .20);
  border-radius: 9px;
  color: #fff;
  background: #0A66C2;
  box-shadow: 0 14px 28px rgba(10, 102, 194, .24);
  transition: .2s ease;
}

.linkedin-link:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.linkedin-link svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
  stroke: none;
}

.team-card .team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--panel-2);
  margin-bottom: 18px;
}

/* Personne sans photo : ses initiales dans le cercle de l'avatar (jamais d'image vide). */
.team-card .team-avatar--initials {
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  background: linear-gradient(145deg, rgba(71, 15, 244, .42), rgba(23, 141, 255, .20));
  color: var(--cosmic);
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: .06em;
  line-height: 1;
}

.cert-badges {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  margin-top: auto;
  padding: 16px 2px 4px;
  justify-content: center; 
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  touch-action: pan-y;
  cursor: grab;
}

.cert-badges::-webkit-scrollbar {
  display: none;
}

.cert-badges.is-overflowing {
  justify-content: flex-start; 
  mask-image: linear-gradient(90deg, black 0%, black 84%, transparent 100%);
}

.cert-badges.is-dragging {
  cursor: grabbing;
}

.cert-badges img {
  flex: 0 0 auto;
  width: auto;
  height: 50px;
  max-width: 96px;
  border-radius: 0;
  object-fit: contain;
  background: transparent;
  margin: 0;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, .24));
}

.cert-badges a {
  display: inline-flex;
  flex: 0 0 auto;
}

/* Certification sans icône : son libellé dans un badge texte, à la hauteur des icônes. */
.cert-badge-text {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  height: 50px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(255, 255, 241, .06);
  color: var(--cosmic);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
}

.cert-badges a .cert-badge-text {
  border-color: rgba(23, 141, 255, .42);
}

.testimonial-carousel {
  max-width: 920px;
  margin: 0 auto;
}

.testimonial-viewport {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(520px 260px at 78% 12%, rgba(23, 141, 255, .16), transparent 62%),
    linear-gradient(145deg, rgba(255, 255, 241, .085), rgba(255, 255, 241, .028));
  box-shadow: var(--shadow);
}

.testimonial-track {
  display: flex;
  transition: transform .55s cubic-bezier(.2, .7, .2, 1);
}

.quote-card {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 0 0 100%;
  min-height: 320px;
  overflow: hidden;
  padding: clamp(34px, 6vw, 66px);
  border: 0;
  background: transparent;
}

.quote-card::before {
  content: '"';
  position: absolute;
  top: -22px;
  right: 34px;
  color: rgba(23, 141, 255, .22);
  font-family: Georgia, serif;
  font-size: 180px;
  line-height: 1;
}

.quote-card p {
  position: relative;
  max-width: 760px;
  margin: 0 0 34px;
  color: rgba(255, 255, 241, .9);
  font-size: clamp(22px, 3vw, 36px);
  line-height: 1.18;
  letter-spacing: 0;
}

.quote-card span {
  position: relative;
  display: block;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.quote-attribution {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: auto;
}
.quote-avatar {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: rgba(255, 255, 241, .04);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .26);
}

.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 22px;
}

.carousel-button,
.testimonial-dot {
  border: 1px solid var(--line);
  background: rgba(255, 255, 241, .06);
  color: var(--text);
  cursor: pointer;
  transition: .2s ease;
}

.carousel-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.carousel-button:hover,
.testimonial-dot:hover,
.testimonial-dot.active {
  border-color: var(--accent-2);
  background: rgba(23, 141, 255, .16);
}

.testimonial-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.testimonial-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 50%;
}

.testimonial-dot.active {
  width: 28px;
  border-radius: 999px;
}

.training-info-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
  margin: 30px 0;
}

.training-info-grid article,
.satisfaction-block {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 241, .045);
  padding: 28px;
}

.training-info-grid h3,
.satisfaction-block h3 {
  margin: 0 0 16px;
  font-size: 24px;
}

.training-info-grid a {
  color: var(--accent-2);
}

.training-info-grid .btn {
  margin-top: 8px;
  color: var(--text);
}

.satisfaction-block {
  margin-top: 18px;
}

.satisfaction-block .metrics-grid {
  margin-top: 0;
}

.indicator-visual {
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: clamp(20px, 4vw, 44px);
  align-items: center;
  margin: 28px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(560px 320px at 70% 50%, rgba(23, 141, 255, .14), transparent 68%),
    rgba(6, 6, 11, .35);
  padding: clamp(22px, 4vw, 40px);
}

.indicator-visual p {
  max-width: 44ch;
}

.radar-chart {
  min-height: 380px;
}

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

.radar-grid-line,
.radar-axis {
  fill: none;
  stroke: rgba(255, 255, 241, .18);
  stroke-width: 1.4;
}

.radar-grid-line:last-of-type {
  stroke: rgba(255, 255, 241, .32);
}

.radar-area {
  fill: url(#radarFill);
  stroke: rgba(255, 255, 241, .34);
  stroke-width: 1.5;
}

.radar-stroke {
  fill: none;
  stroke: rgba(23, 141, 255, .72);
  stroke-linejoin: round;
  stroke-width: 9;
  filter: url(#radarGlow);
}

.radar-dot {
  fill: var(--cosmic);
  stroke: var(--accent-2);
  stroke-width: 3;
}

.radar-tick-label,
.radar-label-name,
.radar-label-value {
  fill: rgba(255, 255, 241, .72);
  font-family: var(--mono);
}

.radar-tick-label {
  font-size: 18px;
}

.radar-label-name {
  font-size: 20px;
  letter-spacing: .08em;
}

.radar-label-value {
  fill: var(--text);
  font-size: 18px;
  font-weight: 700;
}

.table-wrap.compact table {
  min-width: 680px;
}

.table-wrap.compact td:last-child {
  color: var(--text);
  font-weight: 700;
  text-align: center;
}

.indicator-table {
  min-width: 760px;
}

.indicator-table th:first-child,
.indicator-table td:first-child {
  width: 104px;
  text-align: left;
}

.indicator-table th:last-child,
.indicator-table td:last-child {
  width: 136px;
  text-align: right;
}

.indicator-table td:nth-child(2) {
  color: rgba(255, 255, 241, .82);
}

.indicator-code {
  color: var(--accent-2);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.training-results-table th:nth-child(2),
.training-results-table th:nth-child(3),
.training-results-table td:nth-child(2),
.training-results-table td:nth-child(3) {
  text-align: center;
}

@media (max-width: 1020px) {
  /* Indicateurs Qualiopi (3 colonnes courtes) : plus de largeur minimale, la colonne Satisfaction reste visible
     (iPad portrait, fenêtre étroite). Catalogue (4 colonnes) : largeur minimale réduite pour garder « Durée ». */
  .table-wrap.compact table,
  .indicator-table {
    min-width: 0;
  }

  .indicator-table th:first-child,
  .indicator-table td:first-child {
    width: 72px;
  }

  .indicator-table th:last-child,
  .indicator-table td:last-child {
    width: 96px;
  }

  .need-panel .table-wrap:not(.compact) table {
    min-width: 600px;
  }

  .hero-showcase-inner {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .hero-visual {
    position: absolute;
    top: clamp(-90px, -9vw, -36px);
    right: clamp(-230px, -33vw, -120px);
    width: min(150vw, 760px);
    justify-self: auto;
    transform: none;
    opacity: .85;
    pointer-events: none;
    z-index: 0;
    -webkit-mask-image: radial-gradient(125% 125% at 78% 22%, #000 40%, transparent 74%);
    mask-image: radial-gradient(125% 125% at 78% 22%, #000 40%, transparent 74%);
  }

  .team-carousel.is-active .team-card {
    flex-basis: calc((100% - 36px) / 3);
  }

  .training-info-grid,
  .indicator-visual {
    grid-template-columns: 1fr;
  }

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

  .service-card.feature,
  .service-card.service-wide {
    grid-column: span 2;
  }
}

@media (max-width: 720px) {
  .hero-showcase {
    padding-top: 118px;
  }

  .hero-showcase-inner {
    gap: 42px;
  }

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

  .hero-meta .stat:last-child {
    grid-column: 1 / -1;
  }

  .team-carousel.is-active {
    mask-image: linear-gradient(90deg, black 0%, black 92%, transparent 100%);
  }

  .team-carousel.is-active .team-card {
    flex-basis: min(82vw, 320px);
  }

  .hero-visual {
    top: clamp(-70px, -13vw, -28px);
    right: clamp(-210px, -42vw, -110px);
    width: min(172vw, 580px);
    opacity: .62;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .service-card.feature,
  .service-card.service-wide {
    grid-column: span 1;
    min-height: 0;
  }

  .service-card {
    align-items: flex-start;
    flex-direction: column;
    padding: 26px;
  }

  .service-card .service-arrow {
    align-self: flex-start;
  }

  .service-card h3 {
    min-height: 0;
  }

  .quote-card {
    min-height: 280px;
  }

  .cert-badges img,
  .cert-badge-text {
    height: 44px;
  }

  .radar-chart {
    min-height: 300px;
  }

  .radar-label-name {
    font-size: 18px;
  }

  .radar-label-value,
  .radar-tick-label {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-visual .scan-line,
  .hero-visual .pulse {
    animation: none;
  }

  .testimonial-track {
    transition: none;
  }
}
/* Blocs de code, coloration syntaxique et contenu technique des articles : article-content.css. */

.share-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: clamp(48px, 5vw, 72px) 0 0;
  padding: 0;
}
.share-bar-label {
  flex: 0 0 auto;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.share-bar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}
.share-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255, 255, 241, .12);
  border-radius: 999px;
  background: rgba(255, 255, 241, .04);
  color: rgba(255, 255, 241, .82);
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease, border-color .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}
.share-pill svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.share-pill svg[stroke] {
  fill: none;
  stroke: currentColor;
}
.share-pill:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 241, .26);
  background: rgba(255, 255, 241, .08);
  color: var(--text);
}
.share-pill:active {
  transform: translateY(0);
}
.share-pill:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(23, 141, 255, .6), 0 0 0 4px rgba(23, 141, 255, .15);
}

.share-pill--linkedin:hover {
  border-color: rgba(10, 102, 194, .65);
  background: rgba(10, 102, 194, .14);
  color: #4FA8FF;
  box-shadow: 0 6px 18px rgba(10, 102, 194, .26);
}
.share-pill--x:hover {
  border-color: rgba(255, 255, 255, .65);
  background: #000;
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .55);
}
.share-pill--mail:hover {
  border-color: rgba(60, 220, 120, .55);
  background: rgba(60, 220, 120, .12);
  color: #B6F2CC;
  box-shadow: 0 6px 18px rgba(60, 220, 120, .22);
}
.share-pill--copy:hover {
  border-color: rgba(255, 217, 138, .55);
  background: rgba(255, 217, 138, .12);
  color: #FFE2A8;
  box-shadow: 0 6px 18px rgba(255, 217, 138, .22);
}
.share-pill--more:hover {
  border-color: rgba(23, 141, 255, .65);
  background: rgba(23, 141, 255, .14);
  color: #6FB6FF;
  box-shadow: 0 6px 18px rgba(23, 141, 255, .28);
}

.share-pill-icon-done { display: none; }
.share-pill--copy.is-copied {
  border-color: rgba(60, 220, 120, .55);
  background: rgba(60, 220, 120, .14);
  color: #B6F2CC;
}
.share-pill--copy.is-copied .share-pill-icon-default { display: none; }
.share-pill--copy.is-copied .share-pill-icon-done { display: inline-block; }

.share-bar-toast {
  margin-left: auto;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(60, 220, 120, .12);
  border: 1px solid rgba(60, 220, 120, .35);
  color: #B6F2CC;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(-2px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  white-space: nowrap;
}
.share-bar-toast.is-error {
  background: rgba(255, 122, 122, .12);
  border-color: rgba(255, 122, 122, .35);
  color: #FFB8B8;
}
.share-bar-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 600px) {
  .share-bar {
    gap: 10px;
    flex-wrap: wrap;
  }
  .share-bar-actions {
    flex: 1 1 auto;
    justify-content: flex-end;
  }
  .share-bar-toast {
    flex: 1 0 100%;
    margin-left: 0;
    align-self: flex-start;
    text-align: center;
  }
  .share-pill {
    width: 38px;
    height: 38px;
  }
}

/* Fin d'article : une seule barre sous le texte, partage à gauche et relance vers le contact à droite. */
.post-end {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  margin: clamp(48px, 5vw, 72px) 0 clamp(64px, 7vw, 96px);
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.post-end .share-bar { margin: 0; }
/* Confirmation « Lien copié » : barre sur une ligne, sous les boutons et hors du flux (la barre garde sa largeur) ;
   barre empilée (820 px ou moins), dans le flux sous les boutons, pour ne pas recouvrir la relance. */
@media (min-width: 821px) {
  .post-end .share-bar-toast {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    margin: 0;
  }
}
.post-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 14px 20px;
  margin-left: auto;
}
.post-cta-copy {
  margin: 0;
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -.01em;
}
.post-cta .btn {
  flex: 0 0 auto;
  min-height: 46px;
  padding: 11px 20px;
}
/* Fenêtre étroite : partage puis relance l'un sous l'autre, alignés à gauche. */
@media (max-width: 820px) {
  .post-end { flex-direction: column; align-items: flex-start; }
  .post-cta { margin-left: 0; justify-content: flex-start; }
  .post-end .share-bar { flex-wrap: wrap; }
  .post-end .share-bar-toast { flex: 1 0 100%; margin-left: 0; text-align: center; }
}
@media (max-width: 600px) {
  .post-end { align-items: stretch; }
  .post-cta .btn { flex: 1 1 100%; }
}

.captcha-field span {
  color: var(--accent-2);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.contact-form-head {
  display: grid;
  gap: 8px;
  margin-bottom: 4px;
}

.contact-form-head .kicker {
  margin-bottom: 0;
}

.contact-form-head h2 {
  font-size: clamp(28px, 3.2vw, 44px);
  letter-spacing: 0;
}

.contact-form-head p {
  max-width: 62ch;
  margin: 0;
}

.contact-form .consent-field {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.55;
}

.contact-form .consent-field input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  flex: 0 0 auto;
  accent-color: var(--accent-2);
  cursor: pointer;
}

.contact-form .consent-field a {
  color: var(--accent-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Contrôle du formulaire avant envoi (js/contact-form.js) : messages sous les champs, indicateur d'envoi.
   Les propriétés de texte sont redéfinies car .captcha-field span s'appliquerait aussi au message. */
.contact-form .field-error {
  display: block;
  color: #ff9090;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.4;
  text-transform: none;
}
.contact-form .field-error[hidden] {
  display: none;
}
/* Champ voisin d'un message d'erreur (deux colonnes) : sa ligne s'agrandit, mais le champ garde sa hauteur
   au lieu de s'étirer avec elle. */
.contact-form label {
  align-content: start;
}
.contact-form > .field-error {
  margin-top: -8px;
}
.contact-form :is(input, select, textarea)[aria-invalid="true"] {
  border-color: rgba(255, 82, 82, .7);
}
.contact-form :is(input, select, textarea)[aria-invalid="true"]:focus {
  border-color: rgba(255, 110, 110, .9);
  box-shadow: 0 0 0 4px rgba(255, 82, 82, .14);
}
.contact-form .consent-field input[aria-invalid="true"] {
  outline: 2px solid rgba(255, 82, 82, .7);
  outline-offset: 2px;
}
.contact-form button[aria-busy="true"] {
  cursor: progress;
  opacity: .9;
  transform: none;
}
.contact-form .btn-primary span.form-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  background: transparent;
  color: var(--accent);
  animation: form-spin .8s linear infinite;
}
@keyframes form-spin {
  to { transform: rotate(360deg); }
}

.contact-panel {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(520px 280px at 85% 0%, rgba(23, 141, 255, .12), transparent 64%),
    linear-gradient(145deg, rgba(255, 255, 241, .075), rgba(255, 255, 241, .025));
  box-shadow: 0 18px 60px rgba(0, 0, 0, .2);
}

.contact-panel .cp-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  transition: background .2s ease;
}

.contact-panel .cp-row:last-child {
  border-bottom: 0;
}

.contact-panel .cp-row:hover {
  background: rgba(255, 255, 241, .045);
}

.contact-panel .cp-ic {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(150deg, rgba(71, 15, 244, .45), rgba(23, 141, 255, .26));
  color: var(--cosmic);
}

.contact-panel .cp-ic svg {
  width: 22px;
  height: 22px;
}

.contact-panel .cp-tx {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.contact-panel .cp-tx small {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-panel .cp-tx strong {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -.01em;
  overflow-wrap: anywhere;
}

.contact-panel .cp-go {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: var(--muted);
  transition: transform .2s ease, color .2s ease;
}

.contact-panel .cp-go svg {
  width: 14px;
  height: 14px;
}

.contact-panel .cp-row:hover .cp-go {
  color: var(--accent-2);
  transform: translateX(3px);
}

.contact-result-dialog {
  width: min(520px, calc(100vw - 32px));
  padding: 0;
  border: 1px solid rgba(255, 255, 241, .14);
  border-radius: 24px;
  color: var(--text);
  background:
    radial-gradient(380px 220px at 20% 0%, rgba(23, 141, 255, .18), transparent 70%),
    #0B0B14;
  box-shadow: var(--shadow);
}

.contact-result-dialog::backdrop {
  background: rgba(2, 2, 8, .72);
  backdrop-filter: blur(10px);
}

.contact-result-dialog > div {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 34px;
}

.contact-result-dialog h2 {
  font-size: clamp(26px, 4vw, 40px);
}

.contact-result-dialog p {
  margin: 0;
}

.contact-result-dialog .btn {
  justify-self: start;
  margin-top: 8px;
}

.contact-dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 241, .14);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 241, .06);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  transition: .18s ease;
}

.contact-dialog-close:hover {
  border-color: rgba(23, 141, 255, .45);
  background: rgba(23, 141, 255, .14);
  transform: translateY(-1px);
}

.contact-result-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 18px;
  background: rgba(23, 141, 255, .14);
}

.contact-result-icon::before {
  color: var(--cosmic);
  font-size: 28px;
  font-weight: 800;
}

.contact-result-dialog.success .contact-result-icon::before {
  content: "✓";
}

.contact-result-dialog.error .contact-result-icon {
  background: rgba(255, 86, 86, .16);
}

.qr-welcome-dialog .kicker { margin-bottom: 4px; }
.qr-welcome-dialog h2 { margin-bottom: 6px; }
.qr-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.contact-result-dialog.qr-welcome-dialog .btn {
  justify-self: stretch;
  margin-top: 0;
}

.contact-result-dialog.error .contact-result-icon::before {
  content: "!";
}

.legal-hero {
  padding-bottom: 24px;
}

.legal-id {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(560px 280px at 85% 0%, rgba(23, 141, 255, .12), transparent 64%),
    linear-gradient(145deg, rgba(255, 255, 241, .065), rgba(255, 255, 241, .022));
  box-shadow: 0 18px 60px rgba(0, 0, 0, .2);
}

.legal-id > div {
  padding: 22px 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.legal-id > div:nth-child(2n) {
  border-right: 0;
}

.legal-id > div:nth-last-child(-n+2):nth-child(2n+1),
.legal-id > div:last-child {
  border-bottom: 0;
}

.legal-id dt {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

.legal-id dd {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
}

.legal-company {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
}

.legal-company-name {
  font-weight: 700;
}

.legal-company-capital {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 5px 9px;
  border: 1px solid rgba(23, 141, 255, .24);
  border-radius: 999px;
  background: rgba(23, 141, 255, .08);
  color: rgba(255, 255, 241, .88);
  white-space: nowrap;
}

.legal-company-capital em,
.legal-company-capital strong {
  font-size: 12px;
  line-height: 1.2;
}

.legal-company-capital em {
  color: var(--accent-2);
  font-family: var(--mono);
  font-style: normal;
  font-weight: 800;
  letter-spacing: .12em;
}

.legal-company-capital strong {
  font-weight: 700;
}

.legal-id a {
  color: var(--accent-2);
}

.legal-doc {
  display: grid;
  gap: 4px;
  margin-top: 48px;
}

.legal-doc section {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.legal-doc section:first-child {
  border-top: 0;
}

.legal-doc h2 {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin: 0 0 14px;
  font-size: clamp(22px, 2.4vw, 32px);
}

.legal-doc h2 .n {
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--accent-2);
}

.legal-doc p {
  max-width: 74ch;
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255, 255, 241, .78);
}

.legal-doc p + p {
  margin-top: 14px;
}

/* Textes saisis dans les zones de texte de l'admin (sections personnalisées comprises) :
   retours à la ligne et lignes vides conservés. */
.legal-doc p,
.legal-lines {
  white-space: pre-line;
}

.legal-doc a {
  color: var(--accent-2);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal-meta {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.legal-rgpd {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  margin: 22px 0 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 241, .02);
}

.legal-rgpd dt {
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 241, .03);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.legal-rgpd dd {
  margin: 0;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
  color: rgba(255, 255, 241, .78);
  font-size: 15px;
  line-height: 1.65;
}

.legal-rgpd dt:last-of-type,
.legal-rgpd dd:last-of-type {
  border-bottom: 0;
}

.legal-rgpd a {
  color: var(--accent-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-host-panel {
  max-width: 760px;
  margin-top: 18px;
  border: 1px solid rgba(255, 255, 241, .09);
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(420px 190px at 100% 0%, rgba(23, 141, 255, .11), transparent 68%),
    linear-gradient(145deg, rgba(255, 255, 241, .055), rgba(255, 255, 241, .018)),
    rgba(6, 6, 11, .24);
}

.legal-host-summary {
  margin: 0;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 241, .075);
  color: rgba(255, 255, 241, .86);
  font-size: 15px;
  line-height: 1.6;
}

.legal-host-details {
  display: grid;
  margin: 0;
}

.legal-host-details > div {
  display: grid;
  grid-template-columns: minmax(175px, .34fr) minmax(0, 1fr);
  gap: 18px;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255, 255, 241, .065);
}

.legal-host-details > div:last-child {
  border-bottom: 0;
}

.legal-host-details dt {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.legal-host-details dd {
  margin: 0;
  color: rgba(255, 255, 241, .9);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.legal-location,
.legal-host-contact {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.legal-flag-fr {
  width: 18px;
  height: 12px;
  flex: 0 0 auto;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255, 255, 241, .18), 0 6px 14px rgba(0, 0, 0, .18);
  background: linear-gradient(90deg, #1f47a8 0 33.333%, #fff 33.333% 66.666%, #e33a3a 66.666% 100%);
}

.legal-host-details a {
  color: var(--accent-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-host-contact a + a {
  position: relative;
  padding-left: 14px;
}

.legal-host-contact a + a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 241, .38);
  transform: translateY(-50%);
}

.legal-info-card {
  display: grid;
  border: 1px solid rgba(255, 255, 241, .09);
  border-radius: 14px;
  overflow: hidden;
  background:
    radial-gradient(360px 180px at 100% 0%, rgba(23, 141, 255, .12), transparent 66%),
    rgba(6, 6, 11, .24);
}

.legal-info-row {
  display: grid;
  grid-template-columns: minmax(150px, .42fr) minmax(0, 1fr);
  gap: 14px;
  padding: 13px 15px;
  border-bottom: 1px solid rgba(255, 255, 241, .075);
}

.legal-info-row:last-child {
  border-bottom: 0;
}

.legal-info-row span,
.legal-retention-grid span,
.legal-retention-grid small,
.legal-info-note {
  color: var(--muted);
}

.legal-info-row span,
.legal-retention-grid span {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.legal-info-row strong,
.legal-retention-grid strong {
  color: rgba(255, 255, 241, .9);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.legal-info-note {
  max-width: none;
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.6;
}

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

.legal-retention-grid > div {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 150px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 241, .09);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(255, 255, 241, .055), rgba(255, 255, 241, .018)),
    rgba(6, 6, 11, .24);
}

.legal-retention-grid small {
  font-size: 12px;
  line-height: 1.55;
}

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

  .legal-rgpd dt {
    border-bottom: 0;
    padding-bottom: 4px;
  }

  .legal-rgpd dd {
    padding-top: 4px;
  }

  .legal-rgpd dd:not(:last-of-type) {
    border-bottom: 1px solid var(--line);
  }

  .legal-id {
    grid-template-columns: 1fr;
  }

  .legal-id > div {
    border-right: 0;
  }

  .legal-info-row,
  .legal-retention-grid,
  .legal-host-details > div {
    grid-template-columns: 1fr;
  }

  .legal-retention-grid > div {
    min-height: 0;
  }

  .legal-id > div:last-child {
    border-bottom: 0;
  }

  .legal-doc h2 {
    gap: 12px;
  }
}
.news-section .section-head.inline > .btn {
  height: 50px;
  padding-block: 0;
  line-height: 1;
  white-space: nowrap;
}

.blog-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px 18px;
  margin-bottom: 24px;
}
.blog-search {
  position: relative;
  display: flex;
  align-items: center;
  margin: 0;
}
.blog-search-ic {
  position: absolute;
  left: 18px;
  width: 18px;
  height: 18px;
  color: var(--muted);
  pointer-events: none;
}
.blog-search input {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255,255,241,.04);
  color: var(--text);
  padding: 15px 44px 15px 50px;  
  border-radius: 16px;
  font: inherit;
  font-size: 15.5px;
  outline: none;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.blog-search input::placeholder { color: var(--muted); }
.blog-search input:hover { background: rgba(255,255,241,.06); }
.blog-search input:focus {
  border-color: rgba(23,141,255,.4);
  background: rgba(255,255,241,.06);
  box-shadow: 0 0 0 4px rgba(23,141,255,.10);
}
.blog-search-clear {
  position: absolute;
  right: 10px;
  width: 28px; height: 28px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 22px;
  line-height: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.blog-search-clear:hover { background: rgba(255,255,241,.06); color: var(--text); }
.blog-search-clear[hidden] { display: none; }

.blog-select {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.blog-select select {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid var(--line);
  background: rgba(255,255,241,.04);
  color: var(--text);
  padding: 14px 42px 14px 18px;
  border-radius: 16px;
  font: inherit;
  font-size: 14.5px;
  outline: none;
  cursor: pointer;
  min-width: 220px;
  transition: border-color .2s, background .2s;
  
  color-scheme: dark;
}

.blog-select option {
  background-color: var(--panel-2);
  color: var(--text);
}
.blog-select select:hover { background: rgba(255,255,241,.06); }
.blog-select select:focus { border-color: rgba(23,141,255,.4); background: rgba(255,255,241,.06); }
/* Focus clavier : même anneau que les autres contrôles du site (la bordure à 40 % seule reste trop pâle). */
.blog-search input:focus-visible,
.blog-select select:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.blog-select-ic {
  position: absolute;
  right: 18px;
  width: 12px; height: 12px;
  color: var(--muted);
  pointer-events: none;
}

.blog-count {
  grid-column: 1 / -1;
  margin: 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--muted);
  text-transform: uppercase;
}

.blog-empty {
  margin: 24px 0;
  padding: 40px 28px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,241,.02);
  text-align: center;
  color: var(--muted);
  font-size: 15px;
}
.blog-empty[hidden] { display: none; }
.blog-link-btn {
  border: 0;
  background: transparent;
  color: var(--accent-2);
  padding: 0;
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
}

@media (max-width: 720px) {
  .blog-toolbar { grid-template-columns: 1fr; }
  .blog-select select { width: 100%; min-width: 0; }
}

select { color-scheme: dark; }
select option { background-color: var(--panel-2); color: var(--text); }

.page-hero { padding-bottom: 36px; }
.page-hero + .section { padding-top: clamp(38px, 5.5vw, 75px); }
/* Kicker, titre et introduction saisis dans l'admin : un mot très long, une adresse web ou e-mail passe
   à la ligne dans sa colonne au lieu de déborder (sous l'agenda des actualités, hors de l'écran) ou
   d'élargir sa colonne (panneau de contact écrasé). Un texte ordinaire n'est jamais coupé. */
.page-hero h1, .page-hero .kicker, .page-hero .lead { overflow-wrap: anywhere; }

.need-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.need-detail-card {
  min-width: 0;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 18px;
  background: rgba(255, 255, 255, .045);
}
.need-detail-card h3 {
  margin: 0 0 10px;
  font-size: clamp(20px, 1.8vw, 24px);
  /* Titres à mot long (« Accompagnement RGPD ») : jamais de débordement de carte. */
  hyphens: auto;
  overflow-wrap: break-word;
}
.need-detail-card p {
  margin: 0;
}
.need-panel-cta {
  margin-top: 22px;
}
/* Note en italique (hero et familles de la page « Votre besoin Cyber »). */
.needs-note {
  max-width: 72ch;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-style: italic;
  line-height: 1.6;
}
.page-hero .needs-note {
  margin-top: 16px;
  font-size: clamp(15px, 1.2vw, 17px);
}
.needs-note a {
  color: var(--accent-2);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.needs-note a:hover,
.needs-note a:focus-visible {
  color: var(--text);
}

.needs-section:has(+ .faq-divider-row) {
  padding-bottom: 0;
}
.faq-divider-row {
  padding: clamp(48px, 7vw, 96px) 0;
}
.faq-divider {
  margin: 0;
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong) 30%, var(--line-strong) 70%, transparent);
}
.needs-faq-section {
  padding: 0 0 clamp(76px, 11vw, 150px);
}
.needs-faq-section .wrap {
  display: grid;
  gap: 18px;
}
.needs-faq-list-public {
  display: grid;
  gap: 12px;
}
.needs-faq-item {
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(23, 141, 255, .08), rgba(255, 255, 241, .028)),
    rgba(6, 6, 11, .34);
  overflow: hidden;
}
.needs-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 18px 20px;
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
}
.needs-faq-item summary::-webkit-details-marker {
  display: none;
}
.needs-faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--accent-2);
  font-family: var(--mono);
  font-size: 22px;
  line-height: 1;
}
.needs-faq-item[open] summary::after {
  content: "-";
}
.needs-faq-item p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
}

/* === Refonte contenus 2026-11 — accueil === */

/* Hero : marque « unumkey, » + titre plus long (trois lignes) et trois boutons. */
@media (min-width: 1021px) {
  .hero-showcase-inner {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr);
  }
}

.hero-showcase .hero-copy h1 {
  font-size: clamp(40px, 4.3vw, 60px);
  line-height: 1.04;
  text-wrap: balance;
}

.hero .hero-copy h1 .hero-brand {
  display: block;
  margin-bottom: .04em;
  color: var(--cosmic);
  font-size: 1.14em;
  font-style: normal;
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: 1;
}

.hero-cta.has-three {
  gap: 12px;
}

.hero-cta.has-three .btn {
  padding-inline: 20px;
}

/* Colonne de texte trop étroite pour trois boutons sur une ligne : disposition 1 + 2 (pas de bouton orphelin). */
@media (min-width: 1021px) and (max-width: 1279px) {
  .hero-cta.has-three {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .hero-cta.has-three .btn:first-child {
    grid-column: 1 / -1;
  }
}

/* Indicateurs du hero : trois valeurs + badge image. */
.hero-meta .hero-badge {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
}

.hero-meta .hero-badge a {
  display: inline-flex;
  border-radius: 50%;
  transition: transform .2s ease;
}

.hero-meta .hero-badge a:hover {
  transform: translateY(-2px);
}

.hero-meta .hero-badge img {
  width: auto;
  height: clamp(56px, 4.8vw, 68px);
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .35));
}

/* Pied de page : titres de colonnes en h2 (hiérarchie de titres), rendu identique à l'ancien h5. */
.footer .footer-title {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.55;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--muted);
  margin: 0 0 14px;
}

/* Texte réservé aux lecteurs d'écran (ex. titre de la liste des actualités). */
.visually-hidden {position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* Ancres (#formation, /services#gouvernance…) : la cible ne doit pas passer sous la barre de navigation fixe
   (≈ 69 px compacte + 24 px de décalage d'apparition [data-reveal] + marge). */
html {
  scroll-padding-top: 112px;
}

/* Bandeau : durée proportionnelle au nombre de mots-clés (vitesse constante). */
.marquee-track {
  animation-duration: var(--marquee-duration, 63s);
}

/* Bandeau : pause au survol et bouton pause/lecture (WCAG 2.2.2 / RGAA 13.8). Le bandeau est décoratif (aria-hidden),
   le bouton reste hors de la zone masquée. */
.marquee-shell {
  position: relative;
}

.marquee:hover .marquee-track,
.marquee.is-paused .marquee-track {
  animation-play-state: paused;
}

.marquee-toggle {
  position: absolute;
  top: 50%;
  right: max(12px, calc(var(--gutter) / 2));
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(6, 6, 11, .72);
  color: var(--muted);
  cursor: pointer;
  opacity: .7;
  transform: translateY(-50%);
  transition: opacity .2s ease, color .2s ease, border-color .2s ease;
}

.marquee-toggle:hover,
.marquee-toggle:focus-visible {
  opacity: 1;
  color: var(--text);
  border-color: var(--accent-2);
}

.marquee-toggle:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
}

.marquee-toggle-pause {
  width: 10px;
  height: 11px;
  border-inline: 3px solid currentColor;
}

.marquee-toggle-play {
  display: none;
  width: 0;
  height: 0;
  margin-left: 3px;
  border-block: 6px solid transparent;
  border-left: 10px solid currentColor;
}

.marquee-toggle[aria-pressed="true"] .marquee-toggle-pause {
  display: none;
}

.marquee-toggle[aria-pressed="true"] .marquee-toggle-play {
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .marquee-toggle {
    display: none;
  }
}

/* Notre approche : illustration dans l'en-tête de chaque carte, mots-clés alignés en bas. */
.dim-card {
  display: flex;
  flex-direction: column;
}

.dim-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

/* Étiquette (« 01 · Gouvernance ») sur une ligne : c'est l'illustration qui se réduit (object-fit: contain).
   max-width : un libellé saisi trop long pour l'en-tête revient à la ligne au lieu de déborder. */
.dim-card-head .dim-num {
  flex: 0 0 auto;
  max-width: 100%;
  padding-top: 4px;
}

.dim-card .dim-media {
  flex: 0 1 auto;
  min-width: 0;
  width: auto;
  max-width: 48%;
  height: clamp(84px, 7.2vw, 112px);
  object-fit: contain;
  object-position: right top;
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, .34));
  pointer-events: none;
  user-select: none;
}

.dim-card.has-media h3 {
  margin-top: 14px;
}

.dim-card ul {
  margin-top: auto;
  padding-top: 22px;
}

/* Notre offre de services : quatre offres de même poids (2 × 2), numérotées. */
.dark-panel {
  position: relative;
}

.section-anchor {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.dark-panel .section-head.inline > .btn,
.news-section .section-head.inline > .btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

.services-grid--home {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.services-grid--home.count-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.services-grid--home.count-4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.services-grid--home .service-card.feature,
.services-grid--home .service-card.service-wide {
  grid-column: auto;
}

.services-grid--home .service-card h3 {
  min-height: 0;
  font-size: clamp(20px, 1.8vw, 26px);
}

.services-grid--home .service-card p {
  max-width: 64ch;
  font-size: 14px;
}

/* Chiffres clés : en-tête de section et valeurs textuelles longues (« Plusieurs milliers »). */
.trust-section .section-head {
  margin-bottom: 40px;
}

.trust-grid > div {
  gap: 10px;
}

/* Grille (rail inactif) : sous-grille à deux rangées communes, valeurs calées en bas de la rangée « valeur »
   et libellés en haut de la rangée « libellé », alignés d'une carte à l'autre même si un libellé passe sur deux lignes. */
.trust-grid:not(.is-home-rail-active) > div {
  display: grid;
  grid-row: span 2;
  grid-template-rows: subgrid;
}

.trust-grid:not(.is-home-rail-active) > div > strong {
  align-self: end;
}

.trust-grid:not(.is-home-rail-active) > div > span {
  align-self: start;
}

.trust-grid strong.is-text {
  font-size: clamp(26px, 2.6vw, 40px);
  line-height: 1.05;
  letter-spacing: -.035em;
}

/* Notre équipe : titre long, en-tête élargi et taille modérée. */
.team-section .section-head.center {
  max-width: 1000px;
}

.team-section .section-head h2 {
  font-size: clamp(30px, 3.8vw, 54px);
}

/* Notre écosystème : logos sur tuiles claires (le site est sombre). */
.ecosystem-section .section-head {
  margin-bottom: 44px;
}

.ecosystem-section .section-head .lead {
  margin-inline: auto;
}

.ecosystem-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.ecosystem-grid > * {
  flex: 1 1 160px;
  max-width: 240px;
}

.ecosystem-grid.is-home-rail-active {
  --home-rail-card-size: clamp(190px, 26vw, 240px);
}

.ecosystem-logo {
  display: grid;
  place-items: center;
  height: 132px;
  padding: 22px 26px;
  border: 1px solid rgba(255, 255, 241, .55);
  border-radius: 20px;
  background: #FFFFFF;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .28);
  transition: transform .2s ease, box-shadow .2s ease;
}

a.ecosystem-logo:hover,
a.ecosystem-logo:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 22px 60px rgba(23, 141, 255, .24);
}

.ecosystem-logo img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 82px;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.ecosystem-logo-name {
  color: #06060B;
  font-weight: 600;
  text-align: center;
}

@media (max-width: 1020px) {
  .hero-showcase .hero-copy h1 {
    font-size: clamp(42px, 6.4vw, 64px);
  }

  .services-grid--home,
  .services-grid--home.count-3,
  .services-grid--home.count-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .hero-showcase .hero-copy h1 {
    font-size: clamp(32px, 9.2vw, 46px);
  }

  .hero-cta.has-three .btn {
    flex: 1 1 auto;
  }

  .hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 16px;
  }

  .hero-meta .stat {
    flex: 1 1 0;
    min-width: 84px;
  }

  .hero-meta .stat strong {
    font-size: clamp(26px, 7vw, 34px);
  }

  .hero-meta .stat span {
    font-size: 10px;
    letter-spacing: .1em;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  .hero-meta .hero-badge img {
    height: 52px;
  }

  .services-grid--home,
  .services-grid--home.count-3,
  .services-grid--home.count-4 {
    grid-template-columns: 1fr;
  }

  .ecosystem-logo {
    height: 112px;
    padding: 18px 20px;
  }

  .ecosystem-logo img {
    max-height: 68px;
  }
}

/* === Retours v2 (2026-11b) — accueil === */

/* Notre approche : les trois mots-clés d'une carte tiennent sur une ligne. main.js règle --dim-tag-scale
   (taille commune aux trois cartes, 0,8 au minimum) ; en deçà, la section passe en bandeau aux cartes élargies
   (--dim-rail-min). Les points de suspension ne servent que de garde-fou pour un mot-clé saisi très long. */
.dim-card ul {
  flex-wrap: nowrap;
  gap: 6px;
  min-width: 0;
}

.dim-card li {
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  padding: .52em .9em;
  font-size: calc(10.5px * var(--dim-tag-scale, 1));
  letter-spacing: .08em;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Notre approche : pistes réellement égales. La largeur min-content des mots-clés (nowrap) ne doit pas élargir
   une colonne ni faire déborder la 3e carte (≈ 1021-1300 px, iPad paysage) ; main.js mesure ainsi la place
   réellement disponible et bascule en bandeau si nécessaire. */
.dim-card {
  min-width: 0;
}

@media (min-width: 1021px) {
  .dimensions-grid:not(.is-home-rail-active) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.dimensions-grid.is-home-rail-active {
  --home-rail-card-size: max(clamp(320px, 31vw, 430px), min(var(--dim-rail-min, 0px), calc(100vw - 2 * var(--gutter))));
}

/* Badge France Cybersecurity : légende et lien vers la fiche du label (nouvel onglet). */
.hero-meta .hero-badge.has-caption a,
.hero-meta .hero-badge-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  border-radius: 18px;
}

.hero-meta .hero-badge.has-caption .hero-badge-link {
  gap: 9px;
  padding: 5px 12px 5px 5px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 241, .03);
  transition: transform .2s ease, border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.hero-meta .hero-badge.has-caption img {
  height: 46px;
}

.hero-meta .hero-badge.has-caption a.hero-badge-link:hover,
.hero-meta .hero-badge.has-caption a.hero-badge-link:focus-visible {
  border-color: rgba(23, 141, 255, .55);
  background: rgba(23, 141, 255, .08);
  box-shadow: 0 14px 34px rgba(23, 141, 255, .16);
}

.hero-meta a.hero-badge-link:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
}

.hero-badge-caption {
  max-width: 21ch;
  color: rgba(255, 255, 241, .78);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .1em;
  line-height: 1.45;
  text-transform: uppercase;
  text-wrap: balance;
  transition: color .2s ease;
}

.hero-meta a.hero-badge-link:hover .hero-badge-caption,
.hero-meta a.hero-badge-link:focus-visible .hero-badge-caption {
  color: var(--text);
}

.hero-badge-ext {
  display: grid;
  flex: 0 0 auto;
  align-self: flex-start;
  margin: 4px -4px 0 -4px;
  color: var(--accent-2);
  transition: transform .2s ease;
}

.hero-meta a.hero-badge-link:hover .hero-badge-ext {
  transform: translate(1px, -1px);
}

/* Assez de place : badge légendé à la suite des chiffres ; sinon il passe sur sa propre ligne. */
@media (min-width: 1021px) {
  .hero-meta:has(.hero-badge.has-caption) {
    flex-wrap: wrap;
    column-gap: clamp(12px, 1.2vw, 18px);
    row-gap: 22px;
  }
}

@media (max-width: 720px) {
  .hero-meta .hero-badge.has-caption {
    flex: 1 1 100%;
  }
}

/* Notre écosystème : cadres en verre sombre (comme les cartes du site), logo en couleur sur plaque claire,
   lien vers le site de l'organisation signalé par une pastille au survol / focus. */
.ecosystem-grid {
  gap: 16px;
}

.ecosystem-grid > * {
  flex: 1 1 176px;
  max-width: 228px;
}

.ecosystem-logo {
  position: relative;
  isolation: isolate;
  height: 124px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 241, .075), rgba(255, 255, 241, .03));
  box-shadow: 0 12px 40px rgba(0, 0, 0, .22);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.ecosystem-logo::before {
  content: "";
  position: absolute;
  inset: 8px;
  z-index: -1;
  border-radius: 15px;
  background: #FFFFFF;
  box-shadow: inset 0 0 0 1px rgba(1, 0, 80, .06), 0 6px 18px rgba(0, 0, 0, .18);
}

/* Taille optique homogène quel que soit le format du logo (--logo-ratio = largeur / hauteur) : les logos
   allongés sont élargis, les logos hauts réduits ; exposant < 0,5 pour garder lisibles les logos textuels. */
.ecosystem-logo img {
  --logo-size: 70px;
  width: min(100%, calc(var(--logo-size) * pow(var(--logo-ratio, 2), .62)));
  height: auto;
  max-height: 76px;
  object-fit: contain;
  transition: transform .25s ease;
}

.ecosystem-logo-name {
  color: var(--federal);
  font-size: 14px;
  line-height: 1.25;
}

.ecosystem-logo-ext {
  position: absolute;
  top: -7px;
  right: -7px;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid rgba(255, 255, 241, .22);
  border-radius: 50%;
  color: var(--cosmic);
  background: var(--accent-2);
  box-shadow: 0 6px 18px rgba(23, 141, 255, .45);
  opacity: 0;
  transform: scale(.7);
  transition: opacity .2s ease, transform .2s ease;
}

a.ecosystem-logo:hover,
a.ecosystem-logo:focus-visible {
  border-color: rgba(23, 141, 255, .6);
  box-shadow: 0 0 0 1px rgba(23, 141, 255, .18), 0 20px 54px rgba(23, 141, 255, .22);
  transform: translateY(-4px);
}

a.ecosystem-logo:hover img,
a.ecosystem-logo:focus-visible img {
  transform: scale(1.04);
}

a.ecosystem-logo:hover .ecosystem-logo-ext,
a.ecosystem-logo:focus-visible .ecosystem-logo-ext {
  opacity: 1;
  transform: none;
}

a.ecosystem-logo:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 4px;
}

/* Écrans tactiles (pas de survol) : pastille de lien toujours visible, plus discrète. */
@media (hover: none) {
  a.ecosystem-logo .ecosystem-logo-ext {
    opacity: .9;
    transform: scale(.85);
  }
}

/* Bandeau actif : marge pour la pastille et le soulèvement au survol. */
.ecosystem-grid.is-home-rail-active {
  padding-block: 18px;
  margin-block: -18px;
}

@media (max-width: 720px) {
  .ecosystem-logo {
    height: 108px;
    padding: 18px 20px;
  }

  .ecosystem-logo img {
    --logo-size: 58px;
    max-height: 64px;
  }
}

/* Équipe : place pour le soulèvement et le cadre au survol (le carrousel coupe ce qui dépasse). */
.team-carousel {
  margin-block: -14px;
  padding-block: 14px;
}

.team-carousel:not(.is-active) {
  overflow: visible;
}

/* Certifications qui défilent : fondu des deux côtés (les icônes entrent et sortent sans coupure nette). */
.cert-badges.is-overflowing {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 88%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 88%, transparent 100%);
}

/* === Avant prod (2026-11f) === */

/* Services : bouton d'action sous chaque offre. */
.service-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

/* Contact : boutons « Copier » (e-mail, téléphone) à côté des liens, affichés seulement avec JavaScript. */
.contact-panel .cp-item {
  position: relative;
  border-bottom: 1px solid var(--line);
}
.contact-panel .cp-item .cp-row { border-bottom: 0; }
.cp-copy { display: none; }
.js .contact-panel .cp-copy {
  position: absolute;
  top: 50%;
  right: 58px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(6, 6, 11, .55);
  color: var(--muted);
  font: 500 12px/1 var(--sans);
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.js .contact-panel .cp-item .cp-tx { padding-right: 104px; }
.cp-copy svg { width: 14px; height: 14px; flex: 0 0 auto; }
.cp-copy .cp-copy__ok { display: none; }
.cp-copy:hover,
.cp-copy:focus-visible { color: var(--text); border-color: var(--accent-2); }
.cp-copy:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.cp-copy.is-copied { color: var(--text); border-color: rgba(23, 141, 255, .6); background: rgba(23, 141, 255, .14); }
.cp-copy.is-copied .cp-copy__ic { display: none; }
.cp-copy.is-copied .cp-copy__ok { display: inline; color: var(--accent-2); }
.cp-copy.is-error { border-color: rgba(255, 82, 82, .55); }

/* Catalogue des formations (ordinateur) : colonne « Fiche » (PDF centré, ou tiret comme un prérequis vide) puis
   colonne d'action sans titre visible, « Demander » identique sur chaque ligne et aligné à droite. Boutons de 34 px
   calés sur la première ligne de texte des autres cellules (padding de 16 px, ligne de ~22 px). */
.training-col-fiche,
.training-fiche { width: 1%; text-align: center; white-space: nowrap; }
.training-col-action,
.training-action { width: 1%; text-align: right; white-space: nowrap; }
.training-fiche,
.training-action { padding-top: 10px; }
/* Durée courte (« 1 jour », « Sur mesure ») gardée sur une ligne. */
.training-catalog td:nth-child(4) { white-space: nowrap; }
.training-none {
  display: inline-block;
  line-height: 34px;
  color: rgba(255, 255, 241, .78);
}
.training-brochure,
.training-request {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 34px;
  padding: 0 13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: rgba(255, 255, 241, .86);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  vertical-align: top;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.training-brochure svg,
.training-request svg {
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.training-brochure svg { width: 15px; height: 15px; stroke-width: 1.5; color: #5fb0ff; }
.training-request svg { width: 12px; height: 12px; stroke-width: 1.8; transition: transform .18s ease; }
.training-request {
  border-color: rgba(23, 141, 255, .45);
  background: rgba(23, 141, 255, .10);
  color: #e3f0ff;
}
.training-brochure:hover,
.training-brochure:focus-visible {
  border-color: rgba(95, 176, 255, .7);
  background: rgba(255, 255, 241, .06);
  color: #fff;
}
.training-request:hover,
.training-request:focus-visible {
  border-color: #5fb0ff;
  background: rgba(23, 141, 255, .2);
  color: #fff;
}
.training-request:hover svg { transform: translateX(2px); }
.training-brochure:focus-visible,
.training-request:focus-visible { outline: 2px solid #5fb0ff; outline-offset: 2px; }
/* Fenêtre plus étroite : « Demander » réduit à sa flèche (nom accessible et infobulle conservés), le tableau tient
   sans défilement horizontal. */
@media (max-width: 1100px) {
  .training-request { width: 34px; padding: 0; }
  .training-request span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .training-request svg { width: 13px; height: 13px; }
}

/* Fin d'article : « À lire aussi », bande discrète sous l'article (même cartes que la liste des actualités). */
.related-posts {
  padding: clamp(56px, 6vw, 88px) 0 clamp(72px, 8vw, 112px);
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 241, .018);
}
.related-posts__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
}
.related-posts__head h2 { font-size: clamp(26px, 2.4vw, 34px); }
.related-posts__all {
  color: var(--accent-2);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.related-posts__all span { display: inline-block; transition: transform .2s ease; }
.related-posts__all:hover span { transform: translateX(3px); }

/* Pied de page : page LinkedIn de l'entreprise, sous le texte de présentation. */
.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 8px 14px 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: rgba(255, 255, 241, .82);
  font-size: 13px;
  font-weight: 500;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.footer-social svg { width: 16px; height: 16px; fill: currentColor; color: var(--accent-2); }
.footer .footer-social:hover,
.footer-social:focus-visible { border-color: var(--accent-2); color: var(--text); background: rgba(23, 141, 255, .08); }
.footer-social:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }

/* Statut d'un événement dans « Prochains rendez-vous » : à venir, en cours, terminé. */
.event-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 11px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  line-height: 1;
  text-transform: uppercase;
}
.event-badge.is-upcoming { background: var(--accent); color: #fff; }
.event-badge.is-ongoing { background: #3CDC78; color: #04210F; }
.event-badge.is-past {
  border-color: rgba(255, 255, 241, .22);
  background: rgba(6, 6, 11, .78);
  color: rgba(255, 255, 241, .8);
}

/* Cartes d'actualité : date de publication en tête, sur une ligne ; article d'événement : bloc « Événement » sous
   l'extrait (intitulé, compte à rebours, date de la session qui compte), juste au-dessus de « Lire l'article ».
   Copie dans admin.css (aperçu de l'éditeur) : modifier ensemble. */
.news-content { container-type: inline-size; }
.news-content .news-date { white-space: nowrap; }
.news-event { flex: none; display: grid; gap: 6px; margin: 2px 0 4px; padding-top: 14px; border-top: 1px solid var(--line); }
.news-event__status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .12em;
  line-height: 1.3;
  text-transform: uppercase;
}
.news-event__label { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.news-event__label::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.news-event.is-upcoming .news-event__label { color: var(--accent-2); }
.news-event.is-upcoming .news-event__label::before { box-shadow: 0 0 10px rgba(23, 141, 255, .8); }
.news-event.is-ongoing .news-event__label { color: #3CDC78; }
.news-event.is-ongoing .news-event__label::before { box-shadow: 0 0 10px rgba(60, 220, 120, .8); }
.news-event.is-past .news-event__label { color: rgba(255, 255, 241, .55); }
.news-event__when { font-weight: 400; color: var(--muted); white-space: nowrap; }
.news-event__when::before { content: "·"; margin: 0 .7em; color: rgba(255, 255, 241, .35); }
.news-event__date { display: block; font-family: var(--sans); font-size: 14px; font-weight: 500; line-height: 1.35; color: rgba(255, 255, 241, .88); text-wrap: balance; }
.news-content .news-event time { font: inherit; letter-spacing: 0; text-transform: none; color: inherit; }
.news-event.is-past .news-event__date { color: rgba(255, 255, 241, .7); }
.news-event__prefix { font-weight: 400; color: var(--muted); }
/* Carte étroite (404, tablette) : sans compte à rebours, date un peu plus petite. */
@container (max-width: 269px) {
  .news-event__when { display: none; }
  .news-event__date { font-size: 13px; }
}

/* ---------------------------------------------------------------------------------------------------------
   Événements : fiche d'événement de l'article, menus « Ajouter à mon agenda », page Actualités
   (« Prochains rendez-vous », filtres). Menus : <details> natif, fermés par events.js.
   --------------------------------------------------------------------------------------------------------- */
.ev-ic {
  flex: none;
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Article : « Publié le … » sous le chapeau. */
.post-byline { margin: 22px 0 0; color: var(--muted); font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.post-byline time { color: rgba(255, 255, 241, .82); white-space: nowrap; }
.post-byline span { white-space: nowrap; }
/* Événement de l'article : dans l'en-tête, sans cadre, sous « Publié le … » et un filet. Terminé : une phrase
   (« Cet événement a eu lieu le … »), horaires et lieu ; à venir ou en cours : intitulé à point coloré et compte à
   rebours (comme le bloc des cartes), date, horaires et lieu, actions, sessions passées en note. */
.post-ev { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.post-ev sup { font-size: .62em; line-height: 0; vertical-align: super; }
.post-ev__kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0 0 10px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  line-height: 1.3;
  text-transform: uppercase;
}
.post-ev__status { display: inline-flex; align-items: center; gap: 9px; color: var(--accent-2); white-space: nowrap; }
.post-ev__status::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px rgba(23, 141, 255, .8); }
.post-ev.is-ongoing .post-ev__status { color: #3CDC78; }
.post-ev.is-ongoing .post-ev__status::before { box-shadow: 0 0 10px rgba(60, 220, 120, .8); }
.post-ev__when { font-weight: 400; color: var(--muted); white-space: nowrap; }
/* Séparateur décoratif, non lu par les lecteurs d'écran ; aucun en début de ligne. */
.post-ev__when::before { content: "·"; content: "·" / ""; margin: 0 .7em; color: rgba(255, 255, 241, .35); }
.post-ev__when:first-child::before { content: none; }
.post-ev__date { margin: 0; color: var(--text); font-size: 22px; font-weight: 500; letter-spacing: -.012em; line-height: 1.3; text-wrap: balance; }
/* Plusieurs sessions programmées : dates en colonne, « Ajouter à mon agenda » en icône juste après la plus longue.
   Liste au moins aussi large que la liste des agendas (312 px), ancrée sur la ligne de la session : ouverte vers la
   gauche, elle ne sort jamais de la colonne de l'article, même après des dates courtes. */
.post-ev__sessions {
  display: grid;
  grid-template-columns: minmax(0, max-content) auto;
  gap: 10px 24px;
  width: fit-content;
  min-width: min(312px, 100%);
  max-width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
.post-ev__session { position: relative; display: grid; grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) auto; grid-template-columns: subgrid; column-gap: 24px; align-items: center; }
.post-ev__session .cal-menu { position: static; justify-self: start; }
.post-ev__session-text { display: grid; gap: 3px; }
.post-ev__session-date { color: var(--text); font-size: 19px; font-weight: 500; letter-spacing: -.01em; line-height: 1.35; }
.post-ev__session-meta { display: flex; flex-wrap: wrap; font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: .12em; line-height: 1.3; text-transform: uppercase; }
.post-ev__session-status { color: #3CDC78; }
.post-ev .cal-menu--icon .cal-menu__toggle { width: 42px; min-height: 42px; height: 42px; }
.post-ev__facts { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 8px 0 0; color: rgba(255, 255, 241, .8); font-size: 15px; line-height: 1.5; }
.post-ev__fact { display: flex; align-items: flex-start; gap: 8px; }
.post-ev__fact dt { display: flex; }
.post-ev__fact dd { margin: 0; }
.post-ev__fact .ev-ic { width: 15px; height: 15px; margin-top: 4px; margin-top: calc((1lh - 15px) / 2); color: var(--accent-2); }
.post-ev__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 22px; }
/* Boutons d'une même ligne à la même hauteur (.btn a un padding vertical, le menu non). */
.post-ev__actions .btn { padding-block: 0; }
.post-ev__past { margin: 18px 0 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.post-ev__past time { color: rgba(255, 255, 241, .82); }
/* Terminé : une phrase, date en clair ; horaires et lieu en retrait. */
.post-ev__recap { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.5; text-wrap: pretty; }
.post-ev__recap time { color: var(--text); font-weight: 500; }
.post-ev.is-past .post-ev__facts { margin-top: 6px; color: var(--muted); font-size: 14.5px; }
.post-ev.is-past .post-ev__fact .ev-ic { color: var(--muted); }

/* Menus « Ajouter à mon agenda ». */
.cal-menu { position: relative; display: inline-block; }
.cal-menu > summary { list-style: none; }
.cal-menu > summary::-webkit-details-marker { display: none; }
.cal-menu__toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 18px 0 20px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 241, .035);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  transition: border-color .2s ease, background .2s ease;
}
.cal-menu__toggle:hover,
.cal-menu[open] > .cal-menu__toggle { border-color: var(--accent-2); background: rgba(23, 141, 255, .08); }
.cal-menu__toggle:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.cal-menu__toggle .ev-ic { width: 16px; height: 16px; color: var(--accent-2); }
.cal-menu__toggle .ev-ic--chevron { width: 12px; height: 12px; color: var(--muted); transition: transform .2s ease; }
.cal-menu[open] > .cal-menu__toggle .ev-ic--chevron { transform: rotate(180deg); }
.cal-menu__panel {
  position: absolute;
  z-index: 40;
  top: calc(100% + 8px);
  left: 0;
  display: grid;
  width: 312px;
  padding: 6px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: var(--panel-2);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55);
}
.cal-menu__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 11px 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background .15s ease;
}
.cal-menu__item:hover,
.cal-menu__item:focus-visible { background: rgba(255, 255, 241, .07); outline: none; }
.cal-menu__item:focus-visible { box-shadow: inset 0 0 0 2px var(--accent-2); }
.cal-menu__item .ev-ic { margin-top: 2px; color: var(--accent-2); }
.cal-menu__item > span { display: grid; gap: 2px; min-width: 0; }
.cal-menu__item strong { font-size: 14px; font-weight: 600; line-height: 1.35; }
.cal-menu__item small { color: var(--muted); font-size: 12px; line-height: 1.4; overflow-wrap: anywhere; }
.cal-menu__item.is-disabled { cursor: default; opacity: .55; }
.cal-menu__item.is-disabled:hover { background: transparent; }

/* Dates, horaires et lieu d'un événement (icône alignée sur la première ligne quand le texte passe à la ligne). */
.ev-facts { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; color: rgba(255, 255, 241, .82); font-size: 14px; }
.ev-facts__item,
.ev-facts__item time { display: inline-flex; align-items: flex-start; gap: 7px; }
.ev-facts .ev-ic { width: 14px; height: 14px; margin-top: 4px; margin-top: calc((1lh - 14px) / 2); color: var(--accent-2); }

/* Page Actualités : « Prochains rendez-vous » à côté du titre. Section au-dessus de la liste : les menus ouverts
   passent devant les filtres. */
.news-hero { position: relative; z-index: 2; }
.news-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(400px, 468px);
  align-items: center;
  gap: clamp(40px, 5vw, 80px);
}
.news-hero.has-agenda h1 { font-size: clamp(44px, 5.4vw, 80px); }
.news-hero.has-agenda .lead { margin-bottom: 0; }
.news-agenda {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(71, 15, 244, .2), rgba(23, 141, 255, .05) 42%, rgba(255, 255, 241, .02)),
    rgba(10, 10, 18, .78);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.news-agenda__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 2px 2px 14px; }
.news-agenda__title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: rgba(255, 255, 241, .78);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  line-height: 1.2;
  text-transform: uppercase;
}
.news-agenda__title::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 18px var(--accent-2);
}
.news-agenda.is-empty .news-agenda__title::before { background: var(--muted); box-shadow: none; }
.news-agenda__count { color: var(--muted); font-family: var(--mono); font-size: 11px; letter-spacing: .1em; }
.news-agenda__list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.news-agenda__item {
  position: relative;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  align-items: start;
  gap: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 241, .035);
  transition: border-color .2s ease, background .2s ease;
}
.news-agenda__item:hover { border-color: rgba(23, 141, 255, .55); background: rgba(255, 255, 241, .055); }
.news-agenda__item:focus-within { border-color: var(--accent-2); }
.news-agenda__item.has-open-menu,
.news-agenda__item:has(.cal-menu[open]) { z-index: 5; }
.news-agenda__date {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 4px;
  min-height: 66px;
  padding: 8px 0;
  border: 1px solid rgba(255, 255, 241, .12);
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(71, 15, 244, .62), rgba(23, 141, 255, .22));
  text-align: center;
}
.news-agenda__item.is-ongoing .news-agenda__date { background: linear-gradient(160deg, rgba(60, 220, 120, .4), rgba(23, 141, 255, .16)); }
.news-agenda__day { color: var(--text); font-size: 24px; font-weight: 700; line-height: 1; letter-spacing: -.03em; white-space: nowrap; }
.news-agenda__day.is-range { font-size: 17px; letter-spacing: -.02em; }
.news-agenda__month { color: rgba(255, 255, 241, .86); font-family: var(--mono); font-size: 10px; letter-spacing: .1em; line-height: 1.2; text-transform: uppercase; white-space: nowrap; }
.news-agenda__year { color: rgba(255, 255, 241, .6); font-family: var(--mono); font-size: 9.5px; letter-spacing: .08em; line-height: 1.1; }
.news-agenda__body { min-width: 0; }
.news-agenda__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 1px 0 8px; }
.news-agenda__meta .event-badge { padding: 5px 9px; font-size: 9.5px; }
.news-agenda__when { color: var(--text); font-size: 13px; font-weight: 500; line-height: 1.2; }
.news-agenda__item.is-ongoing .news-agenda__when { color: #3CDC78; }
.news-agenda__name { margin: 0 0 8px; font-size: 16.5px; font-weight: 600; line-height: 1.3; letter-spacing: -.012em; }
/* Titre sur deux lignes au plus (complet sur l'article et pour les lecteurs d'écran). */
.news-agenda__name a { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.news-agenda__name:last-child { margin-bottom: 0; }
.news-agenda__name a { color: var(--text); }
/* Titre étendu à tout le rendez-vous ; « S'inscrire » et le menu restent au-dessus. */
.news-agenda__name a::after { content: ""; position: absolute; inset: 0; border-radius: 17px; }
.news-agenda__name a:focus-visible { outline: none; }
.news-agenda__name a:focus-visible::after { box-shadow: 0 0 0 2px var(--accent-2); }
.news-agenda__facts { gap: 4px 14px; font-size: 13px; }
.news-agenda__facts .ev-ic { width: 13px; height: 13px; margin-top: calc((1lh - 13px) / 2); }
.news-agenda__actions { position: relative; z-index: 2; }
/* « Ajouter à mon agenda » en icône : bouton carré, liste ouverte vers la gauche. */
.cal-menu--icon .cal-menu__toggle { width: 40px; min-height: 40px; height: 40px; padding: 0; justify-content: center; border-radius: 12px; }
.cal-menu--icon .cal-menu__toggle .ev-ic { width: 17px; height: 17px; }
.cal-menu--icon .cal-menu__panel { left: auto; right: 0; }
.news-agenda__empty { margin: 0 2px; font-size: 14.5px; line-height: 1.6; }
.news-agenda__label { margin: 18px 2px 10px; color: var(--muted); font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.news-agenda__item.is-past { grid-template-columns: 62px minmax(0, 1fr); }
.news-agenda__item.is-past .news-agenda__date { background: rgba(255, 255, 241, .05); }
.news-agenda__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px 16px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.news-agenda__all { color: var(--accent-2); font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; }
.news-agenda__all:hover { color: var(--text); }
.news-agenda__all:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 4px; }

/* Page Actualités : recherche, catégorie, année ; filtre des événements et résumé des résultats. */
[data-news] { scroll-margin-top: 96px; }
.news-toolbar { grid-template-columns: minmax(0, 1fr); grid-auto-columns: auto; grid-auto-flow: column; margin-bottom: 18px; }
.news-toolbar .blog-select select { min-width: 206px; }
.news-submit { min-height: 52px; border-radius: 16px; }
.js .news-submit { display: none; }
.news-filterbar__count:focus { outline: none; }
.news-filterbar__count:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 4px; border-radius: 4px; }
.news-filterbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  margin-bottom: 30px;
}
.news-reset { margin-left: 18px; color: var(--accent-2); white-space: nowrap; }
.news-reset:hover { color: var(--text); }
.news-reset:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 4px; }
.news-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.news-chips__sep { width: 1px; height: 22px; margin: 0 4px; background: var(--line-strong); }
.news-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 8px 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: rgba(255, 255, 241, .8);
  font-size: 14px;
  font-weight: 500;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.news-chip:hover { border-color: var(--line-strong); background: rgba(255, 255, 241, .05); color: var(--text); }
.news-chip:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.news-chip.is-active { border-color: var(--text); background: var(--text); color: #06060B; }
.news-chip.is-empty { color: var(--muted); }
.news-chip__count {
  min-width: 26px;
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 241, .08);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1;
  text-align: center;
}
.news-chip.is-active .news-chip__count { background: rgba(6, 6, 11, .12); }
.news-results { transition: opacity .2s ease; }
.news-results[aria-busy="true"] { opacity: .55; }
/* Pagination des actualités : Précédent, numéros de page (pastilles comme les filtres, page courante pleine comme
   le filtre actif), Suivant. Précision .pagination + classe : passe devant « .pagination a » (couleur d'accent). */
.news-pages__list { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.pagination .news-pages__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: rgba(255, 255, 241, .8);
  font-family: var(--mono);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.pagination a.news-pages__num:hover { border-color: var(--line-strong); background: rgba(255, 255, 241, .05); color: var(--text); }
.pagination a.news-pages__num:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.pagination .news-pages__num.is-current { border-color: var(--text); background: var(--text); color: #06060B; font-weight: 600; }
.news-pages__gap { min-width: 22px; color: var(--muted); font-family: var(--mono); font-size: 13px; text-align: center; }

@media (max-width: 1100px) {
  .news-hero__grid { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 36px; }
  .news-agenda { max-width: 680px; }
}
@media (max-width: 980px) {
  .news-toolbar { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: row; }
  .news-toolbar .blog-search,
  .news-toolbar .news-submit { grid-column: 1 / -1; }
  .news-toolbar .blog-select,
  .news-toolbar .blog-select select { width: 100%; min-width: 0; }
}
@media (max-width: 720px) {
  /* Événement de l'article : un peu plus compact ; liste d'agenda de la rangée d'actions posée sous son bouton,
     étirée jusqu'au bout de la rangée (jamais coupée à droite). */
  .post-ev { margin-top: 22px; padding-top: 20px; }
  .post-ev__date { font-size: 20px; }
  .post-ev__session-date { font-size: 17px; }
  .post-ev__sessions { width: auto; grid-template-columns: minmax(0, 1fr) auto; }
  .post-ev__recap { font-size: 16px; }
  .post-ev__actions .cal-menu { flex: 1 1 auto; }
  .post-ev__actions .cal-menu__panel { left: 0; right: auto; width: min(312px, 100%); }
  .news-agenda { padding: 14px; }
  .news-agenda__item { grid-template-columns: 54px minmax(0, 1fr) auto; gap: 12px; padding: 12px; }
  .news-agenda__item.is-past { grid-template-columns: 54px minmax(0, 1fr); }
  .news-agenda__date { min-height: 60px; }
  .news-agenda__day { font-size: 21px; }
  .news-agenda__day.is-range { font-size: 15px; }
  .news-toolbar { grid-template-columns: minmax(0, 1fr); }
  .news-filterbar { margin-bottom: 22px; }
}
