:root{
  --forest-950:#24160f; --forest-900:#3a2418; --forest-800:#513423; --forest-700:#664631; --forest-600:#7d5a40;
  --leaf-500:#6f7a45; --leaf-400:#96a06a; --lime-300:#c9c6a0; --lime-200:#e6e1c8;
  --wheat-100:#ead8bb; --wheat-50:#f7eedf; --soil-700:#4a2e1e; --soil-500:#7b553a;
  --muted:#6f5f4d; /* texte secondaire — contraste AA sur crème */
  --clay-500:#a34a3b; --sun-400:#d8a84e; --ink:#2a1c14; --card:#fffaf1; --line:#ddc9a9;
  --blood-500:#8f0d0d; --blood-400:#a83232; --blood-100:#f2ded7;
  --gold-500:#d9ae45; --gold-300:#e8c77a; --gold-100:#f6e8cc;
  --shadow: 0 10px 30px -12px rgba(58,36,24,.24);
}
*{box-sizing:border-box; margin:0; padding:0;}
[hidden]{display:none!important;}
body{
  font-family:'Inter',-apple-system,sans-serif;
  background:
      radial-gradient(1100px 520px at 8% -10%, rgba(158,70,56,.08), transparent 60%),
      radial-gradient(900px 480px at 92% 0%, rgba(201,154,69,.10), transparent 55%),
      var(--wheat-50);
  color:var(--ink); -webkit-font-smoothing:antialiased;
}
h1,h2,h3{font-family:'Playfair Display','Fraunces',serif;}
.wrap{max-width:520px; margin:60px auto; padding:0 20px;}
.card{background:var(--card); border:1px solid var(--line); border-radius:20px; padding:32px; box-shadow:var(--shadow);}
.logo{width:46px;height:46px;border-radius:14px; background:linear-gradient(135deg,var(--leaf-400),var(--leaf-500));
  display:flex;align-items:center;justify-content:center; font-family:'Fraunces',serif; font-weight:900;
  color:var(--forest-950); font-size:20px; margin-bottom:18px; box-shadow:0 6px 16px rgba(0,0,0,.2);}
.logo-image{background:none; box-shadow:none; padding:0; display:block; width:52px; height:52px; object-fit:contain;}
h1{font-size:22px; color:var(--forest-900); margin-bottom:6px;}
.sub{font-size:13px; color:var(--muted); margin-bottom:22px;}
label{display:block; font-size:12.5px; font-weight:700; color:var(--forest-800); margin:14px 0 6px;}
input[type=text], input[type=email], input[type=password]{
  width:100%; padding:11px 14px; border:1.5px solid var(--line); border-radius:12px; font-size:14px;
  font-family:inherit; background:var(--wheat-50);
}
input:focus{outline:none; border-color:var(--gold-500); box-shadow:0 0 0 3px rgba(201,154,69,.13);}
select{width:100%; padding:11px 14px; border:1.5px solid var(--line); border-radius:12px; font-size:14px; background:var(--wheat-50);}
.btn{
  width:100%; padding:13px; margin-top:20px; border:1px solid var(--gold-300); border-radius:14px;
  background:linear-gradient(135deg,var(--blood-500),#6f0808); color:#fff8ec; font-weight:800;
  font-size:14.5px; cursor:pointer; box-shadow:0 8px 18px -6px rgba(58,36,24,.45);
}
.link{display:block; text-align:center; margin-top:16px; font-size:13px; color:var(--forest-700); text-decoration:none;}
.flash{padding:10px 14px; border-radius:10px; font-size:13px; margin-bottom:14px;}
.flash.error{background:#fdeeee; color:#a53f3f;}
.flash.success{background:#eaf6e2; color:var(--forest-700);}
.honeypot{position:absolute; left:-9999px; opacity:0; height:0; width:0;}
.sec-tag{font-size:11px; font-weight:800; padding:3px 9px; border-radius:8px;}
.sec-tag.ok{background:#eaf6e2; color:var(--forest-700);}
.sec-tag.pending{background:#fdf0d9; color:#8a5a10;}
.sec-card{display:flex; align-items:center; gap:14px; background:var(--card); border:1px solid var(--line);
  border-radius:16px; padding:14px; margin-bottom:10px;}
.sec-icon{width:40px;height:40px; border-radius:11px; background:var(--wheat-100); display:flex;
  align-items:center; justify-content:center; font-size:18px; flex-shrink:0;}
.topnav{display:flex; justify-content:space-between; align-items:center; max-width:960px; margin:0 auto; padding:20px;}
.logo-top{width:124px;height:auto;display:block;}
.topnav a{color:var(--forest-800); text-decoration:none; font-weight:700; font-size:13px;}
.pied-page{max-width:820px;margin:28px auto 46px;padding:0 20px;font-size:12.5px;color:var(--muted);text-align:center;}
.pied-page-inner{border-top:1px solid var(--line);padding-top:16px;}
.pied-liens{display:flex;justify-content:center;gap:10px 16px;flex-wrap:wrap;}
.pied-liens a{color:var(--forest-700);text-decoration:none;}
.pied-liens a:hover{color:var(--clay-500);}
.pied-copy{margin-top:8px;}
.pied-copy a{color:var(--forest-700);text-decoration:none;}
