*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff9f0;color:#341b12;font-family:"DM Sans",Arial,sans-serif}a{color:inherit;text-decoration:none}button{font:inherit}header{background:#fff4e6;position:sticky;top:0;z-index:10;box-shadow:0 2px 16px #3e1b1015}.nav-wrap{max-width:1250px;min-height:138px;margin:auto;padding:8px 28px;display:flex;align-items:center;justify-content:space-between;gap:30px}.logo{display:flex;flex-direction:column;align-items:center;min-width:270px}.logo img{width:138px;height:114px;object-fit:contain}.logo span{font-size:12px;font-weight:700;white-space:nowrap}nav{display:flex;align-items:center;gap:34px}nav a{font-weight:700;font-size:14px;padding:9px 0;border-bottom:3px solid transparent}nav a:hover,nav a.current{border-color:#ae741c;color:#78410d}.menu-btn{display:none;border:0;background:none;color:#754109;font-size:29px;cursor:pointer}.hero{height:470px;position:relative;overflow:hidden;background:#482816}.hero-image{position:absolute;inset:0;background-image:linear-gradient(90deg,#180d09b0,#1b100953 48%,#1d100965),url("images/baguettes.jpg");background-size:cover;background-position:center 54%;filter:saturate(1.1)}.hero-content{position:relative;z-index:1;color:#fff6eb;text-align:center;max-width:600px;margin:auto;padding:46px 15px;text-shadow:0 2px 12px #210e0c}.hero-small,.hero-chez,h1,h2{font-family:"Playfair Display",Georgia,serif}.hero-small{font-size:52px;font-style:italic;margin:0}.hero-chez{font-size:28px;font-style:italic;margin:-8px 0}h1{font-size:62px;font-weight:600;font-style:italic;line-height:1.04;margin:0}.swash{height:10px;width:230px;border-bottom:5px solid #d9a039;border-radius:50%;transform:rotate(-4deg);margin:15px auto 24px}.hero-sub{font-size:24px;line-height:1.3}.quick-cats{display:grid;grid-template-columns:repeat(4,1fr);max-width:1250px;margin:auto;background:#fff3e4;padding:25px 12px}.quick-cats a{text-align:center;display:flex;flex-direction:column;align-items:center;gap:8px}.quick-cats b{font-size:18px;line-height:1.35}.cat-icon{font-size:54px;color:#a46a1e;line-height:1}.feature{display:grid;grid-template-columns:1fr 1fr;max-width:1250px;margin:auto;min-height:330px;background:#fff8ed}.feature>img{width:100%;height:360px;object-fit:cover;object-position:center 42%}.feature-text{padding:45px 55px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.feature h2{font-size:38px;line-height:1.15;margin:0 0 15px}.feature h2 em,.section-heading h2 em{font-weight:500}.feature p{font-size:17px;line-height:1.65;max-width:450px}.btn{display:inline-block;border:0;border-radius:14px;background:linear-gradient(110deg,#96510c,#c58b29);color:#fff;padding:13px 26px;font-weight:700;box-shadow:0 3px 10px #79481024}.btn:hover{filter:brightness(1.08)}.catalog{padding:72px 25px;max-width:1260px;margin:auto}.section-heading{text-align:center;margin-bottom:28px}.section-heading h2{font-size:42px;margin:12px 0}.section-heading p{color:#765f4e}.filters{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin-bottom:30px}.filters button{border:1px solid #d7b88e;background:#fff9f0;color:#65370d;padding:11px 19px;border-radius:40px;cursor:pointer}.filters button.active,.filters button:hover{background:#a66b1c;color:white}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.product{border-radius:15px;overflow:hidden;background:#fff;box-shadow:0 8px 28px #55371912}.product[hidden]{display:none}.product-img {
  aspect-ratio: 4 / 3;
  background: #f3e9da;
}
.product-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}.product-body{padding:20px 22px 25px}.product h3{font-family:"Playfair Display",Georgia,serif;font-size:23px;margin:8px 0}.product p{margin:0;color:#715a4b;font-size:14px;line-height:1.6}.info{background:#f4e5d0;padding:45px 25px 25px}.info-grid{max-width:1120px;margin:auto;display:grid;grid-template-columns:repeat(3,1fr);gap:35px}.info-grid>div{position:relative;padding-left:46px}.info-icon{position:absolute;left:0;top:3px;font-size:29px;color:#9d641d}.info h3{margin:0 0 10px;font-size:19px}.info p{line-height:1.6;margin:0}.info-actions{display:flex;justify-content:center;gap:16px;flex-wrap:wrap;margin-top:30px}footer{display:flex;align-items:center;justify-content:center;gap:15px;flex-wrap:wrap;text-align:center;background:#3b2217;color:#fff2e3;padding:22px}footer img{object-fit:contain}footer small{width:100%;opacity:.7}@media(max-width:800px){.nav-wrap{min-height:100px;padding:6px 18px}.logo{min-width:0;align-items:flex-start}.logo img{height:79px;width:95px}.logo span{font-size:9px}.menu-btn{display:block}nav{display:none;position:absolute;top:100%;left:0;right:0;background:#fff4e6;padding:20px 25px;flex-direction:column;align-items:stretch;gap:7px;box-shadow:0 12px 20px #341b121a}nav.open{display:flex}nav a{padding:12px}.hero{height:400px}.hero-small{font-size:39px}.hero-chez{font-size:22px}h1{font-size:44px}.hero-sub{font-size:18px}.quick-cats{grid-template-columns:repeat(2,1fr);gap:25px;padding:25px}.quick-cats b{font-size:15px}.cat-icon{font-size:42px}.feature{grid-template-columns:1fr}.feature>img{height:260px}.feature-text{padding:30px 26px}.feature h2{font-size:32px}.catalog{padding:48px 16px}.section-heading h2{font-size:34px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.product-body{padding:14px}.product h3{font-size:19px}.info-grid{grid-template-columns:1fr;gap:25px}}@media(max-width:480px){.product-grid{grid-template-columns:1fr}.hero{height:365px}.hero-content{padding-top:52px}.logo span{max-width:210px;white-space:normal}.info-actions .btn{width:100%;text-align:center}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.cat-icon{display:flex;align-items:center;justify-content:center;width:78px;height:58px}.cat-icon svg{width:72px;height:54px;display:block}.quick-cats a:hover .cat-icon{transform:translateY(-2px)}@media(max-width:800px){.cat-icon{width:62px;height:48px}.cat-icon svg{width:60px;height:45px}}


/* Accueil */
body {
  --cream: #f5ead8;
  --paper: #f9f0e2;
  --brown: #372017;
  color: var(--brown);
  background: var(--paper);
}
header { position: relative; background: var(--paper); box-shadow: none; }
.nav-wrap {
  position: relative;
  max-width: 1440px;
  min-height: 156px;
  padding: 12px 4.2%;
  align-items: flex-start;
}
.logo {
  position: relative;
  width: min(39%, 460px);
  flex-shrink: 0;
  gap: 0;
  color: #3e2118;
}
.logo img { width: 190px; height: 62px; mix-blend-mode: multiply; }
.logo strong {
  font: italic 700 clamp(30px, 3.8vw, 54px)/.91 Georgia, serif;
  text-align: center;
  letter-spacing: -.035em;
}
.logo span { margin-top: 13px; font-size: clamp(11px, 1.35vw, 18px); }
nav { gap: clamp(12px, 2.3vw, 35px); padding-top: 26px; }
nav a { white-space: nowrap; font-size: clamp(12px, 1.2vw, 17px); }
.hero { height: clamp(360px, 41vw, 560px); margin-top: -47px; background: #3c2111; }
header { background: transparent; }
.nav-wrap::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 47px;
  background: var(--paper);
  box-shadow: 0 0 0 100vmax var(--paper);
  clip-path: inset(0 -100vmax);
}
.nav-wrap::after {
  content: "";
  position: absolute;
  z-index: -1;
  bottom: 0;
  left: 0;
  width: 53%;
  height: 48px;
  border-bottom-right-radius: 100px 52px;
  background: var(--paper);
}
.hero-content { margin-left: 20%; width: 44%; padding: clamp(59px, 7vw, 96px) 0 0; }
.hero-small { font-size: clamp(42px, 5vw, 72px); line-height: 1.05; }
.hero-chez { margin: 1px 0 4px; }
.hero h1 { font-size: clamp(43px, 5.3vw, 77px); }
.swash { width: min(65%, 265px); margin: 14px auto 18px; height: 18px; }
.hero-sub { font-size: clamp(19px, 2.2vw, 30px); margin: 0; }
.quick-cats { max-width: none; padding: 20px 8% 22px; background: var(--cream); }
.quick-cats b { font-size: clamp(17px, 1.8vw, 23px); }
.feature { max-width: none; grid-template-columns: 47% 53%; min-height: 280px; background: var(--paper); }
.feature > img { height: 100%; max-height: 360px; object-position: center 42%; mask-image: linear-gradient(90deg, black 79%, transparent); }
.feature-text { padding: 30px 8% 30px 2%; }
.feature h2 { font-style: italic; font-size: clamp(30px, 3.5vw, 46px); }
.feature p { margin: 0 0 18px; line-height: 1.5; }
.info { padding: 28px 5% 22px; background: var(--cream); }
.info-grid { max-width: 1220px; gap: 18px; }
.info-grid > div { padding-left: 34px; }
.info h3 { margin-bottom: 5px; }
.info-icon svg { width: 24px; height: 24px; display: block; }
.btn { border-radius: 15px; background: linear-gradient(110deg, #89500d, #a86b20); }
.btn svg { width: 19px; height: 19px; vertical-align: -.2em; }

@media (max-width: 900px) {
  .nav-wrap { min-height: 94px; padding: 8px 7%; align-items: center; }
  .logo { width: auto; align-items: center; }
  .logo img { width: 115px; height: 36px; }
  .logo strong { font-size: 26px; }
  .logo span, .nav-wrap::after { display: none; }
  .nav-wrap::before { inset: 0; }
  .menu-btn { display: block; min-width: 44px; min-height: 44px; }
  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    padding: 12px 7%;
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
    box-shadow: 0 12px 20px #341b1226;
  }
  nav.open { display: flex; }
  nav a { font-size: 16px; padding: 10px 0; }
  .hero { margin-top: 0; }
  .hero-content { width: 65%; margin: 0 auto; }
}
@media (max-width: 600px) {
  .hero { height: clamp(265px, 73vw, 350px); }
  .hero-content { padding-top: 16px; width: 100%; }
  .hero-small, .hero-chez { display: inline; font-size: clamp(21px, 6vw, 30px); }
  .hero-chez::before { content: " "; }
  .hero h1 { font-size: clamp(36px, 10vw, 49px); margin-top: 2px; }
  .swash { height: 11px; border-width: 3px; width: 153px; margin: 6px auto; }
  .hero-sub { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .quick-cats { grid-template-columns: 1fr; gap: 4px; padding: 12px 9%; }
  .quick-cats a { flex-direction: row; gap: 12px; min-height: 44px; text-align: left; }
  .quick-cats br { display: none; }
  .quick-cats b { font-size: 16px; }
  .cat-icon { width: 47px; height: 36px; flex-shrink: 0; }
  .cat-icon svg { width: 46px; height: 34px; }
  .feature { grid-template-columns: 1fr; }
  .feature > img { height: 205px; mask-image: linear-gradient(black 81%, transparent); }
  .feature-text { padding: 14px 7% 27px; }
  .info { padding: 0; }
  .info-grid { gap: 0; }
  .info-grid > div { padding: 11px 6% 11px 17%; border-bottom: 1px solid #e6d7c1; }
  .info-icon { left: 7%; top: 13px; }
  .info-actions { margin: 0; padding: 15px 6%; }
  .info-actions .btn { width: auto; }
}
@media (max-width: 600px) {
  main { display: flex; flex-direction: column; }
  .feature { order: 1; }
  .catalog { order: 2; width: 100%; }
  .loyalty { order: 3; }
}

/* Cadrage des photos du catalogue */
.product-img {
  aspect-ratio: 3 / 2;
  background: #efe2cf;
}

/* Photographies et catalogue */
.hero-image {
  background-image: linear-gradient(90deg, transparent 20%, #2010073d 46%, transparent 69%),
    url("images/boulangerie-accueil.webp");
  background-position: center;
}
.hero-content { margin-left: 20%; }
.feature > img { object-position: center 67%; }
.catalog { padding-top: clamp(40px, 6vw, 72px); }
.product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2.4vw, 28px); }
.product {
  border-radius: 9px;
  border: 1px solid #e9dac4;
  background: #fffaf2;
  box-shadow: 0 3px 10px #4e30100c;
}
.product-img { aspect-ratio: 16 / 10; }
.product-img img { filter: contrast(1.04) saturate(1.06); }
.product-body { padding: 13px 16px 17px; }
.product h3 { margin: 0; line-height: 1.24; }
.product p { margin-top: 5px; }
footer { padding: 17px; }

@media (max-width: 900px) {
  .hero-content { margin-left: auto; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .hero { height: clamp(265px, 75vw, 390px); }
  .hero-image {
    background-image: linear-gradient(#1b0d0740, transparent 70%),
      url("images/boulangerie-accueil-mobile.webp");
    background-position: center bottom;
  }
  .hero-content { padding-top: clamp(17px, 6vw, 32px); }
  .product-body { padding: 10px 11px 12px; }
  .product h3 { font-size: clamp(16px, 4.25vw, 20px); }
}
@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
}

/* Photos de pains en format portrait et carte aux couleurs de l’accueil */
.product-img:focus-visible {
  outline: 3px solid #8b5213;
  outline-offset: -4px;
}
/* Photos de pains dans leur format portrait */
.product[data-category="pains"] .product-img {
  display: block;
  aspect-ratio: 4 / 5;
  background: #f3e8d6;
  cursor: zoom-in;
}
.product[data-category="pains"] .product-img img { object-fit: contain; }



/* Carte de fidélité */
.loyalty {
  background: linear-gradient(160deg, #fff5e4, #ecd4b7);
  padding: clamp(32px, 6vw, 68px) max(5%, calc((100% - 1050px) / 2));
}
.wheat-definition { position: absolute; }
.loyalty-title {
  display: table;
  margin: 0 auto 23px;
  padding: 8px 19px;
  border-radius: 999px;
  background: #49220f;
  color: #fff8ee;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: clamp(17px, 3vw, 25px);
  line-height: 1.2;
  text-align: center;
}
.loyalty-title small { font-size: .8em; font-weight: 400; }
.loyalty-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(14px, 2vw, 24px); }
.loyalty-side { min-width: 0; margin: 0; container-type: inline-size; }
.loyalty-side figcaption {
  display: table;
  margin: 10px auto 0;
  padding: 4px 16px;
  border-radius: 99px;
  background: #fdf0df;
  color: #412416;
  font-size: 14px;
  font-weight: 700;
}
.loyalty-card {
  height: auto;
  aspect-ratio: 1.42;
  border-radius: 3cqw;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  box-shadow: 0 7px 19px #47250f35;
}
.loyalty-front {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: radial-gradient(ellipse at 48% 40%, #753616, #3c190d 80%);
  padding-top: 2.1cqw;
}
.loyalty-front::before, .loyalty-front::after {
  content: "";
  position: absolute;
  z-index: -1;
  bottom: 0;
  width: 44%;
  height: 32%;
  background: url("images/croissants-accueil.webp") center 72% / cover no-repeat;
  mask-image: radial-gradient(ellipse at 12% 100%, #000 49%, transparent 77%);
}
.loyalty-front::before { left: 0; }
.loyalty-front::after { right: 0; transform: scaleX(-1); }
.loyalty-brand { width: 76%; position: relative; text-align: center; color: #fff6e6; }
.loyalty-loaf { width: 45%; height: auto; display: block; margin: 0 auto; }
.loyalty-brand strong {
  display: block;
  font: italic 700 9.1cqw/.91 Georgia, serif;
  letter-spacing: -.035em;
  text-shadow: 0 2px 4px #3c180c;
}
.loyalty-brand::after {
  content: "";
  display: block;
  width: 50%;
  height: 2cqw;
  margin: .6cqw auto 2.1cqw;
  border-bottom: .68cqw solid #e8ac3c;
  border-radius: 50%;
  transform: rotate(-4deg);
}
.loyalty-wheat { position: absolute; color: #e4a63b; }
.brand-left, .brand-right { width: 22%; top: 25%; }
.brand-left { left: 0; transform: rotate(-10deg); }
.brand-right { right: 0; transform: rotate(10deg) scaleX(-1); }
.loyalty-gold-label {
  background: linear-gradient(100deg, #d8a037, #ffe087 50%, #dea73a);
  color: #301609;
  border-radius: 999px;
  padding: 1.4cqw 5.4cqw 1.7cqw;
  font: italic 700 7.6cqw/1.08 Georgia, serif;
}
.loyalty-back {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4cqw;
  padding: 3.6cqw 4.7cqw;
  background: radial-gradient(ellipse at center, #fffaf0, #f5e4c7);
  color: #312019;
}
.loyalty-banner {
  width: 100%;
  padding: 2.3cqw 1cqw;
  border-radius: 999px;
  background: #542710;
  color: #fff8ef;
  font-size: 6.1cqw;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}
.stamp-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: 93%;
  gap: 2.5cqw;
}
.stamp-grid span {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: max(1px, .38cqw) solid #9f6e37;
  border-radius: 50%;
  color: #dfc28e;
}
.stamp-grid svg { display: block; width: 59%; height: 69%; }
.loyalty-back p {
  margin: 0;
  max-width: 81%;
  font-size: 3.95cqw;
  font-weight: 700;
  line-height: 1.32;
  text-align: center;
}
.corner-left,.corner-right { bottom: 3%; width: 13%; z-index: -1; }
.corner-left { left: 2%; transform: rotate(-53deg) scaleX(-1); }
.corner-right { right: 2%; transform: rotate(53deg); }

@media (max-width: 660px) {
  .loyalty-cards { grid-template-columns: minmax(0, 1fr); max-width: 480px; margin-inline: auto; }
}

/* Cadrage de la ficelle */
.product[data-category="pains"] .bread-focus {
  display: grid;
  place-items: center;
}
.bread-focus-detail {
  position: relative;
  display: block;
  width: min(100%, calc(var(--focus-ratio) * 125%));
  aspect-ratio: var(--focus-ratio);
  overflow: hidden;
}
.bread-focus-detail img {
  position: absolute;
  inset: 0 auto auto 0;
  width: var(--focus-width);
  height: auto;
  max-width: none;
  transform: translate(var(--focus-x), var(--focus-y));
  filter: brightness(var(--focus-light)) contrast(1.045);
}
.ficelle {
  --focus-ratio: .899;
  --focus-width: 238.4%;
  --focus-x: -6.11%;
  --focus-y: -60%;
  --focus-light: 1.10;
}

.product[data-category="viennoiseries"] .product-img,
.product[data-category="sandwichs"] .product-img {
  aspect-ratio: 4 / 3;
}

.product-img.photo-patisserie {
  display: block;
  aspect-ratio: 4 / 3;
  cursor: zoom-in;
}

.baguette-cereales {
  --focus-ratio: .64216;
  --focus-width: 274.81%;
  --focus-x: -59.444%;
  --focus-y: -7.5%;
  --focus-light: 1.045;
}
.bucheron-photo {
  --focus-ratio: .788;
  --focus-width: 110.53%;
  --focus-x: -6.12%;
  --focus-y: -7.65%;
  --focus-light: 1.045;
}
.baguettes-artisanales-photo {
  --focus-ratio: 1.131;
  --focus-width: 100.68%;
  --focus-x: 0%;
  --focus-y: -20.41%;
  --focus-light: 1.045;
}

.bread-group { grid-column: 1 / -1; }

.catalog .section-heading h2 {
  font-size: clamp(30px, 3.5vw, 46px);
  font-style: italic;
  line-height: 1.15;
}
