/* ===== RESET ===== */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{-webkit-font-smoothing:antialiased;font-size:100%;overflow-x:clip}
body{font-family:'DM Sans',Inter,system-ui,-apple-system,sans-serif;font-size:0.95rem;line-height:1.6;color:#1E1E24;background:#FBFBF9;overflow-x:clip}
img,svg{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
ul,ol{list-style:none}
button,input,select,textarea{font:inherit;color:inherit}
h1{font-size:2.75rem;font-weight:700;line-height:1.2;letter-spacing:-.03em;color:#1E1E24}
h2{font-size:1.75rem;font-weight:700;line-height:1.35;letter-spacing:-.02em;color:#1E1E24}
h3{font-size:1.1875rem;font-weight:600;line-height:1.35;color:#1E1E24}
h4{font-size:1rem;font-weight:600;color:#1E1E24}
p{margin-bottom:1rem}
strong{font-weight:600}
::selection{background:#4A6FA5;color:#fff}

/* ===== LAYOUT ===== */
.container,.container-rj{width:100%;max-width:1200px;margin:0 auto;padding:0 2rem}
@media(max-width:768px){.container,.container-rj{padding:0 1.5rem}}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.skip-link{position:absolute;top:-100%;left:1rem;z-index:999;padding:.5rem 1rem;background:#1E1E24;color:#fff;font-size:13px;font-weight:600;border-radius:6px}.skip-link:focus{top:1rem}

/* ===== HEADER ===== */
.site-header{position:sticky;top:0;z-index:200;background:rgba(255,255,255,.92);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-bottom:1px solid rgba(0,0,0,.05)}
.site-header-inner{max-width:1200px;margin:0 auto;padding:0 2rem;display:flex;align-items:center;height:3.75rem;gap:2.5rem}
.brand-link{display:flex;align-items:center;gap:.75rem;flex-shrink:0}
.brand-mark{width:36px;height:36px;flex-shrink:0}.brand-mark img{width:100%;height:100%}
.brand-word{font-size:1.1rem;font-weight:700;color:#1E1E24;letter-spacing:-.02em;line-height:1.1}
.brand-tagline{display:block;font-size:.55rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:#90909A;margin-top:1px}
.site-nav{display:flex;align-items:center;gap:.25rem;margin-left:auto}
.nav-link,.nav-item>a{display:flex;align-items:center;height:3.75rem;padding:0 .85rem;font-size:.8125rem;font-weight:500;color:#5C5C66;white-space:nowrap;border-bottom:2px solid transparent;transition:color .15s,border-color .15s;text-decoration:none}
.nav-link:hover,.nav-item>a:hover,.nav-item:hover>.nav-link{color:#1E1E24;border-bottom-color:#4A6FA5}
.header-actions{display:flex;align-items:center;gap:.75rem;flex-shrink:0;margin-left:1rem}
.mobile-toggle{display:none;align-items:center;justify-content:center;width:40px;height:40px;cursor:pointer;border-radius:8px;font-size:1.1rem;color:#1E1E24;background:none;border:none}.mobile-toggle:hover{background:#EDF1F7}
@media(max-width:1024px){.site-nav,.header-actions .btn{display:none}.mobile-toggle{display:flex}.header-actions{margin-left:auto}}

/* ===== MENU MOBILE — panneau coulissant clair & compact ===== */
/* Voile transparent (clic pour fermer, pas de grisage) */
.mobile-overlay{position:fixed;inset:0;background:transparent;pointer-events:none;
  opacity:0;visibility:hidden;transition:opacity .28s ease,visibility .28s ease;z-index:1080}
.mobile-overlay.visible{opacity:1;visibility:visible;pointer-events:auto}

/* Panneau : glisse depuis la droite — hauteur naturelle, s'arrête après le CTA */
.mobile-panel{position:fixed;top:0;right:0;
  width:min(76vw,296px);max-height:100dvh;
  background:#FFFFFF;z-index:1090;
  display:flex;flex-direction:column;
  overflow-y:auto;-webkit-overflow-scrolling:touch;
  transform:translateX(100%);visibility:hidden;
  transition:transform .32s cubic-bezier(.22,1,.36,1),visibility .32s;
  box-shadow:-14px 0 44px rgba(15,22,40,.16);
  border-left:1px solid #EDEDEA}
.mobile-panel.open{transform:translateX(0);visibility:visible}

/* En-tête du panneau : marque + croix de fermeture */
.mobile-panel-head{display:flex;align-items:center;justify-content:space-between;
  padding:.9rem 1.1rem;flex-shrink:0;
  border-bottom:1px solid #EFEFEC}
.mobile-panel-brand{font-size:.85rem;font-weight:700;letter-spacing:-.01em;color:#0F1628}
.mobile-panel-close{display:flex;align-items:center;justify-content:center;
  width:32px;height:32px;flex-shrink:0;cursor:pointer;
  background:#FFFFFF;color:#5C5C66;
  border:1px solid #E6E6E4;border-radius:7px;font-size:.9rem;
  transition:background-color .15s ease,color .15s ease,border-color .15s ease}
.mobile-panel-close:hover{background:#F4F6FA;color:#0F1628;border-color:#D7DBE0}

/* Liens de navigation */
.mobile-panel nav{display:flex;flex-direction:column;padding:.55rem 1.1rem 1.5rem}
.mobile-panel nav>a{font-size:.875rem;font-weight:600;letter-spacing:-.005em;
  color:#1E1E24;padding:.72rem .15rem;
  border-bottom:1px solid #F1F1EF;
  transition:color .15s ease,padding-left .15s ease}
.mobile-panel nav>a:hover,.mobile-panel nav>a:focus-visible{color:#4A6FA5;padding-left:.4rem}

/* CTA Prendre rendez-vous */
.mobile-panel .mobile-cta{display:flex!important;align-items:center;justify-content:center;
  gap:.45rem;background:#4A6FA5;color:#fff!important;
  font-weight:600!important;font-size:.85rem;
  padding:.8rem 1rem!important;border-radius:8px;
  margin-top:1.15rem;border-bottom:none!important;text-align:center;
  box-shadow:0 8px 20px rgba(74,111,165,.26);transition:background-color .15s ease}
.mobile-panel .mobile-cta:hover{background:#3D5C8B}

/* ===== BUTTONS ===== */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.75rem 1.25rem;font-size:13px;font-weight:600;border-radius:6px;cursor:pointer;transition:background-color .15s ease,color .15s ease,border-color .15s ease,transform .15s ease;white-space:nowrap;text-decoration:none;line-height:1.3;border:1.5px solid transparent}
.btn-primary{background:#4A6FA5;color:#fff}.btn-primary:hover{background:#3C5C8A}
.btn-ghost{background:transparent;color:#1E1E24;border-color:#E6E6E4}.btn-ghost:hover{background:#1E1E24;color:#fff;border-color:#1E1E24}
.btn-outline{background:transparent;color:#1E1E24;border-color:#E6E6E4}.btn-outline:hover{background:#EDF1F7}
.btn-dark{background:#1E1E24;color:#fff}.btn-dark:hover{background:#2E2E35}
.btn-secondary{background:#EDF1F7;color:#1E1E24;border-color:#E6E6E4}.btn-secondary:hover{background:#4A6FA5;color:#fff;border-color:#4A6FA5}
.btn-small{padding:.5rem .75rem;font-size:.75rem}
.w-full{width:100%;justify-content:center}

/* ===== SECTIONS ===== */
.section-band{padding:6rem 0}
@media(max-width:768px){.section-band{padding:3rem 0}}
.section-white{background:#fff}
.section-soft{background:#EDF1F7}
.section-dark{background:#1E1E24;color:rgba(255,255,255,.85)}

/* ===== HERO ===== */
.product-hero{position:relative;min-height:90vh;display:flex;align-items:center;overflow:hidden;background-color:#0F1628}
.product-hero::before{content:'';position:absolute;inset:0;z-index:1;background:linear-gradient(105deg,rgba(10,18,30,.88) 0%,rgba(10,18,30,.68) 45%,rgba(10,18,30,.38) 100%)}
/* ===== VIDEO HERO ===== */
.hero-video-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 60%;z-index:0;pointer-events:none}
.product-hero-copy{position:relative;z-index:2;padding:6rem 0}
.product-hero-copy h1{color:#fff;font-size:3.25rem;max-width:52rem;margin-bottom:1.25rem;text-wrap:balance;text-shadow:0 2px 24px rgba(0,0,0,.55),0 1px 4px rgba(0,0,0,.30);line-height:1.1}
@media(max-width:768px){.product-hero-copy h1{font-size:2.125rem}.product-hero{min-height:75vh}.product-hero-copy{padding:4rem 0}}
.hero-summary{font-size:1.0625rem;color:rgba(255,255,255,.85);max-width:40rem;line-height:1.75;margin-bottom:2rem;text-shadow:0 1px 8px rgba(0,0,0,.40)}
.hero-actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-bottom:1.5rem}
.product-hero-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:0;align-items:center;position:relative;z-index:2;width:100%}
.hero-image{display:none}

/* ===== GUIDE COVER (essentiel pages) ===== */
.cover{position:relative;padding:3.5rem 2.5rem;overflow:hidden;background-color:#0F1628;min-height:320px;display:flex;flex-direction:column;justify-content:flex-end;border-radius:8px}
.cover::before{content:'';position:absolute;inset:0;z-index:1;background:rgba(10,18,30,.72)}
.cover>*{position:relative;z-index:2}
.cover h1{color:#fff;font-size:2.25rem;line-height:1.2;margin-bottom:1rem;font-weight:700}
.cover-lead{color:rgba(255,255,255,.72);font-size:1rem;line-height:1.7;margin-bottom:1.5rem;max-width:48rem}
.cover-brand{display:flex;align-items:center;gap:.75rem;margin-bottom:2rem}
.cover-brand img{height:32px;width:auto}
.cover-brand .brand-word{font-size:1rem;font-weight:700;color:#fff}
.cover-brand .brand-tagline{font-size:.75rem;color:rgba(255,255,255,.55)}
.cover-year{font-size:.75rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:rgba(255,255,255,.45);margin-bottom:1.5rem}
.cover-meta{display:flex;flex-wrap:wrap;gap:1.5rem;font-size:.8125rem;color:rgba(255,255,255,.5);margin-top:auto;border-top:1px solid rgba(255,255,255,.1);padding-top:1.25rem}
.cover-meta strong{display:block;color:rgba(255,255,255,.8);font-weight:600}

/* ===== KICKER ===== */
.kicker{display:inline-block;font-size:.75rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#4A6FA5;margin-bottom:.75rem}

/* ===== BREADCRUMB ===== */
.breadcrumb{display:flex;align-items:center;gap:.5rem;font-size:.75rem;color:rgba(255,255,255,.4);margin-bottom:1rem;flex-wrap:wrap}.breadcrumb a{color:rgba(255,255,255,.5)}.breadcrumb a:hover{color:#fff}

/* ===== SECTION HEAD ===== */
.section-head{margin-bottom:3rem}
.section-title{font-size:2.125rem;font-weight:700;letter-spacing:-.02em;margin-bottom:.5rem;color:#1E1E24}
.section-text{font-size:1.0625rem;color:#5C5C66;max-width:42rem;line-height:1.75}

/* ===== HOME SPLIT ===== */
.fr-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:3rem;align-items:start}@media(max-width:768px){.fr-split{grid-template-columns:minmax(0,1fr)}}
.fr-richtext p{color:#5C5C66;margin-bottom:1rem;line-height:1.75}
.fr-richtext ul{display:flex;flex-direction:column;gap:.75rem;margin:1.5rem 0}
.fr-richtext ul li{padding-left:1.5rem;position:relative;color:#5C5C66;font-size:15px}
.fr-richtext ul li::before{content:'';position:absolute;left:0;top:.6em;width:6px;height:6px;border-radius:50%;background:#4A6FA5}
.fr-link{display:inline-flex;align-items:center;gap:.5rem;font-weight:600;color:#4A6FA5;font-size:13px;margin-top:1rem;transition:gap .15s}.fr-link:hover{gap:.75rem}

/* ===== HOME MEDIA ===== */
.fr-media{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:3rem;align-items:center}@media(max-width:768px){.fr-media{grid-template-columns:minmax(0,1fr)}}
.fr-media__frame{overflow:hidden;border-radius:12px}.fr-media__frame img{width:100%;height:100%;object-fit:cover;aspect-ratio:4/3}
.fr-media__copy p{color:#5C5C66;line-height:1.75;margin-bottom:1rem}

/* ===== VALUES GRID ===== */
.fr-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5rem;margin-top:2rem}@media(max-width:768px){.fr-values{grid-template-columns:minmax(0,1fr)}}
.fr-values article{padding:1.5rem;background:#fff;border:1px solid #E6E6E4;border-radius:8px}
.fr-values article span{font-size:3rem;font-weight:800;color:#4A6FA5;opacity:.15;display:block;margin-bottom:.75rem;line-height:1}
.fr-values article h3{font-size:1.1875rem;margin-bottom:.5rem}
.fr-values article p{font-size:13px;color:#5C5C66}

/* ===== SOLUTIONS GRID ===== */
.fr-solutions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin-top:2rem}@media(max-width:768px){.fr-solutions{grid-template-columns:minmax(0,1fr)}}
.fr-solutions a{display:flex;flex-direction:column;gap:.5rem;padding:1.5rem;background:#fff;border:1px solid #E6E6E4;border-radius:8px;transition:transform .2s ease,box-shadow .2s ease,border-color .15s ease}
.fr-solutions a:hover{border-color:#4A6FA5;box-shadow:0 2px 12px rgba(0,0,0,.06);transform:translateY(-2px)}
.fr-solutions a i{font-size:1.1rem;color:#4A6FA5}
.fr-solutions a strong{font-size:15px}
.fr-solutions a span{font-size:13px;color:#5C5C66}

/* ===== ABOUT ===== */
.fr-about{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:3rem;align-items:start}@media(max-width:768px){.fr-about{grid-template-columns:minmax(0,1fr)}}
.fr-about p{color:#5C5C66;line-height:1.75;margin-bottom:1rem}

/* ===== CTA SECTION ===== */
.home-focus{max-width:36rem;text-align:center;padding:4rem 0;margin:0 auto}
.home-focus .section-title{font-size:2.125rem;margin-bottom:1rem}
.section-actions{display:flex;align-items:center;justify-content:center;gap:1rem;margin-top:1.5rem;flex-wrap:wrap}
.section-dark .section-title{color:#fff}.section-dark .section-text{color:rgba(255,255,255,.65)}
.section-dark .btn-primary{background:#fff;color:#1E1E24}.section-dark .btn-primary:hover{background:#EDF1F7}
.section-dark .btn-ghost{color:rgba(255,255,255,.85);border-color:rgba(255,255,255,.25)}.section-dark .btn-ghost:hover{background:#fff;color:#1E1E24}

/* ===== FACTS/HERO METRICS ===== */
.fr-hero__facts{display:flex;flex-wrap:wrap;gap:2rem;margin-top:2rem}
.fr-hero__facts span{font-size:13px;color:rgba(255,255,255,.5)}
.fr-hero__facts strong{display:block;color:#4A6FA5;font-size:15px}

/* ===== CONTENT LAYOUT ===== */
.content-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:3rem;align-items:start}
@media(max-width:1024px){.content-layout{grid-template-columns:minmax(0,1fr)}}
.product-body{max-width:42rem}
.product-body h2{margin:3rem 0 .75rem;font-size:1.75rem}
.product-body h3{margin:2rem 0 .5rem;font-size:1.1875rem;font-weight:600}
.product-body p{color:#5C5C66;line-height:1.75;margin-bottom:1rem}

/* ===== SIDEBAR ===== */
.sidebar-stack{display:flex;flex-direction:column;gap:1rem;position:sticky;top:4rem}
.rail-card,.cta-card{background:#fff;border:1px solid #E6E6E4;border-radius:8px;padding:1.5rem}
.rail-card h2,.cta-card h2{font-size:1.1875rem;margin-bottom:.75rem}
.rail-card .kicker{color:#4A6FA5}
.rail-dark{background:#1E1E24;color:rgba(255,255,255,.85)}.rail-dark h2,.rail-dark .kicker{color:#fff}
.rail-links,.link-list{display:flex;flex-direction:column;gap:.5rem}.rail-links a,.link-list a{font-size:13px;color:#5C5C66;transition:color .15s}.rail-links a:hover,.link-list a:hover{color:#4A6FA5}
.rail-number-card{text-align:center;padding:1.5rem 1rem}.rail-number{font-size:2.5rem;font-weight:800;color:#4A6FA5;display:block;line-height:1}.rail-number-card p{margin-top:.5rem;font-size:13px;color:#5C5C66}
.rail-list{display:flex;flex-direction:column;gap:.75rem}.rail-list li{display:flex;gap:.75rem;font-size:13px;color:#5C5C66}.rail-list li i{color:#4A6FA5;font-size:.7rem;margin-top:3px}
.rail-highlight{background:#EDF1F7;border-color:#E6E6E4}

/* ===== CARDS ===== */
.info-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1rem;margin-bottom:2rem}
.metric-card{background:#fff;border:1px solid #E6E6E4;border-radius:8px;padding:1rem}.metric-card strong{display:block;font-size:1.375rem;color:#4A6FA5;margin-bottom:.25rem}.metric-card span{font-size:13px;color:#5C5C66}
.theme-board{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.5rem}
.theme-board-card{background:#fff;border:1px solid #E6E6E4;border-radius:8px;padding:1.5rem;transition:transform .2s ease,box-shadow .2s ease,border-color .15s ease;display:flex;flex-direction:column;gap:.75rem}
.theme-board-card:hover{border-color:#4A6FA5;box-shadow:0 2px 12px rgba(0,0,0,.06);transform:translateY(-2px)}
.theme-board-card h3{font-size:1.1875rem}.theme-board-card p{font-size:13px;color:#5C5C66}
.theme-links a{font-size:13px;font-weight:600;color:#4A6FA5}

/* ===== SOLUTION MAP/COLUMNS ===== */
.solution-map{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem}
.solution-column{background:#fff;border:1px solid #E6E6E4;border-radius:8px;padding:1.5rem}.solution-column .card-meta{font-size:1.75rem;font-weight:800;color:#4A6FA5;opacity:.2;display:block;margin-bottom:.5rem}.solution-column h3{font-size:1.1875rem;margin-bottom:.5rem}.solution-column p{font-size:13px;color:#5C5C66}

/* ===== TABLE ===== */
.rj-table{width:100%;border-collapse:collapse;margin:1.5rem 0;font-size:13px}
.rj-table thead{background:#1E1E24}.rj-table th{padding:.75rem 1rem;text-align:left;color:#fff;font-weight:600;font-size:.75rem;text-transform:uppercase;letter-spacing:.05em}
.rj-table td{padding:.75rem 1rem;border-bottom:1px solid #E6E6E4;color:#5C5C66}.rj-table tr:hover td{background:#EDF1F7}

/* ===== CHECK LIST ===== */
.check-list{display:flex;flex-direction:column;gap:.75rem}.check-list li{display:flex;gap:.75rem;font-size:15px;color:#5C5C66}.check-list li i{color:#4A6FA5;font-size:.75rem;margin-top:3px;flex-shrink:0}.check-list li strong{color:#1E1E24}

/* ===== CALLOUT ===== */
.callout{background:#EDF1F7;border-left:3px solid #4A6FA5;padding:1rem 1.5rem;border-radius:0 8px 8px 0;margin:1.5rem 0}
.callout strong{display:block;font-size:15px;color:#1E1E24;margin-bottom:.25rem}
.premium-callout{border-left-color:#1E1E24;background:#FBFBF9}

/* ===== FAQ ===== */
.faq-grid{display:flex;flex-direction:column;gap:.5rem;max-width:42rem;margin:2rem auto 0}
.faq-item{background:#fff;border:1px solid #E6E6E4;border-radius:8px;overflow:hidden}
.faq-item summary{font-weight:600;font-size:15px;padding:1rem 1.5rem;cursor:pointer;display:flex;justify-content:space-between;align-items:center;list-style:none;color:#1E1E24}
.faq-item summary::after{content:'+';font-size:1.2rem;color:#4A6FA5;font-weight:400;transition:transform .15s}
.faq-item[open] summary::after{content:'−'}
.faq-item[open] summary{border-bottom:1px solid #E6E6E4}
.faq-item p{padding:1rem 1.5rem;color:#5C5C66;font-size:13px;line-height:1.75}

/* ===== TLDR ===== */
.tldr-card{background:#EDF1F7;border:1px solid #E6E6E4;border-radius:8px;padding:1.5rem;margin-bottom:2rem}
.tldr-label{display:inline-block;font-size:.75rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#4A6FA5;margin-bottom:.75rem}
.tldr-card ul{display:flex;flex-direction:column;gap:.5rem}.tldr-card ul li{font-size:13px;color:#5C5C66;padding-left:1rem;position:relative}.tldr-card ul li::before{content:'•';position:absolute;left:0;color:#4A6FA5}

/* ===== ARTICLE CARD ===== */
.article-card{display:block;background:#fff;border:1px solid #E6E6E4;border-radius:8px;overflow:hidden;transition:transform .2s ease,box-shadow .2s ease,border-color .15s ease}.article-card:hover{border-color:#4A6FA5;box-shadow:0 2px 12px rgba(0,0,0,.06);transform:translateY(-2px)}
.card-media img{width:100%;height:180px;object-fit:cover}.card-body{padding:1.5rem}.card-meta{font-size:.75rem;font-weight:600;color:#4A6FA5;text-transform:uppercase;letter-spacing:.05em;margin-bottom:.5rem}.card-title{font-size:1.1875rem;color:#1E1E24;margin-bottom:.5rem;line-height:1.35}.card-text{font-size:13px;color:#5C5C66;line-height:1.75;margin-bottom:.75rem}.card-link{font-size:13px;font-weight:600;color:#4A6FA5}

/* ===== ARTICLE GRID — compact portrait cards ===== */
.article-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:1.5rem;margin-top:.5rem}
.article-grid .article-card{display:flex;flex-direction:column}
.article-grid .card-media{height:190px;flex-shrink:0;background:#0F1628}
.article-grid .card-media img{height:100%;width:100%;object-fit:cover}
.article-grid .card-body{display:flex;flex-direction:column;flex:1;padding:1.35rem}
.article-grid .card-meta{margin-bottom:.45rem}
.article-grid .card-title{font-size:1.02rem;line-height:1.4;margin-bottom:.5rem}
.article-grid .card-text{flex:1;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:1rem}
.article-grid .card-link{margin-top:auto}
@media(max-width:640px){.article-grid{grid-template-columns:minmax(0,1fr)}.article-grid .card-media{height:200px}}

/* ===== SITEMAP ===== */
.sitemap-board{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:1.5rem}.sitemap-section h3{font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.07em;color:#4A6FA5;margin-bottom:.75rem}.sitemap-links{display:flex;flex-direction:column;gap:.25rem}.sitemap-links a{font-size:13px;color:#5C5C66;padding:.25rem 0;transition:color .15s}.sitemap-links a:hover{color:#4A6FA5}

/* ===== TREASURY/RISK ===== */
.treasury-ledger{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}@media(max-width:768px){.treasury-ledger{grid-template-columns:repeat(2,minmax(0,1fr))}}
.ledger-card{background:#fff;border:1px solid #E6E6E4;border-radius:8px;padding:1rem;text-align:center}.ledger-card span{font-size:1.375rem;color:#4A6FA5;font-weight:700;display:block;margin-bottom:.5rem}.ledger-card h2{font-size:15px;margin-bottom:.5rem}.ledger-card p{font-size:13px;color:#5C5C66}
.risk-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin:1.5rem 0}@media(max-width:480px){.risk-grid{grid-template-columns:minmax(0,1fr)}}
.risk-tile{background:#fff;border:1px solid #E6E6E4;border-radius:8px;padding:1rem;text-align:center}.risk-tile i{font-size:1.2rem;color:#4A6FA5;margin-bottom:.5rem}.risk-tile h3{font-size:15px;margin-bottom:.5rem}.risk-tile p{font-size:13px;color:#5C5C66}

/* ===== COMPLIANCE ===== */
.compliance-strip{display:flex;align-items:flex-start;gap:.75rem;font-size:13px;color:#90909A;max-width:42rem;margin:0 auto}.compliance-strip i{color:#4A6FA5;margin-top:2px;flex-shrink:0}
[data-rj-disclaimer]{border-top:1px solid #E6E6E4;padding-top:1.5rem}

/* ===== FOOTER ===== */
.site-footer{background:#1E1E24;color:rgba(255,255,255,.55);padding:4rem 0 2rem;font-size:13px;margin-top:6rem}.site-footer a:hover{color:#fff}
.fr-footer__top{display:grid;grid-template-columns:1.2fr 2fr;gap:3rem;margin-bottom:3rem}@media(max-width:768px){.fr-footer__top{grid-template-columns:minmax(0,1fr)}}
.fr-footer__brand .brand-word{color:#fff;font-size:1.1rem}.fr-footer__brand .brand-tagline{color:rgba(255,255,255,.35)}.fr-footer__brand p{color:rgba(255,255,255,.45);font-size:13px;margin:.75rem 0;line-height:1.75}
.fr-footer__contact{display:flex;flex-direction:column;gap:.25rem;margin-bottom:1rem}.fr-footer__contact a{color:rgba(255,255,255,.45)}.fr-footer__contact a:hover{color:#4A6FA5}
.fr-footer__cta{display:inline-flex;background:#4A6FA5;color:#fff!important;font-weight:600;padding:.5rem 1rem;border-radius:6px;font-size:.75rem}
.fr-footer__cols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2rem}@media(max-width:480px){.fr-footer__cols{grid-template-columns:minmax(0,1fr)}}
.fr-footer__cols h2{font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.08em;color:#4A6FA5;margin-bottom:.75rem}.fr-footer__cols a,.fr-footer__cols p{display:block;color:rgba(255,255,255,.45);font-size:13px;margin-bottom:.5rem}.fr-footer__cols a:hover{color:#fff}.fr-footer__cols p{margin-bottom:.75rem}
.fr-footer__legal{border-top:1px solid rgba(255,255,255,.06);padding-top:1.5rem;display:flex;flex-wrap:wrap;gap:1rem;font-size:.75rem;color:rgba(255,255,255,.3)}.fr-footer__legal a{color:rgba(255,255,255,.35)}.fr-footer__legal a:hover{color:#4A6FA5}

/* ===== BACK TO TOP ===== */
.back-to-top{position:fixed;bottom:1.5rem;right:1.5rem;width:40px;height:40px;background:#fff;border:1px solid #E6E6E4;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 1px 4px rgba(0,0,0,.05);transition:transform .2s ease,box-shadow .2s ease,border-color .15s ease;opacity:0;pointer-events:none;z-index:200}.back-to-top.visible{opacity:1;pointer-events:auto}.back-to-top:hover{background:#4A6FA5;border-color:#4A6FA5;color:#fff}

/* ===== HUB PAGES ===== */
.fr-hub-section{padding:6rem 0}.fr-hub-section--soft{background:#EDF1F7}.fr-hub-section--dark{background:#1E1E24;color:rgba(255,255,255,.85)}
.fr-hub-head{margin-bottom:3rem}.fr-hub-head h2{font-size:2.125rem;margin-bottom:.5rem}.fr-hub-head p{font-size:15px;color:#5C5C66;max-width:42rem}
.fr-hub-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1rem}
.fr-hub-card{display:flex;flex-direction:column;gap:.5rem;padding:1.5rem;background:#fff;border:1px solid #E6E6E4;border-radius:8px;transition:transform .2s ease,box-shadow .2s ease,border-color .15s ease}.fr-hub-card:hover{border-color:#4A6FA5;box-shadow:0 2px 12px rgba(0,0,0,.06);transform:translateY(-2px)}
.fr-hub-card small{font-size:.75rem;font-weight:600;color:#4A6FA5;text-transform:uppercase;letter-spacing:.05em}.fr-hub-card h3{font-size:1.1875rem}.fr-hub-card p{font-size:13px;color:#5C5C66}.fr-hub-card span:last-child{font-size:13px;font-weight:600;color:#4A6FA5}
.fr-hub-rail{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:3rem;align-items:start}@media(max-width:768px){.fr-hub-rail{grid-template-columns:minmax(0,1fr)}}
.fr-hub-list{display:flex;flex-direction:column;gap:1rem;background:#fff;border:1px solid #E6E6E4;border-radius:8px;padding:1.5rem}.fr-hub-list li{display:flex;flex-direction:column;gap:.25rem;font-size:13px;color:#5C5C66}.fr-hub-list li strong{color:#1E1E24;font-size:15px}
.fr-hub-band{display:flex;align-items:center;justify-content:space-between;gap:2rem;flex-wrap:wrap}.fr-hub-band h2{font-size:1.75rem;color:#fff}.fr-hub-band p{color:rgba(255,255,255,.65);font-size:15px}

/* ===== HUB METRICS ===== */
.fr-hub-metrics{display:flex;flex-wrap:wrap;gap:2rem;margin-top:2rem}.fr-hub-metrics span{font-size:13px;color:rgba(255,255,255,.5)}.fr-hub-metrics strong{display:block;color:#4A6FA5;font-size:15px}

/* ===== HUB HERO ===== */
.fr-hub-hero{position:relative;padding:5rem 0;overflow:hidden;background:#1E1E24}.fr-hub-hero::before{content:'';position:absolute;inset:0;background:linear-gradient(135deg,#1E1E24,#2E2E35);z-index:0}
.fr-hub-hero__image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.12;z-index:0}
.fr-hub-hero .fr-container{position:relative;z-index:2}
.fr-hub-hero h1{color:#fff;font-size:2.75rem;max-width:48rem;margin-bottom:1rem}@media(max-width:768px){.fr-hub-hero h1{font-size:2.125rem}}
.fr-hub-hero p{font-size:1.0625rem;color:rgba(255,255,255,.65);max-width:36rem;line-height:1.75;margin-bottom:1.5rem}

/* ===== SOLUTIONS SILO ===== */
.solutions-silos{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1rem}
.silo-card{display:flex;flex-direction:column;gap:.5rem;padding:1.5rem;background:#fff;border:1px solid #E6E6E4;border-radius:8px;transition:transform .2s ease,box-shadow .2s ease,border-color .15s ease}.silo-card:hover{border-color:#4A6FA5;box-shadow:0 2px 12px rgba(0,0,0,.06);transform:translateY(-2px)}
.silo-card__top{display:flex;align-items:center;gap:.5rem}.silo-card__icon{font-size:1rem;color:#4A6FA5}.silo-card__count{font-size:.75rem;font-weight:600;color:#90909A;text-transform:uppercase;letter-spacing:.05em}.silo-card__title{font-size:1.1875rem;color:#1E1E24}.silo-card__text{font-size:13px;color:#5C5C66}.silo-card__cta{font-size:13px;font-weight:600;color:#4A6FA5}

/* ===== TWO COLS LIST ===== */
.two-cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem}@media(max-width:480px){.two-cols{grid-template-columns:minmax(0,1fr)}}
.coming-soon-list{margin-top:1.5rem}

/* ===== EXPERTISE GRID ===== */
.fr-expertise-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem;margin-top:2rem}@media(max-width:768px){.fr-expertise-grid{grid-template-columns:minmax(0,1fr)}}
.fr-expertise{display:flex;flex-direction:column;gap:.75rem;padding:2rem;background:#fff;border:1px solid #E6E6E4;border-radius:8px;transition:transform .2s ease,box-shadow .2s ease,border-color .15s ease}.fr-expertise:hover{border-color:#4A6FA5;box-shadow:0 2px 12px rgba(0,0,0,.06);transform:translateY(-2px)}
.fr-expertise h3{font-size:1.1875rem}.fr-expertise p{font-size:13px;color:#5C5C66}

/* ===== UTILITIES ===== */
.mt-4{margin-top:1rem}.mb-4{margin-bottom:1rem}.text-slate-600{color:#5C5C66}

/* ===== RESPONSIVE ===== */
@media(max-width:768px){
  .hero-actions{flex-direction:column}.hero-actions .btn{justify-content:center}
  .fr-values,.fr-solutions,.info-strip,.treasury-ledger{grid-template-columns:minmax(0,1fr)}
  .section-actions{flex-direction:column;align-items:stretch}.section-actions .btn{justify-content:center}
  h1{font-size:2.125rem}h2{font-size:1.5rem}
}
@media(min-width:1025px){.mobile-panel{display:none!important}}

/* ===== HEADER DROPDOWNS ===== */
.nav-item{position:relative}
.nav-dd{position:absolute;top:100%;left:50%;transform:translateX(-50%) translateY(10px);background:#fff;border:1px solid #E8EAEC;border-radius:12px;box-shadow:0 12px 40px rgba(0,0,0,.07),0 2px 8px rgba(0,0,0,.04);padding:.5rem 0;min-width:200px;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .15s .1s,visibility .15s .1s,transform .2s;z-index:100}
.nav-dd::before{content:'';position:absolute;top:-6px;left:50%;transform:translateX(-50%);width:12px;height:12px;background:#fff;border-left:1px solid #E8EAEC;border-top:1px solid #E8EAEC;rotate:45deg;border-radius:2px}
.nav-item::after{content:"";position:absolute;top:100%;left:0;width:100%;height:12px;background:transparent}.nav-item:hover .nav-dd{opacity:1;visibility:visible;pointer-events:auto;transform:translateX(-50%) translateY(4px);transition-delay:0s}
.nav-dd a{display:block;padding:.45rem 1rem;font-size:.8125rem;color:#5C5C66;white-space:nowrap;transition:background-color .1s ease,color .1s ease}
.nav-dd a:hover{background:#F4F6FA;color:#1E1E24}
.nav-dd--cols{display:flex;gap:1.5rem;padding:.75rem 1rem;min-width:auto}
.nav-dd-col{min-width:180px}
.nav-dd--cols .nav-dd-col a{padding:.35rem .2rem}
.nav-dd-label{display:block;font-size:.625rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:#4A6FA5;padding:.2rem .2rem .4rem;border-bottom:1px solid #EEF0F2;margin-bottom:.25rem}
.nav-dd-sub{display:block;font-size:.6875rem;font-weight:600;color:#8A8F9A;padding:.55rem .2rem .15rem;margin-top:.25rem}
.nav-dd-sub:first-child{margin-top:0}
.nav-dd-all{color:#4A6FA5!important;font-weight:600!important;margin-top:.35rem;padding-top:.55rem!important;border-top:1px solid #EEF0F2}

/* ============================================================
   MOBILE-FIRST HARDENING & ACCESSIBILITY
   ============================================================ */

/* Grid/flex children must be allowed to shrink below content size */
.content-layout>*,.fr-hub-rail>*,.fr-split>*,.fr-media>*,.fr-about>*,.product-body{min-width:0}

/* Wide content inside articles never breaks the layout */
.product-body .rj-table,.rj-table{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.product-body pre{overflow-x:auto;max-width:100%}
.product-body p,.product-body li,.product-body h1,.product-body h2,.product-body h3,
.card-title,.theme-board-card h3,.solution-column h3{overflow-wrap:break-word}

/* Anchored headings clear the sticky header */
:where(h1,h2,h3,[id]){scroll-margin-top:5rem}

/* Visible focus ring for keyboard users */
a:focus-visible,button:focus-visible,.btn:focus-visible,summary:focus-visible,
input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{
  outline:2px solid #4A6FA5;outline-offset:2px;border-radius:4px
}

/* Comfortable touch targets, no 300ms tap delay */
.btn,.nav-link,.nav-item>a,.mobile-toggle,.back-to-top,.faq-item summary,
.fr-solutions a,.article-card,.fr-hub-card,.silo-card{touch-action:manipulation;-webkit-tap-highlight-color:transparent}

/* Ghost button stays visible on dark hero / video backgrounds */
.product-hero .btn-ghost,.fr-hub-hero .btn-ghost{color:#fff;border-color:rgba(255,255,255,.5)}
.product-hero .btn-ghost:hover,.fr-hub-hero .btn-ghost:hover{background:#fff;color:#0F1628;border-color:#fff}

/* Safe-area aware fixed elements */
.back-to-top{bottom:max(1.5rem,env(safe-area-inset-bottom));right:max(1.5rem,env(safe-area-inset-right));width:44px;height:44px}
.mobile-toggle{width:44px;height:44px}

/* ---- Tablet ---- */
@media(max-width:1024px){
  .section-band,.fr-hub-section{padding:4rem 0}
  .sidebar-stack{position:static}
}

/* ---- Mobile ---- */
@media(max-width:768px){
  .container,.container-rj,.site-header-inner{padding-left:1.25rem;padding-right:1.25rem}
  .site-header-inner{gap:1rem}
  h1{font-size:clamp(1.9rem,7vw,2.3rem)}
  h2,.section-title,.section-head .section-title,.home-focus .section-title,.fr-hub-head h2{font-size:clamp(1.5rem,5.5vw,1.85rem)}
  .product-hero-copy h1{font-size:clamp(2rem,8.5vw,2.45rem)}
  .hero-summary,.section-text{font-size:1rem}
  .content-layout,.fr-hub-rail{gap:2.5rem}
  .section-head{margin-bottom:2rem}
  .cover{padding:2.25rem 1.5rem;min-height:auto}
  .cover h1{font-size:1.75rem}
  .btn{padding:.85rem 1.25rem}
  .theme-board,.solution-map,.fr-hub-grid,.solutions-silos,.sitemap-board,.info-strip{grid-template-columns:minmax(0,1fr)}
  .fr-hub-band{flex-direction:column;align-items:flex-start;gap:1rem}
  .site-footer{margin-top:4rem}
}

/* ---- Small phones ---- */
@media(max-width:430px){
  .container,.container-rj,.site-header-inner{padding-left:1rem;padding-right:1rem}
  .treasury-ledger,.two-cols{grid-template-columns:minmax(0,1fr)}
  .cover{padding:2rem 1.25rem}
}

/* ============================================================
   PREMIUM MOTION DESIGN — sobre, institutionnel, raffiné
   ============================================================ */
@media(prefers-reduced-motion:no-preference){

  /* ---- Scroll reveal — fade + slide-up très lent ---- */
  [data-reveal]{opacity:0;will-change:opacity,transform;
    transition:opacity .9s cubic-bezier(.16,1,.3,1),transform .9s cubic-bezier(.16,1,.3,1)}
  [data-reveal].is-visible{opacity:1;transform:none}

  /* Variantes directionnelles — amplitudes réduites, institutionnel */
  [data-reveal=""]      {transform:translateY(36px) scale(.97)}
  [data-reveal="up"]    {transform:translateY(44px)}
  [data-reveal="rise"]  {transform:translateY(36px) scale(.95)}
  [data-reveal="left"]  {transform:translateX(-48px)}
  [data-reveal="right"] {transform:translateX(48px)}
  [data-reveal="zoom"]  {transform:scale(.88)}
  [data-reveal="fade"]  {transform:none}

  /* Stagger — cascade plus espacée */
  [data-reveal-delay="1"]{transition-delay:.10s}
  [data-reveal-delay="2"]{transition-delay:.20s}
  [data-reveal-delay="3"]{transition-delay:.30s}
  [data-reveal-delay="4"]{transition-delay:.40s}
  [data-reveal-delay="5"]{transition-delay:.50s}
  [data-reveal-delay="6"]{transition-delay:.60s}
  [data-reveal-delay="7"]{transition-delay:.70s}
  [data-reveal-delay="8"]{transition-delay:.80s}

  /* ---- Hero : apparition lente et maîtrisée ---- */
  .product-hero-copy>*{animation:rj-hero-in 1.2s cubic-bezier(.16,1,.3,1) both}
  .product-hero-copy>*:nth-child(2){animation-delay:.18s}
  .product-hero-copy>*:nth-child(3){animation-delay:.36s}
  .product-hero-copy>*:nth-child(4){animation-delay:.54s}
  .product-hero-copy>*:nth-child(5){animation-delay:.72s}

  /* ---- Section head : fade-up très lent ---- */
  .section-head[data-reveal]{transition-duration:.95s}

  /* ---- Image zoom doux au survol ---- */
  .card-media,.fr-media__frame{overflow:hidden}
  .card-media img,.fr-media__frame img{transition:transform .9s cubic-bezier(.16,1,.3,1)}
  .article-card:hover .card-media img,.fr-media__frame:hover img{transform:scale(1.05)}

  /* ---- Flèche des liens : léger débordement ---- */
  .fr-link i,.card-link i{transition:transform .32s cubic-bezier(.16,1,.3,1)}
  .fr-link:hover i,.card-link i{transform:translateX(3px)}

}

@keyframes rj-hero-in{from{opacity:0;transform:translateY(28px)}to{opacity:1;transform:none}}

/* ============================================================
   MICRO-INTERACTIONS — hover premium, sobre, institutionnel
   ============================================================ */

/* ---- Cartes : lift discret + ombre progressive ---- */
.fr-solutions a,.theme-board-card,.fr-hub-card,.silo-card,.fr-expertise,
.article-card,.carousel-card,.fr-values article,.metric-card,
.product-body :is(.stat-card,.num-card,.benefit-card,.flag-card,.ratio-card,.step-card),
.risk-tile,.ledger-card,.solution-column,.rail-card,.cta-card{
  transition:transform .44s cubic-bezier(.16,1,.3,1),box-shadow .44s ease,border-color .28s ease;
  border:1px solid #E6E6E4}

.fr-solutions a:hover,.theme-board-card:hover,.fr-hub-card:hover,.silo-card:hover,
.fr-expertise:hover,.article-card:hover,.fr-values article:hover,
.product-body :is(.stat-card,.num-card,.benefit-card,.flag-card,.ratio-card,.step-card):hover,
.risk-tile:hover,.ledger-card:hover,.solution-column:hover,.rail-card:hover,.cta-card:hover{
  transform:translateY(-4px);
  box-shadow:0 16px 36px rgba(15,22,40,.10),0 2px 8px rgba(15,22,40,.04);
  border-color:#4A6FA5}

/* ---- Solutions grid : hover plus appuyé (icône + lien) ---- */
.fr-solutions a:hover i{color:#3C5C8A}
.fr-solutions a:hover strong{color:#1E1E24}

/* ---- Article card : image + ombre coordonnées ---- */
.article-card:hover{box-shadow:0 18px 44px rgba(15,22,40,.12),0 3px 10px rgba(15,22,40,.05)}

/* ---- Buttons : soulèvement + ombre progressive ---- */
.btn{
  transition:background-color .2s ease,color .2s ease,border-color .2s ease,
    transform .32s cubic-bezier(.16,1,.3,1),box-shadow .32s ease}
.btn-primary:hover{box-shadow:0 12px 28px rgba(74,111,165,.38);transform:translateY(-2px)}
.btn-dark:hover,.btn-ghost:hover,.btn-outline:hover,.btn-secondary:hover{transform:translateY(-2px)}
.btn:active{transform:translateY(0) scale(.98);transition-duration:.08s}

/* ---- Bouton dark section : inversion sobre ---- */
.section-dark .btn-primary:hover{box-shadow:0 12px 28px rgba(255,255,255,.18)}

/* ---- Mobile CTA : micro-glow au survol ---- */
.mobile-panel .mobile-cta{transition:background-color .18s ease,box-shadow .24s ease}
.mobile-panel .mobile-cta:hover{box-shadow:0 10px 24px rgba(74,111,165,.42)}

/* ---- Back to top : animation fluide ---- */
.back-to-top{transition:transform .28s cubic-bezier(.16,1,.3,1),box-shadow .28s ease,
  border-color .22s ease,background-color .18s ease,color .18s ease,opacity .3s ease}

/* ============================================================
   RESPECT DES PRÉFÉRENCES — reduced motion
   ============================================================ */
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{
    animation-duration:.01ms!important;animation-iteration-count:1!important;
    transition-duration:.01ms!important;scroll-behavior:auto!important}
  [data-reveal]{opacity:1!important;transform:none!important}
}

/* ============================================================
   GUIDE COMPONENTS — shared design system for /content/guides/
   All selectors scoped under .product-body so they reliably win
   over any leftover per-page <style> rule (0,2,0 > 0,1,0).
   ============================================================ */

/* ---- Cover banner inside the article ---- */
.product-body .book-cover{
  position:relative;background-color:#0F1628;background-size:cover;background-position:center;
  color:#fff;padding:clamp(2rem,5vw,3.25rem) clamp(1.25rem,4vw,2.5rem);
  border-radius:14px;text-align:center;margin:0 0 2.5rem;overflow:hidden}
.product-body .book-cover::before{content:'';position:absolute;inset:0;z-index:0;
  background:linear-gradient(135deg,rgba(15,22,40,.88),rgba(15,22,40,.64))}
.product-body .book-cover>*{position:relative;z-index:1}
.product-body .book-cover .kicker{color:#C9A96E}
.product-body .book-cover h2{color:#fff;font-size:clamp(1.65rem,4.5vw,2.15rem);margin:.35rem 0 .5rem}
.product-body .book-cover .subtitle{font-size:1.05rem;color:rgba(255,255,255,.74);
  margin:0 auto 1.25rem;max-width:34rem}
.product-body .book-cover p{color:rgba(255,255,255,.5);font-size:.8rem;margin:.25rem 0 0}

/* ---- Table of contents ---- */
.product-body .toc-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:0 1.5rem;margin:1.5rem 0 2.25rem}
.product-body .toc-item{display:flex;gap:.7rem;padding:.62rem .15rem;
  border-bottom:1px solid #EFEFEC;font-size:.875rem;color:#5C5C66;line-height:1.45}
.product-body .toc-num{font-weight:700;color:#4A6FA5;flex-shrink:0;min-width:1.6rem;
  font-variant-numeric:tabular-nums}
@media(max-width:600px){.product-body .toc-grid{grid-template-columns:minmax(0,1fr)}}

/* ---- Callout boxes ---- */
.product-body :is(.key-box,.warning-box,.exemple-box,.example-box,.highlight-box,.constants-box,.quote-box){
  padding:1.1rem 1.35rem;border-radius:0 10px 10px 0;margin:1.75rem 0}
.product-body :is(.key-box,.highlight-box,.constants-box){background:#EDF1F7;border-left:3px solid #4A6FA5}
.product-body .warning-box{background:#FFF7ED;border-left:3px solid #B45309}
.product-body :is(.exemple-box,.example-box){background:#F1F7F2;border-left:3px solid #2E7D5A}
.product-body .quote-box{background:#F8F6F2;border-left:3px solid #8B7355;font-style:italic}
.product-body :is(.key-box,.warning-box,.exemple-box,.example-box,.highlight-box,.constants-box) h4{
  font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.07em;margin:0 0 .45rem}
.product-body :is(.key-box,.highlight-box,.constants-box) h4{color:#4A6FA5}
.product-body .warning-box h4{color:#B45309}
.product-body :is(.exemple-box,.example-box) h4{color:#2E7D5A}
.product-body :is(.key-box,.warning-box,.exemple-box,.example-box,.highlight-box,.constants-box,.quote-box) :is(p,li){
  font-size:.9rem;color:#5C5C66;line-height:1.7}
.product-body :is(.key-box,.warning-box,.exemple-box,.example-box,.highlight-box,.constants-box,.quote-box) p:last-child{margin-bottom:0}
.product-body .quote-box p{color:#4A4036}

/* ---- Checklist ---- */
.product-body .check-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:.55rem 1.5rem;margin:1.25rem 0}
.product-body .check-list{display:flex;flex-direction:column;gap:.55rem;margin:1.25rem 0}
.product-body :is(.check-item,.check-list li){display:flex;gap:.55rem;font-size:.9rem;
  color:#5C5C66;line-height:1.6}
.product-body :is(.check-item,.check-list li) i{color:#2E7D5A;margin-top:3px;flex-shrink:0}

/* ---- Card grids (number cards, benefit cards, steps…) ---- */
.product-body :is(.stat-grid,.num-grid,.num-grid-2,.num-grid-3,.num-grid-4,.benefit-grid,.flag-grid,.ratio-grid,.step-grid){
  display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:1rem;margin:1.5rem 0}
.product-body :is(.stat-card,.num-card,.benefit-card,.flag-card,.ratio-card,.step-card){
  background:#FAFAF8;border:1px solid #E6E6E4;border-radius:12px;padding:1.3rem}
.product-body :is(.stat-card,.num-card){text-align:center}
.product-body :is(.stat-card,.num-card) :is(.stat-num,.num){
  display:block;font-size:1.85rem;font-weight:800;color:#4A6FA5;line-height:1;
  margin-bottom:.35rem;font-variant-numeric:tabular-nums}
.product-body :is(.stat-card,.num-card,.benefit-card,.flag-card,.ratio-card,.step-card) :is(h3,h4){
  font-size:.95rem;color:#1E1E24;margin:0 0 .4rem}
.product-body :is(.stat-card,.num-card,.benefit-card,.flag-card,.ratio-card,.step-card) p{
  font-size:.85rem;color:#5C5C66;line-height:1.6;margin:0}

/* ---- Error / pitfall list ---- */
.product-body .error-list{display:flex;flex-direction:column;margin:1.25rem 0}
.product-body .error-item{display:flex;gap:.6rem;font-size:.9rem;color:#5C5C66;line-height:1.6;
  padding:.62rem 0;border-bottom:1px solid #EFEFEC}
.product-body .error-item::before{content:"\f071";font-family:"Font Awesome 6 Free";font-weight:900;
  color:#B45309;flex-shrink:0;font-size:.8rem;margin-top:2px}

/* ---- Timeline ---- */
.product-body .timeline{position:relative;padding-left:1.75rem;margin:1.5rem 0}
.product-body .timeline::before{content:'';position:absolute;left:5px;top:.4rem;bottom:.4rem;
  width:2px;background:#D4DEEC}
.product-body .timeline-step{position:relative;margin-bottom:1.35rem}
.product-body .timeline-step::before{content:'';position:absolute;left:-1.75rem;top:.3rem;
  width:12px;height:12px;background:#4A6FA5;border-radius:50%;box-shadow:0 0 0 3px #fff}
.product-body .timeline-step :is(h3,h4){font-size:.92rem;color:#1E1E24;margin:0 0 .2rem}
.product-body .timeline-step p{font-size:.85rem;color:#5C5C66;line-height:1.6;margin:0}

/* ---- Wide tables scroll inside their column ---- */
.product-body .cmp-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:1.25rem 0 2rem}

/* ---- FAQ — canonical accordion ---- */
.product-body .faq-grid{display:flex;flex-direction:column;gap:.55rem;margin:1.5rem 0;max-width:none}
.product-body .faq-item{background:#fff;border:1px solid #E6E6E4;border-radius:10px;overflow:hidden}
.product-body .faq-item[open]{border-color:#C5D2E6}
.product-body .faq-item summary{list-style:none;display:flex;justify-content:space-between;
  align-items:center;gap:1rem;cursor:pointer;padding:1rem 1.25rem;
  font-size:.95rem;font-weight:600;color:#1E1E24}
.product-body .faq-item summary::-webkit-details-marker{display:none}
.product-body .faq-item summary::after{content:'+';font-size:1.35rem;font-weight:400;
  color:#4A6FA5;flex-shrink:0;line-height:1;transition:transform .2s}
.product-body .faq-item[open] summary::after{transform:rotate(45deg)}
.product-body .faq-item>*:not(summary){margin:0;padding:0 1.25rem 1.1rem;
  font-size:.9rem;color:#5C5C66;line-height:1.7}

/* ---- Number-card inner labels (big / label pattern) ---- */
.product-body :is(.num-card,.stat-card) .big{display:block;font-size:1.15rem;font-weight:800;
  color:#1E1E24;line-height:1.15;margin-bottom:.4rem}
.product-body :is(.num-card,.stat-card) .label{font-size:.85rem;color:#5C5C66;line-height:1.6}

/* ---- Lexicon / glossary ---- */
.product-body .lex-list{display:flex;flex-direction:column;margin:1.5rem 0}
.product-body .lex-entry{display:grid;grid-template-columns:minmax(130px,200px) minmax(0,1fr);
  gap:.25rem 1.25rem;padding:.75rem 0;border-bottom:1px solid #EFEFEC}
.product-body .lex-term{font-weight:700;color:#1E1E24;font-size:.9rem}
.product-body .lex-def{font-size:.875rem;color:#5C5C66;line-height:1.6}
@media(max-width:560px){.product-body .lex-entry{grid-template-columns:minmax(0,1fr);gap:.15rem}}

/* ---- Section lead paragraph ---- */
.product-body .sec-lead{font-size:1.05rem;color:#3A3A42;line-height:1.7;margin:.35rem 0 1.25rem}

/* ============================================================
   FORMULAIRE DE CONTACT
   ============================================================ */
.rj-contact-form{display:flex;flex-direction:column;gap:1.1rem;margin:1.25rem 0 .5rem}
.rj-form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.1rem}
@media(max-width:560px){.rj-form-row{grid-template-columns:minmax(0,1fr)}}
.rj-form-field{display:flex;flex-direction:column;gap:.35rem}
.rj-form-field label{font-size:.85rem;font-weight:600;color:#1E1E24}
.rj-contact-form input,.rj-contact-form select,.rj-contact-form textarea{
  width:100%;padding:.7rem .9rem;font:inherit;font-size:.95rem;color:#1E1E24;
  background:#fff;border:1px solid #D8DBE0;border-radius:8px;
  transition:border-color .15s ease,box-shadow .15s ease}
.rj-contact-form input:focus,.rj-contact-form select:focus,.rj-contact-form textarea:focus{
  outline:none;border-color:#4A6FA5;box-shadow:0 0 0 3px rgba(74,111,165,.18)}
.rj-contact-form textarea{resize:vertical;min-height:120px}
.rj-form-consent{display:flex;gap:.6rem;align-items:flex-start;font-size:.85rem;color:#5C5C66;line-height:1.55}
.rj-form-consent input{width:auto;flex-shrink:0;margin-top:.15rem}
.rj-contact-form button[type="submit"]{align-self:flex-start}
.rj-form-status{font-size:.9rem;margin:.25rem 0 0;min-height:1.2em}
.rj-form-status.is-ok{color:#2E7D5A;font-weight:600}
.rj-form-status.is-err{color:#C0392B;font-weight:600}

/* ============================================================
   CORRECTIFS RESPONSIVE — anti-débordement, tables, grands
   écrans & footer compact. Bloc final : prévaut sur le reste.
   ============================================================ */

/* ---- Anti-débordement global : rien ne sort des cadres ---- */
html,body{max-width:100%}
img,svg,video,iframe,canvas,table{max-width:100%}
.product-body table,.article-body table,.sim table,.fr-prose table{height:auto}
p,li,h1,h2,h3,h4,h5,h6,a,span,strong,em,blockquote,figcaption,dt,dd,
.card-title,.card-text,.section-title,.section-text,.kicker,
.fr-hub-card,.silo-card,.theme-board-card,.article-card,.metric-card,
.fr-values article,.fr-expertise,.stat-card,.num-card,.benefit-card{
  overflow-wrap:break-word;word-break:break-word;hyphens:auto}

/* ---- Toutes les tables de contenu deviennent défilables ---- */
.product-body table,.article-body table,.sim table,.fr-prose table,
.rj-table,.cmp-table,.content-table{
  display:block;width:100%;max-width:100%;
  overflow-x:auto;-webkit-overflow-scrolling:touch}
.product-body table tbody,.article-body table tbody,.sim table tbody{width:100%}

/* ---- Sommaire : items cliquables (.toc-item devient un lien) ---- */
.toc-item--link{cursor:pointer;transition:color .15s ease,background-color .15s ease,padding-left .15s ease;border-radius:6px}
.toc-item--link:hover,.toc-item--link:focus-visible{color:#0F1628;background:#EDF1F7;padding-left:.5rem}
.toc-item--link:hover .toc-num{color:#0F1628}
.toc-floating a{cursor:pointer}

/* ---- Grands écrans : le site grandit avec l'écran ---- */
@media(min-width:1600px){
  html{font-size:108%}
  .container,.container-rj,.site-header-inner{max-width:1360px}
}
@media(min-width:1920px){
  html{font-size:116%}
  .container,.container-rj,.site-header-inner{max-width:1520px}
}
@media(min-width:2560px){
  html{font-size:132%}
  .container,.container-rj,.site-header-inner{max-width:1880px}
}
@media(min-width:3200px){
  html{font-size:150%}
  .container,.container-rj,.site-header-inner{max-width:2280px}
}

/* ---- Footer compact en mobile ---- */
@media(max-width:768px){
  .site-footer{padding:2.25rem 0 1.5rem;margin-top:3rem;font-size:12px}
  .fr-footer__top{gap:1.5rem;margin-bottom:1.5rem}
  .fr-footer__brand p{margin:.5rem 0;font-size:12px;line-height:1.6}
  .fr-footer__contact{margin-bottom:.75rem}
  /* Les 3 rubriques de liens passent en 2 colonnes serrées */
  .fr-footer__cols{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:1.1rem 1rem}
  .fr-footer__cols h2{margin-bottom:.4rem;font-size:.7rem}
  .fr-footer__cols a,.fr-footer__cols p{margin-bottom:.3rem;line-height:1.45;font-size:12px}
  .fr-footer__legal{padding-top:1rem;gap:.4rem .8rem;font-size:.7rem}
}
