/* OpesC : le quotidien économique sur papier saumon (15 octobre 2026, refait le soir même), toujours clair */
:root {
  --saumon: #fbe9dc; --saumon-fonce: #f3d6c2; --encre: #1f1a17; --gris: #6b5d54; --filet: #d9b9a3;
  --bordeaux: #8c1d2c; --bleu: #1d4f7a; --hausse: #2f7a43;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--saumon); color: var(--encre); font: 400 1.03rem/1.7 'Spline Sans', system-ui, sans-serif; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--encre); text-underline-offset: .18em; }
h1, h2, h3, h4 { font-family: 'Old Standard TT', Georgia, serif; font-weight: 700; line-height: 1.12; color: var(--encre); }
.sauter { position: absolute; left: -999px; }
.sauter:focus { left: 1rem; top: 1rem; background: var(--saumon-fonce); padding: .5rem 1rem; z-index: 9; }
.cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.surtitre { display: block; font: 700 .74rem/1.2 'Roboto Condensed', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--bordeaux); text-decoration: none; margin-bottom: .3rem; }

/* la manchette */
.manchette { max-width: 1180px; margin: 0 auto; padding: .6rem 1rem 0; text-align: center; }
.manchette__haut { display: flex; justify-content: space-between; gap: 1rem; margin: 0; padding-bottom: .4rem; border-bottom: 1px solid var(--encre); font: 500 .78rem/1.2 'Roboto Condensed', sans-serif; text-transform: uppercase; letter-spacing: .08em; color: var(--gris); }
.manchette__titre { display: block; margin: .3rem 0 0; font: 400 clamp(3.2rem, 9vw, 5.6rem)/1 'UnifrakturMaguntia', serif; color: var(--encre); text-decoration: none; }
.manchette__devise { margin: .2rem 0 .7rem; font: italic 400 1.05rem/1.3 'Old Standard TT', serif; color: var(--gris); }
.manchette__rubriques { display: flex; flex-wrap: wrap; justify-content: center; border-top: 3px double var(--encre); border-bottom: 1px solid var(--encre); }
.manchette__rubriques a { padding: .55rem .9rem; font: 700 .82rem/1 'Roboto Condensed', sans-serif; text-transform: uppercase; letter-spacing: .08em; text-decoration: none; border-right: 1px solid var(--filet); }
.manchette__rubriques a:last-child { border-right: 0; }
.manchette__rubriques a:hover, .manchette__rubriques a[aria-current] { color: var(--bordeaux); }

/* le bandeau des cotations */
.cotations { max-width: 1180px; margin: 0 auto; overflow: hidden; border-bottom: 1px solid var(--encre); background: var(--saumon-fonce); }
.cotations__rail { display: flex; width: max-content; animation: defile 70s linear infinite; }
.cotations:hover .cotations__rail { animation-play-state: paused; }
.cotations__rail a { display: inline-flex; gap: .5rem; align-items: baseline; padding: .45rem 1.4rem; font-size: .84rem; white-space: nowrap; text-decoration: none; border-right: 1px solid var(--filet); }
.cotations__rail b { font: 700 .82rem/1 'Roboto Condensed', sans-serif; color: var(--hausse); }
.cotations__rail b::after { content: " ▲"; font-size: .7em; }
@keyframes defile { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .cotations__rail { animation: none; } }

main { max-width: 1180px; margin: 0 auto; padding: 0 1rem 3rem; }

/* la une */
.une { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 0; margin-top: 1.4rem; border-bottom: 3px double var(--encre); padding-bottom: 1.4rem; }
.une__principal { padding-right: 1.6rem; }
.une__img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; filter: sepia(.12); }
.une__principal .surtitre { margin-top: .9rem; }
.une__principal h2 { margin: 0 0 .6rem; font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
.une__principal h2 a { text-decoration: none; }
.une__principal h2 a:hover { text-decoration: underline; }
.une__chapo { margin: 0 0 .5rem; font: 400 1.15rem/1.55 'Old Standard TT', serif; }
.une__m { margin: 0; font: 500 .8rem/1 'Roboto Condensed', sans-serif; color: var(--gris); text-transform: uppercase; letter-spacing: .06em; }
.une__breves { border-left: 1px solid var(--encre); padding-left: 1.4rem; }
.une--cahier { grid-template-columns: 1fr; }
.une--cahier .une__principal { padding-right: 0; max-width: 820px; }

/* colonnes et filets */
.colonne__titre { margin: 0 0 .6rem; padding-bottom: .35rem; border-bottom: 2px solid var(--encre); font: 700 .95rem/1.2 'Roboto Condensed', sans-serif; text-transform: uppercase; letter-spacing: .1em; }
.colonne__titre a { text-decoration: none; }
.filets { list-style: none; margin: 0; padding: 0; }
.filet { display: grid; grid-template-columns: 96px 1fr; gap: .8rem; align-items: start; padding: .75rem 0; border-bottom: 1px solid var(--filet); text-decoration: none; }
.filets li:last-child .filet { border-bottom: 0; }
.filet__img { width: 96px; height: 72px; overflow: hidden; background: var(--saumon-fonce); }
.filet__img img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.12); }
.filet__t { display: block; font: 700 1.05rem/1.28 'Old Standard TT', serif; overflow-wrap: anywhere; }
.filet__m { display: block; margin-top: .25rem; font: 500 .74rem/1 'Roboto Condensed', sans-serif; color: var(--gris); text-transform: uppercase; letter-spacing: .05em; }
.filet:hover .filet__t { text-decoration: underline; }

/* les pages intérieures */
.interieur { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 1.6rem; }
.colonne { padding: 0 1.2rem 1.6rem; border-left: 1px solid var(--filet); }
.colonne:nth-child(3n + 1) { border-left: 0; padding-left: 0; }
.colonne:nth-child(3n) { padding-right: 0; }
.colonne__suite { display: inline-block; margin-top: .4rem; font: 700 .78rem/1 'Roboto Condensed', sans-serif; text-transform: uppercase; letter-spacing: .06em; color: var(--bordeaux); }

/* le cahier (rubrique) */
.cahier { margin: 1.6rem 0 0; padding-bottom: .8rem; border-bottom: 3px double var(--encre); text-align: center; }
.cahier__code { margin: 0; font: 700 .85rem/1 'Roboto Condensed', sans-serif; letter-spacing: .2em; color: var(--hausse); }
.cahier h1 { margin: .3rem 0 .3rem; font-size: clamp(2rem, 5vw, 3.2rem); }
.cahier p:last-child:not(.cahier__code) { margin: 0 auto; max-width: 720px; color: var(--gris); }
.cahier__suite .filets { columns: 2 340px; column-gap: 2.4rem; column-rule: 1px solid var(--filet); }
.cahier__suite .filets li { break-inside: avoid; }
.cahier__suite { margin-top: 1.4rem; }

/* le papier (article) */
.papier { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 2.4rem; margin-top: 1.8rem; }
.papier--seul { grid-template-columns: minmax(0, 760px); justify-content: center; }
.papier__tete { border-bottom: 1px solid var(--encre); padding-bottom: .8rem; margin-bottom: 1.2rem; }
.papier__tete h1 { margin: .2rem 0 .6rem; font-size: clamp(1.9rem, 4vw, 2.9rem); overflow-wrap: anywhere; }
.papier__m { margin: 0; font: 500 .82rem/1.4 'Roboto Condensed', sans-serif; color: var(--gris); text-transform: uppercase; letter-spacing: .05em; }
.papier__img { margin: 0 0 1.4rem; }
.papier__img img { width: 100%; filter: sepia(.1); }
.papier__img figcaption { margin-top: .35rem; font: italic 400 .88rem/1.4 'Old Standard TT', serif; color: var(--gris); }
.papier__texte { overflow-wrap: anywhere; font-size: 1.06rem; }
.papier__texte > p:first-of-type::first-letter { float: left; margin: .08em .08em 0 0; font: 700 3.6em/.8 'Old Standard TT', serif; color: var(--bordeaux); }
.papier__texte--sans-lettrine > p:first-of-type::first-letter { float: none; font: inherit; color: inherit; margin: 0; }
.papier__texte h2 { font-size: 1.6rem; margin: 2rem 0 .6rem; }
.papier__texte h3 { font-size: 1.25rem; margin: 1.5rem 0 .5rem; color: var(--bleu); }
.papier__texte table { width: 100%; border-collapse: collapse; margin: 1.2rem 0; font-size: .93rem; display: block; overflow-x: auto; }
.papier__texte th, .papier__texte td { border-bottom: 1px solid var(--filet); padding: .5rem .6rem; text-align: left; vertical-align: top; }
.papier__texte th { border-bottom: 2px solid var(--encre); font: 700 .85rem/1.3 'Roboto Condensed', sans-serif; text-transform: uppercase; letter-spacing: .04em; }
.papier__texte blockquote { margin: 1.4rem 0; padding: .2rem 0 .2rem 1.2rem; border-left: 3px solid var(--bordeaux); font: italic 400 1.15rem/1.5 'Old Standard TT', serif; }
.papier__marge { border-left: 1px solid var(--encre); padding-left: 1.4rem; align-self: start; position: sticky; top: 1rem; }

/* l'ours */
.ours { margin-top: 3rem; border-top: 3px double var(--encre); }
.ours__in { max-width: 1180px; margin: 0 auto; padding: 1.8rem 1rem 2rem; display: grid; grid-template-columns: 1fr; gap: .6rem; }
.ours__titre { margin: 0; font: 400 2.4rem/1 'UnifrakturMaguntia', serif; }
.ours__mot { margin: 0; max-width: 720px; color: var(--gris); font-size: .92rem; }
.ours__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1rem 2.4rem; margin-top: .6rem; }
.ours__label { margin: 0 0 .4rem; font: 700 .78rem/1 'Roboto Condensed', sans-serif; text-transform: uppercase; letter-spacing: .1em; color: var(--bordeaux); }
.ours ul { list-style: none; margin: 0; padding: 0; }
.ours li a { display: block; padding: .2rem 0; font-size: .92rem; }
.ours__an { margin: .8rem 0 0; font-size: .8rem; color: var(--gris); }

@media (max-width: 900px) {
  .une { grid-template-columns: 1fr; }
  .une__principal { padding-right: 0; }
  .une__breves { border-left: 0; padding-left: 0; margin-top: 1.4rem; }
  .interieur { grid-template-columns: 1fr; }
  .colonne { border-left: 0; padding: 0 0 1.4rem; }
  .papier { grid-template-columns: 1fr; }
  .papier__marge { border-left: 0; padding-left: 0; position: static; border-top: 2px solid var(--encre); padding-top: 1rem; }
}
