/**
 * IKONU 1.1 : l'heptagone du logo comme fil conducteur.
 * Chargé après les autres feuilles : typographie, rythme, formes, mouvement.
 */

/* ------------------------------------------------------------------ */
/* Typographie et rythme                                               */
/* ------------------------------------------------------------------ */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 500;
  letter-spacing: -0.025em;
}

.site-main > section {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}

.site-main > .hero-shell + section {
  padding-top: var(--section-y);
}

.site-main > section.hero-shell--page,
.site-main > section.hero-shell--page.page-hero--compact {
  padding-top: clamp(40px, 5vw, 72px);
  padding-bottom: clamp(24px, 3vw, 40px);
}

.section-header {
  max-width: 820px;
  gap: var(--s-4);
  margin-bottom: clamp(32px, 4vw, 56px);
}

.section-title {
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.section-title em,
.hero-title em {
  font-style: normal;
  color: var(--ikn-signal);
}

.section-sub {
  font-size: 18px;
  line-height: 1.55;
}

.hero-shell .hero-title,
.page-hero .hero-title,
.hero .hero-title {
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hero-shell .hero-sub,
.page-hero .hero-sub,
.hero .hero-sub {
  font-size: 19px;
  text-wrap: pretty;
}

/* Puce : l'heptagone du logo devant chaque intitulé de section */
.ikn-mark,
.section-kicker::before,
.hero-tag::before {
  content: "";
  display: inline-block;
  flex: none;
  width: 13px;
  height: 13px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpolygon points='100,8 171.9,42.6 189.7,120.5 139.9,182.9 60.1,182.9 10.3,120.5 28.1,42.6' fill='none' stroke='%23EF1A2D' stroke-width='22'/%3E%3C/svg%3E") center / contain no-repeat;
}

.section-kicker,
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--ikn-silver);
}

.hero-tag {
  padding: 0;
  border: 0;
  background: none;
  border-radius: 0;
}

.hero-tag .pulse {
  display: none;
}

/* ------------------------------------------------------------------ */
/* Boutons, cartes                                                     */
/* ------------------------------------------------------------------ */

.btn {
  min-height: 48px;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--r-sm);
}

.btn-sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 14px;
}

.btn-lg {
  min-height: 52px;
  padding: 0 26px;
  font-size: 16px;
}

.btn-primary {
  background: var(--ikn-ivory);
  border-color: var(--ikn-ivory);
  color: var(--ikn-ink);
}

.btn-primary:hover {
  background: #fff;
  border-color: #fff;
  color: var(--ikn-ink);
  box-shadow: 0 0 0 4px rgba(238, 241, 244, 0.14);
}

.btn-secondary {
  background: transparent;
  border-color: var(--ikn-fog);
}

.btn-secondary:hover {
  background: var(--ikn-graphite);
  border-color: var(--ikn-ivory);
}

.btn-outline {
  color: var(--ikn-ivory);
  border-color: var(--ikn-fog);
}

.btn-outline:hover {
  background: transparent;
  color: var(--ikn-ivory);
  border-color: var(--ikn-ivory);
}

.btn:hover .arrow,
.card-clickable:hover .card-cta .arrow {
  transform: translateX(5px);
}

.card {
  border-radius: var(--r-md);
  transition:
    transform var(--dur-slow) var(--ease),
    border-color var(--dur-slow) var(--ease),
    background var(--dur-base) var(--ease);
}

.card-clickable:hover,
.tool-card:hover,
.value-card:hover {
  border-color: var(--ikn-signal);
  transform: perspective(900px) rotateX(3deg) rotateY(-4deg) translateY(-8px);
}

.card-title {
  font-weight: 500;
  letter-spacing: -0.02em;
}

.card-cta {
  font-family: var(--ikn-font-sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ikn-ivory);
  text-decoration: underline;
  text-decoration-color: var(--ikn-fog);
  text-underline-offset: 5px;
}

.card-cta .arrow {
  display: inline-block;
  transition: transform var(--dur-base) var(--ease);
}

.card-clickable:hover .card-cta,
.card-clickable:focus-within .card-cta {
  color: var(--ikn-ivory);
  text-decoration-color: var(--ikn-signal);
}

.service-card::after {
  display: none;
}

/* Pictogrammes heptagonaux */
.ikn-hept,
.ikn-glyph {
  display: block;
  overflow: visible;
}

.ikn-glyph {
  width: 56px;
  height: 56px;
  flex: none;
  color: var(--ikn-ivory);
  transition: transform 0.8s var(--ease);
}

.card:hover .ikn-glyph {
  transform: rotate(103deg) scale(1.12);
}

/* ------------------------------------------------------------------ */
/* Mouvement : animations communes                                     */
/* ------------------------------------------------------------------ */

@keyframes ikn-turn {
  to {
    transform: rotate(360deg);
  }
}

@keyframes ikn-rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.ikn-spin {
  animation: ikn-turn 70s linear infinite;
}

.ikn-spin-slow {
  animation: ikn-turn 90s linear infinite;
}

.ikn-spin-slow-rev {
  animation: ikn-turn 60s linear infinite reverse;
}

.ikn-word {
  display: inline-block;
  animation: ikn-rise 0.9s var(--ease) both;
  animation-delay: calc(50ms + var(--i, 0) * 90ms);
}

/* Les animations en boucle s'arrêtent quand le bloc sort de l'écran. */
[data-ikn-anim].is-paused,
[data-ikn-anim].is-paused * {
  animation-play-state: paused !important;
}

[data-ikn-reveal] {
  transform: translateY(28px);
  transition-duration: 0.8s;
}

/* ------------------------------------------------------------------ */
/* Accroche de l'accueil                                               */
/* ------------------------------------------------------------------ */

.site-main > section.hero-home {
  position: relative;
  overflow: hidden;
  padding-top: clamp(32px, 4vw, 64px);
  padding-bottom: clamp(32px, 4vw, 64px);
  border-top: 0;
}

.hero-home.hero::before {
  display: none;
}

.hero-home__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.hero-home__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}

.hero-home__kicker {
  margin: 0;
}

.hero-home .hero-home__title {
  margin: 0;
  max-width: none;
  font-size: clamp(40px, 5.6vw, 84px);
  line-height: 1;
}

.hero-home .hero-home__sub {
  margin: 0;
  max-width: 520px;
  animation: ikn-rise 0.9s var(--ease) 0.6s both;
}

.hero-home__actions {
  animation: ikn-rise 0.9s var(--ease) 0.75s both;
}

.hero-home__visual {
  position: relative;
  min-width: 0;
}

/* Pages intérieures : le même heptagone, en filigrane à droite du titre */
.hero-shell__hept {
  position: absolute;
  z-index: 0;
  right: -140px;
  top: 50%;
  width: 560px;
  height: 560px;
  margin-top: -280px;
  color: #232a33;
  pointer-events: none;
}

.hero-shell__hept .ikn-hept {
  width: 100%;
  height: 100%;
}

.page-hero--compact .hero-title {
  font-size: clamp(32px, 4.4vw, 56px);
}

@media (max-width: 767px) {
  .hero-shell__hept {
    right: -200px;
    width: 420px;
    height: 420px;
    margin-top: -210px;
    opacity: 0.7;
  }
}

/* ------------------------------------------------------------------ */
/* Pièce en trois dimensions                                           */
/* ------------------------------------------------------------------ */

.ikn-stack {
  --stack-size: 380px;
  --stack-step: 112px;
  --stack-h: 690px;
  position: relative;
  height: var(--stack-h);
}

.ikn-stack__backdrop {
  position: absolute;
  left: 50%;
  top: 45%;
  width: calc(var(--stack-h) * 1.04);
  height: calc(var(--stack-h) * 1.04);
  margin: calc(var(--stack-h) * -0.52) 0 0 calc(var(--stack-h) * -0.52);
  color: #1a2028;
}

.ikn-stack__backdrop .ikn-hept {
  width: 100%;
  height: 100%;
}

@keyframes ikn-grid {
  to {
    background-position: 0 56px;
  }
}

.ikn-stack__floor {
  position: absolute;
  left: -30%;
  right: -30%;
  bottom: -30%;
  height: 70%;
  transform: perspective(700px) rotateX(74deg);
  background-image:
    linear-gradient(#2f3842 1px, transparent 1px),
    linear-gradient(90deg, #2f3842 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 66%);
  mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 66%);
  animation: ikn-grid 2.6s linear infinite;
}

@keyframes ikn-blob {
  from {
    transform: translate(-6%, -4%) scale(1);
  }
  to {
    transform: translate(8%, 6%) scale(1.25);
  }
}

.ikn-stack__glow {
  position: absolute;
  left: 50%;
  top: 58%;
  width: min(460px, 90%);
  height: 260px;
  translate: -50% 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(239, 26, 45, 0.42), transparent);
  filter: blur(26px);
  animation: ikn-blob 12s ease-in-out infinite alternate;
}

.ikn-stack__scene {
  position: absolute;
  left: 50%;
  top: 45%;
  width: 0;
  height: 0;
  perspective: 1300px;
}

@keyframes ikn-stage {
  from {
    transform: rotateX(60deg) rotateZ(0deg);
  }
  to {
    transform: rotateX(60deg) rotateZ(360deg);
  }
}

.ikn-stack__stage {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  transform: rotateX(60deg) rotateZ(0deg);
  transform-style: preserve-3d;
  animation: ikn-stage 80s linear infinite;
}

@keyframes ikn-explode {
  0%,
  100% {
    transform: translateZ(calc(var(--z) * 0.38));
  }
  50% {
    transform: translateZ(var(--z));
  }
}

.ikn-plate {
  --z: calc((var(--k) - 2) * var(--stack-step));
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--stack-size);
  height: var(--stack-size);
  margin: calc(var(--stack-size) / -2) 0 0 calc(var(--stack-size) / -2);
  transform: translateZ(calc(var(--z) * 0.7));
  transform-style: preserve-3d;
  animation: ikn-explode 9s cubic-bezier(0.6, 0, 0.4, 1) infinite;
  animation-delay: calc(var(--k) * -0.25s);
}

@keyframes ikn-cw {
  to {
    transform: rotateZ(360deg);
  }
}

@keyframes ikn-ccw {
  to {
    transform: rotateZ(-360deg);
  }
}

.ikn-plate__spin {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}

.ikn-plate__spin--cw {
  animation: ikn-cw 28s linear infinite;
}

.ikn-plate__spin--ccw {
  animation: ikn-ccw 36s linear infinite;
}

.ikn-plate__spin svg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.ikn-plate__dot {
  fill: var(--ikn-signal);
  filter: drop-shadow(0 0 12px var(--ikn-signal));
}

@keyframes ikn-pulse-z {
  0% {
    transform: translateZ(calc(var(--stack-step) * -1.7));
    opacity: 0;
  }
  12%,
  88% {
    opacity: 1;
  }
  100% {
    transform: translateZ(calc(var(--stack-step) * 1.7));
    opacity: 0;
  }
}

.ikn-stack__pulse {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--ikn-signal);
  box-shadow: 0 0 16px 5px rgba(239, 26, 45, 0.65);
  opacity: 0;
  animation: ikn-pulse-z 3s linear infinite;
}

@keyframes ikn-step {
  0%,
  17% {
    color: var(--ikn-ivory);
  }
  20%,
  100% {
    color: #6b7682;
  }
}

.ikn-stack__legend {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--ikn-font-mono);
  font-size: 13px;
  color: #6b7682;
}

.ikn-stack__step {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  animation: ikn-step 10s linear infinite;
}

.ikn-stack__step .ikn-mark {
  width: 10px;
  height: 10px;
}

/* ------------------------------------------------------------------ */
/* Chiffres clés et bandeau défilant                                   */
/* ------------------------------------------------------------------ */

.site-main > section.kpi-band {
  padding-top: 0;
  padding-bottom: 0;
}

.kpi-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0 var(--s-6);
  margin: 0;
}

.kpi-strip__item {
  padding: 26px 0 30px;
}

.kpi-strip__value {
  margin: 0;
  font-family: var(--ikn-font-display);
  font-weight: 500;
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ikn-ivory);
  white-space: nowrap;
}

.kpi-strip__value .kpi-value__num {
  min-width: 0;
}

.kpi-strip__value .unit {
  margin-left: 0.12em;
}

.kpi-strip__label {
  margin-top: 10px;
  font-size: 15px;
  color: var(--ikn-silver);
}

@keyframes ikn-marquee {
  to {
    transform: translateX(-50%);
  }
}

.ikn-marquee {
  overflow: hidden;
  padding: 28px 0;
  border-top: 1px solid var(--ikn-steel);
}

.ikn-marquee__track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  font-family: var(--ikn-font-display);
  font-weight: 600;
  font-size: clamp(52px, 8vw, 128px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: transparent;
  -webkit-text-stroke: 1px #4a5560;
  animation: ikn-marquee 38s linear infinite;
}

.ikn-marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 0.28em;
  padding-right: 0.28em;
}

.ikn-marquee__hept {
  width: 0.5em;
  height: 0.5em;
  flex: none;
  color: var(--ikn-signal);
}

/* ------------------------------------------------------------------ */
/* Lots (services)                                                     */
/* ------------------------------------------------------------------ */

.services-band {
  position: relative;
  overflow: hidden;
}

.services-band__inner {
  position: relative;
}

.services-band__decor {
  position: absolute;
  inset: 0;
  color: #1b2129;
  pointer-events: none;
}

.services-band__hept {
  position: absolute;
}

.services-band__hept--a {
  width: 760px;
  height: 760px;
  right: -260px;
  top: -220px;
}

.services-band__hept--b {
  width: 420px;
  height: 420px;
  left: -180px;
  bottom: -160px;
}

.service-card {
  gap: 14px;
  padding: 28px;
}

.service-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
}

.service-card .service-label {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--ikn-silver);
}

.service-card .card-title {
  margin: 6px 0 0;
  font-size: 26px;
}

.service-card__points {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
}

.service-card__points li {
  padding: 11px 0;
  border-top: 1px solid var(--ikn-steel);
  font-size: 15px;
  color: var(--ikn-ivory);
}

.service-card .card-cta {
  padding-top: var(--s-3);
}

/* ------------------------------------------------------------------ */
/* Salle de contrôle                                                   */
/* ------------------------------------------------------------------ */

.tool-card,
.value-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
}

.tool-card__glyph,
.value-card__glyph,
.quote__glyph {
  width: 36px;
  height: 36px;
}

.tool-card__title {
  margin: 4px 0 0;
  font-size: 20px;
  line-height: 1.2;
}

.dash {
  margin-top: var(--s-5);
  overflow: hidden;
  background: var(--ikn-graphite);
  border: 1px solid var(--ikn-steel);
  border-radius: var(--r-md);
  box-shadow: 0 50px 100px -40px rgba(239, 26, 45, 0.4);
}

.dash__chrome {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--ikn-steel);
  font-family: var(--ikn-font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ikn-silver);
}

.dash__live {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

@keyframes ikn-blink {
  50% {
    opacity: 0.25;
  }
}

.dash__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ikn-signal);
  animation: ikn-blink 1.6s ease-in-out infinite;
}

.dash__body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
}

.dash__kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-content: start;
}

.dash__kpi,
.dash__panel {
  padding: 16px 18px;
  background: var(--ikn-onyx);
  border: 1px solid var(--ikn-steel);
  border-radius: var(--r-md);
}

.dash__kpi-value {
  font-family: var(--ikn-font-display);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.02em;
  color: var(--ikn-ivory);
}

.dash__kpi-label,
.dash__panel-title {
  font-size: 14px;
  color: var(--ikn-silver);
}

.dash__kpi-label {
  margin-top: 4px;
}

.dash__panel-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.dash__panel-title .mono {
  font-size: 12px;
}

.dash__panel--bars {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dash__bars {
  flex: 1;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  min-height: 190px;
}

@keyframes ikn-grow {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}

.dash__bar {
  flex: 1;
  background: #3a434e;
  border-radius: 2px 2px 0 0;
  transform-origin: bottom;
}

.dash.is-revealed .dash__bar {
  animation: ikn-grow 1.2s var(--ease) both;
}

.dash__bar.is-signal {
  background: var(--ikn-signal);
}

.ikn-radar {
  display: block;
  width: 100%;
  height: auto;
}

.ikn-radar__grid polygon,
.ikn-radar__grid line {
  fill: none;
  stroke: #2a323c;
  stroke-width: 0.8;
}

@keyframes ikn-draw {
  from {
    stroke-dashoffset: 520;
  }
  to {
    stroke-dashoffset: 0;
  }
}

.ikn-radar__data {
  fill: rgba(239, 26, 45, 0.16);
  stroke: var(--ikn-signal);
  stroke-width: 1.6;
  stroke-linejoin: round;
  stroke-dasharray: 520;
}

.dash.is-revealed .ikn-radar__data {
  animation: ikn-draw 2.4s var(--ease) both;
}

.ikn-radar__sweep {
  stroke: var(--ikn-ivory);
  stroke-width: 0.8;
  opacity: 0.55;
  transform-origin: 100px 100px;
  animation: ikn-turn 5s linear infinite;
}

.ikn-radar__hub {
  fill: var(--ikn-ivory);
}

.ikn-radar__labels text {
  font-family: var(--ikn-font-mono);
  font-size: 6.5px;
  fill: #9ca7b3;
}

/* ------------------------------------------------------------------ */
/* Bande claire (réalisations)                                         */
/* ------------------------------------------------------------------ */

.site-main > section.band-light {
  background: var(--ikn-paper);
  color: var(--ikn-ink);
  border-top: 0;
}

.band-light .section-title,
.band-light .card-title,
.band-light h2,
.band-light h3 {
  color: var(--ikn-ink);
}

.band-light .section-kicker,
.band-light .section-sub,
.band-light .card-text {
  color: #4a5560;
}

.band-light .card {
  background: #fff;
  border-color: #d9dee4;
}

.band-light .card:hover {
  background: #fff;
  border-color: var(--ikn-signal);
}

.band-light .card-cta,
.band-light .card-clickable:hover .card-cta {
  color: var(--ikn-ink);
  text-decoration-color: #b9c0c8;
}

.band-light .btn-outline {
  color: var(--ikn-ink);
  border-color: #b9c0c8;
}

.band-light .btn-outline:hover {
  color: var(--ikn-ink);
  border-color: var(--ikn-ink);
}

.band-light .mission-card__stats li {
  color: #4a5560;
}

.site-main > section.band-light + section {
  border-top: 0;
}

.mission-card__media {
  aspect-ratio: 16 / 9.4;
}

.mission-card:hover .mission-card__media img.mission-card__thumb,
.card-clickable.mission-card:hover .mission-card__media img.mission-card__thumb {
  transform: scale(1.07);
}

.mission-card__media img.mission-card__thumb {
  transition-duration: 0.8s;
}

.mission-card__body {
  gap: 6px;
}

.mission-card__body .card-title {
  margin-bottom: 0;
}

/* ------------------------------------------------------------------ */
/* Valeurs, avis                                                       */
/* ------------------------------------------------------------------ */

.value-card__title {
  font-weight: 500;
}

.quote {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--ikn-steel);
  border-left: 1px solid var(--ikn-steel);
  border-radius: var(--r-md);
  transition:
    transform var(--dur-slow) var(--ease),
    border-color var(--dur-slow) var(--ease);
}

.quote:hover {
  border-color: var(--ikn-signal);
  transform: translateY(-6px);
}

.quote:hover .ikn-glyph {
  transform: rotate(103deg) scale(1.12);
}

.quote-text {
  margin: 0;
  font-weight: 400;
  font-size: 19px;
}

.quote-text p {
  margin: 0;
}

.quote-who {
  margin-top: auto;
}

.avatar {
  background: var(--ikn-carbon);
  border: 1px solid var(--ikn-fog);
}

/* ------------------------------------------------------------------ */
/* Processus : plus de défilement figé, les étapes s'allument seules   */
/* ------------------------------------------------------------------ */

.process-pipeline-wrap,
.process-pipeline-wrap[data-ikn-pipeline-wrap] {
  min-height: 0;
  padding-left: max(var(--page-gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--page-gutter), env(safe-area-inset-right, 0px));
}

.process-pipeline-wrap__inner {
  position: static;
  padding-bottom: 0;
}

.process-pipeline__step,
.process-pipeline__step.is-active,
.process-pipeline__step.is-past {
  opacity: 1;
  transform: none;
}

.process-pipeline__step .process-pipeline__node,
.process-pipeline__step.is-active .process-pipeline__node,
.process-pipeline__step.is-past .process-pipeline__node {
  border-color: var(--ikn-steel);
  background: var(--ikn-carbon);
  color: var(--ikn-silver);
  box-shadow: none;
}

.process-pipeline__step.is-past .process-pipeline__rail::after {
  background: var(--ikn-steel);
}

@keyframes ikn-node {
  to {
    border-color: var(--ikn-signal);
    background: var(--ikn-signal);
    color: #fff;
  }
}

@keyframes ikn-rail {
  to {
    background: var(--ikn-signal);
  }
}

.process-pipeline.is-revealed .process-pipeline__node {
  animation: ikn-node 0.5s var(--ease) forwards;
}

.process-pipeline.is-revealed .process-pipeline__rail::after {
  animation: ikn-rail 0.5s var(--ease) forwards;
}

.process-pipeline.is-revealed .process-pipeline__step:nth-child(1) .process-pipeline__node { animation-delay: 0.3s; }
.process-pipeline.is-revealed .process-pipeline__step:nth-child(1) .process-pipeline__rail::after { animation-delay: 0.6s; }
.process-pipeline.is-revealed .process-pipeline__step:nth-child(2) .process-pipeline__node { animation-delay: 0.9s; }
.process-pipeline.is-revealed .process-pipeline__step:nth-child(2) .process-pipeline__rail::after { animation-delay: 1.2s; }
.process-pipeline.is-revealed .process-pipeline__step:nth-child(3) .process-pipeline__node { animation-delay: 1.5s; }
.process-pipeline.is-revealed .process-pipeline__step:nth-child(3) .process-pipeline__rail::after { animation-delay: 1.8s; }
.process-pipeline.is-revealed .process-pipeline__step:nth-child(4) .process-pipeline__node { animation-delay: 2.1s; }
.process-pipeline.is-revealed .process-pipeline__step:nth-child(4) .process-pipeline__rail::after { animation-delay: 2.4s; }
.process-pipeline.is-revealed .process-pipeline__step:nth-child(n + 5) .process-pipeline__node { animation-delay: 2.7s; }

/* ------------------------------------------------------------------ */
/* Appel à l'action : tunnel d'heptagones                              */
/* ------------------------------------------------------------------ */

.cta-contact {
  padding: var(--section-y) 0;
}

.cta-contact__inner {
  position: relative;
  overflow: hidden;
  display: block;
  padding: clamp(72px, 10vw, 150px) clamp(24px, 5vw, 64px);
  text-align: center;
  border-radius: var(--r-md);
}

.cta-contact__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.cta-contact__logo .nav-logo__img {
  max-height: 46px;
  width: auto;
}

.cta-contact__content .section-kicker {
  margin: 0;
}

.cta-contact__title {
  margin: 0;
  max-width: none;
  font-weight: 500;
  font-size: clamp(34px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.cta-contact .hero-actions {
  justify-content: center;
}

.ikn-tunnel {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 900px;
  height: 900px;
  margin: -450px 0 0 -450px;
  pointer-events: none;
}

@keyframes ikn-tunnel {
  0% {
    transform: scale(0.12) rotate(0deg);
    opacity: 0;
  }
  18% {
    opacity: 0.9;
  }
  100% {
    transform: scale(2.7) rotate(51deg);
    opacity: 0;
  }
}

.ikn-tunnel__ring {
  position: absolute;
  inset: 0;
  color: #3a434e;
  opacity: 0;
  animation: ikn-tunnel 8s linear infinite;
}

.ikn-tunnel__ring.is-signal {
  color: var(--ikn-signal);
}

.ikn-tunnel__ring .ikn-hept {
  width: 100%;
  height: 100%;
}

/* ------------------------------------------------------------------ */
/* En-tête, pied de page, barre mobile                                 */
/* ------------------------------------------------------------------ */

.nav-link,
.nav-links a {
  font-size: 15px;
}

.nav-phone {
  font-family: var(--ikn-font-sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--ikn-ivory);
}

.footer-grid a,
.footer-menu a,
.footer-legal a {
  display: inline-block;
  padding: 2px 0;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
}

.footer-grid a:hover,
.footer-menu a:hover,
.footer-legal a:hover {
  color: var(--ikn-ivory);
  text-decoration-color: var(--ikn-signal);
}

.mobile-bar {
  display: none;
}

/* ------------------------------------------------------------------ */
/* Adaptations                                                         */
/* ------------------------------------------------------------------ */

@media (max-width: 1180px) {
  .ikn-stack {
    --stack-size: 300px;
    --stack-step: 88px;
    --stack-h: 570px;
  }
}

@media (max-width: 1100px) {
  .kpi-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .hero-home__grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hero-home .hero-home__title {
    max-width: none;
  }

  .ikn-stack {
    --stack-size: 240px;
    --stack-step: 74px;
    --stack-h: 470px;
  }

  .ikn-stack__legend {
    font-size: 11px;
    gap: 6px 16px;
  }

  .services-band__hept--a {
    width: 460px;
    height: 460px;
    right: -220px;
    top: -160px;
  }

  .services-band__hept--b {
    display: none;
  }
}

@media (max-width: 767px) {
  .site-main > section {
    padding-top: var(--section-y);
    padding-bottom: var(--section-y);
  }

  .site-main > section.hero-home {
    padding-top: 28px;
    padding-bottom: 20px;
  }

  .site-main > section.kpi-band {
    padding-top: 0;
    padding-bottom: 0;
  }

  .hero-home__copy {
    gap: 20px;
  }

  .hero-home .hero-home__title {
    font-size: clamp(36px, 10.5vw, 52px);
  }

  .hero-shell .hero-sub,
  .page-hero .hero-sub,
  .hero .hero-sub {
    font-size: 17px;
  }

  .hero-home__actions {
    width: 100%;
  }

  .kpi-strip {
    grid-template-columns: 1fr 1fr;
    gap: 0 var(--s-4);
  }

  .kpi-strip__item {
    padding: 18px 0 20px;
    border-top: 1px solid var(--ikn-steel);
  }

  .kpi-strip__item:nth-child(-n + 2) {
    border-top: 0;
  }

  .ikn-marquee {
    padding: 18px 0;
  }

  .section-title {
    font-size: clamp(28px, 7.6vw, 36px);
  }

  .service-card,
  .tool-card,
  .value-card,
  .quote {
    padding: 20px;
  }

  /* Cartes plus courtes : l'essentiel, le détail est sur la page du lot */
  .service-card__points {
    display: none;
  }

  .service-card .ikn-glyph {
    width: 44px;
    height: 44px;
  }

  .tool-card {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 6px 14px;
    align-items: center;
  }

  .tool-card__title {
    margin: 0;
    font-size: 18px;
  }

  .tool-card .card-text {
    grid-column: 1 / -1;
  }

  .values-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--s-3);
  }

  /* Accueil : réalisations, avis et articles défilent à l'horizontale */
  .site-main--home .grid-3 {
    display: flex;
    gap: var(--s-3);
    margin-inline: calc(var(--page-gutter-sm) * -1);
    padding-inline: var(--page-gutter-sm);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--page-gutter-sm);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .site-main--home .grid-3::-webkit-scrollbar {
    display: none;
  }

  .site-main--home .grid-3 > * {
    flex: 0 0 84%;
    scroll-snap-align: start;
    height: auto;
  }

  .site-main--home .grid-3 > [data-ikn-reveal] {
    opacity: 1;
    transform: none;
  }

  .process-pipeline-wrap,
  .process-pipeline-wrap[data-ikn-pipeline-wrap] {
    min-height: 0;
    padding-top: var(--section-y);
    padding-bottom: var(--section-y);
  }

  /* Pas de bascule 3D au toucher */
  .card-clickable:hover,
  .tool-card:hover,
  .value-card:hover,
  .quote:hover {
    transform: none;
  }

  .dash__body {
    padding: 14px;
    gap: 14px;
  }

  .ikn-tunnel {
    width: 620px;
    height: 620px;
    margin: -310px 0 0 -310px;
  }

  /* Cibles tactiles de 44 px minimum */
  .btn-sm {
    min-height: 44px;
  }

  .footer-grid a,
  .footer-menu a,
  .footer-legal a,
  .footer-social a,
  .footer-newsletter__link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .footer-grid ul,
  .footer-menu {
    gap: 0;
  }

  .nav-mobile-menu a {
    display: flex;
    align-items: center;
    min-height: 48px;
  }

  .nav-cta {
    display: none;
  }

  /* Barre d'action fixe : appeler ou écrire, toujours sous le pouce */
  .mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 10px;
    padding: 10px max(var(--page-gutter-sm), env(safe-area-inset-left, 0px)) calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(11, 13, 16, 0.92);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--ikn-steel);
  }

  .mobile-bar .btn {
    width: 100%;
  }

  body {
    padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px));
  }

  body.nav-open .mobile-bar {
    display: none;
  }
}

@media (max-width: 480px) {
  .kpi-row {
    grid-template-columns: 1fr 1fr;
  }
}

/* ------------------------------------------------------------------ */
/* Mouvement réduit : tout est figé, rien n'est caché                  */
/* ------------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  .ikn-spin,
  .ikn-spin-slow,
  .ikn-spin-slow-rev,
  .ikn-word,
  .hero-home .hero-home__sub,
  .hero-home__actions,
  .ikn-stack *,
  .ikn-marquee__track,
  .ikn-tunnel__ring,
  .ikn-radar__sweep,
  .ikn-radar__data,
  .dash__bar,
  .dash__dot {
    animation: none !important;
  }

  .ikn-stack__pulse {
    display: none;
  }

  .ikn-stack__step {
    color: var(--ikn-silver);
  }

  .ikn-tunnel__ring {
    opacity: 0.55;
    transform: scale(calc(0.3 + var(--k) * 0.36));
  }

  .ikn-radar__data {
    stroke-dasharray: none;
  }

  .process-pipeline .process-pipeline__node,
  .process-pipeline .process-pipeline__rail::after {
    animation: none !important;
  }

  .card-clickable:hover,
  .tool-card:hover,
  .value-card:hover,
  .quote:hover {
    transform: none;
  }
}

/* ------------------------------------------------------------------ */
/* Captures des sites : dalle, téléphone, mur d'écrans                 */
/* ------------------------------------------------------------------ */

@keyframes ikn-scroll {
  0%,
  6% {
    object-position: 50% 0%;
  }
  94%,
  100% {
    object-position: 50% 100%;
  }
}

.ikn-shot {
  position: relative;
  overflow: hidden;
  background: var(--ikn-onyx);
}

.ikn-shot .ikn-shot__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 0%;
  animation: ikn-scroll 14s ease-in-out infinite alternate;
  animation-play-state: paused;
}

/* Reflet sur le verre */
.ikn-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.04) 22%, transparent 34%);
  pointer-events: none;
}

.ikn-screens {
  position: relative;
}

.ikn-screens__hept {
  position: absolute;
  color: #232a33;
  pointer-events: none;
}

.ikn-screens__hept .ikn-hept {
  width: 100%;
  height: 100%;
}

/* La dalle : une plaque de verre épaisse, sans barre de navigateur */
.ikn-slab {
  position: relative;
  padding: 5px;
  border-radius: 14px;
  background: linear-gradient(150deg, #6b7682 0%, #1a1f26 26%, #12151a 62%, #3a434e 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    0 2px 0 #0b0d10,
    0 5px 0 #262d36,
    0 7px 0 #0b0d10,
    0 44px 70px -26px rgba(0, 0, 0, 0.85);
  transition: transform 0.7s var(--ease);
}

.ikn-slab__face {
  border-radius: 10px;
  aspect-ratio: 16 / 10;
}

.ikn-slab__tag {
  position: absolute;
  left: 14px;
  bottom: -11px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  border: 1px solid var(--ikn-fog);
  border-radius: 999px;
  background: var(--ikn-onyx);
  font-family: var(--ikn-font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  line-height: 1.3;
  color: var(--ikn-silver);
  white-space: nowrap;
}

.ikn-slab__tag .ikn-mark {
  width: 9px;
  height: 9px;
}

/* Le téléphone : tranche en métal, bords noirs, encoche, boutons */
.ikn-phone {
  --pw: 92px;
  position: absolute;
  width: var(--pw);
  aspect-ratio: 9 / 19;
  padding: calc(var(--pw) * 0.03);
  border-radius: calc(var(--pw) * 0.19);
  background: linear-gradient(140deg, #aeb6bf 0%, #4a5560 18%, #1a1f26 46%, #12151a 70%, #7c8793 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.3),
    0 28px 48px -16px rgba(0, 0, 0, 0.9);
  transition: transform 0.7s var(--ease);
}

.ikn-phone__screen {
  height: 100%;
  border: calc(var(--pw) * 0.028) solid #000;
  border-radius: calc(var(--pw) * 0.16);
  background: #000;
}

.ikn-phone__island {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 2.4%;
  width: 30%;
  height: 3.6%;
  translate: -50% 0;
  border-radius: 999px;
  background: #000;
}

.ikn-phone__btn {
  position: absolute;
  width: calc(var(--pw) * 0.022);
  border-radius: 2px;
  background: linear-gradient(90deg, #7c8793, #3a434e);
}

.ikn-phone__btn--a {
  left: calc(var(--pw) * -0.018);
  top: 21%;
  height: 12%;
}

.ikn-phone__btn--b {
  right: calc(var(--pw) * -0.018);
  top: 27%;
  height: 16%;
}

/* A. Carte de portfolio */
.mission-card--screens .mission-card__media {
  aspect-ratio: 16 / 11;
  background:
    radial-gradient(70% 60% at 72% 112%, rgba(239, 26, 45, 0.26), transparent 70%),
    var(--ikn-onyx);
}

.ikn-screens--card {
  position: absolute;
  inset: 0;
  padding: 8% 18% 0 6%;
}

.ikn-screens--card .ikn-screens__hept {
  right: -22%;
  top: -34%;
  width: 78%;
  aspect-ratio: 1;
}

.ikn-screens--card .ikn-slab {
  transform: perspective(1200px) rotateY(-11deg) rotateX(4deg);
  transform-origin: left center;
}

.ikn-screens--card .ikn-slab__tag {
  display: none;
}

.ikn-screens--card .ikn-phone {
  --pw: clamp(64px, 24%, 96px);
  right: 5%;
  bottom: -11%;
}

.mission-card--screens:hover .ikn-slab {
  transform: perspective(1200px) rotateY(0deg) rotateX(0deg);
}

.mission-card--screens:hover .ikn-phone {
  transform: translateY(-14%);
}

.mission-card--screens:hover .ikn-shot__img {
  animation-play-state: running;
}

.mission-card--screens .mission-card__pill {
  top: auto;
  bottom: var(--s-3);
}

@media (hover: none) {
  .ikn-screens--card .ikn-shot__img {
    animation-play-state: running;
  }
}

/* C. Haut de fiche projet */
.ikn-screens--hero {
  margin-top: var(--s-6);
  padding: 4% 15% 7% 0;
}

.ikn-screens--hero .ikn-screens__hept {
  left: 50%;
  top: 50%;
  width: 96%;
  aspect-ratio: 1;
  translate: -50% -50%;
}

.ikn-screens--hero::before {
  content: "";
  position: absolute;
  left: 20%;
  right: 10%;
  bottom: 0;
  height: 40%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(239, 26, 45, 0.34), transparent);
  filter: blur(30px);
}

.ikn-screens--hero .ikn-slab {
  transform: perspective(1600px) rotateY(-13deg) rotateX(5deg);
  transform-origin: left center;
}

.ikn-screens--hero .ikn-phone {
  --pw: clamp(96px, 21%, 190px);
  right: 0;
  bottom: 0;
  transform: perspective(1600px) rotateY(-13deg) rotateX(5deg);
}

.ikn-screens--hero .ikn-shot__img {
  animation-duration: 18s;
  animation-play-state: running;
}

/* B. Mur d'écrans (haut du portfolio) */
.site-main > section.wall-band {
  padding-top: 0;
  padding-bottom: 0;
  border-top: 0;
}

.ikn-wall {
  position: relative;
  height: clamp(340px, 42vw, 560px);
  overflow: hidden;
  border: 1px solid var(--ikn-steel);
  border-radius: var(--r-md);
  background: var(--ikn-onyx);
}

.ikn-wall__scene {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  gap: 22px;
  width: 2300px;
  transform: translate(-50%, -30%) rotateX(50deg) rotateZ(-24deg);
}

@keyframes ikn-wall {
  to {
    transform: translateY(-50%);
  }
}

.ikn-wall__col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: ikn-wall 46s linear infinite;
}

.ikn-wall__col.is-reverse {
  animation-direction: reverse;
}

.ikn-wall__tile {
  flex: none;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  border: 1px solid var(--ikn-fog);
  border-radius: 10px;
  background: var(--ikn-graphite);
}

.ikn-wall__tile--mobile {
  aspect-ratio: 16 / 20;
}

.ikn-wall__tile img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: top;
}

.ikn-wall::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 0% 100%, var(--ikn-onyx) 20%, transparent 100%),
    radial-gradient(ellipse at center, transparent 45%, var(--ikn-onyx) 95%);
  pointer-events: none;
}

.ikn-wall__title {
  position: absolute;
  z-index: 1;
  left: clamp(20px, 3vw, 36px);
  bottom: clamp(18px, 2.6vw, 30px);
  margin: 0;
  max-width: 12ch;
  font-family: var(--ikn-font-display);
  font-weight: 500;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ikn-ivory);
}

@media (max-width: 767px) {
  .ikn-screens--hero {
    padding: 4% 16% 12% 0;
  }

  .mission-card--screens:hover .ikn-slab {
    transform: perspective(1200px) rotateY(-11deg) rotateX(4deg);
  }

  .mission-card--screens:hover .ikn-phone {
    transform: none;
  }

  .ikn-wall__scene {
    width: 1500px;
    gap: 14px;
  }

  .ikn-wall__col {
    gap: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ikn-shot .ikn-shot__img,
  .ikn-wall__col {
    animation: none !important;
  }
}

/* ------------------------------------------------------------------ */
/* Pictogrammes par sujet, pièce d'un lot, étapes, questions, outils   */
/* ------------------------------------------------------------------ */

.ikn-icon g {
  transition: transform 0.8s var(--ease);
  transform-origin: 100px 100px;
}

/* Le contour tourne, le motif reste lisible */
.card:hover .ikn-icon {
  transform: none;
}

.card:hover .ikn-icon polygon {
  transform: rotate(51.43deg);
}

.ikn-icon polygon {
  transform-origin: 100px 100px;
  transition: transform 0.8s var(--ease);
}

.card:hover .ikn-icon g {
  transform: scale(1.12);
}

/* Pièce 3D d'un lot, à droite du titre des pages services */
.hero-shell__visual {
  position: absolute;
  z-index: 0;
  right: max(4%, calc((100% - var(--container)) / 2));
  top: 50%;
  width: 300px;
  translate: 0 -50%;
  pointer-events: none;
}

.ikn-stack--lot {
  --stack-size: 220px;
  --stack-step: 64px;
  --stack-h: 280px;
}

.ikn-stack--lot .ikn-stack__scene {
  top: 50%;
}

.ikn-stack--lot .ikn-stack__glow {
  top: 46%;
  width: 280px;
  height: 160px;
}

.ikn-stack--lot .ikn-stack__stage {
  animation-duration: 60s;
}

@media (max-width: 1100px) {
  .hero-shell__visual {
    right: -40px;
    opacity: 0.5;
  }
}

@media (max-width: 767px) {
  .hero-shell__visual {
    right: -90px;
    opacity: 0.35;
  }
}

/* Étapes d'une page service */
.steps-rail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: var(--s-6) var(--s-5);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.steps-rail__item {
  position: relative;
  padding-top: 74px;
}

.steps-rail__item::before {
  content: "";
  position: absolute;
  left: 64px;
  right: calc(var(--s-5) * -1);
  top: 27px;
  height: 1px;
  background: linear-gradient(90deg, var(--ikn-signal), var(--ikn-steel));
}

.steps-rail__item:last-child::before {
  display: none;
}

.steps-rail__node,
.process-pipeline__node {
  clip-path: polygon(50% 0%, 89.1% 18.8%, 98.7% 61.1%, 71.7% 95%, 28.3% 95%, 1.3% 61.1%, 10.9% 18.8%);
}

.steps-rail__node {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  background: var(--ikn-signal);
  font-family: var(--ikn-font-mono);
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  isolation: isolate;
}

.steps-rail__node::before,
.process-pipeline__node::before {
  content: "";
  position: absolute;
  inset: 2px;
  z-index: -1;
  clip-path: inherit;
  background: var(--ikn-onyx);
}

.steps-rail__title {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.15;
}

.steps-rail__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ikn-silver);
}

/* Processus de l'accueil : les pastilles deviennent des heptagones */
.process-pipeline__node {
  position: relative;
  isolation: isolate;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 0;
  background: var(--ikn-fog);
}

.process-pipeline__step .process-pipeline__node,
.process-pipeline__step.is-active .process-pipeline__node,
.process-pipeline__step.is-past .process-pipeline__node {
  background: var(--ikn-fog);
}

.process-pipeline__node::before {
  background: var(--ikn-carbon);
}

/* Questions fréquentes */
.service-faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: var(--s-7);
  align-items: start;
}

.service-faq__grid .section-header {
  margin-bottom: 0;
}

.faq-item {
  padding: 0;
  border-radius: var(--r-md);
  background: var(--ikn-graphite);
  transition: border-color var(--dur-base) var(--ease);
}

.faq-item[open],
.faq-item:hover {
  border-color: var(--ikn-fog);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  min-height: 60px;
  padding: 14px 20px;
  font-size: 18px;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpolygon points='100,8 171.9,42.6 189.7,120.5 139.9,182.9 60.1,182.9 10.3,120.5 28.1,42.6' fill='none' stroke='%23EF1A2D' stroke-width='22'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform var(--dur-slow) var(--ease);
}

.faq-item[open] summary::after {
  transform: rotate(180deg) scale(1.25);
}

.faq-item__answer {
  margin: 0;
  padding: 0 20px 20px;
  max-width: 62ch;
  line-height: 1.6;
  color: var(--ikn-silver);
}

/* Page « Nos outils » */
.tool-detail__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: center;
}

.tool-detail--flip .tool-detail__copy {
  order: 2;
}

.tool-detail__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s-4);
}

.tool-detail__points {
  width: 100%;
  margin-top: var(--s-3);
}

.tool-detail__visual {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  max-width: 420px;
  width: 100%;
  margin-inline: auto;
}

.tool-detail__hept {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: #262d36;
}

.tool-detail__icon {
  position: relative;
  width: 46%;
  height: 46%;
  filter: drop-shadow(0 0 40px rgba(239, 26, 45, 0.35));
}

@media (max-width: 900px) {
  .service-faq__grid,
  .tool-detail__grid {
    grid-template-columns: 1fr;
    gap: var(--s-5);
  }

  .tool-detail--flip .tool-detail__copy {
    order: 0;
  }

  .tool-detail__visual {
    max-width: 240px;
  }

  .steps-rail__item::before {
    display: none;
  }
}

@media (max-width: 767px) {
  .steps-rail {
    grid-template-columns: 1fr;
    gap: var(--s-5);
  }

  .steps-rail__item {
    padding: 0 0 0 72px;
    min-height: 54px;
  }

  .faq-item summary {
    font-size: 17px;
  }
}

/* ------------------------------------------------------------------ */
/* Articles : progression, sommaire, chapô, encadrés, images           */
/* ------------------------------------------------------------------ */

.read-progress {
  position: fixed;
  z-index: 60;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  pointer-events: none;
}

.read-progress span {
  display: block;
  height: 100%;
  background: var(--ikn-signal);
  transform: scaleX(0);
  transform-origin: left;
}

@keyframes ikn-progress {
  to {
    transform: scaleX(1);
  }
}

@supports (animation-timeline: scroll()) {
  .read-progress span {
    animation: ikn-progress linear both;
    animation-timeline: scroll(root);
  }
}

.hero-shell--article {
  min-height: clamp(300px, 44vh, 460px);
}

.article-hero__title {
  font-size: clamp(32px, 4.6vw, 60px) !important;
}

.article-single__layout {
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(32px, 5vw, 72px);
}

.article-single__aside {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}

.article-single__aside .article-aside {
  position: static;
  margin: 0;
}

.article-aside--meta {
  display: none;
}

.article-toc__list {
  margin: var(--s-3) 0 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}

.article-toc__list li {
  counter-increment: toc;
  border-top: 1px solid var(--ikn-steel);
}

.article-toc__list a {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 4px;
  padding: 10px 0;
  font-size: 14px;
  line-height: 1.4;
  color: var(--ikn-silver);
}

.article-toc__list a::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--ikn-font-mono);
  font-size: 12px;
  line-height: 1.6;
  color: var(--ikn-signal);
}

.article-toc__list a:hover {
  color: var(--ikn-ivory);
}

.article-body {
  max-width: 720px;
  font-size: 18px;
  line-height: 1.7;
}

.article-body p,
.article-body li {
  font-size: inherit;
  line-height: inherit;
}

.article-body h2 {
  margin-top: 2.2em;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  scroll-margin-top: 96px;
}

.article-body h3 {
  font-size: 22px;
}

/* Le premier paragraphe « En bref » sert de chapô */
.article-body--lead > p:first-child {
  margin: 0 0 var(--s-6);
  padding: var(--s-5);
  border: 1px solid var(--ikn-steel);
  border-left: 2px solid var(--ikn-signal);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  background: var(--ikn-graphite);
  font-family: var(--ikn-font-display);
  font-size: 20px;
  line-height: 1.45;
  color: var(--ikn-ivory);
}

.article-body--lead > p:first-child strong:first-child {
  display: block;
  margin-bottom: 8px;
  font-family: var(--ikn-font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ikn-signal);
}

/* Encadré « À retenir » */
.article-body blockquote {
  position: relative;
  margin: var(--s-7) 0;
  padding: var(--s-5) var(--s-5) var(--s-5) 68px;
  border: 1px solid var(--ikn-steel);
  border-left: 1px solid var(--ikn-steel);
  border-radius: var(--r-md);
  font-size: 19px;
}

.article-body blockquote::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 24px;
  width: 30px;
  height: 30px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpolygon points='100,8 171.9,42.6 189.7,120.5 139.9,182.9 60.1,182.9 10.3,120.5 28.1,42.6' fill='none' stroke='%23EF1A2D' stroke-width='14'/%3E%3Cpolygon points='100,48 140.7,67.6 150.7,111.6 122.6,146.9 77.4,146.9 49.3,111.6 59.3,67.6' fill='none' stroke='%23EEF1F4' stroke-width='10'/%3E%3C/svg%3E") center / contain no-repeat;
}

.article-body blockquote p {
  margin: 0;
  font-family: var(--ikn-font-display);
  font-size: inherit;
  line-height: 1.45;
  color: var(--ikn-ivory);
}

.article-body figure {
  margin: var(--s-6) 0;
}

.article-body figure img {
  width: 100%;
  height: auto;
  border: 1px solid var(--ikn-steel);
  border-radius: var(--r-md);
}

.article-body figcaption {
  margin-top: 10px;
  font-family: var(--ikn-font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ikn-ash);
}

.article-body ul li::marker {
  color: var(--ikn-signal);
}

.article-body ol li::marker {
  font-family: var(--ikn-font-mono);
  font-size: 0.85em;
  color: var(--ikn-signal);
}

.post-card__media img {
  transition-duration: 0.8s;
}

@media (max-width: 960px) {
  .article-single__layout {
    grid-template-columns: 1fr;
  }

  .article-single__aside {
    position: static;
    display: flex;
  }

  .article-toc {
    order: -1;
  }

  .article-single__layout {
    display: flex;
    flex-direction: column-reverse;
  }

  .article-aside--cta {
    display: none;
  }
}

@media (max-width: 767px) {
  .article-body {
    font-size: 17px;
  }

  .article-body blockquote {
    padding: var(--s-4) var(--s-4) var(--s-4) 56px;
  }

  .article-body blockquote::before {
    left: 14px;
    top: 18px;
  }
}

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

/* Les mots mis en avant dans un titre sont rouges et droits, partout */
h1 em,
h2 em,
h3 em {
  font-style: normal;
  color: var(--ikn-signal);
}
