/* Le Fournil d'Aspremont — pages publiques */
body { background: #fff; color: var(--ink); --glass: var(--surface); --glass-line: var(--line); }

/* ---------- en-tête ---------- */
.head { position: fixed; inset: 0 0 auto; z-index: 60; height: 84px; color: #fff; transition: background .4s, border-color .4s, height .4s; border-bottom: 1px solid transparent; }
.head { --glass-line: rgba(255, 255, 255, .34); }
.head.solid { --glass-line: var(--line); color: var(--ink); background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--glass-line); height: 72px; }
.head .wrap { height: 100%; display: flex; align-items: center; gap: 28px; max-width: 1400px; }
.head .logo img { height: 52px; display: block; transition: height .4s; }
.head.solid .logo img { height: 44px; content: url(/img/logo_fonce.svg); }
.head.solid .hbtn { color: var(--ink); }
.head.solid .hbtn:hover { background: var(--surface-2); }
.head.solid .hbtn.logged { color: #fff; }
.head.solid .cta { background: var(--brown); color: #fff; }
.head.solid .cta i { background: var(--gold); }
.head nav { display: flex; gap: 28px; margin-left: 12px; }
.head nav a { text-decoration: none; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; opacity: .92; position: relative; }
.head nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.head nav a:hover::after, .head nav a.on::after { transform: scaleX(1); }
.head .tools { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.pill { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; height: 40px; border: 1px solid var(--glass-line); border-radius: 999px; white-space: nowrap; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #e0806f; }
.pill.open::before { background: #8fd19e; box-shadow: 0 0 0 4px rgba(143, 209, 158, .25); }
.hbtn { position: relative; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--glass-line); background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .3s; }
.hbtn:hover { background: rgba(255,255,255,.14); }
.hbtn svg { width: 20px; height: 20px; }
.hbtn .count { position: absolute; top: -4px; right: -4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--gold); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; transform: scale(0); transition: transform .3s var(--ease); }
.hbtn .count.on { transform: scale(1); }
.hbtn .ini { font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.hbtn.logged { background: var(--gold); border-color: var(--gold); }
.cta { display: inline-flex; align-items: center; gap: 12px; height: 42px; padding: 0 6px 0 20px; background: #fff; color: var(--brown); text-decoration: none; font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; transition: background .3s; border: 0; cursor: pointer; white-space: nowrap; }
.cta i { width: 30px; height: 30px; display: grid; place-items: center; background: var(--brown); color: #fff; font-style: normal; transition: transform .35s var(--ease); }
.cta:hover i { transform: translateX(3px); }
.cta:hover { background: var(--cream); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: #2b2118; color: #f6eede; }
.hero .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,8,6,.5) 0%, rgba(11,8,6,.05) 35%, rgba(11,8,6,.15) 60%, rgba(11,8,6,.8) 100%); }
.hero_logo { position: absolute; left: 50%; top: 45%; transform: translate(-50%, -50%); width: min(340px, 62vw); z-index: 1; filter: drop-shadow(0 6px 30px rgba(0,0,0,.35)); }
.hero .wrap { position: relative; z-index: 1; width: 100%; max-width: 1400px; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; padding-bottom: 56px; }
.hero .eyebrow { color: var(--gold-l); margin-bottom: 18px; }
.hero h1 { font-weight: 300; font-size: clamp(38px, 5.6vw, 76px); line-height: 1.02; }
.hero h1 em { font-style: italic; color: var(--gold-l); }
.scroll-cue { display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; opacity: .85; text-decoration: none; }
.scroll-cue span { width: 1px; height: 54px; background: linear-gradient(#fff, transparent); animation: cue 2.2s infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- sections ---------- */
section { position: relative; }
.sec { padding: 120px 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 44px; flex-wrap: wrap; }
.sec-head h2 { font-weight: 300; font-size: clamp(40px, 6vw, 72px); margin-top: 14px; }
.sec-head p { max-width: 420px; margin: 0; color: var(--ink-2); }
.btn.light { border-color: var(--ink); color: var(--ink); }
.btn.light:hover { background: var(--ink); color: var(--cream); }

/* produit du mois */
.month { padding: 110px 0 40px; }
.month .grid2 { display: grid; grid-template-columns: 1.05fr 1fr; gap: 70px; align-items: center; }
.month .viewport { overflow: hidden; }
.month .track { display: flex; transition: transform .9s var(--ease); }
.month .slide { flex: 0 0 100%; }
.month .ctrl { display: flex; justify-content: center; align-items: center; gap: 20px; margin-top: 34px; }
.month .arrow { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.month .arrow:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.month .arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.month .dots { display: flex; gap: 8px; }
.month .dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: var(--line); cursor: pointer; transition: width .4s var(--ease), background .4s; }
.month .dots button.on { width: 28px; background: var(--ink); }
@media (prefers-reduced-motion: reduce) { .month .track { transition: none; } }
.month .ph { aspect-ratio: 4 / 5; overflow: hidden; position: relative; cursor: pointer; }
.month .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.month .ph:hover img { transform: scale(1.04); }
.month .tag { position: absolute; left: 18px; top: 18px; background: var(--brown); color: var(--cream); padding: 8px 12px; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; }
.month h2 { font-size: clamp(64px, 10vw, 140px); font-weight: 300; line-height: .9; margin: 18px 0 6px; }
.month .type { font-family: var(--serif); font-style: italic; font-size: 30px; color: var(--gold); }
.month p { color: var(--ink-2); max-width: 440px; font-size: 16px; }
.price-big { font-family: var(--serif); font-size: 40px; margin: 22px 0 28px; }
.price-big small { font-family: var(--sans); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }

/* catalogue */
.cats { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; position: sticky; top: 72px; z-index: 20; padding: 14px 0; background: linear-gradient(#fff 78%, transparent); }
.cat-btn { display: inline-flex; align-items: center; gap: 10px; padding: 6px 18px 6px 6px; border: 1px solid var(--glass-line); border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; transition: background .3s, color .3s; }
.cat-btn img, .cat-btn .epi-ico { width: 38px; height: 38px; border-radius: 50%; background: var(--surface-2); object-fit: cover; }
.cat-btn img { object-position: 50% 58%; }
.cat-btn .epi-ico { display: grid; place-items: center; background: var(--cream); }
.cat-btn .epi-ico::after { content: ""; width: 62%; height: 76%; background: #9a7a48; -webkit-mask: url(/img/epi_plein.svg) center / contain no-repeat; mask: url(/img/epi_plein.svg) center / contain no-repeat; }
.cat-btn:hover { background: var(--surface-2); }
.cat-btn.on { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.cat-title { display: flex; align-items: baseline; gap: 18px; margin: 56px 0 22px; border-bottom: 1px solid var(--glass-line); padding-bottom: 14px; flex-wrap: wrap; }
.cat-title:first-child { margin-top: 0; }
.cat-title h3 { font-size: 40px; font-weight: 300; }
.cat-title span { font-size: 14px; color: var(--ink-2); }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card { position: relative; display: flex; flex-direction: column; background: var(--glass); border: 1px solid var(--glass-line); cursor: pointer; transition: transform .45s var(--ease), border-color .3s, background .3s; text-align: left; color: var(--ink); padding: 0; font: inherit; }
.card:hover { transform: translateY(-4px); border-color: var(--ink-3); box-shadow: var(--shadow); }
.card .ph { aspect-ratio: 4 / 5; overflow: hidden; background: rgba(0,0,0,.08); display: grid; place-items: center; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card:hover .ph img { transform: scale(1.05); }
.card .ph .epi { width: 40%; height: auto; opacity: .5; object-fit: contain; }
.card .body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.card h4 { font-size: 28px; font-weight: 400; }
.card .t { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); min-height: 16px; }
.card .foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.card .pr { font-weight: 600; font-size: 14px; }
.card .pr.tbc { font-weight: 400; font-style: italic; opacity: .85; font-size: 13px; }
.card .add { width: 36px; height: 36px; flex: none; display: grid; place-items: center; background: var(--brown); color: #fff; font-size: 20px; transition: background .3s, transform .3s var(--ease); }
.card:hover .add { background: var(--gold); color: #fff; transform: rotate(90deg); }
.card .incart { position: absolute; top: 12px; left: 12px; background: var(--gold); color: #fff; font-size: 11px; font-weight: 700; padding: 5px 9px; letter-spacing: .08em; z-index: 1; }
.card .incart.soldout { background: var(--ink); text-transform: uppercase; }
.card.out .ph img { filter: grayscale(.7); opacity: .6; }
.card.out .add { visibility: hidden; }

/* savoir-faire */
.edito { background: var(--brown); color: var(--cream); overflow: hidden; }
.edito .epi-deco { position: absolute; right: -60px; top: 50%; transform: translateY(-50%); height: 130%; opacity: .07; pointer-events: none; }
.edito .grid2 { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; }
.edito h2 { font-weight: 300; font-size: clamp(48px, 7vw, 96px); line-height: .95; margin-top: 18px; }
.edito p { color: rgba(246,238,222,.82); margin: 0 0 18px; font-size: 16px; }
.edito .big { font-family: var(--serif); font-size: clamp(26px, 3vw, 36px); line-height: 1.2; color: var(--gold-l); font-style: italic; margin: 30px 0; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(246,238,222,.18); margin-top: 70px; border: 1px solid rgba(246,238,222,.18); }
.pillars div { background: var(--brown); padding: 28px 24px; }
.pillars b { display: block; font-family: var(--serif); font-weight: 400; font-size: 28px; color: #fff; margin-bottom: 8px; line-height: 1.1; }
.pillars span { font-size: 14px; color: rgba(246,238,222,.75); }

/* actualités (cartes) */
.news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ncard { display: flex; flex-direction: column; background: var(--glass); border: 1px solid var(--glass-line); text-decoration: none; color: var(--ink); transition: transform .45s var(--ease), border-color .3s; }
.ncard:hover { transform: translateY(-4px); border-color: var(--ink-3); }
.ncard .ph { aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
.ncard .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ncard:hover .ph img { transform: scale(1.04); }
.ncard .lbl { position: absolute; left: 16px; top: 16px; background: var(--brown); color: var(--cream); padding: 7px 11px; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; }
.ncard .lbl.gold { background: var(--gold); color: #fff; }
.ncard .txt { padding: 28px 28px 30px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.ncard .date { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.ncard h3 { font-size: clamp(28px, 3vw, 38px); font-weight: 300; line-height: 1.08; }
.ncard p { margin: 0; color: var(--ink-2); }
.ncard .more { margin-top: auto; padding-top: 10px; font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }

/* bandeau + pied */
.band { position: relative; height: 62vh; min-height: 360px; overflow: hidden; display: grid; place-items: center; text-align: center; }
.band img { position: absolute; left: 0; width: 100%; height: 120%; object-fit: cover; top: -10%; }
.band::after { content: ""; position: absolute; inset: 0; background: rgba(11,8,6,.35); }
.band p { position: relative; z-index: 1; font-family: var(--serif); font-weight: 300; font-size: clamp(48px, 8vw, 110px); line-height: .95; margin: 0; color: var(--cream); }
footer { background: var(--night); color: var(--cream); padding: 90px 0 30px; }
footer .grid2 { display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; }
footer .big { font-family: var(--serif); font-weight: 300; font-size: clamp(38px, 5vw, 64px); line-height: 1.02; margin: 0 0 30px; }
footer .big em { color: var(--gold-l); }
footer .flogo { height: 90px; margin-top: 56px; display: block; }
footer .info { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 30px; align-content: start; }
footer h4 { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
footer .info p, footer .info a { margin: 0; color: rgba(246,238,222,.85); text-decoration: none; font-size: 15px; }
footer .info a:hover { color: #fff; }
footer .bottom { margin-top: 70px; padding-top: 24px; border-top: 1px solid rgba(246,238,222,.14); display: flex; justify-content: space-between; gap: 20px; font-size: 12.5px; color: rgba(246,238,222,.55); flex-wrap: wrap; }
footer .bottom a { color: inherit; text-decoration: none; margin-left: 18px; }

/* apparition au défilement */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- page Actualités ---------- */
.page-hero { padding: 170px 0 70px; background: var(--brown); color: var(--cream); overflow: hidden; }
.page-hero .epi-deco { position: absolute; right: -40px; top: -20%; height: 150%; opacity: .07; }
.page-hero h1 { font-weight: 300; font-size: clamp(56px, 9vw, 120px); line-height: .92; margin-top: 18px; }
.page-hero p { max-width: 520px; color: rgba(246,238,222,.8); margin: 22px 0 0; font-size: 17px; }
.article { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; background: var(--glass); border: 1px solid var(--glass-line); margin-bottom: 40px; scroll-margin-top: 100px; }
.article:nth-child(even) .ph { order: 2; }
.article .ph { position: relative; min-height: 520px; overflow: hidden; }
.article .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.article .txt { padding: 56px 52px; display: flex; flex-direction: column; gap: 16px; }
.article h2 { font-weight: 300; font-size: clamp(34px, 4vw, 54px); line-height: 1.02; }
.article p { margin: 0; color: var(--ink-2); }
.article .quote { font-family: var(--serif); font-style: italic; font-size: 26px; line-height: 1.25; color: var(--ink); border-left: 2px solid var(--gold-l); padding-left: 18px; margin: 6px 0; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--glass-line); margin: 8px 0 4px; }
.facts div { padding: 12px 14px; }
.facts div + div { border-left: 1px solid var(--glass-line); }
.facts b { display: block; font-family: var(--serif); font-size: 26px; font-weight: 400; line-height: 1.1; }
.facts span { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.article .actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }

/* ---------- fiche produit ---------- */
.sheet { position: fixed; z-index: 100; left: 50%; top: 50%; width: min(1000px, calc(100% - 40px)); max-height: calc(100vh - 60px); transform: translate(-50%, -46%); opacity: 0; pointer-events: none; transition: transform .45s var(--ease), opacity .35s; background: var(--bg); color: var(--ink); display: grid; grid-template-columns: 1fr 1.05fr; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.5); }
.sheet.open { transform: translate(-50%, -50%); opacity: 1; pointer-events: auto; }
.sheet .ph { background: var(--surface-2); display: grid; place-items: center; overflow: hidden; }
.sheet .ph img { width: 100%; height: 100%; object-fit: cover; max-height: calc(100vh - 60px); }
.sheet .ph .epi { width: 36%; height: auto; filter: invert(1); opacity: .18; object-fit: contain; }
.sheet .info { padding: 44px 42px 32px; overflow-y: auto; max-height: calc(100vh - 60px); display: flex; flex-direction: column; }
.sheet .close { position: absolute; top: 16px; right: 16px; background: var(--bg); z-index: 2; }
.sheet h3 { font-size: 56px; font-weight: 300; margin: 12px 0 4px; }
.sheet .t { font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--ink-2); }
.sheet .d { color: var(--ink-2); margin: 14px 0 6px; }
.sheet .kg { font-size: 13px; color: var(--ink-3); }
.sheet .unit { font-family: var(--serif); font-size: 32px; margin: 14px 0 4px; }
.sheet .unit small { font-family: var(--sans); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.opt-label { font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); margin: 22px 0 10px; display: flex; justify-content: space-between; gap: 10px; }
.opt-label span { font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--ink-3); font-size: 12px; }
.opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.opts.two { grid-template-columns: repeat(2, 1fr); }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; opacity: 0; }
.opt > span { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 8px; border: 1px solid var(--line); background: var(--surface); transition: border-color .2s, background .2s; font-size: 13px; font-weight: 600; text-align: center; }
.opt > span small { font-weight: 400; color: var(--ink-3); font-size: 12px; }
.opt svg { width: 30px; height: 30px; color: var(--gold); }
.opt input:checked + span { border-color: var(--ink); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--ink); }
.opt input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
select.input { appearance: auto; }
.buy { display: flex; gap: 10px; margin-top: 26px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); background: var(--surface); }
.qty button { width: 42px; height: 52px; border: 0; background: none; cursor: pointer; font-size: 18px; }
.qty span { min-width: 26px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.buy .btn { flex: 1; min-height: 54px; }
.fine { font-size: 12.5px; color: var(--ink-3); margin-top: 14px; }

/* ---------- tiroir réservation (checkout une page) ---------- */
.drawer.wide { width: min(560px, 100%); }
.step { padding: 22px 0; border-bottom: 1px solid var(--line); }
.step:first-child { padding-top: 0; }
.step:last-child { border-bottom: 0; }
.step-title { display: flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 16px; }
.step-title i { font-style: normal; width: 26px; height: 26px; border: 1px solid var(--ink); border-radius: 50%; display: grid; place-items: center; font-size: 12px; letter-spacing: 0; flex: none; }
.step-title .link { margin-left: auto; letter-spacing: .02em; text-transform: none; font-weight: 600; font-size: 13px; color: var(--gold); background: none; border: 0; cursor: pointer; padding: 0; }
.cline { display: grid; grid-template-columns: 62px 1fr auto; gap: 14px; align-items: center; padding: 10px 0; }
.cline + .cline { border-top: 1px dashed var(--line); }
.cline img, .cline .noimg { width: 62px; height: 76px; object-fit: cover; background: var(--surface-2); display: block; }
.cline b { font-family: var(--serif); font-size: 22px; font-weight: 500; display: block; line-height: 1.1; }
.cline .o { font-size: 12.5px; color: var(--ink-2); }
.cline .r { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.cline .p { font-weight: 600; font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cline .p.tbc { font-weight: 400; font-style: italic; color: var(--ink-3); font-size: 12.5px; }
.mini-qty { display: inline-flex; align-items: center; border: 1px solid var(--line); background: var(--surface); }
.mini-qty button { width: 28px; height: 28px; border: 0; background: none; cursor: pointer; }
.mini-qty span { min-width: 18px; text-align: center; font-size: 13px; font-weight: 700; }
.seg3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 12px; }
.seg3 button, .days button, .slots button { border: 1px solid var(--line); background: var(--surface); cursor: pointer; padding: 10px 4px; font-size: 13px; line-height: 1.25; text-align: center; transition: border-color .2s; color: var(--ink); }
.seg3 button small { display: block; color: var(--ink-3); font-size: 11px; }
.seg3 button:hover, .days button:hover, .slots button:hover { border-color: var(--ink-3); }
.seg3 button.on, .days button.on, .slots button.on { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.seg3 button.on small, .days button.on small { color: var(--gold-l); }
.days { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.days b { display: block; font-family: var(--serif); font-size: 26px; font-weight: 500; line-height: 1.1; }
.days small { color: var(--ink-3); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.slots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 8px; }
.sub-label { font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); margin: 16px 0 8px; }
.addr { font-size: 13px; color: var(--ink-2); background: var(--surface-2); padding: 10px 12px; }
.who { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line); padding: 12px 14px; font-size: 14px; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--gold); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 700; flex: none; }
.pay-opt { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); background: var(--surface); padding: 13px 14px; cursor: pointer; margin-bottom: 8px; font-size: 14px; }
.pay-opt.on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.pay-opt input { accent-color: var(--ink); margin: 0; }
.pay-opt .sub { margin-left: auto; color: var(--ink-3); font-size: 12px; text-align: right; }
.card-mark { width: 40px; height: 27px; border-radius: 4px; background: linear-gradient(135deg, #2b3a67, #485e9f); color: #fff; font-size: 9px; font-weight: 800; display: grid; place-items: center; letter-spacing: .04em; flex: none; }
.card-mark.mc { background: linear-gradient(135deg, #3b2f2a, #6d5547); }
.card-mark.amex { background: linear-gradient(135deg, #1b6b8a, #2c9ac4); }
.card-mark.none { background: var(--surface-2); color: var(--ink-2); font-size: 13px; }
.check { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); }
.note { font-size: 12px; color: var(--ink-3); margin-top: 8px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 18px 26px 22px; background: var(--surface); }
.drawer-foot:empty { display: none; }
.drawer-foot .t { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink-2); margin-bottom: 3px; }
.drawer-foot .t.big { color: var(--ink); font-family: var(--serif); font-size: 30px; margin: 8px 0 14px; align-items: baseline; }
.drawer-foot .t.big small { font-family: var(--sans); font-size: 12px; color: var(--ink-3); }
.drawer-foot .fine { margin: 10px 0 0; text-align: center; }
details summary { cursor: pointer; font-size: 13px; color: var(--ink-2); margin-top: 10px; }

.success { text-align: center; padding: 10px 0; }
.success .tick { width: 64px; height: 64px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; margin: 10px auto 18px; font-size: 28px; box-shadow: 0 0 0 6px var(--ok-soft); }
.success h3 { font-size: 46px; font-weight: 300; }
.success .recap { margin-top: 26px; }
.recap { text-align: left; background: var(--surface); border: 1px solid var(--line); padding: 14px 16px; font-size: 14px; margin: 20px 0; }
.recap div { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }

/* espace client */
.tabs { display: flex; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.tabs button { flex: 1; border: 0; background: none; padding: 12px 6px; cursor: pointer; font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs button.on { color: var(--ink); border-color: var(--gold); }
.demo-box { background: var(--brown); color: var(--cream); padding: 22px; margin-bottom: 22px; }
.demo-box p { margin: 0 0 14px; font-size: 14px; color: rgba(246,238,222,.8); }
.demo-box b { color: #fff; }
.sep { display: flex; align-items: center; gap: 12px; color: var(--ink-3); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; margin: 0 0 18px; }
.sep::before, .sep::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.profile { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.profile .avatar { width: 52px; height: 52px; font-size: 17px; }
.profile b { font-family: var(--serif); font-size: 26px; font-weight: 500; display: block; line-height: 1.1; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); margin-bottom: 20px; }
.stats div { padding: 12px 14px; }
.stats div + div { border-left: 1px solid var(--line); }
.stats b { display: block; font-family: var(--serif); font-size: 28px; font-weight: 500; line-height: 1.1; }
.stats span { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.ocard { background: var(--surface); border: 1px solid var(--line); padding: 16px; margin-bottom: 10px; }
.ocard .top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 4px; }
.ocard .top b { font-family: var(--serif); font-size: 22px; font-weight: 500; }
.ocard .thumbs { display: flex; gap: 6px; margin: 10px 0; }
.ocard .thumbs img { width: 40px; height: 48px; object-fit: cover; }
.ocard .items { font-size: 13px; color: var(--ink-2); margin-bottom: 12px; }
.ocard .bottom { display: flex; justify-content: space-between; align-items: center; }
.saved-card { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line); padding: 14px; margin-bottom: 8px; font-size: 14px; }
.saved-card .actions { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.tag { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; background: var(--accent-soft); color: var(--gold); padding: 3px 8px; font-weight: 700; }
.addcard { border: 1px dashed var(--ink-3); padding: 18px; margin-top: 14px; }

/* barre mobile */
.mbar { position: fixed; left: 14px; right: 14px; bottom: 14px; z-index: 50; display: none; }
.mbar .btn { width: 100%; justify-content: space-between; min-height: 56px; box-shadow: var(--shadow); }

@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .head nav { display: none; }
}
@media (max-width: 860px) {
  .month .grid2, .edito .grid2, footer .grid2, .news-grid, .article { grid-template-columns: 1fr; gap: 40px; }
  .article { gap: 0; }
  .article:nth-child(even) .ph { order: 0; }
  .article .ph { min-height: 300px; }
  .article .txt { padding: 30px 24px; }
  .pillars { grid-template-columns: 1fr; }
  .sheet { grid-template-columns: 1fr; top: auto; bottom: 0; left: 0; width: 100%; max-height: 92vh; transform: translateY(100%); opacity: 1; overflow-y: auto; }
  .sheet.open { transform: none; }
  .sheet .ph { aspect-ratio: 16 / 11; }
  .sheet .ph img { max-height: none; }
  .sheet .info { padding: 26px 20px 30px; overflow: visible; max-height: none; }
  .sheet h3 { font-size: 42px; }
  .mbar.on { display: block; }
  footer { padding-bottom: 100px; }
}
@media (max-width: 640px) {
  .head { height: 70px; } .head.solid { height: 64px; }
  .head .logo img, .head.solid .logo img { height: 40px; }
  .pill, .head .cta { display: none; }
  .hero .wrap { padding-bottom: 36px; }
  .scroll-cue { display: none; }
  .sec { padding: 80px 0; }
  .month { padding-top: 80px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card h4 { font-size: 22px; }
  .card .body { padding: 12px; }
  .card .t { font-size: 10px; letter-spacing: .12em; }
  .card .foot { flex-wrap: wrap; }
  .cats { top: 64px; gap: 6px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: -18px; margin-right: -18px; padding-left: 18px; padding-right: 18px; }
  .cat-btn { flex: none; }
  .slots { grid-template-columns: repeat(4, 1fr); }
  footer .info { grid-template-columns: 1fr; }
  .facts b { font-size: 20px; }
  .page-hero { padding-top: 130px; }
  .ncard .txt { padding: 22px 20px 24px; }
}

/* ---------- coins arrondis ---------- */
.cta, .cta i, .card .add, .month .tag, .ncard .lbl, .card .incart, .tag { border-radius: 999px; }
.sheet { border-radius: var(--radius-l); }
.card, .ncard, .article, .month .ph, .pillars, .facts, .stats, .demo-box { border-radius: var(--radius-l); overflow: hidden; }
.opt > span, .qty, .mini-qty, .seg3 button, .days button, .slots button, .addr, .who, .pay-opt, .recap, .ocard, .saved-card, .addcard, .toast, .err, .cline img, .cline .noimg { border-radius: var(--radius); }
.drawer { border-radius: var(--radius-l) 0 0 var(--radius-l); overflow: hidden; }
.drawer:not(.open) { box-shadow: none; }
@media (max-width: 860px) { .sheet { border-radius: var(--radius-l) var(--radius-l) 0 0; } }

/* ---------- pages légales ---------- */
.legal { max-width: 780px; }
.legal h2 { font-weight: 300; font-size: clamp(28px, 3.2vw, 38px); margin: 46px 0 12px; }
.legal p, .legal li { color: var(--ink-2); font-size: 16px; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 6px; }
.legal b { color: var(--ink); font-weight: 600; }
.legal a { color: var(--gold); }
.legal .maj { color: var(--ink-3); font-size: 13px; letter-spacing: .04em; }
.legal h2[id] { scroll-margin-top: 100px; }
.todo { background: var(--warn-soft); color: var(--warn); padding: 1px 7px; border-radius: 6px; font-size: .92em; }

/* ---------- bandeau cookies ---------- */
.consent { position: fixed; left: 24px; bottom: 24px; z-index: 120; width: min(440px, calc(100% - 32px)); background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: var(--shadow); padding: 22px 22px 20px; }
.consent h3 { font-size: 26px; margin-bottom: 8px; }
.consent p { margin: 0 0 8px; font-size: 14px; color: var(--ink-2); }
.consent a { color: var(--gold); }
.consent .row { display: flex; gap: 10px; margin-top: 14px; }
.consent .row .btn { flex: 1; }
@media (max-width: 860px) { .consent { left: 16px; bottom: 16px; } }

/* Espace client masqué pour le moment (bouton de l'en-tête + « Déjà client ? Se connecter ») : supprimer cette ligne pour le remettre */
#accountBtn, #loginLink { display: none; }

/* ---------- horaires : bouton Ouvert/Fermé + fenêtre calendrier ---------- */
button.pill { background: transparent; color: inherit; font-family: inherit; cursor: pointer; transition: background .3s; }
button.pill:hover { background: rgba(255,255,255,.14); }
.head.solid button.pill:hover { background: var(--surface-2); }
.hours-link { margin-top: 8px; padding: 0; border: 0; background: none; color: var(--gold-l); font: 600 12px var(--sans); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.hours-pop { position: fixed; z-index: 100; left: 50%; top: 50%; width: min(760px, calc(100% - 32px)); max-height: calc(100vh - 40px); overflow-y: auto; transform: translate(-50%, -46%); opacity: 0; pointer-events: none; transition: transform .45s var(--ease), opacity .35s; background: var(--bg); color: var(--ink); border-radius: var(--radius-l); box-shadow: 0 40px 80px -30px rgba(0,0,0,.5); }
.hours-pop.open { transform: translate(-50%, -50%); opacity: 1; pointer-events: auto; }
.hp-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 26px 28px 8px; }
.hp-head h3 { font-size: 36px; font-weight: 300; margin-top: 8px; }
.hp-body { display: grid; grid-template-columns: 1fr 1.35fr; gap: 28px; padding: 14px 28px 22px; }
.hp-week { list-style: none; margin: 0; padding: 0; }
.hp-week li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.hp-week li span:last-child { font-variant-numeric: tabular-nums; font-weight: 600; }
.hp-week li.off { color: var(--ink-3); }
.hp-week li.off span:last-child { font-weight: 400; }
.hp-week li.now span:first-child { font-weight: 700; color: var(--gold); }
.hp-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.hp-nav b { font-family: var(--serif); font-size: 22px; font-weight: 400; }
.hp-nav .icon-btn:disabled { opacity: .3; cursor: default; }
.hp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.hp-grid > span { text-align: center; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; color: var(--ink-3); padding-bottom: 4px; }
.hp-grid > div { min-height: 46px; border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 13px; color: var(--ink-3); }
.hp-grid > div small { font-size: 9.5px; letter-spacing: .02em; line-height: 1.2; }
.hp-grid > div.open { background: var(--ink); color: var(--cream); }
.hp-grid > div.open small { color: var(--gold-l); }
.hp-grid > div.shut { background: var(--danger-soft); color: var(--danger); }
.hp-grid > div.past { opacity: .35; }
.hp-grid > div.today { box-shadow: inset 0 0 0 2px var(--gold); }
.hp-legend { display: flex; gap: 16px; margin-top: 12px; font-size: 12px; color: var(--ink-2); }
.hp-legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.hp-legend .open::before { background: var(--ink); }
.hp-legend .shut::before { background: var(--danger-soft); box-shadow: inset 0 0 0 1px var(--danger); }
.hp-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 28px 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.hp-map { color: var(--ink-2); text-decoration: none; border-bottom: 1px solid var(--line); transition: color .2s, border-color .2s; }
.hp-map:hover { color: var(--gold); border-color: var(--gold); }
@media (max-width: 720px) {
  .hp-body { grid-template-columns: 1fr; }
  .hp-head, .hp-body, .hp-foot { padding-left: 18px; padding-right: 18px; }
  .hp-foot { flex-direction: column; align-items: stretch; text-align: center; }
}

/* ---------- menu ☰ (tablette, téléphone) ---------- */
.menu-btn { display: none; }
@media (max-width: 1100px) {
  .menu-btn { display: grid; }
  .head.menu-open nav { display: flex; flex-direction: column; gap: 0; position: absolute; top: calc(100% + 8px); left: 16px; right: 16px; margin: 0;
    background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: var(--shadow); padding: 6px 0; }
  .head.menu-open nav a { padding: 15px 22px; font-size: 13px; opacity: 1; }
  .head.menu-open nav a + a { border-top: 1px solid var(--line); }
  .head.menu-open nav a::after { display: none; }
}

/* Téléphone refusé et délai de commande (2026-11-04) */
.field-err { color: var(--danger); font-size: 13px; line-height: 1.35; }
.field-err:empty { display: none; }
.input.bad { border-color: var(--danger); box-shadow: 0 0 0 1px var(--danger); }
.lead-note { font-size: 12.5px; color: var(--ink-3); margin: -2px 0 10px; }
