/* Chef Baba — thème « papier kraft » repris du flyer */
:root {
  --kraft: #e9d3a3;
  --kraft-clair: #f3e4c0;
  --kraft-fonce: #c9a96a;
  --encre: #1b1714;
  --encre-douce: #3b3128;
  --or: #c08a1e;
  --or-clair: #e8b84a;
  --braise: #e2561b;
  --braise-texte: #a33a0c; /* braise assombrie : contraste ≥ 4,5:1 sur kraft */
  --or-texte: #7a5410;
  --charbon: #14110f;
  --script: 'Kaushan Script', cursive;
  --affiche: 'League Gothic', 'Arial Narrow', sans-serif;
  --texte: 'Crimson Pro', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--encre);
  font: 400 1.2rem/1.6 var(--texte);
  background-color: var(--kraft);
  /* grain de papier + taches plus claires, comme le flyer */
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .25 0 0 0 0 .1 0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23g)'/%3E%3C/svg%3E"),
    radial-gradient(ellipse at 20% 10%, var(--kraft-clair) 0, transparent 55%),
    radial-gradient(ellipse at 85% 60%, var(--kraft-clair) 0, transparent 45%),
    radial-gradient(ellipse at 40% 95%, var(--kraft-fonce) 0, transparent 50%);
  background-attachment: fixed;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--braise-texte); outline-offset: 3px; }
.charbon :focus-visible, .pied :focus-visible { outline-color: var(--or-clair); }

/* ---------- Bandeau ---------- */
.bandeau {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .6rem clamp(1rem, 4vw, 3rem);
  background: color-mix(in srgb, var(--kraft) 88%, transparent);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid color-mix(in srgb, var(--encre) 15%, transparent);
}
.bandeau__logo { font: 1.7rem var(--script); text-decoration: none; }
.bandeau nav { display: flex; align-items: center; gap: clamp(.8rem, 2.5vw, 2rem); }
.bandeau nav a {
  font: 1.25rem var(--affiche); letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
}
.bandeau nav a:not(.bandeau__tel):hover { color: var(--braise-texte); }
.bandeau__tel { padding: .25rem .8rem; background: var(--encre); color: var(--kraft-clair) !important; }
.bandeau__tel:hover { background: var(--braise-texte); }

/* ---------- Ouverture ---------- */
.ouverture {
  max-width: 980px; margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 5rem) 1.5rem 4rem;
  text-align: center;
}
.surtitre {
  margin: 0; font: 600 clamp(2rem, 5vw, 3.2rem)/1 var(--texte);
  letter-spacing: .14em; text-transform: uppercase;
}
.logo {
  margin: -.1em 0 0; font: 400 clamp(5rem, 17vw, 11rem)/1 var(--script);
  color: var(--encre); transform: rotate(-3deg);
  text-shadow: .03em .03em 0 color-mix(in srgb, var(--encre) 18%, transparent);
}
.logo span { display: inline-block; }
.logo span + span { margin-left: .15em; transform: translateY(.06em); }

.archives {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 4vw, 3rem);
  max-width: 760px; margin: clamp(1.5rem, 4vw, 2.5rem) auto 0;
}
.cadre {
  margin: 0; padding: 6px; background: var(--encre);
  border: 5px solid var(--or);
  box-shadow: 0 0 0 1px var(--or-clair) inset, 0 18px 30px -12px rgb(40 25 5 / .55);
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.cadre img { aspect-ratio: 2 / 3; object-fit: cover; filter: sepia(.25) contrast(1.05); }
.cadre--gauche { transform: rotate(-2.2deg); }
.cadre--droite { transform: rotate(1.8deg) translateY(1.2rem); }
.cadre:hover { transform: rotate(0) scale(1.03); }

.accroche {
  margin: clamp(2.5rem, 6vw, 3.5rem) 0 0;
  font: 400 clamp(2.6rem, 8vw, 5rem)/1 var(--affiche); letter-spacing: .1em; text-transform: uppercase;
}
.accroche em { font: 400 .6em var(--script); text-transform: none; letter-spacing: 0; color: var(--braise-texte); }
.emporter { margin: 1rem 0 0; font: 400 clamp(2.2rem, 6vw, 3.4rem)/1 var(--texte); letter-spacing: .06em; text-transform: uppercase; }
.emporter::before, .emporter::after { content: '—'; margin: 0 .4em; color: var(--or); }

.statut {
  display: inline-flex; align-items: center; gap: .6rem;
  margin: 2rem 0 0; padding: .4rem 1rem;
  font: 1.25rem var(--affiche); letter-spacing: .1em; text-transform: uppercase;
  border: 2px solid var(--encre);
}
.statut::before { content: ''; width: .7rem; height: .7rem; border-radius: 50%; background: var(--encre-douce); }
.statut.est-ouvert { background: var(--encre); color: var(--kraft-clair); }
.statut.est-ouvert::before { background: var(--braise); box-shadow: 0 0 10px var(--braise); animation: braise 1.6s ease-in-out infinite; }

/* ---------- La maison ---------- */
.maison {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center;
  max-width: 1100px; margin: 0 auto; padding: clamp(3rem, 8vw, 6rem) 1.5rem;
}
.titre-script { margin: 0 0 1rem; font: 400 clamp(3rem, 7vw, 4.5rem)/1 var(--script); transform: rotate(-2deg); }
.maison__texte p { margin: 0 0 1rem; max-width: 34em; }
.lettrine::first-letter { float: left; margin: .05em .12em 0 0; font: 400 4.2em/.8 var(--script); color: var(--braise-texte); }
.engagements { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.2rem; }
.engagements li {
  position: relative; padding: 1rem 1.2rem 1rem 4.2rem;
  border-top: 2px solid var(--encre); line-height: 1.35;
}
.engagements strong { display: block; font: 400 1.7rem/1.1 var(--affiche); letter-spacing: .06em; text-transform: uppercase; }
.engagements__chiffre { position: absolute; left: 0; top: .7rem; font: 400 2.8rem/1 var(--affiche); color: var(--or-texte); }

/* ---------- Le charbon (section sombre) ---------- */
.charbon {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(4rem, 12vw, 8rem) 1.5rem; text-align: center;
  color: var(--kraft-clair);
  background:
    radial-gradient(ellipse at 50% 120%, rgb(226 86 27 / .55), transparent 60%),
    radial-gradient(ellipse at 50% 110%, rgb(232 184 74 / .25), transparent 40%),
    var(--charbon);
}
.charbon__titre { margin: 0; font: 400 clamp(3.2rem, 11vw, 7rem)/.95 var(--affiche); text-transform: uppercase; letter-spacing: .04em; }
.charbon__texte { max-width: 36em; margin: 1.8rem auto 2.4rem; color: color-mix(in srgb, var(--kraft-clair) 85%, transparent); }
.bouton {
  display: inline-block; padding: .8rem 1.8rem;
  font: 1.5rem var(--affiche); letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  color: var(--charbon); background: var(--or-clair);
  box-shadow: 0 0 0 3px var(--charbon), 0 0 0 5px var(--or-clair);
  transition: background .25s, transform .25s;
}
.bouton:hover { background: var(--braise-texte); color: var(--kraft-clair); transform: translateY(-2px); }

.braises { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.braises i {
  position: absolute; bottom: -10px; width: 5px; height: 5px; border-radius: 50%;
  background: var(--or-clair); box-shadow: 0 0 8px 2px var(--braise);
  animation: monte 7s linear infinite; opacity: 0;
}
.braises i:nth-child(1)  { left: 8%;  animation-delay: 0s;   animation-duration: 6s; }
.braises i:nth-child(2)  { left: 17%; animation-delay: 2.1s; animation-duration: 8s; }
.braises i:nth-child(3)  { left: 26%; animation-delay: 4.3s; }
.braises i:nth-child(4)  { left: 34%; animation-delay: 1.2s; animation-duration: 9s; width: 3px; height: 3px; }
.braises i:nth-child(5)  { left: 43%; animation-delay: 3.4s; }
.braises i:nth-child(6)  { left: 51%; animation-delay: .6s;  animation-duration: 6.5s; }
.braises i:nth-child(7)  { left: 59%; animation-delay: 5s;   width: 3px; height: 3px; }
.braises i:nth-child(8)  { left: 67%; animation-delay: 2.7s; animation-duration: 8.5s; }
.braises i:nth-child(9)  { left: 75%; animation-delay: 1.8s; }
.braises i:nth-child(10) { left: 83%; animation-delay: 4.8s; animation-duration: 6s; }
.braises i:nth-child(11) { left: 91%; animation-delay: .3s;  animation-duration: 9s; width: 3px; height: 3px; }
.braises i:nth-child(12) { left: 38%; animation-delay: 6s;   animation-duration: 7.5s; }

@keyframes monte {
  0%   { transform: translate(0, 0); opacity: 0; }
  10%  { opacity: 1; }
  50%  { transform: translate(18px, -45vh); }
  100% { transform: translate(-12px, -95vh); opacity: 0; }
}
@keyframes braise { 50% { opacity: .45; } }

/* ---------- Horaires & coordonnées ---------- */
.pratique {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center;
  max-width: 1100px; margin: 0 auto; padding: clamp(3rem, 8vw, 6rem) 1.5rem;
}
.ticket {
  padding: 2rem clamp(1.2rem, 4vw, 2.5rem); text-align: center;
  background: var(--kraft-clair);
  border: 2px solid var(--encre); outline: 1px solid var(--encre); outline-offset: 5px;
  transform: rotate(-1deg);
}
.ticket__titre { margin: 0 0 1rem; font: 600 2.6rem/1 var(--texte); letter-spacing: .1em; text-transform: uppercase; }
.horaires { margin: 0; }
.horaires div { padding: .7rem .5rem; border-top: 1px dashed var(--encre-douce); transition: background .3s; }
.horaires dt { font-size: 1.25rem; }
.horaires dd { margin: 0; font: 400 1.8rem/1.2 var(--affiche); letter-spacing: .05em; }
.horaires__ferme dd { color: var(--braise-texte); }
.horaires .aujourdhui { background: color-mix(in srgb, var(--or-clair) 35%, transparent); }
.horaires .aujourdhui dt::after { content: ' · aujourd’hui'; font-style: italic; color: var(--braise-texte); }

.coordonnees { font-style: normal; display: grid; gap: 1.3rem; }
.coordonnees a { display: flex; align-items: center; gap: 1rem; text-decoration: none; font-size: 1.35rem; line-height: 1.25; }
.coordonnees a span { border-bottom: 1px solid transparent; transition: border-color .2s; overflow-wrap: anywhere; }
.coordonnees a:hover span { border-color: var(--braise); }
.coordonnees svg {
  flex: none; width: 2.6rem; height: 2.6rem; padding: .5rem;
  fill: none; stroke: var(--encre); stroke-width: 1.8; stroke-linejoin: round;
  border: 2px solid var(--encre); border-radius: 50%;
}
.coordonnees__metro { margin: .4rem 0 0; font-style: italic; color: var(--encre-douce); }

/* ---------- Pied ---------- */
.pied { padding: 2.5rem 1.5rem 3rem; text-align: center; background: var(--encre); color: var(--kraft); }
.pied p { margin: 0; letter-spacing: .08em; }
.pied__logo { font: 2.6rem var(--script); letter-spacing: 0 !important; }

/* ---------- Apparitions ---------- */
.anime :is(.reveal, .maison__texte, .engagements li, .ticket, .coordonnees) {
  opacity: 0; translate: 0 24px;
  transition: opacity .8s ease var(--delai, 0ms), translate .8s cubic-bezier(.2, .8, .2, 1) var(--delai, 0ms);
}
.anime .vu { opacity: 1 !important; translate: 0 0 !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .anime :is(.reveal, .maison__texte, .engagements li, .ticket, .coordonnees) { opacity: 1; translate: none; }
}

/* ---------- Mobile ---------- */
@media (max-width: 760px) {
  .bandeau nav a:not(.bandeau__tel) { display: none; }
  .maison, .pratique { grid-template-columns: 1fr; }
  .logo { margin-top: .15em; line-height: .95; }
  .emporter { white-space: nowrap; }
  .emporter::before, .emporter::after { margin: 0 .2em; }
  .archives { gap: .8rem; }
  .cadre { border-width: 3px; padding: 3px; }
}
