@import url('https://fonts.googleapis.com/css2?family=Pacifico&family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #f5d04d;
  --secondary: #000000;
  --white: #ffffff;
  --gray-light: #f9f9f9;
  --gray-mid: #e6e6e6;
  --gray-dark: #333;
  --uber-green: #06c167;
  --transition: 0.3s ease;
  --radius: 12px;
  --max-width: 1200px;
  --shadow: 0 4px 20px rgba(0,0,0,0.10);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', Arial, sans-serif;
  color: var(--gray-dark);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3 {
  line-height: 1.2;
}

h1 {
  font-family: 'Pacifico', cursive;
}

h2 {
  font-family: 'Pacifico', cursive;
  font-size: 2rem;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ─── HEADER ─── */
header {
  background-color: var(--primary);
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 200;
  height: 80px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.20);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  height: 80px;
}

.logo img {
  height: 52px;
  width: auto;
  pointer-events: none;
}

.logo-text {
  font-family: 'Pacifico', cursive;
  font-size: 1.6rem;
  color: var(--secondary);
  line-height: 1;
}

nav.desktop-nav ul {
  display: flex;
  list-style: none;
  gap: 0.5rem;
}

nav.desktop-nav a {
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  transition: background-color var(--transition);
}

nav.desktop-nav a:hover {
  background-color: rgba(0,0,0,0.12);
}

/* Hamburger */
.hamburger {
  display: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--secondary);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile Drawer */
.nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 300px;
  height: 100%;
  background-color: var(--primary);
  z-index: 1000;
  transition: right 0.3s ease;
  box-shadow: -4px 0 20px rgba(0,0,0,0.2);
  padding-top: 80px;
}

.nav-drawer.active { right: 0; }

.nav-drawer ul {
  list-style: none;
  padding: 1.5rem;
}

.nav-drawer ul li {
  margin-bottom: 0.5rem;
}

.nav-drawer ul li a {
  display: block;
  color: var(--secondary);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  transition: background-color var(--transition);
}

.nav-drawer ul li a:hover {
  background-color: rgba(0,0,0,0.10);
}

.close-btn {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--secondary);
  line-height: 1;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.overlay.active {
  display: block;
  opacity: 1;
}

/* ─── HERO / BANNER ─── */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--secondary);
  overflow: hidden;
  background-color: var(--primary);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/bienvenue.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.25;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 3rem 1.5rem;
  max-width: 860px;
}

.hero-badge {
  display: inline-block;
  background: var(--secondary);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.2rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  margin-bottom: 1.2rem;
  color: var(--secondary);
}

.hero p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  margin-bottom: 2rem;
  color: rgba(0,0,0,0.80);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.btn-dark {
  background: var(--secondary);
  color: var(--primary);
}

.btn-outline {
  background: transparent;
  color: var(--secondary);
  border: 2px solid var(--secondary);
}

.btn-yellow {
  background: var(--primary);
  color: var(--secondary);
  border: 2px solid var(--secondary);
}

.btn-green {
  background: var(--uber-green);
  color: var(--white);
}

.btn-green:hover {
  background: #05a65a;
}

/* ─── SECTIONS COMMUNES ─── */
.section {
  padding: 5rem 1.5rem;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary);
  background: var(--primary);
  padding: 0.25rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin-bottom: 1rem;
  color: var(--secondary);
}

.section-desc {
  font-size: 1.05rem;
  color: #555;
  max-width: 680px;
  line-height: 1.7;
}

/* ─── SECTION MENU ─── */
#menu {
  background: var(--gray-light);
  text-align: center;
}

#menu .section-inner {
  text-align: center;
}

#menu .section-title,
#menu .section-desc {
  margin-left: auto;
  margin-right: auto;
}

.menu-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.2rem;
  margin-top: 3rem;
}

.menu-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: default;
}

.menu-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.14);
}

.menu-card .icon {
  font-size: 2.4rem;
  margin-bottom: 0.8rem;
  display: block;
}

.menu-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.4rem;
}

.menu-card p {
  font-size: 0.8rem;
  color: #777;
}

.menu-cta {
  margin-top: 2.5rem;
}

/* ─── SECTION APP ─── */
#app {
  background: var(--white);
}

.app-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.app-phones {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: flex-end;
}

.app-phone {
  flex: 1;
  max-width: 160px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
  border: 3px solid var(--primary);
}

.app-phone img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 17px;
}

.app-phone.center {
  max-width: 180px;
  transform: translateY(-20px);
}

.app-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 2rem 0;
}

.app-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  background: var(--gray-light);
  border-radius: 10px;
  padding: 1rem;
}

.app-feature .feat-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.app-feature p {
  font-size: 0.85rem;
  color: #555;
  font-weight: 500;
}

.store-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--secondary);
  color: var(--white);
  padding: 0.7rem 1.3rem;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: opacity var(--transition), transform 0.2s ease;
}

.store-btn:hover {
  opacity: 0.85;
  transform: scale(1.03);
}

.store-btn img {
  height: 24px;
  width: auto;
  filter: invert(1);
}

.store-btn-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.store-btn-text small {
  font-size: 0.7rem;
  font-weight: 400;
  opacity: 0.8;
}

/* ─── SECTION LIVRAISON ─── */
#livraison {
  background: var(--secondary);
  color: var(--white);
}

.delivery-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.delivery-text .section-title {
  color: var(--uber-green);
}

.delivery-text .section-desc {
  color: rgba(255,255,255,0.80);
  margin-bottom: 2rem;
}

.delivery-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(255,255,255,0.08);
}

.delivery-image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.delivery-badges {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.delivery-badge {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ─── SECTION RESTAURANT ─── */
#restaurant {
  background: var(--gray-light);
}

.restaurant-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.restaurant-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin: 2rem 0;
}

.restaurant-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.info-icon {
  width: 44px;
  height: 44px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.info-text strong {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--secondary);
  margin-bottom: 0.1rem;
}

.info-text span {
  font-size: 0.88rem;
  color: #666;
}

.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 100%;
  min-height: 400px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: none;
  display: block;
}

.restaurant-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

/* ─── SECTION À PROPOS ─── */
#apropos {
  background: var(--white);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

.about-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.about-image-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: var(--primary);
  color: var(--secondary);
  border-radius: 10px;
  padding: 0.8rem 1.2rem;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: var(--shadow);
}

.about-image-badge span {
  display: block;
  font-size: 1.8rem;
  font-family: 'Pacifico', cursive;
  line-height: 1;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin: 2rem 0;
}

.value-card {
  background: var(--gray-light);
  border-radius: 10px;
  padding: 1.2rem;
  border-left: 4px solid var(--primary);
}

.value-card h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: var(--secondary);
}

.value-card p {
  font-size: 0.8rem;
  color: #666;
}

/* ─── FLOATING BUTTON ─── */
.floating-btn {
  position: fixed;
  right: 1.5rem;
  bottom: 2rem;
  z-index: 100;
  background: var(--primary);
  color: var(--secondary);
  border-radius: 50px;
  padding: 0.8rem 1.4rem;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  transition: transform 0.2s ease, opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
}

.floating-btn.visible {
  opacity: 1;
  pointer-events: all;
}

.floating-btn:hover {
  transform: translateY(-3px);
}

/* ─── FOOTER ─── */
footer {
  background: var(--secondary);
  color: var(--white);
  padding: 4rem 1.5rem 2rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo-text {
  color: var(--primary);
  font-size: 1.8rem;
  margin-bottom: 1rem;
  display: block;
}

.footer-brand p {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 0.8rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
  transition: all var(--transition);
}

.social-link:hover {
  background: var(--primary);
  color: var(--secondary);
  transform: translateY(-3px);
}

.footer-col-title {
  font-family: 'Pacifico', cursive;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 1.2rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.70);
}

.footer-contact-list li i {
  color: var(--primary);
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.footer-download-btns {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.footer-store-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 0.6rem 1rem;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  transition: all var(--transition);
}

.footer-store-btn:hover {
  background: var(--primary);
  color: var(--secondary);
  border-color: var(--primary);
}

.footer-store-btn img {
  height: 20px;
  width: auto;
  filter: invert(1);
}

.footer-store-btn:hover img {
  filter: invert(0);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-legal-links a {
  color: rgba(255,255,255,0.50);
  font-size: 0.82rem;
  transition: color var(--transition);
}

.footer-legal-links a:hover {
  color: var(--primary);
}

.footer-copyright {
  color: rgba(255,255,255,0.40);
  font-size: 0.82rem;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .app-layout,
  .delivery-layout,
  .restaurant-layout,
  .about-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .delivery-layout {
    direction: ltr;
  }

  .delivery-image {
    order: -1;
  }
}

@media (max-width: 768px) {
  nav.desktop-nav { display: none; }
  .hamburger { display: flex; }

  .hero {
    min-height: 500px;
  }

  .hero h1 { font-size: 2rem; }

  .section { padding: 3.5rem 1.2rem; }

  .menu-categories {
    grid-template-columns: repeat(2, 1fr);
  }

  .app-phones {
    max-width: 360px;
    margin: 0 auto;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.7rem; }
  .menu-categories { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
  .app-features { grid-template-columns: 1fr; }
  .delivery-badges { flex-direction: column; }
  .restaurant-ctas { flex-direction: column; }
}
