/* style.css de la maquette v1, reprise sans retouche */
:root{--ground:#EFEFEC;--dark:#17181A;--paper:#F2F2EF;--ink:#2A2B2E;--mut:#55575B;--line:#CFCFCA;--dline:#34363A;--accent:#E4381F}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--ground);color:var(--dark);font-family:Archivo,system-ui,sans-serif;font-size:16px;line-height:1.5}img{display:block;max-width:100%}a{color:var(--dark)}a:hover{color:var(--mut)}button{font:inherit;cursor:pointer}input,textarea{font:inherit}blockquote,dl,figure,h1,h2,h3,p,ul{margin:0}.x{font-stretch:125%;font-variation-settings:"wdth" 125}.mono{font-family:'IBM Plex Mono',ui-monospace,monospace}.wrap{max-width:1440px;margin:0 auto;padding:0 clamp(16px,3.9vw,56px)}.cover{width:100%;height:100%;object-fit:cover}.plain{text-decoration:none;color:var(--dark)}.plain:hover{color:var(--mut)}.dark-link{text-decoration:none;color:var(--paper)}.dark-link:hover{color:#c9cbce}.eyebrow{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 24px;padding-bottom:14px;border-bottom:1px solid var(--line);font-family:'IBM Plex Mono',ui-monospace,monospace;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--mut)}.eyebrow .dot{display:flex;align-items:center;gap:10px}.eyebrow .dot i{width:8px;height:8px;background:var(--accent)}.sec-title{font-size:clamp(32px,4.4vw,64px);line-height:1;font-weight:600;letter-spacing:-.03em}.sec-title .thin{font-weight:300}.logo-mark{flex:0 0 auto}.btn-fill{display:inline-flex;align-items:center;gap:12px;min-height:52px;padding:0 24px;background:var(--dark);color:var(--paper);text-decoration:none;font-size:15px;font-weight:500}.btn-line{display:inline-flex;align-items:center;min-height:52px;padding:0 24px;border:1px solid var(--dark);color:var(--dark);text-decoration:none;font-size:15px;font-weight:500}.btn-paper{display:inline-flex;align-items:center;gap:12px;min-height:52px;padding:0 24px;background:var(--paper);color:var(--dark);text-decoration:none;font-size:15px;font-weight:600}.btn-ghost{display:inline-flex;align-items:center;min-height:52px;padding:0 24px;border:1px solid #4a4c51;color:var(--paper);text-decoration:none;font-size:15px;font-weight:500}header{position:sticky;top:0;z-index:50;background:var(--ground);border-bottom:1px solid var(--line)}.head{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:24px;padding:14px clamp(16px,3.9vw,56px)}.head-nav{grid-column:1;justify-self:start;display:flex;align-items:center;gap:28px;font-size:15px}.brand{grid-column:2;display:flex;flex-direction:column;align-items:center;gap:8px;line-height:1;text-align:center;text-decoration:none;color:var(--dark)}.brand .name{font-size:15px;font-weight:600;letter-spacing:.16em;text-transform:uppercase}.brand .tag{display:flex;align-items:center;gap:8px;font-family:'IBM Plex Mono',ui-monospace,monospace;font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--mut)}.brand .tag i{width:16px;height:1px;background:#9a9c9f}.head-end{grid-column:3;justify-self:end;display:flex;align-items:center;gap:24px;font-size:15px}.head-end>a{min-height:44px;align-items:center}.head-devis,.head-tel,.show-lg{display:inline-flex}.head-tel{font-family:'IBM Plex Mono',ui-monospace,monospace;font-size:13px;letter-spacing:.04em}.head-devis{padding:0 18px;background:var(--dark);color:var(--paper);text-decoration:none;font-size:14px;font-weight:500}.burger{display:none;width:44px;height:44px;align-items:center;justify-content:center;background:0 0;border:0;padding:0}.mnav{display:none;flex-direction:column;padding:0 clamp(16px,3.9vw,56px) 12px}.mnav a{padding:14px 0;border-top:1px solid var(--line);font-size:17px;text-decoration:none;color:var(--dark)}.mnav.open{display:flex}.hero{border-bottom:1px solid var(--line)}.wall{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:clamp(200px,21vw,320px);gap:6px;padding:6px 6px 0}.wall .tile{position:relative;overflow:hidden;background:#dad9d5}.wall .tile img{width:100%;height:100%;object-fit:cover;transition:transform .7s ease}.wall .tile:hover img{transform:scale(1.035)}.wall .cap{position:absolute;left:8px;bottom:8px;padding:6px 9px;background:var(--ground);color:var(--dark);font-family:'IBM Plex Mono',ui-monospace,monospace;font-size:11px;letter-spacing:.05em;text-transform:uppercase}.wall .cap b{color:var(--mut);font-weight:400}.wall .wide{grid-column:span 2}.hero-text{grid-column:span 2;grid-row:span 2;background:var(--dark);color:var(--paper);padding:clamp(24px,3.4vw,56px);display:flex;flex-direction:column;justify-content:space-between;gap:32px}.hero-text .eye{display:flex;align-items:center;gap:10px;font-family:'IBM Plex Mono',ui-monospace,monospace;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#a3a5a9}.hero-text .eye i{width:8px;height:8px;background:var(--accent)}.hero-text h1{font-size:clamp(30px,3.9vw,58px);line-height:1.04;font-weight:600;letter-spacing:-.03em}.hero-text h1 .thin{font-weight:300}.hero-text p{max-width:480px;font-size:17px;line-height:1.6;color:#c9cbce}.hero-text .cta{display:flex;flex-wrap:wrap;gap:12px}.hero-strip{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px 32px;padding:18px clamp(16px,3.9vw,56px);font-family:'IBM Plex Mono',ui-monospace,monospace;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--mut);max-width:1440px;margin:0 auto}.hero-strip a{text-decoration:none;color:var(--dark)}.sec{padding:clamp(64px,8vw,120px) 0}.sec-dark{background:var(--dark);color:var(--paper)}.sec-dark .eyebrow{border-color:var(--dline);color:#a3a5a9}.sec-alt{background:#e5e5e1}.xxl-cols{display:flex;flex-wrap:wrap;gap:56px 72px;margin-top:clamp(40px,4.4vw,64px)}.xxl-intro{flex:1 1 420px;min-width:0;display:flex;flex-direction:column;gap:28px}.xxl-intro h2{font-size:clamp(32px,4.4vw,64px);line-height:1;font-weight:600;letter-spacing:-.03em}.xxl-intro p.lead{max-width:520px;font-size:18px;line-height:1.6;color:#e4e4e0}.xxl-intro p.sub{max-width:520px;font-size:16px;line-height:1.6;color:#a3a5a9}.xxl-fig{display:flex;flex-wrap:wrap;align-items:flex-end;gap:16px;margin-top:8px}.xxl-fig .ph{width:220px;height:290px;overflow:hidden;background:#2a2b2e}.xxl-fig figcaption{max-width:200px;font-family:'IBM Plex Mono',ui-monospace,monospace;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:#a3a5a9}.sim{flex:1 1 480px;min-width:0;background:#202124;border:1px solid var(--dline);padding:clamp(20px,3vw,40px);display:flex;flex-direction:column;gap:28px}.sim-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px 16px}.sim-head h3{font-size:22px;font-weight:600;letter-spacing:-.01em}.sim-head span{font-family:'IBM Plex Mono',ui-monospace,monospace;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:#a3a5a9}.sim-pills{display:flex;flex-wrap:wrap;gap:8px}.pill{min-height:44px;padding:0 16px;background:0 0;color:var(--paper);border:1px solid #4a4c51;font-family:'IBM Plex Mono',ui-monospace,monospace;font-size:13px;letter-spacing:.04em}.pill[aria-pressed=true]{background:var(--paper);color:var(--dark);border-color:var(--paper)}.sim-body{display:flex;flex-wrap:wrap;gap:28px 36px;align-items:flex-start}.sim-diag{flex:1 1 260px;max-width:360px;display:flex;flex-direction:column;gap:10px}.sim-diag .grid{aspect-ratio:1/1;background:#e6e4df;outline:1px solid #0E0F10;display:grid}.sim-diag .grid div{box-shadow:inset 0 0 0 1px #2a2b2e}.sim-read{flex:1 1 180px;min-width:0;display:flex;flex-direction:column;gap:22px}.sim-read .lbl{font-family:'IBM Plex Mono',ui-monospace,monospace;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#a3a5a9}.sim-joints{font-size:clamp(44px,4.4vw,64px);line-height:1;font-weight:600;letter-spacing:-.03em}.sim-joints small{font-size:.42em;font-weight:400;margin-left:8px}.sim-bar{height:6px;background:var(--dline)}.sim-bar i{display:block;height:100%;background:var(--accent);transition:width .5s ease}.sim-stats{display:flex;flex-wrap:wrap;gap:16px 32px}.sim-stats .n{font-size:26px;font-weight:500}.sim-verdict{font-size:16px;line-height:1.5;color:#e4e4e0}.sim-note{padding-top:16px;border-top:1px solid var(--dline);font-family:'IBM Plex Mono',ui-monospace,monospace;font-size:11px;letter-spacing:.04em;color:#8e9095}.gal-top{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:28px 48px;margin:clamp(40px,4.4vw,64px) 0 32px}.gal-top h2{font-size:clamp(32px,4.4vw,64px);line-height:1;font-weight:600;letter-spacing:-.03em}.gal-top h2 .thin{font-weight:300}.filters{display:flex;flex-wrap:wrap;gap:8px}.filt{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 16px;background:0 0;color:var(--dark);border:1px solid #b9b9b4;font-size:14px;font-weight:500}.filt b{font-family:'IBM Plex Mono',ui-monospace,monospace;font-size:11px;font-weight:400;color:var(--mut)}.filt[aria-pressed=true]{background:var(--dark);color:var(--paper);border-color:var(--dark)}.filt[aria-pressed=true] b{color:#a3a5a9}.grid-gal{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));grid-auto-rows:clamp(104px,9vw,132px);grid-auto-flow:dense;gap:6px}.cell{position:relative;overflow:hidden;background:#dad9d5}.cell img{width:100%;height:100%;object-fit:cover;transition:transform .7s ease}.cell:hover img{transform:scale(1.035)}.cell figcaption{position:absolute;left:8px;bottom:8px;max-width:calc(100% - 16px);display:flex;flex-wrap:wrap;gap:2px 8px;padding:6px 9px;background:var(--ground);color:var(--dark);font-family:'IBM Plex Mono',ui-monospace,monospace;font-size:11px;line-height:1.35;letter-spacing:.05em;text-transform:uppercase}.cell figcaption b{color:var(--mut);font-weight:400}.gal-more{display:none;margin-top:16px;width:100%;min-height:48px;justify-content:center;align-items:center;background:0 0;color:var(--dark);border:1px solid var(--dark);font-size:15px;font-weight:500}.sf-cols{display:flex;flex-wrap:wrap;gap:48px 80px;margin-top:clamp(40px,4.4vw,64px)}.sf-fig{flex:0 1 440px;min-width:0;display:flex;flex-direction:column;gap:12px}.sf-fig .ph{height:clamp(380px,41vw,590px);overflow:hidden;background:#dad9d5}.sf-fig figcaption{font-family:'IBM Plex Mono',ui-monospace,monospace;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--mut)}.sf-body{flex:1 1 520px;min-width:0;display:flex;flex-direction:column;gap:32px}.sf-body h2{font-size:clamp(32px,4.4vw,64px);line-height:1;font-weight:600;letter-spacing:-.03em}.sf-body p.lead{max-width:620px;font-size:18px;line-height:1.6;color:var(--ink)}.sf-body p.note{max-width:620px;font-size:16px;line-height:1.6;color:var(--mut)}.sf-list{display:flex;flex-direction:column}.sf-list .row{display:flex;flex-wrap:wrap;gap:6px 24px;padding:18px 0;border-top:1px solid var(--line)}.sf-list .row:last-child{border-bottom:1px solid var(--line)}.sf-list .num{flex:0 0 40px;font-family:'IBM Plex Mono',ui-monospace,monospace;font-size:13px;color:var(--mut)}.sf-list .ttl{flex:1 1 200px;font-size:18px;font-weight:600}.sf-list .txt{flex:2 1 280px;font-size:15px;line-height:1.5;color:var(--mut)}.sf-quote{display:flex;gap:16px;align-items:flex-start}.sf-quote i{flex:0 0 10px;height:10px;margin-top:10px;background:var(--accent)}.sf-quote p{font-size:clamp(20px,2vw,28px);line-height:1.25;font-weight:500;letter-spacing:-.01em}.meth-top{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:20px 48px;margin:clamp(40px,4.4vw,64px) 0 48px}.meth-top h2{font-size:clamp(32px,4.4vw,64px);line-height:1;font-weight:600;letter-spacing:-.03em}.meth-top h2 .thin{font-weight:300}.meth-top p{max-width:440px;font-size:16px;line-height:1.6;color:var(--ink)}.meth-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:32px}.meth-grid .step{display:flex;flex-direction:column;gap:14px;padding-top:20px;border-top:2px solid var(--dark)}.meth-grid .num{font-family:'IBM Plex Mono',ui-monospace,monospace;font-size:13px;color:var(--mut)}.meth-grid h3{font-size:21px;font-weight:600;letter-spacing:-.01em}.meth-grid p{font-size:15px;line-height:1.55;color:var(--ink)}.rev-cols{display:flex;flex-wrap:wrap;gap:48px 72px;margin-top:clamp(40px,4.4vw,64px)}.rev-side{flex:0 1 340px;min-width:0;display:flex;flex-direction:column;gap:28px}.rev-side h2{font-size:clamp(32px,4.4vw,64px);line-height:1;font-weight:600;letter-spacing:-.03em}.rev-side h2 .thin{font-weight:300}.rev-score{display:flex;align-items:flex-end;gap:16px}.rev-score .big{font-size:clamp(72px,8vw,120px);line-height:.85;font-weight:600;letter-spacing:-.04em}.rev-score .meta{display:flex;flex-direction:column;gap:10px;padding-bottom:4px}.rev-score .meta span{font-family:'IBM Plex Mono',ui-monospace,monospace;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--mut)}.rev-side p{font-size:15px;line-height:1.55;color:var(--mut)}.rev-main{flex:1 1 600px;min-width:0;display:flex;flex-direction:column;gap:24px}.rev-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1px;padding:1px}.rev-card{outline:1px solid var(--line);background:var(--ground);padding:28px;display:flex;flex-direction:column;justify-content:space-between;gap:24px}.rev-card .top{display:flex;flex-direction:column;gap:14px}.rev-card blockquote{font-size:15.5px;line-height:1.6;color:var(--ink)}.rev-card figcaption{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:4px 12px;padding-top:14px;border-top:1px solid var(--line)}.rev-card .who{font-size:15px;font-weight:600}.rev-card .when{font-family:'IBM Plex Mono',ui-monospace,monospace;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--mut)}.rev-foot{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px 24px}.rev-more{min-height:44px;padding:0 18px;background:0 0;color:var(--dark);border:1px solid var(--dark);font-size:14px;font-weight:500}.rev-foot .disc{font-family:'IBM Plex Mono',ui-monospace,monospace;font-size:11px;letter-spacing:.04em;color:var(--mut)}.ct-cols{display:flex;flex-wrap:wrap;gap:56px 80px;margin-top:clamp(40px,4.4vw,64px)}.ct-side{flex:1 1 360px;min-width:0;display:flex;flex-direction:column;gap:28px}.ct-side h2{font-size:clamp(32px,4.4vw,64px);line-height:1;font-weight:600;letter-spacing:-.03em}.ct-side p{max-width:460px;font-size:18px;line-height:1.6;color:#e4e4e0}.ct-dl{display:flex;flex-direction:column}.ct-dl .row{display:flex;flex-wrap:wrap;gap:4px 24px;padding:16px 0;border-top:1px solid var(--dline)}.ct-dl .row:last-child{border-bottom:1px solid var(--dline)}.ct-dl dt{flex:0 0 120px;font-family:'IBM Plex Mono',ui-monospace,monospace;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#a3a5a9;padding-top:3px}.ct-dl dd{margin:0;flex:1 1 200px;font-size:17px;line-height:1.5}.ct-form-wrap{flex:1.2 1 520px;min-width:0;background:#202124;border:1px solid var(--dline);padding:clamp(20px,3vw,40px)}.ct-form{display:flex;flex-direction:column;gap:22px}.ct-row2{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:22px 16px}.field{display:flex;flex-direction:column;gap:8px}.field label,.ptype-lbl{font-family:'IBM Plex Mono',ui-monospace,monospace;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#a3a5a9}.field input,.field textarea{min-height:48px;padding:0 14px;background:var(--dark);color:var(--paper);border:1px solid #4a4c51;font-size:16px}.field textarea{padding:14px;line-height:1.5;resize:vertical;min-height:auto}.field input::placeholder,.field textarea::placeholder{color:#8e9095}.field input:focus,.field textarea:focus{outline:2px solid var(--paper);outline-offset:1px}.ptypes{display:flex;flex-wrap:wrap;gap:8px}.ptype{min-height:44px;padding:0 14px;background:0 0;color:var(--paper);border:1px solid #4a4c51;font-size:14px}.ptype[aria-pressed=true]{background:var(--paper);color:var(--dark);border-color:var(--paper)}.ct-submit-row{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px}.ct-file{display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:0 14px;border:1px dashed #6a6c71;color:#e4e4e0;font-size:14px;cursor:pointer}.ct-send{display:inline-flex;align-items:center;gap:12px;min-height:52px;padding:0 26px;background:var(--paper);color:var(--dark);border:0;font-size:15px;font-weight:600}.ct-fine{font-size:13px;line-height:1.5;color:#8e9095}.ct-done{min-height:420px;display:flex;flex-direction:column;justify-content:center;gap:20px}.ct-done .bar{width:48px;height:2px;background:var(--accent)}.ct-done .big{font-size:30px;line-height:1.15;font-weight:600}.ct-done p{max-width:420px;font-size:16px;line-height:1.6;color:#a3a5a9}.ct-again{align-self:flex-start;min-height:44px;padding:0 16px;background:0 0;color:var(--paper);border:1px solid #4a4c51;font-size:14px}.hidden{display:none!important}footer{background:var(--dark);color:var(--paper);border-top:1px solid var(--dline)}.foot{display:flex;flex-direction:column;gap:48px;padding:clamp(48px,6vw,88px) clamp(16px,3.9vw,56px) 32px;max-width:1440px;margin:0 auto}.foot .big{font-size:clamp(28px,5vw,64px);line-height:1;font-weight:600;letter-spacing:.04em;text-transform:uppercase}.foot-row{display:flex;flex-wrap:wrap;justify-content:space-between;gap:16px 32px;padding-top:20px;border-top:1px solid var(--dline);font-family:'IBM Plex Mono',ui-monospace,monospace;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:#a3a5a9}.foot-row a{color:#a3a5a9}.foot-row .links{display:flex;flex-wrap:wrap;gap:8px 24px}.callbar{display:none;position:sticky;bottom:0;z-index:40;gap:8px;padding:10px 16px;background:var(--ground);border-top:1px solid var(--line);box-shadow:0 -8px 24px rgba(23,24,26,.08)}.callbar a{flex:1 1 0;display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:48px;text-decoration:none;font-size:15px;font-weight:600}.callbar .call{border:1px solid var(--dark);color:var(--dark)}.callbar .devis{background:var(--dark);color:var(--paper)}@media (max-width:1200px){.head-tel{display:none}}@media (max-width:1040px){.head-nav,.show-lg{display:none}.burger{display:inline-flex}.wall{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:auto}.hero-text{grid-row:auto}.wall .tile{height:clamp(220px,36vw,320px)}.grid-gal{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (max-width:760px){.callbar{display:flex}.head-devis{display:none}}@media (max-width:640px){.grid-gal{grid-template-columns:repeat(2,minmax(0,1fr))}.hide-sm{display:none!important}.gal-more.show{display:inline-flex}.grid-gal.clip .cell.extra{display:none}.rev-grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px;padding:1px 1px 14px}.rev-grid .rev-card{flex:0 0 86%;scroll-snap-align:start}}

/* ---- additions de la v2 ---- */
/* ==========================================================================
   Arts & Carrelage, additions de la v2
   --------------------------------------------------------------------------
   Maquette v2 · STACKMIND · 17/11/2026

   Ce fichier ne contient QUE les ajouts de la v2 : style.css (v1) est repris
   sans la moindre retouche, et build.mjs concatène les deux. Tout ce qui
   suit est donc l'écart exact entre les deux maquettes, et reste auditable.

   Mêmes variables, mêmes polices, mêmes points de rupture que la v1
   (1200 / 1040 / 760 / 640 px).

   Sommaire
     1.  Utilitaires
     2.  Header : sous-menu Prestations
     3.  Fil d'Ariane et en-tête de page intérieure
     4.  Galerie en colonnes (accepte le portrait sans recadrage)
     5.  Visionneuse plein écran
     6.  Avant / après
     7.  Bloc signature (trois artisans)
     8.  Cartes prestations et zones
     9.  Pages prestations et zones : corps de texte
     10. Prescripteurs, partenaires
     11. Footer étendu
     12. Points de rupture
   ========================================================================== */

/* == 1. Utilitaires ====================================================== */

.pill-light {
  min-height: 44px;
  padding: 0 16px;
  background: 0 0;
  color: var(--dark);
  border: 1px solid var(--line);
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 13px;
  letter-spacing: .04em;
}

.pill-light[aria-pressed=true] {
  background: var(--dark);
  color: var(--paper);
  border-color: var(--dark);
}

.lede {
  max-width: 740px;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.6;
  color: var(--ink);
}

.sec-dark .lede { color: #e4e4e0 }

.prose {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 720px;
}

.prose h3 {
  margin-top: 14px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -.01em;
}

.prose p { font-size: 16.5px; line-height: 1.65; color: var(--ink) }
.prose p strong { font-weight: 600 }

.prose ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.prose li {
  position: relative;
  padding-left: 22px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
}

.prose li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  background: var(--accent);
}

/* == 2. Header : sous-menu Prestations =================================== */

.has-sub { position: relative; display: flex; align-items: center }

.sub-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 0;
  background: 0 0;
  border: 0;
  color: var(--dark);
  font-size: 15px;
}

.sub-toggle:hover { color: var(--mut) }
.sub-toggle svg { transition: transform .2s ease }
.has-sub.open .sub-toggle svg { transform: rotate(180deg) }

.sub-menu {
  position: absolute;
  top: 100%;
  left: -16px;
  z-index: 60;
  display: none;
  flex-direction: column;
  min-width: 290px;
  padding: 8px 0;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(23, 24, 26, .13);
}

.has-sub.open .sub-menu,
.has-sub:hover .sub-menu { display: flex }

.sub-menu a {
  padding: 11px 20px;
  font-size: 15px;
  line-height: 1.35;
  text-decoration: none;
  color: var(--dark);
}

.sub-menu a:hover { background: var(--ground) }
.sub-menu a[aria-current=page] { font-weight: 600 }

.mnav .sub { display: flex; flex-direction: column }

.mnav .sub a {
  padding: 11px 0 11px 20px;
  border-top: 1px solid var(--line);
  font-size: 15.5px;
  color: var(--mut);
}

/* Entrée de navigation de la page courante. */
.head-nav a[aria-current=page],
.head-end a[aria-current=page] { font-weight: 600 }

/* == 3. Fil d'Ariane et en-tête de page intérieure ======================= */

.crumb {
  position: sticky;
  top: var(--head-h, 0px);
  z-index: 60;
  background: var(--ground);
  padding: 14px clamp(16px, 3.9vw, 56px);
  border-bottom: 1px solid var(--line);
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 11.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--mut);
}

.crumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.crumb a { text-decoration: none; color: var(--mut) }
.crumb a:hover { color: var(--dark) }
.crumb li[aria-current=page] { color: var(--dark) }
.crumb li + li::before { content: '/'; margin-right: 10px; color: #a9aaa6 }

/* En-tête de page : bande 16:9 bridée en hauteur, les sources plafonnent
   à 1200 px, donc jamais de bandeau plein écran. */
.phead {
  position: relative;
  background: var(--dark);
  color: var(--paper);
  overflow: hidden;
}

/* En-tête à photo de fond. Plus aucune page ne s’en sert depuis le
   18/11/2026 : toutes sont passées en .plain, fond sombre uni. Les
   règles restent pour qu’un en-tête photo puisse revenir sans tout
   réécrire. */
.phead-img { position: absolute; inset: 0 }

.phead-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .42;
}

.phead-in {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 96px) clamp(16px, 3.9vw, 56px);
}

.phead .eye {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #c9cbce;
}

.phead .eye i { width: 8px; height: 8px; background: var(--accent) }

.phead h1 {
  max-width: 900px;
  font-size: clamp(30px, 4.2vw, 60px);
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: -.03em;
}

.phead h1 .thin { font-weight: 300 }

.phead p {
  max-width: 620px;
  font-size: 17px;
  line-height: 1.6;
  color: #d6d7d9;
}

.phead.plain { background: var(--dark) }

/* == 4. Galerie en colonnes ============================================== */

/* 249 des 306 photos d'origine sont en portrait : la galerie est en colonnes
   CSS et les visuels gardent leur cadrage. Aucun recadrage, aucune hauteur
   imposée, le portrait passe tel quel. */
.gal-mason {
  columns: 3;
  column-gap: 10px;
}

.gal-mason .cell {
  position: relative;
  overflow: hidden;
  margin: 0 0 10px;
  background: #dad9d5;
  break-inside: avoid;
  cursor: zoom-in;
}

.gal-mason .cell img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform .7s ease;
}

.gal-mason .cell:hover img { transform: scale(1.035) }

/* La cible cliquable couvre la vignette : un bouton, donc accessible au
   clavier, et le libellé annonce la photo. */
.gal-mason .cell-open {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: 0 0;
  border: 0;
  cursor: zoom-in;
}

.gal-mason .cell-open:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -4px;
}

.gal-mason .cap {
  position: absolute;
  left: 8px;
  bottom: 8px;
  z-index: 3;
  max-width: calc(100% - 16px);
  display: flex;
  flex-wrap: wrap;
  gap: 2px 8px;
  padding: 6px 9px;
  background: var(--ground);
  color: var(--dark);
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: .05em;
  text-transform: uppercase;
  pointer-events: none;
}

.gal-mason .cap b { color: var(--mut); font-weight: 400 }
.gal-mason .cap em { font-style: normal; color: var(--accent) }
.gal-mason .cell.extra { display: none }

.gal-note {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: .04em;
  line-height: 1.6;
  color: var(--mut);
}

/* == 5. Visionneuse plein écran ========================================== */

html.lb-lock { overflow: hidden }

.lb {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 3vw, 48px);
  background: rgba(13, 14, 15, .94);
}

.lb.open { display: flex }

.lb-fig {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: min(1100px, 100%);
  max-height: 100%;
}

.lb-img { display: flex; justify-content: center; min-height: 0 }

.lb-img img {
  max-width: 100%;
  max-height: 76vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.lb-fig figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  color: var(--paper);
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.lb-fig figcaption b { color: #8e9095; font-weight: 400 }
.lb-fig figcaption em { font-style: normal; color: var(--accent) }
.lb-fig .lb-n { margin-left: auto; color: #8e9095 }

.lb button {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(242, 242, 239, .1);
  border: 1px solid #4a4c51;
  color: var(--paper);
  font-size: 26px;
  line-height: 1;
}

.lb button:hover { background: rgba(242, 242, 239, .2) }
.lb-close { top: clamp(12px, 3vw, 32px); right: clamp(12px, 3vw, 32px) }
.lb-prev { left: clamp(8px, 2vw, 28px); top: 50%; transform: translateY(-50%) }
.lb-next { right: clamp(8px, 2vw, 28px); top: 50%; transform: translateY(-50%) }

/* == 6. Avant / après ==================================================== */

.ba-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px 48px;
  margin: clamp(40px, 4.4vw, 64px) 0 32px;
}

.ba-top h2 {
  font-size: clamp(32px, 4.4vw, 64px);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -.03em;
}

.ba-top h2 .thin { font-weight: 300 }
.ba-top p { max-width: 440px; font-size: 16px; line-height: 1.6; color: var(--ink) }
.sec-dark .ba-top p { color: #c9cbce }

/* Deux colonnes : le comparateur, puis le texte et les vignettes. */
.ba-cols {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px 56px;
}

/* Le porteur du comparateur. En largeur confortable il se contente de la
   taille de la bande ; en dessous de 760 px il prend toute la ligne, ce
   dont la bande a besoin pour calculer sa largeur. */
.ba-stage {
  flex: 0 1 auto;
  min-width: 0;
  display: flex;
  justify-content: center;
}

.ba-aside {
  flex: 1 1 320px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}

.ba-list { display: flex; flex-direction: column; width: 100% }

.ba-list > div {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.ba-list > div:last-child { border-bottom: 1px solid var(--line) }

.ba-list dt {
  flex: 0 0 72px;
  padding-top: 3px;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
}

.ba-list dd { margin: 0; flex: 1 1 220px; font-size: 15.5px; line-height: 1.6; color: var(--ink) }
.sec-dark .ba-list > div { border-color: var(--dline) }
.sec-dark .ba-list dd { color: #c9cbce }

/* --- Le comparateur -----------------------------------------------------
   Les sources sont en portrait 3:4 ; la bande garde ce rapport et sa
   hauteur est bridée, sinon elle occupe tout l'écran sur un grand
   moniteur. La largeur se déduit de la hauteur.
   ------------------------------------------------------------------------ */
.ba-compare {
  position: relative;
  flex: 0 0 auto;
  height: min(540px, 68vh);
  aspect-ratio: 3 / 4;
  width: auto;
  max-width: 100%;
  overflow: hidden;
  background: #dad9d5;
  user-select: none;
  touch-action: pan-y;
}

.ba-layer { position: absolute; inset: 0 }
.ba-layer picture, .ba-layer img { display: block; width: 100%; height: 100%; object-fit: cover }

/* La moitié « avant » est découpée à la position de la poignée. */
.ba-before { clip-path: inset(0 calc(100% - var(--p)) 0 0) }

.ba-tag {
  position: absolute;
  bottom: 12px;
  padding: 6px 10px;
  background: var(--ground);
  color: var(--dark);
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  pointer-events: none;
}

.ba-tag-l { left: 12px }
.ba-tag-r { right: 12px }

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--p);
  width: 2px;
  margin-left: -1px;
  background: var(--paper);
  box-shadow: 0 0 0 1px rgba(23, 24, 26, .25);
  pointer-events: none;
}

.ba-handle i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 46px;
  height: 46px;
  margin: -23px 0 0 -23px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 2px 14px rgba(23, 24, 26, .3);
}

/* Les deux chevrons de la poignée. */
.ba-handle i::before,
.ba-handle i::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -4px;
  border-top: 1.5px solid var(--dark);
  border-right: 1.5px solid var(--dark);
}

.ba-handle i::before { left: 13px; transform: rotate(-135deg) }
.ba-handle i::after { right: 13px; transform: rotate(45deg) }

/* Le curseur natif ne sert plus qu'au clavier : le pointeur est suivi
   par le script, parce qu'un input range ne se glisse pas au doigt sur
   iPhone. Il laisse donc passer le pointeur vers l'image. */
.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  appearance: none;
  -webkit-appearance: none;
  background: 0 0;
  pointer-events: none;
}

.ba-compare { cursor: ew-resize }

/* Au clavier, la poignée doit se voir : le curseur, lui, est invisible. */
.ba-range:focus-visible + .ba-handle i {
  box-shadow: 0 2px 14px rgba(23, 24, 26, .3), 0 0 0 3px var(--accent);
}

.ba-range::-webkit-slider-thumb { width: 54px; height: 100%; appearance: none; -webkit-appearance: none }
.ba-range::-moz-range-thumb { width: 54px; height: 540px; border: 0; opacity: 0 }
.ba-range:focus-visible + .ba-handle i { outline: 2px solid var(--accent); outline-offset: 3px }
.ba-compare:has(.ba-range:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px }

/* Vignettes des autres photos du chantier. */
.ba-thumbs { display: flex; flex-wrap: wrap; gap: 8px }

.ba-thumb {
  width: 84px;
  height: 84px;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: #dad9d5;
  cursor: zoom-in;
}

.ba-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease }
.ba-thumb:hover img { transform: scale(1.07) }

/* == 7. Bloc signature =================================================== */

/* Le portrait de chantier et le texte, côte à côte. Montrer qui vient
   poser vaut mieux que l'affirmer. */
.sig-cols {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 36px 56px;
  margin: clamp(40px, 4.4vw, 64px) 0 clamp(36px, 4vw, 56px);
}

.sig-fig {
  flex: 0 1 480px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sig-fig .ph {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #dad9d5;
}

.sig-fig .ph img { transition: transform .9s cubic-bezier(.2, .7, .3, 1) }
.sig-fig:hover .ph img { transform: scale(1.04) }

.sig-fig figcaption {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--mut);
}

.sec-dark .sig-fig figcaption { color: #a3a5a9 }

.sig-top {
  flex: 1 1 400px;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-content: center;
  gap: 24px;
}

.sig-top h2 {
  flex: 1 1 100%;
  font-size: clamp(32px, 4.4vw, 64px);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -.03em;
}

.sig-top h2 .thin { font-weight: 300 }
.sig-top p { flex: 1 1 100%; max-width: 560px; font-size: 17px; line-height: 1.65; color: var(--ink) }

.sig-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 36px 48px;
}

/* Sur l'accueil, l'intertitre est dans .sig-cols, qui porte déjà ses
   marges. Sur la page Entreprise il est seul entre le chapeau de section
   et la grille : sans ces deux règles, son titre démarrait pile sur le
   filet du chapeau, et son paragraphe touchait le filet des colonnes. */
.eyebrow + .sig-top { margin-top: clamp(40px, 4.4vw, 64px) }
.sig-top + .sig-grid { margin-top: clamp(40px, 4.4vw, 64px) }

.sig-grid .item {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 20px;
  border-top: 2px solid var(--dark);
}

.sig-grid .num {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--mut);
}

.sig-grid h3 { font-size: 21px; font-weight: 600; letter-spacing: -.01em }
.sig-grid p { font-size: 15.5px; line-height: 1.6; color: var(--mut) }

/* Variante sur fond sombre. */
.sec-dark .sig-top p { color: #d6d7d9 }
.sec-dark .sig-grid .item { border-top-color: var(--paper) }
.sec-dark .sig-grid .num { color: #a3a5a9 }
.sec-dark .sig-grid p { color: #c9cbce }

/* == 8. Cartes prestations et zones ====================================== */

.card-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px 48px;
  margin: clamp(40px, 4.4vw, 64px) 0 32px;
}

.card-top h2 {
  font-size: clamp(32px, 4.4vw, 64px);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -.03em;
}

.card-top h2 .thin { font-weight: 300 }
.card-top p { max-width: 460px; font-size: 16px; line-height: 1.6; color: var(--ink) }
.sec-dark .card-top p { color: #c9cbce }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 10px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--dark);
  background: var(--paper);
  outline: 1px solid var(--line);
}

.card:hover { color: var(--dark) }
.card .ph { aspect-ratio: 4 / 3; overflow: hidden; background: #dad9d5 }

.card .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s ease;
}

.card:hover .ph img { transform: scale(1.04) }

.card .body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
}

.card .num {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--mut);
}

.card h3 { font-size: 19px; font-weight: 600; letter-spacing: -.01em }
.card p { font-size: 15px; line-height: 1.55; color: var(--mut) }

.card .go {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* Carte territoire : pas de visuel, une liste de communes. */
.zcard { padding: 26px; background: var(--paper); outline: 1px solid var(--line) }
.zcard.dark { background: #202124; outline-color: var(--dline); color: var(--paper) }

.zcard h3 {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -.01em;
  margin-bottom: 12px;
}

.zcard p { font-size: 15px; line-height: 1.6; color: var(--mut) }
.zcard.dark p { color: #c9cbce }

.zcard .villes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 18px 0 20px;
}

.zcard .villes span {
  padding: 4px 10px;
  outline: 1px solid var(--line);
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--mut);
}

.zcard.dark .villes span { outline-color: var(--dline); color: #a3a5a9 }

.zcard .btn-line { min-height: 44px; padding: 0 16px; font-size: 14px }
.zcard.dark .btn-line { border-color: #4a4c51; color: var(--paper) }

/* == 8 bis. Carte des zones d'intervention =============================== */

.zmap {
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 1 1 380px;
  min-width: 0;
}

.zmap-svg { width: 100%; height: auto; display: block }

.zmap-land {
  fill: rgba(23, 24, 26, .06);
  stroke: var(--line);
  stroke-width: 1.2;
  stroke-linejoin: round;
}

.zmap-area {
  fill: rgba(228, 56, 31, .1);
  stroke: var(--accent);
  stroke-width: 1.2;
  stroke-dasharray: 5 4;
  transition: fill .45s ease, stroke-width .45s ease;
}

/* Survol d'une zone : elle s'allume et donne son nom, les deux autres
   s'effacent. Le pointillé se met en marche, assez lentement pour qu'on
   le remarque sans en être distrait. Tant que la souris n'est pas sur
   une aire, rien ne se passe : la carte au repos reste calme. */
.zmap-zone { transition: opacity .45s ease }

.zmap-zones:hover .zmap-zone { opacity: .25 }
.zmap-zones:hover .zmap-zone:hover { opacity: 1 }

.zmap-zone:hover .zmap-area {
  fill: rgba(228, 56, 31, .19);
  stroke-width: 1.8;
  animation: zmapDash 16s linear infinite;
}

@keyframes zmapDash { to { stroke-dashoffset: -180 } }

.zmap-zname {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: .1em;
  text-anchor: middle;
  fill: var(--accent);
  opacity: 0;
  transition: opacity .3s ease .05s;
}

.zmap-zone:hover .zmap-zname { opacity: 1 }

/* Les points de ville et leurs étiquettes sont dessinés par-dessus les
   aires : sans cette ligne, passer sur « Saint-Tropez » sortait de la
   zone Côte d'Azur et éteignait la surbrillance. */
.zmap-city, .zmap-minor, .zmap-home { pointer-events: none }

.zmap-city circle, .zmap-minor circle { fill: var(--mut) }
.zmap-minor circle { fill: #a9aaa6 }

.zmap-city text, .zmap-minor text {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: .04em;
  fill: var(--mut);
}

.zmap-minor text { fill: #a9aaa6 }

/* Étiquette posée à gauche de son point. */
.zmap-r { text-anchor: end }

.zmap-home circle { fill: var(--accent) }

.zmap-home text {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  fill: var(--dark);
}

.zmap-home-sub { font-size: 10px !important; font-weight: 400 !important; fill: var(--mut) !important }

.zmap-pulse {
  fill: var(--accent);
  opacity: .22;
  transform-origin: 325px 277px;
  animation: zmapPulse 2.8s ease-out infinite;
}

@keyframes zmapPulse {
  0% { transform: scale(.55); opacity: .32 }
  70% { transform: scale(1.5); opacity: 0 }
  100% { transform: scale(1.5); opacity: 0 }
}

.zmap figcaption {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--mut);
}

.zmap figcaption span { display: inline-flex; align-items: center; gap: 8px }

.zmap-key { width: 10px; height: 10px; flex: 0 0 auto }
.zmap-key-area { background: rgba(228, 56, 31, .18); outline: 1px dashed var(--accent) }
.zmap-key-home { background: var(--accent); border-radius: 50% }
.zmap-key-minor { background: #a9aaa6; border-radius: 50% }

/* Sur fond sombre. */
.sec-dark .zmap-land { fill: rgba(242, 242, 239, .05); stroke: var(--dline) }
.sec-dark .zmap-city text { fill: #a3a5a9 }
.sec-dark .zmap-city circle { fill: #8e9095 }
.sec-dark .zmap-minor text, .sec-dark .zmap-minor circle { fill: #6a6c71 }
.sec-dark .zmap-home text { fill: var(--paper) }
.sec-dark .zmap-home-sub { fill: #a3a5a9 !important }
.sec-dark .zmap figcaption { border-color: var(--dline); color: #a3a5a9 }

/* La carte et les trois cartes territoire, côte à côte. */
.zone-cols {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px 56px;
}

.zone-cols .cards { flex: 1 1 420px; min-width: 0; grid-template-columns: 1fr }

@media (prefers-reduced-motion: reduce) {
  .zmap-pulse { animation: none; opacity: .22 }
  .zmap-zone:hover .zmap-area { animation: none }
}

/* == 9. Pages prestations et zones : corps de texte ====================== */

.page-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 56px 72px;
  margin-top: clamp(40px, 4.4vw, 64px);
}

.page-main { flex: 1.3 1 520px; min-width: 0 }
.page-side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 28px }

.side-box { padding: 24px; background: var(--paper); outline: 1px solid var(--line) }
.side-box.dark { background: #202124; outline-color: var(--dline); color: var(--paper) }

.side-box h3 {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--mut);
  margin-bottom: 16px;
}

.side-box.dark h3 { color: #a3a5a9 }
.side-box p { font-size: 15.5px; line-height: 1.6; color: var(--ink) }
.side-box.dark p { color: #c9cbce }

.side-box dl { display: flex; flex-direction: column }

.side-box dl .row {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.side-box dl .row:first-child { border-top: 0; padding-top: 0 }

.side-box dt {
  flex: 0 0 96px;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--mut);
  padding-top: 3px;
}

.side-box dd { margin: 0; flex: 1 1 140px; font-size: 15.5px; line-height: 1.5 }

/* Deux avis glissés en marge d'une page prestation. */
.side-rev {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  outline: 1px solid var(--line);
}

.side-rev blockquote { font-size: 15px; line-height: 1.6; color: var(--ink) }

.side-rev .who {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--mut);
}

/* Rappel de devis en pied de page intérieure. */
.cta-band {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px 48px;
  padding: clamp(32px, 4vw, 56px);
  background: var(--dark);
  color: var(--paper);
}

.cta-band h2 {
  flex: 1 1 420px;
  font-size: clamp(24px, 2.8vw, 38px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -.02em;
}

.cta-band .act { display: flex; flex-wrap: wrap; gap: 12px }

/* == 10. Prescripteurs, partenaires ====================================== */

.pres-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 48px 72px;
  margin-top: clamp(40px, 4.4vw, 64px);
}

.pres-body { flex: 1.2 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 26px }

.pres-body h2 {
  font-size: clamp(32px, 4.4vw, 64px);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -.03em;
}

.pres-body h2 .thin { font-weight: 300 }
.pres-body p { max-width: 620px; font-size: 17px; line-height: 1.65; color: #d6d7d9 }

.pres-list { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column }

.pres-list .row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  padding: 16px 0;
  border-top: 1px solid var(--dline);
}

.pres-list .row:last-child { border-bottom: 1px solid var(--dline) }

.pres-list .k {
  flex: 0 0 34px;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 12px;
  color: #a3a5a9;
}

.pres-list .v { flex: 1 1 200px; font-size: 15.5px; line-height: 1.55; color: #e4e4e0 }

.partners {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  margin-top: clamp(40px, 4.4vw, 56px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.partners .lbl {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 11.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--mut);
}

.partners .names { display: flex; flex-wrap: wrap; gap: 10px 24px }

/* Le fond alterné est un peu plus sombre : son filet aussi. */
.sec-alt .partners { border-top-color: #C4C4BF }
.partners .names span { font-size: 16px; font-weight: 600; letter-spacing: .01em }

/* == 10 bis. Avis clients ================================================

   La section était la plus fade du site alors que c'est un argument de
   vente majeur : 5,0 sur 19 avis. Les étoiles passent en doré et chaque
   avis gagne un filet doré et un relief au survol.

   La note ne s'enferme plus dans un panneau noir : le gros chiffre posé
   entre deux filets se tient mieux à toutes les largeurs, et il reste
   dans la grammaire du reste du site, faite de traits fins.
   ======================================================================== */

:root { --gold: #B88A2B }

/* Les étoiles des SVG portent fill="#17181A" en attribut de présentation :
   une règle CSS passe devant, inutile de toucher au balisage. */
.rev-card svg g,
.rev-score .meta svg g,
.side-rev svg g { fill: var(--gold) }

.rev-score {
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px 18px;
  padding: 20px 0 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* La mention reste d'un seul tenant : si la colonne est trop étroite,
   elle passe sous le chiffre au lieu de se couper en deux (« 19 AVIS /
   GOOGLE »), qui se lisait comme une erreur. */
.rev-score .meta span { white-space: nowrap }

.rev-score .big { color: var(--dark) }

.rev-score .meta svg {
  display: block;
  margin-bottom: 2px;
}

.sec-dark .rev-score { border-color: var(--dline) }
.sec-dark .rev-score .big { color: var(--paper) }

.rev-side > p { font-size: 15.5px }

.rev-card {
  border-top: 2px solid var(--gold);
  background: var(--paper);
  transition: transform .35s ease, box-shadow .35s ease;
}

.rev-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(23, 24, 26, .1);
}

.rev-card blockquote { font-size: 16px }

.rev-card .when {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

/* La pastille qui rappelle la source, sans reprendre une marque. */
.rev-card .when::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.sec-alt .rev-card { background: var(--ground) }

/* == 11. Footer étendu =================================================== */

/* Le nom en pied de page occupait presque toute la largeur en PC :
   ramené à une taille de signature. */
.foot .big {
  font-size: clamp(20px, 2.4vw, 30px);
  letter-spacing: .22em;
}

.foot-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 32px 40px;
  padding-bottom: 36px;
}

.foot-col { display: flex; flex-direction: column; gap: 12px }

.foot-col h3 {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 11.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #8e9095;
  margin-bottom: 4px;
}

.foot-col a,
.foot-col span { font-size: 15px; line-height: 1.5; color: #d6d7d9; text-decoration: none }
.foot-col a:hover { color: var(--paper) }
.foot-col .social { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 4px }

/* == 12. Écran de chargement ============================================= */

/* Le voile masque la page pendant le chargement, puis s'efface. L'animation
   CSS le retire au bout de 2,4 s quoi qu'il arrive : même si le script ne
   s'exécutait pas, le site resterait accessible. */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9500;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark);
  color: var(--paper);
  animation: loaderOut .7s cubic-bezier(.4, 0, .2, 1) 2.4s forwards;
}

.loader.is-gone { animation: loaderOut .7s cubic-bezier(.4, 0, .2, 1) forwards }

@keyframes loaderOut {
  to { opacity: 0; visibility: hidden }
}

.loader-in {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.loader-mark {
  color: var(--paper);
  animation: markIn .9s cubic-bezier(.2, .7, .3, 1) both;
}

@keyframes markIn {
  from { opacity: 0; transform: translateY(10px) }
  to { opacity: 1; transform: none }
}

.loader-name {
  font-size: clamp(17px, 2.4vw, 22px);
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  animation: markIn .9s cubic-bezier(.2, .7, .3, 1) .1s both;
}

.loader-tag {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #8e9095;
  animation: markIn .9s cubic-bezier(.2, .7, .3, 1) .18s both;
}

.loader-bar {
  display: block;
  width: 132px;
  height: 2px;
  margin-top: 6px;
  background: var(--dline);
  overflow: hidden;
}

.loader-bar i {
  display: block;
  width: 40%;
  height: 100%;
  background: var(--accent);
  animation: barSweep 1.15s ease-in-out infinite;
}

@keyframes barSweep {
  0% { transform: translateX(-110%) }
  100% { transform: translateX(290%) }
}

/* == 13. Animations d'entrée ============================================= */

/* Titre du hero, écrit caractère par caractère.

   Rien n'est masqué tant que le script n'a pas pris la main : la classe
   .js-anim n'est posée qu'au démarrage de app.js. Sans JavaScript, le
   titre s'affiche normalement, simplement sans animation. */
.type { display: block }
.type-l { display: block }

/* Un peu plus grand sur petit écran : c'est la première chose qu'on lit,
   et la valeur héritée de la v1 y était trop discrète. */
.hero-text h1 { font-size: clamp(40px, 10.5vw, 58px) }

/* Un mot est insécable : la césure ne peut tomber qu'entre deux mots. */
.type-w { display: inline-block; white-space: nowrap }

.js-anim .type-c {
  display: inline-block;
  opacity: 0;
  transform: translateY(.18em);
  filter: blur(5px);
  transition: opacity .42s ease, transform .42s cubic-bezier(.2, .7, .3, 1),
              filter .42s ease;
}

.js-anim .type-c.is-on { opacity: 1; transform: none; filter: none }

.js-anim .type.is-written .type-c { opacity: 1; transform: none; filter: none }

/* Révélations au défilement, posées par IntersectionObserver. */
.js-anim .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .85s cubic-bezier(.2, .7, .3, 1),
              transform .85s cubic-bezier(.2, .7, .3, 1);
}

.js-anim .reveal.is-in { opacity: 1; transform: none }

.js-anim .reveal[data-stagger] { opacity: 1; transform: none; transition: none }

.js-anim .reveal[data-stagger] > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s cubic-bezier(.2, .7, .3, 1),
              transform .8s cubic-bezier(.2, .7, .3, 1);
}

.js-anim .reveal[data-stagger].is-in > * { opacity: 1; transform: none }

/* == 14. Finitions ======================================================= */

/* En-tête collant : la navigation reste à portée sur les longues pages,
   c'était le principal manque de repère d'une page à l'autre. */
header {
  position: sticky;
  top: 0;
  z-index: 70;
  background: var(--ground);
  transition: box-shadow .3s ease, background-color .3s ease;
}

header.is-stuck {
  background: rgba(239, 239, 236, .93);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(23, 24, 26, .07);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
}

/* Page courante, repérable d'un coup d'œil dans la navigation.

   Le filet se place sous le texte, jamais dedans. Les liens de la barre
   sont des éléments en ligne : leur boîte s'arrête à la hauteur de la
   ligne de texte, donc un repère posé à quelques pixels du bas tombait
   en plein milieu des lettres et se lisait comme un texte barré. On leur
   donne la même hauteur qu'aux autres cibles de la barre (44 px, le
   minimum confortable au doigt), et le filet se pose sous la ligne de
   base, à l'intérieur de cette boîte.

   Attention au piège : la v1 cache ces liens en petite largeur avec
   `.head-nav, .show-lg { display: none }` et `.head-tel { display: none }`,
   des sélecteurs à une seule classe. Toute règle d'ici qui touche à leur
   `display` avec un sélecteur plus précis les fait réapparaître sur
   mobile, par-dessus le logo. La mise en boîte est donc réservée à la
   seule entrée courante, et seulement au-dessus de 1040 px, là où la
   barre de liens existe. */
@media (min-width: 1041px) {
  .head-nav a[aria-current=page],
  .head-end a[aria-current=page]:not(.head-devis),
  .sub-toggle[aria-current=page] {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}

/* Aucune entrée de la barre ne se coupe en deux lignes : « Zones
   d’intervention » le faisait entre 1200 et 1290 px, juste après la
   réapparition du numéro de téléphone, qui demandait 17 px de plus que
   la place disponible. Le numéro attend donc 1280 px au lieu de 1200. */
.head-nav a, .head-end > a, .sub-toggle { white-space: nowrap }

@media (max-width:1280px) {
  .head-tel { display: none }
}

.head-nav a[aria-current=page],
.head-end a[aria-current=page],
.sub-toggle[aria-current=page] {
  position: relative;
  font-weight: 600;
}

.head-nav a[aria-current=page]::after,
.head-end a[aria-current=page]:not(.head-devis)::after,
.sub-toggle[aria-current=page]::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  /* Centre de la boîte (50 %), plus la moitié de la hauteur de ligne,
     plus une respiration : le filet passe toujours sous les jambages. */
  top: calc(50% + .72em);
  height: 2px;
  background: var(--accent);
}

.brand { transition: opacity .25s ease }
.brand:hover { opacity: .62 }

/* Fil d'Ariane : chemin à gauche, sortie nommée à droite. */
.crumb-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  max-width: 1440px;
  margin: 0 auto;
}

.crumb-in ol { margin: 0 }

.crumb-back {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid var(--line);
  color: var(--dark);
  text-decoration: none;
  white-space: nowrap;
  transition: border-color .25s ease, background-color .25s ease;
}

.crumb-back:hover { background: var(--paper); border-color: var(--dark); color: var(--dark) }
.crumb-back svg { transition: transform .25s ease }
.crumb-back:hover svg { transform: translateX(-3px) }

/* Micro-interactions : rien de bavard, juste de la matière qui répond. */
.btn-fill, .btn-line, .btn-paper, .btn-ghost, .ct-send, .gal-more, .rev-more {
  transition: background-color .28s ease, color .28s ease,
              border-color .28s ease, transform .28s ease;
}

.btn-fill:hover, .btn-paper:hover, .ct-send:hover { transform: translateY(-2px) }
.btn-line:hover { background: var(--dark); color: var(--paper) }
.btn-ghost:hover { border-color: var(--paper) }
.gal-more:hover, .rev-more:hover { background: var(--dark); color: var(--paper) }
.btn-fill svg, .btn-paper svg, .ct-send svg, .btn-line svg { transition: transform .28s ease }
.btn-fill:hover svg, .btn-paper:hover svg, .ct-send:hover svg, .btn-line:hover svg { transform: translateX(4px) }

.card { transition: box-shadow .35s ease, transform .35s ease }
.card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(23, 24, 26, .1) }
.card .go svg, .card .go { transition: color .25s ease }
.card:hover .go { color: var(--accent) }

.pill, .pill-light, .ptype { transition: background-color .25s ease, color .25s ease, border-color .25s ease }
.sf-list .row, .pres-list .row { transition: background-color .3s ease }
.sf-list .row:hover { background: rgba(23, 24, 26, .025) }

.sub-menu a { transition: background-color .2s ease, padding-left .2s ease }
.sub-menu a:hover { padding-left: 24px }

.foot-col a { transition: color .22s ease }

/* Si l'animation est déconseillée, tout s'affiche d'emblée et sans
   mouvement : le site doit rester utilisable à l'identique. */
@media (prefers-reduced-motion: reduce) {
  .loader { animation: none; opacity: 0; visibility: hidden }
  .js-anim .type-c { opacity: 1; transform: none; filter: none; transition: none }
  .js-anim .reveal,
  .js-anim .reveal[data-stagger] > * { opacity: 1; transform: none; transition: none }
  .loader-bar i { animation: none }
  .btn-fill:hover, .btn-paper:hover, .ct-send:hover, .card:hover { transform: none }
  .cell img, .ba-thumb img, .card .ph img { transition: none }
}

/* == 15. Points de rupture =============================================== */

@media (max-width:1200px) {
  .gal-mason { columns: 3 }
}

@media (max-width:1040px) {
  .gal-mason { columns: 2 }
  .page-cols { gap: 48px }
  .sub-menu { position: static; left: 0; box-shadow: none; min-width: 0 }
  .ba-compare { height: min(460px, 60vh) }
}

@media (max-width:760px) {
  /* Le header passe en menu mobile : le sous-menu PC n'a plus lieu d'être. */
  .has-sub { display: none }
  .gal-mason { columns: 2; column-gap: 6px }
  .gal-mason .cell { margin-bottom: 6px }
  .phead h1 { font-size: clamp(28px, 7vw, 40px) }
  .cta-band { padding: 28px 20px }
  .lb-prev, .lb-next { width: 40px; height: 40px }
  .lb-img img { max-height: 66vh }
  .ba-cols { gap: 28px }
  .ba-stage { flex: 1 1 100% }
  .ba-compare { height: auto; width: 100%; aspect-ratio: 3 / 4 }
  .crumb-back { min-height: 32px; font-size: 10.5px }
  /* Sur mobile, deux barres fixes mangeraient trop de hauteur : seul
     l'en-tête reste collant. */
  .crumb { position: static }
}

@media (max-width:640px) {
  .gal-mason { columns: 1 }
  .gal-mason .cap { font-size: 10.5px }
  .crumb { font-size: 10.5px }
  .crumb-in { gap: 10px }
  .ba-handle i { width: 38px; height: 38px; margin: -19px 0 0 -19px }
}

/* Très petits écrans (320 à 400 px). L'en-tête est une grille à trois
   colonnes : les deux colonnes latérales se partagent à égalité ce que le
   logo laisse, ce qui garde le logo parfaitement centré mais finit par
   faire passer le bouton menu par-dessus lui, le bouton restant collé au
   bord droit. Le logo tient donc un peu moins de place sous 400 px. */
@media (max-width:400px) {
  .brand { gap: 6px }
  .brand .name { font-size: 13px; letter-spacing: .1em }
  .brand .tag { font-size: 9.5px; letter-spacing: .08em; gap: 6px }
  .brand .tag i { width: 11px }
  .head { gap: 12px }
}

/* == 16. Menu mobile ===================================================== */

/* La v1 déroulait une simple liste sous l’en-tête. Sur téléphone elle
   dépassait de l’écran, il fallait la faire défiler, et le bas de la page
   restait visible derrière. Le menu est maintenant un panneau plein
   écran qui descend comme un rideau : plus de place, une typographie
   large, et la liste des prestations repliée. */

/* Neutralisation des règles de liste de la v1, pour repartir au propre. */
.mnav a { padding: 0; border: 0; font-size: inherit; color: inherit }

.mnav {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: block;
  padding: 0;
  visibility: hidden;
  /* La visibilité ne bascule qu’une fois le rideau remonté. */
  transition: visibility 0s linear .5s;
}

.mnav.open {
  display: block;
  visibility: visible;
  transition: visibility 0s linear 0s;
}

.mnav-sheet {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: var(--dark);
  color: var(--paper);
  overflow-y: auto;
  /* Arriveé en bas du menu, le doigt ne doit pas entraîner la page
     derrière : le défilement s’arrête au panneau. */
  overscroll-behavior: contain;
  transform: translateY(-100%);
  transition: transform .5s cubic-bezier(.22, .9, .24, 1);
}

.mnav.open .mnav-sheet { transform: none }

/* Barre du haut : la marque reste sous les yeux, la sortie est nommée. */
.mnav-head {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px clamp(16px, 5vw, 32px);
  border-bottom: 1px solid var(--dline);
}

.mnav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Sous 360 px, le nom et le mot FERMER ne tiennent plus sur la même
   ligne. La croix suffit : le bouton garde son intitulé pour les
   lecteurs d’écran. */
@media (max-width:360px) {
  .mnav-close span { display: none }
  .mnav-close { padding: 0 2px 0 2px; justify-content: flex-end; min-width: 44px }
  /* Une entrée par ligne jusqu’au bout : à 22 px, Zones d’intervention
     se coupait en deux sur les écrans de 320 px. */
  .mnav-i > a, .mnav-accbtn { font-size: 20px }
}

.mnav-close {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  padding: 0 2px 0 14px;
  background: 0 0;
  border: 0;
  color: #a3a5a9;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: color .22s ease;
}

.mnav-close:hover, .mnav-close:focus-visible { color: var(--paper) }

/* Les entrées. */
.mnav-list {
  flex: 1 1 auto;
  margin: 0;
  padding: 4px clamp(16px, 5vw, 32px) 20px;
  list-style: none;
}

.mnav-i + .mnav-i { border-top: 1px solid rgba(242, 242, 239, .1) }

.mnav-i > a,
.mnav-accbtn {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 18px 0;
  background: 0 0;
  border: 0;
  text-align: left;
  text-decoration: none;
  color: var(--paper);
  font-family: inherit;
  font-size: clamp(22px, 6.6vw, 32px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.02em;
  transition: color .22s ease;
}

/* Le numéro, en mono, comme les repères du reste du site. */
.mnav-i i {
  flex: 0 0 26px;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 11px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: .08em;
  color: #6a6c71;
  transition: color .25s ease;
}

.mnav-i > a:hover i,
.mnav-accbtn:hover i { color: var(--accent) }
.mnav-i > a:hover,
.mnav-accbtn:hover { color: #e4e4e0 }

/* Page courante : le numéro passe en rouge et un carré ferme la ligne. */
.mnav-i > a[aria-current=page] i,
.mnav-accbtn[aria-current=page] i { color: var(--accent) }

.mnav-i > a[aria-current=page]::after {
  content: '';
  margin-left: auto;
  width: 7px;
  height: 7px;
  background: var(--accent);
}

/* Dépliage des prestations. Les deux lignes de grille passent de 0fr à
   1fr : la hauteur s’anime toute seule, quel que soit le nombre de liens,
   sans valeur en dur à maintenir. */
.mnav-chev {
  margin-left: auto;
  flex: 0 0 auto;
  color: #8e9095;
  transition: transform .4s cubic-bezier(.22, .9, .24, 1), color .22s ease;
}

.mnav-accbtn[aria-expanded=true] .mnav-chev {
  transform: rotate(180deg);
  color: var(--paper);
}

.mnav-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .44s cubic-bezier(.22, .9, .24, 1);
}

.mnav-accbtn[aria-expanded=true] + .mnav-panel { grid-template-rows: 1fr }

.mnav-panel-in {
  overflow: hidden;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.mnav-panel a {
  padding: 11px 0 11px 42px;
  font-size: 16px;
  line-height: 1.35;
  color: #a3a5a9;
  text-decoration: none;
  opacity: 0;
  transform: translateY(-5px);
  transition: opacity .25s ease, transform .25s ease, color .2s ease;
}

.mnav-panel a:last-child { padding-bottom: 20px }
.mnav-panel a:hover { color: var(--paper) }

.mnav-accbtn[aria-expanded=true] + .mnav-panel a {
  opacity: 1;
  transform: none;
  transition-delay: .14s;
}

/* Pied : les deux gestes utiles, puis l’adresse. */
.mnav-foot {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px clamp(16px, 5vw, 32px) calc(22px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--dline);
}

.mnav-cta { display: flex; flex-wrap: wrap; gap: 10px }

.mnav .mnav-tel,
.mnav .mnav-devis {
  flex: 1 1 148px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 16px;
  text-decoration: none;
  font-size: 15px;
  white-space: nowrap;
}

/* Sur téléphone, les deux boutons ne tiennent pas côte à côte sans
   couper le numéro en deux : ils s'empilent, et gagnent au passage toute
   la largeur du pouce. */
@media (max-width:480px) {
  .mnav-cta { flex-direction: column }
  /* En pile, flex-basis vaut une hauteur : sans ce rappel, les boutons
     mesurent 148 px de haut. */
  .mnav .mnav-tel,
  .mnav .mnav-devis { flex: 0 0 auto }
}

.mnav .mnav-tel {
  gap: 9px;
  border: 1px solid #4a4c51;
  color: var(--paper);
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  letter-spacing: .02em;
  transition: border-color .22s ease;
}

.mnav-tel:hover { border-color: var(--paper) }

.mnav .mnav-devis {
  background: var(--paper);
  color: var(--dark);
  font-weight: 600;
  transition: background-color .22s ease;
}

.mnav-devis:hover { background: #fff }

.mnav-addr {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 11px;
  line-height: 1.75;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #6a6c71;
}

/* Entrée en cascade des lignes, derrière le rideau qui descend. Rien
   n’est masqué si le script ne s’exécute pas : .js-anim n’est posée
   qu’au démarrage de app.js. */
.js-anim .mnav-i,
.js-anim .mnav-foot {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .2s ease, transform .2s ease;
}

.js-anim .mnav.open .mnav-i,
.js-anim .mnav.open .mnav-foot {
  opacity: 1;
  transform: none;
  transition: opacity .5s ease calc(.18s + var(--i) * .055s),
              transform .5s cubic-bezier(.22, .9, .24, 1) calc(.18s + var(--i) * .055s);
}

/* Pendant que le menu est ouvert, la page ne bouge plus derrière. */
html.nav-open, html.nav-open body { overflow: hidden }

/* Au-dessus de 1040 px, le bouton menu n’existe plus : le panneau non plus. */
@media (min-width:1041px) {
  .mnav, .mnav.open { display: none }
}

@media (prefers-reduced-motion: reduce) {
  .mnav-sheet,
  .mnav-panel,
  .mnav-chev,
  .mnav-panel a { transition: none }
  .js-anim .mnav-i,
  .js-anim .mnav-foot { opacity: 1; transform: none; transition: none }
}

/* == 17. Page devis ====================================================== */

/* Quelqu'un qui appuie sur « Demander un devis » vient pour le
   formulaire, pas pour relire les coordonnées. Sur téléphone, où les
   deux colonnes s’empilent, le formulaire passe donc devant. En PC les
   deux sont visibles d’un coup : l’ordre d’origine est conservé. */
@media (max-width:1040px) {
  .ct-form-wrap { order: -1 }
}

/* Titre de la section contact, au-dessus des deux colonnes. */
.ct-head {
  max-width: 620px;
  margin-top: clamp(40px, 4.4vw, 64px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ct-head h2 {
  font-size: clamp(32px, 4.4vw, 64px);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -.03em;
}

.ct-head p { font-size: 18px; line-height: 1.6; color: #e4e4e0 }
.ct-head + .ct-cols { margin-top: clamp(32px, 3.4vw, 48px) }

.ct-sub {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #a3a5a9;
}

/* L'en-tête est collant : une ancre qui s'arrête pile en haut de la
   fenêtre passe dessous. On réserve sa hauteur, mesurée par le script.

   #top, la cible du « Haut de page » du pied de page, est le <main>, qui
   commence juste sous l'en-tête. Sans cette réserve, le lien ramenait à
   94 px du haut au lieu de 0, et le fil d'Ariane se retrouvait entièrement
   caché derrière l'en-tête. Avec elle, la position visée est négative,
   donc ramenée à zéro : on arrive vraiment en haut. */
.sec[id], [id].phead, #top { scroll-margin-top: calc(var(--head-h, 0px) + 12px) }

/* == 18. Mise en valeur dans le corps de texte =========================== */

/* Le client veut un texte qui se parcourt du regard, pas seulement qui se
   lit : un fait porteur par paragraphe passe en gras.

   600 plutôt que 700 : l’Archivo a une graisse 700 très lourde à côté du
   400 du corps, et le contraste devenait criard sur des paragraphes qui
   en comptent un par phrase. En section sombre, le gras monte aussi d’un
   cran en clarté, car la graisse seule ne se voit pas sur un gris.

   La galerie et la visionneuse se servent de <b> pour leurs étiquettes
   en petites capitales : elles sont exclues. */
p b, p strong,
.v b, .v strong,
dd b, dd strong {
  font-weight: 600;
  color: var(--dark);
}

.sec-dark p b, .sec-dark p strong,
.sec-dark .v b, .sec-dark .v strong,
.sec-dark dd b, .sec-dark dd strong,
.phead p b, .phead p strong,
.hero-text p b, .hero-text p strong,
.zcard.dark p b, .zcard.dark p strong {
  color: var(--paper);
}

/* == 19. Deux images retravaillées ======================================= */

/* « Le grand format ». la photo était bridée à 220 × 290 px : un cadrage
   portrait découpé dans une prise de vue paysage, trop petit pour qu’on
   distingue le geste, et le sujet coupé sur les côtés. Elle prend
   maintenant la largeur de sa colonne, dans son format d’origine. */
.xxl-fig {
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  margin-top: 4px;
  max-width: 560px;
}

.xxl-fig .ph {
  width: auto;
  height: auto;
  aspect-ratio: 4 / 3;
}

.xxl-fig figcaption { max-width: none }

/* « Pour les architectes ». la section n’avait aucune image, alors qu’un
   prescripteur juge d’abord sur une référence qui ressemble à ses
   projets. L’image reste dans la colonne de texte : les sources
   plafonnent à 1200 px, une bande pleine largeur les étirerait. */
.pres-fig {
  display: flex;
  flex-direction: column;
  gap: 14px;
  /* La photo est en portrait, comme 53 des 66 du jeu : on la garde dans
     son cadrage plutôt que d'y découper un paysage. */
  max-width: 420px;
}

.pres-fig .ph {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #2a2b2e;
}

/* Cadrage remonté : la photo est une prise de vue de chantier, le bas
   du cadre montre le matériel de nettoyage posé sur la plage. On garde
   la villa, le bassin et la vue, on coupe l'avant-plan. */
.pres-fig .ph img {
  object-position: 50% 18%;
  transition: transform .9s cubic-bezier(.2, .7, .3, 1);
}
.pres-fig:hover .ph img { transform: scale(1.04) }

.pres-fig figcaption {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #a3a5a9;
}

/* == 20. Trois blocs repris sur téléphone ================================ */

/* En PC, ces listes sont des colonnes côte à côte : le filet épais en
   tête de colonne et le numéro posé au-dessus du titre font sens, on lit
   de gauche à droite. Empilées sur téléphone, elles deviennent une suite
   de blocs détachés, avec un numéro qui flotte seul au-dessus de chaque
   titre et de grands vides entre eux.

   Sur téléphone, chaque entrée redevient donc une ligne de liste : le
   numéro dans une colonne étroite à gauche, le titre et le texte à
   droite, et un filet fin pour séparer. C’est la même grammaire que le
   menu mobile, et cela se parcourt du regard. */
@media (max-width:760px) {

  .meth-grid,
  .sig-grid { gap: 0 }

  .meth-grid .step,
  .sig-grid .item {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    column-gap: 14px;
    row-gap: 9px;
    padding: 22px 0;
    border-top: 1px solid var(--line);
  }

  .meth-grid .step:last-child,
  .sig-grid .item:last-child { border-bottom: 1px solid var(--line) }

  .meth-grid .num,
  .sig-grid .num {
    grid-column: 1;
    grid-row: 1;
    /* Le chiffre s’aligne sur la première ligne du titre, pas sur le
       haut de sa propre boîte. */
    padding-top: .3em;
    font-size: 11.5px;
    letter-spacing: .08em;
  }

  .meth-grid h3,
  .sig-grid h3 {
    grid-column: 2;
    grid-row: 1;
    font-size: 19px;
    line-height: 1.2;
  }

  /* grid-column seul : un bloc qui aurait deux paragraphes les empile
     proprement l’un sous l’autre. */
  .meth-grid p,
  .sig-grid p { grid-column: 2 }

  .sec-dark .meth-grid .step,
  .sec-dark .sig-grid .item,
  .sec-dark .meth-grid .step:last-child,
  .sec-dark .sig-grid .item:last-child { border-color: var(--dline) }

  /* Les intertitres collaient moins bien une fois la liste resserrée. */
  .meth-top { margin-bottom: 28px }
  .sig-top + .sig-grid { margin-top: 28px }
}

/* Filtres de la galerie sur téléphone.

   Neuf pastilles de largeurs différentes qui passent à la ligne : cela
   faisait cinq rangées en escalier, et la galerie était repoussée très
   bas. Elles tiennent maintenant sur une seule ligne qui se fait glisser
   du doigt, avec un dégradé à droite pour montrer qu’il y a une suite.

   Le débord négatif les fait partir du bord de l’écran : sans lui, la
   dernière pastille semble coupée par la marge et on ne devine pas
   qu’elle continue. */
@media (max-width:760px) {

  .gal-top .filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    /* Pas d'accrochage : il ramenait la première pastille contre le bord
       de l'écran, décalée du titre juste au-dessus. */
    gap: 7px;
    margin: 0 calc(clamp(16px, 3.9vw, 56px) * -1);
    padding: 2px clamp(16px, 3.9vw, 56px);
    /* Barre de défilement masquée : le dégradé dit déjà qu’on peut faire
       glisser, et une barre couperait les pastilles. */
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 44px), transparent 100%);
    mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 44px), transparent 100%);
  }

  .gal-top .filters::-webkit-scrollbar { display: none }

  .gal-top .filters .pill-light {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 0 14px;
    font-size: 12.5px;
    white-space: nowrap;
  }

  /* La dernière pastille doit pouvoir sortir de sous le dégradé. */
  .gal-top .filters::after {
    content: '';
    flex: 0 0 28px;
  }
}

/* == 21. Listes numérotées et fournisseurs, suite ======================== */

@media (max-width:760px) {

  /* Les filets qui encadraient la liste, au-dessus de la première entrée
     et sous la dernière, l’enfermaient dans une boîte. Seules les
     séparations entre entrées restent : la liste respire, et le filet ne
     sert plus qu’à ce qu’il fait vraiment, séparer deux entrées. */
  .meth-grid .step:first-child,
  .sig-grid .item:first-child,
  .sec-dark .meth-grid .step:first-child,
  .sec-dark .sig-grid .item:first-child { border-top: 0; padding-top: 4px }

  .meth-grid .step:last-child,
  .sig-grid .item:last-child,
  .sec-dark .meth-grid .step:last-child,
  .sec-dark .sig-grid .item:last-child { border-bottom: 0; padding-bottom: 4px }

  /* `.partners` ne sert plus qu'au bloc « Également » de la page Zones,
     où il reste une simple ligne. La bande fournisseurs, elle, a sa
     propre mise en page : voir .suppliers plus bas. */
}

/* == 22. Fournisseurs et partenaires ===================================== */

/* Le bloc se contentait d’aligner quatre noms sur une ligne grise. C’est
   pourtant un argument de confiance : ce sont des maisons que le lecteur
   reconnaît, et un architecte encore plus. Il devient une bande de
   vignettes, qui accueille les logos.

   Chaque vignette porte le logo si le fichier existe dans
   site/images/partenaires/, et le nom sinon. C’est build.mjs qui tranche,
   pas le navigateur : voir le commentaire de PARTENAIRES. Les deux cas
   ont donc la même boîte, et la bande ne bouge pas quand un logo
   arrive. */

.suppliers {
  margin-top: clamp(40px, 4.4vw, 56px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.sec-alt .suppliers { border-top-color: #C4C4BF }
.sec-dark .suppliers { border-top-color: var(--dline) }

.suppliers .lbl {
  display: block;
  margin-bottom: 16px;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 11.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--mut);
}

.sec-dark .suppliers .lbl { color: #a3a5a9 }

.sup-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Vignette blanche, et non crème : trois des quatre logos arrivent sur
   fond blanc, détourés au plus près du dessin. Sur la crème du site, ce
   fond se verrait comme un rectangle plus clair autour du logo. */
.sup {
  min-height: 78px;
  border: 1px solid var(--line);
  background: #fff;
  transition: border-color .25s ease, transform .3s ease, box-shadow .3s ease;
}

.sup-in {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: inherit;
  padding: 14px 18px;
  text-decoration: none;
}

.sup:hover {
  border-color: #a9aaa6;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(23, 24, 26, .07);
}

.sup:has(.sup-in:focus-visible) { border-color: var(--accent) }
.sup-in:focus-visible { outline: 2px solid var(--accent); outline-offset: -4px }

.sec-alt .sup { border-color: #C4C4BF }

.sec-dark .sup {
  border-color: var(--dline);
  background: #fff;
}

.sec-dark .sup:hover { border-color: #5a5c61 }

/* Le logo, en petit.

   La hauteur vient de --h, posée par le build : elle est réglée marque
   par marque, parce qu'un logo neuf fois plus large que haut et un logo
   carré n'ont pas le même poids à la même hauteur. max-width bride en
   plus les très larges quand la vignette se resserre. */
.sup-logo {
  max-width: 100%;
  max-height: var(--h, 34px);
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: .88;
  transition: opacity .3s ease, transform .3s ease;
}

.sup:hover .sup-logo { opacity: 1 }

/* Le nom, quand le logo n’est pas encore fourni. */
.sup-nom {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .01em;
  text-align: center;
  line-height: 1.25;
}

@media (max-width:760px) {
  .sup-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px }
  .sup { min-height: 70px }
  .sup-in { padding: 12px 14px }
  .sup-nom { font-size: 14.5px }
  /* Un cran plus petit, la vignette l'étant aussi. */
  .sup-logo { max-height: calc(var(--h, 34px) * .85) }
}

@media (max-width:360px) {
  .sup-grid { grid-template-columns: 1fr }
  .sup { min-height: 64px }
}

@media (prefers-reduced-motion: reduce) {
  .sup:hover { transform: none }
}

/* == 23. Raccord entre le héros et la première section ==================== */

/* Sur téléphone, la bande de repères du héros passe sur trois lignes : le
   bloc devient lourd, et le filet qui le ferme se retrouve à 97 px du
   filet du chapeau de la section suivante. Deux traits parallèles séparés
   par du vide, dont le premier semble flotter sans rien délimiter.

   On enlève donc la clôture du héros sur téléphone. Le chapeau de section
   garde la sienne, comme partout ailleurs sur la page, et le rythme
   redevient celui des autres sections. En PC la bande tient sur une seule
   ligne et le filet ferme proprement le héros : on le garde. */
@media (max-width:760px) {
  .hero { border-bottom: 0 }
  .hero-strip { padding-bottom: 4px }
}

/* == 24. Icônes de la bande du héros ===================================== */

/* Quatre repères alignés en mono gris : lisibles, mais plats. Chacun
   reçoit une petite icône au trait, en noir, qui tranche sur le gris du
   texte. On repère la ligne qui intéresse sans la lire. */
.hero-strip span,
.hero-strip a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.hs-ico {
  flex: 0 0 auto;
  display: inline-flex;
  color: var(--dark);
}

.hs-ico svg { display: block }

/* Au survol du lien des avis, l’étoile suit la couleur du texte. */
.hero-strip a:hover .hs-ico { color: inherit }

@media (max-width:480px) {
  .hero-strip span,
  .hero-strip a { gap: 8px }
  .hs-ico svg { width: 13px; height: 13px }
}

/* == 25. Chapeau sombre suivi d’une section sombre ======================= */

/* Quand l’en-tête de page et la section qui suit sont tous deux sur fond
   sombre, le changement de bloc ne se voit pas : il ne reste que la somme
   de leurs deux marges, 48 px sous le chapeau plus 64 px au-dessus de la
   section, soit 112 px de noir vide. Sur la page devis, cela faisait un
   trou entre l’introduction et le formulaire.

   Les deux blocs se touchent donc, et la marge du chapeau suffit. La
   règle ne s’applique qu’à ce cas précis : partout ailleurs, le passage
   du sombre au crème marque lui-même la séparation. */
.phead.plain + .sec-dark { padding-top: 0 }


/* == 26. Formulaire de devis : envoi réel ================================= */

/* Champ piège à robots : hors écran, jamais visible ni atteignable. */
.ct-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden }

.ct-err {
  padding: 12px 14px;
  border-left: 2px solid var(--accent);
  background: rgba(228, 56, 31, .1);
  color: #f2d3cd;
  font-size: 14px;
  line-height: 1.5;
}
.ct-err[hidden] { display: none }

.ct-send:disabled { opacity: .6; cursor: progress; transform: none }

/* == 27. Signature STACKMIND en pied de page ==============================

   Signature commune à tous les sites STACKMIND, reprise à l’identique de
   la référence LBP Couleurs. Elle garde SA couleur, l’or STACKMIND
   #c8955f, et non l’accent du client : c’est une marque d’auteur, pas un
   élément de la charte du site. Toutes les valeurs sont en dur pour la
   même raison. */

.foot-sign { display: flex; justify-content: center; margin-top: -20px }
.foot-sign a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 18px 10px 16px;
  border: 1px solid rgba(244, 241, 236, .16);
  border-radius: 999px;
  color: #b9b2a7;
  font-size: 12px;
  letter-spacing: .06em;
  text-decoration: none;
  opacity: .85;
  transition: opacity .3s, border-color .3s, background .3s, color .3s;
}
.foot-sign a:hover,
.foot-sign a:focus-visible {
  opacity: 1;
  color: #f4f1ec;
  border-color: #c8955f;
  background: rgba(200, 149, 95, .08);
}
.foot-sign a:focus-visible { outline: 2px solid #c8955f; outline-offset: 3px }
.foot-sign img { display: block; height: 12px; width: auto }
.foot-sign .arr { color: #c8955f; font-size: 13px }

