/* Structure globale pour footer collé */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

.page-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.content-wrap {
  flex: 1; /* Pousse le footer vers le bas */
}

/* Navbar */
.navbar {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.navbar .nav-link {
  color: black;
  font-weight: bold;
}
.navbar-logo {
  height: 100%;
  max-height: 3rem;
  object-fit: contain;
}

/* Liens "En savoir plus" */
.savoir_plus {
  text-decoration: underline;
  color: rgb(0, 0, 0);
}

/* Container & cartes */
.container-fluid {
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
.card-custom {
  margin-bottom: 2rem;
}
.card-custom img {
  width: 100%;
  height: auto;
}


.footer-custom {
  background-color: #acacac;
  color: black;
  text-align: center;
  width: 100%;
  box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.2);
}
.footer-custom .footer-link {
  color:black;
  text-decoration: underline;
}
.footer-custom .footer-link:hover {
  color: #d1e7ff;
}


form {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 1rem 2rem;
}

form input,
form textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid black;
  background: white;
  color: black;
  padding: 0.5rem 0;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  outline-offset: 2px;
  outline-color: black;
  transition: border-color 0.3s ease;
  
}

form input:focus,
form textarea:focus {
  border-bottom-color: black;
  outline: none;
}

form label {
  display: block;
  color: black;
  margin-bottom: 0.3rem;
  font-weight: 600;
}

form button {
  margin-top: 30px;
  display: flex;
  justify-self: center;
  background: black;
  color: white;
  border: none;
  padding: 0.7rem 1.5rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
  display: flex;
  justify-content: center;

}


form button:hover {
  background: #222;
}
 h3{
    text-align: center;
}


#popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    right: 30%;
    width: 30vw;
    height: 560 px;
    background: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 0 15px #000;
    z-index: 1000;
    padding: 20px;
    overflow-y: auto;


}
#popupClose {
    float: right;
    cursor: pointer;
    font-weight: bold;
    font-size: 20px;
    color:  black;
  }




/* Responsive */
@media (max-width: 768px) {
  .card-custom {
    margin-bottom: 3rem;
  }
  .navbar-logo {
    max-height: 4rem;
  }
  #popup{
    width: 95%;
    height: 80%;
  }
}
