/* Môt Chút — slow café & shop seconde-vie */

@font-face { font-family: "Figtree"; src: url("../fonts/figtree-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-bold-italic.woff2") format("woff2"); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Ubuntu"; src: url("../fonts/ubuntu-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Ubuntu"; src: url("../fonts/ubuntu-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Fredoka"; src: url("../fonts/fredoka-bold.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Chewy"; src: url("../fonts/chewy.woff2") format("woff2"); font-display: swap; }

:root {
  --cream: #f3eee2;
  --orange: #ed632d;
  --yellow: #ffde59;
  --butter: #fdda5d;
  --pale-yellow: #fff4c1;
  --brown: #6d411b;
  --dark-brown: #612916;
  --latte: #91531e;
  --ink: #304254;
  --menu-red: #c5421d;
  --menu-brown: #875f43;
  --menu-pink: #ffe5dd;

  --radius: 24px;
  --wrap: 1200px;
  --gutter: clamp(16px, 5vw, 64px);
  --text: clamp(1.0625rem, 0.85rem + 0.75vw, 1.58rem);
  --h1: clamp(3rem, 1.8rem + 5vw, 6rem);
  --h2: clamp(2rem, 1.3rem + 2.6vw, 3.5rem);
  --h3: clamp(1.75rem, 1.2rem + 1.8vw, 3rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  background: var(--cream);
  color: var(--orange);
  font-family: "Figtree", system-ui, sans-serif;
  font-size: var(--text);
  line-height: 1.2;
}
main { flex: 1; width: 100%; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul { margin: 0; }
p + p { margin-top: 1em; }
strong, b { font-weight: 700; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.rounded { border-radius: var(--radius); object-fit: cover; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--cream);
  border-bottom: 1px solid rgb(48 66 84 / 0.08);
}
.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px clamp(14px, 2.2vw, 32px);
  padding: 14px var(--gutter);
  list-style: none;
}
.site-nav a {
  color: var(--ink);
  font-size: 15px;
  text-decoration: none;
}
.site-nav a:hover { text-decoration: underline; }
.site-nav a[aria-current="page"] { font-weight: 700; }
@media (max-width: 600px) {
  .site-nav ul { justify-content: center; }
}
@media (max-width: 440px) {
  .site-nav ul { gap: 4px 11px; padding-inline: 8px; }
  .site-nav a { font-size: 13.5px; }
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--orange);
  color: var(--cream);
  margin-top: clamp(48px, 8vw, 96px);
}
.site-footer .wrap {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 24px clamp(24px, 4vw, 64px);
  padding-block: 32px;
}
.site-footer .logo { width: 160px; }
.site-footer .tagline { font-weight: 700; font-size: clamp(1rem, 0.9rem + 0.4vw, 1.3rem); line-height: 1.05; }
.site-footer h2 { font-size: 1.4rem; margin-bottom: 12px; }
.site-footer address { font-style: normal; font-size: 1.15rem; line-height: 1.05; }
.site-footer address a { text-decoration: none; }
.site-footer address a:hover { text-decoration: underline; }
.site-footer address p + p { margin-top: 0.8em; }
.socials { display: flex; gap: 12px; }
.socials svg { width: 40px; height: 40px; }
@media (max-width: 860px) {
  .site-footer .wrap { grid-template-columns: 1fr 1fr; text-align: left; }
  .site-footer .logo { width: 120px; }
}
@media (max-width: 520px) {
  .site-footer .wrap { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .socials { justify-content: center; }
}

/* ---------- shared blocks ---------- */
.section { padding-block: clamp(40px, 7vw, 88px); }
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
}
.split.reverse > :first-child { order: 2; }
.split > *, .calendar-body > *, .menu > *, .menu-grid > * { min-width: 0; }
@media (max-width: 760px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
}
.title-xl { font-size: var(--h1); line-height: 0.95; letter-spacing: -0.03em; font-weight: 700; }
.title-l { font-size: var(--h2); line-height: 1; letter-spacing: -0.03em; font-weight: 700; }
.title-m { font-size: var(--h3); line-height: 1.04; font-weight: 700; }
.title-l + *, .title-m + * { margin-top: 0.8em; }

/* ---------- accueil ---------- */
.hero { padding-top: 16px; text-align: center; }
.hero h1 img { width: min(100%, 1092px); margin-inline: auto; }
.hero-infos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-block: 12px 20px;
  font-weight: 700;
  font-size: clamp(1rem, 0.6rem + 1.4vw, 1.85rem);
  line-height: 1.05;
}
.hero-infos a { text-decoration: none; }
.hero-banner { width: 100%; aspect-ratio: 1278 / 397; object-fit: cover; border-radius: 16px; }
@media (max-width: 600px) {
  .hero-infos { grid-template-columns: 1fr; }
  .hero-banner { aspect-ratio: 4 / 3; }
}

.intro p { line-height: 1.2; }
.intro a { text-decoration: none; }
.intro a:hover { text-decoration: underline; }
.intro .title-m + p { margin-top: 1.4em; }

.badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 760px);
  margin-inline: auto;
}
.badge img { width: clamp(120px, 24vw, 352px); margin-right: calc(clamp(120px, 24vw, 352px) * -0.45); position: relative; z-index: 1; }
.badge p {
  flex: 1;
  background: var(--latte);
  color: var(--cream);
  border-radius: 20px;
  padding: clamp(20px, 4vw, 48px) 24px clamp(20px, 4vw, 48px) calc(clamp(120px, 24vw, 352px) * 0.5);
  font-weight: 700;
  font-size: clamp(1.4rem, 0.9rem + 1.8vw, 2.35rem);
  line-height: 1.05;
  text-align: center;
}

.espaces h2 { color: var(--brown); text-align: center; margin-bottom: clamp(24px, 4vw, 48px); }
.espace {
  display: grid;
  grid-template-columns: 296px 1fr;
  align-items: center;
  gap: 24px clamp(20px, 3vw, 40px);
  width: min(100%, 930px);
  padding: 24px;
  border-radius: var(--radius);
  background: var(--orange);
  color: var(--cream);
}
.espace + .espace { margin-top: 32px; margin-left: auto; }
.espace img { width: 100%; aspect-ratio: 296 / 346; border-radius: 16px; object-fit: cover; }
.espace h3 { color: var(--yellow); }
.espace.alt { grid-template-columns: 1fr 296px; background: var(--butter); color: var(--orange); text-align: right; }
.espace.alt h3 { color: var(--cream); }
.espace.alt img { order: 2; }
@media (max-width: 700px) {
  .espace, .espace.alt { grid-template-columns: 1fr; text-align: left; }
  .espace.alt img { order: 0; }
  .espace img { aspect-ratio: 4 / 3; }
}

/* ---------- à propos ---------- */
.apropos-intro .title-xl { margin-bottom: 0.3em; }
.apropos .title-l { font-style: italic; }
.apropos p { letter-spacing: -0.03em; }
.apropos .split img { width: 100%; max-width: 506px; aspect-ratio: 506 / 604; margin-inline: auto; }
.apropos-intro .split img { aspect-ratio: 506 / 495; }
.band {
  background: var(--orange);
  color: var(--cream);
}
.band .split { grid-template-columns: 264px 1fr; }
.band video { width: 100%; aspect-ratio: 263 / 425; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 760px) {
  .band .split { grid-template-columns: 1fr; }
  .band video { max-width: 264px; }
}
.insta { text-align: center; }
.insta .title-l { margin-bottom: 1em; }
.insta ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  list-style: none;
  padding: 0;
  color: var(--dark-brown);
}
.insta a { text-decoration: none; display: block; }
.insta h3 { font-style: italic; font-size: clamp(1.4rem, 1rem + 1.2vw, 2.1rem); }
.insta img { width: 100%; aspect-ratio: 356 / 260; margin-block: 12px; }
@media (max-width: 760px) {
  .insta ul { grid-template-columns: 1fr; max-width: 400px; margin-inline: auto; }
}

/* ---------- la carte ---------- */
.page-carte { background: #fdd85d; }
.page-carte .site-header { background: var(--cream); }
.menu {
  --text: 15px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  padding-block: clamp(32px, 6vw, 96px);
  color: var(--menu-brown);
  font-size: var(--text);
  letter-spacing: 0.08em;
}
.menu h1, .menu h2, .menu h3 { color: var(--menu-red); letter-spacing: 0; }
.menu h1 { font-size: 2rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 40px; }
.menu h1 small { font-size: 15px; font-weight: 400; letter-spacing: 0.1em; }
.menu-options { margin-top: 16px; line-height: 1.35; letter-spacing: 0; }
.menu-options b { color: var(--menu-red); }
.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 56px;
  margin-top: 56px;
}
.menu h2 { font-size: 1.45rem; margin-bottom: 16px; }
.menu dl { margin: 0; }
.menu-item {
  display: flex;
  align-items: baseline;
  gap: 6px;
  line-height: 1.35;
}
.menu-item dt { font-weight: 700; }
.menu-item dt span { font-weight: 400; }
.menu-item::after { content: none; }
.menu-item .dots { flex: 1; border-bottom: 2px dotted var(--yellow); transform: translateY(-4px); min-width: 16px; }
.menu-item dd { margin: 0; white-space: nowrap; }
.menu-item.sub { padding-left: 3em; }
.menu-supplements li { list-style: none; line-height: 1.35; }
.menu-supplements ul { padding: 0; }
.menu-supplements { position: relative; }
.menu-supplements img { width: 130px; position: absolute; right: -10px; top: -10px; }
.menu aside { display: flex; flex-direction: column; gap: 40px; padding-top: 72px; }
.snacks {
  background: var(--menu-pink);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.snacks h2 { font-size: 2.2rem; margin-bottom: 20px; }
.snacks h3 { font-size: 1.6rem; margin-bottom: 20px; }
.snacks .menu-item .dots { border-color: transparent; }
.snacks dd + dt, .snacks .snack + .snack { margin-top: 20px; }
.snack p { line-height: 1.35; }
.moment {
  border: 2px solid #f07a52;
  border-radius: 40px;
  padding: 20px 24px;
  font-family: "Ubuntu", sans-serif;
  letter-spacing: 0;
}
.moment h2 { font-family: inherit; font-size: 1.2rem; }
.moment > div { display: flex; align-items: center; gap: 24px; margin-top: 16px; }
.moment figure { margin: 0; flex: 0 0 120px; text-align: center; }
.moment figcaption { font-family: "Chewy", cursive; color: var(--menu-red); font-size: 1.9rem; margin-top: -42px; position: relative; }
.moment p { text-align: center; line-height: 1.35; }
.moment b { font-weight: 700; }
.menu-note { color: var(--menu-red); font-weight: 700; font-size: 1.2rem; letter-spacing: 0; }
@media (max-width: 960px) {
  .menu { grid-template-columns: 1fr; }
  .menu aside { padding-top: 0; }
}
@media (max-width: 600px) {
  .menu-grid { grid-template-columns: 1fr; }
}

/* ---------- agenda ---------- */
.calendar-band { background: var(--pale-yellow); padding-block: clamp(40px, 6vw, 72px); }
.calendar-title {
  font-family: "Fredoka", "Figtree", sans-serif;
  color: var(--orange);
  font-size: clamp(2.2rem, 1rem + 5vw, 5.5rem);
  text-align: center;
  text-transform: uppercase;
  line-height: 1;
}
.calendar-title::before, .calendar-title::after { content: "~"; margin-inline: 0.2em; font-weight: 400; }
.calendar-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 48px;
}
.calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px 4px;
  width: min(100%, 520px);
  margin-inline: auto;
  text-align: center;
  font-size: clamp(1.5rem, 1rem + 1.6vw, 2.6rem);
}
.calendar abbr { font-family: "Fredoka", sans-serif; text-decoration: none; font-size: 1.15em; }
.calendar time { display: grid; place-items: center; aspect-ratio: 1; border-radius: 50%; }
.calendar .event { box-shadow: inset 0 0 0 4px #f8c21b; }
.events-list { list-style: none; padding: 0; text-align: center; font-size: clamp(1.1rem, 0.8rem + 1vw, 1.9rem); line-height: 1.1; }
.events-list li + li { margin-top: 24px; }
.events-list a {
  display: inline-block;
  background: #f8c21b;
  color: #fff;
  font-weight: 700;
  font-size: 0.7em;
  padding: 1px 6px;
  overflow-wrap: anywhere;
  text-decoration: underline;
}
.events-note {
  display: inline-block;
  margin-top: 28px;
  background: var(--orange);
  color: var(--cream);
  font-weight: 700;
  font-style: italic;
  padding: 6px 12px;
  border-radius: 4px;
}
@media (max-width: 760px) {
  .calendar-body { grid-template-columns: 1fr; }
}

.upcoming h2 {
  font-family: "Fredoka", sans-serif;
  font-weight: 400;
  font-size: clamp(2.6rem, 1.6rem + 3.6vw, 4.5rem);
  text-align: center;
  margin-bottom: 40px;
}
.cards {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 40px;
  align-items: start;
  list-style: none;
  padding: 0;
}
.card {
  position: relative;
  background: var(--orange);
  color: var(--cream);
  padding: 32px 28px 28px;
  margin-top: 14px;
}
.card .date {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: #f6a76b;
  color: var(--cream);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 2px 8px;
  border-radius: 4px;
}
.card h3 { font-size: clamp(1.5rem, 1.2rem + 0.8vw, 1.9rem); line-height: 1.12; letter-spacing: -0.02em; margin-bottom: 20px; }
.card p { font-size: 1rem; line-height: 1.25; margin-top: 20px; }
.card img { width: 100%; }
.card a { text-decoration: none; display: block; }
@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
}

/* ---------- faq ---------- */
.faq .split { grid-template-columns: 1.4fr 1fr; align-items: start; }
.faq dl { margin: 1em 0 0; }
.faq dt { font-size: clamp(1.4rem, 1rem + 1.2vw, 2.1rem); font-weight: 700; text-transform: uppercase; line-height: 1.38; }
.faq dd { margin: 12px 0 36px; color: var(--dark-brown); letter-spacing: -0.03em; }
.faq dd a { font-weight: 700; }
.faq img { width: 100%; aspect-ratio: 469 / 963; object-fit: cover; }
@media (max-width: 760px) {
  .faq .split { grid-template-columns: 1fr; }
  .faq img { aspect-ratio: 4 / 5; }
}

/* ---------- contact ---------- */
.contact h1 {
  color: var(--brown);
  font-weight: 400;
  font-size: clamp(2rem, 1rem + 4vw, 3.8rem);
  letter-spacing: -0.03em;
  line-height: 1;
}
.contact p { margin-top: 1em; letter-spacing: -0.03em; }
.contact p a { font-weight: 700; }
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: min(100%, 994px);
  margin: 48px auto 0;
  list-style: none;
  padding: 0;
}
.gallery img { width: 100%; aspect-ratio: 316 / 475; }

.merci {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.merci img { width: clamp(140px, 18vw, 220px); margin-bottom: 24px; }
.merci .links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px; margin-top: 32px; }
.merci .links a {
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--orange);
  color: var(--cream);
  font-weight: 700;
  text-decoration: none;
}
.merci .links a:hover { background: #d4521f; }

.event-form {
  width: min(100%, 760px);
  margin: clamp(48px, 8vw, 96px) auto 0;
  padding: clamp(24px, 4vw, 48px);
  background: #fff8ec;
  border-radius: var(--radius);
  color: var(--dark-brown);
  font-size: 1.05rem;
}
.event-form h2 { color: var(--orange); font-size: var(--h3); line-height: 1; }
.event-form .form-intro { font-size: 1rem; line-height: 1.35; letter-spacing: 0; }
.event-form fieldset { border: 0; margin: 32px 0 0; padding: 0; min-width: 0; }
.event-form > fieldset > legend { color: var(--orange); font-weight: 700; font-size: 1.5rem; margin-bottom: 12px; padding: 0; }
.event-form .hint { margin: -4px 0 12px; font-style: italic; }
.event-form label { display: block; margin-top: 16px; font-weight: 700; line-height: 1.25; }
.event-form .optional { font-weight: 400; }
.event-form input:not([type="radio"]), .event-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  border: 2px solid #e8d9c2;
  border-radius: 12px;
  background: #fff;
  color: var(--dark-brown);
  font: inherit;
  font-weight: 400;
}
.event-form input:focus, .event-form textarea:focus { outline: none; border-color: var(--orange); }
.event-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.event-form .choices { margin-top: 24px; }
.event-form .choices legend { font-weight: 700; padding: 0; }
.event-form .choices label { display: flex; align-items: center; gap: 10px; margin-top: 8px; font-weight: 400; }
.event-form input[type="radio"] { accent-color: var(--orange); width: 20px; height: 20px; flex: none; margin: 0; }
.event-form button {
  margin-top: 32px;
  padding: 14px 28px;
  border: 0;
  border-radius: 999px;
  background: var(--orange);
  color: var(--cream);
  font: inherit;
  font-weight: 700;
  font-size: 1.2rem;
  cursor: pointer;
}
.event-form button:hover { background: #d4521f; }
@media (max-width: 600px) {
  .event-form .field-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .gallery { grid-template-columns: 1fr; max-width: 360px; }
}
