/* Page La KRT - konect-group.fr/krt/ (s'appuie sur konect.css, marques.css et reporting.css) */
.kp { --y: #ffce1f; --n: #171a33; }

/* Ouverture */
.kp-hero { background: var(--n); color: var(--white); padding: 140px 0 80px; overflow: hidden; position: relative; }
.kp-hero::after { content: ''; position: absolute; right: -180px; top: -120px; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 206, 31, .22), transparent); pointer-events: none; }
.kp-hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 70px); align-items: center; }
.kp-hero .eyebrow { color: var(--y); }
.kp-hero .eyebrow img { width: 26px; height: 26px; border-radius: 7px; }
.kp-hero h1 { margin-top: 16px; font-size: clamp(54px, 7.6vw, 112px); }
.kp-hero h1 em { font-style: normal; color: var(--y); }
.kp-lead { margin-top: 20px; max-width: 540px; font-size: clamp(17px, 1.6vw, 20px); color: #c9cbe0; }
.kp-hero .hero-cta .btn { background: var(--y); color: var(--n); }
.kp-hero .hero-cta .btn-ghost { background: transparent; color: var(--white); }
.kp-phones { position: relative; height: clamp(420px, 46vw, 600px); }
.kp-phones .ph { position: absolute; width: 46%; height: auto; filter: drop-shadow(0 40px 50px rgba(0, 0, 0, .5)); }
.kp-phones .ph:first-child { left: 6%; top: 0; transform: rotate(-7deg); }
.kp-phones .ph:last-child { right: 4%; top: 12%; transform: rotate(6deg); }
@media (max-width: 900px) {
  .kp-hero .wrap { grid-template-columns: 1fr; }
  .kp-phones { height: 370px; max-width: 460px; width: 100%; margin: 0 auto; }
  .kp-phones .ph { width: 42%; }
  .kp-phones .ph:first-child { left: 9%; top: 3%; }
  .kp-phones .ph:last-child { right: 8%; }
}

/* Ce que l'app propose aux assos */
.kp-app { background: var(--y); color: var(--n); }
.kp-app .sec-num { -webkit-text-stroke-color: var(--n); }
.kp-app .sec-head h2 { line-height: 1.06; }
.kp-app .sec-head h2 em { font-style: normal; color: var(--y); background: var(--n); padding: 0 .14em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.kp-app .sec-head p { color: #3b3a33; }
/* Vidéo de l'app (krt-video.js) : les étapes à gauche suivent la vidéo, un clic y saute. */
.kp-motion { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 380px); gap: clamp(28px, 6vw, 90px); align-items: center; }
.kp-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.kp-steps button {
  position: relative; width: 100%; display: flex; align-items: flex-start; gap: 18px; padding: 18px 22px 20px; border: 0; border-radius: var(--radius);
  background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; overflow: hidden; transition: background .3s var(--ease), color .3s;
}
.kp-steps button:hover { background: rgba(23, 26, 51, .07); }
.kp-step-n { font-family: var(--font-title); font-weight: 800; font-size: 20px; line-height: 1.3; opacity: .45; }
.kp-step-txt b { display: block; font-family: var(--font-title); font-weight: 800; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.1; text-transform: uppercase; }
.kp-step-txt small { display: block; margin-top: 4px; font-size: 15px; color: #3b3a33; transition: color .3s; }
.kp-step-bar { position: absolute; left: 22px; right: 22px; bottom: 9px; height: 3px; border-radius: 3px; background: rgba(255, 206, 31, .2); opacity: 0; }
.kp-step-bar::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: var(--y); transform-origin: left; transform: scaleX(var(--p, 0)); }
.kp-steps li.on button { background: var(--n); color: var(--white); }
.kp-steps li.on .kp-step-n { opacity: 1; color: var(--y); }
.kp-steps li.on .kp-step-txt b { color: var(--y); }
.kp-steps li.on .kp-step-txt small { color: #c9cbe0; }
.kp-steps li.on .kp-step-bar { opacity: 1; }
.kp-video { position: relative; overflow: hidden; border-radius: 30px; background: #081436; box-shadow: 0 40px 80px rgba(23, 26, 51, .35); }
.kp-video video { display: block; width: 100%; height: 100%; object-fit: cover; }
.kp-video-app { aspect-ratio: 9 / 16; }
.kp-video-wide { aspect-ratio: 16 / 9; border-radius: var(--radius); }
@media (max-width: 820px) {
  .kp-motion { grid-template-columns: 1fr; }
  .kp-video-app { order: -1; width: min(320px, 80vw); margin: 0 auto; }
  .kp-steps button { padding: 14px 16px 18px; }
  .kp-step-bar { left: 16px; right: 16px; }
}

/* Une communauté qui vit */
.kp-community { background: var(--white); }
.kp-community .sec-head h2 em { font-style: normal; color: var(--orange); }
.kp-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.kp-point { padding: 24px 26px; border-radius: var(--radius); background: var(--n); color: var(--white); }
.kp-point h3 { font-size: 26px; color: var(--y); }
.kp-point p { margin-top: 8px; font-size: 16px; color: #c9cbe0; }
@media (max-width: 820px) { .kp-points { grid-template-columns: 1fr; } }

/* Côté marque (page /krt/) */
.kp-brand { background: var(--white); }
.kp-brand .sec-head h2 em { font-style: normal; color: var(--orange); }
.kp-brand .kp-points { margin-bottom: clamp(36px, 5vw, 60px); }

.kp-cta { background: var(--y); color: var(--n); padding: clamp(70px, 9vw, 120px) 0; }
.kp-cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.kp-cta h2 { font-size: clamp(48px, 7vw, 104px); }
.kp-cta .btn { background: var(--n); }
.kp-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Boutons de téléchargement (stores) et site de la KRT */
.kp-stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.store {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 14px; border-radius: 14px; text-decoration: none;
  background: #000; color: var(--white); border: 1px solid rgba(255, 255, 255, .22); transition: transform .2s var(--ease), border-color .2s;
}
.store:hover { transform: translateY(-2px); border-color: var(--y); }
.store svg { width: 24px; height: 24px; fill: currentColor; flex-shrink: 0; }
.store span { display: flex; flex-direction: column; line-height: 1.1; font-weight: 700; font-size: 16px; }
.store small { font-weight: 500; font-size: 11px; opacity: .8; }
.kp-stores.on-yellow .store { border-color: transparent; }
.kp-cta-actions .kp-stores { margin-top: 0; }
.kp-cta .kp-cta-actions { align-items: center; }
