/* LEC V6 premium homepage - confined to #lec-premium-home */
#lec-premium-home{--lec-green:#193d31;--lec-ink:#101a15;--lec-ochre:#b87523;--lec-cream:#f8f4ec;font-family:Arial,Helvetica,sans-serif;color:var(--lec-ink);background:#fff;overflow:hidden}
#lec-premium-home *{box-sizing:border-box}
#lec-premium-home a{text-decoration:none}
#lec-premium-home .lec-premium-wrap{width:min(1460px,calc(100% - 76px));margin:0 auto}
#lec-premium-home .lec-premium-hero{display:grid;grid-template-columns:49% 51%;min-height:375px;background:#f8f3eb}
#lec-premium-home .lec-premium-hero__left{padding:34px 0 26px max(5%,calc((100vw - 1460px)/2));position:relative;z-index:1;display:flex;flex-direction:column;justify-content:center}
#lec-premium-home .lec-premium-hero__eyebrow{color:#93704d;font-size:10px;letter-spacing:.18em;font-weight:700;margin-bottom:14px}
#lec-premium-home h1,#lec-premium-home h2,#lec-premium-home h3,#lec-premium-home .lec-premium-sector strong{font-family:Georgia,'Times New Roman',serif;letter-spacing:-.045em}
#lec-premium-home h1{font-weight:700;color:#101a15;font-size:clamp(44px,4.05vw,68px);line-height:.98;margin:0 0 14px}
#lec-premium-home h1 span{color:#ad6c1c}
#lec-premium-home .lec-premium-hero__left>p{font-family:Georgia,'Times New Roman',serif;font-size:clamp(17px,1.6vw,25px);line-height:1.08;color:#44403c;margin:0 0 20px}
#lec-premium-home .lec-premium-actions{display:flex;flex-wrap:wrap;gap:14px;align-items:center}
#lec-premium-home .lec-premium-btn{display:inline-flex;align-items:center;justify-content:center;gap:15px;min-height:47px;padding:0 23px;border-radius:9px;font-size:13px;font-weight:700;line-height:1.2;transition:background .2s,color .2s,transform .2s}
#lec-premium-home .lec-premium-btn:hover{transform:translateY(-1px)}
#lec-premium-home .lec-premium-btn--main{background:var(--lec-green);color:#fff!important}
#lec-premium-home .lec-premium-btn--main:hover{background:#285b48}
#lec-premium-home .lec-premium-btn--outline{border:1px solid #1b322c;color:#111c17!important;background:transparent}
#lec-premium-home .lec-premium-hero__visual{min-height:375px;background-image:url('../images/lec-home-hero-premium.jpg');background-size:cover;background-position:center center}
#lec-premium-home .lec-premium-advantages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:center;background:#f6f2eb;padding:19px max(5%,calc((100vw - 1460px)/2));min-height:75px}
#lec-premium-home .lec-premium-advantages>div{display:flex;align-items:center;gap:15px;justify-content:center}
#lec-premium-home .lec-premium-advantages p{margin:0;line-height:1.32}
#lec-premium-home .lec-premium-advantages strong,#lec-premium-home .lec-premium-advantages small{display:block}
#lec-premium-home .lec-premium-advantages strong{font-family:Georgia,serif;font-size:15px;font-weight:400}
#lec-premium-home .lec-premium-advantages small{font-size:12px;color:#555;margin-top:3px}
#lec-premium-home .lec-premium-icon{font-family:Georgia,serif;font-size:35px;line-height:1;color:#1b362f}
#lec-premium-home .lec-premium-products{padding-top:20px;padding-bottom:15px}
#lec-premium-home .lec-premium-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:15px}
#lec-premium-home .lec-premium-heading h2{font-size:clamp(29px,2.6vw,40px);line-height:1.06;margin:0;font-weight:700;color:#101a15}
#lec-premium-home .lec-premium-heading>a{color:#132e26;font-size:13px;border-bottom:1px solid #132e26;padding-bottom:3px;white-space:nowrap}
#lec-premium-home .lec-premium-products__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
#lec-premium-home .lec-premium-product{display:grid;grid-template-columns:45% 55%;min-height:179px;border:1px solid #ebded0;border-radius:10px;overflow:hidden;background:#fffcf8}
#lec-premium-home .lec-premium-product__photo{position:relative;display:block;min-width:0;background:#eee0cf}
#lec-premium-home .lec-premium-product__photo img{display:block;width:100%;height:100%;object-fit:cover;position:absolute;inset:0}
#lec-premium-home .lec-premium-product__pill{position:absolute;top:10px;left:8px;background:#c57c05;border-radius:20px;color:white;font-size:10px;padding:5px 10px;white-space:nowrap}
#lec-premium-home .lec-premium-product__content{display:flex;flex-direction:column;padding:17px 11px 11px 15px;min-width:0}
#lec-premium-home .lec-premium-product h3{margin:0 0 8px;font-size:17px;line-height:1.06;letter-spacing:-.025em}
#lec-premium-home .lec-premium-product h3 a{color:#171d18}
#lec-premium-home .lec-premium-product p{margin:0;color:#5b5752;font-size:11px;line-height:1.45}
#lec-premium-home .lec-premium-product__labels{margin-top:auto;display:flex;gap:9px;flex-wrap:wrap;font-size:10px;color:#243a33;padding-top:9px}
#lec-premium-home .lec-premium-product__cta{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;background:var(--lec-green);border-radius:7px;color:#fff!important;margin-top:14px;font-size:11px;font-weight:700}
#lec-premium-home .lec-premium-sectors{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding-top:2px;padding-bottom:30px}
#lec-premium-home .lec-premium-sector{display:flex;align-items:center;min-height:180px;border-radius:9px;overflow:hidden;position:relative;background-size:cover;background-position:center;color:#fff!important;padding:25px 30px}
#lec-premium-home .lec-premium-sector:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(23,17,11,.76),rgba(23,17,11,.06));transition:background .2s}
#lec-premium-home .lec-premium-sector--boutique{background-image:url('../images/lec-home-sector-boutique.jpg')}
#lec-premium-home .lec-premium-sector--restaurant{background-image:url('../images/lec-home-sector-restaurant.jpg')}
#lec-premium-home .lec-premium-sector--cadeaux{background-image:url('../images/lec-home-sector-cadeaux.jpg')}
#lec-premium-home .lec-premium-sector span{position:relative;z-index:1}
#lec-premium-home .lec-premium-sector strong{display:block;color:#fff;font-size:25px;line-height:1.1;margin-bottom:10px}
#lec-premium-home .lec-premium-sector small{display:block;color:#fff;font-size:13px;line-height:1.35}
#lec-premium-home .lec-premium-sector em{display:inline-flex;color:#fff;border:1px solid #fff;border-radius:5px;padding:8px 12px;margin-top:17px;font-style:normal;font-size:11px}
#lec-premium-home .lec-premium-reorder{display:flex;justify-content:space-between;align-items:center;gap:25px;margin-top:20px!important;background:#ecf3ec;border-radius:12px;padding:20px 28px}
#lec-premium-home .lec-premium-reorder h2{margin:5px 0;font-size:26px}
#lec-premium-home .lec-premium-reorder span,#lec-premium-home .lec-premium-bottom span{font-size:10px;letter-spacing:.15em;color:#a97e48;font-weight:700}
#lec-premium-home .lec-premium-reorder p{margin:0;font-size:13px}
#lec-premium-home .lec-premium-bottom{background:#f6f2e9;padding:42px 45px;margin-bottom:40px!important;display:flex;justify-content:space-between;align-items:center;gap:28px;border-radius:10px}
#lec-premium-home .lec-premium-bottom h2{font-size:30px;margin:7px 0}
#lec-premium-home .lec-premium-bottom p{margin:0;color:#555;font-size:14px}
/* Home-only header alignment; preserve Shopkeeper's structural header behavior */
body.home #page #lec-premium-home{width:100%;max-width:none;margin:0;padding:0}
/* Shopkeeper uses an overlaying/absolute desktop header on certain configurations.
   Preserve a dedicated  header offset on the homepage instead of pushing content behind it. */
body.home:has(#lec-premium-home) #lec-premium-home{padding-top:clamp(74px,5.25vw,96px)!important}
body.home:has(#lec-premium-home) .site-content{padding-top:0!important}
body.home:has(#lec-premium-home) #lec-premium-home .lec-premium-hero{min-height:395px}
body.home:has(#lec-premium-home) #lec-premium-home .lec-premium-hero__left{padding-top:40px;padding-bottom:42px}
body.home:has(#lec-premium-home) #lec-premium-home .lec-premium-hero__visual{min-height:395px}

@media(max-width:1200px){#lec-premium-home .lec-premium-products__grid{grid-template-columns:repeat(2,1fr)}#lec-premium-home .lec-premium-product{min-height:185px}#lec-premium-home h1{font-size:clamp(38px,4.3vw,56px)}#lec-premium-home .lec-premium-hero__left{padding-left:32px}}
@media(max-width:780px){#lec-premium-home .lec-premium-hero{grid-template-columns:1fr}#lec-premium-home .lec-premium-hero__left{padding:38px 24px}#lec-premium-home .lec-premium-hero__visual{min-height:240px}#lec-premium-home .lec-premium-advantages{grid-template-columns:1fr;padding:20px 24px}#lec-premium-home .lec-premium-advantages>div{justify-content:flex-start}#lec-premium-home .lec-premium-wrap{width:calc(100% - 32px)}#lec-premium-home .lec-premium-sectors{grid-template-columns:1fr}#lec-premium-home .lec-premium-sector{min-height:190px}#lec-premium-home .lec-premium-bottom,#lec-premium-home .lec-premium-reorder{flex-direction:column;align-items:flex-start}#lec-premium-home .lec-premium-heading{align-items:flex-start;flex-direction:column}#lec-premium-home .lec-premium-products{padding-top:28px}}
@media(max-width:520px){#lec-premium-home h1{font-size:clamp(37px,10vw,49px)}#lec-premium-home .lec-premium-actions{align-items:stretch;flex-direction:column}#lec-premium-home .lec-premium-btn{width:100%}#lec-premium-home .lec-premium-products__grid{grid-template-columns:1fr}#lec-premium-home .lec-premium-product{grid-template-columns:42% 58%;min-height:178px}#lec-premium-home .lec-premium-heading h2{font-size:30px}#lec-premium-home .lec-premium-bottom{padding:30px 22px}#lec-premium-home .lec-desktop-only{display:none}}

/* V7: finer composition, ensure legibility at 1440-1920px */
#lec-premium-home .lec-premium-product__photo{overflow:hidden}
#lec-premium-home .lec-premium-product__pill{z-index:2}
#lec-premium-home .lec-premium-hero__left{min-width:0;padding-right:20px}
#lec-premium-home .lec-premium-heading h2{max-width:1080px}
@media (max-width:1080px){body.home:has(#lec-premium-home) #lec-premium-home{padding-top:76px!important}}
@media (max-width:780px){body.home:has(#lec-premium-home) #lec-premium-home{padding-top:70px!important}body.home:has(#lec-premium-home) #lec-premium-home .lec-premium-hero__left{padding:36px 24px}}
@media (max-width:520px){body.home:has(#lec-premium-home) #lec-premium-home{padding-top:62px!important}}

/* V8: one shared alignment grid for hero, section titles, and content. */
#lec-premium-home {
  --lec-premium-side: max(38px, calc((100vw - 1460px) / 2));
}
#lec-premium-home .lec-premium-wrap {
  width: min(1460px, calc(100% - 76px));
  margin-inline: auto;
}
#lec-premium-home .lec-premium-hero__left {
  box-sizing: border-box;
  padding-left: var(--lec-premium-side);
  padding-right: clamp(18px, 2vw, 36px);
}
#lec-premium-home .lec-premium-advantages {
  padding-left: var(--lec-premium-side);
  padding-right: var(--lec-premium-side);
}
@media (max-width: 1200px) {
  #lec-premium-home .lec-premium-hero__left {
    padding-left: var(--lec-premium-side);
  }
}
@media (max-width: 780px) {
  #lec-premium-home { --lec-premium-side: 16px; }
  #lec-premium-home .lec-premium-wrap { width: calc(100% - 32px); }
  #lec-premium-home .lec-premium-hero__left,
  body.home:has(#lec-premium-home) #lec-premium-home .lec-premium-hero__left {
    padding-left: var(--lec-premium-side);
    padding-right: var(--lec-premium-side);
  }
  #lec-premium-home .lec-premium-advantages {
    padding-left: var(--lec-premium-side);
    padding-right: var(--lec-premium-side);
  }
}

/* V9 - Sectors: cropped image backgrounds contain no embedded copy; isolated text */
#lec-premium-home .lec-premium-sector {
  min-height: 222px;
  padding: 25px 28px;
  background-position: center center;
  background-size: cover;
  text-decoration: none !important;
  box-sizing: border-box;
}
#lec-premium-home .lec-premium-sector::before {
  background: linear-gradient(90deg, rgba(16,22,17,.88) 0%, rgba(16,22,17,.62) 60%, rgba(16,22,17,.24) 100%);
}
#lec-premium-home .lec-premium-sector > span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  transform: none;
}
#lec-premium-home .lec-premium-sector > span > strong,
#lec-premium-home .lec-premium-sector > span > small,
#lec-premium-home .lec-premium-sector > span > em {
  position: static;
  margin: 0;
  padding: 0;
  display: block;
  transform: none;
  text-shadow: none;
  opacity: 1;
  width: auto;
  height: auto;
  max-width: 100%;
}
#lec-premium-home .lec-premium-sector > span > strong {font-size: clamp(21px, 1.7vw, 27px); line-height: 1.12; color: #fff !important;}
#lec-premium-home .lec-premium-sector > span > small {font-size: 13px; line-height: 1.45; font-weight: 400; color: #fff !important;}
#lec-premium-home .lec-premium-sector > span > em {display: inline-flex; border: 1px solid #fff; border-radius: 6px; padding: 10px 14px; font-size: 12px; line-height: 1.2; color: #fff !important; font-style: normal;}
#lec-premium-home .lec-premium-sector:hover > span > em,
#lec-premium-home .lec-premium-sector:focus-visible > span > em {background: #fff; color: #173b31 !important;}
@media (max-width: 1100px) {#lec-premium-home .lec-premium-sector {padding: 22px 20px; min-height: 228px;}}
@media (max-width: 780px) {#lec-premium-home .lec-premium-sector {min-height: 205px;}}


/* V10 - Hero visual sans sachets */
#lec-premium-home .lec-premium-hero__visual{
  background-image:url("../images/lec-home-hero-premium-v10.jpg");
  background-size:cover;
  background-position:center center;
}

/* V10 - Prefooter repositionné avant le footer */
#lec-premium-home .lec-home-prefooter{
  margin:44px auto 0;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  border:1px solid #eadfd4;
  border-radius:22px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 10px 35px rgba(49,35,25,.05);
}
#lec-premium-home .lec-home-prefooter > div{padding:24px 26px;border-right:1px solid #eadfd4;}
#lec-premium-home .lec-home-prefooter > div:last-child{border-right:0;}
#lec-premium-home .lec-home-prefooter strong,#lec-premium-home .lec-home-prefooter span{display:block;}
#lec-premium-home .lec-home-prefooter strong{font-size:16px;line-height:1.2;font-weight:700;color:#1e1b18;}
#lec-premium-home .lec-home-prefooter span{margin-top:5px;font-size:13px;line-height:1.45;color:#786b63;}

/* V10 - Footer homepage plus premium */
body.home .site-footer,
body.home footer.site-footer,
body.home #site-footer,
body.home .footer{
  background:#111a16 !important;
  color:#efe7dc !important;
  border-top:0 !important;
}
body.home .site-footer a,
body.home footer.site-footer a,
body.home #site-footer a,
body.home .footer a{color:#efe7dc !important;}
body.home .site-footer a:hover,
body.home footer.site-footer a:hover,
body.home #site-footer a:hover,
body.home .footer a:hover{color:#c89d61 !important;}
body.home .site-footer .row,
body.home .site-footer .footer-content,
body.home footer.site-footer .row,
body.home #site-footer .row{max-width:1460px;margin-left:auto;margin-right:auto;}
body.home .site-footer .widget,
body.home footer.site-footer .widget,
body.home #site-footer .widget{margin-bottom:0;}
body.home .site-footer .widget-title,
body.home footer.site-footer .widget-title,
body.home #site-footer .widget-title{
  color:#fff !important;
  font-size:14px !important;
  text-transform:uppercase !important;
  letter-spacing:.08em !important;
  margin-bottom:16px !important;
}
body.home .site-footer p,
body.home .site-footer li,
body.home .site-footer span,
body.home footer.site-footer p,
body.home footer.site-footer li,
body.home footer.site-footer span{
  color:#d8cdbf !important;
  line-height:1.6 !important;
}
body.home .site-footer img,body.home footer.site-footer img{max-width:460px;height:auto;}
body.home .site-footer ul.menu,body.home footer.site-footer ul.menu{margin:0;padding:0;list-style:none;}
body.home .site-footer ul.menu li,body.home footer.site-footer ul.menu li{margin:0 0 10px;padding:0;}
body.home .site-footer .copyright_text,
body.home footer.site-footer .copyright_text,
body.home #site-footer .copyright_text,
body.home .site-footer .site-info,
body.home footer.site-footer .site-info{
  border-top:1px solid rgba(255,255,255,.08);
  margin-top:28px;
  padding-top:18px;
  color:#bbaea1 !important;
  font-size:13px !important;
}
body.home .site-footer .widget_media_image img,body.home footer.site-footer .widget_media_image img{filter:brightness(1.03) contrast(1.02);}

@media (max-width: 1100px){
  #lec-premium-home .lec-home-prefooter{grid-template-columns:repeat(2,minmax(0,1fr));}
  #lec-premium-home .lec-home-prefooter > div:nth-child(2n){border-right:0;}
  #lec-premium-home .lec-home-prefooter > div:nth-child(-n+2){border-bottom:1px solid #eadfd4;}
}
@media (max-width: 780px){
  #lec-premium-home .lec-home-prefooter{grid-template-columns:1fr;margin-top:32px;border-radius:18px;}
  #lec-premium-home .lec-home-prefooter > div{padding:18px 18px;border-right:0;border-bottom:1px solid #eadfd4;}
  #lec-premium-home .lec-home-prefooter > div:last-child{border-bottom:0;}
  body.home .site-footer img,body.home footer.site-footer img{max-width:320px;}
}


/* V11 - Visuels hero/boutique forcés sans sachets */
#lec-premium-home .lec-premium-sector--boutique{background-image:url("../images/lec-home-sector-boutique-v11.jpg");background-position:center center;}
#lec-premium-home .lec-premium-hero__visual{background-image:url("../images/lec-home-hero-premium-v10.jpg") !important;}
