/* =====================================================================
   CPV AUTO 91 — feuille de style commune
   Direction artistique : voir refonte/DIRECTION-ARTISTIQUE.md
   Toutes les pages du site utilisent ce seul fichier.
   ===================================================================== */

/* ---------- 1. Polices (servies par le site, pas par Google) ---------- */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/inter-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/inter-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/poppins-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/poppins-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/poppins-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/poppins-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- 2. Règles de la direction artistique ---------- */
:root {
  --bleu: #0067FF;
  --bleu-fonce: #005EE9;
  --nuit: #0F172A;
  --texte: #364151;
  --ciel: #E7F6FF;
  --trait: #D1DAE5;
  --blanc: #FFFFFF;

  --police-titre: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --police-texte: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --largeur: 1140px;
  --gouttiere: 20px;
  --arrondi: 12px;
  --pilule: 100px;
  --ombre-carte: 0 0 20px rgba(0, 0, 0, 0.07);
  --ombre-bandeau: 0 24px 80px -24px rgba(0, 0, 0, 0.24);
  --section: clamp(56px, 7vw, 100px);
  --entete: 88px;
}

/* ---------- 3. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--entete) + 16px); }
body { margin: 0; font-family: var(--police-texte); font-size: 16px; line-height: 1.7; color: var(--texte); background: var(--blanc); }
img, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--bleu); text-underline-offset: 3px; }
a:hover { color: var(--bleu-fonce); }
strong, b { font-weight: 600; }
p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0 0 1.2em; padding-left: 1.2em; }
li { margin-bottom: 0.5em; }

h1, h2, h3, h4 { font-family: var(--police-titre); font-weight: 600; color: var(--nuit); margin: 0; }
h1 { font-size: clamp(2.5rem, 1.6rem + 4vw, 4.5rem); line-height: 1.2; letter-spacing: -1px; }
h2 { font-size: clamp(1.875rem, 1.4rem + 2.2vw, 3rem); line-height: 1.2; }
h3 { font-size: clamp(1.125rem, 1rem + 0.5vw, 1.3125rem); line-height: 1.4; }

:focus-visible { outline: 3px solid var(--bleu); outline-offset: 3px; border-radius: 4px; }
.lien-evitement { position: absolute; left: -9999px; top: 0; background: var(--nuit); color: var(--blanc); padding: 12px 20px; z-index: 10000; }
.lien-evitement:focus { left: 8px; top: 8px; }
.visuellement-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.conteneur { width: 100%; max-width: calc(var(--largeur) + 2 * var(--gouttiere)); margin-inline: auto; padding-inline: var(--gouttiere); }
.section { padding-block: var(--section); }
.section--ciel { background: var(--ciel); }
.section--serree { padding-block: calc(var(--section) * 0.6); }
.centre { text-align: center; }
.icone { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 4. Petits éléments ---------- */
.separateur { display: block; width: 64px; height: 4px; border: 0; border-radius: 2px; background: var(--trait); margin: 24px 0 28px; }
.centre .separateur { margin-inline: auto; }
.sur-titre { font-family: var(--police-titre); font-weight: 600; font-size: 1.0625rem; letter-spacing: 2px; text-transform: uppercase; color: var(--nuit); margin: 0 0 12px; }
.titre-section { margin-bottom: clamp(28px, 4vw, 56px); }

/* ---------- 5. Boutons ---------- */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 16px 35px;
  font-family: var(--police-titre); font-weight: 600; font-size: 1rem; line-height: 1.2; letter-spacing: 0.36px; text-transform: uppercase; text-decoration: none; text-align: center;
  border-radius: var(--pilule); border: 1px solid transparent; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s; }
.bouton:active { transform: translateY(1px); }
.bouton--plein { background: var(--bleu); color: var(--blanc); border-color: var(--bleu); }
.bouton--plein:hover { background: var(--bleu-fonce); border-color: var(--bleu-fonce); color: var(--blanc); }
.bouton--contour { background: transparent; color: var(--nuit); border-color: var(--nuit); }
.bouton--contour:hover { background: var(--bleu-fonce); border-color: var(--bleu-fonce); color: var(--blanc); }
.bouton--clair { background: transparent; color: var(--blanc); border-color: var(--blanc); }
.bouton--clair:hover { background: var(--blanc); color: var(--nuit); }
.bouton--petit { min-height: 46px; padding: 12px 26px; font-size: 0.875rem; }
.boutons { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.centre .boutons, .bandeau-photo .boutons, .appel-final .boutons { justify-content: center; }
.lien-fleche { display: inline-flex; align-items: center; gap: 8px; font-family: var(--police-titre); font-weight: 600; text-decoration: none; }
.lien-fleche .icone { transition: transform .2s; }
.lien-fleche:hover .icone { transform: translateX(4px); }

/* ---------- 6. En-tête ---------- */
.entete { position: sticky; top: 0; z-index: 900; background: var(--blanc); box-shadow: 0 1px 0 rgba(15, 23, 42, 0.08); }
.entete__barre { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--entete); }
.entete__logo { display: flex; align-items: center; flex: none; }
.entete__logo img { width: 125px; height: auto; }
.menu { display: flex; align-items: center; gap: 8px; }
.menu__liste { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.menu__liste li { margin: 0; }
.menu__lien { display: block; padding: 12px 18px; font-weight: 600; font-size: 0.875rem; line-height: 1.3; text-transform: uppercase; text-decoration: none; color: var(--texte); border-radius: 8px; }
.menu__lien:hover, .menu__lien[aria-current="page"] { color: var(--bleu-fonce); }
.menu .bouton { margin-left: 12px; }
.menu__bascule { display: none; align-items: center; justify-content: center; width: 48px; height: 48px; border: 0; border-radius: 4px; background: var(--bleu); color: var(--blanc); cursor: pointer; }
.menu__bascule .icone { width: 24px; height: 24px; }
.menu__bascule .icone--fermer { display: none; }
.menu__bascule[aria-expanded="true"] .icone--ouvrir { display: none; }
.menu__bascule[aria-expanded="true"] .icone--fermer { display: block; }

/* ---------- 7. Bandeau photo (accueil) ---------- */
.bandeau-photo { position: relative; isolation: isolate; display: grid; place-items: center; min-height: clamp(440px, 50vw, 725px); padding-block: 64px; text-align: center; color: var(--blanc); background: #000; overflow: hidden; }
.bandeau-photo__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.bandeau-photo::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.5); z-index: -1; }
.bandeau-photo h1 { color: var(--blanc); }
.bandeau-photo__accroche { max-width: 46ch; margin: 18px auto 0; font-size: clamp(1rem, 0.9rem + 0.5vw, 1.25rem); color: rgba(255, 255, 255, 0.92); }
.bandeau-photo .boutons { margin-top: 32px; }
.note-google { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; padding: 8px 18px; border-radius: var(--pilule); background: rgba(255, 255, 255, 0.14); color: var(--blanc); font-size: 0.9375rem; text-decoration: none; backdrop-filter: blur(4px); }
.note-google:hover { color: var(--blanc); background: rgba(255, 255, 255, 0.24); }
.etoiles { display: inline-flex; gap: 2px; color: #FBBC04; }
.etoiles svg { width: 16px; height: 16px; fill: currentColor; }

/* ---------- 8. En-tête de page (service, contact) ---------- */
.entete-page { position: relative; overflow: hidden; background: var(--blanc); }
.entete-page__grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; min-height: clamp(420px, 44vw, 620px); }
.entete-page__texte { padding-block: 56px; padding-right: 40px; max-width: 560px; }
.entete-page__visuel { position: absolute; top: 0; right: 0; bottom: 0; width: 52%; clip-path: polygon(35% 0, 100% 0, 100% 100%, 0 100%); }
.entete-page__visuel img { width: 100%; height: 100%; object-fit: cover; }
.entete-page__visuel::after { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, 0.4); }
.entete-page--net .entete-page__visuel::after { background: rgba(255, 255, 255, 0.12); }
.entete-page--net .entete-page__visuel img { object-position: 12% center; }

/* ---------- 9. Deux colonnes ---------- */
.deux-colonnes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 60px); align-items: start; }
.carte-google { width: 100%; height: 300px; border: 0; border-radius: var(--arrondi); background: var(--ciel); }

/* ---------- 10. Bloc « engagements » ---------- */
.panneau { background: var(--blanc); border-radius: var(--arrondi); box-shadow: var(--ombre-carte); padding: clamp(28px, 4vw, 48px) clamp(20px, 3vw, 40px); }
.trois-colonnes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); }
.engagement { text-align: center; }
.engagement h3 { font-size: clamp(1.375rem, 1.1rem + 1vw, 2rem); line-height: 1.15; margin: 20px 0 16px; }
.pastille { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--ciel); color: var(--bleu); }
.pastille .icone { width: 30px; height: 30px; }

/* ---------- 11. Cartes service ---------- */
.grille-cartes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.carte-service { display: flex; flex-direction: column; background: var(--blanc); border-radius: var(--arrondi); overflow: hidden; }
.carte-service__image { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.carte-service__corps { display: flex; flex-direction: column; gap: 14px; flex: 1; padding: 32px; }
.carte-service__corps .lien-fleche { margin-top: auto; padding-top: 6px; }

/* ---------- 12. Bloc d'arguments (pages service) ---------- */
.arguments { background: var(--ciel); border-radius: var(--arrondi); padding: clamp(24px, 3.5vw, 40px); }
.argument .icone-trait { width: 56px; height: 56px; color: #253993; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.argument h3 { margin: 22px 0 14px; }

/* ---------- 13. Bandeau bleu (adresse et horaires) ---------- */
.bandeau-bleu { background: var(--bleu); color: var(--blanc); border-radius: var(--arrondi); box-shadow: var(--ombre-bandeau); padding: clamp(24px, 3.5vw, 40px); }
.bandeau-bleu h2, .bandeau-bleu h3 { color: var(--blanc); font-size: clamp(1.125rem, 1rem + 0.5vw, 1.3125rem); line-height: 1.4; margin: 18px 0 16px; }
.bandeau-bleu a { color: var(--blanc); }
.bandeau-bleu .pastille { width: 48px; height: 48px; background: rgba(15, 23, 42, 0.18); color: var(--blanc); }
.bandeau-bleu .pastille .icone { width: 22px; height: 22px; }
.liste-coches { list-style: none; margin: 0 0 1.2em; padding: 0; }
.liste-coches li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 8px; }
.liste-coches .icone { margin-top: 0.3em; }
.bandeau-bleu .carte-google { border-radius: 8px; }
.bandeau-bleu .boutons { margin-top: 20px; }

/* ---------- 14. Bandeau d'appel final ---------- */
.appel-final { text-align: center; padding-block: clamp(56px, 7vw, 96px);
  background: linear-gradient(110deg, rgba(255, 255, 255, 0) 64%, rgba(37, 57, 147, 0.08) 64%), linear-gradient(110deg, var(--blanc) 32%, rgba(37, 57, 147, 0.08) 32%); }
.appel-final .separateur { margin: 24px auto 28px; }
.appel-final__telephone { margin-top: 18px; font-size: 0.9375rem; }
.appel-final__telephone a { font-weight: 600; color: var(--nuit); }

/* ---------- 15. Avis ---------- */
.avis-grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; text-align: left; }
.avis { background: #F4F4F4; border-radius: var(--arrondi); padding: 20px; font-size: 0.9375rem; line-height: 1.5; color: #1a1a1a; }
.avis__entete { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.avis__initiale { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--bleu); color: var(--blanc); font-weight: 600; }
.avis__nom { font-weight: 600; line-height: 1.2; }
.avis__date { font-size: 0.8125rem; color: #6b7280; }
.avis .etoiles { margin-bottom: 10px; }
.note-maquette { margin-top: 16px; font-size: 0.8125rem; font-style: italic; color: #6b7280; }

/* ---------- 16. Coordonnées (page contact) ---------- */
.fiche { background: var(--ciel); border-radius: var(--arrondi); padding: clamp(24px, 3.5vw, 40px); height: 100%; }
.fiche h2 { font-size: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem); margin: 18px 0 18px; }
.liste-contact { list-style: none; margin: 0; padding: 0; }
.liste-contact li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.liste-contact li:last-child { margin-bottom: 0; }
.liste-contact .icone { margin-top: 0.25em; color: var(--bleu); }
.liste-contact a { color: var(--nuit); font-weight: 600; }
.liste-contact small { display: block; font-size: 0.875rem; color: var(--texte); font-weight: 400; }
.photo-arrondie { width: 100%; border-radius: var(--arrondi); aspect-ratio: 16 / 9; object-fit: cover; }

/* ---------- 17. Pied de page ---------- */
.pied { background: var(--ciel); padding-top: clamp(48px, 6vw, 80px); }
.pied__grille { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(28px, 4vw, 64px); padding-bottom: clamp(40px, 5vw, 64px); }
.pied h2 { font-size: 1rem; line-height: 1.4; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.5px; }
.pied ul { list-style: none; margin: 0; padding: 0; }
.pied li { margin-bottom: 10px; }
.pied a { color: var(--texte); text-decoration: none; }
.pied a:hover { color: var(--bleu-fonce); text-decoration: underline; }
.pied .liste-contact a { color: var(--bleu-fonce); font-weight: 400; }
.pied__reseaux { display: flex; gap: 10px; margin-top: 18px; }
.pied__reseaux a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--blanc); color: var(--bleu); }
.pied__bas { border-top: 1px solid var(--trait); padding-block: 20px; font-size: 0.8125rem; }

/* ---------- 18. Barre d'appel mobile ---------- */
.barre-mobile { display: none; }

/* ---------- 19. Tablette et téléphone ---------- */
@media (max-width: 1024px) {
  .menu__lien { padding-inline: 12px; }
  .pied__grille { grid-template-columns: 1fr 1fr; }
  .pied__grille > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  :root { --entete: 72px; }
  .entete__logo img { width: 110px; }
  .menu__bascule { display: inline-flex; }
  .menu { position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gouttiere) 20px; background: var(--blanc); box-shadow: 0 16px 24px -12px rgba(15, 23, 42, 0.18); border-top: 1px solid var(--trait); }
  .menu.est-ouvert { display: flex; }
  .menu__liste { flex-direction: column; align-items: stretch; gap: 0; }
  .menu__lien { padding: 16px 4px; font-size: 1rem; border-bottom: 1px solid var(--trait); border-radius: 0; }
  .menu .bouton { margin: 18px 0 0; }

  .deux-colonnes, .trois-colonnes, .grille-cartes, .avis-grille, .pied__grille { grid-template-columns: minmax(0, 1fr); }
  .pied__grille > :first-child { grid-column: auto; }
  .carte-service__corps { padding: 24px; }

  .entete-page__grille { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .entete-page__texte { padding: 40px 0 28px; max-width: none; }
  .entete-page__visuel { position: static; width: auto; height: 220px; clip-path: none; margin: 0 var(--gouttiere) 40px; border-radius: var(--arrondi); overflow: hidden; }
  .entete-page__visuel::after { display: none; }

  .bouton { width: 100%; }
  .entete .bouton, .bandeau-photo .bouton, .appel-final .bouton { width: auto; }
  .bandeau-photo .boutons, .appel-final .boutons { flex-direction: column; }
  .note-google { font-size: 0.8125rem; padding-inline: 14px; gap: 8px; }
  .note-google .etoiles svg { width: 14px; height: 14px; }

  .barre-mobile { display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999; padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0px)); background: var(--blanc); box-shadow: 0 -2px 10px rgba(15, 23, 42, 0.18); }
  .barre-mobile a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 8px; font-family: var(--police-titre); font-size: 1rem; font-weight: 600; line-height: 1.2; text-decoration: none; }
  .barre-mobile__appel { flex: 2 !important; background: var(--bleu); color: var(--blanc); }
  .barre-mobile__itineraire { background: var(--blanc); color: var(--nuit); border: 2px solid var(--nuit); }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- 20. Ajouts propres à WordPress ---------- */
/* Barre d'administration : l'en-tête fixe se place en dessous quand on est connecté. */
.admin-bar .entete { top: 32px; }
@media (max-width: 782px) { .admin-bar .entete { top: 46px; } }
@media (max-width: 600px) { .admin-bar .entete { top: 0; } }

.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Pages rédigées dans l'éditeur WordPress, sans fichier de contenu dans le thème. */
.contenu-libre { max-width: 760px; }
.contenu-libre h2 { font-size: clamp(1.5rem, 1.3rem + 1vw, 2rem); margin: 1.6em 0 0.6em; }
.contenu-libre h3 { margin: 1.4em 0 0.5em; }
.contenu-libre img { border-radius: var(--arrondi); }

/* Carrousel d'avis Trustindex : on le laisse gérer son propre style, on centre seulement le bloc. */
.avis-module { text-align: left; }

/* ---------- 21. Version 1.0.1 : grands titres des pages service, note Google, barre mobile ---------- */
.entete-page h1 { font-size: clamp(2rem, 1.5rem + 2.2vw, 3.25rem); text-wrap: balance; }
.note-google--claire { margin-top: 12px; background: var(--ciel); color: var(--nuit); backdrop-filter: none; }
.note-google--claire:hover { background: var(--trait); color: var(--nuit); }
@media (max-width: 767px) {
  /* La place de la barre d'appel est prise dans le pied de page : plus de bande blanche entre les deux. */
  body { padding-bottom: 0; }
  .pied { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
  .note-google--claire { display: flex; width: fit-content; margin: 20px auto 0; }
}
@media (max-width: 400px) {
  .note-google { flex-direction: column; gap: 2px; padding: 10px 18px; border-radius: 16px; }
}

/* ---------- 22. Version 1.0.3 : page Attelage (contenu, schémas, étapes, FAQ, appel en tête) ---------- */
.entete-page__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 24px; }
.entete-page__actions .note-google--claire { margin: 0; }
.contenu-service { max-width: 760px; margin-bottom: 48px; }
.contenu-service h3 { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); line-height: 1.3; margin: 40px 0 12px; text-wrap: balance; }
.contenu-service > p:first-child { font-size: 1.0625rem; }
.liste-service { margin: 0 0 16px; padding-left: 20px; display: grid; gap: 8px; }
.liste-service li::marker { color: var(--bleu); }
.schemas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 20px 0 24px; }
.schema { margin: 0; display: grid; gap: 10px; align-content: start; }
.schema img { display: block; width: 100%; height: auto; border-radius: var(--arrondi); }
.schema figcaption { display: grid; gap: 2px; font-size: 0.9375rem; line-height: 1.5; }
.schema figcaption strong { font-family: var(--police-titre); font-weight: 600; color: var(--nuit); }
.schema--large { margin: 20px 0 16px; }
.schema--prises { max-width: 540px; margin-bottom: 24px; }
.schema__legendes { grid-template-columns: 1fr 1fr; text-align: center; }
.schema__legendes span { display: grid; gap: 2px; }
.section--etapes { padding-top: 0; }
.etapes-cartes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.etape-carte { display: flex; flex-direction: column; gap: 10px; padding: 24px; background: var(--blanc); border: 1px solid var(--trait); border-radius: var(--arrondi); }
.etape-carte__numero { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ciel); color: var(--bleu); font-family: var(--police-titre); font-weight: 600; font-size: 1.125rem; }
.etape-carte h3 { font-size: 1.125rem; line-height: 1.35; }
.etape-carte p { margin: 0; }
.etape-carte .bouton { margin-top: auto; align-self: flex-start; white-space: nowrap; }
.section--compacte { padding-block: clamp(24px, 3vw, 40px); }
.appel-final--compact { padding-block: clamp(32px, 4vw, 56px); }
.faq__liste { max-width: 760px; display: grid; }
.faq__item { padding-block: 20px; border-top: 1px solid var(--trait); }
.faq__item:last-child { border-bottom: 1px solid var(--trait); }
.faq__item h3 { font-size: 1.125rem; line-height: 1.4; margin-bottom: 8px; }
.faq__item p { margin: 0; }
@media (max-width: 1024px) { .etapes-cartes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .entete-page__actions { flex-direction: column; align-items: center; }
  .entete-page__actions .bouton { width: auto; min-height: 44px; padding: 10px 22px; font-size: 0.875rem; gap: 8px; }
  .entete-page__actions .note-google--claire { margin: 0 auto; }
  .bouton__numero { display: none; }
  .entete-page--net .entete-page__visuel img { object-position: 70% center; }
}
@media (max-width: 600px) {
  .schemas, .etapes-cartes { grid-template-columns: minmax(0, 1fr); }
  .etape-carte .bouton { align-self: stretch; }
}

/* ---------- 23. Version 1.0.5 : modèle compact des pages service (cartes, parcours, avis, FAQ repliable) ---------- */
.intro-section { max-width: 760px; margin: 0 0 28px; font-size: 1.0625rem; }
.cartes-prestations { list-style: none; margin: 0 0 clamp(32px, 4vw, 48px); padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.prestation { display: flex; flex-direction: column; gap: 10px; padding: 24px; background: var(--blanc); border: 1px solid var(--trait); border-radius: var(--arrondi); }
.prestation .pastille { width: 52px; height: 52px; }
.prestation .icone-trait { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.prestation h3 { font-size: 1.125rem; line-height: 1.35; margin: 6px 0 0; }
.prestation p { margin: 0; }
.prestation a { color: var(--bleu); font-weight: 600; }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ciel); color: var(--bleu); font-size: 1.375rem; line-height: 1; }
.faq__item[open] summary::after { content: "\2212"; }
.faq__item summary h3 { margin: 0; }
.faq__item summary:focus-visible { outline: 2px solid var(--bleu); outline-offset: 4px; border-radius: 4px; }
.faq__reponse { padding-top: 12px; display: grid; gap: 16px; }
.faq__reponse .schema { max-width: 560px; }
.parcours { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: parcours; }
.parcours li { position: relative; display: grid; align-content: start; gap: 4px; padding-top: 56px; counter-increment: parcours; }
.parcours li::before { content: counter(parcours); position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--bleu); color: var(--blanc); font-family: var(--police-titre); font-weight: 600; }
.parcours li:not(:last-child)::after { content: ""; position: absolute; top: 21px; left: 56px; right: -8px; height: 2px; background: var(--trait); }
.parcours strong { font-family: var(--police-titre); color: var(--nuit); font-size: 1.0625rem; }
.parcours__appel { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.parcours__appel p { margin: 0; font-size: 0.9375rem; }
@media (max-width: 767px) {
  .parcours { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .parcours li { padding: 2px 0 0 60px; min-height: 44px; }
  .parcours li:not(:last-child)::after { top: 50px; bottom: -14px; left: 21px; right: auto; width: 2px; height: auto; }
  .parcours__appel { flex-direction: column; align-items: stretch; text-align: center; }
}
.aide-choix { max-width: 760px; margin: -12px 0 clamp(32px, 4vw, 48px); }
.parcours__appel .bouton { white-space: nowrap; }
@media (max-width: 767px) {
  .parcours__appel .bouton__libelle { display: none; }
}
@media (max-width: 1024px) { .cartes-prestations { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .cartes-prestations { grid-template-columns: minmax(0, 1fr); } .prestation { flex-direction: row; align-items: flex-start; gap: 16px; padding: 18px; } .prestation .pastille { flex: none; width: 44px; height: 44px; } .prestation h3 { margin: 0 0 4px; } }
/* Cartes à schéma (attelage) et carte du faisceau */
.carte-type { padding: 0; overflow: hidden; }
.carte-type .schema-carte { display: block; width: 100%; height: auto; background: var(--ciel); }
.carte-type__corps { display: grid; gap: 6px; padding: 20px 24px 24px; }
.carte-type__corps h3 { margin: 0; }
.carte-type__corps em { color: var(--nuit); font-style: normal; font-weight: 600; }
.carte-faisceau { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 24px; align-items: center; padding: 20px 24px; margin: -12px 0 28px; background: var(--blanc); border: 1px solid var(--trait); border-radius: var(--arrondi); }
.carte-faisceau h3 { margin: 0 0 8px; font-size: 1.125rem; }
.carte-faisceau ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.carte-faisceau li::marker { color: var(--bleu); }
.carte-faisceau img { display: block; width: 100%; height: auto; border-radius: var(--arrondi); }
@media (max-width: 767px) {
  .carte-type { flex-direction: row !important; align-items: center; padding: 12px !important; gap: 14px !important; }
  .carte-type .schema-carte { flex: none; width: 112px; border-radius: 8px; }
  .carte-type__corps { padding: 0; gap: 4px; }
  .carte-faisceau { grid-template-columns: minmax(0, 1fr); padding: 18px; margin-top: 0; }
  .carte-faisceau img { max-width: 260px; }
}

/* ---------- 24. Version 1.0.6 : page Contact, partie « Venir au garage » ---------- */
.trajets h3 { font-size: 1.125rem; margin: 0 0 12px; }
.trajets__liste { list-style: none; margin: 0; padding: 0; }
.trajets__liste li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--trait); }
.trajets__liste strong { color: var(--nuit); white-space: nowrap; }
.trajets__note { margin: 10px 0 0; font-size: 0.875rem; }
.trajets { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1025px) { .trajets { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } }
@media (min-width: 600px) { .trajets__liste--colonnes { columns: 2; column-gap: 32px; } .trajets__liste--colonnes li { break-inside: avoid; } }

/* ---------- 25. Version 1.0.7 : photos des types d'attelage dans les cartes ---------- */
.carte-type .carte-type__photo { aspect-ratio: 4 / 3; object-fit: contain; background: #FFFFFF; padding: 12px; border-bottom: 1px solid var(--trait); }
@media (max-width: 767px) { .carte-type .carte-type__photo { aspect-ratio: 1; padding: 6px; border: 1px solid var(--trait); } }

/* ---------- 26. Version 1.0.8 : fil d'Ariane des pages service (au-dessus du titre) ---------- */
.fil-ariane { margin-bottom: 20px; font-size: 0.8125rem; color: var(--texte); }
.fil-ariane ol { display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0; padding: 0; list-style: none; }
.fil-ariane li:not(:last-child)::after { content: "›"; margin-left: 8px; color: var(--texte); opacity: 0.5; } /* en fin de ligne : un retour à la ligne ne commence jamais par « › » */
.fil-ariane a { color: var(--texte); text-decoration: none; }
.fil-ariane a:hover { color: var(--bleu); text-decoration: underline; }
.fil-ariane [aria-current] { color: var(--nuit); font-weight: 500; }

/* ---------- 27. Version 1.0.9 : page Mécanique (alerte panne, liens dans les arguments) ---------- */
.alerte-panne { max-width: 760px; margin: 0 auto; padding: 16px 20px; background: var(--blanc); border: 1px solid var(--trait); border-radius: var(--arrondi); }
.alerte-panne strong { color: var(--nuit); }
.argument a { color: var(--bleu); font-weight: 600; }

/* ---------- 28. Version 1.0.10 : sous-menu « Mécanique générale » ---------- */
.menu__parent { position: relative; display: flex; align-items: center; }
.menu__parent .menu__lien { padding-right: 4px; }
.menu__lien--actif { color: var(--bleu-fonce); }
.menu__lien--externe { white-space: nowrap; }
.menu__deplier { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; margin-right: 6px; padding: 0; border: 0; border-radius: 6px; background: none; color: var(--texte); cursor: pointer; }
.menu__deplier .icone { width: 16px; height: 16px; transition: transform 0.15s; }
.menu__parent.est-ouvert .menu__deplier .icone { transform: rotate(180deg); }
.sous-menu { display: none; position: absolute; top: 100%; left: 0; z-index: 20; min-width: 240px; margin: 0; padding: 8px; list-style: none; background: var(--blanc); border: 1px solid var(--trait); border-radius: var(--arrondi); box-shadow: 0 16px 24px -12px rgba(15, 23, 42, 0.18); }
.sous-menu::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 12px; }
.menu__parent:hover .sous-menu, .menu__parent.est-ouvert .sous-menu { display: block; }
.sous-menu li { margin: 0; }
.sous-menu__lien { display: block; padding: 10px 14px; font-weight: 600; font-size: 0.9375rem; text-decoration: none; color: var(--texte); border-radius: 8px; }
.sous-menu__lien:hover, .sous-menu__lien[aria-current="page"] { color: var(--bleu-fonce); background: var(--ciel); }
@media (max-width: 767px) {
  .menu__parent { flex-wrap: wrap; border-bottom: 1px solid var(--trait); }
  .menu__parent .menu__lien { flex: 1; border-bottom: 0; }
  .menu__deplier { width: 44px; height: 44px; margin: 0; }
  .menu__deplier .icone { width: 20px; height: 20px; }
  .sous-menu, .menu__parent:hover .sous-menu { display: none; position: static; flex-basis: 100%; min-width: 0; padding: 0 0 8px 16px; border: 0; box-shadow: none; }
  .menu__parent.est-ouvert .sous-menu { display: block; }
  .sous-menu::before { display: none; }
  .sous-menu__lien { padding: 12px 4px; font-size: 1rem; }
}
/* Tablette : le chevron du sous-menu prend de la place, on resserre pour garder le bouton d'appel sur une ligne. */
@media (min-width: 768px) and (max-width: 1024px) {
  .entete__barre { gap: 12px; }
  .menu__lien { padding-inline: 8px; }
  .menu .bouton { white-space: nowrap; margin-left: 4px; padding-inline: 14px; }
  .menu__deplier { margin-right: 2px; }
}
/* Petite tablette : six entrées de menu, le bouton d'appel n'affiche que l'icône (numéro lu par les lecteurs d'écran). */
@media (min-width: 768px) and (max-width: 900px) {
  .menu .menu__appel { padding-inline: 12px; }
  .menu__appel-numero { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.faq__reponse a { color: var(--bleu); font-weight: 600; }
