/* Centre MESOS · couche « Lumière » pour tout le site. Chargée après site-20.css (avant home-luxe.css sur l'accueil).
   Design seulement : aucun texte, aucun lien, aucune structure ne change. Retour arrière : retirer la balise <link> et le script. */
:root{--night:#071a36;--ease:cubic-bezier(.2,.7,.2,1)}
::selection{background:rgba(196,161,90,.34)}
@media(prefers-reduced-motion:no-preference){
@view-transition{navigation:auto}
::view-transition-old(root),::view-transition-new(root){animation-duration:.38s;animation-timing-function:ease}
}

/* En-tête : soulignement qui se trace, ombre au défilement */
.top{transition:box-shadow .4s ease}
.top.lx-s{box-shadow:0 14px 34px -22px rgba(7,26,54,.42)}
@media(min-width:78.01rem){
.top nav a{border-bottom:0;padding-bottom:calc(.3rem + 1px);background:linear-gradient(var(--gold),var(--gold)) no-repeat 0 100%/0 1px;transition:background-size .45s var(--ease),color .25s}
.top nav a:hover,.top nav a[aria-current]{background-size:100% 1px}
}
.btn{position:relative;clip-path:inset(0 round 2px);transition:background-color .35s ease,color .35s ease,box-shadow .35s ease}
.btn::after{content:"";position:absolute;inset:0;background:linear-gradient(105deg,transparent 35%,rgba(255,255,255,.22) 50%,transparent 65%);transform:translateX(-120%);pointer-events:none}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.btn:hover::after{transform:translateX(120%);transition:transform .9s var(--ease)}}
.lx-prog{position:fixed;left:0;top:0;z-index:8;width:100%;height:2px;background:var(--gold);transform:scaleX(0);transform-origin:left;pointer-events:none}

/* Ce qui suit ne concerne pas l'accueil (qui a sa propre feuille) */
:root:not(:has(.hx2)) h1{font-weight:300;letter-spacing:-.018em}
:root:not(:has(.hx2)) h2{font-weight:400;letter-spacing:-.012em}
:root:not(:has(.hx2)) h3{font-weight:500}
:root:not(:has(.hx2)) main a{text-decoration-color:rgba(196,161,90,.55);transition:text-decoration-color .25s,color .25s}
:root:not(:has(.hx2)) main a:hover{text-decoration-color:var(--gold-ink);text-decoration-thickness:1px}
:root:not(:has(.hx2)) .eye{display:flex;align-items:center;gap:1rem;font-size:.7rem;letter-spacing:.26em}
:root:not(:has(.hx2)) .eye::before{content:"";flex:none;width:2.4rem;height:1px;background:var(--gold)}

/* En-tête de page : la nuit marine de l'accueil */
.ph:not(.hero-mesos){position:relative;isolation:isolate;overflow:hidden;border-bottom:0;padding-block:clamp(3.4rem,8vw,6.5rem) clamp(3rem,7vw,5.5rem);color:var(--cream);
background:radial-gradient(52rem 30rem at var(--mx,82%) var(--my,0%),rgba(196,161,90,.2),transparent 62%),radial-gradient(60rem 36rem at -10% 130%,rgba(34,84,150,.55),transparent 62%),var(--night)}
.ph:not(.hero-mesos)::before,.ph:not(.hero-mesos)::after{content:"";position:absolute;z-index:-1;right:calc(var(--edge) - 16rem);top:50%;border:1px solid rgba(196,161,90,.2);border-radius:50%;transform:translateY(-50%);pointer-events:none}
.ph:not(.hero-mesos)::before{width:38rem;height:38rem}
.ph:not(.hero-mesos)::after{right:calc(var(--edge) - 28rem);width:62rem;height:62rem;border-color:rgba(248,244,238,.09)}
.ph:not(.hero-mesos) h1{max-width:18ch;font-size:clamp(2.7rem,6.2vw,5rem);line-height:.98}
.ph:not(.hero-mesos) h1::after{content:"";display:block;width:4.5rem;height:1px;margin-top:1.6rem;background:var(--gold)}
.ph:not(.hero-mesos) .lead{margin-top:1.5rem;color:rgba(248,244,238,.9)}
.ph:not(.hero-mesos) .intro,.ph:not(.hero-mesos) .ti,.ph:not(.hero-mesos) .also,.ph:not(.hero-mesos) small,.ph:not(.hero-mesos) .d,.ph:not(.hero-mesos) figcaption{color:var(--pale)}
.ph:not(.hero-mesos) .eye,.ph:not(.hero-mesos) .kick{color:var(--gold)}
.ph:not(.hero-mesos) a,.ph:not(.hero-mesos) .also a{color:var(--cream)}
.ph:not(.hero-mesos) .tel{color:var(--cream)}
.ph:not(.hero-mesos) .def strong{color:var(--gold)}
.ph:not(.hero-mesos) .btn{padding:1em 1.9em;border:1px solid var(--gold);background:transparent;color:var(--cream);font:500 .76rem/1.2 var(--sans);letter-spacing:.22em;text-transform:uppercase}
.ph:not(.hero-mesos) .btn:hover{background:var(--gold);color:var(--night)}
.ph:not(.hero-mesos) .acts a:not(.btn){font:italic 500 1.12rem/1 var(--serif);text-underline-offset:.3em}
.ph:not(.hero-mesos) figure img{box-shadow:0 40px 80px -40px rgba(0,0,0,.65)}
.pain .ph:not(.hero-mesos){background:radial-gradient(52rem 30rem at var(--mx,82%) var(--my,0%),rgba(154,171,147,.24),transparent 62%),radial-gradient(60rem 36rem at -10% 130%,rgba(86,120,96,.5),transparent 62%),#26362c}
.pain .ph:not(.hero-mesos)::before{border-color:rgba(154,171,147,.28)}
.pain .ph:not(.hero-mesos) .btn:hover{color:#1f2c24}
@media(prefers-reduced-motion:no-preference){
.ph:not(.hero-mesos) .wrap>*,.ph:not(.hero-mesos) .wrap>div>*{animation:lxrise .9s var(--ease) backwards}
.ph:not(.hero-mesos) .wrap>:nth-child(2),.ph:not(.hero-mesos) .wrap>div>:nth-child(2){animation-delay:.08s}
.ph:not(.hero-mesos) .wrap>:nth-child(3),.ph:not(.hero-mesos) .wrap>div>:nth-child(3){animation-delay:.18s}
.ph:not(.hero-mesos) .wrap>:nth-child(n+4),.ph:not(.hero-mesos) .wrap>div>:nth-child(n+4){animation-delay:.28s}
.ph:not(.hero-mesos) .wrap>div{animation:none}
}
@keyframes lxrise{from{opacity:0;transform:translateY(18px)}}

/* Fiches : titre léger, repères en plaque marine, rythme des sections */
.fiche h1{font-size:clamp(2.6rem,6vw,4.6rem);line-height:.98}
.fiche h1::after{content:"";display:block;width:4.5rem;height:1px;margin-top:1.5rem;background:var(--gold)}
.fiche .lead{margin-top:1.4rem}
.facts{position:relative;gap:1.3rem 2.2rem;margin-top:2.6rem;padding:1.6rem 1.8rem 1.7rem;border:0;border-top:1px solid var(--gold);color:var(--cream);
background:radial-gradient(30rem 14rem at 100% 0%,rgba(196,161,90,.2),transparent 65%),var(--night);box-shadow:0 30px 60px -42px rgba(7,26,54,.7)}
.facts dt{font:500 .74rem/1.4 var(--sans);letter-spacing:.18em;text-transform:uppercase;color:var(--gold)}
.facts dd{margin-top:.45rem;font-weight:400;font-size:1.55rem;line-height:1.12}
.pain .facts{background:radial-gradient(30rem 14rem at 100% 0%,rgba(154,171,147,.26),transparent 65%),#26362c}
.fiche .note{padding:1rem 1.2rem;border-left:1px solid var(--gold);background:linear-gradient(90deg,rgba(196,161,90,.1),rgba(196,161,90,0) 85%)}
.fiche h2{margin-top:3.2rem;padding-top:2.2rem;border-top:1px solid var(--line);font-size:clamp(1.8rem,3.2vw,2.35rem)}
.fiche article>h2:first-child{margin-top:0;padding-top:0;border-top:0}
:root:not(:has(.hx2)) .ck li::before{width:.8rem;background:var(--gold)}
.gauge{border-color:rgba(11,42,82,.22);background:rgba(255,255,255,.35)}
.gauge li{transition:background-color .3s,color .3s}
.gauge li a{display:flex;align-items:center;align-self:stretch;flex:1;text-decoration:none}
@media(hover:hover){.gauge li:not(.on):hover{background:rgba(196,161,90,.12);color:var(--navy)}}
.gauge .on{background:linear-gradient(120deg,var(--night),#0f3566)}
.gauge .on::after{box-shadow:0 0 0 .3rem rgba(196,161,90,.22)}
.toc a{transition:color .25s,padding-left .35s var(--ease)}
.next a{transition:color .25s}
@media(hover:hover){.next a:hover{color:var(--gold-ink)}}

/* Listes de soins : survol */
.row{position:relative;transition:background-color .4s ease}
.row h3{transition:transform .5s var(--ease)}
:root:not(:has(.hx2)) .row h3 a{text-decoration-color:transparent}
.row h3 a::after{content:"→";display:inline-block;margin-left:.5rem;font:400 .8em/1 var(--sans);color:var(--gold-ink);opacity:0;transform:translateX(-.5rem);transition:opacity .35s,transform .5s var(--ease)}
@media(hover:hover){
.row:hover{background:linear-gradient(90deg,rgba(196,161,90,.1),rgba(196,161,90,0) 72%)}
.row:hover h3{transform:translateX(.7rem)}
.row:hover h3 a::after{opacity:1;transform:none}
.prices tbody tr:not(.grp){transition:background-color .3s}
.prices tbody tr:not(.grp):hover{background:rgba(196,161,90,.08)}
}
.rows,.qa{border-top-color:var(--navy)}
.grp th{font-weight:400}

/* Questions fréquentes */
.qa summary{transition:color .25s}
.qa summary::after{transition:transform .45s var(--ease)}
.qa details[open] summary::after{content:"+";transform:rotate(45deg)}
@media(hover:hover){.qa summary:hover{color:var(--gold-ink)}}
@media(prefers-reduced-motion:no-preference){.qa details[open]>:not(summary){animation:lxrise .5s var(--ease)}}

/* Sections marine et images */
:root:not(:has(.hx2)) .deep{background:radial-gradient(60rem 34rem at 100% 0%,rgba(196,161,90,.14),transparent 60%),radial-gradient(60rem 36rem at 0% 120%,rgba(34,84,150,.45),transparent 62%),var(--night)}
:root:not(:has(.hx2)) main .band .shot img,:root:not(:has(.hx2)) main .duo .shot img{transition:transform 1.6s var(--ease)}
@media(hover:hover) and (prefers-reduced-motion:no-preference){:root:not(:has(.hx2)) main .shot:hover img{transform:scale(1.035)}}

/* Pied de page : nuit, filet or, mot-marque en filigrane */
.foot{position:relative;isolation:isolate;overflow:hidden;border-top:1px solid var(--gold);background:radial-gradient(60rem 30rem at 85% 0%,rgba(196,161,90,.12),transparent 60%),var(--night)}
.foot::after{content:"MESOS"/"";position:absolute;z-index:-1;right:-.04em;bottom:-.24em;font:300 clamp(5.5rem,17vw,16rem)/1 var(--serif);letter-spacing:.06em;color:transparent;-webkit-text-stroke:1px rgba(196,161,90,.16);pointer-events:none;user-select:none}
.foot .idx{position:relative;margin-top:2.4rem;padding-top:1.5rem;border-top:1px solid rgba(248,244,238,.16);font-size:.92rem}
.foot .idx p{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 1.3rem;margin:0}
.foot .idx b{flex:none;width:6.2rem;font:500 .7rem/1.4 var(--sans);letter-spacing:.2em;text-transform:uppercase;color:var(--gold)}
.foot .idx a{color:var(--pale);text-decoration:none;transition:color .25s}
.foot .idx a:hover{color:var(--cream);text-decoration:underline;text-decoration-color:var(--gold)}
@media(max-width:62rem){.foot .idx a{display:inline-flex;align-items:center;min-height:44px;padding:0}}
@media(max-width:36rem){.foot .idx b{width:100%;margin-top:.9rem}.foot .idx p:first-child b{margin-top:0}}

/* Apparition au défilement (posée par lumiere-1.js, jamais sans script) */
.lxon .lx{opacity:0;transform:translateY(20px)}
.lxon .lx.in{opacity:1;transform:none;transition:opacity 1s var(--ease),transform 1s var(--ease)}
@media(prefers-reduced-motion:reduce){.lxon .lx{opacity:1;transform:none}}
@media print{.lxon .lx{opacity:1;transform:none}.lx-prog{display:none}.ph:not(.hero-mesos){background:none;color:inherit}}
@media(max-width:62rem){
.ph:not(.hero-mesos)::before{right:-14rem;width:26rem;height:26rem}
.ph:not(.hero-mesos)::after{display:none}
.facts{padding:1.3rem 1.2rem 1.4rem}
.facts dd{font-size:1.4rem}
.fiche h2{margin-top:2.6rem;padding-top:1.8rem}
}
