:root{
  --bg: #000;
  --panel: #0f0f0f;
  --text: #f3f3f3;
  --muted: #b7b7b7;
  --accent: #f5c400; /* jaune */
  --border: rgba(245,196,0,0.35);
}

*{ box-sizing: border-box; }
html, body{ margin:0; padding:0; background:var(--bg); color:var(--text); font-family: -apple-system, system-ui, Segoe UI, Roboto, Arial, sans-serif; }
a{ color: var(--accent); text-decoration: none; }
a:hover{ text-decoration: underline; }
code{ color: var(--accent); }

.container{
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

.muted{ color: var(--muted); }
.small{ font-size: 0.92rem; }

/* HEADER */
.header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0,0,0,0.9);
  border-bottom: 2px solid var(--border);
  backdrop-filter: blur(8px);
}
.header__inner{
  display:flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  gap: 14px;
}

.brand{
  display:flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.logo{
  height: 45px;
  width: auto;
  display:block;
  object-fit: contain;
}
.brand-name{
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent);
  white-space: nowrap;
}

/* Nav */
.nav{
  display:flex;
  align-items: center;
  gap: 18px;
}
.nav a{
  color: var(--text);
  font-weight: 700;
  opacity: 0.9;
}
.nav a:hover{
  color: var(--accent);
  opacity: 1;
}

.nav-toggle{
  display:none;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 18px;
}

/* HERO */
.hero{
  padding: 64px 0 34px;
  background: radial-gradient(ellipse at top, rgba(245,196,0,0.12), transparent 55%),
              linear-gradient(to bottom, #000, #060606);
}
.hero__inner{ text-align: center; }
.hero h1{
  font-size: clamp(2.0rem, 4.5vw, 3.2rem);
  margin: 0 0 12px;
}
.hero__cta{
  margin-top: 18px;
  display:flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.hero__badges{
  margin-top: 22px;
  display:flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}
.badge{
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 700;
}

/* Sections */
.section{ padding: 52px 0; border-top: 1px solid rgba(255,255,255,0.06); }
.section__head{
  margin-bottom: 18px;
}
.section__head h2{
  font-size: 1.9rem;
  margin: 0 0 6px;
  color: var(--accent);
}

.btn{
  display:inline-block;
  border: 0;
  background: var(--accent);
  color: #000;
  font-weight: 900;
  padding: 12px 18px;
  border-radius: 12px;
  cursor: pointer;
}
.btn:hover{ filter: brightness(1.04); text-decoration: none; }
.btn--ghost{
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-row{ display:flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }

/* Inventory grid */
.toolbar{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 10px 0 18px;
}
.input, .select, textarea{
  width: min(520px, 100%);
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.03);
  color: var(--text);
  outline: none;
}
.select{ width: 220px; }

.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.item{
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
  border-radius: 16px;
  overflow: hidden;
}
.item__img{
  width: 100%;
  aspect-ratio: 16/10;
  background: rgba(255,255,255,0.06);
  display:block;
  object-fit: cover;
}
.item__body{ padding: 14px; }
.item__title{
  margin: 0 0 6px;
  font-weight: 900;
  font-size: 1.1rem;
}
.pill{
  display:inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 0.85rem;
  border: 1px solid var(--border);
  color: var(--accent);
  background: rgba(245,196,0,0.08);
}
.meta{ margin-top: 10px; color: var(--muted); line-height: 1.55; }
.item__actions{ margin-top: 12px; display:flex; gap: 10px; flex-wrap: wrap; }
.note{
  margin-top: 16px;
  border: 1px dashed var(--border);
  padding: 12px;
  border-radius: 14px;
  background: rgba(245,196,0,0.06);
}

/* Cards & forms */
.cards{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.card{
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
  border-radius: 16px;
  padding: 16px;
}
.card h3{ margin: 0 0 10px; color: var(--text); }
ul{ margin: 0; padding-left: 18px; color: var(--muted); }
li{ margin: 8px 0; }

.form{
  display:grid;
  gap: 10px;
}
label{ display:grid; gap: 6px; font-weight: 800; }
textarea{ resize: vertical; min-height: 110px; }

/* Legal */
.legal{
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
  border-radius: 16px;
  padding: 16px;
  line-height: 1.65;
}

/* Footer */
.footer{
  border-top: 2px solid var(--border);
  padding: 18px 0;
  background: #000;
}
.footer__inner{
  display:flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 900px){
  .grid{ grid-template-columns: 1fr 1fr; }
  .cards{ grid-template-columns: 1fr; }
  .nav-toggle{ display:inline-block; }
  .nav{
    display:none;
    position: absolute;
    right: 16px;
    top: 64px;
    flex-direction: column;
    background: rgba(0,0,0,0.98);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 10px;
    min-width: 220px;
  }
  .nav.nav--open{ display:flex; }
  .header__inner{ position: relative; }
}
@media (max-width: 560px){
  .grid{ grid-template-columns: 1fr; }
}

/* FORM */
.form input,
.form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: none;
}

.form button {
  width: 100%;
}

/* FOOTER */
.footer {
  background: #000;
  text-align: center;
  padding: 20px;
  margin-top: 30px;
  font-size: 0.9rem;
}
