/* Page d'accueil */
.welcome-banner {
  max-width: 1200px;
  width: 100%;
  margin: 20px auto;
  height: 300px;
  border: 2px solid #B87333;
  border-radius: 8px;
  overflow: hidden;
}
.welcome-banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.intro {
  margin-bottom: 50px;
}
.intro-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}
.carousel {
  flex: 1;
  min-width: 300px;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 2px solid #B87333;
}
.carousel-inner {
  display: flex;
  transition: transform 0.5s ease;
}
.carousel-image {
  width: 100%;
  max-height: 400px;
  object-fit: contain; /* Preserve proportions */
  display: none;
  margin: 0 auto;
}
.carousel-image.active {
  display: block;
}
.carousel-prev, .carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(42, 75, 61, 0.7);
  color: #F5E8D3;
  border: none;
  padding: 10px 15px;
  font-size: 24px;
  cursor: pointer;
  border-radius: 5px;
}
.carousel-prev {
  left: 10px;
}
.carousel-next {
  right: 10px;
}
.carousel-prev:hover, .carousel-next:hover {
  background: #6B3E75;
}
.intro-content {
  flex: 1;
  min-width: 300px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.intro-content h1 {
  font-family: 'Playfair Display', serif;
  color: #6B3E75;
  font-size: 36px;
  margin-bottom: 20px;
}
.intro-content p {
  font-family: 'Montserrat', sans-serif;
  color: #2A4B3D;
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 10px;
}
.intro-button {
  background: linear-gradient(90deg, #B87333, #6B3E75);
  color: #F5E8D3;
  font-family: 'Cinzel', serif;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.intro-button:hover {
  background: linear-gradient(90deg, #6B3E75, #B87333);
  transform: scale(1.05);
}
.newsletter-booktrailers {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: center;
  margin-bottom: 50px;
}
.newsletter, .booktrailers {
  flex: 1;
  min-width: 300px;
  text-align: center;
}
.newsletter h2 {
  font-family: 'Playfair Display', serif;
  color: #6B3E75;
  font-size: 36px; /* Agrandi */
  margin-bottom: 20px;
}
.newsletter p {
  font-family: 'Montserrat', sans-serif;
  color: #2A4B3D;
  font-size: 18px; /* Agrandi */
  line-height: 1.6;
  margin-bottom: 20px;
}
.newsletter-button {
  background: linear-gradient(90deg, #B87333, #6B3E75);
  color: #F5E8D3;
  font-family: 'Cinzel', serif;
  font-weight: bold;
  font-size: 16px; /* Agrandi */
  padding: 12px 24px; /* Agrandi */
  border: none;
  border-radius: 5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.newsletter-button:hover {
  background: linear-gradient(90deg, #6B3E75, #B87333);
  transform: scale(1.05);
}
.newsletter-form-container {
  margin-top: 20px;
  padding: 20px;
  background: linear-gradient(90deg, rgba(184, 115, 51, 0.1), rgba(107, 62, 117, 0.1), rgba(42, 75, 61, 0.1));
  border: 2px solid #B87333;
  border-radius: 8px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
#newsletterForm {
  display: none;
}
#newsletterForm.active {
  display: block;
}
.booktrailers h2 {
  font-family: 'Playfair Display', serif;
  color: #6B3E75;
  font-size: 28px;
  margin-bottom: 20px;
}
.booktrailers p {
  font-family: 'Montserrat', sans-serif;
  color: #2A4B3D;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.trailer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.trailer {
  position: relative;
  padding-top: 56.25%; /* Ratio 16:9 */
}
.trailer iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 2px solid #B87333;
  border-radius: 8px;
}
.why-us {
  text-align: center;
  margin-bottom: 50px;
}
.why-us h2 {
  font-family: 'Playfair Display', serif;
  color: #6B3E75;
  font-size: 28px;
  margin-bottom: 20px;
}
.reasons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.reason {
  background: linear-gradient(90deg, rgba(184, 115, 51, 0.2), rgba(107, 62, 117, 0.2), rgba(42, 75, 61, 0.2));
  padding: 20px;
  border-radius: 8px;
  border: 2px solid #B87333;
  transition: transform 0.3s ease;
}
.reason:hover {
  transform: scale(1.05);
}
.reason img.icon {
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
  filter: sepia(100%) hue-rotate(15deg) saturate(600%) brightness(90%) contrast(150%) !important; /* Cuivre #B87333 */
}
.reason p {
  font-family: 'Montserrat', sans-serif;
  color: #2A4B3D;
  font-size: 16px;
  line-height: 1.6;
}
.join-us {
  text-align: center;
  margin-bottom: 50px;
}
.join-us h2 {
  font-family: 'Playfair Display', serif;
  color: #6B3E75;
  font-size: 28px;
  margin-bottom: 20px;
}
.join-us p {
  font-family: 'Montserrat', sans-serif;
  color: #2A4B3D;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.action {
  flex: 1;
  min-width: 280px;
  background: linear-gradient(90deg, rgba(184, 115, 51, 0.2), rgba(107, 62, 117, 0.2), rgba(42, 75, 61, 0.2));
  padding: 20px;
  border-radius: 8px;
  border: 2px solid #B87333;
  transition: transform 0.3s ease;
}
.action:hover {
  transform: scale(1.05);
}
.action img.icon {
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
  filter: sepia(100%) hue-rotate(15deg) saturate(600%) brightness(90%) contrast(150%) !important; /* Cuivre #B87333 */
}
.action p {
  font-family: 'Montserrat', sans-serif;
  color: #2A4B3D;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.action-button {
  background: linear-gradient(90deg, #B87333, #6B3E75);
  color: #F5E8D3;
  font-family: 'Cinzel', serif;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.action-button:hover {
  background: linear-gradient(90deg, #6B3E75, #B87333);
  transform: scale(1.05);
}
@media (max-width: 768px) {
  .welcome-banner {
    height: 250px;
  }
}
@media (max-width: 480px) {
  .welcome-banner {
    height: 200px;
  }
}