/* Lola Kazera — site d'autrice. Noir, rouge, or. */
:root {
  --noir: #070607;
  --noir-2: #120d0e;
  --noir-3: #1b1416;
  --rouge: #c8102e;
  --rouge-vif: #e8213a;
  --or: #c9a35a;
  --or-clair: #e9d3a0;
  --creme: #f1e6d0;
  --creme-2: #cfc3ad;
  --gris: #8f867a;
  --nuit: #0b1420;
  --nuit-2: #10203a;
  --f-titre: "Cinzel", "Times New Roman", serif;
  --f-texte: "Cormorant Garamond", Georgia, serif;
  --gouttiere: clamp(16px, 5vw, 64px);
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--noir);
  color: var(--creme);
  font-family: var(--f-texte);
  font-size: 1.2rem;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--or-clair); text-decoration: none; }
a:hover { color: #fff; }
p { margin: 0 0 1em; }
em { font-style: italic; }
::selection { background: var(--rouge); color: #fff; }

h1, h2, h3, .titre {
  font-family: var(--f-titre);
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1.15;
  margin: 0 0 .5em;
  color: var(--creme);
}
h1 { font-size: clamp(2rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.5rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 2.2vw, 1.45rem); letter-spacing: .12em; }
.rouge { color: var(--rouge-vif); }
.or { color: var(--or); }
.surtitre {
  font-family: var(--f-titre);
  font-size: .8rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 1.2em;
}
.lead { font-size: clamp(1.3rem, 2.4vw, 1.65rem); line-height: 1.45; }
.italique { font-style: italic; color: var(--creme-2); }
.petit { font-size: 1rem; color: var(--gris); }

/* Séparateur : deux filets et un losange rouge */
.sep {
  display: flex; align-items: center; gap: 14px;
  width: min(260px, 60%); margin: 1.4em auto;
}
.sep::before, .sep::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--rouge)); }
.sep::after { background: linear-gradient(90deg, var(--rouge), transparent); }
.sep i { width: 9px; height: 9px; background: var(--rouge-vif); transform: rotate(45deg); box-shadow: 0 0 10px rgba(232,33,58,.6); }
.sep.gauche { margin-left: 0; }
.sep.or::before { background: linear-gradient(90deg, transparent, var(--or)); }
.sep.or::after { background: linear-gradient(90deg, var(--or), transparent); }
.sep.or i { background: var(--or); box-shadow: 0 0 10px rgba(201,163,90,.6); }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  font-family: var(--f-titre); font-size: .95rem; letter-spacing: .18em; text-transform: uppercase;
  padding: 1em 1.8em; border: 1px solid var(--or); color: var(--or-clair);
  background: transparent; cursor: pointer; transition: all .25s ease;
  min-height: 56px; text-align: center;
}
.btn:hover { background: rgba(201,163,90,.12); color: #fff; border-color: var(--or-clair); }
.btn.plein { background: var(--rouge); border-color: var(--rouge); color: #fff; box-shadow: 0 10px 30px rgba(200,16,46,.35); }
.btn.plein:hover { background: var(--rouge-vif); border-color: var(--rouge-vif); }
.btn.or { background: var(--or); border-color: var(--or); color: #1a1208; }
.btn.or:hover { background: var(--or-clair); border-color: var(--or-clair); color: #1a1208; }
.boutons { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.6em; }
.boutons.centre { justify-content: center; }
.btn[aria-disabled="true"] { opacity: .55; cursor: default; pointer-events: none; }

/* En-tête */
.entete {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--gouttiere);
  background: linear-gradient(180deg, rgba(7,6,7,.85), rgba(7,6,7,0));
  pointer-events: none;
}
.entete > * { pointer-events: auto; }
.marque { display: flex; align-items: center; gap: 12px; color: var(--creme); }
.marque img { width: 52px; height: 52px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(201,163,90,.35), 0 0 18px rgba(200,16,46,.35); }
.marque span { font-family: var(--f-titre); font-size: .85rem; letter-spacing: .28em; text-transform: uppercase; }
@media (max-width: 480px) { .marque span { display: none; } }
.burger {
  display: flex; align-items: center; gap: 12px; background: none; border: 0; color: var(--creme); cursor: pointer;
  font-family: var(--f-titre); font-size: .95rem; letter-spacing: .25em; text-transform: uppercase; padding: 10px 0;
}
.burger i { display: block; width: 28px; height: 2px; background: currentColor; position: relative; }
.burger i::before, .burger i::after { content: ""; position: absolute; left: 0; width: 28px; height: 2px; background: currentColor; }
.burger i::before { top: -8px; } .burger i::after { top: 8px; }

.menu {
  position: fixed; inset: 0; z-index: 60; background: rgba(7,6,7,.96);
  display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s;
}
.menu.ouvert { opacity: 1; visibility: visible; }
.menu nav { text-align: center; }
.menu a {
  display: block; font-family: var(--f-titre); font-size: clamp(1.3rem, 4vw, 2.1rem); letter-spacing: .2em; text-transform: uppercase;
  color: var(--creme); padding: .35em 1em; transition: color .2s, letter-spacing .2s;
}
.menu a:hover { color: var(--rouge-vif); letter-spacing: .28em; }
.menu .fermer { position: absolute; top: 22px; right: var(--gouttiere); }
.menu .sep { margin: 1.2em auto; }
.menu .petit { margin-top: 2em; letter-spacing: .1em; }

/* Sections */
section { position: relative; padding: clamp(72px, 10vw, 128px) var(--gouttiere); }
.int { max-width: var(--max); margin: 0 auto; }
.centre { text-align: center; }
.deux { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.deux.inverse > :first-child { order: 2; }
@media (max-width: 820px) { .deux { grid-template-columns: 1fr; } .deux.inverse > :first-child { order: initial; } }

.couv {
  position: relative; width: min(100%, 360px); margin: 0 auto;
  box-shadow: 0 30px 60px rgba(0,0,0,.7), 0 0 0 1px rgba(201,163,90,.25);
}
.couv::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, rgba(255,255,255,.08), transparent 35%);
}
.couv.lueur { box-shadow: 0 30px 70px rgba(0,0,0,.8), 0 0 80px rgba(201,163,90,.18), 0 0 0 1px rgba(201,163,90,.3); }
.badge {
  position: absolute; top: 18px; left: -10px; z-index: 2;
  font-family: var(--f-titre); font-size: .75rem; letter-spacing: .25em; text-transform: uppercase;
  background: var(--rouge); color: #fff; padding: .55em 1em .5em; box-shadow: 0 6px 20px rgba(0,0,0,.5);
}

/* Héros */
.heros {
  min-height: 100svh; display: grid; place-items: center; text-align: center;
  padding-top: 120px; padding-bottom: 80px; overflow: hidden;
  background: var(--noir);
}
.heros .fond {
  position: absolute; inset: 0; z-index: 0;
  background: url("ambiance-miroir.jpg") center 30% / cover no-repeat;
  opacity: .55;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.6) 55%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.6) 55%, transparent 100%);
}
.heros .lumiere {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse 50% 40% at 50% 15%, rgba(232,180,80,.22), transparent 70%);
}
.heros .int { position: relative; z-index: 1; }
.accroche { font-family: var(--f-titre); text-transform: uppercase; letter-spacing: .14em; font-size: clamp(1.05rem, 2.6vw, 1.8rem); line-height: 1.7; margin: 0 auto 1.2em; max-width: 760px; }
.accroche span { display: block; opacity: 0; transform: translateY(12px); animation: monter .9s ease forwards; }
.accroche span:nth-child(2) { animation-delay: .5s; }
.accroche span:nth-child(3) { animation-delay: 1s; color: var(--rouge-vif); }
@keyframes monter { to { opacity: 1; transform: none; } }
.heros h1 { margin-top: .6em; }
.heros .nom { font-size: clamp(1.1rem, 2.4vw, 1.5rem); letter-spacing: .4em; color: var(--or); }
.heros .logo { width: clamp(120px, 18vw, 180px); height: auto; margin: 0 auto 1.2em; border-radius: 50%; box-shadow: 0 0 60px rgba(200,16,46,.35), 0 0 0 1px rgba(201,163,90,.35); }
.descendre { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 1; font-family: var(--f-titre); font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: var(--or); }
.descendre::after { content: ""; display: block; width: 1px; height: 34px; margin: 10px auto 0; background: linear-gradient(180deg, var(--or), transparent); }

/* Fonds de section */
.fond-sombre { background: var(--noir-2); }
.fond-lueur { background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(201,163,90,.09), transparent 70%), var(--noir); }
.fond-ambiance { background: var(--noir); }
.fond-ambiance::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: url("ambiance-miroir-clair.jpg") center / cover no-repeat; opacity: .16;
  mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent);
}
.fond-ambiance .int { position: relative; z-index: 1; }
.fond-nuit { background: radial-gradient(ellipse 80% 70% at 70% 30%, rgba(16,32,58,.9), transparent 70%), var(--nuit); }
.fond-nuit .surtitre { color: #8fb3d9; }
.fond-nuit .sep::before { background: linear-gradient(90deg, transparent, #8fb3d9); }
.fond-nuit .sep::after { background: linear-gradient(90deg, #8fb3d9, transparent); }

/* Grille des livres */
.livres { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: clamp(28px, 4vw, 48px); margin-top: 2.5em; }
.livre { text-align: center; }
.livre .couv { width: min(100%, 280px); transition: transform .35s ease, box-shadow .35s ease; }
.livre:hover .couv { transform: translateY(-8px); box-shadow: 0 40px 70px rgba(0,0,0,.8), 0 0 60px rgba(200,16,46,.15), 0 0 0 1px rgba(201,163,90,.4); }
.livre h3 { margin: 1.1em 0 .3em; }
.livre .tome { font-family: var(--f-titre); font-size: .72rem; letter-spacing: .3em; color: var(--or); text-transform: uppercase; }
.livre p { font-size: 1.05rem; color: var(--creme-2); margin: .5em auto .9em; max-width: 34ch; }
.livre .btn { font-size: .78rem; padding: .8em 1.3em; min-height: 44px; }

/* Fil */
.fil { list-style: none; padding: 0; margin: 2.5em 0 0; border-left: 1px solid rgba(201,163,90,.35); }
.fil li { position: relative; padding: 0 0 2em 2em; }
.fil li::before { content: ""; position: absolute; left: -5px; top: .55em; width: 9px; height: 9px; background: var(--rouge-vif); transform: rotate(45deg); box-shadow: 0 0 10px rgba(232,33,58,.6); }
.fil time { display: block; font-family: var(--f-titre); font-size: .75rem; letter-spacing: .25em; text-transform: uppercase; color: var(--or); margin-bottom: .3em; }
.fil h3 { margin-bottom: .2em; text-transform: none; letter-spacing: .02em; font-size: 1.35rem; }
.fil p { color: var(--creme-2); font-size: 1.1rem; max-width: 60ch; }

/* Citation */
blockquote { margin: 0; padding: 0 0 0 1.4em; border-left: 2px solid var(--rouge); font-size: clamp(1.25rem, 2.2vw, 1.5rem); line-height: 1.5; color: var(--creme); }
blockquote p:last-child { margin-bottom: 0; }

/* Bonus / newsletter */
.bonus { text-align: center; }
.bonus h2 { font-size: clamp(1.6rem, 4.2vw, 3rem); max-width: 18ch; margin-inline: auto; }
.promesses { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; margin: 1.8em 0; font-family: var(--f-titre); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--creme-2); }
.promesses span::before { content: "◆ "; color: var(--rouge-vif); font-size: .7em; }
form.inscription { max-width: 640px; margin: 0 auto; text-align: left; }
.champs { display: flex; gap: 10px; flex-wrap: wrap; }
.champs input[type="email"] {
  flex: 1 1 260px; min-height: 56px; padding: 0 1.1em; font: inherit; font-size: 1.1rem;
  background: rgba(255,255,255,.06); border: 1px solid rgba(201,163,90,.5); color: var(--creme); outline: none;
}
.champs input[type="email"]:focus { border-color: var(--or-clair); box-shadow: 0 0 0 3px rgba(201,163,90,.18); }
.champs input::placeholder { color: var(--gris); }
.consent { display: flex; gap: .7em; align-items: flex-start; font-size: 1rem; color: var(--creme-2); margin-top: 1em; }
.consent input { margin-top: .35em; accent-color: var(--rouge); width: 18px; height: 18px; flex: none; }
.cache { position: absolute; left: -9999px; }
.merci { display: none; margin-top: 1.5em; color: var(--or-clair); font-size: 1.2rem; text-align: center; }
form.inscription.envoye .champs, form.inscription.envoye .consent { display: none; }
form.inscription.envoye .merci { display: block; }

/* Pied de page */
footer { padding: 56px var(--gouttiere) 40px; background: #040304; border-top: 1px solid rgba(201,163,90,.18); }
footer .int { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: center; }
footer .marque img { width: 64px; height: 64px; }
footer .marque span { display: inline; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer nav a { font-family: var(--f-titre); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--creme-2); }
footer nav a:hover { color: var(--or-clair); }
footer .petit { width: 100%; margin: 0; }

/* Pages intérieures */
.page-tete { padding-top: clamp(140px, 20vw, 200px); padding-bottom: clamp(40px, 6vw, 72px); text-align: center; }
.page-tete .surtitre { margin-bottom: .8em; }
.tome-bloc { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(48px, 7vw, 96px); }
.tome-bloc + .tome-bloc { border-top: 1px solid rgba(201,163,90,.14); }
.texte-4e p { font-size: 1.22rem; }
.texte-4e b { color: var(--creme); font-weight: 600; }
.texte-4e .tropes { font-style: italic; color: var(--or-clair); font-size: 1.05rem; margin-top: 1.4em; }
.prose { max-width: 72ch; margin: 0 auto; }
.prose h2 { font-size: 1.3rem; margin-top: 2em; }
.prose p, .prose li { font-size: 1.15rem; }

/* Apparition au défilement */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .accroche span { animation: none; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* Sous-ligne du titre du héros */
.heros h1 .sous { display: block; font-size: .5em; letter-spacing: .22em; margin-top: .35em; }
@media (max-width: 480px) { .heros h1 .sous { font-size: .42em; letter-spacing: .14em; } .accroche { font-size: 1rem; letter-spacing: .1em; line-height: 1.6; } }
@media (max-width: 640px) { .descendre { display: none; } }

/* ===== Mobile ===== */
.entete.opaque { background: rgba(7,6,7,.92); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border-bottom: 1px solid rgba(201,163,90,.12); }
@media (max-width: 640px) {
  body { font-size: 1.12rem; }
  section { padding-top: 56px; padding-bottom: 56px; }
  .heros { padding-top: 96px; padding-bottom: 56px; min-height: auto; }
  .heros .logo { width: 110px; }
  .heros .lead { font-size: 1.15rem; }
  .boutons { flex-direction: column; }
  .boutons .btn { width: 100%; }
  .btn { font-size: .85rem; letter-spacing: .14em; padding: .9em 1.2em; }
  .livre .btn { width: auto; }
  .couv { width: min(100%, 300px); }
  .deux { gap: 28px; }
  .texte-4e p { font-size: 1.12rem; }
  .fil li { padding-left: 1.4em; padding-bottom: 1.5em; }
  blockquote { font-size: 1.15rem; padding-left: 1em; }
  .promesses { gap: 8px 18px; font-size: .7rem; }
  .champs .btn { width: 100%; }
  .page-tete { padding-top: 110px; }
  footer .int { gap: 20px; }
  footer nav { gap: 8px 16px; }
}

/* ===== Accueil : trois portes ===== */
.heros.accueil { min-height: 72svh; padding-bottom: 40px; }
.heros.accueil .nom { font-size: clamp(1.8rem, 5vw, 3.4rem); letter-spacing: .3em; color: var(--creme); margin: .3em 0 0; }
.heros.accueil .accroche { font-size: clamp(.95rem, 2vw, 1.25rem); letter-spacing: .12em; }
.portails { padding-top: 24px; }
.portes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px); margin-top: 1.5em; align-items: stretch; }
.porte {
  display: flex; flex-direction: column; align-items: center; text-align: center; color: var(--creme);
  padding: clamp(24px, 3vw, 40px) clamp(16px, 2.5vw, 32px); border: 1px solid rgba(201,163,90,.18); background: rgba(255,255,255,.015);
  transition: transform .35s ease, border-color .35s ease, background .35s ease;
}
.porte:hover { transform: translateY(-6px); border-color: rgba(201,163,90,.5); background: rgba(255,255,255,.03); color: var(--creme); }
.porte .couv { width: min(100%, 250px); margin-bottom: 1.4em; transition: box-shadow .35s ease; }
.porte:hover .couv { box-shadow: 0 40px 70px rgba(0,0,0,.8), 0 0 70px rgba(200,16,46,.18), 0 0 0 1px rgba(201,163,90,.45); }
.porte.nuit:hover .couv { box-shadow: 0 40px 70px rgba(0,0,0,.8), 0 0 70px rgba(143,179,217,.18), 0 0 0 1px rgba(201,163,90,.45); }
.porte .tome { font-family: var(--f-titre); font-size: .7rem; letter-spacing: .28em; text-transform: uppercase; color: var(--or); margin: 0 0 .6em; }
.porte h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: .5em; }
.porte p { font-size: 1.08rem; color: var(--creme-2); max-width: 32ch; }
.porte .niveau { font-family: var(--f-titre); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; line-height: 1.7; margin: .2em auto 1.4em; max-width: 30ch; }
.porte .niveau.rouge { color: var(--rouge-vif); }
.porte .btn { margin-top: auto; width: 100%; max-width: 260px; }
.porte:hover .btn.plein { background: var(--rouge-vif); }
@media (max-width: 900px) { .portes { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } .porte .couv { width: min(100%, 240px); } }

/* Avertissement de contenu */
.avertissement { font-family: var(--f-titre); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--rouge-vif); line-height: 1.8; margin-top: 1.2em; }
.avertissement.or { color: var(--or); }
.texte-4e .avertissement { text-transform: none; letter-spacing: .02em; font-family: var(--f-texte); font-size: 1.05rem; color: var(--creme-2); border-left: 2px solid var(--rouge); padding-left: 1em; }
.texte-4e .avertissement a { color: var(--or-clair); }

/* Ajustements accueil et pages livre */
.heros.accueil { min-height: 58svh; padding-top: 110px; }
.heros.accueil .accroche span { animation: none; opacity: 1; transform: none; }
.page-tete + .tome-bloc { padding-top: 0; }
