:root{
  --bg: #0b0f19;
  --panel: rgba(255,255,255,.06);
  --panel2: rgba(255,255,255,.10);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.68);
  --border: rgba(255,255,255,.12);
  --shadow: 0 18px 60px rgba(0,0,0,.45);
  --r: 18px;
  --rl: 26px;
  --max: 1100px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color: var(--text);
  background:
    radial-gradient(1200px 800px at 15% 10%, rgba(99,102,241,.25), transparent 55%),
    radial-gradient(1000px 700px at 85% 20%, rgba(34,197,94,.18), transparent 55%),
    radial-gradient(900px 700px at 50% 90%, rgba(244,63,94,.14), transparent 55%),
    var(--bg);
  overflow-x:hidden;
}

a{ color:inherit; text-decoration:none; }
main{ max-width: var(--max); margin: 0 auto; padding: 24px 18px 70px; }

.topbar{
  position: sticky; top:0; z-index: 50;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: rgba(11, 15, 25, .55);
  border-bottom: 1px solid var(--border);
}
.topbar-inner{
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 18px;
  display:flex; align-items:center; justify-content:space-between; gap:14px;
}

.brand{ display:flex; align-items:center; gap:12px; font-weight:800; letter-spacing:.2px; }
.brand small{ display:block; color: var(--muted); font-weight:650; }
.logo{
  width: 38px; height: 38px; border-radius: 14px;
  background:
    radial-gradient(18px 18px at 30% 30%, rgba(255,255,255,.45), transparent 55%),
    linear-gradient(135deg, rgba(99,102,241,.95), rgba(34,197,94,.85));
  box-shadow: 0 14px 40px rgba(99,102,241,.25);
  border: 1px solid rgba(255,255,255,.14);
}

.nav{ display:flex; gap:8px; align-items:center; }
.nav a{
  padding: 10px 12px; border-radius: 12px;
  border: 1px solid transparent;
  color: var(--muted);
  font-weight: 700;
  transition: .2s ease;
}
.nav a:hover{ color: var(--text); background: var(--panel); border-color: var(--border); }
.nav a[aria-current="page"]{ color: var(--text); background: var(--panel2); border-color: rgba(255,255,255,.18); }

/* Burger */
.burger{
  display:none;
  width: 44px; height: 44px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.04);
  cursor: pointer;
  padding: 0;
  align-items:center; justify-content:center;
  transition: .2s ease;
}
.burger:hover{ background: rgba(255,255,255,.07); }
.burger-lines{ width: 18px; height: 14px; position: relative; }
.burger-lines span{
  position:absolute; left:0; right:0; height:2px; border-radius: 4px;
  background: rgba(255,255,255,.9);
  transition: .22s ease;
}
.burger-lines span:nth-child(1){ top:0; }
.burger-lines span:nth-child(2){ top:6px; opacity:.9; }
.burger-lines span:nth-child(3){ bottom:0; }

/* Drawer */
.drawer-backdrop{
  position: fixed; inset: 0;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(2px);
  opacity: 0; pointer-events:none;
  transition: .22s ease;
  z-index: 60;
}
.drawer{
  position: fixed;
  top: 12px; right: 12px;
  width: min(320px, calc(100vw - 24px));
  border-radius: var(--rl);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: var(--shadow);
  transform: translateY(-10px) scale(.98);
  opacity: 0; pointer-events:none;
  transition: .22s ease;
  z-index: 70;
  overflow:hidden;
}
.drawer header{
  display:flex; align-items:center; justify-content:space-between;
  padding: 14px 14px 10px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  background: rgba(11,15,25,.35);
}
.drawer header .title{ font-weight: 850; }
.drawer nav{ display:flex; flex-direction:column; padding: 10px; gap: 6px; }
.drawer nav a{
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: rgba(255,255,255,.03);
  color: var(--muted);
  font-weight: 750;
  transition: .2s ease;
}
.drawer nav a:hover{ background: rgba(255,255,255,.06); color: var(--text); border-color: rgba(255,255,255,.14); }
.drawer nav a[aria-current="page"]{
  background: rgba(255,255,255,.10);
  color: var(--text);
  border-color: rgba(255,255,255,.18);
}
.icon-btn{
  width: 38px; height: 38px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  cursor:pointer;
  transition: .2s ease;
}
.icon-btn:hover{ background: rgba(255,255,255,.07); }

body.drawer-open .drawer-backdrop{ opacity: 1; pointer-events:auto; }
body.drawer-open .drawer{ opacity: 1; pointer-events:auto; transform: translateY(0) scale(1); }
body.drawer-open .burger-lines span:nth-child(1){ transform: translateY(6px) rotate(45deg); }
body.drawer-open .burger-lines span:nth-child(2){ opacity:0; }
body.drawer-open .burger-lines span:nth-child(3){ transform: translateY(-6px) rotate(-45deg); }

/* Cards / content */
.card{
  border-radius: var(--rl);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.card-inner{ padding: 22px; }

h1{ margin: 0 0 10px; font-size: clamp(28px, 3.3vw, 44px); line-height: 1.07; letter-spacing:-.6px; }
p{ margin: 0; color: var(--muted); line-height: 1.6; }

.section-title{ font-size: 22px; margin: 0 0 14px; letter-spacing:-.2px; }

.hero{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
  align-items: stretch;
  margin-top: 12px;
}

.badge{
  display:inline-flex; align-items:center; gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  color: var(--muted);
  font-weight: 750;
  font-size: 12px;
}
.dot{ width:8px; height:8px; border-radius:999px; background: rgba(34,197,94,.9); box-shadow: 0 0 0 4px rgba(34,197,94,.14); }

.cta-row{ display:flex; gap: 10px; margin-top: 18px; flex-wrap:wrap; }
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  color: var(--text);
  font-weight: 800;
  transition: .2s ease;
  user-select:none;
}
.btn:hover{ transform: translateY(-1px); background: rgba(255,255,255,.09); }
.btn.primary{
  border-color: rgba(99,102,241,.45);
  background: linear-gradient(135deg, rgba(99,102,241,.92), rgba(34,197,94,.78));
  box-shadow: 0 16px 55px rgba(99,102,241,.28);
}

.hero-img{
  width: 100%;
  border-radius: var(--rl);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: var(--shadow);
  overflow: hidden;

  /* Le cadre */
  aspect-ratio: 16 / 11;
}

.hero-img img{
  width: 100%;
  height: 100%;
  display: block;

  /* Remplir le cadre sans couper les têtes */
  object-fit: cover;
  object-position: center top;
}

/* Presentation */
.people{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.person{
  border-radius: var(--rl);
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  box-shadow: 0 10px 44px rgba(0,0,0,.34);
}
.avatar{
  aspect-ratio: 4/3;
  width: 100%;
  object-fit: cover;
  display:block;
  background: rgba(255,255,255,.06);
}
.person .meta{ padding: 12px 14px 14px; }
.person .meta b{ display:block; font-size: 15px; }
.person .meta span{ display:block; color: var(--muted); font-size: 13px; margin-top: 2px; }

/* Tables */
.table-wrap{ overflow:auto; border-radius: var(--rl); border: 1px solid rgba(255,255,255,.14); }
table{
  width:100%;
  border-collapse: separate;
  border-spacing: 0;
  background: rgba(255,255,255,.05);
  min-width: 720px;
}
th, td{
  padding: 12px 12px;
  border-bottom: 1px solid rgba(255,255,255,.10);
  font-size: 14px;
  vertical-align: top;
}
th{
  text-align:left;
  color: rgba(255,255,255,.78);
  background: rgba(11,15,25,.28);
  font-weight: 850;
}
tr:last-child td{ border-bottom:none; }
td small{ color: var(--muted); display:block; margin-top: 2px; }

.star{ font-size: 18px; line-height: 1; }
.star.yes{ color: rgba(255,255,255,.92); } /* ★ */
.star.no{ color: rgba(255,255,255,.45); }   /* ☆ */

footer{
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px 18px 30px;
  color: rgba(255,255,255,.55);
  font-size: 13px;
}

/* Responsive */
@media (max-width: 900px){
  .hero{ grid-template-columns: 1fr; }
  .people{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px){
  .nav{ display:none; }
  .burger{ display:flex; }
  table{ min-width: 680px; }
}
@media (max-width: 420px){
  .people{ grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce){
  *{ transition:none !important; }
}

.star-btn { cursor:pointer; user-select:none; }
    .star-btn[aria-disabled="true"] { opacity:.5; cursor:not-allowed; }
    .form-row { display:flex; gap:10px; flex-wrap:wrap; margin-top:14px; }
    .form-row input, .form-row select { padding:8px; border-radius:8px; border:1px solid #ddd; }
    .form-row button { padding:8px 12px; border-radius:10px; border:0; cursor:pointer; }
    .msg { margin-top:10px; font-size:14px; }

    .actions { white-space:nowrap; }
    .icon-btn {
      cursor:pointer; user-select:none;
      display:inline-flex; align-items:center; justify-content:center;
      width:32px; height:32px; border-radius:10px;
      border:1px solid rgba(0,0,0,.12);
      margin-left:6px;
    }
    .icon-btn:hover { filter:brightness(0.95); }
    .row-editing { outline: 2px dashed rgba(0,0,0,.15); outline-offset:-2px; }
    .cell-input { width: 100%; padding:6px; border-radius:8px; border:1px solid #ddd; }
	
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-img {
  height: 48px;
  width: 48px;
  object-fit: cover;
  border-radius: 50%;
}

.brand-text div {
  font-weight: 700;
}

.brand-text small {
  opacity: 0.7;
}