/* style.css pour Vel’Serath : Chroniques du Néant */

/* Reset de base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Cinzel', serif;
  background: #000;
  color: #D4AF37;
  overflow-x: hidden;
}

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

/* ================= NAVBAR ================= */

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
  z-index: 100;
  padding: 20px 0;
}

.nav-list {
  display: flex;
  gap: 30px;
  list-style: none;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-item i {
  font-size: 1.2rem;
}

/* ================= HERO ================= */

.hero {
  position: relative;
  height: 90vh;
  margin-top: 70px; /* pour éviter que la navbar ne recouvre le contenu */
  background: url("assets/hero-bg.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* overlay sombre mystique ambré */
  background: linear-gradient(
    rgba(30, 15, 0, 0.4),
    rgba(30, 15, 0, 0.4)
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 15px;
}

.hero-subtitle {
  font-size: 1.1rem;
  margin-bottom: 25px;
  line-height: 1.4;
}

.hero-button {
  padding: 12px 30px;
  border: 2px solid #D4AF37; /* or */
  border-radius: 4px;
  text-transform: uppercase;
  transition: background 0.3s, color 0.3s;
}

.hero-button:hover {
  background: #D4AF37; /* fond or au survol */
  color: #000;         /* texte noir au survol */
}

.hero-sword {
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  width: 40px;
  z-index: 1;
}

/* ================= SECTIONS GÉNÉRALES ================= */

/* Texte de toutes les sections en blanc */
section {
  color: #fff;
}

/* Mise en page des sections */
section {
  padding: 80px 20px;      /* espace vertical + latéral */
  max-width: 800px;        /* limite la largeur */
  margin: 0 auto;          /* centre horizontalement */
  min-height: 100px;
}

section > * {
  max-width: 800px;
  margin: 0 auto;
}

/* Typographie des sections */
section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

section p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Espace autour des séparateurs de sections */
hr {
  border: none;
  border-top: 1px solid rgba(212, 175, 55, 0.3);
  margin: 2.5rem 0;
}

/* ================= LISTE DES CHAPITRES ================= */

#liste-chap {
  list-style: none;
  padding: 0;
  margin: 0 auto 2rem;
  max-width: 800px;
}

#liste-chap li {
  margin-bottom: 1rem;
}

#liste-chap li a {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 700; /* Chapitre X en gras */
  text-decoration: none;
  color: inherit;
  transition: background 0.3s, color 0.3s;
  padding: 4px 8px;
  border-radius: 4px;
}

#liste-chap li a span {
  font-weight: 400;  /* Titre du Chapitre en normal */
  font-size: 0.95rem;
}

#liste-chap li a:hover {
  background: rgba(212, 175, 55, 0.1);
  color: #D4AF37;
}

/* ================= CONTENU DES CHAPITRES (PAGES) ================= */

article[id^="chapitre-"] {
  background: rgba(0, 0, 0, 0.75);
  padding: 60px 30px;
  max-width: 800px;
  margin: 40px auto;
  border-radius: 8px;
}

article[id^="chapitre-"] h1 {
  color: #D4AF37;
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

article[id^="chapitre-"] h3 {
  color: #D4AF37;
  font-size: 1.6em;
  margin-top: 1.5em;
  margin-bottom: 0.8em;
}

article[id^="chapitre-"] p {
  color: #FFF;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

article[id^="chapitre-"] p.dialogue {
  color: #E0C364;
  font-style: italic;
  margin-left: 1.5rem;
}

/* Espacement et style pour les listes à puces dans les chapitres */
article[id^="chapitre-"] ul {
  margin-top: 0.6em;
  margin-bottom: 1em;
  line-height: 1.7;
  list-style-type: disc;
  padding-left: 2em;
}

/* ================= FOOTER ================= */

footer {
  text-align: center;
  padding: 20px;
  background: #000;
}

/* =============== CHAPITRES (INDEX) ================== */
#chapitres {
  padding-bottom: 30px;   /* au lieu des 80px par défaut de section */
}


/* =================== CARTE DU MONDE (INDEX) =================== */
#carte-du-monde {
  margin-top: 40px;   /* joue entre 20 et 60 si tu veux resserrer ou aérer */
  padding-top: 20px;
}


/* =================== PERSONNAGES =================== */

/* On ne touche qu’ici pour améliorer l’affichage des persos */

section#personnages {
  max-width: 980px;
  margin: 10px auto 0;
  padding-top: 40px;   /* au lieu de 80px par défaut */
}


/* Grille responsive de personnages */
#perso-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px 22px;
  margin-top: 18px;
  width: 100%;
  max-width: 980px;
}

/* Boutons personnages */
#perso-list .perso-btn {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.12s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

/* Lueur dorée plus forte au survol */
#perso-list .perso-btn:hover {
  background: radial-gradient(
    circle at 50% 0,
    rgba(230, 197, 105, 0.22) 0,
    rgba(0, 0, 0, 0) 60%
  );
  color: #D4AF37;
  transform: translateY(-1px);
  border-color: rgba(230, 197, 105, 0.9);
  box-shadow: 0 0 16px rgba(230, 197, 105, 0.6);
}

/* ============ FICHES PERSONNAGES (pages perso) ============ */

.fiche .card {
  max-width: 820px;
  margin: 60px auto;
  padding: 40px 32px;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 10px;
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.08) inset,
    0 12px 30px rgba(0, 0, 0, 0.6);
}

.fiche-title {
  text-align: center;
  font-size: 2.4rem;
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
  position: relative;
}

.fiche-title::after {
  content: "";
  display: block;
  width: 120px;
  height: 2px;
  margin: 0.35rem auto 0;
  background: #D4AF37;
}

.subtitle {
  text-align: center;
  color: #E0C364;
  opacity: 0.85;
  margin-bottom: 22px;
  font-size: 0.95rem;
}

/* Portrait compact (≈ 3/4) */
.portrait {
  width: 260px;              /* taille du cadre */
  height: 360px;
  margin: 0 auto 20px;       /* centre + espace en bas */
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 8px;
  overflow: hidden;          /* cache l'image qui dépasse */
  background: transparent;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.45);
}

.portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}

.portrait figcaption {
  display: none;
}

/* Sections de la carte (lignes fines or) */
.fiche section h2 {
  font-size: 1.4rem;
  margin: 18px 0 10px;
}

.fiche section {
  border-top: 1px solid rgba(212, 175, 55, 0.25);
  padding-top: 14px;
  margin-top: 18px;
}

/* Grille identité (libellé / valeur) */
.grid-2 {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 8px 16px;
}

.grid-2 dt {
  color: #E0C364;
  font-weight: 700;
}

.grid-2 dd {
  margin: 0;
}

/* Timeline simple */
.timeline {
  list-style: none;
  margin: 0.25rem 0 0;
  padding: 0;
}

.timeline li {
  margin: 0.3rem 0;
}

.timeline .date {
  color: #E0C364;
  font-weight: 700;
  margin-right: 0.5rem;
}

/* Actions / navigation */
.actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 26px;
}

.actions .btn {
  display: inline-block;
  padding: 10px 16px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 6px;
  transition: background 0.25s, color 0.25s, transform 0.1s;
}

.actions .btn:hover {
  background: rgba(212, 175, 55, 0.10);
  color: #D4AF37;
  transform: translateY(-1px);
}

.actions .nav a {
  margin-left: 10px;
  border-bottom: 1px dotted rgba(212, 175, 55, 0.45);
  padding-bottom: 2px;
}

.actions .nav a:hover {
  color: #D4AF37;
}

/* ================= CURSEUR DÉGUISE EN DAGUE ================= */

html,
body,
* {
  cursor: url("assets/cursors/velserath-dagger-32-strict.png") 2 2, auto !important;
}

/* Pour désactiver localement si besoin */
.no-custom-cursor,
.no-custom-cursor * {
  cursor: auto !important;
}

/* ================= "POUVOIRS & MAGIE" (index) ================= */

#pouvoirs-magie.cta-block {
  text-align: left;
  max-width: 980px;
  margin: 0 auto;
  padding: 24px 100px 40px;
}

#pouvoirs-magie.cta-block h2 {
  margin: 0 0 8px;
}

#pouvoirs-magie.cta-block p {
  margin: 0 0 14px;
  max-width: 720px;
  color: #cdbf9a;
}

/* ================= BOUTONS OR GÉNÉRIQUES ================= */

.btn-gold {
  display: inline-block;
  padding: 0.7rem 1.1rem;
  border-radius: 10px;
  color: #1b141f;
  background: linear-gradient(180deg, #d9b85b, #a8842e);
  border: 1px solid rgba(0, 0, 0, 0.35);
  text-decoration: none;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 8px 22px rgba(0, 0, 0, 0.55);
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.btn-gold:hover {
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 10px 26px rgba(0, 0, 0, 0.6),
    0 0 16px rgba(230, 197, 105, 0.35);
  filter: saturate(1.05);
}


/* ===== SECTION SOUTENIR L’AUTEUR ===== */

.vs-support {
  padding: 4rem 1.5rem 4.5rem;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.04), transparent 65%),
    linear-gradient(to bottom, #070308, #000000);
}

.vs-support-inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 2.5rem 1.8rem 2.3rem;
  border-radius: 1.6rem;
  border: 1px solid rgba(255, 215, 120, 0.28);
  background:
    radial-gradient(circle at top, rgba(120, 80, 32, 0.28), transparent 65%),
    radial-gradient(circle at bottom, rgba(20, 8, 4, 0.9), #050308);
  box-shadow:
    0 0 40px rgba(0, 0, 0, 0.95),
    0 0 60px rgba(160, 120, 40, 0.55);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* halo décoratif léger */
.vs-support-inner::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.06), transparent 60%),
    radial-gradient(circle at 80% 100%, rgba(192, 140, 255, 0.14), transparent 60%);
  opacity: 0.7;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.vs-support-title {
  position: relative;
  font-family: "Cinzel", serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 1.4rem;
  margin-bottom: 0.9rem;
}

.vs-support-title span {
  color: #f1ce7a;
}

.vs-support-subtitle {
  position: relative;
  font-size: 0.95rem;
  color: rgba(244, 236, 214, 0.9);
  max-width: 640px;
  margin: 0 auto 1.3rem;
}

.vs-support-text {
  position: relative;
  font-size: 0.94rem;
  line-height: 1.7;
  color: rgba(235, 228, 210, 0.9);
  max-width: 700px;
  margin: 0 auto 2rem;
}

/* Bouton PayPal stylé Vel'Serath */
.vs-support-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.7rem 1.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 215, 120, 0.7);
  background: linear-gradient(135deg, #1a1206, #5a3a12);
  color: #fdf5dd;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  text-decoration: none;
  cursor: pointer;
  box-shadow:
    0 0 18px rgba(0, 0, 0, 0.95),
    0 0 24px rgba(255, 215, 120, 0.45);
  transition: 0.22s ease;
  z-index: 1;
}

.vs-support-btn::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.2), transparent 60%);
  opacity: 0;
  transition: opacity 0.22s ease;
  z-index: -1;
}

.vs-support-btn:hover {
  transform: translateY(-1px);
  box-shadow:
    0 0 26px rgba(255, 215, 120, 0.8),
    0 0 40px rgba(0, 0, 0, 0.98);
}

.vs-support-btn:hover::before {
  opacity: 1;
}

.vs-support-glyph {
  font-size: 1.1rem;
  color: #ffb96a;
}

.vs-support-note {
  position: relative;
  margin-top: 1.4rem;
  font-size: 0.8rem;
  color: rgba(230, 222, 205, 0.78);
  font-style: italic;
}

/* Responsive */
@media (max-width: 720px) {
  .vs-support-inner {
    padding: 2.1rem 1.4rem 2rem;
  }

  .vs-support-title {
    font-size: 1.2rem;
    letter-spacing: 0.13em;
  }

  .vs-support-btn {
    width: 100%;
    max-width: 320px;
  }
}


/* ===== SECTION CONTACT SIMPLE ===== */

.vs-contact {
  padding: 3.5rem 1.5rem 2rem;
  background: #000000;
}

.vs-contact-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 2.3rem 1.8rem 2rem;
  border-radius: 1.4rem;
  border: 1px solid rgba(255, 215, 120, 0.28);
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.04), transparent 60%),
    #050308;
  text-align: center;
  box-shadow: 0 0 32px rgba(0, 0, 0, 0.9);
}

.vs-contact-title {
  font-family: "Cinzel", serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.vs-contact-text {
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 1.5rem;
  color: rgba(236, 228, 210, 0.9);
}

.vs-contact-email {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 215, 120, 0.7);
  background: radial-gradient(circle at 30% 0%, rgba(255, 255, 255, 0.18), #1a1208);
  color: #f9f1dc;
  text-decoration: none;
  font-size: 0.95rem;
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.95);
  transition: 0.2s ease;
}

.vs-contact-email i {
  font-size: 1rem;
}

.vs-contact-email:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 24px rgba(255, 215, 120, 0.8);
}

.vs-contact-note {
  font-size: 0.8rem;
  margin-top: 1.3rem;
  color: rgba(210, 202, 186, 0.85);
  font-style: italic;
}


/* ===== BOUTON PRINCIPAL VEL'SERATH (réutilisable) ===== */

.vs-main-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 1.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 215, 120, 0.7);
  background: linear-gradient(135deg, #1a1206, #5a3a12);
  color: #fdf5dd;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  text-decoration: none;
  cursor: pointer;
  box-shadow:
    0 0 14px rgba(0, 0, 0, 0.9),
    0 0 20px rgba(255, 215, 120, 0.38);
  transition: 0.22s ease;
}

.vs-main-btn:hover {
  transform: translateY(-1px);
  box-shadow:
    0 0 22px rgba(255, 215, 120, 0.7),
    0 0 30px rgba(0, 0, 0, 0.96);
}

.vs-main-btn-icon {
  font-size: 0.9rem;
  color: #ffb96a;
}



/* ========= TOAST NOUVEAU CONTENU ========= */

.vs-toast {
  position: fixed;
  right: 40px;
  bottom: 40px;
  z-index: 60;
  font-family: "Cormorant Garamond", serif;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.vs-toast--hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

.vs-toast-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 2rem;
  border-radius: 999px;
  background: radial-gradient(circle at top,
    rgba(255, 238, 200, 0.25) 0,
    rgba(40, 14, 0, 0.96) 45%,
    rgba(4, 0, 0, 0.98) 100%);
  box-shadow:
    0 0 26px rgba(255, 220, 150, 0.45),
    0 0 120px rgba(0, 0, 0, 0.9);
  border: 1px solid rgba(255, 220, 160, 0.85);
}

.vs-toast-main {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.vs-toast-tag {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 230, 190, 0.9);
  background: linear-gradient(
    to right,
    rgba(255, 220, 150, 0.35),
    rgba(90, 40, 0, 0.98)
  );
  color: #fdf0c8;
  white-space: nowrap;
}

.vs-toast-text {
  font-size: 0.9rem;
  color: #f8ead0;
  margin: 0;
  max-width: 420px;
}

.vs-toast-text strong {
  color: #ffeaa5;
}

/* Bouton X */

.vs-toast-close {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(255, 230, 185, 0.9);
  background: rgba(0, 0, 0, 0.5);
  color: #ffeec8;
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.25s ease;
}

.vs-toast-close:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: scale(1.04);
  box-shadow: 0 0 16px rgba(255, 230, 190, 0.6);
}

.vs-toast-close:active {
  transform: scale(0.94);
}

/* Responsive : sur mobile, on élargit et on remonte un peu */

@media (max-width: 768px) {
  .vs-toast {
    right: 16px;
    left: 16px;
    bottom: 24px;
  }

  .vs-toast-inner {
    width: 100%;
    border-radius: 999px;
    padding: 0.8rem 1.2rem;
  }

  .vs-toast-text {
    font-size: 0.8rem;
  }
}


/* =========================
   SECTION NEWSLETTER VEL'SERATH
   (version dorée, comme le bloc "Soutenir l'auteur")
   ========================== */

.newsletter-section {
  padding: 4rem 1.5rem 3.5rem;
  background: #000000; /* fond général du site */
}

.newsletter-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 2.5rem 2.2rem 2.2rem;
  border-radius: 26px;
  background: radial-gradient(circle at top,
    #3a2613 0%,
    #1a1009 55%,
    #050303 100%);
  border: 1px solid rgba(255, 204, 120, 0.28);
  box-shadow:
    0 0 45px rgba(0, 0, 0, 0.9),
    0 0 80px rgba(255, 190, 92, 0.35);
}

/* Titre */

.newsletter-title {
  font-family: "Cinzel", serif;
  font-size: clamp(1.9rem, 2.4vw, 2.3rem);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  text-align: center;
  color: #f9e2b3;
  margin-bottom: 0.75rem;
}

/* Texte */

.newsletter-text {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.05rem;
  line-height: 1.7;
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2rem;
  color: rgba(252, 227, 182, 0.92);
}

/* Conteneur de l’iframe */

.newsletter-form-wrapper {
  display: flex;
  justify-content: center;
}

/* On laisse l’intérieur géré par Brevo, mais on adapte le cadre */

.newsletter-form-wrapper iframe {
  width: 100%;
  max-width: 560px;
  height: 320px;
  border-radius: 18px;
  border: 1px solid rgba(255, 210, 135, 0.4);
  box-shadow:
    0 0 30px rgba(0, 0, 0, 0.9),
    0 0 45px rgba(255, 190, 92, 0.25);
  background: #0b0704;
}



