/* ============================================================
   Le Sass — feuille de style
   Palette : noir & violet chaleureux + or appétissant
   Typo : Playfair Display (titres) + Karla (texte)
   ============================================================ */

:root {
  /* Fonds */
  --bg:        #0e0b16;
  --bg-alt:    #131029;
  --surface:   #191333;
  --surface-2: #211a40;

  /* Violet (marque) */
  --violet:      #8a6dff;
  --violet-deep: #6a4bd6;
  --violet-soft: #b9a7ff;
  --violet-glow: rgba(138, 109, 255, 0.35);

  /* Or (accent chaud / CTA) */
  --gold:      #cda253;
  --gold-soft: #e3c682;
  --gold-deep: #a97f34;

  /* Texte */
  --text:       #f4efe6;
  --muted:      #b6accb;
  --muted-2:    #8d84a4;

  /* Lignes / etats */
  --border:      rgba(150, 124, 224, 0.16);
  --border-soft: rgba(150, 124, 224, 0.10);
  --danger:      #ff6b6b;
  --success:     #7ee0a7;

  /* Divers */
  --radius:    18px;
  --radius-sm: 12px;
  --shadow:    0 24px 60px -24px rgba(0, 0, 0, 0.7);
  --shadow-sm: 0 10px 30px -14px rgba(0, 0, 0, 0.6);
  --maxw:      1140px;
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: "Karla", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  line-height: 1.12;
  margin: 0;
  letter-spacing: -0.01em;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-family: "Karla", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 0.75rem;
}

.icon { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--gold); color: #1a1206; padding: 10px 16px; border-radius: 0 0 10px 0; font-weight: 700;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--violet-soft); outline-offset: 3px; border-radius: 6px; }

/* ---------- Boutons ---------- */
.btn {
  --_bg: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  font-family: "Karla", sans-serif; font-weight: 700; font-size: 0.98rem;
  padding: 0.7em 1.25em; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; background: var(--_bg); color: var(--text);
  transition: transform 0.18s var(--ease), box-shadow 0.2s var(--ease), background 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 0.92em 1.6em; font-size: 1.05rem; }

.btn-primary {
  --_bg: var(--gold);
  color: #241804; box-shadow: none;
}
.btn-primary:hover { --_bg: var(--gold-soft); box-shadow: none; }

.btn-ghost { border-color: var(--border); color: var(--text); background: rgba(255,255,255,0.02); }
.btn-ghost:hover { border-color: var(--violet); color: var(--violet-soft); background: rgba(138,109,255,0.08); }

.btn-phone {
  border-color: var(--border); background: rgba(255,255,255,0.02); font-size: 0.92rem; padding: 0.55em 1em;
}
.btn-phone:hover { border-color: var(--gold); color: var(--gold-soft); }
.btn-phone .icon { color: var(--gold); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(14, 11, 22, 0.72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--border-soft);
  transition: background 0.3s, border-color 0.3s;
}
.site-header.scrolled { background: rgba(14, 11, 22, 0.92); }
.header-inner { display: flex; align-items: center; gap: 20px; height: 70px; }

.brand { display: inline-flex; align-items: center; gap: 0.6rem; }
.brand-mark {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(140deg, var(--violet), var(--violet-deep));
  color: #fff; font-family: "Playfair Display", serif; font-weight: 700; font-size: 1.25rem;
  box-shadow: none;
}
.brand-name { font-family: "Playfair Display", serif; font-size: 1.4rem; font-weight: 700; letter-spacing: 0.01em; }

.main-nav { display: flex; gap: 6px; margin-left: auto; }
.main-nav a {
  padding: 8px 14px; border-radius: 999px; color: var(--muted); font-weight: 600; font-size: 0.96rem;
  transition: color 0.18s, background 0.18s;
}
.main-nav a:hover, .main-nav a.active { color: var(--text); background: rgba(138,109,255,0.10); }

.header-actions { display: flex; align-items: center; gap: 12px; margin-left: 8px; }

.nav-toggle { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--text); border-radius: 2px; margin: 4px 0; transition: transform 0.25s var(--ease), opacity 0.2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; min-height: 82vh; display: flex; align-items: flex-end; padding: clamp(96px, 16vw, 180px) 0 clamp(48px, 7vw, 84px); }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(to bottom, rgba(12,10,18,0.35) 0%, rgba(12,10,18,0.72) 58%, rgba(12,10,18,0.97) 100%),
    url('/assets/facade.jpg');
  background-size: cover; background-position: center 38%; background-repeat: no-repeat;
}
.hero-inner { position: relative; z-index: 1; max-width: 780px; }
.hero-title { font-size: clamp(3.2rem, 10vw, 6.2rem); font-weight: 700; margin: 0.1em 0 0.2em; letter-spacing: -0.02em; }
.hero-tagline { font-size: clamp(1.12rem, 2.4vw, 1.42rem); color: #e6dfd2; margin: 0 0 1.6rem; max-width: 34ch; }

.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 14px; margin-bottom: 2rem; }
.hero-badge { display: inline-flex; align-items: center; gap: 0.5em; font-size: 0.92rem; color: #ddd6e6; background: rgba(14,11,22,0.5); border: 1px solid var(--border); padding: 7px 14px; border-radius: 999px; backdrop-filter: blur(4px); }
.hero-badge .icon { color: var(--gold); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 10vw, 120px) 0; }
.specialites { background: var(--bg); }
.carte { background: var(--bg-alt); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.infos { background: var(--bg); }
.contact { background: var(--bg-alt); border-top: 1px solid var(--border-soft); }

.section-head { max-width: 620px; margin: 0 auto 2.8rem; text-align: center; }
.section-head h2 { font-size: clamp(2.1rem, 5vw, 3.1rem); }
.section-head h2::after { content: ""; display: block; width: 44px; height: 2px; margin: 0.7em auto 0; border-radius: 2px; background: var(--gold); opacity: 0.7; }
.section-lead { color: var(--muted); margin: 1rem 0 0; font-size: 1.05rem; }

/* ---------- Specialites ---------- */
.specials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.special-card {
  margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--surface);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.special-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: var(--border); }
.special-card img { width: 100%; height: 230px; object-fit: cover; }
.special-card figcaption { padding: 18px 20px 22px; }
.special-card h3 { font-size: 1.4rem; margin-bottom: 0.35rem; }
.special-card p { margin: 0; color: var(--muted); font-size: 0.96rem; }

/* ---------- Carte / menu ---------- */
.carte-annonce {
  max-width: 760px; margin: 0 auto 2.6rem; text-align: center;
  background: var(--surface); border: 1px solid var(--border); color: var(--gold-soft);
  padding: 14px 22px; border-radius: 10px; font-weight: 600; font-size: 1rem;
}
.carte-content { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 40px; }
.carte-loading { grid-column: 1/-1; text-align: center; color: var(--muted); }

.menu-cat { break-inside: avoid; }
.menu-cat h3 {
  font-size: 1.65rem; color: var(--text); padding-bottom: 0.5rem; margin-bottom: 1rem;
  border-bottom: 1px solid var(--border); display: flex; align-items: baseline; gap: 0.6rem;
}
.menu-cat h3::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: none; transform: translateY(-2px); }

.menu-item { padding: 0.6rem 0; }
.menu-item-head { display: flex; align-items: baseline; gap: 10px; }
.menu-item-name { font-weight: 700; color: var(--text); font-size: 1.04rem; }
.menu-item-dots { flex: 1; border-bottom: 1px dotted rgba(150,124,224,0.4); transform: translateY(-4px); min-width: 18px; }
.menu-item-price { font-weight: 700; color: var(--gold-soft); font-variant-numeric: tabular-nums; white-space: nowrap; }
.menu-item-desc { margin: 0.15rem 0 0; color: var(--muted); font-size: 0.93rem; }

.carte-note { text-align: center; color: var(--muted-2); font-size: 0.9rem; margin-top: 2.6rem; }

/* ---------- Infos ---------- */
.infos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.info-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.info-card h3 { font-size: 1.3rem; display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1.1rem; }
.info-card h3 .icon { color: var(--gold); }

.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: 0.5rem 0; border-bottom: 1px solid var(--border-soft); font-weight: 500; }
.hours th { color: var(--muted); font-weight: 600; }
.hours td { text-align: right; color: var(--text); font-variant-numeric: tabular-nums; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours .closed th, .hours .closed td { color: var(--muted-2); }

.addr { font-style: normal; color: var(--text); line-height: 1.7; margin-bottom: 0.6rem; }
.addr-line { margin: 0.2rem 0 1.1rem; }
.link-strong { color: var(--gold-soft); font-weight: 700; border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.link-strong:hover { border-color: var(--gold-soft); }

.services { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 1rem; }
.chip { display: inline-flex; align-items: center; gap: 0.4em; font-size: 0.82rem; color: var(--violet-soft); background: rgba(138,109,255,0.10); border: 1px solid rgba(138,109,255,0.22); padding: 5px 11px; border-radius: 999px; }
.chip .icon { width: 1em; height: 1em; }
.pay { color: var(--muted); font-size: 0.86rem; margin: 0; }

.map-card { display: flex; flex-direction: column; }
.map-holder { position: relative; flex: 1; min-height: 220px; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border); margin-bottom: 0.9rem; background: linear-gradient(135deg, #171130, #221a44); }
.map-holder iframe { width: 100%; height: 100%; min-height: 220px; border: 0; display: block; }
.map-load { position: absolute; inset: 0; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: none; border: 0; cursor: pointer; color: var(--text); font-family: inherit; padding: 16px; }
.map-load span { font-weight: 700; color: var(--violet-soft); font-size: 1rem; }
.map-load small { color: var(--muted-2); font-size: 0.76rem; max-width: 24ch; text-align: center; }
.map-load:hover span { color: var(--gold-soft); }
.map-external { font-size: 0.86rem; }

/* ---------- Contact ---------- */
.contact-inner { max-width: 760px; }
.contact-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(22px, 4vw, 38px); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.4rem; color: var(--muted); }
.req { color: var(--gold); }
.field input, .field textarea {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--text);
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 0.75em 0.9em; transition: border-color 0.2s, box-shadow 0.2s; resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(138,109,255,0.18); }
.field.invalid input, .field.invalid textarea { border-color: var(--danger); }

.form-footer { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 0.4rem; }
.form-status { margin: 0; font-size: 0.92rem; font-weight: 600; }
.form-status.ok { color: var(--success); }
.form-status.err { color: var(--danger); }
.btn[disabled] { opacity: 0.55; cursor: progress; transform: none; }

/* ---------- Footer ---------- */
.site-footer { background: #0b0912; border-top: 1px solid var(--border-soft); padding: 56px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand { display: flex; flex-direction: column; gap: 0.6rem; align-items: flex-start; }
.footer-brand .brand-name { font-size: 1.5rem; }
.footer-brand p { color: var(--muted); font-size: 0.92rem; margin: 0.4rem 0 0; max-width: 30ch; }
.footer-col h4 { font-family: "Karla", sans-serif; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--gold); margin-bottom: 0.9rem; font-weight: 700; }
.footer-col p { color: var(--muted); font-size: 0.94rem; margin: 0 0 0.5rem; }
.footer-col a { color: var(--muted); transition: color 0.2s; }
.footer-col a:hover { color: var(--text); }
.socials { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 0.9rem; }
.socials a { font-weight: 600; }
.link-mini { background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit; font-size: 0.86rem; color: var(--muted-2); text-decoration: underline; text-underline-offset: 3px; transition: color 0.2s; }
.link-mini:hover { color: var(--gold-soft); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--border-soft); color: var(--muted-2); font-size: 0.85rem; }
.footer-bottom p { margin: 0; }

/* ---------- Modale ---------- */
.modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(6,4,12,0.72); backdrop-filter: blur(4px); }
.modal-box { position: relative; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; max-width: 460px; width: 100%; box-shadow: var(--shadow); animation: pop 0.25s var(--ease); }
@keyframes pop { from { transform: translateY(10px) scale(0.98); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-box h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.modal-box p { margin: 0 0 0.55rem; font-size: 0.95rem; }
.modal-box .muted { color: var(--muted-2); font-size: 0.86rem; margin-top: 1rem; }
.modal-close { position: absolute; top: 12px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border); background: rgba(255,255,255,0.03); color: var(--text); font-size: 1.4rem; line-height: 1; cursor: pointer; transition: background 0.2s, border-color 0.2s; }
.modal-close:hover { background: rgba(255,255,255,0.08); border-color: var(--violet); }

/* ---------- Reveal au scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .btn:hover, .special-card:hover, .special-card:hover img { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .specials-grid { grid-template-columns: 1fr 1fr; }
  .infos-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 780px) {
  .main-nav {
    position: fixed; inset: 70px 0 auto 0; flex-direction: column; gap: 0; margin: 0;
    background: rgba(16, 12, 28, 0.98); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border); padding: 12px 16px 20px;
    transform: translateY(-140%); transition: transform 0.32s var(--ease); box-shadow: var(--shadow);
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: 14px 12px; border-radius: 12px; font-size: 1.05rem; }
  .nav-toggle { display: block; }
  .btn-phone span { display: none; }
  .btn-phone { padding: 0.6em; }
  .carte-content { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .specials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .field-row { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
}
