@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,600;1,9..144,400;1,9..144,500&family=Inter:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  --ivory: #faf6f0;
  --ivory-deep: #f2ece2;
  --espresso: #2e2a22;
  --espresso-soft: #5a5346;
  --sage: #a9c1a0;
  --sage-deep: #6e8563;
  --blush: #f0c9c4;
  --peach: #f3d8b4;
  --lavender: #dcd3ea;

  --peach-tint: #fbebd3;
  --peach-deep: #d9a25c;
  --sage-tint: #e4eee0;
  --blush-tint: #fbe7e4;
  --blush-deep: #d98f86;
  --lavender-tint: #efeaf6;
  --lavender-deep: #a896c4;

  --font-display: 'Fraunces', serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --radius-pill: 999px;
  --radius-card: 22px;
  --container: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--espresso);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

img, svg { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--sage-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-deep);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  margin: 0;
  color: var(--espresso);
}

h1 { font-size: clamp(2.6rem, 5.5vw, 4.6rem); font-weight: 300; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 400; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 500; }

p { line-height: 1.65; color: var(--espresso-soft); margin: 0; }

.italic { font-style: italic; }

/* ---------- Orbs (ambient decoration, ElevenLabs-inspired) ---------- */
.orb-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
}
.orb--sage { background: radial-gradient(circle, var(--sage), transparent 70%); }
.orb--blush { background: radial-gradient(circle, var(--blush), transparent 70%); }
.orb--peach { background: radial-gradient(circle, var(--peach), transparent 70%); }
.orb--lavender { background: radial-gradient(circle, var(--lavender), transparent 70%); }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 240, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(46, 42, 34, 0.08);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(20px, 5vw, 48px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.3rem;
}
.brand__mark { width: 26px; height: 26px; color: var(--sage-deep); }
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 32px);
  font-size: 0.92rem;
}
.nav__links a { transition: color 0.2s; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--sage-deep); }
.nav__cta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--espresso);
  color: var(--ivory);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  transition: transform 0.2s ease, background 0.2s ease;
}
.nav__cta:hover { background: var(--sage-deep); transform: translateY(-1px); }
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--espresso);
}

.lang-switch {
  display: flex;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
}
.lang-switch button {
  background: none;
  border: 1px solid rgba(46, 42, 34, 0.15);
  color: var(--espresso-soft);
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s;
}
.lang-switch button[aria-pressed="true"] {
  background: var(--sage);
  border-color: var(--sage);
  color: var(--espresso);
}

.day-toggle {
  display: flex;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
}
.day-toggle button {
  background: none;
  border: 1px solid rgba(46, 42, 34, 0.15);
  color: var(--espresso-soft);
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s;
}
.day-toggle button[aria-pressed="true"] {
  background: var(--sage);
  border-color: var(--sage);
  color: var(--espresso);
}

@media (max-width: 860px) {
  .nav__links { position: fixed; inset: 64px 16px auto 16px; flex-direction: column; align-items: flex-start; background: var(--ivory); border: 1px solid rgba(46,42,34,0.1); border-radius: var(--radius-card); padding: 20px; box-shadow: 0 20px 40px rgba(46,42,34,0.12); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: all 0.25s ease; }
  .nav__links.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav__toggle { display: block; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--espresso); color: var(--ivory); }
.btn--primary:hover { background: var(--sage-deep); transform: translateY(-2px); }
.btn--outline { border-color: var(--espresso); color: var(--espresso); }
.btn--outline:hover { background: var(--espresso); color: var(--ivory); }
.btn--sage { background: var(--sage); color: var(--espresso); }
.btn--sage:hover { background: var(--sage-deep); color: var(--ivory); }
.btn--ghost { color: var(--espresso-soft); border-color: rgba(46,42,34,0.15); }
.btn--ghost:hover { border-color: var(--espresso); color: var(--espresso); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none !important; }

/* ---------- Wavy divider (Roze-inspired) ---------- */
.wave-divider {
  width: 100%;
  height: 40px;
  color: var(--sage);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(48px, 10vw, 96px) 0 clamp(64px, 8vw, 100px);
  overflow: hidden;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(24px, 5vw, 60px);
  align-items: center;
}
.hero__copy p { max-width: 42ch; margin-top: 20px; font-size: 1.05rem; }
.hero__actions { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.hero__sprout {
  justify-self: center;
  width: min(100%, 340px);
}
@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__copy p { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
}

/* seed-to-sprout draw animation */
.sprout-path {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: draw 2.2s ease forwards 0.3s;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .sprout-path { stroke-dashoffset: 0; animation: none; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 9vw, 96px) 0; position: relative; }
.section--tinted { background: var(--ivory-deep); }
.section__head { max-width: 640px; margin-bottom: clamp(32px, 5vw, 56px); }
.section__head p { margin-top: 14px; font-size: 1.05rem; }

/* ---------- Cards / grid ---------- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .grid--3, .grid--2 { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border: 1px solid rgba(46,42,34,0.08);
  border-radius: var(--radius-card);
  padding: 32px;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(46,42,34,0.08); }
.card__icon { width: 40px; height: 40px; color: var(--sage-deep); margin-bottom: 18px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--espresso);
  color: var(--ivory);
  padding: clamp(48px, 8vw, 72px) 0 28px;
}
.footer__inner { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.footer h3 { color: var(--ivory); }
.footer__brand { font-family: var(--font-display); font-style: italic; font-size: 1.6rem; }
.footer a { color: rgba(250,246,240,0.75); transition: color 0.2s; }
.footer a:hover { color: var(--sage); }
.footer__col p, .footer__col a { display: block; margin-bottom: 8px; font-size: 0.92rem; }
.footer__bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(250,246,240,0.15); font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.05em; color: rgba(250,246,240,0.6); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
@media (max-width: 720px) { .footer__inner { grid-template-columns: 1fr; } }

/* ---------- Menu (la carte) ---------- */
.menu-group { margin-bottom: 52px; }
.menu-group__title { display: flex; align-items: baseline; gap: 14px; margin-bottom: 22px; }
.menu-group__title::after { content: ''; flex: 1; height: 1px; background: repeating-linear-gradient(90deg, rgba(46,42,34,0.25) 0 4px, transparent 4px 10px); }
.menu-item { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(46,42,34,0.08); }
.menu-item__name { font-weight: 500; }
.menu-item__desc { font-size: 0.88rem; color: var(--espresso-soft); margin-top: 4px; }
.menu-item__price { font-family: var(--font-mono); font-size: 0.95rem; white-space: nowrap; color: var(--sage-deep); }

/* ---------- Menu filter tabs ---------- */
.menu-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(28px, 4vw, 40px);
}
.menu-filter button {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(46, 42, 34, 0.15);
  background: #fff;
  color: var(--espresso-soft);
  cursor: pointer;
  transition: all 0.2s ease;
}
.menu-filter button:hover { border-color: var(--espresso); color: var(--espresso); }
.menu-filter button[aria-pressed="true"] {
  background: var(--espresso);
  color: var(--ivory);
  border-color: var(--espresso);
}

/* ---------- Dish grid (menu coloré, inspiré Roze) ---------- */
.dish-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 22px;
}
.dish-card {
  position: relative;
  border-radius: var(--radius-card);
  padding: 26px 24px;
  border: 1px solid rgba(46, 42, 34, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.dish-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(46, 42, 34, 0.12); }
.dish-card.is-hidden { display: none; }

.dish-card--coffee { background: var(--peach-tint); }
.dish-card--savory { background: var(--sage-tint); }
.dish-card--sweet { background: var(--blush-tint); }
.dish-card--pastry { background: var(--lavender-tint); }

.dish-card__icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: #fff;
}
.dish-card__icon-wrap svg { width: 22px; height: 22px; }
.dish-card--coffee .dish-card__icon-wrap { background: var(--peach-deep); }
.dish-card--savory .dish-card__icon-wrap { background: var(--sage-deep); }
.dish-card--sweet .dish-card__icon-wrap { background: var(--blush-deep); }
.dish-card--pastry .dish-card__icon-wrap { background: var(--lavender-deep); }

.dish-card__price {
  position: absolute;
  top: 22px;
  right: 20px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  background: var(--espresso);
  color: var(--ivory);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}
.dish-card__name {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.15rem;
  padding-right: 76px;
}
.dish-card__desc {
  margin-top: 10px;
  font-size: 0.88rem;
  color: var(--espresso-soft);
  line-height: 1.55;
}

/* ---------- Timeline (notre histoire) ---------- */
.timeline { position: relative; padding-left: 40px; border-left: 2px solid var(--sage); }
.timeline__item { position: relative; padding-bottom: 44px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: '';
  position: absolute;
  left: -47px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--sage-deep);
  box-shadow: 0 0 0 4px var(--ivory);
}
.timeline__year { font-family: var(--font-mono); font-size: 0.8rem; color: var(--sage-deep); letter-spacing: 0.05em; }

/* ---------- Click & collect ---------- */
.order-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 960px) { .order-layout { grid-template-columns: 1fr; } }

.order-category { margin-bottom: 44px; }
.order-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(46,42,34,0.08);
}
.order-item__price { font-family: var(--font-mono); font-size: 0.9rem; color: var(--sage-deep); }
.stepper { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); }
.stepper button {
  width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(46,42,34,0.2);
  background: #fff; cursor: pointer; font-size: 1rem; line-height: 1; color: var(--espresso);
}
.stepper button:hover { background: var(--sage); border-color: var(--sage); }
.stepper__count { min-width: 18px; text-align: center; }

.cart {
  position: sticky;
  top: 96px;
  background: #fff;
  border: 1px solid rgba(46,42,34,0.08);
  border-radius: var(--radius-card);
  padding: 28px;
}
.cart__empty { color: var(--espresso-soft); font-size: 0.92rem; }
.cart__line { display: flex; justify-content: space-between; font-size: 0.9rem; padding: 8px 0; border-bottom: 1px dashed rgba(46,42,34,0.12); }
.cart__total { display: flex; justify-content: space-between; margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(46,42,34,0.15); font-family: var(--font-mono); font-size: 1.05rem; }

.field { margin-bottom: 16px; }
.field label { display: block; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 6px; color: var(--espresso-soft); }
.field input, .field select {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(46,42,34,0.18);
  font-family: var(--font-body); font-size: 0.95rem; background: var(--ivory);
}
.field input:focus, .field select:focus { border-color: var(--sage-deep); outline: none; }

.slot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.slot { padding: 10px 6px; text-align: center; border-radius: 12px; border: 1px solid rgba(46,42,34,0.15); background: var(--ivory); font-family: var(--font-mono); font-size: 0.78rem; cursor: pointer; }
.slot[aria-pressed="true"] { background: var(--sage); border-color: var(--sage); font-weight: 500; }
.slot:disabled { opacity: 0.35; cursor: not-allowed; text-decoration: line-through; }

.confirmation {
  text-align: center;
  padding: 60px 24px;
  max-width: 520px;
  margin: 0 auto;
}
.confirmation__mark { width: 64px; height: 64px; color: var(--sage-deep); margin: 0 auto 24px; }
.confirmation__code { font-family: var(--font-mono); font-size: 1.3rem; letter-spacing: 0.08em; background: var(--sage); display: inline-block; padding: 10px 22px; border-radius: var(--radius-pill); margin: 18px 0; }

.stripe-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 12px 14px;
  background: var(--sage-tint);
  border-radius: 12px;
  font-size: 0.82rem;
  color: var(--espresso-soft);
}
.stripe-note svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--sage-deep); }

.order-notice {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.86rem;
  background: var(--peach-tint);
  color: var(--espresso-soft);
}
.order-notice--error { background: var(--blush-tint); }

.map-frame { border-radius: var(--radius-card); overflow: hidden; border: 1px solid rgba(46,42,34,0.1); }
.map-frame iframe { width: 100%; height: 340px; border: 0; display: block; }

/* ---------- Contact form ---------- */
.contact-card { background: #fff; border-radius: var(--radius-card); border: 1px solid rgba(46,42,34,0.08); padding: clamp(28px, 4vw, 44px); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
