/* ========================
   GLOBAL
======================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ========================
   PAGE D'ACCUEIL (index.html)
======================== */
body {
  font-family: 'Helvetica Neue', sans-serif;
  margin: 0;
  padding: 0;
}

.page-accueil {
  background-image: url(IMG/B1_lacambre/IMG_8207b.JPG);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: scroll;
  min-height: 100vh;
}

.page-projets2021-2024 {
  background-color: #ffffff; /* ← blanc */
  min-height: 100vh;
  font-family: 'Helvetica Neue', sans-serif; 
}

.page-contacts {
  background-color: #ffffff; /* ← blanc */
  min-height: 100vh;
  font-family: 'Helvetica Neue', sans-serif;
  text-align: center;
}

/* Centered text */
.centered {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* ========================
   NAVIGATION
======================== */
header {
  background-color: rgba(255, 255, 255, 0);
}

nav {
  background-color: rgba(255, 255, 255, 0);
}

.scrollmenu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 7rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

/* Logo */
.logo {
  color: #000000;
  font-family: 'Helvetica Neue', sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.50rem;
  text-transform: uppercase;
  text-decoration: none;
}

/* Liens principaux nav */
.nav-links {
  display: flex;
  align-items: center;
  gap: 5rem;
}

.nav-links > .dropdown > a,
.nav-links > .dropdown > a:hover,
.nav-links > .dropdown > a:visited,
.nav-links > .dropdown > a:active,
.nav-links > .dropdown > a:focus {
  text-decoration: none;
  color: #000000;
}

/* ========================
   DROPDOWN
======================== */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;        /* ← collé au bouton, pas d'espace */
  left: 0;
  background-color: rgba(255, 255, 255, 0.85); /* ← légèrement transparent */
  min-width: 150px;
  z-index: 200;
  padding: 0.8rem 0;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu a,
.dropdown-menu a:hover,
.dropdown-menu a:visited,
.dropdown-menu a:active,
.dropdown-menu a:focus {
  display: block;
  padding: 0.5rem 1.2rem;
  color: #000000;           /* ← corrigé : était blanc sur blanc ! */
  text-decoration: none;
  white-space: nowrap;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  border-bottom: none;
  transition: background-color 0.2s ease;
}

.dropdown-menu a:hover {
  background-color: rgba(0, 0, 0, 0.08); /* ← légère teinte au survol */
}

/* ========================
   GRILLE PROJETS
   (pour projets/2021-2024.html)
======================== */
.grille-projets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 3rem 5rem;
}

.projet-item {
  text-decoration: none;
  color: #000000;
  display: block;
}

.projet-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease;
}

.projet-item:hover img {
  opacity: 0.7;
}

.projet-item p {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  display: flex; justify-content: center;
}

.projet-detail {
  padding: 3rem 5rem;
}

.projet-detail h1 {
  font-size: 1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.projet-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* ← 2 colonnes */
  gap: 1.5rem;
  margin-bottom: 0.5rem;
}

.projet-images img {
  width: 50%;
  height: auto;
  display: block;
}

.projet-description {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 700px;
}

.retour {
  text-decoration: none;
  color: #000000;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  border-bottom: 1px solid #000000;
  padding-bottom: 2px;
  transition: opacity 0.2s ease;
}

.retour:hover {
  opacity: 0.5;
}

grille projet images
.grille-projets-images
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial;
}

.header {
  text-align: center;
  padding: 32px;
}

.row {
  display: -ms-flexbox; /* IE10 */
  display: flex;
  -ms-flex-wrap: wrap; /* IE10 */
  flex-wrap: wrap;
  padding: 0 4px;
}

/* Create four equal columns that sits next to each other */
.column {
  -ms-flex: 25%; /* IE10 */
  flex: 25%;
  max-width: 25%;
  padding: 0 4px;
}

.column img {
  margin-top: 8px;
  vertical-align: middle;
  width: 100%;
}

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 800px) {
  .column {
    -ms-flex: 50%;
    flex: 50%;
    max-width: 50%;
  }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .column {
    -ms-flex: 100%;
    flex: 100%;
    max-width: 100%;
  }
}

/* ========================
   RESPONSIVE
======================== */
@media (max-width: 1024px) {
  .scrollmenu {
    padding: 1rem 3rem;
  }
  .nav-links {
    gap: 2rem;
  }
  .grille-projets {
    grid-template-columns: repeat(2, 1fr);
    padding: 2rem 3rem;
  }
}

@media (max-width: 600px) {
  .scrollmenu {
    padding: 1rem 1.5rem;
  }
  .nav-links {
    gap: 1rem;
  }
  .grille-projets {
    grid-template-columns: 1fr;
    padding: 1rem 1.5rem;
  }
}