/* Présentation "livre" — chargé après le skin de base (qui garde l'image de fond) */

html, body { margin: 0; padding: 0; }

.livre {
  box-sizing: border-box;
  max-width: 1040px;
  margin: 32px auto;
  background: #fbf6ea;
  color: #2b2118;
  font: 15px/1.6 Georgia, "Times New Roman", serif;
  border-radius: 6px 10px 10px 6px;
  border-left: 10px solid #5a3a22;               /* tranche du livre */
  box-shadow: 0 0 0 1px rgba(0,0,0,.25), 0 18px 50px rgba(0,0,0,.55);
  overflow: hidden;
}
.livre *, .livre *::before, .livre *::after { box-sizing: border-box; }
.livre a { color: #8a2f1b; }
.livre a:hover { color: #c0452a; }
.livre img { max-width: 100%; height: auto; }

/* ---- Couverture : titre, sous-titre, menu ---- */
.couverture {
  text-align: center;
  padding: 34px 24px 0;
  border-bottom: 3px double #b9a27a;
}
.couverture h1 {
  margin: 0;
  font: normal 44px/1.15 Georgia, "Times New Roman", serif;
  letter-spacing: .5px;
}
.couverture h1 a { color: #2b2118; text-decoration: none; }
.livre .sous-titre {
  text-align: center;
  margin: 6px 0 22px;
  font-style: italic;
  color: #7a6850;
  font-size: 17px;
}

.topnav {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
}
.topnav li { margin: 0; }
.topnav li a {
  display: block;
  padding: 11px 16px;
  color: #5a3a22;
  text-decoration: none;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.topnav li a:hover { background: #efe5cf; color: #8a2f1b; }
.topnav img { vertical-align: middle; }
.topnav li.icon { display: none; }

/* ---- Les deux pages ---- */
.pages {
  display: grid;
  grid-template-columns: minmax(0, 2.3fr) minmax(0, 1fr);
}
.page { padding: 28px 30px; }
.page-gauche {
  border-right: 1px solid #d9c9a6;
  box-shadow: inset -14px 0 18px -14px rgba(90,58,34,.25);  /* creux de la reliure */
}
.page-droite { background: #f6efdd; font-size: 14px; }
.bandeau-yt { display: block; margin: 0 auto 18px; }

/* ---- Contenu ---- */
.livre .grostitre, .livre .grostitrearticle {
  font-size: 22px; font-weight: bold; color: #2b2118;
}
.livre .article, .livre .article-prem-page, .livre .prem_article, .livre .blognote {
  margin: 0 0 26px;
  padding: 0 0 20px;
  border-bottom: 1px dashed #cdbb94;
  background: none;
}
.livre .article-prem-page img, .livre .article img { border: 1px solid #b9a27a; padding: 3px; background: #fff; }
.livre p { margin: .6em 0; text-align: justify; }

.blocd { margin: 0 0 22px; padding-bottom: 16px; border-bottom: 1px solid #d9c9a6; }
.blocd:last-child { border-bottom: 0; }
.navlist { list-style: none; margin: 0; padding: 0; }
.navlist li { margin-bottom: 8px; }

.livre input[type=text], .livre input[type=email], .livre textarea {
  max-width: 100%;
  border: 1px solid #b9a27a; background: #fffdf7; color: #2b2118;
  padding: 5px 7px; font: inherit;
}
.livre input[type=submit], .livre .submit {
  border: 1px solid #5a3a22; background: #5a3a22; color: #fbf6ea;
  padding: 5px 12px; cursor: pointer; font: inherit;
}

.pied {
  text-align: center;
  padding: 14px;
  border-top: 3px double #b9a27a;
  font-size: 13px; color: #7a6850;
}

/* ---- Mobile : une seule page, menu repliable ---- */
@media (max-width: 760px) {
  .livre { margin: 0; border-radius: 0; border-left-width: 6px; }
  .couverture h1 { font-size: 32px; }
  .pages { grid-template-columns: 1fr; }
  .page { padding: 20px 16px; }
  .page-gauche { border-right: 0; box-shadow: none; border-bottom: 1px solid #d9c9a6; }
  .topnav { display: block; }
  .topnav li { display: none; }
  .topnav li.icon { display: block; text-align: center; }
  .topnav.responsive li { display: block; text-align: center; }
}
