/* 0) Conteneur un peu plus large pour respirer */
.column-wide { max-width: 620px !important; }

/* Palette + dégradés homogènes */
:root{
  --btn-start: #00a8ff;   /* bleu lagon */
  --btn-end:   #00d2ff;   /* bleu azur */
  --btn-shadow: rgba(0,168,255,.28);
  --btn-shadow-h: rgba(0,168,255,.35);

  --btn-purple-start:#4f46e5; /* Luma */
  --btn-purple-end:#7c3aed;
  --btn-purple-shadow: rgba(124,58,237,.28);
  --btn-purple-shadow-h: rgba(124,58,237,.36);

  /* Confettis */
  --confetti-size: 96px;   /* espacement du motif (plus petit = plus dense) */
  --confetti-speed: 12s;   /* vitesse de chute (plus petit = plus rapide) */
  --confetti-opacity: .42; /* intensité globale */
}

/* 1) Anti‑césure agressive + équilibrage des titres/badges */
.keep-words { word-break: keep-all !important; overflow-wrap: normal !important; hyphens: none !important; }
.nowrap { white-space: nowrap !important; }
.balance { text-wrap: balance; }

/* 2) Logo XL + halo */
.avatar--xl { width: 136px; height: 136px; }
.avatar-ring {
  display: inline-grid; place-items: center;
  padding: 8px; border-radius: 999px;
  background: radial-gradient(60% 60% at 50% 50%, rgba(124,210,255,.35), rgba(124,210,255,0) 70%);
  filter: drop-shadow(0 0 18px rgba(88,166,255,.25));
}

/* 3) Titre gradient */
.title-gradient {
  background: linear-gradient(90deg, #7cd2ff, #ff8ad6 55%, #ffd45e);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 0 14px rgba(124, 210, 255, .12);
  margin: .2rem 0 .35rem;
}

/* 4) Badge “prochaine date” */
.next-badge {
  display: inline-flex; flex-wrap: wrap; gap: .25rem .4rem;
  margin: .25rem 0 1rem; padding: .55rem .9rem;
  border-radius: 16px / 20px;
  font-weight: 700; letter-spacing: .2px; line-height: 1.5;
  background: rgba(22, 35, 45, .72);
  border: 1px solid rgba(124,210,255,.35);
  color: #e8f2ff;
}

/* 5) Bio en liste, propre et lisible */
.bio-list {
  list-style: none; padding: 0; margin: 0.75rem auto 1.1rem;
  max-width: 56ch; text-align: left !important;
}
.bio-list li {
  display: grid; grid-template-columns: 1.8em 1fr;
  gap: .55rem .65rem; align-items: start; margin: .35rem 0; line-height: 1.6;
}
.bio-list .i { font-size: 1.1em; filter: drop-shadow(0 0 6px rgba(124,210,255,.25)); }
.bio-list strong { font-weight: 800; }
.bio-list em { opacity: .9; }

/* 5b) Retrait suspendu pour la 2e ligne désirée */
.hang {
  display: block;                /* force le passage à la ligne */
  padding-left: 1.2em;           /* largeur du retrait */
  text-indent: -1.2em;           /* tiret “—” pend dans la marge */
}

/* 6) Séparateur confettis */
.confetti-sep {
  height: 10px; margin: 14px 0 18px; opacity: .95;
  background-image:
    radial-gradient(circle at 8px 5px, #ffd45e 0 2px, transparent 3px),
    radial-gradient(circle at 28px 6px, #ff8ad6 0 2px, transparent 3px),
    radial-gradient(circle at 48px 4px, #7cd2ff 0 2px, transparent 3px);
  background-size: 56px 10px; background-repeat: repeat-x;
}

/* 7) Boutons: style homogène */
.button { border-radius: 14px; font-weight: 800; letter-spacing:.2px; }
.button .icon { display: none; }                 /* on mise sur les emojis */
.btn-emoji { margin-right: .55rem; font-size: 1.15em; }

/* Base “bleu lagon” (tous les boutons par défaut) */
.button,
.button-cta,
.button-default,
.button-telegram,
.button-facebook,
.button-twitter,
.button-github,
.button-maps {
  color:#fff !important;
  border: none !important;
  background-image: linear-gradient(90deg, var(--btn-start), var(--btn-end)) !important;
  box-shadow: 0 10px 24px var(--btn-shadow);
}
.button:hover,
.button-cta:hover,
.button-default:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px var(--btn-shadow-h);
}

/* Variante Luma (violet) — garde la même finition */
.button-luma{
  color:#fff !important;
  border:none !important;
  background-image: linear-gradient(90deg, var(--btn-purple-start), var(--btn-purple-end)) !important;
  box-shadow: 0 10px 24px var(--btn-purple-shadow);
}
.button-luma:hover{ transform: translateY(-2px); box-shadow: 0 12px 30px var(--btn-purple-shadow-h); }

/* 8) Adresse lisible */
.address { margin-top: 1rem; font-size: .98rem; line-height: 1.6; opacity: .95; }

/* 9) Fond ANIMÉ doux (aurora) + respect “réduire animations” */
.bg-animated {
  background: #0e0f12;
  --c1: rgba(0, 122, 255, .12);
  --c2: rgba(255, 0, 170, .10);
  --c3: rgba(255, 210, 0, .09);
  background-image:
    radial-gradient(40% 30% at 20% 0%, var(--c1), transparent 60%),
    radial-gradient(35% 35% at 100% 10%, var(--c2), transparent 65%),
    radial-gradient(45% 35% at 50% 120%, var(--c3), transparent 65%);
  background-attachment: fixed, fixed, fixed;
  animation: floaty 20s ease-in-out infinite alternate;
}
@keyframes floaty {
  0% { background-position: 0% 0%, 100% 10%, 50% 120%; }
  100% { background-position: 10% -5%, 90% 0%, 55% 115%; }
}

/* 10) Confettis ANIMÉS optimisés (une seule couche GPU) */
.bg-confetti-medium{
  --pat: url("data:image/svg+xml;utf8,\
  <svg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'>\
    <circle cx='8' cy='8' r='2' fill='%237cd2ff'/>\
    <circle cx='46' cy='30' r='2' fill='%23ff8ad6'/>\
    <circle cx='22' cy='68' r='2' fill='%23ffd45e'/>\
    <circle cx='78' cy='18' r='2' fill='%237ff7d0'/>\
  </svg>");
}
.bg-confetti-medium::after{
  content:""; position: fixed; left:0; top:-20%; width:100%; height:140%;
  z-index:-1; pointer-events:none; opacity: var(--confetti-opacity);
  background-image: var(--pat);
  background-size: var(--confetti-size) var(--confetti-size);
  transform: translateY(0);
  animation: confetti-slide var(--confetti-speed) linear infinite;
  will-change: transform; /* animé par le GPU */
}
@keyframes confetti-slide{
  from { transform: translateY(-10%); }
  to   { transform: translateY(10%); }
}

/* Accessibilité */
@media (prefers-reduced-motion: reduce){
  .bg-animated{ animation:none !important; }
  .bg-confetti-medium::after{ animation: none !important; }
}

/* Accessibilité: cacher visuellement, garder pour lecteurs d'écran */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* Carte douce autour de la liste */
.info-card {
  --card-bg: rgba(255,255,255,0.06);
  --card-border: rgba(255,255,255,0.12);
  --shadow: 0 6px 30px rgba(0,0,0,0.25);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: clamp(14px, 2.5vw, 22px);
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}

/* Liste améliorée */
.bio-list.enhanced {
  display: grid;
  gap: 14px;
  margin: 0; padding: 0;
  list-style: none;
}

/* Ligne */
.bio-list.enhanced .item {
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: start;
  gap: 12px;
}

/* Puce circulaire avec halo léger */
.bio-list.enhanced .bullet {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: radial-gradient(120% 120% at 30% 20%, rgba(255,255,255,0.22), rgba(255,255,255,0.06));
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25), inset 0 0 10px rgba(255,255,255,0.05);
  font-size: 20px; line-height: 1;
}

/* Contenu texte */
.bio-list.enhanced .content .title {
  font-weight: 600;
  letter-spacing: 0.1px;
}

.bio-list.enhanced .content .hang {
  color: rgba(255,255,255,0.75);
  margin-top: 2px;
  border-left: 2px solid rgba(255,255,255,0.18);
  padding-left: 10px;
  font-style: italic;
}

/* Mode clair éventuel */
:root.light .info-card,
@media (prefers-color-scheme: light) {
  .info-card {
    --card-bg: rgba(0,0,0,0.04);
    --card-border: rgba(0,0,0,0.10);
    --shadow: 0 6px 24px rgba(0,0,0,0.12);
  }
  .bio-list.enhanced .content .hang {
    color: rgba(0,0,0,0.65);
    border-left-color: rgba(0,0,0,0.15);
  }
}

/* Petits écrans: compacter un peu */
@media (max-width: 420px) {
  .bio-list.enhanced .item {
    grid-template-columns: 36px 1fr;
    gap: 10px;
  }
  .bio-list.enhanced .bullet {
    width: 36px; height: 36px; font-size: 18px;
  }
}

