:root {
  --bg: #fbfaf5;
  --paper: #ffffff;
  --ink: #1f2a1d;
  --muted: #5f6b5c;
  --green: #79c66d;
  --green-dark: #2f6b2a;
  --green-soft: #e8f5e4;
  --line: #e4e9df;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}
h1, h2, h3 { font-family: "Bricolage Grotesque", system-ui, sans-serif; line-height: 1.1; }
a { color: var(--green-dark); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* En-tête */
header.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(251, 250, 245, .92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 46px; height: 46px; }
.brand span { font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 1.25rem; }
nav ul { display: flex; gap: 24px; list-style: none; }
nav a { text-decoration: none; color: var(--muted); font-weight: 500; }
nav a:hover { color: var(--green-dark); }

/* Accueil */
/* Photo affichée en entier, sans recadrage ; limitée à 1280 px car l'original fait 1023 px de large */
.hero-photo { background: var(--green-dark); }
.hero-photo img { width: 100%; max-width: 1280px; margin: 0 auto; }
.hero { padding: 56px 0 64px; color: #fff; background: var(--green-dark); }
.hero .wrap { width: 100%; }
.hero-text { max-width: 620px; }
.badge {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: var(--green); color: var(--ink);
  font-size: .85rem; font-weight: 600; margin-bottom: 20px;
}
.hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 800; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--green); }
.hero .slogan {
  font-family: "Bricolage Grotesque", sans-serif; font-weight: 600;
  font-size: clamp(1.25rem, 2.6vw, 1.6rem); color: #cdeec5;
  margin: -4px 0 18px; max-width: none;
}
.hero p { color: #e6efe3; font-size: 1.1rem; max-width: 46ch; margin-bottom: 28px; }
.hero .btn { background: var(--green); color: var(--ink); }
.hero .btn:hover { background: #8fd383; }
.hero .btn.ghost { background: transparent; color: #fff; border-color: #fff; }
.hero .btn.ghost:hover { background: rgba(255, 255, 255, .12); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; font-weight: 600; text-decoration: none;
  background: var(--green-dark); color: #fff; transition: transform .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); background: #24561f; }
.btn.ghost { background: transparent; color: var(--green-dark); border: 2px solid var(--green); }
.btn.ghost:hover { background: var(--green-soft); }

/* Sections */
section { padding: 72px 0; }
.title { margin-bottom: 36px; }
.title h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; margin-bottom: 8px; }
.title p { color: var(--muted); }

/* Plat de la semaine */
.menu { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.menu-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: start; }
.upcoming { list-style: none; }
.upcoming li {
  display: flex; justify-content: space-between; gap: 12px; align-items: baseline;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.upcoming .d { color: var(--muted); font-size: .9rem; white-space: nowrap; }
.upcoming .n { font-weight: 600; flex: 1; }
.upcoming .p { font-weight: 600; color: var(--green-dark); white-space: nowrap; }

/* Emplacements */
.days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.day {
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 22px 18px;
}
.day.today { border: 2px solid var(--green); box-shadow: 0 12px 30px -20px rgba(47, 107, 42, .6); }
.day h3 { font-size: 1.1rem; font-weight: 800; color: var(--green-dark); margin-bottom: 4px; }
.day .h { font-size: .85rem; color: var(--muted); margin-bottom: 12px; }
.day .place { font-weight: 600; margin-bottom: 8px; line-height: 1.35; }
.day .tpg { font-size: .85rem; color: var(--muted); }

/* Infos */
.infos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.info { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 26px 24px; }
.info h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 12px; }
.info p, .info li { color: var(--muted); }
.info ol { padding-left: 1.2em; }
.info strong { color: var(--ink); }

/* WhatsApp / contact */
.cta {
  background: var(--ink); color: #fff; border-radius: 28px; padding: 48px 36px;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 36px; align-items: center;
}
.cta h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 800; margin-bottom: 12px; }
.cta p { color: #c9d3c6; margin-bottom: 14px; }
.cta .btn { background: var(--green); color: var(--ink); }
.cta .btn:hover { background: #8fd383; }
.cta .btn.ghost { background: transparent; color: #fff; border-color: var(--green); }
.cta .btn.ghost:hover { background: rgba(121, 198, 109, .15); }
.video { aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #000; }
.video iframe { width: 100%; height: 100%; border: 0; }

nav a[aria-current="page"] { color: var(--green-dark); font-weight: 600; }

/* Pages intérieures */
.page-hero { background: var(--green-dark); color: #fff; padding: 64px 0 56px; }
.page-hero .badge { margin-bottom: 16px; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; margin-bottom: 14px; max-width: 20ch; }
.page-hero p { color: #e3f1df; font-size: 1.1rem; max-width: 60ch; }
.banner { margin-top: -28px; }
.banner img { width: 100%; border-radius: 20px; box-shadow: 0 24px 50px -30px rgba(31, 42, 29, .55); }

.prose { max-width: 72ch; }
.prose p { margin-bottom: 16px; color: #3c4739; font-size: 1.05rem; }
.prose h2 { font-size: clamp(1.6rem, 3.5vw, 2.1rem); font-weight: 800; margin: 8px 0 16px; }
.prose ul { padding-left: 1.2em; margin-bottom: 16px; color: #3c4739; }
.prose li { margin-bottom: 6px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 26px 24px; }
.card h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 10px; }
.card p, .card li { color: var(--muted); }
.card ul { padding-left: 1.1em; }
.card li { margin-bottom: 6px; }
.card strong { color: var(--ink); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.chips li { background: var(--green-soft); color: var(--green-dark); font-weight: 600; padding: 8px 16px; border-radius: 999px; }

.step { position: relative; padding-top: 30px; }
.step .num {
  position: absolute; top: -18px; left: 24px; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: var(--green); color: var(--ink);
  font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 1.2rem;
}
.step .tag { display: block; color: var(--green-dark); font-weight: 700; margin-bottom: 10px; }

/* Bloc e-mail (à la place d'un formulaire) */
.contact-box {
  background: var(--ink); color: #fff; border-radius: 28px; padding: 44px 36px;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center;
}
.contact-box h2 { font-size: clamp(1.7rem, 4vw, 2.3rem); font-weight: 800; margin-bottom: 10px; }
.contact-box p { color: #c9d3c6; }
.contact-lines { list-style: none; display: grid; gap: 14px; }
.contact-lines li { background: rgba(255, 255, 255, .06); border-radius: 14px; padding: 14px 18px; }
.contact-lines small { display: block; color: #a9b8a5; font-size: .8rem; margin-bottom: 2px; }
.contact-lines a { color: #fff; font-weight: 600; font-size: 1.1rem; text-decoration: none; word-break: break-word; }
.contact-lines a:hover { color: var(--green); }

footer { padding: 40px 0 48px; color: var(--muted); font-size: .9rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }
footer ul { display: flex; flex-wrap: wrap; gap: 18px; list-style: none; }
footer a { color: var(--muted); }

@media (max-width: 900px) {
  .days { grid-template-columns: repeat(2, 1fr); }
  .infos, .cards, .cards.four { grid-template-columns: 1fr; }
  .cards.four { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  /* Le menu passe sur une seconde ligne, défilable si besoin */
  header.top .wrap { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 6px; row-gap: 4px; }
  nav { width: 100%; overflow-x: auto; }
  nav ul { gap: 16px; padding-bottom: 6px; }
  nav a { white-space: nowrap; font-size: .95rem; }
  .cards.two, .cards.four, .contact-box { grid-template-columns: 1fr; }
  .contact-box { padding: 32px 22px; }
  .page-hero { padding: 44px 0 48px; }
  .banner { margin-top: -20px; }
  .hero { padding: 36px 0 48px; }
  .menu-grid, .cta { grid-template-columns: 1fr; }
  .cta { padding: 36px 24px; }
  section { padding: 56px 0; }
  .days { grid-template-columns: 1fr; }
}

/* Badge de note Google (chiffres mis à jour à la main) */
.rating-badge {
  display: inline-flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 20px 26px;
  box-shadow: 0 14px 30px -22px rgba(31, 42, 29, .45); transition: transform .2s, box-shadow .2s;
}
.rating-badge:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -22px rgba(31, 42, 29, .55); }
.rating-source { font-size: .85rem; font-weight: 600; color: var(--muted); }
.rating-main { display: flex; align-items: center; gap: 12px; }
.rating-score { font-family: "Bricolage Grotesque", sans-serif; font-size: 2.6rem; font-weight: 800; line-height: 1; }
/* Étoiles remplies au prorata de la note : 4,7 / 5 = 94 % */
.rating-stars {
  font-size: 1.7rem; letter-spacing: 0; line-height: 1;
  background: linear-gradient(90deg, #f4b400 calc(var(--rating) / 5 * 100%), #d9ddd5 0);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.rating-count { font-size: .95rem; color: var(--green-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Programme et fiches des plats */
.menu-sub { font-size: 1.15rem; font-weight: 800; color: var(--green-dark); margin-bottom: 8px; }
.upcoming li.now { background: var(--green-dark); color: #fff; border-radius: 12px; padding: 14px 12px; border-bottom-color: transparent; }
.upcoming li.now .d { color: #bfe0b8; }
.upcoming li.now .p { color: #cdeec5; }
.upcoming em { font-style: normal; font-size: .75rem; font-weight: 600; background: var(--green); color: var(--ink); padding: 2px 8px; border-radius: 999px; margin-left: 6px; white-space: nowrap; }
.dishes { display: grid; gap: 14px; }
.dish { border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; background: var(--bg); }
.dish.now { background: var(--green-dark); border-color: var(--green-dark); color: #fff; }
.dish h4 { font-family: "Bricolage Grotesque", sans-serif; font-size: 1.2rem; font-weight: 800; margin-bottom: 6px; }
.dish p { color: var(--muted); font-size: .95rem; }
.dish .allergens { margin-top: 8px; font-size: .85rem; }
.dish.now p { color: #e3f1df; }
.dish.now .allergens { color: #bfe0b8; }
.dish .when { display: inline-block; background: var(--green); color: var(--ink); font-weight: 600; font-size: .8rem; padding: 3px 10px; border-radius: 999px; margin-bottom: 10px; }
.dish-price { font-family: "Inter", sans-serif; font-size: .9rem; font-weight: 600; color: var(--green-dark); white-space: nowrap; margin-left: 4px; }
.dish.now .dish-price { color: #cdeec5; }
.menu-note { margin-top: 14px; font-size: .9rem; color: var(--muted); }
.menu-note + .menu-note { margin-top: 6px; }
.menu-note strong { color: var(--ink); }
.group-box { margin-top: 26px; padding: 20px 22px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(121, 198, 109, .35); }
.group-box h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 6px; }
.group-box p { margin-bottom: 14px; }
