/* ═══════════════════════════════════════════════════
   FANTASIA — Pâtes Artisanales
   Design System · Minimalisme Premium
   ═══════════════════════════════════════════════════ */

/* ── CSS Custom Properties ────────────────────────── */
:root {
  /* Palette */
  --white:       #FFFFFF;
  --red:         #E31B23;
  --red-dark:    #C4151C;
  --green:       #00A651;
  --green-dark:  #008C44;
  --gold:        #F4E7CC;
  --gold-light:  #FAF4E8;
  --ink:         #1A1A1A;
  --ink-soft:    #3A3A3A;
  --grey-light:  #F8F8F8;
  --grey-mid:    #E0E0E0;
  --grey-text:   #6B6B6B;

  /* Typography */
  --font-serif:  'Playfair Display', Georgia, serif;
  --font-sans:   'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-hand:   'Caveat', cursive;

  /* Spacing */
  --space-xs:   0.5rem;
  --space-sm:   1rem;
  --space-md:   2rem;
  --space-lg:   4rem;
  --space-xl:   6rem;
  --space-2xl:  10rem;

  /* Transitions */
  --ease-out:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration:   0.5s;

  /* Layout */
  --max-width:  1200px;
  --nav-height: 72px;
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;
}

/* ── Reset & Base ─────────────────────────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html, body {
  font-family: var(--font-sans);
  color: var(--ink);
  background-color: var(--white);
  line-height: 1.7;
  overflow-x: hidden !important;
  max-width: 100vw;
}

/* Ghost Pasta Background Pattern — ultra subtle */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.015;
  background-image:
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 10 C35 10, 40 15, 40 20 C40 25, 38 28, 35 30 C32 32, 28 32, 25 30 C22 28, 20 25, 20 20 C20 15, 25 10, 30 10 Z' fill='none' stroke='%231A1A1A' stroke-width='1'/%3E%3Cpath d='M25 30 C25 35, 27 42, 30 48' fill='none' stroke='%231A1A1A' stroke-width='0.8'/%3E%3Cpath d='M35 30 C35 35, 33 42, 30 48' fill='none' stroke='%231A1A1A' stroke-width='0.8'/%3E%3Cpath d='M28 30 C28 36, 29 43, 30 48' fill='none' stroke='%231A1A1A' stroke-width='0.6'/%3E%3Cpath d='M32 30 C32 36, 31 43, 30 48' fill='none' stroke='%231A1A1A' stroke-width='0.6'/%3E%3C/svg%3E");
  background-size: 80px 80px;
}

body > * {
  position: relative;
  z-index: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

/* ── Typography ───────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

h1 { font-size: clamp(2.8rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p {
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  color: var(--ink-soft);
  max-width: 60ch;
}

/* ── Utility Classes ──────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: var(--space-sm);
}

@keyframes pulse-glow {
  0% { box-shadow: 0 0 0 0 rgba(227, 27, 35, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(227, 27, 35, 0); }
  100% { box-shadow: 0 0 0 0 rgba(227, 27, 35, 0); }
}

.btn--pulse {
  animation: pulse-glow 2s infinite;
  background-color: var(--red) !important;
  border-color: var(--red) !important;
  color: var(--white) !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.btn--pulse:hover {
  background-color: var(--red-dark) !important;
  border-color: var(--red-dark) !important;
  transform: translateY(-2px);
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--red);
  border-radius: 1px;
}

.accent-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  margin-left: 0.25rem;
  vertical-align: super;
}

/* ── Scroll Reveal ────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ═══════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-hand);
  font-size: 2rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.02em;
}

.nav__logo-img {
  height: 100px;
  width: auto;
  object-fit: contain;
}

.nav__logo span {
  color: var(--green);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav__link {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  transition: color 0.3s var(--ease-out);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1.5px;
  background: var(--red);
  transition: width 0.3s var(--ease-out);
}

.nav__link:hover {
  color: var(--red);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  background: var(--red);
  border-radius: var(--radius-sm);
  transition: background 0.3s var(--ease-out), transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.nav__cta:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(227, 27, 35, 0.25);
}

/* Mobile Menu Toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.3s var(--ease-out);
}

/* ═══════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  position: relative;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/images/image_fond_haut_de_page.webp');
  background-size: cover;
  background-position: center top;
  z-index: 0;
  filter: blur(1px);
  opacity: 0.75;
  mask-image: linear-gradient(to bottom, black 15%, transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, black 15%, transparent 85%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-lg);
}

.hero__content {
  padding: var(--space-lg) 0;
}

.hero__title {
  color: var(--ink);
  margin-bottom: var(--space-md);
}

.hero__title em {
  font-family: var(--font-hand);
  font-style: normal;
  color: var(--red);
  position: relative;
  font-size: 1.25em;
  display: inline-block;
  line-height: 1;
}

.hero__title em::after {
  content: '';
  position: absolute;
  left: -2%;
  bottom: 0.1em;
  width: 104%;
  height: 0.12em;
  background: var(--gold);
  border-radius: 4px;
  z-index: -1;
  transform: rotate(-2deg);
}

.hero__subtitle {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--grey-text);
  margin-bottom: var(--space-md);
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  transition: all 0.35s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.btn--primary {
  color: var(--white);
  background: var(--red);
  border: 2px solid var(--red);
}

.btn--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--red-dark);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
  z-index: -1;
}

.btn--primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(227, 27, 35, 0.2);
}

.btn--primary:hover::before {
  transform: scaleX(1);
}

.btn--ghost {
  color: var(--ink);
  background: transparent;
  border: 2px solid var(--grey-mid);
}

.btn--ghost:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

/* Hero Visual */
.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero__image-wrapper {
  position: relative;
  width: 75%;
  max-width: 320px;
}

.hero__image-wrapper::before {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-light) 0%, transparent 70%);
  z-index: -1;
  animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.05); }
}

.hero__image {
  width: 100%;
  border-radius: var(--radius-lg);
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.08))
          drop-shadow(0 8px 16px rgba(0, 0, 0, 0.04));
  transition: transform 0.6s var(--ease-out);
}

.hero__image:hover {
  transform: scale(1.02) translateY(-4px);
}

/* Floating badge */
.hero__badge {
  position: absolute;
  bottom: 10%;
  left: -10%;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.25rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

.hero__badge-icon {
  width: 32px;
  height: 32px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--white);
}

.hero__badge-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}

.hero__badge-text small {
  font-weight: 400;
  color: var(--grey-text);
  display: block;
  font-size: 0.7rem;
}

/* ═══════════════════════════════════════════════════
   FAIT MAISON BANNER
   ═══════════════════════════════════════════════════ */
.fait-maison-banner {
  background: var(--red);
  padding: 1rem 0;
  color: var(--white);
  box-shadow: 0 4px 15px rgba(227, 27, 35, 0.2);
  margin-top: -30px;
  position: relative;
  z-index: 10;
}

.fait-maison-banner__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.fait-maison-banner__icon {
  font-size: 1.5rem;
}

.fait-maison-banner__text {
  font-family: var(--font-hand);
  font-size: 1.8rem;
  font-weight: 500;
  margin: 0;
  color: var(--white);
  letter-spacing: 0.02em;
}

/* ═══════════════════════════════════════════════════
   STATS / CHIFFRES SECTION
   ═══════════════════════════════════════════════════ */
.stats {
  padding: var(--space-xl) 0;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  text-align: center;
}

.stat {
  padding: var(--space-md) 0;
}

.stat__number {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 700;
  color: var(--red);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat__suffix {
  font-size: 0.6em;
  color: var(--green);
}

.stat__label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--grey-text);
  letter-spacing: 0.03em;
}

.stat__divider {
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
  margin: 0.6rem auto 0;
}

/* ═══════════════════════════════════════════════════
   ABOUT / STORY SECTION
   ═══════════════════════════════════════════════════ */
.story {
  padding: var(--space-2xl) 0;
}

.story__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-xl);
}

.story__image-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.story__image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  transition: transform 0.6s var(--ease-out);
}

.story__image:hover {
  transform: scale(1.03);
}

.story__image-accent {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 80px;
  height: 80px;
  border: 3px solid var(--gold);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.story__content h2 {
  color: var(--ink);
  margin-bottom: var(--space-sm);
}

.story__content h2 em {
  font-style: normal;
  color: var(--red);
}

.story__text {
  margin-bottom: var(--space-md);
}

.story__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.story__feature {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.story__feature-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  background: var(--gold-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  margin-top: 2px;
}

.story__feature-text {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-soft);
  line-height: 1.4;
}

/* ═══════════════════════════════════════════════════
   MENU / LA CARTE
   ═══════════════════════════════════════════════════ */
.menu {
  padding: var(--space-2xl) 0;
  background: var(--grey-light);
}

.menu__header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.menu__header h2 {
  color: var(--ink);
}

.menu__header p {
  margin: var(--space-sm) auto 0;
}

/* Info Bubbles */
.menu__info-bubbles {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.info-bubble {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 0.6rem 1.2rem;
  border-radius: 40px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-soft);
  line-height: 1.4;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-bubble:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

.info-bubble__icon {
  font-size: 1.2rem;
  background: var(--white);
  width: 32px;
  height: 32px;
  min-width: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* Tabs */
.swipe-hint {
  display: none;
  font-size: 0.8rem;
  color: var(--grey-text);
  margin-bottom: 0.5rem;
  text-align: center;
  font-style: italic;
}

.menu__tabs {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: var(--space-lg);
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 0.3rem;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.menu__tab {
  padding: 0.65rem 1.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--grey-text);
  border-radius: var(--radius-sm);
  transition: all 0.3s var(--ease-out);
  letter-spacing: 0.01em;
}

.menu__tab:hover {
  color: var(--ink);
}

.menu__tab.active {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(227, 27, 35, 0.2);
}

/* Tab content */
.menu__content {
  position: relative;
  min-height: 400px;
}

.menu__panel {
  display: none;
  animation: fadeInPanel 0.45s var(--ease-out);
}

.menu__panel.active {
  display: block;
}

@keyframes fadeInPanel {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Menu Grid */
.menu__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-md);
}

/* Menu Card */
.menu-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-sm);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.menu-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.menu-card__info {
  flex: 1;
}

.menu-card__name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.3rem;
}

.menu-card__desc {
  font-size: 0.82rem;
  color: var(--grey-text);
  line-height: 1.5;
}

.menu-card__tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green);
  background: rgba(0, 166, 81, 0.08);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  margin-top: 0.5rem;
}

.menu-card__price {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--red);
  white-space: nowrap;
  min-width: fit-content;
}

.menu-card__price small {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--grey-text);
  display: block;
  text-align: right;
}

/* ═══════════════════════════════════════════════════
   CTA / BANNER
   ═══════════════════════════════════════════════════ */
.cta-banner {
  padding: var(--space-xl) 0;
}

.cta-banner__inner {
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner__inner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 27, 35, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner__inner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 166, 81, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: var(--space-sm);
  position: relative;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.6);
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
  line-height: 1.6;
}

.contact__map {
  margin: 2rem -1.5rem; /* Pull out of padding on mobile */
  overflow: hidden;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

@media (min-width: 768px) {
  .contact__map {
    margin: 2rem auto;
    border-radius: var(--radius-md);
    max-width: 900px;
  }
}

.cta-banner .btn--primary {
  background: var(--red);
  border-color: var(--red);
  position: relative;
}

.cta-banner .btn--ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.2);
}

.cta-banner .btn--ghost:hover {
  border-color: var(--white);
}

.cta-banner__actions {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  position: relative;
}

/* ═══════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════ */
.footer {
  padding: var(--space-xl) 0 var(--space-md);
  background: var(--gold-light);
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer__brand-name {
  font-family: var(--font-hand);
  font-size: 2rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: var(--space-xs);
}

.footer__brand-name span {
  color: var(--green);
}

.footer__brand-desc {
  font-size: 0.85rem;
  color: var(--grey-text);
  line-height: 1.7;
  max-width: 30ch;
}

.footer__social {
  display: flex;
  gap: 0.5rem;
  margin-top: var(--space-sm);
}

.footer__social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--grey-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--ink-soft);
  transition: all 0.3s var(--ease-out);
}

.footer__social-link:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  transform: translateY(-2px);
}

.footer__col h4 {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink);
  margin-bottom: var(--space-sm);
}

.footer__col li {
  margin-bottom: 0.6rem;
}

.footer__col a,
.footer__col p {
  font-size: 0.85rem;
  color: var(--grey-text);
  transition: color 0.3s;
  line-height: 1.5;
}

.footer__col a:hover {
  color: var(--red);
}

.footer__bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.footer__copyright {
  font-size: 0.78rem;
  color: var(--grey-text);
}

.footer__legal {
  display: flex;
  gap: var(--space-md);
}

.footer__legal a {
  font-size: 0.78rem;
  color: var(--grey-text);
  transition: color 0.3s;
}

.footer__legal a:hover {
  color: var(--red);
}

/* ═══════════════════════════════════════════════════
   PASTA CAROUSEL
   ═══════════════════════════════════════════════════ */
.pasta-carousel {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  height: 650px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-item {
  position: absolute;
  width: 340px;
  transition: all 0.6s var(--ease-spring);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  z-index: 1;
  transform: translateX(0) scale(0.5);
  pointer-events: none;
}

.carousel-pot-img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.15));
  transition: filter 0.6s var(--ease-out);
}

.carousel-pot-name {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--ink);
  margin-top: 1rem;
  text-align: center;
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* 3D States */
.carousel-item.active {
  opacity: 1;
  z-index: 3;
  transform: translateX(0) scale(1);
  pointer-events: auto;
  animation: pastaFloat 4s ease-in-out infinite;
}

.carousel-item.active .carousel-pot-img {
  filter: drop-shadow(0 30px 40px rgba(0,0,0,0.2));
}

.carousel-item.active .carousel-pot-name {
  opacity: 1;
  transform: translateY(0);
}

.carousel-item.prev {
  opacity: 0.8;
  z-index: 2;
  transform: translateX(-260px) scale(0.7);
  pointer-events: auto;
}

.carousel-item.next {
  opacity: 0.8;
  z-index: 2;
  transform: translateX(260px) scale(0.7);
  pointer-events: auto;
}

.carousel-item.prev .carousel-pot-img,
.carousel-item.next .carousel-pot-img {
  filter: blur(4px) drop-shadow(0 10px 15px rgba(0,0,0,0.1));
}

@keyframes pastaFloat {
  0%, 100% { transform: translateX(0) translateY(0) scale(1) rotate(-1deg); }
  50% { transform: translateX(0) translateY(-15px) scale(1) rotate(1.5deg); }
}

/* Info Panel */
.carousel-info {
  position: absolute;
  top: 55%;
  width: 320px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  transition: all 0.4s var(--ease-out);
  pointer-events: none;
  border: 1px solid rgba(255,255,255,0.5);
  text-align: left;
}

.carousel-item.active.show-info .carousel-info {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  z-index: 4;
}

.carousel-info .menu-card__name {
  font-size: 1.2rem;
}

.carousel-info .menu-card__price {
  margin-top: 0.5rem;
}

/* Controls */
.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--ink);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  z-index: 10;
  transition: all 0.3s;
}

.carousel-control:hover {
  background: var(--red);
  color: var(--white);
  transform: translateY(-50%) scale(1.1);
}

.carousel-control.prev { left: 0; }
.carousel-control.next { right: 0; }

.carousel-hint {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.8rem;
  color: var(--grey-text);
  letter-spacing: 0.05em;
  opacity: 0.6;
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════
   TRAITEUR PAGE
   ═══════════════════════════════════════════════════ */
.hero--traiteur {
  padding-bottom: var(--space-xl);
}

.services {
  padding: var(--space-xl) 0 var(--space-2xl);
}

.catering-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.catering-card {
  background: var(--white);
  padding: var(--space-lg) var(--space-md);
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  transition: transform 0.3s var(--ease-out);
  border: 1px solid rgba(0,0,0,0.04);
}

.catering-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.catering-card__icon {
  width: 60px;
  height: 60px;
  background: var(--gold-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto var(--space-sm);
}

.catering-card__title {
  font-family: var(--font-serif);
  color: var(--ink);
  font-size: 1.3rem;
  margin-bottom: var(--space-xs);
}

.catering-card__desc {
  color: var(--grey-text);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Formulaire Contact */
.contact {
  padding: var(--space-2xl) 0;
  background: var(--grey-light);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.contact__content h2 {
  color: var(--ink);
  margin-bottom: var(--space-sm);
}

.contact__content h2 em {
  font-style: normal;
  color: var(--red);
}

.contact__content p {
  color: var(--grey-text);
  margin-bottom: var(--space-md);
  font-size: 1.05rem;
}

.contact__features {
  list-style: none;
  padding: 0;
}

.contact__features li {
  color: var(--ink);
  font-weight: 500;
  margin-bottom: var(--space-xs);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact__form-wrapper {
  background: var(--white);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 40px rgba(0,0,0,0.06);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.form-row {
  display: flex;
  gap: var(--space-sm);
}

.form-row .form-group {
  flex: 1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--ink);
  transition: all 0.3s;
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(227, 27, 35, 0.1);
}

.form-group textarea {
  resize: vertical;
}

.btn--full {
  width: 100%;
  margin-top: var(--space-xs);
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__content {
    padding: var(--space-lg) 0 var(--space-md);
  }
  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero__actions {
    justify-content: center;
  }
  .hero__visual {
    order: -1;
  }
  .hero__badge {
    left: auto;
    right: -5%;
    bottom: 5%;
  }
  .story__inner {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    text-align: center;
  }
  .story__features {
    justify-content: center;
    justify-items: start;
    max-width: max-content;
    margin: 0 auto;
  }
  .story__image-container {
    max-width: 480px;
    margin: 0 auto;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ═══════════════════════════════════════════════════
   LEGAL PAGE
   ═══════════════════════════════════════════════════ */
.legal-header {
  padding: 120px 0 60px;
  background: var(--grey-light);
  text-align: center;
}

.legal-header h1 {
  font-size: 2.5rem;
  color: var(--ink);
  margin-bottom: var(--space-sm);
}

.legal-header h1 em {
  color: var(--red);
  font-style: italic;
  font-family: var(--font-serif);
  font-weight: 600;
  display: inline-block;
  word-break: break-word;
}

.legal-content {
  padding: var(--space-2xl) 0;
}

.legal-container {
  max-width: 800px;
  margin: 0 auto;
}

.legal-section {
  margin-bottom: var(--space-xl);
}

.legal-section h2 {
  font-size: 1.8rem;
  color: var(--ink);
  margin-bottom: var(--space-md);
  border-bottom: 2px solid var(--gold-light);
  padding-bottom: var(--space-sm);
  display: inline-block;
}

.legal-section h3 {
  font-size: 1.2rem;
  color: var(--ink-soft);
  margin: var(--space-lg) 0 var(--space-sm);
  font-weight: 600;
}

.legal-section p, 
.legal-section ul {
  font-size: 1.05rem;
  color: var(--grey-text);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.legal-section ul {
  padding-left: 1.5rem;
}

.legal-section li {
  margin-bottom: 0.5rem;
}

.legal-section a {
  color: var(--red);
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.3s;
}

.legal-section a:hover {
  text-decoration-color: var(--red);
}

.legal-divider {
  border: 0;
  height: 1px;
  background: rgba(0,0,0,0.08);
  margin: var(--space-2xl) 0;
}

@media (max-width: 768px) {
  :root {
    --space-xl: 3rem;
    --space-2xl: 4.5rem;
    --nav-height: 64px;
  }
  
  h1 { font-size: 3rem; }
  h2 { font-size: 2.2rem; }
  h3 { font-size: 1.5rem; }

  .nav__links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: var(--space-md);
    gap: var(--space-sm);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  }

  .nav__links.open {
    display: flex;
  }

  .nav__toggle {
    display: flex;
    align-self: center;
  }

  .nav__toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav__toggle.open span:nth-child(2) {
    opacity: 0;
  }
  .nav__toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 1rem;
  }
  
  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }
  
  .hero__visual {
    display: none;
  }
  
  .fait-maison-banner {
    padding: 0.5rem 0;
    margin-top: 1.5rem;
  }
  
  .fait-maison-banner__inner {
    flex-direction: row;
    gap: 0.5rem;
  }
  
  .fait-maison-banner__icon {
    font-size: 1.2rem;
  }
  
  .fait-maison-banner__text {
    font-size: 1rem;
    line-height: 1.2;
  }

  .stats__grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .story__features {
    grid-template-columns: 1fr;
  }

  .menu__grid, .catering-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: var(--space-md);
    padding-bottom: 1rem;
  }
  
  .menu__grid::-webkit-scrollbar, .catering-grid::-webkit-scrollbar {
    display: none;
  }
  
  .menu-card, .catering-card {
    flex: 0 0 85%;
    flex-direction: column !important;
    text-align: center;
    gap: 1rem !important;
    padding: 1.5rem 1rem !important;
    max-width: none !important;
  }
  
  .menu-card__visual {
    margin: 0 auto;
  }
  
  /* Reset manual scales on mobile to prevent overflow */
  .menu-card img {
    transform: none !important;
  }
  
  .menu-card__price {
    align-self: center !important;
    align-items: center !important;
    margin-top: 0.5rem;
  }

  .pasta-carousel { height: 400px; }
  .carousel-item { width: 160px; }
  .carousel-item.prev { transform: translateX(-90px) scale(0.65); }
  .carousel-item.next { transform: translateX(90px) scale(0.65); }
  .carousel-info { width: 280px; left: 50%; transform: translateX(-50%) translateY(20px) scale(0.9); }
  .carousel-item.active.show-info .carousel-info { transform: translateX(-50%) translateY(0) scale(1); }
  .carousel-control.prev { left: -5px; }
  .carousel-control.next { right: -5px; }

  .cta-banner {
    padding: var(--space-md) 0;
  }

  .cta-banner__inner {
    padding: var(--space-xl) var(--space-md);
  }
  
  .cta-banner__actions {
    flex-direction: column;
    width: 100%;
  }
  
  .cta-banner__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .contact__map iframe {
    height: 250px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .contact__inner {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    text-align: center;
  }

  .contact__content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .contact__features {
    text-align: left;
    max-width: 320px;
  }

  .contact__form-wrapper {
    padding: var(--space-md);
    margin: 1rem auto 0;
    width: 100%;
    max-width: 500px;
    text-align: left;
  }

  .form-row {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .swipe-hint {
    display: block;
  }

  .hero__badge {
    display: none;
  }

  .menu__tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    justify-content: flex-start;
    padding: 0.5rem 0;
    gap: 0.5rem;
    background: transparent;
    width: 100%;
  }
  
  .menu__tabs::-webkit-scrollbar {
    display: none;
  }
  
  .menu__tab {
    flex: 0 0 auto;
    white-space: nowrap;
    background: var(--grey-light);
    border-radius: var(--radius-md);
  }
  
  .menu__tab.active {
    background: var(--white);
    color: var(--ink) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  }
  
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }

  .legal-header h1 {
    font-size: clamp(1.5rem, 7vw, 2rem);
    line-height: 1.2;
    word-break: break-word;
  }
}


/* Footer Author Badge */
.footer__author {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #888;
  margin-top: 15px;
  justify-content: center;
}
.footer__author img {
  height: 20px;
  width: auto;
}
@media (min-width: 768px) {
  .footer__author {
    justify-content: flex-start;
  }
}
