/* GPF.css – Version finale */

/* RESET GLOBAL */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  height: 100%;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #f4fdf8;
  color: #003b1f;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
}
 .justifie {
            text-align: justify;
        }
/* NAVIGATION */
nav {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 70px;
  background: #fff;
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  z-index: 100;
}
nav .logo img { height: 50px; }
nav ul {
  list-style: none;
  display: flex; gap: 1.5em;
}
nav ul li a {
  color: #003b1f;
  text-decoration: none;
  font-weight: 600;
  transition: color .3s, transform .2s;
}
nav ul li a.active,
nav ul li a:hover {
  color: #007e3a;
  transform: scale(1.05);
}

/* BUTTONS */
.btn-primary {
  display: inline-block;
  background: #007e3a;
  color: #fff;
  padding: .8em 1.4em;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  transition: background .3s;
}
.btn-primary:hover { background: #005e2c; }

/* FLASH MESSAGE */
.flash-message {
  max-width: 900px;
  margin: 90px auto 1rem;
  padding: 1rem;
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  border-radius: 5px;
  text-align: center;
}

/* PAGE CONTENT WRAPPER */
.page-content {
  flex: 1;
}

/* HERO FULL WIDTH */
.hero {
  margin-top: 70px;
  width: 100vw; left: 0;
  position: relative;
  background: url('images/fond_GPF.png') center/cover no-repeat !important;
  background-size: cover !important;
  height: 90vh;
  display: flex; align-items: center;
  padding-left: 10%;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(0,36,80,0.5);
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 600px; color: #fff;
}
.hero-content h1 {
  font-size: 3em; margin-bottom: .5em;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}
.hero-content p { font-size: 1.2em; margin-bottom: 1.5em; }

/* GENERIC SECTION STYLING */
section {
  max-width: 900px;
  margin: 3rem auto;
  padding: 2rem;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}
/* Ensure titles aren’t hidden under fixed nav */
header.section-header,
section {
  padding-top: 70px;
}
section h2 {
  font-size: 2rem;
  color: #003b1f;
  margin-bottom: 1rem;
  border-left: 4px solid #007e3a;
  padding-left: 1rem;
  text-align: center;
}

/* ACCUEIL – STATS & GRID */
.stats, .grid {
  display: flex; flex-wrap: wrap;
  gap: 2rem; justify-content: center;
}
.stats div, .grid div {
  background: #f4fdf8;
  padding: 1em 1.5em;
  border-radius: 8px;
  flex: 1 1 200px;
  text-align: center;
}

/* TÉMOIGNAGE */
.testimonial {
  font-style: italic; color: #555;
  text-align: center; max-width: 600px;
  margin: 0 auto; line-height: 1.6;
}

/* SERVICES – transparent container + grid */
.services-section {
  background: transparent !important;
  box-shadow: none !important;
  padding: 0; margin: 3rem auto;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
  gap: 2rem;
  margin: 1rem auto; padding: 0 2rem;
}
.service-card {
  background: #fff; border-radius: 8px;
  padding: 2rem 1.5rem; box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  display: flex; gap: 1rem; transition: transform .2s, box-shadow .2s;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}
.service-icon { flex: 0 0 40px; }
.service-icon img { width: 100%; }
.service-content h2 { font-size: 1.4rem; margin-bottom: .5rem; }
.service-content ul {
  list-style: none; padding-left: 1em;
}
.service-content ul li {
  position: relative; padding-left: 1.2em; margin-bottom: .5rem;
}
.service-content ul li::before {
  content: '•'; position: absolute; left: 0;
  color: #007e3a; font-size: 1.2rem; line-height: 1;
}

/* REJOIGNEZ-NOUS – 2 colonnes inversées */
.join-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 3rem auto; padding: 2rem;
  background: rgba(0,59,31,0.05);
  border-radius: 10px;
  max-width: 1000px; box-sizing: border-box;
  align-items: start;
}
.join-info { grid-column: 1; }
.join-form { grid-column: 2; }
.join-info h2 {
  margin-bottom: 1rem;
  padding-left: 1rem;
  border-left: 4px solid #007e3a;
}
.join-info ul {
  list-style: none; padding: 0; margin: 0;
}
.join-info ul li {
  position: relative; padding-left: 1.5rem; margin-bottom: 1rem;
}
.join-info ul li::before {
  content: ''; position: absolute; left: 0; top: .2em;
  width: 1.2em; height: 1.2em;
  background: url('icons/check-green.svg') center/contain no-repeat;
}
.join-form .btn-primary { margin-top: 1rem; }
/* Fixed textarea size */
.join-form .form-group.full-width textarea {
  min-height: 200px;
  max-height: 400px;
  resize: vertical;
  width: 100%;
  box-sizing: border-box;
}

/* OFFRES DE MISSION – 2 colonnes */
.missions-section {
  background: transparent; padding: 0; margin: 3rem auto;
}
.missions-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 2rem;
  margin: 1rem auto 0; padding: 0;
  max-width: 1000px;
}
.mission-card {
  background: #fff; padding: 1.5rem; border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  display: flex; flex-direction: column; justify-content: space-between;
  transition: transform .2s, box-shadow .2s;
}
.mission-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

/* GENERIC FORMS */
.form-section,
.login-section,
.register-section,
.deposit-section {
  background: transparent; box-shadow: none;
  display: flex; justify-content: center;
  padding: 2rem 0; margin: 3rem auto;
}
.form-container,
.login-form,
.register-form,
.deposit-form {
  background: #fff; padding: 2rem;
  border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  width: 90%; max-width: 600px;
}
.form-container .form-group,
.login-form .form-group,
.register-form .form-group,
.deposit-form .form-group {
  margin-bottom: 1.5rem;
}
.form-container label,
.login-form label,
.register-form label,
.deposit-form label {
  display: block; margin-bottom: .5rem;
  color: #003b1f; font-weight: 600;
}
.form-container input,
.login-form input,
.register-form input,
.deposit-form input,
.deposit-form textarea,
.form-container textarea {
  width: 100%; padding: .7rem;
  border: 1px solid #ccc; border-radius: 5px;
}
.full-width { grid-column: 1 / -1; }

/* ADMIN PANELS */
.admin-section,
.offers-section,
.spontaneous-section,
.agenda-section,
.ats-section {
  background: #fff; padding: 2rem; margin: 3rem auto;
  border-radius: 10px; box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  max-width: 1000px;
}
.offers-section .missions-grid,
.admin-section .missions-grid {
  display: grid; grid-template-columns: repeat(2,1fr);
  gap: 2rem; margin-top: 1rem;
}
.spontaneous-section table,
.admin-section table {
  width: 100%; border-collapse: collapse; margin-top: 1rem;
}
.spontaneous-section th,
.spontaneous-section td,
.admin-section th,
.admin-section td {
  border: 1px solid #ccc; padding: .8rem; text-align: left;
}
.spontaneous-section th,
.admin-section th {
  background: #007e3a; color: #fff;
}
.agenda-section #calendar {
  width: 100%; padding: 1rem;
}
.ats-section p,
.ats-section .btn-primary {
  text-align: center; margin-top: 1rem;
}

/* À PROPOS – FOUNDER SIDE-BY-SIDE */
.founder-section {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 768px) {
  .founder-section { grid-template-columns: 1fr; }
}

/* FOOTER */
footer {
  text-align: center;
  background: #003b1f;
  color: #fff;
  padding: 1.5em;
  font-size: .9em;
  margin-top: auto;
}

/* RESPONSIVE TWEAKS */
@media (max-width: 768px) {
  .hero { height: 60vh; padding-left: 2rem; }
  .hero-content h1 { font-size: 2em; }
  .stats, .grid, .services-grid, .missions-grid,
  .offers-section .missions-grid,
  .admin-section .missions-grid {
    display: flex; flex-direction: column; align-items: center;
  }
  section { margin: 2rem 1rem; padding: 1.5rem; }
  nav ul { gap: 1em; }
}
