/* Racines & Horizons V2.2 — prototype only; scoped to body.rh22-page */
.rh22-page{--rh-gold:#e7c58a;--rh-night:#091b2b;--rh-cream:#f6e9d2;background:#0b1b2b;color:#f6e9d2}
.rh22-page main{width:100%;max-width:none;padding:0}
.rh22-page main>.cip-home-hero{display:none}
.rh22-page .rh22-shell{font-family:Georgia,"Times New Roman",serif;background:linear-gradient(180deg,#071727,#102c42 44%,#071724 100%);color:#f9ecd8}
.rh22-page .rh22-top{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;padding:.8rem clamp(1rem,4vw,4rem);border-bottom:1px solid #d3a96765;background:#071827ed;position:relative;z-index:1}
.rh22-page .rh22-brand{display:flex;align-items:center;gap:.7rem;color:#f3e2c5;text-decoration:none;letter-spacing:.17em;font-size:clamp(.85rem,1.3vw,1.2rem);line-height:1.15;white-space:nowrap}
.rh22-page .rh22-brand>span:first-child{font-size:2rem;color:var(--rh-gold)}
.rh22-page .rh22-brand small{display:block;text-align:center;font-size:.63em;letter-spacing:.32em;margin-top:.25rem}
.rh22-page .rh22-links{display:flex;gap:clamp(.65rem,1.8vw,2rem);flex-wrap:wrap;justify-content:center}
.rh22-page .rh22-links a{font:400 .73rem/1.3 Georgia,serif;color:#f3e7d6;text-transform:uppercase;letter-spacing:.04em;text-decoration:none}
.rh22-page .rh22-links a:hover{color:var(--rh-gold)}
.rh22-page .rh22-topcta,.rh22-page .rh22-maincta{border:1px solid var(--rh-gold);border-radius:999px;padding:.7rem 1.1rem;text-align:center;text-decoration:none;color:var(--rh-gold);white-space:nowrap;font:400 .82rem/1.4 Georgia,serif;letter-spacing:.05em;background:#071725d9}
.rh22-page .rh22-hero{position:relative;isolation:isolate;text-align:center;overflow:hidden;padding:1.8rem 1rem 2.6rem;background:radial-gradient(ellipse at 50% 35%,#1a48618c,#071725 76%)}
.rh22-page .rh22-hero:before{content:"";position:absolute;inset:0;z-index:-2;background:linear-gradient(180deg,#071725f0 0%,#071725c9 34%,#07172550 64%,#071725e8 100%),url('assets/racines-horizons-paysage-v2-2.webp') center 55%/cover no-repeat;opacity:.9}
.rh22-page .rh22-stars{font-size:1.6rem;color:var(--rh-gold)}
.rh22-page .rh22-eyebrow{font:400 .79rem/1.4 Georgia,serif;color:var(--rh-gold);letter-spacing:.26em;margin:.5rem auto 1rem}
.rh22-page .rh22-hero h1{font:400 clamp(2rem,4.5vw,4rem)/1.15 Georgia,serif;color:#fff0d9;text-transform:uppercase;letter-spacing:.025em;margin:.2rem auto .45rem;max-width:1000px}
.rh22-page .rh22-sub{font:italic clamp(1.05rem,2vw,1.5rem)/1.45 Georgia,serif;margin:.4rem auto 1.1rem;color:#f9e9d1}
.rh22-page .rh22-motto{font:.78rem/1.4 Georgia,serif;letter-spacing:.22em;margin:0 auto 1.25rem}
.rh22-page .rh22-motto span{color:var(--rh-gold);padding:0 .5rem}
.rh22-page .rh22-duo{margin:0 auto 1.25rem;width:min(100%,760px);padding:0}
.rh22-page .rh22-duo img{display:block;width:100%;height:auto;border-radius:18px;box-shadow:0 18px 55px #000a;border:1px solid #f3cb8259}
.rh22-page .rh22-duo figcaption{color:#f3e0c4;font:italic .93rem/1.5 Georgia,serif;margin:.75rem 0}
.rh22-page .rh22-maincta{display:inline-block;padding:.9rem 2rem;background:#071725ef}
.rh22-page .rh22-doors{padding:2.5rem clamp(.8rem,3vw,3rem) 3.5rem;text-align:center;background:linear-gradient(180deg,#071725,#132b3b 58%,#071725)}
.rh22-page .rh22-doors h2{color:#f7e6cb;font:400 clamp(1.6rem,3vw,2.3rem)/1.2 Georgia,serif;letter-spacing:.12em;text-transform:uppercase;margin:.5rem 0}
.rh22-page .rh22-doors-intro{font:italic 1rem/1.6 Georgia,serif;color:#ebddc7;margin:.4rem auto 1.7rem}
.rh22-page .rh22-doorgrid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:clamp(.55rem,1.3vw,1.2rem);max-width:1480px;margin:auto}
.rh22-page .rh22-door{display:flex;min-width:0;min-height:260px;flex-direction:column;align-items:center;justify-content:flex-end;gap:.7rem;text-decoration:none;color:#f7e8d2;padding:1.2rem .8rem;border:1px solid #d8b77caa;border-radius:17px;box-shadow:inset 0 0 0 4px #081b2aa8,0 10px 28px #0007;background:linear-gradient(180deg,#091a2c44,#081827f5),radial-gradient(circle at 60% 24%,#b17c4e75,transparent 70%),url('assets/racines-horizons-paysage-v2-2.webp') center/cover;transition:transform .18s ease,border-color .18s ease}
.rh22-page .rh22-door:nth-child(2){background-position:25% center}.rh22-page .rh22-door:nth-child(3){background-position:55% 30%}.rh22-page .rh22-door:nth-child(4){background-position:85% center}.rh22-page .rh22-door:nth-child(5){background-position:95% 20%}
.rh22-page .rh22-door:hover{transform:translateY(-4px);border-color:#ffdfa2}
.rh22-page .rh22-icon{display:grid;place-items:center;width:3.1rem;height:3.1rem;border:1px solid var(--rh-gold);border-radius:50%;color:var(--rh-gold);font-size:2rem;margin:auto auto 0}
.rh22-page .rh22-door strong{font:400 clamp(.87rem,1.3vw,1.1rem)/1.3 Georgia,serif;text-transform:uppercase;letter-spacing:.05em}
.rh22-page .rh22-door>span:not(.rh22-icon){font:italic .87rem/1.4 Georgia,serif;min-height:3.3em}
.rh22-page .rh22-door em{font:400 .78rem/1.3 Georgia,serif;letter-spacing:.08em;text-transform:uppercase;color:var(--rh-gold);border:1px solid var(--rh-gold);border-radius:99px;padding:.55rem .8rem;width:min(100%,150px);font-style:normal}
.rh22-page .rh22-after{font:italic .9rem/1.5 Georgia,serif;color:#d8c7b0;margin:1.4rem auto 0}
/* Preserve original editorial sections and all their interactive mechanisms. */
.rh22-page main>.cip-section,.rh22-page main>.cip-discreet-note,.rh22-page main>.cip-footer,.rh22-page main>.cip-next-links{max-width:850px;margin-left:auto;margin-right:auto}
.rh22-page main>.cip-section{background:#fffaf0;color:#30281f;border-radius:14px;margin-top:1.2rem;margin-bottom:1.2rem;padding:clamp(1rem,3vw,2rem)}
.rh22-page main>.cip-section a{color:#6b4b28}
.rh22-page main>.cip-section h2{color:#69492c}
.rh22-page main>.cip-section .cip-nav-card{color:#3d2c1c}
.rh22-page a:focus-visible{outline:3px solid #ffce73;outline-offset:4px}
@media(max-width:1100px){.rh22-page .rh22-top{flex-wrap:wrap;justify-content:center}.rh22-page .rh22-links{order:3;width:100%;padding:.5rem 0}.rh22-page .rh22-doorgrid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){.rh22-page .rh22-top{gap:.7rem;padding:.7rem}.rh22-page .rh22-brand{font-size:.82rem}.rh22-page .rh22-links{gap:.6rem 1rem}.rh22-page .rh22-links a{font-size:.69rem}.rh22-page .rh22-topcta{padding:.5rem .75rem}.rh22-page .rh22-hero{padding:1.3rem .6rem 2rem}.rh22-page .rh22-hero h1{font-size:clamp(1.9rem,8vw,3rem)}.rh22-page .rh22-duo{width:100%}.rh22-page .rh22-doorgrid{grid-template-columns:repeat(2,minmax(0,1fr))}.rh22-page .rh22-door{min-height:240px}.rh22-page main>.cip-section{margin:1rem .65rem;padding:1.2rem}}
@media(max-width:390px){.rh22-page .rh22-doorgrid{grid-template-columns:1fr}.rh22-page .rh22-door{min-height:225px}.rh22-page .rh22-links a{font-size:.65rem}}
@media(prefers-reduced-motion:reduce){.rh22-page .rh22-door{transition:none}.rh22-page .rh22-door:hover{transform:none}}

/* V2.3 — Paysage continu : uniquement présentation, aucun mécanisme modifié. */
.rh22-page main{
  background:
    linear-gradient(180deg,rgba(5,18,30,.94) 0%,rgba(7,25,39,.79) 30%,rgba(7,23,36,.88) 70%,rgba(5,17,28,.96) 100%),
    url('assets/racines-horizons-paysage-v2-2.webp') center top / cover no-repeat;
  color:#f6e9d2;
}
.rh22-page main>.cip-section{
  background:rgba(8,26,41,.88);
  color:#f5e9d7;
  border:1px solid rgba(231,197,138,.45);
  box-shadow:0 12px 34px rgba(0,0,0,.22);
}
.rh22-page main>.cip-section h2,
.rh22-page main>.cip-section h3{color:#f0ca8b}
.rh22-page main>.cip-section a{color:#f5d49b}
.rh22-page main>.cip-section a:hover{color:#fff0d3}
.rh22-page main>.cip-section .cip-nav-card,
.rh22-page main>.cip-section .cip-card,
.rh22-page main>.cip-section .cip-question-list p,
.rh22-page main>.cip-section .cip-use-list li{
  background:rgba(17,43,59,.92);
  color:#f5e9d7;
  border-color:rgba(231,197,138,.48);
}
.rh22-page main>.cip-section .cip-nav-card strong{color:#f0ca8b}
.rh22-page main>.cip-section .cip-nav-group-intro,
.rh22-page main>.cip-section .cip-prise-hint{color:#e3d1b7}
.rh22-page main>.cip-section .cip-film-button,
.rh22-page main>.cip-section .cip-prise-button,
.rh22-page main>.cip-section button{border-color:#e7c58a;color:#f5d49b}
.rh22-page main>.cip-section textarea{background:rgba(4,16,28,.58);color:#fff2df;border-color:#c6a777}
.rh22-page main>.cip-section textarea::placeholder{color:#d8c7b0}
.rh22-page .cip-footer{background:#061725;color:#f4e5cf;text-align:center;padding:1.6rem 1rem}
.rh22-page .cip-footer a{color:#e7c58a}
@media(max-width:650px){
 .rh22-page main{background:linear-gradient(180deg,rgba(5,18,30,.95),rgba(7,25,39,.87) 48%,rgba(5,17,28,.96)),url('assets/racines-horizons-paysage-v2-2.webp') center top / cover no-repeat}
 .rh22-page main>.cip-section{background:rgba(8,26,41,.94)}
}

/* V2.4: restore semantic navigation cards even with original styles.css */
.rh22-page .cip-nav-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:1rem 0 1.5rem}
.rh22-page .cip-nav-grid .cip-nav-card{display:flex!important;flex-direction:column;gap:.35rem;padding:1.05rem 1.2rem;border:1px solid rgba(231,197,138,.55);border-radius:12px;background:rgba(26,47,62,.94);text-decoration:none!important;min-width:0}
.rh22-page .cip-nav-grid .cip-nav-card strong{display:block;color:#f3ce92;font-size:1.07rem}
.rh22-page .cip-nav-grid .cip-nav-card span{display:block;color:#f5e9d7;line-height:1.5}
.rh22-page .cip-nav-grid .cip-nav-card:hover,.rh22-page .cip-nav-grid .cip-nav-card:focus-visible{background:#254258;outline:2px solid #f3ce92;outline-offset:2px}
@media(max-width:600px){.rh22-page .cip-nav-grid{grid-template-columns:1fr}.rh22-page .rh22-links{justify-content:center}.rh22-page .rh22-doorgrid{grid-template-columns:1fr 1fr}.rh22-page .rh22-door{min-height:215px}.rh22-page .rh22-topcta{min-height:44px}}
@media(max-width:390px){.rh22-page .rh22-doorgrid{grid-template-columns:1fr}}
