/* ==========================================================================
   https://mindpok.fr/ : site vitrine de Jean Le Cam, joueur, coach et redacteur poker
   Identite "mental + poker" : indigo profond, violet, cyan.
   ========================================================================== */
:root {
  --fond: #0e0d1f; --fond-2: #14122b; --fond-3: #1c1a3a; --ligne: #2a2750; --violet: #7c5cff; --violet-2: #a28bff; --cyan: #22d3ee;
  --rouge: #ef4467; --t: #e8e6f5; --t2: #a3a0c4; --blanc: #fff;
  --titre: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif; --police: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--fond); color: var(--t); font: 400 17px/1.7 var(--police); }
a { color: var(--cyan); }
h1, h2, h3 { font-family: var(--titre); color: #fff; line-height: 1.15; margin: 0 0 .8rem; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.6vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1.1rem; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; } .skip:focus { left: 10px; top: 10px; z-index: 99; background: #fff; color: #000; padding: .5rem; }
.eti { display: inline-flex; align-items: center; gap: .5rem; font: 600 .76rem var(--police); letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); margin-bottom: .9rem; }
.eti::before { content: ""; width: 22px; height: 2px; background: linear-gradient(90deg, var(--violet), var(--cyan)); }
.degrade { background: linear-gradient(90deg, var(--violet-2), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* En-tete */
.entete { position: sticky; top: 0; z-index: 50; background: rgba(14,13,31,.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--ligne); }
.entete .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.marque { display: flex; align-items: center; gap: .6rem; color: #fff; text-decoration: none; font: 700 1.2rem var(--titre); }
.marque img { width: 34px; height: 34px; }
.menu { display: flex; gap: 1.4rem; }
.menu a { color: var(--t2); text-decoration: none; font-weight: 500; font-size: .95rem; } .menu a:hover { color: #fff; }
.btn { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; text-decoration: none; border-radius: 12px; padding: .85rem 1.4rem; line-height: 1; }
.btn-plein { background: linear-gradient(90deg, var(--violet), #5b8cff); color: #fff; box-shadow: 0 10px 24px rgba(124,92,255,.35); } .btn-plein:hover { filter: brightness(1.08); color: #fff; }
.btn-ligne { border: 1.5px solid var(--ligne); color: #fff; } .btn-ligne:hover { border-color: var(--cyan); color: #fff; }
.btn-petit { padding: .6rem 1rem; font-size: .92rem; }
@media (max-width: 860px) { .menu { display: none; } }

/* Accueil */
.hero { position: relative; overflow: hidden; background: radial-gradient(circle at 80% 20%, rgba(124,92,255,.28), transparent 45%), radial-gradient(circle at 10% 90%, rgba(34,211,238,.14), transparent 40%), var(--fond); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.6rem; align-items: center; padding: 4.4rem 24px 4.2rem; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); padding-top: 2.6rem; } }
.hero .accroche { font-size: 1.18rem; color: #cfcce6; max-width: 34rem; }
.hero .cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.identite { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.4rem; }
.monogramme { flex: 0 0 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; font: 700 1.35rem var(--titre); color: #fff;
  background: linear-gradient(135deg, var(--violet), var(--cyan)); box-shadow: 0 10px 24px rgba(124,92,255,.35); }
.identite b { display: block; color: #fff; font: 600 1.05rem var(--titre); } .identite span { color: var(--t2); font-size: .92rem; }

/* Illustration : arbre de decision construit en HTML */
.arbre { position: relative; background: var(--fond-2); border: 1px solid var(--ligne); border-radius: 24px; padding: 1.6rem; box-shadow: 0 30px 60px rgba(0,0,0,.45); }
.arbre-tete { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.2rem; }
.main { display: flex; gap: 6px; }
.carte { width: 44px; height: 62px; border-radius: 7px; background: #fff; color: #14122b; display: grid; place-items: center; font: 700 1.05rem var(--titre); box-shadow: 0 6px 12px rgba(0,0,0,.4); }
.carte.rouge { color: var(--rouge); }
.carte:nth-child(1) { transform: rotate(-6deg); } .carte:nth-child(2) { transform: rotate(5deg); }
.situation b { display: block; color: #fff; font: 600 1rem var(--titre); } .situation span { color: var(--t2); font-size: .85rem; }
.branche { display: grid; grid-template-columns: 96px 1fr 52px; align-items: center; gap: .7rem; margin: .7rem 0; }
.branche .action { font: 600 .9rem var(--titre); color: #fff; white-space: nowrap; }
.branche .barre { height: 12px; border-radius: 6px; background: var(--fond-3); overflow: hidden; }
.branche .barre i { display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, var(--violet), var(--cyan)); animation: pousse 1.2s cubic-bezier(.2,.8,.2,1) forwards; }
.branche:nth-child(2) .barre i { animation-delay: .25s; } .branche:nth-child(3) .barre i { animation-delay: .5s; }
.branche .pct { text-align: right; color: var(--cyan); font: 600 .9rem var(--titre); }
@keyframes pousse { to { width: var(--v); } }
.arbre .note { margin: 1rem 0 0; color: var(--t2); font-size: .85rem; border-top: 1px solid var(--ligne); padding-top: .9rem; }
.piliers-mini { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1rem; }
.piliers-mini span { font-size: .78rem; font-weight: 600; color: #fff; background: var(--fond-3); border: 1px solid var(--ligne); border-radius: 999px; padding: .3rem .7rem; }
.piliers-mini span::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: .4rem; background: var(--cyan); }
.piliers-mini span:nth-child(2)::before { background: var(--violet-2); } .piliers-mini span:nth-child(3)::before { background: var(--rouge); }
@media (prefers-reduced-motion: reduce) { .branche .barre i { animation: none; width: var(--v); } }

/* Roles */
.roles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--ligne); border: 1px solid var(--ligne); border-radius: 18px; overflow: hidden; margin-top: -1.4rem; position: relative; z-index: 2; }
@media (max-width: 860px) { .roles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.roles div { background: var(--fond-2); padding: 1.2rem; }
.roles b { display: block; color: #fff; font: 600 1rem var(--titre); } .roles span { color: var(--t2); font-size: .88rem; }

/* Sections */
.bloc { padding: 4.4rem 0; }
.bloc.alt { background: var(--fond-2); border-top: 1px solid var(--ligne); border-bottom: 1px solid var(--ligne); }
.intro { max-width: 46rem; color: #cfcce6; font-size: 1.06rem; }
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
@media (max-width: 900px) { .duo { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; } }
.texte p, .texte li { color: #cfcce6; }
.grille-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; margin-top: 1.8rem; }
@media (max-width: 900px) { .grille-3 { grid-template-columns: minmax(0, 1fr); } }
.carte-info { background: var(--fond); border: 1px solid var(--ligne); border-radius: 18px; padding: 1.5rem; }
.bloc:not(.alt) .carte-info { background: var(--fond-2); }
.carte-info .ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; margin-bottom: .9rem; font-size: 1.3rem;
  background: linear-gradient(135deg, rgba(124,92,255,.25), rgba(34,211,238,.18)); border: 1px solid var(--ligne); }
.carte-info p { color: #bcb9d8; margin: 0; font-size: .96rem; }
.coach { display: flex; gap: 1rem; align-items: flex-start; background: var(--fond); border: 1px solid var(--ligne); border-radius: 18px; padding: 1.3rem; margin-top: 1rem; }
.coach .ini { flex: 0 0 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font: 700 1.05rem var(--titre); color: #fff; background: var(--fond-3); border: 2px solid var(--violet); }
.coach:nth-child(odd) .ini { border-color: var(--cyan); }
.coach b { color: #fff; font: 600 1.05rem var(--titre); } .coach .role { display: block; color: var(--cyan); font-size: .85rem; margin: .1rem 0 .4rem; }
.coach p { color: #bcb9d8; margin: 0; font-size: .94rem; }
.liste { list-style: none; padding: 0; margin: 1rem 0; }
.liste li { position: relative; padding-left: 1.6rem; margin: .55rem 0; }
.liste li::before { content: ""; position: absolute; left: 0; top: .62em; width: 9px; height: 9px; border-radius: 3px; background: linear-gradient(135deg, var(--violet), var(--cyan)); }
.encadre { border-left: 3px solid var(--cyan); background: rgba(34,211,238,.07); border-radius: 12px; padding: 1rem 1.2rem; margin: 1.4rem 0; }
.encadre p { margin: 0; color: #dcdaf0; }

/* Realisations */
.reals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.8rem; }
@media (max-width: 800px) { .reals { grid-template-columns: minmax(0, 1fr); } }
.real { display: flex; gap: 1rem; align-items: flex-start; background: var(--fond); border: 1px solid var(--ligne); border-radius: 16px; padding: 1.2rem 1.3rem; text-decoration: none; color: var(--t); transition: border-color .2s, transform .2s; }
.real:hover { border-color: var(--violet); transform: translateY(-2px); color: #fff; }
.real .ico { flex: 0 0 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font: 700 .95rem var(--titre); color: #fff; background: linear-gradient(135deg, var(--violet), #5b8cff); }
.real .ico.c { background: linear-gradient(135deg, #0e9fb8, var(--cyan)); } .real .ico.r { background: linear-gradient(135deg, #b8304f, var(--rouge)); }
.real b { display: block; color: #fff; font-weight: 600; } .real span { display: block; color: var(--t2); font-size: .88rem; margin-top: .2rem; }

/* Check-up */
.checkup { background: var(--fond); border: 1px solid var(--ligne); border-radius: 22px; overflow: hidden; margin-top: 1.8rem; }
.checkup-tete { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.3rem; border-bottom: 1px solid var(--ligne); background: var(--fond-3); }
.checkup-tete b { color: #fff; font-family: var(--titre); } .checkup-tete span { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); }
.checkup-corps { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 1.4rem; padding: 1.3rem; }
@media (max-width: 800px) { .checkup-corps { grid-template-columns: minmax(0, 1fr); } }
.question { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--ligne); }
.question:last-child { border-bottom: 0; } .question span { color: #dcdaf0; font-size: .96rem; }
.choix { display: flex; gap: .3rem; flex: 0 0 auto; }
.choix button { border: 1.5px solid var(--ligne); background: transparent; color: var(--t2); border-radius: 9px; padding: .4rem .8rem; font: 600 .86rem var(--police); cursor: pointer; }
.choix button[aria-pressed=true].oui { border-color: var(--cyan); color: #fff; background: rgba(34,211,238,.12); }
.choix button[aria-pressed=true].non { border-color: var(--rouge); color: #fff; background: rgba(239,68,103,.12); }
.verdict { background: var(--fond-2); border: 1px solid var(--ligne); border-radius: 16px; padding: 1.3rem; align-self: start; }
.jauge { height: 12px; border-radius: 6px; background: var(--fond-3); overflow: hidden; margin: .8rem 0 1rem; }
.jauge i { display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, var(--rouge), #f5b84a 50%, var(--cyan)); transition: width .4s; }
.verdict .score { font: 700 2rem var(--titre); color: #fff; } .verdict .score small { font-size: 1rem; color: var(--t2); }
.verdict h3 { margin: .2rem 0 .5rem; } .verdict p { color: #cfcce6; margin: 0; font-size: .95rem; }

/* Principes, etapes, FAQ, contact, pied */
.principes { display: grid; gap: 1rem; margin-top: 1.8rem; counter-reset: p; }
.principe { counter-increment: p; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 1.1rem; background: var(--fond-2); border: 1px solid var(--ligne); border-radius: 18px; padding: 1.3rem; }
.principe::before { content: "0" counter(p); display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; font: 700 1.1rem var(--titre); color: #fff; background: linear-gradient(135deg, var(--violet), var(--cyan)); }
.principe h3 { margin-bottom: .4rem; } .principe p { color: #bcb9d8; margin: 0; }
.etapes { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; counter-reset: e; }
@media (max-width: 900px) { .etapes { grid-template-columns: minmax(0, 1fr); } }
.etapes li { counter-increment: e; background: var(--fond); border: 1px solid var(--ligne); border-radius: 16px; padding: 1.2rem; }
.etapes li::before { content: counter(e); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--fond-3); border: 1px solid var(--violet); color: #fff; font-weight: 700; margin-bottom: .7rem; }
.etapes b { display: block; color: #fff; } .etapes span { color: var(--t2); font-size: .92rem; }
.faq details { border: 1px solid var(--ligne); border-radius: 14px; padding: 1rem 1.2rem; margin: .6rem 0; background: var(--fond-2); }
.faq summary { cursor: pointer; font-weight: 600; color: #fff; } .faq details p { margin: .7rem 0 .1rem; color: #cfcce6; }
.contact { text-align: center; border-radius: 26px; padding: 3rem 1.6rem; border: 1px solid var(--ligne);
  background: radial-gradient(circle at 20% 0, rgba(124,92,255,.35), transparent 50%), radial-gradient(circle at 90% 100%, rgba(34,211,238,.25), transparent 45%), var(--fond-2); }
.contact p { color: #cfcce6; max-width: 38rem; margin-left: auto; margin-right: auto; }
.contact .cta { display: flex; justify-content: center; flex-wrap: wrap; gap: .8rem; margin-top: 1.4rem; }
.pied { border-top: 1px solid var(--ligne); padding: 2.4rem 0 2rem; color: var(--t2); font-size: .88rem; }
.pied-grille { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.6rem; }
@media (max-width: 800px) { .pied-grille { grid-template-columns: minmax(0, 1fr); } }
.pied h3 { font-size: 1rem; } .pied ul { list-style: none; margin: 0; padding: 0; } .pied li { margin: .35rem 0; }
.pied a { color: var(--t2); text-decoration: none; } .pied a:hover { color: #fff; }
.pied .legal { border-top: 1px solid var(--ligne); margin-top: 1.6rem; padding-top: 1.2rem; }

/* ------------------------------------------------------------ Photo de Jean */
.avatar { flex: 0 0 64px; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 2px solid var(--violet); box-shadow: 0 8px 20px rgba(124,92,255,.35); }
.photo-session { margin: 0 0 1rem; border-radius: 20px; overflow: hidden; border: 1px solid var(--ligne); background: var(--fond-2); position: relative; }
.photo-session img { display: block; width: 100%; height: auto; }
.photo-session figcaption { padding: .7rem 1rem; font-size: .86rem; color: var(--t2); }
.photo-session .badge { position: absolute; left: 12px; top: 12px; background: rgba(14,13,31,.82); backdrop-filter: blur(6px); border: 1px solid var(--ligne); color: #fff;
  font: 600 .78rem var(--police); padding: .35rem .7rem; border-radius: 999px; }
.photo-session .badge::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; margin-right: .45rem; animation: clignote 1.6s steps(2) infinite; }
@keyframes clignote { 50% { opacity: .2; } }

/* ------------------------------------------- Illustrations image par image */
.anim { position: relative; height: 120px; border-radius: 14px; margin-bottom: 1rem; overflow: hidden; background: var(--fond-3); border: 1px solid var(--ligne); }
/* Technique : le flop se revele carte par carte */
.anim-tech { display: flex; align-items: center; justify-content: center; gap: 8px; }
.anim-tech span { width: 40px; height: 56px; border-radius: 6px; display: grid; place-items: center; font: 700 .95rem var(--titre); color: #14122b; background: #fff;
  box-shadow: 0 6px 12px rgba(0,0,0,.4); opacity: 0; animation: revele 6s steps(1) infinite; }
.anim-tech span.r { color: var(--rouge); }
.anim-tech span:nth-child(3) { animation-name: revele2; } .anim-tech span:nth-child(4) { animation-name: revele3; }
.anim-tech span.dos { opacity: 1; animation: none; background: repeating-linear-gradient(45deg, #4b3bb5 0 5px, #5d4bd6 5px 10px); border: 2px solid #fff; }
@keyframes revele { 0% { opacity: 0; } 15% { opacity: 1; } 90% { opacity: 1; } 100% { opacity: 0; } }
@keyframes revele2 { 0%, 30% { opacity: 0; } 31% { opacity: 1; } 90% { opacity: 1; } 100% { opacity: 0; } }
@keyframes revele3 { 0%, 46% { opacity: 0; } 47% { opacity: 1; } 90% { opacity: 1; } 100% { opacity: 0; } }
/* Mental : cercle de respiration */
.anim-mental { display: grid; place-items: center; }
.anim-mental .souffle { width: 46px; height: 46px; border-radius: 50%; background: radial-gradient(circle, rgba(34,211,238,.7), rgba(124,92,255,.35)); animation: respire 8s ease-in-out infinite; }
.anim-mental .anneau { position: absolute; width: 96px; height: 96px; border-radius: 50%; border: 1.5px dashed rgba(162,139,255,.5); animation: tourne 16s steps(32) infinite; }
.anim-mental .mot { position: absolute; bottom: 8px; font: 600 .78rem var(--titre); color: var(--t2); letter-spacing: .1em; text-transform: uppercase; }
.anim-mental .mot b { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); white-space: nowrap; font-weight: 600; line-height: 1; animation: mot1 8s steps(1) infinite; }
.anim-mental .mot b + b { animation-name: mot2; }
@keyframes respire { 0%, 100% { transform: scale(.75); } 50% { transform: scale(1.7); } }
@keyframes tourne { to { transform: rotate(360deg); } }
@keyframes mot1 { 0% { opacity: 1; } 50% { opacity: 0; } }
@keyframes mot2 { 0% { opacity: 0; } 50% { opacity: 1; } }
/* Organisation : volume de jeu barre par barre */
.anim-orga { display: flex; align-items: flex-end; justify-content: center; gap: 10px; padding-bottom: 16px; }
.anim-orga i { width: 18px; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--cyan), var(--violet)); height: 0; animation: barre 7s steps(1) infinite; }
.anim-orga i:nth-of-type(1) { --h: 34px; } .anim-orga i:nth-of-type(2) { --h: 52px; animation-name: barre2; } .anim-orga i:nth-of-type(3) { --h: 44px; animation-name: barre3; }
.anim-orga i:nth-of-type(4) { --h: 68px; animation-name: barre4; } .anim-orga i:nth-of-type(5) { --h: 80px; animation-name: barre5; }
@keyframes barre { 0% { height: 0; } 8% { height: var(--h); } 92% { height: var(--h); } 100% { height: 0; } }
@keyframes barre2 { 0%, 20% { height: 0; } 21% { height: var(--h); } 92% { height: var(--h); } 100% { height: 0; } }
@keyframes barre3 { 0%, 34% { height: 0; } 35% { height: var(--h); } 92% { height: var(--h); } 100% { height: 0; } }
@keyframes barre4 { 0%, 48% { height: 0; } 49% { height: var(--h); } 92% { height: var(--h); } 100% { height: 0; } }
@keyframes barre5 { 0%, 62% { height: 0; } 63% { height: var(--h); } 92% { height: var(--h); } 100% { height: 0; } }
.anim-orga .axe { position: absolute; left: 18%; right: 18%; bottom: 15px; height: 1px; background: var(--ligne); }

/* Revue de main : preflop, flop, turn, river, image par image */
.replay { background: var(--fond-2); border: 1px solid var(--ligne); border-radius: 20px; padding: 1.2rem; margin-bottom: 1rem; box-shadow: 0 20px 40px rgba(0,0,0,.35); }
.replay-tete { display: flex; justify-content: space-between; align-items: center; margin-bottom: .9rem; }
.replay-tete b { color: #fff; font: 600 .95rem var(--titre); }
.rue { position: relative; height: 1.4rem; width: 5.2rem; text-align: right; }
.rue span { position: absolute; right: 0; top: 0; font: 600 .78rem var(--police); letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); opacity: 0; animation: 12s steps(1) infinite; }
.rue .r1 { animation-name: e1; } .rue .r2 { animation-name: e2; } .rue .r3 { animation-name: e3; } .rue .r4 { animation-name: e4; }
.tapis { display: flex; gap: 7px; justify-content: center; padding: 1rem .6rem; border-radius: 60px; background: radial-gradient(ellipse, #1e7a4e, #0f4d31); border: 3px solid #2b2550; }
.tapis span { width: 38px; height: 54px; border-radius: 6px; background: rgba(255,255,255,.08); border: 1px dashed rgba(255,255,255,.25); display: grid; place-items: center; font: 700 .9rem var(--titre); color: #14122b; }
.tapis span.c { background: #fff; border: 0; box-shadow: 0 4px 10px rgba(0,0,0,.35); opacity: 0; animation: 12s steps(1) infinite; }
.tapis span.r { color: var(--rouge); }
.tapis span.f { animation-name: flop; } .tapis span.t { animation-name: turn; } .tapis span.rv { animation-name: river; }
.mains { display: flex; justify-content: space-between; align-items: center; margin-top: .9rem; gap: .8rem; }
.mains .hero-cartes { display: flex; gap: 5px; }
.mains .hero-cartes span { width: 34px; height: 48px; border-radius: 6px; background: #fff; color: #14122b; display: grid; place-items: center; font: 700 .85rem var(--titre); }
.mains .hero-cartes span.r { color: var(--rouge); }
.commentaire { position: relative; flex: 1; min-height: 3.2rem; }
.commentaire p { position: absolute; inset: 0; margin: 0; font-size: .86rem; color: #dcdaf0; opacity: 0; animation: 12s steps(1) infinite; }
.commentaire .k1 { animation-name: e1; } .commentaire .k2 { animation-name: e2; } .commentaire .k3 { animation-name: e3; } .commentaire .k4 { animation-name: e4; }
.progression { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: .9rem; }
.progression i { height: 4px; border-radius: 2px; background: var(--fond-3); position: relative; overflow: hidden; }
.progression i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--violet), var(--cyan)); transform: scaleX(0); transform-origin: left; animation: 12s steps(1) infinite; }
.progression i:nth-child(1)::after { animation-name: p1; } .progression i:nth-child(2)::after { animation-name: p2; } .progression i:nth-child(3)::after { animation-name: p3; } .progression i:nth-child(4)::after { animation-name: p4; }
@keyframes e1 { 0% { opacity: 1; } 25% { opacity: 0; } }
@keyframes e2 { 0% { opacity: 0; } 25% { opacity: 1; } 50% { opacity: 0; } }
@keyframes e3 { 0% { opacity: 0; } 50% { opacity: 1; } 75% { opacity: 0; } }
@keyframes e4 { 0% { opacity: 0; } 75% { opacity: 1; } }
@keyframes flop { 0% { opacity: 0; } 25% { opacity: 1; } }
@keyframes turn { 0% { opacity: 0; } 50% { opacity: 1; } }
@keyframes river { 0% { opacity: 0; } 75% { opacity: 1; } }
@keyframes p1 { 0% { transform: scaleX(1); } }
@keyframes p2 { 0% { transform: scaleX(0); } 25% { transform: scaleX(1); } }
@keyframes p3 { 0% { transform: scaleX(0); } 50% { transform: scaleX(1); } }
@keyframes p4 { 0% { transform: scaleX(0); } 75% { transform: scaleX(1); } }

/* Relecture d'un article, controle par controle */
.relecture { position: relative; background: var(--fond-2); border: 1px solid var(--ligne); border-radius: 20px; padding: 1.2rem; margin-bottom: 1rem; overflow: hidden; }
.relecture .doc { position: relative; background: #f4f2fb; border-radius: 10px; padding: 1rem 1rem .6rem; }
.relecture .doc i { display: block; height: 8px; border-radius: 4px; background: #d9d5ea; margin-bottom: 9px; }
.relecture .doc i:first-child { height: 12px; width: 62%; background: var(--violet); }
.relecture .doc i:nth-child(3) { width: 88%; } .relecture .doc i:nth-child(5) { width: 74%; } .relecture .doc i:nth-child(7) { width: 55%; }
.relecture .surligne { position: absolute; left: 10px; right: 10px; height: 16px; border-radius: 4px; background: rgba(34,211,238,.28); top: 10px; animation: surligne 9s steps(6) infinite; }
@keyframes surligne { to { top: calc(100% - 16px); } }
.controles { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .45rem; }
.controles li { display: flex; align-items: center; gap: .6rem; font-size: .9rem; color: var(--t2); }
.controles li::before { content: "\2713"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: var(--fond-3); color: transparent; font-weight: 700; font-size: .8rem; border: 1px solid var(--ligne); animation: 9s steps(1) infinite; }
.controles li:nth-child(1)::before { animation-name: c1; } .controles li:nth-child(2)::before { animation-name: c2; } .controles li:nth-child(3)::before { animation-name: c3; } .controles li:nth-child(4)::before { animation-name: c4; }
@keyframes c1 { 0% { color: transparent; } 18% { color: #0e0d1f; background: var(--cyan); } 95% { color: #0e0d1f; background: var(--cyan); } }
@keyframes c2 { 0% { color: transparent; } 38% { color: #0e0d1f; background: var(--cyan); } 95% { color: #0e0d1f; background: var(--cyan); } }
@keyframes c3 { 0% { color: transparent; } 58% { color: #0e0d1f; background: var(--cyan); } 95% { color: #0e0d1f; background: var(--cyan); } }
@keyframes c4 { 0% { color: transparent; } 78% { color: #0e0d1f; background: var(--cyan); } 95% { color: #0e0d1f; background: var(--cyan); } }

@media (prefers-reduced-motion: reduce) {
  .anim-tech span, .tapis span.c.f, .tapis span.c.t, .tapis span.c.rv, .commentaire p.k4, .rue .r4 { animation: none; opacity: 1; }
  .commentaire p, .rue span { animation: none; } .anim-orga i { animation: none; height: var(--h); }
  .anim-mental .souffle, .anim-mental .anneau, .relecture .surligne, .photo-session .badge::before { animation: none; }
  .anim-mental .mot b { animation: none; } .anim-mental .mot b + b { opacity: 0; }
  .progression i::after { animation: none; transform: scaleX(1); }
  .controles li::before { animation: none; color: #0e0d1f; background: var(--cyan); }
}
