/* ==========================================================================
   Sou9i.net — page produit LX-333
   Palette et typographie reprises de la boutique sou9i.net.
   ========================================================================== */

@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/font-0.woff2) format('woff2');
}
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/font-2.woff2) format('woff2');
}
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/font-3.woff2) format('woff2');
}
@font-face {
  font-family: 'Noto Sans Arabic';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/arabic-0.woff2) format('woff2');
}
@font-face {
  font-family: 'Noto Sans Arabic';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/arabic-1.woff2) format('woff2');
}
@font-face {
  font-family: 'Noto Sans Arabic';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/arabic-2.woff2) format('woff2');
}

:root {
  --ink: #14352c;
  --ink-2: #1d4a3d;
  --ink-3: #0c241e;
  --cream: #f8f3e7;
  --paper: #fffdf8;
  --sand: #f3ecdc;
  --orange: #c9552c;
  --orange-strong: #a9431f;
  --amber: #e9a75e;
  --amber-soft: #f3c78f;
  --line: #e6decb;
  --line-strong: #d6cbb2;
  --muted: #5f6f66;
  --green: #2f7a5f;
  --danger: #a33224;
  --radius: 18px;
  --shadow-card: 0 30px 60px -44px rgba(20, 53, 44, .55);
  --font-fr: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-ar: 'Noto Sans Arabic', 'Nunito Sans', 'Segoe UI', Tahoma, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-fr);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html[lang="ar"] body {
  font-family: var(--font-ar);
  line-height: 1.85;
}

h1, h2, h3, p, dl, dd, figure, figcaption { margin: 0; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg { display: block; }

::selection { background: var(--amber-soft); color: var(--ink-3); }

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

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.ico {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
html[dir="rtl"] .arrow { transform: scaleX(-1); }

.container {
  width: min(1240px, 100% - 2 * clamp(18px, 4.5vw, 48px));
  margin-inline: auto;
}

.skip {
  position: absolute;
  inset-block-start: -100px;
  inset-inline-start: 16px;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  border-radius: 0 0 10px 10px;
  font-size: 13px;
}
.skip:focus { inset-block-start: 0; }

/* --------------------------------------------------------------------------
   Bandeau + en-tête
   -------------------------------------------------------------------------- */
.announce {
  background: var(--ink);
  color: #f4ecdc;
  font-size: 12px;
  letter-spacing: .01em;
}
html[lang="ar"] .announce { font-size: 12.5px; letter-spacing: 0; }
.announce-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 38px;
  flex-wrap: wrap;
  padding-block: 4px;
  text-align: center;
}
.announce-item { display: inline-flex; align-items: center; gap: 7px; }
.announce .ico { width: 15px; height: 15px; color: var(--amber); }
.announce-sep { opacity: .45; }

.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 40;
  background: rgba(248, 243, 231, .9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 12px 30px -30px rgba(20, 53, 44, .7);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 74px;
}
.logo {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--font-fr);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -2.4px;
  line-height: 1;
  color: var(--ink);
  flex: none;
}
.logo-dot { color: var(--orange); }
.logo small { font-size: 17px; letter-spacing: -1px; margin-inline-start: 1px; }

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-inline: auto;
  font-size: 13.5px;
  font-weight: 700;
}
.nav a {
  position: relative;
  padding-block: 6px;
  color: var(--ink-2);
}
.nav a::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .25s ease;
}
.nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding-inline: 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-2);
  transition: background .2s ease, border-color .2s ease;
}
.lang-btn:hover { background: var(--sand); border-color: var(--ink-2); }

/* --------------------------------------------------------------------------
   Boutons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding-inline: 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  transition: transform .2s ease, box-shadow .25s ease, background .2s ease, border-color .2s ease;
}
html[lang="ar"] .btn { font-family: var(--font-ar); font-weight: 700; }
.btn .ico { width: 17px; height: 17px; }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--ink-2); transform: translateY(-1px); box-shadow: 0 14px 26px -18px rgba(20, 53, 44, .9); }
.btn-outline { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn-outline:hover { background: var(--sand); border-color: var(--ink-2); }
.btn-amber { background: var(--amber); color: var(--ink-3); }
.btn-amber:hover { background: var(--amber-soft); transform: translateY(-1px); }
.btn-wa { background: #1f8a5b; color: #fff; width: 100%; margin-block: 10px 4px; }
.btn-wa:hover { background: #187049; }
.btn-sm { min-height: 38px; padding-inline: 14px; border-radius: 10px; font-size: 12.5px; }
.btn-wide { width: 100%; margin-block-start: 14px; min-height: 52px; font-size: 14px; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

/* --------------------------------------------------------------------------
   Héros
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(26px, 3.4vw, 46px) clamp(44px, 6vw, 84px);
  background:
    radial-gradient(58% 46% at 72% 4%, rgba(233, 167, 94, .26), transparent 72%),
    radial-gradient(42% 38% at 4% 92%, rgba(20, 53, 44, .07), transparent 74%),
    var(--cream);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(350px, .9fr);
  gap: clamp(28px, 4vw, 58px);
  align-items: start;
  position: relative;
}
.hero-copy {
  max-width: 900px;
  margin-block-end: clamp(20px, 3vw, 34px);
}
.hero-media { min-width: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-2);
}
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: 12px; text-transform: none; }
.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  flex: none;
}
.eyebrow-sm { font-size: 10px; color: var(--muted); }

.hero h1 {
  font-size: clamp(2.05rem, 3.9vw, 3.45rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -.025em;
  margin-block: 16px 16px;
  color: var(--ink);
}
html[lang="ar"] .hero h1 {
  font-size: clamp(1.85rem, 3.4vw, 3.05rem);
  line-height: 1.4;
  letter-spacing: 0;
  font-weight: 700;
}
.hero h1 em {
  font-style: normal;
  color: var(--orange);
}
.lede {
  font-size: 16px;
  line-height: 1.85;
  color: var(--muted);
  max-width: 62ch;
}

.price-block { margin-block: 24px 22px; }
.price-line { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.price {
  font-family: var(--font-fr);
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.stock-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-2);
  background: rgba(255, 253, 248, .6);
}
.stock-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}
.price-note { margin-block-start: 8px; font-size: 13px; color: var(--muted); }

/* Galerie */
.gallery { margin: 0 0 22px; }
.gallery-main {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  aspect-ratio: 1 / 1;
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2, .7, .3, 1);
}
.gallery-main:hover img { transform: scale(1.015); }
.gallery-badge {
  position: absolute;
  inset-block-end: 14px;
  inset-inline-start: 14px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(255, 253, 248, .92);
  backdrop-filter: blur(6px);
  color: var(--ink-2);
  font-size: 11px;
  font-weight: 700;
}
.thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-block-start: 12px;
}
.thumb {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 14px;
  overflow: hidden;
  background: var(--paper);
  aspect-ratio: 1 / 1;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { transform: translateY(-2px); }
.thumb.is-active { border-color: var(--orange); box-shadow: 0 10px 20px -16px rgba(20, 53, 44, .8); }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 12px;
  color: var(--ink-2);
  font-weight: 600;
}
.trust-row li { display: inline-flex; align-items: center; gap: 7px; }
.trust-row .ico { width: 16px; height: 16px; color: var(--orange); }

/* --------------------------------------------------------------------------
   Carte de commande
   -------------------------------------------------------------------------- */
.order-card {
  position: static;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 36px 70px -46px rgba(20, 53, 44, .65);
  scroll-margin-top: 92px;
}
@media (min-width: 981px) and (min-height: 880px) {
  .order-card {
    position: sticky;
    inset-block-start: 92px;
  }
}
.order-top { border-bottom: 1px dashed var(--line); padding-bottom: 14px; }
.order-product {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-block: 10px 4px;
}
.order-product img {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: cover;
  background: var(--sand);
  border: 1px solid var(--line);
}
.order-product-text h2 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
}
html[lang="fr"] .order-product-text h2 { letter-spacing: -.01em; }
.order-product-text p { font-size: 11px; color: var(--muted); margin-block-start: 2px; }
.order-price { text-align: end; }
.order-price strong {
  display: block;
  font-family: var(--font-fr);
  font-size: 17px;
  font-weight: 800;
  white-space: nowrap;
}
.order-price small { display: block; font-size: 10px; color: var(--muted); }

.steps { display: flex; gap: 6px; margin-block-start: 14px; }
.steps li {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 7px 4px;
  border-radius: 8px;
  background: var(--sand);
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease;
}
.steps li span:first-child { font-family: var(--font-fr); opacity: .7; }
.steps li.is-active { background: var(--ink); color: var(--paper); }
.steps li.is-active span:first-child { opacity: .8; }
.steps li.is-done { background: transparent; color: var(--green); }

.order-body { padding-block-start: 16px; }

.notice {
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--ink-2);
  background: #edf2ea;
  border-inline-start: 3px solid var(--orange);
  border-radius: 8px;
  padding: 9px 12px;
}

.qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-block: 15px 13px;
}
.qty { display: flex; align-items: center; gap: 10px; }
.qty-label { font-size: 11.5px; font-weight: 700; color: var(--ink-2); }
.qty-box {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.qty-btn {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: background .15s ease;
}
.qty-btn:hover:not(:disabled) { background: var(--sand); }
.qty-btn:disabled { opacity: .35; cursor: not-allowed; }
.qty-btn .ico { width: 15px; height: 15px; }
.qty-val {
  min-width: 32px;
  text-align: center;
  font-family: var(--font-fr);
  font-weight: 800;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.variant-pill {
  font-size: 10.5px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 9px;
  white-space: nowrap;
}

.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}
.field { display: block; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field > span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-2);
  margin-block-end: 4px;
}
.req { color: var(--orange); font-weight: 800; }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
  padding: 0 11px;
  font-size: 13.5px;
  color: var(--ink);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field textarea {
  min-height: 82px;
  padding: 9px 11px;
  resize: vertical;
  line-height: 1.55;
}
.field input::placeholder,
.field textarea::placeholder { color: #9aa79e; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink-2);
  box-shadow: 0 0 0 3px rgba(20, 53, 44, .12);
}
.field input[dir="ltr"] { text-align: start; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-inline-end: 30px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f6f66' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 9px center;
  background-size: 15px;
}
html[dir="rtl"] .field select {
  background-position: left 9px center;
}
.field input:user-invalid,
.field select:user-invalid {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(163, 50, 36, .1);
}
.field small {
  display: block;
  margin-block-start: 4px;
  font-size: 10.5px;
  color: var(--muted);
}

.coupon-link {
  display: inline-flex;
  margin-block: 11px 0;
  font-size: 11px;
  color: var(--orange-strong);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-style: dotted;
}
.coupon-box {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 8px;
  margin-block-start: 8px;
}
.coupon-box[hidden] { display: none; }
.coupon-box .field { flex: 1; min-width: 120px; }
.coupon-msg {
  flex-basis: 100%;
  font-size: 10.5px;
  color: var(--danger);
  margin: 0;
  min-height: 0;
}
.coupon-applied {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #edf2ea;
  border-radius: 8px;
  padding: 8px 10px;
  margin-block: 11px 0;
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
}
.coupon-applied span { display: inline-flex; align-items: center; gap: 6px; }
.coupon-applied .ico { width: 14px; height: 14px; }
.link-btn {
  font-size: 10.5px;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.link-btn:hover { color: var(--ink); }

.totals {
  margin-block: 12px 0;
  padding-block-start: 10px;
  border-top: 1px dashed var(--line);
  font-size: 12px;
}
.t-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding-block: 3px;
  color: var(--muted);
}
.t-row dd {
  font-family: var(--font-fr);
  font-variant-numeric: tabular-nums;
  color: var(--ink-2);
  font-weight: 600;
  white-space: nowrap;
}
.t-row.is-free dd { color: var(--green); }
.t-row.is-discount dd { color: var(--orange-strong); }
.t-total {
  margin-block-start: 6px;
  padding-block-start: 9px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  color: var(--ink);
  font-weight: 800;
}
.t-total dd {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
}
.upsell {
  width: 100%;
  margin-block-start: 8px;
  padding: 8px 10px;
  border: 1px dashed #d8c6a2;
  border-radius: 8px;
  background: #f6efdf;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-2);
  transition: background .2s ease, border-color .2s ease;
}
.upsell:hover { background: #f2e7cf; border-color: var(--amber); }
.micro {
  margin-block: 8px 0;
  text-align: center;
  font-size: 10px;
  color: var(--muted);
}

/* Étapes 2 et 3 */
.step-title {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.3;
  margin-block: 0 12px;
  outline: none;
}
html[lang="ar"] .step-title { font-weight: 700; }
.recap {
  background: var(--sand);
  border-radius: 12px;
  padding: 11px 13px;
  font-size: 12px;
  color: var(--ink-2);
}
.recap p { margin-block-end: 2px; }
.recap p:last-child { margin-block-end: 0; }
.recap-name { font-weight: 800; font-size: 12.5px; }
.recap-pay {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
  font-weight: 700;
  margin-block-start: 4px !important;
}
.recap-pay .ico { width: 14px; height: 14px; }
.recap-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  padding-block: 9px;
  border-bottom: 1px dashed var(--line);
}
.recap-item b { font-family: var(--font-fr); white-space: nowrap; }
.consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-block: 11px 4px;
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
}
.consent input {
  width: 16px;
  height: 16px;
  margin-block-start: 2px;
  accent-color: var(--ink);
  flex: none;
}
.form-error {
  margin-block: 8px 0;
  padding: 8px 10px;
  border-radius: 8px;
  background: #fbeeeb;
  color: var(--danger);
  font-size: 11.5px;
}
.step-actions {
  display: flex;
  gap: 8px;
  margin-block-start: 10px;
}
.step-actions .btn { flex: 1; padding-inline: 12px; }

.success { text-align: center; padding-block: 4px 2px; }
.success-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #e5efe6;
  color: var(--green);
  display: grid;
  place-items: center;
  margin: 2px auto 12px;
}
.success-icon .ico { width: 25px; height: 25px; stroke-width: 2.2; }
.success .step-title { margin-block-end: 6px; }
.success-sub { font-size: 12px; color: var(--muted); }
.receipt {
  background: var(--sand);
  border-radius: 12px;
  padding: 10px 13px;
  margin-block: 12px;
  text-align: start;
}
.receipt div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
  padding-block: 3px;
}
.receipt b {
  color: var(--ink);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.receipt div:first-child b { font-family: ui-monospace, 'Cascadia Mono', monospace; font-size: 10.5px; }
.receipt-ref {
  direction: ltr;
  unicode-bidi: isolate;
  text-align: start;
  max-width: 72%;
  word-break: break-all;
  line-height: 1.45;
}
.success-demo {
  text-align: start;
  font-size: 10.5px;
  line-height: 1.6;
  color: #7a531a;
  background: #fdf3e2;
  border: 1px dashed #e6c79a;
  border-radius: 8px;
  padding: 8px 10px;
  margin-block: 8px;
}
.success-call { font-size: 11.5px; color: var(--muted); margin-block: 8px; }
.success .step-actions { margin-block-start: 12px; }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding-block: clamp(52px, 7vw, 92px); }
.section-head { max-width: 720px; margin-block-end: clamp(24px, 3vw, 38px); }
.section-head h2 {
  font-size: clamp(1.7rem, 2.9vw, 2.5rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -.02em;
  margin-block: 10px 10px;
}
html[lang="ar"] .section-head h2 { line-height: 1.45; letter-spacing: 0; font-weight: 700; }
.section-lede { font-size: 15px; color: var(--muted); max-width: 62ch; }

.details { background: var(--paper); border-block-start: 1px solid var(--line); }
.detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 2vw, 20px); }
.detail-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 10px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.detail-card:hover { transform: translateY(-3px); box-shadow: 0 24px 40px -34px rgba(20, 53, 44, .7); }
.detail-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  background: var(--paper);
}
.detail-card figcaption { padding: 12px 6px 6px; }
.detail-card b { display: block; font-size: 14px; font-weight: 800; margin-block-end: 3px; }
html[lang="ar"] .detail-card b { font-weight: 700; }
.detail-card span { font-size: 12px; color: var(--muted); line-height: 1.65; display: block; }

.features { background: var(--cream); border-block: 1px solid var(--line); }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 2vw, 18px); }
.feature {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: 0 24px 40px -34px rgba(20, 53, 44, .6); }
.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #f6e8d4;
  color: var(--orange-strong);
  margin-block-end: 14px;
}
.feature h3 { font-size: 16.5px; font-weight: 800; margin-block-end: 6px; }
html[lang="ar"] .feature h3 { font-weight: 700; }
.feature p { font-size: 13px; color: var(--muted); line-height: 1.75; }

.honest {
  margin-block-start: 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 18px;
  background: var(--paper);
  border: 1px dashed var(--line-strong);
  border-inline-start: 4px solid var(--orange);
  border-radius: 14px;
}
.honest-label {
  flex: none;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange-strong);
  padding-block-start: 3px;
}
html[lang="ar"] .honest-label { letter-spacing: 0; font-size: 11px; }
.honest p { font-size: 12.5px; color: var(--ink-2); line-height: 1.75; }

.specs { background: var(--paper); }
.specs-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.specs-intro { position: sticky; inset-block-start: 104px; }
.specs-intro h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  font-weight: 800;
  line-height: 1.16;
  margin-block: 10px 12px;
}
html[lang="ar"] .specs-intro h2 { line-height: 1.45; font-weight: 700; }
.specs-intro p { font-size: 14px; color: var(--muted); margin-block-end: 18px; }
.specs-intro .btn .ico { transition: transform .2s ease; }
.specs-intro .btn:hover .ico { transform: translateX(3px); }
html[dir="rtl"] .specs-intro .btn:hover .ico { transform: scaleX(-1) translateX(3px); }

.spec-list { border-block-start: 1px solid var(--line); }
.spec-list > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding-block: 12px;
  border-block-end: 1px solid var(--line);
}
.spec-list dt { font-size: 12.5px; color: var(--muted); flex: none; }
.spec-list dd { font-size: 13.5px; font-weight: 600; color: var(--ink); text-align: end; }

.how {
  background:
    radial-gradient(52% 70% at 84% 8%, rgba(233, 167, 94, .18), transparent 70%),
    var(--ink);
  color: var(--paper);
}
.how .eyebrow { color: var(--amber); }
.how .section-head h2 { color: var(--paper); }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 32px); }
.how-step { padding-block-start: 20px; border-block-start: 1px solid rgba(255, 253, 248, .22); }
.how-num {
  display: block;
  font-family: var(--font-fr);
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  color: var(--amber);
  margin-block-end: 12px;
  letter-spacing: -.03em;
}
.how-step h3 { font-size: 17px; font-weight: 800; color: var(--paper); margin-block-end: 6px; }
html[lang="ar"] .how-step h3 { font-weight: 700; }
.how-step p { font-size: 13px; line-height: 1.75; color: rgba(255, 253, 248, .74); }

.faq { background: var(--cream); border-block-start: 1px solid var(--line); }
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(26px, 5vw, 64px);
  align-items: start;
}
.faq-intro { position: sticky; inset-block-start: 104px; }
.faq-intro h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  font-weight: 800;
  line-height: 1.16;
  margin-block: 10px 12px;
}
html[lang="ar"] .faq-intro h2 { line-height: 1.45; font-weight: 700; }
.faq-intro p { font-size: 14px; color: var(--muted); }
.faq-list details { border-block-start: 1px solid var(--line-strong); }
.faq-list details:last-child { border-block-end: 1px solid var(--line-strong); }
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 16px;
  cursor: pointer;
  font-size: 14.5px;
  font-weight: 700;
  list-style: none;
  transition: color .2s ease;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--orange-strong); }
.faq-list summary .ico {
  width: 17px;
  height: 17px;
  color: var(--orange-strong);
  transition: transform .25s ease;
}
.faq-list details[open] summary .ico { transform: rotate(45deg); }
.faq-list details p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
  padding-block-end: 16px;
  max-width: 62ch;
}

.closing { background: var(--amber); color: var(--ink-3); }
.closing-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding-block: clamp(30px, 4vw, 46px);
  flex-wrap: wrap;
}
.closing .eyebrow { color: rgba(20, 53, 44, .75); }
.closing .eyebrow-dot { background: var(--ink-3); }
.closing h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 800;
  line-height: 1.2;
  margin-block: 8px 4px;
  letter-spacing: -.02em;
}
html[lang="ar"] .closing h2 { letter-spacing: 0; font-weight: 700; line-height: 1.4; }
.closing p { font-size: 13.5px; color: rgba(12, 36, 30, .78); }
.closing .btn { flex: none; }

/* --------------------------------------------------------------------------
   Pied de page
   -------------------------------------------------------------------------- */
.site-footer { background: var(--ink); color: rgba(255, 253, 248, .82); }
.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 26px;
  padding-block: 36px 22px;
  flex-wrap: wrap;
}
.footer-brand .logo { color: var(--paper); font-size: 27px; letter-spacing: -2px; }
.footer-brand p { font-size: 12.5px; margin-block-start: 6px; color: rgba(255, 253, 248, .62); }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; font-size: 12.5px; }
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 253, 248, .82);
  transition: color .2s ease;
}
.footer-links a:hover { color: var(--amber); }
.footer-links .ico { width: 16px; height: 16px; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding-block: 14px 26px;
  border-block-start: 1px solid rgba(255, 253, 248, .14);
  font-size: 11px;
  color: rgba(255, 253, 248, .56);
}

/* --------------------------------------------------------------------------
   Barre mobile + toast
   -------------------------------------------------------------------------- */
.sticky-cta {
  position: fixed;
  inset-block-end: 10px;
  inset-inline: 10px;
  z-index: 45;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 11px;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  box-shadow: 0 18px 40px -24px rgba(20, 53, 44, .8);
  transition: transform .3s ease, opacity .3s ease;
}
.sticky-cta.is-away { transform: translateY(140%); opacity: 0; pointer-events: none; }
.sticky-price strong {
  display: block;
  font-family: var(--font-fr);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
}
.sticky-price small { display: block; font-size: 9.5px; color: var(--muted); }
.sticky-cta .btn { min-height: 42px; padding-inline: 14px; font-size: 12.5px; }

.toast {
  position: fixed;
  inset-block-end: 86px;
  inset-inline-start: 50%;
  transform: translateX(-50%) translateY(6px);
  z-index: 60;
  margin: 0;
  padding: 9px 16px;
  background: var(--ink-3);
  color: var(--paper);
  border-radius: 999px;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  max-width: calc(100% - 32px);
  text-align: center;
}
.toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }

/* --------------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  @keyframes rise {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .hero-copy > * { animation: rise .7s cubic-bezier(.2, .7, .3, 1) both; }
  .hero-copy > *:nth-child(1) { animation-delay: .02s; }
  .hero-copy > *:nth-child(2) { animation-delay: .07s; }
  .hero-copy > *:nth-child(3) { animation-delay: .12s; }
  .hero-copy > *:nth-child(4) { animation-delay: .17s; }
  .hero-media { animation: rise .75s .18s cubic-bezier(.2, .7, .3, 1) both; }
  .order-card { animation: rise .8s .12s cubic-bezier(.2, .7, .3, 1) both; }
}

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

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(320px, .92fr); gap: 28px; }
  .nav { gap: 18px; font-size: 12.5px; }
  .order-card { padding: 18px; }
}

@media (max-width: 980px) {
  .nav { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .order-card {
    position: static;
    max-width: 560px;
    margin-inline: auto;
    width: 100%;
  }
  .sticky-cta { display: flex; }
  body { padding-block-end: 78px; }
  .hero-copy { max-width: 640px; }
  .thumbs { max-width: 420px; }
  .specs-grid, .faq-grid { grid-template-columns: 1fr; }
  .specs-intro, .faq-intro { position: static; }
  .how-grid { grid-template-columns: 1fr; gap: 18px; }
  .how-step { padding-block-start: 14px; }
  .how-num { font-size: 26px; margin-block-end: 6px; }
}

@media (max-width: 760px) {
  .site-header { position: sticky; }
  .header-inner { min-height: 64px; gap: 12px; }
  .logo { font-size: 27px; }
  .logo small { font-size: 14px; }
  .header-cta { min-height: 36px; padding-inline: 12px; font-size: 11.5px; border-radius: 9px; }
  .lang-btn { min-height: 34px; font-size: 11px; padding-inline: 10px; }
  .announce { font-size: 11px; }
  html[lang="ar"] .announce { font-size: 11.5px; }
  .announce-inner { min-height: 34px; gap: 6px; }
  .announce-sep { display: none; }
  .hero { padding-block-start: 20px; }
  .price-block { margin-block: 18px 18px; }
  .lede { font-size: 14.5px; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-card { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: center; padding: 8px; }
  .detail-card img { width: 96px; height: 96px; }
  .detail-card figcaption { padding: 0 4px; }
  .feature-grid { grid-template-columns: 1fr; }
  .honest { flex-direction: column; gap: 6px; }
  .closing-inner { flex-direction: column; align-items: flex-start; }
  .closing .btn { width: 100%; }
  .footer-inner { flex-direction: column; gap: 18px; }
  .footer-links { gap: 16px; }
  .steps li { font-size: 9.5px; }
  .order-card { padding: 16px; border-radius: 18px; }
  .order-product { grid-template-columns: 46px minmax(0, 1fr); }
  .order-price { grid-column: 2; text-align: start; display: flex; align-items: baseline; gap: 6px; }
  .order-price strong { font-size: 15px; }
  .order-price small { display: inline; }
}

@media (max-width: 420px) {
  .fields { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .qty-row { flex-wrap: wrap; gap: 8px; }
  .steps { gap: 4px; }
  .steps li { padding: 6px 3px; font-size: 9px; }
  .hero h1 { font-size: clamp(1.7rem, 7.4vw, 2.1rem); }
  html[lang="ar"] .hero h1 { font-size: clamp(1.55rem, 6.6vw, 1.95rem); }
}
