:root{
  --bg: #ffffff;
  --ink: #0b0b0f;
  --muted: #6b7280;
  --line: rgba(0,0,0,.10);
  --soft: rgba(0,0,0,.04);
  --shadow: 0 18px 45px rgba(0,0,0,.10);
  --r: 22px;

  --accent: #0071e3;   /* bleu “Apple-like” */
  --accent2:#2563eb;
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.wrap{width:min(1120px, 92vw); margin:0 auto}

/* NAV */
.nav{
  position:sticky; top:0; z-index:50;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__inner{
  display:flex; align-items:center; justify-content:space-between;
  padding: 12px 0;
}
.nav__brand{display:flex; align-items:center; gap:10px}
.nav__dot{
  width:10px; height:10px; border-radius:99px;
  background: var(--ink);
  opacity:.85;
}
.nav__name{font-weight:650; letter-spacing:-.2px}

.nav__links{
  display:flex; gap:22px;
}
.nav__links a{
  color: var(--ink);
  opacity:.78;
  font-size:14px;
}
.nav__links a:hover{opacity:1}

.nav__burger{
  display:none;
  width:44px;height:44px;border-radius:999px;
  border:1px solid var(--line);
  background: rgba(0,0,0,.02);
  cursor:pointer;
}
.nav__burger span{
  display:block;width:18px;height:2px;background:var(--ink);
  margin:0 auto; position:relative; border-radius:99px;
}
.nav__burger span::before,
.nav__burger span::after{
  content:""; position:absolute; left:0; width:18px; height:2px;
  background:var(--ink); border-radius:99px;
}
.nav__burger span::before{top:-6px}
.nav__burger span::after{top:6px}

@media (max-width: 860px){
  .nav__links{display:none}
  .nav__burger{display:block}
}

/* Drawer */
.drawer{
  position:fixed; inset:0;
  background: rgba(0,0,0,.35);
  display:none;
}
.drawer.open{display:block}
.drawer__panel{
  position:absolute; right:0; top:0; height:100%;
  width:min(420px, 92vw);
  background: #fff;
  backdrop-filter: none;
  border-left:1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 16px;
  animation: slideIn .2s ease forwards;
}
@keyframes slideIn{from{transform: translateX(14px); opacity:.7} to{transform:translateX(0); opacity:1}}
.drawer__head{
  display:flex; align-items:center; justify-content:space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.drawer__links{display:flex; flex-direction:column; gap:10px; padding-top:12px}
.drawer__links a{
  padding: 14px 14px;
  border-radius: 16px;
  background: #fff;
  border:1px solid rgba(0,0,0,.06);
}
.drawer__sep{height:1px; background: var(--line); margin:6px 0}

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,.02);
  color: var(--ink);
  font-size: 14px;
  cursor:pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover{transform: translateY(-1px); background: rgba(0,0,0,.03)}
.btn--primary{
  border-color: transparent;
  background: linear-gradient(180deg, var(--accent), var(--accent2));
  color: #fff;
  font-weight: 650;
  
}
.btn--primary:hover{filter: brightness(1.02)}
.btn--ghost{background: transparent}

/* HERO */
.hero{
  padding: 70px 0 35px;
}
.hero__grid{
  display:grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 22px;
  align-items:stretch;
}
@media (max-width: 980px){
  .hero__grid{grid-template-columns:1fr}
}
.kicker{
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.hero__title{
  font-size: clamp(38px, 5vw, 60px);
  letter-spacing: -1.2px;
  line-height: 1.02;
}
.hero__sub{
  margin-top: 16px;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 64ch;
}
.hero__cta{display:flex; gap:10px; flex-wrap:wrap; margin-top: 22px}
.hero__meta{display:flex; gap:10px; flex-wrap:wrap; margin-top: 18px}

.chip{
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(0,0,0,.02);
  color: var(--muted);
  font-size: 12px;
}

.hero__card{
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.01));
  box-shadow: var(--shadow);
  padding: 18px;
}
.id{display:flex; align-items:center; gap:12px; padding-bottom: 14px; border-bottom: 1px solid var(--line)}
.id__avatar{
  width:52px; height:52px; border-radius: 18px;
  display:grid; place-items:center;
  background: rgba(0,0,0,.06);
  border:1px solid rgba(0,0,0,.08);
  font-weight: 750;
}
.id__txt{display:flex; flex-direction:column; gap:3px}
.id__txt strong{font-weight: 750; letter-spacing:-.2px}
.id__txt span{color: var(--muted); font-size: 13px}

.id__stats{
  margin-top: 14px;
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px;
}
.stat{
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(0,0,0,.02);
  border-radius: 16px;
  padding: 12px;
}
.stat b{font-size: 15px}
.stat p{margin-top:4px; color: var(--muted); font-size: 12px; line-height:1.45}

.id__actions{
  margin-top: 14px;
  display:flex; flex-direction:column; gap:10px;
}
.link{
  color: var(--accent);
  font-weight: 650;
}
.link:hover{text-decoration: underline}

/* SECTIONS */
.section{padding: 42px 0}
.section--alt{background: #fafafa; border-top:1px solid var(--line); border-bottom:1px solid var(--line)}
.section__head h2{
  font-size: 26px;
  letter-spacing: -.6px;
}
.section__head p{
  margin-top: 8px;
  color: var(--muted);
  line-height:1.6;
}

.grid{
  margin-top: 18px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
}
@media (max-width: 980px){ .grid{grid-template-columns: repeat(2, minmax(0,1fr));} }
@media (max-width: 640px){ .grid{grid-template-columns: 1fr;} }

.card{
  border-radius: var(--r);
  border:1px solid var(--line);
  background: white;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  padding: 18px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 44px rgba(0,0,0,.12);
}
.card--dark{
  
  background: #2A7B9B;
background: linear-gradient(344deg, rgba(42, 123, 155, 1) 0%, rgba(66, 176, 207, 1) 13%, rgba(83, 237, 168, 1) 100%);
  color: #fff;
  
}
.card--dark p{color: rgba(255,255,255,.72)}
.card__top{display:flex; gap:8px; flex-wrap:wrap; margin-bottom: 10px}
.badge{
  font-size: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.05);
  border:1px solid rgba(0,0,0,.08);
  color: rgba(0,0,0,.74);
}
.card--dark .badge{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.12);
  color: rgba(255,255,255,.78);
}
.badge--muted{opacity:.85}

.card h3{font-size: 18px; letter-spacing:-.4px}
.card p{margin-top: 8px; color: var(--muted); line-height:1.6}
.card__actions{display:flex; gap:10px; flex-wrap:wrap; margin-top: 16px}

/* Two columns panels */
.two{
  margin-top: 18px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 860px){ .two{grid-template-columns:1fr} }

.panel{
  border-radius: var(--r);
  border:1px solid var(--line);
  background: white;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}
.panel h3{font-size: 18px; letter-spacing:-.4px}
.list{margin-top: 10px; padding-left: 18px; color: var(--muted); line-height:1.8}
.tags{margin-top: 12px; display:flex; gap:10px; flex-wrap:wrap}
.muted{color: var(--muted)}

/* Contact */
.contact{
  margin-top: 18px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
}
@media (max-width: 900px){ .contact{grid-template-columns:1fr} }
.contact__item{
  border-radius: var(--r);
  border:1px solid var(--line);
  background: white;
  padding: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  display:flex; flex-direction:column; gap:4px;
}
.contact__item span{color: var(--muted); font-size: 12px}
.contact__item b{font-size: 15px; letter-spacing:-.2px}
.contact__item:hover{border-color: rgba(0,0,0,.18)}

.footer{
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
.id__avatar{
  width:52px;
  height:52px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.08);
  background: #f4f4f4;
  display: flex;
  align-items: center;
  justify-content: center;
}

.id__avatar img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.id__avatar:hover img{
  transform: scale(1.05);
  transition: transform .25s ease;
}

@media (max-width: 860px){
  .drawer{
    background: #fff !important;
  }

  .drawer__panel{
    width: 100% !important;
    max-width: 100% !important;
    background: #fff !important;
    border-left: none !important;
    box-shadow: none !important;
  }
}
