/* paraùètre utiles */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.text-center {
  text-align: center;
}

.mb-0 {
  margin-bottom: 0;
}


/* Menu de navigation */
.navbar {
  background-color:  #260101;
  padding: 16px 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-logo img {
  height: 80px;
  width: auto;
  display: block;
}

.navbar-menu {
  list-style: none;
  display: flex;
  gap: 32px;
}

.navbar-menu a {
  color: #ffffff;
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.navbar-menu a:hover,
.navbar-menu a.active {
  color: #D98E04;
  border-bottom: 2px solid #D98E04;
}


body {
  font-family:'Raleway', sans-serif;
  line-height: 1.6;
  color: #111827;
  background-color: #ffffff;
}

/* Titres site */
h1 {
  font-family:'Playfair Display', serif;
  font-size: 40px;
  margin-bottom: 16px;
}

h2 {
  font-family:'Playfair Display', serif;
  font-size: 32px;
  margin-bottom: 16px;
  color:  #260101;
}

h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  margin-bottom: 16px;
}

h4 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  margin-bottom: 16px;
}

p {
  margin-bottom: 16px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* containers  */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}


/* bannière dit 'hero header' */
.hero {
  background: linear-gradient(to bottom,  #260101, #59332A);
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
}

.hero h1 {
  font-size: 48px;
  color: #ffffff;
}

.hero p {
  font-size: 20px;
}

/* Sections  */
.section {
  padding: 64px 20px;
}

.section-light {
  background-color: white;
}

.section-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 16px;
}

.section-description {
  text-align: center;
  color: #6b7280;
  max-width: 700px;
  margin: 0 auto 35px;
}

/* grilles  */
.grid {
  display: grid;
  gap: 32px;
}

.grid-2 {
  grid-template-columns: 1fr;
}

.grid-3 {
  grid-template-columns: 1fr;
}

/* affichage sur écran moyen et grand */

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
  
  .grid-3 {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* cartes produits  */

.card {
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.card-content {
  padding: 24px;
}

.card h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.card p {
  color:#6b7280;
}

/* ============================================
   BADGES
   ============================================ */
.badge {
  display: inline-block;
  background-color: #F5EDE5;
  color: #59332A;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}

/* images simple */
.image-box {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 10px;
}

/* partie formulaire */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #6b7280;
  border-radius: 8px;
  font-family: 'Raleway', sans-serif;
  font-size: 16px;
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

/* boutons */
.btn {
  display: inline-block;
  background-color: #59332A;
  color: #ffffff;
  padding: 12px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  text-align: center;
  cursor: pointer;
  border: none;
}

.btn:hover {
  background-color: #BF6D24;
}

.btn-full {
  width: 100%;
}

/*  spécial box */

/* Box contact */
.contact-info {
  margin-bottom: 32px;
}

.contact-info h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

/* Box timeline */
.timeline-box {
  background-color: #ffffff;
  padding: 40px;
  border-radius: 10px;
  max-width: 800px;
  margin: 0 auto;
}

.timeline-item {
  border-left: 4px solid #59332A;
  padding-left: 24px;
  margin-bottom: 32px;
}

.timeline-item h3 {
  color: #59332A;
  font-size: 20px;
}

/* Boite d'engagement */
.engagement-box {
  background-color: #ffffff;
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

/* Box contact */
.contact-box {
  background-color: white;
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

/* Box plan du site */
.siteplan-box {
  background-color:#ffffff;
  padding: 40px;
  border-radius: 10px;
  max-width: 800px;
  margin: 0 auto 40px;
}

.siteplan-box h3 {
  color: #260101;
  margin-top: 32px;
  margin-bottom: 16px;
}

.siteplan-box ul {
  list-style: none;
  padding-left: 0;
}

.siteplan-box li {
  margin-bottom: 12px;
  padding-left: 20px;
}

.siteplan-box a {
  color: #59332A;
  font-weight: 500;
}

.siteplan-box a:hover {
  color: #BF6D24;
}

/* page mention légale */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  margin-top: 32px;
  margin-bottom: 16px;
}

.legal-content h3 {
  margin-top: 24px;
  margin-bottom: 12px;
  color: #59332A;
}

.legal-content ul {
  margin-left: 40px;
  margin-bottom: 16px;
}

.legal-content li {
  margin-bottom: 8px;
}

/* Footer */
.footer {
  background-color: #BF6D24;
  color: #ffffff;
  padding: 48px 20px;
  margin-top: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.footer-section h3,
.footer-section h4 {
  color: #ffffff;
  margin-bottom: 16px;
}

.footer-section p {
  color: #260101;
  margin-bottom: 8px;
}

.footer-section a {
  color: #260101;
  display: block;
  margin-bottom: 8px;
}

.footer-section a:hover {
  color: #ffffff;
}



.text-center {
  text-align: center;
}

.mb-0 {
  margin-bottom: 0;
}

/* ============================================
   VERSION MOBILE
   ============================================ */

@media (max-width: 767px) {
  /* Titres plus petits sur mobile */
  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 24px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 16px;
  }

  /* Menu en colonne sur mobile */
  .navbar .container {
    flex-direction: column;
    gap: 16px;
  }

  .navbar-menu {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  /* Images carrées sur mobile */
  .image-box {
    height: 300px;
  }

  /* Boites avec moins de padding */
  .timeline-box,
  .engagement-box,
  .cta-box,
  .siteplan-box {
    padding: 24px;
  }
}

.slider-1 {
  max-width: 800px;
  margin: 20px auto;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);

}
.slider-1 .slider {
  animation: slider-1 20s infinite ease-in-out;
  display: flex;

  /* Si on veut faire glisser vers la droite */
  /* Il faut aussi changer l'animation(transform) en valeurs positives */
  /* flex-direction: row-reverse; */
}

.slider-1 h3 {
  font-size: 24px;
  margin-bottom: 12px;
  color: #111827;
}


.slider-1 .slide-content {
  flex: 0 0 100%;
  width: 100%;
  border-radius: 10px;
  background: #ffffff;
  text-align: left;
  font-family: 'Raleway', sans-serif;
  font-size: 15px;
  color: #6b7280;
}

.slider-1 .slide-content h3,
.slider-1 .slide-content p {
  padding: 0px 20px;
  margin: 10px;
}

.slider-1 img {
  width: 100%;
  height: 325px;
  object-fit: cover;
}

/*
  transition caroussel
*/

@keyframes slider-1 {
  0%,
  15% {
    transform: translateX(0);
  }
  25%,
  40% {
    transform: translateX(-100%);
  }
  50%,
  65% {
    transform: translateX(-200%);
  }
  75%,
  95% {
    transform: translateX(-300%);
  }
  100% {
    transform: translateX(-400%);
  }
}
