/* xaviers.ai — mise en page des éditions (complète style.css) */
:root { --people: #9c7400; --planet: #2f6b4f; --profit: #0c2340; --corporate: #a3271e; --vert-pale: #eef3ee; --rouge-pale: #f7ecea; }

.edition .page { max-width: 64rem; }
.edition p, .edition li { font-size: 1rem; line-height: 1.6; }
.ed-une { padding-block: 1.75rem .5rem; display: flex; flex-direction: column; gap: .9rem; }
.ed-ours { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; align-items: baseline; }
.ed-ours .hebdo { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--or); }
.ed-ours .doux { font-size: .9rem; color: var(--doux); }
.ed-une h1 { margin: 0; font-family: var(--f-titre); font-weight: 400; font-size: clamp(1.7rem, 4vw, 2.6rem); line-height: 1.12; color: var(--encre); max-width: 26em; }
.ed-chapeau { margin: 0; font-size: 1.15rem; line-height: 1.55; font-weight: 600; color: var(--encre); max-width: 44em; }
.ed-actions { display: flex; flex-wrap: wrap; gap: .7rem 1.2rem; align-items: center; margin-top: .35rem; }
.ed-actions a:not(.bouton) { font-weight: 700; }
.bouton-or { background: var(--or); color: var(--fond); }
.bouton-or:hover { background: #7f5f00; }
.bouton-clair { background: transparent; color: var(--encre); border: 1px solid var(--encre); }
.bouton-clair:hover { background: var(--fond); }
.bouton.sur-marine { background: var(--or-clair); color: var(--marine); }

.ed-tete { padding-block: 1.25rem 2rem; }
.ed-sommaire { flex: 1 1 28rem; min-width: 0; }
.ed-sommaire .rubriques { grid-template-columns: 1fr; }
.ed-sommaire .rubriques li:last-child { border-bottom: 1px solid var(--filet); }
.ed-sommaire a { color: var(--encre); text-decoration: none; }
.ed-sommaire a:hover { color: var(--or); }

.ed-rub { padding-block: 2rem 1.5rem; border-top: 1px solid var(--encre); }
.ed-titre { margin: 0 0 1rem; font-family: var(--f-titre); font-weight: 400; font-size: clamp(1.35rem, 3vw, 1.8rem); line-height: 1.15; color: var(--encre); display: flex; align-items: baseline; gap: .7rem; }
.ed-titre .num { color: var(--or); font-size: .95em; letter-spacing: .04em; }
.ed-titre .num.annexe { font-size: .65em; text-transform: uppercase; letter-spacing: .08em; }
.ed-intro { font-size: 1.06rem; color: var(--encre); font-weight: 600; max-width: 48em; }
.ed-bloc { margin-top: 1.25rem; }
.etiquette { margin: 0 0 .5rem; font-size: 1rem; font-weight: 700; color: var(--encre); display: flex; align-items: center; gap: .6rem; }
.etiquette span { display: inline-block; padding: .2rem .55rem; font-size: .72rem; letter-spacing: .12em; color: #fff; background: var(--c, var(--encre)); border-radius: 3px; }
.ed-faits { list-style: none; margin: 0; padding: 0; }
.ed-faits li { padding: .6rem 0; border-top: 1px solid var(--filet); max-width: 52em; }
.ed-faits li strong { color: var(--encre); }
.ed-dates { width: 100%; border-collapse: collapse; font-size: .95rem; }
.ed-dates th, .ed-dates td { text-align: left; vertical-align: top; padding: .5rem .8rem .5rem 0; border-top: 1px solid var(--filet); }
.ed-dates th { white-space: nowrap; color: var(--or); font-weight: 700; width: 7rem; }
.ed-dates td.doux { color: var(--doux); }

.ed-pub { padding: 1.1rem 0 .4rem; border-top: 1px solid var(--filet); max-width: 52em; }
.ed-pub h3 { margin: 0 0 .15rem; font-size: 1.15rem; font-weight: 700; color: var(--encre); line-height: 1.3; }
.signature { margin: 0 0 .6rem; font-size: .88rem; color: var(--doux); }
.ed-pdv { margin: .6rem 0; padding: .5rem 1rem; border-left: 3px solid var(--or); font-style: italic; color: var(--encre); }
.ed-pdv p { margin: 0; }
.ed-decryptage strong { color: var(--or); }
.ed-liens { font-size: .85rem; color: var(--doux); }
.ed-liens a { color: var(--or); }
.ed-egalement { margin-top: 1rem; font-size: .92rem; color: var(--doux); max-width: 52em; }

.ed-assistant { padding: 1.1rem 0 .4rem; border-top: 1px solid var(--filet); max-width: 52em; }
.ed-assistant .surtitre { margin: 0; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--or); }
.ed-assistant h3 { margin: .1rem 0 .5rem; font-size: 1.15rem; font-weight: 700; color: var(--encre); line-height: 1.3; }
.ed-om { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: .6rem; margin: .4rem 0 .6rem; }
.ed-om p { margin: 0; padding: .6rem .8rem; border-radius: 4px; font-size: .95rem; }
.ed-om .opp { background: var(--vert-pale); } .ed-om .opp strong { color: var(--planet); }
.ed-om .men { background: var(--rouge-pale); } .ed-om .men strong { color: var(--corporate); }
.ed-sous { margin: 1.5rem 0 .5rem; font-size: 1.1rem; font-weight: 700; color: var(--encre); }
.ed-applis { margin: 0; padding-left: 1.2rem; max-width: 52em; }
.ed-applis li { padding: .4rem 0; }

.ed-verbes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: 1rem; margin-top: 1rem; }
.ed-verbe { border: 1px solid var(--filet); border-left: 4px solid var(--or); background: var(--papier); padding: .9rem 1.1rem; }
.ed-verbe h3 { margin: 0 0 .5rem; font-family: var(--f-titre); font-weight: 400; font-size: 1.05rem; letter-spacing: .06em; color: var(--encre); }
.ed-verbe ul { margin: 0; padding: 0; list-style: none; }
.ed-verbe li { padding: .4rem 0; border-top: 1px solid var(--filet); font-size: .97rem; }
.ed-verbe li strong { color: var(--encre); }

.ed-tableau { overflow-x: auto; margin-top: .5rem; }
.ed-societes { width: 100%; min-width: 56rem; border-collapse: collapse; font-size: .9rem; }
.ed-societes th, .ed-societes td { text-align: left; vertical-align: top; padding: .55rem .6rem; border-top: 1px solid var(--filet); }
.ed-societes thead th { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--doux); border-top: 0; border-bottom: 1px solid var(--encre); }
.ed-societes tbody th { color: var(--encre); white-space: nowrap; }
.ed-societes td:nth-child(-n+5) { font-variant-numeric: tabular-nums; white-space: nowrap; }
.ed-societes td:last-child { min-width: 20rem; }
.ed-note { font-size: .85rem; color: var(--doux); margin-top: .8rem; }

.ed-cta { margin-top: 1.5rem; background: var(--marine); color: var(--sur-marine); border-radius: 10px; padding: 1.6rem 1.8rem; display: flex; flex-direction: column; gap: .8rem; }
.ed-cta h2 { margin: 0; font-family: var(--f-titre); font-weight: 400; font-size: 1.5rem; color: #fff; }
.ed-cta p { margin: 0; max-width: 48em; }
.ed-cta a { color: var(--or-clair); }
.ed-cta-boutons { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .3rem; }
.ed-cta-boutons .bouton { background: #fff; color: var(--marine); }
.ed-cta-boutons .bouton-or { background: var(--or-clair); color: var(--marine); }
.ed-cta-boutons .bouton-clair { background: transparent; color: #fff; border: 1px solid var(--or-clair); }
.ed-cta-note { font-size: .85rem; color: var(--sur-marine-doux); }
.ed-cta-note a { color: var(--or-clair); }

@media (max-width: 640px) {
  .ed-societes { min-width: 46rem; }
}

/* Boutons longs : retour à la ligne autorisé sur petit écran */
.ed-cta-boutons .bouton, .ed-actions .bouton { white-space: normal; text-align: center; height: auto; min-height: 3.2rem; padding: .7rem 1.2rem; line-height: 1.25; }
.ed-cta { padding: 1.4rem 1.2rem; }
@media (min-width: 640px) { .ed-cta { padding: 1.6rem 1.8rem; } }

.ed-trois { display: flex; flex-direction: column; gap: .4rem; }
.ed-trois .trois-points { margin: 0; padding-left: 1.4rem; max-width: 48em; display: flex; flex-direction: column; gap: .4rem; }
.ed-trois li { font-size: 1.02rem; }
.ed-trois li::marker { color: var(--or); font-weight: 700; }
