/* Feedback Video — pages de connexion (v2, noir & blanc, style Frolay) */
:root{
  --bg:#ffffff;
  --ink:#0b0b0c;
  --ink-2:#3a3a3e;
  --muted:#6e6e73;
  --line:#e5e5e2;
  --soft:#f5f5f3;
  --ok:#15803d;
  --err:#c62828;
  --radius:14px;
}
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body{font-family:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;background:var(--bg);color:var(--ink);-webkit-font-smoothing:antialiased;line-height:1.5}
a{color:inherit}
.serif{font-family:"Instrument Serif",Georgia,serif;font-style:italic;font-weight:400;letter-spacing:-.01em}

.auth{min-height:100vh;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}

/* ---- Colonne formulaire ---- */
.auth-main{display:flex;flex-direction:column;padding:28px clamp(20px,5vw,64px)}
.auth-top{display:flex;justify-content:space-between;align-items:center;gap:16px}
.brand{display:flex;align-items:center;gap:10px;font-weight:800;font-size:18px;letter-spacing:-.03em;text-decoration:none;white-space:nowrap}
.brand img{width:32px;height:32px;border-radius:9px}
.top-link{font-size:14px;color:var(--muted);text-decoration:none}
.top-link b{color:var(--ink);font-weight:600}
.top-link:hover b{text-decoration:underline;text-underline-offset:3px}

.auth-box{width:100%;max-width:400px;margin:auto;padding:48px 0}
.eyebrow{font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.auth-box h1{font-size:clamp(34px,4vw,46px);line-height:1.02;letter-spacing:-.045em;font-weight:800;margin:12px 0 10px}
.auth-box .sub{color:var(--ink-2);font-size:15.5px;margin-bottom:28px}

form{display:flex;flex-direction:column;gap:14px}
.row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.field{display:flex;flex-direction:column;gap:6px}
.field label{font-size:13px;font-weight:600;color:var(--ink)}
.label-row{display:flex;justify-content:space-between;align-items:baseline;gap:8px}
.label-row a{font-size:13px;color:var(--muted);text-decoration:none}
.label-row a:hover{color:var(--ink);text-decoration:underline;text-underline-offset:3px}

input[type=text],input[type=email],input[type=password]{
  width:100%;height:48px;padding:0 14px;border:1px solid var(--line);border-radius:12px;background:#fff;
  font:inherit;font-size:15px;color:var(--ink);outline:none;transition:border-color .15s,box-shadow .15s}
input::placeholder{color:#a1a1a6}
input:hover{border-color:#cfcfcb}
input:focus{border-color:var(--ink);box-shadow:0 0 0 4px rgba(11,11,12,.08)}

.pw{position:relative}
.pw input{padding-right:48px}
.pw-toggle{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:38px;height:38px;border:0;border-radius:10px;background:transparent;color:var(--muted);cursor:pointer;display:grid;place-items:center}
.pw-toggle:hover{background:var(--soft);color:var(--ink)}
.pw-toggle svg{width:20px;height:20px}
.pw-toggle .eye-off{display:none}
.pw-toggle.on .eye{display:none}
.pw-toggle.on .eye-off{display:block}

.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;height:50px;border-radius:999px;border:1px solid var(--ink);background:var(--ink);color:#fff;font:inherit;font-weight:600;font-size:15px;cursor:pointer;transition:transform .15s,box-shadow .2s,opacity .2s;margin-top:6px;text-decoration:none}
.btn:hover{transform:translateY(-1px);box-shadow:0 10px 24px -12px rgba(0,0,0,.6)}
.btn[disabled]{opacity:.6;cursor:not-allowed;transform:none;box-shadow:none}
.btn-ghost{background:#fff;color:var(--ink);border-color:var(--line)}
.btn-ghost:hover{border-color:#cfcfcb;box-shadow:none}

.alert{border-radius:12px;padding:12px 14px;font-size:14px;margin-bottom:18px;border:1px solid}
.alert.error{background:#fdf2f2;border-color:#f5d0d0;color:var(--err)}
.alert.success{background:#f0faf3;border-color:#cdebd6;color:var(--ok)}
.alert a{font-weight:600}

.field-error,.field-ok{display:block;font-size:12.5px;margin-top:-4px}
.field-error{color:var(--err)}
.field-error.field-ok,.field-ok{color:var(--ok)}

.foot-note{margin-top:22px;font-size:14px;color:var(--muted);text-align:center}
.foot-note a{color:var(--ink);font-weight:600;text-decoration:none}
.foot-note a:hover{text-decoration:underline;text-underline-offset:3px}
.legal{font-size:12.5px;color:var(--muted);text-align:center;margin-top:4px}
.legal a{color:var(--ink-2)}

.auth-bottom{font-size:12.5px;color:var(--muted);display:flex;gap:16px;flex-wrap:wrap}
.auth-bottom a{color:var(--muted);text-decoration:none}
.auth-bottom a:hover{color:var(--ink)}

.done{text-align:center}
.done .icon{width:56px;height:56px;border-radius:50%;background:var(--ink);color:#fff;display:grid;place-items:center;margin:0 auto 18px}
.done .icon svg{width:26px;height:26px}

/* ---- Colonne visuelle (noire) ---- */
.auth-side{background:var(--ink);color:#fff;padding:clamp(28px,4vw,56px);display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}
.auth-side:before{content:"";position:absolute;inset:auto -20% -40% auto;width:520px;height:520px;border-radius:50%;background:radial-gradient(closest-side,rgba(255,255,255,.08),transparent);pointer-events:none}
.side-tag{font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#a1a1a6}
.side-title{font-size:clamp(36px,4.2vw,60px);line-height:1;letter-spacing:-.045em;font-weight:800;margin-top:14px;max-width:12ch}
.side-card{background:#161618;border:1px solid #26262a;border-radius:20px;padding:18px;max-width:440px;margin:40px 0}
.side-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:11px 2px;border-bottom:1px solid #26262a;font-size:14px;color:#d4d4d8}
.side-row:last-child{border-bottom:0}
.side-row b{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;font-weight:600;background:#fff;color:var(--ink);padding:2px 8px;border-radius:999px;margin-right:8px}
.st{font-size:11.5px;font-weight:600;padding:3px 10px;border-radius:999px;white-space:nowrap}
.st.todo{background:#26262a;color:#fff}
.st.ok{background:#fff;color:var(--ink)}
.side-list{list-style:none;display:flex;flex-direction:column;gap:10px;font-size:15px;color:#d4d4d8}
.side-list li{display:flex;gap:10px;align-items:center}
.side-list svg{width:18px;height:18px;flex:0 0 18px;color:#fff}

@media (max-width:960px){
  .auth{grid-template-columns:1fr}
  .auth-side{display:none}
}
@media (max-width:480px){
  .auth-main{padding:20px 16px}
  .row{grid-template-columns:1fr}
  .auth-box{padding:32px 0}
  .top-link span{display:none}
}
