/* ==========================================================================
   Aux Baguettes d'Or — feuille de style partagée
   Palette : laque encre (#1C1512), cuivre de la marmite (#B4652A),
   jade discret (#4C6B58), porcelaine (#F2ECDF), vermillon signature (#9C2B2B)
   Typo : Fraunces (titres) + Work Sans (texte) + Space Mono (repères, prix)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;1,9..144,500&family=Work+Sans:wght@400;500;600&family=Space+Mono:wght@400;700&display=swap');

:root {
  --ink: #1C1512;
  --ink-soft: #4a3f38;
  --copper: #B4652A;
  --copper-light: #D98F4E;
  --jade: #4C6B58;
  --porcelain: #F2ECDF;
  --porcelain-deep: #E8DFC9;
  --paper: #FBF8F2;
  --vermillion: #9C2B2B;
  --line: #DCD0B4;
  --shadow: 0 18px 40px rgba(28, 21, 18, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--porcelain);
  color: var(--ink);
  font-family: 'Work Sans', sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.1;
  margin: 0 0 0.4em;
}

.eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--copper);
  font-weight: 700;
}

a { color: inherit; }

img { max-width: 100%; display: block; }

/* ---------- HEADER / NAV ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(28, 21, 18, 0.94);
  backdrop-filter: blur(6px);
  color: var(--porcelain);
}
.nav-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.wordmark {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.4rem;
  color: var(--porcelain);
  text-decoration: none;
  white-space: nowrap;
}
.wordmark strong { color: var(--copper-light); font-style: normal; }

nav.main-nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
nav.main-nav a {
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 500;
  color: #d8cfc2;
  padding: 8px 14px;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}
nav.main-nav a:hover, nav.main-nav a.active {
  background: rgba(180, 101, 42, 0.25);
  color: #fff;
}

.header-phone {
  font-family: 'Space Mono', monospace;
  font-size: 0.9rem;
  color: var(--porcelain);
  text-decoration: none;
  border: 1px solid rgba(242, 236, 223, 0.35);
  padding: 8px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.header-phone:hover { border-color: var(--copper-light); color: var(--copper-light); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  color: var(--porcelain);
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(28,21,18,0.15) 0%, rgba(28,21,18,0.55) 55%, rgba(28,21,18,0.92) 100%);
}
.hero-content {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 60px 24px 56px;
  width: 100%;
}
.hero-content h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  color: #fff;
  max-width: 14ch;
}
.hero-content p {
  max-width: 46ch;
  font-size: 1.05rem;
  color: #ece4d4;
  margin-top: 14px;
}
.hero-cta { margin-top: 26px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 13px 24px;
  border-radius: 999px;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--copper); color: #fff; }
.btn-primary:hover { background: var(--copper-light); }
.btn-outline { border-color: rgba(242,236,223,0.5); color: var(--porcelain); }
.btn-outline:hover { border-color: var(--copper-light); color: var(--copper-light); }
.btn-dark { background: var(--ink); color: var(--porcelain); }
.btn-dark:hover { background: #2a201b; }

/* ---------- STEAM RING DIVIDER (élément signature) ---------- */
.steam-divider {
  position: relative;
  height: 64px;
  margin: 0 auto;
  max-width: 1180px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steam-divider svg { width: 120px; height: 48px; opacity: 0.7; }
.steam-divider .ring {
  fill: none;
  stroke: var(--copper);
  stroke-width: 1.4;
  animation: rise 6s ease-in-out infinite;
  transform-origin: center;
}
.steam-divider .ring:nth-child(2) { stroke: var(--jade); animation-delay: 1.4s; }
.steam-divider .ring:nth-child(3) { stroke: var(--vermillion); animation-delay: 2.8s; }
@keyframes rise {
  0%   { transform: translateY(6px) scale(0.9); opacity: 0; }
  25%  { opacity: 0.8; }
  100% { transform: translateY(-14px) scale(1.08); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .steam-divider .ring { animation: none; opacity: 0.5; }
}

/* ---------- SECTIONS ---------- */
section { padding: 68px 24px; }
.section-inner { max-width: 1180px; margin: 0 auto; }
.section-porcelain { background: var(--porcelain); }
.section-paper { background: var(--paper); }
.section-ink { background: var(--ink); color: var(--porcelain); }
.section-ink h2 { color: #fff; }

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

.photo-frame {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.gallery-grid img { height: 180px; width: 100%; object-fit: cover; border-radius: 4px; }
@media (max-width: 760px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- MENU (carte.html) ---------- */
.menu-nav {
  position: sticky;
  top: 62px;
  z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.menu-nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  gap: 6px;
  overflow-x: auto;
}
.menu-nav a {
  font-family: 'Space Mono', monospace;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-soft);
  padding: 8px 14px;
  border-radius: 999px;
  white-space: nowrap;
  border: 1px solid var(--line);
}
.menu-nav a:hover { border-color: var(--copper); color: var(--copper); }

.menu-category {
  padding: 56px 24px;
  scroll-margin-top: 120px;
  border-bottom: 1px solid var(--line);
}
.menu-category:last-child { border-bottom: none; }
.menu-category-inner { max-width: 900px; margin: 0 auto; }
.menu-category .tag {
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  border: 1px solid var(--copper);
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.menu-category img {
  border-radius: 6px;
  box-shadow: var(--shadow);
  margin-top: 20px;
}

/* ---------- INFO CARDS ---------- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 760px) { .info-grid { grid-template-columns: 1fr; } }
.info-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
}
.info-card .eyebrow { display: block; margin-bottom: 10px; }
.info-card p { margin: 0.4em 0; }
.info-card .big-phone {
  font-family: 'Space Mono', monospace;
  font-size: 1.6rem;
  color: var(--vermillion);
  text-decoration: none;
}

.map-frame {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: none;
  width: 100%;
  height: 340px;
}

/* ---------- FOOTER ---------- */
footer.site-footer {
  background: var(--ink);
  color: #b9ad9c;
  padding: 40px 24px 28px;
  text-align: center;
  font-size: 0.85rem;
}
footer.site-footer .wordmark { display: inline-block; margin-bottom: 10px; }
footer.site-footer a { color: var(--copper-light); text-decoration: none; }

@media (max-width: 640px) {
  .nav-wrap { flex-direction: column; align-items: flex-start; }
  nav.main-nav { width: 100%; justify-content: flex-start; }
}

:focus-visible { outline: 2.5px solid var(--copper); outline-offset: 2px; }
