/* Accueil : design historique conservé, corrections responsive et fonctionnelles ciblées. */
:root{--masthead-height:126px}
.home [hidden]{display:none!important}
.home .home-announcement{height:38px;min-height:38px;padding:0 16px;display:flex;align-items:center;justify-content:center;font-size:14px;line-height:1.25;letter-spacing:0}
.home-announcement>a{display:flex;align-items:center;justify-content:center;gap:4px;min-height:38px}
.home .header-inner{position:relative}
.home .header-shortcuts{display:none}
.home .mobile-menu{position:static}
.home .mobile-menu summary{min-width:44px;min-height:44px}
.home .mobile-menu nav{left:0;right:0;top:calc(100% + 8px);width:100%;max-height:calc(100dvh - 150px);z-index:101}
.home .mobile-menu nav a{display:flex;align-items:center;min-height:44px}
.home .skip{z-index:500}
.home .universe .universe-detail{display:block;width:100%;text-align:center}
/* Dédicace : affiche, informations, puis livres visibles. */
.home .event{grid-template-columns:220px minmax(0,1fr) 230px;gap:32px;align-items:start}
.home .event-heading{grid-column:1/-1}
.home .event .poster-link{grid-column:1;grid-row:2;max-width:220px}
.home .event .event-content{grid-column:2;grid-row:2;align-self:center;text-align:center}
.home .event-content .event-description{text-wrap:balance}
.home .event-content .event-date,.home .event-content .location-name,.home .event-content .event-actions{justify-content:center}
.home .event-books-visible{grid-column:3;grid-row:2;min-width:0}
.home .event-books-visible h3{font-size:1.3rem;margin:0 0 16px}
.home .event-books-visible .book-grid{grid-template-columns:1fr;gap:14px;margin:0}
.home .event-books-visible .book-card{display:grid;grid-template-columns:90px minmax(0,1fr);align-items:center;gap:10px;padding:12px}
/* Recadrage d’affichage : seules les marges blanches des fichiers carrés sont masquées. */
.home .event-books-visible .book-cover{display:block;position:relative;width:90px;aspect-ratio:450/584;overflow:hidden;flex-shrink:0;box-shadow:0 4px 10px #360b1630}
.home .event-books-visible .book-cover img{position:absolute;max-width:none;width:133.333333%;height:auto;left:-16.666667%;top:-1.369863%}
.home .event-books-visible .book-cover--desserts{aspect-ratio:428/548}
.home .event-books-visible .book-cover--desserts img{width:140.186916%;left:-20.093458%;top:-4.744526%}
.home .event-books-visible .book-card strong{font-size:.95rem;line-height:1.25}
.home .event-books-visible .book-card span span{font-size:.875rem}
.home .event-actions{flex-wrap:wrap;gap:14px}
.home .event-actions .button{white-space:normal}
/* Horaires toujours affichés, résumé daté conservé. */
.home .opening-hours .hours-intro{grid-column:1/-1}
.home .hours-today{font-size:16px;font-weight:600;line-height:1.5;margin-top:14px}
.home .hours-caveat{font-size:14px;line-height:1.5;color:#e4ddcf;margin-top:5px}
.home #newsletter .sib-form-message-panel[hidden],.home #newsletter .sib-hide-loader-icon{display:none!important}
.home #newsletter .sib-form-block__button{height:auto;line-height:1.4}
/* Vraie photo du Lammele fournie ; le sujet reste entier. */
.home .holiday-card-art{aspect-ratio:4/3;max-height:none;display:block}
.home .holiday-card-art picture{display:block;width:100%;height:100%}
.home .holiday-card-art img{width:100%;height:100%;max-width:none;max-height:none;position:static;object-fit:cover;object-position:center;transform:none;filter:none}
.home .holiday-card-art::before,.home .holiday-card-art::after,.home .holiday-star{display:none}
.home .paques-card-art{background:#e4ead3}
/* Photo carrée avec marges intégrées : cadrage plein cadre autour du Lammele. */
.home .holiday-card-art.paques-card-art img{position:absolute;width:138%;height:auto;left:-19%;top:-48%}
/* Le bloc d’entrée reprend la composition compacte d’origine. */
@media(min-width:1001px){
 .home .landing{min-height:calc(100svh - var(--masthead-height));display:flex;flex-direction:column;justify-content:center;padding-bottom:12px}
 .home .hero{flex:1;padding:14px 0 18px;gap:40px}
 .home .hero h1{font-size:clamp(2.3rem,5.1vh,3.6rem)}
 .home .hero-photo>img{height:clamp(160px,26vh,290px);width:100%;object-fit:cover}
 .home .hero .intro{font-size:.95rem;margin:12px 0}
 .home .hero .eyebrow{margin-bottom:10px}
 .home .universes.universes--decorated{padding-top:40px}
 .home .universe .site-preview img{height:clamp(65px,10vh,108px)}
 .home .universe.universe-prominent .domain{margin-bottom:14px}
}
@media(min-width:1001px) and (max-height:800px){
 .home .landing{padding-bottom:8px}
 .home .hero{padding:8px 0 10px;gap:36px}
 .home .hero h1{font-size:2.35rem;line-height:1.04}
 .home .hero-photo>img{height:175px}
 .home .hero-photo{padding-bottom:20px}
 .home .hero-photo figcaption{font-size:22px;padding:8px 14px}
 .home .hero .intro{font-size:.875rem;margin:9px 0}
 .home .hero .eyebrow{font-size:.875rem;margin-bottom:7px}
 .home .hero-actions .button{min-height:40px;padding:8px 14px;font-size:.875rem}
 .home .hero-actions .text-link{font-size:.875rem;padding:6px 0}
 .home .universes.universes--decorated{padding-top:34px}
 .home .universe.universe-prominent .domain{margin-bottom:10px}
 .home .universe h2{font-size:1.4rem}
 .home .universe .site-preview img{height:65px}
 .home .universe p{font-size:.875rem;line-height:1.5;margin:9px 0 10px}
 .home .universe-prominent .universe-actions{padding-top:4px}
 .home .universe .universe-detail{font-size:.875rem;margin-top:8px}
}
@media(min-width:1001px) and (max-height:740px){
 .home .hero{padding:6px 0 8px}
 .home .hero-photo>img{height:165px}
 .home .universes.universes--decorated{padding-top:30px}
 .home .universe .site-preview img{height:60px}
}
@media(max-width:1100px){
 .home .site-nav{display:none}.home .mobile-menu{display:block}
 .home .header-shortcuts{display:flex;gap:8px;margin-left:auto}
 .home .header-shortcuts .button{font-size:14px;min-height:44px;padding:9px 13px}
 .home .header-shortcuts .nav-recipes{background:var(--green);border-color:var(--green)}
 .home .event{grid-template-columns:190px minmax(0,1fr);gap:28px}
 .home .event-books-visible{grid-column:1/-1;grid-row:3}
 .home .event-books-visible .book-grid{grid-template-columns:1fr 1fr}
 .home .event-books-visible .book-card{grid-template-columns:100px minmax(0,1fr)}
 .home .event-books-visible .book-cover{width:100px}
}
@media(max-width:920px){
 .home .hero{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:26px 0 34px}
 .home .hero>div{display:contents}
 .home .hero .eyebrow{order:0;margin-bottom:14px}
 .home .hero h1{order:1;font-size:clamp(2.3rem,5.5vw,3.25rem)}
 .home .hero .intro{order:2;max-width:640px;font-size:1rem;margin:18px 0}
 .home .hero .hero-actions{display:flex;order:3;gap:12px 20px}
 .home .hero-photo{order:4;width:100%;max-width:640px;align-self:center;margin-top:26px;transform:none}
 .home .hero-photo>img{height:auto;aspect-ratio:4/3;object-fit:contain}
 .home .newsletter,.home .story{grid-template-columns:1fr;gap:30px}
 .home .story>img{width:100%;max-width:620px;justify-self:center;height:auto}
 .home .story-copy{padding:0}
}
@media(max-width:899px){
 .home .universes{grid-template-columns:1fr;max-width:640px;row-gap:44px!important}
 .home .universe.universe-prominent .domain{font-size:24px}
 .home .universe.universe-prominent .universe-primary{min-height:52px}
 .home .universe .site-preview img{height:auto;aspect-ratio:820/390;object-fit:cover;object-position:top}
 .home .universe.universe-prominent .universe-detail{min-height:0}
}
@media(max-width:600px){
 .home .header-shortcuts,.home .brand-tagline{display:none}
 .home .header-inner{padding:8px 12px}
 .home .site-header .brand{width:145px}
 .home .mobile-menu nav{max-height:calc(100dvh - 110px)}
 .home .home-announcement{font-size:14px}
 .home .hero .eyebrow{font-size:.875rem;letter-spacing:.08em}
 .home .hero h1{font-size:clamp(2rem,8.2vw,2.9rem)}
 .home .hero-photo{order:2;margin-top:20px;padding-bottom:16px}
 .home .hero-photo figcaption{right:8px;font-size:20px;padding:6px 10px}
 .home .hero .intro{order:3;font-size:.95rem}
 .home .hero .hero-actions{order:4;flex-direction:column;align-items:stretch;gap:4px}
 .home .hero-actions .text-link{display:flex;align-items:center;justify-content:center;min-height:44px}
 .home .event{grid-template-columns:1fr}
 .home .event .poster-link{grid-column:1;grid-row:2;max-width:190px}
 .home .event .event-content{grid-column:1;grid-row:3}
 .home .event-books-visible{grid-column:1;grid-row:4}
 .home .event-books-visible .book-card{display:flex;padding:10px}
 .home .event-books-visible .book-cover{width:min(114px,100%);align-self:center}
 .home .event-books-visible .book-card strong{font-size:.95rem}
 .home .hours-today{font-size:15px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}.home *,.home *::before,.home *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.home .button:hover>span,.home .recipe-image:hover img,.home .site-preview:hover img,.home .universe:hover,.home .recipe:hover{transform:none!important}}

/* Cadre photographique : sapin en arrière-plan, biscuit au premier plan. */
.home .hero-photo{isolation:isolate;overflow:visible}
.home .hero-photo>img{position:relative;z-index:1;border-color:#fffaf0;box-shadow:0 18px 32px #49331d29,0 4px 10px #49331d1a}
.home .hero-photo::before,.home .hero-photo::after{
 content:"";position:absolute;z-index:0;width:200px;aspect-ratio:1;
 background:url('../themes/sapin.webp') center/contain no-repeat;
 pointer-events:none;filter:drop-shadow(0 4px 3px #293d3320);
}
.home .hero-photo::before{left:-112px;top:-55px;width:180px;transform:rotate(90deg)}
.home .hero-photo::after{right:-96px;top:36px;width:180px;transform:scaleX(-1) rotate(-12deg)}
.home .hero-photo .hero-cookie{position:absolute;z-index:3;left:-40px;bottom:0;width:98px;pointer-events:none;filter:drop-shadow(0 6px 4px #51321b40);transform:rotate(-12deg)}
.home .hero-cookie img{width:100%;height:auto}
.home .hero-photo figcaption.photo-caption{z-index:4;max-width:calc(100% - 20px);font-family:var(--handwritten);font-style:normal;font-weight:600;line-height:1.2;background:#fffaf0;box-shadow:0 7px 16px #51371c22;text-wrap:balance}
@media(min-width:921px) and (max-width:1100px){
 .home .hero-photo::before{left:-94px;top:-43px;width:150px}
 .home .hero-photo::after{right:-76px;width:150px}
 .home .hero-photo .hero-cookie{left:-28px;width:84px}
}
@media(max-width:920px){
 .home .hero-photo::before,.home .hero-photo::after{display:none}
 .home .hero-photo .hero-cookie{left:-16px;width:74px}
}
@media(max-width:600px){
 .home .hero-photo .hero-cookie{display:none}
 .home .hero-photo>img{box-shadow:0 10px 20px #49331d20,0 3px 6px #49331d12}
 .home .hero-photo figcaption.photo-caption{font-size:20px;text-align:center}
}

/* Décors latéraux indépendants : proportions conservées, centre lisible. */
body.home{
 --decor-width:clamp(540px,50vw,1080px);background-color:var(--cream);
 background-image:linear-gradient(180deg,transparent 65%,var(--cream) 100%),linear-gradient(90deg,transparent 0%,#faf5ecef 18%,#faf5ec 43%,#faf5eceb 80%,transparent 100%),url('../themes/hero-bredele-gauche.webp'),url('../themes/hero-bredele-droite.webp');
 background-repeat:no-repeat;
 background-position:center 38px,center 38px,left 38px,right 38px;
 background-size:100% calc(var(--decor-width) * .674074),100% 100svh,var(--decor-width) auto,var(--decor-width) auto;
}
.home .site-header{background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none}
.home .landing.theme-surface{background:transparent}
.home .landing.theme-surface::before,.home .landing.theme-surface::after{display:none}
.home .hero>div:first-child{position:relative;isolation:isolate;background:var(--cream);box-shadow:0 0 24px 20px var(--cream);border-radius:12px}
.home .hero>div:first-child::before{content:none}
@media(max-width:1100px){
 body.home{--decor-width:480px;background-image:linear-gradient(180deg,transparent 65%,var(--cream) 100%),linear-gradient(90deg,#faf5ecbb,#faf5ecf5 16%,var(--cream) 50%,#faf5ecf5 84%,#faf5ecbb),url('../themes/hero-bredele-gauche-480.webp'),url('../themes/hero-bredele-droite-480.webp');background-size:100% calc(var(--decor-width) * .674074),100% 100svh,var(--decor-width) auto,var(--decor-width) auto}
}
@media(max-width:600px){
 body.home{--decor-width:280px;background-position:center 38px,center 38px,left -120px top 38px,right -120px top 38px}
 .home .hero>div:first-child{box-shadow:none;background:var(--cream);border-radius:0}
}

/* Lien éditorial du hero, selon la référence fournie. */
.home .hero-actions .hero-newsletter-link{font-family:var(--serif);font-size:15px;font-weight:700;line-height:1.4;color:var(--ink);text-decoration:none;min-height:44px;display:inline-flex;align-items:center;padding:6px 0}
.home .hero-newsletter-label{padding-bottom:3px;border-bottom:1px solid currentColor}
.home .hero-newsletter-link:hover{color:var(--red)}
.home .hero-newsletter-label>span{display:inline-block;margin-left:3px;font-family:var(--sans);font-weight:400}

/* Accroche principale plus expressive et cartes détachées du décor. */
.home .hero h1 em{display:inline-block;font-size:1.18em;line-height:.98}
.home .universe,
.home .universe:first-child,
.home .universe:last-child{
 box-shadow:0 18px 32px #49331d29,0 4px 10px #49331d1a;
}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
 .home .universe:hover{
  box-shadow:0 22px 38px #49331d30,0 6px 13px #49331d20;
 }
}
@media(max-width:600px){
 .home .hero h1 em{font-size:1.12em}
 .home .universe,
 .home .universe:first-child,
 .home .universe:last-child{box-shadow:0 12px 24px #49331d24,0 3px 8px #49331d18}
}

/* Espace sous les tuiles et marges symétriques de la présentation. */
.home .landing{padding-bottom:64px}
.home .bredele-definition{padding-block:clamp(48px,4.5vw,64px)}
@media(min-width:1001px){
 .home .landing{min-height:calc(100svh - var(--masthead-height) + 52px)}
}
@media(min-width:1001px) and (max-height:800px){
 .home .landing{min-height:calc(100svh - var(--masthead-height) + 56px)}
}
@media(max-width:720px){
 .home .landing{padding-bottom:44px}
 .home .bredele-definition{padding-block:40px}
}
/* Photographies fournies pour les trois univers. */
.home .universe .site-preview img{object-fit:cover;object-position:center}

/* PNG décoratif fourni : dimensions adaptées à son format portrait 724/1024. */
.home .hero-photo::after{display:none}
.home .hero-photo>img:not(.hero-visual__decoration){z-index:2}
.home .hero-photo>img.hero-visual__decoration{
 position:absolute;
 z-index:0;
 width:250px;
 height:auto;
 max-width:none;
 right:-180px;
 bottom:-55px;
 object-fit:contain;
 border:0;
 border-radius:0;
 box-shadow:none;
 transform:none;
 -webkit-mask-image:linear-gradient(to right,transparent,#000 18%),linear-gradient(to bottom,transparent,#000 24%,#000 76%,transparent);
 mask-image:linear-gradient(to right,transparent,#000 18%),linear-gradient(to bottom,transparent,#000 24%,#000 76%,transparent);
 -webkit-mask-composite:source-in;
 mask-composite:intersect;
 transform-origin:center;
 pointer-events:none;
 user-select:none;
}
@media(max-width:1199px){
 .home .hero-photo>img.hero-visual__decoration{width:180px;right:-100px;bottom:-40px}
}
@media(max-width:920px){
 .home .hero-photo>img.hero-visual__decoration{width:240px;right:-125px;bottom:-40px;aspect-ratio:auto}
}
@media(max-width:767px){
 .home .hero-photo>img.hero-visual__decoration{display:none}
}
/* Branche fournie dans le top header, derrière les commandes. */
.home .header-inner::after{
 content:"";
 position:absolute;
 z-index:3;
 top:-64px;
 right:-42px;
 width:180px;
 aspect-ratio:1902/827;
 background:url('../themes/branche-sapin-bredele-380.webp') center/contain no-repeat;
 filter:drop-shadow(0 3px 4px #18291d20);
 pointer-events:none;
}
.home .header-inner>*{position:relative;z-index:4}
@media(max-width:1100px){
 .home .header-inner::after{top:-50px;right:4px;width:145px}
}
@media(max-width:720px){
 .home .header-inner::after{display:none}
}



/* Le panneau mobile se dimensionne sur toute la barre d'en-tete. */
@media(max-width:720px){
  .home .header-inner>.mobile-menu{
    position:static;
  }
  .home .mobile-menu nav{
    left:0;
    right:0;
    width:auto;
    max-width:none;
  }
}

/* Barre d'actualites avec rotation, pause et fermeture. */
.home .announcement-carousel{min-height:44px;padding:0 12px;color:#fff;transition:background-color .28s ease}
.home .announcement-carousel[data-tone="red"]{background:var(--red)}
.home .announcement-carousel[data-tone="green"]{background:var(--green)}
.home .announcement-carousel[hidden]{display:none!important}
.home .announcement-inner{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;width:min(1280px,100%);min-height:44px;margin:auto}
.home .announcement-slides{display:grid;min-width:0;align-items:center}
.home .announcement-slide{grid-area:1/1;display:flex;justify-content:center;align-items:center;min-width:0;padding:4px 8px;visibility:hidden;opacity:0;transform:translateY(3px);pointer-events:none;transition:opacity .28s ease,transform .28s ease}
.home .announcement-slide.is-active{visibility:visible;opacity:1;transform:none;pointer-events:auto}
.home .announcement-slide>a{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:4px;min-height:44px;color:#fff;text-align:center;text-decoration:none}
.home .announcement-slide>a:hover{color:#fff;text-decoration:underline}
.home .announcement-snowflake{flex:0 0 18px;width:18px;height:18px;background:url('../themes/flocon.svg') center/contain no-repeat}
.home .announcement-controls{display:flex;align-items:center;gap:2px}
.home .announcement-control{display:inline-grid;place-items:center;width:44px;height:44px;min-height:44px;padding:0;border:0;background:transparent;color:#fff;cursor:pointer}
.home .announcement-control:hover{background:#ffffff18}
.home .announcement-control:focus-visible{outline:2px solid #fff;outline-offset:-4px}
.home .announcement-control svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.home .announcement-control svg[hidden]{display:none}
@media(max-width:720px){
 .home .announcement-carousel{padding:0 4px}
 .home .announcement-inner{gap:2px}
 .home .announcement-slide{padding:5px 2px;font-size:14px;line-height:1.35}
 .home .announcement-slide>a{justify-content:flex-start;text-align:left}
 .home .announcement-controls{gap:0}
 .home .announcement-control{width:40px;height:44px}
}
@media(prefers-reduced-motion:reduce){.home .announcement-carousel,.home .announcement-slide{transition:none}}

/* Premier ecran ordinateur : tuiles visibles et marge basse au-dela de l ecran. */
@media(min-width:1101px) and (hover:hover) and (pointer:fine){
 .home .landing{min-height:calc(100svh - var(--masthead-height) + 48px);padding-bottom:64px;justify-content:space-between}
 .home .hero{flex:1 0 auto;padding-block:12px}
 .home .universes.universes--decorated{flex-shrink:0;margin-block:0;padding-top:34px}
 .home .universe.universe-prominent .universe-detail{margin-top:4px}
}
@media(min-width:1101px) and (hover:hover) and (pointer:fine) and (max-height:850px){
 .home .hero h1{font-size:2.3rem}
 .home .hero-photo>img:not(.hero-visual__decoration){height:170px}
 .home .hero .intro{margin-block:8px;line-height:1.5}
 .home .hero .eyebrow{margin-bottom:8px}
 .home .universe.universe-prominent .domain{margin-bottom:8px;font-size:25px}
 .home .universe h2{font-size:1.4rem}
 .home .universe .site-preview img{height:60px}
 .home .universe p{margin-block:8px;font-size:14px;line-height:1.5}
 .home .universe-prominent .universe-actions{padding-top:0}
}
/* Photo du magasin avec le cartouche manuscrit commun. */
.home .story-photo{min-width:0;margin:0;padding-bottom:28px}
.home .story-photo>img{height:430px;object-fit:cover;border-radius:80px 12px 12px 12px;transform:rotate(-1deg)}
@media(max-width:920px){.home .story-photo{width:100%;max-width:620px;justify-self:center}.home .story-photo>img{height:auto}}
@media(max-width:720px){.home .story-photo>img{border-top-left-radius:55px;transform:none}}