/* Dar L'Aïdi — feuille de style
   Palette : olive profond, or d'huile, crème. Propriétés logiques pour le FR (LTR) et l'AR (RTL). */

:root {
  --olive-900: #2f3a1f;
  --olive-800: #3a4726;
  --olive-700: #4a5a2a;
  --olive-500: #7a8b3a;
  --olive-100: #eef0e0;
  --gold: #c9a43a;
  --gold-600: #b08d26;
  --gold-soft: #ead9a0;
  --cream: #fbf7ee;
  --sand: #f4ecdb;
  --ink: #22261a;
  --muted: #646857;
  --line: #e4dcc8;
  --terracotta: #b4683f;
  --wa: #1fa855;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(34, 38, 26, .05), 0 12px 32px -12px rgba(34, 38, 26, .18);
  --shadow-lg: 0 30px 60px -24px rgba(34, 38, 26, .35);
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 72px;
}
.lang-ar {
  --font-display: "El Messiri", "Tajawal", "Segoe UI", sans-serif;
  --font-body: "Tajawal", "Segoe UI", Tahoma, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
.lang-ar body, body.lang-ar { font-size: 18px; line-height: 1.8; }
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; font-weight: 600; }
.lang-ar h1, .lang-ar h2, .lang-ar h3 { line-height: 1.4; letter-spacing: 0; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; inset-inline-start: -999px; }
.skip:focus { inset-inline-start: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .8em 1.4em; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: .55em 1.05em; font-size: .92rem; }
.btn-lg { padding: 1em 1.8em; font-size: 1.06rem; }
.btn-block { width: 100%; }
.btn-gold { background: var(--gold); color: var(--olive-900); box-shadow: 0 8px 20px -8px rgba(176, 141, 38, .7); }
.btn-gold:hover { background: #d6b24a; }
.btn-olive { background: var(--olive-700); color: #fff; }
.btn-olive:hover { background: var(--olive-800); }
.btn-outline { border-color: var(--olive-700); color: var(--olive-700); background: transparent; }
.btn-outline:hover { background: var(--olive-700); color: #fff; }
.btn-ghost-light { border-color: rgba(255,255,255,.55); color: #fff; background: rgba(255,255,255,.06); backdrop-filter: blur(4px); }
.btn-ghost-light:hover { background: rgba(255,255,255,.16); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #18914a; }

.kicker {
  display: inline-flex; align-items: center; gap: .6em;
  font: 700 .78rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase;
  color: var(--olive-500); margin-bottom: 1rem;
}
.lang-ar .kicker { letter-spacing: 0; font-size: .95rem; }
.kicker::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.kicker-light { color: var(--gold-soft); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 62ch; }
.fine { font-size: .86rem; color: var(--muted); }
.center { text-align: center; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(251, 247, 238, .86); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(228, 220, 200, .7);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-mark { width: 46px; height: 46px; flex: none; }
.logo-text { display: grid; grid-template-columns: auto auto; align-items: baseline; column-gap: 8px; line-height: 1.1; }
.logo-name { grid-column: 1 / -1; font: 600 1.32rem/1.1 "Fraunces", Georgia, serif; color: var(--olive-900); letter-spacing: -.01em; }
.lang-ar .logo-name { font-family: "El Messiri", "Tajawal", sans-serif; font-size: 1.42rem; font-weight: 700; }
.logo-alt { font: 600 .92rem/1.2 "El Messiri", "Tajawal", sans-serif; color: var(--olive-500); }
.lang-ar .logo-alt { font: 600 .82rem/1.2 "Fraunces", Georgia, serif; }
.logo-tag { font-size: .7rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; padding-inline-start: 8px; border-inline-start: 1.5px solid var(--gold); }
.lang-ar .logo-tag { text-transform: none; letter-spacing: 0; font-size: .78rem; }
.main-nav { display: flex; gap: 26px; margin-inline-start: auto; }
.main-nav a { text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--olive-800); position: relative; padding: 4px 0; }
.main-nav a::after { content: ""; position: absolute; inset-inline: 0; bottom: -2px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .25s ease; }
.main-nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch {
  text-decoration: none; font-weight: 600; font-size: .92rem; padding: .45em .9em; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--olive-800);
}
.lang-switch[lang="ar"] { font-family: "Tajawal", "Segoe UI", sans-serif; font-size: 1rem; }
.cart-btn svg { width: 18px; height: 18px; }
.cart-count {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--olive-900); color: #fff;
  font-size: .75rem; display: inline-grid; place-items: center;
}
.cart-count.bump { animation: bump .45s ease; }
@keyframes bump { 40% { transform: scale(1.35); } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: center; color: #fff; overflow: hidden; isolation: isolate; }
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-bg img { animation: slowzoom 22s ease-out both; }
@keyframes slowzoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(31, 38, 18, .9) 0%, rgba(31, 38, 18, .68) 45%, rgba(31, 38, 18, .18) 100%);
}
[dir="rtl"] .hero-shade { background: linear-gradient(-100deg, rgba(31, 38, 18, .9) 0%, rgba(31, 38, 18, .68) 45%, rgba(31, 38, 18, .18) 100%); }
.hero-inner { display: grid; grid-template-columns: 1.25fr .75fr; gap: 56px; align-items: center; padding-block: 80px; }
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 4.1rem); color: #fff; max-width: 15ch; }
.lang-ar .hero h1 { max-width: 18ch; }
.hero-sub { font-size: 1.18rem; color: rgba(255,255,255,.86); max-width: 52ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 22px; }
.hero-price { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--gold-soft); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(201,164,58,.25); }
.hero-card {
  position: relative; border-radius: 26px; overflow: hidden; background: #fff; padding: 10px;
  box-shadow: var(--shadow-lg); transform: rotate(2deg);
}
[dir="rtl"] .hero-card { transform: rotate(-2deg); }
.hero-card img { border-radius: 18px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.hero-card-tag {
  position: absolute; inset-inline-start: 22px; bottom: 22px; background: rgba(255,255,255,.95); color: var(--ink);
  padding: 10px 16px; border-radius: 14px; display: flex; flex-direction: column; line-height: 1.3; box-shadow: var(--shadow);
}
.hero-card-tag strong { font-family: var(--font-display); color: var(--olive-800); font-size: 1.1rem; }
.hero-card-tag span { font-size: .82rem; color: var(--muted); }

/* ---------- Confiance ---------- */
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; gap: 14px; align-items: center; padding: 26px 18px; }
.trust-item + .trust-item { border-inline-start: 1px solid var(--line); }
.trust-item strong { display: block; color: var(--olive-900); font-size: 1rem; }
.trust-item span { font-size: .87rem; color: var(--muted); }
.trust-icon { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--olive-100); }
.trust-icon svg, .ship-banner svg, .pay-note svg { width: 24px; height: 24px; fill: none; stroke: var(--olive-700); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 10vw, 120px); }
.section-head { max-width: 760px; margin-bottom: 56px; }

/* Parcours */
.story { background: var(--cream); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 28px; counter-reset: s; }
.step { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .35s ease, box-shadow .35s ease; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.step-media { position: relative; margin: 0; aspect-ratio: 4/3; overflow: hidden; }
.step-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.step:hover .step-media img { transform: scale(1.05); }
.step-num {
  position: absolute; top: 14px; inset-inline-start: 14px; font: 600 .95rem/1 var(--font-display);
  background: rgba(255,255,255,.92); color: var(--olive-800); padding: 8px 12px; border-radius: 999px;
}
.step-body { padding: 22px 24px 26px; }
.step-body p { color: var(--muted); margin: 0; font-size: .98rem; }

/* Vidéos */
.videos { background: radial-gradient(1200px 500px at 85% 20%, #46552a 0%, var(--olive-900) 60%); color: #fff; overflow: hidden; }
.videos h2 { color: #fff; }
.videos .lead { color: rgba(255,255,255,.78); }
.videos-grid { display: grid; grid-template-columns: 1.1fr .7fr .7fr; gap: 34px; align-items: center; }
.phone { margin: 0; position: relative; border-radius: 34px; padding: 9px; background: #12160c; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), inset 0 0 0 1px rgba(255,255,255,.08); }
.phone video { width: 100%; aspect-ratio: 9/16; object-fit: cover; border-radius: 26px; background: #222; }
.phone figcaption {
  position: absolute; inset-inline: 22px; bottom: 22px; padding: 8px 12px; border-radius: 12px;
  background: rgba(20, 24, 14, .62); backdrop-filter: blur(6px); font-size: .86rem; font-weight: 600;
}
.phone-offset { transform: translateY(48px); }

/* Qualité */
.quality { background: var(--sand); }
.quality-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 28px; align-items: start; }
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px; }
.analysis table { width: 100%; border-collapse: collapse; margin-bottom: 18px; font-size: .97rem; }
.analysis th { text-align: start; font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; padding: 0 10px 12px; border-bottom: 2px solid var(--line); }
.lang-ar .analysis th { letter-spacing: 0; font-size: .9rem; }
.analysis td { padding: 15px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.analysis tr:last-child td { border-bottom: 0; }
.analysis td:first-child { font-weight: 600; color: var(--olive-900); }
.analysis td.num { color: var(--muted); }
[dir="rtl"] .analysis td.num { text-align: right; }
.pill-ok { display: inline-block; background: #e7f1dd; color: #3f6a1f; font-weight: 700; font-size: .78rem; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.quality-side { display: grid; gap: 28px; }
.onssa { text-align: center; background: linear-gradient(180deg, #fff 0%, #fdfaf1 100%); border: 1px solid var(--gold-soft); }
.seal { width: 112px; margin: 0 auto 14px; color: var(--olive-700); }
.seal svg { width: 100%; height: auto; }
.onssa p { color: var(--muted); }
.onssa-num { background: var(--olive-100); border-radius: 12px; padding: 10px; color: var(--olive-900) !important; }
.quality-photo { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.quality-photo img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }

/* Produits */
.products { background: var(--cream); }
.ship-banner {
  display: flex; align-items: center; gap: 12px; justify-content: center; text-align: center;
  background: var(--olive-100); color: var(--olive-900); border-radius: 999px; padding: 12px 22px;
  font-weight: 600; margin: -20px auto 44px; width: fit-content; max-width: 100%;
}
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.product {
  position: relative; background: #fff; border-radius: 24px; padding: 26px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; border: 2px solid transparent; transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
}
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product.featured { border-color: var(--gold); }
.product.in-cart { border-color: var(--olive-500); }
.badge {
  position: absolute; top: 18px; inset-inline-end: 18px; background: var(--olive-900); color: var(--gold-soft);
  font-size: .76rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; letter-spacing: .03em; z-index: 2;
}
.featured .badge { background: var(--gold); color: var(--olive-900); }
.product-visual {
  height: 210px; border-radius: 18px; margin-bottom: 22px; position: relative; display: flex; align-items: flex-end; justify-content: center;
  padding-top: 26px; background: radial-gradient(circle at 50% 75%, #fff6d8 0%, var(--sand) 70%);
}
.jerrycan { width: auto; filter: drop-shadow(0 14px 14px rgba(80, 70, 10, .25)); transition: transform .4s ease; }
.product:hover .jerrycan { transform: translateY(-4px) rotate(-2deg); }
.volume {
  position: absolute; top: 16px; inset-inline-start: 18px; font: 700 2.4rem/1 var(--font-display); color: var(--olive-900);
}
.volume small { font-size: 1rem; margin-inline-start: 3px; color: var(--olive-500); }
.product h3 { font-size: 1.15rem; margin-bottom: .3em; }
.product-desc { color: var(--muted); font-size: .95rem; margin-bottom: 14px; }
.price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: auto; }
.price { color: var(--olive-900); font-weight: 600; }
.price strong { font: 700 2.1rem/1 var(--font-display); }
.ppl { color: var(--muted); font-size: .9rem; }
.perks { display: flex; flex-wrap: wrap; gap: 8px; min-height: 30px; margin: 12px 0 18px; }
.perk { font-size: .8rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; }
.perk-save { background: #fbefd2; color: #8a6510; }
.perk-ship { background: #e7f1dd; color: #3f6a1f; }
.buy { display: flex; gap: 12px; }
.stepper { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--cream); }
.stepper input {
  width: 46px; text-align: center; border: 0; background: transparent; font: 700 1.05rem var(--font-body); color: var(--ink);
  -moz-appearance: textfield; appearance: textfield;
}
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.step-btn { width: 40px; height: 44px; border: 0; background: transparent; font-size: 1.3rem; color: var(--olive-700); cursor: pointer; }
.step-btn:hover { background: var(--olive-100); }
.add-btn { flex: 1; }
.add-btn.done { background: var(--olive-500); }

/* Commande */
.order { background: linear-gradient(180deg, var(--cream) 0%, var(--sand) 100%); }
.order-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 44px; align-items: start; }
.order-form { display: grid; gap: 16px; margin-top: 26px; }
.field { display: grid; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1.5fr; gap: 16px; }
.field label { font-weight: 600; font-size: .93rem; color: var(--olive-900); }
.field input, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: #fff;
  font: 400 1rem var(--font-body); color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--olive-500); box-shadow: 0 0 0 4px rgba(122, 139, 58, .16); }
[dir="rtl"] .field input[dir="ltr"] { text-align: right; }
.has-error input { border-color: #c0392b; }
.err { color: #b0352a; font-weight: 600; }
.alert { background: #fbe9e6; color: #8f2c22; border-radius: var(--radius-sm); padding: 12px 16px; font-weight: 600; margin: 14px 0; }
.pay-note { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px dashed var(--olive-500); border-radius: var(--radius-sm); padding: 12px 16px; margin: 4px 0; font-weight: 600; color: var(--olive-800); }
.summary { position: sticky; top: calc(var(--header-h) + 20px); }
.summary h3 { font-size: 1.35rem; }
.summary-lines { list-style: none; padding: 0; margin: 0 0 18px; }
.summary-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.summary-lines li.empty { color: var(--muted); justify-content: center; text-align: center; padding: 22px 0; }
.summary-lines .line-name { font-weight: 600; }
.summary-lines .line-name small { display: block; font-weight: 400; color: var(--muted); }
.line-remove { margin-top: 2px; border: 0; background: none; color: var(--muted); cursor: pointer; font-size: .82rem; text-decoration: underline; padding: 0; }
.free-meter { margin-bottom: 16px; }
.meter { height: 8px; border-radius: 999px; background: var(--olive-100); overflow: hidden; }
.meter span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--olive-500), var(--gold)); border-radius: inherit; transition: width .5s ease; }
[dir="rtl"] .meter span { background: linear-gradient(-90deg, var(--olive-500), var(--gold)); margin-inline-start: 0; }
.free-meter p { font-size: .86rem; margin: 8px 0 0; color: var(--olive-800); font-weight: 600; }
.totals { margin: 0; }
.totals div { display: flex; justify-content: space-between; padding: 6px 0; }
.totals dt { color: var(--muted); }
.totals dd { margin: 0; font-weight: 600; }
.totals .grand { border-top: 2px solid var(--olive-900); margin-top: 8px; padding-top: 14px; }
.totals .grand dt { color: var(--olive-900); font-weight: 700; }
.totals .grand dd { font: 700 1.6rem/1 var(--font-display); color: var(--olive-900); }
.free-tag { color: #3f6a1f; background: #e7f1dd; padding: 2px 10px; border-radius: 999px; font-size: .88rem; }

/* FAQ */
.faq { background: #fff; }
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq-list details { border-bottom: 1px solid var(--line); padding: 6px 0; }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 18px 0; font-weight: 600; font-size: 1.07rem; color: var(--olive-900);
  display: flex; justify-content: space-between; gap: 18px; align-items: center;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--olive-100); color: var(--olive-700); font-size: 1.3rem; transition: transform .25s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { color: var(--muted); padding-bottom: 14px; margin: 0; }

/* CTA final */
.final-cta { position: relative; color: #fff; padding-block: 110px; overflow: hidden; isolation: isolate; text-align: center; }
.final-cta picture, .final-cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.final-cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(31, 38, 18, .74); }
.final-inner h2 { color: #fff; max-width: 22ch; margin: 0 auto 30px; }

/* Pied de page */
.site-footer { background: var(--olive-900); color: rgba(255,255,255,.78); padding-top: 64px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .8fr 1.1fr 1fr; gap: 40px; padding-bottom: 44px; }
.site-footer h3, .footer-title { color: #fff; font-size: 1.05rem; font-family: var(--font-display); margin-bottom: .8em; }
.logo-light .logo-name { color: #fff; }
.logo-light .logo-alt { color: var(--gold-soft); }
.logo-light .logo-tag { color: rgba(255,255,255,.6); }
.logo-light .logo-mark { width: 54px; height: 54px; }
.footer-about { margin-top: 16px; max-width: 40ch; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-list a { text-decoration: none; }
.footer-list a:hover { color: var(--gold-soft); }
.footer-onssa strong { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding-block: 20px; font-size: .84rem; color: rgba(255,255,255,.55);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px;
}
.footer-bottom a { color: rgba(255,255,255,.8); text-decoration: none; }
.footer-dev a { color: var(--gold-soft); }
.footer-dev a:hover, .footer-bottom a:hover { color: #fff; text-decoration: underline; }
.footer-nap { font-style: normal; }
.footer-nap strong { color: #fff; }
.footer-nap a { text-decoration: none; }
.footer-nap a:hover { color: var(--gold-soft); }
.footer-domain a { color: var(--gold-soft); text-decoration: none; }
.footer-onssa-badge {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px;
  border: 1px solid rgba(234, 217, 160, .35); background: rgba(255,255,255,.05); margin-bottom: 12px;
}
.footer-onssa-badge svg { width: 30px; height: 30px; flex: none; fill: none; stroke: var(--gold-soft); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.footer-onssa-badge span { display: flex; flex-direction: column; font-size: .8rem; line-height: 1.35; }
.footer-onssa-badge strong { color: #fff; font-size: 1.08rem; letter-spacing: .04em; }

/* Flottants */
.wa-float {
  position: fixed; inset-inline-end: 22px; bottom: 22px; z-index: 60; display: flex; align-items: center; gap: 10px;
  background: var(--wa); color: #fff; text-decoration: none; font-weight: 700; padding: 12px 18px 12px 14px; border-radius: 999px;
  box-shadow: 0 14px 30px -10px rgba(31, 168, 85, .7); transition: transform .2s;
}
.wa-float:hover { transform: translateY(-2px); }
.wa-float svg { width: 26px; height: 26px; }
.sticky-bar {
  position: fixed; inset-inline: 12px; bottom: 12px; z-index: 61; background: var(--olive-900); color: #fff;
  border-radius: 18px; padding: 10px 10px 10px 18px; display: none; align-items: center; justify-content: space-between; gap: 12px;
  box-shadow: var(--shadow-lg);
}
[dir="rtl"] .sticky-bar { padding: 10px 18px 10px 10px; }
.sticky-bar small { display: block; color: var(--gold-soft); font-size: .76rem; }
.sticky-bar strong { font: 700 1.25rem var(--font-display); }

/* Merci */
.thanks { background: var(--sand); min-height: 70vh; }
.thanks-wrap { max-width: 640px; }
.thanks-card { text-align: center; padding: 44px 36px; }
.thanks-card .summary-lines, .thanks-card .totals { text-align: start; }
.thanks h1 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.check { width: 76px; margin: 0 auto 18px; }
.check circle { fill: #e7f1dd; stroke: #5d8c34; stroke-width: 2; }
.check path { fill: none; stroke: #3f6a1f; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .6s .25s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.ref { background: var(--olive-100); display: inline-block; padding: 8px 18px; border-radius: 999px; }
.small-title { font-size: 1.1rem; margin-top: 26px; text-align: start; }
.thanks-actions { display: grid; gap: 12px; margin-top: 26px; }

/* Apparition au défilement */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
.phone-offset.reveal.in { transform: translateY(48px); }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Bandeau de confiance supérieur ---------- */
.topbar { background: var(--olive-900); color: rgba(255,255,255,.86); font-size: .82rem; }
.topbar-inner { display: flex; align-items: center; justify-content: center; gap: 8px 28px; min-height: 36px; flex-wrap: wrap; padding-block: 6px; }
.topbar-item { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; white-space: nowrap; }
.topbar-item svg, .hero-proof svg { width: 16px; height: 16px; fill: none; stroke: var(--gold-soft); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.topbar-phone { color: var(--gold-soft); font-weight: 700; }
.topbar-phone:hover { color: #fff; }

.hero-proof { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-proof li {
  display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; font-weight: 600; color: #fff;
  padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(4px);
}
.main-nav a[aria-current="page"]::after { transform: scaleX(1); }

/* ---------- Expérience de commande ---------- */
.reorder {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  margin: -16px auto 34px; max-width: 760px; padding: 18px 22px; border: 1.5px solid var(--gold-soft);
  background: linear-gradient(90deg, #fffaf0, #fff);
}
.reorder-copy { display: flex; flex-direction: column; }
.reorder-copy strong { font-family: var(--font-display); font-size: 1.15rem; color: var(--olive-900); }
.reorder-copy span { color: var(--muted); font-size: .94rem; }
.nudge {
  display: flex; align-items: center; gap: 12px; justify-content: space-between; margin-bottom: 16px;
  padding: 12px 14px; border-radius: var(--radius-sm); background: #fff8e6; border: 1px dashed var(--gold);
  animation: pop .35s ease;
}
.nudge p { margin: 0; font-size: .9rem; font-weight: 600; color: #6f5310; }
.nudge .btn { flex: none; }
@keyframes pop { from { transform: scale(.96); opacity: 0; } }
.free-meter.is-free p { color: #3f6a1f; }
.progress { list-style: none; padding: 0; margin: 0 0 26px; display: flex; gap: 8px; counter-reset: p; }
.progress li {
  flex: 1; display: flex; align-items: center; gap: 8px; font-size: .84rem; font-weight: 700; color: var(--muted);
  padding-bottom: 10px; border-bottom: 3px solid var(--line); transition: color .3s, border-color .3s;
}
.progress li span {
  width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: .78rem;
  background: var(--line); color: var(--olive-900); transition: background .3s, color .3s;
}
.progress li.is-current { color: var(--olive-900); border-color: var(--gold); }
.progress li.is-current span { background: var(--gold); }
.progress li.is-done { color: var(--olive-700); border-color: var(--olive-500); }
.progress li.is-done span { background: var(--olive-500); color: #fff; }
.remember { display: flex; align-items: flex-start; gap: 10px; font-size: .9rem; color: var(--olive-800); cursor: pointer; }
.remember input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--olive-700); flex: none; }
.ok-hint { color: #3f6a1f; font-weight: 700; }
.field input.is-valid { border-color: #8fb36a; }
.toast {
  position: fixed; z-index: 95; left: 50%; bottom: 26px; transform: translate(-50%, 20px); opacity: 0;
  display: flex; align-items: center; gap: 16px; padding: 12px 14px 12px 18px; border-radius: 16px;
  background: var(--olive-900); color: #fff; font-weight: 600; font-size: .95rem; box-shadow: var(--shadow-lg);
  transition: opacity .3s ease, transform .3s ease; max-width: calc(100% - 28px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast a { color: var(--olive-900); background: var(--gold); padding: 7px 12px; border-radius: 999px; text-decoration: none; white-space: nowrap; }
.flying { filter: drop-shadow(0 10px 12px rgba(80,70,10,.3)); }

/* ---------- Teaser professionnels ---------- */
.pro-teaser { background: radial-gradient(900px 400px at 15% 0%, #4c5c2c 0%, var(--olive-900) 65%); color: #fff; padding-block: 64px; }
.pro-teaser-inner { display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap; }
.pro-teaser-inner > div { flex: 1 1 520px; }
.pro-teaser h2 { color: #fff; max-width: 30ch; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.pro-teaser .lead { color: rgba(255,255,255,.78); margin: 0; }
.arrow { display: inline-block; transition: transform .2s; }
[dir="rtl"] .arrow { transform: scaleX(-1); }
.btn:hover .arrow { transform: translateX(3px); }
[dir="rtl"] .btn:hover .arrow { transform: scaleX(-1) translateX(3px); }

/* ---------- Identité de la coopérative ---------- */
.identity { background: var(--sand); }
.identity-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.identity .section-head { margin-bottom: 0; }
.id-card { border: 1px solid var(--gold-soft); position: relative; overflow: hidden; }
.id-card::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--olive-700), var(--gold)); }
.id-card-head { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.id-card-head .logo-mark { width: 52px; height: 52px; }
.id-card-head strong { display: block; font: 600 1.2rem/1.2 var(--font-display); color: var(--olive-900); }
.id-card-head span { font: 600 1rem "El Messiri", "Tajawal", sans-serif; color: var(--olive-500); }
.id-list { margin: 0 0 14px; }
.id-list div { display: grid; grid-template-columns: 42% 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: .94rem; }
.id-list div:last-child { border-bottom: 0; }
.id-list dt { color: var(--muted); }
.id-list dd { margin: 0; font-weight: 600; color: var(--olive-900); }
.id-list a { color: var(--olive-700); }
.id-onssa { display: inline-block; background: var(--olive-100); padding: 2px 10px; border-radius: 8px; letter-spacing: .04em; }

/* ---------- Page professionnels ---------- */
.crumbs { font-size: .85rem; color: var(--muted); padding-block: 12px; }
.crumbs a { color: var(--olive-700); }
.hero-pro { min-height: min(80vh, 720px); }
.hero-inner-pro { grid-template-columns: 1.3fr .7fr; }
.hero-pro h1 { max-width: 18ch; }
.cert {
  justify-self: end; text-align: center; background: rgba(251, 247, 238, .96); color: var(--olive-900);
  border-radius: 24px; padding: 30px 28px; box-shadow: var(--shadow-lg); border: 1px solid var(--gold-soft); max-width: 300px;
}
.cert .seal { color: var(--olive-700); }
.cert-label { font-weight: 700; margin: 0 0 4px; }
.cert-num { font: 700 1.7rem/1.1 "Fraunces", Georgia, serif; letter-spacing: .04em; color: var(--olive-900); margin: 0 0 10px; }
.cert-meta { font-size: .82rem; color: var(--muted); margin: 0; }
.requirements { background: var(--cream); }
.req-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.req { transition: transform .3s, box-shadow .3s; }
.req:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.req-icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--olive-100); margin-bottom: 16px; }
.req-icon svg, .trust-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--olive-700); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.req h3 { font-size: 1.12rem; }
.req p { color: var(--muted); margin: 0; font-size: .96rem; }
.audiences { background: #fff; }
.aud-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.aud { border-radius: var(--radius); overflow: hidden; background: var(--cream); box-shadow: var(--shadow); }
.aud figure { margin: 0; aspect-ratio: 16/10; overflow: hidden; }
.aud img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.aud:hover img { transform: scale(1.05); }
.aud-body { padding: 22px 24px 26px; }
.aud-body p { color: var(--muted); margin: 0; }
.how { background: radial-gradient(1000px 420px at 85% 10%, #46552a 0%, var(--olive-900) 60%); color: #fff; }
.how h2 { color: #fff; }
.how-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.how-step { padding: 28px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.how-step h3 { color: #fff; }
.how-step p { color: rgba(255,255,255,.75); margin: 0; }
.how-n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: var(--olive-900); font: 700 1.2rem var(--font-display); margin-bottom: 16px; }
.field select {
  width: 100%; padding: 14px 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: #fff;
  font: 400 1rem var(--font-body); color: var(--ink);
}
.volume-pick { border: 0; padding: 0; margin: 0; }
.volume-pick legend { font-weight: 600; font-size: .93rem; color: var(--olive-900); margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block; padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff;
  font-size: .9rem; font-weight: 600; color: var(--olive-800); cursor: pointer; transition: all .2s;
}
.chip input:checked + span { background: var(--olive-700); border-color: var(--olive-700); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.success { text-align: center; margin-top: 24px; }
.pro-form-section .summary { position: sticky; }

/* ---------- Merci ---------- */
.next-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; text-align: start; }
.next-steps li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--olive-800); }
.next-steps span { width: 28px; height: 28px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--olive-100); color: var(--olive-700); font-size: .85rem; }
.thanks-card > .logo-mark { width: 64px; height: 64px; margin: 0 auto 16px; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .main-nav { display: none; }
  .header-actions { margin-inline-start: auto; }
  .hero-inner { grid-template-columns: 1fr; padding-block: 64px 56px; }
  .hero-card { max-width: 420px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(3) { border-inline-start: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .videos-grid { grid-template-columns: 1fr 1fr; }
  .videos-copy { grid-column: 1 / -1; }
  .quality-grid, .order-grid, .faq-wrap { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .summary { position: static; order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .identity-grid { grid-template-columns: 1fr; gap: 28px; }
  .req-grid, .aud-grid { grid-template-columns: repeat(2, 1fr); }
  .how-grid { grid-template-columns: 1fr; }
  .hero-inner-pro { grid-template-columns: 1fr; }
  .cert { justify-self: start; }
  .topbar-origin { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  :root { --header-h: 64px; }
  .wrap { width: min(1180px, 100% - 28px); }
  .logo-tag { display: none; }
  .logo-mark { width: 40px; height: 40px; }
  .logo-name { font-size: 1.14rem; }
  .topbar { font-size: .76rem; }
  .topbar-inner { gap: 4px 14px; }
  .topbar-label { display: none; }
  .req-grid, .aud-grid { grid-template-columns: 1fr; }
  .id-list div { grid-template-columns: 1fr; gap: 2px; }
  .progress li { font-size: .74rem; }
  .toast { bottom: 90px; font-size: .88rem; }
  .cert { display: none; }
  .footer-bottom { flex-direction: column; }
  .cart-btn span:not(.cart-count) { display: none; }
  .hero { min-height: auto; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .hero-card { display: none; }
  .trust-item { padding: 18px 10px; flex-direction: column; text-align: center; gap: 8px; }
  .timeline { grid-template-columns: 1fr; }
  .videos-grid { gap: 14px; }
  .phone { border-radius: 26px; padding: 6px; }
  .phone video { border-radius: 21px; }
  .phone figcaption { inset-inline: 12px; bottom: 12px; font-size: .76rem; }
  .phone-offset, .phone-offset.reveal.in { transform: translateY(28px); }
  .card { padding: 22px; }
  .analysis table { font-size: .88rem; }
  .analysis th, .analysis td { padding-inline: 6px; }
  .field-row { grid-template-columns: 1fr; }
  .ship-banner { border-radius: 16px; font-size: .92rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .wa-float span { display: none; }
  .wa-float { padding: 14px; bottom: 84px; }
  .sticky-bar { display: flex; }
  body.has-cart { padding-bottom: 76px; }
}

/* Les montants restent lisibles de gauche à droite dans la version arabe */
.price strong, [data-total], [data-subtotal], .totals dd, .summary-lines li > span:last-child { unicode-bidi: isolate; }


/* =====================================================================
   THÈME « Coopérative italienne × touche marocaine »
   Typographie éditoriale (Cormorant + Jost), papier ivoire, filets fins,
   cartes façon étiquette, arcs outrepassés et bandes de zellige.
   ===================================================================== */
:root {
  --olive-900: #2a3121;
  --olive-800: #353e29;
  --olive-700: #4d5a34;
  --olive-500: #7d8a52;
  --olive-100: #ece9d8;
  --gold: #c99a3b;
  --gold-600: #a97f2b;
  --gold-soft: #e9d6a4;
  --cream: #f7f1e5;
  --paper: #fbf8f1;
  --sand: #efe6d3;
  --ink: #23261c;
  --muted: #6b6a5c;
  --line: #ddd2bb;
  --terracotta: #b5563a;
  --terracotta-700: #96442c;
  --fes: #1f4e5a;
  --radius: 4px;
  --radius-sm: 3px;
  --shadow: 0 1px 0 rgba(35,38,28,.04), 0 18px 40px -28px rgba(35,38,28,.35);
  --shadow-lg: 0 30px 60px -30px rgba(35,38,28,.45);
  --font-display: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --font-body: "Jost", "Helvetica Neue", system-ui, -apple-system, "Segoe UI", sans-serif;
  --zellige-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cg fill='none' stroke='%23EAD9A0' stroke-width='1' opacity='.16'%3E%3Crect x='14' y='14' width='20' height='20'/%3E%3Crect x='14' y='14' width='20' height='20' transform='rotate(45 24 24)'/%3E%3Ccircle cx='24' cy='24' r='4'/%3E%3Cpath d='M0 0l7 7M48 0l-7 7M0 48l7-7M48 48l-7-7'/%3E%3Cpath d='M24 0v6M24 42v6M0 24h6M42 24h6'/%3E%3C/g%3E%3C/svg%3E");
  --zellige-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cg fill='none' stroke='%232E3524' stroke-width='1' opacity='.07'%3E%3Crect x='14' y='14' width='20' height='20'/%3E%3Crect x='14' y='14' width='20' height='20' transform='rotate(45 24 24)'/%3E%3Ccircle cx='24' cy='24' r='4'/%3E%3Cpath d='M0 0l7 7M48 0l-7 7M0 48l7-7M48 48l-7-7'/%3E%3Cpath d='M24 0v6M24 42v6M0 24h6M42 24h6'/%3E%3C/g%3E%3C/svg%3E");
  --zellige-band: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='14' viewBox='0 0 28 14'%3E%3Crect width='28' height='14' fill='%231F4E5A'/%3E%3Cpath d='M14 1l3 6-3 6-3-6z' fill='%23C99A3B'/%3E%3Cpath d='M0 7l3-6h0M0 7l3 6' stroke='%23C99A3B' fill='none'/%3E%3Ccircle cx='0' cy='7' r='2.2' fill='%23F7F1E5'/%3E%3Ccircle cx='28' cy='7' r='2.2' fill='%23F7F1E5'/%3E%3Cpath d='M5 7h4M19 7h4' stroke='%23B5563A' stroke-width='2'/%3E%3C/svg%3E");
  --star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='%23B5563A'%3E%3Crect x='6' y='6' width='12' height='12'/%3E%3Crect x='6' y='6' width='12' height='12' transform='rotate(45 12 12)'/%3E%3C/g%3E%3Ccircle cx='12' cy='12' r='2.6' fill='%23F7F1E5'/%3E%3C/svg%3E");
}
.lang-ar {
  --font-display: "Amiri", "Tajawal", serif;
  --font-body: "Tajawal", "Segoe UI", Tahoma, sans-serif;
}
body { background: var(--paper); font-weight: 400; letter-spacing: .005em; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; letter-spacing: -.005em; }
h2 { font-size: clamp(2.2rem, 4.2vw, 3.5rem); line-height: 1.08; }
h3 { font-size: 1.5rem; font-weight: 600; }
.lang-ar h1, .lang-ar h2, .lang-ar h3 { font-weight: 700; line-height: 1.45; }
.lang-ar h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.lead { font-size: 1.1rem; line-height: 1.75; font-weight: 400; }

/* Kicker : losange marocain + capitales espacées à l'italienne */
.kicker { color: var(--terracotta); font: 500 .74rem/1 var(--font-body); letter-spacing: .32em; gap: .8em; }
.kicker::before { width: 9px; height: 9px; background: var(--star) center/contain no-repeat; }
.kicker::after { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .5; }
.kicker-light { color: var(--gold-soft); }
.lang-ar .kicker { font-size: .95rem; letter-spacing: 0; font-weight: 700; }

/* En-têtes de section centrés, ornement d'étoile en dessous */
.section-head { margin-inline: auto; text-align: center; max-width: 780px; margin-bottom: 64px; }
.section-head .lead { margin-inline: auto; }
.section-head h2::after {
  content: ""; display: block; width: 120px; height: 14px; margin: 22px auto 0;
  background: linear-gradient(var(--line), var(--line)) left center/44px 1px no-repeat,
              linear-gradient(var(--line), var(--line)) right center/44px 1px no-repeat,
              var(--star) center/14px 14px no-repeat;
}
.faq .section-head, .identity .section-head, .order .section-head { text-align: start; margin-inline: 0; }
.faq .section-head h2::after, .identity .section-head h2::after { margin-inline: 0; }

/* Boutons : rectangles fins, capitales espacées */
.btn {
  border-radius: 2px; font: 500 .8rem/1.2 var(--font-body); letter-spacing: .16em; text-transform: uppercase;
  padding: 1.15em 2.1em;
}
.lang-ar .btn { letter-spacing: 0; text-transform: none; font-size: 1rem; font-weight: 700; }
.btn-sm { padding: .85em 1.4em; font-size: .72rem; }
.btn-lg { padding: 1.3em 2.5em; font-size: .84rem; }
.btn:hover { transform: none; }
.btn-gold { background: var(--terracotta); color: #fff; box-shadow: none; }
.btn-gold:hover { background: var(--terracotta-700); }
.btn-olive { background: var(--olive-900); color: var(--cream); }
.btn-olive:hover { background: var(--olive-700); }
.btn-outline { border-color: var(--olive-900); color: var(--olive-900); }
.btn-outline:hover { background: var(--olive-900); color: var(--cream); }
.btn-ghost-light { border-color: rgba(247,241,229,.7); background: transparent; backdrop-filter: none; }
.btn-ghost-light:hover { background: var(--cream); color: var(--olive-900); }
.btn-wa { border-radius: 2px; }

/* Bandeau supérieur + en-tête */
.topbar { background: var(--olive-900); font-size: .76rem; letter-spacing: .04em; }
.site-header { background: rgba(251,248,241,.94); border-bottom: 0; }
.site-header::after { content: ""; position: absolute; inset-inline: 0; bottom: -6px; height: 6px; background: var(--zellige-band) repeat-x center/auto 6px; opacity: .9; }
.main-nav a { font: 500 .76rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--olive-900); }
.lang-ar .main-nav a { font-size: .98rem; letter-spacing: 0; text-transform: none; }
.main-nav a::after { background: var(--terracotta); height: 1px; }
.lang-switch { border-radius: 2px; background: transparent; border-color: var(--line); }
.cart-count { background: var(--cream); color: var(--terracotta); font-weight: 700; }
.logo-name { font: 600 1.55rem/1 "Cormorant Garamond", Garamond, serif; letter-spacing: .01em; }
.lang-ar .logo-name { font: 700 1.45rem/1.1 "Amiri", serif; }
.logo-alt { font: 700 .95rem/1.2 "Amiri", serif; color: var(--terracotta); }
.lang-ar .logo-alt { font: italic 600 .95rem/1.2 "Cormorant Garamond", serif; }
.logo-tag { border-inline-start-color: var(--line); font-size: .64rem; letter-spacing: .2em; }

/* Héros éditorial */
.hero { min-height: min(90vh, 860px); }
.hero-shade { background: linear-gradient(90deg, rgba(28,32,20,.86) 0%, rgba(28,32,20,.55) 50%, rgba(28,32,20,.12) 100%); }
[dir="rtl"] .hero-shade { background: linear-gradient(-90deg, rgba(28,32,20,.86) 0%, rgba(28,32,20,.55) 50%, rgba(28,32,20,.12) 100%); }
.hero h1 { font-size: clamp(2.8rem, 6.4vw, 5.4rem); line-height: 1.02; font-weight: 500; max-width: 14ch; }
.lang-ar .hero h1 { font-size: clamp(2.3rem, 5vw, 4rem); line-height: 1.4; }
.hero-sub { font-size: 1.12rem; line-height: 1.75; max-width: 48ch; }
.hero-price { font-family: var(--font-display); font-style: italic; font-size: 1.3rem; font-weight: 500; }
.lang-ar .hero-price { font-style: normal; font-size: 1.15rem; }
.dot { background: var(--gold); box-shadow: none; transform: rotate(45deg); border-radius: 1px; }
.hero-proof li { border-radius: 2px; background: rgba(247,241,229,.08); font-weight: 500; letter-spacing: .02em; }
/* Arc outrepassé marocain pour la photo du héros */
.hero-card { transform: none !important; border-radius: 999px 999px 6px 6px; padding: 12px; background: var(--cream);
  box-shadow: 0 0 0 1px rgba(233,214,164,.6), var(--shadow-lg); }
.hero-card img { border-radius: 999px 999px 3px 3px; aspect-ratio: 4/5; }
.hero-card-tag { border-radius: 2px; inset-inline-start: 50%; transform: translateX(-50%); bottom: 26px; text-align: center; white-space: nowrap; }
[dir="rtl"] .hero-card-tag { transform: translateX(50%); }
.hero-card-tag strong { font-size: 1.2rem; }

/* Bande de confiance */
.trust { background: var(--cream); border-bottom: 1px solid var(--line); }
.trust-icon { border-radius: 50%; background: transparent; border: 1px solid var(--gold); }
.trust-icon svg { stroke: var(--terracotta); }
.trust-item strong { font: 600 1.15rem/1.2 var(--font-display); }

/* Parcours : arcs et chiffres romains */
.story { background: var(--paper); }
.step { background: transparent; box-shadow: none; border-radius: 0; }
.step:hover { transform: none; box-shadow: none; }
.step-media { border-radius: 999px 999px 0 0; aspect-ratio: 4/5; box-shadow: 0 0 0 1px var(--line), 0 0 0 8px var(--paper), 0 0 0 9px var(--line); margin: 10px; }
.step-num { inset-inline-start: 50%; top: auto; bottom: 16px; transform: translateX(-50%); border-radius: 2px;
  font: italic 600 1.15rem/1 var(--font-display); padding: 8px 16px; background: var(--paper); color: var(--terracotta); }
[dir="rtl"] .step-num { transform: translateX(50%); }
.step-body { text-align: center; padding: 22px 12px 0; }
.step-body h3 { font-size: 1.6rem; }

/* Vidéos sur fond zellige */
.videos { background: var(--zellige-dark), var(--olive-900); background-size: 48px 48px, auto; }
.phone { border-radius: 999px 999px 18px 18px; padding: 8px; background: var(--cream); }
.phone video { border-radius: 999px 999px 12px 12px; }
.phone figcaption { border-radius: 2px; text-align: center; background: rgba(28,32,20,.7); }

/* Qualité : fiche technique façon étiquette */
.quality { background: var(--sand); }
.card { border-radius: var(--radius); background: var(--paper); box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.analysis { box-shadow: 0 0 0 1px var(--line), inset 0 0 0 7px var(--paper), inset 0 0 0 8px var(--line); padding: 38px; }
.analysis th { font-weight: 500; letter-spacing: .18em; }
.analysis td:first-child { font: 600 1.15rem var(--font-display); }
.lang-ar .analysis td:first-child { font-family: var(--font-body); font-size: 1rem; }
.pill-ok { border-radius: 2px; background: transparent; border: 1px solid #8fa564; color: #4d6a2a; font-weight: 500; letter-spacing: .04em; }
.onssa { background: var(--paper); border: 0; box-shadow: 0 0 0 1px var(--gold-soft), inset 0 0 0 7px var(--paper), inset 0 0 0 8px var(--gold-soft); }
.seal { color: var(--terracotta); }
.onssa-num { border-radius: 2px; background: var(--cream); font-family: var(--font-display); font-size: 1.2rem; }
.quality-photo { border-radius: 999px 999px 4px 4px; }
.quality-photo img { aspect-ratio: 4/3; }

/* Produits : cartes « étiquette » sous arc */
.products { background: var(--paper); }
.ship-banner { border-radius: 2px; background: transparent; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  font-weight: 500; letter-spacing: .02em; padding: 14px 28px; }
.ship-banner svg { stroke: var(--terracotta); }
.product { border-radius: 4px; background: var(--cream); border: 0; padding: 30px 28px 28px; text-align: center;
  box-shadow: 0 0 0 1px var(--line), inset 0 0 0 8px var(--cream), inset 0 0 0 9px var(--line); }
.product:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--gold), inset 0 0 0 8px var(--cream), inset 0 0 0 9px var(--gold-soft), var(--shadow-lg); }
.product.featured { box-shadow: 0 0 0 1px var(--terracotta), inset 0 0 0 8px var(--cream), inset 0 0 0 9px var(--terracotta), var(--shadow); }
.product.in-cart { box-shadow: 0 0 0 2px var(--olive-500), inset 0 0 0 8px var(--cream), inset 0 0 0 9px var(--olive-500); }
.product-visual { border-radius: 999px 999px 2px 2px; height: 250px; background: var(--zellige-light), radial-gradient(circle at 50% 80%, #fff8e3 0%, var(--sand) 72%);
  background-size: 48px 48px, auto; margin: 6px 6px 24px; }
.volume { inset-inline-start: 50%; transform: translateX(-50%); top: 34px; font: 500 2.8rem/1 var(--font-display); }
[dir="rtl"] .volume { transform: translateX(50%); }
.badge { border-radius: 2px; inset-inline-end: 50%; transform: translateX(50%); top: -12px; letter-spacing: .14em; text-transform: uppercase;
  font-size: .66rem; font-weight: 600; background: var(--olive-900); padding: 7px 14px; }
[dir="rtl"] .badge { transform: translateX(-50%); }
.lang-ar .badge { text-transform: none; letter-spacing: 0; font-size: .8rem; }
.featured .badge { background: var(--terracotta); color: #fff; }
.product h3 { font-size: 1.45rem; }
.price-row { justify-content: center; flex-direction: column; align-items: center; gap: 2px; }
.price strong { font: 500 2.7rem/1 var(--font-display); }
.ppl { font-style: italic; font-family: var(--font-display); font-size: 1.05rem; }
.perks { justify-content: center; }
.perk { border-radius: 2px; font-weight: 500; letter-spacing: .03em; }
.perk-save { background: #f6e3d6; color: var(--terracotta-700); }
.stepper { border-radius: 2px; background: var(--paper); }
.add-btn.done { background: var(--olive-500); }

/* Commande */
.order { background: var(--sand); }
.field input, .field textarea, .field select { border-radius: 2px; background: var(--paper); border-color: var(--line); }
.field input:focus, .field textarea:focus { border-color: var(--terracotta); box-shadow: 0 0 0 3px rgba(181,86,58,.12); }
.field label, .volume-pick legend { font-weight: 500; letter-spacing: .04em; }
.pay-note { border-radius: 2px; border-color: var(--gold); background: var(--paper); font-weight: 500; }
.progress li span { border-radius: 2px; transform: rotate(45deg); }
.progress li span { font-size: 0; }
.progress li.is-current span { background: var(--terracotta); }
.summary { box-shadow: 0 0 0 1px var(--line), inset 0 0 0 7px var(--paper), inset 0 0 0 8px var(--line); padding: 34px; }
.summary h3 { font-size: 1.7rem; }
.totals .grand dd { font: 600 2rem/1 var(--font-display); }
.meter { border-radius: 0; height: 4px; }
.meter span { background: linear-gradient(90deg, var(--olive-500), var(--terracotta)); }
.nudge { border-radius: 2px; border-color: var(--terracotta); background: #fbefe7; }
.nudge p { color: var(--terracotta-700); }
.reorder { border-radius: 2px; border-color: var(--gold-soft); background: var(--cream); }
.chip span { border-radius: 2px; }
.chip input:checked + span { background: var(--olive-900); border-color: var(--olive-900); }

/* Professionnels, identité, FAQ */
.pro-teaser, .how { background: var(--zellige-dark), var(--olive-900); background-size: 48px 48px, auto; }
.pro-teaser { border-top: 6px solid transparent; border-image: var(--zellige-band) 0 0 100% 0 repeat; }
.identity { background: var(--cream); }
.id-card::before { height: 6px; background: var(--zellige-band) repeat-x center/auto 6px; }
.id-card-head strong { font-size: 1.45rem; }
.id-card-head span { font-family: "Amiri", serif; color: var(--terracotta); }
.id-onssa { border-radius: 2px; background: var(--cream); font-family: var(--font-display); font-size: 1.1rem; }
.req { text-align: center; }
.req-icon { margin-inline: auto; border-radius: 50%; background: transparent; border: 1px solid var(--gold); }
.req-icon svg { stroke: var(--terracotta); }
.aud { border-radius: 0; background: transparent; box-shadow: none; text-align: center; }
.aud figure { border-radius: 999px 999px 0 0; aspect-ratio: 4/5; box-shadow: 0 0 0 1px var(--line), 0 0 0 8px #fff, 0 0 0 9px var(--line); margin: 10px; }
.aud-body h3 { font-size: 1.6rem; }
.how-step { border-radius: 2px; background: rgba(247,241,229,.05); border-color: rgba(233,214,164,.25); text-align: center; }
.how-n { margin-inline: auto; border-radius: 50%; background: var(--terracotta); color: #fff; font: 600 1.4rem/1 var(--font-display); }
.cert { border-radius: 999px 999px 4px 4px; padding: 54px 30px 30px; background: var(--paper); }
.cert-num { font: 600 1.9rem/1.1 var(--font-display); }
.faq { background: var(--paper); }
.faq-list summary { font: 600 1.3rem/1.3 var(--font-display); }
.lang-ar .faq-list summary { font: 700 1.1rem/1.6 var(--font-body); }
.faq-list summary::after { border-radius: 2px; background: transparent; border: 1px solid var(--line); color: var(--terracotta); }
.final-cta::after { background: rgba(28,32,20,.7); }
.final-cta h2 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); }
.final-cta h2::after { content: ""; display: block; width: 14px; height: 14px; margin: 24px auto 0; background: var(--star) center/contain no-repeat; }

/* Pied de page avec bande de zellige */
.site-footer { position: relative; background: var(--zellige-dark), var(--olive-900); background-size: 48px 48px, auto; }
.site-footer::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 8px; background: var(--zellige-band) repeat-x center/auto 8px; }
.footer-title { font-size: 1.35rem; font-weight: 600; }
.footer-onssa-badge { border-radius: 2px; }
.wa-float { border-radius: 999px; }
.toast { border-radius: 2px; }
.toast a { border-radius: 2px; background: var(--terracotta); color: #fff; }
.sticky-bar { border-radius: 2px; }
.sticky-bar strong { font-family: var(--font-display); font-size: 1.5rem; }
.thanks-card { box-shadow: 0 0 0 1px var(--line), inset 0 0 0 8px var(--paper), inset 0 0 0 9px var(--line); }
.ref { border-radius: 2px; }
.next-steps span { border-radius: 2px; }

@media (max-width: 1020px) {
  .hero-card { max-width: 340px; }
  .step-media, .aud figure { aspect-ratio: 4/4.4; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: 2.6rem; }
  .section-head { margin-bottom: 44px; }
  .product-visual { height: 220px; }
  .site-header::after { height: 4px; bottom: -4px; }
}
/* Ajustements */
.final-cta img { filter: brightness(.36) saturate(.85); }
.main-nav { gap: 22px; }
.main-nav a, .logo-tag { white-space: nowrap; }
.main-nav a { letter-spacing: .12em; font-size: .72rem; }
.product h3 { font-size: 1.28rem; }
@media (max-width: 1240px) {
  .main-nav { display: none; }
  .header-actions { margin-inline-start: auto; }
}
