nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f2f2f2;
    padding: 10px 20px;
    font-family: Arial, sans-serif;
}

.nav-links a {
    margin-left: 20px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

.nav-links a:hover {
    color: #007BFF;
}

.content {
    padding: 20px;
    font-family: Arial, sans-serif;
}

.buttons {
    margin-bottom: 20px;
}

.btn-type {
    padding: 10px 15px;
    margin-right: 10px;
    border: none;
    background-color: #e0e0e0;
    cursor: pointer;
    font-size: 15px;
    font-weight: bold;
}

.btn-type.active {
    background-color: #007BFF;
    color: white;
}

<style>
  :root{
    --bg: #0b1020;
    --panel: rgba(255,255,255,.06);
    --panel2: rgba(255,255,255,.10);
    --border: rgba(255,255,255,.14);
    --text: rgba(255,255,255,.92);
    --muted: rgba(255,255,255,.70);
    --shadow: 0 18px 50px rgba(0,0,0,.35);
  }

  body{
    margin:0;
    min-height:100vh;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    background:
      radial-gradient(1000px 500px at 15% 10%, rgba(120,95,255,.35), transparent 60%),
      radial-gradient(900px 500px at 85% 20%, rgba(0,200,255,.25), transparent 60%),
      linear-gradient(180deg, #070a15, var(--bg));
    color: var(--text);
  }

  .cards{
    display:grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
    padding: 18px;
    max-width: 1100px;
    margin: 0 auto;
  }

  .card{
    position:relative;
    border: 1px solid var(--border);
    background: linear-gradient(180deg, var(--panel), rgba(255,255,255,.03));
    border-radius: 18px;
    padding: 16px 16px 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,.22);
    overflow:hidden;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    backdrop-filter: blur(10px);
  }

  .card::before{
    content:"";
    position:absolute;
    inset:-2px;
    background: radial-gradient(600px 120px at 20% 0%, rgba(255,255,255,.12), transparent 55%);
    pointer-events:none;
  }

  .card:hover{
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: rgba(255,255,255,.22);
  }

  .row{
    display:flex;
    align-items:center;
    gap: 12px;
  }

  .avatar{
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display:grid;
    place-items:center;
    font-weight: 800;
    letter-spacing: .4px;
    color: rgba(255,255,255,.95);
    background: linear-gradient(135deg, rgba(120,95,255,.85), rgba(0,200,255,.65));
    box-shadow: 0 10px 24px rgba(0,0,0,.25);
    flex: 0 0 auto;
  }

  .name{
    font-size: 1.02rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
  }

  .meta{
    margin-top: 2px;
    font-size: .92rem;
    color: var(--muted);
  }

  .badge{
    margin-left:auto;
    font-size: .78rem;
    font-weight: 800;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(255,255,255,.06);
    color: rgba(255,255,255,.88);
    white-space: nowrap;
  }

  /* Badge couleur selon sexe (si tu passes data-sexe="H/F/..." dans le HTML) */
  .badge[data-sexe="F"]{ background: rgba(255, 99, 180, .16); border-color: rgba(255,99,180,.25); }
  .badge[data-sexe="H"]{ background: rgba(0, 200, 255, .14); border-color: rgba(0,200,255,.25); }
  .badge[data-sexe="M"]{ background: rgba(0, 200, 255, .14); border-color: rgba(0,200,255,.25); } /* si tu as M/F */
  .badge[data-sexe="N/A"]{ opacity:.8; }

  .error{
    max-width:1100px;
    margin: 18px auto;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(255,80,80,.25);
    background: rgba(255,80,80,.10);
    color: rgba(255,255,255,.92);
  }
</style>


:root{
  --bg:#0b1220;
  --card:#0f1b33;
  --text:#e9eefc;
  --muted:#a9b5d6;
  --line:rgba(255,255,255,.10);
  --accent:#6d5efc;
  --accent2:#21d4a6;
}

.pricing{
  background: radial-gradient(1200px 600px at 20% 0%, rgba(109,94,252,.25), transparent 60%),
              radial-gradient(900px 500px at 80% 30%, rgba(33,212,166,.18), transparent 60%),
              var(--bg);
  color: var(--text);
  padding: 56px 18px;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.pricing__header{
  max-width: 980px;
  margin: 0 auto 28px;
  text-align: center;
}

.pricing__header h2{
  margin: 0 0 8px;
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: .2px;
}

.pricing__header p{
  margin: 0;
  color: var(--muted);
}

.pricing__grid{
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.plan{
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  backdrop-filter: blur(8px);
  box-shadow: 0 18px 40px rgba(0,0,0,.25);
  transition: transform .15s ease, border-color .15s ease;
}

.plan:hover{
  transform: translateY(-3px);
  border-color: rgba(255,255,255,.20);
}

.plan__name{
  margin: 0 0 10px;
  font-size: 18px;
  color: var(--text);
}

.plan__price{
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 6px 0 14px;
}

.plan__amount{
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.6px;
}

.plan__currency{
  font-size: 18px;
  color: var(--muted);
  font-weight: 600;
}

.plan__features{
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 10px;
}

.plan__features li{
  color: var(--muted);
  padding-left: 28px;
  position: relative;
  line-height: 1.35;
}

.plan__features li::before{
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(33,212,166,.15);
  color: var(--accent2);
  font-weight: 800;
  font-size: 14px;
}

.plan__cta{
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  text-decoration: none;
  color: white;
  font-weight: 700;
  background: linear-gradient(90deg, var(--accent), #8b7bff);
  border: 1px solid rgba(255,255,255,.12);
  transition: filter .15s ease, transform .15s ease;
}

.plan__cta:hover{
  filter: brightness(1.07);
  transform: translateY(-1px);
}

.plan--featured{
  border-color: rgba(109,94,252,.55);
  background: linear-gradient(180deg, rgba(109,94,252,.18), rgba(255,255,255,.03));
}

.plan__badge{
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(109,94,252,.22);
  border: 1px solid rgba(109,94,252,.35);
  color: #dcd7ff;
}

@media (max-width: 900px){
  .pricing__grid{
    grid-template-columns: 1fr;
  }
  .plan__amount{
    font-size: 38px;
  }
}

.subnav{
  position: sticky;
  top: 0;             /* si ton <nav> est sticky aussi, ajuste top */
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid #e6e6e6;
  padding: 10px 16px;
}

.filters{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: end;
  max-width: 1100px;
  margin: 0 auto;
}

.filter{
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 180px;
}

.filter span{
  font-size: 12px;
  opacity: .8;
}

.filters select,
.filters input{
  padding: 10px 10px;
  border: 1px solid #dcdcdc;
  border-radius: 10px;
  outline: none;
}

.age-range{
  display: flex;
  align-items: center;
  gap: 8px;
}

.age-range input{
  width: 90px;
}

.dash{ opacity: .6; }

.filter-actions{
  display: flex;
  gap: 10px;
  margin-left: auto;
}

.btn-primary,
.btn-secondary{
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #dcdcdc;
  cursor: pointer;
}

.btn-primary{
  background: #111;
  color: white;
  border-color: #111;
}

.btn-secondary{
  background: white;
}


.subbar{
  width: 100%;
  background: #111;
  color: #fff;
  font-size: 14px;
  padding: 8px 16px;
  text-align: center;
}

/* optionnel : ton nav un peu plus propre */
nav{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: #fff;
}

.nav-links a{
  margin-left: 16px;
  text-decoration: none;
  color: #111;
}

.site-footer{
  width: 100%;
  background: #111;
  color: #fff;
  padding: 18px 16px;
  margin-top: 40px;
}

.site-footer__inner{
  max-width: 1100px;
  margin: 0 auto;
  position: relative;       /* permet de centrer Contact indépendamment */
  min-height: 20px;
}

/* Contact centré VRAIMENT au milieu, même si le texte à droite change */
.site-footer__contact{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

.site-footer__contact:hover{
  text-decoration: underline;
}

/* Crédit tout à droite */
.site-footer__credit{
  text-align: right;
  font-style: italic;
  font-size: 14px;
  opacity: 0.9;
}

/* Responsive : on empile proprement */
@media (max-width: 520px){
  .site-footer__inner{
    position: static;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }

  .site-footer__contact{
    position: static;
    transform: none;
  }

  .site-footer__credit{
    text-align: center;
  }
}


/* Barre de recherche centrée + style moderne */
.barre_recherche_elus{
  max-width: 720px;
  margin: 32px auto 16px;     /* centre horizontalement */
  padding: 18px 18px 14px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  text-align: center;
}

.barre_recherche_elus label{
  display: block;
  font-weight: 700;
  margin-bottom: 10px;
}

.barre_recherche_elus input{
  width: min(600px, 100%);
  padding: 14px 16px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.14);
  outline: none;
  font-size: 16px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .06s ease;
  background: #fafafa;
}

.barre_recherche_elus input:focus{
  background: #fff;
  border-color: rgba(0,0,0,.35);
  box-shadow: 0 0 0 6px rgba(0,0,0,.08);
}

.barre_recherche_elus small{
  display: block;
  margin-top: 10px;
  color: rgba(0,0,0,.6);
  font-size: 13px;
}

.search-count{
  margin: 10px 0 0;
  font-size: 14px;
  color: rgba(0,0,0,.75);
  min-height: 18px; /* évite les sauts visuels */
}

/* Résultats : carte propre, centrée */
#resultats{
  list-style: none;
  padding: 0;
  margin: 10px auto 0;
  max-width: 720px;
}

#resultats li{
  padding: 12px 14px;
  margin: 10px 0;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,.04);
}
