/* Le Pétrin de l’Allaine — maquette Express (boulangerie-pâtisserie-traiteur) — CroisierWeb 2026 */
:root { --brown: #3b2416; --brown-2: #5a3620; --crust: #8a5226; --gold: #d39a3a; --gold-d: #9a5a1a; --cream: #fbf6ee; --flour: #f3e9d8; --ink: #2a180c; --line: #e8dcc8; --muted: #6e5a4a; --sage: #5f7a4a; --red: #a33b2c;
  --mk-accent: var(--brown); --mk-accent-fg: #fff; --mk-surface: #fff; --mk-fg: var(--ink); --mk-radius: 12px; --mk-font: "Jost", system-ui, sans-serif; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 400 17px/1.65 "Jost", system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: var(--cream); overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: "Cormorant", Georgia, serif; font-weight: 600; line-height: 1.04; letter-spacing: -.01em; margin: 0 0 .45em; color: var(--brown); }
h1 { font-size: clamp(2.8rem, 6vw, 4.9rem); }
h1 em { font-style: italic; font-weight: 500; color: var(--gold-d); }
h2 { font-size: clamp(2.2rem, 4vw, 3.3rem); }
h3 { font-size: 1.65rem; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.sec { padding: clamp(60px, 8vw, 100px) 0; }
.sec.top0 { padding-top: 0; }
.sec-tint { background: var(--flour); }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.visually-hidden, .seg-f legend.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.kick { font: 600 .78rem "Jost", sans-serif; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-d); margin: 0 0 14px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; background: var(--brown); color: #fff; border: 2px solid var(--brown); font: 600 .95rem "Jost", sans-serif; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: var(--crust); border-color: var(--crust); }
.btn .ico { width: 18px; height: 18px; }
.btn-line { background: transparent; color: var(--brown); }
.btn-line:hover { background: var(--brown); color: #fff; border-color: var(--brown); }
.btn-light { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn-light:hover { background: #fff; border-color: #fff; color: var(--brown); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-ghost:hover { background: #fff; color: var(--brown); border-color: #fff; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .88rem; }
.btn-wide { width: 100%; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--brown); text-decoration: none; }
.more .ico { width: 16px; }
.more:hover { color: var(--gold-d); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* En-tête */
.hd { position: sticky; top: 0; z-index: 50; background: rgba(251, 246, 238, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.hd-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 78px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-mark { width: 42px; height: 42px; }
.logo > span { display: grid; font: 600 1.55rem/1 "Cormorant", serif; color: var(--brown); }
.logo small { font: 500 .72rem "Jost", sans-serif; color: var(--muted); margin-top: 4px; letter-spacing: .1em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { text-decoration: none; font-weight: 500; }
.nav a[aria-current="page"]:not(.btn) { color: var(--gold-d); }
.open-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: #f4e3df; color: var(--red); font-size: .84rem; font-weight: 600; white-space: nowrap; }
.open-pill i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.open-pill.is-open { background: #e6eedd; color: #3f5a2c; }
.open-pill.is-open i { box-shadow: 0 0 0 0 rgba(63, 90, 44, .5); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(63, 90, 44, 0); } 100% { box-shadow: 0 0 0 0 rgba(63, 90, 44, 0); } }
.burger { display: none; }

/* Accueil */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(50px, 7vw, 90px); }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 560px; }
.usp { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: .94rem; }
.usp li { display: flex; align-items: center; gap: 8px; }
.usp .ico { color: var(--gold-d); }
.hero-art { position: relative; border-radius: 50% 50% 24px 24px / 38% 38% 24px 24px; overflow: hidden; aspect-ratio: 5 / 4.4; box-shadow: 0 30px 60px -34px rgba(59, 36, 22, .6); }
.art { width: 100%; height: 100%; }
.hero-badge { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); width: max-content; max-width: calc(100% - 36px); background: var(--brown); color: #fff; border-radius: 14px; padding: 12px 18px; text-align: center; box-shadow: 0 10px 24px rgba(0, 0, 0, .2); }
.hero-badge span { display: block; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: #e7b660; }
.hero-badge strong { font: 600 1.25rem "Cormorant", serif; }
.head { margin-bottom: 34px; max-width: 720px; }
.head.split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.cat:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -26px rgba(59, 36, 22, .5); }
.cat-img { aspect-ratio: 4 / 3; }
.cat-b { padding: 16px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.cat-b h3 { margin-bottom: 4px; }
.cat-b p { margin: 0 0 12px; font-size: .9rem; color: var(--muted); }
.cat-price { margin-top: auto; font-weight: 600; color: var(--gold-d); }
.split2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.split2.top { align-items: start; }
.oven { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.oven li { display: flex; align-items: center; gap: 18px; padding: 14px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.oven li > span { flex: none; min-width: 74px; font: 600 1.6rem "Cormorant", serif; color: var(--brown); }
.oven small { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-d); }
.oven li.is-next { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(211, 154, 58, .18); }
.spec { background: #fff; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); }
.spec-img { aspect-ratio: 16 / 9; }
.spec-b { padding: clamp(22px, 4vw, 32px); }
.spec-b p { margin: 0 0 14px; }
.spec-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); margin: 0 !important; }
.spec-foot span { font-weight: 600; color: var(--gold-d); }
.hours { width: 100%; border-collapse: collapse; margin-top: 10px; }
.hours th, .hours td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours th { font-weight: 600; }
.hours td { text-align: right; color: var(--muted); }
.hours small { margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--gold); color: var(--ink); font-size: .72rem; font-weight: 600; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--brown); font-weight: 600; }
.visit { border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.map svg { width: 100%; height: auto; }
.visit-b { padding: 22px 24px 8px; }
.visit-b p { display: flex; gap: 12px; margin: 0 0 16px; }
.visit-b .ico { width: 22px; height: 22px; color: var(--gold-d); margin-top: 2px; }
.visit-b a { font-weight: 600; text-decoration: none; }
.band { background: var(--brown); color: #fff; padding: clamp(50px, 7vw, 80px) 0; }
.band-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.band h2 { color: #fff; margin-bottom: 6px; }
.band p { margin: 0; color: #e3cfb6; }

/* Traiteur */
.page-hero { padding: clamp(50px, 7vw, 80px) 0 clamp(30px, 4vw, 44px); }
.seg-f { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
.seg-f legend { width: 100%; font-weight: 500; font-size: .9rem; margin-bottom: 6px; padding: 0; }
.seg-f label { position: relative; }
.seg-f input { position: absolute; opacity: 0; }
.seg-f span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 2px solid var(--line); border-radius: 999px; font-weight: 500; font-size: .92rem; cursor: pointer; background: #fff; }
.seg-f input:checked + span { background: var(--brown); border-color: var(--brown); color: #fff; }
.seg-f input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.filters { margin-bottom: 26px; }
.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.offer { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.offer-img { position: relative; aspect-ratio: 16 / 10; }
.offer-lead { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .92); font-size: .78rem; font-weight: 600; color: var(--brown); }
.offer-lead .ico { width: 14px; color: var(--gold-d); }
.offer-b { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.offer-b p { margin: 0 0 14px; color: var(--muted); font-size: .95rem; }
.offer-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.offer-price { margin: 0 !important; font: 600 1.5rem "Cormorant", serif; color: var(--brown) !important; }
.offer-price small { font: 500 .8rem "Jost", sans-serif; color: var(--muted); }
.empty { padding: 26px; text-align: center; background: #fff; border: 1px dashed var(--line); border-radius: 14px; margin-top: 10px; }
.tick { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.tick li { display: flex; gap: 10px; align-items: center; }
.tick .ico { color: var(--sage); }
.calc { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 4vw, 32px); }
.fl { display: block; margin-bottom: 16px; }
.fl > span { display: flex; justify-content: space-between; gap: 10px; font-weight: 500; font-size: .9rem; margin-bottom: 6px; }
.fl input:not([type=radio]):not([type=checkbox]):not([type=range]), .fl select, .fl textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 2px solid var(--line); border-radius: 10px; background: #fff; font: inherit; color: var(--ink); }
.fl input:focus, .fl select:focus, .fl textarea:focus { border-color: var(--crust); outline: 0; }
.fl input[type=range] { width: 100%; accent-color: var(--gold-d); }
.fl output { font: 600 1.3rem "Cormorant", serif; color: var(--brown); }
.calc-res { list-style: none; padding: 0; margin: 4px 0 14px; display: grid; gap: 8px; }
.calc-res li { display: flex; justify-content: space-between; gap: 10px; padding: 10px 14px; border-radius: 10px; background: var(--flour); font-size: .95rem; }
.calc-res b { font-weight: 600; color: var(--brown); }
.calc-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0 0 16px; }
.calc-total span { font-weight: 500; }
.calc-total small { display: block; font-size: .82rem; color: var(--muted); font-weight: 400; }
.calc-total strong { font: 600 2rem "Cormorant", serif; color: var(--brown); }
.infos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.infos > div { padding: 26px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.infos .ico { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--flour); color: var(--gold-d); margin-bottom: 12px; }
.infos h3 { margin-bottom: 6px; }
.infos p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Commande */
.order { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
.tabs { position: sticky; top: 78px; z-index: 5; display: flex; gap: 6px; flex-wrap: wrap; padding: 10px 0; margin-bottom: 8px; background: var(--cream); }
.tabs a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; text-decoration: none; font-weight: 500; font-size: .9rem; }
.tabs a:hover { border-color: var(--brown); }
.group { margin-bottom: 30px; scroll-margin-top: 150px; }
.group-h { font-size: 2rem; margin-bottom: 12px; }
.line { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; align-items: center; padding: 12px; margin-bottom: 10px; background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: border-color .2s, box-shadow .2s; }
.line.is-on { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(211, 154, 58, .15); }
.line-img { aspect-ratio: 1; border-radius: 12px; overflow: hidden; }
.line-b h3 { font-size: 1.35rem; margin: 0 0 2px; }
.line-b p { margin: 0; font-size: .88rem; color: var(--muted); }
.line-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 6px !important; }
.line-meta strong { color: var(--brown); font-size: .98rem; }
.lead-tag { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; background: var(--flour); font-size: .76rem; font-weight: 600; color: var(--gold-d); }
.lead-tag .ico { width: 12px; }
.stepper { display: inline-flex; align-items: center; border: 2px solid var(--line); border-radius: 999px; background: #fff; }
.stepper button { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: var(--brown); cursor: pointer; }
.stepper button:hover { background: var(--flour); }
.stepper .ico { width: 18px; height: 18px; }
.stepper input { width: 40px; border: 0; text-align: center; font: 600 1rem "Jost", sans-serif; color: var(--ink); background: transparent; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.details { padding: clamp(20px, 4vw, 30px); background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hint { margin: -6px 0 16px; padding: 10px 14px; border-left: 3px solid var(--gold); background: var(--flour); font-size: .9rem; }
.warn { padding: 12px 16px; border-radius: 10px; background: #fbeee9; color: #862e22; margin: 0 0 16px; }
.mk-consent a, .mk-legal a { color: var(--crust); }
.recap { position: sticky; top: 100px; padding: 24px; border-radius: 20px; background: var(--brown); color: #e3cfb6; }
.recap-h { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font: 600 1.6rem "Cormorant", serif; color: #fff; }
.recap-h .ico { color: var(--gold); }
.recap-list { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 8px; max-height: 280px; overflow: auto; }
.recap-list li { display: flex; justify-content: space-between; gap: 10px; font-size: .92rem; }
.recap-list b { color: var(--gold); font-weight: 600; }
.recap-list span:last-child { white-space: nowrap; color: #fff; }
.recap-empty { color: #bfa88d; font-style: italic; }
.recap-lines { margin: 0 0 12px; padding-top: 12px; border-top: 1px dashed rgba(255, 255, 255, .2); display: grid; gap: 6px; }
.recap-lines div { display: flex; justify-content: space-between; font-size: .92rem; }
.recap-lines dd { margin: 0; color: #fff; }
.recap-total { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 10px; }
.recap-total strong { font: 600 2.1rem "Cormorant", serif; color: #fff; }
.recap-when { margin: 0 0 14px; color: var(--gold); font-weight: 600; font-size: .95rem; }
.recap-when:empty { display: none; }
.recap .btn { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.recap .btn:hover { background: #fff; border-color: #fff; }
.recap .small { margin: 12px 0 0; color: #bfa88d; }

/* Pied de page */
.ft { background: #2a180c; color: #cdb69a; padding: 56px 0 24px; font-size: .94rem; }
.ft-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.ft-logo { font: 600 2.1rem "Cormorant", serif; color: #fff; margin: 0 0 10px; }
.ft-h { font: 600 .76rem "Jost", sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 0 0 10px; }
.ft a { color: #fff; text-decoration: none; }
.ft-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .85rem; }
.ft-bottom p { margin: 0; }
.mk-credit { margin-left: 14px; }

@media (max-width: 1100px) { .nav { gap: 18px; } .open-pill { display: none; } }
@media (max-width: 1000px) {
  .hero-in, .split2 { grid-template-columns: 1fr; }
  .cats { grid-template-columns: 1fr 1fr; }
  .offers, .infos { grid-template-columns: 1fr 1fr; }
  .order { grid-template-columns: 1fr; }
  .recap { position: static; order: -1; }
  .tabs { top: 78px; }
  .ft-grid { grid-template-columns: 1fr 1fr; }
  .ft-grid > div:first-child { grid-column: 1 / -1; }
  .burger { display: grid; place-content: center; gap: 6px; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--brown); cursor: pointer; }
  .burger span { width: 20px; height: 2px; background: #fff; transition: transform .25s; }
  .mk-nav-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
  .mk-nav-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 22px; background: var(--cream); border-bottom: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: .25s; }
  .mk-nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .open-pill { display: inline-flex; align-self: flex-start; margin-top: 14px; }
  .nav .btn { margin-top: 14px; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .cats, .offers, .infos, .two, .ft-grid { grid-template-columns: 1fr; }
  .cta .btn { flex: 1 1 100%; }
  .head.split { flex-direction: column; align-items: flex-start; }
  .logo small { display: none; }
  .line { grid-template-columns: 64px 1fr; }
  .line .stepper { grid-column: 1 / -1; justify-self: end; }
  .line-b p:not(.line-meta) { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .open-pill.is-open i { animation: none; } }

/* Chiffres : Cormorant a des chiffres elzéviriens (« 16hoo ») — les heures et prix passent en Jost. */
.oven li > span, .hero-badge strong, .offer-price, .calc-total strong, .recap-total strong, .fl output { font-family: "Jost", sans-serif; font-weight: 600; letter-spacing: -.01em; }
.oven li > span { font-size: 1.25rem; }
.hero-badge strong { font-size: 1.05rem; }
.offer-price { font-size: 1.25rem; }
.calc-total strong, .recap-total strong { font-size: 1.7rem; }
.fl output { font-size: 1.1rem; }
