/* ===============================
   VARIABLES GLOBALES
================================== */

:root{
  --bg:#fbfbfc;
  --card:#ffffff;
  --text:#111827;
  --muted:#6b7280;
  --line:#e5e7eb;

  --accent:#2563eb;
  --accent2:#16a34a;

  --radius:16px;
  --shadow: 0 10px 30px rgba(17,24,39,0.08);
  --max: 980px;
}

/* ===============================
   BASE
================================== */

*{
  box-sizing:border-box;
}

body {
  margin: 0;
  background:
    linear-gradient(
      135deg,
      rgba(37,99,235,.06),
      #fbfbfc 35%,
      #fbfbfc 65%,
      rgba(22,163,74,.06)
    );

  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
}

a{
  color:inherit;
  text-decoration:none;
}

.wrap{
  max-width:var(--max);
  margin:0 auto;
  padding:22px 16px 42px;
}

/* ===============================
   HEADER / BRAND
================================== */

header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:10px 0 18px;
  flex-wrap:wrap;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
}

.logo{
  width:42px;
  height:42px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background: linear-gradient(135deg, rgba(37,99,235,0.95), rgba(22,163,74,0.85));
  color:white;
  font-size:20px;
  box-shadow: 0 10px 22px rgba(17,24,39,0.10);
}

.brand strong{
  display:block;
  font-size:0.98rem;
  letter-spacing:0.2px;
}

.brand span{
  display:block;
  font-size:0.86rem;
  color:var(--muted);
}

/* ===============================
   MENU
================================== */

.main-nav{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.navlink{
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(229,231,235,0.95);
  background: rgba(255,255,255,0.78);
  box-shadow: 0 8px 18px rgba(17,24,39,0.06);
  font-weight:750;
  color:var(--text);
  transition: transform 0.12s ease,
              border-color 0.12s ease,
              background 0.12s ease,
              box-shadow 0.12s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.navlink:hover{
  transform: translateY(-1px);
  border-color: rgba(37,99,235,0.22);
  box-shadow: 0 12px 24px rgba(17,24,39,0.08);
}

/* ===============================
   HERO / CARD PRINCIPALE
================================== */

.hero{
  background: rgba(255,255,255,0.88);
  border:1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
  padding:28px 20px;
}

h1{
  margin:0;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  letter-spacing:-0.02em;
}

.lead{
  margin:10px 0 0;
  color:var(--muted);
  line-height:1.55;
  max-width:70ch;
  font-size:1.02rem;
}

/* ===============================
   GRILLE / CARTES
================================== */

.grid{
  margin-top:18px;
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap:14px;
}

.card{
  background: rgba(255,255,255,0.92);
  border:1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 26px rgba(17,24,39,0.06);
  padding:16px;
}

/* ===============================
   PROFILS (équipe)
================================== */

.top{
  display:flex;
  gap:12px;
  align-items:center;
}

.avatar{
  width:60px;
  height:60px;
  border-radius:18px;
  object-fit:cover;
  border:1px solid var(--line);
  background:#fff;
}

.name{
  margin:0;
  font-size:1.05rem;
  font-weight:800;
  letter-spacing:-0.01em;
}

.role{
  margin:3px 0 0;
  color:var(--muted);
  font-size:0.95rem;
  line-height:1.3;
}

.bio{
  margin:12px 0 0;
  line-height:1.55;
  font-size:0.98rem;
}

/* ===============================
   BADGES / CHIPS
================================== */

.chips{
  margin-top:12px;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  font-size:0.92rem;
}

.chip{
  border:1px solid var(--line);
  background: rgba(255,255,255,0.75);
  padding:7px 10px;
  border-radius:999px;
  color:var(--muted);
}

.chip.blue{
  border-color: rgba(37,99,235,0.25);
  background: rgba(37,99,235,0.10);
  color:#1d4ed8;
  font-weight:650;
}

.chip.green{
  border-color: rgba(22,163,74,0.25);
  background: rgba(22,163,74,0.10);
  color:#15803d;
  font-weight:650;
}

/* ===============================
   BOUTONS GÉNÉRIQUES
================================== */

.btn{
  display:inline-block;
  padding:10px 14px;
  border-radius:999px;
  font-weight:700;
  border:1px solid var(--line);
  background:white;
  box-shadow: 0 8px 18px rgba(17,24,39,0.06);
  transition:0.15s ease;
}

.btn:hover{
  transform:translateY(-1px);
}

.btn.primary{
  background: rgba(37,99,235,0.12);
  border-color: rgba(37,99,235,0.25);
  color:#1d4ed8;
}

.btn.success{
  background: rgba(22,163,74,0.12);
  border-color: rgba(22,163,74,0.25);
  color:#15803d;
}

/* ===============================
   FOOTER
================================== */

footer{
  margin-top:26px;
  border-top:1px solid var(--line);
  padding-top:14px;
  color:var(--muted);
  font-size:0.92rem;
  display:flex;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
}
