:root {
  --team-blue: #3657ff;
  --team-pale: #eef1ff;
}

/* Le header reste fixe sur toutes les familles de pages. */
.site-header {
  position: sticky !important;
  top: 0;
  z-index: 1000;
}

/* Même famille typographique que les portails du header. */
.footer-addresses strong,
.footer-addresses span,
.footer-philosophy h3,
.footer-philosophy p {
  font-family: Arial, Helvetica, sans-serif;
}

/* Méthode : respiration et pilotage à quatre appuis. */
.timeline-governance > h2 {
  margin-top: 26px;
}

.timeline-governance > div {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* RSE : tous les contenus suivent la même colonne éditoriale. */
.rse-page .content-section {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  column-gap: 54px;
}

.rse-page .content-section-head {
  display: contents;
}

.rse-page .content-story,
.rse-page .service-grid,
.rse-page .method-intro,
.rse-page .method-list,
.rse-page .rse-continuity {
  grid-column: 2;
  width: 100%;
  margin-left: 0;
}

.rse-page .service-grid {
  margin-top: 58px;
}

.rse-page .content-section:nth-of-type(2) {
  border-bottom: 0;
}

.rse-page .method-list {
  margin-bottom: 0;
  border-bottom: 0;
}

.rse-continuity {
  max-width: 920px;
  margin-top: 44px !important;
  padding: 30px 34px;
  color: #27304c;
  background: var(--team-pale);
  font-size: 17px;
  line-height: 1.7;
}

/* Conseil UX/UI : terrain, signaux et trajectoire. */
.ux-field,
.ux-track {
  max-width: 1320px;
  margin: 0 auto;
  padding: 90px 0;
}

.ux-field {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 90px;
}

.ux-field-intro h2,
.ux-track header h2 {
  max-width: 820px;
  margin: 18px 0 28px;
  font-size: clamp(38px, 4.2vw, 66px);
  letter-spacing: -.055em;
  line-height: .98;
}

.ux-field-intro > p:last-child {
  max-width: 660px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}

.ux-signals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.ux-signals article {
  min-height: 190px;
  padding: 28px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  transition: color 180ms ease, background 180ms ease;
}

.ux-signals article:hover {
  color: var(--white);
  background: var(--blue);
}

.ux-signals strong {
  font-size: 22px;
}

.ux-signals p {
  margin: 52px 0 0;
  line-height: 1.55;
}

.ux-track {
  max-width: none;
  padding-right: max(48px, calc((100vw - 1320px) / 2));
  padding-left: max(48px, calc((100vw - 1320px) / 2));
  background: #111;
  color: var(--white);
}

.ux-track header {
  margin-bottom: 52px;
}

.ux-track ol {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255,255,255,.42);
}

.ux-track li {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 150px;
  gap: 34px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255,255,255,.28);
  transition: padding 180ms ease, background 180ms ease;
}

.ux-track li:hover {
  padding-right: 20px;
  padding-left: 20px;
  background: var(--blue);
}

.ux-track li > span {
  color: #91a2ff;
  font-size: 13px;
  font-weight: 800;
}

.ux-track li h3 {
  margin: 0 0 8px;
  font-size: 27px;
}

.ux-track li p {
  max-width: 760px;
  margin: 0;
  color: #d2d2d2;
  line-height: 1.55;
}

.ux-track li:hover p {
  color: var(--white);
}

.ux-track li > strong {
  text-align: right;
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* Référentiels : signes typographiques plutôt que faux labels de conformité. */
.standards-ribbon {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 0;
  border-left: 1px solid var(--ink);
}

.standards-ribbon a {
  min-height: 150px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--ink);
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease;
}

.standards-ribbon a:hover,
.standards-ribbon a:focus-visible {
  color: var(--white);
  background: var(--blue);
}

.standards-ribbon strong {
  font-size: clamp(25px, 2.4vw, 39px);
  letter-spacing: -.04em;
}

.standards-ribbon span {
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .07em;
}

/* Cybersécurité : une respiration claire après le hero. */
.security-page .security-manifesto {
  color: var(--ink);
  background: var(--team-pale);
}

.security-page .security-manifesto .section-kicker {
  color: var(--blue);
}

.security-page .security-manifesto > div {
  grid-template-columns: 1fr 1fr;
}

.security-layers article h2 {
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.02;
}

/* CMS : sélection, écosystème et engagements. */
.cms-selector,
.cms-ecosystem,
.cms-practice {
  max-width: 1320px;
  margin: 0 auto;
  padding: 88px 0;
}

.cms-selector header,
.cms-practice > p {
  margin-bottom: 46px;
}

.cms-selector header h2,
.cms-ecosystem h2 {
  max-width: 830px;
  margin: 18px 0 0;
  font-size: clamp(38px, 4.3vw, 67px);
  letter-spacing: -.055em;
  line-height: .98;
}

.cms-selector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.cms-selector-grid article {
  min-height: 310px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  background: #f3f4f7;
  transition: transform 180ms ease, background 180ms ease;
}

.cms-selector-grid article:hover {
  transform: translateY(-6px);
  background: var(--team-pale);
}

.cms-selector-grid article > div {
  margin-top: auto;
}

.cms-selector-grid span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.cms-selector-grid h3 {
  margin: 10px 0 16px;
  font-size: 37px;
}

.cms-selector-grid p {
  color: var(--muted);
  line-height: 1.65;
}

.cms-ecosystem {
  max-width: none;
  padding-right: max(48px, calc((100vw - 1320px) / 2));
  padding-left: max(48px, calc((100vw - 1320px) / 2));
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 90px;
  align-items: center;
  color: var(--white);
  background: #111;
}

.cms-ecosystem-copy > p:last-child {
  max-width: 620px;
  color: #cfcfcf;
  font-size: 18px;
  line-height: 1.7;
}

.cms-hub {
  min-height: 500px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid #666;
  border-left: 1px solid #666;
}

.cms-hub > * {
  padding: 25px;
  display: flex;
  align-items: center;
  border-right: 1px solid #666;
  border-bottom: 1px solid #666;
}

.cms-hub strong {
  color: var(--white);
  background: var(--blue);
  font-size: 54px;
  letter-spacing: -.05em;
}

.cms-hub span {
  color: #ddd;
  font-size: 17px;
  font-weight: 700;
}

.cms-practice > div {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.cms-practice article {
  min-height: 245px;
  padding: 30px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.cms-practice article > span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.cms-practice h3 {
  margin: 60px 0 14px;
  font-size: 27px;
}

.cms-practice p {
  max-width: 520px;
  color: var(--muted);
  line-height: 1.6;
}

/* Références : le logo devient la signature visuelle de la carte. */
.project-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.project-card .client-logo-link {
  position: absolute;
  inset: 50% 8% auto;
  z-index: 0;
  width: 84%;
  min-height: 150px;
  justify-content: center;
  opacity: .075;
  transform: translateY(-50%);
}

.project-card > :not(.client-logo-link) {
  position: relative;
  z-index: 1;
}

.project-card .client-logo {
  max-width: 72%;
  max-height: 125px;
  filter: grayscale(1);
}

.project-card:hover .client-logo-link { opacity: .12; }

.portal-education .portal-ref:first-child img {
  max-width: 138px;
  max-height: 58px;
}

.portal-ref-name {
  display: flex;
  align-items: center;
  min-height: 90px;
  font-size: clamp(24px, 2.2vw, 38px);
  font-weight: 850;
  letter-spacing: -.045em;
}

.institutional-wordmark {
  gap: 11px;
  justify-content: flex-start;
  line-height: 1;
}

.institutional-wordmark b {
  display: block;
}

.institutional-wordmark small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: uppercase;
}

.wordmark-centrale {
  display: grid;
  align-content: center;
  gap: 0;
  font-size: clamp(25px, 2.4vw, 39px);
  line-height: .79;
  letter-spacing: -.065em;
}

.wordmark-centrale b:last-child {
  margin-left: 20px;
  color: var(--blue);
}

.wordmark-bnu b {
  font-size: clamp(38px, 3.3vw, 54px);
  font-weight: 900;
  letter-spacing: -.085em;
}

.wordmark-inp b {
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 3.5vw, 58px);
  font-weight: 700;
  letter-spacing: -.08em;
}

.client-wordmark-link {
  text-decoration: none;
}

.client-wordmark {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}

.client-wordmark b {
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 5vw, 76px);
  letter-spacing: -.08em;
}

.client-wordmark small {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .timeline-governance > div,
  .rse-page .content-section,
  .ux-field,
  .standards-ribbon,
  .cms-selector-grid,
  .cms-ecosystem,
  .cms-practice > div {
    grid-template-columns: 1fr 1fr;
  }

  .rse-page .content-story,
  .rse-page .service-grid,
  .rse-page .method-intro,
  .rse-page .method-list,
  .rse-page .rse-continuity {
    grid-column: 1 / -1;
  }

  .ux-field,
  .ux-track,
  .standards-ribbon,
  .cms-selector,
  .cms-ecosystem,
  .cms-practice {
    padding-right: 24px;
    padding-left: 24px;
  }

  .ux-track li {
    grid-template-columns: 52px 1fr;
  }

  .ux-track li > strong {
    grid-column: 2;
    text-align: left;
  }

}

/* Pages de preuve RGAA et RGESN. */
.audit-summary {
  max-width: 1320px;
  margin: 0 auto;
  padding: 74px 0;
  display: grid;
  grid-template-columns: 220px minmax(0, 880px);
  gap: 54px;
}

.audit-summary h2 {
  margin: 0 0 26px;
  font-size: clamp(36px, 4vw, 62px);
  line-height: .98;
  letter-spacing: -.055em;
}

.audit-summary p,
.audit-section p,
.audit-section li {
  color: var(--muted);
  line-height: 1.7;
}

.audit-score {
  display: inline-flex;
  margin-top: 20px;
  padding: 12px 16px;
  color: var(--white);
  background: var(--blue);
  font-weight: 800;
}

.audit-section {
  max-width: 1320px;
  margin: 0 auto;
  padding: 66px 0;
  display: grid;
  grid-template-columns: 220px minmax(0, 880px);
  gap: 54px;
  border-top: 1px solid rgba(17,17,17,.22);
}

.audit-section h2 {
  margin: 0 0 22px;
  font-size: clamp(30px, 3.2vw, 48px);
  letter-spacing: -.045em;
}

.audit-section ul {
  margin: 22px 0 0;
  padding-left: 20px;
}

@media (max-width: 900px) {
  .audit-summary,
  .audit-section {
    padding: 52px 24px;
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Le rugby reprend la logique du hero d'accueil : contenu à gauche, image forte à droite. */
.content-hero-rugby {
  min-height: 450px;
  padding: 0 0 0 max(48px, calc((100vw - 1320px) / 2));
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(360px, 1fr);
  align-items: stretch;
  overflow: hidden;
}

.rugby-hero-copy {
  padding: 62px 64px 48px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.content-hero-rugby h1 {
  max-width: 900px;
  font-size: clamp(36px, 3.1vw, 55px);
  white-space: normal;
}

.content-hero-rugby .content-lead {
  max-width: 760px;
}

.content-hero-rugby figure {
  min-width: 0;
  margin: 0;
  background: var(--ink);
  border-left: 1px solid var(--ink);
}

.content-hero-rugby figure img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: grayscale(1) contrast(1.1);
}

.rugby-hero-motto {
  max-width: 710px;
  margin: 40px 0 0;
  padding: 18px 0 0 22px;
  display: flex;
  align-items: baseline;
  gap: 18px;
  border-left: 4px solid var(--blue);
}

.rugby-hero-motto strong {
  flex: 0 0 auto;
  font-size: 20px;
}

.rugby-hero-motto span {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .content-hero-rugby {
    padding-left: 24px;
    grid-template-columns: minmax(0, 1fr) 300px;
  }

  .rugby-hero-copy {
    padding: 48px 34px 42px 0;
  }

  .rugby-hero-motto {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }
}

@media (max-width: 620px) {
  .content-hero-rugby {
    min-height: 0;
    padding: 0;
    grid-template-columns: 1fr;
  }

  .rugby-hero-copy {
    padding: 44px 24px;
  }

  .content-hero-rugby figure {
    height: 360px;
    border-top: 1px solid var(--ink);
    border-left: 0;
  }

  .rugby-hero-motto {
    margin-top: 32px;
  }

  .timeline-governance > div,
  .rse-page .content-section,
  .ux-field,
  .ux-signals,
  .standards-ribbon,
  .cms-selector-grid,
  .cms-ecosystem,
  .cms-practice > div {
    grid-template-columns: 1fr;
  }

  .timeline-governance > h2 {
    margin-top: 20px;
  }

  .ux-track li {
    grid-template-columns: 40px 1fr;
    gap: 18px;
  }

  .cms-hub {
    min-height: 0;
    grid-template-columns: 1fr;
  }

}

/* Correctif transversal : aucun conteneur intermédiaire ne doit neutraliser le header sticky. */
html,
body {
  overflow-x: clip !important;
}

body {
  height: auto !important;
  min-height: 100%;
  overflow-y: visible !important;
}

.site-header {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 0 !important;
  width: 100%;
  background: #fff;
}

.site-header .brand {
  min-width: 0;
  padding: 0;
  background: #fff;
}

.site-header .brand img {
  width: 150px;
  max-width: 100%;
  height: auto;
  display: block;
}

/* Équipe et carrières suivent la colonne éditoriale des autres pages intérieures. */
.team-page .service-grid,
.talents-page .service-grid {
  width: calc(100% - 274px);
  margin-left: 274px;
}

/* Test rugby : une vraie respiration éditoriale 50/50, sans bandeau noir. */
.rugby-value-test {
  min-height: 500px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: #f2f2f0;
  border-bottom: 1px solid var(--ink);
}

.rugby-value-test figure {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #111;
}

.rugby-value-test img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 48% center;
  filter: none;
}

.rugby-value-test > div {
  padding: clamp(54px, 7vw, 105px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.rugby-value-test h2 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(40px, 4.8vw, 72px);
  line-height: .96;
  letter-spacing: -.06em;
}

.rugby-value-test > div > p:not(.section-kicker) {
  max-width: 610px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.rugby-value-test ul {
  margin: 46px 0 0;
  padding: 18px 0 0;
  display: flex;
  gap: 28px;
  list-style: none;
  border-top: 1px solid rgba(17,17,17,.3);
}

.rugby-value-test li {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Sélecteur CMS : une décision lisible et interactive, alignée sur la grille globale. */
.cms-hero h1 {
  white-space: normal;
}

.hero-tech-logos .tech-wordmark strong {
  margin: auto 0;
  color: #f39200;
  font-size: 25px;
  letter-spacing: -.04em;
}

.hero-tech-logos .typo3-logo {
  transform: scale(1.28);
}

/* Variations éditoriales autour du collectif : même univers, rythmes différents. */
.rugby-editorial {
  max-width: 1320px;
  min-height: 390px;
  margin: 0 auto;
  display: grid;
  overflow: hidden;
  background: #f2f2f0;
  border-bottom: 1px solid rgba(17,17,17,.25);
}

.rugby-editorial > div {
  padding: clamp(46px, 6vw, 88px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.rugby-editorial h2 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(38px, 4.2vw, 62px);
  line-height: .98;
  letter-spacing: -.055em;
}

.rugby-editorial > div > p:last-child {
  max-width: 650px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.rugby-editorial figure {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #111;
}

.rugby-editorial img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: none;
}

.rugby-editorial-pass {
  grid-template-columns: minmax(0, 1.35fr) minmax(360px, .65fr);
}

.rugby-editorial-pass img {
  object-position: 46% center;
}

.rugby-editorial-team {
  grid-template-columns: minmax(390px, .85fr) minmax(0, 1.15fr);
  background: #111;
  color: #fff;
}

.rugby-editorial-team > div > p:last-child {
  color: #c8c8c8;
}

.rugby-editorial-strategy {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: #e9edff;
}

.rugby-interlude {
  max-width: 1320px;
  min-height: 330px;
  margin: 74px auto;
  display: grid;
  grid-template-columns: minmax(320px, .72fr) minmax(0, 1.28fr);
  overflow: hidden;
  background: #f2f2f0;
}

.rugby-interlude-reverse {
  grid-template-columns: minmax(0, 1.28fr) minmax(320px, .72fr);
}

.rugby-interlude-reverse figure {
  grid-column: 2;
}

.rugby-interlude-reverse > div {
  grid-column: 1;
  grid-row: 1;
}

.rugby-interlude figure {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #111;
}

.rugby-interlude img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: none;
}

.rugby-interlude > div {
  padding: clamp(38px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.rugby-interlude h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(34px, 3.6vw, 54px);
  line-height: 1;
  letter-spacing: -.05em;
}

.rugby-interlude > div > p:last-child {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.rugby-interlude-dark {
  background: #111;
  color: #fff;
}

.rugby-interlude-dark > div > p:last-child {
  color: #c8c8c8;
}

.rugby-interlude-blue {
  background: #e9edff;
}

.cms-finder {
  max-width: 1320px;
  margin: 0 auto;
  padding: 88px 0;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  column-gap: 54px;
  row-gap: 28px;
  border-bottom: 1px solid rgba(17,17,17,.2);
}

.cms-finder-intro {
  display: contents;
}

.cms-finder-intro .section-kicker {
  grid-column: 1;
  grid-row: 1;
  margin-top: 7px;
}

.cms-finder-intro h2 {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  font-size: clamp(36px, 4vw, 60px);
  line-height: .98;
  letter-spacing: -.055em;
}

.cms-finder-intro > p:last-child {
  grid-column: 2;
  grid-row: 2;
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.cms-finder-tool {
  grid-column: 2;
  grid-row: 3;
  display: grid;
  grid-template-columns: minmax(230px, .72fr) minmax(0, 1.28fr);
  border: 1px solid var(--ink);
}

.cms-finder-options {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--ink);
}

.cms-finder-options button {
  flex: 1;
  min-height: 66px;
  padding: 16px 22px;
  color: var(--ink);
  background: #fff;
  border: 0;
  border-bottom: 1px solid rgba(17,17,17,.24);
  font: inherit;
  font-weight: 750;
  text-align: left;
  cursor: pointer;
}

.cms-finder-options button:last-child {
  border-bottom: 0;
}

.cms-finder-options button:hover,
.cms-finder-options button:focus-visible,
.cms-finder-options button.is-active {
  color: #fff;
  background: var(--blue);
}

.cms-finder-result {
  min-height: 300px;
  padding: 38px;
  display: flex;
  flex-direction: column;
  background: var(--team-pale);
}

.cms-finder-result > span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.cms-finder-result h3 {
  margin: 34px 0 14px;
  font-size: clamp(34px, 3vw, 48px);
  letter-spacing: -.05em;
}

.cms-finder-result p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.cms-finder-result a {
  width: fit-content;
  margin-top: auto;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--blue);
  font-weight: 800;
}

.cms-decision > header,
.cms-architecture-copy {
  max-width: none;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 54px;
  align-items: start;
}

.cms-decision > header > .section-kicker,
.cms-architecture-copy > .section-kicker {
  margin-top: 6px;
}

.cms-decision > header > div {
  max-width: 900px;
}

.cms-decision header > div > p:last-child,
.cms-architecture-copy > div > p:last-child {
  max-width: 780px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.cms-architecture-copy > div > p:last-child {
  color: #cecece;
}

@media (max-width: 900px) {
  .rugby-editorial,
  .rugby-editorial-pass,
  .rugby-editorial-team,
  .rugby-editorial-strategy {
    grid-template-columns: 1fr;
  }

  .rugby-editorial figure {
    min-height: 320px;
    grid-row: 1;
  }

  .rugby-interlude,
  .rugby-interlude-reverse {
    margin: 54px 24px;
    grid-template-columns: 1fr;
  }

  .rugby-interlude figure,
  .rugby-interlude-reverse figure {
    min-height: 270px;
    grid-column: 1;
    grid-row: 1;
  }

  .rugby-interlude > div,
  .rugby-interlude-reverse > div {
    grid-column: 1;
    grid-row: 2;
  }
  .team-page .service-grid,
  .talents-page .service-grid {
    width: 100%;
    margin-left: 0;
  }

  .rugby-value-test,
  .cms-finder,
  .cms-finder-tool,
  .cms-decision > header,
  .cms-architecture-copy {
    grid-template-columns: 1fr;
  }

  .rugby-value-test figure {
    min-height: 430px;
  }

  .cms-finder {
    padding: 58px 24px;
  }

  .cms-finder-intro {
    display: block;
  }

  .cms-finder-intro > p:last-child {
    margin-top: 24px;
  }

  .cms-finder-tool {
    grid-column: auto;
    grid-row: auto;
  }

  .cms-finder-options {
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }
}

@media (max-width: 620px) {
  .rugby-value-test figure {
    min-height: 330px;
  }

  .rugby-value-test > div {
    padding: 48px 24px;
  }

  .rugby-value-test ul {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}

/* CMS v2 : un récit de décision, d’architecture et de transformation. */
.cms-decision,
.cms-needs,
.cms-journey,
.cms-faq {
  max-width: 1320px;
  margin: 0 auto;
  padding: 88px 0;
}

.cms-decision > header {
  max-width: 900px;
  margin-bottom: 54px;
}

.cms-decision h2,
.cms-architecture h2,
.cms-needs h2,
.cms-journey h2,
.cms-faq h2 {
  margin: 16px 0 20px;
  font-size: clamp(36px, 4.1vw, 64px);
  line-height: .98;
  letter-spacing: -.055em;
}

.cms-decision header > p:last-child,
.cms-architecture-copy > p:last-child {
  max-width: 780px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.cms-decision-list {
  border-top: 1px solid var(--ink);
}

.cms-decision-list article {
  display: grid;
  grid-template-columns: 70px 280px minmax(0, 1fr) 190px;
  gap: 30px;
  align-items: center;
  padding: 30px 0;
  border-bottom: 1px solid rgba(17,17,17,.25);
}

.cms-decision-list article > span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 850;
}

.cms-decision-list h3 {
  margin: 0;
  font-size: 29px;
  letter-spacing: -.04em;
}

.cms-decision-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.cms-decision-list strong {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.cms-architecture {
  max-width: none;
  padding: 88px max(48px, calc((100vw - 1320px) / 2));
  color: #fff;
  background: #111;
}

.cms-architecture-copy {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 70px;
  align-items: end;
}

.cms-architecture-copy > p:last-child {
  margin: 0;
  color: #cecece;
}

.cms-flow {
  margin: 62px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  list-style: none;
  border-top: 1px solid #5a5a5a;
  border-left: 1px solid #5a5a5a;
}

.cms-flow li {
  min-height: 215px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid #5a5a5a;
  border-bottom: 1px solid #5a5a5a;
}

.cms-flow li > span {
  color: #91a2ff;
  font-size: 12px;
  font-weight: 850;
}

.cms-flow strong {
  margin-top: auto;
  font-size: 21px;
}

.cms-flow small {
  margin-top: 10px;
  color: #c8c8c8;
  line-height: 1.45;
}

.cms-flow-core {
  background: var(--blue);
}

.cms-flow-core > span,
.cms-flow-core small {
  color: #fff !important;
}

.cms-needs,
.cms-faq {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 90px;
}

.cms-needs details,
.cms-faq details {
  padding: 25px 0;
  border-bottom: 1px solid rgba(17,17,17,.25);
}

.cms-needs summary,
.cms-faq summary,
.ds-faq summary,
.portal-faq summary {
  position: relative;
  padding-right: 52px;
  cursor: pointer;
  list-style: none;
}

.cms-needs summary {
  font-size: 21px;
  font-weight: 780;
}

.cms-needs summary::-webkit-details-marker,
.cms-faq summary::-webkit-details-marker {
  display: none;
}

.cms-needs details p,
.cms-faq details p {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.68;
}

.cms-journey {
  max-width: none;
  padding-right: max(48px, calc((100vw - 1320px) / 2));
  padding-left: max(48px, calc((100vw - 1320px) / 2));
  background: var(--team-pale);
}

.cms-journey header {
  max-width: 760px;
  margin-bottom: 52px;
}

.cms-journey ol {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  list-style: none;
}

.cms-journey li {
  min-height: 250px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  border-top: 3px solid var(--blue);
  border-right: 1px solid #c6ccef;
}

.cms-journey li:first-child {
  border-left: 1px solid #c6ccef;
}

.cms-journey li > span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 850;
}

.cms-journey li > div {
  margin-top: auto;
}

.cms-journey strong {
  font-size: 22px;
}

.cms-journey p {
  color: var(--muted);
  line-height: 1.55;
}

/* Signature des accordéons : deux points qui deviennent une croix. */
.cms-needs summary::before,
.cms-needs summary::after,
.cms-faq summary::before,
.cms-faq summary::after,
.ds-faq summary::before,
.ds-faq summary::after,
.portal-faq summary::before,
.portal-faq summary::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  transform: translateY(-50%);
  transition: right 180ms ease, width 180ms ease, height 180ms ease, border-radius 180ms ease, transform 180ms ease;
}

.cms-needs summary::before,
.cms-faq summary::before,
.ds-faq summary::before,
.portal-faq summary::before { right: 24px; }

.cms-needs summary::after,
.cms-faq summary::after,
.ds-faq summary::after,
.portal-faq summary::after { right: 8px; }

.cms-needs summary:hover::before,
.cms-faq summary:hover::before,
.ds-faq summary:hover::before,
.portal-faq summary:hover::before { right: 20px; }

.cms-needs summary:hover::after,
.cms-faq summary:hover::after,
.ds-faq summary:hover::after,
.portal-faq summary:hover::after { right: 12px; }

.cms-needs details[open] summary::before,
.cms-faq details[open] summary::before,
.ds-faq details[open] summary::before,
.portal-faq details[open] summary::before,
.cms-needs details[open] summary::after,
.cms-faq details[open] summary::after,
.ds-faq details[open] summary::after,
.portal-faq details[open] summary::after {
  right: 8px;
  width: 20px;
  height: 3px;
  border-radius: 2px;
}

.cms-needs details[open] summary::before,
.cms-faq details[open] summary::before,
.ds-faq details[open] summary::before,
.portal-faq details[open] summary::before { transform: translateY(-50%) rotate(45deg); }

.cms-needs details[open] summary::after,
.cms-faq details[open] summary::after,
.ds-faq details[open] summary::after,
.portal-faq details[open] summary::after { transform: translateY(-50%) rotate(-45deg); }

.portal-faq summary::after { content: ""; color: transparent; font-size: 0; }
.portal-faq details[open] summary::after { content: ""; }

@media (prefers-reduced-motion: reduce) {
  .cms-needs summary::before,
  .cms-needs summary::after,
  .cms-faq summary::before,
  .cms-faq summary::after,
  .ds-faq summary::before,
  .ds-faq summary::after,
  .portal-faq summary::before,
  .portal-faq summary::after { transition: none; }
}

@media (max-width: 900px) {
  .cms-decision,
  .cms-needs,
  .cms-faq {
    padding-right: 24px;
    padding-left: 24px;
  }

  .cms-decision-list article {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .cms-decision-list article p,
  .cms-decision-list article strong {
    grid-column: 2;
  }

  .cms-architecture-copy,
  .cms-needs,
  .cms-faq {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .cms-flow,
  .cms-journey ol {
    grid-template-columns: 1fr;
  }

  .cms-flow li,
  .cms-journey li {
    min-height: 170px;
  }
}

/* Priorité finale pour l’alignement des nouveaux blocs CMS. */
.cms-decision > header,
.cms-architecture-copy {
  max-width: none;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 54px;
  align-items: start;
}

.cms-decision > header > div {
  max-width: 900px;
}

.cms-decision header > div > p:last-child,
.cms-architecture-copy > div > p:last-child {
  max-width: 780px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.cms-architecture-copy > div > p:last-child {
  color: #cecece;
}

@media (max-width: 900px) {
  .cms-decision > header,
  .cms-architecture-copy {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
