/* Accueil ------------------------------------------------------------------ */

/* Hero vidéo */
.home-hero {
  position: relative; overflow: hidden; background: var(--ink); color: var(--white);
  min-height: clamp(600px, 92vh, 900px); display: flex; align-items: flex-end;
}
.home-hero__shade { background: linear-gradient(180deg, rgba(9, 9, 2, .5) 0%, rgba(9, 9, 2, .1) 30%, rgba(9, 9, 2, .8) 100%); }
.home-hero__inner {
  position: relative; width: 100%; max-width: var(--wrap); margin: 0 auto;
  padding: clamp(140px, 16vw, 220px) var(--gutter) clamp(96px, 9vw, 128px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr));
  gap: clamp(28px, 4vw, 64px); align-items: end;
}
.home-hero__title, .home-hero__aside { display: flex; flex-direction: column; gap: 22px; }
.home-hero__aside { max-width: 520px; }
.home-hero__h1 { color: var(--white); display: flex; flex-wrap: wrap; align-items: flex-end; column-gap: .25em; row-gap: .05em; }
.home-hero__smile { width: 1.3em; transform: translateY(-.06em); }

/* Partenaire + cartes employeurs / candidats */
.home-partner__inner {
  padding-top: var(--section-y); padding-bottom: clamp(20px, 3vw, 40px);
  display: flex; flex-direction: column; gap: clamp(40px, 5vw, 72px);
}
.home-partner__intro {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr));
  gap: clamp(32px, 5vw, 80px); align-items: end;
}
.home-partner__head, .home-partner__aside { display: flex; flex-direction: column; gap: 22px; }
.home-partner__aside { max-width: 540px; }
.home-partner__smile { display: inline-block; width: 1.15em; margin-left: .18em; vertical-align: -.12em; }

.split-cards { display: flex; flex-wrap: wrap; gap: 12px; }
.split-card {
  position: relative; flex: 1; min-width: min(100%, 300px); height: clamp(380px, 56vh, 600px);
  border-radius: var(--radius-lg); overflow: hidden; color: var(--white); background: var(--ink);
  transition: flex .7s var(--ease-out);
}
.split-card:hover { opacity: 1; }
@media (hover: hover) {
  .split-card:hover { flex: 1.6; }
}
.split-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.split-card:hover .split-card__img { transform: scale(1.05); }
.split-card__shade { background: linear-gradient(180deg, rgba(9, 9, 2, 0) 35%, rgba(9, 9, 2, .78) 100%); }
.split-card__body {
  position: absolute; left: clamp(24px, 3vw, 44px); right: 24px; bottom: clamp(24px, 3vw, 44px);
  display: flex; flex-direction: column; gap: 14px; max-width: 480px;
}
.split-card__body h2 { color: var(--white); }
.split-card__btn { align-self: flex-start; margin-top: 4px; padding: 13px 22px; }

/* Pourquoi igeneve */
.home-why {
  padding-block: clamp(72px, 10vw, 140px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: clamp(40px, 6vw, 96px); align-items: center;
}
.home-why__text { display: flex; flex-direction: column; gap: 28px; }
.home-why__title { font-size: clamp(36px, 4.4vw, 64px); line-height: 1; font-weight: 600; letter-spacing: -.015em; }
.home-why__lead { font-size: clamp(19px, 1.5vw, 22px); line-height: 1.45; font-weight: 600; }
.home-why__body { max-width: 600px; }
.home-why__stats { display: flex; gap: clamp(24px, 4vw, 56px); flex-wrap: wrap; padding-top: 12px; border-top: 1px solid var(--line); }
.home-why__media { position: relative; aspect-ratio: 4 / 5; max-height: 820px; border-radius: var(--radius-lg); overflow: hidden; }

/* Bandeau RH externalisé */
.home-rh { padding-bottom: var(--section-y); }
.home-rh__banner {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink);
  min-height: clamp(420px, 58vh, 600px); display: flex; align-items: center;
}
.home-rh__video { object-position: 70% center; }
.home-rh__shade { background: linear-gradient(90deg, rgba(9, 9, 2, .78) 0%, rgba(9, 9, 2, .45) 38%, rgba(9, 9, 2, 0) 65%); }
.home-rh__title {
  position: relative; color: var(--white);
  padding: clamp(40px, 6vw, 88px) clamp(28px, 5vw, 72px) clamp(120px, 14vw, 180px);
  display: flex; flex-direction: column; gap: clamp(8px, 1vw, 14px);
}
.home-rh__h2 { display: flex; flex-direction: column; gap: clamp(8px, 1vw, 14px); font-size: clamp(40px, 6vw, 88px); line-height: 1; font-weight: 800; letter-spacing: -.035em; }
.home-rh__line { display: flex; gap: .25em; flex-wrap: wrap; align-items: center; }
.home-rh__smile { width: 1.5em; transform: translateY(.12em); }

.home-rh__cards {
  position: relative; margin: clamp(-110px, -8vw, -80px) clamp(12px, 2vw, 32px) 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 20px 50px rgba(9, 9, 2, .12);
}
.home-rh__card {
  display: flex; flex-direction: column; gap: 14px; padding: clamp(28px, 3vw, 40px);
  background: var(--white); transition: background .3s;
}
.home-rh__card + .home-rh__card { border-left: 1px solid #e2e2e2; }
.home-rh__card:hover { opacity: 1; background: var(--gray); }
.home-rh__card h3 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; }
.home-rh__card p { font-size: 16px; line-height: 1.6; flex: 1; }
.home-rh__card .eyebrow { letter-spacing: .1em; padding-top: 12px; }
.home-rh__card--dark { background: var(--ink); color: var(--white); }
.home-rh__card--dark:hover { background: var(--ink-soft); }
@media (max-width: 899px) {
  .home-rh__card + .home-rh__card { border-left: 0; border-top: 1px solid #e2e2e2; }
}

.home-sectors__outro { max-width: 820px; }

/* Employeurs : visages qui changent au survol */
.home-emp__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
  gap: clamp(32px, 5vw, 80px); align-items: center;
}
.faces { position: relative; aspect-ratio: 872 / 950; border-radius: var(--radius-lg); overflow: hidden; background: var(--white); }
@media (hover: hover) { .faces { cursor: crosshair; } }
.faces__stage { position: absolute; inset: 0 0 auto; height: 75.5%; overflow: hidden; background: var(--gray); }
.faces__img {
  position: absolute; left: 0; top: 0; width: 100%; opacity: 0;
  transform: translate(var(--fx, 0px), var(--fy, 0px)) rotate(var(--fr, 0deg));
  transition: opacity .35s ease, transform .6s var(--ease-out);
}
.faces__img.is-active { opacity: 1; }
.faces__smile { position: absolute; left: 50%; top: 81%; width: 31%; transform: translateX(-50%); }

.home-emp__text { display: flex; flex-direction: column; gap: 22px; }
.home-emp__title { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.03; font-weight: 600; letter-spacing: -.015em; }
.home-emp__body { font-size: 16px; line-height: 1.65; }
.home-emp .arrow-links { gap: 40px; }

/* Bandeau « Vous avez une offre d'emploi ? » */
.offer-band__top { padding: clamp(72px, 8vw, 120px) var(--gutter) clamp(110px, 10vw, 150px); }
.offer-band__head { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.offer-band__head .h2 { line-height: 1.05; max-width: 720px; }
.offer-band__smile { width: clamp(90px, 9vw, 130px); }
.offer-band__bottom { padding: 0 var(--gutter) clamp(72px, 8vw, 110px); }
.offer-band__card {
  max-width: 1200px; margin: clamp(-90px, -7vw, -64px) auto 0; background: var(--white);
  box-shadow: 0 24px 60px rgba(9, 9, 2, .08); padding: clamp(36px, 5vw, 80px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(32px, 5vw, 80px);
}
.offer-band__lead { font-size: clamp(22px, 2vw, 28px); line-height: 1.4; font-weight: 600; letter-spacing: -.01em; }
.offer-band__text { display: flex; flex-direction: column; gap: 28px; font-size: 17px; line-height: 1.75; }

/* Solutions RH (icônes) */
.home-solutions__inner { max-width: 1280px; display: flex; flex-direction: column; align-items: center; gap: clamp(40px, 5vw, 64px); }
.home-solutions__head { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; max-width: 1000px; }
.home-solutions__title { font-size: clamp(32px, 3.8vw, 54px); line-height: 1.08; font-weight: 600; letter-spacing: -.015em; text-wrap: balance; }
.solution-grid { width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: clamp(20px, 3vw, 40px); }
.solution {
  display: flex; flex-direction: column; gap: 16px; padding: 28px 8px 28px 0;
  border-top: 1px solid var(--line); transition: border-color .3s, opacity .8s ease, transform .8s var(--ease-out);
}
.solution:hover { opacity: 1; border-top-color: var(--ink); }
.solution__icon {
  display: flex; width: 72px; height: 72px; border-radius: 50%; background: var(--yellow);
  align-items: center; justify-content: center; color: var(--ink); transition: transform .4s var(--ease-out);
}
.solution:hover .solution__icon { transform: scale(1.08) rotate(-6deg); }
.solution h3 { font-size: 20px; line-height: 1.25; font-weight: 600; letter-spacing: -.01em; margin-top: 8px; }
.solution p { font-size: 16px; line-height: 1.6; }

/* Candidats */
.home-cand { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.home-cand__text { display: flex; align-items: center; padding: clamp(56px, 8vw, 120px) clamp(20px, 5vw, 72px); }
.home-cand__inner { display: flex; flex-direction: column; gap: 24px; max-width: 600px; font-size: 16px; line-height: 1.8; }
.home-cand__title { font-size: clamp(32px, 3.4vw, 48px); line-height: 1.1; font-weight: 600; letter-spacing: -.01em; }
.home-cand .arrow-links { gap: 40px; padding-top: 6px; }
.home-cand__media { position: relative; min-height: clamp(420px, 70vh, 760px); }

/* Journal */
.home-journal { max-width: 1140px; display: flex; flex-direction: column; }
.journal-row { display: flex; flex-direction: column; gap: 12px; padding: 32px 0; border-bottom: 1px solid var(--border); }
.journal-row:hover { opacity: 1; }
.journal-row__title {
  display: flex; align-items: center; gap: 28px;
  font-size: clamp(30px, 3.4vw, 46px); line-height: 1.15; font-weight: 600; letter-spacing: -.01em;
}
.journal-row__title span { font-size: .9em; font-weight: 500; transition: transform .3s var(--ease-out); }
.journal-row:hover .journal-row__title span { transform: translateX(10px); }
.journal-row__text { font-size: 15px; line-height: 1.6; }

/* Contact */
.home-contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(40px, 6vw, 96px); }
.home-contact__text { display: flex; flex-direction: column; gap: 22px; }
.home-contact__smile { width: 110px; }
