/* ==========================================================
   01. IDENTITÉ MIAM!
   ========================================================== */

:root {
  --bg: #f7f5ef;
  --surface: #fff;
  --ink: #252722;
  --muted: #696c64;
  --line: #e3e6dc;
  --orange: #f6532f;
  --orange-dark: #cb3515;
  --orange-light: #fff0e7;
  --lilac: #e5dcff;
  --mint: #e3efda;
  --yellow: #fff0bd;
  --peach: #ffe4d4;
  --green: #28623b;
  --purple: #644091;
  --danger: #b9372c;
  --radius: 24px;
  --shadow: 0 12px 36px rgba(37,39,34,.06);
  --body-font: "DM Sans", system-ui, sans-serif;
  --display-font: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 105px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font: 16px/1.5 var(--body);
}

button, input, select, textarea { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; border: 0; color: inherit; }
button:disabled { cursor: not-allowed; opacity: .5; }
button, input, select { touch-action: manipulation; }
a { color: inherit; text-underline-offset: 3px; }
img { display: block; max-width: 100%; }
input, select { min-width: 0; }
h1, h2, h3, p { margin: 0; }

h1, h2, h3 {
  font-family: var(--display);
  line-height: 1.12;
  letter-spacing: -.04em;
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.7rem); letter-spacing: -.06em; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.4rem; }

:focus-visible {
  outline: 3px solid #8b68d4;
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: fixed;
  top: -80px;
  left: 15px;
  z-index: 10000;
  background: white;
  padding: 12px 20px;
  border-radius: 12px;
}

.skip:focus { top: 12px; }

.icon {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  vertical-align: middle;
}

.row { display: flex; align-items: center; gap: 12px; }
.between { justify-content: space-between; }
.grow { flex: 1; min-width: 0; }
.stack { display: grid; gap: 16px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 15px;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.3;
  transition: background .18s, transform .18s;
}

.btn:hover:not(:disabled) { transform: translateY(-1px); }
.btn-primary { color: white; background: var(--orange); }
.btn-primary:hover:not(:disabled) { background: var(--orange-dark); }
.btn-dark { color: white; background: var(--ink); }
.btn-soft { background: #eff1e9; }
.btn-outline { background: white; border: 1px solid var(--line); }
.btn-full { width: 100%; }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  background: #f0f2e9;
  flex: 0 0 auto;
}

.link-btn {
  min-height: 44px;
  padding: 7px 0;
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 600;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border-radius: 50px;
  font-size: .8125rem;
  font-weight: 700;
  line-height: 1.25;
}

.chip-open { color: var(--green); background: var(--mint); }
.chip-soon { color: #7a5310; background: var(--yellow); }
.chip-closed, .chip-unknown { color: #63675f; background: #eeefe9; }
.chip-purple { color: var(--purple); background: var(--lilac); }
.chip-sponsored { color: #943217; background: var(--orange-light); }

.status-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  flex: 0 0 auto;
}

.notice {
  padding: 14px 16px;
  border-radius: 14px;
  background: #f0f2e9;
  font-size: .875rem;
  line-height: 1.5;
}

.notice.warning { background: var(--yellow); color: #715116; }
.notice.success { background: var(--mint); color: var(--green); }

.error {
  margin-top: 10px;
  font-size: .875rem;
  color: var(--danger);
}

.error:empty { display: none; }


textarea { resize: vertical; min-width: 0; }
.btn-danger { background:#ffebe6;color:var(--danger); }
.chip-busy {background:var(--yellow);color:#775210;}
.chip-demo {background:var(--lilac);color:var(--purple);}
.chip-dot::before {content:"";width:7px;height:7px;flex:0 0 auto;border-radius:50%;background:currentColor;}
.skip-link {position:fixed;left:16px;top:-80px;z-index:10000;padding:12px 20px;background:white;border-radius:12px;}
.skip-link:focus {top:12px;}
@media (prefers-reduced-motion:reduce) {html{scroll-behavior:auto;} *,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;}}
