/* ===================================================================
   Silex · version E — couche ajoutée après silex-d.css (accueil) ou silex-c.css (démonstration).
   La promesse (.pm), Comment ça fonctionne en un seul écran (.xone), fiches et capsules en
   quatre onglets (.xnb), aide aux devoirs en trois temps (.dev3).
   =================================================================== */
/* --- La promesse : ce que Silex fait concrètement --- */
.pm {
  display: flex;
  flex-direction: column;
}
.pm > p {
  flex: 1;
}
.pm ul.pr {
  list-style: none;
  margin: 20px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
  display: flex !important;
  flex-direction: column;
  gap: 9px;
}
.pm ul.pr li {
  display: flex !important;
  flex-direction: row;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--ink);
  padding: 0;
  margin: 0;
}
.pm ul.pr li span {
  flex: 1;
  min-width: 0;
}
.pm ul.pr li svg {
  flex: none;
}
.pm .pr svg,
.dev3 + p svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--acc);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-top: 2px;
}
.dev3 img {
  display: block;
  width: 100%;
  height: auto;
}
/* --- Vidéos et fiches, sur fond alterné --- */
.xer.s--alt {
  border-top: 0;
}
.s--alt .xer__fi {
  background: #fff;
}
.xer__more {
  text-align: center;
  margin-top: 44px;
}
/* --- Aide aux devoirs en trois temps --- */
#aide-aux-devoirs .sp {
  grid-template-columns: 0.78fr 1.22fr;
}
.dev3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: start;
}
.dev3 figure {
  margin: 0;
  text-align: center;
}
.dev3 figcaption {
  margin-top: 12px;
  font-size: 0.78rem;
  color: var(--sec);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.dev3 figure:nth-child(2) {
  transform: translateY(18px);
}
@media (max-width: 1100px) {
  #aide-aux-devoirs .sp {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .dev3 {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 74%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
  }
  .dev3 figure {
    scroll-snap-align: start;
  }
  .dev3 figure:nth-child(2) {
    transform: none;
  }
}
/* --- capsules complètes dans la démonstration --- */
.tab--vid video {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 10px;
  background: #fff;
}
.tab--vid video::cue {
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.95rem;
  background: rgba(10, 30, 36, 0.82);
  color: #fff;
}

/* ===================================================================
   Héros « La plongée » (.ha) — remplace le héros de la version D (.hc).
   Une colonne : pastille, titre noir, promesse en cyan, tablette qui joue le film de bienvenue
   (E4 : il remplace les extraits FR / MA et leur bascule), puis les boutons sous la tablette.
   =================================================================== */
.ha {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #eaf6fb 0%, #fff 70%);
  padding-top: 56px;
}
.ha .tex {
  opacity: 0.05;
}
.ha__tx {
  position: relative;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 14px;
}
.ha__pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--sec);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
}
.ha h1 {
  margin: 0;
  font-size: clamp(2.05rem, 3.3vw, 2.85rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 800;
  color: var(--ink);
  text-wrap: balance;
}
.ha__sub {
  margin: 2px 0 0;
  max-width: 60ch;
  font-size: 1.12rem;
  line-height: 1.5;
  font-weight: 500;
  color: var(--acc-btn);
}
.ha__dev {
  position: relative;
  max-width: 760px;
  margin: 30px auto 0;
  padding-bottom: 16px;
  perspective: 1600px;
}
.ha__ipad {
  transform-origin: 50% 0;
  transform: rotateX(var(--rx, 20deg));
  transition: transform 0.1s linear;
}
.ha__tab {
  position: relative;
  background: #1e2126;
  border-radius: 30px;
  padding: 14px;
  box-shadow:
    0 40px 80px -30px rgba(10, 58, 69, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}
.ha__tab video {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 18px;
  background: #fff;
}
/* sous-titres du héros : en HTML, à la place exacte des anciens sous-titres incrustés ; leur taille suit la tablette, avec un plancher lisible */
.ha__tab {
  container-type: inline-size;
}
.xcc {
  position: absolute;
  left: 5%;
  right: 5%;
  bottom: calc(14px + 2.2cqw);
  z-index: 2;
  margin: 0;
  text-align: center;
  white-space: pre-line;
  text-wrap: balance;
  font-weight: 600;
  font-size: clamp(13px, 2.7cqw, 21px);
  line-height: 1.25;
  letter-spacing: -0.005em;
  color: #161414;
  text-shadow:
    0 0 8px #fff,
    0 0 2px #fff;
  pointer-events: none;
}
.xcc:empty {
  display: none;
}
.ha__cta {
  position: relative;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 16px;
  padding: 26px 0 56px;
}
.ha__btns {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.ha__lk {
  color: var(--acc-btn);
  font-weight: 600;
  text-decoration: none;
}
.ha__lk:hover {
  text-decoration: underline;
}
.ha__note {
  margin: 0;
  font-size: 0.86rem;
  color: var(--sec);
}

/* ===================================================================
   Lecteur de capsule ([data-cap]) — héros et démonstration.
   Sans le son : la capsule défile ×1,15, sous-titrée. « Écouter » la reprend au début, avec la voix, ×1.
   =================================================================== */
[data-cap] {
  position: relative;
}
.xsnd {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  position: absolute;
  right: 26px;
  bottom: 26px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 18, 21, 0.82);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1;
  padding: 8px 13px 8px 10px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: background 0.2s;
}
.xsnd:hover {
  background: rgba(15, 18, 21, 0.92);
}
.xsnd svg {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.xsnd svg path:first-child {
  fill: #fff;
}
.xsnd .on {
  display: none;
}
.xsnd[aria-pressed='true'] .on {
  display: inline;
}
.xsnd[aria-pressed='true'] .off {
  display: none;
}
.xsnd:focus-visible {
  outline: 2px solid var(--acc2);
  outline-offset: 3px;
}
/* capsule complète : une fois la voix activée, les contrôles natifs prennent le relais */
[data-cap='complete'] .xsnd {
  right: 22px;
  bottom: 22px;
}
[data-cap='complete'] .xsnd[aria-pressed='true'] {
  display: none;
}
.tab--vid {
  position: relative;
}

/* menu : les liens restent groupés à droite, près des boutons */
.nv__l {
  margin-left: auto;
}

@media (max-width: 640px) {
  .ha {
    padding-top: 40px;
  }
  .ha h1 {
    font-size: clamp(1.7rem, 7.7vw, 1.9rem);
    line-height: 1.1;
  }
  .ha__sub {
    font-size: 1rem;
  }
  /* titres propres à l'accueil et à la démonstration, alignés sur l'échelle mobile (silex-v3.css) */
  .mc blockquote p {
    font-size: clamp(1.45rem, 6.6vw, 1.65rem);
    line-height: 1.14;
  }
  .xer__fi h3 {
    font-size: 1.18rem;
  }
  .ha__pill {
    font-size: 0.76rem;
  }
  .ha__dev {
    margin-top: 26px;
  }
  .ha__tab {
    padding: 8px;
    border-radius: 20px;
  }
  .xcc {
    bottom: calc(8px + 2.2cqw);
    left: 3%;
    right: 3%;
  }
  /* le bouton monte en haut à droite : le bas est aux sous-titres */
  .ha__tab .xsnd {
    top: 14px;
    bottom: auto;
    right: 14px;
  }
  .ha__tab video {
    border-radius: 12px;
  }
  .ha__cta {
    padding-bottom: 44px;
  }
  .xsnd {
    right: 14px;
    bottom: 14px;
    padding: 6px 10px 6px 8px;
    font-size: 0.74rem;
  }
  /* sur mobile, les sous-titres occupent le bas : le bouton monte en haut à droite */
  [data-cap='complete'] .xsnd {
    right: 10px;
    top: 10px;
    bottom: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ha__ipad {
    transition: none;
    transform: none;
  }
}

/* ===================================================================
   Version E3 — écrans synthétiques, dessinés en HTML avec les composants de l'appli
   (pastilles « Acquis » / « À revoir », écriture au stylet, encadré « Ici », fiche, piège).
   Remplacent les captures réelles, illisibles à cette taille. À remplacer par de vraies captures
   quand ces exercices existeront dans l'appli.
   « À revoir » prend l'ardoise, jamais le rouge (règle de l'appli) ; le rouge reste à la correction.
   =================================================================== */
.xone,
.xnb {
  --x-err: #d64545;
  --x-err-bg: #fdeeee;
  --x-stylo: #1d3f6e;
  --x-main: Caveat, 'Segoe Print', 'Bradley Hand', cursive;
}
.xk {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sec);
}
.xk svg {
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.xk--acc {
  color: var(--acc-btn);
}
.xmk {
  display: inline-grid;
  place-items: center;
  width: 1.4em;
  height: 1.4em;
  border-radius: 50%;
  font-style: normal;
  font-weight: 800;
  font-size: 0.8em;
  flex: none;
}
.xmk svg {
  width: 0.95em;
  height: 0.95em;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.xmk--ok {
  background: var(--tint);
  color: var(--acc-btn);
}
.xmk--ko {
  background: var(--x-err-bg);
  color: var(--x-err);
}
.xmk--todo {
  border: 0.12em solid var(--sec);
  width: 1.15em;
  height: 1.15em;
}

/* ---------- Accueil · Comment ça fonctionne : les quatre temps, un seul écran ---------- */
.xone {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.xone__l {
  display: grid;
  gap: 8px;
}
.xone__t {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3px 14px;
  width: 100%;
  text-align: left;
  padding: 15px 18px;
  border-radius: var(--r);
  border: 1px solid transparent;
  background: transparent;
  color: var(--body);
  transition:
    background 0.25s,
    border-color 0.25s,
    box-shadow 0.25s;
}
.xone__t:hover {
  background: var(--bg2);
}
.xone__n {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--sec);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  transition: background 0.25s;
}
.xone__t b {
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  padding-top: 3px;
}
.xone__d {
  font-size: 0.9rem;
  line-height: 1.5;
}
.xone__t[aria-selected='true'] {
  background: #fff;
  border-color: var(--line);
  box-shadow: 0 14px 34px -22px rgba(10, 58, 69, 0.5);
}
.xone__t[aria-selected='true'] .xone__n {
  background: var(--acc-btn);
}
.xone__t:focus-visible,
.xnb__t:focus-visible,
.xsc__cap:focus-visible {
  outline: 2px solid var(--acc);
  outline-offset: 2px;
}
.xone__p:focus-visible,
.xnb__p:focus-visible {
  outline: 2px solid var(--acc2);
  outline-offset: -2px;
}
.xone__dev {
  background: #22252a;
  border-radius: 28px;
  padding: 12px;
  box-shadow:
    0 34px 60px -30px rgba(10, 58, 69, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}
/* l'écran : 16/11, tout est en em, et l'em suit la largeur de l'écran */
.xone__scr {
  position: relative;
  display: grid;
  container-type: inline-size;
  aspect-ratio: 16/11;
  background: #fff;
  border-radius: 17px;
  overflow: hidden;
}
.xone__p {
  grid-area: 1/1;
  position: relative;
  min-height: 0;
  transition:
    opacity 0.35s ease,
    visibility 0.35s;
}
.xone__p[hidden],
.xnb__p[hidden] {
  display: grid;
  opacity: 0;
  visibility: hidden;
}
.xone__p:not([hidden]),
.xnb__p:not([hidden]) {
  display: grid;
}

/* composants de l'écran */
.xsc {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.7em;
  padding: 1em 1.2em;
  font-size: clamp(12px, 3.3cqw, 19px);
  line-height: 1.3;
  color: var(--ink);
}
.xsc__bar {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.6em;
  padding-bottom: 0.55em;
  border-bottom: 1px solid var(--line);
}
.xsc__bar b {
  font-size: 1em;
}
.xsc__bar span {
  font-size: 0.8em;
  color: var(--sec);
}
.xsc__h {
  font-size: 1.42em;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.xsc__rows {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45em;
}
.xsc__rows li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6em;
  padding: 0.5em 0.7em;
  border: 1px solid var(--line);
  border-radius: 0.6em;
  font-weight: 600;
  font-size: 0.95em;
}
.xsc__rows li > span {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  min-width: 0;
}
.xsc__rows small {
  font-weight: 500;
  color: var(--sec);
  font-size: 0.8em;
}
.xsc__rows li.xsc__two {
  display: grid;
  gap: 0.2em;
  justify-content: stretch;
}
.xsc__rows li.xsc__two small {
  padding-left: 2.1em;
}
.xpill {
  font-style: normal;
  font-size: 0.76em;
  font-weight: 700;
  padding: 0.28em 0.65em;
  border-radius: 999px;
  white-space: nowrap;
}
.xpill--ok {
  background: var(--tint);
  color: var(--acc-btn);
}
.xpill--rev {
  background: #e7edf2;
  color: var(--ardoise);
}
.xpill--mid {
  background: var(--line2);
  color: var(--body);
}
.xsc__sp {
  flex: 1;
}
.xsc__btn {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--acc-btn);
  color: #fff;
  font-weight: 700;
  border-radius: 0.6em;
  padding: 0.62em 0.9em;
  font-size: 0.92em;
}
.xsc__ln {
  display: flex;
  align-items: center;
  gap: 0.6em;
  margin-top: 0.2em;
}
.xsc__hand {
  font-family: var(--x-main);
  font-weight: 600;
  color: var(--x-stylo);
  font-size: 2.2em;
  line-height: 1;
}
.xsc__hand sup {
  font-size: 0.6em;
}
.xsc__note {
  font-family: var(--x-main);
  font-weight: 600;
  color: var(--x-err);
  font-size: 1.6em;
  line-height: 1.05;
  margin-top: -0.2em;
}
.xsc__ici {
  background: var(--x-err-bg);
  border-left: 0.22em solid var(--x-err);
  border-radius: 0.5em;
  padding: 0.55em 0.75em;
  font-size: 0.86em;
  line-height: 1.4;
  color: var(--ink);
}
.xsc__ici b {
  color: var(--x-err);
  margin-right: 0.25em;
}
.xsc__cap {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  align-self: flex-start;
  font-size: 0.84em;
  font-weight: 700;
  color: var(--acc-btn);
  background: var(--tint);
  border-radius: 999px;
  padding: 0.4em 0.85em 0.4em 0.45em;
  cursor: pointer;
}
.xsc__cap i {
  display: inline-grid;
  place-items: center;
  width: 1.6em;
  height: 1.6em;
  border-radius: 50%;
  background: var(--acc-btn);
}
.xsc__cap svg {
  width: 0.8em;
  height: 0.8em;
  fill: #fff;
  margin-left: 0.1em;
}
.xsc__cap:hover {
  background: var(--tint2);
}

/* la capsule, proposée après la correction : elle monte par-dessus l'écran */
.xone__cap {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  background: #fff;
  transform: translateY(102%);
  visibility: hidden;
  box-shadow: 0 -18px 40px -18px rgba(10, 58, 69, 0.35);
  transition:
    transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1),
    visibility 0s 0.75s;
}
.xone__cap.is-up {
  transform: none;
  visibility: visible;
  transition:
    transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1),
    visibility 0s;
}
.xone__caph {
  flex: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.6em;
  padding: 0.75em 1.2em 0.6em;
  border-bottom: 1px solid var(--line);
  font-size: clamp(12px, 3cqw, 17px);
  color: var(--ink);
}
.xone__caph span {
  font-size: 0.78em;
  color: var(--sec);
}
.xone__cap .xvid {
  flex: 1;
  min-height: 0;
  display: grid;
  align-items: center;
}
.xone__cap video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* lecteur compact (accueil et démonstration) : sous-titres en HTML, « Écouter » en haut à droite */
.xvid {
  position: relative;
  container-type: inline-size;
  background: #fff;
}
.xvid video {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  background: #fff;
}
.xvid .xcc {
  bottom: calc(4px + 2.4cqw);
  font-size: clamp(13px, 3cqw, 18px);
  left: 4%;
  right: 4%;
}
.xvid video[controls] ~ .xcc {
  bottom: 58px;
}
.xvid .xsnd {
  top: 10px;
  right: 10px;
  bottom: auto;
  padding: 6px 11px 6px 9px;
  font-size: 0.76rem;
}
.xvid .xsnd svg {
  width: 16px;
  height: 16px;
}

/* ---------- Démonstration · Fiches et capsules : une notion, quatre onglets ---------- */
.xnb {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 60px -36px rgba(10, 58, 69, 0.45);
}
.xnb__l {
  padding: 30px;
  display: grid;
  gap: 12px;
  align-content: start;
  border-right: 1px solid var(--line);
}
.xnb__h {
  margin: 0 0 6px;
  font-size: 1.4rem;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.xnb__tabs {
  display: grid;
  gap: 6px;
}
.xnb__t {
  display: grid;
  gap: 3px;
  width: 100%;
  text-align: left;
  padding: 12px 15px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--body);
  transition:
    background 0.25s,
    border-color 0.25s;
}
.xnb__t:hover {
  background: var(--line2);
}
.xnb__t b {
  color: var(--ink);
  font-size: 0.98rem;
}
.xnb__t span {
  font-size: 0.86rem;
  line-height: 1.45;
}
.xnb__t[aria-selected='true'] {
  background: var(--bg2);
  border-color: var(--tint2);
}
.xnb__t[aria-selected='true'] b {
  color: var(--acc-btn);
}
.xnb__r {
  background: var(--bg2);
  padding: 30px;
  display: grid;
  align-items: center;
}
.xnb__p {
  grid-area: 1/1;
  justify-items: center;
  align-content: center;
  transition:
    opacity 0.35s ease,
    visibility 0.35s;
}
.xob {
  width: 100%;
  max-width: 480px;
  background: #fff;
  border: 1px solid var(--tint2);
  border-radius: 16px;
  padding: 20px;
  display: grid;
  gap: 10px;
  align-content: start;
  color: var(--ink);
  box-shadow: 0 16px 36px -26px rgba(10, 58, 69, 0.5);
}
.xob--cap {
  max-width: 600px;
  padding: 14px 14px 16px;
}
.xob--cap .xob__top,
.xob--cap .xob__s {
  padding-inline: 6px;
}
.xob__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.xob__m {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  color: var(--sec);
  font-variant-numeric: tabular-nums;
}
.xob__m svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.xob__t {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.xob__idee {
  margin: 0;
  padding-left: 12px;
  border-left: 3px solid var(--acc);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.45;
}
.xob__f {
  margin: 4px 0 0;
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--line2);
}
.xob__f span,
.xob__math {
  font-family: 'Times New Roman', Georgia, serif;
  font-size: 1.7rem;
  line-height: 1;
}
.xob__f small {
  font-size: 0.84rem;
  color: var(--sec);
}
.xob__q {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
}
.xob__s {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--body);
}
.xob__pg,
.xob__lv {
  display: grid;
  gap: 8px;
}
.xob__r {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-weight: 600;
}
.xob__r small {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--sec);
  white-space: nowrap;
}
.xob__r small svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.xob__math {
  font-size: 1.4rem;
}
.xob__r--rev {
  background: #eef2f5;
  border-color: #dfe6ec;
}
.xob__r--rev small {
  color: var(--ardoise);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.xob__r--ok {
  background: var(--tint);
  border-color: var(--tint2);
}
.xob__r--ok small {
  color: var(--acc-btn);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.xob__r.is-lock {
  color: var(--sec);
  background: var(--line2);
  border-style: dashed;
}
.xob--cap .xvid {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
}

@media (max-width: 980px) {
  .xone,
  .xnb {
    grid-template-columns: 1fr;
  }
  .xone__s {
    order: -1;
  }
  .xnb__l {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}
@media (max-width: 640px) {
  .xone {
    gap: 22px;
  }
  .xone__dev {
    border-radius: 20px;
    padding: 8px;
  }
  .xone__scr {
    border-radius: 13px;
  }
  .xone__t {
    padding: 12px 14px;
    gap: 2px 12px;
  }
  .xone__t b {
    font-size: 0.98rem;
  }
  .xone__d {
    font-size: 0.86rem;
  }
  .xnb {
    border-radius: 20px;
  }
  .xnb__l,
  .xnb__r {
    padding: 18px;
  }
  .xob {
    padding: 16px;
  }
  .xob--cap {
    padding: 10px 10px 14px;
  }
  .xvid .xsnd {
    top: 8px;
    right: 8px;
  }
}
/* sur téléphone, l'écran s'allonge pour que la dernière ligne ne soit jamais coupée */
@media (max-width: 440px) {
  .xone__scr {
    aspect-ratio: 4/3;
  }
}
@media (max-width: 360px) {
  .xone__scr {
    aspect-ratio: 1/1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .xone__p,
  .xnb__p,
  .xone__cap,
  .xone__cap.is-up,
  .xone__t,
  .xnb__t {
    transition: none;
  }
}
