/* International Automobiles, maquette du 18/11/2026.
   Concept : un catalogue de showroom. Les photos de la maison portent la couleur.
   Le reste est noir sur blanc, comme les documents de la maison, avec leurs bandeaux noirs.
   Une seule couleur de signal : le rouge de l'aiguille du logo historique.
   Mouvement : une ouverture qui défile, des entrées au défilement, des compteurs. Rien d'autre. */

/* ---------- Police : Plus Jakarta Sans, hébergée ici (licence SIL OFL). Fichier variable : tous les poids de 200 à 800 dans un seul fichier.
   Le français tient tout entier dans « latin », seul fichier préchargé. « latin-ext » n'est demandé que si un caractère l'exige. ---------- */
@font-face {
  font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("fonts/plus-jakarta-sans-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: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("fonts/plus-jakarta-sans-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Police de repli, le temps du chargement : Arial réglée sur les mesures de Plus Jakarta Sans (5 % plus large, mêmes hauteurs de ligne),
   pour que les textes ne changent pas de nombre de lignes à l'arrivée de la police. Mesures prises dans le navigateur le 19/11/2026. */
@font-face {
  font-family: "Jakarta repli"; src: local("Arial"), local("Helvetica Neue"), local("Roboto");
  size-adjust: 105.2%; ascent-override: 98.7%; descent-override: 21.1%; line-gap-override: 0%;
}

:root {
  --bg: #ffffff;
  --surface: #f3f2ef;
  --ink: #111111;
  --muted: #5d5b57;
  --line: #dbd9d4;
  --band-bg: #111111;
  --band-fg: #ffffff;
  --signal: #e5373e;
  --signal-ink: #c3222a;
  --voile: rgba(17, 17, 17, .72);
  --voile-fg: #ffffff;
  --photo-bg: #111111;
  --photo-fg: #ffffff;
  --photo-trait: rgba(255, 255, 255, .45);

  --font-text: "Plus Jakarta Sans", "Jakarta repli", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-data: var(--font-text);   /* une seule police : les chiffres aussi, en chiffres tabulaires */

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --pas: clamp(56px, 8vw, 112px);
  --doux: cubic-bezier(.22, 1, .36, 1);   /* la courbe de lm-photos.fr : départ vif, longue fin */
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #101010;
    --surface: #1b1b1a;
    --ink: #f3f2ef;
    --muted: #a8a6a1;
    --line: #302f2d;
    --band-bg: #f3f2ef;
    --band-fg: #111111;
    --signal: #ee5157;
    --signal-ink: #ff7176;
    --voile: rgba(0, 0, 0, .7);
    --voile-fg: #ffffff;
    --photo-bg: #111111;
    --photo-fg: #ffffff;
    --photo-trait: rgba(255, 255, 255, .45);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #101010;
  --surface: #1b1b1a;
  --ink: #f3f2ef;
  --muted: #a8a6a1;
  --line: #302f2d;
  --band-bg: #f3f2ef;
  --band-fg: #111111;
  --signal: #ee5157;
  --signal-ink: #ff7176;
  --voile: rgba(0, 0, 0, .7);
  --voile-fg: #ffffff;
  --photo-bg: #111111;
  --photo-fg: #ffffff;
  --photo-trait: rgba(255, 255, 255, .45);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 16px;   /* Plus Jakarta Sans est plus large et plus haute d'œil que l'ancienne police */
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 40; background: var(--bg);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }

.wrap {
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

/* ---------- Typographie ---------- */
.bandeau {
  display: inline-block;
  background: var(--band-bg);
  color: var(--band-fg);
  font: 600 .74rem/1 var(--font-text);
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .55em .8em .5em;
}
.bandeau--signal { background: var(--signal); color: var(--photo-fg); }
.bandeau--photo { background: var(--photo-fg); color: var(--photo-bg); }
.titre {
  font-weight: 300;
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -.01em;
  text-wrap: balance;
}
.titre strong, .accroche strong { font-weight: 600; }
.note { color: var(--muted); font-size: .88rem; }
.chiffre { font-family: var(--font-data); font-variant-numeric: tabular-nums; }

.lien {
  display: inline-flex; align-items: baseline; gap: .45em;
  font-weight: 500; text-decoration: none;
  border-bottom: 1px solid var(--ink); padding-bottom: 2px;
  transition: border-color .2s ease;
}
.lien::after { content: "\2192"; transition: transform .25s var(--doux); }
.lien:hover { border-bottom-color: var(--signal); }
.lien:hover::after { transform: translateX(5px); }

.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .6em 1.3em;
  background: var(--band-bg); color: var(--band-fg);
  border: 1px solid var(--band-bg);
  font: 600 .95rem/1.2 var(--font-text); letter-spacing: .02em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s var(--doux);
}
.bouton::after { content: "\2192"; transition: transform .25s var(--doux); }
.bouton:hover { background: var(--signal); border-color: var(--signal); color: var(--photo-fg); }
.bouton:hover::after { transform: translateX(4px); }
.bouton:active { transform: scale(.98); }
.bouton--clair { background: transparent; color: var(--ink); border-color: var(--ink); }
.bouton--clair:hover { background: var(--band-bg); border-color: var(--band-bg); color: var(--band-fg); }
.bouton--photo { background: var(--photo-fg); color: var(--photo-bg); border-color: var(--photo-fg); }
.bouton--contour { background: transparent; color: var(--photo-fg); border-color: var(--photo-fg); }
.bouton--contour:hover { background: var(--photo-fg); border-color: var(--photo-fg); color: var(--photo-bg); }
.bouton--petit { min-height: 40px; padding: .4em 1em; font-size: .86rem; }
.bouton--nu::after { content: none; }

/* ---------- Bande maquette ---------- */
.maquette {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  font-size: .8rem; color: var(--muted);
}
.maquette .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px 20px; padding-block: 8px;
}
.etats { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.etats button {
  font: 600 .78rem/1 var(--font-text); letter-spacing: .06em; text-transform: uppercase;
  padding: .6em .9em; cursor: pointer;
  background: transparent; color: var(--ink); border: 1px solid var(--line);
}
.etats button[aria-pressed="true"] { background: var(--band-bg); color: var(--band-fg); border-color: var(--band-bg); }

/* ---------- En-tête ---------- */
.entete { border-bottom: 1px solid var(--line); background: var(--bg); z-index: 30; }
.entete .wrap {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center;
  gap: 10px clamp(16px, 2.4vw, 36px); padding-block: 16px;
  transition: padding-top .3s var(--doux), padding-bottom .3s var(--doux);
}
.marque { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.marque__signe {
  width: 40px; height: 40px; flex: none; background: var(--ink);
  -webkit-mask: url("logo/monogramme.png") center / contain no-repeat;
          mask: url("logo/monogramme.png") center / contain no-repeat;
  transition: width .3s var(--doux), height .3s var(--doux);
}
.marque__nom {
  display: flex; flex-direction: column; text-transform: uppercase;
  font-size: .92rem; line-height: 1.12; letter-spacing: .17em;
}
.marque__nom span:first-child { font-weight: 300; }
.marque__nom span:last-child { font-weight: 600; }
.menu { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 4px clamp(14px, 1.8vw, 26px); min-width: 0; }
.menu a {
  position: relative; text-decoration: none; font-size: .9rem; font-weight: 500; letter-spacing: .03em;
  padding-block: 6px; white-space: nowrap;
}
.menu a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--signal); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--doux);
}
.menu a:hover::after, .menu a[aria-current="page"]::after { transform: scaleX(1); }
.entete__actions { display: flex; align-items: center; gap: 16px; }
.entete__tel {
  font-family: var(--font-data); font-size: 1rem; font-weight: 500; letter-spacing: 0;
  font-variant-numeric: tabular-nums; white-space: nowrap; text-decoration: none;
}
@media (min-width: 761px) {
  .entete { position: sticky; top: env(safe-area-inset-top, 0px); }
  .entete--compacte .wrap { padding-block: 8px; }
  .entete--compacte .marque__signe { width: 32px; height: 32px; }
  @supports (backdrop-filter: blur(10px)) {
    .entete { background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.3) blur(14px); }
  }
}

/* ---------- Accueil : ouverture qui défile ---------- */

.accroche {
  font-weight: 300;
  font-size: clamp(2.2rem, 5.4vw, 4.5rem);
  line-height: 1.02; letter-spacing: -.02em;
  text-wrap: balance;
}
.ouverture__suite { display: flex; flex-direction: column; gap: 22px; }
.ouverture__suite p { max-width: 44ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Sections ---------- */
.section { padding-block: var(--pas) 0; }
.section--fond { background: var(--surface); margin-top: var(--pas); padding-block: var(--pas); }
.section__tete {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between;
  gap: 16px 32px; margin-bottom: clamp(24px, 3.5vw, 44px);
}
.section__tete > div { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; min-width: 0; }
.section__suite { margin-top: clamp(28px, 4vw, 48px); display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Cartes véhicules ---------- */
.grille {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3.4vw, 48px) clamp(18px, 2.4vw, 32px);
}
.carte { display: flex; flex-direction: column; min-width: 0; }
.carte__lien { display: flex; flex-direction: column; gap: 14px; text-decoration: none; }
.carte__photo { position: relative; overflow: hidden; background: var(--surface); }
.carte__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .7s var(--doux); }
.carte:hover .carte__photo img { transform: scale(1.045); }
.carte__photo .bandeau { position: absolute; left: 0; top: 0; }
.carte__voir {
  position: absolute; left: 0; bottom: 0;
  background: var(--signal); color: var(--photo-fg);
  padding: 9px 14px; font-size: .86rem; font-weight: 600; letter-spacing: .02em;
  transform: translateY(101%); transition: transform .35s var(--doux);
}
.carte__voir::after { content: " \2192"; }
a.carte__lien:hover .carte__voir, a.carte__lien:focus-visible .carte__voir { transform: none; }
.carte__ligne { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
.carte__marque {
  font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.carte__modele { font-size: 1.18rem; font-weight: 500; line-height: 1.2; }
.carte__modele span { position: relative; }
.carte__modele span::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: var(--signal); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--doux);
}
.carte:hover .carte__modele span::after { transform: scaleX(1); }
.carte__prix { font-family: var(--font-data); font-size: 1.2rem; font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.carte__donnees {
  font-family: var(--font-data); font-size: .9rem; letter-spacing: 0; color: var(--muted);
  font-variant-numeric: tabular-nums;
  border-top: 1px solid var(--line); padding-top: 9px; margin-top: 2px;
}
.carte__corps { display: flex; flex-direction: column; gap: 5px; }
.carte__action { margin-top: 12px; align-self: flex-start; font-size: .92rem; }

/* ---------- Recherche personnalisée (bande) ---------- */
.duo { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.duo__texte { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; min-width: 0; }
.duo__texte p { max-width: 50ch; }

/* ---------- Marques ---------- */
.marques { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(18px, 2.4vw, 32px); }
.marques a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 1.05rem;
  transition: border-color .2s ease, padding-left .3s var(--doux);
}
.marques a:hover { border-bottom-color: var(--signal); padding-left: 8px; }
.marques .chiffre { font-size: 1.2rem; color: var(--muted); }

/* ---------- La maison ---------- */
.maison { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.maison__photo { overflow: hidden; }
.maison__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.maison__texte { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; min-width: 0; }
.maison__texte p { max-width: 48ch; }
.fiche-pratique { width: 100%; border-top: 1px solid var(--ink); }
.fiche-pratique div {
  display: grid; grid-template-columns: minmax(0, 10.5em) minmax(0, 1fr); gap: 12px;
  padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .97rem;
}
.fiche-pratique dt { color: var(--muted); }

/* ---------- Interlocuteur ---------- */
.direct {
  width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  border: 1px solid var(--ink); padding: clamp(20px, 2.6vw, 32px);
}
.direct__nom { font-size: 1.3rem; font-weight: 500; line-height: 1.2; }
.direct__numero {
  font-family: var(--font-data); font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 500; line-height: 1.05;
  letter-spacing: -.01em; font-variant-numeric: tabular-nums; text-decoration: none; margin-block: 8px 4px;
}
.direct .actions { margin-top: 14px; }
.a-renseigner { border-bottom: 2px dotted var(--signal); }
.contact-mini { display: flex; flex-direction: column; gap: 2px; width: 100%; border-top: 1px solid var(--line); padding-top: 14px; }
.contact-mini .chiffre { font-size: 1.2rem; font-weight: 500; letter-spacing: 0; text-decoration: none; }

/* ---------- Pied de page ---------- */
.pied { margin-top: var(--pas); background: var(--band-bg); color: var(--band-fg); }
.pied .wrap {
  display: grid; grid-template-columns: minmax(0, 3fr) repeat(3, minmax(0, 2fr));
  gap: 32px clamp(20px, 3vw, 48px); padding-block: clamp(40px, 5vw, 72px);
  font-size: .93rem;
}
.pied__logo {
  width: 132px; aspect-ratio: 497 / 503; background: var(--band-fg);
  -webkit-mask: url("logo/logo-2-lignes.png") center / contain no-repeat;
          mask: url("logo/logo-2-lignes.png") center / contain no-repeat;
}
.pied h2 { font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .62; margin-bottom: 12px; }
.pied li { padding-block: 3px; }
.pied a { text-decoration: none; border-bottom: 1px solid transparent; }
.pied a:hover { border-bottom-color: currentColor; }
.pied__mentions { grid-column: 1 / -1; border-top: 1px solid currentColor; padding-top: 16px; font-size: .8rem; opacity: .62; }

/* ---------- Fiche véhicule ---------- */
.fil { display: flex; flex-wrap: wrap; gap: 4px 10px; padding-block: 18px; font-size: .86rem; color: var(--muted); }
.fil a { text-decoration: none; border-bottom: 1px solid var(--line); }
.fil li + li::before { content: "/"; margin-right: 10px; color: var(--line); }

.fiche { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(24px, 3.4vw, 56px); align-items: start; }
.galerie { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.galerie__grande { position: relative; background: var(--surface); overflow: hidden; touch-action: pan-y; }
.galerie__grande img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: opacity .3s ease; }
.galerie__grande img.est-en-change { opacity: .25; }
.galerie__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; display: grid; place-items: center;
  background: var(--voile); color: var(--voile-fg); border: 0; cursor: pointer; font-size: 1.2rem;
  transition: background .2s ease;
}
.galerie__nav:hover { background: var(--signal); }
.galerie__nav--prec { left: 0; }
.galerie__nav--suiv { right: 0; }
.galerie__compte {
  position: absolute; right: 0; bottom: 0; background: var(--voile); color: var(--voile-fg);
  font-family: var(--font-data); font-size: .85rem; letter-spacing: .02em; padding: 6px 12px;
  font-variant-numeric: tabular-nums;
}
.galerie__legende { color: var(--muted); font-size: .88rem; min-height: 1.5em; }
.vignettes { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; }
.vignettes button { padding: 0; border: 0; background: var(--surface); cursor: pointer; position: relative; overflow: hidden; }
.vignettes img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; opacity: .72; transition: opacity .2s ease, transform .4s var(--doux); }
.vignettes button:hover img { opacity: 1; transform: scale(1.06); }
.vignettes button[aria-current="true"] img { opacity: 1; }
.vignettes button[aria-current="true"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--signal);
}

.panneau {
  position: sticky; top: calc(env(safe-area-inset-top, 0px) + 84px);
  display: flex; flex-direction: column; align-items: flex-start; gap: 18px; min-width: 0;
}
.panneau__titre { font-weight: 300; font-size: clamp(1.9rem, 2.9vw, 2.7rem); line-height: 1.05; letter-spacing: -.015em; text-wrap: balance; }
.panneau__titre strong { font-weight: 600; display: block; }
.panneau__prix { font-family: var(--font-data); font-size: clamp(2rem, 3.2vw, 2.7rem); letter-spacing: -.02em; font-weight: 500; line-height: 1; font-variant-numeric: tabular-nums; }
.preuves { display: flex; flex-direction: column; gap: 8px; font-size: .97rem; }
.preuves li { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 10px; align-items: baseline; }
.preuves li::before { content: ""; width: 14px; height: 2px; background: var(--signal); transform: translateY(-.32em); }
.panneau__actions { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.panneau__actions .bouton { width: 100%; }

.recherche {
  width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  border: 1px solid var(--ink); padding: 20px; background: var(--bg);
}
.recherche h2, .recherche h3 { font-size: 1.45rem; font-weight: 500; line-height: 1.15; }
.recherche p { font-size: .95rem; color: var(--muted); }

.formulaire { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; width: 100%; }
.formulaire label { display: flex; flex-direction: column; gap: 6px; font-size: .86rem; color: var(--muted); min-width: 0; }
.formulaire .large { grid-column: 1 / -1; }
.formulaire input, .formulaire textarea {
  width: 100%; min-height: 46px; padding: 10px 12px;
  font: 400 1rem/1.4 var(--font-text); color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: 0;
  transition: border-color .2s ease;
}
.formulaire input:focus, .formulaire textarea:focus { border-color: var(--ink); outline: none; }
.formulaire textarea { min-height: 110px; resize: vertical; }
.formulaire .bouton { justify-self: start; }
.formulaire__retour { grid-column: 1 / -1; font-size: .9rem; color: var(--signal-ink); min-height: 1.4em; }
.recherche .formulaire { grid-template-columns: minmax(0, 1fr); }

.blocs { margin-top: var(--pas); border-top: 1px solid var(--ink); }
.bloc {
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: 18px clamp(24px, 3.4vw, 56px);
  padding-block: clamp(28px, 4vw, 52px); border-bottom: 1px solid var(--line);
}
.bloc__tete { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.bloc__corps { min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.prose { display: flex; flex-direction: column; gap: 14px; max-width: 66ch; font-size: 1.06rem; }

.suivi { border-top: 1px solid var(--line); max-width: 860px; }
.suivi li {
  display: grid; grid-template-columns: minmax(0, 9.5em) minmax(0, 1fr); gap: 6px 24px;
  padding: 12px 0; border-bottom: 1px solid var(--line);
}
.suivi time { font-family: var(--font-data); font-size: .95rem; font-weight: 500; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.suivi .chiffre { font-size: 1.05rem; color: var(--muted); white-space: nowrap; }
.suivi p { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 20px; }

.dossier { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px clamp(18px, 2.4vw, 32px); max-width: 860px; }
.dossier figure { display: flex; flex-direction: column; gap: 8px; }
.dossier figure > div { overflow: hidden; }
.dossier img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .7s var(--doux); }
.dossier figure:hover img { transform: scale(1.04); }
.dossier figcaption { font-size: .9rem; color: var(--muted); }

.table-wrap { overflow-x: auto; max-width: 860px; }
.specs { width: 100%; border-collapse: collapse; font-size: .98rem; }
.specs th, .specs td { text-align: left; padding: 10px 16px 10px 0; border-bottom: 1px solid var(--line); vertical-align: baseline; }
.specs th { font-weight: 400; color: var(--muted); width: 42%; }
.specs td { font-weight: 500; }

/* États de la fiche : en vente / vendue */
[data-etat="en-vente"] .si-vendue { display: none !important; }
[data-etat="vendue"] .si-en-vente { display: none !important; }

.barre { display: none; }

/* ---------- Mouvement ---------- */
@media (prefers-reduced-motion: no-preference) {

  /* Les révélations au défilement sont dans scene.js (GSAP) : aucun état de départ ici, sans script rien n'est masqué. */
  .accroche, .ouverture__suite { animation: monte .9s var(--doux) both; }
  .ouverture__suite { animation-delay: .12s; }
}
@keyframes monte { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- Adaptation ---------- */
@media (max-width: 1340px) {
  .entete__actions .bouton { display: none; }
  .menu { flex-wrap: nowrap; }
}
/* En-tête sur deux lignes dès que la place manque : logo et téléphone, puis les liens qui défilent.
   Le menu ne peut plus passer sur le logo. */
@media (max-width: 1100px) {
  html { scroll-padding-top: 130px; }
  .entete .wrap { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; padding-block: 12px 0; }
  .entete--compacte .wrap { padding-block: 8px 0; }
  .menu {
    grid-column: 1 / -1; grid-row: 2; flex-wrap: nowrap; justify-content: flex-start; gap: 0 24px;
    overflow-x: auto; scrollbar-width: none; padding-bottom: 8px;
    margin-inline: calc(-1 * max(var(--gutter), env(safe-area-inset-left, 0px)));
    padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px));
  }
  .menu::-webkit-scrollbar { display: none; }
  .entete__actions { grid-row: 1; grid-column: 2; }
}
@media (max-width: 1020px) {
  .grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .marques { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fiche { grid-template-columns: minmax(0, 1fr); }
  .panneau { position: static; }
  .pied .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  html { scroll-padding-top: 16px; }
  .menu { gap: 0 22px; }
  .menu a { font-size: .9rem; }
  .entete__tel { font-size: 1.15rem; }

  .duo { grid-template-columns: minmax(0, 1fr); }
  .maison { grid-template-columns: minmax(0, 1fr); }
  .bloc { grid-template-columns: minmax(0, 1fr); }
  .marques { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vignettes { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .dossier { grid-template-columns: minmax(0, 1fr); }
  .formulaire { grid-template-columns: minmax(0, 1fr); }
  .suivi li { grid-template-columns: minmax(0, 1fr); }
  .galerie--plein { margin-inline: calc(-1 * max(var(--gutter), env(safe-area-inset-left, 0px))); }
  .galerie--plein .galerie__legende, .galerie--plein .vignettes { margin-inline: max(var(--gutter), env(safe-area-inset-left, 0px)); }

  .barre {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
    background: var(--bg); border-top: 1px solid var(--ink);
    padding: 10px max(var(--gutter), env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(var(--gutter), env(safe-area-inset-left, 0px));
  }
  .barre__prix { font-family: var(--font-data); font-size: 1.25rem; font-weight: 500; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
  .barre .bouton { min-height: 44px; padding-inline: .9em; }
  .barre--deux .bouton { flex: 1 1 0; }
  .barre__groupe { display: flex; gap: 8px; }
  .avec-barre { padding-bottom: 76px; }
}
@media (max-width: 560px) {
  .grille { grid-template-columns: minmax(0, 1fr); }

  .pied .wrap { grid-template-columns: minmax(0, 1fr); }
  .marque__nom { font-size: .8rem; letter-spacing: .14em; }
}
/* ============ Portraits et galerie (ajout du 18/11/2026) ============ */
[hidden] { display: none !important; }

/* Ouverture : carrousel de portraits lifestyle, quatre de front sur ordinateur */

/* Services : un portrait par service */

/* Bande galerie : les portraits défilent */
.bande-galerie { margin-top: var(--pas); padding-block: var(--pas); background: var(--photo-bg); color: var(--photo-fg); overflow: hidden; }
.bande-galerie .section__tete { margin-bottom: clamp(24px, 3.5vw, 44px); }
.bande-galerie .note { color: var(--photo-fg); opacity: .72; max-width: 46ch; font-size: 1rem; }
.defile { overflow: hidden; }
.defile__piste { display: flex; width: max-content; }
.defile__lot { display: flex; gap: 14px; padding-right: 14px; }
.defile__lot a { display: block; width: clamp(170px, 21vw, 300px); overflow: hidden; }
.defile__lot img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; transition: transform .8s var(--doux), opacity .3s ease; opacity: .92; }
.defile__lot a:hover img { transform: scale(1.05); opacity: 1; }
.bande-galerie .section__suite { margin-top: clamp(24px, 3.5vw, 44px); }

/* Fiche : le texte avec un portrait */
.avec-portrait { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: clamp(20px, 3vw, 48px); align-items: start; max-width: 1000px; }
.avec-portrait figure { overflow: hidden; }
.avec-portrait img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }

/* Page galerie */
.galerie-tete { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px clamp(24px, 6vw, 96px); align-items: end; padding-block: clamp(32px, 5vw, 64px) clamp(28px, 4vw, 48px); }
.galerie-tete p { max-width: 46ch; }
.mosaique { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 20px); }
.mosaique button {
  display: flex; flex-direction: column; gap: 8px; padding: 0; border: 0; background: none; color: inherit;
  font: inherit; text-align: left; cursor: zoom-in; min-width: 0;
}
.mosaique__photo { display: block; overflow: hidden; background: var(--surface); }
.mosaique img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; transition: transform .8s var(--doux); }
.mosaique button:hover img { transform: scale(1.045); }
.mosaique__nom { font-size: .84rem; color: var(--muted); }

.visionneuse {
  position: fixed; inset: 0; z-index: 60; background: rgba(8, 8, 8, .95); color: var(--photo-fg);
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto; justify-items: center; align-items: center; gap: 10px;
  padding: calc(12px + env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px)) calc(14px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
}
.visionneuse__barre { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.visionneuse__compte { font-family: var(--font-data); font-size: .95rem; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.visionneuse button {
  min-width: 46px; min-height: 46px; display: inline-grid; place-items: center; cursor: pointer;
  background: transparent; color: var(--photo-fg); border: 1px solid var(--photo-trait);
  font: 500 1.15rem/1 var(--font-text); transition: background .2s ease, border-color .2s ease;
}
.visionneuse button:hover { background: var(--signal); border-color: var(--signal); }
.visionneuse__scene { position: relative; width: 100%; height: 100%; min-height: 0; overflow: hidden; }
.visionneuse__scene img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .25s ease; }
.visionneuse__scene img.est-en-change { opacity: .2; }
.visionneuse__fleche { position: absolute; top: 50%; transform: translateY(-50%); }
.visionneuse__fleche--prec { left: 0; }
.visionneuse__fleche--suiv { right: 0; }
.visionneuse__legende { font-size: .95rem; text-align: center; }

@media (prefers-reduced-motion: no-preference) {
  .defile__piste { animation: glisse 70s linear infinite; }
  .defile:hover .defile__piste, .defile:focus-within .defile__piste { animation-play-state: paused; }
}
@keyframes glisse { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .defile { overflow-x: auto; }
  .defile__lot + .defile__lot { display: none; }
}
@media (max-width: 1020px) {
  .mosaique { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  
}
@media (max-width: 760px) {

  .avec-portrait { grid-template-columns: minmax(0, 1fr); }
  .avec-portrait figure { max-width: 260px; }
  .galerie-tete { grid-template-columns: minmax(0, 1fr); }
  .mosaique { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mosaique__nom { font-size: .78rem; }
}

/* ============ Site multi-pages (ajout du 18/11/2026) ============ */
/* État « photos à venir » : carte et fiche sans photo de la maison */
.sans-photo {
  aspect-ratio: 3 / 2; width: 100%; background: var(--surface); color: var(--muted);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-align: center; padding: 16px;
}
.sans-photo__signe {
  width: 44px; height: 44px; background: var(--line);
  -webkit-mask: url("logo/monogramme.png") center / contain no-repeat;
          mask: url("logo/monogramme.png") center / contain no-repeat;
}
.sans-photo--grande .sans-photo__signe { width: 72px; height: 72px; }
.sans-photo .note { text-transform: none; letter-spacing: 0; font-weight: 400; font-size: .92rem; max-width: 36ch; }

/* Stock : filtres */
.filtres {
  display: grid; grid-template-columns: repeat(3, minmax(0, 220px)) minmax(0, 1fr); gap: 14px clamp(14px, 2vw, 28px); align-items: end;
  padding-block: 18px; margin-bottom: clamp(24px, 3.5vw, 44px);
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line);
}
.filtres label { display: flex; flex-direction: column; gap: 6px; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); min-width: 0; }
.filtres select {
  width: 100%; min-height: 46px; padding: 8px 12px; border-radius: 0;
  font: 500 1rem/1.3 var(--font-text); letter-spacing: 0; text-transform: none; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); cursor: pointer;
}
.filtres select:focus { border-color: var(--ink); outline: none; }
.filtres__bilan { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: flex-end; gap: 6px 18px; color: var(--muted); }
.filtres__bilan .chiffre { font-size: 1.7rem; font-weight: 300; letter-spacing: -.02em; line-height: 1; color: var(--ink); }
.filtres__raz { background: none; border-width: 0 0 1px; font: 500 .92rem/1.4 var(--font-text); color: var(--ink); cursor: pointer; padding: 0 0 2px; }
.filtres__vide { padding-block: 32px; font-size: 1.1rem; }
.carte[hidden] { display: none; }

/* Pages de rubrique : portrait à gauche, texte et formulaire à droite */
.rubrique { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.rubrique__photo { overflow: hidden; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 96px); }
.rubrique__photo img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.rubrique__texte { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(22px, 3vw, 36px); min-width: 0; max-width: 760px; }
.points, .etapes { width: 100%; border-top: 1px solid var(--ink); }
.points li, .etapes li { padding: 18px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.points h2, .etapes h2 { font-size: 1.25rem; font-weight: 500; line-height: 1.2; }
.points p, .etapes p { color: var(--muted); max-width: 58ch; }
.etapes { counter-reset: etape; }
.etapes li { counter-increment: etape; display: grid; grid-template-columns: 3.2rem minmax(0, 1fr); gap: 4px 12px; }
.etapes li::before {
  content: counter(etape, decimal-leading-zero); grid-row: 1 / span 2;
  font-family: var(--font-data); font-size: 1.7rem; font-weight: 300; line-height: 1; color: var(--signal-ink); font-variant-numeric: tabular-nums;
}
.etapes h2, .etapes p { grid-column: 2; }
.rubrique .recherche .formulaire { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.maison--inverse { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; }

.puces { display: flex; flex-direction: column; gap: 6px; padding-left: 0; }
.puces li { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 10px; align-items: baseline; }
.puces li::before { content: ""; width: 14px; height: 2px; background: var(--signal); transform: translateY(-.32em); }
.pied__marques { grid-column: 1 / -1; font-size: .9rem; line-height: 1.9; }
.pied__marques span { display: block; font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .62; }
.galerie-tete .ouverture__suite p { max-width: 46ch; }

@media (max-width: 1020px) {
  .filtres { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .filtres__bilan { grid-column: 1 / -1; justify-content: flex-start; }
}
@media (max-width: 760px) {
  .rubrique { grid-template-columns: minmax(0, 1fr); }
  .rubrique__photo { position: static; max-width: 280px; }
  .rubrique .recherche .formulaire { grid-template-columns: minmax(0, 1fr); }
  .maison--inverse { grid-template-columns: minmax(0, 1fr); }
  .filtres { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ============ Version 2 (19/11/2026) : accueil refait ============
   Références données par le client : une page modèle de constructeur et un marchand de voitures de collection.
   On en garde la structure et le rythme : la photo jusqu'en haut de l'écran, le titre et les boutons centrés dessous,
   de grands chiffres, de grandes tuiles arrondies, une photo plein cadre qui fond dans une section sombre.
   L'ouverture reste le carrousel de portraits de la maquette du 18/11, demandé par le client.
   L'identité reste celle de la maison : une seule police, en graisse fine, noir sur blanc, le rouge en signal.
   Deux mouvements spontanés, chacun avec son bouton pause : le carrousel d'ouverture et la bande galerie. */
:root {
  --r-media: 2px;           /* photos et tuiles : presque droits */
  --r-ctl: 2px;             /* boutons et champs */
  --signal-fond: #c3222a;   /* le rouge quand il porte du texte blanc : 5,9 de contraste, contre 4,2 pour le rouge du logo */
  --gris: #e7e6e2;          /* bouton secondaire */
  --gris-fort: #d8d6d1;
  --pas: clamp(72px, 9.5vw, 144px);
  --marge: max(var(--gutter), calc((100vw - var(--max)) / 2));
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --gris: #2b2b29; --gris-fort: #3a3a37; }
}
:root[data-theme="dark"] { --gris: #2b2b29; --gris-fort: #3a3a37; }

/* ---------- Socle commun à toute la copie ---------- */
.titre, .accroche, .panneau__titre { font-weight: 200; letter-spacing: -.035em; word-spacing: .09em; }   /* word-spacing : l'interlettrage serré collait les mots */
.titre strong, .accroche strong, .panneau__titre strong { font-weight: inherit; }
.titre { font-size: clamp(1.75rem, 2.9vw, 2.5rem); line-height: 1.12; }
.note { font-size: .92rem; }

.bouton { min-height: 52px; border-radius: var(--r-ctl); font-weight: 500; letter-spacing: .01em; }
.bouton::after { content: none; }
.bouton:hover, .bandeau--signal, .carte__voir { background: var(--signal-fond); border-color: var(--signal-fond); }
.bouton--clair { background: var(--gris); border-color: var(--gris); color: var(--ink); }
.bouton--clair:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.bouton--sur-gris { background: var(--gris-fort); border-color: var(--gris-fort); color: var(--ink); }
.bouton--sur-gris:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.bouton--petit { min-height: 40px; }
.formulaire input, .formulaire textarea { border-radius: var(--r-ctl); }
.carte__photo, .defile__lot a { border-radius: var(--r-media); }
.actions--centre { justify-content: center; }
.section__tete--centre { flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.section__tete--centre p { max-width: 56ch; color: var(--muted); font-size: 1.08rem; }
.menu-bouton, .maquette__court { display: none; }
/* Cibles d'au moins 24 px de haut pour le doigt et la souris */
.menu a, .entete__tel { display: inline-flex; align-items: center; min-height: 32px; }
.pied li a { display: inline-block; padding-block: 3px; }

/* ---------- Premier écran : carrousel de portraits, quatre de front sur ordinateur ---------- */
.une__signature { margin: 0; padding-block: clamp(44px, 7vw, 104px); text-align: center; font-size: clamp(1.15rem, 3.1vw, 2.5rem); font-weight: 300; letter-spacing: .2em; line-height: 1.5; text-transform: uppercase; color: var(--ink); }
.volets { position: relative; overflow: hidden; background: var(--photo-bg); touch-action: pan-y; }
.volets.est-glisse { cursor: grabbing; }
.volets.est-glisse .volet { pointer-events: none; }
.volets__piste { display: flex; will-change: transform; }   /* déplacée par site.js, image par image */
.volet { position: relative; flex: 0 0 25%; display: block; -webkit-user-drag: none; user-select: none; overflow: hidden; color: var(--photo-fg); text-decoration: none; }
.volet img { width: 100%; aspect-ratio: 2 / 3; max-height: 720px; object-fit: cover; transition: transform 1.4s var(--doux); }
.volet:hover img { transform: scale(1.05); }
.volet::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 1px; background: var(--photo-bg); opacity: .55; }
.volet:focus-visible { outline-color: #fff; outline-offset: -4px; }
.volet__cartel {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  padding: 88px clamp(16px, 1.8vw, 28px) 22px;
  background: linear-gradient(to top, rgba(10, 10, 10, .88), rgba(10, 10, 10, .6) 52%, transparent);
}
.volet__marque { font-size: .95rem; }
.volet__cartel strong { font-size: clamp(1.2rem, 1.7vw, 1.5rem); font-weight: 400; line-height: 1.15; }
.volet__cartel .chiffre { font-size: 1.05rem; letter-spacing: 0; margin-top: 2px; }
.volet__voir {
  margin-top: 8px; font-size: .92rem; font-weight: 500; border-bottom: 1px solid currentColor;
  opacity: 0; transform: translateY(8px); transition: opacity .3s ease, transform .3s var(--doux);
}
.volet:hover .volet__voir, .volet:focus-visible .volet__voir { opacity: 1; transform: none; }
.volets .galerie__nav { opacity: 0; border-radius: var(--r-ctl); transition: opacity .25s ease, background .2s ease; }
.volets .galerie__nav--prec { left: 12px; }
.volets .galerie__nav--suiv { right: 12px; }
.volets:hover .galerie__nav, .volets .galerie__nav:focus-visible { opacity: 1; }
/* Repères et pause : en haut à droite, sous le menu quand il est posé sur les photos */
.volets__commandes {
  position: absolute; z-index: 2; top: 8px; right: max(var(--gutter), env(safe-area-inset-right, 0px));
  display: flex; align-items: center; gap: 12px; color: var(--photo-fg);
}
.volets__pause {
  min-height: 32px; padding: 0 12px; border: 0; border-radius: var(--r-ctl); cursor: pointer;
  background: rgba(10, 10, 10, .5); color: inherit; font: 500 .85rem/1 var(--font-text);
}
.volets__pause:hover { background: #fff; color: #111; }
.volets__commandes :focus-visible { outline-color: #fff; }

.tuile:focus-visible, .offre:focus-visible { outline-color: #fff; outline-offset: -4px; }

.une__mot { text-align: center; padding-top: clamp(28px, 3.6vw, 52px); }
.une__titre {
  font-weight: 400; font-size: clamp(2rem, 3.7vw, 3.35rem); line-height: 1.08; letter-spacing: -.02em;
  max-width: 24em; margin-inline: auto; text-wrap: balance;
}
.une__sous { margin: 12px auto 0; max-width: 60ch; color: var(--muted); font-size: 1.1rem; }
.une__mot .actions { margin-top: clamp(20px, 2.4vw, 28px); }

/* ---------- Grands chiffres ---------- */
.chiffres {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px clamp(20px, 3vw, 48px);
  margin-top: clamp(48px, 6vw, 88px);
}
.chiffres li { border-top: 1px solid var(--line); padding-top: 18px; min-width: 0; }
.chiffres__v { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .35em; }
.chiffres__n {
  font-size: clamp(2.5rem, 4.6vw, 4.25rem); line-height: 1; letter-spacing: -.02em;
  font-variant-numeric: lining-nums tabular-nums; white-space: nowrap;
}
.chiffres__u { font-size: 1.1rem; }
.chiffres__l { margin-top: 8px; color: var(--muted); font-size: .95rem; }
.chiffres--deux { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; margin-inline: auto; }   /* deux chiffres : centrés sous le titre */
.chiffres--sombre li { border-top-color: rgba(255, 255, 255, .24); }
.chiffres--sombre .chiffres__l { color: rgba(255, 255, 255, .72); }

/* ---------- Carrousel des voitures récentes ---------- */
.section__tete > .rail-nav { flex-direction: row; align-items: center; gap: 10px; }
.rail-nav .lien { margin-right: 14px; }
.rail-nav button {
  width: 48px; height: 48px; display: grid; place-items: center;
  background: var(--gris); color: var(--ink); border: 0; border-radius: var(--r-ctl); cursor: pointer; font-size: 1.15rem;
  transition: background .2s ease, color .2s ease, opacity .2s ease;
}
.rail-nav button:hover:not(:disabled) { background: var(--ink); color: var(--bg); }
.rail-nav button:disabled { opacity: .4; cursor: default; }
.rail {
  display: flex; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--marge);
  padding: 4px var(--marge); scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail__item { flex: 0 0 clamp(280px, 46vw, 640px); scroll-snap-align: start; }
.tuile {
  position: relative; display: block; overflow: hidden; border-radius: var(--r-media);
  background: var(--photo-bg); color: var(--photo-fg); text-decoration: none;
}
.tuile img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 1.2s var(--doux); }
.tuile:hover img { transform: scale(1.03); }
.tuile::after {
  content: ""; position: absolute; inset: 30% 0 0; pointer-events: none;
  background: linear-gradient(to top, rgba(10, 10, 10, .88), rgba(10, 10, 10, .66) 44%, transparent);
}
.tuile__texte { position: absolute; z-index: 1; left: clamp(16px, 2vw, 28px); right: clamp(16px, 2vw, 28px); bottom: clamp(16px, 1.8vw, 24px); display: flex; flex-direction: column; gap: 2px; }
.tuile__marque { font-size: .95rem; }
.tuile__nom { font-size: clamp(1.35rem, 2.1vw, 1.85rem); font-weight: 400; line-height: 1.15; }
.tuile__ligne { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin-top: 6px; font-size: 1.1rem; }
.tuile__prix { font-size: 1.2rem; font-weight: 500; }

/* ---------- Pièce rare : la photo fond dans la section sombre ---------- */
.rare { margin-top: var(--pas); padding-bottom: clamp(56px, 7vw, 104px); background: var(--photo-bg); color: var(--photo-fg); }
.rare__photo { position: relative; display: block; height: clamp(300px, 54vw, 760px); overflow: hidden; }
.rare__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 74%; }
.rare__photo::after {
  content: ""; position: absolute; inset: 50% 0 0; pointer-events: none;
  background: linear-gradient(to top, var(--photo-bg), transparent);
}
.rare__texte { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; margin-top: clamp(-56px, -3vw, -24px); position: relative; }
.rare__texte p { max-width: 60ch; color: rgba(255, 255, 255, .82); font-size: 1.1rem; }
.rare .chiffres { margin-top: clamp(40px, 5vw, 72px); }
.rare .actions { margin-top: clamp(32px, 4vw, 56px); }

/* ---------- Le dossier : texte et deux photos qui se chevauchent ---------- */
.preuve .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.preuve__texte { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; min-width: 0; }
.preuve__texte p { max-width: 44ch; color: var(--muted); font-size: 1.1rem; }
.collage { position: relative; aspect-ratio: 10 / 9; }
.collage img { position: absolute; object-fit: cover; border-radius: var(--r-media); }
.collage__a { top: 0; right: 0; width: 60%; height: 88%; }
.collage__b { left: 0; bottom: 0; width: 58%; height: 52%; box-shadow: 0 0 0 10px var(--bg); }

/* ---------- Les quatre métiers, en tuiles ---------- */
.offres { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.offre {
  position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-media);
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 10px;
  min-height: clamp(300px, 33vw, 460px); padding: clamp(20px, 2.6vw, 36px);
  background: var(--photo-bg); color: var(--photo-fg); text-decoration: none;
}
.offre img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--doux); }
.offre:hover img { transform: scale(1.03); }
.offre::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(10, 10, 10, .9), rgba(10, 10, 10, .72) 38%, rgba(10, 10, 10, .12) 76%, transparent);
}
.offre h3 { font-size: clamp(1.45rem, 2.3vw, 2rem); font-weight: 400; line-height: 1.15; }
.offre p { max-width: 40ch; }
.offre__bouton {
  display: inline-flex; align-items: center; min-height: 46px; padding: 0 1.2em; margin-top: 8px;
  border-radius: var(--r-ctl); background: rgba(255, 255, 255, .18); font-weight: 500; font-size: .95rem;
  transition: background .2s ease, color .2s ease;
}
@supports (backdrop-filter: blur(8px)) { .offre__bouton { backdrop-filter: blur(8px); } }
.offre:hover .offre__bouton { background: #fff; color: #111; }

/* ---------- Galerie ---------- */
.bouton--verre { background: rgba(255, 255, 255, .16); border-color: transparent; color: #fff; }
.bouton--verre:hover { background: #fff; border-color: #fff; color: #111; }
.defile.est-en-pause .defile__piste { animation-play-state: paused; }
.bande-galerie .section__tete--centre p { color: rgba(255, 255, 255, .78); }
.bande-galerie .actions { margin-top: clamp(24px, 3.5vw, 44px); }

/* ---------- Fiche véhicule : même main que l'accueil ---------- */
.galerie__grande, .dossier figure > div, .avec-portrait figure, .sans-photo--grande { border-radius: var(--r-media); overflow: hidden; }
.vignettes button { border-radius: var(--r-ctl); }
.panneau__ligne { color: var(--muted); }
.bloc { grid-template-columns: minmax(0, 1fr); gap: clamp(20px, 2.6vw, 32px); }   /* le titre au-dessus, plus de colonne d'étiquettes */
.bloc__tete { gap: 8px; }
.bloc__tete .titre { font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.bloc__corps--deux { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.bloc__corps--deux .dossier { grid-template-columns: minmax(0, 1fr); }
.recherche { border: 0; border-radius: var(--r-media); background: var(--surface); padding: clamp(20px, 2.4vw, 28px); }
@media (max-width: 1020px) { .bloc__corps--deux { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Venir, appeler ---------- */
.venir__boite {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); overflow: hidden;
  border-radius: var(--r-media); background: var(--surface);
}
.venir__photo img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.venir__texte { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; min-width: 0; padding: clamp(24px, 4vw, 56px); }
.venir__texte > p { max-width: 44ch; color: var(--muted); }
.venir__numero { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 500; line-height: 1.05; letter-spacing: -.01em; text-decoration: none; }
.venir .fiche-pratique a { text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
  .tuile img, .offre img, .volet img { transition: none; }
  .defile__pause, .volets__pause { display: none; }
}

/* L'accueil s'ouvre sur la signature de la maison, sur fond clair. L'en-tête garde donc ses couleurs normales :
   posé en blanc sur les photos comme avant, il devenait invisible au-dessus de la signature. */

@media (max-width: 1020px) {
  .volet { flex-basis: 33.3334%; }
  .preuve .wrap { grid-template-columns: minmax(0, 1fr); }
  .collage { max-width: 640px; }
  .venir__boite { grid-template-columns: minmax(0, 1fr); }
  .venir__photo img { aspect-ratio: 16 / 9; min-height: 0; }
}
/* Menu « Menu » dès 1100 px : en dessous, les cinq liens ne tiennent plus sur une ligne à côté du logo et du téléphone.
   Sans script, l'en-tête garde ses deux lignes (règle plus haut). Le téléphone reste visible jusqu'à 760 px. */
@media (max-width: 1100px) {
  .avec-menu .entete .wrap { grid-template-columns: minmax(0, 1fr) auto; padding-block: 10px; }
  .avec-menu .menu-bouton {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
    font: 500 .95rem/1 var(--font-text); letter-spacing: .01em;
    background: var(--gris); color: var(--ink); border: 0; border-radius: var(--r-ctl); cursor: pointer;
  }
  .avec-menu .menu { display: none; }
  .avec-menu .est-ouverte .menu {
    display: flex; flex-direction: column; align-items: stretch; gap: 0; overflow: visible;
    margin-inline: 0; padding: 4px 0 10px; border-top: 1px solid var(--line);
  }
  .avec-menu .est-ouverte .menu a { padding-block: 13px; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .avec-menu .est-ouverte .menu a::after { content: none; }
}
@media (max-width: 760px) {
  .maquette__long { display: none; }
  .maquette__court { display: inline; }
  .maquette .wrap { padding-block: 5px; }
  .avec-menu .entete__tel { display: none; }

  

  

  .volet { flex-basis: 84%; }
  .volet img { aspect-ratio: 4 / 5; }
  .volet__voir { opacity: 1; transform: none; }
  .volets .galerie__nav { display: none; }
  .une__mot .actions { flex-direction: column; }
  .une__mot .bouton { width: 100%; }
  .une__mot .bouton--large-seulement { display: none; }
  .chiffres { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .rail-nav button { display: none; }
  .rail-nav .lien { margin-right: 0; }
  .rail { gap: 12px; }
  .rail__item { flex-basis: 84vw; }
  /* téléphone : la photo entière, le texte dessous sur le fond sombre de la tuile */
  .tuile::after { display: none; }
  .tuile__texte { position: static; padding: 14px 16px 18px; }
  .rare__photo { height: 78vw; }
  .rare__texte { margin-top: -16px; }
  .galerie--plein .galerie__grande { border-radius: 0; }
  /* jusqu'à 50 photos par voiture : sur téléphone les miniatures tiennent sur une ligne qui défile, le prix reste proche */
  .vignettes { display: flex; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
  .vignettes::-webkit-scrollbar { display: none; }
  .vignettes button { flex: 0 0 22%; scroll-snap-align: start; }
  .offres { grid-template-columns: minmax(0, 1fr); }
  .offre { min-height: 300px; }
  .venir__boite { margin-inline: calc(-1 * max(var(--gutter), env(safe-area-inset-left, 0px))); border-radius: 0; }
}

/* ---------- Avis Google ---------- */
.avis {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 48px;
  border-top: 1px solid var(--line); padding-top: clamp(28px, 4vw, 48px);
}
.bloc .avis { border-top: 0; padding-top: 0; }
.avis__texte { display: flex; flex-direction: column; gap: 10px; flex: 1 1 320px; min-width: 0; }
.avis__texte p { max-width: 64ch; color: var(--muted); font-size: 1.1rem; }
.avis .titre { font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.pied .bouton { margin-top: 20px; background: var(--band-fg); border: 1px solid var(--band-fg); color: var(--band-bg); }
.pied .bouton:hover { background: var(--signal-fond); border-color: var(--signal-fond); color: var(--photo-fg); }

/* ---------- Contact toujours à portée : barre sur téléphone, bloc fixe sur grand écran ---------- */
/* Un seul élément, classes « barre » et « contact-fixe » : Appeler, Message, WhatsApp.
   Verre sombre translucide, liseré clair très fin, texte clair, pictogrammes fins. Aucune couleur d'alerte :
   WhatsApp se reconnaît à son pictogramme. Le verre est le même en thème clair et en thème sombre.
   Texte blanc sur le verre : 7 de contraste dans le pire des cas, quand la page est blanche dessous. */
.contact-fixe .bouton {
  gap: .55em; min-height: 48px; font-weight: 500; letter-spacing: .02em; color: var(--photo-fg);
  background: rgba(17, 17, 17, .92); border: 1px solid rgba(255, 255, 255, .26);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .26);
  transition: background .3s ease, border-color .3s ease;
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .contact-fixe .bouton { background: rgba(17, 17, 17, .72); -webkit-backdrop-filter: blur(14px) saturate(1.5); backdrop-filter: blur(14px) saturate(1.5); }
}
.contact-fixe .bouton:hover { background: rgba(58, 58, 58, .82); border-color: rgba(255, 255, 255, .62); color: var(--photo-fg); }
.contact-fixe svg { flex: none; width: 18px; height: 18px; }
body:has(.visionneuse:not([hidden])) .contact-fixe { visibility: hidden; }   /* la visionneuse de photos prend tout l'écran */
@media (min-width: 761px) {
  .contact-fixe .bouton { min-height: 52px; padding: 0 1.3em; font-size: .98rem; }
  .contact-fixe__tel { display: none; }   /* le numéro est dans l'en-tête, toujours visible à cette largeur */
  .contact-fixe {
    display: flex; gap: 10px; position: fixed; z-index: 20;
    right: max(20px, env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  }
  .pied .wrap { padding-bottom: 112px; }   /* les boutons fixes ne couvrent pas la dernière ligne du pied */
}
@media (max-width: 760px) {
  /* Téléphone : plus de bande blanche, les trois boutons de verre flottent en bas. La bande ne bloque aucun appui entre eux. */
  .barre.contact-fixe { gap: 8px; background: transparent; border-top: 0; pointer-events: none; }
  .barre.contact-fixe .bouton { pointer-events: auto; }
  .barre--deux .bouton { padding-inline: .4em; white-space: nowrap; font-size: .9rem; }
}
@media (max-width: 359px) { .contact-fixe svg { display: none; } }   /* à 320 px, le libellé seul tient sans rogner */

/* ---------- Page Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact__boite { display: flex; flex-direction: column; gap: 20px; min-width: 0; padding: clamp(20px, 3vw, 40px); border-radius: var(--r-media); background: var(--surface); }
.contact__boite .titre { font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.contact .fiche-pratique a.chiffre { text-decoration: none; }
.formulaire [aria-invalid="true"] { border-color: var(--signal-ink); }
.formulaire[data-etat="envoi"] .formulaire__retour, .formulaire[data-etat="succes"] .formulaire__retour { color: var(--ink); }
.formulaire .bouton[aria-disabled="true"] { background: var(--muted); border-color: var(--muted); color: var(--bg); cursor: progress; }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }   /* champ piège : hors écran, hors clavier */
.cf-turnstile:empty { display: none; }
@media (max-width: 1020px) { .contact { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .contact .formulaire { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Bloc de contact : trois lignes, qui / numéro / bouton d'appel ---------- */
.contacts { width: 100%; border-top: 1px solid var(--ink); }
.contacts li { display: grid; grid-template-columns: minmax(0, 1fr) 11.5rem; align-items: center; gap: 2px 16px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.contacts__qui { grid-column: 1; color: var(--muted); font-size: .95rem; }
.contacts__numero { grid-column: 1; justify-self: start; font-size: clamp(1.3rem, 1.85vw, 1.6rem); font-weight: 500; line-height: 1.15; letter-spacing: 0; text-decoration: none; }
.contacts .bouton { grid-column: 2; grid-row: 1 / span 2; min-height: 48px; width: 100%; justify-content: center; text-align: center; }
/* Dans le cadre des rubriques, le cadre fait déjà le filet du haut et du bas. */
.direct .contacts { border-top: 0; }
.direct .contacts li:first-child { padding-top: 0; }
.direct .contacts li:last-child { border-bottom: 0; padding-bottom: 0; }
@media (max-width: 520px) {   /* téléphone : le bouton passe sous le numéro, sur toute la largeur */
  .contacts li { grid-template-columns: minmax(0, 1fr); }
  .contacts .bouton { grid-column: 1; grid-row: auto; margin-top: 8px; }
}

/* =====================================================================
   v3 : mise en scène. Le vocabulaire de mouvement de lm-photos.fr, repris sans bibliothèque,
   de grands titres légers et plus d'air. Les garde-fous sont en tête du bloc « Mise en scène » de site.js.
   ===================================================================== */

/* ---- Typographie et rythme ---- */
:root { --pas: clamp(84px, 11vw, 176px); }
.section__tete .titre, .rare .titre, .preuve .titre, .bande-galerie .titre { font-size: clamp(1.9rem, 3.8vw, 3.4rem); line-height: 1.06; letter-spacing: -.035em; }
.preuve .titre { font-size: clamp(1.75rem, 3vw, 2.7rem); }   /* colonne étroite : un cran en dessous */
.une__titre { font-weight: 200; font-size: clamp(1.9rem, 3.5vw, 3.25rem); letter-spacing: -.035em; word-spacing: .09em; }
/* Le titre des rubriques (« .accroche ») garde sa taille : plus grand, il passait sur deux lignes avec la police de secours
   et la page sautait d'une ligne à l'arrivée de la police (décalage mesuré : 0,035 à 0,075). */
.chiffres__n { font-weight: 200; font-size: clamp(2.8rem, 5.4vw, 5rem); letter-spacing: -.04em; }
.section__tete { margin-bottom: clamp(28px, 3.6vw, 56px); }
/* Téléphone : la signature tient toujours sur deux lignes, avec la police du site comme avec la police de repli.
   Sur une seule, elle passait à deux le temps du chargement et le carrousel sautait de 20 px. */


/* ---- Grand bandeau de texte. Sans script, il reste posé : c'est un décor, lu par personne. ---- */
.ruban { overflow: hidden; padding-block: clamp(32px, 5.5vw, 80px) clamp(8px, 2vw, 24px); background: var(--photo-bg); color: var(--photo-fg); white-space: nowrap; }
.ruban__piste { display: inline-block; font: 200 clamp(2.4rem, 6.8vw, 5.9rem)/1.1 var(--font-text); letter-spacing: -.035em; word-spacing: .09em; will-change: transform; }
.ruban__piste b { font-weight: 200; }
.ruban__piste em { font-style: normal; color: var(--signal); padding-inline: .45em; }
.ruban + .ambiance { margin-top: 0; }

/* ---- Décors posés par le script : barre de lecture et curseur ---- */
.progression { position: fixed; inset: 0 0 auto 0; z-index: 70; height: 3px; background: var(--signal); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }
.curseur {
  position: fixed; left: 0; top: 0; z-index: 80; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; background: var(--signal); color: var(--photo-fg);
  font: 600 .8rem/1 var(--font-text); letter-spacing: .05em; pointer-events: none;
  transition: width .35s var(--doux), height .35s var(--doux), margin .35s var(--doux), background .3s ease, opacity .25s ease;
}
.curseur span { opacity: 0; transition: opacity .2s ease; }
.curseur.sur-lien { width: 44px; height: 44px; margin: -22px 0 0 -22px; background: color-mix(in srgb, var(--signal) 22%, transparent); }
.curseur.sur-photo { width: 72px; height: 72px; margin: -36px 0 0 -36px; background: var(--signal-fond); }
.curseur.sur-photo span { opacity: 1; }
.curseur.absent { opacity: 0; }

@media (prefers-reduced-motion: no-preference) {
  /* Boutons aimantés : ils suivent un peu la souris. */
  .aimant { transition: translate .5s var(--doux), background .2s ease, color .2s ease, border-color .2s ease, transform .2s var(--doux); }
}

/* Survol d'une carte du stock : elle se soulève, la photo s'approche et s'assombrit par le bas. */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .carte { transition: translate .6s var(--doux); }
  .carte:hover { translate: 0 -6px; }
  .carte__photo img { transition: scale 1.4s var(--doux); }   /* « scale » seul : « transform » appartient au rideau de scene.js */
  .carte:hover .carte__photo img { scale: 1.045; }
  .carte__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(255, 255, 255, .16), transparent 60%); opacity: 0; transition: opacity .8s ease; pointer-events: none; }   /* le survol éclaire la photo par le haut */
  .carte:hover .carte__photo::after { opacity: 1; }
}

/* ---- Grande photo de l'accueil : le portrait de la cathédrale, toujours entier (la boîte a le rapport 2/3 de la photo).
        Presque toute la hauteur de l'écran, le texte à côté. Sur téléphone : pleine largeur, le texte dessous. ---- */
.ambiance { padding-block: clamp(32px, 5vh, 64px) clamp(56px, 7vw, 104px); background: var(--photo-bg); color: var(--photo-fg); }
.ambiance__cadre {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(32px, 6vw, 96px);
  max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.ambiance__texte { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
/* Le titre tient tête à une photo de 800 px de haut : plus grand qu'ailleurs, sur ordinateur seulement. */
.ambiance .titre { font-size: clamp(1.9rem, 4vw, 3.6rem); line-height: 1.06; }
.ambiance__texte p { max-width: 44ch; color: rgba(255, 255, 255, .82); font-size: 1.1rem; }
/* La photo passe devant le texte à l'écran (à gauche, ou au-dessus sur téléphone) : le contact fixe, en bas à droite, ne la recouvre pas.
   Dans le code le titre reste premier, pour les lecteurs d'écran. La figure ne contient aucun lien, l'ordre du clavier ne change pas. */
.ambiance__figure { order: -1; display: flex; flex-direction: column; gap: 12px; margin: 0; }
.ambiance__photo { width: min(61vh, 44vw, 740px); aspect-ratio: 2 / 3; overflow: hidden; }
.ambiance__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ambiance__figure figcaption { color: rgba(255, 255, 255, .62); font-size: .86rem; }
@media (max-width: 760px) {
  .ambiance { padding-top: 0; }
  /* stretch : sans lui la figure prend la largeur de sa légende tant que la photo n'est pas chargée, et la page saute. */
  .ambiance__cadre { display: flex; flex-direction: column; align-items: stretch; gap: 28px; padding-inline: 0; }
  .ambiance__photo { width: 100%; }
  .ambiance__texte, .ambiance__figure figcaption { padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
}

/* ---- Signature de l'accueil. Du vrai texte, à plat, une seule fois dans la page. scene.js découpe les lettres pour les faire monter
        une à une pendant que l'espacement se resserre, puis un reflet passe, une seule fois. Sans script ou en mouvement réduit :
        le texte entier, posé, tout de suite. Les lettres sont à leur place définitive dès le découpage : rien ne saute. ---- */
.une__signature { position: relative; overflow: hidden; font-weight: 300; letter-spacing: .14em; font-size: clamp(1.1rem, 3.4vw, 3rem); }
.signature__ligne { display: inline-block; white-space: nowrap; }
.signature__ligne.est-decoupee { clip-path: inset(-.2em -100vw); }   /* le masque d'où montent les lettres : il coupe en haut et en bas, jamais sur les côtés */
.signature__voix { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); -webkit-user-select: none; user-select: none; }   /* le texte entier, pour les lecteurs d'écran */
.lettre { display: inline-block; }
/* Le reflet : une bande de la couleur du fond qui traverse le texte de gauche à droite, comme une lumière sur une carrosserie. Une fois. */
.une__signature.est-posee::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; transform: translateX(-64%);
  background: linear-gradient(100deg, transparent 43%, color-mix(in srgb, var(--bg) 82%, transparent) 50%, transparent 57%);
  animation: reflet 1.6s cubic-bezier(.4, .1, .3, 1) 1 both;
}
@keyframes reflet { from { transform: translateX(-64%); } to { transform: translateX(64%); } }
@media (max-width: 760px) {   /* téléphone : toujours deux lignes, les mêmes */
  .une__signature { font-size: clamp(.9rem, 4.7vw, 1.3rem); line-height: 1.6; }
  .signature__ligne { display: block; }
}

/* ---- Page Vendre : les deux façons de vendre, côte à côte. Mêmes encadrés que les formulaires. ---- */
.choix { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); margin-bottom: clamp(48px, 7vw, 104px); }
.choix .recherche { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: clamp(24px, 3vw, 44px); }
.choix h2 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); font-weight: 200; letter-spacing: -.035em; word-spacing: .09em; }
.choix .choix__phrase { font-size: 1.15rem; color: var(--ink); }
.choix .recherche p { max-width: 46ch; }
.choix .bouton { margin-top: auto; }
@media (max-width: 760px) { .choix { grid-template-columns: minmax(0, 1fr); } }
/* Titre de page long (Dépôt-vente porte son mot-clé entier) : un cran plus petit, pour tenir en trois lignes au lieu de quatre. */
.accroche.accroche--longue { font-size: clamp(1.8rem, 3.7vw, 3.1rem); line-height: 1.08; }

/* =========================================================================================================
   v4 : mise en scène GSAP (scene.js) et retenue. Ce bloc ne pose aucun état de départ masqué, sauf sous « .scene ».
   ========================================================================================================= */
/* Titres ligne à ligne : chaque ligne monte de son masque. Le masque déborde un peu pour ne couper ni accent ni jambage. */
.ligne { display: block; overflow: hidden; padding-block: .14em .18em; margin-block: -.14em -.18em; }
.ligne__texte { display: block; white-space: nowrap; will-change: transform; }
.ligne--bloc .ligne__texte { white-space: normal; }
.mot { display: inline; }
/* Le rideau des photos : l'image s'ouvre dans son cadre. */
.rideau { overflow: hidden; }
/* États de départ des trois entrées d'ouverture. « .scene » est posé par le script d'en-tête quand le mouvement est permis,
   retiré par scene.js, ou au bout de 2,5 s s'il n'arrive pas : rien ne reste masqué. */
.scene .signature__ligne { opacity: 0; }
.scene .galerie__grande #photo { transform: scale(1.05); }
.scene .choix .recherche { transform: translateY(30px); }

/* Accueil : les chapitres se recouvrent. Chaque section est opaque et posée au-dessus de la précédente :
   celle que scene.js maintient en place passe sous la suivante. Sans script, ce sont des sections ordinaires. */
.page--accueil main > section, .page--accueil main > .ruban { position: relative; z-index: 1; }
.page--accueil main > .section { background: var(--bg); }
.page--accueil #stock { padding-bottom: var(--pas); }

/* Retenue. La couleur d'accent ne sert plus qu'au contour du clavier, aux erreurs, au bandeau « vendue »
   et au survol d'un lien de texte. Partout ailleurs : l'encre. */
.bouton:hover { background: color-mix(in srgb, var(--ink) 78%, var(--bg)); border-color: color-mix(in srgb, var(--ink) 78%, var(--bg)); color: var(--bg); }
.menu a::after { background: var(--ink); }
.progression { height: 2px; background: var(--ink); }
.ruban__piste em { color: color-mix(in srgb, var(--photo-fg) 34%, transparent); }
.galerie__nav:hover, .visionneuse button:hover { background: color-mix(in srgb, var(--ink) 78%, var(--bg)); border-color: transparent; }
.preuves li::before, .puces li::before { background: var(--ink); }
.etapes li::before { color: var(--muted); font-weight: 200; }
.vignettes button[aria-current="true"]::after { background: var(--ink); }
.curseur { background: var(--ink); }
.curseur.sur-lien { background: color-mix(in srgb, var(--ink) 10%, transparent); }
.curseur.sur-photo { background: color-mix(in srgb, var(--ink) 82%, transparent); }

/* Direction : une hiérarchie nette, moins de boîtes, des photos qui respirent. */
/* Le titre de la page domine les titres de section, jamais l'inverse. */
.une__titre { font-size: clamp(2rem, 4.1vw, 3.75rem); }
.section__tete .titre, .preuve .titre, .bande-galerie .titre { font-size: clamp(1.8rem, 3.3vw, 3rem); }
/* Ouverture de l'accueil : un seul bouton, les deux autres chemins sont des liens. */
.une__mot .actions { align-items: center; gap: 14px 36px; }
/* Étiquette en tête de rubrique : de petites capitales espacées, sans boîte. Les bandeaux posés sur une photo (« vendue ») gardent leur fond. */
.galerie-tete .bandeau { background: none; color: var(--muted); padding: 0; letter-spacing: .24em; font-weight: 500; }
/* Tuiles de l'accueil : un lien souligné au lieu d'un bouton dans la photo. */
.offre__bouton, .offre:hover .offre__bouton { min-height: 0; padding: 0 0 5px; border-radius: 0; background: none; color: inherit; border-bottom: 1px solid rgba(255, 255, 255, .55); backdrop-filter: none; -webkit-backdrop-filter: none; transition: border-color .4s ease; }
.offre:hover .offre__bouton { border-bottom-color: #fff; }
/* Stock : plus d'air entre les rangées. */
.grille { row-gap: clamp(40px, 5.2vw, 84px); }
/* Fiche : les miniatures tiennent sur une bande d'une rangée qui suit la photo affichée, au lieu d'un mur de cinq rangées
   qui repoussait les chiffres et le texte. Comme sur téléphone. */
@media (min-width: 761px) {
  .vignettes { display: flex; gap: 6px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; padding-bottom: 6px; }
  .vignettes button { flex: 0 0 calc((100% - 42px) / 8); scroll-snap-align: start; }
}

/* Pictogrammes : décoratifs, trait fin, couleur du texte. La taille est réservée, rien ne saute et rien n'est animé. */
.ico { flex: none; width: 1.05em; height: 1.05em; }
.pied li:has(> .ico) { display: flex; align-items: flex-start; gap: 10px; }
.pied li > .ico { margin-top: .32em; opacity: .7; }
.fiche-pratique dt .ico { margin-right: .5em; vertical-align: -.16em; }
@media (max-width: 760px) { .fiche-pratique div { grid-template-columns: minmax(0, 9em) minmax(0, 1fr); } }   /* sur téléphone la valeur garde sa largeur */

/* Questions fréquentes des pages de service : la liste « points », sur deux colonnes dès qu'il y a la place. */
.points h3 { font-size: 1.25rem; font-weight: 500; line-height: 1.2; }
.questions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 5vw, 72px); border-top: 0; }
.questions li { border-top: 1px solid var(--line); border-bottom: 0; align-content: start; }
@media (max-width: 760px) { .questions { grid-template-columns: minmax(0, 1fr); } }
/* Fiche : la ligne pour qui vend la même voiture, sous les blocs. */
.fiche__vendeur { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 28px; margin-top: clamp(24px, 3vw, 40px); }
/* Accessibilité au clavier. Un bloc qui attend sa révélation ne reste pas invisible quand le focus y entre,
   et le contact fixe ne recouvre pas l'élément qui reçoit le focus. */
[data-revele]:focus-within { opacity: 1 !important; transform: none !important; }
html { scroll-padding-bottom: 92px; }
@media (max-width: 760px) { html { scroll-padding-bottom: 76px; } }
.actions > .lien { align-self: center; }
