/* Composants propres aux pages d'accueil et de sélection des simulateurs. */
.rc-main{--rc-navy:#122438;--rc-orange:#ad491e;--rc-ember:#ce652f;--rc-line:#d8d5ca;--rc-grey:#4d5a62;--rc-cream:#f6f3eb;--rc-light:#fbf9f3;color:var(--rc-navy)}
.rc-main :where(h1,h2,h3,p,figure){margin:0}.rc-main a{text-decoration:none}.rc-main a:focus-visible{outline:3px solid #1973aa;outline-offset:4px}
.rc-hero{position:relative;isolation:isolate;overflow:hidden;margin-block:clamp(1rem,2.4vw,2rem) 0;border-radius:12px;background:#172b3b;color:white;min-height:clamp(405px,39vw,550px);display:flex;align-items:center}
.rc-hero-image,.rc-hero::after{position:absolute;inset:0;width:100%;height:100%;z-index:-1}.rc-hero-image{display:block;object-fit:cover;object-position:center 55%;z-index:-2}.rc-hero::after{content:"";background:linear-gradient(90deg,rgba(8,21,34,.95) 0%,rgba(9,24,39,.91) 22%,rgba(8,25,40,.76) 43%,rgba(10,26,39,.08) 80%)}
.rc-hero-copy{width:min(640px,62%);padding:clamp(2rem,4.4vw,4.4rem)}
.rc-over{display:flex;align-items:center;gap:.6rem;font-weight:720;font-size:.81rem;line-height:1.4;letter-spacing:.035em}.rc-over::before{content:"";width:1.5rem;height:3px;background:var(--rc-ember)}
.rc-hero h1,.rc-hub-title h1,.rc-section h2{color:inherit;text-wrap:balance;font-weight:760;letter-spacing:-.061em;line-height:1.035}
.rc-hero h1{font-size:clamp(2.85rem,5.5vw,5.6rem);margin:.8rem 0 1rem;max-width:11ch}.rc-hero-description{max-width:39ch;color:#e3e7e8;font-size:clamp(1.02rem,1.35vw,1.19rem);line-height:1.5}
.rc-actions{display:flex;align-items:center;flex-wrap:wrap;gap:.65rem 1.15rem;margin-top:1.6rem}
.rc-main .rc-primary{display:inline-flex;align-items:center;justify-content:center;gap:.65rem;padding:.82rem 1.08rem;border-radius:6px;border:1px solid #f0894c;color:#142332;background:#f4a16d;font-size:.92rem;font-weight:740;line-height:1.38}.rc-main .rc-primary:hover{background:#ffbc91}
.rc-secondary{font-size:.92rem;color:#fff;font-weight:690;text-decoration:underline!important;text-decoration-color:#c3d0d5!important;text-underline-offset:.25em}
.rc-section{padding-top:clamp(2.85rem,5.5vw,5rem)}.rc-section h2{font-size:clamp(1.85rem,3.55vw,3.25rem);max-width:23ch}.rc-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem;margin-bottom:clamp(1rem,2vw,1.6rem)}
.rc-jump,.rc-card-action{font-size:.9rem;font-weight:710;color:var(--rc-orange);white-space:nowrap}.rc-jump:hover{text-decoration:underline;text-underline-offset:.22em}
.rc-tool-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(.65rem,1.45vw,1.15rem)}
.rc-main .rc-tool{color:var(--rc-navy);display:flex;align-items:flex-start;flex-direction:column;position:relative;background:var(--rc-light);padding:clamp(1rem,1.9vw,1.65rem);border:1px solid var(--rc-line);border-radius:8px;box-shadow:none;transition:background .16s ease,border-color .16s ease}
.rc-tool:hover,.rc-ep:hover,.rc-directory a:hover{background:#fffaf0;border-color:#b78363}.rc-tool:hover .rc-card-action,.rc-ep:hover .rc-card-action{text-decoration:underline;text-underline-offset:.25em}
.rc-tool h3,.rc-ep h3,.rc-directory h3,.rc-tool h2{letter-spacing:-.045em;font-size:clamp(1.17rem,1.75vw,1.58rem);font-weight:735;line-height:1.15;color:var(--rc-navy)}
.rc-tool p,.rc-ep p,.rc-directory p{font-size:.95rem;color:var(--rc-grey);line-height:1.45;margin:.5rem 0 1.15rem}.rc-tool .rc-card-action{margin-top:auto}
.rc-symbol{display:grid;place-items:center;flex:0 0 auto;overflow:hidden;position:relative;height:42px;width:42px;background:#f1e7db;border-radius:10px;margin-bottom:1.18rem;color:#9e471f}
.rc-symbol::before,.rc-symbol::after{content:"";position:absolute}
.rc-clock::before{width:20px;height:20px;border:2px solid currentColor;border-radius:50%}.rc-clock::after{width:6px;height:7px;border-bottom:2px solid;border-left:2px solid;transform:translate(2px,-2px)}
.rc-cost::before{content:"€";font:700 23px/1 Georgia,serif}.rc-range::before{width:22px;height:12px;border:2px solid;border-radius:3px}.rc-range::after{width:11px;height:6px;left:12px;background:currentColor;box-shadow:14px 0 0 -2px currentColor}
.rc-budget::before{width:21px;height:18px;border:2px solid;border-radius:3px}.rc-budget::after{width:11px;height:1.7px;background:currentColor;box-shadow:0 4px 0 currentColor;transform:translateY(-2px)}
.rc-directory{display:grid;grid-template-columns:.75fr 1.25fr;align-items:start;gap:clamp(1.5rem,5vw,4.8rem);padding:clamp(1.45rem,3.2vw,2.75rem);border:1px solid var(--rc-line);background:#eeeae0;border-radius:9px}
.rc-directory h2{max-width:13ch;line-height:1.07}.rc-directory p{margin:.7rem 0 0;max-width:38ch}.rc-dirlinks{display:grid;grid-template-columns:1fr 1fr;gap:.7rem}.rc-directory a{padding:.85rem 1rem;display:flex;align-items:center;justify-content:space-between;gap:.45rem;background:var(--rc-light);border:1px solid var(--rc-line);border-radius:5px;font-weight:695;line-height:1.3;color:var(--rc-navy)}.rc-dirlinks a span{color:var(--rc-orange)}
.rc-episodes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(.65rem,1.4vw,1.05rem)}.rc-ep{color:var(--rc-navy);display:grid;grid-template-columns:minmax(62px,29%) 1fr;gap:.85rem;align-items:center;padding:.7rem;border:1px solid var(--rc-line);background:var(--rc-light);border-radius:8px;transition:background .16s,border-color .16s}
.rc-ep img{display:block;width:100%;height:auto;aspect-ratio:9/16;object-fit:contain;background:#172b35;border-radius:4px}.rc-ep h3{font-size:clamp(1rem,1.35vw,1.27rem);line-height:1.2}.rc-ep p{margin:.4rem 0 .6rem;font-size:.84rem}.rc-ep .rc-card-action{font-size:.79rem;white-space:normal}.rc-last{padding-bottom:clamp(2.8rem,5.6vw,5rem)}
.rc-hub-title{margin:clamp(1.5rem,4vw,3.7rem) 0 1.85rem;padding:clamp(1.5rem,3.7vw,3.3rem);background:#efe9dd;border:1px solid var(--rc-line);border-radius:9px}
.rc-hub-title h1{font-size:clamp(2.45rem,4.8vw,4.7rem);max-width:17ch;margin:.75rem 0}.rc-hub-title p:last-child{font-size:clamp(1.03rem,1.45vw,1.22rem);max-width:60ch;color:var(--rc-grey)}
.rc-hub-tools{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.rc-hub-tools .rc-tool{display:grid;grid-template-columns:48px 1fr;align-items:start;gap:0 1rem;padding:clamp(1.15rem,2.35vw,2.1rem)}.rc-hub-tools .rc-symbol{grid-column:1;grid-row:1/5;margin:0}.rc-hub-tools :is(h2,p,.rc-prepare,.rc-card-action){grid-column:2}.rc-hub-tools .rc-tool p{max-width:45ch;margin:.45rem 0 .8rem}.rc-prepare{font-size:.84rem;color:var(--rc-grey);line-height:1.45;border-top:1px solid var(--rc-line);padding-top:.6rem;margin-bottom:1.05rem}.rc-prepare b{font-weight:690;color:var(--rc-navy)}
.rc-hub-foot{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.1rem 0 0;margin-top:1.7rem;border-top:1px solid var(--rc-line);color:var(--rc-grey)}.rc-hub-foot .rc-jump{white-space:normal}
@media(max-width:925px){.rc-tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rc-directory{grid-template-columns:.8fr 1.2fr}.rc-episodes{gap:.65rem}.rc-ep{grid-template-columns:54px 1fr;gap:.55rem}}
@media(max-width:680px){.rc-hero{display:flex;flex-direction:column;align-items:stretch;min-height:0}.rc-hero-image{position:static;order:1;height:auto;width:100%;max-height:270px;aspect-ratio:1.95;object-position:center;z-index:auto}.rc-hero::after{display:none}.rc-hero-copy{width:auto;padding:1.45rem;order:2}.rc-hero h1{max-width:15ch;font-size:clamp(2.45rem,9vw,3.55rem);margin:.6rem 0 .7rem}.rc-actions{margin-top:1.1rem}.rc-section{padding-top:2.55rem}.rc-section-head{align-items:flex-start;flex-wrap:wrap}.rc-section-head .rc-jump{font-size:.83rem}.rc-tool-grid{gap:.65rem}.rc-main .rc-tool{padding:1rem}.rc-symbol{height:36px;width:36px;margin-bottom:.75rem}.rc-range::after{left:9px}.rc-tool p{font-size:.89rem}.rc-card-action{font-size:.83rem}.rc-directory{grid-template-columns:1fr;padding:1.15rem;gap:.95rem}.rc-directory h2{max-width:100%}.rc-directory a{font-size:.91rem;padding:.7rem}.rc-episodes{grid-template-columns:1fr}.rc-ep{grid-template-columns:59px 1fr;gap:.85rem;padding:.55rem}.rc-ep h3{font-size:1.09rem}.rc-ep p{margin:.22rem 0}.rc-hub-tools{grid-template-columns:1fr}.rc-hub-tools .rc-tool{grid-template-columns:36px 1fr;gap:0 .75rem}.rc-hub-foot{align-items:flex-start;flex-direction:column}.rc-section.rc-last{padding-bottom:2.8rem}}
@media(max-width:355px){.rc-tool-grid,.rc-dirlinks{grid-template-columns:1fr}.rc-actions{align-items:flex-start;flex-direction:column}}
@media(prefers-reduced-motion:reduce){.rc-main *{transition:none!important}}
.rc-lease::before{width:17px;height:20px;border:2px solid;border-radius:2px}.rc-lease::after{width:9px;height:5px;border-bottom:2px solid;border-left:2px solid;transform:translateY(-1px) rotate(-45deg)}
@media(min-width:681px){.rc-hub-tools .rc-tool:last-child{grid-column:1/-1;grid-template-columns:48px minmax(0,1.2fr) minmax(0,.82fr);column-gap:1rem}.rc-hub-tools .rc-tool:last-child p{margin-bottom:0}.rc-hub-tools .rc-tool:last-child .rc-prepare{grid-column:3;grid-row:1/3;border:none;border-left:1px solid var(--rc-line);padding:0 0 0 1rem;margin:0}.rc-hub-tools .rc-tool:last-child .rc-card-action{grid-column:3;grid-row:3;padding:0 0 0 1rem;border-left:1px solid var(--rc-line)}}
.rc-gloss .rg-menu{display:flex;flex-wrap:wrap;gap:.45rem;margin:-.35rem 0 2rem}.rg-menu a{padding:.32rem .7rem;border:1px solid var(--line);border-radius:1.2rem;text-decoration:none;font-size:.92rem;color:var(--ink)}.rg-menu a:hover{color:var(--orange-deep);border-color:var(--orange)}
.rg-section{border-top:1px solid var(--line);padding:.5rem 0 1.5rem}.rg-section h2{max-width:28ch;margin:1.35rem 0}.rg-section dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.9rem 2rem;margin:0}.rg-section dl>div{padding:.65rem 0;border-top:1px solid var(--line)}.rg-section dt{font-size:1.04rem;scroll-margin-block-start:1rem}.rg-section dd{margin:.25rem 0 0;color:var(--muted);max-width:58ch}.rg-tool{font-weight:690;color:var(--orange-deep)}.rg-refs{font-size:.84rem;color:var(--muted)}@media(max-width:620px){.rg-section dl{grid-template-columns:1fr;gap:.25rem}}
