/* Page Manifeste — dans le système visuel actuel de l'Institut des Trajectoires */

:root{
  --paper:#f5f1e8;
  --paper2:#e9e1d4;
  --ink:#20201d;
  --muted:#706b62;
  --accent:#b85c38;
  --line:rgba(32,32,29,.16);
}

.manifesto-wrap{
  width:min(1180px,calc(100% - 48px));
  margin:0 auto;
}

.manifesto-narrow{max-width:940px}

.manifesto-hero{
  background:var(--paper);
  padding:92px 0 105px;
}

.manifesto-hero-grid{
  display:grid;
  grid-template-columns:minmax(0,1.3fr) minmax(280px,.7fr);
  gap:80px;
  align-items:center;
}

.manifesto-hero .eyebrow,
.manifesto-section .eyebrow,
.manifesto-download .eyebrow,
.manifesto-final .eyebrow{
  color:var(--accent);
  font-size:.7rem;
  letter-spacing:.15em;
  font-weight:800;
}

.manifesto-hero h1{
  margin:18px 0 28px;
  max-width:830px;
  font:400 clamp(3.8rem,7vw,7.3rem)/.92 Georgia,"Times New Roman",serif;
  letter-spacing:-.052em;
}

.manifesto-hero h1 em,
.manifesto-section h2 em{
  font-weight:400;
}

.manifesto-author{
  margin:0 0 32px;
  font-size:.75rem;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.manifesto-lead{
  font:400 1.3rem/1.55 Georgia,"Times New Roman",serif;
  color:var(--ink);
}

.manifesto-intro .manifesto-lead{
  max-width:700px;
}

.manifesto-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:36px;
}

.manifesto-btn{
  display:inline-flex;
  align-items:center;
  justify-content:space-between;
  gap:26px;
  min-height:48px;
  padding:13px 17px;
  border:1px solid var(--ink);
  border-radius:8px;
  color:var(--ink);
  font-size:.78rem;
  font-weight:800;
  transition:.2s ease;
}

.manifesto-btn:hover{
  background:var(--ink);
  color:var(--paper);
}

.manifesto-btn-dark{
  background:var(--ink);
  color:var(--paper);
}

.manifesto-btn-dark:hover{
  background:transparent;
  color:var(--ink);
}

.manifesto-note{
  margin:13px 0 0;
  color:var(--muted);
  font-size:.7rem;
}

.manifesto-book-wrap{
  display:flex;
  justify-content:center;
  padding:20px;
}

.manifesto-book{
  width:min(100%,350px);
  aspect-ratio:.70;
  padding:38px 32px 32px;
  display:flex;
  flex-direction:column;
  background:var(--ink);
  color:var(--paper);
  box-shadow:20px 24px 42px rgba(32,32,29,.16);
  transform:rotate(1.5deg);
}

.manifesto-book-top{
  font-size:.55rem;
  font-weight:700;
  letter-spacing:.15em;
}

.manifesto-book-title{
  margin:auto 0;
  font-size:clamp(2rem,3vw,3rem);
  line-height:.94;
  letter-spacing:-.045em;
  font-weight:800;
}

.manifesto-book-bottom{
  padding-top:18px;
  border-top:1px solid rgba(245,241,232,.55);
  font:italic 1rem Georgia,"Times New Roman",serif;
}

.manifesto-quote{
  padding:95px 0;
  background:var(--ink);
  color:var(--paper);
}

.manifesto-quote p{
  margin:0;
  font:400 clamp(2.3rem,5vw,5rem)/1.08 Georgia,"Times New Roman",serif;
  letter-spacing:-.035em;
}

.manifesto-section{
  padding:120px 0;
  background:var(--paper);
}

.manifesto-two-cols{
  display:grid;
  grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
  gap:90px;
  align-items:start;
}

.manifesto-section h2,
.manifesto-download h2,
.manifesto-final h2{
  margin:18px 0 0;
  font:400 clamp(3rem,5vw,5.6rem)/.96 Georgia,"Times New Roman",serif;
  letter-spacing:-.045em;
}

.manifesto-copy{
  max-width:650px;
}

.manifesto-copy p{
  margin:0 0 22px;
  color:var(--muted);
  line-height:1.72;
}

.manifesto-copy .manifesto-lead{
  color:var(--ink);
}

.manifesto-principle{
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  background:var(--paper);
}

.manifesto-principle-grid{
  display:grid;
  grid-template-columns:1fr 1.1fr 1fr;
}

.manifesto-principle article,
.manifesto-principle-center{
  min-height:290px;
  padding:48px 36px;
}

.manifesto-principle-grid > * + *{
  border-left:1px solid var(--line);
}

.manifesto-number{
  color:var(--accent);
  font-size:.68rem;
  font-weight:800;
}

.manifesto-principle h3{
  margin:48px 0 12px;
  font:400 2rem/1 Georgia,"Times New Roman",serif;
}

.manifesto-principle article p{
  max-width:280px;
  margin:0;
  color:var(--muted);
  font-size:.86rem;
  line-height:1.6;
}

.manifesto-principle-center{
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--paper2);
}

.manifesto-principle-center p{
  margin:0;
  font:400 clamp(1.8rem,3vw,2.8rem)/1.15 Georgia,"Times New Roman",serif;
}

.manifesto-download{
  padding:115px 0;
  background:var(--accent);
  color:var(--paper);
}

.manifesto-download .eyebrow{
  color:var(--paper);
  opacity:.72;
}

.manifesto-download .manifesto-copy p{
  color:rgba(245,241,232,.82);
}

.manifesto-download .manifesto-copy .manifesto-lead{
  color:var(--paper);
}

.manifesto-btn-light{
  margin-top:14px;
  border-color:var(--paper);
  color:var(--paper);
}

.manifesto-btn-light:hover{
  background:var(--paper);
  color:var(--ink);
}

.manifesto-paper{
  background:var(--paper);
}

.manifesto-support{
  margin:38px 0;
  padding:25px 0 6px;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

.manifesto-support span{
  display:block;
  margin-bottom:14px;
  color:var(--accent);
  font-size:.68rem;
  font-weight:800;
  letter-spacing:.13em;
}

.manifesto-final{
  padding:115px 0 125px;
  background:var(--paper2);
}

.manifesto-final-small{
  margin:28px 0 0;
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.manifesto-final h2{
  margin-top:20px;
}

.manifesto-final-link{
  display:inline-flex;
  gap:22px;
  margin-top:44px;
  padding-bottom:6px;
  border-bottom:1px solid var(--ink);
  font-size:.8rem;
  font-weight:800;
}

@media(max-width:900px){
  .manifesto-hero{
    padding:65px 0 80px;
  }

  .manifesto-hero-grid,
  .manifesto-two-cols{
    grid-template-columns:1fr;
    gap:52px;
  }

  .manifesto-book-wrap{
    justify-content:flex-start;
    padding-left:0;
  }

  .manifesto-book{
    width:290px;
  }

  .manifesto-principle-grid{
    grid-template-columns:1fr;
  }

  .manifesto-principle-grid > * + *{
    border-left:0;
    border-top:1px solid var(--line);
  }

  .manifesto-principle article,
  .manifesto-principle-center{
    min-height:0;
  }

  .manifesto-principle-center{
    justify-content:flex-start;
  }
}

@media(max-width:620px){
  .manifesto-wrap{
    width:min(100% - 36px,1180px);
  }

  .manifesto-hero h1{
    font-size:clamp(3rem,14vw,4.5rem);
  }

  .manifesto-section,
  .manifesto-download,
  .manifesto-final{
    padding:78px 0;
  }

  .manifesto-quote{
    padding:72px 0;
  }

  .manifesto-actions{
    flex-direction:column;
  }

  .manifesto-btn{
    width:100%;
  }

  .manifesto-book{
    width:250px;
  }
}

.manifesto-order-note{margin:24px 0 16px;padding-top:18px;border-top:1px solid var(--line);font-size:14px!important;line-height:1.5}

/* Couverture officielle corrigée */
.manifesto-cover-image{display:flex;justify-content:center;align-items:center}
.manifesto-cover-image img{display:block;width:min(100%,430px);height:auto;object-fit:contain}

/* v92 — visuel validé par l’auteur pour la page Manifeste */
.manifesto-cover-image-wide{width:100%;margin-top:34px}
.manifesto-cover-image-wide img{display:block;width:100%;max-width:1500px;height:auto;margin:0 auto;object-fit:contain}


/* v97 — bloc natif "Le texte / Le livre" : aucun texte intégré dans une image */
.manifesto-choice{
  padding:72px 0;
  background:var(--paper);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

.manifesto-choice-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}

.manifesto-choice-card{
  position:relative;
  min-height:610px;
  padding:52px 42px 38px;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(190px,.82fr);
  grid-template-rows:1fr auto;
  gap:30px 24px;
  overflow:hidden;
  background:#f8f5ee;
  border:1px solid rgba(32,32,29,.06);
  border-radius:18px;
}

.manifesto-choice-copy{
  position:relative;
  z-index:2;
}

.manifesto-choice-copy h2{
  margin:0 0 38px;
  font:400 clamp(3.1rem,4.7vw,5rem)/.95 Georgia,"Times New Roman",serif;
  letter-spacing:-.045em;
}

.manifesto-choice-copy p{
  margin:0;
  font:400 clamp(1.25rem,1.7vw,1.65rem)/1.42 Georgia,"Times New Roman",serif;
  color:var(--ink);
}

.manifesto-choice-copy strong{
  display:block;
  margin-top:44px;
  font:700 clamp(1.8rem,2.7vw,2.8rem)/1.08 Georgia,"Times New Roman",serif;
  letter-spacing:-.025em;
}

.manifesto-choice-media{
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:0;
}

.manifesto-choice-media img{
  display:block;
  width:min(100%,245px);
  height:auto;
  object-fit:contain;
  filter:drop-shadow(13px 17px 15px rgba(32,32,29,.16));
}

.manifesto-choice-media-book img{
  width:min(100%,270px);
  transform:perspective(900px) rotateY(-7deg) rotateZ(1deg);
  transform-origin:center;
}

.manifesto-choice-button{
  grid-column:1 / -1;
  min-height:82px;
  padding:16px 24px;
  display:flex;
  align-items:center;
  gap:18px;
  border-radius:9px;
  text-decoration:none;
  transition:transform .18s ease,box-shadow .18s ease,filter .18s ease;
}

.manifesto-choice-button-download{
  background:#3f4630;
  color:#fff;
}

.manifesto-choice-button-order{
  background:#a76335;
  color:#fff;
}

.manifesto-choice-button b{
  display:block;
  font:400 clamp(1.2rem,1.7vw,1.55rem)/1.15 Georgia,"Times New Roman",serif;
}

.manifesto-choice-button small{
  display:block;
  margin-top:5px;
  font-size:.82rem;
  letter-spacing:.02em;
  opacity:.88;
}

.manifesto-choice-icon{
  width:46px;
  height:46px;
  flex:0 0 46px;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.75);
  border-radius:7px;
  font-size:1.7rem;
  line-height:1;
}

.manifesto-cart{
  border:0;
  font-size:2rem;
}

.manifesto-choice-arrow{
  margin-left:auto;
  font-size:1.8rem;
}

.manifesto-choice-button:hover{
  transform:translateY(-3px);
  box-shadow:0 12px 25px rgba(32,32,29,.16);
  filter:brightness(.96);
}

.manifesto-choice-button:focus-visible{
  outline:3px solid var(--ink);
  outline-offset:4px;
}

@media(max-width:900px){
  .manifesto-choice-grid{grid-template-columns:1fr}
  .manifesto-choice-card{min-height:560px}
}

@media(max-width:620px){
  .manifesto-choice{padding:42px 0}
  .manifesto-choice-card{
    min-height:0;
    padding:34px 24px 24px;
    grid-template-columns:1fr;
    grid-template-rows:auto auto auto;
  }
  .manifesto-choice-copy h2{margin-bottom:24px}
  .manifesto-choice-copy strong{margin-top:28px}
  .manifesto-choice-media{justify-content:flex-start}
  .manifesto-choice-media img{width:180px}
  .manifesto-choice-media-book img{width:195px}
  .manifesto-choice-button{
    grid-column:1;
    min-height:72px;
    padding:14px 17px;
  }
  .manifesto-choice-icon{
    width:40px;height:40px;flex-basis:40px;
  }
}

/* Titre : trois lignes exactes sur écran large */
.manifesto-hero h1{
  max-width:920px;
  font-size:clamp(3.15rem,5.6vw,6.25rem);
  line-height:.94;
}
.manifesto-hero h1>span,
.manifesto-hero h1>em{white-space:nowrap}
@media(max-width:700px){
  .manifesto-hero h1>span,
  .manifesto-hero h1>em{white-space:normal}
}


/* v98 — titre "La connaissance / comme bien commun" : deux lignes strictes */
.manifesto-section h2 > span{
  display:inline-block;
  white-space:nowrap;
}
@media(max-width:620px){
  .manifesto-section h2{
    font-size:clamp(2.35rem,11.2vw,3.2rem);
    line-height:.98;
  }
}


/* v99 — correction du chevauchement du titre avec la colonne de texte */
.manifesto-two-cols{
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:72px;
}

.manifesto-two-cols > div:first-child{
  min-width:0;
}

.manifesto-two-cols > div:first-child h2{
  max-width:100%;
  font-size:clamp(3rem,4.65vw,5.25rem);
  line-height:.96;
}

.manifesto-two-cols > div:first-child h2 > span{
  display:block;
  width:100%;
  white-space:nowrap;
}

.manifesto-two-cols .manifesto-copy{
  position:relative;
  z-index:2;
  min-width:0;
  background:var(--paper);
}

@media(max-width:1050px){
  .manifesto-two-cols{
    grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);
    gap:54px;
  }
  .manifesto-two-cols > div:first-child h2{
    font-size:clamp(2.7rem,4.35vw,4.35rem);
  }
}

@media(max-width:900px){
  .manifesto-two-cols{
    grid-template-columns:1fr;
    gap:48px;
  }
  .manifesto-two-cols > div:first-child h2{
    font-size:clamp(3rem,9vw,5rem);
  }
}

@media(max-width:620px){
  .manifesto-two-cols > div:first-child h2{
    font-size:clamp(2.25rem,10.2vw,3.2rem);
  }
}


/* v100 — compteurs publics sous les deux actions */
.manifesto-choice-card{
  grid-template-rows:1fr auto auto;
}
.manifesto-counter{
  grid-column:1 / -1;
  margin:-14px 0 0;
  text-align:center;
  color:var(--muted);
  font-size:.72rem;
  line-height:1.4;
  letter-spacing:.035em;
}
.manifesto-counter strong{
  color:var(--ink);
  font-weight:800;
}
@media(max-width:620px){
  .manifesto-choice-card{grid-template-rows:auto auto auto auto}
  .manifesto-counter{grid-column:1;margin:-8px 0 0;text-align:left}
}


/* v101 — titre de section réduit pour supprimer tout chevauchement */
.manifesto-two-cols > div:first-child h2{
  font-size:clamp(2.65rem,3.85vw,4.25rem);
  line-height:1.02;
  letter-spacing:-.04em;
}
@media(max-width:1050px){
  .manifesto-two-cols > div:first-child h2{
    font-size:clamp(2.45rem,3.7vw,3.8rem);
  }
}
@media(max-width:900px){
  .manifesto-two-cols > div:first-child h2{
    font-size:clamp(2.75rem,8vw,4.25rem);
  }
}
@media(max-width:620px){
  .manifesto-two-cols > div:first-child h2{
    font-size:clamp(2.15rem,9.5vw,3rem);
  }
}


/* v104 — mention de version du texte */
.manifesto-working-version{
  margin-top:14px !important;
  margin-bottom:0 !important;
  font-family:Georgia, "Times New Roman", serif;
  font-size:.88rem !important;
  line-height:1.35;
  color:var(--muted);
}
.manifesto-working-version em{
  font-style:italic;
}
