/* =============================================================================
   Cyberviolences — comprendre, dialoguer, agir
   Feuille de style unique. Typographie Marianne (État français).
   Plan : 1 fontes · 2 jetons · 3 base · 4 mise en page · 5 en-tête/pied
          6 composants · 7 accueil · 8 diaporama · 9 dictionnaire · 10 fiche
          11 ressources · 12 responsive · 13 impression · 14 mouvement réduit
   ========================================================================== */

/* 1. Fontes ---------------------------------------------------------------- */
@font-face {
  font-family: "Marianne";
  src: url("../fonts/Marianne-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Marianne";
  src: url("../fonts/Marianne-RegularItalic.otf") format("opentype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Marianne";
  src: url("../fonts/Marianne-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Marianne";
  src: url("../fonts/Marianne-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Marianne";
  src: url("../fonts/Marianne-ExtraBold.otf") format("opentype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* 2. Jetons ---------------------------------------------------------------- */
:root {
  --bleu: #000091;
  --bleu-nuit: #14143c;
  --bleu-tint: #e8e8fb;
  --bleu-tint-2: #f2f2fd;
  --rouge: #b3141c;
  --rouge-vif: #e1000f;
  --rouge-tint: #fdeceb;
  --violet: #63419b;
  --violet-tint: #efe9f8;
  --jaune: #f9c846;
  --jaune-tint: #fdf3d4;
  --menthe: #2f8f68;
  --menthe-tint: #e4f5ed;
  --encre: #161616;
  --texte: #2b2b2b;
  --gris: #66666e;
  --gris-clair: #8d8d96;
  --bord: #e2dfd5;
  --bord-fort: #cfcabd;
  --papier: #fbfaf7;
  --papier-2: #f5f3ec;
  --blanc: #ffffff;

  --ombre-1: 0 1px 2px rgb(22 22 22 / 4%), 0 4px 14px rgb(22 22 22 / 5%);
  --ombre-2: 0 2px 4px rgb(22 22 22 / 5%), 0 14px 38px rgb(22 22 22 / 9%);
  --ombre-3: 0 24px 60px rgb(20 20 60 / 16%);

  --r-s: 8px;
  --r-m: 14px;
  --r-l: 22px;
  --r-xl: 30px;

  --maxw: 1180px;
  --gouttiere: clamp(18px, 5vw, 48px);
  --entete: 74px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* 3. Base ------------------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--entete) + 16px);
}

body {
  margin: 0;
  background: var(--papier);
  color: var(--texte);
  font-family: "Marianne", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: clamp(16px, 1.05vw + 12px, 18px);
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4 {
  font-weight: 800;
  color: var(--encre);
  line-height: 1.08;
  letter-spacing: -0.022em;
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.15rem, 5.2vw, 4.15rem);
}
h2 {
  font-size: clamp(1.65rem, 3.1vw, 2.6rem);
}
h3 {
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  letter-spacing: -0.012em;
  line-height: 1.2;
}

p {
  margin: 0 0 1em;
  text-wrap: pretty;
}
p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--bleu);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover {
  text-decoration-thickness: 2px;
}

strong {
  font-weight: 700;
  color: var(--encre);
}

ul,
ol {
  margin: 0 0 1em;
  padding-left: 1.15em;
}
li {
  margin: 0.35em 0;
}

img,
svg {
  max-width: 100%;
  display: block;
}

:focus-visible {
  outline: 3px solid var(--bleu);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--jaune);
  color: var(--encre);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.saut-contenu {
  position: absolute;
  left: 50%;
  top: -60px;
  transform: translateX(-50%);
  z-index: 200;
  background: var(--bleu);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 var(--r-s) var(--r-s);
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}
.saut-contenu:focus {
  top: 0;
  color: #fff;
}

/* 4. Mise en page ---------------------------------------------------------- */
.enveloppe {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gouttiere);
}

.section {
  padding-block: clamp(56px, 8vw, 108px);
}
.section--serre {
  padding-block: clamp(40px, 5vw, 68px);
}
.section--papier {
  background: var(--papier-2);
}
.section--nuit {
  background: var(--bleu-nuit);
  color: #e9e9f4;
}
.section--nuit h2,
.section--nuit h3 {
  color: #fff;
}

.titre-section {
  max-width: 62ch;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.titre-section p {
  margin-top: 14px;
  color: var(--gris);
  font-size: 1.06em;
}
.section--nuit .titre-section p {
  color: #b9b9d0;
}

.surtitre {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bleu);
  margin-bottom: 18px;
}
.surtitre::before {
  content: "";
  width: 26px;
  height: 2px;
  background: currentColor;
}
.section--nuit .surtitre {
  color: var(--jaune);
}

.grille {
  display: grid;
  gap: clamp(16px, 2vw, 26px);
}
.grille--2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
}
.grille--3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
}
.grille--4 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
}

/* 5. En-tête et pied ------------------------------------------------------- */
.entete {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--entete);
  display: flex;
  align-items: center;
  background: rgb(255 255 255 / 88%);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--bord);
}
.entete__inner {
  display: flex;
  align-items: center;
  gap: 22px;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gouttiere);
}

.marque {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--encre);
  margin-right: auto;
  flex-shrink: 0;
}
.marque__logo {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}
.marque__texte {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.marque__nom {
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
}
.marque__sous {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gris);
  margin-top: 3px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__lien {
  position: relative;
  padding: 9px 13px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--texte);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}
.nav__lien:hover {
  background: var(--bleu-tint-2);
  color: var(--bleu);
}
.nav__lien[aria-current="page"] {
  background: var(--bleu);
  color: #fff;
  font-weight: 700;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--bord-fort);
  background: #fff;
  border-radius: 12px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.burger span,
.burger span::before,
.burger span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--encre);
  position: relative;
  transition: transform 0.2s var(--ease), opacity 0.2s;
}
.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
}
.burger span::before {
  top: -6px;
}
.burger span::after {
  top: 6px;
}

.pied {
  background: var(--bleu-nuit);
  color: #c8c8dc;
  padding-block: clamp(44px, 6vw, 72px) 28px;
  font-size: 0.92rem;
}
.pied a {
  color: #fff;
  text-decoration-color: rgb(255 255 255 / 35%);
}
.pied__grille {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  padding-bottom: 34px;
  border-bottom: 1px solid rgb(255 255 255 / 12%);
}
.pied h3 {
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 14px;
}
.pied ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pied li {
  margin: 0.5em 0;
}
.pied__bas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.82rem;
  color: #9a9ab8;
}
.pied__fin {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}

/* 6. Composants ------------------------------------------------------------ */
.btn {
  --btn-bg: var(--bleu);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: inherit;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease),
    background 0.18s var(--ease);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgb(0 0 145 / 22%);
  color: var(--btn-fg);
}
.btn:active {
  transform: translateY(0);
}
.btn--fantome {
  --btn-bg: transparent;
  --btn-fg: var(--encre);
  border-color: var(--bord-fort);
}
.btn--fantome:hover {
  --btn-bg: #fff;
  --btn-fg: var(--bleu);
  box-shadow: var(--ombre-1);
}
.btn--petit {
  padding: 8px 15px;
  font-size: 0.84rem;
}
.btn--rouge {
  --btn-bg: var(--rouge);
}

.pastille {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px 5px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: var(--bleu-tint);
  color: var(--bleu);
  border: 1px solid rgb(0 0 145 / 12%);
}
.pastille::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.pastille--rouge {
  background: var(--rouge-tint);
  color: var(--rouge);
  border-color: rgb(179 20 28 / 14%);
}
.pastille--violet {
  background: var(--violet-tint);
  color: var(--violet);
  border-color: rgb(99 65 155 / 14%);
}
.pastille--menthe {
  background: var(--menthe-tint);
  color: var(--menthe);
  border-color: rgb(47 143 104 / 16%);
}
.pastille--jaune {
  background: var(--jaune-tint);
  color: #8a6100;
  border-color: rgb(138 97 0 / 16%);
}

.carte {
  background: #fff;
  border: 1px solid var(--bord);
  border-radius: var(--r-l);
  padding: clamp(20px, 2.4vw, 30px);
  box-shadow: var(--ombre-1);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    border-color 0.25s var(--ease);
}
.carte--liee:hover {
  transform: translateY(-4px);
  box-shadow: var(--ombre-2);
  border-color: var(--bord-fort);
}

/* Apparition au défilement */
.js .revele {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: var(--delai, 0ms);
}
.js .revele.est-visible {
  opacity: 1;
  transform: none;
}

/* 7. Accueil --------------------------------------------------------------- */
.heros {
  position: relative;
  overflow: hidden;
  padding-block: clamp(52px, 8vw, 92px) clamp(64px, 9vw, 112px);
  background: linear-gradient(180deg, #fffdf8 0%, var(--papier) 58%, #f7f5ee 100%);
}
.heros::before,
.heros::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(58px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}
.heros::before {
  width: 46vw;
  height: 46vw;
  right: -12vw;
  top: -16vw;
  background: radial-gradient(circle, #ffe9a8 0%, rgb(255 233 168 / 0%) 68%);
}
.heros::after {
  width: 40vw;
  height: 40vw;
  left: -14vw;
  bottom: -16vw;
  background: radial-gradient(circle, #cfe6ff 0%, rgb(207 230 255 / 0%) 68%);
}
.heros__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.heros h1 {
  margin-bottom: 22px;
}
.heros h1 em {
  font-style: normal;
  position: relative;
  white-space: nowrap;
}
.heros h1 em::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: 0.06em;
  height: 0.34em;
  background: var(--jaune);
  z-index: -1;
  border-radius: 3px;
  transform: scaleX(0);
  transform-origin: left;
  animation: surligne 0.9s var(--ease-out) 0.35s forwards;
}
@keyframes surligne {
  to {
    transform: scaleX(1);
  }
}
.heros__chapo {
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  color: #41414a;
  max-width: 54ch;
  margin-bottom: 30px;
}
.heros__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.heros__note {
  margin-top: 26px;
  font-size: 0.84rem;
  color: var(--gris);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.heros__note span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

/* Composition de chiffres */
.chiffres-heros {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 8px;
}
.chiffre-carte {
  background: #fff;
  border: 1px solid var(--bord);
  border-radius: var(--r-l);
  padding: 20px 22px;
  box-shadow: var(--ombre-2);
  display: flex;
  align-items: center;
  gap: 18px;
  transform: rotate(var(--rot, 0deg));
  animation: flotte 7s ease-in-out infinite;
  animation-delay: var(--att, 0s);
}
.chiffre-carte:nth-child(1) {
  --rot: -1.1deg;
  margin-right: 34px;
}
.chiffre-carte:nth-child(2) {
  --rot: 0.9deg;
  margin-left: 30px;
  --att: 0.6s;
}
.chiffre-carte:nth-child(3) {
  --rot: -0.6deg;
  margin-right: 18px;
  --att: 1.2s;
}
@keyframes flotte {
  0%,
  100% {
    transform: rotate(var(--rot, 0deg)) translateY(0);
  }
  50% {
    transform: rotate(var(--rot, 0deg)) translateY(-6px);
  }
}
.chiffre-carte__valeur {
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--bleu);
  flex-shrink: 0;
  min-width: 3.2ch;
}
.chiffre-carte__texte {
  font-size: 0.88rem;
  line-height: 1.35;
  color: var(--texte);
}
.chiffre-carte__texte small {
  display: block;
  color: var(--gris);
  font-size: 0.76rem;
  margin-top: 3px;
}
.chiffre-carte--rouge .chiffre-carte__valeur {
  color: var(--rouge);
}

/* Bandeau d'alerte / repère */
.bandeau {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 26px;
  padding: clamp(18px, 2.4vw, 26px) clamp(20px, 3vw, 34px);
  border-radius: var(--r-l);
  background: var(--bleu);
  color: #fff;
  box-shadow: var(--ombre-2);
}
.bandeau__titre {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: #fff;
}
.bandeau__texte {
  font-size: 0.92rem;
  color: #d9d9f2;
  max-width: 56ch;
}
.bandeau__actions {
  margin-left: auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.bandeau .btn--fantome {
  --btn-fg: #fff;
  border-color: rgb(255 255 255 / 34%);
}
.bandeau .btn--fantome:hover {
  --btn-bg: rgb(255 255 255 / 12%);
  --btn-fg: #fff;
}
.bandeau--jaune {
  background: var(--jaune);
  color: var(--encre);
}
.bandeau--jaune .bandeau__titre {
  color: var(--encre);
}
.bandeau--jaune .bandeau__texte {
  color: #4a3800;
}
.bandeau--jaune .btn--fantome {
  --btn-fg: var(--encre);
  border-color: rgb(22 22 22 / 22%);
}
.bandeau--jaune .btn--fantome:hover {
  --btn-bg: rgb(255 255 255 / 30%);
  --btn-fg: var(--encre);
}

/* Deux grandes portes */
.portes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(18px, 2.4vw, 28px);
}
.porte {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3.4vw, 42px);
  border-radius: var(--r-xl);
  border: 1px solid var(--bord);
  background: #fff;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  min-height: 260px;
}
.porte::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -110px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: var(--porte-fond, var(--bleu-tint));
  opacity: 0.6;
  transition: transform 0.45s var(--ease);
}
.porte:hover {
  transform: translateY(-5px);
  box-shadow: var(--ombre-3);
}
.porte:hover::after {
  transform: scale(1.25);
}
.porte--dico {
  --porte-fond: var(--violet-tint);
}
.porte__num {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gris);
}
.porte h3 {
  font-size: clamp(1.4rem, 2.3vw, 1.85rem);
  margin: 12px 0 10px;
  max-width: 18ch;
  position: relative;
  z-index: 1;
}
.porte p {
  color: var(--gris);
  font-size: 0.95rem;
  max-width: 40ch;
  position: relative;
  z-index: 1;
}
.porte__pied {
  margin-top: auto;
  padding-top: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--bleu);
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
}
.porte__pied svg {
  transition: transform 0.25s var(--ease);
}
.porte:hover .porte__pied svg {
  transform: translateX(5px);
}

/* Arguments numérotés */
.argument {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.argument__num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--bleu-tint);
  color: var(--bleu);
  font-weight: 800;
  font-size: 0.95rem;
}
.argument h3 {
  margin-bottom: 8px;
}
.argument p {
  font-size: 0.95rem;
  color: #45454e;
}

/* 8. Diaporama ------------------------------------------------------------- */
.deck {
  --deck-fond: #12122e;
  background: var(--deck-fond);
  min-height: 100vh;
  padding: calc(var(--entete) + 18px) 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.deck__barre {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  color: #cfcfe6;
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
  font-size: 0.84rem;
}
.deck__compteur {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
}
.deck__chapitre {
  padding: 4px 11px;
  border-radius: 999px;
  background: rgb(255 255 255 / 10%);
  color: #e6e6f5;
  font-size: 0.76rem;
  font-weight: 500;
}
.deck__outils {
  margin-left: auto;
  display: flex;
  gap: 8px;
}
.deck__btn {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  border: 1px solid rgb(255 255 255 / 18%);
  background: rgb(255 255 255 / 6%);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.18s, transform 0.18s;
  padding: 0;
}
.deck__btn:hover {
  background: rgb(255 255 255 / 16%);
  transform: translateY(-1px);
}
.deck__btn:disabled {
  opacity: 0.32;
  cursor: default;
  transform: none;
}

.deck__scene {
  position: relative;
  width: min(100%, calc((100vh - 215px) * 16 / 9));
  max-width: 1400px;
  margin-inline: auto;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 30px 80px rgb(0 0 0 / 45%);
  container-type: inline-size;
  flex-shrink: 0;
}

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 4.2cqw 5cqw;
  background: #fff;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.32s var(--ease), transform 0.32s var(--ease);
  transform: translateX(14px);
  overflow: hidden;
}
.slide.est-actif {
  opacity: 1;
  visibility: visible;
  transform: none;
  z-index: 2;
}
.slide--sombre {
  background: var(--bleu-nuit);
  color: #e9e9f4;
}

.slide__titre {
  font-size: 4.7cqw;
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--encre);
  margin-bottom: 2.4cqw;
  max-width: 24ch;
}
.slide--sombre .slide__titre {
  color: #fff;
}
.slide__titre--centre {
  text-align: center;
  max-width: none;
}

/* — Couverture — */
.slide--cover {
  justify-content: center;
  background: linear-gradient(135deg, #ffffff 0%, #fdf9ee 55%, #f4f8ff 100%);
  position: relative;
}
.slide--cover::before,
.slide--cover::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.slide--cover::before {
  width: 34cqw;
  height: 34cqw;
  right: -8cqw;
  top: -10cqw;
  background: radial-gradient(circle at 35% 35%, #ffe08a, #f7c948 70%);
  opacity: 0.5;
  filter: blur(1px);
}
.slide--cover::after {
  width: 20cqw;
  height: 20cqw;
  left: -9cqw;
  bottom: -9cqw;
  background: radial-gradient(circle at 40% 40%, #a9d8ff, #6fa8e8 75%);
  opacity: 0.3;
}
.slide__eyebrow {
  font-size: 2.1cqw;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bleu);
  margin-bottom: 2.4cqw;
  position: relative;
  z-index: 2;
}
.slide__h1 {
  font-size: 7.6cqw;
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 800;
  color: var(--bleu-nuit);
  max-width: 16ch;
  position: relative;
  z-index: 2;
}
.slide__sous {
  font-size: 2.6cqw;
  color: #4a4a5e;
  margin-top: 2.6cqw;
  max-width: 30ch;
  line-height: 1.35;
  position: relative;
  z-index: 2;
}
.slide__mentions {
  display: flex;
  gap: 1.2cqw;
  flex-wrap: wrap;
  margin-top: 4cqw;
  position: relative;
  z-index: 2;
}
.slide__mentions span {
  font-size: 1.9cqw;
  font-weight: 600;
  padding: 0.8cqw 1.8cqw;
  border-radius: 999px;
  background: rgb(255 255 255 / 78%);
  border: 1px solid rgb(0 0 145 / 14%);
  color: var(--bleu);
}

/* — Cartes 2 / 3 — */
.slide__cartes {
  display: grid;
  gap: 2.2cqw;
  flex: 1;
  align-content: center;
}
.slide__cartes--2 {
  grid-template-columns: 1fr 1fr;
}
.slide__cartes--3 {
  grid-template-columns: 1fr 1.05fr 1fr;
}
.carte-slide {
  background: #fff;
  border: 1px solid #e8e6dd;
  border-radius: 3cqw;
  padding: 3cqw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.4cqw;
  box-shadow: 0 1.6cqw 4cqw rgb(22 22 22 / 7%);
  position: relative;
}
.carte-slide--centre {
  background: var(--bleu-nuit);
  color: #e6e6f5;
  border-color: transparent;
}
.carte-slide--centre h3,
.carte-slide--centre .carte-slide__tag {
  color: #fff;
}
.carte-slide--centre p {
  color: #c3c3dc;
}
.carte-slide__tag {
  font-size: 1.7cqw;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--bleu);
}
.carte-slide h3 {
  font-size: 3.1cqw;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.carte-slide p {
  font-size: 1.9cqw;
  line-height: 1.4;
  color: #4c4c58;
  margin: 0;
}
.carte-slide__surtitre {
  font-size: 1.8cqw;
  font-weight: 700;
  color: var(--rouge);
  letter-spacing: 0.04em;
}

/* — Déclaration — */
.slide--statement {
  justify-content: center;
  background: linear-gradient(160deg, #f7f4ea 0%, #fff 60%);
}
.slide__accroche {
  font-size: 3.4cqw;
  font-weight: 700;
  line-height: 1.2;
  color: var(--bleu);
  max-width: 26ch;
  margin-bottom: 3cqw;
}
.slide__etiquettes {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4cqw;
  margin-bottom: 3cqw;
}
.slide__etiquettes span {
  font-size: 2.3cqw;
  font-weight: 700;
  padding: 1.1cqw 2.4cqw;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--bord-fort);
  color: var(--encre);
}
.slide__texte {
  font-size: 2.6cqw;
  line-height: 1.45;
  color: #3c3c46;
  max-width: 46ch;
}

/* — Comparaison — */
.slide:has(.slide__compare) .slide__titre {
  font-size: 4.2cqw;
  margin-bottom: 1.8cqw;
}
.slide__compare .tel {
  width: 8.4cqw;
  height: 16.5cqw;
  border-radius: 1.7cqw;
  margin-bottom: 1.2cqw;
}
.slide__compare .tel__ecran {
  border-radius: 1.4cqw;
}
.slide__compare .calc {
  padding: 0.9cqw 0.5cqw 0.5cqw;
  gap: 0.35cqw;
}
.slide__compare .calc__ecran {
  height: 2.1cqw;
  font-size: 1cqw;
}
.slide__compare .calc__touche {
  font-size: 0.7cqw;
}
.slide__compare .cache-panneau {
  top: 6.4cqw;
  left: 0.5cqw;
  right: 0.5cqw;
  bottom: 0.5cqw;
}
.slide__compare .cache-panneau__barre {
  font-size: 0.62cqw;
}
.slide__compare .mini-bulle {
  font-size: 0.58cqw;
}
.slide__compare .story {
  width: 1cqw;
  height: 1cqw;
}
.slide__compare .compare-col {
  padding: 1.8cqw;
}
.slide__compare .compare-col h3 {
  font-size: 2.8cqw;
}
.slide__compare .compare-col p {
  font-size: 1.85cqw;
}
.slide__legende {
  margin-top: 1.6cqw;
  font-size: 1.85cqw;
  padding: 1.2cqw 1.8cqw;
}
.slide:has(.slide__compare) .slide__titre {
  font-size: 4.2cqw;
  margin-bottom: 1.6cqw;
}
.slide__compare .tel {
  width: 8.2cqw;
  height: 16cqw;
  border-radius: 1.6cqw;
  margin-bottom: 1.1cqw;
}
.slide__compare .tel__ecran {
  border-radius: 1.3cqw;
}
.slide__compare .calc {
  padding: 0.9cqw 0.5cqw 0.5cqw;
  gap: 0.32cqw;
}
.slide__compare .calc__ecran {
  height: 2cqw;
  font-size: 0.95cqw;
}
.slide__compare .calc__touche {
  font-size: 0.66cqw;
}
.slide__compare .cache-panneau {
  top: 6.1cqw;
  left: 0.45cqw;
  right: 0.45cqw;
  bottom: 0.45cqw;
}
.slide__compare .cache-panneau__barre {
  font-size: 0.58cqw;
  padding: 0.35cqw 0.5cqw;
}
.slide__compare .mini-bulle {
  font-size: 0.54cqw;
  padding: 0.25cqw 0.4cqw;
}
.slide__compare .story {
  width: 0.9cqw;
  height: 0.9cqw;
}
.slide__compare .compare-col {
  padding: 1.7cqw;
}
.slide__compare .compare-col h3 {
  font-size: 2.7cqw;
}
.slide__compare .compare-col p {
  font-size: 1.8cqw;
}
.slide__legende {
  margin-top: 1.4cqw;
  font-size: 1.8cqw;
  padding: 1.1cqw 1.7cqw;
}
.slide:has(.slide__compare) .slide__titre {
  font-size: 4.2cqw;
  margin-bottom: 1.6cqw;
}
.slide__compare .tel {
  width: 8.2cqw;
  height: 16cqw;
  border-radius: 1.6cqw;
  margin-bottom: 1.1cqw;
}
.slide__compare .tel__ecran {
  border-radius: 1.3cqw;
}
.slide__compare .calc {
  padding: 0.9cqw 0.5cqw 0.5cqw;
  gap: 0.32cqw;
}
.slide__compare .calc__ecran {
  height: 2cqw;
  font-size: 0.95cqw;
}
.slide__compare .calc__touche {
  font-size: 0.66cqw;
}
.slide__compare .cache-panneau {
  top: 6.1cqw;
  left: 0.45cqw;
  right: 0.45cqw;
  bottom: 0.45cqw;
}
.slide__compare .cache-panneau__barre {
  font-size: 0.58cqw;
  padding: 0.35cqw 0.5cqw;
}
.slide__compare .mini-bulle {
  font-size: 0.54cqw;
  padding: 0.25cqw 0.4cqw;
}
.slide__compare .story {
  width: 0.9cqw;
  height: 0.9cqw;
}
.slide__compare .compare-col {
  padding: 1.7cqw;
}
.slide__compare .compare-col h3 {
  font-size: 2.7cqw;
}
.slide__compare .compare-col p {
  font-size: 1.8cqw;
}
.slide__legende {
  margin-top: 1.4cqw;
  font-size: 1.8cqw;
  padding: 1.1cqw 1.7cqw;
}
.slide__compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2.4cqw;
  align-items: center;
  flex: 1;
}
.compare-col {
  background: #f6f6fb;
  border: 1px solid #e3e3f0;
  border-radius: 2.6cqw;
  padding: 2.6cqw;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.2cqw;
}
.compare-col--cache {
  background: var(--bleu-tint-2);
  border-color: #d6d6ee;
}
.compare-col__surtitre {
  font-size: 1.7cqw;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gris);
}
.compare-col h3 {
  font-size: 3.4cqw;
  color: var(--bleu-nuit);
}
.compare-col p {
  font-size: 2.05cqw;
  line-height: 1.4;
  color: #4c4c58;
  margin: 0;
}
.compare-fleche {
  width: 5.5cqw;
  height: 5.5cqw;
  color: var(--menthe);
}
.slide__legende {
  margin-top: 2.4cqw;
  font-size: 2.05cqw;
  line-height: 1.4;
  padding: 1.6cqw 2.2cqw;
  border-left: 0.6cqw solid var(--jaune);
  background: #fdfaf0;
  border-radius: 0 1cqw 1cqw 0;
  color: #3c3c46;
}

/* — Deux colonnes — */
.slide__split {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 4cqw;
  flex: 1;
  align-items: start;
}
.slide__split h3 {
  font-size: 2.6cqw;
  margin-bottom: 1.6cqw;
}
.slide__split ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.4cqw;
}
.slide__split li {
  font-size: 2.05cqw;
  line-height: 1.4;
  padding-left: 2.8cqw;
  position: relative;
  color: #3c3c46;
}
.slide__split li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 1.2cqw;
  height: 1.2cqw;
  border-radius: 50%;
  background: var(--rouge-vif);
}
.bloc-defense {
  background: var(--bleu-nuit);
  color: #fff;
  border-radius: 2.6cqw;
  padding: 3cqw;
}
.bloc-defense h3 {
  color: var(--jaune);
  font-size: 2.4cqw;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.bloc-defense p {
  font-size: 2.9cqw;
  font-weight: 700;
  line-height: 1.2;
  margin-top: 1.4cqw;
  color: #fff;
}
.slide__punchline {
  margin-top: 1.2cqw;
  padding-top: 1.5cqw;
  font-size: 1.95cqw;
  line-height: 1.4;
  font-weight: 700;
  color: var(--bleu-nuit);
  border-top: 0.4cqw solid var(--jaune);
}

/* — Étapes — */
.slide--steps .slide__alerte {
  font-size: 2.3cqw;
  line-height: 1.4;
  background: var(--rouge-tint);
  color: #7a0e14;
  border-left: 0.5cqw solid var(--rouge-vif);
  border-radius: 0 1.4cqw 1.4cqw 0;
  padding: 1.8cqw 2.2cqw;
  margin-bottom: 3.4cqw;
  font-weight: 500;
}
.etapes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.4cqw;
  flex: 1;
  align-content: center;
}
.etape {
  background: #fff;
  border: 1px solid var(--bord);
  border-radius: 2.4cqw;
  padding: 2.6cqw;
  display: flex;
  flex-direction: column;
  gap: 1cqw;
  box-shadow: 0 1.2cqw 3cqw rgb(22 22 22 / 6%);
}
.etape__num {
  width: 4.2cqw;
  height: 4.2cqw;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--bleu);
  color: #fff;
  font-weight: 800;
  font-size: 2cqw;
}
.etape h3 {
  font-size: 2.7cqw;
}
.etape p {
  font-size: 1.95cqw;
  line-height: 1.35;
  color: #4c4c58;
  margin: 0;
}

/* — Capture d'écran — */
.slide__capture {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 3cqw;
  flex: 1;
  align-items: center;
}
.capture-points {
  display: grid;
  gap: 1.7cqw;
}
.capture-point {
  display: flex;
  gap: 1.6cqw;
  align-items: flex-start;
}
.capture-point__num {
  flex-shrink: 0;
  width: 3.4cqw;
  height: 3.4cqw;
  border-radius: 50%;
  background: var(--jaune);
  color: #3d2c00;
  font-weight: 800;
  font-size: 1.9cqw;
  display: grid;
  place-items: center;
}
.capture-point h3 {
  font-size: 2.05cqw;
  margin-bottom: 0.4cqw;
}
.capture-point p {
  font-size: 1.7cqw;
  line-height: 1.35;
  color: #4c4c58;
  margin: 0;
}
.apercu-tel {
  background: #f1f0ea;
  border-radius: 3cqw;
  padding: 2.2cqw;
  border: 1px solid var(--bord);
}
.apercu-tel__barre {
  display: flex;
  align-items: center;
  gap: 1cqw;
  font-size: 1.7cqw;
  font-weight: 700;
  color: var(--gris);
  padding-bottom: 1.4cqw;
  border-bottom: 1px solid var(--bord);
  margin-bottom: 1.6cqw;
}
.apercu-tel__barre::before {
  content: "";
  width: 1.4cqw;
  height: 1.4cqw;
  border-radius: 50%;
  background: var(--menthe);
}
.bulle {
  max-width: 82%;
  padding: 0.9cqw 1.4cqw;
  border-radius: 1.4cqw;
  font-size: 1.6cqw;
  line-height: 1.3;
  margin-bottom: 1cqw;
  background: #fff;
  border: 1px solid var(--bord);
}
.bulle--moi {
  margin-left: auto;
  background: var(--bleu);
  color: #fff;
  border-color: transparent;
}
.astuce {
  margin-top: 1.2cqw;
  font-size: 1.45cqw;
  line-height: 1.35;
  color: #6a5a12;
  background: var(--jaune-tint);
  padding: 1.2cqw 1.5cqw;
  border-radius: 1.2cqw;
}

/* — Niveaux — */
.niveaux {
  display: grid;
  gap: 1.2cqw;
  flex: 1;
  align-content: center;
}
.niveau {
  display: grid;
  grid-template-columns: 4.6cqw 1fr;
  align-items: start;
  gap: 1.8cqw;
  background: #fff;
  border: 1px solid var(--bord);
  border-radius: 1.8cqw;
  padding: 0.95cqw 1.6cqw;
  box-shadow: 0 1cqw 2.6cqw rgb(22 22 22 / 5%);
  margin-right: calc(var(--decal, 0) * 1cqw);
}
.niveau__badge {
  width: 4.6cqw;
  height: 4.6cqw;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.9cqw;
  font-weight: 800;
  color: #fff;
  background: var(--bleu);
}
.niveau__sur {
  display: block;
  font-size: 1.25cqw;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gris);
  margin-bottom: 0.4cqw;
}
.niveau h3 {
  font-size: 1.9cqw;
  line-height: 1.15;
}
.niveau p {
  font-size: 1.46cqw;
  line-height: 1.32;
  color: #4c4c58;
  margin: 0.3cqw 0 0;
}
.niveau--1 {
  --decal: 6;
}
.niveau--2 {
  --decal: 3;
}
.niveau--3 {
  --decal: 0;
  background: var(--bleu-nuit);
  border-color: transparent;
}
.niveau--3 h3 {
  color: #fff;
}
.niveau--3 p {
  color: #c3c3dc;
}
.niveau--3 .niveau__badge {
  background: var(--jaune);
  color: #3d2c00;
}

/* — Boîte à outils — */
.slide__outils {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2cqw;
  flex: 1;
  align-content: center;
}
.outil {
  background: #fff;
  border: 1px solid var(--bord);
  border-radius: 2.4cqw;
  padding: 2.6cqw;
  display: flex;
  flex-direction: column;
  gap: 0.8cqw;
}
.outil__label {
  font-size: 1.6cqw;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gris);
}
.outil__valeur {
  font-size: 2.9cqw;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--bleu);
  line-height: 1.05;
  overflow-wrap: break-word;
  hyphens: none;
}
.outil__valeur--long {
  font-size: 2cqw;
  line-height: 1.15;
}
.outil__detail {
  font-size: 1.75cqw;
  color: #55555f;
  line-height: 1.35;
}

/* — Bilan (5 points + panneau) — */
.slide--bilan {
  padding: 2.4cqw;
  display: grid;
  grid-template-columns: 32% 1fr;
  gap: 2cqw;
  align-items: stretch;
}
.bilan-panneau {
  background: var(--bleu-nuit);
  border-radius: 2cqw;
  padding: 2.2cqw 2cqw;
  display: flex;
  flex-direction: column;
  color: #fff;
}
.bilan-panneau__tag {
  align-self: flex-start;
  font-size: 1.35cqw;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  background: var(--jaune);
  color: #3d2c00;
  border-radius: 999px;
  padding: 0.6cqw 1.5cqw;
  margin-bottom: 1.6cqw;
}
.bilan-panneau h2 {
  font-size: 3.2cqw;
  line-height: 1.02;
  color: #fff;
  letter-spacing: -0.025em;
}
.bilan-panneau__intro {
  font-size: 1.5cqw;
  line-height: 1.36;
  color: #c9c9e2;
  margin-top: 1.4cqw;
}
.bilan-panneau__chiffre {
  margin-top: auto;
  padding-top: 1.2cqw;
  font-size: 7cqw;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.88;
  color: var(--jaune);
}
.bilan-panneau__label {
  font-size: 1.45cqw;
  line-height: 1.3;
  color: #d8d8ec;
  margin-top: 0.8cqw;
}
.bilan-liste {
  display: grid;
  gap: 0.85cqw;
  align-content: start;
}
.bilan-item {
  display: grid;
  grid-template-columns: 4cqw 1fr auto;
  align-items: center;
  gap: 1.3cqw;
  background: #f7f6f1;
  border: 1px solid #e8e5da;
  border-radius: 1.4cqw;
  padding: 0.7cqw 1.2cqw 0.7cqw 0.7cqw;
}
.bilan-item__num {
  width: 3.4cqw;
  height: 3.4cqw;
  border-radius: 50%;
  background: var(--jaune);
  color: #3d2c00;
  font-weight: 800;
  font-size: 1.4cqw;
  display: grid;
  place-items: center;
}
.bilan-item h3 {
  font-size: 1.64cqw;
  margin-bottom: 0.1cqw;
  color: var(--bleu-nuit);
}
.bilan-item p {
  font-size: 1.3cqw;
  line-height: 1.28;
  color: #55555f;
  margin: 0;
}
.bilan-item__tag {
  font-size: 1.2cqw;
  font-weight: 700;
  padding: 0.5cqw 1.1cqw;
  border-radius: 999px;
  background: var(--bleu);
  color: #fff;
  white-space: nowrap;
  align-self: center;
}

/* — Final — */
.slide--final {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4cqw;
  background: linear-gradient(140deg, #fdfaf0, #f3f7ff);
}
.slide--final h2 {
  font-size: 5.6cqw;
  line-height: 1;
  color: var(--bleu-nuit);
}
.slide--final h3 {
  font-size: 2.6cqw;
  font-weight: 500;
  color: var(--bleu);
  margin-top: 1cqw;
}
.slide--final p {
  font-size: 1.95cqw;
  color: #4c4c58;
  margin-top: 2.4cqw;
  max-width: 26ch;
}
.qr {
  justify-self: center;
  background: #fff;
  padding: 2cqw;
  border-radius: 2.4cqw;
  box-shadow: 0 2cqw 5cqw rgb(22 22 22 / 12%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2cqw;
}
.qr__url {
  font-size: 1.45cqw;
  font-weight: 600;
  color: var(--gris);
  letter-spacing: 0.01em;
}
.qr img {
  width: 20cqw;
  height: 20cqw;
}

/* — Sommaire en surimpression — */
.deck__vue {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: #0b0b22;
  overflow-y: auto;
  padding: 28px clamp(16px, 4vw, 48px) 48px;
  display: none;
}
.deck__vue.est-ouvert {
  display: block;
}
.deck__vue h2 {
  max-width: 1400px;
  margin-inline: auto;
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.deck__vue-grille {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 16px;
  max-width: 1400px;
  margin-inline: auto;
}
.vue-item {
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  padding: 0;
  text-align: left;
  position: relative;
  aspect-ratio: 16/9;
  transition: transform 0.18s var(--ease), border-color 0.18s;
}
.vue-item:hover {
  transform: translateY(-3px);
  border-color: var(--jaune);
}
.vue-item__num {
  position: absolute;
  left: 6px;
  top: 6px;
  z-index: 3;
  background: rgb(20 20 60 / 82%);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 700;
  border-radius: 5px;
  padding: 2px 6px;
}
.vue-item__mini {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px 12px;
  gap: 3px;
}
.vue-item__mini strong {
  font-size: 0.62rem;
  line-height: 1.15;
  color: var(--bleu-nuit);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.deck__aide {
  max-width: 1400px;
  margin: 0 auto;
  color: #8e8eae;
  font-size: 0.78rem;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
kbd {
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgb(255 255 255 / 10%);
  border: 1px solid rgb(255 255 255 / 18%);
  border-bottom-width: 2px;
  border-radius: 5px;
  padding: 1px 6px;
  color: #dcdcf0;
}

body.mode-presentation .entete,
body.mode-presentation .pied {
  display: none;
}
body.mode-presentation .deck {
  padding: 0;
  gap: 0;
  justify-content: center;
}
body.mode-presentation .deck__barre,
body.mode-presentation .deck__aide {
  display: none;
}
body.mode-presentation .deck__scene {
  width: min(100vw, calc(100vh * 16 / 9));
  max-width: none;
  border-radius: 0;
  box-shadow: none;
}

/* 9. Dictionnaire ---------------------------------------------------------- */
.dico-heros {
  padding-block: clamp(40px, 6vw, 72px) clamp(28px, 3vw, 40px);
  background: linear-gradient(180deg, #fff 0%, var(--papier) 100%);
  border-bottom: 1px solid var(--bord);
}
.dico-heros h1 {
  font-size: clamp(1.9rem, 4.2vw, 3.1rem);
  margin-bottom: 14px;
}
.dico-heros p {
  color: var(--gris);
  max-width: 60ch;
  font-size: 1.02rem;
}

.dico-outils {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}
.champ {
  position: relative;
  display: flex;
  align-items: center;
}
.champ svg {
  position: absolute;
  left: 18px;
  color: var(--gris);
  pointer-events: none;
}
.champ input {
  width: 100%;
  padding: 16px 52px 16px 52px;
  border-radius: 999px;
  border: 1px solid var(--bord-fort);
  background: #fff;
  font-family: inherit;
  font-size: 1rem;
  color: var(--encre);
  box-shadow: var(--ombre-1);
  transition: border-color 0.18s, box-shadow 0.18s;
}
.champ input::placeholder {
  color: var(--gris-clair);
}
.champ input:focus {
  outline: none;
  border-color: var(--bleu);
  box-shadow: 0 0 0 4px rgb(0 0 145 / 12%);
}
.champ__effacer {
  position: absolute;
  right: 8px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  color: var(--gris);
  cursor: pointer;
  display: none;
  place-items: center;
}
.champ__effacer.est-visible {
  display: grid;
}
.champ__effacer:hover {
  background: var(--papier-2);
  color: var(--encre);
}

.filtres {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
}
.filtre {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--bord-fort);
  background: #fff;
  color: var(--texte);
  font-family: inherit;
  font-size: 0.87rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s var(--ease);
}
.filtre:hover {
  border-color: var(--encre);
  transform: translateY(-1px);
}
.filtre__pastille {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--c, var(--gris));
}
.filtre[aria-pressed="true"] {
  background: var(--encre);
  color: #fff;
  border-color: var(--encre);
}
.filtre[aria-pressed="true"] .filtre__pastille {
  background: var(--c, var(--gris));
  box-shadow: 0 0 0 3px rgb(255 255 255 / 22%);
}
.filtre__n {
  font-size: 0.76rem;
  opacity: 0.62;
  font-variant-numeric: tabular-nums;
}

/* Nuage */
.nuage-cadre {
  position: relative;
  border-radius: var(--r-xl);
  border: 1px solid var(--bord);
  background:
    radial-gradient(circle at 12% 18%, rgb(249 200 70 / 12%), transparent 42%),
    radial-gradient(circle at 88% 82%, rgb(99 65 155 / 10%), transparent 45%),
    #fff;
  box-shadow: var(--ombre-1);
  overflow: hidden;
  margin-bottom: 26px;
}
.nuage {
  position: relative;
  width: 100%;
  height: clamp(380px, 48vw, 560px);
}
.nuage__mot {
  position: absolute;
  left: 0;
  top: 0;
  display: inline-block;
  border: 0;
  background: none;
  padding: 0.08em 0.16em;
  font-family: inherit;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.015em;
  color: var(--c);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transform-origin: center;
  transition: transform 0.22s var(--ease), filter 0.22s var(--ease),
    opacity 0.22s var(--ease);
  will-change: transform;
}
.nuage__mot:hover,
.nuage__mot:focus-visible {
  transform: scale(1.09);
  filter: saturate(1.25);
  z-index: 5;
}
.nuage__mot[data-cat="harcelement"] {
  --c: var(--rouge);
}
.nuage__mot[data-cat="pratique"] {
  --c: var(--bleu);
}
.nuage__mot[data-cat="plateforme"] {
  --c: var(--violet);
}
.nuage.est-filtre .nuage__mot {
  opacity: 0.16;
  pointer-events: none;
}
.nuage.est-filtre .nuage__mot.est-actif {
  opacity: 1;
  pointer-events: auto;
}

.nuage-legende {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
  margin-top: 14px;
  font-size: 0.83rem;
  color: var(--gris);
}
.nuage-legende span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.nuage-legende i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  display: inline-block;
}
.infobulle {
  position: fixed;
  z-index: 500;
  pointer-events: none;
  background: var(--encre);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 7px 11px;
  border-radius: 8px;
  box-shadow: var(--ombre-2);
  opacity: 0;
  transform: translate(-50%, -140%);
  transition: opacity 0.14s;
  max-width: 260px;
}
.infobulle.est-visible {
  opacity: 1;
}

/* Résultats */
.resultats-entete {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.resultats-entete h2 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}
.resultats-entete p {
  color: var(--gris);
  font-size: 0.88rem;
  margin: 0;
}

.liste-dico {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr));
  gap: 16px;
}
.entree {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 20px 20px 18px;
  background: #fff;
  border: 1px solid var(--bord);
  border-radius: var(--r-m);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease),
    border-color 0.2s;
  border-left: 4px solid var(--c, var(--bleu));
}
.entree[data-cat="harcelement"] {
  --c: var(--rouge);
}
.entree[data-cat="pratique"] {
  --c: var(--bleu);
}
.entree[data-cat="plateforme"] {
  --c: var(--violet);
}
.entree:hover {
  transform: translateY(-3px);
  box-shadow: var(--ombre-2);
  border-color: var(--bord-fort);
}
.entree__cat {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c);
}
.entree h3 {
  font-size: 1.1rem;
}
.entree__trad {
  font-size: 0.84rem;
  color: var(--gris);
  font-style: italic;
}
.entree__def {
  font-size: 0.88rem;
  color: #55555f;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.entree__fleche {
  margin-top: auto;
  padding-top: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--c);
  display: flex;
  align-items: center;
  gap: 6px;
}
.entree:hover .entree__fleche svg {
  transform: translateX(4px);
}
.entree__fleche svg {
  transition: transform 0.2s var(--ease);
}

.vide {
  text-align: center;
  padding: 60px 20px;
  color: var(--gris);
  border: 1px dashed var(--bord-fort);
  border-radius: var(--r-l);
  background: #fff;
}
.vide strong {
  display: block;
  color: var(--encre);
  font-size: 1.1rem;
  margin-bottom: 6px;
}

/* 10. Fiche ---------------------------------------------------------------- */
.fiche-heros {
  padding-block: clamp(30px, 4vw, 46px) clamp(26px, 3vw, 36px);
  border-bottom: 1px solid var(--bord);
  background: linear-gradient(180deg, #fff, var(--papier));
}
.fil {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--gris);
  margin-bottom: 22px;
}
.fil a {
  color: var(--gris);
  text-decoration: none;
}
.fil a:hover {
  color: var(--bleu);
  text-decoration: underline;
}
.fil span[aria-hidden] {
  opacity: 0.5;
}
.fiche-heros h1 {
  font-size: clamp(2rem, 4.6vw, 3.3rem);
  margin: 14px 0 10px;
  overflow-wrap: anywhere;
}
.fiche-heros__trad {
  font-size: clamp(1rem, 1.8vw, 1.24rem);
  color: var(--gris);
  font-style: italic;
}
.fiche-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
  align-items: center;
}

.fiche-corps {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(28px, 4vw, 52px);
  align-items: start;
  padding-block: clamp(34px, 5vw, 56px);
}
.fiche-corps h2 {
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gris);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.fiche-corps h2::before {
  content: "";
  width: 3px;
  height: 15px;
  border-radius: 2px;
  background: var(--c, var(--bleu));
}
.bloc-fiche {
  padding-bottom: 26px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--bord);
}
.bloc-fiche:last-child {
  border-bottom: 0;
  margin-bottom: 0;
}
.bloc-fiche p {
  font-size: 1.04rem;
  line-height: 1.65;
  color: #33333c;
  max-width: 68ch;
}
.bloc-fiche--suite {
  background: var(--papier-2);
  border: 1px solid var(--bord);
  border-radius: var(--r-m);
  padding: 20px 22px;
}
.bloc-fiche--suite h2::before {
  background: var(--gris);
}

.bloc-duo {
  display: grid;
  gap: 16px;
}
.encart {
  border-radius: var(--r-m);
  padding: 22px 24px;
  border: 1px solid;
  position: relative;
}
.encart h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 10px;
}
.encart p {
  font-size: 0.98rem;
  line-height: 1.6;
  margin: 0;
  color: #33333c;
}
.encart--parents {
  background: var(--bleu-tint-2);
  border-color: #d9d9f0;
}
.encart--parents h3 {
  color: var(--bleu);
}
.encart--ados {
  background: var(--jaune-tint);
  border-color: #f0e0ae;
}
.encart--ados h3 {
  color: #7a5600;
}
.encart--atouts {
  background: var(--menthe-tint);
  border-color: #c9e8d9;
}
.encart--atouts h3 {
  color: var(--menthe);
}
.encart--vigilance {
  background: var(--rouge-tint);
  border-color: #f5d3d1;
}
.encart--vigilance h3 {
  color: var(--rouge);
}
.encart--chiffre {
  background: var(--violet-tint);
  border-color: #ddd0f0;
}
.encart--chiffre h3 {
  color: var(--violet);
}

.fiche-cote {
  position: sticky;
  top: calc(var(--entete) + 20px);
  display: grid;
  gap: 14px;
}
.carte-urgence {
  background: var(--bleu-nuit);
  color: #e6e6f5;
  border-radius: var(--r-l);
  padding: 24px;
}
.carte-urgence h3 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 6px;
}
.carte-urgence p {
  font-size: 0.86rem;
  color: #b9b9d0;
  line-height: 1.5;
}
.carte-urgence__num {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 14px 0 4px;
}
.carte-urgence__num strong {
  font-size: 2.6rem;
  color: var(--jaune);
  letter-spacing: -0.04em;
  line-height: 1;
  font-weight: 800;
}
.carte-urgence__num span {
  font-size: 0.8rem;
  color: #b9b9d0;
}
.carte-urgence .btn {
  width: 100%;
  margin-top: 14px;
}
.fiche-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 26px;
  margin-top: 10px;
  border-top: 1px solid var(--bord);
}
.fiche-nav a {
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--bleu);
}
.fiche-nav a:hover {
  text-decoration: underline;
}
.fiche-nav a:last-child {
  margin-left: auto;
  text-align: right;
}
.fiche-nav small {
  display: block;
  color: var(--gris);
  font-weight: 400;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.actions-fiche {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}

/* 11. Ressources ----------------------------------------------------------- */
.res-heros {
  padding-block: clamp(46px, 7vw, 84px) clamp(30px, 4vw, 46px);
  background: linear-gradient(180deg, #fffdf7, var(--papier));
  border-bottom: 1px solid var(--bord);
}
.ressource {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px;
  border-radius: var(--r-m);
  border: 1px solid var(--bord);
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
  height: 100%;
}
.ressource:hover {
  transform: translateY(-3px);
  box-shadow: var(--ombre-2);
}
.ressource__type {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bleu);
}
.ressource strong {
  font-size: 1.05rem;
  line-height: 1.25;
}
.ressource__url {
  font-size: 0.8rem;
  color: var(--gris);
  overflow-wrap: anywhere;
}
.ressource p {
  font-size: 0.86rem;
  color: #55555f;
  margin: 4px 0 0;
  line-height: 1.45;
}

.reflexes {
  counter-reset: reflexe;
  display: grid;
  gap: 14px;
}
.reflexe {
  display: flex;
  gap: 16px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--bord);
  border-radius: var(--r-m);
  align-items: flex-start;
}
.reflexe::before {
  counter-increment: reflexe;
  content: counter(reflexe);
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--jaune);
  color: #3d2c00;
  font-weight: 800;
  font-size: 0.9rem;
  display: grid;
  place-items: center;
}
.reflexe h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}
.reflexe p {
  font-size: 0.9rem;
  color: #55555f;
  margin: 0;
  line-height: 1.5;
}

/* 12. Responsive ----------------------------------------------------------- */
@media (max-width: 1000px) {
  .heros__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .chiffres-heros {
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    padding: 0;
  }
  .chiffre-carte {
    margin: 0 !important;
    animation: none;
  }
  .fiche-corps {
    grid-template-columns: 1fr;
  }
  .fiche-cote {
    position: static;
    order: 2;
  }
  .pied__grille {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 780px) {
  :root {
    --entete: 64px;
  }
  .nav {
    position: fixed;
    inset: var(--entete) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: #fff;
    border-bottom: 1px solid var(--bord);
    padding: 12px var(--gouttiere) 18px;
    box-shadow: var(--ombre-2);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease),
      visibility 0.2s;
  }
  .nav.est-ouvert {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav__lien {
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 1rem;
  }
  .burger {
    display: flex;
  }
  .pied__grille {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .marque__sous {
    display: none;
  }
  .nuage {
    height: clamp(380px, 92vw, 560px);
  }
  .deck {
    padding: calc(var(--entete) + 10px) 8px 10px;
  }
  .deck__scene {
    border-radius: 12px;
  }
  .vue-item {
    aspect-ratio: 16/9;
  }
}

@media (max-width: 560px) {
  .heros {
    padding-block: 36px 56px;
  }
  .btn {
    width: 100%;
  }
  .bandeau__actions {
    width: 100%;
    margin-left: 0;
  }
  .fiche-heros h1 {
    font-size: 1.85rem;
  }
  .bloc-fiche p {
    font-size: 1rem;
  }
}

/* Mode « lecture » du diaporama sur petit écran */
@media (max-width: 820px) {
  .deck__scene {
    aspect-ratio: auto;
    min-height: 70vh;
  }
  .slide {
    position: relative;
    inset: auto;
    display: none;
    padding: 26px 22px;
    min-height: 70vh;
  }
  .slide.est-actif {
    display: flex;
  }
  .slide__titre {
    font-size: 1.65rem;
    margin-bottom: 18px;
  }
  .slide__h1 {
    font-size: 2.3rem;
  }
  .slide__sous {
    font-size: 1rem;
    margin-top: 12px;
  }
  .slide__eyebrow,
  .bilan-panneau__tag,
  .carte-slide__tag {
    font-size: 0.68rem;
  }
  .slide__mentions span {
    font-size: 0.78rem;
    padding: 6px 12px;
  }
  .slide__cartes--2,
  .slide__cartes--3,
  .etapes,
  .slide__outils,
  .slide--bilan,
  .slide--final,
  .slide__capture,
  .slide__compare {
    grid-template-columns: 1fr;
  }
  .carte-slide,
  .etape,
  .outil {
    padding: 18px;
    border-radius: 14px;
  }
  .carte-slide h3,
  .etape h3 {
    font-size: 1.15rem;
  }
  .carte-slide p,
  .etape p,
  .outil__detail,
  .bilan-item p,
  .slide__split li,
  .compare-col p,
  .slide__texte,
  .slide__accroche,
  .bloc-defense p,
  .slide__punchline,
  .niveau p {
    font-size: 0.92rem;
  }
  .slide__accroche {
    font-size: 1.2rem;
  }
  .bilan-panneau {
    padding: 20px;
  }
  .bilan-panneau h2 {
    font-size: 1.55rem;
  }
  .bilan-panneau__intro,
  .bilan-panneau__label,
  .bilan-item__tag {
    font-size: 0.8rem;
  }
  .bilan-panneau__chiffre {
    font-size: 3.4rem;
    margin-top: 18px;
  }
  .bilan-item {
    grid-template-columns: 40px 1fr;
    gap: 12px;
    padding: 12px;
  }
  .bilan-item__num {
    width: 34px;
    height: 34px;
    font-size: 0.82rem;
  }
  .bilan-item h3 {
    font-size: 0.98rem;
  }
  .bilan-item__tag {
    display: none;
  }
  .niveau {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-right: 0;
  }
  .niveau h3 {
    font-size: 1rem;
  }
  .niveau__badge {
    justify-self: start;
    padding: 4px 12px;
    font-size: 0.68rem;
  }
  .slide__split {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .slide__split h3 {
    font-size: 1.05rem;
  }
  .bloc-defense h3 {
    font-size: 0.85rem;
  }
  .capture-point h3 {
    font-size: 1rem;
  }
  .capture-point p,
  .capture-point__num,
  .apercu-tel__barre,
  .bulle,
  .astuce,
  .outil__valeur,
  .outil__label,
  .slide__legende,
  .compare-col__surtitre,
  .compare-col h3,
  .slide--final h2,
  .slide--final h3,
  .slide--final p,
  .etape__num,
  .slide__etiquettes span {
    font-size: 0.88rem;
  }
  .outil__valeur {
    font-size: 1.35rem;
  }
  .slide__etiquettes span {
    padding: 7px 14px;
  }
  .compare-fleche {
    transform: rotate(90deg);
    justify-self: center;
    width: 34px;
    height: 34px;
  }
  .asterisque,
  .qr img {
    width: 150px;
    height: 150px;
  }
  .slide--final h2 {
    font-size: 1.9rem;
  }
  .slide--final h3 {
    font-size: 1.05rem;
  }
  .etapes {
    gap: 12px;
  }
  .slide--bilan {
    padding: 18px;
  }
}

/* 13. Impression ----------------------------------------------------------- */
@media print {
  :root {
    --papier: #fff;
  }
  body {
    font-size: 10.5pt;
    background: #fff;
  }
  .entete,
  .pied,
  .deck__barre,
  .deck__aide,
  .deck__vue,
  .actions-fiche,
  .fiche-cote,
  .no-print {
    display: none !important;
  }
  .deck {
    background: #fff;
    padding: 0;
    display: block;
  }
  .deck__scene {
    aspect-ratio: auto;
    box-shadow: none;
    border-radius: 0;
    max-width: none;
  }
  .slide {
    position: static !important;
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    page-break-after: always;
    break-after: page;
    min-height: 0;
    padding: 14mm;
    border-bottom: 1px solid #ddd;
  }
  .slide__titre {
    font-size: 20pt;
  }
  .slide__h1 {
    font-size: 30pt;
  }
  .carte-slide h3,
  .etape h3,
  .bilan-item h3 {
    font-size: 11pt;
  }
  .carte-slide p,
  .etape p,
  .bilan-item p,
  .slide__split li,
  .slide__texte,
  .capture-point p,
  .niveau p {
    font-size: 9pt;
  }
  .bilan-panneau {
    background: #eee;
    color: #000;
  }
  .bilan-panneau h2,
  .bilan-panneau__intro,
  .bilan-panneau__label {
    color: #000;
  }
  .bilan-panneau__chiffre {
    color: #000;
    font-size: 32pt;
  }
  .revele {
    opacity: 1 !important;
    transform: none !important;
  }
  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 8pt;
    color: #666;
  }
}

/* 14. Mouvement réduit ----------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .revele,
  .js .revele {
    opacity: 1 !important;
    transform: none !important;
  }
  .heros h1 em::after {
    transform: scaleX(1);
  }
}

/* --- Compléments diaporama ------------------------------------------------- */
.deck__jauge {
  position: relative;
  flex: 1 1 90px;
  min-width: 70px;
  max-width: 340px;
  height: 4px;
  background: rgb(255 255 255 / 13%);
  border-radius: 2px;
  overflow: hidden;
}
.deck__jauge span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--jaune);
  border-radius: 2px;
  transition: width 0.35s var(--ease);
}
.deck__legende {
  text-align: center;
  color: #8e8eae;
  font-size: 0.78rem;
  margin: 2px 0 0;
}
@media (max-width: 780px) {
  .deck__jauge { display: none; }
  .deck__barre { gap: 8px; }
}





/* --- Nuage : mots qui n'ont pas trouvé place ------------------------------ */
.nuage__reste {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  padding: 0 clamp(16px, 3vw, 34px) clamp(14px, 2vw, 22px);
  font-size: 0.82rem;
  color: var(--gris);
}
.nuage__reste > span {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
}
.nuage__mot-simple {
  --c: var(--bleu);
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--c);
  text-decoration: none;
  border-bottom: 1px solid rgb(0 0 0 / 18%);
}
.nuage__mot-simple:hover {
  border-bottom-width: 2px;
}
.nuage__mot-simple[data-cat="harcelement"] {
  --c: var(--rouge);
}
.nuage__mot-simple[data-cat="plateforme"] {
  --c: var(--violet);
}
.nuage.est-filtre .nuage__mot-simple {
  opacity: 0.2;
  pointer-events: none;
}
.nuage.est-filtre .nuage__mot-simple.est-actif {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 640px) {
  .chiffres-heros {
    grid-template-columns: 1fr;
  }
  .chiffre-carte {
    padding: 16px 18px;
    gap: 14px;
  }
  .chiffre-carte__valeur {
    min-width: 2.6ch;
  }
  .chiffre-carte__texte {
    font-size: 0.84rem;
  }
}



/* --- Affiches à imprimer -------------------------------------------------- */
.affiche {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--bord);
  border-radius: var(--r-m);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease),
    border-color 0.22s;
  height: 100%;
}
.affiche:hover {
  transform: translateY(-4px);
  box-shadow: var(--ombre-2);
  border-color: var(--bord-fort);
}
.affiche__vignette {
  display: block;
  background: var(--papier-2);
  border-bottom: 1px solid var(--bord);
  overflow: hidden;
  aspect-ratio: 0.87;
}
.affiche__vignette img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}
.affiche__corps {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.affiche__titre {
  font-weight: 700;
  font-size: 0.96rem;
  line-height: 1.25;
  color: var(--encre);
}
.affiche__detail {
  font-size: 0.8rem;
  color: var(--gris);
}
.affiche__dl {
  margin-top: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--bleu);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.affiche:hover .affiche__dl svg {
  transform: translateY(2px);
}
.affiche__dl svg {
  transition: transform 0.2s var(--ease);
}

.partage-carte {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  padding: clamp(22px, 3vw, 34px);
  background: #fff;
  border: 1px solid var(--bord);
  border-radius: var(--r-l);
  box-shadow: var(--ombre-1);
}
.partage-carte img {
  width: 132px;
  height: 132px;
  flex-shrink: 0;
  border-radius: 8px;
}
.partage-carte__texte {
  flex: 1 1 280px;
}
.partage-carte__texte h3 {
  margin-bottom: 8px;
}
.partage-carte__texte p {
  font-size: 0.92rem;
  color: var(--gris);
  max-width: 52ch;
}
.partage-carte__url {
  display: inline-block;
  margin-top: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}


/* =========================================================================
   Composants du diaporama (deuxième vague)
   ========================================================================= */

/* --- Couverture : texte + pyramide des rôles ----------------------------- */
.slide__cover-grille {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 3.4cqw;
  align-items: center;
  width: 100%;
}
.couv-texte .slide__h1 {
  font-size: 5.1cqw;
  max-width: 15ch;
}
.couv-texte .slide__sous {
  font-size: 2.1cqw;
  max-width: 26ch;
  margin-top: 1.8cqw;
}
.couv-pyramide__titre {
  font-size: 1.35cqw;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gris);
  text-align: center;
  margin-bottom: 1.6cqw;
}
.pyramide {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8cqw;
}
.pyramide__etage {
  width: var(--w);
  background: var(--bg);
  color: #fff;
  border-radius: 1cqw;
  padding: 1cqw 1.4cqw;
  text-align: center;
  box-shadow: 0 0.7cqw 1.8cqw rgb(22 22 22 / 12%);
}
.pyramide__etage small {
  display: block;
  font-size: 0.95cqw;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.72;
  margin-bottom: 0.25cqw;
}
.pyramide__etage strong {
  color: inherit;
  display: block;
  font-size: 1.45cqw;
  line-height: 1.18;
  font-weight: 700;
}
.pyramide__etage span {
  display: block;
  font-size: 1.1cqw;
  opacity: 0.86;
  margin-top: 0.2cqw;
}
.pyramide__etage--clair {
  color: var(--bleu-nuit);
  border: 1px solid #cfcfee;
}
.pyramide__etage--clair small {
  opacity: 0.6;
}

/* --- Liens dans les cartes ------------------------------------------------ */
.carte-slide__liens {
  display: flex;
  flex-direction: column;
  gap: 0.6cqw;
  margin-top: auto;
  padding-top: 1.2cqw;
}
.lien-pilule {
  display: inline-flex;
  align-items: center;
  gap: 0.55cqw;
  align-self: flex-start;
  max-width: 100%;
  padding: 0.65cqw 1.1cqw;
  border-radius: 999px;
  background: var(--bleu-tint-2);
  border: 1px solid #dcdcf3;
  color: var(--bleu);
  font-size: 1.2cqw;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background 0.18s, border-color 0.18s;
}
.lien-pilule:hover {
  background: var(--bleu-tint);
  border-color: #c3c3e8;
}
.lien-pilule svg {
  flex-shrink: 0;
  opacity: 0.75;
}

/* --- Écran 4 : coffre-fort ------------------------------------------------ */
.slide__statement {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.slide__statement--2 {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(0, 0.68fr);
  gap: 3cqw;
  align-items: center;
}
.slide__statement--2 .slide__titre {
  font-size: 4cqw;
  margin-bottom: 1.8cqw;
}
.slide__statement--2 .slide__accroche {
  font-size: 2.45cqw;
  margin-bottom: 2cqw;
}
.slide__statement--2 .slide__texte {
  font-size: 2cqw;
  line-height: 1.42;
}
.slide__statement--2 .slide__etiquettes span {
  font-size: 1.85cqw;
  padding: 0.85cqw 1.7cqw;
}
.slide__statement--2 .slide__etiquettes {
  margin-bottom: 2cqw;
}
.statement-illu {
  display: flex;
  justify-content: center;
}
.statement-illu .coffre {
  width: 100%;
  max-width: 26cqw;
  filter: drop-shadow(0 1.6cqw 2.6cqw rgb(20 20 60 / 20%));
}

/* --- Téléphones (écrans 6 et 9) ------------------------------------------ */
.tel {
  position: relative;
  width: 11cqw;
  height: 21.5cqw;
  margin: 0 auto 1.6cqw;
  padding: 0.55cqw;
  background: #1b1b2b;
  border-radius: 2.1cqw;
  box-shadow: 0 1.3cqw 2.8cqw rgb(22 22 22 / 22%);
  flex-shrink: 0;
}
.tel__encoche {
  position: absolute;
  top: 0.7cqw;
  left: 50%;
  transform: translateX(-50%);
  width: 3.6cqw;
  height: 0.5cqw;
  border-radius: 999px;
  background: #1b1b2b;
  z-index: 5;
}
.tel__ecran {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 1.7cqw;
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.calc {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5cqw;
  padding: 1.2cqw 0.7cqw 0.7cqw;
}
.calc__ecran {
  height: 2.8cqw;
  border-radius: 0.5cqw;
  background: #eef0f4;
  color: #26262f;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 0.6cqw;
  font-size: 1.25cqw;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.calc__grille {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.3cqw;
}
.calc__touche {
  display: grid;
  place-items: center;
  background: #f1f2f5;
  border-radius: 0.4cqw;
  font-size: 0.9cqw;
  font-weight: 600;
  color: #33333d;
}
.calc__touche--zero {
  grid-column: span 2;
}
.calc__touche--egal {
  background: var(--bleu);
  color: #fff;
}
.cache-panneau {
  position: absolute;
  left: 0.7cqw;
  right: 0.7cqw;
  bottom: 0.7cqw;
  top: 8.2cqw;
  background: #fff;
  border-radius: 0.9cqw;
  border: 1px solid #e4e4ee;
  box-shadow: 0 0.8cqw 2cqw rgb(0 0 0 / 26%);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.cache-panneau__barre {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55cqw 0.7cqw;
  font-size: 0.8cqw;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
}
.cache-panneau__fermer {
  font-size: 1.1cqw;
  opacity: 0.85;
}
.cache-panneau__stories {
  display: flex;
  gap: 0.45cqw;
  padding: 0.6cqw 0.7cqw;
  border-bottom: 1px solid #f0f0f5;
}
.story {
  width: 1.35cqw;
  height: 1.35cqw;
  border-radius: 50%;
  background: conic-gradient(from 200deg, #feda75, #fa7e1e, #d62976, #962fbf);
  display: block;
}
.story--vu {
  background: #dcdce6;
}
.cache-panneau__fil {
  display: flex;
  flex-direction: column;
  gap: 0.4cqw;
  padding: 0.6cqw 0.7cqw;
}
.mini-bulle {
  align-self: flex-start;
  max-width: 92%;
  padding: 0.35cqw 0.55cqw;
  border-radius: 0.6cqw;
  background: #f1f1f6;
  color: #2a2a35;
  font-size: 0.75cqw;
  line-height: 1.25;
}
.mini-bulle--moi {
  align-self: flex-end;
  background: #e4e9ff;
}

/* --- Écran 9 : capture d'écran réaliste ---------------------------------- */
.apercu-capture {
  position: relative;
  width: min-content;
  margin-inline: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}
.tel--capture {
  width: 21cqw;
  height: 37cqw;
  border-radius: 2.8cqw;
  margin-bottom: 0;
}
.tel--capture .tel__ecran {
  border-radius: 2.4cqw;
}
.tel__statut {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1cqw 1.1cqw 0.5cqw;
  font-size: 1cqw;
  font-weight: 700;
  color: #22222c;
}
.tel__entete {
  display: flex;
  align-items: center;
  gap: 0.7cqw;
  padding: 0.6cqw 1cqw 0.8cqw;
  border-bottom: 1px solid #ededf3;
}
.tel__avatar {
  width: 2.4cqw;
  height: 2.4cqw;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e0e4f7;
  color: #3a3a58;
  font-size: 1.05cqw;
  font-weight: 800;
}
.tel__identite {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}
.tel__identite strong {
  font-size: 1.2cqw;
  color: #1e1e2a;
}
.tel__identite small {
  font-size: 0.85cqw;
  color: #8d8d9a;
}
.tel__fil {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.55cqw;
  padding: 0.9cqw;
  overflow: hidden;
}
.bulle-message {
  align-self: flex-start;
  max-width: 90%;
  padding: 0.55cqw 0.85cqw;
  border-radius: 1cqw;
  font-size: 1.05cqw;
  line-height: 1.28;
  background: #f1f1f5;
  color: #24242e;
}
.bulle-message--agressif {
  background: #fbe3e2;
  color: #8c1016;
}
.bulle-message--menace {
  background: var(--rouge);
  color: #fff;
  font-weight: 600;
}
.repere {
  position: absolute;
  left: -1.15cqw;
  top: var(--y);
  width: 2.3cqw;
  height: 2.3cqw;
  border-radius: 50%;
  background: var(--jaune);
  color: #3d2c00;
  font-size: 1.1cqw;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: 0 0.3cqw 0.8cqw rgb(22 22 22 / 22%);
  z-index: 4;
}

/* --- Écran 10 : astuce capture alternative ------------------------------- */
.astuce-bloc {
  display: flex;
  gap: 1.2cqw;
  align-items: baseline;
  margin-top: 1.1cqw;
  padding: 0.85cqw 1.4cqw;
  background: var(--jaune-tint);
  border-left: 0.5cqw solid var(--jaune);
  border-radius: 0 1.1cqw 1.1cqw 0;
}
.astuce-bloc strong {
  flex-shrink: 0;
  font-size: 1.15cqw;
  color: #6a5200;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.astuce-bloc p {
  margin: 0;
  font-size: 1.15cqw;
  line-height: 1.35;
  color: #5c4a10;
}

/* --- Écran 11 : carte cliquable ------------------------------------------ */
.outil--lien {
  text-decoration: none;
  color: inherit;
  border-color: #c9c9e8;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.outil--lien:hover {
  transform: translateY(-3px);
  box-shadow: 0 1.4cqw 3cqw rgb(22 22 22 / 12%);
}
.outil__action {
  display: inline-flex;
  align-items: center;
  gap: 0.5cqw;
  margin-top: auto;
  padding-top: 0.8cqw;
  font-size: 1.2cqw;
  font-weight: 700;
  color: var(--bleu);
}

/* --- Écrans 12 à 16 : glossaire ------------------------------------------ */
.bilan-droite {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.bilan-droite .bilan-liste {
  flex: 1;
}
.bilan-glossaire {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.28cqw 1.1cqw;
  margin-top: 0.6cqw;
  padding-top: 0.6cqw;
  border-top: 1px solid #e4e0d4;
}
.bilan-glossaire > .bilan-glossaire__titre {
  font-size: 1cqw;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gris);
}
.bilan-glossaire > span {
  font-size: 1cqw;
  line-height: 1.3;
  color: #55555f;
}
.bilan-glossaire b {
  color: var(--encre);
}

/* --- Adaptations mobiles des nouveaux composants ------------------------- */
@media (max-width: 820px) {
  .slide__cover-grille,
  .slide__statement--2 {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .couv-texte .slide__h1 {
    font-size: 2.3rem;
    max-width: none;
  }
  .couv-texte .slide__sous {
    font-size: 1rem;
    max-width: none;
  }
  .couv-pyramide__titre,
  .pyramide__etage small {
    font-size: 0.66rem;
  }
  .pyramide__etage strong {
    font-size: 0.86rem;
  }
  .pyramide__etage span {
    font-size: 0.72rem;
  }
  .pyramide__etage {
    padding: 10px 14px;
  }
  .lien-pilule {
    font-size: 0.8rem;
    padding: 8px 12px;
  }
  .statement-illu .coffre {
    max-width: 190px;
  }
  .tel {
    width: 150px;
    height: 290px;
    border-radius: 26px;
    padding: 7px;
  }
  .tel__ecran {
    border-radius: 20px;
  }
  .calc__ecran {
    height: 34px;
    font-size: 15px;
  }
  .calc__touche {
    font-size: 11px;
  }
  .cache-panneau {
    top: 96px;
    left: 8px;
    right: 8px;
    bottom: 8px;
  }
  .cache-panneau__barre {
    font-size: 10px;
  }
  .mini-bulle {
    font-size: 9px;
  }
  .story {
    width: 16px;
    height: 16px;
  }
  .tel--capture {
    width: 250px;
    height: 430px;
    border-radius: 34px;
  }
  .tel__statut {
    font-size: 12px;
    padding: 14px 12px 6px;
  }
  .tel__entete {
    padding: 8px 12px 10px;
  }
  .tel__avatar {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }
  .tel__identite strong {
    font-size: 13px;
  }
  .tel__identite small {
    font-size: 10px;
  }
  .bulle-message {
    font-size: 12px;
    padding: 7px 10px;
    border-radius: 12px;
  }
  .repere {
    width: 26px;
    height: 26px;
    font-size: 12px;
    left: -10px;
  }
  .astuce-bloc {
    flex-direction: column;
    gap: 4px;
    padding: 12px 14px;
  }
  .astuce-bloc strong,
  .astuce-bloc p {
    font-size: 0.85rem;
  }
  .outil__action {
    font-size: 0.82rem;
  }
  .bilan-glossaire > .bilan-glossaire__titre,
  .bilan-glossaire > span {
    font-size: 0.72rem;
  }
}


/* --- Appel vers la fiche-mémo -------------------------------------------- */
.memo-appel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 32px;
  padding: clamp(20px, 2.6vw, 30px) clamp(22px, 3vw, 34px);
  margin-bottom: clamp(18px, 2.4vw, 28px);
  background: var(--bleu-nuit);
  border-radius: var(--r-l);
  text-decoration: none;
  color: inherit;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.memo-appel:hover {
  transform: translateY(-3px);
  box-shadow: var(--ombre-3);
}
.memo-appel > div {
  flex: 1 1 420px;
}
.memo-appel__type {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--jaune);
  margin-bottom: 8px;
}
.memo-appel strong {
  display: block;
  color: #fff;
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  line-height: 1.2;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.memo-appel p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #c5c5dd;
  max-width: 62ch;
}
.memo-appel .btn {
  --btn-bg: #fff;
  --btn-fg: var(--bleu);
  flex-shrink: 0;
}


/* Mot mis en avant au centre du nuage, tiré au hasard à chaque visite */
.nuage__mot--vedette {
  text-decoration: underline;
  text-decoration-thickness: 0.07em;
  text-underline-offset: 0.13em;
}


/* --- Signature : collection All Inclusive --------------------------------- */
.signature {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 20px);
  margin: 24px 0 4px;
  padding: 16px clamp(16px, 2.4vw, 22px);
  background: #ed7203;
  border-radius: var(--r-m);
}
.signature__logo {
  flex-shrink: 0;
  width: 62px;
  height: 62px;
  padding: 4px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  display: grid;
  place-items: center;
  text-decoration: none;
  transition: transform 0.2s var(--ease);
}
.signature__logo:hover {
  transform: scale(1.04);
}
.signature__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.signature__texte {
  margin: 0;
  /* 18,9 px gras : seuil du « grand texte » — le blanc sur orange reste lisible */
  font-size: 1.18rem;
  line-height: 1.4;
  color: #fff;
  font-weight: 500;
}
.signature__texte strong {
  color: #fff;
  font-weight: 800;
}
.pied .signature__texte a {
  color: #fff;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  text-decoration-color: rgb(255 255 255 / 55%);
}
.pied .signature__texte a:hover {
  text-decoration-thickness: 2px;
}
@media (max-width: 560px) {
  .signature {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .signature__logo {
    width: 52px;
    height: 52px;
    border-radius: 50%;
  }
}


/* Garde-fou signature : un <strong> dans un fond sombre reste clair */
.pied .signature strong {
  color: inherit;
}
/* =============================================================================
   Cyberviolences — comprendre, dialoguer, agir
   Feuille de style unique. Typographie Marianne (État français).
   Plan : 1 fontes · 2 jetons · 3 base · 4 mise en page · 5 en-tête/pied
          6 composants · 7 accueil · 8 diaporama · 9 dictionnaire · 10 fiche
          11 ressources · 12 responsive · 13 impression · 14 mouvement réduit
   ========================================================================== */

/* 1. Fontes ---------------------------------------------------------------- */
@font-face {
  font-family: "Marianne";
  src: url("../fonts/Marianne-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Marianne";
  src: url("../fonts/Marianne-RegularItalic.otf") format("opentype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Marianne";
  src: url("../fonts/Marianne-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Marianne";
  src: url("../fonts/Marianne-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Marianne";
  src: url("../fonts/Marianne-ExtraBold.otf") format("opentype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* 2. Jetons ---------------------------------------------------------------- */
:root {
  --bleu: #000091;
  --bleu-nuit: #14143c;
  --bleu-tint: #e8e8fb;
  --bleu-tint-2: #f2f2fd;
  --rouge: #b3141c;
  --rouge-vif: #e1000f;
  --rouge-tint: #fdeceb;
  --violet: #63419b;
  --violet-tint: #efe9f8;
  --jaune: #f9c846;
  --jaune-tint: #fdf3d4;
  --menthe: #2f8f68;
  --menthe-tint: #e4f5ed;
  --encre: #161616;
  --texte: #2b2b2b;
  --gris: #66666e;
  --gris-clair: #8d8d96;
  --bord: #e2dfd5;
  --bord-fort: #cfcabd;
  --papier: #fbfaf7;
  --papier-2: #f5f3ec;
  --blanc: #ffffff;

  --ombre-1: 0 1px 2px rgb(22 22 22 / 4%), 0 4px 14px rgb(22 22 22 / 5%);
  --ombre-2: 0 2px 4px rgb(22 22 22 / 5%), 0 14px 38px rgb(22 22 22 / 9%);
  --ombre-3: 0 24px 60px rgb(20 20 60 / 16%);

  --r-s: 8px;
  --r-m: 14px;
  --r-l: 22px;
  --r-xl: 30px;

  --maxw: 1180px;
  --gouttiere: clamp(18px, 5vw, 48px);
  --entete: 74px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* 3. Base ------------------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--entete) + 16px);
}

body {
  margin: 0;
  background: var(--papier);
  color: var(--texte);
  font-family: "Marianne", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: clamp(16px, 1.05vw + 12px, 18px);
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4 {
  font-weight: 800;
  color: var(--encre);
  line-height: 1.08;
  letter-spacing: -0.022em;
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.15rem, 5.2vw, 4.15rem);
}
h2 {
  font-size: clamp(1.65rem, 3.1vw, 2.6rem);
}
h3 {
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  letter-spacing: -0.012em;
  line-height: 1.2;
}

p {
  margin: 0 0 1em;
  text-wrap: pretty;
}
p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--bleu);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover {
  text-decoration-thickness: 2px;
}

strong {
  font-weight: 700;
  color: var(--encre);
}

ul,
ol {
  margin: 0 0 1em;
  padding-left: 1.15em;
}
li {
  margin: 0.35em 0;
}

img,
svg {
  max-width: 100%;
  display: block;
}

:focus-visible {
  outline: 3px solid var(--bleu);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--jaune);
  color: var(--encre);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.saut-contenu {
  position: absolute;
  left: 50%;
  top: -60px;
  transform: translateX(-50%);
  z-index: 200;
  background: var(--bleu);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 var(--r-s) var(--r-s);
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}
.saut-contenu:focus {
  top: 0;
  color: #fff;
}

/* 4. Mise en page ---------------------------------------------------------- */
.enveloppe {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gouttiere);
}

.section {
  padding-block: clamp(56px, 8vw, 108px);
}
.section--serre {
  padding-block: clamp(40px, 5vw, 68px);
}
.section--papier {
  background: var(--papier-2);
}
.section--nuit {
  background: var(--bleu-nuit);
  color: #e9e9f4;
}
.section--nuit h2,
.section--nuit h3 {
  color: #fff;
}

.titre-section {
  max-width: 62ch;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.titre-section p {
  margin-top: 14px;
  color: var(--gris);
  font-size: 1.06em;
}
.section--nuit .titre-section p {
  color: #b9b9d0;
}

.surtitre {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bleu);
  margin-bottom: 18px;
}
.surtitre::before {
  content: "";
  width: 26px;
  height: 2px;
  background: currentColor;
}
.section--nuit .surtitre {
  color: var(--jaune);
}

.grille {
  display: grid;
  gap: clamp(16px, 2vw, 26px);
}
.grille--2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
}
.grille--3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
}
.grille--4 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
}

/* 5. En-tête et pied ------------------------------------------------------- */
.entete {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--entete);
  display: flex;
  align-items: center;
  background: rgb(255 255 255 / 88%);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--bord);
}
.entete__inner {
  display: flex;
  align-items: center;
  gap: 22px;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gouttiere);
}

.marque {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--encre);
  margin-right: auto;
  flex-shrink: 0;
}
.marque__logo {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}
.marque__texte {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.marque__nom {
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
}
.marque__sous {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gris);
  margin-top: 3px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__lien {
  position: relative;
  padding: 9px 13px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--texte);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}
.nav__lien:hover {
  background: var(--bleu-tint-2);
  color: var(--bleu);
}
.nav__lien[aria-current="page"] {
  background: var(--bleu);
  color: #fff;
  font-weight: 700;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--bord-fort);
  background: #fff;
  border-radius: 12px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.burger span,
.burger span::before,
.burger span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--encre);
  position: relative;
  transition: transform 0.2s var(--ease), opacity 0.2s;
}
.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
}
.burger span::before {
  top: -6px;
}
.burger span::after {
  top: 6px;
}

.pied {
  background: var(--bleu-nuit);
  color: #c8c8dc;
  padding-block: clamp(44px, 6vw, 72px) 28px;
  font-size: 0.92rem;
}
.pied a {
  color: #fff;
  text-decoration-color: rgb(255 255 255 / 35%);
}
.pied__grille {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  padding-bottom: 34px;
  border-bottom: 1px solid rgb(255 255 255 / 12%);
}
.pied h3 {
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 14px;
}
.pied ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pied li {
  margin: 0.5em 0;
}
.pied__bas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.82rem;
  color: #9a9ab8;
}
.pied__fin {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}

/* 6. Composants ------------------------------------------------------------ */
.btn {
  --btn-bg: var(--bleu);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: inherit;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease),
    background 0.18s var(--ease);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgb(0 0 145 / 22%);
  color: var(--btn-fg);
}
.btn:active {
  transform: translateY(0);
}
.btn--fantome {
  --btn-bg: transparent;
  --btn-fg: var(--encre);
  border-color: var(--bord-fort);
}
.btn--fantome:hover {
  --btn-bg: #fff;
  --btn-fg: var(--bleu);
  box-shadow: var(--ombre-1);
}
.btn--petit {
  padding: 8px 15px;
  font-size: 0.84rem;
}
.btn--rouge {
  --btn-bg: var(--rouge);
}

.pastille {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px 5px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: var(--bleu-tint);
  color: var(--bleu);
  border: 1px solid rgb(0 0 145 / 12%);
}
.pastille::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.pastille--rouge {
  background: var(--rouge-tint);
  color: var(--rouge);
  border-color: rgb(179 20 28 / 14%);
}
.pastille--violet {
  background: var(--violet-tint);
  color: var(--violet);
  border-color: rgb(99 65 155 / 14%);
}
.pastille--menthe {
  background: var(--menthe-tint);
  color: var(--menthe);
  border-color: rgb(47 143 104 / 16%);
}
.pastille--jaune {
  background: var(--jaune-tint);
  color: #8a6100;
  border-color: rgb(138 97 0 / 16%);
}

.carte {
  background: #fff;
  border: 1px solid var(--bord);
  border-radius: var(--r-l);
  padding: clamp(20px, 2.4vw, 30px);
  box-shadow: var(--ombre-1);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    border-color 0.25s var(--ease);
}
.carte--liee:hover {
  transform: translateY(-4px);
  box-shadow: var(--ombre-2);
  border-color: var(--bord-fort);
}

/* Apparition au défilement */
.js .revele {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: var(--delai, 0ms);
}
.js .revele.est-visible {
  opacity: 1;
  transform: none;
}

/* 7. Accueil --------------------------------------------------------------- */
.heros {
  position: relative;
  overflow: hidden;
  padding-block: clamp(52px, 8vw, 92px) clamp(64px, 9vw, 112px);
  background: linear-gradient(180deg, #fffdf8 0%, var(--papier) 58%, #f7f5ee 100%);
}
.heros::before,
.heros::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(58px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}
.heros::before {
  width: 46vw;
  height: 46vw;
  right: -12vw;
  top: -16vw;
  background: radial-gradient(circle, #ffe9a8 0%, rgb(255 233 168 / 0%) 68%);
}
.heros::after {
  width: 40vw;
  height: 40vw;
  left: -14vw;
  bottom: -16vw;
  background: radial-gradient(circle, #cfe6ff 0%, rgb(207 230 255 / 0%) 68%);
}
.heros__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.heros h1 {
  margin-bottom: 22px;
}
.heros h1 em {
  font-style: normal;
  position: relative;
  white-space: nowrap;
}
.heros h1 em::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: 0.06em;
  height: 0.34em;
  background: var(--jaune);
  z-index: -1;
  border-radius: 3px;
  transform: scaleX(0);
  transform-origin: left;
  animation: surligne 0.9s var(--ease-out) 0.35s forwards;
}
@keyframes surligne {
  to {
    transform: scaleX(1);
  }
}
.heros__chapo {
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  color: #41414a;
  max-width: 54ch;
  margin-bottom: 30px;
}
.heros__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.heros__note {
  margin-top: 26px;
  font-size: 0.84rem;
  color: var(--gris);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.heros__note span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

/* Composition de chiffres */
.chiffres-heros {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 8px;
}
.chiffre-carte {
  background: #fff;
  border: 1px solid var(--bord);
  border-radius: var(--r-l);
  padding: 20px 22px;
  box-shadow: var(--ombre-2);
  display: flex;
  align-items: center;
  gap: 18px;
  transform: rotate(var(--rot, 0deg));
  animation: flotte 7s ease-in-out infinite;
  animation-delay: var(--att, 0s);
}
.chiffre-carte:nth-child(1) {
  --rot: -1.1deg;
  margin-right: 34px;
}
.chiffre-carte:nth-child(2) {
  --rot: 0.9deg;
  margin-left: 30px;
  --att: 0.6s;
}
.chiffre-carte:nth-child(3) {
  --rot: -0.6deg;
  margin-right: 18px;
  --att: 1.2s;
}
@keyframes flotte {
  0%,
  100% {
    transform: rotate(var(--rot, 0deg)) translateY(0);
  }
  50% {
    transform: rotate(var(--rot, 0deg)) translateY(-6px);
  }
}
.chiffre-carte__valeur {
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--bleu);
  flex-shrink: 0;
  min-width: 3.2ch;
}
.chiffre-carte__texte {
  font-size: 0.88rem;
  line-height: 1.35;
  color: var(--texte);
}
.chiffre-carte__texte small {
  display: block;
  color: var(--gris);
  font-size: 0.76rem;
  margin-top: 3px;
}
.chiffre-carte--rouge .chiffre-carte__valeur {
  color: var(--rouge);
}

/* Bandeau d'alerte / repère */
.bandeau {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 26px;
  padding: clamp(18px, 2.4vw, 26px) clamp(20px, 3vw, 34px);
  border-radius: var(--r-l);
  background: var(--bleu);
  color: #fff;
  box-shadow: var(--ombre-2);
}
.bandeau__titre {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: #fff;
}
.bandeau__texte {
  font-size: 0.92rem;
  color: #d9d9f2;
  max-width: 56ch;
}
.bandeau__actions {
  margin-left: auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.bandeau .btn--fantome {
  --btn-fg: #fff;
  border-color: rgb(255 255 255 / 34%);
}
.bandeau .btn--fantome:hover {
  --btn-bg: rgb(255 255 255 / 12%);
  --btn-fg: #fff;
}
.bandeau--jaune {
  background: var(--jaune);
  color: var(--encre);
}
.bandeau--jaune .bandeau__titre {
  color: var(--encre);
}
.bandeau--jaune .bandeau__texte {
  color: #4a3800;
}
.bandeau--jaune .btn--fantome {
  --btn-fg: var(--encre);
  border-color: rgb(22 22 22 / 22%);
}
.bandeau--jaune .btn--fantome:hover {
  --btn-bg: rgb(255 255 255 / 30%);
  --btn-fg: var(--encre);
}

/* Deux grandes portes */
.portes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(18px, 2.4vw, 28px);
}
.porte {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3.4vw, 42px);
  border-radius: var(--r-xl);
  border: 1px solid var(--bord);
  background: #fff;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  min-height: 260px;
}
.porte::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -110px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: var(--porte-fond, var(--bleu-tint));
  opacity: 0.6;
  transition: transform 0.45s var(--ease);
}
.porte:hover {
  transform: translateY(-5px);
  box-shadow: var(--ombre-3);
}
.porte:hover::after {
  transform: scale(1.25);
}
.porte--dico {
  --porte-fond: var(--violet-tint);
}
.porte__num {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gris);
}
.porte h3 {
  font-size: clamp(1.4rem, 2.3vw, 1.85rem);
  margin: 12px 0 10px;
  max-width: 18ch;
  position: relative;
  z-index: 1;
}
.porte p {
  color: var(--gris);
  font-size: 0.95rem;
  max-width: 40ch;
  position: relative;
  z-index: 1;
}
.porte__pied {
  margin-top: auto;
  padding-top: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--bleu);
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
}
.porte__pied svg {
  transition: transform 0.25s var(--ease);
}
.porte:hover .porte__pied svg {
  transform: translateX(5px);
}

/* Arguments numérotés */
.argument {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.argument__num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--bleu-tint);
  color: var(--bleu);
  font-weight: 800;
  font-size: 0.95rem;
}
.argument h3 {
  margin-bottom: 8px;
}
.argument p {
  font-size: 0.95rem;
  color: #45454e;
}

/* 8. Diaporama ------------------------------------------------------------- */
.deck {
  --deck-fond: #12122e;
  background: var(--deck-fond);
  min-height: 100vh;
  padding: calc(var(--entete) + 18px) 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.deck__barre {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  color: #cfcfe6;
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
  font-size: 0.84rem;
}
.deck__compteur {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
}
.deck__chapitre {
  padding: 4px 11px;
  border-radius: 999px;
  background: rgb(255 255 255 / 10%);
  color: #e6e6f5;
  font-size: 0.76rem;
  font-weight: 500;
}
.deck__outils {
  margin-left: auto;
  display: flex;
  gap: 8px;
}
.deck__btn {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  border: 1px solid rgb(255 255 255 / 18%);
  background: rgb(255 255 255 / 6%);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.18s, transform 0.18s;
  padding: 0;
}
.deck__btn:hover {
  background: rgb(255 255 255 / 16%);
  transform: translateY(-1px);
}
.deck__btn:disabled {
  opacity: 0.32;
  cursor: default;
  transform: none;
}

.deck__scene {
  position: relative;
  width: min(100%, calc((100vh - 215px) * 16 / 9));
  max-width: 1400px;
  margin-inline: auto;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 30px 80px rgb(0 0 0 / 45%);
  container-type: inline-size;
  flex-shrink: 0;
}

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 4.2cqw 5cqw;
  background: #fff;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.32s var(--ease), transform 0.32s var(--ease);
  transform: translateX(14px);
  overflow: hidden;
}
.slide.est-actif {
  opacity: 1;
  visibility: visible;
  transform: none;
  z-index: 2;
}
.slide--sombre {
  background: var(--bleu-nuit);
  color: #e9e9f4;
}

.slide__titre {
  font-size: 4.7cqw;
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--encre);
  margin-bottom: 2.4cqw;
  max-width: 24ch;
}
.slide--sombre .slide__titre {
  color: #fff;
}
.slide__titre--centre {
  text-align: center;
  max-width: none;
}

/* — Couverture — */
.slide--cover {
  justify-content: center;
  background: linear-gradient(135deg, #ffffff 0%, #fdf9ee 55%, #f4f8ff 100%);
  position: relative;
}
.slide--cover::before,
.slide--cover::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.slide--cover::before {
  width: 34cqw;
  height: 34cqw;
  right: -8cqw;
  top: -10cqw;
  background: radial-gradient(circle at 35% 35%, #ffe08a, #f7c948 70%);
  opacity: 0.5;
  filter: blur(1px);
}
.slide--cover::after {
  width: 20cqw;
  height: 20cqw;
  left: -9cqw;
  bottom: -9cqw;
  background: radial-gradient(circle at 40% 40%, #a9d8ff, #6fa8e8 75%);
  opacity: 0.3;
}
.slide__eyebrow {
  font-size: 2.1cqw;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bleu);
  margin-bottom: 2.4cqw;
  position: relative;
  z-index: 2;
}
.slide__h1 {
  font-size: 7.6cqw;
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 800;
  color: var(--bleu-nuit);
  max-width: 16ch;
  position: relative;
  z-index: 2;
}
.slide__sous {
  font-size: 2.6cqw;
  color: #4a4a5e;
  margin-top: 2.6cqw;
  max-width: 30ch;
  line-height: 1.35;
  position: relative;
  z-index: 2;
}
.slide__mentions {
  display: flex;
  gap: 1.2cqw;
  flex-wrap: wrap;
  margin-top: 4cqw;
  position: relative;
  z-index: 2;
}
.slide__mentions span {
  font-size: 1.9cqw;
  font-weight: 600;
  padding: 0.8cqw 1.8cqw;
  border-radius: 999px;
  background: rgb(255 255 255 / 78%);
  border: 1px solid rgb(0 0 145 / 14%);
  color: var(--bleu);
}

/* — Cartes 2 / 3 — */
.slide__cartes {
  display: grid;
  gap: 2.2cqw;
  flex: 1;
  align-content: center;
}
.slide__cartes--2 {
  grid-template-columns: 1fr 1fr;
}
.slide__cartes--3 {
  grid-template-columns: 1fr 1.05fr 1fr;
}
.carte-slide {
  background: #fff;
  border: 1px solid #e8e6dd;
  border-radius: 3cqw;
  padding: 3cqw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.4cqw;
  box-shadow: 0 1.6cqw 4cqw rgb(22 22 22 / 7%);
  position: relative;
}
.carte-slide--centre {
  background: var(--bleu-nuit);
  color: #e6e6f5;
  border-color: transparent;
}
.carte-slide--centre h3,
.carte-slide--centre .carte-slide__tag {
  color: #fff;
}
.carte-slide--centre p {
  color: #c3c3dc;
}
.carte-slide__tag {
  font-size: 1.7cqw;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--bleu);
}
.carte-slide h3 {
  font-size: 3.1cqw;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.carte-slide p {
  font-size: 1.9cqw;
  line-height: 1.4;
  color: #4c4c58;
  margin: 0;
}
.carte-slide__surtitre {
  font-size: 1.8cqw;
  font-weight: 700;
  color: var(--rouge);
  letter-spacing: 0.04em;
}

/* — Déclaration — */
.slide--statement {
  justify-content: center;
  background: linear-gradient(160deg, #f7f4ea 0%, #fff 60%);
}
.slide__accroche {
  font-size: 3.4cqw;
  font-weight: 700;
  line-height: 1.2;
  color: var(--bleu);
  max-width: 26ch;
  margin-bottom: 3cqw;
}
.slide__etiquettes {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4cqw;
  margin-bottom: 3cqw;
}
.slide__etiquettes span {
  font-size: 2.3cqw;
  font-weight: 700;
  padding: 1.1cqw 2.4cqw;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--bord-fort);
  color: var(--encre);
}
.slide__texte {
  font-size: 2.6cqw;
  line-height: 1.45;
  color: #3c3c46;
  max-width: 46ch;
}

/* — Comparaison — */
.slide:has(.slide__compare) .slide__titre {
  font-size: 4.2cqw;
  margin-bottom: 1.8cqw;
}
.slide__compare .tel {
  width: 8.4cqw;
  height: 16.5cqw;
  border-radius: 1.7cqw;
  margin-bottom: 1.2cqw;
}
.slide__compare .tel__ecran {
  border-radius: 1.4cqw;
}
.slide__compare .calc {
  padding: 0.9cqw 0.5cqw 0.5cqw;
  gap: 0.35cqw;
}
.slide__compare .calc__ecran {
  height: 2.1cqw;
  font-size: 1cqw;
}
.slide__compare .calc__touche {
  font-size: 0.7cqw;
}
.slide__compare .cache-panneau {
  top: 6.4cqw;
  left: 0.5cqw;
  right: 0.5cqw;
  bottom: 0.5cqw;
}
.slide__compare .cache-panneau__barre {
  font-size: 0.62cqw;
}
.slide__compare .mini-bulle {
  font-size: 0.58cqw;
}
.slide__compare .story {
  width: 1cqw;
  height: 1cqw;
}
.slide__compare .compare-col {
  padding: 1.8cqw;
}
.slide__compare .compare-col h3 {
  font-size: 2.8cqw;
}
.slide__compare .compare-col p {
  font-size: 1.85cqw;
}
.slide__legende {
  margin-top: 1.6cqw;
  font-size: 1.85cqw;
  padding: 1.2cqw 1.8cqw;
}
.slide:has(.slide__compare) .slide__titre {
  font-size: 4.2cqw;
  margin-bottom: 1.6cqw;
}
.slide__compare .tel {
  width: 8.2cqw;
  height: 16cqw;
  border-radius: 1.6cqw;
  margin-bottom: 1.1cqw;
}
.slide__compare .tel__ecran {
  border-radius: 1.3cqw;
}
.slide__compare .calc {
  padding: 0.9cqw 0.5cqw 0.5cqw;
  gap: 0.32cqw;
}
.slide__compare .calc__ecran {
  height: 2cqw;
  font-size: 0.95cqw;
}
.slide__compare .calc__touche {
  font-size: 0.66cqw;
}
.slide__compare .cache-panneau {
  top: 6.1cqw;
  left: 0.45cqw;
  right: 0.45cqw;
  bottom: 0.45cqw;
}
.slide__compare .cache-panneau__barre {
  font-size: 0.58cqw;
  padding: 0.35cqw 0.5cqw;
}
.slide__compare .mini-bulle {
  font-size: 0.54cqw;
  padding: 0.25cqw 0.4cqw;
}
.slide__compare .story {
  width: 0.9cqw;
  height: 0.9cqw;
}
.slide__compare .compare-col {
  padding: 1.7cqw;
}
.slide__compare .compare-col h3 {
  font-size: 2.7cqw;
}
.slide__compare .compare-col p {
  font-size: 1.8cqw;
}
.slide__legende {
  margin-top: 1.4cqw;
  font-size: 1.8cqw;
  padding: 1.1cqw 1.7cqw;
}
.slide:has(.slide__compare) .slide__titre {
  font-size: 4.2cqw;
  margin-bottom: 1.6cqw;
}
.slide__compare .tel {
  width: 8.2cqw;
  height: 16cqw;
  border-radius: 1.6cqw;
  margin-bottom: 1.1cqw;
}
.slide__compare .tel__ecran {
  border-radius: 1.3cqw;
}
.slide__compare .calc {
  padding: 0.9cqw 0.5cqw 0.5cqw;
  gap: 0.32cqw;
}
.slide__compare .calc__ecran {
  height: 2cqw;
  font-size: 0.95cqw;
}
.slide__compare .calc__touche {
  font-size: 0.66cqw;
}
.slide__compare .cache-panneau {
  top: 6.1cqw;
  left: 0.45cqw;
  right: 0.45cqw;
  bottom: 0.45cqw;
}
.slide__compare .cache-panneau__barre {
  font-size: 0.58cqw;
  padding: 0.35cqw 0.5cqw;
}
.slide__compare .mini-bulle {
  font-size: 0.54cqw;
  padding: 0.25cqw 0.4cqw;
}
.slide__compare .story {
  width: 0.9cqw;
  height: 0.9cqw;
}
.slide__compare .compare-col {
  padding: 1.7cqw;
}
.slide__compare .compare-col h3 {
  font-size: 2.7cqw;
}
.slide__compare .compare-col p {
  font-size: 1.8cqw;
}
.slide__legende {
  margin-top: 1.4cqw;
  font-size: 1.8cqw;
  padding: 1.1cqw 1.7cqw;
}
.slide__compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2.4cqw;
  align-items: center;
  flex: 1;
}
.compare-col {
  background: #f6f6fb;
  border: 1px solid #e3e3f0;
  border-radius: 2.6cqw;
  padding: 2.6cqw;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.2cqw;
}
.compare-col--cache {
  background: var(--bleu-tint-2);
  border-color: #d6d6ee;
}
.compare-col__surtitre {
  font-size: 1.7cqw;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gris);
}
.compare-col h3 {
  font-size: 3.4cqw;
  color: var(--bleu-nuit);
}
.compare-col p {
  font-size: 2.05cqw;
  line-height: 1.4;
  color: #4c4c58;
  margin: 0;
}
.compare-fleche {
  width: 5.5cqw;
  height: 5.5cqw;
  color: var(--menthe);
}
.slide__legende {
  margin-top: 2.4cqw;
  font-size: 2.05cqw;
  line-height: 1.4;
  padding: 1.6cqw 2.2cqw;
  border-left: 0.6cqw solid var(--jaune);
  background: #fdfaf0;
  border-radius: 0 1cqw 1cqw 0;
  color: #3c3c46;
}

/* — Deux colonnes — */
.slide__split {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 4cqw;
  flex: 1;
  align-items: start;
}
.slide__split h3 {
  font-size: 2.6cqw;
  margin-bottom: 1.6cqw;
}
.slide__split ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.4cqw;
}
.slide__split li {
  font-size: 2.05cqw;
  line-height: 1.4;
  padding-left: 2.8cqw;
  position: relative;
  color: #3c3c46;
}
.slide__split li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 1.2cqw;
  height: 1.2cqw;
  border-radius: 50%;
  background: var(--rouge-vif);
}
.bloc-defense {
  background: var(--bleu-nuit);
  color: #fff;
  border-radius: 2.6cqw;
  padding: 3cqw;
}
.bloc-defense h3 {
  color: var(--jaune);
  font-size: 2.4cqw;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.bloc-defense p {
  font-size: 2.9cqw;
  font-weight: 700;
  line-height: 1.2;
  margin-top: 1.4cqw;
  color: #fff;
}
.slide__punchline {
  margin-top: 1.2cqw;
  padding-top: 1.5cqw;
  font-size: 1.95cqw;
  line-height: 1.4;
  font-weight: 700;
  color: var(--bleu-nuit);
  border-top: 0.4cqw solid var(--jaune);
}

/* — Étapes — */
.slide--steps .slide__alerte {
  font-size: 2.3cqw;
  line-height: 1.4;
  background: var(--rouge-tint);
  color: #7a0e14;
  border-left: 0.5cqw solid var(--rouge-vif);
  border-radius: 0 1.4cqw 1.4cqw 0;
  padding: 1.8cqw 2.2cqw;
  margin-bottom: 3.4cqw;
  font-weight: 500;
}
.etapes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.4cqw;
  flex: 1;
  align-content: center;
}
.etape {
  background: #fff;
  border: 1px solid var(--bord);
  border-radius: 2.4cqw;
  padding: 2.6cqw;
  display: flex;
  flex-direction: column;
  gap: 1cqw;
  box-shadow: 0 1.2cqw 3cqw rgb(22 22 22 / 6%);
}
.etape__num {
  width: 4.2cqw;
  height: 4.2cqw;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--bleu);
  color: #fff;
  font-weight: 800;
  font-size: 2cqw;
}
.etape h3 {
  font-size: 2.7cqw;
}
.etape p {
  font-size: 1.95cqw;
  line-height: 1.35;
  color: #4c4c58;
  margin: 0;
}

/* — Capture d'écran — */
.slide__capture {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 3cqw;
  flex: 1;
  align-items: center;
}
.capture-points {
  display: grid;
  gap: 1.7cqw;
}
.capture-point {
  display: flex;
  gap: 1.6cqw;
  align-items: flex-start;
}
.capture-point__num {
  flex-shrink: 0;
  width: 3.4cqw;
  height: 3.4cqw;
  border-radius: 50%;
  background: var(--jaune);
  color: #3d2c00;
  font-weight: 800;
  font-size: 1.9cqw;
  display: grid;
  place-items: center;
}
.capture-point h3 {
  font-size: 2.05cqw;
  margin-bottom: 0.4cqw;
}
.capture-point p {
  font-size: 1.7cqw;
  line-height: 1.35;
  color: #4c4c58;
  margin: 0;
}
.apercu-tel {
  background: #f1f0ea;
  border-radius: 3cqw;
  padding: 2.2cqw;
  border: 1px solid var(--bord);
}
.apercu-tel__barre {
  display: flex;
  align-items: center;
  gap: 1cqw;
  font-size: 1.7cqw;
  font-weight: 700;
  color: var(--gris);
  padding-bottom: 1.4cqw;
  border-bottom: 1px solid var(--bord);
  margin-bottom: 1.6cqw;
}
.apercu-tel__barre::before {
  content: "";
  width: 1.4cqw;
  height: 1.4cqw;
  border-radius: 50%;
  background: var(--menthe);
}
.bulle {
  max-width: 82%;
  padding: 0.9cqw 1.4cqw;
  border-radius: 1.4cqw;
  font-size: 1.6cqw;
  line-height: 1.3;
  margin-bottom: 1cqw;
  background: #fff;
  border: 1px solid var(--bord);
}
.bulle--moi {
  margin-left: auto;
  background: var(--bleu);
  color: #fff;
  border-color: transparent;
}
.astuce {
  margin-top: 1.2cqw;
  font-size: 1.45cqw;
  line-height: 1.35;
  color: #6a5a12;
  background: var(--jaune-tint);
  padding: 1.2cqw 1.5cqw;
  border-radius: 1.2cqw;
}

/* — Niveaux — */
.niveaux {
  display: grid;
  gap: 1.2cqw;
  flex: 1;
  align-content: center;
}
.niveau {
  display: grid;
  grid-template-columns: 4.6cqw 1fr;
  align-items: start;
  gap: 1.8cqw;
  background: #fff;
  border: 1px solid var(--bord);
  border-radius: 1.8cqw;
  padding: 0.95cqw 1.6cqw;
  box-shadow: 0 1cqw 2.6cqw rgb(22 22 22 / 5%);
  margin-right: calc(var(--decal, 0) * 1cqw);
}
.niveau__badge {
  width: 4.6cqw;
  height: 4.6cqw;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.9cqw;
  font-weight: 800;
  color: #fff;
  background: var(--bleu);
}
.niveau__sur {
  display: block;
  font-size: 1.25cqw;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gris);
  margin-bottom: 0.4cqw;
}
.niveau h3 {
  font-size: 1.9cqw;
  line-height: 1.15;
}
.niveau p {
  font-size: 1.46cqw;
  line-height: 1.32;
  color: #4c4c58;
  margin: 0.3cqw 0 0;
}
.niveau--1 {
  --decal: 6;
}
.niveau--2 {
  --decal: 3;
}
.niveau--3 {
  --decal: 0;
  background: var(--bleu-nuit);
  border-color: transparent;
}
.niveau--3 h3 {
  color: #fff;
}
.niveau--3 p {
  color: #c3c3dc;
}
.niveau--3 .niveau__badge {
  background: var(--jaune);
  color: #3d2c00;
}

/* — Boîte à outils — */
.slide__outils {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2cqw;
  flex: 1;
  align-content: center;
}
.outil {
  background: #fff;
  border: 1px solid var(--bord);
  border-radius: 2.4cqw;
  padding: 2.6cqw;
  display: flex;
  flex-direction: column;
  gap: 0.8cqw;
}
.outil__label {
  font-size: 1.6cqw;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gris);
}
.outil__valeur {
  font-size: 2.9cqw;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--bleu);
  line-height: 1.05;
  overflow-wrap: break-word;
  hyphens: none;
}
.outil__valeur--long {
  font-size: 2cqw;
  line-height: 1.15;
}
.outil__detail {
  font-size: 1.75cqw;
  color: #55555f;
  line-height: 1.35;
}

/* — Bilan (5 points + panneau) — */
.slide--bilan {
  padding: 2.4cqw;
  display: grid;
  grid-template-columns: 32% 1fr;
  gap: 2cqw;
  align-items: stretch;
}
.bilan-panneau {
  background: var(--bleu-nuit);
  border-radius: 2cqw;
  padding: 2.2cqw 2cqw;
  display: flex;
  flex-direction: column;
  color: #fff;
}
.bilan-panneau__tag {
  align-self: flex-start;
  font-size: 1.35cqw;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  background: var(--jaune);
  color: #3d2c00;
  border-radius: 999px;
  padding: 0.6cqw 1.5cqw;
  margin-bottom: 1.6cqw;
}
.bilan-panneau h2 {
  font-size: 3.2cqw;
  line-height: 1.02;
  color: #fff;
  letter-spacing: -0.025em;
}
.bilan-panneau__intro {
  font-size: 1.5cqw;
  line-height: 1.36;
  color: #c9c9e2;
  margin-top: 1.4cqw;
}
.bilan-panneau__chiffre {
  margin-top: auto;
  padding-top: 1.2cqw;
  font-size: 7cqw;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.88;
  color: var(--jaune);
}
.bilan-panneau__label {
  font-size: 1.45cqw;
  line-height: 1.3;
  color: #d8d8ec;
  margin-top: 0.8cqw;
}
.bilan-liste {
  display: grid;
  gap: 0.85cqw;
  align-content: start;
}
.bilan-item {
  display: grid;
  grid-template-columns: 4cqw 1fr auto;
  align-items: center;
  gap: 1.3cqw;
  background: #f7f6f1;
  border: 1px solid #e8e5da;
  border-radius: 1.4cqw;
  padding: 0.7cqw 1.2cqw 0.7cqw 0.7cqw;
}
.bilan-item__num {
  width: 3.4cqw;
  height: 3.4cqw;
  border-radius: 50%;
  background: var(--jaune);
  color: #3d2c00;
  font-weight: 800;
  font-size: 1.4cqw;
  display: grid;
  place-items: center;
}
.bilan-item h3 {
  font-size: 1.64cqw;
  margin-bottom: 0.1cqw;
  color: var(--bleu-nuit);
}
.bilan-item p {
  font-size: 1.3cqw;
  line-height: 1.28;
  color: #55555f;
  margin: 0;
}
.bilan-item__tag {
  font-size: 1.2cqw;
  font-weight: 700;
  padding: 0.5cqw 1.1cqw;
  border-radius: 999px;
  background: var(--bleu);
  color: #fff;
  white-space: nowrap;
  align-self: center;
}

/* — Final — */
.slide--final {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4cqw;
  background: linear-gradient(140deg, #fdfaf0, #f3f7ff);
}
.slide--final h2 {
  font-size: 5.6cqw;
  line-height: 1;
  color: var(--bleu-nuit);
}
.slide--final h3 {
  font-size: 2.6cqw;
  font-weight: 500;
  color: var(--bleu);
  margin-top: 1cqw;
}
.slide--final p {
  font-size: 1.95cqw;
  color: #4c4c58;
  margin-top: 2.4cqw;
  max-width: 26ch;
}
.qr {
  justify-self: center;
  background: #fff;
  padding: 2cqw;
  border-radius: 2.4cqw;
  box-shadow: 0 2cqw 5cqw rgb(22 22 22 / 12%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2cqw;
}
.qr__url {
  font-size: 1.45cqw;
  font-weight: 600;
  color: var(--gris);
  letter-spacing: 0.01em;
}
.qr img {
  width: 20cqw;
  height: 20cqw;
}

/* — Sommaire en surimpression — */
.deck__vue {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: #0b0b22;
  overflow-y: auto;
  padding: 28px clamp(16px, 4vw, 48px) 48px;
  display: none;
}
.deck__vue.est-ouvert {
  display: block;
}
.deck__vue h2 {
  max-width: 1400px;
  margin-inline: auto;
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.deck__vue-grille {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 16px;
  max-width: 1400px;
  margin-inline: auto;
}
.vue-item {
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  padding: 0;
  text-align: left;
  position: relative;
  aspect-ratio: 16/9;
  transition: transform 0.18s var(--ease), border-color 0.18s;
}
.vue-item:hover {
  transform: translateY(-3px);
  border-color: var(--jaune);
}
.vue-item__num {
  position: absolute;
  left: 6px;
  top: 6px;
  z-index: 3;
  background: rgb(20 20 60 / 82%);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 700;
  border-radius: 5px;
  padding: 2px 6px;
}
.vue-item__mini {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px 12px;
  gap: 3px;
}
.vue-item__mini strong {
  font-size: 0.62rem;
  line-height: 1.15;
  color: var(--bleu-nuit);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.deck__aide {
  max-width: 1400px;
  margin: 0 auto;
  color: #8e8eae;
  font-size: 0.78rem;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
kbd {
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgb(255 255 255 / 10%);
  border: 1px solid rgb(255 255 255 / 18%);
  border-bottom-width: 2px;
  border-radius: 5px;
  padding: 1px 6px;
  color: #dcdcf0;
}

body.mode-presentation .entete,
body.mode-presentation .pied {
  display: none;
}
body.mode-presentation .deck {
  padding: 0;
  gap: 0;
  justify-content: center;
}
body.mode-presentation .deck__barre,
body.mode-presentation .deck__aide {
  display: none;
}
body.mode-presentation .deck__scene {
  width: min(100vw, calc(100vh * 16 / 9));
  max-width: none;
  border-radius: 0;
  box-shadow: none;
}

/* 9. Dictionnaire ---------------------------------------------------------- */
.dico-heros {
  padding-block: clamp(40px, 6vw, 72px) clamp(28px, 3vw, 40px);
  background: linear-gradient(180deg, #fff 0%, var(--papier) 100%);
  border-bottom: 1px solid var(--bord);
}
.dico-heros h1 {
  font-size: clamp(1.9rem, 4.2vw, 3.1rem);
  margin-bottom: 14px;
}
.dico-heros p {
  color: var(--gris);
  max-width: 60ch;
  font-size: 1.02rem;
}

.dico-outils {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}
.champ {
  position: relative;
  display: flex;
  align-items: center;
}
.champ svg {
  position: absolute;
  left: 18px;
  color: var(--gris);
  pointer-events: none;
}
.champ input {
  width: 100%;
  padding: 16px 52px 16px 52px;
  border-radius: 999px;
  border: 1px solid var(--bord-fort);
  background: #fff;
  font-family: inherit;
  font-size: 1rem;
  color: var(--encre);
  box-shadow: var(--ombre-1);
  transition: border-color 0.18s, box-shadow 0.18s;
}
.champ input::placeholder {
  color: var(--gris-clair);
}
.champ input:focus {
  outline: none;
  border-color: var(--bleu);
  box-shadow: 0 0 0 4px rgb(0 0 145 / 12%);
}
.champ__effacer {
  position: absolute;
  right: 8px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  color: var(--gris);
  cursor: pointer;
  display: none;
  place-items: center;
}
.champ__effacer.est-visible {
  display: grid;
}
.champ__effacer:hover {
  background: var(--papier-2);
  color: var(--encre);
}

.filtres {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
}
.filtre {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--bord-fort);
  background: #fff;
  color: var(--texte);
  font-family: inherit;
  font-size: 0.87rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s var(--ease);
}
.filtre:hover {
  border-color: var(--encre);
  transform: translateY(-1px);
}
.filtre__pastille {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--c, var(--gris));
}
.filtre[aria-pressed="true"] {
  background: var(--encre);
  color: #fff;
  border-color: var(--encre);
}
.filtre[aria-pressed="true"] .filtre__pastille {
  background: var(--c, var(--gris));
  box-shadow: 0 0 0 3px rgb(255 255 255 / 22%);
}
.filtre__n {
  font-size: 0.76rem;
  opacity: 0.62;
  font-variant-numeric: tabular-nums;
}

/* Nuage */
.nuage-cadre {
  position: relative;
  border-radius: var(--r-xl);
  border: 1px solid var(--bord);
  background:
    radial-gradient(circle at 12% 18%, rgb(249 200 70 / 12%), transparent 42%),
    radial-gradient(circle at 88% 82%, rgb(99 65 155 / 10%), transparent 45%),
    #fff;
  box-shadow: var(--ombre-1);
  overflow: hidden;
  margin-bottom: 26px;
}
.nuage {
  position: relative;
  width: 100%;
  height: clamp(380px, 48vw, 560px);
}
.nuage__mot {
  position: absolute;
  left: 0;
  top: 0;
  display: inline-block;
  border: 0;
  background: none;
  padding: 0.08em 0.16em;
  font-family: inherit;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.015em;
  color: var(--c);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transform-origin: center;
  transition: transform 0.22s var(--ease), filter 0.22s var(--ease),
    opacity 0.22s var(--ease);
  will-change: transform;
}
.nuage__mot:hover,
.nuage__mot:focus-visible {
  transform: scale(1.09);
  filter: saturate(1.25);
  z-index: 5;
}
.nuage__mot[data-cat="harcelement"] {
  --c: var(--rouge);
}
.nuage__mot[data-cat="pratique"] {
  --c: var(--bleu);
}
.nuage__mot[data-cat="plateforme"] {
  --c: var(--violet);
}
.nuage.est-filtre .nuage__mot {
  opacity: 0.16;
  pointer-events: none;
}
.nuage.est-filtre .nuage__mot.est-actif {
  opacity: 1;
  pointer-events: auto;
}

.nuage-legende {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
  margin-top: 14px;
  font-size: 0.83rem;
  color: var(--gris);
}
.nuage-legende span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.nuage-legende i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  display: inline-block;
}
.infobulle {
  position: fixed;
  z-index: 500;
  pointer-events: none;
  background: var(--encre);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 7px 11px;
  border-radius: 8px;
  box-shadow: var(--ombre-2);
  opacity: 0;
  transform: translate(-50%, -140%);
  transition: opacity 0.14s;
  max-width: 260px;
}
.infobulle.est-visible {
  opacity: 1;
}

/* Résultats */
.resultats-entete {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.resultats-entete h2 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}
.resultats-entete p {
  color: var(--gris);
  font-size: 0.88rem;
  margin: 0;
}

.liste-dico {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr));
  gap: 16px;
}
.entree {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 20px 20px 18px;
  background: #fff;
  border: 1px solid var(--bord);
  border-radius: var(--r-m);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease),
    border-color 0.2s;
  border-left: 4px solid var(--c, var(--bleu));
}
.entree[data-cat="harcelement"] {
  --c: var(--rouge);
}
.entree[data-cat="pratique"] {
  --c: var(--bleu);
}
.entree[data-cat="plateforme"] {
  --c: var(--violet);
}
.entree:hover {
  transform: translateY(-3px);
  box-shadow: var(--ombre-2);
  border-color: var(--bord-fort);
}
.entree__cat {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c);
}
.entree h3 {
  font-size: 1.1rem;
}
.entree__trad {
  font-size: 0.84rem;
  color: var(--gris);
  font-style: italic;
}
.entree__def {
  font-size: 0.88rem;
  color: #55555f;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.entree__fleche {
  margin-top: auto;
  padding-top: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--c);
  display: flex;
  align-items: center;
  gap: 6px;
}
.entree:hover .entree__fleche svg {
  transform: translateX(4px);
}
.entree__fleche svg {
  transition: transform 0.2s var(--ease);
}

.vide {
  text-align: center;
  padding: 60px 20px;
  color: var(--gris);
  border: 1px dashed var(--bord-fort);
  border-radius: var(--r-l);
  background: #fff;
}
.vide strong {
  display: block;
  color: var(--encre);
  font-size: 1.1rem;
  margin-bottom: 6px;
}

/* 10. Fiche ---------------------------------------------------------------- */
.fiche-heros {
  padding-block: clamp(30px, 4vw, 46px) clamp(26px, 3vw, 36px);
  border-bottom: 1px solid var(--bord);
  background: linear-gradient(180deg, #fff, var(--papier));
}
.fil {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--gris);
  margin-bottom: 22px;
}
.fil a {
  color: var(--gris);
  text-decoration: none;
}
.fil a:hover {
  color: var(--bleu);
  text-decoration: underline;
}
.fil span[aria-hidden] {
  opacity: 0.5;
}
.fiche-heros h1 {
  font-size: clamp(2rem, 4.6vw, 3.3rem);
  margin: 14px 0 10px;
  overflow-wrap: anywhere;
}
.fiche-heros__trad {
  font-size: clamp(1rem, 1.8vw, 1.24rem);
  color: var(--gris);
  font-style: italic;
}
.fiche-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
  align-items: center;
}

.fiche-corps {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(28px, 4vw, 52px);
  align-items: start;
  padding-block: clamp(34px, 5vw, 56px);
}
.fiche-corps h2 {
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gris);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.fiche-corps h2::before {
  content: "";
  width: 3px;
  height: 15px;
  border-radius: 2px;
  background: var(--c, var(--bleu));
}
.bloc-fiche {
  padding-bottom: 26px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--bord);
}
.bloc-fiche:last-child {
  border-bottom: 0;
  margin-bottom: 0;
}
.bloc-fiche p {
  font-size: 1.04rem;
  line-height: 1.65;
  color: #33333c;
  max-width: 68ch;
}
.bloc-fiche--suite {
  background: var(--papier-2);
  border: 1px solid var(--bord);
  border-radius: var(--r-m);
  padding: 20px 22px;
}
.bloc-fiche--suite h2::before {
  background: var(--gris);
}

.bloc-duo {
  display: grid;
  gap: 16px;
}
.encart {
  border-radius: var(--r-m);
  padding: 22px 24px;
  border: 1px solid;
  position: relative;
}
.encart h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 10px;
}
.encart p {
  font-size: 0.98rem;
  line-height: 1.6;
  margin: 0;
  color: #33333c;
}
.encart--parents {
  background: var(--bleu-tint-2);
  border-color: #d9d9f0;
}
.encart--parents h3 {
  color: var(--bleu);
}
.encart--ados {
  background: var(--jaune-tint);
  border-color: #f0e0ae;
}
.encart--ados h3 {
  color: #7a5600;
}
.encart--atouts {
  background: var(--menthe-tint);
  border-color: #c9e8d9;
}
.encart--atouts h3 {
  color: var(--menthe);
}
.encart--vigilance {
  background: var(--rouge-tint);
  border-color: #f5d3d1;
}
.encart--vigilance h3 {
  color: var(--rouge);
}
.encart--chiffre {
  background: var(--violet-tint);
  border-color: #ddd0f0;
}
.encart--chiffre h3 {
  color: var(--violet);
}

.fiche-cote {
  position: sticky;
  top: calc(var(--entete) + 20px);
  display: grid;
  gap: 14px;
}
.carte-urgence {
  background: var(--bleu-nuit);
  color: #e6e6f5;
  border-radius: var(--r-l);
  padding: 24px;
}
.carte-urgence h3 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 6px;
}
.carte-urgence p {
  font-size: 0.86rem;
  color: #b9b9d0;
  line-height: 1.5;
}
.carte-urgence__num {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 14px 0 4px;
}
.carte-urgence__num strong {
  font-size: 2.6rem;
  color: var(--jaune);
  letter-spacing: -0.04em;
  line-height: 1;
  font-weight: 800;
}
.carte-urgence__num span {
  font-size: 0.8rem;
  color: #b9b9d0;
}
.carte-urgence .btn {
  width: 100%;
  margin-top: 14px;
}
.fiche-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 26px;
  margin-top: 10px;
  border-top: 1px solid var(--bord);
}
.fiche-nav a {
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--bleu);
}
.fiche-nav a:hover {
  text-decoration: underline;
}
.fiche-nav a:last-child {
  margin-left: auto;
  text-align: right;
}
.fiche-nav small {
  display: block;
  color: var(--gris);
  font-weight: 400;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.actions-fiche {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}

/* 11. Ressources ----------------------------------------------------------- */
.res-heros {
  padding-block: clamp(46px, 7vw, 84px) clamp(30px, 4vw, 46px);
  background: linear-gradient(180deg, #fffdf7, var(--papier));
  border-bottom: 1px solid var(--bord);
}
.ressource {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px;
  border-radius: var(--r-m);
  border: 1px solid var(--bord);
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
  height: 100%;
}
.ressource:hover {
  transform: translateY(-3px);
  box-shadow: var(--ombre-2);
}
.ressource__type {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bleu);
}
.ressource strong {
  font-size: 1.05rem;
  line-height: 1.25;
}
.ressource__url {
  font-size: 0.8rem;
  color: var(--gris);
  overflow-wrap: anywhere;
}
.ressource p {
  font-size: 0.86rem;
  color: #55555f;
  margin: 4px 0 0;
  line-height: 1.45;
}

.reflexes {
  counter-reset: reflexe;
  display: grid;
  gap: 14px;
}
.reflexe {
  display: flex;
  gap: 16px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--bord);
  border-radius: var(--r-m);
  align-items: flex-start;
}
.reflexe::before {
  counter-increment: reflexe;
  content: counter(reflexe);
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--jaune);
  color: #3d2c00;
  font-weight: 800;
  font-size: 0.9rem;
  display: grid;
  place-items: center;
}
.reflexe h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}
.reflexe p {
  font-size: 0.9rem;
  color: #55555f;
  margin: 0;
  line-height: 1.5;
}

/* 12. Responsive ----------------------------------------------------------- */
@media (max-width: 1000px) {
  .heros__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .chiffres-heros {
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    padding: 0;
  }
  .chiffre-carte {
    margin: 0 !important;
    animation: none;
  }
  .fiche-corps {
    grid-template-columns: 1fr;
  }
  .fiche-cote {
    position: static;
    order: 2;
  }
  .pied__grille {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 780px) {
  :root {
    --entete: 64px;
  }
  .nav {
    position: fixed;
    inset: var(--entete) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: #fff;
    border-bottom: 1px solid var(--bord);
    padding: 12px var(--gouttiere) 18px;
    box-shadow: var(--ombre-2);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease),
      visibility 0.2s;
  }
  .nav.est-ouvert {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav__lien {
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 1rem;
  }
  .burger {
    display: flex;
  }
  .pied__grille {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .marque__sous {
    display: none;
  }
  .nuage {
    height: clamp(380px, 92vw, 560px);
  }
  .deck {
    padding: calc(var(--entete) + 10px) 8px 10px;
  }
  .deck__scene {
    border-radius: 12px;
  }
  .vue-item {
    aspect-ratio: 16/9;
  }
}

@media (max-width: 560px) {
  .heros {
    padding-block: 36px 56px;
  }
  .btn {
    width: 100%;
  }
  .bandeau__actions {
    width: 100%;
    margin-left: 0;
  }
  .fiche-heros h1 {
    font-size: 1.85rem;
  }
  .bloc-fiche p {
    font-size: 1rem;
  }
}

/* Mode « lecture » du diaporama sur petit écran */
@media (max-width: 820px) {
  .deck__scene {
    aspect-ratio: auto;
    min-height: 70vh;
  }
  .slide {
    position: relative;
    inset: auto;
    display: none;
    padding: 26px 22px;
    min-height: 70vh;
  }
  .slide.est-actif {
    display: flex;
  }
  .slide__titre {
    font-size: 1.65rem;
    margin-bottom: 18px;
  }
  .slide__h1 {
    font-size: 2.3rem;
  }
  .slide__sous {
    font-size: 1rem;
    margin-top: 12px;
  }
  .slide__eyebrow,
  .bilan-panneau__tag,
  .carte-slide__tag {
    font-size: 0.68rem;
  }
  .slide__mentions span {
    font-size: 0.78rem;
    padding: 6px 12px;
  }
  .slide__cartes--2,
  .slide__cartes--3,
  .etapes,
  .slide__outils,
  .slide--bilan,
  .slide--final,
  .slide__capture,
  .slide__compare {
    grid-template-columns: 1fr;
  }
  .carte-slide,
  .etape,
  .outil {
    padding: 18px;
    border-radius: 14px;
  }
  .carte-slide h3,
  .etape h3 {
    font-size: 1.15rem;
  }
  .carte-slide p,
  .etape p,
  .outil__detail,
  .bilan-item p,
  .slide__split li,
  .compare-col p,
  .slide__texte,
  .slide__accroche,
  .bloc-defense p,
  .slide__punchline,
  .niveau p {
    font-size: 0.92rem;
  }
  .slide__accroche {
    font-size: 1.2rem;
  }
  .bilan-panneau {
    padding: 20px;
  }
  .bilan-panneau h2 {
    font-size: 1.55rem;
  }
  .bilan-panneau__intro,
  .bilan-panneau__label,
  .bilan-item__tag {
    font-size: 0.8rem;
  }
  .bilan-panneau__chiffre {
    font-size: 3.4rem;
    margin-top: 18px;
  }
  .bilan-item {
    grid-template-columns: 40px 1fr;
    gap: 12px;
    padding: 12px;
  }
  .bilan-item__num {
    width: 34px;
    height: 34px;
    font-size: 0.82rem;
  }
  .bilan-item h3 {
    font-size: 0.98rem;
  }
  .bilan-item__tag {
    display: none;
  }
  .niveau {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-right: 0;
  }
  .niveau h3 {
    font-size: 1rem;
  }
  .niveau__badge {
    justify-self: start;
    padding: 4px 12px;
    font-size: 0.68rem;
  }
  .slide__split {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .slide__split h3 {
    font-size: 1.05rem;
  }
  .bloc-defense h3 {
    font-size: 0.85rem;
  }
  .capture-point h3 {
    font-size: 1rem;
  }
  .capture-point p,
  .capture-point__num,
  .apercu-tel__barre,
  .bulle,
  .astuce,
  .outil__valeur,
  .outil__label,
  .slide__legende,
  .compare-col__surtitre,
  .compare-col h3,
  .slide--final h2,
  .slide--final h3,
  .slide--final p,
  .etape__num,
  .slide__etiquettes span {
    font-size: 0.88rem;
  }
  .outil__valeur {
    font-size: 1.35rem;
  }
  .slide__etiquettes span {
    padding: 7px 14px;
  }
  .compare-fleche {
    transform: rotate(90deg);
    justify-self: center;
    width: 34px;
    height: 34px;
  }
  .asterisque,
  .qr img {
    width: 150px;
    height: 150px;
  }
  .slide--final h2 {
    font-size: 1.9rem;
  }
  .slide--final h3 {
    font-size: 1.05rem;
  }
  .etapes {
    gap: 12px;
  }
  .slide--bilan {
    padding: 18px;
  }
}

/* 13. Impression ----------------------------------------------------------- */
@media print {
  :root {
    --papier: #fff;
  }
  body {
    font-size: 10.5pt;
    background: #fff;
  }
  .entete,
  .pied,
  .deck__barre,
  .deck__aide,
  .deck__vue,
  .actions-fiche,
  .fiche-cote,
  .no-print {
    display: none !important;
  }
  .deck {
    background: #fff;
    padding: 0;
    display: block;
  }
  .deck__scene {
    aspect-ratio: auto;
    box-shadow: none;
    border-radius: 0;
    max-width: none;
  }
  .slide {
    position: static !important;
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    page-break-after: always;
    break-after: page;
    min-height: 0;
    padding: 14mm;
    border-bottom: 1px solid #ddd;
  }
  .slide__titre {
    font-size: 20pt;
  }
  .slide__h1 {
    font-size: 30pt;
  }
  .carte-slide h3,
  .etape h3,
  .bilan-item h3 {
    font-size: 11pt;
  }
  .carte-slide p,
  .etape p,
  .bilan-item p,
  .slide__split li,
  .slide__texte,
  .capture-point p,
  .niveau p {
    font-size: 9pt;
  }
  .bilan-panneau {
    background: #eee;
    color: #000;
  }
  .bilan-panneau h2,
  .bilan-panneau__intro,
  .bilan-panneau__label {
    color: #000;
  }
  .bilan-panneau__chiffre {
    color: #000;
    font-size: 32pt;
  }
  .revele {
    opacity: 1 !important;
    transform: none !important;
  }
  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 8pt;
    color: #666;
  }
}

/* 14. Mouvement réduit ----------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .revele,
  .js .revele {
    opacity: 1 !important;
    transform: none !important;
  }
  .heros h1 em::after {
    transform: scaleX(1);
  }
}

/* --- Compléments diaporama ------------------------------------------------- */
.deck__jauge {
  position: relative;
  flex: 1 1 90px;
  min-width: 70px;
  max-width: 340px;
  height: 4px;
  background: rgb(255 255 255 / 13%);
  border-radius: 2px;
  overflow: hidden;
}
.deck__jauge span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--jaune);
  border-radius: 2px;
  transition: width 0.35s var(--ease);
}
.deck__legende {
  text-align: center;
  color: #8e8eae;
  font-size: 0.78rem;
  margin: 2px 0 0;
}
@media (max-width: 780px) {
  .deck__jauge { display: none; }
  .deck__barre { gap: 8px; }
}





/* --- Nuage : mots qui n'ont pas trouvé place ------------------------------ */
.nuage__reste {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  padding: 0 clamp(16px, 3vw, 34px) clamp(14px, 2vw, 22px);
  font-size: 0.82rem;
  color: var(--gris);
}
.nuage__reste > span {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
}
.nuage__mot-simple {
  --c: var(--bleu);
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--c);
  text-decoration: none;
  border-bottom: 1px solid rgb(0 0 0 / 18%);
}
.nuage__mot-simple:hover {
  border-bottom-width: 2px;
}
.nuage__mot-simple[data-cat="harcelement"] {
  --c: var(--rouge);
}
.nuage__mot-simple[data-cat="plateforme"] {
  --c: var(--violet);
}
.nuage.est-filtre .nuage__mot-simple {
  opacity: 0.2;
  pointer-events: none;
}
.nuage.est-filtre .nuage__mot-simple.est-actif {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 640px) {
  .chiffres-heros {
    grid-template-columns: 1fr;
  }
  .chiffre-carte {
    padding: 16px 18px;
    gap: 14px;
  }
  .chiffre-carte__valeur {
    min-width: 2.6ch;
  }
  .chiffre-carte__texte {
    font-size: 0.84rem;
  }
}



/* --- Affiches à imprimer -------------------------------------------------- */
.affiche {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--bord);
  border-radius: var(--r-m);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease),
    border-color 0.22s;
  height: 100%;
}
.affiche:hover {
  transform: translateY(-4px);
  box-shadow: var(--ombre-2);
  border-color: var(--bord-fort);
}
.affiche__vignette {
  display: block;
  background: var(--papier-2);
  border-bottom: 1px solid var(--bord);
  overflow: hidden;
  aspect-ratio: 0.87;
}
.affiche__vignette img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}
.affiche__corps {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.affiche__titre {
  font-weight: 700;
  font-size: 0.96rem;
  line-height: 1.25;
  color: var(--encre);
}
.affiche__detail {
  font-size: 0.8rem;
  color: var(--gris);
}
.affiche__dl {
  margin-top: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--bleu);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.affiche:hover .affiche__dl svg {
  transform: translateY(2px);
}
.affiche__dl svg {
  transition: transform 0.2s var(--ease);
}

.partage-carte {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  padding: clamp(22px, 3vw, 34px);
  background: #fff;
  border: 1px solid var(--bord);
  border-radius: var(--r-l);
  box-shadow: var(--ombre-1);
}
.partage-carte img {
  width: 132px;
  height: 132px;
  flex-shrink: 0;
  border-radius: 8px;
}
.partage-carte__texte {
  flex: 1 1 280px;
}
.partage-carte__texte h3 {
  margin-bottom: 8px;
}
.partage-carte__texte p {
  font-size: 0.92rem;
  color: var(--gris);
  max-width: 52ch;
}
.partage-carte__url {
  display: inline-block;
  margin-top: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}


/* =========================================================================
   Composants du diaporama (deuxième vague)
   ========================================================================= */

/* --- Couverture : texte + pyramide des rôles ----------------------------- */
.slide__cover-grille {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 3.4cqw;
  align-items: center;
  width: 100%;
}
.couv-texte .slide__h1 {
  font-size: 5.1cqw;
  max-width: 15ch;
}
.couv-texte .slide__sous {
  font-size: 2.1cqw;
  max-width: 26ch;
  margin-top: 1.8cqw;
}
.couv-pyramide__titre {
  font-size: 1.35cqw;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gris);
  text-align: center;
  margin-bottom: 1.6cqw;
}
.pyramide {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8cqw;
}
.pyramide__etage {
  width: var(--w);
  background: var(--bg);
  color: #fff;
  border-radius: 1cqw;
  padding: 1cqw 1.4cqw;
  text-align: center;
  box-shadow: 0 0.7cqw 1.8cqw rgb(22 22 22 / 12%);
}
.pyramide__etage small {
  display: block;
  font-size: 0.95cqw;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.72;
  margin-bottom: 0.25cqw;
}
.pyramide__etage strong {
  color: inherit;
  display: block;
  font-size: 1.45cqw;
  line-height: 1.18;
  font-weight: 700;
}
.pyramide__etage span {
  display: block;
  font-size: 1.1cqw;
  opacity: 0.86;
  margin-top: 0.2cqw;
}
.pyramide__etage--clair {
  color: var(--bleu-nuit);
  border: 1px solid #cfcfee;
}
.pyramide__etage--clair small {
  opacity: 0.6;
}

/* --- Liens dans les cartes ------------------------------------------------ */
.carte-slide__liens {
  display: flex;
  flex-direction: column;
  gap: 0.6cqw;
  margin-top: auto;
  padding-top: 1.2cqw;
}
.lien-pilule {
  display: inline-flex;
  align-items: center;
  gap: 0.55cqw;
  align-self: flex-start;
  max-width: 100%;
  padding: 0.65cqw 1.1cqw;
  border-radius: 999px;
  background: var(--bleu-tint-2);
  border: 1px solid #dcdcf3;
  color: var(--bleu);
  font-size: 1.2cqw;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background 0.18s, border-color 0.18s;
}
.lien-pilule:hover {
  background: var(--bleu-tint);
  border-color: #c3c3e8;
}
.lien-pilule svg {
  flex-shrink: 0;
  opacity: 0.75;
}

/* --- Écran 4 : coffre-fort ------------------------------------------------ */
.slide__statement {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.slide__statement--2 {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(0, 0.68fr);
  gap: 3cqw;
  align-items: center;
}
.slide__statement--2 .slide__titre {
  font-size: 4cqw;
  margin-bottom: 1.8cqw;
}
.slide__statement--2 .slide__accroche {
  font-size: 2.45cqw;
  margin-bottom: 2cqw;
}
.slide__statement--2 .slide__texte {
  font-size: 2cqw;
  line-height: 1.42;
}
.slide__statement--2 .slide__etiquettes span {
  font-size: 1.85cqw;
  padding: 0.85cqw 1.7cqw;
}
.slide__statement--2 .slide__etiquettes {
  margin-bottom: 2cqw;
}
.statement-illu {
  display: flex;
  justify-content: center;
}
.statement-illu .coffre {
  width: 100%;
  max-width: 26cqw;
  filter: drop-shadow(0 1.6cqw 2.6cqw rgb(20 20 60 / 20%));
}

/* --- Téléphones (écrans 6 et 9) ------------------------------------------ */
.tel {
  position: relative;
  width: 11cqw;
  height: 21.5cqw;
  margin: 0 auto 1.6cqw;
  padding: 0.55cqw;
  background: #1b1b2b;
  border-radius: 2.1cqw;
  box-shadow: 0 1.3cqw 2.8cqw rgb(22 22 22 / 22%);
  flex-shrink: 0;
}
.tel__encoche {
  position: absolute;
  top: 0.7cqw;
  left: 50%;
  transform: translateX(-50%);
  width: 3.6cqw;
  height: 0.5cqw;
  border-radius: 999px;
  background: #1b1b2b;
  z-index: 5;
}
.tel__ecran {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 1.7cqw;
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.calc {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5cqw;
  padding: 1.2cqw 0.7cqw 0.7cqw;
}
.calc__ecran {
  height: 2.8cqw;
  border-radius: 0.5cqw;
  background: #eef0f4;
  color: #26262f;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 0.6cqw;
  font-size: 1.25cqw;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.calc__grille {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.3cqw;
}
.calc__touche {
  display: grid;
  place-items: center;
  background: #f1f2f5;
  border-radius: 0.4cqw;
  font-size: 0.9cqw;
  font-weight: 600;
  color: #33333d;
}
.calc__touche--zero {
  grid-column: span 2;
}
.calc__touche--egal {
  background: var(--bleu);
  color: #fff;
}
.cache-panneau {
  position: absolute;
  left: 0.7cqw;
  right: 0.7cqw;
  bottom: 0.7cqw;
  top: 8.2cqw;
  background: #fff;
  border-radius: 0.9cqw;
  border: 1px solid #e4e4ee;
  box-shadow: 0 0.8cqw 2cqw rgb(0 0 0 / 26%);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.cache-panneau__barre {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55cqw 0.7cqw;
  font-size: 0.8cqw;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
}
.cache-panneau__fermer {
  font-size: 1.1cqw;
  opacity: 0.85;
}
.cache-panneau__stories {
  display: flex;
  gap: 0.45cqw;
  padding: 0.6cqw 0.7cqw;
  border-bottom: 1px solid #f0f0f5;
}
.story {
  width: 1.35cqw;
  height: 1.35cqw;
  border-radius: 50%;
  background: conic-gradient(from 200deg, #feda75, #fa7e1e, #d62976, #962fbf);
  display: block;
}
.story--vu {
  background: #dcdce6;
}
.cache-panneau__fil {
  display: flex;
  flex-direction: column;
  gap: 0.4cqw;
  padding: 0.6cqw 0.7cqw;
}
.mini-bulle {
  align-self: flex-start;
  max-width: 92%;
  padding: 0.35cqw 0.55cqw;
  border-radius: 0.6cqw;
  background: #f1f1f6;
  color: #2a2a35;
  font-size: 0.75cqw;
  line-height: 1.25;
}
.mini-bulle--moi {
  align-self: flex-end;
  background: #e4e9ff;
}

/* --- Écran 9 : capture d'écran réaliste ---------------------------------- */
.apercu-capture {
  position: relative;
  width: min-content;
  margin-inline: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}
.tel--capture {
  width: 21cqw;
  height: 37cqw;
  border-radius: 2.8cqw;
  margin-bottom: 0;
}
.tel--capture .tel__ecran {
  border-radius: 2.4cqw;
}
.tel__statut {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1cqw 1.1cqw 0.5cqw;
  font-size: 1cqw;
  font-weight: 700;
  color: #22222c;
}
.tel__entete {
  display: flex;
  align-items: center;
  gap: 0.7cqw;
  padding: 0.6cqw 1cqw 0.8cqw;
  border-bottom: 1px solid #ededf3;
}
.tel__avatar {
  width: 2.4cqw;
  height: 2.4cqw;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e0e4f7;
  color: #3a3a58;
  font-size: 1.05cqw;
  font-weight: 800;
}
.tel__identite {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}
.tel__identite strong {
  font-size: 1.2cqw;
  color: #1e1e2a;
}
.tel__identite small {
  font-size: 0.85cqw;
  color: #8d8d9a;
}
.tel__fil {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.55cqw;
  padding: 0.9cqw;
  overflow: hidden;
}
.bulle-message {
  align-self: flex-start;
  max-width: 90%;
  padding: 0.55cqw 0.85cqw;
  border-radius: 1cqw;
  font-size: 1.05cqw;
  line-height: 1.28;
  background: #f1f1f5;
  color: #24242e;
}
.bulle-message--agressif {
  background: #fbe3e2;
  color: #8c1016;
}
.bulle-message--menace {
  background: var(--rouge);
  color: #fff;
  font-weight: 600;
}
.repere {
  position: absolute;
  left: -1.15cqw;
  top: var(--y);
  width: 2.3cqw;
  height: 2.3cqw;
  border-radius: 50%;
  background: var(--jaune);
  color: #3d2c00;
  font-size: 1.1cqw;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: 0 0.3cqw 0.8cqw rgb(22 22 22 / 22%);
  z-index: 4;
}

/* --- Écran 10 : astuce capture alternative ------------------------------- */
.astuce-bloc {
  display: flex;
  gap: 1.2cqw;
  align-items: baseline;
  margin-top: 1.1cqw;
  padding: 0.85cqw 1.4cqw;
  background: var(--jaune-tint);
  border-left: 0.5cqw solid var(--jaune);
  border-radius: 0 1.1cqw 1.1cqw 0;
}
.astuce-bloc strong {
  flex-shrink: 0;
  font-size: 1.15cqw;
  color: #6a5200;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.astuce-bloc p {
  margin: 0;
  font-size: 1.15cqw;
  line-height: 1.35;
  color: #5c4a10;
}

/* --- Écran 11 : carte cliquable ------------------------------------------ */
.outil--lien {
  text-decoration: none;
  color: inherit;
  border-color: #c9c9e8;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.outil--lien:hover {
  transform: translateY(-3px);
  box-shadow: 0 1.4cqw 3cqw rgb(22 22 22 / 12%);
}
.outil__action {
  display: inline-flex;
  align-items: center;
  gap: 0.5cqw;
  margin-top: auto;
  padding-top: 0.8cqw;
  font-size: 1.2cqw;
  font-weight: 700;
  color: var(--bleu);
}

/* --- Écrans 12 à 16 : glossaire ------------------------------------------ */
.bilan-droite {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.bilan-droite .bilan-liste {
  flex: 1;
}
.bilan-glossaire {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.28cqw 1.1cqw;
  margin-top: 0.6cqw;
  padding-top: 0.6cqw;
  border-top: 1px solid #e4e0d4;
}
.bilan-glossaire > .bilan-glossaire__titre {
  font-size: 1cqw;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gris);
}
.bilan-glossaire > span {
  font-size: 1cqw;
  line-height: 1.3;
  color: #55555f;
}
.bilan-glossaire b {
  color: var(--encre);
}

/* --- Adaptations mobiles des nouveaux composants ------------------------- */
@media (max-width: 820px) {
  .slide__cover-grille,
  .slide__statement--2 {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .couv-texte .slide__h1 {
    font-size: 2.3rem;
    max-width: none;
  }
  .couv-texte .slide__sous {
    font-size: 1rem;
    max-width: none;
  }
  .couv-pyramide__titre,
  .pyramide__etage small {
    font-size: 0.66rem;
  }
  .pyramide__etage strong {
    font-size: 0.86rem;
  }
  .pyramide__etage span {
    font-size: 0.72rem;
  }
  .pyramide__etage {
    padding: 10px 14px;
  }
  .lien-pilule {
    font-size: 0.8rem;
    padding: 8px 12px;
  }
  .statement-illu .coffre {
    max-width: 190px;
  }
  .tel {
    width: 150px;
    height: 290px;
    border-radius: 26px;
    padding: 7px;
  }
  .tel__ecran {
    border-radius: 20px;
  }
  .calc__ecran {
    height: 34px;
    font-size: 15px;
  }
  .calc__touche {
    font-size: 11px;
  }
  .cache-panneau {
    top: 96px;
    left: 8px;
    right: 8px;
    bottom: 8px;
  }
  .cache-panneau__barre {
    font-size: 10px;
  }
  .mini-bulle {
    font-size: 9px;
  }
  .story {
    width: 16px;
    height: 16px;
  }
  .tel--capture {
    width: 250px;
    height: 430px;
    border-radius: 34px;
  }
  .tel__statut {
    font-size: 12px;
    padding: 14px 12px 6px;
  }
  .tel__entete {
    padding: 8px 12px 10px;
  }
  .tel__avatar {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }
  .tel__identite strong {
    font-size: 13px;
  }
  .tel__identite small {
    font-size: 10px;
  }
  .bulle-message {
    font-size: 12px;
    padding: 7px 10px;
    border-radius: 12px;
  }
  .repere {
    width: 26px;
    height: 26px;
    font-size: 12px;
    left: -10px;
  }
  .astuce-bloc {
    flex-direction: column;
    gap: 4px;
    padding: 12px 14px;
  }
  .astuce-bloc strong,
  .astuce-bloc p {
    font-size: 0.85rem;
  }
  .outil__action {
    font-size: 0.82rem;
  }
  .bilan-glossaire > .bilan-glossaire__titre,
  .bilan-glossaire > span {
    font-size: 0.72rem;
  }
}


/* --- Appel vers la fiche-mémo -------------------------------------------- */
.memo-appel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 32px;
  padding: clamp(20px, 2.6vw, 30px) clamp(22px, 3vw, 34px);
  margin-bottom: clamp(18px, 2.4vw, 28px);
  background: var(--bleu-nuit);
  border-radius: var(--r-l);
  text-decoration: none;
  color: inherit;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.memo-appel:hover {
  transform: translateY(-3px);
  box-shadow: var(--ombre-3);
}
.memo-appel > div {
  flex: 1 1 420px;
}
.memo-appel__type {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--jaune);
  margin-bottom: 8px;
}
.memo-appel strong {
  display: block;
  color: #fff;
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  line-height: 1.2;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.memo-appel p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #c5c5dd;
  max-width: 62ch;
}
.memo-appel .btn {
  --btn-bg: #fff;
  --btn-fg: var(--bleu);
  flex-shrink: 0;
}


/* Mot mis en avant au centre du nuage, tiré au hasard à chaque visite */
.nuage__mot--vedette {
  text-decoration: underline;
  text-decoration-thickness: 0.07em;
  text-underline-offset: 0.13em;
}


/* --- Signature : collection All Inclusive --------------------------------- */
.signature {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 20px);
  margin: 24px 0 4px;
  padding: 16px clamp(16px, 2.4vw, 22px);
  background: #ed7203;
  border-radius: var(--r-m);
}
.signature__logo {
  flex-shrink: 0;
  width: 62px;
  height: 62px;
  padding: 4px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  display: grid;
  place-items: center;
  text-decoration: none;
  transition: transform 0.2s var(--ease);
}
.signature__logo:hover {
  transform: scale(1.04);
}
.signature__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.signature__texte {
  margin: 0;
  /* 18,9 px gras : seuil du « grand texte » — le blanc sur orange reste lisible */
  font-size: 1.18rem;
  line-height: 1.4;
  color: #fff;
  font-weight: 500;
}
.signature__texte strong {
  color: #fff;
  font-weight: 800;
}
.pied .signature__texte a {
  color: #fff;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  text-decoration-color: rgb(255 255 255 / 55%);
}
.pied .signature__texte a:hover {
  text-decoration-thickness: 2px;
}
@media (max-width: 560px) {
  .signature {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .signature__logo {
    width: 52px;
    height: 52px;
    border-radius: 50%;
  }
}


/* Garde-fou signature : un <strong> dans un fond sombre reste clair */
.pied .signature strong {
  color: inherit;
}


/* --- QR code en grand ---------------------------------------------------- */
.partage-carte__action {
  flex-shrink: 0;
}

.qr-plein {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: grid;
  place-items: center;
  padding: 3vw;
  background: rgb(9 9 28 / 94%);
}
.qr-plein[hidden] {
  display: none;
}
.qr-plein__boite {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(10px, 1.6vw, 18px);
  max-width: 96vw;
  max-height: 96vh;
  padding: clamp(16px, 2.4vw, 30px);
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 30px 80px rgb(0 0 0 / 45%);
}
.qr-plein__boite:fullscreen {
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  border-radius: 0;
  justify-content: center;
}
.qr-plein__entete {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
}
.qr-plein__titre {
  margin: 0;
  font-size: clamp(0.95rem, 1.6vw, 1.35rem);
  font-weight: 800;
  color: var(--encre);
  letter-spacing: -0.01em;
}
.qr-plein__fermer {
  margin-left: auto;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--bord-fort);
  background: #fff;
  color: var(--encre);
  cursor: pointer;
}
.qr-plein__fermer:hover {
  background: var(--papier-2);
}
.qr-plein img {
  width: min(68vh, 68vw);
  height: auto;
  display: block;
}
.qr-plein__boite:fullscreen img {
  width: min(76vh, 76vw);
}
.qr-plein__url {
  margin: 0;
  font-size: clamp(1rem, 2.4vw, 2rem);
  font-weight: 800;
  color: var(--bleu);
  letter-spacing: -0.02em;
}
.qr-plein__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
@media (max-width: 640px) {
  .partage-carte__action {
    width: 100%;
  }
  .partage-carte__action .btn {
    width: 100%;
  }
}

/* =========================================================================
   Page « Parlez-vous l'algospeak ? »
   ========================================================================= */
.algo-heros {
  padding-block: clamp(40px, 6vw, 76px) clamp(26px, 3vw, 38px);
  background:
    radial-gradient(circle at 88% 12%, rgb(249 200 70 / 16%), transparent 46%),
    radial-gradient(circle at 8% 90%, rgb(99 65 155 / 12%), transparent 44%),
    linear-gradient(180deg, #fff 0%, var(--papier) 100%);
  border-bottom: 1px solid var(--bord);
}
.algo-heros h1 {
  font-size: clamp(2rem, 4.6vw, 3.5rem);
  margin-bottom: 16px;
  max-width: 20ch;
}
.algo-heros__chapo {
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  color: #41414a;
  max-width: 68ch;
  margin-bottom: 26px;
}
.algo-chiffres {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
  align-items: baseline;
  font-size: 0.88rem;
  color: var(--gris);
}
.algo-chiffres strong {
  font-size: 1.15rem;
  color: var(--bleu);
  font-weight: 800;
  margin-right: 2px;
}

.algo-regles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(16px, 2vw, 24px);
}
.algo-regle {
  background: #fff;
  border: 1px solid var(--bord);
  border-radius: var(--r-l);
  padding: clamp(20px, 2.6vw, 28px);
  box-shadow: var(--ombre-1);
}
.algo-regle h2 {
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  margin: 14px 0 10px;
}
.algo-regle p:last-child {
  font-size: 0.95rem;
  color: #45454e;
  margin: 0;
}

.algo-outils {
  display: grid;
  gap: 14px;
  margin-bottom: 24px;
}
.algo-filtres {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
}
.algo-filtres__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gris);
  min-width: 104px;
}

.emoji-grille {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 16px;
}
.emoji {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--bord);
  border-radius: var(--r-m);
  padding: 16px 18px 14px;
  box-shadow: var(--ombre-1);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.emoji:hover {
  transform: translateY(-3px);
  box-shadow: var(--ombre-2);
}
.emoji__tete {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--bord);
  margin-bottom: 12px;
}
.emoji__glyphe {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  font-size: 1.55rem;
  line-height: 1;
  background: var(--papier-2);
  border-radius: 12px;
  font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
}
.emoji__titres {
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.emoji__titres h3 {
  font-size: 0.98rem;
  letter-spacing: -0.01em;
}
.emoji__initial {
  font-size: 0.76rem;
  color: var(--gris);
  margin-top: 2px;
}
.emoji__portee {
  margin-left: auto;
  flex-shrink: 0;
  align-self: flex-start;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--papier-2);
  color: var(--gris);
  border: 1px solid var(--bord);
  white-space: nowrap;
}
.emoji__portee--global {
  background: var(--menthe-tint);
  color: var(--menthe);
  border-color: rgb(47 143 104 / 22%);
}
.emoji__usages {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.emoji__usage p {
  margin: 0 0 4px;
  font-size: 0.87rem;
  line-height: 1.42;
  color: #3f3f49;
}
.emoji__region {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--bleu-tint-2);
  color: var(--bleu);
  border: 1px solid #dedef2;
}
.emoji__region[data-region="asie"] {
  background: var(--violet-tint);
  color: var(--violet);
  border-color: #e2d7f2;
}
.emoji__region[data-region="arabe"] {
  background: var(--menthe-tint);
  color: var(--menthe);
  border-color: #cde8dc;
}

.algo-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 30px;
  padding: clamp(20px, 3vw, 30px);
  background: #fff;
  border: 1px solid var(--bord);
  border-radius: var(--r-l);
  box-shadow: var(--ombre-1);
}
.algo-note > div {
  flex: 1 1 380px;
}

@media (max-width: 780px) {
  .algo-filtres__label {
    min-width: 100%;
    margin-bottom: 2px;
  }
  .algo-chiffres {
    gap: 6px 18px;
    font-size: 0.82rem;
  }
}

.renvoi-algospeak { margin-top: 18px; font-size: 0.92rem; color: var(--gris); }
.renvoi-algospeak a { font-weight: 700; }

/* --- Nuage d'emojis ------------------------------------------------------- */
.emoji-nuage-cadre {
  position: relative;
  border-radius: var(--r-xl);
  border: 1px solid var(--bord);
  background:
    radial-gradient(circle at 15% 18%, rgb(249 200 70 / 14%), transparent 44%),
    radial-gradient(circle at 86% 82%, rgb(99 65 155 / 11%), transparent 46%),
    #fff;
  box-shadow: var(--ombre-1);
  overflow: hidden;
  margin-bottom: 26px;
}
.emoji-nuage {
  position: relative;
  width: 100%;
  height: clamp(320px, 36vw, 460px);
}
.emoji-nuage__mot {
  position: absolute;
  padding: 0.05em;
  line-height: 1;
  background: none;
  border: 0;
  cursor: pointer;
  transform-origin: center;
  font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
  transition: transform 0.2s var(--ease), filter 0.2s var(--ease);
}
.emoji-nuage__mot:hover,
.emoji-nuage__mot:focus-visible {
  transform: scale(1.22);
  filter: saturate(1.12);
  z-index: 5;
}
.emoji-nuage__pied {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 18px;
  padding: 0 clamp(14px, 2vw, 20px) clamp(12px, 2vw, 16px);
  font-size: 0.82rem;
  color: var(--gris);
}
.emoji.est-flash {
  outline: 3px solid var(--jaune);
  outline-offset: 3px;
  box-shadow: 0 10px 30px rgb(249 200 70 / 32%);
}
@media (max-width: 780px) {
  .emoji-nuage {
    height: clamp(300px, 92vw, 420px);
  }
}
