:root{
  --bg: #070B14;
  --panel: #0C1426;
  --panel2: #0A1020;
  --text: #E9EEF9;
  --muted: #A9B5D3;
  --blue: #1F5BFF;
  --blue2:#0A2A7A;
  --gold: #D6B15E;
  --gold2:#9C7A2F;
  --border: rgba(255,255,255,.08);
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --radius: 14px;
  --max: 1120px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(31,91,255,.25), transparent 60%),
    radial-gradient(900px 500px at 90% 0%, rgba(214,177,94,.20), transparent 55%),
    var(--bg);
  color:var(--text);
}

a{color:inherit; text-decoration:none}
.container{max-width:var(--max); margin:0 auto; padding:0 18px}

/* Header */
.topbar{
  position:sticky; top:0; z-index:50;
  background: rgba(7,11,20,.72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 0;
  gap:12px;
}

.brand{display:flex; align-items:center; gap:10px; min-width: 220px}
.brand img{width:36px; height:36px; border-radius:10px; border:1px solid var(--border); object-fit:cover}
.brand .name{font-weight:800; letter-spacing:.3px}
.brand .tag{font-size:12px; color:var(--muted); margin-top:2px}

.menu{
  display:flex; align-items:center; gap:8px; flex-wrap:wrap; justify-content:center;
}

.menu a, .menu button{
  padding:9px 12px;
  border-radius:999px;
  border:1px solid transparent;
  color:var(--muted);
  background: transparent;
  font: inherit;
  cursor:pointer;
}

.menu a:hover, .menu button:hover{
  border-color:var(--border);
  color:var(--text);
  background: rgba(255,255,255,.03);
}

.menu a.active, .menu button.active{
  color:var(--text);
  border-color: rgba(214,177,94,.35);
  background: rgba(214,177,94,.08);
}

/* Dropdown */
.dropdown{position:relative}
.dropdownMenu{
  position:absolute;
  top: 46px;
  left: 0;
  min-width: 230px;
  padding:10px;
  border-radius: 14px;
  border:1px solid var(--border);
  background: rgba(12,20,38,.95);
  box-shadow: var(--shadow);
  display:none;
}

.dropdown:hover .dropdownMenu,
.dropdown:focus-within .dropdownMenu{
  display:block;
}

.dropdownMenu a{
  display:block;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid transparent;
  color:var(--muted);
}

.dropdownMenu a:hover{
  background: rgba(255,255,255,.04);
  border-color: var(--border);
  color: var(--text);
}

.actions{
  display:flex; gap:10px; align-items:center; justify-content:flex-end; min-width: 320px
}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:8px;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.03);
  color:var(--text);
  cursor:pointer;
}

.btn:hover{background: rgba(255,255,255,.06)}

.btn.primary{
  border-color: rgba(31,91,255,.45);
  background: linear-gradient(135deg, rgba(31,91,255,.22), rgba(10,42,122,.22));
}

.btn.gold{
  border-color: rgba(214,177,94,.55);
  background: linear-gradient(135deg, rgba(214,177,94,.18), rgba(156,122,47,.18));
}

/* Hero */
.hero{padding:38px 0 22px;}
.heroCard{
  background: linear-gradient(180deg, rgba(12,20,38,.92), rgba(10,16,32,.92));
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.heroInner{
  padding:26px;
  display:grid;
  grid-template-columns: 1.4fr .6fr;
  gap:18px;
}

.h1{font-size:34px; margin:0 0 10px; line-height:1.12}
.sub{color:var(--muted); margin:0 0 16px}

.breadcrumb{
  margin-top:10px;
  color:var(--muted);
  font-size:13px;
}
.breadcrumb span{opacity:.7}
.breadcrumb a{color:var(--muted)}
.breadcrumb a:hover{color:var(--text)}

/* Layout content */
.content{padding: 8px 0 40px;}
.grid{
  display:grid;
  grid-template-columns: 280px 1fr;
  gap:18px;
}

.side{
  position: sticky;
  top: 78px;
  align-self:start;
}

.card{
  background: rgba(12,20,38,.80);
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card.pad{padding:16px}

.side h3{
  margin:0 0 10px;
  font-size:14px;
  color:var(--muted);
  font-weight:700;
  letter-spacing:.4px;
  text-transform:uppercase
}
.toc{display:flex; flex-direction:column; gap:8px}
.toc a{
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.02);
  color:var(--muted);
}
.toc a:hover{color:var(--text); border-color: rgba(31,91,255,.35)}
.toc a .dot{
  display:inline-block; width:8px; height:8px; border-radius:50%;
  background: rgba(214,177,94,.75);
  margin-right:10px;
}

.main .section{
  padding:18px;
  margin-bottom:14px;
}
.section h2{margin:0 0 8px; font-size:20px}
.section p, .section li{color:var(--muted); line-height:1.65}
.section ul{margin:10px 0 0 18px}

/* Gallery */
.galleryGrid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
}
.galleryItem{
  overflow:hidden;
  border-radius: 14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.02);
}
.galleryItem img{
  width:100%;
  height:210px;
  object-fit:cover;
  display:block;
  transform: scale(1);
  transition: transform .18s ease;
}
.galleryItem:hover img{transform: scale(1.03)}
.galleryCaption{
  padding:10px 12px;
  color:var(--muted);
  font-size:13px;
}

/* Footer */
.footer{
  border-top:1px solid var(--border);
  padding:18px 0;
  color:var(--muted);
  font-size:13px;
}

/* Responsive */
@media (max-width: 980px){
  .grid{grid-template-columns: 1fr}
  .side{position:relative; top:auto}
}
@media (max-width: 880px){
  .heroInner{grid-template-columns: 1fr}
  .actions{flex-wrap:wrap; justify-content:flex-end; min-width:auto}
  .brand{min-width:auto}
  .dropdownMenu{position:relative; top:auto; margin-top:8px}
}
@media (max-width: 820px){
  .galleryGrid{grid-template-columns: repeat(2, 1fr);}
}
@media (max-width: 520px){
  .galleryGrid{grid-template-columns: 1fr;}
}

/* ===== BANNIERE SITE ===== */
.banner {
  position: relative;
  height: 260px;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,.5), rgba(0,0,0,.7)),
    radial-gradient(circle at 20% 20%, rgba(31,91,255,.4), transparent 60%),
    radial-gradient(circle at 80% 80%, rgba(214,177,94,.3), transparent 60%);
  z-index: 1;
}

.banner img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
}

.banner-content h1 {
  margin: 0;
  font-size: 42px;
  letter-spacing: 2px;
}

.banner-content p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
}

/* ===== FOND GLOBAL SITE ===== */
body {
  background:
    radial-gradient(circle at 15% 20%, rgba(31,91,255,.25), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(214,177,94,.15), transparent 40%),
    linear-gradient(180deg, #0a0f1f 0%, #0c1426 40%, #0a0f1f 100%);
  background-attachment: fixed;
}

.text-blue {
  color: #1f5bff;
}

.text-gold {
  color: #d6b15e;
}

.text-red {
  color: #ff4d4d;
}

.text-green {
  color: #4caf50;
}

.text-muted {
  color: var(--muted);
}

.text-xs { font-size: 12px; }
.text-sm { font-size: 14px; }
.text-md { font-size: 16px; }
.text-lg { font-size: 20px; }
.text-xl { font-size: 24px; }
.text-xxl { font-size: 32px; }
.text-hero { font-size: 42px; }
