/* lf-voile-leger-16nov : voiles de heros alignes sur l'accueil, a la demande
   du client. Profil ancre en PIXELS depuis chaque bord, le contenu de ces
   heros etant cale en bas : 0,60 sur les 170 premiers px pour detacher
   l'en-tete, puis 0,42 au maximum sur les 300 derniers px, eteint a 660 px
   du pied. Les opacites restent pilotees par --lf-v. */
/* ==========================================================================
   Ligne Finition — Pages piliers metier (bloc acf/lignefinition-metier)
   Hero immersif split -> reassurance -> intro -> process -> techniques
   -> pourquoi -> renovation. Angles vifs, or en accent, fonds alternes.
   ========================================================================== */

.lf-mp { --mp-wrap: 1200px; }
/* Sortir le bloc de la largeur de contenu contrainte -> pleine largeur ecran
   (comme les bandes reassurance/realisations/conversion). overflow-x:clip du body
   absorbe le decalage scrollbar de 100vw. */
.lf-mp{ position: relative; width: 100vw; max-width: 100vw; left: 50%; transform: translateX(-50%); margin: 0; }
.lf-mp h2, .lf-mp h3 { margin: 0; }
.lf-mp p { margin: 0; }

/* ---- HERO "Le releve" : photographie annotee + panneau editorial -------- */
/* La photographie occupe tout le heros, bord a bord. Le padding haut degage
   l'en-tete du site, qui est fixe sur 114 px : en dessous, la barre passerait
   sous le menu. */
.lf-mph{
  position: relative; width: 100vw; max-width: 100vw; left: 50%; transform: translateX(-50%);
  isolation: isolate; overflow: hidden; box-sizing: border-box;
  display: flex; flex-direction: column;
  min-height: 100vh; min-height: 100svh;
  background: var(--lf-encre, #14161A);
  color: #F6F5F1;
  padding: clamp(118px, 15vh, 140px) 0 0;
}
/* Le theme est en content-box : sans cette ligne, les fiches debordent de leur padding. */
.lf-mph *, .lf-mph *::before, .lf-mph *::after{ box-sizing: border-box; }
.lf-mph__edge{
  position: absolute; left: 40px; top: 56%; transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl;
  font-family: var(--ff-display, 'Raleway', sans-serif); font-weight: 600; font-size: 12px; letter-spacing: .4em;
  text-transform: uppercase; color: rgba(246,245,241,.4); z-index: 3;
}
.lf-mph__in{
  position: relative; z-index: 1; flex: 1 1 auto; width: 100%; max-width: 1320px;
  margin-inline: auto; display: grid; align-items: end;
  padding: clamp(1.4rem, 3vw, 2.4rem) clamp(1.5rem, 3.4vw, 3rem);
}
/* Largeur calibree pour que le chapeau tienne sur trois lignes et que la
   premiere ligne du titre ne se casse pas. Mesure sur les quatre pages. */
.lf-mph__txt{ max-width: 48rem; }

/* ---- photographie de fond et voile montant ---------------------------- */
.lf-mph__img{
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%;
  object-fit: cover; object-position: var(--pos, center); display: block;
}
.lf-mph__veil{
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  /* Voile calibre a l execution : assets/js/voile.js mesure la photo
     derriere chaque texte et pose --lf-v sur le heros. La valeur par defaut
     de la variable vaut 1, donc cette feuille reste juste sans script.
     ⛔ La fenetre claire a 12 % a ete SUPPRIMEE : l en-tete du site est
     transparent, le menu passe donc sur la photo a cette hauteur exacte, et
     il y tombait a 1,53:1 sur la fiche Stuc. Le commentaire d origine disait
     « la ou rien n est pose » : la navigation y est posee.
     Arrets rechantillonnes en smootherstep, pas de rupture de pente. */
  background:
    linear-gradient(to bottom,rgba(10,11,14,calc(var(--lf-v,1) * 0.6)) 0px,rgba(10,11,14,calc(var(--lf-v,1) * 0.565)) 34px,rgba(10,11,14,calc(var(--lf-v,1) * 0.41)) 68px,rgba(10,11,14,calc(var(--lf-v,1) * 0.19)) 102px,rgba(10,11,14,calc(var(--lf-v,1) * 0.035)) 136px,rgba(10,11,14,0) 170px),
    linear-gradient(to top,rgba(10,11,14,calc(var(--lf-v,1) * 0.42)) 0px,rgba(10,11,14,calc(var(--lf-v,1) * 0.42)) 300px,rgba(10,11,14,calc(var(--lf-v,1) * 0.411)) 345px,rgba(10,11,14,calc(var(--lf-v,1) * 0.377)) 390px,rgba(10,11,14,calc(var(--lf-v,1) * 0.317)) 435px,rgba(10,11,14,calc(var(--lf-v,1) * 0.21)) 480px,rgba(10,11,14,calc(var(--lf-v,1) * 0.103)) 525px,rgba(10,11,14,calc(var(--lf-v,1) * 0.0435)) 570px,rgba(10,11,14,calc(var(--lf-v,1) * 0.0091)) 615px,rgba(10,11,14,0) 660px);;
}

/* ---- fil d'Ariane : present pour la navigation, masque a l'ecran ------ */
.lf-mph .lf-sr{
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.lf-mph__fil a{ color: inherit; text-decoration: none; }

/* ---- pied du heros : legende de la photographie ----------------------- */
/* Le pied porte la legende de la photographie et l'ancrage. Le voile y vaut
   deja 0,9 : aucun fond rapporte n'est necessaire. */
.lf-mph__pied{
  position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: baseline;
  gap: .4rem 2rem; width: 100%; max-width: 1320px; margin-inline: auto;
  padding: .85rem clamp(1.5rem, 3.4vw, 3rem) 1.05rem;
  border-top: 1px solid rgba(246,245,241,.16);
  font-size: 11.5px; letter-spacing: .05em; color: rgba(246,245,241,.62);
}
.lf-mph__leg{ max-width: 70ch; }
.lf-mph__pied .lf-mph__lieu{ margin-left: auto; color: rgba(246,245,241,.74); }
@media (max-width: 760px){ .lf-mph__pied .lf-mph__lieu{ margin-left: 0; } }

@media (max-width: 900px){
  .lf-mph{ padding-top: clamp(96px, 13vh, 118px); }
  .lf-mph__lieu{ margin-left: 0; width: 100%; }
}
.lf-mph__trait{ display:block; height:2px; width:66px; background: var(--lf-or, #A79629); margin-bottom: 1.6rem; }
/* Ce bouton n avait AUCUNE couleur declaree : il heritait de celle que
   WordPress donne a tous les liens, soit l or moyen. Sur la photographie du
   heros, allegee, il tombait a 3,76:1 pour un seuil de 4,5. La couleur est
   donc declaree, en or clair, mesure a 5,82:1. */
.lf-mph .lf-mp-btn{ color: var(--lf-or-clair, #C9BC6A); }
.lf-mph__title{
  font-family: var(--ff-display, 'Raleway', sans-serif); font-weight: 800;
  /* Deux regimes : sous 1100 px le titre doit tenir sur deux lignes a 384 px
     de large, au-dessus il reprend toute son ampleur. */
  font-size: clamp(1.78rem, 5.4vw, 3rem); line-height: 1.04; letter-spacing: -.025em; color: #F8F7F3;
  margin: 0; max-width: none;
}
/* La seconde ligne du titre est portee par la structure, pas par un bridage :
   <em> passe en bloc, le titre tient donc sur deux lignes exactement. */
.lf-mph__title em{ display: block; }

@media (min-width: 1100px){
  .lf-mph__title{ font-size: clamp(3rem, 4.1vw, 4.2rem); line-height: 1.03; }
}

/* Le titre est en blanc d un bout a l autre, sur demande du client (06/11).
   L accent dore passait mal sur une photographie : meme avec un voile
   totalement opaque, l extremite sombre du degrade plafonnait a 4,67:1.
   En blanc, le titre tolere un voile bien plus leger, ce qui laisse enfin
   voir la photographie. L <em> ne sert donc plus qu a la coupure de ligne. */
.lf-mph__title em{ font-style: normal; }
.lf-mph__lede{
  font-family: var(--ff-serif, 'Roboto Slab', serif); font-weight: 300;
  font-size: clamp(1rem, 1.25vw, 1.12rem); line-height: 1.7; color: rgba(246,245,241,.88);
  max-width: none; margin: 1.4rem 0 0;
}
.lf-mph__actions{ display:flex; flex-wrap:wrap; align-items:center; gap: 1.1rem 1.6rem; margin-top: 2.5rem; }
.lf-mph__link{
  font-family: var(--ff-display, 'Raleway', sans-serif); font-weight: 500; letter-spacing:.03em;
  color:#F6F5F1; text-decoration:none; display:inline-flex; align-items:center; gap:.55rem;
}
.lf-mph__link svg{ width:18px; height:18px; transition: transform .3s var(--lf-ease); }
.lf-mph__link:hover svg{ transform: translateX(5px); }

/* Photographie : equerre doree, image servie en priorite (LCP) */
.lf-mph__fig{ position: relative; margin: 0; }
.lf-mph__fig::after{ content:""; position:absolute; right:-14px; top:-14px; width:120px; height:120px; border-right:2px solid var(--lf-or,#A79629); border-top:2px solid var(--lf-or,#A79629); pointer-events:none; }
.lf-mph__media{ position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #20222a; }
/* L'ancienne vignette encadree n'est plus rendue : les regles de .lf-mph__fig,
   .lf-mph__media, .lf-mph__pts, .lf-mph__dot et .lf-mph__card qui suivent ne
   servent plus. Conservees telles quelles, elles ne s'appliquent a rien. */

/* Reperes : pastille numerotee, fiche au survol ou au clavier */
.lf-mph__pts{ position:absolute; inset:0; margin:0; padding:0; list-style:none; z-index:3; }
.lf-mph__pt{ position:absolute; left:var(--x,50%); top:var(--y,50%); width:0; height:0; }
.lf-mph__dot{
  position:absolute; left:0; top:0; transform: translate(-50%,-50%);
  width:34px; height:34px; padding:0; margin:0; cursor:pointer;
  border:1px solid rgba(255,255,255,.6); background: rgba(11,12,15,.55);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  color:#F6F5F1; font-family: var(--ff-display, 'Raleway', sans-serif); font-weight:700; font-size:11px; letter-spacing:.04em;
  display:grid; place-items:center; line-height:1;
  transition: background .3s var(--lf-ease), border-color .3s var(--lf-ease), color .3s var(--lf-ease), transform .3s var(--lf-ease);
}
.lf-mph__dot::before{
  content:""; position:absolute; inset:-8px;
  border:1px solid rgba(201,188,106,.5); opacity:0; transform: scale(.72);
  transition: opacity .35s var(--lf-ease), transform .35s var(--lf-ease);
}
.lf-mph__pt:hover .lf-mph__dot,
.lf-mph__pt:focus-within .lf-mph__dot{ background: var(--lf-or, #A79629); border-color: var(--lf-or-clair, #C9BC6A); color:var(--lf-encre,#14161A); transform: translate(-50%,-50%) scale(1.06); }
.lf-mph__pt:hover .lf-mph__dot::before,
.lf-mph__pt:focus-within .lf-mph__dot::before{ opacity:1; transform: scale(1); }
.lf-mph__dot:focus-visible{ outline:2px solid var(--lf-or-clair, #C9BC6A); outline-offset:4px; }

.lf-mph__card{
  position:absolute; z-index:4; width: min(274px, 60vw);
  background: rgba(12,13,17,.94); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border:1px solid rgba(201,188,106,.34); padding:.9rem 1.05rem 1rem;
  opacity:0; visibility:hidden; transform: translateY(6px);
  transition: opacity .28s var(--lf-ease), transform .28s var(--lf-ease), visibility .28s;
}
.lf-mph__pt--d .lf-mph__card{ left: 26px; }
.lf-mph__pt--g .lf-mph__card{ right: 26px; }
.lf-mph__pt--b .lf-mph__card{ top: 26px; }
.lf-mph__pt--h .lf-mph__card{ bottom: 26px; }
.lf-mph__pt:hover .lf-mph__card,
.lf-mph__pt:focus-within .lf-mph__card{ opacity:1; visibility:visible; transform: translateY(0); }
.lf-mph__card-n{ display:block; font-family: var(--ff-display, 'Raleway', sans-serif); font-weight:600; font-size:10.5px; letter-spacing:.18em; color: var(--lf-or-clair, #C9BC6A); }
.lf-mph__card-t{ display:block; margin-top:.3rem; font-family: var(--ff-display, 'Raleway', sans-serif); font-weight:700; font-size:15px; line-height:1.25; color:#FFFFFF; }
.lf-mph__card-x{ display:block; margin-top:.45rem; font-family: var(--ff-serif, 'Roboto Slab', serif); font-weight:300; font-size:13.5px; line-height:1.55; color: rgba(246,245,241,.78); }
.lf-mph__aide{ margin:.9rem 0 0; font-family: var(--ff-display, 'Raleway', sans-serif); font-size:12.5px; letter-spacing:.05em; color: rgba(246,245,241,.42); }

/* ---- REASSURANCE : bande sombre native de .lf-ra (texte clair lisible) --- */

/* ---- Titres de section communs ------------------------------------------ */
.lf-mp-h2{
  font-family: var(--ff-display, 'Raleway', sans-serif); font-weight: 800;
  font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.12; color: var(--lf-encre, #14161A);
  letter-spacing: -.01em;
}
.lf-mp-h2--light{ color:#F8F7F3; }
.lf-mp-lead{
  font-family: var(--ff-serif, 'Roboto Slab', serif); font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.6; color: var(--lf-gris-texte, #3A3D45); margin-top: 1rem; max-width: none;
}
.lf-mp-lead--light{ color: rgba(246,245,241,.76); }
.lf-mp-rte{ margin-top: 1.1rem; color: var(--lf-gris-texte, #3A3D45); }
.lf-mp-rte p{ font-size: clamp(1rem, 1.2vw, 1.1rem); line-height: 1.72; margin-bottom: 1rem; }
.lf-mp-rte p:last-child{ margin-bottom: 0; }
.lf-mp-rte ul{ margin: 1rem 0 0; padding: 0; list-style: none; display: grid; gap: .55rem; }
.lf-mp-rte li{ position: relative; padding-left: 1.4rem; line-height: 1.6; }
.lf-mp-rte li::before{ content:""; position:absolute; left:0; top:.62em; width:12px; height:1.6px; background: var(--lf-or, #A79629); }

/* petite regle verticale doree */
.lf-vrule{ display:block; width:2px; height:34px; background: var(--lf-or, #A79629); margin-bottom: 1.4rem; }

/* ---- INTRO (image | texte) ---------------------------------------------- */
.lf-mp-intro{ background: var(--lf-clair, #F6F6F6); padding: clamp(3.5rem, 7vw, 6.5rem) clamp(1.25rem, 4vw, 3rem); }
.lf-mp-intro__in{ max-width: var(--mp-wrap); margin-inline: auto; display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.lf-mp-intro__media{ position: relative; }
.lf-mp-intro__img{ display:block; width:100%; height: clamp(300px, 34vw, 460px); object-fit: cover; }
.lf-mp-intro__media::after{ content:""; position:absolute; left:-14px; bottom:-14px; width:120px; height:120px; border-left:2px solid var(--lf-or,#A79629); border-bottom:2px solid var(--lf-or,#A79629); }

/* ---- PROCESS (etapes numerotees) ---------------------------------------- */
.lf-mp-process{ background: var(--lf-blanc, #fff); padding: clamp(3.5rem, 7vw, 6.5rem) clamp(1.25rem, 4vw, 3rem); }
.lf-mp-process__in{ max-width: var(--mp-wrap); margin-inline: auto; }
.lf-mp-head{ max-width: none; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.lf-mp-steps{ list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.4rem, 2.4vw, 2.2rem); counter-reset: none; }
.lf-mp-step{ display: grid; grid-template-columns: auto 1fr; gap: 1.3rem; align-items: start; padding: 1.6rem 1.7rem; background: var(--lf-clair, #F6F6F6); border-top: 2px solid var(--lf-or, #A79629); }
.lf-mp-step__n{ font-family: var(--ff-display, 'Raleway', sans-serif); font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.6rem); color: rgba(167,150,41,.55); line-height: 1; }
.lf-mp-step__t{ font-family: var(--ff-display, 'Raleway', sans-serif); font-weight: 700; font-size: 1.18rem; color: var(--lf-encre, #14161A); margin-bottom: .4rem; }
.lf-mp-step__b p{ color: var(--lf-gris-texte, #3A3D45); line-height: 1.62; font-size: .98rem; }

/* ---- TECHNIQUES (grille de cartes) -------------------------------------- */
.lf-mp-tech{ position: relative; background: var(--lf-encre, #14161A); color:#F6F5F1; padding: clamp(3.5rem, 7vw, 6.5rem) clamp(1.25rem, 4vw, 3rem); overflow: hidden; }
.lf-mp-tech__in{ position: relative; z-index:1; max-width: var(--mp-wrap); margin-inline: auto; }
.lf-mp-tech__grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.6rem); margin-top: clamp(1.8rem, 3.5vw, 3rem); }
.lf-mp-tech__card{ background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.09); padding: 1.7rem 1.6rem 1.9rem; transition: border-color .35s var(--lf-ease), background .35s var(--lf-ease), transform .35s var(--lf-ease); }
.lf-mp-tech__card:hover{ border-color: rgba(201,188,106,.5); background: rgba(255,255,255,.06); transform: translateY(-3px); }
.lf-mp-tech__bar{ display:block; width: 40px; height: 2px; background: var(--lf-or, #A79629); margin-bottom: 1.1rem; }
.lf-mp-tech__t{ font-family: var(--ff-display, 'Raleway', sans-serif); font-weight: 700; font-size: 1.2rem; color:#F8F7F3; margin-bottom: .6rem; }
.lf-mp-tech__x{ color: rgba(246,245,241,.72); line-height: 1.62; font-size: .96rem; }
/* Carte CTA qui equilibre la grille (occupe les cases restantes) */
.lf-mp-tech__cta{ grid-column: span 2; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 1rem; padding: 2rem 2.2rem; text-decoration: none; background: linear-gradient(135deg, rgba(167,150,41,.18), rgba(167,150,41,.03)); border: 1px solid rgba(201,188,106,.42); transition: border-color .35s var(--lf-ease), transform .35s var(--lf-ease); }
.lf-mp-tech__cta:hover{ border-color: rgba(201,188,106,.8); transform: translateY(-3px); }
.lf-mp-tech__cta-k{ font-family: var(--ff-display, 'Raleway', sans-serif); font-weight: 600; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--lf-or-clair, #C9BC6A); }
.lf-mp-tech__cta-t{ font-family: var(--ff-display, 'Raleway', sans-serif); font-weight: 700; font-size: clamp(1.3rem, 2vw, 1.75rem); line-height: 1.18; color: #F8F7F3; max-width: none; }
.lf-mp-tech__cta-btn{ margin-top: .4rem; pointer-events: none; }

/* ---- SPLIT (pourquoi / renovation) -------------------------------------- */
.lf-mp-split{ background: var(--lf-blanc, #fff); padding: clamp(3.5rem, 7vw, 6.5rem) clamp(1.25rem, 4vw, 3rem); }
.lf-mp-split--reno{ background: var(--lf-clair, #F6F6F6); }
.lf-mp-split__in{ max-width: var(--mp-wrap); margin-inline: auto; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.lf-mp-split__media{ position: relative; }
.lf-mp-split__img{ display:block; width:100%; height: clamp(320px, 38vw, 520px); object-fit: cover; }
.lf-mp-split__media::after{ content:""; position:absolute; right:-14px; top:-14px; width:120px; height:120px; border-right:2px solid var(--lf-or,#A79629); border-top:2px solid var(--lf-or,#A79629); }
.lf-mp-split .lf-mp-btn{ margin-top: 1.7rem; }

/* ---- Responsive --------------------------------------------------------- */
@media (max-width: 1100px){
  .lf-mph__in{ grid-template-columns: 1fr; gap: clamp(2rem, 6vw, 3rem); }
  .lf-mph__edge{ display: none; }
  .lf-mph{ min-height: auto; }
}
@media (max-width: 900px){
  .lf-mp-intro__in,
  .lf-mp-split__in{ grid-template-columns: 1fr; }
  .lf-mp-intro__media{ order: -1; }
  .lf-mp-split--rev .lf-mp-split__media{ order: -1; }
  .lf-mp-steps{ grid-template-columns: 1fr; }
  .lf-mp-tech__grid{ grid-template-columns: repeat(2, 1fr); }
  .lf-mp-tech__cta{ grid-column: auto; }
}
@media (max-width: 560px){
  .lf-mp-tech__grid{ grid-template-columns: 1fr; }
}
@media (max-width: 760px){
  .lf-mph{ padding-top: clamp(104px, 20vw, 150px); }
  .lf-mph__media{ aspect-ratio: 4 / 3; }
  .lf-mph__fig::after{ display: none; }
  .lf-mph__dot{ width:30px; height:30px; font-size:10px; left: var(--x, 50%); }
  /* La fiche prend toute la largeur de la photographie : aucune ne deborde du cadre. */
  .lf-mph__pt{ left: 0; top: var(--y, 50%); width: 100%; }
  .lf-mph__pt .lf-mph__card{ left: 0; right: auto; width: 100%; }
  .lf-mph__pt--h .lf-mph__card{ top: auto; bottom: 28px; }
  .lf-mph__pt--b .lf-mph__card{ bottom: auto; top: 28px; }
}

/* motif-hero-metier : rosace doree + halo a la place du fond sombre (client 10/09) */


