/* ==========================================================================
   Ellery — Styles du site vitrine
   Basé sur le kit marketing Qomit (classes qb-*), adapté et rendu responsive.
   ========================================================================== */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  background: #fff;
  color: var(--q-purple);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
}
img { max-width: 100%; }
a { color: var(--q-purple); }
a:hover { color: var(--q-orange); }

/* Full-bleed hybride : la page couvre toute la largeur, chaque section ajoute
   var(--bleed) à ses gouttières pour caler le contenu sur la grille centrée. */
.qb-page {
  width: 100%;
  background: #fff;
}
[id] { scroll-margin-top: 88px; }

/* ============================== BANDEAU ANNONCE ============================== */
.qb-announce {
  min-height: 44px;
  background: var(--q-purple);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  gap: 12px;
  padding: 8px 16px;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-align: center;
  flex-wrap: wrap;
  text-decoration: none;
}
.qb-announce:hover { color: #fff; background: var(--q-purple-800); }
.qb-announce:hover .qb-announce-arrow { transform: translateX(3px); border-color: rgba(255,255,255,0.7); }
.qb-announce-tag {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.04em;
  font-size: 14px;
}
.qb-announce-text { opacity: 0.85; }
.qb-announce-arrow {
  width: 22px; height: 22px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: var(--r-pill);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px;
  margin-left: 4px;
  transition: transform 140ms var(--ease-out), border-color 140ms var(--ease-out);
}

/* ============================== HEADER ============================== */
.qb-header {
  height: 72px;
  background: #fff;
  border-bottom: 1px solid var(--q-grey-100);
  padding: 0 calc(var(--bleed) + 48px);
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  position: sticky; top: 0; z-index: 10;
  transition: box-shadow 200ms var(--ease-out);
}
.qb-header.is-scrolled { box-shadow: var(--shadow-md); }
.qb-header-logo { display: flex; align-items: center; }
.qb-header-logo img { height: 64px; width: auto; display: block; }
.qb-header-nav { display: flex; align-items: center; gap: 36px; }
.qb-header-nav a {
  font-size: 15px;
  color: var(--q-purple);
  text-decoration: none;
  transition: color 140ms var(--ease-out);
}
.qb-header-nav a:hover { color: var(--q-orange); }
.qb-header-actions { display: flex; align-items: center; gap: 16px; }

.qb-burger {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px;
  padding: 10px;
  background: none; border: 0; cursor: pointer;
}
.qb-burger span {
  display: block; height: 2px; width: 100%;
  background: var(--q-purple);
  border-radius: 2px;
  transition: transform 200ms var(--ease-out), opacity 200ms var(--ease-out);
}
.qb-header.is-open .qb-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.qb-header.is-open .qb-burger span:nth-child(2) { opacity: 0; }
.qb-header.is-open .qb-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================== BOUTONS ============================== */
.qb-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.1;
  border-radius: var(--r-pill);
  padding: 11px 20px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  transition: background 140ms var(--ease-out), color 140ms var(--ease-out), transform 140ms var(--ease-out);
}
.qb-btn:active { transform: scale(0.99); }
.qb-btn--primary { background: var(--q-orange); color: #fff; }
.qb-btn--primary:hover { background: var(--q-orange-600); color: #fff; }
.qb-btn--ghost {
  background: transparent;
  color: var(--q-purple);
  border: 1px solid var(--q-grey-200);
}
.qb-btn--ghost:hover { background: var(--q-grey-100); color: var(--q-purple); }
.qb-btn--lg { padding: 14px 24px; font-size: 16px; }
.qb-btn.is-disabled { pointer-events: none; opacity: 0.6; }

/* ============================== EYEBROW ============================== */
.qb-eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--q-grey-700);
}
.qb-eyebrow--on-dark { color: rgba(255,255,255,0.7); }

/* ============================== HERO ============================== */
.qb-hero {
  position: relative;
  background: var(--q-corail);
  border-bottom: 1px solid var(--q-grey-100);
  padding: 40px calc(var(--bleed) + 64px) 80px;
  display: flex; flex-direction: column; align-items: center; gap: 32px;
  overflow: hidden;
}
.qb-hero-inner {
  position: relative; z-index: 1;
  width: 100%;
  display: flex; flex-direction: column; align-items: center; gap: 24px;
  text-align: center;
  padding: 24px 0 8px;
}
.qb-hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--q-orange-700);
  text-transform: uppercase;
  margin-top: 24px;
}
.qb-hero-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1.28;
  color: var(--q-purple);
  margin: 0;
  font-weight: 400;
  letter-spacing: 0;
  text-wrap: balance;
}
.qb-hero-sub {
  max-width: 660px;
  font-size: 19px;
  line-height: 1.4;
  color: var(--q-grey-700);
  margin: 0;
}
.qb-hero-ctas { display: flex; gap: 12px; margin-top: 8px; flex-wrap: wrap; justify-content: center; }
.qb-hero-media {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 16px;
  width: 100%;
  max-width: 1240px;
  height: 540px;
  margin-top: 32px;
}
.qb-hero-media > * { min-width: 0; }
.qb-hero-media-photo {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
}
.qb-hero-media-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.qb-hero-media-product {
  position: relative;
  background: #fff;
  border: 1px solid var(--q-grey-100);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.qb-hero-media-product img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
}
.qb-hero-foot {
  display: flex; justify-content: space-between; align-items: center;
  width: 100%;
  gap: 12px;
  padding: 0 8px;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--q-orange-700);
  text-transform: uppercase;
}

/* ============================== CHIFFRES CLÉS ============================== */
.qb-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--q-grey-100);
  padding-inline: var(--bleed);
}
.qb-stats-cell {
  padding: 32px;
  border-right: 1px solid var(--q-grey-100);
  display: flex; flex-direction: column; gap: 6px;
}
.qb-stats-cell:last-child { border-right: 0; }
.qb-stats-num {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.5vw, 44px);
  letter-spacing: 0;
  color: var(--q-purple);
  line-height: 1;
}
.qb-stats-lbl { font-size: 14px; color: var(--q-grey-700); }

/* ============================== TÊTE DE SECTION ============================== */
.qb-section-head {
  border-top: 1px solid var(--q-grey-100);
  padding: 48px calc(var(--bleed) + 64px) 32px;
  display: flex; flex-direction: column; gap: 12px;
}
.qb-section-head--row {
  flex-direction: row; justify-content: space-between; align-items: flex-end;
}
.qb-section-h {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 1.18;
  color: var(--q-purple);
  margin: 0;
  letter-spacing: 0;
  font-weight: 400;
  text-wrap: balance;
}

/* ============================== DANS LA BOÎTE ============================== */
.el-box-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--q-grey-100);
  border-bottom: 1px solid var(--q-grey-100);
  padding-inline: var(--bleed);
}
.el-box-item {
  display: flex; flex-direction: column;
  border-right: 1px solid var(--q-grey-100);
}
.el-box-item:last-child { border-right: 0; }
.el-box-media {
  height: 270px;
  background: #fff;
  overflow: hidden;
}
.el-box-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 300ms var(--ease-out);
}
.el-box-item:hover .el-box-media img { transform: scale(1.04); }
.el-box-quote {
  height: 270px;
  background: var(--q-corail);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px;
  padding: 24px;
  text-align: center;
}
.el-box-quote-text {
  font-family: var(--font-display);
  font-size: 25px;
  line-height: 1.45;
  color: var(--q-purple);
}
.el-box-quote-src {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--q-grey-500);
}
.el-box-meta {
  padding: 24px 20px;
  display: flex; flex-direction: column; gap: 8px;
  min-height: 150px;
}
.el-box-meta h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  margin: 0;
  letter-spacing: 0;
  color: var(--q-purple);
}
.el-box-meta p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--q-grey-700);
  margin: 0;
}

/* ============================== LA GRAVURE ============================== */
.el-split {
  display: flex;
  min-height: 520px;
  border-bottom: 1px solid var(--q-grey-100);
}
.el-split-copy {
  flex: 0 0 50%;
  padding: 64px;
  padding-left: calc(var(--bleed) + 64px);
  display: flex; flex-direction: column; gap: 18px; justify-content: center;
}
.el-split-h {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.5vw, 44px);
  line-height: 1.14;
  font-weight: 400;
  margin: 0;
  color: var(--q-purple);
  letter-spacing: 0;
}
.el-split-p {
  font-size: 18px;
  line-height: 1.5;
  color: var(--q-grey-700);
  margin: 0;
  max-width: 480px;
}
.el-split-art {
  flex: 1;
  background: var(--q-blue);
  border-left: 1px solid var(--q-grey-100);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 48px;
}
.el-split-circle {
  position: relative;
  width: min(420px, 100%);
  aspect-ratio: 1;
  border-radius: var(--r-pill);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.el-split-circle img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.el-pattern {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.4;
  filter: sepia(1) saturate(0.55) hue-rotate(-8deg) brightness(1.04);
}

/* ============================== LE RITUEL ============================== */
.qb-multistep {
  display: flex;
  background: var(--q-purple);
  color: #fff;
  border-bottom: 1px solid var(--q-grey-100);
}
.qb-multistep-left {
  flex: 0 0 50%;
  padding: 80px 64px;
  padding-left: calc(var(--bleed) + 64px);
  display: flex; flex-direction: column; gap: 16px; justify-content: center;
}
.qb-multistep-h {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.18;
  margin: 0;
  font-weight: 400;
  letter-spacing: 0;
  color: #fff;
  text-wrap: balance;
}
.qb-multistep-p {
  font-size: 17px;
  line-height: 1.5;
  color: var(--q-purple-200);
  margin: 0;
  max-width: 440px;
}
.qb-multistep-right {
  flex: 1;
  padding: 64px;
  padding-right: calc(var(--bleed) + 64px);
  display: flex; flex-direction: column; gap: 32px;
  border-left: 1px solid rgba(255,255,255,0.12);
}
.qb-multistep-list { display: flex; flex-direction: column; }
.qb-radio {
  display: flex; gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  align-items: flex-start;
}
.qb-radio:first-child { border-top: 1px solid rgba(255,255,255,0.12); }
.qb-radio-dot {
  flex: 0 0 16px; height: 16px; margin-top: 4px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--q-purple-400);
  position: relative;
  transition: border-color 140ms var(--ease-out);
}
.qb-radio.is-on .qb-radio-dot { border-color: var(--q-orange); }
.qb-radio.is-on .qb-radio-dot::after {
  content: ""; position: absolute; inset: 3px;
  background: var(--q-orange); border-radius: var(--r-pill);
}
.qb-radio-body { display: flex; flex-direction: column; gap: 4px; }
.qb-radio-body strong {
  font-family: var(--font-display);
  font-size: 19px;
  color: #fff; font-weight: 400;
  letter-spacing: 0;
}
.qb-radio-body span {
  font-size: 14px;
  line-height: 1.45;
  color: var(--q-purple-200);
}

/* ============================== QUALITÉ ============================== */
.el-quality-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0 calc(var(--bleed) + 64px) 64px;
}
.el-quality-card {
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex; flex-direction: column; gap: 12px;
  min-height: 200px;
  transition: transform 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
}
.el-quality-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.el-quality-card--corail { background: var(--q-corail); }
.el-quality-card--blue { background: var(--q-blue); }
.el-quality-card--white { background: #fff; border: 1px solid var(--q-grey-100); }
.el-quality-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  margin: 0;
  letter-spacing: 0;
  color: var(--q-purple);
}
.el-quality-card h3 .el-norm {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.04em;
}
.el-quality-card p {
  font-size: 15px;
  line-height: 1.5;
  color: var(--q-grey-700);
  margin: 0;
  max-width: 300px;
}

/* ============================== OCCASIONS ============================== */
.qb-cases { border-bottom: 1px solid var(--q-grey-100); }
.qb-cases-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0 calc(var(--bleed) + 64px) 64px;
}
.qb-case {
  position: relative;
  display: flex; flex-direction: column;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #fff;
  transition: transform 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
}
.qb-case:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.qb-case-img {
  position: relative;
  height: 280px;
  overflow: hidden;
}
.qb-case-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.qb-case--blue .qb-case-img { background: var(--q-blue); }
.qb-case--corail .qb-case-img { background: var(--q-corail); }
.qb-case--purple .qb-case-img { background: var(--q-corail); }
.qb-case-meta {
  background: #fff;
  border: 1px solid var(--q-grey-100);
  border-top: 0;
  padding: 24px;
  display: flex; flex-direction: column; gap: 10px;
  flex: 1;
}
.qb-case-brand {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--q-orange-700);
}
.qb-case-h {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.15;
  color: var(--q-purple);
  margin: 0;
  font-weight: 400;
  letter-spacing: 0;
}
.qb-case-p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--q-grey-700);
  margin: 0;
}

/* ============================== FAQ ============================== */
.el-faq { border-bottom: 1px solid var(--q-grey-100); }
.el-faq-list {
  padding: 0 calc(var(--bleed) + 64px) 64px;
}
.el-faq-item {
  max-width: 880px;
  border-bottom: 1px solid var(--q-grey-100);
}
.el-faq-item:first-child { border-top: 1px solid var(--q-grey-100); }
.el-faq-item summary {
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1.4;
  color: var(--q-purple);
  padding: 20px 44px 20px 0;
  cursor: pointer;
  list-style: none;
  position: relative;
  transition: color 140ms var(--ease-out);
}
.el-faq-item summary::-webkit-details-marker { display: none; }
.el-faq-item summary:hover { color: var(--q-orange); }
.el-faq-item summary::after {
  content: "+";
  position: absolute; right: 8px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-body);
  font-size: 22px;
  color: var(--q-orange);
  transition: transform 200ms var(--ease-out);
}
.el-faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.el-faq-item p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--q-grey-700);
  margin: 0;
  padding: 0 44px 24px 0;
  max-width: 720px;
}

/* ============================== CTA FINAL ============================== */
.qb-cta {
  display: flex;
  background: var(--q-blue);
  border-bottom: 1px solid var(--q-grey-100);
  padding: 80px calc(var(--bleed) + 64px);
  gap: 64px;
  align-items: center;
}
.qb-cta-art {
  flex: 0 0 480px;
  position: relative;
  height: 380px;
  display: flex; justify-content: center; align-items: center;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--q-corail);
}
.qb-cta-photo {
  position: relative;
  width: 340px; height: 320px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.qb-cta-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.qb-cta-copy {
  flex: 1;
  display: flex; flex-direction: column; gap: 16px;
}
.qb-cta-h {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 1.18;
  margin: 0;
  font-weight: 400;
  color: var(--q-purple);
  letter-spacing: 0;
  text-wrap: balance;
}
.qb-cta-p {
  font-size: 18px;
  line-height: 1.5;
  color: var(--q-purple);
  margin: 0;
  max-width: 540px;
}
.qb-cta-actions { display: flex; gap: 12px; margin-top: 8px; flex-wrap: wrap; }
.el-trust {
  list-style: none;
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 8px 20px;
  margin: 16px 0 0; padding: 0;
  font-size: 13px;
  color: var(--q-grey-700);
}
.el-trust li { display: flex; align-items: center; gap: 8px; }
.el-trust li::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: var(--r-pill);
  background: var(--q-orange);
}
.qb-cta-actions .qb-btn--ghost { border-color: var(--q-purple); color: var(--q-purple); }
.qb-cta-actions .qb-btn--ghost:hover { background: rgba(255,255,255,0.4); }

/* ============================== FOOTER ============================== */
.qb-footer {
  background: var(--q-purple);
  color: #fff;
  padding: 80px calc(var(--bleed) + 64px) 32px;
  display: flex; flex-direction: column; gap: 56px;
}
.qb-footer-top {
  display: flex; justify-content: space-between; gap: 64px;
}
.qb-footer-brand {
  flex: 0 0 360px;
  display: flex; flex-direction: column; gap: 20px;
}
.qb-footer-brand img { height: 110px; width: auto; opacity: 0.95; align-self: flex-start; }
.qb-footer-tag {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.5;
  color: #fff;
  margin: 0;
  letter-spacing: 0;
  font-weight: 400;
}
.qb-footer-cols {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  flex: 1;
  max-width: 760px;
}
.qb-footer-col { display: flex; flex-direction: column; gap: 12px; }
.qb-footer-col h5 {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 4px; font-weight: 400;
  color: var(--q-purple-300);
}
.qb-footer-col a {
  font-size: 15px;
  color: #fff;
  text-decoration: none;
  transition: color 140ms var(--ease-out);
}
.qb-footer-col a:hover { color: var(--q-orange-300); }
.qb-footer-bot {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.14);
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.qb-footer-legal {
  display: flex; gap: 24px; flex-wrap: wrap;
  font-size: 13px;
  color: var(--q-purple-300);
}
.qb-footer-caption {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--q-orange-300);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1200px) {
  .el-box-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .el-box-item { border-bottom: 1px solid var(--q-grey-100); }
  .el-box-item:nth-child(3n) { border-right: 0; }
  .qb-hero-media { grid-template-columns: 1fr 360px; height: 460px; }
  .qb-cta-art { flex-basis: 380px; }
}

@media (max-width: 1024px) {
  .qb-header { padding: 0 24px; }
  .qb-hero { padding: 32px 32px 56px; }
  .qb-section-head { padding: 40px 32px 24px; }
  .el-quality-grid, .qb-cases-row { padding: 0 32px 48px; }
  .qb-hero-media { grid-template-columns: 1fr; height: auto; }
  .qb-hero-media-photo { aspect-ratio: 4 / 3; }
  .qb-hero-media-product { aspect-ratio: 4 / 3; }
  .el-split { flex-direction: column; }
  .el-split-copy { flex: none; padding: 48px 32px; }
  .el-split-art { min-height: 380px; border-left: 0; border-top: 1px solid var(--q-grey-100); }
  .qb-multistep { flex-direction: column; }
  .qb-multistep-left { flex: none; padding: 56px 32px 32px; }
  .qb-multistep-right { padding: 32px; border-left: 0; }
  .el-quality-grid { grid-template-columns: 1fr; }
  .qb-cases-row { grid-template-columns: 1fr; }
  .qb-cta { flex-direction: column; padding: 48px 32px; gap: 32px; }
  .qb-cta-art { flex: none; width: 100%; max-width: 480px; }
  .qb-footer { padding: 56px 32px 24px; }
  .qb-footer-top { flex-direction: column; gap: 40px; }
  .qb-footer-brand { flex: none; }
  .qb-footer-cols { grid-template-columns: repeat(2, 1fr); max-width: none; }
}

@media (max-width: 768px) {
  .qb-burger { display: flex; }
  .el-faq-list { padding: 0 20px 40px; }
  .el-faq-item summary { font-size: 19px; }
  .qb-header { flex-wrap: wrap; }
  .qb-header-nav {
    display: none;
    position: absolute; top: 72px; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--q-grey-100);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 0;
    box-shadow: var(--shadow-md);
  }
  .qb-header.is-open .qb-header-nav { display: flex; }
  .qb-header-nav a { padding: 14px 24px; border-bottom: 1px solid var(--q-grey-100); }
  .qb-header-nav a:last-child { border-bottom: 0; }
  .qb-header-actions .qb-btn { padding: 9px 14px; font-size: 13px; }
  .qb-header-logo img { height: 48px; }

  .qb-hero { padding: 24px 20px 40px; }
  .qb-hero-title { font-size: 40px; }
  .qb-hero-title br { display: none; }
  .qb-hero-sub { font-size: 17px; }
  .qb-hero-ctas { width: 100%; flex-direction: column; }
  .qb-hero-ctas .qb-btn { width: 100%; }
  .qb-hero-foot { flex-direction: column; align-items: flex-start; gap: 8px; }

  .qb-stats { grid-template-columns: repeat(2, 1fr); }
  .qb-stats-cell { padding: 24px 20px; border-bottom: 1px solid var(--q-grey-100); }
  .qb-stats-cell:nth-child(2n) { border-right: 0; }

  .qb-section-head { padding: 32px 20px 20px; }
  .qb-section-head--row { flex-direction: column; align-items: flex-start; }
  .el-box-grid { grid-template-columns: 1fr; }
  .el-box-item { border-right: 0; }
  .el-box-meta { min-height: 0; }

  /* Images : ratios adaptés à l'écran étroit plutôt que hauteurs fixes,
     pour éviter les recadrages en « bandeau » */
  .qb-hero-media-photo { aspect-ratio: 1; }   /* photo source carrée : plein cadre */
  .el-box-media { height: auto; aspect-ratio: 4 / 3; }
  .el-box-quote { height: auto; aspect-ratio: 4 / 3; }
  .qb-case-img { height: auto; aspect-ratio: 4 / 3; }
  .el-split-art { min-height: 0; padding: 40px 24px; }
  .el-split-circle { width: min(320px, 82vw); }

  .el-split-copy { padding: 40px 20px; }
  .qb-multistep-left { padding: 40px 20px 24px; }
  .qb-multistep-right { padding: 24px 20px 40px; }

  .el-quality-grid, .qb-cases-row { padding: 0 20px 40px; }
  .qb-cta { padding: 40px 20px; }
  .qb-cta-actions { flex-direction: column; width: 100%; }
  .qb-cta-actions .qb-btn { width: 100%; }
  .qb-cta-art { height: auto; padding: 24px; }
  .qb-cta-photo { width: 100%; max-width: 340px; }

  .qb-footer { padding: 40px 20px 20px; }
  .qb-footer-cols { grid-template-columns: 1fr; gap: 24px; }
  .qb-footer-bot { flex-direction: column; align-items: flex-start; gap: 12px; }
  .qb-footer-caption { flex-direction: column; }
}

/* ==========================================================================
   ACCESSIBILITÉ — mouvement réduit
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
