/* Outils.com V4 — index de rubrique calé sur le gabarit OCCS de Calculatrice.com. */
body.cr-math-index-page{
  --math-main:#00a65a;--math-dark:#005c35;--math-soft:#e2f7ec;--math-bg:#f3f5fb;
  --math-text:#111827;--math-muted:#64748b;--math-border:#dde4f0;--math-card:#fff;
  background:var(--math-bg)!important;overflow-x:clip;color:var(--math-text)
}
body.cr-math-index-page .cr-index-main{padding:0!important;margin:0!important}
body.cr-math-index-page .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}
body.cr-math-index-page .cr-toc{z-index:35!important}
body.cr-math-index-page #vue-ensemble,body.cr-math-index-page #reperes,body.cr-math-index-page #outils,body.cr-math-index-page #dossiers,body.cr-math-index-page #citation,body.cr-math-index-page #choisir,body.cr-math-index-page #methode,body.cr-math-index-page #sources,body.cr-math-index-page #faq{scroll-margin-top:92px}

body.cr-math-index-page .math-hero{position:relative;color:#fff;padding:30px 0 28px;overflow-x:clip;overflow-y:visible;background:linear-gradient(135deg,#24c878 0%,#00a65a 52%,#006b3c 100%)}
body.cr-math-index-page .math-hero::after{content:"";position:absolute;right:-120px;top:-80px;width:280px;height:280px;border-radius:999px;border:32px solid rgba(255,255,255,.12);opacity:.7;pointer-events:none}
body.cr-math-index-page .math-hero-inner{display:flex;align-items:stretch;justify-content:space-between;gap:32px;position:relative;z-index:1;flex-wrap:wrap}
body.cr-math-index-page .math-hero-text{flex:1 1 320px;min-width:280px}
body.cr-math-index-page .math-hero-badge{display:inline-block;background:rgba(5,46,32,.28);border-radius:999px;padding:4px 10px;font-size:11px;letter-spacing:.12em;text-transform:uppercase;margin-bottom:8px;font-weight:850}
body.cr-math-index-page .math-hero-title-split{line-height:1.02;margin:0;color:#fff!important}
body.cr-math-index-page .math-hero-title-main{display:block;font-size:clamp(42px,5.4vw,64px);line-height:1;font-weight:950;letter-spacing:-.06em}
body.cr-math-index-page .math-hero-title-sub{display:block;margin-top:8px;max-width:760px;font-size:clamp(22px,2.8vw,32px);line-height:1.15;font-weight:850;color:rgba(255,255,255,.97);letter-spacing:-.035em}
body.cr-math-index-page .math-hero-tagline{font-size:15px;margin:12px 0 14px;color:#d8f8e7;font-weight:800}
body.cr-math-index-page .math-hero-lead{margin:0 0 16px;max-width:760px;color:rgba(255,255,255,.97);font-size:15px;line-height:1.68;font-weight:600}
body.cr-math-index-page .math-hero-highlights{list-style:none;margin:0 0 18px;padding:0;font-size:14px;line-height:1.55;color:#fff}
body.cr-math-index-page .math-hero-highlights li+li{margin-top:4px}
body.cr-math-index-page .math-hero-meta{font-size:12px;opacity:.9;margin-top:6px;max-width:760px}
body.cr-math-index-page .math-hero-cta-row{margin-top:14px}
body.cr-math-index-page .math-btn-primary{display:inline-flex;align-items:center;gap:10px;padding:12px 18px;border-radius:999px;font-weight:900;text-decoration:none!important;border:1px solid rgba(255,255,255,.72);background:#fff;box-shadow:0 10px 22px rgba(5,46,32,.18);color:var(--math-dark)!important;white-space:nowrap;transition:transform .15s ease,box-shadow .15s ease}
body.cr-math-index-page .math-btn-primary:hover{transform:translateY(-1px);box-shadow:0 14px 28px rgba(5,46,32,.22)}
body.cr-math-index-page .math-btn-primary span{display:inline-flex;width:22px;height:22px;align-items:center;justify-content:center;border-radius:999px;background:var(--math-soft);border:1px solid rgba(0,92,53,.12);font-weight:950}
body.cr-math-index-page .math-hero-visual{flex:0 0 320px;min-width:260px;position:relative;z-index:2}
body.cr-math-index-page .math-hero-image{width:100%;height:440px;max-width:360px;border-radius:18px;display:block;object-fit:cover;box-shadow:0 18px 35px rgba(4,50,34,.4);border:1px solid rgba(255,255,255,.35)}

body.cr-math-index-page .math-section{padding:18px 0}
body.cr-math-index-page .math-section-main{padding:36px 0 18px}
body.cr-math-index-page .math-section-header h2{margin:0 0 8px;color:#172033!important;font-size:26px!important;line-height:1.18!important;letter-spacing:-.04em!important}
body.cr-math-index-page .math-section-intro{max-width:820px;margin:0 0 18px;color:#526072;font-size:14px;line-height:1.72}
body.cr-math-index-page .math-block{background:var(--math-card);border-radius:14px;border:1px solid var(--math-border);box-shadow:0 8px 18px rgba(15,23,42,.05);padding:14px 16px}
body.cr-math-index-page .math-block-alt{background:radial-gradient(circle at top right,#e7f8ef 0,#fff 55%)}
body.cr-math-index-page .math-block-meta{font-size:11px;text-transform:uppercase;letter-spacing:.12em;color:var(--math-dark);margin-bottom:4px;font-weight:850}
body.cr-math-index-page .math-block-title{font-size:16px!important;font-weight:800!important;color:#172033!important;margin:0 0 6px!important;line-height:1.25!important;letter-spacing:-.02em!important}
body.cr-math-index-page .math-block-text{font-size:13px;color:#64748b;margin:0 0 10px;line-height:1.55}
body.cr-math-index-page .math-note-bottom{margin-top:10px;font-size:11px;color:#64748b}
body.cr-math-index-page .math-note-bottom a{color:var(--math-dark);font-weight:800}

body.cr-math-index-page .math-kpi-block{margin:16px 0 20px}
body.cr-math-index-page .math-kpi-grid{display:grid;gap:12px;grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch;margin-top:12px}
body.cr-math-index-page .math-kpi-card{position:relative;border-radius:14px;padding:14px;background:#007d49;border:1px solid rgba(255,255,255,.16);box-shadow:0 18px 44px rgba(15,23,42,.14);overflow:hidden;min-height:108px;color:#fff}
body.cr-math-index-page .math-kpi-value{color:#fff!important;text-shadow:0 1px 0 rgba(0,0,0,.18);font-size:26px;font-weight:950;line-height:1.05;margin-bottom:6px}
body.cr-math-index-page .math-kpi-label{color:rgba(255,255,255,.94)!important;font-size:13px;line-height:1.25;font-weight:800;margin:0 0 10px}
body.cr-math-index-page .math-kpi-pill{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;font-size:12px;font-weight:850;color:#fff!important;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18)}

body.cr-math-index-page .math-layout{display:grid;grid-template-columns:minmax(0,2.1fr) minmax(0,1.1fr);gap:18px;align-items:start;margin-top:14px}
body.cr-math-index-page .math-items-grid{margin-top:10px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
body.cr-math-index-page .math-item-card{display:block;background:#f8fafc;border-radius:10px;padding:10px;border:1px solid var(--math-border);font-size:13px;color:#172033;text-decoration:none!important;line-height:1.45;transition:transform .12s ease,box-shadow .12s ease,border-color .12s ease,background-color .12s ease}
body.cr-math-index-page .math-item-card:hover{transform:translateY(-1px);box-shadow:0 8px 18px rgba(15,23,42,.08);border-color:var(--math-main);background:#fff}
body.cr-math-index-page .math-block-alt .math-item-card{background:#fff}
body.cr-math-index-page .math-item-title{font-weight:850;font-size:13px;margin-bottom:3px;color:#172033}
body.cr-math-index-page .math-item-desc{font-size:12px;color:#64748b}
body.cr-math-index-page .math-item-tag{display:inline-flex;margin-top:8px;padding:3px 8px;border-radius:999px;background:var(--math-soft);color:var(--math-dark);font-size:11px;font-weight:900}
body.cr-math-index-page .math-tools-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
body.cr-math-index-page .math-tools-grid .math-item-card-featured{grid-column:auto;display:grid;grid-template-columns:64px minmax(0,1fr);gap:12px;align-items:center;padding:11px;background:#fff}
body.cr-math-index-page .ot-featured-number{display:grid;place-items:center;width:54px;height:54px;border-radius:16px;background:linear-gradient(145deg,var(--math-soft),#fff);border:1px solid #bfe4d1;color:var(--math-dark);font-size:18px;font-weight:950}

body.cr-math-index-page .math-quote{position:relative;padding:28px 22px;border-radius:16px;background:linear-gradient(135deg,rgba(0,166,90,.1),rgba(15,23,42,.02));border:1px solid rgba(0,166,90,.22);box-shadow:0 10px 30px rgba(15,23,42,.06);overflow:hidden;text-align:center;margin:0}
body.cr-math-index-page .math-quote-mark{position:absolute;top:14px;right:16px;font-size:44px;font-weight:950;color:rgba(0,166,90,.28);line-height:1}
body.cr-math-index-page .math-quote-kicker{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:#0f172a;opacity:.65;margin:0 0 10px;display:inline-block}
body.cr-math-index-page .math-quote-text{font-size:22px;line-height:1.35;font-weight:900;margin:0;color:#0b1220}
body.cr-math-index-page .math-quote-author{margin:10px 0 0;font-weight:750;color:#0f172a;opacity:.85}

body.cr-math-index-page .math-surface-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:12px}
body.cr-math-index-page .math-surface-groups article{border:1px solid var(--math-border);border-radius:12px;background:#f8fafc;padding:12px}
body.cr-math-index-page .math-surface-groups h4{margin:0 0 6px;color:#172033;font-size:14px}
body.cr-math-index-page .math-surface-groups p{margin:0 0 10px;color:#64748b;font-size:12px;line-height:1.5}
body.cr-math-index-page .math-surface-groups div{display:flex;flex-wrap:wrap;gap:6px}
body.cr-math-index-page .math-surface-groups a{display:inline-flex;padding:4px 8px;border-radius:999px;background:var(--math-soft);color:var(--math-dark);font-size:11px;font-weight:850;text-decoration:none!important}

body.cr-math-index-page .math-quiz-wrapper{display:grid;grid-template-columns:1fr 1.25fr;gap:16px;align-items:stretch}
body.cr-math-index-page .math-quiz-image{background:#fff;border:1px solid var(--math-border);border-radius:16px;overflow:hidden;box-shadow:0 10px 24px rgba(15,23,42,.06)}
body.cr-math-index-page .math-quiz-image img{width:100%;height:100%;min-height:260px;object-fit:cover;display:block}
body.cr-math-index-page .math-quiz{background:#fff;border:1px solid var(--math-border);border-radius:16px;padding:16px;box-shadow:0 10px 24px rgba(15,23,42,.06)}
body.cr-math-index-page .math-quiz-title{font-size:18px!important;color:#172033!important;margin:0 0 6px!important;line-height:1.25!important}
body.cr-math-index-page .math-quiz-intro,body.cr-math-index-page .math-quiz-progress{font-size:13px;color:#64748b;margin:0 0 10px;line-height:1.55}
body.cr-math-index-page .math-quiz-progress{font-size:12px;font-weight:800}
body.cr-math-index-page .math-quiz-question{min-height:42px;font-size:14px;font-weight:850;color:#172033;margin-bottom:10px;line-height:1.45}
body.cr-math-index-page .math-quiz-options{display:grid;gap:8px;margin-bottom:10px}
body.cr-math-index-page .math-quiz-option{width:100%;border:1px solid var(--math-border);background:#f8fafc;border-radius:12px;padding:10px 12px;text-align:left;cursor:pointer;font-size:13px;color:#172033}
body.cr-math-index-page .math-quiz-option:hover,body.cr-math-index-page .math-quiz-option[aria-pressed="true"]{border-color:var(--math-main);background:#f0fbf5}
body.cr-math-index-page .math-quiz-next{width:100%;border:0;background:var(--math-dark);color:#fff;border-radius:12px;padding:10px 12px;font-weight:850;font-size:13px;cursor:pointer}
body.cr-math-index-page .math-quiz-next[disabled]{cursor:not-allowed;opacity:.45}
body.cr-math-index-page .math-quiz-result{display:none;margin-top:10px;font-size:13px;color:#172033;line-height:1.5}

body.cr-math-index-page .math-eeat-mini{display:flex;flex-wrap:wrap;gap:10px 14px;align-items:center;padding:12px 14px;border-radius:12px;background:rgba(0,166,90,.08);border:1px solid rgba(0,166,90,.18);color:#0f172a;margin:0 0 14px;font-size:13px}
body.cr-math-index-page .math-eeat-mini b{font-weight:850}
body.cr-math-index-page .math-eeat-mini .dot{opacity:.45;font-weight:900}
body.cr-math-index-page .math-method-details{background:#fff;border:1px solid #e5ecf5;border-radius:16px;box-shadow:0 10px 24px rgba(17,24,39,.04);overflow:hidden}
body.cr-math-index-page .math-method-details summary{list-style:none;cursor:pointer;padding:14px 18px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:14px;font-weight:900;color:#132238;background:linear-gradient(180deg,#fff,#f8fbff)}
body.cr-math-index-page .math-method-details summary::-webkit-details-marker{display:none}
body.cr-math-index-page .math-method-details summary::after{content:'+';flex:0 0 auto;width:24px;height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--math-soft);color:var(--math-dark);font-size:18px}
body.cr-math-index-page .math-method-details[open] summary::after{content:'–'}
body.cr-math-index-page .math-method-note{font-size:12px;line-height:1.6;color:#64748b;font-weight:400}
body.cr-math-index-page .math-method-panel{padding:0 18px 18px;color:#51607a;font-size:13px;line-height:1.7}
body.cr-math-index-page .math-faq-list{margin-top:8px}
body.cr-math-index-page .ot-index-sources{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;list-style:none;margin:12px 0 0;padding:0}
body.cr-math-index-page .ot-index-sources li{padding:11px;border:1px solid var(--math-border);border-radius:10px;background:#f8fafc}
body.cr-math-index-page .ot-index-sources a{display:block;color:var(--math-dark);font-size:12px;font-weight:850;text-decoration:none}
body.cr-math-index-page .ot-index-sources span{display:block;margin-top:3px;color:#64748b;font-size:11px}

@media(min-width:900px){
  body.cr-math-index-page .math-hero-inner{flex-wrap:nowrap}
  body.cr-math-index-page .math-hero-visual{transform:translateY(70px);height:440px;overflow:visible}
  body.cr-math-index-page .math-hero-image{position:absolute;top:0;right:0;width:125%;height:550px;max-width:none}
  body.cr-math-index-page .math-hero-text{padding-right:110px}
  body.cr-math-index-page .math-section-main{padding-top:130px!important}
  body.cr-math-index-page .math-quote-text{font-size:28px}
}
@media(max-width:1020px){body.cr-math-index-page .math-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:980px){body.cr-math-index-page .math-layout,body.cr-math-index-page .math-surface-groups,body.cr-math-index-page .math-quiz-wrapper{grid-template-columns:1fr}}
@media(max-width:900px){body.cr-math-index-page .cr-wrap{width:100%!important;max-width:var(--cr-max)!important}}
@media(max-width:899px){body.cr-math-index-page .math-hero-visual{transform:none;margin-top:18px;height:auto}body.cr-math-index-page .math-hero-image{position:static;width:100%;height:auto;max-width:420px}body.cr-math-index-page .math-section-main{padding-top:34px!important}}
@media(max-width:880px){body.cr-math-index-page .math-items-grid{grid-template-columns:1fr}}
@media(max-width:760px){body.cr-math-index-page .math-hero-title-main{font-size:36px}body.cr-math-index-page .math-hero-title-sub{font-size:22px}body.cr-math-index-page .math-section-header h2{font-size:22px!important}body.cr-math-index-page .math-quote-text{font-size:19px}body.cr-math-index-page .ot-index-sources{grid-template-columns:1fr}}
@media(max-width:560px){body.cr-math-index-page .math-kpi-grid,body.cr-math-index-page .math-tools-grid{grid-template-columns:1fr}}
