/* Échelle du contenu : décors sur toute la largeur, compositions limitées
   à 1200 px. Aucun réglage du bandeau LED, de la navigation ou du footer. */
main{--acc-content-width:1200px}
.store-stage,.acc-services-stage,.acc-contact-stage{width:100%;max-width:var(--acc-content-width);margin-inline:auto;container-type:inline-size}
.store-page{max-width:none}
.acc-services-page,.acc-contact-page{background:#030705 url('./assets/magasin-honeycomb.svg') center top/936px 6000px no-repeat}

@media(min-width:1111px){
  /* Accueil : la scène reste panoramique, son contenu devient plus compact. */
  /* Hero plein premier écran : hauteur pilotée par styles.css et le bandeau mesuré dans app.js. */
  .acc-hero__inner{width:100%;max-width:var(--acc-content-width);padding:clamp(65px,6.3vw,94px) 42px 36px}
  .acc-hero h1{font-size:clamp(46px,4.2vw,64px)}
  .acc-hero__lead{margin-block:20px 22px}
  .acc-hero .acc-button{min-height:46px;padding:12px 20px;gap:18px}

  .acc-worlds{height:240px}
  .acc-worlds__heading{top:34px}
  .acc-worlds h2{font-size:32px;line-height:35px}
  .acc-world{top:27px;bottom:13px}
  .acc-worlds__gallery{--edge:72.8px}

  .acc-stock__inner{width:100%;max-width:var(--acc-content-width);grid-template-columns:minmax(215px,21%) minmax(0,1fr);gap:20px;padding:30px 24px}
  .acc-stock h2{font-size:32px}
  .acc-stock__heading{transform:translateY(10px)}
  .acc-stock__list{gap:10px}
  .acc-stock-card__identity{gap:5px;min-height:42px}
  .acc-stock-card h3{font-size:15px}
  .acc-stock-card__price{font-size:16px}
  .acc-stock-card__body{padding:10px}
  .acc-stock-card__status{top:8px;left:8px;padding:5px 8px;font-size:9px}
  .acc-stock__cta{min-height:40px;gap:14px;padding:9px 14px;font-size:10px}

  .acc-shop,.acc-shop__inner{min-height:clamp(380px,27vw,440px)}
  .acc-shop__inner{width:100%;max-width:var(--acc-content-width);grid-template-columns:48% 52%}
  .acc-shop__copy{padding:26px 24px 28px 58px}
  .acc-shop__line,.acc-shop__line:nth-child(4){font-size:clamp(29px,2.3vw,38px)}
  .acc-shop__copy h2::after{margin:10px 0 14px 10%;height:2px}
  .acc-shop__copy p{font-size:15px;line-height:1.5;margin-bottom:18px}
  .acc-shop__cta{min-height:44px;padding:10px 18px;font-size:14px;gap:18px}
  .acc-shop__cta svg{width:22px;height:22px}

  .acc-workshop-shell{background:radial-gradient(ellipse at 57% 51%,#0b100d,#080b0c 72%)}
  .acc-workshop{--wu:calc(min(100cqw,1200px) / 1024);width:100%;max-width:var(--acc-content-width);margin-inline:auto}
  .acc-contact-sizing{background:#030503}
  .acc-contact{--cu:calc(min(100cqw,1200px) / 1024);width:100%;max-width:var(--acc-content-width);margin-inline:auto}

  .acc-about{--au:calc(min(100vw,1200px) / 1672);height:max(535px,calc(760 * var(--au)))}
  .acc-about__layout{width:100%;max-width:var(--acc-content-width);left:50%;right:auto;transform:translateX(-50%)}
  .acc-about__copy>p:not(.acc-about__eyebrow):not(.acc-about__keywords){max-width:calc(580 * var(--au));font-size:max(14px,calc(18 * var(--au)));line-height:max(20px,calc(25.5 * var(--au)))}

  .acc-partners{padding:50px 0 54px}
  .acc-partners__header{max-width:var(--acc-content-width);padding-inline:38px}
  .acc-partners h2{font-size:clamp(34px,3.4vw,50px)}
  .acc-partners__marquee{margin-top:23px}
  .acc-partners__logo{flex-basis:180px;width:180px;height:90px;padding:16px 18px}
  .acc-partners__logo img{max-height:58px}
  .acc-partners__arrow{width:38px;height:38px}

}

@media(min-width:621px){
  .svc-hero__content{top:calc(24 * var(--su))}
  .svc-hero__breadcrumb{margin-bottom:calc(14 * var(--su))!important}
  .svc-hero h1{font-size:calc(44 * var(--su))}
  .svc-hero__subtitle{margin-top:calc(11 * var(--su))!important}
}

/* Services et Contact : même échelle visuelle que le magasin, sans réduire
   la largeur utile ni appliquer un zoom à l'interface. */
@media(min-width:1024px){
  .svc-hero{height:auto;min-height:calc(270 * var(--su))}
  .svc-hero__content{position:relative;left:auto;top:auto;margin-left:calc(39 * var(--su));padding-block:calc(20 * var(--su))}
  .svc-hero__shade::after{left:53%;width:9.4%;height:100%;transform:none;clip-path:polygon(0 0,2px 0,100% 100%,calc(100% - 2px) 100%)}
  .svc-hero__breadcrumb{font-size:13px;margin-bottom:calc(12 * var(--su))!important}
  .svc-hero h1{font-size:clamp(36px,3.4vw,44px);line-height:1}
  .svc-hero__subtitle{font-size:16px;line-height:1.15;margin-top:calc(10 * var(--su))!important}
  .svc-hero__description{font-size:15px;line-height:1.3;margin-top:calc(8 * var(--su))!important}
  .svc-hero__features{top:calc(47 * var(--su))}
  .svc-hero__features li{min-height:calc(45 * var(--su));font-size:14px;gap:calc(9 * var(--su))}
  .svc-hero__features svg{width:30px;height:30px}

  .svc-offers{height:calc(455 * var(--su))}
  .svc-offers__head{top:calc(18 * var(--su))}
  .svc-offers__head h2,.svc-pricing__head h2{font-size:clamp(28px,2.7vw,34px);line-height:.95}
  .svc-offers__intro{width:calc(304 * var(--su));margin-right:0!important;font-size:14px;line-height:1.25}
  .svc-offers__cards{top:calc(86 * var(--su));height:calc(300 * var(--su))}
  .svc-card__photo{height:calc(126 * var(--su))}
  .svc-card__body{top:calc(116 * var(--su))}
  .svc-card h3{min-height:calc(44 * var(--su));font-size:calc(11.5 * var(--su));gap:calc(8 * var(--su))}
  .svc-card__icon{flex-basis:calc(36 * var(--su));width:calc(36 * var(--su));height:calc(36 * var(--su))}
  .svc-card__icon svg{width:calc(23 * var(--su));height:calc(23 * var(--su))}
  .svc-card ul{gap:calc(4 * var(--su))}

  .svc-offers__cta{top:calc(399 * var(--su));min-height:calc(34 * var(--su))}
  .svc-pricing{height:calc(268 * var(--su))}
  .svc-pricing__head{top:calc(20 * var(--su))}
  .svc-pricing__cards{top:calc(75 * var(--su));height:calc(128 * var(--su))}
  .svc-price h3{height:calc(50 * var(--su));font-size:calc(13 * var(--su));gap:calc(14 * var(--su))}
  .svc-price h3 svg{width:calc(26 * var(--su));height:calc(26 * var(--su))}
  .svc-price__amount{font-size:calc(29 * var(--su))}
  .svc-price__body>p:last-child{font-size:calc(11 * var(--su));margin-top:calc(6 * var(--su))}
  .svc-pricing__notice{bottom:calc(16 * var(--su));min-height:calc(32 * var(--su));padding-block:calc(4 * var(--su))}
  .svc-pricing__notice svg{width:calc(22 * var(--su));height:calc(22 * var(--su))}

  .cnt-hero{height:calc(300 * var(--u))}
  .cnt-hero__content{top:calc(28 * var(--u))}
  .cnt-hero__breadcrumb{margin-bottom:calc(19 * var(--u));font-size:13px}
  .cnt-hero h1{font-size:clamp(36px,3.6vw,44px)}
  .cnt-hero__underline{margin-block:calc(15 * var(--u))}
  .cnt-hero__content>p{font-size:15.5px;line-height:1.45}
  .cnt-contact{height:auto;min-height:calc(460 * var(--u));padding-block:calc(19 * var(--u))}
  .cnt-contact__grid{height:auto}
  .cnt-form-panel{height:auto;min-height:calc(422 * var(--u));padding:calc(18 * var(--u)) calc(22 * var(--u)) calc(12 * var(--u))}
  .cnt-form-panel h2{font-size:clamp(27px,2.6vw,32px)}
  .cnt-form-panel__intro{font-size:16px;line-height:1.3;margin-top:calc(9 * var(--u))!important}
  .cnt-form{margin-top:calc(15 * var(--u))}
  .cnt-form__fields{gap:calc(10 * var(--u)) calc(12 * var(--u))}
  .cnt-form input:not([type=checkbox]){height:40px;font-size:14px}
  .cnt-form__message{height:calc(103 * var(--u));margin-top:calc(12 * var(--u))}
  .cnt-form__message-title{font-size:14px}
  .cnt-form textarea{height:calc(100% - 28px);min-height:calc(70 * var(--u));font-size:14px}
  .cnt-form__consent{margin-top:calc(10 * var(--u));min-height:calc(38 * var(--u));font-size:13px;line-height:1.45}
  .cnt-form__consent input{flex-basis:20px;width:20px;height:20px}
  .cnt-form__submit{height:44px;width:290px;font-size:16px;margin-top:calc(8 * var(--u))}
  .cnt-form__submit svg{width:23px;height:23px}
  .cnt-details{gap:calc(10 * var(--u))}
  .cnt-details__card--phone{height:calc(148 * var(--u))}
  .cnt-details__card--email{height:calc(106 * var(--u))}
  .cnt-details__card--hours{height:calc(148 * var(--u))}
  .cnt-details__icon{width:38px;height:38px;margin-top:calc(17 * var(--u))}
  .cnt-details__body{padding-top:calc(17 * var(--u))}
  .cnt-details__body h2{font-size:17px}
  .cnt-details__hint{font-size:13px;margin-block:calc(4 * var(--u)) calc(7 * var(--u))!important}
  .cnt-details__tel span{font-size:18px}
  .cnt-details__tel small{font-size:13px}
  .cnt-details__tel svg,.cnt-details__email svg,.cnt-details__hours svg{flex-basis:24px;width:24px;height:24px}
  .cnt-details__email{font-size:15px;gap:12px}
  .cnt-details__hours{font-size:13px;line-height:1.35;gap:12px;margin-top:calc(8 * var(--u))}
  .cnt-details__hours+.cnt-details__hours{margin-top:calc(7 * var(--u))}

  .cnt-visit{height:max(350px,calc(310 * var(--u)))}
  .cnt-visit__copy{top:calc(22 * var(--u))}
  .cnt-visit h2{font-size:clamp(30px,2.8vw,36px);margin-top:calc(9 * var(--u))!important}
  .cnt-visit__description{font-size:14px;line-height:1.4;margin-top:calc(10 * var(--u))!important}
  .cnt-visit__address{margin-top:calc(12 * var(--u));gap:15px}
  .cnt-visit__address svg{width:25px;height:30px}
  .cnt-visit__address address{font-size:14px;line-height:1.35}
  .cnt-visit__button{height:40px;width:290px;font-size:13px;margin-top:calc(11 * var(--u))}
  .cnt-visit__button svg{width:23px;height:23px}
  .cnt-visit__map{--map-u:calc(430 * var(--u) / 539);left:auto;right:calc(44 * var(--u));top:calc(25 * var(--u));width:calc(430 * var(--u));height:auto;aspect-ratio:539/304;background-size:calc(1024 * var(--map-u)) calc(1268 * var(--map-u));background-position:calc(-444 * var(--map-u)) calc(-929 * var(--map-u))}
}


/* Accueil — disposition validée (proposition n°2).
   Titres, boutons et cartes gardent leurs classes et leur style d'origine.
   Seuls leur placement, les marges et le décor des deux sections changent. */
.acc-stock,.acc-stock--neuf{
  position:relative;
  z-index:2;
  background:transparent;
  background-image:none;
  border-top:0;
}
.acc-stock::before,.acc-stock::after,
.acc-stock--neuf::before,.acc-stock--neuf::after{
  display:none;
}
.acc-stock .acc-stock__inner{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  align-items:stretch;
  width:100%;
  max-width:1280px;
  gap:0;
  padding:42px clamp(22px,3.2vw,44px) 42px;
}
.acc-stock .acc-stock__heading{
  align-items:center;
  justify-content:center;
  transform:none;
  text-align:center;
  margin:0 0 27px;
}
/* Titres Occasion / Neuf : une seule ligne entièrement blanche.
   Halo noir diffus non rectangulaire pour préserver la lisibilité du parallaxe. */
.acc-stock-showcase .acc-stock__heading{
  position:relative;
  isolation:isolate;
  width:max-content;
  max-width:100%;
  margin:0 auto 27px;
  padding:8px clamp(8px,2vw,25px) 12px;
  transform:none;
}
.acc-stock-showcase .acc-stock__heading::before{
  content:"";
  position:absolute;
  z-index:-1;
  inset:-26px -55px -23px;
  border-radius:50%;
  background:radial-gradient(ellipse at center,rgba(0,0,0,.8) 0%,rgba(0,0,0,.56) 41%,rgba(0,0,0,.24) 68%,transparent 86%);
  filter:blur(9px);
  pointer-events:none;
}
.acc-stock-showcase .acc-stock h2{
  margin:0;
  max-width:100%;
  color:#fff;
  font-size:clamp(24px,2.8vw,32px);
  line-height:1.05;
  letter-spacing:-.04em;
  white-space:nowrap;
  text-shadow:0 2px 15px rgba(0,0,0,.45);
}
@media(max-width:620px){
  .acc-stock-showcase .acc-stock__heading{
    margin-bottom:20px;
    padding:6px 2px 10px;
  }
  .acc-stock-showcase .acc-stock__heading::before{
    inset:-16px -14px -17px;
    filter:blur(6px);
  }
  .acc-stock-showcase .acc-stock h2{
    font-size:clamp(15px,4.15vw,25px);
    letter-spacing:-.05em;
  }
}
.acc-stock .acc-stock__gallery{width:100%;min-width:0}
.acc-stock .acc-stock__list{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  grid-auto-flow:row;
  grid-auto-columns:auto;
  gap:clamp(10px,1.2vw,17px);
  overflow:visible;
  padding:0;
  margin:0;
}
.acc-stock .acc-stock__cta{
  justify-self:center;
  margin:25px auto 0;
}
.acc-stock .acc-stock__demo-warning{
  margin:0 auto;
  padding:0 25px 16px;
  text-align:center;
}
@media(max-width:1110px){
  .acc-stock .acc-stock__inner{padding:35px clamp(18px,4vw,35px) 38px}
  .acc-stock .acc-stock__heading{margin-bottom:23px}
  .acc-stock .acc-stock__list{
    grid-template-columns:none;
    grid-auto-flow:column;
    grid-auto-columns:clamp(235px,29vw,285px);
    gap:13px;
    overflow-x:auto;
    overscroll-behavior-inline:contain;
    scroll-snap-type:x mandatory;
    scrollbar-width:thin;
    scrollbar-color:rgba(165,229,27,.5) transparent;
    padding:3px 2px 12px;
  }
}
@media(max-width:620px){
  .acc-stock .acc-stock__inner{padding:31px 0 34px}
  .acc-stock .acc-stock__heading{padding:0 16px;margin-bottom:20px}
  .acc-stock .acc-stock__gallery{min-width:0}
  .acc-stock .acc-stock__list{
    grid-auto-columns:minmax(245px,78vw);
    padding:3px 16px 12px;
  }
  .acc-stock .acc-stock__cta{margin-top:19px}
}


/* Un seul fond continu pour Occasion + Neuf : le même que « Qui sommes-nous ».
   Une photographie, sans répétition et sans jointure entre les deux sections. */
.acc-stock-showcase{
  --stock-showcase-offset:0px;
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background:#07100c;
}
.acc-stock-showcase__landscape{
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  /* Même cadrage et même fixation du panorama que dans « Qui sommes-nous ». */
  background:url('./assets/about-carcassonne-landscape-v3.webp') center top/cover no-repeat fixed;
  transform:none;
  will-change:auto;
}
.acc-stock-showcase__shade{
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  /* Même voile que « Qui sommes-nous », moins sombre sur le panorama. */
  background:linear-gradient(90deg,rgba(0,7,8,.42),rgba(0,7,8,.19) 30%,transparent 58%),
             linear-gradient(0deg,rgba(0,7,7,.4),transparent 30%);
}
/* Sous 1100 px, comme « Qui sommes-nous », utiliser un paysage mobile
   animé par le scroll plutôt qu'un fond fixé (peu fiable sur mobiles). */
@media(max-width:1100px){
  .acc-stock-showcase__landscape{
    inset:-16% 0;
    background-attachment:scroll;
    transform:translate3d(0,var(--stock-showcase-offset,0px),0) scale(1.08);
    will-change:transform;
  }
  .acc-stock-showcase__shade{
    background:linear-gradient(180deg,rgba(1,8,10,.48),rgba(1,8,10,.25) 48%,rgba(1,8,10,.32));
  }
}
.acc-stock-showcase .acc-stock{
  position:relative;
  z-index:2;
  background:transparent;
  background-image:none;
}
.acc-stock-showcase .acc-stock::before,
.acc-stock-showcase .acc-stock::after{display:none}
@media(prefers-reduced-motion:reduce){
  .acc-stock-showcase__landscape{transform:none;will-change:auto}
}
