/* V50.19 — landing hero photo. Base SEO V50.18 conservée ; moteur métier, livre, formulaires, D1, Admin et analytics inchangés. */
:root{
  --landing-paper:#F0F0E8;
  --landing-paper-soft:#F5F2EA;
  --landing-ink:#182724;
  --landing-body:#46514E;
  --landing-muted:#737D79;
  --landing-line:rgba(24,39,36,.16);
  --landing-petrol:#004850;
  --landing-petrol-deep:#003C43;
  --landing-cream:#F0F0E8;
  --landing-accent:#A85F4B;
  --landing-max:1180px;
}
body.cover-mode{background:var(--landing-paper)!important;}
.landing-view{
  min-height:100vh;
  min-height:100svh;
  background:var(--landing-paper);
  color:var(--landing-ink);
  display:flex;
  flex-direction:column;
}
.book-open .landing-view{display:none!important;}
.landing-nav{
  width:min(var(--landing-max),calc(100% - 48px));
  min-height:76px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  border-bottom:1px solid var(--landing-line);
}
.landing-brand{
  color:var(--landing-ink);
  text-decoration:none;
  font:600 18px/1 Georgia,"Times New Roman",serif;
  letter-spacing:-.015em;
}
.landing-season{
  color:var(--landing-muted);
  font-size:12px;
  font-weight:750;
  letter-spacing:.11em;
  text-transform:uppercase;
}
.landing-main{
  width:min(var(--landing-max),calc(100% - 48px));
  margin:0 auto;
  padding:44px 0 46px;
}
.landing-hero{
  min-height:520px;
  display:grid;
  grid-template-columns:minmax(0,56%) minmax(0,44%);
  overflow:hidden;
  border-radius:8px;
  background:var(--landing-petrol);
  box-shadow:0 18px 46px rgba(24,39,36,.12);
}
.landing-intro{
  position:relative;
  z-index:2;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:clamp(38px,4.6vw,64px) clamp(34px,4.6vw,64px);
}
.landing-eyebrow{
  margin:0 0 18px;
  color:#D69A85;
  font-size:11px;
  font-weight:850;
  letter-spacing:.15em;
  text-transform:uppercase;
}
.landing-view h1{
  max-width:720px;
  margin:0;
  color:var(--landing-cream);
  font:500 clamp(43px,4.45vw,66px)/1.01 Georgia,"Times New Roman",serif;
  letter-spacing:-.042em;
  text-wrap:balance;
}
.landing-place-nowrap{white-space:nowrap;}
.landing-lead{
  max-width:660px;
  margin:22px 0 0;
  color:rgba(240,240,232,.82);
  font-size:clamp(16px,1.38vw,19px);
  line-height:1.55;
}
.landing-facts{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:0 24px;
  max-width:670px;
  margin:26px 0 0;
  border-top:1px solid rgba(240,240,232,.22);
  border-bottom:1px solid rgba(240,240,232,.22);
}
.landing-fact{
  min-width:0;
  display:block;
  padding:13px 0 14px;
}
.landing-fact:nth-child(n+3){border-top:1px solid rgba(240,240,232,.13);}
.landing-fact dt{
  margin:0 0 4px;
  color:#D69A85;
  font-size:10px;
  font-weight:850;
  letter-spacing:.11em;
  text-transform:uppercase;
}
.landing-fact dd{
  margin:0;
  color:var(--landing-cream);
  font-size:13px;
  line-height:1.38;
  font-weight:680;
}
.landing-actions{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin-top:24px;
}
.landing-choice{
  min-width:0;
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  min-height:50px;
  padding:12px 15px;
  border:1px solid rgba(240,240,232,.72);
  border-radius:7px;
  background:var(--landing-cream);
  color:var(--landing-petrol);
  text-decoration:none;
  font-size:13px;
  font-weight:800;
  transition:background .15s ease,color .15s ease,transform .15s ease,border-color .15s ease;
}
.landing-choice small{
  font-size:11px;
  font-weight:760;
  white-space:nowrap;
  opacity:.76;
}
.landing-choice:hover,.landing-choice:focus-visible{
  background:transparent;
  color:var(--landing-cream);
  border-color:var(--landing-cream);
  outline:none;
  transform:translateY(-1px);
}
.landing-path{
  max-width:620px;
  margin:13px 0 0;
  color:rgba(240,240,232,.58);
  font-size:11px;
  line-height:1.48;
}
.landing-photo{
  position:relative;
  min-width:0;
  width:calc(100% + 72px);
  max-width:none;
  height:100%;
  margin:0 -72px 0 0;
  justify-self:stretch;
  align-self:stretch;
  overflow:hidden;
  background:#D5A76B;
}
.landing-photo img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:68% 52%;
}
.landing-photo::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(90deg,rgba(0,72,80,.22),transparent 9%);
}
.landing-photo figcaption{
  position:absolute;
  z-index:2;
  right:12px;
  bottom:10px;
  padding:4px 7px;
  border-radius:4px;
  background:rgba(8,18,18,.52);
  color:rgba(255,255,255,.82);
  font-size:9px;
  line-height:1.2;
  letter-spacing:.02em;
}
.landing-pedagogy{
  display:grid;
  grid-template-columns:250px minmax(0,1fr);
  gap:40px;
  margin-top:48px;
  padding-top:30px;
  border-top:1px solid var(--landing-line);
}
.landing-pedagogy h2{
  margin:0;
  font:500 23px/1.16 Georgia,"Times New Roman",serif;
  letter-spacing:-.02em;
}
.landing-pedagogy p{
  max-width:760px;
  margin:0;
  color:var(--landing-body);
  font-size:15px;
  line-height:1.72;
}
.landing-pedagogy strong{color:var(--landing-ink);}
.landing-footer{
  width:min(var(--landing-max),calc(100% - 48px));
  margin:0 auto;
  padding:20px 0 26px;
  border-top:1px solid var(--landing-line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  color:var(--landing-muted);
  font-size:12px;
  line-height:1.5;
}
.landing-footer a{
  color:var(--landing-ink);
  text-decoration:none;
  font-weight:750;
  text-underline-offset:3px;
}
.landing-footer a:hover,.landing-footer a:focus-visible{text-decoration:underline;outline:none;}

/* V50.18 — exposition sémantique du contenu du livre, conservée et repliable. */
.landing-seo-details{
  margin-top:30px;
  padding-top:18px;
  border-top:1px solid var(--landing-line);
}
.landing-seo-details summary{
  cursor:pointer;
  color:var(--landing-ink);
  font-size:13px;
  font-weight:780;
  line-height:1.45;
  text-underline-offset:3px;
}
.landing-seo-details summary:hover,
.landing-seo-details summary:focus-visible{
  text-decoration:underline;
  outline:none;
}
.landing-seo-content{
  max-width:920px;
  padding:24px 0 8px;
}
.landing-seo-content h2{
  margin:0 0 12px;
  font:500 25px/1.18 Georgia,"Times New Roman",serif;
  letter-spacing:-.02em;
}
.landing-seo-content h3{
  margin:0 0 7px;
  font:600 17px/1.25 Georgia,"Times New Roman",serif;
  letter-spacing:-.01em;
}
.landing-seo-content p{
  margin:0;
  color:var(--landing-body);
  font-size:14px;
  line-height:1.72;
}
.landing-seo-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px 34px;
  margin-top:24px;
}

@media(max-width:900px){
  .landing-main{padding-top:34px;}
  .landing-hero{
    min-height:0;
    grid-template-columns:1fr;
  }
  .landing-intro{padding:42px clamp(26px,6vw,48px) 38px;}
  .landing-photo{
    width:100%;
    height:clamp(230px,54vw,390px);
    margin:0;
  }
  .landing-photo img{object-position:50% 46%;}
  .landing-photo::after{display:none;}
  .landing-pedagogy{grid-template-columns:1fr;gap:14px;margin-top:42px;}
}
@media(max-width:700px){
  .landing-seo-grid{grid-template-columns:1fr;gap:20px;}
  .landing-seo-content h2{font-size:22px;}
}
@media(max-width:560px){
  .landing-nav,.landing-main,.landing-footer{width:calc(100% - 32px);}
  .landing-nav{min-height:64px;}
  .landing-season{font-size:10px;}
  .landing-main{padding:24px 0 34px;}
  .landing-hero{border-radius:8px;box-shadow:0 12px 30px rgba(24,39,36,.10);}
  .landing-intro{padding:30px 22px 27px;}
  .landing-view h1{font-size:clamp(36px,10.9vw,49px);line-height:1.02;}
  .landing-place-nowrap{white-space:normal;}
  .landing-lead{font-size:16px;margin-top:18px;}
  .landing-facts{grid-template-columns:1fr;margin-top:21px;}
  .landing-fact{padding:10px 0 11px;}
  .landing-fact:nth-child(n+2){border-top:1px solid rgba(240,240,232,.13);}
  .landing-actions{grid-template-columns:1fr;margin-top:20px;}
  .landing-choice{width:100%;min-height:50px;}
  .landing-path{font-size:10.5px;}
  .landing-photo{height:230px;}
  .landing-photo img{object-position:50% 48%;}
  .landing-pedagogy{padding-top:24px;}
  .landing-footer{align-items:flex-start;flex-direction:column;gap:8px;padding-bottom:22px;}
}
@media(prefers-reduced-motion:reduce){.landing-choice{transition:none;}}

/* V3 — alignement exact des courbes de la landing sur le livre ouvert. */
.landing-hero{border-radius:8px!important;}
.landing-intro{border-radius:8px 0 0 8px;}
.landing-photo{border-radius:0 8px 8px 0;}
.landing-photo img{border-radius:0 8px 8px 0;}
@media(max-width:900px){
  .landing-intro{border-radius:8px 8px 0 0;}
  .landing-photo{border-radius:0 0 8px 8px;}
  .landing-photo img{border-radius:0 0 8px 8px;}
}
