/* Histoire — chapitres visuels dans la continuité de l'accueil. */
#app14 .histoire-page { background: #111; color: #f7f7f7; font-family: "Segoe UI", Arial, sans-serif; }
#app14 .histoire-hero { width: min(1340px, calc(100% - 36px)); height: 470px; margin: 20px auto 0; border: 1px solid rgba(244,185,66,.2); border-radius: 28px; background: #242424; }
#app14 .histoire-hero__img { display: block; object-position: center 47%; }
#app14 .histoire-hero__overlay { background: linear-gradient(90deg,rgba(12,12,12,.92) 0%,rgba(12,12,12,.73) 43%,rgba(12,12,12,.14) 100%); }
#app14 .histoire-hero__content { align-items: flex-start; justify-content: center; width: min(1170px,calc(100% - 64px)); margin: auto; }
#app14 .histoire-hero__eyebrow, #app14 .histoire-heading__eyebrow { color: #f4c45b; font-size: .75rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
#app14 .histoire-hero__eyebrow i { margin-right: 8px; font-size: .52rem; vertical-align: middle; }
#app14 .histoire-hero__title { max-width: 640px; margin: 17px 0 15px; color: #fff; font-size: clamp(2.7rem,5vw,5rem); font-weight: 850; line-height: 1.03; letter-spacing: -.055em; text-align: left; text-shadow: none; }
#app14 .histoire-hero__title em { color: #f4c45b; font-style: normal; }
#app14 .histoire-hero__subtitle { max-width: 520px; margin: 0; color: #d0d0d0; font-size: 1rem; line-height: 1.6; letter-spacing: 0; }
#app14 .histoire-hero__link { display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; padding: 13px 22px; border-radius: 999px; background: #f4b942; color: #201807; font-size: .85rem; font-weight: 800; text-decoration: none; }
#app14 .histoire-hero__link:hover { background: #ffd06a; color: #201807; }
#app14 .histoire-main { padding: 74px 20px 96px; scroll-margin-top: 82px; }
#app14 .histoire-container { max-width: 1120px; padding: 0; }
#app14 .histoire-heading { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 34px; }
#app14 .histoire-heading h2 { max-width: 650px; margin: 11px 0 0; color: #fff; font-size: clamp(2rem,3.5vw,3.2rem); font-weight: 850; letter-spacing: -.045em; line-height: 1.13; }
#app14 .histoire-heading h2 span { color: #f4b942; }
#app14 .histoire-heading p { max-width: 310px; margin: 0 0 3px; color: #a8a8a8; font-size: .9rem; line-height: 1.6; }
#app14 .histoire-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
#app14 .histoire-card { position: relative; display: grid; grid-template-columns: minmax(0,43%) minmax(0,57%); min-height: 390px; border: 1px solid rgba(255,255,255,.1); border-radius: 22px; background: #202020; box-shadow: none; transition: border-color .25s ease,transform .25s ease; }
#app14 .histoire-card:hover { transform: translateY(-3px); border-color: rgba(244,185,66,.43); box-shadow: 0 20px 45px rgba(0,0,0,.22); }
#app14 .histoire-card:nth-child(even) { grid-template-columns: minmax(0,57%) minmax(0,43%); }
#app14 .histoire-card__img-wrap { position: relative; grid-column: 1; grid-row: 1; height: 100%; min-height: 390px; background: #f5f2ea; }
#app14 .histoire-card:nth-child(even) .histoire-card__img-wrap { grid-column: 2; }
#app14 .histoire-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
#app14 .histoire-card__body { display: flex; flex-direction: column; justify-content: center; grid-column: 2; grid-row: 1; padding: 70px clamp(27px,4vw,58px) 34px; }
#app14 .histoire-card:nth-child(even) .histoire-card__body { grid-column: 1; }
#app14 .histoire-card__date { position: absolute; top: 27px; left: calc(43% + clamp(27px,4vw,58px)); z-index: 1; display: inline-flex; width: auto; padding: 0; background: transparent; color: #f4c45b; font-size: .79rem; font-weight: 800; letter-spacing: .035em; text-transform: capitalize; }
#app14 .histoire-card:nth-child(even) .histoire-card__date { left: clamp(27px,4vw,58px); }
#app14 .histoire-card__index { position: absolute; right: 25px; bottom: 16px; z-index: 1; color: rgba(244,185,66,.12); font-size: 5rem; font-weight: 900; line-height: 1; }
#app14 .histoire-card:nth-child(even) .histoire-card__index { right: calc(43% + 22px); }
#app14 .histoire-card__title { position: relative; z-index: 2; margin: 0 0 15px; color: #fff; font-size: clamp(1.35rem,2vw,1.85rem); font-weight: 800; line-height: 1.2; letter-spacing: -.025em; }
#app14 .histoire-card__text { position: relative; z-index: 2; color: #bdbdbd; font-family: "Segoe UI",Arial,sans-serif; font-size: .96rem; line-height: 1.75; }
#app14 .histoire-status { padding: 32px; border: 1px solid rgba(244,185,66,.2); border-radius: 16px; background: #202020; color: #c5c5c5; }
#app14 .histoire-status button { margin-left: 10px; padding: 7px 15px; border: 1px solid #f4b942; border-radius: 999px; background: transparent; color: #f4b942; }
body:has(#app14 .histoire-page) .footer { margin-top: 0 !important; }
@media (max-width: 760px) {
  #app14 .histoire-hero { width: calc(100% - 24px); height: 450px; margin-top: 12px; border-radius: 21px; }
  #app14 .histoire-hero__overlay { background: linear-gradient(0deg,rgba(12,12,12,.93),rgba(12,12,12,.33)); }
  #app14 .histoire-hero__content { width: calc(100% - 46px); justify-content: flex-end; padding-bottom: 33px; }
  #app14 .histoire-hero__title { font-size: clamp(2.35rem,9vw,3.5rem); }
  #app14 .histoire-hero__subtitle { font-size: .88rem; }
  #app14 .histoire-main { padding: 48px 14px 86px; scroll-margin-top: 74px; }
  #app14 .histoire-heading { display: block; margin-bottom: 25px; }
  #app14 .histoire-heading p { max-width: 480px; margin-top: 13px; }
  #app14 .histoire-card, #app14 .histoire-card:nth-child(even) { display: flex; flex-direction: column; min-height: 0; }
  #app14 .histoire-card__img-wrap { width: 100%; height: 245px; min-height: 0; }
  #app14 .histoire-card__body { padding: 57px 23px 39px; }
  #app14 .histoire-card__date, #app14 .histoire-card:nth-child(even) .histoire-card__date { top: 267px; left: 23px; }
  #app14 .histoire-card__index, #app14 .histoire-card:nth-child(even) .histoire-card__index { right: 15px; bottom: 12px; font-size: 4rem; }
  #app14 .histoire-card__text { font-size: .9rem; }
}
