/* bé.wé — « Terrazzo & sauge » (BRAND.md fait foi) */
@font-face { font-family: "Gloock"; src: url(../fonts/gloock.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Outfit"; src: url(../fonts/outfit.woff2) format("woff2"); font-weight: 300 700; font-display: swap; }

:root {
  --blanc: #fafaf8;        /* les murs blancs */
  --sauge: #a7b598;        /* les tables vert sauge */
  --sauge-pale: #e6ebe0;
  --olive: #23301f;        /* encre */
  --olive-2: #56624f;
  --terra: #b8502f;        /* éclat de terrazzo : seule couleur d'action (blanc dessus 4,9:1) */
  --terra-press: #9c4125;
  --blush: #e9b7a3;        /* éclats décoratifs */
  --line: rgba(35,48,31,.14);
  --gut: clamp(16px, 4vw, 44px);
  --max: 1200px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --f-d: "Gloock", Georgia, serif;
  --f-t: "Outfit", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%; scroll-padding-top: 70px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--blanc); color: var(--olive); font: 400 17px/1.55 var(--f-t); overflow-x: clip; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h2 { font: 400 clamp(2.2rem, 7vw, 4.4rem)/1.02 var(--f-d); letter-spacing: -0.02em; }
.wrap { width: min(100% - 2 * var(--gut), var(--max)); margin-inline: auto; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--terra); color: #fff; padding: 12px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--terra); outline-offset: 3px; border-radius: 6px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 999px; font: 600 1rem/1 var(--f-t); text-decoration: none; border: 0; cursor: pointer; touch-action: manipulation; user-select: none; -webkit-user-select: none; transition: transform 140ms var(--ease-out), background-color 160ms ease, box-shadow 200ms ease; }
.btn:active { transform: scale(0.97); }
.btn-main { background: var(--terra); color: #fff; }
.btn-main:active { background: var(--terra-press); }
.btn-line { background: transparent; color: var(--olive); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: .95rem; }
.btn-full { width: 100%; }
@media (hover: hover) and (pointer: fine) { .btn-main:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -12px rgba(184,80,47,.7); } .btn-line:hover { box-shadow: inset 0 0 0 1.5px var(--olive); } }

/* En-tête */
.top { position: fixed; inset: 0 0 auto; z-index: 40; display: flex; align-items: center; gap: 18px; padding: calc(8px + env(safe-area-inset-top, 0px)) var(--gut) 8px; transition: background-color 240ms ease, box-shadow 240ms ease; }
.top.solid { background: rgba(250,250,248,.82); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%); box-shadow: 0 1px 0 var(--line); }
.logo { font: 400 1.9rem/1 var(--f-d); text-decoration: none; margin-right: auto; display: inline-flex; align-items: center; min-height: 44px; letter-spacing: -0.02em; }
.logo i { font-style: normal; color: var(--terra); }
.nav { display: none; gap: 28px; font-weight: 500; }
.nav a { text-decoration: none; padding: 12px 0; opacity: .8; }
@media (hover: hover) and (pointer: fine) { .nav a:hover { opacity: 1; } }
@media (min-width: 900px) { .nav { display: flex; } }
@media (max-width: 899px) { .top .btn { display: none; } }

/* 1. Héros */
.hero { position: relative; overflow: hidden; background: var(--blanc); }
.chips i { position: absolute; display: block; border-radius: 46% 54% 42% 58% / 52% 40% 60% 48%; opacity: .9; will-change: transform; }
.chips i:nth-child(1) { width: 34px; height: 22px; background: var(--terra); left: 8%; top: 18%; }
.chips i:nth-child(2) { width: 18px; height: 14px; background: var(--blush); left: 82%; top: 14%; }
.chips i:nth-child(3) { width: 44px; height: 30px; background: var(--sauge); left: 70%; top: 70%; }
.chips i:nth-child(4) { width: 14px; height: 12px; background: var(--olive); left: 22%; top: 62%; opacity: .5; }
.chips i:nth-child(5) { width: 26px; height: 18px; background: var(--blush); left: 48%; top: 8%; }
.chips i:nth-child(6) { width: 20px; height: 16px; background: var(--terra); left: 92%; top: 46%; opacity: .7; }
.chips i:nth-child(7) { width: 30px; height: 20px; background: var(--sauge); left: 4%; top: 84%; }
.chips i:nth-child(8) { width: 12px; height: 10px; background: var(--terra); left: 36%; top: 92%; }
.hero-in { position: relative; z-index: 1; min-height: 100svh; display: grid; grid-template-rows: auto 1fr; gap: 18px; padding: calc(70px + env(safe-area-inset-top, 0px)) var(--gut) calc(92px + env(safe-area-inset-bottom, 0px)); }
.kicker { font-weight: 600; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--olive-2); }
.name { display: block; font: 400 clamp(5rem, 30vw, 13rem)/.85 var(--f-d); letter-spacing: -0.05em; margin-top: 8px; }
.name i { font-style: normal; color: var(--terra); }
.sub { display: block; font: 400 clamp(1.1rem, 2.4vw, 1.5rem)/1.3 var(--f-t); margin-top: 10px; color: var(--olive-2); }
.fact { margin-top: 10px; font-size: .95rem; }
.fact b { font-family: var(--f-d); font-size: 1.2rem; color: var(--terra); font-weight: 400; }
.hero-btn { display: none; margin-top: 24px; }
.arch { margin: 0; justify-self: center; align-self: stretch; width: min(100%, 420px); min-height: 0; border-radius: 999px 999px 18px 18px; overflow: hidden; background: var(--sauge-pale); box-shadow: 0 30px 60px -40px rgba(35,48,31,.5); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .hero-in { grid-template-rows: 1fr; grid-template-columns: 1.15fr .85fr; align-items: center; padding-bottom: 48px; }
  .hero-btn { display: inline-flex; }
  .arch { height: min(78svh, 680px); width: 100%; }
}

/* 2. Un samedi (moment épinglé) */
.samedi { background: var(--sauge-pale); }
.samedi-pin { min-height: 100svh; display: grid; grid-template-rows: auto 1fr; gap: 16px; padding: 84px var(--gut) 92px; }
.clock { font: 400 clamp(3.4rem, 15vw, 7rem)/1 var(--f-d); color: var(--terra); margin-top: 6px; font-variant-numeric: tabular-nums; }
.beats { list-style: none; margin: 10px 0 0; padding: 0; position: relative; min-height: 4.8em; }
.beats li { position: absolute; inset: 0 0 auto; font-size: 1.08rem; max-width: 34ch; opacity: 0; }
.beats li:first-child { opacity: 1; }
.beats b { display: block; font-weight: 600; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--olive-2); }
.samedi-media { position: relative; border-radius: 22px; overflow: hidden; min-height: 280px; background: var(--sauge); }
.samedi-media figure { position: absolute; inset: 0; margin: 0; opacity: 0; }
.samedi-media figure:first-child { opacity: 1; }
.samedi-media img, .samedi-media video { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) { .samedi-pin { grid-template-rows: 1fr; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 56px; } .samedi-media { height: 78svh; } }
@media (prefers-reduced-motion: reduce) { .beats { min-height: 0; } .beats li { position: static; opacity: 1; margin-top: 10px; } .samedi-media figure:not(:first-child) { display: none; } }

/* 3. Réserver */
.resa { padding: 96px 0; }
.resa-wrap { display: grid; gap: 30px; }
.resa-head p { margin-top: 12px; color: var(--olive-2); max-width: 40ch; }
.resa-form { display: grid; gap: 20px; }
.field { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; min-width: 0; }
.field legend, .field > label { font-weight: 600; padding: 0; margin-bottom: 8px; }
.opt { font-weight: 400; color: var(--olive-2); }
input, textarea, select { font: 400 16px var(--f-t); color: var(--olive); width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; }
input:focus { outline: none; border-color: var(--terra); box-shadow: 0 0 0 4px rgba(184,80,47,.15); }
.row2 { display: grid; gap: 18px; align-items: end; }
@media (min-width: 560px) { .row2 { grid-template-columns: 1fr 1fr; } }
.days { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.days::-webkit-scrollbar { display: none; }
.chip { flex: 0 0 auto; min-width: 66px; min-height: 60px; padding: 8px 10px; border-radius: 16px; border: 1.5px solid var(--line); background: #fff; color: var(--olive); font: 500 .85rem/1.2 var(--f-t); text-align: center; cursor: pointer; touch-action: manipulation; user-select: none; transition: background-color 160ms ease, border-color 160ms ease, transform 140ms var(--ease-out); }
.chip b { display: block; font: 400 1.3rem var(--f-d); }
.chip:active { transform: scale(0.96); }
.chip[aria-checked="true"] { background: var(--olive); border-color: var(--olive); color: #fff; }
.chip.we:not([aria-checked="true"]) { background: var(--sauge-pale); }
.chip:disabled { opacity: .4; cursor: not-allowed; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.slots.services { grid-template-columns: 1fr 1fr; }
.slots .chip { min-height: 50px; min-width: 0; }
.slots .chip small { display: block; font-size: .8rem; opacity: .75; margin-top: 2px; }
.stepper { display: inline-grid; grid-template-columns: 50px 70px 50px; border: 1.5px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; width: max-content; }
.stepper button { border: 0; background: transparent; font-size: 1.4rem; color: var(--olive); cursor: pointer; min-height: 50px; }
.stepper input { border: 0; border-radius: 0; text-align: center; font-weight: 600; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button { display: none; }
.check { display: flex; gap: 10px; align-items: center; min-height: 50px; cursor: pointer; }
.check input { width: 22px; min-height: 22px; height: 22px; accent-color: var(--terra); }
.err { color: #a12c12; font-size: .88rem; }
.err:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-ok { padding: 16px; border-radius: 14px; background: var(--sauge-pale); font-weight: 600; }
@media (min-width: 900px) { .resa-wrap { grid-template-columns: .8fr 1.2fr; gap: 64px; } }

/* 4. La carte */
.carte { padding: 96px 0; background: #fff; }
.moment { margin-top: 16px; display: inline-flex; flex-wrap: wrap; gap: 8px; align-items: baseline; padding: 10px 14px; border-radius: 12px; background: var(--sauge-pale); }
.moment span { font-weight: 600; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--terra); }
.moment em { font-style: normal; color: var(--olive-2); }
.carte-grid { display: grid; gap: 22px; margin-top: 32px; }
.carte-grid article { display: grid; gap: 8px; }
.carte-grid img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; border-radius: 18px 18px 120px 18px; transition: transform 700ms var(--ease-out); }
.carte-grid article:nth-child(2) img { border-radius: 120px 18px 18px 18px; }
@media (hover: hover) and (pointer: fine) { .carte-grid article:hover img { transform: scale(1.02); } }
.carte-grid h3 { font: 400 1.7rem var(--f-d); margin-top: 8px; }
.carte-grid p { color: var(--olive-2); }
.note { margin-top: 26px; color: var(--olive-2); font-size: .95rem; }
@media (min-width: 760px) { .carte-grid { grid-template-columns: repeat(3, 1fr); } }

/* 5. Avis */
.avis { padding: 96px 0; background: var(--olive); color: var(--blanc); }
.avis-wrap { display: grid; gap: 36px; }
.avis h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
.avis .big { display: block; font-size: clamp(6rem, 26vw, 12rem); line-height: .9; color: var(--blush); }
.quotes { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
.quotes blockquote { margin: 0; font: 400 clamp(1.2rem, 2.6vw, 1.6rem)/1.35 var(--f-d); }
.quotes cite { display: block; margin-top: 8px; font-style: normal; opacity: .75; font-size: .92rem; }
@media (min-width: 900px) { .avis-wrap { grid-template-columns: .8fr 1.2fr; align-items: center; } }

/* 6. Venir */
.venir { padding: 96px 0 120px; }
.venir-wrap { display: grid; gap: 34px; }
.venir-photo { margin: 0; border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 10; }
.venir-photo img { width: 100%; height: 100%; object-fit: cover; }
.addr { font-size: clamp(2.2rem, 8vw, 4.6rem); }
.addr span { display: block; color: var(--terra); }
.hours { margin: 24px 0 0; }
.hours div { display: flex; justify-content: space-between; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.hours dt { font-weight: 600; } .hours dd { margin: 0; text-align: right; color: var(--olive-2); }
.venir-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
@media (min-width: 900px) { .venir-wrap { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 64px; } }

/* Pied */
.foot { padding: 48px 0 calc(110px + env(safe-area-inset-bottom, 0px)); background: var(--sauge-pale); font-size: .95rem; }
.foot .wrap { display: grid; gap: 8px; }
.foot .logo { font-size: 2.6rem; }
.foot a { text-underline-offset: 3px; display: inline-flex; align-items: center; min-height: 44px; }
.small { font-size: .88rem; color: var(--olive-2); }
@media (min-width: 900px) { .foot { padding-bottom: 48px; } }

/* Barre téléphone */
.phonebar { position: fixed; z-index: 45; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); display: grid; grid-template-columns: auto 1fr; gap: 8px; padding: 8px; border-radius: 999px; background: rgba(250,250,248,.86); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%); box-shadow: 0 12px 30px -14px rgba(35,48,31,.45), inset 0 0 0 1px var(--line); }
.phonebar a { min-height: 48px; display: grid; place-items: center; border-radius: 999px; text-decoration: none; font-weight: 600; touch-action: manipulation; user-select: none; }
.pb-call { padding: 0 20px; box-shadow: inset 0 0 0 1.5px var(--line); }
.pb-main { background: var(--terra); color: #fff; }
.phonebar a:active { transform: scale(0.97); }
@media (min-width: 900px) { .phonebar { display: none; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 1ms !important; transition-duration: 1ms !important; } }
