/* A8clo Sàrl, version « classeur fédéral ».
   Un rayon de classeurs à levier sur un mur de bureau : dos en toile (texture photographiée, teintée),
   étiquettes de dos en carton dans leur fenêtre (cadre photographié), œillets métalliques photographiés,
   intercalaires à onglets. Turquoise A8clo pour le classeur d'A8clo et l'action.
   Titres Barlow Condensed, texte Barlow, écriture Playwrite FR Moderne sur les étiquettes seulement.
   Couleurs de la première version, revenues le 20.11.2026 à la demande de la cliente (charte A8clo).
   Variante « entre deux » : mêmes couleurs, avec une douceur de papeterie (voir le bloc final) à la place du rose.
   Étiquettes et papiers à angles droits ; carton des classeurs légèrement arrondi. */

:root {
  --mur: #e4e8e6;
  --mur-clair: #eef1ef;
  --carton: #fafaf7;
  --encre: #1d2322;
  --encre-douce: #46504e;
  --filet: #c2c9c6;
  --anthracite: #2a3130;
  --ardoise: #4b5755;
  --clair: #b8c0bd;
  --poudre: #e5d1cc;
  --turquoise: #0b9393;
  --turquoise-fonce: #077575;
  --courbe: cubic-bezier(0.16, 1, 0.3, 1);
  --titre: "Barlow Condensed", "Arial Narrow", sans-serif;
  --texte: "Barlow", "Helvetica Neue", sans-serif;
  --main: "Playwrite FR Moderne", "Bradley Hand", cursive;
  --toile: url("/img/toile.webp");
  --c-reg: var(--anthracite);
  --c-reg-texte: #ffffff;
  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scrollbar-color: var(--ardoise) var(--mur);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--mur);
  color: var(--encre);
  font-family: var(--texte);
  font-size: 1.125rem;
  line-height: 1.55;
  caret-color: var(--turquoise-fonce);
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--turquoise-fonce);
  color: #ffffff;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--titre);
  font-weight: 700;
  line-height: 0.98;
  text-transform: uppercase;
  text-wrap: balance;
}

p,
ul,
dl,
dd,
figure {
  margin: 0;
  padding: 0;
}

p,
dd,
li {
  text-wrap: pretty;
}

a {
  color: var(--turquoise-fonce);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--encre);
}

:focus-visible {
  outline: 3px solid var(--turquoise-fonce);
  outline-offset: 3px;
}

[id] {
  scroll-margin-top: 84px;
}

.ancre {
  position: absolute;
  top: -84px;
}

.ico {
  width: 1.15em;
  height: 1.15em;
  flex: none;
}

.evitement {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 40;
  padding: 10px 16px;
  background: var(--encre);
  color: #fff;
  font-weight: 600;
}

.evitement:focus,
.evitement:hover {
  top: 12px;
  color: #fff;
}

/* Boutons */

.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 3px;
  background: var(--turquoise-fonce);
  color: #ffffff;
  font-family: var(--titre);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 6px 14px -8px rgb(5 40 40 / 0.7);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.16s var(--courbe);
}

/* Appui : le bouton cède sous le doigt, sur tous les appareils. */
.bouton:active {
  transform: scale(0.97);
}

.bouton--carton {
  background: var(--carton);
  color: var(--turquoise-fonce);
}

/* Les survols ne valent que pour une souris : sur écran tactile, ils resteraient collés après le tap. */
@media (hover: hover) and (pointer: fine) {
  .bouton:hover {
    background: var(--encre);
    color: #ffffff;
  }

  .bouton--carton:hover {
    background: #ffffff;
    color: var(--encre);
  }
}

.lien {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 54px;
  font-family: var(--titre);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--encre);
}

.lien .ico {
  transition: transform 0.2s var(--courbe);
}

@media (hover: hover) and (pointer: fine) {
  .lien:hover .ico {
    transform: translateX(4px);
  }
}

.lien--blanc {
  color: #ffffff;
}

.lien--blanc:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Barre du haut : logo, onglets d'intercalaires, téléphone */

.barre {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: flex-end;
  gap: 24px;
  height: 68px;
  padding: 0 clamp(16px, 3vw, 40px);
  background: var(--mur-clair);
  border-bottom: 1px solid var(--filet);
}

.barre__logo {
  align-self: center;
  margin-right: auto;
}

.barre__logo img {
  width: 116px;
}

.onglets {
  display: flex;
  gap: 4px;
}

.onglets a {
  display: block;
  padding: 10px 18px 9px;
  border: 1px solid var(--filet);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: var(--carton);
  font-family: var(--titre);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--encre);
  transform: translateY(1px);
  transition: background-color 0.15s ease;
}

.onglets a:hover {
  background: #ffffff;
  color: var(--encre);
}

.barre__tel {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--titre);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--turquoise-fonce);
}

.barre__tel:hover {
  color: var(--encre);
}

.barre__menu {
  display: none;
}

/* Le rayon */

.rayon {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(100deg, rgb(255 255 255 / 0.55) 0%, rgb(255 255 255 / 0) 42%),
    var(--mur);
}

.rayon__mur {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  /* Sur un grand écran, le mur ne s'étire pas sans fin : le registre reste en vue sous le rayon. */
  min-height: min(calc(100dvh - 68px - 56px), 860px);
  padding-top: 28px;
}

.rayon__rangee {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  padding: 0 16px;
  perspective: 900px;
}

.dos {
  --c: var(--anthracite);
  position: relative;
  flex: none;
  width: clamp(104px, 10.2vw, 150px);
  height: min(680px, calc(100dvh - 236px));
  padding: 0;
  border: 0;
  border-radius: 7px 7px 2px 2px;
  background: var(--toile) 0 0 / 300px auto, var(--c);
  background-blend-mode: soft-light;
  box-shadow:
    inset -14px 0 18px -12px rgb(0 0 0 / 0.45),
    inset 10px 0 14px -10px rgb(255 255 255 / 0.22),
    0 12px 18px -12px rgb(0 0 0 / 0.55);
  cursor: pointer;
  transform-origin: 50% 100%;
  transition: transform 0.45s var(--courbe), box-shadow 0.45s var(--courbe);
}

.dos--anthracite {
  --c: var(--anthracite);
}

.dos--ardoise {
  --c: var(--ardoise);
}

.dos--clair {
  --c: var(--clair);
}

.dos--vide {
  width: clamp(60px, 6vw, 96px);
  cursor: default;
  opacity: 0.92;
}

/* Tirer un classeur : le doigt dans l'œillet, le dos bascule vers soi depuis sa base.
   À la souris, il s'annonce au survol ; au doigt, il bascule dès l'appui. */
@media (hover: hover) and (pointer: fine) {
  button.dos:hover {
    transform: rotateX(5deg) translateY(-6px);
    box-shadow:
      inset -14px 0 18px -12px rgb(0 0 0 / 0.45),
      inset 10px 0 14px -10px rgb(255 255 255 / 0.22),
      0 22px 26px -16px rgb(0 0 0 / 0.55);
  }
}

button.dos:active {
  transform: rotateX(8deg) translateY(-9px);
  transition-duration: 0.16s;
}

button.dos.est-tire {
  transform: rotateX(14deg) translateY(-14px);
  box-shadow:
    inset -14px 0 18px -12px rgb(0 0 0 / 0.45),
    inset 10px 0 14px -10px rgb(255 255 255 / 0.22),
    0 40px 36px -18px rgb(0 0 0 / 0.6);
}

.dos__etiquette {
  position: absolute;
  top: 9%;
  left: 15%;
  right: 15%;
  height: 52%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 6px;
  background: var(--carton);
  border: 7px solid transparent;
  border-image: url("/img/fenetre.png") 30 / 7px stretch;
  background-clip: padding-box;
  box-shadow: inset 0 1px 3px rgb(0 0 0 / 0.16);
}

.dos__etiquette span {
  writing-mode: vertical-rl;
  transform: rotate(180deg) rotate(var(--incl, 0deg));
  font-family: var(--main);
  font-size: calc(clamp(1.5rem, 1rem + 1.2vw, 2.125rem) * var(--taille, 1));
  line-height: 1.05;
  color: var(--encre);
  text-align: center;
}

.dos__trou,
.couverture__trou {
  position: absolute;
  bottom: 10%;
  left: 50%;
  width: 56px;
  height: auto;
  margin-left: -28px;
  filter: drop-shadow(0 2px 2px rgb(0 0 0 / 0.35));
  pointer-events: none;
}

.couverture {
  position: relative;
  z-index: 2;
  flex: none;
  display: flex;
  flex-direction: column;
  width: min(500px, 37vw);
  height: min(720px, calc(100dvh - 214px));
  margin: 0 18px;
  padding: 30px 34px 96px;
  border-radius: 6px 10px 3px 3px;
  background: var(--toile) 0 0 / 300px auto, var(--turquoise);
  background-blend-mode: soft-light;
  box-shadow:
    inset 14px 0 0 -6px rgb(0 0 0 / 0.18),
    inset -6px 0 14px -6px rgb(0 0 0 / 0.3),
    0 26px 40px -22px rgb(0 0 0 / 0.6);
}

.couverture__etiquette {
  order: -1;
  padding: 16px 20px 18px;
  background: var(--carton);
  border: 8px solid transparent;
  border-image: url("/img/fenetre.png") 30 / 8px stretch;
  background-clip: padding-box;
  box-shadow: inset 0 1px 3px rgb(0 0 0 / 0.16);
}

.couverture__nom {
  font-family: var(--main);
  font-size: 1.75rem;
  line-height: 1.1;
  color: var(--encre);
  transform: rotate(-0.8deg);
}

.couverture__chapeau {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--filet);
  font-size: 1.0625rem;
  line-height: 1.45;
  color: var(--encre);
}

/* Le 8 d'A8clo, gaufré à froid dans la toile entre l'étiquette et le titre. Il prend la place libre
   et disparaît de lui-même quand la couverture est trop basse pour lui. */
.couverture::before {
  content: "";
  flex: 1 1 0;
  min-height: 0;
  margin: 18px 0;
  background: url("/img/gaufrage-8.png") center / auto min(100%, 150px) no-repeat;
  filter: brightness(0) invert(1) drop-shadow(0 -1px 0 rgb(0 0 0 / 0.55));
  opacity: 0.2;
  pointer-events: none;
}

.couverture h1 {
  margin-top: auto;
  font-size: clamp(2.75rem, 1.2rem + 3.3vw, 4.5rem);
  line-height: 0.94;
  letter-spacing: -0.005em;
  color: #ffffff;
  text-shadow: 0 1px 0 rgb(0 0 0 / 0.12);
}

.couverture__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 20px;
  margin-top: 26px;
}

.couverture__actions .bouton {
  width: 100%;
}

.couverture__trou {
  left: auto;
  right: 30px;
  bottom: 26px;
  margin-left: 0;
  width: 50px;
}

.rayon__planche {
  position: relative;
  z-index: 3;
  height: 24px;
  background: linear-gradient(#fbfcfb, #d3d9d7 70%, #b9c0bd);
  box-shadow: 0 16px 26px -14px rgb(0 0 0 / 0.45);
}

.rayon__consigne {
  padding: 14px 16px 16px;
  text-align: center;
  font-style: italic;
  font-size: 1.0625rem;
  color: var(--encre-douce);
}

/* Le registre : chaque intercalaire prend la couleur de son classeur */

.registre {
  padding: clamp(48px, 6vw, 88px) clamp(16px, 5vw, 72px) clamp(56px, 7vw, 104px);
}

.registre[data-couleur="ardoise"] {
  --c-reg: var(--ardoise);
}

.registre[data-couleur="clair"] {
  --c-reg: var(--clair);
  --c-reg-texte: var(--encre);
}

.registre__onglets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 72px;
}

.registre__onglets [role="tab"] {
  padding: 12px 22px 10px;
  border: 1px solid var(--filet);
  border-bottom: 0;
  border-radius: 9px 9px 0 0;
  background: var(--carton);
  color: var(--encre);
  font-family: var(--titre);
  font-size: 1.1875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s var(--courbe);
}

@media (hover: hover) and (pointer: fine) {
  .registre__onglets [role="tab"]:hover {
    transform: translateY(-3px);
  }
}

.registre__onglets [role="tab"]:active {
  transform: translateY(-1px) scale(0.98);
  transition-duration: 0.12s;
}

.registre__onglets [aria-selected="true"] {
  background: var(--toile) 0 0 / 300px auto, var(--c-reg);
  background-blend-mode: soft-light;
  border-color: transparent;
  color: var(--c-reg-texte);
}

.registre__page {
  position: relative;
  max-width: 1120px;
  min-height: 420px;
  margin: 0 auto;
  padding: clamp(32px, 4vw, 56px) clamp(24px, 4vw, 64px) clamp(32px, 4vw, 56px) clamp(84px, 9vw, 132px);
  background: var(--carton);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.08), 0 24px 40px -26px rgb(20 40 38 / 0.5);
}

/* La tranche du classeur ouvert, dans sa toile, à gauche de la page */
.registre__toile {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: clamp(22px, 2.4vw, 32px);
  background: var(--toile) 0 0 / 300px auto, var(--c-reg);
  background-blend-mode: soft-light;
  box-shadow: inset -6px 0 8px -6px rgb(0 0 0 / 0.4);
  transition: background-color 0.4s var(--courbe);
}

/* Les deux trous de perforation, dans la marge */
.registre__page::before,
.registre__page::after {
  content: "";
  position: absolute;
  left: clamp(44px, 5vw, 66px);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--mur);
  box-shadow: inset 0 2px 4px rgb(0 0 0 / 0.25), 0 0 0 3px rgb(0 0 0 / 0.05);
}

.registre__page::before {
  top: 30%;
}

.registre__page::after {
  top: 65%;
}

.feuillet {
  position: relative;
}

.js .feuillet[hidden] {
  display: none;
}

.feuillet + .feuillet {
  margin-top: 48px;
}

.js .feuillet + .feuillet {
  margin-top: 0;
}

.feuillet h2 {
  max-width: 20ch;
  font-size: clamp(2.5rem, 1.6rem + 2.4vw, 4rem);
  color: var(--encre);
}

.feuillet__colonnes {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px 48px;
  margin-top: 36px;
}

.feuillet h3 {
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--encre);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  color: var(--turquoise-fonce);
}

.liste {
  list-style: none;
  display: grid;
  gap: 10px;
}

.liste li {
  position: relative;
  padding-left: 26px;
}

/* Case cochée au stylo, comme sur une liste de contrôle */
.liste li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 14px;
  height: 14px;
  border: 2px solid var(--turquoise-fonce);
}

.liste li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.38em;
  width: 6px;
  height: 10px;
  border-right: 2.5px solid var(--encre);
  border-bottom: 2.5px solid var(--encre);
  transform: rotate(40deg);
}

.liste--deux {
  margin-top: 36px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px 48px;
}

.feuillet__note {
  margin-top: 32px;
  font-style: italic;
  font-size: 1.1875rem;
  color: var(--turquoise-fonce);
}

/* A8clo Sàrl, c'est quoi ? */

.bureau {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
  max-width: 1260px;
  margin: 0 auto;
  padding: clamp(56px, 7vw, 104px) clamp(16px, 5vw, 72px);
}

.bureau__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 24px 40px -26px rgb(20 40 38 / 0.6);
}

.bureau__texte {
  display: grid;
  gap: 18px;
}

.bureau h2 {
  max-width: 16ch;
  font-size: clamp(2.5rem, 1.5rem + 2.6vw, 4.25rem);
  color: var(--encre);
}

.bureau__citation {
  max-width: 26ch;
  margin-bottom: 4px;
  font-family: var(--titre);
  font-size: clamp(1.625rem, 1.2rem + 1vw, 2.25rem);
  font-weight: 600;
  line-height: 1.12;
  color: var(--turquoise-fonce);
}

.bureau__texte p:not(.bureau__citation) {
  max-width: 62ch;
  color: var(--encre-douce);
}

.valeurs {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
}

.valeurs li {
  padding: 8px 18px 6px;
  background: var(--carton);
  box-shadow: 0 0 0 1px rgb(0 0 0 / 0.1), 0 6px 10px -8px rgb(0 0 0 / 0.4);
  font-family: var(--main);
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--encre);
  transform: rotate(var(--incl, 0deg));
}

/* Ils nous font confiance */

.references {
  background: var(--mur-clair);
}

.references__contenu {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(56px, 7vw, 96px) clamp(16px, 5vw, 72px);
}

.references h2 {
  font-size: clamp(2.25rem, 1.5rem + 2vw, 3.5rem);
}

.references__logos {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.references__logos li {
  display: grid;
  place-items: center;
  min-height: 120px;
  padding: 16px 18px;
  background: var(--carton);
  box-shadow: 0 0 0 1px rgb(0 0 0 / 0.09), 0 8px 14px -12px rgb(20 40 38 / 0.5);
}

.references__logos img {
  width: 100%;
  max-width: 168px;
}

.references__suite {
  margin-top: 20px;
  font-style: italic;
  font-size: 1.125rem;
  color: var(--encre-douce);
}

/* Vos questions : fiches bristol, ligne d'en-tête sous la question */

.questions {
  max-width: 1260px;
  margin: 0 auto;
  padding: clamp(56px, 7vw, 104px) clamp(16px, 5vw, 72px);
}

.questions__tete {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  gap: 32px;
}

.questions h2 {
  font-size: clamp(2.5rem, 1.5rem + 2.6vw, 4.25rem);
}

.questions__tete img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 3px;
}

.fiches {
  columns: 2 340px;
  column-gap: 20px;
  margin-top: 40px;
}

.fiche {
  break-inside: avoid;
  margin-bottom: 20px;
  padding: 20px 24px 22px;
  background: var(--carton);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.1), 0 14px 22px -18px rgb(20 40 38 / 0.5);
}

.fiche dt {
  padding-bottom: 10px;
  border-bottom: 2px solid var(--turquoise);
  font-family: var(--titre);
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.28;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.fiche dd {
  margin-top: 12px;
  line-height: 1.6;
  color: var(--encre-douce);
}

/* Contact : un bandeau dans la toile du classeur A8clo. Réduit le 12.11.2026 à la demande de la cliente,
   qui trouvait la section trop imposante : une ligne de trois blocs au lieu d'une pleine hauteur. */

.contact {
  padding: clamp(36px, 4vw, 52px) clamp(16px, 5vw, 72px);
  background: var(--toile) 0 0 / 360px auto, var(--turquoise);
  background-blend-mode: soft-light;
}

.contact__grille {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 290px);
  align-items: center;
  gap: 24px clamp(28px, 4vw, 64px);
  max-width: 1180px;
  margin: 0 auto;
}

.contact__principal,
.contact__actions {
  display: grid;
  justify-items: start;
  gap: 14px;
}

.contact h2 {
  font-size: clamp(2rem, 1.35rem + 1.5vw, 2.75rem);
  color: #ffffff;
  text-shadow: 0 1px 0 rgb(0 0 0 / 0.12);
}

.contact__etiquette {
  padding: 7px 14px;
  background: var(--carton);
  border: 6px solid transparent;
  border-image: url("/img/fenetre.png") 30 / 6px stretch;
  background-clip: padding-box;
  font-size: 1.0625rem;
  color: var(--encre);
}

.contact__tel {
  font-family: var(--titre);
  font-size: clamp(2.25rem, 1.6rem + 1.5vw, 3rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  color: #ffffff;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 1px 0 rgb(0 0 0 / 0.12);
}

.contact__tel:hover {
  color: var(--encre);
}

.contact .bouton {
  min-height: 48px;
  font-size: 1.125rem;
}

.contact__adresse {
  padding: 18px 22px 10px;
  background: var(--carton);
  box-shadow: 0 20px 32px -22px rgb(0 0 0 / 0.55);
  font-style: normal;
}

.contact__adresse h3 {
  font-size: 1.25rem;
  color: var(--turquoise-fonce);
}

.contact__adresse p {
  margin-top: 8px;
  font-family: var(--main);
  font-size: 1.25rem;
  line-height: 1.3;
}

.contact__adresse .lien {
  min-height: 44px;
  font-size: 1.125rem;
}

.contact :focus-visible {
  outline-color: #ffffff;
}

.contact__adresse :focus-visible {
  outline-color: var(--turquoise-fonce);
}

/* Pied de page */

.pied {
  padding: clamp(48px, 6vw, 80px) clamp(16px, 5vw, 72px) 36px;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--encre-douce);
}

.pied__grille {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 32px clamp(28px, 4vw, 56px);
  max-width: 1180px;
  margin: 0 auto;
}

.pied__marque img {
  width: 132px;
  margin-bottom: 14px;
}

.pied__marque p {
  max-width: 24ch;
  font-size: 1.0625rem;
  color: var(--encre);
}

/* Les titres de colonne : une étiquette de dos, en capitales étroites. */
.pied__titre {
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--encre);
  font-family: var(--titre);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--encre);
}

.pied__bloc p:not(.pied__titre) {
  color: var(--encre);
}

.pied__bloc ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

.pied__bloc a {
  text-decoration-color: var(--filet);
  font-variant-numeric: tabular-nums;
}

.pied__bloc a:hover {
  color: var(--turquoise-fonce);
  text-decoration-color: currentColor;
}

.pied__bas {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 32px;
  margin-top: clamp(8px, 2vw, 24px);
  padding-top: 18px;
  border-top: 1px solid var(--filet);
  font-size: 0.8125rem;
}

.pied a {
  color: var(--encre);
}

.pied__sep {
  display: inline-block;
  width: 1px;
  height: 0.9em;
  margin: 0 12px;
  vertical-align: -0.1em;
  background: var(--encre-douce);
}

/* Entrée : les dos se posent sur la planche, un par un (désactivé si mouvement réduit) */

/* Le classeur A8clo (et son titre) est déjà sur la planche dès la première image ; les dos se posent
   autour de lui, du plus proche au plus éloigné. Aucun fondu : rien n'apparaît de nulle part. */
@media (prefers-reduced-motion: no-preference) {
  .rayon__rangee > .dos {
    animation: poser 0.6s var(--courbe) backwards;
  }

  .rayon__rangee > :nth-child(2),
  .rayon__rangee > :nth-child(6) { animation-delay: 0.06s; }
  .rayon__rangee > :nth-child(1),
  .rayon__rangee > :nth-child(7) { animation-delay: 0.12s; }

  /* Changer de feuillet à la souris : un court glissement. Aux flèches du clavier : instantané. */
  .js .feuillet:not([hidden]) {
    animation: feuilleter 0.22s var(--courbe) backwards;
  }

  .registre.au-clavier .feuillet {
    animation: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dos {
    transition: none;
  }

  .onglets.est-ouverte {
    transition: opacity 0.2s ease;
  }
}

@keyframes poser {
  from {
    transform: translateY(-22px);
  }
}

@keyframes feuilleter {
  from {
    opacity: 0;
    transform: translateX(8px);
  }
}

/* Pages simples */

.barre-simple {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px clamp(16px, 5vw, 72px);
  background: var(--mur-clair);
  border-bottom: 1px solid var(--filet);
}

.barre-simple img {
  width: 116px;
}

.page-simple {
  max-width: 820px;
  margin: clamp(32px, 5vw, 64px) auto;
  padding: clamp(28px, 4vw, 56px);
  background: var(--carton);
  box-shadow: 0 24px 40px -26px rgb(20 40 38 / 0.5);
}

.page-simple h1 {
  font-size: clamp(2.25rem, 1.5rem + 2vw, 3.5rem);
}

.page-simple h2 {
  margin-top: 32px;
  font-size: 1.375rem;
  color: var(--turquoise-fonce);
}

.page-simple p,
.page-simple li {
  margin-top: 10px;
  color: var(--encre-douce);
}

.page-simple ul {
  padding-left: 20px;
}

.page-simple .retour {
  margin-top: 32px;
}

/* Tablette */

@media (max-width: 1100px) {
  .onglets a {
    padding: 9px 12px 8px;
    font-size: 1rem;
  }

  .barre__tel span {
    display: none;
  }

  .couverture {
    width: min(460px, 44vw);
    padding: 24px 24px 84px;
  }

  .dos--vide {
    display: none;
  }

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

  .contact__adresse {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

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

  .pied__marque {
    grid-column: 1 / -1;
  }
}

/* Téléphone : les classeurs se couchent en tranches empilées */

@media (max-width: 860px) {
  body {
    font-size: 1.0625rem;
  }

  .barre {
    align-items: center;
    height: 64px;
    gap: 10px;
  }

  .barre__logo img {
    width: 104px;
  }

  .barre__tel {
    display: inline-flex;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 3px;
    background: var(--turquoise-fonce);
    color: #ffffff;
  }

  .barre__tel:hover {
    background: var(--encre);
    color: #ffffff;
  }

  .barre__menu {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid var(--filet);
    border-radius: 3px;
    background: var(--carton);
    color: var(--encre);
    font-family: var(--titre);
    font-size: 1.0625rem;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
  }

  .barre__menu-ouvrir,
  .barre__menu-fermer {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }

  .barre__menu-fermer {
    display: none;
  }

  .barre__menu[aria-expanded="true"] .barre__menu-ouvrir {
    display: none;
  }

  .barre__menu[aria-expanded="true"] .barre__menu-fermer {
    display: inline-flex;
  }

  .onglets {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 8px 16px 16px;
    background: var(--mur-clair);
    border-bottom: 1px solid var(--filet);
    box-shadow: 0 18px 30px -20px rgb(0 0 0 / 0.4);
  }

  .onglets.est-ouverte {
    display: flex;
    transition: opacity 0.2s ease, transform 0.2s var(--courbe);
  }

  /* Le menu glisse de quelques pixels à l'ouverture ; il se ferme sans attendre. */
  @starting-style {
    .onglets.est-ouverte {
      opacity: 0;
      transform: translateY(-8px);
    }
  }

  .barre__tel,
  .barre__menu {
    transition: transform 0.16s var(--courbe), background-color 0.2s ease;
  }

  .barre__tel:active,
  .barre__menu:active {
    transform: scale(0.97);
  }

  .onglets a {
    padding: 14px 4px;
    border: 0;
    border-bottom: 1px solid var(--filet);
    border-radius: 0;
    background: none;
    font-size: 1.25rem;
    transform: none;
  }

  [id] {
    scroll-margin-top: 76px;
  }

  .rayon__mur {
    min-height: 0;
    padding-top: 16px;
  }

  .rayon__rangee {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 0 16px 16px;
    perspective: none;
  }

  .couverture {
    order: -1;
    width: auto;
    height: auto;
    margin: 0 0 14px;
    padding: 18px 16px 22px;
  }

  .couverture__trou,
  .couverture::before {
    display: none;
  }

  .couverture h1 {
    margin-top: 22px;
    font-size: clamp(2.5rem, 1.2rem + 6vw, 3.25rem);
  }

  .dos {
    width: auto;
    height: 64px;
    border-radius: 2px 7px 7px 2px;
    box-shadow:
      inset 0 -10px 14px -10px rgb(0 0 0 / 0.45),
      inset 0 8px 12px -10px rgb(255 255 255 / 0.22),
      0 8px 12px -10px rgb(0 0 0 / 0.5);
  }

  button.dos.est-tire {
    transform: translateX(10px);
  }

  button.dos:active {
    transform: translateX(6px);
  }

  .dos__etiquette {
    top: 9px;
    bottom: 9px;
    left: 18px;
    right: 96px;
    height: auto;
    justify-content: flex-start;
    padding: 0 12px;
  }

  .dos__etiquette span {
    writing-mode: horizontal-tb;
    transform: rotate(var(--incl, 0deg));
    font-size: 1.375rem;
    white-space: nowrap;
  }

  .dos__trou {
    top: 50%;
    bottom: auto;
    left: auto;
    right: 24px;
    width: 38px;
    margin: -19px 0 0;
  }

  .rayon__planche,
  .rayon__consigne {
    display: none;
  }

  .registre__onglets {
    padding-left: 0;
  }

  .registre__onglets [role="tab"] {
    padding: 10px 14px 8px;
    font-size: 1.0625rem;
  }

  .registre__page {
    padding: 28px 20px 32px 64px;
  }

  .registre__page::before,
  .registre__page::after {
    left: 34px;
    width: 16px;
    height: 16px;
  }

  .feuillet__colonnes,
  .liste--deux,
  .bureau,
  .questions__tete,
  .contact__grille {
    grid-template-columns: 1fr;
  }

  .contact__adresse {
    grid-column: auto;
    grid-row: auto;
  }

  .bureau__photo {
    order: 2;
  }

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

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

  nav.pied__bloc {
    grid-column: 1 / -1;
  }

  nav.pied__bloc ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .couverture__actions .bouton {
    font-size: 1.125rem;
  }
}

/* ==========================================================================
   Variante « entre deux » (20.11.2026) : les couleurs de la première version, la cliente les ayant
   préférées, plus une douceur de papeterie obtenue par la forme et le détail, pas par la couleur.
   Le rose reste en touches minuscules : un classeur, le ruban et les bandes adhésives.
   Règle de formes : papiers à 8 px, boutons en pilule, photos à 10 px, classeurs inchangés.
   ========================================================================== */

/* Titres : capitales plus légères et plus aérées. La couverture garde sa graisse, lisible sur la toile. */
h2,
h3,
h4 {
  font-weight: 500;
  letter-spacing: 0.03em;
}

.couverture h1 {
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* Écriture liée d'écolier sur les étiquettes, plus fine et plus féminine que Kalam */
.dos__etiquette span {
  font-weight: 350;
  font-size: calc(clamp(1.1875rem, 0.8rem + 0.95vw, 1.75rem) * var(--taille, 1));
  line-height: 1.35;
}

.couverture__nom {
  font-weight: 300;
  font-size: 1.25rem;
  line-height: 1.5;
}

.valeurs li {
  border-radius: 8px;
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.6;
}

.contact__adresse p {
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
}

/* Un seul classeur en poudre parmi les gris : Création d'entreprise */
.dos--poudre {
  --c: var(--poudre);
}

.registre[data-couleur="poudre"] {
  --c-reg: var(--poudre);
  --c-reg-texte: var(--encre);
}

/* Boutons en pilule, papiers aux coins adoucis */
.bouton,
.barre__tel {
  border-radius: 999px;
}

.registre__page,
.fiche,
.references__logos li,
.contact__adresse {
  border-radius: 8px;
}

.registre__page {
  border-top-left-radius: 3px;
}

.bureau__photo img,
.questions__tete img {
  border-radius: 10px;
}

/* Intertitres : un trait fin, avec un court trait turquoise plus épais au départ */
.feuillet h3 {
  border-bottom: 1px solid var(--filet);
  background: linear-gradient(var(--turquoise), var(--turquoise)) left bottom / 44px 3px no-repeat;
  padding-bottom: 10px;
}

.fiche dt {
  border-bottom-width: 1px;
}

.liste li::before {
  border-radius: 4px;
}

/* Le signet : un ruban de satin qui dépasse du classeur ouvert, terminé en V */
.signet {
  position: absolute;
  z-index: 2;
  top: -8px;
  right: clamp(28px, 6vw, 88px);
  width: 22px;
  height: 104px;
  background:
    linear-gradient(90deg, rgb(255 255 255 / 0.38) 0 22%, transparent 22% 70%, rgb(0 0 0 / 0.1) 70%),
    #d9b8b1;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 86%, 0 100%);
  filter: drop-shadow(0 6px 5px rgb(0 0 0 / 0.18));
  pointer-events: none;
}

/* Bandes adhésives de papeterie : sur la photo du bureau et sur une fiche sur trois */
.bureau__photo {
  position: relative;
  padding: 12px 12px 36px;
  background: var(--carton);
  border-radius: 6px;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.1), 0 24px 40px -26px rgb(20 40 38 / 0.55);
  transform: rotate(-1.4deg);
}

.bureau__photo img {
  border-radius: 3px;
  box-shadow: none;
}

.bureau__photo::before,
.fiche:nth-child(3n + 1)::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: -13px;
  left: 50%;
  width: 104px;
  height: 28px;
  margin-left: -52px;
  background:
    repeating-linear-gradient(90deg, transparent 0 7px, rgb(255 255 255 / 0.34) 7px 9px),
    rgb(222 190 184 / 0.9);
  clip-path: polygon(0 0, 100% 0, 96% 25%, 100% 50%, 96% 75%, 100% 100%, 0 100%, 4% 75%, 0 50%, 4% 25%);
  transform: rotate(-3deg);
  pointer-events: none;
}

.fiche {
  position: relative;
}

.fiche:nth-child(3n + 1)::before {
  width: 84px;
  height: 24px;
  margin-left: -42px;
  transform: rotate(2deg);
  background:
    repeating-linear-gradient(90deg, transparent 0 7px, rgb(255 255 255 / 0.3) 7px 9px),
    rgb(11 147 147 / 0.3);
}

@media (max-width: 860px) {
  .dos__etiquette span {
    font-size: 1.0625rem;
  }

  .bureau__photo {
    transform: rotate(-0.8deg);
  }

  .signet {
    right: 14px;
    height: 64px;
    width: 18px;
  }
}
