/* Centre de ressources : accueil du blog, dossiers, chapitres (maquette validée) */
:root{--r-ink:#12261E;--r-text:#3D4D45;--r-mute:#55645C;--r-line:#D9DDD3;--r-soft:#E6E8E0;--r-bg:#F7F6F2;--r-green:#11785A;--r-teal:#1D9E75;--r-mint:#E1F5EE;--r-deep:#132720;--r-sand:#FFF4D6;
--r-serif:'Newsreader',Georgia,serif;--r-sans:'Inter',system-ui,-apple-system,'Segoe UI',sans-serif}
*{box-sizing:border-box}
.res-body{margin:0;background:var(--r-bg);color:var(--r-ink);font-family:var(--r-sans);line-height:1.6;-webkit-font-smoothing:antialiased}
.res-body a{color:inherit;text-decoration:none}
.res-body a:focus-visible,.res-body button:focus-visible,.res-body input:focus-visible{outline:3px solid var(--r-teal);outline-offset:2px}
.res-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.res-skip{position:absolute;left:-999px;top:8px;background:#fff;padding:8px 14px;border-radius:8px;z-index:99}
.res-skip:focus{left:8px}
.res-wrap{max-width:1160px;margin:0 auto;padding-left:24px;padding-right:24px}
.res-body h1,.res-body h2,.res-body h3{font-family:var(--r-serif);font-weight:500;margin:0}

.res-header{background:#fff;border-bottom:1px solid var(--r-line)}
.res-header__in{display:flex;flex-wrap:wrap;align-items:center;gap:16px 36px;padding-top:16px;padding-bottom:16px}
.res-logo{font-family:var(--r-serif);font-size:22px;font-weight:600;color:var(--r-ink)}
.res-logo span{color:var(--r-green)}
.res-logo small{font-family:var(--r-sans);font-size:14px;font-weight:500;color:var(--r-mute);margin-left:6px}
.res-nav{display:flex;flex-wrap:wrap;gap:8px 28px;font-size:15px;font-weight:500;flex:1}
.res-nav a{padding:2px 0;border-bottom:2px solid transparent}
.res-nav a.is-active{border-bottom-color:var(--r-teal)}
.res-actions{display:flex;align-items:center;gap:20px;font-size:15px}
.res-link{font-weight:500}
.res-btn{display:inline-block;background:var(--r-green);color:#fff !important;font-weight:600;padding:10px 20px;border-radius:10px;font-size:15px;border:0;cursor:pointer}
.res-btn:hover{background:#0d6049}
.res-btn--dark{background:var(--r-ink)}
.res-btn--line{background:transparent;color:var(--r-ink) !important;border:1.5px solid var(--r-ink)}
.res-btn--line:hover{background:#fff}

.res-crumbs{padding-top:28px;font-size:14px;color:var(--r-mute)}
.res-crumbs a{text-decoration:underline}
.res-crumbs span{color:var(--r-ink);font-weight:500}
.res-preview{background:var(--r-sand);border-radius:10px;padding:10px 16px;font-size:14px;margin:16px 0 0}
.res-sub{margin:8px 0 24px;color:var(--r-mute);font-size:15px}
.res-lead{font-size:19px;color:var(--r-text);max-width:560px;margin:0 0 24px}
.res-meta{margin:0;font-size:15px;color:var(--r-mute)}

/* Accueil */
.res-hero{display:flex;flex-wrap:wrap;gap:48px;align-items:flex-start;padding-top:72px;padding-bottom:56px}
.res-hero__text{flex:1 1 480px;min-width:0}
.res-hero h1{font-size:clamp(2.3rem,5vw,3.6rem);line-height:1.04;letter-spacing:-.015em;margin-bottom:20px}
.res-search{display:flex;gap:8px;max-width:560px}
.res-search input{flex:1;min-width:0;font:inherit;font-size:16px;padding:13px 16px;border:1.5px solid var(--r-line);border-radius:10px;background:#fff;color:var(--r-ink)}
.res-search button{font:inherit;font-weight:600;background:var(--r-ink);color:#fff;border:0;border-radius:10px;padding:0 22px;cursor:pointer}
.res-situations{flex:1 1 340px;min-width:0;background:#fff;border:1px solid var(--r-line);border-radius:18px;padding:26px}
.res-situations h2{font-size:26px;margin-bottom:8px}
.res-situations p{margin:0 0 16px;color:var(--r-mute);font-size:15px}
.res-situations a{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 4px;border-top:1px solid var(--r-soft);font-weight:500}
.res-situations a span{color:var(--r-green);font-size:22px}
.res-situations a:hover{color:var(--r-green)}

.res-dossiers{padding-top:24px;padding-bottom:72px}
.res-dossiers h2,.res-band h2{font-size:40px;line-height:1.1}
.res-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:18px}
.res-tile{display:flex;flex-direction:column;background:#fff;border:1.5px solid var(--r-line);border-radius:16px;padding:24px;transition:border-color .15s}
.res-tile:hover{border-color:var(--r-ink)}
.res-body .res-tile--featured{grid-column:span 2;background:var(--r-deep);border-color:var(--r-deep);color:#fff}
.res-body .res-tile--featured p,.res-body .res-tile--featured .res-tile__meta{color:#C6DDD2}
.res-tile--featured:hover{border-color:var(--r-teal)}
.res-tile--soon{background:transparent;border-style:dashed;pointer-events:none}
.res-tile__icon{font-size:28px;margin-bottom:10px}
.res-tile h3{font-size:26px;line-height:1.2;margin-bottom:8px}
.res-tile p{margin:0 0 14px;color:var(--r-text);font-size:15.5px;flex:1}
.res-tile__meta{font-size:14px;color:var(--r-mute);font-weight:500}
@media(max-width:620px){.res-tile--featured{grid-column:auto}}

.res-band{background:#fff;border-top:1px solid var(--r-line);border-bottom:1px solid var(--r-line);padding:64px 0}
.res-cats{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:28px}
.res-cats a{font-size:14px;font-weight:500;padding:7px 14px;border-radius:999px;border:1.5px solid var(--r-line)}
.res-cats a:hover{border-color:var(--r-ink)}
.res-cats a.is-active{background:var(--r-ink);color:#fff;border-color:var(--r-ink)}
.res-posts{display:flex;flex-direction:column;max-width:860px}
.res-post{display:flex;gap:28px;align-items:flex-start;padding:26px 0;border-top:1px solid var(--r-soft)}
.res-post:last-child{border-bottom:1px solid var(--r-soft)}
.res-post img,.res-post__ph{flex:none;width:220px;height:146px;border-radius:12px;object-fit:cover;background:var(--r-mint);display:flex;align-items:center;justify-content:center;font-size:40px}
.res-post__body{display:flex;flex-direction:column;gap:6px;min-width:0}
.res-post__cat{font-size:13px;font-weight:600;color:var(--r-green)}
.res-post strong{font-family:var(--r-serif);font-weight:500;font-size:26px;line-height:1.22}
.res-post:hover strong{text-decoration:underline}
.res-post__ex{font-size:16px;color:var(--r-text);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.res-post__meta{font-size:14px;color:var(--r-mute)}
@media(max-width:640px){.res-post{flex-direction:column;gap:14px}.res-post img,.res-post__ph{width:100%;height:auto;aspect-ratio:16/9}.res-post strong{font-size:22px}}
.res-empty{color:var(--r-mute)}
.res-pages{display:flex;gap:8px;margin-top:36px}
.res-pages a{min-width:40px;text-align:center;padding:8px 12px;border:1.5px solid var(--r-line);border-radius:10px;font-weight:500}
.res-pages a.is-active{background:var(--r-ink);color:#fff;border-color:var(--r-ink)}

.res-method{background:var(--r-deep);color:#fff;padding:64px 0}
.res-method h2{font-size:38px;line-height:1.12;margin-bottom:28px}
.res-method__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:32px}
.res-method h3{font-size:22px;margin-bottom:8px;color:#fff}
.res-method p{margin:0;color:#C6DDD2;font-size:16px}
.res-call{background:var(--r-mint);padding:56px 0}
.res-call__in{display:flex;flex-wrap:wrap;gap:24px 48px;align-items:center;justify-content:space-between}
.res-call h2{font-size:34px;line-height:1.15;margin-bottom:8px}
.res-call p{margin:0;color:var(--r-text)}
.res-call__btns{display:flex;flex-wrap:wrap;gap:12px}

/* Page dossier */
.res-dhead{display:flex;flex-wrap:wrap;gap:40px 56px;align-items:center;padding-top:36px;padding-bottom:64px}
.res-dhead__text{flex:1 1 480px;min-width:0}
.res-dhead h1{font-size:clamp(2.4rem,5.5vw,3.75rem);line-height:1.04;letter-spacing:-.015em;margin-bottom:20px}
.res-dhead__video{flex:1 1 400px;min-width:0}
.res-video{position:relative;aspect-ratio:16/9;background:var(--r-deep);border-radius:18px;overflow:hidden}
.res-video iframe,.res-video video{position:absolute;inset:0;width:100%;height:100%;border:0}
.res-video__cap{margin:10px 0 0;font-size:14px;color:var(--r-mute);font-weight:500}
.res-chapters{background:#fff;border-top:1px solid var(--r-line);border-bottom:1px solid var(--r-line)}
.res-chapters__in{display:flex;flex-wrap:wrap;gap:48px 64px;padding-top:64px;padding-bottom:64px}
.res-chapters__list{flex:2 1 600px;min-width:0}
.res-chapters__list h2{font-size:34px;line-height:1.1}
.res-chap{display:flex;gap:24px;padding:26px 0;border-top:1px solid var(--r-soft)}
.res-chap__n{flex:none;width:44px;font-family:var(--r-serif);font-size:40px;line-height:1;color:var(--r-green)}
.res-chap__body{flex:1;min-width:0}
.res-chap h3{font-size:25px;line-height:1.25;margin-bottom:6px}
.res-chap:hover h3{text-decoration:underline}
.res-chap p{margin:0 0 8px;color:var(--r-text);font-size:15.5px}
.res-chap__meta{font-size:14px;color:var(--r-mute)}
.res-chap--soon .res-chap__n,.res-chap--soon h3{color:#8A978F}
.res-chap--soon:hover h3{text-decoration:none}
.res-side{flex:1 1 300px;min-width:0;display:flex;flex-direction:column;gap:28px}
.res-side h3{font-size:24px;margin-bottom:10px}
.res-side__sub{margin:-6px 0 10px;font-size:14px;color:var(--r-mute)}
.res-side__link{display:block;padding:12px 4px;border-top:1px solid var(--r-soft);font-size:15px;font-weight:500}
.res-side__link:hover{color:var(--r-green)}
.res-side__card{display:block;padding:14px;border:1px solid var(--r-line);border-radius:12px;margin-bottom:10px}
.res-side__card span{display:block;font-size:14px;color:var(--r-mute)}
.res-side__card:hover{background:var(--r-mint)}
.res-note{background:var(--r-sand);border-radius:14px;padding:18px 22px;font-size:15.5px}
.res-more{padding-top:64px;padding-bottom:64px}
.res-more h2{font-size:30px;margin-bottom:20px}
.res-more__row{display:flex;flex-wrap:wrap;gap:16px}
.res-more a{flex:1 1 240px;background:#fff;border:1.5px solid var(--r-line);border-radius:14px;padding:20px}
.res-more a:hover{border-color:var(--r-ink)}
.res-more strong{font-family:var(--r-serif);font-size:22px;font-weight:500;display:block;margin-bottom:4px}
.res-more span{font-size:14px;color:var(--r-mute)}

/* Chapitre */
.res-chead{padding-top:32px;padding-bottom:40px}
.res-pill{display:inline-block;background:var(--r-mint);color:#0F5C45;font-weight:600;font-size:14px;padding:5px 14px;border-radius:999px;margin-bottom:20px}
.res-chead h1{font-size:clamp(2.1rem,4.8vw,3.25rem);line-height:1.08;letter-spacing:-.012em;margin-bottom:18px;max-width:860px}
.res-cbody{display:flex;flex-wrap:wrap;gap:40px 64px;align-items:flex-start;padding-bottom:72px}
.res-toc{flex:1 1 220px;min-width:0;max-width:300px;position:sticky;top:20px}
.res-toc h2{font-family:var(--r-sans);font-size:16px;font-weight:600;margin:0 0 12px}
.res-toc nav{display:flex;flex-direction:column;border-left:2px solid var(--r-line)}
.res-toc nav a{padding:8px 14px;font-size:15px;color:var(--r-text);margin-left:-2px;border-left:2px solid transparent}
.res-toc nav a:hover{color:var(--r-green);border-left-color:var(--r-green)}
.res-toc__blog{margin-top:28px;padding-top:18px;border-top:1px solid var(--r-line)}
.res-toc__blog h2{margin-bottom:8px}
.res-toc__blog a{display:block;font-size:15px;color:var(--r-green);text-decoration:underline;margin-bottom:8px}
.res-article{flex:3 1 560px;min-width:0;max-width:700px}
.res-essential{background:var(--r-mint);border-radius:16px;padding:24px 28px;margin-bottom:36px}
.res-essential h2{font-size:26px;margin-bottom:10px}
.res-essential ul{margin:0;padding-left:20px;font-size:17px}
.res-essential li{margin-bottom:6px}
.res-lsf{background:var(--r-deep);color:#fff;border-radius:16px;padding:20px 22px;margin-bottom:40px}
.res-lsf strong{display:block;font-weight:600}
.res-lsf span{display:block;font-size:14px;color:#C6DDD2;margin-bottom:14px}
.res-lsf .res-video{background:#000;border-radius:12px}
.res-prose{font-family:var(--r-serif);font-size:20px;line-height:1.7}
.res-prose h2{font-size:34px;line-height:1.15;margin:44px 0 14px;scroll-margin-top:20px}
.res-prose h3{font-size:25px;line-height:1.25;margin:32px 0 10px}
.res-prose p{margin:0 0 20px}
.res-prose ul,.res-prose ol{margin:0 0 22px;padding-left:24px}
.res-prose li{margin-bottom:8px}
.res-prose a{color:var(--r-green);text-decoration:underline;text-underline-offset:3px}
.res-prose blockquote{margin:24px 0;padding:4px 0 4px 20px;border-left:3px solid var(--r-teal);color:var(--r-text)}
.res-prose table{border-collapse:collapse;width:100%;font-family:var(--r-sans);font-size:15.5px;margin:0 0 24px}
.res-prose th,.res-prose td{border:1px solid var(--r-line);padding:10px 12px;text-align:left;vertical-align:top}
.res-prose th{background:var(--r-mint)}
.res-prose .res-note{font-family:var(--r-sans)}
.res-article>.res-note{margin:36px 0 44px}
.res-sources-title{font-size:28px;margin:0 0 12px;scroll-margin-top:20px}
.res-sources{margin:0 0 48px;padding-left:20px;font-size:15.5px;color:var(--r-text)}
.res-sources li{margin-bottom:6px;overflow-wrap:anywhere}
.res-sources a{color:var(--r-green);text-decoration:underline}
.res-prevnext{display:flex;flex-wrap:wrap;gap:16px;margin-bottom:40px}
.res-pn{flex:1 1 260px;border:1.5px solid var(--r-line);border-radius:14px;padding:16px 20px;background:#fff}
.res-pn:hover{border-color:var(--r-ink)}
.res-pn small{display:block;font-size:13px;color:var(--r-mute)}
.res-pn strong{font-family:var(--r-serif);font-weight:500;font-size:19px;line-height:1.3}
.res-pn--next{text-align:right}
.res-cta{background:var(--r-deep);color:#fff;border-radius:18px;padding:32px}
.res-cta h2{font-size:28px;margin-bottom:8px;color:#fff}
.res-cta p{margin:0 0 18px;color:#C6DDD2}

.res-footer{background:var(--r-deep);color:#C6DDD2;font-size:14px}
.res-footer__in{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px 32px;padding-top:32px;padding-bottom:32px}
.res-footer__links{display:flex;flex-wrap:wrap;gap:8px 24px}
.res-footer a:hover{color:#fff}

@media(max-width:760px){.res-prose{font-size:18.5px}.res-prose h2{font-size:28px}.res-toc{position:static;max-width:none}.res-hero{padding-top:40px}.res-dossiers h2,.res-band h2{font-size:32px}}
@media(prefers-reduced-motion:reduce){*{transition:none !important}}

/* Article de blog (même style que les chapitres) */
.res-solo{padding-bottom:72px}
.res-solo .res-article{max-width:720px}
.res-author{display:inline-flex;align-items:center;gap:8px;color:var(--r-ink);font-weight:500}
.res-author img{border-radius:50%;object-fit:cover}
.res-cover{margin:0 0 32px}
.res-cover img{display:block;width:100%;height:auto;border-radius:16px}
.res-prose img{max-width:100%;height:auto;border-radius:12px}
.res-share{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:36px 0 40px;padding-top:24px;border-top:1px solid var(--r-soft)}
.res-share__label{font-weight:600;font-size:15px;color:var(--r-ink);margin-right:4px}
.res-share__btn{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;border:0;cursor:pointer;color:#fff}
.res-share__btn--copy{background:var(--r-mint);color:var(--r-green)}
.res-related{margin-top:56px}
.res-related h2{font-size:30px;margin-bottom:8px}
.res-related .res-post img,.res-related .res-post__ph{width:150px;height:100px}
.res-related .res-post strong{font-size:21px}
.res-toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%) translateY(20px);background:var(--r-ink);color:#fff;padding:10px 18px;border-radius:10px;font-size:15px;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}
.res-toast--visible{opacity:1;transform:translateX(-50%)}
@media(max-width:640px){.res-related .res-post img,.res-related .res-post__ph{width:100%;height:auto}}
