/* ============================================================
   LE MARAIS RAANANA — DELICATESSEN
   Feuille de style principale
   ------------------------------------------------------------
   Sommaire :
   1.  Variables (couleurs / typo / espacements)
   2.  Reset & base
   3.  Typographie & utilitaires
   4.  Boutons
   5.  Navbar & menu mobile
   6.  Hero
   7.  Sections communes
   8.  Nos produits
   9.  À propos
   10. Nous trouver
   11. Contact
   12. Footer
   13. Placeholders / motifs
   14. Animations & reveal
   15. RTL (hébreu)
   16. Responsive
   ============================================================ */

/* ================= 1. VARIABLES ================= */
:root {
  /* Palette issue du logo LE MARAIS — brique/orange foncé · crème · anthracite · taupe
     (aucun vert, aucun bleu : uniquement les teintes de l'identité) */
  --brick:      #c24a2c;   /* rouge brique / orange foncé — couleur de marque (teinte du logo) */
  --brick-deep: #9e3a20;   /* brique plus profond — survols & contrastes */
  --brick-soft: #d1663f;   /* variation légèrement plus claire */
  --cream:         #f7f1e5;   /* crème / blanc cassé — arrière-plans */
  --cream-soft:    #fbf7ee;
  --beige:         #ece2cd;   /* beige chaud */
  --taupe:         #b7a78f;   /* beige / taupe très discret — profondeur */
  --anthracite:    #211a1b;   /* noir / anthracite chaud — fonds foncés & textes */
  --anthracite-2:  #2c2224;   /* légère variation d'anthracite */
  --dark:          #150f10;   /* presque noir */
  --ink:           #2c2325;   /* texte courant */
  --muted:         #7c6f6b;   /* texte secondaire (taupe grisé) */

  /* Rôles */
  --bg:            var(--cream);
  --bg-alt:        var(--cream-soft);
  --text:          var(--ink);
  --heading:       var(--anthracite);
  --accent:        var(--brick);

  /* Typographie */
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display-he: "Frank Ruhl Libre", "Cormorant Garamond", serif;
  --font-body-he:    "Heebo", system-ui, sans-serif;

  /* Rayons & ombres */
  --radius:    14px;
  --radius-sm: 8px;
  --radius-lg: 22px;
  --shadow:    0 18px 50px -30px rgba(21, 15, 16, 0.55);
  --shadow-sm: 0 8px 26px -18px rgba(21, 15, 16, 0.5);

  /* Rythme */
  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
  --section-y: clamp(64px, 9vw, 120px);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Variantes de police selon la langue */
html[lang="he"] {
  --font-display: var(--font-display-he);
  --font-body:    var(--font-body-he);
}

/* ================= 2. RESET & BASE ================= */
*, *::before, *::after { box-sizing: border-box; }

/* L'attribut [hidden] doit toujours l'emporter sur les display: flex/grid */
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button { font-family: inherit; cursor: pointer; }

/* Lien d'évitement */
.skip-link {
  position: fixed;
  top: -60px;
  left: 12px;
  z-index: 2000;
  background: var(--anthracite);
  color: var(--cream);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* Focus visible global */
:focus-visible {
  outline: 2px solid var(--brick);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ================= 3. TYPO & UTILITAIRES ================= */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.section-eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--brick);
  margin: 0 0 0.9rem;
}

.section-title {
  font-family: var(--font-display);
  color: var(--heading);
  font-weight: 600;
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  line-height: 1.08;
  margin: 0 0 1rem;
  letter-spacing: 0.005em;
}

.section-lead {
  color: var(--muted);
  font-size: 1.06rem;
  max-width: 52ch;
  margin: 0 auto;
}

.section-head { text-align: center; margin-bottom: clamp(38px, 5vw, 64px); }
.section-head .section-lead { margin-inline: auto; }

/* ================= 4. BOUTONS ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.85em 1.7em;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1.5px solid transparent;
  transition: transform .25s var(--ease), background-color .25s var(--ease),
              color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--brick);
  color: var(--cream);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--brick-deep); }

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(247, 241, 229, 0.55);
}
.btn-ghost:hover { background: rgba(247, 241, 229, 0.12); border-color: var(--cream); }

.btn-outline {
  background: transparent;
  color: var(--anthracite);
  border-color: rgba(33, 26, 27, 0.28);
}
.btn-outline:hover { background: var(--anthracite); color: var(--cream); border-color: var(--anthracite); }

/* ================= 5. NAVBAR ================= */
.navbar {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 1000;
  background: transparent;
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), padding .35s var(--ease);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 6px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
/* Navbar au scroll (classe ajoutée en JS) */
.navbar.scrolled {
  background: var(--cream);
  box-shadow: 0 6px 30px -22px rgba(21, 15, 16, 0.7);
}
.navbar.scrolled .nav-link { color: var(--anthracite); }
.navbar.scrolled .lang-btn { color: var(--anthracite); }
.navbar.scrolled .burger span { background: var(--anthracite); }

/* Logo nav — vrai logo officiel (images/logo.png) */
.nav-logo { display: inline-flex; align-items: center; }
/* Logo carré 1024×1024 : boîte carrée + object-fit:contain → net, jamais étiré.
   Aucun filter / transform / scale / image-rendering (rendu natif). */
.nav-logo-img { width: 120px; height: 120px; object-fit: contain; display: block; }

/* Repli texte temporaire (uniquement si images/logo.png absent) */
.nav-logo-fallback {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--anthracite);
  letter-spacing: 0.01em;
}

/* Liens nav (bureau) */
.nav-links { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.nav-link {
  position: relative;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--anthracite);
  padding: 4px 0;
  transition: color .25s var(--ease);
}
.nav-link:hover { color: var(--brick); }
.nav-link::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-end: -2px;
  width: 0;
  height: 1.5px;
  background: var(--brick);
  transition: width .28s var(--ease);
}
.nav-link:hover::after { width: 100%; }

.nav-right { display: flex; align-items: center; gap: 16px; }

/* Sélecteur langue */
.lang-switch { display: flex; align-items: center; gap: 6px; }
.lang-btn {
  background: none;
  border: none;
  color: var(--anthracite);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 4px 6px;
  opacity: 0.7;
  transition: opacity .2s var(--ease), color .2s var(--ease);
}
.lang-btn.is-active { opacity: 1; color: var(--brick); font-weight: 600; }
.lang-btn:hover { opacity: 1; }
.lang-sep { color: currentColor; opacity: 0.4; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--anthracite);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease), background-color .3s var(--ease);
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================= MENU MOBILE (panneau opaque) ================= */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;              /* LTR : panneau ancré à droite (comme le burger) */
  left: auto;
  height: 100dvh;
  width: min(82vw, 360px);
  background: var(--cream-soft);
  color: var(--ink);
  z-index: 1500;
  transform: translateX(100%);
  transition: transform .38s var(--ease);
  display: flex;
  box-shadow: -20px 0 60px -30px rgba(0,0,0,0.6);
}
html[dir="rtl"] .mobile-menu {
  right: auto;
  left: 0;              /* RTL : panneau ancré à gauche (comme le burger) */
  transform: translateX(-100%);
  box-shadow: 20px 0 60px -30px rgba(0,0,0,0.6);
}
.mobile-menu.open,
html[dir="rtl"] .mobile-menu.open { transform: translateX(0); }

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 96px 34px 40px;
  width: 100%;
}
.mobile-link {
  font-family: var(--font-display);
  font-size: 1.5rem;
  padding: 12px 0;
  border-bottom: 1px solid rgba(33, 26, 27, 0.12);
  transition: color .2s var(--ease), padding-inline-start .25s var(--ease);
}
.mobile-link:hover { color: var(--brick); padding-inline-start: 8px; }

.mobile-lang {
  margin-top: 28px;
  display: flex;
  gap: 10px;
}
.mobile-lang .lang-btn {
  border: 1px solid rgba(33, 26, 27, 0.22);
  border-radius: 999px;
  padding: 8px 18px;
  opacity: 0.85;
}
.mobile-lang .lang-btn.is-active {
  background: var(--brick);
  border-color: var(--brick);
  color: var(--cream);
  opacity: 1;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 10, 11, 0.5);
  backdrop-filter: blur(2px);
  z-index: 1400;
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.menu-overlay.show { opacity: 1; }

body.menu-open { overflow: hidden; }

/* ================= 6. HERO ================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: var(--ink);
  overflow: hidden;
  isolation: isolate;
}
/* Fond crème derrière l'image (sécurité, se fond dans le hero) */
.hero-media { position: absolute; inset: 0; z-index: -2; background: var(--cream); }
/* Photo hero : remplit tout le cadre (cover = aucune bande crème sur les côtés),
   cadrée au centre → l'espace crème de gauche est préservé (plat à taille
   naturelle, pas de zoom excessif). Le texte reste sur la zone crème à gauche. */
.hero-photo { width: 100%; height: 100%; object-fit: cover; object-position: left center; display: block; }
/* En hébreu (RTL), le texte passe à droite : on inverse l'image pour
   garder le plat à l'opposé du texte et la zone crème sous le texte. */
html[dir="rtl"] .hero-photo { transform: scaleX(-1); }

/* Voile crème LÉGER côté texte : juste assez pour la lisibilité,
   sans masquer le motif d'arche (la « fleur ») présent à gauche de l'image. */
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
    rgba(247, 241, 229, 0.45) 0%, rgba(247, 241, 229, 0.18) 30%, rgba(247, 241, 229, 0) 52%);
}
html[dir="rtl"] .hero-media::after {
  background: linear-gradient(to left,
    rgba(247, 241, 229, 0.45) 0%, rgba(247, 241, 229, 0.18) 30%, rgba(247, 241, 229, 0) 52%);
}

/* Mobile : texte en haut sur crème, plat cadré en bas (voile crème vertical) */
@media (max-width: 640px) {
  .hero { align-items: flex-start; }
  /* Image verticale dédiée (hero-mobile) : on descend le cadrage pour
     dégager le sandwich dans la partie basse du hero. */
  .hero-photo,
  html[dir="rtl"] .hero-photo { object-position: center 68%; }
  /* Voile TRÈS léger en haut : le texte reste lisible sans masquer le motif crème */
  .hero-media::after,
  html[dir="rtl"] .hero-media::after {
    background: linear-gradient(to bottom,
      rgba(247, 241, 229, 0.35) 0%, rgba(247, 241, 229, 0.12) 30%, transparent 50%);
  }
}

/* Placeholder Hero — dégradé + rosace inspirés du logo */
.hero-placeholder {
  position: absolute;
  inset: 0;
  /* Fond clair inspiré du fond crème du logo, avec une lueur brique très subtile */
  background:
    radial-gradient(ellipse at 74% 20%, rgba(194, 74, 44, 0.08), transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(183, 167, 143, 0.18), transparent 50%),
    linear-gradient(160deg, var(--cream-soft) 0%, var(--cream) 45%, var(--beige) 100%);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.hero-placeholder::after {
  /* voile décoratif extrêmement léger (n'assombrit pas) */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(194, 74, 44, 0.03));
}
.rosette {
  width: min(105vw, 760px);
  color: rgba(194, 74, 44, 0.07);   /* motif circulaire brique très léger */
  animation: spin 90s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 120px var(--gutter) 90px;
  width: 100%;
}
.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--brick);
  margin: 0 0 1.1rem;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 0.95;
  margin: 0 0 1.4rem;
  letter-spacing: 0.01em;
}
.hero-title .ht-line-1,
.hero-title .ht-line-2 {
  display: block;
  font-size: clamp(3.2rem, 11vw, 7.5rem);
}
.hero-title .ht-line-1 { color: var(--anthracite); }
.hero-title .ht-line-2 { color: var(--brick); }
.hero-title .ht-line-3 {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.42em;
  font-size: clamp(0.85rem, 2.5vw, 1.15rem);
  color: var(--brick);
  margin-top: 1.1rem;
}
.hero-tagline {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  max-width: 34ch;
  color: var(--muted);
  margin: 0 0 2.2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-scroll {
  position: absolute;
  inset-block-end: 26px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.hero-scroll span {
  display: block;
  width: 22px;
  height: 34px;
  border: 1.5px solid rgba(33, 26, 27, 0.35);
  border-radius: 12px;
  position: relative;
}
.hero-scroll span::after {
  content: "";
  position: absolute;
  top: 7px; left: 50%;
  width: 3px; height: 6px;
  background: var(--brick);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrolldot 1.8s var(--ease) infinite;
}
@keyframes scrolldot { 0%{opacity:0;transform:translate(-50%,0)} 40%{opacity:1} 80%,100%{opacity:0;transform:translate(-50%,10px)} }

/* ================= 7. SECTIONS ================= */
.section { padding-block: var(--section-y); }
.about { background: var(--bg-alt); }
.find  { background: var(--beige); color: var(--ink); }

.section-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 40px;
  font-style: italic;
}

/* ================= 8. NOS PRODUITS ================= */
/* Barre de recherche (section produits + modale) */
.product-search {
  position: relative;
  max-width: 460px;
  margin: 0 auto clamp(28px, 4vw, 44px);
}
.product-search-icon {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 18px;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--taupe);
  pointer-events: none;
}
.product-search-icon svg { width: 100%; height: 100%; display: block; }
.product-search-input {
  width: 100%;
  padding: 14px 20px 14px 50px;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--cream-soft);
  border: 1px solid rgba(33, 26, 27, 0.14);
  border-radius: 999px;
  outline: none;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
html[dir="rtl"] .product-search-input { padding: 14px 50px 14px 20px; }
.product-search-input::placeholder { color: var(--muted); }
.product-search-input:focus {
  border-color: var(--brick);
  box-shadow: 0 0 0 3px rgba(194, 74, 44, 0.14);
}
.product-search-input::-webkit-search-cancel-button { cursor: pointer; }
.product-noresult {
  text-align: center;
  color: var(--muted);
  font-size: 1rem;
  margin-top: 8px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(18px, 2.5vw, 28px);
}
/* Séparateur de groupe de catégories : titre centré entre deux traits */
.product-divider {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 22px);
  margin: clamp(10px, 2vw, 22px) 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--brick);
  text-align: center;
}
.product-divider::before,
.product-divider::after {
  content: "";
  flex: 1 1 0;
  height: 1px;
  background: rgba(194, 74, 44, 0.35);
}
.product-card {
  background: var(--bg-alt);
  border: 1px solid rgba(33, 26, 27, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  display: flex;
  flex-direction: column;
  /* carte cliquable */
  cursor: pointer;
  text-align: start;
  color: inherit;
  font: inherit;
  padding: 0;
}
.product-card .product-body { text-align: start; }
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(194, 74, 44, 0.25);
}
.product-thumb {
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
}
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-body { padding: 22px 24px 26px; }
.product-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--heading);
  margin: 0 0 0.4rem;
  font-weight: 600;
}
.product-desc { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* Lien « Voir les produits » en pied de carte */
.product-cta {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brick);
  font-weight: 500;
  font-size: 0.92rem;
}
.pc-arrow { transition: transform .25s var(--ease); display: inline-block; }
.product-card:hover .pc-arrow { transform: translateX(3px); }
html[dir="rtl"] .pc-arrow { transform: scaleX(-1); }
html[dir="rtl"] .product-card:hover .pc-arrow { transform: scaleX(-1) translateX(3px); }

/* Liste de produits d'une catégorie (ex : Salades) */
.product-items {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.product-items li {
  position: relative;
  padding-inline-start: 16px;
  font-size: 0.95rem;
  color: var(--ink);
}
.product-items li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brick);
}

/* ================= 9. À PROPOS ================= */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.about-media { min-height: 100%; }
.about-placeholder { aspect-ratio: 4 / 5; border-radius: var(--radius-lg); }
.about-text p { margin: 0 0 1.1rem; color: var(--ink); }
.about-text .section-title { text-align: start; }
.about-placeholder-note {
  font-size: 0.9rem;
  color: var(--muted);
  font-style: italic;
  border-inline-start: 3px solid var(--brick);
  padding-inline-start: 14px;
}

/* ================= 10. NOUS TROUVER ================= */
.find .section-title { color: var(--heading); }
.find-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(30px, 4vw, 60px);
  align-items: start;
}
.info-list { list-style: none; margin: 0 0 30px; padding: 0; }
.info-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(33, 26, 27, 0.14);
}
.info-label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.7rem;
  color: var(--brick);
  font-weight: 600;
}
.info-value { font-size: 1.05rem; color: var(--ink); }
.info-value a:hover { color: var(--brick); text-decoration: underline; }

.find-actions { display: flex; flex-wrap: wrap; gap: 12px; }
/* Les boutons .btn-outline par défaut ressortent déjà sur le fond clair */

/* Horaires d'ouverture, sous le bouton Itinéraire */
.find-hours { margin-top: 26px; }
.find-hours-title {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.7rem;
  color: var(--brick);
  font-weight: 600;
  margin: 0 0 10px;
}
.find-hours-list { list-style: none; margin: 0; padding: 0; }
.find-hours-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(33, 26, 27, 0.10);
  font-size: 1.05rem;
  color: var(--ink);
}
.find-hours-row:last-child { border-bottom: none; }
.find-hours-row .fh-days { font-weight: 500; }
.find-hours-row .fh-time { color: var(--ink); white-space: nowrap; }

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-placeholder {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  aspect-ratio: 4 / 3;
}
.map-placeholder-text {
  color: var(--muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

/* ================= 11. CONTACT ================= */
.contact { text-align: center; background: var(--bg-alt); }
.contact-inner { max-width: 620px; margin: 0 auto; }
.follow-inner { max-width: 620px; margin: 0 auto; text-align: center; }
.follow .contact-social { margin-top: 30px; }
.contact-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}
.contact-fallback { color: var(--muted); margin-top: 24px; }

/* Boutons Appeler / WhatsApp avec menu déroulant (David / Hilana) */
.contact-choice { position: relative; display: inline-flex; }
.contact-menu {
  position: absolute;
  inset-block-start: calc(100% + 8px);
  inset-inline-start: 50%;
  transform: translateX(-50%);
  z-index: 40;
  min-width: 170px;
  display: flex;
  flex-direction: column;
  padding: 8px;
  background: var(--cream-soft);
  border: 1px solid rgba(33, 26, 27, 0.12);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(33, 26, 27, 0.16);
}
html[dir="rtl"] .contact-menu { transform: translateX(50%); }
.contact-menu[hidden] { display: none; }
.contact-menu-item {
  display: block;
  padding: 11px 16px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--anthracite);
  text-align: center;
  transition: background-color .18s var(--ease), color .18s var(--ease);
}
.contact-menu-item:hover,
.contact-menu-item:focus-visible { background: var(--brick); color: var(--cream); }

/* Bloc "Suivez-nous" dans la section Contact */
.contact-follow { margin-top: 34px; }
.contact-follow-title {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--muted);
  margin: 0 0 14px;
}
.contact-social {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* ================= 12. FOOTER ================= */
.footer {
  position: relative;
  background: linear-gradient(180deg, var(--cream-soft) 0%, var(--beige) 100%);
  color: var(--ink);
  padding-top: clamp(56px, 7vw, 90px);
  border-top: 1px solid rgba(33, 26, 27, 0.08);
  overflow: hidden;
}
.footer-bg {
  position: absolute;
  inset-block-end: clamp(24px, 4vw, 54px);
  inset-inline: 0;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(4rem, 18vw, 15rem);
  line-height: 1;
  color: rgba(194, 74, 44, 0.06);
  letter-spacing: 0.02em;
  pointer-events: none;
  white-space: nowrap;
}
.footer-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; }
/* Logo footer — vrai logo officiel (images/logo.png) */
.footer-logo-img { width: 96px; height: 96px; object-fit: contain; display: block; }
.footer-brand-fallback { display: flex; flex-direction: column; }
.footer-title { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; }
.footer-sub { text-transform: uppercase; letter-spacing: 0.34em; font-size: 0.72rem; color: var(--brick); margin-top: 4px; }

.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { color: var(--ink); font-size: 0.95rem; transition: color .2s var(--ease); }
.footer-nav a:hover { color: var(--brick); }

.footer-contact { display: flex; flex-direction: column; gap: 8px; }
.footer-contact .fc-line { margin: 0; color: var(--ink); font-size: 0.95rem; }
.footer-contact .fc-line a { color: inherit; }
.footer-contact .fc-line .sep { color: var(--muted); margin: 0 6px; }
.fc-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.fc-instagram, .fc-facebook {
  align-self: start;
  color: var(--anthracite);
  border: 1px solid rgba(33, 26, 27, 0.25);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 0.88rem;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.fc-instagram:hover, .fc-facebook:hover { background: var(--brick); border-color: var(--brick); color: var(--cream); }

.footer-bottom {
  position: relative;
  border-top: 1px solid rgba(33, 26, 27, 0.12);
  padding: 22px var(--gutter);
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
}

/* ================= 12b. MODALE PRODUITS ================= */
.product-modal {
  position: fixed;
  inset: 0;
  z-index: 1600;
  display: none;
}
.product-modal.open {
  display: grid;
  place-items: center;
  padding: 20px;
}
.product-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(21, 15, 16, 0.55);
  backdrop-filter: blur(3px);
}
.product-modal-panel {
  position: relative;
  width: min(96vw, 1120px);
  max-height: 92vh;
  overflow-y: auto;
  background: var(--cream-soft);
  color: var(--ink);
  border: 1px solid rgba(194, 74, 44, 0.15);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 44px);
  box-shadow: var(--shadow);
  animation: pmIn .3s var(--ease);
}
@keyframes pmIn {
  from { opacity: 0; transform: translateY(14px) scale(.98); }
  to   { opacity: 1; transform: none; }
}
.pm-close {
  position: absolute;
  top: 10px;
  inset-inline-end: 14px;
  background: none;
  border: none;
  font-size: 1.9rem;
  line-height: 1;
  color: var(--muted);
  padding: 6px 10px;
  border-radius: 8px;
  transition: color .2s var(--ease);
}
.pm-close:hover { color: var(--brick); }
.pm-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--brick);
  margin: 0 0 0.5rem;
}
.pm-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  color: var(--heading);
  margin: 0 0 0.5rem;
  font-weight: 600;
}
.pm-desc { color: var(--muted); margin: 0 0 1.4rem; font-size: 0.98rem; }
.pm-search { position: relative; max-width: 100%; margin: 0 auto 1.8rem; }
.pm-search .product-search-input { padding-block: 12px; font-size: 0.98rem; }
/* Grille de produits : grandes photos bien visibles */
.pm-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  /* Largeur des vignettes PLAFONNÉE (pas de 1fr qui étire) + centrées */
  grid-template-columns: repeat(auto-fit, minmax(200px, 260px));
  justify-content: center;
  gap: clamp(16px, 2vw, 24px);
}
.pm-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pm-item-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;         /* CARRÉ FIXE, identique pour tous les produits */
  border-radius: 14px;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 16px;
  /* fond un peu plus foncé que le panneau → on voit bien le carré derrière le produit,
     y compris avec une image à fond transparent */
  background: linear-gradient(150deg, var(--beige), #d8c8aa);
  border: 1px solid rgba(33, 26, 27, 0.10);
  position: relative;
}
/* L'IMAGE s'adapte au carré (contain) : produit entier, centré, jamais coupé ni déformé */
.pm-item-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
/* Catégories "fill" (charcuterie, sandwichs) : la photo occupe tout le carré. */
.pm-items--fill .pm-item-thumb:not(.is-placeholder) { padding: 0; }
.pm-items--fill .pm-item-thumb:not(.is-placeholder) img { object-fit: cover; }
.pm-item-thumb.is-placeholder .pattern-mark { width: 38%; color: rgba(194, 74, 44, 0.22); }

/* Produit à plusieurs photos (ex : plateaux petits fours été / hiver) :
   carrousel — une photo à la fois, on fait défiler (doigt, trackpad, flèches, points). */
.pm-item-thumb--multi { padding: 0; display: block; }
.pm-thumb-track {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.pm-thumb-track::-webkit-scrollbar { display: none; }
.pm-thumb-part {
  flex: 0 0 100%;
  scroll-snap-align: start;
  position: relative;
  display: grid;
  place-items: center;
  padding: 16px 16px 28px;
  overflow: hidden;
}
.pm-thumb-part img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pm-thumb-part.is-placeholder .pattern-mark { width: 38%; color: rgba(194, 74, 44, 0.22); }
.pm-thumb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--brick);
  box-shadow: 0 1px 4px rgba(33, 26, 27, 0.18);
  cursor: pointer;
  transition: opacity 0.2s ease;
  z-index: 1;
}
.pm-thumb-nav svg { width: 16px; height: 16px; display: block; }
.pm-thumb-nav--prev { inset-inline-start: 6px; }
.pm-thumb-nav--next { inset-inline-end: 6px; }
.pm-thumb-nav--next svg { transform: scaleX(-1); }
[dir="rtl"] .pm-thumb-nav--prev svg { transform: scaleX(-1); }
[dir="rtl"] .pm-thumb-nav--next svg { transform: none; }
.pm-thumb-nav.is-hidden { opacity: 0; pointer-events: none; }
.pm-thumb-nav:focus-visible { outline: 2px solid var(--brick); outline-offset: 2px; }
.pm-thumb-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 1;
}
.pm-thumb-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(194, 74, 44, 0.3);
  cursor: pointer;
}
.pm-thumb-dot.is-active { background: var(--brick); }
/* Photo hors saison : grisée + voile gris avec « Disponible uniquement en … » */
.pm-thumb-part.is-offseason img,
.pm-thumb-part.is-offseason .pattern-mark,
.pm-item-thumb.is-offseason img,
.pm-item-thumb.is-offseason .pattern-mark { filter: grayscale(1); opacity: 0.5; }
.pm-thumb-off {
  position: absolute;
  inset: 0;
  display: grid;
  /* piste définie : sinon la grille ignore le max-width en % du message */
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  padding: 16px;
  background: rgba(110, 110, 110, 0.35);
}
.pm-thumb-off-text {
  max-width: 85%;
  box-sizing: border-box;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(55, 55, 55, 0.82);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
}
.pm-item-thumb.is-placeholder::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(194, 74, 44, 0.16);
  border-radius: 10px;
}
/* Ligne « nom … prix » : nom à gauche, prix aligné à droite */
.pm-item-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.pm-item-name { font-size: 1.08rem; color: var(--ink); font-weight: 500; }
.pm-item-price { font-weight: 700; color: var(--brick); font-size: 1.02rem; white-space: nowrap; }
.pm-item-note { font-size: 0.78rem; color: var(--ink); opacity: 0.7; margin-top: 4px; }

/* Rubrique : titre de sous-section (ex : partenaires pâtissiers), pleine largeur.
   Repliable : la flèche est à droite (fin de ligne), le titre à gauche. */
.pm-group {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 6px 0 -2px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(194, 74, 44, 0.22);
  font-family: var(--font-display, serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--brick);
}
.pm-group:first-child { margin-top: 0; }
.pm-group-label { line-height: 1.15; }
.pm-group--toggle { cursor: pointer; user-select: none; }
.pm-group--toggle:hover { color: #a23a20; }
.pm-group--toggle:focus-visible {
  outline: 2px solid var(--brick);
  outline-offset: 4px;
  border-radius: 4px;
}
.pm-group-arrow {
  flex: 0 0 auto;
  display: inline-flex;
  color: var(--brick);
  transition: transform 0.25s ease;
}
.pm-group-arrow svg { width: 22px; height: 22px; display: block; }
/* Repliée : la flèche pivote (pointe vers le côté au lieu du bas) */
.pm-group.is-collapsed .pm-group-arrow { transform: rotate(-90deg); }
[dir="rtl"] .pm-group.is-collapsed .pm-group-arrow { transform: rotate(90deg); }

.pm-empty { color: var(--muted); font-style: italic; margin: 0; }

body.modal-open { overflow: hidden; }

/* ================= 13. PLACEHOLDERS / MOTIFS ================= */
.media-placeholder {
  /* Placeholder clair : crème/beige avec une touche brique très douce */
  background:
    radial-gradient(circle at 30% 28%, rgba(194, 74, 44, 0.07), transparent 60%),
    linear-gradient(150deg, var(--cream-soft), var(--beige));
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.media-placeholder::before {
  /* fine bordure décorative façon cadre */
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(194, 74, 44, 0.18);
  border-radius: inherit;
}
.pattern-mark { width: 44%; color: rgba(194, 74, 44, 0.22); }

/* Vignettes produits (placeholders) */
.product-thumb.is-placeholder {
  background: linear-gradient(150deg, var(--cream-soft), var(--beige));
  display: grid;
  place-items: center;
}
.product-thumb.is-placeholder .pattern-mark { width: 38%; color: rgba(194, 74, 44, 0.20); }
.product-thumb.is-placeholder::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(194, 74, 44, 0.16);
  border-radius: 14px;
}

/* ================= 14. ANIMATIONS / REVEAL ================= */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important;
      transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .rosette { animation: none; }
}

/* ================= 15. RTL (HÉBREU) ================= */
html[dir="rtl"] body { text-align: right; }
html[dir="rtl"] .hero-tagline,
html[dir="rtl"] .hero-title { text-align: right; }
html[dir="rtl"] .about-placeholder-note { border-inline-start: 3px solid var(--brick); }
html[dir="rtl"] .hero-scroll { inset-inline-start: 50%; transform: translateX(50%); }
/* Les propriétés logiques (inset-inline, padding-inline, margin-inline, start/end)
   gèrent l'essentiel du miroir LTR/RTL automatiquement. */

/* ================= 16. RESPONSIVE ================= */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 460px; margin-inline: auto; width: 100%; }
  .find-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 780px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  .nav-logo-img { width: 82px; height: 82px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  /* HERO MOBILE : texte remonté et compacté en haut, bas du hero
     laissé libre pour que le sandwich reste bien visible et dégagé. */
  .hero-content { padding-block: 96px 0; }
  .hero-eyebrow { margin: 0 0 0.7rem; }
  .hero-title { margin: 0 0 0.85rem; }
  .hero-title .ht-line-1,
  .hero-title .ht-line-2 { font-size: clamp(2.55rem, 12vw, 3.15rem); }
  .hero-title .ht-line-3 { margin-top: 0.65rem; }
  .hero-tagline { margin: 0 0 1.3rem; }
  /* Deux boutons côte à côte ; repli propre sur 2 lignes si trop étroit. */
  .hero-actions { width: 100%; gap: 10px; }
  .hero-actions .btn {
    flex: 1 1 140px;
    min-width: 0;
    padding: 13px 14px;
    font-size: 0.92rem;
    text-align: center;
  }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; text-align: start; }
  .contact-actions .btn, .find-actions .btn { flex: 1 1 auto; }
}

@media (max-width: 430px) {
  .product-grid { grid-template-columns: 1fr; }
  .hero-title .ht-line-3 { letter-spacing: 0.3em; }
}
