/* 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 — Page hub Savoir-faire (bloc acf/lignefinition-savoirfaire-page)
   Hero manifeste + manifeste + 4 metiers + savoir-faire annexes / materiaux.
   ========================================================================== */

.lf-sfp{ position: relative; width: 100vw; max-width: 100vw; left: 50%; transform: translateX(-50%); margin: 0; }
.lf-sfp h1, .lf-sfp h2, .lf-sfp h3 { margin: 0; }
.lf-sfp p { margin: 0; }

.lf-sfp-h1{ font-family: var(--ff-display, 'Raleway', sans-serif); font-weight: 800; font-size: clamp(2.4rem, 4.6vw, 4rem); line-height: 1.03; letter-spacing: -.02em; color: #F8F7F3; }
.lf-sfp-h2{ font-family: var(--ff-display, 'Raleway', sans-serif); font-weight: 800; font-size: clamp(1.6rem, 2.8vw, 2.4rem); line-height: 1.12; color: var(--lf-encre, #14161A); letter-spacing: -.01em; }
.lf-sfp-h2--light{ color: #F8F7F3; }
.lf-sfp-lead{ font-family: var(--ff-serif, 'Roboto Slab', serif); font-size: clamp(1rem, 1.3vw, 1.12rem); line-height: 1.6; color: var(--lf-gris-texte, #3A3D45); margin-top: .9rem; max-width: none; }
.lf-sfp-trait{ display: block; width: 66px; height: 2px; background: var(--lf-or, #A79629); margin: 1.4rem 0; }

/* ---- HERO manifeste ------------------------------------------------------ */
/* Meme parti pris que les pages metier : photographie pleine largeur,
   voile montant, editorial en bas. Le padding haut degage l'en-tete fixe. */
.lf-sfp-hero{
  position: relative; width: 100vw; max-width: 100vw; left: 50%; transform: translateX(-50%);
  overflow: hidden; isolation: isolate; 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;
}
.lf-sfp-hero *, .lf-sfp-hero *::before, .lf-sfp-hero *::after{ box-sizing: border-box; }
.lf-sfp-hero__flutes{ display:none; }
.lf-sfp-hero__img{
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%;
  object-fit: cover; object-position: center; display: block;
}
.lf-sfp-hero__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);;
}
.lf-sfp-hero .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-sfp-hero__in{
  position: relative; z-index: 1; flex: 1 1 auto; width: 100%; max-width: 1320px;
  margin-inline: auto; display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(1.4rem, 3vw, 2.4rem) clamp(1.5rem, 3.4vw, 3rem);
}
.lf-sfp-hero__in > *{ max-width: 48rem; }
.lf-sfp-hero__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-sfp-hero__leg{ max-width: 70ch; }
.lf-sfp-hero__lieu{ margin-left: auto; color: rgba(246,245,241,.5); }
@media (max-width: 760px){ .lf-sfp-hero__lieu{ margin-left: 0; } }
.lf-sfp-kicker{ display: block; font-family: var(--ff-display, 'Raleway', sans-serif); font-weight: 600; font-size: 13px; letter-spacing: .3em; text-transform: uppercase; color: var(--lf-or-clair, #C9BC6A); }
.lf-sfp-lede{ font-family: var(--ff-serif, 'Roboto Slab', serif); font-weight: 300; font-size: clamp(1.05rem, 1.5vw, 1.28rem); line-height: 1.65; color: rgba(246,245,241,.82); max-width: none; }
.lf-sfp-hero__cta{ display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem 1.6rem; margin-top: 2.2rem; }
.lf-sfp-btn{ display: inline-block; font-family: var(--ff-display, 'Raleway', sans-serif); font-weight: 600; letter-spacing: .03em; background: var(--lf-or, #A79629); color: var(--lf-encre,#14161A); padding: 1rem 2rem; text-decoration: none; transition: background .4s var(--lf-ease), transform .4s var(--lf-ease); }
.lf-sfp-btn:hover{ background: var(--lf-or-clair, #C9BC6A); transform: translateY(-2px); color: var(--lf-encre,#14161A); }
.lf-sfp-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-sfp-link svg{ width: 18px; height: 18px; transition: transform .3s var(--lf-ease); }
.lf-sfp-link:hover svg{ transform: translateX(5px); }

/* ---- MANIFESTE ----------------------------------------------------------- */
.lf-sfp-manifest{ background: var(--lf-clair, #F6F6F6); padding: clamp(3.5rem, 7vw, 6rem) clamp(1.5rem, 4vw, 3rem); }
.lf-sfp-manifest__in{ max-width: 900px; margin-inline: auto; }
.lf-sfp-rte{ margin-top: 1.1rem; color: var(--lf-gris-texte, #3A3D45); }
.lf-sfp-rte p{ font-size: clamp(1rem, 1.2vw, 1.12rem); line-height: 1.75; margin-bottom: 1rem; }
.lf-sfp-rte p:last-child{ margin-bottom: 0; }
.lf-vrule{ display: block; width: 2px; height: 34px; background: var(--lf-or, #A79629); margin-bottom: 1.4rem; }

/* ---- LES 4 METIERS ------------------------------------------------------- */
.lf-sfp-metiers{ background: var(--lf-encre, #14161A); color: #F6F5F1; padding: clamp(3.5rem, 7vw, 6rem) clamp(1.5rem, 4vw, 3rem); }
.lf-sfp-metiers__in{ max-width: 1200px; margin-inline: auto; }
.lf-sfp-head{ max-width: none; margin-bottom: clamp(2rem, 4vw, 3rem); }
.lf-sfp-head .lf-sfp-lead{ color: rgba(246,245,241,.72); }
.lf-sfp-grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 1.6vw, 1.4rem); }
.lf-sfp-card{ position: relative; display: block; overflow: hidden; min-height: 420px; text-decoration: none; background: #20222a; }
.lf-sfp-card__media{ position: absolute; inset: 0; z-index: 0; }
.lf-sfp-card__img{ width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--lf-ease); }
.lf-sfp-card:hover .lf-sfp-card__img{ transform: scale(1.06); }
.lf-sfp-card__scrim{ position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,16,20,.15) 30%, rgba(11,12,15,.55) 60%, rgba(11,12,15,.94) 100%); }
.lf-sfp-card__body{ position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; min-height: 420px; padding: 1.5rem 1.4rem; }
.lf-sfp-card__n{ font-family: var(--ff-display, 'Raleway', sans-serif); font-weight: 700; font-size: 13px; letter-spacing: .12em; color: var(--lf-or-clair, #C9BC6A); }
.lf-sfp-card__t{ font-family: var(--ff-display, 'Raleway', sans-serif); font-weight: 800; font-size: 1.5rem; color: #fff; margin: .3rem 0 .5rem; }
.lf-sfp-card__x{ font-size: 14px; line-height: 1.5; color: rgba(246,245,241,.82); }
.lf-sfp-card__go{ display: inline-flex; align-items: center; gap: .5rem; margin-top: 1rem; font-family: var(--ff-display, 'Raleway', sans-serif); font-weight: 600; font-size: 13.5px; letter-spacing: .03em; color: var(--lf-or-clair, #C9BC6A); }
.lf-sfp-card__go svg{ width: 16px; height: 16px; transition: transform .3s var(--lf-ease); }
.lf-sfp-card:hover .lf-sfp-card__go svg{ transform: translateX(4px); }

/* ---- ANNEXES + MATERIAUX ------------------------------------------------- */
.lf-sfp-plus{ background: var(--lf-blanc, #fff); padding: clamp(3.5rem, 7vw, 6rem) clamp(1.5rem, 4vw, 3rem); }
.lf-sfp-plus__in{ max-width: 1200px; margin-inline: auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); }
.lf-sfp-tags{ list-style: none; margin: 1.5rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.lf-sfp-tags li{ font-family: var(--ff-display, 'Raleway', sans-serif); font-weight: 500; font-size: 14px; color: var(--lf-encre, #14161A); background: var(--lf-clair, #F6F6F6); border: 1px solid var(--lf-gris-ligne, #E4E4E1); border-left: 2px solid var(--lf-or, #A79629); padding: .6rem .9rem; }
.lf-sfp-mats{ list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .7rem 1.2rem; }
.lf-sfp-mats li{ display: flex; align-items: center; gap: .7rem; font-family: var(--ff-display, 'Raleway', sans-serif); font-weight: 500; font-size: 15px; color: var(--lf-gris-texte, #3A3D45); }
.lf-sfp-mats__d{ flex: none; width: 8px; height: 8px; background: var(--lf-or, #A79629); }

/* ---- Responsive ---------------------------------------------------------- */
@media (max-width: 1024px){ .lf-sfp-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px){ .lf-sfp-plus__in{ grid-template-columns: 1fr; } }
@media (max-width: 560px){
  .lf-sfp-grid{ grid-template-columns: 1fr; }
  .lf-sfp-card, .lf-sfp-card__body{ min-height: 340px; }
  .lf-sfp-mats{ grid-template-columns: 1fr; }
}
