/* Arc'auto 21 · maquette du site (direction B « Racing rouge » de la planche Claude Design du 14/10) */
:root {
  --rouge: #D7182A;
  --noir: #0D0D0D;
  --blanc: #FFFFFF;
  --gris-fond: #F4F4F4;
  --gris-bouton: #F0F0F0;
  --trait: #DDDDDD;
  --trait-clair: #E5E5E5;
  --texte-2: #555555;
  --texte-sombre-2: #BDBDBD;
  --champ-sombre: #1F1F1F;
  --cond: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --texte: 'Barlow', system-ui, sans-serif;
  --doux: cubic-bezier(.22, 1, .36, 1);
  --sec: cubic-bezier(.65, 0, .35, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--blanc); color: var(--noir); font-family: var(--texte); font-size: 16px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; }
a { color: var(--noir); }
a:hover { color: var(--rouge); }
input, select, button, textarea { font: inherit; color: inherit; }
.boite { max-width: 1360px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.visuellement-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rouge { color: var(--rouge); }
:focus-visible { outline: 3px solid var(--rouge); outline-offset: 2px; }

/* ---------- animations de la planche ---------- */
@keyframes rideau { from { clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%); } to { clip-path: polygon(250px 0, 100% 0, 100% 100%, 0 100%); } }
@keyframes zoom { from { transform: scale(1.15); } to { transform: scale(1); } }
@keyframes gauche { from { opacity: 0; transform: translate3d(-60px, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes monte { from { opacity: 0; transform: translate3d(0, 30px, 0); } to { opacity: 1; transform: none; } }
@keyframes bande { from { transform: translate3d(-100%, 0, 0) skewX(-20deg); } to { transform: translate3d(0, 0, 0) skewX(-20deg); } }
@keyframes vitesse { from { transform: translate3d(-30%, 0, 0); } to { transform: translate3d(130%, 0, 0); } }
.g1 { animation: gauche .9s var(--doux) .35s both; }
.g2 { animation: gauche .9s var(--doux) .48s both; }
.g3 { animation: gauche .9s var(--doux) .61s both; }
.m4 { animation: monte .9s var(--doux) .8s both; }
.m5 { animation: monte .9s var(--doux) 1s both; }
.m1 { animation: monte .8s var(--doux) .05s both; }
.m2 { animation: monte .8s var(--doux) .2s both; }
.m3 { animation: monte .8s var(--doux) .35s both; }
@supports (animation-timeline: view()) {
  .rv { animation: monte linear both; animation-timeline: view(); animation-range: entry 0% entry 45%; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

/* ---------- le biseau et les boutons ---------- */
.penche { clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 56px; padding: 0 34px; border: 0; cursor: pointer; text-decoration: none;
  font-family: var(--cond); font-style: italic; font-weight: 800; font-size: 22px; text-transform: uppercase; letter-spacing: .01em;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%); transition: background .25s ease, color .25s ease; }
.btn--rouge { background: var(--rouge); color: var(--blanc); }
.btn--rouge:hover { background: var(--noir); color: var(--blanc); }
.btn--noir { background: var(--noir); color: var(--blanc); }
.btn--noir:hover { background: var(--rouge); color: var(--blanc); }
.btn--blanc { background: var(--blanc); color: var(--noir); }
.btn--blanc:hover { background: var(--rouge); color: var(--blanc); }
.btn--gris { background: var(--gris-bouton); color: var(--noir); }
.btn--gris:hover { background: var(--noir); color: var(--blanc); }
.btn--petit { height: 48px; padding: 0 28px; font-size: 20px; }
.btn:disabled { opacity: .55; cursor: default; }

/* ---------- bandeau d'infos et en-tête ---------- */
.infos-haut { background: var(--noir); color: #CFCFCF; font-size: 13px; }
.infos-haut .boite { padding-top: 8px; padding-bottom: 8px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 10px; }
.entete { position: sticky; top: 0; z-index: 30; background: var(--blanc); border-bottom: 1px solid var(--trait-clair); }
.entete .boite { height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.entete__logo { display: flex; flex: none; }
.entete__logo img { height: 44px; width: auto; display: block; }
.nav { display: flex; gap: 30px; font-family: var(--cond); font-weight: 700; font-size: 19px; text-transform: uppercase; letter-spacing: .03em; }
.nav a { color: var(--noir); text-decoration: none; position: relative; padding: 4px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--rouge); }
.entete__actions { display: flex; gap: 10px; align-items: center; }
.burger { display: none; width: 46px; height: 46px; border: 2px solid var(--noir); background: var(--blanc); color: var(--noir); cursor: pointer; align-items: center; justify-content: center; }
.menu-mobile { display: none; }
@media (max-width: 960px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .menu-mobile { display: block; position: fixed; left: 0; right: 0; top: 78px; z-index: 29; background: var(--noir); padding: 6px 20px 22px; border-top: 4px solid var(--rouge);
    transform: translateY(-110%); visibility: hidden; transition: transform .45s var(--doux), visibility 0s .45s; }
  .menu-mobile.ouvert { transform: none; visibility: visible; transition: transform .45s var(--doux); }
  .menu-mobile a:not(.btn) { display: block; padding: 14px 2px; border-bottom: 1px solid #262626; color: var(--blanc); text-decoration: none;
    font-family: var(--cond); font-weight: 800; font-style: italic; font-size: 26px; text-transform: uppercase; }
  .menu-mobile .btn { width: 100%; margin-top: 16px; }
}
@media (max-width: 560px) {
  .boite { padding-left: 18px; padding-right: 18px; }
  .entete .boite { height: 68px; gap: 10px; }
  .entete__logo img { height: 36px; }
  .menu-mobile { top: 68px; }
  .entete .btn--petit { height: 42px; padding: 0 16px; font-size: 18px; }
  .burger { width: 42px; height: 42px; }
}
@media (max-width: 370px) { .entete .btn--petit { display: none; } }

/* ---------- héros ---------- */
/* La bande rouge se place après le titre (début du texte + largeur du titre + marge), la photo suit sa pente : le texte reste toujours dans le noir */
.heros { position: relative; background: var(--noir); color: var(--blanc); overflow: hidden;
  --titre: clamp(56px, 6.2vw, 104px); --debut: max(32px, calc((100% - 1360px) / 2 + 32px)); --bande: calc(var(--debut) + var(--titre) * 6.3 + 160px); }
.heros__photo { position: absolute; top: 0; right: 0; bottom: 0; left: calc(var(--bande) - 108px); overflow: hidden; clip-path: polygon(250px 0, 100% 0, 100% 100%, 0 100%); animation: rideau 1.3s var(--sec) .1s both; }
.heros__photo img { width: 100%; height: 100%; object-fit: cover; display: block; animation: zoom 2.4s var(--doux) .1s both; }
.heros__bande { position: absolute; top: 0; bottom: 0; left: var(--bande); width: 14px; background: var(--rouge); animation: bande 1.1s var(--sec) .9s both; }
.heros .boite { position: relative; padding-top: 110px; padding-bottom: 120px; }
.heros h1 { margin: 0; font-family: var(--cond); font-style: italic; font-weight: 900; font-size: var(--titre); line-height: .88; text-transform: uppercase; letter-spacing: -.01em; }
.heros h1 span { display: block; }
.heros p { margin: 28px 0 0; max-width: 440px; font-size: 19px; line-height: 1.5; color: #D4D4D4; }
.heros__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.vitesse { position: relative; height: 3px; background: #262626; overflow: hidden; }
.vitesse i { display: block; width: 30%; height: 100%; background: var(--rouge); animation: vitesse 2.6s var(--sec) 1.4s infinite; }
@media (max-width: 1100px) {
  .heros__photo { position: relative; left: auto; width: auto; height: 260px; animation: none; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 82%); }
  .heros__bande { display: none; }
  .heros .boite { padding-top: 40px; padding-bottom: 64px; }
  .heros p { font-size: 17px; }
}

/* ---------- titres de section ---------- */
.section { padding-top: 80px; padding-bottom: 40px; }
.titre-r { margin: 0; font-family: var(--cond); font-style: italic; font-weight: 900; font-size: clamp(42px, 5vw, 58px); line-height: .9; text-transform: uppercase; }
.section__tete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 30px; }
.onglets { display: flex; gap: 4px; flex-wrap: wrap; }
.onglets button { height: 46px; padding: 0 20px; border: 0; cursor: pointer; font-family: var(--cond); font-style: italic; font-weight: 800; font-size: 19px; text-transform: uppercase;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); background: var(--gris-bouton); color: var(--noir); transition: background .25s ease, color .25s ease; }
.onglets button:hover { background: var(--noir); color: var(--blanc); }
.onglets button[aria-selected="true"] { background: var(--rouge); color: var(--blanc); }
.centre { display: flex; justify-content: center; margin-top: 36px; }

/* ---------- cartes véhicules ---------- */
.grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 20px; }
.carte-v { position: relative; display: flex; flex-direction: column; height: 100%; background: var(--gris-fond); text-decoration: none; color: var(--noir); overflow: hidden; transition: transform .45s var(--doux); }
.carte-v::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--rouge); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--sec); }
.carte-v:hover { transform: translate3d(0, -4px, 0); color: var(--noir); }
.carte-v:hover::after { transform: scaleX(1); }
.carte-v__photo { position: relative; height: 210px; overflow: hidden; flex: none; background: #E2E2E2; }
.carte-v__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s var(--doux); }
.carte-v:hover .carte-v__photo img { transform: scale(1.07); }
.carte-v__prix { position: absolute; left: 0; bottom: 0; padding: 8px 22px 8px 16px; background: var(--rouge); color: var(--blanc); font-family: var(--cond); font-style: italic; font-weight: 800; font-size: 24px; line-height: 1.1;
  clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%); }
.etiquette { position: absolute; top: 12px; left: 0; padding: 4px 16px 4px 12px; background: var(--noir); color: var(--blanc); font-family: var(--cond); font-style: italic; font-weight: 800; font-size: 16px; text-transform: uppercase;
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%); }
.etiquette--rouge { background: var(--blanc); color: var(--rouge); }
.carte-v__corps { flex: 1; display: flex; flex-direction: column; padding: 18px 18px 20px; }
.carte-v__nom { font-family: var(--cond); font-weight: 800; font-size: 22px; text-transform: uppercase; line-height: 1.05; }
.carte-v__nom span, .titre-voiture span { color: var(--rouge); }
.carte-v__version { font-size: 15px; color: var(--texte-2); margin-top: 4px; }
.carte-v__infos { display: flex; margin-top: auto; padding-top: 16px; font-family: var(--cond); font-weight: 700; font-size: 16px; text-transform: uppercase; }
.carte-v__infos span { flex: 1; padding-top: 12px; border-top: 1px solid var(--trait); white-space: nowrap; }
.carte-v__infos span + span { border-left: 1px solid var(--trait); padding-left: 12px; }
.liste { display: flex; flex-direction: column; gap: 16px; }
.liste .carte-v { flex-direction: row; flex-wrap: wrap; }
.liste .carte-v__photo { flex: 0 1 340px; height: auto; min-height: 200px; }
.liste .carte-v__corps { flex: 1 1 280px; min-width: 0; }
.vide { background: var(--gris-fond); padding: 48px; text-align: center; font-size: 17px; color: var(--texte-2); }
.vide button { border: 0; background: none; color: var(--rouge); font-weight: 600; cursor: pointer; text-decoration: underline; }
.sans-photo { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: #E2E2E2; color: var(--texte-2); font-family: var(--cond); font-style: italic; font-weight: 800; font-size: 20px; text-transform: uppercase; }

/* ---------- bande rouge des chiffres ---------- */
.bande-rouge { background: var(--rouge); color: var(--blanc); margin-top: 60px; clip-path: polygon(0 40px, 100% 0, 100% calc(100% - 40px), 0 100%); }
.bande-rouge .boite { padding-top: 100px; padding-bottom: 100px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 30px; font-family: var(--cond); text-transform: uppercase; }
.bande-rouge b { display: block; font-style: italic; font-weight: 900; font-size: 76px; line-height: .9; }
.bande-rouge span { display: block; font-weight: 700; font-size: 22px; }
@media (max-width: 560px) { .bande-rouge .boite { padding-top: 80px; padding-bottom: 80px; } .bande-rouge b { font-size: 64px; } }

/* ---------- le garage (services) ---------- */
.service { position: relative; height: 340px; overflow: hidden; background: var(--noir); display: block; text-decoration: none; }
.service img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s var(--doux); }
.service:hover img { transform: scale(1.06); }
.service::after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(180deg, rgba(13,13,13,0) 0%, rgba(13,13,13,.85) 100%); pointer-events: none; }
.service div { z-index: 1; }
.service div { position: absolute; left: 20px; right: 20px; bottom: 20px; color: var(--blanc); }
.service b { display: block; font-family: var(--cond); font-style: italic; font-weight: 900; font-size: 32px; text-transform: uppercase; }
.service span { font-size: 15px; color: var(--trait-clair); }

/* ---------- reprise ---------- */
.reprise { background: var(--noir); color: var(--blanc); }
.reprise .boite { padding-top: 80px; padding-bottom: 80px; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.reprise__texte { flex: 1 1 440px; }
.reprise__texte p { margin: 18px 0 0; font-size: 17px; color: var(--texte-sombre-2); }
.form-sombre { flex: 1 1 460px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.form-sombre label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--texte-sombre-2); }
.form-sombre input { height: 52px; border: 0; background: var(--champ-sombre); color: var(--blanc); padding: 0 14px; font-size: 16px; }
.form-sombre input::placeholder { color: #8C8C8C; }
.form-sombre .large, .form-sombre .btn, .form-sombre .merci, .form-sombre .erreur { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-sombre { grid-template-columns: 1fr; } }

/* ---------- messages des formulaires ---------- */
.merci { display: none; align-items: flex-start; gap: 12px; padding: 14px 16px; background: #E9F5EC; color: #134D2A; font-size: 15px; line-height: 1.5; border-left: 4px solid #1E8A4C; }
.merci.vu { display: flex; }
.form-sombre .merci { background: #1A1A1A; color: var(--blanc); border-left-color: var(--rouge); }
.merci small { display: block; opacity: .8; font-size: 13px; }
.erreur { color: var(--rouge); font-size: 14px; font-weight: 600; }
.erreur:empty { display: none; }
.form-sombre .erreur { color: #FF7A86; }

/* ---------- contact ---------- */
.contact { padding-top: 80px; padding-bottom: 80px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 30px; align-items: start; }
.contact__titre { font-family: var(--cond); font-weight: 700; font-size: 18px; text-transform: uppercase; color: var(--rouge); }
.contact__tel { display: block; font-family: var(--cond); font-style: italic; font-weight: 900; font-size: clamp(40px, 5vw, 52px); text-decoration: none; }
.contact p { font-size: 18px; line-height: 1.5; margin: 6px 0 0; }
.contact a.lien { display: block; font-size: 18px; margin-top: 6px; overflow-wrap: anywhere; }

/* ---------- pied de page ---------- */
.pied { background: var(--noir); color: #A3A3A3; border-top: 6px solid var(--rouge); }
.pied .boite { padding-top: 32px; padding-bottom: 32px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; font-size: 14px; }
.pied img { height: 36px; width: auto; display: block; }
.pied a { color: var(--blanc); }
.pied a.discret { color: #A3A3A3; }
.pied a:hover { color: var(--rouge); }

/* ---------- page « Nos véhicules » ---------- */
.bandeau { position: relative; background: var(--noir); color: var(--blanc); overflow: hidden; }
.bandeau > img { position: absolute; top: 0; right: 0; bottom: 0; width: 55%; height: 100%; object-fit: cover; opacity: .55; clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%); }
.bandeau__bande { position: absolute; top: 0; bottom: 0; left: 42%; width: 12px; background: var(--rouge); transform: skewX(-20deg); }
.bandeau .boite { position: relative; padding-top: 56px; padding-bottom: 56px; }
.fil { font-size: 14px; color: var(--texte-sombre-2); }
.fil a { color: var(--texte-sombre-2); }
.bandeau h1 { margin: 12px 0 0; font-family: var(--cond); font-style: italic; font-weight: 900; font-size: clamp(44px, 6vw, 84px); line-height: .9; text-transform: uppercase; }
@media (max-width: 700px) { .bandeau > img, .bandeau__bande { display: none; } }
.stock { padding-top: 36px; padding-bottom: 96px; display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.filtres { flex: 1 1 260px; max-width: 100%; background: var(--gris-fond); padding: 24px; position: sticky; top: 98px; }
.filtres__tete { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 6px; }
.filtres h2 { margin: 0; margin-right: auto; font-family: var(--cond); font-style: italic; font-weight: 900; font-size: 30px; text-transform: uppercase; }
.lien-btn { border: 0; background: none; padding: 4px 0; font-size: 14px; color: var(--texte-2); cursor: pointer; text-decoration: underline; }
.filtres fieldset { border: 0; border-top: 1px solid var(--trait); margin: 0; padding: 14px 0 8px; }
.filtres legend, .filtres__titre { font-family: var(--cond); font-weight: 700; font-size: 17px; text-transform: uppercase; color: var(--noir); padding: 14px 0 4px; float: left; width: 100%; }
.coche { clear: both; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 0; font-size: 16px; cursor: pointer; }
.coche span:first-child { display: flex; align-items: center; gap: 10px; }
.coche input { width: 18px; height: 18px; accent-color: var(--rouge); margin: 0; }
.coche small { font-size: 14px; color: var(--texte-2); }
.prix-max { border-top: 1px solid var(--trait); padding: 16px 0 6px; }
.prix-max label { display: flex; flex-direction: column; gap: 10px; }
.prix-max .filtres__titre { float: none; padding: 0; display: flex; justify-content: space-between; }
.prix-max .filtres__titre b { color: var(--rouge); font-style: italic; }
input[type="range"] { accent-color: var(--rouge); width: 100%; }
.filtres__aide { border-top: 1px solid var(--trait); padding: 16px 0 0; font-size: 15px; color: var(--texte-2); line-height: 1.5; }
.filtres__aide a { color: var(--rouge); font-weight: 600; }
.puces-filtres { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.puces-filtres:empty { display: none; }
.puce-f { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px 0 14px; border: 0; background: var(--noir); color: var(--blanc); font-family: var(--cond); font-weight: 700; font-size: 17px; text-transform: uppercase; cursor: pointer;
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); }
.puce-f:hover { background: var(--rouge); }
.resultats { flex: 999 1 640px; min-width: 0; }
.resultats__tete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 20px; }
.compte { font-family: var(--cond); font-style: italic; font-weight: 900; font-size: 34px; text-transform: uppercase; line-height: 1; }
.compte b { color: var(--rouge); }
.outils { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.trier { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--texte-2); }
.saisie { height: 46px; border: 2px solid var(--noir); background: var(--blanc); padding: 0 38px 0 12px; font-size: 15px; color: var(--noir); appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230D0D0D' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; }
.vue { display: flex; border: 2px solid var(--noir); }
.vue button { width: 44px; height: 42px; border: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; background: var(--blanc); color: var(--noir); }
.vue button[aria-pressed="true"] { background: var(--noir); color: var(--blanc); }
.pages { display: flex; justify-content: center; gap: 6px; margin-top: 36px; }
.pages button { width: 46px; height: 46px; border: 0; background: var(--gris-bouton); font-family: var(--cond); font-style: italic; font-weight: 800; font-size: 20px; cursor: pointer; clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); }
.pages button[aria-current="page"] { background: var(--rouge); color: var(--blanc); }
.ouvrir-filtres { display: none; }
@media (max-width: 960px) {
  .filtres { position: static; }
  .stock { padding-top: 24px; }
  .ouvrir-filtres { display: inline-flex; }
  .filtres:not(.ouvert) .filtres__corps { display: none; }
  .filtres:not(.ouvert) .filtres__tete { margin-bottom: 0; }
  .filtres__tete [data-reinit] { display: none; }
  .filtres.ouvert .filtres__tete [data-reinit] { display: inline-flex; }
}

/* ---------- fiche annonce ---------- */
.fil-clair { padding-top: 22px; font-size: 14px; color: var(--texte-2); }
.fil-clair a { color: var(--texte-2); }
.annonce { padding-top: 18px; padding-bottom: 64px; display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.annonce__gauche { flex: 999 1 640px; min-width: 0; }
.galerie { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #E2E2E2; max-width: 100%; }
.galerie img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.05); transition: opacity .6s var(--doux), transform 1.2s var(--doux); }
.galerie img.ici { opacity: 1; transform: none; }
.galerie__fleche { position: absolute; top: 50%; margin-top: -26px; width: 52px; height: 52px; border: 0; background: var(--blanc); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .25s ease, color .25s ease; color: var(--noir);
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); }
.galerie__fleche:hover { background: var(--rouge); color: var(--blanc); }
.galerie__fleche--g { left: 14px; } .galerie__fleche--d { right: 14px; }
.galerie__compte { position: absolute; bottom: 0; right: 0; padding: 6px 14px 6px 18px; background: var(--noir); color: var(--blanc); font-family: var(--cond); font-style: italic; font-weight: 800; font-size: 18px;
  clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%); }
.vignettes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.vignettes:empty { display: none; }
.vignettes button { height: 90px; padding: 0; border: 0; overflow: hidden; cursor: pointer; opacity: .5; transition: opacity .25s ease; background: #E2E2E2; position: relative; }
.vignettes button::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--rouge); transform: scaleX(0); transition: transform .4s var(--sec); transform-origin: left; }
.vignettes button:hover { opacity: 1; }
.vignettes button[aria-current="true"] { opacity: 1; }
.vignettes button[aria-current="true"]::after { transform: scaleX(1); }
.vignettes img { width: 100%; height: 100%; object-fit: cover; display: block; }
.carte-blanche { margin-top: 20px; background: var(--gris-fond); padding: 28px; }
.carte-blanche:first-of-type { margin-top: 28px; }
.carte-blanche h2 { margin: 0 0 16px; font-family: var(--cond); font-style: italic; font-weight: 900; font-size: 34px; text-transform: uppercase; line-height: 1; }
.caracs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); column-gap: 24px; border-top: 1px solid var(--trait); }
.caracs div { padding: 14px 0; border-bottom: 1px solid var(--trait); }
.caracs span { display: block; font-size: 14px; color: var(--texte-2); }
.caracs b { display: block; font-family: var(--cond); font-weight: 700; font-size: 20px; text-transform: uppercase; margin-top: 2px; }
.equipements { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 12px 24px; font-size: 16px; }
.equipements li { display: flex; gap: 10px; align-items: center; }
.equipements i { flex: none; width: 14px; height: 10px; background: var(--rouge); clip-path: polygon(4px 0, 100% 0, calc(100% - 4px) 100%, 0 100%); }
.description { margin: 0; font-size: 17px; line-height: 1.7; color: #2E2E2E; white-space: pre-line; }
.annonce__droite { flex: 1 1 380px; position: sticky; top: 98px; display: flex; flex-direction: column; gap: 16px; }
.encart { background: var(--gris-fond); padding: 28px; }
.encart--noir { background: var(--noir); color: var(--blanc); }
.titre-voiture { margin: 0; font-family: var(--cond); font-style: italic; font-weight: 900; font-size: 46px; line-height: .92; text-transform: uppercase; }
.encart__version { margin-top: 8px; font-size: 17px; color: var(--texte-sombre-2); }
.pastilles { display: flex; margin-top: 18px; font-family: var(--cond); font-weight: 700; font-size: 17px; text-transform: uppercase; }
.pastilles span { flex: 1 1 auto; padding: 10px 10px 0 0; border-top: 1px solid #333333; white-space: nowrap; }
.pastilles span + span { padding-left: 10px; border-left: 1px solid #333333; }
.encart__prix { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-top: 22px; }
.encart__prix b { display: inline-block; padding: 6px 24px 6px 16px; background: var(--rouge); font-family: var(--cond); font-style: italic; font-weight: 900; font-size: 44px; line-height: 1; clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%); }
.encart__prix span { font-size: 13px; color: #A3A3A3; }
.encart__note { font-size: 15px; color: var(--texte-sombre-2); margin-top: 10px; }
.encart__actions { display: flex; flex-direction: column; gap: 8px; margin-top: 22px; }
.encart__actions .btn { width: 100%; }
.encart__actions .deux { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.rappel { display: flex; flex-direction: column; gap: 12px; }
.rappel h2 { margin: 0; font-family: var(--cond); font-style: italic; font-weight: 900; font-size: 28px; text-transform: uppercase; line-height: 1; }
.rappel label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--texte-2); }
.rappel input { height: 50px; border: 2px solid var(--noir); background: var(--blanc); padding: 0 12px; font-size: 16px; }
.plateformes { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; font-size: 15px; padding: 18px 28px; }
.plateformes a { font-weight: 600; color: var(--rouge); }
.similaires { padding-bottom: 96px; }
.similaires .titre-r { margin-bottom: 24px; }
@media (max-width: 960px) {
  .annonce__droite { position: static; }
  .annonce { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 16px; }
  .annonce__gauche { display: contents; }
  .galerie, .vignettes { order: 1; }
  .vignettes { margin-top: -8px; }
  .annonce__droite { order: 2; }
  .carte-blanche, .carte-blanche:first-of-type { order: 3; margin-top: 0; }
}
@media (max-width: 560px) {
  .galerie__fleche { width: 44px; height: 44px; margin-top: -22px; }
  .vignettes { gap: 6px; } .vignettes button { height: 58px; }
  .carte-blanche, .encart { padding: 22px 18px; }
  .titre-voiture { font-size: 40px; }
  .encart__prix b { font-size: 38px; }
  .pastilles { font-size: 15px; }
}

/* ---------- mentions légales ---------- */
.texte-legal { padding-top: 48px; padding-bottom: 96px; max-width: 860px; }
.texte-legal h1 { margin: 0 0 28px; }
.texte-legal h2 { font-family: var(--cond); font-style: italic; font-weight: 900; font-size: 28px; text-transform: uppercase; margin: 32px 0 8px; }
.texte-legal p { line-height: 1.7; color: #2E2E2E; margin: 0 0 10px; }
