/*
Theme Name: El Bouragh
Theme URI: https://elbouragh.com
Author: El Bouragh Pour Industries Alimentaires
Author URI: https://elbouragh.com
Description: Thème WordPress « dark luxury » sur mesure pour El Bouragh — Chips Nice & Chocolat Emira. Multilingue FR/EN/AR avec support RTL, page d'accueil one-page avec vidéos en fond, animations au défilement et design responsive.
Version: 1.1.0
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: el-bouragh
Tags: custom-colors, custom-logo, custom-menu, featured-images, full-width-template, one-page, food, rtl-language-support
*/

/* ============================================================
   EL BOURAGH — Dark Luxury Design System
   ============================================================ */
:root {
  /* Backgrounds */
  --bg:        #0A0A0A;
  --bg-soft:   #141414;
  --card:      #1A1A1A;
  --card-2:    #202020;

  /* Gold */
  --gold:      #C8952A;
  --gold-lt:   #E8B84B;
  --gold-dk:   #8B6520;
  --gold-line: rgba(200,149,42,0.15);
  --gold-glow: rgba(200,149,42,0.35);

  /* Text */
  --fg:        #F4F1EA;
  --fg-2:      #B9B3A6;
  --fg-3:      #7C766B;

  /* Geometry */
  --r:         24px;
  --r-sm:      16px;
  --r-pill:    999px;
  --maxw:      1240px;
  --pad:       clamp(20px, 5vw, 56px);

  /* Type */
  --display: "Bricolage Grotesque", "Manrope", system-ui, sans-serif;
  --body:    "Manrope", system-ui, -apple-system, sans-serif;

  --ease: cubic-bezier(.22,.61,.36,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--gold); color: #0A0A0A; }

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

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

/* Subtle film grain / gold radial fields layered on the page */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 0;
  background:
    radial-gradient(900px 600px at 85% -5%, rgba(200,149,42,0.10), transparent 60%),
    radial-gradient(700px 500px at -5% 30%, rgba(200,149,42,0.06), transparent 55%);
}

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); position: relative; z-index: 1; }

.section { padding-block: clamp(72px, 10vw, 128px); position: relative; z-index: 1; }
.section--soft { background: var(--bg-soft); }

.eyebrow {
  font-size: 13px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold-lt); font-weight: 700;
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--gold); display: inline-block; }

.section-head { margin-bottom: clamp(40px, 6vw, 72px); max-width: 720px; }
.section-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(34px, 5.2vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-top: 18px;
  text-wrap: balance;
}
.section-title .g { color: var(--gold-lt); }
.section-sub { color: var(--fg-2); font-size: clamp(15px, 1.4vw, 18px); margin-top: 18px; max-width: 56ch; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px; border-radius: var(--r-pill);
  font-weight: 700; font-size: 15px; letter-spacing: .01em;
  cursor: pointer; border: none; transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.btn--gold {
  background: linear-gradient(135deg, var(--gold-lt), var(--gold));
  color: #1a1303;
  box-shadow: 0 10px 30px -8px var(--gold-glow);
}
.btn--gold:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -10px var(--gold-glow); }
.btn--ghost { background: transparent; color: var(--fg); border: 1px solid var(--gold-line); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-lt); }
.btn svg { width: 17px; height: 17px; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .4s var(--ease), backdrop-filter .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10,10,10,0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--gold-line);
}
.nav__inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 16px var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 44px; width: auto; filter: drop-shadow(0 2px 10px rgba(0,0,0,.5)); }
.brand__name { display: flex; flex-direction: column; line-height: 1; }
.brand__name b { font-family: var(--display); font-size: 17px; letter-spacing: .02em; }
.brand__name span { font-size: 9.5px; letter-spacing: .34em; color: var(--gold-lt); text-transform: uppercase; margin-top: 3px; }

.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__links a {
  position: relative; font-size: 14.5px; font-weight: 600; color: var(--fg-2);
  transition: color .3s var(--ease); padding: 4px 0;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-lt));
  transition: width .35s var(--ease);
}
.nav__links a:hover { color: var(--fg); }
.nav__links a:hover::after { width: 100%; }

.nav__actions { display: flex; align-items: center; gap: 14px; }

/* Language switcher */
.lang-switch {
  display: inline-flex; align-items: center; gap: 2px;
  padding: 4px; border-radius: var(--r-pill);
  border: 1px solid var(--gold-line); background: rgba(255,255,255,.02);
}
.lang-switch button {
  appearance: none; border: none; cursor: pointer;
  font-family: var(--body); font-size: 12.5px; font-weight: 700; letter-spacing: .02em;
  color: var(--fg-2); background: transparent;
  padding: 7px 13px; border-radius: var(--r-pill); line-height: 1;
  transition: color .3s var(--ease), background .3s var(--ease);
}
.lang-switch button:hover { color: var(--fg); }
.lang-switch button.active {
  color: #1a1303;
  background: linear-gradient(135deg, var(--gold-lt), var(--gold));
}
.lang-switch--menu { margin-top: 14px; transform: scale(1.15); }

.nav__burger {
  display: none; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--gold-line); background: rgba(255,255,255,.02);
  cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav__burger span { width: 20px; height: 2px; background: var(--gold-lt); border-radius: 2px; transition: .3s var(--ease); }

/* Mobile overlay menu */
.menu {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(8,8,8,0.97); backdrop-filter: blur(8px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px;
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
}
.menu.open { opacity: 1; visibility: visible; }
.menu a { font-family: var(--display); font-size: clamp(28px, 8vw, 42px); font-weight: 600; color: var(--fg); opacity: 0; transform: translateY(16px); }
.menu.open a { animation: menuIn .5s var(--ease) forwards; }
.menu.open a:nth-child(1){ animation-delay:.08s } .menu.open a:nth-child(2){ animation-delay:.14s }
.menu.open a:nth-child(3){ animation-delay:.20s } .menu.open a:nth-child(4){ animation-delay:.26s }
.menu.open a:nth-child(5){ animation-delay:.32s }
.menu a:hover { color: var(--gold-lt); }
@keyframes menuIn { to { opacity: 1; transform: none; } }
.menu__close { position: absolute; top: 26px; right: 26px; font-size: 30px; color: var(--gold-lt); background: none; border: none; cursor: pointer; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.hero__videos { position: absolute; inset: 0; z-index: 0; }
.hero__videos video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.6s ease;
}
.hero__videos video.active { opacity: 1; }
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(105deg, rgba(10,10,10,.94) 0%, rgba(10,10,10,.74) 42%, rgba(10,10,10,.30) 78%, rgba(10,10,10,.55) 100%),
    linear-gradient(0deg, rgba(10,10,10,.85), transparent 40%);
}
.hero .wrap { z-index: 2; display: grid; grid-template-columns: minmax(0, 760px); align-items: center; gap: 40px; width: 100%; padding-block: 120px 60px; }

.badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 16px; border-radius: var(--r-pill);
  background: rgba(200,149,42,0.10); border: 1px solid var(--gold-line);
  font-size: 13px; font-weight: 700; letter-spacing: .02em; color: var(--gold-lt);
}
.hero h1 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(54px, 9vw, 116px); line-height: .92; letter-spacing: -0.03em;
  margin: 24px 0 14px;
}
.hero h1 .g { color: var(--gold-lt); display: block; }
.hero__sub { font-size: clamp(16px, 1.7vw, 20px); color: var(--fg-2); max-width: 44ch; }
.hero__dots { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 34px; }
.hero__dots span {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--fg-2);
  padding: 7px 14px; border-radius: var(--r-pill);
  border: 1px solid rgba(255,255,255,.07); background: rgba(255,255,255,.02);
}
.hero__dots span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* Floating bags */
.hero__float { position: relative; height: 540px; }
.hero__float img {
  position: absolute; width: 46%; filter: drop-shadow(0 30px 50px rgba(0,0,0,.6));
  animation: float 6s var(--ease) infinite;
}
.hero__float img:nth-child(1){ top: 0; left: 4%;  animation-delay: 0s; z-index: 3; }
.hero__float img:nth-child(2){ top: 8%; right: 0; animation-delay: -1.5s; z-index: 2; }
.hero__float img:nth-child(3){ bottom: 4%; left: 0; animation-delay: -3s; z-index: 2; }
.hero__float img:nth-child(4){ bottom: 0; right: 6%; animation-delay: -4.5s; z-index: 1; }
@keyframes float { 0%,100%{ transform: translateY(0) rotate(-1deg) } 50%{ transform: translateY(-22px) rotate(1.5deg) } }

.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2;
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--fg-3);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.scroll-hint .line { width: 1px; height: 38px; background: linear-gradient(var(--gold), transparent); animation: drop 2s var(--ease) infinite; }
@keyframes drop { 0%{ transform: scaleY(0); transform-origin: top } 50%{ transform: scaleY(1); transform-origin: top } 51%{ transform-origin: bottom } 100%{ transform: scaleY(0); transform-origin: bottom } }

/* ============================================================
   CARDS — shared
   ============================================================ */
.card {
  background: var(--card); border: 1px solid var(--gold-line); border-radius: var(--r);
  transition: transform .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: rgba(200,149,42,0.4); box-shadow: 0 30px 60px -28px rgba(0,0,0,.8); }

/* ---------- PRODUITS ---------- */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product {
  overflow: hidden; padding: 0; display: flex; flex-direction: column;
}
.product__media {
  position: relative; aspect-ratio: 3/3.4; display: grid; place-items: center;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(200,149,42,.12), transparent 65%),
    linear-gradient(180deg, #1f1f1f, #161616);
  overflow: hidden;
}
.product__media img { width: 74%; transition: transform .6s var(--ease); filter: drop-shadow(0 20px 30px rgba(0,0,0,.5)); }
.product:hover .product__media img { transform: scale(1.07) rotate(-2deg); }
.product__weight {
  position: absolute; top: 14px; right: 14px;
  font-size: 12px; font-weight: 800; color: #1a1303;
  background: linear-gradient(135deg, var(--gold-lt), var(--gold));
  padding: 6px 12px; border-radius: var(--r-pill);
}
.product__body { padding: 20px 22px 26px; display: flex; flex-direction: column; gap: 8px; }
.product__tag { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-lt); font-weight: 700; }
.product__name { font-family: var(--display); font-size: 22px; font-weight: 600; }
.product__desc { font-size: 14px; color: var(--fg-2); }

/* Chocolate full-width cards */
.choco {
  grid-column: 1 / span 4;
  display: grid; grid-template-columns: 360px 1fr; align-items: center; gap: 40px;
  padding: 0; overflow: hidden;
}
.choco__media {
  align-self: stretch; display: grid; place-items: center; padding: 36px;
  background:
    radial-gradient(100% 100% at 30% 20%, rgba(200,149,42,.16), transparent 60%),
    linear-gradient(135deg, #211a10, #161310);
}
.choco__media img { width: 78%; filter: drop-shadow(0 26px 40px rgba(0,0,0,.55)); }
.choco__body { padding: 40px 44px 40px 0; }
.choco__body .product__name { font-size: 30px; }
.choco__desc { color: var(--fg-2); font-size: 15px; text-align: justify; margin: 14px 0 22px; max-width: 62ch; }
.formats { display: flex; flex-wrap: wrap; gap: 10px; }
.formats span {
  font-size: 13px; font-weight: 700; color: var(--gold-lt);
  border: 1px solid var(--gold-line); border-radius: var(--r-pill);
  padding: 8px 16px; background: rgba(200,149,42,.06);
}

/* ---------- GAMMES ---------- */
.gammes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.gamme { padding: 38px; display: flex; flex-direction: column; gap: 18px; }
.gamme__icon {
  width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; font-size: 30px;
  background: rgba(200,149,42,.10); border: 1px solid var(--gold-line);
}
.gamme__name { font-family: var(--display); font-size: 30px; font-weight: 700; }
.gamme__subtitle { color: var(--gold-lt); font-size: 13.5px; font-weight: 600; letter-spacing: .04em; margin-top: -10px; }
.gamme__desc { color: var(--fg-2); font-size: 15px; }
.tags { display: flex; flex-wrap: wrap; gap: 9px; }
.tags span {
  font-size: 12.5px; font-weight: 600; color: var(--fg);
  border: 1px solid rgba(255,255,255,.08); border-radius: var(--r-pill);
  padding: 7px 14px; background: rgba(255,255,255,.02);
}
.gamme__stats { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; margin-top: auto; padding-top: 22px; border-top: 1px solid var(--gold-line); }
.gamme__stats div { display: flex; flex-direction: column; gap: 2px; }
.gamme__stats b { font-family: var(--display); font-size: 22px; color: var(--gold-lt); font-weight: 700; }
.gamme__stats small { font-size: 11px; color: var(--fg-3); letter-spacing: .04em; }

/* ---------- NOTRE HISTOIRE ---------- */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.about__logo {
  position: relative; display: grid; place-items: center;
  aspect-ratio: 1; border-radius: var(--r); overflow: hidden;
  background: radial-gradient(circle at 50% 45%, rgba(200,149,42,.18), transparent 62%), var(--card);
  border: 1px solid var(--gold-line);
}
.about__logo::after { content: ""; position: absolute; width: 60%; aspect-ratio:1; border-radius: 50%; background: var(--gold-glow); filter: blur(60px); }
.about__logo img { width: 64%; position: relative; z-index: 1; filter: drop-shadow(0 0 40px rgba(200,149,42,.4)); }
.pillars { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 20px; }
.pillar { padding: 18px 16px; text-align: center; }
.pillar__icon { font-size: 24px; }
.pillar b { display: block; font-family: var(--display); font-size: 15px; margin: 8px 0 4px; }
.pillar small { font-size: 11.5px; color: var(--fg-3); }
.story p { color: var(--fg-2); margin-top: 16px; font-size: 15.5px; }
.story p .hl { color: var(--fg); font-weight: 600; }
.story__stats { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.story__stats div { flex: 1; min-width: 120px; padding: 18px 20px; border-radius: var(--r-sm); background: rgba(255,255,255,.02); border: 1px solid var(--gold-line); }
.story__stats b { font-family: var(--display); font-size: 30px; color: var(--gold-lt); display: block; }
.story__stats small { font-size: 12px; color: var(--fg-3); }

/* ---------- QUI SOMMES-NOUS ---------- */
.pres-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: start; }
.pres__lead { font-size: clamp(16px,1.6vw,19px); color: var(--fg-2); margin-top: 22px; }
.pres__quote {
  margin-top: 26px; padding: 18px 24px; border-left: 3px solid var(--gold);
  font-style: italic; color: var(--fg); font-size: 17px; background: rgba(200,149,42,.05); border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.stat-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat-card { padding: 30px 28px; }
.stat-card b { font-family: var(--display); font-size: clamp(38px,4.5vw,52px); color: var(--gold-lt); line-height: 1; display: block; font-weight: 700; }
.stat-card span { font-size: 13.5px; color: var(--fg-2); margin-top: 10px; display: block; }
.range-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 28px; }
.range-card { padding: 28px 30px; display: flex; flex-direction: column; gap: 10px; }
.range-card h4 { font-family: var(--display); font-size: 21px; display: flex; align-items: center; gap: 10px; }
.range-card p { color: var(--fg-2); font-size: 14px; }
.range-card .meta { color: var(--gold-lt); font-size: 13px; font-weight: 600; margin-top: auto; padding-top: 8px; }

/* ---------- QUALITÉ & INDUSTRIE ---------- */
.subhead { margin: 0 0 36px; }
.subhead .eyebrow { color: var(--gold-lt); }
.subhead h3 { font-family: var(--display); font-size: clamp(26px,3.4vw,38px); font-weight: 700; margin-top: 12px; letter-spacing: -0.01em; }

.quality-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.quality { padding: 30px 28px; display: flex; flex-direction: column; gap: 12px; }
.quality__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; background: rgba(200,149,42,.10); border: 1px solid var(--gold-line); }
.quality h4 { font-family: var(--display); font-size: 19px; font-weight: 600; }
.quality p { color: var(--fg-2); font-size: 14px; }

.industry-divider { height: 1px; background: var(--gold-line); margin: clamp(56px,8vw,90px) 0; }

.industry-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; }
.industry { padding: 34px 32px; }
.industry h4 { font-family: var(--display); font-size: 21px; font-weight: 600; display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.industry h4 .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 19px; background: rgba(200,149,42,.10); border: 1px solid var(--gold-line); flex: none; }
.metric-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.05); }
.metric-row:first-of-type { border-top: none; }
.metric-row span { color: var(--fg-2); font-size: 14px; }
.metric-row b { font-family: var(--display); color: var(--gold-lt); font-size: 18px; }
.bars { display: flex; flex-direction: column; gap: 16px; }
.bar label { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 8px; color: var(--fg-2); }
.bar label b { color: var(--gold-lt); }
.bar__track { height: 7px; border-radius: 99px; background: rgba(255,255,255,.06); overflow: hidden; }
.bar__fill { height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--gold-dk), var(--gold-lt)); width: 0; transition: width 1.4s var(--ease); }
.chips-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.chips-list span { font-size: 13px; color: var(--fg-2); border: 1px solid var(--gold-line); border-radius: var(--r-pill); padding: 7px 14px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--bg-soft); border-top: 1px solid var(--gold-line); position: relative; z-index: 1; }
.contact-bar {
  max-width: var(--maxw); margin: 0 auto; transform: translateY(-50%);
  background: linear-gradient(135deg, var(--gold), var(--gold-dk));
  border-radius: var(--r); padding: 26px 40px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  box-shadow: 0 24px 50px -20px var(--gold-glow);
}
.contact-bar .ct { display: flex; align-items: center; gap: 14px; color: #1a1303; }
.contact-bar .ct b { font-family: var(--display); font-size: clamp(18px,2vw,24px); }
.contact-bar .ct small { display: block; font-size: 12px; opacity: .8; font-weight: 700; letter-spacing: .04em; }
.contact-bar .ci { width: 46px; height: 46px; border-radius: 50%; background: rgba(0,0,0,.18); display: grid; place-items: center; font-size: 20px; flex: none; }

.footer__main { max-width: var(--maxw); margin: 0 auto; padding: 20px var(--pad) 0; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand img { height: 56px; margin-bottom: 16px; }
.footer__brand p { color: var(--fg-2); font-size: 14px; max-width: 34ch; }
.socials { display: flex; gap: 12px; margin-top: 20px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--gold-line); display: grid; place-items: center; color: var(--fg-2); transition: .3s var(--ease); }
.socials a:hover { background: var(--gold); color: #0A0A0A; border-color: var(--gold); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.footer__col h5 { font-family: var(--display); font-size: 15px; letter-spacing: .04em; margin-bottom: 16px; color: var(--gold-lt); }
.footer__col a { display: block; color: var(--fg-2); font-size: 14px; padding: 6px 0; transition: color .3s var(--ease); }
.footer__col a:hover { color: var(--gold-lt); }
.footer__bottom { max-width: var(--maxw); margin: 0 auto; padding: 30px var(--pad); margin-top: 40px; border-top: 1px solid rgba(255,255,255,.05); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--fg-3); font-size: 13px; }
.footer__bottom a { color: var(--fg-3); }
.footer__bottom a:hover { color: var(--gold-lt); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s } .reveal.d2 { transition-delay: .16s } .reveal.d3 { transition-delay: .24s } .reveal.d4 { transition-delay: .32s }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .about-grid, .pres-grid { gap: 40px; }
}
@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .choco { grid-column: 1 / span 2; }
  .quality-grid { grid-template-columns: repeat(2,1fr); }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero__float { display: none; }
}
@media (max-width: 768px) {
  .gammes-grid, .about-grid, .pres-grid, .industry-grid { grid-template-columns: 1fr; }
  .choco { grid-template-columns: 1fr; }
  .choco__body { padding: 28px; }
  .choco__media { padding: 30px; }
  .choco__desc { text-align: left; }
  .range-cards, .footer__main { grid-template-columns: 1fr; gap: 24px; }
  .pillars { grid-template-columns: repeat(3,1fr); }
  .gamme__stats { grid-auto-flow: row; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .products-grid { grid-template-columns: 1fr; }
  .choco { grid-column: 1 / -1; }
  .quality-grid, .stat-cards { grid-template-columns: 1fr 1fr; }
  .footer__main { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .contact-bar { padding: 22px 24px; }
}
@media (max-width: 420px) {
  .stat-cards { grid-template-columns: 1fr; }
}

/* ============================================================
   ARABIC / RTL
   ============================================================ */
body.rtl { direction: rtl; }
body.rtl,
body.rtl h1, body.rtl h2, body.rtl h3, body.rtl h4, body.rtl h5,
body.rtl .section-title, body.rtl .gamme__name, body.rtl .product__name,
body.rtl .hero h1, body.rtl .lang-switch button {
  font-family: "Cairo", "Manrope", system-ui, sans-serif;
}

/* Mirror the few left/right-anchored bits */
body.rtl .product__weight { right: auto; left: 14px; }
body.rtl .pres__quote { border-left: none; border-right: 3px solid var(--gold); border-radius: var(--r-sm) 0 0 var(--r-sm); }
body.rtl .nav__links a::after { left: auto; right: 0; }

/* Justified paragraphs read better aligned to the RTL start */
body.rtl .choco__desc { text-align: start; }

/* Cairo runs a touch taller — tighten big display text */
body.rtl .hero h1 { line-height: 1.04; }
body.rtl .section-title { line-height: 1.12; }



/* ============================================================
   WORDPRESS — generic content (pages, posts, archives)
   ============================================================ */
.page-shell { display: flex; flex-direction: column; gap: 28px; }
.page-shell__entry { overflow: hidden; }
.page-shell__thumb img { width: 100%; height: auto; display: block; }
.page-shell__body { padding: clamp(26px, 4vw, 44px); }
.page-shell__title { font-family: var(--display); font-size: clamp(26px, 4vw, 40px); font-weight: 700; letter-spacing: -0.01em; line-height: 1.08; margin-bottom: 18px; }
.page-shell__title a { transition: color .3s var(--ease); }
.page-shell__title a:hover { color: var(--gold-lt); }
.page-shell__content { color: var(--fg-2); font-size: 16px; }
.page-shell__content > * + * { margin-top: 18px; }
.page-shell__content a { color: var(--gold-lt); text-decoration: underline; text-underline-offset: 3px; }
.page-shell__content h2, .page-shell__content h3, .page-shell__content h4 { font-family: var(--display); color: var(--fg); margin-top: 28px; }
.page-shell__content img { border-radius: var(--r-sm); height: auto; }
.page-shell__content blockquote { border-left: 3px solid var(--gold); padding: 12px 22px; font-style: italic; color: var(--fg); background: rgba(200,149,42,.05); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.page-shell__content ul, .page-shell__content ol { padding-left: 1.3em; }
.page-shell__content code { background: rgba(255,255,255,.06); padding: 2px 7px; border-radius: 6px; font-size: .9em; }
.page-shell__content .btn { margin-top: 22px; }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
.pagination .page-numbers {
  display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px;
  border-radius: var(--r-pill); border: 1px solid var(--gold-line); color: var(--fg-2); font-weight: 600;
  transition: .3s var(--ease);
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover { background: var(--gold); color: #0A0A0A; border-color: var(--gold); }

/* Logged-in admin bar offset */
.admin-bar .nav { top: 32px; }
@media (max-width: 782px) { .admin-bar .nav { top: 46px; } }

/* Custom-logo image inside the brand lockup */
.brand .custom-logo { height: 44px; width: auto; }

.contact-bar .ct { text-decoration: none; }

