/* Page Gest'Klinck (build/build_gestklinck.py) : mise en page commune avec premiocare.css et myklinck.css, ici les éléments propres */
.gkh__film { margin: clamp(8px, 2vw, 24px) auto 0; width: min(100%, 1000px); }
.gkh__film video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 24px; background: #f1f2f0;
  box-shadow: 0 1px 2px rgba(16,32,29,.06), 0 30px 70px -30px rgba(16,32,29,.32); }
/* héro : texte centré au-dessus, film en grand dessous (21/10) */
.gk .mkh { grid-template-columns: 1fr !important; justify-items: center !important; text-align: center !important; gap: clamp(28px, 3.5vw, 48px) !important; }
.gk .mkh .pch__txt { justify-items: center !important; }
.gk .mkh .mkh__logo { margin-left: auto; margin-right: auto; }
.gk .mkh .pch__t { max-width: 22ch; margin-left: auto; margin-right: auto; }
.gk .mkh .pch__lead { margin-left: auto !important; margin-right: auto; max-width: 62ch; }
.gk .mkh .pch__bts { justify-content: center !important; }
.mkg--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gk__sig { margin: 14px 0 0; font: 600 14px var(--mono, monospace); letter-spacing: .06em; color: var(--c); }
.gk .mkg h3 { margin-top: 6px; }
.gk__lead { margin: 18px 0 0; max-width: 60ch; font-size: 17px; line-height: 1.55; color: var(--ink-2); }
/* facturation SESAM-Vitale : quatre temps reliés par une ligne */
.gk__flow { list-style: none; margin: clamp(30px, 4vw, 48px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; position: relative; }
.gk__flow::before { content: ""; position: absolute; left: 6%; right: 6%; top: 34px; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, var(--k-green), var(--k-orange), var(--k-violet), var(--k-red)); opacity: .45; }
.gk__flow li { position: relative; padding: 64px 22px 24px; border-radius: 24px; }
.gk__flow li::before { content: ""; position: absolute; left: 22px; top: 22px; width: 28px; height: 28px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 5px var(--c), 0 6px 14px -6px rgba(16,32,29,.3); }
.gk__flow b { display: block; font: 600 clamp(22px, 1.9vw, 27px)/1.15 var(--serif); color: var(--c); }
.gk__flow span:not(.mkc) { display: block; margin-top: 8px; font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.gk__flow .mkc { margin: 10px 6px 0 0; font-size: 13px; }
/* partenariat */
.gk__part p { margin: 0 auto; max-width: 70ch; text-align: center; font: 400 clamp(18px, 1.6vw, 23px)/1.55 var(--serif); color: var(--ink-2); }
.gk__part b { color: var(--ink); font-weight: 600; }
@media (max-width: 1100px) { .mkg--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gk__flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gk__flow::before { display: none; } }
@media (max-width: 640px) { .mkg--4, .gk__flow { grid-template-columns: 1fr; } .gk .mkh { grid-template-columns: 1fr !important; } }

/* plus de motion design (21/10) : films téléservices et séjours, ligne SESAM-Vitale qui se trace */
.gk__sejf { margin: 0; }
.gk__sejf video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 22px; background: #fbfaf7; mix-blend-mode: multiply; }
.gk .mka__in { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.gk__flow::before { transform-origin: 0 50%; transition: transform 1.6s cubic-bezier(.2,.7,.2,1) .2s; }
.gk__flow.mk-rv:not(.is-in)::before { transform: scaleX(0); }
.gk__flow.mk-rv { opacity: 1 !important; transform: none !important; }
.gk__flow li::before { transition: transform .5s cubic-bezier(.3,1.6,.5,1); }
.gk__flow li.mk-rv:not(.is-in)::before { transform: scale(0); }
@media (max-width: 900px) { .gk .mka__in { grid-template-columns: 1fr; } }

/* « Une feuille de soins, de l'acte au paiement » (21/10) : bande pleine largeur, 4 étapes sur une piste, une FSE qui la parcourt */
.gks__in { padding: clamp(40px, 5vw, 70px) clamp(24px, 4vw, 60px); border-radius: 36px;
  background: radial-gradient(70% 90% at 0% 0%, color-mix(in srgb, var(--k-orange) 14%, transparent), transparent 60%),
              radial-gradient(70% 90% at 100% 100%, color-mix(in srgb, var(--k-violet) 12%, transparent), transparent 60%), #fffdf9;
  box-shadow: inset 0 1px 0 #fff, 0 30px 70px -40px rgba(60,45,20,.35); }
.gks__hd .pcs__t { max-width: 20ch; }
.gks__track { list-style: none; margin: clamp(40px, 5vw, 60px) 0 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); }
.gks__track::before { content: ""; position: absolute; left: 30px; right: 30px; top: 30px; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, var(--k-green), var(--k-orange), var(--k-violet), var(--k-red)); opacity: .35; }
.gks__track li { position: relative; padding-top: 0; }
.gks__track .kp { width: 60px; height: 60px; position: relative; z-index: 1; background: #fffdf9; border-radius: 50%; }
.gks__track b { display: block; margin-top: 18px; font: 600 clamp(20px, 1.7vw, 24px)/1.15 var(--serif); color: var(--c); }
.gks__track p { margin: 8px 0 0; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.gks__track small { display: block; margin-top: 10px; font-size: 13.5px; line-height: 1.5; color: var(--ink-3); }
.gks__fse { position: absolute; top: 18px; left: 30px; width: 34px; height: 26px; border-radius: 6px; background: #fff; box-shadow: 0 6px 14px -4px rgba(16,32,29,.35), inset 0 0 0 1.5px var(--k-orange);
  font: 700 9px/26px var(--sans); text-align: center; color: var(--k-orange); font-style: normal; animation: gksRun 6s cubic-bezier(.6,0,.3,1) infinite; z-index: 2; }
@keyframes gksRun { 0% { left: 30px; opacity: 0; } 8% { opacity: 1; } 25%, 30% { left: calc(25% + 16px); } 50%, 55% { left: calc(50% + 6px); } 75%, 82% { left: calc(75% - 4px); } 92% { opacity: 1; } 100% { left: calc(100% - 64px); opacity: 0; } }
.gks__track li .kp { animation: gksPing 6s ease infinite; animation-delay: calc(var(--i) * 1.5s); }
@keyframes gksPing { 0%, 100% { transform: none; } 6% { transform: scale(1.12); } 14% { transform: none; } }
@media (max-width: 900px) {
  .gks__track { grid-template-columns: 1fr; gap: 22px; }
  .gks__track::before { left: 28px; right: auto; top: 30px; bottom: 30px; width: 4px; height: auto; background: linear-gradient(180deg, var(--k-green), var(--k-orange), var(--k-violet), var(--k-red)); }
  .gks__track li { display: grid; grid-template-columns: 60px 1fr; column-gap: 16px; }
  .gks__track li .kp { grid-row: span 3; } .gks__track b { margin-top: 4px; }
  .gks__fse { display: none; }
}
@media (prefers-reduced-motion: reduce) { .gks__fse, .gks__track li .kp { animation: none; } .gks__fse { display: none; } }
