*,
*::before,
*::after{box-sizing:border-box}
:root{--bg:#fff;--text:#0f172a;--muted:#64748b;--line:#e2e8f0;--soft:#f8fafc;--soft-2:#f1f5f9;--dark:#020617;--teal:#2dd4bf;--blue:#1d4ed8;--cyan:#67e8f9;--shadow:0 25px 80px -20px rgba(15,23,42,.18);--radius-xl:2rem;--container:1280px}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,system-ui,sans-serif;color:var(--text);background:var(--bg);line-height:1.6}
a{text-decoration:none;color:inherit}
button,input,select,textarea{font:inherit}
.container{width:min(calc(100% - 2rem),var(--container));margin-inline:auto}
.narrow{max-width:860px}
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.9);border-bottom:1px solid rgba(226,232,240,.8);backdrop-filter:blur(16px)}
.nav-wrap{display:flex;align-items:center;justify-content:space-between;gap:1.25rem;padding:.65rem 0}
.brand-image{display:flex;align-items:center;background:transparent}
.site-logo{display:block;height:92px;width:auto;max-width:min(520px,50vw);object-fit:contain;background:transparent}
.main-nav,.nav-cta{display:flex;align-items:center;gap:1rem}
.main-nav a{font-size:.95rem;font-weight:500;color:#475569}
.main-nav a:hover,.footer-links a:hover{color:var(--text)}
.menu-toggle{display:none;border:1px solid var(--line);background:#fff;width:2.7rem;height:2.7rem;border-radius:999px;font-size:1.1rem;cursor:pointer}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;border-radius:999px;padding:.9rem 1.4rem;font-size:.95rem;font-weight:600;transition:transform .2s ease,background .2s ease,color .2s ease,border-color .2s ease}
.btn:hover{transform:translateY(-1px)}
.btn-ghost{color:#334155;padding:.75rem 1rem}
.btn-ghost:hover{background:var(--soft-2)}
.btn-primary{background:linear-gradient(90deg,var(--teal),var(--blue));color:#fff;box-shadow:0 18px 40px -18px rgba(34,211,238,.75)}
.btn-outline{border:1px solid #cbd5e1;color:var(--text);background:#fff}
.btn-white{background:#fff;color:var(--text)}
.btn.small{padding:.6rem 1rem;font-size:.82rem}
.btn-block{width:100%}

.hero{position:relative;overflow:hidden}
.hero-bg{position:absolute;inset:0;background:radial-gradient(circle at 12% 18%,rgba(45,212,191,.17),transparent 28%),radial-gradient(circle at 82% 14%,rgba(29,78,216,.10),transparent 26%)}
.hero-grid{position:relative;z-index:1;display:grid;grid-template-columns:1.1fr .9fr;gap:3rem;align-items:stretch;padding:4.5rem 0 5rem}
.hero-left{display:flex;flex-direction:column;justify-content:space-between;gap:2rem}
.pill,.eyebrow,.mini-pill{display:inline-flex;align-items:center;border-radius:999px;font-size:.74rem;font-weight:700;letter-spacing:.22em;text-transform:uppercase}
.pill{background:#ecfeff;border:1px solid #99f6e4;color:#075985;padding:.65rem 1rem}
.eyebrow{color:#0369a1}
.hero-title{max-width:20ch;font-size:clamp(2.2rem,3.5vw,3rem);line-height:1.1}
.hero h1,.section h2,.page-hero h1{margin:1rem 0 0;letter-spacing:-.05em;line-height:1.05}
.page-hero h1{font-size:clamp(2.8rem,5vw,4.2rem)}
.section h2{font-size:clamp(2rem,4vw,3.3rem)}
.lead{max-width:44rem;margin-top:1.5rem;color:var(--muted);font-size:1.08rem;line-height:1.9}
.lead.smaller{max-width:42rem}
.dark-lead{color:#cbd5e1}

.hero-cards{display:grid;gap:1.5rem}
.info-card,.jobs-panel,.expert-card,.contact-card,.editorial-card,.workflow-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius-xl)}
.info-card{padding:2rem;box-shadow:0 12px 32px -24px rgba(15,23,42,.3)}
.info-card h3,.expert-card h3,.job-card h3,.job-dark h3,.jobs-panel h2,.editorial-body h3,.workflow-card h3,.cta-band h3{margin:0;letter-spacing:-.03em}
.info-card h3{font-size:1.4rem}
.info-card p{margin:.8rem 0 0;color:var(--muted);font-size:.97rem;line-height:1.85}
.info-card .btn{margin-top:1.4rem}

.jobs-panel{height:100%;padding:1.5rem;box-shadow:var(--shadow)}
.jobs-panel-head{display:flex;justify-content:space-between;gap:1rem;align-items:flex-start}
.jobs-panel h2{margin-top:.4rem;font-size:1.75rem}
.mini-pill{background:#ecfeff;color:#0f766e;letter-spacing:0;text-transform:none;padding:.5rem .8rem;white-space:nowrap}
.job-list{display:grid;gap:1rem;margin-top:1.5rem}
.job-card.compact{border:1px solid var(--line);border-radius:1.5rem;padding:1rem}
.job-top{display:flex;gap:.9rem;justify-content:space-between;align-items:flex-start}
.job-card h3{font-size:1rem}
.job-card p{margin:.3rem 0 0;color:#64748b;font-size:.9rem}
.badge{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:.38rem .72rem;font-size:.74rem;font-weight:700;color:#075985;background:#ecfeff;border:1px solid #99f6e4}
.badge.contract{background:#eff6ff;color:#0369a1;border-color:#bfdbfe}
.tag-row{display:flex;flex-wrap:wrap;gap:.55rem;margin-top:.95rem}

.strip{background:linear-gradient(180deg,#f8fafc,#f3f7fb);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.strip p{margin:0;padding:1.2rem 0;text-align:center;color:#64748b;font-size:.95rem}
.section{padding:4.3rem 0 5rem}
.section-muted{background:var(--soft)}
.section-intro{max-width:48rem}
.grid{display:grid;gap:1.5rem}
.cards-3{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:2.2rem}
.expert-card{padding:1.7rem;box-shadow:0 12px 30px -24px rgba(15,23,42,.25)}
.expert-card:hover,.job-dark:hover,.workflow-card:hover{transform:translateY(-4px)}
.card-head{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.expert-card h3{font-size:1.7rem}
.expert-card p,.contact-copy p{color:var(--muted)}
.icon-box{width:70px;height:70px;border-radius:16px;background:linear-gradient(135deg,rgba(45,212,191,.15),rgba(29,78,216,.15));display:flex;align-items:center;justify-content:center;padding:10px;flex-shrink:0}
.icon-box img{width:100%;height:100%;object-fit:contain;display:block}

.editorial-grid{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:2.2rem;gap:1.7rem}
.editorial-card{overflow:hidden;box-shadow:0 12px 30px -24px rgba(15,23,42,.25);border:1px solid rgba(226,232,240,.95)}
.editorial-media{aspect-ratio:16/10;background:#fff}
.editorial-media img{width:100%;height:100%;object-fit:cover;display:block}
.editorial-body{padding:1.35rem 1.35rem 1.5rem}
.editorial-body h3{font-size:1.3rem}
.editorial-body p{margin:.8rem 0 0;color:var(--muted);line-height:1.8}

.process-compact{padding-top:3.7rem;padding-bottom:3.9rem}
.process-compact .section-intro h2{font-size:clamp(1.9rem,3.6vw,2.7rem)}
.workflow-shell{position:relative;margin-top:1.8rem;padding:.6rem 0 0}
.workflow-shell::before{content:"";position:absolute;left:50%;top:0;bottom:6px;width:2px;background:linear-gradient(180deg,rgba(45,212,191,.45),rgba(29,78,216,.40));transform:translateX(-50%)}
.workflow-list{display:grid;gap:.85rem;position:relative}
.workflow-row{display:grid;grid-template-columns:1fr 76px 1fr;align-items:center;gap:.9rem}
.workflow-card{padding:.95rem 1rem;box-shadow:0 10px 24px -24px rgba(15,23,42,.25);min-height:112px;border:1px solid rgba(226,232,240,.95)}
.workflow-card h3{font-size:.98rem}
.workflow-card p{margin:.4rem 0 0;color:var(--muted);line-height:1.55;font-size:.87rem}
.workflow-side-right{grid-column:3}
.workflow-side-left{grid-column:1}
.workflow-middle{grid-column:2;display:flex;justify-content:center;align-items:center;position:relative}
.step-node{width:48px;height:48px;border-radius:16px;background:linear-gradient(90deg,var(--teal),var(--blue));color:#fff;font-weight:800;font-size:.9rem;display:grid;place-items:center;box-shadow:0 12px 22px -18px rgba(29,78,216,.45)}
.workflow-final .step-node{width:58px;height:58px;border-radius:20px;font-size:1rem}
.workflow-final .workflow-card{border:1px solid rgba(45,212,191,.6);box-shadow:0 16px 34px -24px rgba(29,78,216,.25);background:linear-gradient(180deg,#ffffff,#f6fbff);min-height:122px}
.workflow-final .workflow-card h3{font-size:1.02rem}
.workflow-ghost{visibility:hidden}
.cta-band{margin-top:1.45rem;border-radius:var(--radius-xl);background:linear-gradient(90deg,var(--teal),var(--blue));color:#fff;box-shadow:0 18px 40px -18px rgba(29,78,216,.45);padding:1.35rem 1.5rem;display:flex;justify-content:space-between;gap:1rem;align-items:center}
.cta-band h3{font-size:1.28rem}
.cta-band p{margin:.35rem 0 0;color:rgba(255,255,255,.92);font-size:.95rem}
.cta-band .eyebrow{color:rgba(255,255,255,.82)}
.cta-band .btn{padding:.85rem 1.25rem}

.page-hero.dark-hero,.jobs-page{background:var(--dark);color:#fff}
.page-hero{padding:4.4rem 0}
.jobs-page{padding:0 0 5rem}
.jobs-grid{margin-top:2.2rem;grid-template-columns:repeat(4,minmax(0,1fr))}
.jobs-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.job-dark{display:flex;flex-direction:column;min-height:100%;border-radius:var(--radius-xl);border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.05);padding:1.4rem;backdrop-filter:blur(6px)}
.job-company{color:var(--cyan);text-transform:uppercase;font-size:.72rem;font-weight:700;letter-spacing:.18em}
.job-dark h3{margin-top:.9rem;font-size:1.2rem}
.job-meta{margin-top:1.15rem;color:#cbd5e1;font-size:.92rem;display:grid;gap:.35rem}
.job-dark .btn{margin-top:auto;align-self:flex-end}

.recruiter-grid{display:grid;grid-template-columns:1fr .95fr;gap:2.5rem}
.contact-card{padding:1.5rem;box-shadow:0 18px 40px -24px rgba(15,23,42,.3)}
.form-stack{display:grid;gap:1rem}
.form-stack input,.form-stack select,.form-stack textarea{width:100%;border-radius:1rem;border:1px solid var(--line);padding:.95rem 1rem;background:#fff;outline:none}
.form-stack textarea{min-height:7.5rem;resize:vertical}
.form-stack input:focus,.form-stack select:focus,.form-stack textarea:focus{border-color:#38bdf8;box-shadow:0 0 0 4px rgba(56,189,248,.12)}
.form-page{min-height:calc(100vh - 180px);display:flex;align-items:center}
.contact-copy h1{font-size:clamp(2.4rem,4vw,3.4rem);line-height:1.08;letter-spacing:-.05em;margin:.8rem 0 0}
.file-field{border:1px dashed #cbd5e1;border-radius:1rem;padding:.95rem 1rem;display:flex;align-items:center;justify-content:space-between;gap:.75rem;color:#64748b;cursor:pointer;background:#fff}
.file-field:hover{background:#f8fafc}
.file-chip{border-radius:999px;background:#f1f5f9;color:#334155;padding:.4rem .75rem;font-size:.78rem;font-weight:600}

.site-footer{border-top:1px solid var(--line);background:#fff}
.footer-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:2rem;padding:2.4rem 0;align-items:center}
.footer-brand,.brand-image,.site-logo,.footer-logo{background:transparent!important}
.footer-logo{display:block;height:96px;width:auto;max-width:100%;object-fit:contain;background:transparent}
.footer-title{color:#94a3b8;text-transform:uppercase;letter-spacing:.2em;font-size:.78rem;font-weight:700}
.footer-sub,.footer-links{margin-top:.7rem;color:#64748b;font-size:.95rem}
.footer-links{display:grid;gap:.45rem}

body{
  background:
    radial-gradient(circle at top left, rgba(45,212,191,.05), transparent 22%),
    linear-gradient(180deg,#ffffff,#fbfdff 18%,#ffffff 100%);
}
.section-white{background:#ffffff}
.section-soft{background:linear-gradient(180deg,#f8fafc 0%, #f3f7fb 100%)}
.section-soft .editorial-card{background:rgba(255,255,255,.98)}
.process-rhythm{position:relative}
.process-rhythm::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 10% 15%, rgba(45,212,191,.06), transparent 16%),
    radial-gradient(circle at 90% 75%, rgba(29,78,216,.05), transparent 18%);
  pointer-events:none;
}
.process-rhythm .container{position:relative;z-index:1}
#qui-sommes-nous,.section-soft,.process-rhythm{
  border-top:1px solid rgba(226,232,240,.7);
  border-bottom:1px solid rgba(226,232,240,.6);
}

.site-header-jobs-gray{
  background:linear-gradient(180deg,#f8fafc,#f3f7fb);
  border-bottom:1px solid rgba(226,232,240,.85);
}
.site-header-jobs-gray .main-nav a{color:#475569}
.site-header-jobs-gray .main-nav a:hover{color:#0f172a}
.site-header-jobs-gray .btn-ghost{color:#334155}
.site-header-jobs-gray .btn-ghost:hover{background:rgba(15,23,42,.04)}

@media (max-width:1180px){
  .hero-grid,.recruiter-grid,.cards-3,.editorial-grid,.jobs-grid,.jobs-grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}
  .workflow-row{grid-template-columns:1fr 66px 1fr}
}

@media (max-width:980px){
  .workflow-shell{
    padding-left:0;
  }
  .workflow-shell::before{
    left:28px;
    transform:none;
  }
  .workflow-list{
    gap:1rem;
  }
  .workflow-row{
    display:flex !important;
    align-items:center;
    gap:1rem;
    margin-bottom:0;
  }
  .workflow-middle{
    order:1;
    flex:0 0 56px;
    width:56px;
    display:flex;
    justify-content:center;
    align-items:center;
    grid-column:auto !important;
  }
  .workflow-side-left,
  .workflow-side-right{
    order:2;
    flex:1 1 auto;
    width:auto !important;
    grid-column:auto !important;
  }
  .workflow-ghost{
    display:none !important;
  }
  .workflow-card{
    min-height:auto;
    padding:1rem 1.1rem;
  }
  .workflow-final .workflow-card{
    min-height:auto;
  }
}

@media (max-width:920px){
  .nav-wrap{
    padding:.45rem 0;
    gap:.75rem;
  }
  .site-logo{
    height:52px !important;
    max-width:58vw !important;
    width:auto;
  }
  .footer-logo{
    height:64px !important;
    width:auto;
  }
  .menu-toggle{
    display:inline-grid;
    place-items:center;
  }
  .main-nav,
  .nav-cta{
    display:none;
  }
  .main-nav.open{
    position:absolute;
    left:1rem;
    right:1rem;
    top:calc(100% + .5rem);
    background:#fff;
    border:1px solid var(--line);
    border-radius:1.25rem;
    box-shadow:0 18px 40px -24px rgba(15,23,42,.35);
    padding:1rem;
    display:grid;
    gap:.9rem;
  }
  .site-header-jobs-gray .main-nav.open{
    background:linear-gradient(180deg,#f8fafc,#f3f7fb);
    border-color:rgba(226,232,240,.85);
  }
  .site-header-jobs-gray .main-nav.open a{
    color:#334155;
  }
  .hero-grid,
  .cards-3,
  .editorial-grid,
  .jobs-grid,
  .jobs-grid-3,
  .recruiter-grid,
  .footer-grid{
    grid-template-columns:1fr !important;
  }
  .hero-grid{
    padding-top:2.2rem;
    padding-bottom:2.8rem;
    gap:1.5rem;
  }
  .hero-title{
    font-size:clamp(2rem,8vw,2.6rem) !important;
    line-height:1.08;
  }
  .jobs-panel,
  .info-card,
  .expert-card,
  .editorial-card,
  .workflow-card,
  .contact-card{
    width:100%;
  }
  .jobs-panel-head,
  .cta-band{
    flex-direction:column;
    align-items:flex-start;
  }
  .hero{
    overflow:visible;
  }
  .section,
  .page-hero{
    padding-top:3.2rem;
    padding-bottom:3.6rem;
  }
}

@media (max-width:640px){
  .site-logo{
    height:44px !important;
    max-width:52vw !important;
  }
  .footer-logo{
    height:56px !important;
  }
  .hero-title{
    font-size:clamp(1.8rem,9vw,2.25rem) !important;
  }
  .lead{
    font-size:1rem;
    line-height:1.75;
  }
  .section{
    padding:3rem 0 3.4rem;
  }
}

/* =========================
   FINAL OVERRIDES — V28
   Footer alignment + editorial cards
   ========================= */

/* Footer */
.site-footer{
  background:#ffffff;
  border-top:1px solid #e2e8f0;
  padding-top:.35rem;
}

.footer-grid{
  display:grid;
  grid-template-columns:1.15fr .95fr .95fr .95fr;
  column-gap:44px;
  align-items:start;
}

.footer-grid > div{
  align-self:start;
}

.footer-grid > div:nth-child(1){
  justify-self:start;
}

.footer-grid > div:nth-child(2){
  justify-self:start;
}

.footer-grid > div:nth-child(3){
  justify-self:center;
  text-align:center;
}

.footer-grid > div:nth-child(4){
  justify-self:start;
}

.footer-title{
  margin:0 0 .55rem 0;
  color:#94a3b8;
  text-transform:uppercase;
  letter-spacing:.2em;
  font-size:.78rem;
  font-weight:700;
}

.footer-links{
  margin-top:0;
  display:grid;
  gap:.45rem;
  color:#64748b;
  font-size:.95rem;
}

.footer-links a{
  color:#64748b;
  text-decoration:none;
}

.footer-links a:hover{
  color:#0f172a;
}

/* Section Pourquoi SLA Talents */
.editorial-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:28px;
  align-items:stretch;
}

.editorial-card{
  display:flex;
  flex-direction:column;
  height:100%;
  overflow:hidden;
  border:1px solid rgba(226,232,240,.95);
  border-radius:32px;
  background:#ffffff;
  box-shadow:0 12px 30px -24px rgba(15,23,42,.25);
}

.editorial-media{
  height:340px;
  padding:0 10px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  border-radius:32px 32px 0 0;
  background:#0b1120;
}

.editorial-media img{
  width:100%;
  height:100%;
  display:block;
  object-fit:contain;
  object-position:center center;
}

/* Specific backgrounds per card */
.editorial-card:first-child .editorial-media{
  background:#07101f;
  padding:0 10px;
}

.editorial-card:nth-child(2) .editorial-media{
  background:#eef3f7;
  padding:0 10px;
}

.editorial-card:nth-child(3) .editorial-media{
  background:#0a1220;
  padding:0 10px;
}

.editorial-body{
  padding:1.35rem 1.35rem 1.5rem;
}

.editorial-body h3{
  margin:0;
  font-size:1.3rem;
  letter-spacing:-.03em;
}

.editorial-body p{
  margin:.8rem 0 0;
  color:#64748b;
  line-height:1.8;
}

/* Responsive */
@media (max-width:1180px){
  .footer-grid{
    grid-template-columns:1fr 1fr 1fr 1fr;
    column-gap:28px;
  }
}

@media (max-width:920px){
  .footer-grid{
    grid-template-columns:1fr;
    gap:1.35rem;
  }

  .footer-grid > div:nth-child(3),
  .footer-grid > div:nth-child(4){
    justify-self:start;
    text-align:left;
  }

  .editorial-grid{
    grid-template-columns:1fr !important;
    gap:20px;
  }

  .editorial-media{
    height:300px;
    padding:0 8px;
  }
}

@media (max-width:640px){
  .editorial-media{
    height:280px;
    padding:0 6px;
  }
}

/* =========================
   FINAL OVERRIDES — V29
   Footer spacing/alignment fix
   ========================= */
.footer-grid{
  display:grid !important;
  grid-template-columns: 1.2fr 1fr 1fr 1fr !important;
  column-gap: 36px !important;
  align-items:start !important;
}

.footer-grid > div{
  justify-self:start !important;
  align-self:start !important;
  text-align:left !important;
}

.footer-title{
  margin:0 0 .55rem 0 !important;
}

.footer-links{
  margin-top:0 !important;
}

.footer-grid > div:nth-child(3) .footer-links,
.footer-grid > div:nth-child(4) .footer-links{
  justify-items:start !important;
}

@media (max-width:920px){
  .footer-grid{
    grid-template-columns:1fr !important;
    gap:1.35rem !important;
  }
}



/* =========================
   FINAL MOBILE FOOTER FIX — V30
   ========================= */
@media (max-width: 768px) {
  .footer-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    row-gap: 24px !important;
    column-gap: 0 !important;
    width: 100% !important;
  }

  .footer-grid > div {
    width: 100% !important;
    justify-self: start !important;
    align-self: start !important;
    text-align: left !important;
    transform: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
  }

  .footer-grid > div:first-child {
    width: auto !important;
  }

  .footer-title {
    margin-bottom: 10px !important;
  }

  .footer-links {
    gap: 8px !important;
  }

  .footer-links a,
  .footer-links span {
    display: block !important;
    text-align: left !important;
    word-break: break-word;
  }

  .footer-logo {
    height: 56px !important;
    max-width: 220px !important;
  }

  .site-footer {
    padding: 24px 0 !important;
  }
}


.file-selected{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:.75rem;
  border:1px solid #dbe6f0;
  border-radius:1rem;
  padding:.9rem 1rem;
  background:#f8fbfd;
  color:#475569;
}
.file-selected-name{
  font-size:.92rem;
  word-break:break-word;
}
.file-remove-btn{
  border:none;
  background:transparent;
  color:#0f172a;
  font-weight:600;
  cursor:pointer;
  white-space:nowrap;
}
.file-remove-btn:hover{
  text-decoration:underline;
}
@media (max-width:640px){
  .file-selected{
    flex-direction:column;
    align-items:flex-start;
  }
}
