/* ===== ERTP — Feuille de style partagée ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --navy:   #1B2A4A;
  --blue:   #3D52A1;
  --blue-d: #2E3F7E;
  --coral:  #D85A30;
  --blue-lt:#E6F1FB;
  --bg:     #FFFFFF;
  --bg-alt: #F4F6FA;
  --text:   #2C2C2A;
  --muted:  #5F5E5A;
  --border: #E2E7F0;
  --white:  #FFFFFF;
  --maxw:   1180px;
}

* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ===== HEADER ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; gap: 24px;
}
.brand { display: flex; align-items: center; }
.brand svg { height: 56px; width: auto; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  font-size: 15px; font-weight: 500; color: var(--text);
  padding: 4px 0; position: relative; transition: color .15s;
}
.nav a:hover { color: var(--blue); }
.nav a.active { color: var(--blue); font-weight: 700; }
.nav a.active::after {
  content:''; position:absolute; left:0; right:0; bottom:-6px;
  height:2px; background: var(--coral); border-radius: 2px;
}
.header-right { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: flex; gap: 4px; align-items: center; font-size: 13px; }
.lang-switch a {
  padding: 4px 8px; border-radius: 5px; font-weight: 600; color: var(--muted);
}
.lang-switch a.active { background: var(--blue-lt); color: var(--blue); }
.btn-contact {
  background: var(--blue); color: #fff; padding: 9px 18px;
  border-radius: 8px; font-weight: 600; font-size: 14px; transition: background .15s;
}
.btn-contact:hover { background: var(--blue-d); }

.burger { display:none; background:none; border:0; cursor:pointer; padding:6px; }
.burger span { display:block; width:24px; height:2px; background:var(--navy); margin:5px 0; transition:.2s; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block; padding: 12px 24px; border-radius: 8px;
  font-weight: 700; font-size: 15px; transition: transform .12s, box-shadow .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-light { background: #fff; color: var(--blue); }
.btn-light:hover { box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-d); }
.btn-coral { background: var(--coral); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border: 2px solid #fff; }
.btn-outline-light:hover { background: #fff; color: var(--navy); }

/* ===== LAYOUT ===== */
.section { padding: 72px 24px; }
.section-alt { background: var(--bg-alt); }
.container { max-width: var(--maxw); margin: 0 auto; }
.center { text-align: center; }
.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--coral); margin-bottom: 14px;
}
.eyebrow.blue { color: var(--blue); }
h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 900; line-height: 1.08; letter-spacing: -.02em; color: var(--navy); }
h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; line-height: 1.15; letter-spacing: -.01em; color: var(--navy); }
h3 { font-size: 21px; font-weight: 700; color: var(--navy); }
.lead { font-size: 18px; color: var(--muted); max-width: 680px; }
.center .lead { margin-left: auto; margin-right: auto; }
.mt-s { margin-top: 12px; } .mt-m { margin-top: 24px; } .mt-l { margin-top: 40px; }

/* ===== HERO BANNER ===== */
.hero {
  background: var(--navy); color: #fff; text-align: center;
  padding: 88px 24px; position: relative; overflow: hidden;
}
.hero.blue-hero { background: var(--blue); }
.hero::before {
  content:''; position:absolute; top:0; right:0;
  border-style: solid; border-width: 0 130px 130px 0;
  border-color: transparent var(--coral) transparent transparent; opacity:.9;
}
.hero h1 { color: #fff; }
.hero .lead { color: rgba(255,255,255,.8); margin: 18px auto 0; }
.hero .btn { margin-top: 34px; }

/* ===== CARDS (2-col) ===== */
.cards-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 44px; }
.card-feature { padding: 38px 32px; border-radius: 14px; }
.card-feature h2 { margin-bottom: 14px; }
.card-feature p { font-size: 16px; line-height: 1.55; }
.card-feature .btn { margin-top: 22px; }
.card-feature .fineprint { font-size: 13px; margin-top: 16px; opacity: .85; }
.card-blue { background: var(--blue); color: #fff; }
.card-blue h2 { color: #fff; }
.card-white { background: #fff; color: var(--blue); border: 2px solid var(--blue); }
.card-white h2 { color: var(--blue); }
.card-white p { color: var(--muted); }
.card-coral { background: var(--coral); color: #fff; }
.card-coral h2 { color:#fff; }
.card-grey { background: #fff; color: var(--navy); border: 1px solid var(--border); }

/* ===== 3-COL FEATURES ===== */
.features-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; margin-top: 46px; }
.feature { text-align: center; }
.feature .ico {
  width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 16px;
  background: var(--blue-lt); display: flex; align-items: center; justify-content: center;
}
.feature .ico svg { width: 30px; height: 30px; }
.feature h3 { margin-bottom: 8px; }
.feature p { font-size: 15px; color: var(--muted); }

/* ===== 4-COL / 2x2 GAIN GRID ===== */
.grid-2x2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 44px; }
.gain {
  background: var(--bg-alt); border: 1px solid var(--border); border-radius: 14px;
  padding: 30px; text-align: center;
}
.gain .ico { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 14px;
  background: var(--blue-lt); display:flex; align-items:center; justify-content:center; }
.gain .ico svg { width: 26px; height: 26px; }
.gain h3 { margin-bottom: 8px; }
.gain p { font-size: 15px; color: var(--muted); }

/* ===== CTA BANNER ===== */
.cta-band { text-align: center; color: #fff; padding: 64px 24px; }
.cta-coral { background: var(--coral); }
.cta-blue { background: var(--blue); }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { color: rgba(255,255,255,.85); }
.cta-band .btn { margin-top: 28px; }
.cta-band .fineprint { font-size: 13px; color: rgba(255,255,255,.8); margin-top: 18px; font-style: italic; }

/* ===== LISTS (recruiters two-model) ===== */
.card-feature ul { list-style: none; margin-top: 8px; }
.card-feature ul li { padding: 7px 0; display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.card-feature ul li::before { content: '✓'; font-weight: 800; }
.card-blue ul li::before { color: #fff; }
.card-white ul li::before { color: var(--blue); }

/* ===== ABOUT ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split p { color: var(--muted); margin-bottom: 14px; }
.split img, .split .imgph {
  border-radius: 16px; width: 100%; aspect-ratio: 4/3; object-fit: cover;
  background: var(--bg-alt); border: 1px solid var(--border);
}
.team { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; margin-top: 46px; }
.member { text-align: center; }
.member .avatar {
  width: 165px; height: 165px; margin: 0 auto 16px;
  object-fit: contain;
}
.member h3 { font-size: 18px; }
.member .role { color: var(--coral); font-weight: 600; font-size: 13px; margin: 4px 0 10px; }
.member p { font-size: 14px; color: var(--muted); }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 10px; }
.contact-card {
  background: var(--bg-alt); border: 1px solid var(--border); border-radius: 16px; padding: 38px;
}
.contact-line { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.contact-line:last-child { border-bottom: 0; }
.contact-line .ci {
  width: 44px; height: 44px; border-radius: 12px; background: var(--blue-lt);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-line .ci svg { width: 20px; height: 20px; }
.contact-line .lbl { font-size: 13px; color: var(--muted); }
.contact-line .val { font-size: 17px; font-weight: 700; color: var(--navy); }

/* ===== FOOTER ===== */
.site-footer { background: var(--navy); color: rgba(255,255,255,.75); padding: 56px 24px 28px; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer .flogo svg { height: 40px; margin-bottom: 16px; }
.site-footer h4 { color: #fff; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; }
.site-footer li { padding: 5px 0; }
.site-footer a:hover { color: #fff; }
.footer-bottom { max-width: var(--maxw); margin: 32px auto 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 860px) {
  .nav { display: none; position: absolute; top: 66px; left: 0; right: 0; background: #fff;
    flex-direction: column; padding: 16px 24px; gap: 16px; border-bottom: 1px solid var(--border); box-shadow: 0 10px 30px rgba(0,0,0,.06); }
  .nav.open { display: flex; }
  .burger { display: block; }
  .cards-2, .features-3, .grid-2x2, .split, .team, .contact-grid, .footer-inner { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

/* ===== AJOUTS APERÇU MODIFIÉ ===== */
/* Schéma de matching (accueil) */
.matching-diagram{display:flex;align-items:stretch;justify-content:center;flex-wrap:wrap;margin:34px auto 0;background:#1F66B8;padding:40px 30px;border-radius:22px;max-width:900px}
.matching-diagram .node{background:#fff;border-radius:14px;padding:28px 22px;flex:1 1 0;min-width:170px;max-width:250px;display:flex;align-items:center;justify-content:center;text-align:center;font-weight:700;font-size:19px;color:#1B2A4A;box-shadow:0 8px 22px rgba(0,0,0,.18);line-height:1.3}
.matching-diagram .node.center{font-size:16px}
.matching-diagram .arrow{display:flex;align-items:center;justify-content:center;color:#fff;font-size:38px;font-weight:700;padding:0 14px;flex:0 0 auto}
@media(max-width:760px){.matching-diagram{flex-direction:column;padding:28px 20px}.matching-diagram .node{max-width:none;width:100%}.matching-diagram .arrow{transform:rotate(90deg);padding:10px 0}}
/* Offre entreprises hiérarchisée */
.offer-primary{background:var(--blue-lt,#eef0f8);border:2px solid #3D52A1;border-radius:18px;padding:34px 30px;max-width:760px;margin:0 auto;text-align:left}
.offer-primary h2{margin:0 0 10px}
.option-secondary{max-width:640px;margin:22px auto 0;border:1px dashed #b9c0db;border-radius:14px;padding:20px 24px;text-align:left;background:#fafbff}
.option-secondary h3{margin:0 0 6px;color:#3D52A1}
.option-secondary p{margin:0;color:var(--muted,#5b6478);font-size:15px}
.badge-soft{display:inline-block;background:#3D52A1;color:#fff;font-size:12px;font-weight:600;padding:3px 11px;border-radius:999px;margin-bottom:12px;letter-spacing:.02em}
