
* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: #15100c;
}

/* Le canvas 3D reste fixe en arrière-plan pendant tout le scroll */
canvas {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 0;
}

/* ---------- NAVIGATION ---------- */

#site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 3rem;
  background: transparent;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}
#site-nav.scrolled {
  background: rgba(21, 16, 12, 0.6);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.nav-logo {
  font-family: Georgia, 'Times New Roman', serif;
  color: #f2e8d8;
  font-size: 1.3rem;
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  color: #f2e8d8;
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: #b8843f;
  transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: #b0263a;
  color: #fff;
  padding: 0.55rem 1.3rem;
  border-radius: 3px;
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  transition: background 0.25s ease;
}
.nav-cta:hover { background: #8f1e2e; }

#nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #f2e8d8;
  font-size: 1.6rem;
  cursor: pointer;
}

@media (max-width: 820px) {
  .nav-links {
    position: fixed;
    top: 64px; left: 0; right: 0;
    flex-direction: column;
    background: rgba(21,16,12,0.92);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    gap: 1.2rem;
    transform: translateY(-140%);
    transition: transform 0.35s ease;
    margin: 0;
  }
  .nav-links.open { transform: translateY(0); }
  #nav-toggle { display: block; }
  .nav-cta { display: none; }
}

/* ---------- HERO ---------- */

#hero {
  position: relative;
  height: 100vh;
  height: 100dvh; /* hauteur réellement visible sur mobile, ignore la barre d'adresse qui va et vient */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  z-index: 1;
  padding: 3rem 1.5rem 4rem;
}

.hero-top {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-emblem {
  width: clamp(148px, 36vw, 205px);
  height: clamp(148px, 36vw, 205px);
  margin-top: 1.5rem;
  animation: riseIn 0.9s ease both;
}

.hero-identity-line {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.15rem, 3vw, 1.7rem);
  color: #f2e8d8;
  letter-spacing: 0.04em;
  text-shadow: 0 4px 20px rgba(0,0,0,0.6);
  line-height: 1.05;
}

.hero-slogan {
  font-style: italic;
  font-size: clamp(0.85rem, 2vw, 1.1rem);
  color: #f2e8d8;
  letter-spacing: 0.03em;
  margin: 1rem 0 0;
  padding-bottom: 0.7rem;
  position: relative;
  animation: riseIn 0.9s ease 0.15s both;
}
.hero-slogan::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 1px;
  background: #ffcc33;
}
.hero-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: center;
}

@media (max-width: 700px) {
  #hero { padding: 4.5rem 1.2rem 6rem; }
}

.btn {
  padding: 0.85rem 1.9rem;
  border-radius: 3px;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.25s ease;
}
.btn-primary { background: #b0263a; color: #fff; }
.btn-primary:hover { background: #8f1e2e; transform: translateY(-2px); }

.btn-outline { background: transparent; color: #f2e8d8; border-color: #b8843f; }
.btn-outline:hover { background: rgba(184,132,63,0.15); transform: translateY(-2px); }

.btn-ghost {
  background: rgba(0,0,0,0.25);
  backdrop-filter: blur(4px);
  color: #f2e8d8;
  border-color: rgba(242,232,216,0.3);
}
.btn-ghost:hover { background: rgba(0,0,0,0.4); transform: translateY(-2px); }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(60px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- SECTIONS (provisoire) ---------- */

.section-placeholder {
  position: relative;
  z-index: 1;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(21, 16, 12, 0.72);
  backdrop-filter: blur(6px);
  color: #f2e8d8;
  border-top: 1px solid rgba(184,132,63,0.3);
  font-family: Georgia, serif;
  font-size: 1.8rem;
  letter-spacing: 0.05em;
}

#site-footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2.5rem 1rem;
  background: #0d0a08;
  color: #b8843f;
  font-size: 0.85rem;
}
#site-footer p:first-child {
  color: #f2e8d8;
  font-size: 1rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

/* ---------- MENU ---------- */

.menu-section {
  position: relative;
  z-index: 1;
  padding: 6rem 2rem;
  background: rgba(21, 16, 12, 0.85);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(184,132,63,0.3);
}

.section-title {
  text-align: center;
  font-family: Georgia, 'Times New Roman', serif;
  color: #f2e8d8;
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: 0.05em;
  margin-bottom: 2.5rem;
}

.menu-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 3rem;
}

.menu-tab {
  background: transparent;
  border: 1px solid rgba(184,132,63,0.5);
  color: #e8dfcf;
  padding: 0.6rem 1.4rem;
  border-radius: 30px;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all 0.25s ease;
}
.menu-tab:hover { border-color: #b8843f; color: #fff; }
.menu-tab.active {
  background: #b0263a;
  border-color: #b0263a;
  color: #fff;
}

.menu-category-group {
  display: none;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  animation: fadeInUp 0.5s ease both;
}
.menu-category-group.active { display: grid; }

.menu-card {
  background: rgba(242, 232, 216, 0.05);
  border: 1px solid rgba(184,132,63,0.25);
  border-radius: 6px;
  padding: 1.4rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.menu-card:hover {
  transform: translateY(-4px);
  border-color: #b8843f;
  background: rgba(242, 232, 216, 0.09);
}

.menu-card-icon {
  font-size: 1.8rem;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(184,132,63,0.15);
  border-radius: 50%;
}

.menu-card-body h3 {
  margin: 0 0 0.35rem;
  color: #f2e8d8;
  font-family: Georgia, serif;
  font-size: 1.1rem;
}
.menu-card-body p {
  margin: 0 0 0.6rem;
  color: #b8ad9c;
  font-size: 0.88rem;
  line-height: 1.4;
}
.menu-card-price {
  display: block;
  margin-top: 0.3rem;
  color: #b8843f;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
}

@media (max-width: 600px) {
  .menu-section { padding: 4rem 1.2rem; }
}

/* ---------- LE CAFÉ ---------- */





/* ---------- AVIS CLIENTS ---------- */

.reviews-section {
  position: relative;
  z-index: 1;
  padding: 6rem 2rem;
  background: rgba(21, 16, 12, 0.85);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(184,132,63,0.3);
}

.reviews-source {
  text-align: center;
  color: #b8ad9c;
  font-size: 0.85rem;
  margin: -1.5rem 0 3rem;
  letter-spacing: 0.03em;
}

.reviews-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.review-card {
  background: rgba(242, 232, 216, 0.05);
  border: 1px solid rgba(184,132,63,0.25);
  border-radius: 6px;
  padding: 1.6rem;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.review-card:hover {
  transform: translateY(-4px);
  border-color: #b8843f;
}

.review-stars {
  color: #b8843f;
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  margin-bottom: 0.8rem;
}

.review-text {
  color: #e8dfcf;
  font-size: 0.95rem;
  line-height: 1.55;
  font-style: italic;
  margin: 0 0 1.2rem;
}

.review-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(184,132,63,0.15);
  padding-top: 0.8rem;
}

.review-name {
  color: #f2e8d8;
  font-weight: 600;
  font-size: 0.9rem;
}

.review-date {
  color: #8a7f6e;
  font-size: 0.78rem;
}

@media (max-width: 600px) {
  .reviews-section { padding: 4rem 1.2rem; }
}

/* ---------- HORARIO ---------- */

.hours-list {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 0.5rem;
  border-bottom: 1px solid rgba(184,132,63,0.15);
  color: #e8dfcf;
  font-size: 0.95rem;
}

.hours-day {
  color: #b8843f;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.hours-list li.today {
  background: rgba(184,132,63,0.08);
  border-radius: 4px;
  padding-left: 0.9rem;
  padding-right: 0.9rem;
}
.hours-list li.today .hours-day { color: #f2e8d8; font-weight: 600; }

@media (max-width: 600px) {
  .hours-section { padding: 4rem 1.2rem; }
}

/* ---------- APPARITION DOUCE DES SECTIONS AU SCROLL ---------- */

main > section {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
main > section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  main > section {
    opacity: 1;
    transform: none;
  }
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ---------- ESPACE SUPPLÉMENTAIRE POUR ALLONGER LE ZOOM 3D AU SCROLL ---------- */

#journey-spacer {
  height: 150vh; /* plus grand = trajet caméra plus long/plus doux au scroll */
}

.location-section {
  position: relative;
  z-index: 1;
  padding: 6rem 2rem;
  background: rgba(21, 16, 12, 0.85);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(184,132,63,0.3);
}

.location-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
  align-items: start;
}

.hours-block .hours-list { max-width: none; }

.ubicacion-block {
  text-align: center;
}

@media (max-width: 800px) {
  .location-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
}

.contact-brand {
  font-family: Georgia, serif;
  color: #f2e8d8;
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  margin-bottom: 2.5rem;
}
.contact-brand span {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: #b8843f;
  margin-top: 0.4rem;
}

.contact-info {
  list-style: none;
  margin: 0 0 2.5rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.contact-info li {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(184,132,63,0.15);
  padding-bottom: 0.7rem;
}
.contact-info strong {
  color: #b8843f;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}
.contact-info span {
  color: #e8dfcf;
  font-size: 0.9rem;
}
.contact-info a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
.contact-info a:hover {
  color: #b8843f;
}

.contact-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .contact-section { padding: 4rem 1.2rem; }
  .contact-info li { flex-direction: column; gap: 0.2rem; text-align: left; }
}

.map-embed {
  margin-top: 2.5rem;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(184,132,63,0.3);
}
.map-embed iframe {
  display: block;
}

.hero-bottom .btn-primary {
  animation: riseIn 0.9s ease 0.3s both;
}
.hero-bottom .btn-ghost {
  animation: riseIn 0.9s ease 0.45s both;
}

.hero-corner-decor {
  position: absolute;
  width: clamp(150px, 26vw, 280px);
  height: clamp(150px, 26vw, 280px);
  pointer-events: none;
  z-index: 1;
}
.hero-corner-decor--top-left { top: 0; left: 0; }
.hero-corner-decor--top-right { top: 0; right: 0; transform: scaleX(-1); }
.hero-corner-decor--bottom-left { bottom: 0; left: 0; transform: scaleY(-1); }
.hero-corner-decor--bottom-right { bottom: 0; right: 0; transform: scale(-1, -1); }