/* Avocat 2030 : le dossier de plaidoirie.
   Chaque service est une chemise cartonnée du même dossier. Les jetons
   ci-dessous sont la base du design system : couleurs, voix, cotes. */

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("polices/schibsted-grotesk.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("polices/schibsted-grotesk-italique.woff2") format("woff2");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Courier Prime";
  src: url("polices/courier-prime-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Courier Prime";
  src: url("polices/courier-prime-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  /* Papiers */
  --kraft: #e9e5dc;
  --kraft-fonce: #ddd6c7;
  --kraft-ombre: #cfc7b5;
  --papier: #fbf9f4;
  /* Encres */
  --encre: #1e1e1c;
  --encre-douce: #57544d;
  --filet: #c9c3b6;
  --tampon: #4a3e8c;
  --tampon-voile: #dedaf0;
  --alerte: #9a2b1f;
  /* Chemises : une par juridiction, d'autres viendront pour les autres services */
  --chemise-fr: #bfd6c4;
  --chemise-be: #ead89e;
  --chemise-lu: #b8cee2;
  --chemise-ch: #d3d9b4;
  --chemise-ue: #dcd3c2;
  /* Chemise neutre : pages de compte, offre Illimité. N'appartient à aucun service. */
  --chemise-neutre: #d8d3c8;
  --sangle: #2b2b29;
  /* Voix */
  --voix: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --cote: "Courier Prime", "Courier New", ui-monospace, monospace;
  /* Rythme */
  --gouttiere: clamp(16px, 4vw, 56px);
  --largeur: 1240px;
  --rayon-chemise: 4px 12px 8px 8px;
  --ombre-chemise: 0 1px 0 rgb(30 30 28 / 0.08), 0 22px 34px -22px rgb(52 40 18 / 0.5);
  --ombre-feuille: 0 1px 1px rgb(30 30 28 / 0.1), 0 10px 22px -16px rgb(52 40 18 / 0.45);
  --sortie: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scrollbar-color: var(--kraft-ombre) var(--kraft);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--kraft);
  background-image: url("textures/grain.svg");
  color: var(--encre);
  font-family: var(--voix);
  font-size: 1.0625rem;
  line-height: 1.55;
  caret-color: var(--tampon);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-thickness: 2px;
}

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

/* Champ piège du formulaire de connexion : hors de l'écran et des lecteurs
   d'écran (aria-hidden), jamais atteint au clavier (tabindex -1). */
.piege {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.masque {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.evitement {
  position: absolute;
  left: var(--gouttiere);
  top: -60px;
  z-index: 20;
  background: var(--encre);
  color: var(--papier);
  padding: 10px 16px;
  transition: top 0.2s var(--sortie);
}

.evitement:focus {
  top: 12px;
}

.conteneur {
  width: 100%;
  max-width: var(--largeur);
  margin-inline: auto;
  padding-inline: var(--gouttiere);
}

/* Bandeau de l'aperçu */

.bandeau-apercu {
  background: var(--tampon);
  color: var(--papier);
  font: 700 0.78rem/1.3 var(--cote);
  letter-spacing: 0.02em;
  text-align: center;
  padding: 7px var(--gouttiere);
}

/* En-tête */

.entete {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.marque {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.015em;
}

.marque-cote {
  font: 700 0.82rem/1 var(--cote);
  letter-spacing: 0.04em;
  color: var(--tampon);
  border: 1.5px solid currentColor;
  border-radius: 3px;
  padding: 4px 6px 3px;
  transform: rotate(-3deg);
}

.navigation {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 32px);
  font-size: 0.97rem;
}

.navigation a {
  color: var(--encre-douce);
  text-decoration: none;
}

.navigation a:hover {
  color: var(--encre);
  text-decoration: underline;
}

.navigation .lien-connexion {
  color: var(--encre);
  font-weight: 650;
  border: 1.5px solid var(--encre);
  border-radius: 3px;
  padding: 7px 14px;
}

.navigation .lien-connexion:hover {
  background: var(--encre);
  color: var(--papier);
  text-decoration: none;
}

.menu-mobile {
  display: none;
}

/* Boutons et champs */

.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1.5px solid var(--encre);
  border-radius: 3px;
  background: var(--encre);
  color: var(--papier);
  font: 700 1rem/1 var(--voix);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s var(--sortie);
}

.bouton:hover {
  background: #000;
  text-decoration: none;
}

.bouton:active {
  transform: translateY(1px);
}

.bouton--clair {
  background: transparent;
  color: var(--encre);
}

.bouton--clair:hover {
  background: var(--encre);
  color: var(--papier);
}

.bouton--petit {
  min-height: 38px;
  padding: 0 14px;
  font-size: 0.92rem;
}

.bouton[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

.champ {
  display: grid;
  gap: 6px;
}

.champ label {
  font-weight: 650;
  font-size: 0.95rem;
}

.champ .aide {
  color: var(--encre-douce);
  font-size: 0.88rem;
}

input[type="email"],
input[type="text"],
input[type="search"],
input[type="number"],
select {
  width: 100%;
  min-height: 48px;
  border: 1.5px solid var(--encre);
  border-radius: 3px;
  background: var(--papier);
  color: var(--encre);
  font: 400 1rem var(--voix);
  padding: 0 14px;
}

input::placeholder {
  color: #6d6960;
}

input:focus-visible {
  outline-offset: 2px;
}

.saisie-ligne {
  display: flex;
  max-width: 520px;
  border: 1.5px solid var(--encre);
  border-radius: 3px;
  background: var(--papier);
}

.saisie-ligne:focus-within {
  outline: 2px solid var(--tampon);
  outline-offset: 3px;
}

.saisie-ligne input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
}

.saisie-ligne input:focus-visible {
  outline: none;
}

.saisie-ligne .bouton {
  border: 0;
  border-radius: 0 1px 1px 0;
  min-height: 52px;
}

/* Typographie de section */

.titre-section {
  font-size: clamp(1.9rem, 1.35rem + 1.7vw, 2.75rem);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.028em;
}

.chapo-section {
  margin-top: 14px;
  max-width: 58ch;
  color: var(--encre-douce);
  font-size: 1.08rem;
}

.cote {
  font-family: var(--cote);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.section {
  padding-block: clamp(60px, 7vw, 104px);
}

/* Accueil : première vue */

.une {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  padding-block: clamp(28px, 4vw, 56px) clamp(64px, 7vw, 104px);
}

.une-titre {
  font-size: clamp(2.45rem, 1.5rem + 3vw, 3.625rem);
  line-height: 1.03;
  font-weight: 800;
  letter-spacing: -0.032em;
  max-width: 20ch;
}

.une-chapo {
  margin-top: 22px;
  max-width: 50ch;
  color: var(--encre-douce);
  font-size: 1.14rem;
  line-height: 1.55;
}

.une-formulaire {
  margin-top: 32px;
}

.une-note {
  margin-top: 12px;
  color: var(--encre-douce);
  font-size: 0.92rem;
}

/* Onglet de chemise, commun aux pages de compte et à la pile. */

.onglets {
  display: flex;
  gap: 5px;
  padding-left: 18px;
  position: relative;
  z-index: 2;
}

.onglet {
  display: inline-flex;
  align-items: baseline;
  padding: 9px 13px 13px;
  margin-bottom: -4px;
  border-radius: 9px 9px 0 0;
  font: 700 0.82rem/1 var(--cote);
  letter-spacing: 0.04em;
  user-select: none;
}

.onglet--fr,
.chemise--fr { background-color: var(--chemise-fr); }
.onglet--be,
.chemise--be { background-color: var(--chemise-be); }
.onglet--lu,
.chemise--lu { background-color: var(--chemise-lu); }
.onglet--ch,
.chemise--ch { background-color: var(--chemise-ch); }
.onglet--ue,
.chemise--ue { background-color: var(--chemise-ue); }

.chemise {
  position: relative;
  border-radius: var(--rayon-chemise);
  box-shadow: var(--ombre-chemise);
  padding: 22px 46px 24px 22px;
}

/* La sangle élastique qui ferme le dossier. */
.chemise::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 0;
  bottom: 0;
  width: 13px;
  background: linear-gradient(90deg, #3a3a37, var(--sangle) 40%, #1b1b19);
  border-radius: 2px;
  opacity: 0.9;
}

/* Signature : la pile de cinq chemises décalées. Cliquer un onglet (ou
   les flèches du clavier) sort sa chemise devant, sans script : ce sont des
   boutons radio. */

.pile {
  position: relative;
  padding-top: 104px;
  padding-bottom: 30px;
}

.pile-choix {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.chemises {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  isolation: isolate;
}

.pile .chemise {
  --dx: 0px;
  --dy: 0px;
  --tx: 16px;
  grid-area: 1 / 1;
  margin-right: 76px;
  translate: var(--dx) var(--dy);
  transition: translate 0.6s var(--sortie), box-shadow 0.6s var(--sortie);
}

.pile .chemise::after {
  opacity: 0;
  transition: opacity 0.3s;
}

.pile .chemise--fr { z-index: 5; }
.pile .chemise--be { --dx: 19px; --dy: -22px; --tx: 72px; z-index: 4; }
.pile .chemise--lu { --dx: 38px; --dy: -44px; --tx: 128px; z-index: 3; }
.pile .chemise--ch { --dx: 57px; --dy: -66px; --tx: 184px; z-index: 2; }
.pile .chemise--ue { --dx: 76px; --dy: -88px; --tx: 240px; z-index: 1; }

.pile .onglet {
  position: absolute;
  bottom: calc(100% - 4px);
  left: var(--tx);
  margin: 0;
  padding: 9px 14px 12px;
  cursor: pointer;
  background-color: inherit;
  transition: translate 0.3s var(--sortie);
}

.pile .onglet:hover {
  translate: 0 -3px;
}

.chemise-contenu {
  visibility: hidden;
}

#choix-fr:checked ~ .chemises .chemise--fr,
#choix-be:checked ~ .chemises .chemise--be,
#choix-lu:checked ~ .chemises .chemise--lu,
#choix-ch:checked ~ .chemises .chemise--ch,
#choix-ue:checked ~ .chemises .chemise--ue {
  translate: 0 0;
  z-index: 6;
  box-shadow: 0 1px 0 rgb(30 30 28 / 0.08), 0 30px 44px -24px rgb(52 40 18 / 0.55);
}

#choix-fr:checked ~ .chemises .chemise--fr .chemise-contenu,
#choix-be:checked ~ .chemises .chemise--be .chemise-contenu,
#choix-lu:checked ~ .chemises .chemise--lu .chemise-contenu,
#choix-ch:checked ~ .chemises .chemise--ch .chemise-contenu,
#choix-ue:checked ~ .chemises .chemise--ue .chemise-contenu {
  visibility: visible;
}

#choix-fr:checked ~ .chemises .chemise--fr::after,
#choix-be:checked ~ .chemises .chemise--be::after,
#choix-lu:checked ~ .chemises .chemise--lu::after,
#choix-ch:checked ~ .chemises .chemise--ch::after,
#choix-ue:checked ~ .chemises .chemise--ue::after {
  opacity: 0.9;
}

#choix-fr:focus-visible ~ .chemises .onglet--fr,
#choix-be:focus-visible ~ .chemises .onglet--be,
#choix-lu:focus-visible ~ .chemises .onglet--lu,
#choix-ch:focus-visible ~ .chemises .onglet--ch,
#choix-ue:focus-visible ~ .chemises .onglet--ue {
  outline: 2px solid var(--tampon);
  outline-offset: 2px;
}

.chemise-cote {
  margin-top: 14px;
  padding-left: 4px;
  font: 700 0.78rem var(--cote);
  letter-spacing: 0.04em;
  color: rgb(30 30 28 / 0.7);
}

@keyframes sortir {
  from {
    transform: translateY(16px) rotate(-0.9deg);
  }
}

.chemise-entete {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 0 4px 14px;
}

.chemise-titre {
  font-size: 1.5rem;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.chemise-titre span {
  font-weight: 500;
  color: rgb(30 30 28 / 0.72);
}

.chemise-adresse {
  font: 400 0.85rem var(--cote);
  color: rgb(30 30 28 / 0.78);
  white-space: nowrap;
}

.bordereau {
  background: var(--papier);
  border-radius: 2px;
  padding: 20px 22px 18px;
  box-shadow: var(--ombre-feuille);
}

.bordereau-titre {
  font: 700 0.84rem/1.2 var(--cote);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-bottom: 10px;
  border-bottom: 1.5px solid var(--encre);
}

.bordereau-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  line-height: 1.4;
}

.bordereau-table th,
.bordereau-table td {
  padding: 9px 0;
  border-bottom: 1px dashed var(--filet);
  text-align: left;
  vertical-align: baseline;
}

.bordereau-table th {
  width: 78px;
  font: 700 0.8rem var(--cote);
  color: var(--tampon);
  white-space: nowrap;
}

.bordereau-table td b {
  font-weight: 700;
}

.bordereau-table td span {
  color: var(--encre-douce);
}

.bordereau-aussi {
  margin-top: 12px;
  font-size: 0.86rem;
  color: var(--encre-douce);
  max-width: 52ch;
}

.bordereau-aussi b {
  color: var(--encre);
  font-weight: 650;
}

.tampon {
  display: inline-block;
  color: var(--tampon);
  border: 3px solid currentColor;
  border-radius: 5px;
  padding: 9px 15px 8px;
  font: 700 1rem/1.05 var(--cote);
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  mix-blend-mode: multiply;
  -webkit-mask-image: url("textures/encre.svg");
  mask-image: url("textures/encre.svg");
  -webkit-mask-size: 180px 120px;
  mask-size: 180px 120px;
}

.tampon small {
  display: block;
  margin-top: 3px;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
}

.pile .tampon {
  position: absolute;
  right: 30px;
  bottom: 4px;
  z-index: 3;
  transform: rotate(-8deg);
}

/* Index du dossier : les cinq serveurs en un coup d'œil */

.index-entete {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 36px;
}

.index-entete .chapo-section {
  margin-top: 0;
}

.registre {
  width: 100%;
  border-collapse: collapse;
  background: var(--papier);
  box-shadow: var(--ombre-feuille);
  border-radius: 2px;
}

.registre caption {
  text-align: left;
}

.registre th,
.registre td {
  padding: 16px 20px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px dashed var(--filet);
}

.registre thead th {
  font: 700 0.76rem var(--cote);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--encre-douce);
  border-bottom: 1.5px solid var(--encre);
  padding-block: 14px;
}

.registre tbody tr:last-child th,
.registre tbody tr:last-child td {
  border-bottom: 0;
}

.registre tbody th {
  font-weight: 800;
  font-size: 1.05rem;
  white-space: nowrap;
}

.pastille {
  display: inline-block;
  width: 26px;
  height: 14px;
  margin-right: 10px;
  border-radius: 4px 4px 0 0;
  vertical-align: -1px;
  box-shadow: inset 0 -3px 4px -3px rgb(52 40 18 / 0.35);
}

.pastille--fr { background: var(--chemise-fr); }
.pastille--be { background: var(--chemise-be); }
.pastille--lu { background: var(--chemise-lu); }
.pastille--ch { background: var(--chemise-ch); }
.pastille--ue { background: var(--chemise-ue); }

.registre .adresse {
  font: 400 0.9rem var(--cote);
  white-space: nowrap;
}

.registre .sources {
  color: var(--encre-douce);
  font-size: 0.95rem;
}

.registre-note {
  margin-top: 16px;
  font-size: 0.92rem;
  color: var(--encre-douce);
  max-width: 75ch;
}

/* Convention de recherche : les règles que chaque MCP impose */

.fiabilite {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.fiabilite-intro {
  position: sticky;
  top: 32px;
}

.convention {
  background: var(--papier);
  box-shadow: var(--ombre-feuille);
  border-radius: 2px;
  padding: clamp(28px, 4vw, 52px) clamp(22px, 4vw, 56px);
  position: relative;
}

/* Le trombone en haut de la feuille */
.convention::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 44px;
  width: 18px;
  height: 50px;
  border: 2.5px solid #8d8b86;
  border-radius: 9px;
  border-bottom-color: transparent;
  box-shadow: inset 0 0 0 4px var(--papier), inset 0 0 0 6.5px #8d8b86;
  clip-path: inset(0 0 22% 0);
}

.convention-titre {
  font: 700 0.86rem/1.3 var(--cote);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  padding-bottom: 18px;
  border-bottom: 1.5px solid var(--encre);
}

.articles {
  list-style: none;
  padding: 0;
  counter-reset: article;
}

.articles li {
  counter-increment: article;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px dashed var(--filet);
}

.articles li::before {
  content: "Art. " counter(article);
  font: 700 0.86rem/1.7 var(--cote);
  color: var(--tampon);
}

.articles h3 {
  font-size: 1.05rem;
  font-weight: 750;
  letter-spacing: -0.005em;
}

.articles p {
  margin-top: 4px;
  color: var(--encre-douce);
  font-size: 0.97rem;
}

.nota {
  margin-top: 26px;
  padding: 16px 0;
  border-block: 1.5px solid var(--encre);
  font-size: 0.95rem;
}

.nota b {
  font-family: var(--cote);
  letter-spacing: 0.06em;
}

.signature {
  margin-top: 26px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 18px;
  color: var(--encre-douce);
  font-size: 0.92rem;
}

.signature .tampon {
  transform: rotate(-5deg);
  font-size: 0.82rem;
}

/* Fiches de questions */

.fiches {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 22px 26px;
  margin-top: 44px;
  list-style: none;
  padding: 0;
}

.fiche {
  position: relative;
  background-color: var(--papier);
  background-image: repeating-linear-gradient(
    180deg,
    transparent 0 29px,
    rgb(74 62 140 / 0.16) 29px 30px
  );
  background-position: 0 58px;
  padding: 18px 22px 24px;
  box-shadow: var(--ombre-feuille);
  border-radius: 2px;
  min-height: 210px;
}

.fiche::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 6px;
  border-radius: 2px 2px 0 0;
}

.fiche--fr::before { background: var(--chemise-fr); }
.fiche--be::before { background: var(--chemise-be); }
.fiche--lu::before { background: var(--chemise-lu); }
.fiche--ch::before { background: var(--chemise-ch); }
.fiche--ue::before { background: var(--chemise-ue); }

.fiche:nth-child(1) { grid-column: 1 / span 5; transform: rotate(-1.1deg); }
.fiche:nth-child(2) { grid-column: 6 / span 4; transform: rotate(0.8deg) translateY(18px); }
.fiche:nth-child(3) { grid-column: 10 / span 3; transform: rotate(-0.5deg); }
.fiche:nth-child(4) { grid-column: 2 / span 5; transform: rotate(0.6deg); }
.fiche:nth-child(5) { grid-column: 7 / span 5; transform: rotate(-0.9deg) translateY(-8px); }

.fiche-cote {
  font: 700 0.78rem var(--cote);
  letter-spacing: 0.06em;
  color: var(--encre-douce);
}

.fiche-question {
  margin-top: 14px;
  font-size: 1.12rem;
  line-height: 30px;
  font-weight: 500;
}

.fiche-question::before {
  content: "«\00a0";
}

.fiche-question::after {
  content: "\00a0»";
}

/* Brancher : procédure et compatibilité */

.brancher {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.procedure {
  list-style: none;
  padding: 0;
  margin-top: 36px;
  counter-reset: etape;
}

.procedure li {
  counter-increment: etape;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 18px;
  padding: 20px 0 22px;
  border-top: 1.5px solid var(--encre);
}

.procedure li::before {
  content: counter(etape);
  font: 700 2.4rem/1 var(--cote);
  color: var(--tampon);
}

.procedure h3 {
  font-size: 1.15rem;
  font-weight: 750;
}

.procedure p {
  margin-top: 6px;
  color: var(--encre-douce);
  max-width: 48ch;
}

.compatibilite {
  background: var(--papier);
  box-shadow: var(--ombre-feuille);
  border-radius: 2px;
  padding: 26px clamp(18px, 3vw, 32px) 22px;
}

.compatibilite h3 {
  font: 700 0.84rem/1.3 var(--cote);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-bottom: 12px;
  border-bottom: 1.5px solid var(--encre);
}

.compatibilite table {
  width: 100%;
  border-collapse: collapse;
}

.compatibilite th,
.compatibilite td {
  text-align: left;
  vertical-align: baseline;
  padding: 13px 0;
  border-bottom: 1px dashed var(--filet);
}

.compatibilite tbody th {
  font-weight: 700;
  padding-right: 16px;
}

.compatibilite tbody th span {
  display: block;
  font-weight: 400;
  font-size: 0.86rem;
  color: var(--encre-douce);
}

.compatibilite td {
  font-size: 0.93rem;
  text-align: right;
}

.compatibilite p {
  margin-top: 14px;
  font-size: 0.88rem;
  color: var(--encre-douce);
}

/* Offres : deux notes */

.offres {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(22px, 3vw, 40px);
  margin-top: 44px;
  align-items: stretch;
}

.offre {
  position: relative;
  border-radius: 2px;
  padding: clamp(26px, 3.5vw, 44px);
  box-shadow: var(--ombre-feuille);
  display: flex;
  flex-direction: column;
}

.offre--gratuit {
  background: var(--papier);
}

.offre--illimite {
  background: var(--chemise-neutre);
}

.offre-nom {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.offre-prix {
  margin-top: 6px;
  font: 700 1rem var(--cote);
  color: var(--encre-douce);
}

.offre ul {
  list-style: none;
  padding: 0;
  margin: 26px 0 30px;
  display: grid;
  gap: 10px;
}

.offre li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
}

.offre li::before {
  content: "";
  width: 14px;
  height: 8px;
  margin-top: 6px;
  border-left: 2px solid var(--tampon);
  border-bottom: 2px solid var(--tampon);
  transform: rotate(-45deg);
}

.offre .bouton {
  margin-top: auto;
  align-self: flex-start;
}


.offre-note {
  margin-top: auto;
  color: var(--encre-douce);
  font-size: 0.95rem;
}

/* Questions */

.questions {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.questions-liste details {
  border-bottom: 1px dashed var(--encre-douce);
}

.questions-liste details:first-child {
  border-top: 1.5px solid var(--encre);
}

.questions-liste summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  font-weight: 700;
  font-size: 1.06rem;
  cursor: pointer;
  list-style: none;
}

.questions-liste summary::-webkit-details-marker {
  display: none;
}

.questions-liste summary::after,
.mode-emploi summary::after {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  margin-top: 0.3em;
  background:
    linear-gradient(var(--tampon), var(--tampon)) center / 100% 2px no-repeat,
    linear-gradient(var(--tampon), var(--tampon)) center / 2px 100% no-repeat;
  transition: transform 0.3s var(--sortie);
}

.questions-liste details[open] summary::after,
.mode-emploi details[open] summary::after {
  transform: rotate(45deg);
}

.questions-liste details p {
  padding: 0 0 22px;
  max-width: 64ch;
  color: var(--encre-douce);
}

/* Pied de page */

.pied {
  background: var(--kraft-fonce);
  border-top: 1.5px solid var(--encre);
  padding-block: 56px 40px;
  margin-top: clamp(48px, 6vw, 96px);
}

.pied-grille {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.pied h2 {
  font: 700 0.78rem var(--cote);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--encre-douce);
  margin-bottom: 14px;
}

.pied p,
.pied li {
  font-size: 0.95rem;
}

.pied ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 6px;
}

.pied .adresse {
  font-family: var(--cote);
  font-size: 0.88rem;
}

.pied-signature {
  margin-top: 14px;
  color: var(--encre-douce);
  max-width: 40ch;
}

.pied-bas {
  margin-top: 44px;
  padding-top: 18px;
  border-top: 1px dashed var(--encre-douce);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.86rem;
  color: var(--encre-douce);
}

/* Parcours de connexion : une chemise seule sur le bureau */

.bureau {
  display: grid;
  place-items: center;
  padding-block: clamp(40px, 7vw, 96px) clamp(40px, 6vw, 80px);
}

.chemise-seule {
  width: min(100%, 560px);
}

.chemise-seule .chemise {
  padding: 22px 44px 22px 22px;
  animation: sortir 0.6s var(--sortie);
}

.chemise--neutre,
.onglet--neutre {
  background-color: var(--chemise-neutre);
}

.feuille {
  background: var(--papier);
  border-radius: 2px;
  box-shadow: var(--ombre-feuille);
  padding: clamp(24px, 4vw, 40px);
}

.feuille h1 {
  font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.2rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.feuille .intro {
  margin-top: 10px;
  color: var(--encre-douce);
}

.feuille form {
  margin-top: 26px;
  display: grid;
  gap: 18px;
}

.feuille .bouton {
  width: 100%;
}

.feuille form.apres {
  display: block;
}

.feuille .apres {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--filet);
  font-size: 0.92rem;
  color: var(--encre-douce);
}

.lien-discret {
  background: none;
  border: 0;
  padding: 0;
  color: var(--encre);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
}

.code-saisie {
  font: 700 1.9rem/1 var(--cote) !important;
  letter-spacing: 0.5em;
  text-align: center;
  padding-left: 0.5em !important;
  min-height: 66px !important;
}

/* Tableau de bord */

.compte {
  padding-block: clamp(28px, 4vw, 56px) 32px;
}

.compte-entete {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 26px;
  border-bottom: 1.5px solid var(--encre);
}

.compte-entete h1 {
  font-size: clamp(2rem, 1.5rem + 1.8vw, 2.9rem);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.compte-entete p {
  margin-top: 8px;
  color: var(--encre-douce);
}

.compte-grille {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(22px, 3vw, 40px);
  margin-top: 36px;
  align-items: start;
}

.colonne {
  display: grid;
  gap: clamp(22px, 3vw, 36px);
}

.bloc {
  background: var(--papier);
  border-radius: 2px;
  box-shadow: var(--ombre-feuille);
  padding: clamp(20px, 3vw, 30px);
}

.bloc-titre {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  font: 700 0.84rem/1.3 var(--cote);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-bottom: 12px;
  border-bottom: 1.5px solid var(--encre);
}

.bloc-titre span {
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--encre-douce);
}

.bloc-texte {
  margin-top: 14px;
  color: var(--encre-douce);
  font-size: 0.95rem;
}

.consommation {
  margin-top: 22px;
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.consommation-chiffre {
  font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
}

.consommation-sur {
  font: 700 1.05rem var(--cote);
  color: var(--encre-douce);
}

/* Jauge graduée comme une règle d'écolier */
.regle {
  margin-top: 18px;
  margin-bottom: 18px;
}

.regle meter {
  display: block;
  width: 100%;
  height: 22px;
  -webkit-appearance: none;
  appearance: none;
  border: 1.5px solid var(--encre);
  border-radius: 2px;
  background: var(--kraft);
}

.regle meter::-webkit-meter-bar {
  background: var(--kraft);
  border: 0;
  border-radius: 0;
  height: 100%;
}

.regle meter::-webkit-meter-optimum-value,
.regle meter::-webkit-meter-suboptimum-value,
.regle meter::-webkit-meter-even-less-good-value {
  background: var(--tampon);
  border-radius: 0;
}

.regle meter::-moz-meter-bar {
  background: var(--tampon);
}

.regle-graduation {
  display: flex;
  justify-content: space-between;
  padding-top: 16px;
  background-image:
    linear-gradient(90deg, var(--encre) 0 1px, transparent 1px),
    repeating-linear-gradient(90deg, var(--encre) 0 1px, transparent 1px 10%),
    repeating-linear-gradient(90deg, var(--encre-douce) 0 1px, transparent 1px 2%);
  background-size: 100% 12px, calc(100% - 1px) 12px, calc(100% - 1px) 6px;
  background-position: right top, left top, left top;
  background-repeat: no-repeat;
  font: 400 0.78rem var(--cote);
  color: var(--encre-douce);
}

.table-donnees {
  width: 100%;
  border-collapse: collapse;
  margin-top: 6px;
  font-size: 0.95rem;
}

.table-donnees th,
.table-donnees td {
  text-align: left;
  padding: 12px 10px 12px 0;
  border-bottom: 1px dashed var(--filet);
  vertical-align: baseline;
}

.table-donnees thead th {
  font: 700 0.74rem var(--cote);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--encre-douce);
}

.table-donnees tbody tr:last-child th,
.table-donnees tbody tr:last-child td {
  border-bottom: 0;
}

.table-donnees .nombre,
.consommation-chiffre {
  font-variant-numeric: tabular-nums;
}

.table-donnees .nombre {
  text-align: right;
  padding-right: 0;
  font-variant-numeric: tabular-nums;
}

/* Appels et quota côte à côte : un écart, sinon les en-têtes se touchent. */
.table-donnees .nombre + .nombre {
  padding-left: 16px;
}

/* Sur téléphone, la juridiction cède la place : la pastille et le nom du serveur suffisent. */
@media (max-width: 560px) {
  .table-donnees .juridiction {
    display: none;
  }
}

.table-donnees .adresse {
  font: 400 0.86rem var(--cote);
  word-break: break-all;
}

.jeton {
  margin-top: 16px;
  display: block;
  padding: 14px 16px;
  background: var(--kraft);
  border: 1.5px dashed var(--encre-douce);
  border-radius: 2px;
  font: 700 0.95rem var(--cote);
  letter-spacing: 0.02em;
  user-select: all;
  word-break: break-all;
}

.bloc-actions {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.mode-emploi details {
  border-bottom: 1px dashed var(--filet);
}

.mode-emploi summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.mode-emploi summary::-webkit-details-marker {
  display: none;
}

.mode-emploi details ol {
  margin: 0 0 16px;
  padding-left: 1.3em;
  color: var(--encre-douce);
  font-size: 0.95rem;
  display: grid;
  gap: 6px;
}

.mode-emploi code {
  font-family: var(--cote);
  font-size: 0.9em;
  color: var(--encre);
}

.etiquette {
  display: inline-block;
  padding: 3px 9px 2px;
  border-radius: 9px 9px 0 0;
  font: 700 0.76rem/1.3 var(--cote);
  letter-spacing: 0.04em;
  background: var(--chemise-fr);
}

.etiquette--illimite {
  background: var(--chemise-neutre);
}

.zone-sensible {
  border-top: 1.5px solid var(--alerte);
}

.zone-sensible .bloc-titre {
  color: var(--alerte);
  border-bottom-color: var(--alerte);
}

.bouton--alerte {
  background: transparent;
  color: var(--alerte);
  border-color: var(--alerte);
}

.bouton--alerte:disabled,
.bouton--alerte:disabled:hover {
  opacity: 1;
  background: transparent;
  color: var(--encre-douce);
  border-color: var(--filet);
}

.bouton--alerte:hover {
  background: var(--alerte);
  color: var(--papier);
}

/* Administration */

.recherche {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  max-width: 520px;
}

.recherche .bouton {
  flex: none;
}

.liste-adresses {
  list-style: none;
  padding: 0;
  margin-top: 8px;
}

.liste-adresses li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--filet);
  font: 400 0.9rem var(--cote);
}

.liste-adresses form {
  margin: 0;
}

/* Page d'accord d'un assistant : le compte, le serveur, et l'hôte où repart
   l'accord, comme les lignes d'un bordereau. */
.accord {
  margin-top: 22px;
  border-top: 1.5px solid var(--encre);
}

.accord div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--filet);
  font-size: 0.95rem;
}

.accord dt {
  flex: none;
  color: var(--encre-douce);
}

.accord dd {
  margin: 0;
  min-width: 0;
  text-align: right;
  overflow-wrap: anywhere;
}

.accord .adresse,
.liste-acces .adresse {
  font: 400 0.86rem var(--cote);
}

/* Sur un téléphone, la valeur passe sous son libellé : une adresse e-mail
   ne se coupe plus au milieu. */
@media (max-width: 760px) {
  .accord div {
    flex-direction: column;
    gap: 2px;
  }

  .accord dd {
    text-align: left;
  }
}

/* Accès donnés aux assistants : une connexion par ligne, l'action à droite. */
.liste-acces {
  list-style: none;
  padding: 0;
  margin-top: 6px;
}

.liste-acces li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--filet);
}

.liste-acces li:last-child {
  border-bottom: 0;
}

.liste-acces li > div {
  min-width: 0;
}

.liste-acces-nom {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 14px;
  font-weight: 700;
}

.liste-acces-mcp {
  font-weight: 400;
  color: var(--encre-douce);
}

.liste-acces-detail {
  margin-top: 2px;
  font-size: 0.88rem;
  color: var(--encre-douce);
  overflow-wrap: anywhere;
}

.liste-acces form {
  flex: none;
  margin: 0;
}

/* Étiquettes de l'interface : la voix, pas la machine à écrire. Courier Prime
   reste réservé aux cotes, pièces, articles, adresses et jetons. */

.bloc-titre,
.registre thead th,
.table-donnees thead th,
.compatibilite h3,
.pied h2,
.menu-mobile summary,
.etiquette {
  font-family: var(--voix);
  font-weight: 650;
  letter-spacing: 0.06em;
}

.bandeau-apercu,
.offre-prix,
.consommation-sur {
  font-family: var(--voix);
  font-weight: 600;
  letter-spacing: 0;
}

.consommation-sur {
  font-size: 1.1rem;
}

/* Adaptations */

/* Retour d'un formulaire (erreur, confirmation) : une note entre deux filets
   d'encre, comme le nota de la convention. Ni couleur ni filet latéral : le
   texte dit le problème et la suite. */
.message {
  margin-top: 18px;
  padding: 12px 0;
  border-block: 1.5px solid var(--encre);
  font-size: 0.95rem;
  line-height: 1.45;
}

.feuille .message + form,
.bloc .message + form {
  margin-top: 18px;
}

/* Case à cocher : coche à l'encre, libellé à côté. */
.case {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.95rem;
  cursor: pointer;
}

.case input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--encre);
}

/* QR code du second facteur : le SVG porte son fond papier et sa marge. */
.qr {
  margin-top: 16px;
  width: min(100%, 232px);
  box-shadow: 0 0 0 1.5px var(--encre);
}

.qr svg {
  display: block;
  width: 100%;
  height: auto;
  shape-rendering: crispEdges;
}

/* Formulaire posé dans un bloc de compte ou d'administration. */
.formulaire-bloc {
  margin-top: 18px;
  display: grid;
  gap: 16px;
}

.menu-mobile form {
  padding: 12px 0;
}

/* Dans le menu, le bouton de déconnexion se lit comme les autres entrées. */
.menu-mobile form .lien-discret {
  font-weight: 600;
  text-decoration: none;
}

@media (max-width: 960px) {
  .une,
  .fiabilite,
  .brancher,
  .questions,
  .compte-grille,
  .index-entete {
    grid-template-columns: minmax(0, 1fr);
  }

  .fiabilite-intro {
    position: static;
  }

  .fiches {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .fiche:nth-child(n) {
    grid-column: auto;
  }

  .fiche:nth-child(5) {
    grid-column: 1 / -1;
  }

  .offres {
    grid-template-columns: minmax(0, 1fr);
  }

  .pied-grille {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .pied-grille > :first-child {
    grid-column: 1 / -1;
  }

  .registre thead {
    display: none;
  }

  .registre,
  .registre tbody,
  .registre tr,
  .registre th,
  .registre td {
    display: block;
  }

  .registre tr {
    padding: 16px 18px;
    border-bottom: 1px dashed var(--filet);
  }

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

  .registre th,
  .registre td {
    padding: 2px 0;
    border: 0;
  }

  .registre .adresse {
    margin-top: 4px;
  }
}

@media (max-width: 760px) {
  .bandeau-suite {
    display: none;
  }

  .pile {
    padding-top: 84px;
  }

  .pile .chemise {
    margin-right: 40px;
  }

  .pile .chemise--be { --dx: 10px; --dy: -17px; --tx: 60px; }
  .pile .chemise--lu { --dx: 20px; --dy: -34px; --tx: 106px; }
  .pile .chemise--ch { --dx: 30px; --dy: -51px; --tx: 152px; }
  .pile .chemise--ue { --dx: 40px; --dy: -68px; --tx: 198px; }

  .pile .onglet {
    padding: 8px 11px 11px;
  }

  .chapo-suite {
    display: none;
  }

  .navigation {
    display: none;
  }

  .menu-mobile {
    display: block;
    position: relative;
  }

  .menu-mobile summary {
    list-style: none;
    cursor: pointer;
    font: 650 0.86rem var(--voix);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 1.5px solid var(--encre);
    border-radius: 3px;
    padding: 9px 14px;
  }

  .menu-mobile summary::-webkit-details-marker {
    display: none;
  }

  .menu-mobile nav {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    z-index: 10;
    width: min(78vw, 300px);
    background: var(--papier);
    box-shadow: var(--ombre-chemise);
    border-radius: 2px;
    padding: 8px 18px;
    display: grid;
  }

  .menu-mobile nav a {
    padding: 12px 0;
    border-bottom: 1px dashed var(--filet);
    text-decoration: none;
    font-weight: 600;
  }

  .menu-mobile nav a:last-child {
    border-bottom: 0;
  }

  .chemise {
    padding: 18px 34px 18px 14px;
  }

  .chemise::after {
    right: 10px;
    width: 11px;
  }

  .chemise-entete {
    flex-direction: column;
    gap: 4px;
  }

  .bordereau {
    padding: 16px 14px 14px;
  }

  .bordereau-table th {
    width: 62px;
  }

  .pile .tampon {
    right: 14px;
    font-size: 0.86rem;
  }

  .fiches {
    grid-template-columns: minmax(0, 1fr);
  }

  .fiche:nth-child(n) {
    grid-column: auto;
    transform: none;
  }

  .fiche:nth-child(odd) {
    transform: rotate(-0.6deg);
  }

  .fiche:nth-child(even) {
    transform: rotate(0.6deg);
  }

  .articles li {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .compatibilite td {
    text-align: left;
  }

  .compatibilite tr {
    display: grid;
    border-bottom: 1px dashed var(--filet);
    padding: 10px 0;
  }

  .compatibilite th,
  .compatibilite td {
    border: 0;
    padding: 0;
  }


  .pied-grille {
    grid-template-columns: minmax(0, 1fr);
  }

  .saisie-ligne {
    flex-direction: column;
  }

  .saisie-ligne .bouton {
    border-radius: 0;
  }

  .recherche {
    flex-direction: column;
  }

  .table-donnees tbody th {
    white-space: nowrap;
  }

  .table-donnees--adresses thead {
    display: none;
  }

  .table-donnees--adresses tr,
  .table-donnees--adresses th,
  .table-donnees--adresses td {
    display: block;
  }

  .table-donnees--adresses tr {
    padding: 10px 0;
    border-bottom: 1px dashed var(--filet);
  }

  .table-donnees--adresses th,
  .table-donnees--adresses td {
    padding: 0;
    border: 0;
  }

  .table-donnees--adresses .adresse {
    word-break: normal;
    overflow-wrap: anywhere;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .bandeau-apercu,
  .entete,
  .pied {
    display: none;
  }

  body {
    background: #fff;
  }
}

/* Pages de textes légaux : la feuille s'élargit pour les tableaux. */

.chemise-seule--texte {
  width: min(100%, 920px);
}

/* Sans min-width: 0, la grille du bureau prend la largeur du plus large tableau et la page déborde sur téléphone. */
.bureau--texte {
  grid-template-columns: minmax(0, 1fr);
}

.chemise-seule--texte,
.chemise-seule--texte .chemise,
.texte-legal {
  min-width: 0;
}

.texte-legal h1 {
  margin-bottom: 8px;
}

.texte-legal .version {
  font: 700 0.86rem var(--cote);
  letter-spacing: 0.08em;
  color: var(--encre-douce);
}

.texte-legal h2 {
  margin-top: 34px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.texte-legal p,
.texte-legal ul {
  margin-top: 12px;
}

.texte-legal ul {
  padding-left: 1.3em;
}

.texte-legal li + li {
  margin-top: 4px;
}

.texte-legal code {
  font-family: var(--cote);
  font-size: 0.92em;
}

.texte-legal .tableau {
  margin-top: 16px;
  overflow-x: auto;
}

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

.texte-legal th,
.texte-legal td {
  border: 1px solid var(--filet);
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
  overflow-wrap: break-word;
}

.texte-legal th {
  background: var(--kraft);
  font-weight: 700;
}

/* Accueil : formulaire de la première vue */

.une-libelle {
  display: block;
  margin-bottom: 8px;
  font-size: 0.92rem;
  font-weight: 650;
}

.une-formulaire .une-note {
  margin-top: 10px;
}

/* Le registre suit directement son titre, sans chapô entre les deux. */
.titre-section + .registre {
  margin-top: clamp(28px, 3vw, 40px);
}

/* Pied de page à 2 blocs : la signature à gauche, le contact à droite. */
.pied-grille--deux {
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
}

/* Accueil : la convention posée sur le dossier, en première vue */

.une--convention {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: start;
}

.une--convention > div:first-child {
  padding-top: clamp(16px, 4vw, 72px);
}

.une-dossier-onglets {
  display: flex;
  gap: 5px;
  list-style: none;
  margin: 0;
  padding: 0 0 0 22px;
}

.une-dossier-onglets .onglet {
  margin-bottom: -6px;
  padding: 9px 14px 15px;
  text-decoration: none;
  transition: translate 0.3s var(--sortie);
}

.une-dossier-onglets .onglet:hover {
  translate: 0 -3px;
}

.une-dossier-chemise {
  position: relative;
  background-color: var(--chemise-neutre);
  border-radius: var(--rayon-chemise);
  box-shadow: 0 1px 0 rgb(30 30 28 / 0.08), 0 30px 44px -24px rgb(52 40 18 / 0.55);
  padding: 20px 46px 22px 18px;
}

/* La sangle */
.une-dossier-chemise::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 0;
  bottom: 0;
  width: 13px;
  background: linear-gradient(90deg, #3a3a37, var(--sangle) 40%, #1b1b19);
  border-radius: 2px;
  opacity: 0.9;
}

.convention--une {
  rotate: -0.7deg;
  padding: 26px 28px 22px;
}

.convention--une::before {
  left: 32px;
}

.convention--une .convention-titre {
  padding-bottom: 12px;
}

.convention--une .articles li {
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 10px;
  padding: 10px 0;
}

.convention--une .articles h3 {
  font-size: 1rem;
}

.convention--une .articles p {
  margin-top: 2px;
  font-size: 0.9rem;
  line-height: 1.45;
}

.convention--une .nota {
  margin-top: 14px;
  padding: 10px 0;
  font-size: 0.88rem;
}

.convention--une .signature {
  margin-top: 12px;
}

@media (max-width: 960px) {
  .une--convention {
    grid-template-columns: minmax(0, 1fr);
  }

  .une--convention > div:first-child {
    padding-top: 0;
  }
}

@media (max-width: 760px) {
  .une-dossier-onglets {
    padding-left: 10px;
    gap: 4px;
  }

  .une-dossier-onglets .onglet {
    padding: 8px 10px 14px;
  }

  .une-dossier-chemise {
    padding: 14px 34px 16px 10px;
  }

  .convention--une {
    rotate: 0deg;
    padding: 22px 16px 18px;
  }

  .convention--une .articles li {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }
}
