:root{
  --bg:#0b0e14;
  --bg2:#111827;
  --card:rgba(255,255,255,0.06);
  --border:rgba(255,255,255,0.12);

  --text:#f3f4f6;
  --muted:#9ca3af;

  --gold:#f2c04d;
  --gold-soft:#ffdd99;

  --shadow:0 20px 40px rgba(0,0,0,.45);
  --radius:18px;

  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  background: #131820; /* couleur unique globale */
  color:var(--text);
}

a{ color:inherit; text-decoration:none; }

/* ===== HEADER ===== */

.header{
  text-align:center;
  padding:26px 16px 18px;
  border-bottom:1px solid var(--border);
  backdrop-filter: blur(8px);
}

.brand{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
}

.brand img{
  height:56px;
  width:auto;
  filter: drop-shadow(0 0 18px rgba(242,192,77,.45));
}

.brand h1{
  margin:0;
  font-size:2.2rem;
  letter-spacing:.5px;
}

.subtitle{
  margin:8px 0 14px;
  color:var(--muted);
}

/* ===== NAV ===== */

.nav{
  display:flex;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
}

.nav a{
  padding:6px 14px;
  border-radius:999px;
  color:var(--muted);
  transition:.2s;
}

.nav a:hover,
.nav a.active{
  background:rgba(242,192,77,.15);
  color:var(--gold);
}

/* ===== LAYOUT ===== */

.container{
  max-width:1100px;
  margin:auto;
  padding:28px 16px 60px;
}

.grid{
  display:grid;
  grid-template-columns:repeat(12,1fr);
  gap:16px;
}

.card{
  grid-column:span 12;
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:18px;
  box-shadow:var(--shadow);
}

/* ===== HERO (index) ===== */
.hero{
  display:grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap:16px;
  align-items:stretch;
}
.hero .hero-right{
  background:
    radial-gradient(900px 360px at 30% 10%, rgba(242,192,77,.15), transparent 55%),
    radial-gradient(900px 360px at 70% 40%, rgba(255,255,255,.08), transparent 55%),
    rgba(255,255,255,0.03);
  border:1px solid var(--border);
  border-radius:16px;
  padding:18px;
}

/* ===== TEXT ===== */

h2,h3,h4{
  margin-top:0;
  color:var(--gold-soft);
}

.card p{ color: rgba(255,255,255,0.78); }

.small{
  color:var(--muted);
  font-size:.9rem;
}

code{
  background: rgba(255,255,255,0.08);
  padding: 2px 6px;
  border-radius: 8px;
}

/* ===== BUTTONS ===== */

.actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.btn{
  display:inline-block;
  padding:10px 16px;
  border-radius:999px;
  font-weight:600;
  border:1px solid transparent;
  cursor:pointer;
  transition:.2s;
}

.btn:hover{ transform:translateY(-1px); }

.btn-gold{
  background:linear-gradient(180deg,var(--gold),var(--gold-soft));
  color:#000;
}

.btn-outline{
  border:1px solid var(--border);
  color: var(--text);
  background: transparent;
}

.btn-dark{
  background:#000;
  border:1px solid var(--border);
  color: var(--text);
}

/* ===== KPIS / NOTICE ===== */

.kpis{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.kpi{
  background:rgba(255,255,255,.08);
  padding:6px 10px;
  border-radius:999px;
  font-size:.85rem;
}

.notice{
  margin-top:10px;
  padding:12px;
  background:rgba(242,192,77,.1);
  border-left:4px solid var(--gold);
  border-radius:10px;
}

/* ===== FORM ===== */

.form{
  display:grid;
  gap:10px;
}

label{ color: rgba(255,255,255,0.85); }

input,textarea,select{
  width:100%;
  padding:12px;
  border-radius:12px;
  border:1px solid var(--border);
  background:#000;
  color:var(--text);
}

input:focus,textarea:focus,select:focus{
  outline:none;
  border-color:var(--gold);
}

/* ===== FAQ ===== */

.faq{
  display:grid;
  gap:12px;
}

.faq .item{
  background:rgba(255,255,255,.05);
  border:1px solid var(--border);
  border-radius:14px;
  padding:14px;
}

/* ===== SEPARATOR ===== */
hr.sep{
  border:none;
  border-top: 1px solid var(--border);
  margin: 18px 0;
}

/* ===== FOOTER GLOBAL ===== */

.footer {
  margin-top: 60px;
  border-top: 1px solid var(--border);
  background: rgba(0,0,0,0.35);
}

.footer-inner {
  max-width: 1100px;
  margin: auto;
  padding: 26px 16px;
  text-align: center;
  display: grid;
  gap: 14px;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: .3px;
}

.footer-brand img {
  height: 34px;
  width:auto;
  filter: drop-shadow(0 0 10px rgba(242,192,77,.45));
}

.footer-links,
.footer-legal {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links a,
.footer-legal a {
  color: var(--muted);
  font-size: .9rem;
}

.footer-links a:hover,
.footer-legal a:hover {
  color: var(--gold);
}

.footer-copy {
  font-size: .85rem;
  color: var(--muted);
}

/* responsive */
@media (max-width: 860px){
  .hero{ grid-template-columns: 1fr; }
}

@media (max-width: 560px){
  .btn{ width:100%; text-align:center; }
}
