/* FiscaReady 2.5.2 — Dossier Signature Auto. Styles réservés au modèle d'article. */
.fr-article-signature, .fr-article-signature * { box-sizing: border-box; }
.fr-article-signature { background:#fff; padding:1px 0 clamp(64px,8vw,110px); }
.fr-article-signature__main { width:100%; max-width:none; margin:0; padding:0; }
.fr-article-signature__article { margin:0; padding:0; background:transparent; }

.fr-article-hero {
  display:grid;
  grid-template-columns:minmax(0,42fr) minmax(0,58fr);
  align-items:center;
  gap:clamp(26px,5.1vw,74px);
  width:min(1180px,calc(100% - 56px));
  margin:clamp(32px,5vw,76px) auto clamp(50px,6vw,92px);
}
.fr-article-hero__media { min-width:0; margin:0; }
.fr-article-hero__image {
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:4/5;
  object-fit:cover;
  border-radius:22px;
  box-shadow:0 22px 55px rgba(7,29,49,.16);
}
.fr-article-hero__copy { min-width:0; }
.fr-article-hero__eyebrow {
  margin:0 0 18px;
  font:800 .70rem/1.5 Manrope,Inter,system-ui,sans-serif;
  letter-spacing:.115em;
  text-transform:uppercase;
  color:#087e74;
}
.fr-article-hero__title {
  max-width:21ch;
  margin:0 0 22px;
  color:#10293d;
  font:800 clamp(2rem,3.3vw,3.6rem)/1.12 Manrope,Inter,system-ui,sans-serif;
  letter-spacing:-.045em;
  overflow-wrap:break-word;
}
.fr-article-hero__excerpt {
  max-width:58ch;
  margin:0 0 22px;
  color:#455f70;
  font:500 clamp(1rem,1.35vw,1.15rem)/1.75 Manrope,Inter,system-ui,sans-serif;
}
.fr-article-hero__anchor {
  display:inline-flex;
  gap:8px;
  align-items:center;
  padding-bottom:3px;
  border-bottom:1px solid currentColor;
  color:#087e74;
  font:800 .87rem/1.4 Manrope,Inter,system-ui,sans-serif;
  text-decoration:none;
}
.fr-article-hero__anchor:hover,
.fr-article-hero__anchor:focus-visible { color:#07584f; border-bottom-width:2px; }

/* Corps éditorial : largeur confortable sans tronquer les tableaux et les images. */
.fr-article-body.entry-content {
  width:min(860px,calc(100% - 56px));
  max-width:860px;
  margin:0 auto;
  padding:0;
  color:#243e50;
  font:500 1.02rem/1.9 Manrope,Inter,system-ui,sans-serif;
  overflow-wrap:anywhere;
  scroll-margin-top:115px;
}
.fr-article-body.entry-content > :first-child { margin-top:0; }
.fr-article-body.entry-content h2 {
  margin:2.6em 0 .85em;
  color:#10293d;
  font:800 clamp(1.55rem,2.4vw,2.1rem)/1.3 Manrope,Inter,system-ui,sans-serif;
  letter-spacing:-.025em;
}
.fr-article-body.entry-content h3 {
  margin:1.9em 0 .7em;
  color:#143c53;
  font:800 clamp(1.15rem,1.9vw,1.4rem)/1.4 Manrope,Inter,system-ui,sans-serif;
}
.fr-article-body.entry-content p,
.fr-article-body.entry-content ul,
.fr-article-body.entry-content ol { margin-bottom:1.4em; }
.fr-article-body.entry-content a { color:#087e74; text-underline-offset:3px; }
.fr-article-body.entry-content a:hover { color:#065e57; }
.fr-article-body.entry-content blockquote {
  margin:1.8em 0;
  padding:20px 25px;
  border-left:4px solid #0aa89a;
  background:#f4faf9;
  border-radius:0 12px 12px 0;
}
.fr-article-body.entry-content .wp-block-table { overflow-x:auto; max-width:100%; }
.fr-article-body.entry-content table {
  border-collapse:collapse;
  width:100%;
  min-width:480px;
  font-size:.9rem;
  line-height:1.65;
}
.fr-article-body.entry-content th,
.fr-article-body.entry-content td { padding:13px 15px; border:1px solid #dce6eb; text-align:left; }
.fr-article-body.entry-content th { background:#edf6f5; color:#153a4d; font-weight:800; }
.fr-article-body.entry-content img { max-width:100%; height:auto; }
.fr-article-body.entry-content .wp-block-button__link { color:#071d31; background:#ffbd3b; border-radius:12px; font-weight:800; }
.fr-article-body.entry-content .wp-block-button__link:hover { color:#071d31; background:#ffca59; }
.fr-article-pagination { margin-top:32px; }

@media (max-width:780px) {
  .fr-article-hero { grid-template-columns:minmax(0,1fr); gap:27px; width:min(620px,calc(100% - 32px)); margin:26px auto 48px; }
  .fr-article-hero__image { aspect-ratio:5/4; max-height:390px; }
  .fr-article-hero__title { max-width:none; font-size:clamp(1.85rem,7vw,2.7rem); }
  .fr-article-body.entry-content { width:min(620px,calc(100% - 32px)); font-size:1rem; line-height:1.8; }
}
@media (max-width:480px) {
  .fr-article-hero__image { border-radius:16px; }
  .fr-article-hero__eyebrow { margin-bottom:12px; }
  .fr-article-hero__title { margin-bottom:17px; }
  .fr-article-body.entry-content blockquote { padding:16px 18px; }
  .fr-article-body.entry-content th,
  .fr-article-body.entry-content td { padding:10px; }
}
@media (prefers-reduced-motion:reduce) {
  .fr-article-signature *, .fr-article-signature *::before, .fr-article-signature *::after { scroll-behavior:auto; transition:none; }
}

/* FiscaReady Dossier Signature v2.5 — premium visual editorial language.
 * Scoped to post singulars. Existing post_content, SEO metadata and URLs untouched.
 */
.frs-dossier {background: #fff; padding-bottom: 75px; color:#10293d}
.frs-dossier .fr-article-hero {margin-top:clamp(20px,3vw,40px);max-width:1320px;width:calc(100% - 64px);grid-template-columns:minmax(0,42fr) minmax(0,58fr);gap:clamp(24px,4.5vw,66px)}
.frs-hero__visual {background:linear-gradient(147deg,#09273b 0%,#0c3e4f 64%,#076c6a 100%);border-radius:22px;min-height:565px;box-shadow:0 28px 70px rgba(9,39,59,.16);overflow:hidden;display:flex;flex-direction:column;padding:24px 23px;color:#fff;position:relative}
.frs-hero__visual:before {content:"";position:absolute;border:1px solid rgba(255,255,255,.10);border-radius:50%;width:480px;height:480px;top:-180px;right:-320px;pointer-events:none}
.frs-hero__topline,.frs-hero__bottomline {position:relative;display:flex;justify-content:space-between;align-items:center;gap:12px;font:800 .66rem/1.5 Manrope,Arial,sans-serif;letter-spacing:.16em;text-transform:uppercase;color:#d6f6ee}
.frs-hero__bottomline {margin-top:auto;justify-content:flex-start;letter-spacing:.06em;color:#fff}
.frs-hero__photo {position:relative;flex:1;display:flex;align-items:center;justify-content:center;min-height:0;margin:18px -5px 20px}
.frs-hero__image {display:block;object-fit:contain;max-height:465px;max-width:100%;width:auto;height:auto;border-radius:10px;box-shadow:0 14px 45px rgba(0,0,0,.24)}
.frs-hero__visual--portrait .frs-hero__image {max-height:475px}
.frs-hero__visual--wide .frs-hero__image {width:100%;max-height:390px}
.frs-hero__fallback {display:flex;flex-direction:column;gap:9px;color:#def7f1;letter-spacing:.1em;font:800 1.55rem/1.2 Manrope,Arial,sans-serif;transform:rotate(-4deg)}
.frs-hero__fallback span {font-size:5rem;color:#e5bb58}
.frs-hero__copy .fr-article-hero__title {font-size:clamp(2rem,3.45vw,3.8rem);max-width:22ch}
.frs-hero__meta {display:flex;flex-wrap:wrap;gap:15px;margin:0 0 28px;color:#596d7a;font:700 .76rem/1.4 Manrope,Arial,sans-serif;letter-spacing:.04em}
.frs-kicker {color:#087e74;font:800 .67rem/1.5 Manrope,Arial,sans-serif;letter-spacing:.15em;text-transform:uppercase}
.frs-orientation {margin:18px auto 77px;padding:34px clamp(24px,4.5vw,66px) 40px;width:min(1160px,calc(100% - 64px));background:#f4f8f8;border-top:4px solid #0b897d;border-radius:14px;box-shadow:0 10px 38px rgba(9,39,59,.05)}
.frs-orientation__top {display:flex;justify-content:space-between;gap:18px;align-items:center;margin-bottom:24px}.frs-orientation__edition {font-size:.73rem;color:#738692}
.frs-orientation h2 {font:800 clamp(1.35rem,2.4vw,2.05rem)/1.24 Manrope,Arial,sans-serif;color:#10293d;max-width:710px;margin:0 0 27px;letter-spacing:-.025em}
.frs-chapters {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid #d9e7e5;border-left:1px solid #d9e7e5}
.frs-chapters__entry {display:grid;grid-template-columns:26px 1fr 20px;gap:10px;align-items:start;padding:17px 16px;text-decoration:none;border-right:1px solid #d9e7e5;border-bottom:1px solid #d9e7e5;color:#152f42;background:#fff;min-height:75px;transition:background .16s ease}
.frs-chapters__entry:hover,.frs-chapters__entry:focus-visible{color:#006b62;background:#ebf8f5}
.frs-chapters__entry span:first-child {font-weight:800;color:#098a7d;font-size:.85rem}.frs-chapters__entry strong {font:700 .9rem/1.5 Manrope,Arial,sans-serif}
.frs-lens {margin-top:24px;display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}
.frs-lens p {margin:0;font:700 .8rem/1.5 Manrope,Arial,sans-serif}.frs-lens small {display:block;color:#71838c;font-weight:400;font-size:.7rem}
.frs-lens__row {display:flex;flex-wrap:wrap;gap:7px}.frs-lens__row span {border:1px solid #c3deda;border-radius:999px;padding:6px 10px;color:#126c63;font-size:.74rem;font-weight:800;background:#fff}
.frs-content-heading {display:flex;justify-content:space-between;gap:12px;width:min(860px,calc(100% - 64px));margin:0 auto 29px;padding:0 0 10px;border-bottom:2px solid #143c53;color:#087e74;font:800 .7rem/1.4 Manrope,Arial,sans-serif;letter-spacing:.13em}
.frs-editorial-content {counter-reset:frs-section}
.frs-editorial-content h2 {position:relative;counter-increment:frs-section;padding-top:38px!important;border-top:1px solid #dce5e7;scroll-margin-top:105px}
.frs-editorial-content h2:before {content:"CHAPITRE " counter(frs-section,decimal-leading-zero);position:absolute;top:11px;left:0;color:#078477;font:800 .66rem/1.2 Manrope,Arial,sans-serif;letter-spacing:.14em}
.frs-editorial-content h3 {border-left:3px solid #0aa89a;padding-left:16px}
.frs-editorial-content ul.frs-checklist {list-style:none;padding:19px 22px 11px;margin:20px 0 28px;background:#f4faf8;border:1px solid #cbe2de;border-radius:12px}
.frs-editorial-content ul.frs-checklist li {position:relative;padding:0 0 0 33px;margin-bottom:14px}
.frs-editorial-content ul.frs-checklist li:before {content:"✓";position:absolute;left:0;top:1px;color:#068473;border:1px solid #a1cfc7;border-radius:6px;padding:0 5px;font-weight:800;line-height:1.25;background:#fff}
.frs-editorial-content p.frs-highlight {background:linear-gradient(100deg,#ebf7f4,#f7fbfb);border-left:4px solid #068473;padding:19px 23px;border-radius:0 10px 10px 0;color:#133b48}
.frs-editorial-content figure,.frs-editorial-content .wp-block-image {margin:28px auto 35px}
.frs-editorial-content table {box-shadow:0 12px 40px rgba(8,51,60,.06)}
.frs-editorial-content tr:nth-child(even) td {background:#f8fbfb}
.frs-editorial-content img {border-radius:9px}
.frs-references {width:min(860px,calc(100% - 64px));margin:60px auto;padding:27px 32px;background:#f6f9f9;border-left:4px solid #068473;border-radius:0 13px 13px 0}
.frs-references h2 {font:800 1.4rem/1.35 Manrope,Arial,sans-serif;color:#16374b;margin:11px 0}
.frs-references p {font-size:.85rem;color:#506574;margin:0 0 16px;line-height:1.65}
.frs-references ul {display:flex;gap:9px;flex-wrap:wrap;list-style:none;margin:0;padding:0}
.frs-references a {display:inline-flex;padding:8px 11px;border:1px solid #bedad4;background:white;color:#00685f;border-radius:7px;font-weight:700;text-decoration:none}
.frs-next-step {display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:33px;background:#082b3f;color:#fff;width:min(1030px,calc(100% - 64px));margin:75px auto 15px;border-radius:17px;padding:clamp(27px,4vw,48px)}
.frs-next-step .frs-kicker{color:#9fe6d7}.frs-next-step h2{color:#fff;font:800 clamp(1.45rem,2.5vw,2.3rem)/1.2 Manrope,Arial,sans-serif;margin:11px 0 14px;letter-spacing:-.025em}
.frs-next-step p {color:#d3e1e8;line-height:1.7;margin:0;max-width:55ch;font-size:.95rem}
.frs-next-step a {background:#ffbd3b;color:#071d31;padding:15px 20px;border-radius:9px;text-decoration:none;white-space:nowrap;font-weight:800;font-size:.86rem}
.frs-next-step a:hover,.frs-next-step a:focus-visible{background:#ffd16d;color:#071d31}
@media (max-width:940px){.frs-dossier .fr-article-hero{width:calc(100% - 38px);gap:24px}.frs-hero__visual{min-height:470px}.frs-hero__copy .fr-article-hero__title{font-size:clamp(1.9rem,3.2vw,2.7rem)}}
@media (max-width:780px){.frs-dossier .fr-article-hero{grid-template-columns:1fr;width:calc(100% - 30px);gap:25px}.frs-hero__visual{min-height:360px;padding:16px}.frs-hero__photo{margin:14px 0;min-height:225px}.frs-hero__image{max-height:335px}.frs-hero__visual--wide .frs-hero__image{max-height:280px}.frs-orientation{width:calc(100% - 30px);margin-bottom:51px;padding:23px}.frs-chapters{grid-template-columns:1fr}.frs-next-step{grid-template-columns:1fr}.frs-content-heading,.frs-references,.frs-next-step{width:calc(100% - 30px)}.frs-editorial-content{width:calc(100% - 30px)!important}.frs-orientation__edition{display:none}}
@media (max-width:480px){.frs-hero__visual{min-height:300px}.frs-hero__photo{min-height:185px}.frs-chapters__entry{padding:12px}.frs-next-step{padding:25px}.frs-hero__copy .fr-article-hero__title{font-size:1.9rem}}
@media (prefers-reduced-motion:reduce){.frs-dossier *{transition:none!important}}

/* v2.5.1 — Le sommaire révèle aussi les sections supplémentaires, sans surcharge initiale. */
.frs-chapters-more { grid-column:1/-1; background:#fff; border-right:1px solid #d9e7e5; border-bottom:1px solid #d9e7e5; }
.frs-chapters-more > summary { cursor:pointer; color:#087e74; font:800 .88rem/1.5 Manrope,Arial,sans-serif; padding:17px 19px; }
.frs-chapters-more > summary:hover,.frs-chapters-more > summary:focus-visible {background:#ebf8f5;}
.frs-chapters-more__grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid #d9e7e5; }
@media (max-width:780px) { .frs-chapters-more__grid {grid-template-columns:minmax(0,1fr);} }
