@font-face {
  font-family: "Zalando Sans";
  src: url("fonts/zalando-sans-latin-wdth-normal.woff2") format("woff2");
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-display: swap;
}

:root {
  --laque: #111316;
  --laque-2: #1c1f23;
  --blanc: #eceeee;
  --blanc-doux: #a6abaf;
  --appret: #ccd0d2;
  --appret-2: #e3e6e7;
  --encre: #121417;
  --encre-doux: #454a50;
  --ruban: #35c072;
  --ruban-fonce: #2aa862;
  --filet-clair: rgba(236, 238, 238, .18);
  --gouttiere: clamp(1rem, 4vw, 2.5rem);
  --barre: 0px;
  --police: "Zalando Sans", system-ui, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: var(--encre-doux) var(--appret-2); }
body {
  margin: 0;
  background: var(--appret-2);
  color: var(--encre);
  font: 400 1.0625rem/1.6 var(--police);
  font-stretch: 100%;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--ruban); color: var(--encre); }
img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--ruban); outline-offset: 3px; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }

.saut {
  position: absolute; left: var(--gouttiere); top: -4rem; z-index: 20;
  background: var(--blanc); color: var(--laque); padding: .6rem 1rem; font-weight: 600;
}
.saut:focus { top: .75rem; }
.visuel-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.insecable { white-space: nowrap; }
.mot { color: var(--ruban); }

.cadre { max-width: 1180px; margin: 0 auto; padding: 0 var(--gouttiere); }
/* filet de séparation dans une section qui continue la précédente */
.suite { border-top: 1px solid rgba(18, 20, 23, .2); }
.suite--clair { border-top-color: var(--filet-clair); }

/* ——— 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(--blanc);
}
.tete__nom {
  font-stretch: 125%; font-weight: 600; font-size: .78rem; line-height: 1.45;
  letter-spacing: .22em; text-transform: uppercase; text-decoration: none;
}
.tete__tel {
  font-weight: 600; font-size: .95rem; text-decoration: none; white-space: nowrap;
  display: inline-flex; align-items: center; min-height: 2.75rem;
  padding: .5rem .85rem; border: 1px solid rgba(236, 238, 238, .55);
  transition: background-color .2s, color .2s, border-color .2s;
}
.tete__tel:hover { background: var(--blanc); color: var(--laque); border-color: var(--blanc); }
.tete__tel-txt { display: none; margin-right: .3em; }

/* ——— Accueil : la ligne de masquage ——— */
.accueil {
  background: var(--laque);
  color: var(--blanc);
  min-height: 100svh;
  display: flex; flex-direction: column;
  padding-top: 4.25rem;
}
.accueil__haut {
  flex: 1 0 auto;
  display: grid; place-items: center;
  min-height: clamp(220px, 40svh, 520px);
  padding: 1rem var(--gouttiere) clamp(1.5rem, 4vw, 3rem);
}
.nom { text-align: center; font-weight: 400; line-height: 1; }
.nom__metier {
  display: block;
  font-stretch: 125%; font-weight: 500;
  font-size: clamp(.7rem, 1.3vw, .9rem); line-height: 1.5;
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--blanc-doux);
  margin-bottom: clamp(.9rem, 2vw, 1.5rem);
}
.nom__badge {
  display: block;
  font-stretch: 125%; font-weight: 600;
  font-size: clamp(1.9rem, 9.4vw, 8.5rem);
  letter-spacing: .015em;
  white-space: nowrap;
  text-transform: uppercase;
  color: #fff;
}

.bande {
  position: relative;
  background: var(--appret);
  color: var(--encre);
  border-top: 1px solid #f6f8f8;
  padding: clamp(1.05rem, 2.6vw, 1.75rem) var(--gouttiere);
}
.bande__metiers {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem clamp(1.4rem, 6vw, 6rem);
  font-stretch: 125%; font-weight: 600;
  font-size: clamp(.72rem, 1.45vw, 1.05rem); line-height: 1.4;
  letter-spacing: .26em; text-transform: uppercase;
}
.bande__ruban {
  display: none;
  position: absolute; left: 0; right: 0; top: -11px; height: 22px;
  background: var(--ruban);
  pointer-events: none;
}
.anime .bande__ruban { display: block; }

.accueil__bas {
  display: grid; gap: 2rem;
  padding: 1.75rem var(--gouttiere) 2.25rem;
}
.lede { font-size: clamp(1.2rem, 2.2vw, 1.55rem); font-weight: 500; line-height: 1.3; max-width: 30ch; text-wrap: balance; }
.regle { margin-top: .6rem; color: var(--blanc-doux); max-width: 40ch; }
.preuve { margin-top: 1rem; color: var(--blanc-doux); }
.preuve strong { color: var(--blanc); font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

.marge { display: grid; gap: 1rem; }
.marge div { border-top: 1px solid var(--filet-clair); padding-top: .65rem; }
.marge dt { font-weight: 600; font-size: 1.02rem; font-variant-numeric: tabular-nums; }
.marge dt.ouvert { color: var(--ruban); }
.marge dd { color: var(--blanc-doux); font-size: .97rem; line-height: 1.4; }
.marge--g { order: 2; }
.marge--d { order: 3; }

/* ——— 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; text-decoration: none; line-height: 1.1;
  border: 1px solid transparent;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn--plein { background: var(--ruban); color: var(--encre); }
.btn--plein:hover { background: var(--ruban-fonce); }
.btn--trait { border-color: var(--blanc); color: var(--blanc); }
.btn--trait:hover { background: var(--blanc); color: var(--laque); }
.btn--sombre { border-color: var(--encre); color: var(--encre); }
.btn--sombre:hover { background: var(--encre); color: var(--appret-2); }

/* ——— Titres ——— */
.titre {
  font-stretch: 125%; font-weight: 500;
  font-size: clamp(1.45rem, 3.6vw, 2.55rem); line-height: 1.2;
  letter-spacing: .05em; text-transform: uppercase;
  text-wrap: balance;
  margin-bottom: 1.5rem;
}
.titre::before {
  content: ""; display: block;
  width: 2.75rem; height: 6px; margin-bottom: 1.1rem;
  background: var(--ruban);
}
.titre--clair { color: var(--blanc); }
.sous-titre { font-size: 1.15rem; font-weight: 600; margin-bottom: .5rem; }
.sous-titre--clair { color: var(--blanc); }
.chapo { font-size: clamp(1.1rem, 1.8vw, 1.3rem); line-height: 1.5; max-width: 58ch; }
.chapo--clair { color: var(--blanc-doux); }

/* ——— Le métier, les pannes ——— */
.metier { padding: clamp(4rem, 10vw, 8rem) 0 clamp(3rem, 7vw, 5rem); }
.pannes { padding: 0 0 clamp(4rem, 10vw, 8rem); }
.pannes .suite { padding-top: clamp(3rem, 7vw, 5rem); }

.lignes { margin-top: clamp(2.5rem, 6vw, 4rem); border-top: 1px solid var(--encre); }
.ligne { display: grid; gap: .5rem; padding: 1.5rem 0 1.6rem; border-bottom: 1px solid var(--encre); }
.ligne__titre { font-size: 1.3rem; font-weight: 600; line-height: 1.25; }
.ligne__texte { max-width: 58ch; color: var(--encre-doux); }
.ligne__texte p + p { margin-top: .5rem; }
.qui, .temoins__qui {
  font-stretch: 125%; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
}
.qui { color: var(--encre); }

/* ——— Le chantier ——— */
.chantier { background: var(--laque); color: var(--blanc); padding: clamp(4rem, 10vw, 8rem) 0 clamp(3rem, 7vw, 5rem); }
.etapes {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(80vw, 22rem);
  gap: 1rem;
  margin: clamp(2.5rem, 6vw, 4rem) calc(-1 * var(--gouttiere)) 0;
  padding: 0 var(--gouttiere) .75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gouttiere);
  overscroll-behavior-x: contain;
  scrollbar-color: var(--laque-2) var(--laque);
}
.etape { scroll-snap-align: start; border-top: 1px solid var(--filet-clair); padding-top: 1rem; }
.etape figure { aspect-ratio: 4 / 3; overflow: hidden; background: var(--laque-2); }
.etape img { width: 100%; height: 100%; object-fit: cover; }
.etape__n {
  margin-top: 1rem;
  font-stretch: 125%; font-size: .75rem; letter-spacing: .2em;
  color: var(--blanc-doux); font-variant-numeric: tabular-nums;
}
.etape__titre { margin-top: .35rem; font-size: 1.15rem; font-weight: 600; line-height: 1.25; }
.etape__texte { margin-top: .35rem; color: var(--blanc-doux); font-size: .98rem; }
@media (min-width: 960px) {
  .etapes {
    grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem; margin: clamp(2.5rem, 6vw, 4rem) 0 0; padding: 0; overflow: visible;
  }
}

.fourgon {
  display: grid; gap: 1.75rem;
  margin-top: clamp(3.5rem, 8vw, 6rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--filet-clair);
}
.fourgon__texte p { color: var(--blanc-doux); max-width: 46ch; }
.fourgon__avis { margin-top: 1.25rem; color: var(--blanc) !important; font-size: 1.15rem; line-height: 1.4; }
.fourgon__avis span { display: block; margin-top: .4rem; font-stretch: 125%; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blanc-doux); }
.fourgon__photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
.fourgon__photos img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
@media (min-width: 760px) {
  .fourgon { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 3rem; align-items: center; }
  .fourgon__photos { gap: 1rem; }
}

/* ——— Avis ——— */
.avis { background: var(--laque); color: var(--blanc); padding: 0 0 clamp(4rem, 10vw, 8rem); }
.avis .suite { padding-top: clamp(3.5rem, 8vw, 6rem); }
.avis .titre::before, .chantier .titre::before { display: none; }
.citation { margin-top: clamp(1.5rem, 4vw, 3rem); }
.citation blockquote p {
  font-weight: 400;
  font-size: clamp(1.6rem, 4.4vw, 3.2rem); line-height: 1.16;
  max-width: 24ch; text-wrap: balance;
}
.citation blockquote p::before { content: "« "; }
.citation blockquote p::after { content: " »"; }
.citation figcaption { display: flex; align-items: center; gap: .9rem; margin-top: 1.25rem; color: var(--blanc-doux); }
.citation figcaption::before { content: ""; width: 2.5rem; height: 6px; background: var(--ruban); flex: none; }

.avis__grille { display: grid; gap: 3.5rem; margin-top: clamp(3.5rem, 8vw, 6rem); }
.revient__note { color: var(--blanc-doux); font-size: .95rem; margin-bottom: 1.25rem; }
.revient__liste { border-top: 1px solid var(--filet-clair); }
.revient__liste li {
  display: grid; grid-template-columns: 3.4rem 1fr; column-gap: 1rem; row-gap: .2rem;
  padding: 1rem 0 1.1rem; border-bottom: 1px solid var(--filet-clair);
}
.revient__n {
  grid-row: span 2;
  font-stretch: 125%; font-weight: 300; font-size: 2.6rem; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.revient__mot { font-weight: 600; font-size: 1.1rem; }
.revient__ex { color: var(--blanc-doux); font-size: .95rem; line-height: 1.45; }
.note-globale { margin-top: 2rem; color: var(--blanc-doux); max-width: 40ch; }
.note-globale strong { color: var(--blanc); font-weight: 600; }

.temoins li { padding: 1.25rem 0; border-top: 1px solid var(--filet-clair); }
.temoins li:last-child { border-bottom: 1px solid var(--filet-clair); }
.temoins blockquote p { font-size: 1.1rem; line-height: 1.45; max-width: 52ch; }
.temoins blockquote p::before { content: "« "; }
.temoins blockquote p::after { content: " »"; }
.temoins__qui { margin-top: .45rem; color: var(--blanc-doux); }
.avis__source { margin-top: 2.5rem; font-size: .95rem; color: var(--blanc-doux); }

/* ——— Venir ——— */
.venir { background: var(--appret-2); padding: clamp(4rem, 10vw, 7rem) 0; }
.venir__grille { display: grid; gap: 2.5rem; }
.adresse { font-style: normal; font-size: 1.25rem; font-weight: 500; line-height: 1.45; }
.tel { margin-top: 1.1rem; }
.tel a {
  font-stretch: 125%; font-weight: 500;
  font-size: clamp(1.45rem, 3.4vw, 2.1rem); line-height: 1.2; letter-spacing: .02em;
  display: inline-block; text-decoration: none;
  border-bottom: 4px solid var(--ruban); padding-bottom: .12em;
  white-space: nowrap;
}
.tel--second { margin-top: .6rem; }
.tel--second a { font-size: clamp(1.1rem, 2.4vw, 1.4rem); border-bottom-width: 1px; border-bottom-color: var(--encre); }
.tel a:hover { color: var(--encre-doux); }
.horaires { margin-top: 2.25rem; max-width: 46ch; }
.horaires__etat { color: var(--encre-doux); margin-bottom: .75rem; }
.horaires__etat.ouvert { color: var(--encre); font-weight: 600; }
.fiche { width: 100%; border-collapse: collapse; border-top: 1px solid var(--encre); }
.fiche th, .fiche td { padding: .7rem 0; border-bottom: 1px solid rgba(18, 20, 23, .25); text-align: left; font-weight: 400; }
.fiche th { font-stretch: 125%; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.fiche td { text-align: right; white-space: nowrap; padding-left: 1rem; }
.fiche .ferme td { color: var(--encre-doux); }
.fiche .aujourdhui th, .fiche .aujourdhui td { font-weight: 600; }
.fiche .aujourdhui th::before {
  content: ""; display: inline-block; width: .55rem; height: .55rem; margin-right: .55rem;
  background: var(--ruban); vertical-align: .05em;
}
.zone { margin-top: 1.5rem; max-width: 46ch; color: var(--encre-doux); }
.carte { min-height: 340px; border: 1px solid var(--encre); background: var(--appret); }
.carte iframe { width: 100%; height: 100%; min-height: 340px; border: 0; filter: grayscale(.7) contrast(1.05); }

/* ——— Pied ——— */
.pied { background: var(--laque); color: var(--blanc); padding: 3.5rem 0 calc(3.5rem + var(--barre)); }
.pied__grille { display: grid; gap: 1rem; }
.pied__nom { font-stretch: 125%; font-weight: 600; font-size: clamp(1.8rem, 5vw, 2.8rem); line-height: 1; letter-spacing: .03em; text-transform: uppercase; }
.pied p:not(.pied__nom) { color: var(--blanc-doux); }
.pied a { color: var(--blanc); }
.pied__petit { font-size: .85rem; }

/* ——— Barre fixe mobile ——— */
.barre {
  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(--laque);
  border-top: 1px solid var(--laque-2);
}
.barre a { display: flex; align-items: center; justify-content: center; min-height: 3.5rem; font-weight: 600; text-decoration: none; }
.barre__appel { background: var(--ruban); color: var(--encre); }
.barre__route { color: var(--blanc); }

@media (max-width: 899px) { :root { --barre: 3.5rem; } }
@media (max-width: 999px) { .marge--g div:first-child { display: none; } }
@media (min-width: 560px) {
  .tete__tel-txt { display: inline; }
  .marge { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 760px) {
  .ligne { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 2rem; align-items: baseline; }
  .venir__grille { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 4rem; align-items: stretch; }
  .pied__grille { grid-template-columns: auto 1fr; column-gap: 3rem; align-items: end; }
  .pied__petit { grid-column: 2; }
}
@media (min-width: 900px) { .barre { display: none; } }
@media (min-width: 1000px) {
  .accueil__bas {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr) minmax(0, 1fr);
    gap: 3rem; align-items: end; padding-bottom: 2.75rem;
  }
  .accueil__texte { order: 2; text-align: center; }
  .accueil__texte .lede, .accueil__texte .regle { margin-left: auto; margin-right: auto; }
  .accueil__texte .actions { justify-content: center; }
  .marge, .marge--g, .marge--d { grid-template-columns: 1fr; }
  .marge--g { order: 1; }
  .marge--d { order: 3; text-align: right; }
  .preuve { display: none; }
  .avis__grille { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 5rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
