
/* Ici la base */
/*__________________________________________________*/
html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  background-color: rgb(226, 217, 217);
}


.contenu-principal{
  flex: 1 0 auto;
}

.contenu-principale p{
  padding: 5vw 10vw;
  text-align: justify;

}
.alinea{
  text-indent: 2em;
}
/*__________________________________________________*/







/* Ici pour ma bar de navigation */
/*__________________________________________________*/
.sticky-header {
  position: sticky;
  top: 1vh;
  margin-top: 0;
  margin-bottom: 1vh; 
  z-index: 999;
  background-color: rgba(225, 220, 220, 0.9); 
  border-radius: 15px; 
  max-width: 90%;
  margin: 1vh auto; 
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  padding: 1vh 3vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  width: 100%;
}

.logo {
  height: 15vh;
  border-radius: 10px; 
  padding: 5px;
}

.contact {
  display: flex;
  align-items: center;
  font-weight: 600;
  color: black;
  gap: 8px;
}

.contact span
{
  font-size: 20px;
}

.call-icon {
  height: 20px;
}

.main-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}


.main-nav > ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 25px;
  font-family: 'Georgia', serif;
  font-weight: 600;
  color: #ffffff;
}

.main-nav li a {
  color: black;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 10px;
  transition: background-color 0.3s ease, color 0.3s ease;
}



.main-nav li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 5px; 
  width: 0;
  height: 3px;
  transition: width 0.4s ease;
}

.main-nav > ul > li > a {
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.5px;
}


.has-sous-nav
{
  position: relative;
  display: block;
  padding: 10px 15px;
  color: black;
  white-space: nowrap;
}
.has-sous-nav > a {
  position: relative;
  display: inline-block;
  color: black;
  padding: 10px 15px;
  transition: color 0.3s ease;
}

.has-sous-nav > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 5px;
  width: 0;
  height: 3px;
  background-color: black;
  transition: width 0.4s ease;
}

.has-sous-nav:hover > a::after {
  width: 100%;
}

.sous-nav{
  display: none;
  position: absolute;
  top: 85%;
  left: 0;
  background-color: white;
  border: 1px solid #ddd;
  list-style: none;
  padding: 0;
  margin: 0;
  min-width: 150px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  z-index: 999;
  font-size: 16px;
  
}

.sous-nav li a {
  padding: 10px 15px;
  color: black;
  text-decoration: none;
  font-size: 18px;
  display: block;
  transition: background-color 0.3s ease;
}

.sous-nav li a:hover {
  font-weight: bold;
  background-color: rgb(224, 224, 224);
  color: white;
}

.has-sous-nav:hover .sous-nav{
  display: block;
}

.menu-mobile,
#croix-menu {
  display: none;
}

/*__________________________________________________*/




/* Ici pour mon contenue du début */
/*__________________________________________________*/
.contenu-histoire1{
    flex: 1 0 auto;
}

.contenu-histoire1 p
{
  padding: 3vw 10vw;
  text-align: justify;
  font-size: 1.3vw;
  text-indent: 2em;
}
/*__________________________________________________*/






/* Ici pour mes slides */
/*__________________________________________________*/
.carousel  {
    max-width:80%; 
    margin: 0 auto;     
    height: 100vh;
    position: relative;
    overflow: hidden;
    border-radius: 8px; 
}

.carousel-hover-zone {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  z-index: 5;
}
.carousel-hover-left {
  left: 0;
}
.carousel-hover-right {
  right: 0;
}

.btn {
  z-index: 10;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.4rem;
  border: none;
  background-color: rgba(0, 0, 0, 0);
  color: white;
  padding: 12px 16px;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, background-color 0.3s ease;
}

#prev {
    left: 10px;
    width: 25%;
    text-align: left;
}
#next {
    right: 10px;
    width: 25%;
    text-align: right;
}
.carousel:hover .btn {
  opacity: 1;
  pointer-events: auto;
}

.btn:hover {
  background-color: rgba(0, 0, 0, 0);
}

.carousel ul {
    list-style: none;
    padding: 0;
    margin: 0;
    height: 100%;
    width: 100%;
}

.carousel li{
    list-style: none;
}

.carousel button{
    position: absolute;
    background : none;
    border : none;
    outline: none;
    font-size: 2.6rem;
    z-index: 2;
    cursor: pointer;
    color: black;
    transform: translateY(-50%);
    top: 50%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.slide.active{
    opacity: 1;

}
.slide img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}
/*__________________________________________________*/





/* Ici pour mon contenue dans les boxs */
/*__________________________________________________*/

.contenu-box{
  margin: 5vh auto;
}

.contenu-box > ul {
  display: flex;
  list-style: none;
  padding: 3vw 10vw;
  margin: 0;
  gap: 4vw;
}

.contenu-box li:first-child {
  flex: 1; 
}

.contenu-box li:last-child {
  flex: 0.65; 
}

.contenu-box li {
  border: 1px solid black;
  padding: 2vw;
  background-color: white; 
}


.contenu-box h2{
  text-align: center;
}

.contenu-box img{
  width: 25px;
  height: 25px;
  margin-right: 8px;
}
.contenu-box a{
  list-style: none;
  text-decoration: none;
  color: black;
}
/*__________________________________________________*/








/* Ici pour le footer */
/*__________________________________________________*/
footer{
  flex-shrink: 0;
  border-top: 1px dashed black;
  width: 100%;
  padding: 5vh 0;
  background: #0f0f9e;
  color : white;
}

.contenu-footer {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 5vw;
  margin: 0 auto;
  max-width: 1200px;
  padding: 5vh 3vw;
}


.bloc {
  width: 25%;
  min-width: 200px;
  margin: 0;
  min-height: 50vh; 
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: center;
}

.bloc h3 {
  margin-bottom: 20px;
}

.bloc ul {
  margin-top: 0;
  padding-left: 0;
  margin-bottom: 20px; 
}


.bloc p, .bloc li {
  margin: 8px 0;
}

.bloc + .bloc {
  margin-left: 60px;
}


.footer h3
{
  font-size: 25px;
  padding-bottom:20px;
}

.liste-entreprise,
.liste-horaire,
.liste-contact{
  list-style-type : none;
  padding-left: 0;
  margin-top: 15px;
}

.liste-entreprise li,
.liste-contact,
.liste-horaire
{
  padding: 0;
  justify-content: flex-start;
  text-align: center;
}

.liste-entreprise a{
  text-decoration: none;
  color: white;
}

.liste-entreprise a:hover{
  color: rgb(0, 255, 0);
}


.liste-contact a{
  text-decoration: none;
  color: white;
}

.liste-contact a:hover
{
  color: rgb(0, 255, 0);
}

.liste-horaire{
  padding: 0;
}
.liste-horaire pre{
  font-size: 15px;
}

.footer-separator {
  width: 100%;
  height: 1px;
  background-color: #ccc;
  margin: 30px auto;
}

.footer-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding-bottom: 40px;
  flex-wrap: wrap;
}

.footer-social a {
  text-decoration: none;
  color: white;
  font-size: 20px;
  display: flex;
  align-items: center;
  transition: color 0.3s ease;
}

.footer-social a img {
  width: 75px;
  height: 75px;
  margin-right: 8px;
}

.footer-social a:hover {
  color: rgb(0, 255, 0);
}
/*__________________________________________________*/




/* Ici pour les mediaquerys */
/*__________________________________________________*/
@media screen and (max-width : 1080px){

/* Ici pour le header */
/*__________________________________________________*/

.header-container{
  padding : 0;
}

.contact,
.main-nav {
  display: none;
}

.sous-nav ul{
  display: none;
}

.menu-mobile {
  display: flex;
}

.menu-mobile img {
  width: 50px;
  position: absolute;
  top: 30px;
  right: 20px;
  display: block;
}

.main-nav {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  top: 0;
  position: fixed;
  background-color: rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.main-nav.active{
  opacity: 1;
  pointer-events: auto;
}

#croix-menu {
  display: none; 
  position: fixed; 
  top: 2vh;
  right: 2vw;
  width: 6vw; 
  max-width: 50px;
  z-index: 1001;
  cursor: pointer;
}

.main-nav.active #croix-menu {
  display: block; 
}

.main-nav ul{
  flex-direction: column;
  align-items: center;
  gap: 3vh;
}

 .main-nav ul li a {
  font-size: 5vw;
  font-size: 30px;
}
  
.sous-nav {
    display: none !important; 
}

.has-sous-nav ul{
  display: none;
}

/*__________________________________________________*/






/* Ici le contenue pour le texte du tout début */
/*__________________________________________________*/
.contenu-histoire1{
    flex: 1 0 auto;
}

.contenu-histoire1 p
{
  padding: 1vw 5vw;
  text-align: justify;
  font-size: 15px;
  text-indent: 2em;
  margin-bottom: 50px;
}

.alinea{
  text-indent: 2em;
}
/*__________________________________________________*/





/* Ici pour mes slides */
/*__________________________________________________*/
.carousel  {
    max-width:95%; 
    margin: 0 auto;     
    height: 50vh;
    position: relative;
    overflow: hidden;
    border-radius: 8px; 
}
/*__________________________________________________*/






/* Ici pour le contenue dans mes boxs */
/*__________________________________________________*/
.contenu-box{
  margin: 80px auto;
}


.contenu-box > ul {
  display: grid;
  list-style: none;
  padding: 1vw 5vw;
  margin: 0;
  gap: 50px;
}


.contenu-box li {
  border: 1px solid black;
  padding: 20px;
  background-color: white; 
}


.contenu-box h2{
  text-align: center;
}

.contenu-box img{
  width: 10%;
  height: 10%;
  margin-right: 8px;
}
.contenu-box a{
  list-style: none;
  text-decoration: none;
  color: black;
}

/*__________________________________________________*/




/* Ici pour le footer */
/*__________________________________________________*/
footer{
  flex-shrink: 0;
  border-top: 1px dashed black;
  width: 100%;
  background: #0f0f9e;
  color : white;
}

.contenu-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 50px 20px;
  max-width: 1200px;
  margin: auto;
}



.bloc {
  flex: 0;
  margin: 0;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  text-align: center;
}


.bloc h3 {
  margin-bottom: 20px;

}

.bloc ul {
  margin-top: 0;
  padding-left: 0;
  margin-bottom: 20px; 
}


.bloc p, .bloc li {
  margin: 8px 0;
}

.bloc + .bloc {
  margin-left: 0px;
}


.footer h3
{
  font-size: 0px;
  padding-bottom:0px;
}

.liste-entreprise,
.liste-horaire,
.liste-contact{
  list-style-type : none;
  padding-left: 0;
  margin-top: 15px;
}

 .liste-entreprise li,
  .liste-contact li,
  .liste-horaire li {
    text-align: center;
  }

.liste-entreprise a{
  text-decoration: none;
  color: white;
}

.liste-entreprise a:hover{
  color: rgb(0, 255, 0);
}


.liste-contact a{
  text-decoration: none;
  color: white;
}

.liste-contact a:hover
{
  color: rgb(0, 255, 0);
}

.liste-horaire{
  padding: 0;
}
.liste-horaire pre{
  font-size: 15px;
}

.footer-separator {
  width: 100%;
  height: 1px;
  background-color: #ccc;
  margin: 30px auto;
}

 .footer-social {
    gap: 20px;
    padding-bottom: 20px;
  }
.footer-social a {
  text-decoration: none;
  color: white;
  font-size: 20px;
  display: flex;
  align-items: center;
  transition: color 0.3s ease;
}

.footer-social a img {
    width: 50px;
    height: 50px;
  }

.footer-social a:hover {
  color: rgb(0, 255, 0);
}
/*__________________________________________________*/




}
/*__________________________________________________*/