
/* =========================================================
   FENIFOOT — HISTORIQUE / LUXURY EDITION
   Header + Footer are shared project components.
   ========================================================= */

#ff-historique{
  --fh-green:#062f23;
  --fh-green-2:#0a4934;
  --fh-deep:#021711;
  --fh-orange:#e97908;
  --fh-gold:#d8a64d;
  --fh-gold-light:#f1d08a;
  --fh-paper:#f4f1ea;
  --fh-white:#fff;
  --fh-text:#25372f;
  --fh-muted:#718078;
  background:var(--fh-paper);
  color:var(--fh-text);
  overflow:hidden;
}

#ff-historique *{box-sizing:border-box}

/* ---------- HERO ---------- */
.fh-hero{
  min-height:560px;
  position:relative;
  display:flex;
  align-items:flex-end;
  isolation:isolate;
  color:#fff;
  background:
    radial-gradient(circle at 76% 20%,rgba(216,166,77,.26),transparent 26%),
    radial-gradient(circle at 100% 100%,rgba(233,121,8,.16),transparent 34%),
    linear-gradient(135deg,#01140e 0%,#062f23 48%,#0a4934 100%);
}
.fh-hero::before{
  content:"";
  position:absolute;
  inset:0;
  opacity:.13;
  background:
    linear-gradient(115deg,transparent 0 42%,rgba(255,255,255,.14) 42.1%,transparent 42.4%),
    linear-gradient(65deg,transparent 0 57%,rgba(216,166,77,.22) 57.1%,transparent 57.35%);
}
.fh-hero::after{
  content:"HISTOIRE";
  position:absolute;
  right:-30px;
  bottom:-40px;
  color:rgba(255,255,255,.035);
  font-size:clamp(130px,20vw,300px);
  font-weight:900;
  line-height:.8;
  letter-spacing:-.08em;
  z-index:-1;
}
.fh-hero-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(1,20,14,.97) 0%,rgba(1,20,14,.70) 53%,rgba(1,20,14,.16) 100%);
}
.fh-hero-content{
  position:relative;
  z-index:2;
  width:min(1240px,calc(100% - 56px));
  margin:auto;
  padding:0 0 88px;
}
.fh-kicker{
  display:inline-flex;
  align-items:center;
  gap:13px;
  color:var(--fh-gold-light);
  font-size:11px;
  font-weight:900;
  letter-spacing:.24em;
  text-transform:uppercase;
}
.fh-kicker::before{
  content:"";
  width:36px;height:1px;
  background:var(--fh-orange);
}
.fh-hero h1{
  margin:24px 0 0;
  max-width:900px;
  font-size:clamp(58px,8vw,112px);
  line-height:.88;
  letter-spacing:-.065em;
  font-weight:900;
}
.fh-hero h1 span{
  color:var(--fh-gold-light);
  font-style:italic;
}
.fh-hero p{
  max-width:680px;
  margin:32px 0 0;
  color:rgba(255,255,255,.72);
  font-size:17px;
  line-height:1.8;
}
.fh-hero-line{
  width:94px;height:4px;
  margin-top:35px;
  background:linear-gradient(90deg,var(--fh-orange),var(--fh-gold));
}

/* ---------- INTRO ---------- */
.fh-intro{
  padding:115px 0 90px;
  background:
    radial-gradient(circle at 15% 30%,rgba(216,166,77,.10),transparent 24%),
    var(--fh-paper);
}
.fh-container{
  width:min(1220px,calc(100% - 56px));
  margin:auto;
}
.fh-intro .fh-container{
  max-width:930px;
  text-align:center;
}
.fh-section-kicker{
  color:var(--fh-orange);
  font-size:10px;
  font-weight:900;
  letter-spacing:.25em;
}
.fh-intro h2{
  margin:17px 0 0;
  color:var(--fh-deep);
  font-size:clamp(38px,5.3vw,70px);
  line-height:1;
  letter-spacing:-.055em;
}
.fh-intro h2 span{color:var(--fh-green-2)}
.fh-intro p{
  max-width:780px;
  margin:28px auto 0;
  color:var(--fh-muted);
  font-size:16px;
  line-height:1.9;
}

/* ---------- TIMELINE ---------- */
.fh-timeline{
  position:relative;
  padding:35px 0 130px;
}
.fh-line{
  position:absolute;
  top:0;bottom:0;
  left:50%;
  width:1px;
  transform:translateX(-50%);
  background:linear-gradient(to bottom,transparent 0,#c79b4c 7%,#e97908 50%,#c79b4c 93%,transparent 100%);
}
.fh-event{
  position:relative;
  width:50%;
  padding:34px 72px 55px 0;
  opacity:0;
  transform:translateY(35px);
  transition:opacity .75s ease,transform .75s cubic-bezier(.2,.75,.25,1);
}
.fh-event.fh-visible{opacity:1;transform:none}
.fh-event.is-right{
  margin-left:50%;
  padding:34px 0 55px 72px;
}
.fh-node{
  position:absolute;
  top:61px;
  right:-8px;
  width:16px;height:16px;
  border-radius:50%;
  background:var(--fh-orange);
  border:4px solid var(--fh-paper);
  box-shadow:0 0 0 1px var(--fh-gold),0 0 0 7px rgba(216,166,77,.10);
  z-index:4;
}
.fh-event.is-right .fh-node{left:-8px;right:auto}

/* Luxury card */
.fh-card{
  position:relative;
  display:grid;
  grid-template-columns:42% 58%;
  min-height:390px;
  overflow:hidden;
  border:1px solid rgba(6,47,35,.12);
  border-radius:3px;
  background:#fff;
  box-shadow:0 22px 70px rgba(4,31,23,.12);
  transition:transform .4s ease,box-shadow .4s ease;
}
.fh-event.is-right .fh-card{grid-template-columns:58% 42%}
.fh-card:hover{
  transform:translateY(-7px);
  box-shadow:0 30px 90px rgba(4,31,23,.18);
}

/* IMPORTANT: image is never cropped */
.fh-card-media{
  position:relative;
  min-height:390px;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  background:
    radial-gradient(circle at 50% 35%,rgba(216,166,77,.18),transparent 38%),
    linear-gradient(145deg,#082f23,#021711);
}
.fh-card-media::after{
  content:"";
  position:absolute;
  inset:12px;
  border:1px solid rgba(241,208,138,.45);
  pointer-events:none;
  z-index:2;
}
.fh-card-media img{
  position:relative;
  z-index:1;
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
  display:block;
  padding:18px;
  transition:transform .6s ease,filter .6s ease;
}
.fh-card:hover .fh-card-media img{
  transform:scale(1.035);
  filter:saturate(1.04);
}
.fh-year{
  position:absolute;
  z-index:5;
  left:18px;
  top:18px;
  padding:9px 15px;
  color:#fff;
  background:rgba(2,23,17,.90);
  border:1px solid rgba(241,208,138,.55);
  font-size:12px;
  font-weight:900;
  letter-spacing:.13em;
  text-transform:uppercase;
}
.fh-card-body{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:42px 40px;
}
.fh-eyebrow{
  color:var(--fh-orange);
  font-size:9px;
  font-weight:900;
  letter-spacing:.23em;
}
.fh-card-body h2{
  margin:13px 0 20px;
  color:var(--fh-deep);
  font-size:clamp(25px,2.3vw,35px);
  line-height:1.03;
  letter-spacing:-.035em;
}
.fh-card-body h2::after{
  content:"";
  display:block;
  width:42px;
  height:3px;
  margin-top:17px;
  background:var(--fh-orange);
}
.fh-card-body p{
  margin:0;
  color:#65736b;
  font-size:13.5px;
  line-height:1.9;
}

/* Alternate visual balance */
.fh-event.is-right .fh-card-media{order:2}
.fh-event.is-right .fh-card-body{order:1}

/* ---------- END ---------- */
.fh-end{
  position:relative;
  padding:125px 24px;
  overflow:hidden;
  color:#fff;
  text-align:center;
  background:
    radial-gradient(circle at 50% 0,rgba(216,166,77,.22),transparent 32%),
    linear-gradient(135deg,#01140e,#062f23 60%,#0a4934);
}
.fh-end::before{
  content:"FENIFOOT";
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  white-space:nowrap;
  color:rgba(255,255,255,.025);
  font-size:clamp(100px,17vw,250px);
  font-weight:900;
  letter-spacing:-.08em;
}
.fh-end-inner{position:relative;z-index:1;max-width:850px;margin:auto}
.fh-end span{
  color:var(--fh-gold-light);
  font-size:10px;
  font-weight:900;
  letter-spacing:.28em;
}
.fh-end h2{
  margin:18px 0 17px;
  font-size:clamp(38px,5vw,64px);
  line-height:.98;
  letter-spacing:-.05em;
}
.fh-end p{
  max-width:700px;
  margin:auto;
  color:rgba(255,255,255,.68);
  font-size:15px;
  line-height:1.85;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width:980px){
  .fh-card,
  .fh-event.is-right .fh-card{
    grid-template-columns:1fr;
  }
  .fh-event.is-right .fh-card-media{order:1}
  .fh-event.is-right .fh-card-body{order:2}
  .fh-card-media{min-height:390px;height:390px}
}

@media (max-width:800px){
  .fh-hero{min-height:470px}
  .fh-hero-content{width:min(100% - 36px,700px);padding-bottom:65px}
  .fh-intro{padding:78px 0 60px}
  .fh-container{width:min(100% - 36px,700px)}
  .fh-line{left:12px;transform:none}
  .fh-event,.fh-event.is-right{
    width:100%;
    margin-left:0;
    padding:28px 0 45px 40px;
  }
  .fh-node,.fh-event.is-right .fh-node{
    left:4px;
    right:auto;
  }
  .fh-card-media{height:370px;min-height:370px}
}

@media (max-width:520px){
  .fh-hero{min-height:410px}
  .fh-hero h1{font-size:54px}
  .fh-hero p{font-size:14px}
  .fh-intro h2{font-size:38px}
  .fh-card-media{height:330px;min-height:330px}
  .fh-card-media img{padding:14px}
  .fh-card-media::after{inset:9px}
  .fh-card-body{padding:30px 25px 34px}
  .fh-card-body h2{font-size:26px}
  .fh-card-body p{font-size:13px;line-height:1.8}
}
