@font-face { font-family: "Chakra Petch"; src: url("polices/chakra-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Chakra Petch"; src: url("polices/chakra-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("polices/intertight.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }

:root {
  --noir: #0A0B0C;
  --panneau: #111315;
  --acier: #1A1D21;
  --trait: #2A2E34;
  --blanc: #F2F3F5;
  --gris: #9AA1A9;
  --rouge: #E01B2E;
  --rouge-fonce: #8C0D1A;
  /* Le bleu de la Golf posée sur le banc et des durites de l'atelier. */
  --bleu: #2B5FE6;
  --bleu-nuit: #0C1630;
  --biais: clamp(26px, 5vw, 76px);
  --titre: "Chakra Petch", system-ui, sans-serif;
  --texte: "Inter Tight", system-ui, sans-serif;
  --marge: 20px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--texte);
  font-size: 17px;
  line-height: 1.62;
  color: #CBD1D8;
  background-color: var(--noir);
  background-image:
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 16px 16px, 16px 16px, 80px 80px, 80px 80px;
  background-attachment: fixed;
  padding-bottom: 82px;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--titre); font-weight: 700; color: var(--blanc); letter-spacing: -.005em; margin: 0; }
p { margin: 0 0 14px; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

/* En-tête */
.tete {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 12px;
  padding: 10px var(--marge);
  background: rgba(10, 11, 12, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--trait);
}
.logo { text-decoration: none; display: block; line-height: 1; }
.logo-haut { display: block; font-family: var(--titre); font-weight: 600; font-size: 10px; letter-spacing: .26em; color: var(--gris); }
.logo-bas {
  display: inline-block; margin-top: 3px;
  font-family: var(--titre); font-weight: 700; font-size: 21px; letter-spacing: .02em;
  color: var(--blanc); transform: skewX(-9deg);
  border-bottom: 3px solid var(--rouge); padding-bottom: 1px;
}
.apercu {
  font-family: var(--titre); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gris); border: 1px solid var(--trait); border-radius: 2px; padding: 4px 8px;
}
.tel-tete {
  margin-left: auto; text-decoration: none;
  font-family: var(--titre); font-weight: 700; font-size: 15px; letter-spacing: .02em;
  color: var(--blanc); border: 1px solid var(--rouge); border-radius: 2px;
  padding: 10px 14px; min-height: 44px; display: inline-flex; align-items: center;
}
.tel-court { display: none; }
@media (max-width: 420px) {
  .tel-long { display: none; }
  .tel-court { display: inline; }
}

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  min-height: 54px; padding: 14px 20px; border-radius: 2px; text-decoration: none;
  font-family: var(--titre); font-weight: 700; font-size: 16px; letter-spacing: .02em;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}
.btn-rouge { background: var(--rouge); color: #fff; border: 1px solid var(--rouge); }
.btn-ligne { background: transparent; color: var(--blanc); border: 1px solid var(--trait); }
.btn:active { transform: translateY(1px); }
@media (hover: hover) {
  .btn-rouge:hover { background: #F0263A; }
  .btn-ligne:hover { border-color: var(--blanc); background: rgba(255, 255, 255, .04); }
}
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.actions .btn { flex: 1 1 200px; }

/* Cadres d'instrument */
.cadre { position: relative; background: var(--panneau); border: 1px solid var(--trait); }
.cadre::before, .cadre::after {
  content: ""; position: absolute; width: 11px; height: 11px;
  border-color: var(--rouge); border-style: solid; pointer-events: none;
}
.cadre::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.cadre::after { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }

/* Haut de page : la vraie photo du banc en grand, le texte posé dessus. */
.haut { position: relative; padding: 0 0 34px; overflow: hidden; background: var(--noir); }
.haut-photo { position: relative; height: 56svh; min-height: 330px; max-height: 560px; overflow: hidden; }
.haut-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 62%; transform-origin: 32% 60%; }
.haut-photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 11, 12, .55) 0%, rgba(10, 11, 12, 0) 22%, rgba(10, 11, 12, 0) 48%, rgba(10, 11, 12, .82) 80%, var(--noir) 100%);
}
.haut-texte { position: relative; z-index: 2; margin-top: -92px; padding: 0 var(--marge); }
.mot {
  color: #fff; padding: 0 .16em; margin: 0 -.04em;
  background: linear-gradient(var(--rouge), var(--rouge)) no-repeat 0 0 / 100% 100%;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.sur {
  font-family: var(--titre); font-weight: 600; font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--rouge); margin-bottom: 14px;
}
h1 { font-size: clamp(1.95rem, 7.4vw, 3.3rem); line-height: 1.06; margin-bottom: 18px; }
.chapo { font-size: 1.06rem; color: #BCC3CB; max-width: 46ch; }
.etat {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--titre); font-weight: 600; font-size: 14px; letter-spacing: .04em;
  color: var(--blanc); border: 1px solid var(--trait); background: var(--panneau);
  padding: 9px 13px; border-radius: 2px; margin: 4px 0 0;
}
.point { width: 9px; height: 9px; border-radius: 50%; background: var(--gris); flex: none; }
.etat.ouvert .point { background: #3FD08A; box-shadow: 0 0 0 4px rgba(63, 208, 138, .16); }
.etat.ferme .point { background: var(--rouge); box-shadow: 0 0 0 4px rgba(224, 27, 46, .16); }
.repere {
  list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 22px 0 0;
}
.repere li {
  font-family: var(--titre); font-weight: 600; font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gris); border: 1px solid var(--trait); border-radius: 2px; padding: 6px 10px;
}
.cadre-photo { margin: 26px 0 0; padding: 8px; }
.cadre-photo img { width: 100%; }
#venir .cadre-photo img { max-height: 520px; object-fit: cover; object-position: center 42%; }
figcaption {
  font-size: 13px; color: var(--gris); padding: 9px 4px 2px; letter-spacing: .02em;
}

/* Blocs */
.bloc { padding: 46px var(--marge); }
.num {
  display: inline-block; font-family: var(--titre); font-weight: 700; font-size: 12px; letter-spacing: .14em;
  color: #fff; background: var(--rouge); padding: 4px 9px; border-radius: 2px; margin-bottom: 14px;
}
.colonne-g h2 { font-size: clamp(1.45rem, 5.6vw, 2.1rem); line-height: 1.14; margin-bottom: 20px; }
.texte { max-width: 54ch; }

/* Relevé au banc */
.releve { padding: 14px; margin-top: 8px; }
.releve-tete { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 12px; }
.leg {
  font-family: var(--titre); font-weight: 600; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--gris);
  display: inline-flex; align-items: center; gap: 7px;
}
.leg::before { content: ""; width: 16px; height: 3px; border-radius: 2px; background: currentColor; }
.leg-pui::before { background: var(--rouge); }
.leg-cpl::before { background: var(--blanc); }
.btn-passage {
  margin-left: auto; cursor: pointer;
  font-family: var(--titre); font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--blanc); background: var(--acier); border: 1px solid var(--trait); border-radius: 2px;
  min-height: 46px; padding: 10px 16px;
  transition: border-color .18s ease, color .18s ease;
}
.btn-passage:hover { border-color: var(--rouge); }
.btn-passage[disabled] { color: var(--gris); cursor: default; border-color: var(--trait); }
.releve-zone { position: relative; background: #0C0E10; border: 1px solid var(--trait); }
.releve-zone canvas, .releve-zone .releve-fixe { display: block; width: 100%; height: auto; aspect-ratio: 1000 / 420; }
.js .releve-fixe { display: none; }
html:not(.js) #toile, html:not(.js) .btn-passage { display: none; }
.axe {
  position: absolute; font-family: var(--titre); font-weight: 600; font-size: 10px;
  letter-spacing: .14em; text-transform: uppercase; color: #6E757D;
}
.axe-x { right: 10px; bottom: 6px; }
.axe-y { left: 10px; top: 8px; }
.releve-note { font-size: 13px; color: var(--gris); margin: 11px 2px 0; }

/* Fiches de service */
.fiches { display: grid; gap: 14px; }
.fiche { padding: 20px; }
.fiche h3 { font-size: 1.16rem; margin-bottom: 9px; }
.fiche p { margin-bottom: 0; color: #BCC3CB; }
.fiche img { margin-top: 16px; width: 100%; border: 1px solid var(--trait); }

/* Les trois temps */
.temps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.temps li { padding: 20px 20px 20px 64px; }
.temps-num {
  position: absolute; left: 20px; top: 19px;
  font-family: var(--titre); font-weight: 700; font-size: 20px; color: var(--rouge);
  width: 30px; height: 30px; display: grid; place-items: center;
  border: 1px solid var(--trait); border-radius: 50%;
}
.temps h3 { font-size: 1.1rem; margin-bottom: 7px; }
.temps p { margin: 0; color: #BCC3CB; }

/* Avis */
.note-google {
  display: inline-flex; align-items: baseline; gap: 10px;
  font-family: var(--titre); font-weight: 600; font-size: 14px; color: var(--gris);
  border: 1px solid var(--trait); background: var(--panneau); padding: 8px 13px; border-radius: 2px;
}
.note-google strong { font-size: 24px; font-weight: 700; color: var(--blanc); }
.note-google span { padding-left: 10px; border-left: 1px solid var(--trait); }
.avis-liste { display: grid; gap: 14px; }
.avis-liste blockquote { margin: 0; padding: 20px; }
.avis-liste p { color: #C6CCD3; margin-bottom: 12px; }
.avis-liste cite {
  font-style: normal; font-family: var(--titre); font-weight: 600; font-size: 13px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--rouge);
}

/* Demande */
.formulaire { padding: 20px; margin-top: 8px; }
.grand-tel {
  display: block; text-decoration: none; color: var(--blanc);
  font-family: var(--titre); font-weight: 700; font-size: clamp(34px, 9vw, 52px); line-height: 1; letter-spacing: .01em;
  font-variant-numeric: lining-nums tabular-nums;
}
@media (hover: hover) { .grand-tel:hover { color: var(--rouge); } }
.apercu-msg {
  margin: 20px 0 0; padding: 15px; background: #0C0E10; border: 1px solid var(--trait);
  border-left: 3px solid var(--rouge); font-size: 15px; color: #BCC3CB;
}

/* Venir */
.venir-grille { display: grid; gap: 14px; }
.venir-grille > .cadre { padding: 20px; }
.venir-grille h3 { font-size: 1.16rem; margin-bottom: 12px; }
.horaires { width: 100%; border-collapse: collapse; font-size: 15px; }
.horaires th {
  text-align: left; font-weight: 400; color: var(--gris); padding: 7px 0; vertical-align: top;
  border-bottom: 1px solid #191C20;
}
.horaires td {
  text-align: right; color: var(--blanc); padding: 7px 0; font-variant-numeric: tabular-nums;
  border-bottom: 1px solid #191C20;
}
.horaires tr:last-child th, .horaires tr:last-child td { border-bottom: 0; }
.adresse { font-family: var(--titre); font-weight: 600; font-size: 1.1rem; color: var(--blanc); line-height: 1.45; }
.detail { font-size: 15px; color: var(--gris); margin-bottom: 8px; }

/* Pied */
.pied { padding: 34px var(--marge) 40px; border-top: 1px solid var(--trait); margin-top: 20px; }
.pied-logo { font-family: var(--titre); font-weight: 700; color: var(--blanc); letter-spacing: .02em; }
.pied p { font-size: 15px; }
.pied-mention { font-size: 13px; color: #6E757D; margin-top: 16px; }
.pied a { color: var(--gris); }

/* Barre collante */
.barre {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; gap: 10px; padding: 10px var(--marge) calc(10px + env(safe-area-inset-bottom));
  background: rgba(10, 11, 12, .94); backdrop-filter: blur(8px); border-top: 1px solid var(--trait);
}
.barre .btn { flex: 1; }

/* Apparitions */
.js .anim { opacity: 0; transform: translateY(20px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .anim { opacity: 1 !important; transform: none !important; }
}

/* Grand écran */
@media (min-width: 900px) {
  :root { --marge: 56px; }
  body { font-size: 18px; padding-bottom: 0; }
  .barre { display: none; }
  .tete { padding: 12px var(--marge); }
  .haut { min-height: min(calc(100svh - 69px), 900px); display: flex; align-items: center; padding: 70px 0 110px; }
  .haut-photo { position: absolute; inset: 0; height: auto; max-height: none; }
  .haut-photo img { object-position: 50% 60%; }
  .haut-photo::after {
    background:
      linear-gradient(90deg, rgba(10, 11, 12, .94) 0%, rgba(10, 11, 12, .78) 34%, rgba(10, 11, 12, .1) 66%, rgba(10, 11, 12, 0) 100%),
      linear-gradient(180deg, rgba(10, 11, 12, 0) 70%, var(--noir) 100%);
  }
  .haut-texte { margin: 0; width: 100%; max-width: 1340px; margin-inline: auto; padding: 0 var(--marge); }
  .haut-texte > * { max-width: 640px; }
  .cadre-photo { margin-top: 0; }
  h1 { font-size: clamp(2.6rem, 4vw, 3.9rem); }
  .bloc {
    display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 54px;
    padding: 72px var(--marge); max-width: 1340px; margin: 0 auto;
    align-items: start;
  }
  .colonne-g { position: sticky; top: 104px; }
  .fiches { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .avis-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .venir-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .temps { gap: 18px; }
  .pied { max-width: 1340px; margin: 20px auto 0; }
  .releve { padding: 18px; }
}

/* ===== Retouches du 12 octobre : chaque section a sa mise en scène ===== */

/* Haut de page */
.haut .sur { color: #fff; display: inline-block; background: var(--bleu); padding: 5px 10px; border-radius: 2px; transform: skewX(-9deg); }
.repere li { background: rgba(17, 19, 21, .72); color: #D4D9DF; display: inline-flex; align-items: center; gap: 7px; }
.repere li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--rouge); }
.repere li:nth-child(2n)::before { background: var(--bleu); }

/* Les deux rubans qui se croisent sous le haut de page */
.rubans { position: relative; z-index: 3; height: 112px; margin-top: -34px; overflow: hidden; pointer-events: none; }
.ruban { position: absolute; left: -5%; width: 110%; top: 50%; height: 44px; margin-top: -22px; display: flex; align-items: center; overflow: hidden; }
.ruban-rouge { background: var(--rouge); transform: rotate(-2.6deg); box-shadow: 0 12px 30px rgba(0, 0, 0, .5); }
.ruban-bleu { background: var(--bleu); transform: rotate(2.2deg); }
.ruban-piste { display: flex; width: max-content; white-space: nowrap; font-family: var(--titre); font-weight: 700; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.ruban-bleu .ruban-piste { color: rgba(255, 255, 255, .88); }

/* La bande rayée rouge et noire : elle suit la coupe en biais de la section du dessus, 10 px plus bas, à toutes les largeurs. */
.bande-rayee {
  position: relative; overflow: hidden; background: var(--rouge);
  height: calc(var(--biais) + 26px); margin-top: calc(10px - var(--biais));
  clip-path: polygon(0 var(--biais), 100% 0, 100% 26px, 0 calc(var(--biais) + 26px));
}
.bande-rayee span { position: absolute; inset: 0; overflow: hidden; clip-path: polygon(0 calc(var(--biais) + 2px), 100% 2px, 100% 24px, 0 calc(var(--biais) + 24px)); }
.bande-rayee span::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: calc(100% + 80px); background: repeating-linear-gradient(-45deg, var(--rouge) 0 14px, var(--noir) 14px 28px); }

/* Sections coupées en biais */
.billet { position: relative; padding-block: var(--biais); clip-path: polygon(0 var(--biais), 100% 0, 100% calc(100% - var(--biais)), 0 100%); }

/* 01 · Le banc : une lueur bleue derrière le relevé */
.bloc-banc { position: relative; isolation: isolate; overflow: clip; }
.bloc-banc::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side at 70% 62%, rgba(43, 95, 230, .26), rgba(43, 95, 230, 0)), radial-gradient(closest-side at 20% 30%, rgba(224, 27, 46, .14), rgba(224, 27, 46, 0));
}
.releve-direct { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-family: var(--titre); font-weight: 600; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--blanc); }
.releve-direct .point { background: var(--rouge); box-shadow: 0 0 0 4px rgba(224, 27, 46, .18); }
.releve { border-color: #33404F; }

/* 02 · Les services sur fond clair */
.billet-clair {
  background-color: #ECEEF1;
  background-image: linear-gradient(rgba(10, 11, 12, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(10, 11, 12, .05) 1px, transparent 1px);
  background-size: 24px 24px;
  color: #2A2E34;
}
.billet-clair h2, .billet-clair h3 { color: var(--noir); }
.billet-clair .fiches { counter-reset: srv; }
.billet-clair .fiche { background: transparent; border: 0; border-top: 3px solid var(--noir); padding: 16px 0 6px; counter-increment: srv; }
.billet-clair .fiche::before { content: counter(srv, decimal-leading-zero); position: static; display: block; width: auto; height: auto; border: 0; font-family: var(--titre); font-weight: 700; font-size: 52px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--rouge); margin-bottom: 10px; }
.billet-clair .fiche::after { display: none; }
.billet-clair .fiche h3 { font-size: 1.3rem; }
.billet-clair .fiche p { color: #3A4048; }
.billet-clair .fiche img { border: 0; box-shadow: 10px 10px 0 var(--bleu); width: calc(100% - 10px); }

/* 03 · La méthode : trois temps reliés par une ligne où court une lumière */
.bloc-methode .temps { position: relative; gap: 34px; }
.bloc-methode .temps::before { content: ""; position: absolute; left: 27px; top: 12px; bottom: 12px; width: 2px; background: var(--trait); }
.bloc-methode .temps::after { content: ""; position: absolute; left: 26px; top: 0; width: 4px; height: 30%; border-radius: 2px; background: linear-gradient(rgba(224, 27, 46, 0), var(--rouge), rgba(224, 27, 46, 0)); opacity: 0; }
.bloc-methode .temps li { position: relative; z-index: 1; padding: 0 0 0 80px; background: none; border: 0; }
.bloc-methode .temps-num { left: 0; top: -2px; width: 56px; height: 56px; border: 0; border-radius: 0; background: var(--rouge); color: #fff; font-size: 28px; transform: skewX(-9deg); box-shadow: 6px 6px 0 var(--bleu); }
.bloc-methode .temps h3 { font-size: 1.3rem; margin-bottom: 8px; }

/* 04 · Les avis sur bande rouge, en rangées qui défilent */
.billet-rouge { background: linear-gradient(165deg, var(--rouge) 0%, #B4121F 48%, var(--rouge-fonce) 100%); }
.bloc-avis { padding: 46px 0; }
.avis-tete { max-width: 1340px; margin: 0 auto 26px; padding: 0 var(--marge); }
.avis-tete .num { background: var(--noir); }
.avis-tete h2 { font-size: clamp(1.75rem, 7.2vw, 3.3rem); line-height: 1.08; max-width: 19ch; color: #fff; }
.avis-rangs { display: grid; gap: 16px; }
.avis-rang { overflow-x: auto; scroll-snap-type: x mandatory; padding-left: var(--marge); scrollbar-width: none; }
.avis-rang.defile { overflow: hidden; padding-left: 0; }
.avis-piste { display: flex; width: max-content; padding: 4px 0 18px; }
.avis {
  flex: none; width: min(300px, 78vw); margin: 0 16px 0 0; padding: 20px; scroll-snap-align: start;
  display: flex; flex-direction: column; justify-content: space-between;
  background: var(--noir); border: 1px solid rgba(255, 255, 255, .08); border-radius: 4px;
  box-shadow: 0 16px 30px -16px rgba(0, 0, 0, .7);
}
.avis p { color: #D4D9DF; font-size: 16px; line-height: 1.55; margin-bottom: 16px; }
.avis footer { display: flex; align-items: center; gap: 11px; }
.ini { width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center; font-family: var(--titre); font-weight: 700; font-size: 14px; color: #fff; background: var(--rouge); }
.avis:nth-child(4n+2) .ini { background: var(--bleu); }
.avis:nth-child(4n+3) .ini { background: var(--blanc); color: var(--noir); }
.avis:nth-child(4n) .ini { background: #3A4048; }
.avis cite { font-style: normal; font-family: var(--titre); font-weight: 600; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: #fff; }

/* 05 · La demande sur fond bleu nuit */
.billet-bleu { background: linear-gradient(160deg, var(--bleu-nuit) 0%, #0B1222 55%, #0A0B0C 100%); }
.billet-bleu .num { background: var(--bleu); }

/* 06 · Venir : la photo de l'atelier en pleine largeur sur téléphone */
#venir .cadre-photo { margin: 26px calc(-1 * var(--marge)) 0; padding: 0; border: 0; background: none; }
#venir .cadre-photo::before, #venir .cadre-photo::after { display: none; }
#venir figcaption { padding: 9px var(--marge) 0; }

/* Le mouvement continu (jamais avec « réduire les animations ») */
@media (prefers-reduced-motion: no-preference) {
  .haut-photo img { animation: zoom-lent 24s ease-in-out infinite alternate; }
  @keyframes zoom-lent { to { transform: scale(1.09) translate3d(-1.5%, -1%, 0); } }
  .mot { animation: surligne .9s .45s cubic-bezier(.2, .8, .2, 1) both; }
  @keyframes surligne { from { background-size: 0% 100%; } }
  .ruban-rouge .ruban-piste { animation: defile 34s linear infinite; }
  .ruban-bleu .ruban-piste { animation: defile 44s linear infinite reverse; }
  @keyframes defile { to { transform: translate3d(-25%, 0, 0); } }
  .bande-rayee span::before { animation: rayures 1.4s linear infinite; }
  @keyframes rayures { to { transform: translate3d(-39.6px, 0, 0); } }
  .bloc-banc::before { animation: lueur 9s ease-in-out infinite alternate; }
  @keyframes lueur { from { opacity: .45; } to { opacity: 1; } }
  .releve-direct .point { animation: clignote 1.2s ease-in-out infinite; }
  @keyframes clignote { 50% { opacity: .25; } }
  .bloc-methode .temps::after { animation: course-v 3.4s cubic-bezier(.45, 0, .55, 1) infinite; }
  @keyframes course-v { 0% { transform: translateY(0); opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translateY(233%); opacity: 0; } }
  .avis-rang.defile .avis-piste { animation: defile-avis 80s linear infinite; }
  .avis-rang.defile.inverse .avis-piste { animation-direction: reverse; animation-duration: 64s; }
  @keyframes defile-avis { to { transform: translate3d(-50%, 0, 0); } }
  .hors-ecran .ruban-piste, .hors-ecran .avis-piste, .hors-ecran::before, .hors-ecran::after, .hors-ecran span::before, .hors-ecran .temps::after { animation-play-state: paused !important; }
  @media (hover: hover) { .avis-rang.defile:hover .avis-piste { animation-play-state: paused; } }
}

@media (min-width: 900px) {
  .rubans { height: 140px; margin-top: -60px; }
  .ruban { height: 52px; margin-top: -26px; }
  .ruban-piste { font-size: 17px; }
  .bloc-banc { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; }
  .bloc-banc .colonne-g { position: static; }
  .bloc-banc .colonne-g h2 { font-size: clamp(2rem, 3vw, 2.8rem); margin-bottom: 0; }
  .bloc-banc .colonne-d { display: contents; }
  .bloc-banc .texte { margin: 0; }
  .bloc-banc .releve { grid-column: 1 / -1; margin-top: 0; }
  .billet-clair .fiches { gap: 34px 40px; }
  .bloc-methode .temps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .bloc-methode .temps::before { left: 0; right: 0; top: 27px; bottom: auto; width: auto; height: 2px; }
  .bloc-methode .temps::after { left: 0; top: 26px; width: 30%; height: 4px; background: linear-gradient(90deg, rgba(224, 27, 46, 0), var(--rouge), rgba(224, 27, 46, 0)); }
  .bloc-methode .temps li { padding: 84px 0 0; }
  .bloc-avis { padding: 70px 0; }
  .avis { width: 390px; padding: 26px; margin-right: 20px; }
  #venir .cadre-photo { margin: 0; }
  #venir figcaption { padding: 9px 0 0; }
}
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .bloc-methode .temps::after { animation-name: course-h; }
  @keyframes course-h { 0% { transform: translateX(0); opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translateX(233%); opacity: 0; } }
}
.avis-rangs { overflow: hidden; }
/* Les rubans croisent le bas de la photo, dans le premier écran du téléphone. */
.haut .rubans { margin-top: -74px; }
.haut-texte { margin-top: -10px; }
.mot { background-size: 100% 80%; background-position: 0 72%; }
@media (prefers-reduced-motion: no-preference) { @keyframes surligne { from { background-size: 0% 80%; } } }
@media (min-width: 900px) {
  .haut { padding-bottom: 150px; }
  .haut .rubans { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; }
  .haut-photo::after { background: linear-gradient(90deg, rgba(10, 11, 12, .95) 0%, rgba(10, 11, 12, .88) 40%, rgba(10, 11, 12, .3) 64%, rgba(10, 11, 12, 0) 82%), linear-gradient(180deg, rgba(10, 11, 12, 0) 70%, var(--noir) 100%); }
}
.bloc-methode .temps h3 { line-height: 1.2; }
@media (max-width: 899px) { .ruban-rouge { transform: rotate(-3deg); } .ruban-bleu { transform: rotate(5deg); } }
/* Sur téléphone, les deux rubans ne se croisent plus : l'un au-dessus de l'autre, parallèles, 16 px d'écart. */
@media (max-width: 759px) {
  .haut .rubans { height: 122px; margin-top: -84px; }
  .ruban { height: 40px; margin-top: 0; }
  .ruban-rouge, .ruban-bleu { transform: none; rotate: -2deg; }
  .ruban-bleu { top: 10px; }
  .ruban-rouge { top: 66px; }
  .haut-texte { margin-top: 0; }
}

/* ===== 13 octobre : la présentation sur ordinateur (rien ici ne s'applique sous 900 px) ===== */
@media (min-width: 900px) {
  /* L'en-tête et le pied s'alignent sur la colonne du contenu (1340 px centrés), au lieu de coller aux bords de l'écran. */
  .tete, .pied { padding-inline: max(var(--marge), calc((100% - 1340px) / 2 + var(--marge))); }
  .pied {
    max-width: none; margin: 20px 0 0; padding-top: 40px; padding-bottom: 44px;
    display: grid; grid-template-columns: auto 1fr; column-gap: 40px; align-items: baseline;
  }
  .pied p { margin: 0; }
  .pied p:nth-child(2) { text-align: right; }
  .pied-mention { grid-column: 1 / -1; margin-top: 18px !important; padding-top: 18px; border-top: 1px solid var(--trait); }

  /* Haut de page : il remplit l'écran, le titre garde « banc de puissance » sur une seule ligne. */
  .haut { min-height: calc(100svh - 71px); padding-top: clamp(32px, 6vh, 80px); padding-bottom: 160px; }
  h1 { font-size: clamp(2.6rem, 3.9vw, 4.3rem); }
  .haut-texte > h1 { max-width: 12em; }
  .mot { white-space: nowrap; }
  .haut .btn-ligne { background: rgba(10, 11, 12, .55); border-color: rgba(242, 243, 245, .28); }

  /* 01 · Le banc : le texte à gauche, le relevé à droite, l'ensemble tient dans un écran. */
  .bloc-banc {
    grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); grid-template-rows: 1fr auto auto 1fr;
    column-gap: 64px; row-gap: 0; align-items: start;
  }
  .bloc-banc .colonne-g { grid-column: 1; grid-row: 2; }
  .bloc-banc .colonne-g h2 { font-size: clamp(2rem, 2.7vw, 2.6rem); margin-bottom: 22px; }
  .bloc-banc .texte { grid-column: 1; grid-row: 3; }
  .bloc-banc .releve { grid-column: 2; grid-row: 1 / -1; align-self: center; }

  /* 02 · Les services : la photo du calculateur occupe la colonne de droite sur toute la hauteur,
     les trois autres fiches s'empilent à gauche. Plus de trou sous les fiches sans photo. */
  .billet-clair .fiche:nth-child(1) { grid-area: 1 / 1; }
  .billet-clair .fiche:nth-child(2) { grid-area: 1 / 2 / 4 / 3; display: flex; flex-direction: column; }
  .billet-clair .fiche:nth-child(3) { grid-area: 2 / 1; }
  .billet-clair .fiche:nth-child(4) { grid-area: 3 / 1; }
  .billet-clair .fiche:nth-child(2) img { flex: 1 1 auto; height: 0; min-height: 380px; object-fit: cover; object-position: 60% center; }

  /* 04 · Les avis : le titre sur deux lignes au lieu de trois. */
  .avis-tete h2 { max-width: 22ch; }

  /* 06 · Venir : l'adresse en bandeau sur toute la largeur, puis les horaires et la photo de l'atelier côte à côte,
     de même hauteur. Plus de carte à moitié vide, plus de photo collée sous les cartes. */
  #venir .colonne-d { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  #venir .venir-grille { display: contents; }
  #venir .venir-grille > .cadre:nth-child(2) {
    grid-column: 1 / -1; grid-row: 1;
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 260px); column-gap: 32px; align-items: start;
  }
  #venir .venir-grille > .cadre:nth-child(2) > :not(.actions) { grid-column: 1; }
  #venir .venir-grille > .cadre:nth-child(2) .detail:last-of-type { margin-bottom: 0; }
  #venir .venir-grille > .cadre:nth-child(2) .actions { grid-column: 2; grid-row: 1 / span 4; align-self: center; margin-top: 0; flex-direction: column; }
  #venir .venir-grille > .cadre:nth-child(2) .actions .btn { flex: none; width: 100%; }
  #venir .venir-grille > .cadre:nth-child(1) { grid-column: 1; grid-row: 2; }
  #venir .cadre-photo { grid-column: 2; grid-row: 2; margin: 0; display: flex; flex-direction: column; }
  #venir .cadre-photo img { flex: 1 1 auto; height: 0; min-height: 300px; max-height: none; object-fit: cover; object-position: center 45%; }

  /* Le libellé de l'axe passe au-dessus du tracé, sans toucher l'axe vertical. */
  .releve-zone .axe-y { top: 4px; }
  /* Le chapeau du haut de page grandit avec l'écran. */
  .haut-texte > .chapo { font-size: clamp(1.1rem, 1.05vw, 1.3rem); max-width: 34em; }
}
/* Écran d'ordinateur étroit (900 à 1199 px) : les titres passent au-dessus de leur contenu au lieu de lui prendre
   une colonne, pour laisser la largeur aux fiches, aux trois étapes, au formulaire et aux horaires. */
@media (min-width: 900px) and (max-width: 1199px) {
  .bloc:not(.bloc-banc) { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .bloc:not(.bloc-banc) .colonne-g { position: static; }
  .bloc:not(.bloc-banc) .colonne-g h2 { max-width: 22ch; margin-bottom: 0; }
  .pied { grid-template-columns: minmax(0, 1fr); }
  .pied p:nth-child(2) { text-align: left; margin-top: 8px; }
}
