/* ==========================================================================
   Maison Godon — feuille de style du site public
   Charte : violet #382d5e · rouge #c84d4d · saumon #e27f7b · Poppins
   ========================================================================== */

:root {
  --violet: #382d5e;
  --violet-700: #2c2350;
  --violet-900: #1e1838;
  --violet-300: #8c80b8;
  --violet-100: #ece9f5;
  --violet-50: #f6f4fa;
  --red: #c84d4d;
  --red-700: #a93b3b;
  --salmon: #e27f7b;
  --salmon-100: #fcebe9;
  --cream: #fbf8f4;
  --paper: #ffffff;
  --ink: #1f1a33;
  --muted: #6b6581;
  --line: #e6e1ee;
  --success: #1f7a4a;
  --success-bg: #e6f5ec;
  --warning: #8a5a00;
  --warning-bg: #fff3d6;
  --danger: #b42318;
  --danger-bg: #fdecea;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(30, 24, 56, .06);
  --shadow: 0 12px 32px rgba(30, 24, 56, .09);
  --shadow-lg: 0 24px 60px rgba(30, 24, 56, .14);
  --container: 1180px;
  --header-h: 84px;
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--violet); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; color: var(--violet-900); letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
svg .fill, svg.fill { fill: currentColor; stroke: none; }
:focus-visible { outline: 3px solid var(--salmon); outline-offset: 2px; border-radius: 4px; }
/* L'attribut hidden doit toujours masquer, même si une classe impose un display */
[hidden] { display: none !important; }

.container { width: min(var(--container), 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-alt { background: var(--paper); }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--paper); padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red); margin-bottom: 12px;
}
.kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; }
.section-head.center .kicker::after { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ---------- Boutons ---------- */
.btn {
  --bg: var(--violet); --fg: #fff; --bd: var(--violet);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px;
  font: 600 .95rem/1 var(--font);
  color: var(--fg); background: var(--bg); border: 2px solid var(--bd);
  border-radius: 999px; cursor: pointer; text-decoration: none;
  transition: transform .15s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease, color .2s;
}
.btn:hover { color: var(--fg); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(30, 24, 56, .16); }
.btn:active { transform: none; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.btn-primary:hover { --bg: var(--violet-700); --bd: var(--violet-700); }
.btn-accent { --bg: var(--red); --bd: var(--red); }
.btn-accent:hover { --bg: var(--red-700); --bd: var(--red-700); }
.btn-ghost { --bg: transparent; --fg: var(--violet); --bd: var(--violet-100); }
.btn-ghost:hover { --bd: var(--violet); box-shadow: none; }
.btn-light { --bg: #fff; --fg: var(--violet); --bd: #fff; }
.btn-outline-light { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.55); }
.btn-outline-light:hover { --bg: rgba(255,255,255,.12); --bd: #fff; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: .875rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--violet);
  box-shadow: 0 6px 24px rgba(30, 24, 56, .18);
}
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; flex-shrink: 0; }
.brand:hover { color: #fff; }
.brand img { width: 60px; height: 60px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255,255,255,.18); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1.15rem; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; }
.brand-text small { font-size: .78rem; color: var(--salmon); letter-spacing: .08em; text-transform: uppercase; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; list-style: none; }
.main-nav a {
  display: block; padding: 10px 16px; border-radius: 999px;
  color: rgba(255,255,255,.86); font-weight: 500; font-size: .95rem; text-decoration: none;
  transition: background-color .2s, color .2s;
}
.main-nav a:hover { color: #fff; background: rgba(255,255,255,.1); }
.main-nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.14); }

.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  color: #fff; background: rgba(255,255,255,.08); transition: background-color .2s;
}
.icon-btn:hover { color: #fff; background: rgba(255,255,255,.18); }
.icon-btn svg { width: 22px; height: 22px; }
.header-cta { margin-left: 6px; }

.burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.08); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s, opacity .2s, top .3s; }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  background: var(--violet-900); color: #fff; overflow-y: auto;
  padding: 16px 16px calc(24px + env(safe-area-inset-bottom));
  animation: slideDown .25s ease;
}
.mobile-nav ul { list-style: none; display: grid; gap: 4px; }
.mobile-nav a:not(.btn) { display: block; padding: 14px 16px; color: #fff; text-decoration: none; font-size: 1.1rem; font-weight: 600; border-radius: var(--radius-sm); }
.mobile-nav a:not(.btn):hover, .mobile-nav a[aria-current="page"] { background: rgba(255,255,255,.08); }
.mobile-nav-foot { display: grid; gap: 10px; margin-top: 24px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); }
.mobile-nav .btn-ghost { --fg: #fff; --bd: rgba(255,255,255,.3); }
.mobile-nav .mobile-phone { text-align: center; color: var(--salmon) !important; font-size: 1rem !important; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-8px); } }
body.nav-open { overflow: hidden; }

@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .main-nav, .header-cta { display: none; }
  .burger { display: inline-block; }
  .header-actions { margin-left: auto; }
  .brand img { width: 50px; height: 50px; }
}
@media (max-width: 420px) {
  .brand-text small { display: none; }
  .brand-text strong { font-size: 1rem; }
}

/* ---------- Messages ---------- */
.flash-stack { padding-top: 20px; display: grid; gap: 10px; }
.alert { padding: 14px 18px; border-radius: var(--radius-sm); font-weight: 500; border: 1px solid transparent; }
.alert ul { margin: 0; padding-left: 18px; }
.alert-success { background: var(--success-bg); color: var(--success); border-color: #bfe3cd; }
.alert-error { background: var(--danger-bg); color: var(--danger); border-color: #f6c8c3; }
.alert-info { background: var(--violet-100); color: var(--violet); border-color: #d9d3ea; }

/* ---------- Hero accueil ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: var(--violet-900);
  min-height: min(78vh, 680px);
  display: grid;
}
.hero-slide {
  grid-area: 1 / 1; display: flex; align-items: center;
  opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s;
}
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 7s ease; }
.hero-slide.is-active .hero-bg img { transform: scale(1); }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(30, 24, 56, .92) 0%, rgba(56, 45, 94, .75) 45%, rgba(56, 45, 94, .25) 100%);
}
.hero-default .hero-bg {
  background:
    radial-gradient(circle at 85% 20%, rgba(226, 127, 123, .35), transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(200, 77, 77, .25), transparent 45%),
    linear-gradient(135deg, var(--violet-900), var(--violet));
}
.hero-default .hero-bg::after { display: none; }
.hero-content { position: relative; z-index: 1; padding: 80px 0 110px; max-width: 640px; }
.hero-content .kicker { color: var(--salmon); }
.hero h1, .hero h2 { color: #fff; font-size: clamp(2.2rem, 5.5vw, 3.8rem); margin-bottom: 18px; }
.hero p { font-size: clamp(1rem, 1.6vw, 1.2rem); color: rgba(255,255,255,.86); max-width: 540px; margin-bottom: 30px; }
.hero-logo {
  position: absolute; right: max(16px, calc((100% - var(--container)) / 2)); top: 50%;
  width: clamp(220px, 30vw, 380px); transform: translateY(-50%); border-radius: 50%;
  box-shadow: 0 30px 80px rgba(0,0,0,.35), 0 0 0 10px rgba(255,255,255,.06);
}
.hero-controls { position: absolute; z-index: 3; left: 0; right: 0; bottom: 28px; }
.hero-controls .container { display: flex; align-items: center; justify-content: space-between; }
.hero-dots { display: flex; gap: 8px; }
.hero-dots button { width: 34px; height: 4px; padding: 0; border: 0; border-radius: 4px; background: rgba(255,255,255,.35); cursor: pointer; transition: background-color .3s, width .3s; }
.hero-dots button[aria-current="true"] { background: #fff; width: 54px; }
.hero-arrows { display: flex; gap: 8px; }
.hero-arrows button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.06); color: #fff; cursor: pointer; display: grid; place-items: center; }
.hero-arrows button:hover { background: rgba(255,255,255,.18); }
.hero-arrows svg { width: 20px; height: 20px; }
@media (max-width: 900px) {
  .hero-logo { display: none; }
  .hero { min-height: 560px; }
}

/* ---------- Bandeau de page intérieure ---------- */
.page-hero {
  position: relative; overflow: hidden; color: #fff; text-align: center;
  padding: clamp(56px, 8vw, 96px) 0;
  background:
    radial-gradient(circle at 90% 10%, rgba(226, 127, 123, .28), transparent 40%),
    radial-gradient(circle at 0% 100%, rgba(200, 77, 77, .2), transparent 45%),
    linear-gradient(135deg, var(--violet-900), var(--violet));
}
.page-hero h1 { color: #fff; margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,.82); max-width: 640px; margin: 0 auto; font-size: 1.05rem; }
.page-hero .kicker { color: var(--salmon); }
.page-hero .kicker::after { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }

/* ---------- Cartes & grilles ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); padding: clamp(22px, 3vw, 32px);
}
.feature { transition: transform .2s ease, box-shadow .2s ease; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--salmon-100); color: var(--red); margin-bottom: 18px;
}
.feature-icon svg { width: 28px; height: 28px; }
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--muted); margin: 0; }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.stat-row { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 28px; }
.stat-row strong { display: block; font-size: 1.8rem; color: var(--red); font-weight: 800; line-height: 1; }
.stat-row span { font-size: .9rem; color: var(--muted); }

/* ---------- Événements ---------- */
.event-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.event-media { position: relative; aspect-ratio: 16 / 10; background: var(--violet-100); overflow: hidden; }
.event-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.event-card:hover .event-media img { transform: scale(1.04); }
.event-media .placeholder { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(135deg, var(--violet), var(--violet-700)); }
.event-media .placeholder img { width: 38%; height: auto; border-radius: 50%; opacity: .9; }
.date-chip {
  position: absolute; left: 16px; top: 16px; background: #fff; color: var(--violet-900);
  border-radius: 12px; padding: 6px 12px; text-align: center; line-height: 1.1; box-shadow: var(--shadow-sm);
}
.date-chip strong { display: block; font-size: 1.4rem; color: var(--red); }
.date-chip span { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.event-body { padding: 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.event-body p { color: var(--muted); margin: 0; }

/* ---------- Avis ---------- */
.stars { color: #d8d3e3; letter-spacing: 2px; white-space: nowrap; }
.stars .on { color: #f2b01e; }
.review { display: flex; flex-direction: column; gap: 12px; }
.review blockquote { margin: 0; font-size: 1rem; color: var(--ink); }
.review footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: .9rem; color: var(--muted); margin-top: auto; }
.review footer strong { color: var(--violet-900); }
.rating-summary { display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }
.rating-summary strong { font-size: 1.3rem; color: var(--violet-900); }

/* ---------- CTA ---------- */
.cta-band {
  border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 56px);
  background: radial-gradient(circle at 100% 0%, rgba(226,127,123,.35), transparent 45%), linear-gradient(135deg, var(--violet), var(--violet-700));
  color: #fff; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between;
}
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { color: rgba(255,255,255,.82); margin: 0; }

/* ---------- Badges ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .75rem; font-weight: 600; line-height: 1.4; white-space: nowrap; }
.badge-out { background: #eeeaf3; color: var(--muted); }
.badge-low { background: var(--salmon-100); color: var(--red-700); }
.badge-en_attente { background: var(--warning-bg); color: var(--warning); }
.badge-en_cours { background: #e5efff; color: #1d4fa3; }
.badge-terminee { background: var(--success-bg); color: var(--success); }
.badge-annulee { background: var(--danger-bg); color: var(--danger); }

/* ---------- Carte (menu) ---------- */
.tabs-nav {
  position: sticky; top: var(--header-h); z-index: 20; background: rgba(251, 248, 244, .92);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.tabs-nav ul { display: flex; justify-content: center; gap: 6px; list-style: none; padding: 12px 0; overflow-x: auto; }
.tabs-nav a { display: block; padding: 8px 18px; border-radius: 999px; font-weight: 600; text-decoration: none; color: var(--muted); white-space: nowrap; }
.tabs-nav a:hover, .tabs-nav a.is-active { background: var(--violet); color: #fff; }
.menu-section { scroll-margin-top: calc(var(--header-h) + 70px); }
.menu-section + .menu-section { margin-top: 64px; }
.menu-section-title { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.menu-section-title h2 { margin: 0; }
.menu-section-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.dish { display: grid; grid-template-columns: 120px 1fr; gap: 18px; padding: 16px; align-items: start; }
.dish.no-img { grid-template-columns: 1fr; }
.dish-img { width: 120px; height: 120px; border-radius: 14px; object-fit: cover; background: var(--violet-100); }
.dish-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.dish-head h3 { margin: 0; font-size: 1.08rem; }
.dish-price { font-weight: 700; color: var(--red); white-space: nowrap; font-size: 1.05rem; }
.dish p { color: var(--muted); font-size: .94rem; margin: 6px 0 8px; }
.dish.is-out { opacity: .6; }
@media (max-width: 520px) {
  .dish { grid-template-columns: 84px 1fr; gap: 14px; padding: 14px; }
  .dish-img { width: 84px; height: 84px; }
}

/* ---------- Prestations ---------- */
.presta-cat { padding: 0; overflow: hidden; }
.presta-cat > h3 { margin: 0; padding: 20px 28px; background: var(--violet); color: #fff; font-size: 1.15rem; }
.presta-body { padding: 8px 28px 20px; }
.presta-sub { margin: 18px 0 4px; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--red); font-weight: 700; }
.presta-list { list-style: none; }
.presta-list li { display: flex; align-items: baseline; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.presta-list li:last-child { border-bottom: 0; }
.presta-list .dots { flex: 1; }
.presta-list .price { font-weight: 700; color: var(--violet); white-space: nowrap; }
.presta-columns { columns: 2 380px; column-gap: 24px; }
.presta-columns > * { break-inside: avoid; margin-bottom: 24px; }

/* ---------- Formulaires ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .label { font-weight: 600; font-size: .9rem; color: var(--violet-900); }
.field .hint { font-size: .82rem; color: var(--muted); }
.input, .field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px;
  font: 400 1rem/1.4 var(--font); color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: 12px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(56, 45, 94, .12);
}
.check { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: .95rem; }
.check input { width: 20px; height: 20px; accent-color: var(--violet); }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 52px !important; }
.password-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; background: none; color: var(--muted); cursor: pointer; border-radius: 8px; display: grid; place-items: center; }
.password-toggle svg { width: 20px; height: 20px; }

.rating-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.rating-input input { position: absolute; opacity: 0; pointer-events: none; }
.rating-input label { font-size: 2rem; line-height: 1; color: #d8d3e3; cursor: pointer; transition: color .15s, transform .15s; }
.rating-input label:hover, .rating-input label:hover ~ label, .rating-input input:checked ~ label { color: #f2b01e; }
.rating-input input:focus-visible + label { outline: 3px solid var(--salmon); border-radius: 4px; }

/* ---------- Authentification ---------- */
.auth-wrap { padding: clamp(40px, 7vw, 80px) 0; }
.auth-card { width: min(480px, 100% - 32px); margin-inline: auto; }
.auth-card .auth-logo { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 16px; }
.auth-card h1 { font-size: 1.8rem; text-align: center; }
.auth-card .lead { text-align: center; color: var(--muted); margin-bottom: 24px; }
.auth-card form { display: grid; gap: 16px; }
.auth-links { text-align: center; margin-top: 20px; font-size: .95rem; color: var(--muted); display: grid; gap: 6px; }

/* ---------- Commande ---------- */
.order-layout { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
@media (max-width: 960px) { .order-layout { grid-template-columns: 1fr; } }
.segmented { display: inline-flex; background: var(--violet-100); padding: 5px; border-radius: 999px; gap: 4px; margin-bottom: 24px; flex-wrap: wrap; }
.segmented button { border: 0; background: transparent; font: 600 .95rem var(--font); padding: 12px 22px; border-radius: 999px; color: var(--violet); cursor: pointer; }
.segmented button[aria-selected="true"] { background: var(--violet); color: #fff; box-shadow: var(--shadow-sm); }
.order-dish { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.order-dish:last-child { border-bottom: 0; }
.order-dish img, .order-dish .ph { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; background: var(--violet-100); }
.order-dish h4 { margin: 0; font-size: 1rem; }
.order-dish .meta { font-size: .85rem; color: var(--muted); }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff; }
.qty button { width: 38px; height: 38px; border: 0; background: none; font-size: 1.2rem; color: var(--violet); cursor: pointer; }
.qty button:hover { background: var(--violet-50); }
.qty input { width: 44px; height: 38px; border: 0; text-align: center; font: 600 1rem var(--font); -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.order-group-title { margin: 24px 0 4px; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--red); }
.order-group-title:first-child { margin-top: 0; }
.summary { position: sticky; top: calc(var(--header-h) + 20px); }
.summary h3 { margin-bottom: 14px; }
.summary-lines { list-style: none; display: grid; gap: 8px; font-size: .95rem; min-height: 24px; }
.summary-lines li { display: flex; justify-content: space-between; gap: 10px; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 2px solid var(--line); margin-top: 16px; padding-top: 16px; font-weight: 700; }
.summary-total strong { font-size: 1.5rem; color: var(--red); }
.success-box { text-align: center; }
.success-box .check-circle { width: 76px; height: 76px; border-radius: 50%; background: var(--success-bg); color: var(--success); display: grid; place-items: center; margin: 0 auto 18px; }
.success-box .check-circle svg { width: 38px; height: 38px; stroke-width: 2.5; }

/* ---------- Compte ---------- */
.account-layout { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; }
@media (max-width: 860px) { .account-layout { grid-template-columns: 1fr; } }
.account-nav { padding: 12px; display: grid; gap: 4px; }
.account-nav a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; text-decoration: none; color: var(--ink); font-weight: 500; }
.account-nav a:hover { background: var(--violet-50); color: var(--violet); }
.account-nav a.is-active { background: var(--violet); color: #fff; }
.account-nav svg { width: 20px; height: 20px; }
.account-hello { padding: 12px 14px 16px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.account-hello strong { display: block; color: var(--violet-900); }
.order-item { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; background: #fff; }
.order-item + .order-item { margin-top: 14px; }
.order-item-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; align-items: center; margin-bottom: 10px; }
.order-item-head strong { color: var(--violet-900); }
.order-item dl { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; margin: 0; font-size: .92rem; }
.order-item dt { color: var(--muted); }
.order-item dd { margin: 0; }
.empty { text-align: center; padding: 48px 24px; color: var(--muted); }
.empty svg { width: 48px; height: 48px; color: var(--violet-300); margin: 0 auto 12px; }

/* ---------- Contact ---------- */
.contact-list { list-style: none; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ico { flex-shrink: 0; width: 46px; height: 46px; border-radius: 14px; background: var(--salmon-100); color: var(--red); display: grid; place-items: center; }
.contact-list .ico svg { width: 22px; height: 22px; }
.contact-list strong { display: block; color: var(--violet-900); font-size: .9rem; }
.map { border: 0; width: 100%; height: 320px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); filter: saturate(.85); }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--violet-900); color: rgba(255,255,255,.75); padding-top: 64px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; gap: 16px; align-items: flex-start; }
.footer-brand img { width: 72px; height: 72px; border-radius: 50%; flex-shrink: 0; }
.footer-brand strong { color: #fff; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .04em; }
.footer-brand p { margin: 6px 0 0; font-size: .95rem; }
.footer-title { color: #fff; font-size: 1rem; margin-bottom: 16px; letter-spacing: 0; }
.footer-links { list-style: none; display: grid; gap: 8px; }
.site-footer a { color: rgba(255,255,255,.75); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-contact { list-style: none; display: grid; gap: 12px; font-size: .95rem; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--salmon); flex-shrink: 0; margin-top: 4px; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; transition: background-color .2s; }
.socials a:hover { background: var(--red); }
.socials svg { width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .85rem; }
.footer-bottom p { margin: 0; }

/* ---------- Divers ---------- */
.prose h2 { font-size: 1.4rem; margin-top: 1.6em; }
.prose p, .prose li { color: #3a3450; }
.prose ul { padding-left: 20px; margin-bottom: 1em; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.hidden-more { display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .mobile-nav, .btn { display: none !important; }
  body { background: #fff; }
}

.split-reviews { grid-template-columns: 1.2fr .8fr; align-items: start; }
@media (max-width: 860px) { .split-reviews { grid-template-columns: 1fr; } }

/* Encart engagements (accueil) */
.promise { background: var(--violet); color: rgba(255,255,255,.85); border: 0; box-shadow: var(--shadow-lg); }
.promise h3 { color: #fff; font-size: 1.3rem; margin-bottom: 20px; }
.promise ul { list-style: none; display: grid; gap: 18px; }
.promise li { display: flex; gap: 14px; align-items: flex-start; }
.promise li > span { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; }
.promise li > span svg { width: 16px; height: 16px; stroke-width: 3; }
.promise strong { display: block; color: #fff; }

/* ---------- Galerie des événements ---------- */
.gallery-open { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.event-media .gallery-open img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.event-card:hover .event-media .gallery-open img { transform: scale(1.04); }
.photo-count {
  position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px; background: rgba(30, 24, 56, .78); color: #fff;
  font-size: .8rem; font-weight: 600; pointer-events: none; backdrop-filter: blur(4px);
}
.photo-count svg { width: 16px; height: 16px; }
.event-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 6px 6px 0; }
.event-thumbs .gallery-open { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; }
.event-thumbs img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s; }
.event-thumbs .gallery-open:hover img { opacity: .85; }
.event-thumbs span { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(30, 24, 56, .62); color: #fff; font-weight: 700; font-size: 1.1rem; }

.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(15, 12, 28, .94);
  display: grid; grid-template-columns: 72px 1fr 72px; align-items: center; animation: fadeIn .2s ease;
}
.lightbox[hidden] { display: none; }
.lightbox figure { grid-column: 2; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: 0; }
.lightbox figure img { max-width: 100%; max-height: calc(100vh - 120px); object-fit: contain; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox figcaption { display: flex; gap: 14px; align-items: baseline; color: rgba(255,255,255,.8); font-size: .95rem; text-align: center; }
.lightbox figcaption strong { color: #fff; }
.lightbox button { border: 0; cursor: pointer; color: #fff; background: rgba(255,255,255,.1); border-radius: 50%; display: grid; place-items: center; transition: background-color .2s; }
.lightbox button:hover { background: rgba(255,255,255,.22); }
.lb-nav { width: 52px; height: 52px; justify-self: center; }
.lb-nav svg { width: 26px; height: 26px; }
.lb-prev { grid-column: 1; grid-row: 1; }
.lb-next { grid-column: 3; grid-row: 1; }
.lb-close { position: absolute; top: 16px; right: 16px; width: 46px; height: 46px; z-index: 2; }
.lb-close svg { width: 22px; height: 22px; }
.lightbox.single .lb-nav { visibility: hidden; }
@keyframes fadeIn { from { opacity: 0; } }
@media (max-width: 640px) {
  .lightbox { grid-template-columns: 0 1fr 0; }
  .lb-nav { position: absolute; bottom: 20px; }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }
  .lightbox figure img { max-height: calc(100vh - 170px); }
}

/* ---------- Disposition des événements (grille de 6 colonnes) ---------- */
.events-layout { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; }
.events-layout .span-6 { grid-column: span 6; }
.events-layout .span-3 { grid-column: span 3; }
.events-layout .span-2 { grid-column: span 2; }
/* Carte en pleine largeur : photos à gauche, texte à droite */
@media (min-width: 861px) {
  .event-card.is-wide { display: grid; grid-template-columns: 1.35fr 1fr; align-items: stretch; }
  .event-card.is-wide .event-visual { display: flex; flex-direction: column; padding-bottom: 6px; }
  .event-card.is-wide .event-media { aspect-ratio: auto; height: 400px; background: var(--violet); }
  /* Affiche entière visible (souvent en portrait), sur fond violet */
  .event-card.is-wide .event-media .gallery-open img { object-fit: contain; }
  .event-card.is-wide .event-thumbs { grid-template-columns: repeat(4, 72px); }
  .event-card.is-wide .event-body { justify-content: center; padding: 36px 40px; }
  .event-card.is-wide .event-body h3 { font-size: 1.7rem; }
  .event-card.is-wide .event-body p { font-size: 1.02rem; }
}
@media (max-width: 860px) {
  .events-layout .span-2 { grid-column: span 3; }
}
@media (max-width: 600px) {
  .events-layout .span-2, .events-layout .span-3 { grid-column: span 6; }
}
