/* ==========================================================================
   Ars Longa / Agency — site public
   Feuille de style de référence (piste B retenue, nov. 2026)
   Source de vérité visuelle : ARS WEBSITE/DESIGN/maquettes (fichiers B-*.dc.html)
   Adapté pour AL-SITE : police auto-hébergée, rouge Agency #430303,
   compléments en fin de fichier (section 16).
   Le back-office n'utilise PAS ce fichier : il suit ui.css (design system AL).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Police — Archivo (SIL Open Font License), auto-hébergée sur le VPS.
      Ne pas charger depuis Google Fonts (IP des visiteurs → nLPD / RGPD).
      Fichier variable : axes wdth 62–125, wght 100–900.
      Télécharger depuis https://github.com/Omnibus-Type/Archivo et placer dans
      public/fonts/ ; joindre OFL.txt.
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-latin-wdth-normal.woff2") format("woff2-variations"),
       url("/fonts/archivo-latin-wdth-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-latin-ext-wdth-normal.woff2") format("woff2-variations"),
       url("/fonts/archivo-latin-ext-wdth-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-latin-wdth-italic.woff2") format("woff2-variations"),
       url("/fonts/archivo-latin-wdth-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: italic;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   2. Jetons (tokens)
   -------------------------------------------------------------------------- */
:root {
  /* Couleurs de base */
  --c-paper: #F3F0E8;        /* fond de page */
  --c-ink: #16140F;          /* texte, filets, en-tête, pied de page, boutons pleins */
  --c-stone: #D9D4C8;        /* fond des visuels en attente / letterbox des images */
  --c-ink-soft: #4A463D;     /* séparateurs sur fond encre (menu mobile) */
  --c-paper-on-ink: #E6E1D6; /* texte courant sur fond encre */
  --c-muted-on-ink: #B9B3A5; /* éléments secondaires sur fond encre */

  /* Identités */
  --c-al: #010A2C;           /* Ars Longa — bleu nuit (couleur du logo) */
  --c-al-text: #E2E4EC;      /* texte courant sur bleu nuit */
  --c-al-label: #C9CCDA;     /* surtitres sur bleu nuit */
  --c-agency: #430303;       /* Agency — rouge (couleur validée le 13.11.2026) */
  --c-agency-logo: #250202;  /* couleur exacte du logo Agency (réservée au logo) */
  --c-agency-text: #F4E4E6;  /* texte courant sur bordeaux */
  --c-agency-label: #EBC9CD; /* surtitres sur bordeaux */

  /* Typographie */
  --font: "Archivo", "Arial Narrow", Arial, sans-serif;
  --stretch-display: 112%;   /* titres, liens forts, dates */
  --stretch-brand: 125%;     /* wordmark texte de l'en-tête */

  --fs-hero: clamp(56px, 9vw, 104px);      /* bandeau page Ars Longa / Agency */
  --fs-h1: clamp(52px, 8vw, 96px);         /* titre de page (Catalogue, Agenda…) */
  --fs-h1-fiche: clamp(56px, 10vw, 152px); /* titre d'une production */
  --fs-h1-article: clamp(36px, 5vw, 56px); /* titre de publication / page libre */
  --fs-brand-block: clamp(44px, 6vw, 64px);/* nom dans les blocs Ars Longa / Agency */
  --fs-h2: clamp(28px, 3vw, 36px);         /* titres de section */
  --fs-news-title: clamp(40px, 5vw, 56px); /* « News » */
  --fs-lead: clamp(24px, 2.4vw, 30px);     /* phrase des blocs d'accès */
  --fs-item: clamp(20px, 2vw, 24px);       /* titre d'une ligne de liste */
  --fs-row: 22px;                          /* titre de production dans le tableau */
  --fs-intro: 21px;
  --fs-body: 17px;
  --fs-small: 15px;
  --fs-label: 13px;                        /* surtitres en capitales */

  /* Filets */
  --rule-xl: 4px;  /* haut des blocs d'accès et des sections */
  --rule-l: 2px;   /* début/fin de liste, filtres, boutons contour */
  --rule-s: 1px;   /* entre les lignes d'une liste */

  /* Mise en page */
  --container: 1360px;
  --container-text: 880px;  /* publications, pages libres */
  --gutter: 32px;
  --tap: 48px;              /* hauteur des boutons */
  --tap-min: 44px;          /* cible tactile minimale */
}

@media (max-width: 760px) {
  :root { --gutter: 16px; --fs-body: 16px; }
}

/* --------------------------------------------------------------------------
   3. Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--c-paper);
  color: var(--c-ink);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.5;
  hyphens: manual;               /* jamais de césure auto : casse l'écriture inclusive */
  overflow-wrap: break-word;
  text-rendering: optimizeLegibility;
}

a { color: var(--c-ink); }
a:hover { color: var(--c-agency); }

:focus-visible { outline: 3px solid var(--c-agency); outline-offset: 3px; }

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

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

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--text { max-width: var(--container-text); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* Typo utilitaire */
.display {
  font-weight: 800;
  font-stretch: var(--stretch-display);
  letter-spacing: -0.03em;
  line-height: 0.88;
}
.label {
  font-size: var(--fs-label);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.tabular { font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------------------
   4. En-tête et navigation
   -------------------------------------------------------------------------- */
.site-header { background: var(--c-ink); color: var(--c-paper); }

.site-header__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px 32px; padding-block: 14px;
}

.brand {
  color: var(--c-paper); text-decoration: none;
  font-weight: 800; font-stretch: var(--stretch-brand); font-size: 20px; letter-spacing: -0.01em;
}
.brand:hover { color: var(--c-paper); }
.brand__sep { font-weight: 400; color: var(--c-muted-on-ink); }
/* Quand les logos SVG/PNG transparents seront disponibles :
   .brand img { height: 40px; width: auto; } — version claire sur fond encre. */

.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; font-size: 15px; font-weight: 600; }
.site-nav a { color: var(--c-paper); text-decoration: none; }
.site-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }

.lang-switch a { background: var(--c-paper); color: var(--c-ink); padding: 4px 10px; font-size: 13px; }

.menu-toggle { display: none; }

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: var(--tap-min); min-width: var(--tap-min); padding: 0 12px;
    font: inherit; font-size: 14px; font-weight: 700;
    background: var(--c-paper); color: var(--c-ink); border: 0; cursor: pointer;
  }
  .brand { font-size: 16px; }
  .site-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 16px; }
  .site-nav.is-open { display: flex; }
  .site-nav a {
    display: flex; align-items: center; min-height: 52px; border-top: 1px solid var(--c-ink-soft);
    font-size: 22px; font-weight: 800; font-stretch: var(--stretch-display);
  }
  .site-nav .lang-switch { display: flex; gap: 8px; padding-top: 12px; border-top: 1px solid var(--c-ink-soft); }
  .site-nav .lang-switch a { border-top: 0; min-height: var(--tap-min); font-size: 16px; font-stretch: 100%; padding: 0 14px; }
}

/* --------------------------------------------------------------------------
   5. Boutons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: var(--tap); padding: 0 20px;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  border: var(--rule-l) solid var(--c-ink); background: transparent; color: var(--c-ink);
}
.btn--primary { background: var(--c-ink); color: var(--c-paper); }
.btn--primary:hover { background: var(--c-agency); border-color: var(--c-agency); color: var(--c-paper); }
.btn--outline:hover { background: var(--c-ink); color: var(--c-paper); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

@media (max-width: 760px) {
  .btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .btn-row .btn--primary:first-child:nth-last-child(odd) { grid-column: 1 / -1; }
}

/* --------------------------------------------------------------------------
   6. Accueil — accès rapides (compagnies AVANT programmateurixces)
   -------------------------------------------------------------------------- */
.access {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr));
  gap: 32px 48px; padding-block: 48px;
}
.access__col { border-top: var(--rule-xl) solid var(--c-ink); padding-top: 20px; display: flex; flex-direction: column; gap: 14px; }
.access__lead {
  font-size: var(--fs-lead); line-height: 1.15; font-weight: 800;
  font-stretch: var(--stretch-display); letter-spacing: -0.01em; text-wrap: balance;
}
.access .btn-row { margin-top: 6px; }

/* --------------------------------------------------------------------------
   7. Blocs Ars Longa / Agency (accueil) et bandeaux de page
   -------------------------------------------------------------------------- */
.brand-blocks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(480px, 100%), 1fr)); }
.brand-block {
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  min-height: 240px; padding: 40px var(--gutter); text-decoration: none;
}
.brand-block--al { background: var(--c-al); color: var(--c-paper); }
.brand-block--agency { background: var(--c-agency); color: var(--c-paper); }
.brand-block:hover { color: var(--c-paper); }
.brand-block__kicker { font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.brand-block--al .brand-block__kicker { color: var(--c-al-label); }
.brand-block--agency .brand-block__kicker { color: var(--c-agency-label); }
.brand-block__name { font-size: var(--fs-brand-block); line-height: 0.9; font-weight: 800; font-stretch: var(--stretch-display); letter-spacing: -0.03em; }
.brand-block__text { max-width: 44ch; font-size: var(--fs-body); }
.brand-block--al .brand-block__text { color: var(--c-al-text); }
.brand-block--agency .brand-block__text { color: var(--c-agency-text); }
.brand-block__more { text-decoration: underline; }

@media (max-width: 760px) {
  .brand-block { min-height: 0; padding-block: 28px; gap: 8px; }
}

.page-hero { color: var(--c-paper); }
.page-hero--al { background: var(--c-al); }
.page-hero--agency { background: var(--c-agency); }
.page-hero__inner { padding-block: 56px 48px; display: flex; flex-direction: column; gap: 20px; }
.page-hero h1 { font-size: var(--fs-hero); }
.page-hero__intro { max-width: 54ch; font-size: var(--fs-intro); line-height: 1.45; }
.page-hero--al .page-hero__intro { color: var(--c-al-text); }
.page-hero--agency .page-hero__intro { color: var(--c-agency-text); }

/* --------------------------------------------------------------------------
   8. En-tête de page (Catalogue, Agenda, Publications, Ressources, Contact)
   -------------------------------------------------------------------------- */
.page { padding-block: 56px 96px; display: flex; flex-direction: column; gap: 28px; }
.page-title { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.page-title h1 { font-size: var(--fs-h1); line-height: 0.85; font-weight: 800; font-stretch: var(--stretch-display); letter-spacing: -0.04em; }
.page-title p { max-width: 40ch; }

.section-title { font-size: var(--fs-h2); line-height: 1; font-weight: 800; font-stretch: var(--stretch-display); letter-spacing: -0.02em; }
.section { border-top: var(--rule-xl) solid var(--c-ink); padding-top: 20px; display: flex; flex-direction: column; gap: 14px; }
.cols-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(480px, 100%), 1fr)); gap: 40px 64px; }
.cols-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); gap: 40px 48px; align-items: start; }

.back-link { font-weight: 600; font-size: var(--fs-small); }

/* --------------------------------------------------------------------------
   9. Filtres (catalogue, agenda) — seul « Type » visible, le reste replié
   -------------------------------------------------------------------------- */
.filters {
  display: flex; flex-direction: column; gap: 16px; padding-block: 18px;
  border-top: var(--rule-l) solid var(--c-ink); border-bottom: var(--rule-l) solid var(--c-ink);
}
.filters__row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.filters__row > .label { width: 120px; }
.chip {
  min-height: 40px; padding: 0 14px; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
  background: transparent; color: var(--c-ink); border: var(--rule-l) solid var(--c-ink);
}
.chip[aria-pressed="true"] { background: var(--c-ink); color: var(--c-paper); }
.filters__toggle {
  margin-left: auto; min-height: 40px; padding: 0 4px; font: inherit; font-size: 15px; font-weight: 700;
  background: transparent; color: var(--c-ink); border: 0; cursor: pointer;
  text-decoration: underline; text-underline-offset: 4px;
}
.filters__more {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 16px 24px; padding-top: 16px; border-top: var(--rule-s) solid var(--c-ink);
}
.filters__more[hidden] { display: none; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field select {
  min-height: var(--tap-min); padding: 0 10px; font: inherit; font-size: 15px; font-weight: 500;
  border: var(--rule-l) solid var(--c-ink); background: var(--c-paper); color: var(--c-ink);
}

@media (max-width: 760px) {
  .filters__row { flex-wrap: nowrap; overflow-x: auto; }
  .filters__row > .label { width: auto; flex: none; }
  .chip { flex: none; min-height: var(--tap-min); }
  .filters__toggle { margin-left: 0; }
}

/* --------------------------------------------------------------------------
   10. Catalogue — liste (pas de dates à venir ici)
   -------------------------------------------------------------------------- */
.catalogue { display: flex; flex-direction: column; }
.catalogue__head, .catalogue__row {
  display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 2fr) 90px 110px; gap: 24px;
}
.catalogue__head { padding-bottom: 10px; }
.catalogue__head span:nth-child(n+3), .catalogue__row > :nth-child(n+3) { text-align: right; }
.catalogue__row {
  align-items: center; padding-block: 14px; border-top: var(--rule-s) solid var(--c-ink);
  text-decoration: none; color: var(--c-ink); font-size: 16px;
}
.catalogue__row:last-child { border-bottom: var(--rule-s) solid var(--c-ink); }
.catalogue__prod { display: flex; align-items: center; gap: 16px; min-width: 0; }
.catalogue__thumb { flex: none; width: 72px; height: 54px; object-fit: cover; background: var(--c-stone); }
.catalogue__title { font-size: var(--fs-row); line-height: 1.15; font-weight: 800; font-stretch: var(--stretch-display); }
.catalogue__cie { font-size: var(--fs-small); }

@media (max-width: 760px) {
  .catalogue__head { display: none; }
  .catalogue__row { grid-template-columns: 88px minmax(0, 1fr); gap: 14px; align-items: start; }
  .catalogue__row > :nth-child(n+2) { display: none; }      /* colonnes masquées… */
  .catalogue__meta-mobile { display: block !important; }      /* …remplacées par une ligne résumé */
  .catalogue__thumb { width: 88px; height: 66px; }
  .catalogue__title { font-size: 20px; }
}
.catalogue__meta-mobile { display: none; font-size: 14px; font-weight: 600; }

/* --------------------------------------------------------------------------
   11. Fiche production
   -------------------------------------------------------------------------- */
.fiche-title { font-size: var(--fs-h1-fiche); line-height: 0.85; font-weight: 800; font-stretch: var(--stretch-display); letter-spacing: -0.045em; }
.fiche-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 20px; font-weight: 600; }

.info-band { background: var(--c-al); color: var(--c-paper); border-bottom: var(--rule-s) solid var(--c-paper); } /* filet : sépare le bandeau de la photo collée dessous */
.info-band__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); }
.info-band__item { padding: 24px; display: flex; flex-direction: column; gap: 2px; }
.info-band__item + .info-band__item { border-left: 1px solid #3A4060; }
.info-band__item:first-child { padding-left: 0; }
.info-band dt { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--c-al-label); }
.info-band dd { font-size: 17px; font-weight: 600; }
.info-band__booking { background: var(--c-paper); color: var(--c-al); text-decoration: none; padding: 24px; margin-block: 16px; display: flex; flex-direction: column; justify-content: center; }

/* Visuel : toujours affiché en entier (contain), jamais recadré */
.visual { background: var(--c-stone); display: flex; align-items: center; justify-content: center; }
.visual img { width: 100%; height: 100%; max-height: 600px; object-fit: contain; }

.fiche-body { display: flex; flex-wrap: wrap; gap: 64px; align-items: flex-start; }
.fiche-body__main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 48px; }
.fiche-body__aside { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 40px; }
.chapo { font-size: 26px; line-height: 1.35; font-weight: 500; max-width: 34ch; }
/* Chapô aligné sur la largeur du texte (.prose : 66ch à 18px), 23.11.2026 */
.fiche-body__main .chapo { max-width: calc(66ch * 18 / 26); }

.booking-box { background: var(--c-al); color: var(--c-paper); padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.booking-box a { color: var(--c-paper); }

.dates-list > div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; padding-block: 14px; border-top: var(--rule-s) solid var(--c-ink); font-size: 18px; }
.dates-list > div:first-child { border-top-width: var(--rule-l); }
.dates-list > div:last-child { border-bottom: var(--rule-l) solid var(--c-ink); }

/* --------------------------------------------------------------------------
   12. Listes : News, publications, agenda, documents
   -------------------------------------------------------------------------- */
.news-item {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 8px 32px; padding-block: 20px; border-top: var(--rule-l) solid var(--c-ink); align-items: baseline;
}
.news-item:last-child { border-bottom: var(--rule-l) solid var(--c-ink); }
.news-item__date { font-size: 26px; font-weight: 700; font-stretch: var(--stretch-display); font-variant-numeric: tabular-nums; }
.news-item__body { grid-column: span 2; display: flex; flex-direction: column; gap: 4px; }
.news-item__title { font-size: var(--fs-item); line-height: 1.15; font-weight: 700; text-decoration: none; }

.tag { justify-self: end; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 4px 10px; border: var(--rule-l) solid var(--c-ink); }
.tag--filled { background: var(--c-ink); color: var(--c-paper); }

.agenda-month { display: flex; flex-direction: column; }
.agenda-month h2 { margin-bottom: 8px; }
.agenda-row {
  display: grid; grid-template-columns: 130px minmax(0, 2fr) minmax(0, 2fr); gap: 24px;
  align-items: baseline; padding-block: 16px; border-top: var(--rule-s) solid var(--c-ink); text-decoration: none;
}
.agenda-row:last-child { border-bottom: var(--rule-s) solid var(--c-ink); }
.agenda-row__date { font-size: 22px; font-weight: 800; font-stretch: var(--stretch-display); font-variant-numeric: tabular-nums; }

.doc-link {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 56px; padding-block: 10px; border-top: var(--rule-s) solid var(--c-ink); text-decoration: none;
}
.doc-list > .doc-link:first-of-type { border-top-width: var(--rule-l); }
.doc-list > .doc-link:last-child { border-bottom: var(--rule-s) solid var(--c-ink); }
.doc-link__title { font-weight: 600; }
.doc-link__hint { font-size: 14px; }
.doc-link__type { font-size: 13px; font-weight: 700; white-space: nowrap; }

.attachment { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 0 20px; border: var(--rule-l) solid var(--c-ink); text-decoration: none; }

@media (max-width: 760px) {
  .news-item__body { grid-column: auto; }
  .tag { justify-self: start; }
  .agenda-row { grid-template-columns: 80px minmax(0, 1fr); }
  .agenda-row > :nth-child(3) { grid-column: 2; }
}

/* --------------------------------------------------------------------------
   13. Texte riche (publications, pages libres, pages Ars Longa / Agency)
   -------------------------------------------------------------------------- */
.prose { display: flex; flex-direction: column; gap: 18px; font-size: 18px; line-height: 1.65; max-width: 66ch; }
.prose h2 { font-size: 28px; line-height: 1.1; font-weight: 800; font-stretch: var(--stretch-display); margin-top: 16px; }
.prose ul, .prose ol { padding-left: 1.2em; display: flex; flex-direction: column; gap: 6px; }
.prose a { text-underline-offset: 3px; }
.prose strong { font-weight: 700; }

/* --------------------------------------------------------------------------
   14. Pied de page
   -------------------------------------------------------------------------- */
.site-footer { background: var(--c-ink); color: var(--c-paper-on-ink); font-size: 15px; }
.site-footer a { color: var(--c-paper); }
.site-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 32px; padding-block: 40px; }
.site-footer__grid > div { display: flex; flex-direction: column; gap: 4px; }

/* --------------------------------------------------------------------------
   15. Préférences utilisateur
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media print {
  .site-header, .site-footer, .filters, .brand-blocks { display: none; }
  body { background: #fff; }
}


/* --------------------------------------------------------------------------
   16. Compléments AL-SITE (éléments en style en ligne dans les maquettes)
   -------------------------------------------------------------------------- */
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--c-paper); color: var(--c-ink); padding: 8px 14px; z-index: 10; }
.skip-link:focus { left: 8px; top: 8px; }
.site-header :focus-visible, .site-footer :focus-visible, .brand-block:focus-visible,
.info-band :focus-visible, .booking-box :focus-visible, .page-hero :focus-visible { outline-color: var(--c-paper); }

.lang-switch { display: inline-flex; align-items: center; gap: 0; }
.lang-switch a, .lang-switch span { padding: 4px 10px; font-size: 13px; }
.lang-switch span[aria-current] { background: var(--c-ink-soft); color: var(--c-paper); }

/* Pastilles de filtre en lien (fonctionnent sans JavaScript) */
a.chip { display: inline-flex; align-items: center; text-decoration: none; }
.chip[aria-current="true"] { background: var(--c-ink); color: var(--c-paper); }
.filters__actions { display: flex; gap: 12px; align-items: end; flex-wrap: wrap; }
.filters__actions .btn { min-height: var(--tap-min); }
.filters__reset { font-weight: 600; font-size: var(--fs-small); }
.js .filters__submit { display: none; }

.catalogue__thumb--empty { display: block; }
.empty-state { padding-block: 32px; border-top: var(--rule-l) solid var(--c-ink); border-bottom: var(--rule-l) solid var(--c-ink); font-size: 18px; }

/* Fiche production */
.fiche-head { padding-block: 40px 32px; display: flex; flex-direction: column; gap: 16px; }
.fiche-title--long { font-size: clamp(44px, 7vw, 104px); }
.fiche-title--xlong { font-size: clamp(36px, 5.5vw, 72px); line-height: 0.92; }
.info-band__booking span:first-child { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.info-band__booking span:last-child { font-size: 20px; font-weight: 800; font-stretch: var(--stretch-display); }
.visual--fiche { min-height: 280px; position: relative; }
.gallery figure { position: relative; }
.photo-credit { position: absolute; right: 0; bottom: 0; padding: 3px 8px; font-size: 11px; line-height: 1.3; letter-spacing: 0.02em; color: #fff; background: rgba(0, 0, 0, 0.55); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.visual--fiche img { max-height: 640px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: 12px; }
.gallery figure { background: var(--c-stone); aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; }
.gallery img { width: 100%; height: 100%; object-fit: contain; }
.fiche-main-wrap { padding-block: 64px 96px; }
.aside-title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding-bottom: 8px; border-bottom: var(--rule-l) solid var(--c-ink); }
.credits { display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.credits dt { font-weight: 700; }
.dl-link { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 52px; border-bottom: var(--rule-s) solid var(--c-ink); text-decoration: none; font-weight: 700; font-size: 18px; }
.dl-link small { font-weight: 500; font-size: 13px; }
.booking-box__label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--c-al-label); }
.booking-box__name { font-size: 22px; font-weight: 800; font-stretch: var(--stretch-display); }

/* Vidéo et carte : façade, chargées au clic */
.facade { position: relative; background: var(--c-ink); color: var(--c-paper); aspect-ratio: 16 / 9; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px; text-align: center; }
.facade button { min-height: var(--tap); padding: 0 22px; font: inherit; font-weight: 700; background: var(--c-paper); color: var(--c-ink); border: 0; cursor: pointer; }
.facade small { font-size: 13px; color: var(--c-muted-on-ink); }
.facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.facade--map { aspect-ratio: 4 / 3; background: var(--c-stone); color: var(--c-ink); }
.facade--map small { color: var(--c-ink); }
.facade--map button { background: var(--c-ink); color: var(--c-paper); }
video.video-file { width: 100%; background: var(--c-ink); }

/* Agenda */
.agenda-head { display: grid; grid-template-columns: 130px minmax(0, 2fr) minmax(0, 2fr); gap: 24px; padding-bottom: 6px; }
.agenda-row__title { font-weight: 800; font-size: 20px; font-stretch: var(--stretch-display); display: block; line-height: 1.15; }
.agenda-row__sub { display: block; font-size: var(--fs-small); }
.agenda-row__venue { font-weight: 700; display: block; }
.mention { font-weight: 700; text-transform: uppercase; font-size: 12px; letter-spacing: 0.06em; }
a.agenda-row:hover .agenda-row__title { text-decoration: underline; }
div.agenda-row { color: var(--c-ink); }
@media (max-width: 760px) { .agenda-head { display: none; } }

/* Publications */
.pub-row { display: grid; grid-template-columns: 140px minmax(0, 1fr) auto; gap: 24px; align-items: baseline; padding-block: 18px; border-top: var(--rule-s) solid var(--c-ink); text-decoration: none; }
.pub-list > .pub-row:first-child { border-top-width: var(--rule-l); }
.pub-list > .pub-row:last-child { border-bottom: var(--rule-l) solid var(--c-ink); }
.pub-row__date { font-weight: 700; font-variant-numeric: tabular-nums; }
.pub-row__title { display: block; font-size: var(--fs-item); font-weight: 700; line-height: 1.15; }
.pub-row__chapo { display: block; }
.pub-row__pdf { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap; }
a.pub-row:hover .pub-row__title { text-decoration: underline; }
@media (max-width: 760px) { .pub-row { grid-template-columns: 1fr; gap: 4px; } }
.article { padding-block: 48px 96px; display: flex; flex-direction: column; gap: 28px; }
.article__date { font-weight: 700; font-variant-numeric: tabular-nums; }
.article h1 { font-size: var(--fs-h1-article); line-height: 0.95; font-weight: 800; font-stretch: var(--stretch-display); letter-spacing: -0.03em; }
.article__lead { font-size: var(--fs-intro); line-height: 1.45; font-weight: 500; }
.article figure { background: var(--c-stone); }
.article figure img { width: 100%; max-height: 560px; object-fit: contain; }
.attachment span span { display: block; }
.attachment__title { font-weight: 700; font-size: 18px; }

/* Ressources */
.res-access { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 32px; align-items: center; padding: 24px; border: var(--rule-l) solid var(--c-ink); }
@media (max-width: 760px) { .res-access { grid-template-columns: 1fr; } }
.doc-link span span { display: block; }

/* Contact */
.contact-item { display: flex; flex-direction: column; gap: 2px; }
.contact-item .label { margin-bottom: 2px; }
.contact-emails a { font-size: 22px; font-weight: 700; font-stretch: var(--stretch-display); }
.contact-emails a.is-agency { color: var(--c-agency); }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; }
.hours dt { font-weight: 700; }
.closure-box { border: var(--rule-l) solid var(--c-ink); padding: 16px; display: flex; flex-direction: column; gap: 2px; }
.access-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 6px; }

/* Pages Ars Longa / Agency */
.brand-sections { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 40px 64px; }
.brand-sections .section h2 { font-size: var(--fs-h2); line-height: 1; font-weight: 800; font-stretch: var(--stretch-display); letter-spacing: -0.02em; }
.highlight-box { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: 28px; border: var(--rule-l) solid var(--c-agency); text-decoration: none; }
.highlight-box__kicker { display: block; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-agency); }
.highlight-box__title { display: block; font-size: var(--fs-item); font-weight: 800; font-stretch: var(--stretch-display); line-height: 1.15; }
.highlight-box__arrow { font-size: 32px; font-weight: 700; color: var(--c-agency); }
.brand-cta { display: flex; flex-direction: column; gap: 14px; }
.brand-cta p { font-size: var(--fs-lead); font-weight: 800; font-stretch: var(--stretch-display); line-height: 1.15; }

/* Texte riche : intertitres h3, citations */
.prose h3 { font-size: 21px; font-weight: 800; font-stretch: var(--stretch-display); }
.prose blockquote { border-left: var(--rule-xl) solid var(--c-ink); padding-left: 16px; }

.not-found { padding-block: 80px 120px; display: flex; flex-direction: column; gap: 24px; }

/* Mobile : bandeau d'infos en deux colonnes sans filet, galerie en deux colonnes */
@media (max-width: 600px) {
  .info-band__grid { grid-template-columns: 1fr 1fr; }
  .info-band__item { padding: 16px 0; }
  .info-band__item + .info-band__item { border-left: 0; }
  .info-band__booking { grid-column: 1 / -1; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 8px; }
}


/* --------------------------------------------------------------------------
   17. Accueil — bandeau image et sections des News (16.11.2026)
   -------------------------------------------------------------------------- */
.hero { position: relative; background: var(--c-al); height: clamp(320px, 58vh, 640px); overflow: hidden; }
.hero__slide { display: none; position: absolute; inset: 0; color: #fff; text-decoration: none; }
.hero__slide.is-on { display: block; }
.hero__slide:hover { color: #fff; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__img:not([src]) { visibility: hidden; }
.hero__text {
  position: absolute; inset: auto 0 0 0; padding-block: 96px 24px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.45) 55%, rgba(0, 0, 0, 0));
}
.hero__inner { display: flex; flex-direction: column; gap: 6px; }
.hero__kicker { font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.hero__title {
  font-size: clamp(30px, 4.4vw, 56px); line-height: 1; font-weight: 800;
  font-stretch: var(--stretch-display); letter-spacing: -0.02em; text-wrap: balance;
}
.hero__slide:hover .hero__title { text-decoration: underline; }
.hero__company { font-size: var(--fs-item); font-weight: 600; }
.hero__dates { display: flex; flex-wrap: wrap; gap: 4px 28px; margin-top: 6px; font-size: var(--fs-body); font-variant-numeric: tabular-nums; }
.hero__credit { margin-top: 8px; font-size: 13px; opacity: 0.85; }

.news-section { display: flex; flex-direction: column; padding-top: 32px; }
.news-section__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 12px; }
.news-item--past .news-item__date, .news-item--past .news-item__body { opacity: 0.6; }

@media (max-width: 640px) {
  .hero { height: clamp(300px, 62vh, 480px); }
  .hero__text { padding-block: 64px 16px; }
  .hero__dates { flex-direction: column; font-size: var(--fs-small); }
}
@media print { .hero { display: none; } }


/* --------------------------------------------------------------------------
   18. Fiche production — visuel principal en fond du titre (18.11.2026)
       Même principe que le bandeau de l'accueil (.hero) : photo recadrée
       selon son point de focus, dégradé sombre en bas, texte en blanc.
       Sans visuel, la tête de fiche garde sa présentation habituelle.
   -------------------------------------------------------------------------- */
.fiche-hero { position: relative; }
.fiche-hero--photo {
  background: var(--c-al); color: #fff; overflow: hidden;
  min-height: clamp(420px, 72vh, 760px); display: flex; flex-direction: column; justify-content: flex-end;
}
.fiche-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fiche-hero__text { position: relative; }
.fiche-hero--photo .fiche-hero__text {
  padding-top: 120px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.5) 55%, rgba(0, 0, 0, 0));
}
.fiche-hero--photo .fiche-head { padding-bottom: 40px; }
.fiche-hero--photo .fiche-title { text-wrap: balance; }
.fiche-hero--photo .back-link, .fiche-hero--photo .back-link:hover { color: #fff; }
.fiche-hero--photo .back-link:hover { text-decoration: underline; }
.fiche-hero--photo .btn--primary { background: #fff; color: var(--c-ink); border-color: #fff; }
.fiche-hero--photo .btn--primary:hover { background: var(--c-agency); border-color: var(--c-agency); color: #fff; }
.fiche-hero--photo :focus-visible { outline-color: #fff; }
.fiche-hero--photo .photo-credit { z-index: 1; }

@media (max-width: 640px) {
  .fiche-hero--photo { min-height: clamp(380px, 70vh, 560px); }
  .fiche-hero--photo .fiche-hero__text { padding-top: 80px; }
  .fiche-hero--photo .fiche-head { padding-bottom: 24px; }
}
@media print {
  .fiche-hero--photo { min-height: 0; color: inherit; background: none; }
  .fiche-hero__img, .fiche-hero--photo .photo-credit { display: none; }
  .fiche-hero--photo .fiche-hero__text { background: none; padding-top: 0; }
}


/* --------------------------------------------------------------------------
   19. Accueil — fil « En tournée » / « Communications » (18.11.2026)
       Deux colonnes au format des accès rapides (.access) : gros filet en
       haut, titre en petites capitales. Remplace le bloc « News ».
   -------------------------------------------------------------------------- */
.home-feed {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr));
  gap: 48px; padding-block: 56px 96px; align-items: start;
}
.home-feed__col { border-top: var(--rule-xl) solid var(--c-ink); padding-top: 20px; display: flex; flex-direction: column; }
.home-feed__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 16px; padding-bottom: 16px; }
.home-feed__head a { font-weight: 600; }
.feed-item {
  display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 4px 20px;
  padding-block: 16px; border-top: var(--rule-s) solid var(--c-ink); align-items: baseline;
}
.feed-item:last-child { border-bottom: var(--rule-s) solid var(--c-ink); }
.feed-item__date { font-size: 20px; font-weight: 700; font-stretch: var(--stretch-display); font-variant-numeric: tabular-nums; line-height: 1.15; }
.feed-item__body { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.feed-item__title { font-size: var(--fs-item); line-height: 1.15; font-weight: 700; text-decoration: none; }
a.feed-item__title:hover { text-decoration: underline; }
.feed-item--past .feed-item__date, .feed-item--past .feed-item__title, .feed-item--past .feed-item__body > span:not(.tag) { opacity: 0.6; }
.feed-item .tag { margin-top: 4px; }

@media (max-width: 640px) {
  .home-feed { padding-block: 40px 64px; gap: 40px; }
  .feed-item { grid-template-columns: 1fr; }
  .feed-item__date { font-size: 17px; }
}
/* Dates d'une cession : une par ligne, sans tiret — 18.11.2026 */
.feed-item__day { display: block; white-space: nowrap; }

/* --------------------------------------------------------------------------
   20. Liens vers les sites des lieux et des compagnies (18.11.2026)
       Sans adresse, le nom s'affiche sans lien (partial site.partials.link).
   -------------------------------------------------------------------------- */
.ext-link { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ext-link:hover { color: var(--c-agency); }
.fiche-hero--photo .ext-link, .fiche-hero--photo .ext-link:hover { color: #fff; }
.fiche-hero--photo .ext-link:hover { text-decoration-thickness: 2px; }
/* Agenda : la ligne n'est plus un lien entier ; seul le titre mène à la fiche */
a.agenda-row__title { color: var(--c-ink); text-decoration: none; }
a.agenda-row__title:hover { text-decoration: underline; }


/* --------------------------------------------------------------------------
   21. Visionneuse photo des fiches production (23.11.2026)
       Ouverte au clic sur la photo principale ou une vignette de la galerie.
       Sans JS, vignettes et bouton « Agrandir » sont de simples liens.
   -------------------------------------------------------------------------- */
.gallery__link { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.gallery__link img { transition: opacity 0.2s ease; }
.gallery__link:hover img { opacity: 0.85; }
.js .fiche-hero--photo .fiche-hero__img { cursor: zoom-in; }
.fiche-hero__zoom {
  position: absolute; top: 16px; right: var(--gutter); z-index: 1;
  min-height: var(--tap-min); padding: 0 16px; font-size: var(--fs-small);
  color: #fff; border-color: #fff; background: rgba(0, 0, 0, 0.35);
}
.fiche-hero__zoom:hover { background: #fff; color: var(--c-ink); }

html.lb-lock { overflow: hidden; }
.lb {
  position: fixed; inset: 0; z-index: 100;
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto;
  background: rgba(22, 20, 15, 0.92);
  background: color-mix(in srgb, var(--c-ink) 92%, transparent);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: var(--c-paper-on-ink);
  opacity: 0; transition: opacity 0.2s ease;
}
.lb[hidden] { display: none; }
.lb.is-open { opacity: 1; }
.lb :focus-visible { outline-color: var(--c-paper); }
.lb__top { display: flex; justify-content: flex-end; padding: 16px var(--gutter); }
.lb__stage {
  position: relative; min-height: 0;
  display: flex; align-items: center; justify-content: center;
  padding-inline: calc(var(--gutter) + var(--tap) + 16px);
}
.lb__img {
  max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain;
  opacity: 0; transition: opacity 0.25s ease; user-select: none; -webkit-user-drag: none;
}
.lb__img.is-loaded { opacity: 1; }
.lb__btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: var(--tap); min-width: var(--tap); padding: 0 16px;
  font: inherit; font-weight: 700; color: var(--c-paper);
  background: transparent; border: var(--rule-l) solid var(--c-paper); cursor: pointer;
}
.lb__btn:hover { background: var(--c-paper); color: var(--c-ink); }
.lb__nav { position: absolute; top: 50%; transform: translateY(-50%); padding: 0; font-size: 22px; }
.lb__nav--prev { left: var(--gutter); }
.lb__nav--next { right: var(--gutter); }
.lb__bar {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 14px var(--gutter) 20px; font-size: var(--fs-small); color: var(--c-muted-on-ink);
}
.lb__count { margin-left: auto; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--c-paper-on-ink); white-space: nowrap; }
.lb--single .lb__nav, .lb--single .lb__count { display: none; }

@media (max-width: 760px) {
  .lb__top { padding-block: 8px; }
  .lb__stage { padding-inline: 0; }
  .lb__nav { top: auto; bottom: 12px; transform: none; background: rgba(22, 20, 15, 0.6); }
}
@media (prefers-reduced-motion: reduce) {
  .lb, .lb__img, .gallery__link img { transition: none; }
}
@media print {
  .fiche-hero__zoom, .lb { display: none !important; }
}
