/* ==========================================================================
   Maharaja Indian — Direction « MASALA »
   Affiche éditoriale · bazar indien · contours épais + ombres dures
   Palette : curcuma / piment / indigo / feuille / crème
   ========================================================================== */

:root {
  --paper: #f8efd8;
  --paper-2: #f2e4c0;
  --ink: #201710;
  --ink-soft: #5b4a35;
  --turmeric: #f2a81d;
  --turmeric-dark: #d9900c;
  --chili: #d93a1a;
  --indigo: #1f2d78;
  --indigo-deep: #16205c;
  --leaf: #1e6b47;
  --magenta: #c42a6b;
  --shadow: #201710;
  --font-display: "Fraunces", Georgia, serif;
  --font-ui: "Space Grotesk", "Segoe UI", sans-serif;
  --font-deva: "Mukta", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-ui);
  font-size: 16px; line-height: 1.6;
  color: var(--ink); background: var(--paper);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
::selection { background: var(--turmeric); color: var(--ink); }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.block { padding: 96px 0; position: relative; }
.block--paper { background: var(--paper); color: var(--ink); }
.block--indigo { background: var(--indigo); color: var(--paper); }
.block--turmeric { background: var(--turmeric); color: var(--ink); }
.block--chili { background: var(--chili); color: var(--paper); }
.block--leaf { background: var(--leaf); color: var(--paper); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 900; line-height: 1; font-optical-sizing: auto; }

/* --- Boutons & stickers (contour + ombre dure) ---------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-ui); font-weight: 700; font-size: 0.9rem;
  text-transform: uppercase; letter-spacing: 0.04em; text-decoration: none;
  padding: 15px 26px; border: 2.5px solid var(--ink); border-radius: 999px;
  box-shadow: 5px 5px 0 var(--shadow); cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover, .btn:focus-visible { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--shadow); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--chili { background: var(--chili); color: var(--paper); }
.btn--turmeric { background: var(--turmeric); color: var(--ink); }
.btn--paper { background: var(--paper); color: var(--ink); }
.btn--whatsapp { background: #1fa855; color: #fff; }
.on-dark .btn { box-shadow: 5px 5px 0 rgba(0,0,0,0.45); }

.sticker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-ui); font-weight: 700; font-size: 0.76rem;
  text-transform: uppercase; letter-spacing: 0.05em;
  padding: 8px 15px; border: 2px solid var(--ink); border-radius: 999px;
  background: var(--paper); color: var(--ink); box-shadow: 3px 3px 0 var(--shadow);
}
.sticker--turmeric { background: var(--turmeric); }
.sticker--chili { background: var(--chili); color: var(--paper); }
.sticker--leaf { background: var(--leaf); color: var(--paper); }
.sticker svg { width: 16px; height: 16px; }

.icon { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* --- Ticker haut ---------------------------------------------------------- */
.ticker { background: var(--ink); color: var(--paper); overflow: hidden; border-bottom: 3px solid var(--ink); }
.ticker__track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.ticker__track span { padding: 9px 0; font-family: var(--font-ui); font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.12em; white-space: nowrap; }
.ticker__track b { color: var(--turmeric); margin: 0 22px; }
.ticker .deva { font-family: var(--font-deva); letter-spacing: 0; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* --- Header --------------------------------------------------------------- */
.head { position: sticky; top: 0; z-index: 90; background: var(--paper); border-bottom: 3px solid var(--ink); }
.head__in { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 18px; }
.brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; color: var(--ink); }
.brand b { font-family: var(--font-display); font-weight: 900; font-size: 1.6rem; letter-spacing: -0.01em; }
.brand .deva { font-family: var(--font-deva); font-weight: 700; font-size: 1rem; color: var(--chili); }
.head nav { display: flex; gap: 26px; }
.head nav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.03em; }
.head nav a:hover { color: var(--chili); }
.head__cta { display: inline-flex; white-space: nowrap; }
.burger { display: none; background: none; border: 2.5px solid var(--ink); border-radius: 10px; padding: 8px; cursor: pointer; color: var(--ink); }

/* --- Hero ----------------------------------------------------------------- */
.hero { padding: 70px 0 84px; position: relative; overflow: hidden; }
.hero__ghost {
  position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%);
  text-align: center; z-index: 0; pointer-events: none;
  font-family: var(--font-deva); font-weight: 700; font-size: 20vw; line-height: 0.8;
  color: transparent; -webkit-text-stroke: 2px rgba(32,23,16,0.09); opacity: 0.9;
}
.hero__ghost span {
  display: inline-block; transform-origin: center center;
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(.2,.9,.25,1.35);
}
.hero__ghost span.out { opacity: 0; transform: scale(0.55); }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 40px; align-items: center; }
.hero__kicker { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.82rem; margin-bottom: 22px; }
.hero__kicker b { color: var(--chili); }
.hero h1 { font-size: clamp(3rem, 9vw, 6.3rem); letter-spacing: -0.02em; }
.hero h1 .l2 { color: var(--chili); font-style: italic; }
.hero h1 .l3 { color: var(--indigo); }
.hero__sub { max-width: 460px; font-size: 1.12rem; margin: 26px 0 30px; color: var(--ink-soft); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__aside { position: relative; display: flex; justify-content: center; align-items: center; }
.photo-card {
  background: var(--paper); border: 3px solid var(--ink); box-shadow: 12px 12px 0 var(--shadow);
  padding: 12px 12px 16px; transform: rotate(-4deg); max-width: 320px;
}
.photo-card img { border: 2px solid var(--ink); aspect-ratio: 4/5; object-fit: cover; width: 100%; height: auto; }
.photo-card figcaption { font-family: var(--font-ui); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.82rem; text-align: center; margin-top: 12px; }
.photo-card .pin { position: absolute; top: -14px; left: 50%; transform: translateX(-50%) rotate(6deg); z-index: 3; }

/* Sceau rotatif */
.seal { position: absolute; bottom: -34px; left: -34px; width: 118px; height: 118px; animation: spin 20s linear infinite; z-index: 4; }
.seal svg { width: 100%; height: 100%; }
.seal__center { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.seal__center svg { width: 34px; height: 34px; fill: none; stroke: var(--turmeric); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@keyframes spin { to { transform: rotate(360deg); } }

/* --- Bandeau épices ------------------------------------------------------- */
.spice-strip { padding: 16px 0; border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); overflow: hidden; }
.spice-strip .ticker__track { animation-duration: 40s; }
.spice-strip .ticker__track span { font-family: var(--font-display); font-weight: 900; font-style: italic; font-size: 1.5rem; text-transform: none; letter-spacing: 0; color: var(--ink); }
.spice-strip .ticker__track b { color: var(--ink); opacity: 0.4; margin: 0 20px; font-style: normal; }

/* --- En-tête de section --------------------------------------------------- */
.sec-head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.sec-num { font-family: var(--font-ui); font-weight: 700; font-size: 0.9rem; border: 2.5px solid currentColor; border-radius: 999px; padding: 4px 13px; }
.sec-kicker { font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.82rem; }
.h-sec { font-size: clamp(2.3rem, 6vw, 4rem); letter-spacing: -0.015em; margin-bottom: 12px; }
.h-sec .deva { font-family: var(--font-deva); font-weight: 700; font-size: 0.42em; vertical-align: middle; opacity: 0.6; margin-left: 12px; }
.sec-intro { max-width: 620px; font-size: 1.08rem; margin-bottom: 46px; }
.block--indigo .sec-intro, .block--chili .sec-intro, .block--leaf .sec-intro { opacity: 0.9; }

/* --- Notre façon de faire (étapes) ---------------------------------------- */
.manifesto { display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 24px; }
.mani {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  border: 2.5px solid var(--paper); border-radius: 18px; padding: 26px 24px;
  box-shadow: 7px 7px 0 rgba(0,0,0,0.4); background: rgba(255,255,255,0.05);
}
.mani-ic {
  width: 60px; height: 60px; border-radius: 50%; background: var(--turmeric); color: var(--ink);
  border: 2.5px solid var(--paper); display: grid; place-items: center; margin-bottom: 12px;
  box-shadow: 3px 3px 0 rgba(0,0,0,0.35);
}
.mani-ic svg { width: 32px; height: 32px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mani-step { font-family: var(--font-ui); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--turmeric); }
.mani h3 { font-family: var(--font-display); font-weight: 900; font-size: 1.5rem; margin: 2px 0 6px; }
.mani p { opacity: 0.92; font-size: 0.95rem; }

/* --- Carte (affiche) ------------------------------------------------------ */
.menu { display: grid; grid-template-columns: 1fr 1fr; gap: 46px 70px; }
.menu-cat h3 {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  font-size: 1.9rem; padding-bottom: 12px; margin-bottom: 8px;
  border-bottom: 3px solid var(--turmeric);
}
.menu-cat h3 .deva { font-family: var(--font-deva); font-weight: 700; font-size: 1rem; opacity: 0.7; }
.menu-row { display: flex; align-items: baseline; gap: 12px; padding: 10px 0; border-bottom: 1.5px solid rgba(248,239,216,0.16); }
.menu-row .n { font-weight: 700; font-size: 1.02rem; }
.menu-row .leader { flex: 1; border-bottom: 2px dotted rgba(248,239,216,0.3); transform: translateY(-5px); }
.menu-row .p { font-family: var(--font-display); font-weight: 900; font-size: 1.25rem; color: var(--turmeric); white-space: nowrap; }
.veg { display: inline-block; width: 11px; height: 11px; border: 2px solid #6fd39a; border-radius: 3px; position: relative; margin-left: 7px; vertical-align: middle; }
.veg::after { content: ""; position: absolute; inset: 2px; background: #6fd39a; border-radius: 1px; }
.menu-foot { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.menu-note { font-size: 0.9rem; opacity: 0.85; max-width: 560px; font-style: italic; }
.menu-row.more { display: none; }
.menu.show-all .menu-row.more { display: flex; }
.menu-more-wrap, .gallery-more-wrap { text-align: center; margin-top: 34px; }
#menuMore .chev, #galMore .chev { transition: transform 0.25s ease; }
#menuMore[aria-expanded="true"] .chev, #galMore[aria-expanded="true"] .chev { transform: rotate(180deg); }
.gallery-extra { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 24px; }
.gallery-extra .g-item img { aspect-ratio: 4 / 3; height: auto; }
.gallery-extra[hidden] { display: none; }

/* --- Signatures (éditorial décalé) ---------------------------------------- */
.signatures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.sig { position: relative; }
.sig:nth-child(1) { transform: rotate(-1.5deg); }
.sig:nth-child(2) { transform: rotate(1.5deg); margin-top: 34px; }
.sig:nth-child(3) { transform: rotate(-1deg); }
.sig__frame { border: 3px solid var(--ink); box-shadow: 10px 10px 0 var(--shadow); background: var(--paper); }
.sig__frame img { aspect-ratio: 4/5; object-fit: cover; width: 100%; height: auto; border-bottom: 3px solid var(--ink); }
.sig__body { padding: 16px 18px 20px; }
.sig__idx { font-family: var(--font-ui); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.1em; color: var(--chili); }
.sig__body h3 { font-family: var(--font-display); font-weight: 900; font-size: 1.5rem; margin: 2px 0 6px; }
.sig__body p { font-size: 0.92rem; color: var(--ink-soft); }
.sig__price { display: inline-block; margin-top: 10px; font-family: var(--font-display); font-weight: 900; font-size: 1.15rem; }
.sig .sticker { position: absolute; top: -16px; right: -10px; transform: rotate(8deg); z-index: 3; }

/* --- Avis (gros pull-quote) ----------------------------------------------- */
.quote-wrap { display: grid; grid-template-columns: auto 1fr; gap: 30px; align-items: start; }
.quote-score { text-align: center; }
.quote-score .n { font-family: var(--font-display); font-weight: 900; font-size: 4.6rem; line-height: 0.9; }
.quote-score .stars { font-size: 1.1rem; letter-spacing: 2px; }
.quote-score small { display: block; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.72rem; margin-top: 6px; opacity: 0.85; }
.big-quote { font-family: var(--font-display); font-weight: 900; font-style: italic; font-size: clamp(1.6rem, 3.6vw, 2.7rem); line-height: 1.15; }
.big-quote .mk { color: var(--turmeric); }
.mini-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 46px; }
.mini { border: 2.5px solid var(--ink); border-radius: 16px; padding: 20px; box-shadow: 6px 6px 0 var(--shadow); background: var(--paper); }
.mini p { font-weight: 500; font-size: 0.95rem; }
.mini cite { display: block; margin-top: 10px; font-weight: 700; font-style: normal; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--chili); }

/* --- Infos / coordonnées (flyer) ------------------------------------------ */
.info-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 44px; align-items: start; }
.phone-huge { display: inline-flex; align-items: center; gap: 14px; font-family: var(--font-display); font-weight: 900; font-size: clamp(2rem, 5vw, 3.1rem); color: var(--ink); text-decoration: none; margin-bottom: 18px; }
.phone-huge:hover { color: var(--chili); }
.info-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hours { border: 3px solid var(--ink); border-radius: 16px; box-shadow: 7px 7px 0 var(--shadow); background: var(--paper); overflow: hidden; }
.hours h3 { font-family: var(--font-display); font-weight: 900; font-size: 1.4rem; padding: 16px 20px; background: var(--turmeric); border-bottom: 3px solid var(--ink); }
.hours table { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: 11px 20px; font-size: 0.96rem; border-bottom: 1.5px dashed rgba(32,23,16,0.18); }
.hours td { text-align: right; font-weight: 700; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours tr.closed td { color: var(--chili); }
.addr-card { border: 3px solid var(--ink); border-radius: 16px; box-shadow: 7px 7px 0 var(--shadow); overflow: hidden; background: var(--paper); }
.addr-card .map { height: 240px; border-bottom: 3px solid var(--ink); }
.addr-card .map iframe { width: 100%; height: 100%; border: 0; filter: saturate(1.05) contrast(1.02); }
.addr-card .addr-body { padding: 20px 22px; }
.addr-card h3 { font-family: var(--font-display); font-weight: 900; font-size: 1.3rem; margin-bottom: 6px; }
.addr-card p { color: var(--ink-soft); }
.addr-card .itin { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.form { display: grid; gap: 14px; margin-top: 26px; }
.form label { display: block; margin-bottom: 6px; font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; }
.form input, .form textarea { width: 100%; font-family: inherit; font-size: 1rem; padding: 13px 15px; border: 2.5px solid var(--ink); border-radius: 12px; background: var(--paper); color: var(--ink); }
.form input:focus, .form textarea:focus { outline: none; box-shadow: 4px 4px 0 var(--shadow); }
.form .hint { font-size: 0.82rem; color: var(--ink-soft); }

/* Bandeau contact plein largeur */
.contact-band {
  margin-top: 42px; background: var(--paper); color: var(--ink);
  border: 3px solid var(--ink); border-radius: 20px; box-shadow: 9px 9px 0 var(--ink);
  padding: 32px 34px;
}
.contact-band__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; margin-bottom: 22px; }
.contact-band__head h3 { font-family: var(--font-display); font-weight: 900; font-size: 1.8rem; }
.contact-band__head p { color: var(--ink-soft); font-size: 0.96rem; }
.form--row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.form--row .f-msg { grid-column: 1 / -1; }
.form--row .f-send { grid-column: 1 / -1; justify-self: start; align-self: center; }
.form--row .f-send .btn { margin-top: 4px; }

/* Carrousel d'avis (défilement horizontal continu) */
.reviews-carousel { margin-top: 50px; }
.rev-row { overflow: hidden; padding: 8px 0; }
.rev-row + .rev-row { margin-top: 22px; }
.rev-track { display: flex; width: max-content; will-change: transform; }
.rev-track--l { animation: marquee 78s linear infinite; }
.rev-track--r { animation: marqueeR 78s linear infinite; }
@keyframes marqueeR { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.rev-row:hover .rev-track { animation-play-state: paused; }
.rev-card {
  flex: 0 0 342px; box-sizing: border-box; margin-right: 22px; white-space: normal;
  background: var(--paper); color: var(--ink); border: 2.5px solid var(--ink);
  border-radius: 16px; box-shadow: 6px 6px 0 var(--ink); padding: 22px 24px;
  display: flex; flex-direction: column; gap: 12px; overflow: hidden;
}
.rev-photo { display: block; width: calc(100% + 48px); height: 158px; object-fit: cover; margin: -22px -24px 4px; border-bottom: 2.5px solid var(--ink); }
.rev-gmark { display: inline-flex; align-items: center; gap: 6px; }
.rev-gmark svg { width: 15px; height: 15px; }
.rev-card .rev-stars { color: var(--turmeric); letter-spacing: 2px; font-size: 1rem; }
.rev-card .rev-stars .s0 { color: rgba(32,23,16,0.22); }
.rev-card .rev-text { font-size: 0.96rem; line-height: 1.5; flex: 1; }
.rev-card .rev-who { display: flex; align-items: center; gap: 12px; }
.rev-card .avatar {
  width: 40px; height: 40px; border-radius: 50%; border: 2.5px solid var(--ink);
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 900;
  font-size: 1.1rem; color: var(--paper); flex-shrink: 0;
}
.rev-card .rev-who b { font-size: 0.9rem; display: block; }
.rev-card .rev-who small { font-size: 0.72rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.05em; }
.rev-track .rev-card:nth-child(4n+1) .avatar { background: var(--indigo); }
.rev-track .rev-card:nth-child(4n+2) .avatar { background: var(--chili); }
.rev-track .rev-card:nth-child(4n+3) .avatar { background: var(--leaf); }
.rev-track .rev-card:nth-child(4n+4) .avatar { background: var(--turmeric); color: var(--ink); }

/* Galerie (mosaïque) */
.gallery { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: 262px 262px; gap: 24px; margin-top: 12px; }
.g-item { position: relative; margin: 0; border: 3px solid var(--ink); border-radius: 16px; overflow: hidden; box-shadow: 8px 8px 0 var(--ink); background: var(--paper); }
.g-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.45s ease; }
.g-big { grid-row: 1 / span 2; }
.g-item:hover img { transform: scale(1.06); }
.g-item figcaption {
  position: absolute; left: 14px; bottom: 14px; background: var(--turmeric); color: var(--ink);
  border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); padding: 7px 14px; border-radius: 999px;
  font-family: var(--font-ui); font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.03em;
}

/* Section À emporter / Livraison */
.takeaway { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 12px; }
.ta-card {
  background: rgba(255,255,255,0.07); border: 2.5px solid var(--paper); border-radius: 20px;
  padding: 34px 34px 32px; box-shadow: 8px 8px 0 rgba(0,0,0,0.4);
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
}
.ta-ic {
  width: 92px; height: 92px; border-radius: 50%; background: var(--paper); color: var(--chili);
  display: grid; place-items: center; border: 2.5px solid var(--ink); box-shadow: 4px 4px 0 var(--ink);
}
.ta-ic svg { width: 54px; height: 54px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ta-card h3 { font-family: var(--font-display); font-weight: 900; font-size: 2rem; }
.ta-card p { opacity: 0.95; font-size: 1rem; }
.ta-card .btn { margin-top: auto; }

@media (prefers-reduced-motion: reduce) {
  .rev-track--l, .rev-track--r { animation: none; }
  .rev-row { overflow-x: auto; }
}

/* --- Canopy (feston) entre blocs ------------------------------------------ */
.canopy { height: 22px; width: 100%; }
.canopy--paper { background: radial-gradient(circle at 13px 0, var(--paper) 12px, transparent 13px) repeat-x; background-size: 26px 22px; }
.canopy--turmeric { background: radial-gradient(circle at 13px 0, var(--turmeric) 12px, transparent 13px) repeat-x; background-size: 26px 22px; }
.canopy--indigo { background: radial-gradient(circle at 13px 0, var(--indigo) 12px, transparent 13px) repeat-x; background-size: 26px 22px; }

/* --- Footer --------------------------------------------------------------- */
.foot { background: var(--ink); color: var(--paper); padding: 66px 0 30px; }
.foot__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; }
.foot__brand b { font-family: var(--font-display); font-weight: 900; font-size: 2.6rem; display: block; }
.foot__brand .deva { font-family: var(--font-deva); color: var(--turmeric); font-size: 1.3rem; }
.foot__brand p { max-width: 360px; margin-top: 12px; opacity: 0.8; font-size: 0.92rem; }
.foot nav { display: grid; gap: 9px; }
.foot nav a { color: var(--paper); opacity: 0.85; text-decoration: none; font-weight: 700; text-transform: uppercase; font-size: 0.86rem; letter-spacing: 0.03em; }
.foot nav a:hover { color: var(--turmeric); opacity: 1; }
.foot__bottom { margin-top: 44px; padding-top: 22px; border-top: 1.5px solid rgba(248,239,216,0.2); font-size: 0.82rem; opacity: 0.75; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; }

/* --- Reveal --------------------------------------------------------------- */
.reveal { transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal { opacity: 0; transform: translateY(24px); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker__track, .seal { animation: none !important; }
}
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--chili); outline-offset: 3px; }

/* --- Détails / micro-interactions ----------------------------------------- */
.btn .icon { width: 18px; height: 18px; }
.head__cta .icon { width: 17px; height: 17px; }

/* Soulignement animé du menu */
.head nav a { position: relative; }
.head nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -5px;
  height: 3px; background: var(--chili); transition: right 0.22s ease;
}
.head nav a:hover::after, .head nav a:focus-visible::after { right: 0; }

/* Badge Ouvert / Fermé en temps réel */
.status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-ui); font-weight: 700; font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.04em; white-space: nowrap; }
.status .dot { width: 9px; height: 9px; border-radius: 50%; background: #9aa; flex-shrink: 0; }
.status.open .dot { background: #2fbf5b; animation: pulse 2.2s infinite; }
.status.closed .dot { background: var(--chili); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(47,191,91,0.55); } 100% { box-shadow: 0 0 0 8px rgba(47,191,91,0); } }
.open-line { display: inline-flex; align-items: center; gap: 10px; font-size: 0.9rem; margin-bottom: 22px; }
.open-line .dot { width: 11px; height: 11px; }

/* Facts survol */
.hero__facts .sticker { transition: transform 0.15s ease; }
.hero__facts .sticker:hover { transform: translateY(-3px) rotate(-2deg); }

/* Signatures survol */
.sig__frame { transition: transform 0.18s ease, box-shadow 0.18s ease; }
.sig:hover .sig__frame { transform: translate(-3px, -3px); box-shadow: 13px 13px 0 var(--shadow); }

/* Mini-avis survol */
.mini { transition: transform 0.15s ease, box-shadow 0.15s ease; }
.mini:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--shadow); }

/* Sceau : pictogramme central maintenu droit */
.seal__center { animation: spin-rev 20s linear infinite; }
@keyframes spin-rev { to { transform: rotate(-360deg); } }

/* Retour en haut */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 80;
  width: 52px; height: 52px; display: grid; place-items: center;
  background: var(--chili); color: var(--paper); border: 2.5px solid var(--ink);
  border-radius: 50%; box-shadow: 4px 4px 0 var(--ink); cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.2s ease, box-shadow 0.12s ease;
}
.to-top .icon { width: 22px; height: 22px; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover, .to-top:focus-visible { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }

@media (prefers-reduced-motion: reduce) {
  .status.open .dot, .seal__center { animation: none !important; }
}

/* --- Animations ----------------------------------------------------------- */
/* Barre de progression de défilement */
.progress { position: fixed; top: 0; left: 0; height: 4px; width: 0%; z-index: 200; pointer-events: none;
  background: linear-gradient(90deg, var(--turmeric), var(--chili)); }

/* Variantes de révélation */
.js .reveal--zoom { transform: scale(0.92); }
.js .reveal--left { transform: translateX(-34px); }
.js .reveal--right { transform: translateX(34px); }
.js .reveal--zoom.in, .js .reveal--left.in, .js .reveal--right.in { transform: none; }

/* Survol des lignes de carte */
.menu-row .n, .menu-row .p { transition: transform 0.18s ease, color 0.18s ease; }
.menu-row:hover .n { transform: translateX(7px); color: var(--turmeric); }
.menu-row:hover .p { transform: scale(1.12); }

/* Marquee en pause au survol */
.ticker:hover .ticker__track, .spice-strip:hover .ticker__track { animation-play-state: paused; }

/* Lien de navigation actif (scrollspy) */
.head nav a.is-active { color: var(--chili); }
.head nav a.is-active::after { right: 0; }

/* Photo hero : se redresse au survol */
.photo-card { transition: transform 0.35s cubic-bezier(.2,.8,.3,1); }
.hero__ghost { transition: transform 0.25s ease; }

@keyframes aRise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes aPop { 0% { opacity: 0; transform: scale(.7); } 60% { transform: scale(1.06); } 100% { opacity: 1; transform: scale(1); } }
@keyframes aDrop { from { opacity: 0; transform: translateY(-46px) rotate(7deg); } to { opacity: 1; transform: translateY(0) rotate(-4deg); } }
@keyframes aFade { from { opacity: 0; } to { opacity: .9; } }
@keyframes aSeal { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: scale(1); } }

@media (prefers-reduced-motion: no-preference) {
  .hero__kicker { animation: aRise .6s .10s backwards; }
  .hero h1 .l1 { display: inline-block; animation: aRise .7s .24s backwards; }
  .hero h1 .l2 { display: inline-block; animation: aRise .7s .37s backwards; }
  .hero h1 .l3 { display: inline-block; animation: aRise .7s .50s backwards; }
  .hero__sub { animation: aRise .7s .64s backwards; }
  .hero__actions { animation: aRise .7s .76s backwards; }
  .hero__facts .sticker { animation: aPop .5s backwards; }
  .hero__facts .sticker:nth-child(1) { animation-delay: .90s; }
  .hero__facts .sticker:nth-child(2) { animation-delay: 1.0s; }
  .hero__facts .sticker:nth-child(3) { animation-delay: 1.1s; }
  .photo-card { animation: aDrop .85s .30s backwards; }
  .photo-card:hover { transform: rotate(0deg) scale(1.03); }
  .hero__ghost { animation: aFade 1.1s .2s backwards; }
  .seal { animation: aSeal .6s 1.0s backwards, spin 20s linear 1.6s infinite; }
}

/* --- Responsive ----------------------------------------------------------- */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: 50px; }
  .hero__aside { order: -1; }
  .hero__ghost { display: none; }
  .menu, .signatures { grid-template-columns: 1fr; }
  .signatures .sig { transform: none !important; margin-top: 0 !important; }
  .info-grid, .quote-wrap { grid-template-columns: 1fr; }
  .quote-score { text-align: left; display: flex; align-items: baseline; gap: 16px; }
  .head .status { display: none; }
  .takeaway { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .block { padding: 66px 0; }
  .head nav { display: none; position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--paper); border-bottom: 3px solid var(--ink); padding: 8px 24px 16px; }
  .head nav.open { display: flex; }
  .head nav a { padding: 14px 0; min-height: 44px; display: flex; align-items: center; border-bottom: 1.5px solid rgba(32,23,16,0.15); }
  .head__cta { display: none; }
  .burger { display: inline-flex; }
  .signatures { gap: 40px; }
  .form--row { grid-template-columns: 1fr; }
  .contact-band { padding: 26px 22px; }
  .rev-card { flex-basis: 280px; }
  .gallery { grid-template-columns: 1fr; grid-template-rows: none; }
  .g-big { grid-row: auto; }
  .g-item img { aspect-ratio: 4 / 3; height: auto; }
  .gallery-extra { grid-template-columns: 1fr; }
}
