/* D.M.C. — maquette « Architecte » : noir, béton, papier ; grands titres, annotations façon plan.
   Polices libres hébergées ici (rien n'est envoyé à Google). */
@font-face { font-family: "Archivo"; src: url("polices/archivo.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("polices/jetbrains-mono.woff2") format("woff2"); font-weight: 400 500; font-display: swap; }

:root {
  --noir: #2c2926;
  --noir-2: #35312d;
  --papier: #efede8;
  --beton: #d9d5cc;
  --beton-fonce: #8d887d;
  --trait: #2b2a27;
  --accent: #c8352c;          /* rouge de sa carte de visite, plus profond : seule couleur vive */
  --texte: #161614;
  --texte-doux: #5d5a53;
  --sur-noir: #e9e6df;
  --sur-noir-doux: #9b978d;
  --titres: "Archivo", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --largeur: 1320px;
  --gouttiere: clamp(16px, 4vw, 56px);
  --doux: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--papier); color: var(--texte); font-family: var(--titres); font-stretch: 100%; font-size: 1.04rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.02; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
em { font-style: normal; color: var(--beton-fonce); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.conteneur { width: min(var(--largeur), 100% - 2 * var(--gouttiere)); margin-inline: auto; }
.section { padding: clamp(80px, 12vw, 160px) 0; }
.surtitre, .cote { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; }
.surtitre { color: var(--accent); margin-bottom: 1.4em; display: flex; align-items: center; gap: 12px; }
.surtitre::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.titre-section { font-size: clamp(2.2rem, 5.6vw, 4.6rem); font-stretch: 112%; max-width: 15ch; }
.texte-doux { color: var(--texte-doux); max-width: 52ch; }
.entete-section { margin-bottom: clamp(40px, 6vw, 80px); }
.entete-ligne { display: flex; justify-content: space-between; align-items: end; gap: 24px; }

.bandeau-maquette { background: var(--accent); color: #fff; text-align: center; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; padding: 6px 12px; position: relative; z-index: 30; }

/* Barre de progression */
.progression { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 40; pointer-events: none; }
.progression span { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* Boutons */
.bouton { display: inline-flex; align-items: center; gap: 14px; padding: 18px 28px; font: 600 0.95rem/1 var(--titres); letter-spacing: 0.02em; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .3s, color .3s, border-color .3s, gap .3s var(--doux); }
.bouton:hover { gap: 22px; }
.bouton-plein { background: var(--accent); color: #fff; }
.bouton-plein:hover { background: #a42a22; }
.bouton-trait { border-color: rgba(255, 255, 255, .45); color: #fff; }
.bouton-trait:hover { background: #fff; color: var(--noir); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* En-tête */
.entete { position: sticky; top: 0; z-index: 25; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 18px var(--gouttiere); color: #fff; margin-bottom: -86px; transition: background .4s, color .4s, padding .4s; }
.entete.plein { background: rgba(239, 237, 232, .92); color: var(--texte); backdrop-filter: blur(12px); padding-block: 12px; box-shadow: 0 1px 0 rgba(0,0,0,.08); }
.marque { display: grid; text-decoration: none; line-height: 1; }
.marque-nom { font-size: 1.7rem; font-weight: 800; font-stretch: 125%; letter-spacing: -0.02em; }
.marque-sous { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; opacity: .7; margin-top: 6px; }
.menu { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.menu a { text-decoration: none; font-size: 0.92rem; position: relative; }
.menu a:not(.menu-contact)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--doux); }
.menu a:hover::after, .menu a.actif::after { transform: scaleX(1); transform-origin: left; }
.menu-contact { border: 1px solid currentColor; padding: 11px 18px; }
.menu-contact:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.bouton-menu { display: none; width: 44px; height: 44px; background: none; border: 0; color: inherit; cursor: pointer; position: relative; }
.bouton-menu span:not(.sr) { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .3s; }
.bouton-menu span:nth-child(1) { top: 17px; } .bouton-menu span:nth-child(2) { top: 26px; }
.bouton-menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.bouton-menu[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

/* Accueil */
.accueil { position: relative; min-height: 100svh; color: #fff; display: grid; align-items: end; overflow: hidden; background: var(--noir); }
.accueil-photo { position: absolute; inset: 0; }
.accueil-photo img { width: 100%; height: 115%; object-fit: cover; transform: translateY(var(--parallaxe, 0)) scale(1.06); animation: zoom-entree 2.6s var(--doux) both; }
.accueil-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,9,.55) 0%, rgba(10,10,9,.15) 35%, rgba(10,10,9,.75) 100%); }
@keyframes zoom-entree { from { transform: scale(1.18); filter: grayscale(1) brightness(.6); } }
.trame { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 120px 120px; mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); animation: trame 2s 0.4s var(--doux) both; }
@keyframes trame { from { opacity: 0; background-size: 60px 60px; } }
.repere { position: absolute; width: 22px; height: 22px; border-color: rgba(255,255,255,.6); border-style: solid; border-width: 0; z-index: 2; }
.repere-hg { top: 110px; left: var(--gouttiere); border-top-width: 1px; border-left-width: 1px; }
.repere-hd { top: 110px; right: var(--gouttiere); border-top-width: 1px; border-right-width: 1px; }
.repere-bg { bottom: 28px; left: var(--gouttiere); border-bottom-width: 1px; border-left-width: 1px; }
.repere-bd { bottom: 28px; right: var(--gouttiere); border-bottom-width: 1px; border-right-width: 1px; }
.accueil-contenu { position: relative; z-index: 3; padding: 160px var(--gouttiere) clamp(150px, 18vh, 200px); max-width: 1400px; }
.accueil .cote { color: rgba(255,255,255,.75); margin-bottom: 28px; }
.titre-geant { font-size: clamp(3rem, 8.2vw, 8rem); font-weight: 700; font-stretch: 112%; letter-spacing: -0.045em; line-height: 0.92; }
.titre-geant em { color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .95); }
.titre-geant .ligne { display: block; overflow: hidden; padding-bottom: 0.06em; }
.titre-geant .ligne > span { display: inline-block; animation: monte 1.3s var(--doux) both; }
.titre-geant .ligne:nth-child(2) > span { animation-delay: .15s; }
@keyframes monte { from { transform: translateY(105%); } }
.accueil-texte { max-width: 46ch; color: rgba(255,255,255,.85); font-size: 1.12rem; margin: 30px 0 34px; animation: apparait 1s .6s both; }
.accueil-actions { display: flex; flex-wrap: wrap; gap: 14px; animation: apparait 1s .8s both; }
@keyframes apparait { from { opacity: 0; transform: translateY(20px); } }
.accueil-bas { position: absolute; z-index: 3; left: 50%; bottom: 40px; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; font-family: var(--mono); font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; opacity: .8; }
.accueil-bas i { width: 1px; height: 46px; background: linear-gradient(#fff, transparent); animation: descend 2.2s infinite; transform-origin: top; }
@keyframes descend { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.accueil-fiche { position: absolute; z-index: 3; right: var(--gouttiere); bottom: 48px; list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.2); animation: apparait 1s 1s both; backdrop-filter: blur(6px); }
.accueil-fiche li { background: rgba(15,15,14,.45); padding: 16px 22px; display: grid; gap: 2px; min-width: 240px; }
.accueil-fiche b { font-weight: 600; }
.accueil-fiche span { font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; color: rgba(255,255,255,.65); text-transform: uppercase; }

/* Bande de photos sous l'accueil (l'accueil reste uni, sans photo) */
.bande-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(8px, 1.2vw, 16px); padding: clamp(8px, 1.2vw, 16px); background: var(--papier); }
.bande-photos figure { margin: 0; position: relative; overflow: hidden; aspect-ratio: 4/5; background: var(--beton); }
.bande-photos img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--doux); }
.bande-photos figure:hover img { transform: scale(1.04); }
.bande-photos figcaption { position: absolute; left: 0; bottom: 0; right: 0; padding: 40px 18px 16px; color: #fff; font: 600 1rem var(--titres); background: linear-gradient(transparent, rgba(10,10,9,.7)); }
.bande-photos figcaption span { font-family: var(--mono); font-size: .7rem; color: rgba(255,255,255,.75); margin-right: 8px; }
@media (max-width: 720px) { .bande-photos { grid-template-columns: 1fr 1fr; } .bande-photos figure:first-child { grid-column: 1 / -1; aspect-ratio: 1/1; } }

/* La maison qui se construit */
.construire { position: relative; height: 300vh; background: var(--papier); }
.construire-colle { position: sticky; top: 0; height: 100svh; display: grid; grid-template-columns: minmax(300px, 0.8fr) 1.2fr; align-items: center; gap: clamp(24px, 5vw, 80px); padding: 90px var(--gouttiere) 40px; }
.etapes-textes { position: relative; min-height: 340px; }
.etape-texte { position: absolute; inset: 0 0 auto 0; opacity: 0; transform: translateY(26px); transition: opacity .6s var(--doux), transform .6s var(--doux); pointer-events: none; }
.etape-texte.actif { opacity: 1; transform: none; pointer-events: auto; }
.etape-num { display: block; font-size: clamp(4rem, 9vw, 8rem); font-weight: 800; font-stretch: 125%; line-height: .85; color: transparent; -webkit-text-stroke: 1.4px var(--trait); margin-bottom: 18px; }
.etape-texte h2 { font-size: clamp(1.7rem, 3.2vw, 2.8rem); font-stretch: 110%; margin-bottom: 16px; }
.etape-texte p { color: var(--texte-doux); max-width: 40ch; }
.etapes-points { display: flex; gap: 8px; list-style: none; padding: 0; margin: 28px 0 0; }
.etapes-points li { width: 34px; height: 3px; background: var(--beton); transition: background .4s; }
.etapes-points li.fait { background: var(--accent); }
.construire-dessin { position: relative; }
.maison { width: 100%; height: auto; max-height: 72svh; color: var(--trait); overflow: visible; }
.plan-trame path { stroke: rgba(43, 42, 39, .08); stroke-width: 1; fill: none; }
.maison .t { fill: none; stroke: var(--trait); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: var(--d, 1); }
.maison .t.epais { stroke-width: 2.6; }
.maison .t.fin { stroke-width: 1; }
.maison .f { opacity: var(--o, 0); }
.maison .hach { color: var(--trait); }
.maison .mur-enduit { fill: #f7f5f0; }
.maison .mur-bardage { fill: #3a342d; }
.maison .bardage path { stroke: #5a5047; stroke-width: 2; }
.maison .toit { fill: #2b2a27; }
.maison .verre { fill: url(#verre); }
.maison .porte { fill: #8a4a2b; }
.maison .sol-vert { fill: #9fae8a; }
.maison .arbre line { stroke: #4b3d30; stroke-width: 5; }
.maison .arbre circle { fill: #7f9668; }
.maison .cle circle { fill: var(--accent); }
.maison .cle text { fill: #fff; font: 600 9px var(--mono); letter-spacing: .1em; }
.cote-dessin { opacity: var(--o, 0); }
.cote-dessin path { stroke: var(--accent); stroke-width: 1; fill: none; }
.cote-dessin text, .maison .note { font: 500 11px var(--mono); fill: var(--accent); letter-spacing: .04em; }
.maison .note { opacity: var(--o, 0); transition: opacity .4s; }
.dessin-legende { display: flex; align-items: center; gap: 16px; font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--texte-doux); margin: 18px 0 0; }
.legende-barre { flex: 1; height: 1px; background: var(--beton); position: relative; }
.legende-barre i { position: absolute; inset: 0; background: var(--trait); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* Savoir-faire */
.savoir-faire { background: var(--noir); color: var(--sur-noir); position: relative; }
.savoir-faire em { color: var(--sur-noir-doux); }
.metiers { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.14); }
.metier { display: grid; grid-template-columns: 80px 1fr 1fr 40px; gap: 24px; align-items: center; padding: clamp(26px, 3.4vw, 44px) 0; border-bottom: 1px solid rgba(255,255,255,.14); position: relative; cursor: default; }
.metier::before { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--doux); z-index: 0; }
.metier > * { position: relative; z-index: 1; }
.metier:hover::before { transform: scaleY(1); }
.metier-num { font-family: var(--mono); font-size: .8rem; color: var(--sur-noir-doux); }
.metier h3 { font-size: clamp(1.5rem, 3.4vw, 2.8rem); font-stretch: 115%; transition: transform .5s var(--doux); }
.metier:hover h3 { transform: translateX(14px); }
.metier p { color: var(--sur-noir-doux); margin: 0; max-width: 46ch; transition: color .3s; }
.metier:hover p, .metier:hover .metier-num { color: #fff; }
.metier-fleche { font-size: 1.6rem; transition: transform .5s var(--doux); }
.metier:hover .metier-fleche { transform: rotate(45deg); }
.curseur-image { position: fixed; left: 0; top: 0; width: 210px; aspect-ratio: 4/5; pointer-events: none; z-index: 20; opacity: 0; transform: translate(var(--x, 0), var(--y, 0)) translate(-50%, -50%) scale(.8) rotate(-4deg); transition: opacity .3s, transform .5s var(--doux); overflow: hidden; }
.curseur-image.visible { opacity: 1; transform: translate(var(--x, 0), var(--y, 0)) translate(-50%, -50%) scale(1) rotate(-2deg); }
.curseur-image img { width: 100%; height: 100%; object-fit: cover; }

/* Réalisations */
.realisations { background: var(--papier); overflow: hidden; }
.fleches { display: flex; gap: 8px; }
.fleche { width: 56px; height: 56px; border: 1px solid var(--trait); background: none; font-size: 1.2rem; cursor: pointer; transition: background .3s, color .3s; }
.fleche:hover { background: var(--trait); color: var(--papier); }
.rail { display: flex; gap: clamp(16px, 2vw, 28px); overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gouttiere) 20px; scrollbar-width: none; cursor: grab; }
.rail::-webkit-scrollbar { display: none; }
.rail.tire { cursor: grabbing; scroll-snap-type: none; }
.projet { flex: 0 0 clamp(260px, 30vw, 420px); margin: 0; scroll-snap-align: start; }
.projet-large { flex-basis: clamp(300px, 52vw, 760px); }
.projet-photo { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--beton); }
.projet-large .projet-photo { aspect-ratio: 16/11; }
.projet-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--doux), filter .6s; filter: grayscale(.35); user-select: none; -webkit-user-drag: none; }
.projet:hover .projet-photo img { transform: scale(1.05); filter: none; }
.projet figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 14px; border-top: 1px solid var(--trait); margin-top: 14px; }
.projet figcaption span { font-weight: 600; font-size: 1.1rem; }
.projet figcaption small { font-family: var(--mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--texte-doux); text-align: right; }
.avant-apres img { position: absolute; inset: 0; }
.avant-apres .avant { clip-path: inset(0 calc(100% - var(--pos)) 0 0); filter: grayscale(.6); }
.avant-apres::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.2); pointer-events: none; }
.avant-apres input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.aa-etiquette { position: absolute; top: 14px; z-index: 2; font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; background: rgba(15,15,14,.7); color: #fff; padding: 6px 10px; pointer-events: none; }
.aa-avant { left: 14px; } .aa-apres { right: 14px; }

/* Garanties */
.garanties { background: var(--beton); }
.garanties-grille { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.frise { list-style: none; margin: 0; padding: 0; position: relative; }
.frise li { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 26px 0; border-bottom: 1px solid rgba(43,42,39,.2); position: relative; }
.frise li::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--trait); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--doux); transition-delay: var(--delai, 0s); }
.frise li.vu::after { transform: scaleX(1); }
.frise-duree { font-size: 2.2rem; font-weight: 800; font-stretch: 120%; line-height: 1; white-space: nowrap; }
.frise h3 { font-size: 1.3rem; margin-bottom: 8px; }
.frise p { color: var(--texte-doux); margin: 0; }

/* Méthode */
.methode-liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--trait); }
.methode-liste li { padding: 28px 24px 0 0; position: relative; }
.methode { background: var(--beton); }
.methode-liste li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; background: var(--beton); border: 1px solid var(--trait); transition: background .4s; }
.methode-liste li:hover::before { background: var(--accent); border-color: var(--accent); }
.methode-liste .cote { color: var(--accent); }
.methode-liste h3 { font-size: 1.4rem; font-stretch: 110%; margin: 14px 0 12px; }
.methode-liste p { color: var(--texte-doux); font-size: .96rem; margin: 0; }

/* Appel */
.appel { position: relative; background: var(--accent); color: #fff; overflow: hidden; padding: clamp(120px, 18vw, 240px) 0; }
.appel-photo { position: absolute; inset: 0; }
.appel-photo img { width: 100%; height: 100%; object-fit: cover; opacity: .35; filter: grayscale(1); transform: scale(var(--zoom, 1.15)); transition: transform .2s linear; }
.appel-contenu { position: relative; }
.appel .cote { color: rgba(255,255,255,.7); margin-bottom: 26px; display: block; }
.appel .bouton-plein { background: #fff; color: var(--accent); }
.appel .bouton-plein:hover { background: var(--noir); color: #fff; }
.titre-geant.petit { font-size: clamp(2.6rem, 8vw, 7.4rem); margin-bottom: 44px; max-width: 12ch; }

/* Contact */
.contact { background: var(--papier); }
.contact-grille { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 7vw, 120px); }
.coordonnees { list-style: none; padding: 0; margin: 40px 0 0; border-top: 1px solid var(--trait); }
.coordonnees li { display: grid; grid-template-columns: 130px 1fr; padding: 18px 0; border-bottom: 1px solid rgba(43,42,39,.2); align-items: baseline; }
.coordonnees .cote { color: var(--texte-doux); }
.coordonnees a { text-decoration: none; font-size: 1.15rem; font-weight: 600; }
.coordonnees a:hover { color: var(--accent); }
.formulaire { display: grid; gap: 22px; }
.formulaire label { display: grid; gap: 8px; font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--texte-doux); }
.formulaire input:not([type=radio]):not([type=checkbox]), .formulaire textarea { font: 400 1.05rem var(--titres); color: var(--texte); background: transparent; border: 0; border-bottom: 1px solid var(--trait); padding: 10px 0; border-radius: 0; transition: border-color .3s; resize: vertical; }
.formulaire input:focus, .formulaire textarea:focus { outline: none; border-bottom-color: var(--accent); }
.deux { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.choix-projet { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.choix-projet legend { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--texte-doux); margin-bottom: 12px; }
.choix-projet label { display: block; text-transform: none; letter-spacing: 0; }
.choix-projet input { position: absolute; opacity: 0; }
.choix-projet span { display: inline-block; border: 1px solid var(--trait); padding: 12px 18px; font: 500 .95rem var(--titres); color: var(--texte); cursor: pointer; transition: background .3s, color .3s; }
.choix-projet input:checked + span { background: var(--trait); color: var(--papier); }
.choix-projet input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.formulaire .accord { display: flex; gap: 12px; align-items: flex-start; text-transform: none; letter-spacing: 0; font-family: var(--titres); font-size: .9rem; }
.formulaire .accord input { margin-top: 4px; accent-color: var(--accent); }
.formulaire .bouton { justify-self: start; }
.formulaire .message { margin: 0; font-size: .95rem; }
.formulaire .message.erreur { color: var(--accent); }

/* Pied */
.pied { background: var(--noir); color: var(--sur-noir-doux); overflow: hidden; }
.pied-grand { font-size: clamp(5rem, 27vw, 26rem); font-weight: 800; font-stretch: 125%; letter-spacing: -0.05em; line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.18); text-align: center; padding-top: 60px; white-space: nowrap; }
.pied-bas { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 30px 0; border-top: 1px solid rgba(255,255,255,.12); font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; }
.pied-bas p { margin: 0; }

/* Apparitions au défilement */
.js .apparait-scroll { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--doux), transform 1s var(--doux); transition-delay: var(--delai, 0s); }
.js .apparait-scroll.vu { opacity: 1; transform: none; }
.js .titre-section.apparait-scroll { transform: translateY(60px) skewY(3deg); transform-origin: left; transition: transform 1.3s var(--doux), opacity 1s; }
.js .titre-section.apparait-scroll.vu { transform: none; }

/* Téléphone et tablette */
@media (max-width: 1200px) { .accueil-fiche { display: none; } }
@media (max-width: 560px) { .marque-sous { letter-spacing: 0.1em; font-size: 0.56rem; } .marque-nom { font-size: 1.45rem; } }
@media (max-width: 960px) {
  .bouton-menu { display: block; z-index: 2; }
  .menu { position: fixed; inset: 0; background: var(--noir); color: #fff; flex-direction: column; justify-content: center; gap: 26px; font-size: 1.6rem; opacity: 0; pointer-events: none; transition: opacity .4s; }
  .menu a { font-size: 1.8rem; font-stretch: 115%; font-weight: 600; }
  .menu.ouvert { opacity: 1; pointer-events: auto; }
  .entete.menu-ouvert { color: #fff; background: transparent; box-shadow: none; }
  .accueil-fiche { display: none; }
  .construire { height: 280vh; }
  .construire-colle { grid-template-columns: 1fr; align-content: center; gap: 10px; padding-top: 80px; }
  .construire-dessin { order: -1; }
  .maison { max-height: 42svh; }
  .etapes-textes { min-height: 210px; }
  .etape-num { font-size: 3.4rem; margin-bottom: 8px; }
  .etape-texte h2 { font-size: 1.5rem; margin-bottom: 8px; }
  .etape-texte p { font-size: .96rem; }
  .construire-texte .surtitre { display: none; }
  .maison .note { display: none; }
  .metier { grid-template-columns: 44px 1fr 28px; }
  .metier p { grid-column: 2 / 4; }
  .metier-fleche { grid-row: 1; grid-column: 3; }
  .curseur-image { display: none; }
  .garanties-grille, .contact-grille { grid-template-columns: 1fr; }
  .methode-liste { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--trait); }
  .methode-liste li { padding: 0 0 34px 28px; }
  .methode-liste li::before { top: 4px; left: -5px; }
  .entete-ligne { align-items: start; flex-direction: column; }
  .deux { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .repere { display: none; }
  .bouton { padding: 16px 22px; }
  .accueil-contenu { padding-bottom: 130px; }
  .titre-geant { font-size: clamp(2.6rem, 13vw, 4rem); }
  .titre-geant em { -webkit-text-stroke-width: 1.2px; }
  .frise li { grid-template-columns: 96px 1fr; }
  .frise-duree { font-size: 1.6rem; }
  .coordonnees li { grid-template-columns: 100px 1fr; }
}

/* Moins d'animations demandé par l'appareil : tout est montré directement */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .construire { height: auto; }
  .construire-colle { position: static; height: auto; padding-block: 100px; }
  .etapes-textes { min-height: 0; display: grid; gap: 28px; }
  .etape-texte { position: static; opacity: 1; transform: none; }
  .maison .t { --d: 0; } .maison .f, .cote-dessin, .maison .note { --o: 1; }
  .js .apparait-scroll { opacity: 1; transform: none; clip-path: none; }
}

/* Pages légales (mentions légales, confidentialité) */
.page-legale .entete { position: sticky; margin-bottom: 0; }
.page-legale .retour { text-decoration: none; font-size: .92rem; border: 1px solid currentColor; padding: 10px 16px; }
.page-legale .retour:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.texte-legal { max-width: 780px; padding: clamp(56px, 9vw, 110px) 0; }
.texte-legal h1 { font-size: clamp(2.2rem, 6vw, 3.8rem); font-stretch: 112%; margin-bottom: 14px; }
.texte-legal h2 { font-size: 1.3rem; font-stretch: 108%; margin: 2.4em 0 .7em; padding-top: 1.2em; border-top: 1px solid rgba(43,42,39,.18); }
.texte-legal p { color: var(--texte-doux); }
.texte-legal strong, .texte-legal a { color: var(--texte); }
.texte-legal a { text-decoration-color: var(--accent); text-underline-offset: 3px; }
.texte-legal .maj { font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }
.a-completer { background: #ffe9a8; color: #5a4300; padding: 0 4px; border-radius: 3px; }
.page-legale .retour { white-space: nowrap; }
@media (max-width: 560px) { .page-legale .marque-sous { display: none; } .page-legale .retour { padding: 9px 12px; font-size: .85rem; } }
.logo-dmc { display: block; height: 34px; width: auto; }
.page-legale .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (max-width: 560px) { .logo-dmc { height: 28px; } }

/* Logo repris de la carte de visite : maison rouge + « D.M.C. » rouge en Arial gras */
.marque { display: grid; grid-template-columns: auto auto; column-gap: 12px; align-items: center; justify-content: start; }
.logo-maison { grid-row: 1 / 3; width: 58px; height: auto; }
.logo-nom { font-family: Arial, Helvetica, sans-serif; font-weight: 700; font-size: 1.75rem; line-height: 1; letter-spacing: 0.02em; color: #e0302a; display: flex; align-items: baseline; gap: 8px; }
.logo-nom small { font-size: 0.42em; letter-spacing: 0.04em; }
.entete .logo-nom small { color: #fff; } .entete.plein .logo-nom small, .entete.menu-ouvert .logo-nom small { color: var(--texte); } .entete.menu-ouvert .logo-nom small { color: #fff; }
.marque-sous { margin-top: 4px; }
.entete:not(.plein) .logo-nom { text-shadow: 0 1px 12px rgba(0,0,0,.35); }
@media (max-width: 560px) { .logo-maison { width: 46px; } .logo-nom { font-size: 1.45rem; } }
.coordonnees small { display: block; color: var(--texte-doux); font-size: .88rem; margin-top: 4px; line-height: 1.45; }
.accueil-texte strong { display: block; color: #fff; font-weight: 600; font-size: 1.25rem; margin-bottom: 6px; }

/* ── Téléphone (17 nov.) : plus clair, plus de photos, appel en un geste ── */
.metier-photo { display: none; }
.barre-appel { display: none; }
@media (max-width: 960px) {
  .metier-photo { display: block; grid-column: 2 / 4; width: 100%; aspect-ratio: 16/10; object-fit: cover; margin-top: 4px; }
  .construire { height: 280vh; }
}
@media (max-width: 560px) {
  .marque-sous { display: none; }
  .accueil .cote { display: none; }
  .accueil-contenu { padding-top: 130px; }
  .accueil-texte { font-size: 1.04rem; }
  .barre-appel { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--noir); padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); gap: 8px; box-shadow: 0 -6px 20px rgba(0,0,0,.25); }
  .barre-appel a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; font-weight: 600; text-decoration: none; color: #fff; border: 1px solid rgba(255,255,255,.35); }
  .barre-appel .barre-devis { background: var(--accent); border-color: var(--accent); }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
}
.bande-photos img.haut { object-position: center 25%; }
.bandeau-maquette a { color: #fff; text-decoration: none; font-weight: 500; }

/* ── Chantiers suivis (18 nov.) : avant / pendant / après, photos côte à côte ── */
.chantiers { background: var(--noir-2); color: var(--sur-noir); }
.chantiers em { color: var(--sur-noir-doux); }
.chantier { display: grid; grid-template-columns: minmax(220px, 0.42fr) 1fr; gap: clamp(20px, 4vw, 64px); align-items: start; padding: clamp(28px, 4vw, 56px) 0; border-top: 1px solid rgba(255,255,255,.14); }
.chantier:last-child { border-bottom: 1px solid rgba(255,255,255,.14); }
.chantier-texte .cote { color: var(--accent); display: block; margin-bottom: 14px; }
.chantier-texte h3 { font-size: clamp(1.5rem, 2.6vw, 2.3rem); font-stretch: 110%; margin-bottom: 14px; }
.chantier-texte p { color: var(--sur-noir-doux); margin: 0; max-width: 38ch; }
.chantier-etapes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(8px, 1vw, 14px); }
.chantier.deux .chantier-etapes { grid-template-columns: repeat(2, 1fr); }
.chantier.haut .chantier-etapes { max-width: 640px; }
.chantier-etapes figure { margin: 0; }
.chantier-etapes img { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: var(--trait); }
.chantier.haut .chantier-etapes img { aspect-ratio: 4/5; }
.chantier-etapes figcaption { padding-top: 10px; font-size: .92rem; color: var(--sur-noir-doux); }
.chantier-etapes figcaption b { display: inline-block; font: 500 .66rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #fff; background: var(--accent); padding: 3px 8px; margin-right: 8px; }
@media (max-width: 960px) { .chantier { grid-template-columns: 1fr; } .chantier.haut .chantier-etapes { max-width: none; } }
@media (max-width: 560px) { .chantier-etapes { grid-template-columns: 1fr 1fr; } .chantier-etapes figure:nth-child(3) { grid-column: 1 / -1; } .chantier-etapes figcaption b { display: block; width: fit-content; margin: 0 0 4px; } }


/* ── Version claire retenue par Catia (20 nov.) : accueil beige, anthracite chaud à la place du noir pur (#0f0f0e / #1a1a18 avant) ── */
/* Accueil clair */
.accueil { background: var(--papier); color: var(--texte); }
.trame { background-image: linear-gradient(rgba(0,0,0,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,.05) 1px, transparent 1px); }
.repere { border-color: rgba(0,0,0,.35); }
.accueil .cote { color: var(--texte-doux); }
.titre-geant em { color: var(--accent); -webkit-text-stroke: 0; }
.accueil-texte { color: var(--texte-doux); }
.accueil-texte strong { color: var(--texte); }
.accueil .bouton-trait { border-color: var(--trait); color: var(--texte); }
.accueil .bouton-trait:hover { background: var(--trait); color: var(--papier); }
.accueil-bas { color: var(--texte-doux); }
.accueil-bas i { background: linear-gradient(var(--trait), transparent); }
.accueil-fiche { background: rgba(0,0,0,.14); border-color: rgba(0,0,0,.14); backdrop-filter: none; }
.accueil-fiche li { background: #fff; }
.accueil-fiche span { color: var(--texte-doux); }

/* En-tête posé sur l'accueil clair : texte foncé dès le départ */
.entete { color: var(--texte); }
.entete .logo-nom small { color: var(--texte); }
.entete:not(.plein) .logo-nom { text-shadow: none; }
