/* CORPS DE LA PAGE */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  background-color: #0A0A0A;
  color: #E6ECEF;
  width: 100%;
}





/* HEADER */
/* ------------------------------------------------------------------ */

.header {
  width: 100%;
  background-color: #0A0A0A;
  position: sticky;
  top: 0;
  z-index: 999;
  border-bottom: 2px solid #CCCCCC;
}

/* topbar */
.header-topbar {
  background-color: #111111;
  color: #FFFFFF;
  font-size: 12px;
  padding: 6px 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  border-bottom: 2px solid #CCCCCC;
}

.topbar-right a {
  margin-left: 15px;
  color: #FFFFFF;
  text-decoration: none;
  transition: all 0.3s ease;
}

.topbar-right a:hover {
  background-color: #FFFFFF;
  color: #000000;
  padding: 2px 6px;
  border-radius: 4px;
}

/* barre principale */
.header-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 40px;
  width: 100%;
}

/* logo */
.logo img {
  height: 50px;
  width: 50px;
  border: 2px solid #CCCCCC;
  border-radius: 8px;
}

/* navigation (menu) */
.nav {
  display: flex;
  align-items: center;
  position: relative;
}

.nav-list {
  display: flex;
  gap: 45px;
  list-style: none;
}

.nav-link {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 10px 14px;   
  line-height: 1;
  border-radius: 6px;
}

.nav-link:hover {
  background-color: #E6ECEF;
  color: #000000;
  box-shadow: 0 0 8px rgba(255,255,255,0.2);
}

.nav-toggle {
  display: none;      
  position: relative; 
  z-index: 1001;      
}






/* CONTENU */
/* ------------------------------------------------------------------ */

.container {
  max-width: 1140px;
  margin: auto;
  padding: 20px 20px 40px;
  width: 100%;
}

/* titre */
.page-title{
  text-align: center;
  font-size: 80px;
  line-height: 1.05;
  margin: 12px auto 16px;
  font-weight: 800;
  color: #E6ECEF;
}

.page-title::after{
  content: '';
  display: block;
  width: min(100%, 1140px);
  height: 2px;
  margin: 12px auto 0;
  background: #BFDFFF;
}

/* texte */
.texte {
  font-size: 20px;
  text-align: justify;
  line-height: 1.8;
  background-color: #0A0A0A;
  margin: 50px auto;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  padding: 26px;
  border-radius: 12px;
  border: 2px solid #E6ECEF;
  box-shadow: 0 8px 28px rgba(0,0,0,0.22), 0 0 18px rgba(255,255,255,0.05);
}

.texte:hover {
  box-shadow: 0 10px 36px rgba(0,0,0,0.28), 0 0 24px rgba(255,255,255,0.10);
}

/* triple photos */
.photo {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin: 60px 0;
  flex-wrap: wrap;
  width: 100%;
}

.photo img {
  width: 333px;
  height: 550px;
  object-fit: cover;
  border: 2px solid #BFDFFF;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(255,255,255,0.08);
}

/* image centrale */
.image-centrale {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 500px;
  background-color: #0A0A0A;
  border: 2px solid #BFDFFF;
  border-radius: 12px;
  overflow: hidden;
  margin: 60px auto;
  box-shadow: 0 8px 28px rgba(0,0,0,0.22), 0 0 18px rgba(255,255,255,0.05);
}

.image-centrale .media-item {
  width: 100%;
  height: 100%;
}

.image-centrale img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* colonnes deu bas */
.media-bas {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 30px;
  margin: 60px 0;
  flex-wrap: nowrap;
}

.media-bas .media-item {
  flex: 0 0 calc(50% - 15px);
  max-width: calc(50% - 15px);
  height: 600px;
  border: 2px solid #BFDFFF;
  border-radius: 12px;
  background-color: #F5F6F8;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0,0,0,0.22), 0 0 18px rgba(255,255,255,0.05);
}

.media-bas .media-item img,
.media-bas .media-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

/* effet sur les photos */
.photo img,
.image-centrale img,
.media-bas .media-item img,
.media-bas .media-item video {
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  transform-origin: center center;
  will-change: transform;
}

.photo img:hover,
.image-centrale img:hover,
.media-bas .media-item img:hover,
.media-bas .media-item video:hover {
  transform: scale(1.04);
  box-shadow: 0 10px 36px rgba(0,0,0,0.28), 0 0 24px rgba(255,255,255,0.10);
}






/* FOOTER */
/* ------------------------------------------------------- */

.footer {
  background-color: #0e0e0e;
  color: #E6ECEF;
  padding: 40px 20px 10px;
  font-size: 14px;
  border-top: 2px solid #CCCCCC;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.footer-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
  gap: 30px;
}

.footer-section h4 {
  color: #E6ECEF;
  font-size: 15px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section li {
  margin-bottom: 6px;
}

.footer-section a {
  color: #E6ECEF;
  text-decoration: none;
  transition: 0.2s ease;
}

.footer-section a:hover {
  color: #CCCCCC;
}

.footer-bottom {
  text-align: center;
  margin-top: 10px;
  font-size: 15px;
  color: #E6ECEF;
}

.footer-divider {
  width: 80%;
  max-width: 4000px;
  margin-top: 15px;
  border-top: 1px solid #CCCCCC;
  width: 100%;
}

.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #CCCCCC;
  color: #000;
  text-decoration: none;
  font-size: 20px;
  font-weight: bold;
  padding: 8px 12px;
  border-radius: 8px;
  opacity: 0.7;
  transition: all 0.3s ease;
  z-index: 999;
}

.scroll-top:hover {
  opacity: 1;
  transform: scale(1.1);
}




/* RESPONSIVE */
/* ------------------------------------------------------- */

@media (max-width: 768px) {
 
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 32px;
    height: 26px;
    cursor: pointer;
    margin-left: auto;
    position: relative;
    z-index: 10001; 
  }
  .nav-toggle span {
    height: 3px;
    background-color: #FFFFFF;
    border-radius: 2px;
    display: block;
  }

  .nav-list {
    display: none !important;
  }

  .nav-list.active {
    display: flex !important;
    flex-direction: column;
    gap: 14px;
    position: fixed;      
    top: 64px;            
    left: 0;
    right: 0;
    bottom: 0;
    padding: 16px;
    background-color: #0A0A0A;
    border-top: 1px solid #CCCCCC;
    z-index: 10000;
    overflow-y: auto;     
    -webkit-overflow-scrolling: touch; 
  }

  .nav-list .nav-link {
    padding: 14px 10px;
    display: block;
  }

  .page-title{
    font-size: 36px;
    margin: 16px auto;
  }

  .texte { 
    font-size: 14px; 
    padding: 16px; 
  }

  .photo {
    display: grid;
    grid-template-columns: 1fr; 
    gap: 16px; 
    margin: 24px 0;
  }

  .photo img {
    width: 100%;
    height: auto; 
    aspect-ratio: 3 / 4; 
    object-fit: cover; 
  }

  .image-centrale { 
    height: auto; 
    margin: 24px 0; 
  }

  .image-centrale .media-item { 
    width: 100%; 
    height: auto; 
  }

  .image-centrale img {
    width: 100%; 
    height: auto; 
    aspect-ratio: 16 / 9; 
    object-fit: cover; 
    display: block;
  }

  .media-bas {
    display: grid; 
    grid-template-columns: 1fr; 
    gap: 16px; 
    margin: 24px 0; 
    flex-wrap: unset;
  }
  .media-bas .media-item {
    flex: 1 1 100%; 
    max-width: 100%; 
    height: auto; 
  }

  .media-bas .media-item img,
  .media-bas .media-item video {
    width: 100%; 
    height: auto; 
    aspect-ratio: 16 / 9; 
    object-fit: cover; 
    display: block; 
    border-radius: 12px;
  }

  .footer-container { 
    display: grid; 
    grid-template-columns: 1fr; 
    gap: 16px; 
  }

  .scroll-top { 
    bottom: 18px; 
    right: 18px; 
    font-size: 18px; 
    padding: 8px 10px; 
  }
}