:root{
  --bg0:#07070a;
  --bg1:#120a10;
  --wine:#6b001e;
  --wine2:#a0002a;
  --gold:#e8c27a;
  --gold2:#ffd89a;
  --text:#f2f2f2;
  --muted:#c9c0c6;
  --card: rgba(20, 8, 12, .62);
  --stroke: rgba(232, 194, 122, .18);
  --shadow: rgba(160, 0, 40, .22);
  --shadow2: rgba(232, 194, 122, .10);
  --radius: 22px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background:
    radial-gradient(1200px 800px at 20% 0%, rgba(160,0,42,.28), transparent 55%),
    radial-gradient(900px 650px at 85% 10%, rgba(232,194,122,.12), transparent 60%),
    linear-gradient(180deg, var(--bg0), var(--bg1) 50%, #0b0b0d);
  overflow-x:hidden;
}

a{color:inherit}
.container{width:min(1120px, 92vw); margin:0 auto}
.hr{height:1px; background:linear-gradient(90deg, transparent, rgba(232,194,122,.25), transparent); margin:28px 0}

.nav{
  position:sticky; top:0; z-index:30;
  backdrop-filter: blur(14px);
  background: rgba(7,7,10,.62);
  border-bottom: 1px solid rgba(232,194,122,.10);
}
.nav .row{
  display:flex; align-items:center; justify-content:space-between;
  gap:14px; padding:14px 0;
}
.brand{
  display:flex; align-items:center; gap:12px; text-decoration:none;
}
.mark{
  width:38px; height:38px; border-radius:12px;
  background: radial-gradient(circle at 30% 20%, rgba(255,216,154,.55), rgba(232,194,122,.18) 45%, rgba(160,0,42,.25) 70%, rgba(7,7,10,.85));
  box-shadow: 0 0 22px rgba(160,0,42,.35), 0 0 18px rgba(232,194,122,.15);
  border:1px solid rgba(232,194,122,.22);
}
.brand .name{
  font-family: ui-serif, "Playfair Display", Georgia, serif;
  letter-spacing:.2px;
  font-weight:650;
}
.brand .tag{
  display:block;
  color:var(--muted);
  font-size:12px;
  margin-top:2px;
}

.menu{display:flex; align-items:center; gap:10px; flex-wrap:wrap; justify-content:flex-end}
.menu a{
  text-decoration:none;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid transparent;
  color:rgba(242,242,242,.92);
  font-size:14px;
}
.menu a:hover{
  border-color: rgba(232,194,122,.20);
  background: rgba(232,194,122,.06);
}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:12px 18px;
  border-radius:999px;
  border:1px solid rgba(232,194,122,.25);
  background: linear-gradient(180deg, rgba(232,194,122,.92), rgba(232,194,122,.74));
  color:#121012;
  font-weight:650;
  text-decoration:none;
  box-shadow: 0 10px 30px rgba(232,194,122,.14), 0 0 22px rgba(160,0,42,.20);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.btn:hover{transform: translateY(-1px); filter:saturate(1.05); box-shadow: 0 14px 34px rgba(232,194,122,.18), 0 0 26px rgba(160,0,42,.26)}
.btn.secondary{
  background: rgba(232,194,122,.06);
  color: var(--text);
  border-color: rgba(232,194,122,.22);
  box-shadow: 0 0 22px rgba(160,0,42,.16);
}

.hero{
  padding:64px 0 36px;
}
.hero .grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:28px;
  align-items:stretch;
}
.kicker{
  color: rgba(255, 216, 154, .85);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 12px;
}
h1{
  font-family: ui-serif, "Playfair Display", Georgia, serif;
  font-weight: 760;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
  margin: 14px 0 12px;
  text-shadow: 0 0 28px rgba(160,0,42,.28);
}
.lead{
  color: rgba(242,242,242,.86);
  font-size: 16.5px;
  line-height: 1.55;
  max-width: 62ch;
}
.cta{display:flex; gap:12px; flex-wrap:wrap; margin-top:18px}
.badges{display:flex; gap:10px; flex-wrap:wrap; margin-top:18px}
.badge{
  display:inline-flex; align-items:center; gap:10px;
  padding:10px 12px;
  border-radius:999px;
  background: rgba(232,194,122,.06);
  border:1px solid rgba(232,194,122,.16);
  color: rgba(242,242,242,.90);
  font-size: 13px;
}
.badge .dot{
  width:8px; height:8px; border-radius:99px;
  background: radial-gradient(circle at 30% 30%, var(--gold2), var(--gold));
  box-shadow: 0 0 12px rgba(232,194,122,.35);
}

.card{
  position:relative;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid rgba(232,194,122,.14);
  box-shadow: 0 20px 60px rgba(0,0,0,.45), 0 0 42px var(--shadow);
  overflow:hidden;
}
.card::before{
  content:"";
  position:absolute; inset:-2px;
  background: radial-gradient(800px 400px at 20% 10%, rgba(160,0,42,.32), transparent 60%),
              radial-gradient(600px 300px at 90% 20%, rgba(232,194,122,.14), transparent 55%);
  pointer-events:none;
  opacity:.9;
}
.card > *{position:relative}
.card.pad{padding:22px}
.glow{
  position:absolute;
  width:420px; height:420px;
  background: radial-gradient(circle at 30% 30%, rgba(160,0,42,.25), transparent 62%);
  filter: blur(8px);
  transform: translate(-50%,-50%);
  pointer-events:none;
  opacity:.65;
}

h2{
  font-family: ui-serif, "Playfair Display", Georgia, serif;
  font-size: clamp(24px, 3.2vw, 34px);
  margin: 0 0 10px;
}
p{margin:0 0 12px}
.small{color:rgba(242,242,242,.76); font-size:13px; line-height:1.6}
.section{padding: 40px 0}
.cols3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:16px;
}
.feature{
  padding:18px;
  border-radius: 18px;
  background: rgba(7,7,10,.25);
  border:1px solid rgba(232,194,122,.12);
}
.feature b{display:block; margin-bottom:6px}
.icon{
  width:38px; height:38px; border-radius:14px;
  display:grid; place-items:center;
  background: rgba(232,194,122,.08);
  border:1px solid rgba(232,194,122,.18);
  box-shadow: 0 0 18px rgba(160,0,42,.18);
  margin-bottom:10px;
}
.list{
  margin:0; padding:0; list-style:none;
}
.list li{
  padding:10px 0;
  border-bottom: 1px solid rgba(232,194,122,.10);
  color: rgba(242,242,242,.88);
}
.list li:last-child{border-bottom:0}

.form{
  display:grid; gap:12px;
}
.field label{display:block; font-size:13px; color:rgba(242,242,242,.85); margin-bottom:6px}
.field input, .field select, .field textarea{
  width:100%;
  padding:12px 12px;
  border-radius: 14px;
  border:1px solid rgba(232,194,122,.18);
  background: rgba(7,7,10,.35);
  color: var(--text);
  outline:none;
}
.field input:focus, .field select:focus, .field textarea:focus{
  border-color: rgba(232,194,122,.30);
  box-shadow: 0 0 0 4px rgba(160,0,42,.18);
}
.grid2{display:grid; grid-template-columns: 1fr 1fr; gap:12px}

.notice{
  padding:12px 14px;
  border-radius: 16px;
  border:1px solid rgba(232,194,122,.18);
  background: rgba(232,194,122,.06);
  color: rgba(242,242,242,.92);
}

.footer{
  padding: 26px 0 36px;
  border-top: 1px solid rgba(232,194,122,.10);
  background: rgba(7,7,10,.55);
}
.footer .row{
  display:flex; justify-content:space-between; gap:14px; flex-wrap:wrap;
  color: rgba(242,242,242,.72);
  font-size: 13px;
}
.footer a{color: rgba(242,242,242,.78); text-decoration:none}
.footer a:hover{text-decoration:underline}

.pagehead{
  padding: 42px 0 18px;
}
.pagehead .sub{
  color: rgba(242,242,242,.78);
  max-width: 70ch;
  line-height: 1.6;
  margin-top: 8px;
}

.table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  overflow:hidden;
  border-radius: 18px;
  border:1px solid rgba(232,194,122,.16);
}
.table th, .table td{
  text-align:left;
  padding:14px 14px;
  border-bottom:1px solid rgba(232,194,122,.10);
}
.table th{
  background: rgba(232,194,122,.06);
  color: rgba(242,242,242,.90);
  font-weight:650;
}
.table tr:last-child td{border-bottom:0}
.muted{color: rgba(242,242,242,.72)}
.pill{
  display:inline-flex; padding:6px 10px; border-radius:999px;
  background: rgba(160,0,42,.18);
  border:1px solid rgba(160,0,42,.25);
  color: rgba(242,242,242,.9);
  font-size: 12px;
}

@media (max-width: 900px){
  .hero .grid{grid-template-columns:1fr}
  .cols3{grid-template-columns:1fr}
  .grid2{grid-template-columns:1fr}
}


/* ===================== CRM (Admin) ===================== */
.crm-grid{ display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:12px; }
@media (max-width: 860px){ .crm-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
.crm-card{ background: rgba(10,10,14,.35); border: 1px solid rgba(232,194,122,.12); border-radius: 18px; padding: 14px; }
.crm-num{ font-size: 22px; font-weight: 800; margin-top: 6px; }

.pill.status-froid{ border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.06); }
.pill.status-tiède{ border-color: rgba(232,194,122,.22); background: rgba(232,194,122,.10); }
.pill.status-chaud{ border-color: rgba(182,16,64,.26); background: rgba(182,16,64,.12); }
.pill.status-signé{ border-color: rgba(232,194,122,.30); background: rgba(232,194,122,.16); box-shadow: 0 0 18px rgba(232,194,122,.12); }
