/* ============================================================
   Souss Marep — page CMS "Notre magasin"  (.smcm)
   ============================================================ */
.smcm,
.smcm * { box-sizing: border-box; }
.smcm {
  font-family: "Noto Sans", -apple-system, "Segoe UI", Roboto, sans-serif;
  max-width: 1160px;
  margin: 0 auto;
  padding: 28px 16px 72px;
  color: #16181d;
}
.smcm p { margin: 0 0 14px; }
.smcm p:last-child { margin-bottom: 0; }
.smcm a { text-decoration: none; }

/* ---------- hero ---------- */
.smcm-hero {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  background: #2a2c31 center/cover no-repeat;
}
.smcm-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(10, 11, 13, .90) 0%, rgba(10, 11, 13, .74) 42%, rgba(10, 11, 13, .28) 78%, rgba(10, 11, 13, .12) 100%),
    linear-gradient(to top, rgba(10, 11, 13, .70) 0%, rgba(10, 11, 13, .30) 50%, rgba(10, 11, 13, .10) 100%);
}
.smcm-hero-body {
  position: relative;
  z-index: 2;
  padding: 44px 48px;
  max-width: 730px;
  color: #fff;
}
.smcm-eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #fff;
  background: #DC283E;
  padding: 6px 13px;
  border-radius: 999px;
}
.smcm-hero h1 {
  margin: 0 0 16px;
  font-size: 44px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -1px;
  color: #fff;
}
.smcm-lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.68;
  color: rgba(255, 255, 255, .88);
}
.smcm-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.smcm-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 700;
  transition: transform .2s, box-shadow .2s, background-color .2s, color .2s;
}
/* !important requis : iqitthemeeditor impose
   a:link:not(.nav-link):not(.btn){color:#484848} (specificite 0,3,1) */
.smcm a.smcm-btn--primary,
.smcm a.smcm-btn--primary:link,
.smcm a.smcm-btn--primary:visited { background: #DC283E; color: #fff !important; }
.smcm a.smcm-btn--primary:hover,
.smcm a.smcm-btn--primary:focus { background: #c41f33; color: #fff !important; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(220, 40, 62, .34); }
.smcm a.smcm-btn--ghost,
.smcm a.smcm-btn--ghost:link,
.smcm a.smcm-btn--ghost:visited { background: rgba(255, 255, 255, .12); color: #fff !important; border: 1px solid rgba(255, 255, 255, .38); }
.smcm a.smcm-btn--ghost:hover,
.smcm a.smcm-btn--ghost:focus { background: #fff; color: #16181d !important; transform: translateY(-2px); }

/* ---------- trust strip ---------- */
.smcm-trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  background: #ececec;
  border: 1px solid #ececec;
  border-radius: 14px;
  overflow: hidden;
}
.smcm-trust li {
  list-style: none;
  background: #fff;
  padding: 22px 20px;
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 14.5px;
  font-weight: 600;
  color: #16181d;
}
.smcm-trust svg { flex: 0 0 auto; color: #DC283E; }

/* ---------- sections ---------- */
.smcm-sec { margin-top: 76px; }
.smcm-sec-head { max-width: 620px; margin-bottom: 34px; }
.smcm-kicker {
  margin: 0 0 10px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: #DC283E;
}
.smcm-sec h2 {
  margin: 0;
  font-size: 31px;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -.7px;
  color: #16181d;
}

.smcm-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}
.smcm-split--rev .smcm-split-media { order: -1; }

.smcm-split-media {
  border-radius: 16px;
  overflow: hidden;
  background: #e9e6df;
  aspect-ratio: 4 / 3;
}
.smcm-split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s cubic-bezier(.2, .7, .3, 1);
}
.smcm-split-media:hover img { transform: scale(1.04); }
/* variante pour les sections a texte court : media moins haut */
.smcm-split--compact .smcm-split-media { aspect-ratio: 16 / 10; }

/* numbered blocks */
.smcm-block + .smcm-block { margin-top: 30px; padding-top: 30px; border-top: 1px solid #ececec; }
.smcm-block-head { display: flex; align-items: center; gap: 12px; margin-bottom: 11px; }
.smcm-num {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: #fdeef0;
  color: #DC283E;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .3px;
}
.smcm-block h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.2px;
  color: #16181d;
}
.smcm-block p { font-size: 15.5px; line-height: 1.7; color: #4a4f57; }

/* ---------- closing band ---------- */
.smcm-band {
  margin-top: 80px;
  border-radius: 18px;
  background: #f5f6f7;
  border: 1px solid #ececec;
  padding: 44px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.smcm-band h2 {
  margin: 0 0 10px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.5px;
  color: #16181d;
}
.smcm-band-meta { margin: 0; font-size: 15.5px; line-height: 1.7; color: #4a4f57; }
.smcm-band-meta b { color: #16181d; font-weight: 700; }

/* ---------- responsive ---------- */
@media (max-width: 991px) {
  .smcm-trust { grid-template-columns: repeat(2, 1fr); }
  .smcm-split { grid-template-columns: 1fr; gap: 32px; }
  .smcm-split--rev .smcm-split-media { order: 0; }
  .smcm-hero { min-height: 400px; }
  .smcm-hero h1 { font-size: 36px; }
  .smcm-hero-body { padding: 36px 32px; }
  .smcm-sec { margin-top: 60px; }
  .smcm-sec h2 { font-size: 27px; }
  .smcm-band { padding: 34px 32px; }
}
@media (max-width: 575px) {
  .smcm { padding: 16px 12px 52px; }
  .smcm-hero { border-radius: 14px; min-height: 360px; }
  .smcm-hero-body { padding: 28px 20px; }
  .smcm-hero h1 { font-size: 29px; letter-spacing: -.6px; }
  .smcm-lead { font-size: 15px; }
  .smcm-btn { width: 100%; justify-content: center; }
  .smcm-trust { grid-template-columns: 1fr; }
  .smcm-trust li { padding: 17px 18px; }
  .smcm-sec { margin-top: 48px; }
  .smcm-sec h2 { font-size: 23px; }
  .smcm-split-media { border-radius: 14px; aspect-ratio: 3 / 2; }
  .smcm-band { margin-top: 56px; padding: 28px 20px; border-radius: 14px; gap: 24px; }
  .smcm-band h2 { font-size: 22px; }
}

/* ============================================================
   Blocs additionnels — page "Qui sommes-nous ?" (CMS 4)
   ============================================================ */

/* prose simple (paragraphes sans puce numerotee) */
.smcm-prose p { margin: 0 0 16px; font-size: 15.5px; line-height: 1.75; color: #4a4f57; }
.smcm-prose p:last-child { margin-bottom: 0; }
.smcm-prose strong { color: #16181d; font-weight: 700; }

/* bandeau des marques */
.smcm-brands {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: #ececec;
  border: 1px solid #ececec;
  border-radius: 14px;
  overflow: hidden;
}
.smcm-brands li {
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 14px;
}
.smcm-brands img {
  max-height: 52px;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(1) contrast(1.15);
  opacity: .85;
  transition: filter .25s, opacity .25s;
}
.smcm-brands li:hover img { filter: grayscale(0); opacity: 1; }

/* bandeau newsletter */
.smcm-band--nl { align-items: flex-start; }
.smcm-band--nl > div:first-child { flex: 1 1 380px; }
.smcm-nl-form {
  flex: 1 1 340px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}
.smcm-nl-form input[type="email"] {
  flex: 1 1 240px;
  min-width: 0;
  padding: 13px 20px;
  border: 1px solid #e0e3e7;
  border-radius: 999px;
  background: #fff;
  color: #16181d;
  font-family: inherit;
  font-size: 14.5px;
  transition: border-color .2s, box-shadow .2s;
}
.smcm-nl-form input[type="email"]:focus {
  outline: none;
  border-color: #DC283E;
  box-shadow: 0 0 0 3px rgba(220, 40, 62, .14);
}
.smcm-nl-form button {
  border: 0;
  cursor: pointer;
  font-family: inherit;
  background: #DC283E;
  color: #fff;
}
.smcm-nl-form button:hover {
  background: #c41f33;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(220, 40, 62, .34);
}
.smcm-nl-note { flex: 1 1 100%; margin: 4px 0 0; font-size: 12.5px; line-height: 1.6; color: #8a9099; }

@media (max-width: 991px) {
  .smcm-brands { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 575px) {
  .smcm-brands { grid-template-columns: repeat(2, 1fr); border-radius: 12px; }
  .smcm-brands li { padding: 18px 12px; }
  .smcm-nl-form input[type="email"] { flex: 1 1 100%; }
  .smcm-nl-form button { width: 100%; justify-content: center; }
}
