:root {
  --blue: #3d7bd9; /* bleu du mur de la salle */
  --blue-dark: #163a5c;
  --blue-darker: #0d2740;
  --cream: #f4f4f4;
  --cream-soft: #ffffff;
  --gold: #5f5d5d; /* ancien doré -> gris du carrelage de la salle */
  --gold-dark: #5f5d5d;
  --ink: #141414; /* noir des boutons et du trait du menu */
  --star: #d4af5a; /* doré, uniquement pour les étoiles */
  --black: #5f5d5d; /* gris du carrelage (mesuré dans les vidéos de la salle) */
  --text: #1c1c1c;
  --text-soft: #4d4d4d;
  --text-muted: #858585;
  --blue-tint-1: #e8f4fc;
  --blue-tint-2: #cfe7f7;
  --max-width: 1120px;
  --radius: 14px;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Lora', Georgia, serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3 { font-family: var(--font-serif); font-weight: 600; color: var(--blue-dark); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--blue);
  color: #fff;
  padding: 10px 16px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--ink); color: #fff; }
.btn-gold:hover { background: #000; color: #fff; }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-outline-navy { background: transparent; color: var(--blue-dark); border-color: var(--blue-dark); }
.btn-outline-navy:hover { background: rgba(22,58,92,0.08); }
.btn-blue { background: var(--blue-dark); color: #fff; }
.btn-blue:hover { background: var(--blue-darker); }
.btn-outline-blue { background: transparent; color: var(--blue-dark); border-color: var(--blue-dark); }
.btn-outline-blue:hover { background: var(--blue-tint-1); }
.btn-block { width: 100%; }

/* Zellige frieze border */
.zellige-frieze {
  height: 22px;
  background-color: var(--blue-dark);
  background-image:
    linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%),
    linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%);
  background-position: 0 0, 11px 11px;
  background-size: 22px 22px;
}

/* Header */
.site-header {
  background: var(--blue);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 rgba(22,58,92,0.12);
}
.site-header .container {
  max-width: none; /* en-tête sur toute la largeur : logo collé à gauche */
  padding-left: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
}
.brand .logo { height: 58px; width: auto; flex-shrink: 0; }

.main-nav {
  display: none;
}
.main-nav ul { display: flex; gap: clamp(16px, 2vw, 28px); list-style: none; }
.main-nav a {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 8px 2px;
}
/* Trait sous le lien : il apparaît au survol et reste sous la section où on se trouve */
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transition: transform .35s ease;
}
.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav a.active::after { transform: scaleX(1); }

.nav-toggle {
  display: inline-flex;
  background: transparent;
  border: none;
  color: #fff;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle svg { width: 26px; height: 26px; }

.mobile-nav {
  display: none;
  background: var(--blue-dark);
  padding: 8px 20px 18px;
}
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.mobile-nav a {
  display: block;
  color: #fff;
  padding: 12px 4px;
  font-size: 1.02rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

/* Hero */
.hero {
  background: var(--blue);
  color: #fff;
  padding: 48px 0 0;
  position: relative;
  overflow: hidden;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
  padding-bottom: 48px;
}
.hero .hero-logo { margin-bottom: 14px; line-height: 0; }
/* Logo = fichier d'Emir (img/LOGO.png) avec le fond blanc rendu transparent
   (img/logo-transparent.png partout, y compris l'intro ; img/logo-blanc.png pour les pages 404/merci) */
.logo { display: block; height: auto; }
.hero-logo .logo { width: clamp(160px, 40vw, 230px); }
.hero h1 {
  font-family: var(--font-serif);
  color: #fff;
  font-size: clamp(2.4rem, 7vw, 3.6rem);
  line-height: 1.05;
  margin-bottom: 10px;
}
.hero-subtitle {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0.85;
  font-weight: 700;
  margin-bottom: 20px;
}
.hero-rule { display: inline-block; width: 30px; height: 2px; background: #fff; flex-shrink: 0; }
.hero-hook {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.2rem, 4vw, 1.5rem);
  font-weight: 500;
  color: #fff;
  max-width: 30ch;
  margin-bottom: 26px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.hero-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #fff;
  opacity: 0.9;
}
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: #2e8f5a; flex-shrink: 0; }
.status-dot.closed { background: #c2453f; }

.hero-media-wrap {
  position: relative;
  padding-bottom: 54px;
}
.hero-media {
  position: relative;
  border-radius: 999px 999px 0 0;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--blue-dark);
  border: 4px solid #fff;
  border-bottom: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media .placeholder-label {
  color: #cdd9ec;
  font-size: 0.9rem;
  text-align: center;
  padding: 0 20px;
}

/* Carte flottante par-dessus la photo, style éditorial */
.hero-float-card {
  position: absolute;
  left: -18px;
  bottom: 18px;
  max-width: 230px;
  background: #fff;
  border: 1px solid var(--gold);
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: 0 18px 40px -16px rgba(13,39,64,.45);
  animation: heroMediaIn 1s cubic-bezier(.2,.7,.2,1) 2s both;
}
.hero-float-stars {
  display: block;
  color: var(--star);
  letter-spacing: 3px;
  font-size: 0.95rem;
  margin-bottom: 6px;
}
.hero-float-card p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.98rem;
  color: var(--blue-dark);
  line-height: 1.35;
}

/* Sticky mobile call bar */
.mobile-call-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,0.96);
  border-top: 1px solid #e3e3e3;
  backdrop-filter: blur(6px);
}
.mobile-call-bar .btn { flex: 1; }

/* Sections */
section { padding: 56px 0; }
.section-head { text-align: center; margin-bottom: 36px; }
.section-head .eyebrow { display: block; margin-bottom: 8px; }
.section-head h2 { font-size: clamp(1.8rem, 5vw, 2.4rem); }
.section-divider {
  width: 36px; height: 3px;
  background: var(--gold);
  margin: 14px auto 0;
  border-radius: 2px;
}

/* Histoire */
.histoire { background: var(--cream); }
.histoire .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
.histoire-media {
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 9 / 16; /* format vertical de la vidéo du téléphone */
  max-width: 340px;
  margin: 0 auto;
  background: #e6e6e6;
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}
.histoire-media .placeholder-label { color: var(--text-muted); font-size: 0.9rem; text-align: center; padding: 0 20px; }
.histoire-media video,
.galerie-item img,
.galerie-item video { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Calque invisible au-dessus des vidéos : le navigateur ne détecte plus le survol
   et n'affiche plus ses boutons (image dans l'image, « suivant »…) */
.histoire-media,
.galerie-item { position: relative; }
.histoire-media::after,
.galerie-item::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.histoire-text p { color: var(--text-soft); margin-bottom: 16px; }
.histoire-signature {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--blue);
  font-size: 1.1rem;
  border-left: 3px solid var(--gold);
  padding-left: 14px;
  margin-top: 20px;
}

/* Carte */
.carte { background: var(--cream-soft); }
.carte-tabs {
  display: flex;
  overflow-x: auto;
  gap: 8px;
  margin-bottom: 28px;
  padding-bottom: 4px;
  scrollbar-width: thin;
}
.carte-tab {
  flex-shrink: 0;
  background: var(--blue-tint-1);
  color: var(--blue-dark);
  border: 1px solid var(--blue-tint-2);
  padding: 10px 18px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
}
.carte-tab[aria-selected="true"] {
  background: var(--blue-dark);
  color: #fff;
  border-color: var(--blue-dark);
}
.carte-panel { display: none; }
.carte-panel.active { display: block; }
.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px dashed #d6d6d6;
}
.menu-item:first-child { padding-top: 0; }
.menu-item-name { font-family: var(--font-serif); font-weight: 600; font-size: 1.12rem; color: var(--text); }
.menu-item-desc { color: var(--text-soft); font-size: 0.92rem; margin-top: 3px; }
.menu-item-price { font-weight: 700; color: var(--blue-dark); white-space: nowrap; font-size: 1.02rem; }
.carte-note { text-align: center; color: var(--text-muted); font-size: 0.88rem; margin-top: 24px; }

/* Galerie */
.galerie-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.galerie-item {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--blue-tint-1);
  border: 1px solid var(--blue-tint-2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.82rem;
  text-align: center;
  padding: 10px;
}

/* Avis */
.avis { background: var(--cream); }
.avis-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--cream-soft);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
}
.avis-stars { color: var(--star); font-size: 1.6rem; letter-spacing: 4px; margin-bottom: 10px; }
.avis-card p { color: var(--text-soft); margin-bottom: 20px; }

/* Livraison (sous la carte) */
.livraison { text-align: center; margin-top: 28px; }
.livraison p { color: var(--text-soft); margin-bottom: 12px; }
.livraison-btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

/* Note globale + 3 vrais avis Google */
.avis-score {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-bottom: 28px;
  color: var(--text-soft);
}
.avis-score strong { font-family: var(--font-serif); font-size: 2.6rem; line-height: 1; color: var(--blue-dark); }
.avis-score .avis-stars { margin: 0; font-size: 1.3rem; }
.avis-grid { display: grid; grid-template-columns: 1fr; gap: 18px; margin-bottom: 30px; }
.avis-item {
  background: var(--cream-soft);
  border: 1px solid #e3e3e3;
  border-radius: var(--radius);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .35s ease, box-shadow .35s ease;
}
.avis-item:hover { transform: translateY(-4px); box-shadow: 0 14px 30px -16px rgba(0,0,0,.25); }
.avis-item-stars { color: var(--star); letter-spacing: 3px; }
.avis-item blockquote { font-family: var(--font-serif); font-style: italic; font-size: 1.12rem; line-height: 1.45; color: var(--text); flex: 1; }
.avis-item figcaption { font-size: 0.82rem; color: var(--text-muted); letter-spacing: 0.04em; }
.avis-cta { text-align: center; }
@media (min-width: 860px) {
  .avis-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Infos */
.infos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.infos-card {
  background: var(--cream-soft);
  border-radius: var(--radius);
  padding: 26px 22px;
  border: 1px solid #e3e3e3;
}
.infos-card h3 { font-size: 1.3rem; margin-bottom: 14px; }
.infos-address { color: var(--text-soft); margin-bottom: 16px; }
.map-embed {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #dcdcdc;
  aspect-ratio: 16/10;
  margin-top: 16px;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; }
.hours-list { list-style: none; }
.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #e3e3e3;
  color: var(--text-soft);
  font-size: 0.96rem;
}
.hours-list li.today {
  background: var(--blue-tint-1);
  margin: 0 -10px;
  padding: 10px;
  border-radius: 6px;
  color: var(--blue-dark);
  font-weight: 700;
  border-bottom-color: transparent;
}
.hours-note { font-size: 0.8rem; color: var(--text-muted); margin-left: 6px; font-weight: 400; }

/* Footer */
.site-footer {
  background: var(--ink); /* noir */
  color: #d0d0d0;
  text-align: center;
  padding: 44px 20px 90px;
}
.site-footer .brand-name { font-family: var(--font-serif); color: #fff; font-size: 1.5rem; margin-bottom: 10px; }
.site-footer p { font-size: 0.92rem; margin-bottom: 6px; }
.footer-links { display: flex; justify-content: center; gap: 18px; margin: 18px 0; flex-wrap: wrap; }
.footer-links a { font-size: 0.88rem; color: #d0d0d0; }
.footer-links a:hover { color: #fff; }
.footer-copy { color: #8a8a8a; font-size: 0.82rem; margin-top: 14px; }

/* Desktop */
@media (min-width: 860px) {
  .main-nav {
    display: block;
    /* menu centré au milieu de l'en-tête */
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  .site-header .container { position: relative; }
  .nav-toggle, .mobile-nav { display: none !important; }
  .mobile-call-bar { display: none; }
  body { padding-bottom: 0; }

  .hero .container { grid-template-columns: 1.05fr 0.95fr; padding-top: 10px; }
  .hero-media-wrap { max-width: 420px; justify-self: end; }

  .histoire .container { grid-template-columns: 0.85fr 1.15fr; }
  .histoire-media { max-width: 340px; }

  .infos-grid { grid-template-columns: 1fr 1fr; }
  .galerie-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 859px) {
  body { padding-bottom: 76px; }
}

/* ============================= */
/* Animations — entrée, scroll, interactions */
/* ============================= */

@keyframes heroIn {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-text > * {
  opacity: 0;
  animation: heroIn 0.8s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero-text > *:nth-child(1) { animation-delay: 1.6s; }
.hero-text > *:nth-child(2) { animation-delay: 1.72s; }
.hero-text > *:nth-child(3) { animation-delay: 1.84s; }
.hero-text > *:nth-child(4) { animation-delay: 1.96s; }
.hero-text > *:nth-child(5) { animation-delay: 2.08s; }
.hero-text > *:nth-child(6) { animation-delay: 2.2s; }

@keyframes heroMediaIn {
  from { opacity: 0; transform: translateY(16px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.hero-media {
  animation: heroMediaIn 1s cubic-bezier(.2,.7,.2,1) 1.65s both;
  box-shadow: 0 0 0 0 rgba(255,255,255,0);
  transition: box-shadow 1.2s ease;
}
.hero-media.glow { box-shadow: 0 0 46px 2px rgba(255,255,255,.35); }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-stagger.in-view > * { opacity: 1; transform: translateY(0); }
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1);
}
.reveal-stagger.in-view > *:nth-child(1) { transition-delay: .05s; }
.reveal-stagger.in-view > *:nth-child(2) { transition-delay: .13s; }
.reveal-stagger.in-view > *:nth-child(3) { transition-delay: .21s; }
.reveal-stagger.in-view > *:nth-child(4) { transition-delay: .29s; }
.reveal-stagger.in-view > *:nth-child(5) { transition-delay: .37s; }
.reveal-stagger.in-view > *:nth-child(6) { transition-delay: .45s; }
.reveal-stagger.in-view > *:nth-child(7) { transition-delay: .53s; }
.reveal-stagger.in-view > *:nth-child(8) { transition-delay: .61s; }

/* Section divider draws in */
.section-divider {
  width: 0;
  transition: width .7s cubic-bezier(.2,.7,.2,1) .15s;
}
.section-head.in-view .section-divider,
.reveal.in-view .section-divider { width: 36px; }

/* Buttons — reflet lumineux au survol */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .6s ease;
  z-index: 1;
  pointer-events: none;
}
.btn:hover::before { transform: translateX(120%); }
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -8px rgba(0,0,0,.55);
}
.btn-blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -8px rgba(15,63,130,.5);
}
.btn-outline:hover, .btn-outline-blue:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* Carte : transition douce entre panneaux */
.carte-tab {
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.carte-tab:hover { transform: translateY(-2px); }
.carte-panel {
  display: block;
  height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .35s ease, transform .35s ease;
}
.carte-panel.active {
  height: auto;
  opacity: 1;
  transform: translateY(0);
}
.menu-item {
  transition: background .25s ease, padding-left .25s ease, border-color .25s ease;
  border-radius: 8px;
}
.menu-item:hover {
  background: var(--blue-tint-1);
  padding-left: 10px;
  border-color: transparent;
}
.menu-item:hover .menu-item-price { color: var(--gold-dark); }
.menu-item-price { transition: color .25s ease; }

/* Galerie : zoom au survol */
.galerie-item {
  transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease, border-color .4s ease;
}
.galerie-item:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 14px 30px -14px rgba(23,86,169,.35);
  border-color: var(--gold);
}

/* Infos cards : légère élévation */
.infos-card {
  transition: box-shadow .35s ease, transform .35s ease;
}
.infos-card:hover {
  box-shadow: 0 18px 34px -20px rgba(20,20,20,.25);
  transform: translateY(-3px);
}

/* Avis : étoiles scintillantes */
@keyframes starShimmer {
  0%, 100% { text-shadow: 0 0 0 rgba(255,255,255,0); }
  50% { text-shadow: 0 0 14px rgba(255,255,255,.7); }
}
.avis-stars { animation: starShimmer 3.2s ease-in-out infinite; }

/* Frise zellige : léger chatoiement doré */
.zellige-frieze {
  position: relative;
  overflow: hidden;
}
.zellige-frieze::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.22) 45%, transparent 70%);
  background-size: 200% 100%;
  animation: friezeShine 6s ease-in-out infinite;
}
@keyframes friezeShine {
  0% { background-position: 150% 0; }
  50% { background-position: -50% 0; }
  100% { background-position: -50% 0; }
}

/* Logo header : micro-interaction */
.brand svg { transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.brand:hover svg { transform: rotate(-6deg) scale(1.08); }

/* Intro : logo + reflet, puis rideau bleu qui remonte */
#intro {
  position: fixed;
  inset: 0;
  z-index: 3000;
}
.intro-curtain {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 45%, #4b88e0 0%, var(--blue) 45%, var(--blue-dark) 100%);
  transition: transform .95s cubic-bezier(.76,0,.24,1);
}
.intro-curtain::after {
  /* frise zellige en bas du rideau, comme sous le hero */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 22px;
  background-color: var(--blue-dark);
  background-image:
    linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%),
    linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%);
  background-position: 0 0, 11px 11px;
  background-size: 22px 22px;
}
.intro-emblem {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  transition: transform .8s cubic-bezier(.76,0,.24,1), opacity .45s ease;
}
.intro-logo {
  position: relative;
  width: clamp(150px, 40vw, 200px);
  animation: introLogoIn .7s cubic-bezier(.2,.7,.2,1) both;
}
.intro-logo .logo { width: 100%; } /* logo bleu marine, comme dans le haut de page */
.intro-shine {
  /* reflet qui ne brille que sur le dessin du logo (masque = le logo lui-même) */
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 38%, #fff 50%, transparent 62%);
  background-size: 260% 100%;
  background-position: 160% 0;
  -webkit-mask: url("../img/logo-blanc.png") center / contain no-repeat;
          mask: url("../img/logo-blanc.png") center / contain no-repeat;
  filter: drop-shadow(0 0 6px rgba(255,255,255,.8));
  animation: introShine .9s ease-in-out .35s both;
}
.intro-line {
  display: block;
  width: 0;
  height: 1px;
  background: #fff;
  animation: introLine .6s ease .3s forwards;
}
@keyframes introLogoIn {
  from { opacity: 0; transform: scale(.92); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: none; }
}
@keyframes introShine {
  from { background-position: 160% 0; }
  to { background-position: -60% 0; }
}
@keyframes introLine { to { width: 120px; } }
#intro.opening .intro-curtain { transform: translateY(-100%); }
#intro.opening .intro-emblem { transform: translateY(-50px); opacity: 0; }
#intro.hidden { display: none; }

/* ============================= */
/* Banderole défilante tout en haut */
/* ============================= */
.ticker {
  background: #141414; /* banderole noire */
  color: #fff;
  overflow: hidden;
  border-bottom: none;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: tickerScroll 45s linear infinite;
  will-change: transform; /* défilement fluide, sans saccade */
}
/* Reflet lumineux qui traverse la banderole */
.ticker { position: relative; }
.ticker::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 35%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.10) 35%, rgba(255,255,255,0.28) 50%, rgba(255,255,255,0.10) 65%, transparent);
  pointer-events: none;
  animation: tickerGlow 5s linear infinite; /* reflet lent et régulier, il repart dès qu'il sort */
}
@keyframes tickerGlow {
  from { transform: translateX(-110%); }
  to { transform: translateX(300%); }
}
.ticker-group { display: flex; align-items: center; flex-shrink: 0; }
.ticker span,
.ticker i {
  padding: 7px 20px;
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.04em;
  color: #fff;
  white-space: nowrap;
}
/* Lettres satinées : un reflet blanc/argent glisse sur le texte */
.ticker span {
  background: linear-gradient(100deg, #ffffff 0%, #ffffff 38%, #c9d6e8 46%, #ffffff 50%, #e3ebf5 54%, #ffffff 62%, #ffffff 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 12px rgba(255,255,255,0.18);
  animation: tickerTextShine 3.5s linear infinite;
}
@keyframes tickerTextShine {
  from { background-position: 100% 0; }
  to { background-position: -150% 0; }
}
.ticker i { color: var(--star); padding: 6px 6px; letter-spacing: 0; font-size: 1rem; line-height: 1; }
@keyframes tickerScroll { to { transform: translateX(-50%); } }

/* ============================= */
/* Hero plus rempli */
/* ============================= */
.hero-subtitle {
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  font-weight: 600;
  opacity: 0.9;
  margin-bottom: 22px;
}
.hero-subtitle .hero-rule { width: 46px; height: 1px; }
.hero-logo .logo { width: clamp(120px, 28vw, 160px); }
.hero-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2.5rem, 6.4vw, 4.4rem);
  line-height: 1.02;
  color: #fff;
  margin-bottom: 18px;
}
.hero-title em {
  display: block;
  font-style: italic;
  font-weight: 500;
  color: #fff;
}
.hero-hook { font-size: clamp(1.05rem, 3vw, 1.3rem); margin-bottom: 28px; }

/* Haut de page sur toute la largeur : texte calé à gauche, photo à droite */
.hero .container { max-width: none; padding-left: clamp(20px, 5vw, 90px); padding-right: clamp(20px, 5vw, 90px); }

.hero-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  position: relative;
  z-index: 1;
}
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 0;
  list-style: none;
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}
.hero-facts li + li::before { content: "·"; margin: 0 14px; color: #fff; }
.hero-scroll {
  color: #fff;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  animation: scrollBounce 2.2s ease-in-out infinite;
}
.hero-scroll svg { width: 26px; height: 26px; }
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50% { transform: translateY(7px); opacity: 1; }
}
@media (min-width: 860px) {
  /* flèche au centre, infos à gauche */
  .hero-scroll { position: absolute; left: 50%; transform: translateX(-50%); animation-name: scrollBounceCenter; }
}
@keyframes scrollBounceCenter {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.6; }
  50% { transform: translate(-50%, 7px); opacity: 1; }
}

/* ============================= */
/* Boutons façon "maison" : majuscules espacées, lueur, reflet qui passe tout seul */
/* ============================= */
.btn {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  padding: 15px 28px;
  transition: transform .25s ease, box-shadow .35s ease, background .25s ease, border-color .25s ease;
}
.btn::before {
  /* le reflet traverse le bouton toutes les quelques secondes */
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.55) 50%, transparent 65%);
  transition: none;
  animation: btnShine 4.5s ease-in-out infinite;
}
.btn:hover::before { transform: none; }
.hero-actions .btn:nth-child(2)::before { animation-delay: 1.2s; }
@keyframes btnShine {
  0% { transform: translateX(-120%); }
  35%, 100% { transform: translateX(120%); }
}
.btn-outline {
  border-width: 1px;
  border-color: rgba(255,255,255,0.85);
  box-shadow: 0 0 0 rgba(255,255,255,0);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  box-shadow: 0 0 22px rgba(255,255,255,0.35), inset 0 0 14px rgba(255,255,255,0.12);
}
.btn-gold { box-shadow: 0 6px 18px rgba(0,0,0,0.3); }
.btn-arrow { display: inline-block; transition: transform .3s ease; }
.btn:hover .btn-arrow { transform: translateX(6px); }

/* Bouton musique d'ambiance */
.music-toggle {
  position: fixed;
  left: 18px;
  bottom: calc(86px + env(safe-area-inset-bottom)); /* au-dessus de la barre mobile */
  z-index: 250;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.4);
  background: var(--blue-darker);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 8px 22px -8px rgba(0,0,0,.45);
  transition: transform .25s ease, background .25s ease;
}
.music-toggle[hidden] { display: none; }
.music-toggle:hover { transform: scale(1.08); }
.music-icon { width: 22px; height: 22px; }
.music-bars { display: none; align-items: flex-end; gap: 3px; height: 18px; }
.music-bars i { width: 3px; height: 100%; background: #fff; border-radius: 2px; animation: musicBar .9s ease-in-out infinite; transform-origin: bottom; }
.music-bars i:nth-child(2) { animation-delay: .2s; }
.music-bars i:nth-child(3) { animation-delay: .45s; }
.music-bars i:nth-child(4) { animation-delay: .1s; }
.music-toggle[aria-pressed="true"] { background: var(--blue); }
.music-toggle[aria-pressed="true"] .music-icon { display: none; }
.music-toggle[aria-pressed="true"] .music-bars { display: flex; }
@keyframes musicBar {
  0%, 100% { transform: scaleY(.3); }
  50% { transform: scaleY(1); }
}
/* Halo qui pulse tant que personne n'a cliqué */
.music-toggle.invite::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 2px solid var(--blue);
  animation: musicPulse 2s ease-out infinite;
  pointer-events: none;
}
@keyframes musicPulse {
  0% { transform: scale(1); opacity: .9; }
  100% { transform: scale(1.7); opacity: 0; }
}
/* Bulle d'invitation à côté du bouton */
.music-hint {
  position: fixed;
  left: 80px;
  bottom: calc(92px + env(safe-area-inset-bottom));
  z-index: 250;
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 10px 28px -10px rgba(0,0,0,.4);
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity .4s ease, transform .4s ease;
}
.music-hint.show { opacity: 1; transform: none; }
.music-hint::before {
  /* petite pointe vers le bouton */
  content: "";
  position: absolute;
  left: -6px;
  top: 50%;
  width: 12px;
  height: 12px;
  background: #fff;
  transform: translateY(-50%) rotate(45deg);
}
.music-hint-play {
  position: relative;
  border: 0;
  background: none;
  padding: 10px 6px 10px 16px;
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--blue-dark);
  cursor: pointer;
  white-space: nowrap;
}
.music-hint-close {
  position: relative;
  border: 0;
  background: none;
  padding: 6px 12px 6px 6px;
  font-size: 1.2rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
}
@media (min-width: 860px) {
  .music-toggle { bottom: 24px; left: 24px; }
  .music-hint { left: 86px; bottom: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  .music-bars i { animation: none; transform: scaleY(.7); }
  .music-toggle.invite::after { animation: none; opacity: 0; }
  .ticker-track, .ticker::after, .ticker span, .hero-scroll, .btn::before { animation: none; }
  html { scroll-behavior: auto; }
  .btn, .btn::before { transition: none; }
  .hero-text > *, .hero-media { animation: none; opacity: 1; transform: none; }
  .reveal, .reveal-stagger > *, .section-divider { transition: none; opacity: 1; transform: none; width: 36px; }
  .zellige-frieze::after, .avis-stars { animation: none; }
  .galerie-item:hover, .infos-card:hover, .btn-gold:hover, .btn-blue:hover { transform: none; }
  #intro { display: none; }
}

/* ============================= */
/* Police du site : Cormorant Garamond italique partout (comme la banderole), validée par Emir.
   Les chiffres (prix, horaires) restent en Lora droite pour être lisibles. */
/* ============================= */
:root { --font-body: 'Cormorant Garamond', Georgia, serif; }
body { font-style: italic; font-weight: 500; font-size: 1.12rem; }
.btn, .carte-tab, .main-nav a, .mobile-nav a, .footer-links a { font-style: italic; }
/* Menu plus grand avec la nouvelle police (Cormorant est plus petite que Lora) */
.main-nav a { font-size: 1.22rem; }
.mobile-nav a { font-size: 1.3rem; }
/* Chiffres lisibles : les prix et les horaires restent en Lora droite, chiffres alignés */
.menu-item-price,
.hours-list,
.hero-status {
  font-family: 'Lora', Georgia, serif;
  font-style: normal;
  font-variant-numeric: lining-nums tabular-nums;
}
.menu-item-price { font-size: 1rem; font-weight: 600; }

/* Pages simples sur fond bleu : 404 (page introuvable) et merci (formulaire envoyé) */
.page-404 {
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 40px 20px;
  background: var(--blue);
  color: #fff;
}
.page-404 .logo { width: 150px; margin: 0 auto 24px; }
.page-404 h1 { color: #fff; font-size: clamp(2.2rem, 7vw, 3.4rem); margin-bottom: 10px; }
.page-404 p { font-family: var(--font-serif); font-style: italic; font-size: 1.25rem; margin-bottom: 28px; }

/* ============================= */
/* Page Contact */
/* ============================= */
.contact-back { display: none; color: #fff; font-weight: 600; font-size: 1.05rem; }
@media (max-width: 859px) { .page-contact .contact-back { display: inline-block; } .page-contact .nav-toggle { display: none; } }
.contact { max-width: var(--max-width); margin: 0 auto; padding: 56px 20px 80px; }
.contact-head { text-align: center; max-width: 620px; margin: 0 auto 40px; }
.contact-head h1 { font-size: clamp(2.4rem, 7vw, 3.4rem); margin: 6px 0 12px; }
.contact-head p { color: var(--text-soft); }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: start; }
.contact-form, .contact-infos {
  background: var(--cream-soft);
  border: 1px solid #e3e3e3;
  border-radius: var(--radius);
  padding: 28px 22px;
}
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field span { font-weight: 600; color: var(--blue-dark); font-size: 1.02rem; }
.field input, .field select, .field textarea {
  font-family: 'Lora', Georgia, serif;
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid #d6d6d6;
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  width: 100%;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(61,123,217,.18);
}
.field textarea { resize: vertical; min-height: 130px; }
.hidden-field { position: absolute; left: -9999px; }
.form-note { font-size: 0.95rem; color: var(--text-muted); }
.form-note a { text-decoration: underline; }
.contact-form .btn { align-self: flex-start; }
.contact-infos h2 { font-size: 1.6rem; margin-bottom: 16px; }
.contact-line { display: flex; flex-direction: column; gap: 2px; padding: 12px 0; border-bottom: 1px solid #eee; }
.contact-line:last-child { border-bottom: none; }
.contact-line strong { font-size: 0.82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); font-style: normal; }
.contact-line span, .contact-line a { font-size: 1.12rem; color: var(--text); }
.contact-line[hidden], .field-row[hidden] { display: none; }
@media (min-width: 860px) {
  .contact-grid { grid-template-columns: 1.6fr 1fr; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .contact-form, .contact-infos { padding: 36px 34px; }
}

/* Icônes réseaux sociaux (pied de page + page Contact) */
.social-links { display: flex; justify-content: center; gap: 14px; margin: 16px 0 6px; }
.social-links a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.social-links a:hover { background: #fff; color: var(--ink); transform: translateY(-2px); }
.social-links svg { width: 20px; height: 20px; }
.social-links a.is-pending { cursor: default; }
.social-links--dark { justify-content: flex-start; margin: 6px 0 0; }
.social-links--dark a { color: var(--blue-dark); border-color: #d6d6d6; }
.social-links--dark a:hover { background: var(--blue-dark); color: #fff; }
/* Mêmes chiffres lisibles pour le téléphone, l'adresse et les horaires (Contact + pied de page) */
.contact-line span,
.contact-line a,
.site-footer a[href^="tel"] {
  font-family: 'Lora', Georgia, serif;
  font-style: normal;
  font-variant-numeric: lining-nums;
  font-size: 1rem;
}

/* ============================= */
/* Effet miroir : reflets lumineux à plusieurs endroits du site */
/* ============================= */
/* 1. Logo du haut de page : le reflet ne brille que sur le dessin (masque = le logo) */
.hero .hero-logo { position: relative; display: inline-block; }
.logo-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 40%, rgba(255,255,255,.95) 50%, transparent 60%);
  background-size: 300% 100%;
  background-position: 150% 0;
  -webkit-mask: url("../img/logo-transparent.png") center / contain no-repeat;
          mask: url("../img/logo-transparent.png") center / contain no-repeat;
  animation: mirrorSweep 6s ease-in-out 3s infinite;
  pointer-events: none;
}
@keyframes mirrorSweep {
  0% { background-position: 150% 0; }
  25%, 100% { background-position: -50% 0; }
}

/* 2. « cœurs toujours ouverts. » : lettres satinées comme la banderole */
.hero-title em {
  background: linear-gradient(100deg, #fff 0%, #fff 40%, #c9d6e8 47%, #fff 50%, #e3ebf5 53%, #fff 60%, #fff 100%);
  background-size: 260% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: mirrorText 5s linear 2.4s infinite;
}
@keyframes mirrorText {
  from { background-position: 100% 0; }
  to { background-position: -160% 0; }
}

/* 3. Titres de section : une bande de lumière traverse le texte bleu marine */
.section-head h2,
.histoire-text h2 {
  background: linear-gradient(100deg, var(--blue-dark) 0%, var(--blue-dark) 42%, #7fb0ee 50%, var(--blue-dark) 58%, var(--blue-dark) 100%);
  background-size: 300% 100%;
  background-position: 150% 0;
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: mirrorSweep 7s ease-in-out 1s infinite;
}

/* 4. Photo de Sidi Bou Saïd : reflet en diagonale, comme sur une vitre */
.hero-media::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 45%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.38), transparent);
  transform: skewX(-12deg);
  animation: mirrorGlass 8s ease-in-out 3.5s infinite;
  pointer-events: none;
  z-index: 2;
}
@keyframes mirrorGlass {
  0% { left: -60%; }
  22%, 100% { left: 130%; }
}

@media (prefers-reduced-motion: reduce) {
  .logo-shine, .hero-title em, .section-head h2, .histoire-text h2, .hero-media::after { animation: none; }
}
.social-links[hidden], .social-links a[hidden] { display: none; }
