/* Calculatrice.com – refonte partielle math/en-ligne.php
   Fichier volontairement neuf : ne remplace aucun CSS existant.
   Version v7 : header synchronisé + calculatrice scientifique desktop large.
   Préfixe de classes : cr- pour limiter les conflits avec l'ancien site. */

:root{
  --cr-orange:#ffa300;
  --cr-orange-dark:#d87800;
  --cr-orange-soft:#fff3d8;
  --cr-ink:#121827;
  --cr-ink-2:#25324a;
  --cr-muted:#667085;
  --cr-line:#e3e8f2;
  --cr-bg:#f4f7fb;
  --cr-card:#ffffff;
  --cr-green:#00a033;
  --cr-red:#e02020;
  --cr-blue:#0091ff;
  --cr-shadow:0 18px 45px rgba(15,23,42,.10);
  --cr-shadow-soft:0 10px 26px rgba(15,23,42,.08);
  --cr-radius:22px;
  --cr-max:1320px;
}

body.cr-page{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  background:var(--cr-bg);
  color:var(--cr-ink);
  line-height:1.65;
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
}

body.cr-page *,
body.cr-page *::before,
body.cr-page *::after{box-sizing:border-box}

body.cr-page a{color:#8a4b00;text-decoration:none}
body.cr-page a:hover{text-decoration:underline}
body.cr-page img{max-width:100%;height:auto}
body.cr-page button,
body.cr-page input{font:inherit}

.cr-skip{
  position:absolute;
  left:-9999px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}
.cr-skip:focus{
  left:16px;
  top:12px;
  width:auto;
  height:auto;
  z-index:9999;
  padding:10px 14px;
  background:#fff;
  border:2px solid var(--cr-orange);
  border-radius:12px;
}

.cr-wrap{
  width:min(var(--cr-max),calc(100% - 32px));
  margin-inline:auto;
}

.cr-topbar{
  background:#fff;
  border-bottom:1px solid var(--cr-line);
  font-size:13px;
}
.cr-topbar-inner{
  display:flex;
  justify-content:center;
  gap:16px;
  flex-wrap:wrap;
  padding:6px 0;
}
.cr-topbar a{
  color:var(--cr-muted);
  text-transform:uppercase;
  letter-spacing:.04em;
  font-weight:700;
  white-space:nowrap;
}
.cr-topbar a:hover{text-decoration:none;color:var(--cr-ink)}
.cr-topbar .cr-occ-outils span{color:var(--cr-green)}
.cr-topbar .cr-occ-calculatrice span{color:var(--cr-orange)}
.cr-topbar .cr-occ-convertisseur span{color:var(--cr-red)}
.cr-topbar .cr-occ-statistiques span{color:var(--cr-blue)}

.cr-header{
  position:sticky;
  top:0;
  z-index:60;
  background:rgba(255,255,255,.96);
  border-bottom:1px solid var(--cr-line);
  backdrop-filter:saturate(1.3) blur(12px);
}
.cr-header-inner{
  min-height:66px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.cr-logo{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:180px;
}
.cr-logo img{
  display:block;
  height:42px;
  width:auto;
}
.cr-logo-fallback{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  color:var(--cr-ink);
  font-size:22px;
  font-weight:900;
  letter-spacing:-.05em;
}
.cr-logo-fallback span{color:var(--cr-orange)}

.cr-nav-toggle{
  display:none;
  align-items:center;
  justify-content:center;
  width:42px;
  height:42px;
  border:1px solid var(--cr-line);
  border-radius:14px;
  background:#fff;
  color:var(--cr-ink);
  cursor:pointer;
}
.cr-nav-toggle span,
.cr-nav-toggle span::before,
.cr-nav-toggle span::after{
  display:block;
  width:18px;
  height:2px;
  background:var(--cr-ink);
  border-radius:999px;
  content:"";
}
.cr-nav-toggle span{position:relative}
.cr-nav-toggle span::before{position:absolute;top:-6px;left:0}
.cr-nav-toggle span::after{position:absolute;top:6px;left:0}

.cr-nav-list{
  list-style:none;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:18px;
  margin:0;
  padding:0;
  font-size:14px;
}
.cr-nav-list a{
  color:var(--cr-muted);
  font-weight:700;
}
.cr-nav-list a:hover,
.cr-nav-list .cr-active{
  color:#7a4300;
  text-decoration:none;
}
.cr-nav-list .cr-active{
  border-bottom:3px solid var(--cr-orange);
  padding-bottom:4px;
}

.cr-toc{
  background:#fff;
  border-bottom:1px solid var(--cr-line);
}
.cr-toc-inner{
  display:flex;
  align-items:center;
  gap:18px;
  padding:10px 0;
  overflow:auto;
  scrollbar-width:thin;
}
.cr-breadcrumb{
  display:flex;
  align-items:center;
  gap:8px;
  flex:0 0 auto;
  color:#7a8497;
  font-size:13px;
  white-space:nowrap;
}
.cr-breadcrumb ol{
  display:flex;
  align-items:center;
  gap:8px;
  margin:0;
  padding:0;
  list-style:none;
}
.cr-breadcrumb a{color:#7a8497;font-weight:700}
.cr-toc-links{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:max-content;
}
.cr-toc-links a{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:4px 10px;
  border-radius:999px;
  background:#f7f8fb;
  color:#5b6474;
  font-size:13px;
  font-weight:800;
}
.cr-toc-links a:hover{background:var(--cr-orange-soft);color:#7a4300;text-decoration:none}

.cr-hero{
  position:relative;
  overflow:hidden;
  color:#fff;
  background:
    radial-gradient(circle at 12% 16%, rgba(255,255,255,.22), transparent 26%),
    radial-gradient(circle at 96% 4%, rgba(255,255,255,.17), transparent 28%),
    linear-gradient(135deg,#ffb229 0%,#ffa300 36%,#d87800 100%);
  padding:40px 0 42px;
}
.cr-hero::after{
  content:"";
  position:absolute;
  right:-120px;
  top:-100px;
  width:320px;
  height:320px;
  border-radius:999px;
  border:34px solid rgba(255,255,255,.13);
}
.cr-hero-grid{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);
  gap:28px;
  align-items:center;
}
.cr-hero-copy{max-width:760px}
.cr-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:5px 11px;
  border-radius:999px;
  background:rgba(18,24,39,.22);
  color:#fff;
  font-size:12px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.cr-hero h1{
  margin:16px 0 12px;
  color:#fff;
  font-size:clamp(34px,5vw,58px);
  line-height:1.02;
  letter-spacing:-.055em;
}
.cr-hero-lead{
  margin:0;
  max-width:68ch;
  color:#fff8e8;
  font-size:18px;
  line-height:1.72;
}
.cr-hero-answer{
  margin:16px 0 0;
  padding:14px 16px;
  border:1px solid rgba(255,255,255,.22);
  border-radius:18px;
  background:rgba(18,24,39,.18);
  color:#fff;
  line-height:1.68;
}
.cr-chip-row{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:16px;
}
.cr-chip{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:5px 11px;
  border:1px solid rgba(255,255,255,.32);
  border-radius:999px;
  color:#fff;
  background:rgba(255,255,255,.13);
  font-size:12px;
  font-weight:800;
}

.cr-calc-card{
  border-radius:28px;
  background:#131823;
  box-shadow:0 24px 55px rgba(51,30,0,.35);
  padding:16px;
  border:1px solid rgba(255,255,255,.20);
}
.cr-calc-card-inner{
  border-radius:24px;
  background:linear-gradient(180deg,#202838,#121827);
  padding:16px;
}
.cr-calc-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  margin-bottom:12px;
}
.cr-calc-head h2{
  margin:0;
  color:#fff;
  font-size:18px;
  line-height:1.25;
  letter-spacing:-.02em;
}
.cr-calc-head p{
  margin:4px 0 0;
  color:#b7c0d4;
  font-size:13px;
  line-height:1.45;
}
.cr-calc-badge{
  flex:0 0 auto;
  border-radius:999px;
  background:var(--cr-orange);
  color:#2b1900;
  font-size:11px;
  font-weight:950;
  padding:5px 9px;
  text-transform:uppercase;
  letter-spacing:.07em;
}
.cr-calc-screen{
  min-height:122px;
  border-radius:20px;
  background:#eef3ff;
  color:#121827;
  padding:13px 14px;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.8);
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:8px;
}
.cr-calc-formula-label{
  display:block;
  color:#667085;
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.cr-calc-formula{
  margin-top:2px;
  min-height:22px;
  color:#3b465d;
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,"Liberation Mono",monospace;
  font-size:15px;
  overflow-wrap:anywhere;
}
.cr-calc-result{
  width:100%;
  min-height:42px;
  display:block;
  color:#101828;
  font-size:clamp(28px,4vw,40px);
  line-height:1.05;
  font-weight:900;
  letter-spacing:-.04em;
  text-align:right;
  overflow-wrap:anywhere;
}
.cr-calc-message{
  min-height:22px;
  color:#ffdba0;
  font-size:13px;
  margin:9px 2px 10px;
}
.cr-calc-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:8px;
}
.cr-calc-key{
  min-height:52px;
  border:0;
  border-radius:16px;
  cursor:pointer;
  color:#fff;
  background:#2b3448;
  font-size:18px;
  font-weight:850;
  box-shadow:inset 0 -2px 0 rgba(0,0,0,.22);
}
.cr-calc-key:hover{filter:brightness(1.08)}
.cr-calc-key:active{transform:translateY(1px)}
.cr-calc-key:focus-visible{outline:3px solid rgba(255,163,0,.6);outline-offset:2px}
.cr-calc-key.cr-key-soft{background:#3e4a63;color:#e8eefc;font-size:16px}
.cr-calc-key.cr-key-op{background:#7a4300;color:#fff}
.cr-calc-key.cr-key-main{background:var(--cr-orange);color:#2b1900}
.cr-calc-key.cr-key-wide{grid-column:span 2}
.cr-calc-examples{
  margin-top:12px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
}
.cr-example-btn{
  text-align:left;
  border:1px solid rgba(255,255,255,.16);
  border-radius:15px;
  background:rgba(255,255,255,.08);
  color:#fff;
  padding:10px 11px;
  cursor:pointer;
  line-height:1.35;
}
.cr-example-btn strong{display:block;font-size:13px;color:#fff}
.cr-example-btn span{display:block;font-size:12px;color:#cbd5e1;margin-top:2px}
.cr-example-btn:hover{background:rgba(255,255,255,.13)}
.cr-calc-note{
  margin:10px 2px 0;
  color:#aab4c8;
  font-size:12px;
  line-height:1.5;
}

.cr-main{
  padding:28px 0 34px;
}
.cr-section{
  scroll-margin-top:112px;
  margin:0 0 24px;
}
.cr-content-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) 348px;
  gap:24px;
  align-items:start;
}
.cr-primary,
.cr-sidebar{min-width:0}
.cr-sidebar{
  position:sticky;
  top:94px;
}
.cr-surface{
  background:var(--cr-card);
  border:1px solid var(--cr-line);
  border-radius:var(--cr-radius);
  box-shadow:var(--cr-shadow-soft);
  padding:22px;
}
.cr-surface + .cr-surface{margin-top:16px}
.cr-section-head{margin-bottom:16px}
.cr-eyebrow{
  display:inline-flex;
  align-items:center;
  color:#9b5900;
  background:var(--cr-orange-soft);
  border-radius:999px;
  padding:4px 10px;
  font-size:12px;
  font-weight:950;
  letter-spacing:.08em;
  text-transform:uppercase;
  margin-bottom:8px;
}
.cr-section h2,
.cr-surface h2{
  margin:0;
  color:#132238;
  font-size:clamp(24px,3vw,34px);
  line-height:1.12;
  letter-spacing:-.035em;
}
.cr-section h3,
.cr-surface h3{
  margin:0;
  color:#182237;
  line-height:1.2;
  letter-spacing:-.025em;
}
.cr-section-head p{
  margin:8px 0 0;
  color:#546177;
  font-size:15px;
}
.cr-card-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
.cr-tool-card{
  display:flex;
  flex-direction:column;
  min-height:190px;
  padding:17px;
  border-radius:20px;
  border:1px solid #e6ebf3;
  background:#fff;
  box-shadow:0 10px 22px rgba(15,23,42,.055);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.cr-tool-card:hover{
  transform:translateY(-2px);
  border-color:#ffd391;
  box-shadow:0 16px 30px rgba(15,23,42,.09);
  text-decoration:none;
}
.cr-tool-icon{
  width:42px;
  height:42px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:14px;
  background:#fff1cd;
  color:#8a4b00;
  font-weight:950;
  margin-bottom:12px;
}
.cr-tool-card h3{font-size:18px;margin-bottom:8px}
.cr-tool-card p{margin:0;color:#5e6a7e;font-size:14px;line-height:1.55}
.cr-tool-meta{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:auto;
  padding-top:14px;
}
.cr-tag{
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  background:#f4f6fa;
  color:#667085;
  padding:3px 8px;
  font-size:12px;
  font-weight:800;
}
.cr-tool-card.cr-featured{
  background:linear-gradient(160deg,#fff 0%,#fff7e6 100%);
  border-color:#ffd391;
}

.cr-ad{
  overflow:hidden;
  min-height:250px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px dashed #d7deea;
  border-radius:20px;
  background:#fff;
  color:#8b95a8;
  text-align:center;
  margin:18px 0;
}
.cr-ad.cr-ad-inline{min-height:220px}
.cr-ad.cr-ad-after-top-tools{margin:18px 0 24px}
.cr-ad.cr-ad-sidebar{min-height:300px;margin:0 0 16px}
.cr-ad.cr-ad-sidebar-under-calculator{margin-top:0}
.cr-ad ins{width:100%}
.cr-ad-label{
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip:rect(0 0 0 0);
}

.cr-filter-box{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:12px;
  align-items:center;
  margin-bottom:14px;
}
.cr-search{
  width:100%;
  min-height:48px;
  border:1px solid var(--cr-line);
  border-radius:16px;
  background:#fff;
  color:var(--cr-ink);
  padding:0 14px;
  outline:none;
}
.cr-search:focus{border-color:var(--cr-orange);box-shadow:0 0 0 4px rgba(255,163,0,.16)}
.cr-filter-count{
  color:#6b7385;
  font-weight:800;
  font-size:13px;
  white-space:nowrap;
}
.cr-tool-list{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.cr-tool-line{
  display:grid;
  grid-template-columns:38px minmax(0,1fr);
  gap:10px;
  align-items:center;
  padding:12px;
  border:1px solid var(--cr-line);
  border-radius:16px;
  background:#fff;
  min-height:74px;
}
.cr-tool-line[hidden]{display:none!important}
.cr-line-icon{
  width:38px;
  height:38px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:13px;
  background:#fff2d4;
  color:#8a4b00;
  font-weight:950;
}
.cr-tool-line a{
  color:#172033;
  font-weight:900;
}
.cr-tool-line p{
  margin:3px 0 0;
  color:#6b7385;
  font-size:13px;
  line-height:1.4;
}
.cr-empty-filter{
  display:none;
  margin:12px 0 0;
  color:#8a4b00;
  background:#fff6e2;
  border-radius:14px;
  padding:12px 14px;
  font-weight:800;
}
.cr-empty-filter.cr-show{display:block}

.cr-dossier-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
.cr-dossier{
  padding:18px;
  border-radius:20px;
  border:1px solid #e6ebf3;
  background:linear-gradient(180deg,#fff,#f9fbff);
}
.cr-dossier h3{font-size:18px;margin-bottom:8px}
.cr-dossier p{margin:0 0 12px;color:#5e6a7e;font-size:14px}
.cr-dossier a{font-weight:900;color:#8a4b00}

.cr-guide-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}
.cr-guide-box{
  border-radius:20px;
  background:#fff;
  border:1px solid var(--cr-line);
  padding:18px;
}
.cr-guide-box ul{
  margin:10px 0 0;
  padding-left:20px;
  color:#566275;
}
.cr-guide-box li + li{margin-top:6px}
.cr-formula-list{
  display:grid;
  gap:9px;
  margin-top:10px;
}
.cr-formula-item{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:10px 12px;
  border-radius:14px;
  background:#f7f9fd;
  color:#354258;
  font-size:14px;
}
.cr-formula-item code{
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,"Liberation Mono",monospace;
  color:#8a4b00;
  font-weight:900;
}

.cr-faq{
  display:grid;
  gap:10px;
}
.cr-faq-item{
  border:1px solid var(--cr-line);
  border-radius:18px;
  background:#fff;
  overflow:hidden;
}
.cr-faq-question{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  border:0;
  background:#fff;
  color:#172033;
  padding:16px 18px;
  text-align:left;
  cursor:pointer;
  font-weight:900;
}
.cr-faq-toggle{
  flex:0 0 auto;
  width:26px;
  height:26px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:#fff0c9;
  color:#8a4b00;
  font-weight:950;
}
.cr-faq-answer{
  display:none;
  padding:0 18px 16px;
  color:#586376;
}
.cr-faq-answer p{margin:0}
.cr-faq-item.cr-open .cr-faq-answer{display:block}
.cr-faq-item.cr-open .cr-faq-toggle{background:var(--cr-orange);color:#2b1900}

.cr-sidebar-card{
  background:#fff;
  border:1px solid var(--cr-line);
  border-radius:22px;
  box-shadow:var(--cr-shadow-soft);
  padding:18px;
}
.cr-sidebar-card + .cr-sidebar-card{margin-top:16px}
.cr-sidebar-card h2,
.cr-sidebar-card h3{
  font-size:18px;
  margin:0 0 10px;
  color:#172033;
}
.cr-sidebar-card p{
  margin:0;
  color:#5d6879;
  font-size:14px;
}
.cr-side-links{
  list-style:none;
  margin:12px 0 0;
  padding:0;
  display:grid;
  gap:8px;
}
.cr-side-links a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  border-radius:14px;
  background:#f7f9fd;
  padding:10px 12px;
  color:#263348;
  font-weight:850;
}
.cr-side-links a::after{content:"›";color:#8a4b00;font-weight:950}
.cr-side-links a:hover{text-decoration:none;background:#fff2d4;color:#7a4300}
.cr-editorial{
  display:grid;
  gap:10px;
  margin-top:12px;
}
.cr-editorial-row{
  border-radius:14px;
  background:#f7f9fd;
  padding:10px 12px;
}
.cr-editorial-row span{
  display:block;
  color:#7a8497;
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.cr-editorial-row strong{
  display:block;
  margin-top:2px;
  color:#172033;
  font-size:14px;
}

.cr-related-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}
.cr-related-card{
  border:1px solid var(--cr-line);
  border-radius:18px;
  background:#fff;
  padding:16px;
}
.cr-related-card h3{font-size:16px;margin-bottom:6px}
.cr-related-card p{margin:0 0 9px;color:#5e6a7e;font-size:13px;line-height:1.45}
.cr-related-card a{font-weight:900}

.cr-bottom-breadcrumb{
  margin-top:20px;
  padding:14px 0 24px;
  border-top:1px solid var(--cr-line);
}
.cr-footer{
  background:#121827;
  color:#d6deee;
  padding:28px 0;
}
.cr-footer-grid{
  display:grid;
  grid-template-columns:1fr auto;
  gap:24px;
  align-items:center;
}
.cr-footer a{color:#fff}
.cr-footer p{margin:0;color:#d6deee;font-size:14px}
.cr-footer-links{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  font-size:14px;
  font-weight:800;
}

@media (max-width:1120px){
  .cr-hero-grid{grid-template-columns:1fr;align-items:start}
  .cr-calc-card{max-width:720px}
  .cr-content-grid{grid-template-columns:1fr}
  .cr-sidebar{position:static;display:grid;grid-template-columns:1fr 1fr;gap:16px}
  .cr-sidebar-card + .cr-sidebar-card{margin-top:0}
}
@media (max-width:900px){
  .cr-wrap{width:min(100% - 24px,var(--cr-max))}
  .cr-topbar{display:none}
  .cr-header-inner{min-height:62px}
  .cr-nav-toggle{display:inline-flex}
  .cr-nav{display:none;position:absolute;left:12px;right:12px;top:62px;background:#fff;border:1px solid var(--cr-line);border-radius:18px;box-shadow:var(--cr-shadow);padding:14px}
  .cr-header.cr-nav-open .cr-nav{display:block}
  .cr-nav-list{display:grid;grid-template-columns:1fr 1fr;gap:10px}
  .cr-nav-list a{display:block;padding:9px 10px;border-radius:12px;background:#f7f8fb}
  .cr-nav-list .cr-active{border-bottom:0;background:#fff0c9}
  .cr-hero{padding:30px 0 32px}
  .cr-hero-lead{font-size:16px}
  .cr-card-grid{grid-template-columns:1fr 1fr}
  .cr-related-grid{grid-template-columns:1fr 1fr}
  .cr-sidebar{grid-template-columns:1fr}
  .cr-footer-grid{grid-template-columns:1fr}
}
@media (max-width:680px){
  .cr-toc-inner{padding:8px 0}
  .cr-breadcrumb{display:none}
  .cr-hero h1{font-size:34px}
  .cr-calc-card{padding:10px;border-radius:22px}
  .cr-calc-card-inner{padding:12px;border-radius:19px}
  .cr-calc-head{display:block}
  .cr-calc-badge{display:inline-flex;margin-top:8px}
  .cr-calc-key{min-height:48px;border-radius:14px;font-size:17px}
  .cr-calc-examples{grid-template-columns:1fr}
  .cr-main{padding-top:18px}
  .cr-surface{padding:17px;border-radius:19px}
  .cr-card-grid,
  .cr-tool-list,
  .cr-dossier-grid,
  .cr-guide-grid,
  .cr-related-grid{grid-template-columns:1fr}
  .cr-filter-box{grid-template-columns:1fr}
  .cr-filter-count{white-space:normal}
  .cr-footer-links{display:grid;gap:8px}
}
@media (prefers-reduced-motion:reduce){
  .cr-tool-card{transition:none}
  .cr-calc-key:active{transform:none}
}

/* --------------------------------------------------------------------------
   V4 — Header + largeur rapprochés de Statistiques.com
   -------------------------------------------------------------------------- */
:root{
  --cr-max:1320px;
  --cr-header-line:#edf1f6;
}

body.cr-page{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  overflow-x:clip;
}

/* Anti auto-ads : seules les annonces rendues dans .cr-ad restent autorisées. */
body.cr-page ins.adsbygoogle:not([data-cr-manual-ad]),
body.cr-page .google-auto-placed,
body.cr-page .adsbygoogle-noablate,
body.cr-page .cr-topbar ins,
body.cr-page .cr-header ins,
body.cr-page .cr-toc ins,
body.cr-page .cr-topbar iframe,
body.cr-page .cr-header iframe,
body.cr-page .cr-toc iframe,
body.cr-page .cr-topbar [id^="aswift_"],
body.cr-page .cr-header [id^="aswift_"],
body.cr-page .cr-toc [id^="aswift_"],
body.cr-page > [id^="aswift_"],
body.cr-page > [id^="google_ads_iframe_"]{
  display:none!important;
  visibility:hidden!important;
  height:0!important;
  min-height:0!important;
  max-height:0!important;
  overflow:hidden!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
}
body.cr-page .cr-ad ins.adsbygoogle[data-cr-manual-ad],
body.cr-page .cr-ad iframe,
body.cr-page .cr-ad [id^="aswift_"]{
  display:block!important;
  visibility:visible!important;
  min-height:0;
  overflow:visible;
}

/* Largeur desktop : on évite l'effet colonne étriquée de la v3. */
@media (min-width:901px){
  body.cr-page .cr-wrap{
    width:80vw!important;
    max-width:1540px!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
}
@media (max-width:900px){
  body.cr-page .cr-wrap{
    width:100%!important;
    max-width:var(--cr-max)!important;
    padding-left:16px!important;
    padding-right:16px!important;
  }
}

/* Bande réseau OCCS. */
body.cr-page .cr-topbar{
  height:auto!important;
  min-height:0!important;
  background:#fff!important;
  border-bottom:1px solid var(--cr-header-line)!important;
  font-size:12px!important;
  line-height:1.45!important;
  overflow:visible!important;
}
body.cr-page .cr-topbar-inner{
  height:auto!important;
  min-height:0!important;
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  gap:16px!important;
  flex-wrap:wrap!important;
  padding:5px 0!important;
  overflow:visible!important;
}
body.cr-page .cr-topbar a{
  display:inline-flex!important;
  align-items:center!important;
  color:#5b6474!important;
  text-transform:uppercase!important;
  letter-spacing:.035em!important;
  font-size:12px!important;
  font-weight:600!important;
  line-height:1.35!important;
  white-space:nowrap!important;
}
body.cr-page .cr-topbar a span{font-weight:900!important;}
body.cr-page .cr-topbar a:hover{color:var(--cr-ink)!important;text-decoration:none!important;}
body.cr-page .cr-topbar .cr-occ-outils span{color:var(--cr-green)!important;}
body.cr-page .cr-topbar .cr-occ-calculatrice span{color:var(--cr-orange)!important;}
body.cr-page .cr-topbar .cr-occ-convertisseur span{color:var(--cr-red)!important;}
body.cr-page .cr-topbar .cr-occ-statistiques span{color:var(--cr-blue)!important;}

/* Header principal : logo à gauche, navigation à droite, sans zone pub haute. */
body.cr-page .cr-header{
  position:relative!important;
  top:auto!important;
  z-index:40!important;
  background:#fff!important;
  border-bottom:1px solid var(--cr-header-line)!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
}
body.cr-page .cr-header-inner{
  height:auto!important;
  min-height:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:24px!important;
  flex-wrap:wrap!important;
  padding:12px 0!important;
  overflow:visible!important;
}
body.cr-page .cr-logo{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  flex:0 0 auto!important;
  min-width:0!important;
  line-height:1!important;
}
body.cr-page .cr-logo img{
  display:block!important;
  height:38px!important;
  width:auto!important;
  max-width:210px!important;
  object-fit:contain!important;
}
body.cr-page .cr-logo-fallback{
  min-height:38px!important;
  font-size:24px!important;
  line-height:1!important;
}
body.cr-page .cr-nav-toggle{display:none!important;}
body.cr-page .cr-nav{
  position:relative!important;
  display:block!important;
  flex:1 1 auto!important;
  min-width:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  padding:0!important;
}
body.cr-page .cr-nav-list{
  list-style:none!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:17px!important;
  flex-wrap:wrap!important;
  margin:0!important;
  padding:0!important;
  font-size:14px!important;
  line-height:1.45!important;
}
body.cr-page .cr-nav-list a{
  display:inline!important;
  height:auto!important;
  min-height:0!important;
  padding:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#5b6474!important;
  font-size:14px!important;
  font-weight:600!important;
  line-height:1.45!important;
  white-space:nowrap!important;
}
body.cr-page .cr-nav-list a:hover{
  color:#7a4300!important;
  text-decoration:none!important;
}
body.cr-page .cr-nav-list a.cr-active,
body.cr-page .cr-nav-list .cr-active{
  color:#7a4300!important;
  border-bottom:2px solid var(--cr-orange)!important;
  padding-bottom:3px!important;
}
body.cr-page .cr-nav-list .cr-active::after{display:none!important;}

/* Sommaire / breadcrumb compact, mais lisible. */
body.cr-page .cr-toc{
  background:#fff!important;
  border-bottom:1px solid var(--cr-header-line)!important;
}
body.cr-page .cr-toc-inner{
  height:auto!important;
  min-height:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
  flex-wrap:wrap!important;
  padding:10px 0!important;
  overflow:visible!important;
}
body.cr-page .cr-breadcrumb{
  flex:0 1 auto!important;
  display:flex!important;
  align-items:center!important;
  gap:6px!important;
  color:rgba(17,17,17,.72)!important;
  font-size:12px!important;
  line-height:1.5!important;
  white-space:nowrap!important;
  overflow:visible!important;
  text-overflow:clip!important;
}
body.cr-page .cr-breadcrumb ol{
  display:flex!important;
  align-items:center!important;
  gap:6px!important;
  flex-wrap:wrap!important;
  margin:0!important;
  padding:0!important;
  list-style:none!important;
}
body.cr-page .cr-breadcrumb a{
  color:rgba(17,17,17,.82)!important;
  font-size:12px!important;
  font-weight:600!important;
  line-height:1.5!important;
}
body.cr-page .cr-breadcrumb a:hover{color:#7a4300!important;text-decoration:underline!important;}
body.cr-page .cr-toc-links{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
  flex-wrap:wrap!important;
  min-width:0!important;
}
body.cr-page .cr-toc-links a{
  display:inline-block!important;
  min-height:0!important;
  height:auto!important;
  padding:4px 10px!important;
  border:1px solid #f0d9a6!important;
  border-radius:999px!important;
  background:var(--cr-orange-soft)!important;
  color:#7a4300!important;
  font-size:12px!important;
  font-weight:600!important;
  line-height:1.5!important;
  white-space:nowrap!important;
}
body.cr-page .cr-toc-links a:hover,
body.cr-page .cr-toc-links a.cr-toc-current{
  background:#ffe6ad!important;
  color:#6f3d00!important;
  text-decoration:none!important;
}

/* Hero et corps alignés sur la nouvelle largeur. */
body.cr-page .cr-main{padding-top:0!important;}
body.cr-page .cr-hero{
  margin-top:0!important;
  padding:34px 0 38px!important;
}
body.cr-page .cr-hero-grid{
  grid-template-columns:minmax(0,1.18fr) 430px!important;
  gap:34px!important;
  align-items:center!important;
}
body.cr-page .cr-hero-copy{max-width:none!important;}
body.cr-page .cr-hero h1{font-size:clamp(42px,4vw,62px)!important;line-height:1.06!important;}
body.cr-page .cr-hero-lead{font-size:17px!important;line-height:1.72!important;max-width:72ch!important;}
body.cr-page .cr-hero-answer{font-size:15px!important;line-height:1.75!important;max-width:72ch!important;}
body.cr-page .cr-chip{min-height:32px!important;padding:7px 12px!important;font-size:12px!important;}
body.cr-page .cr-section{scroll-margin-top:110px;}
body.cr-page .cr-sidebar{top:94px;}
body.cr-page .cr-content-grid{
  grid-template-columns:minmax(0,1fr) 348px!important;
  gap:24px!important;
}

@media (max-width:1120px){
  body.cr-page .cr-hero-grid{grid-template-columns:1fr!important;align-items:start!important;}
  body.cr-page .cr-calc-card{max-width:720px!important;}
  body.cr-page .cr-content-grid{grid-template-columns:1fr!important;}
  body.cr-page .cr-sidebar{position:static!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:16px!important;}
  body.cr-page .cr-sidebar-card + .cr-sidebar-card{margin-top:0!important;}
}
@media (max-width:900px){
  body.cr-page .cr-topbar{display:block!important;font-size:12px!important;}
  body.cr-page .cr-topbar-inner{justify-content:flex-start!important;overflow-x:auto!important;flex-wrap:nowrap!important;padding:5px 16px!important;}
  body.cr-page .cr-topbar a{font-size:12px!important;}
  body.cr-page .cr-header-inner{padding:10px 16px!important;align-items:flex-start!important;flex-direction:column!important;gap:10px!important;}
  body.cr-page .cr-logo img{height:34px!important;max-width:190px!important;}
  body.cr-page .cr-nav{width:100%!important;overflow-x:auto!important;scrollbar-width:none!important;}
  body.cr-page .cr-nav::-webkit-scrollbar{display:none;}
  body.cr-page .cr-nav-list{justify-content:flex-start!important;gap:10px!important;flex-wrap:nowrap!important;}
  body.cr-page .cr-nav-list a{font-size:13px!important;padding:4px 0!important;}
  body.cr-page .cr-toc-inner{justify-content:flex-start!important;overflow-x:auto!important;flex-wrap:nowrap!important;padding:8px 16px!important;}
  body.cr-page .cr-breadcrumb{flex:0 0 auto!important;}
  body.cr-page .cr-toc-links{flex:0 0 auto!important;flex-wrap:nowrap!important;}
  body.cr-page .cr-hero{padding:26px 0 30px!important;}
  body.cr-page .cr-hero h1{font-size:34px!important;}
}
@media (max-width:680px){
  body.cr-page .cr-topbar{display:none!important;}
  body.cr-page .cr-logo img{height:32px!important;}
  body.cr-page .cr-breadcrumb{display:none!important;}
  body.cr-page .cr-hero h1{font-size:30px!important;}
  body.cr-page .cr-sidebar{grid-template-columns:1fr!important;}
}

/* --------------------------------------------------------------------------
   V4 FINAL — Header et largeur calqués sur le CSS Statistiques.com
   Source de proportions : /css/statistiques.css
   -------------------------------------------------------------------------- */
:root{
  --cr-max:1320px;
  --cr-header-line:#dde4f0;
}

body.cr-page{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;
  background-color:#f3f5fb;
  color:#111111;
  font-size:16px;
  line-height:1.6;
  overflow-x:clip;
}

/* Même largeur que la page /argent/ de Statistiques.com : 80vw sur desktop. */
.cr-wrap{
  width:80vw!important;
  max-width:none!important;
  margin:0 auto!important;
  padding:0 16px!important;
  box-sizing:border-box;
}

/* Top bar OCCS : mêmes tailles, mêmes alignements, couleurs adaptées. */
.cr-topbar{
  display:block!important;
  height:auto!important;
  min-height:0!important;
  background-color:#ffffff!important;
  border-bottom:1px solid var(--cr-header-line)!important;
  font-size:13px!important;
  line-height:1.6!important;
  overflow:visible!important;
}
.cr-topbar-inner{
  height:auto!important;
  min-height:0!important;
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  gap:16px!important;
  padding:6px 0!important;
  flex-wrap:wrap!important;
  overflow:visible!important;
}
.cr-topbar a{
  display:inline-flex!important;
  align-items:center!important;
  color:#666666!important;
  text-transform:uppercase!important;
  letter-spacing:.04em!important;
  font-size:13px!important;
  font-weight:500!important;
  line-height:1.2!important;
  white-space:nowrap!important;
}
.cr-topbar a span{font-weight:600!important;}
.cr-topbar a:hover{color:#111111!important;text-decoration:none!important;}

/* Header principal : proportions Statistiques.com, pas de miniaturisation. */
.cr-header{
  background-color:#ffffff!important;
  border-bottom:1px solid var(--cr-header-line)!important;
  position:sticky!important;
  top:0!important;
  z-index:40!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
}
.cr-header .cr-wrap{
  padding-left:20px!important;
  padding-right:20px!important;
}
.cr-header-inner{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  padding:12px 0!important;
  gap:24px!important;
  flex-wrap:wrap!important;
  height:auto!important;
  min-height:0!important;
  overflow:visible!important;
}
.cr-logo{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  flex:0 0 auto!important;
  min-width:0!important;
  line-height:1!important;
}
.cr-logo img{
  height:40px!important;
  width:auto!important;
  max-width:220px!important;
  display:block!important;
  object-fit:contain!important;
}
.cr-logo-fallback{
  min-height:40px!important;
  font-size:29px!important;
  line-height:1!important;
  letter-spacing:-.055em!important;
}
.cr-nav-toggle{display:none!important;}
.cr-nav{
  position:relative!important;
  display:block!important;
  flex:0 1 auto!important;
  min-width:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  padding:0!important;
  overflow:visible!important;
}
.cr-nav-list{
  list-style:none!important;
  display:flex!important;
  gap:18px!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  justify-content:flex-end!important;
  margin:0!important;
  padding:0!important;
  font-size:14px!important;
  line-height:1.6!important;
}
.cr-nav-list a{
  display:inline-flex!important;
  align-items:center!important;
  height:auto!important;
  padding:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#666666!important;
  font-size:14px!important;
  font-weight:500!important;
  line-height:1.6!important;
  white-space:nowrap!important;
}
.cr-nav-list a:hover{
  color:#8a5700!important;
  text-decoration:none!important;
}
.cr-nav-list .cr-active{
  color:#8a5700!important;
  border-bottom:2px solid var(--cr-orange)!important;
  padding-bottom:3px!important;
}
.cr-nav-list .cr-active::after{display:none!important;}

/* Sommaire + fil d'Ariane : logique de .argent-toc, en orange. */
.cr-toc{
  background-color:#ffffff!important;
  border-top:1px solid var(--cr-header-line)!important;
  border-bottom:1px solid var(--cr-header-line)!important;
}
.cr-toc-inner{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
  padding:10px 0!important;
  flex-wrap:wrap!important;
  min-height:0!important;
  height:auto!important;
  overflow:visible!important;
}
.cr-breadcrumb{
  flex:0 1 auto!important;
  min-width:0!important;
  display:flex!important;
  align-items:center!important;
  gap:6px!important;
  color:rgba(17,17,17,.72)!important;
  font-size:12px!important;
  line-height:1.6!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.cr-breadcrumb ol{
  list-style:none!important;
  display:flex!important;
  flex-wrap:wrap!important;
  gap:6px!important;
  align-items:center!important;
  margin:0!important;
  padding:0!important;
}
.cr-breadcrumb li{display:inline-flex!important;align-items:center!important;min-width:0!important;}
.cr-breadcrumb a{
  color:rgba(17,17,17,.82)!important;
  font-size:12px!important;
  font-weight:600!important;
  line-height:1.6!important;
}
.cr-breadcrumb a:hover{
  color:rgba(17,17,17,.95)!important;
  text-decoration:underline!important;
}
.cr-toc-links{
  flex:0 1 auto!important;
  min-width:0!important;
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
}
.cr-toc-links a{
  display:inline-block!important;
  min-height:0!important;
  padding:4px 10px!important;
  border:1px solid var(--cr-header-line)!important;
  border-radius:999px!important;
  background-color:#fff3d8!important;
  color:#8a5700!important;
  font-size:12px!important;
  font-weight:600!important;
  line-height:1.35!important;
  text-decoration:none!important;
  white-space:nowrap!important;
}
.cr-toc-links a:hover,
.cr-toc-links a.cr-toc-current{
  border-color:var(--cr-orange)!important;
  background-color:#fff0c9!important;
  color:#7a4a00!important;
  text-decoration:none!important;
}

/* Largeur du hero et du corps alignée sur les conteneurs ci-dessus. */
.cr-main{padding-top:0!important;}
.cr-hero{
  margin-top:0!important;
  padding:42px 0 46px!important;
}
.cr-hero-grid{
  grid-template-columns:minmax(0,1.25fr) minmax(420px,.95fr)!important;
  gap:32px!important;
  align-items:center!important;
}
.cr-hero-copy{max-width:760px!important;}
.cr-hero h1{
  margin:14px 0 12px!important;
  font-size:clamp(40px,4.2vw,58px)!important;
  line-height:1.04!important;
}
.cr-hero-lead{
  max-width:72ch!important;
  font-size:17px!important;
  line-height:1.74!important;
}
.cr-hero-answer{
  max-width:76ch!important;
  font-size:15px!important;
  line-height:1.72!important;
}
.cr-calc-card{
  justify-self:end!important;
  width:min(100%,460px)!important;
  max-width:460px!important;
}
.cr-content-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 340px!important;
  gap:28px!important;
  align-items:start!important;
}
.cr-sidebar{top:104px!important;}
.cr-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;}
.cr-related-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;}

@media (max-width:1100px){
  .cr-wrap{
    width:100%!important;
    max-width:var(--cr-max)!important;
    padding-left:16px!important;
    padding-right:16px!important;
  }
  .cr-header .cr-wrap{padding-left:20px!important;padding-right:20px!important;}
  .cr-header-inner{align-items:flex-start!important;}
  .cr-nav{width:100%!important;}
  .cr-nav-list{justify-content:flex-start!important;gap:12px!important;}
  .cr-hero-grid{grid-template-columns:1fr!important;align-items:start!important;gap:26px!important;}
  .cr-calc-card{justify-self:start!important;width:min(100%,560px)!important;max-width:560px!important;}
  .cr-content-grid{grid-template-columns:1fr!important;}
  .cr-sidebar{position:static!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:16px!important;}
  .cr-sidebar-card + .cr-sidebar-card{margin-top:0!important;}
}
@media (max-width:760px){
  .cr-topbar{display:none!important;}
  .cr-header .cr-wrap,
  .cr-wrap{padding-left:12px!important;padding-right:12px!important;}
  .cr-header-inner{padding:10px 0!important;gap:10px!important;}
  .cr-logo img{height:34px!important;max-width:190px!important;}
  .cr-logo-fallback{min-height:34px!important;font-size:24px!important;}
  .cr-nav{overflow-x:auto!important;scrollbar-width:none!important;}
  .cr-nav::-webkit-scrollbar{display:none!important;}
  .cr-nav-list{flex-wrap:nowrap!important;gap:7px!important;}
  .cr-nav-list a{font-size:13px!important;background:#f7f9fc!important;border-radius:999px!important;padding:4px 9px!important;}
  .cr-nav-list .cr-active{background:#fff0cc!important;border-bottom:0!important;padding-bottom:4px!important;}
  .cr-toc-inner{padding:8px 12px!important;overflow-x:auto!important;flex-wrap:nowrap!important;justify-content:flex-start!important;}
  .cr-breadcrumb{display:none!important;}
  .cr-toc-links{flex-wrap:nowrap!important;}
  .cr-hero{padding:30px 0 34px!important;}
  .cr-hero h1{font-size:34px!important;}
  .cr-hero-lead{font-size:16px!important;}
  .cr-card-grid,
  .cr-tool-list,
  .cr-dossier-grid,
  .cr-guide-grid,
  .cr-related-grid{grid-template-columns:1fr!important;}
  .cr-sidebar{grid-template-columns:1fr!important;}
}

/* --------------------------------------------------------------------------
   V4 FINAL — header et largeur recalés sur le modèle Statistiques.com.
   Largeur desktop : 80vw, pour éviter l'effet page miniaturisée de la v3.
   -------------------------------------------------------------------------- */
:root{
  --cr-header-line:#dde4f0;
  --cr-header-muted:#666666;
}

@media (min-width:901px){
  .cr-wrap{
    width:80vw!important;
    max-width:none!important;
    margin-left:auto!important;
    margin-right:auto!important;
    padding-left:16px!important;
    padding-right:16px!important;
    box-sizing:border-box!important;
  }
}

.cr-topbar{
  height:auto!important;
  min-height:0!important;
  background:#ffffff!important;
  border-bottom:1px solid var(--cr-header-line)!important;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;
  font-size:13px!important;
  line-height:1.6!important;
  overflow:visible!important;
}
.cr-topbar-inner{
  height:auto!important;
  min-height:0!important;
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  gap:16px!important;
  flex-wrap:wrap!important;
  overflow:visible!important;
  padding:6px 16px!important;
}
.cr-topbar a{
  display:inline-flex!important;
  align-items:center!important;
  color:var(--cr-header-muted)!important;
  text-transform:uppercase!important;
  letter-spacing:.04em!important;
  font-size:13px!important;
  font-weight:500!important;
  line-height:1.2!important;
  white-space:nowrap!important;
}
.cr-topbar a span{font-weight:600!important;}
.cr-topbar a:hover{text-decoration:underline!important;color:#444!important;}
.cr-topbar .cr-occ-outils span{color:#00a033!important;}
.cr-topbar .cr-occ-calculatrice span{color:#ff9f20!important;}
.cr-topbar .cr-occ-convertisseur span{color:#e02020!important;}
.cr-topbar .cr-occ-statistiques span{color:#0091ff!important;}

.cr-header{
  background:#ffffff!important;
  border-bottom:1px solid var(--cr-header-line)!important;
  position:relative!important;
  top:auto!important;
  z-index:40!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
}
.cr-header-inner{
  height:auto!important;
  min-height:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:24px!important;
  flex-wrap:wrap!important;
  overflow:visible!important;
  padding:12px 20px!important;
}
.cr-logo{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  min-width:0!important;
  flex:0 0 auto!important;
}
.cr-logo img{
  height:40px!important;
  width:auto!important;
  max-width:230px!important;
  display:block!important;
  object-fit:contain!important;
}
.cr-logo-fallback{
  min-height:40px!important;
  display:inline-flex!important;
  align-items:center!important;
  font-size:29px!important;
  font-weight:900!important;
  line-height:1!important;
  letter-spacing:-.06em!important;
  color:#1f2937!important;
}
.cr-logo-fallback span{color:#ff9f20!important;}
.cr-nav{
  position:relative!important;
  display:flex!important;
  flex:1 1 auto!important;
  align-items:center!important;
  justify-content:flex-end!important;
  min-width:0!important;
  overflow:visible!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  padding:0!important;
}
.cr-nav-list{
  list-style:none!important;
  display:flex!important;
  gap:18px!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  justify-content:flex-end!important;
  margin:0!important;
  padding:0!important;
  font-size:14px!important;
}
.cr-nav-list a{
  position:relative!important;
  display:inline-flex!important;
  align-items:center!important;
  height:auto!important;
  min-height:0!important;
  padding:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:var(--cr-header-muted)!important;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;
  font-size:14px!important;
  font-weight:500!important;
  line-height:1.2!important;
  white-space:nowrap!important;
  text-decoration:none!important;
}
.cr-nav-list a:hover{color:#8a5700!important;text-decoration:none!important;}
.cr-nav-list .cr-active{
  color:#8a5700!important;
  border-bottom:2px solid #ff9f20!important;
  padding-bottom:3px!important;
}
.cr-nav-list .cr-active::after{display:none!important;content:none!important;}
.cr-nav-toggle{display:none!important;}

.cr-toc{
  background:#ffffff!important;
  border-top:1px solid var(--cr-header-line)!important;
  border-bottom:1px solid var(--cr-header-line)!important;
}
.cr-toc-inner{
  min-height:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
  padding:10px 16px!important;
  flex-wrap:wrap!important;
  overflow:visible!important;
}
.cr-breadcrumb{
  flex:0 1 auto!important;
  color:rgba(17,17,17,.72)!important;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;
  font-size:12px!important;
  line-height:1.2!important;
  white-space:normal!important;
  overflow:visible!important;
}
.cr-breadcrumb ol{
  list-style:none!important;
  display:flex!important;
  flex-wrap:wrap!important;
  gap:6px!important;
  align-items:center!important;
  margin:0!important;
  padding:0!important;
}
.cr-breadcrumb li{display:inline-flex!important;align-items:center!important;}
.cr-breadcrumb a{
  color:rgba(17,17,17,.82)!important;
  font-size:12px!important;
  font-weight:600!important;
  line-height:1.2!important;
}
.cr-breadcrumb a:hover{color:#8a5700!important;text-decoration:underline!important;}
.cr-toc-links{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
  flex:0 1 auto!important;
}
.cr-toc-links a{
  display:inline-block!important;
  min-height:0!important;
  padding:4px 10px!important;
  border:1px solid var(--cr-header-line)!important;
  border-radius:999px!important;
  background:#fff3d4!important;
  color:#8a5700!important;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;
  font-size:12px!important;
  font-weight:600!important;
  line-height:1.2!important;
  white-space:nowrap!important;
  text-decoration:none!important;
}
.cr-toc-links a:hover,
.cr-toc-links a.cr-toc-current{
  border-color:#ff9f20!important;
  background:#ffe7a8!important;
  color:#7a4a00!important;
  text-decoration:none!important;
}

.cr-main{padding-top:0!important;}
.cr-hero{
  margin-top:0!important;
  padding:36px 0 40px!important;
}
.cr-hero-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1.25fr) minmax(380px,.95fr)!important;
  gap:28px!important;
  align-items:start!important;
}
.cr-hero-copy{max-width:760px!important;}
.cr-hero h1{
  margin-top:14px!important;
  font-size:clamp(40px,3.3vw,56px)!important;
  line-height:1.08!important;
}
.cr-hero-lead{
  margin-top:14px!important;
  font-size:16px!important;
  line-height:1.78!important;
  max-width:70ch!important;
}
.cr-hero-answer{
  margin-top:14px!important;
  font-size:15px!important;
  line-height:1.82!important;
}
.cr-calc-card{
  justify-self:end!important;
  width:min(100%,440px)!important;
  max-width:440px!important;
}
.cr-content-grid{
  grid-template-columns:minmax(0,1fr) 320px!important;
  gap:28px!important;
  align-items:start!important;
}
.cr-sidebar{top:118px!important;}

@media (max-width:900px){
  .cr-wrap{
    width:100%!important;
    max-width:var(--cr-max)!important;
    padding-left:16px!important;
    padding-right:16px!important;
  }
  .cr-topbar{display:none!important;}
  .cr-header-inner{
    padding:10px 16px!important;
    gap:10px!important;
  }
  .cr-logo img{height:34px!important;max-width:200px!important;}
  .cr-nav{
    width:100%!important;
    justify-content:flex-start!important;
    overflow-x:auto!important;
    scrollbar-width:none!important;
  }
  .cr-nav::-webkit-scrollbar{display:none!important;}
  .cr-nav-list{
    flex-wrap:nowrap!important;
    justify-content:flex-start!important;
    gap:8px!important;
  }
  .cr-nav-list a{
    padding:5px 9px!important;
    border-radius:999px!important;
    background:#f7f9fc!important;
    font-size:13px!important;
  }
  .cr-nav-list .cr-active{
    border-bottom:0!important;
    background:#fff3d4!important;
    padding-bottom:5px!important;
  }
  .cr-toc-inner{padding:8px 16px!important;overflow-x:auto!important;flex-wrap:nowrap!important;justify-content:flex-start!important;}
  .cr-breadcrumb{flex:0 0 auto!important;}
  .cr-toc-links{flex:0 0 auto!important;flex-wrap:nowrap!important;}
  .cr-hero-grid{grid-template-columns:1fr!important;gap:24px!important;}
  .cr-calc-card{justify-self:start!important;width:min(100%,560px)!important;max-width:560px!important;}
  .cr-content-grid{grid-template-columns:1fr!important;}
  .cr-sidebar{position:static!important;}
}
@media (max-width:680px){
  .cr-wrap{padding-left:12px!important;padding-right:12px!important;}
  .cr-header-inner{padding:9px 12px!important;}
  .cr-logo img{height:30px!important;}
  .cr-breadcrumb{display:none!important;}
  .cr-toc-inner{padding:7px 12px!important;}
  .cr-hero{padding:28px 0 32px!important;}
  .cr-hero h1{font-size:34px!important;}
}

/* Fallback logo : ne doit apparaître que si l'image du logo échoue. */
.cr-logo-fallback{
  display:none!important;
}
.cr-logo-fallback[style*="inline-flex"]{
  display:inline-flex!important;
}
.cr-logo img[style*="none"]{
  display:none!important;
}
body.cr-page .cr-logo img[style*="none"]{
  display:none!important;
}


/* --------------------------------------------------------------------------
   Version v6 : respiration sous le héro + page scientifique avancée
   -------------------------------------------------------------------------- */
.cr-main > .cr-wrap.cr-content-grid{
  margin-top:30px!important;
}

body.cr-scientific-page .cr-hero-grid{
  grid-template-columns:minmax(0,1.05fr) minmax(500px,.95fr)!important;
}
body.cr-scientific-page .cr-scientific-card{
  width:min(100%,520px)!important;
  max-width:520px!important;
}
.cr-scientific-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:8px;
}
.cr-scientific-grid .cr-calc-key{
  min-height:38px;
  border-radius:12px;
  font-size:13px;
}
.cr-scientific-grid .cr-key-function{
  background:#24324a;
  color:#dbe6ff;
}
.cr-scientific-grid .cr-key-constant{
  background:#30415f;
  color:#fff;
}
.cr-scientific-grid .cr-key-mode{
  background:#fff3d8;
  color:#7a4300;
  border:1px solid rgba(255,163,0,.38);
  font-weight:950;
}
.cr-scientific-mini{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin-top:14px;
}
.cr-scientific-mini div{
  border:1px solid rgba(255,255,255,.13);
  background:rgba(255,255,255,.07);
  border-radius:14px;
  padding:10px;
}
.cr-scientific-mini span{
  display:block;
  color:#aab4c8;
  font-size:11px;
  font-weight:850;
  letter-spacing:.05em;
  text-transform:uppercase;
}
.cr-scientific-mini strong{
  display:block;
  margin-top:3px;
  color:#fff;
  font-size:13px;
}
.cr-function-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
.cr-function-card{
  border:1px solid var(--cr-line);
  border-radius:18px;
  background:#fff;
  padding:16px;
}
.cr-function-card h3{
  margin:0 0 8px;
  color:#132238;
  font-size:17px;
  line-height:1.25;
}
.cr-function-card p{
  margin:0;
  color:#5f6b7d;
  font-size:14px;
  line-height:1.55;
}
.cr-function-card code{
  display:inline-flex;
  margin-top:10px;
  color:#8a4b00;
  background:#fff7e5;
  border:1px solid #ffe0a3;
  border-radius:999px;
  padding:4px 8px;
  font-size:12px;
  font-weight:850;
}

@media (max-width:1100px){
  body.cr-scientific-page .cr-hero-grid{
    grid-template-columns:1fr!important;
  }
  body.cr-scientific-page .cr-scientific-card{
    justify-self:start!important;
  }
  .cr-function-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:700px){
  .cr-main > .cr-wrap.cr-content-grid{margin-top:22px!important;}
  .cr-scientific-grid{gap:6px;}
  .cr-scientific-grid .cr-calc-key{min-height:36px;font-size:12px;border-radius:10px;}
  .cr-scientific-mini{grid-template-columns:1fr;}
  .cr-function-grid{grid-template-columns:1fr;}
}

/* --------------------------------------------------------------------------
   Version v6 : calculatrice scientifique renforcée + fichier /math/scientifique.php
   -------------------------------------------------------------------------- */
body.cr-scientific-page .cr-hero-grid{
  grid-template-columns:minmax(0,.82fr) minmax(620px,1.08fr)!important;
  gap:30px!important;
  align-items:start!important;
}
body.cr-scientific-page .cr-hero-copy{
  max-width:650px!important;
}
body.cr-scientific-page .cr-scientific-card{
  width:min(100%,650px)!important;
  max-width:650px!important;
}
body.cr-scientific-page .cr-calc-card-inner{
  padding:18px!important;
}
body.cr-scientific-page .cr-calc-screen{
  min-height:94px!important;
}
.cr-scientific-grid-advanced{
  display:grid!important;
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
  gap:7px!important;
}
.cr-scientific-grid-advanced .cr-calc-key{
  min-height:34px!important;
  padding:0 6px!important;
  border-radius:10px!important;
  font-size:12px!important;
  line-height:1!important;
  letter-spacing:.01em!important;
}
.cr-scientific-grid-advanced .cr-key-function{
  background:#24324a!important;
  color:#e6edff!important;
}
.cr-scientific-grid-advanced .cr-key-programmer{
  background:#1d293d!important;
  color:#b7c6e7!important;
  border-color:rgba(255,255,255,.08)!important;
}
.cr-scientific-grid-advanced .cr-key-constant{
  background:#30415f!important;
  color:#fff!important;
}
.cr-scientific-grid-advanced .cr-key-mode{
  background:#fff3d8!important;
  color:#7a4300!important;
  border:1px solid rgba(255,163,0,.38)!important;
  font-weight:950!important;
}
.cr-scientific-grid-advanced .cr-key-zero{
  grid-column:auto!important;
}
body.cr-scientific-page .cr-calc-examples{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
}
body.cr-scientific-page .cr-example-btn{
  min-height:58px!important;
}
body.cr-scientific-page .cr-function-grid{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
}

@media (max-width:1250px){
  body.cr-scientific-page .cr-hero-grid{
    grid-template-columns:1fr!important;
  }
  body.cr-scientific-page .cr-scientific-card{
    justify-self:start!important;
    width:min(100%,650px)!important;
    max-width:650px!important;
  }
}
@media (max-width:980px){
  body.cr-scientific-page .cr-function-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media (max-width:700px){
  body.cr-scientific-page .cr-calc-card-inner{
    padding:13px!important;
  }
  .cr-scientific-grid-advanced{
    gap:5px!important;
  }
  .cr-scientific-grid-advanced .cr-calc-key{
    min-height:31px!important;
    padding:0 4px!important;
    border-radius:8px!important;
    font-size:10.5px!important;
  }
  body.cr-scientific-page .cr-calc-examples{
    grid-template-columns:1fr!important;
  }
  body.cr-scientific-page .cr-function-grid{
    grid-template-columns:1fr!important;
  }
}
@media (max-width:420px){
  .cr-scientific-grid-advanced .cr-calc-key{
    font-size:9.8px!important;
  }
}

/* --------------------------------------------------------------------------
   Version v6 : calculatrice scientifique avancée + nom /math/scientifique.php
   -------------------------------------------------------------------------- */
body.cr-scientific-page .cr-hero-grid{
  grid-template-columns:minmax(0,.92fr) minmax(600px,1.08fr)!important;
  gap:44px!important;
  align-items:center!important;
}
body.cr-scientific-page .cr-scientific-card{
  width:min(100%,660px)!important;
  max-width:660px!important;
}
body.cr-scientific-page .cr-calc-card-inner{
  padding:18px!important;
}
body.cr-scientific-page .cr-calc-head p{
  max-width:470px;
}
body.cr-scientific-page .cr-calc-screen{
  min-height:96px;
  margin-bottom:10px;
}
.cr-scientific-grid{
  display:grid!important;
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
  gap:7px!important;
}
.cr-scientific-grid .cr-calc-key{
  min-height:34px!important;
  border-radius:10px!important;
  padding:0 5px!important;
  font-size:12px!important;
  letter-spacing:.01em;
}
.cr-scientific-grid .cr-key-function{
  background:#24324a!important;
  color:#e8eefc!important;
}
.cr-scientific-grid .cr-key-constant{
  background:#30415f!important;
  color:#fff!important;
}
.cr-scientific-grid .cr-key-mode{
  background:#fff3d8!important;
  color:#7a4300!important;
  border:1px solid rgba(255,163,0,.38)!important;
  font-weight:950!important;
}
body.cr-scientific-page .cr-calc-examples{
  grid-template-columns:repeat(3,minmax(0,1fr));
  margin-top:12px;
}
body.cr-scientific-page .cr-example-btn{
  min-height:58px;
}
body.cr-scientific-page .cr-function-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
}
body.cr-scientific-page .cr-formula-list{
  gap:8px;
}
body.cr-scientific-page .cr-formula-item{
  grid-template-columns:minmax(110px,.8fr) minmax(0,1fr);
}

@media (max-width:1280px){
  body.cr-scientific-page .cr-hero-grid{
    grid-template-columns:minmax(0,.9fr) minmax(560px,1.1fr)!important;
    gap:32px!important;
  }
  body.cr-scientific-page .cr-scientific-card{max-width:600px!important;}
  .cr-scientific-grid{gap:6px!important;}
  .cr-scientific-grid .cr-calc-key{min-height:32px!important;font-size:11px!important;}
}
@media (max-width:1100px){
  body.cr-scientific-page .cr-hero-grid{grid-template-columns:1fr!important;}
  body.cr-scientific-page .cr-scientific-card{justify-self:start!important;width:min(100%,660px)!important;max-width:660px!important;}
  body.cr-scientific-page .cr-function-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:700px){
  body.cr-scientific-page .cr-calc-card-inner{padding:12px!important;}
  .cr-scientific-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important;}
  .cr-scientific-grid .cr-calc-key{min-height:38px!important;font-size:11px!important;border-radius:10px!important;}
  body.cr-scientific-page .cr-calc-examples{grid-template-columns:1fr;}
  body.cr-scientific-page .cr-function-grid{grid-template-columns:1fr;}
}

/* --------------------------------------------------------------------------
   Version v6 : calculatrice scientifique avancée /math/scientifique.php
   -------------------------------------------------------------------------- */
body.cr-scientific-page .cr-hero-grid{
  grid-template-columns:minmax(0,.9fr) minmax(620px,1.1fr)!important;
  gap:32px!important;
  align-items:center!important;
}
body.cr-scientific-page .cr-scientific-card{
  width:min(100%,640px)!important;
  max-width:640px!important;
}
body.cr-scientific-page .cr-calc-card-inner{
  padding:14px!important;
}
body.cr-scientific-page .cr-calc-head{
  margin-bottom:10px!important;
}
body.cr-scientific-page .cr-calc-head h2{
  font-size:17px!important;
}
body.cr-scientific-page .cr-calc-head p{
  font-size:12px!important;
  line-height:1.35!important;
}
body.cr-scientific-page .cr-calc-screen{
  min-height:98px!important;
  border-radius:17px!important;
  padding:11px 12px!important;
}
body.cr-scientific-page .cr-calc-formula{
  min-height:20px!important;
  font-size:13px!important;
}
body.cr-scientific-page .cr-calc-result{
  min-height:34px!important;
  font-size:clamp(24px,3vw,32px)!important;
}
body.cr-scientific-page .cr-calc-message{
  min-height:18px!important;
  margin:7px 2px 8px!important;
  font-size:12px!important;
}
body.cr-scientific-page .cr-scientific-grid{
  grid-template-columns:repeat(7,minmax(0,1fr))!important;
  gap:6px!important;
}
body.cr-scientific-page .cr-scientific-grid .cr-calc-key{
  min-height:32px!important;
  border-radius:10px!important;
  font-size:12px!important;
  font-weight:850!important;
  padding:0 4px!important;
}
body.cr-scientific-page .cr-scientific-grid .cr-key-function{
  background:#24324a!important;
  color:#dbe6ff!important;
}
body.cr-scientific-page .cr-scientific-grid .cr-key-constant{
  background:#30415f!important;
  color:#fff!important;
}
body.cr-scientific-page .cr-scientific-grid .cr-key-base{
  background:#22334d!important;
  color:#fef3c7!important;
}
body.cr-scientific-page .cr-scientific-examples{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:7px!important;
  margin-top:10px!important;
}
body.cr-scientific-page .cr-scientific-examples .cr-example-btn{
  padding:8px 9px!important;
  border-radius:12px!important;
}
body.cr-scientific-page .cr-scientific-examples .cr-example-btn strong{
  font-size:12px!important;
}
body.cr-scientific-page .cr-scientific-examples .cr-example-btn span{
  font-size:11px!important;
}
body.cr-scientific-page .cr-calc-note{
  font-size:11px!important;
  line-height:1.45!important;
  margin-top:8px!important;
}
@media (max-width:1200px){
  body.cr-scientific-page .cr-hero-grid{
    grid-template-columns:1fr!important;
  }
  body.cr-scientific-page .cr-scientific-card{
    justify-self:start!important;
    width:min(100%,680px)!important;
    max-width:680px!important;
  }
}
@media (max-width:700px){
  body.cr-scientific-page .cr-scientific-grid{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:6px!important;
  }
  body.cr-scientific-page .cr-scientific-grid .cr-calc-key{
    min-height:38px!important;
    font-size:12px!important;
  }
  body.cr-scientific-page .cr-scientific-examples{
    grid-template-columns:1fr!important;
  }
}

/* --------------------------------------------------------------------------
   Version v6 finale : grille scientifique 6 colonnes et largeur stabilisée
   -------------------------------------------------------------------------- */
body.cr-scientific-page .cr-hero-grid{
  grid-template-columns:minmax(0,.92fr) minmax(600px,1.08fr)!important;
  gap:44px!important;
  align-items:center!important;
}
body.cr-scientific-page .cr-scientific-card{
  width:min(100%,660px)!important;
  max-width:660px!important;
}
body.cr-scientific-page .cr-scientific-grid{
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
  gap:7px!important;
}
body.cr-scientific-page .cr-scientific-grid .cr-calc-key{
  min-height:34px!important;
  border-radius:10px!important;
  font-size:12px!important;
  padding:0 5px!important;
}
body.cr-scientific-page .cr-calc-examples{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:8px!important;
}
@media (max-width:1280px){
  body.cr-scientific-page .cr-hero-grid{grid-template-columns:minmax(0,.9fr) minmax(560px,1.1fr)!important;gap:32px!important;}
  body.cr-scientific-page .cr-scientific-card{max-width:600px!important;}
  body.cr-scientific-page .cr-scientific-grid .cr-calc-key{min-height:32px!important;font-size:11px!important;}
}
@media (max-width:1100px){
  body.cr-scientific-page .cr-hero-grid{grid-template-columns:1fr!important;}
  body.cr-scientific-page .cr-scientific-card{justify-self:start!important;width:min(100%,660px)!important;max-width:660px!important;}
}
@media (max-width:700px){
  body.cr-scientific-page .cr-scientific-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important;}
  body.cr-scientific-page .cr-scientific-grid .cr-calc-key{min-height:38px!important;font-size:11px!important;}
  body.cr-scientific-page .cr-calc-examples{grid-template-columns:1fr!important;}
}


/* --------------------------------------------------------------------------
   Version v6 final : clavier scientifique cohérent avec /math/scientifique.php
   -------------------------------------------------------------------------- */
body.cr-scientific-page .cr-hero-grid{
  grid-template-columns:minmax(0,.92fr) minmax(620px,1.08fr)!important;
  gap:36px!important;
  align-items:center!important;
}
body.cr-scientific-page .cr-scientific-card{
  width:min(100%,660px)!important;
  max-width:660px!important;
}
body.cr-scientific-page .cr-calc-card-inner{padding:14px!important;}
body.cr-scientific-page .cr-scientific-grid,
body.cr-scientific-page .cr-scientific-grid-advanced{
  display:grid!important;
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
  gap:6px!important;
}
body.cr-scientific-page .cr-scientific-grid .cr-calc-key,
body.cr-scientific-page .cr-scientific-grid-advanced .cr-calc-key{
  min-height:32px!important;
  border-radius:9px!important;
  font-size:11.5px!important;
  padding:0 4px!important;
  font-weight:850!important;
}
body.cr-scientific-page .cr-scientific-grid .cr-key-function,
body.cr-scientific-page .cr-scientific-grid-advanced .cr-key-function{background:#24324a!important;color:#dbe6ff!important;}
body.cr-scientific-page .cr-scientific-grid .cr-key-probability,
body.cr-scientific-page .cr-scientific-grid-advanced .cr-key-probability{background:#203a32!important;color:#d7fff1!important;}
body.cr-scientific-page .cr-scientific-grid .cr-key-programmer,
body.cr-scientific-page .cr-scientific-grid-advanced .cr-key-programmer{background:#1f2c42!important;color:#cfe5ff!important;}
body.cr-scientific-page .cr-scientific-grid .cr-key-constant,
body.cr-scientific-page .cr-scientific-grid-advanced .cr-key-constant{background:#30415f!important;color:#fff!important;}
body.cr-scientific-page .cr-scientific-grid .cr-key-zero,
body.cr-scientific-page .cr-scientific-grid-advanced .cr-key-zero{grid-column:span 2!important;}
body.cr-scientific-page .cr-scientific-grid .cr-sci-wide,
body.cr-scientific-page .cr-scientific-grid-advanced .cr-sci-wide{grid-column:span 2!important;}
@media (max-width:1200px){
  body.cr-scientific-page .cr-hero-grid{grid-template-columns:1fr!important;}
  body.cr-scientific-page .cr-scientific-card{justify-self:start!important;width:min(100%,660px)!important;max-width:660px!important;}
}
@media (max-width:700px){
  body.cr-scientific-page .cr-scientific-grid,
  body.cr-scientific-page .cr-scientific-grid-advanced{grid-template-columns:repeat(4,minmax(0,1fr))!important;}
  body.cr-scientific-page .cr-scientific-grid .cr-calc-key,
  body.cr-scientific-page .cr-scientific-grid-advanced .cr-calc-key{min-height:36px!important;font-size:11px!important;}
}


/* --------------------------------------------------------------------------
   Version v7 : verrouillage header identique à en-ligne.php + scientifique large
   -------------------------------------------------------------------------- */
body.cr-page .cr-topbar,
body.cr-page.cr-scientific-page .cr-topbar{
  height:auto!important;
  min-height:0!important;
  background:#fff!important;
  border-bottom:1px solid #dde4f0!important;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;
  font-size:13px!important;
  line-height:1.6!important;
  overflow:visible!important;
}
body.cr-page .cr-topbar-inner,
body.cr-page.cr-scientific-page .cr-topbar-inner{
  height:auto!important;
  min-height:0!important;
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  gap:16px!important;
  flex-wrap:wrap!important;
  overflow:visible!important;
  padding:6px 16px!important;
}
body.cr-page .cr-topbar a,
body.cr-page.cr-scientific-page .cr-topbar a{
  display:inline-flex!important;
  align-items:center!important;
  color:#666!important;
  text-transform:uppercase!important;
  letter-spacing:.04em!important;
  font-size:13px!important;
  font-weight:500!important;
  line-height:1.2!important;
  white-space:nowrap!important;
  text-decoration:none!important;
}
body.cr-page .cr-topbar a span,
body.cr-page.cr-scientific-page .cr-topbar a span{font-weight:600!important;}
body.cr-page .cr-topbar a:hover,
body.cr-page.cr-scientific-page .cr-topbar a:hover{color:#111!important;text-decoration:none!important;}
body.cr-page .cr-topbar .cr-occ-outils span{color:#00a033!important;}
body.cr-page .cr-topbar .cr-occ-calculatrice span{color:#ff9f20!important;}
body.cr-page .cr-topbar .cr-occ-convertisseur span{color:#e02020!important;}
body.cr-page .cr-topbar .cr-occ-statistiques span{color:#0091ff!important;}

body.cr-page .cr-header,
body.cr-page.cr-scientific-page .cr-header{
  background:#fff!important;
  border-bottom:1px solid #dde4f0!important;
  position:relative!important;
  top:auto!important;
  z-index:40!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
}
body.cr-page .cr-header-inner,
body.cr-page.cr-scientific-page .cr-header-inner{
  height:auto!important;
  min-height:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:24px!important;
  flex-wrap:wrap!important;
  overflow:visible!important;
  padding:12px 20px!important;
}
body.cr-page .cr-logo,
body.cr-page.cr-scientific-page .cr-logo{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  min-width:0!important;
  flex:0 0 auto!important;
}
body.cr-page .cr-logo img,
body.cr-page.cr-scientific-page .cr-logo img{
  height:40px!important;
  width:auto!important;
  max-width:230px!important;
  display:block!important;
  object-fit:contain!important;
}
body.cr-page .cr-nav,
body.cr-page.cr-scientific-page .cr-nav{
  position:relative!important;
  display:flex!important;
  flex:1 1 auto!important;
  align-items:center!important;
  justify-content:flex-end!important;
  min-width:0!important;
  overflow:visible!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  padding:0!important;
}
body.cr-page .cr-nav-list,
body.cr-page.cr-scientific-page .cr-nav-list{
  list-style:none!important;
  display:flex!important;
  gap:18px!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  justify-content:flex-end!important;
  margin:0!important;
  padding:0!important;
  font-size:14px!important;
}
body.cr-page .cr-nav-list a,
body.cr-page.cr-scientific-page .cr-nav-list a{
  position:relative!important;
  display:inline-flex!important;
  align-items:center!important;
  height:auto!important;
  min-height:0!important;
  padding:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#666!important;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;
  font-size:14px!important;
  font-weight:500!important;
  line-height:1.2!important;
  white-space:nowrap!important;
  text-decoration:none!important;
}
body.cr-page .cr-nav-list a:hover,
body.cr-page.cr-scientific-page .cr-nav-list a:hover{color:#8a5700!important;text-decoration:none!important;}
body.cr-page .cr-nav-list .cr-active,
body.cr-page.cr-scientific-page .cr-nav-list .cr-active{
  color:#8a5700!important;
  border-bottom:2px solid #ff9f20!important;
  padding-bottom:3px!important;
  font-weight:500!important;
}
body.cr-page .cr-nav-list .cr-active::after,
body.cr-page.cr-scientific-page .cr-nav-list .cr-active::after{display:none!important;content:none!important;}
body.cr-page .cr-nav-toggle,
body.cr-page.cr-scientific-page .cr-nav-toggle{display:none!important;}

body.cr-page .cr-toc,
body.cr-page.cr-scientific-page .cr-toc{
  background:#fff!important;
  border-top:1px solid #dde4f0!important;
  border-bottom:1px solid #dde4f0!important;
}
body.cr-page .cr-toc-inner,
body.cr-page.cr-scientific-page .cr-toc-inner{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:18px!important;
  padding:8px 20px!important;
  min-height:38px!important;
  overflow:visible!important;
}
body.cr-page .cr-breadcrumb,
body.cr-page.cr-scientific-page .cr-breadcrumb{
  color:#777!important;
  font-size:12px!important;
  line-height:1.2!important;
  white-space:nowrap!important;
  flex:0 0 auto!important;
}
body.cr-page .cr-breadcrumb ol,
body.cr-page.cr-scientific-page .cr-breadcrumb ol{
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  margin:0!important;
  padding:0!important;
  list-style:none!important;
}
body.cr-page .cr-breadcrumb a,
body.cr-page.cr-scientific-page .cr-breadcrumb a{
  color:#7a4b00!important;
  font-size:12px!important;
  font-weight:600!important;
  text-decoration:none!important;
}
body.cr-page .cr-toc-links,
body.cr-page.cr-scientific-page .cr-toc-links{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
  flex-wrap:wrap!important;
  min-width:0!important;
}
body.cr-page .cr-toc-links a,
body.cr-page.cr-scientific-page .cr-toc-links a{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:24px!important;
  padding:3px 10px!important;
  border-radius:999px!important;
  background:#fff8ea!important;
  border:1px solid #fde7b5!important;
  color:#8a5700!important;
  font-size:12px!important;
  font-weight:600!important;
  line-height:1!important;
  white-space:nowrap!important;
  text-decoration:none!important;
}
body.cr-page .cr-toc-links a:hover,
body.cr-page .cr-toc-links a.cr-toc-current,
body.cr-page.cr-scientific-page .cr-toc-links a:hover,
body.cr-page.cr-scientific-page .cr-toc-links a.cr-toc-current{
  background:#ffedc1!important;
  border-color:#ffd47b!important;
  color:#7a4300!important;
  text-decoration:none!important;
}

body.cr-page .cr-main > .cr-wrap.cr-content-grid{margin-top:30px!important;}

@media (min-width:981px){
  body.cr-scientific-page .cr-hero .cr-wrap.cr-hero-grid{
    width:min(88vw,1500px)!important;
    max-width:1500px!important;
    padding-left:16px!important;
    padding-right:16px!important;
    grid-template-columns:minmax(280px,.62fr) minmax(720px,1.38fr)!important;
    gap:38px!important;
    align-items:center!important;
  }
  body.cr-scientific-page .cr-hero-copy{max-width:560px!important;}
  body.cr-scientific-page .cr-scientific-card{
    width:100%!important;
    max-width:none!important;
    justify-self:stretch!important;
  }
  body.cr-scientific-page .cr-calc-card-inner{padding:16px!important;border-radius:24px!important;}
  body.cr-scientific-page .cr-calc-head{margin-bottom:10px!important;}
  body.cr-scientific-page .cr-calc-screen{min-height:90px!important;margin-bottom:8px!important;}
  body.cr-scientific-page .cr-scientific-grid{
    display:grid!important;
    grid-template-columns:repeat(10,minmax(0,1fr))!important;
    gap:7px!important;
  }
  body.cr-scientific-page .cr-scientific-grid .cr-calc-key{
    min-height:36px!important;
    border-radius:10px!important;
    padding:0 5px!important;
    font-size:12px!important;
    font-weight:850!important;
    line-height:1!important;
  }
  body.cr-scientific-page .cr-scientific-examples{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:8px!important;
    margin-top:10px!important;
  }
  body.cr-scientific-page .cr-scientific-examples .cr-example-btn{
    min-height:54px!important;
    padding:8px 9px!important;
  }
}
body.cr-scientific-page .cr-scientific-grid .cr-key-function{background:#24324a!important;color:#dbe6ff!important;}
body.cr-scientific-page .cr-scientific-grid .cr-key-probability{background:#203a32!important;color:#d7fff1!important;}
body.cr-scientific-page .cr-scientific-grid .cr-key-programmer,
body.cr-scientific-page .cr-scientific-grid .cr-key-base{background:#1f2c42!important;color:#cfe5ff!important;}
body.cr-scientific-page .cr-scientific-grid .cr-key-constant{background:#30415f!important;color:#fff!important;}
body.cr-scientific-page .cr-scientific-grid .cr-key-mode{background:#fff3d8!important;color:#7a4300!important;border:1px solid rgba(255,163,0,.38)!important;}
body.cr-scientific-page .cr-scientific-grid .cr-key-main{background:#ffa300!important;color:#111827!important;}
body.cr-scientific-page .cr-scientific-grid .cr-sci-placeholder{visibility:hidden!important;pointer-events:none!important;}

@media (max-width:980px){
  body.cr-page .cr-header-inner,
  body.cr-page.cr-scientific-page .cr-header-inner{
    padding:10px 16px!important;
    align-items:flex-start!important;
    flex-direction:column!important;
    gap:10px!important;
  }
  body.cr-page .cr-logo img,
  body.cr-page.cr-scientific-page .cr-logo img{height:34px!important;}
  body.cr-page .cr-nav,
  body.cr-page.cr-scientific-page .cr-nav{width:100%!important;overflow-x:auto!important;scrollbar-width:none!important;}
  body.cr-page .cr-nav::-webkit-scrollbar,
  body.cr-page.cr-scientific-page .cr-nav::-webkit-scrollbar{display:none!important;}
  body.cr-page .cr-nav-list,
  body.cr-page.cr-scientific-page .cr-nav-list{justify-content:flex-start!important;gap:10px!important;flex-wrap:nowrap!important;}
  body.cr-page .cr-nav-list a,
  body.cr-page.cr-scientific-page .cr-nav-list a{font-size:13px!important;padding:4px 0!important;}
  body.cr-page .cr-toc-inner,
  body.cr-page.cr-scientific-page .cr-toc-inner{justify-content:flex-start!important;overflow-x:auto!important;flex-wrap:nowrap!important;padding:8px 16px!important;}
  body.cr-page .cr-toc-inner::-webkit-scrollbar,
  body.cr-page.cr-scientific-page .cr-toc-inner::-webkit-scrollbar{display:none!important;}
  body.cr-page .cr-toc-links,
  body.cr-page.cr-scientific-page .cr-toc-links{flex:0 0 auto!important;flex-wrap:nowrap!important;}
  body.cr-scientific-page .cr-hero-grid{
    grid-template-columns:1fr!important;
    gap:24px!important;
    align-items:start!important;
  }
  body.cr-scientific-page .cr-scientific-card{
    width:min(100%,760px)!important;
    max-width:760px!important;
    justify-self:start!important;
  }
  body.cr-scientific-page .cr-scientific-grid{
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:6px!important;
  }
  body.cr-scientific-page .cr-scientific-grid .cr-calc-key{
    min-height:38px!important;
    font-size:11.5px!important;
    border-radius:10px!important;
    padding:0 4px!important;
  }
  body.cr-scientific-page .cr-scientific-examples{grid-template-columns:1fr 1fr!important;}
}
@media (max-width:680px){
  body.cr-page .cr-topbar,
  body.cr-page.cr-scientific-page .cr-topbar{display:none!important;}
  body.cr-page .cr-header-inner,
  body.cr-page.cr-scientific-page .cr-header-inner{padding:9px 12px!important;}
  body.cr-page .cr-logo img,
  body.cr-page.cr-scientific-page .cr-logo img{height:30px!important;}
  body.cr-page .cr-breadcrumb,
  body.cr-page.cr-scientific-page .cr-breadcrumb{display:none!important;}
  body.cr-page .cr-toc-inner,
  body.cr-page.cr-scientific-page .cr-toc-inner{padding:7px 12px!important;}
  body.cr-scientific-page .cr-scientific-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;}
  body.cr-scientific-page .cr-scientific-grid .cr-calc-key{min-height:38px!important;font-size:11px!important;}
  body.cr-scientific-page .cr-scientific-examples{grid-template-columns:1fr!important;}
}

/* --------------------------------------------------------------------------
   Version v7 : scientific.php — header identique au hub + calculatrice large
   -------------------------------------------------------------------------- */

body.cr-scientific-page .cr-toc-links a{
  font-weight:600!important;
}

body.cr-scientific-page .cr-sci-head{
  align-items:flex-start!important;
  gap:14px!important;
}
body.cr-scientific-page .cr-sci-badges{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-end!important;
  gap:6px!important;
  flex:0 0 auto!important;
}
body.cr-scientific-page .cr-sci-base-label{
  background:#2b3448!important;
  color:#e8eefc!important;
  border:1px solid rgba(255,255,255,.13)!important;
}

@media (min-width:981px){
  body.cr-scientific-page .cr-hero{
    padding:38px 0 42px!important;
  }
  body.cr-scientific-page .cr-hero .cr-wrap.cr-hero-grid{
    width:min(88vw,1540px)!important;
    max-width:1540px!important;
    padding-left:16px!important;
    padding-right:16px!important;
    grid-template-columns:minmax(330px,.42fr) minmax(820px,.58fr)!important;
    gap:42px!important;
    align-items:center!important;
  }
  body.cr-scientific-page .cr-hero-copy{
    max-width:580px!important;
  }
  body.cr-scientific-page .cr-hero-copy .cr-chip-row{
    max-width:540px!important;
  }
  body.cr-scientific-page .cr-scientific-card{
    width:100%!important;
    max-width:none!important;
    justify-self:stretch!important;
  }
  body.cr-scientific-page .cr-calc-card-inner{
    padding:16px!important;
    border-radius:24px!important;
  }
  body.cr-scientific-page .cr-calc-screen{
    min-height:88px!important;
    margin-bottom:8px!important;
  }
}

.cr-scientific-layout{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 286px!important;
  gap:12px!important;
  align-items:stretch!important;
  margin-top:8px!important;
}
.cr-sci-panel{
  border:1px solid rgba(255,255,255,.10)!important;
  background:rgba(255,255,255,.045)!important;
  border-radius:16px!important;
  padding:10px!important;
  min-width:0!important;
}
.cr-sci-panel-title,
.cr-sci-group-title{
  color:#aeb8cc!important;
  font-size:10px!important;
  line-height:1.1!important;
  font-weight:900!important;
  letter-spacing:.06em!important;
  text-transform:uppercase!important;
}
.cr-sci-panel-title{margin:0 0 8px!important;}
.cr-sci-group-title{margin:0 0 6px!important;}
.cr-sci-control-strip{
  display:grid!important;
  grid-template-columns:repeat(8,minmax(0,1fr))!important;
  gap:6px!important;
  margin-bottom:10px!important;
}
.cr-sci-function-block + .cr-sci-function-block,
.cr-sci-extra-functions{
  margin-top:10px!important;
}
.cr-sci-function-row{
  display:grid!important;
  gap:6px!important;
}
.cr-sci-function-row-six{
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
}
.cr-sci-number-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:7px!important;
}
.cr-scientific-layout .cr-calc-key{
  min-height:34px!important;
  border-radius:10px!important;
  padding:0 5px!important;
  font-size:12px!important;
  font-weight:850!important;
  line-height:1!important;
  letter-spacing:-.01em!important;
}
.cr-sci-panel-numbers .cr-calc-key{
  min-height:39px!important;
  font-size:13px!important;
}
.cr-sci-equals{
  grid-column:span 2!important;
}
.cr-scientific-layout .cr-key-function{background:#24324a!important;color:#dbe6ff!important;}
.cr-scientific-layout .cr-key-base,
.cr-scientific-layout .cr-key-programmer{background:#1f2c42!important;color:#cfe5ff!important;}
.cr-scientific-layout .cr-key-constant{background:#30415f!important;color:#fff!important;}
.cr-scientific-layout .cr-key-mode{background:#fff3d8!important;color:#7a4300!important;border:1px solid rgba(255,163,0,.38)!important;}
.cr-scientific-layout .cr-key-main{background:#ffa300!important;color:#111827!important;}
.cr-sci-extra-functions{
  border-top:1px solid rgba(255,255,255,.10)!important;
  padding-top:8px!important;
}
.cr-sci-extra-functions summary{
  cursor:pointer!important;
  color:#d4def3!important;
  font-size:12px!important;
  font-weight:850!important;
  margin-bottom:8px!important;
  outline:none!important;
}
.cr-sci-extra-functions summary::marker{color:#ffa300!important;}
body.cr-scientific-page .cr-scientific-examples{
  margin-top:10px!important;
}

@media (min-width:981px){
  body.cr-scientific-page .cr-scientific-examples{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:8px!important;
  }
  body.cr-scientific-page .cr-scientific-examples .cr-example-btn{
    min-height:52px!important;
    padding:8px 9px!important;
  }
}

@media (max-width:1200px) and (min-width:981px){
  body.cr-scientific-page .cr-hero .cr-wrap.cr-hero-grid{
    width:min(92vw,1320px)!important;
    grid-template-columns:minmax(300px,.36fr) minmax(760px,.64fr)!important;
    gap:28px!important;
  }
  .cr-scientific-layout{
    grid-template-columns:minmax(0,1fr) 250px!important;
  }
  .cr-scientific-layout .cr-calc-key{
    font-size:11px!important;
    min-height:32px!important;
  }
  .cr-sci-panel-numbers .cr-calc-key{min-height:37px!important;}
}

@media (max-width:980px){
  body.cr-scientific-page .cr-hero-grid{
    grid-template-columns:1fr!important;
    gap:24px!important;
    align-items:start!important;
  }
  body.cr-scientific-page .cr-scientific-card{
    width:min(100%,760px)!important;
    max-width:760px!important;
    justify-self:start!important;
  }
  .cr-scientific-layout{
    grid-template-columns:1fr!important;
  }
  .cr-sci-control-strip{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
  }
  .cr-sci-function-row-six{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
  }
  .cr-scientific-layout .cr-calc-key,
  .cr-sci-panel-numbers .cr-calc-key{
    min-height:38px!important;
    font-size:12px!important;
  }
  body.cr-scientific-page .cr-scientific-examples{grid-template-columns:1fr 1fr!important;}
}

@media (max-width:680px){
  body.cr-scientific-page .cr-hero{padding:28px 0 32px!important;}
  body.cr-scientific-page .cr-sci-head{
    flex-direction:column!important;
    align-items:flex-start!important;
  }
  body.cr-scientific-page .cr-sci-badges{
    flex-direction:row!important;
    align-items:center!important;
  }
  .cr-sci-function-row-six{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
  .cr-sci-number-grid{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
  }
  .cr-scientific-layout .cr-calc-key,
  .cr-sci-panel-numbers .cr-calc-key{
    min-height:38px!important;
    font-size:11px!important;
    border-radius:9px!important;
    padding:0 3px!important;
  }
  body.cr-scientific-page .cr-scientific-examples{grid-template-columns:1fr!important;}
}

/* --------------------------------------------------------------------------
   Ajustement final v7 : scientifique desktop horizontal, mobile vertical
   -------------------------------------------------------------------------- */
@media (min-width:1201px){
  body.cr-scientific-page .cr-hero .cr-wrap.cr-hero-grid{
    width:min(94vw,1540px)!important;
    max-width:1540px!important;
    grid-template-columns:minmax(320px,.38fr) minmax(740px,.62fr)!important;
    gap:36px!important;
    align-items:center!important;
  }
  body.cr-scientific-page .cr-scientific-card{
    width:100%!important;
    max-width:none!important;
    justify-self:stretch!important;
  }
  body.cr-scientific-page .cr-hero-copy{
    max-width:600px!important;
  }
  .cr-scientific-layout{
    grid-template-columns:minmax(0,1fr) 280px!important;
    gap:12px!important;
  }
}

@media (max-width:1200px) and (min-width:981px){
  body.cr-scientific-page .cr-hero .cr-wrap.cr-hero-grid{
    width:min(94vw,1180px)!important;
    max-width:1180px!important;
    grid-template-columns:minmax(260px,.34fr) minmax(600px,.66fr)!important;
    gap:24px!important;
    align-items:center!important;
  }
  body.cr-scientific-page .cr-scientific-card{
    width:100%!important;
    max-width:none!important;
    justify-self:stretch!important;
  }
  body.cr-scientific-page .cr-hero-copy{
    max-width:520px!important;
  }
  .cr-scientific-layout{
    grid-template-columns:minmax(0,1fr) 230px!important;
    gap:10px!important;
  }
  .cr-sci-control-strip{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
  }
  .cr-sci-function-row-six{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
  }
  .cr-scientific-layout .cr-calc-key,
  .cr-sci-panel-numbers .cr-calc-key{
    min-height:34px!important;
    font-size:11px!important;
  }
}

@media (max-width:980px){
  body.cr-scientific-page .cr-hero .cr-wrap.cr-hero-grid{
    width:100%!important;
    max-width:var(--cr-max)!important;
    grid-template-columns:1fr!important;
  }
  .cr-scientific-layout{
    grid-template-columns:1fr!important;
  }
}


/* ==========================================================
   v9 - corrections ciblées demandées :
   1) bande de liens sous header = pages/outils utiles uniquement ;
   2) colonne droite sticky sans grande marge haute au scroll ;
   3) footer clair type Statistiques.com avec logo réseau OCCS.
   ========================================================== */
body.cr-page .cr-toc-links{
  justify-content:flex-end!important;
  gap:8px!important;
}
body.cr-page .cr-toc-links a{
  font-size:12px!important;
  line-height:1!important;
  padding:7px 11px!important;
  border-radius:999px!important;
}

@media (min-width:1121px){
  body.cr-page .cr-sidebar{
    top:18px!important;
  }
}

body.cr-page .cr-footer.cr-footer-network{
  background:#fff!important;
  color:#657084!important;
  border-top:1px solid #e6ebf2!important;
  padding:24px 0 26px!important;
  box-shadow:none!important;
}
body.cr-page .cr-footer-network-grid{
  display:grid!important;
  grid-template-columns:300px minmax(0,1fr)!important;
  gap:34px!important;
  align-items:center!important;
}
body.cr-page .cr-footer-network-brand a{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  color:#566276!important;
  text-decoration:none!important;
}
body.cr-page .cr-footer-network-brand img{
  width:74px!important;
  height:auto!important;
  display:block!important;
  flex:0 0 auto!important;
}
body.cr-page .cr-footer-network-brand strong{
  display:block!important;
  color:#25324a!important;
  font-size:13px!important;
  line-height:1.15!important;
  font-weight:850!important;
}
body.cr-page .cr-footer-network-brand em{
  display:block!important;
  margin-top:3px!important;
  color:#7a8598!important;
  font-size:11px!important;
  line-height:1.35!important;
  font-style:normal!important;
  max-width:190px!important;
}
body.cr-page .cr-footer-network-body{
  text-align:right!important;
  min-width:0!important;
}
body.cr-page .cr-footer-top-links,
body.cr-page .cr-footer-network-links{
  display:flex!important;
  justify-content:flex-end!important;
  flex-wrap:wrap!important;
  gap:6px 13px!important;
  margin:0 0 8px!important;
  font-size:12px!important;
  line-height:1.35!important;
}
body.cr-page .cr-footer-top-links a,
body.cr-page .cr-footer-network-links a{
  color:#496277!important;
  font-weight:650!important;
  text-decoration:none!important;
}
body.cr-page .cr-footer-top-links a:hover,
body.cr-page .cr-footer-network-links a:hover{
  color:#8a4b00!important;
  text-decoration:underline!important;
}
body.cr-page .cr-footer-network-links{
  margin-bottom:11px!important;
}
body.cr-page .cr-footer-network-body p{
  margin:4px 0 0!important;
  color:#667085!important;
  font-size:12px!important;
  line-height:1.45!important;
}
body.cr-page .cr-footer-network-body p strong{
  color:#263348!important;
}

@media (max-width:900px){
  body.cr-page .cr-toc-links{
    justify-content:flex-start!important;
  }
  body.cr-page .cr-footer-network-grid{
    grid-template-columns:1fr!important;
    gap:16px!important;
    text-align:left!important;
  }
  body.cr-page .cr-footer-network-body{
    text-align:left!important;
  }
  body.cr-page .cr-footer-top-links,
  body.cr-page .cr-footer-network-links{
    justify-content:flex-start!important;
  }
}


/* ==========================================================
   v10 - corrections ciblées :
   - bande sous header = ancres internes uniquement ;
   - footer repris sur le vrai footer Statistiques.com ;
   - logo OCCS exact depuis le zip Statistiques.com.
   ========================================================== */
body.cr-page .cr-toc-links{
  justify-content:flex-end!important;
  gap:8px!important;
}
body.cr-page .cr-toc-links a{
  font-size:12px!important;
  line-height:1!important;
  padding:7px 11px!important;
  border-radius:999px!important;
}
body.cr-page .cr-toc-links a[href^="#"]{
  scroll-margin-top:90px;
}
body.cr-page footer.site-footer{
  border-top:1px solid var(--cr-line)!important;
  background-color:#ffffff!important;
  padding:16px 0 20px 0!important;
  font-size:12px!important;
  color:var(--cr-muted)!important;
  margin-top:14px!important;
  box-shadow:none!important;
}
body.cr-page footer.site-footer .container{
  width:min(var(--cr-max),calc(100% - 32px))!important;
  margin-inline:auto!important;
}
body.cr-page footer.site-footer .footer-top{
  display:flex!important;
  justify-content:flex-end!important;
  gap:16px!important;
  flex-wrap:wrap!important;
  margin-bottom:8px!important;
}
body.cr-page footer.site-footer .footer-links a{
  margin-right:10px!important;
  color:#496277!important;
  font-weight:650!important;
  text-decoration:none!important;
}
body.cr-page footer.site-footer .footer-links a:hover{
  color:#8a4b00!important;
  text-decoration:underline!important;
}
body.cr-page footer.site-footer .occs-footer{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  margin-top:10px!important;
  flex-wrap:wrap!important;
}
body.cr-page footer.site-footer .occs-footer img{
  width:72px!important;
  height:auto!important;
  display:block!important;
  max-width:72px!important;
  flex:0 0 auto!important;
}
body.cr-page footer.site-footer .occs-sites{
  line-height:1.4!important;
}
body.cr-page footer.site-footer .occs-sites a{
  font-weight:650!important;
  text-decoration:none!important;
}
body.cr-page footer.site-footer .occs-sites a:hover{
  text-decoration:underline!important;
}
body.cr-page footer.site-footer .occs-outils{color:var(--cr-green)!important;}
body.cr-page footer.site-footer .occs-calculatrice{color:var(--cr-orange)!important;}
body.cr-page footer.site-footer .occs-convertisseur{color:var(--cr-red)!important;}
body.cr-page footer.site-footer .occs-statistiques{color:var(--cr-blue)!important;}
body.cr-page footer.site-footer .footer-bottom{
  display:flex!important;
  justify-content:space-between!important;
  gap:12px!important;
  flex-wrap:wrap!important;
  margin-top:8px!important;
}
body.cr-page footer.site-footer .footer-brand{
  font-weight:500!important;
  color:#25324a!important;
}
body.cr-page footer.site-footer .footer-meta{
  color:var(--cr-muted)!important;
}
@media (max-width:900px){
  body.cr-page .cr-toc-links{justify-content:flex-start!important;}
  body.cr-page footer.site-footer .footer-top{justify-content:flex-start!important;}
  body.cr-page footer.site-footer .footer-bottom{display:block!important;}
  body.cr-page footer.site-footer .footer-meta{margin-top:6px!important;}
}


/* V23 - bloc repère SEO/IA discret, sans changer le desktop existant */
@media (max-width:900px){
}
