:root{
  --bg:#0b1220;
  --card:#0f1a33;
  --text:#eaf0ff;
  --muted:#b8c4e6;
  --accent:#7aa7ff;
  --accent2:#7dffcf;
  --border:rgba(255,255,255,.10);
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --radius: 18px;
  --max: 1100px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}

body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(122,167,255,.25), transparent 60%),
    radial-gradient(900px 500px at 90% 10%, rgba(125,255,207,.15), transparent 55%),
    var(--bg);
  color:var(--text);
  line-height:1.55;
}

a{color:var(--text); text-decoration:none}
a:hover{opacity:.9}
small{color:var(--muted)}

.container{max-width:var(--max); margin:0 auto; padding:24px}

/* NAV */
.nav{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(11,18,32,.65);
  border-bottom:1px solid var(--border);
}

.nav-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:800;
}

.logo{
  width:34px;
  height:34px;
  border-radius:10px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: var(--shadow);
}

.links{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  align-items:center;
}

.links a{
  color:var(--muted);
  font-weight:600;
  font-size:14px;
}

.links a.active,
.links a:hover{
  color:var(--text);
}

/* BUTTONS */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:11px 14px;
  border-radius:999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.06);
  color:var(--text);
  font-weight:700;
}

.btn.primary{
  border:0;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color:#07101f;
}

.btn.primary:hover{filter:brightness(1.03)}

/* HERO */
.hero{padding:54px 0 18px}

.grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:18px;
}

@media (max-width:900px){
  .grid{grid-template-columns:1fr}
}

.h1{
  font-size:42px;
  line-height:1.1;
  margin:0 0 12px;
}

@media (max-width:520px){
  .h1{font-size:34px}
}

.sub{
  color:var(--muted);
  font-size:16px;
  margin:0 0 18px;
}

/* BADGES */
.badges{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:18px 0;
}

.badge{
  font-size:13px;
  font-weight:700;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.05);
  color:var(--muted);
}

/* CARDS */
.card{
  background: rgba(255,255,255,.04);
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding:18px;
}

.card h3{margin:0 0 8px}
.card p{margin:0;color:var(--muted)}

/* KPIs */
.kpis{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  margin-top:14px;
}

@media (max-width:520px){
  .kpis{grid-template-columns:1fr}
}

.kpi{
  padding:14px;
  border-radius:16px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
}

.kpi strong{
  display:block;
  font-size:18px;
}

/* SECTIONS */
.section{padding:26px 0}

.section h2{
  margin:0 0 12px;
  font-size:26px;
}

.cols{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
}

@media (max-width:900px){
  .cols{grid-template-columns:1fr}
}

.li{margin:8px 0;color:var(--muted)}

.hr{
  height:1px;
  background:var(--border);
  margin:20px 0;
}

/* FOOTER */
.footer{
  padding:26px 0 40px;
  color:var(--muted);
  font-size:14px;
}

/* FORMS */
.form label{
  display:block;
  font-weight:700;
  margin:10px 0 6px;
}

.form input,
.form select,
.form textarea{
  width:100%;
  padding:12px;
  border-radius:14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
  color:var(--text);
}

.form textarea{
  min-height:110px;
  resize:vertical;
}

.notice{
  font-size:13px;
  color:var(--muted);
}

.two{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

@media (max-width:700px){
  .two{grid-template-columns:1fr}
}

/* TABLE */
.table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  border-radius:16px;
  border:1px solid var(--border);
  overflow:hidden;
}

.table th,
.table td{
  padding:12px;
  border-bottom:1px solid var(--border);
  vertical-align:top;
}

.table th{
  background: rgba(255,255,255,.04);
  color:var(--text);
}

.table td{color:var(--muted)}
.table tr:last-child td{border-bottom:0}

/* FAQ */
.faq details{
  border:1px solid var(--border);
  border-radius:16px;
  padding:12px 14px;
  background: rgba(255,255,255,.03);
  margin:10px 0;
}

.faq summary{
  cursor:pointer;
  font-weight:800;
}

.faq p{
  margin:10px 0 0;
  color:var(--muted);
}

/* ========================= */
/* 🌐 LANGUAGE DROPDOWN (EN / FR ONLY) */
/* ========================= */

.lang{
  position:relative;
  display:inline-block;
}

.lang-btn{
  display:inline-flex;
  align-items:center;
  gap:6px;
}

.globe{
  width:18px;
  height:18px;
  fill:currentColor;
}

.lang-label{
  font-size:13px;
  font-weight:800;
  letter-spacing:.04em;
}

/* Dropdown menu */
.lang-menu{
  position:absolute;
  right:0;
  top: calc(100% + 8px);
  min-width:120px;

  background: rgba(15,26,51,.98);
  border:1px solid var(--border);
  border-radius:14px;
  padding:6px;
  box-shadow: var(--shadow);

  display:none;
  z-index:60;
}

.lang-menu.open{display:block}

/* EN / FR items */
.lang-item{
  display:flex;
  justify-content:center;
  align-items:center;

  padding:10px;
  border-radius:10px;

  font-weight:900;
  letter-spacing:.08em;
  font-size:13px;

  color:var(--text);
}

/* Hover */
.lang-item:hover{
  background: rgba(255,255,255,.06);
}

/* Active language */
.lang-item[aria-current="page"]{
  background: linear-gradient(135deg, rgba(122,167,255,.25), rgba(125,255,207,.20));
  border:1px solid rgba(122,167,255,.35);
}
