[data-theme="d"] .offre-hero {
  position: relative;
  padding: 0;
}
[data-theme="d"] .offre-hero-contenu {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 56px;
  align-items: end;
}
[data-theme="d"] .offre-hero h1 {
  grid-column: 1 / -1;
  margin-bottom: 40px;
  text-wrap: balance;
}
[data-theme="d"] .offre-hero h1 em {
  animation: d-trait 1.1s .3s cubic-bezier(.65, 0, .35, 1) both;
}
[data-theme="d"] .offre-hero-texte {
  grid-column: 1;
  max-width: 600px;
  text-wrap: pretty;
}
[data-theme="d"] .offre-hero .actions { grid-column: 2; margin-top: 0; justify-content: flex-end; }
[data-theme="d"] .offre-hero .surtitre::before { animation-iteration-count: 2; }
[data-theme="d"] .offre-preuves ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 32px;
}
[data-theme="d"] .offre-preuves li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 0 18px;
}
[data-theme="d"] .offre-preuves strong {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.2;
  letter-spacing: -.01em;
}
[data-theme="d"] .offre-preuves strong::before { content: ""; flex: none; width: 6px; height: 6px; background: var(--encre); }
[data-theme="d"] .offre-preuves span { padding-left: 16px; font-size: 14px; line-height: 1.4;  }
[data-theme="d"] .offre-section { background: var(--fond); }
[data-theme="d"] .offre-services,
[data-theme="d"] .offre-cas { background: var(--surface); --case: var(--fond); }
[data-theme="d"] .offre-fond-blanc { background: var(--surface); --case: var(--fond); }
[data-theme="d"] .offre-fond-creme { background: var(--fond); --case: var(--surface); }
[data-theme="d"] .offre-sombre .etiquette { color: rgba(255, 255, 255, .7); }
[data-theme="d"] .offre-hero :focus-visible,
[data-theme="d"] .offre-sombre :focus-visible { outline-color: var(--accent); }
[data-theme="d"] .offre-tete {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: var(--rythme-tete);
}
[data-theme="d"] .offre-tete h2 { margin: 0; }
[data-theme="d"] .offre-chapo,
[data-theme="d"] .offre-sombre .offre-chapo {
  max-width: 34em;
  font-size: var(--t-chapo);
  line-height: 1.42;
  text-wrap: pretty;
}
[data-theme="d"] .offre-photo-large {
  height: auto; 
  aspect-ratio: 3 / 1;
  object-fit: cover;
  margin: 0 0 var(--rythme-tete);
}
[data-theme="d"] .offre-deux {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 32px;
  align-items: start;
}
[data-theme="d"] .offre-aside .etiquette { display: block; margin-bottom: 12px; }
[data-theme="d"] .offre-aside .offre-tags + .etiquette { margin-top: 28px; }
[data-theme="d"] .offre-tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
[data-theme="d"] .offre-tags li {
  padding: 6px 11px;
  line-height: 1.3;
}
[data-theme="d"] .offre-tags a {
  display: block;
  margin: -7px -12px;
  padding: 7px 12px;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: background-color .15s ease, color .15s ease;
}
[data-theme="d"] .offre-aside > .carte-photo { aspect-ratio: 4 / 3; margin: 0 0 24px; }
[data-theme="d"] .offre-cibles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--rythme-cases);
}
[data-theme="d"] .offre-cibles > li { position: relative; padding: 28px 28px 30px;   }
[data-theme="d"] .offre-cibles h3 { margin-bottom: 8px; font-size: var(--t-h3); line-height: 1.15; }
[data-theme="d"] .offre-cibles p {  color: var(--doux); text-wrap: pretty; }
[data-theme="d"] .offre-pourqui .conteneur > .offre-cibles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
[data-theme="d"] .offre-services-liste {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 64px 32px;
}
[data-theme="d"] .offre-services-liste:has(> li:nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
[data-theme="d"] .offre-services-liste > li {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
[data-theme="d"] .offre-services-liste .etiquette {
  align-self: flex-start;
  padding: 4px 9px 3px;
  background: var(--case);
  color: var(--encre);
}
[data-theme="d"] .offre-services-liste > li > .etiquette { order: -1; }
[data-theme="d"] .offre-services-liste h3 { font-size: var(--t-h3); line-height: 1.12; }
[data-theme="d"] .offre-services-liste p {  color: var(--doux); text-wrap: pretty; }
[data-theme="d"] .offre-services-liste > li > p:last-child:has(> .lien) { margin-top: auto; }
[data-theme="d"] .offre-services-liste .cas-chiffres { margin: 6px 0 2px; padding-top: 0; border-top: 0; flex-wrap: wrap; gap: 12px 28px; }
[data-theme="d"] .offre-services-liste .cas-chiffres strong { font-size: clamp(36px, 3.4vw, 48px); }
[data-theme="d"] .offre-services-liste .cas-source { margin-top: auto; padding-top: 6px; font-size: var(--t-meta); }
[data-theme="d"] .offre-services-liste .cas-chiffres strong { background: none; }
[data-theme="d"] .realisation-produits .offre-services-liste .cas-chiffres:not(.offre-chiffre-repere) strong { background: var(--surligne); }
[data-theme="d"] .offre-etapes {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: offre-etape;
}
[data-theme="d"] .offre-etapes > li {
  counter-increment: offre-etape;
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) repeat(2, calc((100% - 64px) / 3));
  column-gap: 32px;
  row-gap: 12px;
  align-items: baseline;
  padding: 26px 0;
}
[data-theme="d"] .offre-etapes > li::before {
  content: counter(offre-etape, decimal-leading-zero);
  grid-column: 1;
  grid-row: 1;
  font-weight: 800;
  font-size: clamp(36px, 3.4vw, 48px);
  line-height: .9;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
}
[data-theme="d"] .offre-etapes h3 { grid-column: 2; grid-row: 1; font-size: var(--t-h3); line-height: 1.15; }
[data-theme="d"] .offre-etapes > li > p { grid-column: 3 / -1; grid-row: 1; max-width: 40em;  color: var(--doux); text-wrap: pretty; }
[data-theme="d"] .offre-etapes > li > .offre-etape-repere {
  grid-row: 2;
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px 6px 10px;
  background: var(--case);
  font-size: var(--t-meta);
  font-weight: 700;
  line-height: 1.35;
  color: var(--encre);
}
[data-theme="d"] .offre-etape-repere::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  background: var(--accent);
  box-shadow: 0 0 0 1px var(--encre);
}
[data-theme="d"] .offre-suite { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: var(--rythme-suite); }
[data-theme="d"] .offre-engagements {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--rythme-cases);
}
[data-theme="d"] .offre-engagements:has(> li:nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
[data-theme="d"] .offre-engagements > li { position: relative; padding: 30px 28px;   }
[data-theme="d"] .offre-engagements h3 { margin-bottom: 10px; font-size: var(--t-h3); line-height: 1.15; }
[data-theme="d"] .offre-engagements p {   text-wrap: pretty; }
[data-theme="d"] .offre-cas .cas-phare {  margin-bottom: 80px; }
[data-theme="d"] .offre-cas .cas-phare:last-child { margin-bottom: 0; }
[data-theme="d"] .offre-cas .cas-texte { justify-content: flex-start; }
[data-theme="d"] .offre-cas-recit {
  display: grid;
  gap: 18px;
  margin: 4px 0 0;
  padding: 24px 28px;
  background: var(--case);
}
[data-theme="d"] .offre-cas-recit > div {
  display: grid;
  column-gap: 20px;
  row-gap: 4px;
}
[data-theme="d"] .offre-cas-recit dd { margin: 0;   text-wrap: pretty; }
[data-theme="d"] .offre-cas-sans-visuel { grid-template-columns: minmax(0, 1fr); }
[data-theme="d"] .offre-cas-sans-visuel .offre-cas-recit {  grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; }
[data-theme="d"] .offre-cas-sans-visuel .offre-cas-recit > div {  row-gap: 6px; }
[data-theme="d"] .cas h3 { line-height: 1.1; text-wrap: balance; }
[data-theme="d"] .cas-grille { list-style: none; margin: 0; padding: 0; }
[data-theme="d"] .offre-cas .cas-grille + .cas-noms { margin-top: 48px; }
@media (min-width: 641px) {
  [data-theme="d"] .cas-grille:has(> li:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 641px) and (max-width: 980px) {
  [data-theme="d"] .cas-grille.grille-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (hover: hover) {
  [data-theme="d"] .offre-section:not(.offre-sombre) .btn-principal:hover,
  [data-theme="d"] .offre-section:not(.offre-sombre) .btn-secondaire:hover { background: var(--encre);  color: #fff; border-color: var(--encre); }
  [data-theme="d"] .offre-tags li:has(> a):hover { background: var(--encre); }
  [data-theme="d"] .offre-tags a:hover { color: #fff; text-decoration-color: var(--accent); }
}
@media (max-width: 980px) {
  [data-theme="d"] .offre-hero-contenu { grid-template-columns: minmax(0, 1fr);   }
  [data-theme="d"] .offre-hero h1 { margin-bottom: 32px; }
  [data-theme="d"] .offre-hero .actions { grid-column: 1; margin-top: 32px; justify-content: flex-start; }
  [data-theme="d"] .offre-deux { grid-template-columns: minmax(0, 1fr); row-gap: 48px; }
  [data-theme="d"] .offre-pourqui .conteneur > .offre-cibles,
  [data-theme="d"] .offre-services-liste,
  [data-theme="d"] .offre-services-liste:has(> li:nth-child(4):last-child),
  [data-theme="d"] .offre-engagements,
  [data-theme="d"] .offre-engagements:has(> li:nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  [data-theme="d"] .offre-engagements > li:nth-child(3):last-child,
  [data-theme="d"] .offre-services-liste > li:nth-child(3):last-child,
  [data-theme="d"] .offre-pourqui .conteneur > .offre-cibles > li:nth-child(3):last-child { grid-column: 1 / -1; }
  [data-theme="d"] .offre-engagements > li:nth-child(3):last-child p,
  [data-theme="d"] .offre-services-liste > li:nth-child(3):last-child p { max-width: 640px; }
  [data-theme="d"] .offre-etapes > li { grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.4fr); column-gap: 24px;  }
  [data-theme="d"] .offre-etapes h3 { grid-row: 1 / span 2; }
  [data-theme="d"] .offre-etapes > li > .offre-etape-repere { grid-column: 3;  }
  [data-theme="d"] .offre-cas .cas-phare { margin-bottom: 56px; }
}
@media (min-width: 981px) {
  [data-theme="d"] .offre-deux > .offre-cibles { grid-column: 2 / 4; }
  [data-theme="d"] .offre-pourqui .conteneur > .offre-cibles:has(> li:nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 641px) and (max-width: 980px) {
  [data-theme="d"] .offre-aside:has(> .carte-photo) {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    grid-template-rows: repeat(6, auto) 1fr;
    column-gap: 32px;
    align-items: start;
  }
  [data-theme="d"] .offre-aside > .carte-photo { grid-column: 1; grid-row: 1 / span 7; margin: 0; }
  [data-theme="d"] .offre-aside:has(> .carte-photo) > :not(.carte-photo) { grid-column: 2; }
}
@media (max-width: 640px) {
  [data-theme="d"] .offre-photo-large { aspect-ratio: 3 / 2; }
  [data-theme="d"] .offre-hero h1 {  margin-bottom: 28px; }
  [data-theme="d"] .offre-hero .actions { flex-direction: column; align-items: stretch; }
  [data-theme="d"] .offre-hero .btn,
  [data-theme="d"] .offre-appel .btn { justify-content: center; white-space: normal; text-align: center; }
  [data-theme="d"] .offre-preuves ul { grid-template-columns: minmax(0, 1fr); padding-top: 4px; padding-bottom: 4px; }
  [data-theme="d"] .offre-preuves li { padding: 12px 0 13px; }
  [data-theme="d"] .offre-preuves strong { font-size: 19px; }
  [data-theme="d"] .offre-pourqui .conteneur > .offre-cibles,
  [data-theme="d"] .offre-cibles,
  [data-theme="d"] .offre-services-liste,
  [data-theme="d"] .offre-services-liste:has(> li:nth-child(4):last-child),
  [data-theme="d"] .offre-engagements,
  [data-theme="d"] .offre-engagements:has(> li:nth-child(4):last-child) { grid-template-columns: minmax(0, 1fr); }
  [data-theme="d"] .offre-services-liste,
  [data-theme="d"] .offre-services-liste:has(> li:nth-child(4):last-child) { row-gap: 40px; }
  [data-theme="d"] .offre-cibles > li,
  [data-theme="d"] .offre-engagements > li { padding: 22px 20px; }
  [data-theme="d"] .offre-etapes > li { grid-template-columns: 44px minmax(0, 1fr); column-gap: 12px; row-gap: 8px; padding: 20px 0; }
  [data-theme="d"] .offre-etapes > li::before { grid-row: 1 / span 3;  font-size: 30px; }
  [data-theme="d"] .offre-etapes h3 {  grid-row: 1; }
  [data-theme="d"] .offre-etapes > li > p { grid-column: 2; grid-row: 2; }
  [data-theme="d"] .offre-etapes > li > .offre-etape-repere { grid-column: 2; grid-row: 3; }
  [data-theme="d"] .offre-suite .btn { flex: 1 1 auto; justify-content: center; white-space: normal; text-align: center; }
  [data-theme="d"] .offre-suite .lien {
    background-size: 100% 0, 0 2px;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 6px;
  }
  [data-theme="d"] .offre-suite .lien:is(:hover, :focus-visible) { background-size: 100% 100%, 0 2px; }
  [data-theme="d"] .offre-suite .lien span { display: inline; } 
  [data-theme="d"] .offre-cas-recit { padding: 20px; }
  [data-theme="d"] .offre-cas-sans-visuel .offre-cas-recit { grid-template-columns: minmax(0, 1fr);  }
  [data-theme="d"] .offre-cas .cas-phare { margin-bottom: 48px; }
  [data-theme="d"] .offre-appel .actions { align-self: stretch; flex-direction: column; align-items: stretch; }
}
@media (pointer: coarse) {
  [data-theme="d"] .offre-tags a { padding-top: 12px; padding-bottom: 12px; }
  [data-theme="d"] .offre-suite .lien { position: relative; }
  [data-theme="d"] .offre-suite .lien::after { content: ""; position: absolute; inset: -6px -4px; }
}
@media (prefers-reduced-motion: reduce) {
  [data-theme="d"] .offre-hero h1 em,
  [data-theme="d"] .offre-hero .surtitre::before { animation: none; }
}
[data-theme="d"] .offre-encadre {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 32px;
  margin-top: var(--rythme-suite);
  padding: 26px 28px;
}
[data-theme="d"] .offre-encadre p { max-width: 66ch;  text-wrap: pretty; }
[data-theme="d"] .offre-encadre strong { display: block; margin-bottom: 4px; font-size: var(--t-h3); line-height: 1.15; letter-spacing: -.01em; }
[data-theme="d"] .offre-encadre-etapes ol { margin: 10px 0 0; padding-left: 24px; max-width: 66ch; font-size: var(--t-corps); line-height: 1.5; }
[data-theme="d"] .offre-encadre-etapes li { margin: 8px 0; padding-left: 4px; text-wrap: pretty; }
[data-theme="d"] .offre-encadre-etapes li strong { display: inline; margin: 0; font-size: inherit; line-height: inherit; letter-spacing: 0; }
[data-theme="d"] .offre-aside-ligne {  color: var(--doux); text-wrap: pretty; }
[data-theme="d"] .offre-aside-ligne .lien { display: inline-block; margin-top: 10px; }
[data-theme="d"] .offre-preuves a {  font-weight: 700; text-underline-offset: 3px; }
@media (min-width: 981px) {
  [data-theme="d"] .offre-services-liste:has(> li:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  [data-theme="d"] .offre-encadre { padding: 22px 20px; }
}
[data-theme="d"] .offre-preuves ul.offre-preuves-quatre { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) {
  [data-theme="d"] .offre-preuves ul.offre-preuves-quatre { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  [data-theme="d"] .offre-preuves ul.offre-preuves-quatre { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 641px) {
  [data-theme="d"] .offre-etapes-fil { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; row-gap: 32px; }
  [data-theme="d"] .offre-etapes-fil > li {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 22px 12px 0 0;
    border-top: 1px solid var(--encre);
  }
  [data-theme="d"] .offre-etapes-fil > li::after {
    content: "";
    position: absolute;
    top: -5px;
    width: 9px;
    height: 9px;
    transition: background-color .2s ease, box-shadow .2s ease;
  }
  [data-theme="d"] .offre-etapes-fil > li::before { font-size: 32px; line-height: 1; letter-spacing: -.03em; }
  [data-theme="d"] .offre-etapes-fil h3 { margin: 14px 0 8px; }
  [data-theme="d"] .offre-etapes-fil > li > p { margin: 0 0 16px; max-width: none; font-size: 16px; }
  [data-theme="d"] .offre-etapes-fil > li > .offre-etape-repere { align-self: flex-start; margin-top: auto; }
}
@media (min-width: 981px) {
  [data-theme="d"] .offre-etapes-fil { grid-template-columns: repeat(5, minmax(0, 1fr)); row-gap: 0; }
}
@media (min-width: 641px) {
  [data-theme="d"] .offre-etapes-fil:has(> li:nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 981px) {
  [data-theme="d"] .offre-etapes-fil:has(> li:nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  [data-theme="d"] .offre-etapes-fil:has(> li:nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
[data-theme="d"] .offre-etapes h3 .etiquette { display: block; margin-bottom: 6px;  }
[data-theme="d"] .offre-encadre-etapes ul { margin: 10px 0 0; padding-left: 20px; max-width: 66ch;   }
[data-theme="d"] .offre-encadre-be > .lien {  margin-top: 14px; }
@media (min-width: 641px) {
  [data-theme="d"] .offre-etapes-fil + .offre-encadre-be { margin-top: 56px; }
}
[data-theme="d"] .offre-sous-bloc { margin-top: 64px; }
[data-theme="d"] .offre-sous-bloc > .etiquette { display: block; margin-bottom: 24px; }
