/* === Grey Corner Café — Thème clair + rouge brique === */
:root {
  --bg: #fffaf2;
  --paper: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --brick: #b33a1a;
  --brick-ghost: #f4e3de;
  --border: #eee;
}

/* === Base === */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
img { max-width: 100%; display: block; }

/* === HEADER === */
header {
  position: sticky;
  top: 0;
  background: #ffffffcc;
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
  z-index: 50;
}
.container { max-width: 1100px; margin: 0 auto; padding: 12px 16px; }
.header-center { display: flex; flex-direction: column; align-items: center; }
.logo-big {
  width: 120px; height: 120px; object-fit: contain;
  border-radius: 28px; border: 2px solid #eee; background: #fff;
}

/* === ICÔNES HEADER === */
.shortcut-icons {
  position: absolute; top: 12px; right: 18px;
  display: flex; gap: 10px; z-index: 2;
}
.shortcut-icons a img {
  width: 30px; height: 30px;
  border-radius: 6px; object-fit: cover;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.shortcut-icons a img:hover {
  transform: scale(1.1);
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

/* === MENU BURGER === */
.burger {
  position: fixed;
  top: 16px;
  left: 18px;
  z-index: 400;
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}
.burger span {
  width: 28px;
  height: 3px;
  background-color: var(--brick);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* === MENU LATÉRAL (Burger Nav) === */
.burger-nav {
  position: fixed;
  top: 0;
  left: -100%;
  height: 100%;
  width: 70%;
  background: #fff;
  box-shadow: 2px 0 10px rgba(0,0,0,0.2);
  padding: 100px 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: left 0.3s ease;
  z-index: 350;
}
.burger-nav.open { left: 0; }
.burger-nav a {
  font-weight: 700;
  color: var(--brick);
  text-decoration: none;
  font-size: 16px;
}
.burger-nav a:hover { text-decoration: underline; }

/* === SECTION MENU === */
.section { padding: 20px 12px; border-bottom: 1px solid #f3e7e0; }
.section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  margin: 0 0 12px;
  color: #111;
  border-left: 4px solid var(--brick);
  padding-left: 10px;
}
.grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media(min-width:620px){ .grid{ grid-template-columns: repeat(2,1fr); } }
@media(min-width:940px){ .grid{ grid-template-columns: repeat(3,1fr); } }

/* === CARTE PLAT === */
.card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,.04);
  transition: transform .2s ease;
}
.card:hover { transform: translateY(-4px); }
.card img { width: 100%; height: 210px; object-fit: cover; cursor: zoom-in; }
.card .p { padding: 12px; }
.name { font-weight: 800; letter-spacing: .2px; }
.muted { opacity: .85; font-size: 13px; color: var(--muted); }
.price { font-weight: 900; color: var(--brick); margin-top: 6px; }

/* === LIGHTBOX === */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.86);
  display: none; align-items: center; justify-content: center;
  padding: 20px; z-index: 100;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 94vw; max-height: 78vh;
  object-fit: contain; border-radius: 12px; background: #111;
}
.lightbox .caption { color: #fff; margin-top: 10px; text-align: center; }
.close-btn {
  position: absolute; top: 16px; right: 16px;
  background: #fff; border: none;
  border-radius: 999px; padding: 10px 12px;
  cursor: pointer; font-weight: 800;
}

/* === FOOTER + BOUTON TÉLÉPHONE === */
footer {
  padding: 28px 16px;
  text-align: center;
  color: var(--muted);
  border-top: 1px solid var(--border);
  background: #fff;
}
footer a { color: inherit; text-decoration: none; }

.call-fab {
  position: fixed;
  right: 16px;
  bottom: 16px;
  background: #fff;
  border: 3px solid #28a745;
  text-decoration: none;
  padding: 10px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  z-index: 200;
}
.call-fab img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  display: block;
}
.call-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(40,167,69,0.5);
}

/* === LANGUES === */
.lang-switch {
  position: fixed;
  bottom: 18px;
  left: 16px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(255,255,255,0.9);
  border-radius: 10px;
  padding: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.lang-button {
  border: none;
  background: transparent;
  font-size: 16px;
  cursor: pointer;
  font-weight: 700;
}
.lang-button.active { color: var(--brick); }
/* === ANIMATION DU LOGO === */
@keyframes fadeInZoom {
  0% {
    opacity: 0;
    transform: scale(0.6) rotate(-5deg);
  }
  60% {
    opacity: 1;
    transform: scale(1.05) rotate(2deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

@keyframes breathing {
  0% { transform: scale(1); }
  50% { transform: scale(1.03); }
  100% { transform: scale(1); }
}

.logo-big {
  width: 70px;
  height: 70px;
  object-fit: contain;
  border-radius: 24px;
  border: 2px solid #eee;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);

  /* --- Animation --- */
  animation: fadeInZoom 1.9s ease-out, breathing 10s ease-in-out infinite;
  transform-origin: center;
}
@media (max-width: 768px) {
  .logo-big {
    width: 70px;
    height: 70px;
  }
}
/* === BOUTON MODE SOMBRE/CLAIR === */
.theme-toggle {
  position: fixed;
  bottom: 100px;
  left: 16px;
  z-index: 150;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(200,155,60,0.3);
  color: #c89b3c;
  font-size: 20px;
  padding: 8px 10px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(200,155,60,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.theme-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(200,155,60,0.6);
}


