/* ============================================================
   NATURA BELLA — feuille de style
   Vert forêt dominant · crème & terracotta en soutien · botanique
   ============================================================ */

:root {
  --vert-profond: #38493A;
  --vert:         #5E7355;
  --vert-clair:   #8BA078;
  --creme:        #F6F2E9;
  --sable:        #EAE2D0;
  --terre:        #C16B43;
  --terre-fonce:  #A4542F;
  --texte:        #2A2823;
  --gris:         #7C7568;
  --blanc:        #FCFAF5;
  --ombre:        0 10px 40px rgba(56,73,58,0.12);
  --r:            14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--creme);
  color: var(--texte);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.serif { font-family: 'Fraunces', Georgia, serif; }

/* ── Placeholder image (avant dépôt des photos) ── */
.img-ph {
  width: 100%;
  background:
    radial-gradient(circle at 30% 30%, rgba(139,160,120,0.35), transparent 60%),
    var(--vert);
  color: var(--creme);
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r);
  font-size: 0.8rem; letter-spacing: 0.04em;
  font-family: 'Inter', sans-serif;
  text-align: center; padding: 1rem;
  position: relative; overflow: hidden;
}
.img-ph span { opacity: 0.92; }
.img-ph::after {
  content: "🌿"; position: absolute; font-size: 3rem; opacity: 0.18;
  right: 12px; bottom: 4px;
}

/* ── NAV flottante ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(1rem, 4vw, 3rem); height: 70px;
  background: rgba(246,242,233,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(56,73,58,0.08);
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 4px 24px rgba(56,73,58,0.08); }
.nav-logo {
  font-family: 'Fraunces', serif; font-size: 1.4rem; font-weight: 600;
  color: var(--vert-profond); letter-spacing: 0.01em; text-decoration: none;
  display: flex; align-items: center; gap: 0.5rem;
}
.nav-logo .leaf { color: var(--vert); font-size: 1.1rem; }
.nav-links { display: flex; gap: 1.6rem; list-style: none; align-items: center; }
.nav-links a {
  text-decoration: none; font-size: 0.82rem; font-weight: 500;
  color: var(--texte); letter-spacing: 0.02em; opacity: 0.8;
  transition: opacity 0.2s, color 0.2s;
}
.nav-links a:hover, .nav-links a.actif { opacity: 1; color: var(--vert); }
.nav-cta {
  background: var(--vert-profond); color: var(--creme) !important;
  padding: 0.6rem 1.3rem; border-radius: 100px;
  font-size: 0.8rem !important; font-weight: 600 !important;
  text-decoration: none; opacity: 1 !important; transition: background 0.2s;
}
.nav-cta:hover { background: var(--vert); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; }
.hamburger span { width: 24px; height: 2px; background: var(--vert-profond); transition: 0.3s; }

/* ── Boutons ── */
.btn {
  display: inline-block; text-decoration: none; cursor: pointer; border: none;
  padding: 0.9rem 2rem; border-radius: 100px; font-size: 0.88rem; font-weight: 600;
  font-family: inherit; letter-spacing: 0.02em; transition: transform 0.15s, background 0.2s;
}
.btn-vert { background: var(--vert-profond); color: var(--creme); }
.btn-vert:hover { background: var(--vert); transform: translateY(-2px); }
.btn-terre { background: var(--terre); color: #fff; }
.btn-terre:hover { background: var(--terre-fonce); transform: translateY(-2px); }
.btn-ligne { border: 1.5px solid var(--vert-profond); color: var(--vert-profond); background: transparent; }
.btn-ligne:hover { background: var(--vert-profond); color: var(--creme); }

/* ── Sections ── */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) clamp(1rem, 4vw, 3rem); }
.wrap { max-width: 1120px; margin: 0 auto; }
.wrap-etroit { max-width: 760px; margin: 0 auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--terre); font-weight: 700; margin-bottom: 0.9rem;
}
.eyebrow::before { content: "—"; color: var(--vert-clair); }
h1.titre { font-family: 'Fraunces', serif; font-weight: 600; font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.05; color: var(--vert-profond); }
h2.titre { font-family: 'Fraunces', serif; font-weight: 600; font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.12; color: var(--vert-profond); }
.lead { font-size: 1.08rem; color: var(--gris); max-width: 600px; line-height: 1.75; }
.section-vert { background: var(--vert-profond); color: var(--creme); }
.section-vert h2.titre, .section-vert h1.titre { color: var(--creme); }
.section-vert .lead { color: rgba(246,242,233,0.78); }
.section-sable { background: var(--sable); }

/* feuillage séparateur */
.feuillage { display: block; margin: 0 auto; width: 90px; height: auto; color: var(--vert-clair); opacity: 0.8; }

/* ── HERO ── */
.hero { min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 2rem;
        padding: 100px clamp(1rem,4vw,3rem) 3rem; max-width: 1280px; margin: 0 auto; }
.hero-txt { max-width: 540px; }
.hero-txt h1 { margin: 0.4rem 0 1.2rem; }
.hero-txt h1 em { color: var(--terre); font-style: italic; }
.hero-btns { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-top: 2rem; }
.hero-media { position: relative; }
.hero-media img, .hero-media .img-ph { border-radius: 200px 200px 18px 18px; aspect-ratio: 3/4; object-fit: cover; box-shadow: var(--ombre); }
.stamp {
  position: absolute; bottom: -22px; left: -22px; width: 110px; height: 110px;
  background: var(--terre); color: var(--creme); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-family: 'Fraunces', serif; font-size: 0.72rem; line-height: 1.3; font-weight: 600;
  letter-spacing: 0.04em; transform: rotate(-8deg); box-shadow: var(--ombre);
}

/* ── Cartes / grilles ── */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.6rem; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; align-items: center; }
.carte-info { background: var(--blanc); border-radius: var(--r); padding: 1.8rem; box-shadow: var(--ombre); }
.carte-info .ico { font-size: 1.6rem; }
.carte-info h3 { font-family: 'Fraunces', serif; font-size: 1.2rem; color: var(--vert-profond); margin: 0.6rem 0 0.4rem; }
.carte-info p { font-size: 0.92rem; color: var(--gris); }

.media-card { border-radius: var(--r); overflow: hidden; box-shadow: var(--ombre); background: var(--blanc); }
.media-card img, .media-card .img-ph { aspect-ratio: 4/3; object-fit: cover; border-radius: 0; }
.media-card .body { padding: 1.2rem 1.4rem; }
.media-card h3 { font-family: 'Fraunces', serif; font-size: 1.1rem; color: var(--vert-profond); margin-bottom: 0.3rem; }
.media-card p { font-size: 0.88rem; color: var(--gris); }

/* ── MENU (carte rendue depuis JSON) ── */
.menu-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2.4rem; margin-top: 2.5rem; }
.menu-cat h3 { font-family: 'Fraunces', serif; font-size: 1.4rem; color: var(--terre); border-bottom: 2px solid var(--sable); padding-bottom: 0.5rem; margin-bottom: 1rem; }
.menu-item { padding: 0.7rem 0; border-bottom: 1px dotted rgba(56,73,58,0.18); }
.menu-item-top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.menu-item-nom { font-weight: 600; color: var(--texte); }
.menu-item-prix { font-weight: 700; color: var(--vert); white-space: nowrap; }
.menu-item-desc { font-size: 0.85rem; color: var(--gris); margin-top: 2px; }
.tag { display: inline-block; font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.08em;
       background: var(--vert-clair); color: #fff; padding: 1px 7px; border-radius: 100px; margin-right: 4px; margin-top: 4px; }

/* ── PLAT DU JOUR ── */
.plat-card { background: var(--blanc); border-radius: var(--r); box-shadow: var(--ombre); padding: 2.2rem; max-width: 620px; border-top: 5px solid var(--terre); }
.plat-date { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gris); margin-bottom: 1.4rem; }
.plat-ligne { display: flex; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px dashed rgba(56,73,58,0.18); }
.plat-ligne:last-of-type { border-bottom: none; }
.plat-tag { min-width: 70px; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--vert); font-weight: 700; padding-top: 3px; }
.plat-nom { font-family: 'Fraunces', serif; font-style: italic; font-size: 1.05rem; }
.plat-prix { margin-top: 1.4rem; display: inline-block; background: var(--vert-profond); color: var(--creme); padding: 0.5rem 1.3rem; border-radius: 100px; font-weight: 700; }

/* ── GALERIE ── */
.galerie { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin-top: 2.5rem; }
.galerie img, .galerie .img-ph { aspect-ratio: 1/1; object-fit: cover; border-radius: var(--r); transition: transform 0.3s; }
.galerie a:hover img { transform: scale(1.03); }

/* ── FAQ ── */
.faq-list { margin-top: 2.5rem; }
.faq-item { border-bottom: 1px solid rgba(56,73,58,0.14); }
.faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer;
         padding: 1.1rem 0; font-size: 1.02rem; font-weight: 600; color: var(--vert-profond);
         font-family: inherit; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq-q::after { content: "+"; font-size: 1.4rem; color: var(--terre); transition: transform 0.2s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; color: var(--gris); }
.faq-item.open .faq-a { max-height: 400px; }
.faq-a p { padding: 0 0 1.1rem; font-size: 0.94rem; }

/* ── FORMULAIRES ── */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; max-width: 620px; margin-top: 2rem; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gris); margin-bottom: 0.35rem; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.8rem 1rem; border: 1.5px solid rgba(56,73,58,0.2);
  border-radius: 10px; background: var(--blanc); font-family: inherit; font-size: 0.95rem; color: var(--texte);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--vert); }

/* ── Commande ── */
.cmd-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2.5rem; align-items: start; margin-top: 2rem; }
.plats-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.plat-btn { background: var(--blanc); border: 1.5px solid rgba(56,73,58,0.18); border-radius: 10px; padding: 0.7rem 0.9rem; cursor: pointer; text-align: left; transition: border-color 0.15s; }
.plat-btn:hover { border-color: var(--vert); }
.plat-btn strong { display: block; font-size: 0.85rem; color: var(--vert-profond); }
.plat-btn span { font-size: 0.78rem; color: var(--gris); }
.panier { background: var(--blanc); border-radius: var(--r); padding: 1.5rem; box-shadow: var(--ombre); position: sticky; top: 90px; }
.panier h3 { font-family: 'Fraunces', serif; color: var(--vert-profond); margin-bottom: 1rem; }
.panier-item { display: flex; justify-content: space-between; align-items: center; padding: 0.4rem 0; border-bottom: 1px dotted rgba(56,73,58,0.15); font-size: 0.88rem; }
.panier-item button { background: none; border: none; color: var(--terre); cursor: pointer; font-size: 1rem; }
.panier-total { display: flex; justify-content: space-between; font-weight: 700; color: var(--vert-profond); border-top: 2px solid var(--vert); padding-top: 0.8rem; margin-top: 0.5rem; }
.panier-empty { color: var(--gris); font-style: italic; font-size: 0.88rem; }

/* ── FOOTER ── */
footer { background: var(--vert-profond); color: rgba(246,242,233,0.85); padding: 3.5rem clamp(1rem,4vw,3rem) 2rem; }
.footer-grid { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
.footer-grid h4 { font-family: 'Fraunces', serif; color: var(--creme); margin-bottom: 0.9rem; font-size: 1.05rem; }
.footer-grid a { color: rgba(246,242,233,0.78); text-decoration: none; font-size: 0.9rem; display: block; padding: 0.2rem 0; }
.footer-grid a:hover { color: var(--vert-clair); }
.footer-logo { font-family: 'Fraunces', serif; font-size: 1.6rem; color: var(--creme); margin-bottom: 0.6rem; }
.footer-bas { max-width: 1120px; margin: 2.5rem auto 0; padding-top: 1.5rem; border-top: 1px solid rgba(246,242,233,0.15); font-size: 0.8rem; opacity: 0.7; text-align: center; }

/* ── Toast ── */
.toast { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 999; background: var(--vert); color: #fff;
         padding: 0.85rem 1.4rem; border-radius: 100px; font-size: 0.9rem; font-weight: 600;
         transform: translateY(150%); opacity: 0; transition: all 0.3s; box-shadow: var(--ombre); }
.toast.show { transform: translateY(0); opacity: 1; }
.toast.err { background: var(--terre); }

/* ── Page d'en-tête simple (pages internes) ── */
.page-head { padding: 130px clamp(1rem,4vw,3rem) 2rem; max-width: 1120px; margin: 0 auto; }

/* ── Responsive ── */
@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; text-align: left; }
  .hero-media { max-width: 360px; }
  .cmd-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .hamburger { display: flex; }
  .hamburger { display: flex; }
  .nav-links { display: none; position: fixed; top: 70px; left: 0; right: 0; flex-direction: column;
               background: var(--creme); padding: 1.5rem 2rem; gap: 1.2rem; box-shadow: var(--ombre); }
  .nav-links.open { display: flex; }
  .form-grid { grid-template-columns: 1fr; }
  .plats-pick { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stamp { width: 88px; height: 88px; font-size: 0.62rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto; } }

/* ============================================================
   Pastille « espace gérant » — site de démonstration
   ============================================================ */
.demo-pill{
  position: fixed; left: 16px; bottom: 16px; z-index: 900;
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .7rem 1.05rem; border-radius: 999px;
  background: var(--vert-profond); color: var(--creme);
  font-family: 'Inter', system-ui, sans-serif; font-size: .86rem; font-weight: 600;
  text-decoration: none; letter-spacing: .01em;
  box-shadow: 0 8px 26px rgba(56,73,58,.35);
  border: 1px solid rgba(246,242,233,.18);
  transition: transform .18s ease, background .18s ease;
}
.demo-pill:hover{ transform: translateY(-2px); background: var(--vert); }
.demo-pill span{ font-size: 1rem; line-height: 1; }
.demo-pill.actif{ background: var(--terre); box-shadow: 0 8px 26px rgba(193,107,67,.4); }
.demo-pill.actif:hover{ background: var(--terre-fonce); }
@media (max-width: 640px){
  .demo-pill{ left: 12px; bottom: 12px; font-size: .78rem; padding: .6rem .9rem; }
}
