/* Styles des scènes de motion/scenes-cours.js (chargé avec motion.css). */

/* Acronyme */
.acr {
  display: grid;
  grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr));
  gap: 26px;
  height: 560px;
}
.acr-n3 { --n: 3; }
.acr-n4 { --n: 4; }
.acr-n5 { --n: 5; }
.acr-n6 { --n: 6; gap: 20px; }
.acr-col {
  --fill: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 34px 32px;
  border-radius: 34px;
  overflow: hidden;
  background: color-mix(in srgb, var(--c) calc(var(--fill) * 14%), #0e0c11);
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--c) calc(18% + var(--fill) * 30%), transparent);
}
.acr-col.is-on {
  box-shadow: inset 0 0 0 3px var(--c), 0 30px 90px -30px var(--c);
}
.acr-k {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 112%;
  font-size: 230px;
  line-height: 0.9;
  color: var(--c);
  transform-origin: 0 0;
}
.acr-n6 .acr-k { font-size: 190px; }
.acr-t {
  margin-top: auto;
  position: relative;
  z-index: 1;
}
.acr-w {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 46px;
  line-height: 1.04;
}
.acr-n6 .acr-w { font-size: 36px; }
.acr-s {
  margin-top: 14px !important;
  font-size: 28px;
  line-height: 1.3;
  color: var(--mist-300);
}
.acr-n6 .acr-s { font-size: 24px; }
.acr-s [lang='ar'] {
  display: block;
  text-align: right;
  font-size: 1.1em;
  color: var(--gold-300);
}
.acr-bar {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 10px;
  background: var(--c);
  transform-origin: 50% 100%;
}
.acr-note {
  margin-top: 34px !important;
  font-size: 32px;
  color: var(--mist-300);
}

/* Tableau */
.tb {
  display: grid;
  gap: 12px;
  font-size: 32px;
}
.tb-h,
.tb-r {
  display: grid;
  grid-template-columns: 0.7fr 1.25fr 1.25fr;
  gap: 0;
  align-items: center;
  border-radius: 22px;
}
.tb-h {
  padding: 0 30px 6px;
  font-family: var(--font-mono);
  font-size: 22px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mist-400);
}
.tb-h span [lang='ar'] {
  text-transform: none;
  letter-spacing: 0;
}
.tb-r {
  --fill: 0;
  position: relative;
  padding: 26px 30px;
  background: #110f15;
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--c) 26%, transparent);
}
.tb-r.is-on {
  background: color-mix(in srgb, var(--c) 14%, #110f15);
  box-shadow: inset 0 0 0 3px var(--c), 0 24px 70px -30px var(--c);
}
.tb-r span {
  padding-right: 24px;
  line-height: 1.25;
}
.tb-k {
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 110%;
  font-size: 44px;
  color: var(--c);
}
.tb-r .is-ar {
  font-family: var(--font-ar);
  text-align: right;
  font-weight: 600;
  font-size: 34px;
  color: var(--gold-300);
}
.tb-note {
  margin-top: 30px !important;
  font-size: 30px;
  color: var(--mist-300);
}

/* Exemples de hooks */
.hk-row {
  display: flex;
  justify-content: center;
  gap: 70px;
  perspective: 1600px;
}
.hk {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  width: 380px;
}
.hk-ph {
  width: 290px;
  height: 450px;
  border-radius: 54px;
  padding: 14px;
  background: linear-gradient(160deg, #2a2530, #0d0c10);
  box-shadow: inset 0 0 0 3px #3a3340, 0 50px 120px -40px #000;
}
.hk-scr {
  position: relative;
  height: 100%;
  border-radius: 42px;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 40px 30px;
  background: radial-gradient(120% 90% at 50% 20%, color-mix(in srgb, var(--c) 30%, #1a1720) 0%, #0b0a0d 80%);
}
.hk-tag {
  position: absolute;
  top: 44px;
  left: 28px;
  padding: 6px 14px;
  border-radius: 12px;
  font-family: var(--font-mono);
  font-size: 18px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0b0a0d;
  background: var(--c);
}
.hk-t {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 36px;
  line-height: 1.04;
  text-align: center;
  color: #fff;
  text-shadow: 0 6px 30px rgb(0 0 0 / 0.5);
}
.hk-t[lang='ar'] {
  font-family: var(--font-ar);
  line-height: 1.3;
}
.hk-prog {
  position: absolute;
  left: 22px;
  right: 22px;
  top: 22px;
  height: 5px;
  border-radius: 5px;
  background: #fff;
  transform-origin: 0 50%;
}
.hk figcaption {
  font-size: 26px;
  line-height: 1.3;
  text-align: center;
  color: var(--mist-300);
  max-width: 400px;
}
.hk-note {
  margin-top: 30px !important;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 44px;
}
.sc-hooks .s-head {
  text-align: center;
  margin-bottom: 30px;
}
.sc-hooks .s-head .kick {
  justify-content: center;
}
