/* AJpoints — thème HTML V4.1 Marketing Polish
   Direction : fond clair, typographie éditoriale, route comme fil conducteur.
   Le rouge AJpoints pilote les actions ; les couleurs métier restent limitées aux expertises.
*/

:root {
  --red: #f6010a;
  --red-rgb: 246, 1, 10;
  --red-bright: #ff2d35;
  --red-dark: #cc0108;
  --ink: #161617;
  --ink-2: #161617;
  --text: #1b1b1c;
  --muted: #646466;
  --muted-2: #8b9097;
  --line: #e7e7e5;
  --soft: #f5f5f3;
  --white: #ffffff;
  --blue: #1d4ed8;    /* Audit */
  --orange: #f59e0b;  /* Prévention */
  --green: #059669;   /* Formations */
  --purple: #7c3aed;  /* Stages */
  --shadow-sm: 0 8px 28px rgba(22, 22, 23, .07);
  --shadow-md: 0 18px 60px rgba(22, 22, 23, .12);
  --shadow-red: 0 12px 30px rgba(var(--red-rgb), .24);
  --radius: 24px;
  --radius-lg: 38px;
  --shell: 1240px;
  --header-h: 104px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

.ajp-v4,
.ajp-v4 *,
.ajp-v4 *::before,
.ajp-v4 *::after { box-sizing: border-box; }

.ajp-v4 {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

.ajp-v4 {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 85% 8%, rgba(0, 0, 0, .025), transparent 24rem),
    #fff;
  font-family: "Plus Jakarta Sans", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body.is-menu-open,
body.is-dialog-open { overflow: hidden; }

.ajp-v4 img { max-width: 100%; display: block; }

.ajp-v4 button,
.ajp-v4 input,
.ajp-v4 select,
.ajp-v4 textarea { font: inherit; }

.ajp-v4 button,
.ajp-v4 a { -webkit-tap-highlight-color: transparent; }

.ajp-v4 a { color: inherit; text-decoration: none; }

.ajp-v4 button { border: 0; }

.ajp-v4 h1,
.ajp-v4 h2,
.ajp-v4 h3,
.ajp-v4 p { margin-top: 0; }

.ajp-v4 h1,
.ajp-v4 h2,
.ajp-v4 h3 {
  color: var(--ink);
  letter-spacing: -.045em;
  line-height: 1.06;
}

.ajp-v4 h1 {
  margin-bottom: 28px;
  font-size: clamp(3rem, 5.3vw, 5.65rem);
  font-weight: 780;
}

.ajp-v4 h2 {
  margin-bottom: 22px;
  font-size: clamp(2.35rem, 4vw, 4.2rem);
  font-weight: 760;
}

.ajp-v4 h3 {
  margin-bottom: 12px;
  font-size: 1.15rem;
  font-weight: 740;
  letter-spacing: -.025em;
}

.ajp-v4 h1 span,
.ajp-v4 h2 span { color: var(--red); }

.ajp-v4 p { color: var(--muted); }

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.2em;
  height: 1.2em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 999;
  transform: translateY(-160%);
  padding: 12px 18px;
  color: #fff;
  background: var(--ink);
  border-radius: 999px;
  transition: transform .2s;
}

.skip-link:focus { transform: translateY(0); }

.shell {
  width: min(calc(100% - 48px), var(--shell));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: clamp(82px, 9vw, 138px);
}

.section-soft {
  background:
    linear-gradient(180deg, rgba(247, 248, 249, .72), rgba(255, 255, 255, .9)),
    radial-gradient(circle at 10% 0, rgba(0, 0, 0, .035), transparent 26rem);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: var(--red);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 32px;
  height: 2px;
  content: "";
  background: currentColor;
  border-radius: 999px;
}

.lead {
  max-width: 560px;
  margin-bottom: 34px;
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  line-height: 1.7;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  --button-bg: transparent;
  --button-color: var(--ink);
  --button-border: var(--line);
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 10px 12px 10px 22px;
  color: var(--button-color);
  background: var(--button-bg);
  border: 1px solid var(--button-border);
  border-radius: 999px;
  font-size: .94rem;
  font-weight: 750;
  cursor: pointer;
  transition:
    transform .3s var(--ease),
    box-shadow .3s var(--ease),
    background .3s var(--ease),
    color .3s var(--ease);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.button:focus-visible,
.primary-nav a:focus-visible,
.text-link:focus-visible,
.solution-card a:focus-visible,
.footer-grid a:focus-visible {
  outline: 3px solid rgba(var(--red-rgb), .28);
  outline-offset: 4px;
}

.button-primary {
  --button-bg: var(--red);
  --button-color: #fff;
  --button-border: var(--red);
  box-shadow: var(--shadow-red);
}

.button-primary:hover {
  --button-bg: var(--red-dark);
  --button-border: var(--red-dark);
  box-shadow: 0 16px 38px rgba(var(--red-rgb), .3);
}

.button-ghost { background: rgba(255, 255, 255, .82); }

.button-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--red);
  background: #fff;
  border-radius: 50%;
}

.button-icon .icon { width: 17px; height: 17px; stroke-width: 2.2; }

.button-icon-red {
  color: #fff;
  background: var(--red);
}

/* Header */
.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, .82);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px) saturate(140%);
  transition:
    height .35s var(--ease),
    box-shadow .35s var(--ease),
    background .35s var(--ease),
    border-color .35s var(--ease);
}

.site-header.is-scrolled {
  height: 82px;
  background: rgba(255, 255, 255, .94);
  border-bottom-color: rgba(22, 22, 23, .07);
  box-shadow: 0 10px 35px rgba(20, 24, 31, .07);
}

.header-inner {
  display: grid;
  grid-template-columns: 210px 1fr auto;
  align-items: center;
  gap: 28px;
}

.brand {
  width: 176px;
  transform-origin: left center;
  transition: transform .35s var(--ease);
}

.site-header.is-scrolled .brand { transform: scale(.88); }

.primary-nav {
  display: flex;
  justify-content: center;
  gap: clamp(22px, 2.7vw, 44px);
}

.primary-nav a {
  position: relative;
  padding-block: 12px;
  color: #111317;
  font-size: .92rem;
  font-weight: 700;
}

.primary-nav a::after {
  position: absolute;
  inset: auto 50% 5px;
  width: 0;
  height: 2px;
  content: "";
  background: var(--red);
  border-radius: 999px;
  transform: translateX(-50%);
  transition: width .25s var(--ease);
}

.primary-nav a:hover::after,
.primary-nav a.is-active::after { width: 22px; }

.header-cta {
  min-height: 50px;
  padding-left: 20px;
  white-space: nowrap;
}

.menu-toggle { display: none; }

/* Hero */
.hero {
  min-height: min(880px, 100svh);
  padding-top: calc(var(--header-h) + 76px);
  padding-bottom: 54px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at 68% 38%, rgba(0, 0, 0, .04), transparent 25rem),
    linear-gradient(180deg, #fff, #fdfdfd);
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(235, 237, 240, .35));
  opacity: .52;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(520px, 1.08fr);
  align-items: center;
  gap: 38px;
}

.hero-copy {
  position: relative;
  z-index: 3;
  padding: 44px 0 74px 8px;
}

.hero-visual {
  position: relative;
  align-self: stretch;
  min-height: 560px;
  margin-right: min(-9vw, -110px);
}

.hero-visual img {
  position: absolute;
  inset: -34px 0 auto;
  width: 100%;
  height: 620px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 28px 28px rgba(11, 13, 17, .13));
}

.hero-glow {
  position: absolute;
  z-index: -1;
  right: 10%;
  bottom: 16%;
  width: 58%;
  aspect-ratio: 1;
  background: rgba(var(--red-rgb), .045);
  filter: blur(55px);
  border-radius: 50%;
}

.service-rail {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 4px;
  overflow: hidden;
  background: rgba(255, 255, 255, .93);
  border: 1px solid rgba(22, 22, 23, .08);
  border-radius: 22px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(18px);
}

.rail-item {
  --accent: var(--red);
  position: relative;
  display: flex;
  min-height: 96px;
  align-items: center;
  gap: 18px;
  padding: 20px 26px;
  font-size: .86rem;
  font-weight: 720;
  line-height: 1.35;
  transition: background .25s var(--ease);
}

.rail-item + .rail-item::before {
  position: absolute;
  inset: 22px auto 22px 0;
  width: 1px;
  content: "";
  background: var(--line);
}

.rail-item::after {
  position: absolute;
  left: 75px;
  bottom: 17px;
  width: 24px;
  height: 2px;
  content: "";
  background: var(--accent);
  border-radius: 999px;
  transform-origin: left;
  transition: width .25s var(--ease);
}

.rail-item:hover { background: #fafafa; }

.rail-item:hover::after { width: 50px; }

.rail-icon { color: var(--accent); }

.rail-icon .icon { width: 43px; height: 43px; stroke-width: 1.65; }

.rail-blue { --accent: var(--blue); }
.rail-orange { --accent: var(--orange); }
.rail-green { --accent: var(--green); }
.rail-purple { --accent: var(--purple); }

/* Expertise */
.expertise {
  min-height: 760px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.expertise-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, .82fr);
  align-items: center;
  gap: clamp(52px, 7vw, 110px);
}

.expertise-photo {
  margin: 0;
  overflow: hidden;
  border-radius: 54px 54px 54px 18px;
  box-shadow: var(--shadow-md);
}

.expertise-photo img {
  width: 100%;
  aspect-ratio: 1.78;
  object-fit: cover;
}

.section-copy { max-width: 560px; }

.section-copy > p:not(.eyebrow) {
  max-width: 530px;
  font-size: 1.04rem;
  line-height: 1.72;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0 30px;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #26292e;
  font-size: .94rem;
  font-weight: 680;
}

.check-list .icon { color: var(--red); }

.text-link,
.solution-card a,
.resource-card a,
.resource-card button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red);
  background: none;
  font-size: .9rem;
  font-weight: 790;
  cursor: pointer;
}

.text-link .icon,
.solution-card a .icon,
.resource-card a .icon,
.resource-card button .icon {
  width: 16px;
  height: 16px;
  transition: transform .25s var(--ease);
}

.text-link:hover .icon,
.solution-card a:hover .icon,
.resource-card a:hover .icon,
.resource-card button:hover .icon { transform: translateX(4px); }

.road-corner,
.stages-road {
  position: absolute;
  z-index: 1;
  overflow: visible;
  pointer-events: none;
}

.road-corner-left {
  left: -170px;
  top: 50%;
  width: 420px;
  transform: translateY(-47%);
  opacity: .96;
}

.road-outline {
  fill: none;
  stroke: #d8d8d6;
  stroke-width: 92;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.road-base {
  fill: none;
  stroke: #161617;
  stroke-width: 76;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 15px 15px rgba(22, 22, 23, .17));
}

.road-dash {
  fill: none;
  stroke: #f4f5f5;
  stroke-width: 2.8;
  stroke-dasharray: 13 14;
  stroke-linecap: round;
  opacity: .95;
}

.aj-point {
  fill: var(--red);
  stroke: #fff;
  stroke-width: 5;
  filter: drop-shadow(0 5px 8px rgba(var(--red-rgb), .25));
}

/* Solutions */
.solutions { padding-top: 105px; }

.section-heading { max-width: 730px; }

.section-heading-center {
  margin: 0 auto 52px;
  text-align: center;
}

.section-heading-center .eyebrow { justify-content: center; }

.section-heading-center h2 {
  font-size: clamp(2.1rem, 3.1vw, 3.35rem);
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.solution-card {
  --accent: var(--red);
  position: relative;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  padding: 28px 26px 24px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(22, 22, 23, .075);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  transition:
    transform .35s var(--ease),
    box-shadow .35s var(--ease),
    border-color .35s var(--ease);
}

.solution-card::after {
  position: absolute;
  right: -54px;
  bottom: -74px;
  width: 150px;
  height: 150px;
  content: "";
  background: var(--accent);
  border-radius: 50%;
  opacity: .045;
  transition: transform .4s var(--ease), opacity .4s;
}

.solution-card:hover {
  z-index: 2;
  transform: translateY(-8px);
  border-color: color-mix(in srgb, var(--accent) 28%, white);
  box-shadow: var(--shadow-md);
}

.solution-card:hover::after { transform: scale(1.5); opacity: .08; }

.solution-icon {
  width: 55px;
  height: 55px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 7%, white);
  border: 1px solid color-mix(in srgb, var(--accent) 18%, white);
  border-radius: 17px;
}

.solution-icon .icon { width: 34px; height: 34px; }

.solution-card h3 { min-height: 2.35em; }

.solution-card p {
  margin-bottom: 24px;
  font-size: .9rem;
  line-height: 1.65;
}

.solution-card a {
  margin-top: auto;
  color: var(--accent);
}

.card-blue { --accent: var(--blue); }
.card-orange { --accent: var(--orange); }
.card-green { --accent: var(--green); }
.card-purple { --accent: var(--purple); }

/* Journey */
.method {
  padding-bottom: 84px;
  background:
    radial-gradient(circle at 90% 100%, rgba(0, 0, 0, .035), transparent 24rem),
    #fff;
}

.method-heading {
  position: relative;
  z-index: 3;
  max-width: 520px;
  margin-bottom: -40px;
}

.method-heading h2 { font-size: clamp(2.5rem, 4.2vw, 4.4rem); }

.method-heading > p:last-child { max-width: 470px; line-height: 1.7; }

.journey {
  position: relative;
  min-height: 580px;
}

.journey-svg {
  width: 100%;
  height: 455px;
  overflow: visible;
}

.journey-outline {
  fill: none;
  stroke: #d7dade;
  stroke-width: 85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.journey-road {
  fill: none;
  stroke: #141619;
  stroke-width: 70;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.journey-dash {
  fill: none;
  stroke: #fff;
  stroke-width: 3;
  stroke-dasharray: 17 18;
  stroke-linecap: round;
  opacity: .94;
  pointer-events: none;
}

.journey-marker {
  color: #fff;
  opacity: .5;
  transition: opacity .3s var(--ease), filter .3s;
}

.journey-marker circle {
  fill: var(--red);
  stroke: #fff;
  stroke-width: 5;
}

.journey-marker text {
  fill: #fff;
  font-size: 17px;
  font-weight: 850;
  text-anchor: middle;
}

.journey-marker.is-active {
  opacity: 1;
  filter: drop-shadow(0 5px 8px rgba(var(--red-rgb), .28));
}

.journey-car {
  transform-origin: 0 0;
  will-change: transform;
  transition: transform .15s linear;
}

.journey-steps {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: -52px;
  padding: 0 20px;
}

.journey-step {
  position: relative;
  padding: 22px 10px 0;
  text-align: center;
  opacity: .6;
  transition: transform .35s var(--ease), opacity .35s var(--ease);
}

.journey-step::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 20px;
  content: "";
  background: #d6d8dc;
}

.journey-step.is-active {
  opacity: 1;
  transform: translateY(-4px);
}

.step-icon {
  --accent: var(--red);
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin: 0 auto 16px;
  color: var(--accent);
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--accent) 20%, white);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}

.step-icon .icon { width: 30px; height: 30px; }

.step-blue { --accent: var(--blue); }
.step-orange { --accent: var(--orange); }
.step-green { --accent: var(--green); }
.step-purple { --accent: var(--purple); }

.journey-step h3 { margin-bottom: 8px; }

.journey-step p {
  max-width: 220px;
  margin-inline: auto;
  font-size: .8rem;
  line-height: 1.55;
}

.journey-mobile { display: none; }

/* Dark differentiation section */
.difference {
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 16% 54%, rgba(var(--red-rgb), .18), transparent 18rem),
    radial-gradient(circle at 88% 0%, rgba(255, 255, 255, .05), transparent 30rem),
    linear-gradient(135deg, #101011, #1a1a1b 62%, #0f0f10);
}

.difference::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .018) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(90deg, transparent, #000 40%, #000);
}

.difference-road {
  position: absolute;
  left: -135px;
  bottom: -185px;
  width: min(40vw, 560px);
  overflow: visible;
}

.difference-glow {
  fill: none;
  stroke: var(--red);
  stroke-width: 104;
  opacity: .5;
  filter: url(#redGlow);
}

.difference-base {
  fill: none;
  stroke: #171a1f;
  stroke-width: 84;
  stroke-linecap: round;
  filter: drop-shadow(0 20px 18px rgba(0, 0, 0, .5));
}

.difference-dash {
  fill: none;
  stroke: #f7f7f7;
  stroke-width: 3;
  stroke-dasharray: 15 17;
  stroke-linecap: round;
  opacity: .76;
}

.difference-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, .92fr);
  align-items: center;
  gap: 100px;
  padding-left: min(19vw, 245px);
}

.difference .eyebrow { color: var(--red); }

.difference h2 { color: #fff; font-size: clamp(2.3rem, 3.6vw, 3.8rem); }

.difference-copy p:last-child {
  max-width: 530px;
  color: rgba(255, 255, 255, .64);
}

.difference-list {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
}

.difference-list li {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-block: 18px;
  color: rgba(255, 255, 255, .9);
  border-bottom: 1px solid rgba(255, 255, 255, .11);
  font-weight: 650;
}

.difference-list li:first-child { border-top: 1px solid rgba(255, 255, 255, .11); }

.difference-list .icon {
  width: 31px;
  height: 31px;
  color: var(--red);
}

/* Stages */
.stages {
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.stages-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(390px, .78fr);
  align-items: center;
  gap: 100px;
  padding-right: 120px;
}

.stages-copy h2 { font-size: clamp(2.45rem, 4vw, 4rem); }

.stages-copy .button { margin-top: 14px; }

.stage-card {
  overflow: hidden;
  background: rgba(255, 255, 255, .94);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(16px);
}

.stage-row {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  padding: 20px 24px;
}

.stage-row + .stage-row { border-top: 1px solid var(--line); }

.stage-row .icon {
  width: 28px;
  height: 28px;
  color: var(--red);
}

.stage-row strong,
.stage-row span { display: block; }

.stage-row strong {
  margin-bottom: 2px;
  color: var(--ink);
  font-size: .92rem;
}

.stage-row span {
  color: var(--muted);
  font-size: .82rem;
}

.stages-road {
  right: -130px;
  top: 50%;
  width: 430px;
  transform: translateY(-50%);
}

/* Resources */
.resources { padding-block: 98px; }

.resources .section-heading { margin-bottom: 40px; }

.resources .section-heading h2 { font-size: clamp(2.2rem, 3.3vw, 3.5rem); }

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.resource-card {
  display: grid;
  grid-template-columns: 43% 1fr;
  min-height: 190px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.resource-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.resource-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.resource-card > div {
  display: flex;
  flex-direction: column;
  padding: 22px 20px;
}

.resource-card span {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.resource-card h3 { font-size: 1.05rem; line-height: 1.2; }

.resource-card a,
.resource-card button {
  margin-top: auto;
  padding: 0;
  color: var(--red);
}

/* Contact strip */
.contact-strip {
  position: relative;
  z-index: 5;
  padding-block: 28px;
  background: #fff;
}

.contact-strip-inner {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto auto;
  align-items: center;
  gap: 36px;
  padding: 28px 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-md);
}

.contact-strip .eyebrow { margin-bottom: 8px; }

.contact-strip h2 {
  margin-bottom: 4px;
  font-size: 1.48rem;
  letter-spacing: -.035em;
}

.contact-strip p {
  margin-bottom: 0;
  font-size: .83rem;
}

.contact-meta {
  display: flex;
  gap: 26px;
}

.contact-meta a {
  display: flex;
  align-items: center;
  gap: 13px;
}

.contact-meta .icon {
  width: 25px;
  height: 25px;
  color: var(--red);
}

.contact-meta span,
.contact-meta strong,
.contact-meta small { display: block; }

.contact-meta strong { color: var(--ink); font-size: .82rem; }
.contact-meta small { color: var(--muted); font-size: .68rem; }

/* Footer */
.site-footer {
  padding: 58px 0 28px;
  background: #fff;
  border-top: 1px solid rgba(22, 22, 23, .06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(4, 1fr);
  gap: 56px;
  padding-bottom: 42px;
}

.footer-brand img {
  width: min(320px, 100%);   /* H-BL : minimum 320px */
  margin-bottom: 18px;
}

.footer-brand p {
  max-width: 230px;
  font-size: .78rem;
  line-height: 1.6;
}

.footer-grid h3 {
  margin-bottom: 16px;
  font-size: .84rem;
  letter-spacing: -.01em;
}

.footer-grid a,
.footer-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: .75rem;
  line-height: 1.45;
}

.footer-grid a:hover { color: var(--red); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  color: var(--muted-2);
  border-top: 1px solid var(--line);
  font-size: .68rem;
}

.footer-bottom div { display: flex; gap: 28px; }

/* Dialog */
.contact-dialog {
  width: min(720px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  overflow: auto;
  color: var(--text);
  background: transparent;
  border: 0;
}

.contact-dialog::backdrop {
  background: rgba(6, 8, 11, .68);
  backdrop-filter: blur(10px);
}

.dialog-panel {
  position: relative;
  padding: clamp(28px, 5vw, 54px);
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, .32);
}

.dialog-panel h2 { font-size: clamp(2.2rem, 5vw, 3.5rem); }

.dialog-panel > p:not(.eyebrow) { max-width: 560px; }

.dialog-close {
  position: absolute;
  right: 22px;
  top: 22px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--ink);
  background: var(--soft);
  border-radius: 50%;
  cursor: pointer;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-block: 28px 18px;
}

.form-grid label {
  display: grid;
  gap: 7px;
  color: #33363b;
  font-size: .75rem;
  font-weight: 720;
}

.field-wide { grid-column: 1 / -1; }

.ajp-v4 input,
.ajp-v4 select,
.ajp-v4 textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--text);
  background: #fafafa;
  border: 1px solid #dfe1e4;
  border-radius: 11px;
  outline: 0;
  transition: border .2s, box-shadow .2s, background .2s;
}

.ajp-v4 textarea { resize: vertical; }

.ajp-v4 input:focus,
.ajp-v4 select:focus,
.ajp-v4 textarea:focus {
  background: #fff;
  border-color: rgba(var(--red-rgb), .56);
  box-shadow: 0 0 0 4px rgba(var(--red-rgb), .08);
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: .73rem;
}

.consent input { width: auto; margin-top: 3px; }

.toast {
  position: fixed;
  z-index: 400;
  right: 24px;
  bottom: 24px;
  max-width: 430px;
  padding: 15px 18px;
  color: #fff;
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity .3s, transform .3s;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Reveal animations */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity .7s var(--ease),
    transform .7s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1120px) {
  :root { --header-h: 88px; }

  .header-inner { grid-template-columns: 170px 1fr auto; gap: 18px; }
  .brand { width: 170px; }
  .primary-nav { gap: 22px; }
  .primary-nav a { font-size: .82rem; }
  .header-cta { min-height: 46px; font-size: .82rem; }

  .hero-grid { grid-template-columns: minmax(0, .92fr) minmax(440px, 1.08fr); }
  .hero-visual { margin-right: -9vw; }
  .rail-item { padding: 18px; }

  .solution-grid { grid-template-columns: repeat(2, 1fr); }
  .solution-card { min-height: 285px; }

  .difference-grid {
    gap: 54px;
    padding-left: min(18vw, 170px);
  }

  .stages-grid { padding-right: 100px; gap: 60px; }

  .resource-card { grid-template-columns: 1fr; }
  .resource-card img { height: 150px; }
  .resource-card > div { min-height: 180px; }

  .contact-strip-inner { grid-template-columns: 1fr auto; }
  .contact-meta { grid-column: 1 / 2; }
  .contact-strip-inner > .button { grid-column: 2; grid-row: 1 / 3; }

  .footer-grid { gap: 28px; }
}

@media (max-width: 920px) {
  .shell { width: min(calc(100% - 36px), var(--shell)); }

  .header-inner {
    grid-template-columns: 1fr auto auto;
  }

  .primary-nav {
    position: fixed;
    inset: var(--header-h) 18px auto;
    display: grid;
    gap: 0;
    padding: 12px;
    visibility: hidden;
    background: rgba(255, 255, 255, .98);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity .25s, transform .25s, visibility .25s;
  }

  .primary-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .primary-nav a {
    padding: 14px 16px;
    border-radius: 12px;
  }

  .primary-nav a:hover { background: var(--soft); }
  .primary-nav a::after { display: none; }

  .menu-toggle {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    color: var(--ink);
    background: var(--soft);
    border-radius: 50%;
    cursor: pointer;
  }

  .menu-toggle .icon { width: 24px; height: 24px; }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + 50px);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-copy {
    max-width: 660px;
    padding-bottom: 0;
  }

  .hero-visual {
    min-height: 430px;
    margin: -45px -12vw -24px 18vw;
  }

  .hero-visual img { height: 490px; }

  .service-rail {
    grid-template-columns: repeat(2, 1fr);
  }

  .rail-item:nth-child(3)::before { display: none; }
  .rail-item:nth-child(n+3) { border-top: 1px solid var(--line); }

  .expertise-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .expertise-photo { max-width: 720px; }

  .section-copy { max-width: 650px; }

  .road-corner-left { left: -230px; top: 38%; opacity: .6; }

  .method-heading { margin-bottom: 10px; }

  .journey-desktop { display: none; }
  .journey-mobile {
    position: relative;
    display: grid;
    gap: 0;
    max-width: 670px;
    margin-top: 44px;
    padding-left: 24px;
  }

  .journey-mobile::before {
    position: absolute;
    left: 40px;
    top: 16px;
    bottom: 16px;
    width: 3px;
    content: "";
    background: linear-gradient(var(--red), #c9ccd0);
    border-radius: 999px;
  }

  .journey-mobile article {
    position: relative;
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 22px;
    padding: 0 0 32px;
  }

  .journey-mobile article > span {
    position: relative;
    z-index: 2;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    color: #fff;
    background: var(--red);
    border: 4px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 1px var(--red);
    font-weight: 800;
  }

  .journey-mobile h3 { margin: 3px 0 7px; }
  .journey-mobile p { margin: 0; font-size: .9rem; }

  .difference-road { opacity: .48; }
  .difference-grid {
    grid-template-columns: 1fr;
    gap: 38px;
    padding-left: min(20vw, 140px);
  }

  .stages-grid {
    grid-template-columns: 1fr;
    gap: 46px;
    padding-right: 100px;
  }

  .stage-card { max-width: 620px; }

  .resource-grid { grid-template-columns: 1fr; }
  .resource-card {
    grid-template-columns: 240px 1fr;
    min-height: 190px;
  }
  .resource-card img { height: 100%; }
  .resource-card > div { min-height: auto; }

  .footer-grid {
    grid-template-columns: 1.5fr repeat(2, 1fr);
  }

  .footer-grid > :nth-child(4),
  .footer-grid > :nth-child(5) { margin-top: 10px; }
}

@media (max-width: 680px) {
  :root { --header-h: 78px; }

  .ajp-v4 { font-size: 15px; }
  .shell { width: min(calc(100% - 28px), var(--shell)); }
  .section { padding-block: 76px; }

  .site-header { height: var(--header-h); }
  .site-header.is-scrolled { height: 72px; }

  .header-inner { grid-template-columns: 1fr auto; }
  .brand { width: 66px; }   /* SYM : 64-139px */
  .header-cta { display: none; }
  .menu-toggle { grid-column: 2; }

  .primary-nav { inset: 76px 14px auto; }

  .hero {
    padding-top: calc(var(--header-h) + 42px);
    padding-bottom: 24px;
  }

  .hero-copy { padding: 10px 0 0; }
  .hero-copy h1 { font-size: clamp(2.75rem, 13vw, 4rem); }
  .lead { font-size: .96rem; }

  .button-row { display: grid; }
  .button-row .button { width: 100%; }

  .hero-visual {
    min-height: 325px;
    margin: -28px -25vw -5px 7vw;
  }

  .hero-visual img {
    width: 126%;
    height: 380px;
    max-width: none;
  }

  .service-rail {
    grid-template-columns: 1fr;
    margin-top: -16px;
    border-radius: 18px;
  }

  .rail-item {
    min-height: 74px;
    padding: 14px 18px;
  }

  .rail-item + .rail-item::before {
    inset: 0 18px auto;
    width: auto;
    height: 1px;
  }

  .rail-item:nth-child(3)::before { display: block; }
  .rail-item:nth-child(n+3) { border-top: 0; }

  .rail-icon .icon { width: 35px; height: 35px; }
  .rail-item::after { left: 66px; bottom: 12px; }

  .expertise { min-height: auto; }
  .expertise-photo { border-radius: 34px 34px 34px 14px; }
  .expertise-photo img { aspect-ratio: 1.4; }

  .road-corner-left { display: none; }

  .solution-grid { grid-template-columns: 1fr; }
  .solution-card { min-height: auto; }

  .section-heading-center { text-align: left; }
  .section-heading-center .eyebrow { justify-content: flex-start; }

  .method-heading h2 { font-size: 2.7rem; }

  .difference {
    min-height: auto;
    padding-top: 90px;
  }

  .difference-road {
    left: -170px;
    bottom: -120px;
    width: 480px;
    opacity: .35;
  }

  .difference-grid { padding-left: 0; }
  .difference h2 { font-size: 2.55rem; }

  .difference-list li { padding-block: 15px; font-size: .9rem; }

  .stages { min-height: auto; }
  .stages-grid { padding-right: 0; }
  .stages-road {
    right: -235px;
    top: 57%;
    width: 400px;
    opacity: .32;
  }

  .resource-card {
    grid-template-columns: 1fr;
  }
  .resource-card img { height: 190px; }
  .resource-card > div { min-height: 180px; }

  .contact-strip { padding-block: 18px; }
  .contact-strip-inner {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px;
  }

  .contact-meta {
    display: grid;
    grid-column: auto;
    gap: 14px;
  }

  .contact-strip-inner > .button {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 22px;
  }

  .footer-brand { grid-column: 1 / -1; }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom div {
    flex-wrap: wrap;
    gap: 12px 20px;
  }

  .form-grid { grid-template-columns: 1fr; }
  .field-wide { grid-column: auto; }
  .dialog-panel { border-radius: 24px; }
  .toast { right: 14px; left: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ========================================================================== 
   AJpoints — V4 MARKETING POLISH
   Plus de clarté commerciale, moins de répétitions, footer sombre scénarisé.
   ========================================================================== */

:root {
  /* Palette officielle — brandbook AJpoints v2.2 (rouge défini en tête de fichier) */
  --ink: #161617;        /* AJ BLACK */
  --ink-2: #161617;
  --text: #1b1b1c;
  --muted: #646466;
  --muted-2: #929290;
  --line: #e7e7e5;
  --mist: #f4f4f2;       /* AJ MIST — fond secondaire clair */
  --soft: #f6f6f4;
  --shadow-xs: 0 5px 18px rgba(22, 22, 23, .045);
  --shadow-sm: 0 12px 36px rgba(22, 22, 23, .075);
  --shadow-md: 0 26px 72px rgba(22, 22, 23, .12);
  --shadow-red: 0 14px 34px rgba(var(--red-rgb), .22);
  --radius: 22px;
  --radius-lg: 46px;
  --shell: 1280px;
  --header-h: 96px;
}

.ajp-v4 {
  font-family: "Plus Jakarta Sans", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15.5px;
  line-height: 1.58;
  background: #fff;
}

.ajp-v4 h1,
.ajp-v4 h2,
.ajp-v4 h3 {
  font-family: "Plus Jakarta Sans", "Inter Display", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: -.052em;
}

.ajp-v4 h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(3.4rem, 5vw, 5.2rem);
  font-weight: 790;
  line-height: .995;
}

.ajp-v4 h2 {
  margin-bottom: 20px;
  font-size: clamp(2.35rem, 3.55vw, 3.9rem);
  font-weight: 770;
  line-height: 1.015;
}

.ajp-v4 h3 { font-weight: 735; }

.shell { width: min(calc(100% - 64px), var(--shell)); }
.section { padding-block: clamp(88px, 8vw, 116px); }

.eyebrow {
  gap: 11px;
  margin-bottom: 18px;
  font-size: .69rem;
  font-weight: 830;
  letter-spacing: .18em;
}

.eyebrow::before { width: 28px; }

.lead {
  max-width: 600px;
  margin-bottom: 30px;
  font-size: clamp(1rem, 1.18vw, 1.13rem);
  line-height: 1.68;
}

.section-intro {
  max-width: 650px;
  margin: 0 auto;
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.7;
}

.button {
  min-height: 52px;
  gap: 14px;
  padding: 9px 10px 9px 21px;
  font-size: .9rem;
  font-weight: 735;
}

.button-icon {
  width: 32px;
  height: 32px;
}

/* Header : plus statutaire, mais toujours léger. */
.site-header {
  height: var(--header-h);
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(22px) saturate(135%);
}

.site-header.is-scrolled { height: 78px; }

.header-inner {
  grid-template-columns: 184px 1fr auto;
  gap: 24px;
}

.brand { width: 184px; }   /* H-CMP : 140-219px */
.site-header.is-scrolled .brand { transform: scale(.9); }
.primary-nav { gap: clamp(20px, 2.2vw, 36px); }
.primary-nav a { font-size: .84rem; font-weight: 690; }
.header-cta { min-height: 48px; }

/* Hero : promesse, conversion et publics visibles d’un seul regard. */
.hero {
  min-height: 850px;
  padding-top: calc(var(--header-h) + 58px);
  padding-bottom: 70px;
  overflow: hidden;
  background:
    radial-gradient(circle at 83% 20%, rgba(22, 22, 23, .035), transparent 27rem),
    linear-gradient(180deg, #fff 0%, #fff 82%, #fafaf8 100%);
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(ellipse at 76% 62%, rgba(var(--red-rgb), .034), transparent 29%),
    linear-gradient(90deg, transparent 0 70%, rgba(22, 22, 23, .012) 100%);
}

.hero::after { height: 118px; opacity: .38; }

.hero-grid {
  grid-template-columns: minmax(430px, .88fr) minmax(590px, 1.12fr);
  gap: 18px;
}

.hero-copy { padding: 28px 0 72px 8px; }

.hero-visual {
  min-height: 590px;
  margin: -10px min(-10vw, -132px) 0 -12px;
}

.hero-visual::after {
  position: absolute;
  inset: 5% 3% 3% 5%;
  content: "";
  pointer-events: none;
  border-radius: 50%;
  box-shadow: 0 38px 80px rgba(15, 18, 24, .06);
}

.hero-visual img {
  top: -30px;
  height: 650px;
  object-position: left center;
  filter: drop-shadow(0 32px 30px rgba(11, 13, 17, .14));
  transform: translate3d(0, var(--hero-shift, 0), 0);
  transition: transform .15s linear;
}

.hero-audiences {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.hero-audiences li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 5px 12px;
  color: #4f4f51;
  background: rgba(248, 249, 250, .92);
  border: 1px solid rgba(22, 22, 23, .065);
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 690;
}

.hero-audiences li::before {
  width: 6px;
  height: 6px;
  content: "";
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(var(--red-rgb), .09);
}

.service-rail {
  margin-top: -52px;
  border-color: rgba(22, 22, 23, .07);
  border-radius: 20px;
  box-shadow: 0 18px 52px rgba(22, 22, 23, .1);
}

.rail-item {
  min-height: 88px;
  gap: 16px;
  padding: 18px 24px;
  font-size: .81rem;
}

.rail-icon .icon { width: 39px; height: 39px; }
.rail-item::after { left: 69px; bottom: 14px; width: 22px; }

/* Expertise : la crédibilité précède l’offre. */
.expertise {
  min-height: 690px;
  padding-block: 104px;
  background: #fff;
}

.expertise-grid {
  grid-template-columns: minmax(360px, .8fr) minmax(0, 1.12fr);
  gap: clamp(58px, 7vw, 108px);
}

.expertise .section-copy { max-width: 510px; }
.expertise .section-copy > p:not(.eyebrow) { max-width: 500px; }

.expertise-photo {
  position: relative;
  border-radius: 58px 58px 58px 18px;
  box-shadow: 0 26px 75px rgba(22, 22, 23, .14);
}

.expertise-photo::before {
  position: absolute;
  z-index: 2;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, transparent 56%, rgba(10, 12, 15, .22));
}

.expertise-photo img {
  aspect-ratio: 1.52;
  object-position: 50% 47%;
  transform: scale(1.012);
}

.expertise-photo figcaption {
  position: absolute;
  z-index: 3;
  right: 24px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  max-width: 330px;
  padding: 10px 14px;
  color: rgba(255, 255, 255, .94);
  background: rgba(9, 11, 14, .56);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  font-size: .72rem;
  font-weight: 660;
}

.live-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  background: var(--red);
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(var(--red-rgb), .18);
}

.check-list { gap: 10px; margin: 24px 0 27px; }
.check-list li { font-size: .9rem; }

.road-corner-left {
  left: -205px;
  top: 55%;
  width: 405px;
  opacity: .52;
}

/* Solutions : bénéfices d’abord, couleurs métier en accents. */
.solutions {
  padding-top: 96px;
  padding-bottom: 112px;
  background:
    radial-gradient(circle at 91% 20%, rgba(22, 22, 23, .027), transparent 23rem),
    linear-gradient(180deg, #fafaf8, #fff 38%, #fff);
  border-top: 1px solid rgba(22, 22, 23, .035);
}

.section-heading-center { max-width: 790px; margin-bottom: 44px; }
.section-heading-center h2 { font-size: clamp(2.25rem, 3vw, 3.15rem); }
.section-heading-center .section-intro { margin-top: -4px; }

.solution-grid { gap: 16px; }

.solution-card {
  min-height: 322px;
  padding: 28px 25px 24px;
  border-color: rgba(22, 22, 23, .07);
  border-radius: 21px;
  box-shadow: var(--shadow-xs);
}

.solution-card::before {
  position: absolute;
  left: 25px;
  top: 0;
  width: 34px;
  height: 3px;
  content: "";
  background: var(--accent);
  border-radius: 0 0 999px 999px;
}

.solution-card::after {
  right: -66px;
  bottom: -86px;
  width: 176px;
  height: 176px;
  opacity: .035;
}

.solution-card:hover { transform: translateY(-6px); }

.card-index {
  position: absolute;
  right: 22px;
  top: 21px;
  color: #b7bbc1;
  font-size: .69rem;
  font-weight: 810;
  letter-spacing: .13em;
}

.solution-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 24px;
  background: color-mix(in srgb, var(--accent) 5%, white);
  border-color: color-mix(in srgb, var(--accent) 14%, white);
  border-radius: 16px;
}

.solution-icon .icon { width: 31px; height: 31px; }
.solution-card h3 { min-height: 2.4em; font-size: 1.08rem; }
.solution-card p { font-size: .86rem; line-height: 1.62; }
.solution-card a { font-size: .81rem; }

/* Méthode : une route unique, lisible et réellement progressive. */
.method {
  padding-top: 104px;
  padding-bottom: 76px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 25%, rgba(22, 22, 23, .022), transparent 24rem),
    linear-gradient(180deg, #fff, #fbfbfa 100%);
}

.method::after {
  position: absolute;
  right: -170px;
  bottom: -220px;
  width: 620px;
  height: 620px;
  content: "";
  pointer-events: none;
  border: 1px solid rgba(22, 22, 23, .035);
  border-radius: 50%;
  box-shadow:
    0 0 0 52px rgba(22, 22, 23, .012),
    0 0 0 105px rgba(22, 22, 23, .008);
}

.method-heading {
  max-width: 560px;
  margin-bottom: -34px;
}

.method-heading h2 { font-size: clamp(2.55rem, 3.85vw, 4.05rem); }
.method-heading > p:last-child { max-width: 530px; }

.journey { min-height: 565px; }
.journey-svg { height: 440px; }
.journey-outline { stroke-width: 81; }
.journey-road { stroke-width: 66; }
.journey-dash { stroke-width: 2.6; stroke-dasharray: 15 17; }

.journey-steps {
  gap: 22px;
  margin-top: -48px;
  padding: 0 14px;
}

.journey-step { padding-top: 20px; opacity: .52; }
.journey-step.is-active { transform: translateY(-5px); }
.step-icon { width: 50px; height: 50px; margin-bottom: 14px; }
.step-icon .icon { width: 28px; height: 28px; }
.journey-step p { font-size: .77rem; }
.journey-marker.is-active circle { animation: ajPulse 2.2s ease-in-out infinite; }

@keyframes ajPulse {
  0%, 100% { stroke-width: 5; }
  50% { stroke-width: 8; }
}

/* Bloc noir : une différence plus nette, sans slogans interchangeables. */
.difference {
  min-height: 535px;
  padding-block: 104px;
  background:
    radial-gradient(circle at 12% 68%, rgba(var(--red-rgb), .17), transparent 19rem),
    radial-gradient(circle at 82% 0%, rgba(255, 255, 255, .045), transparent 28rem),
    linear-gradient(135deg, #101011 0%, #1a1a1b 56%, #0a0c0f 100%);
}

.difference-grid {
  grid-template-columns: minmax(0, .96fr) minmax(390px, .86fr);
  gap: clamp(58px, 7vw, 100px);
  padding-left: min(18vw, 222px);
}

.difference h2 {
  max-width: 680px;
  font-size: clamp(2.45rem, 3.5vw, 3.65rem);
}

.difference-copy p:last-child { max-width: 525px; line-height: 1.72; }
.difference-list li { padding-block: 17px; font-size: .9rem; }
.difference-list .icon { width: 28px; height: 28px; }
.difference-road { left: -130px; bottom: -194px; width: min(39vw, 540px); }

/* Stages : bénéfice principal immédiatement compréhensible. */
.stages {
  min-height: 640px;
  padding-block: 98px;
  background:
    radial-gradient(circle at 80% 50%, rgba(22, 22, 23, .026), transparent 23rem),
    #fff;
}

.stages-grid {
  grid-template-columns: minmax(0, 1.02fr) minmax(390px, .72fr);
  gap: clamp(58px, 7vw, 96px);
  padding-right: 118px;
}

.stages-copy h2 { font-size: clamp(2.45rem, 3.7vw, 3.75rem); }
.stage-card { border-radius: 21px; box-shadow: 0 20px 58px rgba(22, 22, 23, .1); }

.stage-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 21px 22px;
  color: #fff;
  background: linear-gradient(135deg, #101216, #1b1e23);
}

.stage-card-head span {
  color: rgba(255, 255, 255, .58);
  font-size: .68rem;
  font-weight: 790;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.stage-card-head strong {
  color: #fff;
  font-size: .88rem;
}

.stage-row { grid-template-columns: 38px 1fr; gap: 16px; padding: 17px 22px; }
.stages-road { right: -128px; width: 425px; opacity: .84; }

/* Ressources : trois portes d’entrée commerciales, pas un faux magazine. */
.resources {
  padding-top: 88px;
  padding-bottom: 106px;
  background: linear-gradient(180deg, rgba(247, 248, 249, .94), #fff 88%);
  border-top: 1px solid rgba(22, 22, 23, .04);
}

.resources > .shell {
  display: grid;
  grid-template-columns: 285px 1fr;
  align-items: stretch;
  gap: 42px;
}

.resources .section-heading {
  align-self: center;
  margin: 0;
}

.resources .section-heading h2 { font-size: clamp(2rem, 2.85vw, 2.95rem); }
.resources .section-intro { margin: 0; font-size: .9rem; }
.resource-grid { gap: 16px; }

.resource-card {
  grid-template-columns: 1fr;
  min-height: 334px;
  border-radius: 18px;
  box-shadow: var(--shadow-xs);
}

.resource-card img { height: 150px; }
.resource-card > div { min-height: 184px; padding: 21px 20px; }
.resource-card h3 { font-size: 1.04rem; }
.resource-card a,
.resource-card button { font-size: .79rem; }

/* Footer sombre : la route clôt le parcours et révèle le dernier point d’action. */
.site-footer {
  position: relative;
  padding: 0;
  overflow: hidden;
  color: #fff;
  background: #101011;
  border: 0;
}

.footer-transition {
  position: relative;
  z-index: 2;
  height: 280px;
  overflow: hidden;
  background: #fff;
}

.footer-transition svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.footer-transition-mobile { display: none; }
.footer-dark-shape { fill: #101011; }

.footer-road-outline,
.footer-road-base,
.footer-road-dash {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-road-outline {
  stroke: #d6d6d4;
  stroke-width: 88;
  opacity: .94;
}

.footer-road-base {
  stroke: #161617;
  stroke-width: 72;
}

.footer-road-dash {
  stroke: rgba(255, 255, 255, .92);
  stroke-width: 2.7;
  stroke-dasharray: 15 17;
}

.footer-point-glow {
  fill: var(--red);
  opacity: .24;
}

.footer-aj-point {
  fill: var(--red);
  stroke: #fff;
  stroke-width: 5;
  filter: drop-shadow(0 5px 10px rgba(var(--red-rgb), .36));
}

.footer-transition.is-arrived .footer-aj-point {
  animation: footerPointPulse 2.4s ease-in-out infinite;
}

@keyframes footerPointPulse {
  0%, 100% { stroke-width: 5; transform: scale(1); transform-origin: 222px 192px; }
  50% { stroke-width: 7; transform: scale(1.08); transform-origin: 222px 192px; }
}

.footer-road-car {
  transform-origin: 0 0;
  will-change: transform;
}

.footer-surface {
  position: relative;
  z-index: 1;
  margin-top: -1px;
  padding: 0 0 30px;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 10%, rgba(var(--red-rgb), .13), transparent 20rem),
    radial-gradient(circle at 86% 16%, rgba(255, 255, 255, .04), transparent 28rem),
    linear-gradient(135deg, #101011 0%, #1a1a1b 56%, #0e0e0f 100%);
}

.footer-surface::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .018) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, #000, transparent 78%);
}

.footer-conversion {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 365px;
  align-items: center;
  gap: clamp(42px, 6vw, 84px);
  margin-top: -34px;
  padding: 46px 48px;
  background:
    radial-gradient(circle at 92% 12%, rgba(var(--red-rgb), .12), transparent 18rem),
    rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 28px;
  box-shadow: 0 28px 74px rgba(0, 0, 0, .27);
  backdrop-filter: blur(18px);
}

.footer-conversion::after {
  position: absolute;
  right: -92px;
  bottom: -118px;
  width: 250px;
  height: 250px;
  content: "";
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 50%;
  box-shadow:
    0 0 0 42px rgba(255, 255, 255, .018),
    0 0 0 84px rgba(255, 255, 255, .012);
}

.footer-conversion .eyebrow { color: var(--red); }

.footer-conversion h2 {
  max-width: 720px;
  margin-bottom: 16px;
  color: #fff;
  font-size: clamp(2.45rem, 3.6vw, 3.65rem);
}

.footer-conversion-copy > p:last-child {
  max-width: 690px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, .62);
  font-size: .97rem;
  line-height: 1.72;
}

.footer-conversion-actions {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 14px;
}

.footer-conversion-actions .button { width: 100%; }

.footer-call {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  padding: 11px 16px;
  color: #fff;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 16px;
  transition: background .25s var(--ease), border-color .25s var(--ease);
}

.footer-call:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .15);
}

.footer-call > .icon {
  width: 25px;
  height: 25px;
  color: var(--red);
}

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

.footer-call strong { color: #fff; font-size: .9rem; }
.footer-call small { margin-top: 2px; color: rgba(255, 255, 255, .46); font-size: .68rem; }

.footer-reassurance {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 2px 0 0;
  color: rgba(255, 255, 255, .48);
  font-size: .7rem;
}

.footer-reassurance span {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(var(--red-rgb), .1);
}

.footer-divider {
  position: relative;
  z-index: 2;
  height: 1px;
  margin-top: 60px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .13) 8%, rgba(255, 255, 255, .13) 92%, transparent);
}

.footer-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.35fr .8fr 1fr 1.05fr;
  gap: clamp(38px, 5vw, 72px);
  padding: 58px 0 48px;
}

.footer-brand img {
  width: min(320px, 100%);
  margin-bottom: 22px;
}

.footer-brand > a { display: inline-block; }

.footer-brand p {
  max-width: 315px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, .47);
  font-size: .78rem;
  line-height: 1.65;
}

.footer-brand .footer-signature {
  margin-bottom: 17px;
  color: rgba(255, 255, 255, .88);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.35;
}

.footer-signature strong { color: var(--red); }

.footer-column h3 {
  margin-bottom: 19px;
  color: #fff;
  font-size: .79rem;
  font-weight: 790;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.footer-column > a,
.footer-column > p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 10px;
  color: rgba(255, 255, 255, .54);
  font-size: .77rem;
  line-height: 1.48;
  transition: color .22s var(--ease), transform .22s var(--ease);
}

.footer-column > a:hover {
  color: #fff;
  transform: translateX(3px);
}

.footer-contact .icon {
  width: 17px;
  height: 17px;
  margin-top: 1px;
  color: var(--red);
}

.footer-text-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 9px;
  padding: 0;
  color: #fff;
  background: none;
  font-size: .77rem;
  font-weight: 760;
  cursor: pointer;
}

.footer-text-cta .icon { width: 16px; height: 16px; transition: transform .22s var(--ease); }
.footer-text-cta:hover .icon { transform: translateX(4px); }

.footer-bottom {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 24px 0 0;
  color: rgba(255, 255, 255, .36);
  border-top: 1px solid rgba(255, 255, 255, .085);
  font-size: .66rem;
}

.footer-legal {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.footer-bottom a { transition: color .2s var(--ease); }
.footer-bottom a:hover { color: #fff; }

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, .62);
  font-weight: 700;
}

.back-to-top span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 50%;
}

.back-to-top .icon { width: 15px; height: 15px; transform: rotate(-90deg); }

/* Le dialog reprend le langage commercial de la page. */
.dialog-panel {
  background:
    radial-gradient(circle at 92% 6%, rgba(var(--red-rgb), .07), transparent 16rem),
    #fff;
}

/* Tablette */
@media (max-width: 1120px) {
  .shell { width: min(calc(100% - 44px), var(--shell)); }
  .header-inner { grid-template-columns: 162px 1fr auto; }
  .brand { width: 160px; }
  .primary-nav { gap: 19px; }
  .primary-nav a { font-size: .78rem; }

  .hero-grid { grid-template-columns: minmax(0, .9fr) minmax(450px, 1.1fr); }
  .hero-visual { margin-right: -12vw; }
  .service-rail { margin-top: -40px; }

  .expertise-grid { grid-template-columns: minmax(330px, .82fr) minmax(0, 1fr); gap: 58px; }
  .resources > .shell { grid-template-columns: 245px 1fr; gap: 30px; }
  .resource-card > div { min-height: 192px; }

  .footer-conversion { grid-template-columns: minmax(0, 1fr) 330px; padding: 42px; }
  .footer-grid { grid-template-columns: 1.2fr .8fr 1fr 1.05fr; gap: 34px; }
}

/* Petite tablette : navigation mobile et empilements lisibles. */
@media (max-width: 920px) {
  :root { --header-h: 84px; }

  .header-inner { grid-template-columns: 1fr auto auto; }
  .hero { padding-top: calc(var(--header-h) + 42px); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 690px; padding: 18px 0 12px; }
  .hero-visual { min-height: 410px; margin: -36px -13vw -24px 20vw; }
  .hero-visual img { height: 480px; }
  .service-rail { margin-top: -20px; }

  .expertise-grid { grid-template-columns: 1fr; }
  .expertise .section-copy { max-width: 650px; }
  .expertise-photo { max-width: 760px; }
  .expertise-photo img { aspect-ratio: 1.58; }

  .difference-grid {
    grid-template-columns: 1fr;
    gap: 38px;
    padding-left: min(18vw, 132px);
  }

  .stages-grid {
    grid-template-columns: 1fr;
    gap: 44px;
    padding-right: 96px;
  }

  .resources > .shell { display: block; }
  .resources .section-heading { max-width: 620px; margin-bottom: 36px; }
  .resource-card { grid-template-columns: 220px 1fr; min-height: 190px; }
  .resource-card img { height: 100%; }
  .resource-card > div { min-height: auto; }

  .footer-conversion { grid-template-columns: 1fr; gap: 28px; }
  .footer-conversion-actions { grid-template-columns: 1fr 1fr; align-items: center; }
  .footer-reassurance { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-contact { grid-column: 2 / -1; }
}

@media (max-width: 680px) {
  :root { --header-h: 74px; }

  .ajp-v4 { font-size: 14.5px; }
  .shell { width: min(calc(100% - 26px), var(--shell)); }
  .section { padding-block: 72px; }

  .ajp-v4 h1 { font-size: clamp(2.65rem, 12.2vw, 3.55rem); line-height: 1; }
  .ajp-v4 h2 { font-size: clamp(2.05rem, 9.5vw, 2.8rem); }

  .site-header.is-scrolled { height: 68px; }
  .brand { width: 64px; }
  .menu-toggle { width: 42px; height: 42px; }
  .primary-nav { inset: 70px 13px auto; }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + 34px);
    padding-bottom: 42px;
  }

  .hero-copy { padding-top: 6px; }
  .hero-copy h1 { max-width: 370px; }
  .lead { margin-bottom: 24px; font-size: .93rem; }
  .button-row { gap: 10px; }
  .button { min-height: 50px; }

  .hero-audiences { gap: 6px; margin-top: 20px; }
  .hero-audiences li { padding: 4px 9px; font-size: .65rem; }

  .hero-visual {
    min-height: 298px;
    margin: -10px -42vw -16px -2vw;
  }

  .hero-visual img {
    width: 146%;
    height: 330px;
    object-position: left center;
  }

  .service-rail {
    display: flex;
    gap: 10px;
    max-width: calc(100% + 26px);
    margin: -32px -13px 0;
    padding: 13px;
    overflow-x: auto;
    overflow-y: hidden;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .service-rail::-webkit-scrollbar { display: none; }

  .rail-item {
    flex: 0 0 232px;
    min-height: 80px;
    gap: 14px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, .96);
    border: 1px solid var(--line);
    border-radius: 17px;
    box-shadow: var(--shadow-sm);
    scroll-snap-align: start;
  }

  .rail-item + .rail-item::before,
  .rail-item:nth-child(3)::before { display: none; }
  .rail-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .rail-icon .icon { width: 34px; height: 34px; }
  .rail-item::after { left: 63px; bottom: 12px; }

  .expertise { padding-top: 76px; }
  .expertise-grid { gap: 38px; }
  .expertise-photo { border-radius: 34px 34px 34px 14px; }
  .expertise-photo img { aspect-ratio: 1.35; object-position: 50% 48%; }
  .expertise-photo figcaption {
    right: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
    padding: 8px 11px;
    font-size: .64rem;
  }
  .road-corner-left { display: none; }

  .solutions { padding-block: 74px; }
  .section-heading-center { margin-bottom: 30px; text-align: left; }
  .section-heading-center .eyebrow { justify-content: flex-start; }
  .section-heading-center .section-intro { margin-inline: 0; }
  .solution-grid { gap: 12px; }
  .solution-card { min-height: 235px; padding: 23px 22px 21px; }
  .solution-card h3 { min-height: auto; }
  .solution-icon { width: 46px; height: 46px; margin-bottom: 18px; }
  .card-index { right: 19px; top: 18px; }

  .method { padding-top: 76px; }
  .method-heading { margin-bottom: 4px; }
  .method-heading h2 { font-size: 2.5rem; }
  .journey-mobile { margin-top: 36px; padding-left: 12px; }
  .journey-mobile::before { left: 27px; }
  .journey-mobile article { grid-template-columns: 38px 1fr; gap: 18px; padding-bottom: 28px; }
  .journey-mobile article > span { width: 31px; height: 31px; font-size: .78rem; }

  .difference { padding-block: 82px; }
  .difference-grid { gap: 30px; padding-left: 0; }
  .difference h2 { font-size: 2.38rem; }
  .difference-road { opacity: .28; }

  .stages { padding-block: 76px; }
  .stages-grid { gap: 34px; padding-right: 0; }
  .stages-copy h2 { font-size: 2.35rem; }
  .stage-card-head { padding: 18px; }
  .stage-row { padding: 15px 18px; }

  .resources { padding-top: 70px; padding-bottom: 76px; }
  .resource-grid { gap: 12px; }
  .resource-card { grid-template-columns: 1fr; min-height: 0; }
  .resource-card img { height: 178px; }
  .resource-card > div { min-height: 166px; }

  .footer-transition { height: 220px; }
  .footer-transition-desktop { display: none; }
  .footer-transition-mobile { display: block; }

  .footer-transition.is-arrived .footer-aj-point { animation: none; }

  .footer-conversion {
    margin-top: -16px;
    padding: 30px 24px;
    border-radius: 24px;
  }

  .footer-conversion h2 { font-size: 2.45rem; }
  .footer-conversion-copy > p:last-child { font-size: .88rem; }
  .footer-conversion-actions { grid-template-columns: 1fr; }
  .footer-reassurance { grid-column: auto; }

  .footer-divider { margin-top: 44px; }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 22px;
    padding: 44px 0 38px;
  }

  .footer-brand { grid-column: 1 / -1; }
  .footer-brand img { width: min(300px, 86%); }
  .footer-brand p { max-width: 330px; }
  .footer-contact { grid-column: 1 / -1; }

  .footer-bottom {
    grid-template-columns: 1fr auto;
    gap: 18px;
    padding-top: 22px;
  }

  .footer-legal {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    gap: 10px 18px;
  }

  .back-to-top { grid-column: 2; grid-row: 1; }
  .back-to-top { font-size: 0; }
  .back-to-top span { width: 34px; height: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  .journey-marker.is-active circle,
  .footer-transition.is-arrived .footer-aj-point { animation: none; }
  .hero-visual img,
  .hero-visual .hero-road-svg { transform: none !important; }
}

/* Containment QA : les routes débordent visuellement sans élargir le document. */
.ajp-v4 {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

/* Les dimensions HTML réservent l’espace sans déformer les visuels. */
.ajp-v4 img { height: auto; }


/* AJpoints — V4.1 final polish */
.brand {
  display: block;
  flex: 0 0 auto;
  line-height: 0;
}

.brand img {
  width: 100%;
  height: auto;
}

.footer-brand > a {
  line-height: 0;
}

.footer-brand img {
  height: auto;
}

.footer-contact address {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  color: rgba(255, 255, 255, .48);
  font-size: .78rem;
  font-style: normal;
  line-height: 1.55;
}

.hero-audiences li {
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 5px 18px rgba(22, 22, 23, .045);
}

.solution-card h3 {
  text-wrap: balance;
}

.footer-conversion-copy > p:last-child {
  max-width: 710px;
}

@media (max-width: 680px) {
  .brand {
    align-self: center;
  }

  .brand img {
    max-height: 64px;
    object-fit: contain;
    object-position: left center;
  }
}

/* ============================================================
   DIVI 4 — Isolation pleine largeur
   Le shortcode est rendu dans :
   .et_pb_section > .et_pb_row > .et_pb_column > .et_pb_code
     > .et_pb_code_inner > .ajp-v4
   On casse les contraintes Divi pour que la landing contrôle
   elle-même ses largeurs via .shell.
   ============================================================ */

.et_pb_section:has(.ajp-v4) {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  background: none !important;
}

.et_pb_section:has(.ajp-v4) > .et_pb_row {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

.et_pb_section:has(.ajp-v4) .et_pb_column {
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
}

.et_pb_section:has(.ajp-v4) .et_pb_code,
.et_pb_section:has(.ajp-v4) .et_pb_code_inner {
  max-width: 100% !important;
  width: 100% !important;
}

/* Divi typography resets.
   NB : surtout PAS de line-height:inherit ici — les titres maquette
   utilisent des interlignes serrés (.995/1.015) qu'il faut préserver. */
.ajp-v4 h1, .ajp-v4 h2, .ajp-v4 h3,
.ajp-v4 h4, .ajp-v4 h5, .ajp-v4 h6 {
  padding-bottom: 0 !important;
}

.ajp-v4 p {
  padding-bottom: 0 !important;
}

.ajp-v4 a {
  text-decoration: none;
}

/* Hide Divi default header when our landing is present */
body:has(.ajp-v4) #main-header,
body:has(.ajp-v4) #top-header,
body:has(.ajp-v4) #main-footer {
  display: none !important;
}

/* WordPress admin bar : offset le header fixe */
body.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

body.admin-bar .ajp-v4 .hero {
  padding-top: calc(var(--header-h) + 58px + 32px);
}

@media (max-width: 782px) {
  body.admin-bar .ajp-v4 .hero {
    padding-top: calc(var(--header-h) + 40px + 46px);
  }
}

/* Dialog au-dessus de tout (Divi z-index monte à ~100000) */
.ajp-v4 .contact-dialog {
  z-index: 999999 !important;
}

.ajp-v4 .site-header {
  z-index: 100001 !important;
}

/* ============================================================
   UX / UI POLISH
   ============================================================ */

/* Smooth scroll pour les ancres internes.
   Ne JAMAIS activer scroll-behavior:smooth quand l'option Divi
   « Défilement fluide » (body.et_smooth_scroll) est active : son hijack
   molette (Chrome/Safari) + CSS smooth = scroll gelé. */
html:has(.ajp-v4) {
  scroll-padding-top: 120px;
}

html:has(body.admin-bar .ajp-v4) {
  scroll-padding-top: 152px;
}

html:has(.ajp-v4):not(:has(.et_smooth_scroll)) {
  scroll-behavior: smooth;
}

/* ============================================================
   HERO — illustration en fond pleine section (full-bleed)
   ============================================================ */

.ajp-v4 .hero {
  position: relative;
  overflow: hidden;
}

.ajp-v4 .hero-visual {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: 0;
  width: min(56vw, 1060px);
  min-height: 0;
  margin: 0;
  overflow: hidden;
  pointer-events: none;
}

/* Route vectorielle : nette à toutes les tailles et densités d'écran. */
.ajp-v4 .hero-road-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: translate3d(0, var(--hero-shift, 0), 0);
  transition: transform .15s linear;
}

.ajp-v4 .hero-road-side {
  stroke: #cfcfcd;
  stroke-width: 3;
  stroke-dasharray: 5 17;
  stroke-linecap: round;
  opacity: .85;
}

.ajp-v4 .hero-road-outline {
  stroke: #dadad8;
  stroke-width: 214;
  stroke-linecap: round;
}

.ajp-v4 .hero-road-base {
  stroke: #161617;
  stroke-width: 188;
  stroke-linecap: round;
}

.ajp-v4 .hero-road-dash {
  stroke: rgba(255, 255, 255, .92);
  stroke-width: 4;
  stroke-dasharray: 27 34;
  stroke-linecap: round;
}

.ajp-v4 .hero-point-glow {
  fill: var(--red);
  opacity: .18;
}

.ajp-v4 .hero-aj-point {
  fill: var(--red);
  stroke: #fff;
  stroke-width: 5;
  filter: drop-shadow(0 4px 9px rgba(var(--red-rgb), .35));
}

/* Fondu de raccord avec le blanc de la page, côté texte */
.ajp-v4 .hero-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  border-radius: 0;
  box-shadow: none;
  background: linear-gradient(90deg,
    #fff 0%,
    rgba(255, 255, 255, .72) 16%,
    rgba(255, 255, 255, 0) 44%);
}

.ajp-v4 .hero-grid {
  grid-template-columns: minmax(0, 660px);
  gap: 0;
}

.ajp-v4 .hero-copy {
  max-width: 660px;
  padding: 28px 0 64px;
}

/* ============================================================
   RESPIRATION VERTICALE — séparations de sections plus aérées
   ============================================================ */

.ajp-v4 .section {
  padding-block: clamp(104px, 10vw, 158px);
}

/* Le hero garde son propre rythme (header fixe + rail en bas) */
.ajp-v4 .hero {
  padding-top: calc(var(--header-h) + 58px);
  padding-bottom: 70px;
}

/* Bloc conversion pré-footer : décollé de l'illustration route
   (l'ancien margin-top négatif passait sous le SVG et tronquait le haut) */
.ajp-v4 .footer-conversion {
  margin-top: clamp(38px, 5vw, 68px);
}

/* Service rail : cartes plus généreuses */
.ajp-v4 .service-rail {
  border-radius: 16px;
  box-shadow: 0 6px 32px rgba(22, 22, 23, .06);
}

/* Solution cards : hover amélioré */
.ajp-v4 .solution-card {
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.ajp-v4 .solution-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(22, 22, 23, .10);
}

/* Resource cards : hover cohérent */
.ajp-v4 .resource-card {
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.ajp-v4 .resource-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(22, 22, 23, .09);
}

/* Stage card : ombre de profondeur */
.ajp-v4 .stage-card {
  box-shadow: 0 12px 44px rgba(22, 22, 23, .07);
}

/* Footer conversion : CTA plus visible */
.ajp-v4 .footer-conversion .button-primary {
  font-size: 1rem;
  min-height: 56px;
  padding-inline: 32px;
}

/* Back to top : polish */
.ajp-v4 .back-to-top .icon {
  transform: rotate(-90deg);
}

/* Toast : au-dessus de Divi */
.ajp-v4 .toast {
  z-index: 999998;
}

/* Check list icônes : alignement */
.ajp-v4 .check-list .icon {
  flex-shrink: 0;
}

/* Difference list : icônes alignées */
.ajp-v4 .difference-list .icon {
  flex-shrink: 0;
}

/* ============================================================
   RESPONSIVE POLISH — Divi context
   ============================================================ */

@media (max-width: 920px) {
  .ajp-v4 .hero {
    min-height: auto;
  }

  /* Le hero réserve un bandeau en bas : la route ne chevauche
     jamais le texte ni les CTA sur mobile. */
  .ajp-v4 .hero {
    padding-bottom: 340px;
  }

  .ajp-v4 .hero-visual {
    inset: auto 0 0 0;
    width: 100%;
    height: 320px;
  }

  /* Cadrage : le virage + la voiture visibles dans le bandeau */
  .ajp-v4 .hero-road-svg {
    inset: -8% -10% auto auto;
    width: 130%;
    height: auto;
    aspect-ratio: 9 / 10;
  }

  .ajp-v4 .hero-visual::after {
    background: linear-gradient(180deg,
      #fff 0%,
      rgba(255, 255, 255, .35) 30%,
      rgba(255, 255, 255, 0) 62%);
  }

  .ajp-v4 .footer-grid {
    gap: 36px;
  }
}

@media (max-width: 680px) {
  .ajp-v4 .solution-card:hover,
  .ajp-v4 .resource-card:hover {
    transform: none;
  }

  .ajp-v4 .footer-conversion .button-primary {
    width: 100%;
    justify-content: center;
  }

  .ajp-v4 .footer-bottom {
    text-align: center;
  }
}


/* ============================================================
   MÉTHODE — TRAVELLING ÉPINGLÉ (v2.5.0)
   La section s'épingle ~5 écrans : la route défile, chaque point
   d'étape s'ancre au centre, la voiture (voie de droite) glisse
   avec un mouvement amorti puis sort du cadre à droite.
   ============================================================ */

.ajp-v4 .methode-pin {
  height: 500vh;
  padding: 0 !important;
  overflow: visible;
  background: none;
}

.ajp-v4 .methode-stage {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 25%, rgba(22, 22, 23, .022), transparent 24rem),
    linear-gradient(180deg, #fff, #fbfbfa 100%);
}

body.admin-bar .ajp-v4 .methode-stage {
  top: 32px;
  min-height: calc(100vh - 32px);
}

.ajp-v4 .methode-stage-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.ajp-v4 .methode-heading-pin { margin-bottom: 0; }

.ajp-v4 .methode-heading-pin h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 3.1vw, 3.1rem);
}

.ajp-v4 .methode-heading-pin .methode-lead {
  max-width: 500px;
  margin-top: 14px;
  font-size: .95rem;
}

.ajp-v4 .methode-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 8px;
}

.ajp-v4 .methode-progress-label {
  color: #606062;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ajp-v4 .methode-progress-label b { color: var(--ink, #161617); }

.ajp-v4 .methode-ticks { display: flex; gap: 6px; }

.ajp-v4 .methode-ticks i {
  width: 26px;
  height: 4px;
  border-radius: 2px;
  background: rgba(22, 22, 23, .12);
  transition: background .3s;
}

.ajp-v4 .methode-ticks i.on { background: var(--red); }

/* Scène de travelling — les variables pilotent la géométrie (JS les relit) */
.ajp-v4 .methode-scene {
  --scene-h: 560px;
  --icon-top: 350;
  --car-s: .66;
  --marker-r: 18;
  --lane: 19;
  position: relative;
  width: 100%;
  height: var(--scene-h);
  overflow: hidden;
}

.ajp-v4 .methode-world {
  position: absolute;
  top: 0;
  left: 0;
  width: 2600px;
  height: 100%;
  will-change: transform;
}

.ajp-v4 .methode-world > svg {
  position: absolute;
  inset: 0;
  z-index: 1;   /* route, points et voiture au-dessus des traits de liaison */
  width: 2600px;
  height: 560px;
  overflow: visible;
}

.ajp-v4 .methode-road-outline {
  fill: none;
  stroke: #d6d6d4;
  stroke-width: 88;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .94;
}

.ajp-v4 .methode-road-base {
  fill: none;
  stroke: #161617;
  stroke-width: 72;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ajp-v4 .methode-road-dash {
  fill: none;
  stroke: rgba(255, 255, 255, .92);
  stroke-width: 2.7;
  stroke-dasharray: 15 17;
}

.ajp-v4 .methode-marker circle {
  fill: #fff;
  stroke: #bcbcba;
  stroke-width: 2.5;
  transition: fill .3s, stroke .3s;
}

.ajp-v4 .methode-marker text {
  fill: #161617;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  text-anchor: middle;
  transition: fill .3s;
}

.ajp-v4 .methode-marker.is-active circle { fill: var(--red); stroke: #fff; }
.ajp-v4 .methode-marker.is-active text { fill: #fff; }

/* Contenus flottants : icône cerclée reliée à son point, titre, sous-titre */
.ajp-v4 .fl-step {
  position: absolute;
  z-index: 0;   /* sous le calque route/voiture */
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 300px;
  text-align: center;
  transform: translateX(-50%);
  opacity: .42;
  transition: opacity .45s ease;
}

.ajp-v4 .fl-step.is-active { opacity: 1; }

.ajp-v4 .fl-line {
  display: block;
  width: 2px;
  background: linear-gradient(180deg, rgba(22, 22, 23, .28), rgba(22, 22, 23, .1));
}

.ajp-v4 .fl-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-top: -1px;
  background: #fff;
  border: 1.5px solid rgba(22, 22, 23, .1);
  border-radius: 50%;
  box-shadow: 0 10px 26px rgba(22, 22, 23, .1);
  transition: border-color .45s, box-shadow .45s, transform .45s;
}

.ajp-v4 .fl-step.is-active .fl-icon { transform: scale(1.08); }

.ajp-v4 .fl-icon .icon {
  width: 26px;
  height: 26px;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ajp-v4 .fl-blue .icon { stroke: var(--blue); }
.ajp-v4 .fl-orange .icon { stroke: var(--orange); }
.ajp-v4 .fl-green .icon { stroke: var(--green); }
.ajp-v4 .fl-purple .icon { stroke: var(--purple); }
.ajp-v4 .fl-step.is-active.fl-blue .fl-icon { border-color: var(--blue); box-shadow: 0 12px 30px rgba(23, 99, 238, .25); }
.ajp-v4 .fl-step.is-active.fl-orange .fl-icon { border-color: var(--orange); box-shadow: 0 12px 30px rgba(255, 107, 22, .28); }
.ajp-v4 .fl-step.is-active.fl-green .fl-icon { border-color: var(--green); box-shadow: 0 12px 30px rgba(0, 168, 107, .25); }
.ajp-v4 .fl-step.is-active.fl-purple .fl-icon { border-color: var(--purple); box-shadow: 0 12px 30px rgba(106, 34, 232, .25); }

.ajp-v4 .fl-step h3 {
  margin: 16px 0 0;
  font-size: 1.45rem;
  font-weight: 800;
}

.ajp-v4 .fl-step p {
  max-width: 30ch;
  margin: 8px 0 0;
  color: #606062;
  font-size: 1.02rem;
  line-height: 1.5;
}

/* Laptops compacts et écrans peu hauts */
@media (max-width: 1280px), (max-height: 840px) {
  .ajp-v4 .methode-scene { --scene-h: 500px; --icon-top: 322; --car-s: .6; }
  .ajp-v4 .fl-step h3 { font-size: 1.3rem; }
  .ajp-v4 .fl-step p { font-size: .96rem; }
}

/* Tablettes paysage */
@media (max-width: 1120px) {
  .ajp-v4 .methode-scene { --scene-h: 470px; --icon-top: 306; --car-s: .56; --marker-r: 16; --lane: 16; }
  .ajp-v4 .methode-road-outline { stroke-width: 76; }
  .ajp-v4 .methode-road-base { stroke-width: 62; }
  .ajp-v4 .fl-step { width: 260px; }
  .ajp-v4 .fl-icon { width: 56px; height: 56px; }
  .ajp-v4 .fl-icon .icon { width: 23px; height: 23px; }
}

/* Mobile : pas d'épinglage, retour à la liste verticale existante */
@media (max-width: 920px) {
  .ajp-v4 .methode-pin {
    height: auto;
    padding-block: clamp(88px, 10vw, 120px) !important;
    background:
      radial-gradient(circle at 12% 25%, rgba(22, 22, 23, .022), transparent 24rem),
      linear-gradient(180deg, #fff, #fbfbfa 100%);
  }

  .ajp-v4 .methode-stage {
    position: static;
    display: block;
    min-height: 0;
    overflow: visible;
    background: none;
  }

  .ajp-v4 .methode-stage-head { display: block; }
  .ajp-v4 .methode-scene,
  .ajp-v4 .methode-progress { display: none; }
  .ajp-v4 .methode-heading-pin h2 { font-size: 2.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .ajp-v4 .fl-step,
  .ajp-v4 .fl-icon,
  .ajp-v4 .methode-marker circle,
  .ajp-v4 .methode-marker text,
  .ajp-v4 .methode-ticks i { transition: none; }
}


/* ============================================================
   STAGES — polish (v2.6.0)
   ============================================================ */

/* Divi recolore les <a> : les boutons-liens gardent leur couleur */
.ajp-v4 a.button {
  color: var(--button-color, #161617) !important;
}

/* Planning des sessions dans la carte */
.ajp-v4 .stage-sessions {
  padding: 18px 24px 20px;
  background: linear-gradient(180deg, #f7f7f5, #f3f3f1);
  border-top: 1px solid rgba(22, 22, 23, .07);
}

.ajp-v4 .stage-sessions-title {
  display: block;
  margin-bottom: 10px;
  color: #606062;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.ajp-v4 .stage-session-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
}

.ajp-v4 .stage-session-row + .stage-session-row {
  border-top: 1px solid rgba(22, 22, 23, .06);
}

.ajp-v4 .stage-session-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.ajp-v4 .stage-session-date {
  color: var(--ink, #161617);
  font-size: .9rem;
  font-weight: 750;
}

.ajp-v4 .stage-session-place {
  color: #606062;
  font-size: .8rem;
}

.ajp-v4 .stage-session-status {
  flex-shrink: 0;
  padding: 4px 11px;
  color: var(--red);
  background: rgba(var(--red-rgb), .07);
  border: 1px solid rgba(var(--red-rgb), .16);
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Notice quand aucune session n'est planifiée */
.ajp-v4 .stage-sessions-empty {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 2px 0 0;
  color: #606062;
  font-size: .88rem;
}

.ajp-v4 .stage-sessions-empty .icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: #9d9d9b;
}


/* ============================================================
   NARRATION & NAVIGATION (v2.7.0)
   ============================================================ */

/* « chaque étape compte » : soulignement marqueur rouge brand,
   dessiné à l'apparition de la section */
.ajp-v4 .methode-underline {
  position: relative;
  z-index: 0;
  color: inherit;   /* neutralise le rouge des spans de titres */
}

.ajp-v4 .methode-underline::after {
  position: absolute;
  right: -.06em;
  bottom: .015em;
  left: -.06em;
  z-index: -1;
  height: .13em;
  content: "";
  background: linear-gradient(90deg, var(--red) 0%, var(--red-bright) 100%);
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .9s cubic-bezier(.2, .8, .2, 1) .35s;
}

.ajp-v4 .methode-pin.is-inview .methode-underline::after {
  transform: scaleX(1);
}

/* Bouton flottant retour haut de page — point AJ brandé */
.ajp-v4 .ajp-scroll-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 99990;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  padding: 0;
  color: #fff;
  background: var(--red);
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 10px 28px rgba(var(--red-rgb), .35), 0 3px 10px rgba(22, 22, 23, .18);
  cursor: pointer;
  opacity: 0;
  transform: translateY(14px) scale(.9);
  pointer-events: none;
  transition: opacity .35s ease, transform .35s cubic-bezier(.2, .8, .2, 1), background .25s;
}

.ajp-v4 .ajp-scroll-top.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.ajp-v4 .ajp-scroll-top:hover {
  background: var(--red-dark);
}

.ajp-v4 .ajp-scroll-top:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.ajp-v4 .ajp-scroll-top .icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: rotate(-90deg);
}

@media (max-width: 680px) {
  .ajp-v4 .ajp-scroll-top {
    right: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ajp-v4 .methode-underline::after {
    transform: scaleX(1);
    transition: none;
  }

  .ajp-v4 .ajp-scroll-top {
    transition: opacity .2s ease;
    transform: none;
  }

  .ajp-v4 .ajp-scroll-top.is-visible {
    transform: none;
  }
}


/* ============================================================
   SOLUTIONS — cartes enrichies esprit brandbook (v2.8.0)
   4 colonnes desktop/laptop · carousel horizontal ≤900px.
   ============================================================ */

.ajp-v4 .solution-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.ajp-v4 .solution-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 392px;
  padding: 28px 24px 24px;
  overflow: hidden;
  background: #fff;
}

.ajp-v4 .solution-card > .card-index { display: none; }

/* Signature discrète : tiret service en tête + halo pastel en coin */
.ajp-v4 .solution-card::before {
  position: absolute;
  top: 0;
  left: 24px;
  width: 34px;
  height: 4px;
  content: "";
  background: var(--accent);
  border-radius: 0 0 6px 6px;
}

.ajp-v4 .solution-card::after {
  position: absolute;
  right: -46px;
  bottom: -46px;
  z-index: 0;
  width: 190px;
  height: 190px;
  content: "";
  pointer-events: none;
  background: var(--accent);
  border-radius: 50%;
  opacity: .06;
  filter: blur(34px);
  transition: opacity .3s;
}

.ajp-v4 .solution-card:hover::after { opacity: .1; }

.ajp-v4 .solution-card > * {
  position: relative;
  z-index: 1;
}

.ajp-v4 .solution-lens {
  display: block;
  width: 62px;
  height: 62px;
  margin-bottom: 2px;
}

.ajp-v4 .solution-lens svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}

.ajp-v4 .solution-eyebrow {
  margin: 14px 0 0;
  color: var(--accent);
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.ajp-v4 .solution-card h3 {
  margin: 9px 0 0;
  font-size: clamp(1.1rem, 1.35vw, 1.28rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -.02em;
}

.ajp-v4 .solution-card h3 span { color: var(--accent); }

.ajp-v4 .solution-card .solution-desc {
  margin: 10px 0 20px;
  color: var(--muted);
  font-size: .865rem;
  line-height: 1.6;
}

.ajp-v4 .solution-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--accent) !important;
  font-size: .9rem;
  font-weight: 750;
}

.ajp-v4 .solution-card a .icon {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .25s ease;
}

.ajp-v4 .solution-card a:hover .icon { transform: translateX(4px); }

@media (max-width: 1120px) and (min-width: 901px) {
  .ajp-v4 .solution-grid { gap: 12px; }
  .ajp-v4 .solution-card { min-height: 412px; padding: 24px 18px 20px; }
}

/* Carousel horizontal : tablette portrait & mobile */
@media (max-width: 900px) {
  .ajp-v4 .solution-grid {
    display: flex;
    gap: 14px;
    margin-inline: -32px;
    padding: 6px 32px 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline-start: 32px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .ajp-v4 .solution-grid::-webkit-scrollbar { display: none; }

  .ajp-v4 .solution-card {
    flex: 0 0 min(76vw, 316px);
    min-height: 0;
    padding: 24px 22px 22px;
    scroll-snap-align: start;
  }

  .ajp-v4 .solution-card h3 { font-size: 1.18rem; }
}


/* ============================================================
   RESSOURCES — passe brandbook v2.2 (v2.9.0)
   Traitement photo officiel (p.24) : cartouche de catégorie,
   trajectoire et checkpoint en surimpression. Couleur de service
   par carte, fond AJ MIST.
   ============================================================ */

.ajp-v4 .resources {
  background: linear-gradient(180deg, var(--mist), #fff 92%);
  border-top: 1px solid rgba(22, 22, 23, .05);
}

.ajp-v4 .resource-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-xs);
  overflow: hidden;
}

/* Média : image + trajectoire + cartouche de catégorie */
.ajp-v4 .resource-media {
  position: relative;
  height: 178px;
  min-height: 0;
  padding: 0;          /* neutralise le padding hérité de .resource-card > div */
  overflow: hidden;
}

.ajp-v4 .resource-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}

.ajp-v4 .resource-card:hover .resource-media img { transform: scale(1.05); }

/* Voile bas pour asseoir le cartouche */
.ajp-v4 .resource-media::after {
  position: absolute;
  inset: auto 0 0 0;
  height: 62%;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(22, 22, 23, .78));
}

.ajp-v4 .resource-tag {
  position: absolute;
  bottom: 14px;
  left: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #fff;
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.ajp-v4 .resource-tag::before {
  width: 20px;
  height: 3px;
  content: "";
  background: var(--accent);
  border-radius: 2px;
}

/* Corps : titre puis CTA en couleur de service */
.ajp-v4 .resource-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
  padding: 20px 22px 22px;
}

.ajp-v4 .resource-body h3 {
  margin: 0 0 18px;
  font-size: 1.08rem;
  font-weight: 780;
  line-height: 1.28;
  letter-spacing: -.015em;
}

.ajp-v4 .resource-body a,
.ajp-v4 .resource-body button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 0;
  color: var(--accent) !important;
  font-size: .86rem;
  font-weight: 750;
  background: none;
  border: 0;
  cursor: pointer;
}

.ajp-v4 .resource-body .icon {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .25s ease;
}

.ajp-v4 .resource-body a:hover .icon,
.ajp-v4 .resource-body button:hover .icon { transform: translateX(4px); }

/* Couleur de service par carte */
.ajp-v4 .resource-card.svc-blue { --accent: var(--blue); }
.ajp-v4 .resource-card.svc-orange { --accent: var(--orange); }
.ajp-v4 .resource-card.svc-green { --accent: var(--green); }
.ajp-v4 .resource-card.svc-purple { --accent: var(--purple); }

@media (max-width: 1120px) {
  .ajp-v4 .resource-media { height: 164px; }
}

@media (max-width: 920px) {
  .ajp-v4 .resources > .shell { grid-template-columns: 1fr; gap: 28px; }
  .ajp-v4 .resources .section-heading { align-self: start; }
}

@media (max-width: 680px) {
  .ajp-v4 .resource-media { height: 158px; }
  .ajp-v4 .resource-body { padding: 18px 20px 20px; }
}


/* ============================================================
   EXPERTISE — passe brandbook v2.2 (v2.9.0)
   Traitement photo officiel (p.24) : trajectoire, checkpoint et
   cartouche « Expertise / Observer · analyser · recommander ».
   ============================================================ */

.ajp-v4 .expertise-photo {
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 24px 64px rgba(22, 22, 23, .13);
}

/* Voile bas : assied le cartouche sans noircir la photo */
.ajp-v4 .expertise-photo::before {
  background: linear-gradient(180deg, transparent 46%, rgba(22, 22, 23, .74));
}

.ajp-v4 .expertise-photo img {
  border-radius: 0;
  transform: none;
}

/* Cartouche : bas gauche, aligné sur la grille du brandbook */
.ajp-v4 .expertise-photo figcaption {
  right: auto;
  bottom: 26px;
  left: 28px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  max-width: none;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  backdrop-filter: none;
}

.ajp-v4 .photo-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.ajp-v4 .photo-tag::before {
  width: 24px;
  height: 3px;
  content: "";
  background: var(--red);
  border-radius: 2px;
}

.ajp-v4 .photo-sub {
  color: rgba(255, 255, 255, .82);
  font-size: .82rem;
  font-weight: 550;
  letter-spacing: .01em;
}

@media (max-width: 920px) {
  .ajp-v4 .expertise-photo { border-radius: 18px; }
  .ajp-v4 .expertise-photo figcaption { bottom: 20px; left: 20px; }
  .ajp-v4 .photo-tag { font-size: .68rem; }
  .ajp-v4 .photo-sub { font-size: .76rem; }
}


/* ============================================================
   DIFFÉRENCE — passe brandbook v2.2 (v2.9.0)
   Le halo rouge décoratif cède la place au motif officiel :
   route sobre, checkpoint unique comme seul signal rouge.
   ============================================================ */

/* Accotement clair : détache la route du fond sombre */
.ajp-v4 .difference-outline {
  fill: none;
  stroke: rgba(255, 255, 255, .16);
  stroke-width: 92;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ajp-v4 .difference-base {
  fill: none;
  stroke: #0a0a0b;
  stroke-width: 76;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: none;
}

.ajp-v4 .difference-dash {
  fill: none;
  stroke: rgba(255, 255, 255, .9);
  stroke-width: 2.8;
  stroke-dasharray: 13 14;
  stroke-linecap: round;
}

/* Checkpoint : l'unique signal rouge de la composition */
.ajp-v4 .difference-point-glow {
  fill: var(--red);
  opacity: .2;
}

.ajp-v4 .difference-point {
  fill: var(--red);
  stroke: #fff;
  stroke-width: 4;
  filter: drop-shadow(0 4px 10px rgba(var(--red-rgb), .4));
}

/* Fond : halo rouge ambiant nettement adouci */
.ajp-v4 .difference {
  background:
    radial-gradient(circle at 10% 72%, rgba(var(--red-rgb), .075), transparent 17rem),
    radial-gradient(circle at 82% 0%, rgba(255, 255, 255, .04), transparent 28rem),
    linear-gradient(135deg, #101011 0%, #191919 56%, #0b0b0c 100%);
}

/* Icônes de la liste neutralisées : le rouge reste au checkpoint */
.ajp-v4 .difference-list .icon {
  color: rgba(255, 255, 255, .72);
}

.ajp-v4 .difference-list li {
  transition: color .25s ease;
}

.ajp-v4 .difference-list li:hover .icon {
  color: #fff;
}

/* Cadrage : la portion basse de la route — voiture et checkpoint —
   doit rester dans le champ sans empiéter sur la colonne de texte. */
.ajp-v4 .difference-road {
  left: -30px;
  bottom: -48px;
  width: min(38vw, 520px);
}

/* Sur fond sombre, c'est l'accotement clair qui dessine la route */
.ajp-v4 .difference-outline { stroke: rgba(255, 255, 255, .22); }

@media (max-width: 1120px) {
  .ajp-v4 .difference-road { left: -70px; width: min(42vw, 440px); opacity: .6; }
}


/* ============================================================
   FOOTER — passe brandbook v2.2 (v2.9.0)
   Le rouge reste réservé au signal : checkpoint d'arrivée,
   filet de l'eyebrow, accent du titre et bouton d'action.
   ============================================================ */

.ajp-v4 .footer-contact a .icon,
.ajp-v4 .footer-contact address .icon,
.ajp-v4 .footer-call .icon {
  color: rgba(255, 255, 255, .55);
  transition: color .25s ease;
}

.ajp-v4 .footer-contact a:hover .icon,
.ajp-v4 .footer-call:hover .icon {
  color: #fff;
}

/* Checkpoint d'arrivée : dernier point du parcours, jamais masqué */
.ajp-v4 .footer-aj-point {
  stroke-width: 5;
  filter: drop-shadow(0 4px 12px rgba(var(--red-rgb), .45));
}

.ajp-v4 .footer-point-glow { opacity: .28; }


/* ============================================================
   MODALE DE CONTACT — passe brandbook v2.2 (v2.9.0)
   Le halo décoratif cède la place au filet rouge (primitive
   « structure, ancrage, transition »). Palette et champs alignés.
   ============================================================ */

.ajp-v4 .dialog-panel {
  overflow: hidden;
  background: #fff;
  border-radius: 24px;
}

/* Filet rouge de tête : ancre la modale dans l'identité */
.ajp-v4 .dialog-panel::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, var(--red) 0%, var(--red) 34%, rgba(var(--red-rgb), .12) 100%);
}

.ajp-v4 .dialog-panel h2 {
  max-width: 15ch;
  font-size: clamp(1.85rem, 3.4vw, 2.6rem);
  line-height: 1.06;
}

.ajp-v4 .dialog-panel > p:not(.eyebrow) {
  max-width: 58ch;
  font-size: .93rem;
  line-height: 1.62;
}

.ajp-v4 .dialog-close {
  background: var(--mist);
  border: 1px solid var(--line);
  transition: background .2s, border-color .2s;
}

.ajp-v4 .dialog-close:hover {
  background: #fff;
  border-color: rgba(var(--red-rgb), .4);
}

/* Champs : palette officielle, libellés lisibles */
.ajp-v4 .form-grid { margin-block: 26px 16px; }

.ajp-v4 .form-grid label {
  color: var(--ink);
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .005em;
}

.ajp-v4 .contact-dialog input,
.ajp-v4 .contact-dialog select,
.ajp-v4 .contact-dialog textarea {
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: .93rem;
}

.ajp-v4 .contact-dialog input::placeholder,
.ajp-v4 .contact-dialog textarea::placeholder {
  color: var(--muted-2, #929290);
}

/* Consentement : texte légal lisible */
.ajp-v4 .consent {
  align-items: center;
  padding: 12px 14px;
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.5;
  background: var(--mist);
  border-radius: 12px;
}

.ajp-v4 .consent input {
  width: 17px;
  height: 17px;
  margin-top: 0;
  accent-color: var(--red);
  flex-shrink: 0;
}

.ajp-v4 .form-status {
  margin-top: 14px;
  font-size: .85rem;
}

@media (max-width: 680px) {
  .ajp-v4 .dialog-panel { border-radius: 20px; }
  .ajp-v4 .dialog-panel h2 { font-size: 1.7rem; }
}

/* Focus visible : doit rester déclaré après les styles de champ */
.ajp-v4 .contact-dialog input:focus,
.ajp-v4 .contact-dialog select:focus,
.ajp-v4 .contact-dialog textarea:focus {
  background: #fff;
  border-color: rgba(var(--red-rgb), .6);
  box-shadow: 0 0 0 4px rgba(var(--red-rgb), .1);
}

.ajp-v4 .contact-dialog input:focus-visible,
.ajp-v4 .contact-dialog select:focus-visible,
.ajp-v4 .contact-dialog textarea:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.ajp-v4 .consent:focus-within {
  box-shadow: 0 0 0 2px rgba(var(--red-rgb), .25);
}


/* ============================================================
   MISSION — texte de fond fourni par AJpoints (v2.10.0)
   Colonne de lecture confortable, engagement en exergue.
   ============================================================ */

.ajp-v4 .mission {
  padding-block: clamp(84px, 8vw, 116px);
  background: linear-gradient(180deg, #fff, var(--mist) 96%);
}

.ajp-v4 .mission-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: clamp(40px, 5vw, 84px);
  row-gap: 34px;
  align-items: start;
}

.ajp-v4 .mission-intro { position: sticky; top: 128px; }

.ajp-v4 .mission-intro h2 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(1.95rem, 3vw, 2.85rem);
  line-height: 1.08;
}

.ajp-v4 .mission-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 68ch;
}

.ajp-v4 .mission-body p {
  margin: 0;
  color: var(--muted);
  font-size: .97rem;
  line-height: 1.75;
}

/* Premier paragraphe en attaque : pose le contexte */
.ajp-v4 .mission-body p:first-child {
  color: var(--text);
  font-size: 1.06rem;
  line-height: 1.68;
}

/* Engagement : filet rouge et voix de la marque */
.ajp-v4 .mission-pledge {
  grid-column: 2;
  margin-top: 8px;
  padding: 22px 0 4px 26px;
  border-left: 3px solid var(--red);
}

.ajp-v4 .mission-pledge-label {
  margin: 0 0 8px;
  color: var(--red);
  font-size: .69rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.ajp-v4 .mission-pledge-text {
  max-width: 46ch;
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.08rem, 1.5vw, 1.3rem);
  font-weight: 720;
  line-height: 1.42;
  letter-spacing: -.015em;
}

@media (max-width: 920px) {
  .ajp-v4 .mission-grid { grid-template-columns: 1fr; }
  .ajp-v4 .mission-intro { position: static; }
  .ajp-v4 .mission-pledge { grid-column: 1; padding-left: 20px; }
}


/* Verrouillage du défilement pendant la modale : `position: fixed` fige la page
   à sa position exacte (le JS la restitue à la fermeture). */
.ajp-v4 body.is-dialog-open,
body.is-dialog-open {
  position: fixed;
  left: 0;
  width: 100%;
  overflow: hidden;
}


/* ============================================================
   MENU — élargissement et respiration (v2.12.0)
   Le header sort du gabarit de contenu : il occupe toute la
   largeur utile, avec des liens plus espacés et plus lisibles.
   ============================================================ */

.ajp-v4 .site-header { height: 104px; }
.ajp-v4 .site-header.is-scrolled { height: 84px; }

/* Le bandeau déborde le conteneur de contenu (1280px) */
.ajp-v4 .header-inner {
  width: min(calc(100% - 72px), 1560px);
  grid-template-columns: 190px 1fr auto;
  gap: 40px;
}

.ajp-v4 .primary-nav {
  gap: clamp(26px, 3vw, 52px);
}

.ajp-v4 .primary-nav a {
  padding-block: 14px;
  font-size: .9rem;
  font-weight: 660;
  letter-spacing: -.005em;
  white-space: nowrap;
}

.ajp-v4 .header-cta {
  min-height: 52px;
  padding-inline: 26px 12px;
  font-size: .88rem;
}

/* Séparation nette une fois la page défilée */
.ajp-v4 .site-header.is-scrolled {
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 28px rgba(22, 22, 23, .05);
}

@media (max-width: 1400px) {
  .ajp-v4 .header-inner { width: min(calc(100% - 56px), 1360px); gap: 30px; }
  .ajp-v4 .primary-nav { gap: clamp(20px, 2.3vw, 36px); }
  .ajp-v4 .primary-nav a { font-size: .855rem; }
}

@media (max-width: 1180px) {
  .ajp-v4 .header-inner { grid-template-columns: 172px 1fr auto; gap: 22px; }
  .ajp-v4 .primary-nav { gap: 18px; }
  .ajp-v4 .primary-nav a { font-size: .8rem; }
  .ajp-v4 .header-cta { padding-inline: 20px 10px; font-size: .82rem; }
}

@media (max-width: 920px) {
  .ajp-v4 .site-header { height: 84px; }
  .ajp-v4 .site-header.is-scrolled { height: 74px; }
  .ajp-v4 .header-inner { width: min(calc(100% - 40px), 100%); gap: 16px; }
}
