/* ═══════════════════════════════════════════════════════
   CINDY BRUSCAGGIN — Site Officiel
   Charte : Ambiance Dragon — Obsidienne + Or Draconique + Braise
═══════════════════════════════════════════════════════ */

/* ── Variables ── */
:root {
  --ivoire:       #F0E4CC;
  --creme:        #17110A;
  --creme-fonce:  #251808;
  --encre:        #F1E7D4;
  --brun-doux:    #BBA98B;
  --brun-clair:   #9C8D72;
  --or-antique:   #C9932E;
  --or-pale:      #E0B366;
  --or-subtle:    rgba(201,147,46,0.14);
  --nuit-dragon:  #050302;
  --nuit-profond: #030201;
  --blanc-doux:   #FBF3E4;
  --obsidienne:   #0A0705;
  --flamme:       #B8481F;
  --flamme-vive:  #E2692C;

  --font-title:  'Cinzel', 'Georgia', serif;
  --font-serif:  'Cormorant Garamond', 'Georgia', serif;
  --font-body:   'EB Garamond', 'Georgia', serif;
  --font-script: 'Pinyon Script', cursive;
  --nuit-lune:   #2A2E4A;

  --radius: 3px;
  --transition: 0.3s ease;
  --border-gold: 1px solid rgba(201,147,46,0.28);
  --glow-gold-sm: 0 0 24px rgba(201,147,46,0.25);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; cursor: none !important; }
html, body, a, button, input, textarea, select, label, [role="button"] { cursor: none !important; }
* { cursor: none !important; }
@media (pointer: coarse) {
  html, body, a, button, input, textarea, select, label, [role="button"], * { cursor: auto !important; }
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ══════════════════════════════════════
   CURSEUR — flamme vivante
══════════════════════════════════════ */
#dragon-cursor {
  position: fixed;
  top: 0; left: 0;
  width: 30px;
  height: 38px;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -85%);
  opacity: 0;
  transition: opacity 0.2s ease, width 0.15s ease, height 0.15s ease;
}
#dragon-cursor::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('images/curseur-flamme.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom center;
  transform-origin: 50% 100%;
  filter: drop-shadow(0 0 6px rgba(226,105,44,0.85)) drop-shadow(0 0 14px rgba(184,72,31,0.5));
  animation: flameCursorFlick 0.55s ease-in-out infinite alternate;
}
@keyframes flameCursorFlick {
  0%   { transform: scaleY(1) scaleX(1) skewX(-2deg) rotate(-2deg); }
  50%  { transform: scaleY(1.08) scaleX(0.94) skewX(1deg) rotate(1deg); }
  100% { transform: scaleY(0.95) scaleX(1.05) skewX(-1deg) rotate(-3deg); }
}
#dragon-cursor.on-button {
  width: 44px;
  height: 56px;
}
@media (prefers-reduced-motion: reduce) {
  #dragon-cursor::before {
    animation: none;
  }
}
body {
  background-color: var(--obsidienne);
  color: var(--encre);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}
/* Écailles de dragon — appliquées sur un calque fixe séparé (::before),
   dimensionné sur la fenêtre (position: fixed => cover se calcule par
   rapport au viewport). Poser ce fond directement sur <body> avec
   background-size: cover le dimensionnait par rapport à la hauteur de
   TOUTE la page (très grande, page longue) plutôt que de l'écran : sur
   mobile ça zoomait énormément dans la texture et rendait très mal. Ce
   calque fixe règle aussi le souci d'origine (attachment: fixed cassé /
   saccadé sur iOS Safari) sans avoir besoin d'aucun hack par appareil. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(180deg, rgba(10,7,5,0.1) 0%, rgba(10,7,5,0.15) 50%, rgba(10,7,5,0.25) 100%),
    url('images/texture-ecailles-seamless.jpg');
  background-repeat: no-repeat, no-repeat;
  background-position: center top, center center;
  background-size: cover, cover;
}
/* Pour la page autrice (livres/, sous-dossier) — même texture, chemin relatif */
body.sub-page::before {
  background-image:
    linear-gradient(180deg, rgba(10,7,5,0.1) 0%, rgba(10,7,5,0.15) 50%, rgba(10,7,5,0.25) 100%),
    url('../images/texture-ecailles-seamless.jpg');
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--creme); }
::-webkit-scrollbar-thumb { background: var(--or-antique); border-radius: 3px; }

/* ══════════════════════════════════════
   FLAMMES D'AMBIANCE — apparaissent toutes les 8s
══════════════════════════════════════ */
.dragon-flames {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.flame {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(226,105,44,0.65) 0%, rgba(184,72,31,0.4) 35%, transparent 72%);
  filter: blur(20px);
  opacity: 0;
  animation: flameFlicker 8s ease-in-out infinite;
}
.flame-1 { width: 280px; height: 280px; left: -70px;  bottom: -80px;  animation-delay: 0s; }
.flame-2 { width: 220px; height: 220px; right: -60px;  bottom: 12%;   animation-delay: 2.6s; }
.flame-3 { width: 320px; height: 320px; left: 30%;     bottom: -120px; animation-delay: 5.2s; }
.flame-4 { width: 200px; height: 200px; right: 18%;    top: -70px;    animation-delay: 4s; }

@keyframes flameFlicker {
  0%, 68% { opacity: 0; transform: scale(0.7) translateY(14px); }
  76%     { opacity: 0.6; transform: scale(1.03) translateY(-2px); }
  83%     { opacity: 0.35; transform: scale(0.94) translateY(2px); }
  90%     { opacity: 0.55; transform: scale(1) translateY(-4px); }
  100%    { opacity: 0; transform: scale(0.7) translateY(14px); }
}
@media (prefers-reduced-motion: reduce) {
  .flame { animation: none; opacity: 0; }
}

/* ══════════════════════════════════════
   NAVIGATION
══════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 7, 5, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(201,147,46,0.22);
  transition: box-shadow var(--transition);
}
#navbar.scrolled { box-shadow: 0 1px 0 rgba(201,147,46,0.32), 0 8px 24px rgba(0,0,0,0.45); }
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.nav-logo {
  font-family: var(--font-title);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  color: var(--encre);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.nav-logo em { font-style: italic; color: var(--or-antique); }
.nav-logo-script {
  font-family: var(--font-script);
  font-size: 1.7rem;
  color: var(--or-pale);
  line-height: 1;
}
.nav-logo-sub {
  font-family: var(--font-title);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--encre);
}
.nav-logo-img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(201,147,46,0.45);
  box-shadow: 0 0 14px rgba(201,147,46,0.25);
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 2.6rem;
  align-items: center;
}
.nav-links a {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brun-doux);
  transition: color var(--transition);
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 100%;
  height: 1px;
  background: var(--or-antique);
  transition: right var(--transition);
}
.nav-links a:hover { color: var(--or-antique); }
.nav-links a:hover::after { right: 0; }
.nav-links .nav-cta {
  color: var(--or-antique);
  border: 1px solid rgba(201,147,46,0.5);
  padding: 0.5rem 1.3rem;
  border-radius: var(--radius);
  letter-spacing: 0.08em;
  transition: all var(--transition);
}
.nav-links .nav-cta::after { display: none; }
.nav-links .nav-cta:hover { background: var(--or-antique); color: var(--blanc-doux); }
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-burger span { display: block; width: 24px; height: 1.5px; background: var(--encre); transition: var(--transition); }

/* ══════════════════════════════════════
   BOUTONS
══════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-serif);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--or-antique);
  background: transparent;
  color: var(--or-antique);
  cursor: pointer;
  padding: 0.95rem 2.4rem;
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
}
.btn:hover { background: var(--or-antique); color: var(--blanc-doux); }
.btn-primary { background: var(--or-antique); color: var(--blanc-doux); }
.btn-primary:hover { background: var(--nuit-dragon); border-color: var(--or-antique); color: var(--or-pale); }
.btn-ghost { border-color: rgba(240,228,204,0.25); color: var(--encre); }
.btn-ghost:hover { border-color: var(--or-antique); background: transparent; color: var(--or-antique); }
.btn-on-dark { border-color: var(--or-pale); color: var(--or-pale); }
.btn-on-dark:hover { background: var(--or-pale); color: var(--nuit-dragon); }
.btn-full { width: 100%; }
.btn-disabled { opacity: 0.4; cursor: not-allowed; pointer-events: none; }

/* ══════════════════════════════════════
   LAYOUT
══════════════════════════════════════ */
.container { max-width: 1140px; margin: 0 auto; padding: 0 2.5rem; }
.section { padding: 110px 0; position: relative; }
/* Fonds semi-transparents (et non pleins) pour laisser transparaître
   la texture d'écailles du body à travers toutes les sections. */
.section-creme { background: rgba(23,17,10,0.32); }
.section-dark { background: rgba(5,3,2,0.35); color: var(--ivoire); }
.section-header { text-align: center; margin-bottom: 60px; }
.section-label {
  font-family: var(--font-serif);
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--or-antique);
  margin-bottom: 1.1rem;
}
.section-dark .section-label { color: var(--or-pale); }
.section-title {
  font-family: var(--font-title);
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1.1rem;
  color: var(--encre);
}
.section-dark .section-title { color: var(--ivoire); }
.section-title em { font-style: italic; color: var(--or-antique); text-shadow: 0 0 24px rgba(201,147,46,0.25); }
.section-dark .section-title em { color: var(--or-pale); }
.section-intro {
  font-size: 1.1rem;
  color: var(--brun-doux);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.85;
  font-style: italic;
}
.section-dark .section-intro { color: rgba(240,228,204,0.72); }
.ornament-line {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin: 1.3rem 0;
  justify-content: center;
}
.ornament-line span:not(.star-ornament) { flex: 1; max-width: 90px; height: 1px; }
.ornament-line span:first-child { background: linear-gradient(90deg, transparent, var(--or-antique)); }
.ornament-line span:last-child { background: linear-gradient(270deg, transparent, var(--or-antique)); }
.star-ornament { color: var(--or-antique); font-size: 0.7rem; }
.section-dark .star-ornament { color: var(--or-pale); }

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
#hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  /* Pas de fond plein ici : on laisse transparaître la texture d'écailles
     du body, seulement teintée par ces deux halos décoratifs. */
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(201,147,46,0.16) 0%, transparent 65%),
    radial-gradient(ellipse 45% 40% at 85% 90%, rgba(42,46,74,0.35) 0%, transparent 70%);
  padding-top: 84px;
}
.hero-content { max-width: 780px; padding: 2rem; }
.hero-eyebrow {
  font-family: var(--font-serif);
  font-size: 0.8rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--or-antique);
  margin-bottom: 1.6rem;
}
.hero-title {
  font-family: var(--font-title);
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  font-weight: 700;
  color: var(--encre);
  line-height: 1.08;
  margin-bottom: 1.3rem;
}
.hero-title em { font-style: italic; color: var(--or-antique); text-shadow: 0 0 36px rgba(201,147,46,0.3); }
.hero-title-script {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: 1.5em;
  color: var(--or-pale);
  text-shadow: 0 0 40px rgba(224,179,102,0.35);
  display: inline-block;
  margin-bottom: 0.1em;
}
.hero-tagline {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--brun-doux);
  max-width: 520px;
  margin: 0 auto 2.6rem;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 1.1rem; justify-content: center; flex-wrap: wrap; }

/* ══════════════════════════════════════
   UNIVERS GRID (aperçu des deux livres)
══════════════════════════════════════ */
.univers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5px;
  border: 1px solid rgba(201,147,46,0.2);
  background: rgba(201,147,46,0.15);
}
.univers-card {
  background: rgba(10,7,5,0.4);
  padding: 3rem 2.4rem;
  transition: background var(--transition);
  text-align: center;
}
.section-creme .univers-card { background: rgba(23,17,10,0.42); }
.univers-card:hover { background: rgba(37,24,8,0.55); }
.univers-card-icon { font-size: 1.6rem; color: var(--or-antique); margin-bottom: 1.2rem; }
.univers-card-badge {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--or-antique);
  border: 1px solid rgba(201,147,46,0.4);
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius);
  margin-bottom: 1.2rem;
}
.univers-card h3 {
  font-family: var(--font-title);
  font-size: 1.3rem;
  color: var(--encre);
  margin-bottom: 0.9rem;
}
.univers-card p {
  font-size: 0.98rem;
  color: var(--brun-doux);
  line-height: 1.8;
  margin-bottom: 1.6rem;
}
.univers-card-link {
  font-family: var(--font-serif);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--or-antique);
  border-bottom: 1px solid var(--or-antique);
  padding-bottom: 2px;
  transition: opacity var(--transition);
}
.univers-card-link:hover { opacity: 0.7; }

/* ══════════════════════════════════════
   LIVRE — SPOTLIGHT (Happy-End / Éclâme)
══════════════════════════════════════ */
.livre-inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 80px;
  align-items: center;
}
.livre-cover-wrap { display: flex; justify-content: center; }
.livre-cover-placeholder {
  width: 260px;
  height: 390px;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 25px 60px rgba(0,0,0,0.5);
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
}
.livre-cover-placeholder:hover { transform: translateY(-8px); }
.livre-cover-img {
  width: 260px;
  height: 390px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.55), 0 0 50px rgba(201,147,46,0.08);
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
}
.livre-cover-img:hover { transform: translateY(-8px); }
.livre-banner {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 3px;
  display: block;
}
.livre-banner-wrap { padding: 0 0 0; }
.cover-happyend {
  background: linear-gradient(165deg, #241a10 0%, #17110a 100%);
  border: 1px solid rgba(201,147,46,0.3);
}
.cover-eclame {
  background: linear-gradient(165deg, #1a0f08 0%, #050302 100%);
  border: 1px solid rgba(224,179,102,0.3);
}
.cover-placeholder-inner { text-align: center; padding: 2rem 1.4rem; }
.cover-icon { width: 46px; height: 46px; margin: 0 auto 1.2rem; opacity: 0.85; }
.cover-eyebrow {
  font-family: var(--font-serif);
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}
.cover-happyend .cover-eyebrow { color: var(--or-antique); }
.cover-eclame .cover-eyebrow { color: var(--or-pale); }
.cover-title {
  font-family: var(--font-title);
  font-size: 1.5rem;
  line-height: 1.25;
}
.cover-happyend .cover-title { color: var(--encre); }
.cover-eclame .cover-title { color: var(--ivoire); }
.cover-author {
  font-family: var(--font-serif);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  margin-top: 1rem;
}
.cover-happyend .cover-author { color: var(--brun-doux); }
.cover-eclame .cover-author { color: rgba(240,228,204,0.6); }

.livre-synopsis { color: var(--brun-doux); font-size: 1.03rem; line-height: 1.9; margin-bottom: 1.1rem; }
.section-dark .livre-synopsis { color: rgba(240,228,204,0.78); }
.livre-quote {
  border-left: 2px solid var(--or-antique);
  padding: 0.9rem 0 0.9rem 1.6rem;
  margin: 1.8rem 0;
  font-style: italic;
  color: var(--encre);
  font-size: 1.08rem;
  line-height: 1.7;
  background: rgba(201,147,46,0.07);
}
.section-dark .livre-quote { color: var(--or-pale); border-left-color: var(--or-pale); background: rgba(224,179,102,0.07); }
.livre-meta {
  display: flex;
  gap: 2.2rem;
  margin: 1.8rem 0 2.2rem;
  flex-wrap: wrap;
  padding: 1.3rem 0;
  border-top: 1px solid rgba(201,147,46,0.18);
  border-bottom: 1px solid rgba(201,147,46,0.18);
}
.section-dark .livre-meta { border-color: rgba(224,179,102,0.2); }
.meta-item { display: flex; flex-direction: column; gap: 0.25rem; }
.meta-label { font-family: var(--font-serif); font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--or-antique); }
.section-dark .meta-label { color: var(--or-pale); }
.meta-value { font-size: 0.96rem; font-family: var(--font-serif); color: var(--encre); }
.section-dark .meta-value { color: var(--ivoire); }
.livre-actions { display: flex; gap: 1.1rem; flex-wrap: wrap; }

/* ══════════════════════════════════════
   EXTRAIT
══════════════════════════════════════ */
.extrait-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.extrait-card {
  position: relative;
  background: var(--creme);
  border: 1px solid rgba(201,147,46,0.25);
  border-radius: 2px;
  padding: 3.2rem 3.4rem;
  margin: 3rem 0;
  text-align: left;
}
.extrait-chapter {
  font-family: var(--font-serif);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--or-antique);
  margin-bottom: 1.8rem;
}
.extrait-epigraph {
  font-style: italic;
  color: var(--brun-doux);
  font-size: 0.95rem;
  margin-bottom: 1.6rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid rgba(201,147,46,0.15);
}
.extrait-text p { font-size: 1.04rem; line-height: 2; color: var(--encre); margin-bottom: 1.1rem; }
.extrait-text p:last-child { margin-bottom: 0; }
.extrait-actions { display: flex; flex-direction: column; align-items: center; gap: 0.7rem; }
.extrait-note { font-family: var(--font-serif); font-size: 0.72rem; letter-spacing: 0.1em; color: var(--brun-clair); }

/* ══════════════════════════════════════
   AUTRICE
══════════════════════════════════════ */
.auteur-inner { display: grid; grid-template-columns: 260px 1fr; gap: 80px; align-items: center; }
.auteur-photo-wrap { display: flex; justify-content: center; }
.auteur-photo-placeholder {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--creme), var(--creme-fonce));
  border: 1px solid rgba(201,147,46,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.auteur-photo-placeholder::before {
  content: '';
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1px solid rgba(201,147,46,0.35);
}
.auteur-photo-placeholder::after {
  content: '';
  position: absolute;
  inset: -28px;
  border-radius: 50%;
  border: 1px dotted rgba(201,147,46,0.25);
}
.auteur-photo-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.auteur-initials { font-family: var(--font-title); font-size: 3.2rem; color: var(--or-antique); }
.auteur-bio { color: var(--brun-doux); font-size: 1.03rem; line-height: 1.9; margin-bottom: 1.1rem; }
.auteur-social { display: flex; gap: 1rem; margin-top: 1.6rem; }
.social-link {
  width: 42px; height: 42px;
  border: 1px solid rgba(201,147,46,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--brun-doux);
  transition: all var(--transition);
}
.social-link:hover { border-color: var(--or-antique); color: var(--or-antique); }

/* ══════════════════════════════════════
   OÙ ME LIRE (formats/achat)
══════════════════════════════════════ */
.formats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5px;
  border: 1px solid rgba(201,147,46,0.2);
  background: rgba(201,147,46,0.15);
}
.format-card { display: block; background: rgba(10,7,5,0.4); padding: 2.2rem 1.6rem; text-align: center; transition: background var(--transition); }
.format-card[href]:hover { background: rgba(37,24,8,0.55); }
.format-card-title { font-family: var(--font-serif); font-size: 0.95rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--encre); margin-bottom: 0.5rem; }
.format-card-sub { font-size: 0.85rem; color: var(--brun-doux); }

/* ══════════════════════════════════════
   NEWSLETTER
══════════════════════════════════════ */
.newsletter-inner { max-width: 600px; margin: 0 auto; text-align: center; }
.newsletter-emblem { font-size: 2.2rem; color: var(--or-pale); margin-bottom: 1rem; }
.newsletter-text { color: rgba(240,228,204,0.75); font-size: 1.03rem; line-height: 1.9; margin-bottom: 2.3rem; font-style: italic; }
.newsletter-input-wrap {
  display: flex;
  border: 1px solid rgba(224,179,102,0.4);
  border-radius: var(--radius);
  overflow: hidden;
}
.newsletter-input {
  flex: 1;
  padding: 1rem 1.4rem;
  background: rgba(240,228,204,0.06);
  border: none;
  color: var(--ivoire);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
}
.newsletter-input::placeholder { color: rgba(240,228,204,0.4); font-style: italic; }
.newsletter-input-wrap .btn { border: none; border-left: 1px solid rgba(224,179,102,0.3); border-radius: 0; }
.newsletter-legal { font-family: var(--font-serif); font-size: 0.7rem; letter-spacing: 0.08em; color: rgba(240,228,204,0.45); margin-top: 0.8rem; }
/* Piège à robots : champ invisible pour les humains, souvent rempli par les bots. */
.newsletter-hp {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
#footer { background: rgba(23,17,10,0.85); border-top: 1px solid rgba(201,147,46,0.2); padding: 3.2rem 0 2rem; }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
  padding-bottom: 2.2rem;
  border-bottom: 1px solid rgba(201,147,46,0.15);
  margin-bottom: 1.8rem;
}
.footer-logo-name { font-family: var(--font-title); font-size: 1.15rem; color: var(--encre); margin-bottom: 0.3rem; letter-spacing: 0.08em; }
.footer-logo-script { font-family: var(--font-script); font-size: 1.6rem; color: var(--or-pale); }
.footer-logo-tagline { font-family: var(--font-serif); font-size: 0.68rem; letter-spacing: 0.16em; color: var(--or-antique); }
.footer-nav { display: flex; gap: 2rem; flex-wrap: wrap; }
.footer-nav a { font-family: var(--font-serif); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brun-doux); transition: color var(--transition); }
.footer-nav a:hover { color: var(--or-antique); }
.footer-social { display: flex; gap: 0.7rem; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-family: var(--font-serif); font-size: 0.72rem; color: var(--brun-clair); }

/* ══════════════════════════════════════
   PAGES LIVRES (liste + détail)
══════════════════════════════════════ */
.page-wrap { max-width: 760px; margin: 0 auto; padding: 150px 2rem 100px; }
.page-header { text-align: center; margin-bottom: 3.5rem; }
.back-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-serif); font-size: 0.8rem; letter-spacing: 0.1em;
  color: var(--or-antique); text-transform: uppercase;
  margin-bottom: 2.2rem; opacity: 0.85; transition: opacity var(--transition);
}
.back-link:hover { opacity: 1; }
.livres-list { display: flex; flex-direction: column; gap: 1.5px; border: 1px solid rgba(201,147,46,0.2); }
.livre-card {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
  background: rgba(23,17,10,0.4);
  padding: 1.8rem 2rem;
  text-decoration: none;
  transition: background var(--transition);
}
.livre-card:hover { background: rgba(37,24,8,0.55); }
.livre-card-num { font-family: var(--font-serif); font-size: 0.65rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--or-antique); margin-bottom: 0.4rem; }
.livre-card-title { font-family: var(--font-title); font-size: 1.2rem; color: var(--encre); }
.livre-card-arrow { font-family: var(--font-serif); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--or-antique); white-space: nowrap; }

.detail-body { font-family: var(--font-body); font-size: 1.08rem; line-height: 1.95; color: var(--encre); }
.detail-body p { margin-bottom: 1.3rem; }
.detail-body p.intro { color: var(--or-antique); font-style: italic; font-size: 1.15rem; }
.detail-signature {
  border-left: 2px solid var(--or-antique);
  padding: 1rem 0 1rem 1.8rem;
  margin: 2.5rem 0 3rem;
  font-style: italic;
  color: var(--brun-doux);
  font-size: 1.02rem;
  background: rgba(201,147,46,0.06);
}
.detail-nav { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding-top: 2.2rem; border-top: 1px solid rgba(201,147,46,0.2); }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 960px) {
  .container { padding: 0 1.8rem; }
  .livre-inner { grid-template-columns: 1fr; gap: 2.6rem; text-align: center; }
  .livre-cover-wrap { justify-content: center; }
  .livre-cover-placeholder { width: 220px; height: 330px; }
  .ornament-line, .livre-meta, .livre-actions { justify-content: center; }
  .auteur-inner { grid-template-columns: 1fr; gap: 2.2rem; text-align: center; }
  .auteur-photo-placeholder { margin: 0 auto; }
  .auteur-social { justify-content: center; }
  .univers-grid, .formats-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .container { padding: 0 1.2rem; }
  .section { padding: 64px 0; }
  .nav-inner { height: 68px; padding: 0 1.2rem; }
  .nav-links {
    display: none; position: fixed; top: 68px; left: 0; right: 0;
    background: rgba(10,7,5,0.97);
    flex-direction: column; gap: 0; padding: 0.5rem 0;
    border-bottom: 1px solid rgba(201,147,46,0.2); z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 1rem 1.5rem; border-bottom: 1px solid rgba(201,147,46,0.08); }
  .nav-links a::after { display: none; }
  .nav-burger { display: flex; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; }
  .univers-grid, .formats-grid { grid-template-columns: 1fr; }
  .extrait-card { padding: 2rem 1.3rem; }
  .page-wrap { padding: 120px 1.3rem 70px; }
  .livre-card { padding: 1.4rem 1.3rem; }
}

/* ══════════════════════════════════════
   PRÉCOMMANDE — Boutique, Avis, Campagne
   (portées depuis le dispositif de précommande,
   thème dragon)
══════════════════════════════════════ */
.stars-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.stars-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 15% 25%, rgba(201,147,46,0.55) 0%, transparent 100%),
    radial-gradient(1px 1px at 82% 8%,  rgba(224,179,102,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 47% 72%, rgba(201,147,46,0.4) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 8%  88%, rgba(224,179,102,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 92% 50%, rgba(201,147,46,0.35) 0%, transparent 100%),
    radial-gradient(1px 1px at 33% 12%, rgba(224,179,102,0.45) 0%, transparent 100%),
    radial-gradient(1px 1px at 68% 90%, rgba(201,147,46,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 55% 40%, rgba(224,179,102,0.25) 0%, transparent 100%),
    radial-gradient(1px 1px at 20% 60%, rgba(201,147,46,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 75% 30%, rgba(224,179,102,0.2) 0%, transparent 100%);
}

.boutique-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5px;
  border: 1px solid rgba(201,147,46,0.15);
  align-items: stretch;
}
.boutique-card {
  position: relative;
  background: rgba(37,24,8,0.4);
  padding: 3rem 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  transition: background var(--transition);
  border-right: 1px solid rgba(201,147,46,0.1);
}
.boutique-card:last-child { border-right: none; }
.boutique-card-featured {
  background: rgba(46,26,12,0.65);
  box-shadow: inset 0 0 0 1px rgba(201,147,46,0.4), 0 0 24px rgba(201,147,46,0.12);
  transform: scale(1.03);
  z-index: 1;
}
@media (max-width: 900px) {
  .boutique-card-featured { transform: none; }
}
.boutique-card:hover { background: rgba(46,26,12,0.7); }

.boutique-card-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--or-antique);
  color: var(--obsidienne);
  font-family: var(--font-serif);
  font-size: 0.58rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 0.3rem 1.2rem;
  white-space: nowrap;
  font-weight: 600;
}
.boutique-card-badge-soon {
  background: transparent;
  color: var(--or-antique);
  border: 1px solid rgba(201,147,46,0.4);
  border-top: none;
}
.boutique-card-icon { width: 60px; height: 60px; margin: 0.5rem auto 0; opacity: 0.75; }
.boutique-card-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--blanc-doux);
  text-align: center;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.boutique-card-subtitle {
  font-size: 0.78rem;
  color: var(--or-pale);
  text-align: center;
  letter-spacing: 0.12em;
  font-family: var(--font-serif);
}
.boutique-card-desc {
  font-size: 0.85rem;
  color: var(--brun-doux);
  text-align: justify;
  line-height: 1.65;
  opacity: 0.9;
}
.boutique-card-note {
  font-size: 0.78rem;
  color: var(--or-antique);
  text-align: center;
  font-style: italic;
  opacity: 0.85;
}
.boutique-card-note-sub {
  font-size: 0.75rem;
  color: var(--brun-doux);
  text-align: center;
  opacity: 0.85;
  margin-top: -0.5rem;
}
.boutique-card-highlight {
  border: 1px solid rgba(201,147,46,0.25);
  background: rgba(201,147,46,0.06);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  margin: 0.2rem 0;
}
.boutique-card-highlight-title {
  font-family: var(--font-serif);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--or-antique);
  margin-bottom: 0.4rem;
}
.boutique-card-highlight-text {
  font-size: 0.82rem;
  color: var(--brun-doux);
  line-height: 1.6;
}
.boutique-card-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 0.5rem 0;
  border-top: 1px solid rgba(201,147,46,0.08);
  border-bottom: 1px solid rgba(201,147,46,0.08);
}
.boutique-card-features li {
  font-size: 0.85rem;
  color: var(--brun-doux);
  line-height: 1.5;
}
.boutique-card-price { text-align: center; }
.price-amount {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--or-antique);
  letter-spacing: 0.05em;
}

/* ══════════════════════════════════════
   AVIS
══════════════════════════════════════ */
.avis-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}
.avis-summary-stars {
  color: var(--or-antique);
  font-size: 1.3rem;
  letter-spacing: 0.12em;
}
.avis-summary-note {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--brun-doux);
}
.avis-carousel-wrap {
  position: relative;
  max-width: 1280px;
  margin: 0 auto 3rem;
  padding: 0 52px;
}
.avis-carousel {
  overflow: hidden;
}
.avis-arrow {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(10,7,5,0.75);
  border: 1px solid rgba(201,147,46,0.35);
  color: var(--or-antique);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  z-index: 2;
}
.avis-arrow:hover { background: rgba(201,147,46,0.15); border-color: var(--or-antique); }
.avis-arrow:active { transform: translateY(-50%) scale(0.92); }
.avis-arrow-prev { left: 0; }
.avis-arrow-next { right: 0; }
.avis-carousel-wrap.has-arrows .avis-arrow { display: flex; }
@media (max-width: 680px) {
  .avis-carousel-wrap { padding: 0 42px; }
  .avis-arrow { width: 34px; height: 34px; font-size: 1.2rem; }
}
.avis-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.7s cubic-bezier(0.65, 0, 0.35, 1);
}
.avis-track .avis-card {
  flex: 0 0 calc((100% - 2 * 1.5rem) / 3);
  box-sizing: border-box;
}
@media (max-width: 960px) {
  .avis-track .avis-card { flex-basis: calc((100% - 1.5rem) / 2); }
}
@media (max-width: 680px) {
  .avis-track .avis-card { flex-basis: 100%; }
}
.avis-card {
  border: var(--border-gold);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.02);
  padding: 1.6rem 1.5rem;
  transition: background var(--transition);
}
.avis-card:hover { background: rgba(201,147,46,0.04); }
.avis-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.7rem;
  flex-wrap: wrap;
}
.avis-card-stars { color: var(--or-antique); letter-spacing: 0.1em; }
.avis-card-name {
  font-family: var(--font-serif);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--brun-doux);
}
.avis-card-text {
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(241,231,212,0.8);
  text-align: justify;
}
.avis-empty {
  text-align: center;
  font-family: var(--font-body);
  font-style: italic;
  color: rgba(241,231,212,0.45);
  margin: 0 auto 3rem;
  max-width: 600px;
}
.avis-form-card {
  max-width: 560px;
  margin: 0 auto;
  border: var(--border-gold);
  border-radius: var(--radius);
  padding: 2rem 2.2rem;
  background: rgba(10,7,5,0.35);
}
.avis-form-title {
  font-family: var(--font-title);
  font-size: 1.1rem;
  color: var(--or-antique);
  text-align: center;
  letter-spacing: 0.05em;
  margin-bottom: 1.4rem;
}
.avis-form-row {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.avis-input, .avis-textarea {
  flex: 1;
  min-width: 180px;
  background: rgba(37,24,8,0.6);
  border: 1px solid rgba(201,147,46,0.3);
  border-radius: 2px;
  color: var(--blanc-doux);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 0.8rem 1.1rem;
  outline: none;
  transition: border-color var(--transition);
}
.avis-input:focus, .avis-textarea:focus { border-color: rgba(201,147,46,0.6); }
.avis-input::placeholder, .avis-textarea::placeholder { color: rgba(187,169,139,0.5); font-style: italic; }
.avis-textarea { width: 100%; resize: vertical; margin-bottom: 1.2rem; font-family: var(--font-body); }
.avis-star-picker { display: flex; gap: 0.2rem; }
.avis-star {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: rgba(201,147,46,0.3);
  transition: color 0.15s, transform 0.15s;
  padding: 0.1rem;
}
.avis-star:hover { transform: scale(1.15); }
.avis-star.is-active { color: var(--or-antique); }
.avis-form-footer { text-align: center; }
.avis-form-message {
  font-family: var(--font-body);
  font-size: 0.85rem;
  margin-top: 0.9rem;
  min-height: 1.2em;
}
.avis-form-message.is-success { color: var(--or-antique); }
.avis-form-message.is-error { color: #e08585; }

.footer-bottom-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-bottom-links a {
  font-family: var(--font-serif);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: rgba(187,169,139,0.5);
  transition: color var(--transition);
}
.footer-bottom-links a:hover { color: var(--or-antique); }
