@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Montserrat:wght@300;400;600;700&family=Playfair+Display:ital,wght@0,600;1,400&display=swap');

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-main: #121212;
  --bg-card: #1e1e1e;
  --bg-modal: #1a1a1a;
  --accent-gold: #e5b967;
  --accent-red: #d32f2f;
  --accent-green: #2e7d32;
  --text-light: #f5f5f5;
  --text-muted: #aaaaaa;
  --font-title: 'Cinzel', serif;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Montserrat', sans-serif;
}

body {
  background-color: var(--bg-main);
  color: var(--text-light);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.6;
}

/* --- Style spécifique du logo dans le Hero --- */
.hero-logo-container {
  margin: 15px 0 20px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo {
  max-width: 220px;
  height: auto;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.5));
  transition: transform 0.3s ease;
}

.hero-logo:hover {
  transform: scale(1.04);
}

@media (max-width: 600px) {
  .hero-logo {
    max-width: 160px;
  }
}

/* --- BOUTON DE TÉLÉPHONE FLOTTANT --- */
.floating-call-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
  background: linear-gradient(135deg, var(--accent-gold), #b8860b);
  color: #000;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 24px;
  border-radius: 50px;
  box-shadow: 0 10px 25px rgba(229, 185, 103, 0.4), 0 5px 15px rgba(0,0,0,0.5);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: pulse-glow 2.5s infinite;
}

.floating-call-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 15px 35px rgba(229, 185, 103, 0.6), 0 8px 20px rgba(0,0,0,0.7);
}

.floating-call-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 10px 25px rgba(229, 185, 103, 0.4), 0 5px 15px rgba(0,0,0,0.5); }
  50% { box-shadow: 0 10px 35px rgba(229, 185, 103, 0.7), 0 5px 15px rgba(0,0,0,0.5); }
}

/* --- PAGE DE GARDE / HERO --- */
header.hero {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 15px 20px 60px;
  background: radial-gradient(circle at center, #2a2a2a 0%, #121212 85%);
  border-bottom: 1px solid rgba(229, 185, 103, 0.2);
  position: relative;
}

.service-badges {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
  flex-wrap: wrap;
  justify-content: center;
}

.badge-service {
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 30px;
  font-weight: 600;
}

.badge-service.sur-place {
  background-color: rgba(46, 125, 50, 0.2);
  color: #81c784;
  border: 1px solid rgba(46, 125, 50, 0.5);
}

.badge-service.a-emporter {
  background-color: rgba(229, 185, 103, 0.15);
  color: var(--accent-gold);
  border: 1px solid rgba(229, 185, 103, 0.4);
}

header.hero h1 {
  font-family: var(--font-title);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--accent-gold);
  letter-spacing: 3px;
  margin-bottom: 10px;
  text-shadow: 0 4px 15px rgba(0,0,0,0.6);
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 10px;
}

.hero-location-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 auto 15px auto;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(229, 185, 103, 0.4);
  border-radius: 50px;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.hero-location-btn:hover {
  background: rgba(229, 185, 103, 0.15);
  border-color: var(--accent-gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(229, 185, 103, 0.2);
}

.hero-location-btn .pin-icon { font-size: 1.2rem; }
.hero-location-btn .location-text { display: flex; flex-direction: column; text-align: left; line-height: 1.3; }
.hero-location-btn .street { font-weight: 600; font-size: 0.95rem; color: #f1f1f1; }
.hero-location-btn .city { font-size: 0.85rem; color: #bbb; }
.hero-location-btn .action-hint {
  font-size: 0.8rem;
  font-weight: bold;
  color: var(--accent-gold);
  background: rgba(0, 0, 0, 0.3);
  padding: 4px 10px;
  border-radius: 20px;
  margin-left: 5px;
}

.story-card {
  background: var(--bg-card);
  border: 1px solid rgba(229, 185, 103, 0.25);
  border-radius: 16px;
  padding: 35px;
  max-width: 800px;
  text-align: left;
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
  margin-bottom: 40px;
  position: relative;
}

.story-card h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--accent-gold);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.story-card p {
  font-size: 0.98rem;
  color: var(--text-muted);
  margin-bottom: 15px;
  line-height: 1.7;
}

.story-card p:last-child { margin-bottom: 0; }

.owners-signature {
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--accent-gold);
  text-align: right;
  margin-top: 20px;
  font-size: 1.1rem;
}

header .scroll-indicator {
  margin-top: 0px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent-gold);
  opacity: 0.8;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

/* --- SECTION FILTRES --- */
.filter-section {
  text-align: center;
  margin-bottom: 50px;
  padding: 0 10px;
}

.filter-title {
  font-family: var(--font-title);
  font-size: 1rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.filter-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
}

.sub-filter-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  transition: all 0.3s ease;
}

.sub-filter-buttons.hidden-filters { display: none; }

.filter-btn {
  background: var(--bg-card);
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 10px 20px;
  border-radius: 30px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.sub-filter-btn {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  border: 1px solid rgba(229, 185, 103, 0.2);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover, .sub-filter-btn:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  transform: translateY(-2px);
}

.filter-btn.active, .sub-filter-btn.active {
  background: var(--accent-gold);
  color: #000;
  border-color: var(--accent-gold);
  box-shadow: 0 5px 15px rgba(229, 185, 103, 0.3);
}

/* --- MENU & CARTES PRODUITS --- */
.menu-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

.pizza-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 900px;
  width: 100%;
  margin: 0 auto 30px auto;
  padding: 25px;
  background: var(--bg-card);
  border-radius: 16px;
  box-sizing: border-box;
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.pizza-card.hidden { display: none !important; }

.pizza-card:nth-child(even) { flex-direction: row-reverse; }

.slide-left { transform: translateX(-100px); }
.slide-right { transform: translateX(100px); }

.pizza-card.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.pizza-img-wrapper {
  flex: 1;
  max-width: 400px;
  position: relative;
  perspective: 1000px;
}

.pizza-img-render {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 15px 25px rgba(0,0,0,0.5));
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}

.pizza-card:hover .pizza-img-render {
  transform: scale(1.05) rotate(2deg);
  filter: drop-shadow(0 25px 35px rgba(0,0,0,0.7));
}

.pizza-details {
  flex: 1;
  max-width: 500px;
  text-align: left;
}

.pizza-number {
  font-family: var(--font-title);
  font-size: 0.9rem;
  color: var(--accent-gold);
  letter-spacing: 3px;
  display: block;
  margin-bottom: 5px;
}

.pizza-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.2;
}

.pizza-ingredients {
  font-size: 0.98rem;
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 20px;
  line-height: 1.7;
}

.pizza-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 15px;
  border-top: 1px dashed rgba(255, 255, 255, 0.15);
}

.pizza-price {
  font-family: var(--font-title);
  font-size: 1.4rem;
  color: var(--accent-gold);
  font-weight: 700;
}

.pizza-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 4px 12px;
  border-radius: 50px;
  background-color: rgba(229, 185, 103, 0.1);
  color: var(--accent-gold);
  border: 1px solid rgba(229, 185, 103, 0.3);
}

/* --- FORMULE BAMBINO --- */
.bambino-pill-banner {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  background: var(--bg-card);
  border: 1px solid rgba(229, 185, 103, 0.4);
  padding: 12px 22px; 
  border-radius: 50px;
  margin: 25px auto 35px auto; 
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.bambino-emoji { font-size: 1.4rem; }

.bambino-content {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.bambino-title {
  font-family: var(--font-title);
  font-size: 0.85rem;
  letter-spacing: 1px;
  color: #ffffff;
}

.bambino-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.bambino-price-tag {
  background: var(--accent-gold);
  color: #000;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1rem;
  padding: 6px 14px;
  border-radius: 30px;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(229, 185, 103, 0.3);
}

/* --- MODE COMPACT / NO IMAGE --- */
body.compact-mode .pizza-card .pizza-img-wrapper,
.pizza-card.no-image .pizza-img-wrapper {
  display: none !important;
}

body.compact-mode .pizza-card .pizza-details,
.pizza-card.no-image .pizza-details {
  max-width: 100% !important;
  width: 100% !important;
}

body.compact-mode .pizza-card,
.pizza-card.no-image {
  max-width: 800px;
  justify-content: flex-start;
}

body.compact-mode .pizza-card {
  gap: 0 !important;
  min-height: auto !important;
  padding: 15px 20px !important;
  margin-bottom: 15px !important;
}

/* --- BOUTON DE VUE FLOTTANT --- */
.floating-view-btn {
  position: fixed;
  bottom: 20px;
  left: 15px;
  z-index: 998;
  background: rgba(30, 30, 30, 0.9);
  color: var(--text-light);
  border: 1px solid rgba(229, 185, 103, 0.5);
  backdrop-filter: blur(8px);
  padding: 10px 16px;
  border-radius: 30px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.floating-view-btn:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  transform: translateY(-2px);
}

/* --- SECTION MODALES --- */
.modal-triggers-section {
  text-align: center;
  margin: 40px 0 80px;
  padding: 40px 20px;
  background: rgba(30, 30, 30, 0.5);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-triggers-section h3 {
  font-family: var(--font-title);
  font-size: 1.5rem;
  color: var(--accent-gold);
  margin-bottom: 15px;
}

.modal-triggers-section p { color: var(--text-muted); margin-bottom: 30px; }

.trigger-buttons { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }

.modal-btn {
  background: var(--bg-card);
  border: 1px solid var(--accent-gold);
  color: var(--text-light);
  padding: 15px 30px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.modal-btn:hover {
  background: var(--accent-gold);
  color: #000;
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(229, 185, 103, 0.4);
}

.modal-btn svg { width: 22px; height: 22px; fill: currentColor; }

.modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active { opacity: 1; pointer-events: auto; }

.modal-content {
  background: var(--bg-modal);
  border: 1px solid rgba(229, 185, 103, 0.3);
  border-radius: 20px;
  width: 100%;
  max-width: 650px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 35px;
  position: relative;
  box-shadow: 0 25px 50px rgba(0,0,0,0.8);
  transform: translateY(30px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content { transform: translateY(0); }

.modal-close {
  position: absolute;
  top: 20px; right: 20px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.8rem;
  cursor: pointer;
  transition: color 0.2s;
}

.modal-close:hover { color: var(--accent-gold); }

.modal-title {
  font-family: var(--font-title);
  font-size: 1.8rem;
  color: var(--accent-gold);
  margin-bottom: 25px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(229, 185, 103, 0.2);
}

.menu-list { list-style: none; }

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.menu-item-name { font-weight: 500; color: var(--text-light); }
.menu-item-desc { font-size: 0.85rem; color: var(--text-muted); display: block; margin-top: 2px; }
.menu-item-price { font-family: var(--font-title); color: var(--accent-gold); font-weight: 700; }

footer {
  text-align: center;
  padding: 50px 20px 100px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* --- RESPONSIVE TABLETTES & MOBILES --- */
@media (max-width: 820px) {
  .pizza-card, .pizza-card:nth-child(even) {
    flex-direction: column;
    gap: 25px;
    margin-bottom: 60px;
  }
  .pizza-img-wrapper, .pizza-details { max-width: 100%; width: 100%; }
  .slide-left, .slide-right { transform: translateY(50px) !important; }
  .story-card { padding: 20px; }
  .hero-location-btn { width: 90%; max-width: 340px; justify-content: space-between; }
  .floating-call-btn { bottom: 15px; right: 15px; padding: 12px 20px; font-size: 0.85rem; }
}

@media (max-width: 600px) {
  .bambino-pill-banner {
    flex-direction: column;
    border-radius: 20px;
    padding: 12px;
    text-align: center;
    margin: 15px auto 25px auto;
  }
  .bambino-content { text-align: center; }

  .floating-view-btn {
    width: 46px;
    height: 46px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
  }

  .floating-view-btn .view-text { display: none; }
  .floating-view-btn .view-icon { font-size: 1.2rem; }

  .floating-call-btn {
    padding: 10px 16px;
    font-size: 0.8rem;
    right: 12px;
  }
}