/* ============================================================
   QuickTrack — feuille principale (chargée en différé)
   Le CSS critique (variables, reset, en-tête, hero) est inliné.
   Ordre : sections → visuel hero → problème → fonctionnement →
           cas d'usage → bénéfices → FAQ → appel final → pied →
           connexion → pages de texte → utilitaires
   ============================================================ */

/* --- Rythme des sections -------------------------------------- */
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section--brume { background: var(--qt-brume); border-block: 1px solid var(--qt-acier-100); }
.section--encre {
  background: var(--qt-noir); color: var(--qt-acier-200);
  position: relative; overflow: hidden;
}
.section--encre h2, .section--encre h3 { color: var(--qt-blanc); }

.section__entete { max-width: 46rem; margin-bottom: clamp(2.5rem, 4vw, 3.5rem); }
.section__entete--centre { margin-inline: auto; text-align: center; }
.section__entete--centre .etiquette { justify-content: center; }

h2.titre {
  font-size: clamp(1.95rem, 3.5vw, 2.85rem);
  font-weight: 800; letter-spacing: -.032em; margin-bottom: 1.05rem;
}
.chapo { font-size: 1.08rem; color: var(--qt-acier-600); }
.section--encre .chapo { color: var(--qt-acier-400); }

/* --- Visuel du hero : la caisse et son contenu ----------------- */
.hero__visuel { position: relative; }

.caisse {
  position: relative;
  background: var(--qt-blanc);
  border: 1px solid var(--qt-acier-200);
  border-radius: var(--qt-rayon-l);
  box-shadow: var(--qt-ombre-3);
  overflow: hidden;
}
.caisse__barre {
  display: flex; align-items: center; gap: .55rem;
  padding: .7rem 1rem;
  background: var(--qt-noir); color: var(--qt-blanc);
}
.caisse__pastille { width: 8px; height: 8px; border-radius: 50%; background: var(--qt-rouge); }
.caisse__ref {
  font-family: var(--qt-mono); font-size: .78rem; letter-spacing: .08em;
}
.caisse__etat {
  margin-left: auto; font-family: var(--qt-mono); font-size: .7rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--qt-acier-400);
}

.caisse__corps { display: grid; grid-template-columns: 128px 1fr; }

.caisse__qr {
  display: grid; place-items: center;
  padding: 1.15rem;
  background: var(--qt-brume); border-right: 1px solid var(--qt-acier-100);
}
/* Ligne de scan : le geste du produit, en une animation.
   Confinée au QR lui-même — sur le bloc entier, elle barrait le libellé. */
.caisse__qr > div { text-align: center; }
/* inline-block pour épouser la largeur du QR : en block, la ligne de scan
   s'étendait sur toute la largeur du libellé, plus large que le code. */
.caisse__scan { display: inline-block; position: relative; overflow: hidden; line-height: 0; }
.caisse__scan::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--qt-rouge), transparent);
  animation: qtScan 3.4s cubic-bezier(.5, 0, .5, 1) infinite;
}
@keyframes qtScan {
  0%, 100% { top: 8%;  opacity: 0; }
  12%      { opacity: 1; }
  88%      { opacity: 1; }
  50%      { top: 92%; opacity: 1; }
}
.caisse__legende {
  font-family: var(--qt-mono); font-size: .66rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--qt-acier-600); margin-top: .7rem;
  text-align: center;
}

.caisse__contenu { padding: 1.05rem 1.15rem; }
.caisse__intitule {
  font-family: var(--qt-mono); font-size: .68rem; letter-spacing: .13em;
  text-transform: uppercase; color: var(--qt-acier-600); margin-bottom: .75rem;
}
.article {
  display: flex; align-items: center; gap: .7rem;
  padding: .55rem 0; border-top: 1px solid var(--qt-acier-100);
  opacity: 0; animation: qtMonte .55s cubic-bezier(.22,.61,.36,1) forwards;
}
.article:first-of-type { border-top: 0; }
.article:nth-of-type(1) { animation-delay: .7s; }
.article:nth-of-type(2) { animation-delay: .95s; }
.article:nth-of-type(3) { animation-delay: 1.2s; }
.article__coche {
  flex: 0 0 auto; width: 17px; height: 17px; border-radius: 50%;
  background: var(--qt-rouge); display: grid; place-items: center;
}
.article__coche svg { width: 10px; height: 10px; color: var(--qt-blanc); }
.article__nom { font-size: .9rem; font-weight: 500; color: var(--qt-noir); }
.article__meta {
  font-family: var(--qt-mono); font-size: .72rem; color: var(--qt-acier-600);
}
.article__qte {
  margin-left: auto; font-family: var(--qt-mono); font-size: .8rem;
  font-weight: 500; color: var(--qt-acier-600);
}

.caisse__pied {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .75rem 1.15rem;
  background: var(--qt-brume); border-top: 1px solid var(--qt-acier-100);
  font-family: var(--qt-mono); font-size: .73rem; color: var(--qt-acier-600);
}
.caisse__pied strong { color: var(--qt-rouge); font-weight: 500; }

/* Étiquette « sans ouvrir la caisse ».
   Posée dans le flux sous la caisse plutôt qu'en absolu : en absolu elle
   recouvrait le pied de la carte, chevauchement mesuré dans le navigateur. */
.vignette {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .6rem .9rem; margin-top: 1.05rem;
  background: var(--qt-noir); color: var(--qt-blanc);
  border-radius: var(--qt-rayon); box-shadow: var(--qt-ombre-2);
  font-family: var(--qt-mono); font-size: .73rem; letter-spacing: .04em;
  white-space: nowrap;
}
.vignette__point {
  width: 7px; height: 7px; border-radius: 50%; background: var(--qt-rouge-clair);
  animation: qtPouls 2s ease-in-out infinite;
}
@keyframes qtPouls { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.75); } }

@media (max-width: 520px) {
  .caisse__corps { grid-template-columns: 1fr; }
  .caisse__qr { border-right: 0; border-bottom: 1px solid var(--qt-acier-100); }
}

/* --- Le problème ---------------------------------------------- */
.constats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.constat {
  padding: 1.85rem 1.65rem;
  background: var(--qt-blanc);
  border: 1px solid var(--qt-acier-200);
  border-radius: var(--qt-rayon-l);
  position: relative; overflow: hidden;
  transition: transform var(--qt-transition), box-shadow var(--qt-transition), border-color var(--qt-transition);
}
.constat::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--qt-rouge); transform: scaleY(0); transform-origin: top;
  transition: transform var(--qt-transition);
}
.constat:hover { transform: translateY(-4px); box-shadow: var(--qt-ombre-2); border-color: var(--qt-acier-100); }
.constat:hover::before { transform: scaleY(1); }
.constat__icone { color: var(--qt-rouge); margin-bottom: 1.05rem; }
.constat h3 { font-size: 1.14rem; font-weight: 700; letter-spacing: -.018em; margin-bottom: .55rem; }
.constat p { font-size: .955rem; color: var(--qt-acier-600); }

/* --- Fonctionnement : la frise animée --------------------------
   Quatre temps reliés par un fil rouge qui progresse, chaque nœud
   s'allumant à son tour. Boucle de 12 s, 3 s par étape.
   L'état de repos est complet et lisible : l'animation ne fait
   qu'ajouter l'accent, jamais révéler du contenu. */
.frise {
  display: block; width: 100%; height: auto;
  margin: 0 auto clamp(2.25rem, 4vw, 3.25rem);
  max-width: 900px; overflow: visible;
}

.frise__rail  { stroke: var(--qt-acier-900); stroke-width: 2; }
.frise__trace {
  stroke: var(--qt-rouge); stroke-width: 2; stroke-linecap: round;
  stroke-dasharray: 808; stroke-dashoffset: 808;
  animation: friseTrace 12s cubic-bezier(.5, 0, .5, 1) infinite;
}
@keyframes friseTrace {
  0%,  4%  { stroke-dashoffset: 808; opacity: 1; }
  25%      { stroke-dashoffset: 539; }
  50%      { stroke-dashoffset: 269; }
  75%, 92% { stroke-dashoffset: 0; opacity: 1; }
  99%      { stroke-dashoffset: 0; opacity: 0; }
  100%     { stroke-dashoffset: 808; opacity: 0; }
}

/* Le disque masque le fil : le rouge paraît s'arrêter à chaque étape */
.frise__socle  { fill: var(--qt-noir); }
.frise__anneau {
  fill: none; stroke: var(--qt-acier-900); stroke-width: 2;
  transition: stroke var(--qt-transition);
}
.frise__glyphe {
  fill: none; stroke: var(--qt-acier-400); stroke-width: 1.25;
  stroke-linecap: round; stroke-linejoin: round;
}
.frise__libelle {
  fill: var(--qt-acier-400);
  font-family: var(--qt-mono); font-size: 15px;
  letter-spacing: 1.4px; text-transform: uppercase;
}

/* Une seule animation par élément, et un seul décalage par nœud : la version
   à deux animations empilées rendait le décalage impossible à surcharger. */
.frise__anneau  { animation: friseAnneau  12s ease-in-out infinite; }
.frise__glyphe  { animation: friseGlyphe  12s ease-in-out infinite; }
.frise__libelle { animation: friseLibelle 12s ease-in-out infinite; }

.frise__noeud--2 .frise__anneau,
.frise__noeud--2 .frise__glyphe,
.frise__noeud--2 .frise__libelle { animation-delay: 3s; }
.frise__noeud--3 .frise__anneau,
.frise__noeud--3 .frise__glyphe,
.frise__noeud--3 .frise__libelle { animation-delay: 6s; }
.frise__noeud--4 .frise__anneau,
.frise__noeud--4 .frise__glyphe,
.frise__noeud--4 .frise__libelle { animation-delay: 9s; }

@keyframes friseAnneau {
  0%,  2%  { stroke: var(--qt-acier-900); }
  6%, 22%  { stroke: var(--qt-rouge); }
  27%,100% { stroke: var(--qt-acier-900); }
}
@keyframes friseGlyphe {
  0%,  2%  { stroke: var(--qt-acier-400); }
  6%, 22%  { stroke: var(--qt-blanc); }
  27%,100% { stroke: var(--qt-acier-400); }
}
@keyframes friseLibelle {
  0%,  2%  { fill: var(--qt-acier-400); }
  6%, 22%  { fill: var(--qt-blanc); }
  27%,100% { fill: var(--qt-acier-400); }
}

/* Sous 760 px la frise devient illisible : les quatre cartes disent la
   même chose, on la retire plutôt que de la servir minuscule. */
@media (max-width: 760px) {
  .frise { display: none; }
}

/* Mouvement réduit : on coupe les animations plutôt que de les accélérer.
   Écourtées, elles se figeaient sur leur dernière image — or celle du fil
   rouge est `opacity: 0`, donc la frise perdait son fil. Ici, état final
   assumé : chaîne complète, quatre nœuds au repos. */
@media (prefers-reduced-motion: reduce) {
  .frise__trace {
    animation: none;
    stroke-dashoffset: 0;
    opacity: 1;
  }
  .frise__anneau,
  .frise__glyphe,
  .frise__libelle { animation: none; }
}

/* --- Fonctionnement : le rail en quatre temps ------------------ */
.rail {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; margin-top: 1rem;
  counter-reset: etape;
}
.etape {
  position: relative;
  padding: 2.15rem 1.55rem 1.9rem;
  border: 1px solid var(--qt-acier-900);
  border-right-width: 0;
  background: var(--qt-encre);
  transition: background var(--qt-transition);
}
.etape:first-child { border-radius: var(--qt-rayon-l) 0 0 var(--qt-rayon-l); }
.etape:last-child  { border-right-width: 1px; border-radius: 0 var(--qt-rayon-l) var(--qt-rayon-l) 0; }
.etape:hover { background: #1d2024; }

/* Le fil rouge qui relie les quatre temps */
.etape::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--qt-acier-900);
}
.etape::after {
  content: ""; position: absolute; top: 0; left: 0; height: 2px; width: 0;
  background: var(--qt-rouge);
  animation: qtFil 1.1s cubic-bezier(.6, 0, .4, 1) forwards;
}
.etape:nth-child(1)::after { animation-delay: .15s; }
.etape:nth-child(2)::after { animation-delay: .55s; }
.etape:nth-child(3)::after { animation-delay: .95s; }
.etape:nth-child(4)::after { animation-delay: 1.35s; }
@keyframes qtFil { to { width: 100%; } }

.etape__numero {
  font-family: var(--qt-mono); font-size: .76rem; font-weight: 500;
  letter-spacing: .16em; color: var(--qt-rouge-clair); margin-bottom: 1.35rem;
  display: block;
}
.etape__icone { color: var(--qt-blanc); margin-bottom: 1.1rem; opacity: .92; }
.etape h3 {
  font-size: 1.2rem; font-weight: 700; letter-spacing: -.02em;
  margin-bottom: .6rem; color: var(--qt-blanc);
}
.etape p { font-size: .93rem; color: var(--qt-acier-400); }
.etape__sortie {
  margin-top: 1.15rem; padding-top: .9rem;
  border-top: 1px dashed var(--qt-acier-900);
  font-family: var(--qt-mono); font-size: .72rem; letter-spacing: .05em;
  color: var(--qt-acier-400);
}
.etape__sortie strong { color: var(--qt-acier-200); font-weight: 500; }

@media (max-width: 1080px) {
  .rail { grid-template-columns: repeat(2, 1fr); }
  .etape { border-right-width: 1px; border-bottom-width: 0; border-radius: 0; }
  .etape:nth-child(1) { border-radius: var(--qt-rayon-l) 0 0 0; }
  .etape:nth-child(2) { border-radius: 0 var(--qt-rayon-l) 0 0; }
  .etape:nth-child(3) { border-radius: 0 0 0 var(--qt-rayon-l); border-bottom-width: 1px; }
  .etape:nth-child(4) { border-radius: 0 0 var(--qt-rayon-l) 0; border-bottom-width: 1px; }
}
@media (max-width: 620px) {
  .rail { grid-template-columns: 1fr; }
  .etape { border-width: 1px 1px 0; border-radius: 0 !important; }
  .etape:first-child { border-radius: var(--qt-rayon-l) var(--qt-rayon-l) 0 0 !important; }
  .etape:last-child  { border-bottom-width: 1px; border-radius: 0 0 var(--qt-rayon-l) var(--qt-rayon-l) !important; }
}

/* --- Cas d'usage ----------------------------------------------- */
.cas-liste {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.6rem;
}
.cas {
  display: flex; flex-direction: column;
  background: var(--qt-blanc);
  border: 1px solid var(--qt-acier-200);
  border-radius: var(--qt-rayon-l);
  overflow: hidden;
  transition: transform var(--qt-transition), box-shadow var(--qt-transition);
}
.cas:hover { transform: translateY(-5px); box-shadow: var(--qt-ombre-3); }
.cas__bandeau {
  padding: 1.35rem 1.6rem;
  background: var(--qt-brume);
  border-bottom: 1px solid var(--qt-acier-100);
  display: flex; align-items: center; gap: .85rem;
}
.cas__icone {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: var(--qt-rayon);
  display: grid; place-items: center;
  background: var(--qt-noir); color: var(--qt-blanc);
  transition: background var(--qt-transition), transform var(--qt-transition);
}
.cas:hover .cas__icone { background: var(--qt-rouge); transform: rotate(-5deg); }
.cas__bandeau h3 { font-size: 1.16rem; font-weight: 700; letter-spacing: -.02em; }
.cas__corps { padding: 1.5rem 1.6rem 1.7rem; flex: 1; }
.cas__corps > p { font-size: .955rem; color: var(--qt-acier-600); margin-bottom: 1.15rem; }
.cas__points li {
  position: relative; padding-left: 1.4rem; margin-bottom: .55rem;
  font-size: .92rem; color: var(--qt-acier-900);
}
.cas__points li::before {
  content: ""; position: absolute; left: 0; top: .55rem;
  width: 7px; height: 7px; background: var(--qt-rouge);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

/* --- Bénéfices : liste dense en deux colonnes ------------------ */
.benefices {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px; background: var(--qt-acier-900);
  border: 1px solid var(--qt-acier-900); border-radius: var(--qt-rayon-l);
  overflow: hidden;
}
.benefice { padding: 1.8rem 1.7rem; background: var(--qt-noir); }
.benefice__chiffre {
  font-family: var(--qt-display); font-weight: 900;
  font-size: 2.35rem; letter-spacing: -.04em; color: var(--qt-rouge-clair);
  line-height: 1; margin-bottom: .7rem;
}
.benefice h3 { font-size: 1.06rem; font-weight: 700; margin-bottom: .45rem; }
.benefice p { font-size: .92rem; color: var(--qt-acier-400); }

/* --- Questions fréquentes -------------------------------------- */
.faq { max-width: 52rem; margin-inline: auto; }
.faq__item {
  border-bottom: 1px solid var(--qt-acier-200);
}
.faq__item:first-child { border-top: 1px solid var(--qt-acier-200); }
.faq__question {
  width: 100%; display: flex; align-items: flex-start; justify-content: space-between;
  gap: 1.5rem; padding: 1.4rem 0;
  background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--qt-display); font-size: 1.1rem; font-weight: 700;
  letter-spacing: -.018em; color: var(--qt-noir);
  transition: color var(--qt-transition);
}
.faq__question:hover { color: var(--qt-rouge); }
.faq__signe {
  flex: 0 0 auto; width: 22px; height: 22px; position: relative; margin-top: .2rem;
}
.faq__signe::before, .faq__signe::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  background: var(--qt-rouge); transition: transform var(--qt-transition);
}
.faq__signe::before { width: 14px; height: 2px; transform: translate(-50%, -50%); }
.faq__signe::after  { width: 2px; height: 14px; transform: translate(-50%, -50%); }
.faq__question[aria-expanded="true"] .faq__signe::after { transform: translate(-50%, -50%) scaleY(0); }

.faq__reponse {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows var(--qt-transition);
}
.faq__question[aria-expanded="true"] + .faq__reponse { grid-template-rows: 1fr; }
.faq__reponse > div { overflow: hidden; }
.faq__reponse p {
  padding-bottom: 1.5rem; font-size: .985rem; color: var(--qt-acier-600);
  max-width: 44rem;
}

/* --- Appel final ----------------------------------------------- */
.appel {
  position: relative;
  padding: clamp(3rem, 6vw, 4.75rem) clamp(1.5rem, 5vw, 4rem);
  background: var(--qt-noir); color: var(--qt-acier-200);
  border-radius: var(--qt-rayon-l); overflow: hidden;
  text-align: center;
}
.appel::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 50% 0%, #000, transparent 70%);
          mask-image: radial-gradient(ellipse 70% 90% at 50% 0%, #000, transparent 70%);
}
.appel > * { position: relative; }
.appel h2 {
  font-size: clamp(1.85rem, 3.6vw, 2.75rem); font-weight: 800;
  letter-spacing: -.032em; color: var(--qt-blanc); margin-bottom: 1rem;
}
.appel p { color: var(--qt-acier-400); max-width: 40rem; margin: 0 auto 2rem; }
.appel__actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; }
.appel .bouton--fantome { color: var(--qt-blanc); border-color: var(--qt-acier-900); }
.appel .bouton--fantome:hover { background: var(--qt-blanc); color: var(--qt-noir); border-color: var(--qt-blanc); }

/* --- Pied de page ---------------------------------------------- */
.pied { background: var(--qt-noir); color: var(--qt-acier-400); padding-top: 3.75rem; }
.pied__interieur {
  display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr));
  gap: 2.5rem; padding-bottom: 3rem;
}
.logo__texte--pied { color: var(--qt-blanc); font-size: 1.3rem; display: inline-block; margin-bottom: .9rem; }
.pied__baseline { font-size: .93rem; max-width: 26rem; margin-bottom: 1rem; }
.pied__contact a {
  font-family: var(--qt-mono); font-size: .85rem; color: var(--qt-blanc);
  text-decoration: none; border-bottom: 1px solid var(--qt-rouge);
  transition: color var(--qt-transition);
}
.pied__contact a:hover { color: var(--qt-rouge-clair); }

.pied__colonne { display: flex; flex-direction: column; gap: .6rem; }
.pied__titre {
  font-family: var(--qt-mono); font-size: .72rem; font-weight: 500;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--qt-acier-400); margin-bottom: .35rem;
}
.pied__colonne a {
  font-size: .93rem; color: var(--qt-acier-400); text-decoration: none;
  width: fit-content; transition: color var(--qt-transition), padding-left var(--qt-transition);
}
.pied__colonne a:hover { color: var(--qt-blanc); padding-left: .3rem; }

.pied__bas {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  padding-block: 1.5rem; border-top: 1px solid var(--qt-acier-900);
  font-size: .84rem; color: var(--qt-acier-400);
}
.pied__mono { font-family: var(--qt-mono); font-size: .76rem; letter-spacing: .04em; }

@media (max-width: 760px) {
  .pied__interieur { grid-template-columns: 1fr; gap: 2rem; }
}

/* --- Page de connexion ----------------------------------------- */
.entete--sobre { position: static; background: transparent; border-bottom: 0; backdrop-filter: none; }

.acces {
  min-height: calc(100vh - 72px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
}
.acces__formulaire {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 4.5rem);
}
.acces__boite { width: 100%; max-width: 25rem; margin-inline: auto; }
.acces__boite h1 {
  font-size: clamp(1.9rem, 3.4vw, 2.4rem); font-weight: 800;
  letter-spacing: -.032em; margin-bottom: .7rem;
}
.acces__boite > p { color: var(--qt-acier-600); font-size: .98rem; margin-bottom: 2rem; }

.champ { margin-bottom: 1.15rem; }
.champ label {
  display: block; font-family: var(--qt-mono); font-size: .73rem;
  letter-spacing: .11em; text-transform: uppercase;
  color: var(--qt-acier-600); margin-bottom: .5rem;
}
.champ input {
  width: 100%; padding: .82rem 1rem;
  font-family: var(--qt-texte); font-size: 1rem; color: var(--qt-noir);
  background: var(--qt-blanc);
  border: 1px solid var(--qt-acier-200); border-radius: var(--qt-rayon);
  transition: border-color var(--qt-transition), box-shadow var(--qt-transition);
}
.champ input:hover { border-color: var(--qt-acier-400); }
.champ input:focus {
  outline: none; border-color: var(--qt-rouge);
  box-shadow: 0 0 0 3px var(--qt-rouge-voile);
}
.champ--mot-de-passe { position: relative; }
.bascule-visibilite {
  position: absolute; right: .55rem; bottom: .42rem;
  background: none; border: 0; cursor: pointer; padding: .45rem;
  color: var(--qt-acier-400); border-radius: var(--qt-rayon);
  transition: color var(--qt-transition), background var(--qt-transition);
}
.bascule-visibilite:hover { color: var(--qt-noir); background: var(--qt-brume); }

.acces__soumettre { width: 100%; margin-top: .5rem; }

.alerte {
  display: flex; align-items: flex-start; gap: .7rem;
  padding: .85rem 1rem; margin-bottom: 1.35rem;
  border-radius: var(--qt-rayon); font-size: .92rem;
  border: 1px solid;
}
.alerte--erreur {
  background: var(--qt-rouge-voile); border-color: rgba(216, 35, 42, .3);
  color: var(--qt-rouge-fonce);
}
.alerte svg { flex: 0 0 auto; margin-top: .12rem; }

.acces__aide {
  margin-top: 1.75rem; padding-top: 1.5rem;
  border-top: 1px solid var(--qt-acier-100);
  font-size: .89rem; color: var(--qt-acier-600);
}
.acces__aide a { color: var(--qt-noir); text-decoration: underline; text-underline-offset: 3px; }

/* Volet droit : la promesse, en sombre */
.acces__panneau {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(2.5rem, 6vw, 4.5rem);
  background: var(--qt-noir); color: var(--qt-acier-400);
}
.acces__panneau::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 48px 48px;
}
.acces__panneau > * { position: relative; }
.acces__panneau h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800;
  letter-spacing: -.03em; color: var(--qt-blanc); margin-bottom: 1rem;
}
.acces__panneau > p { font-size: .98rem; margin-bottom: 2rem; max-width: 30rem; }
.acces__liste li {
  display: flex; align-items: flex-start; gap: .75rem;
  padding: .7rem 0; border-top: 1px solid var(--qt-acier-900);
  font-size: .93rem;
}
.acces__liste li svg { flex: 0 0 auto; color: var(--qt-rouge); margin-top: .18rem; }

@media (max-width: 900px) {
  .acces { grid-template-columns: 1fr; min-height: 0; }
  .acces__panneau { order: 2; }
}

/* --- Étiquettes sur fond sombre --------------------------------
   Le rouge signal ne tient que 3,6:1 sur le noir : en dessous du seuil
   AA pour du petit texte. On passe au rouge clair, mesuré à 5,3:1. */
.section--encre .etiquette,
.appel .etiquette,
.acces__panneau .etiquette { color: var(--qt-rouge-clair); }
.section--encre .etiquette::before,
.appel .etiquette::before,
.acces__panneau .etiquette::before { background: var(--qt-rouge-clair); }
.caisse__pied strong { color: var(--qt-rouge-fonce); }

/* --- Espace client ---------------------------------------------- */
.espace__sortie { margin-top: 2.75rem; }
.cas__action { margin-top: 1.35rem; }

.acces-demo {
  margin: 0 0 1.1rem;
  border-top: 1px solid var(--qt-acier-100);
}
.acces-demo dt {
  font-family: var(--qt-mono); font-size: .7rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--qt-acier-600);
  padding-top: .75rem;
}
.acces-demo dd {
  margin: .15rem 0 .75rem; font-size: .95rem; color: var(--qt-noir);
  border-bottom: 1px solid var(--qt-acier-100); padding-bottom: .75rem;
}
.acces-demo dd:last-child { border-bottom: 0; }
.acces-demo__note { font-size: .875rem; color: var(--qt-acier-600); }

/* --- Pages de texte (légal, 404) -------------------------------- */
.texte { max-width: 46rem; margin-inline: auto; }
.texte h1 {
  font-size: clamp(2rem, 4vw, 2.85rem); font-weight: 800;
  letter-spacing: -.032em; margin-bottom: .8rem;
}
.texte__date {
  font-family: var(--qt-mono); font-size: .78rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--qt-acier-600); margin-bottom: 2.5rem;
}
.texte h2 {
  font-size: 1.35rem; font-weight: 700; letter-spacing: -.022em;
  margin: 2.4rem 0 .85rem; padding-top: 1.5rem;
  border-top: 1px solid var(--qt-acier-100);
}
.texte h3 { font-size: 1.06rem; font-weight: 700; margin: 1.5rem 0 .5rem; }
.texte p, .texte li { font-size: .985rem; color: var(--qt-acier-600); }
.texte p { margin-bottom: .95rem; }
.texte ul { margin-bottom: 1.1rem; }
.texte li { position: relative; padding-left: 1.3rem; margin-bottom: .45rem; }
.texte li::before {
  content: ""; position: absolute; left: 0; top: .62rem;
  width: 6px; height: 6px; background: var(--qt-rouge); border-radius: 1px;
}
.texte a { color: var(--qt-noir); text-decoration: underline; text-underline-offset: 3px; }
.texte a:hover { color: var(--qt-rouge); }
.texte dl { margin: 0 0 1.1rem; }
.texte dt { font-weight: 600; color: var(--qt-noir); font-size: .95rem; margin-top: .7rem; }
.texte dd { margin: .15rem 0 0; font-size: .95rem; color: var(--qt-acier-600); }

/* --- Page 404 --------------------------------------------------- */
.erreur { text-align: center; padding: clamp(4rem, 10vw, 8rem) 0; }
.erreur__code {
  font-family: var(--qt-display); font-weight: 900;
  font-size: clamp(5rem, 16vw, 10rem); line-height: .85;
  letter-spacing: -.05em; color: var(--qt-noir); margin-bottom: 1.5rem;
}
.erreur__code span { color: var(--qt-rouge); }
.erreur h1 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 800; margin-bottom: 1rem; }
.erreur p { color: var(--qt-acier-600); max-width: 34rem; margin: 0 auto 2rem; }
.erreur__actions { display: flex; flex-wrap: wrap; gap: .85rem; justify-content: center; }

/* --- Utilitaires ------------------------------------------------ */
.visuellement-cache {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.mono { font-family: var(--qt-mono); }
