/* Homepage seasonal hero: one reusable component. */
.home-hero{position:relative;isolation:isolate;color:#fff;background:#101820;overflow:hidden;display:flex;align-items:stretch;
  /* Desktop: show the photograph over the whole hero width. No masked-off left band.
     The shade protects text readability without cutting out the underlying scene. */
  --hero-scene-edge:linear-gradient(90deg,#000 0%,#000 100%);
  --scene-shade:linear-gradient(90deg,rgba(8,15,21,.82) 0%,rgba(8,15,21,.68) 16%,rgba(8,15,21,.44) 30%,rgba(8,15,21,.20) 46%,rgba(8,15,21,.06) 58%,transparent 70%);
  --hero-scene-bottom:linear-gradient(180deg,transparent 77%,rgba(16,24,32,.22) 87%,rgba(16,24,32,.67) 96%,#101820 100%);
}
.home-hero .hero-background{position:absolute;inset:0;z-index:-2;pointer-events:none;background-position:right top;background-size:cover;background-repeat:no-repeat;transition:opacity .38s ease;opacity:1;background-image:var(--hero-scene-bottom),var(--scene-shade),var(--scene-off)}
/* Homepage photo layers and physical lamp interaction: one component for all seasons. */
.home-hero .hero-background-on{position:absolute;inset:0;z-index:-1;pointer-events:none;background-image:var(--hero-scene-bottom),var(--scene-shade),var(--scene-on);background-position:right top;background-size:cover;background-repeat:no-repeat;opacity:0;transition:opacity .32s ease}
/* Shared scene mask: fully opaque on desktop; the existing short edge fade is
   retained for portrait/mobile backgrounds only. Never mask the foreground text. */
.home-hero .hero-background,.home-hero .hero-background-on{-webkit-mask-image:var(--hero-scene-edge);mask-image:var(--hero-scene-edge)}
.home-hero[data-light-on="true"] .hero-background-on{opacity:1}
.home-hero .hero-lamp-glow{position:absolute;inset:0;z-index:0;pointer-events:none;opacity:0;background:radial-gradient(ellipse 145px 130px at var(--lamp-x,80%) var(--lamp-y,15%),rgba(255,172,76,.16),rgba(255,147,51,.07) 48%,transparent 80%);transition:opacity .32s ease}
.home-hero[data-light-on="true"] .hero-lamp-glow{opacity:1}
.home-hero .hero-light-target{position:absolute;z-index:3;left:0;top:0;transform:translate(-50%,-50%);width:42px;height:44px;min-width:42px;min-height:44px;margin:0;padding:0;border:0;border-radius:5px;background:transparent;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.home-hero .hero-light-target[hidden]{display:none}
.home-hero .hero-light-target:focus-visible{outline:3px solid #ff902c;outline-offset:3px}
.home-hero .hero-light-target-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(min-width:641px) and (hover:hover) and (pointer:fine){.home-hero .hero-light-target:hover,.home-hero .hero-light-target.is-hovered{box-shadow:0 0 0 2px rgba(255,145,42,.70),0 0 16px rgba(255,145,42,.42);background:rgba(255,145,42,.11)}}
@media(max-width:640px){.home-hero .hero-light-target{width:64px;height:64px;min-width:64px;min-height:64px;border-radius:12px}.home-hero .hero-lamp-glow{background:radial-gradient(ellipse 115px 130px at var(--lamp-x,60%) var(--lamp-y,65%),rgba(255,170,78,.17),transparent 86%)}}
@media(prefers-reduced-motion:reduce){.home-hero .hero-background-on,.home-hero .hero-lamp-glow{transition:none}}
.home-hero[data-current-season="spring"]{--scene-off:url('/assets/sastech2/seasons/home-spring-off-329b.webp');--scene-on:url('/assets/sastech2/seasons/home-spring-on-329b.webp')}
.home-hero[data-current-season="summer"]{--scene-off:url('/assets/sastech2/seasons/home-summer-off-329b.webp');--scene-on:url('/assets/sastech2/seasons/home-summer-on-329b.webp')}
.home-hero[data-current-season="autumn"]{--scene-off:url('/assets/sastech2/seasons/home-autumn-off-329b.webp');--scene-on:url('/assets/sastech2/seasons/home-autumn-on-329b.webp')}
.home-hero[data-current-season="winter"]{--scene-off:url('/assets/sastech2/seasons/home-winter-off-329b.webp');--scene-on:url('/assets/sastech2/seasons/home-winter-on-329b.webp')}
.home-hero .hero-inner{position:relative;z-index:1;box-sizing:border-box;width:min(var(--width),calc(100% - 48px));max-width:var(--width);margin-inline:auto;display:flex;flex-direction:column;justify-content:space-between;gap:28px;}
.home-hero .hero-copy{width:min(var(--hero-copy-width),100%);max-width:100%;min-width:0}
.home-hero .hero-copy h1{line-height:1.06;letter-spacing:-.045em;margin:19px 0 19px;font-weight:900}
.home-hero .hero-copy h1 span{display:block}
.home-hero .hero-copy h1 span:last-child{color:#ff832a}
.home-hero .hero-copy .hero-lead{color:#e5e9ed;font-size:clamp(16px,1.28vw,19px);line-height:1.52;margin-bottom:22px}
.home-hero .hero-copy .button-row{display:flex;flex-wrap:wrap;gap:12px}
.home-hero .hero-footer{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 20px;align-items:center}
.home-hero .season-info{display:flex;gap:15px;align-items:center;flex-wrap:wrap}
.home-hero .season-label{font-size:20px;font-weight:850;color:#fff;border-left:3px solid #ff832a;padding-left:12px}
.home-hero .season-description{font-size:13px;color:#e2e6eb;max-width:320px;line-height:1.5}
.home-hero .season-picker{display:flex;gap:5px;padding:5px;border:1px solid rgba(255,255,255,.26);border-radius:999px;background:rgba(12,16,20,.64);backdrop-filter:blur(12px)}
.home-hero .season-button{padding:7px 12px;border:0;border-radius:999px;background:transparent;color:#fff;font:inherit;font-size:13px;font-weight:800;cursor:pointer;min-width:65px;transition:background .2s ease}
.home-hero .season-button[aria-pressed="true"]{background:#ff832a;color:#161616}
.home-hero .season-button:focus-visible,.home-hero .season-service:focus-visible{outline:3px solid #fff;outline-offset:3px}
.home-hero .season-services{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}
.home-hero .season-service{display:flex;align-items:center;justify-content:center;gap:12px;min-height:56px;padding:10px;border:1px solid rgba(255,132,42,.86);border-radius:12px;color:#fff;text-decoration:none;background:rgba(12,16,20,.72);box-shadow:inset 0 0 15px rgba(255,119,25,.13);font-size:15px;font-weight:800;backdrop-filter:blur(9px);transition:background .15s ease,transform .15s ease}
.home-hero .season-service:hover{background:rgba(255,123,30,.35);transform:translateY(-2px)}
.home-hero .season-service .service-picto{width:27px;height:27px;flex:0 0 27px;color:#ff9c54}
.home-hero.is-changing-season .hero-background{opacity:.32}
@media(min-width:821px) and (max-height:800px){
.home-hero .hero-inner{gap:10px}
.home-hero .hero-copy h1{margin:12px 0 13px}
.home-hero .hero-copy .hero-lead{line-height:1.45;margin-bottom:16px}
.home-hero .season-service{min-height:51px}
}
@media(max-width:820px){
.home-hero .hero-inner{gap:clamp(32px,6vh,58px)}
.home-hero .hero-footer{grid-template-columns:1fr;gap:12px}
.home-hero .season-picker{justify-self:start;order:2}
.home-hero .season-services{grid-column:1;grid-template-columns:repeat(2,minmax(0,1fr));order:3}
.home-hero .season-service{min-height:61px;font-size:13px}
}
@media(max-width:640px){
/* A shorter horizontal fade retains the composition of portrait scenes. */
.home-hero{--hero-scene-edge:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.55) 13%,#000 30%);--hero-scene-bottom:linear-gradient(180deg,transparent 84%,rgba(16,24,32,.35) 92%,#101820 100%)}
.home-hero[data-current-season="spring"]{--scene-shade:linear-gradient(180deg,rgba(8,15,21,.82) 0%,rgba(8,15,21,.43) 42%,rgba(8,15,21,.28) 100%);--scene-off:url('/assets/sastech2/seasons/home-spring-mobile-off.webp');--scene-on:url('/assets/sastech2/seasons/home-spring-mobile-on.webp')}
.home-hero[data-current-season="summer"]{--scene-shade:linear-gradient(180deg,rgba(8,15,21,.83) 0%,rgba(8,15,21,.46) 42%,rgba(8,15,21,.28) 100%);--scene-off:url('/assets/sastech2/seasons/home-summer-mobile-off.webp');--scene-on:url('/assets/sastech2/seasons/home-summer-mobile-on.webp')}
.home-hero[data-current-season="autumn"]{--scene-shade:linear-gradient(180deg,rgba(8,15,21,.82) 0%,rgba(8,15,21,.43) 42%,rgba(8,15,21,.28) 100%);--scene-off:url('/assets/sastech2/seasons/home-autumn-mobile-off.webp');--scene-on:url('/assets/sastech2/seasons/home-autumn-mobile-on.webp')}
.home-hero[data-current-season="winter"]{--scene-shade:linear-gradient(180deg,rgba(8,15,21,.85) 0%,rgba(8,15,21,.49) 42%,rgba(8,15,21,.30) 100%);--scene-off:url('/assets/sastech2/seasons/home-winter-mobile-off.webp');--scene-on:url('/assets/sastech2/seasons/home-winter-mobile-on.webp')}
}
@media(max-width:520px){
.home-hero .hero-background,.home-hero .hero-background-on{background-position:right top}
.home-hero .hero-inner{width:calc(100% - 40px);padding-top:30px;padding-bottom:max(26px,env(safe-area-inset-bottom));gap:clamp(34px,7vh,62px)}
.home-hero .hero-copy{width:100%;max-width:100%}
.home-hero .hero-copy h1{font-size:clamp(34px,8.8vw,44px);line-height:1.08;letter-spacing:-.04em;margin:16px 0 18px;max-width:100%;overflow-wrap:normal}
.home-hero .hero-copy .hero-lead{font-size:15px;line-height:1.5}
.home-hero .hero-copy .button-row{gap:10px;align-items:stretch}
.home-hero .hero-copy .button-row .button{font-size:13px;padding:13px 15px}
.home-hero .season-description{font-size:12px}
.home-hero .season-picker{width:100%;min-width:0;justify-content:space-between}
.home-hero .season-button{flex:1;min-width:0;padding:10px 6px}
.home-hero .season-service{gap:7px;justify-content:flex-start;padding:11px;font-size:12px}
.home-hero .season-service .service-picto{width:22px;height:22px;flex-basis:22px}
}
/* Large desktop hero sizing. */
@media(min-width:1500px) and (min-height:850px){
.home-hero{min-height:clamp(600px,calc(100svh - 90px),680px)}
.home-hero .hero-inner{padding-top:30px;padding-bottom:20px}
.home-hero .hero-copy h1{margin:13px 0 16px}
.home-hero .hero-copy .hero-lead{font-size:17px;margin-bottom:17px}
}
@media(prefers-reduced-motion:reduce){.home-hero .hero-background,.home-hero .season-service{transition:none}}
