/* Adaptation tablette et ordinateur uniquement : le mobile garde ses styles d’origine. */
@media(min-width:701px){
:is(.entry-page,.mobile-wizard,.corporate-page){--journey-header:68px;padding-bottom:0!important}
:is(.entry-page,.mobile-wizard,.corporate-page) :is(.desktop-nav,.menu-toggle,.header .basket-link,.app-tabs,.mobile-cart-dock){display:none!important}
:is(.entry-page,.mobile-wizard,.corporate-page) .header-inner{position:relative;height:var(--journey-header);justify-content:center}
:is(.entry-page,.mobile-wizard,.corporate-page) .header .brand{position:absolute;left:50%;transform:translateX(-50%);margin:0}
:is(.entry-page,.mobile-wizard,.corporate-page) .brand>span{display:none}
:is(.entry-page,.mobile-wizard,.corporate-page) .header-inner>.language-picker{position:absolute;inset-inline-start:18px;top:50%;transform:translateY(-50%)}
.entry-page{height:100dvh;overflow:hidden}
.entry-page #main>:not(.entry-hero),.entry-page .footer{display:none}
.mobile-wizard #main,.corporate-page #main{height:calc(100dvh - var(--journey-header))}
.mobile-wizard .selection-intro{width:100%;margin:0 auto}
.mobile-wizard .selection-intro .eyebrow{display:none}
.mobile-wizard .material-choices,.mobile-wizard .app-search{display:none}
.mobile-wizard .mobile-browser{display:block}
.mobile-wizard #quote-form .request-ready,.corporate-page .corporate-request-ready{display:none!important}
.mobile-wizard #builder-product{display:none}
.mobile-wizard #builder-product.is-open{display:flex;position:fixed;inset:0;z-index:120;align-items:flex-end;background:#0009;backdrop-filter:blur(3px)}
.sheet-open{overflow:hidden}
/* Le fond et les contrastes du mobile s’appliquent aussi aux grands écrans. */
body.photo-screen::after,body.photo-screen[data-visual-theme=light]::after{background:linear-gradient(180deg,rgba(5,8,5,.84) 0%,rgba(5,8,5,.40) 45%,rgba(5,8,5,.60) 72%,rgba(5,8,5,.91) 100%)}
.photo-screen .header{background:transparent;backdrop-filter:none;border-bottom-color:#ffffff24}
.photo-screen .header .brand img{filter:brightness(0) invert(1)}
.photo-screen .header .language-picker>summary{background:#0003;border-color:#ffffff55;color:#fff}
.photo-screen .selection-intro h1,.photo-screen .selection-intro>p,.photo-screen .corporate-intro h1,.photo-screen .corporate-intro>p{color:#fff}
.photo-screen .wizard-step-number,.photo-screen .corporate-step-number{color:#edeae2}
.photo-screen .wizard-progress li,.photo-screen .corporate-progress li{background:#ffffff35}
.photo-screen .wizard-progress li.is-done,.photo-screen .corporate-progress li.is-done{background:#d7bd8d}
.photo-screen .wizard-progress li.is-current,.photo-screen .corporate-progress li[aria-current]{background:#fff}
.photo-screen .app-material,.photo-screen .event-choice,.photo-screen .corporate-service{background:color-mix(in srgb,var(--surface) 94%,transparent);backdrop-filter:blur(9px)}
.photo-screen .builder-summary,.photo-screen #quote-step{background:color-mix(in srgb,var(--surface) 95%,transparent);backdrop-filter:blur(10px);border:1px solid var(--line);border-radius:20px}
.photo-screen .wizard-actions,.photo-screen .corporate-actions{background:transparent;border-color:#ffffff24}
.photo-screen .wizard-list-note{color:#edeae2}
.photo-screen .wizard-action-row>.button.outline,.photo-screen .corporate-action-row>.button.outline{color:#fff;border-color:#ffffff66;background:#0002}
.photo-screen .corporate-screens>fieldset{padding:18px;background:color-mix(in srgb,var(--surface) 96%,transparent);border:1px solid var(--line);border-radius:20px;backdrop-filter:blur(10px)}
.photo-screen .corporate-screens>[data-corporate-screen=type]{background:none;border:0;border-radius:0;padding:0;backdrop-filter:none}
.photo-screen .corporate-recap{background:none;border:0;padding:0}
}
@media(min-width:701px){
 :is(.entry-page,.mobile-wizard,.corporate-page){--journey-header:80px}
 :is(.entry-page,.mobile-wizard,.corporate-page) .header-inner>.language-picker{inset-inline-start:30px}
 :is(.entry-page,.mobile-wizard,.corporate-page) .brand img{width:118px;height:55px}
 .entry-hero{height:100dvh;min-height:0;padding:calc(var(--journey-header) + 28px) 40px 38px}
 .entry-logo{width:clamp(250px,24vw,360px);max-height:24vh;object-fit:contain}
 .entry-content{max-width:850px;margin-top:clamp(24px,7vh,80px)}
 .entry-content h1{font-size:clamp(34px,3.2vw,48px);max-width:760px;margin-bottom:26px}
 .entry-choices>.button{min-height:60px;font-size:16px}
 .mobile-wizard{height:100dvh;overflow:hidden}
 .mobile-wizard #main{max-width:1200px;margin:auto}
 .mobile-wizard .wizard-progress{max-width:820px;margin:0 auto;padding:24px 30px 0}
 .mobile-wizard .selection-intro{padding:24px 30px 20px;text-align:center}
 .mobile-wizard .selection-intro h1{font-size:40px;font-weight:500;line-height:1.25;text-align:center}
 .mobile-wizard .selection-intro>p{max-width:640px;font-size:16px;line-height:1.7;margin:12px auto 0;text-align:center}
 .mobile-wizard .selection-builder-layout{width:100%;max-width:1100px;margin:0 auto;padding:0 30px 24px}
 .mobile-wizard .mobile-material-grid{grid-template-columns:repeat(var(--choice-count,3),minmax(0,1fr));gap:20px;min-height:100%;align-content:center;max-width:1000px;margin:auto}
 .mobile-wizard .app-material{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px;min-width:0;min-height:170px;border:1px solid var(--line);border-radius:999px;padding:18px 20px;background:var(--surface);color:var(--ink);text-align:center;cursor:pointer}
 .mobile-wizard .app-material.has-items{padding:18px 20px}
 .mobile-wizard .app-material-picture{position:static;display:grid;place-items:center;width:100%;height:72px;overflow:visible;background:none;color:var(--accent)}
 .mobile-wizard .app-material-picture>.sketch{width:68px;height:68px}
 .mobile-wizard .app-material-name{display:block;padding:0;font-size:23px;font-weight:500;line-height:1.35;text-align:center}
 .mobile-wizard .app-material-meta,.mobile-wizard .app-material-add{display:none}
 .mobile-wizard .app-material-picture>b{position:absolute;top:50%;inset-inline-end:17px;inset-inline-start:auto;transform:translateY(-50%);min-width:30px;height:30px;line-height:30px;border-radius:30px;padding:0 7px;background:var(--ink);color:var(--bg);font-size:13px}
 .mobile-wizard .wizard-actions{width:100%;padding:16px 30px 24px}
 .mobile-wizard .wizard-action-row{max-width:560px;margin:auto}
 .mobile-wizard .wizard-list-note{margin-bottom:12px;font-size:13px}
 .mobile-wizard .wizard-action-row>.button{min-height:40px;font-size:15px;padding:8px 24px}
 .mobile-wizard[data-wizard-mode=list] .selection-builder-layout{max-width:790px}
 .mobile-wizard .builder-summary{position:static;max-width:730px;margin:auto;padding:24px 28px}
 .mobile-wizard .builder-summary #selection-items{max-height:none;margin-top:0}
 .mobile-wizard .builder-summary .selection-row{grid-template-columns:60px minmax(0,1fr) auto 30px;gap:18px;padding:21px 0}
 .mobile-wizard .builder-summary .selection-row-image{grid-row:auto}
 .mobile-wizard .wizard-line-icon{width:54px;height:70px}
 .mobile-wizard .builder-summary .selection-row-title{grid-column:auto;grid-row:auto}
 .mobile-wizard .builder-summary .selection-row h2{font-size:23px}
 .mobile-wizard .builder-summary .selection-row-title>p{font-size:13px}
 .mobile-wizard .builder-summary .selection-row .quantity{grid-column:auto;grid-row:auto;justify-self:end}
 .mobile-wizard .builder-summary .remove-line{grid-column:auto;grid-row:auto;width:30px}
 .mobile-wizard .builder-summary .selection-actions{margin-top:0}
 .mobile-wizard[data-wizard-mode=information] .selection-builder-layout{max-width:850px}
 .mobile-wizard #quote-step{max-width:790px;margin:auto;padding:24px 28px}
 .mobile-wizard #quote-step .field-row{display:grid;grid-template-columns:1fr 1fr;gap:20px}
 .mobile-wizard .field label{font-size:14px}
 .mobile-wizard .field input,.mobile-wizard .field textarea{font-size:16px}
 .mobile-wizard #builder-product.is-open{align-items:center;justify-content:center;padding:28px}
 .mobile-wizard #builder-product .picker-product{position:relative;display:block;width:100%;max-width:650px;max-height:calc(100dvh - 56px);min-height:0;overflow:auto;overscroll-behavior:contain;background:var(--surface);border:1px solid var(--line);border-radius:26px;box-shadow:0 18px 70px #0005}
 .mobile-wizard .sheet-close{position:absolute;top:16px;right:16px;z-index:3;display:grid;place-items:center;width:44px;height:44px;padding:10px;border:0;border-radius:50%;background:#fff;color:#24372c;box-shadow:0 3px 15px #0002}
 .mobile-wizard #builder-product .picker-photo{min-height:0;height:auto;aspect-ratio:3/2}
 .mobile-wizard #builder-product .picker-photo>img{object-position:50% 50%!important}
 .mobile-wizard #builder-product .picker-form{width:100%;padding:26px 30px;text-align:center}
 .mobile-wizard #builder-product .picker-form>h2{font-size:32px;text-align:center}
 .mobile-wizard #builder-product .picker-form>p:not(.picker-price-note){font-size:15px;margin:14px 0 20px;text-align:center}
 .mobile-wizard #builder-product .picker-form>label{font-size:14px}
 .mobile-wizard #builder-product .picker-form select{min-height:48px;font-size:16px}
 .mobile-wizard #builder-product .picker-add-row{display:flex;flex-wrap:nowrap;gap:14px}
 .mobile-wizard #builder-product .picker-add-row>.button{width:auto;min-height:40px;flex:1;font-size:14px}
 .mobile-wizard #builder-product .picker-add-row .quantity button{width:42px;height:40px}
 .mobile-wizard #builder-product .picker-add-row .quantity input{width:46px;height:40px}
 .mobile-wizard #builder-product .picker-form>.detail-link{font-size:13px}
 .mobile-wizard #builder-product .picker-price-note{font-size:12px}
 .corporate-page{height:100dvh;overflow:hidden}
 .corporate-page #main{max-width:960px}
 .corporate-progress{max-width:820px;width:100%;margin:0 auto;padding:24px 30px 0}
 .corporate-intro{padding:24px 30px 20px}
 .corporate-intro h1{font-size:40px}
 .corporate-intro p{max-width:620px;font-size:16px;margin-top:12px}
 .corporate-screens{padding:0 30px 24px}
 .corporate-screens>fieldset{max-width:760px}
 .corporate-screens>[data-corporate-screen=type]{max-width:850px}
 .event-type-grid{gap:18px}
 .event-choice{min-height:108px;border-radius:22px;font-size:16px}
 .event-choice>.sketch{width:44px;height:44px}
 .corporate-service{min-height:60px;padding:10px;font-size:14px}
 .corporate-actions{padding:18px 30px 24px}
 .corporate-action-row{max-width:560px;margin:auto}
 .corporate-action-row>.button{min-height:40px;font-size:15px}
 .corporate-screens>[data-corporate-screen=contact]{display:grid;grid-template-columns:1fr 1fr;column-gap:22px}
 .corporate-screens>[data-corporate-screen=contact]>.field:has(textarea){grid-column:1/-1}
 .corporate-recap dl>div{grid-template-columns:150px minmax(0,1fr)}
 html[dir=rtl] .mobile-wizard .selection-intro h1,html[dir=rtl] .corporate-intro h1{font-size:36px}
 html[dir=rtl] .mobile-wizard .app-material-name{font-size:21px}
 html[dir=rtl] .mobile-wizard .app-material-picture>b{left:17px;right:auto}
 html[dir=rtl] .mobile-wizard .sheet-close{left:16px;right:auto}
}
@media(min-width:1000px){
 :is(.entry-page,.mobile-wizard,.corporate-page){--journey-header:88px}
 .mobile-wizard .app-material{min-height:180px}
 .event-type-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .corporate-service-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .mobile-wizard #builder-product .picker-product{display:grid;grid-template-columns:1fr 1fr;max-width:960px}
 .mobile-wizard #builder-product .picker-photo{min-height:520px;height:100%;aspect-ratio:auto}
 .mobile-wizard #builder-product .picker-form{padding:30px}
 .mobile-wizard #builder-product .picker-add-row{flex-wrap:wrap}
 .mobile-wizard #builder-product .picker-add-row>.button{width:100%;flex:auto}
}
@media(min-width:701px) and (max-width:999px){
 .entry-content{max-width:540px}
 .entry-choices{grid-template-columns:1fr}
 .mobile-wizard .mobile-material-grid{gap:14px}
 .mobile-wizard .app-material{min-height:156px;padding-inline:12px}
 .mobile-wizard .app-material.has-items{padding-inline:12px}
 .mobile-wizard .app-material-name{font-size:20px}
 .mobile-wizard .app-material-picture>.sketch{width:60px;height:60px}
}
@media(min-width:701px) and (max-height:720px){
 .mobile-wizard .selection-intro,.corporate-intro{padding-top:16px;padding-bottom:14px}
 .mobile-wizard .selection-intro h1,.corporate-intro h1{font-size:32px}
 .mobile-wizard .selection-intro>p,.corporate-intro p{font-size:14px;margin-top:8px}
 .mobile-wizard .wizard-progress,.corporate-progress{padding-top:16px}
 .mobile-wizard .app-material{min-height:150px;gap:10px}
 .event-choice{min-height:96px;padding:8px}
 .mobile-wizard .wizard-actions,.corporate-actions{padding-top:12px;padding-bottom:14px}
}
