/* ===== Couleurs et polices (modifiables ici) ===== */
:root {
  --bg: #0b0b0b;
  --bg-alt: #141313;
  --card: #1b1a1a;
  --line: #2b2828;
  --text: #f4f1ee;
  --muted: #bdb6b0;
  --accent: #8b1a1a;      /* bordeaux */
  --accent-2: #b3262a;
  --gold: #f5b800;
  --radius: 12px;
  --serif: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --sans: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
h2 { font-size: clamp(1.7rem, 4.5vw, 2.4rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; scroll-margin-top: 64px; }
.section--alt { background: var(--bg-alt); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 36px; }
.section__head p { color: var(--muted); margin: 0; }
.eyebrow { color: var(--accent-2); text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 600; margin-bottom: .6em; }
.lead { font-size: 1.1rem; color: var(--text); font-weight: 500; }

/* ===== Boutons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 24px; border-radius: 999px;
  background: var(--text); color: #111; font-weight: 600; text-decoration: none;
  border: 1px solid var(--text); transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn--ghost { background: transparent; color: var(--text); border-color: rgba(255,255,255,.4); }
.btn--ghost:hover { background: var(--text); color: #111; border-color: var(--text); }
.btn--small { min-height: 38px; padding: 0 18px; font-size: .9rem; }

/* ===== En-tête ===== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,11,11,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-family: var(--serif); font-weight: 700; font-size: 1.15rem; text-decoration: none; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { text-decoration: none; color: var(--muted); font-weight: 500; }
.nav a:not(.btn):hover { color: var(--text); }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.burger span { display: block; height: 2px; background: var(--text); margin: 6px 0; transition: transform .25s, opacity .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== Couverture ===== */
.hero { position: relative; min-height: 88vh; display: flex; align-items: center; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  background-color: #1a1210;
  background-image: radial-gradient(ellipse at 30% 40%, #3a1a14 0%, #0b0b0b 70%);
}
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.5) 60%, var(--bg) 100%); }
.hero__content h1, .hero__sub, .hero__kicker { text-shadow: 0 2px 18px rgba(0,0,0,.75); }
.hero__content { position: relative; text-align: center; padding-top: 40px; padding-bottom: 40px; }
.hero__kicker { color: var(--muted); text-transform: uppercase; letter-spacing: .18em; font-size: .8rem; }
.hero h1 { font-size: clamp(2.2rem, 8vw, 4.4rem); margin-bottom: .3em; }
.hero__sub { color: #e8e2dc; font-size: clamp(1rem, 2.6vw, 1.2rem); max-width: 560px; margin: 0 auto 1.8em; }
.hero__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ===== Grilles ===== */
.grid { display: grid; gap: 20px; }
.grid--products { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
#grilleIncontournables { grid-template-columns: repeat(3, 1fr); max-width: 960px; margin: 0 auto; }

/* ===== Carte produit ===== */
.product { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.product__img { aspect-ratio: 1 / 1; background: #221e1d; position: relative; overflow: hidden; }
.product__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product:hover .product__img img { transform: scale(1.04); }
.product__img.is-empty::after {
  content: attr(data-initial); position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--serif); font-size: 2.6rem; color: rgba(255,255,255,.18);
  background: radial-gradient(circle at 50% 40%, #3a2420, #1b1717 70%);
}
.product__body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product__name { font-family: var(--sans); font-size: 1rem; font-weight: 600; margin: 0; }
.product__desc { color: var(--muted); font-size: .88rem; line-height: 1.5; margin: 0; }
.product__price { margin-top: auto; padding-top: 6px; font-weight: 600; color: var(--text); font-size: .95rem; }
.product__price.is-shop { color: var(--muted); font-weight: 500; font-size: .85rem; }

/* ===== Catégories ===== */
.categories {
  display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 14px;
  scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: thin;
}
.cat {
  flex: 0 0 auto; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 8px;
  width: 104px; padding: 10px 6px; background: transparent; border: 1px solid transparent; border-radius: var(--radius);
  color: var(--muted); font: inherit; font-size: .85rem; font-weight: 500; cursor: pointer; text-align: center; line-height: 1.25;
}
.cat__img { width: 68px; height: 68px; border-radius: 50%; overflow: hidden; background: #221e1d; border: 2px solid var(--line); position: relative; }
.cat__img img { width: 100%; height: 100%; object-fit: cover; }
.cat__img.is-empty::after {
  content: attr(data-initial); position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--serif); font-size: 1.5rem; color: rgba(255,255,255,.55);
  background: radial-gradient(circle at 50% 40%, #3a2420, #1b1717 75%);
}
.cat:hover { color: var(--text); }
.cat[aria-selected="true"] { color: var(--text); }
.cat[aria-selected="true"] .cat__img { border-color: var(--accent-2); }

.toolbar { margin: 6px 0 18px; }
.search { display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 0 16px; max-width: 420px; }
.search svg { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; flex: 0 0 auto; }
.search input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--text); font: inherit; height: 46px; outline: none; }
.search:focus-within { border-color: var(--muted); }
.cat-info { color: var(--muted); margin-bottom: 18px; }
.cat-info strong { color: var(--text); font-family: var(--serif); font-size: 1.3rem; display: block; }
.more { text-align: center; margin-top: 24px; }
.more .btn[hidden] { display: none; }
.empty { color: var(--muted); text-align: center; padding: 30px 0; }
.note { color: var(--muted); font-size: .82rem; text-align: center; margin-top: 30px; }

/* ===== À propos ===== */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.about__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: #221e1d; }
.about__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.about__img.is-empty { background: radial-gradient(circle at 50% 40%, #3a2420, #1b1717 70%); }
.about__text p:not(.eyebrow):not(.lead) { color: var(--muted); }

/* ===== Services ===== */
.service { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; text-align: center; }
.service svg { width: 48px; height: 48px; fill: none; stroke: var(--text); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin: 0 auto 14px; display: block; }
.service p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ===== Halal ===== */
.halal { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; }
/* Sceau halal */
.seal { position: relative; width: min(340px, 80vw); aspect-ratio: 1; justify-self: center; display: grid; place-items: center; }
.seal::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 50% 45%, #2a1414 0%, #150d0d 60%, #0b0b0b 100%); border: 1px solid var(--line); box-shadow: 0 0 0 10px rgba(139,26,26,.08), 0 20px 60px rgba(0,0,0,.5); }
.seal__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: sealSpin 40s linear infinite; }
.seal__ring text { fill: var(--gold); font-size: 11.5px; font-weight: 700; letter-spacing: .08em; font-family: var(--sans); }
.seal__core { position: relative; width: 58%; aspect-ratio: 1; border-radius: 50%; border: 2px solid rgba(245,184,0,.55); display: grid; place-items: center; background: radial-gradient(circle, #3a1616, #1a0f0f); }
.seal__core img { width: 62%; height: auto; }
@keyframes sealSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .seal__ring { animation: none; } }
.halal__points { list-style: none; padding: 0; margin: 0 0 1.2em; }
.halal__points li { position: relative; padding-left: 26px; margin: .45em 0; color: var(--text); }
.halal__points li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }

/* Services sur photo très sombre */
.section--photo { position: relative; background: #070707 url("images/fond-services.jpg") center / cover no-repeat; isolation: isolate; }
.section--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5,5,5,.92), rgba(5,5,5,.84) 50%, rgba(5,5,5,.94)); }
.section--photo .service { background: rgba(20,19,19,.72); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.halal__text p { color: var(--muted); }
.halal__num { color: var(--text) !important; font-weight: 600; }

/* ===== Avis ===== */
.reviews { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.review { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.review__top { display: flex; align-items: center; gap: 12px; }
.review__top img { width: 48px; height: 48px; border-radius: 50%; }
.review figcaption { display: flex; flex-direction: column; line-height: 1.3; }
.review blockquote { margin: 0; color: var(--muted); font-size: .93rem; }
.stars { color: var(--gold); letter-spacing: 2px; }
.reviews__cta { text-align: center; margin-top: 30px; }

/* ===== Contact ===== */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.contact__name { font-weight: 600; font-size: 1.1rem; }
.contact__info a { text-decoration: none; }
.contact__info a:hover { text-decoration: underline; }
.contact__phone { font-size: 1.35rem; font-weight: 600; }
.hours { width: 100%; border-collapse: collapse; margin: 18px 0 24px; font-size: .95rem; }
.hours th, .hours td { padding: 9px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.hours th { font-weight: 500; width: 38%; color: var(--muted); }
.hours tr.is-today th, .hours tr.is-today td { color: var(--text); font-weight: 600; }
.contact__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.contact__map { width: 100%; max-width: 100%; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; min-height: 300px; }
.contact__map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ===== Pied de page ===== */
.footer { border-top: 1px solid var(--line); padding: 26px 0 90px; color: var(--muted); font-size: .85rem; }
.footer__inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer p { margin: 0; }

/* ===== Bouton d'appel flottant (mobile) ===== */
.call-fab {
  display: none; position: fixed; right: 16px; bottom: 16px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: #fff;
  align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(0,0,0,.5);
}
.call-fab svg { width: 24px; height: 24px; fill: #fff; }

/* ===== Tablette ===== */
@media (max-width: 980px) {
  .grid--products { grid-template-columns: repeat(3, 1fr); }
  .reviews { grid-template-columns: repeat(2, 1fr); }
  .about, .halal, .contact { gap: 32px; }
}

/* ===== Téléphone ===== */
@media (max-width: 760px) {
  .section { padding: 56px 0; }
  .burger { display: block; }
  .nav {
    position: fixed; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #0b0b0b; border-bottom: 1px solid var(--line);
    padding: 8px 20px 20px; transform: translateY(-120%); transition: transform .3s; visibility: hidden;
  }
  .nav.is-open { transform: translateY(0); visibility: visible; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; color: var(--text); }
  .nav__call { margin-top: 16px; }

  .grid--products, #grilleIncontournables { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .grid--3 { grid-template-columns: 1fr; }
  .product__body { padding: 10px 10px 12px; }
  .product__name { font-size: .92rem; }
  .product__desc { font-size: .8rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

  .about, .halal, .contact { grid-template-columns: 1fr; }
  .about__img { aspect-ratio: 4 / 4.4; }
  .about__text p:not(.eyebrow):not(.lead) { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
  .seal { width: min(260px, 70vw); margin: 0 auto; }

  .reviews {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px;
    margin: 0 -20px; padding: 0 20px 10px; -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .reviews::-webkit-scrollbar { display: none; }
  .review { flex: 0 0 85%; scroll-snap-align: center; }

  .cat { width: 92px; }
  .cat__img { width: 60px; height: 60px; }

  .hero { min-height: 80vh; }
  .hero__bg { background-image: url("images/couverture-mobile.jpg") !important; background-position: center 45%; }
  .hero__actions .btn { width: 100%; max-width: 320px; }
  .call-fab { display: inline-flex; }
}

/* Badges produits */
.product__img { position: relative; }
.badge { position: absolute; top: 10px; left: 10px; z-index: 2; background: rgba(11,11,11,.82); color: var(--text); border: 1px solid rgba(255,255,255,.18); font-size: .72rem; font-weight: 600; letter-spacing: .02em; padding: 4px 10px; border-radius: 999px; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.badge--soon { background: var(--gold); color: #1a1200; border-color: transparent; }
@media (max-width: 760px) { .badge { font-size: .66rem; padding: 3px 8px; top: 8px; left: 8px; } }
