/* A warm, local identity for the homepage. Existing responsive geometry stays shared. */
body.home.bb-public-site{--bb-home-ivory:#fbf9f5;--bb-home-linen:#f1eee7;--bb-home-sage:#f0f2eb;--bb-home-accent:#254b32;--bb-home-section-gap:96px;--bb-home-drift:14px;background:var(--bb-home-ivory);color:#203429}
body.home .site-header.bb-site-header--glass{background:rgba(251,249,245,.94);border-bottom-color:#e5e3da;border-radius:0 0 10px 10px}
body.home :is(.bb-home-shopping,.bb-home-catalog,.bb-wood-search){background:var(--bb-home-sage)}
body.home :is(.bb-reviews--home,.home-assistance--premium,.home-supply.section,.home-feature--premium){background:var(--bb-home-ivory)}
body.home .home-labell.home-labell--premium{background:var(--bb-home-sage)}
body.home:has(main>.home-labell--premium:last-child) .site-footer.bb-site-footer--night{box-shadow:0 calc(-1 * var(--bb-section-radius)) 0 var(--bb-home-sage)}

/* A single, tactile wood photograph behind a concise, readable hero. */
body.home .bb-home-hero{background:#10291e}
body.home .bb-home-hero__background{left:0;right:0;width:100%;object-position:center 48%}
body.home .bb-home-hero::before{background:linear-gradient(90deg,rgba(5,21,14,.95) 0%,rgba(7,25,17,.85) 32%,rgba(9,28,20,.42) 62%,rgba(9,28,20,.1) 100%)}
body.home .bb-home-hero__copy{max-width:680px}
body.home .bb-home-hero h1{max-width:650px;font-size:52px;line-height:1.14;letter-spacing:-.025em;text-wrap:balance}
body.home .bb-home-hero h1 .bb-home-hero__brand{color:#fff}
body.home .bb-home-hero__text{max-width:490px;color:#e3e9e1;font-size:16px;line-height:1.8}
body.home .bb-home-hero__text a{font-weight:500;text-underline-offset:3px}
body.home .bb-home-hero__delivery{color:#c7d9bc}
body.home .bb-home-hero :is(.home-seo-fold__summary,.home-seo-modal__trigger){color:inherit;font-size:13px;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}
body.home .bb-home-hero__delivery-arrow{display:inline-block;margin-left:7px;font-size:14px;line-height:1;text-decoration:none}
body.home .bb-wood-search__form{background:rgba(255,253,249,.86);border-color:#ffffff65;box-shadow:0 14px 40px -18px #203b263b}
body.home .bb-wood-search__field select{background-color:#fffdf9;border-color:#dce0d4}
body.home .bb-wood-search__quote{display:none}

/* Product pictures and names lead; the buying controls stay understated. */
body.home .bb-wood-card{box-shadow:0 5px 20px #283b2306}
body.home .bb-wood-card__body{padding:20px;gap:13px}
body.home .bb-wood-card h3{font-size:16px;line-height:1.45;min-height:2.9em;text-wrap:pretty}
body.home .bb-wood-card__tags{gap:6px 10px}
body.home .bb-wood-card__tags>span{padding:0;min-height:24px;background:transparent;color:#59684e;font-size:11px}
body.home .bb-wood-card__tags .bb-catalog-icon{color:#52724e}
body.home .bb-wood-card__specification{font-size:11px;line-height:1.7;color:#73796d}
body.home .bb-wood-card__bottom{border-top:0;padding-top:8px;gap:16px}
body.home .bb-wood-card__price{font-size:22px;letter-spacing:-.02em;font-weight:600}
body.home .bb-wood-card .bb-wood-card__add{background:var(--bb-cta-green);border-color:var(--bb-cta-green);font-weight:500;font-size:13px}
body.home .bb-wood-card .bb-wood-card__add:hover{background:var(--bb-cta-hover);border-color:var(--bb-cta-hover)}
body.home .bb-wood-card__stepper{border-color:#e0e4da}
body.home .bb-reviews__eyebrow{color:var(--bb-home-accent)}
body.home .bb-reviews--home .bb-review{background:#fffdfa;border-color:#e3e5db;box-shadow:none}

/* Let the team photograph carry the story, without another promotional button. */
body.home .bb-assistance__layout{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:64px;border:0;padding:40px;background:#fff;color:#203429;box-shadow:0 20px 56px -18px #0b251c29,0 4px 14px #0b251c0a}
body.home .bb-assistance__visual{width:100%;max-width:380px;justify-self:center}
body.home .bb-assistance__photo{aspect-ratio:4/5;max-height:480px;box-shadow:none}
body.home .bb-assistance__photo img{object-position:60% 35%}
body.home .bb-assistance__visual figcaption{display:flex;align-items:center;gap:9px;margin-top:16px;color:#637168;font-size:11px;letter-spacing:.025em}
body.home .bb-assistance__visual figcaption::before{content:"";width:5px;height:5px;flex:0 0 5px;background:#52724e}
body.home .bb-assistance__intro{color:#637168;font-size:15px;line-height:1.8}
body.home .bb-assistance__icon{color:#52724e}
body.home .bb-assistance__toggle{color:#52724e}
body.home .bb-assistance__content>h2{color:#203429}
body.home .bb-assistance__detail{border-bottom-color:#e0e7de}
body.home .bb-assistance__detail>summary{color:#254b32}
body.home .bb-assistance__detail>summary:hover,body.home .bb-assistance__detail[open]>summary{color:#32603f}
body.home .bb-assistance__detail>summary:focus-visible{outline-color:#52724e}
body.home .bb-assistance__detail[open] .bb-assistance__toggle{color:#32603f}
body.home .bb-assistance__prose{color:#637168}
body.home .bb-assistance__prose :is(strong,h3){color:#24382b}
body.home .bb-assistance__prose a{color:#254b32}
body.home .bb-assistance__prose a:is(:hover,:focus-visible){color:#32603f}
body.home .bb-assistance__prose .bb-assistance__badge{color:#254b32;background:#edf3e9}
body.home .bb-assistance__note{border-top-color:#e0e7de}
/* One short introduction beside three compact entries; delivery details live with the tariffs. */
body.home .home-supply .home-supply__layout{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:64px;background:var(--bb-home-sage)}
body.home .home-supply .home-supply__lead{max-width:480px;margin-bottom:0}
body.home .home-supply .home-supply__cards{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;border:0;padding:0;align-self:center}
body.home .home-supply .home-supply__card{display:grid;grid-template-columns:96px minmax(0,1fr);grid-template-rows:auto auto;gap:2px 20px;padding:0;border:0;min-width:0;align-content:center}
body.home .home-supply .home-supply__card-media{grid-column:1;grid-row:1/3;width:96px;aspect-ratio:6/5;margin:0}
body.home .home-supply .home-supply__card-title{grid-column:2;align-self:end;justify-self:start;margin:0;font-size:16px;line-height:1.4;text-align:left}
body.home .home-supply .home-supply__card-link{grid-column:2;align-self:start;margin:0;min-height:36px;font-size:12px}
body.home .home-supply__tariffs .home-supply__list{margin:0 0 24px}
body.home .home-supply__tariffs .home-supply__list li{padding-block:8px}
body.home .home-supply__tariffs .home-supply__list li::before{top:15px}
body.home .home-labell--premium .home-labell__summary{margin-bottom:20px}
body.home .home-labell--premium .home-labell__copy{max-width:640px;font:400 15px/1.85 var(--ff-sans,Inter,sans-serif);color:#66756a}
body.home .home-labell--premium .home-labell__copy p{margin:0 0 18px}
body.home .home-labell--premium .home-labell__copy p:last-child{margin-bottom:0}
body.home .home-labell--premium .home-labell__layout{grid-template-columns:minmax(160px,.65fr) minmax(0,1.35fr);gap:64px}
body.home .home-labell--premium .home-labell__media{aspect-ratio:auto;min-height:220px;max-width:320px;margin-inline:auto;padding:28px}
body.home .home-labell--premium .home-labell__media img{max-width:240px;height:auto;max-height:200px}
body.home .home-supply .home-supply__card{border-bottom-color:#dcded3}
/* White editorial panel; the map keeps the forest-green identity. */
body.home .home-services.home-services--transition{background:var(--bb-home-ivory);color:#203429;border:0;border-radius:0;scroll-margin-top:var(--bb-site-header-height,80px)}
body.home .home-services--transition .home-services__container{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:48px;padding:40px 48px;background:#fff;border-radius:10px;box-shadow:0 20px 56px -18px #0b251c24,0 4px 14px #0b251c08}
body.home .home-services--transition .home-services__intro{padding:0;margin-bottom:28px}
body.home .home-services--transition .home-services__title{color:#10291e}
body.home .home-services--transition .home-services__lead{max-width:500px;font-size:15px;color:#637168}
body.home .home-services__map-link{display:inline-flex;align-items:center;gap:10px;margin-top:0;min-height:36px;font-size:12px;color:#254b32;text-decoration:none}
body.home .home-services__map-link:hover{text-decoration:underline;text-underline-offset:4px}
body.home .home-services__map-link:focus-visible{outline:2px solid #52724e;outline-offset:4px}
body.home .home-services__map{min-width:0;width:100%;max-width:520px;margin:0;align-self:center}
body.home .home-services__map>img{display:block;width:100%;height:auto;border:0;border-radius:0;background:transparent;transform:none}
body.home .home-services__map figcaption{display:flex;flex-direction:column;align-items:center;gap:2px;margin-top:-16px;color:#637168;font-size:12px;line-height:1.7;text-align:center}
body.home .home-services__details{min-width:0}
body.home .home-services--transition .home-services__tabs{margin-top:0;margin-bottom:22px;border-bottom:0;gap:24px}
body.home .home-services--transition .home-services__tab{margin-bottom:0;padding-block:8px 10px;color:#637168}
body.home .home-services--transition .home-services__tab:is(.is-active,:hover,:focus-visible){color:#10291e;border-bottom-color:#254b32}
body.home .home-services--transition .home-services__panel{display:flex;flex-direction:column;align-items:flex-start;gap:12px}
body.home .home-services__panel-body{max-width:600px}
body.home .home-services--transition .home-services__panel-title{color:#203429}
body.home .home-services--transition .home-services__panel-body{color:#637168}
body.home .home-services--transition .home-services__tab:focus-visible{outline-color:#52724e}
body.home.bb-public-site .home-services--transition .home-services__panel-link{margin-top:12px}
body.home.bb-public-site .home-services--transition .home-services__panel-link:focus-visible{outline-color:#52724e}
body.home .home-labell--premium .home-labell__badge{color:var(--bb-home-accent)}
body.home .home-labell--premium .home-labell__media{background:#fffdf9}

@media(hover:hover) and (pointer:fine){body.home .bb-wood-card:hover{box-shadow:0 12px 30px #203c2410}}
/* The same smooth image easing as GMT; clip the zoom inside each existing frame. */
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
  body.home :is(.bb-wood-card__image,.bb-assistance__photo,.home-supply__card-media,.home-feature__visual){overflow:hidden}
  body.home :is(.bb-wood-card__image,.bb-assistance__photo,.home-supply__card-media,.home-feature__visual)>:is(img,picture){
    transform:scale(1);transform-origin:center;transition:transform 750ms cubic-bezier(.16,1,.3,1);
  }
  body.home .bb-wood-card:hover .bb-wood-card__image>img{transform:scale(1.045)}
  body.home :is(.bb-assistance__photo,.home-feature__visual):hover>:is(img,picture),
  body.home .home-supply__card:hover .home-supply__card-media>img{transform:scale(1.06)}
}
@media(max-width:1100px){
  body.home.bb-public-site{--bb-home-section-gap:80px}
  body.home .home-services--transition .home-services__container{padding:32px;gap:32px}
  body.home .bb-home-hero h1{font-size:44px;max-width:580px}
  body.home .bb-assistance__layout{gap:32px;padding:32px}
  body.home .bb-wood-card__body{padding:16px}
}
@media(max-width:800px){
  body.home.bb-public-site{--bb-home-section-gap:56px;--bb-home-drift:6px}
  body.home .home-services--transition .home-services__container{grid-template-columns:minmax(0,1fr);gap:24px;padding:28px}
  body.home .home-services--transition .home-services__intro{padding-top:0}
  body.home .home-services--transition .home-services__lead{max-width:560px}
  body.home .home-services__map{order:2;max-width:440px;justify-self:center}
  body.home .home-services__details{order:1}
  body.home .home-services__map figcaption{margin-top:-10px}
  body.home .home-services__map-link{margin-top:0}
  body.home .bb-assistance__layout{grid-template-columns:minmax(0,1fr);gap:26px;padding:28px}
  body.home .bb-assistance__photo{aspect-ratio:4/5;max-height:440px}
  body.home .bb-assistance__visual{max-width:360px}
  body.home .home-supply .home-supply__layout{grid-template-columns:minmax(0,1fr);gap:28px}
  body.home .home-supply .home-supply__cards{gap:24px}
  body.home .home-labell--premium .home-labell__layout{grid-template-columns:minmax(0,1fr);gap:28px}
  body.home .home-labell--premium .home-labell__media{min-height:0;padding:24px 32px}
  body.home .home-labell--premium .home-labell__media img{max-width:210px}
}
@media(max-width:760px){
  body.home .bb-home-hero__background{width:100%;object-position:54% center}
  body.home .bb-home-hero::before{background:linear-gradient(90deg,rgba(9,28,20,.87),rgba(9,28,20,.57))}
  body.home .bb-home-hero h1{font-size:34px;line-height:1.15;letter-spacing:-.02em}
  body.home .bb-home-hero__text{font-size:14px;line-height:1.8;max-width:540px}
  body.home .bb-wood-card h3{min-height:2.9em}
}
@media(max-width:520px){
  body.home .bb-home-hero h1{font-size:32px}
  body.home .bb-wood-card__body{padding:18px}
  body.home .bb-wood-card h3{min-height:0}
}
@media(max-width:480px){
  body.home .home-services--transition .home-services__container{padding:32px 20px}
  body.home .bb-assistance__layout{padding:24px 20px}
  body.home .bb-assistance__photo{aspect-ratio:4/5}
  body.home .home-supply .home-supply__card{gap:2px 16px}
  body.home .home-supply .home-supply__card-title{font-size:15px}

}
@media(max-width:350px){body.home .bb-home-hero h1{font-size:28px}}

/* One rhythm from the catalogue to the label: adjacent half-gaps form a single interval. */
body.home .bb-home-catalog{padding-bottom:64px}
body.home .bb-home-catalog__heading{margin-bottom:30px}
body.home .bb-reviews--home{padding-block:calc(var(--bb-home-section-gap) * .75) 0}
body.home .home-assistance.home-assistance--premium{padding-block:var(--bb-home-section-gap) calc(var(--bb-home-section-gap) / 2)}
body.home .home-services.home-services--transition,
body.home .home-supply.section{padding-block:calc(var(--bb-home-section-gap) / 2)}
body.home .home-feature.home-feature--premium{padding-block:calc(var(--bb-home-section-gap) / 2) calc(var(--bb-home-section-gap) * .75)}
body.home .home-labell.home-labell--premium{padding-block:calc(var(--bb-home-section-gap) * .75)}
body.home :is(#accompagnement,#livraisons,#conditionnement-palettes,#label-bois-buche){scroll-margin-top:calc(var(--bb-site-header-height,80px) + 24px)}
@media(max-width:800px){
  body.home .bb-home-catalog{padding-bottom:48px}
  body.home .bb-home-catalog__heading{margin-bottom:24px}
}

/* Native scroll timelines: a few pixels of depth, with no scroll listener or hidden content. */
@keyframes bb-home-float-up{
  from{transform:translateY(var(--bb-home-drift))}
  to{transform:translateY(calc(-1 * var(--bb-home-drift)))}
}
@keyframes bb-home-float-down{
  from{transform:translateY(calc(-1 * var(--bb-home-drift)))}
  to{transform:translateY(var(--bb-home-drift))}
}
@supports(animation-timeline:view()){
  @media(prefers-reduced-motion:no-preference){
    body.home :is(.bb-assistance__visual,.home-services__map,.home-supply__cards,.home-feature__visual,.home-labell__media){
      animation:bb-home-float-up 1s linear both;
      animation-timeline:view();
      animation-range:entry 0% exit 100%;
    }
    body.home :is(.home-services__map,.home-labell__media){animation-name:bb-home-float-down}
  }
}
@media print{
  body.home :is(.bb-assistance__visual,.home-services__map,.home-supply__cards,.home-feature__visual,.home-labell__media){animation:none!important;transform:none!important}
}

@media(max-width:760px){
  body.home .bb-home-hero::before{background:linear-gradient(90deg,rgba(5,21,14,.91),rgba(9,28,20,.66))}
}

/* Mobile service tabs: one finger-scrollable row, with independent compact buttons. */
@media(max-width:800px){
  body.home .home-services--transition .home-services__tabs{
    display:flex;flex-direction:row;flex-wrap:nowrap;align-items:stretch;justify-content:flex-start;
    width:100%;max-width:100%;min-width:0;gap:10px;margin:0 0 24px;padding:2px 2px 6px;
    overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scroll-snap-type:x proximity;
    scroll-padding-inline:2px;scrollbar-width:none;border:0;
  }
  body.home .home-services--transition .home-services__tabs::-webkit-scrollbar{display:none}
  body.home .home-services--transition .home-services__tab{
    flex:0 0 auto;width:auto;min-width:max-content;min-height:44px;margin:0;padding:10px 16px;
    white-space:nowrap;overflow-wrap:normal;scroll-snap-align:start;
    border:1px solid #dce5dd;border-radius:6px;background:#f6f8f5;color:#52665a;
    font-size:13px;line-height:1.5;text-align:center;
  }
  body.home .home-services--transition .home-services__tab:is(.is-active,[aria-selected="true"]){background:#10291e;border-color:#10291e;color:#fff}
  body.home .home-services--transition .home-services__tab:hover:not(.is-active){background:#eaf0e9;border-color:#b8c8bc;color:#10291e}
  body.home .home-services--transition .home-services__tab:focus-visible{outline-offset:-3px}
}

/* Static hero photograph. */
body.home .bb-home-hero__background{object-position:center 48%}
body.home .bb-home-hero::before{background:linear-gradient(90deg,rgba(5,21,14,.9) 0%,rgba(7,25,17,.76) 32%,rgba(9,28,20,.32) 62%,rgba(9,28,20,.08) 100%)}
body.home .bb-home-hero__inner{position:relative;z-index:1}
body.home .bb-home-hero__picture{display:contents}
@media(max-width:760px){
  body.home .bb-home-hero__background{object-position:center center}
  body.home .bb-home-hero::before{background:linear-gradient(180deg,rgba(5,21,14,.68) 0%,rgba(5,21,14,.64) 46%,rgba(5,21,14,.22) 76%,rgba(5,21,14,.1) 100%)}
  body.home .bb-home-hero__inner{justify-content:flex-start;min-height:0;padding-block:clamp(48px,6svh,64px) calc(var(--bb-wood-search-overlap,76px) + clamp(72px,12svh,112px) + 24px)}
  body.home .bb-home-hero__actions{display:flex;flex-direction:column;align-items:stretch;gap:12px;margin-top:26px}
  body.home .bb-home-hero__actions .btn{box-sizing:border-box;flex:0 0 auto;width:100%;min-height:50px;padding:13px 20px;justify-content:center;font-size:14px;text-align:center}
  body.home .bb-home-hero__actions .bb-home-hero__order{display:none}
  body.home:has(.bb-wood-search) .bb-home-hero__actions{display:none}
  body.home .bb-wood-search{padding-top:0}
  body.home .bb-wood-search__form{margin-top:calc(-1 * var(--bb-wood-search-overlap,76px))}
  body.home .bb-wood-search__actions{flex-direction:column;align-items:stretch;gap:10px}
  body.home .bb-wood-search__submit{width:100%;min-width:0}
  body.home .bb-wood-search__quote{display:flex;box-sizing:border-box;align-items:center;justify-content:center;width:100%;min-height:44px;padding:10px 16px;border:1px solid var(--bb-cta-green,#31660a);border-radius:6px;background:transparent;color:var(--bb-cta-green,#31660a);font:600 14px/1.5 var(--ff-sans,Inter,sans-serif);text-align:center;text-decoration:none}
  body.home .bb-wood-search__quote:is(:hover,:focus-visible){border-color:var(--bb-cta-hover,#274f0b);background:#31660a0a;color:var(--bb-cta-hover,#274f0b)}
  body.home .bb-wood-search__quote:focus-visible{outline:2px solid var(--bb-cta-green,#31660a);outline-offset:2px}
}
@media(max-width:640px){
  body.home .bb-wood-search__filters{-webkit-mask-image:linear-gradient(to right,#000 calc(100% - 28px),transparent);mask-image:linear-gradient(to right,#000 calc(100% - 28px),transparent)}
  body.home .bb-wood-search__filters.bb-wood-search__filters--at-end{-webkit-mask-image:none;mask-image:none}
}
