:root{
  --bg:#0b0b0f;
  --panel:#121219;
  --panel-2:#161622;
  --line:#212134;
  --text:#e9e9f1;
  --muted:#a6a6bf;
  --badge:#ffffff;
  --radius:18px;
}

*{box-sizing:border-box}

body{
  margin:0;
  color:var(--text);
  font:16px/1.6 Inter,system-ui,-apple-system,Segoe UI,Roboto;
}

.container{
  max-width:1200px;
  margin:0 auto;
  padding:14px;
}

/* --- Logo global --- */
.logo{
  display:flex;
  align-items:center;
  gap:8px;
  text-decoration:none;
  color:var(--text);
  font-weight:900;
}

.logo-img{
  width:40px;
  height:40px;
  object-fit:contain;
  border-radius:50%;
  transition:transform .2s ease;
}

.logo-img:hover{
  transform:scale(1.05);
}

.logo-text{
  font-size:18px;
  letter-spacing:.4px;
}

/* Hero */
.hero{
  background:linear-gradient(180deg,rgba(22,22,34,.5),rgba(11,11,15,0));
  border-bottom:0 solid var(--line);
}

.hero-wrap{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:24px;
  align-items:center;
}

.hero h1{
  margin:0;
  font-size:36px;
  line-height:1.15;
  font-weight:900;
}

.hero p{
  margin:12px 0 0;
  color:var(--muted);
}

.cta{
  margin-top:16px;
  display:inline-block;
  padding:12px 16px;
  border-radius:14px;
  border:1px solid var(--line);
  background:var(--panel-2);
  color:var(--text);
  text-decoration:none;
}

.hero-card{
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
}

.hero-img{
  width:100%;
  aspect-ratio:16/9;
  display:block;
  object-fit:cover;
  background:linear-gradient(135deg,#1a1a27,#0f0f18);
}

.hero-meta{
  padding:14px;
}

.hero-meta h3{
  margin:0;
  font-size:18px;
  font-weight:800;
}

.hero-meta p{
  margin:6px 0 0;
  color:var(--muted);
}

/* Grid & cards */
.grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(220px,1fr));
  gap:18px;
}

.card{
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  transition:transform .16s ease, box-shadow .16s;
}

.card:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 28px rgba(0,0,0,.35);
}

.thumb{
  position:relative;
  aspect-ratio:1/1;
  background:var(--panel-2);
}

.cover{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}

.ph{
  display:grid;
  place-items:center;
  color:#d0d0e6;
  font-weight:800;
  letter-spacing:.5px;
  background:linear-gradient(135deg,#1a1a27,#0f0f18);
}

.badge{
  position:absolute;
  right:10px;
  bottom:10px;
  background:#000;
  color:var(--badge);
  font-weight:900;
  border-radius:999px;
  padding:6px 10px;
  font-size:14px;
  box-shadow:0 6px 20px rgba(0,0,0,.5);
}

.meta{
  padding:12px;
}

.title{
  margin:0;
  font-size:16px;
  font-weight:800;
}

.sub{
  margin:2px 0 0;
  color:var(--muted);
  font-size:14px;
}

.tags{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top:8px;
}

.tag{
  padding:4px 8px;
  border:1px solid var(--line);
  border-radius:999px;
  color:var(--muted);
  font-size:12px;
}

/* Footer */
.site-footer{
  border-top:1px solid var(--line);
  background:var(--panel);
  color:var(--muted);
}

/* Responsive */
@media (max-width:900px){
  .hero-wrap{
    grid-template-columns:1fr;
  }
}

/* Forms (admin) */
.form{
  max-width:820px;
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:16px;
}

.form-row{
  display:flex;
  flex-direction:column;
  gap:6px;
  margin-bottom:12px;
}

.form-row input,
.form-row textarea,
.form-row select{
  background:var(--panel-2);
  color:var(--text);
  border:1px solid var(--line);
  border-radius:12px;
  padding:12px 14px;
}

.form-row .hint{
  color:var(--muted);
  font-size:12px;
}

.grid-2{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

.grid-3{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:12px;
}

.btn-primary{
  display:inline-block;
  padding:12px 16px;
  border-radius:12px;
  border:1px solid var(--line);
  background:var(--panel-2);
  color:var(--text);
  text-decoration:none;
  cursor:pointer;
}

.btn-primary:hover{
  background:#1a1a27;
}

@media (max-width:720px){
  .grid-2,
  .grid-3{
    grid-template-columns:1fr;
  }
}

/* Admin nav + centrage formulaires */
.admin-nav{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.form-center{
  display:flex;
  justify-content:center;
}

.form{
  max-width:760px;
  width:100%;
}

.container{
  width:100%;
  max-width:none;
  margin:0;
  padding:0 16px;
}

.home-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 320px;
  gap:24px;
  align-items:start;
}

.home-aside{
  position:sticky;
  top:84px;
}

.aside-title{
  margin:0 0 12px;
  font-size:18px;
  font-weight:900;
}

.artist-list{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:10px;
}

.artist-item{
  display:grid;
  grid-template-columns:44px 1fr;
  gap:10px;
  align-items:center;
  padding:8px;
  border:1px solid var(--line);
  background:var(--panel);
  border-radius:12px;
  text-decoration:none;
  color:var(--text);
}

.artist-item:hover{
  background:var(--panel-2);
}

.artist-avatar{
  width:44px;
  height:44px;
  object-fit:cover;
  border-radius:10px;
  border:1px solid var(--line);
}

.artist-name{
  font-size:14px;
  font-weight:700;
}

/* Responsive */
@media (max-width:980px){
  .home-layout{
    grid-template-columns:1fr;
  }

  .container-left{
    margin-left:12px;
    padding-right:12px;
  }

  .home-aside{
    position:static;
  }
}

/* === Hero artiste (grand format) === */
.vg-hero{
  position:relative;
  overflow:hidden;
  border-radius:20px;
  height:400px;
  margin-bottom:30px;
}

.vg-hero-img{
  width:100%;
  height:100%;
  object-fit:cover;
  filter:brightness(80%);
}

.vg-hero-info{
  position:absolute;
  bottom:30px;
  left:40px;
  color:#fff;
  text-shadow:0 2px 10px rgba(0,0,0,.6);
}

.vg-hero-top h1{
  font-size:42px;
  margin-bottom:8px;
}

.vg-hero-sub{
  font-size:20px;
  opacity:.9;
}

.vg-hero-meta{
  font-size:15px;
  opacity:.85;
}

@media (max-width:768px){
  .vg-hero{
    flex-direction:column;
    align-items:center;
    text-align:center;
  }

  .vg-hero-img{
    width:80%;
    height:auto;
    max-width:320px;
  }

  .vg-hero-info{
    text-align:center;
  }
}

.credit{
  font-size:13px;
  color:var(--muted);
  margin-top:4px;
}

/* === Artist Banner Hero === */
.artist-hero{
  position:relative;
  height:420px;
  border-radius:24px;
  overflow:hidden;
  border:1px solid var(--line);
  margin:0 16px 32px 16px;
}

.artist-hero-bg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  filter:brightness(78%);
  border-radius:inherit;
}

.artist-hero-overlay{
  position:absolute;
  inset:0;
  display:flex;
  align-items:flex-end;
  justify-content:flex-start;
  padding:0 48px 20px 20px;
  background:linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0));
  border-radius:inherit;
}

.artist-hero-inner{
  color:#fff;
  text-shadow:0 2px 10px rgba(0,0,0,.55);
  max-width:800px;
  margin-left:-8px;
}

.artist-hero-title{
  margin:0;
  font-size:48px;
  font-weight:900;
}

.artist-hero-sub{
  font-size:20px;
  margin-top:6px;
  opacity:.95;
}

.artist-hero-meta{
  margin-top:10px;
  font-size:16px;
  opacity:.9;
}

.artist-hero-credit{
  margin-top:6px;
  font-size:13px;
  opacity:.85;
}

@media (max-width:720px){
  .artist-hero-overlay{
    padding:0 20px 24px 20px;
    justify-content:center;
    text-align:center;
  }

  .artist-hero-title{
    font-size:32px;
  }

  .artist-hero-sub{
    font-size:16px;
  }
}

.artist-bio p{
  margin-bottom:1em;
  line-height:1.6;
}

/* Couleur du nom d’artiste sur la page d’accueil */
.home .card .meta .title{
  color:#ff3b7f;
  font-weight:700;
  transition:color .3s ease;
}

.home .card:hover .meta .title{
  color:#ffffff;
}