/* M808 V40: coherent day/night, compact editorial rhythm, and deliberate interactive glass. */
:root{--v40-foreground:#f4eff7;--v40-secondary:#c8becd;--v40-glass-text:#fff;--v40-surface:#1b1720;--v40-border:rgba(255,255,255,.14);--v40-link:#e2bfef}
html{scroll-padding-top:94px}
.m808-v39 header{position:fixed!important;top:0;left:0;right:0;z-index:1000!important;background:rgba(14,12,19,.65)!important;backdrop-filter:blur(22px) saturate(145%);-webkit-backdrop-filter:blur(22px) saturate(145%)}
.m808-v39{padding-top:88px}
.m808-v39 .v39-hero{padding:clamp(38px,5vw,72px) 0 clamp(19px,2vw,29px)}
.m808-v39 .v39-section{padding:clamp(26px,3.1vw,47px) 0!important}
.m808-v39 .v39-section+.v39-section{padding-top:clamp(10px,1.8vw,25px)!important}
.m808-v39 .v39-heading{margin-bottom:17px}
.m808-v39 .v39-heading h2{font-size:clamp(34px,4.3vw,62px)}
.m808-v39 .v39-hero h1{margin:10px 0 18px}
.m808-v39 .v39-lede{margin-bottom:18px}
.m808-v39 .v39-photo{border-radius:8px}
.m808-v39 .v39-article h2{margin:37px 0 13px}
.m808-v39 .v39-article p{margin-bottom:20px}
.m808-v39 .v39-article figure{margin:25px 0 32px;max-width:100%}
.m808-v39 .v39-article figure img{max-height:380px;width:100%;object-fit:cover;border-radius:8px}
.m808-v39 .v39-article figcaption{font-size:12px;opacity:.75;margin-top:10px}
.m808-v39 .v40-lede-offer{padding:19px 24px;border-left:2px solid #bd91d6;background:linear-gradient(90deg,rgba(135,75,167,.12),transparent);border-radius:0 9px 9px 0}
.m808-v39 .v40-lede-offer p{margin:0 0 12px;color:#d7cddd;max-width:850px}
.m808-v39 .v40-lede-offer p:last-of-type{margin-bottom:0}
.m808-v39 .v40-editorial-grid{display:grid;grid-template-columns:1.35fr 1fr;gap:16px}
.m808-v39 .v40-editorial-grid article{border:1px solid var(--v40-border);border-radius:10px;overflow:hidden;background:rgba(255,255,255,.035)}
.m808-v39 .v40-editorial-grid article:nth-child(3){grid-column:1/-1;display:flex;align-items:center;gap:22px}
.m808-v39 .v40-editorial-grid .v40-article-copy{padding:21px 23px}
.m808-v39 .v40-editorial-grid h3{font:400 clamp(28px,3vw,41px)/1.2 'Bootzy TM',sans-serif;letter-spacing:.03em;margin:0 0 9px}
.m808-v39 .v40-editorial-grid p{font-size:14px;color:var(--v40-secondary);margin:0}
.m808-v39 .v40-editorial-grid img{display:block;width:100%;height:205px;object-fit:cover}
.m808-v39 .v40-editorial-grid article:nth-child(3) img{width:38%;height:180px}
.m808-v39 .v40-gallery{display:grid;grid-template-columns:1.25fr .75fr;gap:12px;margin:24px 0}
.m808-v39 .v40-gallery img{width:100%;height:100%;max-height:290px;object-fit:cover;border-radius:8px}
.m808-v39 .v40-gallery img:first-child{aspect-ratio:1.65}
.m808-v39 .v40-gallery img:last-child{aspect-ratio:1.0}
.m808-v39 .v40-product-box{background:#ebe9ed;border:1px solid #ddd6df;border-radius:12px;padding:18px;overflow:hidden}
.m808-v39 .v40-product-box img{display:block;max-height:320px;width:100%;object-fit:contain;mix-blend-mode:multiply}
.m808-v39 .v40-product-box small{display:block;color:#62576e;font-size:11px;margin-top:8px;text-align:center}
.m808-v39 .v40-number-price{font-size:19px!important;color:#f6ebfa!important;line-height:1.5!important}
.m808-v39 .v40-number-price strong{font-size:31px;white-space:nowrap}
.m808-v39 .v40-instagram{display:inline-flex;gap:10px;align-items:center;color:var(--v40-link)!important;font-weight:700;text-decoration:none!important}
.m808-v39 .v40-instagram svg{width:22px;height:22px}
/* Buttons: non-uniform optical rim, low-fill translucency, meaningful interactions only. */
.m808-v39 a.liquid-glass,body#m808-v22 a.liquid-glass:not(.service){
  isolation:isolate;position:relative;overflow:hidden;
  background:linear-gradient(150deg,rgba(255,255,255,.078),rgba(255,255,255,.018) 58%,rgba(255,255,255,.042))!important;
  border:1px solid rgba(255,255,255,.21)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.24),inset 0 -1px 0 rgba(3,2,9,.28),0 6px 15px rgba(0,0,0,.13)!important;
  -webkit-backdrop-filter:blur(6px) saturate(135%)!important;backdrop-filter:blur(6px) saturate(135%)!important;
  transition:transform .38s cubic-bezier(.2,.8,.2,1),background .3s ease,box-shadow .3s ease!important;
}
.m808-v39 a.liquid-glass::after,body#m808-v22 a.liquid-glass:not(.service)::after{
  content:''!important;position:absolute;inset:0;pointer-events:none;border-radius:inherit;opacity:.75;
  background:linear-gradient(118deg,rgba(255,255,255,.25),transparent 26%,transparent 76%,rgba(255,255,255,.085));mask-image:linear-gradient(#000,#000);
}
.m808-v39 a.liquid-glass:hover,body#m808-v22 a.liquid-glass:not(.service):hover{transform:scale(1.018)!important;background-color:rgba(255,255,255,.09)!important}
.m808-v39 a.liquid-glass:active,body#m808-v22 a.liquid-glass:not(.service):active{transform:scale(.982)!important}
.m808-v39 .navlinks>.liquid-glass,body#m808-v22 nav #main-nav-links>.nav-cta{
 font-family:'Bootzy TM',sans-serif!important;font-weight:400!important;font-size:clamp(15px,1.2vw,19px)!important;letter-spacing:.045em!important;line-height:1.2!important;text-transform:none!important;min-height:46px!important;
}
/* Floating iPhone-like navigation : no black backdrop, glass remains transparent. */
@media(max-width:760px){
  .m808-v39{padding-top:72px}
  .m808-v39 header{height:72px!important;border-bottom:1px solid rgba(255,255,255,.12)!important}
  .m808-v39 .nav{height:72px!important}
  .m808-v39 .menu-trigger{display:flex!important;flex-direction:column;justify-content:center;align-items:center;gap:5px;position:relative;z-index:1005;width:46px;height:46px;background:rgba(255,255,255,.028);border:1px solid rgba(255,255,255,.16);border-radius:50%;backdrop-filter:blur(12px)}
  .m808-v39 .menu-trigger .bar{display:block;width:20px;height:1.6px;border-radius:2px;background:#f3ebfa;transition:transform .25s ease,opacity .2s ease}
  .m808-v39 .menu-trigger[aria-expanded=true] .bar:nth-child(1){transform:translateY(6.6px) rotate(45deg)}
  .m808-v39 .menu-trigger[aria-expanded=true] .bar:nth-child(2){opacity:0}
  .m808-v39 .menu-trigger[aria-expanded=true] .bar:nth-child(3){transform:translateY(-6.6px) rotate(-45deg)}
  .m808-v39 header nav.navlinks{position:fixed!important;display:flex!important;flex-direction:column!important;top:calc(72px + 8px)!important;right:14px!important;left:auto!important;width:min(318px,calc(100vw - 28px))!important;max-height:calc(100dvh - 90px);overflow-y:auto;background:transparent!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;gap:9px;padding:0!important;z-index:1003;pointer-events:none;opacity:0;visibility:hidden;transform:translateY(-10px) scale(.98);transform-origin:top right;transition:opacity .28s ease,transform .38s cubic-bezier(.2,.8,.2,1),visibility 0s linear .38s}
  .m808-v39 header nav.navlinks.open{opacity:1;visibility:visible;transform:translateY(0) scale(1);pointer-events:auto;transition:opacity .25s ease,transform .4s cubic-bezier(.2,.8,.2,1),visibility 0s}
  .m808-v39 header nav.navlinks>a{display:flex!important;align-items:center;justify-content:center;width:100%;min-height:47px;padding:10px 16px!important;border-radius:999px!important;position:relative;overflow:hidden;
    border:1px solid rgba(255,255,255,.26)!important;background:linear-gradient(145deg,rgba(255,255,255,.1),rgba(255,255,255,.028) 60%,rgba(255,255,255,.07))!important;
    -webkit-backdrop-filter:blur(11px) saturate(150%)!important;backdrop-filter:blur(11px) saturate(150%)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.26),inset 0 -1px 0 rgba(8,4,14,.16),0 7px 18px rgba(0,0,0,.13)!important;
    font-size:12px!important;color:#f9f6fc!important;line-height:1.35;text-shadow:0 1px 2px rgba(0,0,0,.15)}
  .m808-v39 header nav.navlinks>.liquid-glass{font-size:18px!important;font-family:'Bootzy TM',sans-serif!important;font-weight:400!important;letter-spacing:.06em!important}
  .m808-v39 .v40-editorial-grid{grid-template-columns:1fr}
  .m808-v39 .v40-editorial-grid article:nth-child(3){grid-column:auto;display:block}
  .m808-v39 .v40-editorial-grid article:nth-child(3) img{width:100%;height:205px}
  .m808-v39 .v40-gallery{grid-template-columns:1fr 1fr;gap:7px}
  .m808-v39 .v40-gallery img{height:170px}
  .m808-v39 .v39-price-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .m808-v39 .v39-price{padding:17px 13px}
  .m808-v39 .v39-price h3{font-size:clamp(24px,5vw,34px)}
  .m808-v39 .v39-amount{font-size:clamp(27px,7vw,38px)}
  .m808-v39 .v39-price>.liquid-glass{font-size:10px!important;min-height:42px;max-width:100%;padding:8px 11px}
  body#m808-v22 nav{position:fixed!important;top:0!important;left:0!important;right:0!important;z-index:1000!important}
  body#m808-v22 nav .mobiletoggle{position:relative!important;z-index:1300!important;display:flex!important}
  body#m808-v22 nav #main-nav-links{top:80px!important;position:fixed!important;z-index:1200!important}
  body#m808-v22 nav #main-nav-links>a{pointer-events:auto!important}
  body#m808-v22 nav #main-nav-links>.nav-cta{font-family:'Bootzy TM',sans-serif!important;font-weight:400!important;font-size:18px!important;letter-spacing:.065em!important}
}
@media(max-width:480px){.m808-v39 .v39-price-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Sitewide day mode: warmed editorial paper, never pure white. */
html[data-theme='day']{color-scheme:light;--v40-foreground:#261d2b;--v40-secondary:#544b59;--v40-surface:#eee8e5;--v40-border:rgba(62,43,70,.17);--v40-link:#643b85;--v40-glass-text:#2e2036;--violet:#805591;--text:#211d26;--muted:#5d5363;--bg:#efe8e4;--line:#35293d26}
html[data-theme='day'] body.m808-v39{background:radial-gradient(ellipse at 90% 0%,#bbacd030,transparent 35%),#eee8e3!important;color:#28212d!important}
html[data-theme='day'] .m808-v39 header{background:rgba(233,225,228,.7)!important;border-color:#5141512e!important}
html[data-theme='day'] .m808-v39 :is(h1,h2,h3){color:#261d2d!important}
html[data-theme='day'] .m808-v39 :is(.v39-lede,.v39-article,.v39-article-lead,.v39-section p,.v39-heading>p:not(.eyebrow),.v39-feature-grid p,.v39-step p,.v39-article-card p,.v39-price p,.v39-split>div>p,.v39-external p,.v40-lede-offer p){color:#514959!important}
html[data-theme='day'] .m808-v39 :is(.v39-price,.v39-article-card,.v40-editorial-grid article,.v39-guide-feature,.v39-equipment,.v39-player,.v39-guide-check){background:rgba(255,255,255,.36)!important;border-color:#4d365228!important}
html[data-theme='day'] .m808-v39 .v39-amount,html[data-theme='day'] .m808-v39 .v40-number-price{color:#35283b!important}
html[data-theme='day'] .m808-v39 .v39-price small{color:#655969!important}
html[data-theme='day'] .m808-v39 .eyebrow{color:#84549b!important}
html[data-theme='day'] .m808-v39 .navlinks a:not(.liquid-glass){color:#312339!important}
html[data-theme='day'] .m808-v39 footer{background:#e3dbdb!important;color:#332939!important}
html[data-theme='day'] .m808-v39 .footer-links a{color:#554959!important}
html[data-theme='day'] .m808-v39 .v40-lede-offer{background:#ffffff6b}
html[data-theme='day'] .m808-v39 .v39-step:before{background:#efe8e3;box-shadow:0 0 0 6px #efe8e3}
html[data-theme='day'] .m808-v39 a.liquid-glass{background:linear-gradient(135deg,#fff8,#ffffff28 62%,#fefbfd61)!important;color:#34243b!important;border-color:#64506e42!important;text-shadow:none!important}
html[data-theme='day'] .m808-v39 a.liquid-glass.violet{background:linear-gradient(130deg,#ad8bbc6b,#d2bcda31)!important}
html[data-theme='day'] .m808-v39 header .menu-trigger .bar{background:#38243b}
html[data-theme='day'] .m808-v39 header nav.navlinks>a{color:#33253d!important;text-shadow:none!important;background:linear-gradient(135deg,#fff9,#ffffff31)!important;border-color:#765b7d5b!important}
/* Home page adaptation; leave cinematic hero photography itself untouched. */
html[data-theme='day'] body#m808-v22{background:#ebe5e2!important;color:#2c2230!important}
html[data-theme='day'] body#m808-v22 #m808-scroll-stage{background:#ebe5e2!important}
html[data-theme='day'] body#m808-v22 :is(#expertises,#apropos,#contact,.section,footer,.feature,.intro,.about,.services){background-color:#ebe5e2!important;color:#302534!important}
html[data-theme='day'] body#m808-v22 :is(.intro-lead,#expertises h2,#apropos h2,#contact h2,.section h2){color:#312339!important}
html[data-theme='day'] body#m808-v22 :is(#expertises p,#apropos p,#contact p,.intro p,footer p,footer a,.section p){color:#514759!important}
html[data-theme='day'] body#m808-v22 #expertises .services .service{background-color:#d8cfd7!important;color:#302534!important}
html[data-theme='day'] body#m808-v22 a.liquid-glass{color:#2b2033!important;background:linear-gradient(145deg,#ffffffaf,#ffffff29)!important;border-color:#5b486944!important}
html[data-theme='day'] body#m808-v22 nav{background:rgba(237,231,233,.72)!important}
html[data-theme='day'] body#m808-v22 nav :is(a,.navlinks>a){color:#34273c!important;text-shadow:none!important}
html[data-theme='day'] body#m808-v22 .hero h1,html[data-theme='day'] body#m808-v22 #accueil .button{color:#fff!important}
html[data-theme='day'] body#m808-v22 #accueil{color:#fff!important}
@media(max-width:760px){html[data-theme='day'] body#m808-v22 nav #main-nav-links>a{color:#312238!important;background:linear-gradient(142deg,rgba(255,255,255,.7),rgba(255,255,255,.24))!important;border-color:#5e47714b!important}html[data-theme='day'] body#m808-v22 nav #main-nav-links>.nav-cta{color:#30213d!important}}
/* Discreet theme chooser; fixed in the actual navbar on all screens */
.m808-theme-toggle{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:36px;height:36px;min-width:36px;border-radius:50%;border:1px solid rgba(255,255,255,.25);background:rgba(255,255,255,.09);color:#eee4f5;cursor:pointer;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);transition:transform .3s ease,background .3s ease;z-index:1300}
.m808-theme-toggle:hover{transform:scale(1.07)}
.m808-theme-toggle svg{width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
html[data-theme=day] .m808-theme-toggle{color:#483650;background:#ffffffaa;border-color:#66516a51}
body#m808-v22 nav .m808-theme-toggle{margin-left:auto!important}
body#m808-v22 nav .nav{gap:10px}
@media(max-width:760px){body#m808-v22 nav .m808-theme-toggle{position:absolute;right:74px;top:21px;width:35px;height:35px} .m808-v39 .m808-theme-toggle{margin-left:auto;margin-right:7px}body#m808-v22 nav .mobiletoggle{margin-left:auto}}
/* Navigation and home cards must always be interactable above pseudo-elements. */
body#m808-v22 nav :is(.navlinks>a,.brand,.mobiletoggle){pointer-events:auto!important}
body#m808-v22 #expertises .services a.service{position:relative!important;z-index:4!important;pointer-events:auto!important;cursor:pointer!important}
body#m808-v22 #expertises .services a.service::before,body#m808-v22 #expertises .services a.service::after{pointer-events:none!important}
/* Correct visually reversed A-grave in the display font */
.grave-a{position:relative;display:inline-block}.grave-a::after{content:'';position:absolute;width:.075em;height:.22em;background:currentColor;left:.34em;top:-.12em;transform:rotate(-29deg);border-radius:1px}
@media(prefers-reduced-motion:reduce){.m808-v39 header nav.navlinks,.m808-theme-toggle,.m808-v39 a.liquid-glass{transition:none!important}}

/* V40 typography pass: Bootzy's display glyphs are designed for uppercase text. */
.m808-v39 .v39-hero h1,
.m808-v39 :is(.v39-heading h2,.v39-step h3,.v39-feature-grid h3,.v40-editorial-grid h3,.v39-guide-feature h2,.v39-price h3,.v39-article h2,.v39-article-card h3,.v39-contact-grid h2){
  font-family:'Bootzy TM',sans-serif!important;font-weight:400!important;text-transform:uppercase!important;letter-spacing:.052em!important;line-height:1.17!important;
}
.m808-v39 .v39-hero h1{font-size:clamp(46px,6.7vw,104px)!important;letter-spacing:.056em!important;line-height:1.13!important;overflow-wrap:normal}
.m808-v39 :is(.v39-heading h2,.v39-guide-feature h2,.v39-contact-grid h2){font-size:clamp(34px,4.3vw,60px)!important}
.m808-v39 .v39-article h2{font-size:clamp(29px,3vw,43px)!important;letter-spacing:.036em!important}
.m808-v39 .v39-step h3{font-size:clamp(29px,2.8vw,41px)!important}
.m808-v39 .navlinks>.liquid-glass,body#m808-v22 nav #main-nav-links>.nav-cta{font-family:'Bootzy TM',sans-serif!important;text-transform:uppercase!important;font-size:clamp(13px,1.1vw,17px)!important;letter-spacing:.05em!important;font-weight:400!important;white-space:normal!important;text-align:center!important}
@media(max-width:760px){
 .m808-v39 .v39-hero h1{font-size:clamp(40px,10vw,63px)!important}
 .m808-v39 header nav.navlinks>.liquid-glass,body#m808-v22 nav #main-nav-links>.nav-cta{font-size:17px!important}
 .m808-v39 .v39-heading h2{font-size:clamp(32px,9vw,46px)!important}
 .m808-v39 .v39-step h3{font-size:clamp(28px,7vw,38px)!important}
}
/* A clear studio CTA should remain within small cards. */
.m808-v39 .v39-price{overflow-wrap:anywhere}
.m808-v39 .v39-price>.liquid-glass{min-width:0;max-width:100%}

/* Editorial photo at the top of selected pages */
.m808-v39 .v39-hero .wrap:has(>.v40-hero-photo){display:grid;grid-template-columns:1.12fr .88fr;align-items:center;gap:clamp(24px,4vw,58px)}
.m808-v39 .v40-hero-photo{margin:0;overflow:hidden;border-radius:8px;aspect-ratio:1.35;background:#17101b}
.m808-v39 .v40-hero-photo img{width:100%;height:100%;object-fit:cover;display:block}
@media(max-width:760px){.m808-v39 .v39-hero .wrap:has(>.v40-hero-photo){grid-template-columns:1fr;gap:20px}.m808-v39 .v40-hero-photo{aspect-ratio:2.0}.m808-v39 .v40-hero-photo img{object-position:center 44%}}
/* Daytime legibility: bright refractive glass and a small dark stage for the original white logo. */
html[data-theme='day'] .m808-v39 header .brand,
html[data-theme='day'] body#m808-v22 nav .brand{
  display:inline-flex!important;align-items:center;justify-content:center;
  background:rgba(34,24,42,.94)!important;border-radius:8px!important;
  padding:6px 9px!important;box-shadow:0 2px 10px rgba(24,13,32,.08);
}
@media(max-width:760px){
 html[data-theme='day'] .m808-v39 header nav.navlinks>a{
  background:linear-gradient(150deg,rgba(255,255,255,.64),rgba(255,255,255,.40) 55%,rgba(255,255,255,.56))!important;
  -webkit-backdrop-filter:blur(20px) saturate(145%)!important;backdrop-filter:blur(20px) saturate(145%)!important;
  border-color:rgba(255,255,255,.77)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.78),inset 0 -1px 0 rgba(49,30,55,.12),0 6px 17px rgba(45,30,52,.11)!important;
 }
}
