/* ════════════════════════════════════════════════════════════
   HOME — CSS COMPLET
════════════════════════════════════════════════════════════ */

/* ══ 1. HERO ══════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden; padding: 0;
}

/* ── Slider de fonds ── */
.hero-slider {
  position: absolute; inset: 0; z-index: 0;
}
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 30%;
  opacity: 0;
  animation: heroSlide 24s linear infinite;
  /* Effet Ken Burns */
  transform: scale(1.08);
}
.hero-slide:nth-child(1) { animation-delay: 0s;    background-image: url('/static/img/hero/hero_bg_1.png'); }
.hero-slide:nth-child(2) { animation-delay: 8s;    background-image: url('/static/img/hero/hero_bg_2.png'); }
.hero-slide:nth-child(3) { animation-delay: 16s;   background-image: url('/static/img/hero/hero_bg_3.png'); }

@keyframes heroSlide {
  0%        { opacity: 0;    transform: scale(1.08); }
  5%        { opacity: 1;    transform: scale(1.08); }
  28%       { opacity: 1;    transform: scale(1.00); }
  33%       { opacity: 0;    transform: scale(1.00); }
  100%      { opacity: 0;    transform: scale(1.08); }
}

/* Overlay sombre sur le slider */
.hero-slider::after {
  content: ''; position: absolute; inset: 0; z-index: 10;
  background: linear-gradient(
    135deg,
    rgba(10,12,40,.82) 0%,
    rgba(20,15,60,.72) 40%,
    rgba(10,30,60,.58) 75%,
    rgba(5,20,40,.68) 100%
  );
}

/* Indicateurs du slider */
.hero-dots {
  position: absolute; bottom: 110px; left: 50%; transform: translateX(-50%);
  z-index: 5; display: flex; gap: 8px;
}
.hero-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,.35); cursor: pointer;
  transition: all .3s; border: none; padding: 0;
}
.hero-dot.active,
.hero-dot:hover { background: #fff; transform: scale(1.4); }

.hero-bg::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
}
.hero-light {
  position: absolute; top:-80px; right:-80px; z-index:2;
  width:520px; height:520px; border-radius:50%; pointer-events:none;
  background:radial-gradient(circle,rgba(78,43,134,.35) 0%,transparent 65%); filter:blur(40px);
}
.hero-light-2 {
  position:absolute; bottom:-60px; left:-60px; z-index:2;
  width:400px; height:400px; border-radius:50%; pointer-events:none;
  background:radial-gradient(circle,rgba(54,162,206,.25) 0%,transparent 65%); filter:blur(36px);
}
@keyframes gradLine {
  0%   { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}
.hero-badge {
  display:inline-flex; align-items:center; gap:8px;
  background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.2);
  color:rgba(255,255,255,.88); font-family:var(--font-heading);
  font-size:.78rem; font-weight:700; letter-spacing:.06em;
  padding:7px 16px; border-radius:50px; margin-bottom:24px; text-transform:uppercase;
}
.pulse-dot { width:8px; height:8px; border-radius:50%; }
@keyframes pulse-green {
  0%   { box-shadow:0 0 0 0 rgba(130,190,96,.7); }
  70%  { box-shadow:0 0 0 8px rgba(130,190,96,0); }
  100% { box-shadow:0 0 0 0 rgba(130,190,96,0); }
}
.hero .pulse-dot { animation: pulse-green 1.6s ease-out infinite; }
.hero-float-card {
  background:rgba(255,255,255,.1); backdrop-filter:blur(12px);
  border:1px solid rgba(255,255,255,.2); border-radius:14px;
  padding:12px 16px; display:flex; align-items:center; gap:10px;
  min-width:180px; animation:float-card 3s ease-in-out infinite;
}
@keyframes float-card {
  0%,100% { transform:translateY(-50%) translateY(0); }
  50%      { transform:translateY(-50%) translateY(-6px); }
}
.fc-lbl { font-size:.7rem; color:rgba(255,255,255,.55); font-weight:600; }
.fc-val { font-family:var(--font-heading); font-size:.88rem; font-weight:700; color:#fff; margin-top:2px; }
.fc-icon-box { width:34px; height:34px; border-radius:9px; display:flex; align-items:center; justify-content:center; font-size:.9rem; flex-shrink:0; }

/* ══ 2. RECHERCHE ════════════════════════════════════════════ */
.search-wrapper { background:var(--c-navy); padding:28px 0 22px; }
.search-box {
  display:flex; align-items:center; background:#fff;
  border-radius:14px; padding:6px; gap:0; overflow:hidden;
}
.search-field {
  display:flex; align-items:center; gap:10px;
  padding:8px 16px; flex:1; min-width:0;
}
.search-field i { color:var(--c-blue); font-size:.95rem; flex-shrink:0; }
.search-field input,
.search-field select { border:none; outline:none; width:100%; font-size:.9rem; color:var(--c-navy); background:transparent; }
.search-field input::placeholder { color:var(--c-muted); }
.search-vdiv { width:1px; height:36px; background:var(--c-border); flex-shrink:0; }
.btn-search {
  display:flex; align-items:center; gap:8px; padding:12px 28px;
  background:var(--grad-full); color:#fff; border:none; border-radius:10px;
  font-family:var(--font-heading); font-size:.88rem; font-weight:700;
  cursor:pointer; flex-shrink:0; transition:opacity .2s;
}
.btn-search:hover { opacity:.9; }
.search-field .select2-container { flex:1; min-width:0; }
.search-field .select2-container .select2-selection--single { border:none; height:auto; background:transparent; box-shadow:none; outline:none; }
.search-field .select2-container .select2-selection__rendered { color:var(--c-navy); font-size:.9rem; padding-left:0; line-height:1.5; }
.search-field .select2-container .select2-selection__arrow { display:none; }
.search-tags { display:flex; align-items:center; gap:10px; margin-top:14px; flex-wrap:wrap; }
.st-label { font-size:.76rem; color:rgba(255,255,255,.55); font-weight:600; }
.search-tag {
  display:inline-block; padding:5px 14px; background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.15); color:rgba(255,255,255,.8);
  border-radius:50px; font-size:.76rem; font-weight:600; text-decoration:none; transition:background .18s;
}
.search-tag:hover { background:rgba(255,255,255,.2); }

/* ══ 3. CHIFFRES CLÉS ════════════════════════════════════════ */
.section-numbers { padding:60px 0; background:var(--c-light); }
.num-card { text-align:center; padding:32px 20px; }
.num-value { font-family:var(--font-heading); font-size:2.4rem; font-weight:800; color:var(--c-navy); line-height:1.1; }
.num-label { font-size:.8rem; color:var(--c-muted); font-weight:600; text-transform:uppercase; letter-spacing:.05em; margin-top:6px; }

/* ══ 4. À PROPOS ════════════════════════════════════════════ */
.section-about { padding:100px 0; background:#fff; }
.about-img-box {
  width:100%; max-width:420px; aspect-ratio:1; border-radius:24px; overflow:hidden;
  display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg,rgba(78,43,134,.08),rgba(54,162,206,.08));
  border:1px solid rgba(78,43,134,.1);
}
.about-img-box img { width:100%; height:100%; object-fit:contain; padding:30px; }
.about-accent-card {
  position:absolute; bottom:-20px; right:-16px;
  background:var(--c-navy); color:#fff; border-radius:14px;
  padding:16px 22px; min-width:155px; box-shadow:0 10px 30px rgba(26,29,59,.3);
}
.about-accent-card .ac-val { font-family:var(--font-heading); font-size:1.6rem; font-weight:800; line-height:1.1; }
.about-accent-card .ac-lbl { font-size:.72rem; color:rgba(255,255,255,.6); font-weight:600; margin-top:4px; }
.about-feature { display:flex; align-items:flex-start; gap:16px; margin-bottom:22px; }
.about-feature h5 { font-size:.97rem; font-weight:700; color:var(--c-navy); margin-bottom:3px; }
.about-feature p  { font-size:.875rem; color:var(--c-text); margin:0; }

/* ══ 5. DIRECTRICE ══════════════════════════════════════════ */
.section-director {
  padding:96px 0;
  background:linear-gradient(135deg,var(--c-navy) 0%,#2d1060 60%,#1a1d3b 100%);
  position:relative; overflow:hidden;
}
.dir-bg-dots { position:absolute; inset:0; background-image:radial-gradient(rgba(255,255,255,.05) 1px,transparent 1px); background-size:28px 28px; pointer-events:none; }
.dir-accent { position:absolute; width:400px; height:400px; border-radius:50%; pointer-events:none; opacity:.06; }
.dir-accent-l { left:-100px; top:-100px; background:var(--c-blue); }
.dir-accent-r { right:-100px; bottom:-100px; background:var(--c-green); }
.dir-section-label {
  text-align:center; color:rgba(255,255,255,.5); font-size:.78rem;
  font-weight:700; letter-spacing:.12em; text-transform:uppercase; margin-bottom:52px;
  display:flex; align-items:center; gap:14px;
}
.dir-section-label::before,.dir-section-label::after { content:''; flex:1; height:1px; background:rgba(255,255,255,.1); }
.dir-section-label::before { max-width:50px; }
.dir-photo-ring { display:inline-block; padding:6px; background:linear-gradient(135deg,var(--c-green),var(--c-blue),var(--c-purple)); border-radius:50%; }
.dir-photo-inner { width:200px; height:200px; border-radius:50%; overflow:hidden; border:4px solid var(--c-navy); }
.dir-photo-inner img { width:100%; height:100%; object-fit:cover; }
.dir-badge-float { margin-top:18px; display:inline-block; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.15); border-radius:10px; padding:10px 20px; text-align:center; }
.dir-badge-float .dbf-role { font-size:.72rem; color:rgba(255,255,255,.5); font-weight:600; text-transform:uppercase; letter-spacing:.06em; }
.dir-badge-float .dbf-name { font-family:var(--font-heading); font-size:.87rem; font-weight:700; color:#fff; }
.dir-content { position:relative; }
.dir-quote-mark { font-size:5rem; line-height:1; color:rgba(255,255,255,.12); font-family:Georgia,serif; position:absolute; top:-20px; left:-10px; }
.dir-quote { font-size:1.08rem; line-height:1.8; color:rgba(255,255,255,.85); font-style:italic; padding-left:24px; margin-bottom:24px; }
.dir-name  { font-family:var(--font-heading); font-size:1.15rem; font-weight:700; color:#fff; }
.dir-role  { font-size:.8rem; color:rgba(255,255,255,.55); margin-top:4px; }
.dir-bars  { display:flex; gap:8px; margin:16px 0; }
.dir-bars span { height:3px; border-radius:2px; display:block; }
.dir-kpis  { display:flex; gap:24px; margin-top:20px; flex-wrap:wrap; }
.dir-kpi strong { display:block; font-family:var(--font-heading); font-size:1.3rem; font-weight:800; color:#fff; }
.dir-kpi span   { font-size:.74rem; color:rgba(255,255,255,.5); font-weight:600; }

/* ══ 6. SERVICES (4 domaines) ════════════════════════════════ */
.section-services { padding:100px 0; background:var(--c-light); position:relative; }
.section-services::before { content:''; position:absolute; top:0; left:0; right:0; height:4px; background:var(--grad-full); }
.service-card { background:#fff; border-radius:18px; padding:36px 28px; height:100%; border:1px solid rgba(78,43,134,.07); transition:transform .25s,box-shadow .25s; }
.service-card:hover { transform:translateY(-6px); box-shadow:0 20px 50px rgba(78,43,134,.12); }
.service-card h4 { font-size:1.1rem; font-weight:700; color:var(--c-navy); margin-bottom:11px; }
.service-card p  { font-size:.875rem; color:var(--c-text); line-height:1.7; margin-bottom:18px; }
.service-link { font-family:var(--font-heading); font-size:.82rem; font-weight:700; color:var(--c-purple); text-decoration:none; display:inline-flex; align-items:center; gap:7px; }
.service-link:hover { color:var(--c-blue); }
/* Badge SIRH — accent navy */
.service-card.sirh { border-color:rgba(26,29,59,.12); }
.service-card.sirh .service-link { color:var(--c-navy); }
.service-card.sirh .service-link:hover { color:var(--c-purple); }

/* ══ 7. OFFRES ══════════════════════════════════════════════ */
.section-jobs { padding:100px 0; background:#fff; }
.job-card { background:#fff; border-radius:16px; padding:24px; border:1px solid var(--c-border); height:100%; transition:transform .22s,box-shadow .22s,border-color .22s; }
.job-card:hover { transform:translateY(-4px); box-shadow:0 16px 40px rgba(78,43,134,.1); border-color:rgba(78,43,134,.2); }
.job-card-top { display:flex; align-items:flex-start; justify-content:space-between; margin-bottom:14px; }
.job-logo-box { width:48px; height:48px; border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:.8rem; font-weight:800; color:#fff; }
.job-card h5 { font-size:.97rem; font-weight:700; color:var(--c-navy); margin-bottom:9px; line-height:1.35; }
.job-meta { font-size:.8rem; color:var(--c-muted); margin-bottom:5px; display:flex; align-items:center; gap:7px; }
.job-meta i { color:var(--c-blue); font-size:.78rem; }
.job-card-footer { display:flex; align-items:center; justify-content:space-between; margin-top:16px; padding-top:14px; border-top:1px solid var(--c-border); }
.job-applicants { font-size:.76rem; color:var(--c-muted); display:flex; align-items:center; gap:5px; }
.btn-apply { display:inline-flex; align-items:center; gap:6px; background:var(--grad-full); color:#fff; border-radius:8px; padding:8px 18px; font-family:var(--font-heading); font-size:.8rem; font-weight:700; text-decoration:none; transition:opacity .2s; }
.btn-apply:hover { opacity:.88; color:#fff; }
.jobs-empty { text-align:center; padding:60px 20px; background:var(--c-light); border-radius:20px; border:2px dashed var(--c-border); }
.jobs-empty-icon { font-size:3rem; margin-bottom:16px; }
.jobs-empty h5 { font-size:1.05rem; font-weight:700; color:var(--c-navy); margin-bottom:8px; }
.jobs-empty p  { color:var(--c-muted); font-size:.88rem; margin-bottom:20px; }
.tag { display:inline-block; padding:3px 10px; border-radius:50px; font-size:.72rem; font-weight:700; }
.tag-cdi        { background:rgba(130,190,96,.15); color:#3d7a1a; }
.tag-cdd        { background:rgba(54,162,206,.15);  color:#1a6da8; }
.tag-stage      { background:rgba(245,158,11,.15);  color:#92400e; }
.tag-freelance  { background:rgba(139,92,246,.15);  color:#5b21b6; }
.tag-alternance { background:rgba(236,72,153,.15);  color:#9d174d; }
.tag-interim    { background:rgba(239,68,68,.15);   color:#991b1b; }

/* ══ 8. PARTENAIRES ══════════════════════════════════════════ */
.section-partners {
  padding:clamp(36px,4vw,56px) 0; background:#fff; overflow:hidden;
  border-top:1px solid var(--c-border); border-bottom:1px solid var(--c-border);
}
.partners-headline {
  text-align:center; font-family:var(--font-heading);
  font-size:.75rem; font-weight:700; color:var(--c-muted);
  text-transform:uppercase; letter-spacing:.12em; margin-bottom:24px;
}
.partners-track-wrap {
  position:relative; overflow:hidden;
  mask-image:linear-gradient(to right,transparent 0%,#000 8%,#000 92%,transparent 100%);
  -webkit-mask-image:linear-gradient(to right,transparent 0%,#000 8%,#000 92%,transparent 100%);
}
.partners-track { display:flex; gap:0; width:max-content; animation:scroll-partners 35s linear infinite; }
.partners-track:hover { animation-play-state:paused; }
@keyframes scroll-partners {
  0%   { transform:translateX(0); }
  100% { transform:translateX(-50%); }
}
.partner-logo-item {
  display:flex; align-items:center; justify-content:center;
  padding:0 clamp(24px,3vw,44px); height:72px; flex-shrink:0;
  border-right:1px solid var(--c-border); transition:opacity .25s,filter .25s;
  opacity:1; filter:grayscale(0);
}
.partner-logo-item:last-child { border-right:none; }
.partner-logo-item:hover { opacity:1; filter:grayscale(0); }
.partner-logo-item img { height:clamp(28px,3vw,40px); width:auto; max-width:130px; object-fit:contain; display:block; }
.partner-logo-text { font-family:var(--font-heading); font-size:clamp(.78rem,1.4vw,.92rem); font-weight:800; color:var(--c-navy); letter-spacing:.02em; white-space:nowrap; }

/* ══ 9. CTA INSCRIPTION ══════════════════════════════════════*/
.section-cta-register { padding:96px 0; background:var(--grad-full); position:relative; overflow:hidden; }
.section-cta-register::before { content:''; position:absolute; inset:0; background-image:radial-gradient(rgba(255,255,255,.08) 1px,transparent 1px); background-size:28px 28px; pointer-events:none; }
.cta-reg-title { font-family:var(--font-heading); font-size:clamp(1.6rem,3vw,2.2rem); font-weight:800; color:#fff; margin-bottom:16px; }
.cta-reg-sub   { color:rgba(255,255,255,.8); font-size:.97rem; line-height:1.7; margin-bottom:28px; }
.cta-cards     { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.cta-card { background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.2); border-radius:16px; padding:28px; backdrop-filter:blur(8px); }
.cta-card-icon { font-size:1.6rem; margin-bottom:12px; }
.cta-card h5 { font-family:var(--font-heading); font-size:1rem; font-weight:700; color:#fff; margin-bottom:8px; }
.cta-card p  { font-size:.84rem; color:rgba(255,255,255,.72); line-height:1.6; margin-bottom:18px; }

/* ══ 10. CTA CONTACT ══════════════════════════════════════════*/
.section-cta-contact { padding:80px 0; background:var(--c-navy); position:relative; overflow:hidden; }
.section-cta-contact::after { content:''; position:absolute; right:0; top:0; bottom:0; width:420px; background:linear-gradient(90deg,transparent,rgba(54,162,206,.05)); pointer-events:none; }
.contact-cta-title { font-family:var(--font-heading); font-size:clamp(1.5rem,3vw,2rem); font-weight:800; color:#fff; margin-bottom:16px; }
.contact-cta-sub   { color:rgba(255,255,255,.7); font-size:.97rem; line-height:1.7; margin-bottom:28px; }
.contact-infos     { display:flex; flex-direction:column; gap:14px; margin-bottom:24px; }
.ci-item { display:flex; align-items:center; gap:14px; }
.ci-icon-box { width:40px; height:40px; border-radius:10px; background:rgba(255,255,255,.08); display:flex; align-items:center; justify-content:center; color:var(--c-blue); flex-shrink:0; }
.ci-lbl { font-size:.72rem; color:rgba(255,255,255,.5); font-weight:600; text-transform:uppercase; letter-spacing:.04em; }
.ci-val { font-size:.9rem; color:#fff; font-weight:500; }
.contact-social { display:flex; gap:10px; }
.cs-btn { width:38px; height:38px; border-radius:9px; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.12); display:flex; align-items:center; justify-content:center; color:rgba(255,255,255,.7); text-decoration:none; transition:all .2s; }
.cs-btn:hover { background:var(--c-blue); color:#fff; }
.contact-form-box { background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.1); border-radius:18px; padding:32px; }
.contact-form-box h5 { font-family:var(--font-heading); font-size:1rem; font-weight:700; color:#fff; margin-bottom:20px; }
.cfc-input { width:100%; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.12); border-radius:10px; padding:12px 16px; color:#fff; font-size:.88rem; margin-bottom:12px; outline:none; transition:border-color .18s; display:block; }
.cfc-input::placeholder { color:rgba(255,255,255,.4); }
.cfc-input:focus { border-color:rgba(54,162,206,.5); }

/* ══ RESPONSIVE ════════════════════════════════════════════════ */
@media (max-width:991px) {
  .search-box { flex-direction:column; padding:12px; gap:0; border-radius:16px; }
  .search-field { width:100% !important; border-right:none !important; border-bottom:1px solid rgba(0,0,0,.08) !important; padding:13px 14px !important; flex:none !important; }
  .search-field:last-of-type { border-bottom:none !important; }
  .search-vdiv { display:none !important; }
  .btn-search { width:100% !important; border-radius:10px !important; justify-content:center !important; padding:13px !important; margin-top:4px !important; }
  .select2-dropdown { max-width:calc(100vw - 48px) !important; left:0 !important; }
  .cta-cards { grid-template-columns:1fr; }
  /* Services 4 domaines → 2 colonnes tablette */
  .services-grid { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width:767px) {
  .hero { min-height:100svh; }
  .hero-dots { bottom:80px; }
  .hero-float-card { display:none !important; }
  .about-img-box { margin-bottom:32px; min-height:260px; }
  .num-card { padding:24px 16px; }
  /* Services 4 → 1 colonne mobile */
  .services-grid { grid-template-columns: 1fr !important; }
}
@media (max-width:480px) {
  .search-tags { gap:6px; }
  .search-tag { font-size:.72rem; padding:5px 12px; }
  .job-card { padding:18px; }
  .cta-cards { grid-template-columns:1fr; }
}
