/* ============================================================
   FUSION — HOME.CSS
============================================================ */

/* ── HERO ─────────────────────────────────────────────────── */
.home-hero {
  position: relative;
  height: 100vh; height: 100svh; min-height: 520px;
  display: flex; align-items: flex-end; justify-content: center;
  overflow: hidden; text-align: center;
}
.home-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,0) 55%, rgba(0,0,0,.85) 88%, #000 100%);
}
.home-hero-content { position: relative; z-index: 2; padding: 0 20px clamp(14px, 2.2vh, 26px); }
.home-hero-overline {
  font-family: var(--f-font-body); font-weight: 300; text-transform: uppercase;
  font-size: clamp(21px, 1.9vw, 36px); letter-spacing: .01em; margin-bottom: .25em;
}
.home-hero-title {
  font-family: var(--f-font-title); font-weight: 700; text-transform: uppercase;
  font-size: clamp(19px, 1.95vw, 36px); line-height: 1.15; letter-spacing: .02em;
}

/* ── ALWAYS EVOLVING ──────────────────────────────────────── */
.home-evolving { padding: 150px 0 110px; }
.home-evolving .btn-f { margin-top: 34px; }
.home-evolving-visual {
  width: 100%; max-width: 440px; margin-left: auto;
  aspect-ratio: 367 / 447;
  background: #020815;
  overflow: hidden;
}
.home-evolving-visual video { width: 100%; height: 100%; object-fit: cover; }

/* ── CHIFFRES CLÉS ────────────────────────────────────────── */
.home-stats { padding: 40px 0 120px; }
.home-stats-numbers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 760px; margin-left: auto; }
.home-stats .stat-card { min-width: 0; padding: 40px 12px 26px; text-align: center; border-left: 1px solid var(--f-line); }
.home-stats .stat-card:first-child { border-left: 0; }
.home-stats .f-num { font-size: clamp(40px, 3.4vw, 64px); }

/* ── NOTRE EXPERTISE ──────────────────────────────────────── */
.home-expertise { padding: 40px 0 120px; }
.home-expertise-row { margin-top: 64px; align-items: flex-start; }
.exp-cards .owl-stage { display: flex; }
.exp-cards .owl-item { display: flex; }
.exp-card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  width: 100%; min-height: 336px;
  border: 1px solid #4a4a4a; border-radius: 6px;
  padding: 24px 22px;
  background: #000;
  transition: border-color .3s ease, background .3s ease;
}
.exp-card-num {
  position: absolute; top: 14px; right: 24px;
  font-family: var(--f-font-ui); font-weight: 300; font-size: 54px; line-height: 1;
  color: #5a5a5a; transition: color .3s ease;
}
.exp-card-icon { position: absolute; top: 30px; left: 22px; width: 54px; height: 54px; opacity: 0; transform: translateY(8px); transition: opacity .3s ease, transform .3s ease; }
.exp-card-title { font-family: var(--f-font-body); font-weight: 300; text-transform: uppercase; font-size: 15px; color: var(--f-white); transition: color .3s ease, transform .35s ease; }
.exp-card-tags {
  font-family: var(--f-font-body); font-size: 13px; line-height: 1.45; color: var(--f-white);
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height .4s ease, opacity .3s ease, margin .3s ease;
}
.exp-card.is-active { border-color: var(--f-blue); }
.exp-card.is-active .exp-card-icon { opacity: 1; transform: none; }
.exp-card.is-active .exp-card-title { color: var(--f-blue); }
.exp-card.is-active .exp-card-tags { max-height: 120px; opacity: 1; margin-top: 40px; }
.exp-card.is-active .exp-card-num { color: #333; }
/* Survol seulement avec une souris (sur mobile le :hover reste "collé" après un tap) */
@media (hover: hover) {
  .exp-card:hover { border-color: var(--f-blue); }
  .exp-card:hover .exp-card-icon { opacity: 1; transform: none; }
  .exp-card:hover .exp-card-title { color: var(--f-blue); }
  .exp-card:hover .exp-card-tags { max-height: 120px; opacity: 1; margin-top: 40px; }
  .exp-card:hover .exp-card-num { color: #333; }
}
/* Tactile : le navigateur garde le scroll vertical, Owl ne gère que le glissé horizontal */
.exp-cards .owl-stage { touch-action: pan-y; }

.home-expertise-aside { text-align: right; }
.home-expertise-aside .sec-sub { margin-top: 0; }
.home-expertise-aside .sec-text { margin-top: 36px; }
.aside-line { display: block; width: 160px; height: 1px; background: #4a4a4a; margin: 60px 0 0 auto; }

/* ── ILS NOUS FONT CONFIANCE ──────────────────────────────── */
.home-trust { background: var(--f-grey-bg); padding: 120px 0 110px; }
.home-trust .sec-text { margin-top: 12px; }
#clientsCarousel { margin-top: 70px; }

/* ── CASE STUDIES ─────────────────────────────────────────── */
.home-cases { padding: 130px 0 120px; }
.home-cases-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  margin-top: 70px;
  border-top: 1px solid #262626;
}
.home-case { display: block; padding: 36px 6% 60px; position: relative; }
.home-case:nth-child(odd) { border-right: 1px solid #262626; }
.home-case:nth-child(-n+2) { border-bottom: 1px solid #262626; }
.home-case-tags { display: block; font-family: var(--f-font-body); font-size: 12px; color: var(--f-silver); }
.home-case-title { display: block; font-family: var(--f-font-body); font-size: 17px; color: var(--f-white); margin: 6px 0 22px; transition: color .25s; }
.home-case-img { display: block; border-radius: 22px; overflow: hidden; aspect-ratio: 1400 / 1061; background: #111; }
.home-case-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.75); transition: filter .5s ease, transform .6s ease; }
.home-case:hover .home-case-title { color: var(--f-blue); }
.home-case:hover .home-case-img img { filter: none; transform: scale(1.03); }
.home-cases-cta { margin-top: 70px; }
