/* Toiture CGR · aperçu Vixya. Le rouge et le noir du logo, l'argent de la tôle, le bleu du ciel de ses photos. */
@font-face { font-family: "League Spartan"; src: url("polices/league-spartan.woff2") format("woff2"); font-weight: 500 900; font-display: swap; }
@font-face { font-family: "Radio Canada"; src: url("polices/radio-canada.woff2") format("woff2"); font-weight: 300 700; font-stretch: 100%; font-display: swap; }

:root {
  --anthracite: #1A1C1B;
  --ardoise: #2A2E30;
  --nuit: #121413;
  --rouge: #C8161A;
  --rouge-fonce: #9E1013;
  --rouge-vif: #F2484B;
  --zinc: #D8DDE0;
  --zinc-clair: #EEF1F2;
  --acier: #9AA4AA;
  --chaux: #FAFAF8;
  --ciel: #2F78C8;
  --ciel-clair: #9FC8EE;
  --gris: #4F575B;
  --titres: "League Spartan", "Arial Black", system-ui, sans-serif;
  --corps: "Radio Canada", system-ui, -apple-system, "Segoe UI", sans-serif;
  --g: clamp(20px, 5vw, 64px);
  --section: clamp(68px, 10vw, 136px);
  --pignon: clamp(46px, 8.5vw, 132px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--nuit); color: #fff; font: 400 17px/1.55 var(--corps); overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--titres); margin: 0; text-wrap: balance; }
p { margin: 0; }
blockquote { margin: 0; }
cite { font-style: normal; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--rouge-vif); outline-offset: 3px; }

.evitement { position: absolute; left: 12px; top: -80px; z-index: 100; padding: 12px 16px; background: #fff; color: var(--anthracite); border-radius: 8px; font-weight: 700; }
.evitement:focus { top: 12px; }
.cadre { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--g); }

.surtitre { font: 700 16px/1.3 var(--corps); letter-spacing: .14em; text-transform: uppercase; color: var(--rouge-vif); margin-bottom: 14px; }
h2 { font-size: clamp(31px, 5.6vw, 62px); font-weight: 800; line-height: 1.02; letter-spacing: -.012em; max-width: 21ch; }

/* — boutons — */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 54px; padding: 0 22px; border-radius: 8px; border: 2px solid transparent; font: 700 17px/1.15 var(--titres); letter-spacing: .01em; text-decoration: none; text-align: center; transition: background-color .2s, color .2s, transform .2s, box-shadow .2s; }
.bouton svg { width: 21px; height: 21px; flex: none; }
.bouton span { padding-top: 2px; }
.bouton-rouge { background: var(--rouge); color: #fff; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .22), 0 10px 24px -12px rgba(200, 22, 26, .8); }
.bouton-rouge:hover { background: var(--rouge-fonce); transform: translateY(-1px); }
.bouton-trait { border-color: currentColor; color: inherit; }
.bouton-trait:hover { background: rgba(255, 255, 255, .1); }
.bouton-sombre { background: var(--anthracite); color: #fff; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .35); }
.bouton-sombre:hover { background: #000; transform: translateY(-1px); }

/* — en-tête — */
.entete { position: relative; z-index: 40; display: flex; align-items: center; gap: 12px; padding: 10px var(--g); background: var(--anthracite); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.marque { display: inline-grid; justify-items: start; text-decoration: none; color: #fff; line-height: 1; }
.marque-toit { width: 0; min-width: 100%; height: auto; aspect-ratio: 649 / 98; fill: var(--rouge); margin-bottom: 3px; }
.marque-nom { font: 800 16px/1 var(--titres); letter-spacing: .15em; white-space: nowrap; padding-top: 2px; }
.marque-sous { font: 500 10.5px/1.2 var(--corps); letter-spacing: .08em; color: #C7CCCF; margin-top: 3px; white-space: nowrap; }
.apercu { font: 700 12.5px/1 var(--corps); letter-spacing: .12em; text-transform: uppercase; padding: 7px 10px; border: 1.5px solid rgba(255, 255, 255, .45); border-radius: 999px; color: #E6E9EA; white-space: nowrap; cursor: help; }
.menu { display: none; }
.entete-tel { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 50px; padding: 0 16px; border-radius: 8px; background: var(--rouge); color: #fff; font: 700 16px/1 var(--titres); text-decoration: none; white-space: nowrap; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .22); }
.entete-tel svg { width: 19px; height: 19px; flex: none; }
.entete-tel span { padding-top: 2px; }
.tel-long { display: none; }
@media (min-width: 420px) { .tel-long { display: inline; } .tel-court { display: none; } }
@media (max-width: 419px) { .entete { gap: 8px; } .marque-sous { font-size: 9.5px; letter-spacing: .03em; } .apercu { font-size: 11.5px; padding: 6px 8px; letter-spacing: .1em; } .entete-tel { padding: 0 14px; } .entete-tel svg { display: none; } }
@media (max-width: 350px) { .entete { gap: 6px; } .marque-nom { font-size: 13.5px; letter-spacing: .1em; } .marque-sous { font-size: 8.8px; letter-spacing: 0; } .apercu { font-size: 10.5px; padding: 5px 6px; letter-spacing: .06em; } .entete-tel { padding: 0 11px; font-size: 15px; } }

/* — haut de page — */
.haut { position: relative; display: flex; flex-direction: column; padding-bottom: calc(var(--section) * .7); overflow-x: clip;
  background:
    radial-gradient(70% 50% at 70% 30%, rgba(200, 22, 26, .22), transparent 70%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .028) 0 2px, transparent 2px 30px),
    var(--anthracite); }
.maison { position: relative; margin: 14px 0 0; height: clamp(240px, calc(100svh - 406px), 470px); }
.maison-photo { position: absolute; inset: 0; clip-path: polygon(0 31%, 34% 0, 49.5% 0, 100% 31%, 100% 100%, 0 100%); overflow: hidden; background: #3B6FA8; }
.maison-photo img { position: absolute; left: 0; top: -6%; width: 100%; height: 112%; object-fit: cover; object-position: 64% 50%; }
.maison-toit { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: none; stroke: var(--rouge); stroke-linejoin: miter; stroke-miterlimit: 8; pointer-events: none; }
.pan-gauche { stroke-width: 22px; }
.pan-droit { stroke-width: 8px; }
.maison-couvreur { position: absolute; width: 46px; height: auto; aspect-ratio: 58 / 51; left: calc(72% - 37px); top: calc(13.9% - 44px); fill: var(--rouge); }
.maison-photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 34%; background: linear-gradient(180deg, rgba(18, 20, 19, 0), rgba(18, 20, 19, .62)); pointer-events: none; }
.maison-note { position: absolute; left: var(--g); right: var(--g); bottom: 14px; display: flex; align-items: center; gap: 8px; margin: 0; font: 600 15px/1.2 var(--corps); letter-spacing: .12em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .45); }
.maison-note svg { width: 17px; height: 17px; flex: none; color: #F5B921; }
.maison-note strong { font-weight: 800; letter-spacing: .06em; }
.haut-texte { display: flex; flex-direction: column; padding: 22px var(--g) 0; }
.haut .surtitre { margin-bottom: 10px; }
.haut h1 { font-size: clamp(34px, 8.8vw, 76px); font-weight: 800; line-height: 1.01; letter-spacing: -.018em; max-width: 15ch; }
.haut h1 em { font-style: normal; color: var(--rouge-vif); }
.haut-chapo { order: 3; margin-top: 22px; font-size: 18px; color: #DADFE1; max-width: 38em; }
.haut-actions { order: 2; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.haut-actions .bouton { flex: 1 1 100%; }
@media (max-width: 760px) { .haut-actions .bouton-trait { display: none; } }
.haut-preuves { order: 4; display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 22px 0 0; padding: 0; }
.haut-preuves li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; font-size: 16px; color: #E8EBEC; background: rgba(255, 255, 255, .04); }
.haut-preuves svg { width: 18px; height: 18px; color: var(--rouge-vif); }
.haut-preuves strong { font-weight: 700; color: #fff; }

/* — nos travaux, sur la tôle — */
.travaux { position: relative; color: var(--anthracite); padding: calc(var(--section) * .9) 0 var(--section);
  background:
    linear-gradient(100deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 32%, rgba(255, 255, 255, .3) 58%, rgba(255, 255, 255, 0) 84%),
    repeating-linear-gradient(90deg, #D6DCDF 0 28px, #BAC2C6 28px 30px, #F4F7F8 30px 33px, #E0E5E7 33px 41px, #C9D0D3 41px 43px, #D6DCDF 43px 60px);
  background-color: #D8DDE0; }
.travaux::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 12px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='16'%3E%3Cpath d='M0 0H60V11H47L43 2H32L28 11H0Z' fill='%231A1C1B'/%3E%3C/svg%3E") repeat-x 0 0 / 60px 11px; }
.travaux .surtitre { color: var(--rouge); }
.travaux h2 { max-width: 19ch; }
.vedette { margin-top: clamp(36px, 5vw, 70px); }
.vedette-texte h3 { font-size: clamp(28px, 3.8vw, 46px); font-weight: 800; line-height: 1.02; letter-spacing: -.012em; max-width: 18ch; }
.vedette-texte p { margin-top: 10px; font-size: 17.5px; color: #2E3437; max-width: 34em; }
.vedette-texte .travail-avis { margin-top: 18px; }
.travail-avis { position: relative; padding: 14px 16px 14px 18px; background: rgba(250, 250, 248, .82); border-left: 4px solid var(--rouge); border-radius: 2px 8px 8px 2px; }
.travail-avis p { margin: 0; font-size: 16.5px; line-height: 1.45; color: #22282A; }
.travail-avis cite { display: block; margin-top: 6px; font-size: 15px; font-weight: 700; color: var(--rouge-fonce); }
.bande-photo { position: relative; margin: 26px 0 0; height: clamp(250px, 66vw, 640px); overflow: hidden; background: #3B6FA8; }
.bande-photo img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; object-position: 50% 45%; }
.bande-photo::after, .cote-photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%; background: linear-gradient(180deg, rgba(18, 20, 19, 0), rgba(18, 20, 19, .6)); pointer-events: none; }
.bande-photo figcaption, .cote-photo figcaption { position: absolute; z-index: 1; left: var(--g); right: var(--g); bottom: 14px; font: 600 15px/1.25 var(--corps); letter-spacing: .12em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .45); }
.vedette-grille { display: grid; gap: 22px; }
.cote-photo { position: relative; order: 2; margin: 4px 0 0; border-radius: 10px; overflow: hidden; }
.cote-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.aussi-zone { margin-top: clamp(44px, 6vw, 84px); }
.aussi-titre { font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; line-height: 1.1; }
.aussi { list-style: none; margin: 16px 0 0; padding: 0; border-top: 2px solid rgba(26, 28, 27, .85); }
.aussi li { padding: 16px 0 18px; border-bottom: 1px solid rgba(26, 28, 27, .28); }
.aussi h4 { margin: 0; font: 800 20px/1.15 var(--titres); }
.aussi h4::before { content: ""; display: inline-block; width: 18px; height: 8px; margin-right: 10px; vertical-align: .18em; background: var(--rouge); clip-path: polygon(0 100%, 50% 0, 100% 100%, 82% 100%, 50% 38%, 18% 100%); }
.aussi p { margin-top: 6px; font-size: 16.5px; color: #2E3437; }
.travaux-pied { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 34px; }
.travaux-pied p { font: 700 clamp(20px, 2.4vw, 26px)/1.2 var(--titres); max-width: 26ch; }

/* — le chantier, sous le ciel — */
.chantier { position: relative; padding: var(--section) 0; color: #fff;
  background: radial-gradient(90% 40% at 20% 0%, rgba(159, 200, 238, .35), transparent 70%), var(--ciel); }
.chantier .surtitre { color: #DDEEFF; }
.chantier h2 { max-width: 22ch; }
.chantier-corps { margin-top: clamp(28px, 4vw, 56px); }
.scene-colle { position: sticky; top: 0; z-index: 3; margin-inline: calc(-1 * var(--g)); padding: 10px var(--g) 14px; background: var(--ciel); }
.scene-cadre { max-width: min(100%, calc(40svh * 4 / 3)); margin-inline: auto; border-radius: 14px; overflow: hidden; box-shadow: 0 18px 40px -20px rgba(10, 30, 60, .7), 0 0 0 1px rgba(255, 255, 255, .25); background: #CFE6F8; }
.scene { width: 100%; height: auto; aspect-ratio: 4 / 3; }
.scene .vieille, .scene .tas, .scene .echelle, .scene .loupe { opacity: 0; }
.etapes { list-style: none; margin: 0; padding: 0; }
.etape { position: relative; padding: 26px 0 34px; border-top: 1px solid rgba(255, 255, 255, .3); min-height: 44svh; transition: opacity .4s; }
.js .etape { opacity: .45; }
.js .etape.actif, .sans-anim .etape { opacity: 1; }
.etape-num { display: block; font: 900 64px/0.9 var(--titres); color: transparent; -webkit-text-stroke: 2px #fff; margin-bottom: 10px; }
.etape h3 { font-size: clamp(25px, 3vw, 34px); font-weight: 800; line-height: 1.05; }
.etape > p { margin-top: 10px; font-size: 17.5px; color: #EAF3FC; max-width: 32em; }
.etape blockquote { margin-top: 16px; padding: 14px 16px; border-radius: 10px; background: rgba(10, 40, 80, .28); }
.etape blockquote p { font-size: 16.5px; line-height: 1.45; }
.chantier-appel { margin-top: 30px; display: grid; gap: 16px; }
.chantier-appel p { font: 700 clamp(21px, 2.4vw, 28px)/1.2 var(--titres); max-width: 26ch; }
.chantier-boutons { display: flex; flex-wrap: wrap; gap: 10px; }
.chantier-boutons .bouton { flex: 1 1 260px; }
@media (min-width: 980px) { .chantier-appel { grid-template-columns: 1fr auto; align-items: center; margin-top: 50px; padding-top: 34px; border-top: 1px solid rgba(255, 255, 255, .3); } .chantier-boutons .bouton { flex: 0 1 auto; } }
.etape cite { display: block; margin-top: 6px; font-size: 15px; font-weight: 700; color: #CFE5FA; }

/* — photos, sur l'ardoise — */
.photos { position: relative; padding: var(--section) 0 calc(var(--section) * .6 + var(--pignon)); color: #fff;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 10px), var(--ardoise); }
.photos h2 { max-width: 22ch; }
.mosaique-zone { margin-top: clamp(28px, 4vw, 52px); }
.mosaique { display: flex; gap: 12px; list-style: none; margin: 0; padding: 4px var(--g) 8px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--g); scrollbar-width: none; overscroll-behavior-x: contain; }
.mosaique::-webkit-scrollbar { display: none; }
.mosaique li { flex: 0 0 84%; scroll-snap-align: start; }
.mosaique figure { margin: 0; }
.mosaique img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; background: #3A4044; }
.mosaique figcaption { margin-top: 10px; font-size: 16px; color: #D8DDE0; }
.mosaique-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 18px; }
.fleche { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .55); background: transparent; color: #fff; cursor: pointer; }
.fleche svg { width: 22px; height: 22px; }
.fleche-g svg { transform: rotate(180deg); }
.fleche:hover { background: rgba(255, 255, 255, .1); }
.mosaique-compte { min-width: 4.5em; text-align: center; font: 700 17px/1 var(--titres); letter-spacing: .06em; }
.photos-source { margin-top: 18px; font-size: 15px; color: #AEB6BA; }

/* — avis, sous le toit du logo : crépi, citation géante, avis posés sur une photo et sur une tôle — */
.avis { position: relative; z-index: 2; margin-top: calc(-1 * var(--pignon)); padding: calc(var(--pignon) + clamp(44px, 6vw, 84px)) 0 var(--section); color: var(--anthracite); isolation: isolate; }
.avis::before { content: ""; position: absolute; inset: 0; z-index: -1; clip-path: polygon(0 var(--pignon), 34% 0, 49.5% 0, 100% var(--pignon), 100% 100%, 0 100%);
  background: radial-gradient(70% 40% at 78% 8%, rgba(255, 255, 255, .75), transparent 70%), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .32 0 0 0 0 .28 0 0 0 0 .24 0 0 0 .10 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E"), #ECE7DF; }
.avis-toit { position: absolute; left: 0; top: 0; width: 100%; height: var(--pignon); overflow: visible; fill: none; stroke: var(--rouge); stroke-linejoin: miter; stroke-miterlimit: 8; pointer-events: none; }
.avis-couvreur { position: absolute; z-index: 1; width: clamp(40px, 4.4vw, 64px); height: auto; aspect-ratio: 58 / 51; left: 72%; top: calc(var(--pignon) * .4455 - 4px); transform: translate(-79%, -98%); fill: var(--rouge); }
.avis .surtitre { color: var(--rouge); }
.avis-tete { display: grid; gap: 22px; }
.avis h2 { max-width: 20ch; }
.avis-note { display: grid; grid-template-columns: auto 1fr; align-items: end; column-gap: 14px; }
.avis-chiffre { grid-row: span 2; font: 900 clamp(96px, 15vw, 200px)/0.8 var(--titres); letter-spacing: -.035em; color: var(--rouge); }
.avis-etoiles { display: flex; gap: 3px; color: #E9A812; }
.avis-etoiles svg { width: 22px; height: 22px; }
.avis-total { font-size: 17px; font-weight: 600; color: var(--gris); padding-bottom: 6px; }
.avis-geant { margin-top: clamp(48px, 8vw, 120px); }
.avis-geant p { font: 800 clamp(42px, 10.6vw, 136px)/0.96 var(--titres); letter-spacing: -.028em; max-width: 12.5ch; color: var(--anthracite); }
.avis-geant em { font-style: normal; color: var(--rouge); }
/* les masques de lignes se chevauchent d'autant qu'ils débordent : l'interligne reste celui du texte */
.avis-geant p > div[style*="clip"] + div[style*="clip"] { margin-top: -.28em; }
.avis-geant cite { display: flex; align-items: center; gap: 12px; margin-top: 22px; font: 700 17px/1 var(--corps); color: var(--rouge-fonce); }
.avis-geant cite::before { content: ""; width: 34px; height: 3px; background: var(--rouge); }
.avis-duo { display: grid; gap: 30px; margin-top: clamp(48px, 7vw, 100px); }
.avis-photo { position: relative; margin: 0; border-radius: 10px; overflow: hidden; background: #9DB9D6; }
.avis-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 56% 40%; }
.avis-photo blockquote { position: absolute; left: 0; right: 0; bottom: 0; padding: 70px 20px 18px; background: linear-gradient(180deg, rgba(18, 20, 19, 0), rgba(18, 20, 19, .82) 46%); color: #fff; }
.avis-photo blockquote p { font: 600 clamp(19px, 1.9vw, 24px)/1.22 var(--titres); }
.avis-photo cite { display: block; margin-top: 10px; font: 600 15px/1.2 var(--corps); letter-spacing: .12em; text-transform: uppercase; color: #F1F3F4; }
.avis-long { position: relative; padding-top: 30px; }
.avis-long::before { content: ""; position: absolute; top: 0; left: 0; width: 46px; height: 16px; background: var(--rouge); clip-path: polygon(0 100%, 34% 0, 49.5% 0, 100% 100%, 92% 100%, 49.5% 30%, 17% 100%); }
.avis-long p { font: 500 clamp(21px, 2.2vw, 28px)/1.3 var(--titres); letter-spacing: -.005em; }
.avis-long cite { display: block; margin-top: 14px; font-size: 16px; font-weight: 700; color: var(--rouge-fonce); }
.avis-bande { position: relative; margin-top: clamp(56px, 8vw, 110px); padding: 26px 0 22px;
  background: linear-gradient(100deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, 0) 35%, rgba(255, 255, 255, .3) 62%, rgba(255, 255, 255, 0) 88%), repeating-linear-gradient(90deg, rgba(255, 255, 255, .22) 0 1px, transparent 1px 7px), linear-gradient(180deg, #E4E9EC, #C9D0D4); }
.avis-bande::before, .avis-bande::after { content: ""; position: absolute; left: 0; right: 0; height: 11px; }
.avis-bande::before { top: -1px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='16'%3E%3Cpath d='M0 0H60V11H47L43 2H32L28 11H0Z' fill='%23ECE7DF'/%3E%3C/svg%3E") repeat-x 0 0 / 60px 11px; }
.avis-bande::after { bottom: -1px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='16'%3E%3Cpath d='M0 16H60V5H47L43 14H32L28 5H0Z' fill='%23ECE7DF'/%3E%3C/svg%3E") repeat-x 0 100% / 60px 11px; }
.bande-toles { display: flex; list-style: none; margin: 0; padding: 0 var(--g); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--g); scrollbar-width: none; overscroll-behavior-x: contain; }
.bande-toles::-webkit-scrollbar { display: none; }
.bande-toles::after { content: ""; flex: 0 0 var(--g); }
.bande-toles li { position: relative; flex: 0 0 min(82vw, 400px); scroll-snap-align: start; padding: 30px 26px 30px 36px; }
.bande-toles li::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 15px;
  background: radial-gradient(circle at 50% 14px, #6F7A80 0 2.6px, transparent 3.2px), radial-gradient(circle at 50% calc(100% - 14px), #6F7A80 0 2.6px, transparent 3.2px), linear-gradient(90deg, #A3ADB3 0 2px, #F8FAFB 2px 6px, #DCE2E5 6px 10px, #9AA4AA 10px 15px); }
.bande-toles li:last-child { border-right: 15px solid #B5BEC3; border-image: linear-gradient(90deg, #A3ADB3 0 2px, #F8FAFB 2px 6px, #DCE2E5 6px 10px, #9AA4AA 10px 15px) 1; }
.bande-toles p { font-size: 17.5px; line-height: 1.5; color: #22282A; }
.bande-toles cite { display: block; margin-top: 12px; font-size: 15px; font-weight: 700; color: var(--rouge-fonce); }
.bande-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 16px; }
.bande-nav .fleche { border-color: rgba(26, 28, 27, .55); color: var(--anthracite); }
.bande-nav .fleche:hover { background: rgba(26, 28, 27, .08); }
.bande-compte { min-width: 4.5em; text-align: center; font: 700 17px/1 var(--titres); letter-spacing: .06em; }
.avis-fin { margin-top: clamp(44px, 6vw, 80px); }
.avis-courts { list-style: none; margin: 0; padding: 0; border-top: 2px solid rgba(26, 28, 27, .85); }
.avis-courts li { padding: 16px 0 18px; border-bottom: 1px solid rgba(26, 28, 27, .25); }
.avis-courts p { font-size: 17px; line-height: 1.5; }
.avis-courts cite { display: block; margin-top: 6px; font-size: 15px; font-weight: 700; color: var(--rouge-fonce); }
.avis .lien-google { color: var(--anthracite); }
.lien-google { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; margin-top: 26px; font: 700 18px/1 var(--titres); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.lien-google svg { width: 20px; height: 20px; }

/* — devis, sur la chaux quadrillée — */
.devis { padding: var(--section) 0; color: var(--anthracite);
  background: linear-gradient(#E4E8EA 1px, transparent 1px) 0 0 / 28px 28px, linear-gradient(90deg, #E4E8EA 1px, transparent 1px) 0 0 / 28px 28px, var(--chaux); }
.devis .surtitre { color: var(--rouge); }
.devis-grille { display: grid; gap: 30px; }
.devis-aide { margin-top: 16px; font-size: 17px; color: var(--gris); max-width: 34em; }
.devis-numero { display: block; margin-bottom: 18px; font: 800 clamp(32px, 9vw, 46px)/1.05 var(--titres); color: #fff; text-decoration: none; white-space: nowrap; }
.devis-apercu { align-self: start; padding: 22px 20px; border-radius: 16px; background: var(--anthracite); color: #fff; box-shadow: 0 24px 50px -28px rgba(0, 0, 0, .6); }
.apercu-titre { font: 800 20px/1.1 var(--titres); margin-bottom: 14px; }
.bulle { position: relative; padding: 14px 16px; border-radius: 18px 18px 4px 18px; background: #2F78C8; transition: transform .25s; }
.bulle p { font-size: 17px; line-height: 1.45; overflow-wrap: anywhere; }
.apercu-dest { margin-top: 10px; font-size: 15px; color: #B9C1C5; }
.apercu-actions { display: grid; gap: 10px; margin-top: 18px; }
.apercu-actions .bouton-sombre { background: #2E3234; }

/* — nous joindre — */
.contact { position: relative; padding: var(--section) 0; overflow: hidden;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 30px), var(--anthracite); }
.contact::after { content: ""; position: absolute; right: -4%; bottom: 0; width: min(90vw, 900px); aspect-ratio: 649 / 98; opacity: .14; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 649 98'%3E%3Cpolygon points='0,97.5 220,1 316,1 649,97.5 625,97.5 316,10 112,97.5' fill='%23C8161A'/%3E%3C/svg%3E") no-repeat center / contain; }
.contact-grille { position: relative; z-index: 1; display: grid; gap: 36px; }
.contact h2 { max-width: 17ch; }
.etat { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, .08); font-size: 16.5px; font-weight: 600; }
.etat[hidden] { display: none; }
.etat-point { width: 11px; height: 11px; border-radius: 50%; background: #8A9398; flex: none; }
.etat.ouvert .etat-point { background: #43C26F; box-shadow: 0 0 0 4px rgba(67, 194, 111, .22); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.contact-actions .bouton { flex: 1 1 260px; }
.semaine { list-style: none; margin: 0; padding: 0; align-self: center; }
.semaine li { display: grid; grid-template-columns: 6.2em 1fr 6.4em; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); font-size: 16.5px; color: #D7DCDE; }
.semaine li > span:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.semaine .barre { position: relative; height: 10px; border-radius: 5px; background: rgba(255, 255, 255, .09); overflow: hidden; }
.semaine .barre i { position: absolute; top: 0; bottom: 0; left: calc(var(--d) / 24 * 100%); width: calc((var(--f) - var(--d)) / 24 * 100%); border-radius: 5px; background: var(--rouge); transform-origin: left center; }
.semaine li.ferme { color: #8E979B; }
.semaine li.aujourdhui { color: #fff; font-weight: 700; }
.semaine li.aujourdhui > span:first-child { position: relative; }
.semaine li.aujourdhui > span:first-child::before { content: ""; position: absolute; left: -14px; top: 50%; width: 7px; height: 7px; margin-top: -4px; border-radius: 50%; background: var(--rouge-vif); }
.contact-infos { display: grid; gap: 22px; }
.info { display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: start; }
.info svg { width: 28px; height: 28px; color: var(--rouge-vif); margin-top: 2px; }
.info-titre { font: 800 20px/1.2 var(--titres); color: #fff; margin-bottom: 4px; }
.info p:not(.info-titre) { color: #C9CFD2; }
.info a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: #fff; text-underline-offset: 4px; }

/* — pied — */
.pied { background: var(--nuit); color: #fff; padding: clamp(56px, 8vw, 110px) 0 calc(26px); }
.pied-logo { position: relative; width: min(100% - 2 * var(--g), 1100px); margin-inline: auto; text-align: center; }
.pied-toit { width: 100%; height: auto; aspect-ratio: 649 / 98; fill: var(--rouge); }
.pied-couvreur { position: absolute; width: 7.5%; height: auto; aspect-ratio: 58 / 51; left: 70%; top: 0; margin-top: 1.5%; fill: var(--rouge); }
.pied-nom { margin-top: 2.2%; font: 800 clamp(34px, 9.4vw, 136px)/0.9 var(--titres); letter-spacing: .07em; white-space: nowrap; padding-left: .07em; }
.pied-sous { margin-top: 12px; font: 600 clamp(13px, 1.4vw, 17px)/1.3 var(--corps); letter-spacing: .14em; text-transform: uppercase; color: #AEB6BA; }
.pied-bas { margin-top: clamp(40px, 6vw, 70px); padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); display: grid; gap: 10px; font-size: 16px; color: #C9CFD2; }
.pied-bas a { color: #fff; }
.pied-mention { font-size: 15px; color: #98A1A5; }

/* — barre d'appel collante (procédé), téléphone seulement — */
.barre-appel { display: none; }
@media (max-width: 760px) {
  :root { --barre-h: 67px; }
  .barre-appel { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px;
    padding: 8px max(12px, env(safe-area-inset-right, 0px)) calc(8px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
    background: var(--anthracite); border-top: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 -8px 24px -12px rgba(0, 0, 0, .5); transition: transform .25s ease, visibility .25s; }
  .barre-appel a { display: flex; align-items: center; justify-content: center; gap: .5em; min-height: 50px; padding: 0 12px; border: 2px solid var(--rouge); border-radius: 8px; background: var(--rouge); color: #fff; font: 700 16.5px/1.1 var(--titres); text-decoration: none; }
  .barre-appel a:not(:first-child) { background: transparent; border-color: rgba(255, 255, 255, .7); color: #fff; }
  .barre-appel svg { width: 1.25em; height: 1.25em; flex: none; }
  body:has(.barre-appel) { padding-bottom: calc(var(--barre-h) + env(safe-area-inset-bottom, 0px)); }
  html:has(.barre-appel) { scroll-padding-bottom: calc(var(--barre-h) + env(safe-area-inset-bottom, 0px) + 16px); }
  body:has(:is(input:not([type=checkbox], [type=radio]), textarea):focus) .barre-appel { transform: translateY(105%); visibility: hidden; }
}

/* — apparitions (GSAP ; secours sans script après 3 s) — */
.js [data-apparait] { opacity: 0; animation: secours 0s linear 3s forwards; }
.js [data-apparait].vu { animation: none; }
@keyframes secours { to { opacity: 1; } }

/* — titre découpé (procédé) — */
.js [data-titre-decoupe]:not(.pret) { visibility: hidden; animation: td-secours 0s linear 3s forwards; }
@keyframes td-secours { to { visibility: visible; } }
[data-titre-decoupe] > div[style*="clip"] { padding-block: 0.14em; margin-block: -0.14em; }

/* — tablette — */
@media (min-width: 640px) {
  .haut-actions .bouton { flex: 0 1 auto; }
}

/* — ordinateur — */
@media (min-width: 980px) {
  .entete { position: sticky; top: 0; gap: 22px; padding-block: 12px; background: rgba(26, 28, 27, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  .marque-nom { font-size: 18px; }
  .menu { display: flex; gap: 6px; margin-left: auto; }
  .menu a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 6px; text-decoration: none; font: 600 16.5px/1 var(--corps); color: #E3E7E8; }
  .menu a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
  .entete-tel { margin-left: 8px; }

  .haut { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); align-items: center; column-gap: clamp(30px, 4vw, 70px); padding: clamp(40px, 5vw, 70px) var(--g) clamp(80px, 8vw, 120px); max-width: none; }
  .haut-texte { order: 1; padding: 0; max-width: 640px; justify-self: end; width: 100%; }
  .maison { order: 2; height: min(640px, 72svh); margin: 22px 0 0; max-width: 680px; width: 100%; }
  .pan-gauche { stroke-width: 30px; }
  .pan-droit { stroke-width: 11px; }
  .maison-couvreur { width: 62px; left: calc(72% - 50px); top: calc(13.9% - 58px); }
  .maison-note { left: 26px; bottom: 22px; font-size: 16px; }
  .haut-chapo { order: 2; margin-top: 24px; }
  .haut-actions { order: 3; margin-top: 30px; }
  .haut-preuves { order: 4; margin-top: 28px; }

  .vedette-large .vedette-texte { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); column-gap: 60px; align-items: end; }
  .vedette-large .vedette-texte .travail-avis { margin-top: 0; }
  .bande-photo { height: clamp(420px, 46vw, 680px); margin-top: 34px; }
  .bande-photo figcaption { left: max(var(--g), calc((100vw - 1280px) / 2 + var(--g))); bottom: 24px; font-size: 16px; }
  .vedette-grille { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
  .cote-photo { order: 0; margin: 0; }
  .cote-photo figcaption { left: 20px; right: 20px; bottom: 18px; font-size: 16px; }
  .aussi { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid rgba(26, 28, 27, .28); }
  .aussi li { padding: 22px 28px 26px; border-bottom: 0; border-left: 1px solid rgba(26, 28, 27, .28); }
  .aussi li:first-child { padding-left: 0; border-left: 0; }

  .chantier-corps { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 5vw, 80px); align-items: start; }
  .scene-colle { order: 2; top: 110px; margin: 0; padding: 0; background: none; }
  .scene-cadre { max-width: none; border-radius: 18px; }
  .etapes { order: 1; }
  .etape { min-height: 50svh; padding: 34px 0 40px; }
  .etape-num { font-size: 88px; }

  .mosaique { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(190px, 17vw, 250px); gap: 14px; overflow: visible; max-width: 1280px; margin-inline: auto; padding: 0 var(--g); scroll-snap-type: none; }
  .mosaique li { min-width: 0; }
  .mosaique figure { position: relative; height: 100%; overflow: hidden; border-radius: 12px; }
  .mosaique img { height: 100%; aspect-ratio: auto; border-radius: 0; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
  .mosaique figure:hover img { transform: scale(1.045); }
  .mosaique figcaption { position: absolute; left: 12px; bottom: 12px; right: 12px; width: fit-content; max-width: calc(100% - 24px); margin: 0; padding: 7px 11px; border-radius: 6px; background: rgba(18, 20, 19, .74); font-size: 15px; line-height: 1.25; color: #F1F3F4; }
  .m1 { grid-column: 1 / span 2; grid-row: 1 / span 2; }
  .m2 { grid-column: 3; grid-row: 1 / span 2; }
  .m3 { grid-column: 4; grid-row: 1; }
  .m4 { grid-column: 4; grid-row: 2; }
  .m5 { grid-column: 1 / span 2; grid-row: 3; }
  .m6 { grid-column: 3 / span 2; grid-row: 3; }
  .mosaique-nav { display: none; }

  .avis-tete { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 40px; }
  .avis-geant p { font-size: min(8.2vw, 116px); max-width: 15em; }
  .avis-duo { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(40px, 5vw, 80px); align-items: center; }
  .avis-photo img { aspect-ratio: 4 / 3; }
  .avis-photo blockquote { padding: 90px 28px 24px; }
  .bande-toles li { padding: 34px 32px 34px 42px; }
  .avis-courts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid rgba(26, 28, 27, .25); }
  .avis-courts li { padding: 20px 28px 24px; border-bottom: 0; border-left: 1px solid rgba(26, 28, 27, .25); }
  .avis-courts li:first-child { padding-left: 0; border-left: 0; }

  .devis-grille { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); column-gap: clamp(40px, 5vw, 80px); row-gap: 40px; }
  .devis-tete h2 { max-width: 24ch; }
  .devis-apercu { align-self: center; padding: 30px; }

  .contact-grille { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(40px, 6vw, 100px); }
  .contact-infos { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; gap: 40px; padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, .12); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
  .js [data-apparait] { opacity: 1; animation: none; }
  .js [data-titre-decoupe]:not(.pret) { visibility: visible; animation: none; }
  .js .etape { opacity: 1; }
}
