:root{
  --bg0:#050812;
  --bg1:#07102a;
  --panel:#0b1433cc;
  --panel2:#0a122bcc;
  --stroke:rgba(255,255,255,.10);
  --stroke2:rgba(255,255,255,.06);
  --text:#eaf0ff;
  --muted:rgba(234,240,255,.70);
  --muted2:rgba(234,240,255,.55);
  --accent:#4aa3ff;
  --radius:18px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  color:var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(1200px 600px at 20% 10%, rgba(74,163,255,.12), transparent 60%),
    radial-gradient(900px 500px at 85% 20%, rgba(120,90,255,.10), transparent 60%),
    linear-gradient(180deg, var(--bg1), var(--bg0));
}

/* Top bar */
.topbar{
  position:sticky;
  top:0;
  z-index:10;
  backdrop-filter: blur(10px);
  background: linear-gradient(180deg, rgba(6,10,22,.85), rgba(6,10,22,.55));
  border-bottom:1px solid var(--stroke2);
}

.nav{
  max-width:1100px;
  margin:0 auto;
  padding:10px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}

.brand{
  font-size:14px;
  letter-spacing:.2px;
  color:rgba(234,240,255,.85);
  white-space:nowrap;
}

.menu{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.menu a{
  color:rgba(234,240,255,.75);
  text-decoration:none;
  font-size:13px;
  padding:6px 8px;
  border-radius:10px;
}
.menu a:hover{background:rgba(255,255,255,.05); color:rgba(234,240,255,.92)}
.menu a[aria-current="page"]{
  background:rgba(255,255,255,.06);
  border:1px solid var(--stroke2);
  color:rgba(234,240,255,.95);
}

/* Layout */
.wrap{
  max-width:1100px;
  margin:22px auto 50px;
  padding:0 18px;
}

.grid{
  display:grid;
  grid-template-columns: 1.35fr .65fr;
  gap:22px;
  align-items:start;
}

.card{
  background: linear-gradient(180deg, var(--panel), var(--panel2));
  border:1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow:
    0 18px 60px rgba(0,0,0,.55),
    inset 0 1px 0 rgba(255,255,255,.05);
}

.card.pad{padding:22px}

/* Typographie principale */
.h1{
  margin:0 0 6px;
  font-size:24px;
  line-height:1.2;
  letter-spacing:.1px;
  font-weight:600;
  color:rgba(234,240,255,.90);
}

.sub{
  margin:0 0 12px;
  font-size:20px;
  font-weight:600;
  letter-spacing:.2px;
  color:rgba(234,240,255,.95);
}

.small{
  margin:0 0 16px;
  font-size:14px;
  color:var(--muted2);
  line-height:1.55;
}

.p{
  margin:0 0 14px;
  font-size:15px;
  color:var(--muted);
  line-height:1.65;
  max-width:65ch;
}

.chips{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:10px;
}
.chip{
  font-size:12px;
  color:rgba(234,240,255,.78);
  border:1px solid var(--stroke);
  background:rgba(255,255,255,.04);
  padding:7px 10px;
  border-radius:999px;
}

.side{
  padding:18px;
  display:grid;
  gap:14px;
}

/* Avatar block – centré */
.avatarWrap{
  height:130px;
  border-radius:14px;
  border:1px solid var(--stroke2);
  background:rgba(255,255,255,.03);
  position:relative;
  overflow:hidden;
}
.avatar{
  width:132px;
  height:132px;
  border-radius:999px;
  object-fit:cover;
  border:3px solid rgba(255,255,255,.12);
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%, -50%);
  box-shadow: 0 20px 45px rgba(0,0,0,.55);
}

.hr{
  height:1px;
  background:rgba(255,255,255,.08);
  margin:14px 0;
}

.linkTitle{
  color:rgba(74,163,255,.95);
  font-size:14px;
  margin:0;
}

/* Responsive */
@media (max-width: 900px){
  .grid{grid-template-columns:1fr}
  .h1{font-size:22px}
  .sub{font-size:18px}
  .avatarWrap{height:170px}
}
/* =========================
   Page Expérience – lecture large
   ========================= */

.experience .p{
  max-width: 95ch;      /* supprime la contrainte étroite */
}

.experience .card.pad{
  padding-left: 28px;   /* respiration latérale */
  padding-right: 28px;
}
