/* Platine — édition 2001 : Garamond, navigation métallique et accents orange,
   sur une page large qui reste fluide jusqu’au téléphone. */

@font-face { font-family: "Espaces"; src: local("Helvetica"), local("Arial"), local("Liberation Sans"), local("DejaVu Sans"); unicode-range: U+00A0, U+202F; }

:root {
  --encre: #111;
  --texte: #333;
  --discret: #666;
  --lien: #0645ad;
  --lien-vu: #663399;
  --orange: #c66a12;
  --orange-clair: #eda33c;
  --orange-sombre: #824006;
  --metal-clair: #fdfdfd;
  --metal-fonce: #c7c7c7;
  --filet: #c8c8c8;
  --fond-gris: #f6f6f6;
  --g3: #3b6cc4;
  --g3-clair: #6f9be3;
  --g3-sombre: #24477f;
  --selection: #333399;
  --serif: "EB Garamond", "Apple Garamond", Garamond, Georgia, serif;
  --sans: "Espaces", Geneva, Verdana, "DejaVu Sans", sans-serif;
  --largeur: 1240px;
  --gouttiere: clamp(18px, 3vw, 40px);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 20px; background: #fff; }
body { margin: 0; color: var(--texte); font: 15px/1.62 var(--sans); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lien); text-decoration: underline; text-underline-offset: 2px; }
a:visited { color: var(--lien-vu); }
a:hover { color: var(--orange); }
a:focus-visible, [role="button"]:focus-visible, button:focus-visible { outline: 3px solid var(--orange-clair); outline-offset: 3px; }
code { font-family: Monaco, "DejaVu Sans Mono", monospace; font-size: .88em; color: #333; overflow-wrap: anywhere; }
strong, b { color: var(--encre); }
::selection { background: var(--selection); color: #fff; }

/* Navigation principale, inspirée des onglets métalliques d’Apple en 2001. */
.entete { background: #fff; border-bottom: 1px solid #888; }
.entete-corps, .sous-barre-corps, main, .pied-corps { width: 100%; max-width: var(--largeur); margin-inline: auto; padding-inline: var(--gouttiere); }
.entete-corps { padding-top: 18px; display: flex; align-items: flex-end; gap: 28px; }
.marque { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; font: 500 35px/1 var(--serif); color: var(--encre); letter-spacing: -.02em; text-decoration: none; }
.marque:visited, .marque:hover { color: var(--encre); }
.marque svg { width: 30px; height: 30px; }
.onglets { display: flex; gap: 3px; flex: 1; justify-content: flex-end; }
.onglets a {
  flex: 0 1 auto; min-width: 0; padding: 9px 11px 8px; border: 1px solid #888; border-bottom: 0; border-radius: 6px 6px 0 0;
  color: #222; font: 12px/1.25 var(--sans); white-space: nowrap; text-align: center; text-decoration: none;
  background: linear-gradient(var(--metal-clair), var(--metal-fonce)); box-shadow: inset 1px 1px 0 #fff;
}
.onglets a:visited { color: #222; }
.onglets a:hover { color: #000; background: linear-gradient(#fff, #dedede); }
.onglets a.actif { color: #000; font-weight: bold; background: linear-gradient(#eee, #aaa); box-shadow: inset 0 2px 0 var(--orange); }
.sous-barre { background: linear-gradient(#f5f5f5, #e5e5e5); border-top: 1px solid #aaa; }
.sous-barre-corps { min-height: 32px; padding-block: 6px; display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; font-size: 12px; color: #555; }
.sous-liens { display: flex; flex-wrap: wrap; gap: 4px 10px; }
.sous-liens a, .sous-liens a:visited { color: #333; text-decoration: none; }
.sous-liens a:hover { color: var(--orange-sombre); text-decoration: underline; }
.sous-liens a + a::before { content: "|"; margin-right: 10px; color: #999; }

/* Annonce : produit à gauche, grand titre et texte à droite. */
.affiche { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(310px, .85fr); gap: clamp(30px, 5vw, 72px); align-items: center; padding: 46px 0 38px; }
.affiche-image { grid-column: 1; grid-row: 1; margin: 0; }
.affiche-image img { width: 100%; }
.affiche-texte { grid-column: 2; grid-row: 1; text-align: left; }
h1, h2, h3 { font-family: var(--serif); color: var(--encre); font-weight: 500; letter-spacing: -.015em; }
.affiche-texte h1 { margin: 0; font-size: clamp(45px, 5vw, 70px); line-height: .98; letter-spacing: -.035em; }
.chapeau { margin: 22px 0 0; font-size: 16px; line-height: 1.6; }
.fleches { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; font-size: 12px; font-weight: bold; }
.fleches a, .fleches a:visited { padding: 6px 15px; color: #fff; border: 1px solid var(--orange-sombre); border-radius: 16px; background: linear-gradient(var(--orange-clair), var(--orange)); box-shadow: inset 0 1px 0 rgba(255,255,255,.55); text-decoration: none; white-space: nowrap; }
.fleches a:hover { color: #fff; background: linear-gradient(#f2ae4d, #d47718); }
.fleches a::after { content: " \25B8"; }

/* Quatre entrées, comme les renvois illustrés des pages produit de l’époque. */
.vignettes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding: 30px 0 42px; border-top: 1px solid var(--filet); }
.vignette { display: flex; flex-direction: column; color: var(--texte); text-decoration: none; }
.vignette:visited, .vignette:hover { color: var(--texte); }
.vignette img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border: 1px solid #aaa; }
.vignette h2 { margin: 12px 0 4px; font-size: 25px; line-height: 1.08; }
.vignette p { margin: 0 0 12px; font-size: 14px; line-height: 1.5; flex: 1; }
.plus { align-self: flex-start; color: var(--lien); font-size: 13px; font-weight: bold; text-decoration: underline; text-underline-offset: 2px; }
.plus::after { content: " \25B8"; color: var(--orange); }
.vignette:hover .plus { color: var(--orange-sombre); }

/* Rubriques : titres généreux, colonne de lecture et encadré secondaire. */
.rubrique { padding: 44px 0 50px; border-top: 1px solid #aaa; }
.rubrique-grise { margin-inline: calc(-1 * var(--gouttiere)); padding-inline: var(--gouttiere); background: var(--fond-gris); }
.surtitre { margin: 0 0 8px; color: var(--orange-sombre); font-size: 11px; font-weight: bold; line-height: 1.4; letter-spacing: .12em; text-transform: uppercase; }
.surtitre code { color: inherit; font-size: 1em; text-transform: none; letter-spacing: 0; }
.titre-rubrique { max-width: 950px; margin: 0 0 24px; font-size: clamp(34px, 4vw, 48px); line-height: 1.04; letter-spacing: -.025em; }
.intro { max-width: 850px; margin: -6px 0 24px; font-size: 15px; }
.colonnes { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(30px, 4vw, 52px); align-items: start; }
.colonnes + .colonnes, .plan + .colonnes { margin-top: 32px; }
.colonnes-egales { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.texte-courant { max-width: 790px; }
.texte-courant p { margin: 0 0 1em; }
.texte-courant p:last-child { margin-bottom: 0; }

/* Dépêches. */
.depeches { list-style: none; margin: 0; padding: 0; }
.depeches li { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 18px; padding: 18px 0; border-top: 1px solid #ddd; }
.depeches li:first-child { border-top: 0; padding-top: 0; }
.depeches time { font-size: 12px; font-weight: bold; line-height: 1.5; color: var(--orange-sombre); text-align: left; margin-top: 4px; }
.depeches h3 { margin: 0 0 5px; font-size: 24px; line-height: 1.12; }
.depeches p { margin: 0; }
.nouveau { display: inline-block; margin-left: 8px; padding: 1px 6px; font: bold 10px/1.5 var(--sans); color: #8b2c00; background: #ffe4a3; border: 1px solid #cb7900; transform: rotate(-4deg); vertical-align: 4px; letter-spacing: 0; }

/* Encadrés gris, à la manière des colonnes « Community » d’Apple. */
.encadre { border: 1px solid #ccc; background: #fff; }
.encadre-titre { margin: 0; padding: 7px 12px; font: bold 13px/1.4 var(--sans); color: #222; text-align: left; background: linear-gradient(#e8e8e8, #cfcfcf); border-bottom: 1px solid #bbb; }
.encadre-corps { margin: 0; padding: 14px; font-size: 13px; line-height: 1.55; }
.encadre-corps p { margin: 0 0 .9em; }
.encadre-corps p:last-child { margin-bottom: 0; }
.encadre-pied { margin: 0; padding: 10px 14px 12px; border-top: 1px solid #ddd; font-size: 12px; color: var(--discret); line-height: 1.5; background: #f7f7f7; }
.discret { color: var(--discret); font-size: 12px; }
.puces { list-style: none; }
.puces li { position: relative; padding-left: 15px; margin-bottom: 8px; }
.puces li::before { content: ""; position: absolute; left: 1px; top: .68em; width: 5px; height: 5px; background: var(--orange); }
.mesures > div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dotted #aaa; }
.mesures > div:last-child { border-bottom: 0; }
.mesures dt { color: #444; }
.mesures dd { margin: 0; text-align: right; font-weight: bold; color: var(--encre); white-space: nowrap; }
.mesures dd i { font-weight: normal; font-style: normal; color: var(--discret); font-size: 11px; }
.mesures-doubles dd { white-space: normal; min-width: 108px; }
.mesures-doubles dd b { color: var(--orange-sombre); }

/* Cartes de complément. */
.carte { border: 1px solid #ccc; border-top: 3px solid var(--orange); background: #fff; }
.carte h3 { margin: 0; padding: 12px 16px 8px; font-size: 27px; line-height: 1.12; }
.carte p { margin: 0; padding: 4px 16px 16px; font-size: 14px; }
.nuancier { display: flex; flex-wrap: wrap; gap: 16px; padding: 0 16px 16px; font: 11px/1.3 Monaco, monospace; color: #444; }
.nuancier span { display: grid; justify-items: start; gap: 3px; }
.nuancier i { width: 58px; height: 28px; background: var(--t); border: 1px solid #777; }
.nuancier small { font-family: var(--sans); color: var(--discret); }

/* Plan : la fenêtre Platinum reste, mais peut être parcourue sur petit écran. */
.plan { margin: 34px 0 0; border: 1px solid #777; background: #fff; overflow-x: auto; box-shadow: 2px 2px 0 #ccc; }
.plan-titre { position: sticky; left: 0; margin: 0; min-width: 100%; height: 24px; font: bold 12px/24px var(--sans); color: #000; text-align: center; background: repeating-linear-gradient(#f4f4f4 0 1px, #ccc 1px 2px); border-bottom: 1px solid #777; }
.plan-titre span { background: #e5e5e5; padding: 0 8px; }
.plan svg { width: 100%; height: auto; display: block; padding: 12px; }
.plan-noyau { fill: #d9d9d9; stroke: #555; }
.plan-groupe { fill: #f3f6fc; stroke: var(--g3); }
.plan-boite { fill: url(#platinum); stroke: #555; }
.plan-bande { fill: #dfe8f8; stroke: #6f8fc9; }
.plan-fichier { fill: #fff; stroke: #888; stroke-dasharray: 2 2; }
.plan-prevu { fill: #fff; stroke: #888; stroke-dasharray: 5 4; }
.plan-root { fill: #fff1d0; stroke: #a8740f; }
.plan-serveur { fill: url(#myrtille); stroke: var(--g3-sombre); }
.plan-libelle { font: 600 15px var(--serif); fill: #000; }
.plan-sous { font: 10px var(--sans); fill: #444; }
.plan-titre-groupe { font: bold 10px var(--sans); fill: var(--g3-sombre); letter-spacing: .06em; text-transform: uppercase; }
.plan-fleche { font: 9.5px var(--sans); fill: #333; }
.plan-clair { fill: #fff; }
.plan-sous.plan-clair { fill: #e3ecfb; }
.plan-flux path { stroke: #333; stroke-width: 1.3; fill: none; }
.plan-flux-prevu path { stroke: #888; stroke-width: 1.1; stroke-dasharray: 4 3; fill: none; }
.plan figcaption { position: sticky; left: 0; min-width: 100%; padding: 10px 14px 12px; border-top: 1px solid #ccc; font-size: 12px; color: #444; text-align: center; background: #f4f4f4; }
.legende { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; margin-top: 5px; }
.legende i { display: inline-block; width: 18px; height: 10px; margin-right: 4px; vertical-align: -1px; border: 1px solid #555; }

/* Captures et annonces. */
.mur { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 22px; }
.mur figure, .annonces figure { margin: 0; cursor: zoom-in; }
.mur img { width: 100%; border: 1px solid #888; box-shadow: 2px 2px 0 #ccc; }
.mur figcaption { margin-top: 8px; font-size: 13px; font-weight: bold; text-align: center; color: #333; }
.mur figure:hover figcaption { color: var(--orange-sombre); text-decoration: underline; }
.annonces { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.annonces img { width: 100%; border: 1px solid #999; }

/* Feuille de route. */
.route { width: 100%; border-collapse: collapse; border: 1px solid #999; font-size: 14px; background: #fff; }
.route thead th { padding: 8px 12px; font: bold 12px var(--sans); text-align: left; color: #fff; background: linear-gradient(#888, #555); border-bottom: 1px solid #555; }
.route tbody th { padding: 12px; font: 600 22px var(--serif); color: var(--encre); vertical-align: top; text-align: left; width: 70px; }
.route td, .route tbody th { padding: 12px; vertical-align: top; border-top: 1px solid #ccc; }
.route tbody tr:nth-child(even) { background: #f5f5f5; }
.route td:last-child { width: 110px; }
.etat { display: inline-block; padding: 2px 9px; font: bold 11px/1.6 var(--sans); border: 1px solid #888; color: #444; background: linear-gradient(#fff, #ddd); white-space: nowrap; }
.fait .etat { background: linear-gradient(#eef7e8, #cee2bd); border-color: #688453; color: #29451a; }
.encours .etat { background: linear-gradient(var(--orange-clair), var(--orange)); border-color: var(--orange-sombre); color: #fff; }

/* Visionneuse Platinum. */
.lecteur { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 18px; background: rgba(40,40,60,.58); }
.lecteur[hidden] { display: none; }
.lecteur-fenetre { margin: 0; max-width: min(1400px, 100%); background: #ddd; border: 1px solid #000; box-shadow: 3px 3px 0 rgba(0,0,0,.45); cursor: default; }
.lecteur-titre { position: relative; height: 22px; padding: 0 30px; text-align: center; font: bold 12px/22px var(--sans); color: #000; background: repeating-linear-gradient(#eee 0 1px, #bbb 1px 2px); border-bottom: 1px solid #000; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.lecteur-titre span { background: #ddd; padding: 0 6px; }
.lecteur-fermer { position: absolute; left: 7px; top: 4px; width: 13px; height: 13px; padding: 0; border: 1px solid #000; background: linear-gradient(135deg, #fff, #bbb); cursor: pointer; }
.lecteur-fermer:active { background: #888; }
.lecteur-fenetre img { max-height: calc(100vh - 115px); width: auto; margin: 7px auto; border: 1px solid #000; }
.lecteur-fenetre figcaption { padding: 0 12px 9px; font-size: 13px; color: #333; text-align: center; }

/* Pied de page. */
.pied { border-top: 1px solid #999; background: #f5f5f5; }
.pied-corps { padding-block: 28px 32px; font-size: 12px; line-height: 1.6; color: #666; text-align: center; }
.pied-corps p { max-width: 980px; margin: 0 auto 12px; }
.pied-liens { font-size: 13px; color: #666; }
.pied-liens::before { content: "[ "; }
.pied-liens::after { content: " ]"; }
.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 12px 0 18px; list-style: none; padding: 0; }
.badges li { display: grid; grid-template-columns: 30px 1fr; width: 88px; height: 31px; border: 1px solid #555; background: #fff; font: bold 8px/1.1 Verdana, var(--sans); color: #000; text-align: center; overflow: hidden; }
.badges b { display: grid; place-items: center; color: #fff; font-size: 9px; background: var(--fond, #666); border-right: 1px solid #555; }
.badges span { display: grid; place-items: center; padding: 0 2px; background: linear-gradient(#fff, #ddd); }
.maj { font-size: 11px; color: #777; }

/* Les écrans 2K gagnent aussi en largeur de lecture et en corps de texte. */
@media (min-width: 1800px) {
  :root { --largeur: 1440px; }
  body { font-size: 16px; }
  .onglets a { font-size: 13px; }
  .chapeau { font-size: 18px; }
  .vignette p, .carte p { font-size: 15px; }
  .encadre-corps { font-size: 14px; }
  .route { font-size: 15px; }
}

/* Tablettes et petits portables. */
@media (max-width: 1080px) {
  body { font-size: 14px; }
  .entete-corps { flex-direction: column; align-items: stretch; gap: 10px; }
  .marque { align-self: flex-start; padding-bottom: 0; }
  .onglets { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .onglets a { padding-inline: 6px; white-space: normal; }
  .affiche { grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); gap: 32px; }
  .vignettes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .colonnes { grid-template-columns: minmax(0, 1fr) 285px; gap: 30px; }
}

@media (max-width: 800px) {
  .sous-barre-corps { align-items: flex-start; flex-direction: column; gap: 4px; }
  .affiche { grid-template-columns: 1fr; gap: 24px; padding-top: 32px; }
  .affiche-texte { grid-column: 1; grid-row: 1; max-width: 650px; }
  .affiche-image { grid-column: 1; grid-row: 2; }
  .affiche-texte h1 { font-size: clamp(42px, 9vw, 62px); }
  .chapeau { max-width: 650px; }
  .colonnes, .colonnes-egales { grid-template-columns: 1fr; gap: 24px; }
  .texte-courant { max-width: none; }
  .encadre { max-width: none; }
  .mur { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan svg { min-width: 720px; }
}

/* Téléphones : contenu sur une colonne, sans rétrécir le texte. */
@media (max-width: 540px) {
  :root { --gouttiere: 17px; }
  html { scroll-padding-top: 12px; }
  body { font-size: 15px; line-height: 1.58; }
  .entete-corps { padding-top: 14px; gap: 12px; }
  .marque { font-size: 32px; }
  .marque svg { width: 27px; height: 27px; }
  .onglets { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; }
  .onglets a { min-height: 36px; display: grid; place-items: center; padding: 5px 3px; border-bottom: 1px solid #888; border-radius: 4px; font-size: 11px; }
  .sous-liens { gap: 3px 7px; }
  .sous-liens a + a::before { margin-right: 7px; }
  .affiche { padding: 28px 0 30px; }
  .affiche-texte h1 { font-size: clamp(40px, 12vw, 54px); }
  .chapeau { margin-top: 17px; font-size: 15px; }
  .fleches { gap: 7px; margin-top: 20px; }
  .fleches a, .fleches a:visited { padding: 7px 12px; white-space: normal; }
  .vignettes, .mur, .annonces { grid-template-columns: 1fr; }
  .vignettes { gap: 28px; padding-bottom: 34px; }
  .vignette h2 { font-size: 27px; }
  .vignette p { font-size: 15px; }
  .rubrique { padding: 34px 0 38px; }
  .titre-rubrique { font-size: clamp(32px, 9vw, 40px); margin-bottom: 20px; }
  .depeches li { grid-template-columns: 1fr; gap: 3px; padding: 16px 0; }
  .depeches time { margin-top: 0; }
  .depeches h3 { font-size: 24px; }
  .encadre-corps { font-size: 14px; }
  .mesures > div { align-items: flex-start; }
  .carte p { font-size: 15px; }
  .mur { gap: 24px; }
  .route thead { display: none; }
  .route, .route tbody, .route tr, .route th, .route td { display: block; width: auto !important; }
  .route { border: 0; }
  .route tr { margin-bottom: 14px; padding: 10px 13px; border: 1px solid #bbb; }
  .route tbody th, .route td { border: 0; padding: 3px 0; }
  .route tbody th { font-size: 26px; }
  .route td:last-child { padding-top: 8px; }
  .lecteur { padding: 8px; }
  .pied-corps { text-align: left; }
  .badges { justify-content: flex-start; }
}
