/*
Theme Name: Boucherie Halal Theme
Theme URI: https://git.lemoncef.fr/moncif/boucherie-halal-theme
Author: Moncif Aissaoui
Author URI: https://lemoncef.fr
Description: Theme WordPress custom pour Boucherie Halal Theme.
Version: 1.0.0
License: Proprietary
Text Domain: boucherie-halal-theme
*/

:root {
  --bg: #fcfaf7;
  --surface: #fffdf9;
  --ink: #171717;
  --muted: #66615a;
  --line: rgba(23, 23, 23, 0.1);
  --accent: #8c1c13;
  --accent-soft: color-mix(in srgb, #8c1c13 16%, white);
  --max: 1120px;
  --radius: 28px;
  --shadow: 0 24px 70px rgba(23, 23, 23, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, color-mix(in srgb, var(--accent) 18%, white), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 65%, #fffdf9 100%);
  color: var(--ink);
  line-height: 1.6;
}
a { color: inherit; }
img { max-width: 100%; display: block; }

.site-shell {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.hero {
  padding: 56px 0 22px;
}

.hero__frame {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 34px;
  box-shadow: var(--shadow);
  padding: 34px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
}

h1 {
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
  max-width: 10ch;
}

.hero__lead {
  max-width: 56ch;
  margin: 22px 0 0;
  font-size: 1.05rem;
  color: var(--muted);
}

.hero__grid,
.blocks,
.footer-grid {
  display: grid;
  gap: 20px;
}

.hero__grid {
  grid-template-columns: 1.4fr 0.9fr;
  align-items: end;
  margin-top: 34px;
}

.panel,
.card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
}

.panel {
  padding: 24px;
}

.panel h2,
.card h3 {
  margin: 0 0 12px;
  font-size: 1.1rem;
  line-height: 1.2;
}

.panel p,
.card p,
.footer-note {
  margin: 0;
  color: var(--muted);
}

.list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.list strong {
  font-size: 0.95rem;
}

.list span {
  color: var(--muted);
  text-align: right;
  font-size: 0.92rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.94rem;
  border: 1px solid var(--line);
}

.button--primary {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

.button--ghost {
  background: rgba(255, 255, 255, 0.72);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.metric {
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, white);
}

.metric strong {
  display: block;
  font-size: 1.4rem;
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.88rem;
}

.section {
  padding: 22px 0;
}

.section h2 {
  margin: 0 0 8px;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.section > p {
  margin: 0;
  max-width: 58ch;
  color: var(--muted);
}

.blocks {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}

.card {
  padding: 22px;
  min-height: 220px;
}

.card ul {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.footer-cta {
  padding: 28px 0 56px;
}

.footer-grid {
  grid-template-columns: 1.3fr 0.9fr;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  background: linear-gradient(160deg, rgba(255,255,255,0.94), color-mix(in srgb, var(--accent) 12%, white));
  box-shadow: var(--shadow);
}

.footer-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-note {
  font-size: 0.92rem;
}

@media (max-width: 960px) {
  .hero__grid,
  .blocks,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .metrics {
    grid-template-columns: 1fr;
  }

  .hero__frame,
  .footer-grid {
    padding: 24px;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(calc(100% - 28px), var(--max));
  }

  .hero {
    padding-top: 24px;
  }

  h1 {
    font-size: clamp(2.25rem, 12vw, 3.4rem);
  }

  .button {
    width: 100%;
  }
}
