/* Inspiration « Le Garage » : Garage du Pont-Claireau, garage indépendant imaginaire à Avallon.
   Direction : docs/vitrines/garage.md, « la signalisation temporaire ».
   Overpass (Delve Fonts pour Red Hat, OFL), dessinée d'après l'alphabet des panneaux routiers,
   et Overpass Mono pour ce qui se lit comme un document rempli : prix, horaires, cotes.
   Fond gris de sol d'atelier, texte gomme, et une seule couleur vive : le jaune des panneaux
   de travaux, qui porte des surfaces entières. Un seul rayon, 10 px. Ni ombre, ni dégradé.
   Mise en page en requêtes de conteneur (.exemple-cadre) : l'aperçu « téléphone » du cadre
   AC reste juste. */
@font-face{font-family:'Overpass';font-style:normal;font-weight:100 900;font-display:swap;src:url('../polices/overpass-latin-wght-normal.woff2') format('woff2')}
@font-face{font-family:'Overpass Mono';font-style:normal;font-weight:300 700;font-display:swap;src:url('../polices/overpass-mono-latin-wght-normal.woff2') format('woff2')}
.inspi--garage{background:#e4e6e7}
.gr{--gr-beton:#e4e6e7;--gr-dalle:#f5f6f6;--gr-joint:#aeb4b6;--gr-gomme:#15181a;--gr-graphite:#474e51;--gr-balise:#f5c518;--gr-fonte:#6f777b;
  --marge:clamp(1.125rem,5cqi,4rem);--large:78rem;--bord:max(var(--marge),calc((100cqi - var(--large)) / 2));
  --pas:clamp(3.5rem,9cqi,7rem);--rayon:10px;--vif:cubic-bezier(.16,1,.3,1);position:relative;overflow-wrap:break-word;
  font-family:'Overpass','Segoe UI',system-ui,sans-serif;font-weight:400;font-size:1.0625rem;line-height:1.55;
  color:var(--gr-gomme);background:var(--gr-beton);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
.gr h1,.gr h2{margin:0;font-weight:800;letter-spacing:-.022em;text-wrap:balance}
.gr h1{font-size:clamp(2.375rem,7cqi,4.25rem);line-height:1}
.gr h2{font-size:clamp(1.75rem,4cqi,2.75rem);line-height:1.06}
.gr h3{margin:0;font-size:1.1875rem;font-weight:700;line-height:1.25}
.gr :where(p,figure,dl,dd,address){margin:0;font-style:normal}
.gr :where(ul,ol){list-style:none;margin:0;padding:0}
.gr :where(a){color:inherit;text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:.2em}
.gr :focus-visible{outline:3px solid var(--gr-gomme);outline-offset:3px;border-radius:var(--rayon)}
.gr ::selection{background:var(--gr-gomme);color:var(--gr-balise)}
.gr img{display:block;width:100%;height:auto;border-radius:var(--rayon);background:var(--gr-joint)}
.gr-cache{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.gr-chiffres{font-family:'Overpass Mono',ui-monospace,monospace;font-variant-numeric:tabular-nums;letter-spacing:-.01em;word-spacing:-.25em}

/* Crochets de structure : la page, le genre de bloc. */
.gr--accueil,.gr--carrosserie,.gr--entretien,.gr--mentions,.gr--pratique,.gr--rendez-vous,.gr--tarifs{overflow-wrap:break-word}
.gr-devis,.gr-formulaire,.gr-liste,.gr-metiers,.gr-tete--image,.gr-texte--paysage{min-width:0}

/* Le panneau : jaune, texte gomme, et le liseré noir intérieur des panneaux de travaux. */
.gr-panneau,.gr-tarifs .gr-bloc-corps,.gr-cote--limite{position:relative;border-radius:var(--rayon);background:var(--gr-balise);color:var(--gr-gomme)}
.gr-panneau::before,.gr-tarifs .gr-bloc-corps::before{content:'';position:absolute;inset:7px;border:2px solid var(--gr-gomme);border-radius:5px;pointer-events:none}

/* Le seul appel à l'action : un petit panneau. Il s'enfonce d'un pixel sous le doigt. */
.gr-bouton{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 1.375rem;border:2px solid var(--gr-gomme);
  border-radius:var(--rayon);background:var(--gr-balise);color:var(--gr-gomme);font:inherit;font-weight:700;font-size:1.0625rem;line-height:1.1;
  text-decoration:none;white-space:nowrap;cursor:pointer;transition:background-color .2s var(--vif),color .2s var(--vif),transform .15s var(--vif)}
.gr-bouton:hover{background:var(--gr-gomme);color:var(--gr-balise)}
.gr-bouton:active{transform:translateY(1px)}
.gr-bouton--sombre{background:var(--gr-gomme);color:var(--gr-dalle)}
.gr-bouton--sombre:hover{background:var(--gr-dalle);color:var(--gr-gomme)}
.gr-bouton--discret{min-height:44px;padding:0 1rem;background:var(--gr-dalle);font-weight:600;font-size:1rem}
.gr-bouton--discret:hover,.gr-bouton--discret[aria-pressed="true"]{background:var(--gr-gomme);color:var(--gr-dalle)}
.gr-lien{font-weight:700;text-decoration-thickness:2px;transition:background-color .2s var(--vif)}
.gr-lien:hover{background:var(--gr-balise)}
.gr-suite{margin-top:1.5rem}

/* En-tête. Sur un écran étroit, « Menu » mène à la liste complète du pied : rien à ouvrir,
   rien qui dépende d'un script. */
.gr-entete{display:flex;align-items:center;justify-content:space-between;gap:.5rem 1.5rem;padding:.75rem var(--bord)}
.gr-logo{display:flex;flex-direction:column;min-width:0;min-height:48px;justify-content:center;text-decoration:none;line-height:1.1}
.gr-logo-nom{font-weight:800;font-size:1rem;letter-spacing:-.015em;overflow-wrap:normal}
.gr-logo-metier{display:none;font-size:.875rem;color:var(--gr-graphite)}
.gr-nav{display:none}
.gr-nav ul{display:flex;gap:.25rem clamp(1rem,2cqi,1.75rem)}
.gr-nav a{display:inline-flex;align-items:center;min-height:48px;font-weight:500;white-space:nowrap;text-decoration:none;
  border-bottom:3px solid transparent;transition:border-color .2s var(--vif)}
.gr-nav a:hover,.gr-nav a[aria-current]{border-bottom-color:var(--gr-gomme)}
.gr-entete-actions{display:flex;align-items:center;gap:.25rem;flex:none}
.gr-menu-lien{display:inline-flex;align-items:center;min-height:48px;padding:0 .75rem;font-weight:600;text-decoration:none}
.gr-bouton--entete{min-height:44px;padding:0 .75rem;font-size:.9375rem}
.gr-bouton--entete[aria-current]{background:var(--gr-gomme);color:var(--gr-balise)}

/* L'ouverture : le panneau, puis la photographie de l'atelier. Large, ils se partagent la ligne. */
.gr-ouverture{display:grid;gap:.75rem;padding:.25rem var(--marge) 0}
.gr-panneau{display:grid;gap:1.125rem;align-content:center;padding:clamp(2rem,7cqi,4rem) clamp(1.5rem,6cqi,3.75rem)}
.gr-ouverture h1{font-size:clamp(2.5rem,10.5cqi,3.75rem);line-height:.98}
.gr-chapo{font-size:1.1875rem;font-weight:500;line-height:1.45;max-width:33rem;text-wrap:pretty}
.gr-ouverture-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem 1.5rem;margin-top:.5rem}
.gr-tel{font-weight:700;font-size:1.1875rem;white-space:nowrap;text-decoration-thickness:2px}
.gr .gr-ouverture-image{aspect-ratio:3/2;object-fit:cover}

/* Tête des autres pages. */
.gr-tete{padding:clamp(1.75rem,5cqi,3.5rem) var(--bord) 0}
.gr-tete-texte{display:grid;gap:1.125rem;max-width:50rem}
.gr-tete .gr-chapo{font-size:1.25rem;max-width:38rem}
.gr-tete-image{margin-top:clamp(1.75rem,4cqi,2.75rem)}
.gr-tete-image img{aspect-ratio:5/2;object-fit:cover}

/* Blocs. */
.gr-bloc{padding:var(--pas) var(--bord) 0}
.gr-bloc>h2{max-width:22ch;margin-bottom:clamp(1.5rem,3.4cqi,2.25rem)}
.gr-bloc-corps>*+*{margin-top:1.25rem}
.gr-intro{font-size:1.1875rem;font-weight:500;line-height:1.5;max-width:38rem;text-wrap:pretty}
.gr-note{font-size:.9375rem;color:var(--gr-graphite);max-width:42rem}
.gr-figure--paysage img{aspect-ratio:3/2;object-fit:cover}
.gr-figure--portrait img{aspect-ratio:2/3;object-fit:cover}

/* Trois métiers : le premier en grand, les deux autres en lignes. */
.gr-metiers-liste{display:grid;gap:clamp(1.75rem,4cqi,2.5rem)}
.gr-metiers-liste li{display:grid;gap:1rem;align-content:start}
.gr-metier-texte{display:grid;gap:.5rem}
.gr-metier-texte p{max-width:34rem}
.gr-metier-texte h3{font-size:1.375rem}

/* Le disque en volume : la photographie est le repli ; la toile la recouvre une fois rendue. */
.gr-usure{display:grid;gap:clamp(1.75rem,4cqi,3rem);align-items:center}
.gr-usure-texte{display:grid;gap:1.125rem}
.gr-usure-texte p{max-width:32rem}
.gr-cotes{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:.5rem}
.gr-cotes>div{display:grid;gap:.25rem;align-content:start;min-width:9.5rem;padding:.875rem 1rem;border:2px solid var(--gr-gomme);border-radius:var(--rayon)}
.gr-cotes dt{font-size:.9375rem;font-weight:600;line-height:1.25;max-width:11rem}
.gr-cotes dd{font-size:2.25rem;font-weight:700;line-height:1}
.gr-usure-figure{position:relative;aspect-ratio:4/3;overflow:hidden;border-radius:var(--rayon);background:var(--gr-dalle)}
.gr-usure-figure img{height:100%;object-fit:cover;border-radius:0}
.gr-usure-toile{position:absolute;inset:0;width:100%;height:100%;display:block;touch-action:pan-y;cursor:grab}
.gr-usure-toile:active{cursor:grabbing}
.gr-usure-toile[hidden],.gr-usure-commandes[hidden]{display:none}
.gr-usure-commandes{position:absolute;inset:.875rem;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;gap:.5rem;pointer-events:none}
.gr-usure-boutons{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:auto}
.gr-usure-commandes button{pointer-events:auto}
.gr-usure-aide{display:none;max-width:26rem;padding:.25rem .625rem;border-radius:var(--rayon);background:var(--gr-dalle);font-size:.9375rem;font-weight:500;line-height:1.35}

/* Textes, avec ou sans image. */
.gr-texte p{max-width:40rem;text-wrap:pretty}
.gr-texte p+p{margin-top:1rem}
.gr-texte--image{display:grid;gap:clamp(1.5rem,4cqi,3rem);align-items:center}
.gr-texte-corps>h2{max-width:20ch;margin-bottom:1.25rem}
.gr-texte--sobre{margin:var(--pas) var(--bord) 0;padding:clamp(1.5rem,4cqi,2.5rem);border-radius:var(--rayon);background:var(--gr-dalle)}
.gr-texte--sobre>h2{font-size:clamp(1.375rem,3cqi,1.75rem);margin-bottom:1rem}

/* Listes : des colonnes ; les étapes sont numérotées parce que c'est une vraie suite. */
.gr-elements{display:grid;gap:1.75rem clamp(1.5rem,4cqi,3rem);grid-template-columns:repeat(auto-fit,minmax(min(100%,20rem),1fr))}
.gr-elements li{display:grid;gap:.375rem;align-content:start}
.gr-elements p{max-width:32rem}
.gr-etapes .gr-elements{counter-reset:etape;gap:1.5rem clamp(1.25rem,3cqi,2.25rem)}
.gr-etapes li{counter-increment:etape;padding-top:1rem;border-top:2px solid var(--gr-gomme)}
.gr-etapes li::before{content:counter(etape);display:grid;place-items:center;width:2.5rem;height:2.5rem;margin-bottom:.5rem;border-radius:var(--rayon);
  background:var(--gr-balise);font-family:'Overpass Mono',ui-monospace,monospace;font-weight:700;font-size:1.25rem;line-height:1}
.gr-liste--courtoisie .gr-elements,.gr-liste--ordre .gr-elements{padding:clamp(1.5rem,4cqi,2.5rem);border-radius:var(--rayon);background:var(--gr-dalle)}

/* Les prix : deux tableaux sur un panneau. Le nom à gauche, le montant TTC à droite. */
.gr-tarifs .gr-bloc-corps{padding:clamp(1.75rem,5cqi,3rem) clamp(1.5rem,5cqi,3rem)}
.gr-tarifs .gr-intro{max-width:44rem}
.gr-grille{display:grid;gap:2rem clamp(2rem,5cqi,4rem);align-items:start}
.gr-table{width:100%;border-collapse:collapse}
.gr-table caption{padding-bottom:.5rem;font-weight:800;font-size:1.1875rem;text-align:left;border-bottom:2px solid var(--gr-gomme)}
.gr-table th{padding:.75rem 1rem .75rem 0;font-weight:600;text-align:left;vertical-align:top}
.gr-table td{padding:.75rem 0;font-weight:700;text-align:right;vertical-align:top;white-space:nowrap}
.gr-table tbody tr+tr{border-top:1px solid rgb(21 24 26/.28)}
.gr-contenu{display:block;font-size:.9375rem;font-weight:400;line-height:1.4}
.gr-tarifs .gr-note{color:var(--gr-gomme)}
.gr-tarifs .gr-lien:hover{background:var(--gr-dalle)}
.gr-tarifs :focus-visible{outline-offset:1px}

/* Le devis : deux cas, côte à côte. */
.gr-devis-cas{display:grid;gap:1.75rem clamp(2rem,5cqi,4rem)}
.gr-devis-cas>div{display:grid;gap:.5rem;align-content:start;padding-top:1rem;border-top:2px solid var(--gr-gomme)}
.gr-devis-cas p{max-width:34rem}

/* Les pièces issues de l'économie circulaire : le texte, puis les deux listes. */
.gr-pieces .gr-bloc-corps{padding:clamp(1.5rem,4cqi,2.75rem);border-radius:var(--rayon);background:var(--gr-dalle)}
.gr-pieces p{max-width:46rem}
.gr-pieces-texte{font-size:1.1875rem;font-weight:500;line-height:1.5}
.gr-pieces-listes,.gr-assistant-listes{display:grid;gap:1.75rem clamp(1.5rem,4cqi,3rem)}
.gr-pieces-listes h3,.gr-assistant-listes h3{margin-bottom:.75rem}
.gr-pieces-listes li,.gr-assistant-listes li{position:relative;padding-left:1.25rem;max-width:34rem}
.gr-pieces-listes li+li,.gr-assistant-listes li+li{margin-top:.5rem}
.gr-pieces-listes li::before,.gr-assistant-listes li::before{content:'';position:absolute;left:0;top:.58em;width:.5rem;height:.5rem;background:var(--gr-gomme)}

/* L'équipe, sans portrait : un nom, un rôle, une phrase, comme les lignes d'un planning. */
.gr-equipe-liste li{display:grid;gap:.25rem;padding:1.125rem 0;border-top:1px solid var(--gr-joint)}
.gr-equipe-liste li:first-child{border-top:2px solid var(--gr-gomme)}
.gr-equipe-liste h3{font-size:1.375rem}
.gr-role{font-weight:600;color:var(--gr-graphite)}
.gr-equipe-liste li p:last-child{max-width:38rem}
.gr-images-grille{display:grid;gap:1.75rem clamp(1.25rem,3cqi,2rem)}
.gr-figure figcaption{margin-top:.625rem;font-size:.9375rem}

/* Le gérant parle de son assistant : le paragraphe du catalogue, puis ses deux listes. */
.gr-assistant .gr-bloc-corps{padding:clamp(1.5rem,4cqi,3rem);border-radius:var(--rayon);background:var(--gr-dalle)}
.gr-assistant-texte{font-size:clamp(1.1875rem,2.3cqi,1.4375rem);line-height:1.45;font-weight:500;max-width:46rem;text-wrap:pretty}
.gr-assistant-listes{margin-top:2rem}

/* Horaires : le tableau, l'adresse, le numéro en grand. */
.gr-horaires-corps{display:grid;gap:2rem clamp(2rem,6cqi,5rem)}
.gr-table--horaires{max-width:34rem}
.gr-table--horaires tbody tr:first-child{border-top:2px solid var(--gr-gomme)}
.gr-table--horaires th{width:9.5rem}
.gr-table--horaires td{white-space:normal;font-weight:600;text-align:left}
.gr-horaires-contact{display:grid;gap:.875rem;align-content:start;min-width:0}
.gr-horaires-contact p{max-width:30rem}
.gr-horaires .gr-tel{font-size:clamp(1.5rem,3.1cqi,2.25rem);text-decoration:none}
.gr-horaires .gr-tel:hover{background:var(--gr-balise)}

/* Le rappel du rendez-vous, sur aplat gomme. */
.gr-appel{margin:var(--pas) var(--bord) 0;padding:clamp(2rem,6cqi,4rem) clamp(1.5rem,5cqi,3.75rem);border-radius:var(--rayon);
  background:var(--gr-gomme);color:var(--gr-dalle)}
.gr-appel>h2{max-width:18ch}
.gr-appel-texte{max-width:34rem;font-size:1.125rem}
.gr-appel-action{margin-top:1.75rem}
.gr-appel .gr-bouton--sombre{background:var(--gr-balise);color:var(--gr-gomme);border-color:var(--gr-balise)}
.gr-appel .gr-bouton--sombre:hover{background:var(--gr-dalle);border-color:var(--gr-dalle)}
.gr-appel :focus-visible,.gr-pied :focus-visible{outline-color:var(--gr-balise)}

/* Rendez-vous de démonstration. */
.gr-form,.gr-confirmation{max-width:46rem;padding:clamp(1.5rem,4cqi,2.75rem);border-radius:var(--rayon);background:var(--gr-dalle)}
.gr-form[hidden],.gr-confirmation[hidden]{display:none}
.gr-demo{font-weight:700}
.gr-champs{display:grid;gap:1.125rem 1.5rem;margin-top:1.5rem}
.gr-champ{display:grid;gap:.375rem}
.gr-champ label{font-weight:600}
.gr-champ input,.gr-champ select{width:100%;min-height:48px;padding:0 .875rem;border:2px solid var(--gr-graphite);border-radius:var(--rayon);
  background:var(--gr-dalle);color:var(--gr-gomme);font:inherit}
.gr-aide{margin-top:1.125rem;font-size:.9375rem;color:var(--gr-graphite)}
.gr-envoi{margin-top:1.5rem}
.gr-confirmation>*+*{margin-top:1rem}
.gr-confirmation h3{font-size:1.5rem}

/* Pied sur gomme. */
.gr-pied{display:grid;gap:2rem clamp(2rem,6cqi,5rem);margin-top:var(--pas);padding:clamp(2.5rem,7cqi,4.5rem) var(--bord) clamp(2rem,5cqi,3rem);
  background:var(--gr-gomme);color:var(--gr-dalle)}
.gr-pied-maison{display:grid;gap:.5rem;align-content:start}
.gr-pied-nom{font-weight:800;font-size:1.75rem;letter-spacing:-.022em;line-height:1.05}
.gr-pied-nav h2{margin-bottom:.75rem;font-size:1.0625rem;font-weight:600;letter-spacing:0;color:var(--gr-joint)}
.gr-pied-nav ul{display:grid;grid-template-columns:repeat(auto-fit,minmax(11rem,1fr));gap:0 1.5rem}
.gr-pied-nav a{display:inline-flex;align-items:center;min-height:44px;text-decoration:none}
.gr-pied-nav a:hover,.gr-pied-nav a[aria-current]{text-decoration:underline;text-decoration-color:var(--gr-balise);text-decoration-thickness:2px}
.gr-pied-fictif{font-size:.9375rem;color:var(--gr-joint);max-width:46rem}

@container exemple (min-width: 34rem){
  .gr-logo-metier{display:block}
  .gr-logo-nom{font-size:1.1875rem}
  .gr-bouton--entete{padding:0 1rem;font-size:1rem}
  .gr-champs{grid-template-columns:1fr 1fr}
  .gr-images-grille,.gr-pieces-listes,.gr-assistant-listes,.gr-devis-cas{grid-template-columns:1fr 1fr}
  .gr-usure-figure{aspect-ratio:3/2}
  .gr-metiers-liste li+li{grid-template-columns:minmax(0,2fr) minmax(0,3fr);align-items:center}
  .gr-equipe-liste li{grid-template-columns:minmax(0,2fr) minmax(0,3fr);gap:.25rem 2rem}
  .gr-equipe-liste li p:last-child{grid-column:2;grid-row:1 / span 2;align-self:center}
}
@container exemple (min-width: 56rem){
  .gr-ouverture{grid-template-columns:minmax(0,6fr) minmax(0,5fr);min-height:min(40rem,58cqi)}
  .gr .gr-ouverture-image{height:100%;aspect-ratio:auto}
  .gr-ouverture h1{font-size:clamp(3rem,5.4cqi,4.375rem)}
  .gr-usure{grid-template-columns:minmax(0,5fr) minmax(0,7fr)}
  .gr-usure-aide{display:block}
  .gr-texte--image{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .gr-texte--portrait{grid-template-columns:minmax(0,3fr) minmax(0,2fr)}
  .gr-metiers-liste{grid-template-columns:minmax(0,6fr) minmax(0,5fr);grid-template-rows:auto auto}
  .gr-metiers-liste li:first-child{grid-row:span 2}
  .gr-grille{grid-template-columns:minmax(0,4fr) minmax(0,7fr)}
  .gr-tarifs--extrait,.gr-equipe,.gr-horaires{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,8fr);gap:0 clamp(2rem,5cqi,4rem)}
  .gr-tarifs--extrait .gr-grille{grid-template-columns:1fr}
  .gr-horaires-corps{grid-template-columns:minmax(0,7fr) minmax(0,5fr)}
  .gr-appel{display:grid;grid-template-columns:minmax(0,6fr) minmax(0,5fr);gap:0 clamp(2rem,6cqi,5rem);align-items:end}
  .gr-appel>h2{margin-bottom:0;font-size:clamp(2.25rem,5cqi,3.5rem)}
  .gr-pied{grid-template-columns:minmax(0,4fr) minmax(0,7fr)}
  .gr-pied-fictif{grid-column:1 / -1}
}
@container exemple (min-width: 70rem){
  .gr-nav{display:block}
  .gr-menu-lien{display:none}
  .gr-etapes .gr-elements{grid-template-columns:repeat(4,minmax(0,1fr))}
}

/* Mouvement : bref, et seulement si le visiteur ne l'a pas refusé. Le contenu est visible
   par défaut ; les entrées liées au défilement ne s'appliquent que là où elles existent. */
@keyframes gr-arrive{from{opacity:0;transform:translateY(12px)}}
@media (prefers-reduced-motion:no-preference){
  .gr-panneau>*{animation:gr-arrive .6s var(--vif) both}
  .gr-panneau>:nth-child(2){animation-delay:.07s}
  .gr-panneau>:nth-child(3){animation-delay:.14s}
  @supports (animation-timeline:view()){
    .gr-corps img,.gr-bloc>h2{animation:gr-arrive linear both;animation-timeline:view();animation-range:entry 0% entry 40%}
  }
}
@media (prefers-reduced-motion:reduce){
  .gr *{transition:none}
}
