/* =========================================================
   Popup d'annonce — Nouveau serveur Discord
   Fichier séparé du build (comme js/main.js) pour ne pas
   toucher aux CSS générés par le bundler.
   ========================================================= */

.announce {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s var(--ease), visibility 0s linear .35s;
}

.announce.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity .35s var(--ease), visibility 0s linear 0s;
}

.announce__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, .72);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
}

.announce__card {
  position: relative;
  width: 100%;
  max-width: 400px;
  background: var(--beige);
  color: var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 2.75rem 2.25rem 2.25rem;
  text-align: center;
  transform: translateY(14px) scale(.97);
  transition: transform .4s var(--ease);
}

.announce.is-open .announce__card {
  transform: translateY(0) scale(1);
}

.announce__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: none;
  background: transparent;
  color: rgba(245, 241, 232, .45);
  border-radius: 50%;
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease);
}

.announce__close:hover {
  background: rgba(245, 241, 232, .08);
  color: var(--ink);
}

.announce__close svg {
  width: 18px;
  height: 18px;
}

.announce__avatar-wrap {
  position: relative;
  width: 84px;
  height: 84px;
  margin: 0 auto 1.4rem;
}

.announce__avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
  display: block;
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .45);
}

.announce__status {
  position: absolute;
  right: -3px;
  bottom: -3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgb(var(--accent4-rgb));
  border: 3px solid var(--beige);
}

.announce__eyebrow {
  margin: 0 0 .6rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: rgba(245, 241, 232, .42);
}

.announce__title {
  margin: 0 0 .85rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1.18;
  font-weight: 800;
  color: var(--ink);
}

.announce__lead {
  margin: 0 0 1.6rem;
  font-size: .95rem;
  line-height: 1.55;
  color: rgba(245, 241, 232, .62);
}

.announce__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: .9rem 1.2rem;
  background: linear-gradient(135deg, #8b5cf6, #3b82f6);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius);
  box-sizing: border-box;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}

.announce__cta:hover {
  background: linear-gradient(135deg, #7c3aed, #2563eb);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -12px rgba(88, 101, 242, .55);
}

.announce__dismiss {
  display: inline-block;
  margin: .95rem auto 0;
  padding: .3rem;
  background: none;
  border: none;
  color: rgba(245, 241, 232, .68);
  font-family: var(--font-body);
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
}

.announce__dismiss:hover {
  color: var(--ink);
  text-decoration: underline;
}

@media (max-width: 480px) {
  .announce__card {
    padding: 2.25rem 1.5rem 1.85rem;
  }

  .announce__title {
    font-size: 1.35rem;
  }
}

/* =========================================================
   Sous-catégorie "Projet Fermé" — projets archivés
   Fichier séparé du build (comme la popup ci-dessus), pour ne
   pas toucher aux CSS générés par le bundler.
   ========================================================= */

.projects-subcategory {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--line-soft);
}

.projects-subcategory__title {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 1.1rem;
}

.projects-subcategory__title::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(148, 163, 184, .7);
  flex-shrink: 0;
}


/* =========================================================
   DARUMA SITE — PALETTE PREMIUM ALIGNÉE AVEC LE PANEL
   ========================================================= */
:root {
  --beige: #050816;
  --beige-soft: #0b1020;
  --white: rgba(255,255,255,.035);
  --ink: #f8fafc;
  --ink-soft: #b9c3d8;
  --ink-faint: #7f8baa;
  --line: rgba(148,163,184,.16);
  --line-soft: rgba(148,163,184,.09);
  --accent-rgb: 139,92,246;
  --accent2-rgb: 59,130,246;
  --accent3-rgb: 34,211,238;
  --accent4-rgb: 16,185,129;
  --shadow: 0 16px 44px -20px rgba(0,0,0,.78), 0 0 44px -22px rgba(139,92,246,.28);
  --shadow-sm: 0 10px 28px -16px rgba(0,0,0,.72), 0 0 28px -18px rgba(139,92,246,.24);
}

.site-bg {
  background:
    radial-gradient(circle at 18% 15%, rgba(139,92,246,.16), transparent 28%),
    radial-gradient(circle at 82% 22%, rgba(59,130,246,.13), transparent 26%),
    radial-gradient(circle at 65% 78%, rgba(34,211,238,.08), transparent 24%),
    linear-gradient(180deg, rgba(3,6,18,.72), rgba(4,7,20,.86) 48%, rgba(3,5,15,.96)),
    url(/assets/bg-hero.jpg) center/cover no-repeat;
}

.header__inner {
  background: rgba(7,10,24,.68);
  border-color: rgba(139,92,246,.18);
  box-shadow: 0 16px 42px -18px rgba(0,0,0,.76), 0 0 28px -20px rgba(139,92,246,.34);
}
.header.is-stuck .header__inner {
  background: rgba(7,10,24,.82);
  box-shadow: 0 18px 46px -16px rgba(0,0,0,.78), 0 0 0 1px rgba(139,92,246,.14);
}

.hero__inner,
.cta__panel {
  background: linear-gradient(180deg, rgba(10,14,32,.66), rgba(6,10,26,.48));
  border-color: rgba(139,92,246,.18);
}

.section--alt { background: rgba(5,8,22,.35); }
.card {
  background: linear-gradient(180deg, rgba(12,17,38,.74), rgba(7,11,28,.62));
  border-color: rgba(148,163,184,.13);
}
.card:hover {
  border-color: rgba(139,92,246,.46);
  box-shadow: 0 0 0 1px rgba(139,92,246,.10), 0 26px 64px -26px rgba(0,0,0,.8), 0 0 44px -14px rgba(139,92,246,.34);
}

.profile__tags li,
.pill,
.notice,
.stat-pill {
  background: rgba(255,255,255,.035);
  border-color: rgba(148,163,184,.15);
}

.btn {
  background: linear-gradient(135deg, #8b5cf6, #3b82f6);
  color: #fff;
  box-shadow: 0 10px 26px -14px rgba(59,130,246,.65);
}
.btn:hover {
  box-shadow: 0 0 0 2px rgba(139,92,246,.42), 0 0 28px -8px rgba(139,92,246,.56), 0 0 42px -10px rgba(59,130,246,.34);
}

.card__link,
.footer__col a:hover,
.mobile-menu__foot a:hover { color: rgb(var(--accent3-rgb)); }

.hero__title span {
  background: linear-gradient(100deg, #a78bfa 0%, #8b5cf6 36%, #3b82f6 72%, #22d3ee 100%);
}

.contact-card,
.footer {
  background: rgba(5,9,24,.62);
}
.contact-card:hover { background: rgba(139,92,246,.08); }

.mobile-menu {
  background: rgba(4,7,19,.95);
}

.announce__card {
  background: linear-gradient(180deg, #0d1228, #080c1d);
  border: 1px solid rgba(139,92,246,.2);
}
.announce__status { border-color: #0d1228; }
.announce__cta {
  background: linear-gradient(135deg, #8b5cf6, #3b82f6);
}
.announce__cta:hover {
  background: linear-gradient(135deg, #7c3aed, #2563eb);
}
