:root {
  --bg: #0a0a0b;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f2f2f2;
  --muted: #9a9aa3;
  --accent: #d202f8;
  --accent-soft: rgba(210, 2, 248, 0.18);
  --discord: #5865f2;
  --dock-space: 110px;  /* place réservée en bas pour la barre de navigation */
  --gutter: clamp(16px, 4vw, 48px);
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* ---------- Grille en fond ---------- */
#grid {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
  mask-image: radial-gradient(ellipse 85% 80% at 50% 50%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 85% 80% at 50% 50%, #000 40%, transparent 100%);
}

/* ---------- Lignes de code qui tombent en fond (code-rain.js) ---------- */
/* Sous la grille, et plus discret au centre, derrière le contenu */
#code-rain {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
  pointer-events: none;
  mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.3) 32%, rgba(0, 0, 0, 0.3) 68%, #000 100%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.3) 32%, rgba(0, 0, 0, 0.3) 68%, #000 100%);
}

/* ---------- Barre de navigation flottante en bas (liquid glass) ---------- */
.dock {
  position: fixed;
  left: 50%;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 50;
  display: flex;
  gap: 2px;
  padding: 6px;
  border-radius: 26px;
  transform: translateX(-50%);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03)),
    rgba(16, 16, 20, 0.42);
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1),
    inset 0 0 20px rgba(255, 255, 255, 0.05),
    0 12px 32px rgba(0, 0, 0, 0.5),
    0 2px 6px rgba(0, 0, 0, 0.3);
  animation: dock-in 0.8s var(--ease-out) both 0.2s;
}

/* Liseré lumineux sur le bord du verre */
.dock::after {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.05) 40%, rgba(255, 255, 255, 0.03) 60%, rgba(255, 255, 255, 0.35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
}

@keyframes dock-in {
  from { opacity: 0; transform: translate(-50%, 24px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

/* Bulle de verre qui glisse sous l'onglet survolé ou sélectionné */
.dock__lens {
  position: absolute;
  top: 6px;
  left: 0;
  width: 0;
  height: calc(100% - 12px);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.13);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.5s cubic-bezier(0.34, 1.3, 0.64, 1),
    width 0.5s cubic-bezier(0.34, 1.3, 0.64, 1),
    opacity 0.25s ease;
}

.dock__item {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 78px;
  padding: 8px 14px 7px;
  border-radius: 20px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  transition: color 0.2s ease, transform 0.3s var(--ease-bounce);
}

.dock__item svg {
  width: 20px;
  height: 20px;
  transition: color 0.2s ease;
}

.dock__item:hover,
.dock__item.is-current { color: #fff; }

.dock__item.is-current svg { color: var(--accent); }

.dock__item:active { transform: scale(0.94); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 22px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  transition: box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  box-shadow: 0 0 0 4px var(--accent-soft), 0 0 28px rgba(210, 2, 248, 0.45);
  transform: translateY(-1px);
}

.btn svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.btn:hover svg { transform: translateX(3px); }

/* Bouton en verre liquide façon Apple. La couleur se règle avec --tint (valeurs R, G, B)
   et le halo avec --halo. */
.btn--glass {
  --tint: 121, 131, 255;
  --halo: rgba(var(--tint), 0.8);
  position: relative;
  isolation: isolate;
  border-color: transparent;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.03) 50%, rgba(255, 255, 255, 0) 100%),
    rgba(var(--tint), 0.85);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  box-shadow:
    inset 0 1.5px 1px rgba(255, 255, 255, 0.6),
    inset 0 -1px 1px rgba(255, 255, 255, 0.15),
    inset 0 0 18px rgba(255, 255, 255, 0.12),
    0 10px 30px -10px var(--halo);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  transition: box-shadow 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

/* Reflet de lumière sur le haut du verre */
.btn--glass::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 2px;
  left: 8%;
  right: 8%;
  height: 50%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0) 90%);
  pointer-events: none;
}

/* Liseré lumineux sur le bord */
.btn--glass::after {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.1) 40%, rgba(255, 255, 255, 0.05) 60%, rgba(255, 255, 255, 0.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
}

.btn--glass:hover {
  transform: translateY(-2px) scale(1.03);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.26) 0%, rgba(255, 255, 255, 0.06) 50%, rgba(255, 255, 255, 0) 100%),
    rgba(var(--tint), 0.95);
  box-shadow:
    inset 0 1.5px 1px rgba(255, 255, 255, 0.7),
    inset 0 -1px 1px rgba(255, 255, 255, 0.2),
    inset 0 0 22px rgba(255, 255, 255, 0.16),
    0 14px 36px -8px var(--halo);
}

/* Discord : bleu Discord éclairci */
.btn--discord { --tint: 128, 140, 255; }
.btn--discord svg { width: 20px; height: 20px; }
.btn--discord:hover svg { transform: none; }

.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.18);
}

.btn--ghost:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: none;
}

.btn--ghost:hover svg { transform: translateX(-3px); }

.btn:focus-visible,
.dock__item:focus-visible,
.faq__q:focus-visible,
.creation:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

/* ---------- Contenu de page ---------- */
.stage {
  position: relative;
  z-index: 1;
}

/* ---------- Bulle "liquid glass" ---------- */
.glass {
  --tint: color-mix(in srgb, var(--glow, #fff) 40%, transparent);
  position: relative;
  border-radius: 50%;
  background:
    radial-gradient(120% 120% at 28% 18%, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.05) 40%, rgba(255, 255, 255, 0.02) 70%),
    radial-gradient(80% 80% at 75% 88%, var(--tint), transparent 70%);
  backdrop-filter: blur(14px) saturate(170%);
  -webkit-backdrop-filter: blur(14px) saturate(170%);
  box-shadow:
    inset 0 1.5px 1px rgba(255, 255, 255, 0.45),
    inset 0 -1px 1px rgba(255, 255, 255, 0.1),
    inset 0 0 24px rgba(255, 255, 255, 0.06),
    0 24px 48px -20px rgba(0, 0, 0, 0.85);
}

/* Reflet de lumière sur le verre */
.glass::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 7%;
  left: 16%;
  width: 46%;
  height: 28%;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
  transform: rotate(-24deg);
  pointer-events: none;
}

/* Liseré lumineux sur le bord */
.glass::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 1.5px;
  border-radius: inherit;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.06) 35%, rgba(255, 255, 255, 0.02) 60%, rgba(255, 255, 255, 0.3));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
}

.glass svg {
  position: relative;
  z-index: 1;
  width: 46%;
  height: auto;
  overflow: visible;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(24px) scale(0.92); }
  to { opacity: 1; transform: none; }
}

/* ---------- Accueil : tout est centré, de haut en bas ---------- */
/* Photo, rôle, titre, réseaux, puis les vignettes. Les tailles suivent la hauteur de l'écran
   pour que l'ensemble tienne au-dessus de la barre de navigation. */
.hero {
  --photo: clamp(100px, 14vh, 160px);        /* taille du portrait */
  --badge: 40px;                             /* pastilles des réseaux */
  --tile-h: clamp(110px, 19vh, 200px);       /* hauteur d'une vignette */
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(24px, 5vh, 56px) var(--gutter) var(--dock-space);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__portrait {
  position: relative;
  width: var(--photo);
  aspect-ratio: 1;
  animation: rise 0.9s var(--ease-out) both 0.1s;
}

/* Halo lavande derrière le portrait */
.hero__portrait::before {
  content: "";
  position: absolute;
  inset: -22%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(150, 110, 255, 0.42), rgba(210, 2, 248, 0.12) 45%, transparent 68%);
  filter: blur(10px);
}

.hero__photo {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 50%;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.14),
    0 0 0 6px rgba(210, 2, 248, 0.12),
    0 24px 60px -20px rgba(120, 80, 255, 0.6);
}

/* Léger zoom pour masquer le liseré blanc du fichier d'origine */
.hero__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
}

/* Petite étiquette avec le logo, sous la photo */
.hero__role {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 0;
  padding: 6px 14px 6px 10px;
  border: 1px solid rgba(210, 2, 248, 0.35);
  border-radius: 999px;
  background: rgba(210, 2, 248, 0.08);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  animation: rise 0.9s var(--ease-out) both 0.2s;
}

.hero__role img {
  width: auto;
  height: 18px;
  filter: drop-shadow(0 0 8px rgba(210, 2, 248, 0.6));
}

.hero__title {
  max-width: 700px;
  margin: 14px 0 0;
  animation: title-in 1s var(--ease-out) both 0.25s;
}

.hero__name {
  display: block;
  font-size: clamp(30px, 2.9vw, 52px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
  background: linear-gradient(180deg, #fff 35%, #c9a7ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 40px rgba(210, 2, 248, 0.35));
}

@keyframes title-in {
  from { opacity: 0; transform: translateY(24px); filter: blur(8px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}

/* Bouton Discord (l'action principale) suivi des pastilles des autres réseaux */
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 18px;
  margin-top: 22px;
  animation: rise 0.9s var(--ease-out) both 0.35s;
}

/* Pastilles aux couleurs officielles des réseaux, symbole blanc */
.hero__socials {
  display: flex;
  gap: 10px;
}

.hero__social { border-radius: 50%; }

.hero__badge {
  display: grid;
  place-items: center;
  width: var(--badge);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.8), 0 0 18px -4px var(--glow);
  transition: transform 0.4s var(--ease-bounce), box-shadow 0.3s ease;
  animation: badge-in 0.5s var(--ease-bounce) both var(--d);
}

.hero__badge svg { width: 46%; height: 46%; overflow: visible; }

.hero__badge--yt { --brand: #ff0000; --glow: rgba(255, 0, 0, 0.7); }
.hero__badge--dc { --brand: #5865f2; --glow: rgba(88, 101, 242, 0.8); }
.hero__badge--tt { --brand: #000; --glow: rgba(37, 244, 238, 0.5); border: 1px solid rgba(255, 255, 255, 0.3); }
.hero__badge--ig { --brand: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); --glow: rgba(214, 36, 159, 0.75); }

.hero__social:hover .hero__badge,
.hero__social:focus-visible .hero__badge {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 14px 28px -8px rgba(0, 0, 0, 0.8), 0 0 26px -2px var(--glow);
}

.hero__social:focus-visible { outline: none; }
.hero__social:focus-visible .hero__badge { outline: 2px solid var(--accent); outline-offset: 3px; }

@keyframes badge-in {
  from { opacity: 0; scale: 0.4; }
  to { opacity: 1; scale: 1; }
}

/* Les créations à tester : une ligne de 2 cartes, centrée sous les réseaux */
.hero__grid {
  width: min(100%, calc(var(--tile-h) * 32 / 9 + 20px));
  margin-top: clamp(26px, 4vh, 44px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  text-align: left;
}

/* Une création : la vignette, puis son nom et une ligne de description */
.creation {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-radius: 18px;
  /* "backwards" : une fois jouée, l'animation libère transform pour le survol */
  animation: rise 0.8s var(--ease-out) backwards;
  animation-delay: calc(var(--i) * 70ms + 400ms);
}

/* Vignette (format vidéo 16:9) */
.tile {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 16px;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(210, 2, 248, 0.1), transparent 60%),
    rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Pastille "Jouer" en bas à droite de la vignette */
.tile__play {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 6px 18px -4px rgba(210, 2, 248, 0.7);
  transition: transform 0.35s var(--ease-bounce);
}

.tile__play svg { width: 14px; height: 14px; }

.creation__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 4px;
}

.creation__name {
  font-size: 16px;
  font-weight: 700;
}

.creation__meta {
  color: var(--muted);
  font-size: 13px;
}

/* Survol : la vignette se soulève et la pastille "Jouer" grossit */
a.creation:hover .tile {
  transform: translateY(-5px);
  border-color: #fff;
  box-shadow: 0 18px 40px -18px rgba(210, 2, 248, 0.7);
}

a.creation:hover .tile img { transform: scale(1.04); }
a.creation:hover .tile__play { transform: scale(1.08); }

/* Création pas encore sortie : cadre en pointillés, pas de survol */
.creation--soon .tile {
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.3);
}

.creation--soon .creation__name { color: var(--muted); }

/* ---------- Communauté : le Discord ---------- */
.community {
  max-width: 1040px;
  margin: 0 auto;
  padding: 72px var(--gutter) 0;
}

.community__card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(128, 140, 255, 0.3);
  border-radius: 28px;
  background:
    radial-gradient(90% 120% at 0% 0%, rgba(88, 101, 242, 0.3), transparent 60%),
    radial-gradient(80% 100% at 100% 100%, rgba(210, 2, 248, 0.18), transparent 60%),
    rgba(18, 16, 30, 0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 30px 80px -40px rgba(88, 101, 242, 0.6);
}

.community__intro { text-align: left; }
.community__intro .faq__eyebrow { text-align: left; }

.community__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  border-radius: 16px;
  background: var(--discord);
  box-shadow: 0 10px 30px -6px rgba(88, 101, 242, 0.8);
}

.community__icon svg { width: 30px; height: 30px; }

.community__title {
  margin: 0;
  font-size: clamp(26px, 2.6vw, 38px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.community__text {
  margin: 12px 0 26px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.community__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.community__list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.community__list strong {
  display: block;
  color: var(--text);
  font-size: 15px;
}

.community__bullet {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(128, 140, 255, 0.16);
  color: #b4bcff;
}

.community__bullet svg { width: 22px; height: 22px; }

/* ---------- FAQ ---------- */
.faq {
  max-width: 760px;
  margin: 0 auto;
  padding: 88px var(--gutter) 110px;
}

.faq__eyebrow {
  display: block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
}

.faq__title {
  margin: 0 0 36px;
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-align: center;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq__item {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.faq__item:hover { border-color: rgba(255, 255, 255, 0.16); }

.faq__item.is-open {
  border-color: rgba(210, 2, 248, 0.45);
  background: rgba(210, 2, 248, 0.05);
}

.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  background: none;
  border: 0;
  border-radius: 18px;
  color: var(--text);
  font: inherit;
  font-size: clamp(15px, 1.4vw, 17px);
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq__icon {
  position: relative;
  flex: none;
  width: 18px;
  height: 18px;
  transition: transform 0.35s var(--ease-out);
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  margin-top: -1px;
  border-radius: 2px;
  background: currentColor;
}

.faq__icon::after { transform: rotate(90deg); }

.faq__item.is-open .faq__icon {
  transform: rotate(45deg);
  color: var(--accent);
}

.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease-out);
}

.faq__item.is-open .faq__a { grid-template-rows: 1fr; }

.faq__a-inner {
  min-height: 0;
  overflow: hidden;
}

.faq__a p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--muted);
  line-height: 1.7;
}

/* ---------- Page Emploi : postes dépliables + formulaires ---------- */
.page {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px var(--gutter) var(--dock-space);
}

/* Pastille d'état du recrutement, sous le titre */
.page__status {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin: -16px auto 16px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 13px;
  font-weight: 600;
}

.page__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f5b942;
  box-shadow: 0 0 10px rgba(245, 185, 66, 0.8);
}

.page__intro {
  max-width: 540px;
  margin: 0 auto 40px;
  color: var(--muted);
  line-height: 1.6;
  text-align: center;
}

.job .faq__q { padding: 20px 24px; }

.job__head {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.job__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(210, 2, 248, 0.12);
  color: var(--accent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.job__icon svg { width: 24px; height: 24px; }

.job__title {
  display: block;
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 700;
}

.job__sub {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
}

.job__body { padding: 0 24px 26px; }

.job__body > p {
  margin: 0;
  padding: 0;
  color: var(--muted);
  line-height: 1.7;
}

.apply {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
  margin-top: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.field--full { grid-column: 1 / -1; }

.field label {
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
}

.field label span { color: var(--accent); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder { color: rgba(255, 255, 255, 0.3); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

/* Liste déroulante personnalisée (Disponibilité) */
.select { position: relative; }

.select__native {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.select__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.select__btn:hover { border-color: rgba(255, 255, 255, 0.18); }

.select__btn:focus-visible,
.select.is-open .select__btn {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.select__chevron {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--muted);
  transition: transform 0.3s var(--ease-out), color 0.2s ease;
}

.select.is-open .select__chevron {
  transform: rotate(180deg);
  color: var(--accent);
}

.select__list {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 20;
  margin: 0;
  padding: 6px;
  list-style: none;
  border: 1px solid rgba(210, 2, 248, 0.35);
  border-radius: 14px;
  background: linear-gradient(180deg, #221829, #19121f);
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  outline: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top;
  transition: opacity 0.2s ease, transform 0.25s var(--ease-out), visibility 0s linear 0.25s;
}

.select.is-open .select__list {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.2s ease, transform 0.25s var(--ease-out), visibility 0s;
}

.select__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 15px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.select__option.is-active {
  background: rgba(210, 2, 248, 0.14);
  color: var(--text);
}

.select__option[aria-selected="true"] {
  color: var(--text);
  font-weight: 600;
}

.select__option[aria-selected="true"]::after {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Champ piège anti-spam, hors de l'écran */
.apply__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.consent {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.consent input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--accent);
}

.apply__footer {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 4px;
}

.apply__footer .btn { cursor: pointer; font-family: inherit; }
.apply__footer .btn:disabled { opacity: 0.6; cursor: wait; }

.apply__status {
  font-size: 14px;
  color: var(--muted);
}

.apply__status.is-ok { color: #4ade80; }
.apply__status.is-error { color: #ff6b81; }

/* ---------- Page Mentions légales ---------- */
.legal {
  max-width: 760px;
  line-height: 1.7;
}

.legal section {
  margin-bottom: 14px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.legal h2 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
}

/* Titre qui sépare les mentions légales de la politique de confidentialité */
.legal h2.legal__part {
  margin: 48px 0 20px;
  font-size: clamp(24px, 2.6vw, 32px);
  text-align: center;
  scroll-margin-top: 24px;
}

.legal p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 15px;
}

.legal p:last-child { margin-bottom: 0; }

.legal a,
.consent a,
.footer__copy a {
  color: #e9b8ff;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(233, 184, 255, 0.4);
  transition: text-decoration-color 0.2s ease;
}

.legal a:hover,
.consent a:hover,
.footer__copy a:hover { text-decoration-color: currentColor; }

.legal strong { color: var(--text); }

.legal__date {
  margin-top: 28px !important;
  font-size: 13px !important;
  text-align: center;
}

/* ---------- Page Contact : carte liquid glass en 3D ---------- */
.contact {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 110px var(--gutter) var(--dock-space);
  overflow: hidden;
}

/* Taches de couleur floues derrière la carte : c'est ce que le verre laisse deviner */
.contact__orb {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.contact__orb--1 {
  width: 380px;
  height: 380px;
  top: 18%;
  left: calc(50% - 330px);
  background: rgba(150, 110, 255, 0.55);
}

.contact__orb--2 {
  width: 320px;
  height: 320px;
  bottom: 14%;
  left: calc(50% + 20px);
  background: rgba(210, 2, 248, 0.45);
}

.tilt {
  width: min(420px, 100%);
  perspective: 1000px;
  animation: rise 0.9s var(--ease-out) both 0.1s;
}

.ccard {
  position: relative;
  padding: 86px 28px 28px;
  border-radius: 32px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04) 45%, rgba(255, 255, 255, 0.02)),
    rgba(20, 16, 28, 0.32);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 0.45),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08),
    inset 0 0 40px rgba(255, 255, 255, 0.04),
    0 40px 80px -30px rgba(0, 0, 0, 0.8);
  text-align: center;
  transform-origin: 50% 50%;
  will-change: transform;
}

/* Liseré lumineux du verre */
.ccard::after {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1.5px;
  border-radius: inherit;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.06) 40%, rgba(255, 255, 255, 0.04) 60%, rgba(255, 255, 255, 0.4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
}

/* Reflet qui suit le curseur */
.ccard__shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, 0.16), transparent 50%);
  pointer-events: none;
}

/* Photo à cheval sur le haut de la carte */
.ccard__photo {
  position: absolute;
  top: -64px;
  left: 50%;
  width: 128px;
  height: 128px;
  margin-left: -64px;
  overflow: hidden;
  z-index: 2;  /* au-dessus du liseré du verre, qui sinon traverse la photo */
  border-radius: 50%;
  border: 3px solid #9b93ab;
  background: #c9b8e8;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.06), 0 18px 40px -10px rgba(120, 80, 255, 0.7);
}

.ccard__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}

.ccard__name {
  margin: 0;
  font-size: 30px;
  font-weight: 700;
}

.ccard__intro {
  margin: 8px auto 26px;
  max-width: 300px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.6;
}

.ccard__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.ccard__row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.ccard__row:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateX(3px);
}

.ccard__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(210, 2, 248, 0.16);
  color: #e9b8ff;
}

.ccard__icon svg { width: 20px; height: 20px; }

.ccard__text {
  flex: 1;
  min-width: 0;
}

.ccard__label {
  display: block;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ccard__value {
  display: block;
  overflow: hidden;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ccard__arrow {
  flex: none;
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, 0.5);
}

.ccard__socials {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.ccard__social {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.85);
  transition: transform 0.4s var(--ease-bounce), color 0.2s ease, border-color 0.2s ease;
}

.ccard__social svg { width: 20px; height: 20px; overflow: visible; }

.ccard__social:hover {
  transform: translateY(-3px);
}

/* Comme les vrais logos : au survol, le rond prend la couleur officielle et le symbole reste blanc */
.ccard__social::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--brand);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.ccard__social--yt { --brand: #ff0000; }
.ccard__social--tt { --brand: #000; }
.ccard__social--ig { --brand: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.ccard__social--dc { --brand: #5865f2; }

.ccard__social svg { position: relative; }

.ccard__social:hover,
.ccard__social:focus-visible {
  color: #fff;
  border-color: transparent;
}

/* Le rond noir de TikTok garde un liseré pour ne pas se fondre dans le fond sombre */
.ccard__social--tt:hover,
.ccard__social--tt:focus-visible { border-color: rgba(255, 255, 255, 0.3); }

.ccard__social:hover::before,
.ccard__social:focus-visible::before { opacity: 1; }

/* TikTok : la note blanche laisse apparaître ses reflets cyan et rose au survol */
.ccard__mono,
.ccard__brand { transition: opacity 0.2s ease; }
.ccard__brand { opacity: 0; }
.ccard__social:hover .ccard__mono,
.ccard__social:focus-visible .ccard__mono { opacity: 0; }
.ccard__social:hover .ccard__brand,
.ccard__social:focus-visible .ccard__brand { opacity: 1; }

.ccard__row:focus-visible,
.ccard__social:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---------- Footer : bloc centré, logo + phrase + Discord ---------- */
.footer {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 56px var(--gutter) var(--dock-space);
  text-align: center;
}

/* Trait lumineux en haut du footer, avec un halo violet dessous */
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(640px, 80%);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(210, 2, 248, 0.7), transparent);
  box-shadow: 0 0 60px 20px rgba(210, 2, 248, 0.12);
}

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

.footer__brand svg {
  height: 34px;
  width: auto;
  color: var(--accent);
  filter: drop-shadow(0 0 14px rgba(210, 2, 248, 0.5));
}

.footer__brand span {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.footer__tagline {
  margin: 0 0 6px;
  max-width: 420px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.footer__copy {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.38);
  font-size: 13px;
}

/* ---------- Page Réseaux : écran coupé en 4 par des traits irréguliers ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.split {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  isolation: isolate;
  overflow: hidden;
}

/* Chaque partie : un calque qui porte l'ombre et le soulèvement,
   avec dedans le fond découpé (bords irréguliers calculés par split.js) */
.split__panel {
  position: absolute;
  inset: 0;
  z-index: 0;
  will-change: transform;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Partie qui redescend : reste au-dessus des autres le temps de son animation */
.split__panel.is-leaving { z-index: 2; }

.split__bg {
  position: absolute;
  inset: 0;
}

/* Voile sombre posé sur les parties non survolées */
.split__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

/* Ombre portée et liseré lumineux : préparés une fois, seule leur opacité s'anime */
.split__shade,
.split__rim {
  position: absolute;
  inset: 0;
  opacity: 0;
  will-change: opacity;
  transition: opacity 0.6s ease;
}

.split__shade {
  filter: blur(28px);
  transform: translateY(16px);
}

.split__rim { filter: blur(3px); }

.split__shape {
  position: absolute;
  inset: 0;
}

.split__shade .split__shape { background: rgba(0, 0, 0, 0.9); }
.split__rim .split__shape { background: #fff; }

.split__bg--yt { clip-path: inset(0 75% 0 0); }
.split__bg--tt { clip-path: inset(0 50% 0 25%); }
.split__bg--ig { clip-path: inset(0 25% 0 50%); }
.split__bg--dc { clip-path: inset(0 0 0 75%); }

.split__bg--yt {
  background:
    radial-gradient(55% 32% at 50% 16%, rgba(255, 0, 51, 0.65), transparent 70%),
    radial-gradient(80% 45% at 50% 100%, rgba(255, 0, 51, 0.3), transparent 70%),
    linear-gradient(180deg, rgba(40, 2, 8, 0.92), rgba(14, 1, 4, 0.94));
}

.split__bg--tt {
  background:
    radial-gradient(60% 35% at 30% 14%, rgba(37, 244, 238, 0.5), transparent 70%),
    radial-gradient(65% 40% at 75% 92%, rgba(254, 44, 85, 0.5), transparent 70%),
    rgba(4, 6, 8, 0.94);
}

/* YouTube et TikTok : au survol, une version plus lumineuse du fond apparaît en fondu */
.split__bg--yt::before,
.split__bg--tt::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.split__bg--yt::before {
  background:
    radial-gradient(65% 40% at 50% 16%, rgba(255, 40, 80, 0.85), transparent 70%),
    radial-gradient(90% 55% at 50% 100%, rgba(255, 0, 51, 0.55), transparent 70%),
    linear-gradient(180deg, #7a0a1c, #3d0410);
}

.split__bg--tt::before {
  background:
    radial-gradient(70% 42% at 30% 14%, rgba(37, 244, 238, 0.75), transparent 70%),
    radial-gradient(75% 48% at 75% 92%, rgba(254, 44, 85, 0.75), transparent 70%),
    linear-gradient(180deg, #1c2128, #101317);
}

.split__panel.is-hover .split__bg--yt::before,
.split__panel.is-hover .split__bg--tt::before { opacity: 1; }

.split__bg--ig {
  background: linear-gradient(165deg, #4f5bd5 0%, #962fbf 25%, #d62976 55%, #fa7e1e 82%, #feda75 100%);
  transition: filter 0.4s ease;
}

/* Voile sombre d'Instagram au repos : il s'efface au survol pour que le dégradé ressorte */
.split__bg--ig::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.32));
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.split__panel.is-hover .split__bg--ig { filter: brightness(1.12); }
.split__panel.is-hover .split__bg--ig::before { opacity: 0; }

.split__bg--dc {
  background:
    radial-gradient(60% 32% at 50% 14%, rgba(255, 255, 255, 0.2), transparent 70%),
    linear-gradient(180deg, #5865f2 0%, #3c45c9 60%, #23277a 100%);
}

/* Traits de séparation lumineux */
.split__lines {
  position: absolute;
  inset: 0;
  z-index: 1;
  transition: opacity 0.4s ease;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.7));
}

.split__lines polyline {
  fill: none;
  stroke: rgba(255, 255, 255, 0.9);
  stroke-width: 2;
  stroke-linejoin: round;
}

/* Contenu de chaque partie */
.net {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 64px clamp(28px, 3vw, 44px) var(--dock-space);
  text-align: center;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.6s ease;
}

/* Survol : la partie visée se soulève, une ombre légère tombe sur les autres */
@media (hover: hover) {
  .split__panel.is-hover {
    z-index: 3;
    transform: scale(1.03);
  }

  .split__panel.is-hover .split__shade { opacity: 1; }
  .split__panel.is-hover .split__rim { opacity: 0.85; }

  .split.has-hover .split__panel:not(.is-hover) .split__bg::after { opacity: 0.28; }
  .split.has-hover .split__lines { opacity: 0.5; }
  .split.has-hover .net { opacity: 0.8; }

  .split.has-hover .net.is-hover {
    opacity: 1;
    transform: translateY(-8px);
  }
}

.net > * {
  animation: rise 0.8s var(--ease-out) both;
  animation-delay: calc(var(--i) * 90ms + 100ms);
}

.net__logo {
  display: grid;
  place-items: center;
  width: clamp(84px, 8vw, 110px);
  aspect-ratio: 1;
  margin-bottom: 22px;
  transition: transform 0.6s var(--ease-bounce), box-shadow 0.35s ease;
}

/* Couleur de la plateforme dans la bulle, qui apparaît tout de suite au survol */
.net__fill {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 50%;
  background: var(--fill);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.net.is-hover .net__fill,
.net__logo:hover .net__fill { opacity: 1; }

/* YouTube : sur fond rouge, le logo passe en blanc avec le triangle rouge */
.net__logo .yt-body,
.net__logo .yt-play { transition: fill 0.2s ease; }

.net.is-hover .yt-body,
.net__logo:hover .yt-body { fill: #fff; }

.net.is-hover .yt-play,
.net__logo:hover .yt-play { fill: #ff0033; }

.net__logo:hover {
  transform: translateY(-6px) scale(1.06);
  box-shadow:
    inset 0 1.5px 1px rgba(255, 255, 255, 0.55),
    inset 0 0 24px rgba(255, 255, 255, 0.08),
    0 24px 48px -20px rgba(0, 0, 0, 0.85),
    0 0 50px -6px var(--glow);
}

.net h2 {
  margin: 0;
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 700;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

.net__list {
  list-style: none;
  max-width: 280px;
  margin: clamp(28px, 5vh, 48px) 0 clamp(32px, 6vh, 56px);
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(22px, 4.5vh, 44px);
  text-align: left;
}

.net__list li {
  position: relative;
  padding-left: 24px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  line-height: 1.6;
}

.net__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 10px var(--c), 0 0 2px #fff;
}

/* Boutons de la page Réseaux : verre liquide teinté de la couleur de chaque réseau (--tint sur la section) */
.btn--net { --tint: var(--net-tint); --halo: var(--glow); }

.net__logo:focus-visible,
.btn--net:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dock, .net > *, .hero__portrait, .hero__title, .hero__badge, .hero__role, .hero__actions, .creation, .tilt { animation: none; }
  .faq__a, .faq__icon, .tile, .tile img, .tile__play, .net__logo, .select__list, .select__chevron { transition: none; }
}

@media (max-width: 560px) {
  .hero__grid { gap: 12px; }
  .tile { border-radius: 12px; }
  .tile__play { right: 6px; bottom: 6px; padding: 5px 10px 5px 8px; font-size: 12px; }
  .apply { grid-template-columns: 1fr; }
  .job .faq__q { padding: 18px; }
  .job__body { padding: 0 18px 22px; }
  .dock { width: calc(100% - 24px); }
  .dock__item { flex: 1; min-width: 0; padding-inline: 4px; font-size: 11px; }
}

/* Réseaux : les 4 parties s'empilent sur les écrans étroits */
@media (max-width: 900px) {
  .community__card { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .net { padding: 56px 28px 64px; }
  .net:last-of-type { padding-bottom: var(--dock-space); }
}

@media (max-width: 480px) {
  .btn { padding: 10px 18px; font-size: 14px; }
}
