body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: #000;
  color: #fff;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

header {
  text-align: center;
  padding: 40px 20px 20px;
}

header h1 {
  font-size: 2.5rem;
  letter-spacing: 2px;
}

header hr {
  width: 200px;
  margin: 10px auto;
}

header p {
  font-size: 1rem;
  text-transform: uppercase;
}

nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin: 30px 0;
}
nav ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 30px;
}

nav a {
  color: #fff;
  text-decoration: none;
  position: relative;
  font-size: 1.1rem;
  padding-bottom: 6px;
}
nav a::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #ffffff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
nav a:hover {
  color: #045297;
}
nav a:hover::after {
  transform: scaleX(1);
}

nav a.active {
  color: #045297;
}
  
.search-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}


.search-zone input {
  width: 60%;
  padding: 15px;
  border-radius: 25px;
  border: none;
  font-size: 1rem;
}

.albums-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin: 60px 0;
}

.arrow {
  font-size: 2rem;
  cursor: pointer;
  user-select: none;
}

.albums {
  display: flex;
  gap: 40px;
}

.album {
  width: 270px;
  height: 270px;
  background-color: #222;
  display: flex;
  align-items: center;
  filter: grayscale(100%);
  transform: scale(0.9);
  transition: transform 0.35s ease, filter 0.35s ease;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 8px;
}

.album:hover {
filter: grayscale(0%);
transform: scale(1.05);
}

.album.active {
  transform: scale(1.2);
  filter: grayscale(0%);
  z-index: 2;
}

.album.active:hover {
  transform: scale(1.25);
}

.album:not(.active) {
  transform: scale(0.9);
  opacity: 0.6;
}

.biographie {
  max-width: 1080px;
  margin: 50px auto;
  padding: 20px;
  background-color: black;
  border: 2px solid #045297;
  border-radius: 8px;
  text-align: center;
}

.cover-container {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
}

.cover-image{
  width: 25%;
  border-radius: 8px;
}

#description-tableau {
  font-size: 19px;
  text-align: center;
}

#montableau {
  width: 1080px;
  align-items: center;
}

.dt-container .dt-empty-footer {
  margin: auto;
  width: 1079px;
}

.dt-search {
  float: right;
  margin-right: 35px;
}

.dt-search input {
  padding: 10px;
  border: 1px solid #fff;
  border-radius: 20px;
  background-color: transparent;
  color: #fff;
  outline: none;
}

.dt-search button {
  background-color: #fff;
  color: #000;
  border: none;
  border-radius: 20px;
  padding: 10px 20px;
  cursor: pointer;
  margin-left: 10px;
}

.dt-button button-print {
  border: 1px solid white;
}

.dt-button button-print:hover {
  color: blue;
  text-decoration: underline;
}

.conteneur-rectangle {
  margin: auto;
    max-width: 1080px;
    max-height: auto;
    background-color: black;
    display: flex;
    justify-content: center;align-items: center;
    min-height: 100px;
    margin-bottom: 100px;
    margin-top: 50px;
    color: #ffffff;
    border: 2px solid #045297;
    text-shadow: rgb(255, 255, 255) 0px 0px 16px;
}

/* Style des cartes */
.conteneur-partenaires {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 50px;
}

.card {
    --b: 5px;
    --g: 15px;
    --c: #045297;

    width: 350px;
    height: 450px;
    background: black;
    border: 2px solid #045297;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    box-sizing: border-box;
    color: white;
    text-align: center;


    outline: 250px solid #0000;
    outline-offset: -250px;
    transition: .3s;
}

.card h3 {
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    margin-bottom: 15px;
}

.card p {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.1rem;
}

.conteneurphoto {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid #045297;
    overflow: hidden;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.photopartenaires {
    width: 100%;
    height: 100%;
    object-fit: cover;
    
}

.btn-partenaire {
    display: inline-block;
    margin: auto 0 20px;
    padding: 12px 30px;
    color: #ffffff;
    border: 2px solid #045297;
    text-transform: uppercase;
    text-decoration: none;
    font: bold 1.1rem Arial, Helvetica, sans-serif;
    transition: 0.3s;
}

.btn-partenaire:hover {
    background-color: #045297;
    color: #000;
    transition: 0.3s;
}

.card-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card h3 {
    color: #045297;
    font-family: Arial, Helvetica, sans-serif;
    margin: 0 0 10px 0;
}

.PrenomNomdupartenaire {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    margin: 0;
}

.conteneur-rectangle2 {
    max-width: 1080px;
    display: flex;
    justify-content: center; 
    gap: 20px;
    margin: 50px auto 100px;
    position: relative;
}

.rectangle2, .rectangle3 {
    flex: 1;
    max-width: 500px;
    min-height: 300px;
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    border: 2px solid #045297;
    position: relative; 
    overflow: hidden; 
    transition: 0.4s;
}

.rectangle2 p, .rectangle3 p{
    display: none;
}

.rectangle2:hover p, .rectangle3:hover p {
    display: block;
    font-size: 1.1rem;;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    
}

.rectangle2:hover h2, .rectangle3:hover h2 {
    display: none;
}

.rectangle2 h2, .rectangle3 h2{
    font-size: 2rem;
    color: #ffffff;
    position: relative;
    display: inline-block;
    font-family: Arial, Helvetica, sans-serif;

}

.rectangle2::after, .rectangle2::before, .rectangle3::after, .rectangle3::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 20px;
    background: linear-gradient(to right, #045297, #000000);
    bottom: -5px;
    left: 0;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease-out;
}

.rectangle2::before, .rectangle3::before {
    top: -5px;
    transform-origin: left;
}

.rectangle2:hover::after, .rectangle2:hover::before, .rectangle3:hover::after, .rectangle3:hover::before {
    transform: scaleX(1);
}

.conteneur-btn-plan-de-projet {
    max-width: 1080px;
    display: flex;
    justify-content: center; 
    gap: 20px;
    margin: 50px auto 100px;
    position: relative;
}

.btn-plan-de-projet {
    display: inline-block;
    margin: auto 0 20px;
    padding: 12px 30px;
    color: #ffffff;
    border: 2px solid #045297;
    text-transform: uppercase;
    text-decoration: none;
    font: bold 1.1rem Arial, Helvetica, sans-serif;
    transition: 0.3s;
}

.btn-plan-de-projet:hover {
    background-color: #045297;
    color: #000;
    transition: 0.3s;
}

.conteneur-btn-charte-de-projet {
    max-width: 1080px;
    display: flex;
    justify-content: center; 
    gap: 20px;
    margin: 50px auto 100px;
    position: relative;
}

.btn-charte-de-projet {
    display: inline-block;
    margin: auto 0 20px;
    padding: 12px 30px;
    color: #ffffff;
    border: 2px solid #045297;
    text-transform: uppercase;
    text-decoration: none;
    font: bold 1.1rem Arial, Helvetica, sans-serif;
    transition: 0.3s;
}

.btn-charte-de-projet:hover {
    background-color: #045297;
    color: #000;
    transition: 0.3s;
}

.conteneur-btn-gantt {
    max-width: 1080px;
    display: flex;
    justify-content: center; 
    gap: 20px;
    margin: 50px auto 100px;
    position: relative;
}

.btn-gantt {
    display: inline-block;
    margin: auto 0 20px;
    padding: 12px 30px;
    color: #ffffff;
    border: 2px solid #045297;
    text-transform: uppercase;
    text-decoration: none;
    font: bold 1.1rem Arial, Helvetica, sans-serif;
    transition: 0.3s;
}

.btn-gantt:hover {
    background-color: #045297;
    color: #000;
    transition: 0.3s;
}

.contact-form-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 60px 0;
}

.contact-form {
  width: 600px;
  height: 450px;
  background-color: white;
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #000;
}

.upload-form {
  justify-content: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-left: 679px;
  width: 1080px;
}

.submit-button-upload {
  width: 200px;
  background-color: #000;
  color: #fff;
  border: none;
  border-radius: 20px;
  border: 0.5px solid white;
  padding: 10px 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-button-upload:hover {
  background-color: rgb(0, 0, 133);
}

.text-contact-main {
  text-align: center;
  margin: 40px 0;
}

#message {
  width: 100%;
  max-width:600px;
  height: 120px;
}


.submit-button {
  background-color: #000;
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 10px 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-button:hover {
  background-color: rgb(0, 0, 133);
}

.credits-texte {
  width: 1080px;
  margin: 0 auto;
  text-align: center;
}

.carousel-container {
  perspective: 1200px;
  width: 1079px;
  height: 500px;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: grab;
}

.carousel {
  position: relative;
  width: 320px;
  height: 240px;
  transform-style: preserve-3d;
}

.carousel-container:active {
  cursor: grabbing;
}

.carousel-item {
  position: absolute;
  width: 220px;
  height: 220px;
  background-size: cover;
  background-position: center;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.45);
  transition: transform 0.4s ease, filter 0.4s ease;
  transform-style: preserve-3d;
}

.carousel-item {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 15px;
  transform-style: preserve-3d;
}

.carousel-inner {
  width: 100%;
  height: 100%;
  border-radius: 15px;
  background-size: cover;
  background-position: center;
  filter: grayscale(100%);
  transition: transform 0.35s ease, filter 0.35s ease, box-shadow 0.35s ease;
}

/* couleur + zoom au survol */
.carousel-item:hover .carousel-inner {
  filter: grayscale(0%);
  transform: scale(1.08);
  box-shadow: 0 0 25px rgba(4,82,151,0.7);
}

/* Album central */
.carousel-item.active .carousel-inner {
  filter: grayscale(0%);
  transform: scale(1.15);
  box-shadow: 0 0 35px rgba(4,82,151,0.8);
}

footer {
  text-align: center;
  margin: 80px 0 40px;
}

.FooterN1 {
  width: 25%;
}

.valideW3S, .valideCSS {
  color: #2b85d3af;
  margin: 0 4px;
}