/* ===== BASE ===== */
* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  line-height: 1.5;
  color: #fff;
  text-align: center;
}

/* ===== SECTION 1 : HERO ===== */
.section1-container {
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  display: flex;
  position: relative;
}

.section1-background-image {
  background-color: rgba(32, 42, 86, 0.6);
  background-image: url('bpa_images/background.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  position: absolute;
  inset: 0;
}

.section1-content {
  color: #fff;
  z-index: 1;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 25px;
  display: flex;
}

.section1-button {
  color: #fff;
  border: 1px solid #fff;
  justify-content: center;
  align-items: center;
  padding: 5px 10px;
  text-decoration: none;
  display: flex;
  font-size: 1rem;
}

.section1-button:hover {
  color: #000;
  background-color: #fff;
}

/* ===== SECTION 2 : SERVICES ===== */
.section2-container {
  background-color: #fff;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 25px;
  display: flex;
}

.section2-content {
  max-width: 1140px;
  width: 100%;
}

.section2-title {
  text-align: center;
  color: #2a2c73;
  margin-top: 80px;
  font-size: 48px;
}

.section2-description {
  text-align: center;
  color: #888;
  margin-top: 60px;
  margin-bottom: 60px;
  padding: 0;
  font-size: 24px;
  font-style: italic;
}

.section2-items {
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
  display: flex;
}

.section2-item {
  flex-direction: column;
  align-items: center;
  margin: 40px;
  display: flex;
}

.section2-item-name {
  color: #e52236;
  margin-top: 40px;
  margin-bottom: 20px;
  font-size: 30px;
}

.section2-item-feature {
  color: #888;
  text-align: center;
  font-size: 18px;
}

/* ===== SECTION 3 : FINANCEMENT INSTITUTIONNEL ===== */
.section3-container {
  background-color: #ececec;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 25px;
  display: flex;
}

.section3-content {
  max-width: 1140px;
  width: 100%;
}

.section3-title {
  text-align: center;
  color: #2a2c73;
  margin-top: 80px;
  font-size: 48px;
}

.section3-description {
  text-align: center;
  color: #888;
  margin-top: 60px;
  margin-bottom: 60px;
  padding: 0;
  font-size: 24px;
  font-style: italic;
}

.section3-items {
  flex-wrap: wrap;
  justify-content: space-around;
  margin-bottom: 50px;
  display: flex;
}

.section3-item-1 {
  width: 338px; height: 400px;
  margin: 0 15px;
  display: flex;
  position: relative;
}

.section3-item-2 {
  width: 338px; height: 400px;
  margin: 0 15px;
  display: flex;
  position: relative;
  top: -35px;
}

.section3-item-3 {
  width: 338px; height: 400px;
  margin: 0 15px;
  display: flex;
  position: relative;
}

.section3-item-4,
.section3-item-5 {
  width: 338px; height: 188px;
  margin: 0 15px;
  display: flex;
  position: relative;
}

/* ===== SECTION 4 : FINRÊKA ===== */
.section4-container {
  background-color: #7f4896;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 25px;
  display: flex;
}

.section4-content {
  max-width: 1140px;
  width: 100%;
}

.section4-title {
  text-align: center;
  color: #fff;
  margin-top: 80px;
  font-size: 48px;
}

.section4-description {
  text-align: center;
  color: #fff;
  margin-top: 60px;
  margin-bottom: 80px;
  padding: 0;
  font-size: 24px;
  font-style: italic;
}

.section4-items {
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 80px;
  display: flex;
}

.section4-item {
  flex-direction: column;
  align-items: center;
  max-width: 330px;
  margin: 20px;
  display: flex;
}

.section4-item-name {
  color: #fff;
  margin-top: 40px;
  margin-bottom: 20px;
  font-size: 24px;
}

.section4-item-description {
  color: #cebfde;
  text-align: center;
  font-size: 18px;
}

.section4-button {
  color: #fff;
  border: 1px solid #fff;
  justify-content: center;
  align-items: center;
  padding: 5px 10px;
  font-size: 1.25rem;
  text-decoration: none;
  display: flex;
}

.section4-button:hover {
  color: #000;
  background-color: #fff;
}

/* ===== SECTION 5 : GROUPE D.L DEVELOPPEMENT ===== */
.section5-container {
  background-color: #fff;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 25px;
  display: flex;
}

.section5-content {
  max-width: 1300px;
  width: 100%;
}

.section5-title {
  text-align: center;
  color: #2a2c73;
  margin-top: 80px;
  margin-bottom: 40px;
  font-size: 48px;
}

.section5-items {
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-bottom: 80px;
  display: flex;
  gap: 60px;
}

.section5-description {
  text-align: justify;
  text-justify: inter-word;
  color: #888;
  font-size: 20px;
  max-width: 700px;
  margin-top: 0;
}

/* ===== SECTION 6 : ILS FONT CONFIANCE ===== */
.section6-container {
  background-color: #fff;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 25px;
  display: flex;
}

.section6-content {
  max-width: 1140px;
  width: 100%;
}

.section6-title {
  text-align: center;
  color: #444;
  margin-top: 80px;
  margin-bottom: 40px;
  font-size: 24px;
  font-style: italic;
}

.section6-items {
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 80px;
  display: flex;
}

.section6-item {
  flex-direction: column;
  align-items: center;
  margin: 30px;
  display: flex;
}

.section6-item img {
  opacity: 0.7;
  transition: all 0.3s;
}

.section6-item img:hover {
  opacity: 1;
}

/* ===== SECTION 7 : SOUTIENS ===== */
.section7-container {
  background-color: #ececec;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 25px;
  display: flex;
}

.section7-content {
  max-width: 1140px;
  width: 100%;
}

.section7-title {
  text-align: center;
  color: #444;
  margin-top: 40px;
  margin-bottom: 20px;
  font-size: 24px;
  font-style: italic;
}

.section7-items {
  flex-wrap: wrap;
  justify-content: center;
  display: flex;
  margin-bottom: 40px;
}

.section7-item {
  flex-direction: column;
  align-items: center;
  margin: 30px;
  display: flex;
}

/* ===== FOOTER ===== */
.footer-container {
  background-image: url('bpa_images/background.jpg');
  background-position: center;
  background-size: cover;
  background-color: rgba(32, 42, 86, 0.85);
  justify-content: center;
  align-items: center;
  padding: 25px;
  display: flex;
  position: relative;
}

.footer-container::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(32, 42, 86, 0.75);
}

.footer-items {
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  width: 80%;
  margin-bottom: 20px;
  display: flex;
  position: relative;
  z-index: 1;
}

.footer-item {
  flex-direction: column;
  align-items: center;
  margin: 30px;
  display: flex;
  color: #fff;
  font-size: 14px;
}

/* ===== CORRECTION LOGO FOOTER ===== */
.footer-item img {
  width: 200px;
  height: auto;
  object-fit: contain;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 725px) {
  .section3-item-1,
  .section3-item-2,
  .section3-item-3,
  .section3-item-4,
  .section3-item-5 {
    width: 308px;
    top: 0;
  }
}

@media (max-width: 785px) {
  .section4-item,
  .section5-item,
  .section6-item,
  .section7-item,
  .footer-item {
    margin: 40px 0;
  }
}

@media (max-width: 440px) {
  .section2-item {
    margin: 40px 0;
  }
}
