/* ============================================================
   TALENTS CHRÉTIENS — Page Rejoindre (v1)
   Charte graphique conforme à tc-accueil-v23-22
   ============================================================ */

/* ── VARIABLES ── */
:root {
  --navy:     #0B132B;
  --navy-80:  #1C2541;
  --navy-60:  #3A506B;
  --gold:     #C6A756;
  --gold-dk:  #A8893C;
  --gold-lt:  #F5EED0;
  --white:    #FFFFFF;
  --bg:       #F7F8FA;
  --cream:    #F4F1EB;
  --sand:     #EDE6D8;
  --txt:      #0F1A2E;
  --soft:     #3D4F63;
  --border:   rgba(11,19,43,.08);
  --green:    #2F855A;
  --green-bg: #F0FFF4;
  --surface:  #E8EDF2;
  --surface-2:#EDF1F5;
  --font-display: 'Inter', sans-serif;
  --font-body:    'Inter', sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── RESET ── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { overflow-x:hidden; font-size:16px; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--txt);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-top: 68px;
  max-width: 100%;
  overflow-x: hidden;
}
html, body { max-width: 100%; overflow-x: hidden; }

/* ── ANIMATION ── */
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }

/* ============================================================
   HEADER (fixed, conforme à la charte)
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--border);
}
.topbar {
  height: 68px;
  display: flex;
  align-items: center;
  padding: 0 28px;
  gap: 20px;
}
.tb-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.tb-logo img { height: 65px; width: auto; max-width: 300px; display: block; }
.tb-r { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.tb-icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-60);
  border-radius: 6px;
  opacity: 0;
  transition: opacity .3s, background .2s, color .2s;
}
.tb-icon-btn.visible { opacity: 1; }
.tb-icon-btn:hover { background: var(--surface-2); color: var(--navy); }
.tb-menu-btn {
  background: none;
  border: none;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-60);
  border-radius: 6px;
  transition: background .2s, color .2s;
}
.tb-menu-btn:hover { background: var(--surface-2); color: var(--navy); }

/* ============================================================
   DRAWER
   ============================================================ */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11,19,43,.45);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease-out);
}
.drawer-overlay.open { opacity: 1; pointer-events: all; }
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 300px;
  max-width: 90vw;
  background: var(--white);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .35s var(--ease-out);
  box-shadow: -4px 0 32px rgba(11,19,43,.15);
}
.drawer.open { transform: translateX(0); }
.drawer-header {
  height: 68px;
  display: flex;
  align-items: center;
  padding: 0 20px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.drawer-close {
  background: none;
  border: none;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-60);
  border-radius: 6px;
  margin-left: auto;
}
.drawer-close:hover { background: var(--surface); color: var(--navy); }
.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.drawer-nav-link {
  display: block;
  padding: 10px 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--navy-60);
  text-decoration: none;
  border-radius: 8px;
  transition: background .2s, color .2s;
}
.drawer-nav-link:hover, .drawer-nav-link.active {
  background: var(--surface);
  color: var(--navy);
}
.drawer-nav-link.active { font-weight: 600; }
.drawer-divider {
  height: 1px;
  background: var(--border);
  margin: 10px 0;
}
.drawer-cta-primary {
  display: block;
  background: var(--gold);
  color: var(--white);
  text-decoration: none;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  margin-top: 4px;
  transition: background .2s;
}
.drawer-cta-primary:hover { background: var(--gold-dk); }
.drawer-cta-secondary {
  display: block;
  background: var(--surface);
  color: var(--navy-60);
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  margin-top: 4px;
  transition: background .2s, color .2s;
}
.drawer-cta-secondary:hover { background: var(--surface-2); color: var(--navy); }

/* ── HERO ── */
.hero{background:var(--surface);position:relative;overflow:hidden;padding:72px 40px 80px;min-height:320px;}
.hero-pattern{position:absolute;inset:0;background:repeating-linear-gradient(45deg,transparent,transparent 40px,rgba(198,167,86,.04) 40px,rgba(198,167,86,.04) 41px);}
.hero-glow{position:absolute;top:-80px;right:-80px;width:500px;height:500px;background:radial-gradient(circle,rgba(198,167,86,.15) 0%,transparent 65%);}
.hero-inner{position:relative;z-index:2;max-width:720px;margin:0 auto;text-align:center;}
.hero-title{font-size:clamp(32px,4.5vw,44px);font-weight:700;color:var(--navy);letter-spacing:-.02em;line-height:1.1;margin-bottom:20px;}
.hero-title em{color:var(--gold-dk);font-style:italic;}
.hero-sub{font-size:17px;color:var(--navy-60);line-height:1.65;margin-bottom:12px;font-weight:400;max-width:600px;margin-left:auto;margin-right:auto;}
.hero-benefits{font-size:11px;color:var(--gold-dk);font-weight:500;letter-spacing:.3px;margin-top:10px;margin-bottom:32px;}
.hero-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin-bottom:14px;}
.btn-primary{background:var(--gold);color:#fff;border:none;padding:13px 28px;border-radius:6px;font-family:'Inter',sans-serif;font-size:14px;font-weight:700;cursor:pointer;transition:all .2s;white-space:nowrap;}
.btn-primary:hover{background:var(--gold-dk);transform:translateY(-1px);}
.btn-ghost{background:rgba(255,255,255,.8);color:var(--navy-60);border:1px solid var(--border);padding:13px 24px;border-radius:6px;font-family:'Inter',sans-serif;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s;white-space:nowrap;}
.btn-ghost:hover{background:#fff;color:var(--navy);border-color:rgba(198,167,86,.4);}

/* ── PAGE ── */
.page{max-width:1140px;margin:0 auto;padding:56px 40px;}
.sec-label{font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--gold-dk);margin-bottom:6px;}
.sec-title{font-size:clamp(20px,2.8vw,30px);font-weight:700;color:var(--navy);letter-spacing:-.3px;padding-bottom:10px;position:relative;margin-bottom:6px;}
.sec-title::after{content:'';position:absolute;bottom:0;left:0;width:28px;height:2px;background:var(--gold);opacity:.55;}
.sec-sub{font-size:15px;color:var(--soft);line-height:1.7;max-width:540px;margin-top:12px;font-weight:400;}

/* ── AVANTAGES ── */
.why-section{margin-bottom:64px;}
.why-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:32px;}
.why-card{background:#fff;border:1px solid var(--border);border-radius:10px;padding:24px;transition:all .2s;}
.why-card:hover{border-color:rgba(198,167,86,.35);box-shadow:0 4px 20px rgba(11,19,43,.08);transform:translateY(-2px);}
.why-card-head{display:flex;align-items:center;gap:14px;margin-bottom:12px;}
.why-icon{width:42px;height:42px;border-radius:9px;background:var(--gold-lt);display:flex;align-items:center;justify-content:center;color:var(--gold-dk);flex-shrink:0;}
.why-title{font-size:15px;font-weight:700;color:var(--navy-80);letter-spacing:-.2px;line-height:1.25;}
.why-text{font-size:14px;color:var(--soft);line-height:1.65;font-weight:400;}

/* ── VOTRE FICHE ── */
.profile-section{margin-bottom:64px;}
.profile-layout{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center;margin-top:32px;}
.profile-features{display:flex;flex-direction:column;gap:12px;}
.pf-item{display:flex;align-items:flex-start;gap:14px;background:#fff;border:1px solid var(--border);border-radius:8px;padding:16px 18px;}
.pf-check{width:28px;height:28px;border-radius:6px;background:var(--green-bg);display:flex;align-items:center;justify-content:center;color:var(--green);flex-shrink:0;margin-top:1px;}
.pf-title{font-size:13px;font-weight:700;color:var(--navy-80);margin-bottom:3px;}
.pf-desc{font-size:14px;color:var(--soft);line-height:1.6;font-weight:400;}
.profile-preview{background:var(--navy-80);border-radius:10px;padding:24px;position:relative;overflow:hidden;}
.profile-preview::before{content:'';position:absolute;top:-40px;right:-40px;width:200px;height:200px;background:radial-gradient(circle,rgba(198,167,86,.12) 0%,transparent 70%);}
.pp-inner{position:relative;z-index:1;}
.pp-label{font-size:10px;font-weight:700;letter-spacing:1.5px;text-transform:uppercase;color:var(--gold);margin-bottom:14px;}
.pp-card{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);border-radius:8px;padding:16px;}
.pp-card-head{display:flex;align-items:center;gap:12px;margin-bottom:12px;}
.pp-logo{width:44px;height:44px;border-radius:8px;background:rgba(255,255,255,.1);display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:700;color:#fff;flex-shrink:0;}
.pp-name{font-size:14px;font-weight:700;color:#fff;}
.pp-cat{font-size:11px;color:rgba(255,255,255,.4);margin-top:2px;}
.pp-status{margin-left:auto;font-size:10px;font-weight:700;color:#68D391;background:rgba(47,133,90,.2);padding:3px 8px;border-radius:4px;white-space:nowrap;}
.pp-rating-row{display:flex;align-items:center;gap:6px;margin-bottom:10px;}
.pp-stars{color:var(--gold);font-size:12px;}
.pp-sc{font-size:12px;font-weight:700;color:#fff;}
.pp-n{font-size:11px;color:rgba(255,255,255,.35);}
.pp-badge{display:inline-flex;align-items:center;gap:4px;font-size:10px;font-weight:600;color:#68D391;background:rgba(47,133,90,.15);border:1px solid rgba(47,133,90,.2);border-radius:4px;padding:2px 8px;margin-bottom:10px;}
.pp-bottom{display:flex;align-items:center;justify-content:space-between;padding-top:10px;border-top:1px solid rgba(255,255,255,.07);}
.pp-loc{font-size:11px;color:rgba(255,255,255,.35);}
.pp-cta{font-size:11px;font-weight:700;color:var(--gold);}
.pp-free-badge{margin-top:14px;display:flex;align-items:center;justify-content:center;gap:6px;font-size:11px;font-weight:700;color:#68D391;background:rgba(47,133,90,.1);border:1px solid rgba(47,133,90,.2);border-radius:6px;padding:8px;}

/* ── COMMENT ÇA MARCHE ── */
.how-section{margin-bottom:64px;}
.how-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:0;margin-top:32px;position:relative;}
.how-steps::before{content:'';position:absolute;top:27px;left:12.5%;right:12.5%;height:1px;background:var(--border);}
.how-step{text-align:center;padding:0 16px;}
.how-num{width:54px;height:54px;border-radius:50%;background:var(--navy-80);color:#fff;font-size:18px;font-weight:700;display:flex;align-items:center;justify-content:center;margin:0 auto 16px;position:relative;z-index:1;border:3px solid var(--bg);}
.how-step:first-child .how-num{background:var(--gold);}
.how-step-title{font-size:13px;font-weight:700;color:var(--navy-80);margin-bottom:6px;}
.how-step-text{font-size:15px;color:var(--soft);line-height:1.65;font-weight:400;}

/* ── CATÉGORIES ── */
.cats-section{margin-bottom:64px;}
.quick-cats{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;margin-top:24px;}
.qc{background:#fff;border:1px solid var(--border);border-radius:8px;padding:18px 12px 14px;text-align:center;cursor:pointer;transition:transform .25s ease,box-shadow .25s ease,border-color .2s ease;text-decoration:none;display:block;}
.qc:hover{border-color:rgba(198,167,86,.45);box-shadow:0 10px 28px rgba(11,19,43,.14);transform:translateY(-4px);}
.qc-ico{width:44px;height:44px;margin:0 auto 10px;display:flex;align-items:center;justify-content:center;background:var(--bg);border-radius:10px;color:var(--navy-60);}
.qc svg{transition:stroke .2s ease,fill .2s ease;}
.qc:hover .qc-ico{background:var(--gold-lt);color:var(--gold-dk);}
.qc:hover svg path,
.qc:hover svg line,
.qc:hover svg polyline{stroke:var(--gold-dk);}
.qc:hover svg circle{fill:var(--gold-dk);}
.qc-name{font-size:12px;font-weight:600;color:var(--navy-80);}

/* ── TÉMOIGNAGES ── */
.testi-section{margin-bottom:64px;}
.testi-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:32px;}
.testi-card{background:#fff;border:1px solid var(--border);border-radius:10px;padding:24px;}
.testi-stars{color:var(--gold);font-size:13px;margin-bottom:12px;}
.testi-quote{font-size:15px;color:var(--txt);line-height:1.75;margin-bottom:16px;font-style:italic;font-weight:400;}
.testi-author{display:flex;align-items:center;gap:10px;padding-top:14px;border-top:1px solid var(--border);}
.testi-avatar{width:36px;height:36px;border-radius:50%;background:var(--navy-80);display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:700;color:#fff;flex-shrink:0;}
.testi-name{font-size:13px;font-weight:700;color:var(--navy-80);}
.testi-job{font-size:11px;color:var(--soft);margin-top:1px;}

/* ── FAQ ── */
.faq-section{margin-bottom:64px;}
.faq-list{margin-top:32px;display:flex;flex-direction:column;gap:10px;}
.faq-item{background:#fff;border:1px solid var(--border);border-radius:8px;overflow:hidden;}
.faq-q{padding:16px 20px;font-size:14px;font-weight:600;color:var(--navy-80);cursor:pointer;display:flex;align-items:center;justify-content:space-between;user-select:none;}
.faq-q:hover{color:var(--gold-dk);}
.faq-chevron{color:var(--soft);transition:transform .2s;flex-shrink:0;}
.faq-item.open .faq-chevron{transform:rotate(180deg);}
.faq-a{font-size:13px;color:var(--soft);line-height:1.75;padding:0 20px 16px;display:none;font-weight:400;}
.faq-item.open .faq-a{display:block;}

/* ── CTA FINAL ── */
.cta-banner{background:var(--navy-80);border-radius:10px;padding:40px 48px;display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:0;position:relative;overflow:hidden;}
.cta-banner::before{content:'';position:absolute;top:-60px;right:-60px;width:280px;height:280px;background:radial-gradient(circle,rgba(198,167,86,.15) 0%,transparent 70%);}
.cb-left{position:relative;z-index:1;}
.cb-label{font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--gold);margin-bottom:8px;}
.cb-title{font-size:clamp(20px,2.5vw,28px);font-weight:700;color:#fff;letter-spacing:-.3px;margin-bottom:6px;}
.cb-sub{font-size:13px;color:rgba(255,255,255,.45);line-height:1.65;max-width:440px;font-weight:400;}
.cb-right{display:flex;flex-direction:column;gap:8px;flex-shrink:0;position:relative;z-index:1;align-items:flex-end;}
.cb-btn-main{background:var(--gold);color:#ffffff;border:none;padding:14px 32px;border-radius:6px;font-family:'Inter',sans-serif;font-size:15px;font-weight:700;cursor:pointer;transition:all .2s;white-space:nowrap;}
.cb-btn-main:hover{background:var(--gold-dk);transform:translateY(-1px);}
.cb-free{font-size:11px;color:rgba(255,255,255,.35);display:flex;align-items:center;gap:5px;}

/* ── FOOTER ── */
.site-footer {}
.footer {
  background: var(--surface);
  padding: 22px 40px 8px;
}
.ft-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 10px;
}
.ft-brand-name { font-size: 17px; font-weight: 700; color: var(--navy); letter-spacing: -.3px; }
.ft-brand-tag  { font-size: 12px; color: var(--navy-60); text-transform: uppercase; letter-spacing: 1.5px; margin-top: 3px; }
.ft-brand-desc { font-size: 14px; color: var(--soft); margin-top: 10px; line-height: 1.5; max-width: 280px; font-weight: 400; }
.ft-col  { min-width: 0; }
.ft-col-title { font-size: 12px; font-weight: 600; color: var(--navy-60); text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 12px; }
.ft-col a { display: block; font-size: 13px; color: var(--soft); text-decoration: none; margin-bottom: 5px; transition: color .2s; }
.ft-col a:hover { color: var(--navy); }
.ft-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 8px; }
.ft-copy   { font-size: 12px; color: var(--navy-60); }
.ft-legal  { display: flex; gap: 8px; }
.ft-legal a { font-size: 12px; color: var(--navy-60); text-decoration: none; transition: color .2s; }
.ft-legal a:hover { color: var(--navy); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  body { padding-top: 68px; }
  .topbar { height: 68px; min-height: 68px; padding: 0 14px; gap: 8px; }
  .tb-logo img { height: 36px; max-width: 200px; }
  /* hero */
  .hero { padding: 40px 20px 56px; }
  /* page */
  .page { padding: 36px 20px; }
  .why-grid { grid-template-columns: 1fr; }
  .profile-layout { grid-template-columns: 1fr; }
  .profile-preview { display: none; }
  .how-steps { grid-template-columns: repeat(2,1fr); gap: 24px; }
  .how-steps::before { display: none; }
  .quick-cats { grid-template-columns: repeat(3,1fr); }
  .testi-grid { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; padding: 28px 24px; }
  .cb-right { align-items: stretch; width: 100%; }
  .cb-btn-main { text-align: center; }
  /* footer */
  .footer { padding: 16px 20px 6px; }
  .ft-top { grid-template-columns: 1fr 1fr; gap: 20px; }
  .ft-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 540px) {
  .ft-top { grid-template-columns: 1fr; }
}
