/* Garage Léal · « Démonter, trouver, remonter »
   Graphite de carter, aluminium froid, un seul accent : le rose du liquide de refroidissement. */

@font-face { font-family: "Tomorrow"; src: url(fonts/tomorrow-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Tomorrow"; src: url(fonts/tomorrow-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Albert Sans"; src: url(fonts/albert-sans-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Albert Sans"; src: url(fonts/albert-sans-latin-400-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Albert Sans"; src: url(fonts/albert-sans-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Albert Sans"; src: url(fonts/albert-sans-latin-800-normal.woff2) format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }

:root {
  --carter: #141619;
  --carter-2: #1D2024;
  --filet-sombre: rgba(233, 236, 238, .18);
  --trait: #E9ECEE;
  --gris: #9AA1A8;
  --alu: #D5D9DC;
  --alu-2: #E4E7E9;
  --encre: #121417;
  --encre-2: #454B52;
  --filet: rgba(18, 20, 23, .2);
  --g12: #E0457B;
  --g12-fonce: #A3204F;

  --plaque: "Tomorrow", "Arial Narrow", sans-serif;
  --texte: "Albert Sans", "Helvetica Neue", Arial, sans-serif;
  --gouttiere: clamp(1rem, 4vw, 2.5rem);
  --barre: 0px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: var(--encre-2) var(--alu); }
body { margin: 0; background: var(--alu); color: var(--encre); font: 400 1.0625rem/1.6 var(--texte); text-rendering: optimizeLegibility; }
::selection { background: var(--g12); color: var(--carter); }
svg, iframe { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--g12); outline-offset: 3px; }
h1, h2, h3, p, ol, ul, figure, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }
em { font-style: normal; color: var(--g12-fonce); font-weight: 600; }
.nw { white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.evitement { position: absolute; left: var(--gouttiere); top: -4rem; z-index: 20; background: var(--trait); color: var(--carter); padding: .6rem 1rem; font-weight: 600; }
.evitement:focus { top: .75rem; }
.cadre { max-width: 1180px; margin: 0 auto; padding: 0 var(--gouttiere); }

/* ——— En-tête ——— */
.tete {
  position: absolute; inset: 0 0 auto; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem var(--gouttiere); color: var(--trait);
}
.tete-nom { padding: .8rem 0; font: 500 .8rem/1.4 var(--plaque); letter-spacing: .22em; text-transform: uppercase; text-decoration: none; }
.tete-tel {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding: .5rem .9rem;
  font-weight: 600; font-size: .95rem; text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums;
  border: 1px solid rgba(233, 236, 238, .5);
  transition: background-color .2s, color .2s, border-color .2s;
}
.tete-tel:hover { background: var(--trait); color: var(--carter); border-color: var(--trait); }
.tete-tel-txt { display: none; margin-right: .3em; }

/* ——— Accueil : le plan qui se remonte ——— */
.accueil {
  background: var(--carter); color: var(--trait);
  min-height: 100svh; display: flex; align-items: center;
  padding: 5.5rem 0 2.5rem;
}
.accueil > .cadre { width: 100%; }
.nom {
  font: 600 clamp(2.5rem, 9.4vw, 7.25rem)/.95 var(--plaque);
  letter-spacing: .03em; text-transform: uppercase;
}
.lede { margin-top: 1rem; max-width: 40ch; font-size: clamp(1.1rem, 1.9vw, 1.35rem); line-height: 1.4; color: var(--gris); }
.lede, .chapo { text-wrap: pretty; }

.plan { margin: clamp(2rem, 5vw, 3.5rem) 0 0; }
.plan-svg { width: 100%; height: auto; overflow: visible; }
.plan-svg * { vector-effect: non-scaling-stroke; }
.axe { stroke: var(--gris); stroke-width: 1; stroke-dasharray: 22 6 3 6; }
.tube, .durite { fill: var(--carter); stroke: var(--trait); stroke-width: 1.5; }
.durite { stroke-width: 2; }
.strie { stroke: var(--trait); stroke-width: 1; opacity: .35; }
.bande { fill: var(--g12); stroke: var(--g12); stroke-width: 1.5; }
.rep { stroke: var(--gris); stroke-width: 1; }
.fente { stroke: var(--carter); stroke-width: 1.5; }
.num { fill: var(--trait); font: 500 26px var(--plaque); text-anchor: middle; }
.plan-pied {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .75rem 2rem;
  margin-top: 1.25rem; padding-top: .9rem; border-top: 1px solid var(--filet-sombre);
}
.legende { display: flex; flex-wrap: wrap; gap: .35rem 1.25rem; font-size: .9rem; color: var(--gris); }
.legende b { font: 500 .85rem var(--plaque); color: var(--trait); }
.geste { font: 500 clamp(.95rem, 1.5vw, 1.1rem)/1.3 var(--plaque); letter-spacing: .06em; text-transform: uppercase; }

.accueil-bas { display: grid; gap: 2rem; margin-top: clamp(2rem, 5vw, 3rem); }
.mot-client { font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.35; }
.mot-client q { font-style: italic; quotes: "«\202F" "\202F»"; }
.mot-client span { display: block; margin-top: .35rem; font-size: .9rem; color: var(--gris); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

.bloc-titre { border: 1px solid var(--filet-sombre); font-size: .95rem; align-self: end; }
.bloc-titre th, .bloc-titre td { padding: .6rem .85rem; border-bottom: 1px solid var(--filet-sombre); text-align: left; vertical-align: top; }
.bloc-titre tr:last-child > * { border-bottom: 0; }
.bloc-titre th { width: 6.5rem; font: 500 .72rem/1.9 var(--plaque); letter-spacing: .14em; text-transform: uppercase; color: var(--gris); border-right: 1px solid var(--filet-sombre); }
.bloc-titre td { font-variant-numeric: tabular-nums; }
.bloc-titre strong { font-weight: 600; }

/* ——— Boutons ——— */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 3.1rem;
  padding: .8rem 1.3rem; font-weight: 600; font-size: 1rem; line-height: 1.1; text-decoration: none;
  border: 1px solid transparent; transition: background-color .2s, color .2s, border-color .2s;
}
.btn-appel { background: var(--g12); color: var(--carter); font-variant-numeric: tabular-nums; }
.btn-appel:hover { background: var(--trait); }
.btn-trait { border-color: var(--trait); color: var(--trait); }
.btn-trait:hover { background: var(--trait); color: var(--carter); }
.btn-sombre { border-color: var(--encre); color: var(--encre); }
.btn-sombre:hover { background: var(--encre); color: var(--alu-2); }

/* ——— Titres et sections ——— */
.titre {
  font: 600 clamp(1.5rem, 3.6vw, 2.5rem)/1.15 var(--plaque);
  letter-spacing: .05em; text-transform: uppercase; text-wrap: balance;
  margin-bottom: 1.25rem;
}
.titre-clair { color: var(--trait); }
.chapo { max-width: 58ch; font-size: clamp(1.05rem, 1.7vw, 1.2rem); line-height: 1.55; color: var(--encre-2); }
section { scroll-margin-top: 1rem; }
.metier, .parle, .mots, .infos { padding: clamp(4rem, 10vw, 7.5rem) 0; }
.parle { background: var(--alu-2); }
.infos { background: var(--alu-2); }

/* Ce qu'on y fait réparer */
.lignes { margin-top: clamp(2.5rem, 5vw, 3.5rem); border-top: 1px solid var(--encre); }
.ligne { display: grid; gap: .6rem 2.5rem; padding: 1.6rem 0 1.75rem; border-bottom: 1px solid var(--encre); }
.ligne h3 { font-size: 1.3rem; font-weight: 600; line-height: 1.25; }
.ligne > p { max-width: 46ch; color: var(--encre-2); }
.preuves { display: grid; gap: 1rem; }
.preuves blockquote p { font-style: italic; font-size: 1.1rem; line-height: 1.45; }
.preuves blockquote p::before { content: "«\202F"; }
.preuves blockquote p::after { content: "\202F»"; }
.preuves footer { margin-top: .25rem; font-size: .9rem; color: var(--encre-2); }
.ligne em, .chapo em { color: var(--g12-fonce); }

/* Histoires (graphite) */
.histoires, .avis { background: var(--carter); color: var(--trait); padding: clamp(4rem, 10vw, 7.5rem) 0; }
.histoires em { color: var(--g12); }
.histoires-liste { display: grid; gap: 0 3rem; margin-top: clamp(1.5rem, 4vw, 2.5rem); }
.histoires-liste li { padding: 1.6rem 0 1.9rem; border-top: 1px solid var(--filet-sombre); }
.histoires-liste li > p:first-child { font-size: clamp(1.15rem, 1.8vw, 1.35rem); line-height: 1.45; max-width: 36ch; }
.qui { margin-top: .9rem; font: 500 .78rem/1.4 var(--plaque); letter-spacing: .14em; text-transform: uppercase; color: var(--gris); }

/* Qui vous en a parlé */
.voix-liste { display: grid; gap: 0 3rem; margin-top: clamp(2rem, 5vw, 3rem); }
.voix { padding: 1.4rem 0 1.6rem; border-top: 1px solid var(--filet); }
.voix blockquote p { font-style: italic; font-size: 1.15rem; line-height: 1.45; max-width: 44ch; }
.voix blockquote p::before { content: "«\202F"; }
.voix blockquote p::after { content: "\202F»"; }
.voix figcaption { margin-top: .5rem; font-size: .9rem; color: var(--encre-2); }
.voix-grande blockquote p { font-size: clamp(1.45rem, 3vw, 2.2rem); line-height: 1.22; max-width: 30ch; }

/* Les mots qui reviennent : un relevé */
.releve { margin-top: clamp(2rem, 5vw, 3rem); border-top: 1px solid var(--encre); }
.releve thead th { padding: .5rem 0; font: 500 .72rem var(--plaque); letter-spacing: .14em; text-transform: uppercase; color: var(--encre-2); text-align: left; border-bottom: 1px solid var(--encre); }
.releve td, .releve tbody th { padding: .55rem 0 .6rem; border-bottom: 1px solid var(--filet); text-align: left; vertical-align: baseline; }
.releve td { width: 5.5rem; font: 600 clamp(1.6rem, 3.4vw, 2.6rem)/1 var(--plaque); font-variant-numeric: tabular-nums; }
.releve tbody th { font-weight: 400; font-size: clamp(1.4rem, 3.4vw, 2.6rem); line-height: 1.1; letter-spacing: -.015em; }
.releve .premier td { color: var(--g12-fonce); }

/* Avis (graphite) */
.avis .chapo { color: var(--gris); }
.avis-liste { margin-top: clamp(2rem, 5vw, 3rem); }
.avis-liste figure { break-inside: avoid; padding: 1.4rem 0 1.6rem; border-top: 1px solid var(--filet-sombre); }
.avis-liste blockquote p { font-style: italic; font-size: 1.12rem; line-height: 1.5; max-width: 48ch; }
.avis-liste blockquote p::before { content: "«\202F"; }
.avis-liste blockquote p::after { content: "\202F»"; }
.avis-liste figcaption { margin-top: .6rem; font-weight: 600; font-size: .95rem; }
.avis-liste figcaption span { margin-left: .5rem; font-weight: 400; color: var(--gris); font-variant-numeric: tabular-nums; }

/* Horaires et adresse */
.infos-grille { display: grid; gap: 3rem; margin-top: 1rem; }
.etat { font-weight: 600; font-size: 1.1rem; margin-bottom: 1rem; }
.etat span { font-weight: 400; color: var(--encre-2); }
.horaires table { font-variant-numeric: tabular-nums; }
.horaires th, .horaires td { padding: .65rem .5rem .65rem 0; border-top: 1px solid var(--filet); text-align: left; font-weight: 400; }
.horaires th { font-weight: 600; }
.horaires tr:last-child > * { border-bottom: 1px solid var(--filet); }
.horaires .ferme td { color: var(--encre-2); }
.horaires .auj > * { font-weight: 800; }
.horaires .auj th::after { content: " · aujourd’hui"; font-weight: 400; font-size: .875rem; color: var(--encre-2); }
.adresse address { font-style: normal; font-size: 1.2rem; font-weight: 500; line-height: 1.5; }
.tel { margin: 1rem 0 .75rem; }
.tel a {
  display: inline-block; padding: .3em 0 .15em; border-bottom: 3px solid var(--g12);
  font: 600 clamp(1.5rem, 3.4vw, 2.1rem)/1.2 var(--plaque); letter-spacing: .03em; text-decoration: none; white-space: nowrap;
}
.tel a:hover { color: var(--g12-fonce); }
.acces { max-width: 44ch; margin-top: .5rem; color: var(--encre-2); }
.adresse .btn { margin-top: 1.5rem; }
.carte { width: 100%; height: clamp(300px, 40vw, 440px); margin-top: clamp(2.5rem, 5vw, 4rem); border: 1px solid var(--encre); filter: grayscale(1) contrast(1.02); }

/* ——— Pied ——— */
.pied { background: var(--carter); color: var(--trait); padding: 3.5rem 0 calc(3.5rem + var(--barre)); }
.pied-grille { display: grid; gap: 1rem; }
.pied-nom { font: 600 clamp(1.8rem, 5vw, 2.8rem)/1 var(--plaque); letter-spacing: .05em; text-transform: uppercase; }
.pied-tel { display: inline-block; padding: .55rem 0; font: 500 clamp(1.3rem, 3vw, 1.7rem) var(--plaque); letter-spacing: .03em; text-decoration: none; border-bottom: 2px solid var(--g12); }
.pied-petit { font-size: .9rem; color: var(--gris); max-width: 70ch; }

/* ——— Barre fixe mobile ——— */
.barre-mobile {
  position: fixed; inset: auto 0 0; z-index: 10; display: grid; grid-template-columns: 1fr 1fr;
  padding-bottom: env(safe-area-inset-bottom); background: var(--carter); border-top: 1px solid var(--carter-2);
}
.barre-mobile a { display: flex; align-items: center; justify-content: center; min-height: 3.5rem; font-weight: 600; text-decoration: none; }
.barre-appel { background: var(--g12); color: var(--carter); }
.barre-route { color: var(--trait); }

@media (max-width: 899px) {
  :root { --barre: 3.5rem; }
  .num { font-size: 34px; }
  .accueil { overflow-x: clip; }
  .plan-svg { width: 150%; max-width: none; margin-left: -25%; }
  .horaires .auj th::after { content: none; }
  .legende { gap: .3rem .9rem; }
}
@media (min-width: 560px) { .tete-tel-txt { display: inline; } }
@media (min-width: 760px) {
  .ligne { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1.2fr); align-items: baseline; }
  .infos-grille { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .pied-grille { grid-template-columns: auto auto 1fr; column-gap: 3rem; align-items: end; }
}
@media (min-width: 900px) {
  .barre-mobile { display: none; }
  .accueil-bas { grid-template-columns: minmax(0, 1fr) minmax(0, 26rem); gap: 4rem; align-items: end; }
  .histoires-liste { grid-template-columns: repeat(3, 1fr); }
  .voix-liste { grid-template-columns: 1fr 1fr; }
  .voix-grande { grid-column: 1 / -1; }
  .avis-liste { columns: 2; column-gap: 4rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
