/* Styles du modèle restaurant */
:root {
  /* À MODIFIER : couleurs de la marque */
  --primary: #0f766e;
  --primary-dark: #115e59;
  --accent: #facc15;
  --bg: #fffaf5;
  --text: #1c1917;
  --muted: #57534e;
  --card: #ffffff;
  --radius: 14px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.container { width: min(1080px, 92%); margin-inline: auto; }

/* En-tête */
header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 250, 245, .95); backdrop-filter: blur(6px);
  border-bottom: 1px solid #f1e7dc;
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: .8rem 0; gap: 1rem; }
.logo { font-weight: 800; font-size: 1.15rem; color: var(--primary); text-decoration: none; }
.nav-links { display: flex; gap: 1.1rem; font-size: .95rem; }
.nav-links a { text-decoration: none; color: var(--muted); }
.nav-links a:hover { color: var(--primary); }
@media (max-width: 640px) { .nav-links { display: none; } }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.3rem; border-radius: 999px; font-weight: 700;
  text-decoration: none; border: 2px solid transparent; transition: transform .15s;
}
.btn:active { transform: scale(.97); }
.btn-wa { background: #16a34a; color: #fff; }
.btn-wa:hover { background: #15803d; }
.btn-outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-sm { padding: .55rem 1rem; font-size: .9rem; }

/* Bannière */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff; padding: 4.5rem 0 4rem;
}
.hero .tag {
  display: inline-block; background: rgba(255,255,255,.15); padding: .3rem .8rem;
  border-radius: 999px; font-size: .85rem; margin-bottom: 1rem;
}
.hero h1 { font-size: clamp(2rem, 6vw, 3.2rem); line-height: 1.1; margin-bottom: .8rem; }
.hero p { font-size: 1.1rem; opacity: .92; max-width: 560px; margin-bottom: 1.6rem; }
.hero .actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero .btn-outline { border-color: #fff; color: #fff; }
.badges { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 2rem; font-size: .95rem; opacity: .95; }

/* Sections */
section { padding: 3.5rem 0; }
h2 { font-size: clamp(1.5rem, 4vw, 2rem); margin-bottom: .4rem; }
.sub { color: var(--muted); margin-bottom: 1.8rem; }

/* Menu */
.menu-cats { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.menu-cat { background: var(--card); border-radius: var(--radius); padding: 1.3rem; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.menu-cat h3 { color: var(--primary); margin-bottom: .8rem; font-size: 1.1rem; }
.item { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px dashed #eadfd3; }
.item:last-child { border-bottom: none; }
.item .name { font-weight: 600; }
.item .desc { display: block; font-weight: 400; color: var(--muted); font-size: .88rem; }
.item .price { font-weight: 700; white-space: nowrap; }

/* Galerie : remplacer les blocs par les vraies photos du client (format WebP, < 150 Ko) */
.gallery { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.photo {
  aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(135deg, #ccfbf1, #99f6e4);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary-dark); font-weight: 600; font-size: .9rem; text-align: center; padding: .5rem;
}
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* Infos pratiques */
.infos { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.info-card { background: var(--card); border-radius: var(--radius); padding: 1.3rem; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.info-card h3 { margin-bottom: .6rem; font-size: 1.05rem; }
.hours { list-style: none; }
.hours li { display: flex; justify-content: space-between; padding: .25rem 0; }
.open-now { display: inline-block; margin-top: .6rem; font-size: .85rem; font-weight: 700; padding: .2rem .6rem; border-radius: 999px; }
.open-now.yes { background: #dcfce7; color: #166534; }
.open-now.no { background: #fee2e2; color: #991b1b; }

/* Avis */
.reviews { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.review { background: var(--card); border-radius: var(--radius); padding: 1.2rem; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.stars { color: #f59e0b; margin-bottom: .4rem; }
.review cite { display: block; margin-top: .6rem; font-style: normal; font-weight: 600; color: var(--muted); font-size: .9rem; }

/* Appel à l'action final */
.cta { background: var(--text); color: #fff; text-align: center; border-radius: var(--radius); padding: 2.5rem 1.5rem; }
.cta p { opacity: .85; margin: .5rem 0 1.4rem; }

footer { padding: 2rem 0 6rem; text-align: center; color: var(--muted); font-size: .85rem; }
footer a { color: var(--muted); }

/* Bouton WhatsApp flottant (mobile) */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 20;
  width: 58px; height: 58px; border-radius: 50%; background: #16a34a; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.25); text-decoration: none;
}
.wa-float svg { width: 30px; height: 30px; }

/* Classes utilitaires (remplacent les styles en ligne, interdits par la politique de sécurité) */
.mt-sm { margin-top: .8rem; }
.row-actions { margin-top: .8rem; display: flex; gap: .5rem; flex-wrap: wrap; }
.credit { margin-top: .6rem; }

.notfound { padding: 5rem 0; text-align: center; }

.preview-bar { background: #111827; color: #fde68a; text-align: center; font-size: .85rem; font-weight: 600; padding: .45rem 1rem; }
