#bp-home-warm :is(.bp-guides-resilience, .bp-guides-autonomy) {
  padding-bottom: 70px;
}

@media (max-width: 630px) {
  #bp-home-warm :is(.bp-guides-resilience, .bp-guides-autonomy) {
    padding-bottom: 43px;
  }
}

/* Le panorama et la charrette se centrent indépendamment du texte. */
#bp-home-warm .bp-welcome-farm {
  width: 100%;
  margin-inline: auto;
  height: calc(100vh - var(--bp-header-height, 70px));
  height: calc(100svh - var(--bp-header-height, 70px));
  min-height: 320px;
  max-height: none;
  aspect-ratio: auto;
}

@media (min-width: 801px) {
  #bp-home-warm .bp-welcome-farm {
    max-height: 870px;
  }
}

#bp-home-warm .bp-farm-panorama {
  position: absolute;
  inset: 0;
  z-index: -2;
}

#bp-home-warm .bp-farm-panorama img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform-origin: center;
  transition: transform .65s ease-out, filter .65s ease-out;
}

#bp-home-warm .bp-farm-shade {
  pointer-events: none;
}

#bp-home-warm .bp-farm-shade::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0;
  transition: opacity .65s ease-out;
}

#bp-home-warm .bp-farm-cart-link {
  z-index: 1;
  display: block;
  top: calc(50% + 10px);
  width: clamp(234px, 31.8vw, 578px);
  max-width: 75.3%;
  container-type: inline-size;
  min-height: 0;
  padding: 0;
  box-shadow: none;
  filter: drop-shadow(0 8px 9px #171c1c66);
}

#bp-home-warm .bp-farm-cart-link img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3.16;
  object-fit: fill;
}

#bp-home-warm .bp-farm-cart-link .bp-farm-cart-label,
#bp-home-warm .bp-farm-cart-link .bp-farm-cart-arrow {
  position: absolute;
  z-index: 2;
  top: 44%;
  transform: translate(-50%, -50%);
  color: #fffdf4;
}

#bp-home-warm .bp-farm-cart-link .bp-farm-cart-label {
  left: calc(55.8% + 5px);
  top: calc(44% + 7px);
  white-space: nowrap;
  font: 700 4.25cqi/1.1 'Preahvihear', sans-serif;
  letter-spacing: -.015em;
}

#bp-home-warm .bp-farm-cart-link:is(:hover, :focus-visible) .bp-farm-cart-label {
  text-decoration: underline 1px #fff;
  text-underline-offset: .18em;
}

#bp-home-warm .bp-farm-cart-link .bp-farm-cart-arrow {
  left: 87.5%;
  top: calc(44% + 3px);
  width: 5.4%;
  height: calc(5.4cqi + 4px);
}

@media (min-width: 1440px) {
  #bp-home-warm .bp-farm-development {
    right: var(--bp-content-inset);
  }
}

#bp-home-warm .bp-welcome-farm:is(.is-in-view, :focus-within) .bp-farm-panorama img {
  transform: scale(1.105);
  filter: blur(2px);
  transition-duration: 1.05s;
  transition-timing-function: ease-in-out;
}

#bp-home-warm .bp-welcome-farm:is(.is-in-view, :focus-within) .bp-farm-shade::after {
  opacity: .43;
  transition-duration: 1.05s;
}

/* Les appareils tactiles utilisent le seuil de visibilité plutôt qu'un survol persistant. */
@media (hover: hover) and (pointer: fine) {
  #bp-home-warm .bp-welcome-farm:hover .bp-farm-panorama img {
    transform: scale(1.105);
    filter: blur(2px);
    transition-duration: 1.05s;
    transition-timing-function: ease-in-out;
  }
  #bp-home-warm .bp-welcome-farm:hover .bp-farm-shade::after {
    opacity: .43;
    transition-duration: 1.05s;
  }
}

/* Le décor est cadré dans la maquette fournie. Les fiches utilisent le catalogue. */
#bp-home-warm .bp-shop {
  isolation: isolate;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.42fr);
  gap: clamp(24px, 3.5vw, 85px);
  padding: 0 max(5.4%, calc((100% - 2040px) / 2)) clamp(50px, 3.5vw, 84px) max(10.9%, calc((100% - 1920px) / 2));
  background: linear-gradient(108deg, #0b3b2a, #073322 55%, #073421);
  color: #fff6df;
  align-items: stretch;
}

#bp-home-warm .bp-shop-decoration {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

#bp-home-warm .bp-shop-plank {
  display: block;
  position: absolute;
  overflow: hidden;
}

#bp-home-warm .bp-shop-plank img {
  position: absolute;
  max-width: none;
  height: auto;
}

#bp-home-warm :is(.bp-shop-garden, .bp-shop-grass) {
  position: absolute;
  height: auto;
  bottom: 0;
  left: 0;
}

#bp-home-warm .bp-shop-garden {
  width: 70%;
  left: -2%;
  bottom: -1.5vw;
}

#bp-home-warm .bp-shop-grass {
  width: 106%;
  left: 2%;
  bottom: -2.2vw;
  clip-path: inset(50% 0 0 36%);
}

#bp-home-warm .bp-shop-butterfly {
  position: absolute;
  left: 33.1%;
  top: 5%;
  width: 9.65%;
  height: auto;
}

#bp-home-warm .bp-shop-copy {
  padding-top: clamp(32px, 3.15vw, 76px);
  padding-bottom: clamp(20px, 3vw, 65px);
  align-self: center;
}

#bp-home-warm .bp-shop .bp-shop-sign {
  color: #ffdf8e;
  font: 800 clamp(19px, 1.95vw, 45px) / 1.15 var(--bp-sans);
  letter-spacing: -.02em;
  margin-bottom: clamp(15px, 1.55vw, 34px);
}

#bp-home-warm .bp-shop-sign svg {
  width: 1.22em;
  height: 1.22em;
}

#bp-home-warm .bp-shop h2 {
  font-size: clamp(34px, 3.55vw, 82px);
  font-weight: 600;
  line-height: 1.06;
}

#bp-home-warm .bp-shop h2 em {
  color: #ffdf8e;
}

#bp-home-warm .bp-shop-copy > p:not(.bp-eyebrow) {
  margin: clamp(15px, 1.7vw, 38px) 0 0 12%;
  color: #fff6df;
  font-size: clamp(15px, 1.36vw, 32px);
  line-height: 1.45;
}

#bp-home-warm .bp-shop .bp-shop-cta {
  margin: clamp(20px, 1.5vw, 34px) 0 0 20%;
  padding: .65em 1.25em;
  min-height: 48px;
  background: #fff5df;
  color: #073522;
  border: 2px solid #f2ca73;
  box-shadow: 0 3px 0 #142f20;
  font: 800 clamp(15px, 1.42vw, 33px) / 1.25 var(--bp-sans);
  gap: .55em;
}

#bp-home-warm .bp-shop-cta svg {
  width: 1.33em;
  height: 1.33em;
  stroke-width: 1.8;
}

#bp-home-warm .bp-shop-products-label {
  position: relative;
  width: 76.5%;
  aspect-ratio: 824 / 154;
  margin: 0 auto clamp(16px, 1.2vw, 30px);
}

#bp-home-warm .bp-shop-plank {
  inset: 0;
  mask-image: linear-gradient(to bottom, #000 93%, transparent);
}

#bp-home-warm .bp-shop-plank img {
  width: 263.59%;
  left: -131.31%;
  top: 0;
  filter: url("../img/accueil/texte-creme.svg#texte-creme");
}

#bp-home-warm .bp-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

#bp-home-warm .bp-shop-products-grid {
  gap: clamp(10px, 1.03vw, 27px);
}

#bp-home-warm .bp-shop-product {
  border: 1px solid #fff8e9;
  border-radius: clamp(16px, 1.25vw, 30px);
  background: linear-gradient(135deg, #fff9eb, #fff0cb);
  color: #073522;
  text-align: center;
  box-shadow: 0 4px 9px #001e1390, inset 0 0 0 5px #fff8e9, inset 0 0 0 6px #e9c981;
}

#bp-home-warm .bp-shop-product-image {
  height: clamp(132px, 11.5vw, 270px);
  padding: clamp(12px, 1.15vw, 25px) clamp(10px, 1.15vw, 25px) 5px;
  border: 0;
  background: transparent;
}

#bp-home-warm .bp-shop-product-copy {
  align-items: center;
  padding: clamp(8px, .5vw, 13px) 9px clamp(15px, 1vw, 25px);
}

#bp-home-warm .bp-shop-product-category {
  width: max-content;
  max-width: 100%;
  padding: .32em .68em;
  border-radius: .58em;
  background: linear-gradient(120deg, #ffd375, #ffe3a0, #ffd375);
  color: #212b17;
  font-size: clamp(9px, .82vw, 21px);
  letter-spacing: .015em;
  line-height: 1.15;
}

#bp-home-warm .bp-shop-product-category::before,
#bp-home-warm .bp-shop-product-category::after {
  content: "";
  display: inline-block;
  width: .63em;
  height: .34em;
  margin-inline: .28em;
  vertical-align: .16em;
  background: #527a27;
  border-radius: 100% 0;
  transform: rotate(35deg);
}

#bp-home-warm .bp-shop-product-category::after {
  transform: rotate(-35deg);
}

#bp-home-warm .bp-shop-product h3 {
  margin-block: .45em .65em;
  font-size: clamp(17px, 1.52vw, 37px);
  font-weight: 600;
  line-height: 1.11;
}

#bp-home-warm .bp-shop-product-price {
  color: #99463c;
  align-self: stretch;
  text-align: right;
  font-size: calc(clamp(16px, 1.48vw, 36px) - 2px);
  line-height: 1.15;
  font-weight: 800;
}

#bp-home-warm .bp-shop-price-amount {
  color: #99463c;
}

@media (max-width: 900px) {
  #bp-home-warm .bp-shop {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 28px 6% 45px;
  }

  #bp-home-warm .bp-shop-copy {
    padding: 0 0 0 14%;
  }

  #bp-home-warm .bp-shop-copy > p:not(.bp-eyebrow),
  #bp-home-warm .bp-shop .bp-shop-cta {
    margin-left: 0;
  }

  #bp-home-warm .bp-shop-butterfly {
    left: auto;
    right: 6%;
    width: 14%;
  }

  #bp-home-warm .bp-shop-products-label {
    width: min(100%, 460px);
  }
}

@media (max-width: 630px) {
  #bp-home-warm .bp-shop {
    padding-inline: 5%;
  }

  #bp-home-warm .bp-shop-products-grid {
    grid-template-columns: 1fr;
  }

  #bp-home-warm .bp-shop-product {
    grid-template-columns: 105px minmax(0, 1fr);
  }

  #bp-home-warm .bp-shop-product-image {
    height: 128px;
    padding: 11px;
  }

  #bp-home-warm .bp-shop-garden {
    width: 100%;
    bottom: -2.1vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  #bp-home-warm .bp-farm-panorama img,
  #bp-home-warm .bp-farm-shade::after {
    transition: none;
  }

  #bp-home-warm .bp-welcome-farm:is(.is-in-view, :focus-within, :hover) .bp-farm-panorama img {
    transform: none;
  }
}
