
@font-face {
  font-family: 'PoliceTitre';
  src: url('police-titre.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'PoliceLibelle';
  src: url('police-libelle.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}

:root {
  --journal: #EFEBE3;        /* le papier journal, gris cassé chaud */
  --journal-bas: #E3DED3;    /* … et le bas de son dégradé */
  --page: #FBFAF7;           /* la page fraîche : les blocs posés dessus */
  --page-vive: #FDFCFA;      /* le papier neuf : le haut de la section horaires */
  --plaque: #E9E2D6;         /* la plaque porte-étiquette des casiers */
  --plaque-bas: #E0D8C9;     /* écart de clarté faible : la plaque ne fait pas de bande */

  --nuit: #15181E;
  --nuit-haut: #1F242D;      /* le haut du dégradé : la lumière vient d'en haut */
  --encre: #1D2026;          /* l'encre d'imprimerie, sur papier */

  --rouge: #C2382A;          /* filets, aplats — jamais de texte sombre dessus */
  --rouge-fonce: #9E2B20;    /* liens et pastilles sur papier */
  --rouge-clair: #E4695B;    /* le seul rouge lisible sur la nuit */
  --bouton-haut: #CE4133;
  --bouton-bas: #B7332E;

  --metal: #9AA1A9;
  --metal-clair: #B4BAC1;    /* le haut de la lèvre : lumière d'en haut */
  --metal-fonce: #6F767E;

  --sourd: #5A6068;          /* sur papier */
  --sourd-fonce: #4A4F57;    /* sous la barre de nav, au pire cas */
  --sourd-clair: #C3C8CF;    /* sur la nuit */
  --page-douce: #F4F5F7;     /* le texte clair sur la nuit */

  --rayon: 12px;
  --rayon-bouton: 10px;
  --filet: 1px solid rgba(29, 32, 38, .10);
  --liseré: inset 0 1px 0 rgba(255, 255, 255, .85);
  --ombre: 0 1px 2px rgba(21, 24, 30, .08), 0 12px 28px rgba(21, 24, 30, .14);
  --ombre-haute: 0 1px 2px rgba(21, 24, 30, .08), 0 18px 40px rgba(21, 24, 30, .20);
  --colonne: 1080px;

  --police-titre: 'PoliceTitre', Rockwell, "Roboto Slab", "Courier New", Georgia, serif;
  --police-libelle: 'PoliceLibelle', "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--police-libelle);
  background: var(--journal); color: var(--encre);
  line-height: 1.6; font-size: 16.5px;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
ul { list-style: none; }
a { color: var(--rouge-fonce); }

.chiffres, .plaque__num, .tableau dd, .ardoise__lignes dd, .btn--plein {
  font-family: var(--police-libelle);
  font-variant-numeric: lining-nums tabular-nums;
}

.evite { position: absolute; left: 0; top: 0; z-index: 99;
  background: var(--nuit); color: #fff; padding: 8px 16px;
  border-radius: 0 0 var(--rayon-bouton) 0; text-decoration: none;
  transform: translateY(-110%); transition: transform .2s ease; }
.evite:focus { transform: none; }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--rouge-fonce); outline-offset: 3px; border-radius: 4px;
}
.bandeau :focus-visible, .comptoir :focus-visible, .pied :focus-visible {
  outline-color: var(--rouge-clair);
}

.ruban { background: var(--nuit); color: var(--page-douce); text-align: center;
  font-size: 13.5px; padding: 8px 16px; }
.ruban a, .pied__demo a { display: inline-block; padding: 3px 4px; margin: -3px 0; }
.ruban a { color: var(--rouge-clair); }

.haut { position: sticky; top: 0; z-index: 20; }
.nav {
  background: color-mix(in srgb, var(--journal) 92%, transparent);
  -webkit-backdrop-filter: blur(12px) saturate(115%);
  backdrop-filter: blur(12px) saturate(115%);
  border-bottom: 1px solid rgba(29, 32, 38, .14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 1px 2px rgba(21, 24, 30, .08);
}
.nav__dedans { max-width: var(--colonne); margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.marque { display: block; text-decoration: none; color: var(--encre); }
.marque__nom { display: block; font-family: var(--police-titre); font-weight: 600;
  font-size: 1.32rem; line-height: 1.1; letter-spacing: -.008em; }
.marque__sous { display: block; font-size: .72rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--sourd-fonce); margin-top: 2px; }

#nav-toggle { display: none; width: 46px; height: 46px; border: var(--filet);
  border-radius: var(--rayon-bouton); background: var(--page);
  box-shadow: var(--liseré); cursor: pointer; padding: 12px 11px; }
.nav-toggle__trait { display: block; height: 2px; background: var(--encre);
  border-radius: 2px; }
.nav-toggle__trait + .nav-toggle__trait { margin-top: 5px; }

#nav-links { display: flex; gap: 4px; align-items: center; }
#nav-links a { display: block; padding: 9px 14px; min-height: 24px;
  text-decoration: none; color: var(--encre); font-size: .95rem;
  font-family: var(--police-titre); font-weight: 600;
  border-radius: var(--rayon-bouton); transition: background .22s ease, color .22s ease; }
#nav-links a:hover { background: rgba(29, 32, 38, .07); color: var(--rouge-fonce); }

.levre {
  --levre-h: 14px; --levre-biseau: 22px;
  position: relative; height: var(--levre-h);
  background: linear-gradient(180deg,
    rgba(255, 255, 255, .55) 0 1px, var(--metal-clair) 1px, var(--metal) 100%);
  clip-path: polygon(var(--levre-biseau) 0, calc(100% - var(--levre-biseau)) 0, 100% 100%, 0 100%);
  filter: drop-shadow(0 8px 14px rgba(21, 24, 30, .22));
}
.levre--fine { --levre-h: 12px; --levre-biseau: 10px; }
.bandeau .levre, .comptoir .levre {
  background: linear-gradient(180deg,
    rgba(255, 255, 255, .30) 0 1px, #6E757D 1px, #434952 100%);
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .40));
}

.liste-levre li { position: relative; padding-left: 26px; margin-bottom: 12px; }
.liste-levre li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 14px; height: 8px; background: var(--metal-clair);
  clip-path: polygon(3px 0, 11px 0, 14px 100%, 0 100%);
}

.etiquette { display: inline-block; background: var(--encre); color: var(--page-douce);
  font-family: var(--police-libelle); font-size: .7rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  padding: 6px 12px; margin-bottom: 20px; }
.bandeau .etiquette, .comptoir .etiquette {
  background: var(--page-douce); color: var(--nuit); }

.btn { display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px; border-radius: var(--rayon-bouton);
  text-decoration: none; font-weight: 600; font-size: 1.02rem;
  transition: background-color .2s ease, border-color .2s ease; }
.btn--plein { background-color: var(--bouton-haut);
  color: #fff; box-shadow: var(--ombre), inset 0 1px 0 rgba(255, 255, 255, .18);
  letter-spacing: .01em; }
.btn--plein:hover { background-color: var(--bouton-bas); }
.btn--ligne { color: var(--page-douce); border: 1px solid rgba(255, 255, 255, .34);
  background-color: rgba(255, 255, 255, .06); font-family: var(--police-titre); }
.btn--ligne:hover { background-color: rgba(255, 255, 255, .15);
  border-color: rgba(255, 255, 255, .52); }

main > section, .pied { position: relative; }
main > section::after, .pied::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  --bord: max(0px, calc((100% - var(--colonne)) / 2));
  background-image:
    var(--motif-feuilles),
    var(--motif-objets),
    linear-gradient(90deg,
      var(--joue-fond) 0, transparent var(--bord),
      transparent calc(100% - var(--bord)), var(--joue-fond) 100%);
  background-size: 156px 156px, 257px 211px, 100% 100%;
  background-position: 0 0, 0 0, left top;
  background-repeat: repeat, repeat, no-repeat;
  -webkit-mask-image: linear-gradient(90deg, #000 0,
    rgba(0,0,0,.42) calc(var(--bord) + 150px),
    rgba(0,0,0,.42) calc(100% - var(--bord) - 150px), #000 100%);
  mask-image: linear-gradient(90deg, #000 0,
    rgba(0,0,0,.42) calc(var(--bord) + 150px),
    rgba(0,0,0,.42) calc(100% - var(--bord) - 150px), #000 100%);
}
.presentoir, .horaires, .contact {
  --joue-fond: rgba(21, 24, 30, .30);
  --motif-feuilles: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='156' height='156' viewBox='0 0 156 156'%3E%3Cg fill='none' stroke='%231D2026' stroke-opacity='.115' stroke-width='1.15' stroke-linejoin='round' stroke-linecap='round'%3E%3Cg transform='translate(10 16)'%3E%3Cpath d='M0 8 30 0 44 6 14 14Z'/%3E%3Cpath d='M15 4 29 10'/%3E%3C/g%3E%3Cg transform='translate(92 58) rotate(-11)'%3E%3Cpath d='M0 6 22 0 33 4.5 11 10.5Z'/%3E%3Cpath d='M11 3 22 7.5'/%3E%3C/g%3E%3Cg transform='translate(22 104) rotate(7)'%3E%3Cpath d='M0 7 26 0 38 5 12 12Z'/%3E%3Cpath d='M13 3.5 25 8.5'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  --motif-objets: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='257' height='211' viewBox='0 0 257 211'%3E%3Cg fill='none' stroke='%231D2026' stroke-opacity='.105' stroke-width='1.15' stroke-linejoin='round' stroke-linecap='round'%3E%3Cg transform='translate(34 44) rotate(-3)'%3E%3Cpath d='M0 0H50L46 15H4Z'/%3E%3Cpath d='M4 15q4.2 5.5 8.4 0q4.2 5.5 8.4 0q4.2 5.5 8.4 0q4.2 5.5 8.4 0q4.2 5.5 8.4 0'/%3E%3C/g%3E%3Cg transform='translate(152 130) rotate(4)'%3E%3Cpath d='M0 0H38L35 11H3Z'/%3E%3Cpath d='M3 11q3.2 4.2 6.4 0q3.2 4.2 6.4 0q3.2 4.2 6.4 0q3.2 4.2 6.4 0q3.2 4.2 6.4 0'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.bandeau, .comptoir, .pied {
  --joue-fond: rgba(226, 232, 240, .09);
  --motif-feuilles: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='156' height='156' viewBox='0 0 156 156'%3E%3Cg fill='none' stroke='%23E2E8F0' stroke-opacity='.105' stroke-width='1.15' stroke-linejoin='round' stroke-linecap='round'%3E%3Cg transform='translate(10 16)'%3E%3Cpath d='M0 8 30 0 44 6 14 14Z'/%3E%3Cpath d='M15 4 29 10'/%3E%3C/g%3E%3Cg transform='translate(92 58) rotate(-11)'%3E%3Cpath d='M0 6 22 0 33 4.5 11 10.5Z'/%3E%3Cpath d='M11 3 22 7.5'/%3E%3C/g%3E%3Cg transform='translate(22 104) rotate(7)'%3E%3Cpath d='M0 7 26 0 38 5 12 12Z'/%3E%3Cpath d='M13 3.5 25 8.5'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  --motif-objets: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='257' height='211' viewBox='0 0 257 211'%3E%3Cg fill='none' stroke='%23E2E8F0' stroke-opacity='.095' stroke-width='1.15' stroke-linejoin='round' stroke-linecap='round'%3E%3Cg transform='translate(34 44) rotate(-3)'%3E%3Cpath d='M0 0H50L46 15H4Z'/%3E%3Cpath d='M4 15q4.2 5.5 8.4 0q4.2 5.5 8.4 0q4.2 5.5 8.4 0q4.2 5.5 8.4 0q4.2 5.5 8.4 0'/%3E%3C/g%3E%3Cg transform='translate(152 130) rotate(4)'%3E%3Cpath d='M0 0H38L35 11H3Z'/%3E%3Cpath d='M3 11q3.2 4.2 6.4 0q3.2 4.2 6.4 0q3.2 4.2 6.4 0q3.2 4.2 6.4 0q3.2 4.2 6.4 0'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cadre { position: relative; margin: 0; padding: 10px;
  background: var(--nuit); border-radius: 6px;
  box-shadow: var(--ombre-haute), inset 0 0 0 1px rgba(255, 255, 255, .10); }
.cadre img { display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 50%; border-radius: 2px; }
.cadre::before { content: ""; position: absolute; z-index: 1;
  left: 0; right: 0; top: 0; height: 6px;
  background: var(--rouge); border-radius: 6px 6px 0 0; }
.cadre { padding-top: 14px; }
.cadre--nuit { background: var(--journal);
  box-shadow: var(--ombre-haute), inset 0 0 0 1px rgba(21, 24, 30, .18); }
.cadre--bandeau { background: var(--page); }
.cadre--bandeau, .cadre--nuit { }
.cadre--haut, .cadre--nuit { align-self: stretch; }
.cadre--haut img, .cadre--nuit img { min-height: 100%; }

.colonne { position: relative; z-index: 1;
  max-width: var(--colonne); margin: 0 auto; padding: 0 24px; }
.colonne--etroite { max-width: 760px; }
.titre2 { font-family: var(--police-titre); font-weight: 600;
  font-size: clamp(1.75rem, 3.6vw, 2.6rem); line-height: 1.12;
  letter-spacing: -.012em; margin-bottom: 24px; }
.para { color: var(--sourd); max-width: 60ch; }

.bandeau { background-color: var(--nuit-haut);
  padding-top: 88px; overflow: hidden; }
.bandeau__halo { position: absolute; z-index: 0; pointer-events: none;
  left: 66%; top: -22%; width: min(1150px, 96%); aspect-ratio: 1 / 1;
  transform: translateX(-50%);
  background: radial-gradient(circle at 50% 42%,
    rgba(255, 238, 210, .08), rgba(255, 238, 210, 0) 60%); }

.bandeau__dedans { position: relative; z-index: 1;
  max-width: var(--colonne); margin: 0 auto; padding: 0 24px 104px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 372px);
  gap: 44px; align-items: center; }
.cadre--bandeau { aspect-ratio: 4 / 5; }

.bandeau__verre { position: relative;
  background: color-mix(in srgb, var(--nuit) 82%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(115%);
  backdrop-filter: blur(16px) saturate(115%);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--rayon);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .10),
              inset 0 26px 52px -26px rgba(255, 238, 210, .15),
              var(--ombre-haute);
  padding: 40px 36px 44px; }
.bandeau__verre::after { content: ""; position: absolute;
  left: -16px; right: -16px; bottom: -14px; height: 14px;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, .5) 0 1px, var(--metal-clair) 1px, var(--metal) 100%);
  clip-path: polygon(16px 0, calc(100% - 16px) 0, 100% 100%, 0 100%);
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .34)); }

.bandeau__titre { font-family: var(--police-titre); font-weight: 600;
  color: var(--page-douce);
  font-size: clamp(2.15rem, 4.1vw, 3.2rem); line-height: 1.06;
  letter-spacing: -.022em; margin-bottom: 24px; }
.bandeau__accent { display: block; position: relative; padding-bottom: 14px; }
.bandeau__accent::after { content: ""; position: absolute; left: 0; bottom: 0;
  width: 132px; height: 4px; background: var(--rouge); border-radius: 2px; }
html.js .bandeau__accent::after { transform: scaleX(0); transform-origin: left center;
  animation: filet-trace .8s cubic-bezier(.22, 1, .36, 1) .25s forwards; }

.bandeau__intro { color: var(--sourd-clair); font-size: 1.09rem;
  max-width: 54ch; margin-bottom: 32px; }
.bandeau__actes { display: flex; flex-wrap: wrap; gap: 12px; }

.bandeau__volet { position: absolute; z-index: 0; pointer-events: none;
  left: 0; right: 0; top: 0; height: 58px;
  background:
    linear-gradient(180deg, transparent 0 52px,
      rgba(255, 255, 255, .18) 52px 53px, #5C636C 53px 56px, #05070A 56px),
    repeating-linear-gradient(180deg,
      rgba(255, 255, 255, .06) 0 1px,
      #272C33 1px 6px, #171B21 6px 9px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .38); }

.bandeau__casier { position: relative; z-index: 1; }

.presentoir { background-color:#efebe3;
  padding: 104px 0 112px; }
.presentoir__deux { display: grid; margin-top: 40px;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: 40px; align-items: stretch; }
.presentoir__bati { position: relative;
  border-left: 3px solid var(--metal); border-right: 3px solid var(--metal);
  border-radius: 4px; }

.casier { position: relative; background: var(--page);
  border: var(--filet); border-bottom: 0;
  box-shadow: var(--liseré);
  padding: 28px 28px 0;
  display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 8px 40px; align-items: start;
  transition: background .24s ease; }
.casier:first-child { border-radius: var(--rayon) var(--rayon) 0 0; }
.casier:last-child { border-radius: 0 0 var(--rayon) var(--rayon); }
.casier:hover { background: #FFFFFF; }

.casier__plaque { grid-column: 1; align-self: start;
  background: var(--plaque);
  border: var(--filet); border-radius: 4px; box-shadow: var(--liseré);
  padding: 12px 16px; }
.casier__sur { display: block; font-size: .68rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--sourd); margin-bottom: 4px; }
.casier__nom { font-family: var(--police-titre); font-weight: 600;
  font-size: 1.22rem; line-height: 1.18; letter-spacing: -.008em; color: var(--encre); }
.casier__texte { grid-column: 2; color: var(--sourd); }

.casier__rangee { grid-column: 1 / -1; margin: 28px -28px 0; }
.casier--a { background: #FCFBF8; }
.casier--b { background: #F8F6F1; }
.casier--c { background: #F4F1EB; }
.casier--d { background: #F0ECE4; }
.casier--a:hover { background: #FFFFFF; }
.casier--b:hover { background: #FCFBF7; }
.casier--c:hover { background: #FAF8F3; }
.casier--d:hover { background: #F7F4ED; }

html.js .casier .levre { transform: scaleX(0); transform-origin: left center; }
html.js .casier.est-vu .levre { transform: scaleX(1);
  transition: transform .65s cubic-bezier(.22, 1, .36, 1); }
html.js .casier:nth-child(2).est-vu .levre { transition-delay: 90ms; }
html.js .casier:nth-child(3).est-vu .levre { transition-delay: 180ms; }
html.js .casier:nth-child(4).est-vu .levre { transition-delay: 270ms; }

.comptoir { background-color:#1f242d;
  color: var(--page-douce); padding: 96px 0; overflow: hidden; }
.comptoir__halo { position: absolute; z-index: 0; pointer-events: none;
  left: 50%; top: -10%; width: min(1100px, 120%); aspect-ratio: 1 / 1;
  transform: translateX(-50%);
  background: radial-gradient(circle at 50% 40%,
    rgba(255, 236, 205, .06), rgba(255, 236, 205, 0) 60%); }
.comptoir__deux { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
  gap: 48px; align-items: stretch; }
.comptoir__mot .guichet { margin-top: 32px; }
.comptoir .titre2 { color: var(--page-douce); }
.comptoir .para { color: var(--sourd-clair); }

.guichet { background: var(--nuit-haut); border: 1px solid rgba(255, 255, 255, .09);
  border-radius: var(--rayon); box-shadow: var(--ombre-haute);
  overflow: hidden; }
.guichet .levre { --levre-h: 12px; --levre-biseau: 12px; }
.guichet__dedans { padding: 28px 28px 24px; }
.guichet__titre { font-family: var(--police-titre); font-weight: 600;
  font-size: 1.18rem; margin-bottom: 20px; color: var(--page-douce); }
.guichet .liste-levre li { color: var(--sourd-clair); }
.guichet .liste-levre li:last-child { margin-bottom: 0; }

.horaires { background-color:#efebe3;
  padding: 88px 0; }
.horaires .colonne { z-index: 2; }
.horaires__deux { display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
  gap: 56px; align-items: center; }
.horaires__mot .para { margin-top: -4px; }
.horaires__mot .btn { margin-top: 28px; }
.horaires__mot .btn--ligne { color: var(--encre); border-color: rgba(29, 32, 38, .30);
  background-color: transparent; }
.horaires__mot .btn--ligne:hover { background-color: rgba(29, 32, 38, .07);
  border-color: rgba(29, 32, 38, .48); }
.ardoise { background: var(--page-vive);
  border: var(--filet); border-radius: var(--rayon);
  box-shadow: var(--ombre); overflow: hidden; }
.ardoise .levre { --levre-biseau: 20px; }
.ardoise__dedans { padding: 32px 32px 28px; }
.ardoise__titre { font-family: var(--police-titre); font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.14; margin-bottom: 24px; }

.ardoise__lignes { border-top: var(--filet); }
.ardoise__lignes .tableau__ligne { padding: 12px 0; }
.tableau__ligne { display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px; align-items: baseline;
  padding: 11px 0; border-bottom: var(--filet); }
.ardoise__lignes dt { font-weight: 600; }
.ardoise__lignes dd { color: var(--sourd); text-align: right; }
.tableau__ligne--ferme dd { color: var(--sourd); font-style: italic; }
.tableau__aujourdhui { display: inline-block; margin-left: 8px;
  background: var(--rouge-fonce); color: #fff;
  font-size: .64rem; letter-spacing: .12em; text-transform: uppercase;
  padding: 3px 7px; border-radius: 3px; vertical-align: 2px; }
.ardoise__note { margin-top: 20px; color: var(--sourd); font-size: .95rem; }

.contact { background-color:#fbfaf7;
  padding: 96px 0; }
.contact__grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: 48px; align-items: start; }

.plaque { display: inline-block; margin-top: 32px; text-decoration: none;
  min-height: 56px; padding: 16px 30px; border-radius: var(--rayon-bouton);
  background-color: var(--bouton-haut);
  color: #fff; box-shadow: var(--ombre), inset 0 1px 0 rgba(255, 255, 255, .18);
  transition: background-color .2s ease; }
.plaque:hover { background-color: var(--bouton-bas); }
.plaque__quoi { display: block; font-size: .74rem; letter-spacing: .16em;
  text-transform: uppercase; opacity: .92; }
.plaque__num { display: block; font-size: 1.62rem; font-weight: 600;
  line-height: 1.2; letter-spacing: .01em; }

.fiche { background: var(--page); border: var(--filet); border-radius: var(--rayon);
  box-shadow: var(--ombre); overflow: hidden; }
.fiche .levre { --levre-biseau: 18px; }
.fiche__dedans { padding: 26px 28px 22px; }
.fiche__titre { font-family: var(--police-titre); font-weight: 600;
  font-size: 1.16rem; margin-bottom: 16px; }
.tableau { border-top: var(--filet); }
.tableau dt { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--sourd); }
.tableau dd { text-align: right; }
.tableau dd a { color: var(--encre); display: inline-block;
  text-decoration: underline; text-decoration-color: rgba(29, 32, 38, .35);
  text-underline-offset: 3px; padding: 3px 4px; margin: -3px -4px;
  transition: color .2s ease, text-decoration-color .2s ease; }
.tableau dd a:hover { color: var(--rouge-fonce); text-decoration-color: var(--rouge-fonce); }

.pied { background: var(--nuit); color: var(--sourd-clair);
  padding: 40px 0; font-size: .92rem; }
.pied__dedans { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px 24px;
  justify-content: space-between; }
.pied__demo a { color: var(--rouge-clair); }

html.js .reveal { opacity: 0; transform: translateY(18px);
  transition: opacity .55s ease, transform .55s cubic-bezier(.22, 1, .36, 1); }
html.js .reveal.est-vu { opacity: 1; transform: none; }
html.js .presentoir__bati .casier:nth-child(2) { transition-delay: 80ms; }
html.js .presentoir__bati .casier:nth-child(3) { transition-delay: 160ms; }
html.js .presentoir__bati .casier:nth-child(4) { transition-delay: 240ms; }
html.js .contact__fiche .reveal:nth-child(2) { transition-delay: 140ms; }

@keyframes filet-trace { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { transform: none; transition: opacity .45s ease; }
  html.js .reveal.est-vu { transform: none; }
  html.js .casier .levre { transform: none; }
  html.js .casier.est-vu .levre { transform: none; transition: none; }
  html.js .bandeau__accent::after { transform: none; animation: none; }
  .casier:hover { background: var(--page); }
}

@media (max-width: 1000px) {
  .comptoir__deux, .contact__grille { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .comptoir__deux .guichet, .contact__fiche { max-width: 560px; }
  .cadre--nuit { align-self: start; aspect-ratio: 16 / 9; max-width: 100%; }
  .cadre--nuit img { min-height: 0; }
  .horaires__deux { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .horaires__mot .para { max-width: 62ch; }
}
@media (max-width: 900px) {
  #nav-toggle { display: block; }
  #nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--journal); border-bottom: 1px solid rgba(29, 32, 38, .14);
    box-shadow: var(--ombre); padding: 8px; }
  #nav-links.is-open { display: flex; }
  #nav-links a { padding: 13px 14px; }
  .nav { position: relative; }

  .bandeau__dedans { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .cadre--bandeau { order: -1; aspect-ratio: 16 / 10; max-width: 100%; }
  .presentoir__deux { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .cadre--haut { align-self: start; aspect-ratio: 16 / 10; }
  .cadre--haut img { min-height: 0; }
}
@media (max-width: 820px) {
  .casier { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 24px 24px 0; }
  .casier__plaque { grid-column: 1; justify-self: start; }
  .casier__texte { grid-column: 1; }
  .casier__rangee { margin: 24px -24px 0; }
}
@media (max-width: 700px) {
  .bandeau { padding-top: 82px; }
  .bandeau__dedans { padding-bottom: 72px; }
  .bandeau__verre { padding: 28px 22px 32px; }
  .presentoir { padding: 72px 0 80px; }
  .horaires { padding: 60px 0; }
  .contact { padding: 64px 0; }
  .comptoir { padding: 64px 0; }
  .ardoise__dedans { padding: 24px 22px 22px; }
  .guichet__dedans, .fiche__dedans { padding: 22px 22px 20px; }
  .presentoir__bati { border-left-width: 2px; border-right-width: 2px; }
  .cadre { padding: 8px; }
  .cadre::before { left: 8px; right: 8px; top: 8px; }
}
@media (max-width: 480px) {
  .bandeau__actes .btn { width: 100%; }
  .plaque { display: block; }
  .tableau__ligne { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .ardoise__lignes dd, .tableau dd { text-align: left; }
  .tableau dd a { margin-left: -4px; }
  .plaque__num { font-size: 1.42rem; }
  .cadre--bandeau, .cadre--haut, .cadre--nuit { aspect-ratio: 4 / 3; }
}

.haut .nav{background-color:rgba(239,235,227,0.82)}
.haut{margin-bottom:-69px}

.ardoise, .guichet, .fiche { border-radius: 0; }
.casier:first-child, .casier:last-child { border-radius: 0; }
