/* ==========================================================================
   OBAÏA Paris — Sections de la page d’accueil
   Chaque bloc correspond à une future section Shopify (sections/*.liquid)
   Desktop = maquette 1440 · Mobile = maquette 390 · tablette = intermédiaire
   ========================================================================== */

/* 01 · Bandeau ============================================================ */
.bandeau {
  position: relative; z-index: 60;
  height: var(--bandeau-h);
  display: flex; align-items: center; justify-content: center;
  background: var(--brun); color: var(--ivoire);
  overflow: hidden;
}
.bandeau__list {
  display: flex; align-items: center; justify-content: center; gap: 28px;
  font-size: 11px; line-height: 16px; letter-spacing: 0.14em; text-transform: uppercase;
  white-space: nowrap;
}
.bandeau__msg { display: flex; align-items: center; gap: 28px; }
.bandeau__msg + .bandeau__msg::before {
  content: ""; width: 3px; height: 3px; border-radius: 50%; background: var(--grege);
}
.bandeau__nav { display: none; flex: none; color: var(--ivoire); }

/* Défilement (activé par JS, sauf « réduire les animations ») */
.bandeau.is-rotating .bandeau__list { display: grid; }
.bandeau.is-rotating .bandeau__msg {
  grid-area: 1 / 1; justify-content: center;
  opacity: 0; transform: translateY(100%);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.bandeau.is-rotating .bandeau__msg::before { display: none; }
.bandeau.is-rotating .bandeau__msg.is-current { opacity: 1; transform: none; }
.bandeau.is-rotating .bandeau__msg.is-leaving { opacity: 0; transform: translateY(-100%); }

@media (max-width: 1023px) {
  .bandeau { justify-content: space-between; padding: 0 12px; }
  .bandeau__nav { display: block; }
  .bandeau__list { display: grid; flex: 1; min-width: 0; font-size: 10px; line-height: 14px; letter-spacing: 0.12em; }
  .bandeau__msg { grid-area: 1 / 1; justify-content: center; text-align: center; white-space: normal; padding: 0 8px; opacity: 0; }
  .bandeau__msg::before { display: none !important; }
  .bandeau__msg.is-current { opacity: 1; }
}

/* En-tête ================================================================= */
.header {
  position: absolute; z-index: 50; left: 0; right: 0; top: var(--bandeau-h);
  color: var(--ivoire);
}
.header__inner {
  position: relative;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
}
.header__menu { display: flex; gap: 28px; }
.header__menu a { margin-right: -0.12em; } /* compense l’espacement après la dernière lettre (comme Figma) */
.header__menu a, .header__tools a, .header__tools button { transition: opacity .3s var(--ease); }
.header__menu a:hover, .header__tools a:hover, .header__tools button:hover { opacity: .7; }
.header__left-m { display: none; }
.header__logo { position: absolute; left: 50%; top: 16px; transform: translateX(-50%); width: 96px; height: 40px; }
.header__logo img { width: 100%; height: 100%; object-fit: contain; }
.header__logo-brun { display: none; }
.header__tools { display: flex; align-items: center; gap: 22px; }
.header__lang { display: flex; align-items: center; gap: 6px; }
.header__cart { display: flex; align-items: center; gap: 4px; }

/* En-tête fixe (après le hero) */
.header.is-fixed {
  position: fixed; top: 0;
  background: var(--page); color: var(--brun);
  border-bottom: 1px solid var(--filet);
  animation: header-in .9s var(--ease) both;
}
.header.is-fixed .header__logo-ivoire { display: none; }
.header.is-fixed .header__logo-brun { display: block; }
@keyframes header-in { from { transform: translateY(-100%); } to { transform: none; } }

@media (max-width: 1279px) {
  .header__inner { padding: 0 16px; }
  .header__menu, .header__lang, .header__search { display: none; }
  .header__left-m { display: flex; align-items: center; gap: 16px; }
  .header__logo { width: 77px; height: 32px; top: calc((var(--header-h) - 32px) / 2); }
  .header__tools { gap: 16px; }
  .header__tools .i { width: 22px; height: 22px; }
  .header__cart { gap: 2px; font-size: 13px; line-height: 18px; }
}
@media (min-width: 768px) and (max-width: 1279px) {
  .header__inner { padding: 0 var(--gutter); }
}

/* Menu mobile (tiroir) */
.drawer {
  position: fixed; inset: 0; z-index: 100;
  background: var(--page); color: var(--brun);
  display: flex; flex-direction: column;
  transform: translateX(-100%); transition: transform .7s var(--ease);
}
.drawer.is-open { transform: none; }
.drawer__top { height: 56px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--filet); }
.drawer__nav { display: flex; flex-direction: column; padding: 32px 20px; gap: 20px; font-family: var(--serif); font-size: 32px; line-height: 38px; }
.drawer__foot { margin-top: auto; padding: 24px 20px 32px; display: flex; align-items: center; gap: 6px; border-top: 1px solid var(--filet); }

/* 02 · Hero ================================================================ */
.hero {
  position: relative; overflow: hidden;
  /* Bandeau + hero = exactement la hauteur de l’écran (100vh) */
  height: calc(100vh - var(--bandeau-h));
  height: calc(100svh - var(--bandeau-h));
  min-height: 560px;
  color: var(--page);
  background: var(--brun);
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__veil { position: absolute; left: 0; right: 0; pointer-events: none; }
.hero__veil--top { top: 0; height: 111px; background: linear-gradient(to bottom, rgba(28, 28, 32, .65), rgba(28, 28, 32, 0)); }
.hero__veil--bottom { top: 0; bottom: 0; background: linear-gradient(to bottom, rgba(28, 28, 32, 0) 73.5%, rgba(28, 28, 32, .88) 100%); }

.hero__content {
  position: absolute; left: 48px; right: 48px; bottom: 48px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 32px;
}
.hero__main { display: flex; flex-direction: column; align-items: flex-start; gap: 32px; }
.hero__title { color: var(--page); }

.hero__card {
  flex: none; width: 360px; padding: 8px;
  display: flex; align-items: center; gap: 10px;
  background: var(--page); color: var(--brun);
}
.hero__card-img { flex: none; width: 90px; height: 100px; }
.hero__card-txt { flex: 1; height: 100px; display: flex; flex-direction: column; justify-content: space-between; }
.hero__card-top { display: flex; flex-direction: column; gap: 2px; }
.hero__card-name { font-size: 15px; line-height: 24px; }
.hero__card-bottom { height: 24px; display: flex; align-items: center; justify-content: space-between; }
.hero__card-price { font-size: 13px; line-height: 18px; letter-spacing: 0.02em; }
.hero__card .i { transition: transform .4s var(--ease); }
.hero__card:hover .i { transform: translateX(4px); }

@media (max-width: 1023px) {
  .hero { min-height: 600px; }
  .hero__veil--top { height: 140px; background: linear-gradient(to bottom, rgba(28, 20, 18, .45), rgba(28, 20, 18, 0)); }
  .hero__veil--bottom { background: linear-gradient(to bottom, rgba(28, 20, 18, 0) 41.667%, rgba(28, 20, 18, .6) 100%); }
  .hero__content { left: var(--gutter); right: var(--gutter); bottom: 32px; flex-direction: column; align-items: stretch; gap: 20px; }
  .hero__main { gap: 20px; }
  .hero__title { color: var(--ivoire); max-width: 560px; }
  .br-d { display: none; }
  .hero__card { width: 100%; max-width: 420px; }
}
@media (max-width: 767px) {
  .hero { min-height: 560px; }
  .hero__card { max-width: none; }
  .hero__card-name { font-size: 14px; line-height: 22px; }
  .hero__card-price { font-size: 12px; line-height: 16px; }
}

/* 03 · Best-seller ======================================================== */
.bestseller { display: flex; align-items: center; gap: 48px; background: var(--page); }
.bestseller__media { flex: 0 0 50%; aspect-ratio: 4 / 5; }
.bestseller__text { flex: 1; min-width: 0; padding-right: 48px; display: flex; flex-direction: column; gap: 40px; }
.bestseller__info { display: flex; flex-direction: column; gap: 24px; }
.bestseller__head { display: flex; flex-direction: column; gap: 8px; }
.bestseller__desc { color: var(--noir); max-width: 640px; }
.bestseller__buy { display: flex; flex-direction: column; gap: 32px; }
.bestseller__price { display: flex; flex-direction: column; gap: 4px; }
.bestseller__amount { font-family: var(--serif); font-size: 24px; line-height: 32px; color: var(--noir); }
.bestseller__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }

@media (max-width: 1023px) {
  .bestseller { flex-direction: column; align-items: stretch; gap: 0; }
  .bestseller__media { flex: none; width: 100%; aspect-ratio: 390 / 488; max-height: 900px; }
  .bestseller__text { padding: 32px var(--gutter) 64px; gap: 28px; }
  .bestseller__amount { font-size: 22px; line-height: 28px; }
  .bestseller__actions { align-items: center; }
  .bestseller__actions .btn--primaire { width: 100%; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .bestseller__actions { align-items: flex-start; }
  .bestseller__actions .btn--primaire { width: auto; }
}

/* En-tête de section (réutilisé) ========================================= */
.shead { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.shead__titles { display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 767px) {
  .shead__titles { gap: 8px; }
}

/* Badge ------------------------------------------------------------------- */
.badge {
  position: absolute; left: 12px; top: 12px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 8px;
  font-weight: 500; font-size: 10px; line-height: 14px; letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--ivoire); color: var(--noir);
}
.badge--pre { background: var(--brun); color: var(--ivoire); }
.badge__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--stock); }
.badge__short { display: none; }
@media (max-width: 767px) {
  .badge { left: 8px; top: 8px; }
  .badge__long { display: none; }
  .badge__short { display: inline; }
}

/* Nuancier ---------------------------------------------------------------- */
.swatches { display: flex; gap: 6px; }
.swatches i { width: 10px; height: 10px; border-radius: 999px; background: var(--c); }

/* 04 · Nouveautés ========================================================= */
.nouveautes { display: flex; flex-direction: column; gap: 40px; }
.carousel { display: flex; flex-direction: column; gap: 40px; }
.carousel__track {
  display: flex; gap: 20px;
  margin-right: calc(-1 * var(--gutter));
  padding-right: var(--gutter);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-left: 0;
  scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.pcard { flex: none; width: clamp(240px, 20.834vw, 340px); scroll-snap-align: start; }
.pcard__link { display: flex; flex-direction: column; gap: 14px; }
.pcard__media { aspect-ratio: 4 / 5; }
.pcard__media img { transition: transform 1.6s var(--ease); }
.pcard__link:hover .pcard__media img { transform: scale(1.03); }
.pcard__infos { display: flex; flex-direction: column; gap: 4px; }
.pcard__row { display: flex; justify-content: space-between; gap: 8px; color: var(--noir); }
.pcard__col { color: var(--attenue); }
.pcard__price-m { display: none; color: var(--noir); }
.pcard__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 4px; }

.carousel__controls { display: flex; align-items: center; gap: 24px; }
.carousel__progress { position: relative; flex: 1; height: 2px; background: var(--filet); overflow: hidden; }
.carousel__progress span {
  position: absolute; left: 0; top: 0; bottom: 0; width: 34.65%;
  background: var(--brun);
  transform: translateX(calc(var(--p, 0) * (100% / 0.3465 - 100%)));
}
.carousel__arrow {
  width: 42px; height: 42px; flex: none;
  display: grid; place-items: center;
  border: 1px solid var(--grege); color: var(--noir);
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.carousel__arrow:hover { border-color: var(--brun); }
.carousel__arrow:disabled { opacity: .4; cursor: default; }

@media (max-width: 1023px) {
  .pcard { width: calc((100vw - 2 * var(--gutter) - 2 * 12px) / 2.6); }
  .carousel__track { gap: 12px; }
}
@media (max-width: 767px) {
  .nouveautes { gap: 24px; }
  .carousel { gap: 24px; }
  .pcard { width: calc((100vw - 2 * var(--gutter) - 12px) / 2); }
  .pcard__link { gap: 10px; }
  .pcard__row .pcard__price { display: none; }
  .pcard__price-m { display: block; }
  .pcard__meta .note { display: none; }
  .carousel__progress span { width: 25.715%; transform: translateX(calc(var(--p, 0) * (100% / 0.25715 - 100%))); }
  .carousel__arrow { display: none; }
}

/* 05 · Collection ALBA ==================================================== */
.collection { display: flex; flex-direction: column; gap: 40px; }
.collection__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ctile__link { position: relative; display: block; aspect-ratio: 466.667 / 580; color: var(--page); }
.ctile__media { position: absolute; inset: 0; }
.ctile__media img { transition: transform 1.6s var(--ease); }
.ctile__link:hover .ctile__media img { transform: scale(1.03); }
.ctile__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(28, 28, 32, 0) 34%, rgba(28, 28, 32, .97) 83%, #1c1c20 91%);
}
.ctile__body {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 24px;
  padding: 24px 24px 24px 48px;
}
.ctile__text { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.ctile__title { font-family: var(--serif); font-size: 36px; line-height: 44px; }
.ctile__cta { font-weight: 600; font-size: 12px; line-height: 16px; letter-spacing: 0.14em; text-transform: uppercase; }
.ctile__infos { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ctile__name-col { display: flex; flex-direction: column; gap: 6px; min-width: 0; white-space: nowrap; }
.ctile__price-col { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex: none; }
.ctile .dispo .i { color: var(--sable); }
.ctile .note { color: var(--page); }
.ctile .note__stars { color: var(--sable); }

@media (min-width: 1024px) and (max-width: 1399px) {
  .ctile__body { padding: 24px; }
  .ctile__infos { flex-direction: column; align-items: flex-start; }
  .ctile__price-col { flex-direction: row; align-items: center; gap: 12px; }
}
@media (max-width: 1023px) {
  .collection { gap: 24px; padding-top: 0; }
  .collection__grid {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
    padding-inline: var(--gutter); scroll-padding-left: var(--gutter); scrollbar-width: none;
  }
  .collection__grid::-webkit-scrollbar { display: none; }
  .ctile { flex: none; width: 300px; scroll-snap-align: start; }
  .ctile__link { aspect-ratio: 3 / 4; }
  .ctile__body { padding: 24px; }
  .ctile__title { font-size: 28px; line-height: 34px; }
  .ctile__infos { flex-direction: column; align-items: stretch; gap: 6px; }
  .ctile__name-col { gap: 6px; }
  .ctile__name-col .t-name { display: flex; }
  .ctile__price-col { flex-direction: row; justify-content: space-between; align-items: center; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .ctile { width: 340px; }
}
@media (max-width: 767px) {
  .collection .shead .btn { display: none; }
}
@media (max-width: 1023px) {
  .ctile__name-col { white-space: normal; }
}

/* 06 · Cinq façons de le porter (bento) =================================== */
.bento { display: flex; flex-direction: column; gap: 40px; }
.bento__intro { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.bento__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: 1fr 1fr;
  gap: 20px; aspect-ratio: 1344 / 680;
}
.bento__tile { position: relative; margin: 0; }
.bento__tile--main { grid-column: 1; grid-row: 1 / 3; }
.bento__tile--epaule { grid-column: 2; grid-row: 1; }
.bento__tile--bandouliere { grid-column: 3; grid-row: 1; }
.bento__tile--poussette { grid-column: 2 / 4; grid-row: 2; }
.bento__tile--dos { grid-column: 4; grid-row: 1 / 3; }
.bento__tile.media > img { position: absolute; inset: 0; transition: transform 1.6s var(--ease); }
.bento__tile.media:hover > img { transform: scale(1.03); }
.bento__tag {
  position: absolute; left: 20px; bottom: 20px;
  padding: 7px 12px; background: var(--ivoire); color: var(--brun);
  font-weight: 500; font-size: 10px; line-height: 14px; letter-spacing: 0.1em; text-transform: uppercase;
}
.bento__tile--poussette { background: var(--brun); color: var(--page); display: flex; align-items: center; padding: 24px; }
.bento__push-text { position: relative; z-index: 1; width: 330px; max-width: calc(62% - 36px); margin-left: 12px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.bento__push-title { font-family: var(--serif); font-size: clamp(26px, 2.5vw, 36px); line-height: 1.2223; }
.bento__push-link { font-size: 15px; line-height: 24px; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.bento__push-photo { position: absolute; top: 24px; right: 24px; bottom: 24px; width: 37.765%; }

@media (max-width: 1023px) {
  .bento { gap: 24px; }
  .bento__intro { gap: 12px; }
  .bento__intro .t-large { font-size: 14px; line-height: 22px; }
  .bento__grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; gap: 12px; aspect-ratio: auto; }
  .bento__tile--main { grid-column: 1; grid-row: 1 / 3; }
  .bento__tile--epaule { grid-column: 2; grid-row: 1; aspect-ratio: 169 / 170; }
  .bento__tile--bandouliere { grid-column: 2; grid-row: 2; aspect-ratio: 169 / 170; }
  .bento__tile--poussette { grid-column: 1 / 3; grid-row: 3; aspect-ratio: 350 / 300; padding: 20px; }
  .bento__tile--dos { grid-column: 1 / 3; grid-row: 4; aspect-ratio: 350 / 280; }
  .bento__tag { left: 12px; bottom: 12px; padding: 6px 10px; }
  .bento__push-text { width: 48.6%; max-width: none; margin-left: 0; gap: 12px; }
  .bento__spark { width: 18px; height: 18px; }
  .bento__push-title { font-size: 22px; line-height: 28px; }
  .bento__push-link { font-size: 13px; line-height: 20px; }
  .bento__push-photo { width: 38.86%; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .bento__push-title { font-size: 32px; line-height: 38px; }
  .bento__push-link { font-size: 15px; line-height: 24px; }
  .bento__tile--poussette { aspect-ratio: 704 / 420; }
  .bento__tile--dos { aspect-ratio: 704 / 520; }
}

/* 07 · Avis clientes ====================================================== */
.avis { display: flex; flex-direction: column; gap: 56px; }
.avis__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.avis__titles { display: flex; flex-direction: column; gap: 20px; }
.avis__eyebrow, .quote__auth { white-space: pre-wrap; }
.avis__title em { font-style: normal; }
.avis__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.avis__col { display: flex; flex-direction: column; gap: 20px; }
.avis__photo--400 { aspect-ratio: 321 / 400; }
.avis__photo--440 { aspect-ratio: 321 / 440; }
.avis__list { display: none; }
.quote {
  margin: 0; flex: 1;
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  padding: 32px 28px;
  background: var(--ivoire); border: 1px solid var(--filet);
}
.avis__grid .quote { min-height: 260px; }
.avis__grid .quote--220 { min-height: 220px; }
.quote__txt { font-family: var(--serif); font-size: 24px; line-height: 32px; color: var(--brun); }
.quote__auth { color: var(--attenue); }

@media (max-width: 1023px) {
  .avis__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .avis { gap: 20px; }
  .avis__head { display: contents; }
  .avis__titles { gap: 20px; }
  .avis__title { font-size: 40px; line-height: 46px; letter-spacing: -0.01em; }
  .avis__title em { font-style: italic; color: var(--attenue); }
  .avis__link {
    align-self: flex-start; padding: 0;
    font-weight: 400; font-size: 14px; line-height: 22px; letter-spacing: 0; text-transform: none;
    text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px;
  }
  .avis__grid { display: none; }
  .avis__list { display: flex; flex-direction: column; gap: 16px; padding-top: 20px; }
  .avis__list .avis__photo { aspect-ratio: 350 / 420; }
  .avis__list .quote { gap: 28px; padding: 28px 24px; justify-content: flex-start; }
  .quote__txt { font-size: 22px; line-height: 28px; }
}

/* 08 · Pourquoi nous choisir ============================================== */
.pourquoi { display: flex; align-items: flex-start; gap: 128px; }
.pourquoi__aside { flex: none; width: 460px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.pourquoi__photo { width: 100%; aspect-ratio: 460 / 300; }
.pourquoi__photo img { object-position: 50% 38.6%; }
.pourquoi__cards { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.avantage {
  height: 360px; padding: 48px;
  display: flex; flex-direction: column; justify-content: space-between;
  background: var(--sable); color: var(--brun);
  transform-origin: 50% 0;
}
.avantage__top { display: flex; align-items: center; justify-content: space-between; }
.avantage__num { color: var(--attenue); }
.avantage__body { display: flex; flex-direction: column; gap: 16px; }
.avantage__title { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 2.5vw, 36px); line-height: 1.2223; }
.avantage__txt { font-size: 17px; line-height: 28px; color: var(--noir); }
.avantage--brun { background: var(--brun); color: var(--page); }
.avantage--brun .avantage__num, .avantage--noir .avantage__num { color: var(--grege); }
.avantage--brun .avantage__txt, .avantage--noir .avantage__txt { color: var(--page); }
.avantage--grege { background: var(--grege); }
.avantage--grege .avantage__num { color: var(--brun); }
.avantage--noir { background: var(--noir); color: var(--page); }

/* Empilement sticky (activé par JS, désactivé si « réduire les animations ») */
.is-sticky .pourquoi__aside { position: sticky; top: calc(var(--header-h) + 40px); }
.is-sticky .avantage { position: sticky; top: calc(var(--header-h) + 40px + var(--i) * 24px); }

@media (max-width: 1279px) and (min-width: 1024px) {
  .pourquoi { gap: 64px; }
  .pourquoi__aside { width: 380px; }
}
@media (max-width: 1023px) {
  .pourquoi { flex-direction: column; align-items: stretch; gap: 24px; }
  .pourquoi__aside { width: 100%; }
  .pourquoi__photo { aspect-ratio: 350 / 280; }
  .pourquoi__cards { gap: 16px; }
  .avantage { height: 300px; padding: 28px; }
  .avantage__title { font-size: 28px; line-height: 34px; }
  .avantage__txt { font-size: 15px; line-height: 24px; }
  .is-sticky .pourquoi__aside { position: static; }
  .is-sticky .avantage { top: calc(var(--header-h) + 16px + var(--i) * 12px); }
}
@media (max-width: 767px) {
  }

/* 09 · MILA =============================================================== */
.mila { display: flex; align-items: center; gap: 48px; }
.mila__main { flex: 1; aspect-ratio: 648 / 807; }
.mila__main img { object-position: 0 0; }
.mila__content {
  flex: 1; align-self: stretch; margin-block: 2px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  background: var(--blanc);
}
.mila__text { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.mila__intro { display: flex; flex-direction: column; gap: 16px; }
.mila__head { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.mila__badge { position: static; }
.mila__title { font-family: var(--serif); font-weight: 400; font-size: 72px; line-height: 80px; letter-spacing: 0.06em; color: var(--noir); }
.mila__desc { max-width: 440px; color: var(--noir); }
.mila__duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mila__detail { aspect-ratio: 312 / 443; }

@media (max-width: 1023px) {
  .mila { flex-direction: column; align-items: stretch; gap: 0; padding: 0; }
  .mila__main { flex: none; width: 100%; aspect-ratio: 390 / 488; }
  .mila__content { margin: 0; gap: 32px; padding: 32px var(--gutter) 64px; }
  .mila__duo { gap: 12px; }
  .mila__detail { aspect-ratio: 169 / 232; }
}

/* 10 · Notre histoire ===================================================== */
.histoire { display: flex; flex-direction: column; gap: 96px; background: transparent; }
.histoire__row { display: flex; gap: 96px; }
.histoire__text { flex: 0 1 576px; display: flex; flex-direction: column; justify-content: space-between; gap: 25px; }
.histoire__intro { display: flex; flex-direction: column; gap: 28px; }
.histoire__chiffres { display: flex; gap: 96px; }
.chiffre { display: flex; flex-direction: column; gap: 12px; }
.chiffre__n { font-family: var(--serif); font-size: 48px; line-height: 56px; letter-spacing: -0.005em; color: var(--brun); }
.chiffre__l { font-size: 15px; line-height: 24px; color: var(--attenue); }
.histoire__photo { flex: 0 1 672px; margin-left: auto; aspect-ratio: 672 / 780; }
.histoire__valeurs {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 78px;
  padding-top: 56px; border-top: 1px solid var(--filet);
}
.valeur { display: flex; flex-direction: column; gap: 8px; color: var(--brun); }
.valeur__txt { display: flex; flex-direction: column; gap: 12px; }
.valeur__title { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 32px; }
.valeur__desc { font-size: 15px; line-height: 24px; color: var(--attenue); }

@media (max-width: 1279px) and (min-width: 1024px) {
  .histoire__row, .histoire__chiffres { gap: 56px; }
  .histoire__valeurs { gap: 40px; }
}
@media (max-width: 1023px) {
  .histoire { gap: 24px; }
  .histoire__row { flex-direction: column; gap: 24px; }
  .histoire__text { flex: none; gap: 32px; justify-content: flex-start; }
  .histoire__chiffres { gap: 40px; }
  .chiffre__n { font-size: 32px; line-height: 38px; }
  .chiffre__l { font-size: 14px; line-height: 22px; }
  .histoire__photo { flex: none; width: 100%; margin: 0; aspect-ratio: 350 / 440; }
  .histoire__valeurs { grid-template-columns: 1fr 1fr; column-gap: 12px; row-gap: 32px; padding-top: 32px; }
  .valeur { gap: 24px; }
  .valeur__title { font-size: 22px; line-height: 28px; }
  .valeur__desc { font-size: 14px; line-height: 22px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .histoire__photo { aspect-ratio: 4 / 3; }
  .histoire__valeurs { column-gap: 32px; }
}

/* 11 · FAQ ================================================================ */
.faq { display: flex; align-items: flex-start; gap: 128px; }
.faq__aside { flex: none; width: 448px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.faq__photo { width: 100%; aspect-ratio: 4 / 3; }
.faq__list { flex: 1; min-width: 0; border-bottom: 1px solid var(--filet); }
.faq__item { border-top: 1px solid var(--filet); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 28px 0; text-align: left;
  font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 32px; color: var(--brun);
}
.faq__icon { position: relative; flex: none; width: 20px; height: 20px; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; background: var(--brun);
  transition: transform .5s var(--ease), width .5s var(--ease);
}
.faq__icon::before { width: 12px; height: 1px; transform: translate(-50%, -50%); }
.faq__icon::after { width: 1px; height: 12px; transform: translate(-50%, -50%); }
.faq__item.is-open .faq__icon::before { width: 14px; }
.faq__item.is-open .faq__icon::after { transform: translate(-50%, -50%) rotate(90deg) scaleX(0); }
.faq__a { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .5s var(--ease), opacity .5s var(--ease); }
.faq__a > p { overflow: hidden; font-size: 15px; line-height: 24px; color: var(--attenue); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; opacity: 1; }
.faq__item.is-open .faq__a > p { padding-bottom: 28px; margin-top: -12px; }
.faq__btn-m { display: none; }

@media (max-width: 1279px) and (min-width: 1024px) {
  .faq { gap: 64px; }
  .faq__aside { width: 360px; }
}
@media (max-width: 1023px) {
  .faq { flex-direction: column; align-items: stretch; gap: 24px; }
  .faq__aside { width: 100%; }
  .faq__btn-d { display: none; }
  .faq__btn-m { display: inline-flex; }
  .faq__list { width: 100%; }
  .faq__q { min-height: 48px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .faq__btn-m { width: auto; align-self: flex-start; }
}
@media (max-width: 767px) {
  .histoire__chiffres { gap: 24px; }
}
@media (min-width: 380px) and (max-width: 767px) {
  .chiffre__l { white-space: nowrap; }
}

/* 12 · CTA finale ========================================================= */
.cta {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; gap: 80px;
  padding-top: 112px;
  background: var(--brun); color: var(--ivoire);
}
.cta__text { display: flex; flex-direction: column; align-items: center; gap: 40px; text-align: center; }
.cta__intro { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.cta__eyebrow { white-space: pre-wrap; margin-bottom: -8px; }
.cta__title { max-width: 710px; color: var(--ivoire); }
.cta__desc { max-width: 520px; }
.cta__tirages { position: relative; width: 100%; aspect-ratio: 1440 / 440; }
.tirage {
  position: absolute; margin: 0;
  width: 22.9167%; aspect-ratio: 330 / 420; padding: 0.8334%;
  background: var(--page);
  box-shadow: 0 12px 32px rgba(20, 13, 10, .35);
  transform-origin: 0 0; transform: rotate(var(--r));
}
.tirage__photo { width: 100%; height: 100%; }
.tirage--seine     { left: -2.5%;    top: 9.091%; --r: 5deg; }
.tirage--mamans    { left: 16.528%;  top: 7.273%; --r: -2deg; }
.tirage--arcades   { left: 38.611%;  top: 6.364%; --r: 1.5deg; }
.tirage--escalier  { left: 59.236%;  top: 6.364%; --r: -3deg; }
.tirage--poussette { left: 79.583%;  top: 8.182%; --r: 3.5deg; }

@media (max-width: 1023px) {
  .cta { gap: 0; padding-top: 64px; }
  .cta__text { gap: 40px; }
  .cta__intro { gap: 16px; }
  .cta__desc { max-width: 520px; }
  .cta__tirages { aspect-ratio: 390 / 300; }
  .tirage { width: 43.59%; aspect-ratio: 170 / 216; padding: 2.0513%; }
  .tirage--d { display: none; }
  .tirage--seine     { left: -10.256%; top: 38%;    --r: 5deg; }
  .tirage--arcades   { left: 27.436%;  top: 30%;    --r: -2.5deg; }
  .tirage--poussette { left: 67.179%;  top: 39.333%; --r: 3deg; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .cta__tirages { aspect-ratio: 390 / 260; }
  .tirage { width: 34%; }
  .tirage--seine     { left: 2%; }
  .tirage--arcades   { left: 33%; }
  .tirage--poussette { left: 66%; }
}

/* 13 · Newsletter ========================================================= */
.only-m { display: none; }
@media (max-width: 767px) { .only-d { display: none; } .only-m { display: inline; } }
.newsletter { display: flex; align-items: center; gap: 80px; padding-block: 96px; }
.newsletter__text { flex: 1; display: flex; flex-direction: column; gap: 16px; }
.newsletter__desc { max-width: 520px; color: var(--noir); }
.newsletter__form { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.newsletter__row { display: flex; }
.field {
  flex: 1; min-width: 0; height: 48px; padding: 0 16px;
  background: var(--page); border: 1px solid var(--grege); border-radius: 0;
  font-size: 15px; line-height: 24px; color: var(--noir);
  transition: border-color .3s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.field::placeholder { color: var(--attenue); opacity: 1; }
.field:focus { outline: none; border-color: var(--brun); }
.field.is-error { border-color: var(--erreur); }
.newsletter__row .btn { flex: none; width: 151px; }
.newsletter__note { color: var(--attenue); }
.newsletter__note.is-error { color: var(--erreur); }
.newsletter__note.is-ok { color: var(--brun); }

@media (max-width: 1023px) {
  .newsletter { flex-direction: column; align-items: stretch; gap: 14px; padding-block: 56px; }
  .newsletter__text { gap: 14px; }
  .newsletter__desc { font-size: 14px; line-height: 22px; }
  .newsletter__form { gap: 14px; }
  .newsletter__row { flex-direction: column; gap: 14px; }
  .newsletter__row .field { flex: none; }
  .newsletter__row .btn { width: 100%; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .newsletter__row { flex-direction: row; gap: 0; }
  .newsletter__row .btn { width: auto; }
}

/* 14 · Pied de page ======================================================= */
.footer {
  display: flex; flex-direction: column; gap: 64px;
  padding: 80px 48px 32px;
  background: var(--brun); color: var(--grege);
}
.footer__cols { display: flex; justify-content: space-between; gap: 48px; }
.footer__brand { width: 320px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.footer__brand img { width: 96px; height: 40px; object-fit: contain; }
.footer__brand p { max-width: 280px; }
.footer__social { display: flex; gap: 16px; color: var(--ivoire); }
.footer__social a { transition: opacity .3s var(--ease); }
.footer__social a:hover { opacity: .7; }
.footer__social--m { display: none; }
.footer__nav { display: contents; }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__h { color: var(--ivoire); font-weight: 500; }
.footer__h button { display: flex; align-items: center; justify-content: space-between; width: 100%; text-align: left; font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: default; }
.footer__plus { display: none; }
.footer__panel ul { display: flex; flex-direction: column; gap: 12px; }
.footer__panel a, .footer__legal a { transition: color .3s var(--ease); }
.footer__panel a:hover, .footer__legal a:hover { color: var(--ivoire); }
.footer__pays { width: 260px; display: flex; flex-direction: column; gap: 12px; }
.footer__select {
  height: 44px; padding: 0 14px; display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--grege); color: var(--ivoire);
  font-size: 13px; line-height: 20px; text-align: left;
}
.footer__select span { flex: 1; }
.footer__legal {
  display: flex; justify-content: space-between; gap: 24px;
  padding-top: 24px; border-top: 1px solid rgba(253, 250, 240, .18);
}
.footer__legal-links { display: flex; gap: 24px; }

@media (max-width: 1023px) and (min-width: 768px) {
  .footer { padding: 64px var(--gutter) 32px; }
  .footer__cols { flex-wrap: wrap; row-gap: 48px; }
  .footer__brand { width: 100%; }
}
@media (max-width: 767px) {
  .footer { gap: 32px; padding: 48px 20px 32px; }
  .footer__cols { flex-direction: column; gap: 32px; }
  .footer__brand { width: 100%; gap: 16px; }
  .footer__brand p { max-width: none; }
  .footer__social--d { display: none; }
  .footer__social--m { display: flex; }
  .footer__nav { display: block; }
  .footer__col { gap: 0; border-bottom: 1px solid rgba(253, 250, 240, .18); }
  .footer__h button { padding: 18px 0; min-height: 48px; cursor: pointer; }
  .footer__plus { display: block; position: relative; width: 18px; height: 18px; }
  .footer__plus::before, .footer__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10.5px; height: 1px; background: currentColor; transform: translate(-50%, -50%); transition: transform .3s var(--ease); }
  .footer__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
  .footer__col.is-open .footer__plus::after { transform: translate(-50%, -50%) rotate(0deg); }
  .footer__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
  .footer__panel ul { overflow: hidden; }
  .footer__col.is-open .footer__panel { grid-template-rows: 1fr; }
  .footer__col.is-open .footer__panel ul { padding-bottom: 18px; }
  .footer__pays { width: 100%; }
  .footer__pays .footer__h, .footer__pays-note { display: none; }
  .footer__legal { flex-direction: column-reverse; gap: 32px; padding-top: 0; border-top: 0; }
  .footer__legal-links { gap: 16px; flex-wrap: wrap; }
}

/* Tablette : visuels un peu moins hauts quand ils sont empilés */
@media (min-width: 768px) and (max-width: 1023px) {
  .bestseller__media, .mila__main { aspect-ratio: 1 / 1; }
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .quote { padding: 28px 24px; }
  .quote__txt { font-size: 20px; line-height: 28px; }
}

/* FAQ desktop : colonne gauche et liste des questions à la même hauteur.
   La photo remplit l’espace sous les textes et suit l’ouverture des questions. */
@media (min-width: 1024px) {
  .faq { align-items: stretch; }
  .faq__photo { flex: 1; min-height: 200px; aspect-ratio: auto; }
  .faq__photo > img { position: absolute; inset: 0; object-position: 50% 22%; }   /* la photo suit la hauteur, sans l’imposer */
  .faq__list { align-self: flex-start; }
  .faq__q { padding: 40px 0; }
  .faq__item.is-open .faq__a > p { padding-bottom: 40px; margin-top: -24px; }
}
