/* =========================================================
   Page "Devenir recruteur" — composants spécifiques
   S'appuie sur style2.css (charte blanc + bleus)
   ========================================================= */

/* Ancrage : compenser header + sous-nav sticky */
.anchor{ scroll-margin-top:132px; }

/* Sous-navigation à onglets (sticky sous le header) */
.subnav{ position:sticky; top:64px; z-index:40; background:rgba(255,255,255,.92); backdrop-filter:blur(12px); border-bottom:1px solid var(--line); }
.subnav__row{ display:flex; justify-content:center; gap:6px; overflow-x:auto; scrollbar-width:none; }
.subnav__row::-webkit-scrollbar{ display:none; }
.subnav a{ position:relative; flex-shrink:0; padding:18px 4px; margin-right:26px; font-weight:500; font-size:15px; color:var(--muted); white-space:nowrap; transition:color .2s; }
.subnav a::after{ content:""; position:absolute; left:0; right:0; bottom:-1px; height:2px; background:var(--blue); transform:scaleX(0); transition:transform .25s var(--ease); }
.subnav a:hover{ color:var(--navy); }
.subnav a.active{ color:var(--blue); }
.subnav a.active::after{ transform:scaleX(1); }
.subnav a:last-child{ margin-right:0; }

/* Hero page interne */
.phero{ position:relative; padding-top:150px; padding-bottom:clamp(48px,6vw,80px); overflow:hidden; }
/* Pas de double marge entre le hero et la première section claire */
.phero + .section:not(.section--navy){ padding-top:0; }
.phero__blob{ position:absolute; z-index:0; width:560px; height:560px; right:-150px; top:-120px; border-radius:50%; filter:blur(72px); background:radial-gradient(circle, rgba(108,155,224,.28), transparent 70%); pointer-events:none; }
.phero__grid{ position:relative; z-index:2; display:grid; grid-template-columns:1.2fr .8fr; gap:48px; align-items:center; }
.phero h1{ margin-top:20px; text-wrap:pretty; }
.phero h1 em{ font-style:normal; color:var(--blue); }
.phero__lead{ margin-top:22px; max-width:560px; }
.phero__cta{ display:flex; gap:14px; margin-top:30px; flex-wrap:wrap; }
.phero__mini{ display:flex; gap:30px; margin-top:34px; flex-wrap:wrap; }
.phero__mini div{ }
.phero__mini b{ font-family:"Lexend Giga",sans-serif; font-weight:600; font-size:1.7rem; color:var(--navy); display:block; line-height:1; }
.phero__mini span{ font-size:13.5px; color:var(--muted); }

/* Fonctionnement VOUS <-> UDR */
.flow{ display:grid; grid-template-columns:1fr auto 1fr; gap:0; align-items:stretch; margin-top:44px; }
.flow__col{ padding:34px; border:1px solid var(--line); }
.flow__col:first-child{ border-radius:var(--radius) 0 0 var(--radius); }
.flow__col:last-child{ border-radius:0 var(--radius) var(--radius) 0; }
.flow__col--udr{ background:var(--navy); border-color:var(--navy); color:#cdd9e8; }
.flow__head{ font-family:"Lexend Giga",sans-serif; font-weight:600; font-size:13px; letter-spacing:.12em; text-transform:uppercase; color:var(--blue); margin-bottom:6px; }
.flow__col--udr .flow__head{ color:var(--blue-200); }
.flow__col h3{ font-size:1.25rem; margin-bottom:20px; }
.flow__col--udr h3{ color:#fff; }
.flow__list{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:14px; }
.flow__list li{ display:flex; gap:12px; font-size:15.5px; line-height:1.45; }
.flow__list svg{ flex-shrink:0; width:20px; height:20px; margin-top:2px; color:var(--blue); }
.flow__col--udr .flow__list li{ color:#bfcee0; }
.flow__col--udr .flow__list svg{ color:var(--blue-200); }
.flow__mid{ display:grid; place-items:center; width:64px; }
.flow__mid span{ width:48px; height:48px; border-radius:50%; display:grid; place-items:center; background:#fff; border:1px solid var(--line); box-shadow:var(--shadow-sm); color:var(--blue); }
.flow__mid svg{ width:22px; height:22px; }

/* Rémunération : paliers + simulateur */
.tiers{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin-top:12px; }
.tier{ padding:24px; border-radius:var(--radius); border:1px solid var(--line); background:var(--surface); position:relative; overflow:hidden; }
.tier__bar{ height:6px; border-radius:6px; background:var(--grad); margin-bottom:18px; }
.tier:nth-child(1) .tier__bar{ width:55%; }
.tier:nth-child(2) .tier__bar{ width:70%; }
.tier:nth-child(3) .tier__bar{ width:85%; }
.tier:nth-child(4) .tier__bar{ width:100%; }
.tier__pct{ font-family:"Lexend Giga",sans-serif; font-weight:600; font-size:2rem; color:var(--navy); line-height:1; }
.tier__range{ margin-top:8px; font-size:14px; color:var(--muted); }

.sim{ margin-top:30px; display:grid; grid-template-columns:1fr 1fr; gap:0; border-radius:var(--radius-lg); overflow:hidden; border:1px solid var(--line); box-shadow:var(--shadow-md); }
.sim__in{ padding:clamp(28px,3vw,40px); background:var(--surface); }
.sim__out{ padding:clamp(28px,3vw,40px); background:var(--navy); color:#cdd9e8; }
.sim__field{ margin-bottom:22px; }
.sim__frow{ display:flex; justify-content:space-between; align-items:baseline; gap:12px; }
.sim__label{ font-weight:600; color:var(--navy); font-size:14.5px; }
.sim__val{ font-family:"Lexend Giga",sans-serif; font-weight:600; color:var(--blue); font-size:1.05rem; white-space:nowrap; }
.sim__ca-wrap{ margin-top:8px; padding-top:20px; border-top:1px solid var(--line); }
.sim__ca{ font-family:"Lexend Giga",sans-serif; font-weight:600; font-size:clamp(1.9rem,4vw,2.6rem); color:var(--blue); margin:4px 0 0; line-height:1; }
.sim__hint{ font-size:13px; color:var(--muted); letter-spacing:.04em; text-transform:uppercase; }
.sim__outlabel{ display:block; font-size:13px; color:#9fb2c9; letter-spacing:.06em; text-transform:uppercase; margin-bottom:14px; }
.sim input[type=range], .sim2 input[type=range]{ -webkit-appearance:none; appearance:none; width:100%; height:6px; border-radius:6px; background:linear-gradient(to right, var(--blue) 0%, var(--blue) 50%, var(--line) 50%); margin:12px 0 2px; }
.sim input[type=range]::-webkit-slider-thumb{ -webkit-appearance:none; appearance:none; width:26px; height:26px; border-radius:50%; background:#fff; border:3px solid var(--blue); box-shadow:var(--shadow-sm); cursor:pointer; }
.sim input[type=range]::-moz-range-thumb{ width:24px; height:24px; border-radius:50%; background:#fff; border:3px solid var(--blue); cursor:pointer; }
.sim__scale{ display:flex; justify-content:space-between; font-size:12px; color:var(--muted-soft,#8a97a6); }
.sim__break{ display:flex; flex-direction:column; gap:0; margin-top:6px; }
.sim__row{ display:flex; justify-content:space-between; gap:12px; padding:11px 0; border-bottom:1px solid rgba(255,255,255,.10); font-size:14.5px; }
.sim__row span:first-child{ color:#9fb2c9; }
.sim__row span:last-child{ font-weight:600; color:#fff; }
.sim__total{ margin-top:22px; padding-top:20px; border-top:1px solid rgba(255,255,255,.18); }
.sim__total small{ display:block; font-size:13px; color:#9fb2c9; letter-spacing:.04em; text-transform:uppercase; }
.sim__big{ font-family:"Lexend Giga",sans-serif; font-weight:600; font-size:clamp(2.2rem,4.4vw,3rem); color:#fff; line-height:1.05; margin-top:6px; }
.sim__avg{ margin-top:10px; font-size:14px; color:#9fb2c9; }
.sim__avg b{ color:var(--blue-200); }
.sim__disclaim{ margin-top:18px; font-size:12.5px; color:var(--muted); }

/* Simulateur complet (sim2) */
.sim2{ margin:30px auto 0; max-width:860px; border-radius:var(--radius-lg); border:1px solid var(--line); box-shadow:var(--shadow-md); background:var(--surface); padding:clamp(22px,2.4vw,32px); }
.sim2__head{ display:flex; align-items:center; gap:10px; font-family:"Lexend Giga",sans-serif; font-weight:600; color:var(--navy); font-size:1.05rem; margin-bottom:22px; }
.sim2__head svg{ width:22px; height:22px; color:var(--blue); }
.sim2__inputs{ display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.sim2 input[type=range]::-webkit-slider-thumb{ -webkit-appearance:none; appearance:none; width:26px; height:26px; border-radius:50%; background:#fff; border:3px solid var(--blue); box-shadow:var(--shadow-sm); cursor:pointer; }
.sim2 input[type=range]::-moz-range-thumb{ width:24px; height:24px; border-radius:50%; background:#fff; border:3px solid var(--blue); cursor:pointer; }
.sim2__eq{ display:flex; align-items:center; justify-content:center; gap:clamp(12px,2vw,28px); flex-wrap:wrap; background:var(--blue-50); border-radius:var(--radius); padding:22px; margin-top:24px; text-align:center; }
.sim2__eq > div{ display:flex; flex-direction:column; gap:7px; }
.sim2__eq small{ font-size:11.5px; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); }
.sim2__eq b{ font-family:"Lexend Giga",sans-serif; font-weight:600; font-size:clamp(1.15rem,2vw,1.55rem); color:var(--navy); }
.sim2__eq .sim2__catotal{ color:var(--blue); }
.sim2__op{ font-family:"Lexend Giga",sans-serif; font-size:1.25rem; color:#aab6c6; }
.sim2__res{ display:grid; grid-template-columns:1fr auto 1fr auto 1fr; align-items:center; gap:16px; background:var(--bg-2); border-radius:var(--radius); padding:22px; margin-top:18px; }
.sim2__resit small{ display:block; font-size:13px; color:var(--muted); margin-bottom:7px; }
.sim2__resit b{ font-family:"Lexend Giga",sans-serif; font-weight:600; font-size:clamp(1.15rem,2vw,1.5rem); color:var(--navy); }
.sim2__resit--win b{ color:var(--blue); }
.sim2__arrow{ color:var(--blue-200); display:grid; place-items:center; }
.sim2__arrow svg{ width:24px; height:24px; }
.sim2__break{ margin-top:20px; }
.sim2row{ display:flex; justify-content:space-between; gap:12px; padding:11px 0; border-bottom:1px solid var(--line); font-size:14.5px; }
.sim2row span:first-child{ color:var(--muted); }
.sim2row span:last-child{ font-weight:600; color:var(--navy); }
.tier{ transition:border-color .25s var(--ease), box-shadow .25s var(--ease); }
.tier--active{ border-color:var(--blue); box-shadow:0 0 0 3px var(--blue-50); }
@media (max-width:980px){
  .sim2__inputs{ grid-template-columns:1fr; gap:22px; }
  .sim2__res{ grid-template-columns:1fr; text-align:center; gap:18px; }
  .sim2__arrow{ transform:rotate(90deg); }
}

/* Comparateur d'outils */
.ctable{ width:100%; max-width:840px; border-collapse:separate; border-spacing:0; margin:8px auto 0; font-size:15px; }
.ctable th,.ctable td{ text-align:left; padding:12px 14px; border-bottom:1px solid var(--line); }
.ctable td:first-child,.ctable th:first-child{ white-space:nowrap; }
.ctable thead th{ font-family:"DM Sans",sans-serif; font-weight:600; font-size:12.5px; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); }
.ctable td:nth-child(2),.ctable th:nth-child(2){ text-align:center; color:var(--muted); white-space:nowrap; min-width:180px; }
.ctable td:nth-child(3),.ctable th:nth-child(3){ text-align:center; white-space:nowrap; }
.ctable .incl{ display:inline-flex; align-items:center; gap:6px; color:var(--blue); font-weight:600; }
.ctable .incl svg{ width:16px; height:16px; }
.ctable tbody tr:hover{ background:var(--bg-2); }
.ctable .total td{ border-bottom:0; border-top:2px solid var(--navy); font-family:"Lexend Giga",sans-serif; font-weight:600; color:var(--navy); font-size:1.05rem; padding-top:20px; }
.ctable .total td:nth-child(2){ text-decoration:line-through; color:var(--muted); }
/* Colonne "Avec Union du Recrutement" mise en avant (carte navy surélevée) */
.ctable td:nth-child(3),.ctable th:nth-child(3){ background:var(--navy); color:#fff; padding-inline:24px; border-bottom-color:rgba(255,255,255,.12); box-shadow:18px 0 34px -24px rgba(16,47,84,.55), -18px 0 34px -24px rgba(16,47,84,.55); }
.ctable thead th:nth-child(3){ color:#fff; font-weight:700; border-radius:16px 16px 0 0; box-shadow:0 -14px 30px -22px rgba(16,47,84,.5), 18px 0 34px -24px rgba(16,47,84,.55), -18px 0 34px -24px rgba(16,47,84,.55); }
.ctable tbody tr:last-child td:nth-child(3){ border-bottom:0; border-radius:0 0 16px 16px; box-shadow:0 16px 30px -20px rgba(16,47,84,.5), 18px 0 34px -24px rgba(16,47,84,.55), -18px 0 34px -24px rgba(16,47,84,.55); }
.ctable td:nth-child(3) .incl{ color:#fff; }
.ctable td:nth-child(3) .incl svg{ color:var(--blue-200); }
.ctable tbody tr:hover td:nth-child(3){ background:var(--navy); }
.compare__note{ margin:18px 0 0; text-align:center; font-size:13.5px; color:var(--muted); }

/* Options de marque */
.options{ display:grid; grid-template-columns:1fr 1fr; gap:22px; margin-top:12px; }
.option{ padding:34px; border-radius:var(--radius-lg); border:1px solid var(--line); background:var(--surface); }
.option--feat{ border-color:var(--blue); box-shadow:0 0 0 3px var(--blue-50); }
.option__tag{ display:inline-block; font-size:12px; font-weight:600; letter-spacing:.1em; text-transform:uppercase; color:var(--blue); margin-bottom:12px; }
.option h3{ font-size:1.4rem; margin-bottom:8px; }
.option > p{ font-size:15px; color:var(--muted); margin-bottom:20px; }
.option ul{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:12px; }
.option li{ display:flex; gap:11px; font-size:15px; line-height:1.45; }
.option li svg{ flex-shrink:0; width:19px; height:19px; color:var(--blue); margin-top:2px; }

/* FAQ accordéon */
.faq{ max-width:840px; margin-top:18px; }
.faq__item{ border-bottom:1px solid var(--line); }
.faq__q{ width:100%; display:flex; justify-content:space-between; align-items:center; gap:20px; text-align:left; background:none; border:0; padding:24px 0; font-family:"Lexend Giga",sans-serif; font-weight:500; font-size:1.08rem; color:var(--navy); cursor:pointer; }
.faq__q svg{ flex-shrink:0; width:22px; height:22px; color:var(--blue); transition:transform .3s var(--ease); }
.faq__item.open .faq__q svg{ transform:rotate(45deg); }
.faq__a{ overflow:hidden; max-height:0; transition:max-height .35s var(--ease); }
.faq__a p{ padding:0 0 24px; font-size:16px; color:var(--text); line-height:1.65; max-width:70ch; }

@media (max-width:980px){
  .phero__grid{ grid-template-columns:1fr; }
  .phero__media{ display:none; }
  .subnav__row{ justify-content:flex-start; }
  .flow{ grid-template-columns:1fr; }
  .flow__col:first-child{ border-radius:var(--radius) var(--radius) 0 0; }
  .flow__col:last-child{ border-radius:0 0 var(--radius) var(--radius); }
  .flow__mid{ width:auto; padding:8px 0; }
  .flow__mid span{ transform:rotate(90deg); }
  .tiers{ grid-template-columns:1fr 1fr; }
  .sim,.options{ grid-template-columns:1fr; }
}
@media (max-width:560px){
  .tiers{ grid-template-columns:1fr 1fr; }
  .subnav{ top:64px; }
  .ctable th,.ctable td{ padding:13px 10px; font-size:14px; }
}

/* =========================================================
   Alerte e-mail inline (pages secteur & profil recruteur)
   ========================================================= */
.ialert{ display:flex; align-items:center; gap:18px; flex-wrap:wrap; padding:22px 24px; margin-top:30px; border:1px solid var(--blue-200); background:var(--blue-50); border-radius:16px; }
.ialert__ic{ width:46px; height:46px; flex-shrink:0; border-radius:12px; background:#fff; color:var(--blue); display:grid; place-items:center; }
.ialert__ic svg{ width:23px; height:23px; }
.ialert__txt{ flex:1 1 240px; min-width:0; }
.ialert__txt b{ display:block; font-family:"Lexend Giga",sans-serif; font-weight:600; font-size:16px; color:var(--navy); text-wrap:pretty; }
.ialert__txt span{ display:block; font-size:14px; color:var(--muted); margin-top:3px; line-height:1.5; }
.ialert__form{ display:flex; gap:10px; flex:1 1 320px; }
.ialert__email{ flex:1; min-width:0; padding:12px 15px; border:1px solid var(--line); border-radius:11px; font-family:inherit; font-size:15px; background:#fff; color:var(--ink); }
.ialert__email:focus{ outline:none; border-color:var(--blue); box-shadow:0 0 0 3px var(--blue-50); }
.ialert__form .btn{ white-space:nowrap; flex-shrink:0; }
.ialert__msg{ flex-basis:100%; margin:2px 0 0; font-size:14px; line-height:1.5; }
.ialert__msg.is-err{ color:#b13b36; }
.ialert__msg.is-ok{ color:#177a48; }
@media (max-width:560px){
  .ialert__form{ flex-basis:100%; }
  .ialert__form .btn{ flex:1; }
}
