/* ---------- RESET ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-image: url(image) #050608;
  color: #e5e5e5;
  line-height: 1.6;
}

a {
  color: #ff3b3b;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ---------- HEADER ---------- */
.site-header {
  background: radial-gradient(circle at top, #1b1f2b 0, #050608 60%);
  border-bottom: 1px solid #222;
  padding: 1rem 2rem;
   position: relative;
  padding: 20px 20px 40px; /* augmente l’espace en bas */
  min-height: 140px; /* garantit une hauteur suffisante */
  z-index: 1; /* le header reste derrière le menu */
}

.logo-zone img {
  width: 60px; /* ou ta taille actuelle */
  margin-right: 15px; /* espace entre logo et texte */
}

.logo-zone {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.logo-text {
  font-size: 1.2rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ff3b3b;
}


.access-level {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: #ffb3b3;
}

.main-nav {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
}

.main-nav a {
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  background: rgba(10, 10, 14, 0.7);
  border: 1px solid #222;
}

.main-nav a.active {
  border-color: #ff3b3b;
  color: #ffb3b3;
}

.main-nav a:hover {
  background: rgba(255, 59, 59, 0.12);
  border-color: #ff3b3b;
}

/* ---------- HOME ---------- */
/* ——— CONTAINER PRINCIPAL ——— */
.home-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem;
}

/* ——— HERO ——— */
.hero {
  background: linear-gradient(135deg, #0c0f16, #050608);
  border-radius: 8px;
  border: 1px solid #2a2d36;
  padding: 2rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.7);
  position: relative;
  overflow: hidden;
}
/* Conteneur principal : deux colonnes centrées */
.dual-zone {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 25px;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
  }

  /* Zone Publique (Boutons de gauche) */
  .hero-buttons {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
  }

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

/* Colonne droite : zone éditeur */
.editor-restricted-zone {
    flex: 1.3; /* Donne plus de largeur à la zone éditeur par rapport à la zone publique */
    background-color: #11141a;
    border: 1px dashed #3a4b64;
    border-radius: 6px;
    padding: 30px; /* Augmentation de l'espace interne */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
  }

  /* Vignette / Label "🔒 Restricted" plus imposant */
  .zone-label.zone-bleue {
    width: 100%;
    max-width: 320px; /* Élargissement du badge bleu */
    background-color: #1a2333;
    border: 1px solid #2b3d54;
    color: #4da3ff;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px; /* Texte plus grand */
    font-weight: bold;
    text-align: center;
    padding: 15px; /* Plus épais */
    border-radius: 4px;
    line-height: 1.6;
  }

  .zone-label .vignette {
    display: inline-block;
    background-color: #ff9900;
    color: #111;
    padding: 2px 8px;
    font-size: 11px;
    text-transform: uppercase;
    border-radius: 3px;
    margin-bottom: 8px;
  }
  /* Groupe de boutons d'administration */
  .editor-buttons-group {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
/* Bandeau d'avertissement */
.update-warning {
  background: #8A0F0F;
  padding: 15px;
  text-align: center;
  color: #fff;
  font-weight: 600;
  letter-spacing: 1px;
}

/* HERO STYLE NETFLIX */
.hero-netflix {
  display: flex;
  gap: 40px;
  padding: 40px;
  background: #000;
  color: #fff;
}

.hero-left {
  flex: 1;
}

.hero-img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 0 20px rgba(255,0,0,0.3);
}

.hero-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.title-netflix {
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(90deg, #09e1e5, #da0a0a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  text-align: center;
}


.subtitle-netflix {
  margin: 15px 0;
  font-size: 1.2rem;
  opacity: 0.8;
}

.public-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.btn-netflix {
 background: linear-gradient(90deg, #09e544, #5d0ada);
  padding: 12px 20px;
  border-radius: 4px;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  transition: 0.3s;
}

.btn-netflix:hover {
background: linear-gradient(90deg, #09e1e5, #da0a0a);
}
.banner-full-link {
  display: block;
  position: relative;
  text-decoration: none;
  color: inherit;
}

.banner-full-link:hover .banner-img {
  filter: brightness(85%);
}

.banner-full-link:hover h2 {
  color: #E50914;
  text-shadow: 0 0 10px rgba(229, 9, 20, 0.7);
}
img.hero-img {
  position: relative;
}

img.hero-img::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 25px;
  background-color: #000;
}


/* ZONE ÉDITEUR — DOSSIER CLASSIFIÉ */
.restricted-zone {
  display: flex;
  gap: 40px;
  padding: 40px;
  background: #111;
  color: #fff;
}

.restricted-left {
  flex: 1;
}

.restricted-img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 0 20px rgba(138,15,15,0.4);
}

.restricted-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.zone-label {
  font-size: 1.4rem;
  font-weight: 800;
  color: #E50914;
  margin-bottom: 20px;
}

.editor-buttons-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.btn-archive {
  padding: 12px 20px;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}

.btn-archive.rouge {
  background: #8A0F0F;
  color: #fff;
}

.btn-archive.violet {
  background: #4A0F8A;
  color: #fff;
}

/* BANNIÈRE IMAGE 3 */
.image-banner {
  position: relative;
  margin-top: 40px;
}

.banner-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  filter: brightness(70%);
}

.banner-overlay {
  position: absolute;
  bottom: 20px;
  left: 40px;
  color: #fff;
}

.banner-overlay h2 {
  font-size: 2rem;
  font-weight: 900;
  text-shadow: 0 0 10px rgba(0,0,0,0.8);
}

    body {
      margin: 0;
      padding: 40px;
      font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
      background: #05060a;
      color: #e5e5e5;
    }

    .tou-wrapper {
      max-width: 900px;
      margin: 0 auto;
      background: radial-gradient(circle at top, #1b1f2b 0, #05060a 55%);
      border: 1px solid #262a36;
      box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
      padding: 32px 40px;
      border-radius: 14px;
    }
.fiche-personnage {
  max-width: 900px;
  margin: 40px auto;
  padding: 20px;
  background: #0b0f12;
  color: #e5e5e5;
  border: 1px solid #222;
  font-family: "Segoe UI", sans-serif;
}

.fiche-block {
  margin-bottom: 24px;
  padding: 16px;
  background: #11161a;
  border-left: 3px solid #2aa36f;
}

.fiche-block h2 {
  margin-top: 0;
  font-size: 1.1rem;
  color: #2aa36f;
}

.fiche-block p {
  font-size: 0.95rem;
  line-height: 1.5;
}

    .tou-title {
      font-size: 1.6rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: #f5f5f5;
      margin-bottom: 8px;
    }

    .tou-subtitle {
      font-size: 0.9rem;
      text-transform: uppercase;
      letter-spacing: 0.18em;
      color: #9fa4b8;
      margin-bottom: 24px;
    }

    .tou-block {
      margin-bottom: 18px;
      line-height: 1.6;
      font-size: 0.98rem;
    }

    .tou-block strong {
      color: #f0f0f0;
    }

    .tou-highlight {
      border-left: 3px solid #7b8cff;
      padding-left: 14px;
      margin-top: 22px;
      font-size: 0.98rem;
      color: #c7cbdd;
    }

    .tou-highlight span {
      display: block;
      margin-bottom: 6px;
    }

/* Groupe de boutons d'administration */
  .editor-buttons-group {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
/* ---------- BLOG ---------- */
.blog-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem;
}

.blog-hero {
  margin-bottom: 2rem;
}

.blog-hero h1 {
  font-size: 1.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.5rem;
}

.blog-subtitle {
  font-size: 0.95rem;
  color: #c7c7c7;
}

.articles-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.article-card {
  background: #090b10;
  border-radius: 8px;
  border: 1px solid #222;
  padding: 1rem;
}

.article-card h2 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.article-meta {
  font-size: 0.8rem;
  color: #999;
  margin-bottom: 0.6rem;
}

.article-excerpt {
  font-size: 0.9rem;
  color: #c7c7c7;
}

/* ---------- ARTICLE ---------- */
.blog-article {
  background: #090b10;
  border-radius: 8px;
  border: 1px solid #222;
  padding: 1.5rem;
}

.blog-article h1 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.blog-meta {
  font-size: 0.85rem;
  color: #ffb3b3;
  margin-bottom: 1rem;
}

.blog-article p {
  margin-bottom: 1rem;
}

.btn-secondary {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  border-radius: 4px;
  border: 1px solid #444;
  color: #ccc;
  background: rgba(255, 255, 255, 0.03);
}

.btn-secondary:hover {
  border-color: #ff3b3b;
  color: #ffb3b3;
}

/* ---------- FOOTER ---------- */
.site-footer {
  padding: 1rem 2rem;
  font-size: 0.8rem;
  color: #777;
  border-top: 1px solid #222;
  text-align: center;
  background: #050608;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .site-header {
    padding: 1rem;
  }

  .home-main,
  .blog-main {
    padding: 1.5rem 1rem;
  }

  .main-nav {
    flex-wrap: wrap;
  }
}









  /* --- SECTION UNIVERS --- */
.universe-section {
    padding: 80px 20px;
    background: radial-gradient(circle at center, #0a0c16 0%, #05060a 100%);
    color: #eaeef2;
}

.universe-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.header-tag {
    display: inline-block;
    color: #a778ff;
    font-size: 0.8rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.universe-header h1 {
    font-family: "Georgia", serif;
    font-size: 3rem;
    color: #ffcc66;
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(255, 204, 102, 0.2);
}

.universe-header p {
    color: #9aa3b5;
    font-style: italic;
    font-size: 1.1rem;
}

/* --- GRILLE --- */
.universe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- CARTES UNIVERSE --- */
.universe-card {
    background: rgba(15, 18, 28, 0.7);
    border: 1px solid rgba(167, 120, 255, 0.1);
    padding: 40px;
    border-radius: 2px; /* Style "dossier" plus carré */
    position: relative;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.universe-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px;
    height: 100%;
    background: transparent;
    transition: 0.3s;
}

.universe-card:hover {
    background: rgba(20, 24, 38, 0.95);
    border-color: #5fd0ff;
    transform: scale(1.02);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.universe-card:hover::before {
    background: #5fd0ff;
}

.universe-card.highlighted {
    border: 1px solid rgba(255, 204, 102, 0.2);
}

.universe-card.highlighted:hover::before {
    background: #ffcc66;
}

/* Détails internes */
.card-icon {
    font-size: 2.5rem;
    color: #a778ff;
    margin-bottom: 25px;
    opacity: 0.8;
}

.universe-card h3 {
    font-family: "Georgia", serif;
    font-size: 1.6rem;
    color: #ffcc66;
    margin-bottom: 10px;
}

.card-status {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #5fd0ff;
    letter-spacing: 1px;
    margin-bottom: 15px;
    font-weight: bold;
}

.card-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #cdd6e0;
    margin-bottom: 25px;
    flex-grow: 1;
}

.card-link {
    text-decoration: none;
    color: #ffcc66;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 1px solid transparent;
    transition: 0.3s;
    align-self: flex-start;
}

.card-link:hover {
    color: #5fd0ff;
    border-color: #5fd0ff;
    padding-left: 10px;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .universe-header h1 { font-size: 2.2rem; }
    .universe-grid { grid-template-columns: 1fr; }
}



/* 
reponsive média

*/
.columns-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

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

/* Tablette */
@media (max-width: 1024px) {
    .columns-3 { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile */
@media (max-width: 600px) {
    .columns-3,
    .columns-2 {
        grid-template-columns: 1fr;
    }
}

/* Mobile — < 600px */
@media (max-width: 600px) { }

/* Tablette — 600px à 1024px */
@media (min-width: 600px) and (max-width: 1024px) { }

/* Desktop — > 1024px */
@media (min-width: 1024px) { }


.accordion {
    width: 100%;
    max-width: 900px;
    margin: auto;
}

/* Mobile */
@media (max-width: 600px) {
    .accordion {
        max-width: 100%;
        font-size: 0.9rem;
        padding: 10px;
    }
}


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

/* Mobile */
@media (max-width: 600px) {
    .img-large {
        width: 100%;
        margin: 0;
    }
}

body {
    font-size: 18px;
    line-height: 1.6;
}

/* Mobile */
@media (max-width: 600px) {
    body {
        font-size: 16px;
        line-height: 1.5;
    }
}


nav ul {
    display: flex;
    gap: 20px;
}

/* Mobile */
@media (max-width: 600px) {
    nav ul {
        flex-direction: column;
        gap: 10px;
    }
}

/* ===========================
   SECTION RESTRICTED — MOBILE
   =========================== */
@media (max-width: 600px) {

    .editor-restricted-zone {
        width: 100%;
        padding: 15px;
        box-sizing: border-box;
    }

    .zone-label.zone-bleue {
        display: block;
        text-align: center;
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 15px;
    }

    .editor-buttons-group {
        display: flex;
        flex-direction: column;   /* Passe les boutons en colonne */
        gap: 12px;                /* Espacement propre */
        width: 100%;
    }

    .editor-buttons-group .btn-archive {
        width: 100%;              /* Boutons full-width */
        text-align: center;
        padding: 12px 0;
        font-size: 1rem;
    }

    .editor-buttons-group a.btn-archive {
        display: block;           /* Pour que <a> se comporte comme un bouton */
        width: 100%;
    }
}
@media (min-width: 600px) and (max-width: 1024px) {
    .editor-buttons-group {
        gap: 15px;
    }

    .editor-buttons-group .btn-archive {
        font-size: 1.1rem;
    }
}

/*
fiche personnage
*/
/* ===== PHOTO DU PERSONNAGE ===== */

.fiche-block.photo {
  border-left: 3px solid #42a5f5;
  text-align: center;
}

.photo-wrapper {
  margin-top: 15px;
  display: flex;
  justify-content: center;
}

.photo-wrapper img {
  width: 260px;
  height: auto;
  border-radius: 10px;
  border: 2px solid #1b2333;
  box-shadow: 0 0 12px rgba(0, 140, 255, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photo-wrapper img:hover {
  transform: scale(1.03);
  box-shadow: 0 0 18px rgba(0, 170, 255, 0.6);
}

/* ===== Structure générale ===== */

.fiche-personnage {
  max-width: 1100px;
  margin: 40px auto;
  padding: 30px;
  background: #05070b;
  border-radius: 12px;
  border: 1px solid #1b2333;
  color: #e5ecff;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* Chaque bloc de la fiche */

.fiche-block {
  margin-bottom: 24px;
  padding: 18px 20px;
  background: #0b1018;
  border-radius: 10px;
  border: 1px solid #202a3d;
}

.fiche-block h2 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #4fc3f7;
}

.fiche-block p,
.fiche-block ul {
  margin: 6px 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Listes */

.fiche-block ul {
  padding-left: 18px;
}

.fiche-block ul li {
  margin-bottom: 4px;
}

/* Identité en mode “carte” */

.fiche-block.identite {
  border-left: 3px solid #42a5f5;
}

/* Vécu / Disparition / Manoir / Famille / Parents */

.fiche-block.vecu { border-left: 3px solid #ab47bc; }
.fiche-block.scolaire { border-left: 3px solid #ff7043; }
.fiche-block.disparition { border-left: 3px solid #ef5350; }
.fiche-block.manoir { border-left: 3px solid #8d6e63; }
.fiche-block.famille { border-left: 3px solid #26a69a; }
.fiche-block.parents { border-left: 3px solid #c0ca33; }

/* Formation / Expérience / Stages / Intérêts / Médical / Résumé */

.fiche-block.formation { border-left: 3px solid #29b6f6; }
.fiche-block.experience { border-left: 3px solid #66bb6a; }
.fiche-block.stages { border-left: 3px solid #ffa726; }
.fiche-block.interets { border-left: 3px solid #7e57c2; }
.fiche-block.medical { border-left: 3px solid #ef5350; }
.fiche-block.resume { border-left: 3px solid #ffffff; }

/* Mise en valeur des <strong> */

.fiche-block strong {
  color: #bbdefb;
  font-weight: 600;
}

/* Responsive */

@media (max-width: 768px) {
  .fiche-personnage {
    padding: 20px;
    margin: 20px auto;
  }

  .fiche-block {
    padding: 14px 16px;
  }
}


/* --- BANNIÈRE RGPD / COOKIES --- */
    #cookie-banner {
      position: fixed;
      bottom: 0; right: 0; left: 0;
      background: rgba(5, 6, 12, 0.95);
      border-top: 1px solid #ffcc66;
      padding: 15px 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      z-index: 2000;
      font-family: 'Courier New', monospace;
      font-size: 0.85rem;
    }
    #cookie-banner p { color: #cdd6e0; margin: 0; }
    #cookie-banner button {
      background: #ffcc66; color: #000; border: none;
      padding: 8px 15px; font-weight: bold; cursor: pointer;
      border-radius: 4px; transition: 0.3s;
    }
    #cookie-banner button:hover { background: #fff; box-shadow: 0 0 10px #ffcc66; }






/* **********************************
          SEction à retirer
************************************ */

    .update-warning {
  background: rgba(255, 59, 59, 0.08);
  border-left: 3px solid #ff3b3b;
  padding: 12px 15px;
  margin: 20px 0;
  border-radius: 4px;
  box-shadow: 0 0 15px rgba(255, 59, 59, 0.2);
}

.update-warning h5 {
  color: #ffb3b3;
  font-size: 0.9rem;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}







/* ---------- LEGAL PAGES ---------- */

.legal-main {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
}

.legal-block {
  background: #090b10;
  border: 1px solid #222;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.legal-block h1,
.legal-block h2 {
  color: #ff3b3b;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

/* ---------- ACCESS DENIED ---------- */

.access-denied {
  text-align: center;
  margin-top: 100px;
  color: #ff3b3b;
}

.access-denied h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.access-denied p {
  color: #ffb3b3;
  margin-bottom: 1rem;
}
/* Page légale générale */
body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: #05060a;
  color: #e4e4e4;
}

.legal-page {
  max-width: 900px;
  margin: 60px auto;
  padding: 40px;
  background: rgba(10, 12, 18, 0.9);
  border: 1px solid #303545;
  box-shadow: 0 0 25px rgba(255, 0, 0, 0.15);
}

.legal-page h1 {
  font-size: 2rem;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #ff3b3b;
}

.legal-page h2 {
  font-size: 1.2rem;
  margin-top: 25px;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #c7d0ff;
}

.legal-page p {
  line-height: 1.6;
  margin-bottom: 10px;
  color: #d0d0d0;
}

/* Bouton secondaire (retour) */
.btn-secondary {
  display: inline-block;
  margin-top: 30px;
  padding: 10px 20px;
  border: 1px solid #ff3b3b;
  color: #ff3b3b;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: #ff3b3b;
  color: #05060a;
  box-shadow: 0 0 15px rgba(255, 59, 59, 0.6);
}


/* ——— SECTION HUB ——— */
.hub-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 3rem;
}

/* ——— CARTE ——— */
.hub-card {
  display: flex;
  background: rgba(12, 14, 20, 0.85);
  border: 1px solid #2a2d36;
  border-radius: 8px;
  overflow: hidden;
  transition: 0.3s ease;
}

.hub-card:hover {
  border-color: #ff3b3b;
  box-shadow: 0 0 20px rgba(255, 59, 59, 0.25);
  transform: translateY(-4px);
}

/* ——— MEDIA ——— */
.hub-media {
  width: 40%;
  min-height: 160px;
  overflow: hidden;
}

.hub-media img,
.hub-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ——— CONTENU ——— */
.hub-content {
  padding: 1.2rem;
  width: 60%;
}

.hub-content h3 {
  font-size: 1.3rem;
  color: #c7d0ff;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hub-content p {
  color: #d0d0d0;
  opacity: 0.85;
  margin-bottom: 1rem;
  line-height: 1.5;
}

/* ——— BOUTON ——— */
.hub-btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border: 1px solid #ff3b3b;
  border-radius: 4px;
  color: #ffb3b3;
  background: rgba(255, 59, 59, 0.12);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  transition: 0.25s ease;
}

.hub-btn:hover {
  background: rgba(255, 59, 59, 0.22);
  box-shadow: 0 0 15px rgba(255, 59, 59, 0.4);
}

/* ——— RESPONSIVE ——— */
@media (max-width: 700px) {
  .hub-card {
    flex-direction: column;
  }
  .hub-media {
    width: 100%;
    height: 180px;
  }
  .hub-content {
    width: 100%;
  }
}




/* --- BOUTON BURGER --- */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
}

.burger span {
  width: 28px;
  height: 3px;
  background: white;
  border-radius: 3px;
}

/* --- MENU PRINCIPAL --- */
.main-nav {
  display: flex;
  gap: 20px;
  transition: max-height 0.3s ease;
}

/* --- MODE MOBILE --- */
@media (max-width: 900px) {

  .burger {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 100px;
    left: 0;
    width: 100%;
    background: #111;
    flex-direction: column;
    padding: 20px;
    max-height: 0;
    overflow: hidden;
    border-top: 1px solid #333;
  }

  .main-nav.open {
    max-height: 500px;
  }

  .main-nav a {
    padding: 10px 0;
    border-bottom: 1px solid #222;
  }
  /* MENU DESKTOP PAR DÉFAUT */
.main-nav {
  display: flex;
  gap: 20px;
}

/* BURGER CACHÉ PAR DÉFAUT */
.burger {
  display: none;
}

/* MENU MOBILE CACHÉ PAR DÉFAUT */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: #111;
  padding: 20px;
  position: absolute;
  top: 100px;
  left: 0;
  width: 100%;
  z-index: 9999;
  margin-top: 40px; /* équivalent à 3 <br> */
}

/* MODE MOBILE */
@media (max-width: 900px) {

  /* Cacher le menu desktop */
  .main-nav {
    display: none;
  }

  /* Afficher le burger */
  .burger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 10000;
  }

  /* Afficher le menu mobile quand ouvert */
  .mobile-menu.open {
    display: flex;
  }
}
}










/* ----------------------------- */
/* HEADER DE PAGE (Archives)     */
/* ----------------------------- */

.page-header {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(180deg, #0a0a0a, #111);
  border-bottom: 2px solid #ff3b3b;
}

.page-header h1 {
  font-size: 2.5rem;
  color: #ff3b3b;
  margin-bottom: 10px;
}

.page-header p {
  color: #ccc;
  font-size: 1.1rem;
}



/* ----------------------------- */
/* LISTE DES ARCHIVES            */
/* ----------------------------- */

.archive-list {
  display: grid;
  gap: 20px;
  padding: 40px 20px;
}

.archive-item {
  background: #151515;
  border-left: 4px solid #ff3b3b;
  padding: 20px;
  border-radius: 6px;
  transition: 0.3s;
}

.archive-item:hover {
  background: #1d1d1d;
  transform: translateX(5px);
}

.archive-item h3 {
  color: #ff3b3b;
  margin-bottom: 5px;
}

.archive-item p {
  color: #ccc;
}



/* ----------------------------- */
/* ESSENCE NOIRE — ANALYSE       */
/* ----------------------------- */

.essence-analysis {
  padding: 60px 20px;
  background: #0d0d0d;
  border-top: 2px solid #ff3b3b;
  border-bottom: 2px solid #ff3b3b;
}

.analysis-header {
  text-align: center;
  margin-bottom: 40px;
}

.warning-blink {
  color: #ff3b3b;
  font-weight: bold;
  animation: blink 1.2s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.analysis-header h2 {
  color: white;
  margin-top: 10px;
}

.analysis-grid {
  display: grid;
  gap: 25px;
}

.property-box {
  background: #151515;
  padding: 20px;
  border-radius: 6px;
  border: 1px solid #333;
  transition: 0.3s;
}

.property-box:hover {
  border-color: #ff3b3b;
}

.property-box h3 {
  color: #ff3b3b;
  margin-bottom: 10px;
}

.property-box p {
  color: #ccc;
}

.essence-visual {
  text-align: center;
  margin-top: 40px;
}

.black-drop {
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, #000, #0a0a0a, #111);
  border-radius: 50%;
  margin: 0 auto;
  box-shadow: 0 0 25px #000;
}

.caption {
  color: #777;
  margin-top: 10px;
}



/* ----------------------------- */
/* FRAGMENTS — INTRO             */
/* ----------------------------- */

.fragments-intro {
  text-align: center;
  padding: 60px 20px;
}

.fragments-intro h1 {
  color: #ff3b3b;
  margin-bottom: 10px;
}

.fragments-intro p {
  color: #ccc;
}



/* ----------------------------- */
/* FRAGMENTS — GRILLE            */
/* ----------------------------- */

.fragments-grid {
  padding: 40px 20px;
}

.fragment-section {
  margin-bottom: 60px;
}

.fragment-section h2 {
  color: #ff3b3b;
  margin-bottom: 20px;
}

.fragment-list {
  display: grid;
  gap: 25px;
}

.fragment-card {
  background: #151515;
  padding: 20px;
  border-radius: 6px;
  border: 1px solid #333;
  transition: 0.3s;
  text-align: center;
}

.fragment-card:hover {
  border-color: #ff3b3b;
  transform: translateY(-5px);
}

.fragment-card img {
  width: 100%;
  border-radius: 6px;
  margin-bottom: 15px;
}

.fragment-card h3 {
  color: #ff3b3b;
  margin-bottom: 10px;
}

.fragment-card p {
  color: #ccc;
  margin-bottom: 15px;
}

/* --- Conteneur Principal --- */
/* --- CONTENEUR PRINCIPAL DES BOUTONS --- */
.hero-buttons {
  display: flex;
  flex-direction: row;      /* Aligne les zones en colonnes côte à côte */
  justify-content: center;  /* Centre l'ensemble dans la section hero */
  align-items: stretch;     /* Étire les deux blocs à la même hauteur si nécessaire */
  gap: 2.5rem;              /* Espace horizontal entre la zone publique et privée */
  margin-top: 2.5rem;
  width: 100%;
  max-width: 1000px;        /* Largeur maximale pour éviter que ce soit trop écarté */
  margin-left: auto;
  margin-right: auto;
}
.editor-restricted-zone {
  background: linear-gradient(135deg, #293192 50%, #2d6ed1 60%, #0992bc 70%);
  padding: 25px;
  border-radius: 10px;
  border: 1px solid #7d4aff;
}


/* --- CÔTÉ GAUCHE : ZONE PUBLIQUE --- */
.public-zone {
  flex: 1;                  /* Prend un espace équitable */
  display: flex;
  align-items: center;      /* Centre verticalement le bouton du blog */
  justify-content: center;
  min-width: 250px;
}

.btn-primary {
  display: inline-block;
  width: 100%;
  max-width: 350px;
  text-align: center;
  padding: 1rem 1.5rem;
  /* Vos styles existants pour .btn-primary restent ici */
}

/* --- CÔTÉ DROIT : ZONE RESTREINTE ÉDITEUR --- */
.editor-restricted-zone {
  flex: 1.2;                /* Légèrement plus large pour accueillir les deux boutons */
  background: rgba(20, 20, 25, 0.6); 
  border: 1px dashed #473c34; 
  border-radius: 6px;
  padding: 1.5rem;
  min-width: 280px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Label indicatif */
.zone-label {
  display: block;
  font-size: 0.8rem;
  color: #a0938a;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.25rem;
  text-align: center;
}

/* Groupe interne des deux boutons éditeur (en colonne à l'intérieur de leur bloc) */
.editor-buttons-group {
  display: flex;
  flex-direction: column;   /* Aligne les deux boutons éditeur l'un sous l'autre */
  gap: 0.75rem;             /* Espace entre les deux boutons d'administration */
  width: 100%;
}

/* Styles communs pour les boutons d'archive */
.btn-archive {
  display: block;
  width: 100%;
  padding: 0.8rem 1.25rem;
  font-size: 0.9rem;
  font-weight: bold;
  border-radius: 4px;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.1s;
}

.btn-archive:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-rouge {
  background-color: #ba2d2d;
  color: #ffffff;
  border: none;
}

.btn-violet {
  background-color: #9b59b6;
  color: #ffffff;
  border: none;
}

/* --- RESPONSIVE : ADAPTATION MOBILE --- */
@media (max-width: 768px) {
  .hero-buttons {
    flex-direction: column; /* Bascule l'un sous l'autre sur les petits écrans */
    align-items: center;
    gap: 1.5rem;
  }
  
  .public-zone, .editor-restricted-zone {
    width: 100%;            /* Prend toute la largeur disponible sur mobile */
    max-width: 400px;
  }
}
/* --- Base commune ajustée (Plus Petite) --- */
.btn-primary, .btn-archive {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.8rem;       /* Réduit la taille du texte (de 0.9rem à 0.8rem) */
    font-weight: bold;
    padding: 8px 16px;       /* Réduit l'espace interne (de 12px/24px à 8px/16px) */
    border: 1px solid #333;
    cursor: pointer;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s ease-in-out;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 35px;        /* Réduit la hauteur minimale (de 45px à 35px) */
}

/* --- Bouton Principal (Blog CRT) --- */
.btn-primary {
    background-color: #111622;
    color: #00f2ff; 
    border-color: rgba(0, 242, 255, 0.4);
    box-shadow: 0 0 10px rgba(0, 242, 255, 0.1);
}
.btn-primary:hover {
    background-color: #00f2ff;
    color: #05070a;
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.4);
}

/* --- Bouton Archive Rouge --- */
.btn-rouge {
    background-color: #1a0008;
    color: #ff3333;
    border-color: rgba(255, 51, 51, 0.4);
}
.btn-rouge:hover {
    background-color: #ff3333;
    color: #ffffff;
    box-shadow: 0 0 15px rgba(255, 51, 51, 0.4);
}

/* --- Bouton Archive Violette --- */
.btn-violet {
    background-color: #12001a;
    color: #b967ff;
    border-color: rgba(185, 103, 255, 0.4);
}
.btn-violet:hover {
    background-color: #b967ff;
    color: #ffffff;
    box-shadow: 0 0 15px rgba(185, 103, 255, 0.4);
}

/* --- Adaptation Mobile --- */
@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column; 
        width: 100%;
    }
    .btn-primary, .btn-archive {
        width: 100%; 
    }
}
/* --- SECTION CONTENU PRINCIPAL --- */
.home-section {
  background-color: #16161a; /* Fond sombre mais distinct du fond général */
  border: 1px solid #2a2a35; /* Bordure fine pour structurer le bloc */
  border-radius: 8px;
  padding: 2.5rem 2rem;
  margin: 3rem auto;
  max-width: 1000px; /* Aligné sur la largeur de la zone des boutons du Hero */
  box-sizing: border-box;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3); /* Ombre subtile pour donner du relief */
  position: relative;
  overflow: hidden;
}

/* Effet décoratif discret : ligne de dossier classé sur le côté gauche */
.home-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background-color: #d98345; /* Rappel de la couleur orange brûlé/dossier */
}

/* --- TITRE DE LA SECTION --- */
.home-section h2 {
  font-family: 'Georgia', serif; /* Style littéraire et sérieux */
  font-size: 1.8rem;
  color: #f3eae1; /* Blanc cassé pour éviter la fatigue visuelle */
  margin-top: 0;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- TEXTE / PARAGRAPHE --- */
.home-section p {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.05rem;
  color: #a0938a; /* Teinte grise atténuée pour le texte secondaire */
  line-height: 1.7; /* Espacement confortable pour la lecture des fragments */
  margin-bottom: 0;
}
/* --- LE BADGE BLEU GLOBAL CENTRÉ --- */
.zone-label.zone-bleue {
  display: inline-flex;       /* Permet d'aligner la vignette et le texte proprement */
  align-items: center;
  justify-content: center;    /* Centre le contenu horizontalement à l'intérieur */
  gap: 0.5rem;                /* Espace entre la vignette et le texte */
  
  /* Centrage du bloc dans son conteneur parent */
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.25rem;
  
  /* Alignement du texte sur plusieurs lignes (<br>) */
  text-align: center;         
  flex-direction: column;     /* Aligne verticalement la vignette et les lignes de texte si besoin, OU gardez la structure ci-dessous */
  
  background: rgba(41, 128, 185, 0.15); 
  
  color: #3498db;             
  padding: 0.6rem 1rem;       /* Légèrement augmenté pour l'affichage multi-ligne */
  border-radius: 4px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 0.8rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-sizing: border-box;
}

/* S'assure que le parent direct force le centrage horizontal */
.editor-restricted-zone {
  display: flex;
  flex-direction: column;
  align-items: center;        /* Aligne tous les enfants (badge + boutons) au centre horizontal */
}

/* --- LA VIGNETTE INTERNE --- */
.zone-label.zone-bleue .vignette {
  background-color: #3498db; 
  color: #101014;            
  font-size: 0.7rem;
  padding: 0.15rem 0.4rem;
  border-radius: 2px;
  display: inline-block;
  margin-bottom: 0.25rem;     /* Évite que la vignette colle trop au texte du dessous */
}
/* --- ADAPTATION RESPONSIVE (MOBILE) --- */
@media (max-width: 768px) {
  .home-section {
    padding: 1.75rem 1.25rem;
    margin: 2rem 1rem; /* Laisse une marge sur les côtés sur smartphone */
  }

  .home-section h2 {
    font-size: 1.5rem;
  }

  .home-section p {
    font-size: 0.95rem;
  }
}
/* ----------------------------- */
/* POPUP FRAGMENT                */
/* ----------------------------- */

.fragment-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

.fragment-popup.hidden {
  display: none;
}

.popup-content {
  background: #151515;
  padding: 30px;
  border-radius: 6px;
  border: 1px solid #ff3b3b;
  width: 90%;
  max-width: 500px;
  text-align: center;
}

.popup-content h3 {
  color: #ff3b3b;
  margin-bottom: 15px;
}

.popup-content p {
  color: #ccc;
  margin-bottom: 20px;
}
/* ----------------------------- */
/* PORTAILS — GRILLE             */
/* ----------------------------- */

.portails-grid {
  padding: 40px 20px;
  display: grid;
  gap: 30px;
}

.portal-card {
  display: flex;
  flex-direction: column;
  background: #151515;
  border: 1px solid #333;
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  transition: 0.3s;
}

.portal-card:hover {
  border-color: #ff3b3b;
  transform: translateY(-5px);
}

.portal-img-container img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.portal-content {
  padding: 20px;
}

.portal-type {
  color: #ff3b3b;
  font-size: 0.9rem;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.portal-title {
  color: white;
  margin-bottom: 10px;
}

.portal-text {
  color: #ccc;
  font-size: 0.95rem;
}

/* Responsive */
@media (min-width: 700px) {
  .portails-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .portails-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}



/* ----------------------------- */
/* RAPPORT D'INCIDENCE           */
/* ----------------------------- */

.contract-wrapper {
  background: #111;
  border: 1px solid #ff3b3b;
  padding: 30px;
  margin: 40px auto;
  border-radius: 6px;
  max-width: 900px;
}

.contract-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.contract-header h2 {
  color: #ff3b3b;
  margin: 0;
}

.confidential-stamp {
  color: #ff3b3b;
  font-weight: bold;
  border: 1px solid #ff3b3b;
  padding: 5px 10px;
  border-radius: 4px;
  letter-spacing: 2px;
}

.contract-body .clause {
  margin-bottom: 25px;
  background: #151515;
  padding: 20px;
  border-radius: 6px;
  border-left: 3px solid #ff3b3b;
}

.contract-body h3 {
  color: #ff3b3b;
  margin-bottom: 10px;
}

.contract-body p,
.contract-body li {
  color: #ccc;
}

.conclusion {
  margin-top: 20px;
  padding: 20px;
  background: #0d0d0d;
  border-left: 3px solid #ff3b3b;
  font-style: italic;
  color: #bbb;
}
/* ----------------------------- */
/* ATLAS DES LIEUX ARCHIVÉS      */
/* ----------------------------- */

.atlas-container {
  display: grid;
  gap: 30px;
  padding: 40px 20px;
}

.archive-folder {
  background: #151515;
  border: 1px solid #333;
  border-radius: 6px;
  overflow: hidden;
  transition: 0.3s;
}

.archive-folder:hover {
  border-color: #ff3b3b;
  transform: translateY(-5px);
}

.folder-tab {
  background: #ff3b3b;
  color: black;
  padding: 10px 15px;
  font-weight: bold;
  letter-spacing: 1px;
}

.folder-content {
  padding: 20px;
}

.folder-content h2 {
  color: #ff3b3b;
  margin-bottom: 10px;
}

.status-tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 10px;
  border: 1px solid #ff3b3b;
  color: #ff3b3b;
  border-radius: 4px;
  font-size: 0.9rem;
}

.folder-content p {
  color: #ccc;
  margin-bottom: 10px;
}

.description {
  color: #aaa;
}

.archive-note {
  margin-top: 15px;
  padding: 10px;
  background: #0d0d0d;
  border-left: 3px solid #ff3b3b;
  color: #bbb;
  font-style: italic;
}

/* Responsive */
@media (min-width: 900px) {
  .atlas-container {
    grid-template-columns: repeat(3, 1fr);
  }
}



/* ----------------------------- */
/* SECTION ROMANS                */
/* ----------------------------- */

.romans-section {
  padding: 60px 20px;
}

.romans-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-title {
  color: #ff3b3b;
  font-size: 2rem;
  margin-bottom: 10px;
}

.title-underline {
  width: 120px;
  height: 3px;
  background: #ff3b3b;
  margin: 0 auto;
  border-radius: 3px;
}

/* GRID DES ROMANS */
.romans-grid {
  display: grid;
  gap: 30px;
}

@media (min-width: 800px) {
  .romans-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* CARTE ROMAN */
.roman-card {
  background: #151515;
  border: 1px solid #333;
  border-radius: 6px;
  overflow: hidden;
  transition: 0.3s;
}

.roman-card:hover {
  border-color: #ff3b3b;
  transform: translateY(-5px);
}

/* COUVERTURE */
.roman-cover {
  position: relative;
}

.roman-cover img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

/* OVERLAY TOME */
.roman-overlay {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(255, 59, 59, 0.9);
  padding: 5px 12px;
  border-radius: 4px;
  color: black;
  font-weight: bold;
  letter-spacing: 1px;
}

/* TEXTE DU ROMAN */
.roman-body {
  padding: 20px;
}

.roman-body h3 {
  color: #ff3b3b;
  margin-bottom: 10px;
}

.roman-body p {
  color: #ccc;
  margin-bottom: 15px;
}

/* BOUTON */
.roman-btn {
  display: inline-block;
  padding: 8px 15px;
  border: 1px solid #ff3b3b;
  color: #ff3b3b;
  border-radius: 4px;
  text-decoration: none;
  transition: 0.3s;
}

.roman-btn:hover {
  background: #ff3b3b;
  color: black;
}



/* ----------------------------- */
/* PRIX + BOUTON ACHETER         */
/* ----------------------------- */

.vitrine-price {
  margin-top: 15px;
  font-size: 1.3rem;
  font-weight: bold;
  color: #ff3b3b;
  text-align: center;
}

.vitrine-button {
  display: block;
  margin: 10px auto 0;
  padding: 10px 15px;
  background: none;
  border: 1px solid #ff3b3b;
  color: #ff3b3b;
  text-align: center;
  border-radius: 4px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
}

.vitrine-button:hover {
  background: #ff3b3b;
  color: black;
  transform: translateY(-3px);
}

/* Pour harmoniser avec les cartes */
.roman-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.roman-btn {
  margin-bottom: 10px;
}








/* ----------------------------- */
/* BASE GÉNÉRALE                 */
/* ----------------------------- */

body {
    margin: 0;
    background-color: #05060c;
    color: #e8e3ff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

/* ----------------------------- */
/* HEADER                        */
/* ----------------------------- */

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 25px;
    background: #05060c;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo-zone img {
    height: 55px;
}

.logo-text {
    font-family: "Cinzel", serif;
    font-size: 1.4rem;
    letter-spacing: 2px;
}

.access-level {
    font-size: 0.8rem;
    color: #ff3b3b;
    margin-top: 3px;
}

/* MENU DESKTOP */
.main-nav {
    display: flex;
    gap: 20px;
}

.main-nav a {
    color: #e8e3ff;
    font-size: 0.95rem;
    transition: 0.3s;
}

.main-nav a:hover,
.main-nav .active {
    color: #ffcc66;
}

/* BURGER */
.burger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.burger span {
    width: 22px;
    height: 2px;
    background: #e8e3ff;
}

/* MENU MOBILE */
.mobile-menu {
    display: none;
    flex-direction: column;
    background: #05060c;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.mobile-menu a {
    padding: 12px 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.95rem;
}

.mobile-menu a:hover {
    background: rgba(255,255,255,0.05);
}

/* RESPONSIVE HEADER */
@media (max-width: 900px) {
    .main-nav {
        display: none;
    }
    .burger {
        display: flex;
    }
}

/* ----------------------------- */
/* TITRE DE PAGE                 */
/* ----------------------------- */

/* ===== TITRE ===== */

.archive-header {
  text-align: center;
  margin: 40px 0 20px;
}

.archive-header h1 {
  font-size: 2rem;
  color: #e5ecff;
  letter-spacing: 0.05em;
}

.archive-header .access-alert {
  color: #ff5252;
  font-weight: bold;
}

.archive-header .subtitle {
  color: #9bb3d6;
  font-size: 0.95rem;
  margin-top: 6px;
}
.roman-comment {
    font-size: 0.9rem;
    font-style: italic;
    color: #444;
    margin-bottom: 10px;
}

/* ===== GRILLE ===== */

.archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.archive-grid a,
.archive-grid img {
  display: block;
}

.archive-grid a {
  text-decoration: none;
  color: #e0e0e0;
  font-family: "Segoe UI", sans-serif;
  font-size: 0.95rem;
  text-align: center;
}

.archive-grid img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.6);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

/* Effet hover sombre / CRT */
.archive-grid a:hover img,
.archive-grid img:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.8);
  filter: brightness(1.1) contrast(1.05);
}

/* Texte "Voir biographie" sous les images */
.archive-grid a {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.archive-grid a:hover {
  color: #ffffff;
}


/* ===== ITEMS ===== */

.archive-item {
  position: relative;
  background: rgba(0,0,0,0.2);
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  overflow: hidden;
  cursor: crosshair;
}

/* ===== IMAGES ===== */

.archive-grid img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 6px;
  display: block;
  transition: 0.4s;
  filter: grayscale(1) brightness(0.8);
}

.archive-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(0, 200, 255, 0.7);
  border-color: #00c8ff;
  filter: grayscale(0) brightness(1);
}

/* ===== OVERLAY ===== */

.restriction-overlay {
  position: absolute;
  top: 0;
  width: 100%;
  padding: 8px;
  background: rgba(0,0,0,0.75);
  text-align: center;
  color: #ff4f4f;
  font-size: 0.8rem;
  font-family: 'Courier New', monospace;
  border-radius: 6px 6px 0 0;
  transition: 0.3s;
}

.archive-item:hover .restriction-overlay {
  opacity: 0;
}

/* ===== TAG BAS ===== */

.info-tag {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0,0,0,0.8);
  color: #fff;
  font-size: 0.7rem;
  padding: 5px;
  text-align: center;
  font-family: 'Courier New', monospace;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 900px) {
  .archive-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .archive-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* COULEURS PAR DÉPARTEMENT */
.archive-item.military {
    border: 2px solid #ff4d4d;
    box-shadow: 0 0 15px rgba(255,77,77,0.2);
}
.archive-item.military .restriction-overlay {
    color: #ff4d4d;
    border-color: #ff4d4d;
}

.archive-item.state {
    border: 2px solid #5fd0ff;
    box-shadow: 0 0 15px rgba(95,208,255,0.2);
}
.archive-item.state .restriction-overlay {
    color: #5fd0ff;
    border-color: #5fd0ff;
}

.archive-item.science {
    border: 2px solid #2ecc71;
    box-shadow: 0 0 15px rgba(46,204,113,0.2);
}
.archive-item.science .restriction-overlay {
    color: #2ecc71;
    border-color: #2ecc71;
}

/* ----------------------------- */
/* RESPONSIVE GRILLE             */
/* ----------------------------- */

@media (max-width: 768px) {
    .archive-grid img,
    .archive-item {
        width: 100%;
        max-width: 400px;
    }
}

/* ----------------------------- */
/* FOOTER                        */
/* ----------------------------- */

.site-footer {
    background: #05060c;
    color: #e8e3ff;
    text-align: center;
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-columns {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 20px 0;
}

.footer-column h4 {
    color: #ffcc66;
    margin-bottom: 10px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column a {
    color: #e8e3ff;
    font-size: 0.9rem;
}

.footer-column a:hover {
    color: #ffcc66;
}

.footer-icon {
    display: flex;
    justify-content: center;
    gap: 15px;
    list-style: none;
    padding: 0;
}

.footer-icon a {
    color: #e8e3ff;
    font-size: 1.2rem;
}

.footer-icon a:hover {
    color: #ffcc66;
}







/* SECTION ACTUALITÉ */
.home-news {
    margin: 40px auto;
    padding: 20px;
    max-width: 900px;
}

.news-title {
    font-family: "Cinzel", serif;
    font-size: 1.8rem;
    color: #ff7b00;
    text-shadow: 0 0 8px rgba(255, 123, 0, 0.4);
    margin-bottom: 20px;
}

/* CARTE ACTUALITÉ */
.news-card {
    background: rgba(255, 140, 0, 0.05);
    border: 1px solid rgba(255, 140, 0, 0.3);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 0 12px rgba(255, 140, 0, 0.2);
    transition: 0.3s;
}

.news-card:hover {
    transform: scale(1.02);
    box-shadow: 0 0 18px rgba(255, 140, 0, 0.4);
}

/* DATE */
.news-date {
    font-size: 0.9rem;
    color: #ffae5c;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

/* CONTENU */
.news-content h3 {
    font-size: 1.3rem;
    color: #ffd9b3;
    margin-bottom: 10px;
}

.news-content p {
    color: #e8e3ff;
    opacity: 0.85;
    line-height: 1.5;
}















/* SECTION VISUELS */
.analyse-visuals {
    margin-top: 40px;
}

.analyse-section-title {
    font-size: 1.3rem;
    color: #ffb3b3;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

/* GRILLE */
.analyse-visual-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}

/* CARTE VISUELLE */
.analyse-visual-card {
    background: rgba(10, 10, 18, 0.9);
    border: 1px solid rgba(255, 0, 0, 0.35);
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 0 12px rgba(255, 0, 0, 0.25);
    transition: 0.3s;
}

.analyse-visual-card:hover {
    transform: scale(1.03);
    box-shadow: 0 0 18px rgba(255, 0, 0, 0.45);
}

/* IMAGES */
.analyse-visual-card img {
    width: 100%;
    border-radius: 6px;
    margin-bottom: 10px;
}

/* TITRE */
.analyse-visual-card h3 {
    font-size: 1rem;
    color: #ffd9b3;
    margin-bottom: 6px;
}

/* DESCRIPTION */
.analyse-visual-card p {
    font-size: 0.85rem;
    color: #e8e3ff;
    opacity: 0.85;
    line-height: 1.4;
}







.fiche-themofus {
  max-width: 900px;
  margin: 40px auto;
  padding: 30px;
  background: #05060c;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 0 25px rgba(0,0,0,0.7);
  color: #e8e3ff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.fiche-themofus h1 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #7fff9f;
  border-bottom: 1px solid rgba(127,255,159,0.3);
  padding-bottom: 10px;
}

.fiche-themofus h2 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #ffdf7f;
}

.fiche-block {
  margin-bottom: 20px;
  padding: 15px;
  background: rgba(10,12,20,0.9);
  border-left: 3px solid rgba(127,255,159,0.4);
}

.fiche-block p {
  margin: 5px 0 8px;
  line-height: 1.5;
}

.fiche-block ul {
  margin: 8px 0 0 18px;
  padding: 0;
}

.fiche-block li {
  margin-bottom: 4px;
}

.fiche-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  font-size: 0.95rem;
}

.fiche-table th,
.fiche-table td {
  border: 1px solid rgba(255,255,255,0.12);
  padding: 8px 10px;
}

.fiche-table th {
  background: #11131a;
  text-align: left;
}

.fiche-table tr:nth-child(even) {
  background: #080910;
}

.fiche-signature {
  margin-top: 25px;
  text-align: right;
  font-style: italic;
  color: #9fb3ff;
}




.identite {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.identite-texte {
  flex: 1;
}

.identite-photo img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(127,255,159,0.4);
  box-shadow: 0 0 20px rgba(127,255,159,0.3);
}



.crt-media-section {
  margin: 50px auto;
  padding: 20px;
  background: #05060c;
  border-top: 1px solid rgba(127,255,159,0.2);
  color: #e8e3ff;
}

.crt-title {
  color: #7fff9f;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.crt-intro {
  color: #ccc;
  margin-bottom: 25px;
  line-height: 1.5;
}

/* VIDEO */
.crt-video-block {
  margin-bottom: 40px;
  text-align: center;
}

.crt-video-block video {
  width: 100%;
  max-width: 800px;
  border: 2px solid rgba(127,255,159,0.3);
  box-shadow: 0 0 20px rgba(127,255,159,0.2);
  border-radius: 6px;
}

.video-desc {
  margin-top: 10px;
  font-style: italic;
  color: #9fb3ff;
}

/* GALERIE */
.crt-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.crt-img-item {
  background: rgba(10,12,20,0.9);
  border: 1px solid rgba(127,255,159,0.2);
  padding: 10px;
  box-shadow: 0 0 15px rgba(0,0,0,0.6);
}

.crt-img-item img {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(127,255,159,0.3);
}

.img-desc {
  margin-top: 8px;
  font-size: 0.9rem;
  color: #ccc;
  line-height: 1.4;
}









.archive-section {
  margin: 40px auto;
  padding: 20px;
  background: #05060c;
  border: 1px solid rgba(255,255,255,0.08);
  color: #e8e3ff;
}

.archive-header {
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 20px;
  padding-bottom: 10px;
}

.archive-header h1 {
  font-size: 1.6rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.archive-level {
  color: #7fff9f;
  font-size: 0.9rem;
}

.archive-content h2 {
  color: #ffdf7f;
  margin-bottom: 10px;
}

.archive-gallery {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.archive-gallery img {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(127,255,159,0.3);
}









.crt-section {
  margin: 50px auto;
  padding: 20px;
  background: #05060c;
  border: 1px solid rgba(255,255,255,0.08);
  color: #e8e3ff;
}

.crt-title {
  color: #7fff9f;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.crt-desc {
  color: #ccc;
  margin-bottom: 25px;
  line-height: 1.5;
}

/* RAPPORTS */
.crt-report-list {
  display: grid;
  gap: 20px;
}

.crt-report {
  background: rgba(10,12,20,0.9);
  padding: 15px;
  border-left: 3px solid rgba(127,255,159,0.4);
}

.crt-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 15px;
  background: #7fff9f;
  color: #05060c;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
}

/* RISQUES */
.risk-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.risk-item {
  background: rgba(10,12,20,0.9);
  padding: 15px;
  border: 1px solid rgba(255,255,255,0.1);
}

/* AGENTS */
.agent-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.agent-card {
  background: rgba(10,12,20,0.9);
  padding: 15px;
  border: 1px solid rgba(127,255,159,0.2);
}

.crt-subtitle {
  margin-top: 40px;
  color: #9fb3ff;
  text-transform: uppercase;
}



.logo-footer {
    width: 100%;
    padding: 40px 20px;
    background: #05060c;
    border-top: 1px solid rgba(127,255,159,0.2);
    text-align: center;
}

.footer-title {
    color: #7fff9f;
    font-size: 1.6rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-text {
    color: #ccc;
    font-size: 0.95rem;
    margin-bottom: 30px;
    line-height: 1.5;
}

.footer-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px; /* ESPACEMENT ENTRE LES LOGOS */
    flex-wrap: wrap;
}

.footer-logo {
    width: 140px;
    filter: drop-shadow(0 0 10px rgba(127,255,159,0.4));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 15px rgba(127,255,159,0.7));
}





.contact-section {
  max-width: 600px;
  margin: 40px auto;
  padding: 20px;
  background-color: #0a0a0a;
  color: #e0e0e0;
  border: 1px solid #333;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0, 255, 200, 0.2);
}

.contact-header {
  text-align: center;
  margin-bottom: 20px;
}

.contact-logo {
  width: 100px;
  margin-bottom: 10px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
  border: 1px solid #444;
  border-radius: 4px;
  background-color: #111;
  color: #e0e0e0;
}

.contact-form button {
  background-color: #00ffaa;
  color: #000;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}

.contact-form button:hover {
  background-color: #00cc88;
}

.login-footer {
  text-align: center;
  margin-top: 30px;
}

.login-footer a {
  color: #00ffaa;
  text-decoration: none;
}




.crt-links {
    list-style: none;
    padding: 0;
    margin: 10px 0;
    display: flex;
    flex-wrap: wrap; /* Passe à la ligne si l'écran est trop petit */
    gap: 12px; /* Espace entre les liens */
    justify-content: center; /* Centre les liens */
}

.crt-links li {
    margin: 0;
}

.crt-links a {
    color: #00ffaa;
    text-decoration: none;
    font-weight: bold;
    padding: 6px 12px;
    border: 1px solid #00ffaa;
    border-radius: 4px;
    transition: 0.2s;
}

.crt-links a:hover {
    background-color: #00ffaa;
    color: #000;
    text-shadow: 0 0 6px #000;
}


.page-container {
  max-width: 1100px;
  margin: 40px auto;
  padding: 30px;
  background: #0b0f16;
  border: 1px solid #30384a;
  box-shadow: 0 0 25px rgba(0,0,0,0.7);
}

.page-header {
  border-bottom: 1px solid #30384a;
  padding-bottom: 15px;
  margin-bottom: 25px;
}

.page-title {
  font-size: 26px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6fd3ff;
}

.page-subtitle {
  font-size: 14px;
  color: #9fa8c6;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-top: 5px;
}

.creature-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.creature-card {
  background: #0f141f;
  border-left: 3px solid #6fd3ff;
  padding: 15px;
  border-radius: 4px;
  text-align: center;
}

.creature-icon {
  width: 100%;
  border: 1px solid #30384a;
  border-radius: 4px;
  margin-bottom: 10px;
}

.creature-family {
  font-size: 12px;
  color: #9fe3ff;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.creature-desc {
  font-size: 14px;
  color: #c8eaff;
  margin-bottom: 10px;
}

.creature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.creature-list li {
  margin: 6px 0;
  font-size: 13px;
  color: #e5e5e5;
}
/* --- PAGE --- */
.page-container {
  max-width: 1100px;
  margin: 40px auto;
  padding: 30px;
  background: #0b0f16;
  border: 1px solid #30384a;
  box-shadow: 0 0 25px rgba(0,0,0,0.7);
}

.page-header {
  border-bottom: 1px solid #30384a;
  padding-bottom: 15px;
  margin-bottom: 25px;
}

.page-title {
  font-size: 26px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6fd3ff;
}

.page-subtitle {
  font-size: 14px;
  color: #9fa8c6;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-top: 5px;
}

/* --- SECTIONS --- */
.creature-section {
  margin-top: 40px;
}

.creature-section h2 {
  font-size: 22px;
  color: #6fd3ff;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.intro {
  font-size: 14px;
  color: #c8eaff;
  margin-bottom: 25px;
  line-height: 1.5;
}

/* --- GRILLE 3 COLONNES --- */
.creature-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* --- CARTE CRÉATURE --- */
.creature-card {
  background: #0f141f;
  border-left: 3px solid #6fd3ff;
  padding: 15px;
  border-radius: 4px;
  text-align: center;
  transition: 0.3s;
}

.creature-card:hover {
  box-shadow: 0 0 15px rgba(111,211,255,0.25);
  transform: translateY(-3px);
}

/* --- IMAGE --- */
.creature-icon {
  width: 100%;
  border: 1px solid #30384a;
  border-radius: 4px;
  margin-bottom: 10px;
}

/* --- TITRE CRÉATURE --- */
.creature-card h3 {
  color: #9fe3ff;
  font-size: 18px;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- FAMILLE / TYPE --- */
.creature-family {
  font-size: 12px;
  color: #9fe3ff;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* --- DESCRIPTION --- */
.creature-desc {
  font-size: 14px;
  color: #c8eaff;
  margin-bottom: 10px;
  line-height: 1.4;
}

/* --- LISTE DES CARACTÉRISTIQUES --- */
.creature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.creature-list li {
  margin: 6px 0;
  font-size: 13px;
  color: #e5e5e5;
}

















body {
  margin: 0;
  padding: 0;
  background: #05070c;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #e5f6ff;
}

.page-container {
  max-width: 1100px;
  margin: 40px auto;
  padding: 30px;
  background: #0b0f16;
  border: 1px solid #30384a;
  box-shadow: 0 0 25px rgba(0,0,0,0.7);
}

.page-header {
  border-bottom: 1px solid #30384a;
  padding-bottom: 15px;
  margin-bottom: 25px;
}

.page-title {
  font-size: 26px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6fd3ff;
}

.page-subtitle {
  font-size: 13px;
  color: #9fa8c6;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-top: 5px;
}

.fiche-section {
  margin-top: 30px;
}

.fiche-section h2 {
  font-size: 18px;
  color: #6fd3ff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.fiche-section p {
  font-size: 14px;
  color: #c8eaff;
  line-height: 1.6;
}

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

.fiche-card {
  background: #0f141f;
  border-left: 3px solid #6fd3ff;
  padding: 15px;
  border-radius: 4px;
}

.fiche-card h3 {
  font-size: 16px;
  color: #9fe3ff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.fiche-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.fiche-list li {
  font-size: 13px;
  color: #e5f6ff;
  margin: 4px 0;
}

.fiche-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  font-size: 13px;
}

.fiche-table th,
.fiche-table td {
  border: 1px solid #30384a;
  padding: 8px 10px;
}

.fiche-table th {
  background: #111827;
  color: #9fe3ff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.fiche-table td {
  background: #0f141f;
  color: #c8eaff;
}




.fiche-planification {
  margin-top: 20px;
  padding: 10px 20px;
  background:#45a29e;
  color:#0b0c10;
  border:none;
  border-radius:4px;
  cursor:pointer;
  font-weight:bold;
}

.fiche-planification:hover {
  background:#66fcf1;
}

.visitor-counter {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 99999;

    background: rgba(5, 6, 12, 0.95);
    border: 1px solid rgba(46, 204, 113, 0.4);
    padding: 10px 20px;
    border-radius: 4px;

    box-shadow: 0 0 20px rgba(46, 204, 113, 0.2);
    font-family: 'Courier New', monospace;
}

.counter-label {
    color: #2ecc71;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.counter-number {
    color: #ffffff;
    font-weight: bold;
    letter-spacing: 2px;
    text-shadow: 0 0 8px #2ecc71;
}

.counter-pulse {
    width: 8px;
    height: 8px;
    background: #2ecc71;
    border-radius: 50%;
    box-shadow: 0 0 8px #2ecc71;
    animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.6); opacity: 0.4; }
    100% { transform: scale(1); opacity: 1; }
}















 
  .crt-accordion-horizontal {
  max-width: 1000px;
  margin: 40px auto;
}

/* Barre horizontale */
.acch-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.acch-btn {
  padding: 12px 18px;
  background-color: var(--surface-color);
  color: var(--text-bright);
  border: 1px solid #222;
  cursor: pointer;
  font-weight: bold;
  letter-spacing: 1px;
  transition: 0.2s ease;
}

.acch-btn:hover,
.acch-btn.active {
  background-color: var(--surface-accent);
  border-bottom: 3px solid var(--fn-red);
}

/* Contenu */
.acch-content {
  display: none;
  background-color: #0d1117;
  border: 1px solid #222;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}
/* Supprime les puces dans l'accordéon horizontal */
.acch-content ul {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

.acch-content ul li {
  padding-left: 0;
  margin-bottom: 8px;
}

/* Supprime les puces CRT (» rouge) si présentes */
.acch-content .crt-list li::before {
  content: none;
}


@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.acch-btn {
  position: relative;
  padding-left: 40px; /* espace pour le badge */
}

/* Badge carré */
.acch-btn::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  background-color: var(--fn-red);
  border-radius: 2px;
}

/* Couleurs différentes pour chaque bouton */
.acch-btn:nth-child(1)::before { background-color: #ff3333; } /* rouge */
.acch-btn:nth-child(2)::before { background-color: #2f80ed; } /* bleu */
.acch-btn:nth-child(3)::before { background-color: #f2994a; } /* amber */
.acch-btn:nth-child(4)::before { background-color: #9b59b6; } /* violet */
.acch-btn:nth-child(5)::before { background-color: #27ae60; } /* vert */
.acch-btn:nth-child(6)::before { background-color: #e74c3c; } /* rouge foncé */
.acch-btn:nth-child(7)::before { background-color: #16a085; } /* turquoise */
.acch-btn:nth-child(8)::before { background-color: #d35400; } /* orange foncé */
.acch-btn:nth-child(9)::before { background-color: #8e44ad; } /* violet foncé */
.acch-btn:nth-child(10)::before { background-color: #c0392b; } /* rouge profond */

  .accordion {
  width: 100%;
  max-width: 900px;
  margin: 40px auto;
  font-family: "Segoe UI", sans-serif;
}

.accordion-item {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.accordion-header {
  width: 100%;
  background: #0b0d11;
  color: #f1f1f1;
  padding: 16px;
  text-align: left;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.accordion-header:hover {
  background: #14171d;
}

.accordion-header.active {
  background: #1c1f26;
  color: #f1c40f;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  background: #111318;
  color: #d0d0d0;
  padding: 0 16px;
  transition: max-height 0.3s ease;
}

.accordion-content p {
  padding: 16px 0;
  line-height: 1.6;
}





/* Style pour intégrer le compteur dans ton design sombre */
.terminal-monitoring {
    display: inline-flex;
    align-items: center;
    background-color: rgba(0, 17, 0, 0.4);
    border: 1px solid #11aa11;
    padding: 8px 15px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.8rem;
    color: #33ff33;
    margin-top: 15px;
}

.counter-highlight {
    color: #ffffff;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(51, 255, 51, 0.5);
}

/* Petit effet de point clignotant style radar militaire */
.pulse-indicator {
    width: 6px;
    height: 6px;
    background-color: #33ff33;
    border-radius: 50%;
    margin-right: 10px;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0% { opacity: 0.2; }
    50% { opacity: 1; }
    100% { opacity: 0.2; }
}

.archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.archive-grid img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.archive-item {
    position: relative;
}

.restriction-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 6px 0;
    background: rgba(0,0,0,0.7);
    color: #ff4f4f;
    text-align: center;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 2;
}

.info-tag {
    margin-top: 6px;
    font-size: 0.75rem;
    text-align: center;
    color: #ccc;
}
