/* Accueil (views/index.html) : la page « effet waouh », dans la charte (DESIGN.md) : cahier Seyès, gris ardoise, un seul trait de feutre,
   coins à 4 px, filets d'1 px, aucune ombre, aucun dégradé de couleur, pas de bouton en pilule. Les teintes viennent des variables de site.css
   (clair et sombre suivent). Le mouvement : CSS seulement, déclenché par landing.js ; « réduire les animations » coupe tout (site.css). */

body.home section.block { padding-block: 9rem .25rem; gap: 3.4rem; }
body.home .head-stack { gap: .8rem; }
@media (max-width: 700px) { body.home section.block { padding-block: 5.6rem .25rem; gap: 2.2rem; } }
body.home .lead { max-width: 38rem; }
.badge[hidden], .proofbar[hidden] { display: none; }

@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes fade { from { opacity: 0; } }
@keyframes draw { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes bob { 50% { transform: translateY(-4px); } }

/* ---------- Bannière : centrée, très grand titre, la zone de dépôt comme une barre de saisie ---------- */
.hero { display: flex; flex-direction: column; align-items: center; text-align: center; min-height: 0; gap: 0; padding-top: clamp(2.2rem, 6vw, 4.2rem); padding-bottom: clamp(4.5rem, 9vw, 6.5rem); }
.hero h1 { max-width: 17ch; margin: 0; font-size: clamp(2.2rem, 7vw, 5rem); line-height: 1; letter-spacing: -.035em; animation: rise .8s cubic-bezier(.2, .8, .2, 1) both; }
.hero h1 mark.hl { white-space: nowrap; animation: draw .9s .55s cubic-bezier(.6, 0, .2, 1) both; }   /* un surlignage coupé en deux lignes ne se dessine pas bien */
.hero .lede { max-width: 40rem; margin: 1.3rem auto 0; font-size: clamp(1.02rem, 1.6vw, 1.18rem); animation: rise .8s .12s cubic-bezier(.2, .8, .2, 1) both; }
.badge { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: .1rem .45rem; margin-bottom: 1.5rem; padding: .4rem .85rem; border: 1px solid var(--line2); border-radius: var(--radius); background: var(--surface); color: var(--ink); text-decoration: none; font-size: .9rem; animation: rise .6s both; }
.badge b { font: 700 1rem var(--font-display); }
.badge:hover { border-color: var(--ink); }
.hero-drop { width: min(100%, 48rem); margin-top: 2.4rem; display: flex; flex-direction: column; gap: .6rem; animation: rise .8s .25s cubic-bezier(.2, .8, .2, 1) both; }
.hero > .facts { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: .3rem 1.4rem; margin-top: 1.3rem; font-size: .92rem; animation: fade .8s .45s both; }

/* zone de dépôt en barre (bannière) */
.drop-bar { flex-direction: row; justify-content: flex-start; text-align: left; gap: 1.2rem; padding: 1.5rem 1.5rem 1.5rem 1.7rem; background: var(--surface); }
.drop-bar .ico { flex: none; width: 3rem; height: 3rem; animation: bob 2.6s ease-in-out infinite; }
.drop-txt { display: flex; flex-direction: column; gap: .15rem; flex: 1; min-width: 0; }
.drop-bar .drop-title { font-size: 1.5rem; }
.drop-bar .btn { flex: none; min-height: 3.4rem; padding-inline: 1.8rem; font-size: 1.05rem; }
.drop.over { transform: scale(1.015); }
.drop { transition: transform .2s ease, background-color .2s ease, border-color .2s ease; }
/* les zones de dépôt sont les endroits où l'on agit : trait pointillé gris ardoise (et non gris clair) et un anneau qui s'élargit, sans ombre */
.hero-drop .drop, .final-drop .drop { position: relative; border: 2px dashed var(--blue); }
.hero-drop .drop::after, .final-drop .drop::after { content: ""; position: absolute; inset: -3px; border: 1px solid var(--blue); border-radius: calc(var(--radius) + 3px); opacity: 0; pointer-events: none; animation: ring 3.2s ease-out 1.2s infinite; }
.hero-drop .drop:hover::after, .hero-drop .drop.over::after, .hero-drop .drop:focus-within::after, .final-drop .drop:hover::after, .final-drop .drop.over::after, .final-drop .drop:focus-within::after, .drop.busy::after { animation: none; }
@keyframes ring { 0% { inset: -3px; opacity: .6; } 70%, 100% { inset: -16px; opacity: 0; } }
.hero-drop .err, .final-drop .err { margin: 0; text-align: center; }
.hero-drop .err:empty, .final-drop .err:empty { display: none; }
.hero-drop .reading, .final-drop .reading { margin: 0; }
.only-coarse { display: none; }
@media (pointer: coarse) { .only-fine { display: none; } .only-coarse { display: inline; } }       /* pas de glisser-déposer au doigt */
@media (max-width: 600px) {
  .drop-bar { flex-direction: column; text-align: center; padding: 1.3rem 1.1rem 1.3rem; gap: .6rem; }
  .drop-bar .ico { display: none; }
  .drop-bar .btn { width: 100%; }
  .hero { padding-top: 1.6rem; padding-bottom: 4rem; }
  .badge { margin-bottom: 1.1rem; font-size: .82rem; padding: .35rem .7rem; }
  .hero .lede { margin-top: .9rem; }
  .hero-drop { margin-top: 1.4rem; }
}

/* ---------- Aperçu animé : une fenêtre d'appli qui passe d'un onglet à l'autre, des cartes qui flottent autour ---------- */
.stage { position: relative; margin-top: -3rem; padding-bottom: .5rem; display: flex; flex-direction: column; align-items: center; scroll-margin-top: 4rem; }
.win { position: relative; z-index: 2; width: min(100%, 39rem); background: var(--surface); border: 1px solid var(--line2); border-radius: var(--radius); overflow: hidden; text-align: left; transition: transform .3s ease; }
.win-top { display: flex; align-items: center; gap: .8rem; padding: .65rem .95rem; border-bottom: 1px solid var(--line); font: 500 .72rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.win-dots { display: flex; gap: .3rem; }
.win-dots i { width: .6rem; height: .6rem; border: 1px solid var(--line2); border-radius: 2px; }
.win-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.win-tabs { display: flex; gap: .15rem; padding: .45rem .55rem 0; overflow-x: auto; scrollbar-width: none; }
.win-tabs::-webkit-scrollbar { display: none; }
.win-tabs button { flex: none; padding: .55rem .85rem; border: 0; border-radius: var(--radius) var(--radius) 0 0; background: none; color: var(--muted); font: 700 .92rem var(--font-body); cursor: pointer; white-space: nowrap; }
.win-tabs button:hover { color: var(--ink); }
.win-tabs [aria-selected="true"] { background: var(--soft); color: var(--ink); }
.win-bar { height: 2px; background: var(--line); }
.win-bar i { display: block; width: 0; height: 100%; background: var(--blue); }
.win.playing .win-bar i { animation: prog var(--dur, 5.5s) linear both; }
@keyframes prog { to { width: 100%; } }
.scenes { position: relative; height: 22rem; padding: 1.3rem 1.4rem; background: var(--soft); }
.scene { height: 100%; display: flex; flex-direction: column; gap: .75rem; animation: rise .45s both; }
.scene[hidden] { display: none; }
.scene .eyebrow { margin: 0; }
.sc-note { margin: 0; font-size: .9rem; color: var(--muted); }

/* fiche (mêmes classes que l'ancien aperçu : .fd-* dans site.css) */
.sc-fiche { gap: .65rem; }
.sc-fiche p { margin: 0; }
.sc-fiche > * { animation: rise .5s both; }
.sc-fiche > :nth-child(2) { animation-delay: .1s; } .sc-fiche > :nth-child(3) { animation-delay: .2s; } .sc-fiche > :nth-child(4) { animation-delay: .35s; }
.sc-fiche > :nth-child(5) { animation-delay: .5s; } .sc-fiche > :nth-child(6) { animation-delay: .65s; }
.sc-fiche mark.hl { white-space: nowrap; animation: draw .7s .75s cubic-bezier(.6, 0, .2, 1) both; }
.sc-fiche .fd-trap mark.hl { animation-delay: 1.3s; }

/* carte qui se retourne */
.flip3d { perspective: 1100px; height: 10.8rem; }
.f-in { position: relative; height: 100%; transform-style: preserve-3d; animation: flip .8s 1.7s cubic-bezier(.4, .1, .2, 1) both; }
@keyframes flip { to { transform: rotateY(180deg); } }
.f-face { position: absolute; inset: 0; display: flex; flex-direction: column; gap: .45rem; padding: 1rem 1.15rem; background: var(--surface); border: 1px solid var(--line2); border-radius: var(--radius); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.f-face p { margin: 0; font: 700 1.12rem/1.3 var(--font-display); letter-spacing: -.01em; }
.f-back { transform: rotateY(180deg); }
.f-back p { font: 400 .98rem/1.45 var(--font-body); letter-spacing: 0; }
.f-back small { margin-top: auto; font: 500 .74rem var(--font-mono); color: var(--muted); }
.grades { display: flex; gap: .4rem; }
.grades span { flex: 1; padding: .5rem .3rem; text-align: center; background: var(--surface); border: 1px solid var(--line2); border-radius: var(--radius); font-size: .86rem; font-weight: 700; }
.grades .pick { animation: pick .35s 2.9s both; }
@keyframes pick { to { background: var(--blue); border-color: var(--blue); color: var(--blue-fg); } }
.sc-card .sc-note { animation: rise .4s 3.1s both; }

/* quiz */
.sc-quiz .q { margin: 0; font: 700 1.08rem/1.35 var(--font-display); letter-spacing: -.01em; }
.opts2 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem; }
.opts2 li { display: flex; align-items: center; gap: .55rem; padding: .55rem .7rem; background: var(--surface); border: 1px solid var(--line2); border-radius: var(--radius); font-size: .92rem; animation: rise .4s both; }
.opts2 li:nth-child(2) { animation-delay: .08s; } .opts2 li:nth-child(3) { animation-delay: .16s; } .opts2 li:nth-child(4) { animation-delay: .24s; }
.opts2 b { flex: none; display: inline-grid; place-items: center; width: 1.5rem; height: 1.5rem; border: 1px solid var(--line2); border-radius: 2px; font: 500 .75rem var(--font-mono); }
.opts2 .good { animation: rise .4s .08s both, good .35s 1.5s both; }
@keyframes good { to { border-color: var(--ok); background: color-mix(in srgb, var(--ok) 16%, var(--surface)); } }
.why2 { margin: 0; padding: .7rem .9rem; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--ok); border-radius: var(--radius); font-size: .92rem; animation: rise .45s 1.9s both; }
.why2 small { display: block; margin-top: .2rem; font: 500 .74rem var(--font-mono); color: var(--muted); }

/* DS blanc */
.ds-head { display: flex; justify-content: space-between; align-items: center; }
.ds-time { padding: .2rem .5rem; border: 1px solid var(--line2); border-radius: var(--radius); font: 500 .8rem var(--font-mono); }
.ds-score { display: flex; align-items: baseline; gap: .5rem; margin: .2rem 0; }
.ds-score b { font: 700 clamp(3.4rem, 9vw, 4.4rem)/1 var(--font-display); letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.ds-score span { font: 500 1rem var(--font-mono); color: var(--muted); }
.ds-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .45rem; }
.ds-list li { display: flex; gap: .6rem; font-size: .95rem; animation: rise .4s both; }
.ds-list li:nth-child(1) { animation-delay: 1s; } .ds-list li:nth-child(2) { animation-delay: 1.2s; } .ds-list li:nth-child(3) { animation-delay: 1.4s; }
.ds-list li::before { content: "✓"; flex: none; font-weight: 700; color: var(--ok); }
.ds-list .ko::before { content: "✗"; color: var(--margin); }
.sc-ds .sc-note { animation: rise .4s 1.7s both; }

/* plan */
.plan-days { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: .35rem; }
.plan-days li { display: grid; grid-template-columns: 1.1rem 2.7rem minmax(0, 1fr); align-items: center; gap: .6rem; padding: .42rem .65rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); font-size: .93rem; animation: rise .35s both; }
.plan-days li::before { content: ""; width: 1rem; height: 1rem; border: 1px solid var(--line2); border-radius: 2px; animation: tick .25s both; }
.plan-days li b { font: 500 .76rem var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.plan-days li:nth-child(1) { animation-delay: 0s; } .plan-days li:nth-child(1)::before { animation-delay: .8s; }
.plan-days li:nth-child(2) { animation-delay: .07s; } .plan-days li:nth-child(2)::before { animation-delay: 1.15s; }
.plan-days li:nth-child(3) { animation-delay: .14s; } .plan-days li:nth-child(3)::before { animation-delay: 1.5s; }
.plan-days li:nth-child(4) { animation-delay: .21s; } .plan-days li:nth-child(4)::before { animation-delay: 1.85s; }
.plan-days li:nth-child(5) { animation-delay: .28s; } .plan-days li:nth-child(5)::before { animation-delay: 2.2s; }
.plan-days li:nth-child(6) { animation-delay: .35s; }
.plan-days .dday { border-color: var(--blue); }
.plan-days .dday mark.hl { justify-self: start; }
.plan-days .dday::before { animation: none; border-color: var(--blue); }
@keyframes tick { from { background: transparent; } to { background: var(--blue); border-color: var(--blue); } }

/* cartes qui flottent autour de la fenêtre (grand écran seulement) */
.float { position: absolute; z-index: 1; display: none; align-items: center; gap: .65rem; width: 13rem; padding: .7rem .85rem; background: var(--surface); border: 1px solid var(--line2); border-radius: var(--radius); font-size: .84rem; line-height: 1.3; text-align: left; animation: fade .8s var(--d, .6s) both, floaty 7s var(--d, .6s) ease-in-out infinite alternate; }
.float svg { flex: none; width: 1.7rem; height: 1.7rem; color: var(--blue); }
.float b { display: block; font: 700 .95rem var(--font-display); }
.float small { color: var(--muted); font-size: .8rem; }
.f1 { left: -1rem; top: 8%; --r: -5deg; --d: .7s; }
.f2 { left: 0; bottom: 18%; --r: 4deg; --d: 1s; }
.f3 { right: -1rem; top: 14%; --r: 5deg; --d: .85s; }
.f4 { right: 0; bottom: 12%; --r: -4deg; --d: 1.15s; }
@keyframes floaty { from { transform: translateY(0) rotate(var(--r)); } to { transform: translateY(-10px) rotate(calc(var(--r) * .6)); } }
.note { position: absolute; z-index: 1; display: none; left: 1.5rem; top: 44%; width: 11rem; text-align: left; margin: 0; font: 500 .8rem var(--font-mono); color: var(--muted); transform: rotate(-4deg); animation: fade .8s 1.4s both; }
.note svg { display: block; width: 6.5rem; height: 3.2rem; margin: .2rem 0 0 3.5rem; color: var(--muted); }
.note svg path { stroke-dasharray: 160; stroke-dashoffset: 160; animation: ink 1s 1.6s ease-out forwards; }
@keyframes ink { to { stroke-dashoffset: 0; } }
@media (min-width: 1000px) { .float { display: flex; } .note { display: block; } .stage { min-height: 31rem; justify-content: center; } }
.stage-cap { max-width: 36rem; margin: 1rem auto 0; text-align: center; font-size: .85rem; color: var(--muted); }
@media (max-width: 600px) {
  .stage { margin-top: -2.2rem; }
  .scenes { height: 26.5rem; padding: 1.1rem 1rem; }
  .opts2 { grid-template-columns: minmax(0, 1fr); }
  .win-title { font-size: .66rem; }
}

/* ---------- Tous les cours : deux bandes de matières qui défilent ---------- */
.subjects { display: flex; flex-direction: column; align-items: center; gap: 1.4rem; padding-top: 5.5rem; text-align: center; }
.subjects h2 { font-size: clamp(1.45rem, 3.6vw, 2.1rem); }
.subjects .fine { margin: 0; max-width: 34rem; }
.marq-wrap { width: 100%; display: flex; flex-direction: column; gap: .7rem; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.marq { display: flex; gap: .7rem; width: max-content; animation: marq 48s linear infinite; }
.marq.back { animation-duration: 56s; animation-direction: reverse; }
.marq span { padding: .55rem 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); font: 700 1.02rem var(--font-display); letter-spacing: -.01em; white-space: nowrap; }
.marq-wrap:hover .marq { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(calc(-50% - .35rem)); } }

/* ---------- Apparition au défilement (landing.js pose .pre sur ce qui est sous l'écran, puis .in) ---------- */
.pre { opacity: 0; transform: translateY(28px); }
.pre.in { opacity: 1; transform: none; transition: opacity .7s ease, transform .85s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--i, 0) * 75ms); }
.gets li.pre { transform: perspective(900px) rotateX(30deg) translateY(40px); transform-origin: 50% 100%; }
.gets li.pre.in { transform: none; }

/* ---------- Comment ça marche : trois cartes qui s'allument tour à tour (un cycle de 7,5 s, 2,5 s par étape) ---------- */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; }
.flow li { position: relative; display: flex; flex-direction: column; gap: .55rem; padding: 1rem 1rem 1.3rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); min-width: 0; animation: act 7.5s infinite backwards; }
.flow li:nth-child(2) { animation-delay: 2.5s; } .flow li:nth-child(3) { animation-delay: 5s; }
@keyframes act { 0%, 31% { border-color: var(--blue); } 35%, 100% { border-color: var(--line); } }
.flow li + li::before { content: ""; position: absolute; left: -1.25rem; top: 4.4rem; width: .8rem; height: .8rem; border-top: 2px solid var(--line2); border-right: 2px solid var(--line2); transform: rotate(45deg); }
.flow .num { display: grid; place-items: center; width: 1.9rem; height: 1.9rem; margin-top: .45rem; border-radius: 2px; background: var(--blue); color: var(--blue-fg); font: 500 .95rem var(--font-mono); }
.flow h3 { font: 700 1.3rem/1.15 var(--font-display); letter-spacing: -.015em; }
.flow p { margin: 0; color: var(--muted); font-size: .96rem; line-height: 1.45; }
.free { display: inline-block; margin-left: .3rem; padding: .1rem .45rem; vertical-align: .2em; border: 1px solid var(--ok); border-radius: 2px; color: var(--ok); font: 500 .68rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.art { position: relative; height: 8.5rem; overflow: hidden; background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); }
.art i, .art em, .art b, .art span { display: block; }

/* en pause (au tout début de chaque animation) tant que la section n'a pas été atteinte ; landing.js pose .live, puis elles tournent sans fin */
.flow:not(.live) li, .flow:not(.live) .art * { animation-play-state: paused; }

/* 1. une feuille tombe dans la zone de dépôt */
.art-drop .zone { position: absolute; left: 50%; top: 50%; width: 9.5rem; height: 6rem; margin: -3rem 0 0 -4.75rem; border: 2px dashed var(--line2); border-radius: var(--radius); animation: zone 7.5s infinite backwards; }
.art-drop .paper { position: absolute; left: 50%; top: 50%; width: 3.1rem; height: 4rem; margin: -2rem 0 0 -1.55rem; padding: .4rem .35rem; background: var(--surface); border: 1px solid var(--line2); border-radius: 2px; animation: drop 7.5s infinite backwards; }
.art-drop .paper b { width: max-content; margin-bottom: .35rem; padding: 0 .25rem; background: var(--margin); color: #fff; font: 700 .55rem var(--font-mono); border-radius: 2px; }
.art-drop .paper i { height: .22rem; margin-top: .3rem; background: var(--line2); border-radius: 1px; }
.art-drop .paper i:nth-of-type(2) { width: 75%; } .art-drop .paper i:nth-of-type(3) { width: 55%; }
@keyframes drop { 0% { transform: translateY(-7rem) rotate(-8deg); opacity: 0; } 6% { opacity: 1; } 16% { transform: translateY(0) rotate(0); } 19% { transform: translateY(-.35rem); } 22%, 31% { transform: translateY(0); opacity: 1; } 36%, 100% { transform: translateY(0); opacity: 0; } }
@keyframes zone { 0%, 14% { border-color: var(--line2); border-style: dashed; } 16%, 31% { border-color: var(--blue); border-style: solid; } 36%, 100% { border-color: var(--line2); border-style: dashed; } }

/* 2. une ligne de lecture passe sur le cours, puis ce qu'on a repéré apparaît */
.art-scan .lines { position: absolute; left: 1rem; right: 1rem; top: .9rem; }
.art-scan .lines i { height: .32rem; margin-bottom: .55rem; background: var(--line2); border-radius: 1px; opacity: .7; }
.art-scan .lines i:nth-child(1) { width: 45%; height: .45rem; background: var(--ink); opacity: .55; }
.art-scan .lines i:nth-child(3) { width: 85%; } .art-scan .lines i:nth-child(4) { width: 70%; } .art-scan .lines i:nth-child(5) { width: 60%; }
.art-scan .beam { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--blue); animation: beam 7.5s 2.5s infinite backwards; }
.art-scan .chips { position: absolute; left: 1rem; right: 1rem; bottom: .8rem; display: flex; flex-wrap: wrap; gap: .35rem; }
.art-scan em { padding: .2rem .5rem; background: var(--surface); border: 1px solid var(--ok); border-radius: 2px; color: var(--ink); font: 700 .78rem var(--font-body); font-style: normal; animation: chip 7.5s 2.5s infinite backwards; }
.art-scan em::before { content: "✓ "; color: var(--ok); }
.art-scan em:nth-child(2) { animation-name: chip2; } .art-scan em:nth-child(3) { animation-name: chip3; }
@keyframes beam { 0% { transform: translateY(0); opacity: 1; } 18% { transform: translateY(5.6rem); opacity: 1; } 20%, 100% { transform: translateY(5.6rem); opacity: 0; } }
@keyframes chip { 0%, 12% { opacity: 0; transform: translateY(6px); } 15%, 31% { opacity: 1; transform: none; } 36%, 100% { opacity: 0; } }
@keyframes chip2 { 0%, 16% { opacity: 0; transform: translateY(6px); } 19%, 31% { opacity: 1; transform: none; } 36%, 100% { opacity: 0; } }
@keyframes chip3 { 0%, 20% { opacity: 0; transform: translateY(6px); } 23%, 31% { opacity: 1; transform: none; } 36%, 100% { opacity: 0; } }

/* 3. le pack s'ouvre en éventail : fiches, cartes, quiz, DS blanc */
.art-pack .c { position: absolute; left: 50%; top: 50%; width: 4.8rem; height: 6rem; margin: -3rem 0 0 -2.4rem; padding: .45rem .5rem; background: var(--surface); border: 1px solid var(--line2); border-radius: var(--radius); font: 700 .78rem var(--font-display); text-align: left; animation: 7.5s 5s infinite backwards; }
.art-pack .c::after { content: ""; display: block; height: .22rem; width: 70%; margin-top: .5rem; background: var(--line2); border-radius: 1px; box-shadow: none; }
.art-pack .c4 { background: var(--blue); border-color: var(--blue); color: var(--blue-fg); }
.art-pack .c1 { animation-name: c1; } .art-pack .c2 { animation-name: c2; } .art-pack .c3 { animation-name: c3; } .art-pack .c4 { animation-name: c4; }
@keyframes c1 { 0% { transform: translateY(1rem); opacity: 0; } 5% { transform: none; opacity: 1; } 12%, 31% { transform: translateX(-6rem) rotate(-9deg); } 36%, 100% { transform: none; opacity: 0; } }
@keyframes c2 { 0% { transform: translateY(1rem); opacity: 0; } 5% { transform: none; opacity: 1; } 14%, 31% { transform: translateX(-2rem) rotate(-3deg); } 36%, 100% { transform: none; opacity: 0; } }
@keyframes c3 { 0% { transform: translateY(1rem); opacity: 0; } 5% { transform: none; opacity: 1; } 16%, 31% { transform: translateX(2rem) rotate(3deg); } 36%, 100% { transform: none; opacity: 0; } }
@keyframes c4 { 0% { transform: translateY(1rem); opacity: 0; } 5% { transform: none; opacity: 1; } 18%, 31% { transform: translateX(6rem) rotate(9deg); } 36%, 100% { transform: none; opacity: 0; } }
/* sans animation (réglage d'accessibilité) : la feuille est dans la zone, les trois repères sont là, l'éventail est ouvert */
@media (prefers-reduced-motion: reduce) {
  .art-pack .c1 { transform: translateX(-6rem) rotate(-9deg); } .art-pack .c2 { transform: translateX(-2rem) rotate(-3deg); }
  .art-pack .c3 { transform: translateX(2rem) rotate(3deg); } .art-pack .c4 { transform: translateX(6rem) rotate(9deg); }
  .art-scan .beam { display: none; }
}
@media (max-width: 900px) {
  .flow { grid-template-columns: minmax(0, 1fr); gap: 1.1rem; }
  .flow li + li::before { left: 50%; top: -.95rem; transform: translateX(-50%) rotate(135deg); }
  .art { height: 7.5rem; }
  .art-pack .c { width: 4.6rem; height: 5.4rem; margin: -2.7rem 0 0 -2.3rem; }
}

/* ---------- Sept façons de réviser : quatre cartes puis trois, qui basculent en place et s'inclinent sous la souris ---------- */
.gets { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1.9rem; perspective: 1200px; }
.gets li { grid-column: span 4; display: flex; flex-direction: column; gap: .6rem; padding: 1.9rem 1.6rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); min-width: 0; will-change: transform; }
.gets li:nth-child(-n+4) { grid-column: span 3; }
.gets li.tilting { transition: transform .12s linear, border-color .2s ease; }
.gets li:hover { border-color: var(--ink); }
.gets .ic { width: 2.4rem; height: 2.4rem; margin-bottom: .3rem; color: var(--blue); }
.gets h3 { font: 700 1.15rem/1.15 var(--font-display); letter-spacing: -.015em; }
.gets p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.45; }
.gets li.hot { background: var(--blue); border-color: var(--blue); color: var(--blue-fg); }
.gets li.hot .ic, .gets li.hot p { color: var(--blue-fg); opacity: .88; }
@media (max-width: 900px) { .gets li, .gets li:nth-child(-n+4) { grid-column: span 6; } .gets li:last-child { grid-column: span 12; } }
@media (max-width: 600px) {
  .gets { gap: 1rem; }
  .gets li, .gets li:nth-child(-n+4), .gets li:last-child { grid-column: span 12; display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); gap: .3rem 1rem; align-items: start; padding: 1.2rem 1.15rem; }
  .gets .ic { grid-row: span 2; margin-bottom: 0; }
  .gets p { grid-column: 2; }
}

/* ---------- À la main ou avec Bûcheur ---------- */
.vs { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.vs th, .vs td { padding: 1.25rem 1.4rem; text-align: left; vertical-align: top; border: 0; border-top: 1px solid var(--line); font-size: .97rem; line-height: 1.45; }
.vs thead th { border-top: 0; background: var(--soft); font: 500 .75rem var(--font-mono); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.vs thead th:last-child { color: var(--ink); }
.vs tbody th { width: 21%; background: transparent; color: var(--ink); text-transform: none; font: 700 1.02rem/1.25 var(--font-display); letter-spacing: -.01em; }
.vs td { width: 39.5%; color: var(--muted); }
.vs td:last-child { color: var(--ink); background: var(--soft); }
@media (max-width: 700px) {
  .vs, .vs tbody, .vs tr, .vs th, .vs td { display: block; }
  .vs thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .vs tr { padding: .9rem 1.1rem; border-top: 1px solid var(--line); }
  .vs tbody tr:first-child { border-top: 0; }
  .vs tbody th, .vs tbody td, .vs tbody td:last-child { width: auto; padding: .15rem 0; border: 0; background: transparent; }
  .vs td::before { content: attr(data-label) " · "; font: 500 .72rem var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
  .vs td:last-child { margin-top: .2rem; }
  .vs td:last-child::before { color: var(--ink); }
}

/* ---------- Étude : les chiffres comptent (landing.js) ---------- */
.proof-num span { font-variant-numeric: tabular-nums; }

/* ---------- Dernier appel : texte et trois points à gauche, zone de dépôt à droite ---------- */
.final { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 1.8rem 3rem; align-items: center; margin-top: 9rem; padding: clamp(1.6rem, 5vw, 3.6rem); background: var(--surface); border: 1px solid var(--line2); border-radius: var(--radius); }
.final-copy { display: flex; flex-direction: column; gap: .7rem; min-width: 0; }
.final h2 { max-width: 30rem; }
.final-copy > p { margin: 0; color: var(--muted); max-width: 34rem; }
.final .facts { margin-top: .6rem; }
.final-drop { display: flex; flex-direction: column; gap: .7rem; min-width: 0; }
.final-drop .drop { min-height: 16rem; justify-content: center; gap: .6rem; padding: 1.8rem 1.4rem; background: var(--paper); }
.final-drop .drop-title { font-size: 1.65rem; }
.final-drop .drop .btn { margin-top: .5rem; min-height: 3.3rem; padding-inline: 1.9rem; font-size: 1.05rem; }
.final-drop .ico { animation: bob 2.6s ease-in-out infinite; }
@media (max-width: 880px) { .final { grid-template-columns: minmax(0, 1fr); } .final-drop .drop { min-height: 12rem; } }
/* l'appel final est lui aussi une page de cahier : même quadrillage Seyès et même marge rouge que la bannière (règle de .hero dans site.css) ; le texte reste à droite de la marge */
.final { --mgn: 40px; background-color: var(--surface); background-image: linear-gradient(90deg, transparent calc(var(--mgn) - 1px), var(--margin) calc(var(--mgn) - 1px), var(--margin) calc(var(--mgn) + 1px), transparent calc(var(--mgn) + 1px)), linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 100% 100%, 32px 32px, 32px 32px; padding-left: calc(var(--mgn) + 2rem); }
.final-drop .drop { background: var(--surface); }
@media (max-width: 640px) { .final { --mgn: 24px; padding-left: calc(var(--mgn) + 1.2rem); } }

/* ---------- Barre fixe du bouton, sur téléphone seulement (quand aucune zone de dépôt n'est à l'écran) ---------- */
.sticky-start .sticky-t span { white-space: normal; }
@media (min-width: 881px) { .sticky-start { display: none; } }
@media (max-width: 880px) { body.home footer { margin-bottom: 4.5rem; } }


/* ---------- Plus d'air entre les blocs : étude, questions, pied de page ---------- */
body.home .proof { padding-block: 9rem .25rem; gap: 2.8rem; }
body.home .proof-main { padding: 2.6rem 2.8rem; }
body.home details { padding-block: 1.6rem; }
body.home details p { margin-top: .8rem; line-height: 1.6; }
body.home footer { margin-top: 8rem; }
@media (max-width: 700px) { body.home .proof { padding-block: 5.6rem .25rem; } body.home .proof-main { padding: 1.6rem 1.3rem; } body.home .final { margin-top: 6rem; } body.home footer { margin-top: 5rem; } }

body.home h2 mark.hl { white-space: nowrap; }
