/* Candivio v9.1 — Pack candidat : même charte lumineuse que Mes documents.
   Les classes pack-* restent dédiées à cette page : aucun style global modifié. */
body.candivio-profile #profileStep3 {
  --ink:#122241;
  --muted:#71829d;
  --primary:#4264e9;
  --teal:#12a6ab;
  --line:#e4e9f2;
  --shadow:0 14px 40px rgba(25,47,89,.05);
  margin:0; /* neutralise les 8px natifs du navigateur, y compris autour du header */
  min-height:100vh;
  background:#f5f7fb;
  color:var(--ink);
  font-family:var(--cv-font, "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif);
}
body.candivio-profile #profileStep3 *,body.candivio-profile #profileStep3 *::before,body.candivio-profile #profileStep3 *::after{box-sizing:border-box}
body.candivio-profile #profileStep3 .pack-main{
  width:100%;max-width:1430px;margin:0 auto;
  padding:42px clamp(16px,3.2vw,50px) 90px;
}
body.candivio-profile #profileStep3 .pack-hero{margin:0 0 31px}
body.candivio-profile #profileStep3 .pack-hero h1{
  margin:0 0 12px;font-size:clamp(35px,4.2vw,42px);
  line-height:1.1;letter-spacing:-.065em;font-weight:800;color:#122241;
}
body.candivio-profile #profileStep3 .pack-dot{color:var(--teal)}
body.candivio-profile #profileStep3 .pack-hero p{
  max-width:760px;margin:0;color:var(--muted);line-height:1.55;font-size:14px;
}
body.candivio-profile #profileStep3 .pack-kicker{color:var(--teal);font-weight:800;letter-spacing:.13em;font-size:11px}
body.candivio-profile #profileStep3 .pack-controls{
  display:flex;align-items:center;justify-content:space-between;gap:26px;
  padding:26px 27px;background:#fff;border:1px solid var(--line);
  border-radius:19px;box-shadow:var(--shadow);
}
body.candivio-profile #profileStep3 .pack-controls>div:first-child{flex:1 1 auto;min-width:0}
body.candivio-profile #profileStep3 .pack-controls strong{display:block;color:var(--ink);font-size:15px;font-weight:800}
body.candivio-profile #profileStep3 .pack-controls p{
  margin:9px 0 12px;max-width:750px;font-size:12px;line-height:1.6;color:var(--muted);
}
body.candivio-profile #profileStep3 .pack-consent{
  display:flex;align-items:flex-start;gap:10px;margin:0;color:#395267;
  font-size:12px;line-height:1.5;cursor:pointer;
}
body.candivio-profile #profileStep3 .pack-consent input{flex:none;margin:3px 0 0;accent-color:var(--teal)}
body.candivio-profile #profileStep3 .pack-ctrl-buttons{
  display:flex;flex:none;flex-direction:column;align-items:stretch;gap:12px;min-width:230px;
}
body.candivio-profile #profileStep3 .pack-ctrl-buttons button,
body.candivio-profile #profileStep3 .pack-section-top button{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  border:1px solid transparent;border-radius:11px;padding:13px 19px;
  background:#0b82b4;color:#fff;font:inherit;font-size:12px;font-weight:760;
  cursor:pointer;box-shadow:0 8px 18px rgba(11,130,180,.15);
}
body.candivio-profile #profileStep3 .pack-ctrl-buttons button:hover,
body.candivio-profile #profileStep3 .pack-section-top button:hover{background:#076f9c}
body.candivio-profile #profileStep3 .pack-ctrl-buttons button:disabled,
body.candivio-profile #profileStep3 .pack-section-top button:disabled{opacity:.55;cursor:wait}
body.candivio-profile #profileStep3 .pack-ctrl-buttons a{text-align:center;text-decoration:none;color:#196e9b;font-size:12px;font-weight:650}
body.candivio-profile #profileStep3 .pack-ctrl-buttons a:hover{text-decoration:underline}
body.candivio-profile #profileStep3 .pack-notice{
  margin:18px 0 0;padding:14px 17px;border:1px solid #dbeaf3;border-radius:11px;
  background:#eaf5f9;color:#3b6878;font-size:12px;line-height:1.5;
}
body.candivio-profile #profileStep3 .pack-notice.error{color:#873c35;background:#fff0ee;border-color:#f3d5d1}
body.candivio-profile #profileStep3 .pack-section-top{
  display:flex;align-items:center;justify-content:space-between;gap:18px;
  margin:38px 0 19px;
}
body.candivio-profile #profileStep3 .pack-section-top h2{margin:7px 0 5px;font-size:21px;letter-spacing:-.4px;color:var(--ink)}
body.candivio-profile #profileStep3 .pack-section-top small{color:#8190a5;font-size:11px}
body.candivio-profile #profileStep3 .pack-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:18px 0}
body.candivio-profile #profileStep3 .pack-card{
  min-width:0;margin:18px 0;padding:25px 27px;
  background:#fff;border:1px solid var(--line);border-radius:19px;box-shadow:var(--shadow);
}
body.candivio-profile #profileStep3 .pack-two .pack-card{margin:0}
body.candivio-profile #profileStep3 .pack-card h3{margin:0 0 18px;color:var(--ink);font-size:18px;letter-spacing:-.02em}
body.candivio-profile #profileStep3 .pack-card h4{margin:20px 0 6px;font-size:13px;color:#42728a}
body.candivio-profile #profileStep3 .pack-card pre{
  max-height:560px;overflow:auto;margin:0 0 14px;color:#40566b;
  font-family:inherit;font-size:13px;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere;
}
body.candivio-profile #profileStep3 .pack-item{border-bottom:1px solid #edf2f6;padding:13px 0}
body.candivio-profile #profileStep3 .pack-item:last-child{border:0}
body.candivio-profile #profileStep3 .pack-item strong{display:block;margin-bottom:5px;color:#25445a;font-size:13px}
body.candivio-profile #profileStep3 .pack-item p{margin:0;color:#64778c;line-height:1.55;font-size:12px}
body.candivio-profile #profileStep3 .pack-explainer{color:#76899b;font-size:12px;line-height:1.55}
body.candivio-profile #profileStep3 .pack-secondary{
  padding:10px 13px;border:1px solid #d9e8ee;border-radius:10px;
  background:#f3fbfd;color:#187d9d;font:inherit;font-size:12px;font-weight:700;cursor:pointer;
}
body.candivio-profile #profileStep3 .pack-secondary:hover{background:#e8f6fa}
body.candivio-profile #profileStep3 .pack-warnings{
  padding:14px 18px;border:1px solid #f1ddb1;border-radius:12px;
  background:#fffaee;color:#795b27;font-size:12px;line-height:1.5;
}
body.candivio-profile #profileStep3 button:focus-visible,
body.candivio-profile #profileStep3 a:focus-visible,
body.candivio-profile #profileStep3 input:focus-visible{outline:3px solid #83c7ee;outline-offset:2px}
body.candivio-profile #profileStep3 [hidden]{display:none!important}
@media(max-width:900px){
  body.candivio-profile #profileStep3 .pack-controls{flex-direction:column;align-items:stretch}
  body.candivio-profile #profileStep3 .pack-ctrl-buttons{min-width:0;align-self:stretch}
  body.candivio-profile #profileStep3 .pack-two{grid-template-columns:1fr}
  body.candivio-profile #profileStep3 .pack-section-top{flex-wrap:wrap}
}
@media(max-width:760px){
  body.candivio-profile #profileStep3 .pack-main{padding:28px 16px 64px}
  body.candivio-profile #profileStep3 .pack-hero{margin-bottom:25px}
  body.candivio-profile #profileStep3 .pack-hero h1{font-size:clamp(30px,8vw,38px)}
  body.candivio-profile #profileStep3 .pack-hero p{font-size:12px}
  body.candivio-profile #profileStep3 .pack-controls,body.candivio-profile #profileStep3 .pack-card{padding:20px}
  body.candivio-profile #profileStep3 .pack-section-top button{width:100%;white-space:normal}
}

body.candivio-profile #profileStep3 .cv-native-pack{width:100%;overflow:visible;}
body.candivio-profile #profileStep3 .pack-controls{margin-top:0;}
body.candivio-profile #profileStep3 .pack-main{padding:0;max-width:none;}
