/* Proposition A++ : héros d'encre, parcours CP → Terminale, e-mail du week-end. Polices système uniquement. */
.x3 .h3-in { max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.h3-sub { font-size: 1.15rem; line-height: 1.6; max-width: 52ch; color: var(--muted); }

/* Héros sombre, la feuille éclaire la page */
.h3-hero { background: radial-gradient(1200px 600px at 78% 40%, #24306b 0%, transparent 60%), var(--ink); color: #eef1fb; --bg: var(--ink); }
.h3-hero .x-hero h1 { color: #fff; font-size: clamp(2.6rem, 5.8vw, 5.4rem); }
.h3-hero .x-lead { color: #c9d0ea; max-width: 46ch; }
.h3-hero .btn.secondary { color: #fff; border-color: rgba(255,255,255,.4); background: transparent; }
.h3-hero .btn.secondary:hover { background: rgba(255,255,255,.08); }
.pen-word { position: relative; white-space: nowrap; }
.pen-word .underline { position: absolute; left: -2%; bottom: -.12em; width: 104%; height: .28em; }
.pen-word .pen { stroke: #ff5a61; stroke-width: 5; }
.h3-promise { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; border-top: 1px solid rgba(255,255,255,.14); padding-top: 22px; }
.h3-promise li { display: grid; gap: 4px; align-content: start; }
.h3-promise b { font: 800 1.05rem var(--font-title); color: #ffd36b; }
.h3-promise span { font-size: .95rem; line-height: 1.45; color: #c9d0ea; }
.h3-hero .sheet { box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 40px 90px -20px rgba(0,0,0,.7), 0 0 120px -10px rgba(120,150,255,.35); }
.h3-hero .chip { background: #fff; color: var(--ink); }
.h3-hero .chip i { border-color: #1f9d55; }

/* Parcours des classes */
.h3-path { padding: clamp(64px, 9vw, 120px) 0 clamp(40px, 6vw, 70px); }
.h3-path h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: 1.02; letter-spacing: -.035em; margin: 0 0 14px; max-width: 18ch; }
.h3-rail { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(10, 1fr); gap: 8px; position: relative; }
.h3-rail::before { content: ""; position: absolute; left: 4%; right: 4%; top: 34px; height: 3px; background: linear-gradient(90deg, var(--line) 0 10%, var(--accent) 10% 70%, var(--line) 70%); border-radius: 3px; }
.h3-rail li { position: relative; display: grid; justify-items: center; gap: 10px; text-align: center; padding-top: 0; }
.h3-rail b { position: relative; display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; font: 800 1.2rem var(--font-title);
  background: var(--accent); color: #fff; box-shadow: 0 0 0 6px var(--bg); transition: transform .2s; }
.h3-rail li[data-level] { cursor: pointer; }
.h3-rail li[data-level]:hover b, .h3-rail li[data-level]:focus-visible b { transform: scale(1.08); }
.h3-rail li[data-level]:focus-visible { outline: none; }
.h3-rail li[data-level]:focus-visible b { outline: 3px solid var(--accent); outline-offset: 4px; }
.h3-rail span { font-size: .88rem; color: var(--muted); line-height: 1.3; }
.h3-rail .soon b { background: var(--card); color: var(--muted); box-shadow: 0 0 0 6px var(--bg), inset 0 0 0 2px var(--line); }
.h3-rail .soon span { font-weight: 700; }
.js-anim .h3-rail:not(.in) li { opacity: .001; transform: translateY(14px); }
.h3-rail li { transition: opacity .5s, transform .6s cubic-bezier(.2,.7,.2,1); }
.h3-rail li:nth-child(n) { transition-delay: calc(var(--i, 0) * 60ms); }

/* L'e-mail du week-end */
.h3-mail { padding: clamp(64px, 9vw, 130px) 0; background: var(--card); }
.h3-mail-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.h3-mail h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: 1.02; letter-spacing: -.035em; margin: 0 0 18px; }
.mail { margin: 0; background: #fff; color: #16213d; border-radius: 16px; overflow: hidden; color-scheme: light; --muted: #5d6882;
  box-shadow: 0 2px 4px rgba(15,22,48,.06), 0 40px 80px -30px rgba(15,22,48,.4); transform: rotate(1.2deg);
  transition: transform .8s cubic-bezier(.2,.7,.2,1), opacity .6s; }
.js-anim .mail:not(.in) { transform: translateY(40px) rotate(3deg); opacity: .001; }
.mail-head { position: relative; padding: 18px 22px; background: #f3f5fb; display: grid; gap: 4px; }
.mail-head p { margin: 0; font-size: .98rem; }
.mail-head span { display: inline-block; width: 52px; color: #5d6882; font-size: .88rem; }
.mail-head .example-flag { position: absolute; right: 16px; top: 16px; font-style: normal; }
.mail-body { padding: 22px; }
.mail-body table { width: 100%; border-collapse: collapse; font-size: .98rem; }
.mail-body th { text-align: left; font-size: .82rem; color: #5d6882; font-weight: 600; padding: 0 0 8px; }
.mail-body td { padding: 9px 0; border-top: 1px solid #e6e9f3; }
.mail-k { margin: 18px 0 4px; font: 800 .95rem var(--font-title); color: var(--accent); }
.mail-body p:not(.mail-k) { margin: 0; line-height: 1.5; }

.x3 main > section { margin-top: 0; margin-bottom: 0; }
.x3 .x-numbers { padding-block: clamp(40px, 6vw, 80px); }

@media (max-width: 900px) {
  .h3-mail-in { grid-template-columns: 1fr; }
  .h3-promise { grid-template-columns: 1fr; gap: 14px; }
  .h3-rail { grid-template-columns: repeat(5, 1fr); row-gap: 26px; }
  .h3-rail::before { display: none; }
}
@media (max-width: 520px) {
  .h3-rail b { width: 56px; height: 56px; font-size: 1.05rem; }
  .pen-word { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  .mail, .h3-rail li { transform: none; opacity: 1; transition: none; }
}

/* ---------- Animations A++ ---------- */
.scroll-pen { position: fixed; left: 0; top: 0; z-index: 50; height: 3px; width: 100%; background: linear-gradient(90deg, var(--accent), #ff5a61); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); pointer-events: none; }
.x-plan-row .pd { font-size: .92rem; font-weight: 700; color: var(--accent); margin-top: -4px; }
.x-plan-row a.best .pd { color: #ffd36b; }

/* Titre : les mots montent un par un */
.h3-hero h1 .w { display: inline-block; }
.js-anim .h3-hero h1 .w { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--d) * 70ms + 80ms); }
@keyframes rise { from { opacity: 0; transform: translateY(.5em) rotate(2deg); filter: blur(6px); } }
.js-anim .h3-hero .x-lead, .js-anim .h3-hero .x-cta, .js-anim .h3-promise li { animation: fade .8s cubic-bezier(.2,.7,.2,1) both; }
.js-anim .h3-hero .x-lead { animation-delay: .55s; } .js-anim .h3-hero .x-cta { animation-delay: .7s; }
.js-anim .h3-promise li:nth-child(1) { animation-delay: .85s; } .js-anim .h3-promise li:nth-child(2) { animation-delay: .95s; } .js-anim .h3-promise li:nth-child(3) { animation-delay: 1.05s; }
@keyframes fade { from { opacity: 0; transform: translateY(16px); } }
.js-anim .h3-hero .x-stage { animation: drop 1.1s .25s cubic-bezier(.2,.7,.2,1) both; }
@keyframes drop { from { opacity: 0; transform: translateY(40px) rotate(4deg) scale(.96); } }

/* La feuille suit la souris */
.h3-hero .x-stage { perspective: 1200px; }
.h3-hero .tilt { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; transition: transform .25s ease-out; position: absolute; inset: 0; }

/* Parcours : la ligne se trace, les ronds s'allument */
.h3-rail::before { transform-origin: 0 50%; transition: transform 1.4s cubic-bezier(.6,0,.3,1); }
.js-anim .h3-rail:not(.in)::before { transform: scaleX(0); }
.h3-rail li[data-level] b { animation: none; }
.h3-rail.in li[data-level] b { animation: glow 2.4s calc(var(--i) * 120ms + 1.2s) ease-out both; }
@keyframes glow { 0% { box-shadow: 0 0 0 6px var(--bg), 0 0 0 6px rgba(59,91,219,.5); } 60% { box-shadow: 0 0 0 6px var(--bg), 0 0 0 18px rgba(59,91,219,0); } 100% { box-shadow: 0 0 0 6px var(--bg); } }

/* L'e-mail arrive */
.mail-wrap { position: relative; }
.toast { position: absolute; z-index: 2; right: 6%; top: -34px; margin: 0; display: flex; gap: 12px; align-items: center; padding: 12px 18px 12px 14px; border-radius: 14px;
  background: var(--ink); color: #fff; font-size: .95rem; box-shadow: 0 20px 40px -18px rgba(15,22,48,.6); }
.toast b { display: block; font: 800 .82rem var(--font-title); color: #ffd36b; }
.toast i { width: 30px; height: 22px; border-radius: 4px; background: #fff; position: relative; flex: none; }
.toast i::after { content: ""; position: absolute; inset: 0 3px 7px; border: solid var(--accent); border-width: 0 2px 2px 0; transform: skewY(0) rotate(45deg) scale(.7); transform-origin: center; }
.js-anim .mail-wrap .toast { opacity: 0; transform: translateY(-14px) scale(.95); transition: opacity .5s 1s, transform .6s 1s cubic-bezier(.2,.7,.2,1); }
.js-anim .mail-wrap.in .toast { opacity: 1; transform: none; }
.js-anim .mail tbody tr, .js-anim .mail-body > p { opacity: 0; transform: translateX(-10px); transition: opacity .45s, transform .5s cubic-bezier(.2,.7,.2,1); }
.js-anim .mail.in tbody tr, .js-anim .mail.in .mail-body > p { opacity: 1; transform: none; }
.mail tbody tr:nth-child(1) { transition-delay: .5s; } .mail tbody tr:nth-child(2) { transition-delay: .62s; } .mail tbody tr:nth-child(3) { transition-delay: .74s; }
.mail-body > p:nth-of-type(1) { transition-delay: .95s; } .mail-body > p:nth-of-type(2) { transition-delay: 1.05s; } .mail-body > p:nth-of-type(3) { transition-delay: 1.2s; } .mail-body > p:nth-of-type(4) { transition-delay: 1.3s; }

/* Bande finale : le quadrillage défile */
.x3 .x-end { background-color: var(--accent); background-image: linear-gradient(rgba(255,255,255,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.09) 1px, transparent 1px); background-size: 28px 28px; animation: grid 18s linear infinite; }
@keyframes grid { to { background-position: 28px 28px; } }

@media (prefers-reduced-motion: reduce) {
  .scroll-pen { display: none; }
  .x3 .x-end { animation: none; }
  .h3-hero .tilt { transform: none; }
}
@media (max-width: 520px) { .toast { right: 4px; top: -30px; font-size: .88rem; } }
.x3 .h3-in.h3-inc { padding: clamp(56px, 8vw, 100px) 16px clamp(20px, 3vw, 40px); }

/* Retouches « encore mieux » */
.x3 .x-plan-row { align-items: stretch; }
.x3 .x-plan-row a { align-content: start; }
.x3 .x-plan-row a.best { transform: translateY(-14px); box-shadow: 0 30px 60px -28px rgba(15,22,48,.55); }
.js-anim .x3 .x-plan-row a.best:not(.in) { transform: translateY(24px); }
.fan { position: relative; height: 150px; margin: 18px 0 auto; }
.fan span { position: absolute; left: 0; top: 0; width: min(320px, 90%); padding: 14px 16px; border-radius: 12px; background: #fff; color: #16213d; font: 700 .95rem var(--font-title);
  box-shadow: 0 14px 30px -16px rgba(0,0,0,.45); transform-origin: 10% 120%; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.fan span::after { content: ""; display: block; height: 6px; margin-top: 10px; border-radius: 3px; background: linear-gradient(90deg, #1f9d55 0 var(--w, 70%), #e6e9f3 var(--w, 70%)); }
.fan span:nth-child(1) { transform: translate(0, 0) rotate(-4deg); --w: 85%; }
.fan span:nth-child(2) { transform: translate(28px, 38px) rotate(1deg); --w: 60%; }
.fan span:nth-child(3) { transform: translate(56px, 76px) rotate(5deg); --w: 40%; }
.inc-big:hover .fan span:nth-child(1) { transform: translate(-6px, -6px) rotate(-7deg); }
.inc-big:hover .fan span:nth-child(3) { transform: translate(70px, 84px) rotate(8deg); }
.cred-row { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 420px; }
.cred-row li { background: var(--card); border-radius: 14px; padding: 12px 14px; color: var(--muted); font-size: .92rem; display: grid; gap: 2px; }
.cred-row b { font: 800 1.35rem/1.1 var(--font-title); color: var(--accent); }
.x3 .x-prof-name p { margin-top: 30px; }
@media (max-width: 520px) { .fan { height: 130px; } .fan span { font-size: .85rem; } }
.x3 .x-prof { padding-bottom: clamp(24px, 4vw, 48px); }

/* ---------- Les maths de tous les jours ---------- */
.daily { padding: clamp(56px, 8vw, 110px) 0; background: linear-gradient(180deg, transparent, var(--card) 30%, var(--card) 70%, transparent); }
.daily h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: 1.02; letter-spacing: -.035em; margin: 0 0 14px; max-width: 18ch; }
.daily-grid { margin-top: 34px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dcard { background: var(--bg); border-radius: 22px; padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; min-width: 0;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
.dcard:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(15,22,48,.45); }
.dcard h3 { margin: 10px 0 0; font-size: 1.25rem; }
.dcard > p { margin: 0; color: var(--muted); line-height: 1.5; }
.dtag { margin-top: auto; padding-top: 10px; font: 700 .85rem var(--font-title); color: var(--accent); }
.dvis { height: 190px; border-radius: 16px; background: #fffefb; color: #16213d; position: relative; overflow: hidden; display: grid; place-items: center; color-scheme: light;
  background-image: linear-gradient(var(--sheet-grid) 1px, transparent 1px), linear-gradient(90deg, var(--sheet-grid) 1px, transparent 1px); background-size: 18px 18px; }

/* Ticket */
.ticket { width: 170px; background: #fff; padding: 12px 14px 16px; font: 600 .82rem/1.5 ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: #222;
  box-shadow: 0 10px 24px -14px rgba(0,0,0,.4); clip-path: polygon(0 0, 100% 0, 100% 100%, 92% 97%, 84% 100%, 76% 97%, 68% 100%, 60% 97%, 52% 100%, 44% 97%, 36% 100%, 28% 97%, 20% 100%, 12% 97%, 4% 100%, 0 97%); }
.ticket p { margin: 0; display: flex; justify-content: space-between; }
.t-h { justify-content: center !important; letter-spacing: .12em; margin-bottom: 4px !important; }
.t-tot { border-top: 1px dashed #999; margin-top: 4px !important; padding-top: 4px; font-weight: 800; }
.t-rendu { color: #1f9d55; font-size: .78rem; }
.play .t-l, .play .t-tot, .play .t-rendu { animation: tl .45s cubic-bezier(.2,.7,.2,1) both; }
.play .t-l { animation-delay: calc(var(--k) * .35s + .2s); }
.play .t-tot { animation-delay: 1.35s; } .play .t-rendu { animation-delay: 2.1s; }
@keyframes tl { from { opacity: 0; transform: translateY(-6px); } }
.play .ticket { animation: printin 1.2s cubic-bezier(.2,.7,.2,1) both; }
@keyframes printin { from { transform: translateY(-40%); } }

/* Pizza */
.pizza { width: 150px; height: 150px; }
.pizza .crust { fill: #e9b56b; } .pizza .cheese { fill: #ffd36b; }
.pizza .s { fill: #ffd36b; stroke: none; }
.pizza .cuts path { stroke: #c98a3c; stroke-width: 2; fill: none; }
.pizza .top { fill: var(--red); }
.play .pizza .s { animation: eat .5s cubic-bezier(.5,0,.3,1) both; }
.play .pizza .s1 { animation-delay: .6s; } .play .pizza .s2 { animation-delay: 1.1s; } .play .pizza .s3 { animation-delay: 1.6s; }
@keyframes eat { to { fill: #fffefb; } }
.pizza .slices { transform-origin: 100px 100px; }
.frac-out { position: absolute; right: 12px; bottom: 10px; margin: 0; font-weight: 700; font-size: .9rem; display: flex; align-items: center; gap: 6px; }
.frac-out b { display: inline-grid; text-align: center; font: 800 1.15rem/1.05 var(--font-title); color: var(--accent); }
.frac-out b span:first-child { border-bottom: 2px solid currentColor; padding: 0 3px; }
.play .frac-out { animation: tl .5s 2.2s both; }

/* Soldes */
.tag-price { position: relative; width: 160px; height: 96px; border-radius: 10px 30px 30px 10px; background: #fff; box-shadow: 0 10px 24px -14px rgba(0,0,0,.4); display: grid; place-items: center; }
.tag-price::before { content: ""; position: absolute; right: 16px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: #fffefb; box-shadow: inset 0 0 0 2px #ccd; }
.tag-price .old { position: absolute; left: 22px; top: 18px; font: 800 1.6rem var(--font-title); color: #16213d; }
.tag-price .old::after { content: ""; position: absolute; left: -4px; right: -4px; top: 52%; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; }
.tag-price .pct { position: absolute; left: -16px; bottom: -14px; background: var(--red); color: #fff; font: 800 .95rem var(--font-title); padding: 6px 10px; border-radius: 8px; transform: rotate(-8deg) scale(0); }
.tag-price .new { position: absolute; left: 30px; bottom: 12px; font: 800 1.9rem var(--font-title); color: #1f9d55; opacity: 0; }
.calc-line { position: absolute; right: 12px; bottom: 10px; margin: 0; font-size: .9rem; opacity: 0; }
.play .tag-price .old::after { animation: strike .4s .6s cubic-bezier(.6,0,.3,1) forwards; }
@keyframes strike { to { transform: scaleX(1); } }
.play .tag-price .pct { animation: stamp .45s .2s cubic-bezier(.3,1.6,.5,1) forwards; }
@keyframes stamp { to { transform: rotate(-8deg) scale(1); } }
.play .tag-price .old { animation: dim .4s 1s forwards; }
@keyframes dim { to { opacity: .35; transform: translateY(-6px) scale(.8); } }
.play .tag-price .new { animation: tl .5s 1.3s both; opacity: 1; }
.play .calc-line { animation: tl .5s 1.8s both; opacity: 1; }

/* Échelle */
.ladder { width: 200px; overflow: visible; }
.ladder .wall { stroke: #8892b0; stroke-width: 6; }
.ladder .ground { stroke: #8892b0; stroke-width: 3; }
.ladder .lad path { stroke: #b4232a; stroke-width: 4; stroke-linecap: round; fill: none; }
.ladder .lad { transform-origin: 50px 150px; }
.ladder .sq { fill: none; stroke: #16213d; stroke-width: 1.5; }
.ladder text { font: 700 13px var(--font); fill: #16213d; }
.ladder .q { fill: var(--accent); font-size: 16px; font-weight: 800; }
.play .ladder .lad { animation: lean 1.1s cubic-bezier(.3,1.3,.5,1) both; }
@keyframes lean { from { transform: rotate(-36deg); } }
.play .ladder text { animation: tl .5s 1.2s both; } .play .ladder .q { animation: pop .5s 1.8s cubic-bezier(.3,1.6,.5,1) both; }
@keyframes pop { from { opacity: 0; transform: scale(.4); transform-box: fill-box; transform-origin: center; } }

/* Recette */
.d-recipe .dvis { place-items: stretch; padding: 14px 16px; align-content: center; gap: 6px; }
.r-h { margin: 0; font-weight: 700; }
.r-n { color: var(--accent); font-size: 1.2rem; }
.r-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; font-size: .95rem; }
.r-q { display: inline-block; min-width: 2.6em; font: 800 1.05rem var(--font-title); color: var(--accent); font-variant-numeric: tabular-nums; }
.r-q.bump { animation: bump .45s cubic-bezier(.3,1.6,.5,1); }
@keyframes bump { 40% { transform: scale(1.25); color: #1f9d55; } }
.r-btns { display: flex; gap: 6px; margin-top: 6px; }
.r-btns button { margin: 0; min-width: 40px; min-height: 34px; padding: 4px 10px; border-radius: 999px; background: #fff; color: var(--accent); border: 1.5px solid var(--accent); font-weight: 800; }
.r-btns button[aria-pressed="true"] { background: var(--accent); color: #fff; }

/* Trajet */
.d-trip .dvis { align-content: center; gap: 18px; }
.road { position: relative; width: 220px; height: 34px; border-radius: 8px; background: #3a4258; }
.road::before { content: ""; position: absolute; left: 8px; right: 8px; top: 50%; height: 2px; margin-top: -1px; background: repeating-linear-gradient(90deg, #ffd36b 0 14px, transparent 14px 26px); }
.car { position: absolute; left: 6px; top: -10px; width: 44px; height: 20px; border-radius: 8px 12px 4px 4px; background: var(--accent); }
.car::before, .car::after { content: ""; position: absolute; bottom: -6px; width: 12px; height: 12px; border-radius: 50%; background: #111; box-shadow: inset 0 0 0 3px #555; }
.car::before { left: 5px; } .car::after { right: 5px; }
.play .car { animation: drive 2.4s cubic-bezier(.5,0,.3,1) both; }
@keyframes drive { from { left: 6px; } to { left: 170px; } }
.trip-row { display: flex; gap: 10px; font-weight: 700; font-size: .95rem; }
.trip-row b { font: 800 1.15rem var(--font-title); color: var(--accent); }
.play .trip-row span { animation: tl .4s both; } .play .trip-row span:nth-child(2) { animation-delay: .9s; } .play .trip-row span:nth-child(3) { animation-delay: 1.8s; }

@media (max-width: 1000px) { .daily-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .daily-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .dcard .play *, .play .ticket { animation: none !important; }
  .tag-price .old::after { transform: scaleX(1); } .tag-price .pct { transform: rotate(-8deg); } .tag-price .new, .calc-line { opacity: 1; } .tag-price .old { opacity: .35; }
  .pizza .s { fill: #fffefb; }
}
.x3 .r-btns button { background: #fff; color: var(--accent); border: 1.5px solid var(--accent); box-shadow: none; }
.x3 .r-btns button[aria-pressed="true"] { background: var(--accent); color: #fff; }
.ticket .t-rendu { font-size: .76rem; }
.x3 .dcard .r-btns button { background: #fff !important; color: var(--accent) !important; }
.x3 .dcard .r-btns button[aria-pressed="true"] { background: var(--accent) !important; color: #fff !important; }
.ticket .t-rendu { gap: 6px; }

/* Feuille du héros : jamais de débordement, quelle que soit la largeur */
.h3-hero .x-stage { container-type: inline-size; }
.h3-hero .sheet { position: relative; inset: auto; min-height: 520px; margin-right: 4%; }
.h3-hero .sheet-tag { font-size: clamp(.78rem, 2.6cqi, .95rem); white-space: nowrap; }
.h3-hero .sheet-q { font-size: clamp(.98rem, 3.4cqi, 1.25rem); }
.h3-hero .sheet-a { font-size: clamp(1.1rem, 4.6cqi, 1.7rem); white-space: nowrap; }
.h3-hero .sheet-note { font-size: clamp(.95rem, 3.4cqi, 1.3rem); white-space: nowrap; }
.h3-hero .figure-draw { width: min(56%, 300px); flex: none; margin-top: auto; padding-top: 14px; }
@media (max-width: 900px) { .h3-hero .sheet { min-height: 440px; margin-right: 0; } }
@media (max-width: 520px) { .h3-hero .sheet { min-height: 400px; } }
