/* -------------------------------------------------- */
/* 🖼️ FOND + OVERLAY */
/* -------------------------------------------------- */

.bg-image,
.overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.bg-image {
  background-image: url("img/imgfond/fille_mars_2026.jpg");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.overlay {
  background: rgba(0, 0, 0, 0.10);
  z-index: -1;
}

/* -------------------------------------------------- */
/* 📦 STRUCTURE GLOBALE */
/* -------------------------------------------------- */

body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
  background-color: transparent;
}

.page-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* -------------------------------------------------- */
/* 📱 MENU MOBILE */
/* -------------------------------------------------- */

.menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #fff;
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1000;
  cursor: pointer;
}

/* -------------------------------------------------- */
/* 📝 TITRES */
/* -------------------------------------------------- */

h2 {
  font-family: "Georgia", serif;
  font-size: 2rem;
  font-weight: 700;
  color: #043766;
  text-align: center;
  margin: 40px 0 20px;
  letter-spacing: 1px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.15);
  background: rgba(255, 255, 255, 0.55); /* 🔥 fond léger, lisible */
  border-radius: 6px;                    /* 🔥 arrondi élégant */
  backdrop-filter: blur(3px);            /* 🔥 effet premium */
}

h3 {
  font-family: "Georgia", serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #043766;
  text-align: center;
  margin: 20px 0 10px;
}

/* -------------------------------------------------- */
/* 🧩 CONTENU CENTRAL */
/* -------------------------------------------------- */

.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
  padding: 2rem;
}

/* -------------------------------------------------- */
/* 🔘 BOUTON PDF */
/* -------------------------------------------------- */

.button-container {
  width: 100%;
  display: flex;
  justify-content: center;   /* 🔥 centrage parfait */
  margin-bottom: 1.2rem;
}


.link-button {
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #4a90e2, #357ab8);
  margin-top: 80px;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: bold;
  transition: 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

.link-button:hover {
  transform: translateY(-3px);
  opacity: 0.9;
  box-shadow: 0 6px 14px rgba(0,0,0,0.35);
}

.button1 {
  background: linear-gradient(135deg, #a2dbf7, #7bc4e6);
}

/* -------------------------------------------------- */
/* 📦 BLOCS — version propre, compacte, équilibrée */
/* -------------------------------------------------- */

.block1,
.block2 {
  padding: 0.6rem 0.9rem;       /* compact, pas d’espace inutile */
  border-radius: 10px;
  width: 100%;
  max-width: 360px;             /* même largeur = équilibre visuel */
  box-shadow: 0 2px 5px rgba(0,0,0,0.12);
  backdrop-filter: blur(3px);
  align-self: flex-start;
  margin: 0;                    /* aucun espace externe */
  border: none;
}

/* Couleurs */
.block1 {
  background: rgba(255, 245, 225, 0.85);
  border-left: 6px solid #FFB347;
}

.block2 {
  background: rgba(225, 255, 235, 0.85);
  border-left: 6px solid #6CCF7F;
}

/* Titres */
.block1 h3,
.block2 h3 {
  margin: 0 0 0.3rem 0;         /* réduit l’espace sous le titre */
  font-size: 1.15rem;
  font-weight: 600;
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 5px;
  backdrop-filter: blur(3px);
  display: inline-block;
}

/* Texte */
.block1 p,
.block2 p {
  margin: 0;                   /* 🔥 aucun espace après le texte */
  padding: 0;                  /* 🔥 aucun espace interne */
  line-height: 1.30;           /* compact mais lisible */
  font-size: 0.95rem;
  color: #000;
}


/* ⚠️ les blocs sont des <article>, donc on cible par type */

/* Bloc 1 : beige doux */
.container article.block:nth-of-type(1) {
  background-color: rgba(255, 245, 225, 0.85);
  border-left: 6px solid #FFB347;
}

/* Bloc 2 : vert pastel */
.container article.block:nth-of-type(2) {
  background-color: rgba(225, 255, 235, 0.85);
  border-left: 6px solid #6CCF7F;
}

/* Bloc 3 (si un jour tu en ajoutes un) : bleu pastel */
.container article.block:nth-of-type(3) {
  background-color: rgba(225, 240, 255, 0.85);
  border-left: 6px solid #7BA7FF;
}

/* Bloc 4 (optionnel) : rose pastel */
.container article.block:nth-of-type(4) {
  background-color: rgba(255, 230, 245, 0.85);
  border-left: 6px solid #E58AD6;
}

/* -------------------------------------------------- */
/* 🤝 PARTENAIRES */
/* -------------------------------------------------- */

.independent-block {
  padding: 2rem;
}

.independent-block h2 {
  margin-top: 0;
}

.content-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 50px;
}

.independent-paragraph-with-image {
  text-align: center;
  max-width: 220px;
}

.independent-paragraph-with-image p {
  background-color: #c3d9f5;
  padding: 6px;
  border-radius: 6px;
}

.independent-paragraph-with-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* -------------------------------------------------- */
/* 📱 RESPONSIVE DESIGN */
/* -------------------------------------------------- */

@media (max-width: 1024px) {
  h2 { font-size: 1.7rem; }
  h3 { font-size: 1.3rem; }

  .block {
    max-width: 90%;
  }
}

@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    gap: 0.5rem;
  }

  .link-button {
    width: 100%;
    text-align: center;
  }

  .block {
    max-width: 100%;
  }

  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.2rem; }
}
