/* Hashline — monde « le chantier » */
@font-face { font-family: "Archivo"; src: url("fonts/archivo-latin-wdth-normal.woff2") format("woff2-variations"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
:root {
  --fond: #edf0f2; --blanc: #fff; --encre: #111315; --encre-2: #4d545c; --trait: #ff5a1f; --trait-pale: #ffe3d6; --gris: #d5dade; --vert: #1f8a4c;
  /* Variantes plus foncées de l'orange pour atteindre le contraste WCAG AA : texte, texte très gros, fond de bouton (texte blanc). */
  --trait-texte: #ab2d00; --trait-grand: #e04a10; --trait-bouton: #d13d00; --trait-bouton-survol: #b83400; --gris-texte: #666d75;
  --ease: cubic-bezier(.16, 1, .3, 1); --large: min(1280px, 100% - 2 * clamp(1rem, 4vw, 3rem));
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Archivo", system-ui, sans-serif; font-stretch: 100%; font-size: 1.0625rem; line-height: 1.55; color: var(--encre); background: var(--fond); }
::selection { background: var(--trait); color: #fff; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--trait-texte); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cadre { width: var(--large); margin-inline: auto; }
p { max-width: 64ch; text-wrap: pretty; }

/* Fond : quadrillage de plan, seulement derrière la scène */
.quadrillage { background-image: linear-gradient(rgb(17 19 21 / .055) 1px, transparent 1px), linear-gradient(90deg, rgb(17 19 21 / .055) 1px, transparent 1px); background-size: 32px 32px; }

header.site-hl { position: fixed; inset: 0 0 auto; z-index: 20; background: color-mix(in srgb, var(--fond) 86%, transparent); backdrop-filter: blur(10px); }
header.site-hl .cadre { display: flex; align-items: center; gap: 1rem; min-height: 72px; }
.marque { display: inline-flex; align-items: center; gap: .55rem; font-weight: 800; font-stretch: 120%; font-size: 1.15rem; letter-spacing: -.01em; text-decoration: none; text-transform: uppercase; }
.marque svg { width: 28px; height: 28px; flex: none; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 1.25rem; }
.nav a:not(.btn) { font-weight: 600; text-decoration: none; font-size: .95rem; }
.nav a:not(.btn):hover { text-decoration: underline; text-decoration-color: var(--trait); text-decoration-thickness: 2px; text-underline-offset: .3em; }
@media (max-width: 600px) { .nav a:not(.btn) { display: none; } }

.btn { display: inline-flex; align-items: center; gap: .6rem; min-height: 50px; padding: .8rem 1.35rem; border: 0; border-radius: 4px; background: var(--trait-bouton); color: #fff; font: inherit; font-weight: 700; font-stretch: 110%; font-size: 1rem; text-decoration: none; cursor: pointer; box-shadow: 0 10px 24px -12px rgb(255 90 31 / .8); transition: transform .3s var(--ease), background-color .2s; }
.btn:hover { transform: translateY(-2px); background: var(--trait-bouton-survol); }
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--encre { background: var(--encre); box-shadow: 0 10px 24px -12px rgb(0 0 0 / .6); }
.btn--encre:hover { background: #2a2e33; }
.btn--petit { min-height: 42px; padding: .5rem 1rem; font-size: .92rem; }

/* ---------- La scène de construction (défilement) ---------- */
.scene { position: relative; height: 440vh; }
.scene__scene { position: sticky; top: 0; height: 100svh; display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; padding-top: 72px; }
.recit h1 { margin: 0; font-weight: 800; font-stretch: 118%; font-size: clamp(2.2rem, 4.6vw, 4.2rem); line-height: .95; letter-spacing: -.035em; text-wrap: balance; }
.recit h1 em { font-style: normal; color: var(--trait-grand); }
.recit .chapo { margin: 1rem 0 1.4rem; color: var(--encre-2); font-size: 1.12rem; max-width: 34ch; }
.etapes { list-style: none; margin: 1.6rem 0 1.6rem; padding: 0; display: grid; gap: .2rem; border-left: 2px solid var(--gris); }
.etapes li { position: relative; padding: .45rem 0 .45rem 1.1rem; color: var(--encre-2); transition: color .4s; }
.etapes li::before { content: ""; position: absolute; left: -2px; top: 0; bottom: 0; width: 2px; background: var(--trait); transform: scaleY(0); transform-origin: top; transition: transform .5s var(--ease); }
.etapes li.actif { color: var(--encre); }
.etapes li.actif::before, .etapes li.fait::before { transform: scaleY(1); }
.etapes li.fait { color: var(--encre-2); }
.etapes b { display: block; font-weight: 750; font-stretch: 110%; font-size: 1.05rem; letter-spacing: -.01em; }
.etapes span { font-size: .93rem; }
.etapes .quand { display: inline-block; min-width: 3.6rem; font-weight: 700; color: var(--trait-texte); }
.defile-indice { display: inline-flex; align-items: center; gap: .5rem; margin-left: 1rem; font-size: .9rem; color: var(--encre-2); }
.defile-indice i { width: 18px; height: 28px; border: 2px solid currentColor; border-radius: 10px; position: relative; }
.defile-indice i::after { content: ""; position: absolute; left: 50%; top: 5px; width: 3px; height: 6px; margin-left: -1.5px; border-radius: 2px; background: currentColor; animation: roule 1.6s ease-in-out infinite; }
@keyframes roule { 50% { transform: translateY(7px); opacity: .3; } }

/* Atelier : là où le site se construit */
.atelier { position: relative; height: min(74svh, 640px); display: grid; place-items: center; }
.cote { position: absolute; color: var(--trait-texte); font-size: .75rem; font-weight: 700; font-stretch: 100%; letter-spacing: .06em; text-transform: uppercase; transition: opacity .5s; }
.cote--h { top: -26px; left: 0; right: 0; display: flex; align-items: center; gap: .5rem; }
.cote--h::before, .cote--h::after { content: ""; flex: 1; height: 1px; background: currentColor; }
.navigateur { position: relative; width: 100%; height: 100%; background: var(--blanc); border-radius: 10px; box-shadow: 0 1px 2px rgb(0 0 0 / .08), 0 30px 60px -30px rgb(17 19 21 / .45); overflow: hidden; display: grid; grid-template-rows: auto 1fr; transition: width 1s var(--ease), border-radius 1s var(--ease), height 1s var(--ease); container-type: inline-size; }
.barre { display: flex; align-items: center; gap: .45rem; padding: .6rem .8rem; background: #f4f5f6; border-bottom: 1px solid #e5e7e9; font-size: .8rem; }
.barre i { width: 9px; height: 9px; border-radius: 50%; background: #d3d7db; }
.url { margin-left: .4rem; flex: 1; display: flex; align-items: center; gap: .4rem; padding: .22rem .7rem; background: #fff; border-radius: 999px; color: var(--encre-2); white-space: nowrap; overflow: hidden; }
.url .cadenas { width: 12px; height: 12px; opacity: 0; transition: opacity .4s; }
.enligne { margin-left: auto; padding: .15rem .55rem; border-radius: 999px; background: var(--vert); color: #fff; font-weight: 700; font-size: .72rem; opacity: 0; transform: scale(.6); transition: opacity .4s, transform .5s var(--ease); }

/* Le site d'exemple */
.ex { --c: #8a3b12; --c2: #f6ece1; overflow: hidden; display: grid; grid-template-rows: auto auto 1fr; }
.bloc { position: relative; transition: background-color .6s, color .6s, opacity .6s, box-shadow .6s, border-color .6s, transform .8s var(--ease); }
.bloc::after { content: attr(data-nom); position: absolute; left: 6px; top: 4px; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--trait-texte); opacity: 0; transition: opacity .4s; pointer-events: none; }
.ex__haut { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 1.2rem; }
.ex__nom { font-weight: 800; font-stretch: 95%; color: var(--c); font-size: 1.1rem; letter-spacing: -.02em; }
.ex__menu { display: flex; gap: 1rem; font-size: .82rem; color: #555; }
.ex__tel { font-size: .8rem; font-weight: 700; background: var(--c); color: #fff; padding: .4rem .8rem; border-radius: 999px; white-space: nowrap; }
.ex__corps { display: grid; grid-template-columns: 1.1fr 1fr; gap: 1.4rem; align-items: center; padding: 1.4rem 1.2rem; background: var(--c2); }
.ex__titre { margin: 0; font-weight: 800; font-stretch: 90%; font-size: clamp(1.4rem, 4.6cqi, 2.6rem); line-height: 1; letter-spacing: -.035em; }
.ex__texte { margin: .7rem 0 1rem; font-size: .88rem; color: #444; }
.ex__boutons { display: flex; gap: .5rem; flex-wrap: wrap; }
.ex__boutons span { font-size: .8rem; font-weight: 700; padding: .5rem .85rem; border-radius: 999px; background: var(--c); color: #fff; }
.ex__boutons span + span { background: #fff; color: var(--c); box-shadow: inset 0 0 0 1.5px var(--c); }
.ex__photo { aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--c); }
.ex__photo svg { width: 100%; height: 100%; }
.ex__bas { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; padding: 1rem 1.2rem; align-content: start; }
.ex__bas div { font-size: .8rem; color: #555; padding: .6rem .7rem; border-radius: 8px; background: #f6f6f4; }
.ex__bas b { display: block; color: #151515; font-size: .86rem; }
@container (max-width: 520px) {
  .ex__menu { display: none; }
  .ex__corps { grid-template-columns: 1fr; padding: 1rem; }
  .ex__photo { order: -1; aspect-ratio: 16 / 9; }
  .ex__titre { font-size: 1.6rem; }
  .ex__bas { grid-template-columns: 1fr; }
}

/* États de chantier */
.e0 .bloc, .e1 .bloc { background: transparent !important; color: transparent !important; box-shadow: inset 0 0 0 1.5px var(--trait) !important; border-radius: 4px; }
.e0 .bloc::after { opacity: 1; }
.e0 .bloc *, .e1 .bloc * { visibility: hidden; }
.e1 .bloc { box-shadow: none !important; background: #eceff1 !important; }
.e1 .bloc.texte-pret * { visibility: visible; color: #6f767d !important; background: transparent !important; box-shadow: none !important; }
.e0 .ex__corps, .e1 .ex__corps { margin: .6rem 1.2rem; background: transparent; }
.e0 .ex__haut, .e1 .ex__haut { margin: .6rem 1.2rem 0; }
.e0 .ex__bas > div, .e1 .ex__bas > div { min-height: 64px; }
.e0 .ex__photo, .e1 .ex__photo { background: transparent; }
.tampon { position: absolute; right: 7%; top: 18%; z-index: 4; padding: .55rem .9rem; border: 3px solid var(--trait); border-radius: 6px; color: var(--trait-texte); background: rgb(255 255 255 / .92); font-weight: 800; font-stretch: 110%; text-transform: uppercase; letter-spacing: .02em; line-height: 1.05; rotate: -8deg; opacity: 0; scale: 1.5; transition: opacity .3s, scale .45s var(--ease); pointer-events: none; }
.tampon small { display: block; font-weight: 600; font-size: .72rem; letter-spacing: .06em; }
.e2 .tampon { opacity: 1; scale: 1; }
.e3 .navigateur, .e4 .navigateur { width: min(340px, 82%); border-radius: 30px; box-shadow: 0 0 0 10px var(--encre), 0 30px 60px -20px rgb(0 0 0 / .55); }
.e3 .cote--h, .e4 .cote--h { opacity: 0; }
.e3 .barre i, .e4 .barre i { display: none; }
.e4 .url .cadenas { opacity: 1; }
.e4 .enligne { opacity: 1; transform: none; }
.carte { position: absolute; left: 0; bottom: 8%; z-index: 5; width: min(270px, 46%); padding: .8rem; border-radius: 12px; background: #fff; box-shadow: 0 24px 40px -20px rgb(0 0 0 / .45); opacity: 0; transform: translate(-20px, 20px) rotate(-3deg); transition: opacity .5s, transform .8s var(--ease); }
.e4 .carte { opacity: 1; transform: rotate(-3deg); }
.carte__plan { position: relative; height: 92px; border-radius: 8px; background: linear-gradient(90deg, transparent 46%, #fff 46% 50%, transparent 50%), linear-gradient(0deg, transparent 55%, #fff 55% 60%, transparent 60%), linear-gradient(35deg, transparent 70%, #fff 70% 73%, transparent 73%), #e7ece6; overflow: hidden; }
.carte__plan b { position: absolute; left: 47%; top: 30%; width: 22px; height: 22px; border-radius: 50% 50% 50% 0; background: var(--trait); rotate: -45deg; }
.e4 .carte__plan b { animation: pique .7s var(--ease) .3s both; }
@keyframes pique { from { translate: 0 -40px; opacity: 0; } to { translate: 0 0; opacity: 1; } }
.carte strong { display: block; margin-top: .55rem; font-size: .95rem; }
.carte span { font-size: .82rem; color: var(--encre-2); }
.carte span b { color: var(--vert); }

@media (max-height: 860px) and (min-width: 861px) {
  .recit h1 { font-size: clamp(2rem, 3.8vw, 3.3rem); }
  .recit .chapo { margin: .7rem 0 .6rem; }
  .etapes { margin: .8rem 0 1rem; }
  .etapes li { padding-block: .3rem; }
  .etapes li:not(.actif) > span { display: none; }
}
@media (max-width: 860px) {
  .scene { height: 400vh; }
  .scene__scene { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); align-items: stretch; gap: .9rem; padding-top: 76px; padding-bottom: 1rem; }
  .recit h1 { font-size: clamp(1.75rem, 7.6vw, 2.5rem); }
  .recit .chapo { margin: .5rem 0 0; font-size: .98rem; max-height: 6em; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s, margin .5s; }
  .scene__scene:not(.e0) .chapo { max-height: 0; opacity: 0; margin: 0; }
  .etapes { margin: .8rem 0 0; border-left: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .etapes li { height: 4px; padding: 0; border-radius: 2px; background: var(--gris); overflow: hidden; }
  .etapes li::before { inset: 0; width: auto; height: auto; transform: scaleX(0); transform-origin: left; }
  .etapes li.actif::before, .etapes li.fait::before { transform: scaleX(1); }
  .etapes li > * { display: none; }
  .etape-mobile { display: block !important; min-height: 3.1em; margin-top: .55rem; font-size: .95rem; line-height: 1.3; color: var(--encre-2); }
  .etape-mobile b { color: var(--encre); font-weight: 750; font-stretch: 110%; }
  .etape-mobile .quand { color: var(--trait-texte); font-weight: 750; margin-right: .4rem; }
  .recit .actions { display: none; }
  .atelier { height: auto; min-height: 0; display: block; }
  .cote { display: none; }
  .navigateur { position: absolute; left: 50%; top: 50%; width: 1000px; height: 640px; transform-origin: center; transform: translate(-50%, -50%) scale(var(--k1, .34)); transition: width 1s var(--ease), height 1s var(--ease), transform 1s var(--ease), border-radius 1s var(--ease); }
  .e3 .navigateur, .e4 .navigateur { width: 340px; height: 660px; transform: translate(-50%, -50%) scale(var(--k2, .6)); }
  .tampon { right: 4%; top: 6%; font-size: .9rem; }
  .carte { display: block; left: 50%; bottom: 4%; top: auto; width: 170px; padding: .6rem; translate: -105% 0; font-size: .85rem; }
  .e4 .carte { transform: rotate(-4deg); }
  .carte__plan { height: 60px; }
  .defile-mobile { display: flex; }
}
.etape-mobile { display: none; }
.defile-mobile { display: none; position: absolute; left: 50%; bottom: 1.2rem; translate: -50% 0; z-index: 6; align-items: center; gap: .45rem; padding: .4rem .8rem; border-radius: 999px; background: var(--encre); color: #fff; font-size: .82rem; font-weight: 600; transition: opacity .4s; }
.scene__scene:not(.e0) .defile-mobile { opacity: 0; }

/* ---------- Suite de la page ---------- */
.section { padding-block: clamp(4rem, 9vw, 7rem); }
.section h2 { margin: 0 0 .8rem; font-weight: 800; font-stretch: 118%; font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: .98; letter-spacing: -.035em; text-wrap: balance; }
.section .intro { color: var(--encre-2); font-size: 1.12rem; margin: 0 0 2.5rem; }
.engagements { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--encre); }
.engagements div { padding: 1.2rem 1.25rem 1.4rem 0; }
.engagements div + div { padding-left: 1.25rem; border-left: 1px solid var(--gris); }
.engagements b { display: block; font-weight: 800; font-stretch: 112%; font-size: 1.45rem; letter-spacing: -.02em; line-height: 1.1; }
.engagements span { color: var(--encre-2); font-size: .95rem; }
@media (max-width: 800px) { .engagements { grid-template-columns: 1fr 1fr; } .engagements div:nth-child(3) { padding-left: 0; border-left: 0; } .engagements div:nth-child(n+3) { border-top: 1px solid var(--gris); } }

.prix { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.offre { position: relative; padding: clamp(1.5rem, 3vw, 2.2rem); background: #fff; border-radius: 6px; box-shadow: 0 1px 2px rgb(0 0 0 / .06), 0 24px 40px -28px rgb(0 0 0 / .35); }
.offre::before { content: attr(data-cote); position: absolute; top: -.75rem; left: 1.5rem; background: var(--trait-bouton); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .2rem .55rem; border-radius: 3px; }
.offre h3 { margin: 0; font-weight: 800; font-stretch: 118%; font-size: 1.6rem; letter-spacing: -.02em; }
.offre .montant { margin: .6rem 0 1rem; font-weight: 800; font-stretch: 100%; font-size: clamp(3rem, 6vw, 4.2rem); line-height: .9; letter-spacing: -.04em; }
.offre .montant small { font-size: .95rem; font-weight: 500; letter-spacing: 0; color: var(--encre-2); }
.offre ul { margin: 0 0 1.4rem; padding: 0 0 0 1.1rem; display: grid; gap: .4rem; }
.offre li::marker { color: var(--trait); }
.offre .pied { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; align-items: center; font-weight: 600; font-size: .95rem; }
@media (max-width: 760px) { .prix { grid-template-columns: 1fr; } }

.demande { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 2rem clamp(2rem, 6vw, 5rem); align-items: start; }
@media (max-width: 860px) { .demande { grid-template-columns: 1fr; } }
form.f { position: relative; background: #fff; border-radius: 6px; padding: clamp(1.25rem, 3vw, 2rem); display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; box-shadow: 0 24px 40px -28px rgb(0 0 0 / .4); }
.champ { display: grid; gap: .35rem; }
.champ--large { grid-column: 1 / -1; }
.champ label { font-weight: 650; font-size: .92rem; }
.champ input, .champ select { font: inherit; min-height: 48px; padding: .6rem .8rem; border: 1.5px solid var(--gris); border-radius: 4px; background: #fff; }
.champ input:focus, .champ select:focus { outline: none; border-color: var(--trait); box-shadow: 0 0 0 3px var(--trait-pale); }
.champ :user-invalid { border-color: #c0262d; }
.f .turnstile { grid-column: 1 / -1; }
.f .turnstile:empty { display: none; }
.f .envoyer { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; }
.f .envoyer p { margin: 0; font-size: .88rem; color: var(--encre-2); max-width: 34ch; }
.merci { position: absolute; inset: 0; display: grid; place-content: center; gap: .4rem; text-align: center; background: #fff; border-radius: inherit; opacity: 0; visibility: hidden; transition: opacity .4s; }
.merci strong { font-weight: 800; font-stretch: 115%; font-size: 1.6rem; }
.f.ok .merci { opacity: 1; visibility: visible; }
@media (max-width: 560px) { form.f { grid-template-columns: 1fr; } }



@media (prefers-reduced-motion: reduce) {
  .scene { height: auto; }
  .scene__scene { position: static; height: auto; padding-block: 110px 3rem; }
  /* Sur téléphone, l'atelier (positionné en absolu) ne doit pas s'effondrer quand la scène n'est plus collée à l'écran. */
  @media (max-width: 860px) { .atelier { min-height: min(46rem, 135vw); } }
  .defile-indice { display: none; }
  * { transition: none !important; animation: none !important; }
}
.fige *, .fige *::before, .fige *::after { transition: none !important; animation: none !important; }

/* ---------- Pied de page ---------- */
.pied-site { padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; border-top: 2px solid var(--encre); }
.pied-site__grille { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.pied-site p { margin: .8rem 0 0; color: var(--encre-2); }
.pied-site ul { list-style: none; margin: .6rem 0 0; padding: 0; display: grid; gap: .4rem; }
.pied-site a { text-decoration: none; }
.pied-site a:hover { text-decoration: underline; text-decoration-color: var(--trait); text-underline-offset: .3em; }
.etiq { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--trait-texte); }
.pied-site__bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid var(--gris); color: var(--encre-2); font-size: .9rem; }
@media (max-width: 760px) { .pied-site__grille { grid-template-columns: 1fr; } }
/* Maintenance sur petit écran : une fiche par formule */
.formules-mobile { display: none; }
@media (max-width: 640px) {
  .nomenclature { display: none; }
  .formules-mobile { display: grid; gap: 1rem; }
  .formules-mobile article { padding: 1.3rem; background: #fff; border-radius: 6px; box-shadow: 0 1px 2px rgb(0 0 0 / .06), 0 20px 30px -24px rgb(0 0 0 / .35); }
  .formules-mobile article.pro { box-shadow: inset 0 0 0 2px var(--trait); }
  .formules-mobile h3 { margin: 0; display: flex; justify-content: space-between; align-items: baseline; font-weight: 800; font-stretch: 118%; font-size: 1.25rem; }
  .formules-mobile h3 span { font-stretch: 100%; font-size: 1.6rem; letter-spacing: -.04em; }
  .formules-mobile h3 small { font-size: .85rem; font-weight: 500; color: var(--encre-2); }
  .formules-mobile ul { margin: .8rem 0 0; padding-left: 1.1rem; display: grid; gap: .35rem; }
  .formules-mobile li::marker { color: var(--trait); }
}
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--trait); text-decoration-thickness: 2px; text-underline-offset: .3em; }

/* ---------- Pages intérieures ---------- */
.titre-page { padding: calc(72px + clamp(2.5rem, 7vw, 5rem)) 0 clamp(2.5rem, 5vw, 4rem); }
.titre-page .cadre { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 1.5rem 3rem; align-items: end; }
.titre-page h1 { margin: 0; font-weight: 800; font-stretch: 118%; font-size: clamp(2.5rem, 6vw, 4.8rem); line-height: .95; letter-spacing: -.04em; text-wrap: balance; }
.titre-page h1 em { font-style: normal; color: var(--trait-grand); }
.titre-page p { margin: 0; color: var(--encre-2); font-size: 1.15rem; }
.titre-page .cote-page { grid-column: 1 / -1; display: flex; align-items: center; gap: .6rem; color: var(--trait-texte); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.titre-page .cote-page::before, .titre-page .cote-page::after { content: ""; flex: 1; height: 1px; background: currentColor; }
.titre-page .cote-page::before { flex: 0 0 2rem; }
@media (max-width: 820px) { .titre-page .cadre { grid-template-columns: 1fr; } }

/* Tableau de maintenance, façon nomenclature de plan */
.nomenclature { overflow-x: auto; background: #fff; border-radius: 6px; box-shadow: 0 1px 2px rgb(0 0 0 / .06), 0 24px 40px -28px rgb(0 0 0 / .35); }
.nomenclature table { width: 100%; min-width: 620px; border-collapse: collapse; }
.nomenclature th, .nomenclature td { padding: .95rem 1.2rem; text-align: left; border-bottom: 1px solid #e6e9ec; }
.nomenclature thead th { vertical-align: bottom; border-bottom: 2px solid var(--encre); }
.nomenclature thead th:not(:first-child), .nomenclature td { text-align: center; }
.nomenclature tbody th { font-weight: 550; }
.nomenclature .formule { display: block; font-weight: 800; font-stretch: 118%; font-size: 1.25rem; letter-spacing: -.02em; }
.nomenclature .tarif { display: block; margin-top: .2rem; font-weight: 800; font-size: 1.8rem; letter-spacing: -.04em; }
.nomenclature .tarif small { font-size: .9rem; font-weight: 500; color: var(--encre-2); letter-spacing: 0; }
.nomenclature td svg { width: 22px; height: 22px; margin: 0 auto; color: var(--trait); }
.nomenclature .non { color: var(--gris-texte); font-size: .92rem; }
.nomenclature .pro { background: #fff6f1; }
.nomenclature tbody tr:last-child > * { border-bottom: 0; }

/* Déroulé compact (pages intérieures) */
.deroule { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--encre); }
.deroule li { padding: 1.2rem 1.25rem 1.4rem 0; }
.deroule li + li { padding-left: 1.25rem; border-left: 1px solid var(--gris); }
.deroule .quand { display: block; font-weight: 800; color: var(--trait-texte); margin-bottom: .2rem; }
.deroule b { display: block; font-weight: 800; font-stretch: 112%; font-size: 1.25rem; letter-spacing: -.02em; }
.deroule span:not(.quand) { color: var(--encre-2); font-size: .95rem; }
@media (max-width: 800px) { .deroule { grid-template-columns: 1fr 1fr; } .deroule li:nth-child(3) { padding-left: 0; border-left: 0; } .deroule li:nth-child(n+3) { border-top: 1px solid var(--gris); } }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 2rem clamp(2rem, 6vw, 5rem); align-items: start; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
.coordonnees { margin: 0; border-top: 2px solid var(--encre); }
.coordonnees > div { padding: 1.1rem 0 1.2rem; border-bottom: 1px solid var(--gris); }
.coordonnees dd { margin: .3rem 0 0; font-size: 1.2rem; font-weight: 650; }
.coordonnees dd small { display: block; font-weight: 400; font-size: .95rem; color: var(--encre-2); }
.champ textarea { font: inherit; min-height: 8rem; padding: .6rem .8rem; border: 1.5px solid var(--gris); border-radius: 4px; resize: vertical; }
.champ textarea:focus { outline: none; border-color: var(--trait); box-shadow: 0 0 0 3px var(--trait-pale); }
.champ .erreur { display: none; font-size: .85rem; color: #c0262d; font-weight: 600; }
.champ:has(:user-invalid) .erreur { display: block; }
.piege { position: absolute; left: -9999px; }
.statut { grid-column: 1 / -1; margin: 0; font-weight: 600; color: #c0262d; }
.statut:empty { display: none; }

/* Texte juridique */
.juridique { max-width: 72ch; padding-bottom: clamp(4rem, 8vw, 6rem); }
.juridique h2 { margin: 2.5rem 0 .6rem; font-weight: 800; font-stretch: 112%; font-size: 1.45rem; letter-spacing: -.02em; line-height: 1.15; }
.juridique h2:first-child { margin-top: 0; }
.juridique p, .juridique li { color: var(--encre-2); }
.juridique strong { color: var(--encre); font-weight: 650; }
.juridique ul { padding-left: 1.2rem; }


/* Remplace les styles en ligne, interdits par la politique de sécurité du contenu. */
.section--collee { padding-top: 0; }
.mt-15 { margin-top: 1.5rem; }
.mt-25 { margin-top: 2.5rem; }

/* Mentions de prix : TTC en petit, note de TVA sous les grilles */
.offre .ttc { margin: -.6rem 0 1rem; font-size: .9rem; font-weight: 500; color: var(--encre-2); }
.formules-mobile .ttc { margin: .15rem 0 .8rem; font-size: .85rem; color: var(--encre-2); }
.nomenclature .ttc { display: block; font-size: .85rem; font-weight: 500; color: var(--encre-2); letter-spacing: 0; }
.note-prix { margin: 1.2rem 0 0; font-size: .9rem; color: var(--encre-2); }
