/* ===========================================================================
 * ClearlyAccess — la feuille de style du site public.
 *
 * DEUX CONTRAINTES QUI S'OPPOSENT, ET COMMENT ELLES SONT ARBITRÉES.
 *
 * Le site doit impressionner : il vend un produit technique à des gens qui
 * jugent le sérieux d'un fournisseur sur sa vitrine. Mais il doit aussi se
 * charger vite, parce que la vitesse est un critère de classement Google et que
 * ce site n'a aucune autorité de domaine à opposer à ses concurrents.
 *
 * L'arbitrage : TOUT l'effet visuel est obtenu en CSS et en SVG, sans une seule
 * bibliothèque. Pas de Three.js (600 Ko), pas de framework d'animation. Ce
 * fichier fait quelques kilo-octets et se compresse à presque rien, et la page
 * reste utilisable même si le JavaScript échoue.
 *
 * `prefers-reduced-motion` coupe toutes les animations. Ce n'est pas une
 * politesse : les mouvements continus déclenchent des malaises chez les
 * personnes sujettes au mal des transports vestibulaire, et le produit est
 * vendu à des hôpitaux.
 * ========================================================================= */

:root {
  --encre: #0d1522;
  --encre-douce: #2b3648;
  --gris: #5b6472;
  --gris-clair: #8a93a2;
  --trait: #e3e7ec;
  --fond: #ffffff;
  --doux: #f6f8fa;

  --nuit: #081226;
  --nuit-2: #102341;

  --bleu: #1a56db;
  --bleu-vif: #3b82f6;
  --bleu-clair: #dbeafe;
  --bleu-fonce: #14409e;

  --vert: #0f7b4f;
  --vert-clair: #eaf6f0;
  --rouge: #b42318;
  --rouge-clair: #fef3f2;
  --ambre: #b54708;

  --max: 1120px;
  --rayon: 10px;
  --ombre: 0 1px 2px rgba(13, 21, 34, 0.04), 0 8px 24px rgba(13, 21, 34, 0.06);
  --ombre-forte:
    0 2px 4px rgba(13, 21, 34, 0.06), 0 16px 48px rgba(13, 21, 34, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--fond);
  color: var(--encre);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3 {
  line-height: 1.22;
  letter-spacing: -0.018em;
  margin: 0 0 0.5em;
  font-weight: 660;
}
h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.4rem);
  font-weight: 700;
}
h2 {
  font-size: clamp(1.55rem, 3.4vw, 2.25rem);
}
h3 {
  font-size: 1.1rem;
}
p {
  margin: 0 0 1.1em;
}
a {
  color: var(--bleu);
}

.bande {
  padding: 0 24px;
}
.centre {
  max-width: var(--max);
  margin: 0 auto;
}
.section {
  padding: 84px 0;
}
.section--doux {
  background: var(--doux);
  border-top: 1px solid var(--trait);
  border-bottom: 1px solid var(--trait);
}
.chapeau {
  font-size: 1.15rem;
  color: var(--gris);
  max-width: 62ch;
}

/* ---- en-tête --------------------------------------------------------- */
header {
  border-bottom: 1px solid var(--trait);
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  z-index: 30;
}
.entete {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
}
.marque {
  font-weight: 700;
  letter-spacing: -0.022em;
  font-size: 1.12rem;
  text-decoration: none;
  color: var(--encre);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.marque span {
  color: var(--bleu);
}
.marque svg {
  flex: none;
}
nav {
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: 0.93rem;
}
nav a {
  color: var(--gris);
  text-decoration: none;
}
nav a:hover {
  color: var(--encre);
}
@media (max-width: 860px) {
  nav .cache-mobile {
    display: none;
  }
}

/* Le sélecteur de langue : un <select> natif, praticable au pouce et annoncé
   correctement par les lecteurs d'écran. Un menu maison serait plus joli et
   moins fiable — et celui qui en a besoin ne lit pas la langue affichée. */
.langues {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.langues select {
  appearance: none;
  min-height: 38px;
  padding: 4px 30px 4px 11px;
  font: inherit;
  font-size: 0.9rem;
  color: var(--gris);
  background: transparent;
  border: 1px solid var(--trait);
  border-radius: 7px;
  cursor: pointer;
}
.langues select:hover {
  color: var(--encre);
  border-color: var(--gris-clair);
}
.langues::after {
  content: "";
  position: absolute;
  right: 11px;
  width: 7px;
  height: 7px;
  border-right: 1.6px solid var(--gris);
  border-bottom: 1.6px solid var(--gris);
  transform: rotate(45deg) translateY(-2px);
  pointer-events: none;
}

/* ---- boutons --------------------------------------------------------- */
.bouton {
  display: inline-block;
  background: var(--bleu);
  color: #fff;
  text-decoration: none;
  padding: 13px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.99rem;
  border: 1px solid var(--bleu);
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s,
    transform 0.15s;
}
.bouton:hover {
  background: var(--bleu-fonce);
  border-color: var(--bleu-fonce);
}
.bouton:active {
  transform: translateY(1px);
}
.bouton--fant {
  background: transparent;
  color: var(--encre);
  border-color: var(--trait);
}
.bouton--fant:hover {
  background: var(--doux);
  border-color: var(--gris-clair);
  color: var(--encre);
}
.bouton--clair {
  background: #fff;
  color: var(--nuit);
  border-color: #fff;
}
.bouton--clair:hover {
  background: var(--bleu-clair);
  border-color: var(--bleu-clair);
  color: var(--nuit);
}
.bouton--vide {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.bouton--vide:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}
:focus-visible {
  outline: 3px solid var(--bleu-vif);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ===========================================================================
 * L'ACCROCHE — fond sombre et chaîne animée.
 *
 * Le fond sombre n'est pas décoratif : il sépare nettement la promesse du reste
 * de la page, et il fait ressortir l'animation de la chaîne, qui est l'argument
 * central du produit. Le dégradé est en CSS pur (deux `radial-gradient`), donc
 * il ne coûte pas un octet de réseau.
 * ========================================================================= */
.accroche {
  position: relative;
  overflow: hidden;
  background: var(--nuit);
  color: #fff;
  padding: 92px 0 84px;
}
.accroche::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      900px 420px at 78% 12%,
      rgba(59, 130, 246, 0.22),
      transparent 62%
    ),
    radial-gradient(
      700px 380px at 8% 92%,
      rgba(26, 86, 219, 0.18),
      transparent 60%
    );
  pointer-events: none;
}
.accroche > .bande {
  position: relative;
  z-index: 1;
}
.accroche-grille {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 54px;
  align-items: center;
}
@media (max-width: 940px) {
  .accroche-grille {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
.accroche h1 {
  color: #fff;
}
.accroche .chapeau {
  color: #c3cfe2;
  font-size: 1.19rem;
  max-width: 46ch;
}
.oeil {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #a8e6c8;
  background: rgba(15, 123, 79, 0.16);
  border: 1px solid rgba(69, 196, 140, 0.3);
  padding: 5px 13px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.oeil::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #45c48c;
  box-shadow: 0 0 0 0 rgba(69, 196, 140, 0.7);
  animation: pouls 2.6s infinite;
}
@keyframes pouls {
  70% {
    box-shadow: 0 0 0 7px rgba(69, 196, 140, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(69, 196, 140, 0);
  }
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.apres {
  font-size: 0.88rem;
  color: #94a3b8;
  margin-top: 15px;
}

/* ---- la chaîne animée de l'accroche ---------------------------------- */
.chaine-visuel {
  position: relative;
  border-radius: 14px;
  background: linear-gradient(
    170deg,
    rgba(255, 255, 255, 0.07),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 22px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}
.chaine-visuel__titre {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8fa3bf;
  margin-bottom: 14px;
}
.chaine-visuel__etat {
  color: #45c48c;
  font-weight: 600;
}
.maillon {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 12px;
  align-items: start;
  padding: 9px 0;
  opacity: 0;
  animation: maillon-entre 0.55s ease forwards;
}
.maillon:nth-child(1) {
  animation-delay: 0.15s;
}
.maillon:nth-child(2) {
  animation-delay: 0.5s;
}
.maillon:nth-child(3) {
  animation-delay: 0.85s;
}
.maillon:nth-child(4) {
  animation-delay: 1.2s;
}
@keyframes maillon-entre {
  from {
    opacity: 0;
    transform: translateY(9px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.maillon__puce {
  position: relative;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: rgba(59, 130, 246, 0.19);
  border: 1px solid rgba(96, 165, 250, 0.45);
  display: grid;
  place-items: center;
  font-size: 0.68rem;
  color: #93c5fd;
  font-weight: 700;
}
.maillon:not(:last-child) .maillon__puce::after {
  content: "";
  position: absolute;
  top: 27px;
  left: 50%;
  width: 1.5px;
  height: 22px;
  transform: translateX(-50%);
  background: linear-gradient(
    to bottom,
    rgba(96, 165, 250, 0.55),
    rgba(96, 165, 250, 0.08)
  );
}
.maillon__corps {
  min-width: 0;
}
.maillon__ligne {
  font-size: 0.9rem;
  color: #e2e8f0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.maillon__hash {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  color: #7d93b2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===========================================================================
 * LA DÉMONSTRATION INTERACTIVE — le cœur de la page.
 *
 * Elle ne SIMULE rien : les empreintes sont calculées par `crypto.subtle` avec
 * le vrai SHA-256, et le chaînage reproduit exactement celui du produit. Le
 * visiteur peut donc falsifier une visite et constater lui-même que tout ce qui
 * suit se casse. C'est la seule façon honnête de démontrer l'argument — et
 * c'est plus convaincant que n'importe quelle capture d'écran.
 * ========================================================================= */
.demo {
  border: 1px solid var(--trait);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--ombre);
  overflow: hidden;
}
.demo__barre {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 14px 18px;
  background: var(--doux);
  border-bottom: 1px solid var(--trait);
}
.demo__etat {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 650;
  font-size: 0.94rem;
}
.demo__pastille {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--vert);
  flex: none;
}
.demo.est-rompue .demo__pastille {
  background: var(--rouge);
}
.demo__etat-texte {
  color: var(--vert);
}
.demo.est-rompue .demo__etat-texte {
  color: var(--rouge);
}
.demo__lignes {
  list-style: none;
  margin: 0;
  padding: 0;
}
.visite {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 15px 18px;
  border-bottom: 1px solid var(--trait);
  transition: background 0.2s;
}
.visite:last-child {
  border-bottom: 0;
}
.visite__index {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--bleu-clair);
  color: var(--bleu-fonce);
  font-weight: 700;
  font-size: 0.83rem;
}
.visite__corps {
  min-width: 0;
}
.visite__nom {
  font-weight: 600;
  font-size: 0.97rem;
}
.visite__meta {
  font-size: 0.86rem;
  color: var(--gris);
}
.visite__hash {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.74rem;
  color: var(--gris-clair);
  margin-top: 3px;
  word-break: break-all;
}
.visite__action {
  white-space: nowrap;
}
.mini {
  font: inherit;
  font-size: 0.83rem;
  font-weight: 600;
  padding: 7px 13px;
  border-radius: 7px;
  border: 1px solid var(--trait);
  background: #fff;
  color: var(--encre-douce);
  cursor: pointer;
}
.mini:hover {
  border-color: var(--gris-clair);
  background: var(--doux);
}

/* L'état « falsifiée » : la ligne modifiée en ambre, tout ce qui SUIT en rouge.
   La distinction compte — elle montre que la rupture se propage, ce qui est
   précisément la propriété qu'on vend. */
.visite.est-modifiee {
  background: #fffaf0;
}
.visite.est-modifiee .visite__index {
  background: #fef0c7;
  color: var(--ambre);
}
.visite.est-modifiee .visite__hash {
  color: var(--ambre);
}
.visite.est-invalide {
  background: var(--rouge-clair);
}
.visite.est-invalide .visite__index {
  background: #fee4e2;
  color: var(--rouge);
}
.visite.est-invalide .visite__hash {
  color: var(--rouge);
}
.visite__drapeau {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 4px;
}
.visite.est-modifiee .visite__drapeau {
  color: var(--ambre);
}
.visite.est-invalide .visite__drapeau {
  color: var(--rouge);
}
.demo__pied {
  padding: 15px 18px;
  background: var(--doux);
  border-top: 1px solid var(--trait);
  font-size: 0.89rem;
  color: var(--gris);
}
.demo__pied strong {
  color: var(--encre);
}
.sans-js {
  padding: 15px 18px;
  font-size: 0.9rem;
  color: var(--gris);
}

/* ---- grilles de cartes ------------------------------------------------ */
.grille {
  display: grid;
  gap: 22px;
  margin-top: 38px;
}
.grille--3 {
  grid-template-columns: repeat(3, 1fr);
}
.grille--2 {
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 880px) {
  .grille--3,
  .grille--2 {
    grid-template-columns: 1fr;
  }
}
.carte {
  background: #fff;
  border: 1px solid var(--trait);
  border-radius: var(--rayon);
  padding: 24px;
  box-shadow: var(--ombre);
}
.carte h3 {
  margin-bottom: 0.4em;
}
.carte p:last-child {
  margin-bottom: 0;
}
.carte__num {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--bleu-clair);
  color: var(--bleu-fonce);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 13px;
}
.carte__icone {
  color: var(--bleu);
  margin-bottom: 12px;
}

/* ---- visuels photographiques ----------------------------------------- */
.visuel {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--trait);
  box-shadow: var(--ombre-forte);
  background: var(--doux);
}
.visuel img {
  display: block;
  width: 100%;
  height: auto;
}
.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  align-items: center;
}
.duo--inverse .duo__texte {
  order: 2;
}
@media (max-width: 880px) {
  .duo {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .duo--inverse .duo__texte {
    order: 0;
  }
}

/* ---- ce que le produit ne fait pas ------------------------------------ */
.limites {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  display: grid;
  gap: 13px;
}
.limites li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--encre-douce);
}
.limites li::before {
  content: "—";
  color: var(--gris-clair);
  font-weight: 700;
}

/* ---- tarifs ----------------------------------------------------------- */
.tarifs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 38px;
  max-width: 780px;
}
@media (max-width: 760px) {
  .tarifs {
    grid-template-columns: 1fr;
  }
}
.tarif {
  border: 1px solid var(--trait);
  border-radius: var(--rayon);
  padding: 26px;
  background: #fff;
  box-shadow: var(--ombre);
}
.tarif--phare {
  border-color: var(--bleu);
  box-shadow:
    0 0 0 1px var(--bleu),
    var(--ombre-forte);
}
.tarif__nom {
  font-weight: 700;
  font-size: 1.02rem;
}
.tarif__prix {
  font-size: 2.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 8px 0 2px;
}
.tarif__unite {
  color: var(--gris);
  font-size: 0.9rem;
  margin-bottom: 16px;
}
.tarif ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  gap: 9px;
  font-size: 0.94rem;
}
.tarif li {
  display: grid;
  grid-template-columns: 19px 1fr;
  gap: 9px;
  align-items: start;
}
.tarif li::before {
  content: "✓";
  color: var(--vert);
  font-weight: 700;
}

/* ---- questions fréquentes -------------------------------------------- */
.faq {
  margin-top: 34px;
  display: grid;
  gap: 12px;
}
details {
  border: 1px solid var(--trait);
  border-radius: var(--rayon);
  background: #fff;
  padding: 0;
  overflow: hidden;
}
summary {
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 620;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: "+";
  color: var(--gris);
  font-size: 1.3rem;
  font-weight: 400;
  flex: none;
}
details[open] summary::after {
  content: "−";
}
details > div {
  padding: 0 20px 18px;
  color: var(--encre-douce);
}
details > div p:last-child {
  margin-bottom: 0;
}

/* ---- formulaire de contact ------------------------------------------- */
.contact {
  background: var(--nuit);
  color: #fff;
}
.contact h2 {
  color: #fff;
}
.contact .chapeau {
  color: #c3cfe2;
}
.formulaire {
  display: grid;
  gap: 15px;
  max-width: 560px;
  margin-top: 30px;
}
.champ label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #dbe4f0;
}
.champ input,
.champ textarea {
  width: 100%;
  font: inherit;
  font-size: 0.98rem;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}
.champ input::placeholder,
.champ textarea::placeholder {
  color: #7d8ea6;
}
.champ input:focus,
.champ textarea:focus {
  outline: 2px solid var(--bleu-vif);
  outline-offset: 1px;
  background: rgba(255, 255, 255, 0.1);
}
.miel {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.mention {
  font-size: 0.84rem;
  color: #94a3b8;
}
.mention a {
  color: #93c5fd;
}

/* ---- pied de page ----------------------------------------------------- */
footer {
  border-top: 1px solid var(--trait);
  padding: 34px 0;
  font-size: 0.89rem;
  color: var(--gris);
}
.pied-grille {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

/* Les dix langues en vrais liens — voir le commentaire de `gabarit.mjs`.
   Discret par construction : c'est une commodité de navigation et un chemin
   pour les explorateurs, pas un élément de la page. */
.pied-langues {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: baseline;
  padding-top: 14px;
  border-top: 1px solid var(--trait);
  font-size: 14px;
}
.pied-langues__titre {
  color: var(--gris-clair);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 12px;
}
.pied-langues ul {
  display: flex;
  gap: 4px 16px;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}
.pied-langues a[aria-current="page"] {
  color: var(--encre);
  font-weight: 600;
}
footer a {
  color: var(--gris);
  text-decoration: none;
}
footer a:hover {
  color: var(--encre);
  text-decoration: underline;
}

/* ---- accessibilité ---------------------------------------------------- */
.saut {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--bleu);
  color: #fff;
  padding: 10px 16px;
  z-index: 100;
  border-radius: 0 0 8px 0;
}
.saut:focus {
  left: 0;
}
.invisible {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .maillon {
    opacity: 1;
  }
}

/* L'en-tête est collant : sans cette marge, cliquer une ancre place le titre
   de section DERRIÈRE l'en-tête, et le visiteur atterrit sur un texte
   décapité. C'est le défaut le plus courant des barres de navigation fixes. */
section[id] {
  scroll-margin-top: 74px;
}

/* ---------------------------------------------------------------------------
 * L'EN-TÊTE SUR PETIT ÉCRAN.
 *
 * À 390 px de large, la marque, le sélecteur de langue et le bouton d'appel à
 * l'action ne tiennent pas côte à côte : le bouton débordait hors de l'écran.
 * On resserre plutôt que de masquer — le sélecteur de langue doit rester
 * atteignable, c'est la commande dont a besoin celui qui ne lit pas la page,
 * et le bouton de contact est la seule conversion de la page.
 * ------------------------------------------------------------------------- */
@media (max-width: 620px) {
  .entete {
    gap: 8px;
  }
  .marque {
    font-size: 1rem;
    gap: 6px;
  }
  .marque svg {
    width: 22px;
    height: 22px;
  }
  nav {
    gap: 8px;
  }
  .langues select {
    padding: 4px 24px 4px 8px;
    font-size: 0.82rem;
    max-width: 104px;
  }
  .langues::after {
    right: 8px;
  }
  nav .bouton {
    padding: 10px 13px;
    font-size: 0.88rem;
  }
}

/* Sous 380 px, la marque se réduit à son symbole : c'est le seul élément dont
   la disparition ne coûte rien, puisque le titre juste en dessous nomme déjà
   le produit. */
@media (max-width: 379px) {
  .marque {
    font-size: 0;
    gap: 0;
  }
  .marque svg {
    margin-right: 0;
  }
}

/* ===========================================================================
 * LES PAGES JURIDIQUES — mentions légales et politique de confidentialité.
 *
 * Ce ne sont pas des pages de vente : ce sont des documents longs, qu'on
 * consulte pour y CHERCHER une chose précise. Trois décisions en découlent.
 *
 * La colonne est étroite — 68 caractères — parce qu'un texte de loi se lit
 * ligne à ligne et qu'une ligne de 140 caractères fait perdre le retour à la
 * ligne suivante. Les titres portent une ancre, parce que ces documents se
 * citent entre eux (« § 4.4 ») et qu'un renvoi doit tomber au bon endroit.
 * Et les tableaux défilent DANS leur cadre : un tableau à quatre colonnes sur
 * un téléphone déborderait sinon la page entière, et c'est le corps du
 * document qui se mettrait à glisser latéralement.
 * ========================================================================= */

.document {
  max-width: 68ch;
  margin: 0 auto;
  color: var(--encre-douce);
  font-size: 1.02rem;
  line-height: 1.75;
}

.document h1 {
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  line-height: 1.15;
  color: var(--encre);
  margin: 0 0 28px;
  text-wrap: balance;
}

.document h2 {
  font-size: 1.45rem;
  line-height: 1.25;
  color: var(--encre);
  margin: 56px 0 14px;
  padding-top: 22px;
  border-top: 1px solid var(--trait);
  text-wrap: balance;
}

.document h3 {
  font-size: 1.14rem;
  color: var(--encre);
  margin: 34px 0 10px;
}

.document h4 {
  font-size: 1rem;
  color: var(--encre);
  margin: 26px 0 8px;
}

.document p {
  margin: 0 0 16px;
}

.document ul,
.document ol {
  margin: 0 0 18px;
  padding-left: 1.35em;
}

.document li {
  margin-bottom: 8px;
}

.document a {
  color: var(--bleu);
}

/* Un filet horizontal dans le texte source sépare deux sections ; les titres
   de niveau 2 portant déjà leur propre filet, en afficher un second ferait
   deux traits collés. */
.document hr {
  border: 0;
  height: 0;
  margin: 0;
}

.document code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88em;
  background: var(--doux);
  border: 1px solid var(--trait);
  border-radius: 4px;
  padding: 1px 5px;
  overflow-wrap: anywhere;
}

/* Une citation porte ici une PRÉCISION ou un avertissement, jamais une parole
   rapportée : d'où le trait bleu et le fond, plutôt que des guillemets. */
.document blockquote {
  margin: 0 0 20px;
  padding: 14px 18px;
  border-left: 3px solid var(--bleu);
  background: var(--doux);
  border-radius: 0 8px 8px 0;
}

.document blockquote > :last-child {
  margin-bottom: 0;
}

.tableau {
  overflow-x: auto;
  margin: 0 0 22px;
  border: 1px solid var(--trait);
  border-radius: 10px;
}

.document table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.94rem;
}

.document th,
.document td {
  text-align: left;
  vertical-align: top;
  padding: 10px 14px;
  border-bottom: 1px solid var(--trait);
}

.document th {
  background: var(--doux);
  color: var(--encre);
  font-weight: 600;
  white-space: nowrap;
}

.document tbody tr:last-child td {
  border-bottom: 0;
}

@media (max-width: 640px) {
  .document {
    font-size: 0.98rem;
  }
  .document th {
    white-space: normal;
  }
}
