/* ============================================================
   L'Antre Nous — CSS fidèle à l'identité visuelle originale
   Palette : noir #1a1a1a | rouge #cc0000 | blanc #fff
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@600;700&family=Oswald:wght@400;600;700&family=Open+Sans:wght@300;400;600&display=swap');

:root {
  --rouge:      #cc0000;
  --rouge-dark: #aa0000;
  --noir:       #1a1a1a;
  --noir-nav:   #111111;
  --gris-dark:  #2b2b2b;
  --gris-mid:   #555555;
  --gris-light: #f5f5f5;
  --blanc:      #ffffff;
  --vert-btn:   #28a745;
  --vert-dark:  #218838;
  --border:     #e0e0e0;
  --shadow:     rgba(0,0,0,.15);
  --radius:     3px;
  --transition: .3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Open Sans', sans-serif; background: var(--blanc); color: var(--noir); line-height: 1.7; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── Topbar contact ─────────────────────────────── */
#topbar {
  background: var(--blanc);
  display: flex; justify-content: flex-start; align-items: center;
  gap: .6rem; padding: .4rem 1.5rem;
  border-bottom: 1px solid var(--border);
}
.topbar-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  color: var(--blanc); font-size: .9rem; transition: opacity var(--transition);
}
.topbar-btn.phone { background: var(--vert-btn); }
.topbar-btn.email { background: var(--rouge); }
.topbar-btn:hover { opacity: .85; }

/* ── Navbar ─────────────────────────────────────── */
#navbar {
  position: sticky; top: 0; z-index: 1000;
  background: var(--noir-nav);
  display: flex; align-items: center; justify-content: center;
  padding: 0 2rem; height: 52px;
  box-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.nav-links { display: flex; gap: 2.5rem; list-style: none; align-items: center; }
.nav-links a {
  color: var(--blanc); font-family: 'Oswald', sans-serif;
  font-size: .9rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  padding: .2rem 0; border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--rouge); border-bottom-color: var(--rouge); }
#burger { display: none; background: none; border: none; cursor: pointer; color: var(--blanc); font-size: 1.5rem; position: absolute; right: 1.5rem; top: 50%; transform: translateY(-50%); }

/* ── Hero ────────────────────────────────────────── */
#hero {
  position: relative; overflow: hidden;
  height: calc(100vh - 88px); min-height: 480px;
  background: var(--noir);
}
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.slide.active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.7); }
.hero-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 2rem;
  background: linear-gradient(to bottom, rgba(0,0,0,.1) 0%, rgba(0,0,0,.5) 100%);
}
.hero-script {
  font-family: 'Dancing Script', cursive;
  font-size: clamp(2.5rem, 6vw, 5rem);
  color: var(--blanc);
  text-shadow: 2px 2px 12px rgba(0,0,0,.6);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.hero-sub {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(.85rem, 1.5vw, 1.1rem);
  color: rgba(255,255,255,.85);
  letter-spacing: .15em; text-transform: uppercase;
  margin-bottom: 2rem;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
/* Slider dots */
.slider-dots { position: absolute; bottom: 1.2rem; left: 50%; transform: translateX(-50%); display: flex; gap: .5rem; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.4); cursor: pointer; transition: background var(--transition); border: none; }
.dot.active { background: var(--rouge); }

/* Lecteur audio flottant */
#audio-player {
  position: absolute; bottom: 1.2rem; left: 1.5rem; z-index: 10;
  display: flex; align-items: center; gap: .6rem;
  background: rgba(0,0,0,.55); backdrop-filter: blur(6px);
  padding: .5rem .9rem; border-radius: 999px;
  color: var(--blanc); font-size: .75rem;
}
#audio-toggle {
  background: var(--rouge); border: none; color: var(--blanc);
  width: 30px; height: 30px; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-size: .8rem;
  transition: background var(--transition); flex-shrink: 0;
}
#audio-toggle:hover { background: var(--rouge-dark); }
#audio-label { font-size: .72rem; color: rgba(255,255,255,.8); white-space: nowrap; }

/* ── Boutons ─────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .7rem 1.8rem; border-radius: var(--radius);
  font-family: 'Oswald', sans-serif; font-weight: 600;
  font-size: .9rem; letter-spacing: .08em; text-transform: uppercase;
  cursor: pointer; border: 2px solid transparent; transition: all var(--transition);
}
.btn-rouge { background: var(--rouge); color: var(--blanc); border-color: var(--rouge); }
.btn-rouge:hover { background: var(--rouge-dark); border-color: var(--rouge-dark); }
.btn-outline-white { background: transparent; color: var(--blanc); border-color: var(--blanc); }
.btn-outline-white:hover { background: var(--blanc); color: var(--noir); }
.btn-vert { background: var(--vert-btn); color: var(--blanc); border-color: var(--vert-btn); }
.btn-vert:hover { background: var(--vert-dark); border-color: var(--vert-dark); }
.btn-noir { background: var(--noir); color: var(--blanc); border-color: var(--noir); }
.btn-noir:hover { background: #333; }

/* ── Section générique ───────────────────────────── */
section { padding: 4.5rem 2rem; }
.container { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 3rem; }
.eyebrow { font-family: 'Open Sans', sans-serif; font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--rouge); font-style: italic; margin-bottom: .3rem; }
.section-header h2 { font-family: 'Oswald', sans-serif; font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; text-transform: uppercase; color: var(--noir); line-height: 1.1; }
.section-header p { color: var(--gris-mid); margin-top: .6rem; font-size: .95rem; }
.divider { width: 50px; height: 3px; background: var(--rouge); margin: .8rem auto 0; }

/* ── À propos ────────────────────────────────────── */
#about { background: var(--blanc); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-img { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: 0 4px 20px var(--shadow); }
.about-img img { width: 100%; height: 420px; object-fit: cover; object-position: top center; }
.about-img-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(0,0,0,.5); color: var(--blanc);
  font-family: 'Dancing Script', cursive; font-size: 1.2rem;
  padding: .5rem 1rem; text-align: center;
}
.about-text .eyebrow { display: block; margin-bottom: .3rem; }
.about-text h2 { font-family: 'Oswald', sans-serif; color: var(--noir); margin-bottom: 1.2rem; font-size: 2rem; }
.about-text p { color: var(--gris-mid); margin-bottom: .9rem; font-size: .95rem; }
.about-features { list-style: none; margin-top: 1.5rem; display: flex; flex-direction: column; gap: .7rem; }
.about-features li { display: flex; align-items: center; gap: .8rem; font-size: .9rem; color: var(--noir); }
.about-features li i { color: var(--rouge); font-size: 1rem; width: 20px; text-align: center; }

/* ── Horaires ────────────────────────────────────── */
#horaires { background: var(--gris-dark); }
#horaires .section-header h2 { color: var(--blanc); }
#horaires .eyebrow { color: var(--rouge); }
#horaires .divider { background: var(--rouge); }
.hours-table { max-width: 600px; margin: 0 auto; }
.hour-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: .75rem 1.2rem; border-bottom: 1px solid rgba(255,255,255,.08);
}
.hour-row:last-child { border-bottom: none; }
.hour-row.closed { opacity: .45; }
.hour-day { font-family: 'Oswald', sans-serif; font-weight: 600; color: var(--blanc); text-transform: uppercase; letter-spacing: .08em; font-size: .9rem; }
.hour-times { color: rgba(255,255,255,.75); font-size: .88rem; text-align: right; }
.hour-times span { display: block; }
.hour-closed-label { color: var(--rouge); font-size: .85rem; font-style: italic; }
.hours-note { text-align: center; color: rgba(255,255,255,.4); font-size: .78rem; margin-top: 1.5rem; }

/* ── Menu ────────────────────────────────────────── */
#menu { background: var(--gris-light); }
.menu-tabs { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; margin-bottom: 2.5rem; }
.tab-btn {
  font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  padding: .4rem 1rem; border: 1px solid var(--border); background: var(--blanc);
  color: var(--gris-mid); cursor: pointer; border-radius: 2px; transition: all var(--transition);
}
.tab-btn.active, .tab-btn:hover { background: var(--rouge); color: var(--blanc); border-color: var(--rouge); }

.menu-section { display: none; }
.menu-section.active { display: block; }

/* Menu items — style "liste avec pointillés" comme l'original */
.menu-list { display: flex; flex-direction: column; gap: 0; max-width: 800px; margin: 0 auto; }
.menu-item {
  display: flex; flex-direction: column;
  padding: .9rem 0; border-bottom: 1px solid var(--border);
}
.menu-item:last-child { border-bottom: none; }
.menu-item-row { display: flex; align-items: baseline; gap: .5rem; }
.menu-item-name {
  font-family: 'Oswald', sans-serif; font-weight: 600;
  font-size: .95rem; text-transform: uppercase; letter-spacing: .04em; color: var(--noir);
  flex-shrink: 0;
}
.menu-item-dots {
  flex: 1; border-bottom: 2px dotted #ccc; margin-bottom: 3px; min-width: 20px;
}
.menu-item-price { font-weight: 700; color: var(--rouge); font-size: .95rem; white-space: nowrap; flex-shrink: 0; }
.menu-item-desc { font-size: .8rem; color: var(--gris-mid); margin-top: .2rem; line-height: 1.5; }

/* Sous-titre catégorie */
.cat-subtitle {
  font-family: 'Oswald', sans-serif; font-size: 1.5rem; font-weight: 700;
  color: var(--noir); text-transform: uppercase; margin-bottom: 1.5rem; margin-top: .5rem;
  padding-bottom: .5rem; border-bottom: 3px solid var(--rouge);
}
.menu-base-label { font-size: .8rem; color: var(--gris-mid); margin-bottom: 1rem; font-style: italic; }

/* Menu enfant */
.menu-enfant-box {
  text-align: center; padding: 1.5rem; border: 2px dashed var(--rouge);
  border-radius: var(--radius); max-width: 500px; margin: 0 auto 2rem;
  background: var(--blanc);
}
.menu-enfant-price { font-family: 'Oswald', sans-serif; font-size: 2.5rem; color: var(--rouge); font-weight: 700; }

/* Allergènes */
.allergens-box {
  background: var(--blanc); border-left: 4px solid var(--rouge);
  padding: 1.2rem 1.5rem; border-radius: var(--radius); margin-top: 2rem;
  max-width: 800px; margin: 2rem auto 0;
}
.allergens-grid { display: flex; flex-wrap: wrap; gap: .3rem .8rem; margin-top: .7rem; }
.allergen-tag { font-size: .75rem; color: var(--gris-mid); background: var(--gris-light); padding: .2rem .5rem; border-radius: 2px; }
.menu-legal-note { text-align: center; font-size: .78rem; color: var(--gris-mid); margin-top: 1.5rem; font-style: italic; }

/* ── Galerie ─────────────────────────────────────── */
#galerie { background: var(--blanc); }
/* Slider style galerie original (bande horizontale scrollable) */
.gallery-slider { position: relative; overflow: hidden; }
.gallery-track { display: flex; gap: .8rem; transition: transform .5s ease; }
.gallery-thumb {
  flex: 0 0 180px; height: 180px; border-radius: var(--radius);
  overflow: hidden; cursor: pointer; position: relative;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-thumb:hover img { transform: scale(1.08); }
.gallery-thumb-overlay { position: absolute; inset: 0; background: rgba(204,0,0,.6); opacity: 0; display: flex; align-items: center; justify-content: center; color: var(--blanc); font-size: 1.5rem; transition: opacity var(--transition); }
.gallery-thumb:hover .gallery-thumb-overlay { opacity: 1; }
.slider-nav { display: flex; justify-content: center; gap: 1rem; margin-top: 1.5rem; }
.slider-nav button { background: var(--rouge); color: var(--blanc); border: none; width: 38px; height: 38px; border-radius: 50%; cursor: pointer; font-size: 1rem; transition: background var(--transition); }
.slider-nav button:hover { background: var(--rouge-dark); }
/* Grille galerie complète */
.gallery-grid-full { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .8rem; }
.gallery-item { position: relative; aspect-ratio: 4/3; overflow: hidden; border-radius: var(--radius); cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.5); opacity: 0; transition: opacity var(--transition); display: flex; align-items: flex-end; padding: .8rem; }
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-label { color: var(--blanc); font-size: .8rem; font-style: italic; }

/* Lightbox */
#lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.93); z-index: 3000; display: none; align-items: center; justify-content: center; }
#lightbox.open { display: flex; }
#lb-img { max-width: 90vw; max-height: 88vh; border-radius: var(--radius); box-shadow: 0 0 60px rgba(0,0,0,.6); }
#lb-close { position: absolute; top: 1.2rem; right: 1.5rem; background: none; border: none; color: var(--blanc); font-size: 2rem; cursor: pointer; }
#lb-prev, #lb-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(204,0,0,.7); border: none; color: var(--blanc); font-size: 1.3rem; cursor: pointer; padding: .9rem 1rem; border-radius: 2px; transition: background var(--transition); }
#lb-prev:hover, #lb-next:hover { background: var(--rouge); }
#lb-prev { left: 1rem; } #lb-next { right: 1rem; }
#lb-caption { position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.7); font-size: .85rem; font-style: italic; }

/* ── Section Facebook ────────────────────────────── */
#facebook-section { background: var(--gris-light); }
.fb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.fb-box {
  background: var(--noir); color: var(--blanc);
  border-radius: var(--radius); padding: 2.5rem;
  text-align: center; box-shadow: 0 4px 20px var(--shadow);
}
.fb-box h3 { font-family: 'Oswald', sans-serif; font-size: 2rem; font-weight: 700; margin-bottom: .5rem; }
.fb-box p { color: rgba(255,255,255,.7); font-size: .9rem; margin-bottom: 1.5rem; }
.fb-icon { font-size: 2rem; color: #1877f2; margin-bottom: 1rem; }
.fb-stars { color: #f5a623; font-size: 1.1rem; margin-top: .8rem; }
.fb-link { font-size: .8rem; color: var(--rouge); margin-top: .4rem; display: block; }

/* ── Avis Google ─────────────────────────────────── */
#avis { background: var(--blanc); }
.reviews-wrapper { display: grid; grid-template-columns: 280px 1fr; gap: 3rem; align-items: start; }
.reviews-summary { background: var(--gris-light); padding: 2rem; border-radius: var(--radius); text-align: center; border-top: 4px solid var(--rouge); }
.reviews-score { font-family: 'Oswald', sans-serif; font-size: 4.5rem; font-weight: 700; color: var(--noir); line-height: 1; }
.stars-row { color: #f5a623; font-size: 1.4rem; margin: .4rem 0; }
.reviews-count { font-size: .82rem; color: var(--gris-mid); }
.reviews-list { display: grid; gap: 1.2rem; }
.review-card { padding: 1.2rem; border-radius: var(--radius); border: 1px solid var(--border); border-left: 3px solid var(--rouge); }
.review-header { display: flex; gap: .8rem; align-items: center; margin-bottom: .6rem; }
.review-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--rouge); color: var(--blanc); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem; flex-shrink: 0; }
.review-name { font-weight: 700; font-size: .9rem; }
.review-date { font-size: .75rem; color: var(--gris-mid); }
.review-stars-sm { color: #f5a623; font-size: .85rem; }
.review-text { font-size: .85rem; color: var(--gris-mid); line-height: 1.6; }

/* ── Contact ─────────────────────────────────────── */
#contact { background: var(--gris-light); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: 0 4px 16px var(--shadow); }
.map-embed iframe { width: 100%; height: 300px; border: none; display: block; }
.contact-right { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-reserve-text { font-size: .95rem; color: var(--gris-mid); margin-bottom: .5rem; }
.contact-phone-btn { display: inline-flex; align-items: center; gap: .7rem; background: var(--vert-btn); color: var(--blanc); padding: .8rem 1.8rem; border-radius: 4px; font-family: 'Oswald', sans-serif; font-size: 1.1rem; font-weight: 600; transition: background var(--transition); }
.contact-phone-btn:hover { background: var(--vert-dark); }
.contact-hours { font-size: .88rem; color: var(--gris-mid); line-height: 2; }
.contact-hours strong { display: inline-block; min-width: 90px; color: var(--noir); }
/* Formulaire */
.contact-form { background: var(--blanc); padding: 2rem; border-radius: var(--radius); box-shadow: 0 2px 12px var(--shadow); }
.contact-form h3 { font-family: 'Oswald', sans-serif; font-size: 1.3rem; font-weight: 700; color: var(--noir); margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: .05em; }
.contact-form h3 i { color: var(--rouge); margin-right: .4rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--noir); margin-bottom: .35rem; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: .65rem .9rem; border: 1px solid var(--border); border-radius: var(--radius); font-family: 'Open Sans', sans-serif; font-size: .9rem; background: var(--blanc); transition: border-color var(--transition); }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--rouge); box-shadow: 0 0 0 2px rgba(204,0,0,.1); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-msg { padding: .7rem 1rem; border-radius: var(--radius); font-size: .85rem; margin-top: .8rem; display: none; }
.form-msg.success { background: #d4edda; color: #155724; display: block; }
.form-msg.error { background: #f8d7da; color: #721c24; display: block; }

/* ── Footer ──────────────────────────────────────── */
footer { background: var(--gris-dark); color: rgba(255,255,255,.7); padding: 1.8rem 2rem; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; align-items: center; font-size: .82rem; }
.footer-copy { }
.footer-music { text-align: center; }
.footer-music i { color: var(--rouge); margin-right: .3rem; }
.footer-legal { text-align: right; }
.footer-legal a { color: rgba(255,255,255,.5); transition: color var(--transition); }
.footer-legal a:hover { color: var(--rouge); }

/* ── Cookie banner ───────────────────────────────── */
#cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 4000;
  background: var(--gris-dark); color: rgba(255,255,255,.9);
  padding: 1rem 2rem; display: flex; align-items: center; gap: 1.5rem;
  flex-wrap: wrap; font-size: .85rem; box-shadow: 0 -2px 12px rgba(0,0,0,.3);
  transform: translateY(100%); transition: transform .5s ease;
}
#cookie-banner.show { transform: translateY(0); }
#cookie-banner p { flex: 1; min-width: 200px; }
#cookie-banner p a { color: var(--rouge); }
.cookie-btns { display: flex; gap: .6rem; }
#cookie-accept { background: var(--rouge); color: var(--blanc); border: none; padding: .5rem 1.2rem; border-radius: 2px; cursor: pointer; font-weight: 600; font-size: .82rem; }
#cookie-refuse { background: transparent; color: rgba(255,255,255,.6); border: 1px solid rgba(255,255,255,.3); padding: .5rem 1rem; border-radius: 2px; cursor: pointer; font-size: .82rem; }

/* ── Toast ───────────────────────────────────────── */
#toast { position: fixed; bottom: 2rem; right: 2rem; background: var(--noir); color: var(--blanc); padding: .9rem 1.4rem; border-radius: var(--radius); box-shadow: 0 4px 16px var(--shadow); z-index: 5000; transition: opacity .4s, transform .4s; opacity: 0; transform: translateY(16px); pointer-events: none; font-size: .88rem; }
#toast.show { opacity: 1; transform: none; }
#toast.success { border-left: 4px solid var(--vert-btn); }
#toast.error { border-left: 4px solid var(--rouge); }

/* ── Scroll reveal ───────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 900px) {
  .about-grid, .contact-grid, .reviews-wrapper, .fb-grid, .footer-inner { grid-template-columns: 1fr; }
  .reviews-wrapper { grid-template-columns: 1fr; }
  .footer-inner { text-align: center; }
  .footer-legal { text-align: center; }
  .footer-music { text-align: center; }
  .nav-links { display: none; }
  #burger { display: block; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 52px; left: 0; right: 0; background: var(--noir-nav); padding: 1rem 2rem; gap: 1rem; z-index: 999; box-shadow: 0 4px 12px rgba(0,0,0,.4); }
  #navbar { justify-content: center; }
}
@media (max-width: 600px) {
  section { padding: 3rem 1.2rem; }
  .form-row { grid-template-columns: 1fr; }
  .gallery-grid-full { grid-template-columns: repeat(2, 1fr); }
  .menu-tabs { gap: .3rem; }
  .tab-btn { font-size: .7rem; padding: .35rem .7rem; }
  .hero-script { font-size: 2rem; }
}
