/* La nuit est un jour comme les autres — landing */
:root {
  /* Papier & ocres — littéraire contemporain */
  --night-950: #1C1612;
  --night-900: #F7F1E8;
  --night-800: #EFE6D8;
  --night-700: #E4D7C4;
  --night-600: #D4C2A8;
  --ink: #2A2118;
  --ink-muted: #5C4E3E;
  --ink-dim: #8A7A66;
  --gold: #B56A2A;
  --gold-soft: #C87F3D;
  --dawn: #8B5E34;
  --dawn-pale: #E8C49A;
  --line: rgba(181, 106, 42, 0.22);
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Source Serif 4", Georgia, "Times New Roman", serif;
  --radius: 4px;
  --shadow-cover: 0 28px 50px rgba(42, 33, 24, 0.18), 0 0 0 1px rgba(181, 106, 42, 0.12);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 4rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 2.5rem);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(ellipse 70% 45% at 50% -5%, rgba(232, 196, 154, 0.45), transparent 55%),
    radial-gradient(ellipse 40% 30% at 100% 10%, rgba(181, 106, 42, 0.08), transparent 50%),
    var(--night-900);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--gold-soft);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--night-950);
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--gold);
  color: var(--night-900);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}

.wrap {
  width: min(1080px, calc(100% - 2rem));
  margin-inline: auto;
}

.wrap.narrow {
  width: min(720px, calc(100% - 2rem));
}

/* Banner */
.banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.55rem 1rem;
  background: linear-gradient(90deg, #E8DCC8, #F3EADF 50%, #E8DCC8);
  border-bottom: 1px solid var(--line);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.banner__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(247, 241, 232, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(247, 241, 232, 0.96);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
}

.logo__mark {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #F5F0E1, var(--gold) 55%, transparent 70%);
  box-shadow: 0 0 12px rgba(181, 106, 42, 0.25);
}

.logo__text {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
}

.nav {
  display: none;
  align-items: center;
  gap: 1.35rem;
}

.nav a {
  text-decoration: none;
  color: var(--ink-muted);
  font-size: 0.9375rem;
  font-weight: 400;
}

.nav a:hover {
  color: var(--ink);
}

.nav__cta {
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gold-soft) !important;
}

.nav__cta:hover {
  border-color: var(--gold);
  background: rgba(181, 106, 42, 0.08);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink-muted);
  border-radius: 1px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav.is-open {
  display: flex;
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 0.75rem 1rem 1.25rem;
  background: rgba(247, 241, 232, 0.98);
  border-bottom: 1px solid var(--line);
}

.nav.is-open a {
  padding: 0.85rem 0.5rem;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 860px) {
  .nav-toggle {
    display: none;
  }
  .nav {
    display: flex;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.2s var(--ease);
}

.btn--primary {
  background: linear-gradient(135deg, var(--gold), #8B4E1C);
  color: #F7F1E8;
}

.btn--primary:hover {
  color: #FFFCFA;
  filter: brightness(1.06);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--gold-soft);
}

.btn--ghost:hover {
  border-color: var(--gold);
  background: rgba(181, 106, 42, 0.1);
  color: var(--night-950);
}

/* Hero */
.hero {
  position: relative;
  padding: 3rem 0 4.5rem;
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  inset: 10% auto auto 40%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 196, 154, 0.35), transparent 65%);
  pointer-events: none;
}

.hero__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero {
    padding: 4.5rem 0 6rem;
  }
  .hero__grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
  }
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dawn);
}

.hero__title {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.35rem, 6vw, 3.75rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.hero__tagline {
  margin: 0 0 2rem;
  max-width: 28ch;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  line-height: 1.45;
  color: var(--ink-muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Cover */
.hero__cover {
  display: flex;
  justify-content: center;
}

.cover {
  position: relative;
  width: min(260px, 72vw);
  filter: drop-shadow(var(--shadow-cover));
}

@media (min-width: 900px) {
  .cover {
    width: min(300px, 100%);
  }
}

.cover__svg {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.cover__spine {
  position: absolute;
  inset: 0 auto 0 0;
  width: 10px;
  background: linear-gradient(90deg, rgba(42, 33, 24, 0.08), transparent);
  border-radius: 4px 0 0 4px;
  pointer-events: none;
}

.cover__caption {
  position: absolute;
  left: 12%;
  right: 10%;
  bottom: 12%;
  margin: 0;
  text-align: left;
  pointer-events: none;
}

.cover__caption-title {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
  text-shadow: none;
}

/* Sections */
.section {
  padding: 4rem 0;
  border-top: 1px solid var(--line);
}

.section__label {
  margin: 0 0 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.section__title {
  margin: 0 0 1.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  line-height: 1.2;
  color: var(--ink);
}

.section__title--sm {
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
}

.lead {
  margin: 0;
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  line-height: 1.7;
  color: var(--ink-muted);
}

.lead--compact {
  margin-bottom: 1.75rem;
  font-size: 1.0625rem;
}

.prose {
  margin-top: 0.25rem;
}

.prose p {
  margin: 0 0 1.15rem;
  color: var(--ink-muted);
  font-size: clamp(1.05rem, 1.8vw, 1.125rem);
  line-height: 1.75;
}

.prose p:last-child {
  margin-bottom: 0;
}

.section--monde {
  background: linear-gradient(180deg, transparent, rgba(228, 215, 196, 0.65), transparent);
}

.section--extrait {
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(181, 106, 42, 0.08), transparent 60%);
}

.section--sortie {
  background: linear-gradient(180deg, rgba(228, 215, 196, 0.55), transparent);
}

.section--mentions {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

/* Placeholder */
.placeholder-box {
  padding: 1.5rem 1.35rem;
  border: 1px dashed rgba(181, 106, 42, 0.4);
  border-radius: var(--radius);
  background: rgba(255, 252, 247, 0.7);
}

.placeholder-box--inline {
  margin-top: 0.25rem;
}

.placeholder-box__label {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.placeholder-box__hint {
  margin: 0;
  color: var(--ink-dim);
  font-size: 0.975rem;
}

/* Bullets */
.bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .bullets {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }
}

.bullets li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 1.15rem 1.25rem;
  background: rgba(255, 252, 247, 0.75);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink-muted);
}

.bullets__icon {
  color: var(--gold);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* Quote / extrait */
.quote {
  margin: 0 0 1.5rem;
  padding: 1.75rem 1.5rem 1.75rem 1.65rem;
  border-left: 2px solid var(--gold);
  background: linear-gradient(90deg, rgba(181, 106, 42, 0.08), transparent 70%);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.quote__badge {
  margin: 0 0 1rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dawn);
  font-family: var(--font-body);
  font-style: normal;
}

.quote p:last-child {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  font-style: italic;
  line-height: 1.65;
  color: var(--ink);
}

.extrait__more {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.link-arrow {
  font-weight: 600;
  text-decoration: none;
  color: var(--gold-soft);
}

.link-arrow:hover {
  color: var(--ink);
}

.extrait__note {
  font-size: 0.875rem;
  color: var(--ink-dim);
}

/* Auteur */
.auteur__grid {
  display: grid;
  gap: 1.75rem;
  align-items: start;
}

@media (min-width: 640px) {
  .auteur__grid {
    grid-template-columns: 120px 1fr;
    gap: 2rem;
    align-items: center;
  }
}

.avatar {
  width: 120px;
  height: 120px;
}

.avatar svg {
  width: 100%;
  height: 100%;
}

/* Form */
.form__row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 520px) {
  .form__row {
    flex-direction: row;
    align-items: stretch;
  }
  .form__row input {
    flex: 1;
  }
}

.form input[type="email"] {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #FFFCFA;
  color: var(--ink);
  font-family: inherit;
  font-size: 1rem;
}

.form input::placeholder {
  color: var(--ink-dim);
}

.form input:invalid:not(:placeholder-shown) {
  border-color: #c07070;
}

.form__hint {
  margin: 0.85rem 0 0;
  font-size: 0.8125rem;
  color: var(--ink-dim);
}

.form__merci {
  margin: 1.25rem 0 0;
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  background: rgba(181, 106, 42, 0.12);
  border: 1px solid var(--line);
  color: var(--gold-soft);
  font-weight: 600;
}

.form.is-done .form__row,
.form.is-done .form__hint {
  display: none;
}

/* Mentions */
.mentions {
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.mentions p {
  margin: 0 0 1rem;
}

.mentions p:last-child {
  margin-bottom: 0;
}

/* Footer */
.site-footer {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--line);
  background: #2A2118;
}

.footer__inner {
  display: grid;
  gap: 0.85rem;
  text-align: center;
}

.footer__copy {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.footer__copy em {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--ink);
}

.footer__nav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.footer__nav a {
  text-decoration: none;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.footer__nav a:hover {
  color: var(--gold-soft);
}

.footer__note {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  color: var(--ink-dim);
}

@media (min-width: 720px) {
  .footer__inner {
    grid-template-columns: 1fr auto;
    text-align: left;
    align-items: center;
  }
  .footer__note {
    grid-column: 1 / -1;
  }
  .footer__nav {
    justify-content: flex-end;
  }
}


/* Structure — trois parties */
.section--parties {
  background: linear-gradient(180deg, var(--night-800) 0%, var(--night-700) 100%);
}

.parts {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 900px) {
  .parts {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    align-items: stretch;
  }
}

.part {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem 1.6rem;
  background: rgba(255, 252, 247, 0.85);
}

.part__num {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.75rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  line-height: 1;
}

.part__title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.25;
  color: var(--ink);
}

.part .prose p {
  font-size: 0.98rem;
}


/* Extraits multiples */
.excerpts {
  display: grid;
  gap: 1.75rem;
  margin-top: 1.75rem;
}

.excerpt {
  margin: 0;
}

.excerpt .quote {
  margin-bottom: 0.75rem;
}

.excerpt__meta {
  margin: 0;
  padding-left: 0.15rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.extrait__more {
  margin-top: 2rem;
}


/* Couverture réelle */
.cover {
  margin: 0;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-cover);
  line-height: 0;
}

.cover picture,
.cover img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 420px;
  margin: 0 auto;
}

@media (min-width: 900px) {
  .cover img,
  .cover picture {
    max-width: 480px;
  }
}

.hero__cover .cover__spine,
.hero__cover .cover__caption,
.hero__cover .cover__svg {
  display: none;
}


/* Pied de page sombre ocre */
.site-footer {
  color: #F3EADF;
}
.site-footer a {
  color: #E8C49A;
}
.site-footer a:hover {
  color: #fff;
}
.site-footer .footer__copy,
.site-footer .footer__note,
.site-footer em {
  color: #D4C2A8;
}


/* Informations pratiques */
.section--infos {
  background: linear-gradient(180deg, transparent, rgba(228, 215, 196, 0.55), transparent);
}

.specs {
  margin: 2rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.specs__row {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 0.75rem 1.25rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
}

@media (max-width: 560px) {
  .specs__row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

.specs dt {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dawn);
  padding-top: 0.2rem;
}

.specs dd {
  margin: 0;
  color: var(--ink);
}

.specs__mono {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.specs__note {
  margin: 1.5rem 0 0;
  color: var(--ink-muted);
  font-size: 0.98rem;
}


.honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form__erreur {
  margin: 0.85rem 0 0;
  color: #8B3A2A;
  font-size: 0.95rem;
}

.form button[disabled] {
  opacity: 0.65;
  cursor: wait;
}


/* Espace presse */
.section--presse {
  background: linear-gradient(180deg, rgba(228, 215, 196, 0.35), transparent);
}

.press-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

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

.press-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  background: rgba(255, 252, 247, 0.85);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.press-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
}

.press-card__desc {
  margin: 0;
  flex: 1;
  color: var(--ink-muted);
  font-size: 0.98rem;
}

.press-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.press-card__btn {
  margin-top: 0.35rem;
  text-align: center;
}

.press-card__btn.is-disabled,
a.btn.is-disabled {
  opacity: 0.55;
  pointer-events: none;
  cursor: not-allowed;
}


/* Couverture cliquable + lightbox */
.cover__zoom {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  border-radius: 4px;
  line-height: 0;
}

.cover__zoom:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.cover__zoom img {
  width: 100%;
  height: auto;
  max-width: 420px;
  margin: 0 auto;
  display: block;
}

@media (min-width: 900px) {
  .cover__zoom img {
    max-width: 480px;
  }
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(28, 22, 18, 0.88);
  backdrop-filter: blur(6px);
  cursor: zoom-out;
}

.lightbox[hidden] {
  display: none !important;
}

.lightbox__img {
  max-width: min(920px, 100%);
  max-height: 92vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  cursor: default;
}

.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(247, 241, 232, 0.35);
  border-radius: 999px;
  background: rgba(28, 22, 18, 0.55);
  color: #F7F1E8;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox__close:hover,
.lightbox__close:focus-visible {
  background: rgba(181, 106, 42, 0.85);
  outline: none;
}

body.lightbox-open {
  overflow: hidden;
}
