/* Peau « la Traverse » — Lagune & Léman (acibe.org). Trois gestes signature :
   le tampon d'escale (cachet incliné portant code de rive et cote réels), la ligne d'eau
   (vaguelettes sous les surtitres), les mots de la traverse (strong soulignés d'un trait
   orangé oblique + grands numéros de cote en filigrane). Brief : research/brief-creation.md. */

/* ------------------------------------------------------------------ polices */
@font-face {
  font-family: "Gloock";
  src: url("/tv-gloock-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("/tv-source-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("/tv-source-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ------------------------------------------------------------------ matières */
:root {
  --lagune: #0B5A50;
  --lagune-nuit: #06342D;
  --oranger: #D96316;
  --oranger-clair: #E8833D;
  --sable: #F6EFE3;
  --sable-creux: #EFE5D2;
  --ecume: #E7EFE9;
  --ebene: #241F19;
  --brume: #6C655A;
  --blanc-chaud: #FDFAF3;
  --rive: var(--lagune);           /* posée par le thème selon la rubrique */
  --ratio-une: 16 / 10;
  --ratio-carte: 4 / 3;
  --ratio-mote: 1 / 1;
  --mesure: 64ch;
  --large: 76rem;                  /* 1216 px */
  --serif: "Gloock", serif;        /* display : titres, numéros, filigranes */
  --sans: "Source Sans 3", sans-serif; /* lecture */
  --ombre-carte: 0 14px 30px -18px rgba(6, 52, 45, .55);
  --ombre-carte-fort: 0 22px 44px -20px rgba(6, 52, 45, .6);
  --rayon: 14px;
  --vague-claire: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='7' viewBox='0 0 34 7'%3E%3Cpath d='M0 3.5c2.8-3.2 5.7-3.2 8.5 0s5.7 3.2 8.5 0 5.7-3.2 8.5 0 5.7 3.2 8.5 0' fill='none' stroke='%230B5A50' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E");
  --vague-sable: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='7' viewBox='0 0 34 7'%3E%3Cpath d='M0 3.5c2.8-3.2 5.7-3.2 8.5 0s5.7 3.2 8.5 0 5.7-3.2 8.5 0 5.7 3.2 8.5 0' fill='none' stroke='%23F6EFE3' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------------------ socle */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--sable);
  color: var(--ebene);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
main { display: block; }
img { max-width: 100%; }
picture { display: block; }
/* Le recadrage se fait toujours sur l'image, jamais par étirement : les conteneurs posent
   l'aspect-ratio, l'img remplit et couvre. */
picture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
a { color: var(--lagune); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--oranger); }
:focus-visible { outline: 3px solid var(--oranger); outline-offset: 2px; border-radius: 2px; }
::selection { background: var(--oranger); color: var(--blanc-chaud); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.14; margin: 0; }
p { margin: 0 0 1em; }
.tv-evitement {
  position: absolute;
  left: -999px;
  top: .5rem;
  background: var(--oranger);
  color: var(--blanc-chaud);
  padding: .6rem 1rem;
  border-radius: 8px;
  z-index: 60;
}
.tv-evitement:focus { left: .5rem; color: var(--blanc-chaud); }

/* Le passeport : capitales espacées, chiffres tabulaires. Réservé aux surtitres, cotes et repères. */
.tv-passeport {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}
.tv-point { opacity: .55; padding: 0 .25em; }

/* ------------------------------------------------------------------ tampon d'escale */
.tv-tampon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--rive);
  box-shadow: inset 0 0 0 3px var(--sable), inset 0 0 0 4.5px var(--rive);
  color: var(--rive);
  transform: rotate(-6deg);
  font-family: var(--serif);
  font-size: 1rem;
  flex: none;
  background: var(--sable);
}
.tv-tampon b { font-weight: 400; }
.tv-tampon-plein {
  background: var(--rive);
  color: var(--sable);
  box-shadow: inset 0 0 0 3px var(--rive), inset 0 0 0 4.5px var(--sable);
}

/* ------------------------------------------------------------------ ligne d'eau */
.tv-surtitre {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--oranger);
  margin: 0 0 .35rem;
}
.tv-surtitre::after {
  content: "";
  display: block;
  width: 102px;
  height: 7px;
  margin-top: .45rem;
  background: var(--vague-claire) repeat-x left center / 34px 7px;
}
.tv-eau-sombre { color: var(--oranger-clair); }
.tv-eau-sombre::after { background-image: var(--vague-sable); }
.tv-eau-claire::after { background-image: var(--vague-claire); }

.tv-titre-eau h2 { font-size: clamp(1.6rem, 2.6vw, 2.15rem); }
.tv-titre-eau h2::after {
  content: "";
  display: block;
  width: 136px;
  height: 7px;
  margin-top: .5rem;
  background: var(--vague-claire) repeat-x left center / 34px 7px;
}
.tv-titre-eau.tv-eau-sombre h2::after { background-image: var(--vague-sable); }
.tv-titre-eau a { color: inherit; text-decoration: none; }
.tv-titre-eau a:hover { color: var(--oranger); }
.tv-titre-eau.tv-eau-sombre a:hover { color: var(--oranger-clair); }

/* ------------------------------------------------------------------ passeur (en-tête) */
.tv-passeur {
  background: linear-gradient(180deg, var(--lagune-nuit), #0A473E);
  color: var(--sable);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 10px 24px -18px rgba(6, 52, 45, .9);
}
.tv-passeur-bande {
  max-width: var(--large);
  margin: 0 auto;
  padding: .65rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.tv-marque {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  color: var(--sable);
}
.tv-marque svg { height: 30px; width: auto; display: block; }
.tv-marque-nom {
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  opacity: .82;
  max-width: 8rem;
  line-height: 1.35;
}
.tv-nav { margin-left: auto; min-width: 0; max-width: 100%; }
.tv-nav ul {
  list-style: none;
  display: flex;
  gap: .35rem;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
  max-width: 100%;
}
.tv-nav ul::-webkit-scrollbar { display: none; }
.tv-nav a {
  display: inline-block;
  padding: .42rem .8rem;
  border-radius: 999px;
  color: var(--sable);
  text-decoration: none;
  font-size: .88rem;
  white-space: nowrap;
}
.tv-nav a:hover { background: rgba(246, 239, 227, .14); color: var(--sable); }
.tv-nav a[aria-current="page"] { background: var(--oranger); color: var(--blanc-chaud); }

/* ------------------------------------------------------------------ embarquement (héros) */
.tv-embarquement {
  position: relative;
  min-height: min(78vh, 46rem);
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}
.tv-heros { position: absolute; inset: 0; z-index: -2; }
.tv-heros img { height: 100%; }
.tv-embarquement-voile {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(6, 52, 45, .18) 0%, rgba(6, 52, 45, .05) 34%, rgba(6, 52, 45, .78) 78%, var(--lagune-nuit) 100%);
}
.tv-embarquement-texte {
  max-width: var(--large);
  margin: 0 auto;
  padding: 7rem 1.25rem 3.5rem;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .95fr);
  gap: 2.5rem;
  align-items: end;
}
.tv-accroche {
  color: var(--sable);
  font-size: clamp(2.3rem, 5vw, 4.1rem);
  text-shadow: 0 3px 24px rgba(6, 52, 45, .45);
  margin: .3rem 0 .6rem;
}
.tv-accroche-soustitre {
  color: #E9F0E9;
  font-size: 1.12rem;
  max-width: 34ch;
  text-shadow: 0 2px 14px rgba(6, 52, 45, .6);
  margin-bottom: 1.4rem;
}
.tv-embarquement-cta { margin: 0; }
.tv-bouton {
  display: inline-block;
  background: var(--oranger);
  color: var(--blanc-chaud);
  font-weight: 700;
  padding: .8rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 14px 26px -14px rgba(217, 99, 22, .8);
}
.tv-bouton:hover { background: #C2540D; color: var(--blanc-chaud); transform: translateY(-2px); }
/* Le chapô d'introduction : panneau sable posé sur le héros, mesure tenue. */
.tv-chapo-seo {
  margin: 0;
  background: var(--sable);
  color: var(--ebene);
  border-radius: var(--rayon);
  padding: 1.35rem 1.5rem 1.1rem;
  box-shadow: var(--ombre-carte-fort);
  border-top: 4px solid var(--oranger);
}
.tv-chapo-titre {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--oranger);
  margin: 0 0 .5rem;
}
.tv-chapo-texte {
  margin: 0 0 .6rem;
  font-size: 1.04rem;
  line-height: 1.6;
  max-width: 42ch;
}
.tv-chapo-clause { margin: 0; font-size: .9rem; color: var(--brume); max-width: 42ch; }

/* ------------------------------------------------------------------ la traversée du jour (une + vignettes) */
.tv-jour, .tv-suite, .tv-bord, .tv-rives, .tv-reseau-bande, .tv-rive {
  max-width: var(--large);
  margin: 0 auto;
  padding: 2.6rem 1.25rem 2.8rem;
}
.tv-jour-grille {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 1.6rem;
  align-items: stretch;
  margin-top: 1.6rem;
}
/* La une : photo pleine, voile bas, texte posé dessus ; elle déborde sur la section suivante. */
.tv-une {
  position: relative;
  border-radius: var(--rayon);
  overflow: hidden;
  box-shadow: var(--ombre-carte-fort);
  margin-bottom: -2.2rem;
  z-index: 2;
  isolation: isolate;
}
.tv-couverture { aspect-ratio: var(--ratio-une); height: 100%; }
.tv-une-texte {
  position: absolute;
  inset: auto 0 0 0;
  padding: 5.5rem 1.6rem 1.5rem;
  background: linear-gradient(180deg, rgba(6, 52, 45, 0), rgba(6, 52, 45, .82) 62%);
  color: var(--sable);
}
.tv-une-refs { color: #DDE8E1; margin: .5rem 0 .3rem; }
.tv-une-titre { font-size: clamp(1.5rem, 2.4vw, 2.05rem); margin-bottom: .4rem; }
.tv-une-titre a { color: var(--sable); text-decoration: none; }
.tv-une-titre a:hover { color: var(--oranger-clair); }
.tv-une-chapo { color: #E4EDE7; margin: 0; font-size: .98rem; max-width: 58ch; }
.tv-une .tv-tampon-plein { position: absolute; top: 1.1rem; right: 1.2rem; }
/* La colonne de vignettes : deuxième densité. */
.tv-jour-colonne {
  display: grid;
  gap: 1.6rem;
  align-content: start;
}
.tv-escale {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  background: var(--blanc-chaud);
  border-radius: var(--rayon);
  overflow: hidden;
  box-shadow: var(--ombre-carte);
  transition: transform .18s ease, box-shadow .18s ease;
}
.tv-escale:hover { transform: translateY(-2px); box-shadow: var(--ombre-carte-fort); }
.tv-vignette { aspect-ratio: var(--ratio-carte); }
.tv-escale-texte { padding: 1.05rem 1.2rem 1.2rem; }
.tv-escale-texte .tv-tampon {
  width: 34px; height: 34px; font-size: .8rem;
  box-shadow: inset 0 0 0 2.5px var(--sable), inset 0 0 0 4px var(--rive);
}
.tv-escale-refs { color: var(--brume); margin: .35rem 0 .2rem; }
.tv-escale-titre { font-size: 1.28rem; margin-bottom: .3rem; }
.tv-escale-titre a { text-decoration: none; color: var(--ebene); }
.tv-escale-titre a:hover { color: var(--rive); }
.tv-escale-chapo { margin: 0; color: var(--brume); font-size: .93rem; }

/* ------------------------------------------------------------------ carnet de bord (comptes réels) */
.tv-bord {
  background: var(--ecume);
  border-radius: var(--rayon);
  position: relative;
  z-index: 1;
  padding-top: 4.2rem;
}
.tv-bord-grille {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: 2rem;
  align-items: center;
  margin-top: 1.2rem;
}
.tv-bord-comptes {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem 2rem;
}
.tv-bord-ligne {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  border-left: 3px solid var(--rive, var(--lagune));
  padding-left: .9rem;
}
.tv-bord-ligne:nth-child(1) { border-color: #C75B12; }
.tv-bord-ligne:nth-child(2) { border-color: #2E7D52; }
.tv-bord-ligne:nth-child(3) { border-color: #B08514; }
.tv-bord-ligne:nth-child(4) { border-color: #71468C; }
.tv-bord-ligne dt {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brume);
}
.tv-bord-ligne dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.7rem;
  color: var(--ebene);
  font-variant-numeric: tabular-nums lining-nums;
}
.tv-bord-note { color: var(--brume); margin: 0; max-width: 34ch; }

/* ------------------------------------------------------------------ suite du carnet (liste dense) */
.tv-suite-liste { display: grid; gap: .9rem; margin-top: 1.4rem; }
.tv-mote {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 1.1rem;
  align-items: center;
  background: var(--blanc-chaud);
  border-radius: 12px;
  padding: .8rem 1.1rem .8rem .9rem;
  box-shadow: 0 8px 18px -14px rgba(6, 52, 45, .5);
  overflow: hidden;
}
.tv-mote:hover { transform: translateY(-1px); box-shadow: var(--ombre-carte); }
.tv-mote, .tv-rappel, .tv-voisines-liste li { transition: transform .16s ease; }
/* Le grand numéro de cote en filigrane : chiffres réels de la fiche, display, opacité faible. */
.tv-filigrane {
  position: absolute;
  right: .6rem;
  top: 50%;
  transform: translateY(-52%);
  font-family: var(--serif);
  font-size: 5.6rem;
  line-height: 1;
  color: var(--rive);
  opacity: .09;
  pointer-events: none;
  font-variant-numeric: lining-nums;
}
.tv-miniature { aspect-ratio: var(--ratio-mote); width: 72px; border-radius: 8px; overflow: hidden; }
.tv-mote-texte { position: relative; z-index: 1; }
.tv-mote-texte .tv-tampon {
  width: 26px; height: 26px; font-size: .62rem; border-width: 1.5px;
  box-shadow: inset 0 0 0 2px var(--sable), inset 0 0 0 3px var(--rive);
  vertical-align: middle;
}
.tv-mote-refs { display: inline; color: var(--brume); margin: 0 0 0 .6rem; }
.tv-mote-titre { font-size: 1.18rem; margin-top: .15rem; }
.tv-mote-titre a { text-decoration: none; color: var(--ebene); }
.tv-mote-titre a:hover { color: var(--rive); }

/* ------------------------------------------------------------------ les quatre rives */
.tv-rive { border-radius: var(--rayon); }
.tv-rive-alt { background: var(--ecume); }
.tv-rive-intro { color: var(--brume); max-width: 68ch; margin: .6rem 0 1.1rem; }
.tv-rive-liste {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem 1.6rem;
}
.tv-rappel {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: .85rem;
  align-items: center;
}
.tv-rappel-vue .tv-miniature { width: 56px; border-radius: 6px; }
.tv-rappel-texte { min-width: 0; }
.tv-rappel-texte .tv-tampon {
  width: 22px; height: 22px; font-size: .55rem; border-width: 1.5px;
  box-shadow: inset 0 0 0 2px var(--sable), inset 0 0 0 3px var(--rive);
  vertical-align: middle;
}
.tv-rappel-refs { color: var(--brume); margin-left: .45rem; }
.tv-rappel-titre { font-size: 1.02rem; }
.tv-rappel-titre a { text-decoration: none; color: var(--ebene); }
.tv-rappel-titre a:hover { color: var(--rive); }
.tv-rive-ouvrir { margin: 1.2rem 0 0; }
.tv-lien-rive {
  display: inline-block;
  padding: .5rem 1.05rem;
  border-radius: 999px;
  border: 2px solid var(--rive);
  color: var(--rive);
  text-decoration: none;
  font-weight: 700;
  font-size: .9rem;
}
.tv-lien-rive:hover { background: var(--rive); color: var(--sable); }

/* ------------------------------------------------------------------ section réseau */
.tv-reseau-bande {
  background: linear-gradient(180deg, var(--lagune-nuit), var(--lagune));
  color: var(--sable);
  border-radius: var(--rayon);
}
.tv-reseau-phrase { color: #D9E6DF; max-width: 64ch; margin: .4rem 0 1rem; }
.tv-reseau-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.tv-reseau-liste a { color: var(--oranger-clair); text-decoration-color: rgba(232, 131, 61, .5); }
.tv-reseau-liste a:hover { color: var(--sable); }

/* ------------------------------------------------------------------ tête de rubrique */
.tv-tete-rive {
  background: linear-gradient(180deg, var(--lagune-nuit), #0B4A41);
  color: var(--sable);
  position: relative;
}
.tv-tete-rive-bande {
  max-width: var(--large);
  margin: 0 auto;
  padding: 3.4rem 1.25rem 3rem;
}
.tv-tete-rive-titre { font-size: clamp(2rem, 3.6vw, 3rem); }
.tv-tete-rive-intro { color: #DCE8E2; max-width: 66ch; margin: .7rem 0 .8rem; font-size: 1.08rem; }
.tv-tete-rive-refs { color: #BFD2CA; margin: 0; }
.tv-rive-articles { padding-top: 1.8rem; }
.tv-retour { max-width: var(--large); margin: 0 auto 2.6rem; padding: 0 1.25rem; }
.tv-retour a { font-weight: 700; }

/* ------------------------------------------------------------------ fiche (article) */
.tv-fiche-tete {
  background: var(--sable-creux);
  border-bottom: 1px solid rgba(108, 101, 90, .25);
  position: relative;
  overflow: hidden;
}
.tv-fiche-bande {
  max-width: 66rem;
  margin: 0 auto;
  padding: 2.4rem 1.25rem 2.1rem;
  position: relative;
}
.tv-filigrane-fiche {
  position: absolute;
  right: 1rem;
  top: .4rem;
  transform: none;
  font-size: 9rem;
  opacity: .07;
}
.tv-ariane ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
  margin: 0 0 1.3rem;
  padding: 0;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brume);
}
.tv-ariane li + li::before { content: "/"; padding: 0 .45rem; opacity: .5; }
.tv-ariane a { color: var(--brume); text-decoration: none; }
.tv-ariane a:hover { color: var(--rive); }
.tv-fiche-cachet { display: flex; align-items: center; gap: .8rem; margin-bottom: .9rem; }
.tv-fiche-cote { color: var(--rive); }
.tv-fiche-titre { font-size: clamp(1.9rem, 3.4vw, 2.9rem); max-width: 26ch; }
.tv-fiche-chapo {
  font-size: 1.16rem;
  font-weight: 700;
  color: var(--lagune);
  max-width: 58ch;
  margin: .9rem 0 .8rem;
}
.tv-fiche-refs { color: var(--brume); margin: 0; }
.tv-planche {
  max-width: 66rem;
  margin: 1.8rem auto 0;
  padding: 0 1.25rem;
}
.tv-planche-image {
  aspect-ratio: 16 / 10;
  border-radius: var(--rayon);
  overflow: hidden;
  box-shadow: var(--ombre-carte-fort);
}
.tv-planche-legende {
  font-size: .88rem;
  color: var(--brume);
  margin: .55rem .2rem 0;
}
.tv-planche-credit { opacity: .8; }

.tv-fiche-corps {
  max-width: 66rem;
  margin: 1.6rem auto 0;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: minmax(0, 68ch) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}
.tv-corps { grid-column: 1; }
.tv-corps > * + * { margin-top: 1.05rem; }
.tv-corps p { max-width: var(--mesure); }
/* Les mots de la traverse : strong soulignés d'un trait épais orangé, légèrement oblique. */
.tv-corps strong {
  font-weight: 700;
  padding: 0 .06em .1em;
  background-image: linear-gradient(100deg, rgba(217, 99, 22, 0) .5%, rgba(217, 99, 22, .9) 3%, rgba(217, 99, 22, .9) 97%, rgba(217, 99, 22, 0) 99.5%);
  background-repeat: no-repeat;
  background-size: 100% .34em;
  background-position: 0 96%;
}
.tv-corps h2 {
  font-size: 1.55rem;
  counter-increment: escale;
  margin-top: 2.4rem;
  padding-top: .2rem;
}
.tv-corps { counter-reset: escale; }
.tv-corps h2::before {
  content: counter(escale, decimal-leading-zero);
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--rive);
  display: block;
  margin-bottom: .3rem;
}
.tv-corps h3 { font-size: 1.2rem; margin-top: 1.6rem; }
.tv-corps a { text-underline-offset: 3px; }
/* Dispositifs rédactionnels : l'encadré halte, les points de conduite, les tableaux. */
.tv-corps aside {
  background: var(--ecume);
  border-left: 5px solid var(--oranger);
  border-radius: 0 12px 12px 0;
  padding: 1.1rem 1.3rem .9rem;
  margin: 1.6rem 0;
}
.tv-corps aside h2, .tv-corps aside h3 { margin-top: 0; }
.tv-corps aside h2::before, .tv-corps aside h3::before { content: none; }
.tv-corps aside strong { background-image: none; }
.tv-corps dl {
  background: var(--blanc-chaud);
  border: 1px solid rgba(108, 101, 90, .28);
  border-radius: 12px;
  padding: 1.1rem 1.3rem;
  margin: 1.6rem 0;
  box-shadow: 0 10px 22px -18px rgba(6, 52, 45, .45);
}
.tv-corps dl div + div { margin-top: .8rem; }
.tv-corps dt {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--oranger);
  margin-bottom: .15rem;
}
.tv-corps dd { margin: 0; font-variant-numeric: tabular-nums; }
.tv-corps table {
  border-collapse: collapse;
  width: 100%;
  font-size: .95rem;
  background: var(--blanc-chaud);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 22px -18px rgba(6, 52, 45, .45);
}
.tv-corps th {
  text-align: left;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: var(--lagune);
  color: var(--sable);
  padding: .6rem .8rem;
}
.tv-corps td { padding: .55rem .8rem; border-top: 1px solid rgba(108, 101, 90, .2); font-variant-numeric: tabular-nums; }
.tv-corps blockquote {
  margin: 1.6rem 0;
  padding: .2rem 0 .2rem 1.2rem;
  border-left: 4px solid var(--rive);
  font-style: italic;
  color: #4A443B;
}
.tv-corps ul, .tv-corps ol { padding-left: 1.3rem; max-width: var(--mesure); }
.tv-corps li + li { margin-top: .35rem; }
.tv-corps figure { margin: 1.6rem 0; }

/* Sommaire : colonne latérale en grand écran. */
.tv-sommaire { grid-column: 2; position: sticky; top: 5.5rem; }
.tv-sommaire-titre {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--brume);
  border-bottom: 2px solid var(--rive);
  padding-bottom: .4rem;
}
.tv-sommaire ol { list-style: none; margin: .7rem 0 0; padding: 0; counter-reset: marche; }
.tv-sommaire li { counter-increment: marche; }
.tv-sommaire li + li { margin-top: .45rem; }
.tv-sommaire li::before {
  content: counter(marche, decimal-leading-zero);
  font-size: .72rem;
  font-weight: 700;
  color: var(--rive);
  margin-right: .5rem;
}
.tv-sommaire a { text-decoration: none; font-size: .93rem; }
.tv-sommaire a:hover { color: var(--oranger); }

/* Sources */
.tv-sources {
  max-width: 66rem;
  margin: 2.4rem auto 0;
  padding: 1.4rem 1.6rem;
  background: var(--ecume);
  border-radius: var(--rayon);
}
.tv-sources-titre { font-size: 1.15rem; }
.tv-sources-liste { margin: .7rem 0 0; padding-left: 1.2rem; color: var(--brume); font-size: .92rem; }
.tv-sources-liste li + li { margin-top: .3rem; }

/* Voisines */
.tv-voisines { max-width: var(--large); margin: 2.8rem auto 0; padding: 0 1.25rem; }
.tv-voisines-titre { font-size: 1.4rem; }
.tv-voisines-liste {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  margin: 1.1rem 0 0;
  padding: 0;
}
.tv-voisines-liste li {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: .8rem;
  align-items: center;
  background: var(--blanc-chaud);
  border-radius: 12px;
  padding: .9rem 1rem;
  box-shadow: 0 8px 18px -14px rgba(6, 52, 45, .5);
  position: relative;
}
.tv-voisines-liste li:hover { transform: translateY(-2px); }
.tv-voisines-liste .tv-tampon {
  position: absolute;
  top: -8px; left: -8px;
  width: 24px; height: 24px; font-size: .58rem; border-width: 1.5px;
  box-shadow: inset 0 0 0 2px var(--sable), inset 0 0 0 3px var(--rive);
}
.tv-voisine-vue .tv-miniature { width: 64px; }
.tv-voisine-refs { color: var(--brume); margin: 0 0 .1rem; font-size: .68rem; }
.tv-voisines-liste h3 { font-size: 1.02rem; }
.tv-voisines-liste h3 a { text-decoration: none; color: var(--ebene); }
.tv-voisines-liste h3 a:hover { color: var(--rive); }

/* Page de service */
.tv-fiche-service .tv-fiche-corps { grid-template-columns: minmax(0, 68ch); }

/* 404 */
.tv-hors-parcours {
  background: linear-gradient(180deg, var(--lagune-nuit), #0B4A41);
  color: var(--sable);
  min-height: 58vh;
  display: flex;
  align-items: center;
}
.tv-hors-parcours-bande {
  max-width: var(--large);
  margin: 0 auto;
  padding: 4rem 1.25rem;
  position: relative;
}
.tv-hors-parcours-bande .tv-tampon-plein { margin-bottom: 1.2rem; }
.tv-hors-parcours-titre { font-size: clamp(2rem, 4vw, 3.2rem); margin: .4rem 0 1rem; }
.tv-hors-parcours-texte { color: #D9E6DF; max-width: 52ch; margin-bottom: 1.6rem; }
.tv-hors-parcours-texte a { color: var(--oranger-clair); }

/* ------------------------------------------------------------------ registre de bord (pied) */
.tv-registre {
  margin-top: 3.5rem;
  background: linear-gradient(180deg, var(--lagune), var(--lagune-nuit));
  color: var(--sable);
}
.tv-registre-bande {
  max-width: var(--large);
  margin: 0 auto;
  padding: 2.8rem 1.25rem 2.4rem;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr) minmax(0, .7fr) minmax(0, 1.1fr);
  gap: 2.2rem;
}
.tv-registre-bande::before { content: none; }
.tv-registre-nom { font-family: var(--serif); font-size: 1.5rem; margin: 0 0 .6rem; }
.tv-registre-texte { color: #D9E6DF; font-size: .93rem; }
.tv-registre-ligne { color: #AFC7BE; font-size: .88rem; font-style: italic; }
.tv-registre-col ul { list-style: none; margin: .6rem 0 0; padding: 0; display: grid; gap: .4rem; }
.tv-registre-col a { color: #D9E6DF; text-decoration: none; }
.tv-registre-col a:hover { color: var(--oranger-clair); }
.tv-registre-titre {
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--oranger-clair);
}
.tv-registre-fichiers { margin-top: 1rem; }
.tv-registre-note { color: #D9E6DF; font-size: .88rem; }
.tv-registre-credit { color: #AFC7BE; font-size: .84rem; }
.tv-registre-clos { color: #8FB4A9; margin: 1rem 0 0; }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 72rem) {
  .tv-fiche-corps { grid-template-columns: minmax(0, 1fr); }
  .tv-sommaire { position: static; }
}
@media (max-width: 62rem) {
  .tv-embarquement-texte { grid-template-columns: minmax(0, 1fr); align-items: start; padding-top: 5.5rem; }
  .tv-jour-grille { grid-template-columns: minmax(0, 1fr); }
  .tv-une { margin-bottom: 0; }
  .tv-bord-grille { grid-template-columns: minmax(0, 1fr); }
  .tv-rive-liste { grid-template-columns: minmax(0, 1fr); }
  .tv-voisines-liste { grid-template-columns: minmax(0, 1fr); }
  .tv-registre-bande { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 40rem) {
  body { font-size: 1rem; }
  .tv-passeur-bande { gap: .6rem; }
  .tv-nav { margin-left: 0; width: 100%; }
  .tv-marque svg { height: 24px; }
  .tv-embarquement { min-height: 66vh; }
  .tv-embarquement-texte { padding: 4.5rem 1rem 2.2rem; }
  .tv-couverture { aspect-ratio: 4 / 3; }
  .tv-filigrane { font-size: 4rem; }
  .tv-filigrane-fiche { font-size: 5.5rem; }
  .tv-bord-comptes { grid-template-columns: minmax(0, 1fr); }
  .tv-mote { grid-template-columns: 56px minmax(0, 1fr); }
  .tv-mote-vue .tv-miniature { width: 56px; }
  .tv-jour, .tv-suite, .tv-bord, .tv-rives, .tv-rive, .tv-reseau-bande { padding-left: 1rem; padding-right: 1rem; }
  .tv-bord { margin-left: 1rem; margin-right: 1rem; width: auto; max-width: none; }
  .tv-rive, .tv-reseau-bande { margin-left: 1rem; margin-right: 1rem; max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Verified mobile screenshot contrast repair */
.tv-embarquement .tv-embarquement-voile{background:linear-gradient(180deg,rgba(6,52,45,.82) 0%,rgba(6,52,45,.78) 45%,rgba(6,52,45,.85) 78%,var(--lagune-nuit) 100%)}.tv-embarquement .tv-accroche{color:#FFF8EE;text-shadow:0 2px 10px rgba(4,32,28,.85),0 0 2px rgba(4,32,28,.7)}.tv-embarquement .tv-accroche-soustitre{color:#F2F7F1;text-shadow:0 2px 8px rgba(4,32,28,.9),0 0 2px rgba(4,32,28,.75)}.tv-embarquement .tv-chapo-titre{color:#B4570E}.tv-embarquement .tv-bouton{background:#FF8A3D;color:#062B24}.tv-embarquement .tv-bouton:hover,.tv-embarquement .tv-bouton:focus-visible{background:#FFA45F;color:#062B24}
.tv-embarquement .tv-surtitre{color:#f5efe0!important;text-shadow:0 1px 2px rgba(0,0,0,.6);}

/* Article reading width and sidebar placement */
.tv-sommaire{grid-column:1;grid-row:auto;min-width:0;}.tv-corps{grid-column:1;grid-row:auto;min-width:0;}.tv-sommaire a,.tv-sommaire p{overflow-wrap:anywhere;word-break:break-word;}@media (max-width:72rem){.tv-fiche-corps{grid-template-columns:minmax(0,1fr);}.tv-sommaire,.tv-corps{grid-column:1;grid-row:auto;min-width:0;}}@media (min-width:72.01rem){.tv-fiche-corps{grid-template-columns:minmax(0,68ch) minmax(0,1fr);}.tv-sommaire,.tv-corps{grid-row:1;min-width:0;}.tv-corps{grid-column:1;}.tv-sommaire{grid-column:2;}}

/* Local scroll for wide article tables */
.tv-corps table{display:block;max-width:100%;overflow-x:auto;border-collapse:collapse}.tv-sources a{overflow-wrap:anywhere}
