/* ==========================================================================
   Grangers Recrutement : components.css
   Header · Hero · Pôles · Job board (Connect Jobs) · Bénéfices · Secteurs
   · Employeurs · Témoignages · CTA · Footer
   Convention BEM. Chaque section = un futur bloc Gutenberg natif.
   ========================================================================== */

/* ========== HEADER ========== */
.site-header{
  position:sticky;top:0;z-index:100;
  --header-h:96px;
  background:rgba(255,255,255,.86);
  backdrop-filter:saturate(140%) blur(10px);
  border-bottom:1px solid var(--grey-line);
  transition:box-shadow var(--t-fast),background var(--t-fast);
}
.site-header.is-stuck{box-shadow:var(--shadow-sm);background:rgba(255,255,255,.96)}
.site-header__inner{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;min-height:var(--header-h)}
.brand{display:flex;align-items:center;flex-shrink:0}
.brand img{height:74px;width:auto;transition:height var(--t-fast)}

.nav{display:flex;align-items:center;gap:2rem}
.nav__list{display:none}
.nav__list a{
  font-weight:500;font-size:.97rem;color:var(--ink);
  padding:.4rem 0;position:relative;transition:color var(--t-fast);
}
.nav__list a::after{
  content:"";position:absolute;left:0;bottom:-2px;height:2px;width:0;background:var(--gold);
  transition:width var(--t-fast);
}
.nav__list a:hover{color:var(--gold-deep)}
.nav__list a:hover::after{width:100%}

.nav__cta{display:flex;align-items:center;gap:1rem}
.nav__lang{
  font-weight:600;font-size:.82rem;letter-spacing:.08em;
  padding:.35rem .6rem;border:1px solid var(--grey-line);border-radius:999px;color:var(--slate);
}
.nav__lang:hover{border-color:var(--gold);color:var(--gold-deep)}
.nav__phone{display:none;align-items:center;gap:.45rem;font-weight:600;color:var(--ink);white-space:nowrap}
.nav__phone svg{width:18px;height:18px;color:var(--gold)}
.nav__cta .btn{display:none}

/* Burger */
.burger{display:flex;flex-direction:column;justify-content:center;gap:5px;width:44px;height:44px;border-radius:10px}
.burger span,.burger::before,.burger::after{content:"";display:block;height:2px;width:24px;margin-inline:auto;background:var(--ink);border-radius:2px;transition:transform var(--t-fast),opacity var(--t-fast)}
body.nav-open .burger::before{transform:translateY(7px) rotate(45deg)}
body.nav-open .burger span{opacity:0}
body.nav-open .burger::after{transform:translateY(-7px) rotate(-45deg)}

@media (min-width:1024px){
  .site-header{--header-h:112px}
  .brand img{height:92px}
  .burger{display:none}
  .nav__list{display:flex;align-items:center;gap:1.7rem}
  .nav__phone{display:flex}
  .nav__cta .btn{display:inline-flex}
}

/* Menu mobile (overlay) */
@media (max-width:1023px){
  .nav{
    position:fixed;inset:var(--header-h) 0 auto 0;
    flex-direction:column;align-items:stretch;gap:0;
    background:#fff;border-bottom:1px solid var(--grey-line);
    padding:1rem clamp(1.1rem,4vw,2.2rem) 1.8rem;
    transform:translateY(-12px);opacity:0;pointer-events:none;
    transition:transform var(--t),opacity var(--t);
    box-shadow:var(--shadow);
    max-height:calc(100vh - var(--header-h));overflow:auto;
  }
  body.nav-open .nav{transform:none;opacity:1;pointer-events:auto}
  .nav__list{display:flex;flex-direction:column;gap:0;width:100%}
  .nav__list li{border-bottom:1px solid var(--grey-line)}
  .nav__list a{display:block;padding:1rem .2rem;font-size:1.1rem}
  .nav__cta{flex-direction:column;align-items:stretch;gap:.9rem;margin-top:1.3rem}
  .nav__lang{align-self:flex-start}
  .nav__phone{display:flex;font-size:1.1rem}
  .nav__cta .btn{display:inline-flex;width:100%}
}

/* ========== HERO ========== */
.hero{position:relative;color:#F3F1EC;isolation:isolate;overflow:hidden}
.hero__bg{position:absolute;inset:0;z-index:-2}
.hero__bg img{width:100%;height:100%;object-fit:cover}
.hero::after{
  content:"";position:absolute;inset:0;z-index:-1;
  background:
    linear-gradient(180deg,rgba(24,27,31,.62) 0%,rgba(24,27,31,.78) 55%,rgba(24,27,31,.92) 100%),
    radial-gradient(1200px 500px at 80% -10%,rgba(184,148,63,.30),transparent 60%);
}
.hero__inner{padding-block:clamp(3.2rem,8vw,6rem) clamp(3rem,7vw,5.5rem);max-width:880px}
.hero__eyebrow{color:var(--gold-soft)}
.hero__eyebrow::before{background:var(--gold-soft)}
.hero__title{color:#fff;margin-top:1.1rem;font-weight:540}
.hero__title em{font-style:italic;color:var(--gold-soft)}
.hero__lead{margin-top:1.4rem;max-width:54ch;color:#D9D7D1;font-size:var(--fs-400)}

/* Recherche d'emploi (tie-in Connect Jobs) */
.hero__search{
  margin-top:2rem;display:flex;flex-wrap:wrap;gap:.5rem;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.18);
  padding:.5rem;border-radius:16px;backdrop-filter:blur(6px);max-width:640px;
}
.hero__search .field{display:flex;align-items:center;gap:.55rem;flex:1 1 200px;background:#fff;border-radius:11px;padding:.7rem .9rem}
.hero__search .field svg{width:18px;height:18px;color:var(--gold-deep);flex-shrink:0}
.hero__search input,.hero__search select{width:100%;border:none;background:transparent;color:var(--ink);font-size:.98rem}
.hero__search input::placeholder{color:#8c8c8c}
.hero__search .btn{flex:1 1 auto}
@media (min-width:560px){.hero__search .btn{flex:0 0 auto}}

/* Deux portes : candidats / employeurs */
.hero__paths{margin-top:1.6rem;display:grid;gap:1rem}
@media (min-width:680px){.hero__paths{grid-template-columns:1fr 1fr}}
.path-card{
  display:flex;flex-direction:column;gap:.5rem;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.16);
  border-radius:var(--radius);padding:1.3rem 1.4rem;
  transition:background var(--t-fast),border-color var(--t-fast),transform var(--t-fast);
}
.path-card:hover{background:rgba(255,255,255,.12);border-color:var(--gold-soft);transform:translateY(-3px)}
.path-card__k{font-size:var(--fs-100);letter-spacing:.16em;text-transform:uppercase;color:var(--gold-soft);font-weight:600}
.path-card h2,.path-card h3{color:#fff;font-size:1.45rem;margin-top:.15rem}
.path-card p{color:#CFCDC7;font-size:.95rem;margin-bottom:.5rem}
.path-card__links{display:flex;flex-wrap:wrap;gap:.6rem 1.2rem;margin-top:auto}
.path-card__links a{display:inline-flex;align-items:center;gap:.4rem;font-weight:600;color:#fff}
.path-card__links a.is-gold{color:var(--gold-soft)}
.path-card__links svg{width:16px;height:16px}

/* ========== STATS ========== */
.stats{background:var(--charcoal-2);color:#EDEBE6;border-top:1px solid rgba(255,255,255,.06)}
.stats__grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.6rem 1rem;padding-block:var(--space-5)}
@media (min-width:860px){.stats__grid{grid-template-columns:repeat(4,1fr)}}
.stat{text-align:center;position:relative}
.stat__num{font-family:var(--font-display);font-size:clamp(2.4rem,1.6rem+2.6vw,3.4rem);line-height:1;color:#fff}
.stat__num .u{color:var(--gold-soft)}
.stat__label{margin-top:.5rem;font-size:.92rem;color:#B9BBBE;letter-spacing:.02em}
@media (min-width:860px){.stat:not(:last-child)::after{content:"";position:absolute;right:-.5rem;top:12%;height:76%;width:1px;background:rgba(255,255,255,.10)}}

/* ========== PÔLES D'EXPERTISE ========== */
.poles__grid{margin-top:2.6rem}
.pole{
  position:relative;display:flex;flex-direction:column;
  background:#fff;border:1px solid var(--grey-line);border-radius:var(--radius-lg);
  padding:2rem 1.8rem;height:100%;overflow:hidden;
  transition:transform var(--t-fast),box-shadow var(--t-fast),border-color var(--t-fast);
}
.pole::before{content:"";position:absolute;left:0;top:0;height:4px;width:100%;background:linear-gradient(90deg,var(--gold),var(--gold-soft));transform:scaleX(0);transform-origin:left;transition:transform var(--t)}
.pole:hover{transform:translateY(-6px);box-shadow:var(--shadow);border-color:transparent}
.pole:hover::before{transform:scaleX(1)}
.pole__icon{width:58px;height:58px;border-radius:14px;display:grid;place-items:center;background:var(--gold-tint);color:var(--gold-deep);margin-bottom:1.2rem}
.pole__icon svg{width:28px;height:28px}
.pole h3{font-size:1.5rem}
.pole p{margin-top:.7rem;color:var(--muted);font-size:1rem}
.pole__list{margin-top:1.1rem;display:flex;flex-direction:column;gap:.5rem}
.pole__list li{display:flex;gap:.6rem;align-items:flex-start;font-size:.95rem;color:var(--slate)}
.pole__list svg{width:18px;height:18px;color:var(--gold);flex-shrink:0;margin-top:.15rem}
.pole__cta{margin-top:1.6rem;padding-top:1.2rem;border-top:1px solid var(--grey-line)}
.pole__ribbon{position:absolute;top:1.1rem;right:-2.6rem;transform:rotate(45deg);background:var(--gold);color:#fff;font-size:.7rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;padding:.32rem 3rem}
.pole--feature{border-color:var(--gold-soft);background:linear-gradient(180deg,#fff, #FFFDF8)}

/* ========== JOB BOARD (Connect Jobs) ========== */
.jobs__head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:1.5rem}
.badge-live{display:inline-flex;align-items:center;gap:.5rem;font-size:var(--fs-100);font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--gold-deep);background:var(--gold-tint);padding:.4rem .8rem;border-radius:999px}
.badge-live .live-dot{width:8px;height:8px;border-radius:50%;background:var(--gold)}
.jobs__filters{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:2rem}
.filter-btn{
  font-size:.9rem;font-weight:500;color:var(--slate);
  padding:.55rem 1.05rem;border:1px solid var(--grey-line);border-radius:999px;background:#fff;
  transition:all var(--t-fast);
}
.filter-btn:hover{border-color:var(--gold);color:var(--gold-deep)}
.filter-btn.is-active{background:var(--ink);color:#fff;border-color:var(--ink)}

.jobs__grid{margin-top:2rem;display:grid;gap:1.1rem}
@media (min-width:680px){.jobs__grid{grid-template-columns:1fr 1fr}}
@media (min-width:1040px){.jobs__grid{grid-template-columns:1fr 1fr 1fr}}
.job-card{
  display:flex;flex-direction:column;gap:.75rem;
  background:#fff;border:1px solid var(--grey-line);border-radius:var(--radius);
  padding:1.4rem 1.4rem 1.2rem;transition:transform var(--t-fast),box-shadow var(--t-fast),border-color var(--t-fast);
}
.job-card:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:transparent}
.job-card__top{display:flex;align-items:center;justify-content:space-between;gap:.6rem}
.tag{font-size:.72rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;padding:.3rem .6rem;border-radius:7px}
.tag--perm{background:#E8F1EA;color:#2F6B43}
.tag--temp{background:#FBF0E2;color:#9A6A1E}
.job-card__date{font-size:.78rem;color:var(--grey)}
.job-card h3{font-size:1.18rem;line-height:1.25}
.job-card__meta{display:flex;flex-wrap:wrap;gap:.4rem 1rem;font-size:.86rem;color:var(--slate)}
.job-card__meta span{display:inline-flex;align-items:center;gap:.4rem}
.job-card__meta svg{width:15px;height:15px;color:var(--gold-deep)}
.job-card__foot{margin-top:auto;padding-top:1rem;border-top:1px solid var(--grey-line);display:flex;align-items:center;justify-content:space-between}
.job-card__sector{font-size:.8rem;color:var(--grey)}
.jobs__cta{margin-top:2.4rem;text-align:center}
.jobs__note{margin-top:1rem;text-align:center;font-size:.84rem;color:var(--grey)}

/* ========== BÉNÉFICES (Pourquoi Grangers) ========== */
.why__grid{margin-top:2.6rem}
.benefit{display:flex;flex-direction:column;gap:.7rem}
.benefit__icon{width:48px;height:48px;border-radius:12px;display:grid;place-items:center;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);color:var(--gold-soft)}
.benefit__icon svg{width:24px;height:24px}
.benefit h3{font-size:1.2rem;color:#fff}
.benefit p{font-size:.94rem;color:#C7C9CC}

/* ========== SECTEURS ========== */
.sectors__grid{margin-top:2.4rem;display:grid;gap:1rem;grid-template-columns:1fr 1fr}
@media (min-width:760px){.sectors__grid{grid-template-columns:repeat(3,1fr)}}
.sector{
  position:relative;display:flex;align-items:center;gap:1rem;
  background:var(--cream);border:1px solid var(--grey-line);border-radius:var(--radius);
  padding:1.2rem 1.3rem;transition:all var(--t-fast);
}
.sector:hover{background:#fff;border-color:var(--gold-soft);box-shadow:var(--shadow-sm);transform:translateY(-3px)}
.sector__icon{width:46px;height:46px;border-radius:11px;display:grid;place-items:center;background:#fff;border:1px solid var(--grey-line);color:var(--gold-deep);flex-shrink:0}
.sector__icon svg{width:23px;height:23px}
.sector h3{font-size:1.05rem}
.sector p{font-size:.82rem;color:var(--grey);margin-top:.15rem}

/* ========== EMPLOYEURS (split) ========== */
.split{display:grid;gap:2.4rem;align-items:center}
@media (min-width:920px){.split{grid-template-columns:1.05fr .95fr;gap:3.4rem}}
.split--reverse .split__media{order:-1}
@media (min-width:920px){.split--reverse .split__media{order:0}}
.split__media{position:relative;border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow)}
.split__media img{width:100%;height:100%;object-fit:cover;aspect-ratio:4/3}
.split__media .float-stat{
  position:absolute;left:1.2rem;bottom:1.2rem;right:1.2rem;
  background:rgba(255,255,255,.95);border-radius:var(--radius);padding:1rem 1.2rem;
  display:flex;align-items:center;gap:1rem;box-shadow:var(--shadow-sm);backdrop-filter:blur(4px);
}
.split__media .float-stat b{font-family:var(--font-display);font-size:1.8rem;color:var(--gold-deep);line-height:1}
.split__media .float-stat span{font-size:.85rem;color:var(--slate)}
.offer-list{margin-top:1.6rem;display:flex;flex-direction:column;gap:1.1rem}
.offer{display:flex;gap:1rem;align-items:flex-start}
.offer__n{font-family:var(--font-display);font-size:1.1rem;color:var(--gold-deep);background:var(--gold-tint);width:34px;height:34px;border-radius:9px;display:grid;place-items:center;flex-shrink:0}
.offer h4{font-size:1.08rem}
.offer p{font-size:.93rem;color:var(--muted);margin-top:.2rem}
.split__cta{margin-top:2rem;display:flex;flex-wrap:wrap;gap:.8rem}

/* ========== TÉMOIGNAGES ========== */
.tmt__grid{margin-top:2.6rem;display:grid;gap:1.2rem}
@media (min-width:820px){.tmt__grid{grid-template-columns:repeat(3,1fr)}}
.tmt{display:flex;flex-direction:column;background:#fff;border:1px solid var(--grey-line);border-radius:var(--radius-lg);padding:1.8rem 1.7rem}
.tmt__quote-mark{font-family:var(--font-display);font-size:3rem;line-height:.6;color:var(--gold-soft);height:1.4rem}
.tmt__stars{display:flex;gap:.15rem;margin:.4rem 0 .8rem}
.tmt__stars svg{width:18px;height:18px;color:var(--gold)}
.tmt p{font-size:1rem;color:var(--ink);flex:1}
.tmt__who{margin-top:1.3rem;padding-top:1.1rem;border-top:1px solid var(--grey-line);display:flex;align-items:center;gap:.85rem}
.tmt__avatar{width:46px;height:46px;border-radius:50%;background:var(--gold-tint);color:var(--gold-deep);display:grid;place-items:center;font-family:var(--font-display);font-size:1.2rem;flex-shrink:0}
.tmt__name{font-weight:600;font-size:.96rem}
.tmt__role{font-size:.83rem;color:var(--grey)}

/* ========== CTA FINAL ========== */
.cta-band{position:relative;overflow:hidden;background:linear-gradient(120deg,var(--charcoal) 0%,#30363E 60%,var(--charcoal) 100%);color:#fff;border-radius:var(--radius-lg);padding:clamp(2.4rem,5vw,4rem)}
.cta-band::before{content:"";position:absolute;inset:0;background:radial-gradient(600px 280px at 90% 0%,rgba(184,148,63,.28),transparent 65%);pointer-events:none}
.cta-band__inner{position:relative;display:grid;gap:1.6rem;align-items:center;text-align:center;max-width:760px;margin-inline:auto}
.cta-band h2{color:#fff}
.cta-band p{color:#D7D9DC;margin-inline:auto}
.cta-band__btns{display:flex;flex-wrap:wrap;gap:.9rem;justify-content:center}

/* ========== FOOTER ========== */
.footer{background:#15171A;color:#B9BBBE}
.footer__top{display:grid;gap:2.4rem;padding-block:var(--space-6)}
@media (min-width:760px){.footer__top{grid-template-columns:1.4fr 1fr 1fr 1.1fr}}
.footer__brand img{height:128px;width:auto;margin-bottom:1rem}
.footer__brand p{font-size:.92rem;color:#9A9DA1;max-width:34ch}
.footer__social{display:flex;gap:.7rem;margin-top:1.3rem}
.footer__social a{width:40px;height:40px;border-radius:10px;display:grid;place-items:center;background:rgba(255,255,255,.06);color:#D7D9DC;transition:all var(--t-fast)}
.footer__social a:hover{background:var(--gold);color:#fff}
.footer__social svg{width:19px;height:19px}
.footer__col h4{font-family:var(--font-sans);font-size:.8rem;letter-spacing:.14em;text-transform:uppercase;color:#fff;margin-bottom:1rem}
.footer__col ul{display:flex;flex-direction:column;gap:.65rem}
.footer__col a{font-size:.93rem;color:#B9BBBE;transition:color var(--t-fast)}
.footer__col a:hover{color:var(--gold-soft)}
.footer__contact li{display:flex;gap:.7rem;align-items:flex-start;font-size:.93rem;margin-bottom:.7rem}
.footer__contact svg{width:18px;height:18px;color:var(--gold);flex-shrink:0;margin-top:.15rem}
.footer__hours b{color:#D7D9DC;font-weight:600}
.footer__bottom{border-top:1px solid rgba(255,255,255,.08);padding-block:1.4rem;display:flex;flex-wrap:wrap;gap:.6rem 1.4rem;align-items:center;justify-content:space-between;font-size:.84rem;color:#86898D}
.footer__bottom a:hover{color:var(--gold-soft)}
.footer__legal{display:flex;flex-wrap:wrap;gap:.4rem 1.2rem}
