/* V2 « Chantier » : anthracite, blanc casse, ruban de masquage jaune. Archivo seule, condensee (62 %) en titres geants,
   elargie (125 %) en etiquettes, normale en texte. Angles droits, filets fins, le site se lit comme une fiche de chantier. */
:root {
  --nuit: #17191c; --nuit-2: #1f2226; --nuit-3: #2a2e33; --filet: #3a3f46; --craie: #f3efe6; --craie-2: #c9c4b9; --craie-3: #8d897f;
  --jaune: #f2b705; --jaune-2: #d9a300; --sur-jaune: #17191c; --papier: #f3efe6; --papier-filet: #d8d2c4; --encre: #17191c; --encre-2: #4a4740;
  --police: Archivo, "Archivo Narrow", system-ui, sans-serif;
  --marge: clamp(18px, 4vw, 64px); --largeur: 1360px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--nuit); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--police); font-stretch: 100%; color: var(--craie); background: var(--nuit); line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--jaune); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
:focus-visible { outline: 3px solid var(--jaune); outline-offset: 3px; }
.evitement { position: absolute; left: -999px; top: 8px; background: var(--jaune); color: var(--sur-jaune); padding: 8px 14px; z-index: 100; font-weight: 700; }
.evitement:focus { left: 8px; }
.manque { color: var(--jaune); }

/* typographie */
.geant { font-stretch: 62%; font-weight: 900; text-transform: uppercase; line-height: .86; letter-spacing: -.01em; margin: 0; display: flex; flex-direction: column; font-size: clamp(72px, 15.5vw, 236px); }
.geant em { font-style: normal; color: var(--jaune); }
.geant--page { font-size: clamp(48px, 8.4vw, 124px); display: block; line-height: .92; text-wrap: balance; max-width: 14ch; }
.geant--moyen { font-size: clamp(56px, 9vw, 140px); }
.geant--sombre { color: var(--encre); }
.titre { font-stretch: 75%; font-weight: 800; text-transform: uppercase; line-height: .98; letter-spacing: -.005em; margin: 0 0 18px; font-size: clamp(28px, 3.6vw, 48px); text-wrap: balance; }
.etiq { display: inline-block; font-stretch: 125%; font-weight: 700; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--craie-3); margin: 0 0 14px; }
.etiq--sombre { color: var(--encre-2); }
.etiq--ruban { color: var(--sur-jaune); background: var(--jaune); padding: 7px 14px 6px; transform: rotate(-1.5deg); transform-origin: left center; margin-bottom: 22px; clip-path: polygon(0 10%, 1.5% 0, 100% 4%, 98.5% 100%, 0 96%); }
.ruban { background: var(--jaune); color: var(--sur-jaune); font-stretch: 112%; font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 7px 14px 6px; display: inline-block; clip-path: polygon(0 12%, 1.5% 0, 100% 6%, 98.5% 100%, 0 94%); }
.ruban--photo { position: absolute; left: var(--marge); bottom: 24px; transform: rotate(-1.5deg); max-width: 70%; }
.ruban--mini { position: absolute; left: 10px; bottom: 10px; font-size: 10.5px; padding: 5px 10px 4px; max-width: calc(100% - 20px); transform: rotate(-1.2deg); transform-origin: left bottom; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* boutons */
.bouton { display: inline-flex; align-items: center; gap: 10px; padding: 15px 22px; background: transparent; border: 2px solid var(--craie); color: var(--craie); font-stretch: 112%; font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; line-height: 1; cursor: pointer; font-family: inherit; transition: background .2s, color .2s, border-color .2s; white-space: nowrap; }
.bouton:hover { text-decoration: none; background: var(--craie); color: var(--nuit); }
.bouton--jaune { background: var(--jaune); border-color: var(--jaune); color: var(--sur-jaune); }
.bouton--jaune:hover { background: var(--jaune-2); border-color: var(--jaune-2); color: var(--sur-jaune); }
.bouton--sombre { background: var(--encre); border-color: var(--encre); color: var(--craie); }
.bouton--sombre:hover { background: var(--jaune); border-color: var(--jaune); color: var(--sur-jaune); }
.bouton--contour-sombre { color: var(--encre); border-color: var(--encre); }
.bouton--contour-sombre:hover { background: var(--encre); color: var(--craie); }

/* en-tete */
.entete { position: sticky; top: 0; z-index: 50; background: var(--nuit); border-bottom: 1px solid var(--filet); }
.entete__int { max-width: var(--largeur); margin: 0 auto; padding: 0 var(--marge); display: flex; align-items: stretch; justify-content: space-between; gap: 24px; min-height: 68px; }
.marque { display: flex; flex-direction: column; justify-content: center; line-height: 1; position: relative; z-index: 2; padding: 12px 0; }
.marque:hover { text-decoration: none; }
.marque__nom { font-stretch: 70%; font-weight: 900; font-size: 24px; text-transform: uppercase; letter-spacing: .01em; }
.marque__sous { font-stretch: 112%; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--craie-3); margin-top: 6px; white-space: nowrap; }
.nav { display: flex; align-items: stretch; gap: 18px; }
.nav__liste { display: flex; }
.nav__liste li { display: flex; }
.nav__liste a { display: flex; flex-direction: column; justify-content: center; padding: 0 10px; font-stretch: 100%; font-weight: 600; font-size: 13.5px; color: var(--craie-2); border-bottom: 3px solid transparent; white-space: nowrap; transition: color .2s, border-color .2s; }
.nav__liste a small { font-stretch: 125%; font-size: 9px; letter-spacing: .16em; color: var(--craie-3); margin-bottom: 2px; }
.nav__liste a:hover { color: var(--craie); text-decoration: none; }
.nav__liste a[aria-current="page"] { color: var(--craie); border-bottom-color: var(--jaune); }
.nav__tel { align-self: center; flex: none; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; background: var(--jaune); color: var(--sur-jaune); font-stretch: 100%; font-weight: 800; font-size: 15px; padding: 11px 16px; }
.nav__tel:hover { background: var(--jaune-2); text-decoration: none; }
.menu-bouton { display: none; }

/* heros */
.heros { position: relative; }
.heros__int { max-width: var(--largeur); margin: 0 auto; padding: clamp(28px, 4vw, 56px) var(--marge) clamp(24px, 3vw, 40px); }
.heros__bas { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(24px, 4vw, 64px); align-items: end; margin-top: clamp(24px, 3vw, 40px); }
.heros__intro { font-size: clamp(17px, 1.4vw, 21px); color: var(--craie-2); max-width: 60ch; margin: 0; }
.heros__chiffres { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--filet); }
.heros__chiffres li { padding: 14px 10px 0 0; display: flex; flex-direction: column; }
.heros__chiffres strong { font-stretch: 62%; font-weight: 900; font-size: clamp(40px, 4.4vw, 64px); line-height: .9; color: var(--jaune); }
.heros__chiffres span { font-stretch: 112%; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--craie-3); margin-top: 8px; }
.heros__photo { position: relative; }
.heros__photo img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.heros--page .heros__photo img { aspect-ratio: 21 / 8; }
.heros--court .heros__int { padding-bottom: 0; }
.heros--court .heros__intro { margin-top: 20px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; align-self: end; }
.tags li { border: 1px solid var(--filet); padding: 8px 12px; font-stretch: 112%; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--craie-2); }

/* ruban qui defile */
.defile { overflow: hidden; background: var(--jaune); color: var(--sur-jaune); border-top: 1px solid var(--nuit); }
.defile__piste { display: flex; gap: 0; width: max-content; animation: defile 38s linear infinite; }
.defile__piste span { font-stretch: 112%; font-weight: 800; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; padding: 12px 28px; position: relative; }
.defile__piste span::after { content: ""; position: absolute; right: -3px; top: 50%; width: 6px; height: 6px; background: var(--sur-jaune); transform: translateY(-50%) rotate(45deg); }
@keyframes defile { to { transform: translateX(-50%); } }

/* blocs */
.bloc { padding: clamp(56px, 8vw, 120px) var(--marge); }
.bloc__int { max-width: var(--largeur); margin: 0 auto; }
.fiche__tete { max-width: 820px; margin-bottom: clamp(28px, 4vw, 56px); }
.fiche__tete--ligne { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.fiche__intro { color: var(--craie-2); font-size: 18px; margin: 0; max-width: 62ch; }

/* lignes de prestations */
.lignes { border-top: 1px solid var(--filet); counter-reset: l; }
.ligne a { display: grid; grid-template-columns: 90px 1fr 220px 48px; gap: clamp(16px, 3vw, 48px); align-items: center; padding: 22px 0; border-bottom: 1px solid var(--filet); transition: background .25s, padding .25s; }
.ligne a:hover { text-decoration: none; background: var(--nuit-2); padding-left: 16px; padding-right: 8px; }
.ligne__num { font-stretch: 62%; font-weight: 900; font-size: clamp(40px, 4vw, 60px); color: var(--jaune); line-height: 1; }
.ligne__texte strong { display: block; font-stretch: 75%; font-weight: 800; text-transform: uppercase; font-size: clamp(26px, 3.4vw, 46px); line-height: .98; }
.ligne__texte span { display: block; color: var(--craie-3); margin-top: 8px; font-size: 15px; }
.ligne__photo img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; filter: saturate(.9); transition: filter .3s; }
.ligne a:hover .ligne__photo img { filter: none; }
.ligne__fleche { color: var(--craie-3); transition: transform .25s, color .25s; }
.ligne a:hover .ligne__fleche { transform: translateX(6px); color: var(--jaune); }

/* papier */
.papier { background: var(--papier); color: var(--encre); }
.papier--court { padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(40px, 5vw, 72px); }
.papier__int { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.papier .titre { font-size: clamp(26px, 3vw, 40px); }
.papier__texte { color: var(--encre-2); font-size: 18px; margin: 0; }
.tampons { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.tampons li { border: 3px solid var(--encre); padding: 22px 20px; transform: rotate(var(--rot)); display: flex; flex-direction: column; gap: 6px; background: var(--papier); }
.tampons li:last-child { grid-column: 1 / -1; justify-self: center; min-width: 60%; }
.tampons strong { font-stretch: 70%; font-weight: 900; text-transform: uppercase; font-size: clamp(22px, 2.2vw, 30px); line-height: 1; }
.tampons span { font-stretch: 112%; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--encre-2); }

/* grille photos */
.grille { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.grille--trois { grid-template-columns: repeat(3, 1fr); }
.grille a { display: block; position: relative; overflow: hidden; background: var(--nuit-2); }
.grille img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .5s, filter .4s; filter: saturate(.92); }
.grille--trois img { aspect-ratio: 4 / 3; }
.grille a:hover img { transform: scale(1.04); filter: none; }

/* appel */
.appel { background: var(--nuit-2); border-top: 1px solid var(--filet); }
.appel__int { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: end; }
.appel__texte p { color: var(--craie-2); font-size: 18px; max-width: 46ch; }
.papier .appel__texte p { color: var(--encre-2); }
.appel__actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0 0 !important; }

/* etapes */
.etapes { padding-top: clamp(40px, 5vw, 80px); }
.etape { display: grid; grid-template-columns: 120px 1fr 36%; gap: clamp(20px, 3vw, 56px); align-items: start; padding: clamp(28px, 4vw, 56px) 0; border-top: 1px solid var(--filet); }
.etape:first-child { border-top: 0; padding-top: 0; }
.etape__num { font-stretch: 62%; font-weight: 900; font-size: clamp(56px, 6vw, 96px); line-height: .85; color: var(--jaune); }
.etape__num small { font-size: .35em; color: var(--craie-3); font-weight: 700; }
.etape__texte p { color: var(--craie-2); max-width: 60ch; }
.etape__photo { position: relative; }
.etape__photo img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

/* contact */
.contact { padding-top: clamp(32px, 5vw, 64px); }
.contact__int { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 96px); align-items: start; }
.contact__tel { display: block; font-stretch: 62%; font-weight: 900; font-size: clamp(48px, 7vw, 108px); line-height: .9; color: var(--jaune); margin-bottom: 32px; letter-spacing: -.01em; }
.contact__tel:hover { text-decoration: none; color: var(--craie); }
.coord { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 32px; }
.coord li .etiq { margin-bottom: 6px; display: block; }
.coord a, .coord p { font-size: 18px; font-weight: 600; margin: 0; }
.contact__form { border: 1px solid var(--filet); padding: clamp(22px, 3vw, 40px); background: var(--nuit-2); }
.contact__form .titre { font-size: 30px; margin-bottom: 24px; }
.formulaire__grille { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.formulaire__grille .champ:first-child { grid-column: 1 / -1; }
.champ { margin: 0 0 18px; }
.champ label { display: block; font-stretch: 112%; font-weight: 700; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--craie-3); margin-bottom: 8px; }
.champ input, .champ textarea, .champ select { width: 100%; font: inherit; font-size: 16px; padding: 13px 14px; border: 1px solid var(--filet); background: var(--nuit); color: var(--craie); border-radius: 0; }
.champ select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--craie-2) 50%), linear-gradient(135deg, var(--craie-2) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.champ input:focus, .champ textarea:focus, .champ select:focus { outline: 2px solid var(--jaune); outline-offset: 0; border-color: var(--jaune); }
.champ--erreur input, .champ--erreur textarea { border-color: #e2654f; }
.formulaire__erreur { color: #f08a78; font-weight: 600; }
.formulaire__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.formulaire__actions .bouton { background: var(--jaune); border-color: var(--jaune); color: var(--sur-jaune); }
.formulaire__actions .bouton:hover { background: var(--jaune-2); }
.formulaire__actions small { color: var(--craie-3); font-size: 13px; }
.formulaire__merci { background: var(--jaune); color: var(--sur-jaune); padding: 14px 18px; font-weight: 700; }
.formulaire__rgpd { font-size: 13px; color: var(--craie-3); margin: 14px 0 0; }
.formulaire__rgpd a { text-decoration: underline; text-decoration-color: var(--jaune); }
.plan { border: 1px solid var(--filet); aspect-ratio: 16 / 10; display: grid; background: var(--nuit-2); }
.plan__avant { padding: 24px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 12px; }
.plan__avant p { margin: 0; }
.plan__avant small { color: var(--craie-3); font-size: 13px; }
.plan__avant .lien { display: inline-flex; gap: 6px; align-items: center; font-weight: 700; text-decoration: underline; text-decoration-color: var(--jaune); }
.plan .bouton { border-color: var(--craie-2); }
.plan iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }

/* mentions */
.mentions { max-width: 900px; }
.mentions article { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 24px 0; border-top: 1px solid var(--filet); }
.mentions article:first-child { border-top: 0; }
.mentions p { color: var(--craie-2); margin: 0 0 6px; }

/* pied */
.pied { border-top: 1px solid var(--filet); padding: clamp(48px, 6vw, 96px) var(--marge) 0; }
.pied__int { max-width: var(--largeur); margin: 0 auto; }
.pied__appel { font-stretch: 112%; font-weight: 700; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--craie-3); margin: 0 0 10px; }
.pied__tel { display: block; font-stretch: 62%; font-weight: 900; font-size: clamp(56px, 11vw, 180px); line-height: .88; color: var(--jaune); letter-spacing: -.01em; }
.pied__tel:hover { text-decoration: none; color: var(--craie); }
.pied__grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: clamp(36px, 5vw, 64px); padding-top: 28px; border-top: 1px solid var(--filet); }
.pied__grille p, .pied__grille li { color: var(--craie-2); margin: 0 0 6px; }
.pied__grille .etiq { display: block; margin-bottom: 10px; }
.pied__bas { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--craie-3); padding: 28px 0; margin: 28px 0 0; border-top: 1px solid var(--filet); }

/* barre telephone, retour en haut, apparitions */
.barre-tel { display: none; }
.haut { position: fixed; right: 20px; bottom: 20px; width: 46px; height: 46px; background: var(--jaune); color: var(--sur-jaune); display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s; transform: translateY(8px); z-index: 40; }
.haut.est-visible { opacity: 1; pointer-events: auto; transform: none; }
[data-apparait] { opacity: 0; transform: translateY(20px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 60ms); }
[data-apparait].est-visible { opacity: 1; transform: none; }
.etiq--ruban[data-apparait].est-visible { transform: rotate(-1.5deg); }

/* visionneuse */
.visionneuse { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; color: var(--craie); }
.visionneuse::backdrop { background: rgba(10, 11, 13, .94); }
.visionneuse figure { position: fixed; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 60px 70px; }
.visionneuse img { max-width: 100%; max-height: calc(100vh - 140px); box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.visionneuse figcaption { color: var(--craie-2); font-size: 14px; margin: 0; text-align: center; font-stretch: 112%; letter-spacing: .06em; text-transform: uppercase; }
.visionneuse button { position: fixed; background: var(--nuit-3); border: 0; color: var(--craie); width: 50px; height: 50px; display: grid; place-items: center; cursor: pointer; }
.visionneuse button:hover { background: var(--jaune); color: var(--sur-jaune); }
.visionneuse__fermer { top: 16px; right: 16px; }
.visionneuse__nav { top: 50%; transform: translateY(-50%); }
.visionneuse__nav--prec { left: 14px; } .visionneuse__nav--suiv { right: 14px; }

/* ecrans */
/* menu complet (marque + 7 liens numerotes + telephone) : a l'aise il fait 1319 px, plus que la colonne de 1232 px
   (1360 moins les marges), et debordait de l'ecran entre 1300 et 1420 px. Des 1341 px on resserre espacements et
   corps pour qu'il tienne dans la colonne, aligne sur le reste de la page, sans toucher a la marque */
@media (min-width: 1341px) {
  .entete__int { gap: 20px; }
  .marque__sous { letter-spacing: .12em; }
  .nav { gap: 14px; }
  .nav__liste a { padding: 0 7px; font-size: 13px; }
  .nav__tel { font-size: 14px; padding: 10px 14px; }
}
/* en dessous de 1341 px le menu complet ne tient plus : bouton « Menu » et volet plein ecran */
@media (max-width: 1340px) {
  .menu-bouton { display: inline-flex; align-items: center; gap: 8px; align-self: center; background: none; border: 1px solid var(--filet); padding: 9px 14px 9px 10px; font: inherit; font-stretch: 112%; font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--craie); cursor: pointer; position: relative; z-index: 2; }
  .nav { position: fixed; inset: 0; background: var(--nuit); flex-direction: column; align-items: stretch; justify-content: flex-start; overflow-y: auto; padding: 84px var(--marge) 40px; gap: 22px; visibility: hidden; opacity: 0; transition: opacity .25s, visibility .25s; z-index: 1; }
  .menu-ouvert .nav { visibility: visible; opacity: 1; }
  .menu-ouvert body { overflow: hidden; }
  .nav__liste { flex-direction: column; }
  .nav__liste a { padding: 9px 0; font-stretch: 75%; font-weight: 800; font-size: 25px; text-transform: uppercase; color: var(--craie); border-bottom: 1px solid var(--filet); flex-direction: row; align-items: baseline; gap: 14px; }
  .nav__liste a small { font-size: 12px; color: var(--jaune); }
  .nav__liste a[aria-current="page"] { border-bottom-color: var(--jaune); }
  .nav__tel { align-self: flex-start; font-size: 17px; padding: 14px 20px; }
}
@media (max-width: 900px) {
  body { font-size: 16px; }
  .heros__bas, .papier__int, .appel__int, .contact__int { grid-template-columns: 1fr; }
  .heros__chiffres li { padding-right: 6px; }
  .heros__photo img, .heros--page .heros__photo img { aspect-ratio: 4 / 3; }
  .ruban--photo { bottom: 14px; left: 14px; max-width: calc(100% - 28px); font-size: 11px; }
  .ligne a { grid-template-columns: 56px 1fr 96px; gap: 14px; }
  .ligne__fleche { display: none; }
  .ligne__texte strong { font-size: 24px; }
  .ligne__texte span { font-size: 14px; }
  .tampons { grid-template-columns: 1fr; }
  .tampons li:last-child { justify-self: stretch; }
  .grille, .grille--trois { grid-template-columns: repeat(2, 1fr); gap: 4px; }
  .ruban--mini { display: none; }
  .etape { grid-template-columns: 1fr; gap: 14px; }
  .etape__photo { order: 3; }
  .coord { grid-template-columns: 1fr; }
  .mentions article { grid-template-columns: 1fr; gap: 8px; }
  .pied__grille { grid-template-columns: 1fr; gap: 24px; }
  .pied { padding-bottom: 70px; }
  .formulaire__grille { grid-template-columns: 1fr; }
  .barre-tel { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: var(--nuit); border-top: 1px solid var(--filet); padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); gap: 10px; }
  .barre-tel__a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--jaune); color: var(--sur-jaune); font-stretch: 112%; font-weight: 800; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; padding: 14px; }
  .barre-tel__a--mail { background: var(--nuit-3); color: var(--craie); }
  .haut { bottom: 80px; }
  .visionneuse figure { padding: 70px 12px 60px; }
  .visionneuse__nav { top: auto; bottom: 10px; transform: none; }
}
@media (max-width: 520px) {
  .marque__nom { font-size: 20px; }
  .marque__sous { display: none; }
  .appel__actions .bouton { flex: 1; justify-content: center; }
  .geant--page { font-size: 44px; }
}

/* ===== accueil : la bande de photos de chantier sous le ruban (02/11/2026, message 2228 d'Anthony) =====
   Une hauteur fixe, chaque photo a sa proportion (--r = largeur / hauteur, posee par bande.php), un filet autour, et au survol
   un petit ruban avec le nom du chantier. Par defaut (doigt, mouvement reduit) : une seule serie, defilement natif au doigt
   avec aimantation. Ordinateur a pointeur sans reduction des mouvements : les copies s'affichent, la piste glisse lentement
   vers la gauche, en continu, et s'arrete au survol ; au clavier, la bande redevient une bande a faire defiler. */
.chantiers { --h: 170px; position: relative; background: var(--nuit-2); border-bottom: 1px solid var(--filet); padding: 14px 0; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-padding-inline: var(--marge); overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.chantiers::-webkit-scrollbar { display: none; }
.chantiers__piste { display: flex; width: max-content; padding: 0 var(--marge); }
.chantiers__serie { display: flex; gap: 8px; flex: none; padding-right: 8px; }
.chantiers__serie--copie { display: none; }
.chantiers__photo { flex: none; width: calc(var(--h) * var(--r, 1.333)); height: var(--h); scroll-snap-align: start; }
.chantiers__photo a { position: relative; display: block; height: 100%; border: 1px solid var(--filet); background: var(--nuit-3); overflow: hidden; -webkit-user-drag: none; transition: border-color .25s; }
.chantiers__photo a:hover, .chantiers__photo a:focus-visible { text-decoration: none; border-color: var(--jaune); }
.chantiers__photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.92); transition: filter .3s, transform .6s; -webkit-user-drag: none; }
.chantiers__photo a:hover img, .chantiers__photo a:focus-visible img { filter: none; transform: scale(1.03); }
.chantiers__nom { position: absolute; left: 10px; bottom: 10px; max-width: calc(100% - 20px); font-size: 10.5px; padding: 5px 10px 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transform: rotate(-1.2deg) translateY(8px); transform-origin: left bottom; opacity: 0; transition: opacity .25s, transform .25s; pointer-events: none; }
.chantiers__photo a:hover .chantiers__nom, .chantiers__photo a:focus-visible .chantiers__nom { opacity: 1; transform: rotate(-1.2deg); }
@media (min-width: 901px) {
  .chantiers { --h: clamp(190px, 17vw, 250px); padding: clamp(16px, 1.6vw, 24px) 0; }
}
@media (min-width: 901px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .chantiers { overflow: hidden; scroll-snap-type: none; }
  .chantiers__piste { padding: 0; animation: chantiers var(--duree, 60s) linear infinite; }
  .chantiers__serie--copie { display: flex; }
  .chantiers:hover .chantiers__piste { animation-play-state: paused; }
  /* au clavier : plus de glissement, la bande se fait defiler (le navigateur amene le lien qui a le focus dans la vue) */
  .chantiers:focus-within { overflow-x: auto; }
  .chantiers:focus-within .chantiers__piste { animation: none; }
  @keyframes chantiers { to { transform: translateX(calc(-100% / var(--copies, 2))); } }
}

/* ===== Mes travaux (02/11/2026) : un bloc par travail, photos a faire defiler sur place ===== */
/* filtre par categorie : boutons radio et :has(), sans JavaScript ; sans :has(), tout reste visible */
.filtre { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: clamp(8px, 2vw, 24px); }
.filtre__etiq { margin: 0 10px 0 0; }
.filtre__radio { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.filtre__choix { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--filet); padding: 10px 14px; font-stretch: 112%; font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--craie-2); cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.filtre__choix span { font-stretch: 62%; font-weight: 900; font-size: 18px; line-height: .8; color: var(--jaune); letter-spacing: 0; }
.filtre__choix:hover { border-color: var(--craie-2); color: var(--craie); }
.filtre__radio:checked + .filtre__choix { background: var(--jaune); border-color: var(--jaune); color: var(--sur-jaune); }
.filtre__radio:checked + .filtre__choix span { color: var(--sur-jaune); }
.filtre__radio:focus-visible + .filtre__choix { outline: 3px solid var(--jaune); outline-offset: 3px; }
.archive:has(#type-peinture:checked) .travail:not([data-type="peinture"]),
.archive:has(#type-papier:checked) .travail:not([data-type="papier"]),
.archive:has(#type-sol:checked) .travail:not([data-type="sol"]),
.archive:has(#type-petits:checked) .travail:not([data-type="petits"]),
.archive:has(#type-globale:checked) .travail:not([data-type="globale"]) { display: none; }
.archive { padding-top: clamp(24px, 3vw, 40px); }
.archive .bloc__int { counter-reset: travail; }
.archive__vide { color: var(--craie-2); font-size: 18px; padding: 40px 0; border-top: 1px solid var(--filet); }

/* le bloc d'un travail : texte a gauche, photos a droite, un filet entre deux */
.travail { counter-increment: travail; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); gap: clamp(28px, 4vw, 72px); align-items: start; padding: clamp(36px, 5vw, 64px) 0; border-top: 1px solid var(--filet); scroll-margin-top: 84px; }
.travail:target { background: linear-gradient(90deg, var(--nuit-2), transparent 60%); }
.travail__texte { display: flex; flex-direction: column; align-items: flex-start; }
.travail__num { font-stretch: 62%; font-weight: 900; font-size: clamp(48px, 5vw, 76px); line-height: .85; color: var(--jaune); margin-bottom: 18px; }
.travail__num::before { content: counter(travail, decimal-leading-zero); }
.travail__type { margin-bottom: 12px; }
a.travail__type { border-bottom: 1px solid var(--filet); padding-bottom: 3px; transition: color .2s, border-color .2s; }
a.travail__type:hover { color: var(--jaune); border-color: var(--jaune); text-decoration: none; }
.travail__titre { font-stretch: 75%; font-weight: 800; text-transform: uppercase; line-height: .96; letter-spacing: -.005em; margin: 0 0 14px; font-size: clamp(30px, 3.3vw, 46px); text-wrap: balance; overflow-wrap: anywhere; }
/* les reperes sous le titre : la ville, puis la duree des travaux si elle est remplie (20/11/2026) */
.travail__reperes { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin: 0 0 22px; }
.travail__lieu, .travail__duree { display: inline-flex; align-items: center; gap: 7px; font-stretch: 112%; font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--craie-2); margin: 0; }
.travail__lieu svg, .travail__duree svg { color: var(--jaune); flex: none; }
.travail__duree-nom { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.travail__recit p { color: var(--craie-2); font-size: 17px; max-width: 52ch; }
.travail__recit p:first-child { color: var(--craie); font-size: clamp(18px, 1.4vw, 20px); line-height: 1.5; }
.travail__recit p:last-child { margin-bottom: 0; }
.travail__photos { min-width: 0; position: relative; }

/* la bande de photos : hauteur fixe, chaque photo a sa largeur naturelle, on defile au doigt, a la molette ou aux fleches */
.bande { --h: clamp(300px, 30vw, 460px); display: flex; gap: 8px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; scrollbar-width: none; cursor: grab; }
.bande::-webkit-scrollbar { display: none; }
.bande.est-saisie { scroll-snap-type: none; scroll-behavior: auto; cursor: grabbing; user-select: none; }
.bande__photo { flex: none; scroll-snap-align: start; height: var(--h); max-width: 100%; }
.bande__photo a { display: block; height: 100%; background: var(--nuit-2); -webkit-user-drag: none; }
.bande__photo img { height: 100%; width: auto; max-width: 100%; object-fit: contain; filter: saturate(.94); transition: filter .3s; -webkit-user-drag: none; }
.bande__photo a:hover img { filter: none; }
.bande.est-saisie img { pointer-events: none; }
.bande--une { cursor: auto; display: block; overflow: visible; }
.bande--une .bande__photo { height: auto; }
.bande--une a { display: block; height: auto; border: 1px solid var(--filet); }
.bande--une img { height: auto; width: 100%; max-height: 560px; object-fit: cover; }
/* fleches et compteur, poses par commun.js seulement quand il y a plus d'une photo */
.bande-nav { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.bande-nav__compte { font-stretch: 62%; font-weight: 900; font-size: 22px; line-height: 1; color: var(--craie); margin: 0 auto 0 0; font-variant-numeric: tabular-nums; }
.bande-nav__compte small { font-size: 16px; color: var(--craie-3); font-weight: 800; }
.bande-nav button { width: 46px; height: 46px; display: grid; place-items: center; background: none; border: 1px solid var(--filet); color: var(--craie); cursor: pointer; transition: background .2s, color .2s, border-color .2s; font: inherit; }
.bande-nav button:hover { background: var(--jaune); border-color: var(--jaune); color: var(--sur-jaune); }
.bande-nav button:disabled { opacity: .3; cursor: default; }
.bande-nav button:disabled:hover { background: none; border-color: var(--filet); color: var(--craie); }

/* ===== accueil : Mes derniers travaux (02/11/2026) ===== */
.derniers { border-top: 1px solid var(--filet); }
.derniers__liste { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.derniers__liste--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.derniers__liste--1 { grid-template-columns: minmax(0, 1fr); }
.dernier a { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--filet); background: var(--nuit-2); color: var(--craie); position: relative; transition: border-color .25s, background .25s; }
.dernier a:hover { text-decoration: none; border-color: var(--craie-3); background: var(--nuit-3); }
.dernier__num { position: absolute; z-index: 2; top: 0; left: 0; background: var(--nuit); color: var(--jaune); font-stretch: 62%; font-weight: 900; font-size: 26px; line-height: 1; padding: 8px 12px 6px; }
.dernier__photo { position: relative; overflow: hidden; background: var(--nuit-3); }
.dernier__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: saturate(.92); transition: transform .6s, filter .4s; }
.dernier a:hover .dernier__photo img { transform: scale(1.04); filter: none; }
.dernier__nb { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 5px; background: var(--nuit); color: var(--craie); font-stretch: 112%; font-weight: 700; font-size: 12px; letter-spacing: .06em; padding: 6px 9px 5px; }
.dernier__texte { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 18px 20px 20px; }
.dernier__type { margin-bottom: 8px; }
.dernier__titre { font-stretch: 75%; font-weight: 800; text-transform: uppercase; line-height: .98; letter-spacing: -.005em; font-size: 25px; margin: 0 0 12px; text-wrap: balance; overflow-wrap: anywhere; }
.dernier__lieu { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; font-stretch: 112%; font-weight: 700; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--craie-2); }
.dernier__lieu svg { color: var(--jaune); }
.derniers__liste--1 .dernier a { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.derniers__liste--1 .dernier__photo img { aspect-ratio: 16 / 9; }
.derniers__liste--1 .dernier__texte { justify-content: flex-end; padding: clamp(24px, 3vw, 40px); }
.derniers__liste--1 .dernier__titre { font-size: clamp(30px, 3.2vw, 44px); }
.derniers__pied { display: none; margin: 20px 0 0; }
.derniers__pied .bouton { width: 100%; justify-content: center; }

@media (max-width: 1100px) {
  .travail { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
}
@media (max-width: 900px) {
  .travail { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 32px 0 36px; scroll-margin-top: 72px; }
  .travail:target { background: none; }
  .travail__texte { display: contents; }
  /* sur telephone : numero, categorie, titre, ville, puis les photos, puis le recit */
  .travail__num { order: 1; font-size: 40px; margin-bottom: 10px; }
  .travail__type { order: 2; }
  .travail__titre { order: 3; font-size: 28px; }
  .travail__reperes { order: 4; margin-bottom: 0; }
  .travail__photos { order: 5; margin: 0 calc(-1 * var(--marge)); }
  .travail__recit { order: 6; }
  .travail__recit p { font-size: 16px; }
  .travail__recit p:first-child { font-size: 17px; }
  .bande { --h: 280px; padding: 0 var(--marge); scroll-padding-inline: var(--marge); gap: 6px; }
  .bande--une { padding: 0; }
  .bande--une a { border-left: 0; border-right: 0; }
  .bande--une img { max-height: 70vh; }
  .bande-nav { padding: 0 var(--marge); }
  .filtre { gap: 6px; }
  .filtre__etiq { width: 100%; margin: 0 0 4px; }
  .filtre__choix { padding: 9px 11px; font-size: 11px; }
  .derniers__liste, .derniers__liste--2, .derniers__liste--1 { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .derniers__liste--1 .dernier a { display: flex; }
  .derniers__liste--1 .dernier__photo img { aspect-ratio: 4 / 3; }
  .derniers__liste--1 .dernier__texte { padding: 18px 20px 20px; }
  .derniers__liste--1 .dernier__titre { font-size: 26px; }
  .derniers__tous { display: none; }
  .derniers__pied { display: block; }
}
