/* Dernière passe brochure boulangeries — composition, vrais visuels produit et exploration des machines. */

/* Une phrase sur une ligne, puis la promesse sur la seconde : la première vue respire. */
.bakery-hero .hero-content h1 {
  font-size:clamp(37px,3.72vw,64px);
  line-height:1.06;
  letter-spacing:-.062em;
  margin:clamp(25px,3.5vw,46px) -16px clamp(23px,2.8vw,36px) 0;
}
.bk-hero-line { display:block; white-space:nowrap; }
.bk-hero-promise { margin-top:5px; font-size:1.15em; line-height:1.06; }
.bakery-hero .hero-content { padding-top:clamp(34px,3.5vw,54px); padding-bottom:35px; }
.bakery-hero .hero-lead { max-width:680px; font-size:clamp(12px,1.17vw,16px); }
.bakery-hero .hero-facts { padding-top:20px; }

/* Les quatre images sont celles de chacun des cafés, jamais des morceaux d'un montage. */
.bk-selection-bag.bk-media-frame { background-image:none; position:relative; isolation:isolate; border-color:#dac9b5; border-radius:2px; }
.bk-selection-bag.bk-media-frame::before { filter:blur(15px) brightness(.92) saturate(.79); opacity:.82; }
.bk-selection-bag.bk-media-frame > img { width:100%; height:100%; object-fit:contain!important; }
.bk-selection-card { transition:transform .25s,box-shadow .25s; }
.bk-selection-card:hover { transform:translateY(-3px); box-shadow:0 13px 28px rgba(23,41,67,.09); }

/* L'offre entière s'explore au clic, sans détourner le bouton d'estimation. */
.bakery-offers .offer-card { cursor:pointer; }
.bk-offer-tap { cursor:pointer; }
.bk-offer-tap:focus-visible { outline:3px solid #d4671e; outline-offset:-4px; }
.bk-offer-photo-prompt {
  position:absolute; z-index:4; bottom:12px; left:12px;
  display:flex; align-items:center; justify-content:space-between; gap:13px;
  max-width:calc(100% - 24px); padding:9px 12px;
  border:1px solid rgba(255,255,255,.64);
  background:rgba(23,41,67,.9); color:#fff;
  font-size:10px; font-weight:750; letter-spacing:.015em;
  box-shadow:0 6px 18px rgba(0,0,0,.19);
}
.bk-offer-photo-prompt b { font-size:16px; font-weight:400; }
.bk-see-drinks {
  display:flex; align-items:center; justify-content:space-between; width:100%;
  padding:10px 0 12px; margin:5px 0 15px;
  border:0; border-bottom:1px solid #c9b7a3;
  background:transparent; color:#b35a25; cursor:pointer;
  text-align:left; font-weight:750; font-size:12px;
}
.bk-see-drinks span { font-size:19px; font-weight:400; transition:transform .2s; }
.bk-see-drinks:hover span { transform:translate(3px,-2px); }
.bk-see-drinks:focus-visible { outline:2px solid var(--orange); outline-offset:3px; }

/* Six engagements : trois rangées de deux cartes, exactement à hauteur de la photo. */
@media(min-width:821px) {
  .services-section .services-layout {
    display:grid; grid-template-columns:minmax(0,43%) minmax(0,1fr);
    gap:clamp(17px,2.25vw,32px); min-height:505px; align-items:stretch;
  }
  .services-section .services-photo { height:100%; min-height:0; max-height:none; align-self:stretch; }
  .services-section .services-list {
    display:grid; grid-template-columns:repeat(2,minmax(0,1fr));
    grid-template-rows:repeat(3,minmax(0,1fr)); gap:13px;
    height:100%; min-width:0; align-content:stretch; align-items:stretch;
  }
}
.services-section .service-line {
  position:relative; display:flex; flex-direction:column; align-items:flex-start;
  justify-content:center; min-width:0; min-height:0;
  gap:0; padding:17px 19px 16px;
  background:linear-gradient(136deg,#fffdf7,#f5ecde);
  border:1px solid #dfd2bf; border-top:1px solid #dfd2bf; border-left:3px solid #d4671e;
  box-shadow:0 4px 13px rgba(23,41,67,.035);
  transition:transform .22s,box-shadow .22s,border-color .22s;
}
.services-section .service-line:last-child { border-bottom:1px solid #dfd2bf; }
.services-section .service-line:hover { transform:translateY(-2px); border-color:#d6aa83; box-shadow:0 10px 21px rgba(23,41,67,.09); }
.services-section .service-num {
  width:30px; height:30px; margin:0 0 9px;
  display:grid; place-items:center; flex:0 0 auto;
  border:1px solid #d6ad8d; border-radius:50%;
  background:#fff8f0; color:#ad5620;
  font-size:11px; line-height:1; font-weight:800;
}
.services-section .service-line > div { width:100%; min-width:0; }
.services-section .service-line h3 { margin:0 0 7px; font:500 clamp(18px,1.55vw,23px)/1.12 var(--serif); letter-spacing:-.02em; color:#172943; }
.services-section .service-line p { margin:0; font-size:clamp(10px,.83vw,12px); line-height:1.46; color:#5c6f7d; }
.services-section .service-check { position:absolute; top:17px; right:18px; color:#72917b; opacity:.7; font-size:16px; }
.services-section .services-photo::before { filter:blur(13px) brightness(.75) saturate(.9); }
/* Cette scène de comptoir peut remplir son cadre sans bandes floues ; le plein écran conserve l'original. */
.services-section .services-photo > img { object-fit:cover!important; object-position:center center!important; }

/* Un écran de découverte aussi précis que celui des offres Entreprises. */
body.bk-offer-modal-open { overflow:hidden; }
.bk-offer-modal[hidden] { display:none!important; }
.bk-offer-modal {
  position:fixed; inset:0; z-index:1300;
  display:grid; grid-template-columns:minmax(0,47%) minmax(0,53%);
  width:100%; height:100vh; height:100dvh;
  overflow:hidden; background:#172943;
  animation:bk-explore-appear .34s cubic-bezier(.18,.7,.24,1) both;
}
@keyframes bk-explore-appear { from { opacity:0; transform:scale(1.016); } to { opacity:1; transform:scale(1); } }
.bk-explore-visual {
  position:relative; min-height:0; min-width:0; overflow:hidden; isolation:isolate;
  display:grid; place-items:center; background:#ab9988;
}
.bk-explore-image-backdrop {
  position:absolute; z-index:-1; inset:-30px;
  background-size:cover; background-position:center;
  filter:blur(24px) brightness(.7) saturate(.9); transform:scale(1.04);
}
.bk-explore-visual > img {
  width:100%; height:100%; max-width:none; object-fit:contain; z-index:1;
  filter:saturate(.94); animation:bk-explore-image .35s ease both;
}
@keyframes bk-explore-image { from { opacity:.6; transform:scale(.98) } to { opacity:1; transform:scale(1) } }
.bk-explore-photo-kicker,.bk-explore-photo-bottom {
  position:absolute; z-index:2; left:clamp(22px,3.7vw,54px);
  font-size:10px; letter-spacing:.14em; font-weight:800; color:#fff;
  text-shadow:0 2px 13px rgba(0,0,0,.48);
}
.bk-explore-photo-kicker { top:34px; }
.bk-explore-photo-bottom { bottom:32px; padding:9px 13px; background:rgba(23,41,67,.76); border-left:3px solid #e9a372; }
.bk-explore-info { min-width:0; min-height:0; display:flex; flex-direction:column; background:#f8f2e8; color:#172943; }
.bk-explore-toolbar {
  display:flex; align-items:center; justify-content:space-between; gap:20px; flex:0 0 auto;
  padding:20px clamp(23px,3.4vw,47px); border-bottom:1px solid #ddccba;
}
.bk-explore-toolbar > span { color:#986946; font-size:9px; letter-spacing:.14em; font-weight:800; }
.bk-explore-toolbar button {
  width:42px; height:42px; flex:0 0 auto; display:grid; place-items:center;
  border:1px solid #cdbba8; color:#172943; background:transparent;
  font-size:20px; cursor:pointer; transition:background .2s,color .2s;
}
.bk-explore-toolbar button:hover { background:#172943; color:#fff; }
.bk-explore-scroll { min-height:0; overflow-y:auto; overscroll-behavior:contain; padding:clamp(22px,3vw,38px) clamp(23px,3.4vw,47px) 40px; }
.bk-explore-kicker { display:block; margin-bottom:10px; font-size:10px; color:#d4671e; font-weight:800; letter-spacing:.14em; }
.bk-explore-scroll h2 { margin:0 0 10px; font:500 clamp(38px,4vw,63px)/1.05 var(--serif); letter-spacing:-.05em; }
.bk-explore-scroll h2 span { color:#d4671e; }
.bk-explore-description { max-width:620px; margin:0 0 24px; color:#526474; font-size:14px; line-height:1.6; }
.bk-explore-drinks-heading { display:flex; justify-content:space-between; align-items:end; gap:18px; margin-bottom:13px; }
.bk-explore-drinks-heading span { display:block; font-size:9px; font-weight:800; letter-spacing:.12em; color:#a65b2b; }
.bk-explore-drinks-heading h3 { margin:5px 0 0; font:500 26px/1.08 var(--serif); letter-spacing:-.03em; }
.bk-explore-drinks-heading small { font-size:10px; line-height:1.4; color:#7a8792; max-width:150px; text-align:right; }
.bk-explore-drinks { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:11px; list-style:none; padding:0; margin:0 0 18px; }
.bk-explore-drinks li { min-width:0; overflow:hidden; background:#fffefa; border:1px solid #ddd1c2; }
.bk-explore-drinks img { display:block; width:100%; height:clamp(95px,10vw,160px); object-fit:contain; background:#e7ddcf; }
.bk-explore-drinks strong { display:block; padding:9px 12px 0; font:600 17px/1.15 var(--serif); color:#172943; }
.bk-explore-drinks small { display:block; padding:4px 12px 12px; font-size:10px; color:#647684; }
.bk-explore-terms { padding:15px 18px; background:#e8dbcb; border-left:4px solid #d4671e; }
.bk-explore-terms strong { display:block; font:500 clamp(19px,1.7vw,25px)/1.17 var(--serif); }
.bk-explore-terms p { margin:5px 0 0; font-size:11px; line-height:1.5; color:#5f6e77; }
.bk-explore-actions { display:grid; grid-template-columns:1fr 1fr; gap:9px; margin-top:14px; }
.bk-explore-actions button { min-height:49px; padding:12px 14px; display:flex; align-items:center; justify-content:space-between; gap:9px; border:1px solid #cdbba8; background:transparent; color:#172943; font-size:11px; font-weight:800; cursor:pointer; text-align:left; }
.bk-explore-actions button span { font-size:18px; font-weight:400; }
.bk-explore-actions button:first-child { background:#d4671e; color:#fff; border-color:#d4671e; }
.bk-explore-actions button:hover { box-shadow:0 5px 14px rgba(23,41,67,.1); }
.bk-explore-actions button:focus-visible,.bk-explore-toolbar button:focus-visible { outline:3px solid #d4671e; outline-offset:3px; }

@media(max-width:1050px) {
  .services-section .services-layout { grid-template-columns:minmax(0,41%) minmax(0,1fr); }
  .services-section .service-line { padding:14px 14px 12px; }
  .services-section .service-line h3 { font-size:19px; }
  .services-section .service-line p { font-size:11px; }
}
@media(max-width:950px) {
  .bk-offer-modal { display:block; overflow-y:auto; overscroll-behavior:contain; }
  .bk-explore-visual { height:clamp(240px,34dvh,360px); }
  .bk-explore-info { overflow:visible; min-height:0; }
  .bk-explore-toolbar { padding:12px 22px; }
  .bk-explore-toolbar button { position:fixed; top:14px; right:14px; z-index:5; background:rgba(23,41,67,.85); color:#fff; border-color:rgba(255,255,255,.65); }
  .bk-explore-scroll { overflow:visible; padding:23px 22px 43px; }
  .bk-explore-drinks img { height:clamp(120px,18vw,190px); }
  .bk-explore-photo-kicker { top:23px; }
  .bk-explore-photo-bottom { bottom:21px; }
}
@media(max-width:820px) {
  .bakery-hero .hero-content h1 { font-size:clamp(37px,6.2vw,57px); }
  .bk-hero-line { white-space:normal; }
  .bk-hero-promise { font-size:1.13em; }
  .services-section .services-layout { grid-template-columns:1fr; gap:13px; min-height:0; }
  .services-section .services-photo { display:block; min-height:0; max-height:none; height:clamp(275px,43vw,430px); }
  .services-section .services-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); grid-template-rows:auto; gap:12px; height:auto; }
  .services-section .service-line { min-height:150px; }
  .services-section .service-line h3 { font-size:20px; }
}
@media(max-width:600px) {
  .bakery-hero .hero-content { padding:35px 22px 30px; }
  .bakery-hero .hero-content h1 { font-size:clamp(39px,9.4vw,52px); letter-spacing:-.048em; margin:20px 0 20px; }
  .bk-hero-promise { font-size:1.06em; }
  .bk-selection-bag.bk-media-frame { height:clamp(170px,48vw,260px); }
  .bk-offer-photo-prompt { padding:7px 8px; left:7px; bottom:8px; max-width:calc(100% - 14px); font-size:8px; gap:6px; }
  .bk-offer-photo-prompt b { font-size:13px; }
  .bk-see-drinks { font-size:10px; margin-bottom:10px; }
  .services-section .services-list { grid-template-columns:1fr; gap:9px; }
  .services-section .service-line { min-height:125px; padding:14px 18px 13px; }
  .services-section .service-num { width:27px; height:27px; margin-bottom:7px; }
  .services-section .service-line h3 { font-size:21px; }
  .services-section .service-line p { font-size:11px; }
  .bk-explore-visual { height:32dvh; min-height:215px; }
  .bk-explore-photo-kicker { font-size:8px; left:15px; }
  .bk-explore-photo-bottom { left:15px; font-size:8px; bottom:15px; }
  .bk-explore-toolbar { min-height:52px; padding:12px 17px; }
  .bk-explore-toolbar > span { max-width:240px; line-height:1.5; }
  .bk-explore-scroll { padding:22px 18px 35px; }
  .bk-explore-scroll h2 { font-size:clamp(37px,9vw,51px); }
  .bk-explore-description { font-size:12px; }
  .bk-explore-drinks { grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
  .bk-explore-drinks img { height:130px; }
  .bk-explore-drinks-heading h3 { font-size:23px; }
  .bk-explore-drinks-heading small { display:none; }
  .bk-explore-actions { grid-template-columns:1fr; }
}
@media(prefers-reduced-motion:reduce) {
  .bk-offer-modal,.bk-explore-visual > img { animation:none!important; }
  .services-section .service-line,.bk-selection-card { transition:none!important; }
}
