.editorial-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.28fr);
  align-items: stretch;
  margin-block: 12px 34px;
  background: #eff0ef;
  border: 1px solid #d9dbda;
  border-radius: 5px;
  overflow: hidden;
}

.editorial-hero-copy {
  align-self: center;
  padding: clamp(24px, 4vw, 52px);
}

.editorial-kicker {
  margin: 0 0 12px;
  color: #4c5252;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
}

.editorial-hero h1 {
  margin: 0 0 13px;
  color: #1e2425;
  font-size: clamp(31px, 4.3vw, 58px);
  line-height: 1.04;
  letter-spacing: -.055em;
}

.editorial-lead {
  max-width: 42ch;
  margin: 0 0 22px;
  color: #3b4444;
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.58;
}

:root body[class] .editorial-hero a.button {
  border-color: #232929;
  background: #232929;
  color: white;
}

:root body[class] .editorial-hero a.button:hover {
  background: #414949;
  border-color: #414949;
}

.editorial-photo {
  position: relative;
  min-width: 0;
  min-height: clamp(250px, 30vw, 415px);
  margin: 0;
  background: #d5d8d7;
}

.editorial-photo img {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-modes-transport .editorial-hero .editorial-photo img { object-position: center; }

.editorial-links { margin-bottom: 30px; }

.editorial-links h2, .editorial-maritime h2 {
  margin: 0 0 12px;
  color: #212727;
  font-size: clamp(19px, 2.2vw, 26px);
  letter-spacing: -.025em;
}

.editorial-links > div {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 218px), 1fr));
  border-block: 1px solid #d9dbda;
}

.editorial-links a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  color: #252b2b;
  text-decoration: none;
}

.editorial-links a + a { border-inline-start: 1px solid #d9dbda; }
.editorial-links a:hover { background: #eff0ef; }

.editorial-links strong {
  font-size: 16px;
  text-decoration: underline;
  text-decoration-color: #858b8a;
  text-underline-offset: 4px;
}

.editorial-links span, .editorial-maritime p {
  color: #4b5352;
  font-size: 15px;
  line-height: 1.55;
}

.editorial-maritime {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 30px;
}

.editorial-maritime > div {
  padding: 16px 18px;
  background: #eff0ef;
}

.editorial-maritime h2 { margin-bottom: 6px; }
.editorial-maritime p { margin: 0; }

.editorial-guide {
  display: grid;
  gap: 10px;
  margin-bottom: 30px;
}

.editorial-guide a {
  padding-block: 8px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

#maritime { scroll-margin-top: 95px; }

@media (max-width: 740px) {
  .editorial-hero { grid-template-columns: 1fr; margin-bottom: 22px; }
  .editorial-hero-copy { padding: 20px; }
  .editorial-photo { min-height: clamp(175px, 48vw, 290px); }
  .editorial-links > div, .editorial-maritime { grid-template-columns: 1fr; }
  .editorial-links a { padding: 11px 2px; }
  .editorial-links a + a { border-inline-start: 0; border-top: 1px solid #d9dbda; }
  .editorial-links, .editorial-maritime { margin-bottom: 20px; }
  .editorial-maritime { gap: 8px; }
}

.editorial-detail {
  margin-block: 0 24px;
  padding-block: 12px;
  color: #333a39;
}

.editorial-detail h2 {
  margin: 0 0 8px;
  font-size: clamp(19px, 2.2vw, 26px);
}

.editorial-detail p { max-width: 68ch; }

.editorial-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  margin-bottom: 30px;
}

.editorial-split .editorial-photo {
  min-height: 0;
  aspect-ratio: 929 / 622;
  border-radius: 5px;
  overflow: hidden;
}

@media (max-width: 740px) {
  .editorial-split { grid-template-columns: 1fr; gap: 0; }
  .editorial-split .editorial-detail { margin-bottom: 10px; }
}

/* Une lumière de fin de journée sur les pages intérieures. */
body:not(.page-home) {
  --evening-photo: url("/assets/auto-spp-led-landscape.webp");
  --evening-ink: #211d1e;
  --evening-paper: #fbf5f8;
  --evening-accent: #eed2d8;
  background: var(--evening-paper);
}

body:is(.page-carte-grise, .page-demarches-carte-grise, .page-contact, .page-mentions-legales, .page-confidentialite, .page-cgu, .page-cookies, .page-credits-photographiques) {
  --evening-photo: url("/assets/auto-spp-cover-desktop.webp");
}

body:is(.page-assurance, .page-preparer-assurance, .page-clients, .page-achat-vente-questions, .page-catalogue, .page-offres-skoda, .page-fournisseurs) {
  --evening-photo: url("/assets/auto-spp-soir-suv.webp");
}

body:is(.page-location, .page-location-questions, .page-leasing-lld, .page-comparer-location-leasing, .page-preparer-financement, .page-recherche-approvisionnement, .page-recherche-approvisionnement-questions) {
  --evening-photo: url("/assets/auto-spp-soir-utilitaire.webp");
}

body:is(.page-negoce-international, .page-negoce-international-questions, .page-documents-transport) {
  --evening-photo: url("/assets/auto-spp-embarquement-suv-compacts.webp");
}

body:is(.page-partenaires, .page-services-partenaires, .page-guide-transport, .page-vehicules-non-roulants) {
  --evening-photo: url("/assets/auto-spp-soir-transport-compacts.webp");
}

body.page-poids-lourds-questions {
  --evening-photo: url("/assets/auto-spp-soir-poids-lourds.webp");
}

body:not(.page-home) > .topbar,
body:not(.page-home) > footer.compact-footer {
  background: #241e20;
  border-color: #59434b;
}

body:not(.page-home) > main {
  background: linear-gradient(180deg, #f1e7e5, var(--evening-paper) 430px);
}

body:not(.page-home) .platform-nav .platform-nav-feature {
  background: #fff9fa80;
  padding: 8px 12px;
  border-color: #a9657a;
  color: #753349;
}

body:not(.page-home) .platform-nav a:first-child { color: #733b46; }
body:not(.page-home) .platform-nav {
  gap: 7px 12px;
  padding-block: 12px;
  border-bottom-color: #d8c9c8;
}

body:not(.page-home) .service-summary {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: clamp(240px, 26vw, 345px);
  margin-block: 12px 24px;
  padding: clamp(22px, 4vw, 46px);
  padding-inline-end: calc(48% + 26px);
  border: 1px solid #5c4a4b;
  border-radius: 6px;
  overflow: hidden;
  background: linear-gradient(135deg, #35292d, var(--evening-ink));
}

body:not(.page-home) .service-summary::after {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 48%;
  background: var(--evening-photo) center 56% / cover no-repeat;
}

body:not(.page-home) .service-summary h1 {
  max-width: 22ch;
  overflow-wrap: anywhere;
  font-size: clamp(29px, 4.3vw, 57px);
  color: #fcf8fa;
  text-wrap: balance;
}

body:not(.page-home) .service-summary p {
  max-width: 42rem;
  color: #fbf5f8;
}

:root body:not(.page-home) .service-summary a.button {
  background: var(--evening-accent);
  border-color: var(--evening-accent);
  color: var(--evening-ink);
}

:root body:not(.page-home) .service-summary a.button:hover { background: #fcf6f9; }

body:not(.page-home) .editorial-hero {
  background: linear-gradient(135deg, #33272a, #211d1e);
  border-color: #59464b;
}

body:not(.page-home) .editorial-hero h1 { color: #fcf8fa; }
body:not(.page-home) .editorial-hero :is(.editorial-kicker, .editorial-lead) { color: #f3e6e3; }

:root body:not(.page-home) .editorial-hero a.button {
  background: var(--evening-accent);
  border-color: var(--evening-accent);
  color: var(--evening-ink);
}

:root body:not(.page-home) .editorial-hero a.button:hover { background: #fcf6f9; }

body:not(.page-home) .editorial-maritime > div,
body:not(.page-home) .request-section {
  background: #f1e7e6;
  border-color: #d8c9c8;
}

body:not(.page-home) .editorial-links a:hover { background: #f0e4e3; }

.skoda-offer-summary {
  margin-block: 0 18px;
  color: #65494e;
}

body:is(.page-catalogue, .page-404, .page-mentions-legales, .page-confidentialite, .page-cgu, .page-cookies) .platform-nav::after {
  content: "";
  display: block;
  flex: 0 0 100%;
  height: clamp(56px, 10vw, 112px);
  border-radius: 5px;
  background:
    linear-gradient(90deg, #211d1eb0, #211d1e10),
    var(--evening-photo) center 56% / cover no-repeat var(--evening-ink);
}

@media (max-width: 740px) {
  body:not(.page-home) .service-summary {
    min-height: 0;
    padding: 20px 18px 0;
  }

  body:not(.page-home) .service-summary::after {
    position: static;
    width: calc(100% + 36px);
    height: clamp(155px, 50vw, 275px);
    margin: 18px -18px 0;
  }

  body:not(.page-home) .service-summary h1,
  body:not(.page-home) .service-summary p { max-width: none; }
}

@media (max-width: 740px) {
  .editorial-hero .editorial-photo {
    min-height: 0;
    aspect-ratio: 3 / 2;
  }
}

.page-services-auto main { padding-block-start: 12px; }
.page-services-auto .service-summary { margin-top: 0; }

.service-journey .platform-card {
  padding: clamp(18px, 3vw, 30px);
  border-color: #ddd0ce;
  border-radius: 6px;
  background: #fefbfc;
}

.service-journey .platform-card p + p { margin-top: 8px; }

.service-journey ul {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 12px 0 0;
  border-top: 1px solid #e4d8d4;
  list-style: none;
}

.service-journey a {
  color: #753349;
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.service-journey-example {
  padding: 18px 20px;
  border-inline-start: 3px solid #a9657a;
  background: #f1e7e6;
}

.page-recherche-approvisionnement .editorial-hero {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
}

.page-recherche-approvisionnement .editorial-hero h1 {
  font-size: clamp(25px, 3.1vw, 40px);
  line-height: 1.13;
  letter-spacing: -.035em;
}

.page-recherche-approvisionnement .editorial-lead {
  font-size: 15px;
  line-height: 1.55;
}

.page-recherche-approvisionnement .editorial-hero .editorial-photo {
  min-height: clamp(210px, 23vw, 310px);
}

.page-recherche-approvisionnement .editorial-photo img { object-position: 72% center; }

@media (max-width: 740px) {
  .page-recherche-approvisionnement .editorial-hero { grid-template-columns: 1fr; }
  .page-recherche-approvisionnement .editorial-hero .editorial-photo {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
}

/* Introductions compactes : véhicules entiers sur les pages de mise en relation. */
body:is(.page-clients,.page-fournisseurs,.page-partenaires,.page-services-auto) .service-summary{min-height:230px;padding:26px 24px;padding-inline-end:calc(44% + 28px)}
body:is(.page-clients,.page-fournisseurs,.page-partenaires,.page-services-auto) .service-summary::after{width:44%;background-size:contain;background-position:center;background-color:#211d1e}
body:is(.page-clients,.page-fournisseurs,.page-partenaires,.page-services-auto) .service-summary h1{font-size:clamp(25px,2.8vw,36px);line-height:1.18;letter-spacing:-.025em;max-width:24ch;margin-bottom:14px}
body:is(.page-clients,.page-fournisseurs,.page-partenaires,.page-services-auto) .service-summary p{font-size:14px;line-height:1.65;margin-bottom:18px}
body:is(.page-clients,.page-fournisseurs,.page-partenaires,.page-services-auto) .resource-links{font-size:13px;gap:12px 24px}
.page-offres-skoda .skoda-offer>img{height:auto;min-height:0;object-fit:contain;background:#fff;align-self:center}
.page-offres-skoda .editorial-hero .editorial-photo{background:#fff;min-height:230px}
.page-offres-skoda .editorial-photo img{object-fit:contain}
.page-offres-skoda .editorial-hero h1{font-size:clamp(28px,3vw,40px)}
@media(max-width:740px){body:is(.page-clients,.page-fournisseurs,.page-partenaires,.page-services-auto) .service-summary{padding:22px 20px 0;min-height:0}body:is(.page-clients,.page-fournisseurs,.page-partenaires,.page-services-auto) .service-summary::after{width:calc(100% + 40px);height:auto;aspect-ratio:3/2;margin:20px -20px 0}body:is(.page-clients,.page-fournisseurs,.page-partenaires,.page-services-auto) .service-summary h1{font-size:27px}}

.skoda-configurations{display:grid;grid-template-columns:1fr;align-content:center;background:white;gap:8px;padding:18px}.skoda-configurations figure{margin:0}.skoda-configurations img{display:block;width:100%;height:auto;object-fit:contain;max-height:225px}.skoda-configurations figcaption{text-align:center;font-size:12px;color:#42383b;margin-top:4px}.page-offres-skoda .skoda-offer{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}@media(max-width:760px){.page-offres-skoda .skoda-offer{grid-template-columns:1fr}.skoda-configurations{grid-template-columns:1fr 1fr;padding:10px}.skoda-configurations figcaption{font-size:11px}}

/* Sélection Mercedes-Benz : liste fournisseur sans tarif public. */
.mercedes-intro{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:32px;background:#292226;color:#fcf8fa;border-radius:6px;margin-block:16px 34px;padding:32px}.mercedes-intro h1{font-size:clamp(28px,3.3vw,43px);line-height:1.15;margin:12px 0 16px;letter-spacing:-.03em}.mercedes-intro p{font-size:15px;line-height:1.65;max-width:48ch;color:#e9dfe0}.mercedes-intro .breadcrumb,.mercedes-intro .eyebrow{color:#e4c4cf}.mercedes-intro .button{margin-top:12px}.mercedes-intro aside{border-left:1px solid #6d505b;padding:16px 24px;align-self:center}.mercedes-intro aside>strong{display:block;font-size:64px;line-height:1.1;font-weight:600;color:#eed2d8}.mercedes-intro aside>span{display:block;font-size:14px;margin:10px 0 16px}.mercedes-intro aside p{font-size:12px}.mercedes-focus,.mercedes-stock,.mercedes-information{margin-bottom:38px}.mercedes-focus h2,.mercedes-stock h2,.mercedes-information h2{font-size:26px;margin-bottom:12px}.mercedes-focus-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:20px}.mercedes-focus-card{display:flex;flex-direction:column;align-items:flex-start;border:1px solid #dccfd0;border-radius:6px;padding:24px;background:#fefbfc}.mercedes-focus-card h3{font-size:22px;line-height:1.25;margin:12px 0}.mercedes-focus-card p{font-size:14px;line-height:1.7}.mercedes-focus-card .button{margin-top:auto;font-size:12px;min-height:44px}.mercedes-document{font-size:12px;text-decoration:underline;line-height:1.6;margin-bottom:22px}.mercedes-filters{display:flex;align-items:end;gap:16px;flex-wrap:wrap;margin-top:22px;padding:20px;background:#eee4e4;border-radius:6px}.mercedes-filters[hidden]{display:none}.mercedes-filters>div{flex:1;min-width:180px}.mercedes-filters label{display:block;font-size:12px;font-weight:600;margin-bottom:8px}.mercedes-filters input,.mercedes-filters select{width:100%;background:white}.mercedes-filters button{min-height:46px;padding:10px 16px;border:1px solid #b69a9e;border-radius:3px;background:white;color:#443039}.mercedes-table-scroll{overflow-x:auto}.mercedes-table{width:100%;border-collapse:collapse;font-size:13px}.mercedes-table caption{text-align:left;font-size:12px;padding:12px 0;color:#67555e}.mercedes-table td,.mercedes-table th{padding:16px 12px;border-bottom:1px solid #ded3d4;text-align:left;vertical-align:top;line-height:1.6}.mercedes-table thead{background:#eee4e4}.mercedes-table tbody th{min-width:260px;max-width:350px}.mercedes-table small{display:block;font-weight:400;color:#6d5a63;font-size:11px;margin-top:5px}.mercedes-table a{color:#723c50;text-decoration:underline;font-size:12px}.mercedes-table [hidden]{display:none}.mercedes-information{padding:26px;border-left:3px solid #a9657a;background:#f0e6e6}.mercedes-information p{font-size:14px;line-height:1.7}.mercedes-information .button{margin-top:12px}
@media(max-width:850px){.mercedes-focus-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.mercedes-intro{grid-template-columns:1fr;padding:24px;gap:20px}.mercedes-intro aside{border-left:0;border-top:1px solid #6d505b;padding:20px 0 0}.mercedes-intro aside>strong{font-size:44px}.mercedes-focus-grid{grid-template-columns:1fr}.mercedes-filters{padding:16px}.mercedes-filters>div{flex-basis:100%}.mercedes-table td,.mercedes-table th{min-width:140px}.mercedes-table tbody th{min-width:230px}}
