body {
    font-family: "Libre Franklin", Arial, sans-serif;
}

p,
a,
li,
button,
input,
textarea,
select,
label {
    font-family: "Libre Franklin", Arial, sans-serif;
}

.lien_footer {
    color: white;
}

h1,
h2,
h3,
h4 {
    font-family: "Libre Franklin", Arial, sans-serif;
}

/* Police d'accent */
.display_font,
.nav_title,
.hero_title,
.home_section_title,
.card_title {
    font-family: "Anton", sans-serif;
    font-weight: 400;
}

header h1,
.nav_title {
    font-family: "Anton", sans-serif;
    font-weight: 400;
}

header a,
.nav_list a {
    font-family: "Libre Franklin", Arial, sans-serif;
}

.max_w{
    max-width: 100vw;
}

.flex_row{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.flex_between{
    display: flex;
    flex-direction: row;
    /* align-items: center; */
    justify-content: space-between;
}

.flex_col{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.flex_col_around{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}

.flex_wrap{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
}

.bg_main{
    background-color: #E8E4D9;
}
@media screen and (max-width: 768px) {
    .flex_row {
        flex-direction: column;
        gap: 12px;
    }

    header ul.flex_col {
        gap: 12px;
    }

    header li a {
    white-space: nowrap; 
}
}

.bg_green{
    background-color: #71A955;
}

.underline{
    border-bottom: solid;
    border-bottom: black;
    border-width: 5px;
}

.gap{
    gap: 30px;
}

.banner{
    max-width: 90vw;
    margin-left: 10%;
    margin-right: 10%;
    width: 990px;
    height: 671px;
}

.img_banner{
    background-image: url("/assets/pictures/page presentation.jpg");
    background-size: cover;
}

ul{
    list-style: none;
    margin: 0 100px
}

li{
    font-size: x-large;
    font-weight: bold;
}

p{
    font-family: 'Inter', sans-serif;
}

a{
    text-decoration: none;
}

h1 >a {
    color: #17341A;
}

li> a {
    color: #17341A;
}

h1 > a:hover{
    text-decoration: underline;
}

li > a:hover {
    text-decoration: underline;
}

a:hover{
    cursor: pointer;
}

.border_right{
    padding-right: 15px;
    border-right:solid black;
    border-width: 3px;
}

.border_bottom{
    padding-bottom: 15px;
    border-bottom:solid black;
    border-width: 1px;
}

footer{
    width: 100vw;
    background-color: #17341A;
}

.txt_footer{
    font-size: large;
    font-weight: bold;
}

ul > div{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.hidden{
    visibility: hidden;
}

.section_bilan{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    width: 85vw;
    background-color: #71A955;
    border-radius: 8px;
    box-shadow: 0px 5px 5px -5px #000000;
    height: 350px;
}

.section_bilan > div{
    width: 70%;
    max-height: 350px;
}

.section_bilan > img {
    width: 30%;
    max-height: 350px;
}

footer > section > article > p {
    color: white;
}

.circle {
  width: 150px;
  height: 150px;
  background-color: #71A955; 
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.price-tag {
  color: #ffffff;
  font-family: Arial, sans-serif;
  font-weight: bold;
  font-size: 1.2rem;
  background-color: rgba(0, 0, 0, 0.2); 
  padding: 6px 12px;
  border-radius: 4px;
}

@media screen and (min-width : 1024px) {
    ul > div{
    flex-direction: row;
    gap: 30px;
    }
    ul > div > li {
    padding-right: 15px;
    /* border-right:solid black; */
    /* border-width: 3px; */
    }
}

.img_banner {
  position: relative;
  overflow: hidden; 
}

.overlay_menu {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  max-height: 100%; 
  overflow-y: auto;  
  z-index: 10;
  box-sizing: border-box; 
  background-color: rgba(0, 0, 0, 0.85);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.4s ease-in-out, opacity 0.3s ease-in-out;
}

.img_banner:hover .overlay_menu {
  transform: translateY(0);
  opacity: 1;
}


.overlay_menu a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.overlay_menu a:hover {
  color: #F68424;
}

.nav_title {
  margin: 5px 0;
}

.nav_title a {
  font-family: 'Anton', sans-serif;
  color: #F68424;
  font-size: 1.8rem;
}

.logo_img {
  height: 80px;
  width: auto;
}

.nav_list {
  display: flex;
  flex-direction: row; 
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 10px 0 0 0;
}

.footer_bottom {
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.4); /* Ligne blanche fine */
    padding: 12px 0;
    text-align: center;
}

.txt_credits {
    margin: 0;
    font-size: 0.85rem;
    color: #ffffff; /* Ou ajustez la couleur selon votre fond */
    text-align: center;
}

/* 5. Breakpoint Mobile (écran <= 768px) */
@media screen and (max-width: 768px) {
  .logo_img {
    height: 50px; 
  }

  .nav_title a {
    font-size: 1.3rem;
  }

  .nav_list {
    flex-direction: column; /* Passage des liens en colonne */
    align-items: center;
    gap: 10px; /* Espace réduit entre les liens */
  }
}

@media screen and (max-width: 768px) {
    footer section.flex_row {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 25px !important;
    }

    footer article {
        width: 100% !important;
    }

    footer article[style*="width: 30%"] {
        width: 100% !important;
        justify-content: center !important;
    }

    footer img[style*="width: 40%"] {
        width: 120px !important;
        padding-right: 0 !important;
    }

    footer img[style*="width: 25%"] {
        width: 85px !important;
    }

    .txt_footer {
        text-align: center;
        word-break: break-word;
    }
}