/* --- Global Styling --- */
:root {
  --primary-color: black;
  --secondary-color: white;
  --accent-color: gold;
  --text-color-light: white;
  --text-color-dark: black;
  --padding: 25px;
  --radius: 10px;
  --shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* --- Containers --- */
.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.N1, .N2, .N3, .N4 {
  flex: 1;
}

@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  .N1, .N2, .N3, .N4 {
    flex: none;
    width: 100%;
  }
}

/* --- Black Section --- */
.black-section {
  background-color: var(--primary-color);
  color: var(--text-color-light);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  padding: var(--padding);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.black-section p {
  line-height: 1.8;
  font-size: 1rem;
  text-align: justify;
  margin: 20px 0;
}

.black-section .text-container {
  flex: 1 1 50%;
  padding: 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.black-section h1 {
  font-size: 2rem;
  text-align: center;
  text-shadow: var(--shadow);
  position: relative;
  color: var(--text-color-light);
}

.black-section h1::before,
.black-section h1::after {
  content: "•";
  color: var(--accent-color);
  font-size: 1.2rem;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.black-section h1::before {
  left: -3rem;
}

.black-section h1::after {
  right: -3rem;
}

.black-section .image-container {
  flex: 1 1 40%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.black-section .image-container img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .black-section p {
    text-align: left;
  }
}

/* --- White Section --- */
.white-section {
  background-color: var(--secondary-color);
  color: var(--text-color-dark);
  padding: var(--padding);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
}

.white-section .text-container {
  flex: 1 1 50%;
  padding: 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.white-section h2 {
  font-size: 1.2rem;
  text-align: center;
  position: relative;
  margin-bottom: 20px;
  max-width: 90%; /* Ajustez selon vos besoins */
  margin: 0 auto; /* Centre le titre */
  white-space: nowrap; /* Empêche les retours à la ligne */
}

.white-section h2::before,
.white-section h2::after {
  content: "•";
  color: var(--accent-color);
  font-size: 0.5rem;
  margin: 0 2%;
  vertical-align: middle;
}

.white-section p {
  line-height: 1.5;
  font-size: 1rem;
  text-align: justify;
}

.white-section .image-container {
  flex: 1 1 40%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.white-section .image-container img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
}

@media (max-width: 768px) {
  .white-section p {
    text-align: left;
  }
}

