/* La couleur dépend exclusivement de la position des sections visibles. */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.page-section{scroll-margin-top:100px}
.section-spacing-compact{--space-section:64px}
.section-spacing-airy{--space-section:144px}
.page-section:not(.section-spacing-normal) .section{padding-block:var(--space-section)}
.section-spacing-compact>.hero{padding-block:24px 48px}
.section-spacing-airy>.hero{padding-block:70px 110px}
.section-layout-text>.hero,.section-layout-text>.approach{grid-template-columns:1fr;max-width:960px}
.section-layout-text .hero-description{max-width:650px}
.section-layout-image_left>.hero{grid-template-columns:1fr 1.1fr}
.section-layout-image_left .hero-figure{order:-1}
.section-layout-image_right .approach-figure{order:2;margin-inline:0}
.section-layout-image_right>.approach{grid-template-columns:1.15fr .8fr}
.custom-section{display:grid;gap:clamp(32px,5vw,80px);align-items:center;min-width:0}
.custom-width-narrow{max-width:920px}
.custom-image_left.has-photo,.custom-image_right.has-photo{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.custom-image_right.has-photo .custom-figure{order:2}
.custom-image_wide.has-photo{gap:44px}
.custom-image_wide .custom-copy{max-width:980px}
.custom-text .custom-copy{max-width:880px}
.custom-align-center .custom-copy{margin-inline:auto;text-align:center}
.custom-align-center .custom-prose{margin-inline:auto}
.custom-align-center .custom-texts.has-columns{text-align:left}
.custom-copy,.custom-figure{min-width:0}
.custom-copy h2{margin-bottom:28px;overflow-wrap:anywhere}
.custom-copy .eyebrow{margin-bottom:18px}
.custom-prose{font-size:16px;line-height:1.95;color:var(--muted);max-width:75ch;overflow-wrap:anywhere}
.custom-prose p+p{margin-top:1.2em}
.custom-texts{display:grid;gap:28px}
.custom-texts.has-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(30px,5vw,72px)}
.custom-figure img{width:100%;height:auto;aspect-ratio:3/2;border-radius:var(--radius);object-fit:cover}
.custom-figure.image-ratio-square img{aspect-ratio:1}
.custom-figure.image-ratio-portrait img{aspect-ratio:4/5;max-height:720px}
.custom-figure.image-fit-contain img{object-fit:contain}
.custom-figure figcaption{margin-top:14px;color:var(--muted);font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.custom-button{margin-top:32px;white-space:normal;text-align:left;max-width:100%;overflow-wrap:anywhere}
.custom-button>span{flex-shrink:0}
/* Modèles V8.1 : mêmes composants que les sections d’origine (index dorés, étapes, questions dépliables, encart champagne). */
.custom-intro .custom-copy{max-width:820px;margin-inline:auto;text-align:center}
.custom-intro .custom-copy h2{font-size:clamp(44px,6vw,72px)}
.custom-intro .custom-prose{margin-inline:auto;font-size:17px}
.custom-intro .custom-button{margin-top:36px}
.custom-split .custom-split-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:clamp(36px,6vw,100px);align-items:start}
.custom-split .custom-split-heading h2{font-size:54px;margin-bottom:0}
.custom-split .custom-split-heading .eyebrow{margin-bottom:22px}
.custom-split .custom-split-body .custom-texts{margin-top:10px}
.custom-quote-block{margin:0;max-width:880px}
.custom-quote-block blockquote{margin:0;padding-left:34px;border-left:2px solid var(--accent)}
.custom-quote-block .custom-quote-text{font-size:clamp(30px,3.6vw,46px);line-height:1.25;letter-spacing:-.02em;margin:0}
.custom-quote-block .custom-quote-text:before{content:"« "}.custom-quote-block .custom-quote-text:after{content:" »"}
.custom-quote-block .custom-quote-author{margin-top:26px;padding-left:36px}
.custom-quote-block .custom-quote-author .custom-prose{font-size:14px;line-height:1.8}
.custom-quote-block .custom-quote-author .custom-prose:first-child p:first-child{color:var(--ink);font-weight:650}
.custom-quote-block .custom-button{margin-top:28px}
.custom-quote.has-photo{grid-template-columns:minmax(0,260px) minmax(0,1fr)}
.custom-quote-figure img{aspect-ratio:1!important;border-radius:50%;max-width:260px;margin-inline:auto}
.custom-quote-figure figcaption{text-align:center}
.custom-items-intro{max-width:760px}
.custom-items-intro .custom-prose{margin-top:-6px}
.custom-items-intro h2{margin-bottom:22px}
.custom-list .custom-items,.custom-steps .custom-items{width:100%}
.custom-list .benefits-list p{font-size:14px}
.custom-list .custom-item-single{font-size:15px;color:var(--ink)}
.custom-steps .steps{padding-top:0}
.custom-items-action{width:100%}
.custom-items-action .custom-button{margin-top:0}
.custom-faq{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);align-items:start}
.custom-faq .custom-items-intro{max-width:none}
.custom-faq .faq-list{margin:0;width:100%}
.custom-faq .faq-list summary{font-size:14px}
.custom-faq .faq-answer{font-size:14px}
.custom-panel.has-panel{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);align-items:start}
.custom-panel-box{padding:40px;min-width:0}
.custom-panel-box .custom-prose{font-size:15px;line-height:1.85}
.custom-panel-box .custom-button{margin-top:26px}
.custom-banner-box{padding:clamp(40px,6vw,72px);text-align:center;max-width:980px;margin-inline:auto;width:100%}
.custom-banner-box h2{margin-inline:auto;max-width:720px}
.custom-banner-box .custom-prose{margin-inline:auto}
.custom-banner-box .custom-button{margin-top:30px}
.custom-cover-box{position:relative;overflow:hidden;border-radius:var(--radius);min-height:520px;display:grid;align-items:end;width:100%;background:#465c67;--ink:#faf6ee;--muted:#e0e5e5;--accent:#f4dfbc;--primary:#dfc69b;--primary-hover:#edd8b6;--button-text:#263b46;--line:#7d9199;color:var(--ink)}
.custom-cover-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.custom-cover-box.image-fit-contain .custom-cover-image{object-fit:contain}
.custom-cover-box:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(38,59,70,.34) 0%,rgba(38,59,70,.72) 60%,rgba(38,59,70,.88) 100%)}
.custom-cover-copy{position:relative;z-index:1;padding:clamp(36px,5vw,64px);max-width:760px}
.custom-cover-caption{margin-top:22px;font-size:12px;color:var(--muted)}
.custom-portrait.has-photo{grid-template-columns:minmax(0,.55fr) minmax(0,1fr)}
.custom-portrait-figure{max-width:380px}
.custom-portrait-figure img{aspect-ratio:4/5;border-top-left-radius:120px}
.custom-portrait-figure.image-ratio-square img{aspect-ratio:1}
.custom-portrait-figure figcaption{font-weight:650;color:var(--ink);font-size:13px}
.custom-captioned{gap:36px}
.custom-figure-wide{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:26px;align-items:end;width:100%}
.custom-figure-wide img{aspect-ratio:2/1;max-height:640px}
.custom-figure-wide.image-ratio-square img{aspect-ratio:4/3}
.custom-figure-wide.image-ratio-portrait img{aspect-ratio:3/2}
.custom-figure-wide figcaption{margin:0 0 6px;font-family:var(--font-display);font-size:19px;line-height:1.3;color:var(--ink)}
.custom-captioned .custom-copy{max-width:780px;margin-inline:auto;text-align:center}
.custom-captioned .custom-prose{margin-inline:auto}
@media(max-width:950px){.custom-panel.has-panel,.custom-faq{gap:32px}.custom-split .custom-split-heading h2{font-size:44px}.custom-figure-wide{grid-template-columns:minmax(0,1fr) 180px}}
@media(max-width:680px){
 .custom-split .custom-split-grid,.custom-quote.has-photo,.custom-faq,.custom-panel.has-panel,.custom-portrait.has-photo,.custom-figure-wide{grid-template-columns:1fr}
 .custom-split .custom-split-heading h2{font-size:40px}
 .custom-intro .custom-copy h2{font-size:44px}
 .custom-quote-figure img{max-width:180px}
 .custom-quote-block blockquote{padding-left:20px}.custom-quote-block .custom-quote-author{padding-left:22px}
 .custom-cover-box{min-height:420px}
 .custom-panel-box{padding:28px}
 .custom-banner-box{padding:32px 22px}
 .custom-portrait-figure{max-width:300px}
 .custom-figure-wide figcaption{font-size:16px}
}
/* Menu long : la barre reste en ligne sur ordinateur, avec des liens plus petits et plus serrés (taille calculée dans head.php). */
.nav-size-13{--nav-font-size:13px}
@media(min-width:1241px){
 .nav-compact .site-header .navigation{gap:14px;flex-wrap:wrap;justify-content:flex-end;row-gap:0}
 .nav-compact .site-header .navigation>.button{padding:10px 12px;gap:10px}
}
@media(max-width:950px){.custom-image_left.has-photo,.custom-image_right.has-photo{gap:32px}.section-layout-image_right>.approach{gap:36px}}
@media(max-width:680px){
 .section-spacing-airy{--space-section:96px}.section-spacing-compact{--space-section:44px}
 .section-spacing-airy>.hero{padding-block:36px 70px}
 .custom-image_left.has-photo,.custom-image_right.has-photo,.custom-texts.has-columns,.section-layout-image_right>.approach,.section-layout-image_left>.hero{grid-template-columns:1fr}
 .custom-image_right.has-photo .custom-figure{order:0}
 .custom-section{gap:28px}.custom-prose{font-size:15px}.custom-copy h2{margin-bottom:22px}
 .section-layout-image_left .hero-figure{order:0}
 .page-section{scroll-margin-top:100px}
}
