/* Réinitialisation simple et efficace */
html {
    box-sizing: border-box;
    font-size: 16px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
 }
 *, *:before, *:after {
    box-sizing: inherit;
 }
 body, h1, h2, h3, h4, h5, h6, p, ol, ul {
    margin: 0;
    padding: 0;
    font-weight: normal;
 }
 ol, ul {
    list-style: none;
 }
 img {
    max-width: 100%;
    height: auto;
 }

 body {
    background: #e8e4e0;
 }

.corps {
    background: #a89f94;
    width: 90%;
    height: 100%;
    margin: 0 auto;
    margin-top: 20px;
    border: 2px solid #4a4440;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.fond {
    background: #e8e4e0;
    width: 100%;
    height: 100%;
    padding-bottom: 20px;
}

footer {
    background: #8b7f75;
    width: 100%;
    padding: 20px;
    border-top: 2px solid #4a4440;
    color: #fff;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer p {
    margin: 0;
}

footer a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

footer a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.tete {
    background: #a89f94;
    width: 100%;
    height: auto;
    padding-bottom: 10px;
    border-radius: 6px 6px 0 0;
}

.image {
    display: flex;
    justify-content: center;
    width: 100%;
    padding-top: 20px;
    border-bottom: 2px solid #4a4440;
}

.image img {
    width: 95%;
    height: auto;
    border-radius: 4px;
}

.menu {
    display: flex;
    justify-content: space-between;
    width: 95%;
    margin: 10px auto;
    background: #b8aca0;
    border: 2px solid #4a4440;
    border-radius: 6px;
    align-items: center;
}

.liens {
    display: flex;
    justify-content: flex-end;
    flex-direction: row;
    gap: 25px;
    margin-right: 2%;
    border: none;
    flex: 1;
}

.liens div a {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 0.95em;
}

.liens div a:hover {
    background-color: rgba(74, 68, 64, 0.2);
    transform: translateY(-1px);
}

.liens i {
    font-size: 16px;
}

.conteneur {
    border: 2px solid #4a4440;
    border-radius: 8px;
    margin: 15px;
    background: #c4bbb0;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.conteneur:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.titre {
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin-left: 2%;
}

.titre a {
    text-decoration: none;
    color: #1a1a1a;
}

.titre a h1 {
    font-size: 2.2em;
    font-weight: 700;
    color: #3d2817;
    transition: all 0.3s ease;
}

.titre a h1:hover {
    letter-spacing: 2px;
}

.page {
    padding: 30px 20px;
    min-height: 400px;
}

.page h2 {
    color: #3d2817;
    font-size: 1.8em;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 600;
}

.page h3 {
    color: #3d2817;
    font-weight: 600;
}

/* Style the buttons that are used to open and close the accordion panel */
.accordion {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #9f9178;
  color: #1a1a1a;
  cursor: pointer;
  padding: 16px;
  width: 90%;
  margin: 10px auto;
  text-align: center;
  border: 2px solid #4a4440;
  outline: none;
  transition: all 0.3s ease;
  font-weight: 600;
  border-radius: 6px;
  font-size: 1em;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active, .accordion:hover {
  background-color: #b8aca0;
  border-color: #3d2817;
}

/* Style the accordion panel. Note: hidden by default */
.panel {
  padding: 18px;
  background-color: #b8aca0;
  display: none;
  overflow: hidden;
  width: 90%;
  max-width: 900px;
  margin: 0 auto 10px;
  border-radius: 0 0 6px 6px;
  border: 2px solid #4a4440;
  border-top: none;
  color: #1a1a1a;
}

.panel p {
    line-height: 1.6;
    color: #2a2a2a;
    font-size: 0.95em;
}

/* Slideshow container */
.slideshow-container {
    max-width: 600px;
    height:fit-content;
    position: relative;
    margin: 25px auto;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #4a4440;
}

/* Hide the images by default */
.mySlides {
    display: none;
}

/* Show the first slide by default */
.mySlides:first-child {
    display: block;
}

/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 14px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background: rgba(74, 68, 64, 0.7);
    opacity: 0.8;
    border: none;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
    background-color: rgba(61, 40, 23, 0.9);
    opacity: 1;
}

/* Caption text */
.text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 10px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 0.9;
    font-weight: 600;
}

/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
    background-color: rgba(74, 68, 64, 0.8);
    opacity: 0.9;
    border-radius: 0 0 4px 0;
}

/* The dots/bullets/indicators */
.dot {
    cursor: pointer;
    height: 14px;
    width: 14px;
    margin: 0 4px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid #4a4440;
}

.active,
.dot:hover {
    background-color: #5a5450;
}

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

.contenu {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    width: 100%;
    padding: 20px 0;
}

.texte {
    width: 400px;
    text-align: center;
    margin-top: 15px;
    color: #1a1a1a;
    line-height: 1.6;
    font-size: 0.95em;
}

.histoire {
    display: flex;
    justify-content: center;
    color: #3d2817;
    font-weight: 600;
    font-size: 1.1em;
}

@media screen and (max-width: 1024px) {
    .contenu {
        flex-direction: column;
        align-items: center;
    }

    .menu {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .liens {
        flex-direction: row;
        gap: 15px;
        margin: 0;
        justify-content: center;
    }

    .titre a h1 {
        font-size: 1.8em;
    }
}

@media screen and (max-width: 480px) {
    .texte {
        width: 90%;
    }

    .titre a h1 {
        font-size: 1.4em;
    }

    .page h2 {
        font-size: 1.3em;
    }

    .liens {
        flex-direction: column;
        gap: 8px;
    }

    .liens div a {
        font-size: 0.85em;
    }
}

.titre:hover {
    cursor: pointer;
}

/* =========================
   PAGE ABOUT
   ========================= */
.page-about {
    padding: 20px 10px;
}

.page-about .page-title {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 30px;
}

.about-container {
    max-width: 1000px;
    margin: 0 auto 40px auto;
    padding: 0 10px;
    display: flex;
    justify-content: center;
}

.about-text {
    flex: 1;
    background-color: rgba(193, 187, 176, 0.3);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #8b7f75;
}

.about-name {
    color: #3d2817;
    font-size: 1.8em;
    margin-bottom: 5px;
}

.about-subtitle {
    color: #8b7f75;
    font-size: 1.1em;
    margin-bottom: 20px;
    font-weight: 500;
}

.about-bio p {
    color: #2a2a2a;
    line-height: 1.8;
    font-size: 1em;
}

.about-infos {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #8b7f75;
}

.about-infos p {
    color: #5a5450;
    margin-bottom: 8px;
}

.about-infos span {
    color: #2a2a2a;
}

/* Responsive */
@media (max-width: 768px) {
    .page-about {
        padding: 15px 10px;
    }

    .about-text {
        padding: 15px;
    }

    .about-name {
        font-size: 1.4em;
    }

    .about-subtitle {
        font-size: 1em;
    }

    .about-bio p {
        font-size: 0.95em;
    }
}

@media (max-width: 480px) {
    .page-about .page-title {
        font-size: 1.4em;
    }

    .about-text {
        border-left-width: 3px;
    }
}

/* Utility class for accessibility */
.visually-hidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap;
}

.tete .liens a span {
    margin-left: 0.25rem;
}


