body {
  font-family: "Baskerville Old Face", Arial, "Baskerville Old Face";
  background: linear-gradient(135deg, #f3d5b0 0%, #ffffff 100%);
  margin: 0;
  background-size: cover;
  background-repeat: no-repeat;
}


header {
  background:url(../photo/background.jpg) center center / cover;
  background-repeat: no-repeat;
  color: white;
  padding: 25px 0 15px 0;
  border-bottom: 4px solid #bda07d;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-around;
}

.actu{
  text-decoration: underline;
  font-size: 1.5em;
}

.bouton-mentions {
    display: block;
    width: fit-content;
    margin: 20px auto;
    padding: 12px 24px;
    background: linear-gradient(135deg, #b39168 0%, #b37e3c 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.contact a{
  text-decoration: underline;
}

header img {
  border-radius: 8px;
  margin-right: 10px;
  vertical-align: middle;
  box-shadow: 0 2px 9px #0001;
}
header a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 600;
}
header a:hover {
  color: #9a7548;
  text-decoration: none;
}
header img {
  margin-left: 40px;
  margin-right: 40px;
  margin: 70px 70px;
  border-radius: 50%;
  border: 3px solid #9a7548;
  width: 140px;
  height: 140px;
  object-fit: cover;
  box-shadow: 0 4px 14px #0002;
}


main {
  max-width: 750px;
  background: white;
  border-radius: 20px;
  margin: 35px auto 35px auto;
  padding: 30px 40px 20px 40px;
  box-shadow: 0 8px 24px #0001;
}
main h1 {
  text-align: center;
}
section {
  border: 2px solid #bda07d;
  border-radius: 12px;
  box-shadow: 0 6px 14px #bda07d;
  padding: 20px 25px;
  margin-bottom: 30px;
  margin-top: 30px;
  text-align: center;
}

section p{
    font-size: 1.15em;
}
section img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 10px auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  object-fit: cover;
}


.footer-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 20px;
}

.carte-google iframe {
  display: block;
  max-width: 100%;
  margin-top: 30px;
  border-radius: 10%;
}

h1, h2 {
  color: black;
}
h1 {
  font-size: 2.3em;
  border-bottom: 2px solid #bda07d;
}
h2 {  
  font-size: 1.27em;
  margin-top: 1.5em;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.titre{
  font-size: 2.3em;
  margin-top: 0;
  text-transform: none;
  border-bottom: 2px solid #bda07d;
  text-align: center;
}

h3{
  color : black;
  font-size: 1.1em;
  margin-top: 1.5em;
  text-transform: uppercase;
  letter-spacing: 1px;
}
ul {
  list-style: disc inside;
  margin-left: 20px;
  padding-left: 0;
}
li {
  margin: 0.40em 0;
}


footer {
  background-color:#d5b58b;
  border-top: 4px solid #bda07d;
  color: #e3ba88;
  padding: 16px 0 15px 0;
  text-align: center;
  text-decoration: none;
}

.footer-row{
  background-color: #fff9f1 ;
  border-radius: 12px;
  box-shadow: 0 6px 14px #fce0bc;
  padding: 25px 25px;
  margin-bottom: 30px;
  text-align: center;
  border: 4px solid #bda07d;
}
footer h2 {
  color: #494547;
  margin-top: 1em;
  margin-bottom: 1em;
}

footer div a{
  color: #494547;
}

a{
  text-decoration: none;
  font-size: 20px;
  color: #494547;
}

.test{
  margin-left : 20px
}

footer div p{
  color: #494547;
  text-align : center;
  font-size: 20px;
}
.horaires{
  text-align: center;
  margin-left: 50px;
}

.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding: 20px 0;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 40px;
  bottom: 40px;
  left: 50%;
  width: 3px;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, #bda07d, #e3ba88);
}

.timeline-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 40px 0;
}

.timeline-item::after {
  content: none;
}


.timeline-year {
  background: #e3ba88;
  color: white;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.4em;
  box-shadow: 0 4px 12px rgba(189,160,125,0.4);
  border: 4px solid #bda07d;
  position: relative;
  z-index: 1;
}


.timeline-content {
  background: #fff9f1;
  padding: 18px 22px;
  border-radius: 12px;
  border: 2px solid #bda07d;
  margin-top: 18px;
  box-shadow: 0 4px 12px rgba(189,160,125,0.2);
  max-width: 420px;
  text-align: center;
}

.timeline-content p {
  margin: 0;
  font-size: 1.05em;
  color: #57534e;
}


.galerie-photos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 25px 0;
}

.photo-histoire {
  max-width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(189,160,125,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photo-histoire:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(189,160,125,0.5);
}

.legend-photos {
  font-style: italic;
  color: #8b7355;
  font-size: 0.95em;
  margin-top: 15px;
  text-align: center;
}


#intro-histoire {
  background: linear-gradient(135deg, #fff9f1 0%, #fef8f0 100%);
}

#chronologie {
  background: linear-gradient(135deg, #f8f4ec 0%, #fff 100%);
}

#galerie-histoire {
  background: linear-gradient(135deg, #fff5e6 0%, #fff9f1 100%);
}

#valeurs {
  background: linear-gradient(135deg, #fef8f0 0%, #fff 100%);
}

@media (max-width: 992px) {
  main {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    justify-content: center;
    
  }

  header {
    flex-wrap: wrap;
    justify-content: center;
  }

  header img {
    order: -1; 
  }
}

@media (max-width: 640px) {
  main {
    grid-template-columns: 1fr;
  }

 
  header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  header p {
    display: block;
    margin: 0.15rem 0;
  }

  .footer-row {
    flex-direction: column;
    align-items: stretch;
  }

  .carte-google iframe {
    width: 100%;
    height: 250px;
  }
}
