/* Adhésion et connexion : même identité que joshuankombe.com (Geist, encre, vert, liseré RDC) */
:root{
  --fn-black:#0C0E10; --fn-black-2:#1E2124;
  --fn-green:#0F8A55; --fn-green-soft:#0B6E44; --fn-green-ghost:#F9FCFA;
  --fn-bg:#F9FCFA; --fn-border:#E2E5E0; --fn-border-strong:#C9CEC7;
  --fn-text:#0C0E10; --fn-text-muted:#4B534E;
  --fn-rdc:linear-gradient(90deg,#007FFF 0 62%,#F7D618 62% 74%,#CE1021 74% 88%,#F7D618 88% 100%);
}
body.fn-portal-page{font-family:'Geist',system-ui,sans-serif;font-size:15px;background:var(--fn-bg)}
body.fn-portal-page::before{content:"";position:fixed;left:0;right:0;top:0;height:4px;background:var(--fn-rdc);z-index:10}
.fn-auth h1,.fn-auth h2,.fn-auth-card .fn-card-head h1{font-family:'Geist',system-ui,sans-serif!important;letter-spacing:-.03em}

/* Panneau latéral */
.fn-auth-register{grid-template-columns:360px 1fr}
.fn-auth-sidebar{border-radius:0;padding:40px 34px;background:var(--fn-black);color:#B8BEBA}
.fn-aside-top{display:flex;flex-direction:column;gap:30px;margin-bottom:34px}
.fn-back{display:inline-flex;align-items:center;min-height:44px;font:500 13px/1 'Geist Mono',ui-monospace,monospace;letter-spacing:.06em;text-transform:uppercase;color:#fff!important;opacity:.85}
.fn-back:hover{opacity:1;text-decoration:underline;text-underline-offset:4px}
.fn-back-dark{color:var(--fn-text)!important;margin:-20px 0 16px}
.fn-auth-sidebar-logo{display:block;margin:0;padding:0;border:0}
.fn-aside-title{margin:0 0 26px;font-size:26px;line-height:1.15;letter-spacing:-.02em;color:#8C938E}
.fn-aside-title span{color:#fff}
.fn-aside-list{list-style:none;margin:0 0 30px;padding:0;display:flex;flex-direction:column;gap:14px}
.fn-aside-list li{position:relative;padding-left:22px;font-size:14.5px;line-height:1.5;color:#D3D8D4}
.fn-aside-list li::before{content:"";position:absolute;left:0;top:8px;width:9px;height:9px;border-radius:50%;background:#3DD68C}
.fn-auth-sidebar-bottom{border-top:1px solid rgba(255,255,255,.12)}
.fn-auth-sidebar-bottom p{color:#B8BEBA;font-size:13.5px;margin:0 0 10px}

/* Formulaire */
.fn-auth-main{background:var(--fn-bg);padding:48px}
.fn-auth-card{border-radius:12px;box-shadow:none;border:1px solid var(--fn-border);padding:40px 48px;max-width:760px}
.fn-auth-card .fn-card-head{text-align:left!important}
.fn-auth-card .fn-card-head h1{font-size:34px;font-weight:500;margin:0 0 10px}
.fn-auth-card .fn-card-head p{margin:0 0 22px;font-size:15px;color:var(--fn-text-muted)}
.fn-section-banner{display:flex;align-items:center;gap:12px;background:none;border-radius:0;padding:22px 0 12px;margin:10px 0 18px;border-bottom:1px solid var(--fn-border);font:600 13px/1 'Geist Mono',ui-monospace,monospace;letter-spacing:.08em;color:var(--fn-text);text-transform:uppercase}
.fn-section-banner span{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--fn-black);color:#fff;font-size:12px}
.fn-comp-intro{font-size:14px;color:var(--fn-text-muted);margin:-6px 0 16px;line-height:1.55}
.fn-field label{font-weight:500;font-size:14px}
.fn-field input,.fn-field select{border-radius:6px;padding:0 14px;height:50px;font-size:16px;border-color:var(--fn-border-strong)}
.fn-field input:focus,.fn-field select:focus{border-color:var(--fn-black);box-shadow:0 0 0 3px rgba(15,138,85,.18)}
.fn-field input[aria-invalid="true"],.fn-field select[aria-invalid="true"]{border-color:#B42318;box-shadow:0 0 0 3px rgba(180,35,24,.12)}
.fn-ferr{margin:6px 0 0;color:#B42318;font-size:13.5px;font-weight:500}
.fn-ferr::before{content:"! ";font-weight:700}
.fn-errsum{border:1px solid #F1B4AE;background:#FEF3F2;color:#7A1D14;border-radius:8px;padding:16px 18px;margin:0 0 18px;font-size:14px}
.fn-errsum:focus{outline:3px solid rgba(180,35,24,.25);outline-offset:2px}
.fn-errsum p{margin:0 0 6px}
.fn-errsum ul{margin:0;padding-left:20px}
.fn-errsum a{color:#7A1D14;text-decoration:underline;text-underline-offset:3px}
.fn-rules{background:var(--fn-bg);border:1px solid var(--fn-border);border-radius:6px}
.fn-rules p{margin:0 0 6px;font-size:13px;color:var(--fn-text-muted)}
.fn-rules ul{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:1fr 1fr;gap:4px 16px;font-size:13px}
.fn-rules li::before{content:"○ ";color:var(--fn-text-muted)}
.fn-rules li.is-ok{color:var(--fn-green-soft)}
.fn-rules li.is-ok::before{content:"✓ ";color:var(--fn-green)}
.fn-dispo{border:0;padding:0;margin:0 0 6px}
.fn-dispo legend{font-size:14px;font-weight:500;margin-bottom:10px}
.fn-dispo-list{display:flex;flex-wrap:wrap;gap:8px 20px}
.fn-dispo-list label{display:flex;gap:9px;align-items:center;min-height:40px;font-size:14.5px;font-weight:400;margin:0}
.fn-dispo-list input,.fn-consent input{width:18px;height:18px;accent-color:var(--fn-green);flex:none}
.fn-consent{margin:18px 0 6px;padding:14px 16px;background:var(--fn-bg);border:1px solid var(--fn-border);border-radius:8px}
.fn-consent label{display:flex;gap:12px;align-items:flex-start;font-size:13.5px;line-height:1.55;color:var(--fn-text-muted);font-weight:400}
.fn-consent input{margin-top:2px}
.fn-consent a{color:var(--fn-text);text-decoration:underline;text-underline-offset:3px}
.fn-submit{border-radius:999px;background:var(--fn-black);color:#fff;font-weight:500;font-size:16px;height:56px;padding:0 28px;letter-spacing:0;margin-top:18px}
.fn-submit:hover{background:var(--fn-green)}
.fn-submit:focus-visible{outline:3px solid rgba(15,138,85,.4);outline-offset:3px}
.fn-after{margin:12px 0 0;text-align:center;font-size:13.5px;color:var(--fn-text-muted)}
.fn-alt{text-align:center;margin-top:10px;font-size:14px}
.fn-alt a{color:var(--fn-green-soft)}
.fn-done{text-align:center;padding:40px 10px}
.fn-done h2{font-size:28px;font-weight:500;margin:0 0 12px}
.fn-done p{color:var(--fn-text-muted);max-width:52ch;margin:0 auto}
.fn-done:focus{outline:none}

/* Connexion */
.fn-auth-login{padding:24px}
.fn-auth-hero,.fn-auth-panel{border-radius:10px}
.fn-hero-quote p{font-family:'Geist',system-ui,sans-serif;font-style:normal;font-weight:400;letter-spacing:-.02em}
.fn-hero-author,.fn-mark{color:#3DD68C}
.fn-auth-panel h1{font-weight:500!important}
.fn-auth-panel p[style]{color:var(--fn-text-muted)!important}
.fn-auth-panel a[style*="2a9a5f"]{color:var(--fn-green-soft)!important}

@media (max-width:960px){
  .fn-auth-register{grid-template-columns:1fr}
  .fn-auth-sidebar{padding:18px 20px 20px;border-radius:0}
  .fn-aside-top{flex-direction:row;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px}
  .fn-auth-sidebar-logo img{width:44px;height:auto}
  .fn-aside-title{font-size:19px;margin:0}
  .fn-aside-list,.fn-auth-sidebar-bottom{display:none}
  .fn-auth-main{padding:16px}
  .fn-auth-card{padding:22px 18px}
  .fn-auth-card .fn-card-head h1{font-size:28px}
  .fn-rules ul{grid-template-columns:1fr}
  .fn-auth-login{padding:12px}
  .fn-auth-hero{min-height:280px;padding:24px}
  .fn-hero-logo-tl{top:22px;left:24px}
  .fn-hero-logo-tl img{width:60px;height:auto}
  .fn-hero-quote p{font-size:22px}
  .fn-mark{display:none}
}
