/* ==========================================================================
   Salima Cuisine — feuille de style mobile-first
   Palette : Terracotta #C1502E · Brun profond #2B2420 · Crème #F3E7D3
             Or #D9A441 · Olive #4B5D3A · Fond #FBF3E7
   Typo : Lora (titres) · Work Sans (texte courant)
   ========================================================================== */

:root {
  --terracotta: #C1502E;
  --terracotta-dark: #A63F22;
  --brun: #2B2420;
  --creme: #F3E7D3;
  --or: #D9A441;
  --olive: #4B5D3A;
  --fond: #FBF3E7;
  --blanc: #FFFFFF;

  --text-main: #2B2420;
  --text-muted: #6E6259;

  --font-title: 'Lora', Georgia, 'Times New Roman', serif;
  --font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-soft: 0 10px 30px -12px rgba(43, 36, 32, 0.25);
  --shadow-card: 0 6px 20px -8px rgba(43, 36, 32, 0.15);

  --container-w: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--fond);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { font-family: var(--font-title); color: var(--brun); margin: 0; line-height: 1.15; }

p { margin: 0; }

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

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--brun);
  color: var(--fond);
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 200;
}
.skip-link:focus { left: 0; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, opacity .15s ease;
}
.btn:active { transform: scale(0.97); }

.btn-sm { padding: 9px 16px; font-size: 0.85rem; }
.btn-md { padding: 12px 22px; font-size: 0.95rem; }
.btn-lg { padding: 15px 26px; font-size: 1rem; width: 100%; }

@media (min-width: 640px) {
  .btn-lg { width: auto; }
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  box-shadow: 0 8px 20px -6px rgba(37, 211, 102, 0.55);
}
.btn-whatsapp:hover { background: #1fbd5a; box-shadow: 0 10px 24px -6px rgba(37, 211, 102, 0.65); }

.icon-wa { width: 1.1em; height: 1.1em; fill: currentColor; flex-shrink: 0; }

.btn-outline {
  background: rgba(255,255,255,0.08);
  color: var(--fond);
  border-color: rgba(251, 243, 231, 0.55);
  backdrop-filter: blur(6px);
}
.btn-outline:hover { background: rgba(255,255,255,0.16); }

.btn-cta-white {
  background: var(--fond);
  color: var(--terracotta-dark);
}
.btn-cta-white:hover { background: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 243, 231, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(43, 36, 32, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--creme);
  flex-shrink: 0;
  display: block;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  transform: scale(1.6);
}
.brand-name {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--brun);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 44px 0 36px;
  min-height: 640px;
  display: flex;
  align-items: center;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: -20px;
  background-size: cover;
  background-position: center 35%;
  filter: blur(3px) saturate(1.05);
  transform: scale(1.06);
  z-index: -2;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(20, 16, 14, 0.78) 0%, rgba(30, 22, 18, 0.72) 38%, rgba(43, 36, 32, 0.82) 100%);
}
.hero-inner { position: relative; width: 100%; }

.badge {
  display: inline-block;
  background: rgba(251, 243, 231, 0.16);
  border: 1px solid rgba(251, 243, 231, 0.4);
  color: var(--fond);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(6px);
}

.hero-title {
  color: var(--fond);
  font-size: clamp(2.1rem, 8vw, 3.4rem);
  font-weight: 700;
  margin-top: 18px;
}
.hero-title em {
  color: var(--or);
  font-style: italic;
}

.hero-text {
  color: rgba(251, 243, 231, 0.88);
  font-size: 1.02rem;
  max-width: 560px;
  margin-top: 18px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 26px;
  max-width: 420px;
}
@media (min-width: 640px) {
  .hero-actions { flex-direction: row; max-width: none; }
}

.hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 38px;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--or);
}
.stat-label {
  color: rgba(251, 243, 231, 0.75);
  font-size: 0.8rem;
  margin-top: 2px;
}

.hero-chip {
  position: absolute;
  right: 20px;
  bottom: 22px;
  display: none;
  align-items: center;
  gap: 10px;
  background: var(--fond);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  z-index: 2;
}
.hero-chip-icon {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--creme);
  border-radius: 50%;
  font-size: 1.1rem;
}
.hero-chip strong { display: block; font-family: var(--font-title); font-size: 0.9rem; color: var(--brun); }
.hero-chip small { color: var(--text-muted); font-size: 0.75rem; }

@media (min-width: 860px) {
  .hero { min-height: 88vh; padding: 60px 0 60px; }
  .hero-chip { display: flex; }
}

/* ---------- Solutions ---------- */
.solutions { padding: 56px 0; }
.solutions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 760px) {
  .solutions-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}

.solution-card {
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
}
.solution-dark { background: var(--brun); }
.solution-light { background: var(--creme); }

.solution-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.solution-dark .solution-icon { background: rgba(217, 164, 65, 0.18); }
.solution-light .solution-icon { background: rgba(193, 80, 46, 0.14); }

.solution-card h2 { font-size: 1.5rem; margin-bottom: 12px; }
.solution-dark h2 { color: var(--fond); }
.solution-light h2 { color: var(--brun); }

.solution-card p { font-size: 0.96rem; }
.solution-dark p { color: rgba(251, 243, 231, 0.8); }
.solution-light p { color: var(--text-muted); }

.solution-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-weight: 700;
  font-size: 0.92rem;
  transition: gap .15s ease;
}
.solution-dark .solution-link { color: var(--or); }
.solution-light .solution-link { color: var(--terracotta); }
.solution-link:hover { gap: 10px; }

/* ---------- Section head (shared) ---------- */
.section-head { text-align: center; max-width: 640px; margin: 0 auto 32px; }
.eyebrow {
  display: inline-block;
  color: var(--terracotta);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-title { font-size: clamp(1.7rem, 5vw, 2.3rem); }
.section-sub { color: var(--text-muted); margin-top: 12px; font-size: 0.98rem; }

/* ---------- Menu ---------- */
.menu-section { padding: 56px 0 64px; }

.tabs-wrap {
  margin: 0 -20px 28px;
  padding: 4px 20px 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.tabs-wrap::-webkit-scrollbar { display: none; }

.tabs {
  display: flex;
  gap: 10px;
  width: max-content;
}

.tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: var(--radius-pill);
  background: var(--creme);
  color: var(--brun);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .18s ease, color .18s ease, transform .15s ease, box-shadow .18s ease;
  scroll-snap-align: start;
}
.tab:hover { background: #ecdcc0; }
.tab .tab-emoji { font-size: 1.05rem; }

.tab.is-active {
  background: var(--terracotta);
  color: var(--fond);
  box-shadow: 0 8px 18px -6px rgba(193, 80, 46, 0.55);
  transform: translateY(-1px);
}

.dish-panel { position: relative; min-height: 160px; }

.dish-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  animation: fadeSlideIn .38s ease both;
}
@media (min-width: 560px) {
  .dish-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 860px) {
  .dish-grid { grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
}
@media (min-width: 1100px) {
  .dish-grid { grid-template-columns: repeat(4, 1fr); }
}

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.dish-panel.is-leaving .dish-grid { animation: fadeSlideOut .16s ease both; }
@keyframes fadeSlideOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-6px); }
}

.dish-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid rgba(43, 36, 32, 0.06);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  box-shadow: var(--shadow-card);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.dish-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px -12px rgba(43, 36, 32, 0.22);
  border-color: rgba(193, 80, 46, 0.25);
}
.dish-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--creme);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.dish-card-name {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1rem;
  color: var(--brun);
  flex: 1 1 auto;
}
.dish-card-img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.dish-card-price {
  margin-left: auto;
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--terracotta-dark);
  font-size: 0.95rem;
  white-space: nowrap;
}
.dish-empty {
  color: var(--text-muted);
  text-align: center;
  padding: 24px 0;
  grid-column: 1 / -1;
}

.menu-cta {
  margin-top: 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.menu-cta p { color: var(--text-muted); font-size: 0.96rem; }

/* ---------- Box promo (cartes réutilisées par la section Promotions) ---------- */
.big-promo-card {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  background: linear-gradient(155deg, var(--brun) 0%, #1c1613 100%);
  border-radius: var(--radius-lg);
  padding: 44px 28px 36px;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 24px 50px -18px rgba(43, 36, 32, 0.55);
  border: 1px solid rgba(217, 164, 65, 0.25);
}
.big-promo-card::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto -10%;
  height: 220px;
  background: radial-gradient(closest-side, rgba(193, 80, 46, 0.55), transparent 70%);
  pointer-events: none;
}

.big-promo-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: var(--terracotta);
  box-shadow: 0 0 0 6px rgba(193, 80, 46, 0.22);
  animation: bigPromoPulse 2.2s ease-in-out infinite;
}
.big-promo-badge-flame { font-size: 1rem; line-height: 1; }
.big-promo-badge-pct {
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--fond);
  font-size: 1.05rem;
  line-height: 1.1;
}
@keyframes bigPromoPulse {
  0%, 100% { box-shadow: 0 0 0 6px rgba(193, 80, 46, 0.22); }
  50% { box-shadow: 0 0 0 12px rgba(193, 80, 46, 0.08); }
}

.big-promo-eyebrow {
  position: relative;
  display: inline-block;
  color: var(--or);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.big-promo-title {
  position: relative;
  color: var(--fond);
  font-size: clamp(1.8rem, 6vw, 2.3rem);
  margin-top: 10px;
}
.big-promo-tag {
  position: relative;
  display: inline-block;
  margin-top: 14px;
  background: rgba(217, 164, 65, 0.16);
  border: 1px solid rgba(217, 164, 65, 0.4);
  color: var(--or);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
}

.big-promo-prices {
  position: relative;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
  flex-wrap: wrap;
}
.big-promo-old {
  color: rgba(251, 243, 231, 0.55);
  text-decoration: line-through;
  font-size: clamp(1.5rem, 5.5vw, 2.1rem);
}
.big-promo-arrow { color: var(--or); font-size: 1.1rem; }
.big-promo-new {
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--fond);
  font-size: clamp(1.8rem, 6vw, 2.4rem);
}
.big-promo-ttc {
  position: relative;
  margin-top: 6px;
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--or);
  font-size: 1.15rem;
}
.big-promo-ttc small {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  color: rgba(251, 243, 231, 0.65);
  font-size: 0.78rem;
  margin-top: 2px;
}

.big-promo-includes {
  position: relative;
  margin: 26px auto 0;
  max-width: 380px;
  background: rgba(251, 243, 231, 0.06);
  border: 1px solid rgba(251, 243, 231, 0.12);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}
.big-promo-includes-title {
  color: var(--fond);
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 10px;
}
.big-promo-includes ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
  text-align: left;
}
.big-promo-includes li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(251, 243, 231, 0.88);
  font-size: 0.9rem;
}

.big-promo-card .btn { position: relative; margin-top: 28px; }

/* ---------- Promotions (box promo dynamiques, même style que Big Promo) ---------- */
.promotions { padding: 56px 0; }

.big-promo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 760px) {
  .big-promo-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1100px) {
  .big-promo-grid { grid-template-columns: repeat(3, 1fr); }
}
.big-promo-grid .big-promo-card {
  max-width: none;
  margin: 0;
  height: 100%;
}
.big-promo-card-img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 14px;
  display: block;
  border: 2px solid rgba(217, 164, 65, 0.4);
}

/* ---------- Avis ---------- */
.reviews { padding: 56px 0; background: var(--creme); }

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 760px) {
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
}

.review-card {
  background: var(--fond);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  box-shadow: var(--shadow-card);
}
.stars { color: var(--or); letter-spacing: 2px; font-size: 0.95rem; margin-bottom: 14px; }
.review-card p { font-style: italic; color: var(--text-main); font-size: 0.98rem; }

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}
.review-author span:last-child { display: flex; flex-direction: column; }
.review-author strong { font-size: 0.92rem; color: var(--brun); }
.review-author small { color: var(--text-muted); font-size: 0.8rem; }

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-title);
  font-weight: 700;
  flex-shrink: 0;
}
.avatar-terracotta { background: var(--terracotta); }
.avatar-olive { background: var(--olive); }
.avatar-or { background: var(--or); }

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-dark) 100%);
  padding: 64px 0;
}
.cta-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.cta h2 { color: var(--fond); font-size: clamp(1.6rem, 6vw, 2.2rem); }
.cta p { color: rgba(251, 243, 231, 0.9); font-size: 1rem; }
.cta .btn { margin-top: 10px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brun); color: var(--fond); padding: 44px 0 0; }
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(251, 243, 231, 0.12);
}
@media (min-width: 760px) {
  .footer-inner { flex-direction: row; justify-content: space-between; align-items: flex-start; }
}

.footer-brand { display: flex; gap: 12px; align-items: center; max-width: 320px; }
.footer-brand p { color: rgba(251, 243, 231, 0.68); font-size: 0.88rem; margin-top: 6px; }

.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: rgba(251, 243, 231, 0.82); font-size: 0.92rem; }
.footer-links a:hover { color: var(--or); }

.footer-contact { display: flex; flex-direction: column; gap: 8px; font-size: 0.92rem; }
.footer-contact a { color: var(--or); font-weight: 600; }
.footer-contact span { color: rgba(251, 243, 231, 0.6); }

.footer-social { display: flex; gap: 10px; margin-top: 6px; }
.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(251, 243, 231, 0.1);
  border: 1px solid rgba(251, 243, 231, 0.18);
  transition: background-color .15s ease, transform .15s ease, border-color .15s ease;
}
.social-btn svg { width: 18px; height: 18px; fill: var(--fond); }
.social-btn .icon-ig { color: var(--fond); fill: none; }
.social-btn:hover { background: var(--terracotta); border-color: var(--terracotta); transform: translateY(-2px); }

.footer-bottom {
  padding: 18px 20px 22px;
  text-align: center;
  color: rgba(251, 243, 231, 0.55);
  font-size: 0.8rem;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
