/* lebriefing.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 { list-style: none; margin: .3rem 0 0; padding: 0; max-width: 52em; display: flex; flex-direction: column; gap: 0; }
.ed-trois li { display: grid; grid-template-columns: 3.2rem minmax(0, 1fr); gap: 1rem; align-items: start; padding-block: 1rem; border-top: 1px solid var(--filet); }
.ed-trois li:first-child { border-top: 2px solid var(--encre); }
.ed-trois .t3-num { font-family: var(--f-titre); font-size: 2.8rem; line-height: .9; color: var(--or); text-align: center; }
.ed-trois .t3-txt { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.ed-trois .t3-titre { margin: 0; text-align: left; hyphens: manual; font-family: var(--f-titre); font-weight: 400; font-size: clamp(1.15rem, 2.4vw, 1.4rem); line-height: 1.2; color: var(--encre); text-wrap: balance; }
.ed-trois .t3-corps { margin: 0; font-size: 1rem; line-height: 1.55; color: var(--texte); }
@media (max-width: 600px) { .ed-trois li { grid-template-columns: 2.2rem minmax(0, 1fr); gap: .7rem; } .ed-trois .t3-num { font-size: 2.1rem; } }

/* Dates clés sur téléphone : une ligne par date, en une colonne (3 novembre 2026) */
@media (max-width: 600px) {
  .ed-dates, .ed-dates tbody, .ed-dates tr, .ed-dates th, .ed-dates td { display: block; width: auto; }
  .ed-dates tr { border-top: 1px solid var(--filet); padding: .5rem 0; }
  .ed-dates th, .ed-dates td { border-top: 0; padding: .1rem 0; }
}

/* Fiches de décision (piste A, 3 novembre 2026) : marge de repères à gauche, texte à droite, filet de la couleur de l’étiquette */
.f-fiches { display: flex; flex-direction: column; gap: .9rem; margin-top: .6rem; }
.f-fiche { display: grid; grid-template-columns: 10.5rem minmax(0, 1fr); background: #fff; border: 1px solid var(--filet, #d9d5c9); border-left: 5px solid var(--c); border-radius: 4px; overflow: hidden; }
.f-marge { background: color-mix(in srgb, var(--c) 7%, #fff); padding: 1rem .9rem; display: flex; flex-direction: column; gap: .7rem; border-right: 1px solid var(--filet, #d9d5c9); }
.f-chiffre { font-family: var(--f-titre); font-size: 1.6rem; line-height: 1.05; color: var(--c); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.f-chiffre small { display: block; margin-top: .35rem; font-family: var(--f-texte); font-size: .74rem; font-weight: 600; line-height: 1.3; color: var(--doux, #5d6677); }
.f-lbl { font-size: .64rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--doux, #5d6677); margin-bottom: .25rem; }
.f-fonctions { display: flex; flex-wrap: wrap; gap: .25rem; }
.f-fonctions span { font-size: .7rem; font-weight: 700; color: var(--encre); border: 1px solid var(--encre); border-radius: 3px; padding: .05rem .35rem; }
.f-horizon { font-size: .85rem; font-weight: 700; color: var(--encre); }
.f-impact { display: flex; gap: .25rem; margin-top: .2rem; }
.f-impact i { width: .65rem; height: .65rem; border-radius: 50%; border: 1.5px solid var(--c); }
.f-impact i.on { background: var(--c); }
.f-corps { padding: 1rem 1.2rem; display: flex; flex-direction: column; gap: .55rem; min-width: 0; }
.f-corps h4 { margin: 0; font-size: 1.05rem; line-height: 1.3; color: var(--encre); text-wrap: balance; }
.f-corps p { margin: 0; }
.f-retenir { padding: .55rem .75rem; background: #fbefb5; border-radius: 3px; font-weight: 600; color: var(--encre); text-align: left !important; }
.f-retenir b { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--or); margin-right: .35rem; }
@media (max-width: 620px) {
  .f-fiche { grid-template-columns: minmax(0, 1fr); }
  .f-marge { border-right: 0; border-bottom: 1px solid var(--filet, #d9d5c9); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .6rem 1rem; }
  .f-chiffre { grid-column: 1 / -1; }
}
.f-sig { font-size: .72rem !important; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--doux, #5d6677); text-align: left !important; }
.f-corps .ed-om { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: .6rem; }
.f-corps blockquote { margin: 0; }
.f-corps .ed-liens { font-size: .85rem; text-align: left; }
.cartouche { display: inline-block; background: #9c7400; color: #fff; font-weight: 700; font-size: .85rem; padding: .2rem .6rem; border-radius: 3px; margin-top: .3rem; }
.f-impact i.demi { background: linear-gradient(90deg, var(--c) 50%, transparent 50%); }
.cartouche { background: transparent; color: #9c7400; border: 1.5px solid #9c7400; }
@media (max-width: 640px) { .f-marge .f-bloc:has(.f-fonctions) { grid-column: 1 / -1; } }

/* Sommaire interactif collant, version mobile (4 novembre 2026, 1 h 35) */
.ed-nav { display: none; }
@media (max-width: 760px) {
  .ed-nav { display: flex; gap: .4rem; position: sticky; top: 0; z-index: 20; margin-inline: calc(-1 * max(16px, env(safe-area-inset-left, 0px))); padding: calc(.55rem + env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) .55rem max(16px, env(safe-area-inset-left, 0px)); background: var(--fond, #f5f2ea); border-bottom: 1px solid var(--filet, #d9d5c9); overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .ed-nav::-webkit-scrollbar { display: none; }
  .ed-nav a { flex: none; display: inline-flex; align-items: center; gap: .3rem; padding: .4rem .7rem; border: 1px solid var(--encre, #0c2340); border-radius: 999px; font-size: .85rem; font-weight: 700; color: var(--encre, #0c2340); text-decoration: none; white-space: nowrap; background: #fff; }
  .ed-nav a b { font-family: "Archivo Black", sans-serif; font-weight: 400; color: var(--or, #9c7400); }
  .ed-nav a.actif { background: var(--encre, #0c2340); color: #fff; }
  .ed-nav a.actif b { color: #d6a935; }
  .ed-rub, #haut { scroll-margin-top: 3.6rem; }
}

/* Signature sous le nom, sur une ligne (4 novembre 2026) */
.edition .mini-une { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: .25rem; }
.edition .mini-une .s { white-space: nowrap; font-size: clamp(.8rem, 3.6vw, .95rem); }

/* Repères mieux distingués : Cible, Horizon, Impact séparés par un filet (4 novembre 2026, 2 h) */
.f-marge .f-bloc { padding-top: .55rem; border-top: 1px solid color-mix(in srgb, var(--c) 30%, transparent); }
.f-lbl { color: var(--c); font-size: .66rem; margin-bottom: .35rem; }
.f-horizon { font-size: .95rem; }
.f-impact i { width: .75rem; height: .75rem; }
@media (max-width: 620px) {
  .f-marge { gap: 0 1rem; }
  .f-marge .f-chiffre { padding-bottom: .55rem; }
  .f-marge .f-bloc { padding-block: .55rem; }
}
/* Valeurs d'Horizon et d'Impact sur la même ligne (4 novembre 2026, 2 h) */
.f-horizon, .f-impact { display: flex; align-items: center; min-height: 1.5rem; margin-top: 0; line-height: 1.2; }
.f-impact { gap: .25rem; }

/* Partage (4 novembre 2026) : boutons à pictogramme, feuille de partage native sur téléphone, copie du lien */
.ed-partage { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .3rem; }
.ed-partage .partage, .ed-partage .partage-natif { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.9rem; padding: .55rem 1rem; border-radius: 999px; border: 1px solid var(--or-clair); background: transparent; color: #fff; font: inherit; font-weight: 700; font-size: .92rem; text-decoration: none; cursor: pointer; }
.ed-partage .partage:hover, .ed-partage .partage:focus-visible { background: rgba(214,169,53,.15); }
.ed-partage .partage-natif { background: var(--or-clair); color: var(--marine); border-color: var(--or-clair); }
.ed-partage .partage-natif[hidden] { display: none; }
.ed-partage svg { width: 1.15rem; height: 1.15rem; fill: currentColor; flex: none; }
.ed-partage .partage-pdf { border-style: dashed; }
.partage-retour { min-height: 1.2em; margin: 0; font-size: .85rem; color: var(--or-clair); }
.lien-partager { font-weight: 700; }
@media (max-width: 600px) { .ed-partage .partage span { font-size: .88rem; } }

/* « Le contenu de lebriefing.ai » dans l'édition (4 novembre 2026) */
.ed-contenu { border-top: 1px solid var(--encre); padding-block: 1.6rem 1.4rem; }
.ed-contenu .som-rubriques .t a { color: inherit; text-decoration: none; }
.ed-contenu .som-rubriques .t a:hover { color: var(--or); }
.ed-tete .chiffres { max-width: none; flex: 1 1 100%; }
