:root{
  --red:#E30613; --red-d:#b8050f; --ink:#15151a; --muted:#6b7280;
  --line:#e7e7ea; --bg:#f3f4f6; --soft:#faf7f7; --ok:#1d6b34; --radius:16px;
}
*{box-sizing:border-box}
html,body{margin:0}
body{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  color:var(--ink); background:linear-gradient(160deg,#f7f7f9,#ececed);
  min-height:100vh; display:flex; align-items:flex-start; justify-content:center; padding:28px 14px;
}
.hidden{ display:none !important; }
.shell{
  width:100%; max-width:940px; background:#fff; border:1px solid var(--line);
  border-radius:var(--radius); box-shadow:0 18px 50px rgba(20,20,30,.10); overflow:hidden;
  display:grid; grid-template-columns:300px 1fr;
}
.aside{ padding:26px 24px; border-right:1px solid var(--line); background:var(--soft); }
.aside .logo{ height:42px; margin-bottom:18px; }
.aside .org{ font-size:.8rem; color:var(--muted); font-weight:600; letter-spacing:.02em; text-transform:uppercase; }
.aside h1{ font-size:1.42rem; line-height:1.2; margin:6px 0 16px; }
.meta{ display:flex; flex-direction:column; gap:11px; margin-top:6px; }
.meta .row{ display:flex; gap:10px; align-items:flex-start; color:#374151; font-size:.92rem; }
.meta svg{ flex:0 0 18px; width:18px; height:18px; stroke:var(--red); margin-top:1px; }
.pickers{ margin-top:20px; }
.pickers .lbl{ font-size:.75rem; text-transform:uppercase; letter-spacing:.04em; color:var(--muted); font-weight:700; margin-bottom:7px; }
.designer{ display:flex; flex-wrap:wrap; gap:7px; }
.designer button{ border:1px solid var(--line); background:#fff; border-radius:999px; padding:7px 13px; cursor:pointer; font-size:.88rem; }
.designer button.active{ background:var(--red); color:#fff; border-color:var(--red); }
.main{ padding:24px 26px 28px; min-height:430px; }
.head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:14px; }
.head h2{ font-size:1.06rem; margin:0; }
.back{ background:none; border:0; color:var(--red); font-weight:600; cursor:pointer; font-size:.92rem; padding:6px 4px; display:inline-flex; align-items:center; gap:4px; }
.grid2{ display:grid; grid-template-columns:1fr 240px; gap:22px; }
@media(max-width:760px){
  .shell{ grid-template-columns:1fr; }
  .aside{ border-right:0; border-bottom:1px solid var(--line); }
  .grid2{ grid-template-columns:1fr; }
}
.cal-top{ display:flex; align-items:center; justify-content:space-between; margin-bottom:10px; }
.cal-month{ font-weight:700; text-transform:capitalize; font-size:1rem; }
.nav{ display:flex; gap:6px; }
.nav button{ width:34px; height:34px; border-radius:9px; border:1px solid var(--line); background:#fff; cursor:pointer; display:grid; place-items:center; }
.nav button:disabled{ opacity:.35; cursor:default; }
.nav svg{ width:16px; height:16px; stroke:var(--ink); }
.dow{ display:grid; grid-template-columns:repeat(7,1fr); gap:4px; margin-bottom:4px; }
.dow span{ text-align:center; font-size:.72rem; color:var(--muted); font-weight:600; padding:4px 0; }
.days{ display:grid; grid-template-columns:repeat(7,1fr); gap:5px; }
.day{ aspect-ratio:1; border:0; background:transparent; border-radius:10px; cursor:default; color:#c2c2c8; font-size:.92rem; position:relative; }
.day.avail{ background:#fff; border:1px solid #f0d3d5; color:var(--ink); font-weight:600; cursor:pointer; }
.day.avail:not(.sel):hover{ border-color:var(--red); color:var(--red); }
.day.sel{ background:var(--red); color:#fff; border-color:var(--red); }
.day.sel:hover{ background:var(--red-d); color:#fff; }
.day.avail::after{ content:""; position:absolute; bottom:6px; left:50%; transform:translateX(-50%); width:4px; height:4px; border-radius:50%; background:var(--red); }
.day.sel::after{ background:#fff; }
.times .ttl{ font-weight:700; margin:0 0 10px; font-size:.95rem; text-transform:capitalize; }
.slotlist{ display:flex; flex-direction:column; gap:8px; max-height:320px; overflow:auto; }
.slot{ padding:12px; border:1px solid var(--line); border-radius:10px; background:#fff; cursor:pointer; font-weight:600; text-align:center; font-size:.96rem; }
.slot:hover{ border-color:var(--red); color:var(--red); }
.hint{ color:var(--muted); font-size:.9rem; }
form label{ display:block; font-size:.82rem; font-weight:600; margin:12px 0 5px; }
form input, form textarea{ width:100%; padding:11px 12px; border:1px solid var(--line); border-radius:10px; font-size:1rem; font-family:inherit; }
form input:focus, form textarea:focus{ outline:none; border-color:var(--red); box-shadow:0 0 0 3px rgba(227,6,19,.10); }
.hp{ position:absolute; left:-9999px; }
.consent{ display:flex; gap:9px; align-items:flex-start; font-size:.85rem; font-weight:400; margin-top:14px; color:#374151; }
.consent input{ width:auto; margin-top:3px; }
.recap{ display:flex; gap:10px; align-items:center; background:var(--soft); border:1px solid #f0d3d5; border-radius:12px; padding:12px 14px; font-size:.95rem; }
.recap svg{ width:20px; height:20px; stroke:var(--red); flex:0 0 20px; }
.cta{ margin-top:18px; width:100%; padding:14px; background:var(--red); color:#fff; border:0; border-radius:11px; font-size:1.04rem; font-weight:700; cursor:pointer; transition:background .15s; }
.cta:hover{ background:var(--red-d); } .cta:disabled{ opacity:.6; cursor:default; }
.done{ text-align:center; padding:30px 10px; }
.done .circle{ width:64px; height:64px; border-radius:50%; background:#e8f6ec; display:grid; place-items:center; margin:0 auto 14px; }
.done .circle svg{ width:32px; height:32px; stroke:var(--ok); }
.done h2{ margin:0 0 6px; } .done p{ color:var(--muted); margin:0; }
.err{ background:#fdecec; color:#b3261e; border-radius:10px; padding:11px 13px; margin-top:12px; font-size:.92rem; }
.center-msg{ text-align:center; color:var(--muted); padding:50px 10px; }
.modes{ display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:6px; }
.mode{ border:1px solid var(--line); border-radius:12px; padding:13px; cursor:pointer; display:flex; gap:10px; align-items:center; background:#fff; }
.mode.sel{ border-color:var(--red); background:var(--soft); box-shadow:0 0 0 2px rgba(227,6,19,.10); }
.mode svg{ width:22px; height:22px; stroke:var(--red); flex:0 0 22px; }
.mode .t{ font-weight:600; font-size:.92rem; } .mode .s{ font-size:.78rem; color:var(--muted); }

/* ---- Choix du concepteur ---- */
.people{ display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-top:8px; }
.person{ display:flex; flex-direction:column; align-items:center; text-align:center; gap:6px; padding:18px 12px 14px; border:1px solid var(--line); border-radius:16px; background:#fff; cursor:pointer; font:inherit; transition:transform .15s, box-shadow .2s, border-color .2s; }
.person:hover{ transform:translateY(-3px); border-color:var(--red); box-shadow:0 14px 30px -18px rgba(227,6,19,.5); }
.person-av{ width:88px; height:88px; border-radius:50%; overflow:hidden; background:var(--soft); box-shadow:0 0 0 1px var(--line); }
.person-av img{ width:100%; height:100%; object-fit:cover; display:block; }
.person-n{ font-weight:700; font-size:1.04rem; color:var(--ink); }
.person-r{ font-size:.78rem; color:var(--muted); }
.person-badge{ margin-top:4px; font-size:.72rem; font-weight:700; color:var(--red); background:rgba(227,6,19,.08); padding:3px 10px; border-radius:999px; }
.person--soon .person-badge{ color:var(--muted); background:#f0f0f2; }
.person--soon .person-av img{ filter:grayscale(.45); }
.none-msg{ color:#374151; margin:6px 0 16px; }
.cta--phone{ display:inline-block; width:auto; text-decoration:none; }
@media(max-width:520px){
  .people{ grid-template-columns:1fr; }
  .person{ flex-direction:row; text-align:left; gap:14px; padding:14px; }
  .person-av{ width:60px; height:60px; flex:0 0 60px; }
}
