/* Icônes au trait. */
.v-icone { flex: none; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Encart de l'élève (ticket #1447) : « Reprendre », « Devoirs », lien vers Mes activités. */
.v-eleve { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; margin-top: 20px; }
.v-eleve[hidden], .v-eleve [hidden] { display: none; }
.v-eleve-carte { display: grid; align-content: center; gap: 2px; flex: 1 1 260px; min-width: 0; min-height: var(--cible); padding: 12px 16px; }
.v-eleve-carte strong { overflow-wrap: anywhere; font-size: 1.0625rem; }
.v-eleve-etiq { color: var(--c-accent); font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.v-eleve-detail { color: var(--c-encre-douce); font-size: .875rem; }
.v-eleve-detail:empty { display: none; }
.v-eleve-tout { display: inline-flex; align-items: center; min-height: var(--cible); padding: 0 4px; color: var(--c-accent-fonce); font-weight: 600; text-underline-offset: 3px; }

/* En-tête de page. */
.v-une { position: relative; padding: 24px 0 8px; }
.v-halo { position: relative; }
.v-halo::before { content: ''; position: absolute; z-index: -1; top: -14%; bottom: -14%; left: max(-5%, -12px); right: max(-5%, -12px); background: radial-gradient(closest-side, var(--c-accent-doux), rgba(0, 0, 0, 0)); pointer-events: none; }
.v-une h1 { margin: 0 0 24px; font-size: 88px; line-height: 1; letter-spacing: -.035em; }
.v-une h1 span { color: var(--c-accent); }
.v-surtitre { display: flex; align-items: center; margin: 0 0 18px; color: var(--c-accent); font-size: .875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.v-surtitre .v-icone { width: 30px; height: 30px; margin-right: 10px; padding: 6px; border-radius: 9px; background: var(--c-accent-doux); }
.v-chapeau { margin: 0 0 36px; max-width: 30em; font-size: 1.375rem; line-height: 1.5; color: var(--c-encre-douce); }
.v-appels { display: flex; flex-wrap: wrap; margin: -6px; }
.v-appels .btn { margin: 6px; }
.btn.v-grand { min-height: 56px; padding: 0 28px; border-radius: 16px; font-size: 1.125rem; }
.v-garanties { display: flex; flex-wrap: wrap; list-style: none; margin: 28px -10px 0; padding: 0; }
.v-garanties li { display: inline-flex; align-items: center; margin: 6px 10px; font-size: .9375rem; color: var(--c-encre-douce); }
.v-garanties a { color: inherit; }
.v-garanties .v-icone { width: 18px; height: 18px; margin-right: 6px; color: var(--c-accent); stroke-width: 2.5; }
.v-une-c { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); grid-gap: 48px; align-items: center; }
.v-une-c h1 { font-size: 76px; }

/* La figure dans sa fenêtre, avec ses lectures. */
.v-fenetre { margin: 0; overflow: hidden; background: var(--c-surface); border: 1px solid var(--c-ligne); border-radius: var(--r-ample); box-shadow: var(--ombre-3); }
.v-fenetre-tete { display: flex; align-items: center; padding: 12px 18px; border-bottom: 1px solid var(--c-ligne); background: var(--c-surface-douce); color: var(--c-encre); font-size: .9375rem; font-weight: 700; }
.v-fenetre-tete > span:last-child { display: inline-flex; align-items: center; }
.v-fenetre-tete .v-icone { width: 20px; height: 20px; margin-right: 8px; color: var(--c-accent); }
.v-points { display: inline-flex; margin-right: 16px; }
.v-points i { width: 11px; height: 11px; margin-right: 6px; border-radius: 50%; background: var(--c-ligne); }
.v-fenetre-corps { padding: 18px; }
.v-lectures { display: grid; grid-template-columns: 1fr 1fr; grid-gap: 12px; margin-top: 14px; }
.v-lectures p { margin: 0; padding: 12px 16px; border-radius: 14px; background: var(--c-surface-douce); }
.v-lecture-nom { display: block; color: var(--c-encre-douce); font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.v-lecture-val { display: block; color: var(--c-encre); font-size: 1.75rem; font-weight: 700; line-height: 1.3; font-variant-numeric: tabular-nums; }
.v-lecture-val b { color: var(--c-corail); }
.v-lectures .v-lecture-aide { grid-column: 1 / -1; padding: 0 4px; background: none; color: var(--c-encre-douce); font-size: .9375rem; line-height: 1.45; }
.fig-repere rect { fill: var(--c-surface); stroke: var(--c-corail); stroke-width: 2; }
.fig-repere text { fill: var(--c-encre); font-size: 15px; font-weight: 700; text-anchor: middle; dominant-baseline: central; }

/* Sections : texte d'un côté, visuel de l'autre. */
.v-section { margin-top: 128px; }
.v-rangee { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); grid-gap: 72px; align-items: center; }
.v-inverse-ordre .v-texte { order: 2; }
.v-texte h2, .v-tete-section h2, .v-final h2 { margin: 0 0 16px; font-size: 44px; line-height: 1.1; letter-spacing: -.025em; }
.v-paragraphe { margin: 0; font-size: 1.1875rem; line-height: 1.55; color: var(--c-encre-douce); }
.v-tete-section { max-width: 680px; margin-bottom: 36px; }
.v-tete-section .v-paragraphe { margin-bottom: 16px; }

/* Appareils dessinés en CSS, avec une capture réelle du produit. */
.v-appareil { position: relative; margin: 0 auto; background: #111827; border: 1px solid rgba(255, 255, 255, .08); box-shadow: var(--ombre-3); }
.v-ecran { position: relative; overflow: hidden; background: #fff; }
.v-ecran img { display: block; width: 100%; height: auto; }
.v-tablette { max-width: 620px; padding: 14px; border-radius: var(--r-section); }
.v-tablette .v-ecran { border-radius: 18px; }
.v-telephone { max-width: 280px; padding: 10px; border-radius: 42px; }
.v-telephone .v-ecran { border-radius: var(--r-section); }
.v-duo { max-width: 520px; margin: 0 auto; }
.v-ordinateur { width: 92%; max-width: none; margin: 0 auto 18px; padding: 12px 12px 16px; border-radius: 18px 18px 6px 6px; }
.v-ordinateur .v-ecran { border-radius: 6px; }
.v-cadre-ecran { position: relative; }
.v-sombre { display: none; }
:root[data-theme="dark"] .v-clair { display: none; }
:root[data-theme="dark"] .v-sombre { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme]) .v-clair { display: none; } :root:not([data-theme]) .v-sombre { display: block; } }
.v-ecran img { display: block; width: 100%; height: auto; }
.v-loupe img { display: block; }
.v-ecran img.v-sombre, .v-loupe img.v-sombre { display: none; }
:root[data-theme="dark"] .v-ecran img.v-sombre, :root[data-theme="dark"] .v-loupe img.v-sombre { display: block; }
:root[data-theme="dark"] .v-ecran img.v-clair, :root[data-theme="dark"] .v-loupe img.v-clair { display: none; }
/* séquence de captures (#1176) : les images s'empilent ; au repos seule la dernière se voit, pendant l'animation chacune fond dans la suivante, une fois */
.v-fr { z-index: var(--k); }
.v-ecran .v-fr:not(.v-fin) { position: absolute; left: 0; top: 0; }
.v-ecran .v-fin { position: relative; }
.v-fr:not(.v-fin) { opacity: 0; }
.v-anime .v-fr { opacity: 0; }
.v-anime .v-f0 { opacity: 1; }
.v-joue .v-fr:not(.v-f0) { animation: v-fondu .7s ease-out both; animation-delay: calc(var(--k) * 2s); }
@keyframes v-fondu { from { opacity: 0; } to { opacity: 1; } }
/* la loupe, posée sur l'écran : un verre rond qui grossit en place l'image qui est dessous */
.v-loupe { --m: 2; --d: 120px; --S: 452px; position: absolute; z-index: 2; width: var(--d); height: var(--d); left: calc(var(--fx) * 100% - var(--d) / 2); top: calc(var(--fy) * 100% - var(--d) / 2); cursor: grab; touch-action: none; filter: drop-shadow(0 8px 10px rgba(15, 23, 42, .35)); }
.v-loupe:focus { outline: none; }
.v-loupe:focus .v-manche circle:first-child { stroke-width: 6; }
.v-loupe.v-prise { cursor: grabbing; }
.v-verre { position: absolute; left: 3px; top: 3px; right: 3px; bottom: 3px; overflow: hidden; border-radius: 50%; background: var(--c-surface); }
.v-manche { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; }
.v-loupe.v-manche-gauche .v-manche { transform: scaleX(-1); }
.v-loupe.v-manche-haut .v-manche { transform: scaleY(-1); }
.v-loupe.v-manche-gauche.v-manche-haut .v-manche { transform: scale(-1, -1); }
.v-aide { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.v-ordinateur::after { content: ''; position: absolute; left: -8%; right: -8%; bottom: -16px; height: 16px; border-radius: 2px 2px 16px 16px; background: linear-gradient(#d1d5db, #9ca3af); box-shadow: var(--ombre-2); }
:root[data-theme="dark"] .v-ordinateur::after { background: linear-gradient(#4b5563, #1f2937); }

/* Mini-exercice : le cadre prend la hauteur que la page du cadre lui envoie. */
.v-carte-exercice { padding: 20px 22px; background: var(--c-surface); border: 1px solid var(--c-ligne); border-radius: var(--r-ample); box-shadow: 0 0 0 8px var(--c-accent-doux), var(--ombre-3); }
.v-cadre { position: relative; height: 580px; }
.v-cadre iframe { position: absolute; left: 0; top: 0; width: 100%; height: 100%; border: 0; }
.v-cadre.v-js iframe { opacity: 0; transition: opacity .3s ease; }
.v-cadre.v-js[data-etat="pret"] iframe { opacity: 1; }
@media (min-width: 481px) and (max-width: 899px) { .v-cadre { height: 660px; } }
/* Exemple d'outil de l'accueil (ticket #1668) : sa page seule dans un cadre, assez
   large pour sa disposition d'ordinateur (figure et panneau côte à côte). */
.v-outils .v-tete-section { margin-bottom: 28px; }
.v-outils-liste { margin-bottom: 28px; }
.v-cadre-outil { position: relative; height: 620px; overflow: hidden; background: var(--c-surface); border: 1px solid var(--c-ligne); border-radius: var(--r-ample); box-shadow: 0 0 0 8px var(--c-accent-doux), var(--ombre-3); }
.v-cadre-outil iframe { display: block; width: 100%; height: 100%; border: 0; }
.v-outils .v-appels { margin-top: 28px; }
.v-lien-outils { margin: 0; font-weight: 700; }
@media (max-width: 480px) { .v-cadre-outil { height: 600px; } }
@media (max-width: 480px) { .v-cadre { height: 620px; } }
/* Espace d'attente : les formes du mini-exercice (onglets, figure, question, options), un reflet qui les parcourt. */
.v-attente, .v-attente-texte { display: none; }
.v-js .v-attente { position: absolute; left: 0; top: 0; right: 0; bottom: 0; display: block; overflow: hidden; box-sizing: border-box; padding: 6px 2px 8px; transition: opacity .3s ease; }
.v-js[data-etat="pret"] .v-attente, .v-js[data-etat="echec"] .v-attente { opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s .3s; }
.v-sq-onglets { display: flex; align-items: center; min-height: 52px; margin-bottom: 12px; }
.v-sq-onglets b { flex: none; width: 44px; height: 44px; margin: 0 6px 0 2px; border-radius: 50%; background: var(--c-surface-douce); }
.v-sq-onglets i { flex: none; width: 92px; height: 44px; margin-right: 6px; border-radius: 999px; background: var(--c-surface-douce); }
.v-sq-onglets i:first-of-type { background: var(--c-accent-doux); }
.v-sq-geste { margin: 0 0 8px; }
.v-sq-geste i { display: block; width: 45%; height: 14px; border-radius: 7px; background: var(--c-accent-doux); }
.v-sq-figure { height: 340px; border: 1px solid var(--c-ligne); border-radius: var(--r-moyen); background: var(--c-surface-douce); }
.v-sq-figure svg { display: block; width: 100%; height: 100%; padding: 14px; box-sizing: border-box; fill: none; stroke: var(--c-ligne); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.v-sq-figure path { vector-effect: non-scaling-stroke; }
.v-sq-question { margin: 18px 0 14px; }
.v-sq-question i { display: block; width: 70%; height: 18px; border-radius: 9px; background: var(--c-surface-douce); }
.v-sq-options { display: flex; flex-wrap: wrap; }
.v-sq-options i { flex: 1 1 90px; min-width: 90px; height: 48px; margin: 0 8px 8px 0; border-radius: var(--r-moyen); background: var(--c-surface-douce); }
.v-sq-reflet { position: absolute; top: 0; bottom: 0; left: 0; width: 60%; pointer-events: none; background: linear-gradient(100deg, transparent, var(--c-reflet, rgba(255, 255, 255, .55)), transparent); transform: translateX(-100%); animation: v-reflet 1.8s ease-in-out infinite; will-change: transform; }
:root[data-theme="dark"] .v-sq-reflet { --c-reflet: rgba(255, 255, 255, .07); }
@keyframes v-reflet { to { transform: translateX(260%); } }
.v-js[data-etat="attente"] .v-attente-texte { display: block; position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 0 0 4px; text-align: center; font-size: .9375rem; color: var(--c-encre-douce); }
.v-secours { position: absolute; left: 0; right: 0; top: 40%; z-index: 1; margin: 0; padding: 0 16px; text-align: center; color: var(--c-encre-douce); }
.v-secours[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .v-sq-reflet { animation: none; display: none; } .v-cadre.v-js iframe, .v-attente { transition: none; } }
@media (max-width: 480px) { .v-sq-figure { height: 260px; } }
.v-source { margin: 12px 0 0; font-size: .9375rem; color: var(--c-encre-douce); }


/* Niveaux, en rangées : par niveau, des activités (vignette et titre) qui
   défilent au doigt, calées carte par carte. */
.v-rangee-niveau { margin-top: 36px; }
.v-rangee-tete { display: flex; flex-wrap: wrap; align-items: center; margin-bottom: 12px; }
.v-rangee-tete h3 { margin: 0 14px 0 0; font-size: 1.625rem; letter-spacing: -.015em; }
.v-rangee-tete h3 a { color: inherit; text-decoration: none; }
.v-rangee-tete .v-tout { display: inline-flex; align-items: center; min-height: var(--cible, 44px); margin-left: auto; padding: 0 4px; font-weight: 700; }
.v-defile { display: flex; overflow-x: auto; list-style: none; margin: 0 -8px; padding: 6px 8px 14px; scroll-snap-type: x mandatory; scroll-padding: 0 8px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.v-defile li { flex: none; width: 176px; margin-right: 16px; scroll-snap-align: start; }
.v-act { display: block; color: var(--c-encre); text-decoration: none; }
/* .carte : la vignette s'anime au survol de toute l'activité (vignettes-anime.js), sans le cadre des cartes */
.carte.appui-long { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; -webkit-user-drag: none; }
.v-act.carte, .v-act.carte:hover, .v-act.carte:active { background: none; border: 0; border-radius: 0; box-shadow: none; transform: none; }
.v-act .vignette { display: block; border-radius: 18px; box-shadow: var(--ombre-1); transition: box-shadow .15s, transform .15s; }
.v-act > span:last-child { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 10px; font-size: .9375rem; font-weight: 700; line-height: 1.3; }
@media (hover: hover) { .v-act:hover .vignette { box-shadow: var(--ombre-2); transform: translateY(-3px); } }

/* Rangées : barre native masquée, fondu sur le bord qui déborde, flèches rondes au survol et au clavier (ordinateur). */
.v-defile-cadre { position: relative; }
.v-defile { scrollbar-width: none; }
.v-defile::-webkit-scrollbar { display: none; }
.v-fleche { display: none; }
.v-defile-cadre::before, .v-defile-cadre::after { content: ""; position: absolute; top: 0; bottom: 14px; width: 40px; pointer-events: none; z-index: 1; transition: opacity .2s; }
.v-defile-cadre::before { left: -8px; background: linear-gradient(90deg, var(--c-fond), transparent); }
.v-defile-cadre::after { right: -8px; background: linear-gradient(270deg, var(--c-fond), transparent); }
.v-defile-cadre.v-debut::before, .v-defile-cadre.v-fin::after { opacity: 0; }
.v-defile-cadre.v-court::before, .v-defile-cadre.v-court::after { display: none; }
/* Démonstration guidée (ticket #1479) : un lien en pastille sous les appels de
   l'accueil ; à la première visite, un voile (SVG, site.js) l'éclaire et une
   bulle à flèche le désigne. Le voile laisse passer le doigt. */
.v-demo-ligne { margin: 18px 0 0; }
.v-demo { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px 0 8px; border: 2px solid var(--c-accent); border-radius: 999px; color: var(--c-accent); font-weight: 700; text-decoration: none; }
.v-demo:hover { background: var(--c-accent-doux); }
.v-demo:focus-visible { outline: 3px solid var(--c-corail); outline-offset: 2px; }
.v-demo-icone { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; margin-right: 10px; border-radius: 50%; background: var(--c-accent); color: var(--c-sur-accent); }
[dir="rtl"] .v-demo { padding: 0 8px 0 18px; }
[dir="rtl"] .v-demo-icone { margin-right: 0; margin-left: 10px; }
.v-projecteur { position: fixed; z-index: 60; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; fill: rgba(10, 16, 32, .55); }
.v-demo-bulle { position: fixed; z-index: 61; top: 0; left: 0; box-sizing: border-box; width: min(20rem, calc(100vw - 24px)); padding: 12px 14px 6px; border-radius: var(--r-moyen); background: var(--c-surface); color: var(--c-encre); box-shadow: 0 6px 20px rgba(0, 0, 0, .22); text-align: start; }
.v-demo-bulle[hidden] { display: none; }
.v-demo-bulle p { margin: 0 0 4px; font-size: 1rem; line-height: 1.4; }
.v-demo-fleche { position: absolute; width: 14px; height: 14px; background: var(--c-surface); transform: rotate(45deg); }
.v-demo-bulle[data-cote="dessous"] .v-demo-fleche { top: -7px; }
.v-demo-bulle[data-cote="dessus"] .v-demo-fleche { bottom: -7px; }
.v-demo-tard { display: block; min-height: 44px; margin-left: auto; padding: 0 6px; border: 0; border-radius: var(--r-petit); background: none; color: var(--c-encre-douce); font: inherit; font-size: .9375rem; text-decoration: underline; cursor: pointer; }
[dir="rtl"] .v-demo-tard { margin-left: 0; margin-right: auto; }
.v-demo-tard:focus-visible { outline: 3px solid var(--c-corail); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) {
  .v-fleche { display: flex; align-items: center; justify-content: center; position: absolute; top: 50px; z-index: 2; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--c-accent); color: var(--c-sur-accent); box-shadow: var(--ombre-2); cursor: pointer; opacity: 0; transition: opacity .15s; }
  .v-fleche-g { left: -14px; }
  .v-fleche-d { right: -14px; }
  .v-defile-cadre:hover .v-fleche { opacity: 1; }
  .v-fleche:focus-visible { opacity: 1; }
  .v-defile-cadre.v-debut .v-fleche-g, .v-defile-cadre.v-fin .v-fleche-d, .v-defile-cadre.v-court .v-fleche { display: none !important; }
  .v-fleche:focus-visible { outline: 3px solid var(--c-encre); outline-offset: 2px; }
}

.v-rangee-tete .nombre { flex: none; color: var(--c-encre); background: var(--c-accent-doux); font-weight: 700; font-size: .875rem; padding: 3px 10px; border-radius: 999px; }

/* Enseignants : texte à gauche, l'espace prof dans un ordinateur à droite. */
.v-enseignants { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); grid-gap: 64px; align-items: center; }
.v-fonctions { list-style: none; margin: 28px 0 32px; padding: 0; }
.v-fonctions li { display: flex; align-items: flex-start; margin-top: 18px; color: var(--c-encre-douce); font-size: 1rem; line-height: 1.5; }
.v-fonctions .v-icone { margin: 2px 14px 0 0; color: var(--c-accent); }
.v-fonctions strong { display: block; color: var(--c-encre); font-size: 1.0625rem; }

/* Accueil : bande pleine largeur au fond sarcelle, qui rompt avec les sections claires. */
.v-enseignants-c { --bande: var(--c-accent-fonce); position: relative; padding: 72px 0; color: #fff; background: var(--bande); box-shadow: 0 0 0 100vmax var(--bande); clip-path: inset(0 -100vmax); }
:root[data-theme="dark"] .v-enseignants-c { --bande: #163a42; }
.v-enseignants-c h2 { color: #fff; font-size: 52px; line-height: 1.1; }
.v-enseignants-c .v-paragraphe, .v-enseignants-c .v-fonctions li { color: rgba(255, 255, 255, .85); }
.v-enseignants-c .v-garanties li { color: rgba(255, 255, 255, .85); }
.v-enseignants-c .v-garanties .v-icone { color: #fff; }
.v-enseignants-c .v-fonctions strong { color: #fff; }
.v-enseignants-c .v-fonctions .v-icone { color: #9ee7ec; }
.v-enseignants-c .btn.v-inverse { border-color: #fff; background: #fff; color: #0a3a41; }

/* Pour commencer (page enseignants) : étapes numérotées, une par ligne. */
.v-etapes-compte { counter-reset: etape; display: grid; grid-gap: 14px; max-width: 760px; list-style: none; margin: 0 auto; padding: 0; }
.v-etapes-compte li { display: flex; align-items: flex-start; padding: 20px 24px; background: var(--c-surface); border: 1px solid var(--c-ligne); border-radius: var(--r-grand); box-shadow: var(--ombre-1); color: var(--c-encre-douce); font-size: 1rem; line-height: 1.5; }
.v-num { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin-right: 18px; border-radius: 50%; background: var(--c-accent); color: var(--c-sur-accent); font-size: 1.0625rem; font-weight: 700; }
.v-etapes-compte strong { display: block; margin: 5px 0 4px; color: var(--c-encre); font-size: 1.1875rem; }
.v-rassure { max-width: 760px; margin: 20px auto 0; padding: 16px 24px; border-radius: var(--r-grand); background: var(--c-accent-doux); color: var(--c-encre); font-size: 1rem; line-height: 1.5; }

/* Appel final. */
.v-final { padding: 80px 32px; border-radius: var(--r-section); text-align: center; background: linear-gradient(135deg, var(--c-accent), var(--c-accent-fonce)); color: var(--c-sur-accent); box-shadow: var(--ombre-2); }
.v-final h2 { font-size: 52px; }
.v-final p { margin: 0 auto 32px; max-width: 32em; font-size: 1.25rem; }
.v-final .v-appels { justify-content: center; }
.btn.v-inverse { border-color: var(--c-surface); background: var(--c-surface); color: var(--c-encre); box-shadow: 0 4px 0 rgba(0, 0, 0, .2); }
.btn.v-contour { border-color: currentColor; background: transparent; color: inherit; box-shadow: none; }

@media (max-width: 1000px) {
  /* le socle de l'ordinateur dépasse de 8 % de chaque côté : il tient dans la colonne */
  .v-duo { width: 86%; max-width: 560px; }
  .v-une h1 { font-size: 64px; }
  .v-une-c, .v-rangee, .v-enseignants { grid-template-columns: 1fr; grid-gap: 40px; }
  .v-enseignants-c { padding: 56px 0; }
  .v-inverse-ordre .v-texte { order: 0; }
  .v-section { margin-top: 96px; }
  .v-texte h2, .v-tete-section h2, .v-enseignants-c h2 { font-size: 36px; }
}
@media (max-width: 600px) {
  .v-une h1 { font-size: 44px; }
  .v-chapeau { font-size: 1.1875rem; margin-bottom: 28px; }
  .v-appels .btn { width: 100%; }
  .v-fenetre-corps { padding: 10px; }
  .v-fenetre-tete { padding: 10px 14px; font-size: .875rem; }
  .v-points { display: none; }
  .v-lecture-val { font-size: 1.375rem; }
  .fig-repere text { font-size: 22px; }
  .v-section { margin-top: 72px; }
  .v-texte h2, .v-tete-section h2, .v-final h2, .v-enseignants-c h2 { font-size: 1.875rem; }
  .v-etapes-compte li { padding: 16px; }
  .v-num { margin-right: 14px; }
  .v-paragraphe { font-size: 1.0625rem; }
  .v-tablette { padding: 8px; border-radius: 22px; }
  .v-tablette .v-ecran { border-radius: 14px; }
  .v-telephone { max-width: 230px; }
  /* au téléphone, l'écran est plus petit : la loupe grossit davantage (texte de 12 px au moins) */
  .v-duo { width: 92%; }
  .v-loupe { --m: 2.5; --d: 84px; }
  .v-carte-exercice { padding: 12px; }
  .v-defile li { width: 148px; margin-right: 12px; }
  .v-final { padding: 48px 20px; }
}
@media (prefers-reduced-motion: reduce) {
}
