@font-face{
    font-family:'Avallon';
    src:url('../fonts/avallon.woff2') format('woff2');
    font-weight:normal;
    font-style:normal;
    font-display:swap;
  }
  :root{
    --black:#0b0a09;
    --black-2:#150e0d;
    --red:#6e1423;
    --red-deep:#3a1016;
    --main-red:#af0006;
    --cream:#ede6dd;
    --cream-dim:#c9c0b4;
  }

  *{ box-sizing:border-box; }
  html{ scroll-behavior:auto; } /* le scroll fluide est géré par Lenis, pas par le natif */
  body{
    margin:0;
    background:var(--black);
    color:var(--cream);
    font-family:'EB Garamond', serif;
    -webkit-font-smoothing:antialiased;
    overflow-x:hidden;
  }
  h1,h2,h3{ font-family:'EB Garamond', serif; font-weight:500; margin:0; }
  p{ margin:0; }
  a{ color:inherit; }
  ::selection{ background:var(--red); color:var(--cream); }

  /* ---------- curseur personnalisé ---------- */
  .cursor-dot{
    position:fixed;
    top:0; left:0;
    width:0; height:0;
    pointer-events:none;
    z-index:999;
    will-change:transform;
  }
  .cursor-dot svg{
    position:absolute;
    top:0; left:0;
    width:26px; height:26.6px;
    transform:translate(-50%,-50%) rotate(0deg);
    transition:width 0.4s cubic-bezier(.2,.8,.2,1), height 0.4s cubic-bezier(.2,.8,.2,1), transform 0.4s cubic-bezier(.2,.8,.2,1);
    mix-blend-mode:difference;
    display:block;
    overflow:visible;
  }
  .cursor-dot svg path{
    fill:var(--main-red);
    stroke:none;
    transition:fill 0.35s, stroke 0.35s, stroke-width 0.35s;
  }
  .cursor-dot.is-hover svg{
    width:52px; height:53px;
    transform:translate(-50%,-50%) rotate(-6deg);
  }
  .cursor-dot.is-hover svg path{
    fill:transparent;
    stroke:var(--cream);
    stroke-width:14;
  }
  .cursor-dot.is-sun svg{
    width:52px; height:53px;
    transform:translate(-50%,-50%) rotate(-6deg);
    mix-blend-mode:normal;
  }
  .cursor-dot.is-sun svg path{
    fill:#000;
    stroke:none;
  }
  @media (pointer:fine){
    body, a, button, .sun-wrap{ cursor:none; }
  }
  @media (pointer:coarse){
    .cursor-dot{ display:none; }
  }

  /* ---------- header ---------- */
  header{
    position:fixed;
    top:0; left:0; right:0;
    z-index:20;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:28px 48px;
    mix-blend-mode:difference;
  }
  .signature{
    font-family:'Avallon', serif;
    font-size:1.3rem;
    letter-spacing:0.02em;
  }
  .back-link{
    font-size:0.85rem;
    text-decoration:none;
    color:var(--cream-dim);
    border-bottom:1px solid transparent;
    transition:border-color 0.3s;
  }
  .back-link:hover{ border-color:var(--cream-dim); }

  /* ---------- hero ---------- */
  .hero{
    min-height:100vh;
    display:flex;
    align-items:center;
    padding:170px 48px 90px;
    position:relative;
  }
  .hero-inner{
    max-width:680px;
    margin:0 auto;
    text-align:center;
  }
  .eyebrow{
    font-family:'EB Garamond';
    font-size:1.3rem;
    color:var(--main-red);
    margin-bottom:22px;
    letter-spacing:0.03em;
  }
  .hero-title{
    font-size:clamp(1.9rem, 4vw, 2.8rem);
    line-height:1.18;
    margin-bottom:100px;
  }
  .hero-title em{ font-style:italic; color:#af0006; }

  /* Illustration */
  .illu-wrap{
    position:relative;
    width:min(520px, 78vw);
    height:min(58vh, 480px);
    margin:0 auto 52px;
  }
  .illu-frame{
    position:relative;
    width:100%;
    height:100%;
    overflow:hidden;
    border-radius:1px;
    background:var(--black);
  }
  .illu-frame svg{ width:100%; height:100%; display:block; }

  .hero-signature{
    position:absolute;
    top:50%; left:50%;
    transform:translate(-50%,-50%);
    z-index:2;
    pointer-events:none;
    font-family:'Avallon', cursive;
    font-size:clamp(40px, 9vw, 62px);
    color:var(--cream);
    letter-spacing:0.01em;
    white-space:nowrap;
    writing-mode:vertical-rl;
    text-orientation:upright;
  }
  .hero-signature .title-letter{
    display:inline-block;
    opacity:0;
  }
  .hero-signature .title-letter--accent{
    color:#af0006;
  }
  .sun-main{
    transform-box:fill-box;
    transform-origin:center;
    transition:transform 0.7s cubic-bezier(.2,.8,.2,1);
  }

  .hero-sub{
    max-width:54ch;
    margin:80px auto 0;
    color:var(--cream-dim);
    line-height:1.75;
    font-size:1rem;
  }
  .pitch-word{ display:inline-block; }
  .tags{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:10px;
    margin-top:32px;
  }
  .tags span{
    font-size:0.76rem;
    padding:8px 16px;
    border:1px solid rgba(237,230,221,0.25);
    border-radius:999px;
    color:var(--cream-dim);
  }

  .scroll-cue{
    position:absolute;
    bottom:28px;
    left:0; right:0;
    text-align:center;
    font-size:0.7rem;
    color:var(--cream-dim);
    letter-spacing:0.12em;
    animation:pulse 2.4s ease-in-out infinite;
  }
  @keyframes pulse{ 0%,100%{ opacity:0.4; } 50%{ opacity:0.9; } }

  /* ---------- sections communes ---------- */
  section{
    padding:140px 48px;
    max-width:760px;
    margin:0 auto;
  }

  /* ---------- diviseur écaille ---------- */
  .scale-divider{
    height:34px;
    width:100%;
    background-image:
    radial-gradient(circle at 50% -10px, transparent 12px, #af0006 13px),
    radial-gradient(circle at 50% -10px, transparent 12px, #af0006 13px);
    background-size:34px 34px, 34px 34px;
    background-position:0 0, 17px 0;
    opacity:0.6;
  }

  /* ---------- précommande ---------- */
  .preorder{ max-width:860px; }
  .preorder-head{
    display:flex;
    justify-content:center;
    align-items:flex-end;
    flex-wrap:wrap;
    gap:24px;
    margin-bottom:48px;
    text-align:center;
  }
  .preorder-head h2{ font-size:2.2rem; }
  .countdown{ text-align:right; font-family:'EB Garamond'; }
  .countdown .num{ font-family:'EB Garamond'; font-size:2rem; color:var(--main-red); display:block; }
  .countdown .label{ font-size:0.75rem; letter-spacing:0.08em; color:var(--cream-dim); }

  .editions{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:1px;
    background:rgba(237,230,221,0.15);
    border:1px solid rgba(237,230,221,0.15);
    perspective:1000px;
  }
  .edition{ background:var(--black); padding:32px 24px; display:flex; flex-direction:column; gap:14px; text-align:center; transform-style:preserve-3d; will-change:transform; }
  .edition.featured{ background:var(--black-2); }
  .edition .name{ font-family:'EB Garamond'; font-size:1.3rem; }
  .edition .price{ font-size:1.6rem; color:var(--main-red); font-family:'EB Garamond'; }
  .edition ul{ list-style:none; padding:0; margin:0; font-size:0.85rem; color:var(--cream-dim); line-height:1.8; text-align:center; }
  .edition .cta{
    margin-top:auto;
    display:inline-block;
    text-align:center;
    padding:14px 0;
    border:1px solid var(--main-red);
    color:var(--cream);
    text-decoration:none;
    font-size:0.85rem;
    letter-spacing:0.04em;
    transition:background 0.3s, color 0.3s;
  }
  .edition .cta:hover{ background:var(--main-red); color:var(--black); }

  .placeholder-note{
    margin-top:24px;
    font-size:0.8rem;
    color:var(--cream-dim);
    border-left:2px solid var(--main-red);
    padding-left:14px;
  }

  .bonus{
    margin-top:56px;
    padding:32px;
    border:1px solid rgba(176,141,87,0.35);
    background:linear-gradient(180deg, rgba(176,141,87,0.06), transparent);
  }
  .bonus h3{ font-size:1.2rem; margin-bottom:12px; }
  .bonus p{ color:var(--cream-dim); line-height:1.7; font-size:0.95rem; }

  /* ---------- extrait ---------- */
  .extract{
    background:var(--black-2);
    border:1px dashed rgba(237,230,221,0.2);
    padding:40px;
  }
  .extract p{ color:var(--cream-dim); font-style:italic; font-family:'EB Garamond'; font-size:1.05rem; line-height:1.8; }
  .extract .cta-line{ margin-top:24px; font-family:'EB Garamond'; font-style:normal; font-size:0.85rem; color:var(--main-red); text-decoration:underline; cursor:pointer; }

  /* ---------- retours ---------- */
  .quotes{ display:grid; gap:32px; }
  .quote{ border-top:1px solid rgba(237,230,221,0.12); padding-top:24px; }
  .quote .stars{ color:var(--main-red); font-size:0.9rem; margin-bottom:10px; letter-spacing:2px; }
  .quote p{ color:var(--cream-dim); line-height:1.7; font-size:0.95rem; }
  .quote .who{ margin-top:10px; font-size:0.8rem; color:var(--cream-dim); opacity:0.7; }

  /* ---------- autrice ---------- */
  .author{ display:grid; grid-template-columns:120px 1fr; gap:32px; align-items:center; }
  .author-mark{
    width:120px; height:120px;
    border-radius:50%;
    border:1px solid var(--main-red);
    display:flex; align-items:center; justify-content:center;
    font-family:'EB Garamond'; font-style:italic; font-size:1.6rem;
    color:var(--main-red);
  }
  .author p{ color:var(--cream-dim); line-height:1.75; font-size:0.95rem; }

  /* ---------- newsletter ---------- */
  .newsletter{ text-align:center; max-width:560px; }
  .newsletter h2{ font-size:1.8rem; margin-bottom:16px; }
  .newsletter p{ color:var(--cream-dim); margin-bottom:32px; }
  .newsletter-success{ color:var(--main-red); font-family:'EB Garamond'; font-style:italic; }
  .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;
  }
  .form-row{ display:flex; border-bottom:1px solid var(--cream-dim); padding-bottom:12px; }
  .form-row input{ flex:1; background:none; border:none; outline:none; color:var(--cream); font-family:'EB Garamond'; font-size:0.95rem; padding:8px 0; cursor:text; }
  .form-row input::placeholder{ color:var(--cream-dim); opacity:0.6; }
  .form-row button{ background:none; border:none; color:var(--main-red); font-family:'EB Garamond'; font-size:0.85rem; letter-spacing:0.04em; cursor:pointer; }

  /* ---------- footer ---------- */
  footer{ padding:80px 48px 40px; text-align:center; border-top:1px solid rgba(237,230,221,0.1); }
  footer .line{ color:var(--cream-dim); font-size:0.9rem; margin-bottom:24px; }
  .foot-bottom{ display:flex; justify-content:center; gap:24px; font-size:0.8rem; color:var(--cream-dim); }
  .footer-copyright{ margin-top:16px; text-align:center; font-size:0.72rem; color:var(--cream-dim); opacity:0.6; }
  .foot-bottom span{ font-family:'Avallon', serif; font-size:1rem; }

  @media (max-width:760px){
    header{ padding:20px 24px; }
    .hero{ padding:140px 24px 70px; }
    section{ padding:100px 24px; }
    .editions{ grid-template-columns:1fr; }
    .author{ grid-template-columns:1fr; text-align:center; justify-items:center; }
    .preorder-head{ flex-direction:column; align-items:flex-start; }
    .countdown{ text-align:left; }
  }
