/* Fin de page, retour 7 de Ben (13/11) : les étapes en escalier, la FAQ et le pied de page mis en scène comme les
   dernières sections de PayPath (colonne centrée, pied de page à grand mot-symbole effacé), avec nos textes ; entre
   les deux, le faisceau de la version d'avant. Fonds sobres et nets : vert forêt à plat, filets, or seulement en accent. */

/* ── Prêt en trois étapes : trois marches qui montent, compte → CV → Claude ── */
.k-stairs{list-style:none;margin:clamp(40px,5vw,64px) 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;border-bottom:1px solid #d9e6c82e}
.k-stairs li{position:relative;display:flex;flex-direction:column;padding:clamp(22px,2.4vw,32px) clamp(18px,2.2vw,32px) 28px;
 border-top:1px solid #e2c48a;background:linear-gradient(180deg,#132a1f 0%,#0f2118 46%,#0c1a13 100%);box-shadow:inset 1px 0 #d9e6c812}
.k-stairs li:first-child{box-shadow:none}
.k-stairs li:before{content:'';position:absolute;left:0;right:0;top:0;height:64px;pointer-events:none;background:linear-gradient(180deg,#e2c48a12,transparent)}
.k-stairs li:nth-child(1){min-height:clamp(230px,19vw,270px)}
.k-stairs li:nth-child(2){min-height:clamp(290px,24vw,345px)}
.k-stairs li:nth-child(3){min-height:clamp(350px,29vw,420px)}
.k-stair-n{display:block;margin:0 0 18px;font:400 clamp(54px,5vw,78px)/.85 "Instrument Serif",Georgia,serif;color:#e2c48a;font-variant-numeric:lining-nums}
.k-stairs h3{margin:0 0 10px;font:550 19px/1.25 Overused,sans-serif;letter-spacing:-.01em;color:#eef2e7}
.k-stairs p{margin:0;max-width:32ch;font-size:15px;line-height:1.6;color:#b9c8b3}
@supports (animation-timeline: view()){
 @media (prefers-reduced-motion:no-preference){
  .k-stairs li{animation:stair-rise linear both;animation-timeline:view();animation-range:entry 10% entry 80%}
  .k-stairs li:nth-child(2){animation-range:entry 22% entry 92%}
  .k-stairs li:nth-child(3){animation-range:entry 34% cover 40%}
  @keyframes stair-rise{from{opacity:.64;transform:translateX(18px)}to{opacity:1;transform:none}}
  /* empilées sur mobile, chaque marche entre seule : un fondu court, sans découpe */
  @media(max-width:760px){.k-stairs li,.k-stairs li:nth-child(n){animation-name:stair-in;animation-range:entry 0% entry 70%}}
  @keyframes stair-in{from{opacity:.7;transform:translateX(9px)}to{opacity:1;transform:none}}
 }
}
@media(max-width:760px){
 .k-stairs{grid-template-columns:1fr;gap:10px;border-bottom:0}
 .k-stairs li{min-height:0!important;box-shadow:none;padding:22px 20px 24px}
 .k-stairs li:nth-child(1){margin-right:16%}
 .k-stairs li:nth-child(2){margin-right:8%}
 .k-stair-n{font-size:48px;margin-bottom:12px}
}

/* A restrained seam marks the start of pricing without covering the river. */
.price-integrated::before{content:"";position:absolute;z-index:1;top:0;left:6%;right:6%;height:1px;pointer-events:none;background:linear-gradient(90deg,transparent,#a6b89a4d 19%,#b5c6a447 77%,transparent)}
/* ── Tarifs → FAQ : une colonne centrée, filets, aucun panneau ── */
html body .k-ending.k-faq{padding:clamp(72px,7.5vw,112px) 0;border-top:1px solid #d9e6c814;
 background:radial-gradient(46% 260px at 50% 0%,#e2c48a0c,transparent 72%),#0a1711}
html body .k-ending.k-faq:before,html body .k-ending.k-faq:after{content:none}
.k-faq .k-faq-grid{display:grid;grid-template-columns:minmax(0,1fr);justify-items:center;gap:clamp(36px,4vw,56px)}
.k-faq .k-faq-grid>div:first-child{width:min(720px,100%)}
.k-ending.k-faq h2{font-size:clamp(36px,3.4vw,52px);line-height:1.05;letter-spacing:-.045em;text-align:center}
.k-faq .k-faq-items{width:min(720px,100%);interpolate-size:allow-keywords}
html body .k-faq-items details{padding:0;border-color:#d9e6c82b;background:none;box-shadow:none}
html body .k-faq-items details[open]{background:none;box-shadow:none}
.k-faq .k-faq-items summary{padding:21px 44px 21px 0;font-size:clamp(16px,1.25vw,18px);font-weight:450;color:#e6ece0;transition:color .2s ease}
.k-faq .k-faq-items summary:hover{color:#fff}
.k-faq .k-faq-items summary:after{content:'';top:50%;right:4px;width:13px;height:13px;margin-top:-6.5px;
 background:linear-gradient(#cfdcbe,#cfdcbe) center/13px 1.5px no-repeat,linear-gradient(#cfdcbe,#cfdcbe) center/1.5px 13px no-repeat;transition:background-size .22s cubic-bezier(.23,1,.32,1)}
.k-faq .k-faq-items details[open] summary:after{content:'';background-size:13px 1.5px,1.5px 0}
.k-faq .k-faq-items details p{max-width:62ch;padding:0 44px 24px 0;color:#b6c5b0}
html body .k-faq-items details[open]>p{color:#c3d1bd}
@supports selector(::details-content){
 @media (prefers-reduced-motion:no-preference){
  .k-faq-items details::details-content{block-size:0;overflow:clip;transition:block-size .34s cubic-bezier(.23,1,.32,1),content-visibility .34s allow-discrete}
  .k-faq-items details[open]::details-content{block-size:auto}
 }
}

/* ── Fin : le faisceau revient (src/ending-river.html, celui de la version d'avant ; retour de Ben du 13/11 au soir,
   « je préfère retrouver le faisceau tout à la fin » plutôt que le bandeau lame + bille). Ses bords se fondent dans
   la FAQ au-dessus et le pied de page au-dessous. */
html body .ending-river:before{background:linear-gradient(to bottom,#0a1711 0%,#0a171100 16%,transparent 78%,#08140e 100%)}

/* ── Pied de page : phrase de marque, colonnes de liens, grand mot-symbole effacé ── */
html body footer.k-foot{padding-top:clamp(64px,7vw,104px);overflow:hidden;background:#08140e;border-top:1px solid #d9e6c814}
.k-foot-top{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:clamp(36px,6vw,96px);align-items:start}
.k-foot-brand{margin:0;font:420 clamp(26px,2.3vw,34px)/1.14 Overused,sans-serif;letter-spacing:-.03em;color:#e9eee3}
.k-foot-cols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.k-foot-cols h3{margin:0 0 12px;font:500 12px/1.3 Overused,sans-serif;letter-spacing:.06em;text-transform:uppercase;color:#8ea38a}
.k-foot-cols a{display:block;width:fit-content;padding:5px 0;font-size:14px;line-height:1.4;color:#c6d3c0;transition:color .2s ease}
.k-foot-cols a:hover{color:#fff}
.k-foot-mark{width:min(89%,1320px);aspect-ratio:2492.5/480;margin:clamp(56px,7vw,110px) auto 0;pointer-events:none;
 background:linear-gradient(180deg,#e3ecd62e 0%,#e3ecd612 55%,#e3ecd600 100%);
 -webkit-mask:url('assets/wordmark.svg') 50% 0/100% auto no-repeat;mask:url('assets/wordmark.svg') 50% 0/100% auto no-repeat}
.k-foot-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 0 26px;border-top:1px solid #d9e6c81a;font-size:12px;color:#8ea38a}
.k-foot-up{display:inline-flex;align-items:center;gap:10px;color:#c6d3c0;transition:color .2s ease}
.k-foot-up span[aria-hidden]{display:grid;place-items:center;width:34px;height:34px;border:1px solid #d9e6c833;border-radius:50%;transition:border-color .2s ease,transform .16s ease-out}
.k-foot-up:hover{color:#fff}
.k-foot-up:hover span[aria-hidden]{border-color:#e2c48a}
.k-foot-up:active span[aria-hidden]{transform:scale(.94)}
@media(max-width:760px){
 .k-foot-top{grid-template-columns:1fr;gap:40px}
 .k-foot-cols{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 20px}
 .k-foot-cols>div:last-child{grid-column:1/-1}
 .k-foot-mark{width:calc(100% - 42px);margin-top:48px}
}
