@font-face{font-family:'Playfair Display';font-weight:700;font-style:normal;font-display:swap;src:url('/playfair-display-v22-latin-700.woff2') format('woff2');}
@font-face{font-family:'Lato';font-weight:400;font-style:normal;font-display:swap;src:url('/lato-v17-latin-regular.woff2') format('woff2');}
/* Catoctin Curtain ,  peau « dossier de conduite »
   l'or gaffer ne couvre jamais plus de 15 % d'une bande : il marque, il n'habille pas */
:root {
  --th-papier: #F4F1E6;
  --th-papier-2: #ECE7D6;
  --th-encre: #232B1F;
  --th-encre-douce: #4A5344;
  --th-nuit: #141d28;
  --th-nuit-2: #1b2836;
  --th-gaffer: #B8862B;
  --th-scene: #2F5A3C;
  --th-bois: #8A4A38;
  --th-bleu: #24505C;
  --th-regle: #D3C9B0;
  --th-avert: #8E2119;
  --th-blanc: #FFFDF6;

  --th-titre-police: 'Playfair Display', 'Palatino Linotype', Georgia, serif;
  --th-texte-police: 'Lato', 'Segoe UI', system-ui, sans-serif;
  --th-regie-police: ui-monospace, 'Consolas', 'DejaVu Sans Mono', monospace;

  --th-mesure: 68ch;
  --th-large: 82rem;
  --th-rail: 9rem;
  --th-respiration: clamp(2.2rem, 5vw, 4.2rem);
  --th-gouttiere: clamp(1rem, 2.2vw, 1.6rem);
  --th-r: 16px;
  --th-r-heros: 21 / 9;
  --th-r-fiche: 4 / 3;
}





* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--th-papier);
  color: var(--th-encre);
  font-family: var(--th-texte-police);
  font-size: clamp(1rem, 1.05vw, 1.0625rem);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--th-bois); }
:focus-visible { outline: 3px solid var(--th-gaffer); outline-offset: 3px; border-radius: 4px; }

.th-large { max-width: var(--th-large); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2.5rem); min-width: 0; }

/* ---------- Skip link ---------- */
.th-acces-direct {
  position: absolute; left: -9999px; top: 0; z-index: 50;
  background: var(--th-nuit); color: var(--th-blanc);
  padding: .7rem 1.1rem; border-radius: 0 0 var(--th-r) 0;
}
.th-acces-direct:focus { left: 0; }

/* ---------- Fronton ---------- */
.th-fronton {
  background: var(--th-papier-2);
  border-bottom: 1px solid var(--th-regle);
  position: sticky; top: 0; z-index: 20;
}
.th-fronton__interieur {
  display: flex; flex-wrap: wrap; gap: 1rem 2rem;
  align-items: center; justify-content: space-between;
  padding-top: .9rem; padding-bottom: .9rem;
}
.th-enseigne {
  display: inline-flex; align-items: center; gap: .65rem;
  text-decoration: none; color: var(--th-encre);
}
.th-marque { width: 2rem; height: 2rem; color: var(--th-scene); flex: none; }
.th-enseigne__nom {
  font-family: var(--th-titre-police); font-weight: 700;
  font-size: 1.4rem; letter-spacing: -.01em; line-height: 1;
}
.th-enseigne__mention {
  font-family: var(--th-regie-police); font-size: .68rem;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--th-encre-douce); display: block;
}
.th-parcours ul {
  display: flex; flex-wrap: wrap; gap: .4rem .2rem;
  list-style: none; margin: 0; padding: 0;
}
.th-parcours__lien {
  font-family: var(--th-regie-police); font-size: .72rem;
  letter-spacing: .16em; text-transform: uppercase;
  padding: .45rem .7rem; border-radius: 999px;
  text-decoration: none; color: var(--th-encre);
}
.th-parcours__lien[aria-current="page"] { background: var(--th-scene); color: var(--th-blanc); }
.th-parcours__lien:hover { background: var(--th-regle); }

/* ---------- Surtitres / kickers ---------- */
.th-surtitre, .th-kicker {
  font-family: var(--th-titre-police); font-weight: 700;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  letter-spacing: -.008em; line-height: 1.1; margin: 0;
  text-shadow: 0 1px 0 rgba(244, 241, 230, .35);
}
.th-surtitre a { text-decoration: none; }
.th-kicker {
  font-family: var(--th-regie-police); font-weight: 400;
  font-size: .74rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--th-encre-douce); text-shadow: none;
}
.th-kicker::before {
  content: ""; display: inline-block;
  width: 2.5rem; height: 1px; background: var(--th-gaffer);
  vertical-align: middle; margin-right: .7rem;
}
.th-kicker--nuit { color: #E4D9AE; }
.th-kicker--nuit::before { background: var(--th-gaffer); }

/* ---------- Seuil (hero d'accueil) ---------- */
.th-seuil {
  background: linear-gradient(180deg, var(--th-nuit) 0%, var(--th-nuit-2) 100%);
  color: var(--th-blanc);
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(2.2rem, 5vw, 3.6rem);
}
.th-seuil__titre {
  font-family: var(--th-titre-police); font-weight: 700;
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  line-height: 1.03; letter-spacing: -.015em;
  margin: .6rem 0 .8rem; max-width: 20ch;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .45);
}
.th-seuil__chapo {
  font-size: clamp(1.02rem, 1.3vw, 1.18rem);
  max-width: var(--th-mesure); color: #E9E4D3;
}
.th-seuil .th-kicker { color: #D7CB9C; }

/* ---------- Ours (bande claire) ---------- */
.th-ours {
  background: var(--th-papier);
  border-bottom: 1px solid var(--th-regle);
  padding: var(--th-respiration) 0;
}
.th-ours__grille {
  display: grid; gap: var(--th-gouttiere) 2.4rem;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 2fr);
  align-items: start;
}
.th-ours__texte { max-width: var(--th-mesure); }
.th-ours__texte p { margin: .5rem 0 0; }
@media (max-width: 46rem) { .th-ours__grille { grid-template-columns: minmax(0, 1fr); } }

.th-bilan {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .8rem; list-style: none; margin: 0; padding: 0;
}
.th-bilan__poste {
  background: var(--th-blanc);
  border-radius: var(--th-r);
  padding: .9rem 1rem;
  box-shadow: 0 6px 22px rgba(20, 29, 40, .08);
  display: flex; flex-direction: column; gap: .2rem;
}
.th-bilan__chiffre {
  font-family: var(--th-titre-police); font-weight: 700;
  font-size: 1.6rem; color: var(--th-scene); line-height: 1;
}
.th-bilan__libelle {
  font-family: var(--th-regie-police); font-size: .68rem;
  letter-spacing: .2em; text-transform: uppercase; color: var(--th-encre-douce);
}

/* ---------- Rayons ---------- */
.th-rayon { padding: var(--th-respiration) 0; }
.th-rayon__tete {
  display: flex; flex-wrap: wrap; gap: .6rem 1.2rem;
  align-items: baseline; justify-content: space-between;
  border-bottom: 1px solid var(--th-regle);
  padding-bottom: .7rem; margin-bottom: 1.4rem;
}
.th-rayon__phrase { margin: 0; max-width: 48ch; color: var(--th-encre-douce); }
.th-rayon__decompte {
  font-family: var(--th-regie-police); font-size: .72rem;
  letter-spacing: .18em; color: var(--th-encre-douce);
}

/* ---------- Hero fiche ---------- */
.th-hero {
  background: var(--th-blanc);
  border-radius: var(--th-r);
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(20, 29, 40, .18), 0 3px 0 var(--th-gaffer);
  margin-bottom: 1.6rem;
  display: grid; grid-template-columns: minmax(0, 1fr);
}
.th-hero__image { margin: 0; aspect-ratio: var(--th-r-heros); overflow: hidden; }
.th-hero__image img { width: 100%; height: 100%; object-fit: cover; }
.th-hero__texte { padding: 1.1rem 1.4rem 1.4rem; }
.th-hero__meta {
  display: flex; flex-wrap: wrap; gap: .8rem; align-items: center;
  margin: 0 0 .4rem;
}
.th-hero__titre {
  font-family: var(--th-titre-police); font-weight: 700;
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  line-height: 1.1; margin: 0 0 .5rem; letter-spacing: -.01em;
}
.th-hero__titre a { text-decoration: none; }
.th-hero__extrait { margin: 0; max-width: var(--th-mesure); color: var(--th-encre-douce); }

/* ---------- Grille cartes ---------- */
.th-grille-cartes {
  display: grid; gap: var(--th-gouttiere);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  margin-bottom: 1.6rem;
}

/* ---------- Fiche ---------- */
.th-fiche {
  background: var(--th-blanc);
  border-radius: var(--th-r);
  overflow: hidden;
  box-shadow: 0 6px 22px rgba(20, 29, 40, .10);
  display: grid; grid-template-columns: minmax(0, 1fr);
  min-width: 0;
}
.th-fiche--carte .th-fiche__image { margin: 0; aspect-ratio: var(--th-r-fiche); overflow: hidden; }
.th-fiche__image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.94) contrast(1.03); }
.th-fiche__texte { padding: .9rem 1rem 1.1rem; min-width: 0; }
.th-fiche__meta {
  display: flex; flex-wrap: wrap; gap: .6rem 1rem; align-items: baseline;
  margin: 0 0 .3rem;
}
.th-cote {
  font-family: var(--th-regie-police); font-size: .68rem;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--th-gaffer); font-weight: 700;
}
.th-date {
  font-family: var(--th-regie-police); font-size: .72rem;
  letter-spacing: .1em; color: var(--th-encre-douce);
}
.th-fiche__titre {
  font-family: var(--th-titre-police); font-weight: 700;
  font-size: 1.18rem; line-height: 1.2; margin: 0 0 .35rem;
}
.th-fiche__titre a { text-decoration: none; }
.th-fiche__extrait { margin: 0; font-size: .94rem; color: var(--th-encre-douce); }

.th-fiche--ligne {
  grid-template-columns: 9rem minmax(0, 1fr);
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(20, 29, 40, .08);
}
.th-fiche--ligne .th-fiche__image { margin: 0; aspect-ratio: 1 / 1; overflow: hidden; }
@media (max-width: 40rem) {
  .th-fiche--ligne { grid-template-columns: 6rem minmax(0, 1fr); }
  .th-fiche--ligne .th-fiche__image { aspect-ratio: 1 / 1; }
}

/* ---------- Registre (liste dense) ---------- */
.th-registre { display: grid; gap: .7rem; }

/* ---------- Planche de rubrique ---------- */
.th-planche + .th-planche { border-top: 1px solid var(--th-regle); }
.th-renvoi-ligne { margin: 1rem 0 0; }
.th-renvoi {
  font-family: var(--th-regie-police); font-size: .72rem;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--th-scene); text-decoration: none;
}

/* ---------- Bande nuit ---------- */
.th-bande-nuit {
  background: linear-gradient(120deg, var(--th-bleu) 0%, var(--th-nuit) 100%);
  color: var(--th-blanc);
  padding: clamp(2.4rem, 6vw, 4.4rem) 0;
  margin: var(--th-respiration) 0;
}
.th-bande-nuit__titre {
  font-family: var(--th-titre-police); font-weight: 700;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  line-height: 1.08; margin: .4rem 0 .8rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .4);
  max-width: 26ch;
}
.th-bande-nuit__texte { max-width: var(--th-mesure); color: #E4E8DD; margin: 0; }

/* ---------- Ailleurs (réseau) ---------- */
.th-ailleurs__liste {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: .6rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
}
.th-ailleurs__item {
  background: var(--th-papier-2);
  border-radius: var(--th-r);
  padding: .8rem 1rem;
  box-shadow: 0 4px 14px rgba(20, 29, 40, .07);
  border-left: 3px solid var(--th-scene);
}
.th-ailleurs__item p { margin: 0; font-size: .94rem; }

/* ---------- Préambule (rubrique) ---------- */
.th-preambule { padding: var(--th-respiration) 0 1.4rem; }
.th-preambule h1 {
  font-family: var(--th-titre-police); font-weight: 700;
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  line-height: 1.05; margin: .4rem 0 .7rem; letter-spacing: -.012em;
  text-shadow: 0 1px 0 rgba(244, 241, 230, .6);
}
.th-preambule__intro { max-width: var(--th-mesure); color: var(--th-encre-douce); }

/* ---------- Onglets ---------- */
.th-onglets {
  display: flex; flex-wrap: wrap; gap: .4rem;
  padding-bottom: 1.2rem;
}
.th-onglet {
  font-family: var(--th-regie-police); font-size: .72rem;
  letter-spacing: .16em; text-transform: uppercase;
  padding: .5rem .9rem; border-radius: 999px;
  border: 1px solid var(--th-regle);
  text-decoration: none; color: var(--th-encre);
}
.th-onglet--courant {
  background: var(--th-nuit); color: var(--th-blanc);
  border-color: var(--th-nuit);
}

/* ---------- Remontée / fil ---------- */
.th-remontee { padding: 1.2rem 0 0; }
.th-remontee ol {
  display: flex; flex-wrap: wrap; gap: .4rem .6rem;
  list-style: none; margin: 0; padding: 0;
  font-family: var(--th-regie-police); font-size: .7rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--th-encre-douce);
}
.th-remontee ol li + li::before { content: "/"; margin-right: .6rem; color: var(--th-regle); }
.th-remontee a { text-decoration: none; }

/* ---------- Article ---------- */
.th-entete-fiche { padding: clamp(1.4rem, 3vw, 2.4rem) 0 1.2rem; }
.th-entete-fiche__titre {
  font-family: var(--th-titre-police); font-weight: 700;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.06; margin: .5rem 0 .8rem; letter-spacing: -.014em;
  max-width: 24ch;
  text-shadow: 0 1px 0 rgba(244, 241, 230, .55);
}
.th-chapeau {
  font-size: clamp(1.08rem, 1.6vw, 1.26rem);
  line-height: 1.5; max-width: var(--th-mesure);
  color: var(--th-encre-douce); margin: 0;
}
.th-planche-image { margin: 1.4rem auto; padding: 0 clamp(1rem, 4vw, 2.5rem); }
.th-planche-image img {
  width: 100%; aspect-ratio: var(--th-r-heros);
  object-fit: cover; border-radius: var(--th-r);
  box-shadow: 0 12px 30px rgba(20, 29, 40, .18);
  filter: saturate(.94) contrast(1.03);
}
.th-planche-image figcaption {
  font-family: var(--th-regie-police); font-size: .74rem;
  letter-spacing: .06em; color: var(--th-encre-douce);
  margin-top: .6rem;
}

.th-duo {
  display: grid; gap: 2.4rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, 16rem);
  align-items: start;
  padding-top: 1rem; padding-bottom: var(--th-respiration);
}
@media (max-width: 62rem) { .th-duo { grid-template-columns: minmax(0, 1fr); } }

.th-corps {
  max-width: var(--th-mesure); min-width: 0;
  font-size: 1.02rem;
}
.th-corps h2 {
  font-family: var(--th-titre-police); font-weight: 700;
  font-size: 1.5rem; margin: 2rem 0 .6rem; letter-spacing: -.008em;
}
.th-corps h3 { font-size: 1.15rem; margin: 1.4rem 0 .4rem; }
.th-corps p { margin: 0 0 1.05rem; }
.th-corps ul, .th-corps ol { padding-left: 1.3rem; margin: 0 0 1.1rem; }
.th-corps li { margin-bottom: .35rem; }
.th-corps blockquote {
  margin: 1.4rem 0; padding: .9rem 1.2rem;
  border-left: 3px solid var(--th-gaffer);
  background: var(--th-papier-2);
  border-radius: 0 var(--th-r) var(--th-r) 0;
  font-family: var(--th-titre-police); font-size: 1.1rem;
}
.th-corps table { border-collapse: collapse; width: 100%; }
.th-corps th, .th-corps td {
  border-bottom: 1px solid var(--th-regle);
  padding: .55rem .7rem; text-align: left;
}
.th-corps th { font-family: var(--th-regie-police); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.th-defile { overflow-x: auto; margin: 1.4rem 0; border: 1px solid var(--th-regle); border-radius: var(--th-r); }

.th-note {
  position: relative; margin: 1.4rem 0 1.4rem;
  padding: .4rem 0 .4rem 2.6rem;
  border-left: 1px solid var(--th-regle);
  color: var(--th-encre-douce);
}
.th-note::before {
  content: "|"; position: absolute; left: .9rem; top: .2rem;
  color: var(--th-gaffer); font-family: var(--th-regie-police);
}

/* ---------- Relevé (aside) ---------- */
.th-releve { min-width: 0; position: sticky; top: 6rem; }
.th-releve h2 { margin-bottom: .5rem; font-size: .74rem; font-family: var(--th-regie-police); letter-spacing: .2em; text-transform: uppercase; color: var(--th-encre-douce); text-shadow: none; }
.th-releve h2 + ol, .th-releve h2 + ul { list-style: none; margin: 0 0 1.2rem; padding: 0; }
.th-releve ol li, .th-releve ul li {
  padding: .35rem .6rem; border-radius: 10px;
  font-size: .9rem;
}
.th-releve ol li:nth-child(odd) { background: var(--th-papier-2); }
.th-releve a { text-decoration: none; }
@media (max-width: 62rem) { .th-releve { position: static; } }

/* ---------- Fiche service ---------- */
.th-fiche-article--service .th-corps { padding-bottom: var(--th-respiration); }

/* ---------- Voisinage ---------- */
.th-voisinage { border-top: 1px solid var(--th-regle); }

/* ---------- Pied ---------- */
.th-pied {
  background: var(--th-nuit); color: #E8ECF2;
  margin-top: var(--th-respiration);
  padding: clamp(2rem, 5vw, 3.4rem) 0 1.6rem;
}
.th-pied__colonnes {
  display: grid; gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
}
.th-pied__titre {
  font-family: var(--th-titre-police); font-weight: 700;
  font-size: 1.1rem; margin: 0 0 .6rem;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .5);
}
.th-pied__colonne p { color: #C8D2E0; font-size: .94rem; }
.th-pied__colonne ul { list-style: none; margin: 0; padding: 0; }
.th-pied__colonne ul li { margin-bottom: .3rem; }
.th-pied__colonne a { color: #E8ECF2; text-decoration: none; }
.th-pied__colonne a:hover { color: var(--th-gaffer); }
.th-pied__note {
  border-left: 2px solid var(--th-gaffer);
  padding-left: .8rem; font-size: .88rem; color: #C8D2E0;
}
.th-pied__ligne {
  margin-top: 2rem; padding-top: 1rem;
  border-top: 1px solid #2E3A4A;
  font-family: var(--th-regie-police); font-size: .74rem;
  letter-spacing: .14em; text-transform: uppercase; color: #A9B6C8;
}
.th-trait {
  display: inline-block; width: 2.5rem; height: 1px;
  background: var(--th-gaffer); vertical-align: middle; margin-right: .7rem;
}

/* ---------- 404 ---------- */
.th-page--404 .th-preambule { padding-top: 4rem; }

/* ---------- Petites largeurs ---------- */
@media (max-width: 40rem) {
  .th-bilan { grid-template-columns: minmax(0, 1fr); }
  .th-fronton { position: static; }
  .th-releve { display: block; }
}

/* Targeted Flash visual correction */


/* Keep the newest story visible at the opening */
.th-opening{padding-top:1.8rem;padding-bottom:.5rem}.th-opening h1{font:700 clamp(1.65rem,3vw,2.5rem)/1.15 var(--th-titre-police);margin:0 0 .4rem;text-shadow:0 2px 10px #2f5a3c18}.th-opening p{margin:0;color:var(--th-encre-douce)}.th-rayon--hero{padding-top:1rem}.th-hero{position:relative;background:var(--th-scene)}.th-hero__image{aspect-ratio:21/9;min-height:24rem}.th-hero__texte{position:absolute;bottom:0;inset-inline:0;background:linear-gradient(transparent,#092619f2);padding:5rem 2rem 1.8rem;color:#fffdf6}.th-hero__titre{font-size:clamp(1.5rem,3vw,2.8rem);max-width:26ch;text-shadow:0 2px 8px #0008}.th-hero__extrait{color:#f4f1e6}.th-hero__meta .th-date{color:#f4f1e6}.th-hero__titre a:hover{color:#ffe1a0}
@media(max-width:700px){.th-fronton__interieur{display:block}.th-enseigne{flex-wrap:wrap}.th-enseigne__mention{width:100%;font-size:.6rem;letter-spacing:.12em}.th-parcours{margin-top:.7rem}.th-parcours__lien{letter-spacing:0;font-size:.75rem;padding:.35rem .45rem}.th-large{padding-inline:1rem}.th-opening{padding-top:1.2rem}.th-hero__image{aspect-ratio:4/5;min-height:24rem}.th-hero__texte{padding:5rem 1rem 1rem}.th-hero__extrait{font-size:.9rem}.th-rayon__decompte{display:none}}
