/* =====================================================
   LE ROOFTOP 77 — Feuille de style
   ===================================================== */

:root {
  --color-bg: #0e0a06;
  --color-bg-soft: #1a120b;
  --color-text: #f4ede4;
  --color-muted: #b8a78f;
  --color-gold: #d4a85a;
  --color-gold-bright: #e8c478;
  --color-coral: #e6735a;
  --color-overlay: rgba(14, 10, 6, 0.65);
  --font-display: 'Playfair Display', serif;
  --font-body: 'Montserrat', sans-serif;
  --max-width: 1280px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.2; }
a { color: inherit; text-decoration: none; transition: color .3s; }
a:hover { color: var(--color-gold-bright); }
img { max-width: 100%; display: block; }

/* ========= NAVIGATION ========= */
nav.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.2rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all .4s ease;
  background: linear-gradient(180deg, rgba(14,10,6,0.85) 0%, rgba(14,10,6,0) 100%);
}
nav.navbar.scrolled {
  background: rgba(14, 10, 6, 0.95);
  backdrop-filter: blur(12px);
  padding: .8rem 2rem;
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--color-gold-bright);
}
.logo span { color: var(--color-text); font-weight: 400; font-style: italic; }
.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-size: .85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
  cursor: pointer;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0;
  width: 0; height: 1px;
  background: var(--color-gold);
  transition: width .3s;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  padding: .7rem 1.5rem;
  border: 1px solid var(--color-gold);
  border-radius: 2px;
  color: var(--color-gold-bright) !important;
  transition: all .3s;
}
.nav-cta:hover {
  background: var(--color-gold);
  color: var(--color-bg) !important;
}
.nav-cta::after { display: none !important; }
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-text);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ========= HERO ========= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--color-bg);
}
/* Slideshow d'arrière-plan du hero (fade entre 4 photos en boucle) */
.hero-slideshow {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  overflow: hidden;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: heroSlideshow 24s ease-in-out infinite;
}
.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: 6s; }
.hero-slide:nth-child(3) { animation-delay: 12s; }
.hero-slide:nth-child(4) { animation-delay: 18s; }

@keyframes heroSlideshow {
  0%   { opacity: 0; transform: scale(1.05); }
  8%   { opacity: 1; transform: scale(1.05); }
  25%  { opacity: 1; transform: scale(1.10); }
  33%  { opacity: 0; transform: scale(1.10); }
  100% { opacity: 0; transform: scale(1.05); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14,10,6,0.55) 0%, rgba(14,10,6,0.7) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 2rem;
  animation: fadeUp 1.5s ease;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-tagline {
  font-size: .9rem;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--color-gold-bright);
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.hero-tagline::before, .hero-tagline::after {
  content: '—';
  margin: 0 1rem;
  color: var(--color-gold);
}
.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  margin-bottom: 1.5rem;
  line-height: 1.1;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.hero h1 em {
  color: var(--color-gold-bright);
  font-style: italic;
  font-weight: 500;
}
.hero p.subtitle {
  font-size: 1.15rem;
  color: var(--color-text);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 3;
}

/* ========= BUTTONS ========= */
.btn {
  display: inline-block;
  padding: 1rem 2.2rem;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  border-radius: 2px;
  cursor: pointer;
  transition: all .35s ease;
  border: 1px solid transparent;
  font-family: var(--font-body);
  text-align: center;
}
.btn-primary {
  background: var(--color-gold);
  color: var(--color-bg);
  border-color: var(--color-gold);
}
.btn-primary:hover {
  background: var(--color-gold-bright);
  border-color: var(--color-gold-bright);
  color: var(--color-bg) !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(212, 168, 90, 0.3);
}
.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-text);
}
.btn-secondary:hover {
  background: var(--color-text);
  color: var(--color-bg);
}
.btn-lg {
  padding: 1.2rem 2.5rem;
  font-size: .95rem;
}
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--color-gold-bright);
  font-size: 1.2rem;
  animation: bounce 2s infinite;
  z-index: 2;
}
@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, -10px); }
}

/* ========= SECTIONS ========= */
section { padding: 7rem 2rem; position: relative; }
.container { max-width: var(--max-width); margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header .eyebrow {
  color: var(--color-gold-bright);
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: .8rem;
  margin-bottom: 1rem;
  font-weight: 500;
}
.section-header h2 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
}
.section-header h2 em { color: var(--color-gold-bright); font-style: italic; font-weight: 500; }
.section-header p {
  color: var(--color-muted);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}
.divider { width: 60px; height: 2px; background: var(--color-gold); margin: 1.5rem auto; }

/* ========= ABOUT ========= */
.about { background: var(--color-bg-soft); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-text h3 { font-size: 2.2rem; margin-bottom: 1.5rem; }
.about-text p {
  color: var(--color-muted);
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
  line-height: 1.8;
}
.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}
.feature {
  border-left: 2px solid var(--color-gold);
  padding-left: 1.2rem;
}
.feature-icon { font-size: 1.8rem; margin-bottom: .5rem; }
.feature h4 {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: .85rem;
  color: var(--color-gold-bright);
  margin-bottom: .3rem;
}
.feature p { font-size: .95rem; color: var(--color-muted); margin: 0; }
.about-image {
  position: relative;
  height: 600px;
  overflow: hidden;
  border-radius: 2px;
  background: var(--color-bg);
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s;
}
.about-image:hover img { transform: scale(1.05); }
.about-badge {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  background: var(--color-gold);
  color: var(--color-bg);
  padding: 1.2rem 1.5rem;
  border-radius: 2px;
  font-family: var(--font-display);
  font-style: italic;
}
.about-badge strong { display: block; font-size: 1.3rem; font-weight: 700; }

/* ========= GALLERY ========= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 12px;
}
.gallery-item {
  overflow: hidden;
  position: relative;
  border-radius: 2px;
  cursor: pointer;
  background: var(--color-bg-soft);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.5) 100%);
  opacity: 0;
  transition: opacity .4s;
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }

/* ========= VIDEO SECTION ========= */
.video-section { background: var(--color-bg); }
.video-embed {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(212, 168, 90, 0.2);
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-embed { cursor: pointer; }
.video-embed .video-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s, filter .3s;
}
.video-embed:hover .video-thumb { transform: scale(1.03); filter: brightness(1.1); }
.video-embed::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14,10,6,0.2) 0%, rgba(14,10,6,0.5) 100%);
  z-index: 1;
  pointer-events: none;
}
.video-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 100px; height: 100px;
  border-radius: 50%;
  background: var(--color-gold);
  border: 3px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .35s ease;
  z-index: 2;
  box-shadow: 0 10px 40px rgba(212, 168, 90, 0.4);
}
.video-play:hover {
  background: var(--color-gold-bright);
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 15px 60px rgba(212, 168, 90, 0.6);
}
.video-play-icon {
  color: var(--color-bg);
  font-size: 2rem;
  margin-left: 6px;
  line-height: 1;
}

/* ========= HORAIRES ========= */
.horaires {
  background: var(--color-bg-soft);
  background-image: linear-gradient(rgba(14,10,6,0.96), rgba(14,10,6,0.98));
  position: relative;
}
.horaires::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(212, 168, 90, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(230, 115, 90, 0.06) 0%, transparent 50%);
  pointer-events: none;
}
.horaires .container { position: relative; z-index: 1; }
.horaires-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}
.horaire-card {
  background: rgba(26, 18, 11, 0.7);
  border: 1px solid rgba(212, 168, 90, 0.3);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all .4s;
  backdrop-filter: blur(10px);
}
.horaire-card:hover {
  border-color: var(--color-gold);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.horaire-day {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--color-gold-bright);
  margin-bottom: 1rem;
  font-style: italic;
}
.horaire-time {
  font-size: 1.4rem;
  color: var(--color-text);
  font-weight: 300;
  margin-bottom: .5rem;
}
.horaire-note { color: var(--color-muted); font-size: .9rem; }
.special-info {
  margin-top: 3rem;
  text-align: center;
  padding: 2rem;
  border-top: 1px solid rgba(212, 168, 90, 0.2);
  border-bottom: 1px solid rgba(212, 168, 90, 0.2);
}
.special-info p { color: var(--color-muted); margin-bottom: .5rem; }
.special-info strong { color: var(--color-gold-bright); }

/* ========= RESERVATION (ZENCHEF) ========= */
.reservation-wrap {
  background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-bg-soft) 100%);
}
.reservation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.reservation-info h3 { font-size: 2rem; margin-bottom: 1.2rem; }
.reservation-info p {
  color: var(--color-muted);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}
.reservation-info ul { list-style: none; padding: 0; margin-top: 1.5rem; }
.reservation-info li {
  color: var(--color-muted);
  padding: .6rem 0;
  border-bottom: 1px solid rgba(212, 168, 90, 0.15);
  display: flex;
  align-items: center;
  gap: .8rem;
}
.reservation-info li::before { content: '✦'; color: var(--color-gold); }
.zenchef-card {
  background: rgba(26, 18, 11, 0.6);
  border: 1px solid rgba(212, 168, 90, 0.3);
  padding: 3.5rem 2.5rem;
  border-radius: 2px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.zenchef-card::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(212, 168, 90, 0.08) 0%, transparent 50%);
  animation: pulse 6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: .5; }
  50%      { transform: scale(1.1); opacity: 1; }
}
.zenchef-inner { position: relative; z-index: 1; }
.zenchef-header { margin-bottom: 2rem; }
.zc-icon {
  font-size: 2.5rem;
  color: var(--color-gold-bright);
  margin-bottom: 1rem;
}
.zenchef-card h3 {
  font-size: 1.8rem;
  color: var(--color-gold-bright);
  margin-bottom: .8rem;
  font-style: italic;
}
.zenchef-card p {
  color: var(--color-muted);
  font-size: .95rem;
  margin-bottom: 0;
}
.zenchef-card .btn { width: 100%; }
.zenchef-note {
  margin-top: 1.5rem !important;
  font-size: .8rem !important;
  color: var(--color-muted);
  letter-spacing: .5px;
}
.zenchef-note strong { color: var(--color-gold-bright); }

/* ========= CARTE ========= */
.carte { text-align: center; background: var(--color-bg-soft); }
.carte-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 3rem 0;
  text-align: left;
}
.menu-card {
  padding: 2rem;
  border: 1px solid rgba(212, 168, 90, 0.2);
  transition: all .4s;
}
.menu-card:hover {
  border-color: var(--color-gold);
  background: rgba(26, 18, 11, 0.5);
}
.menu-card h4 {
  font-size: 1.3rem;
  color: var(--color-gold-bright);
  margin-bottom: 1rem;
  font-style: italic;
}
.menu-card p { color: var(--color-muted); font-size: .95rem; }

/* ========= CONTACT ========= */
.contact {
  background: linear-gradient(135deg, var(--color-bg-soft) 0%, var(--color-bg) 100%);
  position: relative;
}
.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(212, 168, 90, 0.06) 0%, transparent 50%);
  pointer-events: none;
}
.contact .container { position: relative; z-index: 1; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
.contact-info {
  background: rgba(26, 18, 11, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 168, 90, 0.2);
  padding: 3rem;
}
.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: var(--color-gold-bright);
  font-style: italic;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(212, 168, 90, 0.15);
}
.contact-item:last-of-type { border-bottom: none; }
.contact-icon {
  width: 45px; height: 45px;
  border-radius: 50%;
  background: rgba(212, 168, 90, 0.1);
  border: 1px solid var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-gold-bright);
  font-size: 1.1rem;
}
.contact-text strong {
  display: block;
  color: var(--color-gold-bright);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: .8rem;
  font-weight: 500;
  margin-bottom: .3rem;
}
.contact-text a, .contact-text p { color: var(--color-text); font-size: 1rem; }
.contact-text a:hover { color: var(--color-gold-bright); }
.map-wrap {
  height: 100%;
  min-height: 500px;
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid rgba(212, 168, 90, 0.2);
}
.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: invert(0.85) hue-rotate(180deg) contrast(0.9);
}

/* ========= FOOTER ========= */
footer {
  background: #06040a;
  padding: 4rem 2rem 2rem;
  text-align: center;
  border-top: 1px solid rgba(212, 168, 90, 0.1);
}
.footer-content { max-width: var(--max-width); margin: 0 auto; }
.footer-logo {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--color-gold-bright);
  margin-bottom: 1rem;
}
.footer-tagline { color: var(--color-muted); font-style: italic; margin-bottom: 2rem; }
.social-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.social-links a {
  width: 45px; height: 45px;
  border-radius: 50%;
  border: 1px solid rgba(212, 168, 90, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold-bright);
  transition: all .3s;
  font-size: 1.1rem;
}
.social-links a:hover {
  background: var(--color-gold);
  color: var(--color-bg);
  border-color: var(--color-gold);
  transform: translateY(-3px);
}
.footer-divider {
  height: 1px;
  background: rgba(212, 168, 90, 0.15);
  margin: 2rem 0;
}
.copyright { color: var(--color-muted); font-size: .85rem; }

/* ========= RESPONSIVE ========= */
@media (max-width: 900px) {
  nav.navbar { padding: 1rem 1.2rem; }
  .menu-toggle { display: block; z-index: 200; }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 80%; max-width: 320px;
    height: 100vh;
    background: var(--color-bg);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    transition: right .4s ease;
    box-shadow: -10px 0 40px rgba(0,0,0,0.5);
  }
  .nav-links.open { right: 0; }
  section { padding: 5rem 1.2rem; }
  .about-grid,
  .reservation-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-image { height: 400px; }
  .horaires-grid,
  .carte-preview { grid-template-columns: 1fr; }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }
  .gallery-item.wide { grid-column: span 1; }
  .zenchef-card { padding: 2.5rem 1.5rem; }
  .about-features { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.5rem; }
  .hero-tagline { font-size: .75rem; letter-spacing: 3px; }
  .hero-tagline::before, .hero-tagline::after { margin: 0 .5rem; }
  .map-wrap { min-height: 350px; }
  .contact-info { padding: 2rem 1.5rem; }
}
