:root {
  --ink:#142736;--muted:#4e6066;--paper:#f8f6f0;--surface:#fffefa;--line:#cdd3cd;--orange:#af431c;--orange-deep:#903315;--tint:#edeee5;
  --night:#162e3a;--sky:#dce7e7;--ring:#167294;
  font-family:Inter,"Avenir Next","Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--paper);font-size:100%;font-synthesis:none;
}
*,*::before,*::after{box-sizing:border-box}
body{margin:0;color:var(--ink);background:var(--paper);font:1rem/1.55 Inter,"Avenir Next","Segoe UI",Arial,sans-serif;-webkit-font-smoothing:antialiased}
[hidden]{display:none!important}
img,video{max-width:100%}a{color:inherit;text-underline-offset:.18em}button,input,select{font:inherit}button{cursor:pointer}a:hover{color:var(--orange-deep)}
:focus-visible{outline:3px solid var(--ring);outline-offset:3px}
.wrap{width:min(1200px,calc(100% - clamp(2rem,7vw,7.5rem)));margin-inline:auto}
.portal-skip{position:fixed;inset:5px auto auto 5px;padding:.65rem 1rem;background:white;transform:translateY(-160%);z-index:10}.portal-skip:focus{transform:none}
.portal-head{background:var(--paper);border-bottom:1px solid var(--line);position:relative;z-index:3}
.portal-bar{display:flex;align-items:center;gap:clamp(.65rem,2.7vw,3rem);min-height:84px}
.portal-brand{display:inline-flex;align-items:center;gap:.58rem;white-space:nowrap;color:var(--ink);font-weight:550;letter-spacing:-.055em;font-size:clamp(1.25rem,2.1vw,1.77rem);text-decoration:none;line-height:1.15}
.portal-brand strong{font-weight:780}.portal-mark{position:relative;display:flex;align-items:center;justify-content:center;gap:2px;height:34px;width:34px;border-radius:9px;background:var(--ink);flex:none;overflow:hidden}
.portal-mark i{display:block;width:4px;background:#ffb08a;transform:skew(-17deg);border-radius:1px}
.portal-mark i:nth-child(1){height:9px}.portal-mark i:nth-child(2){height:17px}.portal-mark i:nth-child(3){height:23px}
.portal-nav{display:flex;margin-inline-start:auto;align-items:center;gap:clamp(.8rem,2.2vw,2.2rem)}
.portal-nav a,.portal-foot nav a{font-size:.96rem;font-weight:600;text-decoration:none}.portal-nav a[aria-current=page]{box-shadow:inset 0 -2px var(--orange);color:var(--orange);padding-block:5px}
.portal-search{width:42px;height:42px;display:grid;place-items:center;border:1px solid #abb8b4;border-radius:50%;flex:none}
.portal-search span{display:block;width:15px;height:15px;border:2px solid currentColor;border-radius:50%;position:relative}.portal-search span::after{content:"";position:absolute;width:7px;height:2px;right:-5px;bottom:-2px;transform:rotate(45deg);background:currentColor}
.portal-foot{margin-top:clamp(3rem,7vw,7rem);background:var(--night);color:white}.portal-foot-inner{display:flex;align-items:center;justify-content:space-between;gap:2rem;padding-block:2.5rem}.portal-foot .portal-brand,.portal-foot nav a{color:white}.portal-foot nav{display:flex;gap:1.4rem;flex-wrap:wrap}.portal-foot nav a:hover{text-decoration:underline}
h1,h2,h3{line-height:1.12;text-wrap:balance;color:inherit}h1{font-size:clamp(2.5rem,5.7vw,5.2rem);font-weight:720;letter-spacing:-.069em}h2{font-size:clamp(1.72rem,3vw,2.7rem);letter-spacing:-.047em}h3{font-size:clamp(1.16rem,1.8vw,1.5rem);letter-spacing:-.027em}
.page-intro{padding-block:clamp(2.1rem,5.7vw,5rem) 2rem}.page-intro h1{max-width:22ch;margin:.4rem 0 1.1rem}.page-intro p{max-width:67ch;font-size:clamp(1.02rem,1.5vw,1.2rem);color:var(--muted)}
main{min-height:45vh} .subtle,.muted{color:var(--muted)} .card{min-width:0;background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:clamp(1.1rem,2vw,1.7rem)}
.button,button.primary{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:.65rem 1.15rem;border:1px solid var(--orange);border-radius:.5rem;background:var(--orange);color:white;text-decoration:none;font-weight:700;line-height:1.3}
.button:hover,button.primary:hover{background:var(--orange-deep);color:white}
.tool-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:clamp(1rem,3.8vw,3rem);align-items:start}
.form-panel,.result-panel{min-width:0;padding:clamp(1.2rem,3vw,2.4rem);border-radius:15px}
.form-panel{background:var(--surface);border:1px solid var(--line)}.result-panel{background:var(--night);color:#fff}.result-panel .subtle,.result-panel .muted{color:#d5e0e0}.result-panel a{color:#ffd4b9}
.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.field{display:flex;flex-direction:column;gap:.35rem;min-width:0}
input:not([type=checkbox]):not([type=radio]):not([type=range]),select{max-width:100%;min-height:44px;background:white;color:var(--ink);border:1px solid #8e9b9d;border-radius:.42rem;padding:.52rem .7rem}
fieldset{min-width:0}.field label,label.field,legend{font-weight:620}.stat{font-size:clamp(2.5rem,5vw,4.4rem);font-weight:720;letter-spacing:-.06em;line-height:1.05;font-variant-numeric:tabular-nums}
.article-body{max-width:79ch;margin-block:1.7rem 3.5rem}.article-body h2{margin-top:2rem}.article-body p,.article-body li{line-height:1.72}.article-body a,.source-links a{color:var(--orange-deep)}
.crumbs,.breadcrumb{font-size:.91rem;color:var(--muted)}.crumbs a,.breadcrumb a{text-decoration:none}.crumbs a:hover,.breadcrumb a:hover{text-decoration:underline}
.portal-list{list-style:none;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:1rem}.portal-list h2,.portal-list h3{margin:.35rem 0;font-size:1.38rem}.portal-list a{text-decoration:none;display:block;height:100%}.portal-list a:hover{border-color:var(--orange)}.portal-list p{margin-bottom:0}
@media(max-width:850px){.portal-bar{gap:.65rem;flex-wrap:wrap;padding-top:1rem;min-height:0}.portal-search{margin-inline-start:auto;width:35px;height:35px}.portal-nav{order:3;flex:0 0 100%;gap:1.25rem;overflow:auto;white-space:nowrap;margin:0;padding:.48rem 0 .72rem}.portal-nav a{font-size:.91rem}.tool-layout{grid-template-columns:1fr}.portal-foot-inner{display:block}.portal-foot nav{margin-top:1.3rem}}
@media(max-width:495px){.field-grid{grid-template-columns:1fr}.portal-nav{gap:.95rem}.portal-foot nav{display:grid;grid-template-columns:1fr 1fr}.wrap{width:calc(100% - 2rem)}}
.episode-index .card{padding:1rem 1rem 1.5rem}.episode-index img{display:block;width:100%;height:auto;max-height:300px;object-fit:contain;background:var(--night);margin-bottom:1rem;border-radius:8px}.finder{max-width:760px}.finder>div{display:flex;gap:.65rem;margin-top:.4rem}.finder input{flex:1;min-width:0}.article-body :where(h2,h3){scroll-margin-top:1rem}
.video-feature{display:grid;grid-template-columns:1fr 1fr;gap:clamp(1rem,5vw,3rem);align-items:center;margin:1.5rem 0 3rem}
.video-feature img,.guide-movie{display:block;width:100%;height:auto;border-radius:.65rem}.guide-movie{max-width:1024px;background:#172f3a}
.guide-chapters{display:flex;gap:.6rem;list-style:none;padding:0;flex-wrap:wrap}.guide-chapters button{padding:.55rem .8rem;background:#fff;border:1px solid #52656b;border-radius:.4rem;color:#172f3a}
@media(max-width:700px){.video-feature{grid-template-columns:1fr}}
/* Identité de La Recharge en clair */
:root {
  --rc-ink:#16201f;
  --rc-paper:#f6f3eb;
  --rc-vermillon:#ff5935;
  --ink:var(--rc-ink);
  --night:var(--rc-ink);
  --paper:var(--rc-paper);
  --surface:#fffdf7;
  --muted:#53605b;
  --line:#d2d3c8;
  --tint:#ecece2;
  --orange:#b7371e;
  --orange-deep:#993019;
}
.portal-head,.portal-foot {
  color:var(--rc-paper);
  background:var(--rc-ink);
}
.portal-head {
  border:0;
  box-shadow:inset 0 -1px #384541;
}
.portal-head .portal-bar {
  display:flex;
  align-items:center;
  gap:clamp(1rem,3vw,3rem);
  min-height:80px;
  padding-block:0;
}
.portal-head .portal-brand,.portal-foot .portal-brand {
  display:inline-flex;
  flex:0 0 auto;
  align-items:center;
  text-decoration:none;
}
.rc-signature {
  display:block;
  width:clamp(184px,18vw,219px);
  height:auto;
}
.portal-head .portal-nav {
  align-self:stretch;
  align-items:stretch;
  gap:clamp(.8rem,2.1vw,1.8rem);
}
.portal-head .portal-nav a {
  display:inline-flex;
  align-items:center;
  position:relative;
  border:0;
  padding:0;
  box-shadow:none;
  color:#e4e6d9;
  font:650 .9rem/1.2 Inter,"Avenir Next","Segoe UI",Arial,sans-serif;
  letter-spacing:.005em;
  white-space:nowrap;
}
.portal-head .portal-nav a::after {
  content:"";
  position:absolute;
  right:0;
  bottom:0;
  left:0;
  height:3px;
  background:transparent;
}
.portal-head .portal-nav a:is(:hover,[aria-current=page]) {color:#fff;}
.portal-head .portal-nav a:is(:hover,[aria-current=page])::after {background:var(--rc-vermillon);}
.portal-head .portal-search {
  display:grid;
  place-items:center;
  margin:0;
  border:1px solid #58615d;
  border-radius:50%;
  width:42px;
  height:42px;
  color:var(--rc-paper);
}
.portal-head .portal-search:hover {border-color:var(--rc-vermillon);color:var(--rc-vermillon);}
.portal-head :focus-visible,.portal-foot :focus-visible {outline-color:#ff9779;outline-offset:3px;}
.portal-head .portal-nav :focus-visible {outline-offset:-3px;}
.portal-foot {
  border-top:4px solid var(--rc-vermillon);
  margin-top:clamp(3rem,7vw,7rem);
}
.portal-foot .portal-foot-inner {
  display:grid;
  grid-template-columns:minmax(180px,1fr) minmax(0,2.35fr);
  align-items:start;
  gap:clamp(2rem,4vw,4rem);
  padding-block:clamp(2.4rem,5vw,4.7rem);
}
.portal-foot nav {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  align-items:start;
  gap:1.75rem;
  margin:0;
}
.rc-foot-group {display:grid;align-content:start;gap:.45rem;}
.portal-foot .rc-foot-group strong {
  margin-bottom:.45rem;
  color:#ff9677;
  font-size:.72rem;
  letter-spacing:.11em;
  line-height:1.4;
  text-transform:uppercase;
}
.portal-foot nav a {
  width:fit-content;
  max-width:100%;
  color:#e5e9dd;
  font-size:.89rem;
  line-height:1.5;
  font-weight:520;
}
.portal-foot nav a:hover {color:#fff;text-decoration:underline;}
@media(max-width:850px) {
  .portal-head .portal-bar {
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:0 1rem;
    min-height:0;
    padding-top:12px;
  }
  .portal-head .portal-brand {justify-self:start;}
  .portal-head .portal-nav {
    order:3;
    grid-column:1/-1;
    display:flex;
    gap:1.28rem;
    min-width:0;
    margin:10px 0 0;
    border-top:1px solid #384541;
    padding:0;
    overflow-x:auto;
    scrollbar-width:thin;
    scrollbar-color:#65706a #16201f;
  }
  .portal-head .portal-nav a {min-height:43px;flex-shrink:0;}
  .portal-head .portal-search {width:40px;height:40px;}
  .portal-foot .portal-foot-inner {grid-template-columns:1fr;}
}
@media(max-width:590px) {
  .portal-foot nav {grid-template-columns:repeat(2,minmax(0,1fr));gap:1.6rem 1rem;}
  .portal-foot .rc-foot-group a {padding-block:.12rem;}
}
/* Fin de l’identité de La Recharge en clair */

.portal-head .portal-nav a[href="/simulateurs"] {border:1px solid #ff9a76;color:#ffe9db;padding:.28rem .64rem;border-radius:4px}
.portal-head .portal-nav a[href="/simulateurs"]:hover,.portal-head .portal-nav a[href="/simulateurs"][aria-current="page"] {background:#ff835d;color:#182920}
.portal-head .portal-nav a:focus-visible {outline:2px solid #ffb89c;outline-offset:3px}
