/* ==========================================================================
   MATAHIN KHALIFA LIL ALAF
   Design inspire de matahin.com : or #BF8B31, Open Sans + Lato
   ========================================================================== */

/* ------------------------------- TOKENS --------------------------------- */
:root {
  /* Or principal repris de matahin.com */
  --gold: #bf8b31;
  --gold-dark: #a3721f;
  --gold-light: #d8ab5e;
  --gold-soft: #f6ecd9;
  --gold-line: #e8d5ad;

  --ink: #232323;
  --ink-2: #333;
  --ink-soft: #5c5c5c;
  --ink-mute: #8c8c8c;

  --white: #ffffff;
  --bg: #ffffff;
  --bg-2: #f7f7f7;
  --bg-3: #fbf9f5;
  --line: #e9e9e9;
  --line-2: #dcdcdc;

  --green: #2e7d4f;
  --red: #b3261e;

  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 14px;
  --radius-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 3px 14px rgba(0, 0, 0, 0.06);
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.09);
  --shadow-lg: 0 22px 60px rgba(0, 0, 0, 0.15);

  --ff-head: 'Lato', 'Open Sans', Arial, sans-serif;
  --ff-body: 'Open Sans', Arial, sans-serif;
  --ff-arabic: 'Tajawal', 'Noto Kufi Arabic', 'Segoe UI', sans-serif;

  --container: 1140px;
  --gutter: 24px;
  --section-y: 92px;
  --topbar-h: 44px;
  --header-h: 78px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ------------------------------- RESET ---------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: var(--ff-body);
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

html[lang='ar'] body {
  font-family: var(--ff-arabic);
  font-size: 16px;
  line-height: 1.95;
}

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

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  cursor: pointer;
}

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

ul,
ol {
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* --------------------------- TYPOGRAPHY --------------------------------- */
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--ff-head);
  font-weight: 700;
  line-height: 1.22;
  color: var(--ink);
}

html[lang='ar'] h1,
html[lang='ar'] h2,
html[lang='ar'] h3,
html[lang='ar'] h4,
html[lang='ar'] h5 {
  font-family: var(--ff-arabic);
  font-weight: 700;
  line-height: 1.45;
}

h1 {
  font-size: clamp(2rem, 4.4vw, 3.15rem);
}
h2 {
  font-size: clamp(1.6rem, 3.1vw, 2.35rem);
}
h3 {
  font-size: clamp(1.1rem, 1.7vw, 1.3rem);
}
h4 {
  font-size: 1.05rem;
}

p {
  color: var(--ink-soft);
}

.color {
  color: var(--gold);
}

.lead {
  font-size: 1.03rem;
  color: var(--ink-soft);
  max-width: 64ch;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  inset-inline-start: 50%;
  top: -100px;
  transform: translateX(-50%);
  z-index: 3000;
  background: var(--gold);
  color: #fff;
  padding: 12px 24px;
  border-radius: 0 0 var(--radius) var(--radius);
  transition: top 0.25s var(--ease);
}

.skip-link:focus {
  top: 0;
}

/* ------------------------------ LAYOUT ---------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-y);
}

.section--grey {
  background: var(--bg-2);
}

.section--cream {
  background: var(--bg-3);
}

/* Titre de section : petit trait + or, comme sur matahin.com */
.sec-head {
  max-width: 700px;
  margin: 0 auto 54px;
  text-align: center;
}

.sec-head h2 {
  margin-bottom: 14px;
}

.sec-head p {
  font-size: 1.02rem;
}

.sec-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--gold);
}

.sec-mark svg {
  width: 22px;
  height: 22px;
  flex: none;
}

.sec-mark::before,
.sec-mark::after {
  content: '';
  height: 1px;
  width: 42px;
  background: var(--gold-line);
  flex: none;
}

html[lang='ar'] .sec-mark::before,
html[lang='ar'] .sec-mark::after {
  display: none;
}

.grid {
  display: grid;
  gap: 26px;
}

.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid--5 {
  grid-template-columns: repeat(5, 1fr);
}

/* ------------------------------ BUTTONS --------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-family: var(--ff-body);
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease),
    transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn svg {
  width: 16px;
  height: 16px;
  flex: none;
}

html[lang='ar'] .btn svg {
  transform: scaleX(-1);
}

/* Bouton or : celui utilise partout sur matahin.com */
.btn--gold {
  background: var(--gold);
  color: #fff;
  box-shadow: 0 6px 18px rgba(191, 139, 49, 0.3);
}

.btn--gold:hover {
  background: var(--gold-dark);
  box-shadow: 0 10px 26px rgba(163, 114, 31, 0.36);
}

.btn--outline {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--line-2);
}

.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(191, 139, 49, 0.06);
}

.btn--white {
  background: #fff;
  color: var(--ink);
}

.btn--white:hover {
  background: var(--gold-soft);
}

.btn--outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn--outline-white:hover {
  background: #fff;
  border-color: #fff;
  color: var(--gold-dark);
}

.btn--dark {
  background: var(--ink);
  color: #fff;
}

.btn--dark:hover {
  background: var(--gold);
}

.btn--sm {
  padding: 10px 22px;
  font-size: 0.85rem;
}

.btn--block {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.93rem;
  color: var(--gold);
  transition: gap 0.3s var(--ease);
}

.link-more:hover {
  gap: 13px;
}

.link-more svg {
  width: 15px;
  height: 15px;
}

html[lang='ar'] .link-more svg {
  transform: scaleX(-1);
}

/* ------------------------------- TOPBAR --------------------------------- */
.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
}

.topbar__inner {
  min-height: var(--topbar-h);
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar__contact {
  display: flex;
  align-items: center;
  gap: 26px;
}

.topbar__contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.25s var(--ease);
}

.topbar__contact a:hover {
  color: var(--gold-light);
}

.topbar__contact svg {
  width: 15px;
  height: 15px;
  color: var(--gold);
  flex: none;
}

.topbar__social {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-inline: auto;
}

.topbar__social a {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}

.topbar__social svg {
  width: 14px;
  height: 14px;
}

.topbar__social a:hover {
  background: var(--gold);
  color: #fff;
}

.topbar__cta {
  margin-inline-start: auto;
  display: flex;
  align-items: center;
}

.topbar__cta .btn {
  padding: 8px 22px;
  font-size: 0.82rem;
}

/* ------------------------------ HEADER ---------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease);
}

.header.is-scrolled {
  box-shadow: var(--shadow-sm);
}

.header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 18px;
}

/* Logo */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-inline-end: auto;
  flex: none;
}

.brand__mark {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: var(--radius);
  background: var(--gold);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--ff-head);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background-color 0.3s var(--ease);
}

.brand:hover .brand__mark {
  background: var(--gold-dark);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.24;
}

.brand__name {
  font-family: var(--ff-head);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
}

html[lang='ar'] .brand__name {
  font-family: var(--ff-arabic);
  font-size: 0.98rem;
}

.brand__tag {
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}

html[lang='ar'] .brand__tag {
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.76rem;
}

/* Navigation principale */
.nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav__link {
  position: relative;
  padding: 10px 14px;
  font-size: 0.91rem;
  font-weight: 700;
  color: var(--ink);
  border-radius: var(--radius-sm);
  transition: color 0.25s var(--ease);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  inset-inline-start: 14px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--gold);
}

.nav__link:hover::after,
.nav__link.is-active::after {
  width: calc(100% - 28px);
}

/* Bascule de langue */
.lang {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
  flex: none;
  margin-inline-start: 8px;
  transition: all 0.3s var(--ease);
}

.lang:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(191, 139, 49, 0.07);
}

.lang svg {
  width: 15px;
  height: 15px;
  flex: none;
}

html[lang='ar'] .lang svg {
  transform: scaleX(-1);
}

/* Burger */
.burger {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  flex: none;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
}

.burger__box {
  width: 19px;
  height: 13px;
  position: relative;
}

.burger__box span {
  position: absolute;
  inset-inline-start: 0;
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.2s linear, width 0.35s var(--ease);
}

.burger__box span:nth-child(1) {
  top: 0;
}
.burger__box span:nth-child(2) {
  top: 50%;
  margin-top: -1px;
  width: 70%;
}
.burger__box span:nth-child(3) {
  bottom: 0;
}

.burger[aria-expanded='true'] .burger__box span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}
.burger[aria-expanded='true'] .burger__box span:nth-child(2) {
  opacity: 0;
  width: 0;
}
.burger[aria-expanded='true'] .burger__box span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

/* Menu mobile */
.nav-drawer {
  position: fixed;
  inset: calc(var(--header-h)) 0 auto;
  z-index: 999;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 14px var(--gutter) 26px;
  display: flex;
  flex-direction: column;
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.35s var(--ease), opacity 0.3s var(--ease), visibility 0.3s;
}

.nav-drawer.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.nav-drawer a {
  padding: 13px 4px;
  font-size: 1.02rem;
  font-weight: 700;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.nav-drawer a:last-child {
  border-bottom: 0;
}

.nav-drawer a:hover {
  color: var(--gold);
  padding-inline-start: 12px;
}

body.nav-open {
  overflow: hidden;
}

/* -------------------------------- HERO ---------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  background: var(--ink);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media video,
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Voile sombre comme sur matahin.com */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    100deg,
    rgba(20, 18, 15, 0.86) 0%,
    rgba(20, 18, 15, 0.68) 45%,
    rgba(20, 18, 15, 0.5) 100%
  );
}

html[dir='rtl'] .hero__overlay {
  background: linear-gradient(
    260deg,
    rgba(20, 18, 15, 0.86) 0%,
    rgba(20, 18, 15, 0.68) 45%,
    rgba(20, 18, 15, 0.5) 100%
  );
}

.hero__inner {
  min-height: min(680px, 82vh);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  padding-block: clamp(64px, 9vw, 110px);
}

.hero__content {
  max-width: 620px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  background: rgba(191, 139, 49, 0.18);
  border: 1px solid rgba(191, 139, 49, 0.45);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 22px;
}

html[lang='ar'] .hero__eyebrow {
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.88rem;
}

.hero__eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-light);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.35;
    transform: scale(0.7);
  }
}

.hero h1 {
  color: #fff;
  margin-bottom: 22px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
}

.hero h1 .color {
  color: var(--gold-light);
}

.hero__text {
  font-size: 1.06rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 56ch;
  margin-bottom: 34px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Colonne droite : pastille de garantie, comme un visuel de reassurance */
.hero__aside {
  display: flex;
  justify-content: flex-end;
}

.hero__badge {
  max-width: 290px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

html[dir='rtl'] .hero__aside {
  justify-content: flex-start;
}

.hero__badge .n {
  font-family: var(--ff-head);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  color: var(--gold-light);
}

html[lang='ar'] .hero__badge .n {
  font-family: var(--ff-arabic);
}

.hero__badge .t {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 8px;
}

/* ------------------------- RANGEE DES 4 PILIERS ------------------------- */
.pillars {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.pillars__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.pillar {
  padding: 46px 30px;
  text-align: center;
  border-inline-start: 1px solid var(--line);
}

.pillar:first-child {
  border-inline-start: 0;
}

.pillar__icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 20px;
  color: var(--gold);
  display: grid;
  place-items: center;
}

.pillar__icon svg {
  width: 56px;
  height: 56px;
}

.pillar h3 {
  font-size: 1.12rem;
  margin-bottom: 9px;
}

.pillar p {
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ------------------------------ PRODUITS -------------------------------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 22px;
}

.filter {
  padding: 10px 26px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-2);
  background: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink-soft);
  transition: all 0.28s var(--ease);
}

.filter:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.filter.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

.filter__count {
  opacity: 0.65;
  font-size: 0.82em;
  margin-inline-start: 5px;
}

.result-count {
  text-align: center;
  font-size: 0.86rem;
  color: var(--ink-mute);
  margin-bottom: 34px;
}

.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.p-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease);
}

.p-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--gold-line);
}

.p-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-2);
}

.p-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.p-card:hover .p-card__media img {
  transform: scale(1.06);
}

.p-card__cat {
  position: absolute;
  top: 13px;
  inset-inline-end: 13px;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
}

html[lang='ar'] .p-card__cat {
  font-size: 0.78rem;
}

.p-card__badge {
  position: absolute;
  top: 13px;
  inset-inline-start: 13px;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--gold);
  color: #fff;
}

html[lang='ar'] .p-card__badge {
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.76rem;
}

.p-card__body {
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.p-card__title {
  font-family: var(--ff-head);
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 8px;
}

html[lang='ar'] .p-card__title {
  font-family: var(--ff-arabic);
  font-size: 1.08rem;
}

.p-card__desc {
  font-size: 0.86rem;
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

.p-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.price {
  display: flex;
  flex-direction: column;
  line-height: 1.22;
}

.price__value {
  font-family: var(--ff-head);
  font-size: 1.24rem;
  font-weight: 700;
  color: var(--gold);
}

html[lang='ar'] .price__value {
  font-family: var(--ff-arabic);
}

.price__unit {
  font-size: 0.72rem;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

html[lang='ar'] .price__unit {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.8rem;
}

.price-note {
  margin-top: 30px;
  text-align: center;
  font-size: 0.83rem;
  color: var(--ink-mute);
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 64px 20px;
  color: var(--ink-mute);
}

/* -------------------------------- ABOUT --------------------------------- */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(34px, 5vw, 64px);
  align-items: center;
}

.about__media {
  position: relative;
}

.about__img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3.2;
  background: var(--bg-2);
}

.about__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__badge {
  position: absolute;
  bottom: -20px;
  inset-inline-end: -16px;
  background: var(--gold);
  color: #fff;
  padding: 20px 26px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  text-align: center;
  min-width: 150px;
}

.about__badge .n {
  font-family: var(--ff-head);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

html[lang='ar'] .about__badge .n {
  font-family: var(--ff-arabic);
}

.about__badge .t {
  font-size: 0.76rem;
  margin-top: 6px;
  line-height: 1.4;
  opacity: 0.94;
}

.about h2 {
  margin-bottom: 18px;
}

.about h3 {
  margin-block: 26px 10px;
  color: var(--gold);
}

.about p + p {
  margin-top: 15px;
}

.about__list {
  display: grid;
  gap: 13px;
  margin-block: 26px;
}

.about__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.94rem;
  color: var(--ink-soft);
}

.about__list svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
  flex: none;
  margin-top: 3px;
}

/* ------------------------------ SERVICES -------------------------------- */
/* Cartes services : cadre or, comme les icon-box d'Elementor */
.s-card {
  padding: 34px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease);
}

.s-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-line);
  box-shadow: var(--shadow);
}

.s-card__icon {
  width: 58px;
  height: 58px;
  margin-bottom: 20px;
  color: var(--gold);
  display: grid;
  place-items: center;
  background: var(--gold-soft);
  border-radius: 50%;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease);
}

.s-card:hover .s-card__icon {
  background: var(--gold);
  color: #fff;
}

.s-card__icon svg {
  width: 28px;
  height: 28px;
}

.s-card h3 {
  margin-bottom: 10px;
}

.s-card p {
  font-size: 0.92rem;
  line-height: 1.68;
}

/* --------------------------- WHY CHOOSE US ------------------------------ */
.why {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 26px;
}

.why__item {
  text-align: center;
}

.why__icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 18px;
  color: var(--gold);
}

.why__icon svg {
  width: 100%;
  height: 100%;
}

.why__item h3 {
  font-size: 1.05rem;
  margin-bottom: 9px;
}

.why__item p {
  font-size: 0.88rem;
  line-height: 1.65;
}

/* ------------------------------- GALLERY -------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  background: var(--bg-2);
  display: block;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.5s var(--ease);
}

.gallery__item:hover img {
  transform: scale(1.07);
}

.gallery__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(191, 139, 49, 0);
  transition: background-color 0.4s var(--ease);
}

.gallery__item:hover::after {
  background: rgba(191, 139, 49, 0.18);
}

/* ------------------------------- CONTACT -------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(34px, 5vw, 60px);
  align-items: start;
}

.info-list {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.info-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.info-item__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold-soft);
  color: var(--gold);
  flex: none;
}

.info-item__icon svg {
  width: 20px;
  height: 20px;
}

.info-item__label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 700;
  margin-bottom: 2px;
}

html[lang='ar'] .info-item__label {
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.84rem;
}

.info-item__value {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--ink);
  white-space: pre-line;
  line-height: 1.6;
}

.info-item__value a:hover {
  color: var(--gold);
}

/* Formulaire */
.form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3.4vw, 38px);
  box-shadow: var(--shadow-sm);
}

.form h3 {
  margin-bottom: 8px;
}

.form__intro {
  font-size: 0.92rem;
  margin-bottom: 24px;
}

.field {
  margin-bottom: 18px;
}

.field__label {
  display: block;
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 7px;
}

.field__label .opt {
  font-weight: 400;
  color: var(--ink-mute);
  font-size: 0.86em;
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: var(--bg-2);
  font-size: 0.95rem;
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.field textarea {
  min-height: 122px;
  resize: vertical;
  line-height: 1.65;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(191, 139, 49, 0.13);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--ink-mute);
  opacity: 0.8;
}

.field.has-error input,
.field.has-error textarea {
  border-color: var(--red);
  background: rgba(179, 38, 30, 0.035);
}

.field__err {
  display: none;
  font-size: 0.79rem;
  color: var(--red);
  margin-top: 5px;
}

.field.has-error .field__err {
  display: block;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.alert {
  display: none;
  padding: 13px 17px;
  border-radius: var(--radius);
  font-size: 0.89rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.6;
}

.alert.is-visible {
  display: block;
  animation: fadeUp 0.4s var(--ease) both;
}

.alert--ok {
  background: rgba(46, 125, 79, 0.1);
  border: 1px solid rgba(46, 125, 79, 0.3);
  color: var(--green);
}

.alert--err {
  background: rgba(179, 38, 30, 0.07);
  border: 1px solid rgba(179, 38, 30, 0.25);
  color: var(--red);
}

.form__foot {
  margin-top: 14px;
  font-size: 0.79rem;
  color: var(--ink-mute);
  text-align: center;
}

/* ------------------------------- FOOTER --------------------------------- */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
}

.footer__top {
  padding-block: 58px 40px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1.3fr;
  gap: 44px;
}

.footer h4 {
  color: #fff;
  font-size: 1.02rem;
  margin-bottom: 18px;
}

.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 18px;
}

.footer__brand .brand__mark {
  background: var(--gold);
}

.footer__brand .brand__name {
  color: #fff;
}

.footer__about {
  max-width: 40ch;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 20px;
}

.footer__links {
  display: grid;
  gap: 11px;
}

.footer__links a {
  transition: color 0.25s var(--ease), padding-inline-start 0.25s var(--ease);
}

.footer__links a:hover {
  color: var(--gold-light);
  padding-inline-start: 6px;
}

.footer__contact {
  display: grid;
  gap: 13px;
}

.footer__contact li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  line-height: 1.65;
}

.footer__contact svg {
  width: 17px;
  height: 17px;
  color: var(--gold);
  flex: none;
  margin-top: 4px;
}

.footer__contact a:hover {
  color: var(--gold-light);
}

.footer__social {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.footer__social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.07);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}

.footer__social svg {
  width: 16px;
  height: 16px;
}

.footer__social a:hover {
  background: var(--gold);
  color: #fff;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.42);
}

/* --------------------------- ANIMATION REVEAL --------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------- RESPONSIVE --------------------------------- */
@media (max-width: 1024px) {
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid--5 {
    grid-template-columns: repeat(3, 1fr);
  }
  .products {
    grid-template-columns: repeat(3, 1fr);
  }
  .pillars__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pillar:nth-child(3) {
    border-inline-start: 0;
  }
  .pillar:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .hero__inner {
    min-height: auto;
  }
  .hero__aside {
    display: none;
  }
  .hero__inner {
    grid-template-columns: 1fr;
  }
  .about,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .about__media {
    max-width: 520px;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 980px) {
  .topbar {
    display: none;
  }
}

@media (max-width: 880px) {
  :root {
    --section-y: 66px;
    --header-h: 70px;
  }

  .nav {
    display: none;
  }

  .burger {
    display: grid;
  }

  .why {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 18px;
    --section-y: 54px;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .grid--4,
  .grid--5,
  .grid--2,
  .products,
  .pillars__grid {
    grid-template-columns: 1fr;
  }

  .pillar {
    border-inline-start: 0;
    border-top: 1px solid var(--line);
    padding: 34px 20px;
  }

  .pillar:first-child {
    border-top: 0;
  }

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

  .form__row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__bottom {
    justify-content: center;
    text-align: center;
  }

  .about__badge {
    position: static;
    margin-top: 18px;
    min-width: 0;
  }

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

/* ------------------------- MOTION / PRINT ------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .topbar,
  .header,
  .nav-drawer,
  .hero__actions,
  .filters,
  .btn,
  .footer__social {
    display: none !important;
  }

  body {
    background: #fff;
  }

  .hero {
    background: #fff;
  }

  .hero h1,
  .hero__text {
    color: #000;
    text-shadow: none;
  }
}

/* ------------------- BIDI : numeros / emails en LTR -------------------- */
/* Evite l'inversion du "+" et des chiffres en contexte arabe (RTL). */
[data-site='phone'],
[data-site='phone2'],
[data-site='email'],
a[href^='tel:'] span,
a[href^='mailto:'] span {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}