:root {
  --cream: #F4ECE1;
  --paper: #FBF6EF;
  --esp: #2B1B14;
  --terra: #C8553D;
  --latte: #D9B99B;
  --muted: rgba(43, 27, 20, .62);
  --line: rgba(43, 27, 20, .14);
  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.19, 1, .22, 1);
  --display: 'Young Serif', Georgia, serif;
  --body: 'Bricolage Grotesque', system-ui, sans-serif;
  --hand: 'Caveat', cursive;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { background: var(--cream); color: var(--esp); font-family: var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.kicker { font-size: 13px; font-weight: 600; color: var(--terra); }
.kicker::before { content: '● '; font-size: 9px; vertical-align: 2px; }
.title { font-family: var(--display); font-weight: 400; font-size: clamp(42px, 5.6vw, 88px); line-height: 1; letter-spacing: -.02em; margin-top: 12px; }
.title em { font-style: normal; color: var(--terra); }
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
[data-split] .w > span { display: inline-block; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 16px 28px; border-radius: 14px; background: var(--esp); color: var(--cream); font-weight: 600; font-size: 15px; box-shadow: 4px 4px 0 var(--terra); transition: transform .3s, box-shadow .3s; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--terra); }
.btn-small { padding: 10px 18px; font-size: 14px; box-shadow: 3px 3px 0 var(--terra); }

.header { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; justify-content: space-between; align-items: center; padding: 16px var(--gutter); background: rgba(244, 236, 225, .85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.logo { font-family: var(--display); font-size: 30px; letter-spacing: -.02em; }
.logo span { color: var(--terra); }
.nav { display: flex; gap: 28px; font-weight: 500; font-size: 15px; }

/* Hero */
.hero { min-height: 100svh; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 5vw; padding: 110px var(--gutter) 60px; }
.hero-title { font-family: var(--display); font-weight: 400; font-size: clamp(64px, 9vw, 150px); line-height: .95; letter-spacing: -.03em; margin-top: 16px; }
.hero-title .l { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .l > span { display: inline-block; }
.hero-title em { font-style: normal; color: var(--terra); }
.hero-lead { max-width: 42ch; margin-top: 22px; font-size: 18px; line-height: 1.6; color: var(--muted); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 30px; }
.open { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.open i { width: 10px; height: 10px; border-radius: 50%; background: #2E9E5B; box-shadow: 0 0 0 4px rgba(46, 158, 91, .2); }
.open.closed i { background: #B9A99A; box-shadow: none; }
.hero-visual { position: relative; }
.hero-img { border-radius: 26px; overflow: hidden; aspect-ratio: 4 / 5; transform: rotate(2deg); box-shadow: 0 30px 60px -30px rgba(43, 27, 20, .6); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.sticker { position: absolute; left: -50px; bottom: -30px; width: 150px; animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Tasse */
.cup-sec { height: 100svh; background: var(--paper); overflow: hidden; }
.cup-inner { height: 100%; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 4vw; padding: 90px var(--gutter) 40px; }
.layers { list-style: none; margin-top: 34px; display: grid; gap: 4px; }
.layers li { display: grid; gap: 4px; padding: 14px 0 14px 22px; border-left: 3px solid var(--line); opacity: .35; transition: opacity .5s, border-color .5s; }
.layers li.is-on { opacity: 1; border-color: var(--terra); }
.layers b { font-family: var(--display); font-weight: 400; font-size: 26px; }
.layers span { color: var(--muted); }
.cup { justify-self: center; width: min(100%, 420px); height: auto; overflow: visible; }
.steam path { opacity: 0; stroke-dasharray: 60 120; }

/* Menu */
.menu { padding: clamp(100px, 12vw, 160px) var(--gutter); }
.menu-head { text-align: center; }
.hint { margin-top: 12px; font-family: var(--hand); font-size: 26px; color: var(--terra); }
.table { position: relative; height: min(80svh, 720px); margin-top: 40px; border-radius: 30px; touch-action: none;
  background: radial-gradient(120% 90% at 30% 20%, #C99B73, #A87650 60%, #8D6141); box-shadow: inset 0 0 0 10px rgba(0, 0, 0, .05), 0 30px 60px -30px rgba(43, 27, 20, .5); overflow: hidden; }
.table::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .18;
  background: repeating-linear-gradient(90deg, rgba(0, 0, 0, .25) 0 1px, transparent 1px 90px), repeating-linear-gradient(3deg, rgba(255, 255, 255, .15) 0 2px, transparent 2px 14px); }
.polaroid { position: absolute; width: clamp(150px, 15vw, 220px); padding: 10px 10px 14px; background: #FFFDF8; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .45); cursor: grab; user-select: none; -webkit-user-select: none; will-change: transform; }
.polaroid.is-drag { cursor: grabbing; box-shadow: 0 30px 50px -14px rgba(0, 0, 0, .5); }
.polaroid img { width: 100%; aspect-ratio: 1; object-fit: cover; pointer-events: none; }
.polaroid p { margin-top: 8px; font-family: var(--hand); font-size: 24px; line-height: 1; text-align: center; }
.polaroid b { display: block; margin-top: 4px; font-family: var(--body); font-weight: 600; font-size: 14px; text-align: center; color: var(--terra); }
.menu-list { list-style: none; columns: 2; column-gap: 40px; max-width: 900px; margin: 40px auto 0; }
.menu-list li { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--line); break-inside: avoid; }
.menu-list li span:last-child { font-weight: 600; }

/* Affluence */
.busy { display: grid; grid-template-columns: 1fr 1.3fr; gap: 5vw; align-items: center; padding: clamp(80px, 10vw, 140px) var(--gutter); background: var(--esp); color: var(--cream); }
.busy .title em { color: var(--latte); }
.busy-now { margin-top: 22px; font-size: 18px; line-height: 1.6; color: rgba(244, 236, 225, .75); }
.busy-now b { color: var(--latte); }
.chart { padding: 26px; border-radius: 22px; background: rgba(244, 236, 225, .06); }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 240px; }
.bar { flex: 1; border-radius: 6px 6px 2px 2px; background: rgba(217, 185, 155, .45); transform-origin: bottom; position: relative; }
.bar.now { background: var(--terra); }
.bar.now::after { content: 'maintenant'; position: absolute; left: 50%; bottom: calc(100% + 8px); translate: -50% 0; font-size: 12px; font-weight: 600; white-space: nowrap; color: var(--terra); }
.hours { display: flex; gap: 6px; margin-top: 10px; font-size: 11px; color: rgba(244, 236, 225, .5); }
.hours span { flex: 1; text-align: center; }

/* Lieu */
.place { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 16px; align-items: stretch; padding: clamp(80px, 10vw, 140px) var(--gutter); }
.place figure { border-radius: 22px; overflow: hidden; }
.place img { width: 100%; height: 100%; object-fit: cover; min-height: 380px; }
.place-info { padding: 30px; border-radius: 22px; background: var(--paper); display: grid; align-content: center; gap: 14px; }
.place-info h3 { font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 1.1; }
.place-info p { color: var(--muted); line-height: 1.6; }

.pbc-loyalty { --pbc-bg: var(--paper); --pbc-fg: var(--esp); --pbc-muted: var(--muted); --pbc-line: var(--line); --pbc-title-font: var(--display); --pbc-body-font: var(--body); --pbc-accent: var(--esp); --pbc-accent-fg: var(--cream); }

.footer { padding: 70px var(--gutter) 24px; background: var(--terra); color: var(--cream); overflow: hidden; }
.footer-word { font-family: var(--display); font-size: 25vw; line-height: .85; text-align: center; letter-spacing: -.04em; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 20px; font-size: 13px; opacity: .8; }

@media (max-width: 900px) {
  .nav { display: none; }
  .hero, .cup-inner, .busy { grid-template-columns: 1fr; }
  .hero-visual { width: min(85%, 380px); justify-self: center; }
  .sticker { width: 110px; left: -30px; }
  .cup-sec { height: auto; }
  .cup { width: min(80%, 300px); }
  .table { display: none; }
  .menu-list { columns: 1; }
  .place { grid-template-columns: 1fr 1fr; }
  .place-info { grid-column: 1 / -1; }
  .place img { min-height: 220px; }
}
@media (min-width: 901px) { .menu-list { display: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
