/* CVMemoire V10.3 — navigation et pieds de pages partagés sur 14 pages.
   Sélecteurs dédiés pour empêcher toute collision avec les anciens thèmes. */
.cm-unified{--cm-blue:#2357d5;--cm-ink:#162647;--cm-line:#dfe6f2;font-family:Manrope,Nunito,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--cm-ink)}
.cm-unified .cm-header,.cm-unified .cm-header *, .cm-unified .cm-footer, .cm-unified .cm-footer *{box-sizing:border-box}
.cm-unified .cm-container{width:min(94%,1200px);margin-inline:auto}
.cm-unified .cm-header{position:sticky;top:0;z-index:1500;background:#fff;border-bottom:1px solid #e5ebf4;box-shadow:0 5px 24px rgba(17,39,79,.035);isolation:isolate}
.cm-unified .cm-header a{text-decoration:none}
.cm-unified .cm-top{min-height:66px;padding:9px 0;display:flex;align-items:center;justify-content:space-between;gap:18px}
.cm-unified .cm-brand{display:inline-flex;align-items:center;gap:12px;min-width:0;flex:0 1 auto;color:#15274b}
.cm-unified .cm-brand img{display:block;width:36px;height:36px;object-fit:cover;border-radius:10px;flex:none}
.cm-unified .cm-brand span{min-width:0;display:flex;flex-direction:column;gap:1px}
.cm-unified .cm-brand strong{font-family:Manrope,Nunito,sans-serif;font-size:1.08rem;font-weight:900;line-height:1.15;white-space:nowrap;letter-spacing:-.025em}
.cm-unified .cm-brand small{display:block;font-family:Manrope,Nunito,sans-serif;font-size:.7rem;color:#71809a;font-weight:700;line-height:1.15;white-space:nowrap}
.cm-unified .cm-top-actions{display:flex;align-items:center;gap:18px;min-width:0}
.cm-unified .cm-identity{font-size:.78rem;color:#667791;font-weight:700}
.cm-unified .cm-main-action{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:39px;white-space:nowrap;padding:8px 15px;background:#2357d5;color:#fff;border-radius:11px;font-weight:800;font-size:.87rem;line-height:1.3;border:1px solid #2357d5;transition:background .16s ease}
.cm-unified .cm-main-action:hover{background:#1949bf;color:#fff}
.cm-unified .cm-nav-surface{background:#f8faff;border-top:1px solid #eef1f7}
.cm-unified .cm-navigation{display:grid;grid-template-columns:34px minmax(0,1fr) 34px;gap:8px;align-items:center;min-height:50px}
.cm-unified .cm-nav-track{display:flex;flex-wrap:nowrap;align-items:center;gap:4px;min-width:0;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;scroll-behavior:smooth;scroll-snap-type:x proximity;padding:4px 0;white-space:nowrap}
.cm-unified .cm-nav-track::-webkit-scrollbar{display:none}
.cm-unified .cm-nav-track a{display:inline-flex;align-items:center;justify-content:center;flex:none;scroll-snap-align:start;white-space:nowrap;font-family:Manrope,Nunito,sans-serif;font-weight:750;font-size:.81rem;line-height:1.15;color:#53627e;border-radius:9px;padding:10px 10px;min-height:36px;transition:color .15s,background .15s}
.cm-unified .cm-nav-track a:hover,.cm-unified .cm-nav-track a:focus-visible{background:#ebf2ff;color:#2357d5}
.cm-unified .cm-nav-track a[aria-current="page"]{background:#e7efff;color:#1d50c5;font-weight:850}
.cm-unified .cm-nav-arrow{width:34px;height:34px;background:#fff;border:1px solid #dbe4f2;display:grid;place-items:center;border-radius:10px;cursor:pointer;font-size:1.35rem;color:#274878;line-height:1;padding:0;box-shadow:none}
.cm-unified .cm-nav-arrow:hover:not(:disabled){background:#eaf2ff;border-color:#c4d6f7}
.cm-unified .cm-nav-arrow:disabled{opacity:.28;cursor:default}
.cm-unified .cm-nav-track a:focus-visible,.cm-unified .cm-nav-arrow:focus-visible,.cm-unified .cm-main-action:focus-visible{outline:3px solid #91b1ff;outline-offset:2px}
/* Stable footer — identical on all pages */
.cm-unified .cm-footer{background:#0e2043;color:#e3ebfa;padding:44px 0 0;margin:0}
.cm-unified .cm-footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr 1.1fr;gap:30px;padding-bottom:36px}
.cm-unified .cm-footer-grid>div{min-width:0;display:flex;flex-direction:column;gap:10px}
.cm-unified .cm-footer-brand{display:inline-flex;gap:10px;align-items:center;color:#fff;font-size:1.1rem;font-weight:850;line-height:1.2;align-self:start}
.cm-unified .cm-footer-brand img{width:36px;height:36px;object-fit:cover;border-radius:9px}
.cm-unified .cm-footer-grid h3{margin:5px 0 8px;color:#fff;font-size:.96rem;line-height:1.3;font-family:Manrope,Nunito,sans-serif}
.cm-unified .cm-footer-grid p{margin:6px 0 0;color:#b4c2dc;font-size:.88rem;line-height:1.7;max-width:38ch}
.cm-unified .cm-footer-grid a:not(.cm-footer-brand){display:block;color:#b7c7e1;font-size:.88rem;text-decoration:none;line-height:1.4}
.cm-unified .cm-footer-grid a:hover,.cm-unified .cm-footer-bottom a:hover{color:#fff}
.cm-unified .cm-footer-bottom{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:18px 0 22px;border-top:1px solid #33486d;color:#c2d0e8;font-size:.82rem}
.cm-unified .cm-footer-bottom a{color:#c2d0e8;text-decoration:none}
/* Cross-page rhythm without changing the appreciated home layout */
.cm-unified:not(:has(#serviceRail)) .page-hero,.cm-unified:not(:has(#serviceRail)) .tool-hero{padding-block:clamp(46px,5.7vw,78px)}
.cm-unified .form-card,.cm-unified .info-panel{max-width:100%}
.cm-unified .section-head h2,.cm-unified .page-hero h1,.cm-unified .tool-hero h1{overflow-wrap:break-word}
@media(max-width:930px){.cm-unified .cm-identity{display:none}.cm-unified .cm-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}}
@media(max-width:540px){.cm-unified .cm-top{min-height:62px;gap:7px}.cm-unified .cm-brand img{width:32px;height:32px}.cm-unified .cm-brand{gap:8px}.cm-unified .cm-brand strong{font-size:.93rem}.cm-unified .cm-brand small{font-size:.6rem;letter-spacing:-.015em}.cm-unified .cm-main-action{font-size:.76rem;padding:8px 9px;min-height:35px;gap:3px}.cm-unified .cm-navigation{min-height:48px;grid-template-columns:28px minmax(0,1fr) 28px;gap:4px}.cm-unified .cm-nav-arrow{width:28px;height:32px;border-radius:8px}.cm-unified .cm-nav-track a{font-size:.8rem;padding:9px 10px}.cm-unified .cm-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 15px}.cm-unified .cm-footer-grid>div:first-child{grid-column:1/-1}.cm-unified .cm-footer-bottom{align-items:flex-start;flex-direction:column}}
@media(max-width:360px){.cm-unified .cm-brand small{font-size:.52rem}.cm-unified .cm-brand strong{font-size:.87rem}.cm-unified .cm-main-action{font-size:.72rem;padding:7px 8px}}
@media(prefers-reduced-motion:reduce){.cm-unified .cm-nav-track{scroll-behavior:auto}}
/* Prevent narrow-screen grid children and long badges from forcing page-wide scroll */
.cm-unified .cvm-section-hero-grid,.cm-unified .page-hero-grid,.cm-unified .hero-grid,.cm-unified .page-hero,.cm-unified .tool-hero{min-width:0;max-width:100%}
.cm-unified .cvm-section-hero-grid > *,.cm-unified .page-hero-grid > *,.cm-unified .hero-grid > *{min-width:0;max-width:100%}
.cm-unified .eyebrow,.cm-unified .kicker{max-width:100%;white-space:normal;overflow-wrap:anywhere}
@media(max-width:950px){.cm-unified .cvm-section-hero-grid{grid-template-columns:minmax(0,1fr)}}
/* Same balanced hero layout for Services, Traduction and eBooks pages */
.cm-unified .cvm-section-hero-grid{grid-template-columns:minmax(0,1.07fr) minmax(0,.93fr);gap:clamp(24px,4vw,56px);align-items:center}
.cm-unified .cvm-section-hero-grid > .cm-hero-copy{grid-column:1;display:flex;flex-direction:column;align-items:flex-start;gap:18px;min-width:0}
.cm-unified .cm-hero-copy h1{margin:0;line-height:1.12;letter-spacing:-.04em}
.cm-unified .cm-hero-copy p{margin:0;max-width:62ch;line-height:1.65}
.cm-unified .cvm-section-hero-grid > .cvm-section-hero-media{grid-column:2;grid-row:auto;max-width:100%;min-width:0}
@media(max-width:950px){.cm-unified .cvm-section-hero-grid{grid-template-columns:minmax(0,1fr)}.cm-unified .cvm-section-hero-grid > .cm-hero-copy,.cm-unified .cvm-section-hero-grid > .cvm-section-hero-media{grid-column:1;grid-row:auto}}
