/* ==========================================================
   Tanjiro Studio : thème bleu nuit
   ========================================================== */

/* Polices hébergées sur le site (ta sécurité CSP bloque Google Fonts) */
@font-face {
  font-family: "Big Shoulders";
  src: url("../fonts/BigShoulders-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/InstrumentSans-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/InstrumentSans-Bold.woff") format("woff");
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Change --accent pour changer la couleur d'accent de tout le site */
  --accent: #5FB3F5;
  --sur-accent: #F3F7FB;

  --nuit: #F3F7FB;
  --nuit-2: #0B2540;
  --encre: #0B2540;
  --encre-2: #0B2540;
  --etiquette: #0B2540;
  --separation: #0B2540;
  --ligne: #0B2540;
  --ligne-2: #0B2540;
  --ligne-forte: #0B2540;

  --texte: #D6ECFC;
  --texte-2: #112539;
  --brume: #224B75;
  --pale: #647A91;

  --titre: "Big Shoulders", "Arial Narrow", "Helvetica Neue", sans-serif;
  --corps: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --marge: clamp(20px, 5.5vw, 80px);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--nuit);
  color: var(--texte);
  font-family: var(--corps);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: var(--texte); }
a:hover { color: #0E1F2F; }

:focus-visible {
  outline: 2px solid #96CDFA;
  outline-offset: 4px;
  border-radius: 8px;
}

[id] { scroll-margin-top: 96px; }

/* ---------- En-tête ---------- */

.entete {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  padding: 14px var(--marge);
  background: var(--nuit);
  border-bottom: 1px solid var(--ligne);
}

.marque {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  text-decoration: none;
  font-family: var(--titre);
  font-weight: 700;
  font-size: 28px;
  line-height: 1;
}

.marque img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
}

.menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
}

.menu a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--texte-2);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
}

.menu a:hover {
  color: #0E1F2F;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.menu a[aria-current="page"] {
  color: #0E1F2F;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.menu .bouton-discord {
  margin-left: 8px;
  padding: 0 18px;
  background: #112539;
  color: var(--nuit);
  font-weight: 600;
}

.menu .bouton-discord:hover {
  background: #0E1F2F;
  color: var(--nuit);
  text-decoration: none;
}

.burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid var(--ligne-2);
  background: transparent;
  color: var(--texte);
  cursor: pointer;
}

/* ---------- Boutons et liens ---------- */

.bouton, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid var(--ligne-forte);
  background: transparent;
  color: var(--texte);
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.bouton:hover, .btn:hover {
  border-color: var(--texte-2);
  color: #0E1F2F;
}

.bouton-plein, .btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--sur-accent);
}

.bouton-plein:hover, .btn.primary:hover {
  color: var(--sur-accent);
  border-color: #0E1F2F;
}

.bouton-petit, .btn {
  min-height: 46px;
  padding: 0 20px;
  font-size: 15px;
}

.btn.danger {
  border-color: #7ABDF4;
  color: #D6ECFC;
}

.lien-accent {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--accent);
  font-weight: 600;
  text-underline-offset: 5px;
}

.lien-accent:hover { color: var(--accent); text-decoration-thickness: 2px; }

/* ---------- Sections ---------- */

.section { padding: 112px var(--marge); }
.section + .section { border-top: 1px solid var(--separation); }
.section-sombre { background: var(--nuit-2); }

.section-tete {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 48px;
  margin-bottom: 48px;
}

.section-tete h2 {
  margin: 0;
  font-family: var(--titre);
  font-weight: 700;
  font-size: clamp(52px, 6vw, 80px);
  line-height: 0.95;
}

.section-tete p {
  margin: 0;
  max-width: 34em;
  font-size: 18px;
  color: var(--brume);
}

.section-tete .groupe {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sous-titre {
  margin: 0 0 32px;
  font-family: var(--titre);
  font-weight: 700;
  font-size: clamp(40px, 4.5vw, 56px);
  line-height: 1;
}

.suite {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 40px;
}

/* En-tête des pages intérieures */
.page-tete {
  padding: 88px var(--marge) 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 48px;
}

.page-tete h1 {
  margin: 0;
  font-family: var(--titre);
  font-weight: 700;
  font-size: clamp(64px, 8vw, 120px);
  line-height: 0.9;
}

.page-tete .intro {
  margin: 16px 0 0;
  max-width: 34em;
  font-size: 19px;
  color: var(--texte-2);
}

.page-tete + .section { padding-top: 64px; }

/* ---------- Accueil ---------- */

.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px 64px;
  padding: 96px var(--marge) 112px;
  overflow: hidden;
}

.hero-texte {
  flex: 1 1 440px;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}

.hero h1 {
  margin: 0;
  font-family: var(--titre);
  font-weight: 700;
  font-size: clamp(76px, 10vw, 150px);
  line-height: 0.88;
}

.hero .intro {
  margin: 0;
  max-width: 32em;
  font-size: 21px;
  line-height: 1.55;
  color: var(--texte-2);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.chiffres {
  width: 100%;
  margin: 12px 0 0;
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
  border-top: 1px solid var(--ligne);
}

.chiffres div { display: flex; flex-direction: column; gap: 6px; }

.chiffres dt {
  font-family: var(--titre);
  font-weight: 700;
  font-size: 30px;
  line-height: 1;
}

.chiffres dd { margin: 0; font-size: 15px; color: var(--brume); }

/* Constellation : chaque étoile mène à une partie du site */
.ciel { flex: 1 1 400px; display: flex; justify-content: center; }

.constellation {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 560 / 460;
  color: var(--accent);
}

.constellation svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.etoile {
  position: absolute;
  display: flex;
  align-items: center;
  transform: translate(-22px, -50%);
  text-decoration: none;
  white-space: nowrap;
}

.etoile::before { content: ""; flex: 0 0 44px; width: 44px; height: 44px; }

.etoile span {
  padding: 7px 14px;
  border: 1px solid var(--ligne-2);
  border-radius: 999px;
  background: #0B2540;
  color: var(--texte);
  font-size: 16px;
  font-weight: 600;
}

.etoile:hover span { border-color: var(--accent); }

.etoile.gauche {
  flex-direction: row-reverse;
  transform: translate(calc(-100% + 22px), -50%);
}

@keyframes scintille {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}

.scintille { animation: scintille 5s ease-in-out infinite; }

/* ---------- Portfolio ---------- */

.travaux {
  display: flex;
  flex-wrap: wrap;
  gap: 48px 32px;
}

.travail {
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.travail.vedette { flex: 2 1 620px; }

.visuel {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  background: var(--encre);
  border: 1px solid var(--ligne);
  overflow: hidden;
}

.travail.vedette .visuel { aspect-ratio: 16 / 9; }

.visuel img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.visuel.couvrir img { object-fit: cover; }

.travail-texte { display: flex; flex-direction: column; gap: 10px; }

.travail h3, .travail h2 {
  margin: 0;
  font-family: var(--titre);
  font-weight: 700;
  font-size: 30px;
  line-height: 1.05;
}

.travail.vedette h3 { font-size: 36px; }

.travail p { margin: 0; max-width: 40em; font-size: 16px; color: var(--brume); }

.etiquettes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.etiquettes li {
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--etiquette);
  color: var(--texte-2);
  font-size: 14px;
}

/* Galerie de la page Portfolio, avec agrandissement */
.galerie {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
  gap: 56px 32px;
}

.agrandir {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  border-radius: 12px;
}

.agrandir:hover .visuel { border-color: var(--accent); }

/* Services */
.bloc-services {
  margin-top: 88px;
  padding-top: 56px;
  border-top: 1px solid var(--separation);
}

.services {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 40px;
}

.service {
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 20px;
  border-top: 2px solid var(--accent);
}

.service h3 { margin: 0; font-size: 20px; font-weight: 600; }
.service p { margin: 0; font-size: 16px; color: var(--brume); }

/* ---------- Ressources ---------- */

.vide {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 40px;
  padding: 40px;
  border: 1px dashed var(--ligne-forte);
  border-radius: 16px;
}

.vide p { margin: 0; max-width: 36em; font-size: 18px; color: var(--texte-2); }

.ressources {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ligne-2);
}

.ressources li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 32px;
  padding: 24px 0;
  border-bottom: 1px solid var(--ligne-2);
}

.ressources .infos { flex: 1 1 320px; display: flex; flex-direction: column; gap: 6px; }
.ressources h3 { margin: 0; font-size: 22px; font-weight: 600; }
.ressources p { margin: 0; font-size: 16px; color: var(--brume); }
.ressources .type { flex: 0 0 140px; font-size: 15px; color: var(--brume); }
.ressources .format { flex: 0 0 100px; font-size: 15px; color: var(--brume); }

/* ---------- Boutique ---------- */

.produits, .shopGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.product {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px 16px 22px;
  border-radius: 16px;
  background: var(--encre);
  border: 1px solid var(--ligne);
}

.product > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border-radius: 10px;
  background: var(--nuit-2);
}

.product > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 4px;
}

.product .tag {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--separation);
  color: var(--texte-2);
  font-size: 13px;
}

.product h3, .product h2 { margin: 0; font-size: 21px; font-weight: 600; line-height: 1.25; }
.product p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--brume); }

.product strong {
  margin-top: auto;
  padding-top: 8px;
  font-family: var(--titre);
  font-weight: 700;
  font-size: 26px;
  color: var(--accent);
}

.product .btn { margin: 0 4px; min-height: 48px; font-size: 16px; }

.product.sur-mesure {
  background: var(--nuit-2);
  border-style: dashed;
  border-color: var(--ligne-forte);
}

.product.customProduct { animation: apparition .35s ease; }

@keyframes apparition {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.bloc-panel { margin-top: 88px; }
.bloc-panel[hidden] { display: none; }

.emptyPanel {
  padding: 20px;
  border: 1px dashed var(--ligne-forte);
  border-radius: 16px;
  color: var(--brume);
  text-align: center;
}

/* ---------- Discord ---------- */

.section-discord { padding-top: 40px; }

.bande {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px 72px;
  padding: clamp(28px, 5vw, 72px);
  border-radius: 24px;
  background: var(--encre-2);
  border: 1px solid var(--ligne-2);
  overflow: hidden;
}

.lune {
  position: relative;
  flex: 0 0 160px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--accent);
  overflow: hidden;
}

.lune::after {
  content: "";
  position: absolute;
  left: 46px;
  top: -22px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--encre-2);
}

.bande-texte {
  flex: 1 1 520px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.bande-texte h2 {
  margin: 0;
  font-family: var(--titre);
  font-weight: 700;
  font-size: clamp(48px, 5.5vw, 72px);
  line-height: 0.95;
}

.serveurs { display: flex; flex-wrap: wrap; gap: 20px; }

.serveur {
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 24px;
  border-radius: 16px;
  background: #0B2540;
  border: 1px solid var(--ligne-2);
}

.serveur-tete { display: flex; align-items: center; gap: 14px; }

.serveur-tete img {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
}

.serveur h3 { margin: 0; font-size: 22px; font-weight: 600; line-height: 1.2; }
.serveur p { margin: 0; flex: 1; font-size: 16px; color: var(--texte-2); }

/* ---------- À propos ---------- */

.apropos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px 80px;
}

.apropos-logo { flex: 0 1 280px; }

.apropos-logo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid var(--ligne);
}

.apropos-texte {
  flex: 1 1 420px;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.apropos-texte h2, .apropos-texte h1 {
  margin: 0;
  font-family: var(--titre);
  font-weight: 700;
  font-size: clamp(52px, 6vw, 80px);
  line-height: 0.95;
}

.apropos-texte p { margin: 0; }
.apropos-texte .grand { font-size: 20px; }
.apropos-texte .second { font-size: 17px; color: var(--brume); }

.contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  color: var(--brume);
}

.bloc-competences { margin-top: 88px; }

.competences {
  display: flex;
  flex-wrap: wrap;
  gap: 26px 48px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.competences li {
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.competence-tete {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 16px;
}

.competence-tete span:last-child { color: var(--brume); white-space: nowrap; }

.jauge {
  height: 6px;
  border-radius: 999px;
  background: var(--separation);
  overflow: hidden;
}

.jauge span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--accent);
}

.realisations {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.realisations li {
  padding: 10px 18px;
  border: 1px solid var(--ligne-2);
  border-radius: 999px;
  color: var(--texte-2);
  font-size: 16px;
}

/* ---------- Bouton de l'espace staff (visible seulement par le staff connecté) ---------- */

.menu .bouton-staff {
  margin-left: 8px;
  padding: 0 16px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-weight: 600;
}

.menu .bouton-staff:hover { color: var(--accent); background: rgba(95, 179, 245, 0.1); text-decoration: none; }

.visuel-vide {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border-style: dashed;
  color: var(--pale);
  font-size: 15px;
  text-align: center;
}

.ressources .miniature {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--encre);
}

/* ---------- Pied de page ---------- */

.pied {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  padding: 32px var(--marge);
  border-top: 1px solid var(--separation);
  color: var(--pale);
  font-size: 15px;
}

.pied p { margin: 0; }

.pied a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--texte-2);
  text-decoration: none;
}

.pied a:hover { color: #0E1F2F; text-decoration: underline; text-underline-offset: 6px; }

/* ---------- Agrandissement des images ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: rgba(233, 240, 246, 0.92);
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: 95vw;
  max-height: 88vh;
  border-radius: 14px;
  border: 1px solid var(--ligne-2);
}

#lightboxClose {
  position: fixed;
  top: 20px;
  right: 24px;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  border: 1px solid var(--ligne-2);
  background: var(--encre);
  color: #0E1F2F;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

/* ---------- Panel administrateur local (admin.html) ---------- */

.dynamicTitle { margin-top: 42px; }

.adminGrid {
  display: grid;
  grid-template-columns: minmax(320px, .8fr) 1.2fr;
  gap: 24px;
  margin-top: 30px;
}

.adminForm, .adminListBox {
  padding: 26px;
  border-radius: 16px;
  background: var(--encre);
  border: 1px solid var(--ligne);
}

.adminForm label { display: block; margin: 14px 0; color: var(--brume); font-weight: 600; }

.adminForm input, .adminForm textarea {
  width: 100%;
  margin-top: 8px;
  padding: 14px 15px;
  border-radius: 12px;
  border: 1px solid var(--ligne-2);
  background: var(--nuit);
  color: var(--texte);
  font: inherit;
}

.adminForm input:focus, .adminForm textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.panelActions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.importBtn { position: relative; overflow: hidden; }
.importBtn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

.adminProducts { display: grid; gap: 14px; margin-top: 16px; }

.adminProduct {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--ligne);
  background: var(--nuit-2);
}

.adminProduct img {
  width: 110px;
  height: 80px;
  object-fit: contain;
  border-radius: 10px;
  background: var(--nuit);
}

.adminProduct h3 { margin: 0 0 6px; }
.adminProduct p { margin: 0; color: var(--brume); }
.adminProductBtns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }

/* ---------- Téléphone et tablette ---------- */

@media (max-width: 900px) {
  .burger { display: inline-flex; }
  .menu {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 4px 0 8px;
  }
  .menu.open { display: flex; }
  .menu .bouton-discord, .menu .bouton-staff { margin: 8px 0 0; justify-content: center; }
  .adminGrid { grid-template-columns: 1fr; }
  .adminProduct { grid-template-columns: 1fr; }
  .adminProduct img { width: 100%; height: auto; max-height: 220px; }
}

@media (max-width: 720px) {
  .ciel { display: none; }
  .section { padding-top: 80px; padding-bottom: 80px; }
  .hero { padding-top: 64px; padding-bottom: 80px; }
  .page-tete { padding-top: 56px; }
  .vide { padding: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scintille, .product.customProduct { animation: none; }
}

/* ==========================================================
   Espace staff
   ========================================================== */

.staff { min-height: 100vh; }

.staff-accueil {
  max-width: 460px;
  margin: 0 auto;
  padding: 64px 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.staff-entete {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 14px var(--marge);
  border-bottom: 1px solid var(--ligne);
}

.staff-compte {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  color: var(--brume);
  font-size: 15px;
}

.staff-compte strong { color: var(--texte); }
.staff-compte form { margin: 0; }

.staff-onglets {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  padding: 12px var(--marge);
  border-bottom: 1px solid var(--ligne);
  background: var(--nuit-2);
}

.staff-onglets a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--texte-2);
  text-decoration: none;
  font-weight: 500;
}

.staff-onglets a:hover { color: #0E1F2F; background: var(--encre); }

.staff-onglets a[aria-current="page"] {
  background: var(--encre-2);
  color: #0E1F2F;
  box-shadow: inset 0 0 0 1px var(--ligne-2);
}

.compteur {
  min-width: 24px;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--separation);
  color: var(--texte-2);
  font-size: 13px;
  text-align: center;
}

.staff-contenu {
  padding: 32px var(--marge) 80px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.staff-message {
  margin: 0;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid var(--accent);
  background: rgba(95, 179, 245, 0.08);
  color: var(--texte);
}

.staff-message.erreur {
  border-color: #5FB3F5;
  background: rgba(95, 179, 245, 0.1);
}

.staff-colonnes {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 24px;
  align-items: start;
}

.staff-pile { display: flex; flex-direction: column; gap: 24px; }

.staff-carte {
  padding: 28px;
  border-radius: 16px;
  background: var(--encre);
  border: 1px solid var(--ligne);
}

.staff-carte h1, .staff-carte h2 {
  margin: 0 0 8px;
  font-family: var(--titre);
  font-weight: 700;
  font-size: 36px;
  line-height: 1;
}

.staff-carte-tete {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 12px;
}

.staff-etroit { max-width: 640px; }

.staff-aide { margin: 0 0 8px; color: var(--brume); font-size: 15px; }

.formulaire { display: flex; flex-direction: column; gap: 18px; }

.formulaire label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
}

.formulaire small { color: var(--brume); font-weight: 400; font-size: 14px; }
.facultatif { color: var(--pale); font-weight: 400; }

.formulaire input:not([type="file"]),
.formulaire textarea,
.formulaire select {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--ligne-2);
  background: var(--nuit);
  color: var(--texte);
  font: inherit;
  font-weight: 400;
}

.formulaire textarea { resize: vertical; line-height: 1.5; }

.formulaire input[type="file"] {
  padding: 10px 0;
  color: var(--texte-2);
  font: inherit;
  font-weight: 400;
}

.formulaire input:focus,
.formulaire textarea:focus,
.formulaire select:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.staff-image {
  margin: 0;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px dashed var(--ligne-forte);
  border-radius: 12px;
}

.staff-image legend { padding: 0 6px; font-weight: 600; font-size: 15px; }

.staff-image img {
  max-height: 180px;
  width: auto;
  border-radius: 8px;
  background: var(--nuit);
}

.staff-actions { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 4px; }

.staff-liste {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
}

.staff-liste li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--ligne);
}

.staff-liste li:last-child { border-bottom: 0; }

.staff-liste img, .staff-sans-image {
  flex: 0 0 72px;
  width: 72px;
  height: 54px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--nuit);
}

.staff-sans-image { border: 1px dashed var(--ligne-forte); }

.staff-element {
  flex: 1 1 180px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.staff-element span { color: var(--brume); font-size: 14px; }

.staff-boutons { display: flex; flex-wrap: wrap; gap: 6px; }
.staff-boutons form { margin: 0; }

.bouton-icone { width: 46px; padding: 0; font-size: 18px; }
.bouton:disabled { opacity: .35; cursor: default; }

.bouton-danger { border-color: #7ABDF4; color: #D6ECFC; }
.bouton-danger:hover { border-color: #D6ECFC; color: #0E1F2F; }

@media (max-width: 960px) {
  .staff-colonnes { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .staff-carte { padding: 20px; }
}

/* ==========================================================
   TANJIRO STUDIO — DA 2026
   Obsidian / Red / Technical glass
   ========================================================== */

:root {
  --accent: #5FB3F5;
  --accent-2: #96CDFA;
  --accent-dark: #4EA7F1;
  --sur-accent: #0B2540;

  --nuit: #F9FBFD;
  --nuit-2: #F4F8FB;
  --encre: #0B2540;
  --encre-2: #0B2540;
  --etiquette: rgba(95, 179, 245, 0.09);
  --separation: rgba(14, 31, 47, 0.07);
  --ligne: rgba(14, 31, 47, 0.09);
  --ligne-2: rgba(14, 31, 47, 0.13);
  --ligne-forte: rgba(95, 179, 245, 0.28);

  --texte: #D6ECFC;
  --texte-2: #132940;
  --brume: #4F6071;
  --pale: #73889E;

  --titre: "Big Shoulders", "Arial Narrow", "Helvetica Neue", sans-serif;
  --corps: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --marge: clamp(20px, 5.3vw, 88px);
  --rayon: 22px;
  --rayon-petit: 14px;
  --ombre: 0 24px 80px rgba(16, 42, 74, 0.158);
  --glow: 0 0 50px rgba(95, 179, 245, 0.12);
}

::selection {
  background: rgba(95, 179, 245, 0.28);
  color: #0E1F2F;
}

html {
  background: var(--nuit);
  scrollbar-color: #0B2540 #F8FAFC;
}

body {
  position: relative;
  min-height: 100vh;
  background:
    radial-gradient(circle at 78% 12%, rgba(95, 179, 245, 0.09), transparent 28rem),
    radial-gradient(circle at 10% 48%, rgba(95, 179, 245, 0.035), transparent 32rem),
    #F9FBFD;
  color: var(--texte);
  letter-spacing: -.01em;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: .13;
  background-image:
    linear-gradient(rgba(14, 31, 47, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 31, 47, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #102A4A, transparent 82%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(14, 31, 47, 0.012), transparent 30%, transparent 70%, rgba(95, 179, 245, 0.018));
}

main { position: relative; overflow: hidden; }

a { transition: color .22s ease, opacity .22s ease; }

:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 4px;
  border-radius: 10px;
}

/* ---------- Navigation ---------- */

.entete {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 78px;
  padding: 12px var(--marge);
  background: rgba(246, 248, 251, 0.76);
  border-bottom: 1px solid rgba(14, 31, 47, 0.07);
  box-shadow: 0 10px 35px rgba(16, 42, 74, 0.063);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  backdrop-filter: blur(22px) saturate(140%);
}

.marque {
  gap: 13px;
  min-height: 52px;
  color: #0E1F2F;
}

.marque:hover { color: #0E1F2F; }

.marque-symbole {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 3px;
  overflow: hidden;
  border: 1px solid rgba(95, 179, 245, 0.27);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(95, 179, 245, 0.12), rgba(14, 31, 47, 0.02));
  box-shadow: inset 0 0 20px rgba(95, 179, 245, 0.06), 0 0 24px rgba(95, 179, 245, 0.08);
}

.marque-symbole::after {
  content: "";
  position: absolute;
  inset: -50% 55% -50% -20%;
  transform: rotate(18deg);
  background: rgba(14, 31, 47, 0.12);
}

.marque-symbole img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.marque-texte {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1;
}

.marque-texte strong {
  font-family: var(--titre);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: .01em;
}

.marque-texte small {
  color: var(--pale);
  font-family: var(--corps);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.menu { gap: 5px; }

.menu a {
  position: relative;
  min-height: 42px;
  padding: 0 13px;
  border-radius: 12px;
  color: var(--brume);
  font-size: 14px;
  font-weight: 600;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.menu a:hover {
  color: #0E1F2F;
  background: rgba(14, 31, 47, 0.045);
  text-decoration: none;
}

.menu a[aria-current="page"] {
  color: #0E1F2F;
  background: rgba(95, 179, 245, 0.07);
  text-decoration: none;
}

.menu a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 3px;
  height: 2px;
  border-radius: 99px;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(95, 179, 245, 0.65);
}

.menu .bouton-discord,
.menu .bouton-staff {
  min-height: 44px;
  margin-left: 8px;
  padding: 0 16px;
  border: 1px solid rgba(95, 179, 245, 0.25);
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(95, 179, 245, 0.13), rgba(95, 179, 245, 0.045));
  color: var(--accent-2);
  box-shadow: inset 0 1px 0 rgba(14, 31, 47, 0.04);
}

.menu .bouton-discord:hover,
.menu .bouton-staff:hover {
  border-color: rgba(95, 179, 245, 0.45);
  background: rgba(95, 179, 245, 0.12);
  color: #0E1F2F;
}

.burger {
  border-color: rgba(14, 31, 47, 0.12);
  border-radius: 14px;
  background: rgba(14, 31, 47, 0.035);
}

/* ---------- Buttons ---------- */

.bouton, .btn {
  position: relative;
  min-height: 54px;
  padding: 0 24px;
  overflow: hidden;
  border: 1px solid rgba(14, 31, 47, 0.14);
  border-radius: 14px;
  background: rgba(14, 31, 47, 0.025);
  color: #0E1F2F;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.01em;
  box-shadow: inset 0 1px 0 rgba(14, 31, 47, 0.025);
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.bouton::before, .btn::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 18%, rgba(14, 31, 47, 0.08), transparent 60%);
  transform: translateX(-120%);
  transition: transform .5s ease;
}

.bouton:hover::before, .btn:hover::before { transform: translateX(120%); }

.bouton:hover, .btn:hover {
  transform: translateY(-2px);
  border-color: rgba(95, 179, 245, 0.28);
  background: rgba(14, 31, 47, 0.05);
  color: #0E1F2F;
}

.bouton-plein, .btn.primary {
  border-color: rgba(95, 179, 245, 0.6);
  background: linear-gradient(135deg, #5FB3F5, #64B2F2);
  color: #0B2540;
  box-shadow: 0 10px 35px rgba(95, 179, 245, 0.16), inset 0 1px 0 rgba(14, 31, 47, 0.32);
}

.bouton-plein:hover, .btn.primary:hover {
  border-color: var(--accent-2);
  background: linear-gradient(135deg, #96CDFA, #71B9F3);
  color: #0B2540;
  box-shadow: 0 14px 42px rgba(95, 179, 245, 0.22), inset 0 1px 0 rgba(14, 31, 47, 0.36);
}

.bouton-petit, .btn {
  min-height: 46px;
  padding: 0 18px;
  font-size: 14px;
}

.btn.danger {
  border-color: rgba(95, 179, 245, 0.35);
  background: rgba(95, 179, 245, 0.055);
  color: #D6ECFC;
}

.lien-accent {
  position: relative;
  gap: 7px;
  color: var(--accent-2);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.lien-accent::after {
  content: "↗";
  font-size: 14px;
  transition: transform .2s ease;
}

.lien-accent:hover { color: #0E1F2F; }
.lien-accent:hover::after { transform: translate(2px, -2px); }

/* ---------- Section language ---------- */

.section {
  position: relative;
  padding: 124px var(--marge);
  border-top-color: rgba(14, 31, 47, 0.055) !important;
}

.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--marge);
  right: var(--marge);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(14, 31, 47, 0.11) 12%, rgba(14, 31, 47, 0.06) 80%, transparent);
}

.hero + .section::before { display: none; }

.section-sombre {
  background:
    linear-gradient(180deg, rgba(14, 31, 47, 0.012), transparent 28%),
    rgba(243, 246, 250, 0.64);
}

.section-tete {
  position: relative;
  align-items: flex-end;
  margin-bottom: 54px;
  padding-left: 22px;
}

.section-tete::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  bottom: 5px;
  width: 3px;
  border-radius: 99px;
  background: linear-gradient(to bottom, var(--accent), rgba(95, 179, 245, 0.08));
  box-shadow: 0 0 24px rgba(95, 179, 245, 0.26);
}

.section-tete h2,
.sous-titre,
.apropos-texte h1,
.apropos-texte h2 {
  color: #0E1F2F;
  letter-spacing: -.025em;
}

.section-tete h2 {
  font-size: clamp(54px, 6.5vw, 92px);
  line-height: .88;
  text-transform: uppercase;
}

.section-tete p {
  max-width: 40em;
  color: var(--brume);
  font-size: 17px;
  line-height: 1.65;
}

.sous-titre {
  margin-bottom: 34px;
  font-size: clamp(42px, 4.7vw, 62px);
  text-transform: uppercase;
}

.suite { margin-top: 44px; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(540px, 1.12fr);
  align-items: center;
  gap: clamp(52px, 6vw, 98px);
  min-height: calc(100vh - 78px);
  padding: clamp(70px, 9vw, 132px) var(--marge) clamp(92px, 11vw, 150px);
  overflow: visible;
}

.hero::before {
  content: "";
  position: absolute;
  top: -12%;
  right: -8%;
  width: min(64vw, 980px);
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(95, 179, 245, 0.09), rgba(95, 179, 245, 0.025) 33%, transparent 68%);
  filter: blur(8px);
}

.hero::after {
  content: "";
  position: absolute;
  right: 6%;
  bottom: 2%;
  width: 260px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(95, 179, 245, 0.6), transparent);
  box-shadow: 0 0 45px 8px rgba(95, 179, 245, 0.1);
  transform: rotate(-16deg);
}

.hero-texte {
  position: relative;
  z-index: 3;
  max-width: 720px;
  gap: 28px;
}

.hero-texte::before {
  content: "FIVEM DEVELOPMENT  /  LUA • ESX • OX";
  display: inline-flex;
  align-items: center;
  min-height: 31px;
  padding: 0 11px;
  border: 1px solid rgba(95, 179, 245, 0.18);
  border-radius: 8px;
  background: rgba(95, 179, 245, 0.055);
  color: var(--accent-2);
  font-family: var(--corps);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
}

.hero h1 {
  max-width: 6.5ch;
  margin: 0;
  color: #0E1F2F;
  font-size: clamp(82px, 9.5vw, 158px);
  line-height: .78;
  letter-spacing: -.035em;
  text-transform: uppercase;
  text-wrap: balance;
  background: linear-gradient(145deg, #0E1F2F 20%, #1D4064 76%, #0E1F2F 92%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero .intro {
  max-width: 32em;
  color: #214972;
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.65;
}

.actions { gap: 12px; }

.chiffres {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
  padding: 0;
  border: 0;
}

.chiffres div {
  position: relative;
  min-height: 96px;
  padding: 18px 18px 16px;
  gap: 7px;
  overflow: hidden;
  border: 1px solid rgba(14, 31, 47, 0.08);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(14, 31, 47, 0.037), rgba(14, 31, 47, 0.012));
  box-shadow: inset 0 1px 0 rgba(14, 31, 47, 0.025);
}

.chiffres div::after {
  content: "";
  position: absolute;
  right: -24px;
  bottom: -28px;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(95, 179, 245, 0.08);
  border-radius: 50%;
}

.chiffres dt {
  color: #0E1F2F;
  font-family: var(--corps);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
}

.chiffres dd {
  color: var(--pale);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.hero-visual {
  position: relative;
  z-index: 2;
  min-width: 0;
  perspective: 1200px;
}

.hero-glow {
  position: absolute;
  z-index: -1;
  inset: 12% 7%;
  border-radius: 50%;
  background: rgba(95, 179, 245, 0.12);
  filter: blur(80px);
}

.hero-orbite {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(95, 179, 245, 0.09);
  border-radius: 50%;
  pointer-events: none;
}

.orbite-a {
  width: 108%;
  aspect-ratio: 1.42;
  left: -7%;
  top: -4%;
  transform: rotate(-10deg);
}

.orbite-b {
  width: 84%;
  aspect-ratio: 1;
  right: -3%;
  bottom: -10%;
  transform: rotate(20deg);
}

.hero-console {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(14, 31, 47, 0.13);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(11, 37, 64, 0.94), rgba(245, 248, 251, 0.95)),
    #F0F5FA;
  box-shadow:
    0 45px 100px rgba(16, 42, 74, 0.203),
    0 0 80px rgba(95, 179, 245, 0.055),
    inset 0 1px 0 rgba(14, 31, 47, 0.05);
  transform: rotateY(-4deg) rotateX(1deg);
  transform-origin: center;
}

.hero-console::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(14, 31, 47, 0.045), transparent 23%, transparent 77%, rgba(95, 179, 245, 0.025)),
    repeating-linear-gradient(0deg, transparent 0 35px, rgba(14, 31, 47, 0.012) 36px);
}

.console-barre {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 50px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(14, 31, 47, 0.07);
  background: rgba(14, 31, 47, 0.012);
}

.console-points { display: flex; gap: 6px; }
.console-points span { width: 7px; height: 7px; border-radius: 50%; background: rgba(14, 31, 47, 0.17); }
.console-points span:nth-child(2) { background: rgba(95, 179, 245, 0.3); }
.console-points span:nth-child(3) { background: rgba(95, 179, 245, 0.55); }

.console-label,
.console-status {
  color: #72879D;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .16em;
}

.console-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--accent-2);
}

.console-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(95, 179, 245, 0.75);
}

.console-brand {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 92px 1fr;
  align-items: center;
  gap: 22px;
  padding: 24px 24px 20px;
}

.console-logo {
  overflow: hidden;
  border: 1px solid rgba(95, 179, 245, 0.14);
  border-radius: 20px;
  box-shadow: 0 15px 34px rgba(16, 42, 74, 0.135);
}
.console-logo img { width: 100%; aspect-ratio: 1; object-fit: cover; }

.console-brand-texte { display: flex; flex-direction: column; gap: 5px; }
.console-brand-texte > span {
  color: var(--accent-2);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.console-brand-texte strong {
  color: #0E1F2F;
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.15;
}
.console-brand-texte p { margin: 0; max-width: 36em; color: var(--brume); font-size: 12px; line-height: 1.55; }

.console-previews {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 10px;
  padding: 0 16px;
}

.preview {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(14, 31, 47, 0.08);
  border-radius: 16px;
  background: #F9FBFD;
}

.preview img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  opacity: .88;
  transition: transform .5s ease, opacity .3s ease;
}

.preview:hover img { transform: scale(1.025); opacity: 1; }
.preview-secondaire img { object-position: center; }

.preview figcaption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 11px 12px;
  border: 1px solid rgba(14, 31, 47, 0.1);
  border-radius: 11px;
  background: rgba(248, 250, 252, 0.77);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.preview figcaption span { color: var(--accent-2); font-size: 8px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.preview figcaption strong { color: #0E1F2F; font-size: 12px; line-height: 1.2; }

.console-stack {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 14px 16px 17px;
}

.console-stack span {
  padding: 6px 9px;
  border: 1px solid rgba(14, 31, 47, 0.075);
  border-radius: 8px;
  background: rgba(14, 31, 47, 0.025);
  color: #5B6E82;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .04em;
}

.hero-badge {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 35px;
  padding: 0 12px;
  border: 1px solid rgba(95, 179, 245, 0.2);
  border-radius: 10px;
  background: rgba(244, 248, 251, 0.86);
  color: #0E1F2F;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 14px 34px rgba(16, 42, 74, 0.158);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.hero-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 11px rgba(95, 179, 245, 0.8);
}

.badge-a { top: 16%; left: -28px; }
.badge-b { right: -22px; bottom: 17%; }

/* ---------- Inner page heading ---------- */

.page-tete {
  position: relative;
  min-height: 330px;
  padding: 100px var(--marge) 56px;
  align-items: flex-end;
  overflow: hidden;
  border-bottom: 1px solid rgba(14, 31, 47, 0.06);
  background:
    radial-gradient(circle at 83% 30%, rgba(95, 179, 245, 0.095), transparent 28rem),
    linear-gradient(180deg, rgba(14, 31, 47, 0.018), transparent);
}

.page-tete::before {
  content: "TANJIRO STUDIO";
  position: absolute;
  right: var(--marge);
  bottom: -34px;
  color: rgba(14, 31, 47, 0.022);
  font-family: var(--titre);
  font-size: clamp(100px, 16vw, 260px);
  font-weight: 700;
  line-height: .78;
  letter-spacing: -.04em;
  white-space: nowrap;
  pointer-events: none;
}

.page-tete > * { position: relative; z-index: 1; }

.page-tete h1 {
  color: #0E1F2F;
  font-size: clamp(72px, 9vw, 138px);
  line-height: .78;
  letter-spacing: -.035em;
  text-transform: uppercase;
}

.page-tete .intro { color: var(--brume); font-size: 18px; line-height: 1.6; }
.page-tete + .section { padding-top: 80px; }

/* ---------- Portfolio ---------- */

.travaux {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.travail,
.galerie .travail {
  position: relative;
  min-width: 0;
  gap: 0;
  padding: 10px;
  overflow: hidden;
  border: 1px solid rgba(14, 31, 47, 0.08);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(14, 31, 47, 0.035), rgba(14, 31, 47, 0.012));
  box-shadow: inset 0 1px 0 rgba(14, 31, 47, 0.025);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.travail::after {
  content: "";
  position: absolute;
  inset: -50% 72% -50% -40%;
  pointer-events: none;
  transform: rotate(18deg) translateX(-100%);
  background: rgba(14, 31, 47, 0.035);
  transition: transform .6s ease;
}

.travail:hover {
  transform: translateY(-5px);
  border-color: rgba(95, 179, 245, 0.2);
  box-shadow: 0 24px 55px rgba(16, 42, 74, 0.099), inset 0 1px 0 rgba(14, 31, 47, 0.04);
}
.travail:hover::after { transform: rotate(18deg) translateX(330%); }

.travail.vedette { grid-column: span 2; }

.visuel {
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(14, 31, 47, 0.065);
  border-radius: 15px;
  background:
    radial-gradient(circle at 50% 40%, rgba(95, 179, 245, 0.055), transparent 60%),
    #F6F8FB;
}

.travail.vedette .visuel { aspect-ratio: 16 / 9; }

.visuel img {
  padding: 3px;
  object-fit: contain;
  transition: transform .45s ease;
}

.travail:hover .visuel img { transform: scale(1.014); }

.travail-texte {
  gap: 9px;
  padding: 20px 12px 12px;
}

.travail h3, .travail h2 {
  color: #0E1F2F;
  font-family: var(--corps);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.025em;
}

.travail.vedette h3 { font-size: 26px; }
.travail p { color: var(--brume); font-size: 14px; line-height: 1.6; }
.travail > .lien-accent { margin: 0 12px 10px; }

.etiquettes { gap: 6px; }
.etiquettes li {
  padding: 5px 9px;
  border: 1px solid rgba(95, 179, 245, 0.1);
  border-radius: 7px;
  background: rgba(95, 179, 245, 0.05);
  color: #D6ECFC;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.galerie {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.agrandir { border-radius: 15px; }
.agrandir:hover .visuel { border-color: rgba(95, 179, 245, 0.28); }

.bloc-services {
  margin-top: 100px;
  padding-top: 70px;
  border-top: 1px solid rgba(14, 31, 47, 0.065);
}

.services {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.service {
  position: relative;
  min-height: 210px;
  padding: 26px 22px;
  gap: 12px;
  overflow: hidden;
  border: 1px solid rgba(14, 31, 47, 0.075);
  border-radius: 18px;
  background: rgba(14, 31, 47, 0.018);
}

.service::before {
  display: block;
  margin-bottom: auto;
  color: var(--accent);
  font-family: var(--titre);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  opacity: .7;
}
.service:nth-child(1)::before { content: "01"; }
.service:nth-child(2)::before { content: "02"; }
.service:nth-child(3)::before { content: "03"; }
.service:nth-child(4)::before { content: "04"; }

.service::after {
  content: "";
  position: absolute;
  right: -38px;
  top: -38px;
  width: 100px;
  height: 100px;
  border: 1px solid rgba(95, 179, 245, 0.08);
  border-radius: 50%;
}

.service h3 { color: #0E1F2F; font-size: 18px; }
.service p { color: var(--brume); font-size: 14px; line-height: 1.6; }

/* ---------- Resources ---------- */

.vide {
  padding: 34px;
  border: 1px solid rgba(95, 179, 245, 0.16);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(95, 179, 245, 0.04), rgba(14, 31, 47, 0.01));
}

.ressources {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  border: 0;
}

.ressources li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px 16px;
  padding: 20px;
  border: 1px solid rgba(14, 31, 47, 0.075);
  border-radius: 18px;
  background: rgba(14, 31, 47, 0.018);
}

.ressources .miniature {
  grid-row: span 3;
  width: 82px;
  height: 82px;
  border: 1px solid rgba(14, 31, 47, 0.08);
  border-radius: 14px;
  background: #F6F8FB;
}

.ressources .infos { min-width: 0; }
.ressources h3 { color: #0E1F2F; font-size: 18px; }
.ressources p { color: var(--brume); font-size: 13px; }
.ressources .type, .ressources .format { flex: none; color: var(--pale); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.ressources .bouton { grid-column: 2; justify-self: start; }

/* ---------- Shop ---------- */

.produits, .shopGrid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.product {
  position: relative;
  gap: 16px;
  padding: 10px 10px 16px;
  overflow: hidden;
  border: 1px solid rgba(14, 31, 47, 0.08);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(14, 31, 47, 0.035), rgba(14, 31, 47, 0.012));
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.product:hover {
  transform: translateY(-5px);
  border-color: rgba(95, 179, 245, 0.2);
  box-shadow: 0 24px 56px rgba(16, 42, 74, 0.099);
}

.product > img {
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(14, 31, 47, 0.055);
  border-radius: 15px;
  background:
    radial-gradient(circle at 50% 40%, rgba(95, 179, 245, 0.055), transparent 58%),
    #F6F8FB;
}

.product > div { gap: 9px; padding: 2px 10px; }

.product .tag {
  padding: 5px 9px;
  border: 1px solid rgba(95, 179, 245, 0.12);
  border-radius: 7px;
  background: rgba(95, 179, 245, 0.055);
  color: #D6ECFC;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.product h3, .product h2 { color: #0E1F2F; font-size: 19px; letter-spacing: -.025em; }
.product p { color: var(--brume); font-size: 13px; line-height: 1.6; }
.product strong { color: var(--accent-2); font-family: var(--corps); font-size: 21px; }
.product .btn { margin: 0 10px; }

.product.sur-mesure {
  border-color: rgba(95, 179, 245, 0.16);
  background: linear-gradient(145deg, rgba(95, 179, 245, 0.055), rgba(14, 31, 47, 0.012));
}

.emptyPanel,
.adminForm,
.adminListBox {
  border-color: rgba(14, 31, 47, 0.09);
  background: rgba(14, 31, 47, 0.02);
}

/* ---------- Discord ---------- */

.section-discord { padding-top: 72px; padding-bottom: 72px; }

.bande {
  position: relative;
  gap: 44px 70px;
  padding: clamp(34px, 5vw, 70px);
  overflow: hidden;
  border: 1px solid rgba(95, 179, 245, 0.18);
  border-radius: 30px;
  background:
    radial-gradient(circle at 12% 35%, rgba(95, 179, 245, 0.18), transparent 24rem),
    linear-gradient(135deg, #0B2540 0%, #0B2540 50%, #F2F6FA 100%);
  box-shadow: 0 38px 80px rgba(16, 42, 74, 0.126), inset 0 1px 0 rgba(14, 31, 47, 0.035);
}

.bande::after {
  content: "COMMUNITY";
  position: absolute;
  right: -12px;
  top: -34px;
  color: rgba(14, 31, 47, 0.022);
  font-family: var(--titre);
  font-size: clamp(90px, 13vw, 190px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.04em;
  pointer-events: none;
}

.lune {
  display: grid;
  place-items: center;
  flex-basis: 160px;
  width: 160px;
  height: 160px;
  border: 1px solid rgba(95, 179, 245, 0.25);
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(95, 179, 245, 0.2), rgba(95, 179, 245, 0.055));
  box-shadow: 0 22px 60px rgba(16, 42, 74, 0.126), inset 0 1px 0 rgba(14, 31, 47, 0.06), 0 0 55px rgba(95, 179, 245, 0.08);
  transform: rotate(-6deg);
}

.lune::after {
  content: "</>";
  position: static;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  color: var(--accent-2);
  font-family: var(--titre);
  font-size: 54px;
  font-weight: 700;
  letter-spacing: -.08em;
  transform: rotate(6deg);
}

.bande-texte { position: relative; z-index: 1; }
.bande-texte h2 { color: #0E1F2F; font-size: clamp(50px, 6vw, 82px); text-transform: uppercase; letter-spacing: -.03em; }

.serveurs { gap: 12px; }
.serveur {
  padding: 20px;
  border: 1px solid rgba(14, 31, 47, 0.08);
  border-radius: 18px;
  background: rgba(247, 250, 252, 0.44);
  box-shadow: inset 0 1px 0 rgba(14, 31, 47, 0.025);
}
.serveur-tete img { border: 1px solid rgba(14, 31, 47, 0.09); border-radius: 14px; }
.serveur h3 { color: #0E1F2F; font-size: 19px; }
.serveur p { color: var(--brume); font-size: 14px; }

/* ---------- About ---------- */

.apropos {
  display: grid;
  grid-template-columns: minmax(260px, .52fr) minmax(0, 1fr);
  gap: clamp(44px, 7vw, 110px);
  align-items: center;
}

.apropos-logo {
  position: relative;
  max-width: 420px;
}

.apropos-logo::before {
  content: "";
  position: absolute;
  inset: 10% -10% -10% 10%;
  z-index: -1;
  border-radius: 34px;
  background: rgba(95, 179, 245, 0.09);
  filter: blur(40px);
}

.apropos-logo img {
  border: 1px solid rgba(95, 179, 245, 0.16);
  border-radius: 30px;
  background: #F9FBFD;
  box-shadow: 0 34px 80px rgba(16, 42, 74, 0.158), inset 0 1px 0 rgba(14, 31, 47, 0.04);
}

.apropos-texte { max-width: 820px; gap: 25px; }
.apropos-texte h1, .apropos-texte h2 { font-size: clamp(58px, 7vw, 96px); line-height: .86; text-transform: uppercase; }
.apropos-texte .grand { color: #0E1F2F; font-size: 20px; line-height: 1.65; }
.apropos-texte .second { color: var(--brume); font-size: 16px; line-height: 1.75; }
.contact { padding-top: 5px; color: var(--pale); }

.bloc-competences {
  margin-top: 100px;
  padding-top: 68px;
  border-top: 1px solid rgba(14, 31, 47, 0.065);
}

.competences {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 26px;
}

.competences li {
  padding: 16px 18px;
  gap: 11px;
  border: 1px solid rgba(14, 31, 47, 0.065);
  border-radius: 14px;
  background: rgba(14, 31, 47, 0.015);
}

.competence-tete { color: #0E1F2F; font-size: 13px; font-weight: 600; }
.competence-tete span:last-child { color: var(--accent-2); }
.jauge { height: 5px; background: rgba(14, 31, 47, 0.06); }
.jauge span { background: linear-gradient(90deg, var(--accent-dark), var(--accent-2)); box-shadow: 0 0 14px rgba(95, 179, 245, 0.2); }

.realisations { gap: 8px; }
.realisations li {
  padding: 10px 14px;
  border-color: rgba(95, 179, 245, 0.12);
  border-radius: 10px;
  background: rgba(95, 179, 245, 0.035);
  color: #1A3959;
  font-size: 13px;
}

/* ---------- Lightbox ---------- */

.lightbox {
  background: rgba(250, 252, 253, 0.92);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.lightbox img {
  border: 1px solid rgba(95, 179, 245, 0.18);
  border-radius: 20px;
  box-shadow: 0 35px 100px rgba(16, 42, 74, 0.248);
}

#lightboxClose {
  border-color: rgba(14, 31, 47, 0.12);
  border-radius: 14px;
  background: rgba(11, 37, 64, 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

/* ---------- Footer ---------- */

.pied {
  position: relative;
  min-height: 120px;
  padding: 30px var(--marge);
  border-top: 1px solid rgba(14, 31, 47, 0.07);
  background: rgba(249, 251, 253, 0.72);
  color: var(--pale);
}

.pied-marque { display: flex; align-items: center; gap: 12px; }
.pied-point { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px rgba(95, 179, 245, 0.7); }
.pied-marque div { display: flex; flex-direction: column; gap: 2px; }
.pied-marque strong { color: #0E1F2F; font-family: var(--titre); font-size: 23px; line-height: 1; }
.pied-marque span { color: var(--pale); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.pied p { color: #7B8FA4; font-size: 12px; }
.pied .pied-haut { gap: 8px; color: #435261; font-size: 13px; font-weight: 600; text-decoration: none; }
.pied .pied-haut span { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid rgba(14, 31, 47, 0.09); border-radius: 9px; }
.pied .pied-haut:hover { color: #0E1F2F; text-decoration: none; }

/* ---------- Staff redesign ---------- */

.staff { background: transparent; }

.staff-accueil {
  max-width: 520px;
  margin: 8vh auto;
  padding: 34px;
  border: 1px solid rgba(14, 31, 47, 0.09);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(14, 31, 47, 0.035), rgba(14, 31, 47, 0.012));
  box-shadow: var(--ombre);
}

.staff-entete {
  min-height: 78px;
  padding: 12px var(--marge);
  border-bottom-color: rgba(14, 31, 47, 0.07);
  background: rgba(248, 250, 252, 0.76);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.staff-onglets {
  gap: 7px;
  padding: 12px var(--marge);
  border-bottom-color: rgba(14, 31, 47, 0.06);
  background: rgba(243, 246, 250, 0.72);
}

.staff-onglets a {
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 11px;
  color: var(--brume);
  font-size: 13px;
}
.staff-onglets a:hover { border-color: rgba(14, 31, 47, 0.08); background: rgba(14, 31, 47, 0.03); }
.staff-onglets a[aria-current="page"] {
  border-color: rgba(95, 179, 245, 0.13);
  background: rgba(95, 179, 245, 0.06);
  color: var(--accent-2);
  box-shadow: none;
}

.compteur { background: rgba(14, 31, 47, 0.06); color: var(--brume); }
.staff-contenu { padding-top: 36px; }

.staff-message {
  border-color: rgba(95, 179, 245, 0.25);
  border-radius: 14px;
  background: rgba(95, 179, 245, 0.055);
}
.staff-message.erreur { border-color: rgba(95, 179, 245, 0.35); background: rgba(95, 179, 245, 0.06); }

.staff-carte {
  padding: 26px;
  border: 1px solid rgba(14, 31, 47, 0.08);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(14, 31, 47, 0.032), rgba(14, 31, 47, 0.012));
  box-shadow: inset 0 1px 0 rgba(14, 31, 47, 0.022);
}

.staff-carte h1, .staff-carte h2 { color: #0E1F2F; font-size: 38px; letter-spacing: -.02em; text-transform: uppercase; }
.staff-aide { color: var(--brume); }

.formulaire input:not([type="file"]),
.formulaire textarea,
.formulaire select,
.adminForm input,
.adminForm textarea {
  border-color: rgba(14, 31, 47, 0.09);
  border-radius: 12px;
  background: #F6F8FB;
  color: #0E1F2F;
}

.formulaire input:focus,
.formulaire textarea:focus,
.formulaire select:focus,
.adminForm input:focus,
.adminForm textarea:focus {
  outline-color: rgba(95, 179, 245, 0.55);
  border-color: rgba(95, 179, 245, 0.25);
}

.staff-image { border-color: rgba(95, 179, 245, 0.14); border-radius: 14px; }
.staff-liste li { border-bottom-color: rgba(14, 31, 47, 0.06); }

/* ---------- Motion ---------- */

.motion-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .65s ease, transform .65s cubic-bezier(.2,.7,.2,1);
}
.motion-ready .reveal.show { opacity: 1; transform: none; }
.motion-ready .reveal:nth-child(2) { transition-delay: .045s; }
.motion-ready .reveal:nth-child(3) { transition-delay: .09s; }
.motion-ready .reveal:nth-child(4) { transition-delay: .135s; }

/* ---------- Responsive ---------- */

@media (max-width: 1240px) {
  .hero { grid-template-columns: minmax(0, .88fr) minmax(470px, 1.12fr); gap: 46px; }
  .travaux { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .travail.vedette { grid-column: span 2; }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .produits, .shopGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1020px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 66px;
    padding-top: 86px;
  }
  .hero-texte { max-width: 760px; }
  .hero h1 { max-width: 8ch; font-size: clamp(88px, 16vw, 150px); }
  .hero-visual { width: min(760px, 100%); }
  .hero-console { transform: none; }
  .badge-a { left: 12px; top: -18px; }
  .badge-b { right: 12px; bottom: -18px; }
  .apropos { grid-template-columns: minmax(230px, .42fr) 1fr; gap: 52px; }
}

@media (max-width: 900px) {
  .entete { align-items: center; }
  .burger { display: inline-flex; }
  .menu {
    position: absolute;
    top: calc(100% + 8px);
    left: var(--marge);
    right: var(--marge);
    width: auto;
    padding: 10px;
    border: 1px solid rgba(14, 31, 47, 0.1);
    border-radius: 18px;
    background: rgba(245, 248, 251, 0.96);
    box-shadow: 0 28px 70px rgba(16, 42, 74, 0.203);
    -webkit-backdrop-filter: blur(22px);
    backdrop-filter: blur(22px);
  }
  .menu.open { display: flex; }
  .menu a { justify-content: flex-start; min-height: 48px; padding: 0 14px; }
  .menu .bouton-discord, .menu .bouton-staff { margin: 4px 0 0; justify-content: center; }
  .page-tete { min-height: 280px; }
  .galerie { grid-template-columns: 1fr; }
  .apropos { grid-template-columns: 1fr; }
  .apropos-logo { width: min(360px, 100%); }
  .ressources { grid-template-columns: 1fr; }
  .staff-colonnes { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  :root { --marge: 18px; }
  body::before { background-size: 42px 42px; opacity: .10; }
  .entete { min-height: 70px; padding-block: 9px; }
  .marque-texte strong { font-size: 23px; }
  .marque-texte small { font-size: 8px; letter-spacing: .16em; }
  .marque-symbole { width: 42px; height: 42px; border-radius: 12px; }
  .section { padding-top: 86px; padding-bottom: 86px; }
  .section-tete { margin-bottom: 38px; }
  .section-tete h2 { font-size: clamp(50px, 17vw, 76px); }
  .hero { padding-top: 66px; padding-bottom: 104px; gap: 56px; }
  .hero-texte { gap: 23px; }
  .hero-texte::before { font-size: 8px; letter-spacing: .13em; }
  .hero h1 { font-size: clamp(72px, 24vw, 112px); line-height: .79; }
  .hero .intro { font-size: 17px; }
  .actions { width: 100%; }
  .actions .bouton { flex: 1 1 190px; }
  .chiffres { grid-template-columns: 1fr 1fr; }
  .chiffres div { min-height: 88px; padding: 15px; }
  .chiffres dt { font-size: 15px; }
  .console-barre { grid-template-columns: auto 1fr; }
  .console-status { display: none; }
  .console-brand { grid-template-columns: 64px 1fr; gap: 14px; padding: 18px 16px 14px; }
  .console-logo { border-radius: 15px; }
  .console-brand-texte strong { font-size: 17px; }
  .console-brand-texte p { display: none; }
  .console-previews { grid-template-columns: 1fr; }
  .preview img { min-height: 210px; }
  .preview-secondaire { display: none; }
  .console-stack { padding-bottom: 14px; }
  .hero-badge { font-size: 9px; min-height: 30px; }
  .page-tete { min-height: 250px; padding-top: 70px; padding-bottom: 42px; }
  .page-tete h1 { font-size: clamp(64px, 20vw, 98px); }
  .travaux { grid-template-columns: 1fr; }
  .travail.vedette { grid-column: auto; }
  .travail.vedette h3 { font-size: 21px; }
  .services { grid-template-columns: 1fr; }
  .service { min-height: 180px; }
  .produits, .shopGrid { grid-template-columns: 1fr; }
  .bande { padding: 28px 20px; border-radius: 24px; }
  .lune { width: 104px; height: 104px; flex-basis: 104px; border-radius: 24px; }
  .lune::after { font-size: 38px; }
  .bande-texte h2 { font-size: 54px; }
  .apropos-texte h1, .apropos-texte h2 { font-size: 62px; }
  .bloc-competences { margin-top: 74px; padding-top: 52px; }
  .competences { grid-template-columns: 1fr; }
  .pied { align-items: flex-start; flex-direction: column; padding-top: 28px; padding-bottom: 28px; }
  .pied p { order: 3; }
  .staff-accueil { margin: 26px 16px; padding: 22px; }
  .staff-carte { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .motion-ready .reveal { opacity: 1; transform: none; }
}

/* Final staff consistency */
.bouton-danger {
  border-color: rgba(95, 179, 245, 0.3);
  background: rgba(95, 179, 245, 0.045);
  color: #D6ECFC;
}
.bouton-danger:hover {
  border-color: rgba(95, 179, 245, 0.55);
  background: rgba(95, 179, 245, 0.08);
  color: #0E1F2F;
}


/* === Tanjiro Studio : logos affichés dans leurs vraies couleurs === */
.marque-symbole img,
.console-logo img,
.apropos-logo img,
.serveur-tete img {
  filter: none;
}

/* ==========================================================
   TANJIRO STUDIO — DIRECTION ARTISTIQUE 2026 / V3
   Signal Red · Editorial Dark · Bento UI
   ========================================================== */

:root {
  --accent: #5FB3F5;
  --accent-2: #96CDFA;
  --accent-soft: rgba(95, 179, 245, 0.12);
  --accent-glow: rgba(95, 179, 245, 0.3);
  --sur-accent: #0B2540;
  --nuit: #F7FAFC;
  --nuit-2: #F2F6FA;
  --encre: #EAF0F7;
  --encre-2: #E2EBF4;
  --etiquette: rgba(14, 31, 47, 0.055);
  --separation: rgba(14, 31, 47, 0.075);
  --ligne: rgba(14, 31, 47, 0.095);
  --ligne-2: rgba(14, 31, 47, 0.15);
  --ligne-forte: rgba(95, 179, 245, 0.32);
  --texte: #0E1F2F;
  --texte-2: #152E47;
  --brume: #536578;
  --pale: #7E92A6;
  --marge: clamp(20px, 4.6vw, 76px);
  --contenu: 1480px;
  --rayon: 28px;
  --rayon-petit: 17px;
  --ombre: 0 28px 100px rgba(16, 42, 74, 0.18);
  --glow: 0 0 100px rgba(95, 179, 245, 0.12);
}

html { background: #F7FAFC; }

body {
  background:
    radial-gradient(circle at 12% -5%, rgba(95, 179, 245, 0.115), transparent 33rem),
    radial-gradient(circle at 84% 16%, rgba(95, 179, 245, 0.06), transparent 28rem),
    linear-gradient(180deg, #F7FAFC 0%, #F4F8FB 38%, #F7FAFC 100%);
  color: var(--texte);
  letter-spacing: -.018em;
}

body::before {
  opacity: .20;
  background-image:
    linear-gradient(rgba(14, 31, 47, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 31, 47, 0.024) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #102A4A 0%, rgba(16, 42, 74, 0.189) 55%, transparent 92%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(700px circle at var(--cursor-x, 78%) var(--cursor-y, 18%), rgba(95, 179, 245, 0.055), transparent 45%);
}

.site-noise {
  position: fixed;
  inset: 0;
  z-index: 99;
  pointer-events: none;
  opacity: .018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}

.skip-link {
  position: fixed;
  left: 18px;
  top: 12px;
  z-index: 999;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 10px;
  background: #0E1F2F;
  color: #F2F6FA;
  text-decoration: none;
  font-weight: 700;
}
.skip-link:focus { transform: none; }

main { overflow: clip; }

/* Floating 2026 navigation */
.entete {
  position: sticky;
  top: 12px;
  z-index: 50;
  width: min(calc(100% - 28px), var(--contenu));
  min-height: 70px;
  margin: 12px auto 0;
  padding: 9px 10px 9px 14px;
  border: 1px solid rgba(14, 31, 47, 0.09);
  border-radius: 22px;
  background: rgba(239, 244, 249, 0.7);
  box-shadow: 0 16px 50px rgba(16, 42, 74, 0.09), inset 0 1px rgba(14, 31, 47, 0.035);
  -webkit-backdrop-filter: blur(22px) saturate(135%);
  backdrop-filter: blur(22px) saturate(135%);
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.entete.is-scrolled {
  background: rgba(242, 246, 250, 0.88);
  border-color: rgba(14, 31, 47, 0.12);
  box-shadow: 0 18px 55px rgba(16, 42, 74, 0.144), inset 0 1px rgba(14, 31, 47, 0.04);
}

.marque { gap: 11px; min-height: 50px; }
.marque-symbole {
  width: 46px;
  height: 46px;
  padding: 4px;
  border: 1px solid rgba(14, 31, 47, 0.1);
  border-radius: 14px;
  background: rgba(14, 31, 47, 0.035);
  overflow: hidden;
}
.marque-symbole img { width: 100%; height: 100%; border-radius: 10px; object-fit: cover; }
.marque-texte { display: flex; flex-direction: column; gap: 2px; }
.marque-texte strong { font-size: 26px; letter-spacing: -.025em; }
.marque-texte small { color: var(--brume); font-family: var(--corps); font-size: 9px; font-weight: 700; letter-spacing: .20em; text-transform: uppercase; }

.menu { gap: 4px; }
.menu a {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 13px;
  color: #485868;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}
.menu a:hover {
  color: #0E1F2F;
  text-decoration: none;
  background: rgba(14, 31, 47, 0.045);
  border-color: rgba(14, 31, 47, 0.06);
}
.menu a[aria-current="page"] {
  color: #0E1F2F;
  text-decoration: none;
  background: rgba(14, 31, 47, 0.055);
  border-color: rgba(14, 31, 47, 0.08);
}
.menu .bouton-discord {
  margin-left: 6px;
  padding-inline: 16px;
  background: #0E1F2F;
  border-color: #0E1F2F;
  color: #F1F6FA;
}
.menu .bouton-discord:hover { background: #0E1F2F; color: #F3F6FA; transform: translateY(-1px); }
.menu .bouton-staff { color: #D6ECFC; background: rgba(95, 179, 245, 0.09); border-color: rgba(95, 179, 245, 0.15); }

.burger {
  width: 46px;
  height: 46px;
  border-color: rgba(14, 31, 47, 0.1);
  border-radius: 13px;
  background: rgba(14, 31, 47, 0.035);
}

/* Buttons */
.bouton, .btn {
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid rgba(14, 31, 47, 0.13);
  border-radius: 15px;
  background: rgba(14, 31, 47, 0.035);
  color: #0E1F2F;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -.01em;
  box-shadow: inset 0 1px rgba(14, 31, 47, 0.025);
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.bouton:hover, .btn:hover {
  transform: translateY(-2px);
  border-color: rgba(14, 31, 47, 0.24);
  background: rgba(14, 31, 47, 0.065);
  color: #0E1F2F;
}
.bouton-plein, .btn.primary {
  position: relative;
  overflow: hidden;
  border-color: #5FB3F5;
  background: linear-gradient(135deg, #5FB3F5, #70B8F3);
  color: #0E1F2F;
  box-shadow: 0 12px 34px rgba(95, 179, 245, 0.18), inset 0 1px rgba(14, 31, 47, 0.22);
}
.bouton-plein::after, .btn.primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 20%, rgba(14, 31, 47, 0.2) 48%, transparent 72%);
  transform: translateX(-120%);
  transition: transform .55s ease;
}
.bouton-plein:hover::after, .btn.primary:hover::after { transform: translateX(120%); }
.bouton-plein:hover, .btn.primary:hover {
  border-color: #96CDFA;
  color: #0E1F2F;
  box-shadow: 0 16px 42px rgba(95, 179, 245, 0.25), inset 0 1px rgba(14, 31, 47, 0.24);
}
.lien-accent { color: #96CDFA; font-size: 14px; text-decoration: none; }
.lien-accent::after { content: " ↗"; }
.lien-accent:hover { color: #0E1F2F; }

/* Shared layout */
.section, .page-tete, .hero {
  width: min(100%, calc(var(--contenu) + (var(--marge) * 2)));
  margin-inline: auto;
}
.section { padding: 126px var(--marge); }
.section + .section { border-top-color: rgba(14, 31, 47, 0.055); }
.section-sombre {
  position: relative;
  background: transparent;
}
.section-sombre::before {
  content: "";
  position: absolute;
  inset: 28px clamp(12px, 2vw, 28px);
  z-index: -1;
  border: 1px solid rgba(14, 31, 47, 0.055);
  border-radius: 36px;
  background: linear-gradient(150deg, rgba(14, 31, 47, 0.025), rgba(14, 31, 47, 0.008));
}

.section-tete { align-items: end; margin-bottom: 54px; }
.section-tete h2, .page-tete h1, .apropos-texte h1, .apropos-texte h2, .sous-titre {
  color: #0E1F2F;
  text-transform: uppercase;
  letter-spacing: -.035em;
}
.section-tete h2 { font-size: clamp(60px, 6.2vw, 96px); line-height: .84; }
.section-tete p { max-width: 35em; color: #576A7D; font-size: 15px; line-height: 1.75; }
.section-tete::before {
  content: "TANJIRO / 2026";
  display: block;
  width: 100%;
  margin-bottom: -2px;
  color: #7D91A5;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .18em;
}
.sous-titre { font-size: clamp(44px, 4vw, 68px); }

/* Hero */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .93fr) minmax(520px, 1.07fr);
  align-items: center;
  gap: clamp(54px, 6vw, 96px);
  min-height: calc(100svh - 94px);
  padding: 100px var(--marge) 132px;
}
.hero::before {
  content: "TANJIRO";
  position: absolute;
  left: var(--marge);
  bottom: 16px;
  z-index: -1;
  color: transparent;
  font-family: var(--titre);
  font-size: clamp(105px, 15vw, 245px);
  font-weight: 700;
  line-height: .7;
  letter-spacing: -.04em;
  -webkit-text-stroke: 1px rgba(14, 31, 47, 0.035);
  pointer-events: none;
}
.hero-texte { max-width: 680px; gap: 0; }
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: max-content;
  margin-bottom: 26px;
  padding: 7px 10px;
  border: 1px solid rgba(14, 31, 47, 0.09);
  border-radius: 999px;
  background: rgba(14, 31, 47, 0.025);
  color: #4B5C6C;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero-kicker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5FB3F5;
  box-shadow: 0 0 16px rgba(95, 179, 245, 0.82);
  animation: pulseSignal 2.6s ease-in-out infinite;
}
@keyframes pulseSignal { 50% { opacity: .42; box-shadow: 0 0 5px rgba(95, 179, 245, 0.25); } }

.hero h1 {
  display: flex;
  flex-direction: column;
  margin: 0;
  font-size: clamp(88px, 9vw, 154px);
  line-height: .76;
  letter-spacing: -.055em;
  text-transform: uppercase;
}
.hero h1 span { color: #0E1F2F; }
.hero h1 em {
  color: #5FB3F5;
  font-style: normal;
  text-shadow: 0 18px 70px rgba(95, 179, 245, 0.16);
}
.hero .intro {
  max-width: 36em;
  margin: 32px 0 0;
  color: #495968;
  font-size: clamp(17px, 1.25vw, 20px);
  line-height: 1.72;
}
.actions { margin-top: 30px; gap: 10px; }
.hero-proof {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 12px;
  max-width: 520px;
  margin-top: 31px;
}
.hero-proof-line { height: 1px; background: linear-gradient(90deg, #5FB3F5, rgba(95, 179, 245, 0.1)); }
.hero-proof p { margin: 0; color: #7E92A6; font-size: 11px; line-height: 1.55; }
.hero-proof strong { color: #495969; font-weight: 600; }

.chiffres {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  margin: 30px 0 0;
  padding: 0;
  gap: 8px;
  border: 0;
}
.chiffres div {
  min-height: 92px;
  padding: 16px;
  border: 1px solid rgba(14, 31, 47, 0.075);
  border-radius: 17px;
  background: rgba(14, 31, 47, 0.018);
}
.chiffres dt { color: #0E1F2F; font-size: 20px; font-weight: 800; letter-spacing: -.03em; }
.chiffres dd { margin: 3px 0 0; color: #8093A6; font-size: 9px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }

.hero-visual {
  position: relative;
  min-width: 0;
  padding: 28px 0;
}
.hero-ambient {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  pointer-events: none;
}
.hero-ambient-a {
  width: 400px; height: 400px; right: 5%; top: 4%;
  background: radial-gradient(circle, rgba(95, 179, 245, 0.18), rgba(95, 179, 245, 0) 68%);
}
.hero-ambient-b {
  width: 320px; height: 320px; left: 2%; bottom: 0;
  background: radial-gradient(circle, rgba(14, 31, 47, 0.05), rgba(14, 31, 47, 0) 70%);
}
.hero-console {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 1px solid rgba(14, 31, 47, 0.11);
  border-radius: 30px;
  background:
    radial-gradient(circle at var(--mx, 70%) var(--my, 15%), rgba(95, 179, 245, 0.1), transparent 24%),
    linear-gradient(145deg, rgba(14, 31, 47, 0.05), rgba(14, 31, 47, 0.015));
  box-shadow: 0 35px 120px rgba(16, 42, 74, 0.225), inset 0 1px rgba(14, 31, 47, 0.055);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  transform: perspective(1300px) rotateY(-2.5deg) rotateX(1deg);
  transition: transform .45s cubic-bezier(.2,.8,.2,1), border-color .25s ease;
}
.hero-console:hover { transform: perspective(1300px) rotateY(0deg) rotateX(0deg) translateY(-4px); border-color: rgba(95, 179, 245, 0.2); }
.console-barre {
  min-height: 48px;
  padding: 0 17px;
  border-bottom: 1px solid rgba(14, 31, 47, 0.075);
  background: rgba(16, 42, 74, 0.068);
}
.console-points span { width: 7px; height: 7px; background: #B6C2CD; }
.console-points span:first-child { background: #5FB3F5; }
.console-label, .console-status { font-size: 8px; letter-spacing: .15em; }
.console-status { color: #4B5C6C; }
.console-status i { background: #5FB3F5; box-shadow: 0 0 12px rgba(95, 179, 245, 0.75); }

.console-brand {
  grid-template-columns: 82px 1fr;
  gap: 18px;
  padding: 24px 24px 18px;
}
.console-logo {
  border: 1px solid rgba(14, 31, 47, 0.09);
  border-radius: 21px;
  background: rgba(14, 31, 47, 0.025);
  box-shadow: inset 0 1px rgba(14, 31, 47, 0.04);
}
.console-brand-texte span { color: #788DA2; font-size: 8px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.console-brand-texte strong { margin-top: 3px; color: #0E1F2F; font-size: 21px; }
.console-brand-texte p { color: #63798E; font-size: 12px; line-height: 1.55; }

.console-previews { grid-template-columns: 1.35fr .65fr; gap: 9px; padding: 0 9px; }
.preview {
  position: relative;
  overflow: hidden;
  min-height: 286px;
  margin: 0;
  border: 1px solid rgba(14, 31, 47, 0.075);
  border-radius: 20px;
  background: #F2F6FA;
}
.preview img {
  width: 100%;
  height: 100%;
  min-height: 286px;
  object-fit: cover;
  opacity: .84;
  filter: saturate(.84) contrast(1.03);
  transition: transform .65s cubic-bezier(.2,.8,.2,1), opacity .3s ease, filter .3s ease;
}
.preview:hover img { transform: scale(1.025); opacity: 1; filter: saturate(1) contrast(1.04); }
.preview::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 42%, rgba(247, 250, 252, 0.92)); pointer-events: none; }
.preview figcaption { z-index: 2; left: 17px; right: 17px; bottom: 15px; }
.preview figcaption span { color: #96CDFA; font-size: 8px; font-weight: 800; letter-spacing: .13em; }
.preview figcaption strong { margin-top: 3px; color: #0E1F2F; font-size: 14px; }
.console-stack { gap: 6px; padding: 12px 14px 16px; }
.console-stack span {
  padding: 6px 9px;
  border: 1px solid rgba(14, 31, 47, 0.075);
  border-radius: 9px;
  background: rgba(14, 31, 47, 0.025);
  color: #768BA0;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.hero-float {
  position: absolute;
  z-index: 3;
  min-width: 126px;
  padding: 13px 14px;
  border: 1px solid rgba(14, 31, 47, 0.1);
  border-radius: 15px;
  background: rgba(234, 240, 247, 0.8);
  box-shadow: 0 18px 45px rgba(16, 42, 74, 0.153);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.hero-float small { display: block; margin-bottom: 3px; color: #8396A9; font-size: 7px; font-weight: 800; letter-spacing: .16em; }
.hero-float strong { color: #0E1F2F; font-size: 12px; }
.hero-float-a { top: 6px; right: -12px; }
.hero-float-b { left: -12px; bottom: 8px; }
.hero-float-b strong { color: #96CDFA; }
.hero-orbite, .hero-glow, .hero-badge { display: none !important; }

/* Page headers */
.page-tete {
  position: relative;
  min-height: 390px;
  padding: 118px var(--marge) 66px;
  overflow: hidden;
}
.page-tete::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: 0;
  top: -160px;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(95, 179, 245, 0.12), rgba(95, 179, 245, 0) 68%);
}
.page-tete h1 { max-width: 8ch; font-size: clamp(82px, 9vw, 142px); line-height: .78; }
.page-tete .intro { max-width: 34em; color: #576A7C; font-size: 16px; line-height: 1.72; }
.page-tete + .section { padding-top: 48px; }

/* Bento portfolio */
.travaux, .galerie {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
}
.travail {
  grid-column: span 6;
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(14, 31, 47, 0.075);
  border-radius: 24px;
  background:
    radial-gradient(circle at var(--mx, 75%) var(--my, 15%), rgba(95, 179, 245, 0.07), transparent 25%),
    rgba(14, 31, 47, 0.018);
  box-shadow: inset 0 1px rgba(14, 31, 47, 0.025);
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.travail:nth-child(3n+1) { grid-column: span 7; }
.travail:nth-child(3n+2) { grid-column: span 5; }
.travail.vedette { grid-column: span 12; display: grid; grid-template-columns: 1.45fr .55fr; align-items: stretch; }
.travail:hover { transform: translateY(-5px); border-color: rgba(95, 179, 245, 0.18); box-shadow: 0 24px 70px rgba(16, 42, 74, 0.108), inset 0 1px rgba(14, 31, 47, 0.035); }
.travail .visuel, .travail .agrandir { min-height: 315px; border: 0; border-radius: 0; background: #F2F6FA; }
.travail.vedette .visuel, .travail.vedette .agrandir { min-height: 430px; }
.travail .visuel img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease, filter .3s ease; }
.travail:hover .visuel img { transform: scale(1.015); }
.travail-texte { padding: 23px 23px 10px; }
.travail.vedette .travail-texte { display: flex; flex-direction: column; justify-content: end; padding: 36px; }
.travail h3, .travail h2 { margin: 0; color: #0E1F2F; font-family: var(--corps); font-size: 22px; font-weight: 700; letter-spacing: -.03em; }
.travail.vedette h3, .travail.vedette h2 { font-size: clamp(28px, 3vw, 44px); }
.travail p { color: #5F7388; font-size: 13px; line-height: 1.65; }
.travail > .lien-accent { margin: 0 23px 23px; }
.travail.vedette > .lien-accent { position: absolute; right: 24px; bottom: 20px; margin: 0; }
.etiquettes { gap: 5px; margin-top: 15px; }
.etiquettes li, .tag {
  padding: 6px 9px;
  border: 1px solid rgba(14, 31, 47, 0.075);
  border-radius: 9px;
  background: rgba(14, 31, 47, 0.025);
  color: #60758B;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Services */
.bloc-services { margin-top: 106px; }
.services { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.service {
  position: relative;
  min-height: 230px;
  padding: 25px;
  overflow: hidden;
  border: 1px solid rgba(14, 31, 47, 0.075);
  border-radius: 22px;
  background: rgba(14, 31, 47, 0.018);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.service::before { content: "0" counter(service); }
.services { counter-reset: service; }
.service { counter-increment: service; }
.service::before {
  position: absolute;
  top: 20px;
  right: 22px;
  color: rgba(14, 31, 47, 0.14);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}
.service::after {
  content: "";
  position: absolute;
  left: 24px;
  bottom: 24px;
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: #5FB3F5;
  box-shadow: 0 0 18px rgba(95, 179, 245, 0.45);
}
.service:hover { transform: translateY(-4px); border-color: rgba(95, 179, 245, 0.16); background: rgba(14, 31, 47, 0.025); }
.service h3 { margin: auto 0 10px; padding-top: 72px; color: #0E1F2F; font-size: 18px; }
.service p { margin: 0 0 28px; color: #657B92; font-size: 12px; line-height: 1.65; }

/* Resources */
.ressources { gap: 9px; }
.ressources li {
  min-height: 96px;
  padding: 10px 12px;
  border: 1px solid rgba(14, 31, 47, 0.075);
  border-radius: 18px;
  background: rgba(14, 31, 47, 0.018);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.ressources li:hover { transform: translateX(4px); border-color: rgba(95, 179, 245, 0.16); background: rgba(14, 31, 47, 0.027); }
.ressources .miniature { width: 112px; height: 74px; border-radius: 12px; }
.ressources .infos h3 { color: #0E1F2F; font-size: 16px; }
.ressources .infos p { color: #6B8198; font-size: 11px; }
.ressources .type, .ressources .format { color: #6D839A; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

/* Shop cards */
.produits, .shopGrid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.product {
  position: relative;
  min-height: 440px;
  padding: 9px;
  overflow: hidden;
  border: 1px solid rgba(14, 31, 47, 0.075);
  border-radius: 23px;
  background:
    radial-gradient(circle at var(--mx, 70%) var(--my, 10%), rgba(95, 179, 245, 0.07), transparent 25%),
    rgba(14, 31, 47, 0.018);
  box-shadow: inset 0 1px rgba(14, 31, 47, 0.025);
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.product:hover { transform: translateY(-5px); border-color: rgba(95, 179, 245, 0.18); box-shadow: 0 25px 65px rgba(16, 42, 74, 0.117); }
.product > img { width: 100%; height: 210px; padding: 0; border-radius: 16px; object-fit: cover; background: #F0F5FA; }
.product > div { padding: 17px 13px 13px; }
.product h3 { margin: 11px 0 7px; color: #0E1F2F; font-size: 18px; letter-spacing: -.025em; }
.product p { color: #667C93; font-size: 12px; line-height: 1.6; }
.product strong { color: #96CDFA; font-size: 14px; }
.product > .btn { width: calc(100% - 18px); margin: auto 9px 0; }

/* Discord */
.section-discord { padding-top: 46px; padding-bottom: 46px; }
.bande {
  position: relative;
  overflow: hidden;
  gap: clamp(30px, 5vw, 80px);
  padding: clamp(34px, 5vw, 68px);
  border: 1px solid rgba(95, 179, 245, 0.19);
  border-radius: 32px;
  background:
    radial-gradient(circle at 15% 25%, rgba(14, 31, 47, 0.11), transparent 14rem),
    radial-gradient(circle at 82% 120%, rgba(11, 37, 64, 0.55), transparent 26rem),
    linear-gradient(135deg, #72B9F4 0%, #3EA0EF 48%, #0B2540 100%);
  box-shadow: 0 30px 100px rgba(11, 37, 64, 0.25), inset 0 1px rgba(14, 31, 47, 0.14);
}
.bande::before {
  content: "DISCORD";
  position: absolute;
  right: -20px;
  bottom: -36px;
  color: rgba(14, 31, 47, 0.07);
  font-family: var(--titre);
  font-size: clamp(100px, 14vw, 210px);
  line-height: .8;
  pointer-events: none;
}
.lune {
  position: relative;
  width: 160px;
  height: 160px;
  flex-basis: 160px;
  border: 1px solid rgba(14, 31, 47, 0.2);
  border-radius: 32px;
  background: rgba(14, 31, 47, 0.09);
  box-shadow: inset 0 1px rgba(14, 31, 47, 0.18), 0 18px 50px rgba(16, 42, 74, 0.081);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.lune::after { color: #0E1F2F; }
.bande-texte h2 { color: #0E1F2F; font-size: clamp(58px, 6vw, 90px); text-transform: uppercase; line-height: .84; }
.serveurs { gap: 9px; }
.serveur {
  border: 1px solid rgba(14, 31, 47, 0.16);
  border-radius: 18px;
  background: rgba(246, 248, 251, 0.28);
  box-shadow: inset 0 1px rgba(14, 31, 47, 0.05);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.serveur p { color: rgba(14, 31, 47, 0.65); }
.serveur-tete h3 { color: #0E1F2F; }

/* About + skills */
.apropos { grid-template-columns: minmax(280px, .70fr) 1.30fr; gap: clamp(48px, 7vw, 112px); align-items: center; }
.apropos-logo {
  position: relative;
  padding: 42px;
  border: 1px solid rgba(14, 31, 47, 0.075);
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 44%, rgba(95, 179, 245, 0.12), transparent 45%),
    rgba(14, 31, 47, 0.018);
}
.apropos-logo::before, .apropos-logo::after { content: ""; position: absolute; width: 34px; height: 34px; border-color: rgba(95, 179, 245, 0.36); }
.apropos-logo::before { left: 17px; top: 17px; border-left: 1px solid; border-top: 1px solid; }
.apropos-logo::after { right: 17px; bottom: 17px; border-right: 1px solid; border-bottom: 1px solid; }
.apropos-logo img { filter: drop-shadow(0 24px 45px rgba(16, 42, 74, 0.126)); }
.apropos-texte h1, .apropos-texte h2 { font-size: clamp(66px, 7vw, 105px); line-height: .82; }
.apropos-texte .grand { max-width: 35em; color: #1B3D5F; font-size: 17px; line-height: 1.72; }
.apropos-texte .second { max-width: 40em; color: #687F96; font-size: 14px; line-height: 1.75; }
.contact { border-top-color: rgba(14, 31, 47, 0.075); color: #768BA0; }
.bloc-competences { margin-top: 110px; padding-top: 62px; border-top-color: rgba(14, 31, 47, 0.06); }
.competences { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
.competences li {
  padding: 16px;
  border: 1px solid rgba(14, 31, 47, 0.065);
  border-radius: 16px;
  background: rgba(14, 31, 47, 0.016);
}
.competence-tete { color: #495969; font-size: 10px; }
.competence-tete span:last-child { color: #96CDFA; }
.jauge { height: 4px; border-radius: 999px; background: rgba(14, 31, 47, 0.055); }
.jauge span { border-radius: inherit; background: linear-gradient(90deg, #4EA7F1, #5FB3F5); box-shadow: 0 0 12px rgba(95, 179, 245, 0.16); }

/* Footer */
.pied {
  width: min(calc(100% - 28px), var(--contenu));
  min-height: 130px;
  margin: 0 auto 14px;
  padding: 28px 26px;
  border: 1px solid rgba(14, 31, 47, 0.065);
  border-radius: 24px;
  background: rgba(14, 31, 47, 0.015);
}
.pied-point { background: #5FB3F5; box-shadow: 0 0 15px rgba(95, 179, 245, 0.7); }
.pied-marque strong { font-size: 24px; }
.pied-haut span { border-radius: 10px !important; }

/* Staff dashboard — same visual system */
.staff { background: #F6F8FB; }
.staff-entete {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: 76px;
  border-bottom-color: rgba(14, 31, 47, 0.07);
  background: rgba(243, 247, 251, 0.82);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}
.staff-onglets { border-bottom-color: rgba(14, 31, 47, 0.06); background: rgba(239, 244, 249, 0.78); }
.staff-onglets a { border-radius: 11px; }
.staff-onglets a[aria-current="page"] { border-color: rgba(95, 179, 245, 0.17); background: rgba(95, 179, 245, 0.08); color: #96CDFA; }
.staff-carte, .staff-accueil {
  border-color: rgba(14, 31, 47, 0.075);
  border-radius: 22px;
  background:
    radial-gradient(circle at var(--mx, 80%) var(--my, 0%), rgba(95, 179, 245, 0.055), transparent 28%),
    rgba(14, 31, 47, 0.018);
}
.staff-carte h1, .staff-carte h2 { font-size: 42px; }
.formulaire input:not([type="file"]), .formulaire textarea, .formulaire select,
.adminForm input, .adminForm textarea {
  min-height: 50px;
  border-color: rgba(14, 31, 47, 0.09);
  border-radius: 13px;
  background: rgba(16, 42, 74, 0.099);
}
.staff-image { border-radius: 16px; }
.staff-message { border-radius: 15px; }

/* Interactions */
.motion-ready .reveal { transform: translateY(24px) scale(.992); transition: opacity .72s ease, transform .72s cubic-bezier(.16,1,.3,1); }
.motion-ready .reveal.show { transform: none; }

@media (max-width: 1240px) {
  .hero { grid-template-columns: minmax(0, .90fr) minmax(460px, 1.10fr); gap: 48px; }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .produits, .shopGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .competences { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1020px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 92px; }
  .hero-texte { max-width: 800px; }
  .hero h1 { font-size: clamp(92px, 18vw, 150px); }
  .hero-visual { width: min(790px, 100%); }
  .hero-console { transform: none; }
  .travail.vedette { grid-template-columns: 1fr; }
  .travail.vedette .travail-texte { padding: 27px; }
  .travail.vedette > .lien-accent { position: static; margin: 0 27px 25px; }
  .apropos { grid-template-columns: minmax(240px,.55fr) 1fr; gap: 54px; }
}

@media (max-width: 900px) {
  .entete { top: 8px; width: calc(100% - 16px); margin-top: 8px; }
  .menu {
    top: calc(100% + 9px);
    left: 0;
    right: 0;
    padding: 10px;
    border-color: rgba(14, 31, 47, 0.1);
    border-radius: 18px;
    background: rgba(240, 245, 250, 0.97);
  }
  .menu a { min-height: 48px; border-radius: 12px; }
  .travail, .travail:nth-child(3n+1), .travail:nth-child(3n+2) { grid-column: span 12; }
  .apropos { grid-template-columns: 1fr; }
  .apropos-logo { width: min(440px, 100%); }
  .competences { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  :root { --marge: 18px; }
  .site-noise { display: none; }
  .entete { min-height: 64px; border-radius: 18px; padding: 7px 8px 7px 10px; }
  .marque-symbole { width: 42px; height: 42px; border-radius: 12px; }
  .marque-texte strong { font-size: 22px; }
  .section { padding-top: 94px; padding-bottom: 94px; }
  .section-sombre::before { inset-inline: 8px; border-radius: 26px; }
  .section-tete { margin-bottom: 38px; }
  .section-tete h2 { font-size: clamp(56px, 18vw, 82px); }
  .hero { padding-top: 78px; padding-bottom: 108px; gap: 54px; }
  .hero::before { bottom: 20px; font-size: 33vw; }
  .hero-kicker { margin-bottom: 22px; }
  .hero h1 { font-size: clamp(76px, 25vw, 112px); line-height: .76; }
  .hero .intro { margin-top: 27px; font-size: 16px; }
  .actions { width: 100%; }
  .actions .bouton { flex: 1 1 180px; }
  .hero-proof { grid-template-columns: 28px 1fr; }
  .chiffres { grid-template-columns: 1fr 1fr; }
  .chiffres div { min-height: 82px; }
  .hero-visual { padding-block: 12px; }
  .hero-console { border-radius: 23px; }
  .console-brand { grid-template-columns: 62px 1fr; padding: 18px 15px 14px; }
  .console-brand-texte strong { font-size: 17px; }
  .console-brand-texte p { display: none; }
  .console-previews { grid-template-columns: 1fr; }
  .preview { min-height: 235px; }
  .preview img { min-height: 235px; }
  .preview-secondaire { display: none; }
  .hero-float-a { right: -4px; top: -18px; }
  .hero-float-b { left: -3px; bottom: -12px; }
  .hero-float { min-width: 108px; padding: 10px 11px; }
  .page-tete { min-height: 300px; padding-top: 94px; padding-bottom: 45px; }
  .page-tete h1 { font-size: clamp(70px, 22vw, 106px); }
  .travail .visuel, .travail .agrandir, .travail.vedette .visuel, .travail.vedette .agrandir { min-height: 280px; }
  .services { grid-template-columns: 1fr; }
  .service { min-height: 190px; }
  .produits, .shopGrid { grid-template-columns: 1fr; }
  .product { min-height: 0; }
  .bande { padding: 30px 21px; border-radius: 25px; }
  .lune { width: 100px; height: 100px; flex-basis: 100px; border-radius: 24px; }
  .bande-texte h2 { font-size: 54px; }
  .apropos-logo { padding: 28px; border-radius: 24px; }
  .apropos-texte h1, .apropos-texte h2 { font-size: 64px; }
  .bloc-competences { margin-top: 78px; padding-top: 52px; }
  .competences { grid-template-columns: 1fr; }
  .pied { width: calc(100% - 16px); border-radius: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-kicker-dot { animation: none; }
  .hero-console, .travail, .product, .service, .ressources li, .bouton, .btn { transition: none !important; transform: none !important; }
}


/* ==========================================================
   TANJIRO STUDIO — BLANC & BLEU CLAIR
   Même mise en page que la DA 2026, en version claire.
   ========================================================== */

:root {
  --accent: #5FB3F5;
  --accent-2: #3E9BE6;
  --accent-soft: rgba(95, 179, 245, .14);
  --accent-glow: rgba(95, 179, 245, .28);
  --sur-accent: #0B2540;
  --bleu-texte: #1F76C2;
}

html { background: #FFFFFF; color-scheme: light; }

/* Boutons principaux : bleu clair avec texte bleu marine */
.bouton-plein, .btn.primary {
  border-color: #5FB3F5;
  background: linear-gradient(135deg, #8CCBFA, #5FB3F5);
  color: #0B2540;
  box-shadow: 0 12px 30px rgba(95, 179, 245, .28), inset 0 1px rgba(255, 255, 255, .5);
}
.bouton-plein:hover, .btn.primary:hover {
  border-color: #3E9BE6;
  background: linear-gradient(135deg, #7CC2F8, #4AA6EE);
  color: #0B2540;
  box-shadow: 0 16px 38px rgba(95, 179, 245, .34);
}
.bouton-plein::after, .btn.primary::after {
  background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, .45) 48%, transparent 72%);
}

/* Liens d'accent : un bleu un peu plus soutenu pour rester lisible sur le blanc */
.lien-accent, .lien-accent:hover { color: var(--bleu-texte); }
.lien-accent { text-decoration: underline; text-decoration-color: rgba(31, 118, 194, .35); text-underline-offset: 5px; }
.lien-accent:hover { text-decoration-color: var(--bleu-texte); }

.menu .bouton-staff { color: var(--bleu-texte); background: rgba(95, 179, 245, .12); border-color: rgba(95, 179, 245, .35); }

/* Petits voyants « en ligne » */
.console-status i, .pied-point, .hero-kicker-dot { background: #5FB3F5; box-shadow: 0 0 12px rgba(95, 179, 245, .8); }
.console-points span:first-child { background: #5FB3F5; }

/* Correction : l'étiquette au-dessus des titres affichait une grande barre colorée */
.section-tete::before {
  position: static;
  width: 100%;
  height: auto;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

/* Le bouton Supprimer de l'espace staff garde une teinte d'alerte */
.bouton-danger { border-color: rgba(200, 60, 70, .35); background: rgba(200, 60, 70, .06); color: #B3261E; }
.bouton-danger:hover { border-color: #B3261E; background: rgba(200, 60, 70, .12); color: #8E1C16; }

/* Lisibilité : les textes en bleu clair passent en bleu plus soutenu sur le blanc */
.product .tag { color: var(--bleu-texte); background: rgba(95, 179, 245, .12); border-color: rgba(95, 179, 245, .28); }
.product strong, .competence-tete span:last-child, .hero-float-b strong { color: var(--bleu-texte); }
.etiquettes li { color: #3A5670; }

/* Bandeau Discord entièrement en bleu clair */
.bande {
  background:
    radial-gradient(circle at 15% 25%, rgba(255, 255, 255, .35), transparent 14rem),
    linear-gradient(135deg, #A9D8FC 0%, #7CC2F8 50%, #5FB3F5 100%);
  border-color: rgba(95, 179, 245, .45);
  box-shadow: 0 30px 80px rgba(95, 179, 245, .25), inset 0 1px rgba(255, 255, 255, .5);
}

/* Un élément masqué reste masqué, même s'il a une mise en page */
[hidden] { display: none !important; }
.hero-texte::before { color: var(--bleu-texte); }

/* ---------- Accueil : corrections du haut de page ---------- */

/* Titre : les lettres et les deux lignes « TANJIRO / STUDIO » ne se chevauchent plus */
.hero h1 { line-height: .9; letter-spacing: -.02em; gap: .03em; }

/* Pastille « Online » : on retire le texte « AVAILABLE » qu'elle recouvrait (doublon) */
.console-status { visibility: hidden; }

/* Pastille « Performance » : descendue pour ne plus cacher l'étiquette « ESX Legacy » */
.hero-float-b { bottom: -46px; }


/* ---------- Mode staff : boutons visibles seulement par le staff connecté ---------- */

.staff-barre {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  padding: 10px 12px;
  border: 1px dashed rgba(31, 118, 194, .45);
  border-radius: 14px;
  background: rgba(95, 179, 245, .08);
}
.staff-barre-discord { margin: 18px 0 0; background: rgba(255, 255, 255, .55); }
.staff-barre-titre {
  margin-right: 6px;
  color: #1F76C2;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.staff-bouton {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(31, 118, 194, .35);
  border-radius: 10px;
  background: #FFFFFF;
  color: #0B2540;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.staff-bouton:hover { border-color: #1F76C2; color: #1F76C2; }
.staff-bouton-plein { background: #5FB3F5; border-color: #5FB3F5; color: #0B2540; }
.staff-bouton-plein:hover { background: #3E9BE6; border-color: #3E9BE6; color: #0B2540; }

.staff-carte-site { position: relative; }
.staff-modifier {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(31, 118, 194, .4);
  border-radius: 9px;
  background: rgba(255, 255, 255, .94);
  color: #0B2540;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(16, 42, 74, .16);
}
.staff-modifier:hover { background: #5FB3F5; border-color: #5FB3F5; color: #0B2540; }
.ressources li.staff-carte-site { padding-right: 110px; }
.ressources li .staff-modifier { top: 50%; transform: translateY(-50%); }

.staff-rappel {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 60;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  max-width: calc(100% - 32px);
  padding: 10px 14px;
  border: 1px solid rgba(31, 118, 194, .3);
  border-radius: 14px;
  background: rgba(255, 255, 255, .96);
  color: #0B2540;
  font-size: 13px;
  box-shadow: 0 14px 40px rgba(16, 42, 74, .18);
}
.staff-rappel a { color: #1F76C2; font-weight: 800; }
.staff-rappel-point { width: 8px; height: 8px; border-radius: 50%; background: #5FB3F5; box-shadow: 0 0 10px rgba(95, 179, 245, .9); }

/* ---------- Portfolio rangé comme la boutique ---------- */

/* Même grille que la boutique, sur l'accueil et sur la page Portfolio */
[data-liste="portfolio-accueil"], [data-liste="portfolio"] { align-items: stretch; }

.projet .projet-image {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: none;
  overflow: hidden;
  cursor: zoom-in;
}
.projet .projet-image img,
.projet > img {
  display: block;
  width: 100%;
  height: 210px;
  border-radius: 16px;
  object-fit: cover;
  background: #F0F5FA;
  transition: transform .45s ease;
}
.projet .projet-image:hover img { transform: scale(1.04); }

.projet-etiquettes { display: flex; flex-wrap: wrap; gap: 6px; }
.projet-etiquettes .tag { margin: 0; }

/* Des descriptions de même hauteur : 4 lignes maximum sur les cartes */
.product > div > p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  overflow: hidden;
}

/* ==========================================================
   TÉLÉPHONE ET TABLETTE : MODE FLUIDE
   Les effets de flou, de grain et de lumière qui suit la souris
   sont très coûteux pour un téléphone pendant le défilement.
   Sur écran tactile ou petit écran, on les remplace par des
   versions simples : même rendu général, défilement fluide.
   ========================================================== */
@media (hover: none), (max-width: 900px) {
  *, *::before, *::after {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }

  /* Calques fixés sur tout l'écran : retirés (grain, grille, halo) */
  .site-noise, body::before, body::after { display: none !important; }

  /* Éléments décoratifs flous */
  .hero::before, .hero::after, .hero-console::before, .hero-console::after,
  .bande::before, .bande::after { filter: none !important; }

  /* Fonds opaques à la place du verre dépoli */
  .entete { background: rgba(255, 255, 255, .97) !important; }
  .hero-float, .staff-rappel { background: #FFFFFF !important; }

  /* Ombres plus légères */
  .product, .service, .competences li, .hero-console, .bande, .apropos-logo, .serveur {
    box-shadow: 0 8px 24px rgba(16, 42, 74, .08) !important;
  }

  /* Pas d'animation au survol ni d'apparition au défilement */
  .product, .product:hover, .service:hover, .hero-console, .hero-float { transform: none !important; }
  .motion-ready .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .projet .projet-image img { transition: none; }
  .console-status i, .pied-point, .hero-kicker-dot { animation: none !important; }
}

/* Espace staff : images du site */
.staff-images {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 18px;
}
.staff-image-site {
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(14, 31, 47, .1);
  border-radius: 16px;
  background: #FFFFFF;
  scroll-margin-top: 100px;
}
.staff-image-site:target { border-color: #5FB3F5; box-shadow: 0 0 0 3px rgba(95, 179, 245, .25); }
.staff-image-site > img {
  width: 100%;
  height: 160px;
  border-radius: 12px;
  object-fit: contain;
  background: #0E1F2F;
}

/* ---------- Mode staff : déplacer les éléments et changer les images ---------- */

.staff-rangement .staff-modifier { display: none; }
.staff-rangement .staff-carte-site { outline: 2px dashed rgba(95, 179, 245, .55); outline-offset: 3px; }
.staff-rangement .staff-carte-site.staff-glisse { opacity: .55; outline-color: #1F76C2; }

.staff-outils-rangement {
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 6;
  display: flex;
  gap: 6px;
  transform: translateX(-50%);
}
.staff-poignee, .staff-fleche {
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(31, 118, 194, .45);
  border-radius: 10px;
  background: #FFFFFF;
  color: #0B2540;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(16, 42, 74, .16);
}
.staff-poignee { cursor: grab; touch-action: none; background: #5FB3F5; border-color: #5FB3F5; }
.staff-glisse .staff-poignee { cursor: grabbing; }
.staff-fleche:hover, .staff-poignee:hover { border-color: #1F76C2; }
.ressources li .staff-outils-rangement { top: 50%; left: auto; right: 12px; transform: translateY(-50%); }
.staff-rangement-aide { color: #3A5670; font-size: 13px; }
.staff-barre-rangement { border-style: solid; border-color: #5FB3F5; }

.staff-image-modifiable { position: relative; }
.staff-changer-image {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 7;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(31, 118, 194, .45);
  border-radius: 9px;
  background: rgba(255, 255, 255, .96);
  color: #0B2540;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(16, 42, 74, .18);
}
.staff-changer-image:hover { background: #5FB3F5; border-color: #5FB3F5; color: #0B2540; }

/* Bouton « Changer l'image » sur les petites images (logo de la console) : une simple icône */
.staff-changer-image-petit {
  top: 4px;
  left: auto;
  right: 4px;
  justify-content: center;
  width: 30px;
  min-height: 30px;
  padding: 0;
  font-size: 15px;
}

/* Bouton « Changer le logo » dans le menu (staff seulement) */
.staff-changer-logo {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-left: 10px;
  padding: 0 12px;
  border: 1px dashed rgba(31, 118, 194, .55);
  border-radius: 9px;
  background: rgba(95, 179, 245, .1);
  color: #1F76C2;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.staff-changer-logo:hover { background: #5FB3F5; border-style: solid; color: #0B2540; }
@media (max-width: 900px) { .staff-changer-logo { order: 3; margin: 6px 0 0; } }

/* Case à cocher de l'espace staff */
.staff-case { flex-direction: row !important; align-items: flex-start; gap: 10px !important; font-weight: 500 !important; }
.staff-case input { width: 18px; height: 18px; margin-top: 2px; flex: 0 0 auto; accent-color: #5FB3F5; }
.entete .staff-changer-logo { margin-right: auto; }
