/* KAAYXOL 31/10/2026 : page publique KXPRO « Testez vous-même » (kaayxol.ma/kxpro). Police Inter servie par kaayxol.ma. */
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(polices/inter-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(polices/inter-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

:root {
  --nuit: #061113; --nuit-2: #0b1b1e; --graphite: #263137; --teal: #009a8c; --teal-2: #00b3a2; --teal-dk: #00786d; --glow: #3fe3d0;
  --papier: #f3f8f8; --blanc: #fff; --ligne: #d9e6e6; --texte: #0f2224; --doux: #57696b; --rouge: #c0392b;
  --rayon: 22px; --ombre: 0 30px 80px -42px rgba(6, 40, 38, .5); --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/1.6 "Inter", "Segoe UI", system-ui, -apple-system, sans-serif; color: var(--texte); background: var(--papier);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg, video, iframe { max-width: 100%; }
a { color: var(--teal-dk); }
:focus-visible { outline: 3px solid var(--glow); outline-offset: 3px; border-radius: 8px; }
.enveloppe { width: min(1180px, 100% - 32px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- boutons ---------- */
.btn { --c: var(--teal); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px;
  border-radius: 999px; border: 0; font: 650 16px/1 "Inter", system-ui, sans-serif; letter-spacing: -.005em; cursor: pointer; text-decoration: none;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s, color .25s; overflow: hidden; isolation: isolate; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primaire { color: #03211f; background: linear-gradient(135deg, var(--glow), #1fc7b6 55%, var(--teal-2)); box-shadow: 0 14px 34px -14px rgba(63, 227, 208, .75), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn-primaire::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 48%, transparent 66%);
  transform: translateX(-120%); animation: lustre 4.2s var(--ease) 1.4s infinite; }
.btn-primaire:hover { transform: translateY(-2px); box-shadow: 0 22px 44px -16px rgba(63, 227, 208, .9), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn-fantome { color: inherit; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.btn-fantome:hover { background: rgba(255, 255, 255, .12); transform: translateY(-2px); }
.clair .btn-fantome, .btn-fantome.clair { color: var(--texte); background: #fff; box-shadow: inset 0 0 0 1px var(--ligne); }
.clair .btn-fantome:hover, .btn-fantome.clair:hover { box-shadow: inset 0 0 0 1px var(--teal), 0 10px 24px -16px rgba(0, 120, 109, .6); }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }
.btn .rond { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: tourne .8s linear infinite; display: none; }
.btn.charge .rond { display: block; } .btn.charge svg { display: none; }
@keyframes lustre { 0%, 60% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
@keyframes tourne { to { transform: rotate(360deg); } }

/* ---------- barre du haut ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 40; transition: background .35s, box-shadow .35s, backdrop-filter .35s; }
.nav .enveloppe { display: flex; align-items: center; gap: 18px; height: 72px; }
.nav.colle { background: rgba(6, 17, 19, .9); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.marque { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; letter-spacing: .02em; }
.marque img { height: 30px; width: auto; }
.marque small { font-weight: 500; color: rgba(233, 246, 245, .6); letter-spacing: .01em; }
.nav-liens { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.nav-liens a:not(.btn) { color: rgba(233, 246, 245, .8); text-decoration: none; font-weight: 550; font-size: 15px; padding: 10px 12px; border-radius: 10px; transition: color .2s, background .2s; }
.nav-liens a:not(.btn):hover { color: #fff; background: rgba(255, 255, 255, .07); }
.nav .btn { min-height: 42px; padding: 0 18px; font-size: 15px; }
@media (max-width: 760px) { .nav-liens a:not(.btn) { display: none; } .marque small { display: none; } }

/* ---------- héros ---------- */
.heros { position: relative; overflow: hidden; color: #e9f6f5; padding: 128px 0 72px; min-height: min(100vh, 900px); display: grid; align-items: center;
  background: radial-gradient(1100px 680px at 78% 34%, rgba(0, 154, 140, .30), transparent 62%), radial-gradient(800px 560px at 6% 96%, rgba(63, 227, 208, .14), transparent 62%),
  linear-gradient(180deg, var(--nuit), var(--nuit-2) 62%, #0e2326); isolation: isolate; }
.heros::before { content: ""; position: absolute; left: -50%; right: -50%; bottom: -6%; height: 58%; z-index: -1;
  background-image: linear-gradient(rgba(63, 227, 208, .15) 1px, transparent 1px), linear-gradient(90deg, rgba(63, 227, 208, .15) 1px, transparent 1px);
  background-size: 72px 72px; transform: perspective(520px) rotateX(64deg); transform-origin: 50% 0; animation: sol 9s linear infinite;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 26%, #000 64%, transparent); mask-image: linear-gradient(180deg, transparent, #000 26%, #000 64%, transparent); }
@keyframes sol { to { background-position: 0 72px, 0 0; } }
.aurore { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.aurore i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; mix-blend-mode: screen; }
.aurore i:nth-child(1) { width: 520px; height: 520px; left: 52%; top: 4%; background: #0aa596; animation: derive 18s ease-in-out infinite alternate; }
.aurore i:nth-child(2) { width: 420px; height: 420px; left: 72%; top: 46%; background: #1d6fd8; opacity: .28; animation: derive 23s ease-in-out infinite alternate-reverse; }
.aurore i:nth-child(3) { width: 380px; height: 380px; left: -6%; top: 60%; background: #3fe3d0; opacity: .22; animation: derive 20s ease-in-out infinite alternate; }
@keyframes derive { to { transform: translate(-70px, 50px) scale(1.15); } }
.heros-grille { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.surtitre { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; color: var(--glow); margin: 0 0 18px; }
.surtitre::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; box-shadow: 0 0 12px var(--glow); }
.heros h1 { font-size: clamp(40px, 6.4vw, 78px); line-height: 1.02; letter-spacing: -.038em; font-weight: 820; margin: 0 0 22px; text-wrap: balance; }
.heros h1 .m { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.heros h1 .m > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 70ms + 150ms); }
.pret .heros h1 .m > span { transform: none; }
.heros h1 .kx { background: linear-gradient(100deg, var(--glow), #a7fff4 40%, var(--glow) 60%, #18b8a8); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text;
  color: transparent; animation: reflet 6s linear infinite; }
@keyframes reflet { to { background-position: -220% 0; } }
.heros .chapo { font-size: clamp(17px, 1.6vw, 20px); color: rgba(233, 246, 245, .78); max-width: 34em; margin: 0 0 30px; }
.heros .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.puces { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 0; padding: 0; list-style: none; }
.puces li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(233, 246, 245, .82); padding: 8px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.puces li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 10px var(--glow); }
.apparait { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.pret .apparait { opacity: 1; transform: none; }

.robot-scene { position: relative; display: grid; place-items: center; min-height: 520px; }
.robot-scene .halo { position: absolute; width: 440px; height: 440px; border-radius: 50%; background: radial-gradient(closest-side, rgba(63, 227, 208, .32), rgba(63, 227, 208, 0)); filter: blur(6px); animation: pouls 5s ease-in-out infinite; }
.robot-scene .anneau { position: absolute; bottom: 30px; width: 340px; height: 74px; border-radius: 50%; border: 2px solid rgba(63, 227, 208, .55);
  box-shadow: 0 0 40px rgba(63, 227, 208, .45), inset 0 0 30px rgba(63, 227, 208, .25); transform: perspective(400px) rotateX(68deg); animation: anneau 4s ease-in-out infinite; }
.robot-scene .anneau::after { content: ""; position: absolute; inset: -26px; border-radius: 50%; border: 1px dashed rgba(63, 227, 208, .3); animation: tourne 30s linear infinite; }
.robot-corps { position: relative; width: min(330px, 62vw); animation: flotte 6s ease-in-out infinite; transform-origin: 50% 100%; }
.robot-corps svg { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 36px 40px rgba(0, 0, 0, .45)); }
@keyframes flotte { 50% { transform: translateY(-12px); } }
@keyframes pouls { 50% { transform: scale(1.08); opacity: .8; } }
@keyframes anneau { 50% { box-shadow: 0 0 60px rgba(63, 227, 208, .6), inset 0 0 40px rgba(63, 227, 208, .35); } }
.bulle-heros { position: absolute; left: 50%; top: 8%; z-index: 2; translate: 52% 0; min-width: 170px; max-width: 250px; padding: 12px 16px 14px; border-radius: 18px 18px 18px 6px;
  background: rgba(255, 255, 255, .95); color: var(--texte); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .6); font-size: 15px; line-height: 1.35; font-weight: 550;
  transform-origin: 0 100%; transition: transform .5s var(--ease), opacity .5s; }
.bulle-heros small { display: block; font: 600 11px/1 "Inter", system-ui; letter-spacing: .14em; color: var(--teal); margin-bottom: 6px; }
.bulle-heros .t::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--teal); animation: clignote 1s steps(1) infinite; }
@keyframes clignote { 50% { opacity: 0; } }
.bulle-heros.cache { transform: scale(.7); opacity: 0; }
.defile { position: absolute; left: 50%; bottom: 22px; translate: -50% 0; width: 26px; height: 42px; border-radius: 14px; box-shadow: inset 0 0 0 2px rgba(233, 246, 245, .35); }
.defile::after { content: ""; position: absolute; left: 50%; top: 9px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--glow); animation: defile 1.8s var(--ease) infinite; }
@keyframes defile { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@media (max-width: 900px) {
  .heros { padding: 108px 0 64px; min-height: 0; }
  .heros-grille { grid-template-columns: 1fr; gap: 8px; }
  .robot-scene { min-height: 360px; order: -1; margin-top: -10px; }
  .robot-corps { width: min(220px, 52vw); }
  .robot-scene .halo { width: 300px; height: 300px; }
  .robot-scene .anneau { width: 240px; height: 52px; bottom: 16px; }
  .bulle-heros { top: 4%; translate: 34% 0; min-width: 140px; max-width: 190px; font-size: 14px; }
  .defile { display: none; }
}

/* ---------- sections ---------- */
section { position: relative; }
.bloc { padding: clamp(64px, 9vw, 120px) 0; }
.entete { max-width: 760px; margin: 0 0 clamp(28px, 4vw, 48px); }
.entete.centre { margin-inline: auto; text-align: center; }
.entete .surtitre { color: var(--teal-dk); }
.entete .surtitre::before { box-shadow: none; }
.entete h2 { font-size: clamp(32px, 4.4vw, 54px); line-height: 1.04; letter-spacing: -.034em; font-weight: 800; margin: 0 0 14px; text-wrap: balance; }
.entete p { margin: 0; font-size: clamp(16px, 1.4vw, 19px); color: var(--doux); }
.revele { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.revele.vu { opacity: 1; transform: none; }

/* ---------- essai ---------- */
.essai { background: radial-gradient(900px 500px at 85% 0%, rgba(0, 154, 140, .09), transparent 70%), var(--papier); }
.essai-grille { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(20px, 3vw, 36px); align-items: start; }
.carte { background: var(--blanc); border-radius: var(--rayon); box-shadow: var(--ombre), 0 0 0 1px rgba(15, 34, 36, .06); }
.formulaire { padding: clamp(20px, 3vw, 32px); display: grid; gap: 16px; }
.champ { display: grid; gap: 7px; }
.champ > span, .groupe > legend { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; font-weight: 650; color: var(--texte); }
.champ > span small, .groupe > legend small { font-weight: 500; color: var(--doux); }
.compte { font: 500 12px/1 "Inter", system-ui; color: #8aa0a2; font-variant-numeric: tabular-nums; align-self: end; }
input[type=text], input[type=tel], input[type=email], select, textarea { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--ligne);
  background: #fbfdfd; font: 450 16px/1.3 "Inter", system-ui, sans-serif; color: var(--texte); transition: border-color .2s, box-shadow .2s, background .2s; }
textarea { min-height: 92px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #9bb0b2; }
input:hover, select:hover, textarea:hover { border-color: #b8cfcf; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(0, 154, 140, .14); }
.champ.erreur input, .champ.erreur textarea, .champ.erreur select { border-color: var(--rouge); box-shadow: 0 0 0 4px rgba(192, 57, 43, .1); }
.msg-err { font-size: 13.5px; color: var(--rouge); font-weight: 550; display: none; }
.champ.erreur .msg-err { display: block; animation: secoue .4s var(--ease); }
@keyframes secoue { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.groupe { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; min-width: 0; }
.trois { display: grid; gap: 8px; }
.duo { display: grid; grid-template-columns: 120px 1fr; gap: 8px; }
.couleurs { display: flex; flex-wrap: wrap; gap: 10px; }
.couleurs label { position: relative; cursor: pointer; }
.couleurs input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.couleurs i { display: block; width: 40px; height: 40px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 3px #fff, 0 0 0 1px var(--ligne); transition: transform .25s var(--ease), box-shadow .25s; }
.couleurs input:checked + i { box-shadow: inset 0 0 0 3px #fff, 0 0 0 2.5px var(--c); transform: scale(1.08); }
.couleurs input:focus-visible + i { outline: 3px solid var(--glow); outline-offset: 3px; }
.couleurs label:hover i { transform: scale(1.08); }
.nom-couleur { font-size: 13px; color: var(--doux); margin-top: -2px; }
.regie { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--doux); margin: 2px 0 0; padding: 12px 14px; border-radius: 14px; background: #f1f7f7; }
.regie svg { flex: none; width: 18px; height: 18px; color: var(--teal-dk); margin-top: 1px; }
.alerte { display: none; font-size: 14px; font-weight: 550; color: var(--rouge); padding: 12px 14px; border-radius: 12px; background: #fdf0ee; }
.alerte.vue { display: block; }

.scene-col { position: sticky; top: 92px; display: grid; gap: 14px; }
.scene { padding: 14px; display: grid; gap: 12px; }
.cadre { position: relative; margin-inline: auto; width: 100%; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #e9f1f1; isolation: isolate;
  box-shadow: inset 0 0 0 1px rgba(15, 34, 36, .08); transition: width .5s var(--ease); }
.scene[data-fmt="9x16"] .cadre { aspect-ratio: 9 / 16; width: min(100%, 360px, max(240px, calc((100vh - 340px) * 9 / 16))); }
.scene[data-fmt="1x1"] .cadre { aspect-ratio: 1; width: min(100%, 520px, max(300px, calc(100vh - 340px))); }
.cadre iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; background: #e9f1f1; }
.cadre:fullscreen { width: 100vw; height: 100vh; aspect-ratio: auto; border-radius: 0; background: #050c0d; display: grid; place-items: center; }
.cadre:fullscreen iframe { position: relative; inset: auto; width: min(100vw, 100vh * var(--ar)); height: auto; aspect-ratio: var(--ar); }
.cadre:-webkit-full-screen { width: 100vw; height: 100vh; border-radius: 0; background: #050c0d; }
.etiquette { position: absolute; left: 12px; top: 12px; z-index: 3; font: 650 12px/1 "Inter", system-ui; letter-spacing: .08em; text-transform: uppercase; color: #fff;
  background: rgba(6, 17, 19, .72); padding: 7px 10px; border-radius: 999px; pointer-events: none; transition: opacity .3s; }
.voile { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; align-content: center; gap: 14px; background: rgba(6, 17, 19, .55);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: #fff; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .35s; text-align: center; padding: 20px; }
.voile.actif { opacity: 1; pointer-events: auto; }
.voile .balai { position: absolute; left: 0; right: 0; height: 2px; top: 0; background: linear-gradient(90deg, transparent, var(--glow), transparent); box-shadow: 0 0 24px 4px rgba(63, 227, 208, .7); animation: balai 1.4s var(--ease) infinite alternate; }
@keyframes balai { to { top: 100%; } }
.voile .points { display: flex; gap: 6px; }
.voile .points i { width: 8px; height: 8px; border-radius: 50%; background: var(--glow); animation: pt 1.1s ease-in-out infinite; }
.voile .points i:nth-child(2) { animation-delay: .15s; } .voile .points i:nth-child(3) { animation-delay: .3s; }
@keyframes pt { 50% { transform: translateY(-6px); opacity: .5; } }
.barre { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.commandes { display: flex; gap: 6px; }
.icone { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 0; background: #eef5f5; color: var(--texte); cursor: pointer; transition: background .2s, transform .2s; }
.icone:hover { background: #e2eeee; transform: translateY(-1px); }
.icone svg { width: 18px; height: 18px; }
.formats { display: inline-flex; padding: 4px; border-radius: 14px; background: #eef5f5; gap: 2px; }
.formats button { border: 0; background: transparent; font: 600 13.5px/1 "Inter", system-ui; color: var(--doux); padding: 10px 12px; border-radius: 10px; cursor: pointer; transition: background .25s, color .25s, box-shadow .25s; }
.formats button small { font-weight: 500; opacity: .8; margin-left: 4px; }
.formats button[aria-pressed="true"] { background: #fff; color: var(--texte); box-shadow: 0 6px 16px -10px rgba(6, 40, 38, .5); }
.vraie { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; border-radius: var(--rayon); color: #e9f6f5;
  background: radial-gradient(400px 160px at 100% 0%, rgba(63, 227, 208, .25), transparent 70%), linear-gradient(135deg, #0b1b1e, #12302f); box-shadow: var(--ombre); }
.vraie b { display: block; font-size: 18px; letter-spacing: -.01em; margin-bottom: 2px; color: #fff; }
.vraie p { margin: 0; font-size: 14.5px; color: rgba(233, 246, 245, .78); }
.vraie.appel { animation: appel 1.6s var(--ease) 2; }
@keyframes appel { 30% { transform: scale(1.025); box-shadow: 0 0 0 6px rgba(63, 227, 208, .25), var(--ombre); } }
@media (max-width: 960px) { .essai-grille { grid-template-columns: 1fr; } .scene-col { position: static; } }
@media (max-width: 520px) { .vraie { flex-direction: column; align-items: stretch; text-align: left; } .duo { grid-template-columns: 1fr; } .formats button small { display: none; } }

/* ---------- exemples ---------- */
.exemples { background: linear-gradient(180deg, var(--papier), #e9f3f3); }
.galerie { display: grid; grid-template-columns: 2fr .92fr 1.2fr; gap: clamp(14px, 2vw, 24px); align-items: center; }
.ex { margin: 0; display: grid; gap: 12px; }
.ex .video { position: relative; border-radius: 18px; overflow: hidden; background: #0b1416; box-shadow: var(--ombre); transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease); }
.ex video { display: block; width: 100%; height: auto; }
.ex[data-fmt="16x9"] video { aspect-ratio: 16 / 9; } .ex[data-fmt="9x16"] video { aspect-ratio: 9 / 16; } .ex[data-fmt="1x1"] video { aspect-ratio: 1; }
.ex figcaption { display: grid; gap: 2px; font-size: 14px; color: var(--doux); }
.ex figcaption b { color: var(--texte); font-size: 15px; }
@media (max-width: 860px) { .galerie { grid-template-columns: 1fr 1fr; } .ex[data-fmt="16x9"] { grid-column: 1 / -1; } }
@media (max-width: 520px) { .galerie { grid-template-columns: 1fr; } .ex[data-fmt="9x16"] .video { width: min(100%, 300px); margin-inline: auto; } }

/* ---------- comment ça marche ---------- */
.etapes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); position: relative; counter-reset: e; }
.etapes::before { content: ""; position: absolute; left: 12%; right: 12%; top: 34px; height: 2px; background: linear-gradient(90deg, var(--teal), var(--glow)); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.6s var(--ease) .3s; }
.etapes.vu::before { transform: scaleX(1); }
.etape { position: relative; padding: 26px 24px 28px; text-align: left; }
.etape .num { position: relative; z-index: 1; display: grid; place-items: center; width: 68px; height: 68px; border-radius: 22px; margin-bottom: 18px; font-weight: 800; font-size: 26px; color: #03211f;
  background: linear-gradient(135deg, var(--glow), var(--teal-2)); box-shadow: 0 16px 34px -16px rgba(0, 154, 140, .8); }
.etape h3 { margin: 0 0 6px; font-size: 21px; letter-spacing: -.02em; }
.etape p { margin: 0; color: var(--doux); }
@media (max-width: 860px) { .etapes { grid-template-columns: 1fr; } .etapes::before { display: none; } }

/* ---------- inclus ---------- */
.inclus { background: var(--blanc); }
.liste-inclus { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.liste-inclus li { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: 18px; background: var(--papier); box-shadow: inset 0 0 0 1px rgba(15, 34, 36, .05); transition: transform .35s var(--ease), box-shadow .35s; }
.liste-inclus li:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(0, 154, 140, .25), 0 18px 34px -24px rgba(6, 40, 38, .5); }
.liste-inclus svg { flex: none; width: 26px; height: 26px; color: var(--teal); }
.liste-inclus b { display: block; font-size: 16.5px; letter-spacing: -.01em; }
.liste-inclus span { font-size: 14.5px; color: var(--doux); }

/* ---------- appel final ---------- */
.final { color: #e9f6f5; text-align: center; overflow: hidden; isolation: isolate;
  background: radial-gradient(700px 360px at 50% 110%, rgba(63, 227, 208, .35), transparent 70%), linear-gradient(180deg, #0b1b1e, var(--nuit)); }
.final h2 { font-size: clamp(32px, 5vw, 60px); letter-spacing: -.035em; line-height: 1.04; margin: 0 0 16px; font-weight: 820; text-wrap: balance; }
.final p { margin: 0 auto 28px; max-width: 34em; color: rgba(233, 246, 245, .75); font-size: 18px; }
.final .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- pied ---------- */
.pied { background: var(--nuit); color: rgba(233, 246, 245, .62); font-size: 13.5px; padding: 34px 0 calc(34px + env(safe-area-inset-bottom)); }
.pied .enveloppe { display: grid; gap: 10px; }
.pied a { color: var(--glow); }
.pied p { margin: 0; }

/* ---------- fenêtre « vraie vidéo » ---------- */
dialog.fenetre { width: min(560px, 100% - 24px); max-height: min(92vh, 900px); padding: 0; border: 0; border-radius: 24px; background: #fff; color: var(--texte);
  box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .55); overflow: auto; }
dialog.fenetre::backdrop { background: rgba(4, 12, 13, .62); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
dialog.fenetre[open] { animation: fenetre .45s var(--ease); }
@keyframes fenetre { from { opacity: 0; transform: translateY(18px) scale(.97); } }
.fen-tete { position: relative; padding: 24px 24px 18px; color: #e9f6f5; background: radial-gradient(300px 140px at 100% 0%, rgba(63, 227, 208, .3), transparent 70%), linear-gradient(135deg, #0b1b1e, #12302f); }
.fen-tete h2 { margin: 0 0 6px; font-size: 24px; letter-spacing: -.02em; }
.fen-tete p { margin: 0; font-size: 14.5px; color: rgba(233, 246, 245, .8); }
.fen-tete .recap { margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .07); font-size: 14px; color: #fff; }
.fermer { position: absolute; right: 12px; top: 12px; width: 38px; height: 38px; border-radius: 12px; border: 0; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; display: grid; place-items: center; }
.fermer:hover { background: rgba(255, 255, 255, .18); }
.fen-corps { padding: 22px 24px 24px; display: grid; gap: 14px; }
.deux { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .deux { grid-template-columns: 1fr; } }
.case { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--texte); cursor: pointer; }
.case input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--teal); flex: none; }
.pot { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.note { font-size: 12.5px; color: var(--doux); margin: 0; }
.merci { display: none; padding: 34px 24px 30px; text-align: center; }
.merci svg.coche { width: 72px; height: 72px; color: var(--teal); }
.merci svg.coche circle { stroke-dasharray: 190; stroke-dashoffset: 190; animation: trace 1s var(--ease) forwards; }
.merci svg.coche path { stroke-dasharray: 60; stroke-dashoffset: 60; animation: trace .6s var(--ease) .7s forwards; }
@keyframes trace { to { stroke-dashoffset: 0; } }
.merci h3 { margin: 12px 0 6px; font-size: 24px; letter-spacing: -.02em; }
.merci p { margin: 0 auto 20px; max-width: 30em; color: var(--doux); }
.fenetre.envoye .fen-corps, .fenetre.envoye .fen-tete { display: none; }
.fenetre.envoye .merci { display: block; }

.toast { position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 60; translate: -50% 0; max-width: calc(100% - 32px); padding: 14px 18px; border-radius: 14px;
  background: #0b1b1e; color: #fff; font-weight: 550; font-size: 15px; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .6); opacity: 0; transform: translateY(16px); transition: opacity .35s, transform .35s var(--ease); pointer-events: none; }
.toast.vu { opacity: 1; transform: none; }

/* ---------- compléments : en-tête de l'aperçu, lecture, appels ---------- */
.marque svg { width: 30px; height: 30px; flex: none; filter: drop-shadow(0 6px 14px rgba(63, 227, 208, .35)); }
.heros h1 .m { padding: .14em .03em .1em; margin: -.14em -.03em -.1em; }
.cadre { --ar: 1.7778; }
.cadre:-webkit-full-screen { display: grid; place-items: center; }
.cadre:-webkit-full-screen iframe { position: relative; inset: auto; width: min(100vw, 100vh * var(--ar)); height: auto; aspect-ratio: var(--ar); }
.scene-tete { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 2px 4px 0; min-height: 30px; }
.etat { display: inline-flex; align-items: center; gap: 8px; flex: none; font: 650 12px/1 "Inter", system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase;
  color: var(--doux); padding: 8px 11px; border-radius: 999px; background: #eef5f5; transition: background .3s, color .3s; }
.etat i { width: 8px; height: 8px; border-radius: 50%; background: #9bb0b2; }
.etat.perso { color: var(--teal-dk); background: #e3f4f2; }
.etat.perso i { background: var(--teal); animation: direct 1.8s ease-out infinite; }
@keyframes direct { 0% { box-shadow: 0 0 0 0 rgba(0, 154, 140, .55); } 70%, 100% { box-shadow: 0 0 0 8px rgba(0, 154, 140, 0); } }
.nom-apercu { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; font-size: 15px; letter-spacing: -.01em; color: var(--texte); }
#b-pause span { display: grid; place-items: center; }
#b-pause .i-lecture, #b-pause.en-pause .i-pause { display: none; }
#b-pause.en-pause .i-lecture { display: grid; }
.compte.plein { color: #c2410c; }
.btn.appel { animation: appel-btn 1.4s var(--ease) 3; }
@keyframes appel-btn { 40% { transform: translateY(-2px) scale(1.04); box-shadow: 0 0 0 8px rgba(63, 227, 208, .25), 0 14px 34px -14px rgba(63, 227, 208, .75); } }
ol.etapes { margin: 0; padding: 0; list-style: none; }
.ex .lecture { position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center;
  color: #03211f; background: rgba(255, 255, 255, .9); box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .55), 0 0 0 10px rgba(255, 255, 255, .2);
  transition: transform .35s var(--ease), opacity .3s; }
.ex .lecture svg { width: 30px; height: 30px; margin-left: 4px; }
.ex .lecture:hover { transform: scale(1.08); }
.ex.joue .lecture { opacity: 0; pointer-events: none; transform: scale(.8); }
.ex .video::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); pointer-events: none; }
@media (max-width: 900px) { .robot-scene { min-height: 320px; } }

.groupe > legend { width: 100%; }
.champ > span small, .groupe > legend small { margin-right: auto; }
.vraie > div { min-width: 0; }
.vraie .btn { flex: none; }
@media (max-width: 900px) {
  .bulle-heros { left: 0; right: auto; top: 2%; translate: none; max-width: 150px; min-width: 0; border-radius: 18px 18px 6px 18px; transform-origin: 100% 100%; }
  .robot-corps { width: min(190px, 48vw); }
}

/* sans JavaScript : tout reste visible */
html:not(.js) .apparait, html:not(.js) .revele { opacity: 1; transform: none; }
html:not(.js) .heros h1 .m > span { transform: none; }
html:not(.js) .etapes::before { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .revele, .apparait { opacity: 1; transform: none; }
  .heros h1 .m > span { transform: none; }
}

/* ---------- 01/11/2026 : page « pour tous » (profils, missions, couleurs en grand, tarifs) ---------- */
@media (min-width: 961px) { .essai-grille { grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); } }
.etape-f { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 12px; }
.etape-f + .etape-f { padding-top: 20px; border-top: 1px dashed var(--ligne); }
.etape-f > legend { display: flex; align-items: center; gap: 10px; width: 100%; padding: 0; margin-bottom: 12px; font-size: 17px; font-weight: 760; letter-spacing: -.012em; color: var(--texte); }
.etape-f > legend .no { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; font-size: 14px; font-weight: 800; color: #03211f;
  background: linear-gradient(135deg, var(--glow), var(--teal-2)); box-shadow: 0 8px 18px -10px rgba(0, 154, 140, .8); }
.etape-f > legend small { margin-left: auto; font-weight: 550; font-size: 13px; color: var(--doux); }

.profils { display: flex; flex-wrap: wrap; gap: 8px; }
.profil { position: relative; cursor: pointer; }
.profil input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.profil > span { display: grid; gap: 1px; padding: 10px 14px; border-radius: 14px; background: #f6fafa; box-shadow: inset 0 0 0 1px var(--ligne);
  transition: box-shadow .2s, background .2s, transform .25s var(--ease); }
.profil b { font-size: 15px; font-weight: 700; }
.profil small { font-size: 12px; color: var(--doux); }
.profil:hover > span { box-shadow: inset 0 0 0 1px #b0caca; transform: translateY(-1px); }
.profil input:checked + span { background: #e3f4f2; box-shadow: inset 0 0 0 2px var(--teal); }
.profil input:focus-visible + span { outline: 3px solid var(--glow); outline-offset: 2px; }

.missions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 10px; padding-top: 6px; }
.mcarte { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; align-content: start; padding: 14px; border-radius: 16px; background: #fbfdfd;
  box-shadow: inset 0 0 0 1px var(--ligne); cursor: pointer; transition: box-shadow .2s, background .2s, transform .25s var(--ease); }
.mcarte input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.mcarte:hover { box-shadow: inset 0 0 0 1px #b0caca, 0 12px 26px -20px rgba(6, 40, 38, .6); transform: translateY(-1px); }
.mc-ic { grid-row: span 2; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #e9f4f3; color: var(--teal-dk); transition: background .2s, color .2s; }
.mc-ic svg { width: 22px; height: 22px; }
.mc-t { display: grid; gap: 2px; min-width: 0; }
.mc-t b { font-size: 15px; font-weight: 720; letter-spacing: -.01em; line-height: 1.25; }
.mc-t small { font-size: 13px; color: var(--doux); line-height: 1.4; }
.mc-pied { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 4px; }
.mc-duree { font-style: normal; font-size: 12px; color: var(--doux); }
.mc-prix { margin-left: auto; font-style: normal; font-size: 12.5px; font-weight: 750; color: var(--teal-dk); background: #e3f4f2; padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.mc-prix:empty { display: none; }
.mc-conseil { display: none; position: absolute; top: -9px; right: 12px; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #03211f;
  background: linear-gradient(135deg, var(--glow), var(--teal-2)); padding: 4px 8px; border-radius: 999px; box-shadow: 0 6px 14px -8px rgba(0, 154, 140, .9); pointer-events: none; }
.mcarte.conseil .mc-conseil { display: block; }
.mcarte input:checked + .mc-ic { background: var(--teal); color: #fff; }
.mcarte:has(input:checked) { background: #fff; box-shadow: inset 0 0 0 2px var(--teal), 0 16px 30px -22px rgba(0, 120, 109, .8); }
.mcarte:has(input:focus-visible) { outline: 3px solid var(--glow); outline-offset: 2px; }
.sur-mesure { margin: 2px 0 0; font-size: 13.5px; color: var(--doux); }
.sur-mesure b { color: var(--texte); }

.aide-etape { display: flex; align-items: center; gap: 8px; margin: -4px 0 0; font-size: 14px; color: var(--doux); }
.aide-etape svg { flex: none; width: 18px; height: 18px; color: var(--teal); }
.couleurs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.couleurs label { position: relative; display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px 8px; border-radius: 14px; background: #fbfdfd;
  box-shadow: inset 0 0 0 1px var(--ligne); cursor: pointer; transition: box-shadow .2s, background .2s, transform .25s var(--ease); }
.couleurs label:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1px #b0caca; }
.couleurs label:hover i { transform: none; }
.couleurs i { position: relative; flex: none; width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, var(--c) 0 60%, var(--p) 60%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); transition: transform .25s var(--ease); }
.couleurs input:checked + i { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); transform: scale(1.05); }
.couleurs input:checked + i::after { content: ""; position: absolute; left: 13px; top: 8px; width: 8px; height: 15px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.couleurs label span { font-size: 13.5px; font-weight: 620; line-height: 1.2; }
.couleurs label:has(input:checked) { background: #fff; box-shadow: inset 0 0 0 2px var(--c); }
.couleurs input:focus-visible + i { outline: 3px solid var(--glow); outline-offset: 3px; }

.mchamps { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 16px; }
.mchamps[hidden] { display: none; }
.duo.large { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 12px; }
.trio { display: grid; grid-template-columns: 96px minmax(0, 1fr) 96px; gap: 8px; }
.mini-tete { margin: 0 0 -2px; font-size: 12px; font-weight: 650; color: var(--doux); }
.serie { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; }
.paire { display: grid; grid-template-columns: minmax(0, 1fr) 84px; gap: 6px; }
.choix { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.choix-l { font-size: 13.5px; font-weight: 650; margin-right: 6px; }
.choix label { position: relative; cursor: pointer; }
.choix input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.choix label span { display: inline-block; padding: 8px 12px; border-radius: 10px; background: #eef5f5; font-size: 13.5px; font-weight: 600; color: var(--doux); transition: background .2s, color .2s, box-shadow .2s; }
.choix input:checked + span { background: #fff; color: var(--texte); box-shadow: inset 0 0 0 2px var(--teal); }
.choix input:focus-visible + span { outline: 3px solid var(--glow); outline-offset: 2px; }
.info-bloc { display: grid; gap: 8px; padding: 12px; border-radius: 14px; background: #f6fafa; box-shadow: inset 0 0 0 1px rgba(15, 34, 36, .05); }
.info-n { margin: 0; font-size: 13px; font-weight: 700; color: var(--texte); }
.info-n small { font-weight: 500; color: var(--doux); }
.mini-aide { margin: 0; font-size: 13px; color: var(--doux); }
.champ .aide { font-size: 12.5px; color: var(--doux); line-height: 1.45; }
@media (max-width: 560px) { .missions { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .duo.large, .serie { grid-template-columns: 1fr; } .trio { grid-template-columns: 80px minmax(0, 1fr) 80px; } }
@media (max-width: 420px) { .couleurs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.teintes { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 14px; background: #f6fafa; }
.teintes-l { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 650; margin-right: 4px; }
.teintes-l svg { width: 17px; height: 17px; color: var(--teal); }
.teintes button { width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: var(--c); cursor: pointer; box-shadow: inset 0 0 0 3px #fff, 0 0 0 1px var(--ligne);
  transition: transform .2s var(--ease), box-shadow .2s; }
.teintes button:hover { transform: scale(1.1); }
.teintes button[aria-pressed="true"] { box-shadow: inset 0 0 0 3px #fff, 0 0 0 2.5px var(--c); transform: scale(1.08); }
.initiales { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 0 4px 2px; font-size: 13px; line-height: 1.45; color: var(--doux); }
.initiales svg { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--teal-dk); }
.vraie .vraie-prix { margin-top: 6px; font-size: 13.5px; font-weight: 650; color: var(--glow); }
.vraie .vraie-prix:empty { display: none; }
.scene[data-fmt="9x16"] .cadre { width: min(100%, 360px, max(220px, calc((100vh - 430px) * 9 / 16))); }
.scene[data-fmt="1x1"] .cadre { width: min(100%, 520px, max(280px, calc(100vh - 430px))); }

.tarifs { background: linear-gradient(180deg, #fff, var(--papier)); }
.grille-tarifs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.tarif { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 18px; background: #fff;
  box-shadow: var(--ombre), 0 0 0 1px rgba(15, 34, 36, .06); }
.tarif .mc-ic { grid-row: auto; }
.tarif b { display: block; font-size: 16px; letter-spacing: -.01em; }
.tarif div span { font-size: 13.5px; color: var(--doux); }
.tarif em, .tarifs-plus em { font-style: normal; font-weight: 800; font-size: 16px; color: var(--teal-dk); white-space: nowrap; }
.tarif em small, .tarifs-plus em small { font-weight: 550; font-size: 12px; color: var(--doux); }
.tarifs-plus { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 12px; margin-top: 12px; }
.tarifs-plus p { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 14px 18px; border-radius: 16px; background: #eef7f6; font-size: 14.5px; color: var(--doux); }
.tarifs-plus b { color: var(--texte); }
.tarifs-plus em { margin-left: auto; }
@media (max-width: 520px) { .tarif { grid-template-columns: auto minmax(0, 1fr); } .tarif em { grid-column: 2; } }
@media (max-width: 420px) { .teintes { gap: 6px; padding: 10px; } .teintes button { width: 28px; height: 28px; } .teintes-l { margin-right: 2px; } }

/* KAAYXOL 01/11/2026 (choix du Chef) : un prix d'appel ; le prix exact après l'aperçu ; étudiants sur justificatif */
.prix-appel { margin: 24px 0 0; font-size: 15px; color: rgba(233, 246, 245, .82); }
.prix-appel b { color: #fff; font-weight: 750; padding: 3px 11px; border-radius: 999px; background: rgba(63, 227, 208, .14); border: 1px solid rgba(63, 227, 208, .38); white-space: nowrap; }
.heros .prix-appel + .puces { margin-top: 22px; }
.prix-ligne { margin: 2px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--doux); }
.prix-ligne b { color: var(--texte); white-space: nowrap; }
.fen-tete .note-etudiant { margin: 10px 0 0; font-size: 13.5px; line-height: 1.45; color: rgba(233, 246, 245, .86); }

/* KAAYXOL 01/11/2026 : sur ordinateur, la colonne de l'aperçu tient entière à l'écran, des portables (1366×768, fenêtre
   d'environ 1366×657) aux grands écrans : le cadre se règle sur la hauteur de la fenêtre, et le cadre « Envie de la vraie
   vidéo ? » (bouton et prix) reste visible à côté de l'aperçu pendant que le visiteur remplit le formulaire. */
@media (min-width: 961px) {
  .scene[data-fmt="9x16"] .cadre { width: min(100%, 360px, max(170px, calc((100vh - 570px) * 9 / 16))); }
  .scene[data-fmt="1x1"] .cadre { width: min(100%, 520px, max(240px, calc(100vh - 570px))); }
}
@media (min-width: 961px) and (max-height: 940px) {
  .scene-col { top: 84px; gap: 10px; }
  .scene { padding: 12px; gap: 8px; }
  .teintes { padding: 6px 10px; }
  .teintes button { width: 26px; height: 26px; }
  .initiales { font-size: 12px; line-height: 1.35; }
  .vraie { padding: 12px 16px; }
  .vraie b { font-size: 16px; }
  .vraie p { font-size: 13px; line-height: 1.4; }
  .scene[data-fmt="16x9"] .cadre { width: min(100%, max(400px, calc((100vh - 460px) * 16 / 9))); }
  .scene[data-fmt="9x16"] .cadre { width: min(100%, 360px, max(160px, calc((100vh - 460px) * 9 / 16))); }
  .scene[data-fmt="1x1"] .cadre { width: min(100%, 520px, max(220px, calc(100vh - 460px))); }
}
@media (min-width: 961px) and (max-height: 820px) {
  .vraie:has(#vraie-prix:not(:empty)) #vraie-p { display: none; }   /* après l'aperçu, le prix remplace le texte d'accroche */
  .scene[data-fmt="16x9"] .cadre { width: min(100%, max(380px, calc((100vh - 415px) * 16 / 9))); }
  .scene[data-fmt="9x16"] .cadre { width: min(100%, 360px, max(160px, calc((100vh - 415px) * 9 / 16))); }
  .scene[data-fmt="1x1"] .cadre { width: min(100%, 520px, max(220px, calc(100vh - 415px))); }
}
@media (min-width: 961px) and (max-height: 720px) {   /* fenêtre basse (portable 1366×768 ou 1280×720 avec les barres du navigateur) */
  .initiales { display: none; }
  .scene[data-fmt="16x9"] .cadre { width: min(100%, max(340px, calc((100vh - 386px) * 16 / 9))); }
  .scene[data-fmt="9x16"] .cadre { width: min(100%, 360px, max(140px, calc((100vh - 386px) * 9 / 16))); }
  .scene[data-fmt="1x1"] .cadre { width: min(100%, 520px, max(200px, calc(100vh - 386px))); }
}
@media (min-width: 961px) and (max-width: 1100px) and (max-height: 940px) {   /* colonne étroite : la barre passe sur deux lignes */
  .scene[data-fmt="16x9"] .cadre { width: min(100%, max(320px, calc((100vh - 452px) * 16 / 9))); }
  .scene[data-fmt="9x16"] .cadre { width: min(100%, 360px, max(130px, calc((100vh - 460px) * 9 / 16))); }
  .scene[data-fmt="1x1"] .cadre { width: min(100%, 520px, max(190px, calc(100vh - 460px))); }
}
@media (min-width: 961px) and (max-height: 560px) { .scene-col { position: static; } }   /* fenêtre très basse : l'aperçu défile avec la page */

/* KAAYXOL 02/11/2026 (accord du Chef) : le bouton ▶ des exemples ne cache plus le titre de l'affiche ;
   il se place dans l'espace libre de chaque format (sous la carte, à côté de KXPRO) et toute l'affiche lance la vidéo */
.ex .lecture { inset: auto; width: 64px; height: 64px; margin: -32px 0 0 -32px; }
.ex .lecture svg { width: 26px; height: 26px; margin-left: 4px; }
.ex[data-fmt="16x9"] .lecture { left: 78%; top: 78%; }
.ex[data-fmt="9x16"] .lecture { left: 76%; top: 70%; }
.ex[data-fmt="1x1"] .lecture { left: 66%; top: 76%; }
.ex:not(.joue) .video { cursor: pointer; }
@media (max-width: 520px) {
  .ex .lecture { width: 54px; height: 54px; margin: -27px 0 0 -27px; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .55), 0 0 0 7px rgba(255, 255, 255, .2); }
  .ex .lecture svg { width: 22px; height: 22px; margin-left: 3px; }
}
