:root {
  --terracotta: #D4734A;
  --green: #2D5016;
  --cream: #FFF8F0;
  --charcoal: #2C2C2C;
  --gold: #C9A961;
  --white: #FFFFFF;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--charcoal);
  background-color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Navigation ─────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  padding: 1.2rem 0;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
  padding: 0.8rem 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--green);
  letter-spacing: 2px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: var(--charcoal);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  transition: var(--transition);
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--terracotta);
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active { color: var(--terracotta); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 25px; height: 3px;
  background: var(--charcoal);
  border-radius: 3px;
  transition: var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(8px, 8px); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }

/* ── Switcher de langue ─────────────────────────────────────────── */
.nav-lang-item {
  display: flex;
  align-items: center;
  margin-left: 0.5rem;
  padding-left: 1rem;
  border-left: 1px solid rgba(44, 44, 44, 0.15);
}

.lang-switcher {
  display: flex;
  gap: 0.25rem;
}

.lang-btn {
  background: transparent;
  border: 1.5px solid transparent;
  border-radius: 6px;
  color: var(--charcoal);
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.55rem;
  transition: var(--transition);
  line-height: 1;
}

.lang-btn:hover {
  border-color: var(--terracotta);
  color: var(--terracotta);
}

.lang-btn.active {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--white);
}

.lang-btn:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 2px;
}

/* ── Hero ───────────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--terracotta) 0%, var(--green) 100%);
  background-image: url('../images/hero-background.jpg');
  background-size: cover;
  background-position: center;
  z-index: -2;
}

.hero-background::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(212, 115, 74, 0.72) 0%, rgba(45, 80, 22, 0.72) 100%);
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.4) 100%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 20px;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease-out;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  letter-spacing: 4px;
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease-out 0.2s backwards;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.title-line {
  display: block;
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.9) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  margin-bottom: 0.5rem;
  opacity: 0.95;
  animation: fadeInUp 1s ease-out 0.4s backwards;
  font-weight: 300;
  letter-spacing: 1px;
}

.hero-text {
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  margin-bottom: 1rem;
  opacity: 0.85;
  animation: fadeInUp 1s ease-out 0.5s backwards;
}

/* Badge Ouvert / Fermé */
.open-badge {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease-out 0.6s backwards;
  letter-spacing: 0.3px;
}

.open-badge.open {
  background: rgba(40, 167, 69, 0.25);
  border: 1px solid rgba(40, 167, 69, 0.5);
  color: #90ee90;
}

.open-badge.closed {
  background: rgba(220, 53, 69, 0.2);
  border: 1px solid rgba(220, 53, 69, 0.4);
  color: #ffb3b3;
}

/* Note Google dans le hero */
.hero-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease-out 0.65s backwards;
}

.hero-rating .stars { color: #FFD700; font-size: 1.1rem; letter-spacing: 2px; }
.hero-rating .rating-text { font-size: 0.9rem; opacity: 0.9; }

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.8s backwards;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.1rem 2.5rem;
  background: var(--white);
  color: var(--terracotta);
  text-decoration: none;
  font-weight: 700;
  border-radius: 50px;
  transition: var(--transition);
  box-shadow: var(--shadow-lg);
  font-size: 1.05rem;
}

.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,0.25); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.1rem 2.5rem;
  background: transparent;
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  border-radius: 50px;
  transition: var(--transition);
  border: 2px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  font-size: 1.05rem;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  transform: translateY(-3px);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.mouse {
  width: 24px; height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 15px;
  position: relative;
}

.mouse::before {
  content: '';
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 8px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 2px;
  animation: scroll 2s infinite;
}

/* ── About ──────────────────────────────────────────────────────── */
.about-section { padding: 6rem 0; background: var(--cream); }

.about-content { max-width: 900px; margin: 0 auto; }

.about-description {
  font-size: 1.1rem;
  color: var(--charcoal);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-item {
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border-radius: 15px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.feature-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.feature-icon { font-size: 3rem; margin-bottom: 1rem; }
.feature-item h3 { font-size: 1.3rem; color: var(--green); margin-bottom: 0.5rem; }
.feature-item p { color: var(--charcoal); opacity: 0.7; }

/* ── Sections ───────────────────────────────────────────────────── */
section { padding: 6rem 0; }

.section-header { text-align: center; margin-bottom: 4rem; }

.section-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--green);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px; height: 4px;
  background: linear-gradient(90deg, var(--terracotta), var(--gold));
  margin: 1rem auto 0;
  border-radius: 2px;
}

.section-subtitle { font-size: 1.1rem; color: var(--charcoal); opacity: 0.7; margin-top: 0.75rem; }

/* ── Menu ───────────────────────────────────────────────────────── */
.menu-section { background: var(--white); }

.menu-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 3rem;
  align-items: center;
  justify-content: center;
}

.search-box {
  position: relative;
  flex: 1;
  min-width: 250px;
  max-width: 400px;
}

.search-icon {
  position: absolute;
  left: 1rem; top: 50%;
  transform: translateY(-50%);
  color: var(--charcoal);
  opacity: 0.5;
  pointer-events: none;
}

#pizza-search {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  border: 2px solid #e0e0e0;
  border-radius: 50px;
  font-size: 1rem;
  transition: var(--transition);
  background: var(--white);
}

#pizza-search:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(212, 115, 74, 0.1);
}

.category-filters { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.filter-btn {
  padding: 0.8rem 1.8rem;
  background: var(--cream);
  color: var(--charcoal);
  border: 2px solid transparent;
  border-radius: 50px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
  white-space: nowrap;
}

.filter-btn:hover { background: var(--terracotta); color: var(--white); transform: translateY(-2px); }
.filter-btn.active { background: var(--terracotta); color: var(--white); border-color: var(--terracotta); }

.sort-controls select {
  padding: 0.8rem 1.5rem;
  border: 2px solid #e0e0e0;
  border-radius: 50px;
  font-size: 0.95rem;
  background: var(--white);
  cursor: pointer;
  transition: var(--transition);
}

.sort-controls select:focus { outline: none; border-color: var(--terracotta); }

.loading-spinner { text-align: center; padding: 4rem; }

.spinner {
  width: 50px; height: 50px;
  border: 4px solid var(--cream);
  border-top-color: var(--terracotta);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

.no-results { text-align: center; padding: 4rem; color: var(--charcoal); opacity: 0.6; font-size: 1.1rem; }

.pizzas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.8rem;
  margin-bottom: 4rem;
}

.pizza-card {
  background: var(--white);
  border-radius: 18px;
  padding: 1.8rem;
  transition: var(--transition);
  border: 2px solid transparent;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.pizza-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--terracotta), var(--gold));
  transform: scaleX(0);
  transition: var(--transition);
}

.pizza-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(212,115,74,0.3); }
.pizza-card:hover::before { transform: scaleX(1); }

.pizza-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
  gap: 1rem;
}

.pizza-name { font-size: 1.3rem; font-weight: 700; color: var(--green); flex: 1; line-height: 1.3; }
.pizza-price { font-size: 1.7rem; font-weight: 700; color: var(--terracotta); white-space: nowrap; font-family: 'Inter', sans-serif; }
.pizza-ingredients { font-size: 0.9rem; color: var(--charcoal); opacity: 0.8; line-height: 1.6; margin-bottom: 1rem; min-height: 2.8em; }

.pizza-category {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  background: var(--green);
  color: var(--white);
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pizza-category.cat-blanche { background: var(--charcoal); }

/* Boissons & Suppléments */
.extras-section {
  margin-top: 4rem;
  padding: 3rem;
  background: linear-gradient(135deg, var(--cream) 0%, rgba(212, 115, 74, 0.05) 100%);
  border-radius: 20px;
  border: 1px solid rgba(212, 115, 74, 0.1);
}

.extras-title { font-size: 2rem; color: var(--green); text-align: center; margin-bottom: 2rem; }

.extras-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.extras-subtitle {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--terracotta);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(212,115,74,0.2);
}

.extras-grid { display: flex; flex-direction: column; gap: 0.75rem; }

.extra-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 1.2rem;
  background: var(--white);
  border-radius: 10px;
  border-left: 3px solid var(--terracotta);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.extra-item:hover { transform: translateX(4px); }
.extra-item span:first-child { font-weight: 500; color: var(--charcoal); font-size: 0.95rem; }
.extra-item span:last-child { font-weight: 700; color: var(--terracotta); font-size: 1rem; white-space: nowrap; }

/* ── Avis Clients ───────────────────────────────────────────────── */
.reviews-section { background: var(--cream); }

.global-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.rating-big {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  font-weight: 900;
  color: var(--terracotta);
  line-height: 1;
}

.rating-stars-big { font-size: 1.8rem; color: #FFD700; line-height: 1; }
.rating-count { font-size: 0.95rem; color: var(--charcoal); opacity: 0.7; }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.8rem;
  margin-top: 3rem;
}

.review-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--gold);
  transition: var(--transition);
}

.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.review-stars { color: #FFD700; font-size: 1.1rem; margin-bottom: 1rem; letter-spacing: 2px; }
.review-text { font-size: 0.97rem; line-height: 1.7; color: var(--charcoal); margin-bottom: 1rem; font-style: italic; }
.review-author { font-size: 0.85rem; color: var(--terracotta); font-weight: 600; }

/* ── Contact & Horaires ─────────────────────────────────────────── */
.contact-section { background: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.info-card {
  background: var(--cream);
  padding: 2.5rem;
  border-radius: 20px;
  text-align: center;
  border: 2px solid transparent;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.info-card:hover { border-color: var(--terracotta); transform: translateY(-5px); box-shadow: var(--shadow-md); }

.info-icon {
  width: 64px; height: 64px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--terracotta), var(--gold));
  border-radius: 50%;
  color: var(--white);
}

.info-card h3 { color: var(--green); margin-bottom: 0.75rem; font-size: 1.4rem; }
.info-card p { color: var(--charcoal); margin-bottom: 1.5rem; font-size: 1.05rem; line-height: 1.6; }

/* Bouton contact */
.info-card .btn-secondary {
  padding: 0.75rem 1.5rem;
  background: var(--terracotta);
  color: var(--white);
  text-decoration: none;
  border-radius: 50px;
  transition: var(--transition);
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.info-card .btn-secondary:hover { background: var(--green); transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* Horaires */
.hours-card {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--green) 0%, #1a3a0d 100%);
  color: var(--white);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

.hours-card h3 { font-size: 2rem; margin-bottom: 0.5rem; text-align: center; color: var(--white); }

.hours-note {
  text-align: center;
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.hours-list { display: flex; flex-direction: column; gap: 0.75rem; max-width: 600px; margin: 0 auto; }

.hour-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  transition: var(--transition);
}

.hour-item:hover { background: rgba(255, 255, 255, 0.15); }
.hour-day { font-weight: 600; font-size: 1rem; }
.hour-time { font-weight: 500; font-size: 0.95rem; }
.hour-time.closed { color: #ff9999; font-style: italic; }

/* Services */
.services-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.service-badge {
  padding: 0.6rem 1.4rem;
  background: var(--cream);
  border: 2px solid rgba(45, 80, 22, 0.2);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--green);
}

/* ── Footer ─────────────────────────────────────────────────────── */
.footer {
  background: var(--charcoal);
  color: var(--white);
  text-align: center;
  padding: 3rem 0;
}

.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 3px;
  margin-bottom: 0.5rem;
}

.footer p { margin: 0.4rem 0; opacity: 0.75; font-size: 0.95rem; }
.footer-copy { font-size: 0.8rem; margin-top: 1rem; }

.footer-links { margin: 1.2rem 0; }

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.4rem;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  text-decoration: none;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
}

.footer-social:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px); }

.admin-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.2rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  text-decoration: none;
  border-radius: 25px;
  font-size: 0.8rem;
  opacity: 0.5;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.admin-link:hover { opacity: 1; background: rgba(255, 255, 255, 0.15); }

/* ── Sticky CTA (mobile) ────────────────────────────────────────── */
.sticky-call {
  display: none;
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  background: var(--terracotta);
  color: var(--white);
  text-decoration: none;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 6px 24px rgba(212, 115, 74, 0.5);
  align-items: center;
  gap: 0.75rem;
  transition: var(--transition);
  animation: slideUpIn 0.5s ease-out 1s backwards;
}

.sticky-call:hover { background: var(--green); box-shadow: 0 8px 28px rgba(45, 80, 22, 0.4); transform: translateX(-50%) translateY(-3px); }

/* ── Animations ─────────────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideUpIn {
  from { opacity: 0; transform: translateX(-50%) translateY(30px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

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

@keyframes scroll {
  0%   { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(15px); }
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Scroll animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── Responsive 768px ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .mobile-menu-toggle { display: flex; }

  .nav-menu {
    position: fixed;
    top: 65px; left: -100%;
    width: 100%;
    height: calc(100vh - 65px);
    background: var(--white);
    flex-direction: column;
    padding: 2rem;
    gap: 1rem;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
  }

  .nav-menu.active { left: 0; }
  .nav-link { font-size: 1.15rem; padding: 0.9rem 0; width: 100%; text-align: center; }
  .navbar { padding: 0.8rem 0; }
  .nav-brand { font-size: 1.5rem; }

  .nav-lang-item {
    justify-content: center;
    margin-left: 0;
    padding-left: 0;
    padding-top: 1rem;
    border-left: none;
    border-top: 1px solid rgba(44, 44, 44, 0.12);
    width: 100%;
  }

  .lang-btn { font-size: 0.85rem; padding: 0.5rem 0.9rem; }

  .hero { min-height: 80vh; padding-top: 80px; }
  .hero-title { font-size: clamp(2.5rem, 12vw, 4rem); letter-spacing: 2px; }
  .hero-subtitle { font-size: clamp(1rem, 4vw, 1.3rem); }
  .hero-text { font-size: 0.9rem; }
  .hero-buttons { flex-direction: column; gap: 1rem; width: 100%; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; padding: 1rem 2rem; }

  section { padding: 4rem 0; }
  .section-title { font-size: clamp(2rem, 8vw, 2.8rem); }
  .about-features { grid-template-columns: 1fr; gap: 1.5rem; margin-top: 2rem; }
  .feature-item { padding: 1.5rem; }
  .about-description { font-size: 1rem; }

  .menu-controls { flex-direction: column; align-items: stretch; gap: 1rem; margin-bottom: 2rem; }
  .search-box { min-width: 100%; max-width: 100%; }
  .category-filters { justify-content: center; }
  .filter-btn { flex: 1; min-width: calc(50% - 0.5rem); text-align: center; }
  .sort-controls select { width: 100%; }

  .pizzas-grid { grid-template-columns: 1fr; gap: 1.2rem; margin-bottom: 2.5rem; }
  .pizza-card { padding: 1.4rem; }
  .pizza-header { flex-wrap: wrap; gap: 0.5rem; }
  .pizza-name { font-size: 1.2rem; width: 100%; }
  .pizza-price { font-size: 1.5rem; }
  .pizza-ingredients { font-size: 0.88rem; min-height: auto; }

  .extras-section { padding: 2rem 1.2rem; margin-top: 2.5rem; }
  .extras-title { font-size: 1.6rem; }
  .extras-columns { grid-template-columns: 1fr; gap: 1.5rem; }

  .reviews-grid { grid-template-columns: 1fr; gap: 1.2rem; margin-top: 2rem; }
  .review-card { padding: 1.5rem; }
  .global-rating { flex-direction: column; gap: 0.5rem; }
  .rating-big { font-size: 3rem; }

  .contact-grid { grid-template-columns: 1fr; }
  .info-card { padding: 2rem 1.5rem; }
  .hours-card { padding: 2rem 1.5rem; }
  .hours-card h3 { font-size: 1.6rem; }
  .hour-item { padding: 0.8rem 1.2rem; }
  .services-row { gap: 0.75rem; }
  .service-badge { font-size: 0.85rem; padding: 0.5rem 1rem; }

  .footer { padding: 2.5rem 0; }
  .footer-brand { font-size: 1.6rem; }

  /* Sticky CTA visible sur mobile */
  .sticky-call { display: inline-flex; }

  /* Ajouter de la place en bas pour le sticky CTA */
  .footer { padding-bottom: 5rem; }
}

/* ── Responsive 480px ───────────────────────────────────────────── */
@media (max-width: 480px) {
  .container { padding: 0 15px; }
  .hero-title { font-size: 2.2rem; }
  .section-title { font-size: 1.8rem; }
  .filter-btn { min-width: 100%; }
  .pizza-card { padding: 1.2rem; }
  .extras-section { padding: 1.5rem 1rem; }
  .extra-item { padding: 0.75rem 1rem; font-size: 0.9rem; }
  .info-card { padding: 1.5rem 1.2rem; }
  .hours-card { padding: 1.5rem 1.2rem; }
  .hero-buttons { padding: 0; }
}

/* ── Touch devices ──────────────────────────────────────────────── */
@media (hover: none) and (pointer: coarse) {
  .nav-link { min-height: 44px; padding: 0.9rem 0; }
  .filter-btn { min-height: 44px; }
  .btn-primary, .btn-secondary { min-height: 48px; }
  .pizza-card:hover, .feature-item:hover, .info-card:hover { transform: none; }
  .filter-btn:active { transform: scale(0.97); opacity: 0.9; }
  .btn-primary:active, .btn-secondary:active { transform: scale(0.98); }
  .sticky-call:hover { transform: translateX(-50%); }
}

/* ── Paysage mobile ─────────────────────────────────────────────── */
@media (max-width: 768px) and (orientation: landscape) {
  .hero { min-height: 100vh; }
  .hero-title { font-size: 2.5rem; }
  .hero-buttons { flex-direction: row; flex-wrap: wrap; }
  .btn-primary, .btn-secondary { width: auto; flex: 1; min-width: 200px; }
}
