/* ==========================================================================
   Vitrine : accueil, actualités, rachat, logos de marques.
   Complète site.css sans le modifier ; chargée après lui.
   ========================================================================== */

/* ---------- Utilitaires partagés ---------- */
.bouton-rouge, button.bouton-rouge {
    color: var(--blanc); background: var(--rouge); border-color: var(--rouge);
}
.bouton-rouge:hover, button.bouton-rouge:hover { background: var(--rouge-vif); border-color: var(--rouge-vif); }
.actions-centre { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }
[hidden] { display: none !important; }

/* ==========================================================================
   Vendre ma voiture
   ========================================================================== */
.rachat-tete {
    background: var(--noir); color: var(--blanc);
    padding: clamp(2.5rem, 6vw, 4rem) 0;
    border-bottom: 4px solid var(--rouge);
}
.rachat-tete-grille {
    display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: end;
}
.rachat-tete h1 { color: var(--blanc); max-width: 14ch; }
.rachat-intro { color: #bdbdbd; max-width: 46ch; margin: 1.25rem 0 0; }
.rachat-parcours {
    list-style: none; margin: 0; padding: 0; counter-reset: parcours;
    display: flex; flex-direction: column; gap: 1px; background: #2c2c2c;
}
.rachat-parcours li {
    counter-increment: parcours;
    display: grid; grid-template-columns: 2.25rem 1fr; column-gap: 0.75rem;
    padding: 0.9rem 1rem; background: #181818;
}
.rachat-parcours li::before {
    content: counter(parcours); grid-row: span 2;
    font-family: "Bricolage Grotesque", sans-serif; font-size: 1.5rem; font-weight: 700;
    color: var(--rouge); line-height: 1.1;
}
.rachat-parcours strong { color: var(--blanc); font-weight: 600; }
.rachat-parcours span { font-size: 0.8125rem; color: var(--gris-clair); }

.rachat-page {
    display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 2rem;
    align-items: start; padding-top: 2.5rem; padding-bottom: 3rem;
}
.rachat-formulaire .section-form legend { display: flex; align-items: center; gap: 0.6rem; }
.etape-puce {
    display: inline-flex; align-items: center; justify-content: center;
    width: 1.6rem; height: 1.6rem; border-radius: 50%;
    background: var(--noir); color: var(--blanc);
    font-size: 0.8125rem; font-weight: 700;
}
.formulaire-quatuor { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 1rem; }

/* Etat : quatre cartes radio */
.choix-etat { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem; margin-bottom: 1rem; }
.carte-choix { margin: 0; cursor: pointer; position: relative; }
.carte-choix input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.carte-choix-corps {
    display: flex; flex-direction: column; gap: 0.25rem; height: 100%;
    padding: 0.85rem 0.9rem; background: var(--blanc);
    border: 1px solid var(--trait-fort); border-radius: var(--rayon);
    transition: border-color var(--transition), box-shadow var(--transition);
}
.carte-choix-corps strong { font-size: 0.9375rem; color: var(--noir); font-weight: 600; }
.carte-choix-corps span { font-size: 0.75rem; color: var(--gris); line-height: 1.4; }
.carte-choix:hover .carte-choix-corps { border-color: var(--noir); }
.carte-choix input:checked + .carte-choix-corps {
    border-color: var(--rouge); box-shadow: inset 0 0 0 1px var(--rouge); background: #fffafa;
}
.carte-choix input:focus-visible + .carte-choix-corps { outline: 2px solid var(--rouge); outline-offset: 2px; }

.cases-ligne { display: flex; gap: 0.5rem 2rem; flex-wrap: wrap; margin-bottom: 0.5rem; }

/* Zone de depot des photos */
.depot-zone {
    position: relative; display: flex; flex-direction: column; align-items: center; gap: 0.35rem;
    padding: 1.75rem 1.25rem; margin: 0; text-align: center; cursor: pointer;
    background: var(--papier); border: 1.5px dashed var(--trait-fort); border-radius: var(--rayon);
    transition: border-color var(--transition), background var(--transition);
}
.depot-zone:hover, .depot-zone:focus-within { border-color: var(--rouge); background: #fffafa; }
.depot-zone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.depot-zone-titre { font-size: 1rem; font-weight: 600; color: var(--noir); }
.depot-zone-aide { font-size: 0.8125rem; color: var(--gris); max-width: 52ch; }

.apercus {
    list-style: none; padding: 0; margin: 0.75rem 0 0;
    display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 0.5rem;
}
.apercus li { position: relative; }
.apercus img {
    display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
    border-radius: var(--rayon); border: 1px solid var(--trait);
}
.apercu-retirer {
    position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; padding: 0;
    font-size: 1rem; line-height: 1; border-radius: 50%;
    background: rgba(16, 16, 16, 0.78); border: none; color: var(--blanc);
}
.apercu-retirer:hover { background: var(--rouge); }

.rachat-formulaire > button { margin-top: 0.5rem; padding: 0.85rem 2rem; font-size: 1rem; }

.rachat-cote { display: flex; flex-direction: column; gap: 1rem; position: sticky; top: 90px; }
.encadre-cote { padding: 1.35rem; background: var(--blanc); border: 1px solid var(--trait); }
.encadre-cote h2 { font-size: 1.0625rem; margin-bottom: 0.75rem; }
.encadre-cote p { font-size: 0.875rem; color: var(--noir-doux); }
.encadre-cote a { font-size: 0.875rem; text-underline-offset: 3px; }
.encadre-sombre { background: var(--noir); border-color: var(--noir); color: var(--blanc); }
.encadre-sombre h2 { color: var(--blanc); }
.encadre-sombre p { color: var(--gris-clair); }
.lien-telephone {
    display: inline-block; margin-top: 0.25rem;
    font-family: "Bricolage Grotesque", sans-serif; font-weight: 700;
    font-size: 1.5rem !important; letter-spacing: -0.03em;
    color: var(--blanc); text-decoration: none;
}
.lien-telephone:hover { color: var(--rouge-vif); }
.liste-coches { list-style: none; margin: 0; padding: 0; }
.liste-coches li {
    position: relative; padding: 0.4rem 0 0.4rem 1.5rem;
    font-size: 0.875rem; border-bottom: 1px solid var(--trait);
}
.liste-coches li:last-child { border-bottom: none; }
.liste-coches li::before {
    content: ""; position: absolute; left: 0.15rem; top: 0.85rem;
    width: 0.7rem; height: 0.35rem;
    border-left: 2px solid var(--rouge); border-bottom: 2px solid var(--rouge);
    transform: rotate(-45deg);
}

@media (max-width: 980px) {
    .rachat-tete-grille, .rachat-page { grid-template-columns: 1fr; }
    .rachat-cote { position: static; }
    .choix-etat, .formulaire-quatuor { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
    .choix-etat, .formulaire-quatuor { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Accueil : bandeau avec vitrine
   ========================================================================== */
.accroche-vitrine { padding-bottom: clamp(5rem, 9vw, 7rem); }
.accroche-grille-vitrine {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
    gap: clamp(2rem, 4vw, 3.5rem); align-items: center;
}
.accroche-vitrine .accroche-contenu { max-width: none; }
.accroche-vitrine h1 { max-width: 13ch; }

.vitrine { position: relative; }
.vitrine-scene {
    position: relative; aspect-ratio: 4 / 3;
    margin-left: 1.5rem; /* place pour la fiche qui deborde a gauche */
}
.vitrine-diapo {
    position: absolute; inset: 0; display: block; text-decoration: none; color: var(--noir);
    opacity: 0; visibility: hidden;
    transition: opacity 600ms ease, visibility 0s linear 600ms;
}
.vitrine-diapo.active { opacity: 1; visibility: visible; transition: opacity 600ms ease; }
.vitrine-diapo > img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    border-radius: var(--rayon);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}

/* La fiche posee derriere le pare-brise, comme au showroom */
.fiche-pare-brise {
    position: absolute; left: -1.5rem; bottom: 1.5rem;
    width: min(260px, 70%);
    display: flex; flex-direction: column;
    padding: 0.95rem 1.1rem 1rem;
    background: var(--blanc); color: var(--noir);
    border-top: 6px solid var(--rouge); border-radius: 2px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
    transform: rotate(-1.5deg);
    transition: transform 240ms cubic-bezier(0.2, 0, 0.2, 1);
}
.vitrine-diapo:hover .fiche-pare-brise,
.vitrine-diapo:focus-visible .fiche-pare-brise { transform: rotate(0deg) translateY(-3px); }
.fiche-enseigne {
    display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
    min-height: 24px; margin-bottom: 0.5rem;
}
.fiche-enseigne img { height: 24px; width: auto; max-width: 90px; object-fit: contain; }
.fiche-arrivage { font-size: 0.6875rem; font-weight: 600; color: var(--rouge); margin-left: auto; }
.fiche-modele {
    font-family: "Bricolage Grotesque", sans-serif; font-weight: 700;
    font-size: 1.3rem; letter-spacing: -0.03em; line-height: 1.1;
}
.fiche-version {
    font-size: 0.75rem; color: var(--gris); margin-top: 0.15rem;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.fiche-specs {
    display: grid; grid-template-columns: auto auto 1fr; gap: 0.9rem;
    margin: 0.75rem 0 0.6rem; padding: 0.55rem 0;
    border-top: 1px solid var(--trait); border-bottom: 1px solid var(--trait);
}
.fiche-specs small { display: block; font-size: 0.625rem; color: var(--gris); line-height: 1.2; }
.fiche-specs b { font-size: 0.875rem; font-weight: 600; white-space: nowrap; }
.fiche-prix {
    font-family: "Bricolage Grotesque", sans-serif; font-weight: 700;
    font-size: 2rem; letter-spacing: -0.045em; line-height: 1;
}

.vitrine-commandes {
    position: absolute; right: 0.75rem; bottom: 0.75rem; z-index: 3;
    display: flex; align-items: center; gap: 0.25rem;
    padding: 0.25rem; background: rgba(16, 16, 16, 0.78);
    border-radius: 100px; backdrop-filter: blur(4px);
}
.vitrine-bouton {
    width: 34px; height: 34px; padding: 0; border-radius: 50%;
    background: transparent; border: none; color: var(--blanc);
}
.vitrine-bouton:hover { background: var(--rouge); }
.vitrine-bouton svg {
    width: 18px; height: 18px; fill: none; stroke: currentColor;
    stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.vitrine-position { font-size: 0.8125rem; color: var(--gris-clair); padding: 0 0.35rem; }
.vitrine-position b { color: var(--blanc); font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
    .vitrine-diapo, .vitrine-diapo.active { transition: none; }
    .fiche-pare-brise { transition: none; }
}
@media (prefers-reduced-motion: no-preference) {
    .vitrine { animation: monter 650ms cubic-bezier(0.2, 0, 0.2, 1) 160ms backwards; }
}

@media (max-width: 980px) {
    .accroche-grille-vitrine { grid-template-columns: 1fr; }
    .vitrine-scene { margin-left: 0; }
    .fiche-pare-brise { left: 0.75rem; bottom: 0.75rem; }
}
@media (max-width: 520px) {
    .vitrine-scene { aspect-ratio: auto; display: grid; }
    .vitrine-diapo { position: relative; inset: auto; grid-area: 1 / 1; }
    .vitrine-diapo > img { aspect-ratio: 4 / 3; height: auto; }
    .fiche-pare-brise {
        position: relative; left: auto; bottom: auto; width: auto;
        margin: -2.25rem 0.75rem 0; transform: none;
    }
    .vitrine-diapo:hover .fiche-pare-brise { transform: none; }
    .vitrine-commandes { bottom: auto; top: 0.6rem; right: 0.6rem; }
}

/* ==========================================================================
   Marques du stock
   ========================================================================== */
.bloc-marques { padding-bottom: 1rem; }
.rail-marques {
    list-style: none; margin: 0; padding: 0;
    display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 0.5rem;
}
.tuile-marque {
    position: relative;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem;
    aspect-ratio: 3 / 2; padding: 1rem;
    background: var(--blanc); border: 1px solid var(--trait); text-decoration: none;
    transition: background var(--transition), border-color var(--transition);
}
.tuile-marque img {
    max-width: 72%; max-height: 48px; object-fit: contain;
    filter: grayscale(1); opacity: 0.72;
    transition: filter 200ms ease, opacity 200ms ease, transform 200ms ease;
}
.tuile-marque:hover img, .tuile-marque:focus-visible img { filter: none; opacity: 1; transform: scale(1.06); }
.tuile-marque-nom {
    font-family: "Bricolage Grotesque", sans-serif; font-weight: 600;
    font-size: 1.0625rem; letter-spacing: -0.02em; text-align: center; line-height: 1.15;
    color: var(--noir-doux);
}
.tuile-marque:hover .tuile-marque-nom { color: var(--rouge); }
.tuile-marque-nombre { font-size: 0.6875rem; color: var(--gris); }
.tuile-marque:hover { border-color: var(--noir); }

/* ==========================================================================
   Dernieres arrivees en grille
   ========================================================================== */
.grille-autos {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem;
}
.carte-auto {
    position: relative; display: flex; flex-direction: column;
    background: var(--blanc); border: 1px solid var(--trait);
    transition: border-color var(--transition);
}
.carte-auto:hover { border-color: var(--trait-fort); }
.carte-auto-photo {
    position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--papier);
}
.carte-auto-photo > img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform 400ms cubic-bezier(0.2, 0, 0.2, 1);
}
.carte-auto:hover .carte-auto-photo > img { transform: scale(1.035); }
.carte-auto-badge {
    position: absolute; top: 0.6rem; left: 0.6rem;
    padding: 0.15rem 0.55rem; font-size: 0.6875rem; font-weight: 600;
    background: var(--blanc); color: var(--noir); border-radius: 100px;
}
.carte-auto-corps { display: flex; flex-direction: column; flex: 1; padding: 1rem 1.1rem 1.1rem; }
.carte-auto-tete { display: flex; align-items: center; gap: 0.55rem; }
.carte-auto-logo { height: 22px; width: 22px; object-fit: contain; flex: none; }
.carte-auto h3 a { text-decoration: none; }
.carte-auto h3 a::after { content: ""; position: absolute; inset: 0; }
.carte-auto:hover h3 a { color: var(--rouge); }
.carte-auto-version {
    font-size: 0.8125rem; color: var(--gris); margin: 0.15rem 0 0.75rem;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.carte-auto-specs { display: flex; gap: 1.25rem; margin: 0 0 1rem; }
.carte-auto-specs dt { font-size: 0.6875rem; color: var(--gris); }
.carte-auto-specs dd { margin: 0; font-size: 0.875rem; font-weight: 500; }
.carte-auto-pied {
    display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
    margin-top: auto; padding-top: 0.85rem; border-top: 1px solid var(--trait);
}
.carte-auto .prix { font-size: 1.5rem; }

.sans-photo-logo { max-width: 46%; max-height: 42%; object-fit: contain; opacity: 0.55; filter: grayscale(1); }

/* ==========================================================================
   Services
   ========================================================================== */
.services {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 1px; background: var(--trait); border: 1px solid var(--trait);
}
.service {
    display: flex; flex-direction: column; gap: 0.3rem;
    padding: 1.5rem 1.35rem; background: var(--blanc); text-decoration: none;
    transition: background var(--transition), color var(--transition);
}
.service svg {
    width: 28px; height: 28px; margin-bottom: 0.5rem;
    fill: none; stroke: var(--rouge); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.service strong {
    font-family: "Bricolage Grotesque", sans-serif; font-weight: 700;
    font-size: 1.375rem; letter-spacing: -0.03em;
}
.service span { font-size: 0.8125rem; color: var(--gris); line-height: 1.45; }
.service:hover { background: var(--noir); color: var(--blanc); }
.service:hover span { color: var(--gris-clair); }

/* ==========================================================================
   Actualites
   ========================================================================== */
.grille-actus { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.grille-actus.deux { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.carte-actu {
    position: relative; min-width: 0; display: flex; flex-direction: column;
    background: var(--blanc); border: 1px solid var(--trait);
}
.carte-actu-image { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--noir); }
.carte-actu-image img { width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform 400ms cubic-bezier(0.2, 0, 0.2, 1); }
.carte-actu:hover .carte-actu-image img { transform: scale(1.035); }
.carte-actu-sans-image {
    display: flex; align-items: center; justify-content: center; width: 100%; height: 100%;
    padding: 18%;
}
.carte-actu-sans-image svg { width: 100%; height: auto; opacity: 0.9; }
.carte-actu-corps { padding: 1.1rem 1.2rem 1.25rem; }
.carte-actu-corps time { display: block; font-size: 0.75rem; color: var(--gris); margin-bottom: 0.35rem; }
.carte-actu-corps h3 { font-size: 1.1875rem; margin-bottom: 0.5rem; }
.carte-actu-corps h3 a { text-decoration: none; }
.carte-actu-corps h3 a::after { content: ""; position: absolute; inset: 0; }
.carte-actu:hover h3 a { color: var(--rouge); }
.carte-actu-corps p { font-size: 0.875rem; color: var(--noir-doux); margin: 0; }

/* Sur l'accueil : la plus recente en grand, les autres a cote */
.grille-actus.une-plus.compte-3 { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); grid-template-rows: auto auto; }
.grille-actus.une-plus.compte-3 > .carte-actu:first-child { grid-row: span 2; }
.grille-actus.une-plus.compte-3 > .carte-actu:not(:first-child) { flex-direction: row; }
.grille-actus.une-plus.compte-3 > .carte-actu:not(:first-child) .carte-actu-image {
    flex: 0 0 40%; aspect-ratio: auto; min-height: 100%;
}
.grille-actus.une-plus.compte-3 > .carte-actu:first-child h3 { font-size: 1.5rem; }
.grille-actus.une-plus.compte-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grille-actus.une-plus.compte-1 { grid-template-columns: 1fr; }
.grille-actus.une-plus.compte-1 > .carte-actu { flex-direction: row; }
.grille-actus.une-plus.compte-1 .carte-actu-image { flex: 0 0 50%; }
.grille-actus.une-plus.compte-1 .carte-actu-corps { align-self: center; padding: 2rem; }
.grille-actus.une-plus.compte-1 h3 { font-size: 1.5rem; }

/* Page article */
.titre-page { font-size: clamp(1.75rem, 4vw, 2.5rem); }
.article-actu { max-width: 820px; padding-top: 1.5rem; padding-bottom: 3rem; }
.actu-date { display: block; font-size: 0.8125rem; color: var(--gris); margin-bottom: 0.6rem; }
.article-actu h1 { margin-bottom: 1rem; }
.actu-chapo { font-size: 1.1875rem; line-height: 1.5; color: var(--noir-doux); max-width: 60ch; }
.actu-figure { margin: 1.75rem 0; }
.actu-figure img { display: block; width: 100%; border-radius: var(--rayon); }
.actu-texte p { max-width: 66ch; font-size: 1.0625rem; line-height: 1.7; color: var(--noir-doux); margin-bottom: 1.1rem; }
.actu-suite { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--trait-fort); }
.actu-suite h2 { margin-bottom: 1.25rem; }

@media (max-width: 980px) {
    .grille-autos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .services { grid-template-columns: 1fr 1fr; }
    .grille-actus, .grille-actus.une-plus.compte-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grille-actus.une-plus.compte-3 > .carte-actu:first-child { grid-row: auto; grid-column: 1 / -1; }
}
@media (max-width: 680px) {
    .grille-autos, .grille-actus, .grille-actus.deux,
    .grille-actus.une-plus.compte-2, .grille-actus.une-plus.compte-3 { grid-template-columns: minmax(0, 1fr); }
    .grille-actus.une-plus.compte-3 > .carte-actu:not(:first-child),
    .grille-actus.une-plus.compte-1 > .carte-actu { flex-direction: column; }
    .grille-actus.une-plus.compte-3 > .carte-actu:not(:first-child) .carte-actu-image,
    .grille-actus.une-plus.compte-1 .carte-actu-image { flex: none; aspect-ratio: 16 / 9; min-height: 0; }
    .rail-marques { grid-template-columns: repeat(3, 1fr); }
    .tuile-marque { padding: 0.6rem; }
}

/* ---------- Mobile ----------
   site.css redefinit le padding de .conteneur a 680 px, ce qui effacait
   l'espacement vertical des blocs : on le retablit ici. */
@media (max-width: 680px) {
    .conteneur.bloc { padding-top: 2.5rem; padding-bottom: 2.5rem; }
    .conteneur.bloc-serre { padding-top: 2.25rem; padding-bottom: 0.5rem; }
    .conteneur.bloc-marques { padding-bottom: 0.5rem; }

    /* Les arrivages defilent au doigt plutot que de s'empiler sur six ecrans */
    .grille-autos {
        display: flex; gap: 0.75rem; overflow-x: auto;
        scroll-snap-type: x mandatory; scroll-padding-inline: 1rem; scrollbar-width: none;
        margin: 0 -1rem; padding: 0 1rem 0.5rem;
    }
    .grille-autos::-webkit-scrollbar { display: none; }
    .grille-autos > .carte-auto { flex: 0 0 82%; scroll-snap-align: start; }
}

/* ==========================================================================
   Accueil dynamique
   Mouvement, couleur et rythme : bandeau corrigé, badge d'ouverture,
   piste des arrivées, défilé des marques, chiffres animés, appels
   atelier / rachat, infos pratiques. Toutes les animations s'arrêtent
   si le visiteur a demandé moins de mouvement à son système.
   ========================================================================== */
.page-accueil {
    --vert: #22b46b;
    --orange: #f2a127;
    --ombre-carte: 0 18px 40px -18px rgba(16, 16, 16, 0.35);
    --biais: clamp(28px, 4vw, 56px);
}

/* ---------- Bandeau ---------- */
.page-accueil .accroche {
    /* bas en biais : la carte de recherche vient se poser sur la coupe */
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--biais)), 0 100%);
    padding-bottom: calc(clamp(5rem, 9vw, 7rem) + var(--biais));
}
.page-accueil .accroche h1 {
    font-size: clamp(2.4rem, 5.4vw, 4.25rem);
    font-weight: 700; letter-spacing: -0.045em; line-height: 1.02;
    max-width: 13ch; margin-top: 0.25rem;
}
.page-accueil .accroche h1 .accent {
    color: var(--rouge-vif);
    background: linear-gradient(90deg, var(--rouge) 0%, #ff5a4e 100%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
/* Le zoom lent ne doit pas déborder du cadre de la photo */
.page-accueil .accroche-fond { overflow: hidden; }
/* Sans vitrine, une seule colonne : avant, le texte se serrait dans une
   demi-colonne (60 % de 50 %), d'où le titre sur cinq lignes. */
.accroche-grille-vitrine.sans-vitrine { grid-template-columns: minmax(0, 1fr); }
.accroche.avec-photo .sans-vitrine .accroche-contenu { max-width: 40rem; }
.page-accueil .accroche.avec-photo .accroche-fond { width: 64%; }
.page-accueil .accroche-texte { font-size: 1.0625rem; max-width: 44ch; }

.accroche-ligne { display: flex; align-items: center; gap: 0.75rem 1rem; flex-wrap: wrap; margin-bottom: 1.1rem; }
.accroche-ligne .accroche-sur { margin: 0; }

/* Badge ouvert / fermé */
.badge-ouverture {
    display: inline-flex; align-items: center; gap: 0.45rem;
    padding: 0.3rem 0.8rem 0.3rem 0.65rem;
    font-size: 0.8125rem; line-height: 1.3; text-decoration: none;
    color: var(--blanc); background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 100px;
    backdrop-filter: blur(6px);
    transition: background var(--transition), border-color var(--transition);
}
a.badge-ouverture:hover { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.35); }
.badge-ouverture strong { font-weight: 600; }
.badge-ouverture span:not(.badge-point) { color: #c9c9c9; }
.badge-point {
    position: relative; width: 8px; height: 8px; border-radius: 50%; flex: none;
    background: var(--gris-clair);
}
.est-ouvert .badge-point { background: var(--vert); }
.est-bientot .badge-point { background: var(--orange); }
.est-ferme .badge-point { background: var(--rouge-vif); }
.est-ouvert .badge-point::after, .est-bientot .badge-point::after {
    content: ""; position: absolute; inset: 0; border-radius: 50%;
    background: inherit; animation: pulsation 2s ease-out infinite;
}
.badge-clair {
    color: var(--noir); background: var(--papier); border-color: var(--trait); backdrop-filter: none;
}
.est-ouvert.badge-clair { background: #e8f7ef; border-color: #bfe8d2; color: #116b3e; }
.est-bientot.badge-clair { background: #fff4e2; border-color: #f6d9a8; color: #8a5300; }
.est-ferme.badge-clair { background: var(--rouge-clair); border-color: #f5c6c8; color: var(--rouge-sombre); }

@keyframes pulsation {
    from { transform: scale(1); opacity: 0.7; }
    to { transform: scale(3.2); opacity: 0; }
}

/* Lent zoom sur la photo du showroom (effet « Ken Burns ») */
@keyframes kenburns {
    from { transform: scale(1) translate3d(0, 0, 0); }
    to { transform: scale(1.12) translate3d(-2%, -1.5%, 0); }
}
/* Le trait blanc se dessine à l'arrivée */
@keyframes tracer { to { stroke-dashoffset: 0; } }
@keyframes glisser-trace {
    from { transform: translateX(-6%); opacity: 0; }
    to { transform: none; opacity: 1; }
}

/* Carte de recherche : liseré rouge et ombre plus franche */
.page-accueil .recherche-carte {
    border-top: 3px solid var(--rouge);
    box-shadow: 0 24px 50px -20px rgba(16, 16, 16, 0.45);
    margin-top: calc(-2.75rem - var(--biais) / 2);
}

/* ---------- Gages ---------- */
.page-accueil .gages li {
    padding: 1rem; margin: -1rem; border-radius: 6px;
    transition: background var(--transition);
}
.page-accueil .gages li:hover { background: var(--blanc); }
.gages .gage-icone {
    display: inline-flex; align-items: center; justify-content: center; flex: none;
    width: 46px; height: 46px; border-radius: 50%;
    background: var(--rouge-clair); box-shadow: inset 0 0 0 1px #f7d2d3;
    transition: background 200ms ease, transform 300ms cubic-bezier(0.3, 1.6, 0.5, 1);
}
.page-accueil .gages .gage-icone svg { margin: 0; width: 23px; height: 23px; }
.gages li:hover .gage-icone { background: var(--rouge); transform: rotate(-8deg) scale(1.06); }
.gages li:hover .gage-icone svg { stroke: var(--blanc); }

/* ---------- Titres de bloc : petit trait rouge ---------- */
.page-accueil .bloc-tete { position: relative; border-bottom-color: var(--trait); }
.page-accueil .bloc-tete::after {
    content: ""; position: absolute; left: 0; bottom: -1px;
    width: 56px; height: 3px; background: var(--rouge);
}
.page-accueil .bloc-tete h2 { font-size: clamp(1.4rem, 2.8vw, 1.9rem); font-weight: 700; }
.bloc-tete-actions { display: flex; align-items: center; gap: 1rem; }
.bloc-court { padding-top: clamp(1.5rem, 3vw, 2.25rem); padding-bottom: clamp(1.5rem, 3vw, 2.25rem); }

/* ---------- Piste des dernières arrivées ---------- */
.piste-autos {
    display: flex; gap: 1.25rem;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
    scrollbar-width: none;
    /* un peu d'air pour que l'ombre et le soulèvement des cartes ne soient pas coupés */
    margin: -1rem -1rem 0; padding: 1rem 1rem 1.75rem;
}
.piste-autos::-webkit-scrollbar { display: none; }
.piste-autos > .carte-auto {
    flex: 0 0 calc((100% - 2 * 1.25rem) / 3); min-width: 0; scroll-snap-align: start;
}
.piste-commandes { display: inline-flex; gap: 0.4rem; }
.piste-bouton {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; padding: 0; border-radius: 50%;
    background: var(--blanc); color: var(--noir); border: 1px solid var(--trait-fort);
}
.piste-bouton:hover:not(:disabled) { background: var(--rouge); border-color: var(--rouge); color: var(--blanc); }
.piste-bouton:disabled { opacity: 0.35; cursor: default; background: var(--blanc); }
.piste-bouton svg {
    width: 18px; height: 18px; fill: none; stroke: currentColor;
    stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* Cartes : elles se soulèvent au survol */
.page-accueil .carte-auto {
    border-color: transparent; border-radius: 6px; overflow: hidden;
    box-shadow: 0 1px 2px rgba(16, 16, 16, 0.06), 0 0 0 1px var(--trait);
    transition: transform 280ms cubic-bezier(0.2, 0, 0.2, 1), box-shadow 280ms ease;
}
.page-accueil .carte-auto:hover {
    transform: translateY(-6px);
    box-shadow: var(--ombre-carte), 0 0 0 1px var(--trait-fort);
}
.page-accueil .carte-auto:hover .carte-auto-photo > img { transform: scale(1.07); }
.page-accueil .carte-auto .prix { color: var(--noir); transition: color var(--transition); }
.page-accueil .carte-auto:hover .prix { color: var(--rouge); }

.carte-auto-badges {
    position: absolute; top: 0.6rem; left: 0.6rem; z-index: 1;
    display: flex; gap: 0.35rem;
}
.carte-auto-badges .carte-auto-badge { position: static; }
.badge-nouveau {
    background: var(--rouge) !important; color: var(--blanc) !important;
    box-shadow: 0 4px 12px rgba(216, 31, 38, 0.4);
}

/* Fiche sans photo : la marque en grand sur fond sombre, plutôt que des hachures grises */
.sans-photo-carte {
    position: relative; flex-direction: column; gap: 0.5rem; overflow: hidden;
    color: var(--blanc);
    background:
        radial-gradient(120% 90% at 85% 110%, rgba(216, 31, 38, 0.55) 0%, rgba(216, 31, 38, 0) 55%),
        linear-gradient(160deg, #262626 0%, #121212 100%);
}
.sans-photo-carte::before {
    content: ""; position: absolute; left: -10%; right: -10%; bottom: 22%; height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
    transform: rotate(-8deg);
}
.sans-photo-marque {
    font-family: "Bricolage Grotesque", sans-serif; font-weight: 700;
    font-size: clamp(1.6rem, 3vw, 2.25rem); letter-spacing: -0.04em; line-height: 1;
    color: rgba(255, 255, 255, 0.92);
}
.sans-photo-carte .sans-photo-logo { filter: grayscale(1) brightness(0) invert(1); opacity: 0.85; }
.sans-photo-note {
    font-family: "Archivo", sans-serif; font-size: 0.6875rem; font-weight: 500;
    letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5);
}

/* ---------- Bandes de fond ---------- */
.bande-blanche {
    background: var(--blanc);
    padding: clamp(2.5rem, 5vw, 4rem) 0;
    border-top: 1px solid var(--trait); border-bottom: 1px solid var(--trait);
}

/* ---------- Défilé des marques ---------- */
.bande-marques { padding-bottom: clamp(2rem, 4vw, 3rem); }
.defile {
    position: relative; overflow: hidden;
    /* fondu sur les bords */
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.defile-piste { display: flex; width: max-content; animation: defiler 38s linear infinite; }
.defile:hover .defile-piste, .defile:focus-within .defile-piste { animation-play-state: paused; }
.defile-liste {
    list-style: none; margin: 0; padding: 0 0.3rem;
    display: flex; gap: 0.6rem;
}
.defile-liste .tuile-marque {
    width: 168px; aspect-ratio: 16 / 10; border-radius: 6px;
    background: var(--papier); border-color: transparent;
    transition: background 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}
.defile-liste .tuile-marque:hover {
    background: var(--blanc); transform: translateY(-3px);
    box-shadow: var(--ombre-carte), 0 0 0 1px var(--trait);
}
.defile-liste .tuile-marque-nom { font-size: 1.25rem; font-weight: 700; }
@keyframes defiler { to { transform: translateX(-50%); } }

/* Peu de marques : pas de défilé, liste centrée */
.defile.defile-fixe { -webkit-mask-image: none; mask-image: none; }
.defile.defile-fixe .defile-piste { animation: none; width: auto; justify-content: center; flex-wrap: wrap; }
.defile.defile-fixe .defile-copie { display: none; }
.defile.defile-fixe .defile-liste { flex-wrap: wrap; justify-content: center; padding: 0 1.5rem; }

/* ---------- Chiffres clés ---------- */
.bande-chiffres {
    position: relative; overflow: hidden; isolation: isolate;
    color: var(--blanc);
    background:
        radial-gradient(60% 120% at 100% 0%, rgba(216, 31, 38, 0.45) 0%, rgba(216, 31, 38, 0) 60%),
        radial-gradient(50% 100% at 0% 100%, rgba(216, 31, 38, 0.25) 0%, rgba(216, 31, 38, 0) 60%),
        var(--noir);
    clip-path: polygon(0 var(--biais), 100% 0, 100% calc(100% - var(--biais)), 0 100%);
    padding: calc(clamp(2.5rem, 5vw, 3.5rem) + var(--biais)) 0;
}
.chiffres {
    list-style: none; margin: 0; padding: 0;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.5rem;
}
.chiffres li { display: flex; flex-direction: column; gap: 0.35rem; padding-left: 1.1rem; border-left: 2px solid var(--rouge); }
.chiffre-valeur {
    font-family: "Bricolage Grotesque", sans-serif; font-weight: 700;
    font-size: clamp(2.5rem, 6vw, 4rem); letter-spacing: -0.05em; line-height: 1;
}
.chiffre-libelle { font-size: 0.9375rem; color: #bdbdbd; }

/* ---------- Appels atelier / rachat ---------- */
.duo-appels { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.appel {
    position: relative; overflow: hidden; isolation: isolate;
    display: flex; flex-direction: column; gap: 0.6rem; min-height: 280px;
    padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: 8px;
    color: var(--blanc); text-decoration: none;
    transition: transform 300ms cubic-bezier(0.2, 0, 0.2, 1), box-shadow 300ms ease;
}
.appel:hover { transform: translateY(-5px); box-shadow: 0 28px 50px -24px rgba(16, 16, 16, 0.6); }
.appel-atelier {
    background:
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 14px, transparent 14px 28px),
        linear-gradient(150deg, #2a2a2a 0%, #0d0d0d 100%);
}
.appel-vendre {
    background:
        radial-gradient(90% 120% at 100% 100%, #ff5148 0%, rgba(255, 81, 72, 0) 60%),
        linear-gradient(150deg, var(--rouge) 0%, var(--rouge-sombre) 100%);
}
.appel-sur {
    font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}
.appel-atelier .appel-sur { color: var(--rouge-vif); }
.appel-titre {
    font-family: "Bricolage Grotesque", sans-serif; font-weight: 700;
    font-size: clamp(1.5rem, 2.8vw, 2rem); letter-spacing: -0.035em; line-height: 1.08;
    max-width: 18ch;
}
.appel-texte { font-size: 0.9375rem; color: rgba(255, 255, 255, 0.78); max-width: 40ch; }
.appel-bouton {
    display: inline-flex; align-items: center; gap: 0.5rem; align-self: flex-start;
    margin-top: auto; padding: 0.75rem 1.25rem; border-radius: var(--rayon);
    font-weight: 600; font-size: 0.9375rem;
    background: var(--blanc); color: var(--noir);
    transition: gap 200ms ease;
}
.appel:hover .appel-bouton { gap: 0.85rem; }
.appel-bouton svg {
    width: 17px; height: 17px; fill: none; stroke: currentColor;
    stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.appel-vendre .appel-bouton { color: var(--rouge-sombre); }
/* Trois cartes sur une ligne : atelier, location, rachat */
.trio-appels { grid-template-columns: repeat(3, 1fr); }
.trio-appels .appel-titre { font-size: clamp(1.375rem, 2.2vw, 1.75rem); }
.appel-location {
    background:
        radial-gradient(80% 90% at 0% 100%, rgba(216, 31, 38, 0.45) 0%, rgba(216, 31, 38, 0) 65%),
        linear-gradient(150deg, #3a3a3a 0%, #161616 100%);
}
.appel-location .appel-sur { color: #ff9a9e; }
.appel-deco {
    position: absolute; z-index: -1; right: -2.5rem; bottom: -2.5rem;
    width: 220px; height: 220px; fill: none;
    stroke: rgba(255, 255, 255, 0.07); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round;
    transition: transform 600ms cubic-bezier(0.2, 0, 0.2, 1);
}
.appel:hover .appel-deco { transform: rotate(-12deg) scale(1.08); }

/* ---------- Bande sombre en biais ---------- */
.bande-biais {
    clip-path: polygon(0 var(--biais), 100% 0, 100% 100%, 0 100%);
    padding-top: calc(clamp(3rem, 6vw, 4.5rem) + var(--biais));
    background:
        radial-gradient(50% 80% at 0% 0%, rgba(216, 31, 38, 0.22) 0%, rgba(216, 31, 38, 0) 60%),
        var(--noir);
}
.page-accueil .etapes li { border-top-width: 3px; }
.page-accueil .etape-numero {
    font-size: 3rem; line-height: 1; margin-bottom: 0.9rem;
    color: transparent; -webkit-text-stroke: 1.5px var(--rouge-vif);
}

/* ---------- Avis ---------- */
.avis {
    display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: center;
    padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: 8px;
    background: var(--blanc); box-shadow: 0 0 0 1px var(--trait);
}
.avis-note { display: flex; flex-direction: column; align-items: center; gap: 0.15rem; padding-right: 2rem; border-right: 1px solid var(--trait); }
.avis-chiffre {
    font-family: "Bricolage Grotesque", sans-serif; font-weight: 700;
    font-size: 3rem; letter-spacing: -0.05em; line-height: 1;
}
.avis-etoiles { color: #f5b400; letter-spacing: 0.1em; font-size: 1.05rem; }
.avis-source { font-size: 0.75rem; color: var(--gris); }
.avis-texte h2 { margin-bottom: 0.4rem; }
.avis-texte p { color: var(--gris); margin: 0; max-width: 56ch; }

/* ---------- Infos pratiques ---------- */
.bande-infos { border-bottom: none; }
.infos { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
@media (min-width: 981px) {
    .infos:has(> :nth-child(3)) { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); }
}
.info-carte {
    display: flex; flex-direction: column; gap: 0.85rem;
    padding: 1.5rem; border-radius: 8px; background: var(--papier);
}
.info-tete { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap; }
.info-tete h3 { font-size: 1.1875rem; font-weight: 700; }
.horaires-semaine { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.horaires-semaine th, .horaires-semaine td { padding: 0.4rem 0.5rem; text-align: left; border-bottom: 1px solid var(--trait); }
.horaires-semaine th { font-weight: 400; color: var(--gris); width: 30%; }
.horaires-semaine td { font-weight: 500; }
.horaires-semaine tr:last-child th, .horaires-semaine tr:last-child td { border-bottom: none; }
.horaires-semaine tr.aujourdhui th, .horaires-semaine tr.aujourdhui td {
    background: var(--blanc); color: var(--noir); font-weight: 600;
}
.horaires-semaine tr.aujourdhui th { box-shadow: inset 3px 0 0 var(--rouge); }
.info-note { font-size: 0.8125rem; color: var(--gris); margin: 0; }
.info-adresse { font-style: normal; line-height: 1.6; }
.info-liens { display: flex; flex-direction: column; gap: 0.2rem; margin: 0; }
.info-liens a { text-underline-offset: 3px; }
.info-tel {
    font-family: "Bricolage Grotesque", sans-serif; font-weight: 700;
    font-size: 1.375rem; letter-spacing: -0.03em; text-decoration: none;
}
.info-tel:hover { color: var(--rouge); }
.info-itineraire, .info-alerte .bouton {
    display: inline-flex; align-items: center; gap: 0.45rem; align-self: flex-start; margin-top: auto;
}
.info-itineraire svg, .info-alerte .bouton svg {
    width: 17px; height: 17px; fill: none; stroke: currentColor;
    stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.info-alerte { background: var(--noir); color: var(--papier); }
.info-alerte h3 { color: var(--blanc); }
.info-alerte p { color: var(--gris-clair); font-size: 0.9375rem; margin: 0; }
.info-alerte .bouton { background: var(--rouge); border-color: var(--rouge); color: var(--blanc); }
.info-alerte .bouton:hover { background: var(--rouge-vif); border-color: var(--rouge-vif); }

/* ---------- Apparition au défilement ----------
   accueil.js n'ajoute .a-reveler qu'aux éléments situés sous la ligne de
   flottaison : sans JavaScript, ou pour le haut de page, rien n'est masqué. */
.a-reveler {
    opacity: 0; transform: translateY(28px);
    transition: opacity 700ms cubic-bezier(0.2, 0, 0.2, 1), transform 700ms cubic-bezier(0.2, 0, 0.2, 1);
    transition-delay: calc(var(--i, 0) * 90ms);
}
.a-reveler.revele { opacity: 1; transform: none; }

@media (prefers-reduced-motion: no-preference) {
    .page-accueil .accroche.avec-photo .accroche-fond img {
        animation: kenburns 26s ease-in-out infinite alternate;
        transform-origin: 60% 50%; will-change: transform;
    }
    .page-accueil .accroche-trace path.fin {
        stroke-dasharray: 1700; stroke-dashoffset: 1700;
        animation: tracer 2.6s cubic-bezier(0.3, 0, 0.2, 1) 0.3s forwards;
    }
    .page-accueil .accroche-trace path:not(.fin) { animation: glisser-trace 1.4s cubic-bezier(0.2, 0, 0.2, 1) backwards; }
}
@media (prefers-reduced-motion: reduce) {
    .defile-piste { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
    .defile-copie { display: none; }
    .defile { -webkit-mask-image: none; mask-image: none; }
    .defile-liste { flex-wrap: wrap; justify-content: center; }
    .badge-point::after { animation: none !important; display: none; }
    .page-accueil .carte-auto, .appel, .appel-deco, .gage-icone { transition: none; }
    .page-accueil .carte-auto:hover, .appel:hover { transform: none; }
    .piste-autos { scroll-behavior: auto; }
}

/* ---------- Adaptatif ---------- */
@media (max-width: 980px) {
    .page-accueil .accroche.avec-photo .accroche-fond { width: 100%; }
    .piste-autos > .carte-auto { flex-basis: calc((100% - 1.25rem) / 2); }
    .duo-appels, .trio-appels { grid-template-columns: 1fr; }
    .appel { min-height: 0; }
    .avis { grid-template-columns: 1fr; text-align: left; gap: 1.25rem; }
    .avis-note { flex-direction: row; align-items: baseline; gap: 0.6rem; padding: 0 0 1.25rem; border-right: none; border-bottom: 1px solid var(--trait); justify-content: flex-start; }
    .avis .bouton { justify-self: start; }
}
@media (max-width: 680px) {
    .page-accueil { --biais: 24px; }
    .page-accueil .recherche-carte { margin-top: -2.5rem; }
    .piste-autos { margin: -1rem -1rem 0; padding: 1rem 1rem 1.5rem; gap: 0.75rem; scroll-padding-inline: 1rem; }
    .piste-autos > .carte-auto { flex-basis: 82%; }
    .piste-commandes { display: none; }
    .page-accueil .carte-auto:hover { transform: none; }
    .defile-liste .tuile-marque { width: 132px; }
    .chiffres { grid-template-columns: 1fr 1fr; gap: 1.5rem 1rem; }
    .chiffre-valeur { font-size: 2.5rem; }
    .page-accueil .etape-numero { font-size: 2.25rem; }
    .page-accueil .gages li { margin: -0.5rem; padding: 0.5rem; }
    .bloc-tete-actions { gap: 0.5rem; }
}

/* ---------- En-tête sur téléphone ----------
   Les cinq libellés côte à côte dépassaient la largeur d'un téléphone
   (défilement horizontal sur tout le site) : l'icône passe au-dessus du libellé. */
@media (max-width: 520px) {
    .nav { width: 100%; justify-content: space-between; }
    .nav a { flex-direction: column; gap: 0.15rem; padding: 0.35rem 0.4rem; }
    .nav a span { margin-left: 0 !important; font-size: 0.6875rem; }
}

/* ==========================================================================
   Deux adresses (garage + showroom) et réseaux sociaux
   ========================================================================== */
.sites { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0.75rem; }
.site-adresse {
    display: flex; flex-direction: column; gap: 0.35rem;
    padding: 0.9rem 1rem; background: var(--blanc);
    border: 1px solid var(--trait); border-left: 3px solid var(--rouge); border-radius: 4px;
}
.site-nom {
    margin: 0; font-family: "Bricolage Grotesque", sans-serif;
    font-weight: 700; font-size: 1rem; letter-spacing: -0.02em;
}
.site-adresse address { font-style: normal; font-size: 0.9375rem; line-height: 1.5; color: var(--noir-doux); }
.site-itineraire {
    display: inline-flex; align-items: center; gap: 0.35rem; align-self: flex-start;
    margin-top: 0.15rem; font-size: 0.8125rem; font-weight: 600; color: var(--rouge);
    text-decoration: none;
}
.site-itineraire:hover { text-decoration: underline; text-underline-offset: 3px; }
.site-itineraire svg, .reseau svg {
    width: 15px; height: 15px; fill: none; stroke: currentColor;
    stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
}
/* Sur la page contact, au-dessus des coordonnées */
.page-texte > .sites { margin: 1.75rem 0 0; }
.page-texte > .sites + .coordonnees { margin-top: 1rem; }
.page-texte > .reseaux { margin: 1.25rem 0 0; }

.reseaux { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; }
.reseau {
    display: inline-flex; align-items: center; gap: 0.35rem;
    padding: 0.4rem 0.8rem; border-radius: 100px;
    font-size: 0.8125rem; font-weight: 600; text-decoration: none;
    color: var(--noir); background: var(--blanc); border: 1px solid var(--trait-fort);
    transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.reseau:hover { background: var(--rouge); border-color: var(--rouge); color: var(--blanc); }

/* Dans le pied sombre */
.pied .reseaux { margin-top: 1rem; }
.pied .reseau { color: var(--papier); background: #222; border-color: #3a3a3a; }
.pied .reseau:hover { background: var(--rouge); border-color: var(--rouge); color: var(--blanc); }
.pied-sites { display: flex; flex-direction: column; gap: 0.25rem; }
.pied-sites p { margin-bottom: 0.6rem; }
.pied-site-nom { color: var(--blanc); font-weight: 600; }

/* Sur l'accueil, carte « Nos deux adresses » */
.info-carte .sites { grid-template-columns: 1fr; gap: 0.6rem; }
/* .pied-logo svg vise le logo : on rend aux petites icônes leur taille */
.pied-logo .reseau svg { display: inline-block; width: 15px; height: 15px; margin: 0; }

/* ---------- Location : page d'attente avant l'ouverture du service ---------- */
.location-attente h1 { max-width: 18ch; }
.location-attente-date {
    display: inline-flex; align-items: center; gap: 0.55rem;
    margin: 1.75rem 0 0; padding: 0.55rem 1rem 0.55rem 0.85rem;
    border: 1px solid #3a3a3a; border-radius: 100px;
    font-size: 0.875rem; color: var(--gris-clair); background: rgba(255, 255, 255, 0.04);
}
.location-attente-date strong { color: var(--blanc); font-weight: 600; }
.location-attente-date svg {
    width: 17px; height: 17px; flex: none;
    fill: none; stroke: var(--rouge); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.page-location .gages .gage-icone svg { margin: 0; width: 23px; height: 23px; }
.location-attente-contact { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.invitation .location-attente-contact .bouton-fantome {
    background: transparent; color: var(--blanc); border-color: #4a4a4a;
}
.invitation .location-attente-contact .bouton-fantome:hover {
    background: var(--blanc); color: var(--noir); border-color: var(--blanc);
}

/* ---------- Location : catalogue public ---------- */
.accroche.accroche-courte { padding: clamp(2.5rem, 6vw, 4rem) 0; }
.accroche-courte h1 { max-width: 20ch; }
.bandeau-reservation {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap;
    padding: 1.1rem 1.4rem; background: var(--noir); color: var(--papier);
}
.bandeau-reservation p { margin: 0; max-width: 62ch; font-size: 0.9375rem; }
.bandeau-reservation strong { color: var(--blanc); }
.bandeau-reservation-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.puce.active { background: var(--noir); color: var(--blanc); border-color: var(--noir); }
.grille-location { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.grille-location .carte-auto h3 { margin: 0; }
.grille-location .carte-auto-badges { position: absolute; top: 0.6rem; left: 0.6rem; display: flex; gap: 0.35rem; }
.equipements-carte {
    list-style: none; padding: 0; margin: -0.25rem 0 1rem; display: flex; flex-wrap: wrap; gap: 0.35rem;
}
.equipements-carte li {
    font-size: 0.75rem; padding: 0.1rem 0.5rem; border: 1px solid var(--trait); border-radius: 100px; color: var(--gris);
}
.par-jour { font-size: 0.8125rem; font-weight: 500; color: var(--gris); letter-spacing: 0; margin-left: 0.15rem; }
.bouton.bouton-mini-public { padding: 0.5rem 0.9rem; font-size: 0.875rem; min-height: 40px; }
.promo-fin { margin: 0.5rem 0 0; font-size: 0.75rem; color: var(--rouge-sombre); font-weight: 600; }
.note-location { margin-top: 1.5rem; font-size: 0.8125rem; color: var(--gris); }
@media (max-width: 980px) { .grille-location { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .grille-location { grid-template-columns: minmax(0, 1fr); } }
