/* HR EXPO — page Notre histoire
   Feuille dédiée reconstruite d'après les deux captures de référence fournies.
   Les règles sont limitées à .history-page pour ne pas modifier les autres pages. */
.history-page{
 --hist-navy:#06213a;--hist-navy-2:#092c4b;--hist-gold:#e2ad4d;
 --hist-cream:#f2e5d3;--hist-ink:#092943;--hist-teal:#319b9c;
 background:var(--hist-navy);color:#fff;overflow-x:hidden;
}
.history-page .page-wrapper{overflow:hidden;background:var(--hist-navy);}
.history-page .archive-hero{
 position:relative;isolation:isolate;overflow:hidden;
 min-height:560px;height:clamp(520px,70vh,650px);
 display:block;padding:28px max(4vw,calc((100vw - 1450px)/2)) 0;
 background:
  linear-gradient(90deg,rgba(2,28,49,.96) 0%,rgba(4,35,57,.88) 43%,rgba(63,47,32,.70) 100%),
  radial-gradient(ellipse at 76% 12%,rgba(220,158,67,.35),transparent 40%),
  #06213a;
}
.history-page .archive-hero:before{
 content:"";position:absolute;inset:0;z-index:-1;opacity:.22;
 background:linear-gradient(90deg,transparent 11%,rgba(255,255,255,.12) 11.2%,transparent 11.5%,transparent 55%,rgba(255,255,255,.10) 55.2%,transparent 55.5%,transparent 76%,rgba(255,255,255,.10) 76.2%,transparent 76.5%);
}
.history-page .archive-hero__texture{
 position:absolute;inset:0;z-index:-1;opacity:.2;pointer-events:none;
 background:radial-gradient(ellipse at 15% 90%,rgba(225,173,77,.38),transparent 25%),radial-gradient(ellipse at 80% 0%,rgba(225,173,77,.28),transparent 34%);
}
.history-page .archive-hero__copy{
 position:relative;z-index:2;width:min(560px,48vw);margin:0 auto 0 35.5%;
 text-align:left;padding-top:0;
}
.history-page .archive-kicker{
 display:inline-flex;align-items:center;justify-content:center;
 min-height:49px;padding:0 15px;border:2px solid var(--hist-gold);
 color:#fff;font:800 20px/1.1 "Raleway",Arial,sans-serif;letter-spacing:0;
}
.history-page .archive-kicker:before,.history-page .archive-eyebrow:before{display:none;}
.history-page .archive-hero h1{
 margin:9px 0 17px;color:#fff;font-family:Georgia,"Times New Roman",serif;
 font-size:clamp(66px,7.1vw,116px);font-weight:500;line-height:.72;
 letter-spacing:-.065em;text-transform:uppercase;
}
.history-page .archive-hero h1 span,.history-page .archive-hero h1 em{display:block;font-style:normal;}
.history-page .archive-hero h1 em{margin:0;color:var(--hist-gold);font-size:.79em;letter-spacing:-.055em;}
.history-page .archive-dates{display:flex;align-items:center;gap:14px;margin-top:24px;color:#fff;}
.history-page .archive-dates i{display:block;width:80px;height:2px;background:var(--hist-gold);}
.history-page .archive-dates strong{font:800 clamp(22px,2.2vw,34px)/1 "Raleway",Arial,sans-serif;letter-spacing:.06em;}
.history-page .archive-hero__copy>p{
 margin:15px 0 0 0;padding-left:14px;border-left:4px solid var(--hist-gold);
 color:rgba(255,255,255,.9);font:italic 500 clamp(15px,1.25vw,19px)/1.42 "Raleway",Arial,sans-serif;
}
.history-page .archive-gallery{
 position:absolute;left:max(5.5vw,calc((100vw - 1440px)/2));bottom:35px;
 width:min(525px,42vw);height:155px;min-height:0;display:flex;align-items:flex-end;
 justify-content:space-between;gap:15px;perspective:none;
}
.history-page .archive-poster{
 position:relative;inset:auto!important;transform:none!important;display:block;flex:1 1 0;
 width:auto;max-width:105px;height:140px;aspect-ratio:auto;overflow:hidden;
 border:1px solid rgba(239,204,143,.9);padding:3px;background:#d9c6a5;
 box-shadow:0 9px 22px rgba(0,0,0,.42);transition:transform .25s ease,box-shadow .25s ease;
}
.history-page .archive-poster img{display:block;width:100%;height:100%;object-fit:cover;}
.history-page .archive-poster:hover{z-index:5;transform:translateY(-8px)!important;box-shadow:0 15px 28px rgba(0,0,0,.5);}
.history-page .archive-gallery__glow{display:none;}
.history-page .archive-timeline{
 position:relative;z-index:4;height:92px;padding:0 3.1%;
 display:flex;align-items:stretch;background:#06243f;border:0;overflow-x:auto;overflow-y:hidden;
 scrollbar-width:thin;scrollbar-color:var(--hist-gold) #06243f;
}
.history-page .archive-timeline__track{
 position:absolute;left:3.5%;right:3.5%;top:52px;height:1px;margin:0;
 background:rgba(225,173,77,.38);
}
.history-page .archive-years{
 position:relative;z-index:1;width:100%;min-width:1040px;
 display:grid;grid-template-columns:repeat(20,minmax(0,1fr));gap:0;align-items:stretch;
}
.history-page .archive-year,.history-page .archive-pause{
 position:relative;min-width:0;min-height:0;height:92px;padding:17px 2px 0;
 display:flex;align-items:center;justify-content:flex-start;flex-direction:column;gap:0;
 border:0;border-radius:0;background:transparent;color:#f3eee5;
 font:800 15px/1.2 Georgia,"Times New Roman",serif;cursor:pointer;
}
.history-page .archive-year:after{
 content:"";display:block;width:11px;height:11px;flex:0 0 11px;margin-top:17px;
 border-radius:50%;background:#d99e3c;border:2px solid #f0c878;
 box-shadow:0 0 0 2px rgba(226,173,77,.13);
}
.history-page .archive-year:hover,.history-page .archive-year:focus-visible,
.history-page .archive-year.is-active{color:#f2bb57;background:transparent;outline:none;}
.history-page .archive-year.is-active:after{width:17px;height:17px;flex-basis:17px;margin-top:14px;background:#fff0c4;border:3px solid #e9b752;box-shadow:0 0 0 5px rgba(226,173,77,.22),0 0 18px 7px rgba(255,213,130,.8);}
.history-page .archive-year--last{color:#f2bb57;font-size:18px;}
.history-page .archive-pause{
 grid-column:auto;height:76px;margin:7px 0 9px;padding:8px 3px 4px;
 background:rgba(91,123,148,.48);color:#fff;justify-content:flex-start;
 font-family:"Raleway",Arial,sans-serif;
}
.history-page .archive-pause strong{font:800 15px/1.2 Georgia,serif;}
.history-page .archive-pause small{margin-top:16px;color:#fff;font:500 8px/1.1 "Raleway",Arial,sans-serif;text-align:center;}
.history-page .archive-feature{
 position:relative;min-height:340px;padding:38px max(3.3vw,calc((100vw - 1500px)/2));
 display:grid;grid-template-columns:minmax(280px,1.05fr) minmax(150px,.62fr) minmax(360px,1.3fr);
 align-items:center;column-gap:clamp(34px,6vw,95px);
 color:var(--hist-ink);
 background:linear-gradient(90deg,#f4e9dc 0%,#eee0cd 100%);
}
.history-page .archive-feature__intro{max-width:450px;align-self:center;}
.history-page .archive-eyebrow{
 color:#a77b3d;font:800 10px/1.2 "Raleway",Arial,sans-serif;letter-spacing:.2em;
}
.history-page .archive-feature__intro h2{
 margin:12px 0 17px;color:#092b46;font:700 clamp(32px,3.1vw,43px)/.98 Georgia,"Times New Roman",serif;
 letter-spacing:-.035em;
}
.history-page .archive-feature__intro h2 em{color:#d79d43;font-style:normal;}
.history-page .archive-feature__intro p{
 margin:0;color:#263747;font:500 14px/1.55 "Raleway",Arial,sans-serif;
}
.history-page .archive-discover{
 display:inline-flex;align-items:center;gap:18px;margin-top:17px;padding:9px 14px;
 border:1px solid #c99543;border-radius:25px;color:#17344b;
 font:700 11px/1.2 "Raleway",Arial,sans-serif;text-decoration:none;
}
.history-page .archive-discover span{color:#bd8738;font-size:19px;line-height:.7;}
.history-page .archive-feature__poster{
 justify-self:center;display:block;width:min(100%,205px);height:266px;padding:5px;
 background:#e9d6b7;border:1px solid #c5a36c;box-shadow:0 9px 18px rgba(30,27,20,.25);
}
.history-page .archive-feature__poster img{display:block;width:100%;height:100%;object-fit:contain;background:#fff;}
.history-page .archive-feature__details{max-width:590px;padding-right:18px;}
.history-page .archive-feature__year{
 display:block;margin:0 0 5px;color:var(--hist-teal);
 font:800 clamp(42px,4vw,62px)/.95 Georgia,"Times New Roman",serif;
}
.history-page .archive-feature__details h3{
 margin:0;color:#0a2b46;font:700 clamp(26px,2.35vw,36px)/1.05 Georgia,"Times New Roman",serif;
}
.history-page .archive-feature__rule{display:block;width:42px;height:2px;margin:20px 0 14px;background:#dba449;}
.history-page .archive-feature__details p{margin:0;color:#59616a;font:500 13px/1.55 "Raleway",Arial,sans-serif;}
.history-page .archive-arrow{
 position:absolute;top:50%;z-index:3;width:36px;height:36px;margin-top:-18px;
 display:grid;place-items:center;border:1px solid #d6a54f;border-radius:50%;
 background:rgba(255,255,255,.35);color:#18364d;font:300 29px/1 Georgia,serif;
 cursor:pointer;transition:background .2s ease,color .2s ease;
}
.history-page .archive-arrow:hover{background:#d9a54c;color:#fff;}
.history-page .archive-arrow--prev{left:59.5%;}
.history-page .archive-arrow--next{right:2.5%;}
.history-page .archive-closing{
 min-height:120px;position:relative;isolation:isolate;overflow:hidden;
 display:flex;align-items:center;justify-content:center;gap:28px;padding:20px 5%;
 background:#06243f;color:#f3eee7;
}
.history-page .archive-closing__crowd{position:absolute;inset:0;z-index:-1;opacity:.13;background:radial-gradient(ellipse at 50% 100%,#d7a34c,transparent 55%);}
.history-page .archive-closing__line{width:180px;height:2px;background:#dba849;}
.history-page .archive-closing strong{color:#e7ad4c;font:italic 700 clamp(38px,5vw,65px)/1 Georgia,serif;white-space:nowrap;}
.history-page .archive-closing strong i{font-style:normal;}
.history-page .archive-closing em{font:italic 500 clamp(19px,2vw,27px)/1.2 Georgia,serif;white-space:nowrap;}
@media(max-width:900px){
 .history-page .archive-hero{height:540px;min-height:540px;padding:35px 5% 0;}
 .history-page .archive-hero__copy{width:min(520px,75vw);margin-left:32%;padding-top:0;}
 .history-page .archive-gallery{left:4%;bottom:24px;width:48%;height:125px;gap:9px;}
 .history-page .archive-poster{height:112px;}
 .history-page .archive-timeline{height:88px;padding:0 12px;}
 .history-page .archive-years{min-width:1100px;}
 .history-page .archive-feature{grid-template-columns:minmax(220px,1fr) 160px minmax(240px,1.1fr);column-gap:24px;padding:32px 4%;}
 .history-page .archive-feature__poster{height:225px;}
 .history-page .archive-arrow--prev{left:62%;}
}
@media(max-width:640px){
 .history-page .archive-hero{height:570px;min-height:570px;padding:28px 22px 0;}
 .history-page .archive-hero__copy{width:100%;max-width:430px;margin:0 auto;padding-top:0;}
 .history-page .archive-kicker{min-height:38px;padding:0 10px;font-size:14px;}
 .history-page .archive-hero h1{font-size:clamp(57px,16vw,82px);margin:13px 0 15px;}
 .history-page .archive-dates{margin-top:18px;}
 .history-page .archive-dates i{width:38px;}
 .history-page .archive-dates strong{font-size:22px;}
 .history-page .archive-hero__copy>p{font-size:14px;}
 .history-page .archive-gallery{left:22px;right:22px;bottom:20px;width:auto;height:125px;gap:10px;}
 .history-page .archive-poster{height:112px;max-width:none;}
 .history-page .archive-timeline{height:88px;}
 .history-page .archive-years{min-width:1100px;}
 .history-page .archive-feature{display:grid;grid-template-columns:1fr 118px;gap:22px;padding:30px 22px 34px;}
 .history-page .archive-feature__intro{grid-column:1/-1;max-width:none;}
 .history-page .archive-feature__intro h2{font-size:34px;}
 .history-page .archive-feature__poster{grid-column:1;grid-row:2;width:118px;height:165px;justify-self:start;}
 .history-page .archive-feature__details{grid-column:2;grid-row:2;padding:0;align-self:center;}
 .history-page .archive-feature__year{font-size:40px;}
 .history-page .archive-feature__details h3{font-size:21px;}
 .history-page .archive-feature__details p{font-size:11px;}
 .history-page .archive-feature__rule{margin:12px 0 9px;}
 .history-page .archive-arrow--prev{left:auto;right:62%;top:auto;bottom:88px;}
 .history-page .archive-arrow--next{right:22px;top:auto;bottom:88px;}
 .history-page .archive-closing{min-height:105px;gap:10px;flex-wrap:wrap;}
 .history-page .archive-closing__line{width:42px;}
 .history-page .archive-closing strong{font-size:36px;}
 .history-page .archive-closing em{font-size:17px;}
}


/* V17 — titre d'archives repositionné pour une lecture immédiate sur grand écran. */
.history-page .archive-hero__copy{
    width:min(650px,56vw);
    margin:0 5.5% 0 auto;
    padding:8px 18px 14px;
    text-align:left;
    background:linear-gradient(90deg,rgba(3,29,49,.10),rgba(3,29,49,.30));
    text-shadow:0 2px 14px rgba(0,0,0,.22);
}
.history-page .archive-hero__copy .archive-kicker{
    box-shadow:0 3px 18px rgba(0,0,0,.16);
}
.history-page .archive-hero__copy h1{
    line-height:.82;
    margin-top:13px;
    margin-bottom:18px;
}
.history-page .archive-hero__copy>p{
    max-width:520px;
}
@media(max-width:900px){
    .history-page .archive-hero__copy{
        width:min(610px,62vw);
        margin:0 2% 0 auto;
        padding:8px 12px 12px;
    }
}
@media(max-width:640px){
    .history-page .archive-hero__copy{
        width:100%;
        max-width:430px;
        margin:0 auto;
        padding:0;
        background:none;
        text-shadow:0 2px 12px rgba(0,0,0,.28);
    }
}


/* V18 — finition visuelle, confort de lecture et transitions d'archives. */
.history-page .archive-hero{
  min-height:590px;
  height:clamp(560px,72vh,690px);
  padding-top:38px;
  background:
    radial-gradient(ellipse at 78% 18%,rgba(222,164,76,.30),transparent 34%),
    radial-gradient(ellipse at 12% 92%,rgba(26,92,126,.30),transparent 32%),
    linear-gradient(112deg,#041c31 0%,#082b48 54%,#342d28 100%);
}
.history-page .archive-hero__copy{
  width:min(690px,54vw);
  margin:0 5.5% 0 auto;
  padding:16px 24px 20px;
  border-left:3px solid rgba(226,173,77,.82);
  background:linear-gradient(100deg,rgba(4,27,46,.16),rgba(4,27,46,.38));
  text-shadow:0 3px 20px rgba(0,0,0,.28);
}
.history-page .archive-kicker{
  min-height:45px;
  padding:0 18px;
  font-size:clamp(14px,1.2vw,18px);
  letter-spacing:.045em;
  background:rgba(4,27,46,.22);
}
.history-page .archive-hero h1{
  font-size:clamp(68px,7.5vw,116px);
  line-height:.82;
  letter-spacing:-.055em;
  margin:16px 0 18px;
}
.history-page .archive-hero h1 em{font-size:.76em;letter-spacing:-.045em;}
.history-page .archive-dates{margin-top:20px;}
.history-page .archive-hero__copy>p{
  max-width:560px;
  margin-top:16px;
  font-size:clamp(15px,1.22vw,18px);
}
.history-page .archive-gallery{
  left:max(5.5vw,calc((100vw - 1440px)/2));
  bottom:34px;
  width:min(550px,43vw);
  height:178px;
  gap:16px;
}
.history-page .archive-poster{
  max-width:108px;
  height:150px;
  padding:4px;
  border:1px solid rgba(244,210,155,.95);
  background:#e9d8bd;
  box-shadow:0 13px 30px rgba(0,0,0,.42);
}
.history-page .archive-poster img{
  object-fit:contain;
  background:#fff;
  transition:transform .35s ease;
}
.history-page .archive-poster:hover img{transform:scale(1.035);}
.history-page .archive-timeline{
  box-shadow:0 8px 24px rgba(0,0,0,.16);
}
.history-page .archive-year{
  transition:color .2s ease,background .2s ease;
}
.history-page .archive-year:focus-visible{
  outline:2px solid #f3c66e;
  outline-offset:-4px;
}
.history-page .archive-feature{
  min-height:365px;
  padding-top:46px;
  padding-bottom:46px;
  column-gap:clamp(30px,5vw,82px);
  background:
    radial-gradient(ellipse at 50% 50%,rgba(255,255,255,.45),transparent 58%),
    linear-gradient(105deg,#f6ecdf 0%,#ecddc8 100%);
}
.history-page .archive-feature__intro h2{line-height:1.02;}
.history-page .archive-feature__poster{
  width:min(100%,218px);
  height:280px;
  padding:6px;
  background:#fff;
  border:1px solid #c7a46d;
  box-shadow:0 15px 32px rgba(27,37,43,.22);
  transition:transform .25s ease,box-shadow .25s ease;
}
.history-page .archive-feature__poster:hover{
  transform:translateY(-5px);
  box-shadow:0 20px 38px rgba(27,37,43,.27);
}
.history-page .archive-feature__poster img{
  object-fit:contain;
}
.history-page .archive-feature__details{padding-right:8px;}
.history-page .archive-feature__year{letter-spacing:-.035em;}
.history-page .archive-feature__details h3{line-height:1.12;}
.history-page .archive-arrow{
  width:40px;height:40px;
  box-shadow:0 4px 14px rgba(20,36,49,.08);
}
.history-page .archive-arrow--prev{left:calc(43% - 20px);}
.history-page .archive-arrow--next{left:calc(57% - 20px);right:auto;}
.history-page .archive-closing{
  min-height:126px;
  background:
    radial-gradient(ellipse at 50% 100%,rgba(216,164,77,.18),transparent 58%),
    #06243f;
}
.history-page #feature-poster.is-image-error{
  opacity:.35;
  background:#eee;
}
.history-page .history-poster-dialog{
  width:min(92vw,900px);
  max-width:92vw;
  max-height:92vh;
  padding:22px;
  border:1px solid rgba(226,173,77,.8);
  background:#061f36;
  color:#fff;
  box-shadow:0 24px 80px rgba(0,0,0,.55);
}
.history-page .history-poster-dialog::backdrop{background:rgba(0,12,23,.84);}
.history-page .history-poster-dialog img{
  display:block;
  max-width:100%;
  max-height:78vh;
  width:auto;
  height:auto;
  margin:0 auto;
  object-fit:contain;
  background:#fff;
}
.history-page .history-poster-dialog p{
  margin:12px 0 0;
  color:#f0d29c;
  text-align:center;
  font:600 13px/1.4 "Raleway",Arial,sans-serif;
}
.history-page .history-poster-dialog__close{
  position:absolute;
  top:7px;right:10px;
  width:36px;height:36px;
  border:1px solid rgba(255,255,255,.45);
  border-radius:50%;
  background:#0b3554;
  color:#fff;
  font-size:25px;
  line-height:1;
  cursor:pointer;
}
@media(max-width:900px){
  .history-page .archive-hero{height:560px;min-height:560px;padding-top:30px;}
  .history-page .archive-hero__copy{width:min(610px,62vw);margin:0 2% 0 auto;padding:12px 15px 15px;}
  .history-page .archive-gallery{width:49%;height:145px;bottom:25px;}
  .history-page .archive-poster{height:122px;}
  .history-page .archive-feature{column-gap:22px;}
  .history-page .archive-arrow--prev{left:calc(44% - 18px);}
  .history-page .archive-arrow--next{left:calc(58% - 18px);}
}
@media(max-width:640px){
  .history-page .archive-hero{height:590px;min-height:590px;padding:25px 20px 0;}
  .history-page .archive-hero__copy{
    width:100%;max-width:440px;margin:0 auto;padding:0;
    border-left:0;background:none;text-align:center;
  }
  .history-page .archive-kicker{min-height:36px;font-size:13px;}
  .history-page .archive-hero h1{font-size:clamp(55px,15vw,78px);line-height:.84;}
  .history-page .archive-dates{justify-content:center;}
  .history-page .archive-hero__copy>p{margin:13px auto 0;font-size:13px;}
  .history-page .archive-gallery{left:18px;right:18px;bottom:22px;width:auto;height:122px;gap:8px;}
  .history-page .archive-poster{height:108px;max-width:none;padding:3px;}
  .history-page .archive-feature{padding:28px 20px 34px;column-gap:16px;}
  .history-page .archive-feature__poster{width:118px;height:165px;}
  .history-page .archive-feature__details h3{font-size:20px;}
  .history-page .archive-arrow--prev{left:auto;right:calc(50% + 8px);bottom:88px;}
  .history-page .archive-arrow--next{left:auto;right:20px;bottom:88px;}
  .history-page .history-poster-dialog{padding:12px;}
}


/* V20 — alignement du bloc éditorial sur la ligne basse des affiches du bandeau. */
@media (min-width: 901px) {
  .history-page .archive-hero {
    position: relative;
  }
  .history-page .archive-hero__copy {
    position: absolute;
    right: 5.5vw;
    bottom: 34px;
    width: min(690px, 52vw);
    margin: 0;
    padding: 12px 22px 0;
    align-self: auto;
  }
  .history-page .archive-hero__copy > p {
    margin-bottom: 0;
  }
  .history-page .archive-gallery {
    bottom: 34px;
  }
}

@media (min-width: 641px) and (max-width: 900px) {
  .history-page .archive-hero__copy {
    position: absolute;
    right: 2%;
    bottom: 25px;
    width: 46vw;
    margin: 0;
    padding: 10px 12px 0;
  }
  .history-page .archive-gallery {
    bottom: 25px;
    width: 48%;
  }
}

@media (max-width: 640px) {
  .history-page .archive-hero__copy {
    position: relative;
    right: auto;
    bottom: auto;
    margin: 0 auto;
    padding: 0;
  }
}
