:root{
  /* AMOPA palette (tons du logo) */
  --amopa-950:#2E2546;
  --amopa-900:#45386A;
  --amopa-700:#5B478F;
  --amopa-500:#887AAD;
  --amopa-200:#B0A3D3;
  --amopa-50:#E7E0F5;

  --bg:#0e0b18;

  --text:rgba(255,255,255,.92);
  --muted:rgba(255,255,255,.76);
  --line:rgba(255,255,255,.14);

  --ink:#16112a;
  --subink:rgba(22,17,42,.72);

  --radius:18px;
  --shadow:0 18px 60px rgba(0,0,0,.40);
  --shadow2:0 14px 40px rgba(22,17,42,.18);

  --max:1180px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text);
  background:
    radial-gradient(1100px 520px at 12% 8%, rgba(91,71,143,.38), transparent 62%),
    radial-gradient(900px 480px at 86% 12%, rgba(176,163,211,.22), transparent 62%),
    radial-gradient(1000px 620px at 45% 92%, rgba(136,122,173,.16), transparent 62%),
    var(--bg);
}

a{color:inherit;text-decoration:none}
code{background:rgba(255,255,255,.10); padding:2px 6px; border-radius:8px}

.containerX{width:min(var(--max),calc(100% - 40px));margin:0 auto}

/* Header */
.topHeader{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter: blur(12px);
  background: rgba(69,56,106,.70);
  border-bottom: 1px solid rgba(255,255,255,.16);
}
.topbar{
  height:82px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:260px;
}
.brandLogo{
  width:42px;height:42px;border-radius:14px;
  background: linear-gradient(135deg, var(--amopa-700), var(--amopa-900));
  box-shadow: 0 12px 34px rgba(0,0,0,.25);
}
.brandTxt strong{display:block;font-weight:1000;letter-spacing:.2px}
.brandTxt span{display:block;font-size:12.5px;color:rgba(255,255,255,.82)}

.navLinks{display:flex;align-items:center;gap:12px}
.navLink{
  font-weight:900;
  font-size:14px;
  padding:10px 12px;
  border-radius:14px;
  color:rgba(255,255,255,.92);
}
.navLink:hover{background:rgba(255,255,255,.10)}

.navRight{display:flex;align-items:center;gap:10px}
.helloPill{
  display:inline-flex;align-items:center;gap:8px;
  padding:10px 12px;border-radius:999px;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.16);
  font-weight:900;
  white-space:nowrap;
}

/* Buttons */
.btnX{
  display:inline-flex;align-items:center;justify-content:center;
  height:42px;padding:0 14px;border-radius:14px;
  font-weight:1000;font-size:14px;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(255,255,255,.10);
  cursor:pointer;
  transition:transform .12s ease, background .12s ease, box-shadow .12s ease;
  white-space:nowrap;
}
.btnX:hover{background:rgba(255,255,255,.14)}
.btnX:active{transform:translateY(1px)}
.btnX.primary{
  background: linear-gradient(135deg, var(--amopa-700), var(--amopa-900));
  border-color:transparent;
  color:#fff;
  box-shadow: 0 16px 36px rgba(91,71,143,.32);
}
.btnX.secondary{
  background:rgba(255,255,255,.10);
}
.btnX.danger{
  background:rgba(255,255,255,.92);
  color:#b91c1c;
  border-color:rgba(255,255,255,.92);
}
.btnX.big{height:46px;padding:0 18px;border-radius:16px}

/* Main */
.pageMain{padding:18px 0 46px}

.crumbs{
  display:flex;align-items:center;gap:10px;
  color:rgba(255,255,255,.78);
  font-weight:800;
  font-size:13px;
  margin:14px 0 14px;
}
.crumbs a:hover{color:rgba(255,255,255,.98)}

/* Hero */
.hero{padding:6px 0 18px}
.heroCard{
  border-radius:26px;
  border:1px solid rgba(255,255,255,.14);
  box-shadow:var(--shadow);
  overflow:hidden;
  background:
    radial-gradient(900px 420px at 18% 25%, rgba(91,71,143,.55), transparent 60%),
    radial-gradient(700px 360px at 86% 18%, rgba(176,163,211,.28), transparent 55%),
    linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.04));
}
.heroInner{
  padding:22px 22px;
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap:16px;
  align-items:stretch;
}

.kicker{
  display:inline-flex;align-items:center;gap:10px;
  padding:8px 12px;border-radius:999px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.18);
  font-weight:1000;font-size:13px;color:rgba(255,255,255,.94);
  width:fit-content;
}
.dot{
  width:8px;height:8px;border-radius:999px;
  background: var(--amopa-200);
  box-shadow: 0 0 0 6px rgba(176,163,211,.18);
}
.h1Title{
  margin:14px 0 10px;
  font-family:"Playfair Display",serif;
  letter-spacing:.2px;
  font-size:40px;
  line-height:1.08;
}
.lead{
  margin:0;
  color:rgba(255,255,255,.82);
  line-height:1.65;
}

.heroMeta{
  margin-top:12px;
  display:flex;
  flex-wrap:wrap;
  gap:10px 14px;
  color:rgba(255,255,255,.82);
  font-weight:800;
  font-size:13.5px;
}
.heroCtas{margin-top:14px}

.heroImage{
  border-radius:20px;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.16);
  padding:14px;
}
.imgFrame{
  border-radius:18px;
  overflow:hidden;
  height:100%;
  min-height:220px;
  position:relative;
  box-shadow:0 18px 44px rgba(0,0,0,.25);
}
.imgFrame img{
  width:100%;height:100%;
  object-fit:cover;
  display:block;
  filter:saturate(1.05) contrast(1.05);
}
.imgFrame::after{
  content:"";
  position:absolute; inset:0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(22,17,42,.55) 100%),
    radial-gradient(420px 240px at 20% 20%, rgba(91,71,143,.18), transparent 62%);
  pointer-events:none;
}

/* Content grid */
.contentGrid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:16px;
  align-items:start;
}

/* Panel */
.panel{
  border-radius:22px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.08);
  box-shadow:var(--shadow2);
  overflow:hidden;
}
.panelHead{
  padding:16px 16px 12px;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  border-bottom:1px solid rgba(255,255,255,.12);
}
.panelTitle{
  margin:0;
  font-family:"Playfair Display",serif;
  font-size:26px;
  letter-spacing:.2px;
}
.panelSub{
  margin:6px 0 0;
  color:rgba(255,255,255,.78);
  font-weight:700;
  font-size:13.5px;
  line-height:1.5;
}
.panelBody{padding:14px 16px 16px}

.chip{
  display:inline-flex;align-items:center;justify-content:center;
  padding:8px 10px;border-radius:999px;
  background: rgba(176,163,211,.20);
  border:1px solid rgba(176,163,211,.32);
  font-weight:1000;
  font-size:12.5px;
  color:rgba(255,255,255,.92);
  white-space:nowrap;
}
.badgeInfo{
  display:inline-flex;align-items:center;justify-content:center;
  width:40px;height:40px;border-radius:14px;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.16);
  font-weight:1000;
}

/* Info list */
.infoList{
  list-style:none;
  padding:0;margin:0;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.infoList li{
  display:grid;
  grid-template-columns: 190px 1fr;
  gap:12px;
  padding:10px 12px;
  border-radius:16px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.10);
}
.label{color:rgba(255,255,255,.80);font-weight:900}
.value{color:rgba(255,255,255,.94);font-weight:800}

.deadline{
  margin-top:12px;
  padding:12px;
  border-radius:18px;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.14);
  color:rgba(255,255,255,.90);
}
.deadline small{display:block;margin-top:6px;color:rgba(255,255,255,.76);font-weight:700}

/* Form */
.notice{
  padding:12px;
  border-radius:18px;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.14);
  font-weight:800;
}
.formX{margin-top:12px}
.fieldLabel{
  display:block;
  margin:10px 0 8px;
  font-weight:1000;
  color:rgba(255,255,255,.90);
}
.fieldRow{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
}
.fieldInput{
  flex:1;
  min-width:220px;
  height:46px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.20);
  background:rgba(255,255,255,.10);
  color:rgba(255,255,255,.92);
  padding:0 14px;
  outline:none;
  font-weight:800;
}
.fieldInput::placeholder{color:rgba(255,255,255,.62)}
.fieldInput:focus{
  border-color:rgba(176,163,211,.55);
  box-shadow:0 0 0 6px rgba(176,163,211,.16);
}

.alertX{
  margin-top:12px;
  padding:12px;
  border-radius:18px;
  background: rgba(239,68,68,.12);
  border: 1px solid rgba(239,68,68,.25);
  color: rgba(255,255,255,.92);
  font-weight:800;
}

.helpBox{
  margin-top:12px;
  padding:12px;
  border-radius:18px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
  color:rgba(255,255,255,.86);
  line-height:1.6;
}
.helpSmall{margin-top:6px;color:rgba(255,255,255,.74);font-weight:700}

/* Footer */
.footerX{
  padding:26px 0 34px;
  border-top:1px solid rgba(255,255,255,.14);
  background:rgba(69,56,106,.14);
  color:rgba(255,255,255,.78);
}

/* Responsive */
@media (max-width: 980px){
  .navLinks{display:none}
  .heroInner{grid-template-columns:1fr}
  .contentGrid{grid-template-columns:1fr}
  .infoList li{grid-template-columns:1fr}
}