body {
  margin: 0;
  font-family: 'Segoe UI', 'Arial', sans-serif;
  font-display: swap;
  background: #18191a;
  color: #f3f3f3;
}
.header-main {
  background: #23272b;
  color: #ffe066;
  padding: 2rem 1rem 1rem 1rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.header-main h1 {
  font-family: 'Georgia', serif;
  font-display: swap;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}
.citation {
  font-style: italic;
  color: #fff;
  background: #2d2d2d;
  border-left: 5px solid #ffe066;
  display: inline-block;
  padding: 1rem 2rem;
  margin: 0 auto 1rem auto;
  border-radius: 8px;
  max-width: 600px;
}
.auteur-citation {
  display: block;
  color: #ffe066;
  font-size: 0.95em;
  margin-top: 0.5em;
}
main {
  max-width: 900px;
  margin: 2rem auto;
  padding: 1rem;
  background: #23272b;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
}
.presentation {
  text-align: center;
  margin-bottom: 2.5rem;
}
.photo-cabinet {
  width: 320px;
  height: auto;
  max-width: 95vw;
  border-radius: 12px;
  margin: 1.5rem auto 1rem auto;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
  display: block;
  object-fit: contain;
}
.bio {
  margin: 1.5rem auto;
  max-width: 700px;
  background: #18191a;
  padding: 1.2rem 1.5rem;
  border-radius: 8px;
  color: #f3f3f3;
  box-shadow: 0 1px 6px rgba(0,0,0,0.15);
}
.galerie-portraits {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 1.5rem 0;
}
.portrait {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  border: 3px solid #ffe066;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.romans {
  margin-top: 2.5rem;
}
.romans h2 {
  color: #ffe066;
  font-size: 2rem;
  margin-bottom: 1rem;
}
.liste-romans {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 1rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}
.liste-romans li {
  background: #18191a;
  color: #ffe066;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  box-shadow: 0 1px 6px rgba(0,0,0,0.12);
}
.roman-title-link {
  color: #ffe066;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: color 0.2s, text-shadow 0.2s;
}
.roman-title-link:hover, .roman-title-link:focus {
  color: #fff;
  text-shadow: 0 2px 8px #ffe066;
}
.avis {
  background: #2d2d2d;
  color: #fff;
  border-left: 4px solid #ffe066;
  margin: 1.2rem auto;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  max-width: 650px;
  font-style: italic;
}
.auteur-avis {
  display: block;
  color: #ffe066;
  font-size: 0.95em;
  margin-top: 0.5em;
}
.editeur {
  text-align: right;
  margin-top: 2rem;
  color: #ffe066;
}
.roman-detail {
  margin: 3rem 0 2rem 0;
  background: #18191a;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
  padding: 2rem 1.5rem;
}
.roman-detail h2 {
  color: #ffe066;
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
  text-align: left;
  letter-spacing: 0.5px;
  text-shadow: none;
  border: none;
  background: none;
  display: block;
  padding: 0;
  border-radius: 0;
}
.detail-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
  justify-content: center;
  margin-bottom: 2rem;
}
.cover-detail {
  width: auto;
  max-width: 200px;
  height: auto;
  max-height: 320px;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
  background: #fff;
  object-fit: unset;
}
.covers-row {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  justify-content: flex-start;
  align-items: flex-end;
  margin-bottom: 2rem;
}
.covers-row picture {
  flex: 0 0 auto;
}
.covers-row .cover-detail {
  height: 320px;
  max-height: 320px;
  width: auto;
  max-width: 200px;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}
.resume {
  flex: 1 1 300px;
  min-width: 250px;
  color: #f3f3f3;
  margin-top: 0;
}
.resume h3 {
  color: #ffe066;
  margin-bottom: 0.7rem;
}
.resume ul {
  padding-left: 1.2rem;
  margin: 0;
}
.resume li {
  margin-bottom: 0.7rem;
  line-height: 1.5;
}
.avis-lecteurs {
  margin-top: 2rem;
}
.avis-lecteurs h3 {
  color: #ffe066;
  margin-bottom: 1rem;
}
.avis-lecteurs blockquote {
  background: #23272b;
  border-left: 4px solid #ffe066;
  color: #fff;
  margin: 1.2rem auto;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  max-width: 700px;
  font-style: italic;
}
.avis-lecteurs strong {
  color: #ffe066;
  font-style: normal;
}
@media (max-width: 700px) {
  main {
    padding: 0.5rem;
  }
  .galerie-portraits {
    flex-direction: row;
    gap: 0.7rem;
  }
  .galerie-portraits .portrait {
    width: 90px;
    height: 90px;
  }
  .photo-cabinet {
    width: 95vw;
    max-width: 400px;
  }
  .detail-container {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  .covers-row {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  .covers-row .cover-detail {
    height: 200px;
    max-height: 200px;
    max-width: 90vw;
  }
  .resume {
    min-width: 0;
    width: 100%;
  }
  .cover-detail {
    width: 90vw;
    max-width: 320px;
  }
}

/* Menu principal */
.main-nav {
  background: #18191a;
  padding: 0.5rem 0;
  text-align: center;
}
.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 2rem;
}
.main-nav li {
  display: inline-block;
}
.main-nav a {
  color: #ffe066;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #ffe066;
  color: #23272b;
}

/* Liens rapides vers les romans */
.romans-quicklinks {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 1.5rem 0 2rem 0;
}
.roman-link {
  background: #ffe066;
  color: #23272b;
  font-weight: bold;
  padding: 0.7rem 1.3rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1rem;
  box-shadow: 0 1px 6px rgba(0,0,0,0.12);
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.roman-link:hover, .roman-link:focus {
  background: #23272b;
  color: #ffe066;
  transform: translateY(-2px) scale(1.04);
}

@media (max-width: 700px) {
  .main-nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }
  .romans-quicklinks {
    flex-direction: column;
    gap: 0.7rem;
  }
}

section {
  margin-bottom: 3.5rem;
  position: relative;
}
section:not(:first-child)::before {
  content: '';
  display: block;
  width: 80%;
  max-width: 600px;
  height: 2px;
  background: linear-gradient(90deg, #ffe066 0%, #23272b 100%);
  margin: 0 auto 2.5rem auto;
  opacity: 0.7;
  border-radius: 2px;
}

section > h2 {
  font-size: 2.1rem;
  color: #ffe066;
  margin-bottom: 1.2rem;
  text-align: center;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px #23272b;
  border-bottom: 2px solid #ffe066;
  display: inline-block;
  padding: 0 1.2rem 0.3rem 1.2rem;
  border-radius: 0 0 8px 8px;
  background: #23272b;
}

@media (max-width: 700px) {
  section > h2 {
    font-size: 1.3rem;
    padding: 0 0.5rem 0.2rem 0.5rem;
  }
  section {
    margin-bottom: 2.2rem;
  }
  section:not(:first-child)::before {
    margin-bottom: 1.2rem;
  }
}

.video-responsive {
  position: relative;
  width: 100%;
  max-width: 700px;
  margin: 1.5rem auto 0 auto;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
  overflow: hidden;
  background: #000;
  padding-top: 56.25%; /* 16:9 ratio */
  display: block;
}
.video-responsive iframe,
.video-responsive video {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
  background: #000;
}

.agenda-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.agenda-list li {
  background: #23272b;
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.12);
  margin-bottom: 1.5rem;
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.3em;
}
.agenda-date {
  color: #ffe066;
  font-weight: bold;
  font-size: 1.1em;
}
.agenda-lieu {
  color: #f3f3f3;
  font-style: italic;
}
.agenda-titre {
  color: #ffe066;
  font-size: 1.05em;
  margin-top: 0.2em;
}
.agenda-horaire {
  color: #fff;
  font-size: 0.98em;
}

.agenda-cards {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.event-card {
  display: flex;
  flex-direction: row;
  background: #23272b;
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.22);
  overflow: hidden;
  align-items: stretch;
  min-height: 180px;
  margin-bottom: 1.5rem;
  border: 1.5px solid #ffe06622;
}
.event-img {
  width: 180px;
  min-width: 140px;
  max-width: 220px;
  height: 100%;
  max-height: 220px;
  aspect-ratio: 1/1;
  object-fit: cover;
  background: #111;
  display: block;
  border-right: 2px solid #ffe06633;
}
.event-content {
  flex: 1 1 0;
  padding: 1.5rem 1.7rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.7em;
  background: #18191a;
}
.event-header {
  display: flex;
  align-items: center;
  gap: 1em;
  margin-bottom: 0.3em;
}
.event-date-badge {
  background: #ffe066;
  color: #23272b;
  font-weight: bold;
  border-radius: 8px;
  padding: 0.3em 1em;
  font-size: 1.08em;
  box-shadow: 0 1px 4px rgba(0,0,0,0.10);
  display: inline-block;
  min-width: 90px;
  text-align: center;
  letter-spacing: 0.02em;
}
.event-lieu-bold {
  color: #ffe066;
  font-weight: bold;
  font-size: 1.08em;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 4px #23272b88;
}
.event-titre {
  color: #ffe066;
  font-size: 1.18em;
  font-weight: 700;
  margin-bottom: 0.2em;
  letter-spacing: 0.01em;
}
.event-desc {
  color: #fff;
  font-size: 1.04em;
  margin-top: 0.2em;
  line-height: 1.5;
  text-shadow: 0 1px 4px #23272b55;
}
@media (max-width: 900px) {
  .event-card {
    flex-direction: column;
    min-height: unset;
  }
  .event-img {
    width: 100%;
    max-width: 100%;
    max-height: 220px;
    border-right: none;
    border-bottom: 2px solid #ffe06633;
    aspect-ratio: 2/1;
  }
  .event-content {
    padding: 1.2rem 1rem;
  }
}

.videos-list, .video-block {
  max-width: none;
  width: 100%;
  box-sizing: border-box;
  padding-left: 0;
  padding-right: 0;
}
.video-block {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  padding: 0 0 1.2rem 0;
  margin: 0 auto 2.2rem auto;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}
.video-title {
  color: #ffe066;
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 0.1em;
  text-align: center;
  letter-spacing: 0.01em;
}
.video-intro {
  color: #f3f3f3;
  font-size: 1.05em;
  margin-bottom: 0.3em;
  text-align: center;
  font-style: italic;
}
@media (max-width: 700px) {
  .video-block {
    padding: 1.2rem 0.5rem 1rem 0.5rem;
  }
  .videos-list {
    gap: 1.2rem;
  }
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin: 2rem 0 1.5rem 0;
  align-items: flex-start;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 0.7em;
  font-size: 1.08em;
  color: #ffe066;
}
.contact-label {
  font-weight: bold;
  color: #ffe066;
}
.contact-item a {
  color: #fff;
  text-decoration: underline;
  transition: color 0.2s;
}
.contact-item a:hover, .contact-item a:focus {
  color: #ffe066;
}
.contact-icon {
  width: 1.5em;
  height: 1.5em;
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.2em;
}
.contact-mail {
  background: url('data:image/svg+xml;utf8,<svg fill="%23ffe066" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><rect fill="none" height="24" width="24"/><path d="M20,4H4C2.9,4,2,4.9,2,6v12c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2V6C22,4.9,21.1,4,20,4z M20,8l-8,5L4,8V6l8,5l8-5V8z"/></svg>') no-repeat center/1.5em;
}
.contact-facebook {
  background: url('data:image/svg+xml;utf8,<svg fill="%23ffe066" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M22.675 0h-21.35C.595 0 0 .592 0 1.326v21.348C0 23.408.595 24 1.325 24h11.495v-9.294H9.692v-3.622h3.128V8.413c0-3.1 1.893-4.788 4.659-4.788 1.325 0 2.463.099 2.797.143v3.24l-1.918.001c-1.504 0-1.797.715-1.797 1.763v2.313h3.587l-.467 3.622h-3.12V24h6.116C23.406 24 24 23.408 24 22.674V1.326C24 .592 23.406 0 22.675 0"/></svg>') no-repeat center/1.5em;
}
.contact-site {
  background: url('data:image/svg+xml;utf8,<svg fill="%23ffe066" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm-1-13h2v6h-2zm0 8h2v2h-2z"/></svg>') no-repeat center/1.5em;
}
.contact-info {
  color: #f3f3f3;
  font-size: 1em;
  margin-top: 1.2rem;
}
.contact-favicon {
  width: 1.5em;
  height: 1.5em;
  vertical-align: middle;
  margin-right: 0.2em;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.10);
  background: #fff;
}
.contact-vente {
  color: #ffe066;
  font-weight: bold;
  font-size: 1.08em;
}
.contact-vente-list {
  margin: 0.5em 0 0.7em 1.2em;
  padding-left: 1.2em;
  color: #f3f3f3;
  font-size: 1em;
  list-style: disc inside;
}
.contact-warning {
  display: block;
  color: #ffe066;
  margin: 0.7em 0 0.3em 0;
  font-size: 1em;
}
.contact-dispo {
  display: block;
  color: #f3f3f3;
  font-size: 0.98em;
  margin-top: 0.2em;
}

.nouvelles {
  margin-top: 2.5rem;
}

.nouvelles h2 {
  color: #ffe066;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.liste-nouvelles {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 1rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.liste-nouvelles li {
  background: #18191a;
  color: #ffe066;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  box-shadow: 0 1px 6px rgba(0,0,0,0.12);
}

.nouvelle-title-link {
  color: #ffe066;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: color 0.2s, text-shadow 0.2s;
}

.nouvelle-title-link:hover, .nouvelle-title-link:focus {
  color: #fff;
  text-shadow: 0 2px 8px #ffe066;
}

.nouvelle-detail {
  margin: 3rem 0 2rem 0;
  background: #18191a;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
  padding: 2rem 1.5rem;
}

.nouvelle-detail h3 {
  color: #ffe066;
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
  text-align: left;
  letter-spacing: 0.5px;
  text-shadow: none;
  border: none;
  background: none;
  display: block;
  padding: 0;
  border-radius: 0;
}

@media (max-width: 700px) {
  .liste-nouvelles {
    flex-direction: column;
    gap: 0.7rem;
  }
  .nouvelle-detail {
    padding: 1.5rem 1rem;
  }
  .nouvelle-detail h3 {
    font-size: 1.2rem;
  }
}

.quatrieme {
  display: block;
  margin: 1.5rem 0;
  max-width: 100%;
}

.covers-row {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  justify-content: flex-start;
  align-items: flex-start;
  margin-bottom: 2rem;
}
.covers-row picture {
  flex: 0 0 auto;
}
@media (max-width: 700px) {
  .covers-row {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
}

.editeur-link {
  color: inherit;
  text-decoration: underline;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.2s;
}
.editeur-link:hover, .editeur-link:focus {
  color: #ffe066;
  text-decoration: underline;
}

.cover-lightbox {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.85);
  transition: opacity 0.2s;
}
.cover-lightbox-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: transparent;
}
.cover-lightbox-content {
  position: relative;
  z-index: 2;
  background: #23272b;
  border-radius: 12px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.45);
  padding: 1.5rem;
  max-width: 95vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cover-lightbox-content img {
  max-width: 95vw;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
  background: #fff;
  margin-bottom: 1rem;
}
.cover-lightbox-close {
  position: absolute;
  top: 0.5rem;
  right: 0.7rem;
  background: none;
  border: none;
  color: #ffe066;
  font-size: 2.2rem;
  cursor: pointer;
  z-index: 3;
  transition: color 0.2s;
}
.cover-lightbox-close:hover, .cover-lightbox-close:focus {
  color: #fff;
}
.cover-lightbox[aria-hidden="true"] {
  opacity: 0;
  pointer-events: none;
}
.cover-lightbox[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}
.cover-lightbox figcaption {
  color: #ffe066;
  font-size: 1.1rem;
  text-align: center;
  margin-top: 0.5rem;
}
@media (max-width: 700px) {
  .cover-lightbox-content img {
    max-width: 100vw;
    max-height: 80vh;
  }
  .cover-lightbox-content {
    padding: 0.5rem;
  }
}

.detail-container > picture,
.detail-container > .cover-zoom,
.detail-container > a {
  align-self: flex-start;
}

.roman-detail .cover-detail {
  height: 320px;
  max-height: 320px;
  width: auto;
  max-width: 200px;
  object-fit: cover;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
  background: #fff;
}
.roman-detail .detail-container {
  align-items: flex-start;
}
.roman-detail .detail-container > picture,
.roman-detail .detail-container > .cover-zoom,
.roman-detail .detail-container > a {
  align-self: flex-start;
  vertical-align: top;
  display: block;
}
.roman-detail .resume {
  margin-top: 0;
}

/* Styles pour les marqueurs personnalisés Leaflet */
.custom-marker {
  background: transparent !important;
  border: none !important;
}

.custom-marker img {
  display: block !important;
  width: 25px !important;
  height: 41px !important;
  object-fit: contain !important;
} 